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
|
@@ -147,7 +147,13 @@ export declare function useSupabaseServer(cookieStore: Awaited<ReturnType<typeof
|
|
|
147
147
|
usage_metadata?: import("../types/database.types").Json | null;
|
|
148
148
|
user_id?: string | null;
|
|
149
149
|
};
|
|
150
|
-
Relationships: [
|
|
150
|
+
Relationships: [{
|
|
151
|
+
foreignKeyName: "adk_events_session_id_fkey";
|
|
152
|
+
columns: ["session_id"];
|
|
153
|
+
isOneToOne: false;
|
|
154
|
+
referencedRelation: "adk_sessions";
|
|
155
|
+
referencedColumns: ["id"];
|
|
156
|
+
}];
|
|
151
157
|
};
|
|
152
158
|
adk_quick_starts: {
|
|
153
159
|
Row: {
|
|
@@ -296,7 +302,7 @@ export declare function useSupabaseServer(cookieStore: Awaited<ReturnType<typeof
|
|
|
296
302
|
project_id: string;
|
|
297
303
|
proof_poc: string | null;
|
|
298
304
|
remediation: string | null;
|
|
299
|
-
severity:
|
|
305
|
+
severity: Database["public"]["Enums"]["audit_finding_severity"] | null;
|
|
300
306
|
status: string | null;
|
|
301
307
|
task_id: string | null;
|
|
302
308
|
title: string;
|
|
@@ -310,7 +316,7 @@ export declare function useSupabaseServer(cookieStore: Awaited<ReturnType<typeof
|
|
|
310
316
|
project_id: string;
|
|
311
317
|
proof_poc?: string | null;
|
|
312
318
|
remediation?: string | null;
|
|
313
|
-
severity?:
|
|
319
|
+
severity?: Database["public"]["Enums"]["audit_finding_severity"] | null;
|
|
314
320
|
status?: string | null;
|
|
315
321
|
task_id?: string | null;
|
|
316
322
|
title: string;
|
|
@@ -324,7 +330,7 @@ export declare function useSupabaseServer(cookieStore: Awaited<ReturnType<typeof
|
|
|
324
330
|
project_id?: string;
|
|
325
331
|
proof_poc?: string | null;
|
|
326
332
|
remediation?: string | null;
|
|
327
|
-
severity?:
|
|
333
|
+
severity?: Database["public"]["Enums"]["audit_finding_severity"] | null;
|
|
328
334
|
status?: string | null;
|
|
329
335
|
task_id?: string | null;
|
|
330
336
|
title?: string;
|
|
@@ -427,13 +433,7 @@ export declare function useSupabaseServer(cookieStore: Awaited<ReturnType<typeof
|
|
|
427
433
|
foreignKeyName: "audit_projects_worker_id_fkey";
|
|
428
434
|
columns: ["worker_id"];
|
|
429
435
|
isOneToOne: false;
|
|
430
|
-
referencedRelation: "
|
|
431
|
-
referencedColumns: ["id"];
|
|
432
|
-
}, {
|
|
433
|
-
foreignKeyName: "audit_projects_worker_id_fkey";
|
|
434
|
-
columns: ["worker_id"];
|
|
435
|
-
isOneToOne: false;
|
|
436
|
-
referencedRelation: "workers";
|
|
436
|
+
referencedRelation: "servers";
|
|
437
437
|
referencedColumns: ["id"];
|
|
438
438
|
}];
|
|
439
439
|
};
|
|
@@ -587,6 +587,60 @@ export declare function useSupabaseServer(cookieStore: Awaited<ReturnType<typeof
|
|
|
587
587
|
};
|
|
588
588
|
Relationships: [];
|
|
589
589
|
};
|
|
590
|
+
campaigns: {
|
|
591
|
+
Row: {
|
|
592
|
+
completed_at: string | null;
|
|
593
|
+
config: import("../types/database.types").Json;
|
|
594
|
+
created_at: string;
|
|
595
|
+
description: string | null;
|
|
596
|
+
id: string;
|
|
597
|
+
message_template: string | null;
|
|
598
|
+
name: string;
|
|
599
|
+
platform: string;
|
|
600
|
+
schedule: import("../types/database.types").Json;
|
|
601
|
+
started_at: string | null;
|
|
602
|
+
stats: import("../types/database.types").Json;
|
|
603
|
+
status: string;
|
|
604
|
+
target_filter: import("../types/database.types").Json;
|
|
605
|
+
updated_at: string;
|
|
606
|
+
user_id: string;
|
|
607
|
+
};
|
|
608
|
+
Insert: {
|
|
609
|
+
completed_at?: string | null;
|
|
610
|
+
config?: import("../types/database.types").Json;
|
|
611
|
+
created_at?: string;
|
|
612
|
+
description?: string | null;
|
|
613
|
+
id?: string;
|
|
614
|
+
message_template?: string | null;
|
|
615
|
+
name: string;
|
|
616
|
+
platform?: string;
|
|
617
|
+
schedule?: import("../types/database.types").Json;
|
|
618
|
+
started_at?: string | null;
|
|
619
|
+
stats?: import("../types/database.types").Json;
|
|
620
|
+
status?: string;
|
|
621
|
+
target_filter?: import("../types/database.types").Json;
|
|
622
|
+
updated_at?: string;
|
|
623
|
+
user_id: string;
|
|
624
|
+
};
|
|
625
|
+
Update: {
|
|
626
|
+
completed_at?: string | null;
|
|
627
|
+
config?: import("../types/database.types").Json;
|
|
628
|
+
created_at?: string;
|
|
629
|
+
description?: string | null;
|
|
630
|
+
id?: string;
|
|
631
|
+
message_template?: string | null;
|
|
632
|
+
name?: string;
|
|
633
|
+
platform?: string;
|
|
634
|
+
schedule?: import("../types/database.types").Json;
|
|
635
|
+
started_at?: string | null;
|
|
636
|
+
stats?: import("../types/database.types").Json;
|
|
637
|
+
status?: string;
|
|
638
|
+
target_filter?: import("../types/database.types").Json;
|
|
639
|
+
updated_at?: string;
|
|
640
|
+
user_id?: string;
|
|
641
|
+
};
|
|
642
|
+
Relationships: [];
|
|
643
|
+
};
|
|
590
644
|
chat_messages: {
|
|
591
645
|
Row: {
|
|
592
646
|
attachments: import("../types/database.types").Json | null;
|
|
@@ -595,7 +649,7 @@ export declare function useSupabaseServer(cookieStore: Awaited<ReturnType<typeof
|
|
|
595
649
|
grounding_metadata: import("../types/database.types").Json | null;
|
|
596
650
|
id: string;
|
|
597
651
|
parts: import("../types/database.types").Json;
|
|
598
|
-
role:
|
|
652
|
+
role: Database["public"]["Enums"]["chat_role"];
|
|
599
653
|
updated_at: string;
|
|
600
654
|
user_id: string | null;
|
|
601
655
|
};
|
|
@@ -606,7 +660,7 @@ export declare function useSupabaseServer(cookieStore: Awaited<ReturnType<typeof
|
|
|
606
660
|
grounding_metadata?: import("../types/database.types").Json | null;
|
|
607
661
|
id?: string;
|
|
608
662
|
parts: import("../types/database.types").Json;
|
|
609
|
-
role
|
|
663
|
+
role?: Database["public"]["Enums"]["chat_role"];
|
|
610
664
|
updated_at?: string;
|
|
611
665
|
user_id?: string | null;
|
|
612
666
|
};
|
|
@@ -617,7 +671,7 @@ export declare function useSupabaseServer(cookieStore: Awaited<ReturnType<typeof
|
|
|
617
671
|
grounding_metadata?: import("../types/database.types").Json | null;
|
|
618
672
|
id?: string;
|
|
619
673
|
parts?: import("../types/database.types").Json;
|
|
620
|
-
role?:
|
|
674
|
+
role?: Database["public"]["Enums"]["chat_role"];
|
|
621
675
|
updated_at?: string;
|
|
622
676
|
user_id?: string | null;
|
|
623
677
|
};
|
|
@@ -640,7 +694,7 @@ export declare function useSupabaseServer(cookieStore: Awaited<ReturnType<typeof
|
|
|
640
694
|
type: string;
|
|
641
695
|
updated_at: string | null;
|
|
642
696
|
user_id: string | null;
|
|
643
|
-
visibility:
|
|
697
|
+
visibility: Database["public"]["Enums"]["chat_visibility"];
|
|
644
698
|
};
|
|
645
699
|
Insert: {
|
|
646
700
|
agent_id: string;
|
|
@@ -652,7 +706,7 @@ export declare function useSupabaseServer(cookieStore: Awaited<ReturnType<typeof
|
|
|
652
706
|
type?: string;
|
|
653
707
|
updated_at?: string | null;
|
|
654
708
|
user_id?: string | null;
|
|
655
|
-
visibility?:
|
|
709
|
+
visibility?: Database["public"]["Enums"]["chat_visibility"];
|
|
656
710
|
};
|
|
657
711
|
Update: {
|
|
658
712
|
agent_id?: string;
|
|
@@ -664,7 +718,103 @@ export declare function useSupabaseServer(cookieStore: Awaited<ReturnType<typeof
|
|
|
664
718
|
type?: string;
|
|
665
719
|
updated_at?: string | null;
|
|
666
720
|
user_id?: string | null;
|
|
667
|
-
visibility?:
|
|
721
|
+
visibility?: Database["public"]["Enums"]["chat_visibility"];
|
|
722
|
+
};
|
|
723
|
+
Relationships: [];
|
|
724
|
+
};
|
|
725
|
+
cloud_accounts: {
|
|
726
|
+
Row: {
|
|
727
|
+
access_token: string | null;
|
|
728
|
+
account_email: string | null;
|
|
729
|
+
account_name: string | null;
|
|
730
|
+
automation_config: import("../types/database.types").Json | null;
|
|
731
|
+
created_at: string;
|
|
732
|
+
credentials: import("../types/database.types").Json | null;
|
|
733
|
+
device_fingerprint: import("../types/database.types").Json | null;
|
|
734
|
+
device_history: import("../types/database.types").Json[] | null;
|
|
735
|
+
id: string;
|
|
736
|
+
last_refresh_at: string | null;
|
|
737
|
+
last_used_at: string | null;
|
|
738
|
+
metadata: import("../types/database.types").Json | null;
|
|
739
|
+
platform_name: string | null;
|
|
740
|
+
proxy_disabled: boolean | null;
|
|
741
|
+
proxy_disabled_at: string | null;
|
|
742
|
+
proxy_disabled_reason: string | null;
|
|
743
|
+
quota_data: import("../types/database.types").Json | null;
|
|
744
|
+
refresh_error: string | null;
|
|
745
|
+
refresh_token: string | null;
|
|
746
|
+
refresh_token_expires_at: string | null;
|
|
747
|
+
session_data: import("../types/database.types").Json | null;
|
|
748
|
+
status: Database["public"]["Enums"]["cloud_account_status"] | null;
|
|
749
|
+
status_reason: string | null;
|
|
750
|
+
status_updated_at: string | null;
|
|
751
|
+
token_expires_at: string | null;
|
|
752
|
+
token_type: string | null;
|
|
753
|
+
updated_at: string | null;
|
|
754
|
+
use_count: number | null;
|
|
755
|
+
user_id: string;
|
|
756
|
+
};
|
|
757
|
+
Insert: {
|
|
758
|
+
access_token?: string | null;
|
|
759
|
+
account_email?: string | null;
|
|
760
|
+
account_name?: string | null;
|
|
761
|
+
automation_config?: import("../types/database.types").Json | null;
|
|
762
|
+
created_at?: string;
|
|
763
|
+
credentials?: import("../types/database.types").Json | null;
|
|
764
|
+
device_fingerprint?: import("../types/database.types").Json | null;
|
|
765
|
+
device_history?: import("../types/database.types").Json[] | null;
|
|
766
|
+
id?: string;
|
|
767
|
+
last_refresh_at?: string | null;
|
|
768
|
+
last_used_at?: string | null;
|
|
769
|
+
metadata?: import("../types/database.types").Json | null;
|
|
770
|
+
platform_name?: string | null;
|
|
771
|
+
proxy_disabled?: boolean | null;
|
|
772
|
+
proxy_disabled_at?: string | null;
|
|
773
|
+
proxy_disabled_reason?: string | null;
|
|
774
|
+
quota_data?: import("../types/database.types").Json | null;
|
|
775
|
+
refresh_error?: string | null;
|
|
776
|
+
refresh_token?: string | null;
|
|
777
|
+
refresh_token_expires_at?: string | null;
|
|
778
|
+
session_data?: import("../types/database.types").Json | null;
|
|
779
|
+
status?: Database["public"]["Enums"]["cloud_account_status"] | null;
|
|
780
|
+
status_reason?: string | null;
|
|
781
|
+
status_updated_at?: string | null;
|
|
782
|
+
token_expires_at?: string | null;
|
|
783
|
+
token_type?: string | null;
|
|
784
|
+
updated_at?: string | null;
|
|
785
|
+
use_count?: number | null;
|
|
786
|
+
user_id: string;
|
|
787
|
+
};
|
|
788
|
+
Update: {
|
|
789
|
+
access_token?: string | null;
|
|
790
|
+
account_email?: string | null;
|
|
791
|
+
account_name?: string | null;
|
|
792
|
+
automation_config?: import("../types/database.types").Json | null;
|
|
793
|
+
created_at?: string;
|
|
794
|
+
credentials?: import("../types/database.types").Json | null;
|
|
795
|
+
device_fingerprint?: import("../types/database.types").Json | null;
|
|
796
|
+
device_history?: import("../types/database.types").Json[] | null;
|
|
797
|
+
id?: string;
|
|
798
|
+
last_refresh_at?: string | null;
|
|
799
|
+
last_used_at?: string | null;
|
|
800
|
+
metadata?: import("../types/database.types").Json | null;
|
|
801
|
+
platform_name?: string | null;
|
|
802
|
+
proxy_disabled?: boolean | null;
|
|
803
|
+
proxy_disabled_at?: string | null;
|
|
804
|
+
proxy_disabled_reason?: string | null;
|
|
805
|
+
quota_data?: import("../types/database.types").Json | null;
|
|
806
|
+
refresh_error?: string | null;
|
|
807
|
+
refresh_token?: string | null;
|
|
808
|
+
refresh_token_expires_at?: string | null;
|
|
809
|
+
session_data?: import("../types/database.types").Json | null;
|
|
810
|
+
status?: Database["public"]["Enums"]["cloud_account_status"] | null;
|
|
811
|
+
status_reason?: string | null;
|
|
812
|
+
status_updated_at?: string | null;
|
|
813
|
+
token_expires_at?: string | null;
|
|
814
|
+
token_type?: string | null;
|
|
815
|
+
updated_at?: string | null;
|
|
816
|
+
use_count?: number | null;
|
|
817
|
+
user_id?: string;
|
|
668
818
|
};
|
|
669
819
|
Relationships: [];
|
|
670
820
|
};
|
|
@@ -678,7 +828,7 @@ export declare function useSupabaseServer(cookieStore: Awaited<ReturnType<typeof
|
|
|
678
828
|
name: string;
|
|
679
829
|
port: number;
|
|
680
830
|
provider: string;
|
|
681
|
-
status:
|
|
831
|
+
status: Database["public"]["Enums"]["compute_node_status"] | null;
|
|
682
832
|
updated_at: string;
|
|
683
833
|
user_id: string;
|
|
684
834
|
username: string | null;
|
|
@@ -692,7 +842,7 @@ export declare function useSupabaseServer(cookieStore: Awaited<ReturnType<typeof
|
|
|
692
842
|
name: string;
|
|
693
843
|
port?: number;
|
|
694
844
|
provider?: string;
|
|
695
|
-
status?:
|
|
845
|
+
status?: Database["public"]["Enums"]["compute_node_status"] | null;
|
|
696
846
|
updated_at?: string;
|
|
697
847
|
user_id?: string;
|
|
698
848
|
username?: string | null;
|
|
@@ -706,232 +856,142 @@ export declare function useSupabaseServer(cookieStore: Awaited<ReturnType<typeof
|
|
|
706
856
|
name?: string;
|
|
707
857
|
port?: number;
|
|
708
858
|
provider?: string;
|
|
709
|
-
status?:
|
|
859
|
+
status?: Database["public"]["Enums"]["compute_node_status"] | null;
|
|
710
860
|
updated_at?: string;
|
|
711
861
|
user_id?: string;
|
|
712
862
|
username?: string | null;
|
|
713
863
|
};
|
|
714
864
|
Relationships: [];
|
|
715
865
|
};
|
|
716
|
-
|
|
717
|
-
Row: {
|
|
718
|
-
badge: string | null;
|
|
719
|
-
created_at: string;
|
|
720
|
-
enabled: boolean | null;
|
|
721
|
-
icon: string | null;
|
|
722
|
-
id: string;
|
|
723
|
-
label: string;
|
|
724
|
-
location: string | null;
|
|
725
|
-
ord: number | null;
|
|
726
|
-
parent_id: string | null;
|
|
727
|
-
required_role: Database["public"]["Enums"]["app_role"] | null;
|
|
728
|
-
tooltip: string | null;
|
|
729
|
-
url: string | null;
|
|
730
|
-
};
|
|
731
|
-
Insert: {
|
|
732
|
-
badge?: string | null;
|
|
733
|
-
created_at?: string;
|
|
734
|
-
enabled?: boolean | null;
|
|
735
|
-
icon?: string | null;
|
|
736
|
-
id?: string;
|
|
737
|
-
label: string;
|
|
738
|
-
location?: string | null;
|
|
739
|
-
ord?: number | null;
|
|
740
|
-
parent_id?: string | null;
|
|
741
|
-
required_role?: Database["public"]["Enums"]["app_role"] | null;
|
|
742
|
-
tooltip?: string | null;
|
|
743
|
-
url?: string | null;
|
|
744
|
-
};
|
|
745
|
-
Update: {
|
|
746
|
-
badge?: string | null;
|
|
747
|
-
created_at?: string;
|
|
748
|
-
enabled?: boolean | null;
|
|
749
|
-
icon?: string | null;
|
|
750
|
-
id?: string;
|
|
751
|
-
label?: string;
|
|
752
|
-
location?: string | null;
|
|
753
|
-
ord?: number | null;
|
|
754
|
-
parent_id?: string | null;
|
|
755
|
-
required_role?: Database["public"]["Enums"]["app_role"] | null;
|
|
756
|
-
tooltip?: string | null;
|
|
757
|
-
url?: string | null;
|
|
758
|
-
};
|
|
759
|
-
Relationships: [{
|
|
760
|
-
foreignKeyName: "dash_navitems_parent_id_fkey";
|
|
761
|
-
columns: ["parent_id"];
|
|
762
|
-
isOneToOne: false;
|
|
763
|
-
referencedRelation: "dash_navitems";
|
|
764
|
-
referencedColumns: ["id"];
|
|
765
|
-
}];
|
|
766
|
-
};
|
|
767
|
-
endpoints: {
|
|
866
|
+
contacts: {
|
|
768
867
|
Row: {
|
|
769
868
|
created_at: string;
|
|
770
|
-
|
|
771
|
-
hostname: string | null;
|
|
869
|
+
email: string | null;
|
|
772
870
|
id: string;
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
871
|
+
metadata: import("../types/database.types").Json;
|
|
872
|
+
name: string | null;
|
|
873
|
+
phone: string | null;
|
|
874
|
+
platform: string;
|
|
875
|
+
source: string;
|
|
876
|
+
status: string;
|
|
877
|
+
tags: string[];
|
|
878
|
+
telegram_id: number | null;
|
|
879
|
+
telegram_username: string | null;
|
|
880
|
+
updated_at: string;
|
|
881
|
+
user_id: string;
|
|
779
882
|
};
|
|
780
883
|
Insert: {
|
|
781
884
|
created_at?: string;
|
|
782
|
-
|
|
783
|
-
hostname?: string | null;
|
|
885
|
+
email?: string | null;
|
|
784
886
|
id?: string;
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
887
|
+
metadata?: import("../types/database.types").Json;
|
|
888
|
+
name?: string | null;
|
|
889
|
+
phone?: string | null;
|
|
890
|
+
platform?: string;
|
|
891
|
+
source?: string;
|
|
892
|
+
status?: string;
|
|
893
|
+
tags?: string[];
|
|
894
|
+
telegram_id?: number | null;
|
|
895
|
+
telegram_username?: string | null;
|
|
896
|
+
updated_at?: string;
|
|
897
|
+
user_id: string;
|
|
791
898
|
};
|
|
792
899
|
Update: {
|
|
793
900
|
created_at?: string;
|
|
794
|
-
|
|
795
|
-
hostname?: string | null;
|
|
901
|
+
email?: string | null;
|
|
796
902
|
id?: string;
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
903
|
+
metadata?: import("../types/database.types").Json;
|
|
904
|
+
name?: string | null;
|
|
905
|
+
phone?: string | null;
|
|
906
|
+
platform?: string;
|
|
907
|
+
source?: string;
|
|
908
|
+
status?: string;
|
|
909
|
+
tags?: string[];
|
|
910
|
+
telegram_id?: number | null;
|
|
911
|
+
telegram_username?: string | null;
|
|
912
|
+
updated_at?: string;
|
|
913
|
+
user_id?: string;
|
|
803
914
|
};
|
|
804
915
|
Relationships: [];
|
|
805
916
|
};
|
|
806
|
-
|
|
917
|
+
gomtm_models: {
|
|
807
918
|
Row: {
|
|
919
|
+
api_base: string | null;
|
|
920
|
+
api_key: string | null;
|
|
921
|
+
config: import("../types/database.types").Json | null;
|
|
808
922
|
created_at: string;
|
|
809
|
-
error: string | null;
|
|
810
|
-
finished_at: string | null;
|
|
811
923
|
id: string;
|
|
812
|
-
|
|
813
|
-
|
|
924
|
+
is_active: boolean;
|
|
925
|
+
linked_account_id: string | null;
|
|
926
|
+
model: string;
|
|
927
|
+
name: string;
|
|
928
|
+
provider: string;
|
|
929
|
+
updated_at: string;
|
|
930
|
+
user_id: string;
|
|
814
931
|
};
|
|
815
932
|
Insert: {
|
|
933
|
+
api_base?: string | null;
|
|
934
|
+
api_key?: string | null;
|
|
935
|
+
config?: import("../types/database.types").Json | null;
|
|
816
936
|
created_at?: string;
|
|
817
|
-
error?: string | null;
|
|
818
|
-
finished_at?: string | null;
|
|
819
937
|
id?: string;
|
|
820
|
-
|
|
821
|
-
|
|
938
|
+
is_active?: boolean;
|
|
939
|
+
linked_account_id?: string | null;
|
|
940
|
+
model: string;
|
|
941
|
+
name: string;
|
|
942
|
+
provider: string;
|
|
943
|
+
updated_at?: string;
|
|
944
|
+
user_id: string;
|
|
822
945
|
};
|
|
823
946
|
Update: {
|
|
947
|
+
api_base?: string | null;
|
|
948
|
+
api_key?: string | null;
|
|
949
|
+
config?: import("../types/database.types").Json | null;
|
|
824
950
|
created_at?: string;
|
|
825
|
-
error?: string | null;
|
|
826
|
-
finished_at?: string | null;
|
|
827
951
|
id?: string;
|
|
828
|
-
|
|
829
|
-
|
|
952
|
+
is_active?: boolean;
|
|
953
|
+
linked_account_id?: string | null;
|
|
954
|
+
model?: string;
|
|
955
|
+
name?: string;
|
|
956
|
+
provider?: string;
|
|
957
|
+
updated_at?: string;
|
|
958
|
+
user_id?: string;
|
|
830
959
|
};
|
|
831
960
|
Relationships: [{
|
|
832
|
-
foreignKeyName: "
|
|
833
|
-
columns: ["
|
|
834
|
-
isOneToOne:
|
|
835
|
-
referencedRelation: "
|
|
961
|
+
foreignKeyName: "gomtm_models_linked_account_id_fkey";
|
|
962
|
+
columns: ["linked_account_id"];
|
|
963
|
+
isOneToOne: false;
|
|
964
|
+
referencedRelation: "cloud_accounts";
|
|
836
965
|
referencedColumns: ["id"];
|
|
837
966
|
}];
|
|
838
967
|
};
|
|
839
|
-
|
|
840
|
-
Row: {
|
|
841
|
-
created_at: string | null;
|
|
842
|
-
data: import("../types/database.types").Json;
|
|
843
|
-
event: string;
|
|
844
|
-
id: string;
|
|
845
|
-
session_id: string;
|
|
846
|
-
updated_at: string | null;
|
|
847
|
-
user_id: string;
|
|
848
|
-
};
|
|
849
|
-
Insert: {
|
|
850
|
-
created_at?: string | null;
|
|
851
|
-
data: import("../types/database.types").Json;
|
|
852
|
-
event?: string;
|
|
853
|
-
id: string;
|
|
854
|
-
session_id: string;
|
|
855
|
-
updated_at?: string | null;
|
|
856
|
-
user_id?: string;
|
|
857
|
-
};
|
|
858
|
-
Update: {
|
|
859
|
-
created_at?: string | null;
|
|
860
|
-
data?: import("../types/database.types").Json;
|
|
861
|
-
event?: string;
|
|
862
|
-
id?: string;
|
|
863
|
-
session_id?: string;
|
|
864
|
-
updated_at?: string | null;
|
|
865
|
-
user_id?: string;
|
|
866
|
-
};
|
|
867
|
-
Relationships: [];
|
|
868
|
-
};
|
|
869
|
-
events: {
|
|
870
|
-
Row: {
|
|
871
|
-
created_at: string;
|
|
872
|
-
data: import("../types/database.types").Json | null;
|
|
873
|
-
id: string;
|
|
874
|
-
type: string;
|
|
875
|
-
user_id: string | null;
|
|
876
|
-
};
|
|
877
|
-
Insert: {
|
|
878
|
-
created_at?: string;
|
|
879
|
-
data?: import("../types/database.types").Json | null;
|
|
880
|
-
id?: string;
|
|
881
|
-
type: string;
|
|
882
|
-
user_id?: string | null;
|
|
883
|
-
};
|
|
884
|
-
Update: {
|
|
885
|
-
created_at?: string;
|
|
886
|
-
data?: import("../types/database.types").Json | null;
|
|
887
|
-
id?: string;
|
|
888
|
-
type?: string;
|
|
889
|
-
user_id?: string | null;
|
|
890
|
-
};
|
|
891
|
-
Relationships: [];
|
|
892
|
-
};
|
|
893
|
-
linked_accounts: {
|
|
968
|
+
instance_tags: {
|
|
894
969
|
Row: {
|
|
895
970
|
created_at: string;
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
last_used_at: string | null;
|
|
899
|
-
name: string | null;
|
|
900
|
-
platform_id: string | null;
|
|
901
|
-
session_data: import("../types/database.types").Json | null;
|
|
902
|
-
status: string | null;
|
|
903
|
-
updated_at: string | null;
|
|
904
|
-
user_id: string;
|
|
971
|
+
instance_id: string;
|
|
972
|
+
tag_id: string;
|
|
905
973
|
};
|
|
906
974
|
Insert: {
|
|
907
975
|
created_at?: string;
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
last_used_at?: string | null;
|
|
911
|
-
name?: string | null;
|
|
912
|
-
platform_id?: string | null;
|
|
913
|
-
session_data?: import("../types/database.types").Json | null;
|
|
914
|
-
status?: string | null;
|
|
915
|
-
updated_at?: string | null;
|
|
916
|
-
user_id: string;
|
|
976
|
+
instance_id: string;
|
|
977
|
+
tag_id: string;
|
|
917
978
|
};
|
|
918
979
|
Update: {
|
|
919
980
|
created_at?: string;
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
last_used_at?: string | null;
|
|
923
|
-
name?: string | null;
|
|
924
|
-
platform_id?: string | null;
|
|
925
|
-
session_data?: import("../types/database.types").Json | null;
|
|
926
|
-
status?: string | null;
|
|
927
|
-
updated_at?: string | null;
|
|
928
|
-
user_id?: string;
|
|
981
|
+
instance_id?: string;
|
|
982
|
+
tag_id?: string;
|
|
929
983
|
};
|
|
930
984
|
Relationships: [{
|
|
931
|
-
foreignKeyName: "
|
|
932
|
-
columns: ["
|
|
985
|
+
foreignKeyName: "instance_tags_instance_id_fkey";
|
|
986
|
+
columns: ["instance_id"];
|
|
987
|
+
isOneToOne: false;
|
|
988
|
+
referencedRelation: "servers";
|
|
989
|
+
referencedColumns: ["id"];
|
|
990
|
+
}, {
|
|
991
|
+
foreignKeyName: "instance_tags_tag_id_fkey";
|
|
992
|
+
columns: ["tag_id"];
|
|
933
993
|
isOneToOne: false;
|
|
934
|
-
referencedRelation: "
|
|
994
|
+
referencedRelation: "tags";
|
|
935
995
|
referencedColumns: ["id"];
|
|
936
996
|
}];
|
|
937
997
|
};
|
|
@@ -977,41 +1037,125 @@ export declare function useSupabaseServer(cookieStore: Awaited<ReturnType<typeof
|
|
|
977
1037
|
referencedColumns: ["id"];
|
|
978
1038
|
}];
|
|
979
1039
|
};
|
|
980
|
-
|
|
1040
|
+
outreach_messages: {
|
|
981
1041
|
Row: {
|
|
982
|
-
|
|
983
|
-
base_url: string | null;
|
|
1042
|
+
content: string | null;
|
|
984
1043
|
created_at: string;
|
|
985
|
-
|
|
1044
|
+
delivered_at: string | null;
|
|
1045
|
+
direction: string;
|
|
986
1046
|
id: string;
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
1047
|
+
metadata: import("../types/database.types").Json | null;
|
|
1048
|
+
read_at: string | null;
|
|
1049
|
+
sent_at: string | null;
|
|
1050
|
+
status: string | null;
|
|
1051
|
+
task_id: string;
|
|
1052
|
+
telegram_message_id: number | null;
|
|
1053
|
+
user_id: string;
|
|
991
1054
|
};
|
|
992
1055
|
Insert: {
|
|
993
|
-
|
|
994
|
-
base_url?: string | null;
|
|
1056
|
+
content?: string | null;
|
|
995
1057
|
created_at?: string;
|
|
996
|
-
|
|
1058
|
+
delivered_at?: string | null;
|
|
1059
|
+
direction: string;
|
|
997
1060
|
id?: string;
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1061
|
+
metadata?: import("../types/database.types").Json | null;
|
|
1062
|
+
read_at?: string | null;
|
|
1063
|
+
sent_at?: string | null;
|
|
1064
|
+
status?: string | null;
|
|
1065
|
+
task_id: string;
|
|
1066
|
+
telegram_message_id?: number | null;
|
|
1067
|
+
user_id: string;
|
|
1002
1068
|
};
|
|
1003
1069
|
Update: {
|
|
1004
|
-
|
|
1005
|
-
base_url?: string | null;
|
|
1070
|
+
content?: string | null;
|
|
1006
1071
|
created_at?: string;
|
|
1007
|
-
|
|
1072
|
+
delivered_at?: string | null;
|
|
1073
|
+
direction?: string;
|
|
1008
1074
|
id?: string;
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1075
|
+
metadata?: import("../types/database.types").Json | null;
|
|
1076
|
+
read_at?: string | null;
|
|
1077
|
+
sent_at?: string | null;
|
|
1078
|
+
status?: string | null;
|
|
1079
|
+
task_id?: string;
|
|
1080
|
+
telegram_message_id?: number | null;
|
|
1081
|
+
user_id?: string;
|
|
1013
1082
|
};
|
|
1014
|
-
Relationships: [
|
|
1083
|
+
Relationships: [{
|
|
1084
|
+
foreignKeyName: "outreach_messages_task_id_fkey";
|
|
1085
|
+
columns: ["task_id"];
|
|
1086
|
+
isOneToOne: false;
|
|
1087
|
+
referencedRelation: "outreach_tasks";
|
|
1088
|
+
referencedColumns: ["id"];
|
|
1089
|
+
}];
|
|
1090
|
+
};
|
|
1091
|
+
outreach_tasks: {
|
|
1092
|
+
Row: {
|
|
1093
|
+
campaign_id: string;
|
|
1094
|
+
cloud_account_id: string | null;
|
|
1095
|
+
contact_id: string;
|
|
1096
|
+
created_at: string;
|
|
1097
|
+
error_message: string | null;
|
|
1098
|
+
executed_at: string | null;
|
|
1099
|
+
id: string;
|
|
1100
|
+
metadata: import("../types/database.types").Json | null;
|
|
1101
|
+
priority: number | null;
|
|
1102
|
+
retry_count: number | null;
|
|
1103
|
+
scheduled_at: string | null;
|
|
1104
|
+
status: string;
|
|
1105
|
+
updated_at: string;
|
|
1106
|
+
user_id: string;
|
|
1107
|
+
};
|
|
1108
|
+
Insert: {
|
|
1109
|
+
campaign_id: string;
|
|
1110
|
+
cloud_account_id?: string | null;
|
|
1111
|
+
contact_id: string;
|
|
1112
|
+
created_at?: string;
|
|
1113
|
+
error_message?: string | null;
|
|
1114
|
+
executed_at?: string | null;
|
|
1115
|
+
id?: string;
|
|
1116
|
+
metadata?: import("../types/database.types").Json | null;
|
|
1117
|
+
priority?: number | null;
|
|
1118
|
+
retry_count?: number | null;
|
|
1119
|
+
scheduled_at?: string | null;
|
|
1120
|
+
status?: string;
|
|
1121
|
+
updated_at?: string;
|
|
1122
|
+
user_id: string;
|
|
1123
|
+
};
|
|
1124
|
+
Update: {
|
|
1125
|
+
campaign_id?: string;
|
|
1126
|
+
cloud_account_id?: string | null;
|
|
1127
|
+
contact_id?: string;
|
|
1128
|
+
created_at?: string;
|
|
1129
|
+
error_message?: string | null;
|
|
1130
|
+
executed_at?: string | null;
|
|
1131
|
+
id?: string;
|
|
1132
|
+
metadata?: import("../types/database.types").Json | null;
|
|
1133
|
+
priority?: number | null;
|
|
1134
|
+
retry_count?: number | null;
|
|
1135
|
+
scheduled_at?: string | null;
|
|
1136
|
+
status?: string;
|
|
1137
|
+
updated_at?: string;
|
|
1138
|
+
user_id?: string;
|
|
1139
|
+
};
|
|
1140
|
+
Relationships: [{
|
|
1141
|
+
foreignKeyName: "outreach_tasks_campaign_id_fkey";
|
|
1142
|
+
columns: ["campaign_id"];
|
|
1143
|
+
isOneToOne: false;
|
|
1144
|
+
referencedRelation: "campaigns";
|
|
1145
|
+
referencedColumns: ["id"];
|
|
1146
|
+
}, {
|
|
1147
|
+
foreignKeyName: "outreach_tasks_cloud_account_id_fkey";
|
|
1148
|
+
columns: ["cloud_account_id"];
|
|
1149
|
+
isOneToOne: false;
|
|
1150
|
+
referencedRelation: "cloud_accounts";
|
|
1151
|
+
referencedColumns: ["id"];
|
|
1152
|
+
}, {
|
|
1153
|
+
foreignKeyName: "outreach_tasks_contact_id_fkey";
|
|
1154
|
+
columns: ["contact_id"];
|
|
1155
|
+
isOneToOne: false;
|
|
1156
|
+
referencedRelation: "contacts";
|
|
1157
|
+
referencedColumns: ["id"];
|
|
1158
|
+
}];
|
|
1015
1159
|
};
|
|
1016
1160
|
profiles: {
|
|
1017
1161
|
Row: {
|
|
@@ -1076,36 +1220,6 @@ export declare function useSupabaseServer(cookieStore: Awaited<ReturnType<typeof
|
|
|
1076
1220
|
};
|
|
1077
1221
|
Relationships: [];
|
|
1078
1222
|
};
|
|
1079
|
-
request_tracker: {
|
|
1080
|
-
Row: {
|
|
1081
|
-
body: import("../types/database.types").Json | null;
|
|
1082
|
-
headers: import("../types/database.types").Json | null;
|
|
1083
|
-
method: string | null;
|
|
1084
|
-
params: import("../types/database.types").Json | null;
|
|
1085
|
-
request_id: number | null;
|
|
1086
|
-
type: string | null;
|
|
1087
|
-
url: string | null;
|
|
1088
|
-
};
|
|
1089
|
-
Insert: {
|
|
1090
|
-
body?: import("../types/database.types").Json | null;
|
|
1091
|
-
headers?: import("../types/database.types").Json | null;
|
|
1092
|
-
method?: string | null;
|
|
1093
|
-
params?: import("../types/database.types").Json | null;
|
|
1094
|
-
request_id?: number | null;
|
|
1095
|
-
type?: string | null;
|
|
1096
|
-
url?: string | null;
|
|
1097
|
-
};
|
|
1098
|
-
Update: {
|
|
1099
|
-
body?: import("../types/database.types").Json | null;
|
|
1100
|
-
headers?: import("../types/database.types").Json | null;
|
|
1101
|
-
method?: string | null;
|
|
1102
|
-
params?: import("../types/database.types").Json | null;
|
|
1103
|
-
request_id?: number | null;
|
|
1104
|
-
type?: string | null;
|
|
1105
|
-
url?: string | null;
|
|
1106
|
-
};
|
|
1107
|
-
Relationships: [];
|
|
1108
|
-
};
|
|
1109
1223
|
resources: {
|
|
1110
1224
|
Row: {
|
|
1111
1225
|
created_at: string;
|
|
@@ -1156,102 +1270,54 @@ export declare function useSupabaseServer(cookieStore: Awaited<ReturnType<typeof
|
|
|
1156
1270
|
};
|
|
1157
1271
|
servers: {
|
|
1158
1272
|
Row: {
|
|
1273
|
+
cloudflared_token: string | null;
|
|
1159
1274
|
created_at: string;
|
|
1275
|
+
host_id: string | null;
|
|
1160
1276
|
id: string;
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
worker_id: string | null;
|
|
1168
|
-
};
|
|
1169
|
-
Insert: {
|
|
1170
|
-
created_at?: string;
|
|
1171
|
-
id?: string;
|
|
1172
|
-
is_health?: boolean;
|
|
1173
|
-
local_url?: string | null;
|
|
1174
|
-
public_url?: string | null;
|
|
1175
|
-
service_type: string;
|
|
1176
|
-
updated_at?: string;
|
|
1177
|
-
user_id?: string | null;
|
|
1178
|
-
worker_id?: string | null;
|
|
1179
|
-
};
|
|
1180
|
-
Update: {
|
|
1181
|
-
created_at?: string;
|
|
1182
|
-
id?: string;
|
|
1183
|
-
is_health?: boolean;
|
|
1184
|
-
local_url?: string | null;
|
|
1185
|
-
public_url?: string | null;
|
|
1186
|
-
service_type?: string;
|
|
1187
|
-
updated_at?: string;
|
|
1188
|
-
user_id?: string | null;
|
|
1189
|
-
worker_id?: string | null;
|
|
1190
|
-
};
|
|
1191
|
-
Relationships: [];
|
|
1192
|
-
};
|
|
1193
|
-
service_tunnels_laji: {
|
|
1194
|
-
Row: {
|
|
1195
|
-
cfd_token: string | null;
|
|
1196
|
-
created_at: string;
|
|
1197
|
-
id: string;
|
|
1198
|
-
service_id: string;
|
|
1277
|
+
is_shared: boolean | null;
|
|
1278
|
+
latest_pull_at: string | null;
|
|
1279
|
+
name: string | null;
|
|
1280
|
+
runtime: string | null;
|
|
1281
|
+
state: import("../types/database.types").Json | null;
|
|
1282
|
+
status: Database["public"]["Enums"]["worker_status"] | null;
|
|
1199
1283
|
updated_at: string;
|
|
1200
1284
|
user_id: string | null;
|
|
1201
1285
|
};
|
|
1202
1286
|
Insert: {
|
|
1203
|
-
|
|
1204
|
-
created_at?: string;
|
|
1205
|
-
id?: string;
|
|
1206
|
-
service_id: string;
|
|
1207
|
-
updated_at?: string;
|
|
1208
|
-
user_id?: string | null;
|
|
1209
|
-
};
|
|
1210
|
-
Update: {
|
|
1211
|
-
cfd_token?: string | null;
|
|
1287
|
+
cloudflared_token?: string | null;
|
|
1212
1288
|
created_at?: string;
|
|
1213
|
-
|
|
1214
|
-
service_id?: string;
|
|
1215
|
-
updated_at?: string;
|
|
1216
|
-
user_id?: string | null;
|
|
1217
|
-
};
|
|
1218
|
-
Relationships: [];
|
|
1219
|
-
};
|
|
1220
|
-
services_laji: {
|
|
1221
|
-
Row: {
|
|
1222
|
-
created_at: string;
|
|
1289
|
+
host_id?: string | null;
|
|
1223
1290
|
id: string;
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
worker_id: string | null;
|
|
1231
|
-
};
|
|
1232
|
-
Insert: {
|
|
1233
|
-
created_at?: string;
|
|
1234
|
-
id?: string;
|
|
1235
|
-
is_health?: boolean;
|
|
1236
|
-
local_url?: string | null;
|
|
1237
|
-
public_url?: string | null;
|
|
1238
|
-
service_type: string;
|
|
1291
|
+
is_shared?: boolean | null;
|
|
1292
|
+
latest_pull_at?: string | null;
|
|
1293
|
+
name?: string | null;
|
|
1294
|
+
runtime?: string | null;
|
|
1295
|
+
state?: import("../types/database.types").Json | null;
|
|
1296
|
+
status?: Database["public"]["Enums"]["worker_status"] | null;
|
|
1239
1297
|
updated_at?: string;
|
|
1240
1298
|
user_id?: string | null;
|
|
1241
|
-
worker_id?: string | null;
|
|
1242
1299
|
};
|
|
1243
1300
|
Update: {
|
|
1301
|
+
cloudflared_token?: string | null;
|
|
1244
1302
|
created_at?: string;
|
|
1303
|
+
host_id?: string | null;
|
|
1245
1304
|
id?: string;
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
|
|
1305
|
+
is_shared?: boolean | null;
|
|
1306
|
+
latest_pull_at?: string | null;
|
|
1307
|
+
name?: string | null;
|
|
1308
|
+
runtime?: string | null;
|
|
1309
|
+
state?: import("../types/database.types").Json | null;
|
|
1310
|
+
status?: Database["public"]["Enums"]["worker_status"] | null;
|
|
1250
1311
|
updated_at?: string;
|
|
1251
1312
|
user_id?: string | null;
|
|
1252
|
-
worker_id?: string | null;
|
|
1253
1313
|
};
|
|
1254
|
-
Relationships: [
|
|
1314
|
+
Relationships: [{
|
|
1315
|
+
foreignKeyName: "workers_host_id_fkey";
|
|
1316
|
+
columns: ["host_id"];
|
|
1317
|
+
isOneToOne: false;
|
|
1318
|
+
referencedRelation: "compute_nodes";
|
|
1319
|
+
referencedColumns: ["id"];
|
|
1320
|
+
}];
|
|
1255
1321
|
};
|
|
1256
1322
|
sys_config: {
|
|
1257
1323
|
Row: {
|
|
@@ -1328,6 +1394,33 @@ export declare function useSupabaseServer(cookieStore: Awaited<ReturnType<typeof
|
|
|
1328
1394
|
};
|
|
1329
1395
|
Relationships: [];
|
|
1330
1396
|
};
|
|
1397
|
+
tags: {
|
|
1398
|
+
Row: {
|
|
1399
|
+
color: string | null;
|
|
1400
|
+
created_at: string;
|
|
1401
|
+
id: string;
|
|
1402
|
+
name: string;
|
|
1403
|
+
updated_at: string;
|
|
1404
|
+
user_id: string | null;
|
|
1405
|
+
};
|
|
1406
|
+
Insert: {
|
|
1407
|
+
color?: string | null;
|
|
1408
|
+
created_at?: string;
|
|
1409
|
+
id?: string;
|
|
1410
|
+
name: string;
|
|
1411
|
+
updated_at?: string;
|
|
1412
|
+
user_id?: string | null;
|
|
1413
|
+
};
|
|
1414
|
+
Update: {
|
|
1415
|
+
color?: string | null;
|
|
1416
|
+
created_at?: string;
|
|
1417
|
+
id?: string;
|
|
1418
|
+
name?: string;
|
|
1419
|
+
updated_at?: string;
|
|
1420
|
+
user_id?: string | null;
|
|
1421
|
+
};
|
|
1422
|
+
Relationships: [];
|
|
1423
|
+
};
|
|
1331
1424
|
user_logs: {
|
|
1332
1425
|
Row: {
|
|
1333
1426
|
content: string | null;
|
|
@@ -1364,463 +1457,138 @@ export declare function useSupabaseServer(cookieStore: Awaited<ReturnType<typeof
|
|
|
1364
1457
|
};
|
|
1365
1458
|
Relationships: [];
|
|
1366
1459
|
};
|
|
1367
|
-
|
|
1368
|
-
Row: {
|
|
1369
|
-
created_at: string | null;
|
|
1370
|
-
id: number;
|
|
1371
|
-
role: Database["public"]["Enums"]["app_role"];
|
|
1372
|
-
user_id: string;
|
|
1373
|
-
};
|
|
1374
|
-
Insert: {
|
|
1375
|
-
created_at?: string | null;
|
|
1376
|
-
id?: number;
|
|
1377
|
-
role: Database["public"]["Enums"]["app_role"];
|
|
1378
|
-
user_id: string;
|
|
1379
|
-
};
|
|
1380
|
-
Update: {
|
|
1381
|
-
created_at?: string | null;
|
|
1382
|
-
id?: number;
|
|
1383
|
-
role?: Database["public"]["Enums"]["app_role"];
|
|
1384
|
-
user_id?: string;
|
|
1385
|
-
};
|
|
1386
|
-
Relationships: [];
|
|
1387
|
-
};
|
|
1388
|
-
voltagent_memory_conversations: {
|
|
1460
|
+
user_notifications: {
|
|
1389
1461
|
Row: {
|
|
1462
|
+
action_completed_at: string | null;
|
|
1463
|
+
action_payload: import("../types/database.types").Json | null;
|
|
1464
|
+
action_type: string | null;
|
|
1390
1465
|
created_at: string;
|
|
1391
|
-
|
|
1392
|
-
|
|
1393
|
-
|
|
1466
|
+
dismissed_at: string | null;
|
|
1467
|
+
expires_at: string | null;
|
|
1468
|
+
id: string;
|
|
1469
|
+
is_read: boolean;
|
|
1470
|
+
message: string | null;
|
|
1471
|
+
notification_type: string;
|
|
1472
|
+
priority: string;
|
|
1473
|
+
read_at: string | null;
|
|
1474
|
+
source_id: string | null;
|
|
1475
|
+
source_type: string | null;
|
|
1394
1476
|
title: string;
|
|
1395
1477
|
updated_at: string;
|
|
1396
1478
|
user_id: string;
|
|
1397
1479
|
};
|
|
1398
1480
|
Insert: {
|
|
1481
|
+
action_completed_at?: string | null;
|
|
1482
|
+
action_payload?: import("../types/database.types").Json | null;
|
|
1483
|
+
action_type?: string | null;
|
|
1399
1484
|
created_at?: string;
|
|
1400
|
-
|
|
1401
|
-
|
|
1402
|
-
|
|
1485
|
+
dismissed_at?: string | null;
|
|
1486
|
+
expires_at?: string | null;
|
|
1487
|
+
id?: string;
|
|
1488
|
+
is_read?: boolean;
|
|
1489
|
+
message?: string | null;
|
|
1490
|
+
notification_type?: string;
|
|
1491
|
+
priority?: string;
|
|
1492
|
+
read_at?: string | null;
|
|
1493
|
+
source_id?: string | null;
|
|
1494
|
+
source_type?: string | null;
|
|
1403
1495
|
title: string;
|
|
1404
1496
|
updated_at?: string;
|
|
1405
1497
|
user_id: string;
|
|
1406
1498
|
};
|
|
1407
1499
|
Update: {
|
|
1500
|
+
action_completed_at?: string | null;
|
|
1501
|
+
action_payload?: import("../types/database.types").Json | null;
|
|
1502
|
+
action_type?: string | null;
|
|
1408
1503
|
created_at?: string;
|
|
1409
|
-
|
|
1410
|
-
|
|
1411
|
-
|
|
1504
|
+
dismissed_at?: string | null;
|
|
1505
|
+
expires_at?: string | null;
|
|
1506
|
+
id?: string;
|
|
1507
|
+
is_read?: boolean;
|
|
1508
|
+
message?: string | null;
|
|
1509
|
+
notification_type?: string;
|
|
1510
|
+
priority?: string;
|
|
1511
|
+
read_at?: string | null;
|
|
1512
|
+
source_id?: string | null;
|
|
1513
|
+
source_type?: string | null;
|
|
1412
1514
|
title?: string;
|
|
1413
1515
|
updated_at?: string;
|
|
1414
1516
|
user_id?: string;
|
|
1415
1517
|
};
|
|
1416
1518
|
Relationships: [];
|
|
1417
1519
|
};
|
|
1418
|
-
|
|
1520
|
+
user_roles: {
|
|
1419
1521
|
Row: {
|
|
1420
|
-
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
message_id: string;
|
|
1424
|
-
metadata: import("../types/database.types").Json | null;
|
|
1425
|
-
parts: import("../types/database.types").Json | null;
|
|
1426
|
-
role: string;
|
|
1522
|
+
created_at: string | null;
|
|
1523
|
+
id: number;
|
|
1524
|
+
role: Database["public"]["Enums"]["app_role"];
|
|
1427
1525
|
user_id: string;
|
|
1428
1526
|
};
|
|
1429
1527
|
Insert: {
|
|
1430
|
-
|
|
1431
|
-
|
|
1432
|
-
|
|
1433
|
-
message_id: string;
|
|
1434
|
-
metadata?: import("../types/database.types").Json | null;
|
|
1435
|
-
parts?: import("../types/database.types").Json | null;
|
|
1436
|
-
role: string;
|
|
1528
|
+
created_at?: string | null;
|
|
1529
|
+
id?: number;
|
|
1530
|
+
role: Database["public"]["Enums"]["app_role"];
|
|
1437
1531
|
user_id: string;
|
|
1438
1532
|
};
|
|
1439
1533
|
Update: {
|
|
1440
|
-
|
|
1441
|
-
|
|
1442
|
-
|
|
1443
|
-
message_id?: string;
|
|
1444
|
-
metadata?: import("../types/database.types").Json | null;
|
|
1445
|
-
parts?: import("../types/database.types").Json | null;
|
|
1446
|
-
role?: string;
|
|
1534
|
+
created_at?: string | null;
|
|
1535
|
+
id?: number;
|
|
1536
|
+
role?: Database["public"]["Enums"]["app_role"];
|
|
1447
1537
|
user_id?: string;
|
|
1448
1538
|
};
|
|
1449
|
-
Relationships: [
|
|
1450
|
-
foreignKeyName: "voltagent_memory_messages_conversation_id_fkey";
|
|
1451
|
-
columns: ["conversation_id"];
|
|
1452
|
-
isOneToOne: false;
|
|
1453
|
-
referencedRelation: "voltagent_memory_conversations";
|
|
1454
|
-
referencedColumns: ["id"];
|
|
1455
|
-
}];
|
|
1539
|
+
Relationships: [];
|
|
1456
1540
|
};
|
|
1457
|
-
|
|
1541
|
+
worker_tasks: {
|
|
1458
1542
|
Row: {
|
|
1459
|
-
agent_id: string;
|
|
1460
|
-
agent_name: string | null;
|
|
1461
|
-
arguments: import("../types/database.types").Json | null;
|
|
1462
|
-
content: string | null;
|
|
1463
|
-
conversation_id: string;
|
|
1464
1543
|
created_at: string;
|
|
1544
|
+
error: string | null;
|
|
1465
1545
|
id: string;
|
|
1466
|
-
|
|
1546
|
+
payload: import("../types/database.types").Json;
|
|
1467
1547
|
result: import("../types/database.types").Json | null;
|
|
1468
|
-
|
|
1469
|
-
|
|
1470
|
-
sub_agent_id: string | null;
|
|
1471
|
-
sub_agent_name: string | null;
|
|
1548
|
+
session_id: string | null;
|
|
1549
|
+
status: string | null;
|
|
1472
1550
|
type: string;
|
|
1473
|
-
|
|
1474
|
-
user_id: string;
|
|
1551
|
+
updated_at: string;
|
|
1552
|
+
user_id: string | null;
|
|
1553
|
+
worker_id: string | null;
|
|
1475
1554
|
};
|
|
1476
1555
|
Insert: {
|
|
1477
|
-
agent_id: string;
|
|
1478
|
-
agent_name?: string | null;
|
|
1479
|
-
arguments?: import("../types/database.types").Json | null;
|
|
1480
|
-
content?: string | null;
|
|
1481
|
-
conversation_id: string;
|
|
1482
1556
|
created_at?: string;
|
|
1483
|
-
|
|
1484
|
-
|
|
1557
|
+
error?: string | null;
|
|
1558
|
+
id?: string;
|
|
1559
|
+
payload: import("../types/database.types").Json;
|
|
1485
1560
|
result?: import("../types/database.types").Json | null;
|
|
1486
|
-
|
|
1487
|
-
|
|
1488
|
-
sub_agent_id?: string | null;
|
|
1489
|
-
sub_agent_name?: string | null;
|
|
1561
|
+
session_id?: string | null;
|
|
1562
|
+
status?: string | null;
|
|
1490
1563
|
type: string;
|
|
1491
|
-
|
|
1492
|
-
user_id
|
|
1564
|
+
updated_at?: string;
|
|
1565
|
+
user_id?: string | null;
|
|
1566
|
+
worker_id?: string | null;
|
|
1493
1567
|
};
|
|
1494
1568
|
Update: {
|
|
1495
|
-
agent_id?: string;
|
|
1496
|
-
agent_name?: string | null;
|
|
1497
|
-
arguments?: import("../types/database.types").Json | null;
|
|
1498
|
-
content?: string | null;
|
|
1499
|
-
conversation_id?: string;
|
|
1500
1569
|
created_at?: string;
|
|
1570
|
+
error?: string | null;
|
|
1501
1571
|
id?: string;
|
|
1502
|
-
|
|
1572
|
+
payload?: import("../types/database.types").Json;
|
|
1503
1573
|
result?: import("../types/database.types").Json | null;
|
|
1504
|
-
|
|
1505
|
-
|
|
1506
|
-
sub_agent_id?: string | null;
|
|
1507
|
-
sub_agent_name?: string | null;
|
|
1574
|
+
session_id?: string | null;
|
|
1575
|
+
status?: string | null;
|
|
1508
1576
|
type?: string;
|
|
1509
|
-
|
|
1510
|
-
user_id?: string;
|
|
1577
|
+
updated_at?: string;
|
|
1578
|
+
user_id?: string | null;
|
|
1579
|
+
worker_id?: string | null;
|
|
1511
1580
|
};
|
|
1512
|
-
Relationships: [
|
|
1513
|
-
foreignKeyName: "voltagent_memory_steps_conversation_id_fkey";
|
|
1514
|
-
columns: ["conversation_id"];
|
|
1515
|
-
isOneToOne: false;
|
|
1516
|
-
referencedRelation: "voltagent_memory_conversations";
|
|
1517
|
-
referencedColumns: ["id"];
|
|
1518
|
-
}];
|
|
1581
|
+
Relationships: [];
|
|
1519
1582
|
};
|
|
1520
|
-
|
|
1521
|
-
|
|
1522
|
-
|
|
1523
|
-
|
|
1524
|
-
|
|
1525
|
-
|
|
1583
|
+
};
|
|
1584
|
+
Views: { [_ in never]: never; };
|
|
1585
|
+
Functions: {
|
|
1586
|
+
_sys_config_get: {
|
|
1587
|
+
Args: {
|
|
1588
|
+
p_key: string;
|
|
1526
1589
|
};
|
|
1527
|
-
|
|
1528
|
-
created_at?: string;
|
|
1529
|
-
id: string;
|
|
1530
|
-
metadata?: import("../types/database.types").Json | null;
|
|
1531
|
-
updated_at?: string;
|
|
1532
|
-
};
|
|
1533
|
-
Update: {
|
|
1534
|
-
created_at?: string;
|
|
1535
|
-
id?: string;
|
|
1536
|
-
metadata?: import("../types/database.types").Json | null;
|
|
1537
|
-
updated_at?: string;
|
|
1538
|
-
};
|
|
1539
|
-
Relationships: [];
|
|
1540
|
-
};
|
|
1541
|
-
voltagent_memory_workflow_states: {
|
|
1542
|
-
Row: {
|
|
1543
|
-
cancellation: import("../types/database.types").Json | null;
|
|
1544
|
-
conversation_id: string | null;
|
|
1545
|
-
created_at: string;
|
|
1546
|
-
events: import("../types/database.types").Json | null;
|
|
1547
|
-
id: string;
|
|
1548
|
-
metadata: import("../types/database.types").Json | null;
|
|
1549
|
-
output: import("../types/database.types").Json | null;
|
|
1550
|
-
status: string;
|
|
1551
|
-
suspension: import("../types/database.types").Json | null;
|
|
1552
|
-
updated_at: string;
|
|
1553
|
-
user_id: string | null;
|
|
1554
|
-
workflow_id: string;
|
|
1555
|
-
workflow_name: string;
|
|
1556
|
-
};
|
|
1557
|
-
Insert: {
|
|
1558
|
-
cancellation?: import("../types/database.types").Json | null;
|
|
1559
|
-
conversation_id?: string | null;
|
|
1560
|
-
created_at: string;
|
|
1561
|
-
events?: import("../types/database.types").Json | null;
|
|
1562
|
-
id: string;
|
|
1563
|
-
metadata?: import("../types/database.types").Json | null;
|
|
1564
|
-
output?: import("../types/database.types").Json | null;
|
|
1565
|
-
status: string;
|
|
1566
|
-
suspension?: import("../types/database.types").Json | null;
|
|
1567
|
-
updated_at: string;
|
|
1568
|
-
user_id?: string | null;
|
|
1569
|
-
workflow_id: string;
|
|
1570
|
-
workflow_name: string;
|
|
1571
|
-
};
|
|
1572
|
-
Update: {
|
|
1573
|
-
cancellation?: import("../types/database.types").Json | null;
|
|
1574
|
-
conversation_id?: string | null;
|
|
1575
|
-
created_at?: string;
|
|
1576
|
-
events?: import("../types/database.types").Json | null;
|
|
1577
|
-
id?: string;
|
|
1578
|
-
metadata?: import("../types/database.types").Json | null;
|
|
1579
|
-
output?: import("../types/database.types").Json | null;
|
|
1580
|
-
status?: string;
|
|
1581
|
-
suspension?: import("../types/database.types").Json | null;
|
|
1582
|
-
updated_at?: string;
|
|
1583
|
-
user_id?: string | null;
|
|
1584
|
-
workflow_id?: string;
|
|
1585
|
-
workflow_name?: string;
|
|
1586
|
-
};
|
|
1587
|
-
Relationships: [];
|
|
1588
|
-
};
|
|
1589
|
-
worker_tasks: {
|
|
1590
|
-
Row: {
|
|
1591
|
-
created_at: string;
|
|
1592
|
-
error: string | null;
|
|
1593
|
-
id: string;
|
|
1594
|
-
payload: import("../types/database.types").Json;
|
|
1595
|
-
result: import("../types/database.types").Json | null;
|
|
1596
|
-
session_id: string | null;
|
|
1597
|
-
status: string | null;
|
|
1598
|
-
type: string;
|
|
1599
|
-
updated_at: string;
|
|
1600
|
-
user_id: string | null;
|
|
1601
|
-
worker_id: string | null;
|
|
1602
|
-
};
|
|
1603
|
-
Insert: {
|
|
1604
|
-
created_at?: string;
|
|
1605
|
-
error?: string | null;
|
|
1606
|
-
id?: string;
|
|
1607
|
-
payload: import("../types/database.types").Json;
|
|
1608
|
-
result?: import("../types/database.types").Json | null;
|
|
1609
|
-
session_id?: string | null;
|
|
1610
|
-
status?: string | null;
|
|
1611
|
-
type: string;
|
|
1612
|
-
updated_at?: string;
|
|
1613
|
-
user_id?: string | null;
|
|
1614
|
-
worker_id?: string | null;
|
|
1615
|
-
};
|
|
1616
|
-
Update: {
|
|
1617
|
-
created_at?: string;
|
|
1618
|
-
error?: string | null;
|
|
1619
|
-
id?: string;
|
|
1620
|
-
payload?: import("../types/database.types").Json;
|
|
1621
|
-
result?: import("../types/database.types").Json | null;
|
|
1622
|
-
session_id?: string | null;
|
|
1623
|
-
status?: string | null;
|
|
1624
|
-
type?: string;
|
|
1625
|
-
updated_at?: string;
|
|
1626
|
-
user_id?: string | null;
|
|
1627
|
-
worker_id?: string | null;
|
|
1628
|
-
};
|
|
1629
|
-
Relationships: [];
|
|
1630
|
-
};
|
|
1631
|
-
workers: {
|
|
1632
|
-
Row: {
|
|
1633
|
-
config: import("../types/database.types").Json | null;
|
|
1634
|
-
container_id: string | null;
|
|
1635
|
-
created_at: string;
|
|
1636
|
-
host_id: string;
|
|
1637
|
-
id: string;
|
|
1638
|
-
is_managed: boolean | null;
|
|
1639
|
-
latest_pull_at: string | null;
|
|
1640
|
-
name: string | null;
|
|
1641
|
-
public_domain: string | null;
|
|
1642
|
-
state: import("../types/database.types").Json | null;
|
|
1643
|
-
status: string | null;
|
|
1644
|
-
updated_at: string;
|
|
1645
|
-
user_id: string | null;
|
|
1646
|
-
};
|
|
1647
|
-
Insert: {
|
|
1648
|
-
config?: import("../types/database.types").Json | null;
|
|
1649
|
-
container_id?: string | null;
|
|
1650
|
-
created_at?: string;
|
|
1651
|
-
host_id: string;
|
|
1652
|
-
id: string;
|
|
1653
|
-
is_managed?: boolean | null;
|
|
1654
|
-
latest_pull_at?: string | null;
|
|
1655
|
-
name?: string | null;
|
|
1656
|
-
public_domain?: string | null;
|
|
1657
|
-
state?: import("../types/database.types").Json | null;
|
|
1658
|
-
status?: string | null;
|
|
1659
|
-
updated_at?: string;
|
|
1660
|
-
user_id?: string | null;
|
|
1661
|
-
};
|
|
1662
|
-
Update: {
|
|
1663
|
-
config?: import("../types/database.types").Json | null;
|
|
1664
|
-
container_id?: string | null;
|
|
1665
|
-
created_at?: string;
|
|
1666
|
-
host_id?: string;
|
|
1667
|
-
id?: string;
|
|
1668
|
-
is_managed?: boolean | null;
|
|
1669
|
-
latest_pull_at?: string | null;
|
|
1670
|
-
name?: string | null;
|
|
1671
|
-
public_domain?: string | null;
|
|
1672
|
-
state?: import("../types/database.types").Json | null;
|
|
1673
|
-
status?: string | null;
|
|
1674
|
-
updated_at?: string;
|
|
1675
|
-
user_id?: string | null;
|
|
1676
|
-
};
|
|
1677
|
-
Relationships: [{
|
|
1678
|
-
foreignKeyName: "workers_host_id_fkey";
|
|
1679
|
-
columns: ["host_id"];
|
|
1680
|
-
isOneToOne: false;
|
|
1681
|
-
referencedRelation: "compute_nodes";
|
|
1682
|
-
referencedColumns: ["id"];
|
|
1683
|
-
}];
|
|
1684
|
-
};
|
|
1685
|
-
workflow_instances: {
|
|
1686
|
-
Row: {
|
|
1687
|
-
code_content: string | null;
|
|
1688
|
-
created_at: string | null;
|
|
1689
|
-
description: string | null;
|
|
1690
|
-
error_message: string | null;
|
|
1691
|
-
id: string;
|
|
1692
|
-
notebook_json: import("../types/database.types").Json | null;
|
|
1693
|
-
result: import("../types/database.types").Json | null;
|
|
1694
|
-
status: string | null;
|
|
1695
|
-
title: string | null;
|
|
1696
|
-
updated_at: string | null;
|
|
1697
|
-
user_id: string;
|
|
1698
|
-
};
|
|
1699
|
-
Insert: {
|
|
1700
|
-
code_content?: string | null;
|
|
1701
|
-
created_at?: string | null;
|
|
1702
|
-
description?: string | null;
|
|
1703
|
-
error_message?: string | null;
|
|
1704
|
-
id?: string;
|
|
1705
|
-
notebook_json?: import("../types/database.types").Json | null;
|
|
1706
|
-
result?: import("../types/database.types").Json | null;
|
|
1707
|
-
status?: string | null;
|
|
1708
|
-
title?: string | null;
|
|
1709
|
-
updated_at?: string | null;
|
|
1710
|
-
user_id: string;
|
|
1711
|
-
};
|
|
1712
|
-
Update: {
|
|
1713
|
-
code_content?: string | null;
|
|
1714
|
-
created_at?: string | null;
|
|
1715
|
-
description?: string | null;
|
|
1716
|
-
error_message?: string | null;
|
|
1717
|
-
id?: string;
|
|
1718
|
-
notebook_json?: import("../types/database.types").Json | null;
|
|
1719
|
-
result?: import("../types/database.types").Json | null;
|
|
1720
|
-
status?: string | null;
|
|
1721
|
-
title?: string | null;
|
|
1722
|
-
updated_at?: string | null;
|
|
1723
|
-
user_id?: string;
|
|
1724
|
-
};
|
|
1725
|
-
Relationships: [];
|
|
1726
|
-
};
|
|
1727
|
-
workflow_steps: {
|
|
1728
|
-
Row: {
|
|
1729
|
-
cell_output: import("../types/database.types").Json | null;
|
|
1730
|
-
cell_source: string | null;
|
|
1731
|
-
completed_at: string | null;
|
|
1732
|
-
id: string;
|
|
1733
|
-
logs: string | null;
|
|
1734
|
-
output_data: import("../types/database.types").Json | null;
|
|
1735
|
-
started_at: string | null;
|
|
1736
|
-
status: string | null;
|
|
1737
|
-
step_index: number | null;
|
|
1738
|
-
title: string;
|
|
1739
|
-
workflow_id: string | null;
|
|
1740
|
-
};
|
|
1741
|
-
Insert: {
|
|
1742
|
-
cell_output?: import("../types/database.types").Json | null;
|
|
1743
|
-
cell_source?: string | null;
|
|
1744
|
-
completed_at?: string | null;
|
|
1745
|
-
id?: string;
|
|
1746
|
-
logs?: string | null;
|
|
1747
|
-
output_data?: import("../types/database.types").Json | null;
|
|
1748
|
-
started_at?: string | null;
|
|
1749
|
-
status?: string | null;
|
|
1750
|
-
step_index?: number | null;
|
|
1751
|
-
title: string;
|
|
1752
|
-
workflow_id?: string | null;
|
|
1753
|
-
};
|
|
1754
|
-
Update: {
|
|
1755
|
-
cell_output?: import("../types/database.types").Json | null;
|
|
1756
|
-
cell_source?: string | null;
|
|
1757
|
-
completed_at?: string | null;
|
|
1758
|
-
id?: string;
|
|
1759
|
-
logs?: string | null;
|
|
1760
|
-
output_data?: import("../types/database.types").Json | null;
|
|
1761
|
-
started_at?: string | null;
|
|
1762
|
-
status?: string | null;
|
|
1763
|
-
step_index?: number | null;
|
|
1764
|
-
title?: string;
|
|
1765
|
-
workflow_id?: string | null;
|
|
1766
|
-
};
|
|
1767
|
-
Relationships: [{
|
|
1768
|
-
foreignKeyName: "workflow_steps_workflow_id_fkey";
|
|
1769
|
-
columns: ["workflow_id"];
|
|
1770
|
-
isOneToOne: false;
|
|
1771
|
-
referencedRelation: "workflow_instances";
|
|
1772
|
-
referencedColumns: ["id"];
|
|
1773
|
-
}];
|
|
1774
|
-
};
|
|
1775
|
-
};
|
|
1776
|
-
Views: {
|
|
1777
|
-
worker_summary: {
|
|
1778
|
-
Row: {
|
|
1779
|
-
created_at: string | null;
|
|
1780
|
-
host_id: string | null;
|
|
1781
|
-
id: string | null;
|
|
1782
|
-
is_online: boolean | null;
|
|
1783
|
-
latest_pull_at: string | null;
|
|
1784
|
-
latest_task: import("../types/database.types").Json | null;
|
|
1785
|
-
name: string | null;
|
|
1786
|
-
public_url: string | null;
|
|
1787
|
-
status: string | null;
|
|
1788
|
-
user_id: string | null;
|
|
1789
|
-
};
|
|
1790
|
-
Insert: {
|
|
1791
|
-
created_at?: string | null;
|
|
1792
|
-
host_id?: string | null;
|
|
1793
|
-
id?: string | null;
|
|
1794
|
-
is_online?: never;
|
|
1795
|
-
latest_pull_at?: string | null;
|
|
1796
|
-
latest_task?: never;
|
|
1797
|
-
name?: string | null;
|
|
1798
|
-
public_url?: never;
|
|
1799
|
-
status?: string | null;
|
|
1800
|
-
user_id?: string | null;
|
|
1801
|
-
};
|
|
1802
|
-
Update: {
|
|
1803
|
-
created_at?: string | null;
|
|
1804
|
-
host_id?: string | null;
|
|
1805
|
-
id?: string | null;
|
|
1806
|
-
is_online?: never;
|
|
1807
|
-
latest_pull_at?: string | null;
|
|
1808
|
-
latest_task?: never;
|
|
1809
|
-
name?: string | null;
|
|
1810
|
-
public_url?: never;
|
|
1811
|
-
status?: string | null;
|
|
1812
|
-
user_id?: string | null;
|
|
1813
|
-
};
|
|
1814
|
-
Relationships: [{
|
|
1815
|
-
foreignKeyName: "workers_host_id_fkey";
|
|
1816
|
-
columns: ["host_id"];
|
|
1817
|
-
isOneToOne: false;
|
|
1818
|
-
referencedRelation: "compute_nodes";
|
|
1819
|
-
referencedColumns: ["id"];
|
|
1820
|
-
}];
|
|
1590
|
+
Returns: import("../types/database.types").Json;
|
|
1821
1591
|
};
|
|
1822
|
-
};
|
|
1823
|
-
Functions: {
|
|
1824
1592
|
action_tool_query: {
|
|
1825
1593
|
Args: {
|
|
1826
1594
|
p_prefix?: string;
|
|
@@ -1888,13 +1656,13 @@ export declare function useSupabaseServer(cookieStore: Awaited<ReturnType<typeof
|
|
|
1888
1656
|
p_session_id: string;
|
|
1889
1657
|
p_user_id: string;
|
|
1890
1658
|
};
|
|
1891
|
-
Returns:
|
|
1892
|
-
|
|
1893
|
-
|
|
1894
|
-
|
|
1895
|
-
|
|
1896
|
-
|
|
1897
|
-
}
|
|
1659
|
+
Returns: Database["public"]["CompositeTypes"]["adk_artifact_meta_record"][];
|
|
1660
|
+
SetofOptions: {
|
|
1661
|
+
from: "*";
|
|
1662
|
+
to: "adk_artifact_meta_record";
|
|
1663
|
+
isOneToOne: false;
|
|
1664
|
+
isSetofReturn: true;
|
|
1665
|
+
};
|
|
1898
1666
|
};
|
|
1899
1667
|
adk_artifact_save: {
|
|
1900
1668
|
Args: {
|
|
@@ -2009,51 +1777,14 @@ export declare function useSupabaseServer(cookieStore: Awaited<ReturnType<typeof
|
|
|
2009
1777
|
isSetofReturn: false;
|
|
2010
1778
|
};
|
|
2011
1779
|
};
|
|
2012
|
-
|
|
1780
|
+
adk_quick_start_list: {
|
|
2013
1781
|
Args: {
|
|
2014
|
-
|
|
1782
|
+
p_agent_name?: string;
|
|
2015
1783
|
};
|
|
2016
1784
|
Returns: {
|
|
2017
|
-
|
|
2018
|
-
|
|
2019
|
-
|
|
2020
|
-
branch: string | null;
|
|
2021
|
-
citation_metadata: import("../types/database.types").Json | null;
|
|
2022
|
-
content: import("../types/database.types").Json | null;
|
|
2023
|
-
created_at: string;
|
|
2024
|
-
custom_metadata: import("../types/database.types").Json | null;
|
|
2025
|
-
error_code: string | null;
|
|
2026
|
-
error_message: string | null;
|
|
2027
|
-
grounding_metadata: import("../types/database.types").Json | null;
|
|
2028
|
-
id: string;
|
|
2029
|
-
input_transcription: import("../types/database.types").Json | null;
|
|
2030
|
-
interrupted: boolean | null;
|
|
2031
|
-
invocation_id: string | null;
|
|
2032
|
-
long_running_tool_ids_json: import("../types/database.types").Json | null;
|
|
2033
|
-
output_transcription: import("../types/database.types").Json | null;
|
|
2034
|
-
partial: boolean | null;
|
|
2035
|
-
session_id: string | null;
|
|
2036
|
-
timestamp: string | null;
|
|
2037
|
-
turn_complete: boolean | null;
|
|
2038
|
-
updated_at: string;
|
|
2039
|
-
usage_metadata: import("../types/database.types").Json | null;
|
|
2040
|
-
user_id: string | null;
|
|
2041
|
-
};
|
|
2042
|
-
SetofOptions: {
|
|
2043
|
-
from: "*";
|
|
2044
|
-
to: "adk_events";
|
|
2045
|
-
isOneToOne: true;
|
|
2046
|
-
isSetofReturn: false;
|
|
2047
|
-
};
|
|
2048
|
-
};
|
|
2049
|
-
adk_quick_start_list: {
|
|
2050
|
-
Args: {
|
|
2051
|
-
p_agent_name?: string;
|
|
2052
|
-
};
|
|
2053
|
-
Returns: {
|
|
2054
|
-
agent_name: string;
|
|
2055
|
-
created_at: string | null;
|
|
2056
|
-
description: string | null;
|
|
1785
|
+
agent_name: string;
|
|
1786
|
+
created_at: string | null;
|
|
1787
|
+
description: string | null;
|
|
2057
1788
|
id: string;
|
|
2058
1789
|
is_active: boolean | null;
|
|
2059
1790
|
ord: number | null;
|
|
@@ -2114,28 +1845,6 @@ export declare function useSupabaseServer(cookieStore: Awaited<ReturnType<typeof
|
|
|
2114
1845
|
isSetofReturn: true;
|
|
2115
1846
|
};
|
|
2116
1847
|
};
|
|
2117
|
-
adk_session_list_backup: {
|
|
2118
|
-
Args: {
|
|
2119
|
-
p_app_name: string;
|
|
2120
|
-
p_page_num?: number;
|
|
2121
|
-
p_page_size?: number;
|
|
2122
|
-
p_user_id?: string;
|
|
2123
|
-
};
|
|
2124
|
-
Returns: {
|
|
2125
|
-
app_name: string;
|
|
2126
|
-
created_at: string;
|
|
2127
|
-
id: string;
|
|
2128
|
-
state: import("../types/database.types").Json;
|
|
2129
|
-
updated_at: string | null;
|
|
2130
|
-
user_id: string;
|
|
2131
|
-
}[];
|
|
2132
|
-
SetofOptions: {
|
|
2133
|
-
from: "*";
|
|
2134
|
-
to: "adk_sessions";
|
|
2135
|
-
isOneToOne: false;
|
|
2136
|
-
isSetofReturn: true;
|
|
2137
|
-
};
|
|
2138
|
-
};
|
|
2139
1848
|
adk_session_upsert: {
|
|
2140
1849
|
Args: {
|
|
2141
1850
|
p_app_name: string;
|
|
@@ -2164,16 +1873,6 @@ export declare function useSupabaseServer(cookieStore: Awaited<ReturnType<typeof
|
|
|
2164
1873
|
};
|
|
2165
1874
|
Returns: import("../types/database.types").Json;
|
|
2166
1875
|
};
|
|
2167
|
-
agent_task_submit_laji: {
|
|
2168
|
-
Args: {
|
|
2169
|
-
p_app_name?: string;
|
|
2170
|
-
p_invocation_id?: string;
|
|
2171
|
-
p_session_id: string;
|
|
2172
|
-
p_text?: string;
|
|
2173
|
-
p_user_id?: string;
|
|
2174
|
-
};
|
|
2175
|
-
Returns: import("../types/database.types").Json;
|
|
2176
|
-
};
|
|
2177
1876
|
agent_tool_exec_read_sql: {
|
|
2178
1877
|
Args: {
|
|
2179
1878
|
p_max_chars?: number;
|
|
@@ -2182,12 +1881,6 @@ export declare function useSupabaseServer(cookieStore: Awaited<ReturnType<typeof
|
|
|
2182
1881
|
};
|
|
2183
1882
|
Returns: string;
|
|
2184
1883
|
};
|
|
2185
|
-
agent_tool_get_unanswered_chats_backup: {
|
|
2186
|
-
Args: {
|
|
2187
|
-
p_limit?: number;
|
|
2188
|
-
};
|
|
2189
|
-
Returns: import("../types/database.types").Json;
|
|
2190
|
-
};
|
|
2191
1884
|
audit_artifact_list: {
|
|
2192
1885
|
Args: {
|
|
2193
1886
|
p_project_id: string;
|
|
@@ -2234,6 +1927,31 @@ export declare function useSupabaseServer(cookieStore: Awaited<ReturnType<typeof
|
|
|
2234
1927
|
isSetofReturn: true;
|
|
2235
1928
|
};
|
|
2236
1929
|
};
|
|
1930
|
+
audit_asset_list_cursor: {
|
|
1931
|
+
Args: {
|
|
1932
|
+
p_cursor?: string;
|
|
1933
|
+
p_cursor_id?: string;
|
|
1934
|
+
p_kw?: string;
|
|
1935
|
+
p_limit?: number;
|
|
1936
|
+
p_project_id: string;
|
|
1937
|
+
};
|
|
1938
|
+
Returns: {
|
|
1939
|
+
content: string;
|
|
1940
|
+
created_at: string;
|
|
1941
|
+
id: string;
|
|
1942
|
+
metadata: import("../types/database.types").Json | null;
|
|
1943
|
+
project_id: string;
|
|
1944
|
+
status: string | null;
|
|
1945
|
+
type: string;
|
|
1946
|
+
updated_at: string;
|
|
1947
|
+
}[];
|
|
1948
|
+
SetofOptions: {
|
|
1949
|
+
from: "*";
|
|
1950
|
+
to: "audit_assets";
|
|
1951
|
+
isOneToOne: false;
|
|
1952
|
+
isSetofReturn: true;
|
|
1953
|
+
};
|
|
1954
|
+
};
|
|
2237
1955
|
audit_finding_list: {
|
|
2238
1956
|
Args: {
|
|
2239
1957
|
p_project_id: string;
|
|
@@ -2246,7 +1964,36 @@ export declare function useSupabaseServer(cookieStore: Awaited<ReturnType<typeof
|
|
|
2246
1964
|
project_id: string;
|
|
2247
1965
|
proof_poc: string | null;
|
|
2248
1966
|
remediation: string | null;
|
|
2249
|
-
severity:
|
|
1967
|
+
severity: Database["public"]["Enums"]["audit_finding_severity"] | null;
|
|
1968
|
+
status: string | null;
|
|
1969
|
+
task_id: string | null;
|
|
1970
|
+
title: string;
|
|
1971
|
+
updated_at: string;
|
|
1972
|
+
}[];
|
|
1973
|
+
SetofOptions: {
|
|
1974
|
+
from: "*";
|
|
1975
|
+
to: "audit_findings";
|
|
1976
|
+
isOneToOne: false;
|
|
1977
|
+
isSetofReturn: true;
|
|
1978
|
+
};
|
|
1979
|
+
};
|
|
1980
|
+
audit_finding_list_cursor: {
|
|
1981
|
+
Args: {
|
|
1982
|
+
p_cursor?: string;
|
|
1983
|
+
p_cursor_id?: string;
|
|
1984
|
+
p_kw?: string;
|
|
1985
|
+
p_limit?: number;
|
|
1986
|
+
p_project_id: string;
|
|
1987
|
+
};
|
|
1988
|
+
Returns: {
|
|
1989
|
+
ai_analysis: string | null;
|
|
1990
|
+
created_at: string;
|
|
1991
|
+
description: string | null;
|
|
1992
|
+
id: string;
|
|
1993
|
+
project_id: string;
|
|
1994
|
+
proof_poc: string | null;
|
|
1995
|
+
remediation: string | null;
|
|
1996
|
+
severity: Database["public"]["Enums"]["audit_finding_severity"] | null;
|
|
2250
1997
|
status: string | null;
|
|
2251
1998
|
task_id: string | null;
|
|
2252
1999
|
title: string;
|
|
@@ -2270,6 +2017,12 @@ export declare function useSupabaseServer(cookieStore: Awaited<ReturnType<typeof
|
|
|
2270
2017
|
};
|
|
2271
2018
|
Returns: import("../types/database.types").Json;
|
|
2272
2019
|
};
|
|
2020
|
+
audit_project_count: {
|
|
2021
|
+
Args: {
|
|
2022
|
+
p_kw?: string;
|
|
2023
|
+
};
|
|
2024
|
+
Returns: number;
|
|
2025
|
+
};
|
|
2273
2026
|
audit_project_dashboard_stats: {
|
|
2274
2027
|
Args: {
|
|
2275
2028
|
p_project_id: string;
|
|
@@ -2291,15 +2044,75 @@ export declare function useSupabaseServer(cookieStore: Awaited<ReturnType<typeof
|
|
|
2291
2044
|
Args: {
|
|
2292
2045
|
p_id: string;
|
|
2293
2046
|
};
|
|
2294
|
-
Returns:
|
|
2047
|
+
Returns: {
|
|
2048
|
+
config: import("../types/database.types").Json | null;
|
|
2049
|
+
created_at: string;
|
|
2050
|
+
id: string;
|
|
2051
|
+
name: string;
|
|
2052
|
+
repo_branch: string | null;
|
|
2053
|
+
repo_url: string | null;
|
|
2054
|
+
target: string | null;
|
|
2055
|
+
updated_at: string;
|
|
2056
|
+
user_id: string;
|
|
2057
|
+
worker_id: string | null;
|
|
2058
|
+
}[];
|
|
2059
|
+
SetofOptions: {
|
|
2060
|
+
from: "*";
|
|
2061
|
+
to: "audit_projects";
|
|
2062
|
+
isOneToOne: false;
|
|
2063
|
+
isSetofReturn: true;
|
|
2064
|
+
};
|
|
2295
2065
|
};
|
|
2296
2066
|
audit_project_list: {
|
|
2297
2067
|
Args: {
|
|
2298
|
-
|
|
2299
|
-
|
|
2300
|
-
|
|
2068
|
+
p_kw?: string;
|
|
2069
|
+
p_page_no?: number;
|
|
2070
|
+
p_page_size?: number;
|
|
2071
|
+
};
|
|
2072
|
+
Returns: {
|
|
2073
|
+
config: import("../types/database.types").Json | null;
|
|
2074
|
+
created_at: string;
|
|
2075
|
+
id: string;
|
|
2076
|
+
name: string;
|
|
2077
|
+
repo_branch: string | null;
|
|
2078
|
+
repo_url: string | null;
|
|
2079
|
+
target: string | null;
|
|
2080
|
+
updated_at: string;
|
|
2081
|
+
user_id: string;
|
|
2082
|
+
worker_id: string | null;
|
|
2083
|
+
}[];
|
|
2084
|
+
SetofOptions: {
|
|
2085
|
+
from: "*";
|
|
2086
|
+
to: "audit_projects";
|
|
2087
|
+
isOneToOne: false;
|
|
2088
|
+
isSetofReturn: true;
|
|
2089
|
+
};
|
|
2090
|
+
};
|
|
2091
|
+
audit_project_list_cursor: {
|
|
2092
|
+
Args: {
|
|
2093
|
+
p_cursor?: string;
|
|
2094
|
+
p_cursor_id?: string;
|
|
2095
|
+
p_kw?: string;
|
|
2096
|
+
p_limit?: number;
|
|
2097
|
+
};
|
|
2098
|
+
Returns: {
|
|
2099
|
+
config: import("../types/database.types").Json | null;
|
|
2100
|
+
created_at: string;
|
|
2101
|
+
id: string;
|
|
2102
|
+
name: string;
|
|
2103
|
+
repo_branch: string | null;
|
|
2104
|
+
repo_url: string | null;
|
|
2105
|
+
target: string | null;
|
|
2106
|
+
updated_at: string;
|
|
2107
|
+
user_id: string;
|
|
2108
|
+
worker_id: string | null;
|
|
2109
|
+
}[];
|
|
2110
|
+
SetofOptions: {
|
|
2111
|
+
from: "*";
|
|
2112
|
+
to: "audit_projects";
|
|
2113
|
+
isOneToOne: false;
|
|
2114
|
+
isSetofReturn: true;
|
|
2301
2115
|
};
|
|
2302
|
-
Returns: import("../types/database.types").Json;
|
|
2303
2116
|
};
|
|
2304
2117
|
audit_project_upsert: {
|
|
2305
2118
|
Args: {
|
|
@@ -2312,6 +2125,17 @@ export declare function useSupabaseServer(cookieStore: Awaited<ReturnType<typeof
|
|
|
2312
2125
|
p_worker_id?: string;
|
|
2313
2126
|
};
|
|
2314
2127
|
Returns: string;
|
|
2128
|
+
} | {
|
|
2129
|
+
Args: {
|
|
2130
|
+
p_config?: import("../types/database.types").Json;
|
|
2131
|
+
p_id?: string;
|
|
2132
|
+
p_name: string;
|
|
2133
|
+
p_repo_branch?: string;
|
|
2134
|
+
p_repo_url?: string;
|
|
2135
|
+
p_target?: string;
|
|
2136
|
+
p_worker_id?: string;
|
|
2137
|
+
};
|
|
2138
|
+
Returns: string;
|
|
2315
2139
|
};
|
|
2316
2140
|
audit_skill_list: {
|
|
2317
2141
|
Args: {
|
|
@@ -2336,9 +2160,9 @@ export declare function useSupabaseServer(cookieStore: Awaited<ReturnType<typeof
|
|
|
2336
2160
|
isSetofReturn: true;
|
|
2337
2161
|
};
|
|
2338
2162
|
};
|
|
2339
|
-
|
|
2163
|
+
audit_task_get: {
|
|
2340
2164
|
Args: {
|
|
2341
|
-
|
|
2165
|
+
p_id: string;
|
|
2342
2166
|
};
|
|
2343
2167
|
Returns: {
|
|
2344
2168
|
created_at: string;
|
|
@@ -2360,26 +2184,68 @@ export declare function useSupabaseServer(cookieStore: Awaited<ReturnType<typeof
|
|
|
2360
2184
|
isSetofReturn: true;
|
|
2361
2185
|
};
|
|
2362
2186
|
};
|
|
2363
|
-
|
|
2364
|
-
Args: never;
|
|
2365
|
-
Returns: string;
|
|
2366
|
-
};
|
|
2367
|
-
browser_assign_sandbox_laji: {
|
|
2187
|
+
audit_task_list: {
|
|
2368
2188
|
Args: {
|
|
2369
|
-
|
|
2189
|
+
p_project_id: string;
|
|
2190
|
+
};
|
|
2191
|
+
Returns: {
|
|
2192
|
+
created_at: string;
|
|
2193
|
+
id: string;
|
|
2194
|
+
instructions: string | null;
|
|
2195
|
+
logs_url: string | null;
|
|
2196
|
+
project_id: string;
|
|
2197
|
+
result_summary: string | null;
|
|
2198
|
+
sandbox_id: string | null;
|
|
2199
|
+
skill_id: string | null;
|
|
2200
|
+
status: string | null;
|
|
2201
|
+
updated_at: string;
|
|
2202
|
+
user_id: string | null;
|
|
2203
|
+
}[];
|
|
2204
|
+
SetofOptions: {
|
|
2205
|
+
from: "*";
|
|
2206
|
+
to: "audit_tasks";
|
|
2207
|
+
isOneToOne: false;
|
|
2208
|
+
isSetofReturn: true;
|
|
2370
2209
|
};
|
|
2371
|
-
Returns: import("../types/database.types").Json;
|
|
2372
2210
|
};
|
|
2373
|
-
|
|
2211
|
+
audit_task_upsert: {
|
|
2374
2212
|
Args: {
|
|
2375
|
-
|
|
2376
|
-
|
|
2213
|
+
p_id: string;
|
|
2214
|
+
p_instructions: string;
|
|
2215
|
+
p_logs_url?: string;
|
|
2216
|
+
p_project_id: string;
|
|
2217
|
+
p_result_summary?: string;
|
|
2218
|
+
p_sandbox_id?: string;
|
|
2219
|
+
p_skill_id?: string;
|
|
2220
|
+
p_status?: string;
|
|
2221
|
+
};
|
|
2222
|
+
Returns: {
|
|
2223
|
+
created_at: string;
|
|
2224
|
+
id: string;
|
|
2225
|
+
instructions: string | null;
|
|
2226
|
+
logs_url: string | null;
|
|
2227
|
+
project_id: string;
|
|
2228
|
+
result_summary: string | null;
|
|
2229
|
+
sandbox_id: string | null;
|
|
2230
|
+
skill_id: string | null;
|
|
2231
|
+
status: string | null;
|
|
2232
|
+
updated_at: string;
|
|
2233
|
+
user_id: string | null;
|
|
2234
|
+
}[];
|
|
2235
|
+
SetofOptions: {
|
|
2236
|
+
from: "*";
|
|
2237
|
+
to: "audit_tasks";
|
|
2238
|
+
isOneToOne: false;
|
|
2239
|
+
isSetofReturn: true;
|
|
2377
2240
|
};
|
|
2241
|
+
};
|
|
2242
|
+
auth_role: {
|
|
2243
|
+
Args: never;
|
|
2378
2244
|
Returns: string;
|
|
2379
2245
|
};
|
|
2380
2246
|
browser_delete: {
|
|
2381
2247
|
Args: {
|
|
2382
|
-
|
|
2248
|
+
p_id: string;
|
|
2383
2249
|
};
|
|
2384
2250
|
Returns: undefined;
|
|
2385
2251
|
};
|
|
@@ -2392,38 +2258,42 @@ export declare function useSupabaseServer(cookieStore: Awaited<ReturnType<typeof
|
|
|
2392
2258
|
};
|
|
2393
2259
|
browser_get: {
|
|
2394
2260
|
Args: {
|
|
2395
|
-
|
|
2396
|
-
};
|
|
2397
|
-
Returns: import("../types/database.types").Json;
|
|
2398
|
-
};
|
|
2399
|
-
browser_list: {
|
|
2400
|
-
Args: {
|
|
2401
|
-
kw?: string;
|
|
2402
|
-
page_no?: number;
|
|
2403
|
-
page_size?: number;
|
|
2261
|
+
p_id: string;
|
|
2404
2262
|
};
|
|
2405
2263
|
Returns: {
|
|
2406
|
-
|
|
2407
|
-
config: import("../types/database.types").Json;
|
|
2264
|
+
cdpUrl: string | null;
|
|
2265
|
+
config: import("../types/database.types").Json | null;
|
|
2408
2266
|
created_at: string;
|
|
2409
|
-
description: string;
|
|
2267
|
+
description: string | null;
|
|
2410
2268
|
id: string;
|
|
2411
|
-
|
|
2412
|
-
|
|
2413
|
-
|
|
2414
|
-
|
|
2415
|
-
|
|
2416
|
-
|
|
2417
|
-
|
|
2418
|
-
vnc_url: string;
|
|
2419
|
-
worker_name: string;
|
|
2269
|
+
profile_id: string | null;
|
|
2270
|
+
provider: string | null;
|
|
2271
|
+
provider_config: import("../types/database.types").Json | null;
|
|
2272
|
+
sandbox_id: string | null;
|
|
2273
|
+
title: string | null;
|
|
2274
|
+
updated_at: string | null;
|
|
2275
|
+
user_id: string | null;
|
|
2420
2276
|
}[];
|
|
2277
|
+
SetofOptions: {
|
|
2278
|
+
from: "*";
|
|
2279
|
+
to: "browsers";
|
|
2280
|
+
isOneToOne: false;
|
|
2281
|
+
isSetofReturn: true;
|
|
2282
|
+
};
|
|
2421
2283
|
};
|
|
2422
|
-
|
|
2284
|
+
browser_list: {
|
|
2423
2285
|
Args: {
|
|
2424
|
-
|
|
2286
|
+
p_kw?: string;
|
|
2287
|
+
p_page_no?: number;
|
|
2288
|
+
p_page_size?: number;
|
|
2289
|
+
};
|
|
2290
|
+
Returns: Database["public"]["CompositeTypes"]["browser_record"][];
|
|
2291
|
+
SetofOptions: {
|
|
2292
|
+
from: "*";
|
|
2293
|
+
to: "browser_record";
|
|
2294
|
+
isOneToOne: false;
|
|
2295
|
+
isSetofReturn: true;
|
|
2425
2296
|
};
|
|
2426
|
-
Returns: undefined;
|
|
2427
2297
|
};
|
|
2428
2298
|
browser_update_state: {
|
|
2429
2299
|
Args: {
|
|
@@ -2442,13 +2312,90 @@ export declare function useSupabaseServer(cookieStore: Awaited<ReturnType<typeof
|
|
|
2442
2312
|
p_provider_config?: import("../types/database.types").Json;
|
|
2443
2313
|
p_title?: string;
|
|
2444
2314
|
};
|
|
2445
|
-
Returns:
|
|
2315
|
+
Returns: {
|
|
2316
|
+
cdpUrl: string | null;
|
|
2317
|
+
config: import("../types/database.types").Json | null;
|
|
2318
|
+
created_at: string;
|
|
2319
|
+
description: string | null;
|
|
2320
|
+
id: string;
|
|
2321
|
+
profile_id: string | null;
|
|
2322
|
+
provider: string | null;
|
|
2323
|
+
provider_config: import("../types/database.types").Json | null;
|
|
2324
|
+
sandbox_id: string | null;
|
|
2325
|
+
title: string | null;
|
|
2326
|
+
updated_at: string | null;
|
|
2327
|
+
user_id: string | null;
|
|
2328
|
+
}[];
|
|
2329
|
+
SetofOptions: {
|
|
2330
|
+
from: "*";
|
|
2331
|
+
to: "browsers";
|
|
2332
|
+
isOneToOne: false;
|
|
2333
|
+
isSetofReturn: true;
|
|
2334
|
+
};
|
|
2446
2335
|
};
|
|
2447
|
-
|
|
2336
|
+
campaign_delete: {
|
|
2448
2337
|
Args: {
|
|
2449
|
-
|
|
2338
|
+
p_id: string;
|
|
2339
|
+
};
|
|
2340
|
+
Returns: boolean;
|
|
2341
|
+
};
|
|
2342
|
+
campaign_get: {
|
|
2343
|
+
Args: {
|
|
2344
|
+
p_id: string;
|
|
2345
|
+
};
|
|
2346
|
+
Returns: Database["public"]["CompositeTypes"]["campaign_record"][];
|
|
2347
|
+
SetofOptions: {
|
|
2348
|
+
from: "*";
|
|
2349
|
+
to: "campaign_record";
|
|
2350
|
+
isOneToOne: false;
|
|
2351
|
+
isSetofReturn: true;
|
|
2352
|
+
};
|
|
2353
|
+
};
|
|
2354
|
+
campaign_list_cursor: {
|
|
2355
|
+
Args: {
|
|
2356
|
+
p_cursor?: string;
|
|
2357
|
+
p_limit?: number;
|
|
2358
|
+
p_search?: string;
|
|
2359
|
+
p_status?: string;
|
|
2360
|
+
};
|
|
2361
|
+
Returns: Database["public"]["CompositeTypes"]["campaign_record"][];
|
|
2362
|
+
SetofOptions: {
|
|
2363
|
+
from: "*";
|
|
2364
|
+
to: "campaign_record";
|
|
2365
|
+
isOneToOne: false;
|
|
2366
|
+
isSetofReturn: true;
|
|
2367
|
+
};
|
|
2368
|
+
};
|
|
2369
|
+
campaign_pause: {
|
|
2370
|
+
Args: {
|
|
2371
|
+
p_id: string;
|
|
2372
|
+
};
|
|
2373
|
+
Returns: boolean;
|
|
2374
|
+
};
|
|
2375
|
+
campaign_start: {
|
|
2376
|
+
Args: {
|
|
2377
|
+
p_id: string;
|
|
2378
|
+
};
|
|
2379
|
+
Returns: boolean;
|
|
2380
|
+
};
|
|
2381
|
+
campaign_upsert: {
|
|
2382
|
+
Args: {
|
|
2383
|
+
p_config?: import("../types/database.types").Json;
|
|
2384
|
+
p_description?: string;
|
|
2385
|
+
p_id?: string;
|
|
2386
|
+
p_message_template?: string;
|
|
2387
|
+
p_name?: string;
|
|
2388
|
+
p_platform?: string;
|
|
2389
|
+
p_schedule?: import("../types/database.types").Json;
|
|
2390
|
+
p_target_filter?: import("../types/database.types").Json;
|
|
2391
|
+
};
|
|
2392
|
+
Returns: Database["public"]["CompositeTypes"]["campaign_record"][];
|
|
2393
|
+
SetofOptions: {
|
|
2394
|
+
from: "*";
|
|
2395
|
+
to: "campaign_record";
|
|
2396
|
+
isOneToOne: false;
|
|
2397
|
+
isSetofReturn: true;
|
|
2450
2398
|
};
|
|
2451
|
-
Returns: undefined;
|
|
2452
2399
|
};
|
|
2453
2400
|
chat_get: {
|
|
2454
2401
|
Args: {
|
|
@@ -2464,7 +2411,7 @@ export declare function useSupabaseServer(cookieStore: Awaited<ReturnType<typeof
|
|
|
2464
2411
|
type: string;
|
|
2465
2412
|
updated_at: string | null;
|
|
2466
2413
|
user_id: string | null;
|
|
2467
|
-
visibility:
|
|
2414
|
+
visibility: Database["public"]["Enums"]["chat_visibility"];
|
|
2468
2415
|
}[];
|
|
2469
2416
|
SetofOptions: {
|
|
2470
2417
|
from: "*";
|
|
@@ -2487,7 +2434,7 @@ export declare function useSupabaseServer(cookieStore: Awaited<ReturnType<typeof
|
|
|
2487
2434
|
type: string;
|
|
2488
2435
|
updated_at: string | null;
|
|
2489
2436
|
user_id: string | null;
|
|
2490
|
-
visibility:
|
|
2437
|
+
visibility: Database["public"]["Enums"]["chat_visibility"];
|
|
2491
2438
|
}[];
|
|
2492
2439
|
SetofOptions: {
|
|
2493
2440
|
from: "*";
|
|
@@ -2496,7 +2443,7 @@ export declare function useSupabaseServer(cookieStore: Awaited<ReturnType<typeof
|
|
|
2496
2443
|
isSetofReturn: true;
|
|
2497
2444
|
};
|
|
2498
2445
|
};
|
|
2499
|
-
|
|
2446
|
+
chat_message_batch_upsert: {
|
|
2500
2447
|
Args: {
|
|
2501
2448
|
p_chat_id?: string;
|
|
2502
2449
|
p_data?: import("../types/database.types").Json;
|
|
@@ -2517,7 +2464,7 @@ export declare function useSupabaseServer(cookieStore: Awaited<ReturnType<typeof
|
|
|
2517
2464
|
grounding_metadata: import("../types/database.types").Json | null;
|
|
2518
2465
|
id: string;
|
|
2519
2466
|
parts: import("../types/database.types").Json;
|
|
2520
|
-
role:
|
|
2467
|
+
role: Database["public"]["Enums"]["chat_role"];
|
|
2521
2468
|
updated_at: string;
|
|
2522
2469
|
user_id: string | null;
|
|
2523
2470
|
}[];
|
|
@@ -2543,7 +2490,7 @@ export declare function useSupabaseServer(cookieStore: Awaited<ReturnType<typeof
|
|
|
2543
2490
|
grounding_metadata: import("../types/database.types").Json | null;
|
|
2544
2491
|
id: string;
|
|
2545
2492
|
parts: import("../types/database.types").Json;
|
|
2546
|
-
role:
|
|
2493
|
+
role: Database["public"]["Enums"]["chat_role"];
|
|
2547
2494
|
updated_at: string;
|
|
2548
2495
|
user_id: string | null;
|
|
2549
2496
|
}[];
|
|
@@ -2570,7 +2517,7 @@ export declare function useSupabaseServer(cookieStore: Awaited<ReturnType<typeof
|
|
|
2570
2517
|
type: string;
|
|
2571
2518
|
updated_at: string | null;
|
|
2572
2519
|
user_id: string | null;
|
|
2573
|
-
visibility:
|
|
2520
|
+
visibility: Database["public"]["Enums"]["chat_visibility"];
|
|
2574
2521
|
};
|
|
2575
2522
|
SetofOptions: {
|
|
2576
2523
|
from: "*";
|
|
@@ -2579,14 +2526,190 @@ export declare function useSupabaseServer(cookieStore: Awaited<ReturnType<typeof
|
|
|
2579
2526
|
isSetofReturn: false;
|
|
2580
2527
|
};
|
|
2581
2528
|
};
|
|
2582
|
-
|
|
2529
|
+
cleanup_tunnel_async: {
|
|
2530
|
+
Args: {
|
|
2531
|
+
p_worker_id: string;
|
|
2532
|
+
};
|
|
2533
|
+
Returns: number;
|
|
2534
|
+
};
|
|
2535
|
+
cloud_account_bind_device: {
|
|
2536
|
+
Args: {
|
|
2537
|
+
p_fingerprint: import("../types/database.types").Json;
|
|
2538
|
+
p_id: string;
|
|
2539
|
+
};
|
|
2540
|
+
Returns: Database["public"]["CompositeTypes"]["cloud_account_record"][];
|
|
2541
|
+
SetofOptions: {
|
|
2542
|
+
from: "*";
|
|
2543
|
+
to: "cloud_account_record";
|
|
2544
|
+
isOneToOne: false;
|
|
2545
|
+
isSetofReturn: true;
|
|
2546
|
+
};
|
|
2547
|
+
};
|
|
2548
|
+
cloud_account_bulk_create: {
|
|
2549
|
+
Args: {
|
|
2550
|
+
p_account_names: string[];
|
|
2551
|
+
p_platform_name: string;
|
|
2552
|
+
p_status?: Database["public"]["Enums"]["cloud_account_status"];
|
|
2553
|
+
};
|
|
2554
|
+
Returns: Database["public"]["CompositeTypes"]["cloud_account_record"][];
|
|
2555
|
+
SetofOptions: {
|
|
2556
|
+
from: "*";
|
|
2557
|
+
to: "cloud_account_record";
|
|
2558
|
+
isOneToOne: false;
|
|
2559
|
+
isSetofReturn: true;
|
|
2560
|
+
};
|
|
2561
|
+
};
|
|
2562
|
+
cloud_account_check_expired_tokens: {
|
|
2583
2563
|
Args: never;
|
|
2564
|
+
Returns: {
|
|
2565
|
+
total_checked: number;
|
|
2566
|
+
total_expired: number;
|
|
2567
|
+
}[];
|
|
2568
|
+
};
|
|
2569
|
+
cloud_account_delete: {
|
|
2570
|
+
Args: {
|
|
2571
|
+
p_id: string;
|
|
2572
|
+
};
|
|
2573
|
+
Returns: Database["public"]["CompositeTypes"]["cloud_account_record"][];
|
|
2574
|
+
SetofOptions: {
|
|
2575
|
+
from: "*";
|
|
2576
|
+
to: "cloud_account_record";
|
|
2577
|
+
isOneToOne: false;
|
|
2578
|
+
isSetofReturn: true;
|
|
2579
|
+
};
|
|
2580
|
+
};
|
|
2581
|
+
cloud_account_device_delete_version: {
|
|
2582
|
+
Args: {
|
|
2583
|
+
p_id: string;
|
|
2584
|
+
p_version_id: string;
|
|
2585
|
+
};
|
|
2586
|
+
Returns: boolean;
|
|
2587
|
+
};
|
|
2588
|
+
cloud_account_device_restore: {
|
|
2589
|
+
Args: {
|
|
2590
|
+
p_id: string;
|
|
2591
|
+
p_version_id: string;
|
|
2592
|
+
};
|
|
2593
|
+
Returns: Database["public"]["CompositeTypes"]["cloud_account_record"][];
|
|
2594
|
+
SetofOptions: {
|
|
2595
|
+
from: "*";
|
|
2596
|
+
to: "cloud_account_record";
|
|
2597
|
+
isOneToOne: false;
|
|
2598
|
+
isSetofReturn: true;
|
|
2599
|
+
};
|
|
2600
|
+
};
|
|
2601
|
+
cloud_account_get: {
|
|
2602
|
+
Args: {
|
|
2603
|
+
p_id: string;
|
|
2604
|
+
};
|
|
2605
|
+
Returns: Database["public"]["CompositeTypes"]["cloud_account_record"][];
|
|
2606
|
+
SetofOptions: {
|
|
2607
|
+
from: "*";
|
|
2608
|
+
to: "cloud_account_record";
|
|
2609
|
+
isOneToOne: false;
|
|
2610
|
+
isSetofReturn: true;
|
|
2611
|
+
};
|
|
2612
|
+
};
|
|
2613
|
+
cloud_account_list_cursor: {
|
|
2614
|
+
Args: {
|
|
2615
|
+
p_cursor?: string;
|
|
2616
|
+
p_kw?: string;
|
|
2617
|
+
p_limit?: number;
|
|
2618
|
+
p_platform_name?: string;
|
|
2619
|
+
p_status?: Database["public"]["Enums"]["cloud_account_status"];
|
|
2620
|
+
};
|
|
2621
|
+
Returns: Database["public"]["CompositeTypes"]["cloud_account_record"][];
|
|
2622
|
+
SetofOptions: {
|
|
2623
|
+
from: "*";
|
|
2624
|
+
to: "cloud_account_record";
|
|
2625
|
+
isOneToOne: false;
|
|
2626
|
+
isSetofReturn: true;
|
|
2627
|
+
};
|
|
2628
|
+
};
|
|
2629
|
+
cloud_account_mark_refresh_failed: {
|
|
2630
|
+
Args: {
|
|
2631
|
+
p_error: string;
|
|
2632
|
+
p_id: string;
|
|
2633
|
+
};
|
|
2634
|
+
Returns: Database["public"]["CompositeTypes"]["cloud_account_record"][];
|
|
2635
|
+
SetofOptions: {
|
|
2636
|
+
from: "*";
|
|
2637
|
+
to: "cloud_account_record";
|
|
2638
|
+
isOneToOne: false;
|
|
2639
|
+
isSetofReturn: true;
|
|
2640
|
+
};
|
|
2641
|
+
};
|
|
2642
|
+
cloud_account_refresh_token: {
|
|
2643
|
+
Args: {
|
|
2644
|
+
p_access_token: string;
|
|
2645
|
+
p_expires_in?: unknown;
|
|
2646
|
+
p_id: string;
|
|
2647
|
+
p_refresh_expires_in?: unknown;
|
|
2648
|
+
p_refresh_token?: string;
|
|
2649
|
+
};
|
|
2650
|
+
Returns: Database["public"]["CompositeTypes"]["cloud_account_record"][];
|
|
2651
|
+
SetofOptions: {
|
|
2652
|
+
from: "*";
|
|
2653
|
+
to: "cloud_account_record";
|
|
2654
|
+
isOneToOne: false;
|
|
2655
|
+
isSetofReturn: true;
|
|
2656
|
+
};
|
|
2657
|
+
};
|
|
2658
|
+
cloud_account_session_load: {
|
|
2659
|
+
Args: {
|
|
2660
|
+
p_id: string;
|
|
2661
|
+
};
|
|
2662
|
+
Returns: string;
|
|
2663
|
+
};
|
|
2664
|
+
cloud_account_session_set: {
|
|
2665
|
+
Args: {
|
|
2666
|
+
p_id: string;
|
|
2667
|
+
p_session_data: import("../types/database.types").Json;
|
|
2668
|
+
};
|
|
2584
2669
|
Returns: undefined;
|
|
2585
2670
|
};
|
|
2586
|
-
|
|
2587
|
-
Args:
|
|
2671
|
+
cloud_account_session_store: {
|
|
2672
|
+
Args: {
|
|
2673
|
+
p_id: string;
|
|
2674
|
+
p_session: string;
|
|
2675
|
+
};
|
|
2676
|
+
Returns: undefined;
|
|
2677
|
+
};
|
|
2678
|
+
cloud_account_update_automation_config: {
|
|
2679
|
+
Args: {
|
|
2680
|
+
p_account_id: string;
|
|
2681
|
+
p_config: import("../types/database.types").Json;
|
|
2682
|
+
};
|
|
2588
2683
|
Returns: undefined;
|
|
2589
2684
|
};
|
|
2685
|
+
cloud_account_upsert: {
|
|
2686
|
+
Args: {
|
|
2687
|
+
p_access_token?: string;
|
|
2688
|
+
p_account_email?: string;
|
|
2689
|
+
p_account_name?: string;
|
|
2690
|
+
p_credentials?: import("../types/database.types").Json;
|
|
2691
|
+
p_device_fingerprint?: import("../types/database.types").Json;
|
|
2692
|
+
p_id?: string;
|
|
2693
|
+
p_metadata?: import("../types/database.types").Json;
|
|
2694
|
+
p_platform_name?: string;
|
|
2695
|
+
p_quota_data?: import("../types/database.types").Json;
|
|
2696
|
+
p_refresh_token?: string;
|
|
2697
|
+
p_refresh_token_expires_at?: string;
|
|
2698
|
+
p_session_data?: import("../types/database.types").Json;
|
|
2699
|
+
p_status?: Database["public"]["Enums"]["cloud_account_status"];
|
|
2700
|
+
p_status_reason?: string;
|
|
2701
|
+
p_token_expires_at?: string;
|
|
2702
|
+
p_token_type?: string;
|
|
2703
|
+
p_user_id?: string;
|
|
2704
|
+
};
|
|
2705
|
+
Returns: Database["public"]["CompositeTypes"]["cloud_account_record"][];
|
|
2706
|
+
SetofOptions: {
|
|
2707
|
+
from: "*";
|
|
2708
|
+
to: "cloud_account_record";
|
|
2709
|
+
isOneToOne: false;
|
|
2710
|
+
isSetofReturn: true;
|
|
2711
|
+
};
|
|
2712
|
+
};
|
|
2590
2713
|
compute_node_delete: {
|
|
2591
2714
|
Args: {
|
|
2592
2715
|
p_id: string;
|
|
@@ -2597,7 +2720,13 @@ export declare function useSupabaseServer(cookieStore: Awaited<ReturnType<typeof
|
|
|
2597
2720
|
Args: {
|
|
2598
2721
|
p_id: string;
|
|
2599
2722
|
};
|
|
2600
|
-
Returns:
|
|
2723
|
+
Returns: Database["public"]["CompositeTypes"]["compute_node_record"][];
|
|
2724
|
+
SetofOptions: {
|
|
2725
|
+
from: "*";
|
|
2726
|
+
to: "compute_node_record";
|
|
2727
|
+
isOneToOne: false;
|
|
2728
|
+
isSetofReturn: true;
|
|
2729
|
+
};
|
|
2601
2730
|
};
|
|
2602
2731
|
compute_node_get_secret: {
|
|
2603
2732
|
Args: {
|
|
@@ -2618,99 +2747,423 @@ export declare function useSupabaseServer(cookieStore: Awaited<ReturnType<typeof
|
|
|
2618
2747
|
p_provider?: string;
|
|
2619
2748
|
p_user_id?: string;
|
|
2620
2749
|
};
|
|
2621
|
-
Returns:
|
|
2622
|
-
|
|
2623
|
-
|
|
2624
|
-
|
|
2625
|
-
|
|
2626
|
-
|
|
2627
|
-
|
|
2628
|
-
provider: string;
|
|
2629
|
-
status: string;
|
|
2630
|
-
updated_at: string;
|
|
2631
|
-
user_id: string;
|
|
2632
|
-
username: string;
|
|
2633
|
-
worker_count: number;
|
|
2634
|
-
}[];
|
|
2750
|
+
Returns: Database["public"]["CompositeTypes"]["compute_node_record"][];
|
|
2751
|
+
SetofOptions: {
|
|
2752
|
+
from: "*";
|
|
2753
|
+
to: "compute_node_record";
|
|
2754
|
+
isOneToOne: false;
|
|
2755
|
+
isSetofReturn: true;
|
|
2756
|
+
};
|
|
2635
2757
|
};
|
|
2636
2758
|
compute_node_upsert: {
|
|
2637
2759
|
Args: {
|
|
2638
2760
|
p_auth_secret?: string;
|
|
2639
|
-
p_host
|
|
2640
|
-
p_id
|
|
2641
|
-
p_name
|
|
2761
|
+
p_host: string;
|
|
2762
|
+
p_id: string;
|
|
2763
|
+
p_name: string;
|
|
2642
2764
|
p_port?: number;
|
|
2643
|
-
p_provider
|
|
2765
|
+
p_provider: string;
|
|
2644
2766
|
p_username?: string;
|
|
2645
2767
|
};
|
|
2646
|
-
Returns:
|
|
2768
|
+
Returns: Database["public"]["CompositeTypes"]["compute_node_record"][];
|
|
2769
|
+
SetofOptions: {
|
|
2770
|
+
from: "*";
|
|
2771
|
+
to: "compute_node_record";
|
|
2772
|
+
isOneToOne: false;
|
|
2773
|
+
isSetofReturn: true;
|
|
2774
|
+
};
|
|
2647
2775
|
};
|
|
2648
|
-
|
|
2649
|
-
Args: never;
|
|
2650
|
-
Returns: import("../types/database.types").Json;
|
|
2651
|
-
} | {
|
|
2776
|
+
contact_add_tags: {
|
|
2652
2777
|
Args: {
|
|
2653
|
-
|
|
2778
|
+
p_ids: string[];
|
|
2779
|
+
p_tags: string[];
|
|
2654
2780
|
};
|
|
2655
|
-
Returns:
|
|
2781
|
+
Returns: number;
|
|
2656
2782
|
};
|
|
2657
|
-
|
|
2783
|
+
contact_bulk_import: {
|
|
2658
2784
|
Args: {
|
|
2659
|
-
|
|
2785
|
+
p_contacts: import("../types/database.types").Json;
|
|
2786
|
+
p_default_tags?: string[];
|
|
2787
|
+
p_platform?: string;
|
|
2788
|
+
p_source?: string;
|
|
2660
2789
|
};
|
|
2661
|
-
Returns:
|
|
2662
|
-
};
|
|
2663
|
-
demo_endpoints_check: {
|
|
2664
|
-
Args: never;
|
|
2665
|
-
Returns: {
|
|
2666
|
-
body: string;
|
|
2667
|
-
full_url: string;
|
|
2668
|
-
method: string;
|
|
2669
|
-
query: string;
|
|
2670
|
-
worker_id: string;
|
|
2671
|
-
}[];
|
|
2790
|
+
Returns: number;
|
|
2672
2791
|
};
|
|
2673
|
-
|
|
2792
|
+
contact_delete: {
|
|
2674
2793
|
Args: {
|
|
2675
|
-
|
|
2676
|
-
url: string;
|
|
2794
|
+
p_ids: string[];
|
|
2677
2795
|
};
|
|
2678
2796
|
Returns: number;
|
|
2679
2797
|
};
|
|
2680
|
-
|
|
2798
|
+
contact_get: {
|
|
2681
2799
|
Args: {
|
|
2682
|
-
|
|
2683
|
-
|
|
2800
|
+
p_id?: string;
|
|
2801
|
+
p_phone?: string;
|
|
2802
|
+
p_platform?: string;
|
|
2803
|
+
p_telegram_id?: number;
|
|
2804
|
+
};
|
|
2805
|
+
Returns: Database["public"]["CompositeTypes"]["contact_record"][];
|
|
2806
|
+
SetofOptions: {
|
|
2807
|
+
from: "*";
|
|
2808
|
+
to: "contact_record";
|
|
2809
|
+
isOneToOne: false;
|
|
2810
|
+
isSetofReturn: true;
|
|
2684
2811
|
};
|
|
2685
|
-
Returns: undefined;
|
|
2686
2812
|
};
|
|
2687
|
-
|
|
2813
|
+
contact_list_cursor: {
|
|
2688
2814
|
Args: {
|
|
2689
|
-
|
|
2815
|
+
p_cursor?: string;
|
|
2816
|
+
p_limit?: number;
|
|
2817
|
+
p_platform?: string;
|
|
2818
|
+
p_search?: string;
|
|
2819
|
+
p_status?: string;
|
|
2820
|
+
p_tags?: string[];
|
|
2821
|
+
};
|
|
2822
|
+
Returns: Database["public"]["CompositeTypes"]["contact_record"][];
|
|
2823
|
+
SetofOptions: {
|
|
2824
|
+
from: "*";
|
|
2825
|
+
to: "contact_record";
|
|
2826
|
+
isOneToOne: false;
|
|
2827
|
+
isSetofReturn: true;
|
|
2690
2828
|
};
|
|
2691
|
-
Returns: undefined;
|
|
2692
2829
|
};
|
|
2693
|
-
|
|
2830
|
+
contact_upsert: {
|
|
2694
2831
|
Args: {
|
|
2695
|
-
|
|
2696
|
-
|
|
2697
|
-
|
|
2832
|
+
p_email?: string;
|
|
2833
|
+
p_id?: string;
|
|
2834
|
+
p_metadata?: import("../types/database.types").Json;
|
|
2835
|
+
p_name?: string;
|
|
2836
|
+
p_phone?: string;
|
|
2837
|
+
p_platform?: string;
|
|
2838
|
+
p_source?: string;
|
|
2839
|
+
p_status?: string;
|
|
2840
|
+
p_tags?: string[];
|
|
2841
|
+
p_telegram_id?: number;
|
|
2842
|
+
p_telegram_username?: string;
|
|
2843
|
+
};
|
|
2844
|
+
Returns: Database["public"]["CompositeTypes"]["contact_record"][];
|
|
2845
|
+
SetofOptions: {
|
|
2846
|
+
from: "*";
|
|
2847
|
+
to: "contact_record";
|
|
2848
|
+
isOneToOne: false;
|
|
2849
|
+
isSetofReturn: true;
|
|
2850
|
+
};
|
|
2851
|
+
};
|
|
2852
|
+
create_notification: {
|
|
2853
|
+
Args: {
|
|
2854
|
+
p_action_payload?: import("../types/database.types").Json;
|
|
2855
|
+
p_action_type?: string;
|
|
2856
|
+
p_expires_in?: unknown;
|
|
2857
|
+
p_message?: string;
|
|
2858
|
+
p_priority?: string;
|
|
2859
|
+
p_source_id?: string;
|
|
2860
|
+
p_source_type?: string;
|
|
2861
|
+
p_title: string;
|
|
2862
|
+
p_type?: string;
|
|
2863
|
+
p_user_id: string;
|
|
2864
|
+
};
|
|
2865
|
+
Returns: string;
|
|
2866
|
+
};
|
|
2867
|
+
db_tool_query: {
|
|
2868
|
+
Args: {
|
|
2869
|
+
p_sql: string;
|
|
2870
|
+
};
|
|
2871
|
+
Returns: import("../types/database.types").Json;
|
|
2872
|
+
};
|
|
2873
|
+
dba_lint_scan: {
|
|
2874
|
+
Args: never;
|
|
2875
|
+
Returns: Database["public"]["CompositeTypes"]["dba_lint_issue"][];
|
|
2876
|
+
SetofOptions: {
|
|
2877
|
+
from: "*";
|
|
2878
|
+
to: "dba_lint_issue";
|
|
2879
|
+
isOneToOne: false;
|
|
2880
|
+
isSetofReturn: true;
|
|
2881
|
+
};
|
|
2882
|
+
};
|
|
2883
|
+
debug_role: {
|
|
2884
|
+
Args: never;
|
|
2885
|
+
Returns: string;
|
|
2886
|
+
};
|
|
2887
|
+
debug_sec_def: {
|
|
2888
|
+
Args: never;
|
|
2889
|
+
Returns: string;
|
|
2890
|
+
};
|
|
2891
|
+
get_encryption_key: {
|
|
2892
|
+
Args: never;
|
|
2893
|
+
Returns: string;
|
|
2698
2894
|
};
|
|
2699
2895
|
get_github_app_public_info: {
|
|
2700
2896
|
Args: never;
|
|
2701
2897
|
Returns: import("../types/database.types").Json;
|
|
2702
2898
|
};
|
|
2703
|
-
|
|
2899
|
+
get_jwt_role: {
|
|
2704
2900
|
Args: never;
|
|
2705
|
-
Returns:
|
|
2901
|
+
Returns: string;
|
|
2902
|
+
};
|
|
2903
|
+
get_lint_test_v1: {
|
|
2904
|
+
Args: never;
|
|
2905
|
+
Returns: string;
|
|
2906
|
+
};
|
|
2907
|
+
get_user_id_from_token: {
|
|
2908
|
+
Args: {
|
|
2909
|
+
p_token: string;
|
|
2910
|
+
};
|
|
2911
|
+
Returns: string;
|
|
2912
|
+
};
|
|
2913
|
+
gomtm_model_count: {
|
|
2914
|
+
Args: {
|
|
2915
|
+
p_is_active?: boolean;
|
|
2916
|
+
p_provider?: string;
|
|
2917
|
+
};
|
|
2918
|
+
Returns: number;
|
|
2919
|
+
};
|
|
2920
|
+
gomtm_model_delete: {
|
|
2921
|
+
Args: {
|
|
2922
|
+
p_id: string;
|
|
2923
|
+
};
|
|
2924
|
+
Returns: boolean;
|
|
2925
|
+
};
|
|
2926
|
+
gomtm_model_get: {
|
|
2927
|
+
Args: {
|
|
2928
|
+
p_id: string;
|
|
2929
|
+
};
|
|
2930
|
+
Returns: {
|
|
2931
|
+
api_base: string | null;
|
|
2932
|
+
api_key: string | null;
|
|
2933
|
+
config: import("../types/database.types").Json | null;
|
|
2934
|
+
created_at: string;
|
|
2935
|
+
id: string;
|
|
2936
|
+
is_active: boolean;
|
|
2937
|
+
linked_account_id: string | null;
|
|
2938
|
+
model: string;
|
|
2939
|
+
name: string;
|
|
2940
|
+
provider: string;
|
|
2941
|
+
updated_at: string;
|
|
2942
|
+
user_id: string;
|
|
2943
|
+
};
|
|
2944
|
+
SetofOptions: {
|
|
2945
|
+
from: "*";
|
|
2946
|
+
to: "gomtm_models";
|
|
2947
|
+
isOneToOne: true;
|
|
2948
|
+
isSetofReturn: false;
|
|
2949
|
+
};
|
|
2950
|
+
};
|
|
2951
|
+
gomtm_model_list: {
|
|
2952
|
+
Args: {
|
|
2953
|
+
p_is_active?: boolean;
|
|
2954
|
+
p_limit?: number;
|
|
2955
|
+
p_offset?: number;
|
|
2956
|
+
p_provider?: string;
|
|
2957
|
+
};
|
|
2958
|
+
Returns: {
|
|
2959
|
+
api_base: string;
|
|
2960
|
+
api_key: string;
|
|
2961
|
+
config: import("../types/database.types").Json;
|
|
2962
|
+
created_at: string;
|
|
2963
|
+
id: string;
|
|
2964
|
+
is_active: boolean;
|
|
2965
|
+
linked_account_id: string;
|
|
2966
|
+
model: string;
|
|
2967
|
+
name: string;
|
|
2968
|
+
provider: string;
|
|
2969
|
+
updated_at: string;
|
|
2970
|
+
user_id: string;
|
|
2971
|
+
}[];
|
|
2972
|
+
};
|
|
2973
|
+
gomtm_model_list_cursor: {
|
|
2974
|
+
Args: {
|
|
2975
|
+
p_cursor_id?: string;
|
|
2976
|
+
p_is_active?: boolean;
|
|
2977
|
+
p_limit?: number;
|
|
2978
|
+
p_provider?: string;
|
|
2979
|
+
};
|
|
2980
|
+
Returns: {
|
|
2981
|
+
api_base: string;
|
|
2982
|
+
api_key: string;
|
|
2983
|
+
config: import("../types/database.types").Json;
|
|
2984
|
+
created_at: string;
|
|
2985
|
+
id: string;
|
|
2986
|
+
is_active: boolean;
|
|
2987
|
+
linked_account_id: string;
|
|
2988
|
+
model: string;
|
|
2989
|
+
name: string;
|
|
2990
|
+
provider: string;
|
|
2991
|
+
updated_at: string;
|
|
2992
|
+
user_id: string;
|
|
2993
|
+
}[];
|
|
2994
|
+
};
|
|
2995
|
+
gomtm_model_upsert: {
|
|
2996
|
+
Args: {
|
|
2997
|
+
p_api_base?: string;
|
|
2998
|
+
p_api_key?: string;
|
|
2999
|
+
p_config?: import("../types/database.types").Json;
|
|
3000
|
+
p_id?: string;
|
|
3001
|
+
p_is_active?: boolean;
|
|
3002
|
+
p_linked_account_id?: string;
|
|
3003
|
+
p_model?: string;
|
|
3004
|
+
p_name?: string;
|
|
3005
|
+
p_provider?: string;
|
|
3006
|
+
};
|
|
3007
|
+
Returns: {
|
|
3008
|
+
api_base: string | null;
|
|
3009
|
+
api_key: string | null;
|
|
3010
|
+
config: import("../types/database.types").Json | null;
|
|
3011
|
+
created_at: string;
|
|
3012
|
+
id: string;
|
|
3013
|
+
is_active: boolean;
|
|
3014
|
+
linked_account_id: string | null;
|
|
3015
|
+
model: string;
|
|
3016
|
+
name: string;
|
|
3017
|
+
provider: string;
|
|
3018
|
+
updated_at: string;
|
|
3019
|
+
user_id: string;
|
|
3020
|
+
};
|
|
3021
|
+
SetofOptions: {
|
|
3022
|
+
from: "*";
|
|
3023
|
+
to: "gomtm_models";
|
|
3024
|
+
isOneToOne: true;
|
|
3025
|
+
isSetofReturn: false;
|
|
3026
|
+
};
|
|
3027
|
+
};
|
|
3028
|
+
handle_job_outreach_process: {
|
|
3029
|
+
Args: {
|
|
3030
|
+
p_payload?: import("../types/database.types").Json;
|
|
3031
|
+
};
|
|
3032
|
+
Returns: undefined;
|
|
3033
|
+
};
|
|
3034
|
+
handle_job_telegram_fetch_info: {
|
|
3035
|
+
Args: {
|
|
3036
|
+
p_payload: import("../types/database.types").Json;
|
|
3037
|
+
};
|
|
3038
|
+
Returns: undefined;
|
|
3039
|
+
};
|
|
3040
|
+
handle_job_telegram_fetch_sms: {
|
|
3041
|
+
Args: {
|
|
3042
|
+
p_payload: import("../types/database.types").Json;
|
|
3043
|
+
};
|
|
3044
|
+
Returns: undefined;
|
|
3045
|
+
};
|
|
3046
|
+
handle_job_tunnel_check_responses: {
|
|
3047
|
+
Args: {
|
|
3048
|
+
p_payload: import("../types/database.types").Json;
|
|
3049
|
+
};
|
|
3050
|
+
Returns: undefined;
|
|
3051
|
+
};
|
|
3052
|
+
handle_job_tunnel_setup: {
|
|
3053
|
+
Args: {
|
|
3054
|
+
p_payload: import("../types/database.types").Json;
|
|
3055
|
+
};
|
|
3056
|
+
Returns: undefined;
|
|
3057
|
+
};
|
|
3058
|
+
handle_job_worker_cleanup: {
|
|
3059
|
+
Args: {
|
|
3060
|
+
p_payload: import("../types/database.types").Json;
|
|
3061
|
+
};
|
|
3062
|
+
Returns: undefined;
|
|
3063
|
+
};
|
|
3064
|
+
init_tunnel_async: {
|
|
3065
|
+
Args: {
|
|
3066
|
+
p_instance_id: string;
|
|
3067
|
+
};
|
|
3068
|
+
Returns: number;
|
|
3069
|
+
};
|
|
3070
|
+
instance_tag_add: {
|
|
3071
|
+
Args: {
|
|
3072
|
+
p_instance_id: string;
|
|
3073
|
+
p_tag_id: string;
|
|
3074
|
+
};
|
|
3075
|
+
Returns: boolean;
|
|
3076
|
+
};
|
|
3077
|
+
instance_tag_remove: {
|
|
3078
|
+
Args: {
|
|
3079
|
+
p_instance_id: string;
|
|
3080
|
+
p_tag_id: string;
|
|
3081
|
+
};
|
|
3082
|
+
Returns: boolean;
|
|
3083
|
+
};
|
|
3084
|
+
instance_tags_get: {
|
|
3085
|
+
Args: {
|
|
3086
|
+
p_instance_id: string;
|
|
3087
|
+
};
|
|
3088
|
+
Returns: Database["public"]["CompositeTypes"]["tag_record"][];
|
|
3089
|
+
SetofOptions: {
|
|
3090
|
+
from: "*";
|
|
3091
|
+
to: "tag_record";
|
|
3092
|
+
isOneToOne: false;
|
|
3093
|
+
isSetofReturn: true;
|
|
3094
|
+
};
|
|
3095
|
+
};
|
|
3096
|
+
instance_tags_set: {
|
|
3097
|
+
Args: {
|
|
3098
|
+
p_instance_id: string;
|
|
3099
|
+
p_tag_ids: string[];
|
|
3100
|
+
};
|
|
3101
|
+
Returns: Database["public"]["CompositeTypes"]["tag_record"][];
|
|
3102
|
+
SetofOptions: {
|
|
3103
|
+
from: "*";
|
|
3104
|
+
to: "tag_record";
|
|
3105
|
+
isOneToOne: false;
|
|
3106
|
+
isSetofReturn: true;
|
|
3107
|
+
};
|
|
2706
3108
|
};
|
|
2707
3109
|
is_admin: {
|
|
2708
3110
|
Args: never;
|
|
2709
3111
|
Returns: boolean;
|
|
2710
3112
|
};
|
|
2711
|
-
|
|
3113
|
+
job_queue_get_stats: {
|
|
3114
|
+
Args: never;
|
|
3115
|
+
Returns: {
|
|
3116
|
+
dlq_count: number;
|
|
3117
|
+
msg_count: number;
|
|
3118
|
+
queue_name: string;
|
|
3119
|
+
}[];
|
|
3120
|
+
};
|
|
3121
|
+
job_queue_list_dlq: {
|
|
3122
|
+
Args: {
|
|
3123
|
+
p_limit?: number;
|
|
3124
|
+
p_offset?: number;
|
|
3125
|
+
p_queue: string;
|
|
3126
|
+
};
|
|
3127
|
+
Returns: {
|
|
3128
|
+
enqueued_at: string;
|
|
3129
|
+
message: import("../types/database.types").Json;
|
|
3130
|
+
msg_id: number;
|
|
3131
|
+
read_ct: number;
|
|
3132
|
+
}[];
|
|
3133
|
+
};
|
|
3134
|
+
job_queue_purge_dlq: {
|
|
3135
|
+
Args: {
|
|
3136
|
+
p_msg_ids: number[];
|
|
3137
|
+
p_queue: string;
|
|
3138
|
+
};
|
|
3139
|
+
Returns: undefined;
|
|
3140
|
+
};
|
|
3141
|
+
job_queue_retry_dlq: {
|
|
3142
|
+
Args: {
|
|
3143
|
+
p_msg_ids: number[];
|
|
3144
|
+
p_queue: string;
|
|
3145
|
+
};
|
|
3146
|
+
Returns: undefined;
|
|
3147
|
+
};
|
|
3148
|
+
job_submit: {
|
|
3149
|
+
Args: {
|
|
3150
|
+
p_delay_seconds?: number;
|
|
3151
|
+
p_payload: import("../types/database.types").Json;
|
|
3152
|
+
p_queue: string;
|
|
3153
|
+
p_type: string;
|
|
3154
|
+
};
|
|
3155
|
+
Returns: import("../types/database.types").Json;
|
|
3156
|
+
};
|
|
3157
|
+
lint_test_error_code: {
|
|
3158
|
+
Args: never;
|
|
3159
|
+
Returns: undefined;
|
|
3160
|
+
};
|
|
3161
|
+
lint_test_table_return: {
|
|
2712
3162
|
Args: never;
|
|
2713
|
-
Returns:
|
|
3163
|
+
Returns: {
|
|
3164
|
+
id: number;
|
|
3165
|
+
name: string;
|
|
3166
|
+
}[];
|
|
2714
3167
|
};
|
|
2715
3168
|
log: {
|
|
2716
3169
|
Args: {
|
|
@@ -2718,64 +3171,180 @@ export declare function useSupabaseServer(cookieStore: Awaited<ReturnType<typeof
|
|
|
2718
3171
|
};
|
|
2719
3172
|
Returns: undefined;
|
|
2720
3173
|
};
|
|
2721
|
-
|
|
3174
|
+
notification_complete_action: {
|
|
2722
3175
|
Args: {
|
|
2723
|
-
|
|
2724
|
-
|
|
2725
|
-
|
|
2726
|
-
|
|
2727
|
-
|
|
3176
|
+
p_id: string;
|
|
3177
|
+
};
|
|
3178
|
+
Returns: boolean;
|
|
3179
|
+
};
|
|
3180
|
+
notification_count: {
|
|
3181
|
+
Args: {
|
|
3182
|
+
p_include_dismissed?: boolean;
|
|
3183
|
+
p_unread_only?: boolean;
|
|
2728
3184
|
};
|
|
2729
3185
|
Returns: number;
|
|
2730
|
-
}
|
|
3186
|
+
};
|
|
3187
|
+
notification_dismiss: {
|
|
2731
3188
|
Args: {
|
|
2732
|
-
|
|
2733
|
-
|
|
2734
|
-
|
|
2735
|
-
|
|
2736
|
-
type?: string;
|
|
2737
|
-
url: string;
|
|
3189
|
+
p_dismiss_all?: boolean;
|
|
3190
|
+
p_id?: string;
|
|
3191
|
+
p_source_id?: string;
|
|
3192
|
+
p_source_type?: string;
|
|
2738
3193
|
};
|
|
2739
3194
|
Returns: number;
|
|
2740
3195
|
};
|
|
2741
|
-
|
|
3196
|
+
notification_get_pending_actions: {
|
|
3197
|
+
Args: never;
|
|
3198
|
+
Returns: Database["public"]["CompositeTypes"]["user_notification_record"][];
|
|
3199
|
+
SetofOptions: {
|
|
3200
|
+
from: "*";
|
|
3201
|
+
to: "user_notification_record";
|
|
3202
|
+
isOneToOne: false;
|
|
3203
|
+
isSetofReturn: true;
|
|
3204
|
+
};
|
|
3205
|
+
};
|
|
3206
|
+
notification_list: {
|
|
2742
3207
|
Args: {
|
|
2743
|
-
|
|
3208
|
+
p_action_type?: string;
|
|
3209
|
+
p_cursor?: string;
|
|
3210
|
+
p_include_dismissed?: boolean;
|
|
3211
|
+
p_limit?: number;
|
|
3212
|
+
p_source_type?: string;
|
|
3213
|
+
p_unread_only?: boolean;
|
|
3214
|
+
};
|
|
3215
|
+
Returns: Database["public"]["CompositeTypes"]["user_notification_record"][];
|
|
3216
|
+
SetofOptions: {
|
|
3217
|
+
from: "*";
|
|
3218
|
+
to: "user_notification_record";
|
|
3219
|
+
isOneToOne: false;
|
|
3220
|
+
isSetofReturn: true;
|
|
2744
3221
|
};
|
|
2745
|
-
Returns: undefined;
|
|
2746
3222
|
};
|
|
2747
|
-
|
|
3223
|
+
notification_mark_read: {
|
|
2748
3224
|
Args: {
|
|
2749
|
-
|
|
3225
|
+
p_id?: string;
|
|
3226
|
+
p_mark_all?: boolean;
|
|
2750
3227
|
};
|
|
2751
|
-
Returns:
|
|
3228
|
+
Returns: number;
|
|
2752
3229
|
};
|
|
2753
|
-
|
|
3230
|
+
outreach_process_pending_tasks: {
|
|
2754
3231
|
Args: {
|
|
2755
|
-
|
|
3232
|
+
p_limit?: number;
|
|
3233
|
+
};
|
|
3234
|
+
Returns: number;
|
|
3235
|
+
};
|
|
3236
|
+
outreach_retry_failed_tasks: {
|
|
3237
|
+
Args: {
|
|
3238
|
+
p_campaign_id?: string;
|
|
3239
|
+
};
|
|
3240
|
+
Returns: number;
|
|
3241
|
+
};
|
|
3242
|
+
outreach_task_list: {
|
|
3243
|
+
Args: {
|
|
3244
|
+
p_campaign_id?: string;
|
|
3245
|
+
p_limit?: number;
|
|
3246
|
+
p_offset?: number;
|
|
3247
|
+
p_status?: string;
|
|
3248
|
+
};
|
|
3249
|
+
Returns: Database["public"]["CompositeTypes"]["outreach_task_record"][];
|
|
3250
|
+
SetofOptions: {
|
|
3251
|
+
from: "*";
|
|
3252
|
+
to: "outreach_task_record";
|
|
3253
|
+
isOneToOne: false;
|
|
3254
|
+
isSetofReturn: true;
|
|
3255
|
+
};
|
|
3256
|
+
};
|
|
3257
|
+
proxy_delete: {
|
|
3258
|
+
Args: {
|
|
3259
|
+
p_id: string;
|
|
3260
|
+
};
|
|
3261
|
+
Returns: boolean;
|
|
3262
|
+
};
|
|
3263
|
+
proxy_get: {
|
|
3264
|
+
Args: {
|
|
3265
|
+
p_id: string;
|
|
3266
|
+
};
|
|
3267
|
+
Returns: {
|
|
3268
|
+
created_at: string;
|
|
3269
|
+
description: string | null;
|
|
3270
|
+
enabled: boolean;
|
|
3271
|
+
id: string;
|
|
3272
|
+
name: string | null;
|
|
3273
|
+
type: string | null;
|
|
3274
|
+
updated_at: string | null;
|
|
3275
|
+
url: string;
|
|
3276
|
+
user_id: string | null;
|
|
3277
|
+
};
|
|
3278
|
+
SetofOptions: {
|
|
3279
|
+
from: "*";
|
|
3280
|
+
to: "proxies";
|
|
3281
|
+
isOneToOne: true;
|
|
3282
|
+
isSetofReturn: false;
|
|
3283
|
+
};
|
|
3284
|
+
};
|
|
3285
|
+
proxy_list: {
|
|
3286
|
+
Args: {
|
|
3287
|
+
p_kw?: string;
|
|
3288
|
+
p_page_no?: number;
|
|
3289
|
+
p_page_size?: number;
|
|
3290
|
+
};
|
|
3291
|
+
Returns: {
|
|
3292
|
+
created_at: string;
|
|
3293
|
+
description: string | null;
|
|
3294
|
+
enabled: boolean;
|
|
3295
|
+
id: string;
|
|
3296
|
+
name: string | null;
|
|
3297
|
+
type: string | null;
|
|
3298
|
+
updated_at: string | null;
|
|
3299
|
+
url: string;
|
|
3300
|
+
user_id: string | null;
|
|
3301
|
+
}[];
|
|
3302
|
+
SetofOptions: {
|
|
3303
|
+
from: "*";
|
|
3304
|
+
to: "proxies";
|
|
3305
|
+
isOneToOne: false;
|
|
3306
|
+
isSetofReturn: true;
|
|
3307
|
+
};
|
|
3308
|
+
};
|
|
3309
|
+
proxy_upsert: {
|
|
3310
|
+
Args: {
|
|
3311
|
+
p_description?: string;
|
|
3312
|
+
p_enabled?: boolean;
|
|
3313
|
+
p_id: string;
|
|
3314
|
+
p_name: string;
|
|
3315
|
+
p_type: string;
|
|
3316
|
+
p_url: string;
|
|
2756
3317
|
};
|
|
2757
3318
|
Returns: {
|
|
2758
3319
|
created_at: string;
|
|
2759
|
-
data: import("../types/database.types").Json | null;
|
|
2760
3320
|
description: string | null;
|
|
2761
|
-
|
|
2762
|
-
icon: string | null;
|
|
3321
|
+
enabled: boolean;
|
|
2763
3322
|
id: string;
|
|
2764
|
-
|
|
2765
|
-
meta: import("../types/database.types").Json | null;
|
|
2766
|
-
target_id: string | null;
|
|
2767
|
-
title: string | null;
|
|
3323
|
+
name: string | null;
|
|
2768
3324
|
type: string | null;
|
|
2769
3325
|
updated_at: string | null;
|
|
3326
|
+
url: string;
|
|
2770
3327
|
user_id: string | null;
|
|
2771
3328
|
}[];
|
|
2772
3329
|
SetofOptions: {
|
|
2773
3330
|
from: "*";
|
|
2774
|
-
to: "
|
|
3331
|
+
to: "proxies";
|
|
2775
3332
|
isOneToOne: false;
|
|
2776
3333
|
isSetofReturn: true;
|
|
2777
3334
|
};
|
|
2778
3335
|
};
|
|
3336
|
+
resource_delete: {
|
|
3337
|
+
Args: {
|
|
3338
|
+
p_resource_id: string;
|
|
3339
|
+
};
|
|
3340
|
+
Returns: undefined;
|
|
3341
|
+
};
|
|
3342
|
+
resource_get: {
|
|
3343
|
+
Args: {
|
|
3344
|
+
p_resource_id: string;
|
|
3345
|
+
};
|
|
3346
|
+
Returns: import("../types/database.types").Json;
|
|
3347
|
+
};
|
|
2779
3348
|
resource_list: {
|
|
2780
3349
|
Args: {
|
|
2781
3350
|
p_kw?: string;
|
|
@@ -2795,12 +3364,6 @@ export declare function useSupabaseServer(cookieStore: Awaited<ReturnType<typeof
|
|
|
2795
3364
|
url: string;
|
|
2796
3365
|
}[];
|
|
2797
3366
|
};
|
|
2798
|
-
resource_list_v2_laji: {
|
|
2799
|
-
Args: {
|
|
2800
|
-
params: import("../types/database.types").Json;
|
|
2801
|
-
};
|
|
2802
|
-
Returns: import("../types/database.types").Json;
|
|
2803
|
-
};
|
|
2804
3367
|
resource_upsert: {
|
|
2805
3368
|
Args: {
|
|
2806
3369
|
content: import("../types/database.types").Json;
|
|
@@ -2843,78 +3406,139 @@ export declare function useSupabaseServer(cookieStore: Awaited<ReturnType<typeof
|
|
|
2843
3406
|
isSetofReturn: true;
|
|
2844
3407
|
};
|
|
2845
3408
|
};
|
|
2846
|
-
|
|
3409
|
+
server_instance_delete: {
|
|
3410
|
+
Args: {
|
|
3411
|
+
target_id: string;
|
|
3412
|
+
};
|
|
3413
|
+
Returns: undefined;
|
|
3414
|
+
};
|
|
3415
|
+
server_instance_get: {
|
|
2847
3416
|
Args: {
|
|
2848
|
-
|
|
2849
|
-
p_service_type?: string;
|
|
3417
|
+
p_id?: string;
|
|
2850
3418
|
};
|
|
2851
3419
|
Returns: {
|
|
3420
|
+
cloudflared_token: string | null;
|
|
2852
3421
|
created_at: string;
|
|
3422
|
+
host_id: string | null;
|
|
2853
3423
|
id: string;
|
|
2854
|
-
|
|
2855
|
-
|
|
2856
|
-
|
|
2857
|
-
|
|
3424
|
+
is_shared: boolean | null;
|
|
3425
|
+
latest_pull_at: string | null;
|
|
3426
|
+
name: string | null;
|
|
3427
|
+
runtime: string | null;
|
|
3428
|
+
state: import("../types/database.types").Json | null;
|
|
3429
|
+
status: Database["public"]["Enums"]["worker_status"] | null;
|
|
3430
|
+
updated_at: string;
|
|
3431
|
+
user_id: string | null;
|
|
3432
|
+
}[];
|
|
3433
|
+
SetofOptions: {
|
|
3434
|
+
from: "*";
|
|
3435
|
+
to: "servers";
|
|
3436
|
+
isOneToOne: false;
|
|
3437
|
+
isSetofReturn: true;
|
|
3438
|
+
};
|
|
3439
|
+
};
|
|
3440
|
+
server_instance_heartbeat: {
|
|
3441
|
+
Args: {
|
|
3442
|
+
p_instance_id: string;
|
|
3443
|
+
};
|
|
3444
|
+
Returns: {
|
|
3445
|
+
error: string;
|
|
3446
|
+
success: boolean;
|
|
3447
|
+
temp_domain: string;
|
|
3448
|
+
}[];
|
|
3449
|
+
};
|
|
3450
|
+
server_instance_list: {
|
|
3451
|
+
Args: {
|
|
3452
|
+
kw?: string;
|
|
3453
|
+
p_host_id?: string;
|
|
3454
|
+
page_no?: number;
|
|
3455
|
+
page_size?: number;
|
|
3456
|
+
};
|
|
3457
|
+
Returns: {
|
|
3458
|
+
cloudflared_token: string | null;
|
|
3459
|
+
created_at: string;
|
|
3460
|
+
host_id: string | null;
|
|
3461
|
+
id: string;
|
|
3462
|
+
is_shared: boolean | null;
|
|
3463
|
+
latest_pull_at: string | null;
|
|
3464
|
+
name: string | null;
|
|
3465
|
+
runtime: string | null;
|
|
3466
|
+
state: import("../types/database.types").Json | null;
|
|
3467
|
+
status: Database["public"]["Enums"]["worker_status"] | null;
|
|
2858
3468
|
updated_at: string;
|
|
2859
3469
|
user_id: string | null;
|
|
2860
|
-
worker_id: string | null;
|
|
2861
3470
|
}[];
|
|
2862
3471
|
SetofOptions: {
|
|
2863
3472
|
from: "*";
|
|
2864
|
-
to: "
|
|
3473
|
+
to: "servers";
|
|
2865
3474
|
isOneToOne: false;
|
|
2866
3475
|
isSetofReturn: true;
|
|
2867
3476
|
};
|
|
2868
3477
|
};
|
|
2869
|
-
|
|
3478
|
+
server_instance_list_cursor: {
|
|
2870
3479
|
Args: {
|
|
2871
|
-
|
|
3480
|
+
p_cursor_id?: string;
|
|
3481
|
+
p_cursor_is_shared?: boolean;
|
|
3482
|
+
p_cursor_updated_at?: string;
|
|
3483
|
+
p_host_id?: string;
|
|
3484
|
+
p_is_shared?: boolean;
|
|
2872
3485
|
p_kw?: string;
|
|
2873
3486
|
p_limit?: number;
|
|
2874
|
-
|
|
3487
|
+
p_tag_ids?: string[];
|
|
2875
3488
|
};
|
|
2876
3489
|
Returns: {
|
|
3490
|
+
cloudflared_token: string | null;
|
|
2877
3491
|
created_at: string;
|
|
3492
|
+
host_id: string | null;
|
|
2878
3493
|
id: string;
|
|
2879
|
-
|
|
2880
|
-
|
|
2881
|
-
|
|
2882
|
-
|
|
3494
|
+
is_shared: boolean | null;
|
|
3495
|
+
latest_pull_at: string | null;
|
|
3496
|
+
name: string | null;
|
|
3497
|
+
runtime: string | null;
|
|
3498
|
+
state: import("../types/database.types").Json | null;
|
|
3499
|
+
status: Database["public"]["Enums"]["worker_status"] | null;
|
|
2883
3500
|
updated_at: string;
|
|
2884
3501
|
user_id: string | null;
|
|
2885
|
-
worker_id: string | null;
|
|
2886
3502
|
}[];
|
|
2887
3503
|
SetofOptions: {
|
|
2888
3504
|
from: "*";
|
|
2889
|
-
to: "
|
|
3505
|
+
to: "servers";
|
|
2890
3506
|
isOneToOne: false;
|
|
2891
3507
|
isSetofReturn: true;
|
|
2892
3508
|
};
|
|
2893
3509
|
};
|
|
2894
|
-
|
|
3510
|
+
server_instance_upsert: {
|
|
2895
3511
|
Args: {
|
|
2896
|
-
|
|
2897
|
-
|
|
2898
|
-
|
|
2899
|
-
|
|
2900
|
-
|
|
3512
|
+
p_cloudflared_token?: string;
|
|
3513
|
+
p_host_id?: string;
|
|
3514
|
+
p_id: string;
|
|
3515
|
+
p_is_managed?: boolean;
|
|
3516
|
+
p_is_shared?: boolean;
|
|
3517
|
+
p_name?: string;
|
|
3518
|
+
p_runtime?: string;
|
|
3519
|
+
p_state?: import("../types/database.types").Json;
|
|
3520
|
+
p_status?: Database["public"]["Enums"]["worker_status"];
|
|
3521
|
+
p_user_id?: string;
|
|
2901
3522
|
};
|
|
2902
3523
|
Returns: {
|
|
3524
|
+
cloudflared_token: string | null;
|
|
2903
3525
|
created_at: string;
|
|
3526
|
+
host_id: string | null;
|
|
2904
3527
|
id: string;
|
|
2905
|
-
|
|
2906
|
-
|
|
2907
|
-
|
|
2908
|
-
|
|
3528
|
+
is_shared: boolean | null;
|
|
3529
|
+
latest_pull_at: string | null;
|
|
3530
|
+
name: string | null;
|
|
3531
|
+
runtime: string | null;
|
|
3532
|
+
state: import("../types/database.types").Json | null;
|
|
3533
|
+
status: Database["public"]["Enums"]["worker_status"] | null;
|
|
2909
3534
|
updated_at: string;
|
|
2910
3535
|
user_id: string | null;
|
|
2911
|
-
|
|
2912
|
-
};
|
|
3536
|
+
}[];
|
|
2913
3537
|
SetofOptions: {
|
|
2914
3538
|
from: "*";
|
|
2915
|
-
to: "
|
|
2916
|
-
isOneToOne:
|
|
2917
|
-
isSetofReturn:
|
|
3539
|
+
to: "servers";
|
|
3540
|
+
isOneToOne: false;
|
|
3541
|
+
isSetofReturn: true;
|
|
2918
3542
|
};
|
|
2919
3543
|
};
|
|
2920
3544
|
sys_config_get: {
|
|
@@ -2974,9 +3598,35 @@ export declare function useSupabaseServer(cookieStore: Awaited<ReturnType<typeof
|
|
|
2974
3598
|
};
|
|
2975
3599
|
Returns: undefined;
|
|
2976
3600
|
};
|
|
2977
|
-
|
|
3601
|
+
tag_delete: {
|
|
3602
|
+
Args: {
|
|
3603
|
+
p_id: string;
|
|
3604
|
+
};
|
|
3605
|
+
Returns: boolean;
|
|
3606
|
+
};
|
|
3607
|
+
tag_list: {
|
|
2978
3608
|
Args: never;
|
|
2979
|
-
Returns:
|
|
3609
|
+
Returns: Database["public"]["CompositeTypes"]["tag_record"][];
|
|
3610
|
+
SetofOptions: {
|
|
3611
|
+
from: "*";
|
|
3612
|
+
to: "tag_record";
|
|
3613
|
+
isOneToOne: false;
|
|
3614
|
+
isSetofReturn: true;
|
|
3615
|
+
};
|
|
3616
|
+
};
|
|
3617
|
+
tag_upsert: {
|
|
3618
|
+
Args: {
|
|
3619
|
+
p_color?: string;
|
|
3620
|
+
p_id?: string;
|
|
3621
|
+
p_name?: string;
|
|
3622
|
+
};
|
|
3623
|
+
Returns: Database["public"]["CompositeTypes"]["tag_record"][];
|
|
3624
|
+
SetofOptions: {
|
|
3625
|
+
from: "*";
|
|
3626
|
+
to: "tag_record";
|
|
3627
|
+
isOneToOne: false;
|
|
3628
|
+
isSetofReturn: true;
|
|
3629
|
+
};
|
|
2980
3630
|
};
|
|
2981
3631
|
task_submit: {
|
|
2982
3632
|
Args: {
|
|
@@ -2985,6 +3635,38 @@ export declare function useSupabaseServer(cookieStore: Awaited<ReturnType<typeof
|
|
|
2985
3635
|
};
|
|
2986
3636
|
Returns: import("../types/database.types").Json;
|
|
2987
3637
|
};
|
|
3638
|
+
tear_down_test_data: {
|
|
3639
|
+
Args: never;
|
|
3640
|
+
Returns: import("../types/database.types").Json;
|
|
3641
|
+
};
|
|
3642
|
+
telegram_login_start: {
|
|
3643
|
+
Args: {
|
|
3644
|
+
p_account_id: string;
|
|
3645
|
+
};
|
|
3646
|
+
Returns: undefined;
|
|
3647
|
+
};
|
|
3648
|
+
telegram_login_submit_2fa: {
|
|
3649
|
+
Args: {
|
|
3650
|
+
p_account_id: string;
|
|
3651
|
+
p_password: string;
|
|
3652
|
+
};
|
|
3653
|
+
Returns: undefined;
|
|
3654
|
+
};
|
|
3655
|
+
telegram_login_submit_code: {
|
|
3656
|
+
Args: {
|
|
3657
|
+
p_account_id: string;
|
|
3658
|
+
p_code: string;
|
|
3659
|
+
};
|
|
3660
|
+
Returns: undefined;
|
|
3661
|
+
};
|
|
3662
|
+
test_lint_all_plpgsql_functions: {
|
|
3663
|
+
Args: never;
|
|
3664
|
+
Returns: {
|
|
3665
|
+
check_result: string;
|
|
3666
|
+
function_name: string;
|
|
3667
|
+
severity: string;
|
|
3668
|
+
}[];
|
|
3669
|
+
};
|
|
2988
3670
|
uid_by_email: {
|
|
2989
3671
|
Args: {
|
|
2990
3672
|
email: string;
|
|
@@ -3031,96 +3713,51 @@ export declare function useSupabaseServer(cookieStore: Awaited<ReturnType<typeof
|
|
|
3031
3713
|
};
|
|
3032
3714
|
Returns: string;
|
|
3033
3715
|
};
|
|
3034
|
-
|
|
3035
|
-
Args: {
|
|
3036
|
-
msg_id: number;
|
|
3037
|
-
};
|
|
3038
|
-
Returns: undefined;
|
|
3039
|
-
} | {
|
|
3040
|
-
Args: {
|
|
3041
|
-
msg_id: number;
|
|
3042
|
-
worker_id: string;
|
|
3043
|
-
};
|
|
3044
|
-
Returns: undefined;
|
|
3045
|
-
};
|
|
3046
|
-
worker_delete: {
|
|
3047
|
-
Args: {
|
|
3048
|
-
target_id: string;
|
|
3049
|
-
};
|
|
3050
|
-
Returns: undefined;
|
|
3051
|
-
};
|
|
3052
|
-
worker_ensure_queue: {
|
|
3053
|
-
Args: {
|
|
3054
|
-
p_worker_id: string;
|
|
3055
|
-
};
|
|
3056
|
-
Returns: undefined;
|
|
3057
|
-
};
|
|
3058
|
-
worker_fail: {
|
|
3059
|
-
Args: {
|
|
3060
|
-
msg_id: number;
|
|
3061
|
-
};
|
|
3062
|
-
Returns: undefined;
|
|
3063
|
-
};
|
|
3064
|
-
worker_get: {
|
|
3065
|
-
Args: {
|
|
3066
|
-
p_id?: string;
|
|
3067
|
-
p_is_active?: boolean;
|
|
3068
|
-
};
|
|
3069
|
-
Returns: import("../types/database.types").Json;
|
|
3070
|
-
};
|
|
3071
|
-
worker_get_active: {
|
|
3716
|
+
user_profile_get: {
|
|
3072
3717
|
Args: never;
|
|
3073
|
-
Returns:
|
|
3718
|
+
Returns: Database["public"]["CompositeTypes"]["user_profile_record"][];
|
|
3719
|
+
SetofOptions: {
|
|
3720
|
+
from: "*";
|
|
3721
|
+
to: "user_profile_record";
|
|
3722
|
+
isOneToOne: false;
|
|
3723
|
+
isSetofReturn: true;
|
|
3724
|
+
};
|
|
3074
3725
|
};
|
|
3075
|
-
|
|
3726
|
+
user_profile_upsert: {
|
|
3076
3727
|
Args: {
|
|
3077
|
-
|
|
3728
|
+
p_avatar_url: string;
|
|
3729
|
+
p_full_name: string;
|
|
3730
|
+
p_username: string;
|
|
3731
|
+
p_website: string;
|
|
3078
3732
|
};
|
|
3079
3733
|
Returns: {
|
|
3080
|
-
|
|
3081
|
-
|
|
3082
|
-
description: string | null;
|
|
3083
|
-
hash1: string | null;
|
|
3084
|
-
icon: string | null;
|
|
3734
|
+
avatar_url: string | null;
|
|
3735
|
+
full_name: string | null;
|
|
3085
3736
|
id: string;
|
|
3086
|
-
is_public: boolean | null;
|
|
3087
|
-
meta: import("../types/database.types").Json | null;
|
|
3088
|
-
target_id: string | null;
|
|
3089
|
-
title: string | null;
|
|
3090
|
-
type: string | null;
|
|
3091
3737
|
updated_at: string | null;
|
|
3092
|
-
|
|
3093
|
-
|
|
3738
|
+
username: string | null;
|
|
3739
|
+
website: string | null;
|
|
3740
|
+
};
|
|
3094
3741
|
SetofOptions: {
|
|
3095
3742
|
from: "*";
|
|
3096
|
-
to: "
|
|
3097
|
-
isOneToOne:
|
|
3098
|
-
isSetofReturn:
|
|
3743
|
+
to: "profiles";
|
|
3744
|
+
isOneToOne: true;
|
|
3745
|
+
isSetofReturn: false;
|
|
3099
3746
|
};
|
|
3100
3747
|
};
|
|
3101
|
-
|
|
3748
|
+
worker_ack: {
|
|
3102
3749
|
Args: {
|
|
3103
|
-
|
|
3750
|
+
p_instance_id: string;
|
|
3751
|
+
p_msg_id: number;
|
|
3104
3752
|
};
|
|
3105
|
-
Returns:
|
|
3753
|
+
Returns: undefined;
|
|
3106
3754
|
};
|
|
3107
|
-
|
|
3755
|
+
worker_process_queue: {
|
|
3108
3756
|
Args: {
|
|
3109
|
-
|
|
3110
|
-
|
|
3111
|
-
page_no?: number;
|
|
3112
|
-
page_size?: number;
|
|
3757
|
+
p_limit?: number;
|
|
3758
|
+
p_queue: string;
|
|
3113
3759
|
};
|
|
3114
|
-
Returns:
|
|
3115
|
-
config: import("../types/database.types").Json;
|
|
3116
|
-
host_id: string;
|
|
3117
|
-
id: string;
|
|
3118
|
-
is_public: boolean;
|
|
3119
|
-
name: string;
|
|
3120
|
-
state: import("../types/database.types").Json;
|
|
3121
|
-
status: string;
|
|
3122
|
-
updated_at: string;
|
|
3123
|
-
}[];
|
|
3760
|
+
Returns: undefined;
|
|
3124
3761
|
};
|
|
3125
3762
|
worker_prune_queues: {
|
|
3126
3763
|
Args: never;
|
|
@@ -3128,38 +3765,10 @@ export declare function useSupabaseServer(cookieStore: Awaited<ReturnType<typeof
|
|
|
3128
3765
|
};
|
|
3129
3766
|
worker_pull: {
|
|
3130
3767
|
Args: {
|
|
3131
|
-
|
|
3768
|
+
p_instance_id: string;
|
|
3132
3769
|
};
|
|
3133
3770
|
Returns: import("../types/database.types").Json[];
|
|
3134
3771
|
};
|
|
3135
|
-
worker_task_list: {
|
|
3136
|
-
Args: {
|
|
3137
|
-
p_limit?: number;
|
|
3138
|
-
p_session_id?: string;
|
|
3139
|
-
p_status_in?: string[];
|
|
3140
|
-
p_type?: string;
|
|
3141
|
-
p_user_id?: string;
|
|
3142
|
-
};
|
|
3143
|
-
Returns: {
|
|
3144
|
-
created_at: string;
|
|
3145
|
-
error: string | null;
|
|
3146
|
-
id: string;
|
|
3147
|
-
payload: import("../types/database.types").Json;
|
|
3148
|
-
result: import("../types/database.types").Json | null;
|
|
3149
|
-
session_id: string | null;
|
|
3150
|
-
status: string | null;
|
|
3151
|
-
type: string;
|
|
3152
|
-
updated_at: string;
|
|
3153
|
-
user_id: string | null;
|
|
3154
|
-
worker_id: string | null;
|
|
3155
|
-
}[];
|
|
3156
|
-
SetofOptions: {
|
|
3157
|
-
from: "*";
|
|
3158
|
-
to: "worker_tasks";
|
|
3159
|
-
isOneToOne: false;
|
|
3160
|
-
isSetofReturn: true;
|
|
3161
|
-
};
|
|
3162
|
-
};
|
|
3163
3772
|
worker_task_upsert: {
|
|
3164
3773
|
Args: {
|
|
3165
3774
|
p_error?: string;
|
|
@@ -3173,28 +3782,203 @@ export declare function useSupabaseServer(cookieStore: Awaited<ReturnType<typeof
|
|
|
3173
3782
|
};
|
|
3174
3783
|
Returns: string;
|
|
3175
3784
|
};
|
|
3176
|
-
worker_upsert: {
|
|
3177
|
-
Args: {
|
|
3178
|
-
p_config?: import("../types/database.types").Json;
|
|
3179
|
-
p_host_id?: string;
|
|
3180
|
-
p_id?: string;
|
|
3181
|
-
p_is_managed?: boolean;
|
|
3182
|
-
p_name?: string;
|
|
3183
|
-
p_status?: string;
|
|
3184
|
-
};
|
|
3185
|
-
Returns: import("../types/database.types").Json;
|
|
3186
|
-
};
|
|
3187
|
-
workers_status_check: {
|
|
3188
|
-
Args: {
|
|
3189
|
-
filter: string;
|
|
3190
|
-
};
|
|
3191
|
-
Returns: string;
|
|
3192
|
-
};
|
|
3193
3785
|
};
|
|
3194
3786
|
Enums: {
|
|
3195
3787
|
app_role: "admin" | "moderator" | "member";
|
|
3788
|
+
audit_finding_severity: "critical" | "high" | "medium" | "low" | "info";
|
|
3789
|
+
chat_role: "system" | "user" | "assistant" | "model" | "error" | "tool";
|
|
3790
|
+
chat_visibility: "private" | "public";
|
|
3791
|
+
cloud_account_status: "pending" | "active" | "token_expired" | "needs_reauth" | "quota_exceeded" | "suspended" | "disabled";
|
|
3792
|
+
compute_node_status: "online" | "offline";
|
|
3793
|
+
telegram_login_step: "pending" | "send_code" | "wait_code" | "verify_code" | "need_2fa" | "success" | "failed" | "fetch_info";
|
|
3794
|
+
worker_status: "starting" | "running" | "stopping" | "stopped" | "offline";
|
|
3795
|
+
};
|
|
3796
|
+
CompositeTypes: {
|
|
3797
|
+
adk_artifact_meta_record: {
|
|
3798
|
+
version: number | null;
|
|
3799
|
+
canonical_uri: string | null;
|
|
3800
|
+
custom_metadata: import("../types/database.types").Json | null;
|
|
3801
|
+
create_time: number | null;
|
|
3802
|
+
mime_type: string | null;
|
|
3803
|
+
};
|
|
3804
|
+
browser_record: {
|
|
3805
|
+
id: string | null;
|
|
3806
|
+
created_at: string | null;
|
|
3807
|
+
updated_at: string | null;
|
|
3808
|
+
title: string | null;
|
|
3809
|
+
description: string | null;
|
|
3810
|
+
profile_id: string | null;
|
|
3811
|
+
provider: string | null;
|
|
3812
|
+
provider_config: import("../types/database.types").Json | null;
|
|
3813
|
+
config: import("../types/database.types").Json | null;
|
|
3814
|
+
sandbox_id: string | null;
|
|
3815
|
+
vnc_url: string | null;
|
|
3816
|
+
browser_api_url: string | null;
|
|
3817
|
+
worker_name: string | null;
|
|
3818
|
+
is_running: boolean | null;
|
|
3819
|
+
};
|
|
3820
|
+
campaign_record: {
|
|
3821
|
+
id: string | null;
|
|
3822
|
+
created_at: string | null;
|
|
3823
|
+
updated_at: string | null;
|
|
3824
|
+
started_at: string | null;
|
|
3825
|
+
completed_at: string | null;
|
|
3826
|
+
user_id: string | null;
|
|
3827
|
+
name: string | null;
|
|
3828
|
+
description: string | null;
|
|
3829
|
+
platform: string | null;
|
|
3830
|
+
status: string | null;
|
|
3831
|
+
config: import("../types/database.types").Json | null;
|
|
3832
|
+
message_template: string | null;
|
|
3833
|
+
target_filter: import("../types/database.types").Json | null;
|
|
3834
|
+
schedule: import("../types/database.types").Json | null;
|
|
3835
|
+
stats: import("../types/database.types").Json | null;
|
|
3836
|
+
};
|
|
3837
|
+
cloud_account_record: {
|
|
3838
|
+
id: string | null;
|
|
3839
|
+
created_at: string | null;
|
|
3840
|
+
updated_at: string | null;
|
|
3841
|
+
user_id: string | null;
|
|
3842
|
+
platform_name: string | null;
|
|
3843
|
+
account_email: string | null;
|
|
3844
|
+
account_name: string | null;
|
|
3845
|
+
token_type: string | null;
|
|
3846
|
+
token_expires_at: string | null;
|
|
3847
|
+
refresh_token_expires_at: string | null;
|
|
3848
|
+
last_refresh_at: string | null;
|
|
3849
|
+
status: Database["public"]["Enums"]["cloud_account_status"] | null;
|
|
3850
|
+
status_reason: string | null;
|
|
3851
|
+
status_updated_at: string | null;
|
|
3852
|
+
session_data: import("../types/database.types").Json | null;
|
|
3853
|
+
device_fingerprint: import("../types/database.types").Json | null;
|
|
3854
|
+
quota_data: import("../types/database.types").Json | null;
|
|
3855
|
+
metadata: import("../types/database.types").Json | null;
|
|
3856
|
+
proxy_disabled: boolean | null;
|
|
3857
|
+
last_used_at: string | null;
|
|
3858
|
+
use_count: number | null;
|
|
3859
|
+
device_history: import("../types/database.types").Json[] | null;
|
|
3860
|
+
credentials: import("../types/database.types").Json | null;
|
|
3861
|
+
};
|
|
3862
|
+
compute_node_record: {
|
|
3863
|
+
id: string | null;
|
|
3864
|
+
user_id: string | null;
|
|
3865
|
+
name: string | null;
|
|
3866
|
+
provider: string | null;
|
|
3867
|
+
host: string | null;
|
|
3868
|
+
port: number | null;
|
|
3869
|
+
username: string | null;
|
|
3870
|
+
auth_secret: string | null;
|
|
3871
|
+
status: Database["public"]["Enums"]["compute_node_status"] | null;
|
|
3872
|
+
worker_count: number | null;
|
|
3873
|
+
updated_at: string | null;
|
|
3874
|
+
is_public: boolean | null;
|
|
3875
|
+
created_at: string | null;
|
|
3876
|
+
};
|
|
3877
|
+
contact_record: {
|
|
3878
|
+
id: string | null;
|
|
3879
|
+
created_at: string | null;
|
|
3880
|
+
updated_at: string | null;
|
|
3881
|
+
user_id: string | null;
|
|
3882
|
+
name: string | null;
|
|
3883
|
+
phone: string | null;
|
|
3884
|
+
telegram_id: number | null;
|
|
3885
|
+
telegram_username: string | null;
|
|
3886
|
+
email: string | null;
|
|
3887
|
+
platform: string | null;
|
|
3888
|
+
source: string | null;
|
|
3889
|
+
tags: string[] | null;
|
|
3890
|
+
status: string | null;
|
|
3891
|
+
metadata: import("../types/database.types").Json | null;
|
|
3892
|
+
};
|
|
3893
|
+
dba_lint_issue: {
|
|
3894
|
+
object_type: string | null;
|
|
3895
|
+
object_name: string | null;
|
|
3896
|
+
issue_category: string | null;
|
|
3897
|
+
issue: string | null;
|
|
3898
|
+
suggestion: string | null;
|
|
3899
|
+
severity: string | null;
|
|
3900
|
+
};
|
|
3901
|
+
outreach_task_record: {
|
|
3902
|
+
id: string | null;
|
|
3903
|
+
created_at: string | null;
|
|
3904
|
+
updated_at: string | null;
|
|
3905
|
+
user_id: string | null;
|
|
3906
|
+
campaign_id: string | null;
|
|
3907
|
+
contact_id: string | null;
|
|
3908
|
+
cloud_account_id: string | null;
|
|
3909
|
+
status: string | null;
|
|
3910
|
+
priority: number | null;
|
|
3911
|
+
scheduled_at: string | null;
|
|
3912
|
+
executed_at: string | null;
|
|
3913
|
+
retry_count: number | null;
|
|
3914
|
+
error_message: string | null;
|
|
3915
|
+
metadata: import("../types/database.types").Json | null;
|
|
3916
|
+
};
|
|
3917
|
+
server_instance_record: {
|
|
3918
|
+
id: string | null;
|
|
3919
|
+
name: string | null;
|
|
3920
|
+
updated_at: string | null;
|
|
3921
|
+
config: import("../types/database.types").Json | null;
|
|
3922
|
+
status: Database["public"]["Enums"]["worker_status"] | null;
|
|
3923
|
+
host_id: string | null;
|
|
3924
|
+
is_public: boolean | null;
|
|
3925
|
+
state: import("../types/database.types").Json | null;
|
|
3926
|
+
created_at: string | null;
|
|
3927
|
+
user_id: string | null;
|
|
3928
|
+
container_id: string | null;
|
|
3929
|
+
is_managed: boolean | null;
|
|
3930
|
+
type: string | null;
|
|
3931
|
+
runtime: string | null;
|
|
3932
|
+
is_shared: boolean | null;
|
|
3933
|
+
latest_pull_at: string | null;
|
|
3934
|
+
host_name: string | null;
|
|
3935
|
+
host_address: string | null;
|
|
3936
|
+
host_user: string | null;
|
|
3937
|
+
host_port: number | null;
|
|
3938
|
+
host_auth_secret: string | null;
|
|
3939
|
+
};
|
|
3940
|
+
tag_record: {
|
|
3941
|
+
id: string | null;
|
|
3942
|
+
name: string | null;
|
|
3943
|
+
color: string | null;
|
|
3944
|
+
user_id: string | null;
|
|
3945
|
+
created_at: string | null;
|
|
3946
|
+
updated_at: string | null;
|
|
3947
|
+
instance_count: number | null;
|
|
3948
|
+
};
|
|
3949
|
+
test_result: {
|
|
3950
|
+
test_name: string | null;
|
|
3951
|
+
passed: boolean | null;
|
|
3952
|
+
message: string | null;
|
|
3953
|
+
};
|
|
3954
|
+
user_notification_record: {
|
|
3955
|
+
id: string | null;
|
|
3956
|
+
created_at: string | null;
|
|
3957
|
+
updated_at: string | null;
|
|
3958
|
+
user_id: string | null;
|
|
3959
|
+
title: string | null;
|
|
3960
|
+
message: string | null;
|
|
3961
|
+
notification_type: string | null;
|
|
3962
|
+
priority: string | null;
|
|
3963
|
+
source_type: string | null;
|
|
3964
|
+
source_id: string | null;
|
|
3965
|
+
action_type: string | null;
|
|
3966
|
+
action_payload: import("../types/database.types").Json | null;
|
|
3967
|
+
action_completed_at: string | null;
|
|
3968
|
+
is_read: boolean | null;
|
|
3969
|
+
read_at: string | null;
|
|
3970
|
+
dismissed_at: string | null;
|
|
3971
|
+
expires_at: string | null;
|
|
3972
|
+
};
|
|
3973
|
+
user_profile_record: {
|
|
3974
|
+
id: string | null;
|
|
3975
|
+
full_name: string | null;
|
|
3976
|
+
username: string | null;
|
|
3977
|
+
website: string | null;
|
|
3978
|
+
avatar_url: string | null;
|
|
3979
|
+
updated_at: string | null;
|
|
3980
|
+
};
|
|
3196
3981
|
};
|
|
3197
|
-
CompositeTypes: { [_ in never]: never; };
|
|
3198
3982
|
}, {
|
|
3199
3983
|
PostgrestVersion: "13.0.5";
|
|
3200
3984
|
}>;
|