mtmsdk 0.0.42 → 0.0.43
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/cloud-account/platform-configs.d.ts +64 -0
- package/dist/cloud-account/platform-configs.d.ts.map +1 -0
- package/dist/cloud-account/platform-configs.js +44 -0
- package/dist/cloud-account/platform-configs.js.map +1 -0
- package/dist/{gomtmapi_v2 → gomtmapi}/@tanstack/react-query.gen.d.ts +202 -8
- package/dist/gomtmapi/@tanstack/react-query.gen.d.ts.map +1 -0
- package/dist/{gomtmapi_v2 → gomtmapi}/@tanstack/react-query.gen.js +300 -10
- package/dist/gomtmapi/@tanstack/react-query.gen.js.map +1 -0
- package/dist/{opencode → gomtmapi}/client/client.gen.d.ts.map +1 -1
- package/dist/{opencode → gomtmapi}/client/client.gen.js.map +1 -1
- package/dist/{opencode → gomtmapi}/client/index.d.ts.map +1 -1
- package/dist/{opencode → gomtmapi}/client/index.js.map +1 -1
- package/dist/{opencode → gomtmapi}/client/types.gen.d.ts.map +1 -1
- package/dist/gomtmapi/client/types.gen.js.map +1 -0
- package/dist/{opencode → gomtmapi}/client/utils.gen.d.ts.map +1 -1
- package/dist/{opencode → gomtmapi}/client/utils.gen.js.map +1 -1
- package/dist/{opencode → gomtmapi}/client.gen.d.ts.map +1 -1
- package/dist/{opencode → gomtmapi}/client.gen.js.map +1 -1
- package/dist/{opencode → gomtmapi}/core/auth.gen.d.ts.map +1 -1
- package/dist/{opencode → gomtmapi}/core/auth.gen.js.map +1 -1
- package/dist/{opencode → gomtmapi}/core/bodySerializer.gen.d.ts.map +1 -1
- package/dist/{opencode → gomtmapi}/core/bodySerializer.gen.js.map +1 -1
- package/dist/{opencode → gomtmapi}/core/params.gen.d.ts.map +1 -1
- package/dist/{opencode → gomtmapi}/core/params.gen.js.map +1 -1
- package/dist/{opencode → gomtmapi}/core/pathSerializer.gen.d.ts.map +1 -1
- package/dist/{opencode → gomtmapi}/core/pathSerializer.gen.js.map +1 -1
- package/dist/{opencode → gomtmapi}/core/queryKeySerializer.gen.d.ts.map +1 -1
- package/dist/{opencode → gomtmapi}/core/queryKeySerializer.gen.js.map +1 -1
- package/dist/{opencode → gomtmapi}/core/serverSentEvents.gen.d.ts.map +1 -1
- package/dist/{opencode → gomtmapi}/core/serverSentEvents.gen.js.map +1 -1
- package/dist/{opencode → gomtmapi}/core/types.gen.d.ts.map +1 -1
- package/dist/gomtmapi/core/types.gen.js.map +1 -0
- package/dist/{opencode → gomtmapi}/core/utils.gen.d.ts.map +1 -1
- package/dist/{opencode → gomtmapi}/core/utils.gen.js.map +1 -1
- package/dist/gomtmapi/index.d.ts +3 -0
- package/dist/gomtmapi/index.d.ts.map +1 -0
- package/dist/gomtmapi/index.js +3 -0
- package/dist/gomtmapi/index.js.map +1 -0
- package/dist/{gomtmapi_v2 → gomtmapi}/schemas.gen.d.ts +337 -50
- package/dist/gomtmapi/schemas.gen.d.ts.map +1 -0
- package/dist/{gomtmapi_v2 → gomtmapi}/schemas.gen.js +355 -50
- package/dist/gomtmapi/schemas.gen.js.map +1 -0
- package/dist/gomtmapi/sdk.gen.d.ts +378 -0
- package/dist/gomtmapi/sdk.gen.d.ts.map +1 -0
- package/dist/{gomtmapi_v2 → gomtmapi}/sdk.gen.js +234 -15
- package/dist/gomtmapi/sdk.gen.js.map +1 -0
- package/dist/{gomtmapi_v2 → gomtmapi}/types.gen.d.ts +494 -50
- package/dist/gomtmapi/types.gen.d.ts.map +1 -0
- package/dist/gomtmapi/types.gen.js.map +1 -0
- package/dist/{gomtmapi_v2 → gomtmapi}/zod.gen.d.ts +391 -45
- package/dist/gomtmapi/zod.gen.d.ts.map +1 -0
- package/dist/{gomtmapi_v2 → gomtmapi}/zod.gen.js +270 -31
- package/dist/gomtmapi/zod.gen.js.map +1 -0
- package/dist/lib/logger/index.d.ts +3 -0
- package/dist/lib/logger/index.d.ts.map +1 -1
- package/dist/lib/schema.d.ts +14 -2
- package/dist/lib/schema.d.ts.map +1 -1
- package/dist/lib/schema.js +1 -1
- package/dist/lib/schema.js.map +1 -1
- package/dist/mtgate_api/@tanstack/react-query.gen.d.ts +29 -1
- package/dist/mtgate_api/@tanstack/react-query.gen.d.ts.map +1 -1
- package/dist/mtgate_api/@tanstack/react-query.gen.js +17 -1
- package/dist/mtgate_api/@tanstack/react-query.gen.js.map +1 -1
- 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 -1
- package/dist/mtgate_api/index.js.map +1 -1
- package/dist/mtgate_api/schemas.gen.d.ts +1 -0
- package/dist/mtgate_api/schemas.gen.d.ts.map +1 -1
- package/dist/mtgate_api/schemas.gen.js +8 -1
- package/dist/mtgate_api/schemas.gen.js.map +1 -1
- package/dist/mtgate_api/sdk.gen.d.ts +5 -1
- package/dist/mtgate_api/sdk.gen.d.ts.map +1 -1
- package/dist/mtgate_api/sdk.gen.js +4 -0
- package/dist/mtgate_api/sdk.gen.js.map +1 -1
- package/dist/mtgate_api/types.gen.d.ts +7 -1
- package/dist/mtgate_api/types.gen.d.ts.map +1 -1
- package/dist/mtgate_api/zod.gen.d.ts +26 -3
- package/dist/mtgate_api/zod.gen.d.ts.map +1 -1
- package/dist/mtgate_api/zod.gen.js +12 -1
- package/dist/mtgate_api/zod.gen.js.map +1 -1
- package/dist/openclaw/client-info.d.ts +56 -0
- package/dist/openclaw/client-info.d.ts.map +1 -0
- package/dist/openclaw/client-info.js +44 -0
- package/dist/openclaw/client-info.js.map +1 -0
- package/dist/openclaw/device-auth-utils.d.ts +13 -0
- package/dist/openclaw/device-auth-utils.d.ts.map +1 -0
- package/dist/openclaw/device-auth-utils.js +20 -0
- package/dist/openclaw/device-auth-utils.js.map +1 -0
- package/dist/openclaw/device-auth.d.ts +21 -0
- package/dist/openclaw/device-auth.d.ts.map +1 -0
- package/dist/openclaw/device-auth.js +84 -0
- package/dist/openclaw/device-auth.js.map +1 -0
- package/dist/openclaw/device-identity.d.ts +8 -0
- package/dist/openclaw/device-identity.d.ts.map +1 -0
- package/dist/openclaw/device-identity.js +87 -0
- package/dist/openclaw/device-identity.js.map +1 -0
- package/dist/openclaw/gateway.d.ts +86 -0
- package/dist/openclaw/gateway.d.ts.map +1 -0
- package/dist/openclaw/gateway.js +268 -0
- package/dist/openclaw/gateway.js.map +1 -0
- package/dist/openclaw/types.d.ts +473 -0
- package/dist/openclaw/types.d.ts.map +1 -0
- package/dist/openclaw/types.js +2 -0
- package/dist/openclaw/types.js.map +1 -0
- package/dist/openclaw/uuid.d.ts +6 -0
- package/dist/openclaw/uuid.d.ts.map +1 -0
- package/dist/openclaw/uuid.js +39 -0
- package/dist/openclaw/uuid.js.map +1 -0
- package/dist/sbapi/@tanstack/react-query.gen.d.ts +3251 -6
- package/dist/sbapi/@tanstack/react-query.gen.d.ts.map +1 -1
- package/dist/sbapi/@tanstack/react-query.gen.js +6050 -6
- package/dist/sbapi/@tanstack/react-query.gen.js.map +1 -1
- package/dist/sbapi/client.gen.d.ts.map +1 -1
- package/dist/sbapi/client.gen.js +1 -1
- package/dist/sbapi/client.gen.js.map +1 -1
- package/dist/sbapi/index.d.ts +2 -2
- package/dist/sbapi/index.d.ts.map +1 -1
- package/dist/sbapi/index.js +1 -1
- package/dist/sbapi/index.js.map +1 -1
- package/dist/sbapi/schemas.gen.d.ts +2320 -36
- package/dist/sbapi/schemas.gen.d.ts.map +1 -1
- package/dist/sbapi/schemas.gen.js +2593 -45
- package/dist/sbapi/schemas.gen.js.map +1 -1
- package/dist/sbapi/sdk.gen.d.ts +819 -2
- package/dist/sbapi/sdk.gen.d.ts.map +1 -1
- package/dist/sbapi/sdk.gen.js +2463 -1
- package/dist/sbapi/sdk.gen.js.map +1 -1
- package/dist/sbapi/types.gen.d.ts +11701 -29
- package/dist/sbapi/types.gen.d.ts.map +1 -1
- package/dist/sbapi/zod.gen.d.ts +8134 -26
- package/dist/sbapi/zod.gen.d.ts.map +1 -1
- package/dist/sbapi/zod.gen.js +6572 -18
- package/dist/sbapi/zod.gen.js.map +1 -1
- package/dist/sbmng/@tanstack/react-query.gen.d.ts +253 -157
- package/dist/sbmng/@tanstack/react-query.gen.d.ts.map +1 -1
- package/dist/sbmng/@tanstack/react-query.gen.js +241 -145
- package/dist/sbmng/@tanstack/react-query.gen.js.map +1 -1
- package/dist/sbmng/index.d.ts +2 -2
- package/dist/sbmng/index.d.ts.map +1 -1
- package/dist/sbmng/index.js +1 -1
- package/dist/sbmng/index.js.map +1 -1
- package/dist/sbmng/schemas.gen.d.ts +1035 -917
- package/dist/sbmng/schemas.gen.d.ts.map +1 -1
- package/dist/sbmng/schemas.gen.js +1219 -1067
- package/dist/sbmng/schemas.gen.js.map +1 -1
- package/dist/sbmng/sdk.gen.d.ts +62 -38
- package/dist/sbmng/sdk.gen.d.ts.map +1 -1
- package/dist/sbmng/sdk.gen.js +140 -84
- package/dist/sbmng/sdk.gen.js.map +1 -1
- package/dist/sbmng/types.gen.d.ts +1214 -991
- package/dist/sbmng/types.gen.d.ts.map +1 -1
- package/dist/supabase/auth-provider.d.ts +4 -0
- package/dist/supabase/auth-provider.d.ts.map +1 -0
- package/dist/supabase/auth-provider.js +45 -0
- package/dist/supabase/auth-provider.js.map +1 -0
- package/dist/supabase/cursor-pagination.d.ts +92 -0
- package/dist/supabase/cursor-pagination.d.ts.map +1 -0
- package/dist/supabase/cursor-pagination.js +116 -0
- package/dist/supabase/cursor-pagination.js.map +1 -0
- package/dist/supabase/schema/browser.d.ts.map +1 -0
- package/dist/supabase/schema/browser.js.map +1 -0
- package/dist/supabase/schema/index.d.ts +29 -0
- package/dist/supabase/schema/index.d.ts.map +1 -0
- package/dist/supabase/schema/index.js +38 -0
- package/dist/supabase/schema/index.js.map +1 -0
- package/dist/supabase/supabase-client.d.ts +1912 -1128
- package/dist/supabase/supabase-client.d.ts.map +1 -1
- package/dist/supabase/supabase.d.ts +4466 -2898
- package/dist/supabase/supabase.d.ts.map +1 -1
- package/dist/supabase/supabase.js +7 -4
- package/dist/supabase/supabase.js.map +1 -1
- package/dist/supabase/use-sb-query/use-query.d.ts +1 -1
- package/dist/supabase/use-sb-query/use-query.d.ts.map +1 -1
- package/dist/supabase/use-sb-query/use-query.js +2 -6
- package/dist/supabase/use-sb-query/use-query.js.map +1 -1
- package/dist/supabase/use-sb-query/use-rpc-mutation.d.ts +61 -0
- package/dist/supabase/use-sb-query/use-rpc-mutation.d.ts.map +1 -0
- package/dist/supabase/use-sb-query/use-rpc-mutation.js +63 -0
- package/dist/supabase/use-sb-query/use-rpc-mutation.js.map +1 -0
- package/dist/supabase/use-sb-query/use-rpc-query.d.ts +124 -0
- package/dist/supabase/use-sb-query/use-rpc-query.d.ts.map +1 -0
- package/dist/supabase/use-sb-query/use-rpc-query.js +91 -0
- package/dist/supabase/use-sb-query/use-rpc-query.js.map +1 -0
- package/dist/supabase/utils.d.ts +1 -1
- package/dist/supabase/utils.d.ts.map +1 -1
- package/dist/types/database.schemas.d.ts +3911 -0
- package/dist/types/database.schemas.d.ts.map +1 -0
- package/dist/types/database.schemas.js +3180 -0
- package/dist/types/database.schemas.js.map +1 -0
- package/dist/types/database.types.d.ts +1923 -1134
- package/dist/types/database.types.d.ts.map +1 -1
- package/dist/types/database.types.js +24 -0
- package/dist/types/database.types.js.map +1 -1
- package/dist/types/index.d.ts +47 -6
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/index.js +27 -1
- package/dist/types/index.js.map +1 -1
- package/dist/types/rpc.schemas.d.ts +64 -0
- package/dist/types/rpc.schemas.d.ts.map +1 -0
- package/dist/types/rpc.schemas.js +122 -0
- package/dist/types/rpc.schemas.js.map +1 -0
- package/package.json +48 -39
- package/src/adk/api/client.ts +46 -0
- package/src/adk/core/constants/tool-icons.ts +51 -0
- package/src/adk/core/models/AgentBuilder.ts +80 -0
- package/src/adk/core/models/AgentRunRequest.ts +33 -0
- package/src/adk/core/models/Eval.ts +70 -0
- package/src/adk/core/models/LiveRequest.ts +23 -0
- package/src/adk/core/models/RuntimeConfig.ts +33 -0
- package/src/adk/core/models/Session.ts +52 -0
- package/src/adk/core/models/Trace.ts +42 -0
- package/src/adk/core/models/types.ts +255 -0
- package/src/api_hatchet/@tanstack/react-query.gen.ts +3025 -0
- package/src/api_hatchet/client/client.gen.ts +311 -0
- package/src/api_hatchet/client/index.ts +25 -0
- package/src/api_hatchet/client/types.gen.ts +241 -0
- package/src/api_hatchet/client/utils.gen.ts +332 -0
- package/{dist/opencode/client.gen.d.ts → src/api_hatchet/client.gen.ts} +6 -3
- package/src/api_hatchet/core/auth.gen.ts +42 -0
- package/src/api_hatchet/core/bodySerializer.gen.ts +100 -0
- package/src/api_hatchet/core/params.gen.ts +176 -0
- package/src/api_hatchet/core/pathSerializer.gen.ts +181 -0
- package/src/api_hatchet/core/queryKeySerializer.gen.ts +136 -0
- package/src/api_hatchet/core/serverSentEvents.gen.ts +266 -0
- package/src/api_hatchet/core/types.gen.ts +118 -0
- package/src/api_hatchet/core/utils.gen.ts +143 -0
- package/src/api_hatchet/index.ts +4 -0
- package/src/api_hatchet/schemas.gen.ts +4961 -0
- package/src/api_hatchet/sdk.gen.ts +1994 -0
- package/src/api_hatchet/types.gen.ts +7688 -0
- package/src/api_hatchet/zod.gen.ts +3230 -0
- package/src/cloud-account/platform-configs.ts +73 -0
- package/src/gomtmapi/@tanstack/react-query.gen.ts +757 -0
- package/src/gomtmapi/client/client.gen.ts +311 -0
- package/src/gomtmapi/client/index.ts +25 -0
- package/src/gomtmapi/client/types.gen.ts +241 -0
- package/src/gomtmapi/client/utils.gen.ts +332 -0
- package/src/gomtmapi/client.gen.ts +16 -0
- package/src/gomtmapi/core/auth.gen.ts +42 -0
- package/src/gomtmapi/core/bodySerializer.gen.ts +100 -0
- package/src/gomtmapi/core/params.gen.ts +176 -0
- package/src/gomtmapi/core/pathSerializer.gen.ts +181 -0
- package/src/gomtmapi/core/queryKeySerializer.gen.ts +136 -0
- package/src/gomtmapi/core/serverSentEvents.gen.ts +266 -0
- package/src/gomtmapi/core/types.gen.ts +118 -0
- package/src/gomtmapi/core/utils.gen.ts +143 -0
- package/src/gomtmapi/index.ts +4 -0
- package/src/gomtmapi/schemas.gen.ts +904 -0
- package/src/gomtmapi/sdk.gen.ts +541 -0
- package/src/gomtmapi/types.gen.ts +1456 -0
- package/src/gomtmapi/zod.gen.ts +758 -0
- package/src/index.ts +5 -0
- package/src/lib/aisdk/types.ts +8 -0
- package/src/lib/logger/index.ts +8 -0
- package/src/lib/schema.ts +50 -0
- package/src/lib/utils.ts +54 -0
- package/src/mtgate_api/@tanstack/react-query.gen.ts +175 -0
- package/src/mtgate_api/client/client.gen.ts +311 -0
- package/src/mtgate_api/client/index.ts +25 -0
- package/src/mtgate_api/client/types.gen.ts +241 -0
- package/src/mtgate_api/client/utils.gen.ts +332 -0
- package/src/mtgate_api/client.gen.ts +16 -0
- package/src/mtgate_api/core/auth.gen.ts +42 -0
- package/src/mtgate_api/core/bodySerializer.gen.ts +100 -0
- package/src/mtgate_api/core/params.gen.ts +176 -0
- package/src/mtgate_api/core/pathSerializer.gen.ts +181 -0
- package/src/mtgate_api/core/queryKeySerializer.gen.ts +136 -0
- package/src/mtgate_api/core/serverSentEvents.gen.ts +266 -0
- package/src/mtgate_api/core/types.gen.ts +118 -0
- package/src/mtgate_api/core/utils.gen.ts +143 -0
- package/src/mtgate_api/index.ts +4 -0
- package/src/mtgate_api/schemas.gen.ts +337 -0
- package/src/mtgate_api/sdk.gen.ts +61 -0
- package/src/mtgate_api/types.gen.ts +324 -0
- package/src/mtgate_api/zod.gen.ts +234 -0
- package/src/mtmai_api/@tanstack/react-query.gen.ts +1010 -0
- package/src/mtmai_api/client/client.gen.ts +311 -0
- package/src/mtmai_api/client/index.ts +25 -0
- package/src/mtmai_api/client/types.gen.ts +241 -0
- package/src/mtmai_api/client/utils.gen.ts +332 -0
- package/src/mtmai_api/client.gen.ts +16 -0
- package/src/mtmai_api/core/auth.gen.ts +42 -0
- package/src/mtmai_api/core/bodySerializer.gen.ts +100 -0
- package/src/mtmai_api/core/params.gen.ts +176 -0
- package/src/mtmai_api/core/pathSerializer.gen.ts +181 -0
- package/src/mtmai_api/core/queryKeySerializer.gen.ts +136 -0
- package/src/mtmai_api/core/serverSentEvents.gen.ts +266 -0
- package/src/mtmai_api/core/types.gen.ts +118 -0
- package/src/mtmai_api/core/utils.gen.ts +143 -0
- package/src/mtmai_api/index.ts +4 -0
- package/src/mtmai_api/schemas.gen.ts +9980 -0
- package/src/mtmai_api/sdk.gen.ts +471 -0
- package/src/mtmai_api/types.gen.ts +7609 -0
- package/src/mtmai_api/zod.gen.ts +5101 -0
- package/src/openclaw/client-info.ts +63 -0
- package/src/openclaw/device-auth-utils.ts +31 -0
- package/src/openclaw/device-auth.ts +96 -0
- package/src/openclaw/device-identity.ts +108 -0
- package/src/openclaw/gateway.ts +351 -0
- package/src/openclaw/types.ts +518 -0
- package/src/openclaw/uuid.ts +48 -0
- package/src/sbapi/@tanstack/react-query.gen.ts +6591 -0
- package/src/sbapi/client/client.gen.ts +311 -0
- package/src/sbapi/client/index.ts +25 -0
- package/src/sbapi/client/types.gen.ts +241 -0
- package/src/sbapi/client/utils.gen.ts +332 -0
- package/src/sbapi/client.gen.ts +16 -0
- package/src/sbapi/core/auth.gen.ts +42 -0
- package/src/sbapi/core/bodySerializer.gen.ts +100 -0
- package/src/sbapi/core/params.gen.ts +176 -0
- package/src/sbapi/core/pathSerializer.gen.ts +181 -0
- package/src/sbapi/core/queryKeySerializer.gen.ts +136 -0
- package/src/sbapi/core/serverSentEvents.gen.ts +266 -0
- package/src/sbapi/core/types.gen.ts +118 -0
- package/src/sbapi/core/utils.gen.ts +143 -0
- package/src/sbapi/index.ts +4 -0
- package/src/sbapi/schemas.gen.ts +2643 -0
- package/src/sbapi/sdk.gen.ts +2822 -0
- package/src/sbapi/types.gen.ts +12503 -0
- package/src/sbapi/zod.gen.ts +7021 -0
- package/src/sbmng/@tanstack/react-query.gen.ts +2999 -0
- package/src/sbmng/client/client.gen.ts +311 -0
- package/src/sbmng/client/index.ts +25 -0
- package/src/sbmng/client/types.gen.ts +241 -0
- package/src/sbmng/client/utils.gen.ts +332 -0
- package/src/sbmng/client.gen.ts +16 -0
- package/src/sbmng/core/auth.gen.ts +42 -0
- package/src/sbmng/core/bodySerializer.gen.ts +100 -0
- package/src/sbmng/core/params.gen.ts +176 -0
- package/src/sbmng/core/pathSerializer.gen.ts +181 -0
- package/src/sbmng/core/queryKeySerializer.gen.ts +136 -0
- package/src/sbmng/core/serverSentEvents.gen.ts +266 -0
- package/src/sbmng/core/types.gen.ts +118 -0
- package/src/sbmng/core/utils.gen.ts +143 -0
- package/src/sbmng/index.ts +4 -0
- package/src/sbmng/schemas.gen.ts +9680 -0
- package/src/sbmng/sdk.gen.ts +1771 -0
- package/src/sbmng/types.gen.ts +7956 -0
- package/src/supabase/auth-provider.tsx +67 -0
- package/src/supabase/context.tsx +51 -0
- package/src/supabase/cursor-pagination.ts +155 -0
- package/src/supabase/schema/browser.ts +45 -0
- package/src/supabase/schema/index.ts +50 -0
- package/src/supabase/supabase-client.ts +30 -0
- package/src/supabase/supabase.ts +65 -0
- package/src/supabase/use-sb-query/build-query-opts.ts +56 -0
- package/src/supabase/use-sb-query/key.ts +57 -0
- package/src/supabase/use-sb-query/prefetch.ts +59 -0
- package/src/supabase/use-sb-query/use-query.ts +340 -0
- package/src/supabase/use-sb-query/use-rpc-mutation.ts +83 -0
- package/src/supabase/use-sb-query/use-rpc-query.ts +230 -0
- package/src/supabase/utils.ts +75 -0
- package/src/types/database.schemas.ts +3804 -0
- package/src/types/database.types.ts +3828 -0
- package/src/types/index.ts +119 -0
- package/src/types/rpc.schemas.ts +157 -0
- package/dist/gomtmapi_v2/@tanstack/react-query.gen.d.ts.map +0 -1
- package/dist/gomtmapi_v2/@tanstack/react-query.gen.js.map +0 -1
- package/dist/gomtmapi_v2/client/client.gen.d.ts.map +0 -1
- package/dist/gomtmapi_v2/client/client.gen.js.map +0 -1
- package/dist/gomtmapi_v2/client/index.d.ts.map +0 -1
- package/dist/gomtmapi_v2/client/index.js.map +0 -1
- package/dist/gomtmapi_v2/client/types.gen.d.ts.map +0 -1
- package/dist/gomtmapi_v2/client/types.gen.js.map +0 -1
- package/dist/gomtmapi_v2/client/utils.gen.d.ts.map +0 -1
- package/dist/gomtmapi_v2/client/utils.gen.js.map +0 -1
- package/dist/gomtmapi_v2/client.gen.d.ts.map +0 -1
- package/dist/gomtmapi_v2/client.gen.js.map +0 -1
- package/dist/gomtmapi_v2/core/auth.gen.d.ts.map +0 -1
- package/dist/gomtmapi_v2/core/auth.gen.js.map +0 -1
- package/dist/gomtmapi_v2/core/bodySerializer.gen.d.ts.map +0 -1
- package/dist/gomtmapi_v2/core/bodySerializer.gen.js.map +0 -1
- package/dist/gomtmapi_v2/core/params.gen.d.ts.map +0 -1
- package/dist/gomtmapi_v2/core/params.gen.js.map +0 -1
- package/dist/gomtmapi_v2/core/pathSerializer.gen.d.ts.map +0 -1
- package/dist/gomtmapi_v2/core/pathSerializer.gen.js.map +0 -1
- package/dist/gomtmapi_v2/core/queryKeySerializer.gen.d.ts.map +0 -1
- package/dist/gomtmapi_v2/core/queryKeySerializer.gen.js.map +0 -1
- package/dist/gomtmapi_v2/core/serverSentEvents.gen.d.ts.map +0 -1
- package/dist/gomtmapi_v2/core/serverSentEvents.gen.js.map +0 -1
- package/dist/gomtmapi_v2/core/types.gen.d.ts.map +0 -1
- package/dist/gomtmapi_v2/core/types.gen.js.map +0 -1
- package/dist/gomtmapi_v2/core/utils.gen.d.ts.map +0 -1
- package/dist/gomtmapi_v2/core/utils.gen.js.map +0 -1
- package/dist/gomtmapi_v2/index.d.ts +0 -3
- package/dist/gomtmapi_v2/index.d.ts.map +0 -1
- package/dist/gomtmapi_v2/index.js +0 -3
- package/dist/gomtmapi_v2/index.js.map +0 -1
- package/dist/gomtmapi_v2/schemas.gen.d.ts.map +0 -1
- package/dist/gomtmapi_v2/schemas.gen.js.map +0 -1
- package/dist/gomtmapi_v2/sdk.gen.d.ts +0 -208
- package/dist/gomtmapi_v2/sdk.gen.d.ts.map +0 -1
- package/dist/gomtmapi_v2/sdk.gen.js.map +0 -1
- package/dist/gomtmapi_v2/types.gen.d.ts.map +0 -1
- package/dist/gomtmapi_v2/types.gen.js.map +0 -1
- package/dist/gomtmapi_v2/zod.gen.d.ts.map +0 -1
- package/dist/gomtmapi_v2/zod.gen.js.map +0 -1
- package/dist/opencode/@tanstack/react-query.gen.d.ts +0 -1903
- package/dist/opencode/@tanstack/react-query.gen.d.ts.map +0 -1
- package/dist/opencode/@tanstack/react-query.gen.js +0 -1696
- package/dist/opencode/@tanstack/react-query.gen.js.map +0 -1
- package/dist/opencode/client/client.gen.d.ts +0 -3
- package/dist/opencode/client/client.gen.js +0 -236
- package/dist/opencode/client/index.d.ts +0 -9
- package/dist/opencode/client/index.js +0 -7
- package/dist/opencode/client/types.gen.d.ts +0 -118
- package/dist/opencode/client/types.gen.js +0 -3
- package/dist/opencode/client/types.gen.js.map +0 -1
- package/dist/opencode/client/utils.gen.d.ts +0 -34
- package/dist/opencode/client/utils.gen.js +0 -232
- package/dist/opencode/client.gen.js +0 -4
- package/dist/opencode/core/auth.gen.d.ts +0 -19
- package/dist/opencode/core/auth.gen.js +0 -15
- package/dist/opencode/core/bodySerializer.gen.d.ts +0 -26
- package/dist/opencode/core/bodySerializer.gen.js +0 -58
- package/dist/opencode/core/params.gen.d.ts +0 -44
- package/dist/opencode/core/params.gen.js +0 -101
- package/dist/opencode/core/pathSerializer.gen.d.ts +0 -34
- package/dist/opencode/core/pathSerializer.gen.js +0 -115
- package/dist/opencode/core/queryKeySerializer.gen.d.ts +0 -19
- package/dist/opencode/core/queryKeySerializer.gen.js +0 -100
- package/dist/opencode/core/serverSentEvents.gen.d.ts +0 -72
- package/dist/opencode/core/serverSentEvents.gen.js +0 -138
- package/dist/opencode/core/types.gen.d.ts +0 -79
- package/dist/opencode/core/types.gen.js +0 -3
- package/dist/opencode/core/types.gen.js.map +0 -1
- package/dist/opencode/core/utils.gen.d.ts +0 -20
- package/dist/opencode/core/utils.gen.js +0 -88
- package/dist/opencode/index.d.ts +0 -3
- package/dist/opencode/index.d.ts.map +0 -1
- package/dist/opencode/index.js +0 -4
- package/dist/opencode/index.js.map +0 -1
- package/dist/opencode/schemas.gen.d.ts +0 -4823
- package/dist/opencode/schemas.gen.d.ts.map +0 -1
- package/dist/opencode/schemas.gen.js +0 -5816
- package/dist/opencode/schemas.gen.js.map +0 -1
- package/dist/opencode/sdk.gen.d.ts +0 -562
- package/dist/opencode/sdk.gen.d.ts.map +0 -1
- package/dist/opencode/sdk.gen.js +0 -766
- package/dist/opencode/sdk.gen.js.map +0 -1
- package/dist/opencode/types.gen.d.ts +0 -4213
- package/dist/opencode/types.gen.d.ts.map +0 -1
- package/dist/opencode/types.gen.js +0 -25
- package/dist/opencode/types.gen.js.map +0 -1
- package/dist/opencode/zod.gen.d.ts +0 -17243
- package/dist/opencode/zod.gen.d.ts.map +0 -1
- package/dist/opencode/zod.gen.js +0 -2876
- package/dist/opencode/zod.gen.js.map +0 -1
- package/dist/schema/browser.d.ts.map +0 -1
- package/dist/schema/browser.js.map +0 -1
- /package/dist/{gomtmapi_v2 → gomtmapi}/client/client.gen.d.ts +0 -0
- /package/dist/{gomtmapi_v2 → gomtmapi}/client/client.gen.js +0 -0
- /package/dist/{gomtmapi_v2 → gomtmapi}/client/index.d.ts +0 -0
- /package/dist/{gomtmapi_v2 → gomtmapi}/client/index.js +0 -0
- /package/dist/{gomtmapi_v2 → gomtmapi}/client/types.gen.d.ts +0 -0
- /package/dist/{gomtmapi_v2 → gomtmapi}/client/types.gen.js +0 -0
- /package/dist/{gomtmapi_v2 → gomtmapi}/client/utils.gen.d.ts +0 -0
- /package/dist/{gomtmapi_v2 → gomtmapi}/client/utils.gen.js +0 -0
- /package/dist/{gomtmapi_v2 → gomtmapi}/client.gen.d.ts +0 -0
- /package/dist/{gomtmapi_v2 → gomtmapi}/client.gen.js +0 -0
- /package/dist/{gomtmapi_v2 → gomtmapi}/core/auth.gen.d.ts +0 -0
- /package/dist/{gomtmapi_v2 → gomtmapi}/core/auth.gen.js +0 -0
- /package/dist/{gomtmapi_v2 → gomtmapi}/core/bodySerializer.gen.d.ts +0 -0
- /package/dist/{gomtmapi_v2 → gomtmapi}/core/bodySerializer.gen.js +0 -0
- /package/dist/{gomtmapi_v2 → gomtmapi}/core/params.gen.d.ts +0 -0
- /package/dist/{gomtmapi_v2 → gomtmapi}/core/params.gen.js +0 -0
- /package/dist/{gomtmapi_v2 → gomtmapi}/core/pathSerializer.gen.d.ts +0 -0
- /package/dist/{gomtmapi_v2 → gomtmapi}/core/pathSerializer.gen.js +0 -0
- /package/dist/{gomtmapi_v2 → gomtmapi}/core/queryKeySerializer.gen.d.ts +0 -0
- /package/dist/{gomtmapi_v2 → gomtmapi}/core/queryKeySerializer.gen.js +0 -0
- /package/dist/{gomtmapi_v2 → gomtmapi}/core/serverSentEvents.gen.d.ts +0 -0
- /package/dist/{gomtmapi_v2 → gomtmapi}/core/serverSentEvents.gen.js +0 -0
- /package/dist/{gomtmapi_v2 → gomtmapi}/core/types.gen.d.ts +0 -0
- /package/dist/{gomtmapi_v2 → gomtmapi}/core/types.gen.js +0 -0
- /package/dist/{gomtmapi_v2 → gomtmapi}/core/utils.gen.d.ts +0 -0
- /package/dist/{gomtmapi_v2 → gomtmapi}/core/utils.gen.js +0 -0
- /package/dist/{gomtmapi_v2 → gomtmapi}/types.gen.js +0 -0
- /package/dist/{schema → supabase/schema}/browser.d.ts +0 -0
- /package/dist/{schema → supabase/schema}/browser.js +0 -0
|
@@ -519,6 +519,24 @@ export type UpdateCustomHostnameResponse = {
|
|
|
519
519
|
export type UpdateCustomHostnameBody = {
|
|
520
520
|
custom_hostname: string;
|
|
521
521
|
};
|
|
522
|
+
export type JitAccessResponse = {
|
|
523
|
+
user_id: string;
|
|
524
|
+
user_roles: Array<{
|
|
525
|
+
role: string;
|
|
526
|
+
expires_at?: number;
|
|
527
|
+
allowed_networks?: {
|
|
528
|
+
allowed_cidrs?: Array<{
|
|
529
|
+
cidr: string;
|
|
530
|
+
}>;
|
|
531
|
+
allowed_cidrs_v6?: Array<{
|
|
532
|
+
cidr: string;
|
|
533
|
+
}>;
|
|
534
|
+
};
|
|
535
|
+
}>;
|
|
536
|
+
};
|
|
537
|
+
export type JitAccessRequestRequest = {
|
|
538
|
+
state: 'enabled' | 'disabled' | 'unavailable';
|
|
539
|
+
};
|
|
522
540
|
export type NetworkBanResponse = {
|
|
523
541
|
banned_ipv4_addresses: Array<string>;
|
|
524
542
|
};
|
|
@@ -882,174 +900,6 @@ export type SigningKeysResponse = {
|
|
|
882
900
|
export type UpdateSigningKeyBody = {
|
|
883
901
|
status: 'in_use' | 'previously_used' | 'revoked' | 'standby';
|
|
884
902
|
};
|
|
885
|
-
export type StorageConfigResponse = {
|
|
886
|
-
fileSizeLimit: number;
|
|
887
|
-
features: {
|
|
888
|
-
imageTransformation: {
|
|
889
|
-
enabled: boolean;
|
|
890
|
-
};
|
|
891
|
-
s3Protocol: {
|
|
892
|
-
enabled: boolean;
|
|
893
|
-
};
|
|
894
|
-
icebergCatalog: {
|
|
895
|
-
enabled: boolean;
|
|
896
|
-
maxNamespaces: number;
|
|
897
|
-
maxTables: number;
|
|
898
|
-
maxCatalogs: number;
|
|
899
|
-
};
|
|
900
|
-
vectorBuckets: {
|
|
901
|
-
enabled: boolean;
|
|
902
|
-
maxBuckets: number;
|
|
903
|
-
maxIndexes: number;
|
|
904
|
-
};
|
|
905
|
-
};
|
|
906
|
-
capabilities: {
|
|
907
|
-
list_v2: boolean;
|
|
908
|
-
iceberg_catalog: boolean;
|
|
909
|
-
};
|
|
910
|
-
external: {
|
|
911
|
-
upstreamTarget: 'main' | 'canary';
|
|
912
|
-
};
|
|
913
|
-
migrationVersion: string;
|
|
914
|
-
databasePoolMode: string;
|
|
915
|
-
};
|
|
916
|
-
export type UpdateStorageConfigBody = {
|
|
917
|
-
fileSizeLimit?: number;
|
|
918
|
-
features?: {
|
|
919
|
-
imageTransformation?: {
|
|
920
|
-
enabled: boolean;
|
|
921
|
-
};
|
|
922
|
-
s3Protocol?: {
|
|
923
|
-
enabled: boolean;
|
|
924
|
-
};
|
|
925
|
-
icebergCatalog?: {
|
|
926
|
-
enabled: boolean;
|
|
927
|
-
maxNamespaces: number;
|
|
928
|
-
maxTables: number;
|
|
929
|
-
maxCatalogs: number;
|
|
930
|
-
};
|
|
931
|
-
vectorBuckets?: {
|
|
932
|
-
enabled: boolean;
|
|
933
|
-
maxBuckets: number;
|
|
934
|
-
maxIndexes: number;
|
|
935
|
-
};
|
|
936
|
-
};
|
|
937
|
-
external?: {
|
|
938
|
-
upstreamTarget: 'main' | 'canary';
|
|
939
|
-
};
|
|
940
|
-
};
|
|
941
|
-
export type PostgresConfigResponse = {
|
|
942
|
-
effective_cache_size?: string;
|
|
943
|
-
logical_decoding_work_mem?: string;
|
|
944
|
-
maintenance_work_mem?: string;
|
|
945
|
-
track_activity_query_size?: string;
|
|
946
|
-
max_connections?: number;
|
|
947
|
-
max_locks_per_transaction?: number;
|
|
948
|
-
max_parallel_maintenance_workers?: number;
|
|
949
|
-
max_parallel_workers?: number;
|
|
950
|
-
max_parallel_workers_per_gather?: number;
|
|
951
|
-
max_replication_slots?: number;
|
|
952
|
-
max_slot_wal_keep_size?: string;
|
|
953
|
-
max_standby_archive_delay?: string;
|
|
954
|
-
max_standby_streaming_delay?: string;
|
|
955
|
-
max_wal_size?: string;
|
|
956
|
-
max_wal_senders?: number;
|
|
957
|
-
max_worker_processes?: number;
|
|
958
|
-
session_replication_role?: 'origin' | 'replica' | 'local';
|
|
959
|
-
shared_buffers?: string;
|
|
960
|
-
/**
|
|
961
|
-
* Default unit: ms
|
|
962
|
-
*/
|
|
963
|
-
statement_timeout?: string;
|
|
964
|
-
track_commit_timestamp?: boolean;
|
|
965
|
-
wal_keep_size?: string;
|
|
966
|
-
/**
|
|
967
|
-
* Default unit: ms
|
|
968
|
-
*/
|
|
969
|
-
wal_sender_timeout?: string;
|
|
970
|
-
work_mem?: string;
|
|
971
|
-
/**
|
|
972
|
-
* Default unit: s
|
|
973
|
-
*/
|
|
974
|
-
checkpoint_timeout?: string;
|
|
975
|
-
hot_standby_feedback?: boolean;
|
|
976
|
-
};
|
|
977
|
-
export type UpdatePostgresConfigBody = {
|
|
978
|
-
effective_cache_size?: string;
|
|
979
|
-
logical_decoding_work_mem?: string;
|
|
980
|
-
maintenance_work_mem?: string;
|
|
981
|
-
track_activity_query_size?: string;
|
|
982
|
-
max_connections?: number;
|
|
983
|
-
max_locks_per_transaction?: number;
|
|
984
|
-
max_parallel_maintenance_workers?: number;
|
|
985
|
-
max_parallel_workers?: number;
|
|
986
|
-
max_parallel_workers_per_gather?: number;
|
|
987
|
-
max_replication_slots?: number;
|
|
988
|
-
max_slot_wal_keep_size?: string;
|
|
989
|
-
max_standby_archive_delay?: string;
|
|
990
|
-
max_standby_streaming_delay?: string;
|
|
991
|
-
max_wal_size?: string;
|
|
992
|
-
max_wal_senders?: number;
|
|
993
|
-
max_worker_processes?: number;
|
|
994
|
-
session_replication_role?: 'origin' | 'replica' | 'local';
|
|
995
|
-
shared_buffers?: string;
|
|
996
|
-
/**
|
|
997
|
-
* Default unit: ms
|
|
998
|
-
*/
|
|
999
|
-
statement_timeout?: string;
|
|
1000
|
-
track_commit_timestamp?: boolean;
|
|
1001
|
-
wal_keep_size?: string;
|
|
1002
|
-
/**
|
|
1003
|
-
* Default unit: ms
|
|
1004
|
-
*/
|
|
1005
|
-
wal_sender_timeout?: string;
|
|
1006
|
-
work_mem?: string;
|
|
1007
|
-
/**
|
|
1008
|
-
* Default unit: s
|
|
1009
|
-
*/
|
|
1010
|
-
checkpoint_timeout?: string;
|
|
1011
|
-
hot_standby_feedback?: boolean;
|
|
1012
|
-
restart_database?: boolean;
|
|
1013
|
-
};
|
|
1014
|
-
export type V1PgbouncerConfigResponse = {
|
|
1015
|
-
default_pool_size?: number;
|
|
1016
|
-
ignore_startup_parameters?: string;
|
|
1017
|
-
max_client_conn?: number;
|
|
1018
|
-
pool_mode?: 'transaction' | 'session' | 'statement';
|
|
1019
|
-
connection_string?: string;
|
|
1020
|
-
server_idle_timeout?: number;
|
|
1021
|
-
server_lifetime?: number;
|
|
1022
|
-
query_wait_timeout?: number;
|
|
1023
|
-
reserve_pool_size?: number;
|
|
1024
|
-
};
|
|
1025
|
-
export type SupavisorConfigResponse = {
|
|
1026
|
-
identifier: string;
|
|
1027
|
-
database_type: 'PRIMARY' | 'READ_REPLICA';
|
|
1028
|
-
is_using_scram_auth: boolean;
|
|
1029
|
-
db_user: string;
|
|
1030
|
-
db_host: string;
|
|
1031
|
-
db_port: number;
|
|
1032
|
-
db_name: string;
|
|
1033
|
-
connection_string: string;
|
|
1034
|
-
/**
|
|
1035
|
-
* Use connection_string instead
|
|
1036
|
-
*/
|
|
1037
|
-
connectionString: string;
|
|
1038
|
-
default_pool_size: number | null;
|
|
1039
|
-
max_client_conn: number | null;
|
|
1040
|
-
pool_mode: 'transaction' | 'session';
|
|
1041
|
-
};
|
|
1042
|
-
export type UpdateSupavisorConfigBody = {
|
|
1043
|
-
default_pool_size?: number | null;
|
|
1044
|
-
/**
|
|
1045
|
-
* Dedicated pooler mode for the project
|
|
1046
|
-
*/
|
|
1047
|
-
pool_mode?: 'transaction' | 'session';
|
|
1048
|
-
};
|
|
1049
|
-
export type UpdateSupavisorConfigResponse = {
|
|
1050
|
-
default_pool_size: number | null;
|
|
1051
|
-
pool_mode: string;
|
|
1052
|
-
};
|
|
1053
903
|
export type AuthConfigResponse = {
|
|
1054
904
|
api_max_request_duration: number | null;
|
|
1055
905
|
db_max_pool_size: number | null;
|
|
@@ -1512,94 +1362,10 @@ export type UpdateAuthConfigBody = {
|
|
|
1512
1362
|
oauth_server_allow_dynamic_registration?: boolean | null;
|
|
1513
1363
|
oauth_server_authorization_path?: string | null;
|
|
1514
1364
|
};
|
|
1515
|
-
export type
|
|
1516
|
-
|
|
1517
|
-
|
|
1518
|
-
|
|
1519
|
-
private_only: boolean | null;
|
|
1520
|
-
/**
|
|
1521
|
-
* Sets connection pool size for Realtime Authorization
|
|
1522
|
-
*/
|
|
1523
|
-
connection_pool: number | null;
|
|
1524
|
-
/**
|
|
1525
|
-
* Sets maximum number of concurrent users rate limit
|
|
1526
|
-
*/
|
|
1527
|
-
max_concurrent_users: number | null;
|
|
1528
|
-
/**
|
|
1529
|
-
* Sets maximum number of events per second rate per channel limit
|
|
1530
|
-
*/
|
|
1531
|
-
max_events_per_second: number | null;
|
|
1532
|
-
/**
|
|
1533
|
-
* Sets maximum number of bytes per second rate per channel limit
|
|
1534
|
-
*/
|
|
1535
|
-
max_bytes_per_second: number | null;
|
|
1536
|
-
/**
|
|
1537
|
-
* Sets maximum number of channels per client rate limit
|
|
1538
|
-
*/
|
|
1539
|
-
max_channels_per_client: number | null;
|
|
1540
|
-
/**
|
|
1541
|
-
* Sets maximum number of joins per second rate limit
|
|
1542
|
-
*/
|
|
1543
|
-
max_joins_per_second: number | null;
|
|
1544
|
-
/**
|
|
1545
|
-
* Sets maximum number of presence events per second rate limit
|
|
1546
|
-
*/
|
|
1547
|
-
max_presence_events_per_second: number | null;
|
|
1548
|
-
/**
|
|
1549
|
-
* Sets maximum number of payload size in KB rate limit
|
|
1550
|
-
*/
|
|
1551
|
-
max_payload_size_in_kb: number | null;
|
|
1552
|
-
/**
|
|
1553
|
-
* Whether to suspend realtime
|
|
1554
|
-
*/
|
|
1555
|
-
suspend: boolean | null;
|
|
1556
|
-
};
|
|
1557
|
-
export type UpdateRealtimeConfigBody = {
|
|
1558
|
-
/**
|
|
1559
|
-
* Whether to only allow private channels
|
|
1560
|
-
*/
|
|
1561
|
-
private_only?: boolean;
|
|
1562
|
-
/**
|
|
1563
|
-
* Sets connection pool size for Realtime Authorization
|
|
1564
|
-
*/
|
|
1565
|
-
connection_pool?: number;
|
|
1566
|
-
/**
|
|
1567
|
-
* Sets maximum number of concurrent users rate limit
|
|
1568
|
-
*/
|
|
1569
|
-
max_concurrent_users?: number;
|
|
1570
|
-
/**
|
|
1571
|
-
* Sets maximum number of events per second rate per channel limit
|
|
1572
|
-
*/
|
|
1573
|
-
max_events_per_second?: number;
|
|
1574
|
-
/**
|
|
1575
|
-
* Sets maximum number of bytes per second rate per channel limit
|
|
1576
|
-
*/
|
|
1577
|
-
max_bytes_per_second?: number;
|
|
1578
|
-
/**
|
|
1579
|
-
* Sets maximum number of channels per client rate limit
|
|
1580
|
-
*/
|
|
1581
|
-
max_channels_per_client?: number;
|
|
1582
|
-
/**
|
|
1583
|
-
* Sets maximum number of joins per second rate limit
|
|
1584
|
-
*/
|
|
1585
|
-
max_joins_per_second?: number;
|
|
1586
|
-
/**
|
|
1587
|
-
* Sets maximum number of presence events per second rate limit
|
|
1588
|
-
*/
|
|
1589
|
-
max_presence_events_per_second?: number;
|
|
1590
|
-
/**
|
|
1591
|
-
* Sets maximum number of payload size in KB rate limit
|
|
1592
|
-
*/
|
|
1593
|
-
max_payload_size_in_kb?: number;
|
|
1594
|
-
/**
|
|
1595
|
-
* Whether to suspend realtime
|
|
1596
|
-
*/
|
|
1597
|
-
suspend?: boolean;
|
|
1598
|
-
};
|
|
1599
|
-
export type CreateThirdPartyAuthBody = {
|
|
1600
|
-
oidc_issuer_url?: string;
|
|
1601
|
-
jwks_url?: string;
|
|
1602
|
-
custom_jwks?: unknown;
|
|
1365
|
+
export type CreateThirdPartyAuthBody = {
|
|
1366
|
+
oidc_issuer_url?: string;
|
|
1367
|
+
jwks_url?: string;
|
|
1368
|
+
custom_jwks?: unknown;
|
|
1603
1369
|
};
|
|
1604
1370
|
export type ThirdPartyAuth = {
|
|
1605
1371
|
id: string;
|
|
@@ -1812,21 +1578,6 @@ export type V1UpdatePasswordBody = {
|
|
|
1812
1578
|
export type V1UpdatePasswordResponse = {
|
|
1813
1579
|
message: string;
|
|
1814
1580
|
};
|
|
1815
|
-
export type JitAccessResponse = {
|
|
1816
|
-
user_id: string;
|
|
1817
|
-
user_roles: Array<{
|
|
1818
|
-
role: string;
|
|
1819
|
-
expires_at?: number;
|
|
1820
|
-
allowed_networks?: {
|
|
1821
|
-
allowed_cidrs?: Array<{
|
|
1822
|
-
cidr: string;
|
|
1823
|
-
}>;
|
|
1824
|
-
allowed_cidrs_v6?: Array<{
|
|
1825
|
-
cidr: string;
|
|
1826
|
-
}>;
|
|
1827
|
-
};
|
|
1828
|
-
}>;
|
|
1829
|
-
};
|
|
1830
1581
|
export type AuthorizeJitAccessBody = {
|
|
1831
1582
|
role: string;
|
|
1832
1583
|
rhost: string;
|
|
@@ -1981,183 +1732,469 @@ export type V1StorageBucketResponse = {
|
|
|
1981
1732
|
updated_at: string;
|
|
1982
1733
|
public: boolean;
|
|
1983
1734
|
};
|
|
1984
|
-
export type
|
|
1985
|
-
|
|
1986
|
-
|
|
1987
|
-
|
|
1988
|
-
|
|
1989
|
-
|
|
1990
|
-
metadata_url?: string;
|
|
1991
|
-
domains?: Array<string>;
|
|
1992
|
-
attribute_mapping?: {
|
|
1993
|
-
keys: {
|
|
1994
|
-
[key: string]: {
|
|
1995
|
-
name?: string;
|
|
1996
|
-
names?: Array<string>;
|
|
1997
|
-
default?: {
|
|
1998
|
-
[key: string]: unknown;
|
|
1999
|
-
} | number | string | boolean;
|
|
2000
|
-
array?: boolean;
|
|
2001
|
-
};
|
|
2002
|
-
};
|
|
1735
|
+
export type DiskUtilMetricsResponse = {
|
|
1736
|
+
timestamp: string;
|
|
1737
|
+
metrics: {
|
|
1738
|
+
fs_size_bytes: number;
|
|
1739
|
+
fs_avail_bytes: number;
|
|
1740
|
+
fs_used_bytes: number;
|
|
2003
1741
|
};
|
|
2004
|
-
name_id_format?: 'urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified' | 'urn:oasis:names:tc:SAML:2.0:nameid-format:transient' | 'urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress' | 'urn:oasis:names:tc:SAML:2.0:nameid-format:persistent';
|
|
2005
1742
|
};
|
|
2006
|
-
export type
|
|
2007
|
-
|
|
2008
|
-
|
|
2009
|
-
|
|
2010
|
-
|
|
2011
|
-
|
|
2012
|
-
|
|
2013
|
-
|
|
2014
|
-
|
|
2015
|
-
|
|
2016
|
-
name?: string;
|
|
2017
|
-
names?: Array<string>;
|
|
2018
|
-
default?: {
|
|
2019
|
-
[key: string]: unknown;
|
|
2020
|
-
} | number | string | boolean;
|
|
2021
|
-
array?: boolean;
|
|
2022
|
-
};
|
|
2023
|
-
};
|
|
2024
|
-
};
|
|
2025
|
-
name_id_format?: 'urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified' | 'urn:oasis:names:tc:SAML:2.0:nameid-format:transient' | 'urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress' | 'urn:oasis:names:tc:SAML:2.0:nameid-format:persistent';
|
|
1743
|
+
export type DiskRequestBody = {
|
|
1744
|
+
attributes: {
|
|
1745
|
+
iops: number;
|
|
1746
|
+
size_gb: number;
|
|
1747
|
+
throughput_mibps?: number;
|
|
1748
|
+
type: 'gp3';
|
|
1749
|
+
} | {
|
|
1750
|
+
iops: number;
|
|
1751
|
+
size_gb: number;
|
|
1752
|
+
type: 'io2';
|
|
2026
1753
|
};
|
|
2027
|
-
domains?: Array<{
|
|
2028
|
-
id: string;
|
|
2029
|
-
domain?: string;
|
|
2030
|
-
created_at?: string;
|
|
2031
|
-
updated_at?: string;
|
|
2032
|
-
}>;
|
|
2033
|
-
created_at?: string;
|
|
2034
|
-
updated_at?: string;
|
|
2035
1754
|
};
|
|
2036
|
-
export type
|
|
2037
|
-
|
|
2038
|
-
|
|
2039
|
-
|
|
2040
|
-
|
|
2041
|
-
|
|
2042
|
-
|
|
2043
|
-
|
|
2044
|
-
|
|
2045
|
-
|
|
2046
|
-
|
|
2047
|
-
|
|
2048
|
-
|
|
2049
|
-
default?: {
|
|
2050
|
-
[key: string]: unknown;
|
|
2051
|
-
} | number | string | boolean;
|
|
2052
|
-
array?: boolean;
|
|
2053
|
-
};
|
|
2054
|
-
};
|
|
2055
|
-
};
|
|
2056
|
-
name_id_format?: 'urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified' | 'urn:oasis:names:tc:SAML:2.0:nameid-format:transient' | 'urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress' | 'urn:oasis:names:tc:SAML:2.0:nameid-format:persistent';
|
|
2057
|
-
};
|
|
2058
|
-
domains?: Array<{
|
|
2059
|
-
id: string;
|
|
2060
|
-
domain?: string;
|
|
2061
|
-
created_at?: string;
|
|
2062
|
-
updated_at?: string;
|
|
2063
|
-
}>;
|
|
2064
|
-
created_at?: string;
|
|
2065
|
-
updated_at?: string;
|
|
2066
|
-
}>;
|
|
1755
|
+
export type DiskAutoscaleConfig = {
|
|
1756
|
+
/**
|
|
1757
|
+
* Growth percentage for disk autoscaling
|
|
1758
|
+
*/
|
|
1759
|
+
growth_percent: number | null;
|
|
1760
|
+
/**
|
|
1761
|
+
* Minimum increment size for disk autoscaling in GB
|
|
1762
|
+
*/
|
|
1763
|
+
min_increment_gb: number | null;
|
|
1764
|
+
/**
|
|
1765
|
+
* Maximum limit the disk size will grow to in GB
|
|
1766
|
+
*/
|
|
1767
|
+
max_size_gb: number | null;
|
|
2067
1768
|
};
|
|
2068
|
-
export type
|
|
2069
|
-
|
|
2070
|
-
|
|
2071
|
-
|
|
2072
|
-
|
|
2073
|
-
metadata_url?: string;
|
|
2074
|
-
metadata_xml?: string;
|
|
2075
|
-
attribute_mapping?: {
|
|
2076
|
-
keys: {
|
|
2077
|
-
[key: string]: {
|
|
2078
|
-
name?: string;
|
|
2079
|
-
names?: Array<string>;
|
|
2080
|
-
default?: {
|
|
2081
|
-
[key: string]: unknown;
|
|
2082
|
-
} | number | string | boolean;
|
|
2083
|
-
array?: boolean;
|
|
2084
|
-
};
|
|
2085
|
-
};
|
|
1769
|
+
export type StorageConfigResponse = {
|
|
1770
|
+
fileSizeLimit: number;
|
|
1771
|
+
features: {
|
|
1772
|
+
imageTransformation: {
|
|
1773
|
+
enabled: boolean;
|
|
2086
1774
|
};
|
|
2087
|
-
|
|
2088
|
-
|
|
2089
|
-
|
|
2090
|
-
|
|
2091
|
-
|
|
2092
|
-
|
|
2093
|
-
|
|
2094
|
-
|
|
2095
|
-
|
|
2096
|
-
|
|
2097
|
-
|
|
2098
|
-
|
|
2099
|
-
|
|
2100
|
-
metadata_url?: string;
|
|
2101
|
-
domains?: Array<string>;
|
|
2102
|
-
attribute_mapping?: {
|
|
2103
|
-
keys: {
|
|
2104
|
-
[key: string]: {
|
|
2105
|
-
name?: string;
|
|
2106
|
-
names?: Array<string>;
|
|
2107
|
-
default?: {
|
|
2108
|
-
[key: string]: unknown;
|
|
2109
|
-
} | number | string | boolean;
|
|
2110
|
-
array?: boolean;
|
|
2111
|
-
};
|
|
1775
|
+
s3Protocol: {
|
|
1776
|
+
enabled: boolean;
|
|
1777
|
+
};
|
|
1778
|
+
icebergCatalog: {
|
|
1779
|
+
enabled: boolean;
|
|
1780
|
+
maxNamespaces: number;
|
|
1781
|
+
maxTables: number;
|
|
1782
|
+
maxCatalogs: number;
|
|
1783
|
+
};
|
|
1784
|
+
vectorBuckets: {
|
|
1785
|
+
enabled: boolean;
|
|
1786
|
+
maxBuckets: number;
|
|
1787
|
+
maxIndexes: number;
|
|
2112
1788
|
};
|
|
2113
1789
|
};
|
|
2114
|
-
|
|
1790
|
+
capabilities: {
|
|
1791
|
+
list_v2: boolean;
|
|
1792
|
+
iceberg_catalog: boolean;
|
|
1793
|
+
};
|
|
1794
|
+
external: {
|
|
1795
|
+
upstreamTarget: 'main' | 'canary';
|
|
1796
|
+
};
|
|
1797
|
+
migrationVersion: string;
|
|
1798
|
+
databasePoolMode: string;
|
|
2115
1799
|
};
|
|
2116
|
-
export type
|
|
2117
|
-
|
|
2118
|
-
|
|
2119
|
-
|
|
2120
|
-
|
|
2121
|
-
|
|
2122
|
-
|
|
2123
|
-
|
|
2124
|
-
|
|
2125
|
-
|
|
2126
|
-
|
|
2127
|
-
|
|
2128
|
-
|
|
2129
|
-
|
|
2130
|
-
|
|
2131
|
-
|
|
2132
|
-
|
|
2133
|
-
|
|
1800
|
+
export type UpdateStorageConfigBody = {
|
|
1801
|
+
fileSizeLimit?: number;
|
|
1802
|
+
features?: {
|
|
1803
|
+
imageTransformation?: {
|
|
1804
|
+
enabled: boolean;
|
|
1805
|
+
};
|
|
1806
|
+
s3Protocol?: {
|
|
1807
|
+
enabled: boolean;
|
|
1808
|
+
};
|
|
1809
|
+
icebergCatalog?: {
|
|
1810
|
+
enabled: boolean;
|
|
1811
|
+
maxNamespaces: number;
|
|
1812
|
+
maxTables: number;
|
|
1813
|
+
maxCatalogs: number;
|
|
1814
|
+
};
|
|
1815
|
+
vectorBuckets?: {
|
|
1816
|
+
enabled: boolean;
|
|
1817
|
+
maxBuckets: number;
|
|
1818
|
+
maxIndexes: number;
|
|
2134
1819
|
};
|
|
2135
|
-
name_id_format?: 'urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified' | 'urn:oasis:names:tc:SAML:2.0:nameid-format:transient' | 'urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress' | 'urn:oasis:names:tc:SAML:2.0:nameid-format:persistent';
|
|
2136
1820
|
};
|
|
2137
|
-
|
|
2138
|
-
|
|
2139
|
-
|
|
2140
|
-
created_at?: string;
|
|
2141
|
-
updated_at?: string;
|
|
2142
|
-
}>;
|
|
2143
|
-
created_at?: string;
|
|
2144
|
-
updated_at?: string;
|
|
1821
|
+
external?: {
|
|
1822
|
+
upstreamTarget: 'main' | 'canary';
|
|
1823
|
+
};
|
|
2145
1824
|
};
|
|
2146
|
-
export type
|
|
2147
|
-
|
|
2148
|
-
|
|
2149
|
-
|
|
2150
|
-
|
|
2151
|
-
|
|
2152
|
-
|
|
2153
|
-
|
|
2154
|
-
|
|
2155
|
-
|
|
2156
|
-
|
|
2157
|
-
|
|
2158
|
-
|
|
2159
|
-
|
|
2160
|
-
|
|
1825
|
+
export type V1PgbouncerConfigResponse = {
|
|
1826
|
+
default_pool_size?: number;
|
|
1827
|
+
ignore_startup_parameters?: string;
|
|
1828
|
+
max_client_conn?: number;
|
|
1829
|
+
pool_mode?: 'transaction' | 'session' | 'statement';
|
|
1830
|
+
connection_string?: string;
|
|
1831
|
+
server_idle_timeout?: number;
|
|
1832
|
+
server_lifetime?: number;
|
|
1833
|
+
query_wait_timeout?: number;
|
|
1834
|
+
reserve_pool_size?: number;
|
|
1835
|
+
};
|
|
1836
|
+
export type SupavisorConfigResponse = {
|
|
1837
|
+
identifier: string;
|
|
1838
|
+
database_type: 'PRIMARY' | 'READ_REPLICA';
|
|
1839
|
+
is_using_scram_auth: boolean;
|
|
1840
|
+
db_user: string;
|
|
1841
|
+
db_host: string;
|
|
1842
|
+
db_port: number;
|
|
1843
|
+
db_name: string;
|
|
1844
|
+
connection_string: string;
|
|
1845
|
+
/**
|
|
1846
|
+
* Use connection_string instead
|
|
1847
|
+
*/
|
|
1848
|
+
connectionString: string;
|
|
1849
|
+
default_pool_size: number | null;
|
|
1850
|
+
max_client_conn: number | null;
|
|
1851
|
+
pool_mode: 'transaction' | 'session';
|
|
1852
|
+
};
|
|
1853
|
+
export type UpdateSupavisorConfigBody = {
|
|
1854
|
+
default_pool_size?: number | null;
|
|
1855
|
+
/**
|
|
1856
|
+
* Dedicated pooler mode for the project
|
|
1857
|
+
*/
|
|
1858
|
+
pool_mode?: 'transaction' | 'session';
|
|
1859
|
+
};
|
|
1860
|
+
export type UpdateSupavisorConfigResponse = {
|
|
1861
|
+
default_pool_size: number | null;
|
|
1862
|
+
pool_mode: string;
|
|
1863
|
+
};
|
|
1864
|
+
export type PostgresConfigResponse = {
|
|
1865
|
+
effective_cache_size?: string;
|
|
1866
|
+
logical_decoding_work_mem?: string;
|
|
1867
|
+
maintenance_work_mem?: string;
|
|
1868
|
+
track_activity_query_size?: string;
|
|
1869
|
+
max_connections?: number;
|
|
1870
|
+
max_locks_per_transaction?: number;
|
|
1871
|
+
max_parallel_maintenance_workers?: number;
|
|
1872
|
+
max_parallel_workers?: number;
|
|
1873
|
+
max_parallel_workers_per_gather?: number;
|
|
1874
|
+
max_replication_slots?: number;
|
|
1875
|
+
max_slot_wal_keep_size?: string;
|
|
1876
|
+
max_standby_archive_delay?: string;
|
|
1877
|
+
max_standby_streaming_delay?: string;
|
|
1878
|
+
max_wal_size?: string;
|
|
1879
|
+
max_wal_senders?: number;
|
|
1880
|
+
max_worker_processes?: number;
|
|
1881
|
+
session_replication_role?: 'origin' | 'replica' | 'local';
|
|
1882
|
+
shared_buffers?: string;
|
|
1883
|
+
/**
|
|
1884
|
+
* Default unit: ms
|
|
1885
|
+
*/
|
|
1886
|
+
statement_timeout?: string;
|
|
1887
|
+
track_commit_timestamp?: boolean;
|
|
1888
|
+
wal_keep_size?: string;
|
|
1889
|
+
/**
|
|
1890
|
+
* Default unit: ms
|
|
1891
|
+
*/
|
|
1892
|
+
wal_sender_timeout?: string;
|
|
1893
|
+
work_mem?: string;
|
|
1894
|
+
/**
|
|
1895
|
+
* Default unit: s
|
|
1896
|
+
*/
|
|
1897
|
+
checkpoint_timeout?: string;
|
|
1898
|
+
hot_standby_feedback?: boolean;
|
|
1899
|
+
};
|
|
1900
|
+
export type UpdatePostgresConfigBody = {
|
|
1901
|
+
effective_cache_size?: string;
|
|
1902
|
+
logical_decoding_work_mem?: string;
|
|
1903
|
+
maintenance_work_mem?: string;
|
|
1904
|
+
track_activity_query_size?: string;
|
|
1905
|
+
max_connections?: number;
|
|
1906
|
+
max_locks_per_transaction?: number;
|
|
1907
|
+
max_parallel_maintenance_workers?: number;
|
|
1908
|
+
max_parallel_workers?: number;
|
|
1909
|
+
max_parallel_workers_per_gather?: number;
|
|
1910
|
+
max_replication_slots?: number;
|
|
1911
|
+
max_slot_wal_keep_size?: string;
|
|
1912
|
+
max_standby_archive_delay?: string;
|
|
1913
|
+
max_standby_streaming_delay?: string;
|
|
1914
|
+
max_wal_size?: string;
|
|
1915
|
+
max_wal_senders?: number;
|
|
1916
|
+
max_worker_processes?: number;
|
|
1917
|
+
session_replication_role?: 'origin' | 'replica' | 'local';
|
|
1918
|
+
shared_buffers?: string;
|
|
1919
|
+
/**
|
|
1920
|
+
* Default unit: ms
|
|
1921
|
+
*/
|
|
1922
|
+
statement_timeout?: string;
|
|
1923
|
+
track_commit_timestamp?: boolean;
|
|
1924
|
+
wal_keep_size?: string;
|
|
1925
|
+
/**
|
|
1926
|
+
* Default unit: ms
|
|
1927
|
+
*/
|
|
1928
|
+
wal_sender_timeout?: string;
|
|
1929
|
+
work_mem?: string;
|
|
1930
|
+
/**
|
|
1931
|
+
* Default unit: s
|
|
1932
|
+
*/
|
|
1933
|
+
checkpoint_timeout?: string;
|
|
1934
|
+
hot_standby_feedback?: boolean;
|
|
1935
|
+
restart_database?: boolean;
|
|
1936
|
+
};
|
|
1937
|
+
export type RealtimeConfigResponse = {
|
|
1938
|
+
/**
|
|
1939
|
+
* Whether to only allow private channels
|
|
1940
|
+
*/
|
|
1941
|
+
private_only: boolean | null;
|
|
1942
|
+
/**
|
|
1943
|
+
* Sets connection pool size for Realtime Authorization
|
|
1944
|
+
*/
|
|
1945
|
+
connection_pool: number | null;
|
|
1946
|
+
/**
|
|
1947
|
+
* Sets maximum number of concurrent users rate limit
|
|
1948
|
+
*/
|
|
1949
|
+
max_concurrent_users: number | null;
|
|
1950
|
+
/**
|
|
1951
|
+
* Sets maximum number of events per second rate per channel limit
|
|
1952
|
+
*/
|
|
1953
|
+
max_events_per_second: number | null;
|
|
1954
|
+
/**
|
|
1955
|
+
* Sets maximum number of bytes per second rate per channel limit
|
|
1956
|
+
*/
|
|
1957
|
+
max_bytes_per_second: number | null;
|
|
1958
|
+
/**
|
|
1959
|
+
* Sets maximum number of channels per client rate limit
|
|
1960
|
+
*/
|
|
1961
|
+
max_channels_per_client: number | null;
|
|
1962
|
+
/**
|
|
1963
|
+
* Sets maximum number of joins per second rate limit
|
|
1964
|
+
*/
|
|
1965
|
+
max_joins_per_second: number | null;
|
|
1966
|
+
/**
|
|
1967
|
+
* Sets maximum number of presence events per second rate limit
|
|
1968
|
+
*/
|
|
1969
|
+
max_presence_events_per_second: number | null;
|
|
1970
|
+
/**
|
|
1971
|
+
* Sets maximum number of payload size in KB rate limit
|
|
1972
|
+
*/
|
|
1973
|
+
max_payload_size_in_kb: number | null;
|
|
1974
|
+
/**
|
|
1975
|
+
* Whether to suspend realtime
|
|
1976
|
+
*/
|
|
1977
|
+
suspend: boolean | null;
|
|
1978
|
+
};
|
|
1979
|
+
export type UpdateRealtimeConfigBody = {
|
|
1980
|
+
/**
|
|
1981
|
+
* Whether to only allow private channels
|
|
1982
|
+
*/
|
|
1983
|
+
private_only?: boolean;
|
|
1984
|
+
/**
|
|
1985
|
+
* Sets connection pool size for Realtime Authorization
|
|
1986
|
+
*/
|
|
1987
|
+
connection_pool?: number;
|
|
1988
|
+
/**
|
|
1989
|
+
* Sets maximum number of concurrent users rate limit
|
|
1990
|
+
*/
|
|
1991
|
+
max_concurrent_users?: number;
|
|
1992
|
+
/**
|
|
1993
|
+
* Sets maximum number of events per second rate per channel limit
|
|
1994
|
+
*/
|
|
1995
|
+
max_events_per_second?: number;
|
|
1996
|
+
/**
|
|
1997
|
+
* Sets maximum number of bytes per second rate per channel limit
|
|
1998
|
+
*/
|
|
1999
|
+
max_bytes_per_second?: number;
|
|
2000
|
+
/**
|
|
2001
|
+
* Sets maximum number of channels per client rate limit
|
|
2002
|
+
*/
|
|
2003
|
+
max_channels_per_client?: number;
|
|
2004
|
+
/**
|
|
2005
|
+
* Sets maximum number of joins per second rate limit
|
|
2006
|
+
*/
|
|
2007
|
+
max_joins_per_second?: number;
|
|
2008
|
+
/**
|
|
2009
|
+
* Sets maximum number of presence events per second rate limit
|
|
2010
|
+
*/
|
|
2011
|
+
max_presence_events_per_second?: number;
|
|
2012
|
+
/**
|
|
2013
|
+
* Sets maximum number of payload size in KB rate limit
|
|
2014
|
+
*/
|
|
2015
|
+
max_payload_size_in_kb?: number;
|
|
2016
|
+
/**
|
|
2017
|
+
* Whether to suspend realtime
|
|
2018
|
+
*/
|
|
2019
|
+
suspend?: boolean;
|
|
2020
|
+
};
|
|
2021
|
+
export type CreateProviderBody = {
|
|
2022
|
+
/**
|
|
2023
|
+
* What type of provider will be created
|
|
2024
|
+
*/
|
|
2025
|
+
type: 'saml';
|
|
2026
|
+
metadata_xml?: string;
|
|
2027
|
+
metadata_url?: string;
|
|
2028
|
+
domains?: Array<string>;
|
|
2029
|
+
attribute_mapping?: {
|
|
2030
|
+
keys: {
|
|
2031
|
+
[key: string]: {
|
|
2032
|
+
name?: string;
|
|
2033
|
+
names?: Array<string>;
|
|
2034
|
+
default?: {
|
|
2035
|
+
[key: string]: unknown;
|
|
2036
|
+
} | number | string | boolean;
|
|
2037
|
+
array?: boolean;
|
|
2038
|
+
};
|
|
2039
|
+
};
|
|
2040
|
+
};
|
|
2041
|
+
name_id_format?: 'urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified' | 'urn:oasis:names:tc:SAML:2.0:nameid-format:transient' | 'urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress' | 'urn:oasis:names:tc:SAML:2.0:nameid-format:persistent';
|
|
2042
|
+
};
|
|
2043
|
+
export type CreateProviderResponse = {
|
|
2044
|
+
id: string;
|
|
2045
|
+
saml?: {
|
|
2046
|
+
id: string;
|
|
2047
|
+
entity_id: string;
|
|
2048
|
+
metadata_url?: string;
|
|
2049
|
+
metadata_xml?: string;
|
|
2050
|
+
attribute_mapping?: {
|
|
2051
|
+
keys: {
|
|
2052
|
+
[key: string]: {
|
|
2053
|
+
name?: string;
|
|
2054
|
+
names?: Array<string>;
|
|
2055
|
+
default?: {
|
|
2056
|
+
[key: string]: unknown;
|
|
2057
|
+
} | number | string | boolean;
|
|
2058
|
+
array?: boolean;
|
|
2059
|
+
};
|
|
2060
|
+
};
|
|
2061
|
+
};
|
|
2062
|
+
name_id_format?: 'urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified' | 'urn:oasis:names:tc:SAML:2.0:nameid-format:transient' | 'urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress' | 'urn:oasis:names:tc:SAML:2.0:nameid-format:persistent';
|
|
2063
|
+
};
|
|
2064
|
+
domains?: Array<{
|
|
2065
|
+
id: string;
|
|
2066
|
+
domain?: string;
|
|
2067
|
+
created_at?: string;
|
|
2068
|
+
updated_at?: string;
|
|
2069
|
+
}>;
|
|
2070
|
+
created_at?: string;
|
|
2071
|
+
updated_at?: string;
|
|
2072
|
+
};
|
|
2073
|
+
export type ListProvidersResponse = {
|
|
2074
|
+
items: Array<{
|
|
2075
|
+
id: string;
|
|
2076
|
+
saml?: {
|
|
2077
|
+
id: string;
|
|
2078
|
+
entity_id: string;
|
|
2079
|
+
metadata_url?: string;
|
|
2080
|
+
metadata_xml?: string;
|
|
2081
|
+
attribute_mapping?: {
|
|
2082
|
+
keys: {
|
|
2083
|
+
[key: string]: {
|
|
2084
|
+
name?: string;
|
|
2085
|
+
names?: Array<string>;
|
|
2086
|
+
default?: {
|
|
2087
|
+
[key: string]: unknown;
|
|
2088
|
+
} | number | string | boolean;
|
|
2089
|
+
array?: boolean;
|
|
2090
|
+
};
|
|
2091
|
+
};
|
|
2092
|
+
};
|
|
2093
|
+
name_id_format?: 'urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified' | 'urn:oasis:names:tc:SAML:2.0:nameid-format:transient' | 'urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress' | 'urn:oasis:names:tc:SAML:2.0:nameid-format:persistent';
|
|
2094
|
+
};
|
|
2095
|
+
domains?: Array<{
|
|
2096
|
+
id: string;
|
|
2097
|
+
domain?: string;
|
|
2098
|
+
created_at?: string;
|
|
2099
|
+
updated_at?: string;
|
|
2100
|
+
}>;
|
|
2101
|
+
created_at?: string;
|
|
2102
|
+
updated_at?: string;
|
|
2103
|
+
}>;
|
|
2104
|
+
};
|
|
2105
|
+
export type GetProviderResponse = {
|
|
2106
|
+
id: string;
|
|
2107
|
+
saml?: {
|
|
2108
|
+
id: string;
|
|
2109
|
+
entity_id: string;
|
|
2110
|
+
metadata_url?: string;
|
|
2111
|
+
metadata_xml?: string;
|
|
2112
|
+
attribute_mapping?: {
|
|
2113
|
+
keys: {
|
|
2114
|
+
[key: string]: {
|
|
2115
|
+
name?: string;
|
|
2116
|
+
names?: Array<string>;
|
|
2117
|
+
default?: {
|
|
2118
|
+
[key: string]: unknown;
|
|
2119
|
+
} | number | string | boolean;
|
|
2120
|
+
array?: boolean;
|
|
2121
|
+
};
|
|
2122
|
+
};
|
|
2123
|
+
};
|
|
2124
|
+
name_id_format?: 'urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified' | 'urn:oasis:names:tc:SAML:2.0:nameid-format:transient' | 'urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress' | 'urn:oasis:names:tc:SAML:2.0:nameid-format:persistent';
|
|
2125
|
+
};
|
|
2126
|
+
domains?: Array<{
|
|
2127
|
+
id: string;
|
|
2128
|
+
domain?: string;
|
|
2129
|
+
created_at?: string;
|
|
2130
|
+
updated_at?: string;
|
|
2131
|
+
}>;
|
|
2132
|
+
created_at?: string;
|
|
2133
|
+
updated_at?: string;
|
|
2134
|
+
};
|
|
2135
|
+
export type UpdateProviderBody = {
|
|
2136
|
+
metadata_xml?: string;
|
|
2137
|
+
metadata_url?: string;
|
|
2138
|
+
domains?: Array<string>;
|
|
2139
|
+
attribute_mapping?: {
|
|
2140
|
+
keys: {
|
|
2141
|
+
[key: string]: {
|
|
2142
|
+
name?: string;
|
|
2143
|
+
names?: Array<string>;
|
|
2144
|
+
default?: {
|
|
2145
|
+
[key: string]: unknown;
|
|
2146
|
+
} | number | string | boolean;
|
|
2147
|
+
array?: boolean;
|
|
2148
|
+
};
|
|
2149
|
+
};
|
|
2150
|
+
};
|
|
2151
|
+
name_id_format?: 'urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified' | 'urn:oasis:names:tc:SAML:2.0:nameid-format:transient' | 'urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress' | 'urn:oasis:names:tc:SAML:2.0:nameid-format:persistent';
|
|
2152
|
+
};
|
|
2153
|
+
export type UpdateProviderResponse = {
|
|
2154
|
+
id: string;
|
|
2155
|
+
saml?: {
|
|
2156
|
+
id: string;
|
|
2157
|
+
entity_id: string;
|
|
2158
|
+
metadata_url?: string;
|
|
2159
|
+
metadata_xml?: string;
|
|
2160
|
+
attribute_mapping?: {
|
|
2161
|
+
keys: {
|
|
2162
|
+
[key: string]: {
|
|
2163
|
+
name?: string;
|
|
2164
|
+
names?: Array<string>;
|
|
2165
|
+
default?: {
|
|
2166
|
+
[key: string]: unknown;
|
|
2167
|
+
} | number | string | boolean;
|
|
2168
|
+
array?: boolean;
|
|
2169
|
+
};
|
|
2170
|
+
};
|
|
2171
|
+
};
|
|
2172
|
+
name_id_format?: 'urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified' | 'urn:oasis:names:tc:SAML:2.0:nameid-format:transient' | 'urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress' | 'urn:oasis:names:tc:SAML:2.0:nameid-format:persistent';
|
|
2173
|
+
};
|
|
2174
|
+
domains?: Array<{
|
|
2175
|
+
id: string;
|
|
2176
|
+
domain?: string;
|
|
2177
|
+
created_at?: string;
|
|
2178
|
+
updated_at?: string;
|
|
2179
|
+
}>;
|
|
2180
|
+
created_at?: string;
|
|
2181
|
+
updated_at?: string;
|
|
2182
|
+
};
|
|
2183
|
+
export type DeleteProviderResponse = {
|
|
2184
|
+
id: string;
|
|
2185
|
+
saml?: {
|
|
2186
|
+
id: string;
|
|
2187
|
+
entity_id: string;
|
|
2188
|
+
metadata_url?: string;
|
|
2189
|
+
metadata_xml?: string;
|
|
2190
|
+
attribute_mapping?: {
|
|
2191
|
+
keys: {
|
|
2192
|
+
[key: string]: {
|
|
2193
|
+
name?: string;
|
|
2194
|
+
names?: Array<string>;
|
|
2195
|
+
default?: {
|
|
2196
|
+
[key: string]: unknown;
|
|
2197
|
+
} | number | string | boolean;
|
|
2161
2198
|
array?: boolean;
|
|
2162
2199
|
};
|
|
2163
2200
|
};
|
|
@@ -3359,6 +3396,72 @@ export type V1ActivateCustomHostnameResponses = {
|
|
|
3359
3396
|
201: UpdateCustomHostnameResponse;
|
|
3360
3397
|
};
|
|
3361
3398
|
export type V1ActivateCustomHostnameResponse = V1ActivateCustomHostnameResponses[keyof V1ActivateCustomHostnameResponses];
|
|
3399
|
+
export type V1GetJitAccessConfigData = {
|
|
3400
|
+
body?: never;
|
|
3401
|
+
path: {
|
|
3402
|
+
/**
|
|
3403
|
+
* Project ref
|
|
3404
|
+
*/
|
|
3405
|
+
ref: string;
|
|
3406
|
+
};
|
|
3407
|
+
query?: never;
|
|
3408
|
+
url: '/v1/projects/{ref}/jit-access';
|
|
3409
|
+
};
|
|
3410
|
+
export type V1GetJitAccessConfigErrors = {
|
|
3411
|
+
/**
|
|
3412
|
+
* Unauthorized
|
|
3413
|
+
*/
|
|
3414
|
+
401: unknown;
|
|
3415
|
+
/**
|
|
3416
|
+
* Forbidden action
|
|
3417
|
+
*/
|
|
3418
|
+
403: unknown;
|
|
3419
|
+
/**
|
|
3420
|
+
* Rate limit exceeded
|
|
3421
|
+
*/
|
|
3422
|
+
429: unknown;
|
|
3423
|
+
/**
|
|
3424
|
+
* Failed to retrieve project's JIT access config
|
|
3425
|
+
*/
|
|
3426
|
+
500: unknown;
|
|
3427
|
+
};
|
|
3428
|
+
export type V1GetJitAccessConfigResponses = {
|
|
3429
|
+
200: JitAccessResponse;
|
|
3430
|
+
};
|
|
3431
|
+
export type V1GetJitAccessConfigResponse = V1GetJitAccessConfigResponses[keyof V1GetJitAccessConfigResponses];
|
|
3432
|
+
export type V1UpdateJitAccessConfigData = {
|
|
3433
|
+
body: JitAccessRequestRequest;
|
|
3434
|
+
path: {
|
|
3435
|
+
/**
|
|
3436
|
+
* Project ref
|
|
3437
|
+
*/
|
|
3438
|
+
ref: string;
|
|
3439
|
+
};
|
|
3440
|
+
query?: never;
|
|
3441
|
+
url: '/v1/projects/{ref}/jit-access';
|
|
3442
|
+
};
|
|
3443
|
+
export type V1UpdateJitAccessConfigErrors = {
|
|
3444
|
+
/**
|
|
3445
|
+
* Unauthorized
|
|
3446
|
+
*/
|
|
3447
|
+
401: unknown;
|
|
3448
|
+
/**
|
|
3449
|
+
* Forbidden action
|
|
3450
|
+
*/
|
|
3451
|
+
403: unknown;
|
|
3452
|
+
/**
|
|
3453
|
+
* Rate limit exceeded
|
|
3454
|
+
*/
|
|
3455
|
+
429: unknown;
|
|
3456
|
+
/**
|
|
3457
|
+
* Failed to update project's just-in-time access configuration.
|
|
3458
|
+
*/
|
|
3459
|
+
500: unknown;
|
|
3460
|
+
};
|
|
3461
|
+
export type V1UpdateJitAccessConfigResponses = {
|
|
3462
|
+
200: JitAccessResponse;
|
|
3463
|
+
};
|
|
3464
|
+
export type V1UpdateJitAccessConfigResponse = V1UpdateJitAccessConfigResponses[keyof V1UpdateJitAccessConfigResponses];
|
|
3362
3465
|
export type V1ListAllNetworkBansData = {
|
|
3363
3466
|
body?: never;
|
|
3364
3467
|
path: {
|
|
@@ -4584,7 +4687,7 @@ export type V1UpdateProjectSigningKeyResponses = {
|
|
|
4584
4687
|
200: SigningKeyResponse;
|
|
4585
4688
|
};
|
|
4586
4689
|
export type V1UpdateProjectSigningKeyResponse = V1UpdateProjectSigningKeyResponses[keyof V1UpdateProjectSigningKeyResponses];
|
|
4587
|
-
export type
|
|
4690
|
+
export type V1GetAuthServiceConfigData = {
|
|
4588
4691
|
body?: never;
|
|
4589
4692
|
path: {
|
|
4590
4693
|
/**
|
|
@@ -4593,9 +4696,9 @@ export type V1GetStorageConfigData = {
|
|
|
4593
4696
|
ref: string;
|
|
4594
4697
|
};
|
|
4595
4698
|
query?: never;
|
|
4596
|
-
url: '/v1/projects/{ref}/config/
|
|
4699
|
+
url: '/v1/projects/{ref}/config/auth';
|
|
4597
4700
|
};
|
|
4598
|
-
export type
|
|
4701
|
+
export type V1GetAuthServiceConfigErrors = {
|
|
4599
4702
|
/**
|
|
4600
4703
|
* Unauthorized
|
|
4601
4704
|
*/
|
|
@@ -4609,16 +4712,16 @@ export type V1GetStorageConfigErrors = {
|
|
|
4609
4712
|
*/
|
|
4610
4713
|
429: unknown;
|
|
4611
4714
|
/**
|
|
4612
|
-
* Failed to retrieve project's
|
|
4715
|
+
* Failed to retrieve project's auth config
|
|
4613
4716
|
*/
|
|
4614
4717
|
500: unknown;
|
|
4615
4718
|
};
|
|
4616
|
-
export type
|
|
4617
|
-
200:
|
|
4719
|
+
export type V1GetAuthServiceConfigResponses = {
|
|
4720
|
+
200: AuthConfigResponse;
|
|
4618
4721
|
};
|
|
4619
|
-
export type
|
|
4620
|
-
export type
|
|
4621
|
-
body:
|
|
4722
|
+
export type V1GetAuthServiceConfigResponse = V1GetAuthServiceConfigResponses[keyof V1GetAuthServiceConfigResponses];
|
|
4723
|
+
export type V1UpdateAuthServiceConfigData = {
|
|
4724
|
+
body: UpdateAuthConfigBody;
|
|
4622
4725
|
path: {
|
|
4623
4726
|
/**
|
|
4624
4727
|
* Project ref
|
|
@@ -4626,9 +4729,9 @@ export type V1UpdateStorageConfigData = {
|
|
|
4626
4729
|
ref: string;
|
|
4627
4730
|
};
|
|
4628
4731
|
query?: never;
|
|
4629
|
-
url: '/v1/projects/{ref}/config/
|
|
4732
|
+
url: '/v1/projects/{ref}/config/auth';
|
|
4630
4733
|
};
|
|
4631
|
-
export type
|
|
4734
|
+
export type V1UpdateAuthServiceConfigErrors = {
|
|
4632
4735
|
/**
|
|
4633
4736
|
* Unauthorized
|
|
4634
4737
|
*/
|
|
@@ -4642,14 +4745,15 @@ export type V1UpdateStorageConfigErrors = {
|
|
|
4642
4745
|
*/
|
|
4643
4746
|
429: unknown;
|
|
4644
4747
|
/**
|
|
4645
|
-
* Failed to update project's
|
|
4748
|
+
* Failed to update project's auth config
|
|
4646
4749
|
*/
|
|
4647
4750
|
500: unknown;
|
|
4648
4751
|
};
|
|
4649
|
-
export type
|
|
4650
|
-
200:
|
|
4752
|
+
export type V1UpdateAuthServiceConfigResponses = {
|
|
4753
|
+
200: AuthConfigResponse;
|
|
4651
4754
|
};
|
|
4652
|
-
export type
|
|
4755
|
+
export type V1UpdateAuthServiceConfigResponse = V1UpdateAuthServiceConfigResponses[keyof V1UpdateAuthServiceConfigResponses];
|
|
4756
|
+
export type V1ListProjectTpaIntegrationsData = {
|
|
4653
4757
|
body?: never;
|
|
4654
4758
|
path: {
|
|
4655
4759
|
/**
|
|
@@ -4658,9 +4762,38 @@ export type V1GetPostgresConfigData = {
|
|
|
4658
4762
|
ref: string;
|
|
4659
4763
|
};
|
|
4660
4764
|
query?: never;
|
|
4661
|
-
url: '/v1/projects/{ref}/config/
|
|
4765
|
+
url: '/v1/projects/{ref}/config/auth/third-party-auth';
|
|
4662
4766
|
};
|
|
4663
|
-
export type
|
|
4767
|
+
export type V1ListProjectTpaIntegrationsErrors = {
|
|
4768
|
+
/**
|
|
4769
|
+
* Unauthorized
|
|
4770
|
+
*/
|
|
4771
|
+
401: unknown;
|
|
4772
|
+
/**
|
|
4773
|
+
* Forbidden action
|
|
4774
|
+
*/
|
|
4775
|
+
403: unknown;
|
|
4776
|
+
/**
|
|
4777
|
+
* Rate limit exceeded
|
|
4778
|
+
*/
|
|
4779
|
+
429: unknown;
|
|
4780
|
+
};
|
|
4781
|
+
export type V1ListProjectTpaIntegrationsResponses = {
|
|
4782
|
+
200: Array<ThirdPartyAuth>;
|
|
4783
|
+
};
|
|
4784
|
+
export type V1ListProjectTpaIntegrationsResponse = V1ListProjectTpaIntegrationsResponses[keyof V1ListProjectTpaIntegrationsResponses];
|
|
4785
|
+
export type V1CreateProjectTpaIntegrationData = {
|
|
4786
|
+
body: CreateThirdPartyAuthBody;
|
|
4787
|
+
path: {
|
|
4788
|
+
/**
|
|
4789
|
+
* Project ref
|
|
4790
|
+
*/
|
|
4791
|
+
ref: string;
|
|
4792
|
+
};
|
|
4793
|
+
query?: never;
|
|
4794
|
+
url: '/v1/projects/{ref}/config/auth/third-party-auth';
|
|
4795
|
+
};
|
|
4796
|
+
export type V1CreateProjectTpaIntegrationErrors = {
|
|
4664
4797
|
/**
|
|
4665
4798
|
* Unauthorized
|
|
4666
4799
|
*/
|
|
@@ -4673,27 +4806,54 @@ export type V1GetPostgresConfigErrors = {
|
|
|
4673
4806
|
* Rate limit exceeded
|
|
4674
4807
|
*/
|
|
4675
4808
|
429: unknown;
|
|
4809
|
+
};
|
|
4810
|
+
export type V1CreateProjectTpaIntegrationResponses = {
|
|
4811
|
+
201: ThirdPartyAuth;
|
|
4812
|
+
};
|
|
4813
|
+
export type V1CreateProjectTpaIntegrationResponse = V1CreateProjectTpaIntegrationResponses[keyof V1CreateProjectTpaIntegrationResponses];
|
|
4814
|
+
export type V1DeleteProjectTpaIntegrationData = {
|
|
4815
|
+
body?: never;
|
|
4816
|
+
path: {
|
|
4817
|
+
/**
|
|
4818
|
+
* Project ref
|
|
4819
|
+
*/
|
|
4820
|
+
ref: string;
|
|
4821
|
+
tpa_id: string;
|
|
4822
|
+
};
|
|
4823
|
+
query?: never;
|
|
4824
|
+
url: '/v1/projects/{ref}/config/auth/third-party-auth/{tpa_id}';
|
|
4825
|
+
};
|
|
4826
|
+
export type V1DeleteProjectTpaIntegrationErrors = {
|
|
4676
4827
|
/**
|
|
4677
|
-
*
|
|
4828
|
+
* Unauthorized
|
|
4678
4829
|
*/
|
|
4679
|
-
|
|
4830
|
+
401: unknown;
|
|
4831
|
+
/**
|
|
4832
|
+
* Forbidden action
|
|
4833
|
+
*/
|
|
4834
|
+
403: unknown;
|
|
4835
|
+
/**
|
|
4836
|
+
* Rate limit exceeded
|
|
4837
|
+
*/
|
|
4838
|
+
429: unknown;
|
|
4680
4839
|
};
|
|
4681
|
-
export type
|
|
4682
|
-
200:
|
|
4840
|
+
export type V1DeleteProjectTpaIntegrationResponses = {
|
|
4841
|
+
200: ThirdPartyAuth;
|
|
4683
4842
|
};
|
|
4684
|
-
export type
|
|
4685
|
-
export type
|
|
4686
|
-
body
|
|
4843
|
+
export type V1DeleteProjectTpaIntegrationResponse = V1DeleteProjectTpaIntegrationResponses[keyof V1DeleteProjectTpaIntegrationResponses];
|
|
4844
|
+
export type V1GetProjectTpaIntegrationData = {
|
|
4845
|
+
body?: never;
|
|
4687
4846
|
path: {
|
|
4688
4847
|
/**
|
|
4689
4848
|
* Project ref
|
|
4690
4849
|
*/
|
|
4691
4850
|
ref: string;
|
|
4851
|
+
tpa_id: string;
|
|
4692
4852
|
};
|
|
4693
4853
|
query?: never;
|
|
4694
|
-
url: '/v1/projects/{ref}/config/
|
|
4854
|
+
url: '/v1/projects/{ref}/config/auth/third-party-auth/{tpa_id}';
|
|
4695
4855
|
};
|
|
4696
|
-
export type
|
|
4856
|
+
export type V1GetProjectTpaIntegrationErrors = {
|
|
4697
4857
|
/**
|
|
4698
4858
|
* Unauthorized
|
|
4699
4859
|
*/
|
|
@@ -4706,16 +4866,40 @@ export type V1UpdatePostgresConfigErrors = {
|
|
|
4706
4866
|
* Rate limit exceeded
|
|
4707
4867
|
*/
|
|
4708
4868
|
429: unknown;
|
|
4869
|
+
};
|
|
4870
|
+
export type V1GetProjectTpaIntegrationResponses = {
|
|
4871
|
+
200: ThirdPartyAuth;
|
|
4872
|
+
};
|
|
4873
|
+
export type V1GetProjectTpaIntegrationResponse = V1GetProjectTpaIntegrationResponses[keyof V1GetProjectTpaIntegrationResponses];
|
|
4874
|
+
export type V1PauseAProjectData = {
|
|
4875
|
+
body?: never;
|
|
4876
|
+
path: {
|
|
4877
|
+
/**
|
|
4878
|
+
* Project ref
|
|
4879
|
+
*/
|
|
4880
|
+
ref: string;
|
|
4881
|
+
};
|
|
4882
|
+
query?: never;
|
|
4883
|
+
url: '/v1/projects/{ref}/pause';
|
|
4884
|
+
};
|
|
4885
|
+
export type V1PauseAProjectErrors = {
|
|
4709
4886
|
/**
|
|
4710
|
-
*
|
|
4887
|
+
* Unauthorized
|
|
4711
4888
|
*/
|
|
4712
|
-
|
|
4889
|
+
401: unknown;
|
|
4890
|
+
/**
|
|
4891
|
+
* Forbidden action
|
|
4892
|
+
*/
|
|
4893
|
+
403: unknown;
|
|
4894
|
+
/**
|
|
4895
|
+
* Rate limit exceeded
|
|
4896
|
+
*/
|
|
4897
|
+
429: unknown;
|
|
4713
4898
|
};
|
|
4714
|
-
export type
|
|
4715
|
-
200:
|
|
4899
|
+
export type V1PauseAProjectResponses = {
|
|
4900
|
+
200: unknown;
|
|
4716
4901
|
};
|
|
4717
|
-
export type
|
|
4718
|
-
export type V1GetProjectPgbouncerConfigData = {
|
|
4902
|
+
export type V1ListAvailableRestoreVersionsData = {
|
|
4719
4903
|
body?: never;
|
|
4720
4904
|
path: {
|
|
4721
4905
|
/**
|
|
@@ -4724,9 +4908,9 @@ export type V1GetProjectPgbouncerConfigData = {
|
|
|
4724
4908
|
ref: string;
|
|
4725
4909
|
};
|
|
4726
4910
|
query?: never;
|
|
4727
|
-
url: '/v1/projects/{ref}/
|
|
4911
|
+
url: '/v1/projects/{ref}/restore';
|
|
4728
4912
|
};
|
|
4729
|
-
export type
|
|
4913
|
+
export type V1ListAvailableRestoreVersionsErrors = {
|
|
4730
4914
|
/**
|
|
4731
4915
|
* Unauthorized
|
|
4732
4916
|
*/
|
|
@@ -4739,16 +4923,40 @@ export type V1GetProjectPgbouncerConfigErrors = {
|
|
|
4739
4923
|
* Rate limit exceeded
|
|
4740
4924
|
*/
|
|
4741
4925
|
429: unknown;
|
|
4926
|
+
};
|
|
4927
|
+
export type V1ListAvailableRestoreVersionsResponses = {
|
|
4928
|
+
200: GetProjectAvailableRestoreVersionsResponse;
|
|
4929
|
+
};
|
|
4930
|
+
export type V1ListAvailableRestoreVersionsResponse = V1ListAvailableRestoreVersionsResponses[keyof V1ListAvailableRestoreVersionsResponses];
|
|
4931
|
+
export type V1RestoreAProjectData = {
|
|
4932
|
+
body?: never;
|
|
4933
|
+
path: {
|
|
4934
|
+
/**
|
|
4935
|
+
* Project ref
|
|
4936
|
+
*/
|
|
4937
|
+
ref: string;
|
|
4938
|
+
};
|
|
4939
|
+
query?: never;
|
|
4940
|
+
url: '/v1/projects/{ref}/restore';
|
|
4941
|
+
};
|
|
4942
|
+
export type V1RestoreAProjectErrors = {
|
|
4742
4943
|
/**
|
|
4743
|
-
*
|
|
4944
|
+
* Unauthorized
|
|
4744
4945
|
*/
|
|
4745
|
-
|
|
4946
|
+
401: unknown;
|
|
4947
|
+
/**
|
|
4948
|
+
* Forbidden action
|
|
4949
|
+
*/
|
|
4950
|
+
403: unknown;
|
|
4951
|
+
/**
|
|
4952
|
+
* Rate limit exceeded
|
|
4953
|
+
*/
|
|
4954
|
+
429: unknown;
|
|
4746
4955
|
};
|
|
4747
|
-
export type
|
|
4748
|
-
200:
|
|
4956
|
+
export type V1RestoreAProjectResponses = {
|
|
4957
|
+
200: unknown;
|
|
4749
4958
|
};
|
|
4750
|
-
export type
|
|
4751
|
-
export type V1GetPoolerConfigData = {
|
|
4959
|
+
export type V1CancelAProjectRestorationData = {
|
|
4752
4960
|
body?: never;
|
|
4753
4961
|
path: {
|
|
4754
4962
|
/**
|
|
@@ -4757,9 +4965,9 @@ export type V1GetPoolerConfigData = {
|
|
|
4757
4965
|
ref: string;
|
|
4758
4966
|
};
|
|
4759
4967
|
query?: never;
|
|
4760
|
-
url: '/v1/projects/{ref}/
|
|
4968
|
+
url: '/v1/projects/{ref}/restore/cancel';
|
|
4761
4969
|
};
|
|
4762
|
-
export type
|
|
4970
|
+
export type V1CancelAProjectRestorationErrors = {
|
|
4763
4971
|
/**
|
|
4764
4972
|
* Unauthorized
|
|
4765
4973
|
*/
|
|
@@ -4772,17 +4980,12 @@ export type V1GetPoolerConfigErrors = {
|
|
|
4772
4980
|
* Rate limit exceeded
|
|
4773
4981
|
*/
|
|
4774
4982
|
429: unknown;
|
|
4775
|
-
/**
|
|
4776
|
-
* Failed to retrieve project's supavisor config
|
|
4777
|
-
*/
|
|
4778
|
-
500: unknown;
|
|
4779
4983
|
};
|
|
4780
|
-
export type
|
|
4781
|
-
200:
|
|
4984
|
+
export type V1CancelAProjectRestorationResponses = {
|
|
4985
|
+
200: unknown;
|
|
4782
4986
|
};
|
|
4783
|
-
export type
|
|
4784
|
-
|
|
4785
|
-
body: UpdateSupavisorConfigBody;
|
|
4987
|
+
export type V1ListProjectAddonsData = {
|
|
4988
|
+
body?: never;
|
|
4786
4989
|
path: {
|
|
4787
4990
|
/**
|
|
4788
4991
|
* Project ref
|
|
@@ -4790,9 +4993,9 @@ export type V1UpdatePoolerConfigData = {
|
|
|
4790
4993
|
ref: string;
|
|
4791
4994
|
};
|
|
4792
4995
|
query?: never;
|
|
4793
|
-
url: '/v1/projects/{ref}/
|
|
4996
|
+
url: '/v1/projects/{ref}/billing/addons';
|
|
4794
4997
|
};
|
|
4795
|
-
export type
|
|
4998
|
+
export type V1ListProjectAddonsErrors = {
|
|
4796
4999
|
/**
|
|
4797
5000
|
* Unauthorized
|
|
4798
5001
|
*/
|
|
@@ -4806,16 +5009,16 @@ export type V1UpdatePoolerConfigErrors = {
|
|
|
4806
5009
|
*/
|
|
4807
5010
|
429: unknown;
|
|
4808
5011
|
/**
|
|
4809
|
-
* Failed to
|
|
5012
|
+
* Failed to list project addons
|
|
4810
5013
|
*/
|
|
4811
5014
|
500: unknown;
|
|
4812
5015
|
};
|
|
4813
|
-
export type
|
|
4814
|
-
200:
|
|
5016
|
+
export type V1ListProjectAddonsResponses = {
|
|
5017
|
+
200: ListProjectAddonsResponse;
|
|
4815
5018
|
};
|
|
4816
|
-
export type
|
|
4817
|
-
export type
|
|
4818
|
-
body
|
|
5019
|
+
export type V1ListProjectAddonsResponse = V1ListProjectAddonsResponses[keyof V1ListProjectAddonsResponses];
|
|
5020
|
+
export type V1ApplyProjectAddonData = {
|
|
5021
|
+
body: ApplyProjectAddonBody;
|
|
4819
5022
|
path: {
|
|
4820
5023
|
/**
|
|
4821
5024
|
* Project ref
|
|
@@ -4823,9 +5026,9 @@ export type V1GetAuthServiceConfigData = {
|
|
|
4823
5026
|
ref: string;
|
|
4824
5027
|
};
|
|
4825
5028
|
query?: never;
|
|
4826
|
-
url: '/v1/projects/{ref}/
|
|
5029
|
+
url: '/v1/projects/{ref}/billing/addons';
|
|
4827
5030
|
};
|
|
4828
|
-
export type
|
|
5031
|
+
export type V1ApplyProjectAddonErrors = {
|
|
4829
5032
|
/**
|
|
4830
5033
|
* Unauthorized
|
|
4831
5034
|
*/
|
|
@@ -4839,26 +5042,26 @@ export type V1GetAuthServiceConfigErrors = {
|
|
|
4839
5042
|
*/
|
|
4840
5043
|
429: unknown;
|
|
4841
5044
|
/**
|
|
4842
|
-
* Failed to
|
|
5045
|
+
* Failed to apply project addon
|
|
4843
5046
|
*/
|
|
4844
5047
|
500: unknown;
|
|
4845
5048
|
};
|
|
4846
|
-
export type
|
|
4847
|
-
200:
|
|
5049
|
+
export type V1ApplyProjectAddonResponses = {
|
|
5050
|
+
200: unknown;
|
|
4848
5051
|
};
|
|
4849
|
-
export type
|
|
4850
|
-
|
|
4851
|
-
body: UpdateAuthConfigBody;
|
|
5052
|
+
export type V1RemoveProjectAddonData = {
|
|
5053
|
+
body?: never;
|
|
4852
5054
|
path: {
|
|
4853
5055
|
/**
|
|
4854
5056
|
* Project ref
|
|
4855
5057
|
*/
|
|
4856
5058
|
ref: string;
|
|
5059
|
+
addon_variant: 'ci_micro' | 'ci_small' | 'ci_medium' | 'ci_large' | 'ci_xlarge' | 'ci_2xlarge' | 'ci_4xlarge' | 'ci_8xlarge' | 'ci_12xlarge' | 'ci_16xlarge' | 'ci_24xlarge' | 'ci_24xlarge_optimized_cpu' | 'ci_24xlarge_optimized_memory' | 'ci_24xlarge_high_memory' | 'ci_48xlarge' | 'ci_48xlarge_optimized_cpu' | 'ci_48xlarge_optimized_memory' | 'ci_48xlarge_high_memory' | 'cd_default' | 'pitr_7' | 'pitr_14' | 'pitr_28' | 'ipv4_default';
|
|
4857
5060
|
};
|
|
4858
5061
|
query?: never;
|
|
4859
|
-
url: '/v1/projects/{ref}/
|
|
5062
|
+
url: '/v1/projects/{ref}/billing/addons/{addon_variant}';
|
|
4860
5063
|
};
|
|
4861
|
-
export type
|
|
5064
|
+
export type V1RemoveProjectAddonErrors = {
|
|
4862
5065
|
/**
|
|
4863
5066
|
* Unauthorized
|
|
4864
5067
|
*/
|
|
@@ -4872,15 +5075,14 @@ export type V1UpdateAuthServiceConfigErrors = {
|
|
|
4872
5075
|
*/
|
|
4873
5076
|
429: unknown;
|
|
4874
5077
|
/**
|
|
4875
|
-
* Failed to
|
|
5078
|
+
* Failed to remove project addon
|
|
4876
5079
|
*/
|
|
4877
5080
|
500: unknown;
|
|
4878
5081
|
};
|
|
4879
|
-
export type
|
|
4880
|
-
200:
|
|
5082
|
+
export type V1RemoveProjectAddonResponses = {
|
|
5083
|
+
200: unknown;
|
|
4881
5084
|
};
|
|
4882
|
-
export type
|
|
4883
|
-
export type V1GetRealtimeConfigData = {
|
|
5085
|
+
export type V1DeleteProjectClaimTokenData = {
|
|
4884
5086
|
body?: never;
|
|
4885
5087
|
path: {
|
|
4886
5088
|
/**
|
|
@@ -4889,9 +5091,9 @@ export type V1GetRealtimeConfigData = {
|
|
|
4889
5091
|
ref: string;
|
|
4890
5092
|
};
|
|
4891
5093
|
query?: never;
|
|
4892
|
-
url: '/v1/projects/{ref}/
|
|
5094
|
+
url: '/v1/projects/{ref}/claim-token';
|
|
4893
5095
|
};
|
|
4894
|
-
export type
|
|
5096
|
+
export type V1DeleteProjectClaimTokenErrors = {
|
|
4895
5097
|
/**
|
|
4896
5098
|
* Unauthorized
|
|
4897
5099
|
*/
|
|
@@ -4905,15 +5107,12 @@ export type V1GetRealtimeConfigErrors = {
|
|
|
4905
5107
|
*/
|
|
4906
5108
|
429: unknown;
|
|
4907
5109
|
};
|
|
4908
|
-
export type
|
|
4909
|
-
|
|
4910
|
-
* Gets project's realtime configuration
|
|
4911
|
-
*/
|
|
4912
|
-
200: RealtimeConfigResponse;
|
|
5110
|
+
export type V1DeleteProjectClaimTokenResponses = {
|
|
5111
|
+
204: void;
|
|
4913
5112
|
};
|
|
4914
|
-
export type
|
|
4915
|
-
export type
|
|
4916
|
-
body
|
|
5113
|
+
export type V1DeleteProjectClaimTokenResponse = V1DeleteProjectClaimTokenResponses[keyof V1DeleteProjectClaimTokenResponses];
|
|
5114
|
+
export type V1GetProjectClaimTokenData = {
|
|
5115
|
+
body?: never;
|
|
4917
5116
|
path: {
|
|
4918
5117
|
/**
|
|
4919
5118
|
* Project ref
|
|
@@ -4921,9 +5120,9 @@ export type V1UpdateRealtimeConfigData = {
|
|
|
4921
5120
|
ref: string;
|
|
4922
5121
|
};
|
|
4923
5122
|
query?: never;
|
|
4924
|
-
url: '/v1/projects/{ref}/
|
|
5123
|
+
url: '/v1/projects/{ref}/claim-token';
|
|
4925
5124
|
};
|
|
4926
|
-
export type
|
|
5125
|
+
export type V1GetProjectClaimTokenErrors = {
|
|
4927
5126
|
/**
|
|
4928
5127
|
* Unauthorized
|
|
4929
5128
|
*/
|
|
@@ -4937,11 +5136,11 @@ export type V1UpdateRealtimeConfigErrors = {
|
|
|
4937
5136
|
*/
|
|
4938
5137
|
429: unknown;
|
|
4939
5138
|
};
|
|
4940
|
-
export type
|
|
4941
|
-
|
|
5139
|
+
export type V1GetProjectClaimTokenResponses = {
|
|
5140
|
+
200: ProjectClaimTokenResponse;
|
|
4942
5141
|
};
|
|
4943
|
-
export type
|
|
4944
|
-
export type
|
|
5142
|
+
export type V1GetProjectClaimTokenResponse = V1GetProjectClaimTokenResponses[keyof V1GetProjectClaimTokenResponses];
|
|
5143
|
+
export type V1CreateProjectClaimTokenData = {
|
|
4945
5144
|
body?: never;
|
|
4946
5145
|
path: {
|
|
4947
5146
|
/**
|
|
@@ -4950,9 +5149,9 @@ export type V1ListProjectTpaIntegrationsData = {
|
|
|
4950
5149
|
ref: string;
|
|
4951
5150
|
};
|
|
4952
5151
|
query?: never;
|
|
4953
|
-
url: '/v1/projects/{ref}/
|
|
5152
|
+
url: '/v1/projects/{ref}/claim-token';
|
|
4954
5153
|
};
|
|
4955
|
-
export type
|
|
5154
|
+
export type V1CreateProjectClaimTokenErrors = {
|
|
4956
5155
|
/**
|
|
4957
5156
|
* Unauthorized
|
|
4958
5157
|
*/
|
|
@@ -4966,12 +5165,12 @@ export type V1ListProjectTpaIntegrationsErrors = {
|
|
|
4966
5165
|
*/
|
|
4967
5166
|
429: unknown;
|
|
4968
5167
|
};
|
|
4969
|
-
export type
|
|
4970
|
-
200:
|
|
5168
|
+
export type V1CreateProjectClaimTokenResponses = {
|
|
5169
|
+
200: CreateProjectClaimTokenResponse;
|
|
4971
5170
|
};
|
|
4972
|
-
export type
|
|
4973
|
-
export type
|
|
4974
|
-
body
|
|
5171
|
+
export type V1CreateProjectClaimTokenResponse = V1CreateProjectClaimTokenResponses[keyof V1CreateProjectClaimTokenResponses];
|
|
5172
|
+
export type V1GetPerformanceAdvisorsData = {
|
|
5173
|
+
body?: never;
|
|
4975
5174
|
path: {
|
|
4976
5175
|
/**
|
|
4977
5176
|
* Project ref
|
|
@@ -4979,9 +5178,9 @@ export type V1CreateProjectTpaIntegrationData = {
|
|
|
4979
5178
|
ref: string;
|
|
4980
5179
|
};
|
|
4981
5180
|
query?: never;
|
|
4982
|
-
url: '/v1/projects/{ref}/
|
|
5181
|
+
url: '/v1/projects/{ref}/advisors/performance';
|
|
4983
5182
|
};
|
|
4984
|
-
export type
|
|
5183
|
+
export type V1GetPerformanceAdvisorsErrors = {
|
|
4985
5184
|
/**
|
|
4986
5185
|
* Unauthorized
|
|
4987
5186
|
*/
|
|
@@ -4995,23 +5194,24 @@ export type V1CreateProjectTpaIntegrationErrors = {
|
|
|
4995
5194
|
*/
|
|
4996
5195
|
429: unknown;
|
|
4997
5196
|
};
|
|
4998
|
-
export type
|
|
4999
|
-
|
|
5197
|
+
export type V1GetPerformanceAdvisorsResponses = {
|
|
5198
|
+
200: V1ProjectAdvisorsResponse;
|
|
5000
5199
|
};
|
|
5001
|
-
export type
|
|
5002
|
-
export type
|
|
5200
|
+
export type V1GetPerformanceAdvisorsResponse = V1GetPerformanceAdvisorsResponses[keyof V1GetPerformanceAdvisorsResponses];
|
|
5201
|
+
export type V1GetSecurityAdvisorsData = {
|
|
5003
5202
|
body?: never;
|
|
5004
5203
|
path: {
|
|
5005
5204
|
/**
|
|
5006
5205
|
* Project ref
|
|
5007
5206
|
*/
|
|
5008
5207
|
ref: string;
|
|
5009
|
-
tpa_id: string;
|
|
5010
5208
|
};
|
|
5011
|
-
query?:
|
|
5012
|
-
|
|
5209
|
+
query?: {
|
|
5210
|
+
lint_type?: 'sql';
|
|
5211
|
+
};
|
|
5212
|
+
url: '/v1/projects/{ref}/advisors/security';
|
|
5013
5213
|
};
|
|
5014
|
-
export type
|
|
5214
|
+
export type V1GetSecurityAdvisorsErrors = {
|
|
5015
5215
|
/**
|
|
5016
5216
|
* Unauthorized
|
|
5017
5217
|
*/
|
|
@@ -5025,23 +5225,29 @@ export type V1DeleteProjectTpaIntegrationErrors = {
|
|
|
5025
5225
|
*/
|
|
5026
5226
|
429: unknown;
|
|
5027
5227
|
};
|
|
5028
|
-
export type
|
|
5029
|
-
200:
|
|
5228
|
+
export type V1GetSecurityAdvisorsResponses = {
|
|
5229
|
+
200: V1ProjectAdvisorsResponse;
|
|
5030
5230
|
};
|
|
5031
|
-
export type
|
|
5032
|
-
export type
|
|
5231
|
+
export type V1GetSecurityAdvisorsResponse = V1GetSecurityAdvisorsResponses[keyof V1GetSecurityAdvisorsResponses];
|
|
5232
|
+
export type V1GetProjectLogsData = {
|
|
5033
5233
|
body?: never;
|
|
5034
5234
|
path: {
|
|
5035
5235
|
/**
|
|
5036
5236
|
* Project ref
|
|
5037
5237
|
*/
|
|
5038
5238
|
ref: string;
|
|
5039
|
-
tpa_id: string;
|
|
5040
5239
|
};
|
|
5041
|
-
query?:
|
|
5042
|
-
|
|
5240
|
+
query?: {
|
|
5241
|
+
/**
|
|
5242
|
+
* Custom SQL query to execute on the logs. See [querying logs](/docs/guides/telemetry/logs?queryGroups=product&product=postgres&queryGroups=source&source=edge_logs#querying-with-the-logs-explorer) for more details.
|
|
5243
|
+
*/
|
|
5244
|
+
sql?: string;
|
|
5245
|
+
iso_timestamp_start?: string;
|
|
5246
|
+
iso_timestamp_end?: string;
|
|
5247
|
+
};
|
|
5248
|
+
url: '/v1/projects/{ref}/analytics/endpoints/logs.all';
|
|
5043
5249
|
};
|
|
5044
|
-
export type
|
|
5250
|
+
export type V1GetProjectLogsErrors = {
|
|
5045
5251
|
/**
|
|
5046
5252
|
* Unauthorized
|
|
5047
5253
|
*/
|
|
@@ -5055,11 +5261,11 @@ export type V1GetProjectTpaIntegrationErrors = {
|
|
|
5055
5261
|
*/
|
|
5056
5262
|
429: unknown;
|
|
5057
5263
|
};
|
|
5058
|
-
export type
|
|
5059
|
-
200:
|
|
5264
|
+
export type V1GetProjectLogsResponses = {
|
|
5265
|
+
200: AnalyticsResponse;
|
|
5060
5266
|
};
|
|
5061
|
-
export type
|
|
5062
|
-
export type
|
|
5267
|
+
export type V1GetProjectLogsResponse = V1GetProjectLogsResponses[keyof V1GetProjectLogsResponses];
|
|
5268
|
+
export type V1GetProjectUsageApiCountData = {
|
|
5063
5269
|
body?: never;
|
|
5064
5270
|
path: {
|
|
5065
5271
|
/**
|
|
@@ -5067,10 +5273,12 @@ export type V1PauseAProjectData = {
|
|
|
5067
5273
|
*/
|
|
5068
5274
|
ref: string;
|
|
5069
5275
|
};
|
|
5070
|
-
query?:
|
|
5071
|
-
|
|
5276
|
+
query?: {
|
|
5277
|
+
interval?: '15min' | '30min' | '1hr' | '3hr' | '1day' | '3day' | '7day';
|
|
5278
|
+
};
|
|
5279
|
+
url: '/v1/projects/{ref}/analytics/endpoints/usage.api-counts';
|
|
5072
5280
|
};
|
|
5073
|
-
export type
|
|
5281
|
+
export type V1GetProjectUsageApiCountErrors = {
|
|
5074
5282
|
/**
|
|
5075
5283
|
* Unauthorized
|
|
5076
5284
|
*/
|
|
@@ -5083,11 +5291,16 @@ export type V1PauseAProjectErrors = {
|
|
|
5083
5291
|
* Rate limit exceeded
|
|
5084
5292
|
*/
|
|
5085
5293
|
429: unknown;
|
|
5294
|
+
/**
|
|
5295
|
+
* Failed to get project's usage api counts
|
|
5296
|
+
*/
|
|
5297
|
+
500: unknown;
|
|
5086
5298
|
};
|
|
5087
|
-
export type
|
|
5088
|
-
200:
|
|
5299
|
+
export type V1GetProjectUsageApiCountResponses = {
|
|
5300
|
+
200: V1GetUsageApiCountResponse;
|
|
5089
5301
|
};
|
|
5090
|
-
export type
|
|
5302
|
+
export type V1GetProjectUsageApiCountResponse = V1GetProjectUsageApiCountResponses[keyof V1GetProjectUsageApiCountResponses];
|
|
5303
|
+
export type V1GetProjectUsageRequestCountData = {
|
|
5091
5304
|
body?: never;
|
|
5092
5305
|
path: {
|
|
5093
5306
|
/**
|
|
@@ -5096,9 +5309,9 @@ export type V1ListAvailableRestoreVersionsData = {
|
|
|
5096
5309
|
ref: string;
|
|
5097
5310
|
};
|
|
5098
5311
|
query?: never;
|
|
5099
|
-
url: '/v1/projects/{ref}/
|
|
5312
|
+
url: '/v1/projects/{ref}/analytics/endpoints/usage.api-requests-count';
|
|
5100
5313
|
};
|
|
5101
|
-
export type
|
|
5314
|
+
export type V1GetProjectUsageRequestCountErrors = {
|
|
5102
5315
|
/**
|
|
5103
5316
|
* Unauthorized
|
|
5104
5317
|
*/
|
|
@@ -5111,12 +5324,16 @@ export type V1ListAvailableRestoreVersionsErrors = {
|
|
|
5111
5324
|
* Rate limit exceeded
|
|
5112
5325
|
*/
|
|
5113
5326
|
429: unknown;
|
|
5327
|
+
/**
|
|
5328
|
+
* Failed to get project's usage api requests count
|
|
5329
|
+
*/
|
|
5330
|
+
500: unknown;
|
|
5114
5331
|
};
|
|
5115
|
-
export type
|
|
5116
|
-
200:
|
|
5332
|
+
export type V1GetProjectUsageRequestCountResponses = {
|
|
5333
|
+
200: V1GetUsageApiRequestsCountResponse;
|
|
5117
5334
|
};
|
|
5118
|
-
export type
|
|
5119
|
-
export type
|
|
5335
|
+
export type V1GetProjectUsageRequestCountResponse = V1GetProjectUsageRequestCountResponses[keyof V1GetProjectUsageRequestCountResponses];
|
|
5336
|
+
export type V1GetProjectFunctionCombinedStatsData = {
|
|
5120
5337
|
body?: never;
|
|
5121
5338
|
path: {
|
|
5122
5339
|
/**
|
|
@@ -5124,10 +5341,13 @@ export type V1RestoreAProjectData = {
|
|
|
5124
5341
|
*/
|
|
5125
5342
|
ref: string;
|
|
5126
5343
|
};
|
|
5127
|
-
query
|
|
5128
|
-
|
|
5344
|
+
query: {
|
|
5345
|
+
interval: '15min' | '1hr' | '3hr' | '1day';
|
|
5346
|
+
function_id: string;
|
|
5347
|
+
};
|
|
5348
|
+
url: '/v1/projects/{ref}/analytics/endpoints/functions.combined-stats';
|
|
5129
5349
|
};
|
|
5130
|
-
export type
|
|
5350
|
+
export type V1GetProjectFunctionCombinedStatsErrors = {
|
|
5131
5351
|
/**
|
|
5132
5352
|
* Unauthorized
|
|
5133
5353
|
*/
|
|
@@ -5140,11 +5360,16 @@ export type V1RestoreAProjectErrors = {
|
|
|
5140
5360
|
* Rate limit exceeded
|
|
5141
5361
|
*/
|
|
5142
5362
|
429: unknown;
|
|
5363
|
+
/**
|
|
5364
|
+
* Failed to get project's function combined statistics
|
|
5365
|
+
*/
|
|
5366
|
+
500: unknown;
|
|
5143
5367
|
};
|
|
5144
|
-
export type
|
|
5145
|
-
200:
|
|
5368
|
+
export type V1GetProjectFunctionCombinedStatsResponses = {
|
|
5369
|
+
200: AnalyticsResponse;
|
|
5146
5370
|
};
|
|
5147
|
-
export type
|
|
5371
|
+
export type V1GetProjectFunctionCombinedStatsResponse = V1GetProjectFunctionCombinedStatsResponses[keyof V1GetProjectFunctionCombinedStatsResponses];
|
|
5372
|
+
export type V1DeleteLoginRolesData = {
|
|
5148
5373
|
body?: never;
|
|
5149
5374
|
path: {
|
|
5150
5375
|
/**
|
|
@@ -5153,9 +5378,9 @@ export type V1CancelAProjectRestorationData = {
|
|
|
5153
5378
|
ref: string;
|
|
5154
5379
|
};
|
|
5155
5380
|
query?: never;
|
|
5156
|
-
url: '/v1/projects/{ref}/
|
|
5381
|
+
url: '/v1/projects/{ref}/cli/login-role';
|
|
5157
5382
|
};
|
|
5158
|
-
export type
|
|
5383
|
+
export type V1DeleteLoginRolesErrors = {
|
|
5159
5384
|
/**
|
|
5160
5385
|
* Unauthorized
|
|
5161
5386
|
*/
|
|
@@ -5168,12 +5393,17 @@ export type V1CancelAProjectRestorationErrors = {
|
|
|
5168
5393
|
* Rate limit exceeded
|
|
5169
5394
|
*/
|
|
5170
5395
|
429: unknown;
|
|
5396
|
+
/**
|
|
5397
|
+
* Failed to delete login roles
|
|
5398
|
+
*/
|
|
5399
|
+
500: unknown;
|
|
5171
5400
|
};
|
|
5172
|
-
export type
|
|
5173
|
-
200:
|
|
5401
|
+
export type V1DeleteLoginRolesResponses = {
|
|
5402
|
+
200: DeleteRolesResponse;
|
|
5174
5403
|
};
|
|
5175
|
-
export type
|
|
5176
|
-
|
|
5404
|
+
export type V1DeleteLoginRolesResponse = V1DeleteLoginRolesResponses[keyof V1DeleteLoginRolesResponses];
|
|
5405
|
+
export type V1CreateLoginRoleData = {
|
|
5406
|
+
body: CreateRoleBody;
|
|
5177
5407
|
path: {
|
|
5178
5408
|
/**
|
|
5179
5409
|
* Project ref
|
|
@@ -5181,9 +5411,9 @@ export type V1ListProjectAddonsData = {
|
|
|
5181
5411
|
ref: string;
|
|
5182
5412
|
};
|
|
5183
5413
|
query?: never;
|
|
5184
|
-
url: '/v1/projects/{ref}/
|
|
5414
|
+
url: '/v1/projects/{ref}/cli/login-role';
|
|
5185
5415
|
};
|
|
5186
|
-
export type
|
|
5416
|
+
export type V1CreateLoginRoleErrors = {
|
|
5187
5417
|
/**
|
|
5188
5418
|
* Unauthorized
|
|
5189
5419
|
*/
|
|
@@ -5197,26 +5427,31 @@ export type V1ListProjectAddonsErrors = {
|
|
|
5197
5427
|
*/
|
|
5198
5428
|
429: unknown;
|
|
5199
5429
|
/**
|
|
5200
|
-
* Failed to
|
|
5430
|
+
* Failed to create login role
|
|
5201
5431
|
*/
|
|
5202
5432
|
500: unknown;
|
|
5203
5433
|
};
|
|
5204
|
-
export type
|
|
5205
|
-
|
|
5434
|
+
export type V1CreateLoginRoleResponses = {
|
|
5435
|
+
201: CreateRoleResponse;
|
|
5206
5436
|
};
|
|
5207
|
-
export type
|
|
5208
|
-
export type
|
|
5209
|
-
body
|
|
5437
|
+
export type V1CreateLoginRoleResponse = V1CreateLoginRoleResponses[keyof V1CreateLoginRoleResponses];
|
|
5438
|
+
export type V1RollbackMigrationsData = {
|
|
5439
|
+
body?: never;
|
|
5210
5440
|
path: {
|
|
5211
5441
|
/**
|
|
5212
5442
|
* Project ref
|
|
5213
5443
|
*/
|
|
5214
5444
|
ref: string;
|
|
5215
5445
|
};
|
|
5216
|
-
query
|
|
5217
|
-
|
|
5446
|
+
query: {
|
|
5447
|
+
/**
|
|
5448
|
+
* Rollback migrations greater or equal to this version
|
|
5449
|
+
*/
|
|
5450
|
+
gte: string;
|
|
5451
|
+
};
|
|
5452
|
+
url: '/v1/projects/{ref}/database/migrations';
|
|
5218
5453
|
};
|
|
5219
|
-
export type
|
|
5454
|
+
export type V1RollbackMigrationsErrors = {
|
|
5220
5455
|
/**
|
|
5221
5456
|
* Unauthorized
|
|
5222
5457
|
*/
|
|
@@ -5230,26 +5465,25 @@ export type V1ApplyProjectAddonErrors = {
|
|
|
5230
5465
|
*/
|
|
5231
5466
|
429: unknown;
|
|
5232
5467
|
/**
|
|
5233
|
-
* Failed to
|
|
5468
|
+
* Failed to rollback database migration
|
|
5234
5469
|
*/
|
|
5235
5470
|
500: unknown;
|
|
5236
5471
|
};
|
|
5237
|
-
export type
|
|
5472
|
+
export type V1RollbackMigrationsResponses = {
|
|
5238
5473
|
200: unknown;
|
|
5239
5474
|
};
|
|
5240
|
-
export type
|
|
5475
|
+
export type V1ListMigrationHistoryData = {
|
|
5241
5476
|
body?: never;
|
|
5242
5477
|
path: {
|
|
5243
5478
|
/**
|
|
5244
5479
|
* Project ref
|
|
5245
5480
|
*/
|
|
5246
5481
|
ref: string;
|
|
5247
|
-
addon_variant: 'ci_micro' | 'ci_small' | 'ci_medium' | 'ci_large' | 'ci_xlarge' | 'ci_2xlarge' | 'ci_4xlarge' | 'ci_8xlarge' | 'ci_12xlarge' | 'ci_16xlarge' | 'ci_24xlarge' | 'ci_24xlarge_optimized_cpu' | 'ci_24xlarge_optimized_memory' | 'ci_24xlarge_high_memory' | 'ci_48xlarge' | 'ci_48xlarge_optimized_cpu' | 'ci_48xlarge_optimized_memory' | 'ci_48xlarge_high_memory' | 'cd_default' | 'pitr_7' | 'pitr_14' | 'pitr_28' | 'ipv4_default';
|
|
5248
5482
|
};
|
|
5249
5483
|
query?: never;
|
|
5250
|
-
url: '/v1/projects/{ref}/
|
|
5484
|
+
url: '/v1/projects/{ref}/database/migrations';
|
|
5251
5485
|
};
|
|
5252
|
-
export type
|
|
5486
|
+
export type V1ListMigrationHistoryErrors = {
|
|
5253
5487
|
/**
|
|
5254
5488
|
* Unauthorized
|
|
5255
5489
|
*/
|
|
@@ -5263,15 +5497,22 @@ export type V1RemoveProjectAddonErrors = {
|
|
|
5263
5497
|
*/
|
|
5264
5498
|
429: unknown;
|
|
5265
5499
|
/**
|
|
5266
|
-
* Failed to
|
|
5500
|
+
* Failed to list database migrations
|
|
5267
5501
|
*/
|
|
5268
5502
|
500: unknown;
|
|
5269
5503
|
};
|
|
5270
|
-
export type
|
|
5271
|
-
200:
|
|
5504
|
+
export type V1ListMigrationHistoryResponses = {
|
|
5505
|
+
200: V1ListMigrationsResponse;
|
|
5272
5506
|
};
|
|
5273
|
-
export type
|
|
5274
|
-
|
|
5507
|
+
export type V1ListMigrationHistoryResponse = V1ListMigrationHistoryResponses[keyof V1ListMigrationHistoryResponses];
|
|
5508
|
+
export type V1ApplyAMigrationData = {
|
|
5509
|
+
body: V1CreateMigrationBody;
|
|
5510
|
+
headers?: {
|
|
5511
|
+
/**
|
|
5512
|
+
* A unique key to ensure the same migration is tracked only once.
|
|
5513
|
+
*/
|
|
5514
|
+
'Idempotency-Key'?: string;
|
|
5515
|
+
};
|
|
5275
5516
|
path: {
|
|
5276
5517
|
/**
|
|
5277
5518
|
* Project ref
|
|
@@ -5279,9 +5520,9 @@ export type V1DeleteProjectClaimTokenData = {
|
|
|
5279
5520
|
ref: string;
|
|
5280
5521
|
};
|
|
5281
5522
|
query?: never;
|
|
5282
|
-
url: '/v1/projects/{ref}/
|
|
5523
|
+
url: '/v1/projects/{ref}/database/migrations';
|
|
5283
5524
|
};
|
|
5284
|
-
export type
|
|
5525
|
+
export type V1ApplyAMigrationErrors = {
|
|
5285
5526
|
/**
|
|
5286
5527
|
* Unauthorized
|
|
5287
5528
|
*/
|
|
@@ -5294,13 +5535,22 @@ export type V1DeleteProjectClaimTokenErrors = {
|
|
|
5294
5535
|
* Rate limit exceeded
|
|
5295
5536
|
*/
|
|
5296
5537
|
429: unknown;
|
|
5538
|
+
/**
|
|
5539
|
+
* Failed to apply database migration
|
|
5540
|
+
*/
|
|
5541
|
+
500: unknown;
|
|
5297
5542
|
};
|
|
5298
|
-
export type
|
|
5299
|
-
|
|
5543
|
+
export type V1ApplyAMigrationResponses = {
|
|
5544
|
+
200: unknown;
|
|
5300
5545
|
};
|
|
5301
|
-
export type
|
|
5302
|
-
|
|
5303
|
-
|
|
5546
|
+
export type V1UpsertAMigrationData = {
|
|
5547
|
+
body: V1UpsertMigrationBody;
|
|
5548
|
+
headers?: {
|
|
5549
|
+
/**
|
|
5550
|
+
* A unique key to ensure the same migration is tracked only once.
|
|
5551
|
+
*/
|
|
5552
|
+
'Idempotency-Key'?: string;
|
|
5553
|
+
};
|
|
5304
5554
|
path: {
|
|
5305
5555
|
/**
|
|
5306
5556
|
* Project ref
|
|
@@ -5308,9 +5558,9 @@ export type V1GetProjectClaimTokenData = {
|
|
|
5308
5558
|
ref: string;
|
|
5309
5559
|
};
|
|
5310
5560
|
query?: never;
|
|
5311
|
-
url: '/v1/projects/{ref}/
|
|
5561
|
+
url: '/v1/projects/{ref}/database/migrations';
|
|
5312
5562
|
};
|
|
5313
|
-
export type
|
|
5563
|
+
export type V1UpsertAMigrationErrors = {
|
|
5314
5564
|
/**
|
|
5315
5565
|
* Unauthorized
|
|
5316
5566
|
*/
|
|
@@ -5323,23 +5573,27 @@ export type V1GetProjectClaimTokenErrors = {
|
|
|
5323
5573
|
* Rate limit exceeded
|
|
5324
5574
|
*/
|
|
5325
5575
|
429: unknown;
|
|
5576
|
+
/**
|
|
5577
|
+
* Failed to upsert database migration
|
|
5578
|
+
*/
|
|
5579
|
+
500: unknown;
|
|
5326
5580
|
};
|
|
5327
|
-
export type
|
|
5328
|
-
200:
|
|
5581
|
+
export type V1UpsertAMigrationResponses = {
|
|
5582
|
+
200: unknown;
|
|
5329
5583
|
};
|
|
5330
|
-
export type
|
|
5331
|
-
export type V1CreateProjectClaimTokenData = {
|
|
5584
|
+
export type V1GetAMigrationData = {
|
|
5332
5585
|
body?: never;
|
|
5333
5586
|
path: {
|
|
5334
5587
|
/**
|
|
5335
5588
|
* Project ref
|
|
5336
5589
|
*/
|
|
5337
5590
|
ref: string;
|
|
5591
|
+
version: string;
|
|
5338
5592
|
};
|
|
5339
5593
|
query?: never;
|
|
5340
|
-
url: '/v1/projects/{ref}/
|
|
5594
|
+
url: '/v1/projects/{ref}/database/migrations/{version}';
|
|
5341
5595
|
};
|
|
5342
|
-
export type
|
|
5596
|
+
export type V1GetAMigrationErrors = {
|
|
5343
5597
|
/**
|
|
5344
5598
|
* Unauthorized
|
|
5345
5599
|
*/
|
|
@@ -5352,23 +5606,28 @@ export type V1CreateProjectClaimTokenErrors = {
|
|
|
5352
5606
|
* Rate limit exceeded
|
|
5353
5607
|
*/
|
|
5354
5608
|
429: unknown;
|
|
5609
|
+
/**
|
|
5610
|
+
* Failed to get database migration
|
|
5611
|
+
*/
|
|
5612
|
+
500: unknown;
|
|
5355
5613
|
};
|
|
5356
|
-
export type
|
|
5357
|
-
200:
|
|
5614
|
+
export type V1GetAMigrationResponses = {
|
|
5615
|
+
200: V1GetMigrationResponse;
|
|
5358
5616
|
};
|
|
5359
|
-
export type
|
|
5360
|
-
export type
|
|
5361
|
-
body
|
|
5617
|
+
export type V1GetAMigrationResponse = V1GetAMigrationResponses[keyof V1GetAMigrationResponses];
|
|
5618
|
+
export type V1PatchAMigrationData = {
|
|
5619
|
+
body: V1PatchMigrationBody;
|
|
5362
5620
|
path: {
|
|
5363
5621
|
/**
|
|
5364
5622
|
* Project ref
|
|
5365
5623
|
*/
|
|
5366
5624
|
ref: string;
|
|
5625
|
+
version: string;
|
|
5367
5626
|
};
|
|
5368
5627
|
query?: never;
|
|
5369
|
-
url: '/v1/projects/{ref}/
|
|
5628
|
+
url: '/v1/projects/{ref}/database/migrations/{version}';
|
|
5370
5629
|
};
|
|
5371
|
-
export type
|
|
5630
|
+
export type V1PatchAMigrationErrors = {
|
|
5372
5631
|
/**
|
|
5373
5632
|
* Unauthorized
|
|
5374
5633
|
*/
|
|
@@ -5381,25 +5640,26 @@ export type V1GetPerformanceAdvisorsErrors = {
|
|
|
5381
5640
|
* Rate limit exceeded
|
|
5382
5641
|
*/
|
|
5383
5642
|
429: unknown;
|
|
5643
|
+
/**
|
|
5644
|
+
* Failed to patch database migration
|
|
5645
|
+
*/
|
|
5646
|
+
500: unknown;
|
|
5384
5647
|
};
|
|
5385
|
-
export type
|
|
5386
|
-
200:
|
|
5648
|
+
export type V1PatchAMigrationResponses = {
|
|
5649
|
+
200: unknown;
|
|
5387
5650
|
};
|
|
5388
|
-
export type
|
|
5389
|
-
|
|
5390
|
-
body?: never;
|
|
5651
|
+
export type V1RunAQueryData = {
|
|
5652
|
+
body: V1RunQueryBody;
|
|
5391
5653
|
path: {
|
|
5392
5654
|
/**
|
|
5393
5655
|
* Project ref
|
|
5394
5656
|
*/
|
|
5395
5657
|
ref: string;
|
|
5396
5658
|
};
|
|
5397
|
-
query?:
|
|
5398
|
-
|
|
5399
|
-
};
|
|
5400
|
-
url: '/v1/projects/{ref}/advisors/security';
|
|
5659
|
+
query?: never;
|
|
5660
|
+
url: '/v1/projects/{ref}/database/query';
|
|
5401
5661
|
};
|
|
5402
|
-
export type
|
|
5662
|
+
export type V1RunAQueryErrors = {
|
|
5403
5663
|
/**
|
|
5404
5664
|
* Unauthorized
|
|
5405
5665
|
*/
|
|
@@ -5412,30 +5672,26 @@ export type V1GetSecurityAdvisorsErrors = {
|
|
|
5412
5672
|
* Rate limit exceeded
|
|
5413
5673
|
*/
|
|
5414
5674
|
429: unknown;
|
|
5675
|
+
/**
|
|
5676
|
+
* Failed to run sql query
|
|
5677
|
+
*/
|
|
5678
|
+
500: unknown;
|
|
5415
5679
|
};
|
|
5416
|
-
export type
|
|
5417
|
-
|
|
5680
|
+
export type V1RunAQueryResponses = {
|
|
5681
|
+
201: unknown;
|
|
5418
5682
|
};
|
|
5419
|
-
export type
|
|
5420
|
-
|
|
5421
|
-
body?: never;
|
|
5683
|
+
export type V1ReadOnlyQueryData = {
|
|
5684
|
+
body: V1ReadOnlyQueryBody;
|
|
5422
5685
|
path: {
|
|
5423
5686
|
/**
|
|
5424
5687
|
* Project ref
|
|
5425
5688
|
*/
|
|
5426
5689
|
ref: string;
|
|
5427
5690
|
};
|
|
5428
|
-
query?:
|
|
5429
|
-
|
|
5430
|
-
* Custom SQL query to execute on the logs. See [querying logs](/docs/guides/telemetry/logs?queryGroups=product&product=postgres&queryGroups=source&source=edge_logs#querying-with-the-logs-explorer) for more details.
|
|
5431
|
-
*/
|
|
5432
|
-
sql?: string;
|
|
5433
|
-
iso_timestamp_start?: string;
|
|
5434
|
-
iso_timestamp_end?: string;
|
|
5435
|
-
};
|
|
5436
|
-
url: '/v1/projects/{ref}/analytics/endpoints/logs.all';
|
|
5691
|
+
query?: never;
|
|
5692
|
+
url: '/v1/projects/{ref}/database/query/read-only';
|
|
5437
5693
|
};
|
|
5438
|
-
export type
|
|
5694
|
+
export type V1ReadOnlyQueryErrors = {
|
|
5439
5695
|
/**
|
|
5440
5696
|
* Unauthorized
|
|
5441
5697
|
*/
|
|
@@ -5448,12 +5704,15 @@ export type V1GetProjectLogsErrors = {
|
|
|
5448
5704
|
* Rate limit exceeded
|
|
5449
5705
|
*/
|
|
5450
5706
|
429: unknown;
|
|
5707
|
+
/**
|
|
5708
|
+
* Failed to run read-only sql query
|
|
5709
|
+
*/
|
|
5710
|
+
500: unknown;
|
|
5451
5711
|
};
|
|
5452
|
-
export type
|
|
5453
|
-
|
|
5712
|
+
export type V1ReadOnlyQueryResponses = {
|
|
5713
|
+
201: unknown;
|
|
5454
5714
|
};
|
|
5455
|
-
export type
|
|
5456
|
-
export type V1GetProjectUsageApiCountData = {
|
|
5715
|
+
export type V1EnableDatabaseWebhookData = {
|
|
5457
5716
|
body?: never;
|
|
5458
5717
|
path: {
|
|
5459
5718
|
/**
|
|
@@ -5461,12 +5720,10 @@ export type V1GetProjectUsageApiCountData = {
|
|
|
5461
5720
|
*/
|
|
5462
5721
|
ref: string;
|
|
5463
5722
|
};
|
|
5464
|
-
query?:
|
|
5465
|
-
|
|
5466
|
-
};
|
|
5467
|
-
url: '/v1/projects/{ref}/analytics/endpoints/usage.api-counts';
|
|
5723
|
+
query?: never;
|
|
5724
|
+
url: '/v1/projects/{ref}/database/webhooks/enable';
|
|
5468
5725
|
};
|
|
5469
|
-
export type
|
|
5726
|
+
export type V1EnableDatabaseWebhookErrors = {
|
|
5470
5727
|
/**
|
|
5471
5728
|
* Unauthorized
|
|
5472
5729
|
*/
|
|
@@ -5480,15 +5737,14 @@ export type V1GetProjectUsageApiCountErrors = {
|
|
|
5480
5737
|
*/
|
|
5481
5738
|
429: unknown;
|
|
5482
5739
|
/**
|
|
5483
|
-
* Failed to
|
|
5740
|
+
* Failed to enable Database Webhooks on the project
|
|
5484
5741
|
*/
|
|
5485
5742
|
500: unknown;
|
|
5486
5743
|
};
|
|
5487
|
-
export type
|
|
5488
|
-
|
|
5744
|
+
export type V1EnableDatabaseWebhookResponses = {
|
|
5745
|
+
201: unknown;
|
|
5489
5746
|
};
|
|
5490
|
-
export type
|
|
5491
|
-
export type V1GetProjectUsageRequestCountData = {
|
|
5747
|
+
export type V1GetDatabaseMetadataData = {
|
|
5492
5748
|
body?: never;
|
|
5493
5749
|
path: {
|
|
5494
5750
|
/**
|
|
@@ -5497,9 +5753,9 @@ export type V1GetProjectUsageRequestCountData = {
|
|
|
5497
5753
|
ref: string;
|
|
5498
5754
|
};
|
|
5499
5755
|
query?: never;
|
|
5500
|
-
url: '/v1/projects/{ref}/
|
|
5756
|
+
url: '/v1/projects/{ref}/database/context';
|
|
5501
5757
|
};
|
|
5502
|
-
export type
|
|
5758
|
+
export type V1GetDatabaseMetadataErrors = {
|
|
5503
5759
|
/**
|
|
5504
5760
|
* Unauthorized
|
|
5505
5761
|
*/
|
|
@@ -5512,30 +5768,23 @@ export type V1GetProjectUsageRequestCountErrors = {
|
|
|
5512
5768
|
* Rate limit exceeded
|
|
5513
5769
|
*/
|
|
5514
5770
|
429: unknown;
|
|
5515
|
-
/**
|
|
5516
|
-
* Failed to get project's usage api requests count
|
|
5517
|
-
*/
|
|
5518
|
-
500: unknown;
|
|
5519
5771
|
};
|
|
5520
|
-
export type
|
|
5521
|
-
200:
|
|
5772
|
+
export type V1GetDatabaseMetadataResponses = {
|
|
5773
|
+
200: GetProjectDbMetadataResponse;
|
|
5522
5774
|
};
|
|
5523
|
-
export type
|
|
5524
|
-
export type
|
|
5525
|
-
body
|
|
5775
|
+
export type V1GetDatabaseMetadataResponse = V1GetDatabaseMetadataResponses[keyof V1GetDatabaseMetadataResponses];
|
|
5776
|
+
export type V1UpdateDatabasePasswordData = {
|
|
5777
|
+
body: V1UpdatePasswordBody;
|
|
5526
5778
|
path: {
|
|
5527
5779
|
/**
|
|
5528
5780
|
* Project ref
|
|
5529
5781
|
*/
|
|
5530
5782
|
ref: string;
|
|
5531
5783
|
};
|
|
5532
|
-
query
|
|
5533
|
-
|
|
5534
|
-
function_id: string;
|
|
5535
|
-
};
|
|
5536
|
-
url: '/v1/projects/{ref}/analytics/endpoints/functions.combined-stats';
|
|
5784
|
+
query?: never;
|
|
5785
|
+
url: '/v1/projects/{ref}/database/password';
|
|
5537
5786
|
};
|
|
5538
|
-
export type
|
|
5787
|
+
export type V1UpdateDatabasePasswordErrors = {
|
|
5539
5788
|
/**
|
|
5540
5789
|
* Unauthorized
|
|
5541
5790
|
*/
|
|
@@ -5549,15 +5798,15 @@ export type V1GetProjectFunctionCombinedStatsErrors = {
|
|
|
5549
5798
|
*/
|
|
5550
5799
|
429: unknown;
|
|
5551
5800
|
/**
|
|
5552
|
-
* Failed to
|
|
5801
|
+
* Failed to update database password
|
|
5553
5802
|
*/
|
|
5554
5803
|
500: unknown;
|
|
5555
5804
|
};
|
|
5556
|
-
export type
|
|
5557
|
-
200:
|
|
5805
|
+
export type V1UpdateDatabasePasswordResponses = {
|
|
5806
|
+
200: V1UpdatePasswordResponse;
|
|
5558
5807
|
};
|
|
5559
|
-
export type
|
|
5560
|
-
export type
|
|
5808
|
+
export type V1UpdateDatabasePasswordResponse = V1UpdateDatabasePasswordResponses[keyof V1UpdateDatabasePasswordResponses];
|
|
5809
|
+
export type V1GetJitAccessData = {
|
|
5561
5810
|
body?: never;
|
|
5562
5811
|
path: {
|
|
5563
5812
|
/**
|
|
@@ -5566,9 +5815,9 @@ export type V1DeleteLoginRolesData = {
|
|
|
5566
5815
|
ref: string;
|
|
5567
5816
|
};
|
|
5568
5817
|
query?: never;
|
|
5569
|
-
url: '/v1/projects/{ref}/
|
|
5818
|
+
url: '/v1/projects/{ref}/database/jit';
|
|
5570
5819
|
};
|
|
5571
|
-
export type
|
|
5820
|
+
export type V1GetJitAccessErrors = {
|
|
5572
5821
|
/**
|
|
5573
5822
|
* Unauthorized
|
|
5574
5823
|
*/
|
|
@@ -5582,16 +5831,16 @@ export type V1DeleteLoginRolesErrors = {
|
|
|
5582
5831
|
*/
|
|
5583
5832
|
429: unknown;
|
|
5584
5833
|
/**
|
|
5585
|
-
* Failed to
|
|
5834
|
+
* Failed to list database jit access
|
|
5586
5835
|
*/
|
|
5587
5836
|
500: unknown;
|
|
5588
5837
|
};
|
|
5589
|
-
export type
|
|
5590
|
-
200:
|
|
5838
|
+
export type V1GetJitAccessResponses = {
|
|
5839
|
+
200: JitAccessResponse;
|
|
5591
5840
|
};
|
|
5592
|
-
export type
|
|
5593
|
-
export type
|
|
5594
|
-
body:
|
|
5841
|
+
export type V1GetJitAccessResponse = V1GetJitAccessResponses[keyof V1GetJitAccessResponses];
|
|
5842
|
+
export type V1AuthorizeJitAccessData = {
|
|
5843
|
+
body: AuthorizeJitAccessBody;
|
|
5595
5844
|
path: {
|
|
5596
5845
|
/**
|
|
5597
5846
|
* Project ref
|
|
@@ -5599,9 +5848,9 @@ export type V1CreateLoginRoleData = {
|
|
|
5599
5848
|
ref: string;
|
|
5600
5849
|
};
|
|
5601
5850
|
query?: never;
|
|
5602
|
-
url: '/v1/projects/{ref}/
|
|
5851
|
+
url: '/v1/projects/{ref}/database/jit';
|
|
5603
5852
|
};
|
|
5604
|
-
export type
|
|
5853
|
+
export type V1AuthorizeJitAccessErrors = {
|
|
5605
5854
|
/**
|
|
5606
5855
|
* Unauthorized
|
|
5607
5856
|
*/
|
|
@@ -5615,31 +5864,26 @@ export type V1CreateLoginRoleErrors = {
|
|
|
5615
5864
|
*/
|
|
5616
5865
|
429: unknown;
|
|
5617
5866
|
/**
|
|
5618
|
-
* Failed to
|
|
5867
|
+
* Failed to authorize database jit access
|
|
5619
5868
|
*/
|
|
5620
5869
|
500: unknown;
|
|
5621
5870
|
};
|
|
5622
|
-
export type
|
|
5623
|
-
|
|
5871
|
+
export type V1AuthorizeJitAccessResponses = {
|
|
5872
|
+
200: JitAuthorizeAccessResponse;
|
|
5624
5873
|
};
|
|
5625
|
-
export type
|
|
5626
|
-
export type
|
|
5627
|
-
body
|
|
5874
|
+
export type V1AuthorizeJitAccessResponse = V1AuthorizeJitAccessResponses[keyof V1AuthorizeJitAccessResponses];
|
|
5875
|
+
export type V1UpdateJitAccessData = {
|
|
5876
|
+
body: UpdateJitAccessBody;
|
|
5628
5877
|
path: {
|
|
5629
5878
|
/**
|
|
5630
5879
|
* Project ref
|
|
5631
5880
|
*/
|
|
5632
5881
|
ref: string;
|
|
5633
5882
|
};
|
|
5634
|
-
query
|
|
5635
|
-
|
|
5636
|
-
* Rollback migrations greater or equal to this version
|
|
5637
|
-
*/
|
|
5638
|
-
gte: string;
|
|
5639
|
-
};
|
|
5640
|
-
url: '/v1/projects/{ref}/database/migrations';
|
|
5883
|
+
query?: never;
|
|
5884
|
+
url: '/v1/projects/{ref}/database/jit';
|
|
5641
5885
|
};
|
|
5642
|
-
export type
|
|
5886
|
+
export type V1UpdateJitAccessErrors = {
|
|
5643
5887
|
/**
|
|
5644
5888
|
* Unauthorized
|
|
5645
5889
|
*/
|
|
@@ -5653,14 +5897,15 @@ export type V1RollbackMigrationsErrors = {
|
|
|
5653
5897
|
*/
|
|
5654
5898
|
429: unknown;
|
|
5655
5899
|
/**
|
|
5656
|
-
* Failed to
|
|
5900
|
+
* Failed to upsert database migration
|
|
5657
5901
|
*/
|
|
5658
5902
|
500: unknown;
|
|
5659
5903
|
};
|
|
5660
|
-
export type
|
|
5661
|
-
200:
|
|
5904
|
+
export type V1UpdateJitAccessResponses = {
|
|
5905
|
+
200: JitAccessResponse;
|
|
5662
5906
|
};
|
|
5663
|
-
export type
|
|
5907
|
+
export type V1UpdateJitAccessResponse = V1UpdateJitAccessResponses[keyof V1UpdateJitAccessResponses];
|
|
5908
|
+
export type V1ListJitAccessData = {
|
|
5664
5909
|
body?: never;
|
|
5665
5910
|
path: {
|
|
5666
5911
|
/**
|
|
@@ -5669,9 +5914,9 @@ export type V1ListMigrationHistoryData = {
|
|
|
5669
5914
|
ref: string;
|
|
5670
5915
|
};
|
|
5671
5916
|
query?: never;
|
|
5672
|
-
url: '/v1/projects/{ref}/database/
|
|
5917
|
+
url: '/v1/projects/{ref}/database/jit/list';
|
|
5673
5918
|
};
|
|
5674
|
-
export type
|
|
5919
|
+
export type V1ListJitAccessErrors = {
|
|
5675
5920
|
/**
|
|
5676
5921
|
* Unauthorized
|
|
5677
5922
|
*/
|
|
@@ -5685,32 +5930,27 @@ export type V1ListMigrationHistoryErrors = {
|
|
|
5685
5930
|
*/
|
|
5686
5931
|
429: unknown;
|
|
5687
5932
|
/**
|
|
5688
|
-
* Failed to list database
|
|
5933
|
+
* Failed to list database jit access
|
|
5689
5934
|
*/
|
|
5690
5935
|
500: unknown;
|
|
5691
5936
|
};
|
|
5692
|
-
export type
|
|
5693
|
-
200:
|
|
5937
|
+
export type V1ListJitAccessResponses = {
|
|
5938
|
+
200: JitListAccessResponse;
|
|
5694
5939
|
};
|
|
5695
|
-
export type
|
|
5696
|
-
export type
|
|
5697
|
-
body
|
|
5698
|
-
headers?: {
|
|
5699
|
-
/**
|
|
5700
|
-
* A unique key to ensure the same migration is tracked only once.
|
|
5701
|
-
*/
|
|
5702
|
-
'Idempotency-Key'?: string;
|
|
5703
|
-
};
|
|
5940
|
+
export type V1ListJitAccessResponse = V1ListJitAccessResponses[keyof V1ListJitAccessResponses];
|
|
5941
|
+
export type V1DeleteJitAccessData = {
|
|
5942
|
+
body?: never;
|
|
5704
5943
|
path: {
|
|
5705
5944
|
/**
|
|
5706
5945
|
* Project ref
|
|
5707
5946
|
*/
|
|
5708
5947
|
ref: string;
|
|
5948
|
+
user_id: string;
|
|
5709
5949
|
};
|
|
5710
5950
|
query?: never;
|
|
5711
|
-
url: '/v1/projects/{ref}/database/
|
|
5951
|
+
url: '/v1/projects/{ref}/database/jit/{user_id}';
|
|
5712
5952
|
};
|
|
5713
|
-
export type
|
|
5953
|
+
export type V1DeleteJitAccessErrors = {
|
|
5714
5954
|
/**
|
|
5715
5955
|
* Unauthorized
|
|
5716
5956
|
*/
|
|
@@ -5724,21 +5964,15 @@ export type V1ApplyAMigrationErrors = {
|
|
|
5724
5964
|
*/
|
|
5725
5965
|
429: unknown;
|
|
5726
5966
|
/**
|
|
5727
|
-
* Failed to
|
|
5967
|
+
* Failed to remove JIT access
|
|
5728
5968
|
*/
|
|
5729
5969
|
500: unknown;
|
|
5730
5970
|
};
|
|
5731
|
-
export type
|
|
5971
|
+
export type V1DeleteJitAccessResponses = {
|
|
5732
5972
|
200: unknown;
|
|
5733
5973
|
};
|
|
5734
|
-
export type
|
|
5735
|
-
body
|
|
5736
|
-
headers?: {
|
|
5737
|
-
/**
|
|
5738
|
-
* A unique key to ensure the same migration is tracked only once.
|
|
5739
|
-
*/
|
|
5740
|
-
'Idempotency-Key'?: string;
|
|
5741
|
-
};
|
|
5974
|
+
export type V1ListAllFunctionsData = {
|
|
5975
|
+
body?: never;
|
|
5742
5976
|
path: {
|
|
5743
5977
|
/**
|
|
5744
5978
|
* Project ref
|
|
@@ -5746,9 +5980,9 @@ export type V1UpsertAMigrationData = {
|
|
|
5746
5980
|
ref: string;
|
|
5747
5981
|
};
|
|
5748
5982
|
query?: never;
|
|
5749
|
-
url: '/v1/projects/{ref}/
|
|
5983
|
+
url: '/v1/projects/{ref}/functions';
|
|
5750
5984
|
};
|
|
5751
|
-
export type
|
|
5985
|
+
export type V1ListAllFunctionsErrors = {
|
|
5752
5986
|
/**
|
|
5753
5987
|
* Unauthorized
|
|
5754
5988
|
*/
|
|
@@ -5762,30 +5996,48 @@ export type V1UpsertAMigrationErrors = {
|
|
|
5762
5996
|
*/
|
|
5763
5997
|
429: unknown;
|
|
5764
5998
|
/**
|
|
5765
|
-
* Failed to
|
|
5999
|
+
* Failed to retrieve project's functions
|
|
5766
6000
|
*/
|
|
5767
6001
|
500: unknown;
|
|
5768
6002
|
};
|
|
5769
|
-
export type
|
|
5770
|
-
200:
|
|
6003
|
+
export type V1ListAllFunctionsResponses = {
|
|
6004
|
+
200: Array<FunctionResponse>;
|
|
5771
6005
|
};
|
|
5772
|
-
export type
|
|
5773
|
-
|
|
6006
|
+
export type V1ListAllFunctionsResponse = V1ListAllFunctionsResponses[keyof V1ListAllFunctionsResponses];
|
|
6007
|
+
export type V1CreateAFunctionData = {
|
|
6008
|
+
body: V1CreateFunctionBody;
|
|
5774
6009
|
path: {
|
|
5775
6010
|
/**
|
|
5776
6011
|
* Project ref
|
|
5777
6012
|
*/
|
|
5778
6013
|
ref: string;
|
|
5779
|
-
version: string;
|
|
5780
6014
|
};
|
|
5781
|
-
query?:
|
|
5782
|
-
|
|
6015
|
+
query?: {
|
|
6016
|
+
slug?: string;
|
|
6017
|
+
name?: string;
|
|
6018
|
+
/**
|
|
6019
|
+
* Boolean string, true or false
|
|
6020
|
+
*/
|
|
6021
|
+
verify_jwt?: boolean;
|
|
6022
|
+
/**
|
|
6023
|
+
* Boolean string, true or false
|
|
6024
|
+
*/
|
|
6025
|
+
import_map?: boolean;
|
|
6026
|
+
entrypoint_path?: string;
|
|
6027
|
+
import_map_path?: string;
|
|
6028
|
+
ezbr_sha256?: string;
|
|
6029
|
+
};
|
|
6030
|
+
url: '/v1/projects/{ref}/functions';
|
|
5783
6031
|
};
|
|
5784
|
-
export type
|
|
6032
|
+
export type V1CreateAFunctionErrors = {
|
|
5785
6033
|
/**
|
|
5786
6034
|
* Unauthorized
|
|
5787
6035
|
*/
|
|
5788
6036
|
401: unknown;
|
|
6037
|
+
/**
|
|
6038
|
+
* Maximum number of functions reached for Plan
|
|
6039
|
+
*/
|
|
6040
|
+
402: unknown;
|
|
5789
6041
|
/**
|
|
5790
6042
|
* Forbidden action
|
|
5791
6043
|
*/
|
|
@@ -5795,31 +6047,34 @@ export type V1GetAMigrationErrors = {
|
|
|
5795
6047
|
*/
|
|
5796
6048
|
429: unknown;
|
|
5797
6049
|
/**
|
|
5798
|
-
* Failed to
|
|
6050
|
+
* Failed to create project's function
|
|
5799
6051
|
*/
|
|
5800
6052
|
500: unknown;
|
|
5801
6053
|
};
|
|
5802
|
-
export type
|
|
5803
|
-
|
|
6054
|
+
export type V1CreateAFunctionResponses = {
|
|
6055
|
+
201: FunctionResponse;
|
|
5804
6056
|
};
|
|
5805
|
-
export type
|
|
5806
|
-
export type
|
|
5807
|
-
body:
|
|
6057
|
+
export type V1CreateAFunctionResponse = V1CreateAFunctionResponses[keyof V1CreateAFunctionResponses];
|
|
6058
|
+
export type V1BulkUpdateFunctionsData = {
|
|
6059
|
+
body: BulkUpdateFunctionBody;
|
|
5808
6060
|
path: {
|
|
5809
6061
|
/**
|
|
5810
6062
|
* Project ref
|
|
5811
6063
|
*/
|
|
5812
6064
|
ref: string;
|
|
5813
|
-
version: string;
|
|
5814
6065
|
};
|
|
5815
6066
|
query?: never;
|
|
5816
|
-
url: '/v1/projects/{ref}/
|
|
6067
|
+
url: '/v1/projects/{ref}/functions';
|
|
5817
6068
|
};
|
|
5818
|
-
export type
|
|
6069
|
+
export type V1BulkUpdateFunctionsErrors = {
|
|
5819
6070
|
/**
|
|
5820
6071
|
* Unauthorized
|
|
5821
6072
|
*/
|
|
5822
6073
|
401: unknown;
|
|
6074
|
+
/**
|
|
6075
|
+
* Maximum number of functions reached for Plan
|
|
6076
|
+
*/
|
|
6077
|
+
402: unknown;
|
|
5823
6078
|
/**
|
|
5824
6079
|
* Forbidden action
|
|
5825
6080
|
*/
|
|
@@ -5829,29 +6084,40 @@ export type V1PatchAMigrationErrors = {
|
|
|
5829
6084
|
*/
|
|
5830
6085
|
429: unknown;
|
|
5831
6086
|
/**
|
|
5832
|
-
* Failed to
|
|
6087
|
+
* Failed to update functions
|
|
5833
6088
|
*/
|
|
5834
6089
|
500: unknown;
|
|
5835
6090
|
};
|
|
5836
|
-
export type
|
|
5837
|
-
200:
|
|
6091
|
+
export type V1BulkUpdateFunctionsResponses = {
|
|
6092
|
+
200: BulkUpdateFunctionResponse;
|
|
5838
6093
|
};
|
|
5839
|
-
export type
|
|
5840
|
-
|
|
6094
|
+
export type V1BulkUpdateFunctionsResponse = V1BulkUpdateFunctionsResponses[keyof V1BulkUpdateFunctionsResponses];
|
|
6095
|
+
export type V1DeployAFunctionData = {
|
|
6096
|
+
body: FunctionDeployBody;
|
|
5841
6097
|
path: {
|
|
5842
6098
|
/**
|
|
5843
6099
|
* Project ref
|
|
5844
6100
|
*/
|
|
5845
6101
|
ref: string;
|
|
5846
6102
|
};
|
|
5847
|
-
query?:
|
|
5848
|
-
|
|
6103
|
+
query?: {
|
|
6104
|
+
slug?: string;
|
|
6105
|
+
/**
|
|
6106
|
+
* Boolean string, true or false
|
|
6107
|
+
*/
|
|
6108
|
+
bundleOnly?: boolean;
|
|
6109
|
+
};
|
|
6110
|
+
url: '/v1/projects/{ref}/functions/deploy';
|
|
5849
6111
|
};
|
|
5850
|
-
export type
|
|
6112
|
+
export type V1DeployAFunctionErrors = {
|
|
5851
6113
|
/**
|
|
5852
6114
|
* Unauthorized
|
|
5853
6115
|
*/
|
|
5854
6116
|
401: unknown;
|
|
6117
|
+
/**
|
|
6118
|
+
* Maximum number of functions reached for Plan
|
|
6119
|
+
*/
|
|
6120
|
+
402: unknown;
|
|
5855
6121
|
/**
|
|
5856
6122
|
* Forbidden action
|
|
5857
6123
|
*/
|
|
@@ -5861,25 +6127,30 @@ export type V1RunAQueryErrors = {
|
|
|
5861
6127
|
*/
|
|
5862
6128
|
429: unknown;
|
|
5863
6129
|
/**
|
|
5864
|
-
* Failed to
|
|
6130
|
+
* Failed to deploy function
|
|
5865
6131
|
*/
|
|
5866
6132
|
500: unknown;
|
|
5867
6133
|
};
|
|
5868
|
-
export type
|
|
5869
|
-
201:
|
|
6134
|
+
export type V1DeployAFunctionResponses = {
|
|
6135
|
+
201: DeployFunctionResponse;
|
|
5870
6136
|
};
|
|
5871
|
-
export type
|
|
5872
|
-
|
|
6137
|
+
export type V1DeployAFunctionResponse = V1DeployAFunctionResponses[keyof V1DeployAFunctionResponses];
|
|
6138
|
+
export type V1DeleteAFunctionData = {
|
|
6139
|
+
body?: never;
|
|
5873
6140
|
path: {
|
|
5874
6141
|
/**
|
|
5875
6142
|
* Project ref
|
|
5876
6143
|
*/
|
|
5877
6144
|
ref: string;
|
|
6145
|
+
/**
|
|
6146
|
+
* Function slug
|
|
6147
|
+
*/
|
|
6148
|
+
function_slug: string;
|
|
5878
6149
|
};
|
|
5879
6150
|
query?: never;
|
|
5880
|
-
url: '/v1/projects/{ref}/
|
|
6151
|
+
url: '/v1/projects/{ref}/functions/{function_slug}';
|
|
5881
6152
|
};
|
|
5882
|
-
export type
|
|
6153
|
+
export type V1DeleteAFunctionErrors = {
|
|
5883
6154
|
/**
|
|
5884
6155
|
* Unauthorized
|
|
5885
6156
|
*/
|
|
@@ -5893,25 +6164,29 @@ export type V1ReadOnlyQueryErrors = {
|
|
|
5893
6164
|
*/
|
|
5894
6165
|
429: unknown;
|
|
5895
6166
|
/**
|
|
5896
|
-
* Failed to
|
|
6167
|
+
* Failed to delete function with given slug
|
|
5897
6168
|
*/
|
|
5898
6169
|
500: unknown;
|
|
5899
6170
|
};
|
|
5900
|
-
export type
|
|
5901
|
-
|
|
6171
|
+
export type V1DeleteAFunctionResponses = {
|
|
6172
|
+
200: unknown;
|
|
5902
6173
|
};
|
|
5903
|
-
export type
|
|
6174
|
+
export type V1GetAFunctionData = {
|
|
5904
6175
|
body?: never;
|
|
5905
6176
|
path: {
|
|
5906
6177
|
/**
|
|
5907
6178
|
* Project ref
|
|
5908
6179
|
*/
|
|
5909
6180
|
ref: string;
|
|
6181
|
+
/**
|
|
6182
|
+
* Function slug
|
|
6183
|
+
*/
|
|
6184
|
+
function_slug: string;
|
|
5910
6185
|
};
|
|
5911
6186
|
query?: never;
|
|
5912
|
-
url: '/v1/projects/{ref}/
|
|
6187
|
+
url: '/v1/projects/{ref}/functions/{function_slug}';
|
|
5913
6188
|
};
|
|
5914
|
-
export type
|
|
6189
|
+
export type V1GetAFunctionErrors = {
|
|
5915
6190
|
/**
|
|
5916
6191
|
* Unauthorized
|
|
5917
6192
|
*/
|
|
@@ -5925,25 +6200,44 @@ export type V1EnableDatabaseWebhookErrors = {
|
|
|
5925
6200
|
*/
|
|
5926
6201
|
429: unknown;
|
|
5927
6202
|
/**
|
|
5928
|
-
* Failed to
|
|
6203
|
+
* Failed to retrieve function with given slug
|
|
5929
6204
|
*/
|
|
5930
6205
|
500: unknown;
|
|
5931
6206
|
};
|
|
5932
|
-
export type
|
|
5933
|
-
|
|
6207
|
+
export type V1GetAFunctionResponses = {
|
|
6208
|
+
200: FunctionSlugResponse;
|
|
5934
6209
|
};
|
|
5935
|
-
export type
|
|
5936
|
-
|
|
6210
|
+
export type V1GetAFunctionResponse = V1GetAFunctionResponses[keyof V1GetAFunctionResponses];
|
|
6211
|
+
export type V1UpdateAFunctionData = {
|
|
6212
|
+
body: V1UpdateFunctionBody;
|
|
5937
6213
|
path: {
|
|
5938
6214
|
/**
|
|
5939
6215
|
* Project ref
|
|
5940
6216
|
*/
|
|
5941
6217
|
ref: string;
|
|
6218
|
+
/**
|
|
6219
|
+
* Function slug
|
|
6220
|
+
*/
|
|
6221
|
+
function_slug: string;
|
|
5942
6222
|
};
|
|
5943
|
-
query?:
|
|
5944
|
-
|
|
6223
|
+
query?: {
|
|
6224
|
+
slug?: string;
|
|
6225
|
+
name?: string;
|
|
6226
|
+
/**
|
|
6227
|
+
* Boolean string, true or false
|
|
6228
|
+
*/
|
|
6229
|
+
verify_jwt?: boolean;
|
|
6230
|
+
/**
|
|
6231
|
+
* Boolean string, true or false
|
|
6232
|
+
*/
|
|
6233
|
+
import_map?: boolean;
|
|
6234
|
+
entrypoint_path?: string;
|
|
6235
|
+
import_map_path?: string;
|
|
6236
|
+
ezbr_sha256?: string;
|
|
6237
|
+
};
|
|
6238
|
+
url: '/v1/projects/{ref}/functions/{function_slug}';
|
|
5945
6239
|
};
|
|
5946
|
-
export type
|
|
6240
|
+
export type V1UpdateAFunctionErrors = {
|
|
5947
6241
|
/**
|
|
5948
6242
|
* Unauthorized
|
|
5949
6243
|
*/
|
|
@@ -5956,23 +6250,31 @@ export type V1GetDatabaseMetadataErrors = {
|
|
|
5956
6250
|
* Rate limit exceeded
|
|
5957
6251
|
*/
|
|
5958
6252
|
429: unknown;
|
|
6253
|
+
/**
|
|
6254
|
+
* Failed to update function with given slug
|
|
6255
|
+
*/
|
|
6256
|
+
500: unknown;
|
|
5959
6257
|
};
|
|
5960
|
-
export type
|
|
5961
|
-
200:
|
|
6258
|
+
export type V1UpdateAFunctionResponses = {
|
|
6259
|
+
200: FunctionResponse;
|
|
5962
6260
|
};
|
|
5963
|
-
export type
|
|
5964
|
-
export type
|
|
5965
|
-
body
|
|
6261
|
+
export type V1UpdateAFunctionResponse = V1UpdateAFunctionResponses[keyof V1UpdateAFunctionResponses];
|
|
6262
|
+
export type V1GetAFunctionBodyData = {
|
|
6263
|
+
body?: never;
|
|
5966
6264
|
path: {
|
|
5967
6265
|
/**
|
|
5968
6266
|
* Project ref
|
|
5969
6267
|
*/
|
|
5970
6268
|
ref: string;
|
|
6269
|
+
/**
|
|
6270
|
+
* Function slug
|
|
6271
|
+
*/
|
|
6272
|
+
function_slug: string;
|
|
5971
6273
|
};
|
|
5972
6274
|
query?: never;
|
|
5973
|
-
url: '/v1/projects/{ref}/
|
|
6275
|
+
url: '/v1/projects/{ref}/functions/{function_slug}/body';
|
|
5974
6276
|
};
|
|
5975
|
-
export type
|
|
6277
|
+
export type V1GetAFunctionBodyErrors = {
|
|
5976
6278
|
/**
|
|
5977
6279
|
* Unauthorized
|
|
5978
6280
|
*/
|
|
@@ -5986,15 +6288,15 @@ export type V1UpdateDatabasePasswordErrors = {
|
|
|
5986
6288
|
*/
|
|
5987
6289
|
429: unknown;
|
|
5988
6290
|
/**
|
|
5989
|
-
* Failed to
|
|
6291
|
+
* Failed to retrieve function body with given slug
|
|
5990
6292
|
*/
|
|
5991
6293
|
500: unknown;
|
|
5992
6294
|
};
|
|
5993
|
-
export type
|
|
5994
|
-
200:
|
|
6295
|
+
export type V1GetAFunctionBodyResponses = {
|
|
6296
|
+
200: StreamableFile;
|
|
5995
6297
|
};
|
|
5996
|
-
export type
|
|
5997
|
-
export type
|
|
6298
|
+
export type V1GetAFunctionBodyResponse = V1GetAFunctionBodyResponses[keyof V1GetAFunctionBodyResponses];
|
|
6299
|
+
export type V1ListAllBucketsData = {
|
|
5998
6300
|
body?: never;
|
|
5999
6301
|
path: {
|
|
6000
6302
|
/**
|
|
@@ -6003,9 +6305,9 @@ export type V1GetJitAccessData = {
|
|
|
6003
6305
|
ref: string;
|
|
6004
6306
|
};
|
|
6005
6307
|
query?: never;
|
|
6006
|
-
url: '/v1/projects/{ref}/
|
|
6308
|
+
url: '/v1/projects/{ref}/storage/buckets';
|
|
6007
6309
|
};
|
|
6008
|
-
export type
|
|
6310
|
+
export type V1ListAllBucketsErrors = {
|
|
6009
6311
|
/**
|
|
6010
6312
|
* Unauthorized
|
|
6011
6313
|
*/
|
|
@@ -6019,16 +6321,16 @@ export type V1GetJitAccessErrors = {
|
|
|
6019
6321
|
*/
|
|
6020
6322
|
429: unknown;
|
|
6021
6323
|
/**
|
|
6022
|
-
* Failed to list
|
|
6324
|
+
* Failed to get list of buckets
|
|
6023
6325
|
*/
|
|
6024
6326
|
500: unknown;
|
|
6025
6327
|
};
|
|
6026
|
-
export type
|
|
6027
|
-
200:
|
|
6328
|
+
export type V1ListAllBucketsResponses = {
|
|
6329
|
+
200: Array<V1StorageBucketResponse>;
|
|
6028
6330
|
};
|
|
6029
|
-
export type
|
|
6030
|
-
export type
|
|
6031
|
-
body
|
|
6331
|
+
export type V1ListAllBucketsResponse = V1ListAllBucketsResponses[keyof V1ListAllBucketsResponses];
|
|
6332
|
+
export type V1GetDiskUtilizationData = {
|
|
6333
|
+
body?: never;
|
|
6032
6334
|
path: {
|
|
6033
6335
|
/**
|
|
6034
6336
|
* Project ref
|
|
@@ -6036,9 +6338,9 @@ export type V1AuthorizeJitAccessData = {
|
|
|
6036
6338
|
ref: string;
|
|
6037
6339
|
};
|
|
6038
6340
|
query?: never;
|
|
6039
|
-
url: '/v1/projects/{ref}/
|
|
6341
|
+
url: '/v1/projects/{ref}/config/disk/util';
|
|
6040
6342
|
};
|
|
6041
|
-
export type
|
|
6343
|
+
export type V1GetDiskUtilizationErrors = {
|
|
6042
6344
|
/**
|
|
6043
6345
|
* Unauthorized
|
|
6044
6346
|
*/
|
|
@@ -6052,16 +6354,16 @@ export type V1AuthorizeJitAccessErrors = {
|
|
|
6052
6354
|
*/
|
|
6053
6355
|
429: unknown;
|
|
6054
6356
|
/**
|
|
6055
|
-
* Failed to
|
|
6357
|
+
* Failed to get disk utilization
|
|
6056
6358
|
*/
|
|
6057
6359
|
500: unknown;
|
|
6058
6360
|
};
|
|
6059
|
-
export type
|
|
6060
|
-
200:
|
|
6061
|
-
};
|
|
6062
|
-
export type
|
|
6063
|
-
export type
|
|
6064
|
-
body:
|
|
6361
|
+
export type V1GetDiskUtilizationResponses = {
|
|
6362
|
+
200: DiskUtilMetricsResponse;
|
|
6363
|
+
};
|
|
6364
|
+
export type V1GetDiskUtilizationResponse = V1GetDiskUtilizationResponses[keyof V1GetDiskUtilizationResponses];
|
|
6365
|
+
export type V1ModifyDatabaseDiskData = {
|
|
6366
|
+
body: DiskRequestBody;
|
|
6065
6367
|
path: {
|
|
6066
6368
|
/**
|
|
6067
6369
|
* Project ref
|
|
@@ -6069,9 +6371,9 @@ export type V1UpdateJitAccessData = {
|
|
|
6069
6371
|
ref: string;
|
|
6070
6372
|
};
|
|
6071
6373
|
query?: never;
|
|
6072
|
-
url: '/v1/projects/{ref}/
|
|
6374
|
+
url: '/v1/projects/{ref}/config/disk';
|
|
6073
6375
|
};
|
|
6074
|
-
export type
|
|
6376
|
+
export type V1ModifyDatabaseDiskErrors = {
|
|
6075
6377
|
/**
|
|
6076
6378
|
* Unauthorized
|
|
6077
6379
|
*/
|
|
@@ -6085,15 +6387,14 @@ export type V1UpdateJitAccessErrors = {
|
|
|
6085
6387
|
*/
|
|
6086
6388
|
429: unknown;
|
|
6087
6389
|
/**
|
|
6088
|
-
* Failed to
|
|
6390
|
+
* Failed to modify database disk
|
|
6089
6391
|
*/
|
|
6090
6392
|
500: unknown;
|
|
6091
6393
|
};
|
|
6092
|
-
export type
|
|
6093
|
-
|
|
6394
|
+
export type V1ModifyDatabaseDiskResponses = {
|
|
6395
|
+
201: unknown;
|
|
6094
6396
|
};
|
|
6095
|
-
export type
|
|
6096
|
-
export type V1ListJitAccessData = {
|
|
6397
|
+
export type V1GetProjectDiskAutoscaleConfigData = {
|
|
6097
6398
|
body?: never;
|
|
6098
6399
|
path: {
|
|
6099
6400
|
/**
|
|
@@ -6102,9 +6403,9 @@ export type V1ListJitAccessData = {
|
|
|
6102
6403
|
ref: string;
|
|
6103
6404
|
};
|
|
6104
6405
|
query?: never;
|
|
6105
|
-
url: '/v1/projects/{ref}/
|
|
6406
|
+
url: '/v1/projects/{ref}/config/disk/autoscale';
|
|
6106
6407
|
};
|
|
6107
|
-
export type
|
|
6408
|
+
export type V1GetProjectDiskAutoscaleConfigErrors = {
|
|
6108
6409
|
/**
|
|
6109
6410
|
* Unauthorized
|
|
6110
6411
|
*/
|
|
@@ -6118,27 +6419,26 @@ export type V1ListJitAccessErrors = {
|
|
|
6118
6419
|
*/
|
|
6119
6420
|
429: unknown;
|
|
6120
6421
|
/**
|
|
6121
|
-
* Failed to
|
|
6422
|
+
* Failed to get project disk autoscale config
|
|
6122
6423
|
*/
|
|
6123
6424
|
500: unknown;
|
|
6124
6425
|
};
|
|
6125
|
-
export type
|
|
6126
|
-
200:
|
|
6426
|
+
export type V1GetProjectDiskAutoscaleConfigResponses = {
|
|
6427
|
+
200: DiskAutoscaleConfig;
|
|
6127
6428
|
};
|
|
6128
|
-
export type
|
|
6129
|
-
export type
|
|
6429
|
+
export type V1GetProjectDiskAutoscaleConfigResponse = V1GetProjectDiskAutoscaleConfigResponses[keyof V1GetProjectDiskAutoscaleConfigResponses];
|
|
6430
|
+
export type V1GetStorageConfigData = {
|
|
6130
6431
|
body?: never;
|
|
6131
6432
|
path: {
|
|
6132
6433
|
/**
|
|
6133
6434
|
* Project ref
|
|
6134
6435
|
*/
|
|
6135
6436
|
ref: string;
|
|
6136
|
-
user_id: string;
|
|
6137
6437
|
};
|
|
6138
6438
|
query?: never;
|
|
6139
|
-
url: '/v1/projects/{ref}/
|
|
6439
|
+
url: '/v1/projects/{ref}/config/storage';
|
|
6140
6440
|
};
|
|
6141
|
-
export type
|
|
6441
|
+
export type V1GetStorageConfigErrors = {
|
|
6142
6442
|
/**
|
|
6143
6443
|
* Unauthorized
|
|
6144
6444
|
*/
|
|
@@ -6152,15 +6452,16 @@ export type V1DeleteJitAccessErrors = {
|
|
|
6152
6452
|
*/
|
|
6153
6453
|
429: unknown;
|
|
6154
6454
|
/**
|
|
6155
|
-
* Failed to
|
|
6455
|
+
* Failed to retrieve project's storage config
|
|
6156
6456
|
*/
|
|
6157
6457
|
500: unknown;
|
|
6158
6458
|
};
|
|
6159
|
-
export type
|
|
6160
|
-
200:
|
|
6459
|
+
export type V1GetStorageConfigResponses = {
|
|
6460
|
+
200: StorageConfigResponse;
|
|
6161
6461
|
};
|
|
6162
|
-
export type
|
|
6163
|
-
|
|
6462
|
+
export type V1GetStorageConfigResponse = V1GetStorageConfigResponses[keyof V1GetStorageConfigResponses];
|
|
6463
|
+
export type V1UpdateStorageConfigData = {
|
|
6464
|
+
body: UpdateStorageConfigBody;
|
|
6164
6465
|
path: {
|
|
6165
6466
|
/**
|
|
6166
6467
|
* Project ref
|
|
@@ -6168,9 +6469,9 @@ export type V1ListAllFunctionsData = {
|
|
|
6168
6469
|
ref: string;
|
|
6169
6470
|
};
|
|
6170
6471
|
query?: never;
|
|
6171
|
-
url: '/v1/projects/{ref}/
|
|
6472
|
+
url: '/v1/projects/{ref}/config/storage';
|
|
6172
6473
|
};
|
|
6173
|
-
export type
|
|
6474
|
+
export type V1UpdateStorageConfigErrors = {
|
|
6174
6475
|
/**
|
|
6175
6476
|
* Unauthorized
|
|
6176
6477
|
*/
|
|
@@ -6184,48 +6485,29 @@ export type V1ListAllFunctionsErrors = {
|
|
|
6184
6485
|
*/
|
|
6185
6486
|
429: unknown;
|
|
6186
6487
|
/**
|
|
6187
|
-
* Failed to
|
|
6488
|
+
* Failed to update project's storage config
|
|
6188
6489
|
*/
|
|
6189
6490
|
500: unknown;
|
|
6190
6491
|
};
|
|
6191
|
-
export type
|
|
6192
|
-
200:
|
|
6492
|
+
export type V1UpdateStorageConfigResponses = {
|
|
6493
|
+
200: unknown;
|
|
6193
6494
|
};
|
|
6194
|
-
export type
|
|
6195
|
-
|
|
6196
|
-
body: V1CreateFunctionBody;
|
|
6495
|
+
export type V1GetProjectPgbouncerConfigData = {
|
|
6496
|
+
body?: never;
|
|
6197
6497
|
path: {
|
|
6198
6498
|
/**
|
|
6199
6499
|
* Project ref
|
|
6200
6500
|
*/
|
|
6201
6501
|
ref: string;
|
|
6202
6502
|
};
|
|
6203
|
-
query?:
|
|
6204
|
-
|
|
6205
|
-
name?: string;
|
|
6206
|
-
/**
|
|
6207
|
-
* Boolean string, true or false
|
|
6208
|
-
*/
|
|
6209
|
-
verify_jwt?: boolean;
|
|
6210
|
-
/**
|
|
6211
|
-
* Boolean string, true or false
|
|
6212
|
-
*/
|
|
6213
|
-
import_map?: boolean;
|
|
6214
|
-
entrypoint_path?: string;
|
|
6215
|
-
import_map_path?: string;
|
|
6216
|
-
ezbr_sha256?: string;
|
|
6217
|
-
};
|
|
6218
|
-
url: '/v1/projects/{ref}/functions';
|
|
6503
|
+
query?: never;
|
|
6504
|
+
url: '/v1/projects/{ref}/config/database/pgbouncer';
|
|
6219
6505
|
};
|
|
6220
|
-
export type
|
|
6506
|
+
export type V1GetProjectPgbouncerConfigErrors = {
|
|
6221
6507
|
/**
|
|
6222
6508
|
* Unauthorized
|
|
6223
6509
|
*/
|
|
6224
6510
|
401: unknown;
|
|
6225
|
-
/**
|
|
6226
|
-
* Maximum number of functions reached for Plan
|
|
6227
|
-
*/
|
|
6228
|
-
402: unknown;
|
|
6229
6511
|
/**
|
|
6230
6512
|
* Forbidden action
|
|
6231
6513
|
*/
|
|
@@ -6235,16 +6517,16 @@ export type V1CreateAFunctionErrors = {
|
|
|
6235
6517
|
*/
|
|
6236
6518
|
429: unknown;
|
|
6237
6519
|
/**
|
|
6238
|
-
* Failed to
|
|
6520
|
+
* Failed to retrieve project's pgbouncer config
|
|
6239
6521
|
*/
|
|
6240
6522
|
500: unknown;
|
|
6241
6523
|
};
|
|
6242
|
-
export type
|
|
6243
|
-
|
|
6524
|
+
export type V1GetProjectPgbouncerConfigResponses = {
|
|
6525
|
+
200: V1PgbouncerConfigResponse;
|
|
6244
6526
|
};
|
|
6245
|
-
export type
|
|
6246
|
-
export type
|
|
6247
|
-
body
|
|
6527
|
+
export type V1GetProjectPgbouncerConfigResponse = V1GetProjectPgbouncerConfigResponses[keyof V1GetProjectPgbouncerConfigResponses];
|
|
6528
|
+
export type V1GetPoolerConfigData = {
|
|
6529
|
+
body?: never;
|
|
6248
6530
|
path: {
|
|
6249
6531
|
/**
|
|
6250
6532
|
* Project ref
|
|
@@ -6252,17 +6534,13 @@ export type V1BulkUpdateFunctionsData = {
|
|
|
6252
6534
|
ref: string;
|
|
6253
6535
|
};
|
|
6254
6536
|
query?: never;
|
|
6255
|
-
url: '/v1/projects/{ref}/
|
|
6537
|
+
url: '/v1/projects/{ref}/config/database/pooler';
|
|
6256
6538
|
};
|
|
6257
|
-
export type
|
|
6539
|
+
export type V1GetPoolerConfigErrors = {
|
|
6258
6540
|
/**
|
|
6259
6541
|
* Unauthorized
|
|
6260
6542
|
*/
|
|
6261
6543
|
401: unknown;
|
|
6262
|
-
/**
|
|
6263
|
-
* Maximum number of functions reached for Plan
|
|
6264
|
-
*/
|
|
6265
|
-
402: unknown;
|
|
6266
6544
|
/**
|
|
6267
6545
|
* Forbidden action
|
|
6268
6546
|
*/
|
|
@@ -6272,40 +6550,30 @@ export type V1BulkUpdateFunctionsErrors = {
|
|
|
6272
6550
|
*/
|
|
6273
6551
|
429: unknown;
|
|
6274
6552
|
/**
|
|
6275
|
-
* Failed to
|
|
6553
|
+
* Failed to retrieve project's supavisor config
|
|
6276
6554
|
*/
|
|
6277
6555
|
500: unknown;
|
|
6278
6556
|
};
|
|
6279
|
-
export type
|
|
6280
|
-
200:
|
|
6557
|
+
export type V1GetPoolerConfigResponses = {
|
|
6558
|
+
200: Array<SupavisorConfigResponse>;
|
|
6281
6559
|
};
|
|
6282
|
-
export type
|
|
6283
|
-
export type
|
|
6284
|
-
body:
|
|
6560
|
+
export type V1GetPoolerConfigResponse = V1GetPoolerConfigResponses[keyof V1GetPoolerConfigResponses];
|
|
6561
|
+
export type V1UpdatePoolerConfigData = {
|
|
6562
|
+
body: UpdateSupavisorConfigBody;
|
|
6285
6563
|
path: {
|
|
6286
6564
|
/**
|
|
6287
6565
|
* Project ref
|
|
6288
6566
|
*/
|
|
6289
6567
|
ref: string;
|
|
6290
6568
|
};
|
|
6291
|
-
query?:
|
|
6292
|
-
|
|
6293
|
-
/**
|
|
6294
|
-
* Boolean string, true or false
|
|
6295
|
-
*/
|
|
6296
|
-
bundleOnly?: boolean;
|
|
6297
|
-
};
|
|
6298
|
-
url: '/v1/projects/{ref}/functions/deploy';
|
|
6569
|
+
query?: never;
|
|
6570
|
+
url: '/v1/projects/{ref}/config/database/pooler';
|
|
6299
6571
|
};
|
|
6300
|
-
export type
|
|
6572
|
+
export type V1UpdatePoolerConfigErrors = {
|
|
6301
6573
|
/**
|
|
6302
6574
|
* Unauthorized
|
|
6303
6575
|
*/
|
|
6304
6576
|
401: unknown;
|
|
6305
|
-
/**
|
|
6306
|
-
* Maximum number of functions reached for Plan
|
|
6307
|
-
*/
|
|
6308
|
-
402: unknown;
|
|
6309
6577
|
/**
|
|
6310
6578
|
* Forbidden action
|
|
6311
6579
|
*/
|
|
@@ -6315,30 +6583,26 @@ export type V1DeployAFunctionErrors = {
|
|
|
6315
6583
|
*/
|
|
6316
6584
|
429: unknown;
|
|
6317
6585
|
/**
|
|
6318
|
-
* Failed to
|
|
6586
|
+
* Failed to update project's supavisor config
|
|
6319
6587
|
*/
|
|
6320
6588
|
500: unknown;
|
|
6321
6589
|
};
|
|
6322
|
-
export type
|
|
6323
|
-
|
|
6590
|
+
export type V1UpdatePoolerConfigResponses = {
|
|
6591
|
+
200: UpdateSupavisorConfigResponse;
|
|
6324
6592
|
};
|
|
6325
|
-
export type
|
|
6326
|
-
export type
|
|
6593
|
+
export type V1UpdatePoolerConfigResponse = V1UpdatePoolerConfigResponses[keyof V1UpdatePoolerConfigResponses];
|
|
6594
|
+
export type V1GetPostgresConfigData = {
|
|
6327
6595
|
body?: never;
|
|
6328
6596
|
path: {
|
|
6329
6597
|
/**
|
|
6330
6598
|
* Project ref
|
|
6331
6599
|
*/
|
|
6332
6600
|
ref: string;
|
|
6333
|
-
/**
|
|
6334
|
-
* Function slug
|
|
6335
|
-
*/
|
|
6336
|
-
function_slug: string;
|
|
6337
6601
|
};
|
|
6338
6602
|
query?: never;
|
|
6339
|
-
url: '/v1/projects/{ref}/
|
|
6603
|
+
url: '/v1/projects/{ref}/config/database/postgres';
|
|
6340
6604
|
};
|
|
6341
|
-
export type
|
|
6605
|
+
export type V1GetPostgresConfigErrors = {
|
|
6342
6606
|
/**
|
|
6343
6607
|
* Unauthorized
|
|
6344
6608
|
*/
|
|
@@ -6352,29 +6616,26 @@ export type V1DeleteAFunctionErrors = {
|
|
|
6352
6616
|
*/
|
|
6353
6617
|
429: unknown;
|
|
6354
6618
|
/**
|
|
6355
|
-
* Failed to
|
|
6619
|
+
* Failed to retrieve project's Postgres config
|
|
6356
6620
|
*/
|
|
6357
6621
|
500: unknown;
|
|
6358
6622
|
};
|
|
6359
|
-
export type
|
|
6360
|
-
200:
|
|
6623
|
+
export type V1GetPostgresConfigResponses = {
|
|
6624
|
+
200: PostgresConfigResponse;
|
|
6361
6625
|
};
|
|
6362
|
-
export type
|
|
6363
|
-
|
|
6626
|
+
export type V1GetPostgresConfigResponse = V1GetPostgresConfigResponses[keyof V1GetPostgresConfigResponses];
|
|
6627
|
+
export type V1UpdatePostgresConfigData = {
|
|
6628
|
+
body: UpdatePostgresConfigBody;
|
|
6364
6629
|
path: {
|
|
6365
6630
|
/**
|
|
6366
6631
|
* Project ref
|
|
6367
6632
|
*/
|
|
6368
6633
|
ref: string;
|
|
6369
|
-
/**
|
|
6370
|
-
* Function slug
|
|
6371
|
-
*/
|
|
6372
|
-
function_slug: string;
|
|
6373
6634
|
};
|
|
6374
6635
|
query?: never;
|
|
6375
|
-
url: '/v1/projects/{ref}/
|
|
6636
|
+
url: '/v1/projects/{ref}/config/database/postgres';
|
|
6376
6637
|
};
|
|
6377
|
-
export type
|
|
6638
|
+
export type V1UpdatePostgresConfigErrors = {
|
|
6378
6639
|
/**
|
|
6379
6640
|
* Unauthorized
|
|
6380
6641
|
*/
|
|
@@ -6388,44 +6649,26 @@ export type V1GetAFunctionErrors = {
|
|
|
6388
6649
|
*/
|
|
6389
6650
|
429: unknown;
|
|
6390
6651
|
/**
|
|
6391
|
-
* Failed to
|
|
6652
|
+
* Failed to update project's Postgres config
|
|
6392
6653
|
*/
|
|
6393
6654
|
500: unknown;
|
|
6394
6655
|
};
|
|
6395
|
-
export type
|
|
6396
|
-
200:
|
|
6656
|
+
export type V1UpdatePostgresConfigResponses = {
|
|
6657
|
+
200: PostgresConfigResponse;
|
|
6397
6658
|
};
|
|
6398
|
-
export type
|
|
6399
|
-
export type
|
|
6400
|
-
body
|
|
6659
|
+
export type V1UpdatePostgresConfigResponse = V1UpdatePostgresConfigResponses[keyof V1UpdatePostgresConfigResponses];
|
|
6660
|
+
export type V1GetRealtimeConfigData = {
|
|
6661
|
+
body?: never;
|
|
6401
6662
|
path: {
|
|
6402
6663
|
/**
|
|
6403
6664
|
* Project ref
|
|
6404
6665
|
*/
|
|
6405
6666
|
ref: string;
|
|
6406
|
-
/**
|
|
6407
|
-
* Function slug
|
|
6408
|
-
*/
|
|
6409
|
-
function_slug: string;
|
|
6410
6667
|
};
|
|
6411
|
-
query?:
|
|
6412
|
-
|
|
6413
|
-
name?: string;
|
|
6414
|
-
/**
|
|
6415
|
-
* Boolean string, true or false
|
|
6416
|
-
*/
|
|
6417
|
-
verify_jwt?: boolean;
|
|
6418
|
-
/**
|
|
6419
|
-
* Boolean string, true or false
|
|
6420
|
-
*/
|
|
6421
|
-
import_map?: boolean;
|
|
6422
|
-
entrypoint_path?: string;
|
|
6423
|
-
import_map_path?: string;
|
|
6424
|
-
ezbr_sha256?: string;
|
|
6425
|
-
};
|
|
6426
|
-
url: '/v1/projects/{ref}/functions/{function_slug}';
|
|
6668
|
+
query?: never;
|
|
6669
|
+
url: '/v1/projects/{ref}/config/realtime';
|
|
6427
6670
|
};
|
|
6428
|
-
export type
|
|
6671
|
+
export type V1GetRealtimeConfigErrors = {
|
|
6429
6672
|
/**
|
|
6430
6673
|
* Unauthorized
|
|
6431
6674
|
*/
|
|
@@ -6438,31 +6681,26 @@ export type V1UpdateAFunctionErrors = {
|
|
|
6438
6681
|
* Rate limit exceeded
|
|
6439
6682
|
*/
|
|
6440
6683
|
429: unknown;
|
|
6684
|
+
};
|
|
6685
|
+
export type V1GetRealtimeConfigResponses = {
|
|
6441
6686
|
/**
|
|
6442
|
-
*
|
|
6687
|
+
* Gets project's realtime configuration
|
|
6443
6688
|
*/
|
|
6444
|
-
|
|
6445
|
-
};
|
|
6446
|
-
export type V1UpdateAFunctionResponses = {
|
|
6447
|
-
200: FunctionResponse;
|
|
6689
|
+
200: RealtimeConfigResponse;
|
|
6448
6690
|
};
|
|
6449
|
-
export type
|
|
6450
|
-
export type
|
|
6451
|
-
body
|
|
6691
|
+
export type V1GetRealtimeConfigResponse = V1GetRealtimeConfigResponses[keyof V1GetRealtimeConfigResponses];
|
|
6692
|
+
export type V1UpdateRealtimeConfigData = {
|
|
6693
|
+
body: UpdateRealtimeConfigBody;
|
|
6452
6694
|
path: {
|
|
6453
6695
|
/**
|
|
6454
6696
|
* Project ref
|
|
6455
6697
|
*/
|
|
6456
6698
|
ref: string;
|
|
6457
|
-
/**
|
|
6458
|
-
* Function slug
|
|
6459
|
-
*/
|
|
6460
|
-
function_slug: string;
|
|
6461
6699
|
};
|
|
6462
6700
|
query?: never;
|
|
6463
|
-
url: '/v1/projects/{ref}/
|
|
6701
|
+
url: '/v1/projects/{ref}/config/realtime';
|
|
6464
6702
|
};
|
|
6465
|
-
export type
|
|
6703
|
+
export type V1UpdateRealtimeConfigErrors = {
|
|
6466
6704
|
/**
|
|
6467
6705
|
* Unauthorized
|
|
6468
6706
|
*/
|
|
@@ -6475,16 +6713,12 @@ export type V1GetAFunctionBodyErrors = {
|
|
|
6475
6713
|
* Rate limit exceeded
|
|
6476
6714
|
*/
|
|
6477
6715
|
429: unknown;
|
|
6478
|
-
/**
|
|
6479
|
-
* Failed to retrieve function body with given slug
|
|
6480
|
-
*/
|
|
6481
|
-
500: unknown;
|
|
6482
6716
|
};
|
|
6483
|
-
export type
|
|
6484
|
-
|
|
6717
|
+
export type V1UpdateRealtimeConfigResponses = {
|
|
6718
|
+
204: void;
|
|
6485
6719
|
};
|
|
6486
|
-
export type
|
|
6487
|
-
export type
|
|
6720
|
+
export type V1UpdateRealtimeConfigResponse = V1UpdateRealtimeConfigResponses[keyof V1UpdateRealtimeConfigResponses];
|
|
6721
|
+
export type V1ShutdownRealtimeData = {
|
|
6488
6722
|
body?: never;
|
|
6489
6723
|
path: {
|
|
6490
6724
|
/**
|
|
@@ -6493,9 +6727,9 @@ export type V1ListAllBucketsData = {
|
|
|
6493
6727
|
ref: string;
|
|
6494
6728
|
};
|
|
6495
6729
|
query?: never;
|
|
6496
|
-
url: '/v1/projects/{ref}/
|
|
6730
|
+
url: '/v1/projects/{ref}/config/realtime/shutdown';
|
|
6497
6731
|
};
|
|
6498
|
-
export type
|
|
6732
|
+
export type V1ShutdownRealtimeErrors = {
|
|
6499
6733
|
/**
|
|
6500
6734
|
* Unauthorized
|
|
6501
6735
|
*/
|
|
@@ -6504,19 +6738,22 @@ export type V1ListAllBucketsErrors = {
|
|
|
6504
6738
|
* Forbidden action
|
|
6505
6739
|
*/
|
|
6506
6740
|
403: unknown;
|
|
6741
|
+
/**
|
|
6742
|
+
* Tenant not found
|
|
6743
|
+
*/
|
|
6744
|
+
404: unknown;
|
|
6507
6745
|
/**
|
|
6508
6746
|
* Rate limit exceeded
|
|
6509
6747
|
*/
|
|
6510
6748
|
429: unknown;
|
|
6749
|
+
};
|
|
6750
|
+
export type V1ShutdownRealtimeResponses = {
|
|
6511
6751
|
/**
|
|
6512
|
-
*
|
|
6752
|
+
* Realtime connections shutdown successfully
|
|
6513
6753
|
*/
|
|
6514
|
-
|
|
6515
|
-
};
|
|
6516
|
-
export type V1ListAllBucketsResponses = {
|
|
6517
|
-
200: Array<V1StorageBucketResponse>;
|
|
6754
|
+
204: void;
|
|
6518
6755
|
};
|
|
6519
|
-
export type
|
|
6756
|
+
export type V1ShutdownRealtimeResponse = V1ShutdownRealtimeResponses[keyof V1ShutdownRealtimeResponses];
|
|
6520
6757
|
export type V1ListAllSsoProviderData = {
|
|
6521
6758
|
body?: never;
|
|
6522
6759
|
path: {
|
|
@@ -6849,20 +7086,6 @@ export type V1ListOrganizationMembersData = {
|
|
|
6849
7086
|
query?: never;
|
|
6850
7087
|
url: '/v1/organizations/{slug}/members';
|
|
6851
7088
|
};
|
|
6852
|
-
export type V1ListOrganizationMembersErrors = {
|
|
6853
|
-
/**
|
|
6854
|
-
* Unauthorized
|
|
6855
|
-
*/
|
|
6856
|
-
401: unknown;
|
|
6857
|
-
/**
|
|
6858
|
-
* Forbidden action
|
|
6859
|
-
*/
|
|
6860
|
-
403: unknown;
|
|
6861
|
-
/**
|
|
6862
|
-
* Rate limit exceeded
|
|
6863
|
-
*/
|
|
6864
|
-
429: unknown;
|
|
6865
|
-
};
|
|
6866
7089
|
export type V1ListOrganizationMembersResponses = {
|
|
6867
7090
|
200: Array<V1OrganizationMemberResponse>;
|
|
6868
7091
|
};
|