@postman/sdk-config 0.0.3 → 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.
Files changed (36) hide show
  1. package/README.md +42 -17
  2. package/dist/index.cjs +2017 -180
  3. package/dist/index.cjs.map +1 -1
  4. package/dist/index.d.cts +3 -1
  5. package/dist/index.d.ts +3 -1
  6. package/dist/index.js +1980 -181
  7. package/dist/index.js.map +1 -1
  8. package/dist/sdk-config/index.cjs +2233 -0
  9. package/dist/sdk-config/index.cjs.map +1 -0
  10. package/dist/sdk-config/index.d.cts +3 -0
  11. package/dist/sdk-config/index.d.ts +3 -0
  12. package/dist/sdk-config/index.js +2192 -0
  13. package/dist/sdk-config/index.js.map +1 -0
  14. package/dist/sdk-config/v1/index.cjs +2233 -0
  15. package/dist/sdk-config/v1/index.cjs.map +1 -0
  16. package/dist/sdk-config/v1/index.d.cts +8644 -0
  17. package/dist/sdk-config/v1/index.d.ts +8644 -0
  18. package/dist/sdk-config/v1/index.js +2192 -0
  19. package/dist/sdk-config/v1/index.js.map +1 -0
  20. package/dist/sdk-config-ir/index.cjs +155 -19
  21. package/dist/sdk-config-ir/index.cjs.map +1 -1
  22. package/dist/sdk-config-ir/index.d.cts +2 -1
  23. package/dist/sdk-config-ir/index.d.ts +2 -1
  24. package/dist/sdk-config-ir/index.js +154 -20
  25. package/dist/sdk-config-ir/index.js.map +1 -1
  26. package/dist/sdk-config-ir/v1/index.cjs +155 -19
  27. package/dist/sdk-config-ir/v1/index.cjs.map +1 -1
  28. package/dist/sdk-config-ir/v1/index.d.cts +448 -398
  29. package/dist/sdk-config-ir/v1/index.d.ts +448 -398
  30. package/dist/sdk-config-ir/v1/index.js +154 -20
  31. package/dist/sdk-config-ir/v1/index.js.map +1 -1
  32. package/dist/typescript-ByDbin_v.d.cts +426 -0
  33. package/dist/typescript-ByDbin_v.d.ts +426 -0
  34. package/package.json +15 -2
  35. package/src/sdk-config/v1/README.md +135 -0
  36. package/src/sdk-config-ir/v1/README.md +46 -27
@@ -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;
@@ -814,6 +871,20 @@ declare const generationConfigSchema: z.ZodObject<{
814
871
  enabled: z.ZodBoolean;
815
872
  exclusions: z.ZodOptional<z.ZodArray<z.ZodString>>;
816
873
  fallbackToGeneratedErrorExamples: z.ZodOptional<z.ZodBoolean>;
874
+ fixtureSource: z.ZodOptional<z.ZodEnum<{
875
+ synthetic: "synthetic";
876
+ recorded: "recorded";
877
+ auto: "auto";
878
+ }>>;
879
+ }, z.core.$strict>>;
880
+ unitTests: z.ZodOptional<z.ZodObject<{
881
+ enabled: z.ZodBoolean;
882
+ mode: z.ZodOptional<z.ZodEnum<{
883
+ "core-runtime": "core-runtime";
884
+ "schema-driven": "schema-driven";
885
+ both: "both";
886
+ }>>;
887
+ exclusions: z.ZodOptional<z.ZodArray<z.ZodString>>;
817
888
  }, z.core.$strict>>;
818
889
  webSockets: z.ZodOptional<z.ZodBoolean>;
