mtmsdk 0.0.14 → 0.0.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/adk/api/client.d.ts +9 -0
- package/dist/adk/api/client.d.ts.map +1 -0
- package/dist/adk/api/client.js +39 -0
- package/dist/adk/api/client.js.map +1 -0
- package/dist/adk/core/constants/tool-icons.d.ts +21 -0
- package/dist/adk/core/constants/tool-icons.d.ts.map +1 -0
- package/dist/adk/core/constants/tool-icons.js +47 -0
- package/dist/adk/core/constants/tool-icons.js.map +1 -0
- package/dist/adk/core/models/AgentBuilder.d.ts +77 -0
- package/dist/adk/core/models/AgentBuilder.d.ts.map +1 -0
- package/dist/adk/core/models/AgentBuilder.js +18 -0
- package/dist/adk/core/models/AgentBuilder.js.map +1 -0
- package/dist/adk/core/models/AgentRunRequest.d.ts +37 -0
- package/dist/adk/core/models/AgentRunRequest.d.ts.map +1 -0
- package/dist/adk/core/models/AgentRunRequest.js +18 -0
- package/dist/adk/core/models/AgentRunRequest.js.map +1 -0
- package/dist/adk/core/models/Eval.d.ts +55 -0
- package/dist/adk/core/models/Eval.d.ts.map +1 -0
- package/dist/adk/core/models/Eval.js +27 -0
- package/dist/adk/core/models/Eval.js.map +1 -0
- package/dist/adk/core/models/LiveRequest.d.ts +23 -0
- package/dist/adk/core/models/LiveRequest.d.ts.map +1 -0
- package/dist/adk/core/models/LiveRequest.js +18 -0
- package/dist/adk/core/models/LiveRequest.js.map +1 -0
- package/dist/adk/core/models/RuntimeConfig.d.ts +32 -0
- package/dist/adk/core/models/RuntimeConfig.d.ts.map +1 -0
- package/dist/adk/core/models/RuntimeConfig.js +18 -0
- package/dist/adk/core/models/RuntimeConfig.js.map +1 -0
- package/dist/adk/core/models/Session.d.ts +117 -0
- package/dist/adk/core/models/Session.d.ts.map +1 -0
- package/dist/adk/core/models/Session.js +31 -0
- package/dist/adk/core/models/Session.js.map +1 -0
- package/dist/adk/core/models/Trace.d.ts +40 -0
- package/dist/adk/core/models/Trace.d.ts.map +1 -0
- package/dist/adk/core/models/Trace.js +2 -0
- package/dist/adk/core/models/Trace.js.map +1 -0
- package/dist/adk/core/models/types.d.ts +338 -0
- package/dist/adk/core/models/types.d.ts.map +1 -0
- package/dist/adk/core/models/types.js +189 -0
- package/dist/adk/core/models/types.js.map +1 -0
- package/dist/api_hatchet/@tanstack/react-query.gen.d.ts +3017 -0
- package/dist/api_hatchet/@tanstack/react-query.gen.d.ts.map +1 -0
- package/dist/api_hatchet/@tanstack/react-query.gen.js +2776 -0
- package/dist/api_hatchet/@tanstack/react-query.gen.js.map +1 -0
- package/dist/api_hatchet/client/client.gen.d.ts +3 -0
- package/dist/api_hatchet/client/client.gen.d.ts.map +1 -0
- package/dist/{gomtmapi → api_hatchet}/client/client.gen.js +70 -46
- package/dist/api_hatchet/client/client.gen.js.map +1 -0
- package/dist/api_hatchet/client/index.d.ts +9 -0
- package/dist/api_hatchet/client/index.d.ts.map +1 -0
- package/dist/api_hatchet/client/index.js +7 -0
- package/dist/api_hatchet/client/index.js.map +1 -0
- package/dist/{gomtmapi → api_hatchet}/client/types.gen.d.ts +19 -26
- package/dist/api_hatchet/client/types.gen.d.ts.map +1 -0
- package/dist/api_hatchet/client/types.gen.js.map +1 -0
- package/dist/{gomtmapi → api_hatchet}/client/utils.gen.d.ts +4 -4
- package/dist/api_hatchet/client/utils.gen.d.ts.map +1 -0
- package/dist/{gomtmapi → api_hatchet}/client/utils.gen.js +41 -40
- package/dist/api_hatchet/client/utils.gen.js.map +1 -0
- package/dist/{gomtmapi → api_hatchet}/client.gen.d.ts +2 -2
- package/dist/api_hatchet/client.gen.d.ts.map +1 -0
- package/dist/{gomtmapi → api_hatchet}/client.gen.js +1 -1
- package/dist/api_hatchet/client.gen.js.map +1 -0
- package/dist/{gomtmapi → api_hatchet}/core/auth.gen.d.ts +3 -3
- package/dist/api_hatchet/core/auth.gen.d.ts.map +1 -0
- package/dist/{gomtmapi → api_hatchet}/core/auth.gen.js +3 -3
- package/dist/api_hatchet/core/auth.gen.js.map +1 -0
- package/dist/{gomtmapi → api_hatchet}/core/bodySerializer.gen.d.ts +13 -5
- package/dist/api_hatchet/core/bodySerializer.gen.d.ts.map +1 -0
- package/dist/{gomtmapi → api_hatchet}/core/bodySerializer.gen.js +3 -3
- package/dist/api_hatchet/core/bodySerializer.gen.js.map +1 -0
- package/dist/{gomtmapi → api_hatchet}/core/params.gen.d.ts +13 -3
- package/dist/api_hatchet/core/params.gen.d.ts.map +1 -0
- package/dist/{gomtmapi → api_hatchet}/core/params.gen.js +24 -12
- package/dist/api_hatchet/core/params.gen.js.map +1 -0
- package/dist/{gomtmapi → api_hatchet}/core/pathSerializer.gen.d.ts +3 -3
- package/dist/api_hatchet/core/pathSerializer.gen.d.ts.map +1 -0
- package/dist/{gomtmapi → api_hatchet}/core/pathSerializer.gen.js +36 -36
- package/dist/api_hatchet/core/pathSerializer.gen.js.map +1 -0
- package/dist/api_hatchet/core/queryKeySerializer.gen.d.ts +19 -0
- package/dist/api_hatchet/core/queryKeySerializer.gen.d.ts.map +1 -0
- package/dist/api_hatchet/core/queryKeySerializer.gen.js +100 -0
- package/dist/api_hatchet/core/queryKeySerializer.gen.js.map +1 -0
- package/dist/{gomtmapi → api_hatchet}/core/serverSentEvents.gen.d.ts +3 -3
- package/dist/api_hatchet/core/serverSentEvents.gen.d.ts.map +1 -0
- package/dist/{gomtmapi → api_hatchet}/core/serverSentEvents.gen.js +20 -18
- package/dist/api_hatchet/core/serverSentEvents.gen.js.map +1 -0
- package/dist/{gomtmapi → api_hatchet}/core/types.gen.d.ts +4 -4
- package/dist/api_hatchet/core/types.gen.d.ts.map +1 -0
- package/dist/api_hatchet/core/types.gen.js.map +1 -0
- package/dist/{gomtmapi → api_hatchet}/core/utils.gen.d.ts +1 -1
- package/dist/api_hatchet/core/utils.gen.d.ts.map +1 -0
- package/dist/{gomtmapi → api_hatchet}/core/utils.gen.js +17 -17
- package/dist/api_hatchet/core/utils.gen.js.map +1 -0
- package/dist/api_hatchet/index.d.ts +3 -0
- package/dist/api_hatchet/index.d.ts.map +1 -0
- package/dist/api_hatchet/index.js +4 -0
- package/dist/api_hatchet/index.js.map +1 -0
- package/dist/api_hatchet/schemas.gen.d.ts +4068 -0
- package/dist/api_hatchet/schemas.gen.d.ts.map +1 -0
- package/dist/api_hatchet/schemas.gen.js +4743 -0
- package/dist/api_hatchet/schemas.gen.js.map +1 -0
- package/dist/api_hatchet/sdk.gen.d.ts +784 -0
- package/dist/api_hatchet/sdk.gen.d.ts.map +1 -0
- package/dist/api_hatchet/sdk.gen.js +1849 -0
- package/dist/api_hatchet/sdk.gen.js.map +1 -0
- package/dist/api_hatchet/types.gen.d.ts +6861 -0
- package/dist/api_hatchet/types.gen.d.ts.map +1 -0
- package/dist/api_hatchet/types.gen.js +209 -0
- package/dist/api_hatchet/types.gen.js.map +1 -0
- package/dist/api_hatchet/zod.gen.d.ts +10429 -0
- package/dist/api_hatchet/zod.gen.d.ts.map +1 -0
- package/dist/api_hatchet/zod.gen.js +2766 -0
- package/dist/api_hatchet/zod.gen.js.map +1 -0
- package/dist/gomtmapi_v2/@tanstack/react-query.gen.d.ts +156 -668
- package/dist/gomtmapi_v2/@tanstack/react-query.gen.d.ts.map +1 -1
- package/dist/gomtmapi_v2/@tanstack/react-query.gen.js +460 -1007
- package/dist/gomtmapi_v2/@tanstack/react-query.gen.js.map +1 -1
- package/dist/gomtmapi_v2/client/client.gen.d.ts +1 -1
- package/dist/gomtmapi_v2/client/client.gen.d.ts.map +1 -1
- package/dist/gomtmapi_v2/client/client.gen.js +70 -46
- package/dist/gomtmapi_v2/client/client.gen.js.map +1 -1
- package/dist/gomtmapi_v2/client/index.d.ts +8 -7
- package/dist/gomtmapi_v2/client/index.d.ts.map +1 -1
- package/dist/gomtmapi_v2/client/index.js +5 -4
- package/dist/gomtmapi_v2/client/index.js.map +1 -1
- package/dist/gomtmapi_v2/client/types.gen.d.ts +19 -26
- package/dist/gomtmapi_v2/client/types.gen.d.ts.map +1 -1
- package/dist/gomtmapi_v2/client/utils.gen.d.ts +4 -4
- package/dist/gomtmapi_v2/client/utils.gen.d.ts.map +1 -1
- package/dist/gomtmapi_v2/client/utils.gen.js +41 -40
- package/dist/gomtmapi_v2/client/utils.gen.js.map +1 -1
- package/dist/gomtmapi_v2/client.gen.d.ts +2 -2
- package/dist/gomtmapi_v2/client.gen.d.ts.map +1 -1
- package/dist/gomtmapi_v2/client.gen.js +1 -1
- package/dist/gomtmapi_v2/client.gen.js.map +1 -1
- package/dist/gomtmapi_v2/core/auth.gen.d.ts +3 -3
- package/dist/gomtmapi_v2/core/auth.gen.js +3 -3
- package/dist/gomtmapi_v2/core/bodySerializer.gen.d.ts +13 -5
- package/dist/gomtmapi_v2/core/bodySerializer.gen.d.ts.map +1 -1
- package/dist/gomtmapi_v2/core/bodySerializer.gen.js +3 -3
- package/dist/gomtmapi_v2/core/bodySerializer.gen.js.map +1 -1
- package/dist/gomtmapi_v2/core/params.gen.d.ts +13 -3
- package/dist/gomtmapi_v2/core/params.gen.d.ts.map +1 -1
- package/dist/gomtmapi_v2/core/params.gen.js +24 -12
- package/dist/gomtmapi_v2/core/params.gen.js.map +1 -1
- package/dist/gomtmapi_v2/core/pathSerializer.gen.d.ts +3 -3
- package/dist/gomtmapi_v2/core/pathSerializer.gen.js +36 -36
- package/dist/gomtmapi_v2/core/queryKeySerializer.gen.d.ts +19 -0
- package/dist/gomtmapi_v2/core/queryKeySerializer.gen.d.ts.map +1 -0
- package/dist/gomtmapi_v2/core/queryKeySerializer.gen.js +100 -0
- package/dist/gomtmapi_v2/core/queryKeySerializer.gen.js.map +1 -0
- package/dist/gomtmapi_v2/core/serverSentEvents.gen.d.ts +3 -3
- package/dist/gomtmapi_v2/core/serverSentEvents.gen.d.ts.map +1 -1
- package/dist/gomtmapi_v2/core/serverSentEvents.gen.js +20 -18
- package/dist/gomtmapi_v2/core/serverSentEvents.gen.js.map +1 -1
- package/dist/gomtmapi_v2/core/types.gen.d.ts +4 -4
- package/dist/gomtmapi_v2/core/types.gen.d.ts.map +1 -1
- package/dist/gomtmapi_v2/core/utils.gen.d.ts +1 -1
- package/dist/gomtmapi_v2/core/utils.gen.js +17 -17
- package/dist/gomtmapi_v2/index.d.ts +2 -2
- package/dist/gomtmapi_v2/index.js +1 -1
- package/dist/gomtmapi_v2/schemas.gen.d.ts +51 -727
- package/dist/gomtmapi_v2/schemas.gen.d.ts.map +1 -1
- package/dist/gomtmapi_v2/schemas.gen.js +752 -1392
- package/dist/gomtmapi_v2/schemas.gen.js.map +1 -1
- package/dist/gomtmapi_v2/sdk.gen.d.ts +90 -362
- package/dist/gomtmapi_v2/sdk.gen.d.ts.map +1 -1
- package/dist/gomtmapi_v2/sdk.gen.js +241 -776
- package/dist/gomtmapi_v2/sdk.gen.js.map +1 -1
- package/dist/gomtmapi_v2/types.gen.d.ts +132 -917
- package/dist/gomtmapi_v2/types.gen.d.ts.map +1 -1
- package/dist/gomtmapi_v2/zod.gen.d.ts +40 -734
- package/dist/gomtmapi_v2/zod.gen.d.ts.map +1 -1
- package/dist/gomtmapi_v2/zod.gen.js +191 -651
- package/dist/gomtmapi_v2/zod.gen.js.map +1 -1
- package/dist/lib/aisdk/types.d.ts +3 -0
- package/dist/lib/aisdk/types.d.ts.map +1 -0
- package/dist/lib/aisdk/types.js +5 -0
- package/dist/lib/aisdk/types.js.map +1 -0
- package/dist/lib/logger/index.d.ts +19 -0
- package/dist/lib/logger/index.d.ts.map +1 -0
- package/dist/lib/logger/index.js +7 -0
- package/dist/lib/logger/index.js.map +1 -0
- package/dist/lib/schema.d.ts +41 -0
- package/dist/lib/schema.d.ts.map +1 -0
- package/dist/lib/schema.js +37 -0
- package/dist/lib/schema.js.map +1 -0
- package/dist/lib/utils.d.ts +14 -0
- package/dist/lib/utils.d.ts.map +1 -0
- package/dist/lib/utils.js +45 -0
- package/dist/lib/utils.js.map +1 -0
- package/dist/mtgate_api/@tanstack/react-query.gen.d.ts +194 -1693
- package/dist/mtgate_api/@tanstack/react-query.gen.d.ts.map +1 -1
- package/dist/mtgate_api/@tanstack/react-query.gen.js +234 -1405
- package/dist/mtgate_api/@tanstack/react-query.gen.js.map +1 -1
- package/dist/mtgate_api/client/client.gen.d.ts +1 -1
- package/dist/mtgate_api/client/client.gen.d.ts.map +1 -1
- package/dist/mtgate_api/client/client.gen.js +70 -46
- package/dist/mtgate_api/client/client.gen.js.map +1 -1
- package/dist/mtgate_api/client/index.d.ts +8 -7
- package/dist/mtgate_api/client/index.d.ts.map +1 -1
- package/dist/mtgate_api/client/index.js +5 -4
- package/dist/mtgate_api/client/index.js.map +1 -1
- package/dist/mtgate_api/client/types.gen.d.ts +19 -26
- package/dist/mtgate_api/client/types.gen.d.ts.map +1 -1
- package/dist/mtgate_api/client/utils.gen.d.ts +4 -4
- package/dist/mtgate_api/client/utils.gen.d.ts.map +1 -1
- package/dist/mtgate_api/client/utils.gen.js +41 -40
- package/dist/mtgate_api/client/utils.gen.js.map +1 -1
- package/dist/mtgate_api/client.gen.d.ts +2 -2
- package/dist/mtgate_api/client.gen.d.ts.map +1 -1
- package/dist/mtgate_api/client.gen.js +2 -4
- package/dist/mtgate_api/client.gen.js.map +1 -1
- package/dist/mtgate_api/core/auth.gen.d.ts +3 -3
- package/dist/mtgate_api/core/auth.gen.js +3 -3
- package/dist/mtgate_api/core/bodySerializer.gen.d.ts +13 -5
- package/dist/mtgate_api/core/bodySerializer.gen.d.ts.map +1 -1
- package/dist/mtgate_api/core/bodySerializer.gen.js +3 -3
- package/dist/mtgate_api/core/bodySerializer.gen.js.map +1 -1
- package/dist/mtgate_api/core/params.gen.d.ts +13 -3
- package/dist/mtgate_api/core/params.gen.d.ts.map +1 -1
- package/dist/mtgate_api/core/params.gen.js +24 -12
- package/dist/mtgate_api/core/params.gen.js.map +1 -1
- package/dist/mtgate_api/core/pathSerializer.gen.d.ts +3 -3
- package/dist/mtgate_api/core/pathSerializer.gen.js +36 -36
- package/dist/mtgate_api/core/queryKeySerializer.gen.d.ts +19 -0
- package/dist/mtgate_api/core/queryKeySerializer.gen.d.ts.map +1 -0
- package/dist/mtgate_api/core/queryKeySerializer.gen.js +100 -0
- package/dist/mtgate_api/core/queryKeySerializer.gen.js.map +1 -0
- package/dist/mtgate_api/core/serverSentEvents.gen.d.ts +3 -3
- package/dist/mtgate_api/core/serverSentEvents.gen.d.ts.map +1 -1
- package/dist/mtgate_api/core/serverSentEvents.gen.js +20 -18
- package/dist/mtgate_api/core/serverSentEvents.gen.js.map +1 -1
- package/dist/mtgate_api/core/types.gen.d.ts +4 -4
- package/dist/mtgate_api/core/types.gen.d.ts.map +1 -1
- package/dist/mtgate_api/core/utils.gen.d.ts +1 -1
- package/dist/mtgate_api/core/utils.gen.js +17 -17
- package/dist/mtgate_api/index.d.ts +2 -2
- package/dist/mtgate_api/index.d.ts.map +1 -1
- package/dist/mtgate_api/index.js +1 -2
- package/dist/mtgate_api/index.js.map +1 -1
- package/dist/mtgate_api/schemas.gen.d.ts +384 -1302
- package/dist/mtgate_api/schemas.gen.d.ts.map +1 -1
- package/dist/mtgate_api/schemas.gen.js +595 -1485
- package/dist/mtgate_api/schemas.gen.js.map +1 -1
- package/dist/mtgate_api/sdk.gen.d.ts +25 -137
- package/dist/mtgate_api/sdk.gen.d.ts.map +1 -1
- package/dist/mtgate_api/sdk.gen.js +97 -643
- package/dist/mtgate_api/sdk.gen.js.map +1 -1
- package/dist/mtgate_api/types.gen.d.ts +432 -2300
- package/dist/mtgate_api/types.gen.d.ts.map +1 -1
- package/dist/mtgate_api/types.gen.js +1 -7
- package/dist/mtgate_api/types.gen.js.map +1 -1
- package/dist/mtgate_api/zod.gen.d.ts +985 -2672
- package/dist/mtgate_api/zod.gen.d.ts.map +1 -1
- package/dist/mtgate_api/zod.gen.js +322 -1472
- package/dist/mtgate_api/zod.gen.js.map +1 -1
- package/dist/mtmai_api/@tanstack/react-query.gen.d.ts +105 -82
- package/dist/mtmai_api/@tanstack/react-query.gen.d.ts.map +1 -1
- package/dist/mtmai_api/@tanstack/react-query.gen.js +439 -475
- package/dist/mtmai_api/@tanstack/react-query.gen.js.map +1 -1
- package/dist/mtmai_api/client/client.gen.d.ts +1 -1
- package/dist/mtmai_api/client/client.gen.d.ts.map +1 -1
- package/dist/mtmai_api/client/client.gen.js +70 -46
- package/dist/mtmai_api/client/client.gen.js.map +1 -1
- package/dist/mtmai_api/client/index.d.ts +8 -7
- package/dist/mtmai_api/client/index.d.ts.map +1 -1
- package/dist/mtmai_api/client/index.js +5 -4
- package/dist/mtmai_api/client/index.js.map +1 -1
- package/dist/mtmai_api/client/types.gen.d.ts +19 -26
- package/dist/mtmai_api/client/types.gen.d.ts.map +1 -1
- package/dist/mtmai_api/client/utils.gen.d.ts +4 -4
- package/dist/mtmai_api/client/utils.gen.d.ts.map +1 -1
- package/dist/mtmai_api/client/utils.gen.js +41 -40
- package/dist/mtmai_api/client/utils.gen.js.map +1 -1
- package/dist/mtmai_api/client.gen.d.ts +2 -2
- package/dist/mtmai_api/client.gen.d.ts.map +1 -1
- package/dist/mtmai_api/client.gen.js +1 -1
- package/dist/mtmai_api/client.gen.js.map +1 -1
- package/dist/mtmai_api/core/auth.gen.d.ts +3 -3
- package/dist/mtmai_api/core/auth.gen.js +3 -3
- package/dist/mtmai_api/core/bodySerializer.gen.d.ts +13 -5
- package/dist/mtmai_api/core/bodySerializer.gen.d.ts.map +1 -1
- package/dist/mtmai_api/core/bodySerializer.gen.js +3 -3
- package/dist/mtmai_api/core/bodySerializer.gen.js.map +1 -1
- package/dist/mtmai_api/core/params.gen.d.ts +13 -3
- package/dist/mtmai_api/core/params.gen.d.ts.map +1 -1
- package/dist/mtmai_api/core/params.gen.js +24 -12
- package/dist/mtmai_api/core/params.gen.js.map +1 -1
- package/dist/mtmai_api/core/pathSerializer.gen.d.ts +3 -3
- package/dist/mtmai_api/core/pathSerializer.gen.js +36 -36
- package/dist/mtmai_api/core/queryKeySerializer.gen.d.ts +19 -0
- package/dist/mtmai_api/core/queryKeySerializer.gen.d.ts.map +1 -0
- package/dist/mtmai_api/core/queryKeySerializer.gen.js +100 -0
- package/dist/mtmai_api/core/queryKeySerializer.gen.js.map +1 -0
- package/dist/mtmai_api/core/serverSentEvents.gen.d.ts +3 -3
- package/dist/mtmai_api/core/serverSentEvents.gen.d.ts.map +1 -1
- package/dist/mtmai_api/core/serverSentEvents.gen.js +20 -18
- package/dist/mtmai_api/core/serverSentEvents.gen.js.map +1 -1
- package/dist/mtmai_api/core/types.gen.d.ts +4 -4
- package/dist/mtmai_api/core/types.gen.d.ts.map +1 -1
- package/dist/mtmai_api/core/utils.gen.d.ts +1 -1
- package/dist/mtmai_api/core/utils.gen.js +17 -17
- package/dist/mtmai_api/index.d.ts +2 -2
- package/dist/mtmai_api/index.js +2 -2
- package/dist/mtmai_api/schemas.gen.d.ts.map +1 -1
- package/dist/mtmai_api/schemas.gen.js +4363 -4616
- package/dist/mtmai_api/schemas.gen.js.map +1 -1
- package/dist/mtmai_api/sdk.gen.d.ts +25 -2
- package/dist/mtmai_api/sdk.gen.d.ts.map +1 -1
- package/dist/mtmai_api/sdk.gen.js +211 -391
- package/dist/mtmai_api/sdk.gen.js.map +1 -1
- package/dist/mtmai_api/types.gen.d.ts +645 -81
- package/dist/mtmai_api/types.gen.d.ts.map +1 -1
- package/dist/mtmai_api/types.gen.js +116 -103
- package/dist/mtmai_api/types.gen.js.map +1 -1
- package/dist/mtmai_api/zod.gen.d.ts +17408 -17216
- package/dist/mtmai_api/zod.gen.d.ts.map +1 -1
- package/dist/mtmai_api/zod.gen.js +3741 -1895
- package/dist/mtmai_api/zod.gen.js.map +1 -1
- package/dist/sbapi/@tanstack/react-query.gen.d.ts +35 -0
- package/dist/sbapi/@tanstack/react-query.gen.d.ts.map +1 -0
- package/dist/sbapi/@tanstack/react-query.gen.js +40 -0
- package/dist/sbapi/@tanstack/react-query.gen.js.map +1 -0
- package/dist/sbapi/client/client.gen.d.ts +3 -0
- package/dist/sbapi/client/client.gen.d.ts.map +1 -0
- package/dist/sbapi/client/client.gen.js +229 -0
- package/dist/sbapi/client/client.gen.js.map +1 -0
- package/dist/sbapi/client/index.d.ts +9 -0
- package/dist/sbapi/client/index.d.ts.map +1 -0
- package/dist/sbapi/client/index.js +7 -0
- package/dist/sbapi/client/index.js.map +1 -0
- package/dist/sbapi/client/types.gen.d.ts +118 -0
- package/dist/sbapi/client/types.gen.d.ts.map +1 -0
- package/dist/sbapi/client/types.gen.js +3 -0
- package/dist/sbapi/client/types.gen.js.map +1 -0
- package/dist/sbapi/client/utils.gen.d.ts +34 -0
- package/dist/sbapi/client/utils.gen.d.ts.map +1 -0
- package/dist/sbapi/client/utils.gen.js +232 -0
- package/dist/sbapi/client/utils.gen.js.map +1 -0
- package/dist/sbapi/client.gen.d.ts +13 -0
- package/dist/sbapi/client.gen.d.ts.map +1 -0
- package/dist/sbapi/client.gen.js +4 -0
- package/dist/sbapi/client.gen.js.map +1 -0
- package/dist/sbapi/core/auth.gen.d.ts +19 -0
- package/dist/sbapi/core/auth.gen.d.ts.map +1 -0
- package/dist/sbapi/core/auth.gen.js +15 -0
- package/dist/sbapi/core/auth.gen.js.map +1 -0
- package/dist/sbapi/core/bodySerializer.gen.d.ts +26 -0
- package/dist/sbapi/core/bodySerializer.gen.d.ts.map +1 -0
- package/dist/sbapi/core/bodySerializer.gen.js +58 -0
- package/dist/sbapi/core/bodySerializer.gen.js.map +1 -0
- package/dist/sbapi/core/params.gen.d.ts +44 -0
- package/dist/sbapi/core/params.gen.d.ts.map +1 -0
- package/dist/sbapi/core/params.gen.js +101 -0
- package/dist/sbapi/core/params.gen.js.map +1 -0
- package/dist/sbapi/core/pathSerializer.gen.d.ts +34 -0
- package/dist/sbapi/core/pathSerializer.gen.d.ts.map +1 -0
- package/dist/sbapi/core/pathSerializer.gen.js +115 -0
- package/dist/sbapi/core/pathSerializer.gen.js.map +1 -0
- package/dist/sbapi/core/queryKeySerializer.gen.d.ts +19 -0
- package/dist/sbapi/core/queryKeySerializer.gen.d.ts.map +1 -0
- package/dist/sbapi/core/queryKeySerializer.gen.js +100 -0
- package/dist/sbapi/core/queryKeySerializer.gen.js.map +1 -0
- package/dist/sbapi/core/serverSentEvents.gen.d.ts +72 -0
- package/dist/sbapi/core/serverSentEvents.gen.d.ts.map +1 -0
- package/dist/sbapi/core/serverSentEvents.gen.js +138 -0
- package/dist/sbapi/core/serverSentEvents.gen.js.map +1 -0
- package/dist/sbapi/core/types.gen.d.ts +79 -0
- package/dist/sbapi/core/types.gen.d.ts.map +1 -0
- package/dist/sbapi/core/types.gen.js +3 -0
- package/dist/sbapi/core/types.gen.js.map +1 -0
- package/dist/sbapi/core/utils.gen.d.ts +20 -0
- package/dist/sbapi/core/utils.gen.d.ts.map +1 -0
- package/dist/sbapi/core/utils.gen.js +88 -0
- package/dist/sbapi/core/utils.gen.js.map +1 -0
- package/dist/sbapi/index.d.ts +3 -0
- package/dist/sbapi/index.d.ts.map +1 -0
- package/dist/sbapi/index.js +3 -0
- package/dist/sbapi/index.js.map +1 -0
- package/dist/sbapi/schemas.gen.d.ts +38 -0
- package/dist/sbapi/schemas.gen.d.ts.map +1 -0
- package/dist/sbapi/schemas.gen.js +48 -0
- package/dist/sbapi/schemas.gen.js.map +1 -0
- package/dist/sbapi/sdk.gen.d.ts +17 -0
- package/dist/sbapi/sdk.gen.d.ts.map +1 -0
- package/dist/sbapi/sdk.gen.js +4 -0
- package/dist/sbapi/sdk.gen.js.map +1 -0
- package/dist/sbapi/types.gen.d.ts +54 -0
- package/dist/sbapi/types.gen.d.ts.map +1 -0
- package/dist/sbapi/types.gen.js +3 -0
- package/dist/sbapi/types.gen.js.map +1 -0
- package/dist/sbapi/zod.gen.d.ts +39 -0
- package/dist/sbapi/zod.gen.d.ts.map +1 -0
- package/dist/sbapi/zod.gen.js +31 -0
- package/dist/sbapi/zod.gen.js.map +1 -0
- package/dist/schema/browser.d.ts +29 -0
- package/dist/schema/browser.d.ts.map +1 -0
- package/dist/schema/browser.js +41 -0
- package/dist/schema/browser.js.map +1 -0
- package/dist/supabase/supabase-browser.d.ts +4 -0
- package/dist/supabase/supabase-browser.d.ts.map +1 -0
- package/dist/supabase/supabase-browser.js +20 -0
- package/dist/supabase/supabase-browser.js.map +1 -0
- package/dist/supabase/supabase-client.d.ts +1941 -0
- package/dist/supabase/supabase-client.d.ts.map +1 -0
- package/dist/supabase/supabase-client.js +23 -0
- package/dist/supabase/supabase-client.js.map +1 -0
- package/dist/supabase/supabase.d.ts +3881 -0
- package/dist/supabase/supabase.d.ts.map +1 -0
- package/dist/supabase/supabase.js +89 -0
- package/dist/supabase/supabase.js.map +1 -0
- package/dist/supabase/use-sb-query/build-query-opts.d.ts +6 -0
- package/dist/supabase/use-sb-query/build-query-opts.d.ts.map +1 -0
- package/dist/supabase/use-sb-query/build-query-opts.js +33 -0
- package/dist/supabase/use-sb-query/build-query-opts.js.map +1 -0
- package/dist/supabase/use-sb-query/key.d.ts +10 -0
- package/dist/supabase/use-sb-query/key.d.ts.map +1 -0
- package/dist/supabase/use-sb-query/key.js +46 -0
- package/dist/supabase/use-sb-query/key.js.map +1 -0
- package/dist/supabase/use-sb-query/prefetch.d.ts +10 -0
- package/dist/supabase/use-sb-query/prefetch.d.ts.map +1 -0
- package/dist/supabase/use-sb-query/prefetch.js +14 -0
- package/dist/supabase/use-sb-query/prefetch.js.map +1 -0
- package/dist/supabase/use-sb-query/use-query.d.ts +133 -0
- package/dist/supabase/use-sb-query/use-query.d.ts.map +1 -0
- package/dist/supabase/use-sb-query/use-query.js +117 -0
- package/dist/supabase/use-sb-query/use-query.js.map +1 -0
- package/dist/supabase/utils.d.ts +21 -0
- package/dist/supabase/utils.d.ts.map +1 -0
- package/dist/supabase/utils.js +46 -0
- package/dist/supabase/utils.js.map +1 -0
- package/dist/types/database.types.d.ts +2018 -0
- package/dist/types/database.types.d.ts.map +1 -0
- package/dist/types/database.types.js +6 -0
- package/dist/types/database.types.js.map +1 -0
- package/dist/types/index.d.ts +21 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/types/index.js +2 -0
- package/dist/types/index.js.map +1 -0
- package/package.json +61 -70
- package/dist/components/MustAdmin.d.ts +0 -14
- package/dist/components/MustAdmin.d.ts.map +0 -1
- package/dist/components/MustAdmin.js +0 -37
- package/dist/components/MustAdmin.js.map +0 -1
- package/dist/gomtmapi/@tanstack/react-query.gen.d.ts +0 -947
- package/dist/gomtmapi/@tanstack/react-query.gen.d.ts.map +0 -1
- package/dist/gomtmapi/@tanstack/react-query.gen.js +0 -1023
- package/dist/gomtmapi/@tanstack/react-query.gen.js.map +0 -1
- package/dist/gomtmapi/client/client.gen.d.ts +0 -3
- package/dist/gomtmapi/client/client.gen.d.ts.map +0 -1
- package/dist/gomtmapi/client/client.gen.js.map +0 -1
- package/dist/gomtmapi/client/index.d.ts +0 -8
- package/dist/gomtmapi/client/index.d.ts.map +0 -1
- package/dist/gomtmapi/client/index.js +0 -6
- package/dist/gomtmapi/client/index.js.map +0 -1
- package/dist/gomtmapi/client/types.gen.d.ts.map +0 -1
- package/dist/gomtmapi/client/types.gen.js.map +0 -1
- package/dist/gomtmapi/client/utils.gen.d.ts.map +0 -1
- package/dist/gomtmapi/client/utils.gen.js.map +0 -1
- package/dist/gomtmapi/client.gen.d.ts.map +0 -1
- package/dist/gomtmapi/client.gen.js.map +0 -1
- package/dist/gomtmapi/core/auth.gen.d.ts.map +0 -1
- package/dist/gomtmapi/core/auth.gen.js.map +0 -1
- package/dist/gomtmapi/core/bodySerializer.gen.d.ts.map +0 -1
- package/dist/gomtmapi/core/bodySerializer.gen.js.map +0 -1
- package/dist/gomtmapi/core/params.gen.d.ts.map +0 -1
- package/dist/gomtmapi/core/params.gen.js.map +0 -1
- package/dist/gomtmapi/core/pathSerializer.gen.d.ts.map +0 -1
- package/dist/gomtmapi/core/pathSerializer.gen.js.map +0 -1
- package/dist/gomtmapi/core/serverSentEvents.gen.d.ts.map +0 -1
- package/dist/gomtmapi/core/serverSentEvents.gen.js.map +0 -1
- package/dist/gomtmapi/core/types.gen.d.ts.map +0 -1
- package/dist/gomtmapi/core/types.gen.js.map +0 -1
- package/dist/gomtmapi/core/utils.gen.d.ts.map +0 -1
- package/dist/gomtmapi/core/utils.gen.js.map +0 -1
- package/dist/gomtmapi/index.d.ts +0 -3
- package/dist/gomtmapi/index.d.ts.map +0 -1
- package/dist/gomtmapi/index.js +0 -4
- package/dist/gomtmapi/index.js.map +0 -1
- package/dist/gomtmapi/schemas.gen.d.ts +0 -1445
- package/dist/gomtmapi/schemas.gen.d.ts.map +0 -1
- package/dist/gomtmapi/schemas.gen.js +0 -1474
- package/dist/gomtmapi/schemas.gen.js.map +0 -1
- package/dist/gomtmapi/sdk.gen.d.ts +0 -271
- package/dist/gomtmapi/sdk.gen.d.ts.map +0 -1
- package/dist/gomtmapi/sdk.gen.js +0 -974
- package/dist/gomtmapi/sdk.gen.js.map +0 -1
- package/dist/gomtmapi/types.gen.d.ts +0 -2302
- package/dist/gomtmapi/types.gen.d.ts.map +0 -1
- package/dist/gomtmapi/types.gen.js +0 -33
- package/dist/gomtmapi/types.gen.js.map +0 -1
- package/dist/gomtmapi/zod.gen.d.ts +0 -2067
- package/dist/gomtmapi/zod.gen.d.ts.map +0 -1
- package/dist/gomtmapi/zod.gen.js +0 -875
- package/dist/gomtmapi/zod.gen.js.map +0 -1
- package/dist/lib/adk-utils.d.ts +0 -19
- package/dist/lib/adk-utils.d.ts.map +0 -1
- package/dist/lib/adk-utils.js +0 -50
- package/dist/lib/adk-utils.js.map +0 -1
- package/dist/lib/auth-client.d.ts +0 -5965
- package/dist/lib/auth-client.d.ts.map +0 -1
- package/dist/lib/auth-client.js +0 -29
- package/dist/lib/auth-client.js.map +0 -1
- package/dist/lib/get-query-client.d.ts +0 -3
- package/dist/lib/get-query-client.d.ts.map +0 -1
- package/dist/lib/get-query-client.js +0 -23
- package/dist/lib/get-query-client.js.map +0 -1
- package/dist/lib/mtgate_client_ss.d.ts +0 -10
- package/dist/lib/mtgate_client_ss.d.ts.map +0 -1
- package/dist/lib/mtgate_client_ss.js +0 -24
- package/dist/lib/mtgate_client_ss.js.map +0 -1
- package/dist/store/AuthProviders.d.ts +0 -8
- package/dist/store/AuthProviders.d.ts.map +0 -1
- package/dist/store/AuthProviders.js +0 -34
- package/dist/store/AuthProviders.js.map +0 -1
- package/dist/store/GomtmProvider.d.ts +0 -10
- package/dist/store/GomtmProvider.d.ts.map +0 -1
- package/dist/store/GomtmProvider.js +0 -24
- package/dist/store/GomtmProvider.js.map +0 -1
- package/dist/store/GomtmV1Provider.d.ts +0 -10
- package/dist/store/GomtmV1Provider.d.ts.map +0 -1
- package/dist/store/GomtmV1Provider.js +0 -24
- package/dist/store/GomtmV1Provider.js.map +0 -1
- package/dist/store/MtgateProvider.d.ts +0 -6015
- package/dist/store/MtgateProvider.d.ts.map +0 -1
- package/dist/store/MtgateProvider.js +0 -76
- package/dist/store/MtgateProvider.js.map +0 -1
- package/dist/store/MtmsdkProvider.d.ts +0 -16
- package/dist/store/MtmsdkProvider.d.ts.map +0 -1
- package/dist/store/MtmsdkProvider.js +0 -47
- package/dist/store/MtmsdkProvider.js.map +0 -1
- package/dist/store/ReactQueryMtmaiApiProvider.d.ts +0 -10
- package/dist/store/ReactQueryMtmaiApiProvider.d.ts.map +0 -1
- package/dist/store/ReactQueryMtmaiApiProvider.js +0 -23
- package/dist/store/ReactQueryMtmaiApiProvider.js.map +0 -1
- /package/dist/{gomtmapi → api_hatchet}/client/types.gen.js +0 -0
- /package/dist/{gomtmapi → api_hatchet}/core/types.gen.js +0 -0
|
@@ -1,2302 +0,0 @@
|
|
|
1
|
-
export type ClientOptions = {
|
|
2
|
-
baseUrl: `${string}://${string}` | (string & {});
|
|
3
|
-
};
|
|
4
|
-
export type ApiMeta = {
|
|
5
|
-
auth?: ApiMetaAuth;
|
|
6
|
-
/**
|
|
7
|
-
* the Pylon app ID for usepylon.com chat support
|
|
8
|
-
*/
|
|
9
|
-
pylonAppId?: string;
|
|
10
|
-
posthog?: ApiMetaPosthog;
|
|
11
|
-
/**
|
|
12
|
-
* whether or not users can sign up for this instance
|
|
13
|
-
*/
|
|
14
|
-
allowSignup?: boolean;
|
|
15
|
-
/**
|
|
16
|
-
* whether or not users can invite other users to this instance
|
|
17
|
-
*/
|
|
18
|
-
allowInvites?: boolean;
|
|
19
|
-
/**
|
|
20
|
-
* whether or not users can create new tenants
|
|
21
|
-
*/
|
|
22
|
-
allowCreateTenant?: boolean;
|
|
23
|
-
/**
|
|
24
|
-
* whether or not users can change their password
|
|
25
|
-
*/
|
|
26
|
-
allowChangePassword?: boolean;
|
|
27
|
-
};
|
|
28
|
-
export type ApiMetaAuth = {
|
|
29
|
-
/**
|
|
30
|
-
* the supported types of authentication
|
|
31
|
-
*/
|
|
32
|
-
schemes?: Array<string>;
|
|
33
|
-
};
|
|
34
|
-
export type ApiMetaPosthog = {
|
|
35
|
-
/**
|
|
36
|
-
* the PostHog API key
|
|
37
|
-
*/
|
|
38
|
-
apiKey?: string;
|
|
39
|
-
/**
|
|
40
|
-
* the PostHog API host
|
|
41
|
-
*/
|
|
42
|
-
apiHost?: string;
|
|
43
|
-
};
|
|
44
|
-
export type ListApiMetaIntegration = Array<ApiMetaIntegration>;
|
|
45
|
-
export type ApiMetaIntegration = {
|
|
46
|
-
/**
|
|
47
|
-
* the name of the integration
|
|
48
|
-
*/
|
|
49
|
-
name: string;
|
|
50
|
-
/**
|
|
51
|
-
* whether this integration is enabled on the instance
|
|
52
|
-
*/
|
|
53
|
-
enabled: boolean;
|
|
54
|
-
};
|
|
55
|
-
export type ApiErrors = {
|
|
56
|
-
errors: Array<ApiError>;
|
|
57
|
-
};
|
|
58
|
-
export type ApiMessage = {
|
|
59
|
-
/**
|
|
60
|
-
* A message describing the result of the operation
|
|
61
|
-
*/
|
|
62
|
-
message: string;
|
|
63
|
-
};
|
|
64
|
-
export type ApiError = {
|
|
65
|
-
/**
|
|
66
|
-
* a custom Hatchet error code
|
|
67
|
-
*/
|
|
68
|
-
code?: number;
|
|
69
|
-
/**
|
|
70
|
-
* the field that this error is associated with, if applicable
|
|
71
|
-
*/
|
|
72
|
-
field?: string;
|
|
73
|
-
/**
|
|
74
|
-
* a description for this error
|
|
75
|
-
*/
|
|
76
|
-
description: string;
|
|
77
|
-
/**
|
|
78
|
-
* a link to the documentation for this error, if it exists
|
|
79
|
-
*/
|
|
80
|
-
docs_link?: string;
|
|
81
|
-
};
|
|
82
|
-
export type PaginationResponse = {
|
|
83
|
-
/**
|
|
84
|
-
* the current page
|
|
85
|
-
*/
|
|
86
|
-
current_page?: number;
|
|
87
|
-
/**
|
|
88
|
-
* the next page
|
|
89
|
-
*/
|
|
90
|
-
next_page?: number;
|
|
91
|
-
/**
|
|
92
|
-
* the total number of pages for listing
|
|
93
|
-
*/
|
|
94
|
-
num_pages?: number;
|
|
95
|
-
};
|
|
96
|
-
export type ApiResourceMeta = {
|
|
97
|
-
/**
|
|
98
|
-
* the id of this resource, in UUID format
|
|
99
|
-
*/
|
|
100
|
-
id: string;
|
|
101
|
-
/**
|
|
102
|
-
* the time that this resource was created
|
|
103
|
-
*/
|
|
104
|
-
createdAt: string;
|
|
105
|
-
/**
|
|
106
|
-
* the time that this resource was last updated
|
|
107
|
-
*/
|
|
108
|
-
updatedAt: string;
|
|
109
|
-
};
|
|
110
|
-
export type ApiResourceMetaProperties = {
|
|
111
|
-
metadata: ApiResourceMeta;
|
|
112
|
-
};
|
|
113
|
-
export type HealthStatus = {
|
|
114
|
-
/**
|
|
115
|
-
* Overall health status
|
|
116
|
-
*/
|
|
117
|
-
status: "healthy" | "unhealthy" | "degraded";
|
|
118
|
-
/**
|
|
119
|
-
* API version
|
|
120
|
-
*/
|
|
121
|
-
version: string;
|
|
122
|
-
/**
|
|
123
|
-
* Health check timestamp
|
|
124
|
-
*/
|
|
125
|
-
timestamp: string;
|
|
126
|
-
/**
|
|
127
|
-
* Status of individual services
|
|
128
|
-
*/
|
|
129
|
-
services?: {
|
|
130
|
-
database?: "healthy" | "unhealthy";
|
|
131
|
-
repository?: "healthy" | "unhealthy";
|
|
132
|
-
[key: string]: string | "healthy" | "unhealthy" | "healthy" | "unhealthy" | undefined;
|
|
133
|
-
};
|
|
134
|
-
/**
|
|
135
|
-
* Service uptime in seconds
|
|
136
|
-
*/
|
|
137
|
-
uptime?: number;
|
|
138
|
-
};
|
|
139
|
-
export type TenantParameter = string;
|
|
140
|
-
export type User = {
|
|
141
|
-
metadata: ApiResourceMeta;
|
|
142
|
-
/**
|
|
143
|
-
* The display name of the user.
|
|
144
|
-
*/
|
|
145
|
-
name?: string;
|
|
146
|
-
/**
|
|
147
|
-
* The email address of the user.
|
|
148
|
-
*/
|
|
149
|
-
email: string;
|
|
150
|
-
/**
|
|
151
|
-
* Whether the user has verified their email address.
|
|
152
|
-
*/
|
|
153
|
-
emailVerified: boolean;
|
|
154
|
-
/**
|
|
155
|
-
* Whether the user has a password set.
|
|
156
|
-
*/
|
|
157
|
-
hasPassword?: boolean;
|
|
158
|
-
/**
|
|
159
|
-
* A hash of the user's email address for use with Pylon Support Chat
|
|
160
|
-
*/
|
|
161
|
-
emailHash?: string;
|
|
162
|
-
/**
|
|
163
|
-
* The user's token for use with Pylon Support Chat
|
|
164
|
-
*/
|
|
165
|
-
userToken: string;
|
|
166
|
-
/**
|
|
167
|
-
* The user's avatar URL, typically from OAuth provider like GitHub
|
|
168
|
-
*/
|
|
169
|
-
avatarUrl?: string;
|
|
170
|
-
/**
|
|
171
|
-
* The user's role in the system
|
|
172
|
-
*/
|
|
173
|
-
role: UserRole;
|
|
174
|
-
};
|
|
175
|
-
export type UserTenantPublic = {
|
|
176
|
-
/**
|
|
177
|
-
* The email address of the user.
|
|
178
|
-
*/
|
|
179
|
-
email: string;
|
|
180
|
-
/**
|
|
181
|
-
* The display name of the user.
|
|
182
|
-
*/
|
|
183
|
-
name?: string;
|
|
184
|
-
};
|
|
185
|
-
export type UserLoginRequest = {
|
|
186
|
-
/**
|
|
187
|
-
* The email address of the user.
|
|
188
|
-
*/
|
|
189
|
-
email: string;
|
|
190
|
-
/**
|
|
191
|
-
* The password of the user.
|
|
192
|
-
*/
|
|
193
|
-
password: string;
|
|
194
|
-
};
|
|
195
|
-
export type UserChangePasswordRequest = {
|
|
196
|
-
/**
|
|
197
|
-
* The password of the user.
|
|
198
|
-
*/
|
|
199
|
-
password: string;
|
|
200
|
-
/**
|
|
201
|
-
* The new password for the user.
|
|
202
|
-
*/
|
|
203
|
-
newPassword: string;
|
|
204
|
-
};
|
|
205
|
-
export type UserRegisterRequest = {
|
|
206
|
-
/**
|
|
207
|
-
* The name of the user (optional).
|
|
208
|
-
*/
|
|
209
|
-
name?: string;
|
|
210
|
-
/**
|
|
211
|
-
* The email address of the user.
|
|
212
|
-
*/
|
|
213
|
-
email: string;
|
|
214
|
-
/**
|
|
215
|
-
* The password of the user.
|
|
216
|
-
*/
|
|
217
|
-
password: string;
|
|
218
|
-
};
|
|
219
|
-
export type UserTenantMembershipsList = {
|
|
220
|
-
pagination?: PaginationResponse;
|
|
221
|
-
rows?: Array<TenantMember>;
|
|
222
|
-
};
|
|
223
|
-
export type GitHubRepository = {
|
|
224
|
-
/**
|
|
225
|
-
* The GitHub repository ID
|
|
226
|
-
*/
|
|
227
|
-
id: number;
|
|
228
|
-
/**
|
|
229
|
-
* The repository name
|
|
230
|
-
*/
|
|
231
|
-
name: string;
|
|
232
|
-
/**
|
|
233
|
-
* The full repository name (owner/repo)
|
|
234
|
-
*/
|
|
235
|
-
fullName: string;
|
|
236
|
-
/**
|
|
237
|
-
* The repository HTML URL
|
|
238
|
-
*/
|
|
239
|
-
htmlUrl: string;
|
|
240
|
-
/**
|
|
241
|
-
* The repository clone URL
|
|
242
|
-
*/
|
|
243
|
-
cloneUrl: string;
|
|
244
|
-
/**
|
|
245
|
-
* Whether the repository is private
|
|
246
|
-
*/
|
|
247
|
-
private: boolean;
|
|
248
|
-
/**
|
|
249
|
-
* The repository description
|
|
250
|
-
*/
|
|
251
|
-
description?: string;
|
|
252
|
-
/**
|
|
253
|
-
* The primary programming language
|
|
254
|
-
*/
|
|
255
|
-
language?: string;
|
|
256
|
-
/**
|
|
257
|
-
* Number of stars
|
|
258
|
-
*/
|
|
259
|
-
stargazersCount: number;
|
|
260
|
-
/**
|
|
261
|
-
* Number of forks
|
|
262
|
-
*/
|
|
263
|
-
forksCount: number;
|
|
264
|
-
/**
|
|
265
|
-
* Last updated timestamp
|
|
266
|
-
*/
|
|
267
|
-
updatedAt: string;
|
|
268
|
-
};
|
|
269
|
-
export type GitHubRepositoryList = {
|
|
270
|
-
/**
|
|
271
|
-
* List of GitHub repositories
|
|
272
|
-
*/
|
|
273
|
-
rows: Array<GitHubRepository>;
|
|
274
|
-
};
|
|
275
|
-
/**
|
|
276
|
-
* User role in the system
|
|
277
|
-
*/
|
|
278
|
-
export declare const UserRole: {
|
|
279
|
-
readonly USER: "USER";
|
|
280
|
-
readonly ADMIN: "ADMIN";
|
|
281
|
-
readonly SUPER_ADMIN: "SUPER_ADMIN";
|
|
282
|
-
};
|
|
283
|
-
/**
|
|
284
|
-
* User role in the system
|
|
285
|
-
*/
|
|
286
|
-
export type UserRole = (typeof UserRole)[keyof typeof UserRole];
|
|
287
|
-
export type Role = {
|
|
288
|
-
metadata: ApiResourceMeta;
|
|
289
|
-
/**
|
|
290
|
-
* Role name (unique)
|
|
291
|
-
*/
|
|
292
|
-
name: string;
|
|
293
|
-
/**
|
|
294
|
-
* Optional role description
|
|
295
|
-
*/
|
|
296
|
-
description?: string;
|
|
297
|
-
};
|
|
298
|
-
export type RoleList = {
|
|
299
|
-
/**
|
|
300
|
-
* List of roles
|
|
301
|
-
*/
|
|
302
|
-
rows: Array<Role>;
|
|
303
|
-
};
|
|
304
|
-
export type AdminAssignRoleRequest = {
|
|
305
|
-
/**
|
|
306
|
-
* Role name to assign to the user
|
|
307
|
-
*/
|
|
308
|
-
roleName: string;
|
|
309
|
-
};
|
|
310
|
-
export type AdminUserList = {
|
|
311
|
-
pagination?: PaginationResponse;
|
|
312
|
-
/**
|
|
313
|
-
* List of users
|
|
314
|
-
*/
|
|
315
|
-
rows: Array<User>;
|
|
316
|
-
/**
|
|
317
|
-
* Total number of users matching the filter
|
|
318
|
-
*/
|
|
319
|
-
totalCount: number;
|
|
320
|
-
};
|
|
321
|
-
export type AdminUserCreateRequest = {
|
|
322
|
-
/**
|
|
323
|
-
* The display name of the user
|
|
324
|
-
*/
|
|
325
|
-
name?: string;
|
|
326
|
-
/**
|
|
327
|
-
* The email address of the user
|
|
328
|
-
*/
|
|
329
|
-
email: string;
|
|
330
|
-
/**
|
|
331
|
-
* The password for the user
|
|
332
|
-
*/
|
|
333
|
-
password: string;
|
|
334
|
-
/**
|
|
335
|
-
* The role to assign to the user
|
|
336
|
-
*/
|
|
337
|
-
role?: UserRole;
|
|
338
|
-
/**
|
|
339
|
-
* Whether to mark the email as verified
|
|
340
|
-
*/
|
|
341
|
-
emailVerified?: boolean;
|
|
342
|
-
};
|
|
343
|
-
export type AdminUserUpdateRequest = {
|
|
344
|
-
/**
|
|
345
|
-
* The display name of the user
|
|
346
|
-
*/
|
|
347
|
-
name?: string;
|
|
348
|
-
/**
|
|
349
|
-
* The email address of the user
|
|
350
|
-
*/
|
|
351
|
-
email?: string;
|
|
352
|
-
/**
|
|
353
|
-
* New password for the user (optional)
|
|
354
|
-
*/
|
|
355
|
-
password?: string;
|
|
356
|
-
/**
|
|
357
|
-
* The role to assign to the user
|
|
358
|
-
*/
|
|
359
|
-
role?: UserRole;
|
|
360
|
-
/**
|
|
361
|
-
* Whether the email is verified
|
|
362
|
-
*/
|
|
363
|
-
emailVerified?: boolean;
|
|
364
|
-
};
|
|
365
|
-
export type Tenant = {
|
|
366
|
-
metadata: ApiResourceMeta;
|
|
367
|
-
/**
|
|
368
|
-
* The name of the tenant.
|
|
369
|
-
*/
|
|
370
|
-
name: string;
|
|
371
|
-
/**
|
|
372
|
-
* The slug of the tenant.
|
|
373
|
-
*/
|
|
374
|
-
slug: string;
|
|
375
|
-
/**
|
|
376
|
-
* Whether the tenant has opted out of analytics.
|
|
377
|
-
*/
|
|
378
|
-
analyticsOptOut?: boolean;
|
|
379
|
-
/**
|
|
380
|
-
* Whether to alert tenant members.
|
|
381
|
-
*/
|
|
382
|
-
alertMemberEmails?: boolean;
|
|
383
|
-
};
|
|
384
|
-
export type TenantMember = {
|
|
385
|
-
metadata: ApiResourceMeta;
|
|
386
|
-
/**
|
|
387
|
-
* The user associated with this tenant member.
|
|
388
|
-
*/
|
|
389
|
-
user: UserTenantPublic;
|
|
390
|
-
/**
|
|
391
|
-
* The role of the user in the tenant.
|
|
392
|
-
*/
|
|
393
|
-
role: TenantMemberRole;
|
|
394
|
-
/**
|
|
395
|
-
* The tenant associated with this tenant member.
|
|
396
|
-
*/
|
|
397
|
-
tenant?: Tenant;
|
|
398
|
-
};
|
|
399
|
-
export type TenantMemberList = {
|
|
400
|
-
pagination?: PaginationResponse;
|
|
401
|
-
rows?: Array<TenantMember>;
|
|
402
|
-
};
|
|
403
|
-
export declare const TenantMemberRole: {
|
|
404
|
-
readonly OWNER: "OWNER";
|
|
405
|
-
readonly ADMIN: "ADMIN";
|
|
406
|
-
readonly MEMBER: "MEMBER";
|
|
407
|
-
};
|
|
408
|
-
export type TenantMemberRole = (typeof TenantMemberRole)[keyof typeof TenantMemberRole];
|
|
409
|
-
export declare const TenantResource: {
|
|
410
|
-
readonly WORKER: "WORKER";
|
|
411
|
-
readonly WORKER_SLOT: "WORKER_SLOT";
|
|
412
|
-
readonly WORKFLOW_RUN: "WORKFLOW_RUN";
|
|
413
|
-
readonly TASK_RUN: "TASK_RUN";
|
|
414
|
-
readonly CRON: "CRON";
|
|
415
|
-
readonly SCHEDULE: "SCHEDULE";
|
|
416
|
-
};
|
|
417
|
-
export type TenantResource = (typeof TenantResource)[keyof typeof TenantResource];
|
|
418
|
-
export type TenantResourceLimit = {
|
|
419
|
-
metadata: ApiResourceMeta;
|
|
420
|
-
/**
|
|
421
|
-
* The resource associated with this limit.
|
|
422
|
-
*/
|
|
423
|
-
resource: TenantResource;
|
|
424
|
-
/**
|
|
425
|
-
* The limit associated with this limit.
|
|
426
|
-
*/
|
|
427
|
-
limitValue: number;
|
|
428
|
-
/**
|
|
429
|
-
* The alarm value associated with this limit to warn of approaching limit value.
|
|
430
|
-
*/
|
|
431
|
-
alarmValue?: number;
|
|
432
|
-
/**
|
|
433
|
-
* The current value associated with this limit.
|
|
434
|
-
*/
|
|
435
|
-
value: number;
|
|
436
|
-
/**
|
|
437
|
-
* The meter window for the limit. (i.e. 1 day, 1 week, 1 month)
|
|
438
|
-
*/
|
|
439
|
-
window?: string;
|
|
440
|
-
/**
|
|
441
|
-
* The last time the limit was refilled.
|
|
442
|
-
*/
|
|
443
|
-
lastRefill?: string;
|
|
444
|
-
};
|
|
445
|
-
export type TenantResourcePolicy = {
|
|
446
|
-
/**
|
|
447
|
-
* A list of resource limits for the tenant.
|
|
448
|
-
*/
|
|
449
|
-
limits: Array<TenantResourceLimit>;
|
|
450
|
-
};
|
|
451
|
-
export type CreateTenantInviteRequest = {
|
|
452
|
-
/**
|
|
453
|
-
* The email of the user to invite.
|
|
454
|
-
*/
|
|
455
|
-
email: string;
|
|
456
|
-
/**
|
|
457
|
-
* The role of the user in the tenant.
|
|
458
|
-
*/
|
|
459
|
-
role: TenantMemberRole;
|
|
460
|
-
};
|
|
461
|
-
export type UpdateTenantInviteRequest = {
|
|
462
|
-
/**
|
|
463
|
-
* The role of the user in the tenant.
|
|
464
|
-
*/
|
|
465
|
-
role: TenantMemberRole;
|
|
466
|
-
};
|
|
467
|
-
export type TenantAlertingSettings = {
|
|
468
|
-
metadata: ApiResourceMeta;
|
|
469
|
-
/**
|
|
470
|
-
* Whether to alert tenant members.
|
|
471
|
-
*/
|
|
472
|
-
alertMemberEmails?: boolean;
|
|
473
|
-
/**
|
|
474
|
-
* Whether to send alerts when workflow runs fail.
|
|
475
|
-
*/
|
|
476
|
-
enableWorkflowRunFailureAlerts?: boolean;
|
|
477
|
-
/**
|
|
478
|
-
* Whether to enable alerts when tokens are approaching expiration.
|
|
479
|
-
*/
|
|
480
|
-
enableExpiringTokenAlerts?: boolean;
|
|
481
|
-
/**
|
|
482
|
-
* Whether to enable alerts when tenant resources are approaching limits.
|
|
483
|
-
*/
|
|
484
|
-
enableTenantResourceLimitAlerts?: boolean;
|
|
485
|
-
/**
|
|
486
|
-
* The max frequency at which to alert.
|
|
487
|
-
*/
|
|
488
|
-
maxAlertingFrequency: string;
|
|
489
|
-
/**
|
|
490
|
-
* The last time an alert was sent.
|
|
491
|
-
*/
|
|
492
|
-
lastAlertedAt?: string;
|
|
493
|
-
};
|
|
494
|
-
export type TenantAlertEmailGroup = {
|
|
495
|
-
metadata: ApiResourceMeta;
|
|
496
|
-
/**
|
|
497
|
-
* A list of emails for users
|
|
498
|
-
*/
|
|
499
|
-
emails: Array<string>;
|
|
500
|
-
};
|
|
501
|
-
export type TenantAlertEmailGroupList = {
|
|
502
|
-
pagination?: PaginationResponse;
|
|
503
|
-
rows?: Array<TenantAlertEmailGroup>;
|
|
504
|
-
};
|
|
505
|
-
export type CreateTenantAlertEmailGroupRequest = {
|
|
506
|
-
/**
|
|
507
|
-
* A list of emails for users
|
|
508
|
-
*/
|
|
509
|
-
emails: Array<string>;
|
|
510
|
-
};
|
|
511
|
-
export type UpdateTenantAlertEmailGroupRequest = {
|
|
512
|
-
/**
|
|
513
|
-
* A list of emails for users
|
|
514
|
-
*/
|
|
515
|
-
emails: Array<string>;
|
|
516
|
-
};
|
|
517
|
-
export type TenantInvite = {
|
|
518
|
-
metadata: ApiResourceMeta;
|
|
519
|
-
/**
|
|
520
|
-
* The email of the user to invite.
|
|
521
|
-
*/
|
|
522
|
-
email: string;
|
|
523
|
-
/**
|
|
524
|
-
* The role of the user in the tenant.
|
|
525
|
-
*/
|
|
526
|
-
role: TenantMemberRole;
|
|
527
|
-
/**
|
|
528
|
-
* The tenant id associated with this tenant invite.
|
|
529
|
-
*/
|
|
530
|
-
tenantId: string;
|
|
531
|
-
/**
|
|
532
|
-
* The tenant name for the tenant.
|
|
533
|
-
*/
|
|
534
|
-
tenantName?: string;
|
|
535
|
-
/**
|
|
536
|
-
* The time that this invite expires.
|
|
537
|
-
*/
|
|
538
|
-
expires: string;
|
|
539
|
-
};
|
|
540
|
-
export type TenantInviteList = {
|
|
541
|
-
pagination?: PaginationResponse;
|
|
542
|
-
rows?: Array<TenantInvite>;
|
|
543
|
-
};
|
|
544
|
-
export type QueueMetrics = {
|
|
545
|
-
/**
|
|
546
|
-
* The number of items in the queue.
|
|
547
|
-
*/
|
|
548
|
-
numQueued: number;
|
|
549
|
-
/**
|
|
550
|
-
* The number of items running.
|
|
551
|
-
*/
|
|
552
|
-
numRunning: number;
|
|
553
|
-
/**
|
|
554
|
-
* The number of items pending.
|
|
555
|
-
*/
|
|
556
|
-
numPending: number;
|
|
557
|
-
};
|
|
558
|
-
export type TenantQueueMetrics = {
|
|
559
|
-
/**
|
|
560
|
-
* The total queue metrics.
|
|
561
|
-
*/
|
|
562
|
-
total?: QueueMetrics;
|
|
563
|
-
workflow?: {
|
|
564
|
-
[key: string]: QueueMetrics;
|
|
565
|
-
};
|
|
566
|
-
queues?: {
|
|
567
|
-
[key: string]: number;
|
|
568
|
-
};
|
|
569
|
-
};
|
|
570
|
-
export type AcceptInviteRequest = {
|
|
571
|
-
invite: string;
|
|
572
|
-
};
|
|
573
|
-
export type RejectInviteRequest = {
|
|
574
|
-
invite: string;
|
|
575
|
-
};
|
|
576
|
-
export type TenantList = {
|
|
577
|
-
pagination?: PaginationResponse;
|
|
578
|
-
rows?: Array<Tenant>;
|
|
579
|
-
};
|
|
580
|
-
export type TenantInfoExport = {
|
|
581
|
-
/**
|
|
582
|
-
* The tenant basic information
|
|
583
|
-
*/
|
|
584
|
-
tenant: Tenant;
|
|
585
|
-
/**
|
|
586
|
-
* The tenant members list
|
|
587
|
-
*/
|
|
588
|
-
members: Array<TenantMember>;
|
|
589
|
-
/**
|
|
590
|
-
* The tenant invites list
|
|
591
|
-
*/
|
|
592
|
-
invites: Array<TenantInvite>;
|
|
593
|
-
export_metadata: {
|
|
594
|
-
/**
|
|
595
|
-
* The export format version
|
|
596
|
-
*/
|
|
597
|
-
export_version: string;
|
|
598
|
-
/**
|
|
599
|
-
* The timestamp when the export was created
|
|
600
|
-
*/
|
|
601
|
-
export_timestamp: string;
|
|
602
|
-
/**
|
|
603
|
-
* The user ID who performed the export
|
|
604
|
-
*/
|
|
605
|
-
export_by: string;
|
|
606
|
-
/**
|
|
607
|
-
* Total number of members
|
|
608
|
-
*/
|
|
609
|
-
total_members: number;
|
|
610
|
-
/**
|
|
611
|
-
* Total number of pending invites
|
|
612
|
-
*/
|
|
613
|
-
total_invites: number;
|
|
614
|
-
};
|
|
615
|
-
};
|
|
616
|
-
export type CreateTenantRequest = {
|
|
617
|
-
/**
|
|
618
|
-
* The name of the tenant.
|
|
619
|
-
*/
|
|
620
|
-
name: string;
|
|
621
|
-
/**
|
|
622
|
-
* The slug of the tenant.
|
|
623
|
-
*/
|
|
624
|
-
slug: string;
|
|
625
|
-
};
|
|
626
|
-
export type UpdateTenantRequest = {
|
|
627
|
-
/**
|
|
628
|
-
* The name of the tenant.
|
|
629
|
-
*/
|
|
630
|
-
name?: string;
|
|
631
|
-
/**
|
|
632
|
-
* Whether the tenant has opted out of analytics.
|
|
633
|
-
*/
|
|
634
|
-
analyticsOptOut?: boolean;
|
|
635
|
-
/**
|
|
636
|
-
* Whether to alert tenant members.
|
|
637
|
-
*/
|
|
638
|
-
alertMemberEmails?: boolean;
|
|
639
|
-
/**
|
|
640
|
-
* Whether to send alerts when workflow runs fail.
|
|
641
|
-
*/
|
|
642
|
-
enableWorkflowRunFailureAlerts?: boolean;
|
|
643
|
-
/**
|
|
644
|
-
* Whether to enable alerts when tokens are approaching expiration.
|
|
645
|
-
*/
|
|
646
|
-
enableExpiringTokenAlerts?: boolean;
|
|
647
|
-
/**
|
|
648
|
-
* Whether to enable alerts when tenant resources are approaching limits.
|
|
649
|
-
*/
|
|
650
|
-
enableTenantResourceLimitAlerts?: boolean;
|
|
651
|
-
/**
|
|
652
|
-
* The max frequency at which to alert.
|
|
653
|
-
*/
|
|
654
|
-
maxAlertingFrequency?: string;
|
|
655
|
-
/**
|
|
656
|
-
* The version of the tenant.
|
|
657
|
-
*/
|
|
658
|
-
version?: TenantVersion;
|
|
659
|
-
};
|
|
660
|
-
export type ApiToken = {
|
|
661
|
-
metadata: ApiResourceMeta;
|
|
662
|
-
/**
|
|
663
|
-
* The name of the API token.
|
|
664
|
-
*/
|
|
665
|
-
name: string;
|
|
666
|
-
/**
|
|
667
|
-
* When the API token expires.
|
|
668
|
-
*/
|
|
669
|
-
expiresAt: string;
|
|
670
|
-
};
|
|
671
|
-
export type CreateApiTokenRequest = {
|
|
672
|
-
/**
|
|
673
|
-
* A name for the API token.
|
|
674
|
-
*/
|
|
675
|
-
name: string;
|
|
676
|
-
/**
|
|
677
|
-
* The duration for which the token is valid.
|
|
678
|
-
*/
|
|
679
|
-
expiresIn?: string;
|
|
680
|
-
};
|
|
681
|
-
export type CreateApiTokenResponse = {
|
|
682
|
-
/**
|
|
683
|
-
* The API token.
|
|
684
|
-
*/
|
|
685
|
-
token: string;
|
|
686
|
-
};
|
|
687
|
-
export type ListApiTokensResponse = {
|
|
688
|
-
pagination?: PaginationResponse;
|
|
689
|
-
rows?: Array<ApiToken>;
|
|
690
|
-
};
|
|
691
|
-
export type LogLine = {
|
|
692
|
-
/**
|
|
693
|
-
* The creation date of the log line.
|
|
694
|
-
*/
|
|
695
|
-
createdAt: string;
|
|
696
|
-
/**
|
|
697
|
-
* The log message.
|
|
698
|
-
*/
|
|
699
|
-
message: string;
|
|
700
|
-
/**
|
|
701
|
-
* The log metadata.
|
|
702
|
-
*/
|
|
703
|
-
metadata: {
|
|
704
|
-
[key: string]: unknown;
|
|
705
|
-
};
|
|
706
|
-
};
|
|
707
|
-
export declare const LogLineLevel: {
|
|
708
|
-
readonly DEBUG: "DEBUG";
|
|
709
|
-
readonly INFO: "INFO";
|
|
710
|
-
readonly WARN: "WARN";
|
|
711
|
-
readonly ERROR: "ERROR";
|
|
712
|
-
};
|
|
713
|
-
export type LogLineLevel = (typeof LogLineLevel)[keyof typeof LogLineLevel];
|
|
714
|
-
export type LogLineList = {
|
|
715
|
-
pagination?: PaginationResponse;
|
|
716
|
-
rows?: Array<LogLine>;
|
|
717
|
-
};
|
|
718
|
-
export type CommonResult = {
|
|
719
|
-
Success: boolean;
|
|
720
|
-
Message: string;
|
|
721
|
-
other?: {
|
|
722
|
-
[key: string]: unknown;
|
|
723
|
-
};
|
|
724
|
-
};
|
|
725
|
-
export type FrontendConfig = {
|
|
726
|
-
/**
|
|
727
|
-
* Cookie access token
|
|
728
|
-
*/
|
|
729
|
-
cookieAccessToken: string;
|
|
730
|
-
/**
|
|
731
|
-
* Dashboard path
|
|
732
|
-
*/
|
|
733
|
-
dashPath: string;
|
|
734
|
-
/**
|
|
735
|
-
* Hot key debug
|
|
736
|
-
*/
|
|
737
|
-
hotKeyDebug: string;
|
|
738
|
-
/**
|
|
739
|
-
* 实验性质,默认租户的access token
|
|
740
|
-
*/
|
|
741
|
-
defaultTenantAccessToken: string;
|
|
742
|
-
};
|
|
743
|
-
export type ServerInfo = {
|
|
744
|
-
/**
|
|
745
|
-
* Server version
|
|
746
|
-
*/
|
|
747
|
-
version: string;
|
|
748
|
-
frontend: {
|
|
749
|
-
/**
|
|
750
|
-
* Frontend server port
|
|
751
|
-
*/
|
|
752
|
-
port: number;
|
|
753
|
-
/**
|
|
754
|
-
* Whether frontend is enabled
|
|
755
|
-
*/
|
|
756
|
-
enabled: boolean;
|
|
757
|
-
/**
|
|
758
|
-
* Frontend source directory
|
|
759
|
-
*/
|
|
760
|
-
dir: string;
|
|
761
|
-
/**
|
|
762
|
-
* Whether to auto open browser
|
|
763
|
-
*/
|
|
764
|
-
autoOpenBrowser: boolean;
|
|
765
|
-
};
|
|
766
|
-
server: {
|
|
767
|
-
/**
|
|
768
|
-
* Server port
|
|
769
|
-
*/
|
|
770
|
-
port: number;
|
|
771
|
-
/**
|
|
772
|
-
* Server host
|
|
773
|
-
*/
|
|
774
|
-
host: string;
|
|
775
|
-
};
|
|
776
|
-
};
|
|
777
|
-
export type FormField = {
|
|
778
|
-
type: "text" | "number" | "boolean" | "array" | "object";
|
|
779
|
-
name: string;
|
|
780
|
-
default_value?: string;
|
|
781
|
-
label?: string;
|
|
782
|
-
description?: string;
|
|
783
|
-
required?: boolean;
|
|
784
|
-
min?: number;
|
|
785
|
-
max?: number;
|
|
786
|
-
placeholder?: string;
|
|
787
|
-
};
|
|
788
|
-
export type SchemaForm = {
|
|
789
|
-
form_type?: "schema" | "custom";
|
|
790
|
-
form_name?: string;
|
|
791
|
-
title: string;
|
|
792
|
-
description?: string;
|
|
793
|
-
layout?: "vertical" | "horizontal";
|
|
794
|
-
fields: Array<FormField>;
|
|
795
|
-
};
|
|
796
|
-
export type TunnelConfig = {
|
|
797
|
-
/**
|
|
798
|
-
* Cloudflare API token for tunnel management
|
|
799
|
-
*/
|
|
800
|
-
cloudflareToken: string;
|
|
801
|
-
/**
|
|
802
|
-
* Domain name for the tunnel
|
|
803
|
-
*/
|
|
804
|
-
domain: string;
|
|
805
|
-
/**
|
|
806
|
-
* Local port number for the tunnel
|
|
807
|
-
*/
|
|
808
|
-
localPort: string;
|
|
809
|
-
/**
|
|
810
|
-
* Custom tunnel name (optional)
|
|
811
|
-
*/
|
|
812
|
-
tunnelName?: string;
|
|
813
|
-
/**
|
|
814
|
-
* Description of the tunnel configuration
|
|
815
|
-
*/
|
|
816
|
-
description?: string;
|
|
817
|
-
};
|
|
818
|
-
export type UserSettings = {
|
|
819
|
-
metadata: ApiResourceMeta;
|
|
820
|
-
/**
|
|
821
|
-
* Cloudflare tunnel configuration (user-specific)
|
|
822
|
-
*/
|
|
823
|
-
tunnelConfig?: TunnelConfig;
|
|
824
|
-
/**
|
|
825
|
-
* Metadata about settings export/import
|
|
826
|
-
*/
|
|
827
|
-
exportMetadata?: {
|
|
828
|
-
/**
|
|
829
|
-
* When the settings were last exported
|
|
830
|
-
*/
|
|
831
|
-
exportTimestamp?: string;
|
|
832
|
-
/**
|
|
833
|
-
* Version of the export format
|
|
834
|
-
*/
|
|
835
|
-
exportVersion?: string;
|
|
836
|
-
/**
|
|
837
|
-
* Who exported the settings
|
|
838
|
-
*/
|
|
839
|
-
exportBy?: string;
|
|
840
|
-
};
|
|
841
|
-
};
|
|
842
|
-
export type UserSettingsCreateRequest = {
|
|
843
|
-
/**
|
|
844
|
-
* Cloudflare tunnel configuration (user-specific)
|
|
845
|
-
*/
|
|
846
|
-
tunnelConfig?: TunnelConfig;
|
|
847
|
-
/**
|
|
848
|
-
* Metadata about settings export/import
|
|
849
|
-
*/
|
|
850
|
-
exportMetadata?: {
|
|
851
|
-
/**
|
|
852
|
-
* When the settings were last exported
|
|
853
|
-
*/
|
|
854
|
-
exportTimestamp?: string;
|
|
855
|
-
/**
|
|
856
|
-
* Version of the export format
|
|
857
|
-
*/
|
|
858
|
-
exportVersion?: string;
|
|
859
|
-
/**
|
|
860
|
-
* Who exported the settings
|
|
861
|
-
*/
|
|
862
|
-
exportBy?: string;
|
|
863
|
-
};
|
|
864
|
-
};
|
|
865
|
-
export type UserSettingsUpdateRequest = {
|
|
866
|
-
/**
|
|
867
|
-
* Cloudflare tunnel configuration (user-specific)
|
|
868
|
-
*/
|
|
869
|
-
tunnelConfig?: TunnelConfig;
|
|
870
|
-
/**
|
|
871
|
-
* Metadata about settings export/import
|
|
872
|
-
*/
|
|
873
|
-
exportMetadata?: {
|
|
874
|
-
/**
|
|
875
|
-
* When the settings were last exported
|
|
876
|
-
*/
|
|
877
|
-
exportTimestamp?: string;
|
|
878
|
-
/**
|
|
879
|
-
* Version of the export format
|
|
880
|
-
*/
|
|
881
|
-
exportVersion?: string;
|
|
882
|
-
/**
|
|
883
|
-
* Who exported the settings
|
|
884
|
-
*/
|
|
885
|
-
exportBy?: string;
|
|
886
|
-
};
|
|
887
|
-
};
|
|
888
|
-
export declare const TenantVersion: {
|
|
889
|
-
readonly V0: "V0";
|
|
890
|
-
readonly V1: "V1";
|
|
891
|
-
};
|
|
892
|
-
export type TenantVersion = (typeof TenantVersion)[keyof typeof TenantVersion];
|
|
893
|
-
export type ReadinessGetData = {
|
|
894
|
-
body?: never;
|
|
895
|
-
path?: never;
|
|
896
|
-
query?: never;
|
|
897
|
-
url: "/api/ready";
|
|
898
|
-
};
|
|
899
|
-
export type ReadinessGetErrors = {
|
|
900
|
-
/**
|
|
901
|
-
* Not ready to accept traffic
|
|
902
|
-
*/
|
|
903
|
-
500: unknown;
|
|
904
|
-
};
|
|
905
|
-
export type ReadinessGetResponses = {
|
|
906
|
-
/**
|
|
907
|
-
* Healthy
|
|
908
|
-
*/
|
|
909
|
-
200: unknown;
|
|
910
|
-
};
|
|
911
|
-
export type LivenessGetData = {
|
|
912
|
-
body?: never;
|
|
913
|
-
path?: never;
|
|
914
|
-
query?: never;
|
|
915
|
-
url: "/api/live";
|
|
916
|
-
};
|
|
917
|
-
export type LivenessGetErrors = {
|
|
918
|
-
/**
|
|
919
|
-
* Not liveness
|
|
920
|
-
*/
|
|
921
|
-
500: unknown;
|
|
922
|
-
};
|
|
923
|
-
export type LivenessGetResponses = {
|
|
924
|
-
/**
|
|
925
|
-
* Healthy
|
|
926
|
-
*/
|
|
927
|
-
200: unknown;
|
|
928
|
-
};
|
|
929
|
-
export type HealthGetData = {
|
|
930
|
-
body?: never;
|
|
931
|
-
path?: never;
|
|
932
|
-
query?: never;
|
|
933
|
-
url: "/api/v1/health";
|
|
934
|
-
};
|
|
935
|
-
export type HealthGetErrors = {
|
|
936
|
-
/**
|
|
937
|
-
* Service is unhealthy
|
|
938
|
-
*/
|
|
939
|
-
500: ApiErrors;
|
|
940
|
-
};
|
|
941
|
-
export type HealthGetError = HealthGetErrors[keyof HealthGetErrors];
|
|
942
|
-
export type HealthGetResponses = {
|
|
943
|
-
/**
|
|
944
|
-
* Service is healthy
|
|
945
|
-
*/
|
|
946
|
-
200: HealthStatus;
|
|
947
|
-
};
|
|
948
|
-
export type HealthGetResponse = HealthGetResponses[keyof HealthGetResponses];
|
|
949
|
-
export type MetadataGetData = {
|
|
950
|
-
body?: never;
|
|
951
|
-
path?: never;
|
|
952
|
-
query?: never;
|
|
953
|
-
url: "/api/v1/meta";
|
|
954
|
-
};
|
|
955
|
-
export type MetadataGetErrors = {
|
|
956
|
-
/**
|
|
957
|
-
* A malformed or bad request
|
|
958
|
-
*/
|
|
959
|
-
400: ApiErrors;
|
|
960
|
-
};
|
|
961
|
-
export type MetadataGetError = MetadataGetErrors[keyof MetadataGetErrors];
|
|
962
|
-
export type MetadataGetResponses = {
|
|
963
|
-
/**
|
|
964
|
-
* Successfully retrieved the metadata
|
|
965
|
-
*/
|
|
966
|
-
200: ApiMeta;
|
|
967
|
-
};
|
|
968
|
-
export type MetadataGetResponse = MetadataGetResponses[keyof MetadataGetResponses];
|
|
969
|
-
export type MetadataListIntegrationsData = {
|
|
970
|
-
body?: never;
|
|
971
|
-
path?: never;
|
|
972
|
-
query?: never;
|
|
973
|
-
url: "/api/v1/meta/integrations";
|
|
974
|
-
};
|
|
975
|
-
export type MetadataListIntegrationsErrors = {
|
|
976
|
-
/**
|
|
977
|
-
* A malformed or bad request
|
|
978
|
-
*/
|
|
979
|
-
400: ApiErrors;
|
|
980
|
-
};
|
|
981
|
-
export type MetadataListIntegrationsError = MetadataListIntegrationsErrors[keyof MetadataListIntegrationsErrors];
|
|
982
|
-
export type MetadataListIntegrationsResponses = {
|
|
983
|
-
/**
|
|
984
|
-
* Successfully retrieved the list of integrations
|
|
985
|
-
*/
|
|
986
|
-
200: ListApiMetaIntegration;
|
|
987
|
-
};
|
|
988
|
-
export type MetadataListIntegrationsResponse = MetadataListIntegrationsResponses[keyof MetadataListIntegrationsResponses];
|
|
989
|
-
export type UserUpdateLoginData = {
|
|
990
|
-
body?: UserLoginRequest;
|
|
991
|
-
path?: never;
|
|
992
|
-
query?: never;
|
|
993
|
-
url: "/api/v1/users/login";
|
|
994
|
-
};
|
|
995
|
-
export type UserUpdateLoginErrors = {
|
|
996
|
-
/**
|
|
997
|
-
* A malformed or bad request
|
|
998
|
-
*/
|
|
999
|
-
400: ApiErrors;
|
|
1000
|
-
/**
|
|
1001
|
-
* Unauthorized
|
|
1002
|
-
*/
|
|
1003
|
-
401: ApiErrors;
|
|
1004
|
-
/**
|
|
1005
|
-
* Method not allowed
|
|
1006
|
-
*/
|
|
1007
|
-
405: ApiErrors;
|
|
1008
|
-
};
|
|
1009
|
-
export type UserUpdateLoginError = UserUpdateLoginErrors[keyof UserUpdateLoginErrors];
|
|
1010
|
-
export type UserUpdateLoginResponses = {
|
|
1011
|
-
/**
|
|
1012
|
-
* Successfully logged in
|
|
1013
|
-
*/
|
|
1014
|
-
200: User;
|
|
1015
|
-
};
|
|
1016
|
-
export type UserUpdateLoginResponse = UserUpdateLoginResponses[keyof UserUpdateLoginResponses];
|
|
1017
|
-
export type UserUpdateGoogleOauthStartData = {
|
|
1018
|
-
body?: never;
|
|
1019
|
-
path?: never;
|
|
1020
|
-
query?: never;
|
|
1021
|
-
url: "/api/v1/users/google/start";
|
|
1022
|
-
};
|
|
1023
|
-
export type UserUpdateGoogleOauthCallbackData = {
|
|
1024
|
-
body?: never;
|
|
1025
|
-
path?: never;
|
|
1026
|
-
query?: never;
|
|
1027
|
-
url: "/api/v1/users/google/callback";
|
|
1028
|
-
};
|
|
1029
|
-
export type UserUpdateGithubOauthStartData = {
|
|
1030
|
-
body?: never;
|
|
1031
|
-
path?: never;
|
|
1032
|
-
query?: never;
|
|
1033
|
-
url: "/api/v1/users/github/start";
|
|
1034
|
-
};
|
|
1035
|
-
export type UserUpdateGithubOauthCallbackData = {
|
|
1036
|
-
body?: never;
|
|
1037
|
-
path?: never;
|
|
1038
|
-
query?: never;
|
|
1039
|
-
url: "/api/v1/users/github/callback";
|
|
1040
|
-
};
|
|
1041
|
-
export type AlertEmailGroupListData = {
|
|
1042
|
-
body?: never;
|
|
1043
|
-
path: {
|
|
1044
|
-
/**
|
|
1045
|
-
* The tenant id
|
|
1046
|
-
*/
|
|
1047
|
-
tenant: string;
|
|
1048
|
-
};
|
|
1049
|
-
query?: never;
|
|
1050
|
-
url: "/api/v1/tenants/{tenant}/alerting-email-groups";
|
|
1051
|
-
};
|
|
1052
|
-
export type AlertEmailGroupListErrors = {
|
|
1053
|
-
/**
|
|
1054
|
-
* A malformed or bad request
|
|
1055
|
-
*/
|
|
1056
|
-
400: ApiErrors;
|
|
1057
|
-
/**
|
|
1058
|
-
* Forbidden
|
|
1059
|
-
*/
|
|
1060
|
-
403: ApiError;
|
|
1061
|
-
};
|
|
1062
|
-
export type AlertEmailGroupListError = AlertEmailGroupListErrors[keyof AlertEmailGroupListErrors];
|
|
1063
|
-
export type AlertEmailGroupListResponses = {
|
|
1064
|
-
/**
|
|
1065
|
-
* Successfully retrieved the tenant alert email groups
|
|
1066
|
-
*/
|
|
1067
|
-
200: TenantAlertEmailGroupList;
|
|
1068
|
-
};
|
|
1069
|
-
export type AlertEmailGroupListResponse = AlertEmailGroupListResponses[keyof AlertEmailGroupListResponses];
|
|
1070
|
-
export type AlertEmailGroupCreateData = {
|
|
1071
|
-
/**
|
|
1072
|
-
* The tenant alert email group to create
|
|
1073
|
-
*/
|
|
1074
|
-
body: CreateTenantAlertEmailGroupRequest;
|
|
1075
|
-
path: {
|
|
1076
|
-
/**
|
|
1077
|
-
* The tenant id
|
|
1078
|
-
*/
|
|
1079
|
-
tenant: string;
|
|
1080
|
-
};
|
|
1081
|
-
query?: never;
|
|
1082
|
-
url: "/api/v1/tenants/{tenant}/alerting-email-groups";
|
|
1083
|
-
};
|
|
1084
|
-
export type AlertEmailGroupCreateErrors = {
|
|
1085
|
-
/**
|
|
1086
|
-
* A malformed or bad request
|
|
1087
|
-
*/
|
|
1088
|
-
400: ApiErrors;
|
|
1089
|
-
/**
|
|
1090
|
-
* Forbidden
|
|
1091
|
-
*/
|
|
1092
|
-
403: ApiError;
|
|
1093
|
-
};
|
|
1094
|
-
export type AlertEmailGroupCreateError = AlertEmailGroupCreateErrors[keyof AlertEmailGroupCreateErrors];
|
|
1095
|
-
export type AlertEmailGroupCreateResponses = {
|
|
1096
|
-
/**
|
|
1097
|
-
* Successfully created the tenant alert email group
|
|
1098
|
-
*/
|
|
1099
|
-
201: TenantAlertEmailGroup;
|
|
1100
|
-
};
|
|
1101
|
-
export type AlertEmailGroupCreateResponse = AlertEmailGroupCreateResponses[keyof AlertEmailGroupCreateResponses];
|
|
1102
|
-
export type TenantResourcePolicyGetData = {
|
|
1103
|
-
body?: never;
|
|
1104
|
-
path: {
|
|
1105
|
-
/**
|
|
1106
|
-
* The tenant id
|
|
1107
|
-
*/
|
|
1108
|
-
tenant: string;
|
|
1109
|
-
};
|
|
1110
|
-
query?: never;
|
|
1111
|
-
url: "/api/v1/tenants/{tenant}/resource-policy";
|
|
1112
|
-
};
|
|
1113
|
-
export type TenantResourcePolicyGetErrors = {
|
|
1114
|
-
/**
|
|
1115
|
-
* A malformed or bad request
|
|
1116
|
-
*/
|
|
1117
|
-
400: ApiErrors;
|
|
1118
|
-
/**
|
|
1119
|
-
* Forbidden
|
|
1120
|
-
*/
|
|
1121
|
-
403: ApiError;
|
|
1122
|
-
};
|
|
1123
|
-
export type TenantResourcePolicyGetError = TenantResourcePolicyGetErrors[keyof TenantResourcePolicyGetErrors];
|
|
1124
|
-
export type TenantResourcePolicyGetResponses = {
|
|
1125
|
-
/**
|
|
1126
|
-
* Successfully retrieved the tenant resource policy
|
|
1127
|
-
*/
|
|
1128
|
-
200: TenantResourcePolicy;
|
|
1129
|
-
};
|
|
1130
|
-
export type TenantResourcePolicyGetResponse = TenantResourcePolicyGetResponses[keyof TenantResourcePolicyGetResponses];
|
|
1131
|
-
export type AlertEmailGroupDeleteData = {
|
|
1132
|
-
body?: never;
|
|
1133
|
-
path: {
|
|
1134
|
-
/**
|
|
1135
|
-
* The tenant alert email group id
|
|
1136
|
-
*/
|
|
1137
|
-
"alert-email-group": string;
|
|
1138
|
-
};
|
|
1139
|
-
query?: never;
|
|
1140
|
-
url: "/api/v1/alerting-email-groups/{alert-email-group}";
|
|
1141
|
-
};
|
|
1142
|
-
export type AlertEmailGroupDeleteErrors = {
|
|
1143
|
-
/**
|
|
1144
|
-
* A malformed or bad request
|
|
1145
|
-
*/
|
|
1146
|
-
400: ApiErrors;
|
|
1147
|
-
/**
|
|
1148
|
-
* Forbidden
|
|
1149
|
-
*/
|
|
1150
|
-
403: ApiError;
|
|
1151
|
-
};
|
|
1152
|
-
export type AlertEmailGroupDeleteError = AlertEmailGroupDeleteErrors[keyof AlertEmailGroupDeleteErrors];
|
|
1153
|
-
export type AlertEmailGroupDeleteResponses = {
|
|
1154
|
-
/**
|
|
1155
|
-
* Successfully deleted the tenant alert email group
|
|
1156
|
-
*/
|
|
1157
|
-
204: void;
|
|
1158
|
-
};
|
|
1159
|
-
export type AlertEmailGroupDeleteResponse = AlertEmailGroupDeleteResponses[keyof AlertEmailGroupDeleteResponses];
|
|
1160
|
-
export type AlertEmailGroupUpdateData = {
|
|
1161
|
-
/**
|
|
1162
|
-
* The tenant alert email group to update
|
|
1163
|
-
*/
|
|
1164
|
-
body: UpdateTenantAlertEmailGroupRequest;
|
|
1165
|
-
path: {
|
|
1166
|
-
/**
|
|
1167
|
-
* The tenant alert email group id
|
|
1168
|
-
*/
|
|
1169
|
-
"alert-email-group": string;
|
|
1170
|
-
};
|
|
1171
|
-
query?: never;
|
|
1172
|
-
url: "/api/v1/alerting-email-groups/{alert-email-group}";
|
|
1173
|
-
};
|
|
1174
|
-
export type AlertEmailGroupUpdateErrors = {
|
|
1175
|
-
/**
|
|
1176
|
-
* A malformed or bad request
|
|
1177
|
-
*/
|
|
1178
|
-
400: ApiErrors;
|
|
1179
|
-
/**
|
|
1180
|
-
* Forbidden
|
|
1181
|
-
*/
|
|
1182
|
-
403: ApiError;
|
|
1183
|
-
};
|
|
1184
|
-
export type AlertEmailGroupUpdateError = AlertEmailGroupUpdateErrors[keyof AlertEmailGroupUpdateErrors];
|
|
1185
|
-
export type AlertEmailGroupUpdateResponses = {
|
|
1186
|
-
/**
|
|
1187
|
-
* Successfully updated the tenant alert email group
|
|
1188
|
-
*/
|
|
1189
|
-
200: TenantAlertEmailGroup;
|
|
1190
|
-
};
|
|
1191
|
-
export type AlertEmailGroupUpdateResponse = AlertEmailGroupUpdateResponses[keyof AlertEmailGroupUpdateResponses];
|
|
1192
|
-
export type UserUpdatePasswordData = {
|
|
1193
|
-
body?: UserChangePasswordRequest;
|
|
1194
|
-
path?: never;
|
|
1195
|
-
query?: never;
|
|
1196
|
-
url: "/api/v1/users/password";
|
|
1197
|
-
};
|
|
1198
|
-
export type UserUpdatePasswordErrors = {
|
|
1199
|
-
/**
|
|
1200
|
-
* A malformed or bad request
|
|
1201
|
-
*/
|
|
1202
|
-
400: ApiErrors;
|
|
1203
|
-
/**
|
|
1204
|
-
* Unauthorized
|
|
1205
|
-
*/
|
|
1206
|
-
401: ApiErrors;
|
|
1207
|
-
/**
|
|
1208
|
-
* Method not allowed
|
|
1209
|
-
*/
|
|
1210
|
-
405: ApiErrors;
|
|
1211
|
-
};
|
|
1212
|
-
export type UserUpdatePasswordError = UserUpdatePasswordErrors[keyof UserUpdatePasswordErrors];
|
|
1213
|
-
export type UserUpdatePasswordResponses = {
|
|
1214
|
-
/**
|
|
1215
|
-
* Successfully changed password
|
|
1216
|
-
*/
|
|
1217
|
-
200: User;
|
|
1218
|
-
};
|
|
1219
|
-
export type UserUpdatePasswordResponse = UserUpdatePasswordResponses[keyof UserUpdatePasswordResponses];
|
|
1220
|
-
export type UserCreateData = {
|
|
1221
|
-
body?: UserRegisterRequest;
|
|
1222
|
-
path?: never;
|
|
1223
|
-
query?: never;
|
|
1224
|
-
url: "/api/v1/users/register";
|
|
1225
|
-
};
|
|
1226
|
-
export type UserCreateErrors = {
|
|
1227
|
-
/**
|
|
1228
|
-
* A malformed or bad request
|
|
1229
|
-
*/
|
|
1230
|
-
400: ApiErrors;
|
|
1231
|
-
/**
|
|
1232
|
-
* Unauthorized
|
|
1233
|
-
*/
|
|
1234
|
-
401: ApiErrors;
|
|
1235
|
-
/**
|
|
1236
|
-
* Method not allowed
|
|
1237
|
-
*/
|
|
1238
|
-
405: ApiErrors;
|
|
1239
|
-
};
|
|
1240
|
-
export type UserCreateError = UserCreateErrors[keyof UserCreateErrors];
|
|
1241
|
-
export type UserCreateResponses = {
|
|
1242
|
-
/**
|
|
1243
|
-
* Successfully registered the user
|
|
1244
|
-
*/
|
|
1245
|
-
200: User;
|
|
1246
|
-
};
|
|
1247
|
-
export type UserCreateResponse = UserCreateResponses[keyof UserCreateResponses];
|
|
1248
|
-
export type UserUpdateLogoutData = {
|
|
1249
|
-
body?: never;
|
|
1250
|
-
path?: never;
|
|
1251
|
-
query?: never;
|
|
1252
|
-
url: "/api/v1/users/logout";
|
|
1253
|
-
};
|
|
1254
|
-
export type UserUpdateLogoutErrors = {
|
|
1255
|
-
/**
|
|
1256
|
-
* A malformed or bad request
|
|
1257
|
-
*/
|
|
1258
|
-
400: ApiErrors;
|
|
1259
|
-
/**
|
|
1260
|
-
* Unauthorized
|
|
1261
|
-
*/
|
|
1262
|
-
401: ApiErrors;
|
|
1263
|
-
/**
|
|
1264
|
-
* Method not allowed
|
|
1265
|
-
*/
|
|
1266
|
-
405: ApiErrors;
|
|
1267
|
-
};
|
|
1268
|
-
export type UserUpdateLogoutError = UserUpdateLogoutErrors[keyof UserUpdateLogoutErrors];
|
|
1269
|
-
export type UserUpdateLogoutResponses = {
|
|
1270
|
-
/**
|
|
1271
|
-
* Successfully logged out
|
|
1272
|
-
*/
|
|
1273
|
-
200: User;
|
|
1274
|
-
};
|
|
1275
|
-
export type UserUpdateLogoutResponse = UserUpdateLogoutResponses[keyof UserUpdateLogoutResponses];
|
|
1276
|
-
export type TenantMembershipsListData = {
|
|
1277
|
-
body?: never;
|
|
1278
|
-
path?: never;
|
|
1279
|
-
query?: never;
|
|
1280
|
-
url: "/api/v1/users/memberships";
|
|
1281
|
-
};
|
|
1282
|
-
export type TenantMembershipsListErrors = {
|
|
1283
|
-
/**
|
|
1284
|
-
* A malformed or bad request
|
|
1285
|
-
*/
|
|
1286
|
-
400: ApiErrors;
|
|
1287
|
-
/**
|
|
1288
|
-
* Forbidden
|
|
1289
|
-
*/
|
|
1290
|
-
403: ApiErrors;
|
|
1291
|
-
};
|
|
1292
|
-
export type TenantMembershipsListError = TenantMembershipsListErrors[keyof TenantMembershipsListErrors];
|
|
1293
|
-
export type TenantMembershipsListResponses = {
|
|
1294
|
-
/**
|
|
1295
|
-
* Successfully listed the tenant memberships
|
|
1296
|
-
*/
|
|
1297
|
-
200: UserTenantMembershipsList;
|
|
1298
|
-
};
|
|
1299
|
-
export type TenantMembershipsListResponse = TenantMembershipsListResponses[keyof TenantMembershipsListResponses];
|
|
1300
|
-
export type UserListTenantInvitesData = {
|
|
1301
|
-
body?: never;
|
|
1302
|
-
path?: never;
|
|
1303
|
-
query?: never;
|
|
1304
|
-
url: "/api/v1/users/invites";
|
|
1305
|
-
};
|
|
1306
|
-
export type UserListTenantInvitesErrors = {
|
|
1307
|
-
/**
|
|
1308
|
-
* A malformed or bad request
|
|
1309
|
-
*/
|
|
1310
|
-
400: ApiErrors;
|
|
1311
|
-
/**
|
|
1312
|
-
* Forbidden
|
|
1313
|
-
*/
|
|
1314
|
-
403: ApiErrors;
|
|
1315
|
-
};
|
|
1316
|
-
export type UserListTenantInvitesError = UserListTenantInvitesErrors[keyof UserListTenantInvitesErrors];
|
|
1317
|
-
export type UserListTenantInvitesResponses = {
|
|
1318
|
-
/**
|
|
1319
|
-
* Successfully listed the tenant invites
|
|
1320
|
-
*/
|
|
1321
|
-
200: TenantInviteList;
|
|
1322
|
-
};
|
|
1323
|
-
export type UserListTenantInvitesResponse = UserListTenantInvitesResponses[keyof UserListTenantInvitesResponses];
|
|
1324
|
-
export type TenantInviteAcceptData = {
|
|
1325
|
-
body?: AcceptInviteRequest;
|
|
1326
|
-
path?: never;
|
|
1327
|
-
query?: never;
|
|
1328
|
-
url: "/api/v1/users/invites/accept";
|
|
1329
|
-
};
|
|
1330
|
-
export type TenantInviteAcceptErrors = {
|
|
1331
|
-
/**
|
|
1332
|
-
* A malformed or bad request
|
|
1333
|
-
*/
|
|
1334
|
-
400: ApiErrors;
|
|
1335
|
-
/**
|
|
1336
|
-
* Forbidden
|
|
1337
|
-
*/
|
|
1338
|
-
403: ApiError;
|
|
1339
|
-
};
|
|
1340
|
-
export type TenantInviteAcceptError = TenantInviteAcceptErrors[keyof TenantInviteAcceptErrors];
|
|
1341
|
-
export type TenantInviteAcceptResponses = {
|
|
1342
|
-
/**
|
|
1343
|
-
* Successfully accepted the tenant invite
|
|
1344
|
-
*/
|
|
1345
|
-
200: unknown;
|
|
1346
|
-
};
|
|
1347
|
-
export type TenantInviteRejectData = {
|
|
1348
|
-
body?: RejectInviteRequest;
|
|
1349
|
-
path?: never;
|
|
1350
|
-
query?: never;
|
|
1351
|
-
url: "/api/v1/users/invites/reject";
|
|
1352
|
-
};
|
|
1353
|
-
export type TenantInviteRejectErrors = {
|
|
1354
|
-
/**
|
|
1355
|
-
* A malformed or bad request
|
|
1356
|
-
*/
|
|
1357
|
-
400: ApiErrors;
|
|
1358
|
-
/**
|
|
1359
|
-
* Forbidden
|
|
1360
|
-
*/
|
|
1361
|
-
403: ApiError;
|
|
1362
|
-
};
|
|
1363
|
-
export type TenantInviteRejectError = TenantInviteRejectErrors[keyof TenantInviteRejectErrors];
|
|
1364
|
-
export type TenantInviteRejectResponses = {
|
|
1365
|
-
/**
|
|
1366
|
-
* Successfully rejected the tenant invite
|
|
1367
|
-
*/
|
|
1368
|
-
200: unknown;
|
|
1369
|
-
};
|
|
1370
|
-
export type UserGetGithubReposData = {
|
|
1371
|
-
body?: never;
|
|
1372
|
-
path?: never;
|
|
1373
|
-
query?: never;
|
|
1374
|
-
url: "/api/v1/users/github/repos";
|
|
1375
|
-
};
|
|
1376
|
-
export type UserGetGithubReposErrors = {
|
|
1377
|
-
/**
|
|
1378
|
-
* A malformed or bad request
|
|
1379
|
-
*/
|
|
1380
|
-
400: ApiErrors;
|
|
1381
|
-
/**
|
|
1382
|
-
* Unauthorized
|
|
1383
|
-
*/
|
|
1384
|
-
401: ApiErrors;
|
|
1385
|
-
/**
|
|
1386
|
-
* Forbidden - GitHub OAuth not configured or user not linked
|
|
1387
|
-
*/
|
|
1388
|
-
403: ApiErrors;
|
|
1389
|
-
};
|
|
1390
|
-
export type UserGetGithubReposError = UserGetGithubReposErrors[keyof UserGetGithubReposErrors];
|
|
1391
|
-
export type UserGetGithubReposResponses = {
|
|
1392
|
-
/**
|
|
1393
|
-
* Successfully retrieved GitHub repositories
|
|
1394
|
-
*/
|
|
1395
|
-
200: GitHubRepositoryList;
|
|
1396
|
-
};
|
|
1397
|
-
export type UserGetGithubReposResponse = UserGetGithubReposResponses[keyof UserGetGithubReposResponses];
|
|
1398
|
-
export type AdminUsersListData = {
|
|
1399
|
-
body?: never;
|
|
1400
|
-
path?: never;
|
|
1401
|
-
query?: {
|
|
1402
|
-
/**
|
|
1403
|
-
* Maximum number of users to return
|
|
1404
|
-
*/
|
|
1405
|
-
limit?: number;
|
|
1406
|
-
/**
|
|
1407
|
-
* Number of users to skip
|
|
1408
|
-
*/
|
|
1409
|
-
offset?: number;
|
|
1410
|
-
/**
|
|
1411
|
-
* Search term for filtering users by name or email
|
|
1412
|
-
*/
|
|
1413
|
-
search?: string;
|
|
1414
|
-
/**
|
|
1415
|
-
* Filter users by role
|
|
1416
|
-
*/
|
|
1417
|
-
role?: UserRole;
|
|
1418
|
-
/**
|
|
1419
|
-
* Filter users by email verification status
|
|
1420
|
-
*/
|
|
1421
|
-
emailVerified?: boolean;
|
|
1422
|
-
};
|
|
1423
|
-
url: "/api/v1/admin/users";
|
|
1424
|
-
};
|
|
1425
|
-
export type AdminUsersListErrors = {
|
|
1426
|
-
/**
|
|
1427
|
-
* A malformed or bad request
|
|
1428
|
-
*/
|
|
1429
|
-
400: ApiErrors;
|
|
1430
|
-
/**
|
|
1431
|
-
* Unauthorized
|
|
1432
|
-
*/
|
|
1433
|
-
401: ApiErrors;
|
|
1434
|
-
/**
|
|
1435
|
-
* Forbidden - Admin access required
|
|
1436
|
-
*/
|
|
1437
|
-
403: ApiErrors;
|
|
1438
|
-
};
|
|
1439
|
-
export type AdminUsersListError = AdminUsersListErrors[keyof AdminUsersListErrors];
|
|
1440
|
-
export type AdminUsersListResponses = {
|
|
1441
|
-
/**
|
|
1442
|
-
* Successfully retrieved user list
|
|
1443
|
-
*/
|
|
1444
|
-
200: AdminUserList;
|
|
1445
|
-
};
|
|
1446
|
-
export type AdminUsersListResponse = AdminUsersListResponses[keyof AdminUsersListResponses];
|
|
1447
|
-
export type AdminUserCreateData = {
|
|
1448
|
-
body?: AdminUserCreateRequest;
|
|
1449
|
-
path?: never;
|
|
1450
|
-
query?: never;
|
|
1451
|
-
url: "/api/v1/admin/users/create";
|
|
1452
|
-
};
|
|
1453
|
-
export type AdminUserCreateErrors = {
|
|
1454
|
-
/**
|
|
1455
|
-
* A malformed or bad request
|
|
1456
|
-
*/
|
|
1457
|
-
400: ApiErrors;
|
|
1458
|
-
/**
|
|
1459
|
-
* Unauthorized
|
|
1460
|
-
*/
|
|
1461
|
-
401: ApiErrors;
|
|
1462
|
-
/**
|
|
1463
|
-
* Forbidden - Admin access required
|
|
1464
|
-
*/
|
|
1465
|
-
403: ApiErrors;
|
|
1466
|
-
/**
|
|
1467
|
-
* Conflict - User with this email already exists
|
|
1468
|
-
*/
|
|
1469
|
-
409: ApiErrors;
|
|
1470
|
-
};
|
|
1471
|
-
export type AdminUserCreateError = AdminUserCreateErrors[keyof AdminUserCreateErrors];
|
|
1472
|
-
export type AdminUserCreateResponses = {
|
|
1473
|
-
/**
|
|
1474
|
-
* Successfully created user
|
|
1475
|
-
*/
|
|
1476
|
-
201: User;
|
|
1477
|
-
};
|
|
1478
|
-
export type AdminUserCreateResponse = AdminUserCreateResponses[keyof AdminUserCreateResponses];
|
|
1479
|
-
export type AdminUserGetData = {
|
|
1480
|
-
body?: never;
|
|
1481
|
-
path: {
|
|
1482
|
-
/**
|
|
1483
|
-
* The user ID
|
|
1484
|
-
*/
|
|
1485
|
-
userId: string;
|
|
1486
|
-
};
|
|
1487
|
-
query?: never;
|
|
1488
|
-
url: "/api/v1/admin/users/{userId}";
|
|
1489
|
-
};
|
|
1490
|
-
export type AdminUserGetErrors = {
|
|
1491
|
-
/**
|
|
1492
|
-
* A malformed or bad request
|
|
1493
|
-
*/
|
|
1494
|
-
400: ApiErrors;
|
|
1495
|
-
/**
|
|
1496
|
-
* Unauthorized
|
|
1497
|
-
*/
|
|
1498
|
-
401: ApiErrors;
|
|
1499
|
-
/**
|
|
1500
|
-
* Forbidden - Admin access required
|
|
1501
|
-
*/
|
|
1502
|
-
403: ApiErrors;
|
|
1503
|
-
/**
|
|
1504
|
-
* User not found
|
|
1505
|
-
*/
|
|
1506
|
-
404: ApiErrors;
|
|
1507
|
-
};
|
|
1508
|
-
export type AdminUserGetError = AdminUserGetErrors[keyof AdminUserGetErrors];
|
|
1509
|
-
export type AdminUserGetResponses = {
|
|
1510
|
-
/**
|
|
1511
|
-
* Successfully retrieved user
|
|
1512
|
-
*/
|
|
1513
|
-
200: User;
|
|
1514
|
-
};
|
|
1515
|
-
export type AdminUserGetResponse = AdminUserGetResponses[keyof AdminUserGetResponses];
|
|
1516
|
-
export type AdminUserUpdateData = {
|
|
1517
|
-
body?: AdminUserUpdateRequest;
|
|
1518
|
-
path: {
|
|
1519
|
-
/**
|
|
1520
|
-
* The user ID
|
|
1521
|
-
*/
|
|
1522
|
-
userId: string;
|
|
1523
|
-
};
|
|
1524
|
-
query?: never;
|
|
1525
|
-
url: "/api/v1/admin/users/{userId}/update";
|
|
1526
|
-
};
|
|
1527
|
-
export type AdminUserUpdateErrors = {
|
|
1528
|
-
/**
|
|
1529
|
-
* A malformed or bad request
|
|
1530
|
-
*/
|
|
1531
|
-
400: ApiErrors;
|
|
1532
|
-
/**
|
|
1533
|
-
* Unauthorized
|
|
1534
|
-
*/
|
|
1535
|
-
401: ApiErrors;
|
|
1536
|
-
/**
|
|
1537
|
-
* Forbidden - Admin access required
|
|
1538
|
-
*/
|
|
1539
|
-
403: ApiErrors;
|
|
1540
|
-
/**
|
|
1541
|
-
* User not found
|
|
1542
|
-
*/
|
|
1543
|
-
404: ApiErrors;
|
|
1544
|
-
/**
|
|
1545
|
-
* Conflict - Email already exists
|
|
1546
|
-
*/
|
|
1547
|
-
409: ApiErrors;
|
|
1548
|
-
};
|
|
1549
|
-
export type AdminUserUpdateError = AdminUserUpdateErrors[keyof AdminUserUpdateErrors];
|
|
1550
|
-
export type AdminUserUpdateResponses = {
|
|
1551
|
-
/**
|
|
1552
|
-
* Successfully updated user
|
|
1553
|
-
*/
|
|
1554
|
-
200: User;
|
|
1555
|
-
};
|
|
1556
|
-
export type AdminUserUpdateResponse = AdminUserUpdateResponses[keyof AdminUserUpdateResponses];
|
|
1557
|
-
export type AdminUserDeleteData = {
|
|
1558
|
-
body?: never;
|
|
1559
|
-
path: {
|
|
1560
|
-
/**
|
|
1561
|
-
* The user ID
|
|
1562
|
-
*/
|
|
1563
|
-
userId: string;
|
|
1564
|
-
};
|
|
1565
|
-
query?: never;
|
|
1566
|
-
url: "/api/v1/admin/users/{userId}/delete";
|
|
1567
|
-
};
|
|
1568
|
-
export type AdminUserDeleteErrors = {
|
|
1569
|
-
/**
|
|
1570
|
-
* A malformed or bad request
|
|
1571
|
-
*/
|
|
1572
|
-
400: ApiErrors;
|
|
1573
|
-
/**
|
|
1574
|
-
* Unauthorized
|
|
1575
|
-
*/
|
|
1576
|
-
401: ApiErrors;
|
|
1577
|
-
/**
|
|
1578
|
-
* Forbidden - Admin access required or cannot delete self
|
|
1579
|
-
*/
|
|
1580
|
-
403: ApiErrors;
|
|
1581
|
-
/**
|
|
1582
|
-
* User not found
|
|
1583
|
-
*/
|
|
1584
|
-
404: ApiErrors;
|
|
1585
|
-
};
|
|
1586
|
-
export type AdminUserDeleteError = AdminUserDeleteErrors[keyof AdminUserDeleteErrors];
|
|
1587
|
-
export type AdminUserDeleteResponses = {
|
|
1588
|
-
/**
|
|
1589
|
-
* Successfully deleted user
|
|
1590
|
-
*/
|
|
1591
|
-
200: ApiMessage;
|
|
1592
|
-
};
|
|
1593
|
-
export type AdminUserDeleteResponse = AdminUserDeleteResponses[keyof AdminUserDeleteResponses];
|
|
1594
|
-
export type AdminRolesListData = {
|
|
1595
|
-
body?: never;
|
|
1596
|
-
path?: never;
|
|
1597
|
-
query?: never;
|
|
1598
|
-
url: "/api/v1/admin/roles";
|
|
1599
|
-
};
|
|
1600
|
-
export type AdminRolesListErrors = {
|
|
1601
|
-
/**
|
|
1602
|
-
* Unauthorized
|
|
1603
|
-
*/
|
|
1604
|
-
401: ApiErrors;
|
|
1605
|
-
/**
|
|
1606
|
-
* Forbidden - Admin access required
|
|
1607
|
-
*/
|
|
1608
|
-
403: ApiErrors;
|
|
1609
|
-
};
|
|
1610
|
-
export type AdminRolesListError = AdminRolesListErrors[keyof AdminRolesListErrors];
|
|
1611
|
-
export type AdminRolesListResponses = {
|
|
1612
|
-
/**
|
|
1613
|
-
* Successfully retrieved role list
|
|
1614
|
-
*/
|
|
1615
|
-
200: RoleList;
|
|
1616
|
-
};
|
|
1617
|
-
export type AdminRolesListResponse = AdminRolesListResponses[keyof AdminRolesListResponses];
|
|
1618
|
-
export type AdminUserRolesData = {
|
|
1619
|
-
body?: never;
|
|
1620
|
-
path: {
|
|
1621
|
-
/**
|
|
1622
|
-
* The user ID
|
|
1623
|
-
*/
|
|
1624
|
-
userId: string;
|
|
1625
|
-
};
|
|
1626
|
-
query?: never;
|
|
1627
|
-
url: "/api/v1/admin/users/{userId}/roles";
|
|
1628
|
-
};
|
|
1629
|
-
export type AdminUserRolesErrors = {
|
|
1630
|
-
/**
|
|
1631
|
-
* Unauthorized
|
|
1632
|
-
*/
|
|
1633
|
-
401: ApiErrors;
|
|
1634
|
-
/**
|
|
1635
|
-
* Forbidden - Admin access required
|
|
1636
|
-
*/
|
|
1637
|
-
403: ApiErrors;
|
|
1638
|
-
/**
|
|
1639
|
-
* User not found
|
|
1640
|
-
*/
|
|
1641
|
-
404: ApiErrors;
|
|
1642
|
-
};
|
|
1643
|
-
export type AdminUserRolesError = AdminUserRolesErrors[keyof AdminUserRolesErrors];
|
|
1644
|
-
export type AdminUserRolesResponses = {
|
|
1645
|
-
/**
|
|
1646
|
-
* Successfully retrieved user's roles
|
|
1647
|
-
*/
|
|
1648
|
-
200: RoleList;
|
|
1649
|
-
};
|
|
1650
|
-
export type AdminUserRolesResponse = AdminUserRolesResponses[keyof AdminUserRolesResponses];
|
|
1651
|
-
export type AdminUserAssignRoleData = {
|
|
1652
|
-
body?: AdminAssignRoleRequest;
|
|
1653
|
-
path: {
|
|
1654
|
-
/**
|
|
1655
|
-
* The user ID
|
|
1656
|
-
*/
|
|
1657
|
-
userId: string;
|
|
1658
|
-
};
|
|
1659
|
-
query?: never;
|
|
1660
|
-
url: "/api/v1/admin/users/{userId}/roles/assign";
|
|
1661
|
-
};
|
|
1662
|
-
export type AdminUserAssignRoleErrors = {
|
|
1663
|
-
/**
|
|
1664
|
-
* Bad request
|
|
1665
|
-
*/
|
|
1666
|
-
400: ApiErrors;
|
|
1667
|
-
/**
|
|
1668
|
-
* Unauthorized
|
|
1669
|
-
*/
|
|
1670
|
-
401: ApiErrors;
|
|
1671
|
-
/**
|
|
1672
|
-
* Forbidden - Admin access required
|
|
1673
|
-
*/
|
|
1674
|
-
403: ApiErrors;
|
|
1675
|
-
/**
|
|
1676
|
-
* User or role not found
|
|
1677
|
-
*/
|
|
1678
|
-
404: ApiErrors;
|
|
1679
|
-
/**
|
|
1680
|
-
* Role already assigned
|
|
1681
|
-
*/
|
|
1682
|
-
409: ApiErrors;
|
|
1683
|
-
};
|
|
1684
|
-
export type AdminUserAssignRoleError = AdminUserAssignRoleErrors[keyof AdminUserAssignRoleErrors];
|
|
1685
|
-
export type AdminUserAssignRoleResponses = {
|
|
1686
|
-
/**
|
|
1687
|
-
* Successfully assigned role
|
|
1688
|
-
*/
|
|
1689
|
-
200: RoleList;
|
|
1690
|
-
};
|
|
1691
|
-
export type AdminUserAssignRoleResponse = AdminUserAssignRoleResponses[keyof AdminUserAssignRoleResponses];
|
|
1692
|
-
export type AdminUserRemoveRoleData = {
|
|
1693
|
-
body?: never;
|
|
1694
|
-
path: {
|
|
1695
|
-
/**
|
|
1696
|
-
* The user ID
|
|
1697
|
-
*/
|
|
1698
|
-
userId: string;
|
|
1699
|
-
};
|
|
1700
|
-
query: {
|
|
1701
|
-
/**
|
|
1702
|
-
* Role name to remove
|
|
1703
|
-
*/
|
|
1704
|
-
roleName: string;
|
|
1705
|
-
};
|
|
1706
|
-
url: "/api/v1/admin/users/{userId}/roles/remove";
|
|
1707
|
-
};
|
|
1708
|
-
export type AdminUserRemoveRoleErrors = {
|
|
1709
|
-
/**
|
|
1710
|
-
* Bad request
|
|
1711
|
-
*/
|
|
1712
|
-
400: ApiErrors;
|
|
1713
|
-
/**
|
|
1714
|
-
* Unauthorized
|
|
1715
|
-
*/
|
|
1716
|
-
401: ApiErrors;
|
|
1717
|
-
/**
|
|
1718
|
-
* Forbidden - Admin access required
|
|
1719
|
-
*/
|
|
1720
|
-
403: ApiErrors;
|
|
1721
|
-
/**
|
|
1722
|
-
* User or role not found
|
|
1723
|
-
*/
|
|
1724
|
-
404: ApiErrors;
|
|
1725
|
-
};
|
|
1726
|
-
export type AdminUserRemoveRoleError = AdminUserRemoveRoleErrors[keyof AdminUserRemoveRoleErrors];
|
|
1727
|
-
export type AdminUserRemoveRoleResponses = {
|
|
1728
|
-
/**
|
|
1729
|
-
* Successfully removed role
|
|
1730
|
-
*/
|
|
1731
|
-
200: RoleList;
|
|
1732
|
-
};
|
|
1733
|
-
export type AdminUserRemoveRoleResponse = AdminUserRemoveRoleResponses[keyof AdminUserRemoveRoleResponses];
|
|
1734
|
-
export type UserSettingsGetData = {
|
|
1735
|
-
body?: never;
|
|
1736
|
-
path: {
|
|
1737
|
-
/**
|
|
1738
|
-
* The tenant id
|
|
1739
|
-
*/
|
|
1740
|
-
tenant: TenantParameter;
|
|
1741
|
-
};
|
|
1742
|
-
query?: never;
|
|
1743
|
-
url: "/api/v1/tenants/{tenant}/user-settings";
|
|
1744
|
-
};
|
|
1745
|
-
export type UserSettingsGetErrors = {
|
|
1746
|
-
/**
|
|
1747
|
-
* Bad request
|
|
1748
|
-
*/
|
|
1749
|
-
400: ApiErrors;
|
|
1750
|
-
/**
|
|
1751
|
-
* User settings not found
|
|
1752
|
-
*/
|
|
1753
|
-
404: ApiErrors;
|
|
1754
|
-
};
|
|
1755
|
-
export type UserSettingsGetError = UserSettingsGetErrors[keyof UserSettingsGetErrors];
|
|
1756
|
-
export type UserSettingsGetResponses = {
|
|
1757
|
-
/**
|
|
1758
|
-
* User settings retrieved successfully
|
|
1759
|
-
*/
|
|
1760
|
-
200: UserSettings;
|
|
1761
|
-
};
|
|
1762
|
-
export type UserSettingsGetResponse = UserSettingsGetResponses[keyof UserSettingsGetResponses];
|
|
1763
|
-
export type UserSettingsCreateData = {
|
|
1764
|
-
body: UserSettingsCreateRequest;
|
|
1765
|
-
path: {
|
|
1766
|
-
/**
|
|
1767
|
-
* The tenant id
|
|
1768
|
-
*/
|
|
1769
|
-
tenant: TenantParameter;
|
|
1770
|
-
};
|
|
1771
|
-
query?: never;
|
|
1772
|
-
url: "/api/v1/tenants/{tenant}/user-settings";
|
|
1773
|
-
};
|
|
1774
|
-
export type UserSettingsCreateErrors = {
|
|
1775
|
-
/**
|
|
1776
|
-
* Bad request
|
|
1777
|
-
*/
|
|
1778
|
-
400: ApiErrors;
|
|
1779
|
-
/**
|
|
1780
|
-
* User settings already exist
|
|
1781
|
-
*/
|
|
1782
|
-
409: ApiErrors;
|
|
1783
|
-
};
|
|
1784
|
-
export type UserSettingsCreateError = UserSettingsCreateErrors[keyof UserSettingsCreateErrors];
|
|
1785
|
-
export type UserSettingsCreateResponses = {
|
|
1786
|
-
/**
|
|
1787
|
-
* User settings created successfully
|
|
1788
|
-
*/
|
|
1789
|
-
201: UserSettings;
|
|
1790
|
-
};
|
|
1791
|
-
export type UserSettingsCreateResponse = UserSettingsCreateResponses[keyof UserSettingsCreateResponses];
|
|
1792
|
-
export type UserSettingsUpdateData = {
|
|
1793
|
-
body: UserSettingsUpdateRequest;
|
|
1794
|
-
path: {
|
|
1795
|
-
/**
|
|
1796
|
-
* The tenant id
|
|
1797
|
-
*/
|
|
1798
|
-
tenant: TenantParameter;
|
|
1799
|
-
};
|
|
1800
|
-
query?: never;
|
|
1801
|
-
url: "/api/v1/tenants/{tenant}/user-settings";
|
|
1802
|
-
};
|
|
1803
|
-
export type UserSettingsUpdateErrors = {
|
|
1804
|
-
/**
|
|
1805
|
-
* Bad request
|
|
1806
|
-
*/
|
|
1807
|
-
400: ApiErrors;
|
|
1808
|
-
/**
|
|
1809
|
-
* User settings not found
|
|
1810
|
-
*/
|
|
1811
|
-
404: ApiErrors;
|
|
1812
|
-
};
|
|
1813
|
-
export type UserSettingsUpdateError = UserSettingsUpdateErrors[keyof UserSettingsUpdateErrors];
|
|
1814
|
-
export type UserSettingsUpdateResponses = {
|
|
1815
|
-
/**
|
|
1816
|
-
* User settings updated successfully
|
|
1817
|
-
*/
|
|
1818
|
-
200: UserSettings;
|
|
1819
|
-
};
|
|
1820
|
-
export type UserSettingsUpdateResponse = UserSettingsUpdateResponses[keyof UserSettingsUpdateResponses];
|
|
1821
|
-
export type UserSettingsExportData = {
|
|
1822
|
-
body?: never;
|
|
1823
|
-
path: {
|
|
1824
|
-
/**
|
|
1825
|
-
* The tenant id
|
|
1826
|
-
*/
|
|
1827
|
-
tenant: TenantParameter;
|
|
1828
|
-
};
|
|
1829
|
-
query?: never;
|
|
1830
|
-
url: "/api/v1/tenants/{tenant}/user-settings/export";
|
|
1831
|
-
};
|
|
1832
|
-
export type UserSettingsExportErrors = {
|
|
1833
|
-
/**
|
|
1834
|
-
* Bad request
|
|
1835
|
-
*/
|
|
1836
|
-
400: ApiErrors;
|
|
1837
|
-
/**
|
|
1838
|
-
* User settings not found
|
|
1839
|
-
*/
|
|
1840
|
-
404: ApiErrors;
|
|
1841
|
-
};
|
|
1842
|
-
export type UserSettingsExportError = UserSettingsExportErrors[keyof UserSettingsExportErrors];
|
|
1843
|
-
export type UserSettingsExportResponses = {
|
|
1844
|
-
/**
|
|
1845
|
-
* User settings in YAML format
|
|
1846
|
-
*/
|
|
1847
|
-
200: Blob | File;
|
|
1848
|
-
};
|
|
1849
|
-
export type UserSettingsExportResponse = UserSettingsExportResponses[keyof UserSettingsExportResponses];
|
|
1850
|
-
export type UserSettingsImportData = {
|
|
1851
|
-
/**
|
|
1852
|
-
* User settings in YAML format
|
|
1853
|
-
*/
|
|
1854
|
-
body: string;
|
|
1855
|
-
path: {
|
|
1856
|
-
/**
|
|
1857
|
-
* The tenant id
|
|
1858
|
-
*/
|
|
1859
|
-
tenant: TenantParameter;
|
|
1860
|
-
};
|
|
1861
|
-
query?: never;
|
|
1862
|
-
url: "/api/v1/tenants/{tenant}/user-settings/import";
|
|
1863
|
-
};
|
|
1864
|
-
export type UserSettingsImportErrors = {
|
|
1865
|
-
/**
|
|
1866
|
-
* Bad request or invalid YAML format
|
|
1867
|
-
*/
|
|
1868
|
-
400: ApiErrors;
|
|
1869
|
-
};
|
|
1870
|
-
export type UserSettingsImportError = UserSettingsImportErrors[keyof UserSettingsImportErrors];
|
|
1871
|
-
export type UserSettingsImportResponses = {
|
|
1872
|
-
/**
|
|
1873
|
-
* User settings imported successfully
|
|
1874
|
-
*/
|
|
1875
|
-
200: UserSettings;
|
|
1876
|
-
};
|
|
1877
|
-
export type UserSettingsImportResponse = UserSettingsImportResponses[keyof UserSettingsImportResponses];
|
|
1878
|
-
export type TenantCreateData = {
|
|
1879
|
-
/**
|
|
1880
|
-
* The tenant to create
|
|
1881
|
-
*/
|
|
1882
|
-
body: CreateTenantRequest;
|
|
1883
|
-
path?: never;
|
|
1884
|
-
query?: never;
|
|
1885
|
-
url: "/api/v1/tenants";
|
|
1886
|
-
};
|
|
1887
|
-
export type TenantCreateErrors = {
|
|
1888
|
-
/**
|
|
1889
|
-
* A malformed or bad request
|
|
1890
|
-
*/
|
|
1891
|
-
400: ApiErrors;
|
|
1892
|
-
/**
|
|
1893
|
-
* Forbidden
|
|
1894
|
-
*/
|
|
1895
|
-
403: ApiError;
|
|
1896
|
-
};
|
|
1897
|
-
export type TenantCreateError = TenantCreateErrors[keyof TenantCreateErrors];
|
|
1898
|
-
export type TenantCreateResponses = {
|
|
1899
|
-
/**
|
|
1900
|
-
* Successfully created the tenant
|
|
1901
|
-
*/
|
|
1902
|
-
200: Tenant;
|
|
1903
|
-
};
|
|
1904
|
-
export type TenantCreateResponse = TenantCreateResponses[keyof TenantCreateResponses];
|
|
1905
|
-
export type TenantUpdateData = {
|
|
1906
|
-
/**
|
|
1907
|
-
* The tenant properties to update
|
|
1908
|
-
*/
|
|
1909
|
-
body: UpdateTenantRequest;
|
|
1910
|
-
path: {
|
|
1911
|
-
/**
|
|
1912
|
-
* The tenant id
|
|
1913
|
-
*/
|
|
1914
|
-
tenant: string;
|
|
1915
|
-
};
|
|
1916
|
-
query?: never;
|
|
1917
|
-
url: "/api/v1/tenants/{tenant}";
|
|
1918
|
-
};
|
|
1919
|
-
export type TenantUpdateErrors = {
|
|
1920
|
-
/**
|
|
1921
|
-
* A malformed or bad request
|
|
1922
|
-
*/
|
|
1923
|
-
400: ApiErrors;
|
|
1924
|
-
/**
|
|
1925
|
-
* Forbidden
|
|
1926
|
-
*/
|
|
1927
|
-
403: ApiError;
|
|
1928
|
-
};
|
|
1929
|
-
export type TenantUpdateError = TenantUpdateErrors[keyof TenantUpdateErrors];
|
|
1930
|
-
export type TenantUpdateResponses = {
|
|
1931
|
-
/**
|
|
1932
|
-
* Successfully created the tenant
|
|
1933
|
-
*/
|
|
1934
|
-
200: Tenant;
|
|
1935
|
-
};
|
|
1936
|
-
export type TenantUpdateResponse = TenantUpdateResponses[keyof TenantUpdateResponses];
|
|
1937
|
-
export type TenantAlertingSettingsGetData = {
|
|
1938
|
-
body?: never;
|
|
1939
|
-
path: {
|
|
1940
|
-
/**
|
|
1941
|
-
* The tenant id
|
|
1942
|
-
*/
|
|
1943
|
-
tenant: string;
|
|
1944
|
-
};
|
|
1945
|
-
query?: never;
|
|
1946
|
-
url: "/api/v1/tenants/{tenant}/alerting/settings";
|
|
1947
|
-
};
|
|
1948
|
-
export type TenantAlertingSettingsGetErrors = {
|
|
1949
|
-
/**
|
|
1950
|
-
* A malformed or bad request
|
|
1951
|
-
*/
|
|
1952
|
-
400: ApiErrors;
|
|
1953
|
-
/**
|
|
1954
|
-
* Forbidden
|
|
1955
|
-
*/
|
|
1956
|
-
403: ApiError;
|
|
1957
|
-
};
|
|
1958
|
-
export type TenantAlertingSettingsGetError = TenantAlertingSettingsGetErrors[keyof TenantAlertingSettingsGetErrors];
|
|
1959
|
-
export type TenantAlertingSettingsGetResponses = {
|
|
1960
|
-
/**
|
|
1961
|
-
* Successfully retrieved the tenant alerting settings
|
|
1962
|
-
*/
|
|
1963
|
-
200: TenantAlertingSettings;
|
|
1964
|
-
};
|
|
1965
|
-
export type TenantAlertingSettingsGetResponse = TenantAlertingSettingsGetResponses[keyof TenantAlertingSettingsGetResponses];
|
|
1966
|
-
export type TenantInviteListData = {
|
|
1967
|
-
body?: never;
|
|
1968
|
-
path: {
|
|
1969
|
-
/**
|
|
1970
|
-
* The tenant id
|
|
1971
|
-
*/
|
|
1972
|
-
tenant: string;
|
|
1973
|
-
};
|
|
1974
|
-
query?: never;
|
|
1975
|
-
url: "/api/v1/tenants/{tenant}/invites";
|
|
1976
|
-
};
|
|
1977
|
-
export type TenantInviteListErrors = {
|
|
1978
|
-
/**
|
|
1979
|
-
* A malformed or bad request
|
|
1980
|
-
*/
|
|
1981
|
-
400: ApiErrors;
|
|
1982
|
-
/**
|
|
1983
|
-
* Forbidden
|
|
1984
|
-
*/
|
|
1985
|
-
403: ApiError;
|
|
1986
|
-
};
|
|
1987
|
-
export type TenantInviteListError = TenantInviteListErrors[keyof TenantInviteListErrors];
|
|
1988
|
-
export type TenantInviteListResponses = {
|
|
1989
|
-
/**
|
|
1990
|
-
* Successfully retrieved the tenant invites
|
|
1991
|
-
*/
|
|
1992
|
-
200: TenantInviteList;
|
|
1993
|
-
};
|
|
1994
|
-
export type TenantInviteListResponse = TenantInviteListResponses[keyof TenantInviteListResponses];
|
|
1995
|
-
export type TenantInviteCreateData = {
|
|
1996
|
-
/**
|
|
1997
|
-
* The tenant invite to create
|
|
1998
|
-
*/
|
|
1999
|
-
body: CreateTenantInviteRequest;
|
|
2000
|
-
path: {
|
|
2001
|
-
/**
|
|
2002
|
-
* The tenant id
|
|
2003
|
-
*/
|
|
2004
|
-
tenant: string;
|
|
2005
|
-
};
|
|
2006
|
-
query?: never;
|
|
2007
|
-
url: "/api/v1/tenants/{tenant}/invites";
|
|
2008
|
-
};
|
|
2009
|
-
export type TenantInviteCreateErrors = {
|
|
2010
|
-
/**
|
|
2011
|
-
* A malformed or bad request
|
|
2012
|
-
*/
|
|
2013
|
-
400: ApiErrors;
|
|
2014
|
-
/**
|
|
2015
|
-
* Forbidden
|
|
2016
|
-
*/
|
|
2017
|
-
403: ApiError;
|
|
2018
|
-
};
|
|
2019
|
-
export type TenantInviteCreateError = TenantInviteCreateErrors[keyof TenantInviteCreateErrors];
|
|
2020
|
-
export type TenantInviteCreateResponses = {
|
|
2021
|
-
/**
|
|
2022
|
-
* Successfully created the tenant invite
|
|
2023
|
-
*/
|
|
2024
|
-
201: TenantInvite;
|
|
2025
|
-
};
|
|
2026
|
-
export type TenantInviteCreateResponse = TenantInviteCreateResponses[keyof TenantInviteCreateResponses];
|
|
2027
|
-
export type TenantInviteDeleteData = {
|
|
2028
|
-
body?: never;
|
|
2029
|
-
path: {
|
|
2030
|
-
/**
|
|
2031
|
-
* The tenant id
|
|
2032
|
-
*/
|
|
2033
|
-
tenant: string;
|
|
2034
|
-
/**
|
|
2035
|
-
* The tenant invite id
|
|
2036
|
-
*/
|
|
2037
|
-
"tenant-invite": string;
|
|
2038
|
-
};
|
|
2039
|
-
query?: never;
|
|
2040
|
-
url: "/api/v1/tenants/{tenant}/invites/{tenant-invite}";
|
|
2041
|
-
};
|
|
2042
|
-
export type TenantInviteDeleteErrors = {
|
|
2043
|
-
/**
|
|
2044
|
-
* A malformed or bad request
|
|
2045
|
-
*/
|
|
2046
|
-
400: ApiErrors;
|
|
2047
|
-
};
|
|
2048
|
-
export type TenantInviteDeleteError = TenantInviteDeleteErrors[keyof TenantInviteDeleteErrors];
|
|
2049
|
-
export type TenantInviteDeleteResponses = {
|
|
2050
|
-
/**
|
|
2051
|
-
* Successfully deleted the tenant invite
|
|
2052
|
-
*/
|
|
2053
|
-
200: TenantInvite;
|
|
2054
|
-
};
|
|
2055
|
-
export type TenantInviteDeleteResponse = TenantInviteDeleteResponses[keyof TenantInviteDeleteResponses];
|
|
2056
|
-
export type TenantInviteUpdateData = {
|
|
2057
|
-
/**
|
|
2058
|
-
* The tenant invite to update
|
|
2059
|
-
*/
|
|
2060
|
-
body: UpdateTenantInviteRequest;
|
|
2061
|
-
path: {
|
|
2062
|
-
/**
|
|
2063
|
-
* The tenant id
|
|
2064
|
-
*/
|
|
2065
|
-
tenant: string;
|
|
2066
|
-
/**
|
|
2067
|
-
* The tenant invite id
|
|
2068
|
-
*/
|
|
2069
|
-
"tenant-invite": string;
|
|
2070
|
-
};
|
|
2071
|
-
query?: never;
|
|
2072
|
-
url: "/api/v1/tenants/{tenant}/invites/{tenant-invite}";
|
|
2073
|
-
};
|
|
2074
|
-
export type TenantInviteUpdateErrors = {
|
|
2075
|
-
/**
|
|
2076
|
-
* A malformed or bad request
|
|
2077
|
-
*/
|
|
2078
|
-
400: ApiErrors;
|
|
2079
|
-
};
|
|
2080
|
-
export type TenantInviteUpdateError = TenantInviteUpdateErrors[keyof TenantInviteUpdateErrors];
|
|
2081
|
-
export type TenantInviteUpdateResponses = {
|
|
2082
|
-
/**
|
|
2083
|
-
* Successfully updated the tenant invite
|
|
2084
|
-
*/
|
|
2085
|
-
200: TenantInvite;
|
|
2086
|
-
};
|
|
2087
|
-
export type TenantInviteUpdateResponse = TenantInviteUpdateResponses[keyof TenantInviteUpdateResponses];
|
|
2088
|
-
export type ApiTokenListData = {
|
|
2089
|
-
body?: never;
|
|
2090
|
-
path: {
|
|
2091
|
-
/**
|
|
2092
|
-
* The tenant id
|
|
2093
|
-
*/
|
|
2094
|
-
tenant: string;
|
|
2095
|
-
};
|
|
2096
|
-
query?: never;
|
|
2097
|
-
url: "/api/v1/tenants/{tenant}/api-tokens";
|
|
2098
|
-
};
|
|
2099
|
-
export type ApiTokenListErrors = {
|
|
2100
|
-
/**
|
|
2101
|
-
* A malformed or bad request
|
|
2102
|
-
*/
|
|
2103
|
-
400: ApiErrors;
|
|
2104
|
-
/**
|
|
2105
|
-
* Forbidden
|
|
2106
|
-
*/
|
|
2107
|
-
403: ApiErrors;
|
|
2108
|
-
};
|
|
2109
|
-
export type ApiTokenListError = ApiTokenListErrors[keyof ApiTokenListErrors];
|
|
2110
|
-
export type ApiTokenListResponses = {
|
|
2111
|
-
/**
|
|
2112
|
-
* Successfully retrieved the workflows
|
|
2113
|
-
*/
|
|
2114
|
-
200: ListApiTokensResponse;
|
|
2115
|
-
};
|
|
2116
|
-
export type ApiTokenListResponse = ApiTokenListResponses[keyof ApiTokenListResponses];
|
|
2117
|
-
export type ApiTokenCreateData = {
|
|
2118
|
-
body?: CreateApiTokenRequest;
|
|
2119
|
-
path: {
|
|
2120
|
-
/**
|
|
2121
|
-
* The tenant id
|
|
2122
|
-
*/
|
|
2123
|
-
tenant: string;
|
|
2124
|
-
};
|
|
2125
|
-
query?: never;
|
|
2126
|
-
url: "/api/v1/tenants/{tenant}/api-tokens";
|
|
2127
|
-
};
|
|
2128
|
-
export type ApiTokenCreateErrors = {
|
|
2129
|
-
/**
|
|
2130
|
-
* A malformed or bad request
|
|
2131
|
-
*/
|
|
2132
|
-
400: ApiErrors;
|
|
2133
|
-
/**
|
|
2134
|
-
* Forbidden
|
|
2135
|
-
*/
|
|
2136
|
-
403: ApiErrors;
|
|
2137
|
-
};
|
|
2138
|
-
export type ApiTokenCreateError = ApiTokenCreateErrors[keyof ApiTokenCreateErrors];
|
|
2139
|
-
export type ApiTokenCreateResponses = {
|
|
2140
|
-
/**
|
|
2141
|
-
* Successfully retrieved the workflows
|
|
2142
|
-
*/
|
|
2143
|
-
200: CreateApiTokenResponse;
|
|
2144
|
-
};
|
|
2145
|
-
export type ApiTokenCreateResponse = ApiTokenCreateResponses[keyof ApiTokenCreateResponses];
|
|
2146
|
-
export type ApiTokenUpdateRevokeData = {
|
|
2147
|
-
body?: never;
|
|
2148
|
-
path: {
|
|
2149
|
-
/**
|
|
2150
|
-
* The API token
|
|
2151
|
-
*/
|
|
2152
|
-
"api-token": string;
|
|
2153
|
-
};
|
|
2154
|
-
query?: never;
|
|
2155
|
-
url: "/api/v1/api-tokens/{api-token}";
|
|
2156
|
-
};
|
|
2157
|
-
export type ApiTokenUpdateRevokeErrors = {
|
|
2158
|
-
/**
|
|
2159
|
-
* A malformed or bad request
|
|
2160
|
-
*/
|
|
2161
|
-
400: ApiErrors;
|
|
2162
|
-
/**
|
|
2163
|
-
* Forbidden
|
|
2164
|
-
*/
|
|
2165
|
-
403: ApiErrors;
|
|
2166
|
-
};
|
|
2167
|
-
export type ApiTokenUpdateRevokeError = ApiTokenUpdateRevokeErrors[keyof ApiTokenUpdateRevokeErrors];
|
|
2168
|
-
export type ApiTokenUpdateRevokeResponses = {
|
|
2169
|
-
/**
|
|
2170
|
-
* Successfully revoked the token
|
|
2171
|
-
*/
|
|
2172
|
-
204: void;
|
|
2173
|
-
};
|
|
2174
|
-
export type ApiTokenUpdateRevokeResponse = ApiTokenUpdateRevokeResponses[keyof ApiTokenUpdateRevokeResponses];
|
|
2175
|
-
export type TenantMemberListData = {
|
|
2176
|
-
body?: never;
|
|
2177
|
-
path: {
|
|
2178
|
-
/**
|
|
2179
|
-
* The tenant id
|
|
2180
|
-
*/
|
|
2181
|
-
tenant: string;
|
|
2182
|
-
};
|
|
2183
|
-
query?: never;
|
|
2184
|
-
url: "/api/v1/tenants/{tenant}/members";
|
|
2185
|
-
};
|
|
2186
|
-
export type TenantMemberListErrors = {
|
|
2187
|
-
/**
|
|
2188
|
-
* A malformed or bad request
|
|
2189
|
-
*/
|
|
2190
|
-
400: ApiErrors;
|
|
2191
|
-
/**
|
|
2192
|
-
* Forbidden
|
|
2193
|
-
*/
|
|
2194
|
-
403: ApiError;
|
|
2195
|
-
};
|
|
2196
|
-
export type TenantMemberListError = TenantMemberListErrors[keyof TenantMemberListErrors];
|
|
2197
|
-
export type TenantMemberListResponses = {
|
|
2198
|
-
/**
|
|
2199
|
-
* Successfully retrieved the tenant members
|
|
2200
|
-
*/
|
|
2201
|
-
200: TenantMemberList;
|
|
2202
|
-
};
|
|
2203
|
-
export type TenantMemberListResponse = TenantMemberListResponses[keyof TenantMemberListResponses];
|
|
2204
|
-
export type TenantMemberDeleteData = {
|
|
2205
|
-
body?: never;
|
|
2206
|
-
path: {
|
|
2207
|
-
/**
|
|
2208
|
-
* The tenant id
|
|
2209
|
-
*/
|
|
2210
|
-
tenant: string;
|
|
2211
|
-
/**
|
|
2212
|
-
* The tenant member id
|
|
2213
|
-
*/
|
|
2214
|
-
member: string;
|
|
2215
|
-
};
|
|
2216
|
-
query?: never;
|
|
2217
|
-
url: "/api/v1/tenants/{tenant}/members/{member}";
|
|
2218
|
-
};
|
|
2219
|
-
export type TenantMemberDeleteErrors = {
|
|
2220
|
-
/**
|
|
2221
|
-
* A malformed or bad request
|
|
2222
|
-
*/
|
|
2223
|
-
400: ApiErrors;
|
|
2224
|
-
/**
|
|
2225
|
-
* Forbidden
|
|
2226
|
-
*/
|
|
2227
|
-
403: ApiErrors;
|
|
2228
|
-
/**
|
|
2229
|
-
* Not found
|
|
2230
|
-
*/
|
|
2231
|
-
404: ApiErrors;
|
|
2232
|
-
};
|
|
2233
|
-
export type TenantMemberDeleteError = TenantMemberDeleteErrors[keyof TenantMemberDeleteErrors];
|
|
2234
|
-
export type TenantMemberDeleteResponses = {
|
|
2235
|
-
/**
|
|
2236
|
-
* Successfully deleted the tenant members
|
|
2237
|
-
*/
|
|
2238
|
-
204: TenantMember;
|
|
2239
|
-
};
|
|
2240
|
-
export type TenantMemberDeleteResponse = TenantMemberDeleteResponses[keyof TenantMemberDeleteResponses];
|
|
2241
|
-
export type TenantExportData = {
|
|
2242
|
-
body?: never;
|
|
2243
|
-
path: {
|
|
2244
|
-
/**
|
|
2245
|
-
* The tenant id
|
|
2246
|
-
*/
|
|
2247
|
-
tenant: string;
|
|
2248
|
-
};
|
|
2249
|
-
query?: never;
|
|
2250
|
-
url: "/api/v1/tenants/{tenant}/export";
|
|
2251
|
-
};
|
|
2252
|
-
export type TenantExportErrors = {
|
|
2253
|
-
/**
|
|
2254
|
-
* A malformed or bad request
|
|
2255
|
-
*/
|
|
2256
|
-
400: ApiErrors;
|
|
2257
|
-
/**
|
|
2258
|
-
* Forbidden
|
|
2259
|
-
*/
|
|
2260
|
-
403: ApiErrors;
|
|
2261
|
-
/**
|
|
2262
|
-
* Not found
|
|
2263
|
-
*/
|
|
2264
|
-
404: ApiErrors;
|
|
2265
|
-
};
|
|
2266
|
-
export type TenantExportError = TenantExportErrors[keyof TenantExportErrors];
|
|
2267
|
-
export type TenantExportResponses = {
|
|
2268
|
-
/**
|
|
2269
|
-
* Tenant information exported successfully
|
|
2270
|
-
*/
|
|
2271
|
-
200: TenantInfoExport;
|
|
2272
|
-
};
|
|
2273
|
-
export type TenantExportResponse = TenantExportResponses[keyof TenantExportResponses];
|
|
2274
|
-
export type InfoGetVersionData = {
|
|
2275
|
-
body?: never;
|
|
2276
|
-
path?: never;
|
|
2277
|
-
query?: never;
|
|
2278
|
-
url: "/api/v1/version";
|
|
2279
|
-
};
|
|
2280
|
-
export type InfoGetVersionResponses = {
|
|
2281
|
-
/**
|
|
2282
|
-
* The version of the server
|
|
2283
|
-
*/
|
|
2284
|
-
200: {
|
|
2285
|
-
version: string;
|
|
2286
|
-
};
|
|
2287
|
-
};
|
|
2288
|
-
export type InfoGetVersionResponse = InfoGetVersionResponses[keyof InfoGetVersionResponses];
|
|
2289
|
-
export type InfoGetData = {
|
|
2290
|
-
body?: never;
|
|
2291
|
-
path?: never;
|
|
2292
|
-
query?: never;
|
|
2293
|
-
url: "/api/v1/info";
|
|
2294
|
-
};
|
|
2295
|
-
export type InfoGetResponses = {
|
|
2296
|
-
/**
|
|
2297
|
-
* Server information
|
|
2298
|
-
*/
|
|
2299
|
-
200: ServerInfo;
|
|
2300
|
-
};
|
|
2301
|
-
export type InfoGetResponse = InfoGetResponses[keyof InfoGetResponses];
|
|
2302
|
-
//# sourceMappingURL=types.gen.d.ts.map
|