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