819
890
  streams: z.ZodOptional<z.ZodObject<{
@@ -905,9 +976,9 @@ declare const generationConfigSchema: z.ZodObject<{
905
976
  pydanticVersion: z.ZodOptional<z.ZodString>;
906
977
  pydantic: z.ZodOptional<z.ZodObject<{
907
978
  versionCompatibility: z.ZodOptional<z.ZodEnum<{
979
+ both: "both";
908
980
  v1: "v1";
909
981
  v2: "v2";
910
- both: "both";
911
982
  "v1-on-v2": "v1-on-v2";
912
983
  }>>;
913
984
  frozen: z.ZodOptional<z.ZodBoolean>;
@@ -935,6 +1006,10 @@ declare const generationConfigSchema: z.ZodObject<{
935
1006
  gradleDistributionUrl: z.ZodOptional<z.ZodString>;
936
1007
  gradlePluginManagement: z.ZodOptional<z.ZodString>;
937
1008
  gradleCentralDependencyManagement: z.ZodOptional<z.ZodBoolean>;
1009
+ asyncStyle: z.ZodOptional<z.ZodEnum<{
1010
+ "dedicated-client": "dedicated-client";
1011
+ "twin-methods": "twin-methods";
1012
+ }>>;
938
1013
  includeKotlinSnippets: z.ZodOptional<z.ZodBoolean>;
939
1014
  }, z.core.$strict>>;
940
1015
  kotlin: z.ZodOptional<z.ZodObject<{
@@ -947,9 +1022,15 @@ declare const generationConfigSchema: z.ZodObject<{
947
1022
  gradleDistributionUrl: z.ZodOptional<z.ZodString>;
948
1023
  gradlePluginManagement: z.ZodOptional<z.ZodString>;
949
1024
  gradleCentralDependencyManagement: z.ZodOptional<z.ZodBoolean>;
1025
+ asyncStyle: z.ZodOptional<z.ZodEnum<{
1026
+ "dedicated-client": "dedicated-client";
1027
+ "twin-methods": "twin-methods";
1028
+ }>>;
950
1029
  }, z.core.$strict>>;
951
1030
  go: z.ZodOptional<z.ZodObject<{
952
1031
  legacyComplexModels: z.ZodOptional<z.ZodBoolean>;
1032
+ smartCasing: z.ZodOptional<z.ZodBoolean>;
1033
+ clientConstructorName: z.ZodOptional<z.ZodString>;
953
1034
  unionVersion: z.ZodOptional<z.ZodEnum<{
954
1035
  v0: "v0";
955
1036
  v1: "v1";
@@ -962,6 +1043,7 @@ declare const generationConfigSchema: z.ZodObject<{
962
1043
  explicitNamespaces: z.ZodOptional<z.ZodBoolean>;
963
1044
  rootNamespaceForCoreClasses: z.ZodOptional<z.ZodBoolean>;
964
1045
  includeExceptionHandler: z.ZodOptional<z.ZodBoolean>;
1046
+ experimentalExplicitNullableOptional: z.ZodOptional<z.ZodBoolean>;
965
1047
  }, z.core.$strict>>;
966
1048
  php: z.ZodOptional<z.ZodObject<{
967
1049
  propertyAccess: z.ZodOptional<z.ZodEnum<{
@@ -1023,9 +1105,30 @@ declare const generationConfigSchema: z.ZodObject<{
1023
1105
  name: z.ZodString;
1024
1106
  command: z.ZodString;
1025
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>>>;
1026
1128
  }, z.core.$strict>>;
1027
1129
  swift: z.ZodOptional<z.ZodObject<{
1028
1130
  moduleName: z.ZodOptional<z.ZodString>;
1131
+ nullableAsOptional: z.ZodOptional<z.ZodBoolean>;
1029
1132
  }, z.core.$strict>>;
1030
1133
  terraform: z.ZodOptional<z.ZodObject<{
1031
1134
  providerName: z.ZodOptional<z.ZodString>;
@@ -1057,420 +1160,314 @@ declare const generationConfigSchema: z.ZodObject<{
1057
1160
  type LanguageGenerationConfig = z.infer<typeof languageGenerationConfigSchema>;
1058
1161
  type GenerationConfig = z.infer<typeof generationConfigSchema>;
1059
1162
 
1060
- declare const cliGenerationConfigSchema: z.ZodObject<{
1061
- paginationParameters: z.ZodOptional<z.ZodArray<z.ZodString>>;
1062
- skills: z.ZodOptional<z.ZodBoolean>;
1063
- }, z.core.$strict>;
1064
- type CliGenerationConfig = z.infer<typeof cliGenerationConfigSchema>;
1065
-
1066
- declare const csharpGenerationConfigSchema: z.ZodObject<{
1067
- useOptionalWrapper: z.ZodOptional<z.ZodBoolean>;
1068
- simplifyObjectDictionaries: z.ZodOptional<z.ZodBoolean>;
1069
- explicitNamespaces: z.ZodOptional<z.ZodBoolean>;
1070
- rootNamespaceForCoreClasses: z.ZodOptional<z.ZodBoolean>;
1071
- includeExceptionHandler: z.ZodOptional<z.ZodBoolean>;
1072
- }, z.core.$strict>;
1073
- type CsharpGenerationConfig = z.infer<typeof csharpGenerationConfigSchema>;
1074
-
1075
- declare const goGenerationConfigSchema: z.ZodObject<{
1076
- legacyComplexModels: z.ZodOptional<z.ZodBoolean>;
1077
- unionVersion: z.ZodOptional<z.ZodEnum<{
1078
- v0: "v0";
1079
- v1: "v1";
1080
- }>>;
1081
- includeLegacyClientOptions: z.ZodOptional<z.ZodBoolean>;
1082
- }, z.core.$strict>;
1083
- type GoGenerationConfig = z.infer<typeof goGenerationConfigSchema>;
1084
-
1085
- declare const javaGenerationConfigSchema: z.ZodObject<{
1086
- packageLayout: z.ZodOptional<z.ZodEnum<{
1087
- flat: "flat";
1088
- nested: "nested";
1089
- }>>;
1090
- useLocalDateForDates: z.ZodOptional<z.ZodBoolean>;
1091
- collapseOptionalNullable: z.ZodOptional<z.ZodBoolean>;
1092
- gradleDistributionUrl: z.ZodOptional<z.ZodString>;
1093
- gradlePluginManagement: z.ZodOptional<z.ZodString>;
1094
- gradleCentralDependencyManagement: z.ZodOptional<z.ZodBoolean>;
1095
- includeKotlinSnippets: z.ZodOptional<z.ZodBoolean>;
1096
- }, z.core.$strict>;
1097
- type JavaGenerationConfig = z.infer<typeof javaGenerationConfigSchema>;
1098
-
1099
- /**
1100
- * Kotlin targets use the shared Java/JVM generator and always include Kotlin-facing
1101
- * examples, snippets, and documentation.
1102
- */
1103
- declare const kotlinGenerationConfigSchema: z.ZodObject<{
1104
- packageLayout: z.ZodOptional<z.ZodEnum<{
1105
- flat: "flat";
1106
- nested: "nested";
1107
- }>>;
1108
- useLocalDateForDates: z.ZodOptional<z.ZodBoolean>;
1109
- collapseOptionalNullable: z.ZodOptional<z.ZodBoolean>;
1110
- gradleDistributionUrl: z.ZodOptional<z.ZodString>;
1111
- gradlePluginManagement: z.ZodOptional<z.ZodString>;
1112
- gradleCentralDependencyManagement: z.ZodOptional<z.ZodBoolean>;
1113
- }, z.core.$strict>;
1114
- type KotlinGenerationConfig = z.infer<typeof kotlinGenerationConfigSchema>;
1115
-
1116
- declare const mcpGenerationConfigSchema: z.ZodObject<{
1117
- typescriptVersion: z.ZodOptional<z.ZodString>;
1118
- zodVersion: z.ZodOptional<z.ZodString>;
1119
- compilerOptions: z.ZodOptional<z.ZodObject<{
1120
- target: z.ZodOptional<z.ZodString>;
1121
- module: z.ZodOptional<z.ZodString>;
1122
- lib: z.ZodOptional<z.ZodArray<z.ZodString>>;
1123
- }, z.core.$strict>>;
1124
- httpClient: z.ZodOptional<z.ZodObject<{
1125
- name: z.ZodEnum<{
1126
- axios: "axios";
1127
- fetch: "fetch";
1128
- }>;
1129
- }, z.core.$strict>>;
1130
- packageManager: z.ZodOptional<z.ZodEnum<{
1131
- pnpm: "pnpm";
1132
- yarn: "yarn";
1133
- }>>;
1134
- testFramework: z.ZodOptional<z.ZodEnum<{
1135
- jest: "jest";
1136
- vitest: "vitest";
1137
- }>>;
1138
- namingStrategy: z.ZodOptional<z.ZodEnum<{
1139
- base: "base";
1140
- originalPropertyNames: "originalPropertyNames";
1141
- }>>;
1142
- bundle: z.ZodOptional<z.ZodBoolean>;
1143
- exportClassDefault: z.ZodOptional<z.ZodBoolean>;
1144
- allowCustomFetcher: z.ZodOptional<z.ZodBoolean>;
1145
- useBrandedStringAliases: z.ZodOptional<z.ZodBoolean>;
1146
- useLegacyExports: z.ZodOptional<z.ZodBoolean>;
1147
- useBigInt: z.ZodOptional<z.ZodBoolean>;
1148
- serdeLayer: z.ZodOptional<z.ZodBoolean>;
1149
- scripts: z.ZodOptional<z.ZodArray<z.ZodObject<{
1150
- name: z.ZodString;
1151
- command: z.ZodString;
1152
- }, z.core.$strict>>>;
1153
- }, z.core.$strict>;
1154
- type McpGenerationConfig = z.infer<typeof mcpGenerationConfigSchema>;
1155
-
1156
- declare const phpGenerationConfigSchema: z.ZodObject<{
1157
- propertyAccess: z.ZodOptional<z.ZodEnum<{
1158
- public: "public";
1159
- private: "private";
1160
- }>>;
1161
- generateClientInterfaces: z.ZodOptional<z.ZodBoolean>;
1162
- }, z.core.$strict>;
1163
- type PhpGenerationConfig = z.infer<typeof phpGenerationConfigSchema>;
1164
-
1165
- declare const pythonGenerationConfigSchema: z.ZodObject<{
1166
- pythonVersion: z.ZodOptional<z.ZodString>;
1167
- pydanticVersion: z.ZodOptional<z.ZodString>;
1168
- pydantic: z.ZodOptional<z.ZodObject<{
1169
- versionCompatibility: z.ZodOptional<z.ZodEnum<{
1170
- v1: "v1";
1171
- v2: "v2";
1172
- both: "both";
1173
- "v1-on-v2": "v1-on-v2";
1174
- }>>;
1175
- frozen: z.ZodOptional<z.ZodBoolean>;
1176
- requireOptionalFields: z.ZodOptional<z.ZodBoolean>;
1177
- unionNaming: z.ZodOptional<z.ZodEnum<{
1178
- v0: "v0";
1179
- v1: "v1";
1180
- }>>;
1181
- useFieldAliases: z.ZodOptional<z.ZodBoolean>;
1182
- }, z.core.$strict>>;
1183
- client: z.ZodOptional<z.ZodObject<{
1184
- fileName: z.ZodOptional<z.ZodString>;
1185
- exportedFileName: z.ZodOptional<z.ZodString>;
1186
- }, z.core.$strict>>;
1187
- alwaysInitializeOptionals: z.ZodOptional<z.ZodBoolean>;
1188
- useTypedDictRequests: z.ZodOptional<z.ZodBoolean>;
1189
- }, z.core.$strict>;
1190
- type PythonGenerationConfig = z.infer<typeof pythonGenerationConfigSchema>;
1191
-
1192
- declare const rubyGenerationConfigSchema: z.ZodObject<{
1193
- requirePaths: z.ZodOptional<z.ZodArray<z.ZodString>>;
1194
- }, z.core.$strict>;
1195
- type RubyGenerationConfig = z.infer<typeof rubyGenerationConfigSchema>;
1196
-
1197
- /**
1198
- * Rust keeps crate identity, client naming, and package metadata in the shared fields; only
1199
- * behavior with no cross-language equivalent lives here.
1200
- */
1201
- declare const rustGenerationConfigSchema: z.ZodObject<{
1202
- /**
1203
- * Rust type for datetime primitives. `offset` maps to `DateTime<FixedOffset>` and preserves the
1204
- * timezone the payload carried; `utc` maps to `DateTime<Utc>` and normalizes to UTC.
1205
- */
1206
- dateTimeType: z.ZodOptional<z.ZodEnum<{
1207
- offset: "offset";
1208
- utc: "utc";
1209
- }>>;
1210
- /** Uppercase common initialisms in generated names (`UserID` rather than `UserId`). */
1211
- capitalizeInitialisms: z.ZodOptional<z.ZodBoolean>;
1212
- /** Cargo features, mapping a feature name to the dependencies or features it enables. */
1213
- features: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>>;
1214
- /** Overrides which features make up Cargo's `default` feature set. */
1215
- defaultFeatures: z.ZodOptional<z.ZodArray<z.ZodString>>;
1216
- }, z.core.$strict>;
1217
- type RustGenerationConfig = z.infer<typeof rustGenerationConfigSchema>;
1218
-
1219
- declare const swiftGenerationConfigSchema: z.ZodObject<{
1220
- moduleName: z.ZodOptional<z.ZodString>;
1221
- }, z.core.$strict>;
1222
- type SwiftGenerationConfig = z.infer<typeof swiftGenerationConfigSchema>;
1223
-
1224
- declare const planModifiersSchema: z.ZodObject<{
1225
- resources: z.ZodDiscriminatedUnion<[z.ZodObject<{
1226
- enabled: z.ZodLiteral<true>;
1227
- sourceDir: z.ZodString;
1228
- }, z.core.$strict>, z.ZodObject<{
1229
- enabled: z.ZodLiteral<false>;
1230
- }, z.core.$strict>], "enabled">;
1231
- attributes: z.ZodDiscriminatedUnion<[z.ZodObject<{
1232
- enabled: z.ZodLiteral<true>;
1233
- sourceDir: z.ZodString;
1234
- }, z.core.$strict>, z.ZodObject<{
1235
- enabled: z.ZodLiteral<false>;
1236
- }, z.core.$strict>], "enabled">;
1237
- }, z.core.$strict>;
1238
- declare const terraformGenerationConfigSchema: z.ZodObject<{
1239
- providerName: z.ZodOptional<z.ZodString>;
1240
- providerVersion: z.ZodOptional<z.ZodString>;
1241
- providerModulePath: z.ZodOptional<z.ZodString>;
1242
- mockAcceptance: z.ZodOptional<z.ZodBoolean>;
1243
- hideComputedDiff: z.ZodOptional<z.ZodBoolean>;
1244
- providerSchema: z.ZodOptional<z.ZodObject<{
1245
- addressKey: z.ZodString;
1246
- authTokenKey: z.ZodString;
1247
- }, z.core.$strict>>;
1248
- planModifiers: z.ZodOptional<z.ZodObject<{
1249
- resources: z.ZodDiscriminatedUnion<[z.ZodObject<{
1250
- enabled: z.ZodLiteral<true>;
1251
- sourceDir: z.ZodString;
1252
- }, z.core.$strict>, z.ZodObject<{
1253
- enabled: z.ZodLiteral<false>;
1254
- }, z.core.$strict>], "enabled">;
1255
- attributes: z.ZodDiscriminatedUnion<[z.ZodObject<{
1256
- enabled: z.ZodLiteral<true>;
1257
- sourceDir: z.ZodString;
1258
- }, z.core.$strict>, z.ZodObject<{
1259
- enabled: z.ZodLiteral<false>;
1260
- }, z.core.$strict>], "enabled">;
1261
- }, z.core.$strict>>;
1262
- }, z.core.$strict>;
1263
- type PlanModifiers = z.infer<typeof planModifiersSchema>;
1264
- type TerraformGenerationConfig = z.infer<typeof terraformGenerationConfigSchema>;
1265
-
1266
- declare const typescriptGenerationConfigSchema: z.ZodObject<{
1267
- typescriptVersion: z.ZodOptional<z.ZodString>;
1268
- zodVersion: z.ZodOptional<z.ZodString>;
1269
- compilerOptions: z.ZodOptional<z.ZodObject<{
1270
- target: z.ZodOptional<z.ZodString>;
1271
- module: z.ZodOptional<z.ZodString>;
1272
- lib: z.ZodOptional<z.ZodArray<z.ZodString>>;
1273
- }, z.core.$strict>>;
1274
- httpClient: z.ZodOptional<z.ZodObject<{
1275
- name: z.ZodEnum<{
1276
- axios: "axios";
1277
- fetch: "fetch";
1278
- }>;
1279
- }, z.core.$strict>>;
1280
- packageManager: z.ZodOptional<z.ZodEnum<{
1281
- pnpm: "pnpm";
1282
- yarn: "yarn";
1283
- }>>;
1284
- testFramework: z.ZodOptional<z.ZodEnum<{
1285
- jest: "jest";
1286
- vitest: "vitest";
1287
- }>>;
1288
- namingStrategy: z.ZodOptional<z.ZodEnum<{
1289
- base: "base";
1290
- originalPropertyNames: "originalPropertyNames";
1291
- }>>;
1292
- bundle: z.ZodOptional<z.ZodBoolean>;
1293
- exportClassDefault: z.ZodOptional<z.ZodBoolean>;
1294
- allowCustomFetcher: z.ZodOptional<z.ZodBoolean>;
1295
- useBrandedStringAliases: z.ZodOptional<z.ZodBoolean>;
1296
- useLegacyExports: z.ZodOptional<z.ZodBoolean>;
1297
- useBigInt: z.ZodOptional<z.ZodBoolean>;
1298
- serdeLayer: z.ZodOptional<z.ZodBoolean>;
1299
- scripts: z.ZodOptional<z.ZodArray<z.ZodObject<{
1300
- name: z.ZodString;
1301
- command: z.ZodString;
1302
- }, z.core.$strict>>>;
1303
- }, z.core.$strict>;
1304
- type TypescriptGenerationConfig = z.infer<typeof typescriptGenerationConfigSchema>;
1305
-
1306
1163
  declare const publishRegistrySchema: z.ZodEnum<{
1307
- go: "go";
1308
1164
  npm: "npm";
1309
1165
  pypi: "pypi";
1310
1166
  maven: "maven";
1311
1167
  nuget: "nuget";
1312
1168
  rubygems: "rubygems";
1313
1169
  crates: "crates";
1170
+ go: "go";
1314
1171
  composer: "composer";
1315
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
+ }>;
1316
1178
  declare const publishConfigSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1317
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
+ */
1318
1184
  credentialsRef: z.ZodOptional<z.ZodString>;
1319
1185
  releaseBranch: z.ZodOptional<z.ZodString>;
1320
1186
  tolerateRepublish: z.ZodOptional<z.ZodBoolean>;
1321
1187
  registry: z.ZodLiteral<"npm">;
1322
1188
  }, z.core.$strict>, z.ZodObject<{
1323
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
+ */
1324
1194
  credentialsRef: z.ZodOptional<z.ZodString>;
1325
1195
  releaseBranch: z.ZodOptional<z.ZodString>;
1326
1196
  tolerateRepublish: z.ZodOptional<z.ZodBoolean>;
1327
1197
  registry: z.ZodLiteral<"pypi">;
1328
1198
  }, z.core.$strict>, z.ZodObject<{
1329
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
+ */
1330
1204
  credentialsRef: z.ZodOptional<z.ZodString>;
1331
1205
  releaseBranch: z.ZodOptional<z.ZodString>;
1332
1206
  tolerateRepublish: z.ZodOptional<z.ZodBoolean>;
1333
1207
  registry: z.ZodLiteral<"nuget">;
1334
1208
  }, z.core.$strict>, z.ZodObject<{
1335
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
+ */
1336
1214
  credentialsRef: z.ZodOptional<z.ZodString>;
1337
1215
  releaseBranch: z.ZodOptional<z.ZodString>;
1338
1216
  tolerateRepublish: z.ZodOptional<z.ZodBoolean>;
1339
1217
  registry: z.ZodLiteral<"rubygems">;
1340
1218
  }, z.core.$strict>, z.ZodObject<{
1341
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
+ */
1342
1224
  credentialsRef: z.ZodOptional<z.ZodString>;
1343
1225
  releaseBranch: z.ZodOptional<z.ZodString>;
1344
1226
  tolerateRepublish: z.ZodOptional<z.ZodBoolean>;
1345
1227
  registry: z.ZodLiteral<"crates">;
1346
1228
  }, z.core.$strict>, z.ZodObject<{
1347
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
+ */
1348
1234
  credentialsRef: z.ZodOptional<z.ZodString>;
1349
1235
  releaseBranch: z.ZodOptional<z.ZodString>;
1350
1236
  tolerateRepublish: z.ZodOptional<z.ZodBoolean>;
1351
1237
  registry: z.ZodLiteral<"go">;
1352
1238
  }, z.core.$strict>, z.ZodObject<{
1353
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
+ */
1354
1244
  credentialsRef: z.ZodOptional<z.ZodString>;
1355
1245
  releaseBranch: z.ZodOptional<z.ZodString>;
1356
1246
  tolerateRepublish: z.ZodOptional<z.ZodBoolean>;
1357
1247
  registry: z.ZodLiteral<"composer">;
1358
1248
  }, z.core.$strict>, z.ZodObject<{
1359
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
+ */
1360
1254
  credentialsRef: z.ZodOptional<z.ZodString>;
1361
1255
  releaseBranch: z.ZodOptional<z.ZodString>;
1362
1256
  tolerateRepublish: z.ZodOptional<z.ZodBoolean>;
1363
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
+ */
1364
1262
  signingCredentialsRef: z.ZodOptional<z.ZodString>;
1365
1263
  }, z.core.$strict>], "registry">;
1366
1264
  /** Artifact delivery is independent from optional package registry publication. */
1367
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
+ }>>;
1368
1275
  delivery: z.ZodLiteral<"files">;
1369
1276
  path: z.ZodOptional<z.ZodString>;
1370
1277
  publish: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
1371
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
+ */
1372
1283
  credentialsRef: z.ZodOptional<z.ZodString>;
1373
1284
  releaseBranch: z.ZodOptional<z.ZodString>;
1374
1285
  tolerateRepublish: z.ZodOptional<z.ZodBoolean>;
1375
1286
  registry: z.ZodLiteral<"npm">;
1376
1287
  }, z.core.$strict>, z.ZodObject<{
1377
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
+ */
1378
1293
  credentialsRef: z.ZodOptional<z.ZodString>;
1379
1294
  releaseBranch: z.ZodOptional<z.ZodString>;
1380
1295
  tolerateRepublish: z.ZodOptional<z.ZodBoolean>;
1381
1296
  registry: z.ZodLiteral<"pypi">;
1382
1297
  }, z.core.$strict>, z.ZodObject<{
1383
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
+ */
1384
1303
  credentialsRef: z.ZodOptional<z.ZodString>;
1385
1304
  releaseBranch: z.ZodOptional<z.ZodString>;
1386
1305
  tolerateRepublish: z.ZodOptional<z.ZodBoolean>;
1387
1306
  registry: z.ZodLiteral<"nuget">;
1388
1307
  }, z.core.$strict>, z.ZodObject<{
1389
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
+ */
1390
1313
  credentialsRef: z.ZodOptional<z.ZodString>;
1391
1314
  releaseBranch: z.ZodOptional<z.ZodString>;
1392
1315
  tolerateRepublish: z.ZodOptional<z.ZodBoolean>;
1393
1316
  registry: z.ZodLiteral<"rubygems">;
1394
1317
  }, z.core.$strict>, z.ZodObject<{
1395
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
+ */
1396
1323
  credentialsRef: z.ZodOptional<z.ZodString>;
1397
1324
  releaseBranch: z.ZodOptional<z.ZodString>;
1398
1325
  tolerateRepublish: z.ZodOptional<z.ZodBoolean>;
1399
1326
  registry: z.ZodLiteral<"crates">;
1400
1327
  }, z.core.$strict>, z.ZodObject<{
1401
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
+ */
1402
1333
  credentialsRef: z.ZodOptional<z.ZodString>;
1403
1334
  releaseBranch: z.ZodOptional<z.ZodString>;
1404
1335
  tolerateRepublish: z.ZodOptional<z.ZodBoolean>;
1405
1336
  registry: z.ZodLiteral<"go">;
1406
1337
  }, z.core.$strict>, z.ZodObject<{
1407
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
+ */
1408
1343
  credentialsRef: z.ZodOptional<z.ZodString>;
1409
1344
  releaseBranch: z.ZodOptional<z.ZodString>;
1410
1345
  tolerateRepublish: z.ZodOptional<z.ZodBoolean>;
1411
1346
  registry: z.ZodLiteral<"composer">;
1412
1347
  }, z.core.$strict>, z.ZodObject<{
1413
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
+ */
1414
1353
  credentialsRef: z.ZodOptional<z.ZodString>;
1415
1354
  releaseBranch: z.ZodOptional<z.ZodString>;
1416
1355
  tolerateRepublish: z.ZodOptional<z.ZodBoolean>;
1417
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
+ */
1418
1361
  signingCredentialsRef: z.ZodOptional<z.ZodString>;
1419
1362
  }, z.core.$strict>], "registry">>;
1420
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
+ }>>;
1421
1373
  delivery: z.ZodLiteral<"zip">;
1422
1374
  fileName: z.ZodOptional<z.ZodString>;
1423
1375
  publish: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
1424
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
+ */
1425
1381
  credentialsRef: z.ZodOptional<z.ZodString>;
1426
1382
  releaseBranch: z.ZodOptional<z.ZodString>;
1427
1383
  tolerateRepublish: z.ZodOptional<z.ZodBoolean>;
1428
1384
  registry: z.ZodLiteral<"npm">;
1429
1385
  }, z.core.$strict>, z.ZodObject<{
1430
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
+ */
1431
1391
  credentialsRef: z.ZodOptional<z.ZodString>;
1432
1392
  releaseBranch: z.ZodOptional<z.ZodString>;
1433
1393
  tolerateRepublish: z.ZodOptional<z.ZodBoolean>;
1434
1394
  registry: z.ZodLiteral<"pypi">;
1435
1395
  }, z.core.$strict>, z.ZodObject<{
1436
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
+ */
1437
1401
  credentialsRef: z.ZodOptional<z.ZodString>;
1438
1402
  releaseBranch: z.ZodOptional<z.ZodString>;
1439
1403
  tolerateRepublish: z.ZodOptional<z.ZodBoolean>;
1440
1404
  registry: z.ZodLiteral<"nuget">;
1441
1405
  }, z.core.$strict>, z.ZodObject<{
1442
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
+ */
1443
1411
  credentialsRef: z.ZodOptional<z.ZodString>;
1444
1412
  releaseBranch: z.ZodOptional<z.ZodString>;
1445
1413
  tolerateRepublish: z.ZodOptional<z.ZodBoolean>;
1446
1414
  registry: z.ZodLiteral<"rubygems">;
1447
1415
  }, z.core.$strict>, z.ZodObject<{
1448
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
+ */
1449
1421
  credentialsRef: z.ZodOptional<z.ZodString>;
1450
1422
  releaseBranch: z.ZodOptional<z.ZodString>;
1451
1423
  tolerateRepublish: z.ZodOptional<z.ZodBoolean>;
1452
1424
  registry: z.ZodLiteral<"crates">;
1453
1425
  }, z.core.$strict>, z.ZodObject<{
1454
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
+ */
1455
1431
  credentialsRef: z.ZodOptional<z.ZodString>;
1456
1432
  releaseBranch: z.ZodOptional<z.ZodString>;
1457
1433
  tolerateRepublish: z.ZodOptional<z.ZodBoolean>;
1458
1434
  registry: z.ZodLiteral<"go">;
1459
1435
  }, z.core.$strict>, z.ZodObject<{
1460
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
+ */
1461
1441
  credentialsRef: z.ZodOptional<z.ZodString>;
1462
1442
  releaseBranch: z.ZodOptional<z.ZodString>;
1463
1443
  tolerateRepublish: z.ZodOptional<z.ZodBoolean>;
1464
1444
  registry: z.ZodLiteral<"composer">;
1465
1445
  }, z.core.$strict>, z.ZodObject<{
1466
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
+ */
1467
1451
  credentialsRef: z.ZodOptional<z.ZodString>;
1468
1452
  releaseBranch: z.ZodOptional<z.ZodString>;
1469
1453
  tolerateRepublish: z.ZodOptional<z.ZodBoolean>;
1470
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
+ */
1471
1459
  signingCredentialsRef: z.ZodOptional<z.ZodString>;
1472
1460
  }, z.core.$strict>], "registry">>;
1473
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
+ }>>;
1474
1471
  delivery: z.ZodLiteral<"github">;
1475
1472
  github: z.ZodObject<{
1476
1473
  repository: z.ZodString;
@@ -1485,191 +1482,115 @@ declare const outputConfigSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1485
1482
  teams: z.ZodOptional<z.ZodArray<z.ZodString>>;
1486
1483
  users: z.ZodOptional<z.ZodArray<z.ZodString>>;
1487
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
+ */
1488
1489
  credentialsRef: z.ZodOptional<z.ZodString>;
1489
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>;
1490
1501
  }, z.core.$strict>;
1491
1502
  publish: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
1492
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
+ */
1493
1508
  credentialsRef: z.ZodOptional<z.ZodString>;
1494
1509
  releaseBranch: z.ZodOptional<z.ZodString>;
1495
1510
  tolerateRepublish: z.ZodOptional<z.ZodBoolean>;
1496
1511
  registry: z.ZodLiteral<"npm">;
1497
1512
  }, z.core.$strict>, z.ZodObject<{
1498
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
+ */
1499
1518
  credentialsRef: z.ZodOptional<z.ZodString>;
1500
1519
  releaseBranch: z.ZodOptional<z.ZodString>;
1501
1520
  tolerateRepublish: z.ZodOptional<z.ZodBoolean>;
1502
1521
  registry: z.ZodLiteral<"pypi">;
1503
1522
  }, z.core.$strict>, z.ZodObject<{
1504
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
+ */
1505
1528
  credentialsRef: z.ZodOptional<z.ZodString>;
1506
1529
  releaseBranch: z.ZodOptional<z.ZodString>;
1507
1530
  tolerateRepublish: z.ZodOptional<z.ZodBoolean>;
1508
1531
  registry: z.ZodLiteral<"nuget">;
1509
1532
  }, z.core.$strict>, z.ZodObject<{
1510
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
+ */
1511
1538
  credentialsRef: z.ZodOptional<z.ZodString>;
1512
1539
  releaseBranch: z.ZodOptional<z.ZodString>;
1513
1540
  tolerateRepublish: z.ZodOptional<z.ZodBoolean>;
1514
1541
  registry: z.ZodLiteral<"rubygems">;
1515
1542
  }, z.core.$strict>, z.ZodObject<{
1516
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
+ */
1517
1548
  credentialsRef: z.ZodOptional<z.ZodString>;
1518
1549
  releaseBranch: z.ZodOptional<z.ZodString>;
1519
1550
  tolerateRepublish: z.ZodOptional<z.ZodBoolean>;
1520
1551
  registry: z.ZodLiteral<"crates">;
1521
1552
  }, z.core.$strict>, z.ZodObject<{
1522
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
+ */
1523
1558
  credentialsRef: z.ZodOptional<z.ZodString>;
1524
1559
  releaseBranch: z.ZodOptional<z.ZodString>;
1525
1560
  tolerateRepublish: z.ZodOptional<z.ZodBoolean>;
1526
1561
  registry: z.ZodLiteral<"go">;
1527
1562
  }, z.core.$strict>, z.ZodObject<{
1528
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
+ */
1529
1568
  credentialsRef: z.ZodOptional<z.ZodString>;
1530
1569
  releaseBranch: z.ZodOptional<z.ZodString>;
1531
1570
  tolerateRepublish: z.ZodOptional<z.ZodBoolean>;
1532
1571
  registry: z.ZodLiteral<"composer">;
1533
1572
  }, z.core.$strict>, z.ZodObject<{
1534
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
+ */
1535
1578
  credentialsRef: z.ZodOptional<z.ZodString>;
1536
1579
  releaseBranch: z.ZodOptional<z.ZodString>;
1537
1580
  tolerateRepublish: z.ZodOptional<z.ZodBoolean>;
1538
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
+ */
1539
1586
  signingCredentialsRef: z.ZodOptional<z.ZodString>;
1540
1587
  }, z.core.$strict>], "registry">>;
