mtmsdk 0.0.12 → 0.0.13
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,89 +1,38 @@
|
|
|
1
|
-
export declare const
|
|
1
|
+
export declare const APIMetaSchema: {
|
|
2
2
|
readonly type: "object";
|
|
3
3
|
readonly properties: {
|
|
4
|
-
readonly
|
|
5
|
-
readonly
|
|
6
|
-
readonly description: "Overall health status";
|
|
7
|
-
readonly example: "healthy";
|
|
8
|
-
readonly enum: readonly ["healthy", "unhealthy", "degraded"];
|
|
9
|
-
};
|
|
10
|
-
readonly version: {
|
|
11
|
-
readonly type: "string";
|
|
12
|
-
readonly description: "API version";
|
|
13
|
-
readonly example: "1.0.0";
|
|
4
|
+
readonly auth: {
|
|
5
|
+
readonly $ref: "#/components/schemas/APIMetaAuth";
|
|
14
6
|
};
|
|
15
|
-
readonly
|
|
7
|
+
readonly pylonAppId: {
|
|
16
8
|
readonly type: "string";
|
|
17
|
-
readonly
|
|
18
|
-
readonly
|
|
19
|
-
readonly example: "2024-01-01T12:00:00Z";
|
|
20
|
-
};
|
|
21
|
-
readonly services: {
|
|
22
|
-
readonly type: "object";
|
|
23
|
-
readonly description: "Status of individual services";
|
|
24
|
-
readonly properties: {
|
|
25
|
-
readonly database: {
|
|
26
|
-
readonly type: "string";
|
|
27
|
-
readonly enum: readonly ["healthy", "unhealthy"];
|
|
28
|
-
readonly example: "healthy";
|
|
29
|
-
};
|
|
30
|
-
readonly repository: {
|
|
31
|
-
readonly type: "string";
|
|
32
|
-
readonly enum: readonly ["healthy", "unhealthy"];
|
|
33
|
-
readonly example: "healthy";
|
|
34
|
-
};
|
|
35
|
-
};
|
|
36
|
-
readonly additionalProperties: {
|
|
37
|
-
readonly type: "string";
|
|
38
|
-
};
|
|
39
|
-
};
|
|
40
|
-
readonly uptime: {
|
|
41
|
-
readonly type: "integer";
|
|
42
|
-
readonly format: "int64";
|
|
43
|
-
readonly description: "Service uptime in seconds";
|
|
44
|
-
readonly example: 3600;
|
|
9
|
+
readonly description: "the Pylon app ID for usepylon.com chat support";
|
|
10
|
+
readonly example: "12345678-1234-1234-1234-123456789012";
|
|
45
11
|
};
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
};
|
|
49
|
-
export declare const APIErrorSchema: {
|
|
50
|
-
readonly type: "object";
|
|
51
|
-
readonly properties: {
|
|
52
|
-
readonly code: {
|
|
53
|
-
readonly type: "integer";
|
|
54
|
-
readonly description: "a custom Hatchet error code";
|
|
55
|
-
readonly format: "uint64";
|
|
56
|
-
readonly example: 1400;
|
|
12
|
+
readonly posthog: {
|
|
13
|
+
readonly $ref: "#/components/schemas/APIMetaPosthog";
|
|
57
14
|
};
|
|
58
|
-
readonly
|
|
59
|
-
readonly type: "
|
|
60
|
-
readonly description: "
|
|
61
|
-
readonly example:
|
|
15
|
+
readonly allowSignup: {
|
|
16
|
+
readonly type: "boolean";
|
|
17
|
+
readonly description: "whether or not users can sign up for this instance";
|
|
18
|
+
readonly example: true;
|
|
62
19
|
};
|
|
63
|
-
readonly
|
|
64
|
-
readonly type: "
|
|
65
|
-
readonly description: "
|
|
66
|
-
readonly example:
|
|
20
|
+
readonly allowInvites: {
|
|
21
|
+
readonly type: "boolean";
|
|
22
|
+
readonly description: "whether or not users can invite other users to this instance";
|
|
23
|
+
readonly example: true;
|
|
67
24
|
};
|
|
68
|
-
readonly
|
|
69
|
-
readonly type: "
|
|
70
|
-
readonly description: "
|
|
71
|
-
readonly example:
|
|
25
|
+
readonly allowCreateTenant: {
|
|
26
|
+
readonly type: "boolean";
|
|
27
|
+
readonly description: "whether or not users can create new tenants";
|
|
28
|
+
readonly example: true;
|
|
72
29
|
};
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
readonly type: "object";
|
|
78
|
-
readonly properties: {
|
|
79
|
-
readonly errors: {
|
|
80
|
-
readonly type: "array";
|
|
81
|
-
readonly items: {
|
|
82
|
-
readonly $ref: "#/components/schemas/APIError";
|
|
83
|
-
};
|
|
30
|
+
readonly allowChangePassword: {
|
|
31
|
+
readonly type: "boolean";
|
|
32
|
+
readonly description: "whether or not users can change their password";
|
|
33
|
+
readonly example: true;
|
|
84
34
|
};
|
|
85
35
|
};
|
|
86
|
-
readonly required: readonly ["errors"];
|
|
87
36
|
};
|
|
88
37
|
export declare const APIMetaAuthSchema: {
|
|
89
38
|
readonly type: "object";
|
|
@@ -113,40 +62,10 @@ export declare const APIMetaPosthogSchema: {
|
|
|
113
62
|
};
|
|
114
63
|
};
|
|
115
64
|
};
|
|
116
|
-
export declare const
|
|
117
|
-
readonly type: "
|
|
118
|
-
readonly
|
|
119
|
-
readonly
|
|
120
|
-
readonly $ref: "#/components/schemas/APIMetaAuth";
|
|
121
|
-
};
|
|
122
|
-
readonly pylonAppId: {
|
|
123
|
-
readonly type: "string";
|
|
124
|
-
readonly description: "the Pylon app ID for usepylon.com chat support";
|
|
125
|
-
readonly example: "12345678-1234-1234-1234-123456789012";
|
|
126
|
-
};
|
|
127
|
-
readonly posthog: {
|
|
128
|
-
readonly $ref: "#/components/schemas/APIMetaPosthog";
|
|
129
|
-
};
|
|
130
|
-
readonly allowSignup: {
|
|
131
|
-
readonly type: "boolean";
|
|
132
|
-
readonly description: "whether or not users can sign up for this instance";
|
|
133
|
-
readonly example: true;
|
|
134
|
-
};
|
|
135
|
-
readonly allowInvites: {
|
|
136
|
-
readonly type: "boolean";
|
|
137
|
-
readonly description: "whether or not users can invite other users to this instance";
|
|
138
|
-
readonly example: true;
|
|
139
|
-
};
|
|
140
|
-
readonly allowCreateTenant: {
|
|
141
|
-
readonly type: "boolean";
|
|
142
|
-
readonly description: "whether or not users can create new tenants";
|
|
143
|
-
readonly example: true;
|
|
144
|
-
};
|
|
145
|
-
readonly allowChangePassword: {
|
|
146
|
-
readonly type: "boolean";
|
|
147
|
-
readonly description: "whether or not users can change their password";
|
|
148
|
-
readonly example: true;
|
|
149
|
-
};
|
|
65
|
+
export declare const ListAPIMetaIntegrationSchema: {
|
|
66
|
+
readonly type: "array";
|
|
67
|
+
readonly items: {
|
|
68
|
+
readonly $ref: "#/components/schemas/APIMetaIntegration";
|
|
150
69
|
};
|
|
151
70
|
};
|
|
152
71
|
export declare const APIMetaIntegrationSchema: {
|
|
@@ -164,104 +83,55 @@ export declare const APIMetaIntegrationSchema: {
|
|
|
164
83
|
};
|
|
165
84
|
readonly required: readonly ["name", "enabled"];
|
|
166
85
|
};
|
|
167
|
-
export declare const
|
|
168
|
-
readonly type: "
|
|
169
|
-
readonly items: {
|
|
170
|
-
readonly $ref: "#/components/schemas/APIMetaIntegration";
|
|
171
|
-
};
|
|
172
|
-
};
|
|
173
|
-
export declare const UserLoginRequestSchema: {
|
|
86
|
+
export declare const APIErrorsSchema: {
|
|
87
|
+
readonly type: "object";
|
|
174
88
|
readonly properties: {
|
|
175
|
-
readonly
|
|
176
|
-
readonly type: "
|
|
177
|
-
readonly
|
|
178
|
-
|
|
179
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
180
|
-
readonly validate: "required,email";
|
|
181
|
-
};
|
|
182
|
-
};
|
|
183
|
-
readonly password: {
|
|
184
|
-
readonly type: "string";
|
|
185
|
-
readonly description: "The password of the user.";
|
|
186
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
187
|
-
readonly validate: "required";
|
|
89
|
+
readonly errors: {
|
|
90
|
+
readonly type: "array";
|
|
91
|
+
readonly items: {
|
|
92
|
+
readonly $ref: "#/components/schemas/APIError";
|
|
188
93
|
};
|
|
189
94
|
};
|
|
190
95
|
};
|
|
191
|
-
readonly required: readonly ["
|
|
192
|
-
readonly type: "object";
|
|
96
|
+
readonly required: readonly ["errors"];
|
|
193
97
|
};
|
|
194
|
-
export declare const
|
|
98
|
+
export declare const APIMessageSchema: {
|
|
99
|
+
readonly type: "object";
|
|
195
100
|
readonly properties: {
|
|
196
|
-
readonly
|
|
197
|
-
readonly type: "string";
|
|
198
|
-
readonly description: "the id of this resource, in UUID format";
|
|
199
|
-
readonly example: "bb214807-246e-43a5-a25d-41761d1cff9e";
|
|
200
|
-
readonly minLength: 0;
|
|
201
|
-
readonly maxLength: 36;
|
|
202
|
-
};
|
|
203
|
-
readonly createdAt: {
|
|
204
|
-
readonly type: "string";
|
|
205
|
-
readonly description: "the time that this resource was created";
|
|
206
|
-
readonly format: "date-time";
|
|
207
|
-
readonly example: "2022-12-13T15:06:48.888358-05:00";
|
|
208
|
-
};
|
|
209
|
-
readonly updatedAt: {
|
|
101
|
+
readonly message: {
|
|
210
102
|
readonly type: "string";
|
|
211
|
-
readonly description: "
|
|
212
|
-
readonly
|
|
213
|
-
readonly example: "2022-12-13T15:06:48.888358-05:00";
|
|
103
|
+
readonly description: "A message describing the result of the operation";
|
|
104
|
+
readonly example: "Operation completed successfully";
|
|
214
105
|
};
|
|
215
106
|
};
|
|
216
|
-
readonly required: readonly ["
|
|
217
|
-
};
|
|
218
|
-
export declare const UserRoleSchema: {
|
|
219
|
-
readonly type: "string";
|
|
220
|
-
readonly enum: readonly ["USER", "ADMIN", "SUPER_ADMIN"];
|
|
221
|
-
readonly description: "User role in the system";
|
|
107
|
+
readonly required: readonly ["message"];
|
|
222
108
|
};
|
|
223
|
-
export declare const
|
|
109
|
+
export declare const APIErrorSchema: {
|
|
110
|
+
readonly type: "object";
|
|
224
111
|
readonly properties: {
|
|
225
|
-
readonly
|
|
226
|
-
readonly
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
readonly
|
|
230
|
-
readonly description: "The display name of the user.";
|
|
231
|
-
};
|
|
232
|
-
readonly email: {
|
|
233
|
-
readonly type: "string";
|
|
234
|
-
readonly format: "email";
|
|
235
|
-
readonly description: "The email address of the user.";
|
|
236
|
-
};
|
|
237
|
-
readonly emailVerified: {
|
|
238
|
-
readonly type: "boolean";
|
|
239
|
-
readonly description: "Whether the user has verified their email address.";
|
|
240
|
-
};
|
|
241
|
-
readonly hasPassword: {
|
|
242
|
-
readonly type: "boolean";
|
|
243
|
-
readonly description: "Whether the user has a password set.";
|
|
112
|
+
readonly code: {
|
|
113
|
+
readonly type: "integer";
|
|
114
|
+
readonly description: "a custom Hatchet error code";
|
|
115
|
+
readonly format: "uint64";
|
|
116
|
+
readonly example: 1400;
|
|
244
117
|
};
|
|
245
|
-
readonly
|
|
118
|
+
readonly field: {
|
|
246
119
|
readonly type: "string";
|
|
247
|
-
readonly description: "
|
|
120
|
+
readonly description: "the field that this error is associated with, if applicable";
|
|
121
|
+
readonly example: "name";
|
|
248
122
|
};
|
|
249
|
-
readonly
|
|
123
|
+
readonly description: {
|
|
250
124
|
readonly type: "string";
|
|
251
|
-
readonly description: "
|
|
125
|
+
readonly description: "a description for this error";
|
|
126
|
+
readonly example: "A descriptive error message";
|
|
252
127
|
};
|
|
253
|
-
readonly
|
|
128
|
+
readonly docs_link: {
|
|
254
129
|
readonly type: "string";
|
|
255
|
-
readonly description: "
|
|
256
|
-
|
|
257
|
-
readonly role: {
|
|
258
|
-
readonly $ref: "#/components/schemas/UserRole";
|
|
259
|
-
readonly description: "The user's role in the system";
|
|
260
|
-
readonly default: "USER";
|
|
130
|
+
readonly description: "a link to the documentation for this error, if it exists";
|
|
131
|
+
readonly example: "github.com/hatchet-dev/hatchet";
|
|
261
132
|
};
|
|
262
133
|
};
|
|
263
|
-
readonly required: readonly ["
|
|
264
|
-
readonly type: "object";
|
|
134
|
+
readonly required: readonly ["description"];
|
|
265
135
|
};
|
|
266
136
|
export declare const PaginationResponseSchema: {
|
|
267
137
|
readonly type: "object";
|
|
@@ -291,117 +161,169 @@ export declare const PaginationResponseSchema: {
|
|
|
291
161
|
readonly current_page: 2;
|
|
292
162
|
};
|
|
293
163
|
};
|
|
294
|
-
export declare const
|
|
164
|
+
export declare const APIResourceMetaSchema: {
|
|
295
165
|
readonly properties: {
|
|
296
|
-
readonly
|
|
297
|
-
readonly
|
|
166
|
+
readonly id: {
|
|
167
|
+
readonly type: "string";
|
|
168
|
+
readonly description: "the id of this resource, in UUID format";
|
|
169
|
+
readonly example: "bb214807-246e-43a5-a25d-41761d1cff9e";
|
|
170
|
+
readonly minLength: 0;
|
|
171
|
+
readonly maxLength: 36;
|
|
298
172
|
};
|
|
299
|
-
readonly
|
|
300
|
-
readonly type: "
|
|
301
|
-
readonly
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
173
|
+
readonly createdAt: {
|
|
174
|
+
readonly type: "string";
|
|
175
|
+
readonly description: "the time that this resource was created";
|
|
176
|
+
readonly format: "date-time";
|
|
177
|
+
readonly example: "2022-12-13T15:06:48.888358-05:00";
|
|
178
|
+
};
|
|
179
|
+
readonly updatedAt: {
|
|
180
|
+
readonly type: "string";
|
|
181
|
+
readonly description: "the time that this resource was last updated";
|
|
182
|
+
readonly format: "date-time";
|
|
183
|
+
readonly example: "2022-12-13T15:06:48.888358-05:00";
|
|
305
184
|
};
|
|
306
185
|
};
|
|
307
|
-
readonly required: readonly ["
|
|
308
|
-
readonly type: "object";
|
|
186
|
+
readonly required: readonly ["id", "createdAt", "updatedAt"];
|
|
309
187
|
};
|
|
310
|
-
export declare const
|
|
188
|
+
export declare const APIResourceMetaPropertiesSchema: {
|
|
189
|
+
readonly required: readonly ["metadata"];
|
|
311
190
|
readonly properties: {
|
|
312
|
-
readonly
|
|
313
|
-
readonly $ref: "#/components/schemas/
|
|
314
|
-
};
|
|
315
|
-
readonly rows: {
|
|
316
|
-
readonly items: {
|
|
317
|
-
readonly $ref: "#/components/schemas/TenantAlertEmailGroup";
|
|
318
|
-
};
|
|
319
|
-
readonly type: "array";
|
|
320
|
-
readonly "x-go-name": "Rows";
|
|
191
|
+
readonly metadata: {
|
|
192
|
+
readonly $ref: "#/components/schemas/APIResourceMeta";
|
|
321
193
|
};
|
|
322
194
|
};
|
|
323
195
|
};
|
|
324
|
-
export declare const
|
|
196
|
+
export declare const HealthStatusSchema: {
|
|
197
|
+
readonly type: "object";
|
|
325
198
|
readonly properties: {
|
|
326
|
-
readonly
|
|
327
|
-
readonly type: "
|
|
328
|
-
readonly
|
|
329
|
-
|
|
199
|
+
readonly status: {
|
|
200
|
+
readonly type: "string";
|
|
201
|
+
readonly description: "Overall health status";
|
|
202
|
+
readonly example: "healthy";
|
|
203
|
+
readonly enum: readonly ["healthy", "unhealthy", "degraded"];
|
|
204
|
+
};
|
|
205
|
+
readonly version: {
|
|
206
|
+
readonly type: "string";
|
|
207
|
+
readonly description: "API version";
|
|
208
|
+
readonly example: "1.0.0";
|
|
209
|
+
};
|
|
210
|
+
readonly timestamp: {
|
|
211
|
+
readonly type: "string";
|
|
212
|
+
readonly format: "date-time";
|
|
213
|
+
readonly description: "Health check timestamp";
|
|
214
|
+
readonly example: "2024-01-01T12:00:00Z";
|
|
215
|
+
};
|
|
216
|
+
readonly services: {
|
|
217
|
+
readonly type: "object";
|
|
218
|
+
readonly description: "Status of individual services";
|
|
219
|
+
readonly properties: {
|
|
220
|
+
readonly database: {
|
|
221
|
+
readonly type: "string";
|
|
222
|
+
readonly enum: readonly ["healthy", "unhealthy"];
|
|
223
|
+
readonly example: "healthy";
|
|
224
|
+
};
|
|
225
|
+
readonly repository: {
|
|
226
|
+
readonly type: "string";
|
|
227
|
+
readonly enum: readonly ["healthy", "unhealthy"];
|
|
228
|
+
readonly example: "healthy";
|
|
229
|
+
};
|
|
330
230
|
};
|
|
331
|
-
readonly
|
|
332
|
-
|
|
333
|
-
readonly validate: "required,dive,email";
|
|
231
|
+
readonly additionalProperties: {
|
|
232
|
+
readonly type: "string";
|
|
334
233
|
};
|
|
335
234
|
};
|
|
235
|
+
readonly uptime: {
|
|
236
|
+
readonly type: "integer";
|
|
237
|
+
readonly format: "int64";
|
|
238
|
+
readonly description: "Service uptime in seconds";
|
|
239
|
+
readonly example: 3600;
|
|
240
|
+
};
|
|
336
241
|
};
|
|
337
|
-
readonly required: readonly ["
|
|
338
|
-
readonly type: "object";
|
|
242
|
+
readonly required: readonly ["status", "version", "timestamp"];
|
|
339
243
|
};
|
|
340
|
-
export declare const
|
|
341
|
-
readonly enum: readonly ["WORKER", "WORKER_SLOT", "WORKFLOW_RUN", "TASK_RUN", "CRON", "SCHEDULE"];
|
|
244
|
+
export declare const TenantParameterSchema: {
|
|
342
245
|
readonly type: "string";
|
|
246
|
+
readonly format: "uuid";
|
|
247
|
+
readonly minLength: 36;
|
|
248
|
+
readonly maxLength: 36;
|
|
343
249
|
};
|
|
344
|
-
export declare const
|
|
250
|
+
export declare const UserSchema: {
|
|
345
251
|
readonly properties: {
|
|
346
252
|
readonly metadata: {
|
|
347
253
|
readonly $ref: "#/components/schemas/APIResourceMeta";
|
|
348
254
|
};
|
|
349
|
-
readonly
|
|
350
|
-
readonly
|
|
351
|
-
readonly description: "The
|
|
255
|
+
readonly name: {
|
|
256
|
+
readonly type: "string";
|
|
257
|
+
readonly description: "The display name of the user.";
|
|
352
258
|
};
|
|
353
|
-
readonly
|
|
354
|
-
readonly type: "
|
|
355
|
-
readonly
|
|
259
|
+
readonly email: {
|
|
260
|
+
readonly type: "string";
|
|
261
|
+
readonly format: "email";
|
|
262
|
+
readonly description: "The email address of the user.";
|
|
356
263
|
};
|
|
357
|
-
readonly
|
|
358
|
-
readonly type: "
|
|
359
|
-
readonly description: "
|
|
264
|
+
readonly emailVerified: {
|
|
265
|
+
readonly type: "boolean";
|
|
266
|
+
readonly description: "Whether the user has verified their email address.";
|
|
360
267
|
};
|
|
361
|
-
readonly
|
|
362
|
-
readonly type: "
|
|
363
|
-
readonly description: "
|
|
268
|
+
readonly hasPassword: {
|
|
269
|
+
readonly type: "boolean";
|
|
270
|
+
readonly description: "Whether the user has a password set.";
|
|
364
271
|
};
|
|
365
|
-
readonly
|
|
272
|
+
readonly emailHash: {
|
|
366
273
|
readonly type: "string";
|
|
367
|
-
readonly description: "
|
|
274
|
+
readonly description: "A hash of the user's email address for use with Pylon Support Chat";
|
|
368
275
|
};
|
|
369
|
-
readonly
|
|
276
|
+
readonly userToken: {
|
|
370
277
|
readonly type: "string";
|
|
371
|
-
readonly description: "The
|
|
372
|
-
|
|
278
|
+
readonly description: "The user's token for use with Pylon Support Chat";
|
|
279
|
+
};
|
|
280
|
+
readonly avatarUrl: {
|
|
281
|
+
readonly type: "string";
|
|
282
|
+
readonly description: "The user's avatar URL, typically from OAuth provider like GitHub";
|
|
283
|
+
};
|
|
284
|
+
readonly role: {
|
|
285
|
+
readonly $ref: "#/components/schemas/UserRole";
|
|
286
|
+
readonly description: "The user's role in the system";
|
|
287
|
+
readonly default: "USER";
|
|
373
288
|
};
|
|
374
289
|
};
|
|
375
|
-
readonly required: readonly ["metadata", "
|
|
290
|
+
readonly required: readonly ["metadata", "email", "emailVerified", "userToken", "role"];
|
|
376
291
|
readonly type: "object";
|
|
377
292
|
};
|
|
378
|
-
export declare const
|
|
293
|
+
export declare const UserTenantPublicSchema: {
|
|
379
294
|
readonly properties: {
|
|
380
|
-
readonly
|
|
381
|
-
readonly type: "
|
|
382
|
-
readonly
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
295
|
+
readonly email: {
|
|
296
|
+
readonly type: "string";
|
|
297
|
+
readonly format: "email";
|
|
298
|
+
readonly description: "The email address of the user.";
|
|
299
|
+
};
|
|
300
|
+
readonly name: {
|
|
301
|
+
readonly type: "string";
|
|
302
|
+
readonly description: "The display name of the user.";
|
|
386
303
|
};
|
|
387
304
|
};
|
|
388
|
-
readonly required: readonly ["
|
|
305
|
+
readonly required: readonly ["email"];
|
|
389
306
|
readonly type: "object";
|
|
390
307
|
};
|
|
391
|
-
export declare const
|
|
308
|
+
export declare const UserLoginRequestSchema: {
|
|
392
309
|
readonly properties: {
|
|
393
|
-
readonly
|
|
394
|
-
readonly type: "
|
|
395
|
-
readonly
|
|
396
|
-
|
|
310
|
+
readonly email: {
|
|
311
|
+
readonly type: "string";
|
|
312
|
+
readonly format: "email";
|
|
313
|
+
readonly description: "The email address of the user.";
|
|
314
|
+
readonly "x-oapi-codegen-extra-tags": {
|
|
315
|
+
readonly validate: "required,email";
|
|
397
316
|
};
|
|
398
|
-
|
|
317
|
+
};
|
|
318
|
+
readonly password: {
|
|
319
|
+
readonly type: "string";
|
|
320
|
+
readonly description: "The password of the user.";
|
|
399
321
|
readonly "x-oapi-codegen-extra-tags": {
|
|
400
|
-
readonly validate: "required
|
|
322
|
+
readonly validate: "required";
|
|
401
323
|
};
|
|
402
324
|
};
|
|
403
325
|
};
|
|
404
|
-
readonly required: readonly ["
|
|
326
|
+
readonly required: readonly ["email", "password"];
|
|
405
327
|
readonly type: "object";
|
|
406
328
|
};
|
|
407
329
|
export declare const UserChangePasswordRequestSchema: {
|
|
@@ -449,70 +371,6 @@ export declare const UserRegisterRequestSchema: {
|
|
|
449
371
|
readonly required: readonly ["email", "password"];
|
|
450
372
|
readonly type: "object";
|
|
451
373
|
};
|
|
452
|
-
export declare const UserTenantPublicSchema: {
|
|
453
|
-
readonly properties: {
|
|
454
|
-
readonly email: {
|
|
455
|
-
readonly type: "string";
|
|
456
|
-
readonly format: "email";
|
|
457
|
-
readonly description: "The email address of the user.";
|
|
458
|
-
};
|
|
459
|
-
readonly name: {
|
|
460
|
-
readonly type: "string";
|
|
461
|
-
readonly description: "The display name of the user.";
|
|
462
|
-
};
|
|
463
|
-
};
|
|
464
|
-
readonly required: readonly ["email"];
|
|
465
|
-
readonly type: "object";
|
|
466
|
-
};
|
|
467
|
-
export declare const TenantMemberRoleSchema: {
|
|
468
|
-
readonly enum: readonly ["OWNER", "ADMIN", "MEMBER"];
|
|
469
|
-
readonly type: "string";
|
|
470
|
-
};
|
|
471
|
-
export declare const TenantSchema: {
|
|
472
|
-
readonly properties: {
|
|
473
|
-
readonly metadata: {
|
|
474
|
-
readonly $ref: "#/components/schemas/APIResourceMeta";
|
|
475
|
-
};
|
|
476
|
-
readonly name: {
|
|
477
|
-
readonly type: "string";
|
|
478
|
-
readonly description: "The name of the tenant.";
|
|
479
|
-
};
|
|
480
|
-
readonly slug: {
|
|
481
|
-
readonly type: "string";
|
|
482
|
-
readonly description: "The slug of the tenant.";
|
|
483
|
-
};
|
|
484
|
-
readonly analyticsOptOut: {
|
|
485
|
-
readonly type: "boolean";
|
|
486
|
-
readonly description: "Whether the tenant has opted out of analytics.";
|
|
487
|
-
};
|
|
488
|
-
readonly alertMemberEmails: {
|
|
489
|
-
readonly type: "boolean";
|
|
490
|
-
readonly description: "Whether to alert tenant members.";
|
|
491
|
-
};
|
|
492
|
-
};
|
|
493
|
-
readonly required: readonly ["metadata", "name", "slug"];
|
|
494
|
-
};
|
|
495
|
-
export declare const TenantMemberSchema: {
|
|
496
|
-
readonly properties: {
|
|
497
|
-
readonly metadata: {
|
|
498
|
-
readonly $ref: "#/components/schemas/APIResourceMeta";
|
|
499
|
-
};
|
|
500
|
-
readonly user: {
|
|
501
|
-
readonly $ref: "#/components/schemas/UserTenantPublic";
|
|
502
|
-
readonly description: "The user associated with this tenant member.";
|
|
503
|
-
};
|
|
504
|
-
readonly role: {
|
|
505
|
-
readonly $ref: "#/components/schemas/TenantMemberRole";
|
|
506
|
-
readonly description: "The role of the user in the tenant.";
|
|
507
|
-
};
|
|
508
|
-
readonly tenant: {
|
|
509
|
-
readonly $ref: "#/components/schemas/Tenant";
|
|
510
|
-
readonly description: "The tenant associated with this tenant member.";
|
|
511
|
-
};
|
|
512
|
-
};
|
|
513
|
-
readonly required: readonly ["metadata", "user", "role"];
|
|
514
|
-
readonly type: "object";
|
|
515
|
-
};
|
|
516
374
|
export declare const UserTenantMembershipsListSchema: {
|
|
517
375
|
readonly properties: {
|
|
518
376
|
readonly pagination: {
|
|
@@ -527,89 +385,15 @@ export declare const UserTenantMembershipsListSchema: {
|
|
|
527
385
|
};
|
|
528
386
|
};
|
|
529
387
|
};
|
|
530
|
-
export declare const
|
|
388
|
+
export declare const GitHubRepositorySchema: {
|
|
531
389
|
readonly properties: {
|
|
532
|
-
readonly
|
|
533
|
-
readonly
|
|
390
|
+
readonly id: {
|
|
391
|
+
readonly type: "integer";
|
|
392
|
+
readonly description: "The GitHub repository ID";
|
|
534
393
|
};
|
|
535
|
-
readonly
|
|
394
|
+
readonly name: {
|
|
536
395
|
readonly type: "string";
|
|
537
|
-
readonly description: "The
|
|
538
|
-
};
|
|
539
|
-
readonly role: {
|
|
540
|
-
readonly $ref: "#/components/schemas/TenantMemberRole";
|
|
541
|
-
readonly description: "The role of the user in the tenant.";
|
|
542
|
-
};
|
|
543
|
-
readonly tenantId: {
|
|
544
|
-
readonly type: "string";
|
|
545
|
-
readonly description: "The tenant id associated with this tenant invite.";
|
|
546
|
-
};
|
|
547
|
-
readonly tenantName: {
|
|
548
|
-
readonly type: "string";
|
|
549
|
-
readonly description: "The tenant name for the tenant.";
|
|
550
|
-
};
|
|
551
|
-
readonly expires: {
|
|
552
|
-
readonly type: "string";
|
|
553
|
-
readonly description: "The time that this invite expires.";
|
|
554
|
-
readonly format: "date-time";
|
|
555
|
-
};
|
|
556
|
-
};
|
|
557
|
-
readonly required: readonly ["metadata", "email", "role", "expires", "tenantId"];
|
|
558
|
-
readonly type: "object";
|
|
559
|
-
};
|
|
560
|
-
export declare const TenantInviteListSchema: {
|
|
561
|
-
readonly properties: {
|
|
562
|
-
readonly pagination: {
|
|
563
|
-
readonly $ref: "#/components/schemas/PaginationResponse";
|
|
564
|
-
};
|
|
565
|
-
readonly rows: {
|
|
566
|
-
readonly items: {
|
|
567
|
-
readonly $ref: "#/components/schemas/TenantInvite";
|
|
568
|
-
};
|
|
569
|
-
readonly type: "array";
|
|
570
|
-
readonly "x-go-name": "Rows";
|
|
571
|
-
};
|
|
572
|
-
};
|
|
573
|
-
};
|
|
574
|
-
export declare const AcceptInviteRequestSchema: {
|
|
575
|
-
readonly properties: {
|
|
576
|
-
readonly invite: {
|
|
577
|
-
readonly type: "string";
|
|
578
|
-
readonly example: "bb214807-246e-43a5-a25d-41761d1cff9e";
|
|
579
|
-
readonly minLength: 36;
|
|
580
|
-
readonly maxLength: 36;
|
|
581
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
582
|
-
readonly validate: "required,uuid";
|
|
583
|
-
};
|
|
584
|
-
};
|
|
585
|
-
};
|
|
586
|
-
readonly required: readonly ["invite"];
|
|
587
|
-
readonly type: "object";
|
|
588
|
-
};
|
|
589
|
-
export declare const RejectInviteRequestSchema: {
|
|
590
|
-
readonly properties: {
|
|
591
|
-
readonly invite: {
|
|
592
|
-
readonly type: "string";
|
|
593
|
-
readonly example: "bb214807-246e-43a5-a25d-41761d1cff9e";
|
|
594
|
-
readonly minLength: 36;
|
|
595
|
-
readonly maxLength: 36;
|
|
596
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
597
|
-
readonly validate: "required,uuid";
|
|
598
|
-
};
|
|
599
|
-
};
|
|
600
|
-
};
|
|
601
|
-
readonly required: readonly ["invite"];
|
|
602
|
-
readonly type: "object";
|
|
603
|
-
};
|
|
604
|
-
export declare const GitHubRepositorySchema: {
|
|
605
|
-
readonly properties: {
|
|
606
|
-
readonly id: {
|
|
607
|
-
readonly type: "integer";
|
|
608
|
-
readonly description: "The GitHub repository ID";
|
|
609
|
-
};
|
|
610
|
-
readonly name: {
|
|
611
|
-
readonly type: "string";
|
|
612
|
-
readonly description: "The repository name";
|
|
396
|
+
readonly description: "The repository name";
|
|
613
397
|
};
|
|
614
398
|
readonly fullName: {
|
|
615
399
|
readonly type: "string";
|
|
@@ -669,6 +453,51 @@ export declare const GitHubRepositoryListSchema: {
|
|
|
669
453
|
readonly required: readonly ["rows"];
|
|
670
454
|
readonly type: "object";
|
|
671
455
|
};
|
|
456
|
+
export declare const UserRoleSchema: {
|
|
457
|
+
readonly type: "string";
|
|
458
|
+
readonly enum: readonly ["USER", "ADMIN", "SUPER_ADMIN"];
|
|
459
|
+
readonly description: "User role in the system";
|
|
460
|
+
};
|
|
461
|
+
export declare const RoleSchema: {
|
|
462
|
+
readonly properties: {
|
|
463
|
+
readonly metadata: {
|
|
464
|
+
readonly $ref: "#/components/schemas/APIResourceMeta";
|
|
465
|
+
};
|
|
466
|
+
readonly name: {
|
|
467
|
+
readonly type: "string";
|
|
468
|
+
readonly description: "Role name (unique)";
|
|
469
|
+
};
|
|
470
|
+
readonly description: {
|
|
471
|
+
readonly type: "string";
|
|
472
|
+
readonly description: "Optional role description";
|
|
473
|
+
};
|
|
474
|
+
};
|
|
475
|
+
readonly required: readonly ["metadata", "name"];
|
|
476
|
+
readonly type: "object";
|
|
477
|
+
};
|
|
478
|
+
export declare const RoleListSchema: {
|
|
479
|
+
readonly properties: {
|
|
480
|
+
readonly rows: {
|
|
481
|
+
readonly type: "array";
|
|
482
|
+
readonly items: {
|
|
483
|
+
readonly $ref: "#/components/schemas/Role";
|
|
484
|
+
};
|
|
485
|
+
readonly description: "List of roles";
|
|
486
|
+
};
|
|
487
|
+
};
|
|
488
|
+
readonly required: readonly ["rows"];
|
|
489
|
+
readonly type: "object";
|
|
490
|
+
};
|
|
491
|
+
export declare const AdminAssignRoleRequestSchema: {
|
|
492
|
+
readonly properties: {
|
|
493
|
+
readonly roleName: {
|
|
494
|
+
readonly type: "string";
|
|
495
|
+
readonly description: "Role name to assign to the user";
|
|
496
|
+
};
|
|
497
|
+
};
|
|
498
|
+
readonly required: readonly ["roleName"];
|
|
499
|
+
readonly type: "object";
|
|
500
|
+
};
|
|
672
501
|
export declare const AdminUserListSchema: {
|
|
673
502
|
readonly properties: {
|
|
674
503
|
readonly pagination: {
|
|
@@ -764,3622 +593,853 @@ export declare const AdminUserUpdateRequestSchema: {
|
|
|
764
593
|
};
|
|
765
594
|
readonly type: "object";
|
|
766
595
|
};
|
|
767
|
-
export declare const
|
|
768
|
-
readonly type: "object";
|
|
596
|
+
export declare const TenantSchema: {
|
|
769
597
|
readonly properties: {
|
|
770
|
-
readonly
|
|
598
|
+
readonly metadata: {
|
|
599
|
+
readonly $ref: "#/components/schemas/APIResourceMeta";
|
|
600
|
+
};
|
|
601
|
+
readonly name: {
|
|
771
602
|
readonly type: "string";
|
|
772
|
-
readonly description: "
|
|
773
|
-
|
|
603
|
+
readonly description: "The name of the tenant.";
|
|
604
|
+
};
|
|
605
|
+
readonly slug: {
|
|
606
|
+
readonly type: "string";
|
|
607
|
+
readonly description: "The slug of the tenant.";
|
|
608
|
+
};
|
|
609
|
+
readonly analyticsOptOut: {
|
|
610
|
+
readonly type: "boolean";
|
|
611
|
+
readonly description: "Whether the tenant has opted out of analytics.";
|
|
612
|
+
};
|
|
613
|
+
readonly alertMemberEmails: {
|
|
614
|
+
readonly type: "boolean";
|
|
615
|
+
readonly description: "Whether to alert tenant members.";
|
|
774
616
|
};
|
|
775
617
|
};
|
|
776
|
-
readonly required: readonly ["
|
|
618
|
+
readonly required: readonly ["metadata", "name", "slug"];
|
|
777
619
|
};
|
|
778
|
-
export declare const
|
|
620
|
+
export declare const TenantMemberSchema: {
|
|
779
621
|
readonly properties: {
|
|
780
622
|
readonly metadata: {
|
|
781
623
|
readonly $ref: "#/components/schemas/APIResourceMeta";
|
|
782
624
|
};
|
|
783
|
-
readonly
|
|
784
|
-
readonly
|
|
785
|
-
readonly description: "
|
|
625
|
+
readonly user: {
|
|
626
|
+
readonly $ref: "#/components/schemas/UserTenantPublic";
|
|
627
|
+
readonly description: "The user associated with this tenant member.";
|
|
786
628
|
};
|
|
787
|
-
readonly
|
|
788
|
-
readonly
|
|
789
|
-
readonly description: "
|
|
629
|
+
readonly role: {
|
|
630
|
+
readonly $ref: "#/components/schemas/TenantMemberRole";
|
|
631
|
+
readonly description: "The role of the user in the tenant.";
|
|
632
|
+
};
|
|
633
|
+
readonly tenant: {
|
|
634
|
+
readonly $ref: "#/components/schemas/Tenant";
|
|
635
|
+
readonly description: "The tenant associated with this tenant member.";
|
|
790
636
|
};
|
|
791
637
|
};
|
|
792
|
-
readonly required: readonly ["metadata", "
|
|
638
|
+
readonly required: readonly ["metadata", "user", "role"];
|
|
793
639
|
readonly type: "object";
|
|
794
640
|
};
|
|
795
|
-
export declare const
|
|
641
|
+
export declare const TenantMemberListSchema: {
|
|
796
642
|
readonly properties: {
|
|
643
|
+
readonly pagination: {
|
|
644
|
+
readonly $ref: "#/components/schemas/PaginationResponse";
|
|
645
|
+
};
|
|
797
646
|
readonly rows: {
|
|
798
|
-
readonly type: "array";
|
|
799
647
|
readonly items: {
|
|
800
|
-
readonly $ref: "#/components/schemas/
|
|
648
|
+
readonly $ref: "#/components/schemas/TenantMember";
|
|
801
649
|
};
|
|
802
|
-
readonly
|
|
650
|
+
readonly type: "array";
|
|
651
|
+
readonly "x-go-name": "Rows";
|
|
803
652
|
};
|
|
804
653
|
};
|
|
805
|
-
readonly required: readonly ["rows"];
|
|
806
|
-
readonly type: "object";
|
|
807
654
|
};
|
|
808
|
-
export declare const
|
|
809
|
-
readonly
|
|
810
|
-
|
|
811
|
-
readonly type: "string";
|
|
812
|
-
readonly description: "Role name to assign to the user";
|
|
813
|
-
};
|
|
814
|
-
};
|
|
815
|
-
readonly required: readonly ["roleName"];
|
|
816
|
-
readonly type: "object";
|
|
655
|
+
export declare const TenantMemberRoleSchema: {
|
|
656
|
+
readonly enum: readonly ["OWNER", "ADMIN", "MEMBER"];
|
|
657
|
+
readonly type: "string";
|
|
817
658
|
};
|
|
818
|
-
export declare const
|
|
659
|
+
export declare const TenantResourceSchema: {
|
|
660
|
+
readonly enum: readonly ["WORKER", "WORKER_SLOT", "WORKFLOW_RUN", "TASK_RUN", "CRON", "SCHEDULE"];
|
|
819
661
|
readonly type: "string";
|
|
820
|
-
readonly format: "uuid";
|
|
821
|
-
readonly minLength: 36;
|
|
822
|
-
readonly maxLength: 36;
|
|
823
662
|
};
|
|
824
|
-
export declare const
|
|
825
|
-
readonly type: "object";
|
|
663
|
+
export declare const TenantResourceLimitSchema: {
|
|
826
664
|
readonly properties: {
|
|
827
|
-
readonly
|
|
828
|
-
readonly
|
|
829
|
-
readonly description: "Cloudflare API token for tunnel management";
|
|
830
|
-
readonly example: "cf_token_123456789";
|
|
665
|
+
readonly metadata: {
|
|
666
|
+
readonly $ref: "#/components/schemas/APIResourceMeta";
|
|
831
667
|
};
|
|
832
|
-
readonly
|
|
833
|
-
readonly
|
|
834
|
-
readonly description: "
|
|
835
|
-
readonly example: "yuepa8.com";
|
|
668
|
+
readonly resource: {
|
|
669
|
+
readonly $ref: "#/components/schemas/TenantResource";
|
|
670
|
+
readonly description: "The resource associated with this limit.";
|
|
836
671
|
};
|
|
837
|
-
readonly
|
|
838
|
-
readonly type: "
|
|
839
|
-
readonly description: "
|
|
840
|
-
readonly example: "7788";
|
|
672
|
+
readonly limitValue: {
|
|
673
|
+
readonly type: "integer";
|
|
674
|
+
readonly description: "The limit associated with this limit.";
|
|
841
675
|
};
|
|
842
|
-
readonly
|
|
676
|
+
readonly alarmValue: {
|
|
677
|
+
readonly type: "integer";
|
|
678
|
+
readonly description: "The alarm value associated with this limit to warn of approaching limit value.";
|
|
679
|
+
};
|
|
680
|
+
readonly value: {
|
|
681
|
+
readonly type: "integer";
|
|
682
|
+
readonly description: "The current value associated with this limit.";
|
|
683
|
+
};
|
|
684
|
+
readonly window: {
|
|
843
685
|
readonly type: "string";
|
|
844
|
-
readonly description: "
|
|
845
|
-
readonly example: "my-tunnel";
|
|
686
|
+
readonly description: "The meter window for the limit. (i.e. 1 day, 1 week, 1 month)";
|
|
846
687
|
};
|
|
847
|
-
readonly
|
|
688
|
+
readonly lastRefill: {
|
|
848
689
|
readonly type: "string";
|
|
849
|
-
readonly description: "
|
|
850
|
-
readonly
|
|
690
|
+
readonly description: "The last time the limit was refilled.";
|
|
691
|
+
readonly format: "date-time";
|
|
851
692
|
};
|
|
852
693
|
};
|
|
853
|
-
readonly required: readonly ["
|
|
854
|
-
};
|
|
855
|
-
export declare const UserSettingsSchema: {
|
|
694
|
+
readonly required: readonly ["metadata", "tenantId", "resource", "limitValue", "value"];
|
|
856
695
|
readonly type: "object";
|
|
696
|
+
};
|
|
697
|
+
export declare const TenantResourcePolicySchema: {
|
|
857
698
|
readonly properties: {
|
|
858
|
-
readonly
|
|
859
|
-
readonly
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
readonly description: "
|
|
864
|
-
};
|
|
865
|
-
readonly exportMetadata: {
|
|
866
|
-
readonly type: "object";
|
|
867
|
-
readonly description: "Metadata about settings export/import";
|
|
868
|
-
readonly properties: {
|
|
869
|
-
readonly exportTimestamp: {
|
|
870
|
-
readonly type: "string";
|
|
871
|
-
readonly format: "date-time";
|
|
872
|
-
readonly description: "When the settings were last exported";
|
|
873
|
-
};
|
|
874
|
-
readonly exportVersion: {
|
|
875
|
-
readonly type: "string";
|
|
876
|
-
readonly description: "Version of the export format";
|
|
877
|
-
readonly example: "1.0";
|
|
878
|
-
};
|
|
879
|
-
readonly exportBy: {
|
|
880
|
-
readonly type: "string";
|
|
881
|
-
readonly description: "Who exported the settings";
|
|
882
|
-
readonly example: "user";
|
|
883
|
-
};
|
|
884
|
-
};
|
|
885
|
-
};
|
|
886
|
-
};
|
|
887
|
-
readonly required: readonly ["metadata"];
|
|
888
|
-
};
|
|
889
|
-
export declare const UserSettingsUpdateRequestSchema: {
|
|
890
|
-
readonly type: "object";
|
|
891
|
-
readonly properties: {
|
|
892
|
-
readonly tunnelConfig: {
|
|
893
|
-
readonly $ref: "#/components/schemas/TunnelConfig";
|
|
894
|
-
readonly description: "Cloudflare tunnel configuration (user-specific)";
|
|
895
|
-
};
|
|
896
|
-
readonly exportMetadata: {
|
|
897
|
-
readonly type: "object";
|
|
898
|
-
readonly description: "Metadata about settings export/import";
|
|
899
|
-
readonly properties: {
|
|
900
|
-
readonly exportTimestamp: {
|
|
901
|
-
readonly type: "string";
|
|
902
|
-
readonly format: "date-time";
|
|
903
|
-
readonly description: "When the settings were last exported";
|
|
904
|
-
};
|
|
905
|
-
readonly exportVersion: {
|
|
906
|
-
readonly type: "string";
|
|
907
|
-
readonly description: "Version of the export format";
|
|
908
|
-
readonly example: "1.0";
|
|
909
|
-
};
|
|
910
|
-
readonly exportBy: {
|
|
911
|
-
readonly type: "string";
|
|
912
|
-
readonly description: "Who exported the settings";
|
|
913
|
-
readonly example: "user";
|
|
914
|
-
};
|
|
915
|
-
};
|
|
916
|
-
};
|
|
917
|
-
};
|
|
918
|
-
};
|
|
919
|
-
export declare const UserSettingsCreateRequestSchema: {
|
|
920
|
-
readonly type: "object";
|
|
921
|
-
readonly properties: {
|
|
922
|
-
readonly tunnelConfig: {
|
|
923
|
-
readonly $ref: "#/components/schemas/TunnelConfig";
|
|
924
|
-
readonly description: "Cloudflare tunnel configuration (user-specific)";
|
|
925
|
-
};
|
|
926
|
-
readonly exportMetadata: {
|
|
927
|
-
readonly type: "object";
|
|
928
|
-
readonly description: "Metadata about settings export/import";
|
|
929
|
-
readonly properties: {
|
|
930
|
-
readonly exportTimestamp: {
|
|
931
|
-
readonly type: "string";
|
|
932
|
-
readonly format: "date-time";
|
|
933
|
-
readonly description: "When the settings were last exported";
|
|
934
|
-
};
|
|
935
|
-
readonly exportVersion: {
|
|
936
|
-
readonly type: "string";
|
|
937
|
-
readonly description: "Version of the export format";
|
|
938
|
-
readonly example: "1.0";
|
|
939
|
-
};
|
|
940
|
-
readonly exportBy: {
|
|
941
|
-
readonly type: "string";
|
|
942
|
-
readonly description: "Who exported the settings";
|
|
943
|
-
readonly example: "user";
|
|
944
|
-
};
|
|
945
|
-
};
|
|
946
|
-
};
|
|
947
|
-
};
|
|
948
|
-
};
|
|
949
|
-
export declare const ServiceSchema: {
|
|
950
|
-
readonly type: "object";
|
|
951
|
-
readonly properties: {
|
|
952
|
-
readonly name: {
|
|
953
|
-
readonly type: "string";
|
|
954
|
-
readonly description: "Service name";
|
|
955
|
-
readonly enum: readonly ["vnc", "sshd", "tunnel", "napcat"];
|
|
956
|
-
readonly example: "vnc";
|
|
957
|
-
};
|
|
958
|
-
readonly displayName: {
|
|
959
|
-
readonly type: "string";
|
|
960
|
-
readonly description: "Human readable service name";
|
|
961
|
-
readonly example: "VNC Remote Desktop";
|
|
962
|
-
};
|
|
963
|
-
readonly status: {
|
|
964
|
-
readonly type: "string";
|
|
965
|
-
readonly description: "Current service status";
|
|
966
|
-
readonly enum: readonly ["running", "stopped", "starting", "stopping", "error"];
|
|
967
|
-
readonly example: "running";
|
|
968
|
-
};
|
|
969
|
-
readonly description: {
|
|
970
|
-
readonly type: "string";
|
|
971
|
-
readonly description: "Service description";
|
|
972
|
-
readonly example: "Web-based VNC remote desktop service";
|
|
973
|
-
};
|
|
974
|
-
readonly port: {
|
|
975
|
-
readonly type: "integer";
|
|
976
|
-
readonly description: "Service port number";
|
|
977
|
-
readonly example: 8444;
|
|
978
|
-
};
|
|
979
|
-
readonly url: {
|
|
980
|
-
readonly type: "string";
|
|
981
|
-
readonly description: "Service access URL";
|
|
982
|
-
readonly example: "http://localhost:8444";
|
|
983
|
-
};
|
|
984
|
-
readonly pid: {
|
|
985
|
-
readonly type: "integer";
|
|
986
|
-
readonly description: "Process ID if running";
|
|
987
|
-
readonly example: 12345;
|
|
988
|
-
};
|
|
989
|
-
readonly startedAt: {
|
|
990
|
-
readonly type: "string";
|
|
991
|
-
readonly format: "date-time";
|
|
992
|
-
readonly description: "Service start time";
|
|
993
|
-
readonly example: "2024-01-01T12:00:00Z";
|
|
994
|
-
};
|
|
995
|
-
readonly config: {
|
|
996
|
-
readonly type: "object";
|
|
997
|
-
readonly description: "Service configuration";
|
|
998
|
-
readonly additionalProperties: true;
|
|
999
|
-
};
|
|
1000
|
-
readonly logs: {
|
|
1001
|
-
readonly type: "array";
|
|
1002
|
-
readonly description: "Recent service logs";
|
|
1003
|
-
readonly items: {
|
|
1004
|
-
readonly type: "string";
|
|
1005
|
-
};
|
|
1006
|
-
readonly example: readonly ["Service started successfully", "Listening on port 8444"];
|
|
1007
|
-
};
|
|
1008
|
-
readonly health: {
|
|
1009
|
-
readonly type: "object";
|
|
1010
|
-
readonly description: "Service health information";
|
|
1011
|
-
readonly properties: {
|
|
1012
|
-
readonly status: {
|
|
1013
|
-
readonly type: "string";
|
|
1014
|
-
readonly enum: readonly ["healthy", "unhealthy", "unknown"];
|
|
1015
|
-
readonly example: "healthy";
|
|
1016
|
-
};
|
|
1017
|
-
readonly lastCheck: {
|
|
1018
|
-
readonly type: "string";
|
|
1019
|
-
readonly format: "date-time";
|
|
1020
|
-
readonly example: "2024-01-01T12:00:00Z";
|
|
1021
|
-
};
|
|
1022
|
-
readonly message: {
|
|
1023
|
-
readonly type: "string";
|
|
1024
|
-
readonly example: "Service is responding normally";
|
|
1025
|
-
};
|
|
1026
|
-
};
|
|
1027
|
-
};
|
|
1028
|
-
};
|
|
1029
|
-
readonly required: readonly ["name", "displayName", "status", "description"];
|
|
1030
|
-
};
|
|
1031
|
-
export declare const ServiceStartRequestSchema: {
|
|
1032
|
-
readonly type: "object";
|
|
1033
|
-
readonly properties: {
|
|
1034
|
-
readonly config: {
|
|
1035
|
-
readonly type: "object";
|
|
1036
|
-
readonly description: "Service-specific configuration";
|
|
1037
|
-
readonly additionalProperties: true;
|
|
1038
|
-
};
|
|
1039
|
-
readonly force: {
|
|
1040
|
-
readonly type: "boolean";
|
|
1041
|
-
readonly description: "Force start even if already running";
|
|
1042
|
-
readonly default: false;
|
|
1043
|
-
};
|
|
1044
|
-
};
|
|
1045
|
-
readonly additionalProperties: false;
|
|
1046
|
-
};
|
|
1047
|
-
export declare const ServiceOperationResponseSchema: {
|
|
1048
|
-
readonly type: "object";
|
|
1049
|
-
readonly properties: {
|
|
1050
|
-
readonly success: {
|
|
1051
|
-
readonly type: "boolean";
|
|
1052
|
-
readonly description: "Operation success status";
|
|
1053
|
-
readonly example: true;
|
|
1054
|
-
};
|
|
1055
|
-
readonly message: {
|
|
1056
|
-
readonly type: "string";
|
|
1057
|
-
readonly description: "Operation result message";
|
|
1058
|
-
readonly example: "Service started successfully";
|
|
1059
|
-
};
|
|
1060
|
-
readonly service: {
|
|
1061
|
-
readonly $ref: "#/components/schemas/Service";
|
|
1062
|
-
};
|
|
1063
|
-
readonly operationId: {
|
|
1064
|
-
readonly type: "string";
|
|
1065
|
-
readonly description: "Unique operation identifier";
|
|
1066
|
-
readonly example: "op_123456";
|
|
1067
|
-
};
|
|
1068
|
-
readonly timestamp: {
|
|
1069
|
-
readonly type: "string";
|
|
1070
|
-
readonly format: "date-time";
|
|
1071
|
-
readonly description: "Operation timestamp";
|
|
1072
|
-
readonly example: "2024-01-01T12:00:00Z";
|
|
1073
|
-
};
|
|
1074
|
-
};
|
|
1075
|
-
readonly required: readonly ["success", "message", "service", "timestamp"];
|
|
1076
|
-
};
|
|
1077
|
-
export declare const VNCServiceLogsSchema: {
|
|
1078
|
-
readonly type: "object";
|
|
1079
|
-
readonly properties: {
|
|
1080
|
-
readonly logs: {
|
|
1081
|
-
readonly type: "array";
|
|
1082
|
-
readonly description: "Service log entries";
|
|
1083
|
-
readonly items: {
|
|
1084
|
-
readonly type: "object";
|
|
1085
|
-
readonly properties: {
|
|
1086
|
-
readonly timestamp: {
|
|
1087
|
-
readonly type: "string";
|
|
1088
|
-
readonly format: "date-time";
|
|
1089
|
-
readonly description: "Log entry timestamp";
|
|
1090
|
-
readonly example: "2024-01-01T12:00:00Z";
|
|
1091
|
-
};
|
|
1092
|
-
readonly level: {
|
|
1093
|
-
readonly type: "string";
|
|
1094
|
-
readonly description: "Log level";
|
|
1095
|
-
readonly enum: readonly ["debug", "info", "warn", "error"];
|
|
1096
|
-
readonly example: "info";
|
|
1097
|
-
};
|
|
1098
|
-
readonly message: {
|
|
1099
|
-
readonly type: "string";
|
|
1100
|
-
readonly description: "Log message";
|
|
1101
|
-
readonly example: "VNC service started successfully";
|
|
1102
|
-
};
|
|
1103
|
-
readonly source: {
|
|
1104
|
-
readonly type: "string";
|
|
1105
|
-
readonly description: "Log source component";
|
|
1106
|
-
readonly example: "vnc-server";
|
|
1107
|
-
};
|
|
1108
|
-
};
|
|
1109
|
-
readonly required: readonly ["timestamp", "level", "message"];
|
|
1110
|
-
};
|
|
1111
|
-
};
|
|
1112
|
-
readonly totalLines: {
|
|
1113
|
-
readonly type: "integer";
|
|
1114
|
-
readonly description: "Total number of log lines available";
|
|
1115
|
-
readonly example: 1500;
|
|
1116
|
-
};
|
|
1117
|
-
readonly hasMore: {
|
|
1118
|
-
readonly type: "boolean";
|
|
1119
|
-
readonly description: "Whether more logs are available";
|
|
1120
|
-
readonly example: true;
|
|
1121
|
-
};
|
|
1122
|
-
};
|
|
1123
|
-
readonly required: readonly ["logs", "totalLines", "hasMore"];
|
|
1124
|
-
};
|
|
1125
|
-
export declare const VNCServiceDiagnosticsSchema: {
|
|
1126
|
-
readonly type: "object";
|
|
1127
|
-
readonly properties: {
|
|
1128
|
-
readonly service: {
|
|
1129
|
-
readonly type: "string";
|
|
1130
|
-
readonly description: "Service name";
|
|
1131
|
-
readonly example: "vnc";
|
|
1132
|
-
};
|
|
1133
|
-
readonly status: {
|
|
1134
|
-
readonly type: "string";
|
|
1135
|
-
readonly description: "Overall diagnostic status";
|
|
1136
|
-
readonly enum: readonly ["healthy", "warning", "error"];
|
|
1137
|
-
readonly example: "healthy";
|
|
1138
|
-
};
|
|
1139
|
-
readonly checks: {
|
|
1140
|
-
readonly type: "array";
|
|
1141
|
-
readonly description: "Individual diagnostic checks";
|
|
1142
|
-
readonly items: {
|
|
1143
|
-
readonly type: "object";
|
|
1144
|
-
readonly properties: {
|
|
1145
|
-
readonly name: {
|
|
1146
|
-
readonly type: "string";
|
|
1147
|
-
readonly description: "Check name";
|
|
1148
|
-
readonly example: "process_running";
|
|
1149
|
-
};
|
|
1150
|
-
readonly status: {
|
|
1151
|
-
readonly type: "string";
|
|
1152
|
-
readonly enum: readonly ["pass", "fail", "warning"];
|
|
1153
|
-
readonly example: "pass";
|
|
1154
|
-
};
|
|
1155
|
-
readonly message: {
|
|
1156
|
-
readonly type: "string";
|
|
1157
|
-
readonly description: "Check result message";
|
|
1158
|
-
readonly example: "VNC process is running with PID 12345";
|
|
1159
|
-
};
|
|
1160
|
-
readonly details: {
|
|
1161
|
-
readonly type: "object";
|
|
1162
|
-
readonly description: "Additional check details";
|
|
1163
|
-
readonly additionalProperties: true;
|
|
1164
|
-
};
|
|
1165
|
-
};
|
|
1166
|
-
readonly required: readonly ["name", "status", "message"];
|
|
1167
|
-
};
|
|
1168
|
-
};
|
|
1169
|
-
readonly environment: {
|
|
1170
|
-
readonly type: "object";
|
|
1171
|
-
readonly description: "Environment information";
|
|
1172
|
-
readonly properties: {
|
|
1173
|
-
readonly hostname: {
|
|
1174
|
-
readonly type: "string";
|
|
1175
|
-
readonly example: "dev-container";
|
|
1176
|
-
};
|
|
1177
|
-
readonly platform: {
|
|
1178
|
-
readonly type: "string";
|
|
1179
|
-
readonly example: "linux";
|
|
1180
|
-
};
|
|
1181
|
-
readonly containerized: {
|
|
1182
|
-
readonly type: "boolean";
|
|
1183
|
-
readonly example: true;
|
|
1184
|
-
};
|
|
1185
|
-
readonly display: {
|
|
1186
|
-
readonly type: "string";
|
|
1187
|
-
readonly example: ":1";
|
|
1188
|
-
};
|
|
1189
|
-
};
|
|
1190
|
-
readonly additionalProperties: true;
|
|
1191
|
-
};
|
|
1192
|
-
readonly recommendations: {
|
|
1193
|
-
readonly type: "array";
|
|
1194
|
-
readonly description: "Recommendations for issues found";
|
|
1195
|
-
readonly items: {
|
|
1196
|
-
readonly type: "string";
|
|
1197
|
-
};
|
|
1198
|
-
readonly example: readonly ["Consider increasing memory allocation", "Check firewall settings"];
|
|
1199
|
-
};
|
|
1200
|
-
};
|
|
1201
|
-
readonly required: readonly ["service", "status", "checks", "environment"];
|
|
1202
|
-
};
|
|
1203
|
-
export declare const ServiceConfigSchema: {
|
|
1204
|
-
readonly type: "object";
|
|
1205
|
-
readonly properties: {
|
|
1206
|
-
readonly id: {
|
|
1207
|
-
readonly type: "string";
|
|
1208
|
-
readonly format: "uuid";
|
|
1209
|
-
readonly description: "Configuration ID";
|
|
1210
|
-
readonly example: "123e4567-e89b-12d3-a456-426614174000";
|
|
1211
|
-
};
|
|
1212
|
-
readonly tenantId: {
|
|
1213
|
-
readonly type: "string";
|
|
1214
|
-
readonly format: "uuid";
|
|
1215
|
-
readonly description: "Tenant ID";
|
|
1216
|
-
readonly example: "123e4567-e89b-12d3-a456-426614174000";
|
|
1217
|
-
};
|
|
1218
|
-
readonly serviceName: {
|
|
1219
|
-
readonly type: "string";
|
|
1220
|
-
readonly description: "Service name";
|
|
1221
|
-
readonly enum: readonly ["vnc", "sshd", "tunnel", "napcat"];
|
|
1222
|
-
readonly example: "vnc";
|
|
1223
|
-
};
|
|
1224
|
-
readonly displayName: {
|
|
1225
|
-
readonly type: "string";
|
|
1226
|
-
readonly description: "Human readable service name";
|
|
1227
|
-
readonly example: "VNC Remote Desktop";
|
|
1228
|
-
};
|
|
1229
|
-
readonly description: {
|
|
1230
|
-
readonly type: "string";
|
|
1231
|
-
readonly description: "Service description";
|
|
1232
|
-
readonly example: "Web-based VNC remote desktop service";
|
|
1233
|
-
};
|
|
1234
|
-
readonly config: {
|
|
1235
|
-
readonly type: "object";
|
|
1236
|
-
readonly description: "Service configuration parameters";
|
|
1237
|
-
readonly additionalProperties: true;
|
|
1238
|
-
readonly example: {
|
|
1239
|
-
readonly port: 8444;
|
|
1240
|
-
readonly display: ":1";
|
|
1241
|
-
readonly password: "secret123";
|
|
1242
|
-
};
|
|
1243
|
-
};
|
|
1244
|
-
readonly isEnabled: {
|
|
1245
|
-
readonly type: "boolean";
|
|
1246
|
-
readonly description: "Whether the service is enabled";
|
|
1247
|
-
readonly example: true;
|
|
1248
|
-
};
|
|
1249
|
-
readonly autoStart: {
|
|
1250
|
-
readonly type: "boolean";
|
|
1251
|
-
readonly description: "Whether to auto-start the service";
|
|
1252
|
-
readonly example: false;
|
|
1253
|
-
};
|
|
1254
|
-
readonly createdAt: {
|
|
1255
|
-
readonly type: "string";
|
|
1256
|
-
readonly format: "date-time";
|
|
1257
|
-
readonly description: "Configuration creation time";
|
|
1258
|
-
readonly example: "2024-01-01T12:00:00Z";
|
|
1259
|
-
};
|
|
1260
|
-
readonly updatedAt: {
|
|
1261
|
-
readonly type: "string";
|
|
1262
|
-
readonly format: "date-time";
|
|
1263
|
-
readonly description: "Configuration last update time";
|
|
1264
|
-
readonly example: "2024-01-01T12:00:00Z";
|
|
699
|
+
readonly limits: {
|
|
700
|
+
readonly type: "array";
|
|
701
|
+
readonly items: {
|
|
702
|
+
readonly $ref: "#/components/schemas/TenantResourceLimit";
|
|
703
|
+
};
|
|
704
|
+
readonly description: "A list of resource limits for the tenant.";
|
|
1265
705
|
};
|
|
1266
706
|
};
|
|
1267
|
-
readonly required: readonly ["
|
|
1268
|
-
};
|
|
1269
|
-
export declare const ServiceConfigUpdateRequestSchema: {
|
|
707
|
+
readonly required: readonly ["limits"];
|
|
1270
708
|
readonly type: "object";
|
|
1271
|
-
readonly properties: {
|
|
1272
|
-
readonly displayName: {
|
|
1273
|
-
readonly type: "string";
|
|
1274
|
-
readonly description: "Human readable service name";
|
|
1275
|
-
readonly example: "VNC Remote Desktop";
|
|
1276
|
-
};
|
|
1277
|
-
readonly description: {
|
|
1278
|
-
readonly type: "string";
|
|
1279
|
-
readonly description: "Service description";
|
|
1280
|
-
readonly example: "Web-based VNC remote desktop service";
|
|
1281
|
-
};
|
|
1282
|
-
readonly config: {
|
|
1283
|
-
readonly type: "object";
|
|
1284
|
-
readonly description: "Service configuration parameters";
|
|
1285
|
-
readonly additionalProperties: true;
|
|
1286
|
-
readonly example: {
|
|
1287
|
-
readonly port: 8444;
|
|
1288
|
-
readonly display: ":1";
|
|
1289
|
-
readonly password: "secret123";
|
|
1290
|
-
};
|
|
1291
|
-
};
|
|
1292
|
-
readonly isEnabled: {
|
|
1293
|
-
readonly type: "boolean";
|
|
1294
|
-
readonly description: "Whether the service is enabled";
|
|
1295
|
-
readonly example: true;
|
|
1296
|
-
};
|
|
1297
|
-
readonly autoStart: {
|
|
1298
|
-
readonly type: "boolean";
|
|
1299
|
-
readonly description: "Whether to auto-start the service";
|
|
1300
|
-
readonly example: false;
|
|
1301
|
-
};
|
|
1302
|
-
};
|
|
1303
|
-
readonly required: readonly ["config"];
|
|
1304
709
|
};
|
|
1305
|
-
export declare const
|
|
710
|
+
export declare const CreateTenantInviteRequestSchema: {
|
|
1306
711
|
readonly properties: {
|
|
1307
|
-
readonly
|
|
712
|
+
readonly email: {
|
|
1308
713
|
readonly type: "string";
|
|
1309
|
-
readonly description: "The
|
|
714
|
+
readonly description: "The email of the user to invite.";
|
|
1310
715
|
readonly "x-oapi-codegen-extra-tags": {
|
|
1311
|
-
readonly validate: "required";
|
|
716
|
+
readonly validate: "required,email";
|
|
1312
717
|
};
|
|
1313
718
|
};
|
|
1314
|
-
readonly slug: {
|
|
1315
|
-
readonly type: "string";
|
|
1316
|
-
readonly description: "The slug of the tenant.";
|
|
1317
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
1318
|
-
readonly validate: "required,hatchetName";
|
|
1319
|
-
};
|
|
1320
|
-
};
|
|
1321
|
-
};
|
|
1322
|
-
readonly required: readonly ["name", "slug"];
|
|
1323
|
-
readonly type: "object";
|
|
1324
|
-
};
|
|
1325
|
-
export declare const TenantVersionSchema: {
|
|
1326
|
-
readonly enum: readonly ["V0", "V1"];
|
|
1327
|
-
readonly type: "string";
|
|
1328
|
-
};
|
|
1329
|
-
export declare const UpdateTenantRequestSchema: {
|
|
1330
|
-
readonly properties: {
|
|
1331
|
-
readonly name: {
|
|
1332
|
-
readonly type: "string";
|
|
1333
|
-
readonly description: "The name of the tenant.";
|
|
1334
|
-
};
|
|
1335
|
-
readonly analyticsOptOut: {
|
|
1336
|
-
readonly type: "boolean";
|
|
1337
|
-
readonly description: "Whether the tenant has opted out of analytics.";
|
|
1338
|
-
};
|
|
1339
|
-
readonly alertMemberEmails: {
|
|
1340
|
-
readonly type: "boolean";
|
|
1341
|
-
readonly description: "Whether to alert tenant members.";
|
|
1342
|
-
};
|
|
1343
|
-
readonly enableWorkflowRunFailureAlerts: {
|
|
1344
|
-
readonly type: "boolean";
|
|
1345
|
-
readonly description: "Whether to send alerts when workflow runs fail.";
|
|
1346
|
-
};
|
|
1347
|
-
readonly enableExpiringTokenAlerts: {
|
|
1348
|
-
readonly type: "boolean";
|
|
1349
|
-
readonly description: "Whether to enable alerts when tokens are approaching expiration.";
|
|
1350
|
-
};
|
|
1351
|
-
readonly enableTenantResourceLimitAlerts: {
|
|
1352
|
-
readonly type: "boolean";
|
|
1353
|
-
readonly description: "Whether to enable alerts when tenant resources are approaching limits.";
|
|
1354
|
-
};
|
|
1355
|
-
readonly maxAlertingFrequency: {
|
|
1356
|
-
readonly type: "string";
|
|
1357
|
-
readonly description: "The max frequency at which to alert.";
|
|
1358
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
1359
|
-
readonly validate: "omitnil,duration";
|
|
1360
|
-
};
|
|
1361
|
-
};
|
|
1362
|
-
readonly version: {
|
|
1363
|
-
readonly $ref: "#/components/schemas/TenantVersion";
|
|
1364
|
-
readonly description: "The version of the tenant.";
|
|
1365
|
-
};
|
|
1366
|
-
};
|
|
1367
|
-
readonly type: "object";
|
|
1368
|
-
};
|
|
1369
|
-
export declare const TenantAlertingSettingsSchema: {
|
|
1370
|
-
readonly properties: {
|
|
1371
|
-
readonly metadata: {
|
|
1372
|
-
readonly $ref: "#/components/schemas/APIResourceMeta";
|
|
1373
|
-
};
|
|
1374
|
-
readonly alertMemberEmails: {
|
|
1375
|
-
readonly type: "boolean";
|
|
1376
|
-
readonly description: "Whether to alert tenant members.";
|
|
1377
|
-
};
|
|
1378
|
-
readonly enableWorkflowRunFailureAlerts: {
|
|
1379
|
-
readonly type: "boolean";
|
|
1380
|
-
readonly description: "Whether to send alerts when workflow runs fail.";
|
|
1381
|
-
};
|
|
1382
|
-
readonly enableExpiringTokenAlerts: {
|
|
1383
|
-
readonly type: "boolean";
|
|
1384
|
-
readonly description: "Whether to enable alerts when tokens are approaching expiration.";
|
|
1385
|
-
};
|
|
1386
|
-
readonly enableTenantResourceLimitAlerts: {
|
|
1387
|
-
readonly type: "boolean";
|
|
1388
|
-
readonly description: "Whether to enable alerts when tenant resources are approaching limits.";
|
|
1389
|
-
};
|
|
1390
|
-
readonly maxAlertingFrequency: {
|
|
1391
|
-
readonly type: "string";
|
|
1392
|
-
readonly description: "The max frequency at which to alert.";
|
|
1393
|
-
};
|
|
1394
|
-
readonly lastAlertedAt: {
|
|
1395
|
-
readonly type: "string";
|
|
1396
|
-
readonly description: "The last time an alert was sent.";
|
|
1397
|
-
readonly format: "date-time";
|
|
1398
|
-
};
|
|
1399
|
-
};
|
|
1400
|
-
readonly required: readonly ["metadata", "maxAlertingFrequency"];
|
|
1401
|
-
readonly type: "object";
|
|
1402
|
-
};
|
|
1403
|
-
export declare const CreateTenantInviteRequestSchema: {
|
|
1404
|
-
readonly properties: {
|
|
1405
|
-
readonly email: {
|
|
1406
|
-
readonly type: "string";
|
|
1407
|
-
readonly description: "The email of the user to invite.";
|
|
1408
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
1409
|
-
readonly validate: "required,email";
|
|
1410
|
-
};
|
|
1411
|
-
};
|
|
1412
|
-
readonly role: {
|
|
1413
|
-
readonly $ref: "#/components/schemas/TenantMemberRole";
|
|
1414
|
-
readonly description: "The role of the user in the tenant.";
|
|
1415
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
1416
|
-
readonly validate: "required";
|
|
1417
|
-
};
|
|
1418
|
-
};
|
|
1419
|
-
};
|
|
1420
|
-
readonly required: readonly ["email", "role"];
|
|
1421
|
-
readonly type: "object";
|
|
1422
|
-
};
|
|
1423
|
-
export declare const UpdateTenantInviteRequestSchema: {
|
|
1424
|
-
readonly properties: {
|
|
1425
719
|
readonly role: {
|
|
1426
720
|
readonly $ref: "#/components/schemas/TenantMemberRole";
|
|
1427
721
|
readonly description: "The role of the user in the tenant.";
|
|
1428
722
|
readonly "x-oapi-codegen-extra-tags": {
|
|
1429
|
-
readonly validate: "required";
|
|
1430
|
-
};
|
|
1431
|
-
};
|
|
1432
|
-
};
|
|
1433
|
-
readonly required: readonly ["role"];
|
|
1434
|
-
readonly type: "object";
|
|
1435
|
-
};
|
|
1436
|
-
export declare const APITokenSchema: {
|
|
1437
|
-
readonly type: "object";
|
|
1438
|
-
readonly properties: {
|
|
1439
|
-
readonly metadata: {
|
|
1440
|
-
readonly $ref: "#/components/schemas/APIResourceMeta";
|
|
1441
|
-
};
|
|
1442
|
-
readonly name: {
|
|
1443
|
-
readonly type: "string";
|
|
1444
|
-
readonly description: "The name of the API token.";
|
|
1445
|
-
readonly maxLength: 255;
|
|
1446
|
-
};
|
|
1447
|
-
readonly expiresAt: {
|
|
1448
|
-
readonly type: "string";
|
|
1449
|
-
readonly format: "date-time";
|
|
1450
|
-
readonly description: "When the API token expires.";
|
|
1451
|
-
};
|
|
1452
|
-
};
|
|
1453
|
-
readonly required: readonly ["metadata", "name", "expiresAt"];
|
|
1454
|
-
};
|
|
1455
|
-
export declare const ListAPITokensResponseSchema: {
|
|
1456
|
-
readonly properties: {
|
|
1457
|
-
readonly pagination: {
|
|
1458
|
-
readonly $ref: "#/components/schemas/PaginationResponse";
|
|
1459
|
-
};
|
|
1460
|
-
readonly rows: {
|
|
1461
|
-
readonly items: {
|
|
1462
|
-
readonly $ref: "#/components/schemas/APIToken";
|
|
1463
|
-
};
|
|
1464
|
-
readonly type: "array";
|
|
1465
|
-
};
|
|
1466
|
-
};
|
|
1467
|
-
};
|
|
1468
|
-
export declare const CreateAPITokenRequestSchema: {
|
|
1469
|
-
readonly type: "object";
|
|
1470
|
-
readonly properties: {
|
|
1471
|
-
readonly name: {
|
|
1472
|
-
readonly type: "string";
|
|
1473
|
-
readonly description: "A name for the API token.";
|
|
1474
|
-
readonly maxLength: 255;
|
|
1475
|
-
};
|
|
1476
|
-
readonly expiresIn: {
|
|
1477
|
-
readonly type: "string";
|
|
1478
|
-
readonly description: "The duration for which the token is valid.";
|
|
1479
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
1480
|
-
readonly validate: "omitnil,duration";
|
|
1481
|
-
};
|
|
1482
|
-
};
|
|
1483
|
-
};
|
|
1484
|
-
readonly required: readonly ["name"];
|
|
1485
|
-
};
|
|
1486
|
-
export declare const CreateAPITokenResponseSchema: {
|
|
1487
|
-
readonly type: "object";
|
|
1488
|
-
readonly properties: {
|
|
1489
|
-
readonly token: {
|
|
1490
|
-
readonly type: "string";
|
|
1491
|
-
readonly description: "The API token.";
|
|
1492
|
-
};
|
|
1493
|
-
};
|
|
1494
|
-
readonly required: readonly ["token"];
|
|
1495
|
-
};
|
|
1496
|
-
export declare const TenantMemberListSchema: {
|
|
1497
|
-
readonly properties: {
|
|
1498
|
-
readonly pagination: {
|
|
1499
|
-
readonly $ref: "#/components/schemas/PaginationResponse";
|
|
1500
|
-
};
|
|
1501
|
-
readonly rows: {
|
|
1502
|
-
readonly items: {
|
|
1503
|
-
readonly $ref: "#/components/schemas/TenantMember";
|
|
1504
|
-
};
|
|
1505
|
-
readonly type: "array";
|
|
1506
|
-
readonly "x-go-name": "Rows";
|
|
1507
|
-
};
|
|
1508
|
-
};
|
|
1509
|
-
};
|
|
1510
|
-
export declare const TenantInfoExportSchema: {
|
|
1511
|
-
readonly properties: {
|
|
1512
|
-
readonly tenant: {
|
|
1513
|
-
readonly $ref: "#/components/schemas/Tenant";
|
|
1514
|
-
readonly description: "The tenant basic information";
|
|
1515
|
-
};
|
|
1516
|
-
readonly members: {
|
|
1517
|
-
readonly type: "array";
|
|
1518
|
-
readonly items: {
|
|
1519
|
-
readonly $ref: "#/components/schemas/TenantMember";
|
|
1520
|
-
};
|
|
1521
|
-
readonly description: "The tenant members list";
|
|
1522
|
-
};
|
|
1523
|
-
readonly invites: {
|
|
1524
|
-
readonly type: "array";
|
|
1525
|
-
readonly items: {
|
|
1526
|
-
readonly $ref: "#/components/schemas/TenantInvite";
|
|
1527
|
-
};
|
|
1528
|
-
readonly description: "The tenant invites list";
|
|
1529
|
-
};
|
|
1530
|
-
readonly export_metadata: {
|
|
1531
|
-
readonly type: "object";
|
|
1532
|
-
readonly properties: {
|
|
1533
|
-
readonly export_version: {
|
|
1534
|
-
readonly type: "string";
|
|
1535
|
-
readonly description: "The export format version";
|
|
1536
|
-
};
|
|
1537
|
-
readonly export_timestamp: {
|
|
1538
|
-
readonly type: "string";
|
|
1539
|
-
readonly format: "date-time";
|
|
1540
|
-
readonly description: "The timestamp when the export was created";
|
|
1541
|
-
};
|
|
1542
|
-
readonly export_by: {
|
|
1543
|
-
readonly type: "string";
|
|
1544
|
-
readonly format: "uuid";
|
|
1545
|
-
readonly description: "The user ID who performed the export";
|
|
1546
|
-
};
|
|
1547
|
-
readonly total_members: {
|
|
1548
|
-
readonly type: "integer";
|
|
1549
|
-
readonly description: "Total number of members";
|
|
1550
|
-
};
|
|
1551
|
-
readonly total_invites: {
|
|
1552
|
-
readonly type: "integer";
|
|
1553
|
-
readonly description: "Total number of pending invites";
|
|
1554
|
-
};
|
|
1555
|
-
};
|
|
1556
|
-
readonly required: readonly ["export_version", "export_timestamp", "export_by", "total_members", "total_invites"];
|
|
1557
|
-
};
|
|
1558
|
-
};
|
|
1559
|
-
readonly required: readonly ["tenant", "members", "invites", "export_metadata"];
|
|
1560
|
-
readonly type: "object";
|
|
1561
|
-
};
|
|
1562
|
-
export declare const ServerInfoSchema: {
|
|
1563
|
-
readonly properties: {
|
|
1564
|
-
readonly version: {
|
|
1565
|
-
readonly type: "string";
|
|
1566
|
-
readonly description: "Server version";
|
|
1567
|
-
};
|
|
1568
|
-
readonly frontend: {
|
|
1569
|
-
readonly type: "object";
|
|
1570
|
-
readonly properties: {
|
|
1571
|
-
readonly port: {
|
|
1572
|
-
readonly type: "integer";
|
|
1573
|
-
readonly description: "Frontend server port";
|
|
1574
|
-
};
|
|
1575
|
-
readonly enabled: {
|
|
1576
|
-
readonly type: "boolean";
|
|
1577
|
-
readonly description: "Whether frontend is enabled";
|
|
1578
|
-
};
|
|
1579
|
-
readonly dir: {
|
|
1580
|
-
readonly type: "string";
|
|
1581
|
-
readonly description: "Frontend source directory";
|
|
1582
|
-
};
|
|
1583
|
-
readonly autoOpenBrowser: {
|
|
1584
|
-
readonly type: "boolean";
|
|
1585
|
-
readonly description: "Whether to auto open browser";
|
|
1586
|
-
};
|
|
1587
|
-
};
|
|
1588
|
-
readonly required: readonly ["port", "enabled", "dir", "autoOpenBrowser"];
|
|
1589
|
-
};
|
|
1590
|
-
readonly server: {
|
|
1591
|
-
readonly type: "object";
|
|
1592
|
-
readonly properties: {
|
|
1593
|
-
readonly port: {
|
|
1594
|
-
readonly type: "integer";
|
|
1595
|
-
readonly description: "Server port";
|
|
1596
|
-
};
|
|
1597
|
-
readonly host: {
|
|
1598
|
-
readonly type: "string";
|
|
1599
|
-
readonly description: "Server host";
|
|
1600
|
-
};
|
|
1601
|
-
};
|
|
1602
|
-
readonly required: readonly ["port", "host"];
|
|
1603
|
-
};
|
|
1604
|
-
};
|
|
1605
|
-
readonly required: readonly ["version", "frontend", "server"];
|
|
1606
|
-
};
|
|
1607
|
-
export declare const SitePropertiesSchema: {
|
|
1608
|
-
readonly required: readonly ["id", "tenant_id", "title", "description", "automation_enabled", "state", "enabled"];
|
|
1609
|
-
readonly properties: {
|
|
1610
|
-
readonly id: {
|
|
1611
|
-
readonly type: "string";
|
|
1612
|
-
readonly description: "站点ID";
|
|
1613
|
-
};
|
|
1614
|
-
readonly tenant_id: {
|
|
1615
|
-
readonly type: "string";
|
|
1616
|
-
readonly description: "租户ID";
|
|
1617
|
-
};
|
|
1618
|
-
readonly updated_at: {
|
|
1619
|
-
readonly type: "string";
|
|
1620
|
-
readonly description: "更新时间";
|
|
1621
|
-
};
|
|
1622
|
-
readonly created_at: {
|
|
1623
|
-
readonly type: "string";
|
|
1624
|
-
readonly description: "创建时间";
|
|
1625
|
-
};
|
|
1626
|
-
readonly enabled: {
|
|
1627
|
-
readonly type: "boolean";
|
|
1628
|
-
readonly description: "是否启用";
|
|
1629
|
-
};
|
|
1630
|
-
readonly title: {
|
|
1631
|
-
readonly type: "string";
|
|
1632
|
-
readonly description: "site 标题";
|
|
1633
|
-
};
|
|
1634
|
-
readonly description: {
|
|
1635
|
-
readonly type: "string";
|
|
1636
|
-
readonly description: "site 描述";
|
|
1637
|
-
};
|
|
1638
|
-
readonly automation_enabled: {
|
|
1639
|
-
readonly type: "boolean";
|
|
1640
|
-
readonly description: "是否启用自动化";
|
|
1641
|
-
};
|
|
1642
|
-
readonly state: {
|
|
1643
|
-
readonly type: "object";
|
|
1644
|
-
readonly description: "站点状态";
|
|
1645
|
-
readonly properties: {
|
|
1646
|
-
readonly status: {
|
|
1647
|
-
readonly type: "string";
|
|
1648
|
-
readonly description: "站点状态";
|
|
1649
|
-
};
|
|
1650
|
-
};
|
|
1651
|
-
};
|
|
1652
|
-
};
|
|
1653
|
-
};
|
|
1654
|
-
export declare const SiteSchema: {
|
|
1655
|
-
readonly allOf: readonly [{
|
|
1656
|
-
readonly $ref: "#/components/schemas/SiteProperties";
|
|
1657
|
-
}];
|
|
1658
|
-
};
|
|
1659
|
-
export declare const SiteListSchema: {
|
|
1660
|
-
readonly properties: {
|
|
1661
|
-
readonly pagination: {
|
|
1662
|
-
readonly $ref: "#/components/schemas/PaginationResponse";
|
|
1663
|
-
};
|
|
1664
|
-
readonly rows: {
|
|
1665
|
-
readonly items: {
|
|
1666
|
-
readonly $ref: "#/components/schemas/Site";
|
|
1667
|
-
};
|
|
1668
|
-
readonly type: "array";
|
|
1669
|
-
readonly "x-go-name": "Rows";
|
|
1670
|
-
};
|
|
1671
|
-
};
|
|
1672
|
-
};
|
|
1673
|
-
export declare const CreateSiteRequestSchema: {
|
|
1674
|
-
readonly properties: {
|
|
1675
|
-
readonly title: {
|
|
1676
|
-
readonly type: "string";
|
|
1677
|
-
readonly description: "site 标题";
|
|
1678
|
-
};
|
|
1679
|
-
readonly description: {
|
|
1680
|
-
readonly type: "string";
|
|
1681
|
-
readonly description: "site 描述";
|
|
1682
|
-
};
|
|
1683
|
-
readonly host: {
|
|
1684
|
-
readonly type: "string";
|
|
1685
|
-
readonly description: "入站域名(指定绑定入站域名)";
|
|
1686
|
-
};
|
|
1687
|
-
};
|
|
1688
|
-
readonly required: readonly ["title", "description"];
|
|
1689
|
-
};
|
|
1690
|
-
export declare const UpdateSiteRequestSchema: {
|
|
1691
|
-
readonly type: "object";
|
|
1692
|
-
readonly properties: {
|
|
1693
|
-
readonly title: {
|
|
1694
|
-
readonly type: "string";
|
|
1695
|
-
readonly description: "site 标题";
|
|
1696
|
-
};
|
|
1697
|
-
};
|
|
1698
|
-
};
|
|
1699
|
-
export declare const SiteHostPropertiesSchema: {
|
|
1700
|
-
readonly required: readonly ["id", "host"];
|
|
1701
|
-
readonly properties: {
|
|
1702
|
-
readonly id: {
|
|
1703
|
-
readonly type: "string";
|
|
1704
|
-
readonly description: "site-host id";
|
|
1705
|
-
};
|
|
1706
|
-
readonly title: {
|
|
1707
|
-
readonly type: "string";
|
|
1708
|
-
readonly description: "site-host 标题";
|
|
1709
|
-
};
|
|
1710
|
-
readonly description: {
|
|
1711
|
-
readonly type: "string";
|
|
1712
|
-
readonly description: "site-host 描述";
|
|
1713
|
-
};
|
|
1714
|
-
readonly host: {
|
|
1715
|
-
readonly type: "string";
|
|
1716
|
-
readonly description: "绑定域名";
|
|
1717
|
-
};
|
|
1718
|
-
};
|
|
1719
|
-
};
|
|
1720
|
-
export declare const SiteHostSchema: {
|
|
1721
|
-
readonly allOf: readonly [{
|
|
1722
|
-
readonly $ref: "#/components/schemas/SiteHostProperties";
|
|
1723
|
-
}];
|
|
1724
|
-
};
|
|
1725
|
-
export declare const SiteHostListSchema: {
|
|
1726
|
-
readonly properties: {
|
|
1727
|
-
readonly pagination: {
|
|
1728
|
-
readonly $ref: "#/components/schemas/PaginationResponse";
|
|
1729
|
-
};
|
|
1730
|
-
readonly rows: {
|
|
1731
|
-
readonly items: {
|
|
1732
|
-
readonly $ref: "#/components/schemas/SiteHost";
|
|
1733
|
-
};
|
|
1734
|
-
readonly type: "array";
|
|
1735
|
-
readonly "x-go-name": "Rows";
|
|
1736
|
-
};
|
|
1737
|
-
};
|
|
1738
|
-
};
|
|
1739
|
-
export declare const FrontendConfigSchema: {
|
|
1740
|
-
readonly properties: {
|
|
1741
|
-
readonly cookieAccessToken: {
|
|
1742
|
-
readonly type: "string";
|
|
1743
|
-
readonly description: "Cookie access token";
|
|
1744
|
-
};
|
|
1745
|
-
readonly dashPath: {
|
|
1746
|
-
readonly type: "string";
|
|
1747
|
-
readonly description: "Dashboard path";
|
|
1748
|
-
};
|
|
1749
|
-
readonly hotKeyDebug: {
|
|
1750
|
-
readonly type: "string";
|
|
1751
|
-
readonly description: "Hot key debug";
|
|
1752
|
-
};
|
|
1753
|
-
readonly defaultTenantAccessToken: {
|
|
1754
|
-
readonly type: "string";
|
|
1755
|
-
readonly description: "实验性质,默认租户的access token";
|
|
1756
|
-
};
|
|
1757
|
-
};
|
|
1758
|
-
readonly required: readonly ["cookieAccessToken", "dashPath", "hotKeyDebug", "defaultTenantAccessToken"];
|
|
1759
|
-
};
|
|
1760
|
-
export declare const EndpointSchema: {
|
|
1761
|
-
readonly properties: {
|
|
1762
|
-
readonly metadata: {
|
|
1763
|
-
readonly $ref: "#/components/schemas/APIResourceMeta";
|
|
1764
|
-
};
|
|
1765
|
-
readonly name: {
|
|
1766
|
-
readonly type: "string";
|
|
1767
|
-
};
|
|
1768
|
-
readonly url: {
|
|
1769
|
-
readonly type: "string";
|
|
1770
|
-
};
|
|
1771
|
-
readonly token: {
|
|
1772
|
-
readonly type: "string";
|
|
1773
|
-
};
|
|
1774
|
-
readonly type: {
|
|
1775
|
-
readonly type: "string";
|
|
1776
|
-
};
|
|
1777
|
-
};
|
|
1778
|
-
readonly required: readonly ["metadata", "name", "url", "token", "type"];
|
|
1779
|
-
};
|
|
1780
|
-
export declare const EndpointListSchema: {
|
|
1781
|
-
readonly properties: {
|
|
1782
|
-
readonly pagination: {
|
|
1783
|
-
readonly $ref: "#/components/schemas/PaginationResponse";
|
|
1784
|
-
};
|
|
1785
|
-
readonly rows: {
|
|
1786
|
-
readonly items: {
|
|
1787
|
-
readonly $ref: "#/components/schemas/Endpoint";
|
|
1788
|
-
};
|
|
1789
|
-
readonly type: "array";
|
|
1790
|
-
};
|
|
1791
|
-
};
|
|
1792
|
-
};
|
|
1793
|
-
export declare const UpdateEndpointRequestSchema: {
|
|
1794
|
-
readonly properties: {
|
|
1795
|
-
readonly name: {
|
|
1796
|
-
readonly type: "string";
|
|
1797
|
-
};
|
|
1798
|
-
readonly url: {
|
|
1799
|
-
readonly type: "string";
|
|
1800
|
-
};
|
|
1801
|
-
readonly token: {
|
|
1802
|
-
readonly type: "string";
|
|
1803
|
-
};
|
|
1804
|
-
};
|
|
1805
|
-
};
|
|
1806
|
-
export declare const MtWorkerTaskSchema: {
|
|
1807
|
-
readonly type: "object";
|
|
1808
|
-
readonly properties: {
|
|
1809
|
-
readonly id: {
|
|
1810
|
-
readonly type: "string";
|
|
1811
|
-
};
|
|
1812
|
-
readonly name: {
|
|
1813
|
-
readonly type: "string";
|
|
1814
|
-
};
|
|
1815
|
-
};
|
|
1816
|
-
};
|
|
1817
|
-
export declare const WorkflowWorkerSchema: {
|
|
1818
|
-
readonly type: "object";
|
|
1819
|
-
readonly properties: {
|
|
1820
|
-
readonly id: {
|
|
1821
|
-
readonly type: "string";
|
|
1822
|
-
readonly description: "Worker唯一标识符";
|
|
1823
|
-
};
|
|
1824
|
-
readonly name: {
|
|
1825
|
-
readonly type: "string";
|
|
1826
|
-
readonly description: "Worker名称";
|
|
1827
|
-
};
|
|
1828
|
-
readonly status: {
|
|
1829
|
-
readonly type: "string";
|
|
1830
|
-
readonly enum: readonly ["running", "stopped", "starting", "stopping", "error"];
|
|
1831
|
-
readonly description: "Worker状态";
|
|
1832
|
-
};
|
|
1833
|
-
readonly hatchetUrl: {
|
|
1834
|
-
readonly type: "string";
|
|
1835
|
-
readonly description: "Hatchet服务器URL";
|
|
1836
|
-
};
|
|
1837
|
-
readonly startedAt: {
|
|
1838
|
-
readonly type: "string";
|
|
1839
|
-
readonly format: "date-time";
|
|
1840
|
-
readonly description: "启动时间";
|
|
1841
|
-
};
|
|
1842
|
-
readonly pid: {
|
|
1843
|
-
readonly type: "integer";
|
|
1844
|
-
readonly description: "进程ID";
|
|
1845
|
-
};
|
|
1846
|
-
readonly workflows: {
|
|
1847
|
-
readonly type: "array";
|
|
1848
|
-
readonly items: {
|
|
1849
|
-
readonly type: "string";
|
|
1850
|
-
};
|
|
1851
|
-
readonly description: "支持的工作流列表";
|
|
1852
|
-
};
|
|
1853
|
-
};
|
|
1854
|
-
};
|
|
1855
|
-
export declare const StartWorkerRequestSchema: {
|
|
1856
|
-
readonly type: "object";
|
|
1857
|
-
readonly required: readonly ["name"];
|
|
1858
|
-
readonly properties: {
|
|
1859
|
-
readonly name: {
|
|
1860
|
-
readonly type: "string";
|
|
1861
|
-
readonly description: "Worker名称";
|
|
1862
|
-
};
|
|
1863
|
-
readonly hatchetUrl: {
|
|
1864
|
-
readonly type: "string";
|
|
1865
|
-
readonly description: "Hatchet服务器URL";
|
|
1866
|
-
};
|
|
1867
|
-
readonly hatchetToken: {
|
|
1868
|
-
readonly type: "string";
|
|
1869
|
-
readonly description: "Hatchet认证令牌";
|
|
1870
|
-
};
|
|
1871
|
-
readonly workflows: {
|
|
1872
|
-
readonly type: "array";
|
|
1873
|
-
readonly items: {
|
|
1874
|
-
readonly type: "string";
|
|
1875
|
-
};
|
|
1876
|
-
readonly description: "要启用的工作流列表";
|
|
1877
|
-
};
|
|
1878
|
-
};
|
|
1879
|
-
};
|
|
1880
|
-
export declare const StopWorkerRequestSchema: {
|
|
1881
|
-
readonly type: "object";
|
|
1882
|
-
readonly required: readonly ["workerId"];
|
|
1883
|
-
readonly properties: {
|
|
1884
|
-
readonly workerId: {
|
|
1885
|
-
readonly type: "string";
|
|
1886
|
-
readonly description: "要停止的Worker ID";
|
|
1887
|
-
};
|
|
1888
|
-
};
|
|
1889
|
-
};
|
|
1890
|
-
export declare const WorkerStatusSchema: {
|
|
1891
|
-
readonly type: "object";
|
|
1892
|
-
readonly properties: {
|
|
1893
|
-
readonly id: {
|
|
1894
|
-
readonly type: "string";
|
|
1895
|
-
readonly description: "Worker ID";
|
|
1896
|
-
};
|
|
1897
|
-
readonly name: {
|
|
1898
|
-
readonly type: "string";
|
|
1899
|
-
readonly description: "Worker名称";
|
|
1900
|
-
};
|
|
1901
|
-
readonly status: {
|
|
1902
|
-
readonly type: "string";
|
|
1903
|
-
readonly enum: readonly ["running", "stopped", "starting", "stopping", "error"];
|
|
1904
|
-
readonly description: "Worker状态";
|
|
1905
|
-
};
|
|
1906
|
-
readonly uptime: {
|
|
1907
|
-
readonly type: "integer";
|
|
1908
|
-
readonly description: "运行时间(秒)";
|
|
1909
|
-
};
|
|
1910
|
-
readonly tasksProcessed: {
|
|
1911
|
-
readonly type: "integer";
|
|
1912
|
-
readonly description: "已处理任务数";
|
|
1913
|
-
};
|
|
1914
|
-
readonly lastActivity: {
|
|
1915
|
-
readonly type: "string";
|
|
1916
|
-
readonly format: "date-time";
|
|
1917
|
-
readonly description: "最后活动时间";
|
|
1918
|
-
};
|
|
1919
|
-
readonly errorMessage: {
|
|
1920
|
-
readonly type: "string";
|
|
1921
|
-
readonly description: "错误信息(如果有)";
|
|
1922
|
-
};
|
|
1923
|
-
};
|
|
1924
|
-
};
|
|
1925
|
-
export declare const RunWorkflowRequestSchema: {
|
|
1926
|
-
readonly type: "object";
|
|
1927
|
-
readonly required: readonly ["workflowType"];
|
|
1928
|
-
readonly properties: {
|
|
1929
|
-
readonly workflowType: {
|
|
1930
|
-
readonly type: "string";
|
|
1931
|
-
readonly enum: readonly ["hello", "first-task"];
|
|
1932
|
-
readonly description: "工作流类型";
|
|
1933
|
-
};
|
|
1934
|
-
readonly name: {
|
|
1935
|
-
readonly type: "string";
|
|
1936
|
-
readonly description: "名称参数(用于hello工作流)";
|
|
1937
|
-
};
|
|
1938
|
-
readonly message: {
|
|
1939
|
-
readonly type: "string";
|
|
1940
|
-
readonly description: "消息参数(用于first-task工作流)";
|
|
1941
|
-
};
|
|
1942
|
-
};
|
|
1943
|
-
};
|
|
1944
|
-
export declare const WorkflowResultSchema: {
|
|
1945
|
-
readonly type: "object";
|
|
1946
|
-
readonly properties: {
|
|
1947
|
-
readonly success: {
|
|
1948
|
-
readonly type: "boolean";
|
|
1949
|
-
readonly description: "执行是否成功";
|
|
1950
|
-
};
|
|
1951
|
-
readonly result: {
|
|
1952
|
-
readonly type: "object";
|
|
1953
|
-
readonly description: "工作流执行结果";
|
|
1954
|
-
};
|
|
1955
|
-
readonly error: {
|
|
1956
|
-
readonly type: "string";
|
|
1957
|
-
readonly description: "错误信息(如果有)";
|
|
1958
|
-
};
|
|
1959
|
-
readonly executionTime: {
|
|
1960
|
-
readonly type: "number";
|
|
1961
|
-
readonly description: "执行时间(毫秒)";
|
|
1962
|
-
};
|
|
1963
|
-
};
|
|
1964
|
-
};
|
|
1965
|
-
export declare const RunContainerRequestSchema: {
|
|
1966
|
-
readonly type: "object";
|
|
1967
|
-
readonly properties: {
|
|
1968
|
-
readonly name: {
|
|
1969
|
-
readonly type: "string";
|
|
1970
|
-
readonly description: "Container name (optional, will be auto-generated if not provided)";
|
|
1971
|
-
readonly minLength: 1;
|
|
1972
|
-
readonly maxLength: 255;
|
|
1973
|
-
};
|
|
1974
|
-
readonly image: {
|
|
1975
|
-
readonly type: "string";
|
|
1976
|
-
readonly description: "Docker image to run";
|
|
1977
|
-
readonly default: "gitgit188/gomtm:latest";
|
|
1978
|
-
};
|
|
1979
|
-
readonly command: {
|
|
1980
|
-
readonly type: "string";
|
|
1981
|
-
readonly description: "Command to run in container (optional)";
|
|
1982
|
-
};
|
|
1983
|
-
readonly environment: {
|
|
1984
|
-
readonly type: "object";
|
|
1985
|
-
readonly description: "Environment variables";
|
|
1986
|
-
readonly additionalProperties: true;
|
|
1987
|
-
};
|
|
1988
|
-
readonly volumes: {
|
|
1989
|
-
readonly type: "array";
|
|
1990
|
-
readonly description: "Volume mounts";
|
|
1991
|
-
readonly items: {
|
|
1992
|
-
readonly type: "string";
|
|
1993
|
-
};
|
|
1994
|
-
};
|
|
1995
|
-
readonly ports: {
|
|
1996
|
-
readonly type: "array";
|
|
1997
|
-
readonly description: "Port mappings";
|
|
1998
|
-
readonly items: {
|
|
1999
|
-
readonly type: "string";
|
|
2000
|
-
};
|
|
2001
|
-
};
|
|
2002
|
-
readonly privileged: {
|
|
2003
|
-
readonly type: "boolean";
|
|
2004
|
-
readonly description: "Run container in privileged mode";
|
|
2005
|
-
readonly default: true;
|
|
2006
|
-
};
|
|
2007
|
-
readonly autoRemove: {
|
|
2008
|
-
readonly type: "boolean";
|
|
2009
|
-
readonly description: "Automatically remove container when it exits";
|
|
2010
|
-
readonly default: true;
|
|
2011
|
-
};
|
|
2012
|
-
};
|
|
2013
|
-
};
|
|
2014
|
-
export declare const RunContainerResponseSchema: {
|
|
2015
|
-
readonly type: "object";
|
|
2016
|
-
readonly properties: {
|
|
2017
|
-
readonly containerId: {
|
|
2018
|
-
readonly type: "string";
|
|
2019
|
-
readonly description: "The Docker container ID";
|
|
2020
|
-
};
|
|
2021
|
-
readonly containerName: {
|
|
2022
|
-
readonly type: "string";
|
|
2023
|
-
readonly description: "The container name";
|
|
2024
|
-
};
|
|
2025
|
-
readonly status: {
|
|
2026
|
-
readonly type: "string";
|
|
2027
|
-
readonly description: "Container status";
|
|
2028
|
-
readonly enum: readonly ["created", "running", "stopped", "error"];
|
|
2029
|
-
};
|
|
2030
|
-
readonly message: {
|
|
2031
|
-
readonly type: "string";
|
|
2032
|
-
readonly description: "Status message or error details";
|
|
2033
|
-
};
|
|
2034
|
-
readonly dockerCommand: {
|
|
2035
|
-
readonly type: "string";
|
|
2036
|
-
readonly description: "The actual docker command that was executed";
|
|
2037
|
-
};
|
|
2038
|
-
};
|
|
2039
|
-
readonly required: readonly ["containerId", "containerName", "status", "message"];
|
|
2040
|
-
};
|
|
2041
|
-
export declare const PostSchema: {
|
|
2042
|
-
readonly properties: {
|
|
2043
|
-
readonly metadata: {
|
|
2044
|
-
readonly $ref: "#/components/schemas/APIResourceMeta";
|
|
2045
|
-
};
|
|
2046
|
-
readonly title: {
|
|
2047
|
-
readonly type: "string";
|
|
2048
|
-
};
|
|
2049
|
-
readonly content: {
|
|
2050
|
-
readonly type: "string";
|
|
2051
|
-
readonly description: "The tenant associated with this tenant blog";
|
|
2052
|
-
};
|
|
2053
|
-
readonly slug: {
|
|
2054
|
-
readonly type: "string";
|
|
2055
|
-
readonly description: "The slug of the post";
|
|
2056
|
-
};
|
|
2057
|
-
readonly status: {
|
|
2058
|
-
readonly type: "string";
|
|
2059
|
-
readonly enum: readonly ["DRAFT", "PUBLISHED"];
|
|
2060
|
-
};
|
|
2061
|
-
};
|
|
2062
|
-
readonly required: readonly ["metadata", "title", "content", "slug", "status"];
|
|
2063
|
-
};
|
|
2064
|
-
export declare const PostListSchema: {
|
|
2065
|
-
readonly properties: {
|
|
2066
|
-
readonly pagination: {
|
|
2067
|
-
readonly $ref: "#/components/schemas/PaginationResponse";
|
|
2068
|
-
};
|
|
2069
|
-
readonly rows: {
|
|
2070
|
-
readonly items: {
|
|
2071
|
-
readonly $ref: "#/components/schemas/Post";
|
|
2072
|
-
};
|
|
2073
|
-
readonly type: "array";
|
|
2074
|
-
};
|
|
2075
|
-
};
|
|
2076
|
-
};
|
|
2077
|
-
export declare const UpdatePostRequestSchema: {
|
|
2078
|
-
readonly properties: {
|
|
2079
|
-
readonly title: {
|
|
2080
|
-
readonly type: "string";
|
|
2081
|
-
readonly minLength: 3;
|
|
2082
|
-
readonly maxLength: 200;
|
|
2083
|
-
};
|
|
2084
|
-
readonly content: {
|
|
2085
|
-
readonly type: "string";
|
|
2086
|
-
readonly description: "The content of the post";
|
|
2087
|
-
readonly minLength: 50;
|
|
2088
|
-
readonly maxLength: 10240;
|
|
2089
|
-
};
|
|
2090
|
-
readonly slug: {
|
|
2091
|
-
readonly type: "string";
|
|
2092
|
-
readonly description: "The slug of the post";
|
|
2093
|
-
readonly minLength: 3;
|
|
2094
|
-
readonly maxLength: 200;
|
|
2095
|
-
};
|
|
2096
|
-
readonly status: {
|
|
2097
|
-
readonly type: "string";
|
|
2098
|
-
readonly enum: readonly ["DRAFT", "PUBLISHED"];
|
|
2099
|
-
};
|
|
2100
|
-
};
|
|
2101
|
-
readonly required: readonly ["title", "content", "slug", "status"];
|
|
2102
|
-
};
|
|
2103
|
-
export declare const CreatePostRequestSchema: {
|
|
2104
|
-
readonly properties: {
|
|
2105
|
-
readonly siteId: {
|
|
2106
|
-
readonly type: "string";
|
|
2107
|
-
readonly format: "uuid";
|
|
2108
|
-
readonly minLength: 36;
|
|
2109
|
-
readonly maxLength: 36;
|
|
2110
|
-
};
|
|
2111
|
-
readonly title: {
|
|
2112
|
-
readonly type: "string";
|
|
2113
|
-
readonly minLength: 3;
|
|
2114
|
-
readonly maxLength: 200;
|
|
2115
|
-
};
|
|
2116
|
-
readonly content: {
|
|
2117
|
-
readonly type: "string";
|
|
2118
|
-
readonly description: "The tenant associated with this tenant blog.";
|
|
2119
|
-
readonly minLength: 50;
|
|
2120
|
-
readonly maxLength: 10240;
|
|
2121
|
-
};
|
|
2122
|
-
readonly slug: {
|
|
2123
|
-
readonly type: "string";
|
|
2124
|
-
readonly description: "The slug of the post";
|
|
2125
|
-
readonly minLength: 3;
|
|
2126
|
-
readonly maxLength: 200;
|
|
2127
|
-
};
|
|
2128
|
-
readonly authorId: {
|
|
2129
|
-
readonly type: "string";
|
|
2130
|
-
readonly format: "uuid";
|
|
2131
|
-
readonly minLength: 36;
|
|
2132
|
-
readonly maxLength: 36;
|
|
2133
|
-
};
|
|
2134
|
-
readonly status: {
|
|
2135
|
-
readonly type: "string";
|
|
2136
|
-
readonly enum: readonly ["draft", "published"];
|
|
2137
|
-
};
|
|
2138
|
-
};
|
|
2139
|
-
readonly required: readonly ["siteId", "title", "content", "slug"];
|
|
2140
|
-
};
|
|
2141
|
-
export declare const SbWorkerProfileSchema: {
|
|
2142
|
-
readonly required: readonly ["frontendUrl", "isDebug", "autoStart", "defaultProfileName", "defaultProfileUrl", "defaultProfileType"];
|
|
2143
|
-
readonly properties: {
|
|
2144
|
-
readonly frontendUrl: {
|
|
2145
|
-
readonly type: "string";
|
|
2146
|
-
};
|
|
2147
|
-
readonly isDebug: {
|
|
2148
|
-
readonly type: "boolean";
|
|
2149
|
-
};
|
|
2150
|
-
readonly autoStart: {
|
|
2151
|
-
readonly type: "boolean";
|
|
2152
|
-
};
|
|
2153
|
-
readonly defaultProfileName: {
|
|
2154
|
-
readonly type: "string";
|
|
2155
|
-
};
|
|
2156
|
-
readonly defaultProfileUrl: {
|
|
2157
|
-
readonly type: "string";
|
|
2158
|
-
};
|
|
2159
|
-
};
|
|
2160
|
-
};
|
|
2161
|
-
export declare const SbOutboundSchema: {
|
|
2162
|
-
readonly description: "Sing-box outbound configuration";
|
|
2163
|
-
readonly properties: {
|
|
2164
|
-
readonly id: {
|
|
2165
|
-
readonly type: "string";
|
|
2166
|
-
readonly format: "uuid";
|
|
2167
|
-
readonly description: "Unique identifier";
|
|
2168
|
-
};
|
|
2169
|
-
readonly tag: {
|
|
2170
|
-
readonly type: "string";
|
|
2171
|
-
readonly description: "Tag name for this outbound";
|
|
2172
|
-
};
|
|
2173
|
-
readonly type: {
|
|
2174
|
-
readonly type: "string";
|
|
2175
|
-
readonly description: "Type of outbound protocol";
|
|
2176
|
-
};
|
|
2177
|
-
readonly server: {
|
|
2178
|
-
readonly type: "string";
|
|
2179
|
-
readonly description: "Server address";
|
|
2180
|
-
};
|
|
2181
|
-
readonly server_port: {
|
|
2182
|
-
readonly type: "integer";
|
|
2183
|
-
readonly description: "Server port number";
|
|
2184
|
-
};
|
|
2185
|
-
readonly password: {
|
|
2186
|
-
readonly type: "string";
|
|
2187
|
-
readonly description: "Authentication password";
|
|
2188
|
-
readonly nullable: true;
|
|
2189
|
-
};
|
|
2190
|
-
readonly security: {
|
|
2191
|
-
readonly type: "string";
|
|
2192
|
-
readonly description: "Security protocol";
|
|
2193
|
-
readonly nullable: true;
|
|
2194
|
-
};
|
|
2195
|
-
readonly domain_resolver: {
|
|
2196
|
-
readonly type: "string";
|
|
2197
|
-
readonly description: "Domain resolver configuration";
|
|
2198
|
-
readonly nullable: true;
|
|
2199
|
-
};
|
|
2200
|
-
readonly full_config: {
|
|
2201
|
-
readonly type: "object";
|
|
2202
|
-
readonly description: "Complete configuration in JSON format";
|
|
2203
|
-
};
|
|
2204
|
-
readonly created_at: {
|
|
2205
|
-
readonly type: "string";
|
|
2206
|
-
readonly format: "date-time";
|
|
2207
|
-
readonly description: "Creation timestamp";
|
|
2208
|
-
};
|
|
2209
|
-
readonly updated_at: {
|
|
2210
|
-
readonly type: "string";
|
|
2211
|
-
readonly format: "date-time";
|
|
2212
|
-
readonly description: "Last update timestamp";
|
|
2213
|
-
};
|
|
2214
|
-
};
|
|
2215
|
-
};
|
|
2216
|
-
export declare const SbOutboundCreateSchema: {
|
|
2217
|
-
readonly description: "Create a new sing-box outbound";
|
|
2218
|
-
readonly required: readonly ["tag", "type", "server", "server_port", "full_config"];
|
|
2219
|
-
readonly properties: {
|
|
2220
|
-
readonly tag: {
|
|
2221
|
-
readonly type: "string";
|
|
2222
|
-
readonly description: "Tag name for this outbound";
|
|
2223
|
-
};
|
|
2224
|
-
readonly type: {
|
|
2225
|
-
readonly type: "string";
|
|
2226
|
-
readonly description: "Type of outbound protocol";
|
|
2227
|
-
};
|
|
2228
|
-
readonly server: {
|
|
2229
|
-
readonly type: "string";
|
|
2230
|
-
readonly description: "Server address";
|
|
2231
|
-
};
|
|
2232
|
-
readonly server_port: {
|
|
2233
|
-
readonly type: "integer";
|
|
2234
|
-
readonly description: "Server port number";
|
|
2235
|
-
};
|
|
2236
|
-
readonly password: {
|
|
2237
|
-
readonly type: "string";
|
|
2238
|
-
readonly description: "Authentication password";
|
|
2239
|
-
readonly nullable: true;
|
|
2240
|
-
};
|
|
2241
|
-
readonly security: {
|
|
2242
|
-
readonly type: "string";
|
|
2243
|
-
readonly description: "Security protocol";
|
|
2244
|
-
readonly nullable: true;
|
|
2245
|
-
};
|
|
2246
|
-
readonly domain_resolver: {
|
|
2247
|
-
readonly type: "string";
|
|
2248
|
-
readonly description: "Domain resolver configuration";
|
|
2249
|
-
readonly nullable: true;
|
|
2250
|
-
};
|
|
2251
|
-
readonly full_config: {
|
|
2252
|
-
readonly type: "object";
|
|
2253
|
-
readonly description: "Complete configuration in JSON format";
|
|
2254
|
-
};
|
|
2255
|
-
};
|
|
2256
|
-
};
|
|
2257
|
-
export declare const SbImportRequestSchema: {
|
|
2258
|
-
readonly required: readonly ["url"];
|
|
2259
|
-
readonly properties: {
|
|
2260
|
-
readonly url: {
|
|
2261
|
-
readonly type: "string";
|
|
2262
|
-
};
|
|
2263
|
-
};
|
|
2264
|
-
};
|
|
2265
|
-
export declare const BrowserSchema: {
|
|
2266
|
-
readonly description: "浏览器配置,类似于指纹浏览器的功能,用于管理浏览器配置文件";
|
|
2267
|
-
readonly required: readonly ["name", "url"];
|
|
2268
|
-
readonly properties: {
|
|
2269
|
-
readonly metadata: {
|
|
2270
|
-
readonly $ref: "#/components/schemas/APIResourceMeta";
|
|
2271
|
-
};
|
|
2272
|
-
readonly name: {
|
|
2273
|
-
readonly type: "string";
|
|
2274
|
-
readonly description: "浏览器配置名称";
|
|
2275
|
-
readonly example: "测试浏览器配置";
|
|
2276
|
-
};
|
|
2277
|
-
readonly description: {
|
|
2278
|
-
readonly type: "string";
|
|
2279
|
-
readonly description: "浏览器配置描述";
|
|
2280
|
-
readonly example: "用于测试的浏览器配置";
|
|
2281
|
-
};
|
|
2282
|
-
readonly url: {
|
|
2283
|
-
readonly type: "string";
|
|
2284
|
-
readonly description: "浏览器默认访问URL";
|
|
2285
|
-
readonly example: "https://example.com";
|
|
2286
|
-
};
|
|
2287
|
-
readonly properties: {
|
|
2288
|
-
readonly type: "object";
|
|
2289
|
-
readonly description: "浏览器配置属性(JSON格式)";
|
|
2290
|
-
readonly additionalProperties: true;
|
|
2291
|
-
readonly example: {
|
|
2292
|
-
readonly userAgent: "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36";
|
|
2293
|
-
readonly viewport: {
|
|
2294
|
-
readonly width: 375;
|
|
2295
|
-
readonly height: 667;
|
|
2296
|
-
};
|
|
2297
|
-
};
|
|
2298
|
-
};
|
|
2299
|
-
readonly tags: {
|
|
2300
|
-
readonly type: "array";
|
|
2301
|
-
readonly items: {
|
|
2302
|
-
readonly type: "string";
|
|
2303
|
-
};
|
|
2304
|
-
readonly description: "浏览器配置标签";
|
|
2305
|
-
readonly example: readonly ["测试", "开发"];
|
|
2306
|
-
};
|
|
2307
|
-
readonly lastUsedAt: {
|
|
2308
|
-
readonly type: "string";
|
|
2309
|
-
readonly format: "date-time";
|
|
2310
|
-
readonly description: "最后使用时间";
|
|
2311
|
-
};
|
|
2312
|
-
readonly createdAt: {
|
|
2313
|
-
readonly type: "string";
|
|
2314
|
-
readonly format: "date-time";
|
|
2315
|
-
readonly description: "创建时间";
|
|
2316
|
-
};
|
|
2317
|
-
readonly updatedAt: {
|
|
2318
|
-
readonly type: "string";
|
|
2319
|
-
readonly format: "date-time";
|
|
2320
|
-
readonly description: "更新时间";
|
|
2321
|
-
};
|
|
2322
|
-
};
|
|
2323
|
-
};
|
|
2324
|
-
export declare const BrowserListSchema: {
|
|
2325
|
-
readonly description: "浏览器配置列表响应";
|
|
2326
|
-
readonly properties: {
|
|
2327
|
-
readonly pagination: {
|
|
2328
|
-
readonly $ref: "#/components/schemas/PaginationResponse";
|
|
2329
|
-
};
|
|
2330
|
-
readonly rows: {
|
|
2331
|
-
readonly type: "array";
|
|
2332
|
-
readonly items: {
|
|
2333
|
-
readonly $ref: "#/components/schemas/Browser";
|
|
2334
|
-
};
|
|
2335
|
-
readonly description: "浏览器配置列表";
|
|
2336
|
-
};
|
|
2337
|
-
};
|
|
2338
|
-
};
|
|
2339
|
-
export declare const BrowserCreateSchema: {
|
|
2340
|
-
readonly description: "创建浏览器配置的请求";
|
|
2341
|
-
readonly required: readonly ["name", "url"];
|
|
2342
|
-
readonly properties: {
|
|
2343
|
-
readonly name: {
|
|
2344
|
-
readonly type: "string";
|
|
2345
|
-
readonly description: "浏览器配置名称";
|
|
2346
|
-
readonly example: "测试浏览器配置";
|
|
2347
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
2348
|
-
readonly validate: "required";
|
|
2349
|
-
};
|
|
2350
|
-
};
|
|
2351
|
-
readonly description: {
|
|
2352
|
-
readonly type: "string";
|
|
2353
|
-
readonly description: "浏览器配置描述";
|
|
2354
|
-
readonly example: "用于测试的浏览器配置";
|
|
2355
|
-
};
|
|
2356
|
-
readonly url: {
|
|
2357
|
-
readonly type: "string";
|
|
2358
|
-
readonly description: "浏览器默认访问URL";
|
|
2359
|
-
readonly example: "https://example.com";
|
|
2360
|
-
readonly "x-oapi-codegen-extra-tags": {
|
|
2361
|
-
readonly validate: "required,url";
|
|
2362
|
-
};
|
|
2363
|
-
};
|
|
2364
|
-
readonly properties: {
|
|
2365
|
-
readonly type: "object";
|
|
2366
|
-
readonly description: "浏览器配置属性(JSON格式)";
|
|
2367
|
-
readonly additionalProperties: true;
|
|
2368
|
-
readonly example: {
|
|
2369
|
-
readonly userAgent: "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36";
|
|
2370
|
-
readonly viewport: {
|
|
2371
|
-
readonly width: 375;
|
|
2372
|
-
readonly height: 667;
|
|
2373
|
-
};
|
|
2374
|
-
};
|
|
2375
|
-
};
|
|
2376
|
-
readonly tags: {
|
|
2377
|
-
readonly type: "array";
|
|
2378
|
-
readonly items: {
|
|
2379
|
-
readonly type: "string";
|
|
2380
|
-
};
|
|
2381
|
-
readonly description: "浏览器配置标签";
|
|
2382
|
-
readonly example: readonly ["测试", "开发"];
|
|
2383
|
-
};
|
|
2384
|
-
};
|
|
2385
|
-
};
|
|
2386
|
-
export declare const BrowserExportSchema: {
|
|
2387
|
-
readonly description: "浏览器配置导出响应";
|
|
2388
|
-
readonly properties: {
|
|
2389
|
-
readonly exportedAt: {
|
|
2390
|
-
readonly type: "string";
|
|
2391
|
-
readonly format: "date-time";
|
|
2392
|
-
readonly description: "导出时间";
|
|
2393
|
-
};
|
|
2394
|
-
readonly tenantId: {
|
|
2395
|
-
readonly type: "string";
|
|
2396
|
-
readonly format: "uuid";
|
|
2397
|
-
readonly description: "租户ID";
|
|
2398
|
-
};
|
|
2399
|
-
readonly browsers: {
|
|
2400
|
-
readonly type: "array";
|
|
2401
|
-
readonly items: {
|
|
2402
|
-
readonly $ref: "#/components/schemas/Browser";
|
|
2403
|
-
};
|
|
2404
|
-
readonly description: "导出的浏览器配置列表";
|
|
2405
|
-
};
|
|
2406
|
-
readonly count: {
|
|
2407
|
-
readonly type: "integer";
|
|
2408
|
-
readonly description: "导出的浏览器配置数量";
|
|
2409
|
-
};
|
|
2410
|
-
};
|
|
2411
|
-
};
|
|
2412
|
-
export declare const UserDataArchiveSchema: {
|
|
2413
|
-
readonly description: "用户数据归档信息";
|
|
2414
|
-
readonly properties: {
|
|
2415
|
-
readonly archive: {
|
|
2416
|
-
readonly type: "string";
|
|
2417
|
-
readonly description: "Base64编码的tar.gz用户数据归档";
|
|
2418
|
-
};
|
|
2419
|
-
readonly checksum: {
|
|
2420
|
-
readonly type: "string";
|
|
2421
|
-
readonly description: "MD5校验和";
|
|
2422
|
-
};
|
|
2423
|
-
readonly size: {
|
|
2424
|
-
readonly type: "integer";
|
|
2425
|
-
readonly format: "int64";
|
|
2426
|
-
readonly description: "原始数据大小(字节)";
|
|
2427
|
-
};
|
|
2428
|
-
};
|
|
2429
|
-
};
|
|
2430
|
-
export declare const BrowserWithUserDataSchema: {
|
|
2431
|
-
readonly description: "包含用户数据的浏览器配置";
|
|
2432
|
-
readonly properties: {
|
|
2433
|
-
readonly config: {
|
|
2434
|
-
readonly $ref: "#/components/schemas/Browser";
|
|
2435
|
-
readonly description: "浏览器配置信息";
|
|
2436
|
-
};
|
|
2437
|
-
readonly userData: {
|
|
2438
|
-
readonly $ref: "#/components/schemas/UserDataArchive";
|
|
2439
|
-
readonly description: "用户数据归档,可选";
|
|
2440
|
-
};
|
|
2441
|
-
};
|
|
2442
|
-
};
|
|
2443
|
-
export declare const ExportMetadataSchema: {
|
|
2444
|
-
readonly description: "导出元数据";
|
|
2445
|
-
readonly properties: {
|
|
2446
|
-
readonly version: {
|
|
2447
|
-
readonly type: "string";
|
|
2448
|
-
readonly description: "导出格式版本";
|
|
2449
|
-
readonly example: "2.0";
|
|
2450
|
-
};
|
|
2451
|
-
readonly includeUserData: {
|
|
2452
|
-
readonly type: "boolean";
|
|
2453
|
-
readonly description: "是否包含用户数据";
|
|
2454
|
-
};
|
|
2455
|
-
readonly totalSize: {
|
|
2456
|
-
readonly type: "integer";
|
|
2457
|
-
readonly format: "int64";
|
|
2458
|
-
readonly description: "总数据大小(字节)";
|
|
2459
|
-
};
|
|
2460
|
-
readonly compressionRatio: {
|
|
2461
|
-
readonly type: "number";
|
|
2462
|
-
readonly format: "float";
|
|
2463
|
-
readonly description: "压缩比率";
|
|
2464
|
-
};
|
|
2465
|
-
};
|
|
2466
|
-
};
|
|
2467
|
-
export declare const BrowserCompleteExportSchema: {
|
|
2468
|
-
readonly description: "浏览器完整导出响应,包含配置和用户数据";
|
|
2469
|
-
readonly properties: {
|
|
2470
|
-
readonly exportedAt: {
|
|
2471
|
-
readonly type: "string";
|
|
2472
|
-
readonly format: "date-time";
|
|
2473
|
-
readonly description: "导出时间";
|
|
2474
|
-
};
|
|
2475
|
-
readonly tenantId: {
|
|
2476
|
-
readonly type: "string";
|
|
2477
|
-
readonly format: "uuid";
|
|
2478
|
-
readonly description: "租户ID";
|
|
2479
|
-
};
|
|
2480
|
-
readonly browsers: {
|
|
2481
|
-
readonly type: "array";
|
|
2482
|
-
readonly items: {
|
|
2483
|
-
readonly $ref: "#/components/schemas/BrowserWithUserData";
|
|
2484
|
-
};
|
|
2485
|
-
readonly description: "导出的浏览器配置和用户数据列表";
|
|
2486
|
-
};
|
|
2487
|
-
readonly count: {
|
|
2488
|
-
readonly type: "integer";
|
|
2489
|
-
readonly description: "导出的浏览器配置数量";
|
|
2490
|
-
};
|
|
2491
|
-
readonly metadata: {
|
|
2492
|
-
readonly $ref: "#/components/schemas/ExportMetadata";
|
|
2493
|
-
readonly description: "导出元数据";
|
|
2494
|
-
};
|
|
2495
|
-
};
|
|
2496
|
-
};
|
|
2497
|
-
export declare const BrowserImportSchema: {
|
|
2498
|
-
readonly description: "浏览器配置导入请求";
|
|
2499
|
-
readonly required: readonly ["browsers"];
|
|
2500
|
-
readonly properties: {
|
|
2501
|
-
readonly browsers: {
|
|
2502
|
-
readonly type: "array";
|
|
2503
|
-
readonly items: {
|
|
2504
|
-
readonly $ref: "#/components/schemas/BrowserCreate";
|
|
2505
|
-
};
|
|
2506
|
-
readonly description: "要导入的浏览器配置列表";
|
|
2507
|
-
};
|
|
2508
|
-
readonly overwrite: {
|
|
2509
|
-
readonly type: "boolean";
|
|
2510
|
-
readonly description: "是否覆盖同名的现有配置";
|
|
2511
|
-
readonly default: false;
|
|
2512
|
-
};
|
|
2513
|
-
};
|
|
2514
|
-
};
|
|
2515
|
-
export declare const BrowserImportResultSchema: {
|
|
2516
|
-
readonly description: "浏览器配置导入结果";
|
|
2517
|
-
readonly properties: {
|
|
2518
|
-
readonly importedAt: {
|
|
2519
|
-
readonly type: "string";
|
|
2520
|
-
readonly format: "date-time";
|
|
2521
|
-
readonly description: "导入时间";
|
|
2522
|
-
};
|
|
2523
|
-
readonly totalCount: {
|
|
2524
|
-
readonly type: "integer";
|
|
2525
|
-
readonly description: "总共尝试导入的配置数量";
|
|
2526
|
-
};
|
|
2527
|
-
readonly successCount: {
|
|
2528
|
-
readonly type: "integer";
|
|
2529
|
-
readonly description: "成功导入的配置数量";
|
|
2530
|
-
};
|
|
2531
|
-
readonly failedCount: {
|
|
2532
|
-
readonly type: "integer";
|
|
2533
|
-
readonly description: "导入失败的配置数量";
|
|
2534
|
-
};
|
|
2535
|
-
readonly errors: {
|
|
2536
|
-
readonly type: "array";
|
|
2537
|
-
readonly items: {
|
|
2538
|
-
readonly type: "object";
|
|
2539
|
-
readonly properties: {
|
|
2540
|
-
readonly index: {
|
|
2541
|
-
readonly type: "integer";
|
|
2542
|
-
readonly description: "失败配置在数组中的索引";
|
|
2543
|
-
};
|
|
2544
|
-
readonly name: {
|
|
2545
|
-
readonly type: "string";
|
|
2546
|
-
readonly description: "失败配置的名称";
|
|
2547
|
-
};
|
|
2548
|
-
readonly error: {
|
|
2549
|
-
readonly type: "string";
|
|
2550
|
-
readonly description: "失败原因";
|
|
2551
|
-
};
|
|
2552
|
-
};
|
|
2553
|
-
};
|
|
2554
|
-
readonly description: "导入失败的详细信息";
|
|
2555
|
-
};
|
|
2556
|
-
};
|
|
2557
|
-
};
|
|
2558
|
-
export declare const BrowserUpdateSchema: {
|
|
2559
|
-
readonly description: "更新浏览器配置的请求";
|
|
2560
|
-
readonly properties: {
|
|
2561
|
-
readonly name: {
|
|
2562
|
-
readonly type: "string";
|
|
2563
|
-
readonly description: "浏览器配置名称";
|
|
2564
|
-
readonly example: "更新后的浏览器配置";
|
|
2565
|
-
};
|
|
2566
|
-
readonly description: {
|
|
2567
|
-
readonly type: "string";
|
|
2568
|
-
readonly description: "浏览器配置描述";
|
|
2569
|
-
readonly example: "更新后的描述";
|
|
2570
|
-
};
|
|
2571
|
-
readonly url: {
|
|
2572
|
-
readonly type: "string";
|
|
2573
|
-
readonly description: "浏览器默认访问URL";
|
|
2574
|
-
readonly example: "https://updated-example.com";
|
|
2575
|
-
};
|
|
2576
|
-
readonly properties: {
|
|
2577
|
-
readonly type: "object";
|
|
2578
|
-
readonly description: "浏览器配置属性(JSON格式)";
|
|
2579
|
-
readonly additionalProperties: true;
|
|
2580
|
-
};
|
|
2581
|
-
readonly tags: {
|
|
2582
|
-
readonly type: "array";
|
|
2583
|
-
readonly items: {
|
|
2584
|
-
readonly type: "string";
|
|
2585
|
-
};
|
|
2586
|
-
readonly description: "浏览器配置标签";
|
|
2587
|
-
};
|
|
2588
|
-
};
|
|
2589
|
-
};
|
|
2590
|
-
export declare const BrowserLaunchOptionsSchema: {
|
|
2591
|
-
readonly description: "浏览器启动可选参数";
|
|
2592
|
-
readonly type: "object";
|
|
2593
|
-
readonly properties: {
|
|
2594
|
-
readonly headless: {
|
|
2595
|
-
readonly type: "boolean";
|
|
2596
|
-
readonly description: "是否以无头模式运行;为 false 表示“有头”。";
|
|
2597
|
-
readonly default: true;
|
|
2598
|
-
};
|
|
2599
|
-
readonly display: {
|
|
2600
|
-
readonly type: "string";
|
|
2601
|
-
readonly description: "Linux 显示器名,仅在有头模式下有效。";
|
|
2602
|
-
readonly default: ":1";
|
|
2603
|
-
};
|
|
2604
|
-
};
|
|
2605
|
-
};
|
|
2606
|
-
export declare const BrowserLaunchResultSchema: {
|
|
2607
|
-
readonly description: "浏览器启动结果";
|
|
2608
|
-
readonly properties: {
|
|
2609
|
-
readonly success: {
|
|
2610
|
-
readonly type: "boolean";
|
|
2611
|
-
readonly description: "启动是否成功";
|
|
2612
|
-
};
|
|
2613
|
-
readonly message: {
|
|
2614
|
-
readonly type: "string";
|
|
2615
|
-
readonly description: "启动结果消息";
|
|
2616
|
-
};
|
|
2617
|
-
readonly launchedAt: {
|
|
2618
|
-
readonly type: "string";
|
|
2619
|
-
readonly format: "date-time";
|
|
2620
|
-
readonly description: "启动时间";
|
|
2621
|
-
};
|
|
2622
|
-
readonly browserId: {
|
|
2623
|
-
readonly type: "string";
|
|
2624
|
-
readonly format: "uuid";
|
|
2625
|
-
readonly description: "浏览器配置ID";
|
|
2626
|
-
};
|
|
2627
|
-
readonly browserName: {
|
|
2628
|
-
readonly type: "string";
|
|
2629
|
-
readonly description: "浏览器配置名称";
|
|
2630
|
-
};
|
|
2631
|
-
readonly url: {
|
|
2632
|
-
readonly type: "string";
|
|
2633
|
-
readonly description: "启动时访问的URL";
|
|
2634
|
-
};
|
|
2635
|
-
};
|
|
2636
|
-
};
|
|
2637
|
-
export declare const BrowserCloseResultSchema: {
|
|
2638
|
-
readonly description: "浏览器关闭结果";
|
|
2639
|
-
readonly properties: {
|
|
2640
|
-
readonly success: {
|
|
2641
|
-
readonly type: "boolean";
|
|
2642
|
-
readonly description: "关闭是否成功";
|
|
2643
|
-
};
|
|
2644
|
-
readonly message: {
|
|
2645
|
-
readonly type: "string";
|
|
2646
|
-
readonly description: "关闭结果消息";
|
|
2647
|
-
};
|
|
2648
|
-
readonly closedAt: {
|
|
2649
|
-
readonly type: "string";
|
|
2650
|
-
readonly format: "date-time";
|
|
2651
|
-
readonly description: "关闭时间";
|
|
2652
|
-
};
|
|
2653
|
-
readonly browserId: {
|
|
2654
|
-
readonly type: "string";
|
|
2655
|
-
readonly format: "uuid";
|
|
2656
|
-
readonly description: "浏览器配置ID";
|
|
2657
|
-
};
|
|
2658
|
-
readonly browserName: {
|
|
2659
|
-
readonly type: "string";
|
|
2660
|
-
readonly description: "浏览器配置名称";
|
|
2661
|
-
};
|
|
2662
|
-
readonly processInfo: {
|
|
2663
|
-
readonly type: "object";
|
|
2664
|
-
readonly description: "进程信息";
|
|
2665
|
-
readonly properties: {
|
|
2666
|
-
readonly pid: {
|
|
2667
|
-
readonly type: "integer";
|
|
2668
|
-
readonly description: "进程ID";
|
|
2669
|
-
};
|
|
2670
|
-
readonly status: {
|
|
2671
|
-
readonly type: "string";
|
|
2672
|
-
readonly description: "进程状态";
|
|
2673
|
-
readonly enum: readonly ["running", "stopped", "not_found"];
|
|
2674
|
-
};
|
|
2675
|
-
};
|
|
2676
|
-
};
|
|
2677
|
-
};
|
|
2678
|
-
};
|
|
2679
|
-
export declare const BrowserStatusSchema: {
|
|
2680
|
-
readonly description: "浏览器实例运行状态";
|
|
2681
|
-
readonly properties: {
|
|
2682
|
-
readonly browserId: {
|
|
2683
|
-
readonly type: "string";
|
|
2684
|
-
readonly format: "uuid";
|
|
2685
|
-
readonly description: "浏览器配置ID";
|
|
2686
|
-
};
|
|
2687
|
-
readonly browserName: {
|
|
2688
|
-
readonly type: "string";
|
|
2689
|
-
readonly description: "浏览器配置名称";
|
|
2690
|
-
};
|
|
2691
|
-
readonly status: {
|
|
2692
|
-
readonly type: "string";
|
|
2693
|
-
readonly description: "浏览器实例状态";
|
|
2694
|
-
readonly enum: readonly ["running", "stopped", "starting", "stopping"];
|
|
2695
|
-
};
|
|
2696
|
-
readonly processId: {
|
|
2697
|
-
readonly type: "integer";
|
|
2698
|
-
readonly description: "浏览器进程ID";
|
|
2699
|
-
};
|
|
2700
|
-
readonly startedAt: {
|
|
2701
|
-
readonly type: "string";
|
|
2702
|
-
readonly format: "date-time";
|
|
2703
|
-
readonly description: "启动时间";
|
|
2704
|
-
};
|
|
2705
|
-
readonly stoppedAt: {
|
|
2706
|
-
readonly type: "string";
|
|
2707
|
-
readonly format: "date-time";
|
|
2708
|
-
readonly description: "停止时间";
|
|
2709
|
-
};
|
|
2710
|
-
readonly remoteDebuggingUrl: {
|
|
2711
|
-
readonly type: "string";
|
|
2712
|
-
readonly description: "远程调试URL";
|
|
2713
|
-
};
|
|
2714
|
-
readonly error: {
|
|
2715
|
-
readonly type: "string";
|
|
2716
|
-
readonly description: "错误信息";
|
|
2717
|
-
};
|
|
2718
|
-
};
|
|
2719
|
-
};
|
|
2720
|
-
export declare const BrowserCookieSchema: {
|
|
2721
|
-
readonly description: "浏览器cookie信息";
|
|
2722
|
-
readonly required: readonly ["name", "value", "domain", "path"];
|
|
2723
|
-
readonly properties: {
|
|
2724
|
-
readonly name: {
|
|
2725
|
-
readonly type: "string";
|
|
2726
|
-
readonly description: "Cookie名称";
|
|
2727
|
-
};
|
|
2728
|
-
readonly value: {
|
|
2729
|
-
readonly type: "string";
|
|
2730
|
-
readonly description: "Cookie值";
|
|
2731
|
-
};
|
|
2732
|
-
readonly domain: {
|
|
2733
|
-
readonly type: "string";
|
|
2734
|
-
readonly description: "Cookie所属域名";
|
|
2735
|
-
};
|
|
2736
|
-
readonly path: {
|
|
2737
|
-
readonly type: "string";
|
|
2738
|
-
readonly description: "Cookie路径";
|
|
2739
|
-
};
|
|
2740
|
-
readonly expires: {
|
|
2741
|
-
readonly type: "string";
|
|
2742
|
-
readonly format: "date-time";
|
|
2743
|
-
readonly description: "过期时间";
|
|
2744
|
-
};
|
|
2745
|
-
readonly httpOnly: {
|
|
2746
|
-
readonly type: "boolean";
|
|
2747
|
-
readonly description: "是否仅HTTP访问";
|
|
2748
|
-
};
|
|
2749
|
-
readonly secure: {
|
|
2750
|
-
readonly type: "boolean";
|
|
2751
|
-
readonly description: "是否仅HTTPS传输";
|
|
2752
|
-
};
|
|
2753
|
-
readonly sameSite: {
|
|
2754
|
-
readonly type: "string";
|
|
2755
|
-
readonly description: "SameSite属性";
|
|
2756
|
-
readonly enum: readonly ["Strict", "Lax", "None"];
|
|
2757
|
-
};
|
|
2758
|
-
readonly size: {
|
|
2759
|
-
readonly type: "integer";
|
|
2760
|
-
readonly description: "Cookie大小(字节)";
|
|
2761
|
-
};
|
|
2762
|
-
};
|
|
2763
|
-
};
|
|
2764
|
-
export declare const BrowserCookiesSchema: {
|
|
2765
|
-
readonly description: "浏览器cookies信息,按域名分组";
|
|
2766
|
-
readonly required: readonly ["browserId", "browserName", "status", "cookiesByDomain", "totalCookies", "domainCount", "retrievedAt"];
|
|
2767
|
-
readonly properties: {
|
|
2768
|
-
readonly browserId: {
|
|
2769
|
-
readonly type: "string";
|
|
2770
|
-
readonly format: "uuid";
|
|
2771
|
-
readonly description: "浏览器配置ID";
|
|
2772
|
-
};
|
|
2773
|
-
readonly browserName: {
|
|
2774
|
-
readonly type: "string";
|
|
2775
|
-
readonly description: "浏览器配置名称";
|
|
2776
|
-
};
|
|
2777
|
-
readonly status: {
|
|
2778
|
-
readonly type: "string";
|
|
2779
|
-
readonly description: "浏览器实例状态";
|
|
2780
|
-
readonly enum: readonly ["running", "stopped"];
|
|
2781
|
-
};
|
|
2782
|
-
readonly cookiesByDomain: {
|
|
2783
|
-
readonly type: "object";
|
|
2784
|
-
readonly description: "按域名分组的cookies";
|
|
2785
|
-
readonly additionalProperties: {
|
|
2786
|
-
readonly type: "array";
|
|
2787
|
-
readonly items: {
|
|
2788
|
-
readonly $ref: "#/components/schemas/BrowserCookie";
|
|
2789
|
-
};
|
|
2790
|
-
};
|
|
2791
|
-
};
|
|
2792
|
-
readonly totalCookies: {
|
|
2793
|
-
readonly type: "integer";
|
|
2794
|
-
readonly description: "总cookie数量";
|
|
2795
|
-
};
|
|
2796
|
-
readonly domainCount: {
|
|
2797
|
-
readonly type: "integer";
|
|
2798
|
-
readonly description: "域名数量";
|
|
2799
|
-
};
|
|
2800
|
-
readonly retrievedAt: {
|
|
2801
|
-
readonly type: "string";
|
|
2802
|
-
readonly format: "date-time";
|
|
2803
|
-
readonly description: "获取时间";
|
|
2804
|
-
};
|
|
2805
|
-
};
|
|
2806
|
-
};
|
|
2807
|
-
export declare const BrowserCookieUpdateSchema: {
|
|
2808
|
-
readonly description: "单个cookie更新信息";
|
|
2809
|
-
readonly required: readonly ["name", "domain"];
|
|
2810
|
-
readonly properties: {
|
|
2811
|
-
readonly name: {
|
|
2812
|
-
readonly type: "string";
|
|
2813
|
-
readonly description: "Cookie名称";
|
|
2814
|
-
};
|
|
2815
|
-
readonly value: {
|
|
2816
|
-
readonly type: "string";
|
|
2817
|
-
readonly description: "Cookie值,删除操作时可为空";
|
|
2818
|
-
};
|
|
2819
|
-
readonly domain: {
|
|
2820
|
-
readonly type: "string";
|
|
2821
|
-
readonly description: "Cookie所属域名";
|
|
2822
|
-
};
|
|
2823
|
-
readonly path: {
|
|
2824
|
-
readonly type: "string";
|
|
2825
|
-
readonly description: "Cookie路径";
|
|
2826
|
-
readonly default: "/";
|
|
2827
|
-
};
|
|
2828
|
-
readonly expires: {
|
|
2829
|
-
readonly type: "string";
|
|
2830
|
-
readonly format: "date-time";
|
|
2831
|
-
readonly description: "过期时间";
|
|
2832
|
-
};
|
|
2833
|
-
readonly httpOnly: {
|
|
2834
|
-
readonly type: "boolean";
|
|
2835
|
-
readonly description: "是否仅HTTP访问";
|
|
2836
|
-
readonly default: false;
|
|
2837
|
-
};
|
|
2838
|
-
readonly secure: {
|
|
2839
|
-
readonly type: "boolean";
|
|
2840
|
-
readonly description: "是否仅HTTPS传输";
|
|
2841
|
-
readonly default: false;
|
|
2842
|
-
};
|
|
2843
|
-
readonly sameSite: {
|
|
2844
|
-
readonly type: "string";
|
|
2845
|
-
readonly description: "SameSite属性";
|
|
2846
|
-
readonly enum: readonly ["Strict", "Lax", "None"];
|
|
2847
|
-
readonly default: "Lax";
|
|
2848
|
-
};
|
|
2849
|
-
};
|
|
2850
|
-
};
|
|
2851
|
-
export declare const BrowserCookiesUpdateSchema: {
|
|
2852
|
-
readonly description: "浏览器cookies更新请求";
|
|
2853
|
-
readonly required: readonly ["cookies"];
|
|
2854
|
-
readonly properties: {
|
|
2855
|
-
readonly cookies: {
|
|
2856
|
-
readonly type: "array";
|
|
2857
|
-
readonly items: {
|
|
2858
|
-
readonly $ref: "#/components/schemas/BrowserCookieUpdate";
|
|
2859
|
-
};
|
|
2860
|
-
readonly description: "要更新的cookies列表";
|
|
2861
|
-
};
|
|
2862
|
-
readonly operation: {
|
|
2863
|
-
readonly type: "string";
|
|
2864
|
-
readonly description: "操作类型";
|
|
2865
|
-
readonly enum: readonly ["replace", "merge", "delete"];
|
|
2866
|
-
readonly default: "replace";
|
|
2867
|
-
};
|
|
2868
|
-
};
|
|
2869
|
-
};
|
|
2870
|
-
export declare const BrowserCookiesUpdateResultSchema: {
|
|
2871
|
-
readonly description: "Cookies更新结果";
|
|
2872
|
-
readonly properties: {
|
|
2873
|
-
readonly success: {
|
|
2874
|
-
readonly type: "boolean";
|
|
2875
|
-
readonly description: "更新是否成功";
|
|
2876
|
-
};
|
|
2877
|
-
readonly message: {
|
|
2878
|
-
readonly type: "string";
|
|
2879
|
-
readonly description: "更新结果消息";
|
|
2880
|
-
};
|
|
2881
|
-
readonly updatedAt: {
|
|
2882
|
-
readonly type: "string";
|
|
2883
|
-
readonly format: "date-time";
|
|
2884
|
-
readonly description: "更新时间";
|
|
2885
|
-
};
|
|
2886
|
-
readonly affectedCount: {
|
|
2887
|
-
readonly type: "integer";
|
|
2888
|
-
readonly description: "受影响的cookie数量";
|
|
2889
|
-
};
|
|
2890
|
-
readonly browserId: {
|
|
2891
|
-
readonly type: "string";
|
|
2892
|
-
readonly format: "uuid";
|
|
2893
|
-
readonly description: "浏览器配置ID";
|
|
2894
|
-
};
|
|
2895
|
-
};
|
|
2896
|
-
};
|
|
2897
|
-
export declare const BrowserStateSchema: {
|
|
2898
|
-
readonly description: "浏览器持久化状态信息";
|
|
2899
|
-
readonly properties: {
|
|
2900
|
-
readonly browserId: {
|
|
2901
|
-
readonly type: "string";
|
|
2902
|
-
readonly format: "uuid";
|
|
2903
|
-
readonly description: "浏览器配置ID";
|
|
2904
|
-
};
|
|
2905
|
-
readonly browserName: {
|
|
2906
|
-
readonly type: "string";
|
|
2907
|
-
readonly description: "浏览器配置名称";
|
|
2908
|
-
};
|
|
2909
|
-
readonly sessionData: {
|
|
2910
|
-
readonly type: "object";
|
|
2911
|
-
readonly description: "会话数据,包含cookies、localStorage等";
|
|
2912
|
-
readonly additionalProperties: true;
|
|
2913
|
-
};
|
|
2914
|
-
readonly lastSavedAt: {
|
|
2915
|
-
readonly type: "string";
|
|
2916
|
-
readonly format: "date-time";
|
|
2917
|
-
readonly description: "最后保存时间";
|
|
2918
|
-
};
|
|
2919
|
-
readonly version: {
|
|
2920
|
-
readonly type: "string";
|
|
2921
|
-
readonly description: "状态数据版本";
|
|
2922
|
-
readonly default: "1.0";
|
|
2923
|
-
};
|
|
2924
|
-
};
|
|
2925
|
-
};
|
|
2926
|
-
export declare const BrowserStateUpdateSchema: {
|
|
2927
|
-
readonly description: "浏览器状态更新请求";
|
|
2928
|
-
readonly properties: {
|
|
2929
|
-
readonly sessionData: {
|
|
2930
|
-
readonly type: "object";
|
|
2931
|
-
readonly description: "要更新的会话数据";
|
|
2932
|
-
readonly additionalProperties: true;
|
|
2933
|
-
};
|
|
2934
|
-
readonly mergeMode: {
|
|
2935
|
-
readonly type: "boolean";
|
|
2936
|
-
readonly description: "是否合并模式(true=合并,false=替换)";
|
|
2937
|
-
readonly default: true;
|
|
2938
|
-
};
|
|
2939
|
-
};
|
|
2940
|
-
};
|
|
2941
|
-
export declare const BrowserStateUpdateResultSchema: {
|
|
2942
|
-
readonly description: "浏览器状态更新结果";
|
|
2943
|
-
readonly properties: {
|
|
2944
|
-
readonly success: {
|
|
2945
|
-
readonly type: "boolean";
|
|
2946
|
-
readonly description: "更新是否成功";
|
|
2947
|
-
};
|
|
2948
|
-
readonly message: {
|
|
2949
|
-
readonly type: "string";
|
|
2950
|
-
readonly description: "更新结果消息";
|
|
2951
|
-
};
|
|
2952
|
-
readonly updatedAt: {
|
|
2953
|
-
readonly type: "string";
|
|
2954
|
-
readonly format: "date-time";
|
|
2955
|
-
readonly description: "更新时间";
|
|
2956
|
-
};
|
|
2957
|
-
readonly browserId: {
|
|
2958
|
-
readonly type: "string";
|
|
2959
|
-
readonly format: "uuid";
|
|
2960
|
-
readonly description: "浏览器配置ID";
|
|
2961
|
-
};
|
|
2962
|
-
readonly version: {
|
|
2963
|
-
readonly type: "string";
|
|
2964
|
-
readonly description: "更新后的状态数据版本";
|
|
2965
|
-
};
|
|
2966
|
-
};
|
|
2967
|
-
};
|
|
2968
|
-
export declare const BotConfigSchema: {
|
|
2969
|
-
readonly required: readonly ["public_server", "private_server", "frontend_url", "local_http_server_enabled", "local_http_server_port", "adb_server_enabled", "hatchet_token"];
|
|
2970
|
-
readonly properties: {
|
|
2971
|
-
readonly public_server: {
|
|
2972
|
-
readonly type: "string";
|
|
2973
|
-
};
|
|
2974
|
-
readonly private_server: {
|
|
2975
|
-
readonly type: "string";
|
|
2976
|
-
};
|
|
2977
|
-
readonly frontend_url: {
|
|
2978
|
-
readonly type: "string";
|
|
2979
|
-
};
|
|
2980
|
-
readonly local_http_server_enabled: {
|
|
2981
|
-
readonly type: "boolean";
|
|
2982
|
-
};
|
|
2983
|
-
readonly local_http_server_port: {
|
|
2984
|
-
readonly type: "integer";
|
|
2985
|
-
};
|
|
2986
|
-
readonly adb_server_enabled: {
|
|
2987
|
-
readonly type: "boolean";
|
|
2988
|
-
};
|
|
2989
|
-
readonly adb_server_port: {
|
|
2990
|
-
readonly type: "integer";
|
|
2991
|
-
readonly default: 5555;
|
|
2992
|
-
};
|
|
2993
|
-
readonly hatchet_token: {
|
|
2994
|
-
readonly type: "string";
|
|
2995
|
-
};
|
|
2996
|
-
};
|
|
2997
|
-
};
|
|
2998
|
-
export declare const BotSchema: {
|
|
2999
|
-
readonly required: readonly ["id", "created_at", "updated_at", "name", "description", "config"];
|
|
3000
|
-
readonly properties: {
|
|
3001
|
-
readonly id: {
|
|
3002
|
-
readonly type: "string";
|
|
3003
|
-
};
|
|
3004
|
-
readonly created_at: {
|
|
3005
|
-
readonly type: "string";
|
|
3006
|
-
readonly format: "date-time";
|
|
3007
|
-
};
|
|
3008
|
-
readonly updated_at: {
|
|
3009
|
-
readonly type: "string";
|
|
3010
|
-
readonly format: "date-time";
|
|
3011
|
-
};
|
|
3012
|
-
readonly name: {
|
|
3013
|
-
readonly type: "string";
|
|
3014
|
-
};
|
|
3015
|
-
readonly description: {
|
|
3016
|
-
readonly type: "string";
|
|
3017
|
-
};
|
|
3018
|
-
readonly config: {
|
|
3019
|
-
readonly $ref: "#/components/schemas/BotConfig";
|
|
3020
|
-
};
|
|
3021
|
-
};
|
|
3022
|
-
};
|
|
3023
|
-
export declare const BotListSchema: {
|
|
3024
|
-
readonly required: readonly ["pagination", "rows"];
|
|
3025
|
-
readonly properties: {
|
|
3026
|
-
readonly pagination: {
|
|
3027
|
-
readonly $ref: "#/components/schemas/PaginationResponse";
|
|
3028
|
-
};
|
|
3029
|
-
readonly rows: {
|
|
3030
|
-
readonly items: {
|
|
3031
|
-
readonly $ref: "#/components/schemas/Bot";
|
|
3032
|
-
};
|
|
3033
|
-
readonly type: "array";
|
|
3034
|
-
};
|
|
3035
|
-
};
|
|
3036
|
-
};
|
|
3037
|
-
export declare const BotLocalStateSchema: {
|
|
3038
|
-
readonly required: readonly ["bot_id", "device_type", "host_name"];
|
|
3039
|
-
readonly properties: {
|
|
3040
|
-
readonly bot_id: {
|
|
3041
|
-
readonly type: "string";
|
|
3042
|
-
};
|
|
3043
|
-
readonly device_type: {
|
|
3044
|
-
readonly type: "string";
|
|
3045
|
-
readonly enum: readonly ["unknown", "android", "ios", "web"];
|
|
3046
|
-
};
|
|
3047
|
-
readonly host_name: {
|
|
3048
|
-
readonly type: "string";
|
|
3049
|
-
};
|
|
3050
|
-
};
|
|
3051
|
-
};
|
|
3052
|
-
export declare const SystemSetupRequestSchema: {
|
|
3053
|
-
readonly type: "object";
|
|
3054
|
-
readonly properties: {
|
|
3055
|
-
readonly dbUrl: {
|
|
3056
|
-
readonly type: "string";
|
|
3057
|
-
readonly description: "PostgreSQL database connection string";
|
|
3058
|
-
readonly example: "postgresql://postgres:postgres@localhost:5432/gomtm";
|
|
3059
|
-
readonly pattern: "^postgresql:";
|
|
3060
|
-
};
|
|
3061
|
-
readonly email: {
|
|
3062
|
-
readonly type: "string";
|
|
3063
|
-
readonly format: "email";
|
|
3064
|
-
readonly description: "Administrator email for the first user";
|
|
3065
|
-
readonly example: "admin@example.com";
|
|
3066
|
-
};
|
|
3067
|
-
readonly password: {
|
|
3068
|
-
readonly type: "string";
|
|
3069
|
-
readonly description: "Password for the first administrator user (also saved as superPassword for compatibility)";
|
|
3070
|
-
readonly example: "ChangeMe123!";
|
|
3071
|
-
readonly minLength: 6;
|
|
3072
|
-
};
|
|
3073
|
-
};
|
|
3074
|
-
readonly required: readonly ["dbUrl", "email", "password"];
|
|
3075
|
-
};
|
|
3076
|
-
export declare const SystemLogEntrySchema: {
|
|
3077
|
-
readonly type: "object";
|
|
3078
|
-
readonly properties: {
|
|
3079
|
-
readonly id: {
|
|
3080
|
-
readonly type: "string";
|
|
3081
|
-
readonly description: "Unique identifier for the log entry";
|
|
3082
|
-
readonly example: "log_123456789";
|
|
3083
|
-
};
|
|
3084
|
-
readonly timestamp: {
|
|
3085
|
-
readonly type: "string";
|
|
3086
|
-
readonly format: "date-time";
|
|
3087
|
-
readonly description: "When the log entry was created";
|
|
3088
|
-
readonly example: "2025-07-27T07:15:20.262Z";
|
|
3089
|
-
};
|
|
3090
|
-
readonly level: {
|
|
3091
|
-
readonly type: "string";
|
|
3092
|
-
readonly enum: readonly ["DEBUG", "INFO", "WARN", "ERROR"];
|
|
3093
|
-
readonly description: "Log level";
|
|
3094
|
-
readonly example: "INFO";
|
|
3095
|
-
};
|
|
3096
|
-
readonly module: {
|
|
3097
|
-
readonly type: "string";
|
|
3098
|
-
readonly description: "Module or component that generated the log";
|
|
3099
|
-
readonly example: "server";
|
|
3100
|
-
};
|
|
3101
|
-
readonly message: {
|
|
3102
|
-
readonly type: "string";
|
|
3103
|
-
readonly description: "Log message content";
|
|
3104
|
-
readonly example: "Database migration completed successfully";
|
|
3105
|
-
};
|
|
3106
|
-
readonly context: {
|
|
3107
|
-
readonly type: "object";
|
|
3108
|
-
readonly additionalProperties: true;
|
|
3109
|
-
readonly description: "Additional context data for the log entry";
|
|
3110
|
-
readonly example: {
|
|
3111
|
-
readonly applied: 0;
|
|
3112
|
-
readonly current: "";
|
|
3113
|
-
readonly target: "";
|
|
3114
|
-
};
|
|
3115
|
-
};
|
|
3116
|
-
readonly source: {
|
|
3117
|
-
readonly type: "string";
|
|
3118
|
-
readonly description: "Source file or location where the log was generated";
|
|
3119
|
-
readonly example: "mtm/api/v1/server/handlers/system/logs.go:21";
|
|
3120
|
-
};
|
|
3121
|
-
};
|
|
3122
|
-
readonly required: readonly ["id", "timestamp", "level", "module", "message"];
|
|
3123
|
-
};
|
|
3124
|
-
export declare const SystemLogsResponseSchema: {
|
|
3125
|
-
readonly type: "object";
|
|
3126
|
-
readonly properties: {
|
|
3127
|
-
readonly logs: {
|
|
3128
|
-
readonly type: "array";
|
|
3129
|
-
readonly items: {
|
|
3130
|
-
readonly $ref: "#/components/schemas/SystemLogEntry";
|
|
3131
|
-
};
|
|
3132
|
-
readonly description: "Array of system log entries";
|
|
3133
|
-
};
|
|
3134
|
-
readonly total: {
|
|
3135
|
-
readonly type: "integer";
|
|
3136
|
-
readonly description: "Total number of log entries matching the filter criteria";
|
|
3137
|
-
readonly example: 1250;
|
|
3138
|
-
};
|
|
3139
|
-
readonly limit: {
|
|
3140
|
-
readonly type: "integer";
|
|
3141
|
-
readonly description: "Maximum number of logs returned in this response";
|
|
3142
|
-
readonly example: 100;
|
|
3143
|
-
};
|
|
3144
|
-
readonly offset: {
|
|
3145
|
-
readonly type: "integer";
|
|
3146
|
-
readonly description: "Number of logs skipped for pagination";
|
|
3147
|
-
readonly example: 0;
|
|
3148
|
-
};
|
|
3149
|
-
readonly hasMore: {
|
|
3150
|
-
readonly type: "boolean";
|
|
3151
|
-
readonly description: "Whether there are more logs available";
|
|
3152
|
-
readonly example: true;
|
|
3153
|
-
};
|
|
3154
|
-
};
|
|
3155
|
-
readonly required: readonly ["logs", "total", "limit", "offset", "hasMore"];
|
|
3156
|
-
};
|
|
3157
|
-
export declare const OAuthProviderSchema: {
|
|
3158
|
-
readonly type: "object";
|
|
3159
|
-
readonly properties: {
|
|
3160
|
-
readonly name: {
|
|
3161
|
-
readonly type: "string";
|
|
3162
|
-
readonly description: "OAuth provider name";
|
|
3163
|
-
readonly example: "github";
|
|
3164
|
-
};
|
|
3165
|
-
readonly displayName: {
|
|
3166
|
-
readonly type: "string";
|
|
3167
|
-
readonly description: "Display name for the OAuth provider";
|
|
3168
|
-
readonly example: "GitHub";
|
|
3169
|
-
};
|
|
3170
|
-
readonly enabled: {
|
|
3171
|
-
readonly type: "boolean";
|
|
3172
|
-
readonly description: "Whether the OAuth provider is enabled";
|
|
3173
|
-
readonly example: true;
|
|
3174
|
-
};
|
|
3175
|
-
readonly clientId: {
|
|
3176
|
-
readonly type: "string";
|
|
3177
|
-
readonly description: "OAuth client ID";
|
|
3178
|
-
readonly example: "your-github-client-id";
|
|
3179
|
-
};
|
|
3180
|
-
readonly clientSecret: {
|
|
3181
|
-
readonly type: "string";
|
|
3182
|
-
readonly description: "OAuth client secret";
|
|
3183
|
-
readonly example: "your-github-client-secret";
|
|
3184
|
-
};
|
|
3185
|
-
readonly scopes: {
|
|
3186
|
-
readonly type: "array";
|
|
3187
|
-
readonly items: {
|
|
3188
|
-
readonly type: "string";
|
|
3189
|
-
};
|
|
3190
|
-
readonly description: "OAuth scopes";
|
|
3191
|
-
readonly example: readonly ["read:user", "user:email"];
|
|
3192
|
-
};
|
|
3193
|
-
};
|
|
3194
|
-
readonly required: readonly ["name", "displayName", "enabled"];
|
|
3195
|
-
};
|
|
3196
|
-
export declare const OAuthConfigResponseSchema: {
|
|
3197
|
-
readonly type: "object";
|
|
3198
|
-
readonly properties: {
|
|
3199
|
-
readonly success: {
|
|
3200
|
-
readonly type: "boolean";
|
|
3201
|
-
readonly description: "Whether the request was successful";
|
|
3202
|
-
readonly example: true;
|
|
3203
|
-
};
|
|
3204
|
-
readonly message: {
|
|
3205
|
-
readonly type: "string";
|
|
3206
|
-
readonly description: "Human-readable message";
|
|
3207
|
-
readonly example: "OAuth configuration retrieved successfully";
|
|
3208
|
-
};
|
|
3209
|
-
readonly providers: {
|
|
3210
|
-
readonly type: "object";
|
|
3211
|
-
readonly additionalProperties: {
|
|
3212
|
-
readonly $ref: "#/components/schemas/OAuthProvider";
|
|
3213
|
-
};
|
|
3214
|
-
readonly description: "OAuth providers configuration";
|
|
3215
|
-
readonly example: {
|
|
3216
|
-
readonly github: {
|
|
3217
|
-
readonly name: "github";
|
|
3218
|
-
readonly displayName: "GitHub";
|
|
3219
|
-
readonly enabled: true;
|
|
3220
|
-
readonly clientId: "your-github-client-id";
|
|
3221
|
-
readonly clientSecret: "your-github-client-secret";
|
|
3222
|
-
readonly scopes: readonly ["read:user", "user:email"];
|
|
3223
|
-
};
|
|
3224
|
-
readonly google: {
|
|
3225
|
-
readonly name: "google";
|
|
3226
|
-
readonly displayName: "Google";
|
|
3227
|
-
readonly enabled: false;
|
|
3228
|
-
readonly clientId: "";
|
|
3229
|
-
readonly clientSecret: "";
|
|
3230
|
-
readonly scopes: readonly ["openid", "profile", "email"];
|
|
3231
|
-
};
|
|
3232
|
-
};
|
|
3233
|
-
};
|
|
3234
|
-
};
|
|
3235
|
-
readonly required: readonly ["success", "message", "providers"];
|
|
3236
|
-
};
|
|
3237
|
-
export declare const OAuthConfigRequestSchema: {
|
|
3238
|
-
readonly type: "object";
|
|
3239
|
-
readonly properties: {
|
|
3240
|
-
readonly providers: {
|
|
3241
|
-
readonly type: "object";
|
|
3242
|
-
readonly additionalProperties: {
|
|
3243
|
-
readonly $ref: "#/components/schemas/OAuthProvider";
|
|
3244
|
-
};
|
|
3245
|
-
readonly description: "OAuth providers configuration to save";
|
|
3246
|
-
readonly example: {
|
|
3247
|
-
readonly github: {
|
|
3248
|
-
readonly name: "github";
|
|
3249
|
-
readonly displayName: "GitHub";
|
|
3250
|
-
readonly enabled: true;
|
|
3251
|
-
readonly clientId: "your-github-client-id";
|
|
3252
|
-
readonly clientSecret: "your-github-client-secret";
|
|
3253
|
-
readonly scopes: readonly ["read:user", "user:email"];
|
|
3254
|
-
};
|
|
3255
|
-
readonly google: {
|
|
3256
|
-
readonly name: "google";
|
|
3257
|
-
readonly displayName: "Google";
|
|
3258
|
-
readonly enabled: false;
|
|
3259
|
-
readonly clientId: "";
|
|
3260
|
-
readonly clientSecret: "";
|
|
3261
|
-
readonly scopes: readonly ["openid", "profile", "email"];
|
|
3262
|
-
};
|
|
3263
|
-
};
|
|
3264
|
-
};
|
|
3265
|
-
};
|
|
3266
|
-
readonly required: readonly ["providers"];
|
|
3267
|
-
};
|
|
3268
|
-
export declare const SystemPerformanceMetricsSchema: {
|
|
3269
|
-
readonly type: "object";
|
|
3270
|
-
readonly properties: {
|
|
3271
|
-
readonly cpuUsage: {
|
|
3272
|
-
readonly type: "number";
|
|
3273
|
-
readonly format: "float";
|
|
3274
|
-
readonly description: "CPU usage percentage";
|
|
3275
|
-
readonly example: 25.5;
|
|
3276
|
-
readonly minimum: 0;
|
|
3277
|
-
readonly maximum: 100;
|
|
3278
|
-
};
|
|
3279
|
-
readonly memoryUsage: {
|
|
3280
|
-
readonly type: "number";
|
|
3281
|
-
readonly format: "float";
|
|
3282
|
-
readonly description: "Memory usage percentage";
|
|
3283
|
-
readonly example: 60.2;
|
|
3284
|
-
readonly minimum: 0;
|
|
3285
|
-
readonly maximum: 100;
|
|
3286
|
-
};
|
|
3287
|
-
readonly diskUsage: {
|
|
3288
|
-
readonly type: "number";
|
|
3289
|
-
readonly format: "float";
|
|
3290
|
-
readonly description: "Disk usage percentage";
|
|
3291
|
-
readonly example: 45.8;
|
|
3292
|
-
readonly minimum: 0;
|
|
3293
|
-
readonly maximum: 100;
|
|
3294
|
-
};
|
|
3295
|
-
readonly memoryTotal: {
|
|
3296
|
-
readonly type: "integer";
|
|
3297
|
-
readonly format: "int64";
|
|
3298
|
-
readonly description: "Total memory in bytes";
|
|
3299
|
-
readonly example: 8589934592;
|
|
3300
|
-
};
|
|
3301
|
-
readonly memoryUsed: {
|
|
3302
|
-
readonly type: "integer";
|
|
3303
|
-
readonly format: "int64";
|
|
3304
|
-
readonly description: "Used memory in bytes";
|
|
3305
|
-
readonly example: 5167308390;
|
|
3306
|
-
};
|
|
3307
|
-
readonly memoryFree: {
|
|
3308
|
-
readonly type: "integer";
|
|
3309
|
-
readonly format: "int64";
|
|
3310
|
-
readonly description: "Free memory in bytes";
|
|
3311
|
-
readonly example: 3422626202;
|
|
3312
|
-
};
|
|
3313
|
-
readonly loadAverage: {
|
|
3314
|
-
readonly type: "array";
|
|
3315
|
-
readonly items: {
|
|
3316
|
-
readonly type: "number";
|
|
3317
|
-
readonly format: "float";
|
|
3318
|
-
};
|
|
3319
|
-
readonly description: "System load average (1min, 5min, 15min)";
|
|
3320
|
-
readonly example: readonly [1.2, 1.5, 1.8];
|
|
3321
|
-
readonly minItems: 3;
|
|
3322
|
-
readonly maxItems: 3;
|
|
3323
|
-
};
|
|
3324
|
-
readonly uptime: {
|
|
3325
|
-
readonly type: "integer";
|
|
3326
|
-
readonly format: "int64";
|
|
3327
|
-
readonly description: "System uptime in seconds";
|
|
3328
|
-
readonly example: 86400;
|
|
3329
|
-
};
|
|
3330
|
-
readonly timestamp: {
|
|
3331
|
-
readonly type: "string";
|
|
3332
|
-
readonly format: "date-time";
|
|
3333
|
-
readonly description: "Timestamp when metrics were collected";
|
|
3334
|
-
readonly example: "2025-01-27T14:30:00Z";
|
|
3335
|
-
};
|
|
3336
|
-
};
|
|
3337
|
-
readonly required: readonly ["cpuUsage", "memoryUsage", "diskUsage", "memoryTotal", "memoryUsed", "memoryFree", "loadAverage", "uptime", "timestamp"];
|
|
3338
|
-
};
|
|
3339
|
-
export declare const CloudflareAccountConfigSchema: {
|
|
3340
|
-
readonly type: "object";
|
|
3341
|
-
readonly properties: {
|
|
3342
|
-
readonly accountId: {
|
|
3343
|
-
readonly type: "string";
|
|
3344
|
-
readonly description: "Cloudflare Account ID";
|
|
3345
|
-
readonly example: "1234567890abcdef1234567890abcdef";
|
|
3346
|
-
};
|
|
3347
|
-
readonly apiEmail: {
|
|
3348
|
-
readonly type: "string";
|
|
3349
|
-
readonly format: "email";
|
|
3350
|
-
readonly description: "Cloudflare API Email";
|
|
3351
|
-
readonly example: "admin@example.com";
|
|
3352
|
-
};
|
|
3353
|
-
readonly apiToken: {
|
|
3354
|
-
readonly type: "string";
|
|
3355
|
-
readonly description: "Cloudflare API Token";
|
|
3356
|
-
readonly example: "your-cloudflare-api-token";
|
|
3357
|
-
};
|
|
3358
|
-
};
|
|
3359
|
-
readonly required: readonly ["accountId", "apiEmail", "apiToken"];
|
|
3360
|
-
};
|
|
3361
|
-
export declare const CloudflareR2ConfigSchema: {
|
|
3362
|
-
readonly type: "object";
|
|
3363
|
-
readonly properties: {
|
|
3364
|
-
readonly token: {
|
|
3365
|
-
readonly type: "string";
|
|
3366
|
-
readonly description: "Cloudflare R2 Token";
|
|
3367
|
-
readonly example: "your-r2-token";
|
|
3368
|
-
};
|
|
3369
|
-
readonly accessKey: {
|
|
3370
|
-
readonly type: "string";
|
|
3371
|
-
readonly description: "R2 Access Key";
|
|
3372
|
-
readonly example: "your-r2-access-key";
|
|
3373
|
-
};
|
|
3374
|
-
readonly secretKey: {
|
|
3375
|
-
readonly type: "string";
|
|
3376
|
-
readonly description: "R2 Secret Key";
|
|
3377
|
-
readonly example: "your-r2-secret-key";
|
|
3378
|
-
};
|
|
3379
|
-
readonly bucket: {
|
|
3380
|
-
readonly type: "string";
|
|
3381
|
-
readonly description: "Default R2 bucket name";
|
|
3382
|
-
readonly example: "my-default-bucket";
|
|
3383
|
-
};
|
|
3384
|
-
};
|
|
3385
|
-
readonly required: readonly ["token", "accessKey", "secretKey", "bucket"];
|
|
3386
|
-
};
|
|
3387
|
-
export declare const SystemSettingsSchema: {
|
|
3388
|
-
readonly type: "object";
|
|
3389
|
-
readonly properties: {
|
|
3390
|
-
readonly mainDomain: {
|
|
3391
|
-
readonly type: "string";
|
|
3392
|
-
readonly description: "Main domain for the system";
|
|
3393
|
-
readonly example: "yuepa8.com";
|
|
3394
|
-
};
|
|
3395
|
-
readonly cloudflareAccount: {
|
|
3396
|
-
readonly $ref: "#/components/schemas/CloudflareAccountConfig";
|
|
3397
|
-
};
|
|
3398
|
-
readonly cloudflareR2: {
|
|
3399
|
-
readonly $ref: "#/components/schemas/CloudflareR2Config";
|
|
3400
|
-
};
|
|
3401
|
-
readonly nodeAuthToken: {
|
|
3402
|
-
readonly type: "string";
|
|
3403
|
-
readonly description: "NPM authentication token for deployment";
|
|
3404
|
-
readonly example: "npm_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx";
|
|
3405
|
-
};
|
|
3406
|
-
readonly secretKey: {
|
|
3407
|
-
readonly type: "string";
|
|
3408
|
-
readonly description: "Encryption secret key for symmetric encryption";
|
|
3409
|
-
readonly example: "your-32-character-secret-key-here";
|
|
3410
|
-
};
|
|
3411
|
-
readonly exportMetadata: {
|
|
3412
|
-
readonly type: "object";
|
|
3413
|
-
readonly description: "Metadata about settings export/import";
|
|
3414
|
-
readonly properties: {
|
|
3415
|
-
readonly exportTimestamp: {
|
|
3416
|
-
readonly type: "string";
|
|
3417
|
-
readonly format: "date-time";
|
|
3418
|
-
readonly description: "When the settings were last exported";
|
|
3419
|
-
};
|
|
3420
|
-
readonly exportVersion: {
|
|
3421
|
-
readonly type: "string";
|
|
3422
|
-
readonly description: "Version of the export format";
|
|
3423
|
-
readonly example: "1.0";
|
|
3424
|
-
};
|
|
3425
|
-
readonly exportBy: {
|
|
3426
|
-
readonly type: "string";
|
|
3427
|
-
readonly description: "User who exported the settings";
|
|
3428
|
-
readonly example: "admin@example.com";
|
|
3429
|
-
};
|
|
3430
|
-
};
|
|
3431
|
-
};
|
|
3432
|
-
};
|
|
3433
|
-
};
|
|
3434
|
-
export declare const SystemSettingsResponseSchema: {
|
|
3435
|
-
readonly type: "object";
|
|
3436
|
-
readonly properties: {
|
|
3437
|
-
readonly success: {
|
|
3438
|
-
readonly type: "boolean";
|
|
3439
|
-
readonly description: "Whether the request was successful";
|
|
3440
|
-
readonly example: true;
|
|
3441
|
-
};
|
|
3442
|
-
readonly message: {
|
|
3443
|
-
readonly type: "string";
|
|
3444
|
-
readonly description: "Human-readable message";
|
|
3445
|
-
readonly example: "System settings retrieved successfully";
|
|
3446
|
-
};
|
|
3447
|
-
readonly settings: {
|
|
3448
|
-
readonly $ref: "#/components/schemas/SystemSettings";
|
|
3449
|
-
};
|
|
3450
|
-
};
|
|
3451
|
-
readonly required: readonly ["success", "message", "settings"];
|
|
3452
|
-
};
|
|
3453
|
-
export declare const SystemSettingsUpdateRequestSchema: {
|
|
3454
|
-
readonly type: "object";
|
|
3455
|
-
readonly properties: {
|
|
3456
|
-
readonly mainDomain: {
|
|
3457
|
-
readonly type: "string";
|
|
3458
|
-
readonly description: "Main domain for the system";
|
|
3459
|
-
readonly example: "yuepa8.com";
|
|
3460
|
-
};
|
|
3461
|
-
readonly cloudflareAccount: {
|
|
3462
|
-
readonly $ref: "#/components/schemas/CloudflareAccountConfig";
|
|
3463
|
-
};
|
|
3464
|
-
readonly cloudflareR2: {
|
|
3465
|
-
readonly $ref: "#/components/schemas/CloudflareR2Config";
|
|
3466
|
-
};
|
|
3467
|
-
readonly nodeAuthToken: {
|
|
3468
|
-
readonly type: "string";
|
|
3469
|
-
readonly description: "NPM authentication token for deployment";
|
|
3470
|
-
readonly example: "npm_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx";
|
|
3471
|
-
};
|
|
3472
|
-
readonly secretKey: {
|
|
3473
|
-
readonly type: "string";
|
|
3474
|
-
readonly description: "Encryption secret key for symmetric encryption";
|
|
3475
|
-
readonly example: "your-32-character-secret-key-here";
|
|
3476
|
-
};
|
|
3477
|
-
};
|
|
3478
|
-
};
|
|
3479
|
-
export declare const SystemSettingsImportResponseSchema: {
|
|
3480
|
-
readonly type: "object";
|
|
3481
|
-
readonly properties: {
|
|
3482
|
-
readonly success: {
|
|
3483
|
-
readonly type: "boolean";
|
|
3484
|
-
readonly description: "Whether the import was successful";
|
|
3485
|
-
readonly example: true;
|
|
3486
|
-
};
|
|
3487
|
-
readonly message: {
|
|
3488
|
-
readonly type: "string";
|
|
3489
|
-
readonly description: "Human-readable message about the import result";
|
|
3490
|
-
readonly example: "System settings imported successfully";
|
|
3491
|
-
};
|
|
3492
|
-
readonly importedCount: {
|
|
3493
|
-
readonly type: "integer";
|
|
3494
|
-
readonly description: "Number of settings imported";
|
|
3495
|
-
readonly example: 5;
|
|
3496
|
-
};
|
|
3497
|
-
readonly skippedCount: {
|
|
3498
|
-
readonly type: "integer";
|
|
3499
|
-
readonly description: "Number of settings skipped";
|
|
3500
|
-
readonly example: 0;
|
|
3501
|
-
};
|
|
3502
|
-
readonly errors: {
|
|
3503
|
-
readonly type: "array";
|
|
3504
|
-
readonly items: {
|
|
3505
|
-
readonly type: "string";
|
|
3506
|
-
};
|
|
3507
|
-
readonly description: "List of import errors if any";
|
|
3508
|
-
readonly example: readonly [];
|
|
3509
|
-
};
|
|
3510
|
-
};
|
|
3511
|
-
readonly required: readonly ["success", "message", "importedCount", "skippedCount", "errors"];
|
|
3512
|
-
};
|
|
3513
|
-
export declare const APIResourceMetaPropertiesSchema: {
|
|
3514
|
-
readonly required: readonly ["metadata"];
|
|
3515
|
-
readonly properties: {
|
|
3516
|
-
readonly metadata: {
|
|
3517
|
-
readonly $ref: "#/components/schemas/APIResourceMeta";
|
|
3518
|
-
};
|
|
3519
|
-
};
|
|
3520
|
-
};
|
|
3521
|
-
export declare const QueueMetricsSchema: {
|
|
3522
|
-
readonly type: "object";
|
|
3523
|
-
readonly properties: {
|
|
3524
|
-
readonly numQueued: {
|
|
3525
|
-
readonly type: "integer";
|
|
3526
|
-
readonly description: "The number of items in the queue.";
|
|
3527
|
-
};
|
|
3528
|
-
readonly numRunning: {
|
|
3529
|
-
readonly type: "integer";
|
|
3530
|
-
readonly description: "The number of items running.";
|
|
3531
|
-
};
|
|
3532
|
-
readonly numPending: {
|
|
3533
|
-
readonly type: "integer";
|
|
3534
|
-
readonly description: "The number of items pending.";
|
|
3535
|
-
};
|
|
3536
|
-
};
|
|
3537
|
-
readonly required: readonly ["numQueued", "numRunning", "numPending"];
|
|
3538
|
-
};
|
|
3539
|
-
export declare const TenantQueueMetricsSchema: {
|
|
3540
|
-
readonly properties: {
|
|
3541
|
-
readonly total: {
|
|
3542
|
-
readonly $ref: "#/components/schemas/QueueMetrics";
|
|
3543
|
-
readonly description: "The total queue metrics.";
|
|
3544
|
-
};
|
|
3545
|
-
readonly workflow: {
|
|
3546
|
-
readonly type: "object";
|
|
3547
|
-
readonly additionalProperties: {
|
|
3548
|
-
readonly $ref: "#/components/schemas/QueueMetrics";
|
|
3549
|
-
};
|
|
3550
|
-
};
|
|
3551
|
-
readonly queues: {
|
|
3552
|
-
readonly type: "object";
|
|
3553
|
-
readonly additionalProperties: {
|
|
3554
|
-
readonly type: "integer";
|
|
3555
|
-
};
|
|
3556
|
-
};
|
|
3557
|
-
};
|
|
3558
|
-
};
|
|
3559
|
-
export declare const TenantListSchema: {
|
|
3560
|
-
readonly properties: {
|
|
3561
|
-
readonly pagination: {
|
|
3562
|
-
readonly $ref: "#/components/schemas/PaginationResponse";
|
|
3563
|
-
};
|
|
3564
|
-
readonly rows: {
|
|
3565
|
-
readonly items: {
|
|
3566
|
-
readonly $ref: "#/components/schemas/Tenant";
|
|
3567
|
-
};
|
|
3568
|
-
readonly type: "array";
|
|
3569
|
-
readonly "x-go-name": "Rows";
|
|
3570
|
-
};
|
|
3571
|
-
};
|
|
3572
|
-
};
|
|
3573
|
-
export declare const LogLineSchema: {
|
|
3574
|
-
readonly properties: {
|
|
3575
|
-
readonly createdAt: {
|
|
3576
|
-
readonly type: "string";
|
|
3577
|
-
readonly format: "date-time";
|
|
3578
|
-
readonly description: "The creation date of the log line.";
|
|
3579
|
-
};
|
|
3580
|
-
readonly message: {
|
|
3581
|
-
readonly type: "string";
|
|
3582
|
-
readonly description: "The log message.";
|
|
3583
|
-
};
|
|
3584
|
-
readonly metadata: {
|
|
3585
|
-
readonly type: "object";
|
|
3586
|
-
readonly description: "The log metadata.";
|
|
3587
|
-
};
|
|
3588
|
-
};
|
|
3589
|
-
readonly required: readonly ["createdAt", "message", "metadata"];
|
|
3590
|
-
};
|
|
3591
|
-
export declare const LogLineLevelSchema: {
|
|
3592
|
-
readonly type: "string";
|
|
3593
|
-
readonly enum: readonly ["DEBUG", "INFO", "WARN", "ERROR"];
|
|
3594
|
-
};
|
|
3595
|
-
export declare const LogLineListSchema: {
|
|
3596
|
-
readonly properties: {
|
|
3597
|
-
readonly pagination: {
|
|
3598
|
-
readonly $ref: "#/components/schemas/PaginationResponse";
|
|
3599
|
-
};
|
|
3600
|
-
readonly rows: {
|
|
3601
|
-
readonly items: {
|
|
3602
|
-
readonly $ref: "#/components/schemas/LogLine";
|
|
723
|
+
readonly validate: "required";
|
|
3603
724
|
};
|
|
3604
|
-
readonly type: "array";
|
|
3605
725
|
};
|
|
3606
726
|
};
|
|
727
|
+
readonly required: readonly ["email", "role"];
|
|
728
|
+
readonly type: "object";
|
|
3607
729
|
};
|
|
3608
|
-
export declare const
|
|
3609
|
-
readonly required: readonly ["Success", "Message"];
|
|
730
|
+
export declare const UpdateTenantInviteRequestSchema: {
|
|
3610
731
|
readonly properties: {
|
|
3611
|
-
readonly
|
|
3612
|
-
readonly
|
|
3613
|
-
|
|
3614
|
-
|
|
3615
|
-
|
|
3616
|
-
|
|
3617
|
-
readonly other: {
|
|
3618
|
-
readonly type: "object";
|
|
732
|
+
readonly role: {
|
|
733
|
+
readonly $ref: "#/components/schemas/TenantMemberRole";
|
|
734
|
+
readonly description: "The role of the user in the tenant.";
|
|
735
|
+
readonly "x-oapi-codegen-extra-tags": {
|
|
736
|
+
readonly validate: "required";
|
|
737
|
+
};
|
|
3619
738
|
};
|
|
3620
739
|
};
|
|
740
|
+
readonly required: readonly ["role"];
|
|
741
|
+
readonly type: "object";
|
|
3621
742
|
};
|
|
3622
|
-
export declare const
|
|
3623
|
-
readonly required: readonly ["type", "name"];
|
|
743
|
+
export declare const TenantAlertingSettingsSchema: {
|
|
3624
744
|
readonly properties: {
|
|
3625
|
-
readonly
|
|
3626
|
-
readonly
|
|
3627
|
-
readonly enum: readonly ["text", "number", "boolean", "array", "object"];
|
|
3628
|
-
readonly default: "text";
|
|
3629
|
-
};
|
|
3630
|
-
readonly name: {
|
|
3631
|
-
readonly type: "string";
|
|
3632
|
-
};
|
|
3633
|
-
readonly default_value: {
|
|
3634
|
-
readonly type: "string";
|
|
745
|
+
readonly metadata: {
|
|
746
|
+
readonly $ref: "#/components/schemas/APIResourceMeta";
|
|
3635
747
|
};
|
|
3636
|
-
readonly
|
|
3637
|
-
readonly type: "
|
|
748
|
+
readonly alertMemberEmails: {
|
|
749
|
+
readonly type: "boolean";
|
|
750
|
+
readonly description: "Whether to alert tenant members.";
|
|
3638
751
|
};
|
|
3639
|
-
readonly
|
|
3640
|
-
readonly type: "
|
|
752
|
+
readonly enableWorkflowRunFailureAlerts: {
|
|
753
|
+
readonly type: "boolean";
|
|
754
|
+
readonly description: "Whether to send alerts when workflow runs fail.";
|
|
3641
755
|
};
|
|
3642
|
-
readonly
|
|
756
|
+
readonly enableExpiringTokenAlerts: {
|
|
3643
757
|
readonly type: "boolean";
|
|
758
|
+
readonly description: "Whether to enable alerts when tokens are approaching expiration.";
|
|
3644
759
|
};
|
|
3645
|
-
readonly
|
|
3646
|
-
readonly type: "
|
|
760
|
+
readonly enableTenantResourceLimitAlerts: {
|
|
761
|
+
readonly type: "boolean";
|
|
762
|
+
readonly description: "Whether to enable alerts when tenant resources are approaching limits.";
|
|
3647
763
|
};
|
|
3648
|
-
readonly
|
|
3649
|
-
readonly type: "
|
|
764
|
+
readonly maxAlertingFrequency: {
|
|
765
|
+
readonly type: "string";
|
|
766
|
+
readonly description: "The max frequency at which to alert.";
|
|
3650
767
|
};
|
|
3651
|
-
readonly
|
|
768
|
+
readonly lastAlertedAt: {
|
|
3652
769
|
readonly type: "string";
|
|
770
|
+
readonly description: "The last time an alert was sent.";
|
|
771
|
+
readonly format: "date-time";
|
|
3653
772
|
};
|
|
3654
773
|
};
|
|
774
|
+
readonly required: readonly ["metadata", "maxAlertingFrequency"];
|
|
775
|
+
readonly type: "object";
|
|
3655
776
|
};
|
|
3656
|
-
export declare const
|
|
3657
|
-
readonly required: readonly ["title", "fields"];
|
|
777
|
+
export declare const TenantAlertEmailGroupSchema: {
|
|
3658
778
|
readonly properties: {
|
|
3659
|
-
readonly
|
|
3660
|
-
readonly
|
|
3661
|
-
readonly enum: readonly ["schema", "custom"];
|
|
3662
|
-
readonly default: "schema";
|
|
3663
|
-
};
|
|
3664
|
-
readonly form_name: {
|
|
3665
|
-
readonly type: "string";
|
|
3666
|
-
};
|
|
3667
|
-
readonly title: {
|
|
3668
|
-
readonly type: "string";
|
|
3669
|
-
};
|
|
3670
|
-
readonly description: {
|
|
3671
|
-
readonly type: "string";
|
|
3672
|
-
};
|
|
3673
|
-
readonly layout: {
|
|
3674
|
-
readonly type: "string";
|
|
3675
|
-
readonly enum: readonly ["vertical", "horizontal"];
|
|
3676
|
-
readonly default: "vertical";
|
|
779
|
+
readonly metadata: {
|
|
780
|
+
readonly $ref: "#/components/schemas/APIResourceMeta";
|
|
3677
781
|
};
|
|
3678
|
-
readonly
|
|
782
|
+
readonly emails: {
|
|
3679
783
|
readonly type: "array";
|
|
3680
784
|
readonly items: {
|
|
3681
|
-
readonly
|
|
785
|
+
readonly type: "string";
|
|
3682
786
|
};
|
|
787
|
+
readonly description: "A list of emails for users";
|
|
3683
788
|
};
|
|
3684
789
|
};
|
|
3685
|
-
|
|
3686
|
-
export declare const MtWorkerPropertiesSchema: {
|
|
790
|
+
readonly required: readonly ["metadata", "emails"];
|
|
3687
791
|
readonly type: "object";
|
|
792
|
+
};
|
|
793
|
+
export declare const TenantAlertEmailGroupListSchema: {
|
|
3688
794
|
readonly properties: {
|
|
3689
|
-
readonly
|
|
3690
|
-
readonly
|
|
795
|
+
readonly pagination: {
|
|
796
|
+
readonly $ref: "#/components/schemas/PaginationResponse";
|
|
3691
797
|
};
|
|
3692
|
-
readonly
|
|
3693
|
-
readonly
|
|
798
|
+
readonly rows: {
|
|
799
|
+
readonly items: {
|
|
800
|
+
readonly $ref: "#/components/schemas/TenantAlertEmailGroup";
|
|
801
|
+
};
|
|
802
|
+
readonly type: "array";
|
|
803
|
+
readonly "x-go-name": "Rows";
|
|
3694
804
|
};
|
|
3695
805
|
};
|
|
3696
806
|
};
|
|
3697
|
-
export declare const
|
|
3698
|
-
readonly type: "object";
|
|
3699
|
-
readonly description: "MCP 工具信息";
|
|
807
|
+
export declare const CreateTenantAlertEmailGroupRequestSchema: {
|
|
3700
808
|
readonly properties: {
|
|
3701
|
-
readonly
|
|
3702
|
-
readonly type: "
|
|
3703
|
-
readonly
|
|
3704
|
-
|
|
3705
|
-
|
|
3706
|
-
|
|
3707
|
-
readonly
|
|
3708
|
-
|
|
3709
|
-
|
|
809
|
+
readonly emails: {
|
|
810
|
+
readonly type: "array";
|
|
811
|
+
readonly items: {
|
|
812
|
+
readonly type: "string";
|
|
813
|
+
};
|
|
814
|
+
readonly description: "A list of emails for users";
|
|
815
|
+
readonly "x-oapi-codegen-extra-tags": {
|
|
816
|
+
readonly validate: "required,dive,email";
|
|
817
|
+
};
|
|
3710
818
|
};
|
|
3711
819
|
};
|
|
3712
|
-
readonly required: readonly ["
|
|
3713
|
-
};
|
|
3714
|
-
export declare const McpInfoSchema: {
|
|
820
|
+
readonly required: readonly ["emails"];
|
|
3715
821
|
readonly type: "object";
|
|
3716
|
-
|
|
822
|
+
};
|
|
823
|
+
export declare const UpdateTenantAlertEmailGroupRequestSchema: {
|
|
3717
824
|
readonly properties: {
|
|
3718
|
-
readonly
|
|
3719
|
-
readonly type: "string";
|
|
3720
|
-
readonly description: "MCP 服务名称";
|
|
3721
|
-
readonly example: "gomtm-mcp-server-v2";
|
|
3722
|
-
};
|
|
3723
|
-
readonly version: {
|
|
3724
|
-
readonly type: "string";
|
|
3725
|
-
readonly description: "MCP 服务版本";
|
|
3726
|
-
readonly example: "1.0.0";
|
|
3727
|
-
};
|
|
3728
|
-
readonly description: {
|
|
3729
|
-
readonly type: "string";
|
|
3730
|
-
readonly description: "MCP 服务描述";
|
|
3731
|
-
readonly example: "GoMTM MCP Server v2 using official Go SDK";
|
|
3732
|
-
};
|
|
3733
|
-
readonly baseUrl: {
|
|
3734
|
-
readonly type: "string";
|
|
3735
|
-
readonly description: "MCP 服务基础URL路径";
|
|
3736
|
-
readonly example: "/mcp_v2/";
|
|
3737
|
-
};
|
|
3738
|
-
readonly endpoints: {
|
|
3739
|
-
readonly type: "object";
|
|
3740
|
-
readonly description: "MCP 服务端点配置";
|
|
3741
|
-
readonly properties: {
|
|
3742
|
-
readonly sse: {
|
|
3743
|
-
readonly type: "string";
|
|
3744
|
-
readonly description: "SSE 端点URL";
|
|
3745
|
-
readonly example: "http://localhost:8080/mcp_v2/sse";
|
|
3746
|
-
};
|
|
3747
|
-
readonly message: {
|
|
3748
|
-
readonly type: "string";
|
|
3749
|
-
readonly description: "消息端点URL";
|
|
3750
|
-
readonly example: "http://localhost:8080/mcp_v2/message";
|
|
3751
|
-
};
|
|
3752
|
-
readonly health: {
|
|
3753
|
-
readonly type: "string";
|
|
3754
|
-
readonly description: "健康检查端点URL";
|
|
3755
|
-
readonly example: "http://localhost:8080/mcp_v2/health";
|
|
3756
|
-
};
|
|
3757
|
-
};
|
|
3758
|
-
readonly required: readonly ["sse", "message", "health"];
|
|
3759
|
-
};
|
|
3760
|
-
readonly status: {
|
|
3761
|
-
readonly type: "string";
|
|
3762
|
-
readonly enum: readonly ["running", "stopped", "error"];
|
|
3763
|
-
readonly description: "MCP 服务状态";
|
|
3764
|
-
readonly example: "running";
|
|
3765
|
-
};
|
|
3766
|
-
readonly tools: {
|
|
825
|
+
readonly emails: {
|
|
3767
826
|
readonly type: "array";
|
|
3768
|
-
readonly description: "可用的 MCP 工具列表";
|
|
3769
827
|
readonly items: {
|
|
3770
|
-
readonly
|
|
828
|
+
readonly type: "string";
|
|
829
|
+
};
|
|
830
|
+
readonly description: "A list of emails for users";
|
|
831
|
+
readonly "x-oapi-codegen-extra-tags": {
|
|
832
|
+
readonly validate: "required,dive,email";
|
|
3771
833
|
};
|
|
3772
834
|
};
|
|
3773
835
|
};
|
|
3774
|
-
readonly required: readonly ["
|
|
3775
|
-
};
|
|
3776
|
-
export declare const McpDiagnosticCheckSchema: {
|
|
836
|
+
readonly required: readonly ["emails"];
|
|
3777
837
|
readonly type: "object";
|
|
3778
|
-
|
|
838
|
+
};
|
|
839
|
+
export declare const TenantInviteSchema: {
|
|
3779
840
|
readonly properties: {
|
|
3780
|
-
readonly
|
|
3781
|
-
readonly
|
|
3782
|
-
readonly description: "检查项名称";
|
|
3783
|
-
readonly example: "health_check";
|
|
841
|
+
readonly metadata: {
|
|
842
|
+
readonly $ref: "#/components/schemas/APIResourceMeta";
|
|
3784
843
|
};
|
|
3785
|
-
readonly
|
|
844
|
+
readonly email: {
|
|
3786
845
|
readonly type: "string";
|
|
3787
|
-
readonly description: "
|
|
3788
|
-
readonly example: "健康检查端点测试";
|
|
846
|
+
readonly description: "The email of the user to invite.";
|
|
3789
847
|
};
|
|
3790
|
-
readonly
|
|
848
|
+
readonly role: {
|
|
849
|
+
readonly $ref: "#/components/schemas/TenantMemberRole";
|
|
850
|
+
readonly description: "The role of the user in the tenant.";
|
|
851
|
+
};
|
|
852
|
+
readonly tenantId: {
|
|
3791
853
|
readonly type: "string";
|
|
3792
|
-
readonly
|
|
3793
|
-
readonly description: "检查结果状态";
|
|
3794
|
-
readonly example: "passed";
|
|
854
|
+
readonly description: "The tenant id associated with this tenant invite.";
|
|
3795
855
|
};
|
|
3796
|
-
readonly
|
|
856
|
+
readonly tenantName: {
|
|
3797
857
|
readonly type: "string";
|
|
3798
|
-
readonly description: "
|
|
3799
|
-
readonly example: "健康检查端点正常";
|
|
858
|
+
readonly description: "The tenant name for the tenant.";
|
|
3800
859
|
};
|
|
3801
|
-
readonly
|
|
860
|
+
readonly expires: {
|
|
3802
861
|
readonly type: "string";
|
|
3803
|
-
readonly description: "
|
|
3804
|
-
readonly
|
|
862
|
+
readonly description: "The time that this invite expires.";
|
|
863
|
+
readonly format: "date-time";
|
|
3805
864
|
};
|
|
3806
865
|
};
|
|
3807
|
-
readonly required: readonly ["
|
|
3808
|
-
};
|
|
3809
|
-
export declare const McpDiagnosticsSchema: {
|
|
866
|
+
readonly required: readonly ["metadata", "email", "role", "expires", "tenantId"];
|
|
3810
867
|
readonly type: "object";
|
|
3811
|
-
|
|
868
|
+
};
|
|
869
|
+
export declare const TenantInviteListSchema: {
|
|
3812
870
|
readonly properties: {
|
|
3813
|
-
readonly
|
|
3814
|
-
readonly
|
|
3815
|
-
readonly format: "date-time";
|
|
3816
|
-
readonly description: "诊断执行时间";
|
|
3817
|
-
readonly example: "2024-01-28T10:30:00Z";
|
|
3818
|
-
};
|
|
3819
|
-
readonly sseUrl: {
|
|
3820
|
-
readonly type: "string";
|
|
3821
|
-
readonly description: "测试的 SSE 端点URL";
|
|
3822
|
-
readonly example: "http://localhost:8080/mcp_v2/sse";
|
|
3823
|
-
};
|
|
3824
|
-
readonly healthUrl: {
|
|
3825
|
-
readonly type: "string";
|
|
3826
|
-
readonly description: "测试的健康检查端点URL";
|
|
3827
|
-
readonly example: "http://localhost:8080/mcp_v2/health";
|
|
3828
|
-
};
|
|
3829
|
-
readonly status: {
|
|
3830
|
-
readonly type: "string";
|
|
3831
|
-
readonly enum: readonly ["healthy", "unhealthy", "unknown"];
|
|
3832
|
-
readonly description: "整体诊断状态";
|
|
3833
|
-
readonly example: "healthy";
|
|
3834
|
-
};
|
|
3835
|
-
readonly message: {
|
|
3836
|
-
readonly type: "string";
|
|
3837
|
-
readonly description: "诊断结果消息";
|
|
3838
|
-
readonly example: "所有检查都通过";
|
|
871
|
+
readonly pagination: {
|
|
872
|
+
readonly $ref: "#/components/schemas/PaginationResponse";
|
|
3839
873
|
};
|
|
3840
|
-
readonly
|
|
3841
|
-
readonly type: "array";
|
|
3842
|
-
readonly description: "详细的检查结果列表";
|
|
874
|
+
readonly rows: {
|
|
3843
875
|
readonly items: {
|
|
3844
|
-
readonly $ref: "#/components/schemas/
|
|
876
|
+
readonly $ref: "#/components/schemas/TenantInvite";
|
|
3845
877
|
};
|
|
3846
|
-
};
|
|
3847
|
-
readonly tools: {
|
|
3848
878
|
readonly type: "array";
|
|
3849
|
-
readonly
|
|
3850
|
-
readonly items: {
|
|
3851
|
-
readonly $ref: "#/components/schemas/McpTool";
|
|
3852
|
-
};
|
|
879
|
+
readonly "x-go-name": "Rows";
|
|
3853
880
|
};
|
|
3854
881
|
};
|
|
3855
|
-
readonly required: readonly ["timestamp", "sseUrl", "healthUrl", "status", "checks"];
|
|
3856
|
-
};
|
|
3857
|
-
export declare const AgentEventTypeSchema: {
|
|
3858
|
-
readonly type: "string";
|
|
3859
|
-
readonly enum: readonly ["ThoughtEvent", "TextMessage", "PlatformAccountFlowInput", "ChatMessageInput", "SocialAddFollowersInput", "SocialLoginInput", "TenantInitInput", "AskUserFunctionCallInput", "StartNewChatInput"];
|
|
3860
882
|
};
|
|
3861
|
-
export declare const
|
|
3862
|
-
readonly type: "
|
|
3863
|
-
readonly
|
|
883
|
+
export declare const QueueMetricsSchema: {
|
|
884
|
+
readonly type: "object";
|
|
885
|
+
readonly properties: {
|
|
886
|
+
readonly numQueued: {
|
|
887
|
+
readonly type: "integer";
|
|
888
|
+
readonly description: "The number of items in the queue.";
|
|
889
|
+
};
|
|
890
|
+
readonly numRunning: {
|
|
891
|
+
readonly type: "integer";
|
|
892
|
+
readonly description: "The number of items running.";
|
|
893
|
+
};
|
|
894
|
+
readonly numPending: {
|
|
895
|
+
readonly type: "integer";
|
|
896
|
+
readonly description: "The number of items pending.";
|
|
897
|
+
};
|
|
898
|
+
};
|
|
899
|
+
readonly required: readonly ["numQueued", "numRunning", "numPending"];
|
|
3864
900
|
};
|
|
3865
|
-
export declare const
|
|
901
|
+
export declare const TenantQueueMetricsSchema: {
|
|
3866
902
|
readonly properties: {
|
|
3867
|
-
readonly
|
|
3868
|
-
readonly
|
|
903
|
+
readonly total: {
|
|
904
|
+
readonly $ref: "#/components/schemas/QueueMetrics";
|
|
905
|
+
readonly description: "The total queue metrics.";
|
|
906
|
+
};
|
|
907
|
+
readonly workflow: {
|
|
908
|
+
readonly type: "object";
|
|
909
|
+
readonly additionalProperties: {
|
|
910
|
+
readonly $ref: "#/components/schemas/QueueMetrics";
|
|
911
|
+
};
|
|
912
|
+
};
|
|
913
|
+
readonly queues: {
|
|
914
|
+
readonly type: "object";
|
|
915
|
+
readonly additionalProperties: {
|
|
916
|
+
readonly type: "integer";
|
|
917
|
+
};
|
|
3869
918
|
};
|
|
3870
919
|
};
|
|
3871
920
|
};
|
|
3872
|
-
export declare const
|
|
921
|
+
export declare const AcceptInviteRequestSchema: {
|
|
3873
922
|
readonly properties: {
|
|
3874
|
-
readonly
|
|
923
|
+
readonly invite: {
|
|
3875
924
|
readonly type: "string";
|
|
925
|
+
readonly example: "bb214807-246e-43a5-a25d-41761d1cff9e";
|
|
926
|
+
readonly minLength: 36;
|
|
927
|
+
readonly maxLength: 36;
|
|
928
|
+
readonly "x-oapi-codegen-extra-tags": {
|
|
929
|
+
readonly validate: "required,uuid";
|
|
930
|
+
};
|
|
3876
931
|
};
|
|
3877
932
|
};
|
|
933
|
+
readonly required: readonly ["invite"];
|
|
934
|
+
readonly type: "object";
|
|
3878
935
|
};
|
|
3879
|
-
export declare const
|
|
3880
|
-
readonly required: readonly ["name", "description", "provider", "config", "teamId"];
|
|
936
|
+
export declare const RejectInviteRequestSchema: {
|
|
3881
937
|
readonly properties: {
|
|
3882
|
-
readonly
|
|
3883
|
-
readonly type: "string";
|
|
3884
|
-
};
|
|
3885
|
-
readonly description: {
|
|
3886
|
-
readonly type: "string";
|
|
3887
|
-
};
|
|
3888
|
-
readonly provider: {
|
|
3889
|
-
readonly type: "string";
|
|
3890
|
-
};
|
|
3891
|
-
readonly config: {
|
|
3892
|
-
readonly type: "object";
|
|
3893
|
-
};
|
|
3894
|
-
readonly teamId: {
|
|
938
|
+
readonly invite: {
|
|
3895
939
|
readonly type: "string";
|
|
940
|
+
readonly example: "bb214807-246e-43a5-a25d-41761d1cff9e";
|
|
941
|
+
readonly minLength: 36;
|
|
942
|
+
readonly maxLength: 36;
|
|
943
|
+
readonly "x-oapi-codegen-extra-tags": {
|
|
944
|
+
readonly validate: "required,uuid";
|
|
945
|
+
};
|
|
3896
946
|
};
|
|
3897
947
|
};
|
|
948
|
+
readonly required: readonly ["invite"];
|
|
949
|
+
readonly type: "object";
|
|
3898
950
|
};
|
|
3899
|
-
export declare const
|
|
3900
|
-
readonly allOf: readonly [{
|
|
3901
|
-
readonly $ref: "#/components/schemas/APIResourceMetaProperties";
|
|
3902
|
-
}, {
|
|
3903
|
-
readonly $ref: "#/components/schemas/AgentProperties";
|
|
3904
|
-
}];
|
|
3905
|
-
};
|
|
3906
|
-
export declare const AgentListSchema: {
|
|
951
|
+
export declare const TenantListSchema: {
|
|
3907
952
|
readonly properties: {
|
|
3908
953
|
readonly pagination: {
|
|
3909
954
|
readonly $ref: "#/components/schemas/PaginationResponse";
|
|
3910
955
|
};
|
|
3911
956
|
readonly rows: {
|
|
3912
|
-
readonly type: "array";
|
|
3913
957
|
readonly items: {
|
|
3914
|
-
readonly $ref: "#/components/schemas/
|
|
958
|
+
readonly $ref: "#/components/schemas/Tenant";
|
|
3915
959
|
};
|
|
960
|
+
readonly type: "array";
|
|
961
|
+
readonly "x-go-name": "Rows";
|
|
3916
962
|
};
|
|
3917
963
|
};
|
|
3918
964
|
};
|
|
3919
|
-
export declare const
|
|
3920
|
-
readonly type: "string";
|
|
3921
|
-
readonly enum: readonly ["user", "human", "instagram", "browser", "socioety", "code", "router", "research", "writer", "tenant", "closure", "response"];
|
|
3922
|
-
};
|
|
3923
|
-
export declare const BrowserTaskSchema: {
|
|
3924
|
-
readonly description: "浏览器(browser use)任务";
|
|
3925
|
-
readonly required: readonly ["content"];
|
|
965
|
+
export declare const TenantInfoExportSchema: {
|
|
3926
966
|
readonly properties: {
|
|
3927
|
-
readonly
|
|
3928
|
-
readonly
|
|
967
|
+
readonly tenant: {
|
|
968
|
+
readonly $ref: "#/components/schemas/Tenant";
|
|
969
|
+
readonly description: "The tenant basic information";
|
|
970
|
+
};
|
|
971
|
+
readonly members: {
|
|
972
|
+
readonly type: "array";
|
|
973
|
+
readonly items: {
|
|
974
|
+
readonly $ref: "#/components/schemas/TenantMember";
|
|
975
|
+
};
|
|
976
|
+
readonly description: "The tenant members list";
|
|
977
|
+
};
|
|
978
|
+
readonly invites: {
|
|
979
|
+
readonly type: "array";
|
|
980
|
+
readonly items: {
|
|
981
|
+
readonly $ref: "#/components/schemas/TenantInvite";
|
|
982
|
+
};
|
|
983
|
+
readonly description: "The tenant invites list";
|
|
984
|
+
};
|
|
985
|
+
readonly export_metadata: {
|
|
986
|
+
readonly type: "object";
|
|
987
|
+
readonly properties: {
|
|
988
|
+
readonly export_version: {
|
|
989
|
+
readonly type: "string";
|
|
990
|
+
readonly description: "The export format version";
|
|
991
|
+
};
|
|
992
|
+
readonly export_timestamp: {
|
|
993
|
+
readonly type: "string";
|
|
994
|
+
readonly format: "date-time";
|
|
995
|
+
readonly description: "The timestamp when the export was created";
|
|
996
|
+
};
|
|
997
|
+
readonly export_by: {
|
|
998
|
+
readonly type: "string";
|
|
999
|
+
readonly format: "uuid";
|
|
1000
|
+
readonly description: "The user ID who performed the export";
|
|
1001
|
+
};
|
|
1002
|
+
readonly total_members: {
|
|
1003
|
+
readonly type: "integer";
|
|
1004
|
+
readonly description: "Total number of members";
|
|
1005
|
+
};
|
|
1006
|
+
readonly total_invites: {
|
|
1007
|
+
readonly type: "integer";
|
|
1008
|
+
readonly description: "Total number of pending invites";
|
|
1009
|
+
};
|
|
1010
|
+
};
|
|
1011
|
+
readonly required: readonly ["export_version", "export_timestamp", "export_by", "total_members", "total_invites"];
|
|
3929
1012
|
};
|
|
3930
1013
|
};
|
|
1014
|
+
readonly required: readonly ["tenant", "members", "invites", "export_metadata"];
|
|
1015
|
+
readonly type: "object";
|
|
3931
1016
|
};
|
|
3932
|
-
export declare const
|
|
3933
|
-
readonly description: "打开浏览器备用,一般用于调试目的Open a browser and navigate to a URL.";
|
|
3934
|
-
readonly required: readonly ["url"];
|
|
1017
|
+
export declare const CreateTenantRequestSchema: {
|
|
3935
1018
|
readonly properties: {
|
|
3936
|
-
readonly
|
|
1019
|
+
readonly name: {
|
|
3937
1020
|
readonly type: "string";
|
|
1021
|
+
readonly description: "The name of the tenant.";
|
|
1022
|
+
readonly "x-oapi-codegen-extra-tags": {
|
|
1023
|
+
readonly validate: "required";
|
|
1024
|
+
};
|
|
3938
1025
|
};
|
|
3939
|
-
|
|
3940
|
-
|
|
3941
|
-
|
|
3942
|
-
|
|
3943
|
-
|
|
3944
|
-
|
|
3945
|
-
readonly type: "boolean";
|
|
1026
|
+
readonly slug: {
|
|
1027
|
+
readonly type: "string";
|
|
1028
|
+
readonly description: "The slug of the tenant.";
|
|
1029
|
+
readonly "x-oapi-codegen-extra-tags": {
|
|
1030
|
+
readonly validate: "required,hatchetName";
|
|
1031
|
+
};
|
|
3946
1032
|
};
|
|
3947
1033
|
};
|
|
1034
|
+
readonly required: readonly ["name", "slug"];
|
|
1035
|
+
readonly type: "object";
|
|
3948
1036
|
};
|
|
3949
|
-
export declare const
|
|
3950
|
-
readonly required: readonly ["id", "type", "trigger", "nextTrigger", "description"];
|
|
1037
|
+
export declare const UpdateTenantRequestSchema: {
|
|
3951
1038
|
readonly properties: {
|
|
3952
|
-
readonly
|
|
1039
|
+
readonly name: {
|
|
3953
1040
|
readonly type: "string";
|
|
1041
|
+
readonly description: "The name of the tenant.";
|
|
3954
1042
|
};
|
|
3955
|
-
readonly
|
|
3956
|
-
readonly type: "
|
|
3957
|
-
readonly
|
|
1043
|
+
readonly analyticsOptOut: {
|
|
1044
|
+
readonly type: "boolean";
|
|
1045
|
+
readonly description: "Whether the tenant has opted out of analytics.";
|
|
3958
1046
|
};
|
|
3959
|
-
readonly
|
|
3960
|
-
readonly type: "
|
|
1047
|
+
readonly alertMemberEmails: {
|
|
1048
|
+
readonly type: "boolean";
|
|
1049
|
+
readonly description: "Whether to alert tenant members.";
|
|
3961
1050
|
};
|
|
3962
|
-
readonly
|
|
3963
|
-
readonly type: "
|
|
1051
|
+
readonly enableWorkflowRunFailureAlerts: {
|
|
1052
|
+
readonly type: "boolean";
|
|
1053
|
+
readonly description: "Whether to send alerts when workflow runs fail.";
|
|
3964
1054
|
};
|
|
3965
|
-
readonly
|
|
3966
|
-
readonly type: "
|
|
1055
|
+
readonly enableExpiringTokenAlerts: {
|
|
1056
|
+
readonly type: "boolean";
|
|
1057
|
+
readonly description: "Whether to enable alerts when tokens are approaching expiration.";
|
|
3967
1058
|
};
|
|
3968
|
-
|
|
3969
|
-
|
|
3970
|
-
|
|
3971
|
-
readonly required: readonly ["username", "password", "platform"];
|
|
3972
|
-
readonly properties: {
|
|
3973
|
-
readonly label: {
|
|
3974
|
-
readonly type: "string";
|
|
1059
|
+
readonly enableTenantResourceLimitAlerts: {
|
|
1060
|
+
readonly type: "boolean";
|
|
1061
|
+
readonly description: "Whether to enable alerts when tenant resources are approaching limits.";
|
|
3975
1062
|
};
|
|
3976
|
-
readonly
|
|
1063
|
+
readonly maxAlertingFrequency: {
|
|
3977
1064
|
readonly type: "string";
|
|
1065
|
+
readonly description: "The max frequency at which to alert.";
|
|
1066
|
+
readonly "x-oapi-codegen-extra-tags": {
|
|
1067
|
+
readonly validate: "omitnil,duration";
|
|
1068
|
+
};
|
|
3978
1069
|
};
|
|
3979
|
-
readonly
|
|
3980
|
-
readonly
|
|
1070
|
+
readonly version: {
|
|
1071
|
+
readonly $ref: "#/components/schemas/TenantVersion";
|
|
1072
|
+
readonly description: "The version of the tenant.";
|
|
3981
1073
|
};
|
|
3982
|
-
|
|
3983
|
-
|
|
1074
|
+
};
|
|
1075
|
+
readonly type: "object";
|
|
1076
|
+
};
|
|
1077
|
+
export declare const APITokenSchema: {
|
|
1078
|
+
readonly type: "object";
|
|
1079
|
+
readonly properties: {
|
|
1080
|
+
readonly metadata: {
|
|
1081
|
+
readonly $ref: "#/components/schemas/APIResourceMeta";
|
|
3984
1082
|
};
|
|
3985
|
-
readonly
|
|
1083
|
+
readonly name: {
|
|
3986
1084
|
readonly type: "string";
|
|
1085
|
+
readonly description: "The name of the API token.";
|
|
1086
|
+
readonly maxLength: 255;
|
|
3987
1087
|
};
|
|
3988
|
-
readonly
|
|
1088
|
+
readonly expiresAt: {
|
|
3989
1089
|
readonly type: "string";
|
|
1090
|
+
readonly format: "date-time";
|
|
1091
|
+
readonly description: "When the API token expires.";
|
|
3990
1092
|
};
|
|
3991
|
-
|
|
1093
|
+
};
|
|
1094
|
+
readonly required: readonly ["metadata", "name", "expiresAt"];
|
|
1095
|
+
};
|
|
1096
|
+
export declare const CreateAPITokenRequestSchema: {
|
|
1097
|
+
readonly type: "object";
|
|
1098
|
+
readonly properties: {
|
|
1099
|
+
readonly name: {
|
|
3992
1100
|
readonly type: "string";
|
|
1101
|
+
readonly description: "A name for the API token.";
|
|
1102
|
+
readonly maxLength: 255;
|
|
3993
1103
|
};
|
|
3994
|
-
readonly
|
|
1104
|
+
readonly expiresIn: {
|
|
3995
1105
|
readonly type: "string";
|
|
3996
|
-
|
|
3997
|
-
|
|
3998
|
-
|
|
3999
|
-
};
|
|
4000
|
-
readonly tags: {
|
|
4001
|
-
readonly type: "array";
|
|
4002
|
-
readonly items: {
|
|
4003
|
-
readonly type: "string";
|
|
1106
|
+
readonly description: "The duration for which the token is valid.";
|
|
1107
|
+
readonly "x-oapi-codegen-extra-tags": {
|
|
1108
|
+
readonly validate: "omitnil,duration";
|
|
4004
1109
|
};
|
|
4005
1110
|
};
|
|
4006
|
-
|
|
4007
|
-
|
|
4008
|
-
|
|
4009
|
-
|
|
4010
|
-
|
|
1111
|
+
};
|
|
1112
|
+
readonly required: readonly ["name"];
|
|
1113
|
+
};
|
|
1114
|
+
export declare const CreateAPITokenResponseSchema: {
|
|
1115
|
+
readonly type: "object";
|
|
1116
|
+
readonly properties: {
|
|
1117
|
+
readonly token: {
|
|
4011
1118
|
readonly type: "string";
|
|
1119
|
+
readonly description: "The API token.";
|
|
4012
1120
|
};
|
|
4013
1121
|
};
|
|
1122
|
+
readonly required: readonly ["token"];
|
|
4014
1123
|
};
|
|
4015
|
-
export declare const
|
|
4016
|
-
readonly allOf: readonly [{
|
|
4017
|
-
readonly $ref: "#/components/schemas/APIResourceMetaProperties";
|
|
4018
|
-
}, {
|
|
4019
|
-
readonly $ref: "#/components/schemas/PlatformAccountProperties";
|
|
4020
|
-
}];
|
|
4021
|
-
};
|
|
4022
|
-
export declare const PlatformAccountListSchema: {
|
|
1124
|
+
export declare const ListAPITokensResponseSchema: {
|
|
4023
1125
|
readonly properties: {
|
|
4024
1126
|
readonly pagination: {
|
|
4025
1127
|
readonly $ref: "#/components/schemas/PaginationResponse";
|
|
4026
1128
|
};
|
|
4027
1129
|
readonly rows: {
|
|
4028
1130
|
readonly items: {
|
|
4029
|
-
readonly $ref: "#/components/schemas/
|
|
1131
|
+
readonly $ref: "#/components/schemas/APIToken";
|
|
4030
1132
|
};
|
|
4031
1133
|
readonly type: "array";
|
|
4032
1134
|
};
|
|
4033
1135
|
};
|
|
4034
1136
|
};
|
|
4035
|
-
export declare const
|
|
4036
|
-
readonly allOf: readonly [{
|
|
4037
|
-
readonly $ref: "#/components/schemas/PlatformAccountProperties";
|
|
4038
|
-
}];
|
|
4039
|
-
};
|
|
4040
|
-
export declare const SbOutboundListSchema: {
|
|
4041
|
-
readonly description: "List of sing-box outbounds";
|
|
4042
|
-
readonly properties: {
|
|
4043
|
-
readonly outbounds: {
|
|
4044
|
-
readonly type: "array";
|
|
4045
|
-
readonly items: {
|
|
4046
|
-
readonly $ref: "#/components/schemas/SbOutbound";
|
|
4047
|
-
};
|
|
4048
|
-
};
|
|
4049
|
-
};
|
|
4050
|
-
};
|
|
4051
|
-
export declare const SbNetworkInterfaceSchema: {
|
|
4052
|
-
readonly description: "Network interface information";
|
|
4053
|
-
readonly required: readonly ["name", "isUp", "type"];
|
|
1137
|
+
export declare const LogLineSchema: {
|
|
4054
1138
|
readonly properties: {
|
|
4055
|
-
readonly
|
|
4056
|
-
readonly type: "string";
|
|
4057
|
-
readonly description: "Interface name (e.g., eth0, tun0)";
|
|
4058
|
-
};
|
|
4059
|
-
readonly isUp: {
|
|
4060
|
-
readonly type: "boolean";
|
|
4061
|
-
readonly description: "Whether the interface is up";
|
|
4062
|
-
};
|
|
4063
|
-
readonly type: {
|
|
1139
|
+
readonly createdAt: {
|
|
4064
1140
|
readonly type: "string";
|
|
4065
|
-
readonly
|
|
4066
|
-
readonly description: "
|
|
4067
|
-
};
|
|
4068
|
-
readonly ipAddresses: {
|
|
4069
|
-
readonly type: "array";
|
|
4070
|
-
readonly items: {
|
|
4071
|
-
readonly type: "string";
|
|
4072
|
-
};
|
|
4073
|
-
readonly description: "List of IP addresses assigned to this interface";
|
|
1141
|
+
readonly format: "date-time";
|
|
1142
|
+
readonly description: "The creation date of the log line.";
|
|
4074
1143
|
};
|
|
4075
|
-
readonly
|
|
1144
|
+
readonly message: {
|
|
4076
1145
|
readonly type: "string";
|
|
4077
|
-
readonly description: "
|
|
4078
|
-
};
|
|
4079
|
-
readonly mtu: {
|
|
4080
|
-
readonly type: "integer";
|
|
4081
|
-
readonly description: "Maximum Transmission Unit";
|
|
1146
|
+
readonly description: "The log message.";
|
|
4082
1147
|
};
|
|
4083
|
-
readonly
|
|
4084
|
-
readonly type: "
|
|
4085
|
-
readonly description: "
|
|
1148
|
+
readonly metadata: {
|
|
1149
|
+
readonly type: "object";
|
|
1150
|
+
readonly description: "The log metadata.";
|
|
4086
1151
|
};
|
|
4087
|
-
|
|
4088
|
-
|
|
4089
|
-
|
|
1152
|
+
};
|
|
1153
|
+
readonly required: readonly ["createdAt", "message", "metadata"];
|
|
1154
|
+
};
|
|
1155
|
+
export declare const LogLineLevelSchema: {
|
|
1156
|
+
readonly type: "string";
|
|
1157
|
+
readonly enum: readonly ["DEBUG", "INFO", "WARN", "ERROR"];
|
|
1158
|
+
};
|
|
1159
|
+
export declare const LogLineListSchema: {
|
|
1160
|
+
readonly properties: {
|
|
1161
|
+
readonly pagination: {
|
|
1162
|
+
readonly $ref: "#/components/schemas/PaginationResponse";
|
|
4090
1163
|
};
|
|
4091
|
-
readonly
|
|
4092
|
-
readonly type: "array";
|
|
1164
|
+
readonly rows: {
|
|
4093
1165
|
readonly items: {
|
|
4094
|
-
readonly
|
|
1166
|
+
readonly $ref: "#/components/schemas/LogLine";
|
|
4095
1167
|
};
|
|
4096
|
-
readonly
|
|
1168
|
+
readonly type: "array";
|
|
4097
1169
|
};
|
|
4098
1170
|
};
|
|
4099
1171
|
};
|
|
4100
|
-
export declare const
|
|
4101
|
-
readonly
|
|
4102
|
-
readonly required: readonly ["pid", "command", "isEmbedded"];
|
|
1172
|
+
export declare const CommonResultSchema: {
|
|
1173
|
+
readonly required: readonly ["Success", "Message"];
|
|
4103
1174
|
readonly properties: {
|
|
4104
|
-
readonly
|
|
4105
|
-
readonly type: "integer";
|
|
4106
|
-
readonly description: "Process ID";
|
|
4107
|
-
};
|
|
4108
|
-
readonly command: {
|
|
4109
|
-
readonly type: "string";
|
|
4110
|
-
readonly description: "Command line used to start the process";
|
|
4111
|
-
};
|
|
4112
|
-
readonly isEmbedded: {
|
|
1175
|
+
readonly Success: {
|
|
4113
1176
|
readonly type: "boolean";
|
|
4114
|
-
readonly description: "Whether this is an embedded Tor process";
|
|
4115
1177
|
};
|
|
4116
|
-
readonly
|
|
1178
|
+
readonly Message: {
|
|
4117
1179
|
readonly type: "string";
|
|
4118
|
-
readonly format: "date-time";
|
|
4119
|
-
readonly description: "When the process was started";
|
|
4120
|
-
};
|
|
4121
|
-
readonly memoryUsage: {
|
|
4122
|
-
readonly type: "integer";
|
|
4123
|
-
readonly description: "Memory usage in bytes";
|
|
4124
|
-
};
|
|
4125
|
-
readonly cpuUsage: {
|
|
4126
|
-
readonly type: "number";
|
|
4127
|
-
readonly description: "CPU usage percentage";
|
|
4128
1180
|
};
|
|
4129
|
-
readonly
|
|
4130
|
-
readonly type: "
|
|
4131
|
-
readonly enum: readonly ["running", "sleeping", "stopped", "zombie"];
|
|
4132
|
-
readonly description: "Process status";
|
|
1181
|
+
readonly other: {
|
|
1182
|
+
readonly type: "object";
|
|
4133
1183
|
};
|
|
4134
1184
|
};
|
|
4135
1185
|
};
|
|
4136
|
-
export declare const
|
|
4137
|
-
readonly description: "System information relevant to Tor operation";
|
|
4138
|
-
readonly required: readonly ["os", "architecture", "hasRootPrivileges"];
|
|
1186
|
+
export declare const FrontendConfigSchema: {
|
|
4139
1187
|
readonly properties: {
|
|
4140
|
-
readonly
|
|
1188
|
+
readonly cookieAccessToken: {
|
|
4141
1189
|
readonly type: "string";
|
|
4142
|
-
readonly description: "
|
|
1190
|
+
readonly description: "Cookie access token";
|
|
4143
1191
|
};
|
|
4144
|
-
readonly
|
|
1192
|
+
readonly dashPath: {
|
|
4145
1193
|
readonly type: "string";
|
|
4146
|
-
readonly description: "
|
|
4147
|
-
};
|
|
4148
|
-
readonly hasRootPrivileges: {
|
|
4149
|
-
readonly type: "boolean";
|
|
4150
|
-
readonly description: "Whether the process has root/admin privileges";
|
|
1194
|
+
readonly description: "Dashboard path";
|
|
4151
1195
|
};
|
|
4152
|
-
readonly
|
|
1196
|
+
readonly hotKeyDebug: {
|
|
4153
1197
|
readonly type: "string";
|
|
4154
|
-
readonly description: "
|
|
1198
|
+
readonly description: "Hot key debug";
|
|
4155
1199
|
};
|
|
4156
|
-
readonly
|
|
4157
|
-
readonly type: "
|
|
4158
|
-
readonly description: "
|
|
1200
|
+
readonly defaultTenantAccessToken: {
|
|
1201
|
+
readonly type: "string";
|
|
1202
|
+
readonly description: "实验性质,默认租户的access token";
|
|
4159
1203
|
};
|
|
4160
|
-
|
|
4161
|
-
|
|
4162
|
-
|
|
1204
|
+
};
|
|
1205
|
+
readonly required: readonly ["cookieAccessToken", "dashPath", "hotKeyDebug", "defaultTenantAccessToken"];
|
|
1206
|
+
};
|
|
1207
|
+
export declare const ServerInfoSchema: {
|
|
1208
|
+
readonly properties: {
|
|
1209
|
+
readonly version: {
|
|
1210
|
+
readonly type: "string";
|
|
1211
|
+
readonly description: "Server version";
|
|
4163
1212
|
};
|
|
4164
|
-
readonly
|
|
4165
|
-
readonly type: "
|
|
4166
|
-
readonly
|
|
4167
|
-
readonly
|
|
1213
|
+
readonly frontend: {
|
|
1214
|
+
readonly type: "object";
|
|
1215
|
+
readonly properties: {
|
|
1216
|
+
readonly port: {
|
|
1217
|
+
readonly type: "integer";
|
|
1218
|
+
readonly description: "Frontend server port";
|
|
1219
|
+
};
|
|
1220
|
+
readonly enabled: {
|
|
1221
|
+
readonly type: "boolean";
|
|
1222
|
+
readonly description: "Whether frontend is enabled";
|
|
1223
|
+
};
|
|
1224
|
+
readonly dir: {
|
|
1225
|
+
readonly type: "string";
|
|
1226
|
+
readonly description: "Frontend source directory";
|
|
1227
|
+
};
|
|
1228
|
+
readonly autoOpenBrowser: {
|
|
1229
|
+
readonly type: "boolean";
|
|
1230
|
+
readonly description: "Whether to auto open browser";
|
|
1231
|
+
};
|
|
4168
1232
|
};
|
|
4169
|
-
readonly
|
|
4170
|
-
};
|
|
4171
|
-
readonly isCodespaces: {
|
|
4172
|
-
readonly type: "boolean";
|
|
4173
|
-
readonly description: "Whether running in GitHub Codespaces";
|
|
1233
|
+
readonly required: readonly ["port", "enabled", "dir", "autoOpenBrowser"];
|
|
4174
1234
|
};
|
|
4175
|
-
readonly
|
|
4176
|
-
readonly type: "
|
|
4177
|
-
readonly
|
|
1235
|
+
readonly server: {
|
|
1236
|
+
readonly type: "object";
|
|
1237
|
+
readonly properties: {
|
|
1238
|
+
readonly port: {
|
|
1239
|
+
readonly type: "integer";
|
|
1240
|
+
readonly description: "Server port";
|
|
1241
|
+
};
|
|
1242
|
+
readonly host: {
|
|
1243
|
+
readonly type: "string";
|
|
1244
|
+
readonly description: "Server host";
|
|
1245
|
+
};
|
|
1246
|
+
};
|
|
1247
|
+
readonly required: readonly ["port", "host"];
|
|
4178
1248
|
};
|
|
4179
1249
|
};
|
|
1250
|
+
readonly required: readonly ["version", "frontend", "server"];
|
|
4180
1251
|
};
|
|
4181
|
-
export declare const
|
|
4182
|
-
readonly
|
|
1252
|
+
export declare const FormFieldSchema: {
|
|
1253
|
+
readonly required: readonly ["type", "name"];
|
|
4183
1254
|
readonly properties: {
|
|
4184
|
-
readonly
|
|
1255
|
+
readonly type: {
|
|
4185
1256
|
readonly type: "string";
|
|
4186
|
-
readonly
|
|
1257
|
+
readonly enum: readonly ["text", "number", "boolean", "array", "object"];
|
|
1258
|
+
readonly default: "text";
|
|
4187
1259
|
};
|
|
4188
|
-
readonly
|
|
4189
|
-
readonly type: "
|
|
4190
|
-
readonly description: "Whether embedded Tor is currently active";
|
|
1260
|
+
readonly name: {
|
|
1261
|
+
readonly type: "string";
|
|
4191
1262
|
};
|
|
4192
|
-
readonly
|
|
1263
|
+
readonly default_value: {
|
|
4193
1264
|
readonly type: "string";
|
|
4194
|
-
readonly description: "Path to Tor data directory";
|
|
4195
1265
|
};
|
|
4196
|
-
readonly
|
|
4197
|
-
readonly type: "
|
|
4198
|
-
readonly description: "Summary of current Tor configuration";
|
|
1266
|
+
readonly label: {
|
|
1267
|
+
readonly type: "string";
|
|
4199
1268
|
};
|
|
4200
|
-
readonly
|
|
4201
|
-
readonly type: "
|
|
4202
|
-
readonly minimum: 0;
|
|
4203
|
-
readonly maximum: 100;
|
|
4204
|
-
readonly description: "Tor bootstrap progress percentage";
|
|
1269
|
+
readonly description: {
|
|
1270
|
+
readonly type: "string";
|
|
4205
1271
|
};
|
|
4206
|
-
readonly
|
|
4207
|
-
readonly type: "
|
|
4208
|
-
readonly description: "Number of active circuits";
|
|
1272
|
+
readonly required: {
|
|
1273
|
+
readonly type: "boolean";
|
|
4209
1274
|
};
|
|
4210
|
-
readonly
|
|
4211
|
-
readonly type: "
|
|
4212
|
-
|
|
1275
|
+
readonly min: {
|
|
1276
|
+
readonly type: "number";
|
|
1277
|
+
};
|
|
1278
|
+
readonly max: {
|
|
1279
|
+
readonly type: "number";
|
|
1280
|
+
};
|
|
1281
|
+
readonly placeholder: {
|
|
1282
|
+
readonly type: "string";
|
|
4213
1283
|
};
|
|
4214
1284
|
};
|
|
4215
1285
|
};
|
|
4216
|
-
export declare const
|
|
4217
|
-
readonly
|
|
4218
|
-
readonly required: readonly ["destination", "gateway", "interface"];
|
|
1286
|
+
export declare const SchemaFormSchema: {
|
|
1287
|
+
readonly required: readonly ["title", "fields"];
|
|
4219
1288
|
readonly properties: {
|
|
4220
|
-
readonly
|
|
1289
|
+
readonly form_type: {
|
|
4221
1290
|
readonly type: "string";
|
|
4222
|
-
readonly
|
|
1291
|
+
readonly enum: readonly ["schema", "custom"];
|
|
1292
|
+
readonly default: "schema";
|
|
4223
1293
|
};
|
|
4224
|
-
readonly
|
|
1294
|
+
readonly form_name: {
|
|
4225
1295
|
readonly type: "string";
|
|
4226
|
-
readonly description: "Gateway IP address";
|
|
4227
1296
|
};
|
|
4228
|
-
readonly
|
|
1297
|
+
readonly title: {
|
|
4229
1298
|
readonly type: "string";
|
|
4230
|
-
readonly description: "Network interface name";
|
|
4231
|
-
};
|
|
4232
|
-
readonly metric: {
|
|
4233
|
-
readonly type: "integer";
|
|
4234
|
-
readonly description: "Route metric/priority";
|
|
4235
1299
|
};
|
|
4236
|
-
readonly
|
|
4237
|
-
readonly type: "
|
|
4238
|
-
readonly items: {
|
|
4239
|
-
readonly type: "string";
|
|
4240
|
-
};
|
|
4241
|
-
readonly description: "Route flags";
|
|
1300
|
+
readonly description: {
|
|
1301
|
+
readonly type: "string";
|
|
4242
1302
|
};
|
|
4243
|
-
|
|
4244
|
-
|
|
4245
|
-
|
|
4246
|
-
|
|
4247
|
-
readonly properties: {
|
|
4248
|
-
readonly nameservers: {
|
|
4249
|
-
readonly type: "array";
|
|
4250
|
-
readonly items: {
|
|
4251
|
-
readonly type: "string";
|
|
4252
|
-
};
|
|
4253
|
-
readonly description: "List of configured DNS nameservers";
|
|
1303
|
+
readonly layout: {
|
|
1304
|
+
readonly type: "string";
|
|
1305
|
+
readonly enum: readonly ["vertical", "horizontal"];
|
|
1306
|
+
readonly default: "vertical";
|
|
4254
1307
|
};
|
|
4255
|
-
readonly
|
|
1308
|
+
readonly fields: {
|
|
4256
1309
|
readonly type: "array";
|
|
4257
1310
|
readonly items: {
|
|
4258
|
-
readonly
|
|
1311
|
+
readonly $ref: "#/components/schemas/FormField";
|
|
4259
1312
|
};
|
|
4260
|
-
readonly description: "DNS search domains";
|
|
4261
|
-
};
|
|
4262
|
-
readonly torDNSPort: {
|
|
4263
|
-
readonly type: "integer";
|
|
4264
|
-
readonly description: "Port used for Tor DNS resolution";
|
|
4265
|
-
};
|
|
4266
|
-
readonly dnsOverTor: {
|
|
4267
|
-
readonly type: "boolean";
|
|
4268
|
-
readonly description: "Whether DNS queries are routed through Tor";
|
|
4269
1313
|
};
|
|
4270
1314
|
};
|
|
4271
1315
|
};
|
|
4272
|
-
export declare const
|
|
4273
|
-
readonly
|
|
1316
|
+
export declare const TunnelConfigSchema: {
|
|
1317
|
+
readonly type: "object";
|
|
4274
1318
|
readonly properties: {
|
|
4275
|
-
readonly
|
|
4276
|
-
readonly type: "
|
|
4277
|
-
readonly description: "
|
|
4278
|
-
|
|
4279
|
-
readonly bytesReceived: {
|
|
4280
|
-
readonly type: "integer";
|
|
4281
|
-
readonly description: "Total bytes received";
|
|
4282
|
-
};
|
|
4283
|
-
readonly bytesSent: {
|
|
4284
|
-
readonly type: "integer";
|
|
4285
|
-
readonly description: "Total bytes sent";
|
|
1319
|
+
readonly cloudflareToken: {
|
|
1320
|
+
readonly type: "string";
|
|
1321
|
+
readonly description: "Cloudflare API token for tunnel management";
|
|
1322
|
+
readonly example: "cf_token_123456789";
|
|
4286
1323
|
};
|
|
4287
|
-
readonly
|
|
4288
|
-
readonly type: "
|
|
4289
|
-
readonly description: "
|
|
1324
|
+
readonly domain: {
|
|
1325
|
+
readonly type: "string";
|
|
1326
|
+
readonly description: "Domain name for the tunnel";
|
|
1327
|
+
readonly example: "yuepa8.com";
|
|
4290
1328
|
};
|
|
4291
|
-
readonly
|
|
4292
|
-
readonly type: "
|
|
4293
|
-
readonly description: "
|
|
1329
|
+
readonly localPort: {
|
|
1330
|
+
readonly type: "string";
|
|
1331
|
+
readonly description: "Local port number for the tunnel";
|
|
1332
|
+
readonly example: "7788";
|
|
4294
1333
|
};
|
|
4295
|
-
readonly
|
|
1334
|
+
readonly tunnelName: {
|
|
4296
1335
|
readonly type: "string";
|
|
4297
|
-
readonly
|
|
4298
|
-
readonly
|
|
1336
|
+
readonly description: "Custom tunnel name (optional)";
|
|
1337
|
+
readonly example: "my-tunnel";
|
|
4299
1338
|
};
|
|
4300
|
-
|
|
4301
|
-
};
|
|
4302
|
-
export declare const MobileHelloSchema: {
|
|
4303
|
-
readonly type: "object";
|
|
4304
|
-
readonly properties: {
|
|
4305
|
-
readonly message: {
|
|
1339
|
+
readonly description: {
|
|
4306
1340
|
readonly type: "string";
|
|
1341
|
+
readonly description: "Description of the tunnel configuration";
|
|
1342
|
+
readonly example: "Development tunnel for testing";
|
|
4307
1343
|
};
|
|
4308
1344
|
};
|
|
1345
|
+
readonly required: readonly ["cloudflareToken", "domain", "localPort"];
|
|
4309
1346
|
};
|
|
4310
|
-
export declare const
|
|
1347
|
+
export declare const UserSettingsSchema: {
|
|
4311
1348
|
readonly type: "object";
|
|
4312
1349
|
readonly properties: {
|
|
4313
|
-
readonly
|
|
4314
|
-
readonly
|
|
4315
|
-
|
|
4316
|
-
|
|
4317
|
-
readonly
|
|
1350
|
+
readonly metadata: {
|
|
1351
|
+
readonly $ref: "#/components/schemas/APIResourceMeta";
|
|
1352
|
+
};
|
|
1353
|
+
readonly tunnelConfig: {
|
|
1354
|
+
readonly $ref: "#/components/schemas/TunnelConfig";
|
|
1355
|
+
readonly description: "Cloudflare tunnel configuration (user-specific)";
|
|
1356
|
+
};
|
|
1357
|
+
readonly exportMetadata: {
|
|
1358
|
+
readonly type: "object";
|
|
1359
|
+
readonly description: "Metadata about settings export/import";
|
|
1360
|
+
readonly properties: {
|
|
1361
|
+
readonly exportTimestamp: {
|
|
1362
|
+
readonly type: "string";
|
|
1363
|
+
readonly format: "date-time";
|
|
1364
|
+
readonly description: "When the settings were last exported";
|
|
1365
|
+
};
|
|
1366
|
+
readonly exportVersion: {
|
|
1367
|
+
readonly type: "string";
|
|
1368
|
+
readonly description: "Version of the export format";
|
|
1369
|
+
readonly example: "1.0";
|
|
1370
|
+
};
|
|
1371
|
+
readonly exportBy: {
|
|
1372
|
+
readonly type: "string";
|
|
1373
|
+
readonly description: "Who exported the settings";
|
|
1374
|
+
readonly example: "user";
|
|
1375
|
+
};
|
|
1376
|
+
};
|
|
4318
1377
|
};
|
|
4319
1378
|
};
|
|
4320
|
-
readonly required: readonly ["
|
|
1379
|
+
readonly required: readonly ["metadata"];
|
|
4321
1380
|
};
|
|
4322
|
-
export declare const
|
|
1381
|
+
export declare const UserSettingsCreateRequestSchema: {
|
|
4323
1382
|
readonly type: "object";
|
|
4324
1383
|
readonly properties: {
|
|
4325
|
-
readonly
|
|
4326
|
-
readonly
|
|
4327
|
-
readonly description: "
|
|
4328
|
-
readonly example: true;
|
|
4329
|
-
};
|
|
4330
|
-
readonly message: {
|
|
4331
|
-
readonly type: "string";
|
|
4332
|
-
readonly description: "Success message";
|
|
4333
|
-
readonly example: "Database configured successfully";
|
|
1384
|
+
readonly tunnelConfig: {
|
|
1385
|
+
readonly $ref: "#/components/schemas/TunnelConfig";
|
|
1386
|
+
readonly description: "Cloudflare tunnel configuration (user-specific)";
|
|
4334
1387
|
};
|
|
4335
|
-
readonly
|
|
4336
|
-
readonly type: "
|
|
4337
|
-
readonly description: "
|
|
4338
|
-
readonly
|
|
1388
|
+
readonly exportMetadata: {
|
|
1389
|
+
readonly type: "object";
|
|
1390
|
+
readonly description: "Metadata about settings export/import";
|
|
1391
|
+
readonly properties: {
|
|
1392
|
+
readonly exportTimestamp: {
|
|
1393
|
+
readonly type: "string";
|
|
1394
|
+
readonly format: "date-time";
|
|
1395
|
+
readonly description: "When the settings were last exported";
|
|
1396
|
+
};
|
|
1397
|
+
readonly exportVersion: {
|
|
1398
|
+
readonly type: "string";
|
|
1399
|
+
readonly description: "Version of the export format";
|
|
1400
|
+
readonly example: "1.0";
|
|
1401
|
+
};
|
|
1402
|
+
readonly exportBy: {
|
|
1403
|
+
readonly type: "string";
|
|
1404
|
+
readonly description: "Who exported the settings";
|
|
1405
|
+
readonly example: "user";
|
|
1406
|
+
};
|
|
1407
|
+
};
|
|
4339
1408
|
};
|
|
4340
1409
|
};
|
|
4341
|
-
readonly required: readonly ["success", "message"];
|
|
4342
1410
|
};
|
|
4343
|
-
export declare const
|
|
1411
|
+
export declare const UserSettingsUpdateRequestSchema: {
|
|
4344
1412
|
readonly type: "object";
|
|
4345
1413
|
readonly properties: {
|
|
4346
|
-
readonly
|
|
4347
|
-
readonly
|
|
4348
|
-
readonly description: "
|
|
4349
|
-
readonly example: true;
|
|
4350
|
-
};
|
|
4351
|
-
readonly setupComplete: {
|
|
4352
|
-
readonly type: "boolean";
|
|
4353
|
-
readonly description: "Whether system setup is complete (only database configuration needed)";
|
|
4354
|
-
readonly example: false;
|
|
4355
|
-
};
|
|
4356
|
-
readonly dbReady: {
|
|
4357
|
-
readonly type: "boolean";
|
|
4358
|
-
readonly description: "Whether the database connection has been validated and is ready";
|
|
4359
|
-
readonly example: false;
|
|
4360
|
-
};
|
|
4361
|
-
readonly lastError: {
|
|
4362
|
-
readonly type: "string";
|
|
4363
|
-
readonly nullable: true;
|
|
4364
|
-
readonly description: "Last error message occurred during validation (if any)";
|
|
4365
|
-
readonly example: "could not connect to database: timeout";
|
|
1414
|
+
readonly tunnelConfig: {
|
|
1415
|
+
readonly $ref: "#/components/schemas/TunnelConfig";
|
|
1416
|
+
readonly description: "Cloudflare tunnel configuration (user-specific)";
|
|
4366
1417
|
};
|
|
4367
|
-
readonly
|
|
4368
|
-
readonly type: "
|
|
4369
|
-
readonly
|
|
4370
|
-
readonly
|
|
4371
|
-
|
|
1418
|
+
readonly exportMetadata: {
|
|
1419
|
+
readonly type: "object";
|
|
1420
|
+
readonly description: "Metadata about settings export/import";
|
|
1421
|
+
readonly properties: {
|
|
1422
|
+
readonly exportTimestamp: {
|
|
1423
|
+
readonly type: "string";
|
|
1424
|
+
readonly format: "date-time";
|
|
1425
|
+
readonly description: "When the settings were last exported";
|
|
1426
|
+
};
|
|
1427
|
+
readonly exportVersion: {
|
|
1428
|
+
readonly type: "string";
|
|
1429
|
+
readonly description: "Version of the export format";
|
|
1430
|
+
readonly example: "1.0";
|
|
1431
|
+
};
|
|
1432
|
+
readonly exportBy: {
|
|
1433
|
+
readonly type: "string";
|
|
1434
|
+
readonly description: "Who exported the settings";
|
|
1435
|
+
readonly example: "user";
|
|
1436
|
+
};
|
|
1437
|
+
};
|
|
4372
1438
|
};
|
|
4373
1439
|
};
|
|
4374
|
-
readonly required: readonly ["databaseConfigured", "setupComplete", "nextStep"];
|
|
4375
|
-
};
|
|
4376
|
-
export declare const CreateSiteResponseSchema: {
|
|
4377
|
-
readonly $ref: "#/components/schemas/Site";
|
|
4378
1440
|
};
|
|
4379
|
-
export declare const
|
|
4380
|
-
readonly
|
|
4381
|
-
|
|
4382
|
-
export declare const UpdateSiteHostRequestSchema: {
|
|
4383
|
-
readonly $ref: "#/components/schemas/SiteHost";
|
|
1441
|
+
export declare const TenantVersionSchema: {
|
|
1442
|
+
readonly enum: readonly ["V0", "V1"];
|
|
1443
|
+
readonly type: "string";
|
|
4384
1444
|
};
|
|
4385
1445
|
//# sourceMappingURL=schemas.gen.d.ts.map
|