@postman/sdk-config 0.15.0 → 0.17.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 +83 -19
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +78 -20
- package/dist/index.js.map +1 -1
- package/dist/sdk-config/index.cjs +71 -19
- package/dist/sdk-config/index.cjs.map +1 -1
- package/dist/sdk-config/index.d.cts +2 -2
- package/dist/sdk-config/index.d.ts +2 -2
- package/dist/sdk-config/index.js +68 -20
- package/dist/sdk-config/index.js.map +1 -1
- package/dist/sdk-config/v1/index.cjs +71 -19
- package/dist/sdk-config/v1/index.cjs.map +1 -1
- package/dist/sdk-config/v1/index.d.cts +230 -22
- package/dist/sdk-config/v1/index.d.ts +230 -22
- package/dist/sdk-config/v1/index.js +68 -20
- package/dist/sdk-config/v1/index.js.map +1 -1
- package/dist/sdk-config-ir/index.cjs +21 -2
- package/dist/sdk-config-ir/index.cjs.map +1 -1
- package/dist/sdk-config-ir/index.d.cts +2 -2
- package/dist/sdk-config-ir/index.d.ts +2 -2
- package/dist/sdk-config-ir/index.js +20 -3
- package/dist/sdk-config-ir/index.js.map +1 -1
- package/dist/sdk-config-ir/v1/index.cjs +21 -2
- package/dist/sdk-config-ir/v1/index.cjs.map +1 -1
- package/dist/sdk-config-ir/v1/index.d.cts +34 -3
- package/dist/sdk-config-ir/v1/index.d.ts +34 -3
- package/dist/sdk-config-ir/v1/index.js +20 -3
- package/dist/sdk-config-ir/v1/index.js.map +1 -1
- package/dist/{typescript-sGNHFomT.d.cts → typescript-D0YeGxxS.d.cts} +11 -1
- package/dist/{typescript-sGNHFomT.d.ts → typescript-D0YeGxxS.d.ts} +11 -1
- package/package.json +1 -1
- package/src/sdk-config/v1/README.md +31 -0
- package/src/sdk-config-ir/v1/README.md +7 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { i as JsonObject, S as SdkConfigDiagnostic } from '../../typescript-
|
|
2
|
-
export { C as SDK_CONFIG_V1_CLI_DISTRIBUTION_NON_RELEASE_MODE_CODE, a as SdkConfigV1CliDistributionConfig, b as SdkConfigV1CliDistributionGithubAppConfig, c as SdkConfigV1CliDistributionHomebrewConfig, d as SdkConfigV1CliDistributionScoopConfig, s as sdkConfigV1CliDistributionConfigSchema, t as sdkConfigV1CliDistributionGithubAppSchema, u as sdkConfigV1CliDistributionHomebrewSchema, v as sdkConfigV1CliDistributionScoopSchema, w as sdkConfigV1CliGenerationConfigSchema, x as sdkConfigV1ComposerPackageNameSchema, y as sdkConfigV1CsharpGenerationConfigSchema, A as sdkConfigV1ExactSemverSchema, B as sdkConfigV1GithubActionsSecretNameSchema, E as sdkConfigV1GoGenerationConfigSchema, F as sdkConfigV1GoModulePathSchema, H as sdkConfigV1JavaGenerationConfigSchema, N as sdkConfigV1KotlinGenerationConfigSchema, Q as sdkConfigV1McpGenerationConfigSchema, U as sdkConfigV1NonEmptyStringSchema, W as
|
|
1
|
+
import { i as JsonObject, S as SdkConfigDiagnostic } from '../../typescript-D0YeGxxS.cjs';
|
|
2
|
+
export { C as SDK_CONFIG_V1_CLI_DISTRIBUTION_NON_RELEASE_MODE_CODE, a as SdkConfigV1CliDistributionConfig, b as SdkConfigV1CliDistributionGithubAppConfig, c as SdkConfigV1CliDistributionHomebrewConfig, d as SdkConfigV1CliDistributionScoopConfig, s as sdkConfigV1CliDistributionConfigSchema, t as sdkConfigV1CliDistributionGithubAppSchema, u as sdkConfigV1CliDistributionHomebrewSchema, v as sdkConfigV1CliDistributionScoopSchema, w as sdkConfigV1CliGenerationConfigSchema, x as sdkConfigV1ComposerPackageNameSchema, y as sdkConfigV1CsharpGenerationConfigSchema, A as sdkConfigV1ExactSemverSchema, B as sdkConfigV1GithubActionsSecretNameSchema, E as sdkConfigV1GoGenerationConfigSchema, F as sdkConfigV1GoModulePathSchema, H as sdkConfigV1JavaGenerationConfigSchema, N as sdkConfigV1KotlinGenerationConfigSchema, Q as sdkConfigV1McpGenerationConfigSchema, U as sdkConfigV1NonEmptyStringSchema, W as sdkConfigV1ParentRelativePathSchema, X as sdkConfigV1PhpGenerationConfigSchema, Y as sdkConfigV1PythonGenerationConfigSchema, Z as sdkConfigV1RelativePathSchema, _ as sdkConfigV1RubyGenerationConfigSchema, $ as sdkConfigV1RustGenerationConfigSchema, a0 as sdkConfigV1SwiftGenerationConfigSchema, a1 as sdkConfigV1TerraformGenerationConfigSchema, a2 as sdkConfigV1TypescriptGenerationConfigSchema } from '../../typescript-D0YeGxxS.cjs';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
|
|
5
5
|
declare const sdkConfigV1AuthSchemeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -605,7 +605,6 @@ declare const sdkConfigV1Schema: z.ZodObject<{
|
|
|
605
605
|
source: z.ZodObject<{
|
|
606
606
|
specs: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
607
607
|
path: z.ZodString;
|
|
608
|
-
id: z.ZodString;
|
|
609
608
|
type: z.ZodEnum<{
|
|
610
609
|
openapi: "openapi";
|
|
611
610
|
swagger: "swagger";
|
|
@@ -613,6 +612,9 @@ declare const sdkConfigV1Schema: z.ZodObject<{
|
|
|
613
612
|
asyncapi: "asyncapi";
|
|
614
613
|
graphql: "graphql";
|
|
615
614
|
}>;
|
|
615
|
+
overlays: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
616
|
+
overrides: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
617
|
+
id: z.ZodString;
|
|
616
618
|
name: z.ZodOptional<z.ZodString>;
|
|
617
619
|
namespace: z.ZodOptional<z.ZodString>;
|
|
618
620
|
apiImportSettings: z.ZodOptional<z.ZodObject<{
|
|
@@ -648,12 +650,10 @@ declare const sdkConfigV1Schema: z.ZodObject<{
|
|
|
648
650
|
uint32: "uint32";
|
|
649
651
|
uint64: "uint64";
|
|
650
652
|
}>>;
|
|
653
|
+
respectByteFormat: z.ZodOptional<z.ZodBoolean>;
|
|
651
654
|
}, z.core.$strict>>;
|
|
652
|
-
overlays: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
653
|
-
overrides: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
654
655
|
}, z.core.$strict>, z.ZodObject<{
|
|
655
656
|
url: z.ZodURL;
|
|
656
|
-
id: z.ZodString;
|
|
657
657
|
type: z.ZodEnum<{
|
|
658
658
|
openapi: "openapi";
|
|
659
659
|
swagger: "swagger";
|
|
@@ -661,6 +661,9 @@ declare const sdkConfigV1Schema: z.ZodObject<{
|
|
|
661
661
|
asyncapi: "asyncapi";
|
|
662
662
|
graphql: "graphql";
|
|
663
663
|
}>;
|
|
664
|
+
overlays: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
665
|
+
overrides: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
666
|
+
id: z.ZodString;
|
|
664
667
|
name: z.ZodOptional<z.ZodString>;
|
|
665
668
|
namespace: z.ZodOptional<z.ZodString>;
|
|
666
669
|
apiImportSettings: z.ZodOptional<z.ZodObject<{
|
|
@@ -696,9 +699,61 @@ declare const sdkConfigV1Schema: z.ZodObject<{
|
|
|
696
699
|
uint32: "uint32";
|
|
697
700
|
uint64: "uint64";
|
|
698
701
|
}>>;
|
|
702
|
+
respectByteFormat: z.ZodOptional<z.ZodBoolean>;
|
|
703
|
+
}, z.core.$strict>>;
|
|
704
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
705
|
+
proto: z.ZodObject<{
|
|
706
|
+
root: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
707
|
+
git: z.ZodObject<{
|
|
708
|
+
repo: z.ZodString;
|
|
709
|
+
ref: z.ZodOptional<z.ZodString>;
|
|
710
|
+
path: z.ZodString;
|
|
711
|
+
}, z.core.$strict>;
|
|
712
|
+
}, z.core.$strict>]>;
|
|
713
|
+
target: z.ZodOptional<z.ZodString>;
|
|
714
|
+
overrides: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
715
|
+
dependencies: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
716
|
+
localGeneration: z.ZodOptional<z.ZodBoolean>;
|
|
717
|
+
fromOpenApi: z.ZodDefault<z.ZodBoolean>;
|
|
718
|
+
}, z.core.$strict>;
|
|
719
|
+
id: z.ZodString;
|
|
720
|
+
name: z.ZodOptional<z.ZodString>;
|
|
721
|
+
namespace: z.ZodOptional<z.ZodString>;
|
|
722
|
+
apiImportSettings: z.ZodOptional<z.ZodObject<{
|
|
723
|
+
respectNullableSchemas: z.ZodOptional<z.ZodBoolean>;
|
|
724
|
+
titleAsSchemaName: z.ZodOptional<z.ZodBoolean>;
|
|
725
|
+
coerceEnumsToLiterals: z.ZodOptional<z.ZodBoolean>;
|
|
726
|
+
idiomaticRequestNames: z.ZodOptional<z.ZodBoolean>;
|
|
727
|
+
wrapReferencesToNullableInOptional: z.ZodOptional<z.ZodBoolean>;
|
|
728
|
+
coerceOptionalSchemasToNullable: z.ZodOptional<z.ZodBoolean>;
|
|
729
|
+
pathParameterOrder: z.ZodOptional<z.ZodEnum<{
|
|
730
|
+
"url-order": "url-order";
|
|
731
|
+
"spec-order": "spec-order";
|
|
732
|
+
}>>;
|
|
733
|
+
onlyIncludeReferencedSchemas: z.ZodOptional<z.ZodBoolean>;
|
|
734
|
+
objectQueryParameters: z.ZodOptional<z.ZodBoolean>;
|
|
735
|
+
typeDatesAsStrings: z.ZodOptional<z.ZodBoolean>;
|
|
736
|
+
groupMultiApiEnvironments: z.ZodOptional<z.ZodBoolean>;
|
|
737
|
+
ignoreTags: z.ZodOptional<z.ZodBoolean>;
|
|
738
|
+
disambiguateRequestNames: z.ZodOptional<z.ZodBoolean>;
|
|
739
|
+
respectReadonlySchemas: z.ZodOptional<z.ZodBoolean>;
|
|
740
|
+
discriminatedUnionV2: z.ZodOptional<z.ZodBoolean>;
|
|
741
|
+
undiscriminatedUnionsWithLiterals: z.ZodOptional<z.ZodBoolean>;
|
|
742
|
+
inlineAllOfSchemas: z.ZodOptional<z.ZodBoolean>;
|
|
743
|
+
inferDiscriminatedUnionBaseProperties: z.ZodOptional<z.ZodBoolean>;
|
|
744
|
+
resolveSchemaCollisions: z.ZodOptional<z.ZodBoolean>;
|
|
745
|
+
asyncApiMessageNaming: z.ZodOptional<z.ZodEnum<{
|
|
746
|
+
v1: "v1";
|
|
747
|
+
v2: "v2";
|
|
748
|
+
}>>;
|
|
749
|
+
defaultIntegerFormat: z.ZodOptional<z.ZodEnum<{
|
|
750
|
+
int32: "int32";
|
|
751
|
+
int64: "int64";
|
|
752
|
+
uint32: "uint32";
|
|
753
|
+
uint64: "uint64";
|
|
754
|
+
}>>;
|
|
755
|
+
respectByteFormat: z.ZodOptional<z.ZodBoolean>;
|
|
699
756
|
}, z.core.$strict>>;
|
|
700
|
-
overlays: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
701
|
-
overrides: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
702
757
|
}, z.core.$strict>]>>;
|
|
703
758
|
apiImportSettings: z.ZodOptional<z.ZodObject<{
|
|
704
759
|
respectNullableSchemas: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -733,6 +788,7 @@ declare const sdkConfigV1Schema: z.ZodObject<{
|
|
|
733
788
|
uint32: "uint32";
|
|
734
789
|
uint64: "uint64";
|
|
735
790
|
}>>;
|
|
791
|
+
respectByteFormat: z.ZodOptional<z.ZodBoolean>;
|
|
736
792
|
}, z.core.$strict>>;
|
|
737
793
|
}, z.core.$strict>;
|
|
738
794
|
api: z.ZodPrefault<z.ZodObject<{
|
|
@@ -4286,6 +4342,10 @@ declare const sdkConfigV1Schema: z.ZodObject<{
|
|
|
4286
4342
|
v0: "v0";
|
|
4287
4343
|
}>>;
|
|
4288
4344
|
includeLegacyClientOptions: z.ZodOptional<z.ZodBoolean>;
|
|
4345
|
+
packageLayout: z.ZodOptional<z.ZodEnum<{
|
|
4346
|
+
root: "root";
|
|
4347
|
+
types: "types";
|
|
4348
|
+
}>>;
|
|
4289
4349
|
}, z.core.$strict>>;
|
|
4290
4350
|
}, z.core.$strict>, z.ZodObject<{
|
|
4291
4351
|
generatorVersion: z.ZodOptional<z.ZodString>;
|
|
@@ -9774,10 +9834,39 @@ declare const sdkConfigV1ReplayConfigSchema: z.ZodObject<{
|
|
|
9774
9834
|
}, z.core.$strict>;
|
|
9775
9835
|
type SdkConfigV1ReplayConfig = z.infer<typeof sdkConfigV1ReplayConfigSchema>;
|
|
9776
9836
|
|
|
9777
|
-
|
|
9837
|
+
declare const sdkConfigV1GitRemoteSchema: z.ZodObject<{
|
|
9838
|
+
repo: z.ZodString;
|
|
9839
|
+
ref: z.ZodOptional<z.ZodString>;
|
|
9840
|
+
path: z.ZodString;
|
|
9841
|
+
}, z.core.$strict>;
|
|
9842
|
+
declare const sdkConfigV1ProtobufRootSchema: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
9843
|
+
git: z.ZodObject<{
|
|
9844
|
+
repo: z.ZodString;
|
|
9845
|
+
ref: z.ZodOptional<z.ZodString>;
|
|
9846
|
+
path: z.ZodString;
|
|
9847
|
+
}, z.core.$strict>;
|
|
9848
|
+
}, z.core.$strict>]>;
|
|
9849
|
+
declare const sdkConfigV1ProtobufSourceSchema: z.ZodObject<{
|
|
9850
|
+
root: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
9851
|
+
git: z.ZodObject<{
|
|
9852
|
+
repo: z.ZodString;
|
|
9853
|
+
ref: z.ZodOptional<z.ZodString>;
|
|
9854
|
+
path: z.ZodString;
|
|
9855
|
+
}, z.core.$strict>;
|
|
9856
|
+
}, z.core.$strict>]>;
|
|
9857
|
+
target: z.ZodOptional<z.ZodString>;
|
|
9858
|
+
overrides: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
9859
|
+
dependencies: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
9860
|
+
localGeneration: z.ZodOptional<z.ZodBoolean>;
|
|
9861
|
+
fromOpenApi: z.ZodDefault<z.ZodBoolean>;
|
|
9862
|
+
}, z.core.$strict>;
|
|
9863
|
+
/**
|
|
9864
|
+
* A source is a local path, an HTTP(S) URL, or protobuf definitions; the locators are mutually
|
|
9865
|
+
* exclusive. A spec with a proto locator reports the protobuf option's issues so its errors stay
|
|
9866
|
+
* actionable instead of collapsing into the generic locator message.
|
|
9867
|
+
*/
|
|
9778
9868
|
declare const sdkConfigV1SourceSpecSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
9779
9869
|
path: z.ZodString;
|
|
9780
|
-
id: z.ZodString;
|
|
9781
9870
|
type: z.ZodEnum<{
|
|
9782
9871
|
openapi: "openapi";
|
|
9783
9872
|
swagger: "swagger";
|
|
@@ -9785,6 +9874,9 @@ declare const sdkConfigV1SourceSpecSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
9785
9874
|
asyncapi: "asyncapi";
|
|
9786
9875
|
graphql: "graphql";
|
|
9787
9876
|
}>;
|
|
9877
|
+
overlays: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
9878
|
+
overrides: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
9879
|
+
id: z.ZodString;
|
|
9788
9880
|
name: z.ZodOptional<z.ZodString>;
|
|
9789
9881
|
namespace: z.ZodOptional<z.ZodString>;
|
|
9790
9882
|
apiImportSettings: z.ZodOptional<z.ZodObject<{
|
|
@@ -9820,12 +9912,10 @@ declare const sdkConfigV1SourceSpecSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
9820
9912
|
uint32: "uint32";
|
|
9821
9913
|
uint64: "uint64";
|
|
9822
9914
|
}>>;
|
|
9915
|
+
respectByteFormat: z.ZodOptional<z.ZodBoolean>;
|
|
9823
9916
|
}, z.core.$strict>>;
|
|
9824
|
-
overlays: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
9825
|
-
overrides: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
9826
9917
|
}, z.core.$strict>, z.ZodObject<{
|
|
9827
9918
|
url: z.ZodURL;
|
|
9828
|
-
id: z.ZodString;
|
|
9829
9919
|
type: z.ZodEnum<{
|
|
9830
9920
|
openapi: "openapi";
|
|
9831
9921
|
swagger: "swagger";
|
|
@@ -9833,6 +9923,9 @@ declare const sdkConfigV1SourceSpecSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
9833
9923
|
asyncapi: "asyncapi";
|
|
9834
9924
|
graphql: "graphql";
|
|
9835
9925
|
}>;
|
|
9926
|
+
overlays: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
9927
|
+
overrides: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
9928
|
+
id: z.ZodString;
|
|
9836
9929
|
name: z.ZodOptional<z.ZodString>;
|
|
9837
9930
|
namespace: z.ZodOptional<z.ZodString>;
|
|
9838
9931
|
apiImportSettings: z.ZodOptional<z.ZodObject<{
|
|
@@ -9868,14 +9961,65 @@ declare const sdkConfigV1SourceSpecSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
9868
9961
|
uint32: "uint32";
|
|
9869
9962
|
uint64: "uint64";
|
|
9870
9963
|
}>>;
|
|
9964
|
+
respectByteFormat: z.ZodOptional<z.ZodBoolean>;
|
|
9965
|
+
}, z.core.$strict>>;
|
|
9966
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
9967
|
+
proto: z.ZodObject<{
|
|
9968
|
+
root: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
9969
|
+
git: z.ZodObject<{
|
|
9970
|
+
repo: z.ZodString;
|
|
9971
|
+
ref: z.ZodOptional<z.ZodString>;
|
|
9972
|
+
path: z.ZodString;
|
|
9973
|
+
}, z.core.$strict>;
|
|
9974
|
+
}, z.core.$strict>]>;
|
|
9975
|
+
target: z.ZodOptional<z.ZodString>;
|
|
9976
|
+
overrides: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
9977
|
+
dependencies: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
9978
|
+
localGeneration: z.ZodOptional<z.ZodBoolean>;
|
|
9979
|
+
fromOpenApi: z.ZodDefault<z.ZodBoolean>;
|
|
9980
|
+
}, z.core.$strict>;
|
|
9981
|
+
id: z.ZodString;
|
|
9982
|
+
name: z.ZodOptional<z.ZodString>;
|
|
9983
|
+
namespace: z.ZodOptional<z.ZodString>;
|
|
9984
|
+
apiImportSettings: z.ZodOptional<z.ZodObject<{
|
|
9985
|
+
respectNullableSchemas: z.ZodOptional<z.ZodBoolean>;
|
|
9986
|
+
titleAsSchemaName: z.ZodOptional<z.ZodBoolean>;
|
|
9987
|
+
coerceEnumsToLiterals: z.ZodOptional<z.ZodBoolean>;
|
|
9988
|
+
idiomaticRequestNames: z.ZodOptional<z.ZodBoolean>;
|
|
9989
|
+
wrapReferencesToNullableInOptional: z.ZodOptional<z.ZodBoolean>;
|
|
9990
|
+
coerceOptionalSchemasToNullable: z.ZodOptional<z.ZodBoolean>;
|
|
9991
|
+
pathParameterOrder: z.ZodOptional<z.ZodEnum<{
|
|
9992
|
+
"url-order": "url-order";
|
|
9993
|
+
"spec-order": "spec-order";
|
|
9994
|
+
}>>;
|
|
9995
|
+
onlyIncludeReferencedSchemas: z.ZodOptional<z.ZodBoolean>;
|
|
9996
|
+
objectQueryParameters: z.ZodOptional<z.ZodBoolean>;
|
|
9997
|
+
typeDatesAsStrings: z.ZodOptional<z.ZodBoolean>;
|
|
9998
|
+
groupMultiApiEnvironments: z.ZodOptional<z.ZodBoolean>;
|
|
9999
|
+
ignoreTags: z.ZodOptional<z.ZodBoolean>;
|
|
10000
|
+
disambiguateRequestNames: z.ZodOptional<z.ZodBoolean>;
|
|
10001
|
+
respectReadonlySchemas: z.ZodOptional<z.ZodBoolean>;
|
|
10002
|
+
discriminatedUnionV2: z.ZodOptional<z.ZodBoolean>;
|
|
10003
|
+
undiscriminatedUnionsWithLiterals: z.ZodOptional<z.ZodBoolean>;
|
|
10004
|
+
inlineAllOfSchemas: z.ZodOptional<z.ZodBoolean>;
|
|
10005
|
+
inferDiscriminatedUnionBaseProperties: z.ZodOptional<z.ZodBoolean>;
|
|
10006
|
+
resolveSchemaCollisions: z.ZodOptional<z.ZodBoolean>;
|
|
10007
|
+
asyncApiMessageNaming: z.ZodOptional<z.ZodEnum<{
|
|
10008
|
+
v1: "v1";
|
|
10009
|
+
v2: "v2";
|
|
10010
|
+
}>>;
|
|
10011
|
+
defaultIntegerFormat: z.ZodOptional<z.ZodEnum<{
|
|
10012
|
+
int32: "int32";
|
|
10013
|
+
int64: "int64";
|
|
10014
|
+
uint32: "uint32";
|
|
10015
|
+
uint64: "uint64";
|
|
10016
|
+
}>>;
|
|
10017
|
+
respectByteFormat: z.ZodOptional<z.ZodBoolean>;
|
|
9871
10018
|
}, z.core.$strict>>;
|
|
9872
|
-
overlays: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
9873
|
-
overrides: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
9874
10019
|
}, z.core.$strict>]>;
|
|
9875
10020
|
declare const sdkConfigV1SourceConfigSchema: z.ZodObject<{
|
|
9876
10021
|
specs: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
9877
10022
|
path: z.ZodString;
|
|
9878
|
-
id: z.ZodString;
|
|
9879
10023
|
type: z.ZodEnum<{
|
|
9880
10024
|
openapi: "openapi";
|
|
9881
10025
|
swagger: "swagger";
|
|
@@ -9883,6 +10027,9 @@ declare const sdkConfigV1SourceConfigSchema: z.ZodObject<{
|
|
|
9883
10027
|
asyncapi: "asyncapi";
|
|
9884
10028
|
graphql: "graphql";
|
|
9885
10029
|
}>;
|
|
10030
|
+
overlays: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
10031
|
+
overrides: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
10032
|
+
id: z.ZodString;
|
|
9886
10033
|
name: z.ZodOptional<z.ZodString>;
|
|
9887
10034
|
namespace: z.ZodOptional<z.ZodString>;
|
|
9888
10035
|
apiImportSettings: z.ZodOptional<z.ZodObject<{
|
|
@@ -9918,12 +10065,10 @@ declare const sdkConfigV1SourceConfigSchema: z.ZodObject<{
|
|
|
9918
10065
|
uint32: "uint32";
|
|
9919
10066
|
uint64: "uint64";
|
|
9920
10067
|
}>>;
|
|
10068
|
+
respectByteFormat: z.ZodOptional<z.ZodBoolean>;
|
|
9921
10069
|
}, z.core.$strict>>;
|
|
9922
|
-
overlays: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
9923
|
-
overrides: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
9924
10070
|
}, z.core.$strict>, z.ZodObject<{
|
|
9925
10071
|
url: z.ZodURL;
|
|
9926
|
-
id: z.ZodString;
|
|
9927
10072
|
type: z.ZodEnum<{
|
|
9928
10073
|
openapi: "openapi";
|
|
9929
10074
|
swagger: "swagger";
|
|
@@ -9931,6 +10076,9 @@ declare const sdkConfigV1SourceConfigSchema: z.ZodObject<{
|
|
|
9931
10076
|
asyncapi: "asyncapi";
|
|
9932
10077
|
graphql: "graphql";
|
|
9933
10078
|
}>;
|
|
10079
|
+
overlays: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
10080
|
+
overrides: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
10081
|
+
id: z.ZodString;
|
|
9934
10082
|
name: z.ZodOptional<z.ZodString>;
|
|
9935
10083
|
namespace: z.ZodOptional<z.ZodString>;
|
|
9936
10084
|
apiImportSettings: z.ZodOptional<z.ZodObject<{
|
|
@@ -9966,9 +10114,61 @@ declare const sdkConfigV1SourceConfigSchema: z.ZodObject<{
|
|
|
9966
10114
|
uint32: "uint32";
|
|
9967
10115
|
uint64: "uint64";
|
|
9968
10116
|
}>>;
|
|
10117
|
+
respectByteFormat: z.ZodOptional<z.ZodBoolean>;
|
|
10118
|
+
}, z.core.$strict>>;
|
|
10119
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
10120
|
+
proto: z.ZodObject<{
|
|
10121
|
+
root: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
10122
|
+
git: z.ZodObject<{
|
|
10123
|
+
repo: z.ZodString;
|
|
10124
|
+
ref: z.ZodOptional<z.ZodString>;
|
|
10125
|
+
path: z.ZodString;
|
|
10126
|
+
}, z.core.$strict>;
|
|
10127
|
+
}, z.core.$strict>]>;
|
|
10128
|
+
target: z.ZodOptional<z.ZodString>;
|
|
10129
|
+
overrides: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
10130
|
+
dependencies: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
10131
|
+
localGeneration: z.ZodOptional<z.ZodBoolean>;
|
|
10132
|
+
fromOpenApi: z.ZodDefault<z.ZodBoolean>;
|
|
10133
|
+
}, z.core.$strict>;
|
|
10134
|
+
id: z.ZodString;
|
|
10135
|
+
name: z.ZodOptional<z.ZodString>;
|
|
10136
|
+
namespace: z.ZodOptional<z.ZodString>;
|
|
10137
|
+
apiImportSettings: z.ZodOptional<z.ZodObject<{
|
|
10138
|
+
respectNullableSchemas: z.ZodOptional<z.ZodBoolean>;
|
|
10139
|
+
titleAsSchemaName: z.ZodOptional<z.ZodBoolean>;
|
|
10140
|
+
coerceEnumsToLiterals: z.ZodOptional<z.ZodBoolean>;
|
|
10141
|
+
idiomaticRequestNames: z.ZodOptional<z.ZodBoolean>;
|
|
10142
|
+
wrapReferencesToNullableInOptional: z.ZodOptional<z.ZodBoolean>;
|
|
10143
|
+
coerceOptionalSchemasToNullable: z.ZodOptional<z.ZodBoolean>;
|
|
10144
|
+
pathParameterOrder: z.ZodOptional<z.ZodEnum<{
|
|
10145
|
+
"url-order": "url-order";
|
|
10146
|
+
"spec-order": "spec-order";
|
|
10147
|
+
}>>;
|
|
10148
|
+
onlyIncludeReferencedSchemas: z.ZodOptional<z.ZodBoolean>;
|
|
10149
|
+
objectQueryParameters: z.ZodOptional<z.ZodBoolean>;
|
|
10150
|
+
typeDatesAsStrings: z.ZodOptional<z.ZodBoolean>;
|
|
10151
|
+
groupMultiApiEnvironments: z.ZodOptional<z.ZodBoolean>;
|
|
10152
|
+
ignoreTags: z.ZodOptional<z.ZodBoolean>;
|
|
10153
|
+
disambiguateRequestNames: z.ZodOptional<z.ZodBoolean>;
|
|
10154
|
+
respectReadonlySchemas: z.ZodOptional<z.ZodBoolean>;
|
|
10155
|
+
discriminatedUnionV2: z.ZodOptional<z.ZodBoolean>;
|
|
10156
|
+
undiscriminatedUnionsWithLiterals: z.ZodOptional<z.ZodBoolean>;
|
|
10157
|
+
inlineAllOfSchemas: z.ZodOptional<z.ZodBoolean>;
|
|
10158
|
+
inferDiscriminatedUnionBaseProperties: z.ZodOptional<z.ZodBoolean>;
|
|
10159
|
+
resolveSchemaCollisions: z.ZodOptional<z.ZodBoolean>;
|
|
10160
|
+
asyncApiMessageNaming: z.ZodOptional<z.ZodEnum<{
|
|
10161
|
+
v1: "v1";
|
|
10162
|
+
v2: "v2";
|
|
10163
|
+
}>>;
|
|
10164
|
+
defaultIntegerFormat: z.ZodOptional<z.ZodEnum<{
|
|
10165
|
+
int32: "int32";
|
|
10166
|
+
int64: "int64";
|
|
10167
|
+
uint32: "uint32";
|
|
10168
|
+
uint64: "uint64";
|
|
10169
|
+
}>>;
|
|
10170
|
+
respectByteFormat: z.ZodOptional<z.ZodBoolean>;
|
|
9969
10171
|
}, z.core.$strict>>;
|
|
9970
|
-
overlays: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
9971
|
-
overrides: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
9972
10172
|
}, z.core.$strict>]>>;
|
|
9973
10173
|
apiImportSettings: z.ZodOptional<z.ZodObject<{
|
|
9974
10174
|
respectNullableSchemas: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -10003,8 +10203,12 @@ declare const sdkConfigV1SourceConfigSchema: z.ZodObject<{
|
|
|
10003
10203
|
uint32: "uint32";
|
|
10004
10204
|
uint64: "uint64";
|
|
10005
10205
|
}>>;
|
|
10206
|
+
respectByteFormat: z.ZodOptional<z.ZodBoolean>;
|
|
10006
10207
|
}, z.core.$strict>>;
|
|
10007
10208
|
}, z.core.$strict>;
|
|
10209
|
+
type SdkConfigV1GitRemote = z.infer<typeof sdkConfigV1GitRemoteSchema>;
|
|
10210
|
+
type SdkConfigV1ProtobufRoot = z.infer<typeof sdkConfigV1ProtobufRootSchema>;
|
|
10211
|
+
type SdkConfigV1ProtobufSource = z.infer<typeof sdkConfigV1ProtobufSourceSchema>;
|
|
10008
10212
|
type SdkConfigV1SourceSpec = z.infer<typeof sdkConfigV1SourceSpecSchema>;
|
|
10009
10213
|
type SdkConfigV1SourceConfig = z.infer<typeof sdkConfigV1SourceConfigSchema>;
|
|
10010
10214
|
|
|
@@ -12834,6 +13038,10 @@ declare const sdkConfigV1TargetSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
12834
13038
|
v0: "v0";
|
|
12835
13039
|
}>>;
|
|
12836
13040
|
includeLegacyClientOptions: z.ZodOptional<z.ZodBoolean>;
|
|
13041
|
+
packageLayout: z.ZodOptional<z.ZodEnum<{
|
|
13042
|
+
root: "root";
|
|
13043
|
+
types: "types";
|
|
13044
|
+
}>>;
|
|
12837
13045
|
}, z.core.$strict>>;
|
|
12838
13046
|
}, z.core.$strict>, z.ZodObject<{
|
|
12839
13047
|
generatorVersion: z.ZodOptional<z.ZodString>;
|
|
@@ -17419,4 +17627,4 @@ declare class FernConfigMappingError extends Error {
|
|
|
17419
17627
|
/** Converts one resolved Fern generator group into a validated customer-facing SDK Config. */
|
|
17420
17628
|
declare function mapFernConfigToSdkConfigV1(input: FernResolvedGeneratorGroupInput): FernConfigMappingResult;
|
|
17421
17629
|
|
|
17422
|
-
export { type FernConfigMappingDiagnostic, FernConfigMappingError, type FernConfigMappingResult, type FernResolvedGeneratorGroupInput, type FernResolvedGeneratorInput, type FernSdkConfigLanguage, SDK_CONFIG_V1_SCHEMA_VERSION, type SdkConfigV1, type SdkConfigV1ApiConfig, type SdkConfigV1ApiConfigInput, type SdkConfigV1CliOutputConfig, type SdkConfigV1ClientConfig, type SdkConfigV1ClientConfigInput, type SdkConfigV1ClientConfigOverride, type SdkConfigV1Dependency, SdkConfigDiagnostic as SdkConfigV1Diagnostic, type SdkConfigV1DocsConfig, type SdkConfigV1Document, type SdkConfigV1GenerationConfig, type SdkConfigV1GenerationConfigInput, type SdkConfigV1GenerationConfigOverride, type SdkConfigV1Input, type SdkConfigV1OutputConfig, type SdkConfigV1PackageConfig, type SdkConfigV1PublishConfig, type SdkConfigV1PublishRegistry, type SdkConfigV1ReplayConfig, type SdkConfigV1SourceConfig, type SdkConfigV1SourceSpec, type SdkConfigV1Target, type SdkConfigV1WebhookSignature, type SdkConfigV1WebhookSignatureInput, getSdkConfigV1Diagnostics, mapFernConfigToSdkConfigV1, parseSdkConfigV1, parseSdkConfigV1ForConsumption, sdkConfigV1ApiConfigSchema, sdkConfigV1AuthConfigSchema, sdkConfigV1AuthSchemeSchema, sdkConfigV1CliOutputConfigSchema, sdkConfigV1ClientConfigOverrideSchema, sdkConfigV1ClientConfigSchema, sdkConfigV1DependencySchema, sdkConfigV1DocsConfigSchema, sdkConfigV1GenerationConfigOverrideSchema, sdkConfigV1GenerationConfigSchema, sdkConfigV1OutputConfigSchema, sdkConfigV1PackageConfigSchema, sdkConfigV1PublishConfigSchema, sdkConfigV1PublishRegistrySchema, sdkConfigV1ReadmeCustomSectionSchema, sdkConfigV1ReadmeEndpointSchema, sdkConfigV1ReplayConfigSchema, sdkConfigV1Schema, sdkConfigV1SourceConfigSchema, sdkConfigV1SourceSpecSchema, sdkConfigV1TargetSchema, sdkConfigV1WebhookSignatureSchema, splitSdkConfigV1TargetGeneration, validateSdkConfigV1 };
|
|
17630
|
+
export { type FernConfigMappingDiagnostic, FernConfigMappingError, type FernConfigMappingResult, type FernResolvedGeneratorGroupInput, type FernResolvedGeneratorInput, type FernSdkConfigLanguage, SDK_CONFIG_V1_SCHEMA_VERSION, type SdkConfigV1, type SdkConfigV1ApiConfig, type SdkConfigV1ApiConfigInput, type SdkConfigV1CliOutputConfig, type SdkConfigV1ClientConfig, type SdkConfigV1ClientConfigInput, type SdkConfigV1ClientConfigOverride, type SdkConfigV1Dependency, SdkConfigDiagnostic as SdkConfigV1Diagnostic, type SdkConfigV1DocsConfig, type SdkConfigV1Document, type SdkConfigV1GenerationConfig, type SdkConfigV1GenerationConfigInput, type SdkConfigV1GenerationConfigOverride, type SdkConfigV1GitRemote, type SdkConfigV1Input, type SdkConfigV1OutputConfig, type SdkConfigV1PackageConfig, type SdkConfigV1ProtobufRoot, type SdkConfigV1ProtobufSource, type SdkConfigV1PublishConfig, type SdkConfigV1PublishRegistry, type SdkConfigV1ReplayConfig, type SdkConfigV1SourceConfig, type SdkConfigV1SourceSpec, type SdkConfigV1Target, type SdkConfigV1WebhookSignature, type SdkConfigV1WebhookSignatureInput, getSdkConfigV1Diagnostics, mapFernConfigToSdkConfigV1, parseSdkConfigV1, parseSdkConfigV1ForConsumption, sdkConfigV1ApiConfigSchema, sdkConfigV1AuthConfigSchema, sdkConfigV1AuthSchemeSchema, sdkConfigV1CliOutputConfigSchema, sdkConfigV1ClientConfigOverrideSchema, sdkConfigV1ClientConfigSchema, sdkConfigV1DependencySchema, sdkConfigV1DocsConfigSchema, sdkConfigV1GenerationConfigOverrideSchema, sdkConfigV1GenerationConfigSchema, sdkConfigV1GitRemoteSchema, sdkConfigV1OutputConfigSchema, sdkConfigV1PackageConfigSchema, sdkConfigV1ProtobufRootSchema, sdkConfigV1ProtobufSourceSchema, sdkConfigV1PublishConfigSchema, sdkConfigV1PublishRegistrySchema, sdkConfigV1ReadmeCustomSectionSchema, sdkConfigV1ReadmeEndpointSchema, sdkConfigV1ReplayConfigSchema, sdkConfigV1Schema, sdkConfigV1SourceConfigSchema, sdkConfigV1SourceSpecSchema, sdkConfigV1TargetSchema, sdkConfigV1WebhookSignatureSchema, splitSdkConfigV1TargetGeneration, validateSdkConfigV1 };
|