@postman/sdk-config 0.16.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 +76 -17
- 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 +71 -18
- package/dist/index.js.map +1 -1
- package/dist/sdk-config/index.cjs +64 -17
- 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 +61 -18
- package/dist/sdk-config/index.js.map +1 -1
- package/dist/sdk-config/v1/index.cjs +64 -17
- package/dist/sdk-config/v1/index.cjs.map +1 -1
- package/dist/sdk-config/v1/index.d.cts +222 -22
- package/dist/sdk-config/v1/index.d.ts +222 -22
- package/dist/sdk-config/v1/index.js +61 -18
- package/dist/sdk-config/v1/index.js.map +1 -1
- package/dist/sdk-config-ir/index.cjs +18 -1
- 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 +17 -2
- package/dist/sdk-config-ir/index.js.map +1 -1
- package/dist/sdk-config-ir/v1/index.cjs +18 -1
- package/dist/sdk-config-ir/v1/index.cjs.map +1 -1
- package/dist/sdk-config-ir/v1/index.d.cts +22 -3
- package/dist/sdk-config-ir/v1/index.d.ts +22 -3
- package/dist/sdk-config-ir/v1/index.js +17 -2
- package/dist/sdk-config-ir/v1/index.js.map +1 -1
- package/dist/{typescript-Cc50beVo.d.cts → typescript-D0YeGxxS.d.cts} +6 -1
- package/dist/{typescript-Cc50beVo.d.ts → typescript-D0YeGxxS.d.ts} +6 -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<{
|
|
@@ -9778,10 +9834,39 @@ declare const sdkConfigV1ReplayConfigSchema: z.ZodObject<{
|
|
|
9778
9834
|
}, z.core.$strict>;
|
|
9779
9835
|
type SdkConfigV1ReplayConfig = z.infer<typeof sdkConfigV1ReplayConfigSchema>;
|
|
9780
9836
|
|
|
9781
|
-
|
|
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
|
+
*/
|
|
9782
9868
|
declare const sdkConfigV1SourceSpecSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
9783
9869
|
path: z.ZodString;
|
|
9784
|
-
id: z.ZodString;
|
|
9785
9870
|
type: z.ZodEnum<{
|
|
9786
9871
|
openapi: "openapi";
|
|
9787
9872
|
swagger: "swagger";
|
|
@@ -9789,6 +9874,9 @@ declare const sdkConfigV1SourceSpecSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
9789
9874
|
asyncapi: "asyncapi";
|
|
9790
9875
|
graphql: "graphql";
|
|
9791
9876
|
}>;
|
|
9877
|
+
overlays: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
9878
|
+
overrides: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
9879
|
+
id: z.ZodString;
|
|
9792
9880
|
name: z.ZodOptional<z.ZodString>;
|
|
9793
9881
|
namespace: z.ZodOptional<z.ZodString>;
|
|
9794
9882
|
apiImportSettings: z.ZodOptional<z.ZodObject<{
|
|
@@ -9824,12 +9912,10 @@ declare const sdkConfigV1SourceSpecSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
9824
9912
|
uint32: "uint32";
|
|
9825
9913
|
uint64: "uint64";
|
|
9826
9914
|
}>>;
|
|
9915
|
+
respectByteFormat: z.ZodOptional<z.ZodBoolean>;
|
|
9827
9916
|
}, z.core.$strict>>;
|
|
9828
|
-
overlays: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
9829
|
-
overrides: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
9830
9917
|
}, z.core.$strict>, z.ZodObject<{
|
|
9831
9918
|
url: z.ZodURL;
|
|
9832
|
-
id: z.ZodString;
|
|
9833
9919
|
type: z.ZodEnum<{
|
|
9834
9920
|
openapi: "openapi";
|
|
9835
9921
|
swagger: "swagger";
|
|
@@ -9837,6 +9923,9 @@ declare const sdkConfigV1SourceSpecSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
9837
9923
|
asyncapi: "asyncapi";
|
|
9838
9924
|
graphql: "graphql";
|
|
9839
9925
|
}>;
|
|
9926
|
+
overlays: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
9927
|
+
overrides: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
9928
|
+
id: z.ZodString;
|
|
9840
9929
|
name: z.ZodOptional<z.ZodString>;
|
|
9841
9930
|
namespace: z.ZodOptional<z.ZodString>;
|
|
9842
9931
|
apiImportSettings: z.ZodOptional<z.ZodObject<{
|
|
@@ -9872,14 +9961,65 @@ declare const sdkConfigV1SourceSpecSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
9872
9961
|
uint32: "uint32";
|
|
9873
9962
|
uint64: "uint64";
|
|
9874
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>;
|
|
9875
10018
|
}, z.core.$strict>>;
|
|
9876
|
-
overlays: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
9877
|
-
overrides: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
9878
10019
|
}, z.core.$strict>]>;
|
|
9879
10020
|
declare const sdkConfigV1SourceConfigSchema: z.ZodObject<{
|
|
9880
10021
|
specs: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
9881
10022
|
path: z.ZodString;
|
|
9882
|
-
id: z.ZodString;
|
|
9883
10023
|
type: z.ZodEnum<{
|
|
9884
10024
|
openapi: "openapi";
|
|
9885
10025
|
swagger: "swagger";
|
|
@@ -9887,6 +10027,9 @@ declare const sdkConfigV1SourceConfigSchema: z.ZodObject<{
|
|
|
9887
10027
|
asyncapi: "asyncapi";
|
|
9888
10028
|
graphql: "graphql";
|
|
9889
10029
|
}>;
|
|
10030
|
+
overlays: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
10031
|
+
overrides: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
10032
|
+
id: z.ZodString;
|
|
9890
10033
|
name: z.ZodOptional<z.ZodString>;
|
|
9891
10034
|
namespace: z.ZodOptional<z.ZodString>;
|
|
9892
10035
|
apiImportSettings: z.ZodOptional<z.ZodObject<{
|
|
@@ -9922,12 +10065,10 @@ declare const sdkConfigV1SourceConfigSchema: z.ZodObject<{
|
|
|
9922
10065
|
uint32: "uint32";
|
|
9923
10066
|
uint64: "uint64";
|
|
9924
10067
|
}>>;
|
|
10068
|
+
respectByteFormat: z.ZodOptional<z.ZodBoolean>;
|
|
9925
10069
|
}, z.core.$strict>>;
|
|
9926
|
-
overlays: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
9927
|
-
overrides: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
9928
10070
|
}, z.core.$strict>, z.ZodObject<{
|
|
9929
10071
|
url: z.ZodURL;
|
|
9930
|
-
id: z.ZodString;
|
|
9931
10072
|
type: z.ZodEnum<{
|
|
9932
10073
|
openapi: "openapi";
|
|
9933
10074
|
swagger: "swagger";
|
|
@@ -9935,6 +10076,9 @@ declare const sdkConfigV1SourceConfigSchema: z.ZodObject<{
|
|
|
9935
10076
|
asyncapi: "asyncapi";
|
|
9936
10077
|
graphql: "graphql";
|
|
9937
10078
|
}>;
|
|
10079
|
+
overlays: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
10080
|
+
overrides: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
10081
|
+
id: z.ZodString;
|
|
9938
10082
|
name: z.ZodOptional<z.ZodString>;
|
|
9939
10083
|
namespace: z.ZodOptional<z.ZodString>;
|
|
9940
10084
|
apiImportSettings: z.ZodOptional<z.ZodObject<{
|
|
@@ -9970,9 +10114,61 @@ declare const sdkConfigV1SourceConfigSchema: z.ZodObject<{
|
|
|
9970
10114
|
uint32: "uint32";
|
|
9971
10115
|
uint64: "uint64";
|
|
9972
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>;
|
|
9973
10171
|
}, z.core.$strict>>;
|
|
9974
|
-
overlays: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
9975
|
-
overrides: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
9976
10172
|
}, z.core.$strict>]>>;
|
|
9977
10173
|
apiImportSettings: z.ZodOptional<z.ZodObject<{
|
|
9978
10174
|
respectNullableSchemas: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -10007,8 +10203,12 @@ declare const sdkConfigV1SourceConfigSchema: z.ZodObject<{
|
|
|
10007
10203
|
uint32: "uint32";
|
|
10008
10204
|
uint64: "uint64";
|
|
10009
10205
|
}>>;
|
|
10206
|
+
respectByteFormat: z.ZodOptional<z.ZodBoolean>;
|
|
10010
10207
|
}, z.core.$strict>>;
|
|
10011
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>;
|
|
10012
10212
|
type SdkConfigV1SourceSpec = z.infer<typeof sdkConfigV1SourceSpecSchema>;
|
|
10013
10213
|
type SdkConfigV1SourceConfig = z.infer<typeof sdkConfigV1SourceConfigSchema>;
|
|
10014
10214
|
|
|
@@ -17427,4 +17627,4 @@ declare class FernConfigMappingError extends Error {
|
|
|
17427
17627
|
/** Converts one resolved Fern generator group into a validated customer-facing SDK Config. */
|
|
17428
17628
|
declare function mapFernConfigToSdkConfigV1(input: FernResolvedGeneratorGroupInput): FernConfigMappingResult;
|
|
17429
17629
|
|
|
17430
|
-
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 };
|