@postman/sdk-config 0.23.0 → 0.24.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 +25 -1
- 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 +25 -1
- package/dist/index.js.map +1 -1
- package/dist/sdk-config/index.cjs +25 -1
- 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 +25 -1
- package/dist/sdk-config/index.js.map +1 -1
- package/dist/sdk-config/v1/index.cjs +25 -1
- package/dist/sdk-config/v1/index.cjs.map +1 -1
- package/dist/sdk-config/v1/index.d.cts +8 -2
- package/dist/sdk-config/v1/index.d.ts +8 -2
- package/dist/sdk-config/v1/index.js +25 -1
- package/dist/sdk-config/v1/index.js.map +1 -1
- package/dist/sdk-config-ir/index.cjs +8 -0
- 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 +8 -0
- package/dist/sdk-config-ir/index.js.map +1 -1
- package/dist/sdk-config-ir/v1/index.cjs +8 -0
- package/dist/sdk-config-ir/v1/index.cjs.map +1 -1
- package/dist/sdk-config-ir/v1/index.d.cts +11 -2
- package/dist/sdk-config-ir/v1/index.d.ts +11 -2
- package/dist/sdk-config-ir/v1/index.js +8 -0
- package/dist/sdk-config-ir/v1/index.js.map +1 -1
- package/dist/{typescript-ZRqfOhMd.d.cts → typescript-BcBGIPrg.d.cts} +8 -1
- package/dist/{typescript-ZRqfOhMd.d.ts → typescript-BcBGIPrg.d.ts} +8 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { j as JsonObject, S as SdkConfigDiagnostic } from '../../typescript-
|
|
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, k as JsonValue, K as KotlinGenerationConfig, M as MCP_TOOL_NAME_PATTERN, l as McpAvailabilityStatus, m as McpCustomTool, n as McpGenerationConfig, o as
|
|
1
|
+
import { j as JsonObject, S as SdkConfigDiagnostic } from '../../typescript-BcBGIPrg.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, k as JsonValue, K as KotlinGenerationConfig, M as MCP_TOOL_NAME_PATTERN, l as McpAvailabilityStatus, m as McpCustomTool, n as McpGenerationConfig, o as McpHooks, p as McpMergedTool, q as McpToolFilter, P as PackageConfig, r as PhpGenerationConfig, s as PlanModifiers, t as PythonGenerationConfig, R as RubyGenerationConfig, u as RustGenerationConfig, v as SwiftGenerationConfig, T as TerraformGenerationConfig, w as TypescriptGenerationConfig, x as cliDistributionConfigSchema, y as cliDistributionGithubAppSchema, z as cliDistributionHomebrewSchema, A as cliDistributionScoopSchema, B as cliGenerationConfigSchema, E as composerPackageNameSchema, F as csharpGenerationConfigSchema, H as dependencySchema, I as exactSemverSchema, L as githubActionsSecretNameSchema, N as goGenerationConfigSchema, O as goModulePathSchema, Q as javaGenerationConfigSchema, U as jsonObjectSchema, V as jsonValueSchema, W as kotlinGenerationConfigSchema, X as mcpAvailabilityStatuses, Y as mcpGenerationConfigSchema, Z as nonEmptyStringSchema, _ as oauthTokenEndpointsIssues, $ as packageConfigSchema, a0 as parentRelativePathSchema, a1 as phpGenerationConfigSchema, a2 as pythonGenerationConfigSchema, a3 as relativePathSchema, a4 as rubyGenerationConfigSchema, a5 as rustGenerationConfigSchema, a6 as swiftGenerationConfigSchema, a7 as terraformGenerationConfigSchema, a8 as typescriptGenerationConfigSchema } from '../../typescript-BcBGIPrg.cjs';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
|
|
5
5
|
declare const authSchemeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -2741,6 +2741,9 @@ declare const sdkConfigIrV1Schema: z.ZodObject<{
|
|
|
2741
2741
|
customTools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
2742
2742
|
path: z.ZodString;
|
|
2743
2743
|
}, z.core.$strict>>>;
|
|
2744
|
+
hooks: z.ZodOptional<z.ZodObject<{
|
|
2745
|
+
path: z.ZodString;
|
|
2746
|
+
}, z.core.$strict>>;
|
|
2744
2747
|
}, z.core.$strict>>;
|
|
2745
2748
|
swift: z.ZodOptional<z.ZodObject<{
|
|
2746
2749
|
moduleName: z.ZodOptional<z.ZodString>;
|
|
@@ -3219,6 +3222,9 @@ declare const languageGenerationConfigSchema: z.ZodObject<{
|
|
|
3219
3222
|
customTools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
3220
3223
|
path: z.ZodString;
|
|
3221
3224
|
}, z.core.$strict>>>;
|
|
3225
|
+
hooks: z.ZodOptional<z.ZodObject<{
|
|
3226
|
+
path: z.ZodString;
|
|
3227
|
+
}, z.core.$strict>>;
|
|
3222
3228
|
}, z.core.$strict>>;
|
|
3223
3229
|
swift: z.ZodOptional<z.ZodObject<{
|
|
3224
3230
|
moduleName: z.ZodOptional<z.ZodString>;
|
|
@@ -3732,6 +3738,9 @@ declare const generationConfigSchema: z.ZodObject<{
|
|
|
3732
3738
|
customTools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
3733
3739
|
path: z.ZodString;
|
|
3734
3740
|
}, z.core.$strict>>>;
|
|
3741
|
+
hooks: z.ZodOptional<z.ZodObject<{
|
|
3742
|
+
path: z.ZodString;
|
|
3743
|
+
}, z.core.$strict>>;
|
|
3735
3744
|
}, z.core.$strict>>;
|
|
3736
3745
|
swift: z.ZodOptional<z.ZodObject<{
|
|
3737
3746
|
moduleName: z.ZodOptional<z.ZodString>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { j as JsonObject, S as SdkConfigDiagnostic } from '../../typescript-
|
|
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, k as JsonValue, K as KotlinGenerationConfig, M as MCP_TOOL_NAME_PATTERN, l as McpAvailabilityStatus, m as McpCustomTool, n as McpGenerationConfig, o as
|
|
1
|
+
import { j as JsonObject, S as SdkConfigDiagnostic } from '../../typescript-BcBGIPrg.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, k as JsonValue, K as KotlinGenerationConfig, M as MCP_TOOL_NAME_PATTERN, l as McpAvailabilityStatus, m as McpCustomTool, n as McpGenerationConfig, o as McpHooks, p as McpMergedTool, q as McpToolFilter, P as PackageConfig, r as PhpGenerationConfig, s as PlanModifiers, t as PythonGenerationConfig, R as RubyGenerationConfig, u as RustGenerationConfig, v as SwiftGenerationConfig, T as TerraformGenerationConfig, w as TypescriptGenerationConfig, x as cliDistributionConfigSchema, y as cliDistributionGithubAppSchema, z as cliDistributionHomebrewSchema, A as cliDistributionScoopSchema, B as cliGenerationConfigSchema, E as composerPackageNameSchema, F as csharpGenerationConfigSchema, H as dependencySchema, I as exactSemverSchema, L as githubActionsSecretNameSchema, N as goGenerationConfigSchema, O as goModulePathSchema, Q as javaGenerationConfigSchema, U as jsonObjectSchema, V as jsonValueSchema, W as kotlinGenerationConfigSchema, X as mcpAvailabilityStatuses, Y as mcpGenerationConfigSchema, Z as nonEmptyStringSchema, _ as oauthTokenEndpointsIssues, $ as packageConfigSchema, a0 as parentRelativePathSchema, a1 as phpGenerationConfigSchema, a2 as pythonGenerationConfigSchema, a3 as relativePathSchema, a4 as rubyGenerationConfigSchema, a5 as rustGenerationConfigSchema, a6 as swiftGenerationConfigSchema, a7 as terraformGenerationConfigSchema, a8 as typescriptGenerationConfigSchema } from '../../typescript-BcBGIPrg.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
|
|
5
5
|
declare const authSchemeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -2741,6 +2741,9 @@ declare const sdkConfigIrV1Schema: z.ZodObject<{
|
|
|
2741
2741
|
customTools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
2742
2742
|
path: z.ZodString;
|
|
2743
2743
|
}, z.core.$strict>>>;
|
|
2744
|
+
hooks: z.ZodOptional<z.ZodObject<{
|
|
2745
|
+
path: z.ZodString;
|
|
2746
|
+
}, z.core.$strict>>;
|
|
2744
2747
|
}, z.core.$strict>>;
|
|
2745
2748
|
swift: z.ZodOptional<z.ZodObject<{
|
|
2746
2749
|
moduleName: z.ZodOptional<z.ZodString>;
|
|
@@ -3219,6 +3222,9 @@ declare const languageGenerationConfigSchema: z.ZodObject<{
|
|
|
3219
3222
|
customTools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
3220
3223
|
path: z.ZodString;
|
|
3221
3224
|
}, z.core.$strict>>>;
|
|
3225
|
+
hooks: z.ZodOptional<z.ZodObject<{
|
|
3226
|
+
path: z.ZodString;
|
|
3227
|
+
}, z.core.$strict>>;
|
|
3222
3228
|
}, z.core.$strict>>;
|
|
3223
3229
|
swift: z.ZodOptional<z.ZodObject<{
|
|
3224
3230
|
moduleName: z.ZodOptional<z.ZodString>;
|
|
@@ -3732,6 +3738,9 @@ declare const generationConfigSchema: z.ZodObject<{
|
|
|
3732
3738
|
customTools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
3733
3739
|
path: z.ZodString;
|
|
3734
3740
|
}, z.core.$strict>>>;
|
|
3741
|
+
hooks: z.ZodOptional<z.ZodObject<{
|
|
3742
|
+
path: z.ZodString;
|
|
3743
|
+
}, z.core.$strict>>;
|
|
3735
3744
|
}, z.core.$strict>>;
|
|
3736
3745
|
swift: z.ZodOptional<z.ZodObject<{
|
|
3737
3746
|
moduleName: z.ZodOptional<z.ZodString>;
|
|
@@ -944,6 +944,11 @@ var mcpCustomToolSchema = z.strictObject({
|
|
|
944
944
|
"Path to a TypeScript module that exports the tool `definition` and `handler`."
|
|
945
945
|
)
|
|
946
946
|
});
|
|
947
|
+
var mcpHooksSchema = z.strictObject({
|
|
948
|
+
path: relativePathSchema.describe(
|
|
949
|
+
"Path to a TypeScript module exporting the MCP request/response hooks (`beforeRequest`, `afterResponse`, `onError`, `transformResult`)."
|
|
950
|
+
)
|
|
951
|
+
});
|
|
947
952
|
var mcpGenerationConfigSchema = typescriptGenerationConfigSchema.extend({
|
|
948
953
|
serverName: nonEmptyStringSchema.optional().describe("The name advertised by the generated MCP server."),
|
|
949
954
|
serverDescription: nonEmptyStringSchema.optional().describe("The description advertised by the generated MCP server."),
|
|
@@ -955,6 +960,9 @@ var mcpGenerationConfigSchema = typescriptGenerationConfigSchema.extend({
|
|
|
955
960
|
),
|
|
956
961
|
customTools: z.record(mcpToolNameSchema, mcpCustomToolSchema).optional().describe(
|
|
957
962
|
"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."
|
|
963
|
+
),
|
|
964
|
+
hooks: mcpHooksSchema.optional().describe(
|
|
965
|
+
"Customer-authored request/response hooks, emitted into the generated server as `src/hooks.ts` (replacing the no-op stub)."
|
|
958
966
|
)
|
|
959
967
|
});
|
|
960
968
|
var phpGenerationConfigSchema = z.strictObject({
|