mtmsdk 0.0.42 → 0.0.44
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
|
@@ -0,0 +1,3180 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* ==========================================
|
|
3
|
+
* | GENERATED BY SUPAZOD |
|
|
4
|
+
* ==========================================
|
|
5
|
+
*/
|
|
6
|
+
import { z } from "zod";
|
|
7
|
+
export const publicAppRoleSchema = z.enum(["admin", "moderator", "member"]);
|
|
8
|
+
export const publicAuditFindingSeveritySchema = z.enum([
|
|
9
|
+
"critical",
|
|
10
|
+
"high",
|
|
11
|
+
"medium",
|
|
12
|
+
"low",
|
|
13
|
+
"info",
|
|
14
|
+
]);
|
|
15
|
+
export const publicChatRoleSchema = z.enum([
|
|
16
|
+
"system",
|
|
17
|
+
"user",
|
|
18
|
+
"assistant",
|
|
19
|
+
"model",
|
|
20
|
+
"error",
|
|
21
|
+
"tool",
|
|
22
|
+
]);
|
|
23
|
+
export const publicChatVisibilitySchema = z.enum(["private", "public"]);
|
|
24
|
+
export const publicCloudAccountStatusSchema = z.enum([
|
|
25
|
+
"pending",
|
|
26
|
+
"active",
|
|
27
|
+
"token_expired",
|
|
28
|
+
"needs_reauth",
|
|
29
|
+
"quota_exceeded",
|
|
30
|
+
"suspended",
|
|
31
|
+
"disabled",
|
|
32
|
+
]);
|
|
33
|
+
export const publicComputeNodeStatusSchema = z.enum(["online", "offline"]);
|
|
34
|
+
export const publicTelegramLoginStepSchema = z.enum([
|
|
35
|
+
"pending",
|
|
36
|
+
"send_code",
|
|
37
|
+
"wait_code",
|
|
38
|
+
"verify_code",
|
|
39
|
+
"need_2fa",
|
|
40
|
+
"success",
|
|
41
|
+
"failed",
|
|
42
|
+
"fetch_info",
|
|
43
|
+
]);
|
|
44
|
+
export const publicWorkerStatusSchema = z.enum([
|
|
45
|
+
"starting",
|
|
46
|
+
"running",
|
|
47
|
+
"stopping",
|
|
48
|
+
"stopped",
|
|
49
|
+
"offline",
|
|
50
|
+
]);
|
|
51
|
+
export const jsonSchema = z.lazy(() => z
|
|
52
|
+
.union([
|
|
53
|
+
z.string(),
|
|
54
|
+
z.number(),
|
|
55
|
+
z.boolean(),
|
|
56
|
+
z.record(z.string(), z.union([jsonSchema, z.undefined()])),
|
|
57
|
+
z.array(jsonSchema),
|
|
58
|
+
])
|
|
59
|
+
.nullable());
|
|
60
|
+
export const publicAdkAgentsRowSchema = z.object({
|
|
61
|
+
avatar_url: z.string().nullable(),
|
|
62
|
+
created_at: z.string().nullable(),
|
|
63
|
+
description: z.string().nullable(),
|
|
64
|
+
name: z.string(),
|
|
65
|
+
updated_at: z.string().nullable(),
|
|
66
|
+
});
|
|
67
|
+
export const publicAdkAgentsInsertSchema = z.object({
|
|
68
|
+
avatar_url: z.string().optional().nullable(),
|
|
69
|
+
created_at: z.string().optional().nullable(),
|
|
70
|
+
description: z.string().optional().nullable(),
|
|
71
|
+
name: z.string(),
|
|
72
|
+
updated_at: z.string().optional().nullable(),
|
|
73
|
+
});
|
|
74
|
+
export const publicAdkAgentsUpdateSchema = z.object({
|
|
75
|
+
avatar_url: z.string().optional().nullable(),
|
|
76
|
+
created_at: z.string().optional().nullable(),
|
|
77
|
+
description: z.string().optional().nullable(),
|
|
78
|
+
name: z.string().optional(),
|
|
79
|
+
updated_at: z.string().optional().nullable(),
|
|
80
|
+
});
|
|
81
|
+
export const publicAdkArtifactsRowSchema = z.object({
|
|
82
|
+
app_name: z.string(),
|
|
83
|
+
canonical_uri: z.string().nullable(),
|
|
84
|
+
created_at: z.string().nullable(),
|
|
85
|
+
custom_metadata: jsonSchema.nullable(),
|
|
86
|
+
data: jsonSchema.nullable(),
|
|
87
|
+
filename: z.string(),
|
|
88
|
+
id: z.string(),
|
|
89
|
+
mime_type: z.string().nullable(),
|
|
90
|
+
session_id: z.string().nullable(),
|
|
91
|
+
user_id: z.string(),
|
|
92
|
+
version: z.number(),
|
|
93
|
+
});
|
|
94
|
+
export const publicAdkArtifactsInsertSchema = z.object({
|
|
95
|
+
app_name: z.string(),
|
|
96
|
+
canonical_uri: z.string().optional().nullable(),
|
|
97
|
+
created_at: z.string().optional().nullable(),
|
|
98
|
+
custom_metadata: jsonSchema.optional().nullable(),
|
|
99
|
+
data: jsonSchema.optional().nullable(),
|
|
100
|
+
filename: z.string(),
|
|
101
|
+
id: z.string().optional(),
|
|
102
|
+
mime_type: z.string().optional().nullable(),
|
|
103
|
+
session_id: z.string().optional().nullable(),
|
|
104
|
+
user_id: z.string(),
|
|
105
|
+
version: z.number(),
|
|
106
|
+
});
|
|
107
|
+
export const publicAdkArtifactsUpdateSchema = z.object({
|
|
108
|
+
app_name: z.string().optional(),
|
|
109
|
+
canonical_uri: z.string().optional().nullable(),
|
|
110
|
+
created_at: z.string().optional().nullable(),
|
|
111
|
+
custom_metadata: jsonSchema.optional().nullable(),
|
|
112
|
+
data: jsonSchema.optional().nullable(),
|
|
113
|
+
filename: z.string().optional(),
|
|
114
|
+
id: z.string().optional(),
|
|
115
|
+
mime_type: z.string().optional().nullable(),
|
|
116
|
+
session_id: z.string().optional().nullable(),
|
|
117
|
+
user_id: z.string().optional(),
|
|
118
|
+
version: z.number().optional(),
|
|
119
|
+
});
|
|
120
|
+
export const publicAdkEventsRowSchema = z.object({
|
|
121
|
+
actions: jsonSchema.nullable(),
|
|
122
|
+
app_name: z.string().nullable(),
|
|
123
|
+
author: z.string().nullable(),
|
|
124
|
+
branch: z.string().nullable(),
|
|
125
|
+
citation_metadata: jsonSchema.nullable(),
|
|
126
|
+
content: jsonSchema.nullable(),
|
|
127
|
+
created_at: z.string(),
|
|
128
|
+
custom_metadata: jsonSchema.nullable(),
|
|
129
|
+
error_code: z.string().nullable(),
|
|
130
|
+
error_message: z.string().nullable(),
|
|
131
|
+
grounding_metadata: jsonSchema.nullable(),
|
|
132
|
+
id: z.string(),
|
|
133
|
+
input_transcription: jsonSchema.nullable(),
|
|
134
|
+
interrupted: z.boolean().nullable(),
|
|
135
|
+
invocation_id: z.string().nullable(),
|
|
136
|
+
long_running_tool_ids_json: jsonSchema.nullable(),
|
|
137
|
+
output_transcription: jsonSchema.nullable(),
|
|
138
|
+
partial: z.boolean().nullable(),
|
|
139
|
+
session_id: z.string().nullable(),
|
|
140
|
+
timestamp: z.string().nullable(),
|
|
141
|
+
turn_complete: z.boolean().nullable(),
|
|
142
|
+
updated_at: z.string(),
|
|
143
|
+
usage_metadata: jsonSchema.nullable(),
|
|
144
|
+
user_id: z.string().nullable(),
|
|
145
|
+
});
|
|
146
|
+
export const publicAdkEventsInsertSchema = z.object({
|
|
147
|
+
actions: jsonSchema.optional().nullable(),
|
|
148
|
+
app_name: z.string().optional().nullable(),
|
|
149
|
+
author: z.string().optional().nullable(),
|
|
150
|
+
branch: z.string().optional().nullable(),
|
|
151
|
+
citation_metadata: jsonSchema.optional().nullable(),
|
|
152
|
+
content: jsonSchema.optional().nullable(),
|
|
153
|
+
created_at: z.string().optional(),
|
|
154
|
+
custom_metadata: jsonSchema.optional().nullable(),
|
|
155
|
+
error_code: z.string().optional().nullable(),
|
|
156
|
+
error_message: z.string().optional().nullable(),
|
|
157
|
+
grounding_metadata: jsonSchema.optional().nullable(),
|
|
158
|
+
id: z.string(),
|
|
159
|
+
input_transcription: jsonSchema.optional().nullable(),
|
|
160
|
+
interrupted: z.boolean().optional().nullable(),
|
|
161
|
+
invocation_id: z.string().optional().nullable(),
|
|
162
|
+
long_running_tool_ids_json: jsonSchema.optional().nullable(),
|
|
163
|
+
output_transcription: jsonSchema.optional().nullable(),
|
|
164
|
+
partial: z.boolean().optional().nullable(),
|
|
165
|
+
session_id: z.string().optional().nullable(),
|
|
166
|
+
timestamp: z.string().optional().nullable(),
|
|
167
|
+
turn_complete: z.boolean().optional().nullable(),
|
|
168
|
+
updated_at: z.string().optional(),
|
|
169
|
+
usage_metadata: jsonSchema.optional().nullable(),
|
|
170
|
+
user_id: z.string().optional().nullable(),
|
|
171
|
+
});
|
|
172
|
+
export const publicAdkEventsUpdateSchema = z.object({
|
|
173
|
+
actions: jsonSchema.optional().nullable(),
|
|
174
|
+
app_name: z.string().optional().nullable(),
|
|
175
|
+
author: z.string().optional().nullable(),
|
|
176
|
+
branch: z.string().optional().nullable(),
|
|
177
|
+
citation_metadata: jsonSchema.optional().nullable(),
|
|
178
|
+
content: jsonSchema.optional().nullable(),
|
|
179
|
+
created_at: z.string().optional(),
|
|
180
|
+
custom_metadata: jsonSchema.optional().nullable(),
|
|
181
|
+
error_code: z.string().optional().nullable(),
|
|
182
|
+
error_message: z.string().optional().nullable(),
|
|
183
|
+
grounding_metadata: jsonSchema.optional().nullable(),
|
|
184
|
+
id: z.string().optional(),
|
|
185
|
+
input_transcription: jsonSchema.optional().nullable(),
|
|
186
|
+
interrupted: z.boolean().optional().nullable(),
|
|
187
|
+
invocation_id: z.string().optional().nullable(),
|
|
188
|
+
long_running_tool_ids_json: jsonSchema.optional().nullable(),
|
|
189
|
+
output_transcription: jsonSchema.optional().nullable(),
|
|
190
|
+
partial: z.boolean().optional().nullable(),
|
|
191
|
+
session_id: z.string().optional().nullable(),
|
|
192
|
+
timestamp: z.string().optional().nullable(),
|
|
193
|
+
turn_complete: z.boolean().optional().nullable(),
|
|
194
|
+
updated_at: z.string().optional(),
|
|
195
|
+
usage_metadata: jsonSchema.optional().nullable(),
|
|
196
|
+
user_id: z.string().optional().nullable(),
|
|
197
|
+
});
|
|
198
|
+
export const publicAdkEventsRelationshipsSchema = z.tuple([
|
|
199
|
+
z.object({
|
|
200
|
+
foreignKeyName: z.literal("adk_events_session_id_fkey"),
|
|
201
|
+
columns: z.tuple([z.literal("session_id")]),
|
|
202
|
+
isOneToOne: z.literal(false),
|
|
203
|
+
referencedRelation: z.literal("adk_sessions"),
|
|
204
|
+
referencedColumns: z.tuple([z.literal("id")]),
|
|
205
|
+
}),
|
|
206
|
+
]);
|
|
207
|
+
export const publicAdkQuickStartsRowSchema = z.object({
|
|
208
|
+
agent_name: z.string(),
|
|
209
|
+
created_at: z.string().nullable(),
|
|
210
|
+
description: z.string().nullable(),
|
|
211
|
+
id: z.string(),
|
|
212
|
+
is_active: z.boolean().nullable(),
|
|
213
|
+
ord: z.number().nullable(),
|
|
214
|
+
prompt: z.string(),
|
|
215
|
+
title: z.string(),
|
|
216
|
+
updated_at: z.string().nullable(),
|
|
217
|
+
});
|
|
218
|
+
export const publicAdkQuickStartsInsertSchema = z.object({
|
|
219
|
+
agent_name: z.string().optional(),
|
|
220
|
+
created_at: z.string().optional().nullable(),
|
|
221
|
+
description: z.string().optional().nullable(),
|
|
222
|
+
id: z.string().optional(),
|
|
223
|
+
is_active: z.boolean().optional().nullable(),
|
|
224
|
+
ord: z.number().optional().nullable(),
|
|
225
|
+
prompt: z.string(),
|
|
226
|
+
title: z.string(),
|
|
227
|
+
updated_at: z.string().optional().nullable(),
|
|
228
|
+
});
|
|
229
|
+
export const publicAdkQuickStartsUpdateSchema = z.object({
|
|
230
|
+
agent_name: z.string().optional(),
|
|
231
|
+
created_at: z.string().optional().nullable(),
|
|
232
|
+
description: z.string().optional().nullable(),
|
|
233
|
+
id: z.string().optional(),
|
|
234
|
+
is_active: z.boolean().optional().nullable(),
|
|
235
|
+
ord: z.number().optional().nullable(),
|
|
236
|
+
prompt: z.string().optional(),
|
|
237
|
+
title: z.string().optional(),
|
|
238
|
+
updated_at: z.string().optional().nullable(),
|
|
239
|
+
});
|
|
240
|
+
export const publicAdkSessionsRowSchema = z.object({
|
|
241
|
+
app_name: z.string(),
|
|
242
|
+
created_at: z.string(),
|
|
243
|
+
id: z.string(),
|
|
244
|
+
state: jsonSchema,
|
|
245
|
+
updated_at: z.string().nullable(),
|
|
246
|
+
user_id: z.string(),
|
|
247
|
+
});
|
|
248
|
+
export const publicAdkSessionsInsertSchema = z.object({
|
|
249
|
+
app_name: z.string(),
|
|
250
|
+
created_at: z.string(),
|
|
251
|
+
id: z.string(),
|
|
252
|
+
state: jsonSchema,
|
|
253
|
+
updated_at: z.string().optional().nullable(),
|
|
254
|
+
user_id: z.string(),
|
|
255
|
+
});
|
|
256
|
+
export const publicAdkSessionsUpdateSchema = z.object({
|
|
257
|
+
app_name: z.string().optional(),
|
|
258
|
+
created_at: z.string().optional(),
|
|
259
|
+
id: z.string().optional(),
|
|
260
|
+
state: jsonSchema.optional(),
|
|
261
|
+
updated_at: z.string().optional().nullable(),
|
|
262
|
+
user_id: z.string().optional(),
|
|
263
|
+
});
|
|
264
|
+
export const publicAgentsRowSchema = z.object({
|
|
265
|
+
config: jsonSchema.nullable(),
|
|
266
|
+
created_at: z.string(),
|
|
267
|
+
description: z.string().nullable(),
|
|
268
|
+
id: z.string(),
|
|
269
|
+
instruction: z.string().nullable(),
|
|
270
|
+
max_step: z.number().nullable(),
|
|
271
|
+
runtime: z.string().nullable(),
|
|
272
|
+
tools: z.string().nullable(),
|
|
273
|
+
updated_at: z.string(),
|
|
274
|
+
});
|
|
275
|
+
export const publicAgentsInsertSchema = z.object({
|
|
276
|
+
config: jsonSchema.optional().nullable(),
|
|
277
|
+
created_at: z.string().optional(),
|
|
278
|
+
description: z.string().optional().nullable(),
|
|
279
|
+
id: z.string(),
|
|
280
|
+
instruction: z.string().optional().nullable(),
|
|
281
|
+
max_step: z.number().optional().nullable(),
|
|
282
|
+
runtime: z.string().optional().nullable(),
|
|
283
|
+
tools: z.string().optional().nullable(),
|
|
284
|
+
updated_at: z.string().optional(),
|
|
285
|
+
});
|
|
286
|
+
export const publicAgentsUpdateSchema = z.object({
|
|
287
|
+
config: jsonSchema.optional().nullable(),
|
|
288
|
+
created_at: z.string().optional(),
|
|
289
|
+
description: z.string().optional().nullable(),
|
|
290
|
+
id: z.string().optional(),
|
|
291
|
+
instruction: z.string().optional().nullable(),
|
|
292
|
+
max_step: z.number().optional().nullable(),
|
|
293
|
+
runtime: z.string().optional().nullable(),
|
|
294
|
+
tools: z.string().optional().nullable(),
|
|
295
|
+
updated_at: z.string().optional(),
|
|
296
|
+
});
|
|
297
|
+
export const publicAuditAssetsRowSchema = z.object({
|
|
298
|
+
content: z.string(),
|
|
299
|
+
created_at: z.string(),
|
|
300
|
+
id: z.string(),
|
|
301
|
+
metadata: jsonSchema.nullable(),
|
|
302
|
+
project_id: z.string(),
|
|
303
|
+
status: z.string().nullable(),
|
|
304
|
+
type: z.string(),
|
|
305
|
+
updated_at: z.string(),
|
|
306
|
+
});
|
|
307
|
+
export const publicAuditAssetsInsertSchema = z.object({
|
|
308
|
+
content: z.string(),
|
|
309
|
+
created_at: z.string().optional(),
|
|
310
|
+
id: z.string().optional(),
|
|
311
|
+
metadata: jsonSchema.optional().nullable(),
|
|
312
|
+
project_id: z.string(),
|
|
313
|
+
status: z.string().optional().nullable(),
|
|
314
|
+
type: z.string(),
|
|
315
|
+
updated_at: z.string().optional(),
|
|
316
|
+
});
|
|
317
|
+
export const publicAuditAssetsUpdateSchema = z.object({
|
|
318
|
+
content: z.string().optional(),
|
|
319
|
+
created_at: z.string().optional(),
|
|
320
|
+
id: z.string().optional(),
|
|
321
|
+
metadata: jsonSchema.optional().nullable(),
|
|
322
|
+
project_id: z.string().optional(),
|
|
323
|
+
status: z.string().optional().nullable(),
|
|
324
|
+
type: z.string().optional(),
|
|
325
|
+
updated_at: z.string().optional(),
|
|
326
|
+
});
|
|
327
|
+
export const publicAuditAssetsRelationshipsSchema = z.tuple([
|
|
328
|
+
z.object({
|
|
329
|
+
foreignKeyName: z.literal("audit_assets_project_id_fkey"),
|
|
330
|
+
columns: z.tuple([z.literal("project_id")]),
|
|
331
|
+
isOneToOne: z.literal(false),
|
|
332
|
+
referencedRelation: z.literal("audit_projects"),
|
|
333
|
+
referencedColumns: z.tuple([z.literal("id")]),
|
|
334
|
+
}),
|
|
335
|
+
]);
|
|
336
|
+
export const publicAuditFindingsRowSchema = z.object({
|
|
337
|
+
ai_analysis: z.string().nullable(),
|
|
338
|
+
created_at: z.string(),
|
|
339
|
+
description: z.string().nullable(),
|
|
340
|
+
id: z.string(),
|
|
341
|
+
project_id: z.string(),
|
|
342
|
+
proof_poc: z.string().nullable(),
|
|
343
|
+
remediation: z.string().nullable(),
|
|
344
|
+
severity: publicAuditFindingSeveritySchema.nullable(),
|
|
345
|
+
status: z.string().nullable(),
|
|
346
|
+
task_id: z.string().nullable(),
|
|
347
|
+
title: z.string(),
|
|
348
|
+
updated_at: z.string(),
|
|
349
|
+
});
|
|
350
|
+
export const publicAuditFindingsInsertSchema = z.object({
|
|
351
|
+
ai_analysis: z.string().optional().nullable(),
|
|
352
|
+
created_at: z.string().optional(),
|
|
353
|
+
description: z.string().optional().nullable(),
|
|
354
|
+
id: z.string().optional(),
|
|
355
|
+
project_id: z.string(),
|
|
356
|
+
proof_poc: z.string().optional().nullable(),
|
|
357
|
+
remediation: z.string().optional().nullable(),
|
|
358
|
+
severity: publicAuditFindingSeveritySchema.optional().nullable(),
|
|
359
|
+
status: z.string().optional().nullable(),
|
|
360
|
+
task_id: z.string().optional().nullable(),
|
|
361
|
+
title: z.string(),
|
|
362
|
+
updated_at: z.string().optional(),
|
|
363
|
+
});
|
|
364
|
+
export const publicAuditFindingsUpdateSchema = z.object({
|
|
365
|
+
ai_analysis: z.string().optional().nullable(),
|
|
366
|
+
created_at: z.string().optional(),
|
|
367
|
+
description: z.string().optional().nullable(),
|
|
368
|
+
id: z.string().optional(),
|
|
369
|
+
project_id: z.string().optional(),
|
|
370
|
+
proof_poc: z.string().optional().nullable(),
|
|
371
|
+
remediation: z.string().optional().nullable(),
|
|
372
|
+
severity: publicAuditFindingSeveritySchema.optional().nullable(),
|
|
373
|
+
status: z.string().optional().nullable(),
|
|
374
|
+
task_id: z.string().optional().nullable(),
|
|
375
|
+
title: z.string().optional(),
|
|
376
|
+
updated_at: z.string().optional(),
|
|
377
|
+
});
|
|
378
|
+
export const publicAuditFindingsRelationshipsSchema = z.tuple([
|
|
379
|
+
z.object({
|
|
380
|
+
foreignKeyName: z.literal("audit_findings_project_id_fkey"),
|
|
381
|
+
columns: z.tuple([z.literal("project_id")]),
|
|
382
|
+
isOneToOne: z.literal(false),
|
|
383
|
+
referencedRelation: z.literal("audit_projects"),
|
|
384
|
+
referencedColumns: z.tuple([z.literal("id")]),
|
|
385
|
+
}),
|
|
386
|
+
z.object({
|
|
387
|
+
foreignKeyName: z.literal("audit_findings_task_id_fkey"),
|
|
388
|
+
columns: z.tuple([z.literal("task_id")]),
|
|
389
|
+
isOneToOne: z.literal(false),
|
|
390
|
+
referencedRelation: z.literal("audit_tasks"),
|
|
391
|
+
referencedColumns: z.tuple([z.literal("id")]),
|
|
392
|
+
}),
|
|
393
|
+
]);
|
|
394
|
+
export const publicAuditPocsRowSchema = z.object({
|
|
395
|
+
created_at: z.string(),
|
|
396
|
+
cve_id: z.string().nullable(),
|
|
397
|
+
id: z.string(),
|
|
398
|
+
name: z.string(),
|
|
399
|
+
path: z.string().nullable(),
|
|
400
|
+
project_id: z.string(),
|
|
401
|
+
severity: z.string().nullable(),
|
|
402
|
+
status: z.string().nullable(),
|
|
403
|
+
updated_at: z.string(),
|
|
404
|
+
});
|
|
405
|
+
export const publicAuditPocsInsertSchema = z.object({
|
|
406
|
+
created_at: z.string().optional(),
|
|
407
|
+
cve_id: z.string().optional().nullable(),
|
|
408
|
+
id: z.string().optional(),
|
|
409
|
+
name: z.string(),
|
|
410
|
+
path: z.string().optional().nullable(),
|
|
411
|
+
project_id: z.string(),
|
|
412
|
+
severity: z.string().optional().nullable(),
|
|
413
|
+
status: z.string().optional().nullable(),
|
|
414
|
+
updated_at: z.string().optional(),
|
|
415
|
+
});
|
|
416
|
+
export const publicAuditPocsUpdateSchema = z.object({
|
|
417
|
+
created_at: z.string().optional(),
|
|
418
|
+
cve_id: z.string().optional().nullable(),
|
|
419
|
+
id: z.string().optional(),
|
|
420
|
+
name: z.string().optional(),
|
|
421
|
+
path: z.string().optional().nullable(),
|
|
422
|
+
project_id: z.string().optional(),
|
|
423
|
+
severity: z.string().optional().nullable(),
|
|
424
|
+
status: z.string().optional().nullable(),
|
|
425
|
+
updated_at: z.string().optional(),
|
|
426
|
+
});
|
|
427
|
+
export const publicAuditPocsRelationshipsSchema = z.tuple([
|
|
428
|
+
z.object({
|
|
429
|
+
foreignKeyName: z.literal("audit_pocs_project_id_fkey"),
|
|
430
|
+
columns: z.tuple([z.literal("project_id")]),
|
|
431
|
+
isOneToOne: z.literal(false),
|
|
432
|
+
referencedRelation: z.literal("audit_projects"),
|
|
433
|
+
referencedColumns: z.tuple([z.literal("id")]),
|
|
434
|
+
}),
|
|
435
|
+
]);
|
|
436
|
+
export const publicAuditProjectsRowSchema = z.object({
|
|
437
|
+
config: jsonSchema.nullable(),
|
|
438
|
+
created_at: z.string(),
|
|
439
|
+
id: z.string(),
|
|
440
|
+
name: z.string(),
|
|
441
|
+
repo_branch: z.string().nullable(),
|
|
442
|
+
repo_url: z.string().nullable(),
|
|
443
|
+
target: z.string().nullable(),
|
|
444
|
+
updated_at: z.string(),
|
|
445
|
+
user_id: z.string(),
|
|
446
|
+
worker_id: z.string().nullable(),
|
|
447
|
+
});
|
|
448
|
+
export const publicAuditProjectsInsertSchema = z.object({
|
|
449
|
+
config: jsonSchema.optional().nullable(),
|
|
450
|
+
created_at: z.string().optional(),
|
|
451
|
+
id: z.string().optional(),
|
|
452
|
+
name: z.string(),
|
|
453
|
+
repo_branch: z.string().optional().nullable(),
|
|
454
|
+
repo_url: z.string().optional().nullable(),
|
|
455
|
+
target: z.string().optional().nullable(),
|
|
456
|
+
updated_at: z.string().optional(),
|
|
457
|
+
user_id: z.string(),
|
|
458
|
+
worker_id: z.string().optional().nullable(),
|
|
459
|
+
});
|
|
460
|
+
export const publicAuditProjectsUpdateSchema = z.object({
|
|
461
|
+
config: jsonSchema.optional().nullable(),
|
|
462
|
+
created_at: z.string().optional(),
|
|
463
|
+
id: z.string().optional(),
|
|
464
|
+
name: z.string().optional(),
|
|
465
|
+
repo_branch: z.string().optional().nullable(),
|
|
466
|
+
repo_url: z.string().optional().nullable(),
|
|
467
|
+
target: z.string().optional().nullable(),
|
|
468
|
+
updated_at: z.string().optional(),
|
|
469
|
+
user_id: z.string().optional(),
|
|
470
|
+
worker_id: z.string().optional().nullable(),
|
|
471
|
+
});
|
|
472
|
+
export const publicAuditProjectsRelationshipsSchema = z.tuple([
|
|
473
|
+
z.object({
|
|
474
|
+
foreignKeyName: z.literal("audit_projects_worker_id_fkey"),
|
|
475
|
+
columns: z.tuple([z.literal("worker_id")]),
|
|
476
|
+
isOneToOne: z.literal(false),
|
|
477
|
+
referencedRelation: z.literal("servers"),
|
|
478
|
+
referencedColumns: z.tuple([z.literal("id")]),
|
|
479
|
+
}),
|
|
480
|
+
]);
|
|
481
|
+
export const publicAuditSkillsRowSchema = z.object({
|
|
482
|
+
created_at: z.string(),
|
|
483
|
+
dependencies: jsonSchema.nullable(),
|
|
484
|
+
description: z.string().nullable(),
|
|
485
|
+
id: z.string(),
|
|
486
|
+
name: z.string(),
|
|
487
|
+
params_schema: jsonSchema.nullable(),
|
|
488
|
+
project_id: z.string(),
|
|
489
|
+
source_path: z.string().nullable(),
|
|
490
|
+
updated_at: z.string(),
|
|
491
|
+
version: z.string().nullable(),
|
|
492
|
+
});
|
|
493
|
+
export const publicAuditSkillsInsertSchema = z.object({
|
|
494
|
+
created_at: z.string().optional(),
|
|
495
|
+
dependencies: jsonSchema.optional().nullable(),
|
|
496
|
+
description: z.string().optional().nullable(),
|
|
497
|
+
id: z.string().optional(),
|
|
498
|
+
name: z.string(),
|
|
499
|
+
params_schema: jsonSchema.optional().nullable(),
|
|
500
|
+
project_id: z.string(),
|
|
501
|
+
source_path: z.string().optional().nullable(),
|
|
502
|
+
updated_at: z.string().optional(),
|
|
503
|
+
version: z.string().optional().nullable(),
|
|
504
|
+
});
|
|
505
|
+
export const publicAuditSkillsUpdateSchema = z.object({
|
|
506
|
+
created_at: z.string().optional(),
|
|
507
|
+
dependencies: jsonSchema.optional().nullable(),
|
|
508
|
+
description: z.string().optional().nullable(),
|
|
509
|
+
id: z.string().optional(),
|
|
510
|
+
name: z.string().optional(),
|
|
511
|
+
params_schema: jsonSchema.optional().nullable(),
|
|
512
|
+
project_id: z.string().optional(),
|
|
513
|
+
source_path: z.string().optional().nullable(),
|
|
514
|
+
updated_at: z.string().optional(),
|
|
515
|
+
version: z.string().optional().nullable(),
|
|
516
|
+
});
|
|
517
|
+
export const publicAuditSkillsRelationshipsSchema = z.tuple([
|
|
518
|
+
z.object({
|
|
519
|
+
foreignKeyName: z.literal("audit_skills_project_id_fkey"),
|
|
520
|
+
columns: z.tuple([z.literal("project_id")]),
|
|
521
|
+
isOneToOne: z.literal(false),
|
|
522
|
+
referencedRelation: z.literal("audit_projects"),
|
|
523
|
+
referencedColumns: z.tuple([z.literal("id")]),
|
|
524
|
+
}),
|
|
525
|
+
]);
|
|
526
|
+
export const publicAuditTasksRowSchema = z.object({
|
|
527
|
+
created_at: z.string(),
|
|
528
|
+
id: z.string(),
|
|
529
|
+
instructions: z.string().nullable(),
|
|
530
|
+
logs_url: z.string().nullable(),
|
|
531
|
+
project_id: z.string(),
|
|
532
|
+
result_summary: z.string().nullable(),
|
|
533
|
+
sandbox_id: z.string().nullable(),
|
|
534
|
+
skill_id: z.string().nullable(),
|
|
535
|
+
status: z.string().nullable(),
|
|
536
|
+
updated_at: z.string(),
|
|
537
|
+
user_id: z.string().nullable(),
|
|
538
|
+
});
|
|
539
|
+
export const publicAuditTasksInsertSchema = z.object({
|
|
540
|
+
created_at: z.string().optional(),
|
|
541
|
+
id: z.string().optional(),
|
|
542
|
+
instructions: z.string().optional().nullable(),
|
|
543
|
+
logs_url: z.string().optional().nullable(),
|
|
544
|
+
project_id: z.string(),
|
|
545
|
+
result_summary: z.string().optional().nullable(),
|
|
546
|
+
sandbox_id: z.string().optional().nullable(),
|
|
547
|
+
skill_id: z.string().optional().nullable(),
|
|
548
|
+
status: z.string().optional().nullable(),
|
|
549
|
+
updated_at: z.string().optional(),
|
|
550
|
+
user_id: z.string().optional().nullable(),
|
|
551
|
+
});
|
|
552
|
+
export const publicAuditTasksUpdateSchema = z.object({
|
|
553
|
+
created_at: z.string().optional(),
|
|
554
|
+
id: z.string().optional(),
|
|
555
|
+
instructions: z.string().optional().nullable(),
|
|
556
|
+
logs_url: z.string().optional().nullable(),
|
|
557
|
+
project_id: z.string().optional(),
|
|
558
|
+
result_summary: z.string().optional().nullable(),
|
|
559
|
+
sandbox_id: z.string().optional().nullable(),
|
|
560
|
+
skill_id: z.string().optional().nullable(),
|
|
561
|
+
status: z.string().optional().nullable(),
|
|
562
|
+
updated_at: z.string().optional(),
|
|
563
|
+
user_id: z.string().optional().nullable(),
|
|
564
|
+
});
|
|
565
|
+
export const publicAuditTasksRelationshipsSchema = z.tuple([
|
|
566
|
+
z.object({
|
|
567
|
+
foreignKeyName: z.literal("audit_tasks_project_id_fkey"),
|
|
568
|
+
columns: z.tuple([z.literal("project_id")]),
|
|
569
|
+
isOneToOne: z.literal(false),
|
|
570
|
+
referencedRelation: z.literal("audit_projects"),
|
|
571
|
+
referencedColumns: z.tuple([z.literal("id")]),
|
|
572
|
+
}),
|
|
573
|
+
z.object({
|
|
574
|
+
foreignKeyName: z.literal("audit_tasks_sandbox_id_fkey"),
|
|
575
|
+
columns: z.tuple([z.literal("sandbox_id")]),
|
|
576
|
+
isOneToOne: z.literal(false),
|
|
577
|
+
referencedRelation: z.literal("resources"),
|
|
578
|
+
referencedColumns: z.tuple([z.literal("id")]),
|
|
579
|
+
}),
|
|
580
|
+
z.object({
|
|
581
|
+
foreignKeyName: z.literal("audit_tasks_skill_id_fkey"),
|
|
582
|
+
columns: z.tuple([z.literal("skill_id")]),
|
|
583
|
+
isOneToOne: z.literal(false),
|
|
584
|
+
referencedRelation: z.literal("audit_skills"),
|
|
585
|
+
referencedColumns: z.tuple([z.literal("id")]),
|
|
586
|
+
}),
|
|
587
|
+
]);
|
|
588
|
+
export const publicBrowsersRowSchema = z.object({
|
|
589
|
+
cdpUrl: z.string().nullable(),
|
|
590
|
+
config: jsonSchema.nullable(),
|
|
591
|
+
created_at: z.string(),
|
|
592
|
+
description: z.string().nullable(),
|
|
593
|
+
id: z.string(),
|
|
594
|
+
profile_id: z.string().nullable(),
|
|
595
|
+
provider: z.string().nullable(),
|
|
596
|
+
provider_config: jsonSchema.nullable(),
|
|
597
|
+
sandbox_id: z.string().nullable(),
|
|
598
|
+
title: z.string().nullable(),
|
|
599
|
+
updated_at: z.string().nullable(),
|
|
600
|
+
user_id: z.string().nullable(),
|
|
601
|
+
});
|
|
602
|
+
export const publicBrowsersInsertSchema = z.object({
|
|
603
|
+
cdpUrl: z.string().optional().nullable(),
|
|
604
|
+
config: jsonSchema.optional().nullable(),
|
|
605
|
+
created_at: z.string().optional(),
|
|
606
|
+
description: z.string().optional().nullable(),
|
|
607
|
+
id: z.string().optional(),
|
|
608
|
+
profile_id: z.string().optional().nullable(),
|
|
609
|
+
provider: z.string().optional().nullable(),
|
|
610
|
+
provider_config: jsonSchema.optional().nullable(),
|
|
611
|
+
sandbox_id: z.string().optional().nullable(),
|
|
612
|
+
title: z.string().optional().nullable(),
|
|
613
|
+
updated_at: z.string().optional().nullable(),
|
|
614
|
+
user_id: z.string().optional().nullable(),
|
|
615
|
+
});
|
|
616
|
+
export const publicBrowsersUpdateSchema = z.object({
|
|
617
|
+
cdpUrl: z.string().optional().nullable(),
|
|
618
|
+
config: jsonSchema.optional().nullable(),
|
|
619
|
+
created_at: z.string().optional(),
|
|
620
|
+
description: z.string().optional().nullable(),
|
|
621
|
+
id: z.string().optional(),
|
|
622
|
+
profile_id: z.string().optional().nullable(),
|
|
623
|
+
provider: z.string().optional().nullable(),
|
|
624
|
+
provider_config: jsonSchema.optional().nullable(),
|
|
625
|
+
sandbox_id: z.string().optional().nullable(),
|
|
626
|
+
title: z.string().optional().nullable(),
|
|
627
|
+
updated_at: z.string().optional().nullable(),
|
|
628
|
+
user_id: z.string().optional().nullable(),
|
|
629
|
+
});
|
|
630
|
+
export const publicCampaignsRowSchema = z.object({
|
|
631
|
+
completed_at: z.string().nullable(),
|
|
632
|
+
config: jsonSchema,
|
|
633
|
+
created_at: z.string(),
|
|
634
|
+
description: z.string().nullable(),
|
|
635
|
+
id: z.string(),
|
|
636
|
+
message_template: z.string().nullable(),
|
|
637
|
+
name: z.string(),
|
|
638
|
+
platform: z.string(),
|
|
639
|
+
schedule: jsonSchema,
|
|
640
|
+
started_at: z.string().nullable(),
|
|
641
|
+
stats: jsonSchema,
|
|
642
|
+
status: z.string(),
|
|
643
|
+
target_filter: jsonSchema,
|
|
644
|
+
updated_at: z.string(),
|
|
645
|
+
user_id: z.string(),
|
|
646
|
+
});
|
|
647
|
+
export const publicCampaignsInsertSchema = z.object({
|
|
648
|
+
completed_at: z.string().optional().nullable(),
|
|
649
|
+
config: jsonSchema.optional(),
|
|
650
|
+
created_at: z.string().optional(),
|
|
651
|
+
description: z.string().optional().nullable(),
|
|
652
|
+
id: z.string().optional(),
|
|
653
|
+
message_template: z.string().optional().nullable(),
|
|
654
|
+
name: z.string(),
|
|
655
|
+
platform: z.string().optional(),
|
|
656
|
+
schedule: jsonSchema.optional(),
|
|
657
|
+
started_at: z.string().optional().nullable(),
|
|
658
|
+
stats: jsonSchema.optional(),
|
|
659
|
+
status: z.string().optional(),
|
|
660
|
+
target_filter: jsonSchema.optional(),
|
|
661
|
+
updated_at: z.string().optional(),
|
|
662
|
+
user_id: z.string(),
|
|
663
|
+
});
|
|
664
|
+
export const publicCampaignsUpdateSchema = z.object({
|
|
665
|
+
completed_at: z.string().optional().nullable(),
|
|
666
|
+
config: jsonSchema.optional(),
|
|
667
|
+
created_at: z.string().optional(),
|
|
668
|
+
description: z.string().optional().nullable(),
|
|
669
|
+
id: z.string().optional(),
|
|
670
|
+
message_template: z.string().optional().nullable(),
|
|
671
|
+
name: z.string().optional(),
|
|
672
|
+
platform: z.string().optional(),
|
|
673
|
+
schedule: jsonSchema.optional(),
|
|
674
|
+
started_at: z.string().optional().nullable(),
|
|
675
|
+
stats: jsonSchema.optional(),
|
|
676
|
+
status: z.string().optional(),
|
|
677
|
+
target_filter: jsonSchema.optional(),
|
|
678
|
+
updated_at: z.string().optional(),
|
|
679
|
+
user_id: z.string().optional(),
|
|
680
|
+
});
|
|
681
|
+
export const publicChatMessagesRowSchema = z.object({
|
|
682
|
+
attachments: jsonSchema.nullable(),
|
|
683
|
+
chat_id: z.string(),
|
|
684
|
+
created_at: z.string(),
|
|
685
|
+
grounding_metadata: jsonSchema.nullable(),
|
|
686
|
+
id: z.string(),
|
|
687
|
+
parts: jsonSchema,
|
|
688
|
+
role: publicChatRoleSchema,
|
|
689
|
+
updated_at: z.string(),
|
|
690
|
+
user_id: z.string().nullable(),
|
|
691
|
+
});
|
|
692
|
+
export const publicChatMessagesInsertSchema = z.object({
|
|
693
|
+
attachments: jsonSchema.optional().nullable(),
|
|
694
|
+
chat_id: z.string(),
|
|
695
|
+
created_at: z.string().optional(),
|
|
696
|
+
grounding_metadata: jsonSchema.optional().nullable(),
|
|
697
|
+
id: z.string().optional(),
|
|
698
|
+
parts: jsonSchema,
|
|
699
|
+
role: publicChatRoleSchema.optional(),
|
|
700
|
+
updated_at: z.string().optional(),
|
|
701
|
+
user_id: z.string().optional().nullable(),
|
|
702
|
+
});
|
|
703
|
+
export const publicChatMessagesUpdateSchema = z.object({
|
|
704
|
+
attachments: jsonSchema.optional().nullable(),
|
|
705
|
+
chat_id: z.string().optional(),
|
|
706
|
+
created_at: z.string().optional(),
|
|
707
|
+
grounding_metadata: jsonSchema.optional().nullable(),
|
|
708
|
+
id: z.string().optional(),
|
|
709
|
+
parts: jsonSchema.optional(),
|
|
710
|
+
role: publicChatRoleSchema.optional(),
|
|
711
|
+
updated_at: z.string().optional(),
|
|
712
|
+
user_id: z.string().optional().nullable(),
|
|
713
|
+
});
|
|
714
|
+
export const publicChatMessagesRelationshipsSchema = z.tuple([
|
|
715
|
+
z.object({
|
|
716
|
+
foreignKeyName: z.literal("chat_messages_chat_id_fkey"),
|
|
717
|
+
columns: z.tuple([z.literal("chat_id")]),
|
|
718
|
+
isOneToOne: z.literal(false),
|
|
719
|
+
referencedRelation: z.literal("chats"),
|
|
720
|
+
referencedColumns: z.tuple([z.literal("id")]),
|
|
721
|
+
}),
|
|
722
|
+
]);
|
|
723
|
+
export const publicChatsRowSchema = z.object({
|
|
724
|
+
agent_id: z.string(),
|
|
725
|
+
created_at: z.string(),
|
|
726
|
+
id: z.string(),
|
|
727
|
+
lastContext: jsonSchema.nullable(),
|
|
728
|
+
state: jsonSchema.nullable(),
|
|
729
|
+
title: z.string(),
|
|
730
|
+
type: z.string(),
|
|
731
|
+
updated_at: z.string().nullable(),
|
|
732
|
+
user_id: z.string().nullable(),
|
|
733
|
+
visibility: publicChatVisibilitySchema,
|
|
734
|
+
});
|
|
735
|
+
export const publicChatsInsertSchema = z.object({
|
|
736
|
+
agent_id: z.string(),
|
|
737
|
+
created_at: z.string().optional(),
|
|
738
|
+
id: z.string().optional(),
|
|
739
|
+
lastContext: jsonSchema.optional().nullable(),
|
|
740
|
+
state: jsonSchema.optional().nullable(),
|
|
741
|
+
title: z.string(),
|
|
742
|
+
type: z.string().optional(),
|
|
743
|
+
updated_at: z.string().optional().nullable(),
|
|
744
|
+
user_id: z.string().optional().nullable(),
|
|
745
|
+
visibility: publicChatVisibilitySchema.optional(),
|
|
746
|
+
});
|
|
747
|
+
export const publicChatsUpdateSchema = z.object({
|
|
748
|
+
agent_id: z.string().optional(),
|
|
749
|
+
created_at: z.string().optional(),
|
|
750
|
+
id: z.string().optional(),
|
|
751
|
+
lastContext: jsonSchema.optional().nullable(),
|
|
752
|
+
state: jsonSchema.optional().nullable(),
|
|
753
|
+
title: z.string().optional(),
|
|
754
|
+
type: z.string().optional(),
|
|
755
|
+
updated_at: z.string().optional().nullable(),
|
|
756
|
+
user_id: z.string().optional().nullable(),
|
|
757
|
+
visibility: publicChatVisibilitySchema.optional(),
|
|
758
|
+
});
|
|
759
|
+
export const publicCloudAccountsRowSchema = z.object({
|
|
760
|
+
access_token: z.string().nullable(),
|
|
761
|
+
account_email: z.string().nullable(),
|
|
762
|
+
account_name: z.string().nullable(),
|
|
763
|
+
automation_config: jsonSchema.nullable(),
|
|
764
|
+
created_at: z.string(),
|
|
765
|
+
credentials: jsonSchema.nullable(),
|
|
766
|
+
device_fingerprint: jsonSchema.nullable(),
|
|
767
|
+
device_history: z.array(jsonSchema).nullable(),
|
|
768
|
+
id: z.string(),
|
|
769
|
+
last_refresh_at: z.string().nullable(),
|
|
770
|
+
last_used_at: z.string().nullable(),
|
|
771
|
+
metadata: jsonSchema.nullable(),
|
|
772
|
+
platform_name: z.string().nullable(),
|
|
773
|
+
proxy_disabled: z.boolean().nullable(),
|
|
774
|
+
proxy_disabled_at: z.string().nullable(),
|
|
775
|
+
proxy_disabled_reason: z.string().nullable(),
|
|
776
|
+
quota_data: jsonSchema.nullable(),
|
|
777
|
+
refresh_error: z.string().nullable(),
|
|
778
|
+
refresh_token: z.string().nullable(),
|
|
779
|
+
refresh_token_expires_at: z.string().nullable(),
|
|
780
|
+
session_data: jsonSchema.nullable(),
|
|
781
|
+
status: publicCloudAccountStatusSchema.nullable(),
|
|
782
|
+
status_reason: z.string().nullable(),
|
|
783
|
+
status_updated_at: z.string().nullable(),
|
|
784
|
+
token_expires_at: z.string().nullable(),
|
|
785
|
+
token_type: z.string().nullable(),
|
|
786
|
+
updated_at: z.string().nullable(),
|
|
787
|
+
use_count: z.number().nullable(),
|
|
788
|
+
user_id: z.string(),
|
|
789
|
+
});
|
|
790
|
+
export const publicCloudAccountsInsertSchema = z.object({
|
|
791
|
+
access_token: z.string().optional().nullable(),
|
|
792
|
+
account_email: z.string().optional().nullable(),
|
|
793
|
+
account_name: z.string().optional().nullable(),
|
|
794
|
+
automation_config: jsonSchema.optional().nullable(),
|
|
795
|
+
created_at: z.string().optional(),
|
|
796
|
+
credentials: jsonSchema.optional().nullable(),
|
|
797
|
+
device_fingerprint: jsonSchema.optional().nullable(),
|
|
798
|
+
device_history: z.array(jsonSchema).optional().nullable(),
|
|
799
|
+
id: z.string().optional(),
|
|
800
|
+
last_refresh_at: z.string().optional().nullable(),
|
|
801
|
+
last_used_at: z.string().optional().nullable(),
|
|
802
|
+
metadata: jsonSchema.optional().nullable(),
|
|
803
|
+
platform_name: z.string().optional().nullable(),
|
|
804
|
+
proxy_disabled: z.boolean().optional().nullable(),
|
|
805
|
+
proxy_disabled_at: z.string().optional().nullable(),
|
|
806
|
+
proxy_disabled_reason: z.string().optional().nullable(),
|
|
807
|
+
quota_data: jsonSchema.optional().nullable(),
|
|
808
|
+
refresh_error: z.string().optional().nullable(),
|
|
809
|
+
refresh_token: z.string().optional().nullable(),
|
|
810
|
+
refresh_token_expires_at: z.string().optional().nullable(),
|
|
811
|
+
session_data: jsonSchema.optional().nullable(),
|
|
812
|
+
status: publicCloudAccountStatusSchema.optional().nullable(),
|
|
813
|
+
status_reason: z.string().optional().nullable(),
|
|
814
|
+
status_updated_at: z.string().optional().nullable(),
|
|
815
|
+
token_expires_at: z.string().optional().nullable(),
|
|
816
|
+
token_type: z.string().optional().nullable(),
|
|
817
|
+
updated_at: z.string().optional().nullable(),
|
|
818
|
+
use_count: z.number().optional().nullable(),
|
|
819
|
+
user_id: z.string(),
|
|
820
|
+
});
|
|
821
|
+
export const publicCloudAccountsUpdateSchema = z.object({
|
|
822
|
+
access_token: z.string().optional().nullable(),
|
|
823
|
+
account_email: z.string().optional().nullable(),
|
|
824
|
+
account_name: z.string().optional().nullable(),
|
|
825
|
+
automation_config: jsonSchema.optional().nullable(),
|
|
826
|
+
created_at: z.string().optional(),
|
|
827
|
+
credentials: jsonSchema.optional().nullable(),
|
|
828
|
+
device_fingerprint: jsonSchema.optional().nullable(),
|
|
829
|
+
device_history: z.array(jsonSchema).optional().nullable(),
|
|
830
|
+
id: z.string().optional(),
|
|
831
|
+
last_refresh_at: z.string().optional().nullable(),
|
|
832
|
+
last_used_at: z.string().optional().nullable(),
|
|
833
|
+
metadata: jsonSchema.optional().nullable(),
|
|
834
|
+
platform_name: z.string().optional().nullable(),
|
|
835
|
+
proxy_disabled: z.boolean().optional().nullable(),
|
|
836
|
+
proxy_disabled_at: z.string().optional().nullable(),
|
|
837
|
+
proxy_disabled_reason: z.string().optional().nullable(),
|
|
838
|
+
quota_data: jsonSchema.optional().nullable(),
|
|
839
|
+
refresh_error: z.string().optional().nullable(),
|
|
840
|
+
refresh_token: z.string().optional().nullable(),
|
|
841
|
+
refresh_token_expires_at: z.string().optional().nullable(),
|
|
842
|
+
session_data: jsonSchema.optional().nullable(),
|
|
843
|
+
status: publicCloudAccountStatusSchema.optional().nullable(),
|
|
844
|
+
status_reason: z.string().optional().nullable(),
|
|
845
|
+
status_updated_at: z.string().optional().nullable(),
|
|
846
|
+
token_expires_at: z.string().optional().nullable(),
|
|
847
|
+
token_type: z.string().optional().nullable(),
|
|
848
|
+
updated_at: z.string().optional().nullable(),
|
|
849
|
+
use_count: z.number().optional().nullable(),
|
|
850
|
+
user_id: z.string().optional(),
|
|
851
|
+
});
|
|
852
|
+
export const publicComputeNodesRowSchema = z.object({
|
|
853
|
+
auth_secret: z.string().nullable(),
|
|
854
|
+
created_at: z.string(),
|
|
855
|
+
host: z.string(),
|
|
856
|
+
id: z.string(),
|
|
857
|
+
is_public: z.boolean().nullable(),
|
|
858
|
+
name: z.string(),
|
|
859
|
+
port: z.number(),
|
|
860
|
+
provider: z.string(),
|
|
861
|
+
status: publicComputeNodeStatusSchema.nullable(),
|
|
862
|
+
updated_at: z.string(),
|
|
863
|
+
user_id: z.string(),
|
|
864
|
+
username: z.string().nullable(),
|
|
865
|
+
});
|
|
866
|
+
export const publicComputeNodesInsertSchema = z.object({
|
|
867
|
+
auth_secret: z.string().optional().nullable(),
|
|
868
|
+
created_at: z.string().optional(),
|
|
869
|
+
host: z.string(),
|
|
870
|
+
id: z.string().optional(),
|
|
871
|
+
is_public: z.boolean().optional().nullable(),
|
|
872
|
+
name: z.string(),
|
|
873
|
+
port: z.number().optional(),
|
|
874
|
+
provider: z.string().optional(),
|
|
875
|
+
status: publicComputeNodeStatusSchema.optional().nullable(),
|
|
876
|
+
updated_at: z.string().optional(),
|
|
877
|
+
user_id: z.string().optional(),
|
|
878
|
+
username: z.string().optional().nullable(),
|
|
879
|
+
});
|
|
880
|
+
export const publicComputeNodesUpdateSchema = z.object({
|
|
881
|
+
auth_secret: z.string().optional().nullable(),
|
|
882
|
+
created_at: z.string().optional(),
|
|
883
|
+
host: z.string().optional(),
|
|
884
|
+
id: z.string().optional(),
|
|
885
|
+
is_public: z.boolean().optional().nullable(),
|
|
886
|
+
name: z.string().optional(),
|
|
887
|
+
port: z.number().optional(),
|
|
888
|
+
provider: z.string().optional(),
|
|
889
|
+
status: publicComputeNodeStatusSchema.optional().nullable(),
|
|
890
|
+
updated_at: z.string().optional(),
|
|
891
|
+
user_id: z.string().optional(),
|
|
892
|
+
username: z.string().optional().nullable(),
|
|
893
|
+
});
|
|
894
|
+
export const publicContactsRowSchema = z.object({
|
|
895
|
+
created_at: z.string(),
|
|
896
|
+
email: z.string().nullable(),
|
|
897
|
+
id: z.string(),
|
|
898
|
+
metadata: jsonSchema,
|
|
899
|
+
name: z.string().nullable(),
|
|
900
|
+
phone: z.string().nullable(),
|
|
901
|
+
platform: z.string(),
|
|
902
|
+
source: z.string(),
|
|
903
|
+
status: z.string(),
|
|
904
|
+
tags: z.array(z.string()),
|
|
905
|
+
telegram_id: z.number().nullable(),
|
|
906
|
+
telegram_username: z.string().nullable(),
|
|
907
|
+
updated_at: z.string(),
|
|
908
|
+
user_id: z.string(),
|
|
909
|
+
});
|
|
910
|
+
export const publicContactsInsertSchema = z.object({
|
|
911
|
+
created_at: z.string().optional(),
|
|
912
|
+
email: z.string().optional().nullable(),
|
|
913
|
+
id: z.string().optional(),
|
|
914
|
+
metadata: jsonSchema.optional(),
|
|
915
|
+
name: z.string().optional().nullable(),
|
|
916
|
+
phone: z.string().optional().nullable(),
|
|
917
|
+
platform: z.string().optional(),
|
|
918
|
+
source: z.string().optional(),
|
|
919
|
+
status: z.string().optional(),
|
|
920
|
+
tags: z.array(z.string()).optional(),
|
|
921
|
+
telegram_id: z.number().optional().nullable(),
|
|
922
|
+
telegram_username: z.string().optional().nullable(),
|
|
923
|
+
updated_at: z.string().optional(),
|
|
924
|
+
user_id: z.string(),
|
|
925
|
+
});
|
|
926
|
+
export const publicContactsUpdateSchema = z.object({
|
|
927
|
+
created_at: z.string().optional(),
|
|
928
|
+
email: z.string().optional().nullable(),
|
|
929
|
+
id: z.string().optional(),
|
|
930
|
+
metadata: jsonSchema.optional(),
|
|
931
|
+
name: z.string().optional().nullable(),
|
|
932
|
+
phone: z.string().optional().nullable(),
|
|
933
|
+
platform: z.string().optional(),
|
|
934
|
+
source: z.string().optional(),
|
|
935
|
+
status: z.string().optional(),
|
|
936
|
+
tags: z.array(z.string()).optional(),
|
|
937
|
+
telegram_id: z.number().optional().nullable(),
|
|
938
|
+
telegram_username: z.string().optional().nullable(),
|
|
939
|
+
updated_at: z.string().optional(),
|
|
940
|
+
user_id: z.string().optional(),
|
|
941
|
+
});
|
|
942
|
+
export const publicGomtmModelsRowSchema = z.object({
|
|
943
|
+
api_base: z.string().nullable(),
|
|
944
|
+
api_key: z.string().nullable(),
|
|
945
|
+
config: jsonSchema.nullable(),
|
|
946
|
+
created_at: z.string(),
|
|
947
|
+
id: z.string(),
|
|
948
|
+
is_active: z.boolean(),
|
|
949
|
+
linked_account_id: z.string().nullable(),
|
|
950
|
+
model: z.string(),
|
|
951
|
+
name: z.string(),
|
|
952
|
+
provider: z.string(),
|
|
953
|
+
updated_at: z.string(),
|
|
954
|
+
user_id: z.string(),
|
|
955
|
+
});
|
|
956
|
+
export const publicGomtmModelsInsertSchema = z.object({
|
|
957
|
+
api_base: z.string().optional().nullable(),
|
|
958
|
+
api_key: z.string().optional().nullable(),
|
|
959
|
+
config: jsonSchema.optional().nullable(),
|
|
960
|
+
created_at: z.string().optional(),
|
|
961
|
+
id: z.string().optional(),
|
|
962
|
+
is_active: z.boolean().optional(),
|
|
963
|
+
linked_account_id: z.string().optional().nullable(),
|
|
964
|
+
model: z.string(),
|
|
965
|
+
name: z.string(),
|
|
966
|
+
provider: z.string(),
|
|
967
|
+
updated_at: z.string().optional(),
|
|
968
|
+
user_id: z.string(),
|
|
969
|
+
});
|
|
970
|
+
export const publicGomtmModelsUpdateSchema = z.object({
|
|
971
|
+
api_base: z.string().optional().nullable(),
|
|
972
|
+
api_key: z.string().optional().nullable(),
|
|
973
|
+
config: jsonSchema.optional().nullable(),
|
|
974
|
+
created_at: z.string().optional(),
|
|
975
|
+
id: z.string().optional(),
|
|
976
|
+
is_active: z.boolean().optional(),
|
|
977
|
+
linked_account_id: z.string().optional().nullable(),
|
|
978
|
+
model: z.string().optional(),
|
|
979
|
+
name: z.string().optional(),
|
|
980
|
+
provider: z.string().optional(),
|
|
981
|
+
updated_at: z.string().optional(),
|
|
982
|
+
user_id: z.string().optional(),
|
|
983
|
+
});
|
|
984
|
+
export const publicGomtmModelsRelationshipsSchema = z.tuple([
|
|
985
|
+
z.object({
|
|
986
|
+
foreignKeyName: z.literal("gomtm_models_linked_account_id_fkey"),
|
|
987
|
+
columns: z.tuple([z.literal("linked_account_id")]),
|
|
988
|
+
isOneToOne: z.literal(false),
|
|
989
|
+
referencedRelation: z.literal("cloud_accounts"),
|
|
990
|
+
referencedColumns: z.tuple([z.literal("id")]),
|
|
991
|
+
}),
|
|
992
|
+
]);
|
|
993
|
+
export const publicInstanceTagsRowSchema = z.object({
|
|
994
|
+
created_at: z.string(),
|
|
995
|
+
instance_id: z.string(),
|
|
996
|
+
tag_id: z.string(),
|
|
997
|
+
});
|
|
998
|
+
export const publicInstanceTagsInsertSchema = z.object({
|
|
999
|
+
created_at: z.string().optional(),
|
|
1000
|
+
instance_id: z.string(),
|
|
1001
|
+
tag_id: z.string(),
|
|
1002
|
+
});
|
|
1003
|
+
export const publicInstanceTagsUpdateSchema = z.object({
|
|
1004
|
+
created_at: z.string().optional(),
|
|
1005
|
+
instance_id: z.string().optional(),
|
|
1006
|
+
tag_id: z.string().optional(),
|
|
1007
|
+
});
|
|
1008
|
+
export const publicInstanceTagsRelationshipsSchema = z.tuple([
|
|
1009
|
+
z.object({
|
|
1010
|
+
foreignKeyName: z.literal("instance_tags_instance_id_fkey"),
|
|
1011
|
+
columns: z.tuple([z.literal("instance_id")]),
|
|
1012
|
+
isOneToOne: z.literal(false),
|
|
1013
|
+
referencedRelation: z.literal("servers"),
|
|
1014
|
+
referencedColumns: z.tuple([z.literal("id")]),
|
|
1015
|
+
}),
|
|
1016
|
+
z.object({
|
|
1017
|
+
foreignKeyName: z.literal("instance_tags_tag_id_fkey"),
|
|
1018
|
+
columns: z.tuple([z.literal("tag_id")]),
|
|
1019
|
+
isOneToOne: z.literal(false),
|
|
1020
|
+
referencedRelation: z.literal("tags"),
|
|
1021
|
+
referencedColumns: z.tuple([z.literal("id")]),
|
|
1022
|
+
}),
|
|
1023
|
+
]);
|
|
1024
|
+
export const publicMitmRulesRowSchema = z.object({
|
|
1025
|
+
action_config: jsonSchema.nullable(),
|
|
1026
|
+
action_type: z.string().nullable(),
|
|
1027
|
+
created_at: z.string().nullable(),
|
|
1028
|
+
id: z.string(),
|
|
1029
|
+
is_active: z.boolean().nullable(),
|
|
1030
|
+
match_pattern: z.string().nullable(),
|
|
1031
|
+
name: z.string().nullable(),
|
|
1032
|
+
resource_id: z.string().nullable(),
|
|
1033
|
+
user_id: z.string().nullable(),
|
|
1034
|
+
});
|
|
1035
|
+
export const publicMitmRulesInsertSchema = z.object({
|
|
1036
|
+
action_config: jsonSchema.optional().nullable(),
|
|
1037
|
+
action_type: z.string().optional().nullable(),
|
|
1038
|
+
created_at: z.string().optional().nullable(),
|
|
1039
|
+
id: z.string().optional(),
|
|
1040
|
+
is_active: z.boolean().optional().nullable(),
|
|
1041
|
+
match_pattern: z.string().optional().nullable(),
|
|
1042
|
+
name: z.string().optional().nullable(),
|
|
1043
|
+
resource_id: z.string().optional().nullable(),
|
|
1044
|
+
user_id: z.string().optional().nullable(),
|
|
1045
|
+
});
|
|
1046
|
+
export const publicMitmRulesUpdateSchema = z.object({
|
|
1047
|
+
action_config: jsonSchema.optional().nullable(),
|
|
1048
|
+
action_type: z.string().optional().nullable(),
|
|
1049
|
+
created_at: z.string().optional().nullable(),
|
|
1050
|
+
id: z.string().optional(),
|
|
1051
|
+
is_active: z.boolean().optional().nullable(),
|
|
1052
|
+
match_pattern: z.string().optional().nullable(),
|
|
1053
|
+
name: z.string().optional().nullable(),
|
|
1054
|
+
resource_id: z.string().optional().nullable(),
|
|
1055
|
+
user_id: z.string().optional().nullable(),
|
|
1056
|
+
});
|
|
1057
|
+
export const publicMitmRulesRelationshipsSchema = z.tuple([
|
|
1058
|
+
z.object({
|
|
1059
|
+
foreignKeyName: z.literal("mitm_rules_resource_id_fkey"),
|
|
1060
|
+
columns: z.tuple([z.literal("resource_id")]),
|
|
1061
|
+
isOneToOne: z.literal(false),
|
|
1062
|
+
referencedRelation: z.literal("resources"),
|
|
1063
|
+
referencedColumns: z.tuple([z.literal("id")]),
|
|
1064
|
+
}),
|
|
1065
|
+
]);
|
|
1066
|
+
export const publicOutreachMessagesRowSchema = z.object({
|
|
1067
|
+
content: z.string().nullable(),
|
|
1068
|
+
created_at: z.string(),
|
|
1069
|
+
delivered_at: z.string().nullable(),
|
|
1070
|
+
direction: z.string(),
|
|
1071
|
+
id: z.string(),
|
|
1072
|
+
metadata: jsonSchema.nullable(),
|
|
1073
|
+
read_at: z.string().nullable(),
|
|
1074
|
+
sent_at: z.string().nullable(),
|
|
1075
|
+
status: z.string().nullable(),
|
|
1076
|
+
task_id: z.string(),
|
|
1077
|
+
telegram_message_id: z.number().nullable(),
|
|
1078
|
+
user_id: z.string(),
|
|
1079
|
+
});
|
|
1080
|
+
export const publicOutreachMessagesInsertSchema = z.object({
|
|
1081
|
+
content: z.string().optional().nullable(),
|
|
1082
|
+
created_at: z.string().optional(),
|
|
1083
|
+
delivered_at: z.string().optional().nullable(),
|
|
1084
|
+
direction: z.string(),
|
|
1085
|
+
id: z.string().optional(),
|
|
1086
|
+
metadata: jsonSchema.optional().nullable(),
|
|
1087
|
+
read_at: z.string().optional().nullable(),
|
|
1088
|
+
sent_at: z.string().optional().nullable(),
|
|
1089
|
+
status: z.string().optional().nullable(),
|
|
1090
|
+
task_id: z.string(),
|
|
1091
|
+
telegram_message_id: z.number().optional().nullable(),
|
|
1092
|
+
user_id: z.string(),
|
|
1093
|
+
});
|
|
1094
|
+
export const publicOutreachMessagesUpdateSchema = z.object({
|
|
1095
|
+
content: z.string().optional().nullable(),
|
|
1096
|
+
created_at: z.string().optional(),
|
|
1097
|
+
delivered_at: z.string().optional().nullable(),
|
|
1098
|
+
direction: z.string().optional(),
|
|
1099
|
+
id: z.string().optional(),
|
|
1100
|
+
metadata: jsonSchema.optional().nullable(),
|
|
1101
|
+
read_at: z.string().optional().nullable(),
|
|
1102
|
+
sent_at: z.string().optional().nullable(),
|
|
1103
|
+
status: z.string().optional().nullable(),
|
|
1104
|
+
task_id: z.string().optional(),
|
|
1105
|
+
telegram_message_id: z.number().optional().nullable(),
|
|
1106
|
+
user_id: z.string().optional(),
|
|
1107
|
+
});
|
|
1108
|
+
export const publicOutreachMessagesRelationshipsSchema = z.tuple([
|
|
1109
|
+
z.object({
|
|
1110
|
+
foreignKeyName: z.literal("outreach_messages_task_id_fkey"),
|
|
1111
|
+
columns: z.tuple([z.literal("task_id")]),
|
|
1112
|
+
isOneToOne: z.literal(false),
|
|
1113
|
+
referencedRelation: z.literal("outreach_tasks"),
|
|
1114
|
+
referencedColumns: z.tuple([z.literal("id")]),
|
|
1115
|
+
}),
|
|
1116
|
+
]);
|
|
1117
|
+
export const publicOutreachTasksRowSchema = z.object({
|
|
1118
|
+
campaign_id: z.string(),
|
|
1119
|
+
cloud_account_id: z.string().nullable(),
|
|
1120
|
+
contact_id: z.string(),
|
|
1121
|
+
created_at: z.string(),
|
|
1122
|
+
error_message: z.string().nullable(),
|
|
1123
|
+
executed_at: z.string().nullable(),
|
|
1124
|
+
id: z.string(),
|
|
1125
|
+
metadata: jsonSchema.nullable(),
|
|
1126
|
+
priority: z.number().nullable(),
|
|
1127
|
+
retry_count: z.number().nullable(),
|
|
1128
|
+
scheduled_at: z.string().nullable(),
|
|
1129
|
+
status: z.string(),
|
|
1130
|
+
updated_at: z.string(),
|
|
1131
|
+
user_id: z.string(),
|
|
1132
|
+
});
|
|
1133
|
+
export const publicOutreachTasksInsertSchema = z.object({
|
|
1134
|
+
campaign_id: z.string(),
|
|
1135
|
+
cloud_account_id: z.string().optional().nullable(),
|
|
1136
|
+
contact_id: z.string(),
|
|
1137
|
+
created_at: z.string().optional(),
|
|
1138
|
+
error_message: z.string().optional().nullable(),
|
|
1139
|
+
executed_at: z.string().optional().nullable(),
|
|
1140
|
+
id: z.string().optional(),
|
|
1141
|
+
metadata: jsonSchema.optional().nullable(),
|
|
1142
|
+
priority: z.number().optional().nullable(),
|
|
1143
|
+
retry_count: z.number().optional().nullable(),
|
|
1144
|
+
scheduled_at: z.string().optional().nullable(),
|
|
1145
|
+
status: z.string().optional(),
|
|
1146
|
+
updated_at: z.string().optional(),
|
|
1147
|
+
user_id: z.string(),
|
|
1148
|
+
});
|
|
1149
|
+
export const publicOutreachTasksUpdateSchema = z.object({
|
|
1150
|
+
campaign_id: z.string().optional(),
|
|
1151
|
+
cloud_account_id: z.string().optional().nullable(),
|
|
1152
|
+
contact_id: z.string().optional(),
|
|
1153
|
+
created_at: z.string().optional(),
|
|
1154
|
+
error_message: z.string().optional().nullable(),
|
|
1155
|
+
executed_at: z.string().optional().nullable(),
|
|
1156
|
+
id: z.string().optional(),
|
|
1157
|
+
metadata: jsonSchema.optional().nullable(),
|
|
1158
|
+
priority: z.number().optional().nullable(),
|
|
1159
|
+
retry_count: z.number().optional().nullable(),
|
|
1160
|
+
scheduled_at: z.string().optional().nullable(),
|
|
1161
|
+
status: z.string().optional(),
|
|
1162
|
+
updated_at: z.string().optional(),
|
|
1163
|
+
user_id: z.string().optional(),
|
|
1164
|
+
});
|
|
1165
|
+
export const publicOutreachTasksRelationshipsSchema = z.tuple([
|
|
1166
|
+
z.object({
|
|
1167
|
+
foreignKeyName: z.literal("outreach_tasks_campaign_id_fkey"),
|
|
1168
|
+
columns: z.tuple([z.literal("campaign_id")]),
|
|
1169
|
+
isOneToOne: z.literal(false),
|
|
1170
|
+
referencedRelation: z.literal("campaigns"),
|
|
1171
|
+
referencedColumns: z.tuple([z.literal("id")]),
|
|
1172
|
+
}),
|
|
1173
|
+
z.object({
|
|
1174
|
+
foreignKeyName: z.literal("outreach_tasks_cloud_account_id_fkey"),
|
|
1175
|
+
columns: z.tuple([z.literal("cloud_account_id")]),
|
|
1176
|
+
isOneToOne: z.literal(false),
|
|
1177
|
+
referencedRelation: z.literal("cloud_accounts"),
|
|
1178
|
+
referencedColumns: z.tuple([z.literal("id")]),
|
|
1179
|
+
}),
|
|
1180
|
+
z.object({
|
|
1181
|
+
foreignKeyName: z.literal("outreach_tasks_contact_id_fkey"),
|
|
1182
|
+
columns: z.tuple([z.literal("contact_id")]),
|
|
1183
|
+
isOneToOne: z.literal(false),
|
|
1184
|
+
referencedRelation: z.literal("contacts"),
|
|
1185
|
+
referencedColumns: z.tuple([z.literal("id")]),
|
|
1186
|
+
}),
|
|
1187
|
+
]);
|
|
1188
|
+
export const publicProfilesRowSchema = z.object({
|
|
1189
|
+
avatar_url: z.string().nullable(),
|
|
1190
|
+
full_name: z.string().nullable(),
|
|
1191
|
+
id: z.string(),
|
|
1192
|
+
updated_at: z.string().nullable(),
|
|
1193
|
+
username: z.string().nullable(),
|
|
1194
|
+
website: z.string().nullable(),
|
|
1195
|
+
});
|
|
1196
|
+
export const publicProfilesInsertSchema = z.object({
|
|
1197
|
+
avatar_url: z.string().optional().nullable(),
|
|
1198
|
+
full_name: z.string().optional().nullable(),
|
|
1199
|
+
id: z.string(),
|
|
1200
|
+
updated_at: z.string().optional().nullable(),
|
|
1201
|
+
username: z.string().optional().nullable(),
|
|
1202
|
+
website: z.string().optional().nullable(),
|
|
1203
|
+
});
|
|
1204
|
+
export const publicProfilesUpdateSchema = z.object({
|
|
1205
|
+
avatar_url: z.string().optional().nullable(),
|
|
1206
|
+
full_name: z.string().optional().nullable(),
|
|
1207
|
+
id: z.string().optional(),
|
|
1208
|
+
updated_at: z.string().optional().nullable(),
|
|
1209
|
+
username: z.string().optional().nullable(),
|
|
1210
|
+
website: z.string().optional().nullable(),
|
|
1211
|
+
});
|
|
1212
|
+
export const publicProxiesRowSchema = z.object({
|
|
1213
|
+
created_at: z.string(),
|
|
1214
|
+
description: z.string().nullable(),
|
|
1215
|
+
enabled: z.boolean(),
|
|
1216
|
+
id: z.string(),
|
|
1217
|
+
name: z.string().nullable(),
|
|
1218
|
+
type: z.string().nullable(),
|
|
1219
|
+
updated_at: z.string().nullable(),
|
|
1220
|
+
url: z.string(),
|
|
1221
|
+
user_id: z.string().nullable(),
|
|
1222
|
+
});
|
|
1223
|
+
export const publicProxiesInsertSchema = z.object({
|
|
1224
|
+
created_at: z.string().optional(),
|
|
1225
|
+
description: z.string().optional().nullable(),
|
|
1226
|
+
enabled: z.boolean().optional(),
|
|
1227
|
+
id: z.string().optional(),
|
|
1228
|
+
name: z.string().optional().nullable(),
|
|
1229
|
+
type: z.string().optional().nullable(),
|
|
1230
|
+
updated_at: z.string().optional().nullable(),
|
|
1231
|
+
url: z.string(),
|
|
1232
|
+
user_id: z.string().optional().nullable(),
|
|
1233
|
+
});
|
|
1234
|
+
export const publicProxiesUpdateSchema = z.object({
|
|
1235
|
+
created_at: z.string().optional(),
|
|
1236
|
+
description: z.string().optional().nullable(),
|
|
1237
|
+
enabled: z.boolean().optional(),
|
|
1238
|
+
id: z.string().optional(),
|
|
1239
|
+
name: z.string().optional().nullable(),
|
|
1240
|
+
type: z.string().optional().nullable(),
|
|
1241
|
+
updated_at: z.string().optional().nullable(),
|
|
1242
|
+
url: z.string().optional(),
|
|
1243
|
+
user_id: z.string().optional().nullable(),
|
|
1244
|
+
});
|
|
1245
|
+
export const publicResourcesRowSchema = z.object({
|
|
1246
|
+
created_at: z.string(),
|
|
1247
|
+
data: jsonSchema.nullable(),
|
|
1248
|
+
description: z.string().nullable(),
|
|
1249
|
+
hash1: z.string().nullable(),
|
|
1250
|
+
icon: z.string().nullable(),
|
|
1251
|
+
id: z.string(),
|
|
1252
|
+
is_public: z.boolean().nullable(),
|
|
1253
|
+
meta: jsonSchema.nullable(),
|
|
1254
|
+
target_id: z.string().nullable(),
|
|
1255
|
+
title: z.string().nullable(),
|
|
1256
|
+
type: z.string().nullable(),
|
|
1257
|
+
updated_at: z.string().nullable(),
|
|
1258
|
+
user_id: z.string().nullable(),
|
|
1259
|
+
});
|
|
1260
|
+
export const publicResourcesInsertSchema = z.object({
|
|
1261
|
+
created_at: z.string().optional(),
|
|
1262
|
+
data: jsonSchema.optional().nullable(),
|
|
1263
|
+
description: z.string().optional().nullable(),
|
|
1264
|
+
hash1: z.string().optional().nullable(),
|
|
1265
|
+
icon: z.string().optional().nullable(),
|
|
1266
|
+
id: z.string().optional(),
|
|
1267
|
+
is_public: z.boolean().optional().nullable(),
|
|
1268
|
+
meta: jsonSchema.optional().nullable(),
|
|
1269
|
+
target_id: z.string().optional().nullable(),
|
|
1270
|
+
title: z.string().optional().nullable(),
|
|
1271
|
+
type: z.string().optional().nullable(),
|
|
1272
|
+
updated_at: z.string().optional().nullable(),
|
|
1273
|
+
user_id: z.string().optional().nullable(),
|
|
1274
|
+
});
|
|
1275
|
+
export const publicResourcesUpdateSchema = z.object({
|
|
1276
|
+
created_at: z.string().optional(),
|
|
1277
|
+
data: jsonSchema.optional().nullable(),
|
|
1278
|
+
description: z.string().optional().nullable(),
|
|
1279
|
+
hash1: z.string().optional().nullable(),
|
|
1280
|
+
icon: z.string().optional().nullable(),
|
|
1281
|
+
id: z.string().optional(),
|
|
1282
|
+
is_public: z.boolean().optional().nullable(),
|
|
1283
|
+
meta: jsonSchema.optional().nullable(),
|
|
1284
|
+
target_id: z.string().optional().nullable(),
|
|
1285
|
+
title: z.string().optional().nullable(),
|
|
1286
|
+
type: z.string().optional().nullable(),
|
|
1287
|
+
updated_at: z.string().optional().nullable(),
|
|
1288
|
+
user_id: z.string().optional().nullable(),
|
|
1289
|
+
});
|
|
1290
|
+
export const publicServersRowSchema = z.object({
|
|
1291
|
+
cloudflared_token: z.string().nullable(),
|
|
1292
|
+
created_at: z.string(),
|
|
1293
|
+
host_id: z.string().nullable(),
|
|
1294
|
+
id: z.string(),
|
|
1295
|
+
is_shared: z.boolean().nullable(),
|
|
1296
|
+
latest_pull_at: z.string().nullable(),
|
|
1297
|
+
name: z.string().nullable(),
|
|
1298
|
+
runtime: z.string().nullable(),
|
|
1299
|
+
state: jsonSchema.nullable(),
|
|
1300
|
+
status: publicWorkerStatusSchema.nullable(),
|
|
1301
|
+
updated_at: z.string(),
|
|
1302
|
+
user_id: z.string().nullable(),
|
|
1303
|
+
});
|
|
1304
|
+
export const publicServersInsertSchema = z.object({
|
|
1305
|
+
cloudflared_token: z.string().optional().nullable(),
|
|
1306
|
+
created_at: z.string().optional(),
|
|
1307
|
+
host_id: z.string().optional().nullable(),
|
|
1308
|
+
id: z.string(),
|
|
1309
|
+
is_shared: z.boolean().optional().nullable(),
|
|
1310
|
+
latest_pull_at: z.string().optional().nullable(),
|
|
1311
|
+
name: z.string().optional().nullable(),
|
|
1312
|
+
runtime: z.string().optional().nullable(),
|
|
1313
|
+
state: jsonSchema.optional().nullable(),
|
|
1314
|
+
status: publicWorkerStatusSchema.optional().nullable(),
|
|
1315
|
+
updated_at: z.string().optional(),
|
|
1316
|
+
user_id: z.string().optional().nullable(),
|
|
1317
|
+
});
|
|
1318
|
+
export const publicServersUpdateSchema = z.object({
|
|
1319
|
+
cloudflared_token: z.string().optional().nullable(),
|
|
1320
|
+
created_at: z.string().optional(),
|
|
1321
|
+
host_id: z.string().optional().nullable(),
|
|
1322
|
+
id: z.string().optional(),
|
|
1323
|
+
is_shared: z.boolean().optional().nullable(),
|
|
1324
|
+
latest_pull_at: z.string().optional().nullable(),
|
|
1325
|
+
name: z.string().optional().nullable(),
|
|
1326
|
+
runtime: z.string().optional().nullable(),
|
|
1327
|
+
state: jsonSchema.optional().nullable(),
|
|
1328
|
+
status: publicWorkerStatusSchema.optional().nullable(),
|
|
1329
|
+
updated_at: z.string().optional(),
|
|
1330
|
+
user_id: z.string().optional().nullable(),
|
|
1331
|
+
});
|
|
1332
|
+
export const publicServersRelationshipsSchema = z.tuple([
|
|
1333
|
+
z.object({
|
|
1334
|
+
foreignKeyName: z.literal("workers_host_id_fkey"),
|
|
1335
|
+
columns: z.tuple([z.literal("host_id")]),
|
|
1336
|
+
isOneToOne: z.literal(false),
|
|
1337
|
+
referencedRelation: z.literal("compute_nodes"),
|
|
1338
|
+
referencedColumns: z.tuple([z.literal("id")]),
|
|
1339
|
+
}),
|
|
1340
|
+
]);
|
|
1341
|
+
export const publicSysConfigRowSchema = z.object({
|
|
1342
|
+
created_at: z.string().nullable(),
|
|
1343
|
+
description: z.string().nullable(),
|
|
1344
|
+
key: z.string(),
|
|
1345
|
+
updated_at: z.string().nullable(),
|
|
1346
|
+
value: jsonSchema,
|
|
1347
|
+
});
|
|
1348
|
+
export const publicSysConfigInsertSchema = z.object({
|
|
1349
|
+
created_at: z.string().optional().nullable(),
|
|
1350
|
+
description: z.string().optional().nullable(),
|
|
1351
|
+
key: z.string(),
|
|
1352
|
+
updated_at: z.string().optional().nullable(),
|
|
1353
|
+
value: jsonSchema.optional(),
|
|
1354
|
+
});
|
|
1355
|
+
export const publicSysConfigUpdateSchema = z.object({
|
|
1356
|
+
created_at: z.string().optional().nullable(),
|
|
1357
|
+
description: z.string().optional().nullable(),
|
|
1358
|
+
key: z.string().optional(),
|
|
1359
|
+
updated_at: z.string().optional().nullable(),
|
|
1360
|
+
value: jsonSchema.optional(),
|
|
1361
|
+
});
|
|
1362
|
+
export const publicSysLogsRowSchema = z.object({
|
|
1363
|
+
created_at: z.string(),
|
|
1364
|
+
id: z.number(),
|
|
1365
|
+
level: z.number().nullable(),
|
|
1366
|
+
module: z.string().nullable(),
|
|
1367
|
+
text: z.string().nullable(),
|
|
1368
|
+
user_id: z.string().nullable(),
|
|
1369
|
+
});
|
|
1370
|
+
export const publicSysLogsInsertSchema = z.object({
|
|
1371
|
+
created_at: z.string().optional(),
|
|
1372
|
+
id: z.number().optional(),
|
|
1373
|
+
level: z.number().optional().nullable(),
|
|
1374
|
+
module: z.string().optional().nullable(),
|
|
1375
|
+
text: z.string().optional().nullable(),
|
|
1376
|
+
user_id: z.string().optional().nullable(),
|
|
1377
|
+
});
|
|
1378
|
+
export const publicSysLogsUpdateSchema = z.object({
|
|
1379
|
+
created_at: z.string().optional(),
|
|
1380
|
+
id: z.number().optional(),
|
|
1381
|
+
level: z.number().optional().nullable(),
|
|
1382
|
+
module: z.string().optional().nullable(),
|
|
1383
|
+
text: z.string().optional().nullable(),
|
|
1384
|
+
user_id: z.string().optional().nullable(),
|
|
1385
|
+
});
|
|
1386
|
+
export const publicSystemConfigPublicRowSchema = z.object({
|
|
1387
|
+
created_at: z.string().nullable(),
|
|
1388
|
+
description: z.string().nullable(),
|
|
1389
|
+
key: z.string(),
|
|
1390
|
+
updated_at: z.string().nullable(),
|
|
1391
|
+
value: jsonSchema,
|
|
1392
|
+
});
|
|
1393
|
+
export const publicSystemConfigPublicInsertSchema = z.object({
|
|
1394
|
+
created_at: z.string().optional().nullable(),
|
|
1395
|
+
description: z.string().optional().nullable(),
|
|
1396
|
+
key: z.string(),
|
|
1397
|
+
updated_at: z.string().optional().nullable(),
|
|
1398
|
+
value: jsonSchema.optional(),
|
|
1399
|
+
});
|
|
1400
|
+
export const publicSystemConfigPublicUpdateSchema = z.object({
|
|
1401
|
+
created_at: z.string().optional().nullable(),
|
|
1402
|
+
description: z.string().optional().nullable(),
|
|
1403
|
+
key: z.string().optional(),
|
|
1404
|
+
updated_at: z.string().optional().nullable(),
|
|
1405
|
+
value: jsonSchema.optional(),
|
|
1406
|
+
});
|
|
1407
|
+
export const publicTagsRowSchema = z.object({
|
|
1408
|
+
color: z.string().nullable(),
|
|
1409
|
+
created_at: z.string(),
|
|
1410
|
+
id: z.string(),
|
|
1411
|
+
name: z.string(),
|
|
1412
|
+
updated_at: z.string(),
|
|
1413
|
+
user_id: z.string().nullable(),
|
|
1414
|
+
});
|
|
1415
|
+
export const publicTagsInsertSchema = z.object({
|
|
1416
|
+
color: z.string().optional().nullable(),
|
|
1417
|
+
created_at: z.string().optional(),
|
|
1418
|
+
id: z.string().optional(),
|
|
1419
|
+
name: z.string(),
|
|
1420
|
+
updated_at: z.string().optional(),
|
|
1421
|
+
user_id: z.string().optional().nullable(),
|
|
1422
|
+
});
|
|
1423
|
+
export const publicTagsUpdateSchema = z.object({
|
|
1424
|
+
color: z.string().optional().nullable(),
|
|
1425
|
+
created_at: z.string().optional(),
|
|
1426
|
+
id: z.string().optional(),
|
|
1427
|
+
name: z.string().optional(),
|
|
1428
|
+
updated_at: z.string().optional(),
|
|
1429
|
+
user_id: z.string().optional().nullable(),
|
|
1430
|
+
});
|
|
1431
|
+
export const publicUserLogsRowSchema = z.object({
|
|
1432
|
+
content: z.string().nullable(),
|
|
1433
|
+
created_at: z.string().nullable(),
|
|
1434
|
+
event_type: z.string(),
|
|
1435
|
+
id: z.string(),
|
|
1436
|
+
level: z.string(),
|
|
1437
|
+
meta: jsonSchema.nullable(),
|
|
1438
|
+
resource_id: z.string().nullable(),
|
|
1439
|
+
resource_type: z.string().nullable(),
|
|
1440
|
+
user_id: z.string(),
|
|
1441
|
+
});
|
|
1442
|
+
export const publicUserLogsInsertSchema = z.object({
|
|
1443
|
+
content: z.string().optional().nullable(),
|
|
1444
|
+
created_at: z.string().optional().nullable(),
|
|
1445
|
+
event_type: z.string(),
|
|
1446
|
+
id: z.string().optional(),
|
|
1447
|
+
level: z.string(),
|
|
1448
|
+
meta: jsonSchema.optional().nullable(),
|
|
1449
|
+
resource_id: z.string().optional().nullable(),
|
|
1450
|
+
resource_type: z.string().optional().nullable(),
|
|
1451
|
+
user_id: z.string().optional(),
|
|
1452
|
+
});
|
|
1453
|
+
export const publicUserLogsUpdateSchema = z.object({
|
|
1454
|
+
content: z.string().optional().nullable(),
|
|
1455
|
+
created_at: z.string().optional().nullable(),
|
|
1456
|
+
event_type: z.string().optional(),
|
|
1457
|
+
id: z.string().optional(),
|
|
1458
|
+
level: z.string().optional(),
|
|
1459
|
+
meta: jsonSchema.optional().nullable(),
|
|
1460
|
+
resource_id: z.string().optional().nullable(),
|
|
1461
|
+
resource_type: z.string().optional().nullable(),
|
|
1462
|
+
user_id: z.string().optional(),
|
|
1463
|
+
});
|
|
1464
|
+
export const publicUserNotificationsRowSchema = z.object({
|
|
1465
|
+
action_completed_at: z.string().nullable(),
|
|
1466
|
+
action_payload: jsonSchema.nullable(),
|
|
1467
|
+
action_type: z.string().nullable(),
|
|
1468
|
+
created_at: z.string(),
|
|
1469
|
+
dismissed_at: z.string().nullable(),
|
|
1470
|
+
expires_at: z.string().nullable(),
|
|
1471
|
+
id: z.string(),
|
|
1472
|
+
is_read: z.boolean(),
|
|
1473
|
+
message: z.string().nullable(),
|
|
1474
|
+
notification_type: z.string(),
|
|
1475
|
+
priority: z.string(),
|
|
1476
|
+
read_at: z.string().nullable(),
|
|
1477
|
+
source_id: z.string().nullable(),
|
|
1478
|
+
source_type: z.string().nullable(),
|
|
1479
|
+
title: z.string(),
|
|
1480
|
+
updated_at: z.string(),
|
|
1481
|
+
user_id: z.string(),
|
|
1482
|
+
});
|
|
1483
|
+
export const publicUserNotificationsInsertSchema = z.object({
|
|
1484
|
+
action_completed_at: z.string().optional().nullable(),
|
|
1485
|
+
action_payload: jsonSchema.optional().nullable(),
|
|
1486
|
+
action_type: z.string().optional().nullable(),
|
|
1487
|
+
created_at: z.string().optional(),
|
|
1488
|
+
dismissed_at: z.string().optional().nullable(),
|
|
1489
|
+
expires_at: z.string().optional().nullable(),
|
|
1490
|
+
id: z.string().optional(),
|
|
1491
|
+
is_read: z.boolean().optional(),
|
|
1492
|
+
message: z.string().optional().nullable(),
|
|
1493
|
+
notification_type: z.string().optional(),
|
|
1494
|
+
priority: z.string().optional(),
|
|
1495
|
+
read_at: z.string().optional().nullable(),
|
|
1496
|
+
source_id: z.string().optional().nullable(),
|
|
1497
|
+
source_type: z.string().optional().nullable(),
|
|
1498
|
+
title: z.string(),
|
|
1499
|
+
updated_at: z.string().optional(),
|
|
1500
|
+
user_id: z.string(),
|
|
1501
|
+
});
|
|
1502
|
+
export const publicUserNotificationsUpdateSchema = z.object({
|
|
1503
|
+
action_completed_at: z.string().optional().nullable(),
|
|
1504
|
+
action_payload: jsonSchema.optional().nullable(),
|
|
1505
|
+
action_type: z.string().optional().nullable(),
|
|
1506
|
+
created_at: z.string().optional(),
|
|
1507
|
+
dismissed_at: z.string().optional().nullable(),
|
|
1508
|
+
expires_at: z.string().optional().nullable(),
|
|
1509
|
+
id: z.string().optional(),
|
|
1510
|
+
is_read: z.boolean().optional(),
|
|
1511
|
+
message: z.string().optional().nullable(),
|
|
1512
|
+
notification_type: z.string().optional(),
|
|
1513
|
+
priority: z.string().optional(),
|
|
1514
|
+
read_at: z.string().optional().nullable(),
|
|
1515
|
+
source_id: z.string().optional().nullable(),
|
|
1516
|
+
source_type: z.string().optional().nullable(),
|
|
1517
|
+
title: z.string().optional(),
|
|
1518
|
+
updated_at: z.string().optional(),
|
|
1519
|
+
user_id: z.string().optional(),
|
|
1520
|
+
});
|
|
1521
|
+
export const publicUserRolesRowSchema = z.object({
|
|
1522
|
+
created_at: z.string().nullable(),
|
|
1523
|
+
id: z.number(),
|
|
1524
|
+
role: publicAppRoleSchema,
|
|
1525
|
+
user_id: z.string(),
|
|
1526
|
+
});
|
|
1527
|
+
export const publicUserRolesInsertSchema = z.object({
|
|
1528
|
+
created_at: z.string().optional().nullable(),
|
|
1529
|
+
id: z.number().optional(),
|
|
1530
|
+
role: publicAppRoleSchema,
|
|
1531
|
+
user_id: z.string(),
|
|
1532
|
+
});
|
|
1533
|
+
export const publicUserRolesUpdateSchema = z.object({
|
|
1534
|
+
created_at: z.string().optional().nullable(),
|
|
1535
|
+
id: z.number().optional(),
|
|
1536
|
+
role: publicAppRoleSchema.optional(),
|
|
1537
|
+
user_id: z.string().optional(),
|
|
1538
|
+
});
|
|
1539
|
+
export const publicWorkerTasksRowSchema = z.object({
|
|
1540
|
+
created_at: z.string(),
|
|
1541
|
+
error: z.string().nullable(),
|
|
1542
|
+
id: z.string(),
|
|
1543
|
+
payload: jsonSchema,
|
|
1544
|
+
result: jsonSchema.nullable(),
|
|
1545
|
+
session_id: z.string().nullable(),
|
|
1546
|
+
status: z.string().nullable(),
|
|
1547
|
+
type: z.string(),
|
|
1548
|
+
updated_at: z.string(),
|
|
1549
|
+
user_id: z.string().nullable(),
|
|
1550
|
+
worker_id: z.string().nullable(),
|
|
1551
|
+
});
|
|
1552
|
+
export const publicWorkerTasksInsertSchema = z.object({
|
|
1553
|
+
created_at: z.string().optional(),
|
|
1554
|
+
error: z.string().optional().nullable(),
|
|
1555
|
+
id: z.string().optional(),
|
|
1556
|
+
payload: jsonSchema,
|
|
1557
|
+
result: jsonSchema.optional().nullable(),
|
|
1558
|
+
session_id: z.string().optional().nullable(),
|
|
1559
|
+
status: z.string().optional().nullable(),
|
|
1560
|
+
type: z.string(),
|
|
1561
|
+
updated_at: z.string().optional(),
|
|
1562
|
+
user_id: z.string().optional().nullable(),
|
|
1563
|
+
worker_id: z.string().optional().nullable(),
|
|
1564
|
+
});
|
|
1565
|
+
export const publicWorkerTasksUpdateSchema = z.object({
|
|
1566
|
+
created_at: z.string().optional(),
|
|
1567
|
+
error: z.string().optional().nullable(),
|
|
1568
|
+
id: z.string().optional(),
|
|
1569
|
+
payload: jsonSchema.optional(),
|
|
1570
|
+
result: jsonSchema.optional().nullable(),
|
|
1571
|
+
session_id: z.string().optional().nullable(),
|
|
1572
|
+
status: z.string().optional().nullable(),
|
|
1573
|
+
type: z.string().optional(),
|
|
1574
|
+
updated_at: z.string().optional(),
|
|
1575
|
+
user_id: z.string().optional().nullable(),
|
|
1576
|
+
worker_id: z.string().optional().nullable(),
|
|
1577
|
+
});
|
|
1578
|
+
export const publicSysConfigGetArgsSchema = z.object({
|
|
1579
|
+
p_key: z.string(),
|
|
1580
|
+
});
|
|
1581
|
+
export const publicSysConfigGetReturnsSchema = jsonSchema;
|
|
1582
|
+
export const publicActionToolQueryArgsSchema = z.object({
|
|
1583
|
+
p_prefix: z.string().optional(),
|
|
1584
|
+
});
|
|
1585
|
+
export const publicActionToolQueryReturnsSchema = jsonSchema;
|
|
1586
|
+
export const publicActionToolReplyToUserArgsSchema = z.object({
|
|
1587
|
+
p_actions: jsonSchema.optional(),
|
|
1588
|
+
p_chat_id: z.string().optional(),
|
|
1589
|
+
p_text: z.string().optional(),
|
|
1590
|
+
p_user_id: z.string().optional(),
|
|
1591
|
+
});
|
|
1592
|
+
export const publicActionToolReplyToUserReturnsSchema = jsonSchema;
|
|
1593
|
+
export const publicAdkAgentListArgsSchema = z.never();
|
|
1594
|
+
export const publicAdkAgentListReturnsSchema = z.array(z.object({
|
|
1595
|
+
avatar_url: z.string().nullable(),
|
|
1596
|
+
created_at: z.string().nullable(),
|
|
1597
|
+
description: z.string().nullable(),
|
|
1598
|
+
name: z.string(),
|
|
1599
|
+
updated_at: z.string().nullable(),
|
|
1600
|
+
}));
|
|
1601
|
+
export const publicAdkArtifactDeleteArgsSchema = z.object({
|
|
1602
|
+
p_app_name: z.string(),
|
|
1603
|
+
p_filename: z.string(),
|
|
1604
|
+
p_session_id: z.string(),
|
|
1605
|
+
p_user_id: z.string(),
|
|
1606
|
+
});
|
|
1607
|
+
export const publicAdkArtifactDeleteReturnsSchema = z.undefined();
|
|
1608
|
+
export const publicAdkArtifactGetArgsSchema = z.object({
|
|
1609
|
+
p_app_name: z.string(),
|
|
1610
|
+
p_filename: z.string(),
|
|
1611
|
+
p_session_id: z.string(),
|
|
1612
|
+
p_user_id: z.string(),
|
|
1613
|
+
p_version: z.number().optional(),
|
|
1614
|
+
});
|
|
1615
|
+
export const publicAdkArtifactGetReturnsSchema = jsonSchema;
|
|
1616
|
+
export const publicAdkArtifactListKeysArgsSchema = z.object({
|
|
1617
|
+
p_app_name: z.string(),
|
|
1618
|
+
p_session_id: z.string(),
|
|
1619
|
+
p_user_id: z.string(),
|
|
1620
|
+
});
|
|
1621
|
+
export const publicAdkArtifactListKeysReturnsSchema = z.array(z.object({
|
|
1622
|
+
filename: z.string(),
|
|
1623
|
+
}));
|
|
1624
|
+
export const publicAdkArtifactListVersionsMetaArgsSchema = z.object({
|
|
1625
|
+
p_app_name: z.string(),
|
|
1626
|
+
p_filename: z.string(),
|
|
1627
|
+
p_session_id: z.string(),
|
|
1628
|
+
p_user_id: z.string(),
|
|
1629
|
+
});
|
|
1630
|
+
export const publicAdkArtifactMetaRecordSchema = z.object({
|
|
1631
|
+
version: z.number().nullable(),
|
|
1632
|
+
canonical_uri: z.string().nullable(),
|
|
1633
|
+
custom_metadata: jsonSchema.nullable(),
|
|
1634
|
+
create_time: z.number().nullable(),
|
|
1635
|
+
mime_type: z.string().nullable(),
|
|
1636
|
+
});
|
|
1637
|
+
export const publicAdkArtifactSaveArgsSchema = z.object({
|
|
1638
|
+
p_app_name: z.string(),
|
|
1639
|
+
p_canonical_uri: z.string(),
|
|
1640
|
+
p_custom_metadata: jsonSchema,
|
|
1641
|
+
p_data: jsonSchema,
|
|
1642
|
+
p_filename: z.string(),
|
|
1643
|
+
p_mime_type: z.string(),
|
|
1644
|
+
p_session_id: z.string(),
|
|
1645
|
+
p_user_id: z.string(),
|
|
1646
|
+
});
|
|
1647
|
+
export const publicAdkArtifactSaveReturnsSchema = z.number();
|
|
1648
|
+
export const publicAdkEventListArgsSchema = z.object({
|
|
1649
|
+
p_session_id: z.string(),
|
|
1650
|
+
});
|
|
1651
|
+
export const publicAdkEventListReturnsSchema = z.array(z.object({
|
|
1652
|
+
actions: jsonSchema.nullable(),
|
|
1653
|
+
app_name: z.string().nullable(),
|
|
1654
|
+
author: z.string().nullable(),
|
|
1655
|
+
branch: z.string().nullable(),
|
|
1656
|
+
citation_metadata: jsonSchema.nullable(),
|
|
1657
|
+
content: jsonSchema.nullable(),
|
|
1658
|
+
created_at: z.string(),
|
|
1659
|
+
custom_metadata: jsonSchema.nullable(),
|
|
1660
|
+
error_code: z.string().nullable(),
|
|
1661
|
+
error_message: z.string().nullable(),
|
|
1662
|
+
grounding_metadata: jsonSchema.nullable(),
|
|
1663
|
+
id: z.string(),
|
|
1664
|
+
input_transcription: jsonSchema.nullable(),
|
|
1665
|
+
interrupted: z.boolean().nullable(),
|
|
1666
|
+
invocation_id: z.string().nullable(),
|
|
1667
|
+
long_running_tool_ids_json: jsonSchema.nullable(),
|
|
1668
|
+
output_transcription: jsonSchema.nullable(),
|
|
1669
|
+
partial: z.boolean().nullable(),
|
|
1670
|
+
session_id: z.string().nullable(),
|
|
1671
|
+
timestamp: z.string().nullable(),
|
|
1672
|
+
turn_complete: z.boolean().nullable(),
|
|
1673
|
+
updated_at: z.string(),
|
|
1674
|
+
usage_metadata: jsonSchema.nullable(),
|
|
1675
|
+
user_id: z.string().nullable(),
|
|
1676
|
+
}));
|
|
1677
|
+
export const publicAdkEventUpsertArgsSchema = z.object({
|
|
1678
|
+
p_actions: jsonSchema.optional(),
|
|
1679
|
+
p_app_name: z.string(),
|
|
1680
|
+
p_author: z.string(),
|
|
1681
|
+
p_branch: z.string().optional(),
|
|
1682
|
+
p_citation_metadata: jsonSchema.optional(),
|
|
1683
|
+
p_content: jsonSchema,
|
|
1684
|
+
p_custom_metadata: jsonSchema.optional(),
|
|
1685
|
+
p_error_code: z.string().optional(),
|
|
1686
|
+
p_error_message: z.string().optional(),
|
|
1687
|
+
p_grounding_metadata: jsonSchema.optional(),
|
|
1688
|
+
p_id: z.string(),
|
|
1689
|
+
p_input_transcription: jsonSchema.optional(),
|
|
1690
|
+
p_interrupted: z.boolean().optional(),
|
|
1691
|
+
p_invocation_id: z.string().optional(),
|
|
1692
|
+
p_long_running_tool_ids_json: z.string().optional(),
|
|
1693
|
+
p_output_transcription: jsonSchema.optional(),
|
|
1694
|
+
p_session_id: z.string(),
|
|
1695
|
+
p_timestamp: z.string(),
|
|
1696
|
+
p_turn_complete: z.boolean(),
|
|
1697
|
+
p_usage_metadata: jsonSchema.optional(),
|
|
1698
|
+
p_user_id: z.string().optional(),
|
|
1699
|
+
});
|
|
1700
|
+
export const publicAdkEventUpsertReturnsSchema = jsonSchema;
|
|
1701
|
+
export const publicAdkEventUpsertFromJsonArgsSchema = z.object({
|
|
1702
|
+
p_payload: jsonSchema,
|
|
1703
|
+
});
|
|
1704
|
+
export const publicAdkEventUpsertFromJsonReturnsSchema = z.object({
|
|
1705
|
+
actions: jsonSchema.nullable(),
|
|
1706
|
+
app_name: z.string().nullable(),
|
|
1707
|
+
author: z.string().nullable(),
|
|
1708
|
+
branch: z.string().nullable(),
|
|
1709
|
+
citation_metadata: jsonSchema.nullable(),
|
|
1710
|
+
content: jsonSchema.nullable(),
|
|
1711
|
+
created_at: z.string(),
|
|
1712
|
+
custom_metadata: jsonSchema.nullable(),
|
|
1713
|
+
error_code: z.string().nullable(),
|
|
1714
|
+
error_message: z.string().nullable(),
|
|
1715
|
+
grounding_metadata: jsonSchema.nullable(),
|
|
1716
|
+
id: z.string(),
|
|
1717
|
+
input_transcription: jsonSchema.nullable(),
|
|
1718
|
+
interrupted: z.boolean().nullable(),
|
|
1719
|
+
invocation_id: z.string().nullable(),
|
|
1720
|
+
long_running_tool_ids_json: jsonSchema.nullable(),
|
|
1721
|
+
output_transcription: jsonSchema.nullable(),
|
|
1722
|
+
partial: z.boolean().nullable(),
|
|
1723
|
+
session_id: z.string().nullable(),
|
|
1724
|
+
timestamp: z.string().nullable(),
|
|
1725
|
+
turn_complete: z.boolean().nullable(),
|
|
1726
|
+
updated_at: z.string(),
|
|
1727
|
+
usage_metadata: jsonSchema.nullable(),
|
|
1728
|
+
user_id: z.string().nullable(),
|
|
1729
|
+
});
|
|
1730
|
+
export const publicAdkQuickStartListArgsSchema = z.object({
|
|
1731
|
+
p_agent_name: z.string().optional(),
|
|
1732
|
+
});
|
|
1733
|
+
export const publicAdkQuickStartListReturnsSchema = z.array(z.object({
|
|
1734
|
+
agent_name: z.string(),
|
|
1735
|
+
created_at: z.string().nullable(),
|
|
1736
|
+
description: z.string().nullable(),
|
|
1737
|
+
id: z.string(),
|
|
1738
|
+
is_active: z.boolean().nullable(),
|
|
1739
|
+
ord: z.number().nullable(),
|
|
1740
|
+
prompt: z.string(),
|
|
1741
|
+
title: z.string(),
|
|
1742
|
+
updated_at: z.string().nullable(),
|
|
1743
|
+
}));
|
|
1744
|
+
export const publicAdkSessionDeleteArgsSchema = z.object({
|
|
1745
|
+
p_app_name: z.string(),
|
|
1746
|
+
p_session_id: z.string(),
|
|
1747
|
+
});
|
|
1748
|
+
export const publicAdkSessionDeleteReturnsSchema = z.undefined();
|
|
1749
|
+
export const publicAdkSessionGetArgsSchema = z.object({
|
|
1750
|
+
p_session_id: z.string(),
|
|
1751
|
+
});
|
|
1752
|
+
export const publicAdkSessionGetReturnsSchema = z.array(z.object({
|
|
1753
|
+
app_name: z.string(),
|
|
1754
|
+
created_at: z.string(),
|
|
1755
|
+
id: z.string(),
|
|
1756
|
+
state: jsonSchema,
|
|
1757
|
+
updated_at: z.string().nullable(),
|
|
1758
|
+
user_id: z.string(),
|
|
1759
|
+
}));
|
|
1760
|
+
export const publicAdkSessionListArgsSchema = z.object({
|
|
1761
|
+
p_app_name: z.string(),
|
|
1762
|
+
p_user_id: z.string().optional(),
|
|
1763
|
+
});
|
|
1764
|
+
export const publicAdkSessionListReturnsSchema = z.array(z.object({
|
|
1765
|
+
app_name: z.string(),
|
|
1766
|
+
created_at: z.string(),
|
|
1767
|
+
id: z.string(),
|
|
1768
|
+
state: jsonSchema,
|
|
1769
|
+
updated_at: z.string().nullable(),
|
|
1770
|
+
user_id: z.string(),
|
|
1771
|
+
}));
|
|
1772
|
+
export const publicAdkSessionUpsertArgsSchema = z.object({
|
|
1773
|
+
p_app_name: z.string(),
|
|
1774
|
+
p_session_id: z.string(),
|
|
1775
|
+
p_state: jsonSchema.optional(),
|
|
1776
|
+
p_user_id: z.string(),
|
|
1777
|
+
});
|
|
1778
|
+
export const publicAdkSessionUpsertReturnsSchema = z.array(z.object({
|
|
1779
|
+
app_name: z.string(),
|
|
1780
|
+
created_at: z.string(),
|
|
1781
|
+
id: z.string(),
|
|
1782
|
+
state: jsonSchema,
|
|
1783
|
+
updated_at: z.string().nullable(),
|
|
1784
|
+
user_id: z.string(),
|
|
1785
|
+
}));
|
|
1786
|
+
export const publicAgentSignalWakeupArgsSchema = z.object({
|
|
1787
|
+
p_session_id: z.string(),
|
|
1788
|
+
});
|
|
1789
|
+
export const publicAgentSignalWakeupReturnsSchema = jsonSchema;
|
|
1790
|
+
export const publicAgentToolExecReadSqlArgsSchema = z.object({
|
|
1791
|
+
p_max_chars: z.number().optional(),
|
|
1792
|
+
p_max_rows: z.number().optional(),
|
|
1793
|
+
sql_query: z.string(),
|
|
1794
|
+
});
|
|
1795
|
+
export const publicAgentToolExecReadSqlReturnsSchema = z.string();
|
|
1796
|
+
export const publicAuditArtifactListArgsSchema = z.object({
|
|
1797
|
+
p_project_id: z.string(),
|
|
1798
|
+
});
|
|
1799
|
+
export const publicAuditArtifactListReturnsSchema = z.array(z.object({
|
|
1800
|
+
app_name: z.string(),
|
|
1801
|
+
canonical_uri: z.string().nullable(),
|
|
1802
|
+
created_at: z.string().nullable(),
|
|
1803
|
+
custom_metadata: jsonSchema.nullable(),
|
|
1804
|
+
data: jsonSchema.nullable(),
|
|
1805
|
+
filename: z.string(),
|
|
1806
|
+
id: z.string(),
|
|
1807
|
+
mime_type: z.string().nullable(),
|
|
1808
|
+
session_id: z.string().nullable(),
|
|
1809
|
+
user_id: z.string(),
|
|
1810
|
+
version: z.number(),
|
|
1811
|
+
}));
|
|
1812
|
+
export const publicAuditAssetListArgsSchema = z.object({
|
|
1813
|
+
p_project_id: z.string(),
|
|
1814
|
+
p_type: z.string().optional(),
|
|
1815
|
+
});
|
|
1816
|
+
export const publicAuditAssetListReturnsSchema = z.array(z.object({
|
|
1817
|
+
content: z.string(),
|
|
1818
|
+
created_at: z.string(),
|
|
1819
|
+
id: z.string(),
|
|
1820
|
+
metadata: jsonSchema.nullable(),
|
|
1821
|
+
project_id: z.string(),
|
|
1822
|
+
status: z.string().nullable(),
|
|
1823
|
+
type: z.string(),
|
|
1824
|
+
updated_at: z.string(),
|
|
1825
|
+
}));
|
|
1826
|
+
export const publicAuditAssetListCursorArgsSchema = z.object({
|
|
1827
|
+
p_cursor: z.string().optional(),
|
|
1828
|
+
p_cursor_id: z.string().optional(),
|
|
1829
|
+
p_kw: z.string().optional(),
|
|
1830
|
+
p_limit: z.number().optional(),
|
|
1831
|
+
p_project_id: z.string(),
|
|
1832
|
+
});
|
|
1833
|
+
export const publicAuditAssetListCursorReturnsSchema = z.array(z.object({
|
|
1834
|
+
content: z.string(),
|
|
1835
|
+
created_at: z.string(),
|
|
1836
|
+
id: z.string(),
|
|
1837
|
+
metadata: jsonSchema.nullable(),
|
|
1838
|
+
project_id: z.string(),
|
|
1839
|
+
status: z.string().nullable(),
|
|
1840
|
+
type: z.string(),
|
|
1841
|
+
updated_at: z.string(),
|
|
1842
|
+
}));
|
|
1843
|
+
export const publicAuditFindingListArgsSchema = z.object({
|
|
1844
|
+
p_project_id: z.string(),
|
|
1845
|
+
});
|
|
1846
|
+
export const publicAuditFindingListReturnsSchema = z.array(z.object({
|
|
1847
|
+
ai_analysis: z.string().nullable(),
|
|
1848
|
+
created_at: z.string(),
|
|
1849
|
+
description: z.string().nullable(),
|
|
1850
|
+
id: z.string(),
|
|
1851
|
+
project_id: z.string(),
|
|
1852
|
+
proof_poc: z.string().nullable(),
|
|
1853
|
+
remediation: z.string().nullable(),
|
|
1854
|
+
severity: publicAuditFindingSeveritySchema.nullable(),
|
|
1855
|
+
status: z.string().nullable(),
|
|
1856
|
+
task_id: z.string().nullable(),
|
|
1857
|
+
title: z.string(),
|
|
1858
|
+
updated_at: z.string(),
|
|
1859
|
+
}));
|
|
1860
|
+
export const publicAuditFindingListCursorArgsSchema = z.object({
|
|
1861
|
+
p_cursor: z.string().optional(),
|
|
1862
|
+
p_cursor_id: z.string().optional(),
|
|
1863
|
+
p_kw: z.string().optional(),
|
|
1864
|
+
p_limit: z.number().optional(),
|
|
1865
|
+
p_project_id: z.string(),
|
|
1866
|
+
});
|
|
1867
|
+
export const publicAuditFindingListCursorReturnsSchema = z.array(z.object({
|
|
1868
|
+
ai_analysis: z.string().nullable(),
|
|
1869
|
+
created_at: z.string(),
|
|
1870
|
+
description: z.string().nullable(),
|
|
1871
|
+
id: z.string(),
|
|
1872
|
+
project_id: z.string(),
|
|
1873
|
+
proof_poc: z.string().nullable(),
|
|
1874
|
+
remediation: z.string().nullable(),
|
|
1875
|
+
severity: publicAuditFindingSeveritySchema.nullable(),
|
|
1876
|
+
status: z.string().nullable(),
|
|
1877
|
+
task_id: z.string().nullable(),
|
|
1878
|
+
title: z.string(),
|
|
1879
|
+
updated_at: z.string(),
|
|
1880
|
+
}));
|
|
1881
|
+
export const publicAuditProjectBindGithubArgsSchema = z.object({
|
|
1882
|
+
p_installation_id: z.number(),
|
|
1883
|
+
p_project_id: z.string(),
|
|
1884
|
+
p_repo_branch: z.string(),
|
|
1885
|
+
p_repo_full_name: z.string(),
|
|
1886
|
+
p_repo_id: z.number(),
|
|
1887
|
+
p_repo_url: z.string(),
|
|
1888
|
+
});
|
|
1889
|
+
export const publicAuditProjectBindGithubReturnsSchema = jsonSchema;
|
|
1890
|
+
export const publicAuditProjectCountArgsSchema = z.object({
|
|
1891
|
+
p_kw: z.string().optional(),
|
|
1892
|
+
});
|
|
1893
|
+
export const publicAuditProjectCountReturnsSchema = z.number();
|
|
1894
|
+
export const publicAuditProjectDashboardStatsArgsSchema = z.object({
|
|
1895
|
+
p_project_id: z.string(),
|
|
1896
|
+
});
|
|
1897
|
+
export const publicAuditProjectDashboardStatsReturnsSchema = z.array(z.object({
|
|
1898
|
+
asset_count: z.number(),
|
|
1899
|
+
finding_count: z.number(),
|
|
1900
|
+
high_risk_count: z.number(),
|
|
1901
|
+
task_count: z.number(),
|
|
1902
|
+
}));
|
|
1903
|
+
export const publicAuditProjectDeleteArgsSchema = z.object({
|
|
1904
|
+
p_id: z.string(),
|
|
1905
|
+
});
|
|
1906
|
+
export const publicAuditProjectDeleteReturnsSchema = z.undefined();
|
|
1907
|
+
export const publicAuditProjectGetArgsSchema = z.object({
|
|
1908
|
+
p_id: z.string(),
|
|
1909
|
+
});
|
|
1910
|
+
export const publicAuditProjectGetReturnsSchema = z.array(z.object({
|
|
1911
|
+
config: jsonSchema.nullable(),
|
|
1912
|
+
created_at: z.string(),
|
|
1913
|
+
id: z.string(),
|
|
1914
|
+
name: z.string(),
|
|
1915
|
+
repo_branch: z.string().nullable(),
|
|
1916
|
+
repo_url: z.string().nullable(),
|
|
1917
|
+
target: z.string().nullable(),
|
|
1918
|
+
updated_at: z.string(),
|
|
1919
|
+
user_id: z.string(),
|
|
1920
|
+
worker_id: z.string().nullable(),
|
|
1921
|
+
}));
|
|
1922
|
+
export const publicAuditProjectListArgsSchema = z.object({
|
|
1923
|
+
p_kw: z.string().optional(),
|
|
1924
|
+
p_page_no: z.number().optional(),
|
|
1925
|
+
p_page_size: z.number().optional(),
|
|
1926
|
+
});
|
|
1927
|
+
export const publicAuditProjectListReturnsSchema = z.array(z.object({
|
|
1928
|
+
config: jsonSchema.nullable(),
|
|
1929
|
+
created_at: z.string(),
|
|
1930
|
+
id: z.string(),
|
|
1931
|
+
name: z.string(),
|
|
1932
|
+
repo_branch: z.string().nullable(),
|
|
1933
|
+
repo_url: z.string().nullable(),
|
|
1934
|
+
target: z.string().nullable(),
|
|
1935
|
+
updated_at: z.string(),
|
|
1936
|
+
user_id: z.string(),
|
|
1937
|
+
worker_id: z.string().nullable(),
|
|
1938
|
+
}));
|
|
1939
|
+
export const publicAuditProjectListCursorArgsSchema = z.object({
|
|
1940
|
+
p_cursor: z.string().optional(),
|
|
1941
|
+
p_cursor_id: z.string().optional(),
|
|
1942
|
+
p_kw: z.string().optional(),
|
|
1943
|
+
p_limit: z.number().optional(),
|
|
1944
|
+
});
|
|
1945
|
+
export const publicAuditProjectListCursorReturnsSchema = z.array(z.object({
|
|
1946
|
+
config: jsonSchema.nullable(),
|
|
1947
|
+
created_at: z.string(),
|
|
1948
|
+
id: z.string(),
|
|
1949
|
+
name: z.string(),
|
|
1950
|
+
repo_branch: z.string().nullable(),
|
|
1951
|
+
repo_url: z.string().nullable(),
|
|
1952
|
+
target: z.string().nullable(),
|
|
1953
|
+
updated_at: z.string(),
|
|
1954
|
+
user_id: z.string(),
|
|
1955
|
+
worker_id: z.string().nullable(),
|
|
1956
|
+
}));
|
|
1957
|
+
export const publicAuditSkillListArgsSchema = z.object({
|
|
1958
|
+
p_project_id: z.string(),
|
|
1959
|
+
});
|
|
1960
|
+
export const publicAuditSkillListReturnsSchema = z.array(z.object({
|
|
1961
|
+
created_at: z.string(),
|
|
1962
|
+
dependencies: jsonSchema.nullable(),
|
|
1963
|
+
description: z.string().nullable(),
|
|
1964
|
+
id: z.string(),
|
|
1965
|
+
name: z.string(),
|
|
1966
|
+
params_schema: jsonSchema.nullable(),
|
|
1967
|
+
project_id: z.string(),
|
|
1968
|
+
source_path: z.string().nullable(),
|
|
1969
|
+
updated_at: z.string(),
|
|
1970
|
+
version: z.string().nullable(),
|
|
1971
|
+
}));
|
|
1972
|
+
export const publicAuditTaskGetArgsSchema = z.object({
|
|
1973
|
+
p_id: z.string(),
|
|
1974
|
+
});
|
|
1975
|
+
export const publicAuditTaskGetReturnsSchema = z.array(z.object({
|
|
1976
|
+
created_at: z.string(),
|
|
1977
|
+
id: z.string(),
|
|
1978
|
+
instructions: z.string().nullable(),
|
|
1979
|
+
logs_url: z.string().nullable(),
|
|
1980
|
+
project_id: z.string(),
|
|
1981
|
+
result_summary: z.string().nullable(),
|
|
1982
|
+
sandbox_id: z.string().nullable(),
|
|
1983
|
+
skill_id: z.string().nullable(),
|
|
1984
|
+
status: z.string().nullable(),
|
|
1985
|
+
updated_at: z.string(),
|
|
1986
|
+
user_id: z.string().nullable(),
|
|
1987
|
+
}));
|
|
1988
|
+
export const publicAuditTaskListArgsSchema = z.object({
|
|
1989
|
+
p_project_id: z.string(),
|
|
1990
|
+
});
|
|
1991
|
+
export const publicAuditTaskListReturnsSchema = z.array(z.object({
|
|
1992
|
+
created_at: z.string(),
|
|
1993
|
+
id: z.string(),
|
|
1994
|
+
instructions: z.string().nullable(),
|
|
1995
|
+
logs_url: z.string().nullable(),
|
|
1996
|
+
project_id: z.string(),
|
|
1997
|
+
result_summary: z.string().nullable(),
|
|
1998
|
+
sandbox_id: z.string().nullable(),
|
|
1999
|
+
skill_id: z.string().nullable(),
|
|
2000
|
+
status: z.string().nullable(),
|
|
2001
|
+
updated_at: z.string(),
|
|
2002
|
+
user_id: z.string().nullable(),
|
|
2003
|
+
}));
|
|
2004
|
+
export const publicAuditTaskUpsertArgsSchema = z.object({
|
|
2005
|
+
p_id: z.string(),
|
|
2006
|
+
p_instructions: z.string(),
|
|
2007
|
+
p_logs_url: z.string().optional(),
|
|
2008
|
+
p_project_id: z.string(),
|
|
2009
|
+
p_result_summary: z.string().optional(),
|
|
2010
|
+
p_sandbox_id: z.string().optional(),
|
|
2011
|
+
p_skill_id: z.string().optional(),
|
|
2012
|
+
p_status: z.string().optional(),
|
|
2013
|
+
});
|
|
2014
|
+
export const publicAuditTaskUpsertReturnsSchema = z.array(z.object({
|
|
2015
|
+
created_at: z.string(),
|
|
2016
|
+
id: z.string(),
|
|
2017
|
+
instructions: z.string().nullable(),
|
|
2018
|
+
logs_url: z.string().nullable(),
|
|
2019
|
+
project_id: z.string(),
|
|
2020
|
+
result_summary: z.string().nullable(),
|
|
2021
|
+
sandbox_id: z.string().nullable(),
|
|
2022
|
+
skill_id: z.string().nullable(),
|
|
2023
|
+
status: z.string().nullable(),
|
|
2024
|
+
updated_at: z.string(),
|
|
2025
|
+
user_id: z.string().nullable(),
|
|
2026
|
+
}));
|
|
2027
|
+
export const publicAuthRoleArgsSchema = z.never();
|
|
2028
|
+
export const publicAuthRoleReturnsSchema = z.string();
|
|
2029
|
+
export const publicBrowserDeleteArgsSchema = z.object({
|
|
2030
|
+
p_id: z.string(),
|
|
2031
|
+
});
|
|
2032
|
+
export const publicBrowserDeleteReturnsSchema = z.undefined();
|
|
2033
|
+
export const publicBrowserEnsureAssociationArgsSchema = z.object({
|
|
2034
|
+
p_browser_id: z.string(),
|
|
2035
|
+
p_user_id: z.string(),
|
|
2036
|
+
});
|
|
2037
|
+
export const publicBrowserEnsureAssociationReturnsSchema = jsonSchema;
|
|
2038
|
+
export const publicBrowserGetArgsSchema = z.object({
|
|
2039
|
+
p_id: z.string(),
|
|
2040
|
+
});
|
|
2041
|
+
export const publicBrowserGetReturnsSchema = z.array(z.object({
|
|
2042
|
+
cdpUrl: z.string().nullable(),
|
|
2043
|
+
config: jsonSchema.nullable(),
|
|
2044
|
+
created_at: z.string(),
|
|
2045
|
+
description: z.string().nullable(),
|
|
2046
|
+
id: z.string(),
|
|
2047
|
+
profile_id: z.string().nullable(),
|
|
2048
|
+
provider: z.string().nullable(),
|
|
2049
|
+
provider_config: jsonSchema.nullable(),
|
|
2050
|
+
sandbox_id: z.string().nullable(),
|
|
2051
|
+
title: z.string().nullable(),
|
|
2052
|
+
updated_at: z.string().nullable(),
|
|
2053
|
+
user_id: z.string().nullable(),
|
|
2054
|
+
}));
|
|
2055
|
+
export const publicBrowserListArgsSchema = z.object({
|
|
2056
|
+
p_kw: z.string().optional(),
|
|
2057
|
+
p_page_no: z.number().optional(),
|
|
2058
|
+
p_page_size: z.number().optional(),
|
|
2059
|
+
});
|
|
2060
|
+
export const publicBrowserRecordSchema = z.object({
|
|
2061
|
+
id: z.string().nullable(),
|
|
2062
|
+
created_at: z.string().nullable(),
|
|
2063
|
+
updated_at: z.string().nullable(),
|
|
2064
|
+
title: z.string().nullable(),
|
|
2065
|
+
description: z.string().nullable(),
|
|
2066
|
+
profile_id: z.string().nullable(),
|
|
2067
|
+
provider: z.string().nullable(),
|
|
2068
|
+
provider_config: jsonSchema.nullable(),
|
|
2069
|
+
config: jsonSchema.nullable(),
|
|
2070
|
+
sandbox_id: z.string().nullable(),
|
|
2071
|
+
vnc_url: z.string().nullable(),
|
|
2072
|
+
browser_api_url: z.string().nullable(),
|
|
2073
|
+
worker_name: z.string().nullable(),
|
|
2074
|
+
is_running: z.boolean().nullable(),
|
|
2075
|
+
});
|
|
2076
|
+
export const publicBrowserUpdateStateArgsSchema = z.object({
|
|
2077
|
+
p_browser_id: z.string(),
|
|
2078
|
+
p_state: jsonSchema,
|
|
2079
|
+
});
|
|
2080
|
+
export const publicBrowserUpdateStateReturnsSchema = z.undefined();
|
|
2081
|
+
export const publicBrowserUpsertArgsSchema = z.object({
|
|
2082
|
+
p_config: jsonSchema.optional(),
|
|
2083
|
+
p_description: z.string().optional(),
|
|
2084
|
+
p_id: z.string().optional(),
|
|
2085
|
+
p_profile_id: z.string().optional(),
|
|
2086
|
+
p_provider: z.string().optional(),
|
|
2087
|
+
p_provider_config: jsonSchema.optional(),
|
|
2088
|
+
p_title: z.string().optional(),
|
|
2089
|
+
});
|
|
2090
|
+
export const publicBrowserUpsertReturnsSchema = z.array(z.object({
|
|
2091
|
+
cdpUrl: z.string().nullable(),
|
|
2092
|
+
config: jsonSchema.nullable(),
|
|
2093
|
+
created_at: z.string(),
|
|
2094
|
+
description: z.string().nullable(),
|
|
2095
|
+
id: z.string(),
|
|
2096
|
+
profile_id: z.string().nullable(),
|
|
2097
|
+
provider: z.string().nullable(),
|
|
2098
|
+
provider_config: jsonSchema.nullable(),
|
|
2099
|
+
sandbox_id: z.string().nullable(),
|
|
2100
|
+
title: z.string().nullable(),
|
|
2101
|
+
updated_at: z.string().nullable(),
|
|
2102
|
+
user_id: z.string().nullable(),
|
|
2103
|
+
}));
|
|
2104
|
+
export const publicCampaignDeleteArgsSchema = z.object({
|
|
2105
|
+
p_id: z.string(),
|
|
2106
|
+
});
|
|
2107
|
+
export const publicCampaignDeleteReturnsSchema = z.boolean();
|
|
2108
|
+
export const publicCampaignGetArgsSchema = z.object({
|
|
2109
|
+
p_id: z.string(),
|
|
2110
|
+
});
|
|
2111
|
+
export const publicCampaignRecordSchema = z.object({
|
|
2112
|
+
id: z.string().nullable(),
|
|
2113
|
+
created_at: z.string().nullable(),
|
|
2114
|
+
updated_at: z.string().nullable(),
|
|
2115
|
+
started_at: z.string().nullable(),
|
|
2116
|
+
completed_at: z.string().nullable(),
|
|
2117
|
+
user_id: z.string().nullable(),
|
|
2118
|
+
name: z.string().nullable(),
|
|
2119
|
+
description: z.string().nullable(),
|
|
2120
|
+
platform: z.string().nullable(),
|
|
2121
|
+
status: z.string().nullable(),
|
|
2122
|
+
config: jsonSchema.nullable(),
|
|
2123
|
+
message_template: z.string().nullable(),
|
|
2124
|
+
target_filter: jsonSchema.nullable(),
|
|
2125
|
+
schedule: jsonSchema.nullable(),
|
|
2126
|
+
stats: jsonSchema.nullable(),
|
|
2127
|
+
});
|
|
2128
|
+
export const publicCampaignListCursorArgsSchema = z.object({
|
|
2129
|
+
p_cursor: z.string().optional(),
|
|
2130
|
+
p_limit: z.number().optional(),
|
|
2131
|
+
p_search: z.string().optional(),
|
|
2132
|
+
p_status: z.string().optional(),
|
|
2133
|
+
});
|
|
2134
|
+
export const publicCampaignListCursorReturnsSchema = z.array(publicCampaignRecordSchema);
|
|
2135
|
+
export const publicCampaignPauseArgsSchema = z.object({
|
|
2136
|
+
p_id: z.string(),
|
|
2137
|
+
});
|
|
2138
|
+
export const publicCampaignPauseReturnsSchema = z.boolean();
|
|
2139
|
+
export const publicCampaignStartArgsSchema = z.object({
|
|
2140
|
+
p_id: z.string(),
|
|
2141
|
+
});
|
|
2142
|
+
export const publicCampaignStartReturnsSchema = z.boolean();
|
|
2143
|
+
export const publicCampaignUpsertArgsSchema = z.object({
|
|
2144
|
+
p_config: jsonSchema.optional(),
|
|
2145
|
+
p_description: z.string().optional(),
|
|
2146
|
+
p_id: z.string().optional(),
|
|
2147
|
+
p_message_template: z.string().optional(),
|
|
2148
|
+
p_name: z.string().optional(),
|
|
2149
|
+
p_platform: z.string().optional(),
|
|
2150
|
+
p_schedule: jsonSchema.optional(),
|
|
2151
|
+
p_target_filter: jsonSchema.optional(),
|
|
2152
|
+
});
|
|
2153
|
+
export const publicCampaignUpsertReturnsSchema = z.array(publicCampaignRecordSchema);
|
|
2154
|
+
export const publicChatGetArgsSchema = z.object({
|
|
2155
|
+
p_chat_id: z.string(),
|
|
2156
|
+
});
|
|
2157
|
+
export const publicChatGetReturnsSchema = z.array(z.object({
|
|
2158
|
+
agent_id: z.string(),
|
|
2159
|
+
created_at: z.string(),
|
|
2160
|
+
id: z.string(),
|
|
2161
|
+
lastContext: jsonSchema.nullable(),
|
|
2162
|
+
state: jsonSchema.nullable(),
|
|
2163
|
+
title: z.string(),
|
|
2164
|
+
type: z.string(),
|
|
2165
|
+
updated_at: z.string().nullable(),
|
|
2166
|
+
user_id: z.string().nullable(),
|
|
2167
|
+
visibility: publicChatVisibilitySchema,
|
|
2168
|
+
}));
|
|
2169
|
+
export const publicChatListArgsSchema = z.object({
|
|
2170
|
+
p_agent_id: z.string().optional(),
|
|
2171
|
+
});
|
|
2172
|
+
export const publicChatListReturnsSchema = z.array(z.object({
|
|
2173
|
+
agent_id: z.string(),
|
|
2174
|
+
created_at: z.string(),
|
|
2175
|
+
id: z.string(),
|
|
2176
|
+
lastContext: jsonSchema.nullable(),
|
|
2177
|
+
state: jsonSchema.nullable(),
|
|
2178
|
+
title: z.string(),
|
|
2179
|
+
type: z.string(),
|
|
2180
|
+
updated_at: z.string().nullable(),
|
|
2181
|
+
user_id: z.string().nullable(),
|
|
2182
|
+
visibility: publicChatVisibilitySchema,
|
|
2183
|
+
}));
|
|
2184
|
+
export const publicChatMessageBatchUpsertArgsSchema = z.object({
|
|
2185
|
+
p_chat_id: z.string().optional(),
|
|
2186
|
+
p_data: jsonSchema.optional(),
|
|
2187
|
+
p_query_mode: z.string().optional(),
|
|
2188
|
+
p_user_id: z.string().optional(),
|
|
2189
|
+
});
|
|
2190
|
+
export const publicChatMessageBatchUpsertReturnsSchema = z.number();
|
|
2191
|
+
export const publicChatMessageListArgsSchema = z.object({
|
|
2192
|
+
p_chat_id: z.string().optional(),
|
|
2193
|
+
p_query_mode: z.string().optional(),
|
|
2194
|
+
});
|
|
2195
|
+
export const publicChatMessageListReturnsSchema = z.array(z.object({
|
|
2196
|
+
attachments: jsonSchema.nullable(),
|
|
2197
|
+
chat_id: z.string(),
|
|
2198
|
+
created_at: z.string(),
|
|
2199
|
+
grounding_metadata: jsonSchema.nullable(),
|
|
2200
|
+
id: z.string(),
|
|
2201
|
+
parts: jsonSchema,
|
|
2202
|
+
role: publicChatRoleSchema,
|
|
2203
|
+
updated_at: z.string(),
|
|
2204
|
+
user_id: z.string().nullable(),
|
|
2205
|
+
}));
|
|
2206
|
+
export const publicChatMessageUpsertArgsSchema = z.object({
|
|
2207
|
+
p_attachments: jsonSchema.optional(),
|
|
2208
|
+
p_chat_id: z.string(),
|
|
2209
|
+
p_id: z.string(),
|
|
2210
|
+
p_parts: jsonSchema,
|
|
2211
|
+
p_role: z.string(),
|
|
2212
|
+
});
|
|
2213
|
+
export const publicChatMessageUpsertReturnsSchema = z.array(z.object({
|
|
2214
|
+
attachments: jsonSchema.nullable(),
|
|
2215
|
+
chat_id: z.string(),
|
|
2216
|
+
created_at: z.string(),
|
|
2217
|
+
grounding_metadata: jsonSchema.nullable(),
|
|
2218
|
+
id: z.string(),
|
|
2219
|
+
parts: jsonSchema,
|
|
2220
|
+
role: publicChatRoleSchema,
|
|
2221
|
+
updated_at: z.string(),
|
|
2222
|
+
user_id: z.string().nullable(),
|
|
2223
|
+
}));
|
|
2224
|
+
export const publicChatUpsertArgsSchema = z.object({
|
|
2225
|
+
p_agent_id: z.string().optional(),
|
|
2226
|
+
p_id: z.string().optional(),
|
|
2227
|
+
p_title: z.string().optional(),
|
|
2228
|
+
});
|
|
2229
|
+
export const publicChatUpsertReturnsSchema = z.object({
|
|
2230
|
+
agent_id: z.string(),
|
|
2231
|
+
created_at: z.string(),
|
|
2232
|
+
id: z.string(),
|
|
2233
|
+
lastContext: jsonSchema.nullable(),
|
|
2234
|
+
state: jsonSchema.nullable(),
|
|
2235
|
+
title: z.string(),
|
|
2236
|
+
type: z.string(),
|
|
2237
|
+
updated_at: z.string().nullable(),
|
|
2238
|
+
user_id: z.string().nullable(),
|
|
2239
|
+
visibility: publicChatVisibilitySchema,
|
|
2240
|
+
});
|
|
2241
|
+
export const publicCleanupTunnelAsyncArgsSchema = z.object({
|
|
2242
|
+
p_worker_id: z.string(),
|
|
2243
|
+
});
|
|
2244
|
+
export const publicCleanupTunnelAsyncReturnsSchema = z.number();
|
|
2245
|
+
export const publicCloudAccountBindDeviceArgsSchema = z.object({
|
|
2246
|
+
p_fingerprint: jsonSchema,
|
|
2247
|
+
p_id: z.string(),
|
|
2248
|
+
});
|
|
2249
|
+
export const publicCloudAccountRecordSchema = z.object({
|
|
2250
|
+
id: z.string().nullable(),
|
|
2251
|
+
created_at: z.string().nullable(),
|
|
2252
|
+
updated_at: z.string().nullable(),
|
|
2253
|
+
user_id: z.string().nullable(),
|
|
2254
|
+
platform_name: z.string().nullable(),
|
|
2255
|
+
account_email: z.string().nullable(),
|
|
2256
|
+
account_name: z.string().nullable(),
|
|
2257
|
+
token_type: z.string().nullable(),
|
|
2258
|
+
token_expires_at: z.string().nullable(),
|
|
2259
|
+
refresh_token_expires_at: z.string().nullable(),
|
|
2260
|
+
last_refresh_at: z.string().nullable(),
|
|
2261
|
+
status: publicCloudAccountStatusSchema.nullable(),
|
|
2262
|
+
status_reason: z.string().nullable(),
|
|
2263
|
+
status_updated_at: z.string().nullable(),
|
|
2264
|
+
session_data: jsonSchema.nullable(),
|
|
2265
|
+
device_fingerprint: jsonSchema.nullable(),
|
|
2266
|
+
quota_data: jsonSchema.nullable(),
|
|
2267
|
+
metadata: jsonSchema.nullable(),
|
|
2268
|
+
proxy_disabled: z.boolean().nullable(),
|
|
2269
|
+
last_used_at: z.string().nullable(),
|
|
2270
|
+
use_count: z.number().nullable(),
|
|
2271
|
+
device_history: z.array(jsonSchema).nullable(),
|
|
2272
|
+
credentials: jsonSchema.nullable(),
|
|
2273
|
+
});
|
|
2274
|
+
export const publicCloudAccountBulkCreateArgsSchema = z.object({
|
|
2275
|
+
p_account_names: z.array(z.string()),
|
|
2276
|
+
p_platform_name: z.string(),
|
|
2277
|
+
p_status: publicCloudAccountStatusSchema.optional(),
|
|
2278
|
+
});
|
|
2279
|
+
export const publicCloudAccountBulkCreateReturnsSchema = z.array(publicCloudAccountRecordSchema);
|
|
2280
|
+
export const publicCloudAccountCheckExpiredTokensArgsSchema = z.never();
|
|
2281
|
+
export const publicCloudAccountCheckExpiredTokensReturnsSchema = z.array(z.object({
|
|
2282
|
+
total_checked: z.number(),
|
|
2283
|
+
total_expired: z.number(),
|
|
2284
|
+
}));
|
|
2285
|
+
export const publicCloudAccountDeleteArgsSchema = z.object({
|
|
2286
|
+
p_id: z.string(),
|
|
2287
|
+
});
|
|
2288
|
+
export const publicCloudAccountDeleteReturnsSchema = z.array(publicCloudAccountRecordSchema);
|
|
2289
|
+
export const publicCloudAccountDeviceDeleteVersionArgsSchema = z.object({
|
|
2290
|
+
p_id: z.string(),
|
|
2291
|
+
p_version_id: z.string(),
|
|
2292
|
+
});
|
|
2293
|
+
export const publicCloudAccountDeviceDeleteVersionReturnsSchema = z.boolean();
|
|
2294
|
+
export const publicCloudAccountDeviceRestoreArgsSchema = z.object({
|
|
2295
|
+
p_id: z.string(),
|
|
2296
|
+
p_version_id: z.string(),
|
|
2297
|
+
});
|
|
2298
|
+
export const publicCloudAccountDeviceRestoreReturnsSchema = z.array(publicCloudAccountRecordSchema);
|
|
2299
|
+
export const publicCloudAccountGetArgsSchema = z.object({
|
|
2300
|
+
p_id: z.string(),
|
|
2301
|
+
});
|
|
2302
|
+
export const publicCloudAccountGetReturnsSchema = z.array(publicCloudAccountRecordSchema);
|
|
2303
|
+
export const publicCloudAccountListCursorArgsSchema = z.object({
|
|
2304
|
+
p_cursor: z.string().optional(),
|
|
2305
|
+
p_kw: z.string().optional(),
|
|
2306
|
+
p_limit: z.number().optional(),
|
|
2307
|
+
p_platform_name: z.string().optional(),
|
|
2308
|
+
p_status: publicCloudAccountStatusSchema.optional(),
|
|
2309
|
+
});
|
|
2310
|
+
export const publicCloudAccountListCursorReturnsSchema = z.array(publicCloudAccountRecordSchema);
|
|
2311
|
+
export const publicCloudAccountMarkRefreshFailedArgsSchema = z.object({
|
|
2312
|
+
p_error: z.string(),
|
|
2313
|
+
p_id: z.string(),
|
|
2314
|
+
});
|
|
2315
|
+
export const publicCloudAccountMarkRefreshFailedReturnsSchema = z.array(publicCloudAccountRecordSchema);
|
|
2316
|
+
export const publicCloudAccountRefreshTokenArgsSchema = z.object({
|
|
2317
|
+
p_access_token: z.string(),
|
|
2318
|
+
p_expires_in: z.unknown().optional(),
|
|
2319
|
+
p_id: z.string(),
|
|
2320
|
+
p_refresh_expires_in: z.unknown().optional(),
|
|
2321
|
+
p_refresh_token: z.string().optional(),
|
|
2322
|
+
});
|
|
2323
|
+
export const publicCloudAccountRefreshTokenReturnsSchema = z.array(publicCloudAccountRecordSchema);
|
|
2324
|
+
export const publicCloudAccountSessionLoadArgsSchema = z.object({
|
|
2325
|
+
p_id: z.string(),
|
|
2326
|
+
});
|
|
2327
|
+
export const publicCloudAccountSessionLoadReturnsSchema = z.string();
|
|
2328
|
+
export const publicCloudAccountSessionSetArgsSchema = z.object({
|
|
2329
|
+
p_id: z.string(),
|
|
2330
|
+
p_session_data: jsonSchema,
|
|
2331
|
+
});
|
|
2332
|
+
export const publicCloudAccountSessionSetReturnsSchema = z.undefined();
|
|
2333
|
+
export const publicCloudAccountSessionStoreArgsSchema = z.object({
|
|
2334
|
+
p_id: z.string(),
|
|
2335
|
+
p_session: z.string(),
|
|
2336
|
+
});
|
|
2337
|
+
export const publicCloudAccountSessionStoreReturnsSchema = z.undefined();
|
|
2338
|
+
export const publicCloudAccountUpdateAutomationConfigArgsSchema = z.object({
|
|
2339
|
+
p_account_id: z.string(),
|
|
2340
|
+
p_config: jsonSchema,
|
|
2341
|
+
});
|
|
2342
|
+
export const publicCloudAccountUpdateAutomationConfigReturnsSchema = z.undefined();
|
|
2343
|
+
export const publicCloudAccountUpsertArgsSchema = z.object({
|
|
2344
|
+
p_access_token: z.string().optional(),
|
|
2345
|
+
p_account_email: z.string().optional(),
|
|
2346
|
+
p_account_name: z.string().optional(),
|
|
2347
|
+
p_credentials: jsonSchema.optional(),
|
|
2348
|
+
p_device_fingerprint: jsonSchema.optional(),
|
|
2349
|
+
p_id: z.string().optional(),
|
|
2350
|
+
p_metadata: jsonSchema.optional(),
|
|
2351
|
+
p_platform_name: z.string().optional(),
|
|
2352
|
+
p_quota_data: jsonSchema.optional(),
|
|
2353
|
+
p_refresh_token: z.string().optional(),
|
|
2354
|
+
p_refresh_token_expires_at: z.string().optional(),
|
|
2355
|
+
p_session_data: jsonSchema.optional(),
|
|
2356
|
+
p_status: publicCloudAccountStatusSchema.optional(),
|
|
2357
|
+
p_status_reason: z.string().optional(),
|
|
2358
|
+
p_token_expires_at: z.string().optional(),
|
|
2359
|
+
p_token_type: z.string().optional(),
|
|
2360
|
+
p_user_id: z.string().optional(),
|
|
2361
|
+
});
|
|
2362
|
+
export const publicCloudAccountUpsertReturnsSchema = z.array(publicCloudAccountRecordSchema);
|
|
2363
|
+
export const publicComputeNodeDeleteArgsSchema = z.object({
|
|
2364
|
+
p_id: z.string(),
|
|
2365
|
+
});
|
|
2366
|
+
export const publicComputeNodeDeleteReturnsSchema = z.undefined();
|
|
2367
|
+
export const publicComputeNodeGetArgsSchema = z.object({
|
|
2368
|
+
p_id: z.string(),
|
|
2369
|
+
});
|
|
2370
|
+
export const publicComputeNodeRecordSchema = z.object({
|
|
2371
|
+
id: z.string().nullable(),
|
|
2372
|
+
user_id: z.string().nullable(),
|
|
2373
|
+
name: z.string().nullable(),
|
|
2374
|
+
provider: z.string().nullable(),
|
|
2375
|
+
host: z.string().nullable(),
|
|
2376
|
+
port: z.number().nullable(),
|
|
2377
|
+
username: z.string().nullable(),
|
|
2378
|
+
auth_secret: z.string().nullable(),
|
|
2379
|
+
status: publicComputeNodeStatusSchema.nullable(),
|
|
2380
|
+
worker_count: z.number().nullable(),
|
|
2381
|
+
updated_at: z.string().nullable(),
|
|
2382
|
+
is_public: z.boolean().nullable(),
|
|
2383
|
+
created_at: z.string().nullable(),
|
|
2384
|
+
});
|
|
2385
|
+
export const publicComputeNodeGetSecretArgsSchema = z.object({
|
|
2386
|
+
target_id: z.string(),
|
|
2387
|
+
});
|
|
2388
|
+
export const publicComputeNodeGetSecretReturnsSchema = z.array(z.object({
|
|
2389
|
+
auth_secret: z.string(),
|
|
2390
|
+
host: z.string(),
|
|
2391
|
+
port: z.number(),
|
|
2392
|
+
username: z.string(),
|
|
2393
|
+
}));
|
|
2394
|
+
export const publicComputeNodeListArgsSchema = z.object({
|
|
2395
|
+
p_kw: z.string().optional(),
|
|
2396
|
+
p_page_no: z.number().optional(),
|
|
2397
|
+
p_page_size: z.number().optional(),
|
|
2398
|
+
p_provider: z.string().optional(),
|
|
2399
|
+
p_user_id: z.string().optional(),
|
|
2400
|
+
});
|
|
2401
|
+
export const publicComputeNodeListReturnsSchema = z.array(publicComputeNodeRecordSchema);
|
|
2402
|
+
export const publicComputeNodeUpsertArgsSchema = z.object({
|
|
2403
|
+
p_auth_secret: z.string().optional(),
|
|
2404
|
+
p_host: z.string(),
|
|
2405
|
+
p_id: z.string(),
|
|
2406
|
+
p_name: z.string(),
|
|
2407
|
+
p_port: z.number().optional(),
|
|
2408
|
+
p_provider: z.string(),
|
|
2409
|
+
p_username: z.string().optional(),
|
|
2410
|
+
});
|
|
2411
|
+
export const publicComputeNodeUpsertReturnsSchema = z.array(publicComputeNodeRecordSchema);
|
|
2412
|
+
export const publicContactAddTagsArgsSchema = z.object({
|
|
2413
|
+
p_ids: z.array(z.string()),
|
|
2414
|
+
p_tags: z.array(z.string()),
|
|
2415
|
+
});
|
|
2416
|
+
export const publicContactAddTagsReturnsSchema = z.number();
|
|
2417
|
+
export const publicContactBulkImportArgsSchema = z.object({
|
|
2418
|
+
p_contacts: jsonSchema,
|
|
2419
|
+
p_default_tags: z.array(z.string()).optional(),
|
|
2420
|
+
p_platform: z.string().optional(),
|
|
2421
|
+
p_source: z.string().optional(),
|
|
2422
|
+
});
|
|
2423
|
+
export const publicContactBulkImportReturnsSchema = z.number();
|
|
2424
|
+
export const publicContactDeleteArgsSchema = z.object({
|
|
2425
|
+
p_ids: z.array(z.string()),
|
|
2426
|
+
});
|
|
2427
|
+
export const publicContactDeleteReturnsSchema = z.number();
|
|
2428
|
+
export const publicContactGetArgsSchema = z.object({
|
|
2429
|
+
p_id: z.string().optional(),
|
|
2430
|
+
p_phone: z.string().optional(),
|
|
2431
|
+
p_platform: z.string().optional(),
|
|
2432
|
+
p_telegram_id: z.number().optional(),
|
|
2433
|
+
});
|
|
2434
|
+
export const publicContactRecordSchema = z.object({
|
|
2435
|
+
id: z.string().nullable(),
|
|
2436
|
+
created_at: z.string().nullable(),
|
|
2437
|
+
updated_at: z.string().nullable(),
|
|
2438
|
+
user_id: z.string().nullable(),
|
|
2439
|
+
name: z.string().nullable(),
|
|
2440
|
+
phone: z.string().nullable(),
|
|
2441
|
+
telegram_id: z.number().nullable(),
|
|
2442
|
+
telegram_username: z.string().nullable(),
|
|
2443
|
+
email: z.string().nullable(),
|
|
2444
|
+
platform: z.string().nullable(),
|
|
2445
|
+
source: z.string().nullable(),
|
|
2446
|
+
tags: z.array(z.string()).nullable(),
|
|
2447
|
+
status: z.string().nullable(),
|
|
2448
|
+
metadata: jsonSchema.nullable(),
|
|
2449
|
+
});
|
|
2450
|
+
export const publicContactListCursorArgsSchema = z.object({
|
|
2451
|
+
p_cursor: z.string().optional(),
|
|
2452
|
+
p_limit: z.number().optional(),
|
|
2453
|
+
p_platform: z.string().optional(),
|
|
2454
|
+
p_search: z.string().optional(),
|
|
2455
|
+
p_status: z.string().optional(),
|
|
2456
|
+
p_tags: z.array(z.string()).optional(),
|
|
2457
|
+
});
|
|
2458
|
+
export const publicContactListCursorReturnsSchema = z.array(publicContactRecordSchema);
|
|
2459
|
+
export const publicContactUpsertArgsSchema = z.object({
|
|
2460
|
+
p_email: z.string().optional(),
|
|
2461
|
+
p_id: z.string().optional(),
|
|
2462
|
+
p_metadata: jsonSchema.optional(),
|
|
2463
|
+
p_name: z.string().optional(),
|
|
2464
|
+
p_phone: z.string().optional(),
|
|
2465
|
+
p_platform: z.string().optional(),
|
|
2466
|
+
p_source: z.string().optional(),
|
|
2467
|
+
p_status: z.string().optional(),
|
|
2468
|
+
p_tags: z.array(z.string()).optional(),
|
|
2469
|
+
p_telegram_id: z.number().optional(),
|
|
2470
|
+
p_telegram_username: z.string().optional(),
|
|
2471
|
+
});
|
|
2472
|
+
export const publicContactUpsertReturnsSchema = z.array(publicContactRecordSchema);
|
|
2473
|
+
export const publicCreateNotificationArgsSchema = z.object({
|
|
2474
|
+
p_action_payload: jsonSchema.optional(),
|
|
2475
|
+
p_action_type: z.string().optional(),
|
|
2476
|
+
p_expires_in: z.unknown().optional(),
|
|
2477
|
+
p_message: z.string().optional(),
|
|
2478
|
+
p_priority: z.string().optional(),
|
|
2479
|
+
p_source_id: z.string().optional(),
|
|
2480
|
+
p_source_type: z.string().optional(),
|
|
2481
|
+
p_title: z.string(),
|
|
2482
|
+
p_type: z.string().optional(),
|
|
2483
|
+
p_user_id: z.string(),
|
|
2484
|
+
});
|
|
2485
|
+
export const publicCreateNotificationReturnsSchema = z.string();
|
|
2486
|
+
export const publicDbToolQueryArgsSchema = z.object({
|
|
2487
|
+
p_sql: z.string(),
|
|
2488
|
+
});
|
|
2489
|
+
export const publicDbToolQueryReturnsSchema = jsonSchema;
|
|
2490
|
+
export const publicDbaLintScanArgsSchema = z.never();
|
|
2491
|
+
export const publicDbaLintIssueSchema = z.object({
|
|
2492
|
+
object_type: z.string().nullable(),
|
|
2493
|
+
object_name: z.string().nullable(),
|
|
2494
|
+
issue_category: z.string().nullable(),
|
|
2495
|
+
issue: z.string().nullable(),
|
|
2496
|
+
suggestion: z.string().nullable(),
|
|
2497
|
+
severity: z.string().nullable(),
|
|
2498
|
+
});
|
|
2499
|
+
export const publicDebugRoleArgsSchema = z.never();
|
|
2500
|
+
export const publicDebugRoleReturnsSchema = z.string();
|
|
2501
|
+
export const publicDebugSecDefArgsSchema = z.never();
|
|
2502
|
+
export const publicDebugSecDefReturnsSchema = z.string();
|
|
2503
|
+
export const publicGetEncryptionKeyArgsSchema = z.never();
|
|
2504
|
+
export const publicGetEncryptionKeyReturnsSchema = z.string();
|
|
2505
|
+
export const publicGetGithubAppPublicInfoArgsSchema = z.never();
|
|
2506
|
+
export const publicGetGithubAppPublicInfoReturnsSchema = jsonSchema;
|
|
2507
|
+
export const publicGetJwtRoleArgsSchema = z.never();
|
|
2508
|
+
export const publicGetJwtRoleReturnsSchema = z.string();
|
|
2509
|
+
export const publicGetLintTestV1ArgsSchema = z.never();
|
|
2510
|
+
export const publicGetLintTestV1ReturnsSchema = z.string();
|
|
2511
|
+
export const publicGetUserIdFromTokenArgsSchema = z.object({
|
|
2512
|
+
p_token: z.string(),
|
|
2513
|
+
});
|
|
2514
|
+
export const publicGetUserIdFromTokenReturnsSchema = z.string();
|
|
2515
|
+
export const publicGomtmModelCountArgsSchema = z.object({
|
|
2516
|
+
p_is_active: z.boolean().optional(),
|
|
2517
|
+
p_provider: z.string().optional(),
|
|
2518
|
+
});
|
|
2519
|
+
export const publicGomtmModelCountReturnsSchema = z.number();
|
|
2520
|
+
export const publicGomtmModelDeleteArgsSchema = z.object({
|
|
2521
|
+
p_id: z.string(),
|
|
2522
|
+
});
|
|
2523
|
+
export const publicGomtmModelDeleteReturnsSchema = z.boolean();
|
|
2524
|
+
export const publicGomtmModelGetArgsSchema = z.object({
|
|
2525
|
+
p_id: z.string(),
|
|
2526
|
+
});
|
|
2527
|
+
export const publicGomtmModelGetReturnsSchema = z.object({
|
|
2528
|
+
api_base: z.string().nullable(),
|
|
2529
|
+
api_key: z.string().nullable(),
|
|
2530
|
+
config: jsonSchema.nullable(),
|
|
2531
|
+
created_at: z.string(),
|
|
2532
|
+
id: z.string(),
|
|
2533
|
+
is_active: z.boolean(),
|
|
2534
|
+
linked_account_id: z.string().nullable(),
|
|
2535
|
+
model: z.string(),
|
|
2536
|
+
name: z.string(),
|
|
2537
|
+
provider: z.string(),
|
|
2538
|
+
updated_at: z.string(),
|
|
2539
|
+
user_id: z.string(),
|
|
2540
|
+
});
|
|
2541
|
+
export const publicGomtmModelListArgsSchema = z.object({
|
|
2542
|
+
p_is_active: z.boolean().optional(),
|
|
2543
|
+
p_limit: z.number().optional(),
|
|
2544
|
+
p_offset: z.number().optional(),
|
|
2545
|
+
p_provider: z.string().optional(),
|
|
2546
|
+
});
|
|
2547
|
+
export const publicGomtmModelListReturnsSchema = z.array(z.object({
|
|
2548
|
+
api_base: z.string(),
|
|
2549
|
+
api_key: z.string(),
|
|
2550
|
+
config: jsonSchema,
|
|
2551
|
+
created_at: z.string(),
|
|
2552
|
+
id: z.string(),
|
|
2553
|
+
is_active: z.boolean(),
|
|
2554
|
+
linked_account_id: z.string(),
|
|
2555
|
+
model: z.string(),
|
|
2556
|
+
name: z.string(),
|
|
2557
|
+
provider: z.string(),
|
|
2558
|
+
updated_at: z.string(),
|
|
2559
|
+
user_id: z.string(),
|
|
2560
|
+
}));
|
|
2561
|
+
export const publicGomtmModelListCursorArgsSchema = z.object({
|
|
2562
|
+
p_cursor_id: z.string().optional(),
|
|
2563
|
+
p_is_active: z.boolean().optional(),
|
|
2564
|
+
p_limit: z.number().optional(),
|
|
2565
|
+
p_provider: z.string().optional(),
|
|
2566
|
+
});
|
|
2567
|
+
export const publicGomtmModelListCursorReturnsSchema = z.array(z.object({
|
|
2568
|
+
api_base: z.string(),
|
|
2569
|
+
api_key: z.string(),
|
|
2570
|
+
config: jsonSchema,
|
|
2571
|
+
created_at: z.string(),
|
|
2572
|
+
id: z.string(),
|
|
2573
|
+
is_active: z.boolean(),
|
|
2574
|
+
linked_account_id: z.string(),
|
|
2575
|
+
model: z.string(),
|
|
2576
|
+
name: z.string(),
|
|
2577
|
+
provider: z.string(),
|
|
2578
|
+
updated_at: z.string(),
|
|
2579
|
+
user_id: z.string(),
|
|
2580
|
+
}));
|
|
2581
|
+
export const publicGomtmModelUpsertArgsSchema = z.object({
|
|
2582
|
+
p_api_base: z.string().optional(),
|
|
2583
|
+
p_api_key: z.string().optional(),
|
|
2584
|
+
p_config: jsonSchema.optional(),
|
|
2585
|
+
p_id: z.string().optional(),
|
|
2586
|
+
p_is_active: z.boolean().optional(),
|
|
2587
|
+
p_linked_account_id: z.string().optional(),
|
|
2588
|
+
p_model: z.string().optional(),
|
|
2589
|
+
p_name: z.string().optional(),
|
|
2590
|
+
p_provider: z.string().optional(),
|
|
2591
|
+
});
|
|
2592
|
+
export const publicGomtmModelUpsertReturnsSchema = z.object({
|
|
2593
|
+
api_base: z.string().nullable(),
|
|
2594
|
+
api_key: z.string().nullable(),
|
|
2595
|
+
config: jsonSchema.nullable(),
|
|
2596
|
+
created_at: z.string(),
|
|
2597
|
+
id: z.string(),
|
|
2598
|
+
is_active: z.boolean(),
|
|
2599
|
+
linked_account_id: z.string().nullable(),
|
|
2600
|
+
model: z.string(),
|
|
2601
|
+
name: z.string(),
|
|
2602
|
+
provider: z.string(),
|
|
2603
|
+
updated_at: z.string(),
|
|
2604
|
+
user_id: z.string(),
|
|
2605
|
+
});
|
|
2606
|
+
export const publicHandleJobOutreachProcessArgsSchema = z.object({
|
|
2607
|
+
p_payload: jsonSchema.optional(),
|
|
2608
|
+
});
|
|
2609
|
+
export const publicHandleJobOutreachProcessReturnsSchema = z.undefined();
|
|
2610
|
+
export const publicHandleJobTelegramFetchInfoArgsSchema = z.object({
|
|
2611
|
+
p_payload: jsonSchema,
|
|
2612
|
+
});
|
|
2613
|
+
export const publicHandleJobTelegramFetchInfoReturnsSchema = z.undefined();
|
|
2614
|
+
export const publicHandleJobTelegramFetchSmsArgsSchema = z.object({
|
|
2615
|
+
p_payload: jsonSchema,
|
|
2616
|
+
});
|
|
2617
|
+
export const publicHandleJobTelegramFetchSmsReturnsSchema = z.undefined();
|
|
2618
|
+
export const publicHandleJobTunnelCheckResponsesArgsSchema = z.object({
|
|
2619
|
+
p_payload: jsonSchema,
|
|
2620
|
+
});
|
|
2621
|
+
export const publicHandleJobTunnelCheckResponsesReturnsSchema = z.undefined();
|
|
2622
|
+
export const publicHandleJobTunnelSetupArgsSchema = z.object({
|
|
2623
|
+
p_payload: jsonSchema,
|
|
2624
|
+
});
|
|
2625
|
+
export const publicHandleJobTunnelSetupReturnsSchema = z.undefined();
|
|
2626
|
+
export const publicHandleJobWorkerCleanupArgsSchema = z.object({
|
|
2627
|
+
p_payload: jsonSchema,
|
|
2628
|
+
});
|
|
2629
|
+
export const publicHandleJobWorkerCleanupReturnsSchema = z.undefined();
|
|
2630
|
+
export const publicInitTunnelAsyncArgsSchema = z.object({
|
|
2631
|
+
p_instance_id: z.string(),
|
|
2632
|
+
});
|
|
2633
|
+
export const publicInitTunnelAsyncReturnsSchema = z.number();
|
|
2634
|
+
export const publicInstanceTagAddArgsSchema = z.object({
|
|
2635
|
+
p_instance_id: z.string(),
|
|
2636
|
+
p_tag_id: z.string(),
|
|
2637
|
+
});
|
|
2638
|
+
export const publicInstanceTagAddReturnsSchema = z.boolean();
|
|
2639
|
+
export const publicInstanceTagRemoveArgsSchema = z.object({
|
|
2640
|
+
p_instance_id: z.string(),
|
|
2641
|
+
p_tag_id: z.string(),
|
|
2642
|
+
});
|
|
2643
|
+
export const publicInstanceTagRemoveReturnsSchema = z.boolean();
|
|
2644
|
+
export const publicInstanceTagsGetArgsSchema = z.object({
|
|
2645
|
+
p_instance_id: z.string(),
|
|
2646
|
+
});
|
|
2647
|
+
export const publicTagRecordSchema = z.object({
|
|
2648
|
+
id: z.string().nullable(),
|
|
2649
|
+
name: z.string().nullable(),
|
|
2650
|
+
color: z.string().nullable(),
|
|
2651
|
+
user_id: z.string().nullable(),
|
|
2652
|
+
created_at: z.string().nullable(),
|
|
2653
|
+
updated_at: z.string().nullable(),
|
|
2654
|
+
instance_count: z.number().nullable(),
|
|
2655
|
+
});
|
|
2656
|
+
export const publicInstanceTagsSetArgsSchema = z.object({
|
|
2657
|
+
p_instance_id: z.string(),
|
|
2658
|
+
p_tag_ids: z.array(z.string()),
|
|
2659
|
+
});
|
|
2660
|
+
export const publicInstanceTagsSetReturnsSchema = z.array(publicTagRecordSchema);
|
|
2661
|
+
export const publicIsAdminArgsSchema = z.never();
|
|
2662
|
+
export const publicIsAdminReturnsSchema = z.boolean();
|
|
2663
|
+
export const publicJobQueueGetStatsArgsSchema = z.never();
|
|
2664
|
+
export const publicJobQueueGetStatsReturnsSchema = z.array(z.object({
|
|
2665
|
+
dlq_count: z.number(),
|
|
2666
|
+
msg_count: z.number(),
|
|
2667
|
+
queue_name: z.string(),
|
|
2668
|
+
}));
|
|
2669
|
+
export const publicJobQueueListDlqArgsSchema = z.object({
|
|
2670
|
+
p_limit: z.number().optional(),
|
|
2671
|
+
p_offset: z.number().optional(),
|
|
2672
|
+
p_queue: z.string(),
|
|
2673
|
+
});
|
|
2674
|
+
export const publicJobQueueListDlqReturnsSchema = z.array(z.object({
|
|
2675
|
+
enqueued_at: z.string(),
|
|
2676
|
+
message: jsonSchema,
|
|
2677
|
+
msg_id: z.number(),
|
|
2678
|
+
read_ct: z.number(),
|
|
2679
|
+
}));
|
|
2680
|
+
export const publicJobQueuePurgeDlqArgsSchema = z.object({
|
|
2681
|
+
p_msg_ids: z.array(z.number()),
|
|
2682
|
+
p_queue: z.string(),
|
|
2683
|
+
});
|
|
2684
|
+
export const publicJobQueuePurgeDlqReturnsSchema = z.undefined();
|
|
2685
|
+
export const publicJobQueueRetryDlqArgsSchema = z.object({
|
|
2686
|
+
p_msg_ids: z.array(z.number()),
|
|
2687
|
+
p_queue: z.string(),
|
|
2688
|
+
});
|
|
2689
|
+
export const publicJobQueueRetryDlqReturnsSchema = z.undefined();
|
|
2690
|
+
export const publicJobSubmitArgsSchema = z.object({
|
|
2691
|
+
p_delay_seconds: z.number().optional(),
|
|
2692
|
+
p_payload: jsonSchema,
|
|
2693
|
+
p_queue: z.string(),
|
|
2694
|
+
p_type: z.string(),
|
|
2695
|
+
});
|
|
2696
|
+
export const publicJobSubmitReturnsSchema = jsonSchema;
|
|
2697
|
+
export const publicLintTestErrorCodeArgsSchema = z.never();
|
|
2698
|
+
export const publicLintTestErrorCodeReturnsSchema = z.undefined();
|
|
2699
|
+
export const publicLintTestTableReturnArgsSchema = z.never();
|
|
2700
|
+
export const publicLintTestTableReturnReturnsSchema = z.array(z.object({
|
|
2701
|
+
id: z.number(),
|
|
2702
|
+
name: z.string(),
|
|
2703
|
+
}));
|
|
2704
|
+
export const publicLogArgsSchema = z.object({
|
|
2705
|
+
content: z.string(),
|
|
2706
|
+
});
|
|
2707
|
+
export const publicLogReturnsSchema = z.undefined();
|
|
2708
|
+
export const publicNotificationCompleteActionArgsSchema = z.object({
|
|
2709
|
+
p_id: z.string(),
|
|
2710
|
+
});
|
|
2711
|
+
export const publicNotificationCompleteActionReturnsSchema = z.boolean();
|
|
2712
|
+
export const publicNotificationCountArgsSchema = z.object({
|
|
2713
|
+
p_include_dismissed: z.boolean().optional(),
|
|
2714
|
+
p_unread_only: z.boolean().optional(),
|
|
2715
|
+
});
|
|
2716
|
+
export const publicNotificationCountReturnsSchema = z.number();
|
|
2717
|
+
export const publicNotificationDismissArgsSchema = z.object({
|
|
2718
|
+
p_dismiss_all: z.boolean().optional(),
|
|
2719
|
+
p_id: z.string().optional(),
|
|
2720
|
+
p_source_id: z.string().optional(),
|
|
2721
|
+
p_source_type: z.string().optional(),
|
|
2722
|
+
});
|
|
2723
|
+
export const publicNotificationDismissReturnsSchema = z.number();
|
|
2724
|
+
export const publicNotificationGetPendingActionsArgsSchema = z.never();
|
|
2725
|
+
export const publicUserNotificationRecordSchema = z.object({
|
|
2726
|
+
id: z.string().nullable(),
|
|
2727
|
+
created_at: z.string().nullable(),
|
|
2728
|
+
updated_at: z.string().nullable(),
|
|
2729
|
+
user_id: z.string().nullable(),
|
|
2730
|
+
title: z.string().nullable(),
|
|
2731
|
+
message: z.string().nullable(),
|
|
2732
|
+
notification_type: z.string().nullable(),
|
|
2733
|
+
priority: z.string().nullable(),
|
|
2734
|
+
source_type: z.string().nullable(),
|
|
2735
|
+
source_id: z.string().nullable(),
|
|
2736
|
+
action_type: z.string().nullable(),
|
|
2737
|
+
action_payload: jsonSchema.nullable(),
|
|
2738
|
+
action_completed_at: z.string().nullable(),
|
|
2739
|
+
is_read: z.boolean().nullable(),
|
|
2740
|
+
read_at: z.string().nullable(),
|
|
2741
|
+
dismissed_at: z.string().nullable(),
|
|
2742
|
+
expires_at: z.string().nullable(),
|
|
2743
|
+
});
|
|
2744
|
+
export const publicNotificationListArgsSchema = z.object({
|
|
2745
|
+
p_action_type: z.string().optional(),
|
|
2746
|
+
p_cursor: z.string().optional(),
|
|
2747
|
+
p_include_dismissed: z.boolean().optional(),
|
|
2748
|
+
p_limit: z.number().optional(),
|
|
2749
|
+
p_source_type: z.string().optional(),
|
|
2750
|
+
p_unread_only: z.boolean().optional(),
|
|
2751
|
+
});
|
|
2752
|
+
export const publicNotificationListReturnsSchema = z.array(publicUserNotificationRecordSchema);
|
|
2753
|
+
export const publicNotificationMarkReadArgsSchema = z.object({
|
|
2754
|
+
p_id: z.string().optional(),
|
|
2755
|
+
p_mark_all: z.boolean().optional(),
|
|
2756
|
+
});
|
|
2757
|
+
export const publicNotificationMarkReadReturnsSchema = z.number();
|
|
2758
|
+
export const publicOutreachProcessPendingTasksArgsSchema = z.object({
|
|
2759
|
+
p_limit: z.number().optional(),
|
|
2760
|
+
});
|
|
2761
|
+
export const publicOutreachProcessPendingTasksReturnsSchema = z.number();
|
|
2762
|
+
export const publicOutreachRetryFailedTasksArgsSchema = z.object({
|
|
2763
|
+
p_campaign_id: z.string().optional(),
|
|
2764
|
+
});
|
|
2765
|
+
export const publicOutreachRetryFailedTasksReturnsSchema = z.number();
|
|
2766
|
+
export const publicOutreachTaskListArgsSchema = z.object({
|
|
2767
|
+
p_campaign_id: z.string().optional(),
|
|
2768
|
+
p_limit: z.number().optional(),
|
|
2769
|
+
p_offset: z.number().optional(),
|
|
2770
|
+
p_status: z.string().optional(),
|
|
2771
|
+
});
|
|
2772
|
+
export const publicOutreachTaskRecordSchema = z.object({
|
|
2773
|
+
id: z.string().nullable(),
|
|
2774
|
+
created_at: z.string().nullable(),
|
|
2775
|
+
updated_at: z.string().nullable(),
|
|
2776
|
+
user_id: z.string().nullable(),
|
|
2777
|
+
campaign_id: z.string().nullable(),
|
|
2778
|
+
contact_id: z.string().nullable(),
|
|
2779
|
+
cloud_account_id: z.string().nullable(),
|
|
2780
|
+
status: z.string().nullable(),
|
|
2781
|
+
priority: z.number().nullable(),
|
|
2782
|
+
scheduled_at: z.string().nullable(),
|
|
2783
|
+
executed_at: z.string().nullable(),
|
|
2784
|
+
retry_count: z.number().nullable(),
|
|
2785
|
+
error_message: z.string().nullable(),
|
|
2786
|
+
metadata: jsonSchema.nullable(),
|
|
2787
|
+
});
|
|
2788
|
+
export const publicProxyDeleteArgsSchema = z.object({
|
|
2789
|
+
p_id: z.string(),
|
|
2790
|
+
});
|
|
2791
|
+
export const publicProxyDeleteReturnsSchema = z.boolean();
|
|
2792
|
+
export const publicProxyGetArgsSchema = z.object({
|
|
2793
|
+
p_id: z.string(),
|
|
2794
|
+
});
|
|
2795
|
+
export const publicProxyGetReturnsSchema = z.object({
|
|
2796
|
+
created_at: z.string(),
|
|
2797
|
+
description: z.string().nullable(),
|
|
2798
|
+
enabled: z.boolean(),
|
|
2799
|
+
id: z.string(),
|
|
2800
|
+
name: z.string().nullable(),
|
|
2801
|
+
type: z.string().nullable(),
|
|
2802
|
+
updated_at: z.string().nullable(),
|
|
2803
|
+
url: z.string(),
|
|
2804
|
+
user_id: z.string().nullable(),
|
|
2805
|
+
});
|
|
2806
|
+
export const publicProxyListArgsSchema = z.object({
|
|
2807
|
+
p_kw: z.string().optional(),
|
|
2808
|
+
p_page_no: z.number().optional(),
|
|
2809
|
+
p_page_size: z.number().optional(),
|
|
2810
|
+
});
|
|
2811
|
+
export const publicProxyListReturnsSchema = z.array(z.object({
|
|
2812
|
+
created_at: z.string(),
|
|
2813
|
+
description: z.string().nullable(),
|
|
2814
|
+
enabled: z.boolean(),
|
|
2815
|
+
id: z.string(),
|
|
2816
|
+
name: z.string().nullable(),
|
|
2817
|
+
type: z.string().nullable(),
|
|
2818
|
+
updated_at: z.string().nullable(),
|
|
2819
|
+
url: z.string(),
|
|
2820
|
+
user_id: z.string().nullable(),
|
|
2821
|
+
}));
|
|
2822
|
+
export const publicProxyUpsertArgsSchema = z.object({
|
|
2823
|
+
p_description: z.string().optional(),
|
|
2824
|
+
p_enabled: z.boolean().optional(),
|
|
2825
|
+
p_id: z.string(),
|
|
2826
|
+
p_name: z.string(),
|
|
2827
|
+
p_type: z.string(),
|
|
2828
|
+
p_url: z.string(),
|
|
2829
|
+
});
|
|
2830
|
+
export const publicProxyUpsertReturnsSchema = z.array(z.object({
|
|
2831
|
+
created_at: z.string(),
|
|
2832
|
+
description: z.string().nullable(),
|
|
2833
|
+
enabled: z.boolean(),
|
|
2834
|
+
id: z.string(),
|
|
2835
|
+
name: z.string().nullable(),
|
|
2836
|
+
type: z.string().nullable(),
|
|
2837
|
+
updated_at: z.string().nullable(),
|
|
2838
|
+
url: z.string(),
|
|
2839
|
+
user_id: z.string().nullable(),
|
|
2840
|
+
}));
|
|
2841
|
+
export const publicResourceDeleteArgsSchema = z.object({
|
|
2842
|
+
p_resource_id: z.string(),
|
|
2843
|
+
});
|
|
2844
|
+
export const publicResourceDeleteReturnsSchema = z.undefined();
|
|
2845
|
+
export const publicResourceGetArgsSchema = z.object({
|
|
2846
|
+
p_resource_id: z.string(),
|
|
2847
|
+
});
|
|
2848
|
+
export const publicResourceGetReturnsSchema = jsonSchema;
|
|
2849
|
+
export const publicResourceListArgsSchema = z.object({
|
|
2850
|
+
p_kw: z.string().optional(),
|
|
2851
|
+
p_page_num: z.number().optional(),
|
|
2852
|
+
p_page_size: z.number().optional(),
|
|
2853
|
+
p_slug: z.string().optional(),
|
|
2854
|
+
p_type: z.string().optional(),
|
|
2855
|
+
});
|
|
2856
|
+
export const publicResourceListReturnsSchema = z.array(z.object({
|
|
2857
|
+
description: z.string(),
|
|
2858
|
+
icon: z.string(),
|
|
2859
|
+
id: z.string(),
|
|
2860
|
+
target_id: z.string(),
|
|
2861
|
+
title: z.string(),
|
|
2862
|
+
type: z.string(),
|
|
2863
|
+
updated_at: z.string(),
|
|
2864
|
+
url: z.string(),
|
|
2865
|
+
}));
|
|
2866
|
+
export const publicResourceUpsertArgsSchema = z.object({
|
|
2867
|
+
content: jsonSchema,
|
|
2868
|
+
description: z.string(),
|
|
2869
|
+
key: z.string(),
|
|
2870
|
+
p_id: z.string().optional(),
|
|
2871
|
+
target_id: z.string().optional(),
|
|
2872
|
+
title: z.string(),
|
|
2873
|
+
type: z.string(),
|
|
2874
|
+
});
|
|
2875
|
+
export const publicResourceUpsertReturnsSchema = z.string();
|
|
2876
|
+
export const publicSandboxFindActiveArgsSchema = z.never();
|
|
2877
|
+
export const publicSandboxFindActiveReturnsSchema = jsonSchema;
|
|
2878
|
+
export const publicSandboxGetArgsSchema = z.object({
|
|
2879
|
+
resource_id: z.string().optional(),
|
|
2880
|
+
});
|
|
2881
|
+
export const publicSandboxGetReturnsSchema = z.array(z.object({
|
|
2882
|
+
created_at: z.string(),
|
|
2883
|
+
data: jsonSchema.nullable(),
|
|
2884
|
+
description: z.string().nullable(),
|
|
2885
|
+
hash1: z.string().nullable(),
|
|
2886
|
+
icon: z.string().nullable(),
|
|
2887
|
+
id: z.string(),
|
|
2888
|
+
is_public: z.boolean().nullable(),
|
|
2889
|
+
meta: jsonSchema.nullable(),
|
|
2890
|
+
target_id: z.string().nullable(),
|
|
2891
|
+
title: z.string().nullable(),
|
|
2892
|
+
type: z.string().nullable(),
|
|
2893
|
+
updated_at: z.string().nullable(),
|
|
2894
|
+
user_id: z.string().nullable(),
|
|
2895
|
+
}));
|
|
2896
|
+
export const publicServerInstanceDeleteArgsSchema = z.object({
|
|
2897
|
+
target_id: z.string(),
|
|
2898
|
+
});
|
|
2899
|
+
export const publicServerInstanceDeleteReturnsSchema = z.undefined();
|
|
2900
|
+
export const publicServerInstanceGetArgsSchema = z.object({
|
|
2901
|
+
p_id: z.string().optional(),
|
|
2902
|
+
});
|
|
2903
|
+
export const publicServerInstanceGetReturnsSchema = z.array(z.object({
|
|
2904
|
+
cloudflared_token: z.string().nullable(),
|
|
2905
|
+
created_at: z.string(),
|
|
2906
|
+
host_id: z.string().nullable(),
|
|
2907
|
+
id: z.string(),
|
|
2908
|
+
is_shared: z.boolean().nullable(),
|
|
2909
|
+
latest_pull_at: z.string().nullable(),
|
|
2910
|
+
name: z.string().nullable(),
|
|
2911
|
+
runtime: z.string().nullable(),
|
|
2912
|
+
state: jsonSchema.nullable(),
|
|
2913
|
+
status: publicWorkerStatusSchema.nullable(),
|
|
2914
|
+
updated_at: z.string(),
|
|
2915
|
+
user_id: z.string().nullable(),
|
|
2916
|
+
}));
|
|
2917
|
+
export const publicServerInstanceHeartbeatArgsSchema = z.object({
|
|
2918
|
+
p_instance_id: z.string(),
|
|
2919
|
+
});
|
|
2920
|
+
export const publicServerInstanceHeartbeatReturnsSchema = z.array(z.object({
|
|
2921
|
+
error: z.string(),
|
|
2922
|
+
success: z.boolean(),
|
|
2923
|
+
temp_domain: z.string(),
|
|
2924
|
+
}));
|
|
2925
|
+
export const publicServerInstanceListArgsSchema = z.object({
|
|
2926
|
+
kw: z.string().optional(),
|
|
2927
|
+
p_host_id: z.string().optional(),
|
|
2928
|
+
page_no: z.number().optional(),
|
|
2929
|
+
page_size: z.number().optional(),
|
|
2930
|
+
});
|
|
2931
|
+
export const publicServerInstanceListReturnsSchema = z.array(z.object({
|
|
2932
|
+
cloudflared_token: z.string().nullable(),
|
|
2933
|
+
created_at: z.string(),
|
|
2934
|
+
host_id: z.string().nullable(),
|
|
2935
|
+
id: z.string(),
|
|
2936
|
+
is_shared: z.boolean().nullable(),
|
|
2937
|
+
latest_pull_at: z.string().nullable(),
|
|
2938
|
+
name: z.string().nullable(),
|
|
2939
|
+
runtime: z.string().nullable(),
|
|
2940
|
+
state: jsonSchema.nullable(),
|
|
2941
|
+
status: publicWorkerStatusSchema.nullable(),
|
|
2942
|
+
updated_at: z.string(),
|
|
2943
|
+
user_id: z.string().nullable(),
|
|
2944
|
+
}));
|
|
2945
|
+
export const publicServerInstanceListCursorArgsSchema = z.object({
|
|
2946
|
+
p_cursor_id: z.string().optional(),
|
|
2947
|
+
p_cursor_is_shared: z.boolean().optional(),
|
|
2948
|
+
p_cursor_updated_at: z.string().optional(),
|
|
2949
|
+
p_host_id: z.string().optional(),
|
|
2950
|
+
p_is_shared: z.boolean().optional(),
|
|
2951
|
+
p_kw: z.string().optional(),
|
|
2952
|
+
p_limit: z.number().optional(),
|
|
2953
|
+
p_tag_ids: z.array(z.string()).optional(),
|
|
2954
|
+
});
|
|
2955
|
+
export const publicServerInstanceListCursorReturnsSchema = z.array(z.object({
|
|
2956
|
+
cloudflared_token: z.string().nullable(),
|
|
2957
|
+
created_at: z.string(),
|
|
2958
|
+
host_id: z.string().nullable(),
|
|
2959
|
+
id: z.string(),
|
|
2960
|
+
is_shared: z.boolean().nullable(),
|
|
2961
|
+
latest_pull_at: z.string().nullable(),
|
|
2962
|
+
name: z.string().nullable(),
|
|
2963
|
+
runtime: z.string().nullable(),
|
|
2964
|
+
state: jsonSchema.nullable(),
|
|
2965
|
+
status: publicWorkerStatusSchema.nullable(),
|
|
2966
|
+
updated_at: z.string(),
|
|
2967
|
+
user_id: z.string().nullable(),
|
|
2968
|
+
}));
|
|
2969
|
+
export const publicServerInstanceUpsertArgsSchema = z.object({
|
|
2970
|
+
p_cloudflared_token: z.string().optional(),
|
|
2971
|
+
p_host_id: z.string().optional(),
|
|
2972
|
+
p_id: z.string(),
|
|
2973
|
+
p_is_managed: z.boolean().optional(),
|
|
2974
|
+
p_is_shared: z.boolean().optional(),
|
|
2975
|
+
p_name: z.string().optional(),
|
|
2976
|
+
p_runtime: z.string().optional(),
|
|
2977
|
+
p_state: jsonSchema.optional(),
|
|
2978
|
+
p_status: publicWorkerStatusSchema.optional(),
|
|
2979
|
+
p_user_id: z.string().optional(),
|
|
2980
|
+
});
|
|
2981
|
+
export const publicServerInstanceUpsertReturnsSchema = z.array(z.object({
|
|
2982
|
+
cloudflared_token: z.string().nullable(),
|
|
2983
|
+
created_at: z.string(),
|
|
2984
|
+
host_id: z.string().nullable(),
|
|
2985
|
+
id: z.string(),
|
|
2986
|
+
is_shared: z.boolean().nullable(),
|
|
2987
|
+
latest_pull_at: z.string().nullable(),
|
|
2988
|
+
name: z.string().nullable(),
|
|
2989
|
+
runtime: z.string().nullable(),
|
|
2990
|
+
state: jsonSchema.nullable(),
|
|
2991
|
+
status: publicWorkerStatusSchema.nullable(),
|
|
2992
|
+
updated_at: z.string(),
|
|
2993
|
+
user_id: z.string().nullable(),
|
|
2994
|
+
}));
|
|
2995
|
+
export const publicSysConfigSetArgsSchema = z.object({
|
|
2996
|
+
p_description: z.string().optional(),
|
|
2997
|
+
p_key: z.string(),
|
|
2998
|
+
p_value: jsonSchema,
|
|
2999
|
+
});
|
|
3000
|
+
export const publicSysConfigSetReturnsSchema = z.undefined();
|
|
3001
|
+
export const publicSysGetDbSchemaArgsSchema = z.object({
|
|
3002
|
+
p_excluded_tables: z.array(z.string()).optional(),
|
|
3003
|
+
p_include_comments: z.boolean().optional(),
|
|
3004
|
+
p_include_functions: z.boolean().optional(),
|
|
3005
|
+
});
|
|
3006
|
+
export const publicSysGetDbSchemaReturnsSchema = z.string();
|
|
3007
|
+
export const publicSysInitQueueArgsSchema = z.object({
|
|
3008
|
+
name: z.string(),
|
|
3009
|
+
});
|
|
3010
|
+
export const publicSysInitQueueReturnsSchema = z.undefined();
|
|
3011
|
+
export const publicSystemConfigPublicDeleteArgsSchema = z.object({
|
|
3012
|
+
p_key: z.string(),
|
|
3013
|
+
});
|
|
3014
|
+
export const publicSystemConfigPublicDeleteReturnsSchema = z.undefined();
|
|
3015
|
+
export const publicSystemConfigPublicGetArgsSchema = z.object({
|
|
3016
|
+
p_key: z.string(),
|
|
3017
|
+
});
|
|
3018
|
+
export const publicSystemConfigPublicGetReturnsSchema = jsonSchema;
|
|
3019
|
+
export const publicSystemConfigPublicListArgsSchema = z.never();
|
|
3020
|
+
export const publicSystemConfigPublicListReturnsSchema = z.array(z.object({
|
|
3021
|
+
description: z.string(),
|
|
3022
|
+
key: z.string(),
|
|
3023
|
+
updated_at: z.string(),
|
|
3024
|
+
value: jsonSchema,
|
|
3025
|
+
}));
|
|
3026
|
+
export const publicSystemConfigPublicSetArgsSchema = z.object({
|
|
3027
|
+
p_description: z.string().optional(),
|
|
3028
|
+
p_key: z.string(),
|
|
3029
|
+
p_value: jsonSchema,
|
|
3030
|
+
});
|
|
3031
|
+
export const publicSystemConfigPublicSetReturnsSchema = z.undefined();
|
|
3032
|
+
export const publicTagDeleteArgsSchema = z.object({
|
|
3033
|
+
p_id: z.string(),
|
|
3034
|
+
});
|
|
3035
|
+
export const publicTagDeleteReturnsSchema = z.boolean();
|
|
3036
|
+
export const publicTagListArgsSchema = z.never();
|
|
3037
|
+
export const publicTagListReturnsSchema = z.array(publicTagRecordSchema);
|
|
3038
|
+
export const publicTagUpsertArgsSchema = z.object({
|
|
3039
|
+
p_color: z.string().optional(),
|
|
3040
|
+
p_id: z.string().optional(),
|
|
3041
|
+
p_name: z.string().optional(),
|
|
3042
|
+
});
|
|
3043
|
+
export const publicTagUpsertReturnsSchema = z.array(publicTagRecordSchema);
|
|
3044
|
+
export const publicTaskSubmitArgsSchema = z.object({
|
|
3045
|
+
p_payload: jsonSchema,
|
|
3046
|
+
p_type: z.string(),
|
|
3047
|
+
});
|
|
3048
|
+
export const publicTaskSubmitReturnsSchema = jsonSchema;
|
|
3049
|
+
export const publicTearDownTestDataArgsSchema = z.never();
|
|
3050
|
+
export const publicTearDownTestDataReturnsSchema = jsonSchema;
|
|
3051
|
+
export const publicTelegramLoginStartArgsSchema = z.object({
|
|
3052
|
+
p_account_id: z.string(),
|
|
3053
|
+
});
|
|
3054
|
+
export const publicTelegramLoginStartReturnsSchema = z.undefined();
|
|
3055
|
+
export const publicTelegramLoginSubmit2faArgsSchema = z.object({
|
|
3056
|
+
p_account_id: z.string(),
|
|
3057
|
+
p_password: z.string(),
|
|
3058
|
+
});
|
|
3059
|
+
export const publicTelegramLoginSubmit2faReturnsSchema = z.undefined();
|
|
3060
|
+
export const publicTelegramLoginSubmitCodeArgsSchema = z.object({
|
|
3061
|
+
p_account_id: z.string(),
|
|
3062
|
+
p_code: z.string(),
|
|
3063
|
+
});
|
|
3064
|
+
export const publicTelegramLoginSubmitCodeReturnsSchema = z.undefined();
|
|
3065
|
+
export const publicTestLintAllPlpgsqlFunctionsArgsSchema = z.never();
|
|
3066
|
+
export const publicTestLintAllPlpgsqlFunctionsReturnsSchema = z.array(z.object({
|
|
3067
|
+
check_result: z.string(),
|
|
3068
|
+
function_name: z.string(),
|
|
3069
|
+
severity: z.string(),
|
|
3070
|
+
}));
|
|
3071
|
+
export const publicUidByEmailArgsSchema = z.object({
|
|
3072
|
+
email: z.string(),
|
|
3073
|
+
});
|
|
3074
|
+
export const publicUidByEmailReturnsSchema = z.array(z.object({
|
|
3075
|
+
id: z.string(),
|
|
3076
|
+
}));
|
|
3077
|
+
export const publicUserLogListArgsSchema = z.object({
|
|
3078
|
+
p_page: z.number().optional(),
|
|
3079
|
+
p_page_size: z.number().optional(),
|
|
3080
|
+
});
|
|
3081
|
+
export const publicUserLogListReturnsSchema = z.array(z.object({
|
|
3082
|
+
content: z.string(),
|
|
3083
|
+
created_at: z.string(),
|
|
3084
|
+
event_type: z.string(),
|
|
3085
|
+
id: z.string(),
|
|
3086
|
+
level: z.string(),
|
|
3087
|
+
meta: jsonSchema,
|
|
3088
|
+
resource_id: z.string(),
|
|
3089
|
+
resource_type: z.string(),
|
|
3090
|
+
}));
|
|
3091
|
+
export const publicUserProfileGetArgsSchema = z.never();
|
|
3092
|
+
export const publicUserProfileRecordSchema = z.object({
|
|
3093
|
+
id: z.string().nullable(),
|
|
3094
|
+
full_name: z.string().nullable(),
|
|
3095
|
+
username: z.string().nullable(),
|
|
3096
|
+
website: z.string().nullable(),
|
|
3097
|
+
avatar_url: z.string().nullable(),
|
|
3098
|
+
updated_at: z.string().nullable(),
|
|
3099
|
+
});
|
|
3100
|
+
export const publicUserProfileUpsertArgsSchema = z.object({
|
|
3101
|
+
p_avatar_url: z.string(),
|
|
3102
|
+
p_full_name: z.string(),
|
|
3103
|
+
p_username: z.string(),
|
|
3104
|
+
p_website: z.string(),
|
|
3105
|
+
});
|
|
3106
|
+
export const publicUserProfileUpsertReturnsSchema = z.object({
|
|
3107
|
+
avatar_url: z.string().nullable(),
|
|
3108
|
+
full_name: z.string().nullable(),
|
|
3109
|
+
id: z.string(),
|
|
3110
|
+
updated_at: z.string().nullable(),
|
|
3111
|
+
username: z.string().nullable(),
|
|
3112
|
+
website: z.string().nullable(),
|
|
3113
|
+
});
|
|
3114
|
+
export const publicWorkerAckArgsSchema = z.object({
|
|
3115
|
+
p_instance_id: z.string(),
|
|
3116
|
+
p_msg_id: z.number(),
|
|
3117
|
+
});
|
|
3118
|
+
export const publicWorkerAckReturnsSchema = z.undefined();
|
|
3119
|
+
export const publicWorkerProcessQueueArgsSchema = z.object({
|
|
3120
|
+
p_limit: z.number().optional(),
|
|
3121
|
+
p_queue: z.string(),
|
|
3122
|
+
});
|
|
3123
|
+
export const publicWorkerProcessQueueReturnsSchema = z.undefined();
|
|
3124
|
+
export const publicWorkerPruneQueuesArgsSchema = z.never();
|
|
3125
|
+
export const publicWorkerPruneQueuesReturnsSchema = z.undefined();
|
|
3126
|
+
export const publicWorkerPullArgsSchema = z.object({
|
|
3127
|
+
p_instance_id: z.string(),
|
|
3128
|
+
});
|
|
3129
|
+
export const publicWorkerPullReturnsSchema = z.array(jsonSchema);
|
|
3130
|
+
export const publicWorkerTaskUpsertArgsSchema = z.object({
|
|
3131
|
+
p_error: z.string().optional(),
|
|
3132
|
+
p_id: z.string().optional(),
|
|
3133
|
+
p_payload: jsonSchema.optional(),
|
|
3134
|
+
p_result: jsonSchema.optional(),
|
|
3135
|
+
p_session_id: z.string().optional(),
|
|
3136
|
+
p_status: z.string().optional(),
|
|
3137
|
+
p_type: z.string().optional(),
|
|
3138
|
+
p_user_id: z.string().optional(),
|
|
3139
|
+
});
|
|
3140
|
+
export const publicWorkerTaskUpsertReturnsSchema = z.string();
|
|
3141
|
+
export const publicServerInstanceRecordSchema = z.object({
|
|
3142
|
+
id: z.string().nullable(),
|
|
3143
|
+
name: z.string().nullable(),
|
|
3144
|
+
updated_at: z.string().nullable(),
|
|
3145
|
+
config: jsonSchema.nullable(),
|
|
3146
|
+
status: publicWorkerStatusSchema.nullable(),
|
|
3147
|
+
host_id: z.string().nullable(),
|
|
3148
|
+
is_public: z.boolean().nullable(),
|
|
3149
|
+
state: jsonSchema.nullable(),
|
|
3150
|
+
created_at: z.string().nullable(),
|
|
3151
|
+
user_id: z.string().nullable(),
|
|
3152
|
+
container_id: z.string().nullable(),
|
|
3153
|
+
is_managed: z.boolean().nullable(),
|
|
3154
|
+
type: z.string().nullable(),
|
|
3155
|
+
runtime: z.string().nullable(),
|
|
3156
|
+
is_shared: z.boolean().nullable(),
|
|
3157
|
+
latest_pull_at: z.string().nullable(),
|
|
3158
|
+
host_name: z.string().nullable(),
|
|
3159
|
+
host_address: z.string().nullable(),
|
|
3160
|
+
host_user: z.string().nullable(),
|
|
3161
|
+
host_port: z.number().nullable(),
|
|
3162
|
+
host_auth_secret: z.string().nullable(),
|
|
3163
|
+
});
|
|
3164
|
+
export const publicTestResultSchema = z.object({
|
|
3165
|
+
test_name: z.string().nullable(),
|
|
3166
|
+
passed: z.boolean().nullable(),
|
|
3167
|
+
message: z.string().nullable(),
|
|
3168
|
+
});
|
|
3169
|
+
export const publicAdkArtifactListVersionsMetaReturnsSchema = z.array(publicAdkArtifactMetaRecordSchema);
|
|
3170
|
+
export const publicBrowserListReturnsSchema = z.array(publicBrowserRecordSchema);
|
|
3171
|
+
export const publicCampaignGetReturnsSchema = z.array(publicCampaignRecordSchema);
|
|
3172
|
+
export const publicCloudAccountBindDeviceReturnsSchema = z.array(publicCloudAccountRecordSchema);
|
|
3173
|
+
export const publicComputeNodeGetReturnsSchema = z.array(publicComputeNodeRecordSchema);
|
|
3174
|
+
export const publicContactGetReturnsSchema = z.array(publicContactRecordSchema);
|
|
3175
|
+
export const publicDbaLintScanReturnsSchema = z.array(publicDbaLintIssueSchema);
|
|
3176
|
+
export const publicInstanceTagsGetReturnsSchema = z.array(publicTagRecordSchema);
|
|
3177
|
+
export const publicNotificationGetPendingActionsReturnsSchema = z.array(publicUserNotificationRecordSchema);
|
|
3178
|
+
export const publicOutreachTaskListReturnsSchema = z.array(publicOutreachTaskRecordSchema);
|
|
3179
|
+
export const publicUserProfileGetReturnsSchema = z.array(publicUserProfileRecordSchema);
|
|
3180
|
+
//# sourceMappingURL=database.schemas.js.map
|