1541
1588
  }, z.core.$strict>], "delivery">;
1589
+ type CredentialResolution = z.infer<typeof credentialResolutionSchema>;
1542
1590
  type PublishRegistry = z.infer<typeof publishRegistrySchema>;
1543
1591
  type PublishConfig = z.infer<typeof publishConfigSchema>;
1544
1592
  type OutputConfig = z.infer<typeof outputConfigSchema>;
1545
1593
 
1546
- declare const goModulePathSchema: z.ZodString;
1547
- declare const composerPackageNameSchema: z.ZodString;
1548
- declare const dependencySchema: z.ZodObject<{
1549
- name: z.ZodString;
1550
- version: z.ZodOptional<z.ZodString>;
1551
- source: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
1552
- type: z.ZodLiteral<"registry">;
1553
- registry: z.ZodOptional<z.ZodString>;
1554
- }, z.core.$strict>, z.ZodObject<{
1555
- type: z.ZodLiteral<"git">;
1556
- url: z.ZodString;
1557
- ref: z.ZodOptional<z.ZodString>;
1558
- subdirectory: z.ZodOptional<z.ZodString>;
1559
- }, z.core.$strict>, z.ZodObject<{
1560
- type: z.ZodLiteral<"path">;
1561
- path: z.ZodString;
1562
- }, z.core.$strict>], "type">>;
1563
- packageName: z.ZodOptional<z.ZodString>;
1564
- features: z.ZodOptional<z.ZodArray<z.ZodString>>;
1565
- extras: z.ZodOptional<z.ZodArray<z.ZodString>>;
1566
- optional: z.ZodOptional<z.ZodBoolean>;
1567
- defaultFeatures: z.ZodOptional<z.ZodBoolean>;
1568
- environmentMarker: z.ZodOptional<z.ZodString>;
1569
- }, z.core.$strict>;
1570
- declare const packageConfigSchema: z.ZodObject<{
1571
- packageName: z.ZodOptional<z.ZodString>;
1572
- moduleName: z.ZodOptional<z.ZodString>;
1573
- modulePath: z.ZodOptional<z.ZodString>;
1574
- namespace: z.ZodOptional<z.ZodString>;
1575
- groupId: z.ZodOptional<z.ZodString>;
1576
- artifactId: z.ZodOptional<z.ZodString>;
1577
- description: z.ZodOptional<z.ZodString>;
1578
- repository: z.ZodOptional<z.ZodString>;
1579
- homepage: z.ZodOptional<z.ZodString>;
1580
- documentationUrl: z.ZodOptional<z.ZodString>;
1581
- authors: z.ZodOptional<z.ZodArray<z.ZodObject<{
1582
- name: z.ZodString;
1583
- email: z.ZodOptional<z.ZodEmail>;
1584
- }, z.core.$strict>>>;
1585
- developers: z.ZodOptional<z.ZodArray<z.ZodObject<{
1586
- name: z.ZodString;
1587
- email: z.ZodOptional<z.ZodEmail>;
1588
- organization: z.ZodOptional<z.ZodString>;
1589
- organizationUrl: z.ZodOptional<z.ZodString>;
1590
- }, z.core.$strict>>>;
1591
- license: z.ZodOptional<z.ZodObject<{
1592
- type: z.ZodString;
1593
- name: z.ZodOptional<z.ZodString>;
1594
- url: z.ZodOptional<z.ZodString>;
1595
- path: z.ZodOptional<z.ZodString>;
1596
- }, z.core.$strict>>;
1597
- keywords: z.ZodOptional<z.ZodArray<z.ZodString>>;
1598
- classifiers: z.ZodOptional<z.ZodArray<z.ZodString>>;
1599
- projectUrls: z.ZodOptional<z.ZodArray<z.ZodObject<{
1600
- label: z.ZodString;
1601
- url: z.ZodString;
1602
- }, z.core.$strict>>>;
1603
- extraDependencies: z.ZodOptional<z.ZodArray<z.ZodObject<{
1604
- name: z.ZodString;
1605
- version: z.ZodOptional<z.ZodString>;
1606
- source: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
1607
- type: z.ZodLiteral<"registry">;
1608
- registry: z.ZodOptional<z.ZodString>;
1609
- }, z.core.$strict>, z.ZodObject<{
1610
- type: z.ZodLiteral<"git">;
1611
- url: z.ZodString;
1612
- ref: z.ZodOptional<z.ZodString>;
1613
- subdirectory: z.ZodOptional<z.ZodString>;
1614
- }, z.core.$strict>, z.ZodObject<{
1615
- type: z.ZodLiteral<"path">;
1616
- path: z.ZodString;
1617
- }, z.core.$strict>], "type">>;
1618
- packageName: z.ZodOptional<z.ZodString>;
1619
- features: z.ZodOptional<z.ZodArray<z.ZodString>>;
1620
- extras: z.ZodOptional<z.ZodArray<z.ZodString>>;
1621
- optional: z.ZodOptional<z.ZodBoolean>;
1622
- defaultFeatures: z.ZodOptional<z.ZodBoolean>;
1623
- environmentMarker: z.ZodOptional<z.ZodString>;
1624
- }, z.core.$strict>>>;
1625
- extraDevDependencies: z.ZodOptional<z.ZodArray<z.ZodObject<{
1626
- name: z.ZodString;
1627
- version: z.ZodOptional<z.ZodString>;
1628
- source: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
1629
- type: z.ZodLiteral<"registry">;
1630
- registry: z.ZodOptional<z.ZodString>;
1631
- }, z.core.$strict>, z.ZodObject<{
1632
- type: z.ZodLiteral<"git">;
1633
- url: z.ZodString;
1634
- ref: z.ZodOptional<z.ZodString>;
1635
- subdirectory: z.ZodOptional<z.ZodString>;
1636
- }, z.core.$strict>, z.ZodObject<{
1637
- type: z.ZodLiteral<"path">;
1638
- path: z.ZodString;
1639
- }, z.core.$strict>], "type">>;
1640
- packageName: z.ZodOptional<z.ZodString>;
1641
- features: z.ZodOptional<z.ZodArray<z.ZodString>>;
1642
- extras: z.ZodOptional<z.ZodArray<z.ZodString>>;
1643
- optional: z.ZodOptional<z.ZodBoolean>;
1644
- defaultFeatures: z.ZodOptional<z.ZodBoolean>;
1645
- environmentMarker: z.ZodOptional<z.ZodString>;
1646
- }, z.core.$strict>>>;
1647
- extraPeerDependencies: z.ZodOptional<z.ZodArray<z.ZodObject<{
1648
- name: z.ZodString;
1649
- version: z.ZodOptional<z.ZodString>;
1650
- source: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
1651
- type: z.ZodLiteral<"registry">;
1652
- registry: z.ZodOptional<z.ZodString>;
1653
- }, z.core.$strict>, z.ZodObject<{
1654
- type: z.ZodLiteral<"git">;
1655
- url: z.ZodString;
1656
- ref: z.ZodOptional<z.ZodString>;
1657
- subdirectory: z.ZodOptional<z.ZodString>;
1658
- }, z.core.$strict>, z.ZodObject<{
1659
- type: z.ZodLiteral<"path">;
1660
- path: z.ZodString;
1661
- }, z.core.$strict>], "type">>;
1662
- packageName: z.ZodOptional<z.ZodString>;
1663
- features: z.ZodOptional<z.ZodArray<z.ZodString>>;
1664
- extras: z.ZodOptional<z.ZodArray<z.ZodString>>;
1665
- optional: z.ZodOptional<z.ZodBoolean>;
1666
- defaultFeatures: z.ZodOptional<z.ZodBoolean>;
1667
- environmentMarker: z.ZodOptional<z.ZodString>;
1668
- }, z.core.$strict>>>;
1669
- }, z.core.$strict>;
1670
- type Dependency = z.infer<typeof dependencySchema>;
1671
- type PackageConfig = z.infer<typeof packageConfigSchema>;
1672
-
1673
1594
  declare const SDK_CONFIG_IR_V1_SCHEMA_VERSION: "sdk-config-ir/v1";
