@postman/sdk-config 0.21.0 → 0.23.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/dist/index.cjs +196 -253
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +196 -254
- package/dist/index.js.map +1 -1
- package/dist/sdk-config/index.cjs +195 -253
- package/dist/sdk-config/index.cjs.map +1 -1
- package/dist/sdk-config/index.d.cts +1 -1
- package/dist/sdk-config/index.d.ts +1 -1
- package/dist/sdk-config/index.js +195 -253
- package/dist/sdk-config/index.js.map +1 -1
- package/dist/sdk-config/v1/index.cjs +195 -253
- package/dist/sdk-config/v1/index.cjs.map +1 -1
- package/dist/sdk-config/v1/index.d.cts +20 -767
- package/dist/sdk-config/v1/index.d.ts +20 -767
- package/dist/sdk-config/v1/index.js +195 -253
- package/dist/sdk-config/v1/index.js.map +1 -1
- package/dist/sdk-config-ir/index.cjs +26 -150
- package/dist/sdk-config-ir/index.cjs.map +1 -1
- package/dist/sdk-config-ir/index.d.cts +1 -1
- package/dist/sdk-config-ir/index.d.ts +1 -1
- package/dist/sdk-config-ir/index.js +26 -151
- package/dist/sdk-config-ir/index.js.map +1 -1
- package/dist/sdk-config-ir/v1/index.cjs +26 -150
- package/dist/sdk-config-ir/v1/index.cjs.map +1 -1
- package/dist/sdk-config-ir/v1/index.d.cts +29 -446
- package/dist/sdk-config-ir/v1/index.d.ts +29 -446
- package/dist/sdk-config-ir/v1/index.js +26 -151
- package/dist/sdk-config-ir/v1/index.js.map +1 -1
- package/dist/{typescript-DNic6Rq5.d.cts → typescript-ZRqfOhMd.d.cts} +23 -21
- package/dist/{typescript-DNic6Rq5.d.ts → typescript-ZRqfOhMd.d.ts} +23 -21
- package/package.json +1 -1
- package/src/sdk-config/v1/README.md +12 -24
- package/src/sdk-config-ir/v1/README.md +0 -39
package/dist/index.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export { FernConfigMappingDiagnostic, FernConfigMappingError, FernConfigMappingResult, FernResolvedGeneratorGroupInput, FernResolvedGeneratorInput, FernSdkConfigLanguage, SDK_CONFIG_V1_SCHEMA_VERSION, SdkConfigV1, SdkConfigV1ApiConfig, SdkConfigV1ApiConfigInput, SdkConfigV1CliOutputConfig, SdkConfigV1ClientConfig, SdkConfigV1ClientConfigInput, SdkConfigV1ClientConfigOverride, SdkConfigV1Dependency, SdkConfigV1DocsConfig, SdkConfigV1Document, SdkConfigV1GenerationConfig, SdkConfigV1GenerationConfigInput, SdkConfigV1GenerationConfigOverride, SdkConfigV1GitRemote, SdkConfigV1Input, SdkConfigV1McpOutputConfig, SdkConfigV1OutputConfig, SdkConfigV1PackageConfig, SdkConfigV1ProtobufRoot, SdkConfigV1ProtobufSource, SdkConfigV1PublishConfig, SdkConfigV1PublishRegistry, SdkConfigV1ReplayConfig, SdkConfigV1SourceConfig, SdkConfigV1SourceSpec, SdkConfigV1Target, SdkConfigV1WebhookSignature, SdkConfigV1WebhookSignatureInput, getSdkConfigV1Diagnostics, mapFernConfigToSdkConfigV1, parseSdkConfigV1, parseSdkConfigV1ForConsumption, sdkConfigV1ApiConfigSchema, sdkConfigV1AuthConfigSchema, sdkConfigV1AuthSchemeSchema, sdkConfigV1CliOutputConfigSchema, sdkConfigV1ClientConfigOverrideSchema, sdkConfigV1ClientConfigSchema, sdkConfigV1DependencySchema, sdkConfigV1DocsConfigSchema, sdkConfigV1GenerationConfigOverrideSchema, sdkConfigV1GenerationConfigSchema, sdkConfigV1GitRemoteSchema, sdkConfigV1McpOutputConfigSchema, sdkConfigV1OutputConfigSchema, sdkConfigV1PackageConfigSchema, sdkConfigV1ProtobufRootSchema, sdkConfigV1ProtobufSourceSchema, sdkConfigV1PublishConfigSchema, sdkConfigV1PublishRegistrySchema, sdkConfigV1ReadmeCustomSectionSchema, sdkConfigV1ReadmeEndpointSchema, sdkConfigV1ReplayConfigSchema, sdkConfigV1Schema, sdkConfigV1SourceConfigSchema, sdkConfigV1SourceSpecSchema, sdkConfigV1TargetSchema, sdkConfigV1WebhookSignatureSchema, splitSdkConfigV1TargetGeneration, validateSdkConfigV1 } from './sdk-config/v1/index.cjs';
|
|
2
|
-
export { C as CLI_DISTRIBUTION_NON_RELEASE_MODE_CODE, a as CliDistributionConfig, b as CliDistributionGithubAppConfig, c as CliDistributionHomebrewConfig, d as CliDistributionScoopConfig, e as CliGenerationConfig, f as CliOAuthTokenEndpoints, g as CliProfilesConfig, h as CliProfilesProvisionOperation, i as CsharpGenerationConfig, D as Dependency, G as GoGenerationConfig, J as JavaGenerationConfig, j as JsonObject, k as JsonValue, K as KotlinGenerationConfig, M as
|
|
2
|
+
export { C as CLI_DISTRIBUTION_NON_RELEASE_MODE_CODE, a as CliDistributionConfig, b as CliDistributionGithubAppConfig, c as CliDistributionHomebrewConfig, d as CliDistributionScoopConfig, e as CliGenerationConfig, f as CliOAuthTokenEndpoints, g as CliProfilesConfig, h as CliProfilesProvisionOperation, i as CsharpGenerationConfig, D as Dependency, G as GoGenerationConfig, J as JavaGenerationConfig, j as JsonObject, k as JsonValue, K as KotlinGenerationConfig, M as MCP_TOOL_NAME_PATTERN, l as McpAvailabilityStatus, m as McpCustomTool, n as McpGenerationConfig, o as McpMergedTool, p as McpToolFilter, P as PackageConfig, q as PhpGenerationConfig, r as PlanModifiers, s as PythonGenerationConfig, R as RubyGenerationConfig, t as RustGenerationConfig, C as SDK_CONFIG_V1_CLI_DISTRIBUTION_NON_RELEASE_MODE_CODE, S as SdkConfigIrV1Diagnostic, a as SdkConfigV1CliDistributionConfig, b as SdkConfigV1CliDistributionGithubAppConfig, c as SdkConfigV1CliDistributionHomebrewConfig, d as SdkConfigV1CliDistributionScoopConfig, S as SdkConfigV1Diagnostic, u as SwiftGenerationConfig, T as TerraformGenerationConfig, v as TypescriptGenerationConfig, w as cliDistributionConfigSchema, x as cliDistributionGithubAppSchema, y as cliDistributionHomebrewSchema, z as cliDistributionScoopSchema, A as cliGenerationConfigSchema, B as composerPackageNameSchema, E as csharpGenerationConfigSchema, F as dependencySchema, H as exactSemverSchema, I as githubActionsSecretNameSchema, L as goGenerationConfigSchema, N as goModulePathSchema, O as javaGenerationConfigSchema, Q as jsonObjectSchema, U as jsonValueSchema, V as kotlinGenerationConfigSchema, W as mcpAvailabilityStatuses, X as mcpGenerationConfigSchema, Y as nonEmptyStringSchema, Z as oauthTokenEndpointsIssues, _ as packageConfigSchema, $ as parentRelativePathSchema, a0 as phpGenerationConfigSchema, a1 as pythonGenerationConfigSchema, a2 as relativePathSchema, a3 as rubyGenerationConfigSchema, a4 as rustGenerationConfigSchema, w as sdkConfigV1CliDistributionConfigSchema, x as sdkConfigV1CliDistributionGithubAppSchema, y as sdkConfigV1CliDistributionHomebrewSchema, z as sdkConfigV1CliDistributionScoopSchema, A as sdkConfigV1CliGenerationConfigSchema, B as sdkConfigV1ComposerPackageNameSchema, E as sdkConfigV1CsharpGenerationConfigSchema, H as sdkConfigV1ExactSemverSchema, I as sdkConfigV1GithubActionsSecretNameSchema, L as sdkConfigV1GoGenerationConfigSchema, N as sdkConfigV1GoModulePathSchema, O as sdkConfigV1JavaGenerationConfigSchema, V as sdkConfigV1KotlinGenerationConfigSchema, X as sdkConfigV1McpGenerationConfigSchema, Y as sdkConfigV1NonEmptyStringSchema, $ as sdkConfigV1ParentRelativePathSchema, a0 as sdkConfigV1PhpGenerationConfigSchema, a1 as sdkConfigV1PythonGenerationConfigSchema, a2 as sdkConfigV1RelativePathSchema, a3 as sdkConfigV1RubyGenerationConfigSchema, a4 as sdkConfigV1RustGenerationConfigSchema, a5 as sdkConfigV1SwiftGenerationConfigSchema, a6 as sdkConfigV1TerraformGenerationConfigSchema, a7 as sdkConfigV1TypescriptGenerationConfigSchema, a5 as swiftGenerationConfigSchema, a6 as terraformGenerationConfigSchema, a7 as typescriptGenerationConfigSchema } from './typescript-ZRqfOhMd.cjs';
|
|
3
3
|
export { ApiConfig, ApiConfigInput, ApiImportSettings, AuthConfig, AuthScheme, ClientConfig, ClientConfigInput, ClientConfigOverride, CompatibilityConfig, CredentialResolution, DocsConfig, GenerationConfig, LanguageGenerationConfig, LegacyInput, OutputConfig, PublishConfig, PublishRegistry, ReadmeCustomSection, ReadmeEndpoint, ReplayConfig, SDK_CONFIG_IR_V1_SCHEMA_VERSION, SdkConfigIrCapability, SdkConfigIrV1, SdkConfigIrV1Input, SerializedSdkConfigIrV1, SourceConfig, SourceSpecConfig, SourceSpecOrigin, SourceSpecType, TargetConfig, TargetLanguage, UnsupportedField, WebhookSignature, WebhookSignatureInput, apiConfigSchema, apiImportSettingsSchema, authConfigSchema, authSchemeSchema, clientConfigOverrideSchema, clientConfigSchema, clientRetryOverrideSchema, compatibilityConfigSchema, docsConfigSchema, generationConfigSchema, getSdkConfigIrV1Diagnostics, languageGenerationConfigSchema, legacyInputSchema, outputConfigSchema, parseSdkConfigIrV1, parseSdkConfigIrV1ForConsumption, publishConfigSchema, publishRegistrySchema, readmeCustomSectionSchema, readmeEndpointSchema, replayConfigSchema, sdkConfigIrCapabilitySchema, sdkConfigIrV1Schema, serializeSdkConfigIrV1, sourceConfigSchema, sourceSpecConfigSchema, sourceSpecOriginSchema, sourceSpecTypeSchema, targetConfigSchema, targetLanguageSchema, unsupportedFieldSchema, webhookSignatureSchema } from './sdk-config-ir/v1/index.cjs';
|
|
4
4
|
import 'zod';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export { FernConfigMappingDiagnostic, FernConfigMappingError, FernConfigMappingResult, FernResolvedGeneratorGroupInput, FernResolvedGeneratorInput, FernSdkConfigLanguage, SDK_CONFIG_V1_SCHEMA_VERSION, SdkConfigV1, SdkConfigV1ApiConfig, SdkConfigV1ApiConfigInput, SdkConfigV1CliOutputConfig, SdkConfigV1ClientConfig, SdkConfigV1ClientConfigInput, SdkConfigV1ClientConfigOverride, SdkConfigV1Dependency, SdkConfigV1DocsConfig, SdkConfigV1Document, SdkConfigV1GenerationConfig, SdkConfigV1GenerationConfigInput, SdkConfigV1GenerationConfigOverride, SdkConfigV1GitRemote, SdkConfigV1Input, SdkConfigV1McpOutputConfig, SdkConfigV1OutputConfig, SdkConfigV1PackageConfig, SdkConfigV1ProtobufRoot, SdkConfigV1ProtobufSource, SdkConfigV1PublishConfig, SdkConfigV1PublishRegistry, SdkConfigV1ReplayConfig, SdkConfigV1SourceConfig, SdkConfigV1SourceSpec, SdkConfigV1Target, SdkConfigV1WebhookSignature, SdkConfigV1WebhookSignatureInput, getSdkConfigV1Diagnostics, mapFernConfigToSdkConfigV1, parseSdkConfigV1, parseSdkConfigV1ForConsumption, sdkConfigV1ApiConfigSchema, sdkConfigV1AuthConfigSchema, sdkConfigV1AuthSchemeSchema, sdkConfigV1CliOutputConfigSchema, sdkConfigV1ClientConfigOverrideSchema, sdkConfigV1ClientConfigSchema, sdkConfigV1DependencySchema, sdkConfigV1DocsConfigSchema, sdkConfigV1GenerationConfigOverrideSchema, sdkConfigV1GenerationConfigSchema, sdkConfigV1GitRemoteSchema, sdkConfigV1McpOutputConfigSchema, sdkConfigV1OutputConfigSchema, sdkConfigV1PackageConfigSchema, sdkConfigV1ProtobufRootSchema, sdkConfigV1ProtobufSourceSchema, sdkConfigV1PublishConfigSchema, sdkConfigV1PublishRegistrySchema, sdkConfigV1ReadmeCustomSectionSchema, sdkConfigV1ReadmeEndpointSchema, sdkConfigV1ReplayConfigSchema, sdkConfigV1Schema, sdkConfigV1SourceConfigSchema, sdkConfigV1SourceSpecSchema, sdkConfigV1TargetSchema, sdkConfigV1WebhookSignatureSchema, splitSdkConfigV1TargetGeneration, validateSdkConfigV1 } from './sdk-config/v1/index.js';
|
|
2
|
-
export { C as CLI_DISTRIBUTION_NON_RELEASE_MODE_CODE, a as CliDistributionConfig, b as CliDistributionGithubAppConfig, c as CliDistributionHomebrewConfig, d as CliDistributionScoopConfig, e as CliGenerationConfig, f as CliOAuthTokenEndpoints, g as CliProfilesConfig, h as CliProfilesProvisionOperation, i as CsharpGenerationConfig, D as Dependency, G as GoGenerationConfig, J as JavaGenerationConfig, j as JsonObject, k as JsonValue, K as KotlinGenerationConfig, M as
|
|
2
|
+
export { C as CLI_DISTRIBUTION_NON_RELEASE_MODE_CODE, a as CliDistributionConfig, b as CliDistributionGithubAppConfig, c as CliDistributionHomebrewConfig, d as CliDistributionScoopConfig, e as CliGenerationConfig, f as CliOAuthTokenEndpoints, g as CliProfilesConfig, h as CliProfilesProvisionOperation, i as CsharpGenerationConfig, D as Dependency, G as GoGenerationConfig, J as JavaGenerationConfig, j as JsonObject, k as JsonValue, K as KotlinGenerationConfig, M as MCP_TOOL_NAME_PATTERN, l as McpAvailabilityStatus, m as McpCustomTool, n as McpGenerationConfig, o as McpMergedTool, p as McpToolFilter, P as PackageConfig, q as PhpGenerationConfig, r as PlanModifiers, s as PythonGenerationConfig, R as RubyGenerationConfig, t as RustGenerationConfig, C as SDK_CONFIG_V1_CLI_DISTRIBUTION_NON_RELEASE_MODE_CODE, S as SdkConfigIrV1Diagnostic, a as SdkConfigV1CliDistributionConfig, b as SdkConfigV1CliDistributionGithubAppConfig, c as SdkConfigV1CliDistributionHomebrewConfig, d as SdkConfigV1CliDistributionScoopConfig, S as SdkConfigV1Diagnostic, u as SwiftGenerationConfig, T as TerraformGenerationConfig, v as TypescriptGenerationConfig, w as cliDistributionConfigSchema, x as cliDistributionGithubAppSchema, y as cliDistributionHomebrewSchema, z as cliDistributionScoopSchema, A as cliGenerationConfigSchema, B as composerPackageNameSchema, E as csharpGenerationConfigSchema, F as dependencySchema, H as exactSemverSchema, I as githubActionsSecretNameSchema, L as goGenerationConfigSchema, N as goModulePathSchema, O as javaGenerationConfigSchema, Q as jsonObjectSchema, U as jsonValueSchema, V as kotlinGenerationConfigSchema, W as mcpAvailabilityStatuses, X as mcpGenerationConfigSchema, Y as nonEmptyStringSchema, Z as oauthTokenEndpointsIssues, _ as packageConfigSchema, $ as parentRelativePathSchema, a0 as phpGenerationConfigSchema, a1 as pythonGenerationConfigSchema, a2 as relativePathSchema, a3 as rubyGenerationConfigSchema, a4 as rustGenerationConfigSchema, w as sdkConfigV1CliDistributionConfigSchema, x as sdkConfigV1CliDistributionGithubAppSchema, y as sdkConfigV1CliDistributionHomebrewSchema, z as sdkConfigV1CliDistributionScoopSchema, A as sdkConfigV1CliGenerationConfigSchema, B as sdkConfigV1ComposerPackageNameSchema, E as sdkConfigV1CsharpGenerationConfigSchema, H as sdkConfigV1ExactSemverSchema, I as sdkConfigV1GithubActionsSecretNameSchema, L as sdkConfigV1GoGenerationConfigSchema, N as sdkConfigV1GoModulePathSchema, O as sdkConfigV1JavaGenerationConfigSchema, V as sdkConfigV1KotlinGenerationConfigSchema, X as sdkConfigV1McpGenerationConfigSchema, Y as sdkConfigV1NonEmptyStringSchema, $ as sdkConfigV1ParentRelativePathSchema, a0 as sdkConfigV1PhpGenerationConfigSchema, a1 as sdkConfigV1PythonGenerationConfigSchema, a2 as sdkConfigV1RelativePathSchema, a3 as sdkConfigV1RubyGenerationConfigSchema, a4 as sdkConfigV1RustGenerationConfigSchema, a5 as sdkConfigV1SwiftGenerationConfigSchema, a6 as sdkConfigV1TerraformGenerationConfigSchema, a7 as sdkConfigV1TypescriptGenerationConfigSchema, a5 as swiftGenerationConfigSchema, a6 as terraformGenerationConfigSchema, a7 as typescriptGenerationConfigSchema } from './typescript-ZRqfOhMd.js';
|
|
3
3
|
export { ApiConfig, ApiConfigInput, ApiImportSettings, AuthConfig, AuthScheme, ClientConfig, ClientConfigInput, ClientConfigOverride, CompatibilityConfig, CredentialResolution, DocsConfig, GenerationConfig, LanguageGenerationConfig, LegacyInput, OutputConfig, PublishConfig, PublishRegistry, ReadmeCustomSection, ReadmeEndpoint, ReplayConfig, SDK_CONFIG_IR_V1_SCHEMA_VERSION, SdkConfigIrCapability, SdkConfigIrV1, SdkConfigIrV1Input, SerializedSdkConfigIrV1, SourceConfig, SourceSpecConfig, SourceSpecOrigin, SourceSpecType, TargetConfig, TargetLanguage, UnsupportedField, WebhookSignature, WebhookSignatureInput, apiConfigSchema, apiImportSettingsSchema, authConfigSchema, authSchemeSchema, clientConfigOverrideSchema, clientConfigSchema, clientRetryOverrideSchema, compatibilityConfigSchema, docsConfigSchema, generationConfigSchema, getSdkConfigIrV1Diagnostics, languageGenerationConfigSchema, legacyInputSchema, outputConfigSchema, parseSdkConfigIrV1, parseSdkConfigIrV1ForConsumption, publishConfigSchema, publishRegistrySchema, readmeCustomSectionSchema, readmeEndpointSchema, replayConfigSchema, sdkConfigIrCapabilitySchema, sdkConfigIrV1Schema, serializeSdkConfigIrV1, sourceConfigSchema, sourceSpecConfigSchema, sourceSpecOriginSchema, sourceSpecTypeSchema, targetConfigSchema, targetLanguageSchema, unsupportedFieldSchema, webhookSignatureSchema } from './sdk-config-ir/v1/index.js';
|
|
4
4
|
import 'zod';
|
package/dist/index.js
CHANGED
|
@@ -694,6 +694,121 @@ var docsConfigSchema = z.strictObject({
|
|
|
694
694
|
var sdkConfigV1ReadmeEndpointSchema = readmeEndpointSchema;
|
|
695
695
|
var sdkConfigV1ReadmeCustomSectionSchema = readmeCustomSectionSchema;
|
|
696
696
|
var sdkConfigV1DocsConfigSchema = docsConfigSchema;
|
|
697
|
+
var compilerOptionsSchema = z.strictObject({
|
|
698
|
+
target: nonEmptyStringSchema.optional().describe("The JavaScript language target passed to TypeScript."),
|
|
699
|
+
module: nonEmptyStringSchema.optional().describe("The module format passed to TypeScript."),
|
|
700
|
+
lib: z.array(nonEmptyStringSchema).optional().describe("The runtime library definitions passed to TypeScript.")
|
|
701
|
+
});
|
|
702
|
+
var packageScriptSchema = z.strictObject({
|
|
703
|
+
name: nonEmptyStringSchema.describe("The package script name."),
|
|
704
|
+
command: nonEmptyStringSchema.describe("The command executed by the package script.")
|
|
705
|
+
});
|
|
706
|
+
var httpClientSchema = z.strictObject({
|
|
707
|
+
name: z.enum(["axios", "fetch", "node-fetch"]).describe("The HTTP client used by generated TypeScript code.")
|
|
708
|
+
});
|
|
709
|
+
var typescriptGenerationConfigSchema = z.strictObject({
|
|
710
|
+
typescriptVersion: nonEmptyStringSchema.optional().describe("The TypeScript version used by the generated project."),
|
|
711
|
+
zodVersion: nonEmptyStringSchema.optional().describe("The Zod version used by generated runtime schemas."),
|
|
712
|
+
compilerOptions: compilerOptionsSchema.optional().describe("TypeScript compiler options for the generated project."),
|
|
713
|
+
httpClient: httpClientSchema.optional().describe("The HTTP client used by generated TypeScript code."),
|
|
714
|
+
packageManager: z.enum(["pnpm", "yarn"]).optional().describe("The package manager used by the generated project."),
|
|
715
|
+
packageManagerVersion: nonEmptyStringSchema.optional().describe("The package manager version used by the generated project."),
|
|
716
|
+
testFramework: z.enum(["jest", "vitest"]).optional().describe("The test framework used by generated tests."),
|
|
717
|
+
namingStrategy: z.enum(["base", "originalPropertyNames"]).optional().describe("How schema property names are converted into TypeScript identifiers."),
|
|
718
|
+
bundle: z.boolean().optional().describe("Whether the generated package includes bundled output."),
|
|
719
|
+
exportClassDefault: z.boolean().optional().describe("Whether the client class is also exported as the default export."),
|
|
720
|
+
/** Name of the top-level namespace export emitted by Fern-compatible TypeScript SDKs. */
|
|
721
|
+
namespaceExportName: nonEmptyStringSchema.optional().describe("The top-level namespace export name."),
|
|
722
|
+
consolidateTypeFiles: z.boolean().optional().describe("Whether generated types are consolidated into fewer source files."),
|
|
723
|
+
formDataSupport: z.enum(["Node16", "Node18"]).optional().describe(
|
|
724
|
+
"The multipart form-data implementation: Node16 uses the form-data packages, Node18 uses the platform FormData."
|
|
725
|
+
),
|
|
726
|
+
allowExtraFields: z.boolean().optional().describe(
|
|
727
|
+
"Whether response parsing keeps unrecognized object keys and accepts unrecognized union members and enum values."
|
|
728
|
+
),
|
|
729
|
+
generateSubpackageExports: z.boolean().optional().describe(
|
|
730
|
+
"Whether the package manifest exports each subpackage client as its own entry point."
|
|
731
|
+
),
|
|
732
|
+
exportAllRequestsAtRoot: z.boolean().optional().describe("Whether every request type is also exported from the package root."),
|
|
733
|
+
generateEndpointMetadata: z.boolean().optional().describe("Whether generated clients expose metadata for each endpoint."),
|
|
734
|
+
outputEsm: z.boolean().optional().describe(
|
|
735
|
+
"Whether the package is marked as an ES module while still shipping its CommonJS build."
|
|
736
|
+
),
|
|
737
|
+
neverThrowErrors: z.boolean().optional().describe(
|
|
738
|
+
"Whether client methods return a wrapped response instead of throwing on a non-2xx status."
|
|
739
|
+
),
|
|
740
|
+
includeOtherInUnionTypes: z.boolean().optional().describe("Whether union types gain a member for variants the SDK does not recognize."),
|
|
741
|
+
includeUtilsOnUnionMembers: z.boolean().optional().describe("Whether helper utilities are generated on each member of a union type."),
|
|
742
|
+
omitFernHeaders: z.boolean().optional().describe("Whether requests omit the SDK identification headers and the User-Agent header."),
|
|
743
|
+
linter: z.enum(["biome", "oxlint", "none"]).optional().describe("The linter configured in the generated project."),
|
|
744
|
+
formatter: z.enum(["prettier", "biome", "oxfmt", "none"]).optional().describe("The formatter configured in the generated project."),
|
|
745
|
+
exports: jsonObjectSchema.optional().describe(
|
|
746
|
+
"package.json exports entries, keyed by subpath, applied over the generated exports. Each subpath replaces the generated one."
|
|
747
|
+
),
|
|
748
|
+
files: z.array(nonEmptyStringSchema).optional().describe("package.json files entries, listed ahead of the generated ones."),
|
|
749
|
+
engines: z.record(nonEmptyStringSchema, nonEmptyStringSchema).optional().describe("package.json engines version ranges, keyed by engine name such as node."),
|
|
750
|
+
lintStaged: z.record(nonEmptyStringSchema, z.array(nonEmptyStringSchema).min(1)).optional().describe("lint-staged commands to run, keyed by file glob."),
|
|
751
|
+
browser: z.record(nonEmptyStringSchema, z.union([z.boolean(), nonEmptyStringSchema])).optional().describe(
|
|
752
|
+
"package.json browser field: a module or file is excluded (false) or replaced by another path."
|
|
753
|
+
),
|
|
754
|
+
allowCustomFetcher: z.boolean().optional().describe("Whether callers can supply a custom fetch implementation."),
|
|
755
|
+
useBrandedStringAliases: z.boolean().optional().describe("Whether string aliases are emitted as distinct branded types."),
|
|
756
|
+
useLegacyExports: z.boolean().optional().describe("Whether the package emits the legacy export layout."),
|
|
757
|
+
useBigInt: z.boolean().optional().describe("Whether 64-bit integer values are represented with bigint."),
|
|
758
|
+
serdeLayer: z.boolean().optional().describe("Whether generated models use Fern serialization and deserialization helpers."),
|
|
759
|
+
/** Ship only the ESM build (drops CJS) to avoid the Node dual-package hazard. */
|
|
760
|
+
esmOnly: z.boolean().optional().describe("Whether the package emits only ECMAScript modules."),
|
|
761
|
+
scripts: z.array(packageScriptSchema).optional().describe("Additional scripts added to the generated package manifest.")
|
|
762
|
+
});
|
|
763
|
+
|
|
764
|
+
// src/sdk-config-domain/v1/language/mcp.ts
|
|
765
|
+
var mcpAvailabilityStatuses = [
|
|
766
|
+
"IN_DEVELOPMENT",
|
|
767
|
+
"PRE_RELEASE",
|
|
768
|
+
"GENERAL_AVAILABILITY",
|
|
769
|
+
"DEPRECATED",
|
|
770
|
+
"ALPHA",
|
|
771
|
+
"BETA",
|
|
772
|
+
"PREVIEW",
|
|
773
|
+
"LEGACY"
|
|
774
|
+
];
|
|
775
|
+
var mcpToolFilterSchema = z.strictObject({
|
|
776
|
+
include: z.array(nonEmptyStringSchema).optional().describe("Operations explicitly included as MCP tools."),
|
|
777
|
+
exclude: z.array(nonEmptyStringSchema).optional().describe("Operations explicitly excluded from MCP tools.")
|
|
778
|
+
});
|
|
779
|
+
var mcpToolsetNameSchema = nonEmptyStringSchema.refine(
|
|
780
|
+
(name) => name !== "default" && /^[a-z0-9-]+$/.test(name),
|
|
781
|
+
'toolset names must match [a-z0-9-]+ and cannot be "default"'
|
|
782
|
+
);
|
|
783
|
+
var MCP_TOOL_NAME_PATTERN = /^[a-zA-Z0-9_-]{1,64}$/;
|
|
784
|
+
var mcpToolNameSchema = nonEmptyStringSchema.refine(
|
|
785
|
+
(name) => MCP_TOOL_NAME_PATTERN.test(name),
|
|
786
|
+
"tool names must match [a-zA-Z0-9_-]{1,64}"
|
|
787
|
+
);
|
|
788
|
+
var mcpMergedToolSchema = mcpToolFilterSchema.extend({
|
|
789
|
+
dispatchOn: nonEmptyStringSchema.describe(
|
|
790
|
+
"The tool argument whose value selects which member operation to call."
|
|
791
|
+
),
|
|
792
|
+
description: nonEmptyStringSchema.optional().describe("Overrides the generated description of the merged tool.")
|
|
793
|
+
});
|
|
794
|
+
var mcpCustomToolSchema = z.strictObject({
|
|
795
|
+
path: relativePathSchema.describe(
|
|
796
|
+
"Path to a TypeScript module that exports the tool `definition` and `handler`."
|
|
797
|
+
)
|
|
798
|
+
});
|
|
799
|
+
var mcpGenerationConfigSchema = typescriptGenerationConfigSchema.extend({
|
|
800
|
+
serverName: nonEmptyStringSchema.optional().describe("The name advertised by the generated MCP server."),
|
|
801
|
+
serverDescription: nonEmptyStringSchema.optional().describe("The description advertised by the generated MCP server."),
|
|
802
|
+
excludeAvailability: z.array(z.enum(mcpAvailabilityStatuses)).optional().describe("Operation availability statuses excluded from MCP tool generation."),
|
|
803
|
+
tools: mcpToolFilterSchema.optional().describe("Global operation filters for generated MCP tools."),
|
|
804
|
+
toolsets: z.record(mcpToolsetNameSchema, mcpToolFilterSchema).optional().describe("Named MCP toolsets and the operation filters for each toolset."),
|
|
805
|
+
mergedTools: z.record(mcpToolNameSchema, mcpMergedToolSchema).optional().describe(
|
|
806
|
+
"Tools that fan several operations into one, dispatching on an argument. Each entry selects its member operations with the same include/exclude filter as `tools`."
|
|
807
|
+
),
|
|
808
|
+
customTools: z.record(mcpToolNameSchema, mcpCustomToolSchema).optional().describe(
|
|
809
|
+
"Hand-written tools, keyed by tool name, each pointing at a TypeScript module that exports its `definition` and `handler`. Emitted alongside the operation-derived tools."
|
|
810
|
+
)
|
|
811
|
+
});
|
|
697
812
|
|
|
698
813
|
// src/sdk-config/v1/fern-config-mapper-types.ts
|
|
699
814
|
var FernConfigMappingError = class extends Error {
|
|
@@ -961,28 +1076,6 @@ function fieldNameMapSchema(field) {
|
|
|
961
1076
|
}
|
|
962
1077
|
});
|
|
963
1078
|
}
|
|
964
|
-
var SAFE_TEXT_PATTERN = /^[^"\\\x00-\x1f]*$/;
|
|
965
|
-
var HEX_COLOR_PATTERN = /^#[0-9a-fA-F]{6}$/;
|
|
966
|
-
var provisionFlagSchema = z.string().regex(KEBAB_NAME_PATTERN, {
|
|
967
|
-
message: 'profiles.provisionOperation.flag must be a kebab-case flag name without dashes, such as "api-key"'
|
|
968
|
-
});
|
|
969
|
-
var provisionParametersSchema = z.record(z.string(), z.string()).superRefine((value, context) => {
|
|
970
|
-
for (const [key, text] of Object.entries(value)) {
|
|
971
|
-
if (!FIELD_NAME_PATTERN.test(key)) {
|
|
972
|
-
context.addIssue({
|
|
973
|
-
code: "custom",
|
|
974
|
-
message: "profiles.provisionOperation.parameters keys must be field names containing only [A-Za-z0-9_.-]",
|
|
975
|
-
path: [key]
|
|
976
|
-
});
|
|
977
|
-
} else if (!SAFE_TEXT_PATTERN.test(text)) {
|
|
978
|
-
context.addIssue({
|
|
979
|
-
code: "custom",
|
|
980
|
-
message: "profiles.provisionOperation.parameters values must not contain quotes, backslashes or control characters",
|
|
981
|
-
path: [key]
|
|
982
|
-
});
|
|
983
|
-
}
|
|
984
|
-
}
|
|
985
|
-
});
|
|
986
1079
|
var profilesProvisionOperationSchema = z.strictObject({
|
|
987
1080
|
operation: dottedCommandPathSchema("profiles.provisionOperation.operation").describe(
|
|
988
1081
|
"The dotted command path of the operation that mints a profile credential."
|
|
@@ -990,16 +1083,7 @@ var profilesProvisionOperationSchema = z.strictObject({
|
|
|
990
1083
|
credential: fieldNameMapSchema("profiles.provisionOperation.credential").refine((value) => Object.keys(value).length > 0, {
|
|
991
1084
|
message: "profiles.provisionOperation.credential must map at least one credential field"
|
|
992
1085
|
}).describe("Maps each stored credential field to the response field that supplies it."),
|
|
993
|
-
revokeParameters: fieldNameMapSchema("profiles.provisionOperation.revokeParameters").optional().describe("Maps each revoke-operation parameter to the response field that supplies it.")
|
|
994
|
-
flag: provisionFlagSchema.optional().describe(
|
|
995
|
-
'The long name of the "profiles create" flag, without "--". The generator defaults it to "provision", which stays accepted as a hidden alias.'
|
|
996
|
-
),
|
|
997
|
-
parameters: provisionParametersSchema.optional().describe(
|
|
998
|
-
"Extra request values sent with the operation. {cli}, {profile}, {user} and {host} are substituted; a value the profile sets wins."
|
|
999
|
-
),
|
|
1000
|
-
profileParameters: fieldNameMapSchema("profiles.provisionOperation.profileParameters").optional().describe(
|
|
1001
|
-
"Maps each profile parameter to the typed credential field it is copied from, so requests keep it once the credential is replaced by the provisioned key."
|
|
1002
|
-
)
|
|
1086
|
+
revokeParameters: fieldNameMapSchema("profiles.provisionOperation.revokeParameters").optional().describe("Maps each revoke-operation parameter to the response field that supplies it.")
|
|
1003
1087
|
});
|
|
1004
1088
|
var profilesConfigSchema = z.strictObject({
|
|
1005
1089
|
enabled: z.boolean().describe("Whether the CLI emits profile commands and the global --profile flag."),
|
|
@@ -1007,24 +1091,6 @@ var profilesConfigSchema = z.strictObject({
|
|
|
1007
1091
|
revokeOperation: dottedCommandPathSchema("profiles.revokeOperation").optional().describe('The dotted command path called by "profiles remove --revoke".'),
|
|
1008
1092
|
provisionOperation: profilesProvisionOperationSchema.optional().describe('The operation called by "profiles create --provision" and its response mapping.')
|
|
1009
1093
|
});
|
|
1010
|
-
var bannerColorsSchema = (field) => z.array(
|
|
1011
|
-
z.string().regex(HEX_COLOR_PATTERN, {
|
|
1012
|
-
message: `banner.${field} must hold 6-digit hex colours such as "#4949F2"`
|
|
1013
|
-
})
|
|
1014
|
-
);
|
|
1015
|
-
var bannerObjectSchema = z.strictObject({
|
|
1016
|
-
text: nonEmptyStringSchema.describe("The banner text. May span several lines."),
|
|
1017
|
-
colors: bannerColorsSchema("colors").optional().describe("One colour for a solid banner, or several for a gradient along the direction."),
|
|
1018
|
-
lineColors: bannerColorsSchema("lineColors").optional().describe("One colour per line of the banner. Exclusive with colors."),
|
|
1019
|
-
direction: z.enum(["horizontal", "vertical", "diagonal"]).optional().describe("The direction of the gradient. The generator defaults to horizontal."),
|
|
1020
|
-
animate: z.boolean().optional().describe(
|
|
1021
|
-
"Whether root --help on an interactive terminal plays a short shimmer across the banner before printing it."
|
|
1022
|
-
)
|
|
1023
|
-
}).refine((banner) => banner.colors === void 0 || banner.lineColors === void 0, {
|
|
1024
|
-
message: "banner must set either colors (a gradient) or lineColors (one colour per line), not both",
|
|
1025
|
-
path: ["lineColors"]
|
|
1026
|
-
});
|
|
1027
|
-
var bannerSchema = z.union([nonEmptyStringSchema, bannerObjectSchema]);
|
|
1028
1094
|
var oauthPropertyPathSchema = z.string().regex(FIELD_NAME_PATTERN, {
|
|
1029
1095
|
message: 'must be a property name, or a dotted path to a nested property, such as "data.token"'
|
|
1030
1096
|
}).regex(/^[^.]+(\.[^.]+)*$/, { message: "must not have an empty path segment" });
|
|
@@ -1094,9 +1160,6 @@ var cliGenerationConfigSchema = z.strictObject({
|
|
|
1094
1160
|
profiles: profilesConfigSchema.optional().describe("Named profile command configuration."),
|
|
1095
1161
|
splitTypeCrates: z.boolean().optional().describe("Whether generated types are split into one crate per API behind a facade crate."),
|
|
1096
1162
|
userAgentSuffixFlag: userAgentSuffixFlagSchema.optional().describe('The long flag name, without "--", that appends a product token to the User-Agent.'),
|
|
1097
|
-
banner: bannerSchema.optional().describe(
|
|
1098
|
-
"The banner printed above root --help: a string, or text with colours, a gradient direction, per-line colours and an animation switch."
|
|
1099
|
-
),
|
|
1100
1163
|
oauthTokenEndpoints: z.record(nonEmptyStringSchema, oauthTokenEndpointsSchema).optional().describe(
|
|
1101
1164
|
"Per OAuth scheme id (api.auth.schemes[].id), the names of the properties of the token and refresh requests and responses, for the client credentials flow of an API whose token endpoint does not use the RFC 6749 names."
|
|
1102
1165
|
)
|
|
@@ -1109,18 +1172,10 @@ var CLI_GENERATION_FIELDS = [
|
|
|
1109
1172
|
"rootGroup",
|
|
1110
1173
|
"profiles",
|
|
1111
1174
|
"splitTypeCrates",
|
|
1112
|
-
"userAgentSuffixFlag"
|
|
1113
|
-
"banner"
|
|
1175
|
+
"userAgentSuffixFlag"
|
|
1114
1176
|
];
|
|
1115
1177
|
var PROFILES_FIELDS = ["enabled", "commandName", "revokeOperation"];
|
|
1116
|
-
var PROVISION_OPERATION_FIELDS = [
|
|
1117
|
-
"operation",
|
|
1118
|
-
"credential",
|
|
1119
|
-
"revokeParameters",
|
|
1120
|
-
"flag",
|
|
1121
|
-
"parameters",
|
|
1122
|
-
"profileParameters"
|
|
1123
|
-
];
|
|
1178
|
+
var PROVISION_OPERATION_FIELDS = ["operation", "credential", "revokeParameters"];
|
|
1124
1179
|
function mapCliGeneration(config, state, basePath, targetIndex) {
|
|
1125
1180
|
const generation = {};
|
|
1126
1181
|
for (const field of CLI_GENERATION_FIELDS) {
|
|
@@ -2717,52 +2772,6 @@ var sdkConfigV1CliOutputConfigSchema = z.discriminatedUnion(
|
|
|
2717
2772
|
var sdkConfigV1ReplayConfigSchema = z.strictObject({
|
|
2718
2773
|
enabled: z.boolean().describe("Whether regeneration reapplies customer-authored repository changes.")
|
|
2719
2774
|
});
|
|
2720
|
-
var errorResponsesHttpMethodSchema = z.enum([
|
|
2721
|
-
"get",
|
|
2722
|
-
"post",
|
|
2723
|
-
"put",
|
|
2724
|
-
"patch",
|
|
2725
|
-
"delete",
|
|
2726
|
-
"head",
|
|
2727
|
-
"options",
|
|
2728
|
-
"trace"
|
|
2729
|
-
]);
|
|
2730
|
-
var errorResponsesEnsureSchema = z.strictObject({
|
|
2731
|
-
statusCode: z.number().int().min(400).max(599).describe("The 4xx or 5xx status code added to an operation that does not declare it."),
|
|
2732
|
-
methods: z.array(errorResponsesHttpMethodSchema).optional().describe("The HTTP methods whose operations receive the response. Defaults to all methods.")
|
|
2733
|
-
});
|
|
2734
|
-
var errorResponsesSchema = z.strictObject({
|
|
2735
|
-
schema: z.record(z.string(), z.unknown()).describe(
|
|
2736
|
-
"The OpenAPI schema of error response bodies, inline. The client resolves a schema file to its content before the config reaches the generator. Any $ref inside must be a local #/components/... pointer into the spec it is applied to."
|
|
2737
|
-
),
|
|
2738
|
-
name: nonEmptyStringSchema.optional().describe(
|
|
2739
|
-
"The name of the generated error body type. Defaults to the schema title, then ProblemDetails."
|
|
2740
|
-
),
|
|
2741
|
-
applyTo: z.enum(["all", "untyped"]).optional().describe(
|
|
2742
|
-
"all replaces the body of every 4xx/5xx response with the schema. untyped only fills in 4xx/5xx responses that declare no body schema. Defaults to all."
|
|
2743
|
-
),
|
|
2744
|
-
ensure: z.array(errorResponsesEnsureSchema).optional().describe("Error responses added to operations that do not already declare them.")
|
|
2745
|
-
});
|
|
2746
|
-
var exampleDepthSchema = z.strictObject({
|
|
2747
|
-
maxDepth: z.number().int().min(0).optional().describe("How many levels of optional properties an example includes. 0 leaves them out.")
|
|
2748
|
-
});
|
|
2749
|
-
var exampleGenerationSchema = z.strictObject({
|
|
2750
|
-
request: exampleDepthSchema.optional().describe("Depth of generated request examples."),
|
|
2751
|
-
response: exampleDepthSchema.optional().describe("Depth of generated response examples.")
|
|
2752
|
-
});
|
|
2753
|
-
var resolveAliasesSchema = z.union([
|
|
2754
|
-
z.boolean(),
|
|
2755
|
-
z.strictObject({
|
|
2756
|
-
except: z.array(nonEmptyStringSchema).optional().describe("Component schema names whose aliases are kept.")
|
|
2757
|
-
})
|
|
2758
|
-
]);
|
|
2759
|
-
var endpointFilterSchema = z.strictObject({
|
|
2760
|
-
endpoints: z.array(
|
|
2761
|
-
nonEmptyStringSchema.describe(
|
|
2762
|
-
'An endpoint to keep, as "METHOD /path/template". An entry in another shape is ignored.'
|
|
2763
|
-
)
|
|
2764
|
-
).describe("The only endpoints imported. Every other operation is dropped before conversion.")
|
|
2765
|
-
});
|
|
2766
2775
|
var apiImportSettingsSchema = z.strictObject({
|
|
2767
2776
|
respectNullableSchemas: z.boolean().optional().describe("Whether nullable schemas remain nullable in generated types."),
|
|
2768
2777
|
titleAsSchemaName: z.boolean().optional().describe("Whether a schema title can determine the generated type name."),
|
|
@@ -2791,56 +2800,7 @@ var apiImportSettingsSchema = z.strictObject({
|
|
|
2791
2800
|
resolveSchemaCollisions: z.boolean().optional().describe("Whether colliding imported schema names are resolved automatically."),
|
|
2792
2801
|
asyncApiMessageNaming: z.enum(["v1", "v2"]).optional().describe("The naming strategy used for messages imported from AsyncAPI."),
|
|
2793
2802
|
defaultIntegerFormat: z.enum(["int32", "int64", "uint32", "uint64"]).optional().describe("The integer format used when a schema does not declare one."),
|
|
2794
|
-
respectByteFormat: z.boolean().optional().describe("Whether string schemas with format byte are imported as base64-encoded bytes.")
|
|
2795
|
-
additionalPropertiesDefaultsTo: z.boolean().optional().describe(
|
|
2796
|
-
"Whether an object schema that does not declare additionalProperties admits any extra property."
|
|
2797
|
-
),
|
|
2798
|
-
optionalAdditionalProperties: z.boolean().optional().describe("Whether the values of a nullable map are also nullable."),
|
|
2799
|
-
anyOfSiblingPropertiesAsObject: z.boolean().optional().describe(
|
|
2800
|
-
"Whether an anyOf that only constrains which sibling properties are present imports as the object it sits beside."
|
|
2801
|
-
),
|
|
2802
|
-
preserveSingleSchemaOneOf: z.boolean().optional().describe(
|
|
2803
|
-
"Whether a oneOf with a single member stays a union instead of collapsing to that member."
|
|
2804
|
-
),
|
|
2805
|
-
preserveOneOfInAllOf: z.boolean().optional().describe(
|
|
2806
|
-
"Whether a oneOf inside an allOf stays a union of the merged variants instead of being flattened."
|
|
2807
|
-
),
|
|
2808
|
-
removeDiscriminantsFromSchemas: z.enum(["always", "never"]).optional().describe(
|
|
2809
|
-
"Whether the discriminator property is removed from the schemas of a discriminated union."
|
|
2810
|
-
),
|
|
2811
|
-
coerceConstsTo: z.enum(["literals", "enums", "enums-coerceable-to-literals"]).optional().describe(
|
|
2812
|
-
"What a const imports as: a literal, a single-value enum, or an enum that coerceEnumsToLiterals can turn into a literal."
|
|
2813
|
-
),
|
|
2814
|
-
resolveAliases: resolveAliasesSchema.optional().describe(
|
|
2815
|
-
"Whether references to alias-like schemas are replaced by the schema they alias, optionally keeping the named exceptions."
|
|
2816
|
-
),
|
|
2817
|
-
respectForwardCompatibleEnums: z.boolean().optional().describe(
|
|
2818
|
-
"Whether a query or header parameter that accepts an enum or any string keeps both options."
|
|
2819
|
-
),
|
|
2820
|
-
inferForwardCompatible: z.boolean().optional().describe(
|
|
2821
|
-
"Whether a oneOf or anyOf of an enum and a plain string imports as a forward-compatible enum."
|
|
2822
|
-
),
|
|
2823
|
-
respectOperationIdWordBoundaries: z.boolean().optional().describe(
|
|
2824
|
-
"Whether operation ids are split at every word boundary when method names are derived."
|
|
2825
|
-
),
|
|
2826
|
-
namespacedErrors: z.boolean().optional().describe("Whether an error response takes the x-fern-sdk-namespace it declares."),
|
|
2827
|
-
defaultFormParameterEncoding: z.enum(["form", "json"]).optional().describe("How multipart form properties without an explicit content type are encoded."),
|
|
2828
|
-
respectParameterContent: z.boolean().optional().describe(
|
|
2829
|
-
"Whether a header declared with a JSON content entry instead of a schema is typed by that content."
|
|
2830
|
-
),
|
|
2831
|
-
useBytesForBinaryResponse: z.boolean().optional().describe("Whether a binary response is returned as bytes instead of a file stream."),
|
|
2832
|
-
useReadVariantForResponses: z.boolean().optional().describe(
|
|
2833
|
-
"Whether responses use the read variant of a schema that has read-only properties. Needs respectReadonlySchemas."
|
|
2834
|
-
),
|
|
2835
|
-
exampleGeneration: exampleGenerationSchema.optional().describe("How deep the examples generated for operations without one go."),
|
|
2836
|
-
filter: endpointFilterSchema.optional().describe("Restricts the import to a list of endpoints."),
|
|
2837
|
-
groupEnvironmentsByHost: z.boolean().optional().describe("Whether HTTP and WebSocket servers with the same host become one environment."),
|
|
2838
|
-
multiServerStrategy: z.enum(["environment-per-server", "urls-per-environment"]).optional().describe(
|
|
2839
|
-
"Whether each named server is its own environment or a named URL of one environment."
|
|
2840
|
-
),
|
|
2841
|
-
inferDefaultEnvironment: z.boolean().optional().describe("Whether the first server becomes the default environment."),
|
|
2842
|
-
respectPerSpecBasePath: z.boolean().optional().describe("Whether each spec's plain x-fern-base-path applies to that spec's endpoints."),
|
|
2843
|
-
errorResponses: errorResponsesSchema.optional().describe("A shared error body schema applied to the 4xx/5xx responses of the specs.")
|
|
2803
|
+
respectByteFormat: z.boolean().optional().describe("Whether string schemas with format byte are imported as base64-encoded bytes.")
|
|
2844
2804
|
});
|
|
2845
2805
|
var sourceSpecTypeSchema = z.enum([
|
|
2846
2806
|
"openapi",
|
|
@@ -2966,99 +2926,6 @@ var javaGenerationConfigSchema = jvmGenerationConfigSchema.extend({
|
|
|
2966
2926
|
|
|
2967
2927
|
// src/sdk-config-domain/v1/language/kotlin.ts
|
|
2968
2928
|
var kotlinGenerationConfigSchema = jvmGenerationConfigSchema;
|
|
2969
|
-
var compilerOptionsSchema = z.strictObject({
|
|
2970
|
-
target: nonEmptyStringSchema.optional().describe("The JavaScript language target passed to TypeScript."),
|
|
2971
|
-
module: nonEmptyStringSchema.optional().describe("The module format passed to TypeScript."),
|
|
2972
|
-
lib: z.array(nonEmptyStringSchema).optional().describe("The runtime library definitions passed to TypeScript.")
|
|
2973
|
-
});
|
|
2974
|
-
var packageScriptSchema = z.strictObject({
|
|
2975
|
-
name: nonEmptyStringSchema.describe("The package script name."),
|
|
2976
|
-
command: nonEmptyStringSchema.describe("The command executed by the package script.")
|
|
2977
|
-
});
|
|
2978
|
-
var httpClientSchema = z.strictObject({
|
|
2979
|
-
name: z.enum(["axios", "fetch", "node-fetch"]).describe("The HTTP client used by generated TypeScript code.")
|
|
2980
|
-
});
|
|
2981
|
-
var typescriptGenerationConfigSchema = z.strictObject({
|
|
2982
|
-
typescriptVersion: nonEmptyStringSchema.optional().describe("The TypeScript version used by the generated project."),
|
|
2983
|
-
zodVersion: nonEmptyStringSchema.optional().describe("The Zod version used by generated runtime schemas."),
|
|
2984
|
-
compilerOptions: compilerOptionsSchema.optional().describe("TypeScript compiler options for the generated project."),
|
|
2985
|
-
httpClient: httpClientSchema.optional().describe("The HTTP client used by generated TypeScript code."),
|
|
2986
|
-
packageManager: z.enum(["pnpm", "yarn"]).optional().describe("The package manager used by the generated project."),
|
|
2987
|
-
packageManagerVersion: nonEmptyStringSchema.optional().describe("The package manager version used by the generated project."),
|
|
2988
|
-
testFramework: z.enum(["jest", "vitest"]).optional().describe("The test framework used by generated tests."),
|
|
2989
|
-
namingStrategy: z.enum(["base", "originalPropertyNames"]).optional().describe("How schema property names are converted into TypeScript identifiers."),
|
|
2990
|
-
bundle: z.boolean().optional().describe("Whether the generated package includes bundled output."),
|
|
2991
|
-
exportClassDefault: z.boolean().optional().describe("Whether the client class is also exported as the default export."),
|
|
2992
|
-
/** Name of the top-level namespace export emitted by Fern-compatible TypeScript SDKs. */
|
|
2993
|
-
namespaceExportName: nonEmptyStringSchema.optional().describe("The top-level namespace export name."),
|
|
2994
|
-
consolidateTypeFiles: z.boolean().optional().describe("Whether generated types are consolidated into fewer source files."),
|
|
2995
|
-
formDataSupport: z.enum(["Node16", "Node18"]).optional().describe(
|
|
2996
|
-
"The multipart form-data implementation: Node16 uses the form-data packages, Node18 uses the platform FormData."
|
|
2997
|
-
),
|
|
2998
|
-
allowExtraFields: z.boolean().optional().describe(
|
|
2999
|
-
"Whether response parsing keeps unrecognized object keys and accepts unrecognized union members and enum values."
|
|
3000
|
-
),
|
|
3001
|
-
generateSubpackageExports: z.boolean().optional().describe(
|
|
3002
|
-
"Whether the package manifest exports each subpackage client as its own entry point."
|
|
3003
|
-
),
|
|
3004
|
-
exportAllRequestsAtRoot: z.boolean().optional().describe("Whether every request type is also exported from the package root."),
|
|
3005
|
-
generateEndpointMetadata: z.boolean().optional().describe("Whether generated clients expose metadata for each endpoint."),
|
|
3006
|
-
outputEsm: z.boolean().optional().describe(
|
|
3007
|
-
"Whether the package is marked as an ES module while still shipping its CommonJS build."
|
|
3008
|
-
),
|
|
3009
|
-
neverThrowErrors: z.boolean().optional().describe(
|
|
3010
|
-
"Whether client methods return a wrapped response instead of throwing on a non-2xx status."
|
|
3011
|
-
),
|
|
3012
|
-
includeOtherInUnionTypes: z.boolean().optional().describe("Whether union types gain a member for variants the SDK does not recognize."),
|
|
3013
|
-
includeUtilsOnUnionMembers: z.boolean().optional().describe("Whether helper utilities are generated on each member of a union type."),
|
|
3014
|
-
omitFernHeaders: z.boolean().optional().describe("Whether requests omit the SDK identification headers and the User-Agent header."),
|
|
3015
|
-
linter: z.enum(["biome", "oxlint", "none"]).optional().describe("The linter configured in the generated project."),
|
|
3016
|
-
formatter: z.enum(["prettier", "biome", "oxfmt", "none"]).optional().describe("The formatter configured in the generated project."),
|
|
3017
|
-
exports: jsonObjectSchema.optional().describe(
|
|
3018
|
-
"package.json exports entries, keyed by subpath, applied over the generated exports. Each subpath replaces the generated one."
|
|
3019
|
-
),
|
|
3020
|
-
files: z.array(nonEmptyStringSchema).optional().describe("package.json files entries, listed ahead of the generated ones."),
|
|
3021
|
-
engines: z.record(nonEmptyStringSchema, nonEmptyStringSchema).optional().describe("package.json engines version ranges, keyed by engine name such as node."),
|
|
3022
|
-
lintStaged: z.record(nonEmptyStringSchema, z.array(nonEmptyStringSchema).min(1)).optional().describe("lint-staged commands to run, keyed by file glob."),
|
|
3023
|
-
browser: z.record(nonEmptyStringSchema, z.union([z.boolean(), nonEmptyStringSchema])).optional().describe(
|
|
3024
|
-
"package.json browser field: a module or file is excluded (false) or replaced by another path."
|
|
3025
|
-
),
|
|
3026
|
-
allowCustomFetcher: z.boolean().optional().describe("Whether callers can supply a custom fetch implementation."),
|
|
3027
|
-
useBrandedStringAliases: z.boolean().optional().describe("Whether string aliases are emitted as distinct branded types."),
|
|
3028
|
-
useLegacyExports: z.boolean().optional().describe("Whether the package emits the legacy export layout."),
|
|
3029
|
-
useBigInt: z.boolean().optional().describe("Whether 64-bit integer values are represented with bigint."),
|
|
3030
|
-
serdeLayer: z.boolean().optional().describe("Whether generated models use Fern serialization and deserialization helpers."),
|
|
3031
|
-
/** Ship only the ESM build (drops CJS) to avoid the Node dual-package hazard. */
|
|
3032
|
-
esmOnly: z.boolean().optional().describe("Whether the package emits only ECMAScript modules."),
|
|
3033
|
-
scripts: z.array(packageScriptSchema).optional().describe("Additional scripts added to the generated package manifest.")
|
|
3034
|
-
});
|
|
3035
|
-
|
|
3036
|
-
// src/sdk-config-domain/v1/language/mcp.ts
|
|
3037
|
-
var mcpAvailabilityStatuses = [
|
|
3038
|
-
"IN_DEVELOPMENT",
|
|
3039
|
-
"PRE_RELEASE",
|
|
3040
|
-
"GENERAL_AVAILABILITY",
|
|
3041
|
-
"DEPRECATED",
|
|
3042
|
-
"ALPHA",
|
|
3043
|
-
"BETA",
|
|
3044
|
-
"PREVIEW",
|
|
3045
|
-
"LEGACY"
|
|
3046
|
-
];
|
|
3047
|
-
var mcpToolFilterSchema = z.strictObject({
|
|
3048
|
-
include: z.array(nonEmptyStringSchema).optional().describe("Operations explicitly included as MCP tools."),
|
|
3049
|
-
exclude: z.array(nonEmptyStringSchema).optional().describe("Operations explicitly excluded from MCP tools.")
|
|
3050
|
-
});
|
|
3051
|
-
var mcpToolsetNameSchema = nonEmptyStringSchema.refine(
|
|
3052
|
-
(name) => name !== "default" && /^[a-z0-9-]+$/.test(name),
|
|
3053
|
-
'toolset names must match [a-z0-9-]+ and cannot be "default"'
|
|
3054
|
-
);
|
|
3055
|
-
var mcpGenerationConfigSchema = typescriptGenerationConfigSchema.extend({
|
|
3056
|
-
serverName: nonEmptyStringSchema.optional().describe("The name advertised by the generated MCP server."),
|
|
3057
|
-
serverDescription: nonEmptyStringSchema.optional().describe("The description advertised by the generated MCP server."),
|
|
3058
|
-
excludeAvailability: z.array(z.enum(mcpAvailabilityStatuses)).optional().describe("Operation availability statuses excluded from MCP tool generation."),
|
|
3059
|
-
tools: mcpToolFilterSchema.optional().describe("Global operation filters for generated MCP tools."),
|
|
3060
|
-
toolsets: z.record(mcpToolsetNameSchema, mcpToolFilterSchema).optional().describe("Named MCP toolsets and the operation filters for each toolset.")
|
|
3061
|
-
});
|
|
3062
2929
|
var phpGenerationConfigSchema = z.strictObject({
|
|
3063
2930
|
propertyAccess: z.enum(["public", "private"]).optional().describe("The visibility of generated PHP model properties."),
|
|
3064
2931
|
generateClientInterfaces: z.boolean().optional().describe("Whether interfaces are generated for PHP client classes.")
|
|
@@ -4292,7 +4159,9 @@ function mapMcp(config, state, basePath) {
|
|
|
4292
4159
|
basePath
|
|
4293
4160
|
),
|
|
4294
4161
|
tools: takeToolFilter(config, ["tools"], state, basePath),
|
|
4295
|
-
toolsets: takeToolsets(config, ["toolsets"], state, basePath)
|
|
4162
|
+
toolsets: takeToolsets(config, ["toolsets"], state, basePath),
|
|
4163
|
+
mergedTools: takeMergedTools(config, ["mergedTools"], state, basePath),
|
|
4164
|
+
customTools: takeCustomTools(config, ["customTools"], state, basePath)
|
|
4296
4165
|
});
|
|
4297
4166
|
}
|
|
4298
4167
|
function mapReadme(value, language, activeLanguages, state, basePath) {
|
|
@@ -4646,6 +4515,79 @@ function takeToolsets(value, aliases, state, basePath) {
|
|
|
4646
4515
|
consume(state, located.path);
|
|
4647
4516
|
return Object.fromEntries(entries.filter((entry) => entry !== void 0));
|
|
4648
4517
|
}
|
|
4518
|
+
function takeCustomTools(value, aliases, state, basePath) {
|
|
4519
|
+
const located = takeObject(value, aliases, state, basePath);
|
|
4520
|
+
if (!located) return void 0;
|
|
4521
|
+
const entries = Object.entries(located.value).map(([name, spec]) => {
|
|
4522
|
+
if (!MCP_TOOL_NAME_PATTERN.test(name)) {
|
|
4523
|
+
fail(
|
|
4524
|
+
"FERN_MCP_CUSTOM_TOOL_NAME_INVALID",
|
|
4525
|
+
[...located.path, name],
|
|
4526
|
+
`MCP custom tool name "${name}" is not valid in SDK Config v1`,
|
|
4527
|
+
"Rename the custom tool to match [a-zA-Z0-9_-] and at most 64 characters.",
|
|
4528
|
+
["targets", basePath[2], "generation", "customTools", name]
|
|
4529
|
+
);
|
|
4530
|
+
}
|
|
4531
|
+
if (!isObject(spec) || typeof spec.path !== "string") {
|
|
4532
|
+
fail(
|
|
4533
|
+
"FERN_MCP_CUSTOM_TOOL_SPEC_INVALID",
|
|
4534
|
+
[...located.path, name],
|
|
4535
|
+
`MCP custom tool "${name}" must be an object with a string "path"`,
|
|
4536
|
+
'Give the custom tool a "path" pointing at the TypeScript module that exports its definition and handler.',
|
|
4537
|
+
["targets", basePath[2], "generation", "customTools", name]
|
|
4538
|
+
);
|
|
4539
|
+
}
|
|
4540
|
+
return [name, { path: spec.path }];
|
|
4541
|
+
});
|
|
4542
|
+
if (entries.some((entry) => !entry)) return void 0;
|
|
4543
|
+
consume(state, located.path);
|
|
4544
|
+
return Object.fromEntries(entries.filter((entry) => entry !== void 0));
|
|
4545
|
+
}
|
|
4546
|
+
function takeMergedTools(value, aliases, state, basePath) {
|
|
4547
|
+
const located = takeObject(value, aliases, state, basePath);
|
|
4548
|
+
if (!located) return void 0;
|
|
4549
|
+
const entries = Object.entries(located.value).map(([name, spec]) => {
|
|
4550
|
+
if (!MCP_TOOL_NAME_PATTERN.test(name)) {
|
|
4551
|
+
fail(
|
|
4552
|
+
"FERN_MCP_MERGED_TOOL_NAME_INVALID",
|
|
4553
|
+
[...located.path, name],
|
|
4554
|
+
`MCP merged tool name "${name}" is not valid in SDK Config v1`,
|
|
4555
|
+
"Rename the merged tool to match [a-zA-Z0-9_-] and at most 64 characters.",
|
|
4556
|
+
["targets", basePath[2], "generation", "mergedTools", name]
|
|
4557
|
+
);
|
|
4558
|
+
}
|
|
4559
|
+
if (!isObject(spec)) {
|
|
4560
|
+
fail(
|
|
4561
|
+
"FERN_MCP_MERGED_TOOL_SPEC_INVALID",
|
|
4562
|
+
[...located.path, name],
|
|
4563
|
+
`MCP merged tool "${name}" must be an object`,
|
|
4564
|
+
'Give the merged tool a "dispatchOn" argument and an include/exclude filter selecting its member operations.',
|
|
4565
|
+
["targets", basePath[2], "generation", "mergedTools", name]
|
|
4566
|
+
);
|
|
4567
|
+
}
|
|
4568
|
+
if (typeof spec.dispatchOn !== "string") {
|
|
4569
|
+
fail(
|
|
4570
|
+
"FERN_MCP_MERGED_TOOL_DISPATCH_ON_MISSING",
|
|
4571
|
+
[...located.path, name, "dispatchOn"],
|
|
4572
|
+
`MCP merged tool "${name}" is missing a string "dispatchOn"`,
|
|
4573
|
+
'Set "dispatchOn" to the tool argument whose value selects which member operation to call.',
|
|
4574
|
+
["targets", basePath[2], "generation", "mergedTools", name, "dispatchOn"]
|
|
4575
|
+
);
|
|
4576
|
+
}
|
|
4577
|
+
return [
|
|
4578
|
+
name,
|
|
4579
|
+
compact({
|
|
4580
|
+
dispatchOn: spec.dispatchOn,
|
|
4581
|
+
description: typeof spec.description === "string" ? spec.description : void 0,
|
|
4582
|
+
include: stringArrayValue(spec.include),
|
|
4583
|
+
exclude: stringArrayValue(spec.exclude)
|
|
4584
|
+
})
|
|
4585
|
+
];
|
|
4586
|
+
});
|
|
4587
|
+
if (entries.some((entry) => !entry)) return void 0;
|
|
4588
|
+
consume(state, located.path);
|
|
4589
|
+
return Object.fromEntries(entries.filter((entry) => entry !== void 0));
|
|
4590
|
+
}
|
|
4649
4591
|
var unsupportedFieldSchema = z.strictObject({
|
|
4650
4592
|
source: z.enum(["fern", "postman", "sdk-config-ir"]).describe("The configuration surface containing the unsupported field."),
|
|
4651
4593
|
path: z.array(z.union([nonEmptyStringSchema, z.number().int().nonnegative()])).min(1).describe("The property path to the unsupported field in its source configuration."),
|
|
@@ -5310,6 +5252,6 @@ function parseSdkConfigIrV1ForConsumption(value) {
|
|
|
5310
5252
|
return parseSdkConfigIrV1(stripUnknownProperties(value, sdkConfigIrV1InputJsonSchema));
|
|
5311
5253
|
}
|
|
5312
5254
|
|
|
5313
|
-
export { CLI_DISTRIBUTION_NON_RELEASE_MODE_CODE, FernConfigMappingError, SDK_CONFIG_IR_V1_SCHEMA_VERSION, CLI_DISTRIBUTION_NON_RELEASE_MODE_CODE as SDK_CONFIG_V1_CLI_DISTRIBUTION_NON_RELEASE_MODE_CODE, SDK_CONFIG_V1_SCHEMA_VERSION, apiConfigSchema, apiImportSettingsSchema, authConfigSchema, authSchemeSchema, cliDistributionConfigSchema, cliDistributionGithubAppSchema, cliDistributionHomebrewSchema, cliDistributionScoopSchema, cliGenerationConfigSchema, clientConfigOverrideSchema, clientConfigSchema, clientRetryOverrideSchema, compatibilityConfigSchema, composerPackageNameSchema, csharpGenerationConfigSchema, dependencySchema, docsConfigSchema, exactSemverSchema, generationConfigSchema, getSdkConfigIrV1Diagnostics, getSdkConfigV1Diagnostics, githubActionsSecretNameSchema, goGenerationConfigSchema, goModulePathSchema, javaGenerationConfigSchema, jsonObjectSchema, jsonValueSchema, kotlinGenerationConfigSchema, languageGenerationConfigSchema, legacyInputSchema, mapFernConfigToSdkConfigV1, mcpAvailabilityStatuses, mcpGenerationConfigSchema, nonEmptyStringSchema, oauthTokenEndpointsIssues, outputConfigSchema, packageConfigSchema, parentRelativePathSchema, parseSdkConfigIrV1, parseSdkConfigIrV1ForConsumption, parseSdkConfigV1, parseSdkConfigV1ForConsumption, phpGenerationConfigSchema, publishConfigSchema, publishRegistrySchema, pythonGenerationConfigSchema, readmeCustomSectionSchema, readmeEndpointSchema, relativePathSchema, replayConfigSchema, rubyGenerationConfigSchema, rustGenerationConfigSchema, sdkConfigIrCapabilitySchema, sdkConfigIrV1Schema, sdkConfigV1ApiConfigSchema, sdkConfigV1AuthConfigSchema, sdkConfigV1AuthSchemeSchema, cliDistributionConfigSchema as sdkConfigV1CliDistributionConfigSchema, cliDistributionGithubAppSchema as sdkConfigV1CliDistributionGithubAppSchema, cliDistributionHomebrewSchema as sdkConfigV1CliDistributionHomebrewSchema, cliDistributionScoopSchema as sdkConfigV1CliDistributionScoopSchema, cliGenerationConfigSchema as sdkConfigV1CliGenerationConfigSchema, sdkConfigV1CliOutputConfigSchema, sdkConfigV1ClientConfigOverrideSchema, sdkConfigV1ClientConfigSchema, composerPackageNameSchema as sdkConfigV1ComposerPackageNameSchema, csharpGenerationConfigSchema as sdkConfigV1CsharpGenerationConfigSchema, sdkConfigV1DependencySchema, sdkConfigV1DocsConfigSchema, exactSemverSchema as sdkConfigV1ExactSemverSchema, sdkConfigV1GenerationConfigOverrideSchema, sdkConfigV1GenerationConfigSchema, sdkConfigV1GitRemoteSchema, githubActionsSecretNameSchema as sdkConfigV1GithubActionsSecretNameSchema, goGenerationConfigSchema as sdkConfigV1GoGenerationConfigSchema, goModulePathSchema as sdkConfigV1GoModulePathSchema, javaGenerationConfigSchema as sdkConfigV1JavaGenerationConfigSchema, kotlinGenerationConfigSchema as sdkConfigV1KotlinGenerationConfigSchema, mcpGenerationConfigSchema as sdkConfigV1McpGenerationConfigSchema, sdkConfigV1McpOutputConfigSchema, nonEmptyStringSchema as sdkConfigV1NonEmptyStringSchema, sdkConfigV1OutputConfigSchema, sdkConfigV1PackageConfigSchema, parentRelativePathSchema as sdkConfigV1ParentRelativePathSchema, phpGenerationConfigSchema as sdkConfigV1PhpGenerationConfigSchema, sdkConfigV1ProtobufRootSchema, sdkConfigV1ProtobufSourceSchema, sdkConfigV1PublishConfigSchema, sdkConfigV1PublishRegistrySchema, pythonGenerationConfigSchema as sdkConfigV1PythonGenerationConfigSchema, sdkConfigV1ReadmeCustomSectionSchema, sdkConfigV1ReadmeEndpointSchema, relativePathSchema as sdkConfigV1RelativePathSchema, sdkConfigV1ReplayConfigSchema, rubyGenerationConfigSchema as sdkConfigV1RubyGenerationConfigSchema, rustGenerationConfigSchema as sdkConfigV1RustGenerationConfigSchema, sdkConfigV1Schema, sdkConfigV1SourceConfigSchema, sdkConfigV1SourceSpecSchema, swiftGenerationConfigSchema as sdkConfigV1SwiftGenerationConfigSchema, sdkConfigV1TargetSchema, terraformGenerationConfigSchema as sdkConfigV1TerraformGenerationConfigSchema, typescriptGenerationConfigSchema as sdkConfigV1TypescriptGenerationConfigSchema, sdkConfigV1WebhookSignatureSchema, serializeSdkConfigIrV1, sourceConfigSchema, sourceSpecConfigSchema, sourceSpecOriginSchema, sourceSpecTypeSchema, splitSdkConfigV1TargetGeneration, swiftGenerationConfigSchema, targetConfigSchema, targetLanguageSchema, terraformGenerationConfigSchema, typescriptGenerationConfigSchema, unsupportedFieldSchema, validateSdkConfigV1, webhookSignatureSchema };
|
|
5255
|
+
export { CLI_DISTRIBUTION_NON_RELEASE_MODE_CODE, FernConfigMappingError, MCP_TOOL_NAME_PATTERN, SDK_CONFIG_IR_V1_SCHEMA_VERSION, CLI_DISTRIBUTION_NON_RELEASE_MODE_CODE as SDK_CONFIG_V1_CLI_DISTRIBUTION_NON_RELEASE_MODE_CODE, SDK_CONFIG_V1_SCHEMA_VERSION, apiConfigSchema, apiImportSettingsSchema, authConfigSchema, authSchemeSchema, cliDistributionConfigSchema, cliDistributionGithubAppSchema, cliDistributionHomebrewSchema, cliDistributionScoopSchema, cliGenerationConfigSchema, clientConfigOverrideSchema, clientConfigSchema, clientRetryOverrideSchema, compatibilityConfigSchema, composerPackageNameSchema, csharpGenerationConfigSchema, dependencySchema, docsConfigSchema, exactSemverSchema, generationConfigSchema, getSdkConfigIrV1Diagnostics, getSdkConfigV1Diagnostics, githubActionsSecretNameSchema, goGenerationConfigSchema, goModulePathSchema, javaGenerationConfigSchema, jsonObjectSchema, jsonValueSchema, kotlinGenerationConfigSchema, languageGenerationConfigSchema, legacyInputSchema, mapFernConfigToSdkConfigV1, mcpAvailabilityStatuses, mcpGenerationConfigSchema, nonEmptyStringSchema, oauthTokenEndpointsIssues, outputConfigSchema, packageConfigSchema, parentRelativePathSchema, parseSdkConfigIrV1, parseSdkConfigIrV1ForConsumption, parseSdkConfigV1, parseSdkConfigV1ForConsumption, phpGenerationConfigSchema, publishConfigSchema, publishRegistrySchema, pythonGenerationConfigSchema, readmeCustomSectionSchema, readmeEndpointSchema, relativePathSchema, replayConfigSchema, rubyGenerationConfigSchema, rustGenerationConfigSchema, sdkConfigIrCapabilitySchema, sdkConfigIrV1Schema, sdkConfigV1ApiConfigSchema, sdkConfigV1AuthConfigSchema, sdkConfigV1AuthSchemeSchema, cliDistributionConfigSchema as sdkConfigV1CliDistributionConfigSchema, cliDistributionGithubAppSchema as sdkConfigV1CliDistributionGithubAppSchema, cliDistributionHomebrewSchema as sdkConfigV1CliDistributionHomebrewSchema, cliDistributionScoopSchema as sdkConfigV1CliDistributionScoopSchema, cliGenerationConfigSchema as sdkConfigV1CliGenerationConfigSchema, sdkConfigV1CliOutputConfigSchema, sdkConfigV1ClientConfigOverrideSchema, sdkConfigV1ClientConfigSchema, composerPackageNameSchema as sdkConfigV1ComposerPackageNameSchema, csharpGenerationConfigSchema as sdkConfigV1CsharpGenerationConfigSchema, sdkConfigV1DependencySchema, sdkConfigV1DocsConfigSchema, exactSemverSchema as sdkConfigV1ExactSemverSchema, sdkConfigV1GenerationConfigOverrideSchema, sdkConfigV1GenerationConfigSchema, sdkConfigV1GitRemoteSchema, githubActionsSecretNameSchema as sdkConfigV1GithubActionsSecretNameSchema, goGenerationConfigSchema as sdkConfigV1GoGenerationConfigSchema, goModulePathSchema as sdkConfigV1GoModulePathSchema, javaGenerationConfigSchema as sdkConfigV1JavaGenerationConfigSchema, kotlinGenerationConfigSchema as sdkConfigV1KotlinGenerationConfigSchema, mcpGenerationConfigSchema as sdkConfigV1McpGenerationConfigSchema, sdkConfigV1McpOutputConfigSchema, nonEmptyStringSchema as sdkConfigV1NonEmptyStringSchema, sdkConfigV1OutputConfigSchema, sdkConfigV1PackageConfigSchema, parentRelativePathSchema as sdkConfigV1ParentRelativePathSchema, phpGenerationConfigSchema as sdkConfigV1PhpGenerationConfigSchema, sdkConfigV1ProtobufRootSchema, sdkConfigV1ProtobufSourceSchema, sdkConfigV1PublishConfigSchema, sdkConfigV1PublishRegistrySchema, pythonGenerationConfigSchema as sdkConfigV1PythonGenerationConfigSchema, sdkConfigV1ReadmeCustomSectionSchema, sdkConfigV1ReadmeEndpointSchema, relativePathSchema as sdkConfigV1RelativePathSchema, sdkConfigV1ReplayConfigSchema, rubyGenerationConfigSchema as sdkConfigV1RubyGenerationConfigSchema, rustGenerationConfigSchema as sdkConfigV1RustGenerationConfigSchema, sdkConfigV1Schema, sdkConfigV1SourceConfigSchema, sdkConfigV1SourceSpecSchema, swiftGenerationConfigSchema as sdkConfigV1SwiftGenerationConfigSchema, sdkConfigV1TargetSchema, terraformGenerationConfigSchema as sdkConfigV1TerraformGenerationConfigSchema, typescriptGenerationConfigSchema as sdkConfigV1TypescriptGenerationConfigSchema, sdkConfigV1WebhookSignatureSchema, serializeSdkConfigIrV1, sourceConfigSchema, sourceSpecConfigSchema, sourceSpecOriginSchema, sourceSpecTypeSchema, splitSdkConfigV1TargetGeneration, swiftGenerationConfigSchema, targetConfigSchema, targetLanguageSchema, terraformGenerationConfigSchema, typescriptGenerationConfigSchema, unsupportedFieldSchema, validateSdkConfigV1, webhookSignatureSchema };
|
|
5314
5256
|
//# sourceMappingURL=index.js.map
|
|
5315
5257
|
//# sourceMappingURL=index.js.map
|