@postman/sdk-config 0.0.2 → 0.0.4

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.
@@ -213,9 +213,8 @@ declare const authConfigSchema: z.ZodObject<{
213
213
  endpointSecurity: z.ZodOptional<z.ZodBoolean>;
214
214
  }, z.core.$strict>;
215
215
  declare const apiConfigSchema: z.ZodObject<{
216
- baseUrl: z.ZodOptional<z.ZodString>;
217
- defaultEnvironment: z.ZodOptional<z.ZodString>;
218
- environments: z.ZodOptional<z.ZodArray<z.ZodObject<{
216
+ baseUrl: z.ZodDefault<z.ZodString>;
217
+ environments: z.ZodDefault<z.ZodArray<z.ZodObject<{
219
218
  name: z.ZodString;
220
219
  urls: z.ZodArray<z.ZodObject<{
221
220
  name: z.ZodString;
@@ -224,6 +223,12 @@ declare const apiConfigSchema: z.ZodObject<{
224
223
  }, z.core.$strict>>;
225
224
  description: z.ZodOptional<z.ZodString>;
226
225
  }, z.core.$strict>>>;
226
+ environmentVariables: z.ZodDefault<z.ZodArray<z.ZodObject<{
227
+ name: z.ZodString;
228
+ description: z.ZodOptional<z.ZodString>;
229
+ defaultValue: z.ZodOptional<z.ZodString>;
230
+ }, z.core.$strict>>>;
231
+ defaultEnvironment: z.ZodOptional<z.ZodString>;
227
232
  auth: z.ZodOptional<z.ZodObject<{
228
233
  schemes: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
229
234
  id: z.ZodString;
@@ -339,34 +344,38 @@ declare const apiConfigSchema: z.ZodObject<{
339
344
  description: z.ZodOptional<z.ZodString>;
340
345
  environmentVariable: z.ZodOptional<z.ZodString>;
341
346
  }, z.core.$strict>>>;
342
- environmentVariables: z.ZodOptional<z.ZodArray<z.ZodObject<{
343
- name: z.ZodString;
344
- description: z.ZodOptional<z.ZodString>;
345
- defaultValue: z.ZodOptional<z.ZodString>;
346
- }, z.core.$strict>>>;
347
347
  }, z.core.$strict>;
348
348
  type AuthScheme = z.infer<typeof authSchemeSchema>;
349
349
  type AuthConfig = z.infer<typeof authConfigSchema>;
350
- type ApiConfig = z.infer<typeof apiConfigSchema>;
350
+ type ApiConfigInput = z.input<typeof apiConfigSchema>;
351
+ type ApiConfig = z.output<typeof apiConfigSchema>;
351
352
 
352
353
  declare const clientConfigSchema: z.ZodObject<{
353
- retry: z.ZodOptional<z.ZodObject<{
354
- enabled: z.ZodBoolean;
355
- maxAttempts: z.ZodOptional<z.ZodNumber>;
356
- retryDelayMs: z.ZodOptional<z.ZodNumber>;
357
- maxDelayMs: z.ZodOptional<z.ZodNumber>;
358
- jitterMs: z.ZodOptional<z.ZodNumber>;
359
- backoffFactor: z.ZodOptional<z.ZodNumber>;
354
+ retry: z.ZodPrefault<z.ZodObject<{
355
+ enabled: z.ZodDefault<z.ZodBoolean>;
356
+ maxAttempts: z.ZodDefault<z.ZodNumber>;
357
+ retryDelayMs: z.ZodDefault<z.ZodNumber>;
358
+ maxDelayMs: z.ZodDefault<z.ZodNumber>;
359
+ jitterMs: z.ZodDefault<z.ZodNumber>;
360
+ backoffFactor: z.ZodDefault<z.ZodNumber>;
360
361
  statusCodes: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
361
- methods: z.ZodOptional<z.ZodArray<z.ZodString>>;
362
+ methods: z.ZodDefault<z.ZodArray<z.ZodString>>;
362
363
  statusCodeProfile: z.ZodOptional<z.ZodEnum<{
363
364
  legacy: "legacy";
364
365
  recommended: "recommended";
365
366
  }>>;
367
+ maxRetryAfterDelayMs: z.ZodDefault<z.ZodNumber>;
366
368
  }, z.core.$strict>>;
367
- timeoutMs: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"infinity">]>>;
368
- responseHeaders: z.ZodOptional<z.ZodBoolean>;
369
+ responseHeaders: z.ZodDefault<z.ZodBoolean>;
369
370
  responseValidation: z.ZodOptional<z.ZodBoolean>;
371
+ multiTenant: z.ZodDefault<z.ZodBoolean>;
372
+ additionalConstructorParameters: z.ZodDefault<z.ZodArray<z.ZodObject<{
373
+ name: z.ZodString;
374
+ example: z.ZodOptional<z.ZodString>;
375
+ description: z.ZodOptional<z.ZodString>;
376
+ required: z.ZodOptional<z.ZodBoolean>;
377
+ }, z.core.$strict>>>;
378
+ timeoutMs: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"infinity">]>>;
370
379
  requestParameterStyle: z.ZodOptional<z.ZodEnum<{
371
380
  wrapped: "wrapped";
372
381
  inline: "inline";
@@ -383,21 +392,15 @@ declare const clientConfigSchema: z.ZodObject<{
383
392
  "language-default": "language-default";
384
393
  }>>;
385
394
  useDefaultRequestParameterValues: z.ZodOptional<z.ZodBoolean>;
386
- additionalConstructorParameters: z.ZodOptional<z.ZodArray<z.ZodObject<{
387
- name: z.ZodString;
388
- example: z.ZodOptional<z.ZodString>;
389
- description: z.ZodOptional<z.ZodString>;
390
- required: z.ZodOptional<z.ZodBoolean>;
391
- }, z.core.$strict>>>;
392
395
  tokenRefresh: z.ZodOptional<z.ZodObject<{
393
396
  enabled: z.ZodBoolean;
394
397
  endpoint: z.ZodOptional<z.ZodString>;
395
398
  accessTokenField: z.ZodOptional<z.ZodString>;
396
399
  refreshTokenField: z.ZodOptional<z.ZodString>;
397
400
  }, z.core.$strict>>;
398
- multiTenant: z.ZodOptional<z.ZodBoolean>;
399
401
  }, z.core.$strict>;
400
- type ClientConfig = z.infer<typeof clientConfigSchema>;
402
+ type ClientConfigInput = z.input<typeof clientConfigSchema>;
403
+ type ClientConfig = z.output<typeof clientConfigSchema>;
401
404
 
402
405
  declare const nonEmptyStringSchema: z.ZodString;
403
406
  declare const exactSemverSchema: z.ZodString;
@@ -482,8 +485,8 @@ declare const readmeEndpointSchema: z.ZodObject<{
482
485
  GET: "GET";
483
486
  POST: "POST";
484
487
  PUT: "PUT";
485
- PATCH: "PATCH";
486
488
  DELETE: "DELETE";
489
+ PATCH: "PATCH";
487
490
  HEAD: "HEAD";
488
491
  OPTIONS: "OPTIONS";
489
492
  TRACE: "TRACE";
@@ -504,8 +507,8 @@ declare const docsConfigSchema: z.ZodObject<{
504
507
  GET: "GET";
505
508
  POST: "POST";
506
509
  PUT: "PUT";
507
- PATCH: "PATCH";
508
510
  DELETE: "DELETE";
511
+ PATCH: "PATCH";
509
512
  HEAD: "HEAD";
510
513
  OPTIONS: "OPTIONS";
511
514
  TRACE: "TRACE";
@@ -519,8 +522,8 @@ declare const docsConfigSchema: z.ZodObject<{
519
522
  GET: "GET";
520
523
  POST: "POST";
521
524
  PUT: "PUT";
522
- PATCH: "PATCH";
523
525
  DELETE: "DELETE";
526
+ PATCH: "PATCH";
524
527
  HEAD: "HEAD";
525
528
  OPTIONS: "OPTIONS";
526
529
  TRACE: "TRACE";
@@ -669,16 +672,84 @@ declare const languageGenerationConfigSchema: z.ZodObject<{
669
672
  paginationParameters: z.ZodOptional<z.ZodArray<z.ZodString>>;
670
673
  skills: z.ZodOptional<z.ZodBoolean>;
671
674
  }, z.core.$strict>>;
675
+ mcp: z.ZodOptional<z.ZodObject<{
676
+ typescriptVersion: z.ZodOptional<z.ZodString>;
677
+ zodVersion: z.ZodOptional<z.ZodString>;
678
+ compilerOptions: z.ZodOptional<z.ZodObject<{
679
+ target: z.ZodOptional<z.ZodString>;
680
+ module: z.ZodOptional<z.ZodString>;
681
+ lib: z.ZodOptional<z.ZodArray<z.ZodString>>;
682
+ }, z.core.$strict>>;
683
+ httpClient: z.ZodOptional<z.ZodObject<{
684
+ name: z.ZodEnum<{
685
+ axios: "axios";
686
+ fetch: "fetch";
687
+ }>;
688
+ }, z.core.$strict>>;
689
+ packageManager: z.ZodOptional<z.ZodEnum<{
690
+ pnpm: "pnpm";
691
+ yarn: "yarn";
692
+ }>>;
693
+ testFramework: z.ZodOptional<z.ZodEnum<{
694
+ jest: "jest";
695
+ vitest: "vitest";
696
+ }>>;
697
+ namingStrategy: z.ZodOptional<z.ZodEnum<{
698
+ base: "base";
699
+ originalPropertyNames: "originalPropertyNames";
700
+ }>>;
701
+ bundle: z.ZodOptional<z.ZodBoolean>;
702
+ exportClassDefault: z.ZodOptional<z.ZodBoolean>;
703
+ allowCustomFetcher: z.ZodOptional<z.ZodBoolean>;
704
+ useBrandedStringAliases: z.ZodOptional<z.ZodBoolean>;
705
+ useLegacyExports: z.ZodOptional<z.ZodBoolean>;
706
+ useBigInt: z.ZodOptional<z.ZodBoolean>;
707
+ serdeLayer: z.ZodOptional<z.ZodBoolean>;
708
+ scripts: z.ZodOptional<z.ZodArray<z.ZodObject<{
709
+ name: z.ZodString;
710
+ command: z.ZodString;
711
+ }, z.core.$strict>>>;
712
+ }, z.core.$strict>>;
713
+ swift: z.ZodOptional<z.ZodObject<{
714
+ moduleName: z.ZodOptional<z.ZodString>;
715
+ }, z.core.$strict>>;
716
+ terraform: z.ZodOptional<z.ZodObject<{
717
+ providerName: z.ZodOptional<z.ZodString>;
718
+ providerVersion: z.ZodOptional<z.ZodString>;
719
+ providerModulePath: z.ZodOptional<z.ZodString>;
720
+ mockAcceptance: z.ZodOptional<z.ZodBoolean>;
721
+ hideComputedDiff: z.ZodOptional<z.ZodBoolean>;
722
+ providerSchema: z.ZodOptional<z.ZodObject<{
723
+ addressKey: z.ZodString;
724
+ authTokenKey: z.ZodString;
725
+ }, z.core.$strict>>;
726
+ planModifiers: z.ZodOptional<z.ZodObject<{
727
+ resources: z.ZodDiscriminatedUnion<[z.ZodObject<{
728
+ enabled: z.ZodLiteral<true>;
729
+ sourceDir: z.ZodString;
730
+ }, z.core.$strict>, z.ZodObject<{
731
+ enabled: z.ZodLiteral<false>;
732
+ }, z.core.$strict>], "enabled">;
733
+ attributes: z.ZodDiscriminatedUnion<[z.ZodObject<{
734
+ enabled: z.ZodLiteral<true>;
735
+ sourceDir: z.ZodString;
736
+ }, z.core.$strict>, z.ZodObject<{
737
+ enabled: z.ZodLiteral<false>;
738
+ }, z.core.$strict>], "enabled">;
739
+ }, z.core.$strict>>;
740
+ }, z.core.$strict>>;
672
741
  }, z.core.$strict>;
673
742
  declare const generationConfigSchema: z.ZodObject<{
674
- includeWatermark: z.ZodOptional<z.ZodBoolean>;
743
+ includeWatermark: z.ZodDefault<z.ZodBoolean>;
744
+ /** Emits an AI service into the generated SDK. Python, Java and TypeScript honour it. */
745
+ ai: z.ZodDefault<z.ZodBoolean>;
675
746
  includeOptionalSnippetParameters: z.ZodOptional<z.ZodBoolean>;
676
- buildAllModels: z.ZodOptional<z.ZodBoolean>;
677
- inferServiceNames: z.ZodOptional<z.ZodBoolean>;
678
- includeDeprecatedOperations: z.ZodOptional<z.ZodBoolean>;
679
- multipleResponses: z.ZodOptional<z.ZodBoolean>;
680
- devContainer: z.ZodOptional<z.ZodBoolean>;
681
- allowMockClient: z.ZodOptional<z.ZodBoolean>;
747
+ buildAllModels: z.ZodDefault<z.ZodBoolean>;
748
+ inferServiceNames: z.ZodDefault<z.ZodBoolean>;
749
+ includeDeprecatedOperations: z.ZodDefault<z.ZodBoolean>;
750
+ multipleResponses: z.ZodDefault<z.ZodBoolean>;
751
+ devContainer: z.ZodDefault<z.ZodBoolean>;
752
+ allowMockClient: z.ZodDefault<z.ZodBoolean>;
682
753
  ignoreFiles: z.ZodOptional<z.ZodArray<z.ZodString>>;
683
754
  reservedKeywords: z.ZodOptional<z.ZodArray<z.ZodString>>;
684
755
  hooks: z.ZodOptional<z.ZodObject<{
@@ -743,6 +814,20 @@ declare const generationConfigSchema: z.ZodObject<{
743
814
  enabled: z.ZodBoolean;
744
815
  exclusions: z.ZodOptional<z.ZodArray<z.ZodString>>;
745
816
  fallbackToGeneratedErrorExamples: z.ZodOptional<z.ZodBoolean>;
817
+ fixtureSource: z.ZodOptional<z.ZodEnum<{
818
+ synthetic: "synthetic";
819
+ recorded: "recorded";
820
+ auto: "auto";
821
+ }>>;
822
+ }, z.core.$strict>>;
823
+ unitTests: z.ZodOptional<z.ZodObject<{
824
+ enabled: z.ZodBoolean;
825
+ mode: z.ZodOptional<z.ZodEnum<{
826
+ both: "both";
827
+ "core-runtime": "core-runtime";
828
+ "schema-driven": "schema-driven";
829
+ }>>;
830
+ exclusions: z.ZodOptional<z.ZodArray<z.ZodString>>;
746
831
  }, z.core.$strict>>;
747
832
  webSockets: z.ZodOptional<z.ZodBoolean>;
748
833
  streams: z.ZodOptional<z.ZodObject<{
@@ -915,6 +1000,72 @@ declare const generationConfigSchema: z.ZodObject<{
915
1000
  paginationParameters: z.ZodOptional<z.ZodArray<z.ZodString>>;
916
1001
  skills: z.ZodOptional<z.ZodBoolean>;
917
1002
  }, z.core.$strict>>;
1003
+ mcp: z.ZodOptional<z.ZodObject<{
1004
+ typescriptVersion: z.ZodOptional<z.ZodString>;
1005
+ zodVersion: z.ZodOptional<z.ZodString>;
1006
+ compilerOptions: z.ZodOptional<z.ZodObject<{
1007
+ target: z.ZodOptional<z.ZodString>;
1008
+ module: z.ZodOptional<z.ZodString>;
1009
+ lib: z.ZodOptional<z.ZodArray<z.ZodString>>;
1010
+ }, z.core.$strict>>;
1011
+ httpClient: z.ZodOptional<z.ZodObject<{
1012
+ name: z.ZodEnum<{
1013
+ axios: "axios";
1014
+ fetch: "fetch";
1015
+ }>;
1016
+ }, z.core.$strict>>;
1017
+ packageManager: z.ZodOptional<z.ZodEnum<{
1018
+ pnpm: "pnpm";
1019
+ yarn: "yarn";
1020
+ }>>;
1021
+ testFramework: z.ZodOptional<z.ZodEnum<{
1022
+ jest: "jest";
1023
+ vitest: "vitest";
1024
+ }>>;
1025
+ namingStrategy: z.ZodOptional<z.ZodEnum<{
1026
+ base: "base";
1027
+ originalPropertyNames: "originalPropertyNames";
1028
+ }>>;
1029
+ bundle: z.ZodOptional<z.ZodBoolean>;
1030
+ exportClassDefault: z.ZodOptional<z.ZodBoolean>;
1031
+ allowCustomFetcher: z.ZodOptional<z.ZodBoolean>;
1032
+ useBrandedStringAliases: z.ZodOptional<z.ZodBoolean>;
1033
+ useLegacyExports: z.ZodOptional<z.ZodBoolean>;
1034
+ useBigInt: z.ZodOptional<z.ZodBoolean>;
1035
+ serdeLayer: z.ZodOptional<z.ZodBoolean>;
1036
+ scripts: z.ZodOptional<z.ZodArray<z.ZodObject<{
1037
+ name: z.ZodString;
1038
+ command: z.ZodString;
1039
+ }, z.core.$strict>>>;
1040
+ }, z.core.$strict>>;
1041
+ swift: z.ZodOptional<z.ZodObject<{
1042
+ moduleName: z.ZodOptional<z.ZodString>;
1043
+ }, z.core.$strict>>;
1044
+ terraform: z.ZodOptional<z.ZodObject<{
1045
+ providerName: z.ZodOptional<z.ZodString>;
1046
+ providerVersion: z.ZodOptional<z.ZodString>;
1047
+ providerModulePath: z.ZodOptional<z.ZodString>;
1048
+ mockAcceptance: z.ZodOptional<z.ZodBoolean>;
1049
+ hideComputedDiff: z.ZodOptional<z.ZodBoolean>;
1050
+ providerSchema: z.ZodOptional<z.ZodObject<{
1051
+ addressKey: z.ZodString;
1052
+ authTokenKey: z.ZodString;
1053
+ }, z.core.$strict>>;
1054
+ planModifiers: z.ZodOptional<z.ZodObject<{
1055
+ resources: z.ZodDiscriminatedUnion<[z.ZodObject<{
1056
+ enabled: z.ZodLiteral<true>;
1057
+ sourceDir: z.ZodString;
1058
+ }, z.core.$strict>, z.ZodObject<{
1059
+ enabled: z.ZodLiteral<false>;
1060
+ }, z.core.$strict>], "enabled">;
1061
+ attributes: z.ZodDiscriminatedUnion<[z.ZodObject<{
1062
+ enabled: z.ZodLiteral<true>;
1063
+ sourceDir: z.ZodString;
1064
+ }, z.core.$strict>, z.ZodObject<{
1065
+ enabled: z.ZodLiteral<false>;
1066
+ }, z.core.$strict>], "enabled">;
1067
+ }, z.core.$strict>>;
1068
+ }, z.core.$strict>>;
918
1069
  }, z.core.$strict>>;
919
1070
  }, z.core.$strict>;
920
1071
  type LanguageGenerationConfig = z.infer<typeof languageGenerationConfigSchema>;
@@ -976,6 +1127,46 @@ declare const kotlinGenerationConfigSchema: z.ZodObject<{
976
1127
  }, z.core.$strict>;
977
1128
  type KotlinGenerationConfig = z.infer<typeof kotlinGenerationConfigSchema>;
978
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
+
979
1170
  declare const phpGenerationConfigSchema: z.ZodObject<{
980
1171
  propertyAccess: z.ZodOptional<z.ZodEnum<{
981
1172
  public: "public";
@@ -1022,16 +1213,70 @@ type RubyGenerationConfig = z.infer<typeof rubyGenerationConfigSchema>;
1022
1213
  * behavior with no cross-language equivalent lives here.
1023
1214
  */
1024
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
+ */
1025
1220
  dateTimeType: z.ZodOptional<z.ZodEnum<{
1026
1221
  offset: "offset";
1027
1222
  utc: "utc";
1028
1223
  }>>;
1224
+ /** Uppercase common initialisms in generated names (`UserID` rather than `UserId`). */
1029
1225
  capitalizeInitialisms: z.ZodOptional<z.ZodBoolean>;
1226
+ /** Cargo features, mapping a feature name to the dependencies or features it enables. */
1030
1227
  features: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>>;
1228
+ /** Overrides which features make up Cargo's `default` feature set. */
1031
1229
  defaultFeatures: z.ZodOptional<z.ZodArray<z.ZodString>>;
1032
1230
  }, z.core.$strict>;
1033
1231
  type RustGenerationConfig = z.infer<typeof rustGenerationConfigSchema>;
1034
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
+
1035
1280
  declare const typescriptGenerationConfigSchema: z.ZodObject<{
1036
1281
  typescriptVersion: z.ZodOptional<z.ZodString>;
1037
1282
  zodVersion: z.ZodOptional<z.ZodString>;
@@ -1503,7 +1748,9 @@ declare const sdkConfigIrV1Schema: z.ZodObject<{
1503
1748
  ruby: "ruby";
1504
1749
  rust: "rust";
1505
1750
  cli: "cli";
1751
+ mcp: "mcp";
1506
1752
  swift: "swift";
1753
+ terraform: "terraform";
1507
1754
  }>;
1508
1755
  generatorVersion: z.ZodOptional<z.ZodString>;
1509
1756
  sourceOrigin: z.ZodEnum<{
@@ -1512,13 +1759,12 @@ declare const sdkConfigIrV1Schema: z.ZodObject<{
1512
1759
  }>;
1513
1760
  sdkName: z.ZodString;
1514
1761
  organization: z.ZodOptional<z.ZodString>;
1515
- sdkVersion: z.ZodOptional<z.ZodString>;
1762
+ sdkVersion: z.ZodDefault<z.ZodString>;
1516
1763
  apiVersion: z.ZodOptional<z.ZodString>;
1517
1764
  }, z.core.$strict>;
1518
1765
  api: z.ZodObject<{
1519
- baseUrl: z.ZodOptional<z.ZodString>;
1520
- defaultEnvironment: z.ZodOptional<z.ZodString>;
1521
- environments: z.ZodOptional<z.ZodArray<z.ZodObject<{
1766
+ baseUrl: z.ZodDefault<z.ZodString>;
1767
+ environments: z.ZodDefault<z.ZodArray<z.ZodObject<{
1522
1768
  name: z.ZodString;
1523
1769
  urls: z.ZodArray<z.ZodObject<{
1524
1770
  name: z.ZodString;
@@ -1527,6 +1773,12 @@ declare const sdkConfigIrV1Schema: z.ZodObject<{
1527
1773
  }, z.core.$strict>>;
1528
1774
  description: z.ZodOptional<z.ZodString>;
1529
1775
  }, z.core.$strict>>>;
1776
+ environmentVariables: z.ZodDefault<z.ZodArray<z.ZodObject<{
1777
+ name: z.ZodString;
1778
+ description: z.ZodOptional<z.ZodString>;
1779
+ defaultValue: z.ZodOptional<z.ZodString>;
1780
+ }, z.core.$strict>>>;
1781
+ defaultEnvironment: z.ZodOptional<z.ZodString>;
1530
1782
  auth: z.ZodOptional<z.ZodObject<{
1531
1783
  schemes: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
1532
1784
  id: z.ZodString;
@@ -1642,30 +1894,33 @@ declare const sdkConfigIrV1Schema: z.ZodObject<{
1642
1894
  description: z.ZodOptional<z.ZodString>;
1643
1895
  environmentVariable: z.ZodOptional<z.ZodString>;
1644
1896
  }, z.core.$strict>>>;
1645
- environmentVariables: z.ZodOptional<z.ZodArray<z.ZodObject<{
1646
- name: z.ZodString;
1647
- description: z.ZodOptional<z.ZodString>;
1648
- defaultValue: z.ZodOptional<z.ZodString>;
1649
- }, z.core.$strict>>>;
1650
1897
  }, z.core.$strict>;
1651
1898
  client: z.ZodObject<{
1652
- retry: z.ZodOptional<z.ZodObject<{
1653
- enabled: z.ZodBoolean;
1654
- maxAttempts: z.ZodOptional<z.ZodNumber>;
1655
- retryDelayMs: z.ZodOptional<z.ZodNumber>;
1656
- maxDelayMs: z.ZodOptional<z.ZodNumber>;
1657
- jitterMs: z.ZodOptional<z.ZodNumber>;
1658
- backoffFactor: z.ZodOptional<z.ZodNumber>;
1899
+ retry: z.ZodPrefault<z.ZodObject<{
1900
+ enabled: z.ZodDefault<z.ZodBoolean>;
1901
+ maxAttempts: z.ZodDefault<z.ZodNumber>;
1902
+ retryDelayMs: z.ZodDefault<z.ZodNumber>;
1903
+ maxDelayMs: z.ZodDefault<z.ZodNumber>;
1904
+ jitterMs: z.ZodDefault<z.ZodNumber>;
1905
+ backoffFactor: z.ZodDefault<z.ZodNumber>;
1659
1906
  statusCodes: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
1660
- methods: z.ZodOptional<z.ZodArray<z.ZodString>>;
1907
+ methods: z.ZodDefault<z.ZodArray<z.ZodString>>;
1661
1908
  statusCodeProfile: z.ZodOptional<z.ZodEnum<{
1662
1909
  legacy: "legacy";
1663
1910
  recommended: "recommended";
1664
1911
  }>>;
1912
+ maxRetryAfterDelayMs: z.ZodDefault<z.ZodNumber>;
1665
1913
  }, z.core.$strict>>;
1666
- timeoutMs: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"infinity">]>>;
1667
- responseHeaders: z.ZodOptional<z.ZodBoolean>;
1914
+ responseHeaders: z.ZodDefault<z.ZodBoolean>;
1668
1915
  responseValidation: z.ZodOptional<z.ZodBoolean>;
1916
+ multiTenant: z.ZodDefault<z.ZodBoolean>;
1917
+ additionalConstructorParameters: z.ZodDefault<z.ZodArray<z.ZodObject<{
1918
+ name: z.ZodString;
1919
+ example: z.ZodOptional<z.ZodString>;
1920
+ description: z.ZodOptional<z.ZodString>;
1921
+ required: z.ZodOptional<z.ZodBoolean>;
1922
+ }, z.core.$strict>>>;
1923
+ timeoutMs: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"infinity">]>>;
1669
1924
  requestParameterStyle: z.ZodOptional<z.ZodEnum<{
1670
1925
  wrapped: "wrapped";
1671
1926
  inline: "inline";
@@ -1682,19 +1937,12 @@ declare const sdkConfigIrV1Schema: z.ZodObject<{
1682
1937
  "language-default": "language-default";
1683
1938
  }>>;
1684
1939
  useDefaultRequestParameterValues: z.ZodOptional<z.ZodBoolean>;
1685
- additionalConstructorParameters: z.ZodOptional<z.ZodArray<z.ZodObject<{
1686
- name: z.ZodString;
1687
- example: z.ZodOptional<z.ZodString>;
1688
- description: z.ZodOptional<z.ZodString>;
1689
- required: z.ZodOptional<z.ZodBoolean>;
1690
- }, z.core.$strict>>>;
1691
1940
  tokenRefresh: z.ZodOptional<z.ZodObject<{
1692
1941
  enabled: z.ZodBoolean;
1693
1942
  endpoint: z.ZodOptional<z.ZodString>;
1694
1943
  accessTokenField: z.ZodOptional<z.ZodString>;
1695
1944
  refreshTokenField: z.ZodOptional<z.ZodString>;
1696
1945
  }, z.core.$strict>>;
1697
- multiTenant: z.ZodOptional<z.ZodBoolean>;
1698
1946
  }, z.core.$strict>;
1699
1947
  package: z.ZodObject<{
1700
1948
  packageName: z.ZodOptional<z.ZodString>;
@@ -1983,8 +2231,8 @@ declare const sdkConfigIrV1Schema: z.ZodObject<{
1983
2231
  GET: "GET";
1984
2232
  POST: "POST";
1985
2233
  PUT: "PUT";
1986
- PATCH: "PATCH";
1987
2234
  DELETE: "DELETE";
2235
+ PATCH: "PATCH";
1988
2236
  HEAD: "HEAD";
1989
2237
  OPTIONS: "OPTIONS";
1990
2238
  TRACE: "TRACE";
@@ -1998,8 +2246,8 @@ declare const sdkConfigIrV1Schema: z.ZodObject<{
1998
2246
  GET: "GET";
1999
2247
  POST: "POST";
2000
2248
  PUT: "PUT";
2001
- PATCH: "PATCH";
2002
2249
  DELETE: "DELETE";
2250
+ PATCH: "PATCH";
2003
2251
  HEAD: "HEAD";
2004
2252
  OPTIONS: "OPTIONS";
2005
2253
  TRACE: "TRACE";
@@ -2021,14 +2269,15 @@ declare const sdkConfigIrV1Schema: z.ZodObject<{
2021
2269
  includeApiReference: z.ZodOptional<z.ZodBoolean>;
2022
2270
  }, z.core.$strict>;
2023
2271
  generation: z.ZodObject<{
2024
- includeWatermark: z.ZodOptional<z.ZodBoolean>;
2272
+ includeWatermark: z.ZodDefault<z.ZodBoolean>;
2273
+ ai: z.ZodDefault<z.ZodBoolean>;
2025
2274
  includeOptionalSnippetParameters: z.ZodOptional<z.ZodBoolean>;
2026
- buildAllModels: z.ZodOptional<z.ZodBoolean>;
2027
- inferServiceNames: z.ZodOptional<z.ZodBoolean>;
2028
- includeDeprecatedOperations: z.ZodOptional<z.ZodBoolean>;
2029
- multipleResponses: z.ZodOptional<z.ZodBoolean>;
2030
- devContainer: z.ZodOptional<z.ZodBoolean>;
2031
- allowMockClient: z.ZodOptional<z.ZodBoolean>;
2275
+ buildAllModels: z.ZodDefault<z.ZodBoolean>;
2276
+ inferServiceNames: z.ZodDefault<z.ZodBoolean>;
2277
+ includeDeprecatedOperations: z.ZodDefault<z.ZodBoolean>;
2278
+ multipleResponses: z.ZodDefault<z.ZodBoolean>;
2279
+ devContainer: z.ZodDefault<z.ZodBoolean>;
2280
+ allowMockClient: z.ZodDefault<z.ZodBoolean>;
2032
2281
  ignoreFiles: z.ZodOptional<z.ZodArray<z.ZodString>>;
2033
2282
  reservedKeywords: z.ZodOptional<z.ZodArray<z.ZodString>>;
2034
2283
  hooks: z.ZodOptional<z.ZodObject<{
@@ -2093,6 +2342,20 @@ declare const sdkConfigIrV1Schema: z.ZodObject<{
2093
2342
  enabled: z.ZodBoolean;
2094
2343
  exclusions: z.ZodOptional<z.ZodArray<z.ZodString>>;
2095
2344
  fallbackToGeneratedErrorExamples: z.ZodOptional<z.ZodBoolean>;
2345
+ fixtureSource: z.ZodOptional<z.ZodEnum<{
2346
+ synthetic: "synthetic";
2347
+ recorded: "recorded";
2348
+ auto: "auto";
2349
+ }>>;
2350
+ }, z.core.$strict>>;
2351
+ unitTests: z.ZodOptional<z.ZodObject<{
2352
+ enabled: z.ZodBoolean;
2353
+ mode: z.ZodOptional<z.ZodEnum<{
2354
+ both: "both";
2355
+ "core-runtime": "core-runtime";
2356
+ "schema-driven": "schema-driven";
2357
+ }>>;
2358
+ exclusions: z.ZodOptional<z.ZodArray<z.ZodString>>;
2096
2359
  }, z.core.$strict>>;
2097
2360
  webSockets: z.ZodOptional<z.ZodBoolean>;
2098
2361
  streams: z.ZodOptional<z.ZodObject<{
@@ -2265,6 +2528,72 @@ declare const sdkConfigIrV1Schema: z.ZodObject<{
2265
2528
  paginationParameters: z.ZodOptional<z.ZodArray<z.ZodString>>;
2266
2529
  skills: z.ZodOptional<z.ZodBoolean>;
2267
2530
  }, z.core.$strict>>;
2531
+ mcp: z.ZodOptional<z.ZodObject<{
2532
+ typescriptVersion: z.ZodOptional<z.ZodString>;
2533
+ zodVersion: z.ZodOptional<z.ZodString>;
2534
+ compilerOptions: z.ZodOptional<z.ZodObject<{
2535
+ target: z.ZodOptional<z.ZodString>;
2536
+ module: z.ZodOptional<z.ZodString>;
2537
+ lib: z.ZodOptional<z.ZodArray<z.ZodString>>;
2538
+ }, z.core.$strict>>;
2539
+ httpClient: z.ZodOptional<z.ZodObject<{
2540
+ name: z.ZodEnum<{
2541
+ axios: "axios";
2542
+ fetch: "fetch";
2543
+ }>;
2544
+ }, z.core.$strict>>;
2545
+ packageManager: z.ZodOptional<z.ZodEnum<{
2546
+ pnpm: "pnpm";
2547
+ yarn: "yarn";
2548
+ }>>;
2549
+ testFramework: z.ZodOptional<z.ZodEnum<{
2550
+ jest: "jest";
2551
+ vitest: "vitest";
2552
+ }>>;
2553
+ namingStrategy: z.ZodOptional<z.ZodEnum<{
2554
+ base: "base";
2555
+ originalPropertyNames: "originalPropertyNames";
2556
+ }>>;
2557
+ bundle: z.ZodOptional<z.ZodBoolean>;
2558
+ exportClassDefault: z.ZodOptional<z.ZodBoolean>;
2559
+ allowCustomFetcher: z.ZodOptional<z.ZodBoolean>;
2560
+ useBrandedStringAliases: z.ZodOptional<z.ZodBoolean>;
2561
+ useLegacyExports: z.ZodOptional<z.ZodBoolean>;
2562
+ useBigInt: z.ZodOptional<z.ZodBoolean>;
2563
+ serdeLayer: z.ZodOptional<z.ZodBoolean>;
2564
+ scripts: z.ZodOptional<z.ZodArray<z.ZodObject<{
2565
+ name: z.ZodString;
2566
+ command: z.ZodString;
2567
+ }, z.core.$strict>>>;
2568
+ }, z.core.$strict>>;
2569
+ swift: z.ZodOptional<z.ZodObject<{
2570
+ moduleName: z.ZodOptional<z.ZodString>;
2571
+ }, z.core.$strict>>;
2572
+ terraform: z.ZodOptional<z.ZodObject<{
2573
+ providerName: z.ZodOptional<z.ZodString>;
2574
+ providerVersion: z.ZodOptional<z.ZodString>;
2575
+ providerModulePath: z.ZodOptional<z.ZodString>;
2576
+ mockAcceptance: z.ZodOptional<z.ZodBoolean>;
2577
+ hideComputedDiff: z.ZodOptional<z.ZodBoolean>;
2578
+ providerSchema: z.ZodOptional<z.ZodObject<{
2579
+ addressKey: z.ZodString;
2580
+ authTokenKey: z.ZodString;
2581
+ }, z.core.$strict>>;
2582
+ planModifiers: z.ZodOptional<z.ZodObject<{
2583
+ resources: z.ZodDiscriminatedUnion<[z.ZodObject<{
2584
+ enabled: z.ZodLiteral<true>;
2585
+ sourceDir: z.ZodString;
2586
+ }, z.core.$strict>, z.ZodObject<{
2587
+ enabled: z.ZodLiteral<false>;
2588
+ }, z.core.$strict>], "enabled">;
2589
+ attributes: z.ZodDiscriminatedUnion<[z.ZodObject<{
2590
+ enabled: z.ZodLiteral<true>;
2591
+ sourceDir: z.ZodString;
2592
+ }, z.core.$strict>, z.ZodObject<{
2593
+ enabled: z.ZodLiteral<false>;
2594
+ }, z.core.$strict>], "enabled">;
2595
+ }, z.core.$strict>>;
2596
+ }, z.core.$strict>>;
2268
2597
  }, z.core.$strict>>;
2269
2598
  }, z.core.$strict>;
2270
2599
  compatibility: z.ZodOptional<z.ZodObject<{
@@ -2304,7 +2633,8 @@ declare const sdkConfigIrV1Schema: z.ZodObject<{
2304
2633
  }, z.core.$strict>>>;
2305
2634
  }, z.core.$strict>>;
2306
2635
  }, z.core.$strict>;
2307
- type SdkConfigIrV1 = z.infer<typeof sdkConfigIrV1Schema>;
2636
+ type SdkConfigIrV1Input = z.input<typeof sdkConfigIrV1Schema>;
2637
+ type SdkConfigIrV1 = z.output<typeof sdkConfigIrV1Schema>;
2308
2638
  declare function parseSdkConfigIrV1(value: unknown): SdkConfigIrV1;
2309
2639
 
2310
2640
  declare const apiImportSettingsSchema: z.ZodObject<{
@@ -2426,7 +2756,9 @@ declare const targetLanguageSchema: z.ZodEnum<{
2426
2756
  ruby: "ruby";
2427
2757
  rust: "rust";
2428
2758
  cli: "cli";
2759
+ mcp: "mcp";
2429
2760
  swift: "swift";
2761
+ terraform: "terraform";
2430
2762
  }>;
2431
2763
  declare const targetConfigSchema: z.ZodObject<{
2432
2764
  language: z.ZodEnum<{
@@ -2440,7 +2772,9 @@ declare const targetConfigSchema: z.ZodObject<{
2440
2772
  ruby: "ruby";
2441
2773
  rust: "rust";
2442
2774
  cli: "cli";
2775
+ mcp: "mcp";
2443
2776
  swift: "swift";
2777
+ terraform: "terraform";
2444
2778
  }>;
2445
2779
  generatorVersion: z.ZodOptional<z.ZodString>;
2446
2780
  sourceOrigin: z.ZodEnum<{
@@ -2449,10 +2783,10 @@ declare const targetConfigSchema: z.ZodObject<{
2449
2783
  }>;
2450
2784
  sdkName: z.ZodString;
2451
2785
  organization: z.ZodOptional<z.ZodString>;
2452
- sdkVersion: z.ZodOptional<z.ZodString>;
2786
+ sdkVersion: z.ZodDefault<z.ZodString>;
2453
2787
  apiVersion: z.ZodOptional<z.ZodString>;
2454
2788
  }, z.core.$strict>;
2455
2789
  type TargetLanguage = z.infer<typeof targetLanguageSchema>;
2456
2790
  type TargetConfig = z.infer<typeof targetConfigSchema>;
2457
2791
 
2458
- export { type ApiConfig, type ApiImportSettings, type AuthConfig, type AuthScheme, type CliGenerationConfig, type ClientConfig, 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 OutputConfig, type PackageConfig, type PhpGenerationConfig, type PublishConfig, type PublishRegistry, type PythonGenerationConfig, type ReadmeEndpoint, type RubyGenerationConfig, type RustGenerationConfig, SDK_CONFIG_IR_V1_SCHEMA_VERSION, type SdkConfigIrV1, type SourceConfig, type SourceSpecConfig, type SourceSpecType, type TargetConfig, type TargetLanguage, 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, nonEmptyStringSchema, outputConfigSchema, packageConfigSchema, parseSdkConfigIrV1, phpGenerationConfigSchema, publishConfigSchema, publishRegistrySchema, pythonGenerationConfigSchema, readmeEndpointSchema, rubyGenerationConfigSchema, rustGenerationConfigSchema, sdkConfigIrV1Schema, sourceConfigSchema, sourceSpecConfigSchema, sourceSpecTypeSchema, targetConfigSchema, targetLanguageSchema, typescriptGenerationConfigSchema, unsupportedFieldSchema };
2792
+ 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 };