1674
1595
  declare const sdkConfigIrV1Schema: z.ZodObject<{
1675
1596
  schemaVersion: z.ZodLiteral<"sdk-config-ir/v1">;
@@ -1701,6 +1622,12 @@ declare const sdkConfigIrV1Schema: z.ZodObject<{
1701
1622
  objectQueryParameters: z.ZodOptional<z.ZodBoolean>;
1702
1623
  typeDatesAsStrings: z.ZodOptional<z.ZodBoolean>;
1703
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
+ }>>;
1704
1631
  }, z.core.$strict>>;
1705
1632
  overlays: z.ZodOptional<z.ZodArray<z.ZodString>>;
1706
1633
  overrides: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -1720,31 +1647,39 @@ declare const sdkConfigIrV1Schema: z.ZodObject<{
1720
1647
  objectQueryParameters: z.ZodOptional<z.ZodBoolean>;
1721
1648
  typeDatesAsStrings: z.ZodOptional<z.ZodBoolean>;
1722
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
+ }>>;
1723
1656
  }, z.core.$strict>>;
1724
1657
  }, z.core.$strict>;
1725
1658
  target: z.ZodObject<{
1726
1659
  language: z.ZodEnum<{
1660
+ go: "go";
1727
1661
  typescript: "typescript";
1728
1662
  python: "python";
1729
1663
  java: "java";
1730
1664
  kotlin: "kotlin";
1731
- go: "go";
1732
1665
  csharp: "csharp";
1733
1666
  php: "php";
1734
1667
  ruby: "ruby";
1735
1668
  rust: "rust";
1669
+ swift: "swift";
1736
1670
  cli: "cli";
1737
1671
  mcp: "mcp";
1738
- swift: "swift";
1739
1672
  terraform: "terraform";
1740
1673
  }>;
1741
1674
  generatorVersion: z.ZodOptional<z.ZodString>;
1742
1675
  sourceOrigin: z.ZodEnum<{
1743
- fern: "fern";
1744
1676
  postman: "postman";
1677
+ fern: "fern";
1745
1678
  }>;
1746
1679
  sdkName: z.ZodString;
1680
+ apiName: z.ZodOptional<z.ZodString>;
1747
1681
  organization: z.ZodOptional<z.ZodString>;
1682
+ organizationName: z.ZodOptional<z.ZodString>;
1748
1683
  sdkVersion: z.ZodDefault<z.ZodString>;
1749
1684
  apiVersion: z.ZodOptional<z.ZodString>;
1750
1685
  }, z.core.$strict>;
