mcp4openapi 0.2.8 → 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 +143 -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 -1
- package/dist/src/core/logger.d.ts.map +1 -0
- package/dist/src/{logger.js → core/logger.js} +30 -2
- 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/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 +245 -79
- package/dist/src/generated-schemas.d.ts.map +1 -1
- package/dist/src/generated-schemas.js +14 -2
- 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 -170
- 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} +31 -1
- package/dist/src/mcp/mcp-server.d.ts.map +1 -0
- package/dist/src/{mcp-server.js → mcp/mcp-server.js} +547 -146
- 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/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} +2 -2
- package/dist/src/tooling/proxy-executor.d.ts.map +1 -0
- package/dist/src/{proxy-executor.js → tooling/proxy-executor.js} +8 -1
- 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/{http-transport.js → transport/http-transport.js} +1166 -493
- 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} +72 -41
- 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 +13 -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 +63 -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.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.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.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 -152
- 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-warnings.js → core/naming-warnings.js} +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">;
|
|
@@ -263,7 +300,7 @@ export declare const toolDefinitionSchema: z.ZodObject<{
|
|
|
263
300
|
}>, "many">>;
|
|
264
301
|
partial_results: z.ZodOptional<z.ZodBoolean>;
|
|
265
302
|
parameters: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
266
|
-
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">]>;
|
|
267
304
|
description: z.ZodString;
|
|
268
305
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
269
306
|
required_for: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -278,49 +315,93 @@ export declare const toolDefinitionSchema: z.ZodObject<{
|
|
|
278
315
|
properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
279
316
|
default: z.ZodOptional<z.ZodUnknown>;
|
|
280
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
|
+
}>>;
|
|
281
338
|
}, "strip", z.ZodTypeAny, {
|
|
282
|
-
type: "string" | "number" | "boolean" | "object" | "integer" | "array";
|
|
339
|
+
type: "string" | "number" | "boolean" | "object" | "integer" | "array" | ("string" | "number" | "boolean" | "object" | "integer" | "array")[];
|
|
283
340
|
description: string;
|
|
341
|
+
required?: boolean | undefined;
|
|
342
|
+
required_for?: string[] | undefined;
|
|
343
|
+
enum?: string[] | undefined;
|
|
284
344
|
items?: {
|
|
285
345
|
type: string;
|
|
286
346
|
} | undefined;
|
|
287
347
|
properties?: Record<string, unknown> | undefined;
|
|
288
|
-
required?: boolean | undefined;
|
|
289
|
-
required_for?: string[] | undefined;
|
|
290
|
-
enum?: string[] | undefined;
|
|
291
348
|
default?: unknown;
|
|
292
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;
|
|
293
358
|
}, {
|
|
294
|
-
type: "string" | "number" | "boolean" | "object" | "integer" | "array";
|
|
359
|
+
type: "string" | "number" | "boolean" | "object" | "integer" | "array" | ("string" | "number" | "boolean" | "object" | "integer" | "array")[];
|
|
295
360
|
description: string;
|
|
361
|
+
required?: boolean | undefined;
|
|
362
|
+
required_for?: string[] | undefined;
|
|
363
|
+
enum?: string[] | undefined;
|
|
296
364
|
items?: {
|
|
297
365
|
type: string;
|
|
298
366
|
} | undefined;
|
|
299
367
|
properties?: Record<string, unknown> | undefined;
|
|
300
|
-
required?: boolean | undefined;
|
|
301
|
-
required_for?: string[] | undefined;
|
|
302
|
-
enum?: string[] | undefined;
|
|
303
368
|
default?: unknown;
|
|
304
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;
|
|
305
378
|
}>>;
|
|
306
379
|
metadata_params: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
307
380
|
response_fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>>;
|
|
308
381
|
send_response_fields_as_param: z.ZodOptional<z.ZodBoolean>;
|
|
309
382
|
}, "strip", z.ZodTypeAny, {
|
|
310
|
-
name: string;
|
|
311
383
|
description: string;
|
|
384
|
+
name: string;
|
|
312
385
|
parameters: Record<string, {
|
|
313
|
-
type: "string" | "number" | "boolean" | "object" | "integer" | "array";
|
|
386
|
+
type: "string" | "number" | "boolean" | "object" | "integer" | "array" | ("string" | "number" | "boolean" | "object" | "integer" | "array")[];
|
|
314
387
|
description: string;
|
|
388
|
+
required?: boolean | undefined;
|
|
389
|
+
required_for?: string[] | undefined;
|
|
390
|
+
enum?: string[] | undefined;
|
|
315
391
|
items?: {
|
|
316
392
|
type: string;
|
|
317
393
|
} | undefined;
|
|
318
394
|
properties?: Record<string, unknown> | undefined;
|
|
319
|
-
required?: boolean | undefined;
|
|
320
|
-
required_for?: string[] | undefined;
|
|
321
|
-
enum?: string[] | undefined;
|
|
322
395
|
default?: unknown;
|
|
323
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;
|
|
324
405
|
}>;
|
|
325
406
|
operations?: Record<string, string | {
|
|
326
407
|
type: "proxy_download";
|
|
@@ -346,20 +427,28 @@ export declare const toolDefinitionSchema: z.ZodObject<{
|
|
|
346
427
|
response_fields?: Record<string, string[]> | undefined;
|
|
347
428
|
send_response_fields_as_param?: boolean | undefined;
|
|
348
429
|
}, {
|
|
349
|
-
name: string;
|
|
350
430
|
description: string;
|
|
431
|
+
name: string;
|
|
351
432
|
parameters: Record<string, {
|
|
352
|
-
type: "string" | "number" | "boolean" | "object" | "integer" | "array";
|
|
433
|
+
type: "string" | "number" | "boolean" | "object" | "integer" | "array" | ("string" | "number" | "boolean" | "object" | "integer" | "array")[];
|
|
353
434
|
description: string;
|
|
435
|
+
required?: boolean | undefined;
|
|
436
|
+
required_for?: string[] | undefined;
|
|
437
|
+
enum?: string[] | undefined;
|
|
354
438
|
items?: {
|
|
355
439
|
type: string;
|
|
356
440
|
} | undefined;
|
|
357
441
|
properties?: Record<string, unknown> | undefined;
|
|
358
|
-
required?: boolean | undefined;
|
|
359
|
-
required_for?: string[] | undefined;
|
|
360
|
-
enum?: string[] | undefined;
|
|
361
442
|
default?: unknown;
|
|
362
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;
|
|
363
452
|
}>;
|
|
364
453
|
operations?: Record<string, string | {
|
|
365
454
|
type: "proxy_download";
|
|
@@ -444,9 +533,9 @@ export declare const authInterceptorSchema: z.ZodObject<{
|
|
|
444
533
|
}, "strip", z.ZodTypeAny, {
|
|
445
534
|
type: "bearer" | "query" | "custom-header" | "oauth";
|
|
446
535
|
value_from_env?: string | undefined;
|
|
536
|
+
priority?: number | undefined;
|
|
447
537
|
header_name?: string | undefined;
|
|
448
538
|
query_param?: string | undefined;
|
|
449
|
-
priority?: number | undefined;
|
|
450
539
|
oauth_config?: {
|
|
451
540
|
issuer?: string | undefined;
|
|
452
541
|
authorization_endpoint?: string | undefined;
|
|
@@ -470,9 +559,9 @@ export declare const authInterceptorSchema: z.ZodObject<{
|
|
|
470
559
|
}, {
|
|
471
560
|
type: "bearer" | "query" | "custom-header" | "oauth";
|
|
472
561
|
value_from_env?: string | undefined;
|
|
562
|
+
priority?: number | undefined;
|
|
473
563
|
header_name?: string | undefined;
|
|
474
564
|
query_param?: string | undefined;
|
|
475
|
-
priority?: number | undefined;
|
|
476
565
|
oauth_config?: {
|
|
477
566
|
issuer?: string | undefined;
|
|
478
567
|
authorization_endpoint?: string | undefined;
|
|
@@ -554,9 +643,9 @@ export declare const interceptorConfigSchema: z.ZodObject<{
|
|
|
554
643
|
}, "strip", z.ZodTypeAny, {
|
|
555
644
|
type: "bearer" | "query" | "custom-header" | "oauth";
|
|
556
645
|
value_from_env?: string | undefined;
|
|
646
|
+
priority?: number | undefined;
|
|
557
647
|
header_name?: string | undefined;
|
|
558
648
|
query_param?: string | undefined;
|
|
559
|
-
priority?: number | undefined;
|
|
560
649
|
oauth_config?: {
|
|
561
650
|
issuer?: string | undefined;
|
|
562
651
|
authorization_endpoint?: string | undefined;
|
|
@@ -580,9 +669,9 @@ export declare const interceptorConfigSchema: z.ZodObject<{
|
|
|
580
669
|
}, {
|
|
581
670
|
type: "bearer" | "query" | "custom-header" | "oauth";
|
|
582
671
|
value_from_env?: string | undefined;
|
|
672
|
+
priority?: number | undefined;
|
|
583
673
|
header_name?: string | undefined;
|
|
584
674
|
query_param?: string | undefined;
|
|
585
|
-
priority?: number | undefined;
|
|
586
675
|
oauth_config?: {
|
|
587
676
|
issuer?: string | undefined;
|
|
588
677
|
authorization_endpoint?: string | undefined;
|
|
@@ -662,9 +751,9 @@ export declare const interceptorConfigSchema: z.ZodObject<{
|
|
|
662
751
|
}, "strip", z.ZodTypeAny, {
|
|
663
752
|
type: "bearer" | "query" | "custom-header" | "oauth";
|
|
664
753
|
value_from_env?: string | undefined;
|
|
754
|
+
priority?: number | undefined;
|
|
665
755
|
header_name?: string | undefined;
|
|
666
756
|
query_param?: string | undefined;
|
|
667
|
-
priority?: number | undefined;
|
|
668
757
|
oauth_config?: {
|
|
669
758
|
issuer?: string | undefined;
|
|
670
759
|
authorization_endpoint?: string | undefined;
|
|
@@ -688,9 +777,9 @@ export declare const interceptorConfigSchema: z.ZodObject<{
|
|
|
688
777
|
}, {
|
|
689
778
|
type: "bearer" | "query" | "custom-header" | "oauth";
|
|
690
779
|
value_from_env?: string | undefined;
|
|
780
|
+
priority?: number | undefined;
|
|
691
781
|
header_name?: string | undefined;
|
|
692
782
|
query_param?: string | undefined;
|
|
693
|
-
priority?: number | undefined;
|
|
694
783
|
oauth_config?: {
|
|
695
784
|
issuer?: string | undefined;
|
|
696
785
|
authorization_endpoint?: string | undefined;
|
|
@@ -760,9 +849,9 @@ export declare const interceptorConfigSchema: z.ZodObject<{
|
|
|
760
849
|
auth?: {
|
|
761
850
|
type: "bearer" | "query" | "custom-header" | "oauth";
|
|
762
851
|
value_from_env?: string | undefined;
|
|
852
|
+
priority?: number | undefined;
|
|
763
853
|
header_name?: string | undefined;
|
|
764
854
|
query_param?: string | undefined;
|
|
765
|
-
priority?: number | undefined;
|
|
766
855
|
oauth_config?: {
|
|
767
856
|
issuer?: string | undefined;
|
|
768
857
|
authorization_endpoint?: string | undefined;
|
|
@@ -786,9 +875,9 @@ export declare const interceptorConfigSchema: z.ZodObject<{
|
|
|
786
875
|
} | {
|
|
787
876
|
type: "bearer" | "query" | "custom-header" | "oauth";
|
|
788
877
|
value_from_env?: string | undefined;
|
|
878
|
+
priority?: number | undefined;
|
|
789
879
|
header_name?: string | undefined;
|
|
790
880
|
query_param?: string | undefined;
|
|
791
|
-
priority?: number | undefined;
|
|
792
881
|
oauth_config?: {
|
|
793
882
|
issuer?: string | undefined;
|
|
794
883
|
authorization_endpoint?: string | undefined;
|
|
@@ -830,9 +919,9 @@ export declare const interceptorConfigSchema: z.ZodObject<{
|
|
|
830
919
|
auth?: {
|
|
831
920
|
type: "bearer" | "query" | "custom-header" | "oauth";
|
|
832
921
|
value_from_env?: string | undefined;
|
|
922
|
+
priority?: number | undefined;
|
|
833
923
|
header_name?: string | undefined;
|
|
834
924
|
query_param?: string | undefined;
|
|
835
|
-
priority?: number | undefined;
|
|
836
925
|
oauth_config?: {
|
|
837
926
|
issuer?: string | undefined;
|
|
838
927
|
authorization_endpoint?: string | undefined;
|
|
@@ -856,9 +945,9 @@ export declare const interceptorConfigSchema: z.ZodObject<{
|
|
|
856
945
|
} | {
|
|
857
946
|
type: "bearer" | "query" | "custom-header" | "oauth";
|
|
858
947
|
value_from_env?: string | undefined;
|
|
948
|
+
priority?: number | undefined;
|
|
859
949
|
header_name?: string | undefined;
|
|
860
950
|
query_param?: string | undefined;
|
|
861
|
-
priority?: number | undefined;
|
|
862
951
|
oauth_config?: {
|
|
863
952
|
issuer?: string | undefined;
|
|
864
953
|
authorization_endpoint?: string | undefined;
|
|
@@ -899,6 +988,9 @@ export declare const interceptorConfigSchema: z.ZodObject<{
|
|
|
899
988
|
}>;
|
|
900
989
|
export declare const profileSchema: z.ZodObject<{
|
|
901
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>;
|
|
902
994
|
description: z.ZodOptional<z.ZodString>;
|
|
903
995
|
tools: z.ZodArray<z.ZodObject<{
|
|
904
996
|
name: z.ZodString;
|
|
@@ -956,7 +1048,7 @@ export declare const profileSchema: z.ZodObject<{
|
|
|
956
1048
|
}>, "many">>;
|
|
957
1049
|
partial_results: z.ZodOptional<z.ZodBoolean>;
|
|
958
1050
|
parameters: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
959
|
-
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">]>;
|
|
960
1052
|
description: z.ZodString;
|
|
961
1053
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
962
1054
|
required_for: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -971,49 +1063,93 @@ export declare const profileSchema: z.ZodObject<{
|
|
|
971
1063
|
properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
972
1064
|
default: z.ZodOptional<z.ZodUnknown>;
|
|
973
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
|
+
}>>;
|
|
974
1086
|
}, "strip", z.ZodTypeAny, {
|
|
975
|
-
type: "string" | "number" | "boolean" | "object" | "integer" | "array";
|
|
1087
|
+
type: "string" | "number" | "boolean" | "object" | "integer" | "array" | ("string" | "number" | "boolean" | "object" | "integer" | "array")[];
|
|
976
1088
|
description: string;
|
|
1089
|
+
required?: boolean | undefined;
|
|
1090
|
+
required_for?: string[] | undefined;
|
|
1091
|
+
enum?: string[] | undefined;
|
|
977
1092
|
items?: {
|
|
978
1093
|
type: string;
|
|
979
1094
|
} | undefined;
|
|
980
1095
|
properties?: Record<string, unknown> | undefined;
|
|
981
|
-
required?: boolean | undefined;
|
|
982
|
-
required_for?: string[] | undefined;
|
|
983
|
-
enum?: string[] | undefined;
|
|
984
1096
|
default?: unknown;
|
|
985
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;
|
|
986
1106
|
}, {
|
|
987
|
-
type: "string" | "number" | "boolean" | "object" | "integer" | "array";
|
|
1107
|
+
type: "string" | "number" | "boolean" | "object" | "integer" | "array" | ("string" | "number" | "boolean" | "object" | "integer" | "array")[];
|
|
988
1108
|
description: string;
|
|
1109
|
+
required?: boolean | undefined;
|
|
1110
|
+
required_for?: string[] | undefined;
|
|
1111
|
+
enum?: string[] | undefined;
|
|
989
1112
|
items?: {
|
|
990
1113
|
type: string;
|
|
991
1114
|
} | undefined;
|
|
992
1115
|
properties?: Record<string, unknown> | undefined;
|
|
993
|
-
required?: boolean | undefined;
|
|
994
|
-
required_for?: string[] | undefined;
|
|
995
|
-
enum?: string[] | undefined;
|
|
996
1116
|
default?: unknown;
|
|
997
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;
|
|
998
1126
|
}>>;
|
|
999
1127
|
metadata_params: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1000
1128
|
response_fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>>;
|
|
1001
1129
|
send_response_fields_as_param: z.ZodOptional<z.ZodBoolean>;
|
|
1002
1130
|
}, "strip", z.ZodTypeAny, {
|
|
1003
|
-
name: string;
|
|
1004
1131
|
description: string;
|
|
1132
|
+
name: string;
|
|
1005
1133
|
parameters: Record<string, {
|
|
1006
|
-
type: "string" | "number" | "boolean" | "object" | "integer" | "array";
|
|
1134
|
+
type: "string" | "number" | "boolean" | "object" | "integer" | "array" | ("string" | "number" | "boolean" | "object" | "integer" | "array")[];
|
|
1007
1135
|
description: string;
|
|
1136
|
+
required?: boolean | undefined;
|
|
1137
|
+
required_for?: string[] | undefined;
|
|
1138
|
+
enum?: string[] | undefined;
|
|
1008
1139
|
items?: {
|
|
1009
1140
|
type: string;
|
|
1010
1141
|
} | undefined;
|
|
1011
1142
|
properties?: Record<string, unknown> | undefined;
|
|
1012
|
-
required?: boolean | undefined;
|
|
1013
|
-
required_for?: string[] | undefined;
|
|
1014
|
-
enum?: string[] | undefined;
|
|
1015
1143
|
default?: unknown;
|
|
1016
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;
|
|
1017
1153
|
}>;
|
|
1018
1154
|
operations?: Record<string, string | {
|
|
1019
1155
|
type: "proxy_download";
|
|
@@ -1039,20 +1175,28 @@ export declare const profileSchema: z.ZodObject<{
|
|
|
1039
1175
|
response_fields?: Record<string, string[]> | undefined;
|
|
1040
1176
|
send_response_fields_as_param?: boolean | undefined;
|
|
1041
1177
|
}, {
|
|
1042
|
-
name: string;
|
|
1043
1178
|
description: string;
|
|
1179
|
+
name: string;
|
|
1044
1180
|
parameters: Record<string, {
|
|
1045
|
-
type: "string" | "number" | "boolean" | "object" | "integer" | "array";
|
|
1181
|
+
type: "string" | "number" | "boolean" | "object" | "integer" | "array" | ("string" | "number" | "boolean" | "object" | "integer" | "array")[];
|
|
1046
1182
|
description: string;
|
|
1183
|
+
required?: boolean | undefined;
|
|
1184
|
+
required_for?: string[] | undefined;
|
|
1185
|
+
enum?: string[] | undefined;
|
|
1047
1186
|
items?: {
|
|
1048
1187
|
type: string;
|
|
1049
1188
|
} | undefined;
|
|
1050
1189
|
properties?: Record<string, unknown> | undefined;
|
|
1051
|
-
required?: boolean | undefined;
|
|
1052
|
-
required_for?: string[] | undefined;
|
|
1053
|
-
enum?: string[] | undefined;
|
|
1054
1190
|
default?: unknown;
|
|
1055
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;
|
|
1056
1200
|
}>;
|
|
1057
1201
|
operations?: Record<string, string | {
|
|
1058
1202
|
type: "proxy_download";
|
|
@@ -1138,9 +1282,9 @@ export declare const profileSchema: z.ZodObject<{
|
|
|
1138
1282
|
}, "strip", z.ZodTypeAny, {
|
|
1139
1283
|
type: "bearer" | "query" | "custom-header" | "oauth";
|
|
1140
1284
|
value_from_env?: string | undefined;
|
|
1285
|
+
priority?: number | undefined;
|
|
1141
1286
|
header_name?: string | undefined;
|
|
1142
1287
|
query_param?: string | undefined;
|
|
1143
|
-
priority?: number | undefined;
|
|
1144
1288
|
oauth_config?: {
|
|
1145
1289
|
issuer?: string | undefined;
|
|
1146
1290
|
authorization_endpoint?: string | undefined;
|
|
@@ -1164,9 +1308,9 @@ export declare const profileSchema: z.ZodObject<{
|
|
|
1164
1308
|
}, {
|
|
1165
1309
|
type: "bearer" | "query" | "custom-header" | "oauth";
|
|
1166
1310
|
value_from_env?: string | undefined;
|
|
1311
|
+
priority?: number | undefined;
|
|
1167
1312
|
header_name?: string | undefined;
|
|
1168
1313
|
query_param?: string | undefined;
|
|
1169
|
-
priority?: number | undefined;
|
|
1170
1314
|
oauth_config?: {
|
|
1171
1315
|
issuer?: string | undefined;
|
|
1172
1316
|
authorization_endpoint?: string | undefined;
|
|
@@ -1246,9 +1390,9 @@ export declare const profileSchema: z.ZodObject<{
|
|
|
1246
1390
|
}, "strip", z.ZodTypeAny, {
|
|
1247
1391
|
type: "bearer" | "query" | "custom-header" | "oauth";
|
|
1248
1392
|
value_from_env?: string | undefined;
|
|
1393
|
+
priority?: number | undefined;
|
|
1249
1394
|
header_name?: string | undefined;
|
|
1250
1395
|
query_param?: string | undefined;
|
|
1251
|
-
priority?: number | undefined;
|
|
1252
1396
|
oauth_config?: {
|
|
1253
1397
|
issuer?: string | undefined;
|
|
1254
1398
|
authorization_endpoint?: string | undefined;
|
|
@@ -1272,9 +1416,9 @@ export declare const profileSchema: z.ZodObject<{
|
|
|
1272
1416
|
}, {
|
|
1273
1417
|
type: "bearer" | "query" | "custom-header" | "oauth";
|
|
1274
1418
|
value_from_env?: string | undefined;
|
|
1419
|
+
priority?: number | undefined;
|
|
1275
1420
|
header_name?: string | undefined;
|
|
1276
1421
|
query_param?: string | undefined;
|
|
1277
|
-
priority?: number | undefined;
|
|
1278
1422
|
oauth_config?: {
|
|
1279
1423
|
issuer?: string | undefined;
|
|
1280
1424
|
authorization_endpoint?: string | undefined;
|
|
@@ -1344,9 +1488,9 @@ export declare const profileSchema: z.ZodObject<{
|
|
|
1344
1488
|
auth?: {
|
|
1345
1489
|
type: "bearer" | "query" | "custom-header" | "oauth";
|
|
1346
1490
|
value_from_env?: string | undefined;
|
|
1491
|
+
priority?: number | undefined;
|
|
1347
1492
|
header_name?: string | undefined;
|
|
1348
1493
|
query_param?: string | undefined;
|
|
1349
|
-
priority?: number | undefined;
|
|
1350
1494
|
oauth_config?: {
|
|
1351
1495
|
issuer?: string | undefined;
|
|
1352
1496
|
authorization_endpoint?: string | undefined;
|
|
@@ -1370,9 +1514,9 @@ export declare const profileSchema: z.ZodObject<{
|
|
|
1370
1514
|
} | {
|
|
1371
1515
|
type: "bearer" | "query" | "custom-header" | "oauth";
|
|
1372
1516
|
value_from_env?: string | undefined;
|
|
1517
|
+
priority?: number | undefined;
|
|
1373
1518
|
header_name?: string | undefined;
|
|
1374
1519
|
query_param?: string | undefined;
|
|
1375
|
-
priority?: number | undefined;
|
|
1376
1520
|
oauth_config?: {
|
|
1377
1521
|
issuer?: string | undefined;
|
|
1378
1522
|
authorization_endpoint?: string | undefined;
|
|
@@ -1414,9 +1558,9 @@ export declare const profileSchema: z.ZodObject<{
|
|
|
1414
1558
|
auth?: {
|
|
1415
1559
|
type: "bearer" | "query" | "custom-header" | "oauth";
|
|
1416
1560
|
value_from_env?: string | undefined;
|
|
1561
|
+
priority?: number | undefined;
|
|
1417
1562
|
header_name?: string | undefined;
|
|
1418
1563
|
query_param?: string | undefined;
|
|
1419
|
-
priority?: number | undefined;
|
|
1420
1564
|
oauth_config?: {
|
|
1421
1565
|
issuer?: string | undefined;
|
|
1422
1566
|
authorization_endpoint?: string | undefined;
|
|
@@ -1440,9 +1584,9 @@ export declare const profileSchema: z.ZodObject<{
|
|
|
1440
1584
|
} | {
|
|
1441
1585
|
type: "bearer" | "query" | "custom-header" | "oauth";
|
|
1442
1586
|
value_from_env?: string | undefined;
|
|
1587
|
+
priority?: number | undefined;
|
|
1443
1588
|
header_name?: string | undefined;
|
|
1444
1589
|
query_param?: string | undefined;
|
|
1445
|
-
priority?: number | undefined;
|
|
1446
1590
|
oauth_config?: {
|
|
1447
1591
|
issuer?: string | undefined;
|
|
1448
1592
|
authorization_endpoint?: string | undefined;
|
|
@@ -1487,20 +1631,28 @@ export declare const profileSchema: z.ZodObject<{
|
|
|
1487
1631
|
}, "strip", z.ZodTypeAny, {
|
|
1488
1632
|
profile_name: string;
|
|
1489
1633
|
tools: {
|
|
1490
|
-
name: string;
|
|
1491
1634
|
description: string;
|
|
1635
|
+
name: string;
|
|
1492
1636
|
parameters: Record<string, {
|
|
1493
|
-
type: "string" | "number" | "boolean" | "object" | "integer" | "array";
|
|
1637
|
+
type: "string" | "number" | "boolean" | "object" | "integer" | "array" | ("string" | "number" | "boolean" | "object" | "integer" | "array")[];
|
|
1494
1638
|
description: string;
|
|
1639
|
+
required?: boolean | undefined;
|
|
1640
|
+
required_for?: string[] | undefined;
|
|
1641
|
+
enum?: string[] | undefined;
|
|
1495
1642
|
items?: {
|
|
1496
1643
|
type: string;
|
|
1497
1644
|
} | undefined;
|
|
1498
1645
|
properties?: Record<string, unknown> | undefined;
|
|
1499
|
-
required?: boolean | undefined;
|
|
1500
|
-
required_for?: string[] | undefined;
|
|
1501
|
-
enum?: string[] | undefined;
|
|
1502
1646
|
default?: unknown;
|
|
1503
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;
|
|
1504
1656
|
}>;
|
|
1505
1657
|
operations?: Record<string, string | {
|
|
1506
1658
|
type: "proxy_download";
|
|
@@ -1527,13 +1679,16 @@ export declare const profileSchema: z.ZodObject<{
|
|
|
1527
1679
|
send_response_fields_as_param?: boolean | undefined;
|
|
1528
1680
|
}[];
|
|
1529
1681
|
description?: string | undefined;
|
|
1682
|
+
profile_id?: string | undefined;
|
|
1683
|
+
profile_aliases?: string[] | undefined;
|
|
1684
|
+
openapi_spec_path?: string | undefined;
|
|
1530
1685
|
interceptors?: {
|
|
1531
1686
|
auth?: {
|
|
1532
1687
|
type: "bearer" | "query" | "custom-header" | "oauth";
|
|
1533
1688
|
value_from_env?: string | undefined;
|
|
1689
|
+
priority?: number | undefined;
|
|
1534
1690
|
header_name?: string | undefined;
|
|
1535
1691
|
query_param?: string | undefined;
|
|
1536
|
-
priority?: number | undefined;
|
|
1537
1692
|
oauth_config?: {
|
|
1538
1693
|
issuer?: string | undefined;
|
|
1539
1694
|
authorization_endpoint?: string | undefined;
|
|
@@ -1557,9 +1712,9 @@ export declare const profileSchema: z.ZodObject<{
|
|
|
1557
1712
|
} | {
|
|
1558
1713
|
type: "bearer" | "query" | "custom-header" | "oauth";
|
|
1559
1714
|
value_from_env?: string | undefined;
|
|
1715
|
+
priority?: number | undefined;
|
|
1560
1716
|
header_name?: string | undefined;
|
|
1561
1717
|
query_param?: string | undefined;
|
|
1562
|
-
priority?: number | undefined;
|
|
1563
1718
|
oauth_config?: {
|
|
1564
1719
|
issuer?: string | undefined;
|
|
1565
1720
|
authorization_endpoint?: string | undefined;
|
|
@@ -1604,20 +1759,28 @@ export declare const profileSchema: z.ZodObject<{
|
|
|
1604
1759
|
}, {
|
|
1605
1760
|
profile_name: string;
|
|
1606
1761
|
tools: {
|
|
1607
|
-
name: string;
|
|
1608
1762
|
description: string;
|
|
1763
|
+
name: string;
|
|
1609
1764
|
parameters: Record<string, {
|
|
1610
|
-
type: "string" | "number" | "boolean" | "object" | "integer" | "array";
|
|
1765
|
+
type: "string" | "number" | "boolean" | "object" | "integer" | "array" | ("string" | "number" | "boolean" | "object" | "integer" | "array")[];
|
|
1611
1766
|
description: string;
|
|
1767
|
+
required?: boolean | undefined;
|
|
1768
|
+
required_for?: string[] | undefined;
|
|
1769
|
+
enum?: string[] | undefined;
|
|
1612
1770
|
items?: {
|
|
1613
1771
|
type: string;
|
|
1614
1772
|
} | undefined;
|
|
1615
1773
|
properties?: Record<string, unknown> | undefined;
|
|
1616
|
-
required?: boolean | undefined;
|
|
1617
|
-
required_for?: string[] | undefined;
|
|
1618
|
-
enum?: string[] | undefined;
|
|
1619
1774
|
default?: unknown;
|
|
1620
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;
|
|
1621
1784
|
}>;
|
|
1622
1785
|
operations?: Record<string, string | {
|
|
1623
1786
|
type: "proxy_download";
|
|
@@ -1644,13 +1807,16 @@ export declare const profileSchema: z.ZodObject<{
|
|
|
1644
1807
|
send_response_fields_as_param?: boolean | undefined;
|
|
1645
1808
|
}[];
|
|
1646
1809
|
description?: string | undefined;
|
|
1810
|
+
profile_id?: string | undefined;
|
|
1811
|
+
profile_aliases?: string[] | undefined;
|
|
1812
|
+
openapi_spec_path?: string | undefined;
|
|
1647
1813
|
interceptors?: {
|
|
1648
1814
|
auth?: {
|
|
1649
1815
|
type: "bearer" | "query" | "custom-header" | "oauth";
|
|
1650
1816
|
value_from_env?: string | undefined;
|
|
1817
|
+
priority?: number | undefined;
|
|
1651
1818
|
header_name?: string | undefined;
|
|
1652
1819
|
query_param?: string | undefined;
|
|
1653
|
-
priority?: number | undefined;
|
|
1654
1820
|
oauth_config?: {
|
|
1655
1821
|
issuer?: string | undefined;
|
|
1656
1822
|
authorization_endpoint?: string | undefined;
|
|
@@ -1674,9 +1840,9 @@ export declare const profileSchema: z.ZodObject<{
|
|
|
1674
1840
|
} | {
|
|
1675
1841
|
type: "bearer" | "query" | "custom-header" | "oauth";
|
|
1676
1842
|
value_from_env?: string | undefined;
|
|
1843
|
+
priority?: number | undefined;
|
|
1677
1844
|
header_name?: string | undefined;
|
|
1678
1845
|
query_param?: string | undefined;
|
|
1679
|
-
priority?: number | undefined;
|
|
1680
1846
|
oauth_config?: {
|
|
1681
1847
|
issuer?: string | undefined;
|
|
1682
1848
|
authorization_endpoint?: string | undefined;
|