@postman/sdk-config 0.0.4 → 0.1.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/README.md +42 -17
- package/dist/index.cjs +2011 -181
- 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 +1974 -182
- package/dist/index.js.map +1 -1
- package/dist/sdk-config/index.cjs +2233 -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 +2192 -0
- package/dist/sdk-config/index.js.map +1 -0
- package/dist/sdk-config/v1/index.cjs +2233 -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 +2192 -0
- package/dist/sdk-config/v1/index.js.map +1 -0
- package/dist/sdk-config-ir/index.cjs +147 -18
- 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 +146 -19
- package/dist/sdk-config-ir/index.js.map +1 -1
- package/dist/sdk-config-ir/v1/index.cjs +147 -18
- package/dist/sdk-config-ir/v1/index.cjs.map +1 -1
- package/dist/sdk-config-ir/v1/index.d.cts +422 -400
- package/dist/sdk-config-ir/v1/index.d.ts +422 -400
- package/dist/sdk-config-ir/v1/index.js +146 -19
- package/dist/sdk-config-ir/v1/index.js.map +1 -1
- package/dist/typescript-ByDbin_v.d.cts +426 -0
- package/dist/typescript-ByDbin_v.d.ts +426 -0
- package/package.json +15 -2
- 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-ByDbin_v.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 rubyGenerationConfigSchema, E as rustGenerationConfigSchema, F as swiftGenerationConfigSchema, H as terraformGenerationConfigSchema, I as typescriptGenerationConfigSchema } from '../../typescript-ByDbin_v.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,6 +793,21 @@ 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;
|
|
@@ -823,9 +880,9 @@ declare const generationConfigSchema: z.ZodObject<{
|
|
|
823
880
|
unitTests: z.ZodOptional<z.ZodObject<{
|
|
824
881
|
enabled: z.ZodBoolean;
|
|
825
882
|
mode: z.ZodOptional<z.ZodEnum<{
|
|
826
|
-
both: "both";
|
|
827
883
|
"core-runtime": "core-runtime";
|
|
828
884
|
"schema-driven": "schema-driven";
|
|
885
|
+
both: "both";
|
|
829
886
|
}>>;
|
|
830
887
|
exclusions: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
831
888
|
}, z.core.$strict>>;
|
|
@@ -919,9 +976,9 @@ declare const generationConfigSchema: z.ZodObject<{
|
|
|
919
976
|
pydanticVersion: z.ZodOptional<z.ZodString>;
|
|
920
977
|
pydantic: z.ZodOptional<z.ZodObject<{
|
|
921
978
|
versionCompatibility: z.ZodOptional<z.ZodEnum<{
|
|
979
|
+
both: "both";
|
|
922
980
|
v1: "v1";
|
|
923
981
|
v2: "v2";
|
|
924
|
-
both: "both";
|
|
925
982
|
"v1-on-v2": "v1-on-v2";
|
|
926
983
|
}>>;
|
|
927
984
|
frozen: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -949,6 +1006,10 @@ declare const generationConfigSchema: z.ZodObject<{
|
|
|
949
1006
|
gradleDistributionUrl: z.ZodOptional<z.ZodString>;
|
|
950
1007
|
gradlePluginManagement: z.ZodOptional<z.ZodString>;
|
|
951
1008
|
gradleCentralDependencyManagement: z.ZodOptional<z.ZodBoolean>;
|
|
1009
|
+
asyncStyle: z.ZodOptional<z.ZodEnum<{
|
|
1010
|
+
"dedicated-client": "dedicated-client";
|
|
1011
|
+
"twin-methods": "twin-methods";
|
|
1012
|
+
}>>;
|
|
952
1013
|
includeKotlinSnippets: z.ZodOptional<z.ZodBoolean>;
|
|
953
1014
|
}, z.core.$strict>>;
|
|
954
1015
|
kotlin: z.ZodOptional<z.ZodObject<{
|
|
@@ -961,9 +1022,15 @@ declare const generationConfigSchema: z.ZodObject<{
|
|
|
961
1022
|
gradleDistributionUrl: z.ZodOptional<z.ZodString>;
|
|
962
1023
|
gradlePluginManagement: z.ZodOptional<z.ZodString>;
|
|
963
1024
|
gradleCentralDependencyManagement: z.ZodOptional<z.ZodBoolean>;
|
|
1025
|
+
asyncStyle: z.ZodOptional<z.ZodEnum<{
|
|
1026
|
+
"dedicated-client": "dedicated-client";
|
|
1027
|
+
"twin-methods": "twin-methods";
|
|
1028
|
+
}>>;
|
|
964
1029
|
}, z.core.$strict>>;
|
|
965
1030
|
go: z.ZodOptional<z.ZodObject<{
|
|
966
1031
|
legacyComplexModels: z.ZodOptional<z.ZodBoolean>;
|
|
1032
|
+
smartCasing: z.ZodOptional<z.ZodBoolean>;
|
|
1033
|
+
clientConstructorName: z.ZodOptional<z.ZodString>;
|
|
967
1034
|
unionVersion: z.ZodOptional<z.ZodEnum<{
|
|
968
1035
|
v0: "v0";
|
|
969
1036
|
v1: "v1";
|
|
@@ -976,6 +1043,7 @@ declare const generationConfigSchema: z.ZodObject<{
|
|
|
976
1043
|
explicitNamespaces: z.ZodOptional<z.ZodBoolean>;
|
|
977
1044
|
rootNamespaceForCoreClasses: z.ZodOptional<z.ZodBoolean>;
|
|
978
1045
|
includeExceptionHandler: z.ZodOptional<z.ZodBoolean>;
|
|
1046
|
+
experimentalExplicitNullableOptional: z.ZodOptional<z.ZodBoolean>;
|
|
979
1047
|
}, z.core.$strict>>;
|
|
980
1048
|
php: z.ZodOptional<z.ZodObject<{
|
|
981
1049
|
propertyAccess: z.ZodOptional<z.ZodEnum<{
|
|
@@ -1037,9 +1105,30 @@ declare const generationConfigSchema: z.ZodObject<{
|
|
|
1037
1105
|
name: z.ZodString;
|
|
1038
1106
|
command: z.ZodString;
|
|
1039
1107
|
}, z.core.$strict>>>;
|
|
1108
|
+
serverName: z.ZodOptional<z.ZodString>;
|
|
1109
|
+
serverDescription: z.ZodOptional<z.ZodString>;
|
|
1110
|
+
excludeAvailability: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
1111
|
+
IN_DEVELOPMENT: "IN_DEVELOPMENT";
|
|
1112
|
+
PRE_RELEASE: "PRE_RELEASE";
|
|
1113
|
+
GENERAL_AVAILABILITY: "GENERAL_AVAILABILITY";
|
|
1114
|
+
DEPRECATED: "DEPRECATED";
|
|
1115
|
+
ALPHA: "ALPHA";
|
|
1116
|
+
BETA: "BETA";
|
|
1117
|
+
PREVIEW: "PREVIEW";
|
|
1118
|
+
LEGACY: "LEGACY";
|
|
1119
|
+
}>>>;
|
|
1120
|
+
tools: z.ZodOptional<z.ZodObject<{
|
|
1121
|
+
include: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1122
|
+
exclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1123
|
+
}, z.core.$strict>>;
|
|
1124
|
+
toolsets: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1125
|
+
include: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1126
|
+
exclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1127
|
+
}, z.core.$strict>>>;
|
|
1040
1128
|
}, z.core.$strict>>;
|
|
1041
1129
|
swift: z.ZodOptional<z.ZodObject<{
|
|
1042
1130
|
moduleName: z.ZodOptional<z.ZodString>;
|
|
1131
|
+
nullableAsOptional: z.ZodOptional<z.ZodBoolean>;
|
|
1043
1132
|
}, z.core.$strict>>;
|
|
1044
1133
|
terraform: z.ZodOptional<z.ZodObject<{
|
|
1045
1134
|
providerName: z.ZodOptional<z.ZodString>;
|
|
@@ -1071,420 +1160,314 @@ declare const generationConfigSchema: z.ZodObject<{
|
|
|
1071
1160
|
type LanguageGenerationConfig = z.infer<typeof languageGenerationConfigSchema>;
|
|
1072
1161
|
type GenerationConfig = z.infer<typeof generationConfigSchema>;
|
|
1073
1162
|
|
|
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
1163
|
declare const publishRegistrySchema: z.ZodEnum<{
|
|
1321
|
-
go: "go";
|
|
1322
1164
|
npm: "npm";
|
|
1323
1165
|
pypi: "pypi";
|
|
1324
1166
|
maven: "maven";
|
|
1325
1167
|
nuget: "nuget";
|
|
1326
1168
|
rubygems: "rubygems";
|
|
1327
1169
|
crates: "crates";
|
|
1170
|
+
go: "go";
|
|
1328
1171
|
composer: "composer";
|
|
1329
1172
|
}>;
|
|
1173
|
+
declare const credentialResolutionSchema: z.ZodEnum<{
|
|
1174
|
+
"refs-only": "refs-only";
|
|
1175
|
+
"resolved-by-orchestrator": "resolved-by-orchestrator";
|
|
1176
|
+
"resolved-by-fiddle": "resolved-by-fiddle";
|
|
1177
|
+
}>;
|
|
1330
1178
|
declare const publishConfigSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1331
1179
|
url: z.ZodOptional<z.ZodString>;
|
|
1180
|
+
/**
|
|
1181
|
+
* Reference to registry publishing credentials. Raw tokens/passwords are intentionally not part of
|
|
1182
|
+
* SDK Config IR; the external publisher or orchestrator resolves this reference before use.
|
|
1183
|
+
*/
|
|
1332
1184
|
credentialsRef: z.ZodOptional<z.ZodString>;
|
|
1333
1185
|
releaseBranch: z.ZodOptional<z.ZodString>;
|
|
1334
1186
|
tolerateRepublish: z.ZodOptional<z.ZodBoolean>;
|
|
1335
1187
|
registry: z.ZodLiteral<"npm">;
|
|
1336
1188
|
}, z.core.$strict>, z.ZodObject<{
|
|
1337
1189
|
url: z.ZodOptional<z.ZodString>;
|
|
1190
|
+
/**
|
|
1191
|
+
* Reference to registry publishing credentials. Raw tokens/passwords are intentionally not part of
|
|
1192
|
+
* SDK Config IR; the external publisher or orchestrator resolves this reference before use.
|
|
1193
|
+
*/
|
|
1338
1194
|
credentialsRef: z.ZodOptional<z.ZodString>;
|
|
1339
1195
|
releaseBranch: z.ZodOptional<z.ZodString>;
|
|
1340
1196
|
tolerateRepublish: z.ZodOptional<z.ZodBoolean>;
|
|
1341
1197
|
registry: z.ZodLiteral<"pypi">;
|
|
1342
1198
|
}, z.core.$strict>, z.ZodObject<{
|
|
1343
1199
|
url: z.ZodOptional<z.ZodString>;
|
|
1200
|
+
/**
|
|
1201
|
+
* Reference to registry publishing credentials. Raw tokens/passwords are intentionally not part of
|
|
1202
|
+
* SDK Config IR; the external publisher or orchestrator resolves this reference before use.
|
|
1203
|
+
*/
|
|
1344
1204
|
credentialsRef: z.ZodOptional<z.ZodString>;
|
|
1345
1205
|
releaseBranch: z.ZodOptional<z.ZodString>;
|
|
1346
1206
|
tolerateRepublish: z.ZodOptional<z.ZodBoolean>;
|
|
1347
1207
|
registry: z.ZodLiteral<"nuget">;
|
|
1348
1208
|
}, z.core.$strict>, z.ZodObject<{
|
|
1349
1209
|
url: z.ZodOptional<z.ZodString>;
|
|
1210
|
+
/**
|
|
1211
|
+
* Reference to registry publishing credentials. Raw tokens/passwords are intentionally not part of
|
|
1212
|
+
* SDK Config IR; the external publisher or orchestrator resolves this reference before use.
|
|
1213
|
+
*/
|
|
1350
1214
|
credentialsRef: z.ZodOptional<z.ZodString>;
|
|
1351
1215
|
releaseBranch: z.ZodOptional<z.ZodString>;
|
|
1352
1216
|
tolerateRepublish: z.ZodOptional<z.ZodBoolean>;
|
|
1353
1217
|
registry: z.ZodLiteral<"rubygems">;
|
|
1354
1218
|
}, z.core.$strict>, z.ZodObject<{
|
|
1355
1219
|
url: z.ZodOptional<z.ZodString>;
|
|
1220
|
+
/**
|
|
1221
|
+
* Reference to registry publishing credentials. Raw tokens/passwords are intentionally not part of
|
|
1222
|
+
* SDK Config IR; the external publisher or orchestrator resolves this reference before use.
|
|
1223
|
+
*/
|
|
1356
1224
|
credentialsRef: z.ZodOptional<z.ZodString>;
|
|
1357
1225
|
releaseBranch: z.ZodOptional<z.ZodString>;
|
|
1358
1226
|
tolerateRepublish: z.ZodOptional<z.ZodBoolean>;
|
|
1359
1227
|
registry: z.ZodLiteral<"crates">;
|
|
1360
1228
|
}, z.core.$strict>, z.ZodObject<{
|
|
1361
1229
|
url: z.ZodOptional<z.ZodString>;
|
|
1230
|
+
/**
|
|
1231
|
+
* Reference to registry publishing credentials. Raw tokens/passwords are intentionally not part of
|
|
1232
|
+
* SDK Config IR; the external publisher or orchestrator resolves this reference before use.
|
|
1233
|
+
*/
|
|
1362
1234
|
credentialsRef: z.ZodOptional<z.ZodString>;
|
|
1363
1235
|
releaseBranch: z.ZodOptional<z.ZodString>;
|
|
1364
1236
|
tolerateRepublish: z.ZodOptional<z.ZodBoolean>;
|
|
1365
1237
|
registry: z.ZodLiteral<"go">;
|
|
1366
1238
|
}, z.core.$strict>, z.ZodObject<{
|
|
1367
1239
|
url: z.ZodOptional<z.ZodString>;
|
|
1240
|
+
/**
|
|
1241
|
+
* Reference to registry publishing credentials. Raw tokens/passwords are intentionally not part of
|
|
1242
|
+
* SDK Config IR; the external publisher or orchestrator resolves this reference before use.
|
|
1243
|
+
*/
|
|
1368
1244
|
credentialsRef: z.ZodOptional<z.ZodString>;
|
|
1369
1245
|
releaseBranch: z.ZodOptional<z.ZodString>;
|
|
1370
1246
|
tolerateRepublish: z.ZodOptional<z.ZodBoolean>;
|
|
1371
1247
|
registry: z.ZodLiteral<"composer">;
|
|
1372
1248
|
}, z.core.$strict>, z.ZodObject<{
|
|
1373
1249
|
url: z.ZodOptional<z.ZodString>;
|
|
1250
|
+
/**
|
|
1251
|
+
* Reference to registry publishing credentials. Raw tokens/passwords are intentionally not part of
|
|
1252
|
+
* SDK Config IR; the external publisher or orchestrator resolves this reference before use.
|
|
1253
|
+
*/
|
|
1374
1254
|
credentialsRef: z.ZodOptional<z.ZodString>;
|
|
1375
1255
|
releaseBranch: z.ZodOptional<z.ZodString>;
|
|
1376
1256
|
tolerateRepublish: z.ZodOptional<z.ZodBoolean>;
|
|
1377
1257
|
registry: z.ZodLiteral<"maven">;
|
|
1258
|
+
/**
|
|
1259
|
+
* Reference to Maven signing credentials. Raw signing keys are intentionally not part of SDK
|
|
1260
|
+
* Config IR; the external publisher or orchestrator resolves this reference before use.
|
|
1261
|
+
*/
|
|
1378
1262
|
signingCredentialsRef: z.ZodOptional<z.ZodString>;
|
|
1379
1263
|
}, z.core.$strict>], "registry">;
|
|
1380
1264
|
/** Artifact delivery is independent from optional package registry publication. */
|
|
1381
1265
|
declare const outputConfigSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1266
|
+
/**
|
|
1267
|
+
* Where output credential references are resolved. SDK Config IR carries refs only; raw resolved
|
|
1268
|
+
* credentials belong at the external publisher/orchestrator boundary, not in this config.
|
|
1269
|
+
*/
|
|
1270
|
+
credentialResolution: z.ZodDefault<z.ZodEnum<{
|
|
1271
|
+
"refs-only": "refs-only";
|
|
1272
|
+
"resolved-by-orchestrator": "resolved-by-orchestrator";
|
|
1273
|
+
"resolved-by-fiddle": "resolved-by-fiddle";
|
|
1274
|
+
}>>;
|
|
1382
1275
|
delivery: z.ZodLiteral<"files">;
|
|
1383
1276
|
path: z.ZodOptional<z.ZodString>;
|
|
1384
1277
|
publish: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1385
1278
|
url: z.ZodOptional<z.ZodString>;
|
|
1279
|
+
/**
|
|
1280
|
+
* Reference to registry publishing credentials. Raw tokens/passwords are intentionally not part of
|
|
1281
|
+
* SDK Config IR; the external publisher or orchestrator resolves this reference before use.
|
|
1282
|
+
*/
|
|
1386
1283
|
credentialsRef: z.ZodOptional<z.ZodString>;
|
|
1387
1284
|
releaseBranch: z.ZodOptional<z.ZodString>;
|
|
1388
1285
|
tolerateRepublish: z.ZodOptional<z.ZodBoolean>;
|
|
1389
1286
|
registry: z.ZodLiteral<"npm">;
|
|
1390
1287
|
}, z.core.$strict>, z.ZodObject<{
|
|
1391
1288
|
url: z.ZodOptional<z.ZodString>;
|
|
1289
|
+
/**
|
|
1290
|
+
* Reference to registry publishing credentials. Raw tokens/passwords are intentionally not part of
|
|
1291
|
+
* SDK Config IR; the external publisher or orchestrator resolves this reference before use.
|
|
1292
|
+
*/
|
|
1392
1293
|
credentialsRef: z.ZodOptional<z.ZodString>;
|
|
1393
1294
|
releaseBranch: z.ZodOptional<z.ZodString>;
|
|
1394
1295
|
tolerateRepublish: z.ZodOptional<z.ZodBoolean>;
|
|
1395
1296
|
registry: z.ZodLiteral<"pypi">;
|
|
1396
1297
|
}, z.core.$strict>, z.ZodObject<{
|
|
1397
1298
|
url: z.ZodOptional<z.ZodString>;
|
|
1299
|
+
/**
|
|
1300
|
+
* Reference to registry publishing credentials. Raw tokens/passwords are intentionally not part of
|
|
1301
|
+
* SDK Config IR; the external publisher or orchestrator resolves this reference before use.
|
|
1302
|
+
*/
|
|
1398
1303
|
credentialsRef: z.ZodOptional<z.ZodString>;
|
|
1399
1304
|
releaseBranch: z.ZodOptional<z.ZodString>;
|
|
1400
1305
|
tolerateRepublish: z.ZodOptional<z.ZodBoolean>;
|
|
1401
1306
|
registry: z.ZodLiteral<"nuget">;
|
|
1402
1307
|
}, z.core.$strict>, z.ZodObject<{
|
|
1403
1308
|
url: z.ZodOptional<z.ZodString>;
|
|
1309
|
+
/**
|
|
1310
|
+
* Reference to registry publishing credentials. Raw tokens/passwords are intentionally not part of
|
|
1311
|
+
* SDK Config IR; the external publisher or orchestrator resolves this reference before use.
|
|
1312
|
+
*/
|
|
1404
1313
|
credentialsRef: z.ZodOptional<z.ZodString>;
|
|
1405
1314
|
releaseBranch: z.ZodOptional<z.ZodString>;
|
|
1406
1315
|
tolerateRepublish: z.ZodOptional<z.ZodBoolean>;
|
|
1407
1316
|
registry: z.ZodLiteral<"rubygems">;
|
|
1408
1317
|
}, z.core.$strict>, z.ZodObject<{
|
|
1409
1318
|
url: z.ZodOptional<z.ZodString>;
|
|
1319
|
+
/**
|
|
1320
|
+
* Reference to registry publishing credentials. Raw tokens/passwords are intentionally not part of
|
|
1321
|
+
* SDK Config IR; the external publisher or orchestrator resolves this reference before use.
|
|
1322
|
+
*/
|
|
1410
1323
|
credentialsRef: z.ZodOptional<z.ZodString>;
|
|
1411
1324
|
releaseBranch: z.ZodOptional<z.ZodString>;
|
|
1412
1325
|
tolerateRepublish: z.ZodOptional<z.ZodBoolean>;
|
|
1413
1326
|
registry: z.ZodLiteral<"crates">;
|
|
1414
1327
|
}, z.core.$strict>, z.ZodObject<{
|
|
1415
1328
|
url: z.ZodOptional<z.ZodString>;
|
|
1329
|
+
/**
|
|
1330
|
+
* Reference to registry publishing credentials. Raw tokens/passwords are intentionally not part of
|
|
1331
|
+
* SDK Config IR; the external publisher or orchestrator resolves this reference before use.
|
|
1332
|
+
*/
|
|
1416
1333
|
credentialsRef: z.ZodOptional<z.ZodString>;
|
|
1417
1334
|
releaseBranch: z.ZodOptional<z.ZodString>;
|
|
1418
1335
|
tolerateRepublish: z.ZodOptional<z.ZodBoolean>;
|
|
1419
1336
|
registry: z.ZodLiteral<"go">;
|
|
1420
1337
|
}, z.core.$strict>, z.ZodObject<{
|
|
1421
1338
|
url: z.ZodOptional<z.ZodString>;
|
|
1339
|
+
/**
|
|
1340
|
+
* Reference to registry publishing credentials. Raw tokens/passwords are intentionally not part of
|
|
1341
|
+
* SDK Config IR; the external publisher or orchestrator resolves this reference before use.
|
|
1342
|
+
*/
|
|
1422
1343
|
credentialsRef: z.ZodOptional<z.ZodString>;
|
|
1423
1344
|
releaseBranch: z.ZodOptional<z.ZodString>;
|
|
1424
1345
|
tolerateRepublish: z.ZodOptional<z.ZodBoolean>;
|
|
1425
1346
|
registry: z.ZodLiteral<"composer">;
|
|
1426
1347
|
}, z.core.$strict>, z.ZodObject<{
|
|
1427
1348
|
url: z.ZodOptional<z.ZodString>;
|
|
1349
|
+
/**
|
|
1350
|
+
* Reference to registry publishing credentials. Raw tokens/passwords are intentionally not part of
|
|
1351
|
+
* SDK Config IR; the external publisher or orchestrator resolves this reference before use.
|
|
1352
|
+
*/
|
|
1428
1353
|
credentialsRef: z.ZodOptional<z.ZodString>;
|
|
1429
1354
|
releaseBranch: z.ZodOptional<z.ZodString>;
|
|
1430
1355
|
tolerateRepublish: z.ZodOptional<z.ZodBoolean>;
|
|
1431
1356
|
registry: z.ZodLiteral<"maven">;
|
|
1357
|
+
/**
|
|
1358
|
+
* Reference to Maven signing credentials. Raw signing keys are intentionally not part of SDK
|
|
1359
|
+
* Config IR; the external publisher or orchestrator resolves this reference before use.
|
|
1360
|
+
*/
|
|
1432
1361
|
signingCredentialsRef: z.ZodOptional<z.ZodString>;
|
|
1433
1362
|
}, z.core.$strict>], "registry">>;
|
|
1434
1363
|
}, z.core.$strict>, z.ZodObject<{
|
|
1364
|
+
/**
|
|
1365
|
+
* Where output credential references are resolved. SDK Config IR carries refs only; raw resolved
|
|
1366
|
+
* credentials belong at the external publisher/orchestrator boundary, not in this config.
|
|
1367
|
+
*/
|
|
1368
|
+
credentialResolution: z.ZodDefault<z.ZodEnum<{
|
|
1369
|
+
"refs-only": "refs-only";
|
|
1370
|
+
"resolved-by-orchestrator": "resolved-by-orchestrator";
|
|
1371
|
+
"resolved-by-fiddle": "resolved-by-fiddle";
|
|
1372
|
+
}>>;
|
|
1435
1373
|
delivery: z.ZodLiteral<"zip">;
|
|
1436
1374
|
fileName: z.ZodOptional<z.ZodString>;
|
|
1437
1375
|
publish: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1438
1376
|
url: z.ZodOptional<z.ZodString>;
|
|
1377
|
+
/**
|
|
1378
|
+
* Reference to registry publishing credentials. Raw tokens/passwords are intentionally not part of
|
|
1379
|
+
* SDK Config IR; the external publisher or orchestrator resolves this reference before use.
|
|
1380
|
+
*/
|
|
1439
1381
|
credentialsRef: z.ZodOptional<z.ZodString>;
|
|
1440
1382
|
releaseBranch: z.ZodOptional<z.ZodString>;
|
|
1441
1383
|
tolerateRepublish: z.ZodOptional<z.ZodBoolean>;
|
|
1442
1384
|
registry: z.ZodLiteral<"npm">;
|
|
1443
1385
|
}, z.core.$strict>, z.ZodObject<{
|
|
1444
1386
|
url: z.ZodOptional<z.ZodString>;
|
|
1387
|
+
/**
|
|
1388
|
+
* Reference to registry publishing credentials. Raw tokens/passwords are intentionally not part of
|
|
1389
|
+
* SDK Config IR; the external publisher or orchestrator resolves this reference before use.
|
|
1390
|
+
*/
|
|
1445
1391
|
credentialsRef: z.ZodOptional<z.ZodString>;
|
|
1446
1392
|
releaseBranch: z.ZodOptional<z.ZodString>;
|
|
1447
1393
|
tolerateRepublish: z.ZodOptional<z.ZodBoolean>;
|
|
1448
1394
|
registry: z.ZodLiteral<"pypi">;
|
|
1449
1395
|
}, z.core.$strict>, z.ZodObject<{
|
|
1450
1396
|
url: z.ZodOptional<z.ZodString>;
|
|
1397
|
+
/**
|
|
1398
|
+
* Reference to registry publishing credentials. Raw tokens/passwords are intentionally not part of
|
|
1399
|
+
* SDK Config IR; the external publisher or orchestrator resolves this reference before use.
|
|
1400
|
+
*/
|
|
1451
1401
|
credentialsRef: z.ZodOptional<z.ZodString>;
|
|
1452
1402
|
releaseBranch: z.ZodOptional<z.ZodString>;
|
|
1453
1403
|
tolerateRepublish: z.ZodOptional<z.ZodBoolean>;
|
|
1454
1404
|
registry: z.ZodLiteral<"nuget">;
|
|
1455
1405
|
}, z.core.$strict>, z.ZodObject<{
|
|
1456
1406
|
url: z.ZodOptional<z.ZodString>;
|
|
1407
|
+
/**
|
|
1408
|
+
* Reference to registry publishing credentials. Raw tokens/passwords are intentionally not part of
|
|
1409
|
+
* SDK Config IR; the external publisher or orchestrator resolves this reference before use.
|
|
1410
|
+
*/
|
|
1457
1411
|
credentialsRef: z.ZodOptional<z.ZodString>;
|
|
1458
1412
|
releaseBranch: z.ZodOptional<z.ZodString>;
|
|
1459
1413
|
tolerateRepublish: z.ZodOptional<z.ZodBoolean>;
|
|
1460
1414
|
registry: z.ZodLiteral<"rubygems">;
|
|
1461
1415
|
}, z.core.$strict>, z.ZodObject<{
|
|
1462
1416
|
url: z.ZodOptional<z.ZodString>;
|
|
1417
|
+
/**
|
|
1418
|
+
* Reference to registry publishing credentials. Raw tokens/passwords are intentionally not part of
|
|
1419
|
+
* SDK Config IR; the external publisher or orchestrator resolves this reference before use.
|
|
1420
|
+
*/
|
|
1463
1421
|
credentialsRef: z.ZodOptional<z.ZodString>;
|
|
1464
1422
|
releaseBranch: z.ZodOptional<z.ZodString>;
|
|
1465
1423
|
tolerateRepublish: z.ZodOptional<z.ZodBoolean>;
|
|
1466
1424
|
registry: z.ZodLiteral<"crates">;
|
|
1467
1425
|
}, z.core.$strict>, z.ZodObject<{
|
|
1468
1426
|
url: z.ZodOptional<z.ZodString>;
|
|
1427
|
+
/**
|
|
1428
|
+
* Reference to registry publishing credentials. Raw tokens/passwords are intentionally not part of
|
|
1429
|
+
* SDK Config IR; the external publisher or orchestrator resolves this reference before use.
|
|
1430
|
+
*/
|
|
1469
1431
|
credentialsRef: z.ZodOptional<z.ZodString>;
|
|
1470
1432
|
releaseBranch: z.ZodOptional<z.ZodString>;
|
|
1471
1433
|
tolerateRepublish: z.ZodOptional<z.ZodBoolean>;
|
|
1472
1434
|
registry: z.ZodLiteral<"go">;
|
|
1473
1435
|
}, z.core.$strict>, z.ZodObject<{
|
|
1474
1436
|
url: z.ZodOptional<z.ZodString>;
|
|
1437
|
+
/**
|
|
1438
|
+
* Reference to registry publishing credentials. Raw tokens/passwords are intentionally not part of
|
|
1439
|
+
* SDK Config IR; the external publisher or orchestrator resolves this reference before use.
|
|
1440
|
+
*/
|
|
1475
1441
|
credentialsRef: z.ZodOptional<z.ZodString>;
|
|
1476
1442
|
releaseBranch: z.ZodOptional<z.ZodString>;
|
|
1477
1443
|
tolerateRepublish: z.ZodOptional<z.ZodBoolean>;
|
|
1478
1444
|
registry: z.ZodLiteral<"composer">;
|
|
1479
1445
|
}, z.core.$strict>, z.ZodObject<{
|
|
1480
1446
|
url: z.ZodOptional<z.ZodString>;
|
|
1447
|
+
/**
|
|
1448
|
+
* Reference to registry publishing credentials. Raw tokens/passwords are intentionally not part of
|
|
1449
|
+
* SDK Config IR; the external publisher or orchestrator resolves this reference before use.
|
|
1450
|
+
*/
|
|
1481
1451
|
credentialsRef: z.ZodOptional<z.ZodString>;
|
|
1482
1452
|
releaseBranch: z.ZodOptional<z.ZodString>;
|
|
1483
1453
|
tolerateRepublish: z.ZodOptional<z.ZodBoolean>;
|
|
1484
1454
|
registry: z.ZodLiteral<"maven">;
|
|
1455
|
+
/**
|
|
1456
|
+
* Reference to Maven signing credentials. Raw signing keys are intentionally not part of SDK
|
|
1457
|
+
* Config IR; the external publisher or orchestrator resolves this reference before use.
|
|
1458
|
+
*/
|
|
1485
1459
|
signingCredentialsRef: z.ZodOptional<z.ZodString>;
|
|
1486
1460
|
}, z.core.$strict>], "registry">>;
|
|
1487
1461
|
}, z.core.$strict>, z.ZodObject<{
|
|
1462
|
+
/**
|
|
1463
|
+
* Where output credential references are resolved. SDK Config IR carries refs only; raw resolved
|
|
1464
|
+
* credentials belong at the external publisher/orchestrator boundary, not in this config.
|
|
1465
|
+
*/
|
|
1466
|
+
credentialResolution: z.ZodDefault<z.ZodEnum<{
|
|
1467
|
+
"refs-only": "refs-only";
|
|
1468
|
+
"resolved-by-orchestrator": "resolved-by-orchestrator";
|
|
1469
|
+
"resolved-by-fiddle": "resolved-by-fiddle";
|
|
1470
|
+
}>>;
|
|
1488
1471
|
delivery: z.ZodLiteral<"github">;
|
|
1489
1472
|
github: z.ZodObject<{
|
|
1490
1473
|
repository: z.ZodString;
|
|
@@ -1499,191 +1482,115 @@ declare const outputConfigSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1499
1482
|
teams: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1500
1483
|
users: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1501
1484
|
}, z.core.$strict>>;
|
|
1485
|
+
/**
|
|
1486
|
+
* Reference to GitHub credentials. Raw tokens are intentionally not part of SDK Config IR; the
|
|
1487
|
+
* external publisher or orchestrator resolves this reference before use.
|
|
1488
|
+
*/
|
|
1502
1489
|
credentialsRef: z.ZodOptional<z.ZodString>;
|
|
1503
1490
|
privateRepository: z.ZodOptional<z.ZodBoolean>;
|
|
1491
|
+
/** GitHub replay control. If omitted, the external publisher applies its default behavior. */
|
|
1492
|
+
replay: z.ZodOptional<z.ZodObject<{
|
|
1493
|
+
enabled: z.ZodBoolean;
|
|
1494
|
+
}, z.core.$strict>>;
|
|
1495
|
+
/** Run GitHub publishing verification. Defaults to false to match current Fiddle job behavior. */
|
|
1496
|
+
verify: z.ZodDefault<z.ZodBoolean>;
|
|
1497
|
+
/** Skip creating/updating a GitHub PR when no files changed. Defaults to false. */
|
|
1498
|
+
skipIfNoDiff: z.ZodDefault<z.ZodBoolean>;
|
|
1499
|
+
/** Automatically merge the GitHub publishing PR. Defaults to false. */
|
|
1500
|
+
autoMerge: z.ZodDefault<z.ZodBoolean>;
|
|
1504
1501
|
}, z.core.$strict>;
|
|
1505
1502
|
publish: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1506
1503
|
url: z.ZodOptional<z.ZodString>;
|
|
1504
|
+
/**
|
|
1505
|
+
* Reference to registry publishing credentials. Raw tokens/passwords are intentionally not part of
|
|
1506
|
+
* SDK Config IR; the external publisher or orchestrator resolves this reference before use.
|
|
1507
|
+
*/
|
|
1507
1508
|
credentialsRef: z.ZodOptional<z.ZodString>;
|
|
1508
1509
|
releaseBranch: z.ZodOptional<z.ZodString>;
|
|
1509
1510
|
tolerateRepublish: z.ZodOptional<z.ZodBoolean>;
|
|
1510
1511
|
registry: z.ZodLiteral<"npm">;
|
|
1511
1512
|
}, z.core.$strict>, z.ZodObject<{
|
|
1512
1513
|
url: z.ZodOptional<z.ZodString>;
|
|
1514
|
+
/**
|
|
1515
|
+
* Reference to registry publishing credentials. Raw tokens/passwords are intentionally not part of
|
|
1516
|
+
* SDK Config IR; the external publisher or orchestrator resolves this reference before use.
|
|
1517
|
+
*/
|
|
1513
1518
|
credentialsRef: z.ZodOptional<z.ZodString>;
|
|
1514
1519
|
releaseBranch: z.ZodOptional<z.ZodString>;
|
|
1515
1520
|
tolerateRepublish: z.ZodOptional<z.ZodBoolean>;
|
|
1516
1521
|
registry: z.ZodLiteral<"pypi">;
|
|
1517
1522
|
}, z.core.$strict>, z.ZodObject<{
|
|
1518
1523
|
url: z.ZodOptional<z.ZodString>;
|
|
1524
|
+
/**
|
|
1525
|
+
* Reference to registry publishing credentials. Raw tokens/passwords are intentionally not part of
|
|
1526
|
+
* SDK Config IR; the external publisher or orchestrator resolves this reference before use.
|
|
1527
|
+
*/
|
|
1519
1528
|
credentialsRef: z.ZodOptional<z.ZodString>;
|
|
1520
1529
|
releaseBranch: z.ZodOptional<z.ZodString>;
|
|
1521
1530
|
tolerateRepublish: z.ZodOptional<z.ZodBoolean>;
|
|
1522
1531
|
registry: z.ZodLiteral<"nuget">;
|
|
1523
1532
|
}, z.core.$strict>, z.ZodObject<{
|
|
1524
1533
|
url: z.ZodOptional<z.ZodString>;
|
|
1534
|
+
/**
|
|
1535
|
+
* Reference to registry publishing credentials. Raw tokens/passwords are intentionally not part of
|
|
1536
|
+
* SDK Config IR; the external publisher or orchestrator resolves this reference before use.
|
|
1537
|
+
*/
|
|
1525
1538
|
credentialsRef: z.ZodOptional<z.ZodString>;
|
|
1526
1539
|
releaseBranch: z.ZodOptional<z.ZodString>;
|
|
1527
1540
|
tolerateRepublish: z.ZodOptional<z.ZodBoolean>;
|
|
1528
1541
|
registry: z.ZodLiteral<"rubygems">;
|
|
1529
1542
|
}, z.core.$strict>, z.ZodObject<{
|
|
1530
1543
|
url: z.ZodOptional<z.ZodString>;
|
|
1544
|
+
/**
|
|
1545
|
+
* Reference to registry publishing credentials. Raw tokens/passwords are intentionally not part of
|
|
1546
|
+
* SDK Config IR; the external publisher or orchestrator resolves this reference before use.
|
|
1547
|
+
*/
|
|
1531
1548
|
credentialsRef: z.ZodOptional<z.ZodString>;
|
|
1532
1549
|
releaseBranch: z.ZodOptional<z.ZodString>;
|
|
1533
1550
|
tolerateRepublish: z.ZodOptional<z.ZodBoolean>;
|
|
1534
1551
|
registry: z.ZodLiteral<"crates">;
|
|
1535
1552
|
}, z.core.$strict>, z.ZodObject<{
|
|
1536
1553
|
url: z.ZodOptional<z.ZodString>;
|
|
1554
|
+
/**
|
|
1555
|
+
* Reference to registry publishing credentials. Raw tokens/passwords are intentionally not part of
|
|
1556
|
+
* SDK Config IR; the external publisher or orchestrator resolves this reference before use.
|
|
1557
|
+
*/
|
|
1537
1558
|
credentialsRef: z.ZodOptional<z.ZodString>;
|
|
1538
1559
|
releaseBranch: z.ZodOptional<z.ZodString>;
|
|
1539
1560
|
tolerateRepublish: z.ZodOptional<z.ZodBoolean>;
|
|
1540
1561
|
registry: z.ZodLiteral<"go">;
|
|
1541
1562
|
}, z.core.$strict>, z.ZodObject<{
|
|
1542
1563
|
url: z.ZodOptional<z.ZodString>;
|
|
1564
|
+
/**
|
|
1565
|
+
* Reference to registry publishing credentials. Raw tokens/passwords are intentionally not part of
|
|
1566
|
+
* SDK Config IR; the external publisher or orchestrator resolves this reference before use.
|
|
1567
|
+
*/
|
|
1543
1568
|
credentialsRef: z.ZodOptional<z.ZodString>;
|
|
1544
1569
|
releaseBranch: z.ZodOptional<z.ZodString>;
|
|
1545
1570
|
tolerateRepublish: z.ZodOptional<z.ZodBoolean>;
|
|
1546
1571
|
registry: z.ZodLiteral<"composer">;
|
|
1547
1572
|
}, z.core.$strict>, z.ZodObject<{
|
|
1548
1573
|
url: z.ZodOptional<z.ZodString>;
|
|
1574
|
+
/**
|
|
1575
|
+
* Reference to registry publishing credentials. Raw tokens/passwords are intentionally not part of
|
|
1576
|
+
* SDK Config IR; the external publisher or orchestrator resolves this reference before use.
|
|
1577
|
+
*/
|
|
1549
1578
|
credentialsRef: z.ZodOptional<z.ZodString>;
|
|
1550
1579
|
releaseBranch: z.ZodOptional<z.ZodString>;
|
|
1551
1580
|
tolerateRepublish: z.ZodOptional<z.ZodBoolean>;
|
|
1552
1581
|
registry: z.ZodLiteral<"maven">;
|
|
1582
|
+
/**
|
|
1583
|
+
* Reference to Maven signing credentials. Raw signing keys are intentionally not part of SDK
|
|
1584
|
+
* Config IR; the external publisher or orchestrator resolves this reference before use.
|
|
1585
|
+
*/
|
|
1553
1586
|
signingCredentialsRef: z.ZodOptional<z.ZodString>;
|
|
1554
1587
|
}, z.core.$strict>], "registry">>;
|
|
1555
1588
|
}, z.core.$strict>], "delivery">;
|
|
1589
|
+
type CredentialResolution = z.infer<typeof credentialResolutionSchema>;
|
|
1556
1590
|
type PublishRegistry = z.infer<typeof publishRegistrySchema>;
|
|
1557
1591
|
type PublishConfig = z.infer<typeof publishConfigSchema>;
|
|
1558
1592
|
type OutputConfig = z.infer<typeof outputConfigSchema>;
|
|
1559
1593
|
|
|
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
1594
|
declare const SDK_CONFIG_IR_V1_SCHEMA_VERSION: "sdk-config-ir/v1";
|
|
1688
1595
|
declare const sdkConfigIrV1Schema: z.ZodObject<{
|
|
1689
1596
|
schemaVersion: z.ZodLiteral<"sdk-config-ir/v1">;
|
|
@@ -1715,6 +1622,12 @@ declare const sdkConfigIrV1Schema: z.ZodObject<{
|
|
|
1715
1622
|
objectQueryParameters: z.ZodOptional<z.ZodBoolean>;
|
|
1716
1623
|
typeDatesAsStrings: z.ZodOptional<z.ZodBoolean>;
|
|
1717
1624
|
groupMultiApiEnvironments: z.ZodOptional<z.ZodBoolean>;
|
|
1625
|
+
defaultIntegerFormat: z.ZodOptional<z.ZodEnum<{
|
|
1626
|
+
int32: "int32";
|
|
1627
|
+
int64: "int64";
|
|
1628
|
+
uint32: "uint32";
|
|
1629
|
+
uint64: "uint64";
|
|
1630
|
+
}>>;
|
|
1718
1631
|
}, z.core.$strict>>;
|
|
1719
1632
|
overlays: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1720
1633
|
overrides: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -1734,31 +1647,39 @@ declare const sdkConfigIrV1Schema: z.ZodObject<{
|
|
|
1734
1647
|
objectQueryParameters: z.ZodOptional<z.ZodBoolean>;
|
|
1735
1648
|
typeDatesAsStrings: z.ZodOptional<z.ZodBoolean>;
|
|
1736
1649
|
groupMultiApiEnvironments: z.ZodOptional<z.ZodBoolean>;
|
|
1650
|
+
defaultIntegerFormat: z.ZodOptional<z.ZodEnum<{
|
|
1651
|
+
int32: "int32";
|
|
1652
|
+
int64: "int64";
|
|
1653
|
+
uint32: "uint32";
|
|
1654
|
+
uint64: "uint64";
|
|
1655
|
+
}>>;
|
|
1737
1656
|
}, z.core.$strict>>;
|
|
1738
1657
|
}, z.core.$strict>;
|
|
1739
1658
|
target: z.ZodObject<{
|
|
1740
1659
|
language: z.ZodEnum<{
|
|
1660
|
+
go: "go";
|
|
1741
1661
|
typescript: "typescript";
|
|
1742
1662
|
python: "python";
|
|
1743
1663
|
java: "java";
|
|
1744
1664
|
kotlin: "kotlin";
|
|
1745
|
-
go: "go";
|
|
1746
1665
|
csharp: "csharp";
|
|
1747
1666
|
php: "php";
|
|
1748
1667
|
ruby: "ruby";
|
|
1749
1668
|
rust: "rust";
|
|
1669
|
+
swift: "swift";
|
|
1750
1670
|
cli: "cli";
|
|
1751
1671
|
mcp: "mcp";
|
|
1752
|
-
swift: "swift";
|
|
1753
1672
|
terraform: "terraform";
|
|
1754
1673
|
}>;
|
|
1755
1674
|
generatorVersion: z.ZodOptional<z.ZodString>;
|
|
1756
1675
|
sourceOrigin: z.ZodEnum<{
|
|
1757
|
-
fern: "fern";
|
|
1758
1676
|
postman: "postman";
|
|
1677
|
+
fern: "fern";
|
|
1759
1678
|
}>;
|
|
1760
1679
|
sdkName: z.ZodString;
|
|
1680
|
+
apiName: z.ZodOptional<z.ZodString>;
|
|
1761
1681
|
organization: z.ZodOptional<z.ZodString>;
|
|
1682
|
+
organizationName: z.ZodOptional<z.ZodString>;
|
|
1762
1683
|
sdkVersion: z.ZodDefault<z.ZodString>;
|
|
1763
1684
|
apiVersion: z.ZodOptional<z.ZodString>;
|
|
1764
1685
|
}, z.core.$strict>;
|
|
@@ -1894,6 +1815,7 @@ declare const sdkConfigIrV1Schema: z.ZodObject<{
|
|
|
1894
1815
|
description: z.ZodOptional<z.ZodString>;
|
|
1895
1816
|
environmentVariable: z.ZodOptional<z.ZodString>;
|
|
1896
1817
|
}, z.core.$strict>>>;
|
|
1818
|
+
audiences: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1897
1819
|
}, z.core.$strict>;
|
|
1898
1820
|
client: z.ZodObject<{
|
|
1899
1821
|
retry: z.ZodPrefault<z.ZodObject<{
|
|
@@ -1937,6 +1859,7 @@ declare const sdkConfigIrV1Schema: z.ZodObject<{
|
|
|
1937
1859
|
"language-default": "language-default";
|
|
1938
1860
|
}>>;
|
|
1939
1861
|
useDefaultRequestParameterValues: z.ZodOptional<z.ZodBoolean>;
|
|
1862
|
+
respectOptionalRequestBody: z.ZodOptional<z.ZodBoolean>;
|
|
1940
1863
|
tokenRefresh: z.ZodOptional<z.ZodObject<{
|
|
1941
1864
|
enabled: z.ZodBoolean;
|
|
1942
1865
|
endpoint: z.ZodOptional<z.ZodString>;
|
|
@@ -2045,6 +1968,11 @@ declare const sdkConfigIrV1Schema: z.ZodObject<{
|
|
|
2045
1968
|
}, z.core.$strict>>>;
|
|
2046
1969
|
}, z.core.$strict>;
|
|
2047
1970
|
output: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1971
|
+
credentialResolution: z.ZodDefault<z.ZodEnum<{
|
|
1972
|
+
"refs-only": "refs-only";
|
|
1973
|
+
"resolved-by-orchestrator": "resolved-by-orchestrator";
|
|
1974
|
+
"resolved-by-fiddle": "resolved-by-fiddle";
|
|
1975
|
+
}>>;
|
|
2048
1976
|
delivery: z.ZodLiteral<"files">;
|
|
2049
1977
|
path: z.ZodOptional<z.ZodString>;
|
|
2050
1978
|
publish: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -2098,6 +2026,11 @@ declare const sdkConfigIrV1Schema: z.ZodObject<{
|
|
|
2098
2026
|
signingCredentialsRef: z.ZodOptional<z.ZodString>;
|
|
2099
2027
|
}, z.core.$strict>], "registry">>;
|
|
2100
2028
|
}, z.core.$strict>, z.ZodObject<{
|
|
2029
|
+
credentialResolution: z.ZodDefault<z.ZodEnum<{
|
|
2030
|
+
"refs-only": "refs-only";
|
|
2031
|
+
"resolved-by-orchestrator": "resolved-by-orchestrator";
|
|
2032
|
+
"resolved-by-fiddle": "resolved-by-fiddle";
|
|
2033
|
+
}>>;
|
|
2101
2034
|
delivery: z.ZodLiteral<"zip">;
|
|
2102
2035
|
fileName: z.ZodOptional<z.ZodString>;
|
|
2103
2036
|
publish: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -2151,6 +2084,11 @@ declare const sdkConfigIrV1Schema: z.ZodObject<{
|
|
|
2151
2084
|
signingCredentialsRef: z.ZodOptional<z.ZodString>;
|
|
2152
2085
|
}, z.core.$strict>], "registry">>;
|
|
2153
2086
|
}, z.core.$strict>, z.ZodObject<{
|
|
2087
|
+
credentialResolution: z.ZodDefault<z.ZodEnum<{
|
|
2088
|
+
"refs-only": "refs-only";
|
|
2089
|
+
"resolved-by-orchestrator": "resolved-by-orchestrator";
|
|
2090
|
+
"resolved-by-fiddle": "resolved-by-fiddle";
|
|
2091
|
+
}>>;
|
|
2154
2092
|
delivery: z.ZodLiteral<"github">;
|
|
2155
2093
|
github: z.ZodObject<{
|
|
2156
2094
|
repository: z.ZodString;
|
|
@@ -2167,6 +2105,12 @@ declare const sdkConfigIrV1Schema: z.ZodObject<{
|
|
|
2167
2105
|
}, z.core.$strict>>;
|
|
2168
2106
|
credentialsRef: z.ZodOptional<z.ZodString>;
|
|
2169
2107
|
privateRepository: z.ZodOptional<z.ZodBoolean>;
|
|
2108
|
+
replay: z.ZodOptional<z.ZodObject<{
|
|
2109
|
+
enabled: z.ZodBoolean;
|
|
2110
|
+
}, z.core.$strict>>;
|
|
2111
|
+
verify: z.ZodDefault<z.ZodBoolean>;
|
|
2112
|
+
skipIfNoDiff: z.ZodDefault<z.ZodBoolean>;
|
|
2113
|
+
autoMerge: z.ZodDefault<z.ZodBoolean>;
|
|
2170
2114
|
}, z.core.$strict>;
|
|
2171
2115
|
publish: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2172
2116
|
url: z.ZodOptional<z.ZodString>;
|
|
@@ -2226,6 +2170,10 @@ declare const sdkConfigIrV1Schema: z.ZodObject<{
|
|
|
2226
2170
|
apiReferenceLink: z.ZodOptional<z.ZodString>;
|
|
2227
2171
|
bannerLink: z.ZodOptional<z.ZodString>;
|
|
2228
2172
|
disabledSections: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2173
|
+
customSections: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2174
|
+
title: z.ZodString;
|
|
2175
|
+
content: z.ZodString;
|
|
2176
|
+
}, z.core.$strict>>>;
|
|
2229
2177
|
defaultEndpoint: z.ZodOptional<z.ZodObject<{
|
|
2230
2178
|
method: z.ZodEnum<{
|
|
2231
2179
|
GET: "GET";
|
|
@@ -2279,6 +2227,12 @@ declare const sdkConfigIrV1Schema: z.ZodObject<{
|
|
|
2279
2227
|
devContainer: z.ZodDefault<z.ZodBoolean>;
|
|
2280
2228
|
allowMockClient: z.ZodDefault<z.ZodBoolean>;
|
|
2281
2229
|
ignoreFiles: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2230
|
+
fernignoreContents: z.ZodOptional<z.ZodString>;
|
|
2231
|
+
fernDefinitionMetadata: z.ZodOptional<z.ZodObject<{
|
|
2232
|
+
definitionS3DownloadUrl: z.ZodString;
|
|
2233
|
+
outputPath: z.ZodOptional<z.ZodString>;
|
|
2234
|
+
cliVersion: z.ZodOptional<z.ZodString>;
|
|
2235
|
+
}, z.core.$strict>>;
|
|
2282
2236
|
reservedKeywords: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2283
2237
|
hooks: z.ZodOptional<z.ZodObject<{
|
|
2284
2238
|
enabled: z.ZodBoolean;
|
|
@@ -2351,9 +2305,9 @@ declare const sdkConfigIrV1Schema: z.ZodObject<{
|
|
|
2351
2305
|
unitTests: z.ZodOptional<z.ZodObject<{
|
|
2352
2306
|
enabled: z.ZodBoolean;
|
|
2353
2307
|
mode: z.ZodOptional<z.ZodEnum<{
|
|
2354
|
-
both: "both";
|
|
2355
2308
|
"core-runtime": "core-runtime";
|
|
2356
2309
|
"schema-driven": "schema-driven";
|
|
2310
|
+
both: "both";
|
|
2357
2311
|
}>>;
|
|
2358
2312
|
exclusions: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2359
2313
|
}, z.core.$strict>>;
|
|
@@ -2447,9 +2401,9 @@ declare const sdkConfigIrV1Schema: z.ZodObject<{
|
|
|
2447
2401
|
pydanticVersion: z.ZodOptional<z.ZodString>;
|
|
2448
2402
|
pydantic: z.ZodOptional<z.ZodObject<{
|
|
2449
2403
|
versionCompatibility: z.ZodOptional<z.ZodEnum<{
|
|
2404
|
+
both: "both";
|
|
2450
2405
|
v1: "v1";
|
|
2451
2406
|
v2: "v2";
|
|
2452
|
-
both: "both";
|
|
2453
2407
|
"v1-on-v2": "v1-on-v2";
|
|
2454
2408
|
}>>;
|
|
2455
2409
|
frozen: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -2477,6 +2431,10 @@ declare const sdkConfigIrV1Schema: z.ZodObject<{
|
|
|
2477
2431
|
gradleDistributionUrl: z.ZodOptional<z.ZodString>;
|
|
2478
2432
|
gradlePluginManagement: z.ZodOptional<z.ZodString>;
|
|
2479
2433
|
gradleCentralDependencyManagement: z.ZodOptional<z.ZodBoolean>;
|
|
2434
|
+
asyncStyle: z.ZodOptional<z.ZodEnum<{
|
|
2435
|
+
"dedicated-client": "dedicated-client";
|
|
2436
|
+
"twin-methods": "twin-methods";
|
|
2437
|
+
}>>;
|
|
2480
2438
|
includeKotlinSnippets: z.ZodOptional<z.ZodBoolean>;
|
|
2481
2439
|
}, z.core.$strict>>;
|
|
2482
2440
|
kotlin: z.ZodOptional<z.ZodObject<{
|
|
@@ -2489,9 +2447,15 @@ declare const sdkConfigIrV1Schema: z.ZodObject<{
|
|
|
2489
2447
|
gradleDistributionUrl: z.ZodOptional<z.ZodString>;
|
|
2490
2448
|
gradlePluginManagement: z.ZodOptional<z.ZodString>;
|
|
2491
2449
|
gradleCentralDependencyManagement: z.ZodOptional<z.ZodBoolean>;
|
|
2450
|
+
asyncStyle: z.ZodOptional<z.ZodEnum<{
|
|
2451
|
+
"dedicated-client": "dedicated-client";
|
|
2452
|
+
"twin-methods": "twin-methods";
|
|
2453
|
+
}>>;
|
|
2492
2454
|
}, z.core.$strict>>;
|
|
2493
2455
|
go: z.ZodOptional<z.ZodObject<{
|
|
2494
2456
|
legacyComplexModels: z.ZodOptional<z.ZodBoolean>;
|
|
2457
|
+
smartCasing: z.ZodOptional<z.ZodBoolean>;
|
|
2458
|
+
clientConstructorName: z.ZodOptional<z.ZodString>;
|
|
2495
2459
|
unionVersion: z.ZodOptional<z.ZodEnum<{
|
|
2496
2460
|
v0: "v0";
|
|
2497
2461
|
v1: "v1";
|
|
@@ -2504,6 +2468,7 @@ declare const sdkConfigIrV1Schema: z.ZodObject<{
|
|
|
2504
2468
|
explicitNamespaces: z.ZodOptional<z.ZodBoolean>;
|
|
2505
2469
|
rootNamespaceForCoreClasses: z.ZodOptional<z.ZodBoolean>;
|
|
2506
2470
|
includeExceptionHandler: z.ZodOptional<z.ZodBoolean>;
|
|
2471
|
+
experimentalExplicitNullableOptional: z.ZodOptional<z.ZodBoolean>;
|
|
2507
2472
|
}, z.core.$strict>>;
|
|
2508
2473
|
php: z.ZodOptional<z.ZodObject<{
|
|
2509
2474
|
propertyAccess: z.ZodOptional<z.ZodEnum<{
|
|
@@ -2565,9 +2530,30 @@ declare const sdkConfigIrV1Schema: z.ZodObject<{
|
|
|
2565
2530
|
name: z.ZodString;
|
|
2566
2531
|
command: z.ZodString;
|
|
2567
2532
|
}, z.core.$strict>>>;
|
|
2533
|
+
serverName: z.ZodOptional<z.ZodString>;
|
|
2534
|
+
serverDescription: z.ZodOptional<z.ZodString>;
|
|
2535
|
+
excludeAvailability: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
2536
|
+
IN_DEVELOPMENT: "IN_DEVELOPMENT";
|
|
2537
|
+
PRE_RELEASE: "PRE_RELEASE";
|
|
2538
|
+
GENERAL_AVAILABILITY: "GENERAL_AVAILABILITY";
|
|
2539
|
+
DEPRECATED: "DEPRECATED";
|
|
2540
|
+
ALPHA: "ALPHA";
|
|
2541
|
+
BETA: "BETA";
|
|
2542
|
+
PREVIEW: "PREVIEW";
|
|
2543
|
+
LEGACY: "LEGACY";
|
|
2544
|
+
}>>>;
|
|
2545
|
+
tools: z.ZodOptional<z.ZodObject<{
|
|
2546
|
+
include: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2547
|
+
exclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2548
|
+
}, z.core.$strict>>;
|
|
2549
|
+
toolsets: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
2550
|
+
include: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2551
|
+
exclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2552
|
+
}, z.core.$strict>>>;
|
|
2568
2553
|
}, z.core.$strict>>;
|
|
2569
2554
|
swift: z.ZodOptional<z.ZodObject<{
|
|
2570
2555
|
moduleName: z.ZodOptional<z.ZodString>;
|
|
2556
|
+
nullableAsOptional: z.ZodOptional<z.ZodBoolean>;
|
|
2571
2557
|
}, z.core.$strict>>;
|
|
2572
2558
|
terraform: z.ZodOptional<z.ZodObject<{
|
|
2573
2559
|
providerName: z.ZodOptional<z.ZodString>;
|
|
@@ -2611,8 +2597,8 @@ declare const sdkConfigIrV1Schema: z.ZodObject<{
|
|
|
2611
2597
|
}, z.core.$strict>], "kind">>;
|
|
2612
2598
|
unsupportedFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2613
2599
|
source: z.ZodEnum<{
|
|
2614
|
-
fern: "fern";
|
|
2615
2600
|
postman: "postman";
|
|
2601
|
+
fern: "fern";
|
|
2616
2602
|
"sdk-config-ir": "sdk-config-ir";
|
|
2617
2603
|
}>;
|
|
2618
2604
|
path: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
@@ -2652,6 +2638,12 @@ declare const apiImportSettingsSchema: z.ZodObject<{
|
|
|
2652
2638
|
objectQueryParameters: z.ZodOptional<z.ZodBoolean>;
|
|
2653
2639
|
typeDatesAsStrings: z.ZodOptional<z.ZodBoolean>;
|
|
2654
2640
|
groupMultiApiEnvironments: z.ZodOptional<z.ZodBoolean>;
|
|
2641
|
+
defaultIntegerFormat: z.ZodOptional<z.ZodEnum<{
|
|
2642
|
+
int32: "int32";
|
|
2643
|
+
int64: "int64";
|
|
2644
|
+
uint32: "uint32";
|
|
2645
|
+
uint64: "uint64";
|
|
2646
|
+
}>>;
|
|
2655
2647
|
}, z.core.$strict>;
|
|
2656
2648
|
declare const sourceSpecTypeSchema: z.ZodEnum<{
|
|
2657
2649
|
postman: "postman";
|
|
@@ -2687,6 +2679,12 @@ declare const sourceSpecConfigSchema: z.ZodObject<{
|
|
|
2687
2679
|
objectQueryParameters: z.ZodOptional<z.ZodBoolean>;
|
|
2688
2680
|
typeDatesAsStrings: z.ZodOptional<z.ZodBoolean>;
|
|
2689
2681
|
groupMultiApiEnvironments: z.ZodOptional<z.ZodBoolean>;
|
|
2682
|
+
defaultIntegerFormat: z.ZodOptional<z.ZodEnum<{
|
|
2683
|
+
int32: "int32";
|
|
2684
|
+
int64: "int64";
|
|
2685
|
+
uint32: "uint32";
|
|
2686
|
+
uint64: "uint64";
|
|
2687
|
+
}>>;
|
|
2690
2688
|
}, z.core.$strict>>;
|
|
2691
2689
|
overlays: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2692
2690
|
overrides: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -2719,6 +2717,12 @@ declare const sourceConfigSchema: z.ZodObject<{
|
|
|
2719
2717
|
objectQueryParameters: z.ZodOptional<z.ZodBoolean>;
|
|
2720
2718
|
typeDatesAsStrings: z.ZodOptional<z.ZodBoolean>;
|
|
2721
2719
|
groupMultiApiEnvironments: z.ZodOptional<z.ZodBoolean>;
|
|
2720
|
+
defaultIntegerFormat: z.ZodOptional<z.ZodEnum<{
|
|
2721
|
+
int32: "int32";
|
|
2722
|
+
int64: "int64";
|
|
2723
|
+
uint32: "uint32";
|
|
2724
|
+
uint64: "uint64";
|
|
2725
|
+
}>>;
|
|
2722
2726
|
}, z.core.$strict>>;
|
|
2723
2727
|
overlays: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2724
2728
|
overrides: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -2738,6 +2742,12 @@ declare const sourceConfigSchema: z.ZodObject<{
|
|
|
2738
2742
|
objectQueryParameters: z.ZodOptional<z.ZodBoolean>;
|
|
2739
2743
|
typeDatesAsStrings: z.ZodOptional<z.ZodBoolean>;
|
|
2740
2744
|
groupMultiApiEnvironments: z.ZodOptional<z.ZodBoolean>;
|
|
2745
|
+
defaultIntegerFormat: z.ZodOptional<z.ZodEnum<{
|
|
2746
|
+
int32: "int32";
|
|
2747
|
+
int64: "int64";
|
|
2748
|
+
uint32: "uint32";
|
|
2749
|
+
uint64: "uint64";
|
|
2750
|
+
}>>;
|
|
2741
2751
|
}, z.core.$strict>>;
|
|
2742
2752
|
}, z.core.$strict>;
|
|
2743
2753
|
type ApiImportSettings = z.infer<typeof apiImportSettingsSchema>;
|
|
@@ -2746,47 +2756,59 @@ type SourceSpecConfig = z.infer<typeof sourceSpecConfigSchema>;
|
|
|
2746
2756
|
type SourceConfig = z.infer<typeof sourceConfigSchema>;
|
|
2747
2757
|
|
|
2748
2758
|
declare const targetLanguageSchema: z.ZodEnum<{
|
|
2759
|
+
go: "go";
|
|
2749
2760
|
typescript: "typescript";
|
|
2750
2761
|
python: "python";
|
|
2751
2762
|
java: "java";
|
|
2752
2763
|
kotlin: "kotlin";
|
|
2753
|
-
go: "go";
|
|
2754
2764
|
csharp: "csharp";
|
|
2755
2765
|
php: "php";
|
|
2756
2766
|
ruby: "ruby";
|
|
2757
2767
|
rust: "rust";
|
|
2768
|
+
swift: "swift";
|
|
2758
2769
|
cli: "cli";
|
|
2759
2770
|
mcp: "mcp";
|
|
2760
|
-
swift: "swift";
|
|
2761
2771
|
terraform: "terraform";
|
|
2762
2772
|
}>;
|
|
2763
2773
|
declare const targetConfigSchema: z.ZodObject<{
|
|
2764
2774
|
language: z.ZodEnum<{
|
|
2775
|
+
go: "go";
|
|
2765
2776
|
typescript: "typescript";
|
|
2766
2777
|
python: "python";
|
|
2767
2778
|
java: "java";
|
|
2768
2779
|
kotlin: "kotlin";
|
|
2769
|
-
go: "go";
|
|
2770
2780
|
csharp: "csharp";
|
|
2771
2781
|
php: "php";
|
|
2772
2782
|
ruby: "ruby";
|
|
2773
2783
|
rust: "rust";
|
|
2784
|
+
swift: "swift";
|
|
2774
2785
|
cli: "cli";
|
|
2775
2786
|
mcp: "mcp";
|
|
2776
|
-
swift: "swift";
|
|
2777
2787
|
terraform: "terraform";
|
|
2778
2788
|
}>;
|
|
2779
2789
|
generatorVersion: z.ZodOptional<z.ZodString>;
|
|
2780
2790
|
sourceOrigin: z.ZodEnum<{
|
|
2781
|
-
fern: "fern";
|
|
2782
2791
|
postman: "postman";
|
|
2792
|
+
fern: "fern";
|
|
2783
2793
|
}>;
|
|
2784
2794
|
sdkName: z.ZodString;
|
|
2795
|
+
/**
|
|
2796
|
+
* Stable Fern/Fiddle API identity for external publishing.
|
|
2797
|
+
* Producers must set this explicitly for GitHub or registry publishing; it is not inferred from
|
|
2798
|
+
* target.sdkName because SDK display names and Fern API names are not equivalent.
|
|
2799
|
+
*/
|
|
2800
|
+
apiName: z.ZodOptional<z.ZodString>;
|
|
2785
2801
|
organization: z.ZodOptional<z.ZodString>;
|
|
2802
|
+
/**
|
|
2803
|
+
* Stable Fern/Fiddle organization identity for external publishing.
|
|
2804
|
+
* Producers must set this explicitly for GitHub or registry publishing; it is not inferred from
|
|
2805
|
+
* target.organization because source organization metadata is optional and may not match Fern.
|
|
2806
|
+
*/
|
|
2807
|
+
organizationName: z.ZodOptional<z.ZodString>;
|
|
2786
2808
|
sdkVersion: z.ZodDefault<z.ZodString>;
|
|
2787
2809
|
apiVersion: z.ZodOptional<z.ZodString>;
|
|
2788
2810
|
}, z.core.$strict>;
|
|
2789
2811
|
type TargetLanguage = z.infer<typeof targetLanguageSchema>;
|
|
2790
2812
|
type TargetConfig = z.infer<typeof targetConfigSchema>;
|
|
2791
2813
|
|
|
2792
|
-
export { type ApiConfig, type ApiConfigInput, type ApiImportSettings, type AuthConfig, type AuthScheme, type
|
|
2814
|
+
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 };
|