@postman/sdk-config 0.0.2 → 0.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +171 -131
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +169 -132
- package/dist/index.js.map +1 -1
- package/dist/sdk-config-ir/index.cjs +171 -131
- package/dist/sdk-config-ir/index.cjs.map +1 -1
- package/dist/sdk-config-ir/index.d.cts +1 -1
- package/dist/sdk-config-ir/index.d.ts +1 -1
- package/dist/sdk-config-ir/index.js +169 -132
- package/dist/sdk-config-ir/index.js.map +1 -1
- package/dist/sdk-config-ir/v1/index.cjs +171 -131
- package/dist/sdk-config-ir/v1/index.cjs.map +1 -1
- package/dist/sdk-config-ir/v1/index.d.cts +381 -75
- package/dist/sdk-config-ir/v1/index.d.ts +381 -75
- package/dist/sdk-config-ir/v1/index.js +169 -132
- package/dist/sdk-config-ir/v1/index.js.map +1 -1
- package/package.json +2 -2
|
@@ -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.
|
|
217
|
-
|
|
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
|
|
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.
|
|
354
|
-
enabled: z.ZodBoolean
|
|
355
|
-
maxAttempts: z.
|
|
356
|
-
retryDelayMs: z.
|
|
357
|
-
maxDelayMs: z.
|
|
358
|
-
jitterMs: z.
|
|
359
|
-
backoffFactor: z.
|
|
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.
|
|
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
|
-
|
|
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
|
|
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.
|
|
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.
|
|
677
|
-
inferServiceNames: z.
|
|
678
|
-
includeDeprecatedOperations: z.
|
|
679
|
-
multipleResponses: z.
|
|
680
|
-
devContainer: z.
|
|
681
|
-
allowMockClient: z.
|
|
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<{
|
|
@@ -915,6 +986,72 @@ declare const generationConfigSchema: z.ZodObject<{
|
|
|
915
986
|
paginationParameters: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
916
987
|
skills: z.ZodOptional<z.ZodBoolean>;
|
|
917
988
|
}, z.core.$strict>>;
|
|
989
|
+
mcp: z.ZodOptional<z.ZodObject<{
|
|
990
|
+
typescriptVersion: z.ZodOptional<z.ZodString>;
|
|
991
|
+
zodVersion: z.ZodOptional<z.ZodString>;
|
|
992
|
+
compilerOptions: z.ZodOptional<z.ZodObject<{
|
|
993
|
+
target: z.ZodOptional<z.ZodString>;
|
|
994
|
+
module: z.ZodOptional<z.ZodString>;
|
|
995
|
+
lib: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
996
|
+
}, z.core.$strict>>;
|
|
997
|
+
httpClient: z.ZodOptional<z.ZodObject<{
|
|
998
|
+
name: z.ZodEnum<{
|
|
999
|
+
axios: "axios";
|
|
1000
|
+
fetch: "fetch";
|
|
1001
|
+
}>;
|
|
1002
|
+
}, z.core.$strict>>;
|
|
1003
|
+
packageManager: z.ZodOptional<z.ZodEnum<{
|
|
1004
|
+
pnpm: "pnpm";
|
|
1005
|
+
yarn: "yarn";
|
|
1006
|
+
}>>;
|
|
1007
|
+
testFramework: z.ZodOptional<z.ZodEnum<{
|
|
1008
|
+
jest: "jest";
|
|
1009
|
+
vitest: "vitest";
|
|
1010
|
+
}>>;
|
|
1011
|
+
namingStrategy: z.ZodOptional<z.ZodEnum<{
|
|
1012
|
+
base: "base";
|
|
1013
|
+
originalPropertyNames: "originalPropertyNames";
|
|
1014
|
+
}>>;
|
|
1015
|
+
bundle: z.ZodOptional<z.ZodBoolean>;
|
|
1016
|
+
exportClassDefault: z.ZodOptional<z.ZodBoolean>;
|
|
1017
|
+
allowCustomFetcher: z.ZodOptional<z.ZodBoolean>;
|
|
1018
|
+
useBrandedStringAliases: z.ZodOptional<z.ZodBoolean>;
|
|
1019
|
+
useLegacyExports: z.ZodOptional<z.ZodBoolean>;
|
|
1020
|
+
useBigInt: z.ZodOptional<z.ZodBoolean>;
|
|
1021
|
+
serdeLayer: z.ZodOptional<z.ZodBoolean>;
|
|
1022
|
+
scripts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1023
|
+
name: z.ZodString;
|
|
1024
|
+
command: z.ZodString;
|
|
1025
|
+
}, z.core.$strict>>>;
|
|
1026
|
+
}, z.core.$strict>>;
|
|
1027
|
+
swift: z.ZodOptional<z.ZodObject<{
|
|
1028
|
+
moduleName: z.ZodOptional<z.ZodString>;
|
|
1029
|
+
}, z.core.$strict>>;
|
|
1030
|
+
terraform: z.ZodOptional<z.ZodObject<{
|
|
1031
|
+
providerName: z.ZodOptional<z.ZodString>;
|
|
1032
|
+
providerVersion: z.ZodOptional<z.ZodString>;
|
|
1033
|
+
providerModulePath: z.ZodOptional<z.ZodString>;
|
|
1034
|
+
mockAcceptance: z.ZodOptional<z.ZodBoolean>;
|
|
1035
|
+
hideComputedDiff: z.ZodOptional<z.ZodBoolean>;
|
|
1036
|
+
providerSchema: z.ZodOptional<z.ZodObject<{
|
|
1037
|
+
addressKey: z.ZodString;
|
|
1038
|
+
authTokenKey: z.ZodString;
|
|
1039
|
+
}, z.core.$strict>>;
|
|
1040
|
+
planModifiers: z.ZodOptional<z.ZodObject<{
|
|
1041
|
+
resources: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1042
|
+
enabled: z.ZodLiteral<true>;
|
|
1043
|
+
sourceDir: z.ZodString;
|
|
1044
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1045
|
+
enabled: z.ZodLiteral<false>;
|
|
1046
|
+
}, z.core.$strict>], "enabled">;
|
|
1047
|
+
attributes: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1048
|
+
enabled: z.ZodLiteral<true>;
|
|
1049
|
+
sourceDir: z.ZodString;
|
|
1050
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1051
|
+
enabled: z.ZodLiteral<false>;
|
|
1052
|
+
}, z.core.$strict>], "enabled">;
|
|
1053
|
+
}, z.core.$strict>>;
|
|
1054
|
+
}, z.core.$strict>>;
|
|
918
1055
|
}, z.core.$strict>>;
|
|
919
1056
|
}, z.core.$strict>;
|
|
920
1057
|
type LanguageGenerationConfig = z.infer<typeof languageGenerationConfigSchema>;
|
|
@@ -976,6 +1113,46 @@ declare const kotlinGenerationConfigSchema: z.ZodObject<{
|
|
|
976
1113
|
}, z.core.$strict>;
|
|
977
1114
|
type KotlinGenerationConfig = z.infer<typeof kotlinGenerationConfigSchema>;
|
|
978
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
|
+
|
|
979
1156
|
declare const phpGenerationConfigSchema: z.ZodObject<{
|
|
980
1157
|
propertyAccess: z.ZodOptional<z.ZodEnum<{
|
|
981
1158
|
public: "public";
|
|
@@ -1022,16 +1199,70 @@ type RubyGenerationConfig = z.infer<typeof rubyGenerationConfigSchema>;
|
|
|
1022
1199
|
* behavior with no cross-language equivalent lives here.
|
|
1023
1200
|
*/
|
|
1024
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
|
+
*/
|
|
1025
1206
|
dateTimeType: z.ZodOptional<z.ZodEnum<{
|
|
1026
1207
|
offset: "offset";
|
|
1027
1208
|
utc: "utc";
|
|
1028
1209
|
}>>;
|
|
1210
|
+
/** Uppercase common initialisms in generated names (`UserID` rather than `UserId`). */
|
|
1029
1211
|
capitalizeInitialisms: z.ZodOptional<z.ZodBoolean>;
|
|
1212
|
+
/** Cargo features, mapping a feature name to the dependencies or features it enables. */
|
|
1030
1213
|
features: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>>;
|
|
1214
|
+
/** Overrides which features make up Cargo's `default` feature set. */
|
|
1031
1215
|
defaultFeatures: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1032
1216
|
}, z.core.$strict>;
|
|
1033
1217
|
type RustGenerationConfig = z.infer<typeof rustGenerationConfigSchema>;
|
|
1034
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
|
+
|
|
1035
1266
|
declare const typescriptGenerationConfigSchema: z.ZodObject<{
|
|
1036
1267
|
typescriptVersion: z.ZodOptional<z.ZodString>;
|
|
1037
1268
|
zodVersion: z.ZodOptional<z.ZodString>;
|
|
@@ -1503,7 +1734,9 @@ declare const sdkConfigIrV1Schema: z.ZodObject<{
|
|
|
1503
1734
|
ruby: "ruby";
|
|
1504
1735
|
rust: "rust";
|
|
1505
1736
|
cli: "cli";
|
|
1737
|
+
mcp: "mcp";
|
|
1506
1738
|
swift: "swift";
|
|
1739
|
+
terraform: "terraform";
|
|
1507
1740
|
}>;
|
|
1508
1741
|
generatorVersion: z.ZodOptional<z.ZodString>;
|
|
1509
1742
|
sourceOrigin: z.ZodEnum<{
|
|
@@ -1512,13 +1745,12 @@ declare const sdkConfigIrV1Schema: z.ZodObject<{
|
|
|
1512
1745
|
}>;
|
|
1513
1746
|
sdkName: z.ZodString;
|
|
1514
1747
|
organization: z.ZodOptional<z.ZodString>;
|
|
1515
|
-
sdkVersion: z.
|
|
1748
|
+
sdkVersion: z.ZodDefault<z.ZodString>;
|
|
1516
1749
|
apiVersion: z.ZodOptional<z.ZodString>;
|
|
1517
1750
|
}, z.core.$strict>;
|
|
1518
1751
|
api: z.ZodObject<{
|
|
1519
|
-
baseUrl: z.
|
|
1520
|
-
|
|
1521
|
-
environments: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1752
|
+
baseUrl: z.ZodDefault<z.ZodString>;
|
|
1753
|
+
environments: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1522
1754
|
name: z.ZodString;
|
|
1523
1755
|
urls: z.ZodArray<z.ZodObject<{
|
|
1524
1756
|
name: z.ZodString;
|
|
@@ -1527,6 +1759,12 @@ declare const sdkConfigIrV1Schema: z.ZodObject<{
|
|
|
1527
1759
|
}, z.core.$strict>>;
|
|
1528
1760
|
description: z.ZodOptional<z.ZodString>;
|
|
1529
1761
|
}, z.core.$strict>>>;
|
|
1762
|
+
environmentVariables: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1763
|
+
name: z.ZodString;
|
|
1764
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1765
|
+
defaultValue: z.ZodOptional<z.ZodString>;
|
|
1766
|
+
}, z.core.$strict>>>;
|
|
1767
|
+
defaultEnvironment: z.ZodOptional<z.ZodString>;
|
|
1530
1768
|
auth: z.ZodOptional<z.ZodObject<{
|
|
1531
1769
|
schemes: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1532
1770
|
id: z.ZodString;
|
|
@@ -1642,30 +1880,33 @@ declare const sdkConfigIrV1Schema: z.ZodObject<{
|
|
|
1642
1880
|
description: z.ZodOptional<z.ZodString>;
|
|
1643
1881
|
environmentVariable: z.ZodOptional<z.ZodString>;
|
|
1644
1882
|
}, 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
1883
|
}, z.core.$strict>;
|
|
1651
1884
|
client: z.ZodObject<{
|
|
1652
|
-
retry: z.
|
|
1653
|
-
enabled: z.ZodBoolean
|
|
1654
|
-
maxAttempts: z.
|
|
1655
|
-
retryDelayMs: z.
|
|
1656
|
-
maxDelayMs: z.
|
|
1657
|
-
jitterMs: z.
|
|
1658
|
-
backoffFactor: z.
|
|
1885
|
+
retry: z.ZodPrefault<z.ZodObject<{
|
|
1886
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
1887
|
+
maxAttempts: z.ZodDefault<z.ZodNumber>;
|
|
1888
|
+
retryDelayMs: z.ZodDefault<z.ZodNumber>;
|
|
1889
|
+
maxDelayMs: z.ZodDefault<z.ZodNumber>;
|
|
1890
|
+
jitterMs: z.ZodDefault<z.ZodNumber>;
|
|
1891
|
+
backoffFactor: z.ZodDefault<z.ZodNumber>;
|
|
1659
1892
|
statusCodes: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
1660
|
-
methods: z.
|
|
1893
|
+
methods: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1661
1894
|
statusCodeProfile: z.ZodOptional<z.ZodEnum<{
|
|
1662
1895
|
legacy: "legacy";
|
|
1663
1896
|
recommended: "recommended";
|
|
1664
1897
|
}>>;
|
|
1898
|
+
maxRetryAfterDelayMs: z.ZodDefault<z.ZodNumber>;
|
|
1665
1899
|
}, z.core.$strict>>;
|
|
1666
|
-
|
|
1667
|
-
responseHeaders: z.ZodOptional<z.ZodBoolean>;
|
|
1900
|
+
responseHeaders: z.ZodDefault<z.ZodBoolean>;
|
|
1668
1901
|
responseValidation: z.ZodOptional<z.ZodBoolean>;
|
|
1902
|
+
multiTenant: z.ZodDefault<z.ZodBoolean>;
|
|
1903
|
+
additionalConstructorParameters: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1904
|
+
name: z.ZodString;
|
|
1905
|
+
example: z.ZodOptional<z.ZodString>;
|
|
1906
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1907
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
1908
|
+
}, z.core.$strict>>>;
|
|
1909
|
+
timeoutMs: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"infinity">]>>;
|
|
1669
1910
|
requestParameterStyle: z.ZodOptional<z.ZodEnum<{
|
|
1670
1911
|
wrapped: "wrapped";
|
|
1671
1912
|
inline: "inline";
|
|
@@ -1682,19 +1923,12 @@ declare const sdkConfigIrV1Schema: z.ZodObject<{
|
|
|
1682
1923
|
"language-default": "language-default";
|
|
1683
1924
|
}>>;
|
|
1684
1925
|
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
1926
|
tokenRefresh: z.ZodOptional<z.ZodObject<{
|
|
1692
1927
|
enabled: z.ZodBoolean;
|
|
1693
1928
|
endpoint: z.ZodOptional<z.ZodString>;
|
|
1694
1929
|
accessTokenField: z.ZodOptional<z.ZodString>;
|
|
1695
1930
|
refreshTokenField: z.ZodOptional<z.ZodString>;
|
|
1696
1931
|
}, z.core.$strict>>;
|
|
1697
|
-
multiTenant: z.ZodOptional<z.ZodBoolean>;
|
|
1698
1932
|
}, z.core.$strict>;
|
|
1699
1933
|
package: z.ZodObject<{
|
|
1700
1934
|
packageName: z.ZodOptional<z.ZodString>;
|
|
@@ -1983,8 +2217,8 @@ declare const sdkConfigIrV1Schema: z.ZodObject<{
|
|
|
1983
2217
|
GET: "GET";
|
|
1984
2218
|
POST: "POST";
|
|
1985
2219
|
PUT: "PUT";
|
|
1986
|
-
PATCH: "PATCH";
|
|
1987
2220
|
DELETE: "DELETE";
|
|
2221
|
+
PATCH: "PATCH";
|
|
1988
2222
|
HEAD: "HEAD";
|
|
1989
2223
|
OPTIONS: "OPTIONS";
|
|
1990
2224
|
TRACE: "TRACE";
|
|
@@ -1998,8 +2232,8 @@ declare const sdkConfigIrV1Schema: z.ZodObject<{
|
|
|
1998
2232
|
GET: "GET";
|
|
1999
2233
|
POST: "POST";
|
|
2000
2234
|
PUT: "PUT";
|
|
2001
|
-
PATCH: "PATCH";
|
|
2002
2235
|
DELETE: "DELETE";
|
|
2236
|
+
PATCH: "PATCH";
|
|
2003
2237
|
HEAD: "HEAD";
|
|
2004
2238
|
OPTIONS: "OPTIONS";
|
|
2005
2239
|
TRACE: "TRACE";
|
|
@@ -2021,14 +2255,15 @@ declare const sdkConfigIrV1Schema: z.ZodObject<{
|
|
|
2021
2255
|
includeApiReference: z.ZodOptional<z.ZodBoolean>;
|
|
2022
2256
|
}, z.core.$strict>;
|
|
2023
2257
|
generation: z.ZodObject<{
|
|
2024
|
-
includeWatermark: z.
|
|
2258
|
+
includeWatermark: z.ZodDefault<z.ZodBoolean>;
|
|
2259
|
+
ai: z.ZodDefault<z.ZodBoolean>;
|
|
2025
2260
|
includeOptionalSnippetParameters: z.ZodOptional<z.ZodBoolean>;
|
|
2026
|
-
buildAllModels: z.
|
|
2027
|
-
inferServiceNames: z.
|
|
2028
|
-
includeDeprecatedOperations: z.
|
|
2029
|
-
multipleResponses: z.
|
|
2030
|
-
devContainer: z.
|
|
2031
|
-
allowMockClient: z.
|
|
2261
|
+
buildAllModels: z.ZodDefault<z.ZodBoolean>;
|
|
2262
|
+
inferServiceNames: z.ZodDefault<z.ZodBoolean>;
|
|
2263
|
+
includeDeprecatedOperations: z.ZodDefault<z.ZodBoolean>;
|
|
2264
|
+
multipleResponses: z.ZodDefault<z.ZodBoolean>;
|
|
2265
|
+
devContainer: z.ZodDefault<z.ZodBoolean>;
|
|
2266
|
+
allowMockClient: z.ZodDefault<z.ZodBoolean>;
|
|
2032
2267
|
ignoreFiles: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2033
2268
|
reservedKeywords: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2034
2269
|
hooks: z.ZodOptional<z.ZodObject<{
|
|
@@ -2265,6 +2500,72 @@ declare const sdkConfigIrV1Schema: z.ZodObject<{
|
|
|
2265
2500
|
paginationParameters: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2266
2501
|
skills: z.ZodOptional<z.ZodBoolean>;
|
|
2267
2502
|
}, z.core.$strict>>;
|
|
2503
|
+
mcp: z.ZodOptional<z.ZodObject<{
|
|
2504
|
+
typescriptVersion: z.ZodOptional<z.ZodString>;
|
|
2505
|
+
zodVersion: z.ZodOptional<z.ZodString>;
|
|
2506
|
+
compilerOptions: z.ZodOptional<z.ZodObject<{
|
|
2507
|
+
target: z.ZodOptional<z.ZodString>;
|
|
2508
|
+
module: z.ZodOptional<z.ZodString>;
|
|
2509
|
+
lib: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2510
|
+
}, z.core.$strict>>;
|
|
2511
|
+
httpClient: z.ZodOptional<z.ZodObject<{
|
|
2512
|
+
name: z.ZodEnum<{
|
|
2513
|
+
axios: "axios";
|
|
2514
|
+
fetch: "fetch";
|
|
2515
|
+
}>;
|
|
2516
|
+
}, z.core.$strict>>;
|
|
2517
|
+
packageManager: z.ZodOptional<z.ZodEnum<{
|
|
2518
|
+
pnpm: "pnpm";
|
|
2519
|
+
yarn: "yarn";
|
|
2520
|
+
}>>;
|
|
2521
|
+
testFramework: z.ZodOptional<z.ZodEnum<{
|
|
2522
|
+
jest: "jest";
|
|
2523
|
+
vitest: "vitest";
|
|
2524
|
+
}>>;
|
|
2525
|
+
namingStrategy: z.ZodOptional<z.ZodEnum<{
|
|
2526
|
+
base: "base";
|
|
2527
|
+
originalPropertyNames: "originalPropertyNames";
|
|
2528
|
+
}>>;
|
|
2529
|
+
bundle: z.ZodOptional<z.ZodBoolean>;
|
|
2530
|
+
exportClassDefault: z.ZodOptional<z.ZodBoolean>;
|
|
2531
|
+
allowCustomFetcher: z.ZodOptional<z.ZodBoolean>;
|
|
2532
|
+
useBrandedStringAliases: z.ZodOptional<z.ZodBoolean>;
|
|
2533
|
+
useLegacyExports: z.ZodOptional<z.ZodBoolean>;
|
|
2534
|
+
useBigInt: z.ZodOptional<z.ZodBoolean>;
|
|
2535
|
+
serdeLayer: z.ZodOptional<z.ZodBoolean>;
|
|
2536
|
+
scripts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2537
|
+
name: z.ZodString;
|
|
2538
|
+
command: z.ZodString;
|
|
2539
|
+
}, z.core.$strict>>>;
|
|
2540
|
+
}, z.core.$strict>>;
|
|
2541
|
+
swift: z.ZodOptional<z.ZodObject<{
|
|
2542
|
+
moduleName: z.ZodOptional<z.ZodString>;
|
|
2543
|
+
}, z.core.$strict>>;
|
|
2544
|
+
terraform: z.ZodOptional<z.ZodObject<{
|
|
2545
|
+
providerName: z.ZodOptional<z.ZodString>;
|
|
2546
|
+
providerVersion: z.ZodOptional<z.ZodString>;
|
|
2547
|
+
providerModulePath: z.ZodOptional<z.ZodString>;
|
|
2548
|
+
mockAcceptance: z.ZodOptional<z.ZodBoolean>;
|
|
2549
|
+
hideComputedDiff: z.ZodOptional<z.ZodBoolean>;
|
|
2550
|
+
providerSchema: z.ZodOptional<z.ZodObject<{
|
|
2551
|
+
addressKey: z.ZodString;
|
|
2552
|
+
authTokenKey: z.ZodString;
|
|
2553
|
+
}, z.core.$strict>>;
|
|
2554
|
+
planModifiers: z.ZodOptional<z.ZodObject<{
|
|
2555
|
+
resources: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2556
|
+
enabled: z.ZodLiteral<true>;
|
|
2557
|
+
sourceDir: z.ZodString;
|
|
2558
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2559
|
+
enabled: z.ZodLiteral<false>;
|
|
2560
|
+
}, z.core.$strict>], "enabled">;
|
|
2561
|
+
attributes: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2562
|
+
enabled: z.ZodLiteral<true>;
|
|
2563
|
+
sourceDir: z.ZodString;
|
|
2564
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2565
|
+
enabled: z.ZodLiteral<false>;
|
|
2566
|
+
}, z.core.$strict>], "enabled">;
|
|
2567
|
+
}, z.core.$strict>>;
|
|
2568
|
+
}, z.core.$strict>>;
|
|
2268
2569
|
}, z.core.$strict>>;
|
|
2269
2570
|
}, z.core.$strict>;
|
|
2270
2571
|
compatibility: z.ZodOptional<z.ZodObject<{
|
|
@@ -2304,7 +2605,8 @@ declare const sdkConfigIrV1Schema: z.ZodObject<{
|
|
|
2304
2605
|
}, z.core.$strict>>>;
|
|
2305
2606
|
}, z.core.$strict>>;
|
|
2306
2607
|
}, z.core.$strict>;
|
|
2307
|
-
type
|
|
2608
|
+
type SdkConfigIrV1Input = z.input<typeof sdkConfigIrV1Schema>;
|
|
2609
|
+
type SdkConfigIrV1 = z.output<typeof sdkConfigIrV1Schema>;
|
|
2308
2610
|
declare function parseSdkConfigIrV1(value: unknown): SdkConfigIrV1;
|
|
2309
2611
|
|
|
2310
2612
|
declare const apiImportSettingsSchema: z.ZodObject<{
|
|
@@ -2426,7 +2728,9 @@ declare const targetLanguageSchema: z.ZodEnum<{
|
|
|
2426
2728
|
ruby: "ruby";
|
|
2427
2729
|
rust: "rust";
|
|
2428
2730
|
cli: "cli";
|
|
2731
|
+
mcp: "mcp";
|
|
2429
2732
|
swift: "swift";
|
|
2733
|
+
terraform: "terraform";
|
|
2430
2734
|
}>;
|
|
2431
2735
|
declare const targetConfigSchema: z.ZodObject<{
|
|
2432
2736
|
language: z.ZodEnum<{
|
|
@@ -2440,7 +2744,9 @@ declare const targetConfigSchema: z.ZodObject<{
|
|
|
2440
2744
|
ruby: "ruby";
|
|
2441
2745
|
rust: "rust";
|
|
2442
2746
|
cli: "cli";
|
|
2747
|
+
mcp: "mcp";
|
|
2443
2748
|
swift: "swift";
|
|
2749
|
+
terraform: "terraform";
|
|
2444
2750
|
}>;
|
|
2445
2751
|
generatorVersion: z.ZodOptional<z.ZodString>;
|
|
2446
2752
|
sourceOrigin: z.ZodEnum<{
|
|
@@ -2449,10 +2755,10 @@ declare const targetConfigSchema: z.ZodObject<{
|
|
|
2449
2755
|
}>;
|
|
2450
2756
|
sdkName: z.ZodString;
|
|
2451
2757
|
organization: z.ZodOptional<z.ZodString>;
|
|
2452
|
-
sdkVersion: z.
|
|
2758
|
+
sdkVersion: z.ZodDefault<z.ZodString>;
|
|
2453
2759
|
apiVersion: z.ZodOptional<z.ZodString>;
|
|
2454
2760
|
}, z.core.$strict>;
|
|
2455
2761
|
type TargetLanguage = z.infer<typeof targetLanguageSchema>;
|
|
2456
2762
|
type TargetConfig = z.infer<typeof targetConfigSchema>;
|
|
2457
2763
|
|
|
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 };
|
|
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 };
|