@@ -1880,6 +1815,7 @@ declare const sdkConfigIrV1Schema: z.ZodObject<{
1880
1815
  description: z.ZodOptional<z.ZodString>;
1881
1816
  environmentVariable: z.ZodOptional<z.ZodString>;
1882
1817
  }, z.core.$strict>>>;
1818
+ audiences: z.ZodOptional<z.ZodArray<z.ZodString>>;
1883
1819
  }, z.core.$strict>;
1884
1820
  client: z.ZodObject<{
1885
1821
  retry: z.ZodPrefault<z.ZodObject<{
@@ -1923,6 +1859,7 @@ declare const sdkConfigIrV1Schema: z.ZodObject<{
1923
1859
  "language-default": "language-default";
1924
1860
  }>>;
1925
1861
  useDefaultRequestParameterValues: z.ZodOptional<z.ZodBoolean>;
1862
+ respectOptionalRequestBody: z.ZodOptional<z.ZodBoolean>;
1926
1863
  tokenRefresh: z.ZodOptional<z.ZodObject<{
1927
1864
  enabled: z.ZodBoolean;
1928
1865
  endpoint: z.ZodOptional<z.ZodString>;
@@ -2031,6 +1968,11 @@ declare const sdkConfigIrV1Schema: z.ZodObject<{
2031
1968
  }, z.core.$strict>>>;
2032
1969
  }, z.core.$strict>;
2033
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
+ }>>;
2034
1976
  delivery: z.ZodLiteral<"files">;
2035
1977
  path: z.ZodOptional<z.ZodString>;
2036
1978
  publish: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -2084,6 +2026,11 @@ declare const sdkConfigIrV1Schema: z.ZodObject<{
2084
2026
  signingCredentialsRef: z.ZodOptional<z.ZodString>;
2085
2027
  }, z.core.$strict>], "registry">>;
