@postman/sdk-config 0.0.1 → 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/README.md +71 -2
- package/dist/index.cjs +186 -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 +183 -132
- package/dist/index.js.map +1 -1
- package/dist/sdk-config-ir/index.cjs +186 -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 +183 -132
- package/dist/sdk-config-ir/index.js.map +1 -1
- package/dist/sdk-config-ir/v1/index.cjs +186 -131
- package/dist/sdk-config-ir/v1/index.cjs.map +1 -1
- package/dist/sdk-config-ir/v1/index.d.cts +426 -78
- package/dist/sdk-config-ir/v1/index.d.ts +426 -78
- package/dist/sdk-config-ir/v1/index.js +183 -132
- package/dist/sdk-config-ir/v1/index.js.map +1 -1
- package/package.json +2 -2
- package/src/sdk-config-ir/v1/README.md +8 -1
|
@@ -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";
|
|
@@ -656,20 +659,97 @@ declare const languageGenerationConfigSchema: z.ZodObject<{
|
|
|
656
659
|
ruby: z.ZodOptional<z.ZodObject<{
|
|
657
660
|
requirePaths: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
658
661
|
}, z.core.$strict>>;
|
|
662
|
+
rust: z.ZodOptional<z.ZodObject<{
|
|
663
|
+
dateTimeType: z.ZodOptional<z.ZodEnum<{
|
|
664
|
+
offset: "offset";
|
|
665
|
+
utc: "utc";
|
|
666
|
+
}>>;
|
|
667
|
+
capitalizeInitialisms: z.ZodOptional<z.ZodBoolean>;
|
|
668
|
+
features: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>>;
|
|
669
|
+
defaultFeatures: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
670
|
+
}, z.core.$strict>>;
|
|
659
671
|
cli: z.ZodOptional<z.ZodObject<{
|
|
660
672
|
paginationParameters: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
661
673
|
skills: z.ZodOptional<z.ZodBoolean>;
|
|
662
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>>;
|
|
663
741
|
}, z.core.$strict>;
|
|
664
742
|
declare const generationConfigSchema: z.ZodObject<{
|
|
665
|
-
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>;
|
|
666
746
|
includeOptionalSnippetParameters: z.ZodOptional<z.ZodBoolean>;
|
|
667
|
-
buildAllModels: z.
|
|
668
|
-
inferServiceNames: z.
|
|
669
|
-
includeDeprecatedOperations: z.
|
|
670
|
-
multipleResponses: z.
|
|
671
|
-
devContainer: z.
|
|
672
|
-
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>;
|
|
673
753
|
ignoreFiles: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
674
754
|
reservedKeywords: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
675
755
|
hooks: z.ZodOptional<z.ZodObject<{
|
|
@@ -893,10 +973,85 @@ declare const generationConfigSchema: z.ZodObject<{
|
|
|
893
973
|
ruby: z.ZodOptional<z.ZodObject<{
|
|
894
974
|
requirePaths: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
895
975
|
}, z.core.$strict>>;
|
|
976
|
+
rust: z.ZodOptional<z.ZodObject<{
|
|
977
|
+
dateTimeType: z.ZodOptional<z.ZodEnum<{
|
|
978
|
+
offset: "offset";
|
|
979
|
+
utc: "utc";
|
|
980
|
+
}>>;
|
|
981
|
+
capitalizeInitialisms: z.ZodOptional<z.ZodBoolean>;
|
|
982
|
+
features: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>>;
|
|
983
|
+
defaultFeatures: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
984
|
+
}, z.core.$strict>>;
|
|
896
985
|
cli: z.ZodOptional<z.ZodObject<{
|
|
897
986
|
paginationParameters: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
898
987
|
skills: z.ZodOptional<z.ZodBoolean>;
|
|
899
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>>;
|
|
900
1055
|
}, z.core.$strict>>;
|
|
901
1056
|
}, z.core.$strict>;
|
|
902
1057
|
type LanguageGenerationConfig = z.infer<typeof languageGenerationConfigSchema>;
|
|
@@ -958,6 +1113,46 @@ declare const kotlinGenerationConfigSchema: z.ZodObject<{
|
|
|
958
1113
|
}, z.core.$strict>;
|
|
959
1114
|
type KotlinGenerationConfig = z.infer<typeof kotlinGenerationConfigSchema>;
|
|
960
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
|
+
|
|
961
1156
|
declare const phpGenerationConfigSchema: z.ZodObject<{
|
|
962
1157
|
propertyAccess: z.ZodOptional<z.ZodEnum<{
|
|
963
1158
|
public: "public";
|
|
@@ -999,6 +1194,75 @@ declare const rubyGenerationConfigSchema: z.ZodObject<{
|
|
|
999
1194
|
}, z.core.$strict>;
|
|
1000
1195
|
type RubyGenerationConfig = z.infer<typeof rubyGenerationConfigSchema>;
|
|
1001
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
|
+
|
|
1002
1266
|
declare const typescriptGenerationConfigSchema: z.ZodObject<{
|
|
1003
1267
|
typescriptVersion: z.ZodOptional<z.ZodString>;
|
|
1004
1268
|
zodVersion: z.ZodOptional<z.ZodString>;
|
|
@@ -1468,9 +1732,11 @@ declare const sdkConfigIrV1Schema: z.ZodObject<{
|
|
|
1468
1732
|
csharp: "csharp";
|
|
1469
1733
|
php: "php";
|
|
1470
1734
|
ruby: "ruby";
|
|
1471
|
-
cli: "cli";
|
|
1472
1735
|
rust: "rust";
|
|
1736
|
+
cli: "cli";
|
|
1737
|
+
mcp: "mcp";
|
|
1473
1738
|
swift: "swift";
|
|
1739
|
+
terraform: "terraform";
|
|
1474
1740
|
}>;
|
|
1475
1741
|
generatorVersion: z.ZodOptional<z.ZodString>;
|
|
1476
1742
|
sourceOrigin: z.ZodEnum<{
|
|
@@ -1479,13 +1745,12 @@ declare const sdkConfigIrV1Schema: z.ZodObject<{
|
|
|
1479
1745
|
}>;
|
|
1480
1746
|
sdkName: z.ZodString;
|
|
1481
1747
|
organization: z.ZodOptional<z.ZodString>;
|
|
1482
|
-
sdkVersion: z.
|
|
1748
|
+
sdkVersion: z.ZodDefault<z.ZodString>;
|
|
1483
1749
|
apiVersion: z.ZodOptional<z.ZodString>;
|
|
1484
1750
|
}, z.core.$strict>;
|
|
1485
1751
|
api: z.ZodObject<{
|
|
1486
|
-
baseUrl: z.
|
|
1487
|
-
|
|
1488
|
-
environments: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1752
|
+
baseUrl: z.ZodDefault<z.ZodString>;
|
|
1753
|
+
environments: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1489
1754
|
name: z.ZodString;
|
|
1490
1755
|
urls: z.ZodArray<z.ZodObject<{
|
|
1491
1756
|
name: z.ZodString;
|
|
@@ -1494,6 +1759,12 @@ declare const sdkConfigIrV1Schema: z.ZodObject<{
|
|
|
1494
1759
|
}, z.core.$strict>>;
|
|
1495
1760
|
description: z.ZodOptional<z.ZodString>;
|
|
1496
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>;
|
|
1497
1768
|
auth: z.ZodOptional<z.ZodObject<{
|
|
1498
1769
|
schemes: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1499
1770
|
id: z.ZodString;
|
|
@@ -1609,30 +1880,33 @@ declare const sdkConfigIrV1Schema: z.ZodObject<{
|
|
|
1609
1880
|
description: z.ZodOptional<z.ZodString>;
|
|
1610
1881
|
environmentVariable: z.ZodOptional<z.ZodString>;
|
|
1611
1882
|
}, z.core.$strict>>>;
|
|
1612
|
-
environmentVariables: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1613
|
-
name: z.ZodString;
|
|
1614
|
-
description: z.ZodOptional<z.ZodString>;
|
|
1615
|
-
defaultValue: z.ZodOptional<z.ZodString>;
|
|
1616
|
-
}, z.core.$strict>>>;
|
|
1617
1883
|
}, z.core.$strict>;
|
|
1618
1884
|
client: z.ZodObject<{
|
|
1619
|
-
retry: z.
|
|
1620
|
-
enabled: z.ZodBoolean
|
|
1621
|
-
maxAttempts: z.
|
|
1622
|
-
retryDelayMs: z.
|
|
1623
|
-
maxDelayMs: z.
|
|
1624
|
-
jitterMs: z.
|
|
1625
|
-
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>;
|
|
1626
1892
|
statusCodes: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
1627
|
-
methods: z.
|
|
1893
|
+
methods: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1628
1894
|
statusCodeProfile: z.ZodOptional<z.ZodEnum<{
|
|
1629
1895
|
legacy: "legacy";
|
|
1630
1896
|
recommended: "recommended";
|
|
1631
1897
|
}>>;
|
|
1898
|
+
maxRetryAfterDelayMs: z.ZodDefault<z.ZodNumber>;
|
|
1632
1899
|
}, z.core.$strict>>;
|
|
1633
|
-
|
|
1634
|
-
responseHeaders: z.ZodOptional<z.ZodBoolean>;
|
|
1900
|
+
responseHeaders: z.ZodDefault<z.ZodBoolean>;
|
|
1635
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">]>>;
|
|
1636
1910
|
requestParameterStyle: z.ZodOptional<z.ZodEnum<{
|
|
1637
1911
|
wrapped: "wrapped";
|
|
1638
1912
|
inline: "inline";
|
|
@@ -1649,19 +1923,12 @@ declare const sdkConfigIrV1Schema: z.ZodObject<{
|
|
|
1649
1923
|
"language-default": "language-default";
|
|
1650
1924
|
}>>;
|
|
1651
1925
|
useDefaultRequestParameterValues: z.ZodOptional<z.ZodBoolean>;
|
|
1652
|
-
additionalConstructorParameters: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1653
|
-
name: z.ZodString;
|
|
1654
|
-
example: z.ZodOptional<z.ZodString>;
|
|
1655
|
-
description: z.ZodOptional<z.ZodString>;
|
|
1656
|
-
required: z.ZodOptional<z.ZodBoolean>;
|
|
1657
|
-
}, z.core.$strict>>>;
|
|
1658
1926
|
tokenRefresh: z.ZodOptional<z.ZodObject<{
|
|
1659
1927
|
enabled: z.ZodBoolean;
|
|
1660
1928
|
endpoint: z.ZodOptional<z.ZodString>;
|
|
1661
1929
|
accessTokenField: z.ZodOptional<z.ZodString>;
|
|
1662
1930
|
refreshTokenField: z.ZodOptional<z.ZodString>;
|
|
1663
1931
|
}, z.core.$strict>>;
|
|
1664
|
-
multiTenant: z.ZodOptional<z.ZodBoolean>;
|
|
1665
1932
|
}, z.core.$strict>;
|
|
1666
1933
|
package: z.ZodObject<{
|
|
1667
1934
|
packageName: z.ZodOptional<z.ZodString>;
|
|
@@ -1950,8 +2217,8 @@ declare const sdkConfigIrV1Schema: z.ZodObject<{
|
|
|
1950
2217
|
GET: "GET";
|
|
1951
2218
|
POST: "POST";
|
|
1952
2219
|
PUT: "PUT";
|
|
1953
|
-
PATCH: "PATCH";
|
|
1954
2220
|
DELETE: "DELETE";
|
|
2221
|
+
PATCH: "PATCH";
|
|
1955
2222
|
HEAD: "HEAD";
|
|
1956
2223
|
OPTIONS: "OPTIONS";
|
|
1957
2224
|
TRACE: "TRACE";
|
|
@@ -1965,8 +2232,8 @@ declare const sdkConfigIrV1Schema: z.ZodObject<{
|
|
|
1965
2232
|
GET: "GET";
|
|
1966
2233
|
POST: "POST";
|
|
1967
2234
|
PUT: "PUT";
|
|
1968
|
-
PATCH: "PATCH";
|
|
1969
2235
|
DELETE: "DELETE";
|
|
2236
|
+
PATCH: "PATCH";
|
|
1970
2237
|
HEAD: "HEAD";
|
|
1971
2238
|
OPTIONS: "OPTIONS";
|
|
1972
2239
|
TRACE: "TRACE";
|
|
@@ -1988,14 +2255,15 @@ declare const sdkConfigIrV1Schema: z.ZodObject<{
|
|
|
1988
2255
|
includeApiReference: z.ZodOptional<z.ZodBoolean>;
|
|
1989
2256
|
}, z.core.$strict>;
|
|
1990
2257
|
generation: z.ZodObject<{
|
|
1991
|
-
includeWatermark: z.
|
|
2258
|
+
includeWatermark: z.ZodDefault<z.ZodBoolean>;
|
|
2259
|
+
ai: z.ZodDefault<z.ZodBoolean>;
|
|
1992
2260
|
includeOptionalSnippetParameters: z.ZodOptional<z.ZodBoolean>;
|
|
1993
|
-
buildAllModels: z.
|
|
1994
|
-
inferServiceNames: z.
|
|
1995
|
-
includeDeprecatedOperations: z.
|
|
1996
|
-
multipleResponses: z.
|
|
1997
|
-
devContainer: z.
|
|
1998
|
-
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>;
|
|
1999
2267
|
ignoreFiles: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2000
2268
|
reservedKeywords: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2001
2269
|
hooks: z.ZodOptional<z.ZodObject<{
|
|
@@ -2219,10 +2487,85 @@ declare const sdkConfigIrV1Schema: z.ZodObject<{
|
|
|
2219
2487
|
ruby: z.ZodOptional<z.ZodObject<{
|
|
2220
2488
|
requirePaths: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2221
2489
|
}, z.core.$strict>>;
|
|
2490
|
+
rust: z.ZodOptional<z.ZodObject<{
|
|
2491
|
+
dateTimeType: z.ZodOptional<z.ZodEnum<{
|
|
2492
|
+
offset: "offset";
|
|
2493
|
+
utc: "utc";
|
|
2494
|
+
}>>;
|
|
2495
|
+
capitalizeInitialisms: z.ZodOptional<z.ZodBoolean>;
|
|
2496
|
+
features: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>>;
|
|
2497
|
+
defaultFeatures: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2498
|
+
}, z.core.$strict>>;
|
|
2222
2499
|
cli: z.ZodOptional<z.ZodObject<{
|
|
2223
2500
|
paginationParameters: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2224
2501
|
skills: z.ZodOptional<z.ZodBoolean>;
|
|
2225
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>>;
|
|
2226
2569
|
}, z.core.$strict>>;
|
|
2227
2570
|
}, z.core.$strict>;
|
|
2228
2571
|
compatibility: z.ZodOptional<z.ZodObject<{
|
|
@@ -2262,7 +2605,8 @@ declare const sdkConfigIrV1Schema: z.ZodObject<{
|
|
|
2262
2605
|
}, z.core.$strict>>>;
|
|
2263
2606
|
}, z.core.$strict>>;
|
|
2264
2607
|
}, z.core.$strict>;
|
|
2265
|
-
type
|
|
2608
|
+
type SdkConfigIrV1Input = z.input<typeof sdkConfigIrV1Schema>;
|
|
2609
|
+
type SdkConfigIrV1 = z.output<typeof sdkConfigIrV1Schema>;
|
|
2266
2610
|
declare function parseSdkConfigIrV1(value: unknown): SdkConfigIrV1;
|
|
2267
2611
|
|
|
2268
2612
|
declare const apiImportSettingsSchema: z.ZodObject<{
|
|
@@ -2382,9 +2726,11 @@ declare const targetLanguageSchema: z.ZodEnum<{
|
|
|
2382
2726
|
csharp: "csharp";
|
|
2383
2727
|
php: "php";
|
|
2384
2728
|
ruby: "ruby";
|
|
2385
|
-
cli: "cli";
|
|
2386
2729
|
rust: "rust";
|
|
2730
|
+
cli: "cli";
|
|
2731
|
+
mcp: "mcp";
|
|
2387
2732
|
swift: "swift";
|
|
2733
|
+
terraform: "terraform";
|
|
2388
2734
|
}>;
|
|
2389
2735
|
declare const targetConfigSchema: z.ZodObject<{
|
|
2390
2736
|
language: z.ZodEnum<{
|
|
@@ -2396,9 +2742,11 @@ declare const targetConfigSchema: z.ZodObject<{
|
|
|
2396
2742
|
csharp: "csharp";
|
|
2397
2743
|
php: "php";
|
|
2398
2744
|
ruby: "ruby";
|
|
2399
|
-
cli: "cli";
|
|
2400
2745
|
rust: "rust";
|
|
2746
|
+
cli: "cli";
|
|
2747
|
+
mcp: "mcp";
|
|
2401
2748
|
swift: "swift";
|
|
2749
|
+
terraform: "terraform";
|
|
2402
2750
|
}>;
|
|
2403
2751
|
generatorVersion: z.ZodOptional<z.ZodString>;
|
|
2404
2752
|
sourceOrigin: z.ZodEnum<{
|
|
@@ -2407,10 +2755,10 @@ declare const targetConfigSchema: z.ZodObject<{
|
|
|
2407
2755
|
}>;
|
|
2408
2756
|
sdkName: z.ZodString;
|
|
2409
2757
|
organization: z.ZodOptional<z.ZodString>;
|
|
2410
|
-
sdkVersion: z.
|
|
2758
|
+
sdkVersion: z.ZodDefault<z.ZodString>;
|
|
2411
2759
|
apiVersion: z.ZodOptional<z.ZodString>;
|
|
2412
2760
|
}, z.core.$strict>;
|
|
2413
2761
|
type TargetLanguage = z.infer<typeof targetLanguageSchema>;
|
|
2414
2762
|
type TargetConfig = z.infer<typeof targetConfigSchema>;
|
|
2415
2763
|
|
|
2416
|
-
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, 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, 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 };
|