mcp4openapi 0.2.7 → 0.3.0
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/README.md +147 -63
- package/dist/scripts/validate-profile.js +3 -3
- package/dist/scripts/validate-profile.js.map +1 -1
- package/dist/src/{oauth-provider.d.ts → auth/oauth-provider.d.ts} +7 -2
- package/dist/src/auth/oauth-provider.d.ts.map +1 -0
- package/dist/src/{oauth-provider.js → auth/oauth-provider.js} +30 -2
- package/dist/src/auth/oauth-provider.js.map +1 -0
- package/dist/src/core/cli-config.d.ts +9 -0
- package/dist/src/core/cli-config.d.ts.map +1 -0
- package/dist/src/core/cli-config.js +124 -0
- package/dist/src/core/cli-config.js.map +1 -0
- package/dist/src/{constants.d.ts → core/constants.d.ts} +1 -0
- package/dist/src/core/constants.d.ts.map +1 -0
- package/dist/src/{constants.js → core/constants.js} +1 -0
- package/dist/src/core/constants.js.map +1 -0
- package/dist/src/{errors.d.ts → core/errors.d.ts} +6 -0
- package/dist/src/core/errors.d.ts.map +1 -0
- package/dist/src/{errors.js → core/errors.js} +15 -6
- package/dist/src/core/errors.js.map +1 -0
- package/dist/src/core/filtering.d.ts +19 -0
- package/dist/src/core/filtering.d.ts.map +1 -0
- package/dist/src/core/filtering.js +292 -0
- package/dist/src/core/filtering.js.map +1 -0
- package/dist/src/core/index.d.ts +26 -0
- package/dist/src/core/index.d.ts.map +1 -0
- package/dist/src/core/index.js +275 -0
- package/dist/src/core/index.js.map +1 -0
- package/dist/src/core/lib.d.ts +8 -0
- package/dist/src/core/lib.d.ts.map +1 -0
- package/dist/src/core/lib.js +7 -0
- package/dist/src/core/lib.js.map +1 -0
- package/dist/src/{logger.d.ts → core/logger.d.ts} +6 -13
- package/dist/src/core/logger.d.ts.map +1 -0
- package/dist/src/core/logger.js +197 -0
- package/dist/src/core/logger.js.map +1 -0
- package/dist/src/{metrics.d.ts → core/metrics.d.ts} +11 -0
- package/dist/src/core/metrics.d.ts.map +1 -0
- package/dist/src/{metrics.js → core/metrics.js} +61 -0
- package/dist/src/core/metrics.js.map +1 -0
- package/dist/src/core/naming-warnings.d.ts.map +1 -0
- package/dist/src/{naming-warnings.js → core/naming-warnings.js} +6 -6
- package/dist/src/core/naming-warnings.js.map +1 -0
- package/dist/src/core/naming.d.ts.map +1 -0
- package/dist/src/core/naming.js.map +1 -0
- package/dist/src/generated-schemas.d.ts +281 -79
- package/dist/src/generated-schemas.d.ts.map +1 -1
- package/dist/src/generated-schemas.js +17 -3
- package/dist/src/generated-schemas.js.map +1 -1
- package/dist/src/index.d.ts +1 -6
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.js +1 -156
- package/dist/src/index.js.map +1 -1
- package/dist/src/lib.d.ts +1 -7
- package/dist/src/lib.d.ts.map +1 -1
- package/dist/src/lib.js +1 -6
- package/dist/src/lib.js.map +1 -1
- package/dist/src/mcp/mcp-server-manager.d.ts +20 -0
- package/dist/src/mcp/mcp-server-manager.d.ts.map +1 -0
- package/dist/src/mcp/mcp-server-manager.js +38 -0
- package/dist/src/mcp/mcp-server-manager.js.map +1 -0
- package/dist/src/{mcp-server.d.ts → mcp/mcp-server.d.ts} +43 -3
- package/dist/src/mcp/mcp-server.d.ts.map +1 -0
- package/dist/src/{mcp-server.js → mcp/mcp-server.js} +639 -123
- package/dist/src/mcp/mcp-server.js.map +1 -0
- package/dist/src/{openapi-parser.d.ts → openapi/openapi-parser.d.ts} +1 -1
- package/dist/src/openapi/openapi-parser.d.ts.map +1 -0
- package/dist/src/{openapi-parser.js → openapi/openapi-parser.js} +2 -2
- package/dist/src/openapi/openapi-parser.js.map +1 -0
- package/dist/src/{profile-loader.d.ts → profile/profile-loader.d.ts} +3 -2
- package/dist/src/profile/profile-loader.d.ts.map +1 -0
- package/dist/src/{profile-loader.js → profile/profile-loader.js} +17 -6
- package/dist/src/profile/profile-loader.js.map +1 -0
- package/dist/src/profile/profile-registry.d.ts +18 -0
- package/dist/src/profile/profile-registry.d.ts.map +1 -0
- package/dist/src/profile/profile-registry.js +26 -0
- package/dist/src/profile/profile-registry.js.map +1 -0
- package/dist/src/profile/profile-resolver.d.ts +25 -0
- package/dist/src/profile/profile-resolver.d.ts.map +1 -0
- package/dist/src/profile/profile-resolver.js +204 -0
- package/dist/src/profile/profile-resolver.js.map +1 -0
- package/dist/src/profile/startup-profile.d.ts +17 -0
- package/dist/src/profile/startup-profile.d.ts.map +1 -0
- package/dist/src/profile/startup-profile.js +30 -0
- package/dist/src/profile/startup-profile.js.map +1 -0
- package/dist/src/profile/startup-validation.d.ts +11 -0
- package/dist/src/profile/startup-validation.d.ts.map +1 -0
- package/dist/src/profile/startup-validation.js +21 -0
- package/dist/src/profile/startup-validation.js.map +1 -0
- package/dist/src/testing/dynamic-mock-server.d.ts +24 -0
- package/dist/src/testing/dynamic-mock-server.d.ts.map +1 -0
- package/dist/src/testing/dynamic-mock-server.js +138 -0
- package/dist/src/testing/dynamic-mock-server.js.map +1 -0
- package/dist/src/testing/listen-support.d.ts +3 -0
- package/dist/src/testing/listen-support.d.ts.map +1 -0
- package/dist/src/testing/listen-support.js +50 -0
- package/dist/src/testing/listen-support.js.map +1 -0
- package/dist/src/testing/request-assertions.d.ts +5 -0
- package/dist/src/testing/request-assertions.d.ts.map +1 -0
- package/dist/src/testing/request-assertions.js +165 -0
- package/dist/src/testing/request-assertions.js.map +1 -0
- package/dist/src/testing/template-utils.d.ts +10 -0
- package/dist/src/testing/template-utils.d.ts.map +1 -0
- package/dist/src/testing/template-utils.js +72 -0
- package/dist/src/testing/template-utils.js.map +1 -0
- package/dist/src/testing/test-http-utils.d.ts +1 -1
- package/dist/src/testing/test-http-utils.d.ts.map +1 -1
- package/dist/src/testing/test-http-utils.js +1 -1
- package/dist/src/testing/test-http-utils.js.map +1 -1
- package/dist/src/testing/test-loader.d.ts +6 -0
- package/dist/src/testing/test-loader.d.ts.map +1 -0
- package/dist/src/testing/test-loader.js +212 -0
- package/dist/src/testing/test-loader.js.map +1 -0
- package/dist/src/testing/test-schema.d.ts +1270 -0
- package/dist/src/testing/test-schema.d.ts.map +1 -0
- package/dist/src/testing/test-schema.js +76 -0
- package/dist/src/testing/test-schema.js.map +1 -0
- package/dist/src/tool-filter/compat.d.ts +49 -0
- package/dist/src/tool-filter/compat.d.ts.map +1 -0
- package/dist/src/tool-filter/compat.js +72 -0
- package/dist/src/tool-filter/compat.js.map +1 -0
- package/dist/src/tool-filter/config/env-config-parser.d.ts +38 -0
- package/dist/src/tool-filter/config/env-config-parser.d.ts.map +1 -0
- package/dist/src/tool-filter/config/env-config-parser.js +103 -0
- package/dist/src/tool-filter/config/env-config-parser.js.map +1 -0
- package/dist/src/tool-filter/config/header-config-parser.d.ts +37 -0
- package/dist/src/tool-filter/config/header-config-parser.d.ts.map +1 -0
- package/dist/src/tool-filter/config/header-config-parser.js +118 -0
- package/dist/src/tool-filter/config/header-config-parser.js.map +1 -0
- package/dist/src/tool-filter/errors.d.ts +18 -0
- package/dist/src/tool-filter/errors.d.ts.map +1 -0
- package/dist/src/tool-filter/errors.js +21 -0
- package/dist/src/tool-filter/errors.js.map +1 -0
- package/dist/src/tool-filter/filter/filter-engine.d.ts +45 -0
- package/dist/src/tool-filter/filter/filter-engine.d.ts.map +1 -0
- package/dist/src/tool-filter/filter/filter-engine.js +94 -0
- package/dist/src/tool-filter/filter/filter-engine.js.map +1 -0
- package/dist/src/tool-filter/filter/filter-rules.d.ts +44 -0
- package/dist/src/tool-filter/filter/filter-rules.d.ts.map +1 -0
- package/dist/src/tool-filter/filter/filter-rules.js +72 -0
- package/dist/src/tool-filter/filter/filter-rules.js.map +1 -0
- package/dist/src/tool-filter/filter/global-tool-filter.d.ts +40 -0
- package/dist/src/tool-filter/filter/global-tool-filter.d.ts.map +1 -0
- package/dist/src/tool-filter/filter/global-tool-filter.js +92 -0
- package/dist/src/tool-filter/filter/global-tool-filter.js.map +1 -0
- package/dist/src/tool-filter/filter/session-tool-filter.d.ts +29 -0
- package/dist/src/tool-filter/filter/session-tool-filter.d.ts.map +1 -0
- package/dist/src/tool-filter/filter/session-tool-filter.js +69 -0
- package/dist/src/tool-filter/filter/session-tool-filter.js.map +1 -0
- package/dist/src/tool-filter/index.d.ts +25 -0
- package/dist/src/tool-filter/index.d.ts.map +1 -0
- package/dist/src/tool-filter/index.js +30 -0
- package/dist/src/tool-filter/index.js.map +1 -0
- package/dist/src/tool-filter/integration/tool-filter-service.d.ts +44 -0
- package/dist/src/tool-filter/integration/tool-filter-service.d.ts.map +1 -0
- package/dist/src/tool-filter/integration/tool-filter-service.js +68 -0
- package/dist/src/tool-filter/integration/tool-filter-service.js.map +1 -0
- package/dist/src/tool-filter/operation/operation-classifier.d.ts +20 -0
- package/dist/src/tool-filter/operation/operation-classifier.d.ts.map +1 -0
- package/dist/src/tool-filter/operation/operation-classifier.js +26 -0
- package/dist/src/tool-filter/operation/operation-classifier.js.map +1 -0
- package/dist/src/tool-filter/operation/operation-detector.d.ts +30 -0
- package/dist/src/tool-filter/operation/operation-detector.d.ts.map +1 -0
- package/dist/src/tool-filter/operation/operation-detector.js +96 -0
- package/dist/src/tool-filter/operation/operation-detector.js.map +1 -0
- package/dist/src/tool-filter/operation/operation-resolver.d.ts +22 -0
- package/dist/src/tool-filter/operation/operation-resolver.d.ts.map +1 -0
- package/dist/src/tool-filter/operation/operation-resolver.js +32 -0
- package/dist/src/tool-filter/operation/operation-resolver.js.map +1 -0
- package/dist/src/tool-filter/regex/regex-compiler.d.ts +22 -0
- package/dist/src/tool-filter/regex/regex-compiler.d.ts.map +1 -0
- package/dist/src/tool-filter/regex/regex-compiler.js +56 -0
- package/dist/src/tool-filter/regex/regex-compiler.js.map +1 -0
- package/dist/src/tool-filter/regex/regex-validator.d.ts +24 -0
- package/dist/src/tool-filter/regex/regex-validator.d.ts.map +1 -0
- package/dist/src/tool-filter/regex/regex-validator.js +58 -0
- package/dist/src/tool-filter/regex/regex-validator.js.map +1 -0
- package/dist/src/tool-filter/types.d.ts +92 -0
- package/dist/src/tool-filter/types.d.ts.map +1 -0
- package/dist/src/tool-filter/types.js +5 -0
- package/dist/src/tool-filter/types.js.map +1 -0
- package/dist/src/tool-filter/utils.d.ts +11 -0
- package/dist/src/tool-filter/utils.d.ts.map +1 -0
- package/dist/src/tool-filter/utils.js +13 -0
- package/dist/src/tool-filter/utils.js.map +1 -0
- package/dist/src/{composite-executor.d.ts → tooling/composite-executor.d.ts} +3 -3
- package/dist/src/tooling/composite-executor.d.ts.map +1 -0
- package/dist/src/{composite-executor.js → tooling/composite-executor.js} +1 -1
- package/dist/src/tooling/composite-executor.js.map +1 -0
- package/dist/src/{dag-executor.d.ts → tooling/dag-executor.d.ts} +1 -1
- package/dist/src/tooling/dag-executor.d.ts.map +1 -0
- package/dist/src/tooling/dag-executor.js.map +1 -0
- package/dist/src/{proxy-executor.d.ts → tooling/proxy-executor.d.ts} +19 -4
- package/dist/src/tooling/proxy-executor.d.ts.map +1 -0
- package/dist/src/tooling/proxy-executor.js +497 -0
- package/dist/src/tooling/proxy-executor.js.map +1 -0
- package/dist/src/{tool-generator.d.ts → tooling/tool-generator.d.ts} +4 -3
- package/dist/src/tooling/tool-generator.d.ts.map +1 -0
- package/dist/src/{tool-generator.js → tooling/tool-generator.js} +23 -7
- package/dist/src/tooling/tool-generator.js.map +1 -0
- package/dist/src/{http-client-factory.d.ts → transport/http-client-factory.d.ts} +4 -1
- package/dist/src/transport/http-client-factory.d.ts.map +1 -0
- package/dist/src/{http-client-factory.js → transport/http-client-factory.js} +13 -3
- package/dist/src/transport/http-client-factory.js.map +1 -0
- package/dist/src/transport/http-transport-config.d.ts +6 -0
- package/dist/src/transport/http-transport-config.d.ts.map +1 -0
- package/dist/src/transport/http-transport-config.js +62 -0
- package/dist/src/transport/http-transport-config.js.map +1 -0
- package/dist/src/{http-transport.d.ts → transport/http-transport.d.ts} +72 -14
- package/dist/src/transport/http-transport.d.ts.map +1 -0
- package/dist/src/transport/http-transport.js +2522 -0
- package/dist/src/transport/http-transport.js.map +1 -0
- package/dist/src/{interceptors.d.ts → transport/interceptors.d.ts} +6 -2
- package/dist/src/transport/interceptors.d.ts.map +1 -0
- package/dist/src/{interceptors.js → transport/interceptors.js} +77 -46
- package/dist/src/transport/interceptors.js.map +1 -0
- package/dist/src/types/http-transport.d.ts +25 -0
- package/dist/src/types/http-transport.d.ts.map +1 -1
- package/dist/src/types/profile.d.ts +31 -1
- package/dist/src/types/profile.d.ts.map +1 -1
- package/dist/src/validation/argument-normalizer.d.ts +6 -0
- package/dist/src/validation/argument-normalizer.d.ts.map +1 -0
- package/dist/src/validation/argument-normalizer.js +70 -0
- package/dist/src/validation/argument-normalizer.js.map +1 -0
- package/dist/src/validation/jsonrpc-validator.d.ts.map +1 -0
- package/dist/src/validation/jsonrpc-validator.js.map +1 -0
- package/dist/src/{schema-validator.d.ts → validation/schema-validator.d.ts} +2 -2
- package/dist/src/validation/schema-validator.d.ts.map +1 -0
- package/dist/src/validation/schema-validator.js.map +1 -0
- package/dist/src/validation/validation-utils.d.ts.map +1 -0
- package/dist/src/validation/validation-utils.js.map +1 -0
- package/package.json +9 -3
- package/profile-schema.json +75 -3
- package/profiles/gitlab/developer-profile-oauth.json +1520 -0
- package/profiles/gitlab/developer-profile-oauth.test.json +3432 -0
- package/profiles/gitlab/openapi.yaml +6891 -0
- package/profiles/n8n/openapi.yaml +2441 -0
- package/profiles/n8n/profile-optimized.json +965 -0
- package/profiles/n8n/profile-optimized.test.json +1078 -0
- package/profiles/n8n/profile.json +1033 -0
- package/profiles/n8n/profile.test.json +983 -0
- package/profiles/n8n-nodes/openapi.yaml +24 -0
- package/profiles/n8n-nodes/profile-nodes.json +44 -0
- package/profiles/n8n-nodes/profile-nodes.test.json +91 -0
- package/profiles/semgrep/openapi.yaml +4706 -0
- package/profiles/semgrep/profile.json +692 -0
- package/profiles/semgrep/profile.test.json +471 -0
- package/profiles/youtrack/openapi.json +16976 -0
- package/profiles/youtrack/profile.json +608 -0
- package/profiles/youtrack/profile.test.json +1926 -0
- package/dist/src/composite-executor.d.ts.map +0 -1
- package/dist/src/composite-executor.js.map +0 -1
- package/dist/src/constants.d.ts.map +0 -1
- package/dist/src/constants.js.map +0 -1
- package/dist/src/dag-executor.d.ts.map +0 -1
- package/dist/src/dag-executor.js.map +0 -1
- package/dist/src/errors.d.ts.map +0 -1
- package/dist/src/errors.js.map +0 -1
- package/dist/src/http-client-factory.d.ts.map +0 -1
- package/dist/src/http-client-factory.js.map +0 -1
- package/dist/src/http-transport.d.ts.map +0 -1
- package/dist/src/http-transport.js +0 -1826
- package/dist/src/http-transport.js.map +0 -1
- package/dist/src/interceptors.d.ts.map +0 -1
- package/dist/src/interceptors.js.map +0 -1
- package/dist/src/jsonrpc-validator.d.ts.map +0 -1
- package/dist/src/jsonrpc-validator.js.map +0 -1
- package/dist/src/logger.d.ts.map +0 -1
- package/dist/src/logger.js +0 -177
- package/dist/src/logger.js.map +0 -1
- package/dist/src/mcp-server.d.ts.map +0 -1
- package/dist/src/mcp-server.js.map +0 -1
- package/dist/src/metrics.d.ts.map +0 -1
- package/dist/src/metrics.js.map +0 -1
- package/dist/src/naming-warnings.d.ts.map +0 -1
- package/dist/src/naming-warnings.js.map +0 -1
- package/dist/src/naming.d.ts.map +0 -1
- package/dist/src/naming.js.map +0 -1
- package/dist/src/oauth-provider.d.ts.map +0 -1
- package/dist/src/oauth-provider.js.map +0 -1
- package/dist/src/openapi-parser.d.ts.map +0 -1
- package/dist/src/openapi-parser.js.map +0 -1
- package/dist/src/profile-loader.d.ts.map +0 -1
- package/dist/src/profile-loader.js.map +0 -1
- package/dist/src/proxy-executor.d.ts.map +0 -1
- package/dist/src/proxy-executor.js +0 -240
- package/dist/src/proxy-executor.js.map +0 -1
- package/dist/src/schema-validator.d.ts.map +0 -1
- package/dist/src/schema-validator.js.map +0 -1
- package/dist/src/testing/fixtures.d.ts +0 -684
- package/dist/src/testing/fixtures.d.ts.map +0 -1
- package/dist/src/testing/fixtures.js +0 -528
- package/dist/src/testing/fixtures.js.map +0 -1
- package/dist/src/testing/mock-gitlab-server.d.ts +0 -43
- package/dist/src/testing/mock-gitlab-server.d.ts.map +0 -1
- package/dist/src/testing/mock-gitlab-server.js +0 -1026
- package/dist/src/testing/mock-gitlab-server.js.map +0 -1
- package/dist/src/testing/mock-semgrep-server.d.ts +0 -32
- package/dist/src/testing/mock-semgrep-server.d.ts.map +0 -1
- package/dist/src/testing/mock-semgrep-server.js +0 -213
- package/dist/src/testing/mock-semgrep-server.js.map +0 -1
- package/dist/src/testing/mock-youtrack-server.d.ts +0 -11
- package/dist/src/testing/mock-youtrack-server.d.ts.map +0 -1
- package/dist/src/testing/mock-youtrack-server.js +0 -138
- package/dist/src/testing/mock-youtrack-server.js.map +0 -1
- package/dist/src/tool-generator.d.ts.map +0 -1
- package/dist/src/tool-generator.js.map +0 -1
- package/dist/src/validation-utils.d.ts.map +0 -1
- package/dist/src/validation-utils.js.map +0 -1
- /package/dist/src/{naming-warnings.d.ts → core/naming-warnings.d.ts} +0 -0
- /package/dist/src/{naming.d.ts → core/naming.d.ts} +0 -0
- /package/dist/src/{naming.js → core/naming.js} +0 -0
- /package/dist/src/{dag-executor.js → tooling/dag-executor.js} +0 -0
- /package/dist/src/{jsonrpc-validator.d.ts → validation/jsonrpc-validator.d.ts} +0 -0
- /package/dist/src/{jsonrpc-validator.js → validation/jsonrpc-validator.js} +0 -0
- /package/dist/src/{schema-validator.js → validation/schema-validator.js} +0 -0
- /package/dist/src/{validation-utils.d.ts → validation/validation-utils.d.ts} +0 -0
- /package/dist/src/{validation-utils.js → validation/validation-utils.js} +0 -0
|
@@ -12,8 +12,9 @@ export declare const compositeStepSchema: z.ZodObject<{
|
|
|
12
12
|
store_as: string;
|
|
13
13
|
depends_on?: string[] | undefined;
|
|
14
14
|
}>;
|
|
15
|
+
export declare const parameterTypeSchema: z.ZodUnion<[z.ZodLiteral<"string">, z.ZodLiteral<"integer">, z.ZodLiteral<"number">, z.ZodLiteral<"boolean">, z.ZodLiteral<"array">, z.ZodLiteral<"object">]>;
|
|
15
16
|
export declare const parameterDefinitionSchema: z.ZodObject<{
|
|
16
|
-
type: z.ZodUnion<[z.ZodLiteral<"string">, z.ZodLiteral<"integer">, z.ZodLiteral<"number">, z.ZodLiteral<"boolean">, z.ZodLiteral<"array">, z.ZodLiteral<"object">]>;
|
|
17
|
+
type: z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<"string">, z.ZodLiteral<"integer">, z.ZodLiteral<"number">, z.ZodLiteral<"boolean">, z.ZodLiteral<"array">, z.ZodLiteral<"object">]>, z.ZodArray<z.ZodUnion<[z.ZodLiteral<"string">, z.ZodLiteral<"integer">, z.ZodLiteral<"number">, z.ZodLiteral<"boolean">, z.ZodLiteral<"array">, z.ZodLiteral<"object">]>, "many">]>;
|
|
17
18
|
description: z.ZodString;
|
|
18
19
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
19
20
|
required_for: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -28,30 +29,66 @@ export declare const parameterDefinitionSchema: z.ZodObject<{
|
|
|
28
29
|
properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
29
30
|
default: z.ZodOptional<z.ZodUnknown>;
|
|
30
31
|
example: z.ZodOptional<z.ZodUnknown>;
|
|
32
|
+
object_entries_to_array: z.ZodOptional<z.ZodObject<{
|
|
33
|
+
key_field: z.ZodString;
|
|
34
|
+
value_field: z.ZodString;
|
|
35
|
+
wrap_value_field: z.ZodOptional<z.ZodString>;
|
|
36
|
+
}, "strip", z.ZodTypeAny, {
|
|
37
|
+
key_field: string;
|
|
38
|
+
value_field: string;
|
|
39
|
+
wrap_value_field?: string | undefined;
|
|
40
|
+
}, {
|
|
41
|
+
key_field: string;
|
|
42
|
+
value_field: string;
|
|
43
|
+
wrap_value_field?: string | undefined;
|
|
44
|
+
}>>;
|
|
45
|
+
array_item_to_object: z.ZodOptional<z.ZodObject<{
|
|
46
|
+
key_field: z.ZodString;
|
|
47
|
+
}, "strip", z.ZodTypeAny, {
|
|
48
|
+
key_field: string;
|
|
49
|
+
}, {
|
|
50
|
+
key_field: string;
|
|
51
|
+
}>>;
|
|
31
52
|
}, "strip", z.ZodTypeAny, {
|
|
32
|
-
type: "string" | "number" | "boolean" | "object" | "integer" | "array";
|
|
53
|
+
type: "string" | "number" | "boolean" | "object" | "integer" | "array" | ("string" | "number" | "boolean" | "object" | "integer" | "array")[];
|
|
33
54
|
description: string;
|
|
55
|
+
required?: boolean | undefined;
|
|
56
|
+
required_for?: string[] | undefined;
|
|
57
|
+
enum?: string[] | undefined;
|
|
34
58
|
items?: {
|
|
35
59
|
type: string;
|
|
36
60
|
} | undefined;
|
|
37
61
|
properties?: Record<string, unknown> | undefined;
|
|
38
|
-
required?: boolean | undefined;
|
|
39
|
-
required_for?: string[] | undefined;
|
|
40
|
-
enum?: string[] | undefined;
|
|
41
62
|
default?: unknown;
|
|
42
63
|
example?: unknown;
|
|
64
|
+
object_entries_to_array?: {
|
|
65
|
+
key_field: string;
|
|
66
|
+
value_field: string;
|
|
67
|
+
wrap_value_field?: string | undefined;
|
|
68
|
+
} | undefined;
|
|
69
|
+
array_item_to_object?: {
|
|
70
|
+
key_field: string;
|
|
71
|
+
} | undefined;
|
|
43
72
|
}, {
|
|
44
|
-
type: "string" | "number" | "boolean" | "object" | "integer" | "array";
|
|
73
|
+
type: "string" | "number" | "boolean" | "object" | "integer" | "array" | ("string" | "number" | "boolean" | "object" | "integer" | "array")[];
|
|
45
74
|
description: string;
|
|
75
|
+
required?: boolean | undefined;
|
|
76
|
+
required_for?: string[] | undefined;
|
|
77
|
+
enum?: string[] | undefined;
|
|
46
78
|
items?: {
|
|
47
79
|
type: string;
|
|
48
80
|
} | undefined;
|
|
49
81
|
properties?: Record<string, unknown> | undefined;
|
|
50
|
-
required?: boolean | undefined;
|
|
51
|
-
required_for?: string[] | undefined;
|
|
52
|
-
enum?: string[] | undefined;
|
|
53
82
|
default?: unknown;
|
|
54
83
|
example?: unknown;
|
|
84
|
+
object_entries_to_array?: {
|
|
85
|
+
key_field: string;
|
|
86
|
+
value_field: string;
|
|
87
|
+
wrap_value_field?: string | undefined;
|
|
88
|
+
} | undefined;
|
|
89
|
+
array_item_to_object?: {
|
|
90
|
+
key_field: string;
|
|
91
|
+
} | undefined;
|
|
55
92
|
}>;
|
|
56
93
|
export declare const proxyDownloadOperationSchema: z.ZodObject<{
|
|
57
94
|
type: z.ZodLiteral<"proxy_download">;
|
|
@@ -63,6 +100,8 @@ export declare const proxyDownloadOperationSchema: z.ZodObject<{
|
|
|
63
100
|
timeout_ms: z.ZodOptional<z.ZodNumber>;
|
|
64
101
|
allowed_mime_types: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
65
102
|
skip_auth: z.ZodOptional<z.ZodBoolean>;
|
|
103
|
+
allowed_hosts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
104
|
+
allow_private_network: z.ZodOptional<z.ZodBoolean>;
|
|
66
105
|
}, "strip", z.ZodTypeAny, {
|
|
67
106
|
type: "proxy_download";
|
|
68
107
|
metadata_endpoint: string;
|
|
@@ -73,6 +112,8 @@ export declare const proxyDownloadOperationSchema: z.ZodObject<{
|
|
|
73
112
|
timeout_ms?: number | undefined;
|
|
74
113
|
allowed_mime_types?: string[] | undefined;
|
|
75
114
|
skip_auth?: boolean | undefined;
|
|
115
|
+
allowed_hosts?: string[] | undefined;
|
|
116
|
+
allow_private_network?: boolean | undefined;
|
|
76
117
|
}, {
|
|
77
118
|
type: "proxy_download";
|
|
78
119
|
metadata_endpoint: string;
|
|
@@ -83,6 +124,8 @@ export declare const proxyDownloadOperationSchema: z.ZodObject<{
|
|
|
83
124
|
timeout_ms?: number | undefined;
|
|
84
125
|
allowed_mime_types?: string[] | undefined;
|
|
85
126
|
skip_auth?: boolean | undefined;
|
|
127
|
+
allowed_hosts?: string[] | undefined;
|
|
128
|
+
allow_private_network?: boolean | undefined;
|
|
86
129
|
}>;
|
|
87
130
|
export declare const operationDefinitionSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
88
131
|
type: z.ZodLiteral<"proxy_download">;
|
|
@@ -94,6 +137,8 @@ export declare const operationDefinitionSchema: z.ZodUnion<[z.ZodString, z.ZodOb
|
|
|
94
137
|
timeout_ms: z.ZodOptional<z.ZodNumber>;
|
|
95
138
|
allowed_mime_types: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
96
139
|
skip_auth: z.ZodOptional<z.ZodBoolean>;
|
|
140
|
+
allowed_hosts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
141
|
+
allow_private_network: z.ZodOptional<z.ZodBoolean>;
|
|
97
142
|
}, "strip", z.ZodTypeAny, {
|
|
98
143
|
type: "proxy_download";
|
|
99
144
|
metadata_endpoint: string;
|
|
@@ -104,6 +149,8 @@ export declare const operationDefinitionSchema: z.ZodUnion<[z.ZodString, z.ZodOb
|
|
|
104
149
|
timeout_ms?: number | undefined;
|
|
105
150
|
allowed_mime_types?: string[] | undefined;
|
|
106
151
|
skip_auth?: boolean | undefined;
|
|
152
|
+
allowed_hosts?: string[] | undefined;
|
|
153
|
+
allow_private_network?: boolean | undefined;
|
|
107
154
|
}, {
|
|
108
155
|
type: "proxy_download";
|
|
109
156
|
metadata_endpoint: string;
|
|
@@ -114,6 +161,8 @@ export declare const operationDefinitionSchema: z.ZodUnion<[z.ZodString, z.ZodOb
|
|
|
114
161
|
timeout_ms?: number | undefined;
|
|
115
162
|
allowed_mime_types?: string[] | undefined;
|
|
116
163
|
skip_auth?: boolean | undefined;
|
|
164
|
+
allowed_hosts?: string[] | undefined;
|
|
165
|
+
allow_private_network?: boolean | undefined;
|
|
117
166
|
}>]>;
|
|
118
167
|
export declare const baseUrlConfigSchema: z.ZodObject<{
|
|
119
168
|
value_from_env: z.ZodString;
|
|
@@ -208,6 +257,8 @@ export declare const toolDefinitionSchema: z.ZodObject<{
|
|
|
208
257
|
timeout_ms: z.ZodOptional<z.ZodNumber>;
|
|
209
258
|
allowed_mime_types: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
210
259
|
skip_auth: z.ZodOptional<z.ZodBoolean>;
|
|
260
|
+
allowed_hosts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
261
|
+
allow_private_network: z.ZodOptional<z.ZodBoolean>;
|
|
211
262
|
}, "strip", z.ZodTypeAny, {
|
|
212
263
|
type: "proxy_download";
|
|
213
264
|
metadata_endpoint: string;
|
|
@@ -218,6 +269,8 @@ export declare const toolDefinitionSchema: z.ZodObject<{
|
|
|
218
269
|
timeout_ms?: number | undefined;
|
|
219
270
|
allowed_mime_types?: string[] | undefined;
|
|
220
271
|
skip_auth?: boolean | undefined;
|
|
272
|
+
allowed_hosts?: string[] | undefined;
|
|
273
|
+
allow_private_network?: boolean | undefined;
|
|
221
274
|
}, {
|
|
222
275
|
type: "proxy_download";
|
|
223
276
|
metadata_endpoint: string;
|
|
@@ -228,6 +281,8 @@ export declare const toolDefinitionSchema: z.ZodObject<{
|
|
|
228
281
|
timeout_ms?: number | undefined;
|
|
229
282
|
allowed_mime_types?: string[] | undefined;
|
|
230
283
|
skip_auth?: boolean | undefined;
|
|
284
|
+
allowed_hosts?: string[] | undefined;
|
|
285
|
+
allow_private_network?: boolean | undefined;
|
|
231
286
|
}>]>>>;
|
|
232
287
|
composite: z.ZodOptional<z.ZodBoolean>;
|
|
233
288
|
steps: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -245,7 +300,7 @@ export declare const toolDefinitionSchema: z.ZodObject<{
|
|
|
245
300
|
}>, "many">>;
|
|
246
301
|
partial_results: z.ZodOptional<z.ZodBoolean>;
|
|
247
302
|
parameters: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
248
|
-
type: z.ZodUnion<[z.ZodLiteral<"string">, z.ZodLiteral<"integer">, z.ZodLiteral<"number">, z.ZodLiteral<"boolean">, z.ZodLiteral<"array">, z.ZodLiteral<"object">]>;
|
|
303
|
+
type: z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<"string">, z.ZodLiteral<"integer">, z.ZodLiteral<"number">, z.ZodLiteral<"boolean">, z.ZodLiteral<"array">, z.ZodLiteral<"object">]>, z.ZodArray<z.ZodUnion<[z.ZodLiteral<"string">, z.ZodLiteral<"integer">, z.ZodLiteral<"number">, z.ZodLiteral<"boolean">, z.ZodLiteral<"array">, z.ZodLiteral<"object">]>, "many">]>;
|
|
249
304
|
description: z.ZodString;
|
|
250
305
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
251
306
|
required_for: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -260,49 +315,93 @@ export declare const toolDefinitionSchema: z.ZodObject<{
|
|
|
260
315
|
properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
261
316
|
default: z.ZodOptional<z.ZodUnknown>;
|
|
262
317
|
example: z.ZodOptional<z.ZodUnknown>;
|
|
318
|
+
object_entries_to_array: z.ZodOptional<z.ZodObject<{
|
|
319
|
+
key_field: z.ZodString;
|
|
320
|
+
value_field: z.ZodString;
|
|
321
|
+
wrap_value_field: z.ZodOptional<z.ZodString>;
|
|
322
|
+
}, "strip", z.ZodTypeAny, {
|
|
323
|
+
key_field: string;
|
|
324
|
+
value_field: string;
|
|
325
|
+
wrap_value_field?: string | undefined;
|
|
326
|
+
}, {
|
|
327
|
+
key_field: string;
|
|
328
|
+
value_field: string;
|
|
329
|
+
wrap_value_field?: string | undefined;
|
|
330
|
+
}>>;
|
|
331
|
+
array_item_to_object: z.ZodOptional<z.ZodObject<{
|
|
332
|
+
key_field: z.ZodString;
|
|
333
|
+
}, "strip", z.ZodTypeAny, {
|
|
334
|
+
key_field: string;
|
|
335
|
+
}, {
|
|
336
|
+
key_field: string;
|
|
337
|
+
}>>;
|
|
263
338
|
}, "strip", z.ZodTypeAny, {
|
|
264
|
-
type: "string" | "number" | "boolean" | "object" | "integer" | "array";
|
|
339
|
+
type: "string" | "number" | "boolean" | "object" | "integer" | "array" | ("string" | "number" | "boolean" | "object" | "integer" | "array")[];
|
|
265
340
|
description: string;
|
|
341
|
+
required?: boolean | undefined;
|
|
342
|
+
required_for?: string[] | undefined;
|
|
343
|
+
enum?: string[] | undefined;
|
|
266
344
|
items?: {
|
|
267
345
|
type: string;
|
|
268
346
|
} | undefined;
|
|
269
347
|
properties?: Record<string, unknown> | undefined;
|
|
270
|
-
required?: boolean | undefined;
|
|
271
|
-
required_for?: string[] | undefined;
|
|
272
|
-
enum?: string[] | undefined;
|
|
273
348
|
default?: unknown;
|
|
274
349
|
example?: unknown;
|
|
350
|
+
object_entries_to_array?: {
|
|
351
|
+
key_field: string;
|
|
352
|
+
value_field: string;
|
|
353
|
+
wrap_value_field?: string | undefined;
|
|
354
|
+
} | undefined;
|
|
355
|
+
array_item_to_object?: {
|
|
356
|
+
key_field: string;
|
|
357
|
+
} | undefined;
|
|
275
358
|
}, {
|
|
276
|
-
type: "string" | "number" | "boolean" | "object" | "integer" | "array";
|
|
359
|
+
type: "string" | "number" | "boolean" | "object" | "integer" | "array" | ("string" | "number" | "boolean" | "object" | "integer" | "array")[];
|
|
277
360
|
description: string;
|
|
361
|
+
required?: boolean | undefined;
|
|
362
|
+
required_for?: string[] | undefined;
|
|
363
|
+
enum?: string[] | undefined;
|
|
278
364
|
items?: {
|
|
279
365
|
type: string;
|
|
280
366
|
} | undefined;
|
|
281
367
|
properties?: Record<string, unknown> | undefined;
|
|
282
|
-
required?: boolean | undefined;
|
|
283
|
-
required_for?: string[] | undefined;
|
|
284
|
-
enum?: string[] | undefined;
|
|
285
368
|
default?: unknown;
|
|
286
369
|
example?: unknown;
|
|
370
|
+
object_entries_to_array?: {
|
|
371
|
+
key_field: string;
|
|
372
|
+
value_field: string;
|
|
373
|
+
wrap_value_field?: string | undefined;
|
|
374
|
+
} | undefined;
|
|
375
|
+
array_item_to_object?: {
|
|
376
|
+
key_field: string;
|
|
377
|
+
} | undefined;
|
|
287
378
|
}>>;
|
|
288
379
|
metadata_params: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
289
380
|
response_fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>>;
|
|
290
381
|
send_response_fields_as_param: z.ZodOptional<z.ZodBoolean>;
|
|
291
382
|
}, "strip", z.ZodTypeAny, {
|
|
292
|
-
name: string;
|
|
293
383
|
description: string;
|
|
384
|
+
name: string;
|
|
294
385
|
parameters: Record<string, {
|
|
295
|
-
type: "string" | "number" | "boolean" | "object" | "integer" | "array";
|
|
386
|
+
type: "string" | "number" | "boolean" | "object" | "integer" | "array" | ("string" | "number" | "boolean" | "object" | "integer" | "array")[];
|
|
296
387
|
description: string;
|
|
388
|
+
required?: boolean | undefined;
|
|
389
|
+
required_for?: string[] | undefined;
|
|
390
|
+
enum?: string[] | undefined;
|
|
297
391
|
items?: {
|
|
298
392
|
type: string;
|
|
299
393
|
} | undefined;
|
|
300
394
|
properties?: Record<string, unknown> | undefined;
|
|
301
|
-
required?: boolean | undefined;
|
|
302
|
-
required_for?: string[] | undefined;
|
|
303
|
-
enum?: string[] | undefined;
|
|
304
395
|
default?: unknown;
|
|
305
396
|
example?: unknown;
|
|
397
|
+
object_entries_to_array?: {
|
|
398
|
+
key_field: string;
|
|
399
|
+
value_field: string;
|
|
400
|
+
wrap_value_field?: string | undefined;
|
|
401
|
+
} | undefined;
|
|
402
|
+
array_item_to_object?: {
|
|
403
|
+
key_field: string;
|
|
404
|
+
} | undefined;
|
|
306
405
|
}>;
|
|
307
406
|
operations?: Record<string, string | {
|
|
308
407
|
type: "proxy_download";
|
|
@@ -314,6 +413,8 @@ export declare const toolDefinitionSchema: z.ZodObject<{
|
|
|
314
413
|
timeout_ms?: number | undefined;
|
|
315
414
|
allowed_mime_types?: string[] | undefined;
|
|
316
415
|
skip_auth?: boolean | undefined;
|
|
416
|
+
allowed_hosts?: string[] | undefined;
|
|
417
|
+
allow_private_network?: boolean | undefined;
|
|
317
418
|
}> | undefined;
|
|
318
419
|
composite?: boolean | undefined;
|
|
319
420
|
steps?: {
|
|
@@ -326,20 +427,28 @@ export declare const toolDefinitionSchema: z.ZodObject<{
|
|
|
326
427
|
response_fields?: Record<string, string[]> | undefined;
|
|
327
428
|
send_response_fields_as_param?: boolean | undefined;
|
|
328
429
|
}, {
|
|
329
|
-
name: string;
|
|
330
430
|
description: string;
|
|
431
|
+
name: string;
|
|
331
432
|
parameters: Record<string, {
|
|
332
|
-
type: "string" | "number" | "boolean" | "object" | "integer" | "array";
|
|
433
|
+
type: "string" | "number" | "boolean" | "object" | "integer" | "array" | ("string" | "number" | "boolean" | "object" | "integer" | "array")[];
|
|
333
434
|
description: string;
|
|
435
|
+
required?: boolean | undefined;
|
|
436
|
+
required_for?: string[] | undefined;
|
|
437
|
+
enum?: string[] | undefined;
|
|
334
438
|
items?: {
|
|
335
439
|
type: string;
|
|
336
440
|
} | undefined;
|
|
337
441
|
properties?: Record<string, unknown> | undefined;
|
|
338
|
-
required?: boolean | undefined;
|
|
339
|
-
required_for?: string[] | undefined;
|
|
340
|
-
enum?: string[] | undefined;
|
|
341
442
|
default?: unknown;
|
|
342
443
|
example?: unknown;
|
|
444
|
+
object_entries_to_array?: {
|
|
445
|
+
key_field: string;
|
|
446
|
+
value_field: string;
|
|
447
|
+
wrap_value_field?: string | undefined;
|
|
448
|
+
} | undefined;
|
|
449
|
+
array_item_to_object?: {
|
|
450
|
+
key_field: string;
|
|
451
|
+
} | undefined;
|
|
343
452
|
}>;
|
|
344
453
|
operations?: Record<string, string | {
|
|
345
454
|
type: "proxy_download";
|
|
@@ -351,6 +460,8 @@ export declare const toolDefinitionSchema: z.ZodObject<{
|
|
|
351
460
|
timeout_ms?: number | undefined;
|
|
352
461
|
allowed_mime_types?: string[] | undefined;
|
|
353
462
|
skip_auth?: boolean | undefined;
|
|
463
|
+
allowed_hosts?: string[] | undefined;
|
|
464
|
+
allow_private_network?: boolean | undefined;
|
|
354
465
|
}> | undefined;
|
|
355
466
|
composite?: boolean | undefined;
|
|
356
467
|
steps?: {
|
|
@@ -422,9 +533,9 @@ export declare const authInterceptorSchema: z.ZodObject<{
|
|
|
422
533
|
}, "strip", z.ZodTypeAny, {
|
|
423
534
|
type: "bearer" | "query" | "custom-header" | "oauth";
|
|
424
535
|
value_from_env?: string | undefined;
|
|
536
|
+
priority?: number | undefined;
|
|
425
537
|
header_name?: string | undefined;
|
|
426
538
|
query_param?: string | undefined;
|
|
427
|
-
priority?: number | undefined;
|
|
428
539
|
oauth_config?: {
|
|
429
540
|
issuer?: string | undefined;
|
|
430
541
|
authorization_endpoint?: string | undefined;
|
|
@@ -448,9 +559,9 @@ export declare const authInterceptorSchema: z.ZodObject<{
|
|
|
448
559
|
}, {
|
|
449
560
|
type: "bearer" | "query" | "custom-header" | "oauth";
|
|
450
561
|
value_from_env?: string | undefined;
|
|
562
|
+
priority?: number | undefined;
|
|
451
563
|
header_name?: string | undefined;
|
|
452
564
|
query_param?: string | undefined;
|
|
453
|
-
priority?: number | undefined;
|
|
454
565
|
oauth_config?: {
|
|
455
566
|
issuer?: string | undefined;
|
|
456
567
|
authorization_endpoint?: string | undefined;
|
|
@@ -532,9 +643,9 @@ export declare const interceptorConfigSchema: z.ZodObject<{
|
|
|
532
643
|
}, "strip", z.ZodTypeAny, {
|
|
533
644
|
type: "bearer" | "query" | "custom-header" | "oauth";
|
|
534
645
|
value_from_env?: string | undefined;
|
|
646
|
+
priority?: number | undefined;
|
|
535
647
|
header_name?: string | undefined;
|
|
536
648
|
query_param?: string | undefined;
|
|
537
|
-
priority?: number | undefined;
|
|
538
649
|
oauth_config?: {
|
|
539
650
|
issuer?: string | undefined;
|
|
540
651
|
authorization_endpoint?: string | undefined;
|
|
@@ -558,9 +669,9 @@ export declare const interceptorConfigSchema: z.ZodObject<{
|
|
|
558
669
|
}, {
|
|
559
670
|
type: "bearer" | "query" | "custom-header" | "oauth";
|
|
560
671
|
value_from_env?: string | undefined;
|
|
672
|
+
priority?: number | undefined;
|
|
561
673
|
header_name?: string | undefined;
|
|
562
674
|
query_param?: string | undefined;
|
|
563
|
-
priority?: number | undefined;
|
|
564
675
|
oauth_config?: {
|
|
565
676
|
issuer?: string | undefined;
|
|
566
677
|
authorization_endpoint?: string | undefined;
|
|
@@ -640,9 +751,9 @@ export declare const interceptorConfigSchema: z.ZodObject<{
|
|
|
640
751
|
}, "strip", z.ZodTypeAny, {
|
|
641
752
|
type: "bearer" | "query" | "custom-header" | "oauth";
|
|
642
753
|
value_from_env?: string | undefined;
|
|
754
|
+
priority?: number | undefined;
|
|
643
755
|
header_name?: string | undefined;
|
|
644
756
|
query_param?: string | undefined;
|
|
645
|
-
priority?: number | undefined;
|
|
646
757
|
oauth_config?: {
|
|
647
758
|
issuer?: string | undefined;
|
|
648
759
|
authorization_endpoint?: string | undefined;
|
|
@@ -666,9 +777,9 @@ export declare const interceptorConfigSchema: z.ZodObject<{
|
|
|
666
777
|
}, {
|
|
667
778
|
type: "bearer" | "query" | "custom-header" | "oauth";
|
|
668
779
|
value_from_env?: string | undefined;
|
|
780
|
+
priority?: number | undefined;
|
|
669
781
|
header_name?: string | undefined;
|
|
670
782
|
query_param?: string | undefined;
|
|
671
|
-
priority?: number | undefined;
|
|
672
783
|
oauth_config?: {
|
|
673
784
|
issuer?: string | undefined;
|
|
674
785
|
authorization_endpoint?: string | undefined;
|
|
@@ -738,9 +849,9 @@ export declare const interceptorConfigSchema: z.ZodObject<{
|
|
|
738
849
|
auth?: {
|
|
739
850
|
type: "bearer" | "query" | "custom-header" | "oauth";
|
|
740
851
|
value_from_env?: string | undefined;
|
|
852
|
+
priority?: number | undefined;
|
|
741
853
|
header_name?: string | undefined;
|
|
742
854
|
query_param?: string | undefined;
|
|
743
|
-
priority?: number | undefined;
|
|
744
855
|
oauth_config?: {
|
|
745
856
|
issuer?: string | undefined;
|
|
746
857
|
authorization_endpoint?: string | undefined;
|
|
@@ -764,9 +875,9 @@ export declare const interceptorConfigSchema: z.ZodObject<{
|
|
|
764
875
|
} | {
|
|
765
876
|
type: "bearer" | "query" | "custom-header" | "oauth";
|
|
766
877
|
value_from_env?: string | undefined;
|
|
878
|
+
priority?: number | undefined;
|
|
767
879
|
header_name?: string | undefined;
|
|
768
880
|
query_param?: string | undefined;
|
|
769
|
-
priority?: number | undefined;
|
|
770
881
|
oauth_config?: {
|
|
771
882
|
issuer?: string | undefined;
|
|
772
883
|
authorization_endpoint?: string | undefined;
|
|
@@ -808,9 +919,9 @@ export declare const interceptorConfigSchema: z.ZodObject<{
|
|
|
808
919
|
auth?: {
|
|
809
920
|
type: "bearer" | "query" | "custom-header" | "oauth";
|
|
810
921
|
value_from_env?: string | undefined;
|
|
922
|
+
priority?: number | undefined;
|
|
811
923
|
header_name?: string | undefined;
|
|
812
924
|
query_param?: string | undefined;
|
|
813
|
-
priority?: number | undefined;
|
|
814
925
|
oauth_config?: {
|
|
815
926
|
issuer?: string | undefined;
|
|
816
927
|
authorization_endpoint?: string | undefined;
|
|
@@ -834,9 +945,9 @@ export declare const interceptorConfigSchema: z.ZodObject<{
|
|
|
834
945
|
} | {
|
|
835
946
|
type: "bearer" | "query" | "custom-header" | "oauth";
|
|
836
947
|
value_from_env?: string | undefined;
|
|
948
|
+
priority?: number | undefined;
|
|
837
949
|
header_name?: string | undefined;
|
|
838
950
|
query_param?: string | undefined;
|
|
839
|
-
priority?: number | undefined;
|
|
840
951
|
oauth_config?: {
|
|
841
952
|
issuer?: string | undefined;
|
|
842
953
|
authorization_endpoint?: string | undefined;
|
|
@@ -877,6 +988,9 @@ export declare const interceptorConfigSchema: z.ZodObject<{
|
|
|
877
988
|
}>;
|
|
878
989
|
export declare const profileSchema: z.ZodObject<{
|
|
879
990
|
profile_name: z.ZodString;
|
|
991
|
+
profile_id: z.ZodOptional<z.ZodString>;
|
|
992
|
+
profile_aliases: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
993
|
+
openapi_spec_path: z.ZodOptional<z.ZodString>;
|
|
880
994
|
description: z.ZodOptional<z.ZodString>;
|
|
881
995
|
tools: z.ZodArray<z.ZodObject<{
|
|
882
996
|
name: z.ZodString;
|
|
@@ -891,6 +1005,8 @@ export declare const profileSchema: z.ZodObject<{
|
|
|
891
1005
|
timeout_ms: z.ZodOptional<z.ZodNumber>;
|
|
892
1006
|
allowed_mime_types: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
893
1007
|
skip_auth: z.ZodOptional<z.ZodBoolean>;
|
|
1008
|
+
allowed_hosts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1009
|
+
allow_private_network: z.ZodOptional<z.ZodBoolean>;
|
|
894
1010
|
}, "strip", z.ZodTypeAny, {
|
|
895
1011
|
type: "proxy_download";
|
|
896
1012
|
metadata_endpoint: string;
|
|
@@ -901,6 +1017,8 @@ export declare const profileSchema: z.ZodObject<{
|
|
|
901
1017
|
timeout_ms?: number | undefined;
|
|
902
1018
|
allowed_mime_types?: string[] | undefined;
|
|
903
1019
|
skip_auth?: boolean | undefined;
|
|
1020
|
+
allowed_hosts?: string[] | undefined;
|
|
1021
|
+
allow_private_network?: boolean | undefined;
|
|
904
1022
|
}, {
|
|
905
1023
|
type: "proxy_download";
|
|
906
1024
|
metadata_endpoint: string;
|
|
@@ -911,6 +1029,8 @@ export declare const profileSchema: z.ZodObject<{
|
|
|
911
1029
|
timeout_ms?: number | undefined;
|
|
912
1030
|
allowed_mime_types?: string[] | undefined;
|
|
913
1031
|
skip_auth?: boolean | undefined;
|
|
1032
|
+
allowed_hosts?: string[] | undefined;
|
|
1033
|
+
allow_private_network?: boolean | undefined;
|
|
914
1034
|
}>]>>>;
|
|
915
1035
|
composite: z.ZodOptional<z.ZodBoolean>;
|
|
916
1036
|
steps: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -928,7 +1048,7 @@ export declare const profileSchema: z.ZodObject<{
|
|
|
928
1048
|
}>, "many">>;
|
|
929
1049
|
partial_results: z.ZodOptional<z.ZodBoolean>;
|
|
930
1050
|
parameters: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
931
|
-
type: z.ZodUnion<[z.ZodLiteral<"string">, z.ZodLiteral<"integer">, z.ZodLiteral<"number">, z.ZodLiteral<"boolean">, z.ZodLiteral<"array">, z.ZodLiteral<"object">]>;
|
|
1051
|
+
type: z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<"string">, z.ZodLiteral<"integer">, z.ZodLiteral<"number">, z.ZodLiteral<"boolean">, z.ZodLiteral<"array">, z.ZodLiteral<"object">]>, z.ZodArray<z.ZodUnion<[z.ZodLiteral<"string">, z.ZodLiteral<"integer">, z.ZodLiteral<"number">, z.ZodLiteral<"boolean">, z.ZodLiteral<"array">, z.ZodLiteral<"object">]>, "many">]>;
|
|
932
1052
|
description: z.ZodString;
|
|
933
1053
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
934
1054
|
required_for: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -943,49 +1063,93 @@ export declare const profileSchema: z.ZodObject<{
|
|
|
943
1063
|
properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
944
1064
|
default: z.ZodOptional<z.ZodUnknown>;
|
|
945
1065
|
example: z.ZodOptional<z.ZodUnknown>;
|
|
1066
|
+
object_entries_to_array: z.ZodOptional<z.ZodObject<{
|
|
1067
|
+
key_field: z.ZodString;
|
|
1068
|
+
value_field: z.ZodString;
|
|
1069
|
+
wrap_value_field: z.ZodOptional<z.ZodString>;
|
|
1070
|
+
}, "strip", z.ZodTypeAny, {
|
|
1071
|
+
key_field: string;
|
|
1072
|
+
value_field: string;
|
|
1073
|
+
wrap_value_field?: string | undefined;
|
|
1074
|
+
}, {
|
|
1075
|
+
key_field: string;
|
|
1076
|
+
value_field: string;
|
|
1077
|
+
wrap_value_field?: string | undefined;
|
|
1078
|
+
}>>;
|
|
1079
|
+
array_item_to_object: z.ZodOptional<z.ZodObject<{
|
|
1080
|
+
key_field: z.ZodString;
|
|
1081
|
+
}, "strip", z.ZodTypeAny, {
|
|
1082
|
+
key_field: string;
|
|
1083
|
+
}, {
|
|
1084
|
+
key_field: string;
|
|
1085
|
+
}>>;
|
|
946
1086
|
}, "strip", z.ZodTypeAny, {
|
|
947
|
-
type: "string" | "number" | "boolean" | "object" | "integer" | "array";
|
|
1087
|
+
type: "string" | "number" | "boolean" | "object" | "integer" | "array" | ("string" | "number" | "boolean" | "object" | "integer" | "array")[];
|
|
948
1088
|
description: string;
|
|
1089
|
+
required?: boolean | undefined;
|
|
1090
|
+
required_for?: string[] | undefined;
|
|
1091
|
+
enum?: string[] | undefined;
|
|
949
1092
|
items?: {
|
|
950
1093
|
type: string;
|
|
951
1094
|
} | undefined;
|
|
952
1095
|
properties?: Record<string, unknown> | undefined;
|
|
953
|
-
required?: boolean | undefined;
|
|
954
|
-
required_for?: string[] | undefined;
|
|
955
|
-
enum?: string[] | undefined;
|
|
956
1096
|
default?: unknown;
|
|
957
1097
|
example?: unknown;
|
|
1098
|
+
object_entries_to_array?: {
|
|
1099
|
+
key_field: string;
|
|
1100
|
+
value_field: string;
|
|
1101
|
+
wrap_value_field?: string | undefined;
|
|
1102
|
+
} | undefined;
|
|
1103
|
+
array_item_to_object?: {
|
|
1104
|
+
key_field: string;
|
|
1105
|
+
} | undefined;
|
|
958
1106
|
}, {
|
|
959
|
-
type: "string" | "number" | "boolean" | "object" | "integer" | "array";
|
|
1107
|
+
type: "string" | "number" | "boolean" | "object" | "integer" | "array" | ("string" | "number" | "boolean" | "object" | "integer" | "array")[];
|
|
960
1108
|
description: string;
|
|
1109
|
+
required?: boolean | undefined;
|
|
1110
|
+
required_for?: string[] | undefined;
|
|
1111
|
+
enum?: string[] | undefined;
|
|
961
1112
|
items?: {
|
|
962
1113
|
type: string;
|
|
963
1114
|
} | undefined;
|
|
964
1115
|
properties?: Record<string, unknown> | undefined;
|
|
965
|
-
required?: boolean | undefined;
|
|
966
|
-
required_for?: string[] | undefined;
|
|
967
|
-
enum?: string[] | undefined;
|
|
968
1116
|
default?: unknown;
|
|
969
1117
|
example?: unknown;
|
|
1118
|
+
object_entries_to_array?: {
|
|
1119
|
+
key_field: string;
|
|
1120
|
+
value_field: string;
|
|
1121
|
+
wrap_value_field?: string | undefined;
|
|
1122
|
+
} | undefined;
|
|
1123
|
+
array_item_to_object?: {
|
|
1124
|
+
key_field: string;
|
|
1125
|
+
} | undefined;
|
|
970
1126
|
}>>;
|
|
971
1127
|
metadata_params: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
972
1128
|
response_fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>>;
|
|
973
1129
|
send_response_fields_as_param: z.ZodOptional<z.ZodBoolean>;
|
|
974
1130
|
}, "strip", z.ZodTypeAny, {
|
|
975
|
-
name: string;
|
|
976
1131
|
description: string;
|
|
1132
|
+
name: string;
|
|
977
1133
|
parameters: Record<string, {
|
|
978
|
-
type: "string" | "number" | "boolean" | "object" | "integer" | "array";
|
|
1134
|
+
type: "string" | "number" | "boolean" | "object" | "integer" | "array" | ("string" | "number" | "boolean" | "object" | "integer" | "array")[];
|
|
979
1135
|
description: string;
|
|
1136
|
+
required?: boolean | undefined;
|
|
1137
|
+
required_for?: string[] | undefined;
|
|
1138
|
+
enum?: string[] | undefined;
|
|
980
1139
|
items?: {
|
|
981
1140
|
type: string;
|
|
982
1141
|
} | undefined;
|
|
983
1142
|
properties?: Record<string, unknown> | undefined;
|
|
984
|
-
required?: boolean | undefined;
|
|
985
|
-
required_for?: string[] | undefined;
|
|
986
|
-
enum?: string[] | undefined;
|
|
987
1143
|
default?: unknown;
|
|
988
1144
|
example?: unknown;
|
|
1145
|
+
object_entries_to_array?: {
|
|
1146
|
+
key_field: string;
|
|
1147
|
+
value_field: string;
|
|
1148
|
+
wrap_value_field?: string | undefined;
|
|
1149
|
+
} | undefined;
|
|
1150
|
+
array_item_to_object?: {
|
|
1151
|
+
key_field: string;
|
|
1152
|
+
} | undefined;
|
|
989
1153
|
}>;
|
|
990
1154
|
operations?: Record<string, string | {
|
|
991
1155
|
type: "proxy_download";
|
|
@@ -997,6 +1161,8 @@ export declare const profileSchema: z.ZodObject<{
|
|
|
997
1161
|
timeout_ms?: number | undefined;
|
|
998
1162
|
allowed_mime_types?: string[] | undefined;
|
|
999
1163
|
skip_auth?: boolean | undefined;
|
|
1164
|
+
allowed_hosts?: string[] | undefined;
|
|
1165
|
+
allow_private_network?: boolean | undefined;
|
|
1000
1166
|
}> | undefined;
|
|
1001
1167
|
composite?: boolean | undefined;
|
|
1002
1168
|
steps?: {
|
|
@@ -1009,20 +1175,28 @@ export declare const profileSchema: z.ZodObject<{
|
|
|
1009
1175
|
response_fields?: Record<string, string[]> | undefined;
|
|
1010
1176
|
send_response_fields_as_param?: boolean | undefined;
|
|
1011
1177
|
}, {
|
|
1012
|
-
name: string;
|
|
1013
1178
|
description: string;
|
|
1179
|
+
name: string;
|
|
1014
1180
|
parameters: Record<string, {
|
|
1015
|
-
type: "string" | "number" | "boolean" | "object" | "integer" | "array";
|
|
1181
|
+
type: "string" | "number" | "boolean" | "object" | "integer" | "array" | ("string" | "number" | "boolean" | "object" | "integer" | "array")[];
|
|
1016
1182
|
description: string;
|
|
1183
|
+
required?: boolean | undefined;
|
|
1184
|
+
required_for?: string[] | undefined;
|
|
1185
|
+
enum?: string[] | undefined;
|
|
1017
1186
|
items?: {
|
|
1018
1187
|
type: string;
|
|
1019
1188
|
} | undefined;
|
|
1020
1189
|
properties?: Record<string, unknown> | undefined;
|
|
1021
|
-
required?: boolean | undefined;
|
|
1022
|
-
required_for?: string[] | undefined;
|
|
1023
|
-
enum?: string[] | undefined;
|
|
1024
1190
|
default?: unknown;
|
|
1025
1191
|
example?: unknown;
|
|
1192
|
+
object_entries_to_array?: {
|
|
1193
|
+
key_field: string;
|
|
1194
|
+
value_field: string;
|
|
1195
|
+
wrap_value_field?: string | undefined;
|
|
1196
|
+
} | undefined;
|
|
1197
|
+
array_item_to_object?: {
|
|
1198
|
+
key_field: string;
|
|
1199
|
+
} | undefined;
|
|
1026
1200
|
}>;
|
|
1027
1201
|
operations?: Record<string, string | {
|
|
1028
1202
|
type: "proxy_download";
|
|
@@ -1034,6 +1208,8 @@ export declare const profileSchema: z.ZodObject<{
|
|
|
1034
1208
|
timeout_ms?: number | undefined;
|
|
1035
1209
|
allowed_mime_types?: string[] | undefined;
|
|
1036
1210
|
skip_auth?: boolean | undefined;
|
|
1211
|
+
allowed_hosts?: string[] | undefined;
|
|
1212
|
+
allow_private_network?: boolean | undefined;
|
|
1037
1213
|
}> | undefined;
|
|
1038
1214
|
composite?: boolean | undefined;
|
|
1039
1215
|
steps?: {
|
|
@@ -1106,9 +1282,9 @@ export declare const profileSchema: z.ZodObject<{
|
|
|
1106
1282
|
}, "strip", z.ZodTypeAny, {
|
|
1107
1283
|
type: "bearer" | "query" | "custom-header" | "oauth";
|
|
1108
1284
|
value_from_env?: string | undefined;
|
|
1285
|
+
priority?: number | undefined;
|
|
1109
1286
|
header_name?: string | undefined;
|
|
1110
1287
|
query_param?: string | undefined;
|
|
1111
|
-
priority?: number | undefined;
|
|
1112
1288
|
oauth_config?: {
|
|
1113
1289
|
issuer?: string | undefined;
|
|
1114
1290
|
authorization_endpoint?: string | undefined;
|
|
@@ -1132,9 +1308,9 @@ export declare const profileSchema: z.ZodObject<{
|
|
|
1132
1308
|
}, {
|
|
1133
1309
|
type: "bearer" | "query" | "custom-header" | "oauth";
|
|
1134
1310
|
value_from_env?: string | undefined;
|
|
1311
|
+
priority?: number | undefined;
|
|
1135
1312
|
header_name?: string | undefined;
|
|
1136
1313
|
query_param?: string | undefined;
|
|
1137
|
-
priority?: number | undefined;
|
|
1138
1314
|
oauth_config?: {
|
|
1139
1315
|
issuer?: string | undefined;
|
|
1140
1316
|
authorization_endpoint?: string | undefined;
|
|
@@ -1214,9 +1390,9 @@ export declare const profileSchema: z.ZodObject<{
|
|
|
1214
1390
|
}, "strip", z.ZodTypeAny, {
|
|
1215
1391
|
type: "bearer" | "query" | "custom-header" | "oauth";
|
|
1216
1392
|
value_from_env?: string | undefined;
|
|
1393
|
+
priority?: number | undefined;
|
|
1217
1394
|
header_name?: string | undefined;
|
|
1218
1395
|
query_param?: string | undefined;
|
|
1219
|
-
priority?: number | undefined;
|
|
1220
1396
|
oauth_config?: {
|
|
1221
1397
|
issuer?: string | undefined;
|
|
1222
1398
|
authorization_endpoint?: string | undefined;
|
|
@@ -1240,9 +1416,9 @@ export declare const profileSchema: z.ZodObject<{
|
|
|
1240
1416
|
}, {
|
|
1241
1417
|
type: "bearer" | "query" | "custom-header" | "oauth";
|
|
1242
1418
|
value_from_env?: string | undefined;
|
|
1419
|
+
priority?: number | undefined;
|
|
1243
1420
|
header_name?: string | undefined;
|
|
1244
1421
|
query_param?: string | undefined;
|
|
1245
|
-
priority?: number | undefined;
|
|
1246
1422
|
oauth_config?: {
|
|
1247
1423
|
issuer?: string | undefined;
|
|
1248
1424
|
authorization_endpoint?: string | undefined;
|
|
@@ -1312,9 +1488,9 @@ export declare const profileSchema: z.ZodObject<{
|
|
|
1312
1488
|
auth?: {
|
|
1313
1489
|
type: "bearer" | "query" | "custom-header" | "oauth";
|
|
1314
1490
|
value_from_env?: string | undefined;
|
|
1491
|
+
priority?: number | undefined;
|
|
1315
1492
|
header_name?: string | undefined;
|
|
1316
1493
|
query_param?: string | undefined;
|
|
1317
|
-
priority?: number | undefined;
|
|
1318
1494
|
oauth_config?: {
|
|
1319
1495
|
issuer?: string | undefined;
|
|
1320
1496
|
authorization_endpoint?: string | undefined;
|
|
@@ -1338,9 +1514,9 @@ export declare const profileSchema: z.ZodObject<{
|
|
|
1338
1514
|
} | {
|
|
1339
1515
|
type: "bearer" | "query" | "custom-header" | "oauth";
|
|
1340
1516
|
value_from_env?: string | undefined;
|
|
1517
|
+
priority?: number | undefined;
|
|
1341
1518
|
header_name?: string | undefined;
|
|
1342
1519
|
query_param?: string | undefined;
|
|
1343
|
-
priority?: number | undefined;
|
|
1344
1520
|
oauth_config?: {
|
|
1345
1521
|
issuer?: string | undefined;
|
|
1346
1522
|
authorization_endpoint?: string | undefined;
|
|
@@ -1382,9 +1558,9 @@ export declare const profileSchema: z.ZodObject<{
|
|
|
1382
1558
|
auth?: {
|
|
1383
1559
|
type: "bearer" | "query" | "custom-header" | "oauth";
|
|
1384
1560
|
value_from_env?: string | undefined;
|
|
1561
|
+
priority?: number | undefined;
|
|
1385
1562
|
header_name?: string | undefined;
|
|
1386
1563
|
query_param?: string | undefined;
|
|
1387
|
-
priority?: number | undefined;
|
|
1388
1564
|
oauth_config?: {
|
|
1389
1565
|
issuer?: string | undefined;
|
|
1390
1566
|
authorization_endpoint?: string | undefined;
|
|
@@ -1408,9 +1584,9 @@ export declare const profileSchema: z.ZodObject<{
|
|
|
1408
1584
|
} | {
|
|
1409
1585
|
type: "bearer" | "query" | "custom-header" | "oauth";
|
|
1410
1586
|
value_from_env?: string | undefined;
|
|
1587
|
+
priority?: number | undefined;
|
|
1411
1588
|
header_name?: string | undefined;
|
|
1412
1589
|
query_param?: string | undefined;
|
|
1413
|
-
priority?: number | undefined;
|
|
1414
1590
|
oauth_config?: {
|
|
1415
1591
|
issuer?: string | undefined;
|
|
1416
1592
|
authorization_endpoint?: string | undefined;
|
|
@@ -1455,20 +1631,28 @@ export declare const profileSchema: z.ZodObject<{
|
|
|
1455
1631
|
}, "strip", z.ZodTypeAny, {
|
|
1456
1632
|
profile_name: string;
|
|
1457
1633
|
tools: {
|
|
1458
|
-
name: string;
|
|
1459
1634
|
description: string;
|
|
1635
|
+
name: string;
|
|
1460
1636
|
parameters: Record<string, {
|
|
1461
|
-
type: "string" | "number" | "boolean" | "object" | "integer" | "array";
|
|
1637
|
+
type: "string" | "number" | "boolean" | "object" | "integer" | "array" | ("string" | "number" | "boolean" | "object" | "integer" | "array")[];
|
|
1462
1638
|
description: string;
|
|
1639
|
+
required?: boolean | undefined;
|
|
1640
|
+
required_for?: string[] | undefined;
|
|
1641
|
+
enum?: string[] | undefined;
|
|
1463
1642
|
items?: {
|
|
1464
1643
|
type: string;
|
|
1465
1644
|
} | undefined;
|
|
1466
1645
|
properties?: Record<string, unknown> | undefined;
|
|
1467
|
-
required?: boolean | undefined;
|
|
1468
|
-
required_for?: string[] | undefined;
|
|
1469
|
-
enum?: string[] | undefined;
|
|
1470
1646
|
default?: unknown;
|
|
1471
1647
|
example?: unknown;
|
|
1648
|
+
object_entries_to_array?: {
|
|
1649
|
+
key_field: string;
|
|
1650
|
+
value_field: string;
|
|
1651
|
+
wrap_value_field?: string | undefined;
|
|
1652
|
+
} | undefined;
|
|
1653
|
+
array_item_to_object?: {
|
|
1654
|
+
key_field: string;
|
|
1655
|
+
} | undefined;
|
|
1472
1656
|
}>;
|
|
1473
1657
|
operations?: Record<string, string | {
|
|
1474
1658
|
type: "proxy_download";
|
|
@@ -1480,6 +1664,8 @@ export declare const profileSchema: z.ZodObject<{
|
|
|
1480
1664
|
timeout_ms?: number | undefined;
|
|
1481
1665
|
allowed_mime_types?: string[] | undefined;
|
|
1482
1666
|
skip_auth?: boolean | undefined;
|
|
1667
|
+
allowed_hosts?: string[] | undefined;
|
|
1668
|
+
allow_private_network?: boolean | undefined;
|
|
1483
1669
|
}> | undefined;
|
|
1484
1670
|
composite?: boolean | undefined;
|
|
1485
1671
|
steps?: {
|
|
@@ -1493,13 +1679,16 @@ export declare const profileSchema: z.ZodObject<{
|
|
|
1493
1679
|
send_response_fields_as_param?: boolean | undefined;
|
|
1494
1680
|
}[];
|
|
1495
1681
|
description?: string | undefined;
|
|
1682
|
+
profile_id?: string | undefined;
|
|
1683
|
+
profile_aliases?: string[] | undefined;
|
|
1684
|
+
openapi_spec_path?: string | undefined;
|
|
1496
1685
|
interceptors?: {
|
|
1497
1686
|
auth?: {
|
|
1498
1687
|
type: "bearer" | "query" | "custom-header" | "oauth";
|
|
1499
1688
|
value_from_env?: string | undefined;
|
|
1689
|
+
priority?: number | undefined;
|
|
1500
1690
|
header_name?: string | undefined;
|
|
1501
1691
|
query_param?: string | undefined;
|
|
1502
|
-
priority?: number | undefined;
|
|
1503
1692
|
oauth_config?: {
|
|
1504
1693
|
issuer?: string | undefined;
|
|
1505
1694
|
authorization_endpoint?: string | undefined;
|
|
@@ -1523,9 +1712,9 @@ export declare const profileSchema: z.ZodObject<{
|
|
|
1523
1712
|
} | {
|
|
1524
1713
|
type: "bearer" | "query" | "custom-header" | "oauth";
|
|
1525
1714
|
value_from_env?: string | undefined;
|
|
1715
|
+
priority?: number | undefined;
|
|
1526
1716
|
header_name?: string | undefined;
|
|
1527
1717
|
query_param?: string | undefined;
|
|
1528
|
-
priority?: number | undefined;
|
|
1529
1718
|
oauth_config?: {
|
|
1530
1719
|
issuer?: string | undefined;
|
|
1531
1720
|
authorization_endpoint?: string | undefined;
|
|
@@ -1570,20 +1759,28 @@ export declare const profileSchema: z.ZodObject<{
|
|
|
1570
1759
|
}, {
|
|
1571
1760
|
profile_name: string;
|
|
1572
1761
|
tools: {
|
|
1573
|
-
name: string;
|
|
1574
1762
|
description: string;
|
|
1763
|
+
name: string;
|
|
1575
1764
|
parameters: Record<string, {
|
|
1576
|
-
type: "string" | "number" | "boolean" | "object" | "integer" | "array";
|
|
1765
|
+
type: "string" | "number" | "boolean" | "object" | "integer" | "array" | ("string" | "number" | "boolean" | "object" | "integer" | "array")[];
|
|
1577
1766
|
description: string;
|
|
1767
|
+
required?: boolean | undefined;
|
|
1768
|
+
required_for?: string[] | undefined;
|
|
1769
|
+
enum?: string[] | undefined;
|
|
1578
1770
|
items?: {
|
|
1579
1771
|
type: string;
|
|
1580
1772
|
} | undefined;
|
|
1581
1773
|
properties?: Record<string, unknown> | undefined;
|
|
1582
|
-
required?: boolean | undefined;
|
|
1583
|
-
required_for?: string[] | undefined;
|
|
1584
|
-
enum?: string[] | undefined;
|
|
1585
1774
|
default?: unknown;
|
|
1586
1775
|
example?: unknown;
|
|
1776
|
+
object_entries_to_array?: {
|
|
1777
|
+
key_field: string;
|
|
1778
|
+
value_field: string;
|
|
1779
|
+
wrap_value_field?: string | undefined;
|
|
1780
|
+
} | undefined;
|
|
1781
|
+
array_item_to_object?: {
|
|
1782
|
+
key_field: string;
|
|
1783
|
+
} | undefined;
|
|
1587
1784
|
}>;
|
|
1588
1785
|
operations?: Record<string, string | {
|
|
1589
1786
|
type: "proxy_download";
|
|
@@ -1595,6 +1792,8 @@ export declare const profileSchema: z.ZodObject<{
|
|
|
1595
1792
|
timeout_ms?: number | undefined;
|
|
1596
1793
|
allowed_mime_types?: string[] | undefined;
|
|
1597
1794
|
skip_auth?: boolean | undefined;
|
|
1795
|
+
allowed_hosts?: string[] | undefined;
|
|
1796
|
+
allow_private_network?: boolean | undefined;
|
|
1598
1797
|
}> | undefined;
|
|
1599
1798
|
composite?: boolean | undefined;
|
|
1600
1799
|
steps?: {
|
|
@@ -1608,13 +1807,16 @@ export declare const profileSchema: z.ZodObject<{
|
|
|
1608
1807
|
send_response_fields_as_param?: boolean | undefined;
|
|
1609
1808
|
}[];
|
|
1610
1809
|
description?: string | undefined;
|
|
1810
|
+
profile_id?: string | undefined;
|
|
1811
|
+
profile_aliases?: string[] | undefined;
|
|
1812
|
+
openapi_spec_path?: string | undefined;
|
|
1611
1813
|
interceptors?: {
|
|
1612
1814
|
auth?: {
|
|
1613
1815
|
type: "bearer" | "query" | "custom-header" | "oauth";
|
|
1614
1816
|
value_from_env?: string | undefined;
|
|
1817
|
+
priority?: number | undefined;
|
|
1615
1818
|
header_name?: string | undefined;
|
|
1616
1819
|
query_param?: string | undefined;
|
|
1617
|
-
priority?: number | undefined;
|
|
1618
1820
|
oauth_config?: {
|
|
1619
1821
|
issuer?: string | undefined;
|
|
1620
1822
|
authorization_endpoint?: string | undefined;
|
|
@@ -1638,9 +1840,9 @@ export declare const profileSchema: z.ZodObject<{
|
|
|
1638
1840
|
} | {
|
|
1639
1841
|
type: "bearer" | "query" | "custom-header" | "oauth";
|
|
1640
1842
|
value_from_env?: string | undefined;
|
|
1843
|
+
priority?: number | undefined;
|
|
1641
1844
|
header_name?: string | undefined;
|
|
1642
1845
|
query_param?: string | undefined;
|
|
1643
|
-
priority?: number | undefined;
|
|
1644
1846
|
oauth_config?: {
|
|
1645
1847
|
issuer?: string | undefined;
|
|
1646
1848
|
authorization_endpoint?: string | undefined;
|