2086
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
+ }>>;
2087
2034
  delivery: z.ZodLiteral<"zip">;
2088
2035
  fileName: z.ZodOptional<z.ZodString>;
2089
2036
  publish: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -2137,6 +2084,11 @@ declare const sdkConfigIrV1Schema: z.ZodObject<{
2137
2084
  signingCredentialsRef: z.ZodOptional<z.ZodString>;
2138
2085
  }, z.core.$strict>], "registry">>;
2139
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
+ }>>;
2140
2092
  delivery: z.ZodLiteral<"github">;
2141
2093
  github: z.ZodObject<{
2142
2094
  repository: z.ZodString;
@@ -2153,6 +2105,12 @@ declare const sdkConfigIrV1Schema: z.ZodObject<{
2153
2105
  }, z.core.$strict>>;
2154
2106
  credentialsRef: z.ZodOptional<z.ZodString>;
2155
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>;
2156
2114
  }, z.core.$strict>;
2157
2115
  publish: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
2158
2116
  url: z.ZodOptional<z.ZodString>;
@@ -2212,6 +2170,10 @@ declare const sdkConfigIrV1Schema: z.ZodObject<{
2212
2170
  apiReferenceLink: z.ZodOptional<z.ZodString>;
2213
2171
  bannerLink: z.ZodOptional<z.ZodString>;
2214
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>>>;
2215
2177
  defaultEndpoint: z.ZodOptional<z.ZodObject<{
2216
2178
  method: z.ZodEnum<{
2217
2179
  GET: "GET";
@@ -2265,6 +2227,12 @@ declare const sdkConfigIrV1Schema: z.ZodObject<{
2265
2227
  devContainer: z.ZodDefault<z.ZodBoolean>;
2266
2228
  allowMockClient: z.ZodDefault<z.ZodBoolean>;
2267
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>>;
2268
2236
  reservedKeywords: z.ZodOptional<z.ZodArray<z.ZodString>>;
2269
2237
  hooks: z.ZodOptional<z.ZodObject<{
2270
2238
  enabled: z.ZodBoolean;
@@ -2328,6 +2296,20 @@ declare const sdkConfigIrV1Schema: z.ZodObject<{
2328
2296
  enabled: z.ZodBoolean;
2329
2297
  exclusions: z.ZodOptional<z.ZodArray<z.ZodString>>;
2330
2298
  fallbackToGeneratedErrorExamples: z.ZodOptional<z.ZodBoolean>;
2299
+ fixtureSource: z.ZodOptional<z.ZodEnum<{
2300
+ synthetic: "synthetic";
2301
+ recorded: "recorded";
2302
+ auto: "auto";
2303
+ }>>;
2304
+ }, z.core.$strict>>;
2305
+ unitTests: z.ZodOptional<z.ZodObject<{
2306
+ enabled: z.ZodBoolean;
2307
+ mode: z.ZodOptional<z.ZodEnum<{
2308
+ "core-runtime": "core-runtime";
2309
+ "schema-driven": "schema-driven";
2310
+ both: "both";
2311
+ }>>;
2312
+ exclusions: z.ZodOptional<z.ZodArray<z.ZodString>>;
2331
2313
  }, z.core.$strict>>;
2332
2314
  webSockets: z.ZodOptional<z.ZodBoolean>;
2333
2315
  streams: z.ZodOptional<z.ZodObject<{
@@ -2419,9 +2401,9 @@ declare const sdkConfigIrV1Schema: z.ZodObject<{
2419
2401
  pydanticVersion: z.ZodOptional<z.ZodString>;
2420
2402
  pydantic: z.ZodOptional<z.ZodObject<{
2421
2403
  versionCompatibility: z.ZodOptional<z.ZodEnum<{
2404
+ both: "both";
2422
2405
  v1: "v1";
2423
2406
  v2: "v2";
2424
- both: "both";
2425
2407
  "v1-on-v2": "v1-on-v2";
2426
2408
  }>>;
2427
2409
  frozen: z.ZodOptional<z.ZodBoolean>;
@@ -2449,6 +2431,10 @@ declare const sdkConfigIrV1Schema: z.ZodObject<{
2449
2431
  gradleDistributionUrl: z.ZodOptional<z.ZodString>;
2450
2432
  gradlePluginManagement: z.ZodOptional<z.ZodString>;
2451
2433
  gradleCentralDependencyManagement: z.ZodOptional<z.ZodBoolean>;
2434
+ asyncStyle: z.ZodOptional<z.ZodEnum<{
2435
+ "dedicated-client": "dedicated-client";
2436
+ "twin-methods": "twin-methods";
2437
+ }>>;
2452
2438
  includeKotlinSnippets: z.ZodOptional<z.ZodBoolean>;
2453
2439
  }, z.core.$strict>>;
2454
2440
  kotlin: z.ZodOptional<z.ZodObject<{
@@ -2461,9 +2447,15 @@ declare const sdkConfigIrV1Schema: z.ZodObject<{
2461
2447
  gradleDistributionUrl: z.ZodOptional<z.ZodString>;
2462
2448
  gradlePluginManagement: z.ZodOptional<z.ZodString>;
2463
2449
  gradleCentralDependencyManagement: z.ZodOptional<z.ZodBoolean>;
2450
+ asyncStyle: z.ZodOptional<z.ZodEnum<{
2451
+ "dedicated-client": "dedicated-client";
2452
+ "twin-methods": "twin-methods";
2453
+ }>>;
2464
2454
  }, z.core.$strict>>;
2465
2455
  go: z.ZodOptional<z.ZodObject<{
2466
2456
  legacyComplexModels: z.ZodOptional<z.ZodBoolean>;
2457
+ smartCasing: z.ZodOptional<z.ZodBoolean>;
2458
+ clientConstructorName: z.ZodOptional<z.ZodString>;
2467
2459
  unionVersion: z.ZodOptional<z.ZodEnum<{
2468
2460
  v0: "v0";
2469
2461
  v1: "v1";
@@ -2476,6 +2468,7 @@ declare const sdkConfigIrV1Schema: z.ZodObject<{
2476
2468
  explicitNamespaces: z.ZodOptional<z.ZodBoolean>;
2477
2469
  rootNamespaceForCoreClasses: z.ZodOptional<z.ZodBoolean>;
2478
2470
  includeExceptionHandler: z.ZodOptional<z.ZodBoolean>;
2471
+ experimentalExplicitNullableOptional: z.ZodOptional<z.ZodBoolean>;
2479
2472
  }, z.core.$strict>>;
2480
2473
  php: z.ZodOptional<z.ZodObject<{
2481
2474
  propertyAccess: z.ZodOptional<z.ZodEnum<{
@@ -2537,9 +2530,30 @@ declare const sdkConfigIrV1Schema: z.ZodObject<{
2537
2530
  name: z.ZodString;
2538
2531
  command: z.ZodString;
2539
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>>>;
2540
2553
  }, z.core.$strict>>;
2541
2554
  swift: z.ZodOptional<z.ZodObject<{
2542
2555
  moduleName: z.ZodOptional<z.ZodString>;
2556
+ nullableAsOptional: z.ZodOptional<z.ZodBoolean>;
2543
2557
  }, z.core.$strict>>;
2544
2558
  terraform: z.ZodOptional<z.ZodObject<{
2545
2559
  providerName: z.ZodOptional<z.ZodString>;
@@ -2583,8 +2597,8 @@ declare const sdkConfigIrV1Schema: z.ZodObject<{
2583
2597
  }, z.core.$strict>], "kind">>;
2584
2598
  unsupportedFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
2585
2599
  source: z.ZodEnum<{
2586
- fern: "fern";
2587
2600
  postman: "postman";
2601
+ fern: "fern";
2588
2602
  "sdk-config-ir": "sdk-config-ir";
2589
2603
  }>;
2590
2604
  path: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
@@ -2624,6 +2638,12 @@ declare const apiImportSettingsSchema: z.ZodObject<{
2624
2638
  objectQueryParameters: z.ZodOptional<z.ZodBoolean>;
2625
2639
  typeDatesAsStrings: z.ZodOptional<z.ZodBoolean>;
2626
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
+ }>>;
2627
2647
  }, z.core.$strict>;
2628
2648
  declare const sourceSpecTypeSchema: z.ZodEnum<{
2629
2649
  postman: "postman";
@@ -2659,6 +2679,12 @@ declare const sourceSpecConfigSchema: z.ZodObject<{
2659
2679
  objectQueryParameters: z.ZodOptional<z.ZodBoolean>;
2660
2680
  typeDatesAsStrings: z.ZodOptional<z.ZodBoolean>;
2661
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
+ }>>;
2662
2688
  }, z.core.$strict>>;
2663
2689
  overlays: z.ZodOptional<z.ZodArray<z.ZodString>>;
2664
2690
  overrides: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -2691,6 +2717,12 @@ declare const sourceConfigSchema: z.ZodObject<{
2691
2717
  objectQueryParameters: z.ZodOptional<z.ZodBoolean>;
2692
2718
  typeDatesAsStrings: z.ZodOptional<z.ZodBoolean>;
2693
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
+ }>>;
2694
2726
  }, z.core.$strict>>;
2695
2727
  overlays: z.ZodOptional<z.ZodArray<z.ZodString>>;
2696
2728
  overrides: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -2710,6 +2742,12 @@ declare const sourceConfigSchema: z.ZodObject<{
2710
2742
  objectQueryParameters: z.ZodOptional<z.ZodBoolean>;
2711
2743
  typeDatesAsStrings: z.ZodOptional<z.ZodBoolean>;
2712
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
+ }>>;
2713
2751
  }, z.core.$strict>>;
2714
2752
  }, z.core.$strict>;
2715
2753
  type ApiImportSettings = z.infer<typeof apiImportSettingsSchema>;
@@ -2718,47 +2756,59 @@ type SourceSpecConfig = z.infer<typeof sourceSpecConfigSchema>;
2718
2756
  type SourceConfig = z.infer<typeof sourceConfigSchema>;
2719
2757
 
2720
2758
  declare const targetLanguageSchema: z.ZodEnum<{
2759
+ go: "go";
2721
2760
  typescript: "typescript";
2722
2761
  python: "python";
2723
2762
  java: "java";
2724
2763
  kotlin: "kotlin";
2725
- go: "go";
2726
2764
  csharp: "csharp";
2727
2765
  php: "php";
2728
2766
  ruby: "ruby";
2729
2767
  rust: "rust";
2768
+ swift: "swift";
2730
2769
  cli: "cli";
2731
2770
  mcp: "mcp";
2732
- swift: "swift";
2733
2771
  terraform: "terraform";
2734
2772
  }>;
2735
2773
  declare const targetConfigSchema: z.ZodObject<{
2736
2774
  language: z.ZodEnum<{
2775
+ go: "go";
2737
2776
  typescript: "typescript";
2738
2777
  python: "python";
2739
2778
  java: "java";
2740
2779
  kotlin: "kotlin";
2741
- go: "go";
2742
2780
  csharp: "csharp";
2743
2781
  php: "php";
2744
2782
  ruby: "ruby";
2745
2783
  rust: "rust";
2784
+ swift: "swift";
2746
2785
  cli: "cli";
2747
2786
  mcp: "mcp";
2748
- swift: "swift";
2749
2787
  terraform: "terraform";
2750
2788
  }>;
2751
2789
  generatorVersion: z.ZodOptional<z.ZodString>;
2752
2790
  sourceOrigin: z.ZodEnum<{
2753
- fern: "fern";
2754
2791
  postman: "postman";
2792
+ fern: "fern";
2755
2793
  }>;
2756
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>;
2757
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>;
2758
2808
  sdkVersion: z.ZodDefault<z.ZodString>;
2759
2809
  apiVersion: z.ZodOptional<z.ZodString>;
2760
2810
  }, z.core.$strict>;
2761
2811
  type TargetLanguage = z.infer<typeof targetLanguageSchema>;
2762
2812
  type TargetConfig = z.infer<typeof targetConfigSchema>;
2763
2813
 
2764
- export { type ApiConfig, type ApiConfigInput, type ApiImportSettings, type AuthConfig, type AuthScheme, type CliGenerationConfig, type ClientConfig, type ClientConfigInput, type CompatibilityConfig, type CsharpGenerationConfig, type Dependency, type DocsConfig, type GenerationConfig, type GoGenerationConfig, type JavaGenerationConfig, type JsonObject, type JsonValue, type KotlinGenerationConfig, type LanguageGenerationConfig, type LegacyInput, type McpGenerationConfig, type OutputConfig, type PackageConfig, type PhpGenerationConfig, type PlanModifiers, type PublishConfig, type PublishRegistry, type PythonGenerationConfig, type ReadmeEndpoint, type RubyGenerationConfig, type RustGenerationConfig, SDK_CONFIG_IR_V1_SCHEMA_VERSION, type SdkConfigIrV1, type SdkConfigIrV1Input, type SourceConfig, type SourceSpecConfig, type SourceSpecType, type SwiftGenerationConfig, type TargetConfig, type TargetLanguage, type TerraformGenerationConfig, type TypescriptGenerationConfig, type UnsupportedField, apiConfigSchema, apiImportSettingsSchema, authConfigSchema, authSchemeSchema, cliGenerationConfigSchema, clientConfigSchema, compatibilityConfigSchema, composerPackageNameSchema, csharpGenerationConfigSchema, dependencySchema, docsConfigSchema, exactSemverSchema, generationConfigSchema, goGenerationConfigSchema, goModulePathSchema, javaGenerationConfigSchema, jsonObjectSchema, jsonValueSchema, kotlinGenerationConfigSchema, languageGenerationConfigSchema, legacyInputSchema, mcpGenerationConfigSchema, nonEmptyStringSchema, outputConfigSchema, packageConfigSchema, parseSdkConfigIrV1, phpGenerationConfigSchema, publishConfigSchema, publishRegistrySchema, pythonGenerationConfigSchema, readmeEndpointSchema, rubyGenerationConfigSchema, rustGenerationConfigSchema, sdkConfigIrV1Schema, sourceConfigSchema, sourceSpecConfigSchema, sourceSpecTypeSchema, swiftGenerationConfigSchema, targetConfigSchema, targetLanguageSchema, terraformGenerationConfigSchema, typescriptGenerationConfigSchema, unsupportedFieldSchema };
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 };