@postman/sdk-config 0.0.4 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +124 -101
- package/dist/index.cjs +2119 -282
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.js +2080 -283
- package/dist/index.js.map +1 -1
- package/dist/sdk-config/index.cjs +2238 -0
- package/dist/sdk-config/index.cjs.map +1 -0
- package/dist/sdk-config/index.d.cts +3 -0
- package/dist/sdk-config/index.d.ts +3 -0
- package/dist/sdk-config/index.js +2196 -0
- package/dist/sdk-config/index.js.map +1 -0
- package/dist/sdk-config/v1/index.cjs +2238 -0
- package/dist/sdk-config/v1/index.cjs.map +1 -0
- package/dist/sdk-config/v1/index.d.cts +8644 -0
- package/dist/sdk-config/v1/index.d.ts +8644 -0
- package/dist/sdk-config/v1/index.js +2196 -0
- package/dist/sdk-config/v1/index.js.map +1 -0
- package/dist/sdk-config-ir/index.cjs +160 -25
- package/dist/sdk-config-ir/index.cjs.map +1 -1
- package/dist/sdk-config-ir/index.d.cts +2 -1
- package/dist/sdk-config-ir/index.d.ts +2 -1
- package/dist/sdk-config-ir/index.js +158 -26
- package/dist/sdk-config-ir/index.js.map +1 -1
- package/dist/sdk-config-ir/v1/index.cjs +160 -25
- package/dist/sdk-config-ir/v1/index.cjs.map +1 -1
- package/dist/sdk-config-ir/v1/index.d.cts +458 -428
- package/dist/sdk-config-ir/v1/index.d.ts +458 -428
- package/dist/sdk-config-ir/v1/index.js +158 -26
- package/dist/sdk-config-ir/v1/index.js.map +1 -1
- package/dist/typescript-DK97815_.d.cts +427 -0
- package/dist/typescript-DK97815_.d.ts +427 -0
- package/package.json +16 -3
- package/src/sdk-config/v1/README.md +135 -0
- package/src/sdk-config-ir/v1/README.md +44 -26
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { b as JsonObject } from '../../typescript-DK97815_.cjs';
|
|
2
|
+
export { C as CliGenerationConfig, a as CsharpGenerationConfig, D as Dependency, G as GoGenerationConfig, J as JavaGenerationConfig, c as JsonValue, K as KotlinGenerationConfig, M as McpAvailabilityStatus, d as McpGenerationConfig, e as McpToolFilter, P as PackageConfig, f as PhpGenerationConfig, g as PlanModifiers, h as PythonGenerationConfig, R as RubyGenerationConfig, i as RustGenerationConfig, S as SwiftGenerationConfig, T as TerraformGenerationConfig, j as TypescriptGenerationConfig, k as cliGenerationConfigSchema, l as composerPackageNameSchema, m as csharpGenerationConfigSchema, n as dependencySchema, o as exactSemverSchema, p as goGenerationConfigSchema, q as goModulePathSchema, r as javaGenerationConfigSchema, s as jsonObjectSchema, t as jsonValueSchema, u as kotlinGenerationConfigSchema, v as mcpAvailabilityStatuses, w as mcpGenerationConfigSchema, x as nonEmptyStringSchema, y as packageConfigSchema, z as phpGenerationConfigSchema, A as pythonGenerationConfigSchema, B as relativePathSchema, E as rubyGenerationConfigSchema, F as rustGenerationConfigSchema, H as swiftGenerationConfigSchema, I as terraformGenerationConfigSchema, L as typescriptGenerationConfigSchema } from '../../typescript-DK97815_.cjs';
|
|
1
3
|
import { z } from 'zod';
|
|
2
4
|
|
|
3
5
|
declare const authSchemeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -344,6 +346,13 @@ declare const apiConfigSchema: z.ZodObject<{
|
|
|
344
346
|
description: z.ZodOptional<z.ZodString>;
|
|
345
347
|
environmentVariable: z.ZodOptional<z.ZodString>;
|
|
346
348
|
}, z.core.$strict>>>;
|
|
349
|
+
/**
|
|
350
|
+
* Selects the named `x-fern-audiences`.
|
|
351
|
+
*
|
|
352
|
+
* Absent means all audiences. A present empty array selects no tagged audience: untagged nodes
|
|
353
|
+
* remain included, while every audience-tagged node is excluded.
|
|
354
|
+
*/
|
|
355
|
+
audiences: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
347
356
|
}, z.core.$strict>;
|
|
348
357
|
type AuthScheme = z.infer<typeof authSchemeSchema>;
|
|
349
358
|
type AuthConfig = z.infer<typeof authConfigSchema>;
|
|
@@ -392,6 +401,7 @@ declare const clientConfigSchema: z.ZodObject<{
|
|
|
392
401
|
"language-default": "language-default";
|
|
393
402
|
}>>;
|
|
394
403
|
useDefaultRequestParameterValues: z.ZodOptional<z.ZodBoolean>;
|
|
404
|
+
respectOptionalRequestBody: z.ZodOptional<z.ZodBoolean>;
|
|
395
405
|
tokenRefresh: z.ZodOptional<z.ZodObject<{
|
|
396
406
|
enabled: z.ZodBoolean;
|
|
397
407
|
endpoint: z.ZodOptional<z.ZodString>;
|
|
@@ -402,19 +412,10 @@ declare const clientConfigSchema: z.ZodObject<{
|
|
|
402
412
|
type ClientConfigInput = z.input<typeof clientConfigSchema>;
|
|
403
413
|
type ClientConfig = z.output<typeof clientConfigSchema>;
|
|
404
414
|
|
|
405
|
-
declare const nonEmptyStringSchema: z.ZodString;
|
|
406
|
-
declare const exactSemverSchema: z.ZodString;
|
|
407
|
-
type JsonValue = null | boolean | number | string | JsonValue[] | JsonObject;
|
|
408
|
-
type JsonObject = {
|
|
409
|
-
[key: string]: JsonValue;
|
|
410
|
-
};
|
|
411
|
-
declare const jsonValueSchema: z.ZodType<JsonValue>;
|
|
412
|
-
declare const jsonObjectSchema: z.ZodType<JsonObject>;
|
|
413
|
-
|
|
414
415
|
declare const unsupportedFieldSchema: z.ZodObject<{
|
|
415
416
|
source: z.ZodEnum<{
|
|
416
|
-
fern: "fern";
|
|
417
417
|
postman: "postman";
|
|
418
|
+
fern: "fern";
|
|
418
419
|
"sdk-config-ir": "sdk-config-ir";
|
|
419
420
|
}>;
|
|
420
421
|
path: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
@@ -455,8 +456,8 @@ declare const compatibilityConfigSchema: z.ZodObject<{
|
|
|
455
456
|
}, z.core.$strict>], "kind">>;
|
|
456
457
|
unsupportedFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
457
458
|
source: z.ZodEnum<{
|
|
458
|
-
fern: "fern";
|
|
459
459
|
postman: "postman";
|
|
460
|
+
fern: "fern";
|
|
460
461
|
"sdk-config-ir": "sdk-config-ir";
|
|
461
462
|
}>;
|
|
462
463
|
path: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
@@ -495,6 +496,10 @@ declare const readmeEndpointSchema: z.ZodObject<{
|
|
|
495
496
|
path: z.ZodString;
|
|
496
497
|
stream: z.ZodOptional<z.ZodBoolean>;
|
|
497
498
|
}, z.core.$strict>;
|
|
499
|
+
declare const readmeCustomSectionSchema: z.ZodObject<{
|
|
500
|
+
title: z.ZodString;
|
|
501
|
+
content: z.ZodString;
|
|
502
|
+
}, z.core.$strict>;
|
|
498
503
|
declare const docsConfigSchema: z.ZodObject<{
|
|
499
504
|
readme: z.ZodOptional<z.ZodObject<{
|
|
500
505
|
apiName: z.ZodOptional<z.ZodString>;
|
|
@@ -502,6 +507,10 @@ declare const docsConfigSchema: z.ZodObject<{
|
|
|
502
507
|
apiReferenceLink: z.ZodOptional<z.ZodString>;
|
|
503
508
|
bannerLink: z.ZodOptional<z.ZodString>;
|
|
504
509
|
disabledSections: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
510
|
+
customSections: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
511
|
+
title: z.ZodString;
|
|
512
|
+
content: z.ZodString;
|
|
513
|
+
}, z.core.$strict>>>;
|
|
505
514
|
defaultEndpoint: z.ZodOptional<z.ZodObject<{
|
|
506
515
|
method: z.ZodEnum<{
|
|
507
516
|
GET: "GET";
|
|
@@ -545,6 +554,7 @@ declare const docsConfigSchema: z.ZodObject<{
|
|
|
545
554
|
includeApiReference: z.ZodOptional<z.ZodBoolean>;
|
|
546
555
|
}, z.core.$strict>;
|
|
547
556
|
type ReadmeEndpoint = z.infer<typeof readmeEndpointSchema>;
|
|
557
|
+
type ReadmeCustomSection = z.infer<typeof readmeCustomSectionSchema>;
|
|
548
558
|
type DocsConfig = z.infer<typeof docsConfigSchema>;
|
|
549
559
|
|
|
550
560
|
declare const languageGenerationConfigSchema: z.ZodObject<{
|
|
@@ -591,9 +601,9 @@ declare const languageGenerationConfigSchema: z.ZodObject<{
|
|
|
591
601
|
pydanticVersion: z.ZodOptional<z.ZodString>;
|
|
592
602
|
pydantic: z.ZodOptional<z.ZodObject<{
|
|
593
603
|
versionCompatibility: z.ZodOptional<z.ZodEnum<{
|
|
604
|
+
both: "both";
|
|
594
605
|
v1: "v1";
|
|
595
606
|
v2: "v2";
|
|
596
|
-
both: "both";
|
|
597
607
|
"v1-on-v2": "v1-on-v2";
|
|
598
608
|
}>>;
|
|
599
609
|
frozen: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -621,6 +631,10 @@ declare const languageGenerationConfigSchema: z.ZodObject<{
|
|
|
621
631
|
gradleDistributionUrl: z.ZodOptional<z.ZodString>;
|
|
622
632
|
gradlePluginManagement: z.ZodOptional<z.ZodString>;
|
|
623
633
|
gradleCentralDependencyManagement: z.ZodOptional<z.ZodBoolean>;
|
|
634
|
+
asyncStyle: z.ZodOptional<z.ZodEnum<{
|
|
635
|
+
"dedicated-client": "dedicated-client";
|
|
636
|
+
"twin-methods": "twin-methods";
|
|
637
|
+
}>>;
|
|
624
638
|
includeKotlinSnippets: z.ZodOptional<z.ZodBoolean>;
|
|
625
639
|
}, z.core.$strict>>;
|
|
626
640
|
kotlin: z.ZodOptional<z.ZodObject<{
|
|
@@ -633,9 +647,15 @@ declare const languageGenerationConfigSchema: z.ZodObject<{
|
|
|
633
647
|
gradleDistributionUrl: z.ZodOptional<z.ZodString>;
|
|
634
648
|
gradlePluginManagement: z.ZodOptional<z.ZodString>;
|
|
635
649
|
gradleCentralDependencyManagement: z.ZodOptional<z.ZodBoolean>;
|
|
650
|
+
asyncStyle: z.ZodOptional<z.ZodEnum<{
|
|
651
|
+
"dedicated-client": "dedicated-client";
|
|
652
|
+
"twin-methods": "twin-methods";
|
|
653
|
+
}>>;
|
|
636
654
|
}, z.core.$strict>>;
|
|
637
655
|
go: z.ZodOptional<z.ZodObject<{
|
|
638
656
|
legacyComplexModels: z.ZodOptional<z.ZodBoolean>;
|
|
657
|
+
smartCasing: z.ZodOptional<z.ZodBoolean>;
|
|
658
|
+
clientConstructorName: z.ZodOptional<z.ZodString>;
|
|
639
659
|
unionVersion: z.ZodOptional<z.ZodEnum<{
|
|
640
660
|
v0: "v0";
|
|
641
661
|
v1: "v1";
|
|
@@ -648,6 +668,7 @@ declare const languageGenerationConfigSchema: z.ZodObject<{
|
|
|
648
668
|
explicitNamespaces: z.ZodOptional<z.ZodBoolean>;
|
|
649
669
|
rootNamespaceForCoreClasses: z.ZodOptional<z.ZodBoolean>;
|
|
650
670
|
includeExceptionHandler: z.ZodOptional<z.ZodBoolean>;
|
|
671
|
+
experimentalExplicitNullableOptional: z.ZodOptional<z.ZodBoolean>;
|
|
651
672
|
}, z.core.$strict>>;
|
|
652
673
|
php: z.ZodOptional<z.ZodObject<{
|
|
653
674
|
propertyAccess: z.ZodOptional<z.ZodEnum<{
|
|
@@ -709,9 +730,30 @@ declare const languageGenerationConfigSchema: z.ZodObject<{
|
|
|
709
730
|
name: z.ZodString;
|
|
710
731
|
command: z.ZodString;
|
|
711
732
|
}, z.core.$strict>>>;
|
|
733
|
+
serverName: z.ZodOptional<z.ZodString>;
|
|
734
|
+
serverDescription: z.ZodOptional<z.ZodString>;
|
|
735
|
+
excludeAvailability: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
736
|
+
IN_DEVELOPMENT: "IN_DEVELOPMENT";
|
|
737
|
+
PRE_RELEASE: "PRE_RELEASE";
|
|
738
|
+
GENERAL_AVAILABILITY: "GENERAL_AVAILABILITY";
|
|
739
|
+
DEPRECATED: "DEPRECATED";
|
|
740
|
+
ALPHA: "ALPHA";
|
|
741
|
+
BETA: "BETA";
|
|
742
|
+
PREVIEW: "PREVIEW";
|
|
743
|
+
LEGACY: "LEGACY";
|
|
744
|
+
}>>>;
|
|
745
|
+
tools: z.ZodOptional<z.ZodObject<{
|
|
746
|
+
include: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
747
|
+
exclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
748
|
+
}, z.core.$strict>>;
|
|
749
|
+
toolsets: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
750
|
+
include: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
751
|
+
exclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
752
|
+
}, z.core.$strict>>>;
|
|
712
753
|
}, z.core.$strict>>;
|
|
713
754
|
swift: z.ZodOptional<z.ZodObject<{
|
|
714
755
|
moduleName: z.ZodOptional<z.ZodString>;
|
|
756
|
+
nullableAsOptional: z.ZodOptional<z.ZodBoolean>;
|
|
715
757
|
}, z.core.$strict>>;
|
|
716
758
|
terraform: z.ZodOptional<z.ZodObject<{
|
|
717
759
|
providerName: z.ZodOptional<z.ZodString>;
|
|
@@ -751,17 +793,34 @@ declare const generationConfigSchema: z.ZodObject<{
|
|
|
751
793
|
devContainer: z.ZodDefault<z.ZodBoolean>;
|
|
752
794
|
allowMockClient: z.ZodDefault<z.ZodBoolean>;
|
|
753
795
|
ignoreFiles: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
796
|
+
/**
|
|
797
|
+
* Raw .fernignore file contents supplied to external publishers that need Fern ignore semantics.
|
|
798
|
+
* This is separate from generation.ignoreFiles because raw contents preserve comments, ordering,
|
|
799
|
+
* blank lines, and negation rules.
|
|
800
|
+
*/
|
|
801
|
+
fernignoreContents: z.ZodOptional<z.ZodString>;
|
|
802
|
+
/**
|
|
803
|
+
* Optional Fern definition metadata for publisher paths that need to write definition or
|
|
804
|
+
* mock-server support files. This is not required for core GitHub artifact publishing.
|
|
805
|
+
*/
|
|
806
|
+
fernDefinitionMetadata: z.ZodOptional<z.ZodObject<{
|
|
807
|
+
definitionS3DownloadUrl: z.ZodString;
|
|
808
|
+
outputPath: z.ZodOptional<z.ZodString>;
|
|
809
|
+
cliVersion: z.ZodOptional<z.ZodString>;
|
|
810
|
+
}, z.core.$strict>>;
|
|
754
811
|
reservedKeywords: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
755
812
|
hooks: z.ZodOptional<z.ZodObject<{
|
|
756
813
|
enabled: z.ZodBoolean;
|
|
757
|
-
source: z.ZodOptional<z.ZodObject<{
|
|
758
|
-
type: z.
|
|
759
|
-
path: "path";
|
|
760
|
-
url: "url";
|
|
761
|
-
artifact: "artifact";
|
|
762
|
-
}>;
|
|
814
|
+
source: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
815
|
+
type: z.ZodLiteral<"path">;
|
|
763
816
|
location: z.ZodString;
|
|
764
|
-
}, z.core.$strict
|
|
817
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
818
|
+
type: z.ZodLiteral<"url">;
|
|
819
|
+
location: z.ZodString;
|
|
820
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
821
|
+
type: z.ZodLiteral<"artifact">;
|
|
822
|
+
location: z.ZodString;
|
|
823
|
+
}, z.core.$strict>], "type">>;
|
|
765
824
|
dependencies: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
766
825
|
name: z.ZodString;
|
|
767
826
|
version: z.ZodString;
|
|
@@ -770,14 +829,16 @@ declare const generationConfigSchema: z.ZodObject<{
|
|
|
770
829
|
}, z.core.$strict>>;
|
|
771
830
|
customCode: z.ZodOptional<z.ZodObject<{
|
|
772
831
|
enabled: z.ZodBoolean;
|
|
773
|
-
source: z.ZodOptional<z.ZodObject<{
|
|
774
|
-
type: z.
|
|
775
|
-
path: "path";
|
|
776
|
-
url: "url";
|
|
777
|
-
artifact: "artifact";
|
|
778
|
-
}>;
|
|
832
|
+
source: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
833
|
+
type: z.ZodLiteral<"path">;
|
|
779
834
|
location: z.ZodString;
|
|
780
|
-
}, z.core.$strict
|
|
835
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
836
|
+
type: z.ZodLiteral<"url">;
|
|
837
|
+
location: z.ZodString;
|
|
838
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
839
|
+
type: z.ZodLiteral<"artifact">;
|
|
840
|
+
location: z.ZodString;
|
|
841
|
+
}, z.core.$strict>], "type">>;
|
|
781
842
|
conflictStrategy: z.ZodOptional<z.ZodEnum<{
|
|
782
843
|
mark: "mark";
|
|
783
844
|
ours: "ours";
|
|
@@ -823,9 +884,9 @@ declare const generationConfigSchema: z.ZodObject<{
|
|
|
823
884
|
unitTests: z.ZodOptional<z.ZodObject<{
|
|
824
885
|
enabled: z.ZodBoolean;
|
|
825
886
|
mode: z.ZodOptional<z.ZodEnum<{
|
|
826
|
-
both: "both";
|
|
827
887
|
"core-runtime": "core-runtime";
|
|
828
888
|
"schema-driven": "schema-driven";
|
|
889
|
+
both: "both";
|
|
829
890
|
}>>;
|
|
830
891
|
exclusions: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
831
892
|
}, z.core.$strict>>;
|
|
@@ -919,9 +980,9 @@ declare const generationConfigSchema: z.ZodObject<{
|
|
|
919
980
|
pydanticVersion: z.ZodOptional<z.ZodString>;
|
|
920
981
|
pydantic: z.ZodOptional<z.ZodObject<{
|
|
921
982
|
versionCompatibility: z.ZodOptional<z.ZodEnum<{
|
|
983
|
+
both: "both";
|
|
922
984
|
v1: "v1";
|
|
923
985
|
v2: "v2";
|
|
924
|
-
both: "both";
|
|
925
986
|
"v1-on-v2": "v1-on-v2";
|
|
926
987
|
}>>;
|
|
927
988
|
frozen: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -949,6 +1010,10 @@ declare const generationConfigSchema: z.ZodObject<{
|
|
|
949
1010
|
gradleDistributionUrl: z.ZodOptional<z.ZodString>;
|
|
950
1011
|
gradlePluginManagement: z.ZodOptional<z.ZodString>;
|
|
951
1012
|
gradleCentralDependencyManagement: z.ZodOptional<z.ZodBoolean>;
|
|
1013
|
+
asyncStyle: z.ZodOptional<z.ZodEnum<{
|
|
1014
|
+
"dedicated-client": "dedicated-client";
|
|
1015
|
+
"twin-methods": "twin-methods";
|
|
1016
|
+
}>>;
|
|
952
1017
|
includeKotlinSnippets: z.ZodOptional<z.ZodBoolean>;
|
|
953
1018
|
}, z.core.$strict>>;
|
|
954
1019
|
kotlin: z.ZodOptional<z.ZodObject<{
|
|
@@ -961,9 +1026,15 @@ declare const generationConfigSchema: z.ZodObject<{
|
|
|
961
1026
|
gradleDistributionUrl: z.ZodOptional<z.ZodString>;
|
|
962
1027
|
gradlePluginManagement: z.ZodOptional<z.ZodString>;
|
|
963
1028
|
gradleCentralDependencyManagement: z.ZodOptional<z.ZodBoolean>;
|
|
1029
|
+
asyncStyle: z.ZodOptional<z.ZodEnum<{
|
|
1030
|
+
"dedicated-client": "dedicated-client";
|
|
1031
|
+
"twin-methods": "twin-methods";
|
|
1032
|
+
}>>;
|
|
964
1033
|
}, z.core.$strict>>;
|
|
965
1034
|
go: z.ZodOptional<z.ZodObject<{
|
|
966
1035
|
legacyComplexModels: z.ZodOptional<z.ZodBoolean>;
|
|
1036
|
+
smartCasing: z.ZodOptional<z.ZodBoolean>;
|
|
1037
|
+
clientConstructorName: z.ZodOptional<z.ZodString>;
|
|
967
1038
|
unionVersion: z.ZodOptional<z.ZodEnum<{
|
|
968
1039
|
v0: "v0";
|
|
969
1040
|
v1: "v1";
|
|
@@ -976,6 +1047,7 @@ declare const generationConfigSchema: z.ZodObject<{
|
|
|
976
1047
|
explicitNamespaces: z.ZodOptional<z.ZodBoolean>;
|
|
977
1048
|
rootNamespaceForCoreClasses: z.ZodOptional<z.ZodBoolean>;
|
|
978
1049
|
includeExceptionHandler: z.ZodOptional<z.ZodBoolean>;
|
|
1050
|
+
experimentalExplicitNullableOptional: z.ZodOptional<z.ZodBoolean>;
|
|
979
1051
|
}, z.core.$strict>>;
|
|
980
1052
|
php: z.ZodOptional<z.ZodObject<{
|
|
981
1053
|
propertyAccess: z.ZodOptional<z.ZodEnum<{
|
|
@@ -1037,9 +1109,30 @@ declare const generationConfigSchema: z.ZodObject<{
|
|
|
1037
1109
|
name: z.ZodString;
|
|
1038
1110
|
command: z.ZodString;
|
|
1039
1111
|
}, z.core.$strict>>>;
|
|
1112
|
+
serverName: z.ZodOptional<z.ZodString>;
|
|
1113
|
+
serverDescription: z.ZodOptional<z.ZodString>;
|
|
1114
|
+
excludeAvailability: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
1115
|
+
IN_DEVELOPMENT: "IN_DEVELOPMENT";
|
|
1116
|
+
PRE_RELEASE: "PRE_RELEASE";
|
|
1117
|
+
GENERAL_AVAILABILITY: "GENERAL_AVAILABILITY";
|
|
1118
|
+
DEPRECATED: "DEPRECATED";
|
|
1119
|
+
ALPHA: "ALPHA";
|
|
1120
|
+
BETA: "BETA";
|
|
1121
|
+
PREVIEW: "PREVIEW";
|
|
1122
|
+
LEGACY: "LEGACY";
|
|
1123
|
+
}>>>;
|
|
1124
|
+
tools: z.ZodOptional<z.ZodObject<{
|
|
1125
|
+
include: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1126
|
+
exclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1127
|
+
}, z.core.$strict>>;
|
|
1128
|
+
toolsets: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1129
|
+
include: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1130
|
+
exclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1131
|
+
}, z.core.$strict>>>;
|
|
1040
1132
|
}, z.core.$strict>>;
|
|
1041
1133
|
swift: z.ZodOptional<z.ZodObject<{
|
|
1042
1134
|
moduleName: z.ZodOptional<z.ZodString>;
|
|
1135
|
+
nullableAsOptional: z.ZodOptional<z.ZodBoolean>;
|
|
1043
1136
|
}, z.core.$strict>>;
|
|
1044
1137
|
terraform: z.ZodOptional<z.ZodObject<{
|
|
1045
1138
|
providerName: z.ZodOptional<z.ZodString>;
|
|
@@ -1071,420 +1164,314 @@ declare const generationConfigSchema: z.ZodObject<{
|
|
|
1071
1164
|
type LanguageGenerationConfig = z.infer<typeof languageGenerationConfigSchema>;
|
|
1072
1165
|
type GenerationConfig = z.infer<typeof generationConfigSchema>;
|
|
1073
1166
|
|
|
1074
|
-
declare const cliGenerationConfigSchema: z.ZodObject<{
|
|
1075
|
-
paginationParameters: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1076
|
-
skills: z.ZodOptional<z.ZodBoolean>;
|
|
1077
|
-
}, z.core.$strict>;
|
|
1078
|
-
type CliGenerationConfig = z.infer<typeof cliGenerationConfigSchema>;
|
|
1079
|
-
|
|
1080
|
-
declare const csharpGenerationConfigSchema: z.ZodObject<{
|
|
1081
|
-
useOptionalWrapper: z.ZodOptional<z.ZodBoolean>;
|
|
1082
|
-
simplifyObjectDictionaries: z.ZodOptional<z.ZodBoolean>;
|
|
1083
|
-
explicitNamespaces: z.ZodOptional<z.ZodBoolean>;
|
|
1084
|
-
rootNamespaceForCoreClasses: z.ZodOptional<z.ZodBoolean>;
|
|
1085
|
-
includeExceptionHandler: z.ZodOptional<z.ZodBoolean>;
|
|
1086
|
-
}, z.core.$strict>;
|
|
1087
|
-
type CsharpGenerationConfig = z.infer<typeof csharpGenerationConfigSchema>;
|
|
1088
|
-
|
|
1089
|
-
declare const goGenerationConfigSchema: z.ZodObject<{
|
|
1090
|
-
legacyComplexModels: z.ZodOptional<z.ZodBoolean>;
|
|
1091
|
-
unionVersion: z.ZodOptional<z.ZodEnum<{
|
|
1092
|
-
v0: "v0";
|
|
1093
|
-
v1: "v1";
|
|
1094
|
-
}>>;
|
|
1095
|
-
includeLegacyClientOptions: z.ZodOptional<z.ZodBoolean>;
|
|
1096
|
-
}, z.core.$strict>;
|
|
1097
|
-
type GoGenerationConfig = z.infer<typeof goGenerationConfigSchema>;
|
|
1098
|
-
|
|
1099
|
-
declare const javaGenerationConfigSchema: z.ZodObject<{
|
|
1100
|
-
packageLayout: z.ZodOptional<z.ZodEnum<{
|
|
1101
|
-
flat: "flat";
|
|
1102
|
-
nested: "nested";
|
|
1103
|
-
}>>;
|
|
1104
|
-
useLocalDateForDates: z.ZodOptional<z.ZodBoolean>;
|
|
1105
|
-
collapseOptionalNullable: z.ZodOptional<z.ZodBoolean>;
|
|
1106
|
-
gradleDistributionUrl: z.ZodOptional<z.ZodString>;
|
|
1107
|
-
gradlePluginManagement: z.ZodOptional<z.ZodString>;
|
|
1108
|
-
gradleCentralDependencyManagement: z.ZodOptional<z.ZodBoolean>;
|
|
1109
|
-
includeKotlinSnippets: z.ZodOptional<z.ZodBoolean>;
|
|
1110
|
-
}, z.core.$strict>;
|
|
1111
|
-
type JavaGenerationConfig = z.infer<typeof javaGenerationConfigSchema>;
|
|
1112
|
-
|
|
1113
|
-
/**
|
|
1114
|
-
* Kotlin targets use the shared Java/JVM generator and always include Kotlin-facing
|
|
1115
|
-
* examples, snippets, and documentation.
|
|
1116
|
-
*/
|
|
1117
|
-
declare const kotlinGenerationConfigSchema: z.ZodObject<{
|
|
1118
|
-
packageLayout: z.ZodOptional<z.ZodEnum<{
|
|
1119
|
-
flat: "flat";
|
|
1120
|
-
nested: "nested";
|
|
1121
|
-
}>>;
|
|
1122
|
-
useLocalDateForDates: z.ZodOptional<z.ZodBoolean>;
|
|
1123
|
-
collapseOptionalNullable: z.ZodOptional<z.ZodBoolean>;
|
|
1124
|
-
gradleDistributionUrl: z.ZodOptional<z.ZodString>;
|
|
1125
|
-
gradlePluginManagement: z.ZodOptional<z.ZodString>;
|
|
1126
|
-
gradleCentralDependencyManagement: z.ZodOptional<z.ZodBoolean>;
|
|
1127
|
-
}, z.core.$strict>;
|
|
1128
|
-
type KotlinGenerationConfig = z.infer<typeof kotlinGenerationConfigSchema>;
|
|
1129
|
-
|
|
1130
|
-
declare const mcpGenerationConfigSchema: z.ZodObject<{
|
|
1131
|
-
typescriptVersion: z.ZodOptional<z.ZodString>;
|
|
1132
|
-
zodVersion: z.ZodOptional<z.ZodString>;
|
|
1133
|
-
compilerOptions: z.ZodOptional<z.ZodObject<{
|
|
1134
|
-
target: z.ZodOptional<z.ZodString>;
|
|
1135
|
-
module: z.ZodOptional<z.ZodString>;
|
|
1136
|
-
lib: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1137
|
-
}, z.core.$strict>>;
|
|
1138
|
-
httpClient: z.ZodOptional<z.ZodObject<{
|
|
1139
|
-
name: z.ZodEnum<{
|
|
1140
|
-
axios: "axios";
|
|
1141
|
-
fetch: "fetch";
|
|
1142
|
-
}>;
|
|
1143
|
-
}, z.core.$strict>>;
|
|
1144
|
-
packageManager: z.ZodOptional<z.ZodEnum<{
|
|
1145
|
-
pnpm: "pnpm";
|
|
1146
|
-
yarn: "yarn";
|
|
1147
|
-
}>>;
|
|
1148
|
-
testFramework: z.ZodOptional<z.ZodEnum<{
|
|
1149
|
-
jest: "jest";
|
|
1150
|
-
vitest: "vitest";
|
|
1151
|
-
}>>;
|
|
1152
|
-
namingStrategy: z.ZodOptional<z.ZodEnum<{
|
|
1153
|
-
base: "base";
|
|
1154
|
-
originalPropertyNames: "originalPropertyNames";
|
|
1155
|
-
}>>;
|
|
1156
|
-
bundle: z.ZodOptional<z.ZodBoolean>;
|
|
1157
|
-
exportClassDefault: z.ZodOptional<z.ZodBoolean>;
|
|
1158
|
-
allowCustomFetcher: z.ZodOptional<z.ZodBoolean>;
|
|
1159
|
-
useBrandedStringAliases: z.ZodOptional<z.ZodBoolean>;
|
|
1160
|
-
useLegacyExports: z.ZodOptional<z.ZodBoolean>;
|
|
1161
|
-
useBigInt: z.ZodOptional<z.ZodBoolean>;
|
|
1162
|
-
serdeLayer: z.ZodOptional<z.ZodBoolean>;
|
|
1163
|
-
scripts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1164
|
-
name: z.ZodString;
|
|
1165
|
-
command: z.ZodString;
|
|
1166
|
-
}, z.core.$strict>>>;
|
|
1167
|
-
}, z.core.$strict>;
|
|
1168
|
-
type McpGenerationConfig = z.infer<typeof mcpGenerationConfigSchema>;
|
|
1169
|
-
|
|
1170
|
-
declare const phpGenerationConfigSchema: z.ZodObject<{
|
|
1171
|
-
propertyAccess: z.ZodOptional<z.ZodEnum<{
|
|
1172
|
-
public: "public";
|
|
1173
|
-
private: "private";
|
|
1174
|
-
}>>;
|
|
1175
|
-
generateClientInterfaces: z.ZodOptional<z.ZodBoolean>;
|
|
1176
|
-
}, z.core.$strict>;
|
|
1177
|
-
type PhpGenerationConfig = z.infer<typeof phpGenerationConfigSchema>;
|
|
1178
|
-
|
|
1179
|
-
declare const pythonGenerationConfigSchema: z.ZodObject<{
|
|
1180
|
-
pythonVersion: z.ZodOptional<z.ZodString>;
|
|
1181
|
-
pydanticVersion: z.ZodOptional<z.ZodString>;
|
|
1182
|
-
pydantic: z.ZodOptional<z.ZodObject<{
|
|
1183
|
-
versionCompatibility: z.ZodOptional<z.ZodEnum<{
|
|
1184
|
-
v1: "v1";
|
|
1185
|
-
v2: "v2";
|
|
1186
|
-
both: "both";
|
|
1187
|
-
"v1-on-v2": "v1-on-v2";
|
|
1188
|
-
}>>;
|
|
1189
|
-
frozen: z.ZodOptional<z.ZodBoolean>;
|
|
1190
|
-
requireOptionalFields: z.ZodOptional<z.ZodBoolean>;
|
|
1191
|
-
unionNaming: z.ZodOptional<z.ZodEnum<{
|
|
1192
|
-
v0: "v0";
|
|
1193
|
-
v1: "v1";
|
|
1194
|
-
}>>;
|
|
1195
|
-
useFieldAliases: z.ZodOptional<z.ZodBoolean>;
|
|
1196
|
-
}, z.core.$strict>>;
|
|
1197
|
-
client: z.ZodOptional<z.ZodObject<{
|
|
1198
|
-
fileName: z.ZodOptional<z.ZodString>;
|
|
1199
|
-
exportedFileName: z.ZodOptional<z.ZodString>;
|
|
1200
|
-
}, z.core.$strict>>;
|
|
1201
|
-
alwaysInitializeOptionals: z.ZodOptional<z.ZodBoolean>;
|
|
1202
|
-
useTypedDictRequests: z.ZodOptional<z.ZodBoolean>;
|
|
1203
|
-
}, z.core.$strict>;
|
|
1204
|
-
type PythonGenerationConfig = z.infer<typeof pythonGenerationConfigSchema>;
|
|
1205
|
-
|
|
1206
|
-
declare const rubyGenerationConfigSchema: z.ZodObject<{
|
|
1207
|
-
requirePaths: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1208
|
-
}, z.core.$strict>;
|
|
1209
|
-
type RubyGenerationConfig = z.infer<typeof rubyGenerationConfigSchema>;
|
|
1210
|
-
|
|
1211
|
-
/**
|
|
1212
|
-
* Rust keeps crate identity, client naming, and package metadata in the shared fields; only
|
|
1213
|
-
* behavior with no cross-language equivalent lives here.
|
|
1214
|
-
*/
|
|
1215
|
-
declare const rustGenerationConfigSchema: z.ZodObject<{
|
|
1216
|
-
/**
|
|
1217
|
-
* Rust type for datetime primitives. `offset` maps to `DateTime<FixedOffset>` and preserves the
|
|
1218
|
-
* timezone the payload carried; `utc` maps to `DateTime<Utc>` and normalizes to UTC.
|
|
1219
|
-
*/
|
|
1220
|
-
dateTimeType: z.ZodOptional<z.ZodEnum<{
|
|
1221
|
-
offset: "offset";
|
|
1222
|
-
utc: "utc";
|
|
1223
|
-
}>>;
|
|
1224
|
-
/** Uppercase common initialisms in generated names (`UserID` rather than `UserId`). */
|
|
1225
|
-
capitalizeInitialisms: z.ZodOptional<z.ZodBoolean>;
|
|
1226
|
-
/** Cargo features, mapping a feature name to the dependencies or features it enables. */
|
|
1227
|
-
features: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>>;
|
|
1228
|
-
/** Overrides which features make up Cargo's `default` feature set. */
|
|
1229
|
-
defaultFeatures: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1230
|
-
}, z.core.$strict>;
|
|
1231
|
-
type RustGenerationConfig = z.infer<typeof rustGenerationConfigSchema>;
|
|
1232
|
-
|
|
1233
|
-
declare const swiftGenerationConfigSchema: z.ZodObject<{
|
|
1234
|
-
moduleName: z.ZodOptional<z.ZodString>;
|
|
1235
|
-
}, z.core.$strict>;
|
|
1236
|
-
type SwiftGenerationConfig = z.infer<typeof swiftGenerationConfigSchema>;
|
|
1237
|
-
|
|
1238
|
-
declare const planModifiersSchema: z.ZodObject<{
|
|
1239
|
-
resources: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1240
|
-
enabled: z.ZodLiteral<true>;
|
|
1241
|
-
sourceDir: z.ZodString;
|
|
1242
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1243
|
-
enabled: z.ZodLiteral<false>;
|
|
1244
|
-
}, z.core.$strict>], "enabled">;
|
|
1245
|
-
attributes: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1246
|
-
enabled: z.ZodLiteral<true>;
|
|
1247
|
-
sourceDir: z.ZodString;
|
|
1248
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1249
|
-
enabled: z.ZodLiteral<false>;
|
|
1250
|
-
}, z.core.$strict>], "enabled">;
|
|
1251
|
-
}, z.core.$strict>;
|
|
1252
|
-
declare const terraformGenerationConfigSchema: z.ZodObject<{
|
|
1253
|
-
providerName: z.ZodOptional<z.ZodString>;
|
|
1254
|
-
providerVersion: z.ZodOptional<z.ZodString>;
|
|
1255
|
-
providerModulePath: z.ZodOptional<z.ZodString>;
|
|
1256
|
-
mockAcceptance: z.ZodOptional<z.ZodBoolean>;
|
|
1257
|
-
hideComputedDiff: z.ZodOptional<z.ZodBoolean>;
|
|
1258
|
-
providerSchema: z.ZodOptional<z.ZodObject<{
|
|
1259
|
-
addressKey: z.ZodString;
|
|
1260
|
-
authTokenKey: z.ZodString;
|
|
1261
|
-
}, z.core.$strict>>;
|
|
1262
|
-
planModifiers: z.ZodOptional<z.ZodObject<{
|
|
1263
|
-
resources: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1264
|
-
enabled: z.ZodLiteral<true>;
|
|
1265
|
-
sourceDir: z.ZodString;
|
|
1266
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1267
|
-
enabled: z.ZodLiteral<false>;
|
|
1268
|
-
}, z.core.$strict>], "enabled">;
|
|
1269
|
-
attributes: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1270
|
-
enabled: z.ZodLiteral<true>;
|
|
1271
|
-
sourceDir: z.ZodString;
|
|
1272
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1273
|
-
enabled: z.ZodLiteral<false>;
|
|
1274
|
-
}, z.core.$strict>], "enabled">;
|
|
1275
|
-
}, z.core.$strict>>;
|
|
1276
|
-
}, z.core.$strict>;
|
|
1277
|
-
type PlanModifiers = z.infer<typeof planModifiersSchema>;
|
|
1278
|
-
type TerraformGenerationConfig = z.infer<typeof terraformGenerationConfigSchema>;
|
|
1279
|
-
|
|
1280
|
-
declare const typescriptGenerationConfigSchema: z.ZodObject<{
|
|
1281
|
-
typescriptVersion: z.ZodOptional<z.ZodString>;
|
|
1282
|
-
zodVersion: z.ZodOptional<z.ZodString>;
|
|
1283
|
-
compilerOptions: z.ZodOptional<z.ZodObject<{
|
|
1284
|
-
target: z.ZodOptional<z.ZodString>;
|
|
1285
|
-
module: z.ZodOptional<z.ZodString>;
|
|
1286
|
-
lib: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1287
|
-
}, z.core.$strict>>;
|
|
1288
|
-
httpClient: z.ZodOptional<z.ZodObject<{
|
|
1289
|
-
name: z.ZodEnum<{
|
|
1290
|
-
axios: "axios";
|
|
1291
|
-
fetch: "fetch";
|
|
1292
|
-
}>;
|
|
1293
|
-
}, z.core.$strict>>;
|
|
1294
|
-
packageManager: z.ZodOptional<z.ZodEnum<{
|
|
1295
|
-
pnpm: "pnpm";
|
|
1296
|
-
yarn: "yarn";
|
|
1297
|
-
}>>;
|
|
1298
|
-
testFramework: z.ZodOptional<z.ZodEnum<{
|
|
1299
|
-
jest: "jest";
|
|
1300
|
-
vitest: "vitest";
|
|
1301
|
-
}>>;
|
|
1302
|
-
namingStrategy: z.ZodOptional<z.ZodEnum<{
|
|
1303
|
-
base: "base";
|
|
1304
|
-
originalPropertyNames: "originalPropertyNames";
|
|
1305
|
-
}>>;
|
|
1306
|
-
bundle: z.ZodOptional<z.ZodBoolean>;
|
|
1307
|
-
exportClassDefault: z.ZodOptional<z.ZodBoolean>;
|
|
1308
|
-
allowCustomFetcher: z.ZodOptional<z.ZodBoolean>;
|
|
1309
|
-
useBrandedStringAliases: z.ZodOptional<z.ZodBoolean>;
|
|
1310
|
-
useLegacyExports: z.ZodOptional<z.ZodBoolean>;
|
|
1311
|
-
useBigInt: z.ZodOptional<z.ZodBoolean>;
|
|
1312
|
-
serdeLayer: z.ZodOptional<z.ZodBoolean>;
|
|
1313
|
-
scripts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1314
|
-
name: z.ZodString;
|
|
1315
|
-
command: z.ZodString;
|
|
1316
|
-
}, z.core.$strict>>>;
|
|
1317
|
-
}, z.core.$strict>;
|
|
1318
|
-
type TypescriptGenerationConfig = z.infer<typeof typescriptGenerationConfigSchema>;
|
|
1319
|
-
|
|
1320
1167
|
declare const publishRegistrySchema: z.ZodEnum<{
|
|
1321
|
-
go: "go";
|
|
1322
1168
|
npm: "npm";
|
|
1323
1169
|
pypi: "pypi";
|
|
1324
1170
|
maven: "maven";
|
|
1325
1171
|
nuget: "nuget";
|
|
1326
1172
|
rubygems: "rubygems";
|
|
1327
1173
|
crates: "crates";
|
|
1174
|
+
go: "go";
|
|
1328
1175
|
composer: "composer";
|
|
1329
1176
|
}>;
|
|
1177
|
+
declare const credentialResolutionSchema: z.ZodEnum<{
|
|
1178
|
+
"refs-only": "refs-only";
|
|
1179
|
+
"resolved-by-orchestrator": "resolved-by-orchestrator";
|
|
1180
|
+
"resolved-by-fiddle": "resolved-by-fiddle";
|
|
1181
|
+
}>;
|
|
1330
1182
|
declare const publishConfigSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1331
1183
|
url: z.ZodOptional<z.ZodString>;
|
|
1184
|
+
/**
|
|
1185
|
+
* Reference to registry publishing credentials. Raw tokens/passwords are intentionally not part of
|
|
1186
|
+
* SDK Config IR; the external publisher or orchestrator resolves this reference before use.
|
|
1187
|
+
*/
|
|
1332
1188
|
credentialsRef: z.ZodOptional<z.ZodString>;
|
|
1333
1189
|
releaseBranch: z.ZodOptional<z.ZodString>;
|
|
1334
1190
|
tolerateRepublish: z.ZodOptional<z.ZodBoolean>;
|
|
1335
1191
|
registry: z.ZodLiteral<"npm">;
|
|
1336
1192
|
}, z.core.$strict>, z.ZodObject<{
|
|
1337
1193
|
url: z.ZodOptional<z.ZodString>;
|
|
1194
|
+
/**
|
|
1195
|
+
* Reference to registry publishing credentials. Raw tokens/passwords are intentionally not part of
|
|
1196
|
+
* SDK Config IR; the external publisher or orchestrator resolves this reference before use.
|
|
1197
|
+
*/
|
|
1338
1198
|
credentialsRef: z.ZodOptional<z.ZodString>;
|
|
1339
1199
|
releaseBranch: z.ZodOptional<z.ZodString>;
|
|
1340
1200
|
tolerateRepublish: z.ZodOptional<z.ZodBoolean>;
|
|
1341
1201
|
registry: z.ZodLiteral<"pypi">;
|
|
1342
1202
|
}, z.core.$strict>, z.ZodObject<{
|
|
1343
1203
|
url: z.ZodOptional<z.ZodString>;
|
|
1204
|
+
/**
|
|
1205
|
+
* Reference to registry publishing credentials. Raw tokens/passwords are intentionally not part of
|
|
1206
|
+
* SDK Config IR; the external publisher or orchestrator resolves this reference before use.
|
|
1207
|
+
*/
|
|
1344
1208
|
credentialsRef: z.ZodOptional<z.ZodString>;
|
|
1345
1209
|
releaseBranch: z.ZodOptional<z.ZodString>;
|
|
1346
1210
|
tolerateRepublish: z.ZodOptional<z.ZodBoolean>;
|
|
1347
1211
|
registry: z.ZodLiteral<"nuget">;
|
|
1348
1212
|
}, z.core.$strict>, z.ZodObject<{
|
|
1349
1213
|
url: z.ZodOptional<z.ZodString>;
|
|
1214
|
+
/**
|
|
1215
|
+
* Reference to registry publishing credentials. Raw tokens/passwords are intentionally not part of
|
|
1216
|
+
* SDK Config IR; the external publisher or orchestrator resolves this reference before use.
|
|
1217
|
+
*/
|
|
1350
1218
|
credentialsRef: z.ZodOptional<z.ZodString>;
|
|
1351
1219
|
releaseBranch: z.ZodOptional<z.ZodString>;
|
|
1352
1220
|
tolerateRepublish: z.ZodOptional<z.ZodBoolean>;
|
|
1353
1221
|
registry: z.ZodLiteral<"rubygems">;
|
|
1354
1222
|
}, z.core.$strict>, z.ZodObject<{
|
|
1355
1223
|
url: z.ZodOptional<z.ZodString>;
|
|
1224
|
+
/**
|
|
1225
|
+
* Reference to registry publishing credentials. Raw tokens/passwords are intentionally not part of
|
|
1226
|
+
* SDK Config IR; the external publisher or orchestrator resolves this reference before use.
|
|
1227
|
+
*/
|
|
1356
1228
|
credentialsRef: z.ZodOptional<z.ZodString>;
|
|
1357
1229
|
releaseBranch: z.ZodOptional<z.ZodString>;
|
|
1358
1230
|
tolerateRepublish: z.ZodOptional<z.ZodBoolean>;
|
|
1359
1231
|
registry: z.ZodLiteral<"crates">;
|
|
1360
1232
|
}, z.core.$strict>, z.ZodObject<{
|
|
1361
1233
|
url: z.ZodOptional<z.ZodString>;
|
|
1234
|
+
/**
|
|
1235
|
+
* Reference to registry publishing credentials. Raw tokens/passwords are intentionally not part of
|
|
1236
|
+
* SDK Config IR; the external publisher or orchestrator resolves this reference before use.
|
|
1237
|
+
*/
|
|
1362
1238
|
credentialsRef: z.ZodOptional<z.ZodString>;
|
|
1363
1239
|
releaseBranch: z.ZodOptional<z.ZodString>;
|
|
1364
1240
|
tolerateRepublish: z.ZodOptional<z.ZodBoolean>;
|
|
1365
1241
|
registry: z.ZodLiteral<"go">;
|
|
1366
1242
|
}, z.core.$strict>, z.ZodObject<{
|
|
1367
1243
|
url: z.ZodOptional<z.ZodString>;
|
|
1244
|
+
/**
|
|
1245
|
+
* Reference to registry publishing credentials. Raw tokens/passwords are intentionally not part of
|
|
1246
|
+
* SDK Config IR; the external publisher or orchestrator resolves this reference before use.
|
|
1247
|
+
*/
|
|
1368
1248
|
credentialsRef: z.ZodOptional<z.ZodString>;
|
|
1369
1249
|
releaseBranch: z.ZodOptional<z.ZodString>;
|
|
1370
1250
|
tolerateRepublish: z.ZodOptional<z.ZodBoolean>;
|
|
1371
1251
|
registry: z.ZodLiteral<"composer">;
|
|
1372
1252
|
}, z.core.$strict>, z.ZodObject<{
|
|
1373
1253
|
url: z.ZodOptional<z.ZodString>;
|
|
1254
|
+
/**
|
|
1255
|
+
* Reference to registry publishing credentials. Raw tokens/passwords are intentionally not part of
|
|
1256
|
+
* SDK Config IR; the external publisher or orchestrator resolves this reference before use.
|
|
1257
|
+
*/
|
|
1374
1258
|
credentialsRef: z.ZodOptional<z.ZodString>;
|
|
1375
1259
|
releaseBranch: z.ZodOptional<z.ZodString>;
|
|
1376
1260
|
tolerateRepublish: z.ZodOptional<z.ZodBoolean>;
|
|
1377
1261
|
registry: z.ZodLiteral<"maven">;
|
|
1262
|
+
/**
|
|
1263
|
+
* Reference to Maven signing credentials. Raw signing keys are intentionally not part of SDK
|
|
1264
|
+
* Config IR; the external publisher or orchestrator resolves this reference before use.
|
|
1265
|
+
*/
|
|
1378
1266
|
signingCredentialsRef: z.ZodOptional<z.ZodString>;
|
|
1379
1267
|
}, z.core.$strict>], "registry">;
|
|
1380
1268
|
/** Artifact delivery is independent from optional package registry publication. */
|
|
1381
1269
|
declare const outputConfigSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1270
|
+
/**
|
|
1271
|
+
* Where output credential references are resolved. SDK Config IR carries refs only; raw resolved
|
|
1272
|
+
* credentials belong at the external publisher/orchestrator boundary, not in this config.
|
|
1273
|
+
*/
|
|
1274
|
+
credentialResolution: z.ZodDefault<z.ZodEnum<{
|
|
1275
|
+
"refs-only": "refs-only";
|
|
1276
|
+
"resolved-by-orchestrator": "resolved-by-orchestrator";
|
|
1277
|
+
"resolved-by-fiddle": "resolved-by-fiddle";
|
|
1278
|
+
}>>;
|
|
1382
1279
|
delivery: z.ZodLiteral<"files">;
|
|
1383
1280
|
path: z.ZodOptional<z.ZodString>;
|
|
1384
1281
|
publish: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1385
1282
|
url: z.ZodOptional<z.ZodString>;
|
|
1283
|
+
/**
|
|
1284
|
+
* Reference to registry publishing credentials. Raw tokens/passwords are intentionally not part of
|
|
1285
|
+
* SDK Config IR; the external publisher or orchestrator resolves this reference before use.
|
|
1286
|
+
*/
|
|
1386
1287
|
credentialsRef: z.ZodOptional<z.ZodString>;
|
|
1387
1288
|
releaseBranch: z.ZodOptional<z.ZodString>;
|
|
1388
1289
|
tolerateRepublish: z.ZodOptional<z.ZodBoolean>;
|
|
1389
1290
|
registry: z.ZodLiteral<"npm">;
|
|
1390
1291
|
}, z.core.$strict>, z.ZodObject<{
|
|
1391
1292
|
url: z.ZodOptional<z.ZodString>;
|
|
1293
|
+
/**
|
|
1294
|
+
* Reference to registry publishing credentials. Raw tokens/passwords are intentionally not part of
|
|
1295
|
+
* SDK Config IR; the external publisher or orchestrator resolves this reference before use.
|
|
1296
|
+
*/
|
|
1392
1297
|
credentialsRef: z.ZodOptional<z.ZodString>;
|
|
1393
1298
|
releaseBranch: z.ZodOptional<z.ZodString>;
|
|
1394
1299
|
tolerateRepublish: z.ZodOptional<z.ZodBoolean>;
|
|
1395
1300
|
registry: z.ZodLiteral<"pypi">;
|
|
1396
1301
|
}, z.core.$strict>, z.ZodObject<{
|
|
1397
1302
|
url: z.ZodOptional<z.ZodString>;
|
|
1303
|
+
/**
|
|
1304
|
+
* Reference to registry publishing credentials. Raw tokens/passwords are intentionally not part of
|
|
1305
|
+
* SDK Config IR; the external publisher or orchestrator resolves this reference before use.
|
|
1306
|
+
*/
|
|
1398
1307
|
credentialsRef: z.ZodOptional<z.ZodString>;
|
|
1399
1308
|
releaseBranch: z.ZodOptional<z.ZodString>;
|
|
1400
1309
|
tolerateRepublish: z.ZodOptional<z.ZodBoolean>;
|
|
1401
1310
|
registry: z.ZodLiteral<"nuget">;
|
|
1402
1311
|
}, z.core.$strict>, z.ZodObject<{
|
|
1403
1312
|
url: z.ZodOptional<z.ZodString>;
|
|
1313
|
+
/**
|
|
1314
|
+
* Reference to registry publishing credentials. Raw tokens/passwords are intentionally not part of
|
|
1315
|
+
* SDK Config IR; the external publisher or orchestrator resolves this reference before use.
|
|
1316
|
+
*/
|
|
1404
1317
|
credentialsRef: z.ZodOptional<z.ZodString>;
|
|
1405
1318
|
releaseBranch: z.ZodOptional<z.ZodString>;
|
|
1406
1319
|
tolerateRepublish: z.ZodOptional<z.ZodBoolean>;
|
|
1407
1320
|
registry: z.ZodLiteral<"rubygems">;
|
|
1408
1321
|
}, z.core.$strict>, z.ZodObject<{
|
|
1409
1322
|
url: z.ZodOptional<z.ZodString>;
|
|
1323
|
+
/**
|
|
1324
|
+
* Reference to registry publishing credentials. Raw tokens/passwords are intentionally not part of
|
|
1325
|
+
* SDK Config IR; the external publisher or orchestrator resolves this reference before use.
|
|
1326
|
+
*/
|
|
1410
1327
|
credentialsRef: z.ZodOptional<z.ZodString>;
|
|
1411
1328
|
releaseBranch: z.ZodOptional<z.ZodString>;
|
|
1412
1329
|
tolerateRepublish: z.ZodOptional<z.ZodBoolean>;
|
|
1413
1330
|
registry: z.ZodLiteral<"crates">;
|
|
1414
1331
|
}, z.core.$strict>, z.ZodObject<{
|
|
1415
1332
|
url: z.ZodOptional<z.ZodString>;
|
|
1333
|
+
/**
|
|
1334
|
+
* Reference to registry publishing credentials. Raw tokens/passwords are intentionally not part of
|
|
1335
|
+
* SDK Config IR; the external publisher or orchestrator resolves this reference before use.
|
|
1336
|
+
*/
|
|
1416
1337
|
credentialsRef: z.ZodOptional<z.ZodString>;
|
|
1417
1338
|
releaseBranch: z.ZodOptional<z.ZodString>;
|
|
1418
1339
|
tolerateRepublish: z.ZodOptional<z.ZodBoolean>;
|
|
1419
1340
|
registry: z.ZodLiteral<"go">;
|
|
1420
1341
|
}, z.core.$strict>, z.ZodObject<{
|
|
1421
1342
|
url: z.ZodOptional<z.ZodString>;
|
|
1343
|
+
/**
|
|
1344
|
+
* Reference to registry publishing credentials. Raw tokens/passwords are intentionally not part of
|
|
1345
|
+
* SDK Config IR; the external publisher or orchestrator resolves this reference before use.
|
|
1346
|
+
*/
|
|
1422
1347
|
credentialsRef: z.ZodOptional<z.ZodString>;
|
|
1423
1348
|
releaseBranch: z.ZodOptional<z.ZodString>;
|
|
1424
1349
|
tolerateRepublish: z.ZodOptional<z.ZodBoolean>;
|
|
1425
1350
|
registry: z.ZodLiteral<"composer">;
|
|
1426
1351
|
}, z.core.$strict>, z.ZodObject<{
|
|
1427
1352
|
url: z.ZodOptional<z.ZodString>;
|
|
1353
|
+
/**
|
|
1354
|
+
* Reference to registry publishing credentials. Raw tokens/passwords are intentionally not part of
|
|
1355
|
+
* SDK Config IR; the external publisher or orchestrator resolves this reference before use.
|
|
1356
|
+
*/
|
|
1428
1357
|
credentialsRef: z.ZodOptional<z.ZodString>;
|
|
1429
1358
|
releaseBranch: z.ZodOptional<z.ZodString>;
|
|
1430
1359
|
tolerateRepublish: z.ZodOptional<z.ZodBoolean>;
|
|
1431
1360
|
registry: z.ZodLiteral<"maven">;
|
|
1361
|
+
/**
|
|
1362
|
+
* Reference to Maven signing credentials. Raw signing keys are intentionally not part of SDK
|
|
1363
|
+
* Config IR; the external publisher or orchestrator resolves this reference before use.
|
|
1364
|
+
*/
|
|
1432
1365
|
signingCredentialsRef: z.ZodOptional<z.ZodString>;
|
|
1433
1366
|
}, z.core.$strict>], "registry">>;
|
|
1434
1367
|
}, z.core.$strict>, z.ZodObject<{
|
|
1368
|
+
/**
|
|
1369
|
+
* Where output credential references are resolved. SDK Config IR carries refs only; raw resolved
|
|
1370
|
+
* credentials belong at the external publisher/orchestrator boundary, not in this config.
|
|
1371
|
+
*/
|
|
1372
|
+
credentialResolution: z.ZodDefault<z.ZodEnum<{
|
|
1373
|
+
"refs-only": "refs-only";
|
|
1374
|
+
"resolved-by-orchestrator": "resolved-by-orchestrator";
|
|
1375
|
+
"resolved-by-fiddle": "resolved-by-fiddle";
|
|
1376
|
+
}>>;
|
|
1435
1377
|
delivery: z.ZodLiteral<"zip">;
|
|
1436
1378
|
fileName: z.ZodOptional<z.ZodString>;
|
|
1437
1379
|
publish: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1438
1380
|
url: z.ZodOptional<z.ZodString>;
|
|
1381
|
+
/**
|
|
1382
|
+
* Reference to registry publishing credentials. Raw tokens/passwords are intentionally not part of
|
|
1383
|
+
* SDK Config IR; the external publisher or orchestrator resolves this reference before use.
|
|
1384
|
+
*/
|
|
1439
1385
|
credentialsRef: z.ZodOptional<z.ZodString>;
|
|
1440
1386
|
releaseBranch: z.ZodOptional<z.ZodString>;
|
|
1441
1387
|
tolerateRepublish: z.ZodOptional<z.ZodBoolean>;
|
|
1442
1388
|
registry: z.ZodLiteral<"npm">;
|
|
1443
1389
|
}, z.core.$strict>, z.ZodObject<{
|
|
1444
1390
|
url: z.ZodOptional<z.ZodString>;
|
|
1391
|
+
/**
|
|
1392
|
+
* Reference to registry publishing credentials. Raw tokens/passwords are intentionally not part of
|
|
1393
|
+
* SDK Config IR; the external publisher or orchestrator resolves this reference before use.
|
|
1394
|
+
*/
|
|
1445
1395
|
credentialsRef: z.ZodOptional<z.ZodString>;
|
|
1446
1396
|
releaseBranch: z.ZodOptional<z.ZodString>;
|
|
1447
1397
|
tolerateRepublish: z.ZodOptional<z.ZodBoolean>;
|
|
1448
1398
|
registry: z.ZodLiteral<"pypi">;
|
|
1449
1399
|
}, z.core.$strict>, z.ZodObject<{
|
|
1450
1400
|
url: z.ZodOptional<z.ZodString>;
|
|
1401
|
+
/**
|
|
1402
|
+
* Reference to registry publishing credentials. Raw tokens/passwords are intentionally not part of
|
|
1403
|
+
* SDK Config IR; the external publisher or orchestrator resolves this reference before use.
|
|
1404
|
+
*/
|
|
1451
1405
|
credentialsRef: z.ZodOptional<z.ZodString>;
|
|
1452
1406
|
releaseBranch: z.ZodOptional<z.ZodString>;
|
|
1453
1407
|
tolerateRepublish: z.ZodOptional<z.ZodBoolean>;
|
|
1454
1408
|
registry: z.ZodLiteral<"nuget">;
|
|
1455
1409
|
}, z.core.$strict>, z.ZodObject<{
|
|
1456
1410
|
url: z.ZodOptional<z.ZodString>;
|
|
1411
|
+
/**
|
|
1412
|
+
* Reference to registry publishing credentials. Raw tokens/passwords are intentionally not part of
|
|
1413
|
+
* SDK Config IR; the external publisher or orchestrator resolves this reference before use.
|
|
1414
|
+
*/
|
|
1457
1415
|
credentialsRef: z.ZodOptional<z.ZodString>;
|
|
1458
1416
|
releaseBranch: z.ZodOptional<z.ZodString>;
|
|
1459
1417
|
tolerateRepublish: z.ZodOptional<z.ZodBoolean>;
|
|
1460
1418
|
registry: z.ZodLiteral<"rubygems">;
|
|
1461
1419
|
}, z.core.$strict>, z.ZodObject<{
|
|
1462
1420
|
url: z.ZodOptional<z.ZodString>;
|
|
1421
|
+
/**
|
|
1422
|
+
* Reference to registry publishing credentials. Raw tokens/passwords are intentionally not part of
|
|
1423
|
+
* SDK Config IR; the external publisher or orchestrator resolves this reference before use.
|
|
1424
|
+
*/
|
|
1463
1425
|
credentialsRef: z.ZodOptional<z.ZodString>;
|
|
1464
1426
|
releaseBranch: z.ZodOptional<z.ZodString>;
|
|
1465
1427
|
tolerateRepublish: z.ZodOptional<z.ZodBoolean>;
|
|
1466
1428
|
registry: z.ZodLiteral<"crates">;
|
|
1467
1429
|
}, z.core.$strict>, z.ZodObject<{
|
|
1468
1430
|
url: z.ZodOptional<z.ZodString>;
|
|
1431
|
+
/**
|
|
1432
|
+
* Reference to registry publishing credentials. Raw tokens/passwords are intentionally not part of
|
|
1433
|
+
* SDK Config IR; the external publisher or orchestrator resolves this reference before use.
|
|
1434
|
+
*/
|
|
1469
1435
|
credentialsRef: z.ZodOptional<z.ZodString>;
|
|
1470
1436
|
releaseBranch: z.ZodOptional<z.ZodString>;
|
|
1471
1437
|
tolerateRepublish: z.ZodOptional<z.ZodBoolean>;
|
|
1472
1438
|
registry: z.ZodLiteral<"go">;
|
|
1473
1439
|
}, z.core.$strict>, z.ZodObject<{
|
|
1474
1440
|
url: z.ZodOptional<z.ZodString>;
|
|
1441
|
+
/**
|
|
1442
|
+
* Reference to registry publishing credentials. Raw tokens/passwords are intentionally not part of
|
|
1443
|
+
* SDK Config IR; the external publisher or orchestrator resolves this reference before use.
|
|
1444
|
+
*/
|
|
1475
1445
|
credentialsRef: z.ZodOptional<z.ZodString>;
|
|
1476
1446
|
releaseBranch: z.ZodOptional<z.ZodString>;
|
|
1477
1447
|
tolerateRepublish: z.ZodOptional<z.ZodBoolean>;
|
|
1478
1448
|
registry: z.ZodLiteral<"composer">;
|
|
1479
1449
|
}, z.core.$strict>, z.ZodObject<{
|
|
1480
1450
|
url: z.ZodOptional<z.ZodString>;
|
|
1451
|
+
/**
|
|
1452
|
+
* Reference to registry publishing credentials. Raw tokens/passwords are intentionally not part of
|
|
1453
|
+
* SDK Config IR; the external publisher or orchestrator resolves this reference before use.
|
|
1454
|
+
*/
|
|
1481
1455
|
credentialsRef: z.ZodOptional<z.ZodString>;
|
|
1482
1456
|
releaseBranch: z.ZodOptional<z.ZodString>;
|
|
1483
1457
|
tolerateRepublish: z.ZodOptional<z.ZodBoolean>;
|
|
1484
1458
|
registry: z.ZodLiteral<"maven">;
|
|
1459
|
+
/**
|
|
1460
|
+
* Reference to Maven signing credentials. Raw signing keys are intentionally not part of SDK
|
|
1461
|
+
* Config IR; the external publisher or orchestrator resolves this reference before use.
|
|
1462
|
+
*/
|
|
1485
1463
|
signingCredentialsRef: z.ZodOptional<z.ZodString>;
|
|
1486
1464
|
}, z.core.$strict>], "registry">>;
|
|
1487
1465
|
}, z.core.$strict>, z.ZodObject<{
|
|
1466
|
+
/**
|
|
1467
|
+
* Where output credential references are resolved. SDK Config IR carries refs only; raw resolved
|
|
1468
|
+
* credentials belong at the external publisher/orchestrator boundary, not in this config.
|
|
1469
|
+
*/
|
|
1470
|
+
credentialResolution: z.ZodDefault<z.ZodEnum<{
|
|
1471
|
+
"refs-only": "refs-only";
|
|
1472
|
+
"resolved-by-orchestrator": "resolved-by-orchestrator";
|
|
1473
|
+
"resolved-by-fiddle": "resolved-by-fiddle";
|
|
1474
|
+
}>>;
|
|
1488
1475
|
delivery: z.ZodLiteral<"github">;
|
|
1489
1476
|
github: z.ZodObject<{
|
|
1490
1477
|
repository: z.ZodString;
|
|
@@ -1499,191 +1486,115 @@ declare const outputConfigSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1499
1486
|
teams: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1500
1487
|
users: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1501
1488
|
}, z.core.$strict>>;
|
|
1489
|
+
/**
|
|
1490
|
+
* Reference to GitHub credentials. Raw tokens are intentionally not part of SDK Config IR; the
|
|
1491
|
+
* external publisher or orchestrator resolves this reference before use.
|
|
1492
|
+
*/
|
|
1502
1493
|
credentialsRef: z.ZodOptional<z.ZodString>;
|
|
1503
1494
|
privateRepository: z.ZodOptional<z.ZodBoolean>;
|
|
1495
|
+
/** GitHub replay control. If omitted, the external publisher applies its default behavior. */
|
|
1496
|
+
replay: z.ZodOptional<z.ZodObject<{
|
|
1497
|
+
enabled: z.ZodBoolean;
|
|
1498
|
+
}, z.core.$strict>>;
|
|
1499
|
+
/** Run GitHub publishing verification. Defaults to false to match current Fiddle job behavior. */
|
|
1500
|
+
verify: z.ZodDefault<z.ZodBoolean>;
|
|
1501
|
+
/** Skip creating/updating a GitHub PR when no files changed. Defaults to false. */
|
|
1502
|
+
skipIfNoDiff: z.ZodDefault<z.ZodBoolean>;
|
|
1503
|
+
/** Automatically merge the GitHub publishing PR. Defaults to false. */
|
|
1504
|
+
autoMerge: z.ZodDefault<z.ZodBoolean>;
|
|
1504
1505
|
}, z.core.$strict>;
|
|
1505
1506
|
publish: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1506
1507
|
url: z.ZodOptional<z.ZodString>;
|
|
1508
|
+
/**
|
|
1509
|
+
* Reference to registry publishing credentials. Raw tokens/passwords are intentionally not part of
|
|
1510
|
+
* SDK Config IR; the external publisher or orchestrator resolves this reference before use.
|
|
1511
|
+
*/
|
|
1507
1512
|
credentialsRef: z.ZodOptional<z.ZodString>;
|
|
1508
1513
|
releaseBranch: z.ZodOptional<z.ZodString>;
|
|
1509
1514
|
tolerateRepublish: z.ZodOptional<z.ZodBoolean>;
|
|
1510
1515
|
registry: z.ZodLiteral<"npm">;
|
|
1511
1516
|
}, z.core.$strict>, z.ZodObject<{
|
|
1512
1517
|
url: z.ZodOptional<z.ZodString>;
|
|
1518
|
+
/**
|
|
1519
|
+
* Reference to registry publishing credentials. Raw tokens/passwords are intentionally not part of
|
|
1520
|
+
* SDK Config IR; the external publisher or orchestrator resolves this reference before use.
|
|
1521
|
+
*/
|
|
1513
1522
|
credentialsRef: z.ZodOptional<z.ZodString>;
|
|
1514
1523
|
releaseBranch: z.ZodOptional<z.ZodString>;
|
|
1515
1524
|
tolerateRepublish: z.ZodOptional<z.ZodBoolean>;
|
|
1516
1525
|
registry: z.ZodLiteral<"pypi">;
|
|
1517
1526
|
}, z.core.$strict>, z.ZodObject<{
|
|
1518
1527
|
url: z.ZodOptional<z.ZodString>;
|
|
1528
|
+
/**
|
|
1529
|
+
* Reference to registry publishing credentials. Raw tokens/passwords are intentionally not part of
|
|
1530
|
+
* SDK Config IR; the external publisher or orchestrator resolves this reference before use.
|
|
1531
|
+
*/
|
|
1519
1532
|
credentialsRef: z.ZodOptional<z.ZodString>;
|
|
1520
1533
|
releaseBranch: z.ZodOptional<z.ZodString>;
|
|
1521
1534
|
tolerateRepublish: z.ZodOptional<z.ZodBoolean>;
|
|
1522
1535
|
registry: z.ZodLiteral<"nuget">;
|
|
1523
1536
|
}, z.core.$strict>, z.ZodObject<{
|
|
1524
1537
|
url: z.ZodOptional<z.ZodString>;
|
|
1538
|
+
/**
|
|
1539
|
+
* Reference to registry publishing credentials. Raw tokens/passwords are intentionally not part of
|
|
1540
|
+
* SDK Config IR; the external publisher or orchestrator resolves this reference before use.
|
|
1541
|
+
*/
|
|
1525
1542
|
credentialsRef: z.ZodOptional<z.ZodString>;
|
|
1526
1543
|
releaseBranch: z.ZodOptional<z.ZodString>;
|
|
1527
1544
|
tolerateRepublish: z.ZodOptional<z.ZodBoolean>;
|
|
1528
1545
|
registry: z.ZodLiteral<"rubygems">;
|
|
1529
1546
|
}, z.core.$strict>, z.ZodObject<{
|
|
1530
1547
|
url: z.ZodOptional<z.ZodString>;
|
|
1548
|
+
/**
|
|
1549
|
+
* Reference to registry publishing credentials. Raw tokens/passwords are intentionally not part of
|
|
1550
|
+
* SDK Config IR; the external publisher or orchestrator resolves this reference before use.
|
|
1551
|
+
*/
|
|
1531
1552
|
credentialsRef: z.ZodOptional<z.ZodString>;
|
|
1532
1553
|
releaseBranch: z.ZodOptional<z.ZodString>;
|
|
1533
1554
|
tolerateRepublish: z.ZodOptional<z.ZodBoolean>;
|
|
1534
1555
|
registry: z.ZodLiteral<"crates">;
|
|
1535
1556
|
}, z.core.$strict>, z.ZodObject<{
|
|
1536
1557
|
url: z.ZodOptional<z.ZodString>;
|
|
1558
|
+
/**
|
|
1559
|
+
* Reference to registry publishing credentials. Raw tokens/passwords are intentionally not part of
|
|
1560
|
+
* SDK Config IR; the external publisher or orchestrator resolves this reference before use.
|
|
1561
|
+
*/
|
|
1537
1562
|
credentialsRef: z.ZodOptional<z.ZodString>;
|
|
1538
1563
|
releaseBranch: z.ZodOptional<z.ZodString>;
|
|
1539
1564
|
tolerateRepublish: z.ZodOptional<z.ZodBoolean>;
|
|
1540
1565
|
registry: z.ZodLiteral<"go">;
|
|
1541
1566
|
}, z.core.$strict>, z.ZodObject<{
|
|
1542
1567
|
url: z.ZodOptional<z.ZodString>;
|
|
1568
|
+
/**
|
|
1569
|
+
* Reference to registry publishing credentials. Raw tokens/passwords are intentionally not part of
|
|
1570
|
+
* SDK Config IR; the external publisher or orchestrator resolves this reference before use.
|
|
1571
|
+
*/
|
|
1543
1572
|
credentialsRef: z.ZodOptional<z.ZodString>;
|
|
1544
1573
|
releaseBranch: z.ZodOptional<z.ZodString>;
|
|
1545
1574
|
tolerateRepublish: z.ZodOptional<z.ZodBoolean>;
|
|
1546
1575
|
registry: z.ZodLiteral<"composer">;
|
|
1547
1576
|
}, z.core.$strict>, z.ZodObject<{
|
|
1548
1577
|
url: z.ZodOptional<z.ZodString>;
|
|
1578
|
+
/**
|
|
1579
|
+
* Reference to registry publishing credentials. Raw tokens/passwords are intentionally not part of
|
|
1580
|
+
* SDK Config IR; the external publisher or orchestrator resolves this reference before use.
|
|
1581
|
+
*/
|
|
1549
1582
|
credentialsRef: z.ZodOptional<z.ZodString>;
|
|
1550
1583
|
releaseBranch: z.ZodOptional<z.ZodString>;
|
|
1551
1584
|
tolerateRepublish: z.ZodOptional<z.ZodBoolean>;
|
|
1552
1585
|
registry: z.ZodLiteral<"maven">;
|
|
1586
|
+
/**
|
|
1587
|
+
* Reference to Maven signing credentials. Raw signing keys are intentionally not part of SDK
|
|
1588
|
+
* Config IR; the external publisher or orchestrator resolves this reference before use.
|
|
1589
|
+
*/
|
|
1553
1590
|
signingCredentialsRef: z.ZodOptional<z.ZodString>;
|
|
1554
1591
|
}, z.core.$strict>], "registry">>;
|
|
1555
1592
|
}, z.core.$strict>], "delivery">;
|
|
1593
|
+
type CredentialResolution = z.infer<typeof credentialResolutionSchema>;
|
|
1556
1594
|
type PublishRegistry = z.infer<typeof publishRegistrySchema>;
|
|
1557
1595
|
type PublishConfig = z.infer<typeof publishConfigSchema>;
|
|
1558
1596
|
type OutputConfig = z.infer<typeof outputConfigSchema>;
|
|
1559
1597
|
|
|
1560
|
-
declare const goModulePathSchema: z.ZodString;
|
|
1561
|
-
declare const composerPackageNameSchema: z.ZodString;
|
|
1562
|
-
declare const dependencySchema: z.ZodObject<{
|
|
1563
|
-
name: z.ZodString;
|
|
1564
|
-
version: z.ZodOptional<z.ZodString>;
|
|
1565
|
-
source: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1566
|
-
type: z.ZodLiteral<"registry">;
|
|
1567
|
-
registry: z.ZodOptional<z.ZodString>;
|
|
1568
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1569
|
-
type: z.ZodLiteral<"git">;
|
|
1570
|
-
url: z.ZodString;
|
|
1571
|
-
ref: z.ZodOptional<z.ZodString>;
|
|
1572
|
-
subdirectory: z.ZodOptional<z.ZodString>;
|
|
1573
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1574
|
-
type: z.ZodLiteral<"path">;
|
|
1575
|
-
path: z.ZodString;
|
|
1576
|
-
}, z.core.$strict>], "type">>;
|
|
1577
|
-
packageName: z.ZodOptional<z.ZodString>;
|
|
1578
|
-
features: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1579
|
-
extras: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1580
|
-
optional: z.ZodOptional<z.ZodBoolean>;
|
|
1581
|
-
defaultFeatures: z.ZodOptional<z.ZodBoolean>;
|
|
1582
|
-
environmentMarker: z.ZodOptional<z.ZodString>;
|
|
1583
|
-
}, z.core.$strict>;
|
|
1584
|
-
declare const packageConfigSchema: z.ZodObject<{
|
|
1585
|
-
packageName: z.ZodOptional<z.ZodString>;
|
|
1586
|
-
moduleName: z.ZodOptional<z.ZodString>;
|
|
1587
|
-
modulePath: z.ZodOptional<z.ZodString>;
|
|
1588
|
-
namespace: z.ZodOptional<z.ZodString>;
|
|
1589
|
-
groupId: z.ZodOptional<z.ZodString>;
|
|
1590
|
-
artifactId: z.ZodOptional<z.ZodString>;
|
|
1591
|
-
description: z.ZodOptional<z.ZodString>;
|
|
1592
|
-
repository: z.ZodOptional<z.ZodString>;
|
|
1593
|
-
homepage: z.ZodOptional<z.ZodString>;
|
|
1594
|
-
documentationUrl: z.ZodOptional<z.ZodString>;
|
|
1595
|
-
authors: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1596
|
-
name: z.ZodString;
|
|
1597
|
-
email: z.ZodOptional<z.ZodEmail>;
|
|
1598
|
-
}, z.core.$strict>>>;
|
|
1599
|
-
developers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1600
|
-
name: z.ZodString;
|
|
1601
|
-
email: z.ZodOptional<z.ZodEmail>;
|
|
1602
|
-
organization: z.ZodOptional<z.ZodString>;
|
|
1603
|
-
organizationUrl: z.ZodOptional<z.ZodString>;
|
|
1604
|
-
}, z.core.$strict>>>;
|
|
1605
|
-
license: z.ZodOptional<z.ZodObject<{
|
|
1606
|
-
type: z.ZodString;
|
|
1607
|
-
name: z.ZodOptional<z.ZodString>;
|
|
1608
|
-
url: z.ZodOptional<z.ZodString>;
|
|
1609
|
-
path: z.ZodOptional<z.ZodString>;
|
|
1610
|
-
}, z.core.$strict>>;
|
|
1611
|
-
keywords: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1612
|
-
classifiers: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1613
|
-
projectUrls: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1614
|
-
label: z.ZodString;
|
|
1615
|
-
url: z.ZodString;
|
|
1616
|
-
}, z.core.$strict>>>;
|
|
1617
|
-
extraDependencies: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1618
|
-
name: z.ZodString;
|
|
1619
|
-
version: z.ZodOptional<z.ZodString>;
|
|
1620
|
-
source: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1621
|
-
type: z.ZodLiteral<"registry">;
|
|
1622
|
-
registry: z.ZodOptional<z.ZodString>;
|
|
1623
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1624
|
-
type: z.ZodLiteral<"git">;
|
|
1625
|
-
url: z.ZodString;
|
|
1626
|
-
ref: z.ZodOptional<z.ZodString>;
|
|
1627
|
-
subdirectory: z.ZodOptional<z.ZodString>;
|
|
1628
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1629
|
-
type: z.ZodLiteral<"path">;
|
|
1630
|
-
path: z.ZodString;
|
|
1631
|
-
}, z.core.$strict>], "type">>;
|
|
1632
|
-
packageName: z.ZodOptional<z.ZodString>;
|
|
1633
|
-
features: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1634
|
-
extras: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1635
|
-
optional: z.ZodOptional<z.ZodBoolean>;
|
|
1636
|
-
defaultFeatures: z.ZodOptional<z.ZodBoolean>;
|
|
1637
|
-
environmentMarker: z.ZodOptional<z.ZodString>;
|
|
1638
|
-
}, z.core.$strict>>>;
|
|
1639
|
-
extraDevDependencies: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1640
|
-
name: z.ZodString;
|
|
1641
|
-
version: z.ZodOptional<z.ZodString>;
|
|
1642
|
-
source: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1643
|
-
type: z.ZodLiteral<"registry">;
|
|
1644
|
-
registry: z.ZodOptional<z.ZodString>;
|
|
1645
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1646
|
-
type: z.ZodLiteral<"git">;
|
|
1647
|
-
url: z.ZodString;
|
|
1648
|
-
ref: z.ZodOptional<z.ZodString>;
|
|
1649
|
-
subdirectory: z.ZodOptional<z.ZodString>;
|
|
1650
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1651
|
-
type: z.ZodLiteral<"path">;
|
|
1652
|
-
path: z.ZodString;
|
|
1653
|
-
}, z.core.$strict>], "type">>;
|
|
1654
|
-
packageName: z.ZodOptional<z.ZodString>;
|
|
1655
|
-
features: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1656
|
-
extras: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1657
|
-
optional: z.ZodOptional<z.ZodBoolean>;
|
|
1658
|
-
defaultFeatures: z.ZodOptional<z.ZodBoolean>;
|
|
1659
|
-
environmentMarker: z.ZodOptional<z.ZodString>;
|
|
1660
|
-
}, z.core.$strict>>>;
|
|
1661
|
-
extraPeerDependencies: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1662
|
-
name: z.ZodString;
|
|
1663
|
-
version: z.ZodOptional<z.ZodString>;
|
|
1664
|
-
source: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1665
|
-
type: z.ZodLiteral<"registry">;
|
|
1666
|
-
registry: z.ZodOptional<z.ZodString>;
|
|
1667
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1668
|
-
type: z.ZodLiteral<"git">;
|
|
1669
|
-
url: z.ZodString;
|
|
1670
|
-
ref: z.ZodOptional<z.ZodString>;
|
|
1671
|
-
subdirectory: z.ZodOptional<z.ZodString>;
|
|
1672
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1673
|
-
type: z.ZodLiteral<"path">;
|
|
1674
|
-
path: z.ZodString;
|
|
1675
|
-
}, z.core.$strict>], "type">>;
|
|
1676
|
-
packageName: z.ZodOptional<z.ZodString>;
|
|
1677
|
-
features: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1678
|
-
extras: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1679
|
-
optional: z.ZodOptional<z.ZodBoolean>;
|
|
1680
|
-
defaultFeatures: z.ZodOptional<z.ZodBoolean>;
|
|
1681
|
-
environmentMarker: z.ZodOptional<z.ZodString>;
|
|
1682
|
-
}, z.core.$strict>>>;
|
|
1683
|
-
}, z.core.$strict>;
|
|
1684
|
-
type Dependency = z.infer<typeof dependencySchema>;
|
|
1685
|
-
type PackageConfig = z.infer<typeof packageConfigSchema>;
|
|
1686
|
-
|
|
1687
1598
|
declare const SDK_CONFIG_IR_V1_SCHEMA_VERSION: "sdk-config-ir/v1";
|
|
1688
1599
|
declare const sdkConfigIrV1Schema: z.ZodObject<{
|
|
1689
1600
|
schemaVersion: z.ZodLiteral<"sdk-config-ir/v1">;
|
|
@@ -1715,6 +1626,12 @@ declare const sdkConfigIrV1Schema: z.ZodObject<{
|
|
|
1715
1626
|
objectQueryParameters: z.ZodOptional<z.ZodBoolean>;
|
|
1716
1627
|
typeDatesAsStrings: z.ZodOptional<z.ZodBoolean>;
|
|
1717
1628
|
groupMultiApiEnvironments: z.ZodOptional<z.ZodBoolean>;
|
|
1629
|
+
defaultIntegerFormat: z.ZodOptional<z.ZodEnum<{
|
|
1630
|
+
int32: "int32";
|
|
1631
|
+
int64: "int64";
|
|
1632
|
+
uint32: "uint32";
|
|
1633
|
+
uint64: "uint64";
|
|
1634
|
+
}>>;
|
|
1718
1635
|
}, z.core.$strict>>;
|
|
1719
1636
|
overlays: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1720
1637
|
overrides: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -1734,31 +1651,39 @@ declare const sdkConfigIrV1Schema: z.ZodObject<{
|
|
|
1734
1651
|
objectQueryParameters: z.ZodOptional<z.ZodBoolean>;
|
|
1735
1652
|
typeDatesAsStrings: z.ZodOptional<z.ZodBoolean>;
|
|
1736
1653
|
groupMultiApiEnvironments: z.ZodOptional<z.ZodBoolean>;
|
|
1654
|
+
defaultIntegerFormat: z.ZodOptional<z.ZodEnum<{
|
|
1655
|
+
int32: "int32";
|
|
1656
|
+
int64: "int64";
|
|
1657
|
+
uint32: "uint32";
|
|
1658
|
+
uint64: "uint64";
|
|
1659
|
+
}>>;
|
|
1737
1660
|
}, z.core.$strict>>;
|
|
1738
1661
|
}, z.core.$strict>;
|
|
1739
1662
|
target: z.ZodObject<{
|
|
1740
1663
|
language: z.ZodEnum<{
|
|
1664
|
+
go: "go";
|
|
1741
1665
|
typescript: "typescript";
|
|
1742
1666
|
python: "python";
|
|
1743
1667
|
java: "java";
|
|
1744
1668
|
kotlin: "kotlin";
|
|
1745
|
-
go: "go";
|
|
1746
1669
|
csharp: "csharp";
|
|
1747
1670
|
php: "php";
|
|
1748
1671
|
ruby: "ruby";
|
|
1749
1672
|
rust: "rust";
|
|
1673
|
+
swift: "swift";
|
|
1750
1674
|
cli: "cli";
|
|
1751
1675
|
mcp: "mcp";
|
|
1752
|
-
swift: "swift";
|
|
1753
1676
|
terraform: "terraform";
|
|
1754
1677
|
}>;
|
|
1755
1678
|
generatorVersion: z.ZodOptional<z.ZodString>;
|
|
1756
1679
|
sourceOrigin: z.ZodEnum<{
|
|
1757
|
-
fern: "fern";
|
|
1758
1680
|
postman: "postman";
|
|
1681
|
+
fern: "fern";
|
|
1759
1682
|
}>;
|
|
1760
1683
|
sdkName: z.ZodString;
|
|
1684
|
+
apiName: z.ZodOptional<z.ZodString>;
|
|
1761
1685
|
organization: z.ZodOptional<z.ZodString>;
|
|
1686
|
+
organizationName: z.ZodOptional<z.ZodString>;
|
|
1762
1687
|
sdkVersion: z.ZodDefault<z.ZodString>;
|
|
1763
1688
|
apiVersion: z.ZodOptional<z.ZodString>;
|
|
1764
1689
|
}, z.core.$strict>;
|
|
@@ -1894,6 +1819,7 @@ declare const sdkConfigIrV1Schema: z.ZodObject<{
|
|
|
1894
1819
|
description: z.ZodOptional<z.ZodString>;
|
|
1895
1820
|
environmentVariable: z.ZodOptional<z.ZodString>;
|
|
1896
1821
|
}, z.core.$strict>>>;
|
|
1822
|
+
audiences: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1897
1823
|
}, z.core.$strict>;
|
|
1898
1824
|
client: z.ZodObject<{
|
|
1899
1825
|
retry: z.ZodPrefault<z.ZodObject<{
|
|
@@ -1937,6 +1863,7 @@ declare const sdkConfigIrV1Schema: z.ZodObject<{
|
|
|
1937
1863
|
"language-default": "language-default";
|
|
1938
1864
|
}>>;
|
|
1939
1865
|
useDefaultRequestParameterValues: z.ZodOptional<z.ZodBoolean>;
|
|
1866
|
+
respectOptionalRequestBody: z.ZodOptional<z.ZodBoolean>;
|
|
1940
1867
|
tokenRefresh: z.ZodOptional<z.ZodObject<{
|
|
1941
1868
|
enabled: z.ZodBoolean;
|
|
1942
1869
|
endpoint: z.ZodOptional<z.ZodString>;
|
|
@@ -2045,6 +1972,11 @@ declare const sdkConfigIrV1Schema: z.ZodObject<{
|
|
|
2045
1972
|
}, z.core.$strict>>>;
|
|
2046
1973
|
}, z.core.$strict>;
|
|
2047
1974
|
output: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1975
|
+
credentialResolution: z.ZodDefault<z.ZodEnum<{
|
|
1976
|
+
"refs-only": "refs-only";
|
|
1977
|
+
"resolved-by-orchestrator": "resolved-by-orchestrator";
|
|
1978
|
+
"resolved-by-fiddle": "resolved-by-fiddle";
|
|
1979
|
+
}>>;
|
|
2048
1980
|
delivery: z.ZodLiteral<"files">;
|
|
2049
1981
|
path: z.ZodOptional<z.ZodString>;
|
|
2050
1982
|
publish: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -2098,6 +2030,11 @@ declare const sdkConfigIrV1Schema: z.ZodObject<{
|
|
|
2098
2030
|
signingCredentialsRef: z.ZodOptional<z.ZodString>;
|
|
2099
2031
|
}, z.core.$strict>], "registry">>;
|
|
2100
2032
|
}, z.core.$strict>, z.ZodObject<{
|
|
2033
|
+
credentialResolution: z.ZodDefault<z.ZodEnum<{
|
|
2034
|
+
"refs-only": "refs-only";
|
|
2035
|
+
"resolved-by-orchestrator": "resolved-by-orchestrator";
|
|
2036
|
+
"resolved-by-fiddle": "resolved-by-fiddle";
|
|
2037
|
+
}>>;
|
|
2101
2038
|
delivery: z.ZodLiteral<"zip">;
|
|
2102
2039
|
fileName: z.ZodOptional<z.ZodString>;
|
|
2103
2040
|
publish: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -2151,6 +2088,11 @@ declare const sdkConfigIrV1Schema: z.ZodObject<{
|
|
|
2151
2088
|
signingCredentialsRef: z.ZodOptional<z.ZodString>;
|
|
2152
2089
|
}, z.core.$strict>], "registry">>;
|
|
2153
2090
|
}, z.core.$strict>, z.ZodObject<{
|
|
2091
|
+
credentialResolution: z.ZodDefault<z.ZodEnum<{
|
|
2092
|
+
"refs-only": "refs-only";
|
|
2093
|
+
"resolved-by-orchestrator": "resolved-by-orchestrator";
|
|
2094
|
+
"resolved-by-fiddle": "resolved-by-fiddle";
|
|
2095
|
+
}>>;
|
|
2154
2096
|
delivery: z.ZodLiteral<"github">;
|
|
2155
2097
|
github: z.ZodObject<{
|
|
2156
2098
|
repository: z.ZodString;
|
|
@@ -2167,6 +2109,12 @@ declare const sdkConfigIrV1Schema: z.ZodObject<{
|
|
|
2167
2109
|
}, z.core.$strict>>;
|
|
2168
2110
|
credentialsRef: z.ZodOptional<z.ZodString>;
|
|
2169
2111
|
privateRepository: z.ZodOptional<z.ZodBoolean>;
|
|
2112
|
+
replay: z.ZodOptional<z.ZodObject<{
|
|
2113
|
+
enabled: z.ZodBoolean;
|
|
2114
|
+
}, z.core.$strict>>;
|
|
2115
|
+
verify: z.ZodDefault<z.ZodBoolean>;
|
|
2116
|
+
skipIfNoDiff: z.ZodDefault<z.ZodBoolean>;
|
|
2117
|
+
autoMerge: z.ZodDefault<z.ZodBoolean>;
|
|
2170
2118
|
}, z.core.$strict>;
|
|
2171
2119
|
publish: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2172
2120
|
url: z.ZodOptional<z.ZodString>;
|
|
@@ -2226,6 +2174,10 @@ declare const sdkConfigIrV1Schema: z.ZodObject<{
|
|
|
2226
2174
|
apiReferenceLink: z.ZodOptional<z.ZodString>;
|
|
2227
2175
|
bannerLink: z.ZodOptional<z.ZodString>;
|
|
2228
2176
|
disabledSections: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2177
|
+
customSections: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2178
|
+
title: z.ZodString;
|
|
2179
|
+
content: z.ZodString;
|
|
2180
|
+
}, z.core.$strict>>>;
|
|
2229
2181
|
defaultEndpoint: z.ZodOptional<z.ZodObject<{
|
|
2230
2182
|
method: z.ZodEnum<{
|
|
2231
2183
|
GET: "GET";
|
|
@@ -2279,17 +2231,25 @@ declare const sdkConfigIrV1Schema: z.ZodObject<{
|
|
|
2279
2231
|
devContainer: z.ZodDefault<z.ZodBoolean>;
|
|
2280
2232
|
allowMockClient: z.ZodDefault<z.ZodBoolean>;
|
|
2281
2233
|
ignoreFiles: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2234
|
+
fernignoreContents: z.ZodOptional<z.ZodString>;
|
|
2235
|
+
fernDefinitionMetadata: z.ZodOptional<z.ZodObject<{
|
|
2236
|
+
definitionS3DownloadUrl: z.ZodString;
|
|
2237
|
+
outputPath: z.ZodOptional<z.ZodString>;
|
|
2238
|
+
cliVersion: z.ZodOptional<z.ZodString>;
|
|
2239
|
+
}, z.core.$strict>>;
|
|
2282
2240
|
reservedKeywords: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2283
2241
|
hooks: z.ZodOptional<z.ZodObject<{
|
|
2284
2242
|
enabled: z.ZodBoolean;
|
|
2285
|
-
source: z.ZodOptional<z.ZodObject<{
|
|
2286
|
-
type: z.
|
|
2287
|
-
path: "path";
|
|
2288
|
-
url: "url";
|
|
2289
|
-
artifact: "artifact";
|
|
2290
|
-
}>;
|
|
2243
|
+
source: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2244
|
+
type: z.ZodLiteral<"path">;
|
|
2291
2245
|
location: z.ZodString;
|
|
2292
|
-
}, z.core.$strict
|
|
2246
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2247
|
+
type: z.ZodLiteral<"url">;
|
|
2248
|
+
location: z.ZodString;
|
|
2249
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2250
|
+
type: z.ZodLiteral<"artifact">;
|
|
2251
|
+
location: z.ZodString;
|
|
2252
|
+
}, z.core.$strict>], "type">>;
|
|
2293
2253
|
dependencies: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2294
2254
|
name: z.ZodString;
|
|
2295
2255
|
version: z.ZodString;
|
|
@@ -2298,14 +2258,16 @@ declare const sdkConfigIrV1Schema: z.ZodObject<{
|
|
|
2298
2258
|
}, z.core.$strict>>;
|
|
2299
2259
|
customCode: z.ZodOptional<z.ZodObject<{
|
|
2300
2260
|
enabled: z.ZodBoolean;
|
|
2301
|
-
source: z.ZodOptional<z.ZodObject<{
|
|
2302
|
-
type: z.
|
|
2303
|
-
path: "path";
|
|
2304
|
-
url: "url";
|
|
2305
|
-
artifact: "artifact";
|
|
2306
|
-
}>;
|
|
2261
|
+
source: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2262
|
+
type: z.ZodLiteral<"path">;
|
|
2307
2263
|
location: z.ZodString;
|
|
2308
|
-
}, z.core.$strict
|
|
2264
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2265
|
+
type: z.ZodLiteral<"url">;
|
|
2266
|
+
location: z.ZodString;
|
|
2267
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2268
|
+
type: z.ZodLiteral<"artifact">;
|
|
2269
|
+
location: z.ZodString;
|
|
2270
|
+
}, z.core.$strict>], "type">>;
|
|
2309
2271
|
conflictStrategy: z.ZodOptional<z.ZodEnum<{
|
|
2310
2272
|
mark: "mark";
|
|
2311
2273
|
ours: "ours";
|
|
@@ -2351,9 +2313,9 @@ declare const sdkConfigIrV1Schema: z.ZodObject<{
|
|
|
2351
2313
|
unitTests: z.ZodOptional<z.ZodObject<{
|
|
2352
2314
|
enabled: z.ZodBoolean;
|
|
2353
2315
|
mode: z.ZodOptional<z.ZodEnum<{
|
|
2354
|
-
both: "both";
|
|
2355
2316
|
"core-runtime": "core-runtime";
|
|
2356
2317
|
"schema-driven": "schema-driven";
|
|
2318
|
+
both: "both";
|
|
2357
2319
|
}>>;
|
|
2358
2320
|
exclusions: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2359
2321
|
}, z.core.$strict>>;
|
|
@@ -2447,9 +2409,9 @@ declare const sdkConfigIrV1Schema: z.ZodObject<{
|
|
|
2447
2409
|
pydanticVersion: z.ZodOptional<z.ZodString>;
|
|
2448
2410
|
pydantic: z.ZodOptional<z.ZodObject<{
|
|
2449
2411
|
versionCompatibility: z.ZodOptional<z.ZodEnum<{
|
|
2412
|
+
both: "both";
|
|
2450
2413
|
v1: "v1";
|
|
2451
2414
|
v2: "v2";
|
|
2452
|
-
both: "both";
|
|
2453
2415
|
"v1-on-v2": "v1-on-v2";
|
|
2454
2416
|
}>>;
|
|
2455
2417
|
frozen: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -2477,6 +2439,10 @@ declare const sdkConfigIrV1Schema: z.ZodObject<{
|
|
|
2477
2439
|
gradleDistributionUrl: z.ZodOptional<z.ZodString>;
|
|
2478
2440
|
gradlePluginManagement: z.ZodOptional<z.ZodString>;
|
|
2479
2441
|
gradleCentralDependencyManagement: z.ZodOptional<z.ZodBoolean>;
|
|
2442
|
+
asyncStyle: z.ZodOptional<z.ZodEnum<{
|
|
2443
|
+
"dedicated-client": "dedicated-client";
|
|
2444
|
+
"twin-methods": "twin-methods";
|
|
2445
|
+
}>>;
|
|
2480
2446
|
includeKotlinSnippets: z.ZodOptional<z.ZodBoolean>;
|
|
2481
2447
|
}, z.core.$strict>>;
|
|
2482
2448
|
kotlin: z.ZodOptional<z.ZodObject<{
|
|
@@ -2489,9 +2455,15 @@ declare const sdkConfigIrV1Schema: z.ZodObject<{
|
|
|
2489
2455
|
gradleDistributionUrl: z.ZodOptional<z.ZodString>;
|
|
2490
2456
|
gradlePluginManagement: z.ZodOptional<z.ZodString>;
|
|
2491
2457
|
gradleCentralDependencyManagement: z.ZodOptional<z.ZodBoolean>;
|
|
2458
|
+
asyncStyle: z.ZodOptional<z.ZodEnum<{
|
|
2459
|
+
"dedicated-client": "dedicated-client";
|
|
2460
|
+
"twin-methods": "twin-methods";
|
|
2461
|
+
}>>;
|
|
2492
2462
|
}, z.core.$strict>>;
|
|
2493
2463
|
go: z.ZodOptional<z.ZodObject<{
|
|
2494
2464
|
legacyComplexModels: z.ZodOptional<z.ZodBoolean>;
|
|
2465
|
+
smartCasing: z.ZodOptional<z.ZodBoolean>;
|
|
2466
|
+
clientConstructorName: z.ZodOptional<z.ZodString>;
|
|
2495
2467
|
unionVersion: z.ZodOptional<z.ZodEnum<{
|
|
2496
2468
|
v0: "v0";
|
|
2497
2469
|
v1: "v1";
|
|
@@ -2504,6 +2476,7 @@ declare const sdkConfigIrV1Schema: z.ZodObject<{
|
|
|
2504
2476
|
explicitNamespaces: z.ZodOptional<z.ZodBoolean>;
|
|
2505
2477
|
rootNamespaceForCoreClasses: z.ZodOptional<z.ZodBoolean>;
|
|
2506
2478
|
includeExceptionHandler: z.ZodOptional<z.ZodBoolean>;
|
|
2479
|
+
experimentalExplicitNullableOptional: z.ZodOptional<z.ZodBoolean>;
|
|
2507
2480
|
}, z.core.$strict>>;
|
|
2508
2481
|
php: z.ZodOptional<z.ZodObject<{
|
|
2509
2482
|
propertyAccess: z.ZodOptional<z.ZodEnum<{
|
|
@@ -2565,9 +2538,30 @@ declare const sdkConfigIrV1Schema: z.ZodObject<{
|
|
|
2565
2538
|
name: z.ZodString;
|
|
2566
2539
|
command: z.ZodString;
|
|
2567
2540
|
}, z.core.$strict>>>;
|
|
2541
|
+
serverName: z.ZodOptional<z.ZodString>;
|
|
2542
|
+
serverDescription: z.ZodOptional<z.ZodString>;
|
|
2543
|
+
excludeAvailability: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
2544
|
+
IN_DEVELOPMENT: "IN_DEVELOPMENT";
|
|
2545
|
+
PRE_RELEASE: "PRE_RELEASE";
|
|
2546
|
+
GENERAL_AVAILABILITY: "GENERAL_AVAILABILITY";
|
|
2547
|
+
DEPRECATED: "DEPRECATED";
|
|
2548
|
+
ALPHA: "ALPHA";
|
|
2549
|
+
BETA: "BETA";
|
|
2550
|
+
PREVIEW: "PREVIEW";
|
|
2551
|
+
LEGACY: "LEGACY";
|
|
2552
|
+
}>>>;
|
|
2553
|
+
tools: z.ZodOptional<z.ZodObject<{
|
|
2554
|
+
include: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2555
|
+
exclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2556
|
+
}, z.core.$strict>>;
|
|
2557
|
+
toolsets: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
2558
|
+
include: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2559
|
+
exclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2560
|
+
}, z.core.$strict>>>;
|
|
2568
2561
|
}, z.core.$strict>>;
|
|
2569
2562
|
swift: z.ZodOptional<z.ZodObject<{
|
|
2570
2563
|
moduleName: z.ZodOptional<z.ZodString>;
|
|
2564
|
+
nullableAsOptional: z.ZodOptional<z.ZodBoolean>;
|
|
2571
2565
|
}, z.core.$strict>>;
|
|
2572
2566
|
terraform: z.ZodOptional<z.ZodObject<{
|
|
2573
2567
|
providerName: z.ZodOptional<z.ZodString>;
|
|
@@ -2611,8 +2605,8 @@ declare const sdkConfigIrV1Schema: z.ZodObject<{
|
|
|
2611
2605
|
}, z.core.$strict>], "kind">>;
|
|
2612
2606
|
unsupportedFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2613
2607
|
source: z.ZodEnum<{
|
|
2614
|
-
fern: "fern";
|
|
2615
2608
|
postman: "postman";
|
|
2609
|
+
fern: "fern";
|
|
2616
2610
|
"sdk-config-ir": "sdk-config-ir";
|
|
2617
2611
|
}>;
|
|
2618
2612
|
path: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
@@ -2652,6 +2646,12 @@ declare const apiImportSettingsSchema: z.ZodObject<{
|
|
|
2652
2646
|
objectQueryParameters: z.ZodOptional<z.ZodBoolean>;
|
|
2653
2647
|
typeDatesAsStrings: z.ZodOptional<z.ZodBoolean>;
|
|
2654
2648
|
groupMultiApiEnvironments: z.ZodOptional<z.ZodBoolean>;
|
|
2649
|
+
defaultIntegerFormat: z.ZodOptional<z.ZodEnum<{
|
|
2650
|
+
int32: "int32";
|
|
2651
|
+
int64: "int64";
|
|
2652
|
+
uint32: "uint32";
|
|
2653
|
+
uint64: "uint64";
|
|
2654
|
+
}>>;
|
|
2655
2655
|
}, z.core.$strict>;
|
|
2656
2656
|
declare const sourceSpecTypeSchema: z.ZodEnum<{
|
|
2657
2657
|
postman: "postman";
|
|
@@ -2687,6 +2687,12 @@ declare const sourceSpecConfigSchema: z.ZodObject<{
|
|
|
2687
2687
|
objectQueryParameters: z.ZodOptional<z.ZodBoolean>;
|
|
2688
2688
|
typeDatesAsStrings: z.ZodOptional<z.ZodBoolean>;
|
|
2689
2689
|
groupMultiApiEnvironments: z.ZodOptional<z.ZodBoolean>;
|
|
2690
|
+
defaultIntegerFormat: z.ZodOptional<z.ZodEnum<{
|
|
2691
|
+
int32: "int32";
|
|
2692
|
+
int64: "int64";
|
|
2693
|
+
uint32: "uint32";
|
|
2694
|
+
uint64: "uint64";
|
|
2695
|
+
}>>;
|
|
2690
2696
|
}, z.core.$strict>>;
|
|
2691
2697
|
overlays: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2692
2698
|
overrides: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -2719,6 +2725,12 @@ declare const sourceConfigSchema: z.ZodObject<{
|
|
|
2719
2725
|
objectQueryParameters: z.ZodOptional<z.ZodBoolean>;
|
|
2720
2726
|
typeDatesAsStrings: z.ZodOptional<z.ZodBoolean>;
|
|
2721
2727
|
groupMultiApiEnvironments: z.ZodOptional<z.ZodBoolean>;
|
|
2728
|
+
defaultIntegerFormat: z.ZodOptional<z.ZodEnum<{
|
|
2729
|
+
int32: "int32";
|
|
2730
|
+
int64: "int64";
|
|
2731
|
+
uint32: "uint32";
|
|
2732
|
+
uint64: "uint64";
|
|
2733
|
+
}>>;
|
|
2722
2734
|
}, z.core.$strict>>;
|
|
2723
2735
|
overlays: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2724
2736
|
overrides: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -2738,6 +2750,12 @@ declare const sourceConfigSchema: z.ZodObject<{
|
|
|
2738
2750
|
objectQueryParameters: z.ZodOptional<z.ZodBoolean>;
|
|
2739
2751
|
typeDatesAsStrings: z.ZodOptional<z.ZodBoolean>;
|
|
2740
2752
|
groupMultiApiEnvironments: z.ZodOptional<z.ZodBoolean>;
|
|
2753
|
+
defaultIntegerFormat: z.ZodOptional<z.ZodEnum<{
|
|
2754
|
+
int32: "int32";
|
|
2755
|
+
int64: "int64";
|
|
2756
|
+
uint32: "uint32";
|
|
2757
|
+
uint64: "uint64";
|
|
2758
|
+
}>>;
|
|
2741
2759
|
}, z.core.$strict>>;
|
|
2742
2760
|
}, z.core.$strict>;
|
|
2743
2761
|
type ApiImportSettings = z.infer<typeof apiImportSettingsSchema>;
|
|
@@ -2746,47 +2764,59 @@ type SourceSpecConfig = z.infer<typeof sourceSpecConfigSchema>;
|
|
|
2746
2764
|
type SourceConfig = z.infer<typeof sourceConfigSchema>;
|
|
2747
2765
|
|
|
2748
2766
|
declare const targetLanguageSchema: z.ZodEnum<{
|
|
2767
|
+
go: "go";
|
|
2749
2768
|
typescript: "typescript";
|
|
2750
2769
|
python: "python";
|
|
2751
2770
|
java: "java";
|
|
2752
2771
|
kotlin: "kotlin";
|
|
2753
|
-
go: "go";
|
|
2754
2772
|
csharp: "csharp";
|
|
2755
2773
|
php: "php";
|
|
2756
2774
|
ruby: "ruby";
|
|
2757
2775
|
rust: "rust";
|
|
2776
|
+
swift: "swift";
|
|
2758
2777
|
cli: "cli";
|
|
2759
2778
|
mcp: "mcp";
|
|
2760
|
-
swift: "swift";
|
|
2761
2779
|
terraform: "terraform";
|
|
2762
2780
|
}>;
|
|
2763
2781
|
declare const targetConfigSchema: z.ZodObject<{
|
|
2764
2782
|
language: z.ZodEnum<{
|
|
2783
|
+
go: "go";
|
|
2765
2784
|
typescript: "typescript";
|
|
2766
2785
|
python: "python";
|
|
2767
2786
|
java: "java";
|
|
2768
2787
|
kotlin: "kotlin";
|
|
2769
|
-
go: "go";
|
|
2770
2788
|
csharp: "csharp";
|
|
2771
2789
|
php: "php";
|
|
2772
2790
|
ruby: "ruby";
|
|
2773
2791
|
rust: "rust";
|
|
2792
|
+
swift: "swift";
|
|
2774
2793
|
cli: "cli";
|
|
2775
2794
|
mcp: "mcp";
|
|
2776
|
-
swift: "swift";
|
|
2777
2795
|
terraform: "terraform";
|
|
2778
2796
|
}>;
|
|
2779
2797
|
generatorVersion: z.ZodOptional<z.ZodString>;
|
|
2780
2798
|
sourceOrigin: z.ZodEnum<{
|
|
2781
|
-
fern: "fern";
|
|
2782
2799
|
postman: "postman";
|
|
2800
|
+
fern: "fern";
|
|
2783
2801
|
}>;
|
|
2784
2802
|
sdkName: z.ZodString;
|
|
2803
|
+
/**
|
|
2804
|
+
* Stable Fern/Fiddle API identity for external publishing.
|
|
2805
|
+
* Producers must set this explicitly for GitHub or registry publishing; it is not inferred from
|
|
2806
|
+
* target.sdkName because SDK display names and Fern API names are not equivalent.
|
|
2807
|
+
*/
|
|
2808
|
+
apiName: z.ZodOptional<z.ZodString>;
|
|
2785
2809
|
organization: z.ZodOptional<z.ZodString>;
|
|
2810
|
+
/**
|
|
2811
|
+
* Stable Fern/Fiddle organization identity for external publishing.
|
|
2812
|
+
* Producers must set this explicitly for GitHub or registry publishing; it is not inferred from
|
|
2813
|
+
* target.organization because source organization metadata is optional and may not match Fern.
|
|
2814
|
+
*/
|
|
2815
|
+
organizationName: z.ZodOptional<z.ZodString>;
|
|
2786
2816
|
sdkVersion: z.ZodDefault<z.ZodString>;
|
|
2787
2817
|
apiVersion: z.ZodOptional<z.ZodString>;
|
|
2788
2818
|
}, z.core.$strict>;
|
|
2789
2819
|
type TargetLanguage = z.infer<typeof targetLanguageSchema>;
|
|
2790
2820
|
type TargetConfig = z.infer<typeof targetConfigSchema>;
|
|
2791
2821
|
|
|
2792
|
-
export { type ApiConfig, type ApiConfigInput, type ApiImportSettings, type AuthConfig, type AuthScheme, type
|
|
2822
|
+
export { type ApiConfig, type ApiConfigInput, type ApiImportSettings, type AuthConfig, type AuthScheme, type ClientConfig, type ClientConfigInput, type CompatibilityConfig, type CredentialResolution, type DocsConfig, type GenerationConfig, JsonObject, type LanguageGenerationConfig, type LegacyInput, type OutputConfig, type PublishConfig, type PublishRegistry, type ReadmeCustomSection, type ReadmeEndpoint, SDK_CONFIG_IR_V1_SCHEMA_VERSION, type SdkConfigIrV1, type SdkConfigIrV1Input, type SourceConfig, type SourceSpecConfig, type SourceSpecType, type TargetConfig, type TargetLanguage, type UnsupportedField, apiConfigSchema, apiImportSettingsSchema, authConfigSchema, authSchemeSchema, clientConfigSchema, compatibilityConfigSchema, docsConfigSchema, generationConfigSchema, languageGenerationConfigSchema, legacyInputSchema, outputConfigSchema, parseSdkConfigIrV1, publishConfigSchema, publishRegistrySchema, readmeCustomSectionSchema, readmeEndpointSchema, sdkConfigIrV1Schema, sourceConfigSchema, sourceSpecConfigSchema, sourceSpecTypeSchema, targetConfigSchema, targetLanguageSchema, unsupportedFieldSchema };
|