@postman/sdk-config 0.1.0 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +139 -124
- package/dist/index.cjs +301 -149
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +292 -150
- package/dist/index.js.map +1 -1
- package/dist/sdk-config/index.cjs +290 -113
- package/dist/sdk-config/index.cjs.map +1 -1
- package/dist/sdk-config/index.d.cts +2 -2
- package/dist/sdk-config/index.d.ts +2 -2
- package/dist/sdk-config/index.js +284 -114
- package/dist/sdk-config/index.js.map +1 -1
- package/dist/sdk-config/v1/index.cjs +290 -113
- package/dist/sdk-config/v1/index.cjs.map +1 -1
- package/dist/sdk-config/v1/index.d.cts +6903 -289
- package/dist/sdk-config/v1/index.d.ts +6903 -289
- package/dist/sdk-config/v1/index.js +284 -114
- package/dist/sdk-config/v1/index.js.map +1 -1
- package/dist/sdk-config-ir/index.cjs +71 -31
- package/dist/sdk-config-ir/index.cjs.map +1 -1
- package/dist/sdk-config-ir/index.d.cts +2 -2
- package/dist/sdk-config-ir/index.d.ts +2 -2
- package/dist/sdk-config-ir/index.js +69 -32
- package/dist/sdk-config-ir/index.js.map +1 -1
- package/dist/sdk-config-ir/v1/index.cjs +71 -31
- package/dist/sdk-config-ir/v1/index.cjs.map +1 -1
- package/dist/sdk-config-ir/v1/index.d.cts +130 -43
- package/dist/sdk-config-ir/v1/index.d.ts +130 -43
- package/dist/sdk-config-ir/v1/index.js +69 -32
- package/dist/sdk-config-ir/v1/index.js.map +1 -1
- package/dist/{typescript-ByDbin_v.d.cts → typescript-DNqK3T3v.d.cts} +5 -1
- package/dist/{typescript-ByDbin_v.d.ts → typescript-DNqK3T3v.d.ts} +5 -1
- package/docs/releasing.md +114 -0
- package/package.json +2 -2
- package/src/sdk-config/v1/README.md +91 -23
- package/src/sdk-config-ir/v1/README.md +3 -2
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { b as JsonObject } from '../../typescript-
|
|
2
|
-
export { C as CliGenerationConfig, a as CsharpGenerationConfig, D as Dependency, G as GoGenerationConfig, J as JavaGenerationConfig, c as JsonValue, K as KotlinGenerationConfig, M as McpAvailabilityStatus, d as McpGenerationConfig, e as McpToolFilter, P as PackageConfig, f as PhpGenerationConfig, g as PlanModifiers, h as PythonGenerationConfig, R as RubyGenerationConfig, i as RustGenerationConfig, S as SwiftGenerationConfig, T as TerraformGenerationConfig, j as TypescriptGenerationConfig, k as cliGenerationConfigSchema, l as composerPackageNameSchema, m as csharpGenerationConfigSchema, n as dependencySchema, o as exactSemverSchema, p as goGenerationConfigSchema, q as goModulePathSchema, r as javaGenerationConfigSchema, s as jsonObjectSchema, t as jsonValueSchema, u as kotlinGenerationConfigSchema, v as mcpAvailabilityStatuses, w as mcpGenerationConfigSchema, x as nonEmptyStringSchema, y as packageConfigSchema, z as phpGenerationConfigSchema, A as pythonGenerationConfigSchema, B as
|
|
1
|
+
import { b as JsonObject } from '../../typescript-DNqK3T3v.js';
|
|
2
|
+
export { C as CliGenerationConfig, a as CsharpGenerationConfig, D as Dependency, G as GoGenerationConfig, J as JavaGenerationConfig, c as JsonValue, K as KotlinGenerationConfig, M as McpAvailabilityStatus, d as McpGenerationConfig, e as McpToolFilter, P as PackageConfig, f as PhpGenerationConfig, g as PlanModifiers, h as PythonGenerationConfig, R as RubyGenerationConfig, i as RustGenerationConfig, S as SwiftGenerationConfig, T as TerraformGenerationConfig, j as TypescriptGenerationConfig, k as cliGenerationConfigSchema, l as composerPackageNameSchema, m as csharpGenerationConfigSchema, n as dependencySchema, o as exactSemverSchema, p as goGenerationConfigSchema, q as goModulePathSchema, r as javaGenerationConfigSchema, s as jsonObjectSchema, t as jsonValueSchema, u as kotlinGenerationConfigSchema, v as mcpAvailabilityStatuses, w as mcpGenerationConfigSchema, x as nonEmptyStringSchema, y as packageConfigSchema, z as phpGenerationConfigSchema, A as pythonGenerationConfigSchema, B as relativePathSchema, E as rubyGenerationConfigSchema, F as rustGenerationConfigSchema, H as swiftGenerationConfigSchema, I as terraformGenerationConfigSchema, L as typescriptGenerationConfigSchema } from '../../typescript-DNqK3T3v.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
|
|
5
5
|
declare const authSchemeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -359,6 +359,72 @@ type AuthConfig = z.infer<typeof authConfigSchema>;
|
|
|
359
359
|
type ApiConfigInput = z.input<typeof apiConfigSchema>;
|
|
360
360
|
type ApiConfig = z.output<typeof apiConfigSchema>;
|
|
361
361
|
|
|
362
|
+
declare const clientRetryOverrideSchema: z.ZodObject<{
|
|
363
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
364
|
+
maxAttempts: z.ZodOptional<z.ZodNumber>;
|
|
365
|
+
retryDelayMs: z.ZodOptional<z.ZodNumber>;
|
|
366
|
+
maxDelayMs: z.ZodOptional<z.ZodNumber>;
|
|
367
|
+
jitterMs: z.ZodOptional<z.ZodNumber>;
|
|
368
|
+
backoffFactor: z.ZodOptional<z.ZodNumber>;
|
|
369
|
+
statusCodes: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
370
|
+
methods: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
371
|
+
statusCodeProfile: z.ZodOptional<z.ZodEnum<{
|
|
372
|
+
legacy: "legacy";
|
|
373
|
+
recommended: "recommended";
|
|
374
|
+
}>>;
|
|
375
|
+
maxRetryAfterDelayMs: z.ZodOptional<z.ZodNumber>;
|
|
376
|
+
}, z.core.$strict>;
|
|
377
|
+
/** Sparse client properties that can override an inherited client configuration. */
|
|
378
|
+
declare const clientConfigOverrideSchema: z.ZodObject<{
|
|
379
|
+
retry: z.ZodOptional<z.ZodObject<{
|
|
380
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
381
|
+
maxAttempts: z.ZodOptional<z.ZodNumber>;
|
|
382
|
+
retryDelayMs: z.ZodOptional<z.ZodNumber>;
|
|
383
|
+
maxDelayMs: z.ZodOptional<z.ZodNumber>;
|
|
384
|
+
jitterMs: z.ZodOptional<z.ZodNumber>;
|
|
385
|
+
backoffFactor: z.ZodOptional<z.ZodNumber>;
|
|
386
|
+
statusCodes: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
387
|
+
methods: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
388
|
+
statusCodeProfile: z.ZodOptional<z.ZodEnum<{
|
|
389
|
+
legacy: "legacy";
|
|
390
|
+
recommended: "recommended";
|
|
391
|
+
}>>;
|
|
392
|
+
maxRetryAfterDelayMs: z.ZodOptional<z.ZodNumber>;
|
|
393
|
+
}, z.core.$strict>>;
|
|
394
|
+
responseHeaders: z.ZodOptional<z.ZodBoolean>;
|
|
395
|
+
responseValidation: z.ZodOptional<z.ZodBoolean>;
|
|
396
|
+
multiTenant: z.ZodOptional<z.ZodBoolean>;
|
|
397
|
+
additionalConstructorParameters: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
398
|
+
name: z.ZodString;
|
|
399
|
+
example: z.ZodOptional<z.ZodString>;
|
|
400
|
+
description: z.ZodOptional<z.ZodString>;
|
|
401
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
402
|
+
}, z.core.$strict>>>;
|
|
403
|
+
timeoutMs: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"infinity">]>>;
|
|
404
|
+
requestParameterStyle: z.ZodOptional<z.ZodEnum<{
|
|
405
|
+
wrapped: "wrapped";
|
|
406
|
+
inline: "inline";
|
|
407
|
+
"language-default": "language-default";
|
|
408
|
+
}>>;
|
|
409
|
+
pathParameterStyle: z.ZodOptional<z.ZodEnum<{
|
|
410
|
+
wrapped: "wrapped";
|
|
411
|
+
inline: "inline";
|
|
412
|
+
"language-default": "language-default";
|
|
413
|
+
}>>;
|
|
414
|
+
filePropertyStyle: z.ZodOptional<z.ZodEnum<{
|
|
415
|
+
wrapped: "wrapped";
|
|
416
|
+
inline: "inline";
|
|
417
|
+
"language-default": "language-default";
|
|
418
|
+
}>>;
|
|
419
|
+
useDefaultRequestParameterValues: z.ZodOptional<z.ZodBoolean>;
|
|
420
|
+
respectOptionalRequestBody: z.ZodOptional<z.ZodBoolean>;
|
|
421
|
+
tokenRefresh: z.ZodOptional<z.ZodObject<{
|
|
422
|
+
enabled: z.ZodBoolean;
|
|
423
|
+
endpoint: z.ZodOptional<z.ZodString>;
|
|
424
|
+
accessTokenField: z.ZodOptional<z.ZodString>;
|
|
425
|
+
refreshTokenField: z.ZodOptional<z.ZodString>;
|
|
426
|
+
}, z.core.$strict>>;
|
|
427
|
+
}, z.core.$strict>;
|
|
362
428
|
declare const clientConfigSchema: z.ZodObject<{
|
|
363
429
|
retry: z.ZodPrefault<z.ZodObject<{
|
|
364
430
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -367,16 +433,15 @@ declare const clientConfigSchema: z.ZodObject<{
|
|
|
367
433
|
maxDelayMs: z.ZodDefault<z.ZodNumber>;
|
|
368
434
|
jitterMs: z.ZodDefault<z.ZodNumber>;
|
|
369
435
|
backoffFactor: z.ZodDefault<z.ZodNumber>;
|
|
370
|
-
statusCodes: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
371
436
|
methods: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
437
|
+
maxRetryAfterDelayMs: z.ZodDefault<z.ZodNumber>;
|
|
438
|
+
statusCodes: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
372
439
|
statusCodeProfile: z.ZodOptional<z.ZodEnum<{
|
|
373
440
|
legacy: "legacy";
|
|
374
441
|
recommended: "recommended";
|
|
375
442
|
}>>;
|
|
376
|
-
maxRetryAfterDelayMs: z.ZodDefault<z.ZodNumber>;
|
|
377
443
|
}, z.core.$strict>>;
|
|
378
444
|
responseHeaders: z.ZodDefault<z.ZodBoolean>;
|
|
379
|
-
responseValidation: z.ZodOptional<z.ZodBoolean>;
|
|
380
445
|
multiTenant: z.ZodDefault<z.ZodBoolean>;
|
|
381
446
|
additionalConstructorParameters: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
382
447
|
name: z.ZodString;
|
|
@@ -384,6 +449,7 @@ declare const clientConfigSchema: z.ZodObject<{
|
|
|
384
449
|
description: z.ZodOptional<z.ZodString>;
|
|
385
450
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
386
451
|
}, z.core.$strict>>>;
|
|
452
|
+
responseValidation: z.ZodOptional<z.ZodBoolean>;
|
|
387
453
|
timeoutMs: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"infinity">]>>;
|
|
388
454
|
requestParameterStyle: z.ZodOptional<z.ZodEnum<{
|
|
389
455
|
wrapped: "wrapped";
|
|
@@ -409,6 +475,7 @@ declare const clientConfigSchema: z.ZodObject<{
|
|
|
409
475
|
refreshTokenField: z.ZodOptional<z.ZodString>;
|
|
410
476
|
}, z.core.$strict>>;
|
|
411
477
|
}, z.core.$strict>;
|
|
478
|
+
type ClientConfigOverride = z.infer<typeof clientConfigOverrideSchema>;
|
|
412
479
|
type ClientConfigInput = z.input<typeof clientConfigSchema>;
|
|
413
480
|
type ClientConfig = z.output<typeof clientConfigSchema>;
|
|
414
481
|
|
|
@@ -586,6 +653,7 @@ declare const languageGenerationConfigSchema: z.ZodObject<{
|
|
|
586
653
|
}>>;
|
|
587
654
|
bundle: z.ZodOptional<z.ZodBoolean>;
|
|
588
655
|
exportClassDefault: z.ZodOptional<z.ZodBoolean>;
|
|
656
|
+
namespaceExportName: z.ZodOptional<z.ZodString>;
|
|
589
657
|
allowCustomFetcher: z.ZodOptional<z.ZodBoolean>;
|
|
590
658
|
useBrandedStringAliases: z.ZodOptional<z.ZodBoolean>;
|
|
591
659
|
useLegacyExports: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -721,6 +789,7 @@ declare const languageGenerationConfigSchema: z.ZodObject<{
|
|
|
721
789
|
}>>;
|
|
722
790
|
bundle: z.ZodOptional<z.ZodBoolean>;
|
|
723
791
|
exportClassDefault: z.ZodOptional<z.ZodBoolean>;
|
|
792
|
+
namespaceExportName: z.ZodOptional<z.ZodString>;
|
|
724
793
|
allowCustomFetcher: z.ZodOptional<z.ZodBoolean>;
|
|
725
794
|
useBrandedStringAliases: z.ZodOptional<z.ZodBoolean>;
|
|
726
795
|
useLegacyExports: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -811,14 +880,16 @@ declare const generationConfigSchema: z.ZodObject<{
|
|
|
811
880
|
reservedKeywords: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
812
881
|
hooks: z.ZodOptional<z.ZodObject<{
|
|
813
882
|
enabled: z.ZodBoolean;
|
|
814
|
-
source: z.ZodOptional<z.ZodObject<{
|
|
815
|
-
type: z.
|
|
816
|
-
path: "path";
|
|
817
|
-
url: "url";
|
|
818
|
-
artifact: "artifact";
|
|
819
|
-
}>;
|
|
883
|
+
source: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
884
|
+
type: z.ZodLiteral<"path">;
|
|
820
885
|
location: z.ZodString;
|
|
821
|
-
}, z.core.$strict
|
|
886
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
887
|
+
type: z.ZodLiteral<"url">;
|
|
888
|
+
location: z.ZodString;
|
|
889
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
890
|
+
type: z.ZodLiteral<"artifact">;
|
|
891
|
+
location: z.ZodString;
|
|
892
|
+
}, z.core.$strict>], "type">>;
|
|
822
893
|
dependencies: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
823
894
|
name: z.ZodString;
|
|
824
895
|
version: z.ZodString;
|
|
@@ -827,14 +898,16 @@ declare const generationConfigSchema: z.ZodObject<{
|
|
|
827
898
|
}, z.core.$strict>>;
|
|
828
899
|
customCode: z.ZodOptional<z.ZodObject<{
|
|
829
900
|
enabled: z.ZodBoolean;
|
|
830
|
-
source: z.ZodOptional<z.ZodObject<{
|
|
831
|
-
type: z.
|
|
832
|
-
path: "path";
|
|
833
|
-
url: "url";
|
|
834
|
-
artifact: "artifact";
|
|
835
|
-
}>;
|
|
901
|
+
source: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
902
|
+
type: z.ZodLiteral<"path">;
|
|
836
903
|
location: z.ZodString;
|
|
837
|
-
}, z.core.$strict
|
|
904
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
905
|
+
type: z.ZodLiteral<"url">;
|
|
906
|
+
location: z.ZodString;
|
|
907
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
908
|
+
type: z.ZodLiteral<"artifact">;
|
|
909
|
+
location: z.ZodString;
|
|
910
|
+
}, z.core.$strict>], "type">>;
|
|
838
911
|
conflictStrategy: z.ZodOptional<z.ZodEnum<{
|
|
839
912
|
mark: "mark";
|
|
840
913
|
ours: "ours";
|
|
@@ -907,6 +980,8 @@ declare const generationConfigSchema: z.ZodObject<{
|
|
|
907
980
|
apiErrorName: z.ZodOptional<z.ZodString>;
|
|
908
981
|
baseErrorName: z.ZodOptional<z.ZodString>;
|
|
909
982
|
pagerName: z.ZodOptional<z.ZodString>;
|
|
983
|
+
smartCasing: z.ZodOptional<z.ZodBoolean>;
|
|
984
|
+
smartCasingDigitWordBoundary: z.ZodOptional<z.ZodBoolean>;
|
|
910
985
|
}, z.core.$strict>>;
|
|
911
986
|
layout: z.ZodOptional<z.ZodObject<{
|
|
912
987
|
outputDirectory: z.ZodOptional<z.ZodEnum<{
|
|
@@ -961,6 +1036,7 @@ declare const generationConfigSchema: z.ZodObject<{
|
|
|
961
1036
|
}>>;
|
|
962
1037
|
bundle: z.ZodOptional<z.ZodBoolean>;
|
|
963
1038
|
exportClassDefault: z.ZodOptional<z.ZodBoolean>;
|
|
1039
|
+
namespaceExportName: z.ZodOptional<z.ZodString>;
|
|
964
1040
|
allowCustomFetcher: z.ZodOptional<z.ZodBoolean>;
|
|
965
1041
|
useBrandedStringAliases: z.ZodOptional<z.ZodBoolean>;
|
|
966
1042
|
useLegacyExports: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1096,6 +1172,7 @@ declare const generationConfigSchema: z.ZodObject<{
|
|
|
1096
1172
|
}>>;
|
|
1097
1173
|
bundle: z.ZodOptional<z.ZodBoolean>;
|
|
1098
1174
|
exportClassDefault: z.ZodOptional<z.ZodBoolean>;
|
|
1175
|
+
namespaceExportName: z.ZodOptional<z.ZodString>;
|
|
1099
1176
|
allowCustomFetcher: z.ZodOptional<z.ZodBoolean>;
|
|
1100
1177
|
useBrandedStringAliases: z.ZodOptional<z.ZodBoolean>;
|
|
1101
1178
|
useLegacyExports: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1601,9 +1678,9 @@ declare const sdkConfigIrV1Schema: z.ZodObject<{
|
|
|
1601
1678
|
namespace: z.ZodOptional<z.ZodString>;
|
|
1602
1679
|
specUrl: z.ZodString;
|
|
1603
1680
|
specType: z.ZodEnum<{
|
|
1604
|
-
postman: "postman";
|
|
1605
1681
|
openapi: "openapi";
|
|
1606
1682
|
swagger: "swagger";
|
|
1683
|
+
postman: "postman";
|
|
1607
1684
|
asyncapi: "asyncapi";
|
|
1608
1685
|
graphql: "graphql";
|
|
1609
1686
|
}>;
|
|
@@ -1825,16 +1902,15 @@ declare const sdkConfigIrV1Schema: z.ZodObject<{
|
|
|
1825
1902
|
maxDelayMs: z.ZodDefault<z.ZodNumber>;
|
|
1826
1903
|
jitterMs: z.ZodDefault<z.ZodNumber>;
|
|
1827
1904
|
backoffFactor: z.ZodDefault<z.ZodNumber>;
|
|
1828
|
-
statusCodes: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
1829
1905
|
methods: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1906
|
+
maxRetryAfterDelayMs: z.ZodDefault<z.ZodNumber>;
|
|
1907
|
+
statusCodes: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
1830
1908
|
statusCodeProfile: z.ZodOptional<z.ZodEnum<{
|
|
1831
1909
|
legacy: "legacy";
|
|
1832
1910
|
recommended: "recommended";
|
|
1833
1911
|
}>>;
|
|
1834
|
-
maxRetryAfterDelayMs: z.ZodDefault<z.ZodNumber>;
|
|
1835
1912
|
}, z.core.$strict>>;
|
|
1836
1913
|
responseHeaders: z.ZodDefault<z.ZodBoolean>;
|
|
1837
|
-
responseValidation: z.ZodOptional<z.ZodBoolean>;
|
|
1838
1914
|
multiTenant: z.ZodDefault<z.ZodBoolean>;
|
|
1839
1915
|
additionalConstructorParameters: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1840
1916
|
name: z.ZodString;
|
|
@@ -1842,6 +1918,7 @@ declare const sdkConfigIrV1Schema: z.ZodObject<{
|
|
|
1842
1918
|
description: z.ZodOptional<z.ZodString>;
|
|
1843
1919
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
1844
1920
|
}, z.core.$strict>>>;
|
|
1921
|
+
responseValidation: z.ZodOptional<z.ZodBoolean>;
|
|
1845
1922
|
timeoutMs: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"infinity">]>>;
|
|
1846
1923
|
requestParameterStyle: z.ZodOptional<z.ZodEnum<{
|
|
1847
1924
|
wrapped: "wrapped";
|
|
@@ -2236,14 +2313,16 @@ declare const sdkConfigIrV1Schema: z.ZodObject<{
|
|
|
2236
2313
|
reservedKeywords: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2237
2314
|
hooks: z.ZodOptional<z.ZodObject<{
|
|
2238
2315
|
enabled: z.ZodBoolean;
|
|
2239
|
-
source: z.ZodOptional<z.ZodObject<{
|
|
2240
|
-
type: z.
|
|
2241
|
-
path: "path";
|
|
2242
|
-
url: "url";
|
|
2243
|
-
artifact: "artifact";
|
|
2244
|
-
}>;
|
|
2316
|
+
source: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2317
|
+
type: z.ZodLiteral<"path">;
|
|
2245
2318
|
location: z.ZodString;
|
|
2246
|
-
}, z.core.$strict
|
|
2319
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2320
|
+
type: z.ZodLiteral<"url">;
|
|
2321
|
+
location: z.ZodString;
|
|
2322
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2323
|
+
type: z.ZodLiteral<"artifact">;
|
|
2324
|
+
location: z.ZodString;
|
|
2325
|
+
}, z.core.$strict>], "type">>;
|
|
2247
2326
|
dependencies: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2248
2327
|
name: z.ZodString;
|
|
2249
2328
|
version: z.ZodString;
|
|
@@ -2252,14 +2331,16 @@ declare const sdkConfigIrV1Schema: z.ZodObject<{
|
|
|
2252
2331
|
}, z.core.$strict>>;
|
|
2253
2332
|
customCode: z.ZodOptional<z.ZodObject<{
|
|
2254
2333
|
enabled: z.ZodBoolean;
|
|
2255
|
-
source: z.ZodOptional<z.ZodObject<{
|
|
2256
|
-
type: z.
|
|
2257
|
-
path: "path";
|
|
2258
|
-
url: "url";
|
|
2259
|
-
artifact: "artifact";
|
|
2260
|
-
}>;
|
|
2334
|
+
source: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2335
|
+
type: z.ZodLiteral<"path">;
|
|
2261
2336
|
location: z.ZodString;
|
|
2262
|
-
}, z.core.$strict
|
|
2337
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2338
|
+
type: z.ZodLiteral<"url">;
|
|
2339
|
+
location: z.ZodString;
|
|
2340
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2341
|
+
type: z.ZodLiteral<"artifact">;
|
|
2342
|
+
location: z.ZodString;
|
|
2343
|
+
}, z.core.$strict>], "type">>;
|
|
2263
2344
|
conflictStrategy: z.ZodOptional<z.ZodEnum<{
|
|
2264
2345
|
mark: "mark";
|
|
2265
2346
|
ours: "ours";
|
|
@@ -2332,6 +2413,8 @@ declare const sdkConfigIrV1Schema: z.ZodObject<{
|
|
|
2332
2413
|
apiErrorName: z.ZodOptional<z.ZodString>;
|
|
2333
2414
|
baseErrorName: z.ZodOptional<z.ZodString>;
|
|
2334
2415
|
pagerName: z.ZodOptional<z.ZodString>;
|
|
2416
|
+
smartCasing: z.ZodOptional<z.ZodBoolean>;
|
|
2417
|
+
smartCasingDigitWordBoundary: z.ZodOptional<z.ZodBoolean>;
|
|
2335
2418
|
}, z.core.$strict>>;
|
|
2336
2419
|
layout: z.ZodOptional<z.ZodObject<{
|
|
2337
2420
|
outputDirectory: z.ZodOptional<z.ZodEnum<{
|
|
@@ -2386,6 +2469,7 @@ declare const sdkConfigIrV1Schema: z.ZodObject<{
|
|
|
2386
2469
|
}>>;
|
|
2387
2470
|
bundle: z.ZodOptional<z.ZodBoolean>;
|
|
2388
2471
|
exportClassDefault: z.ZodOptional<z.ZodBoolean>;
|
|
2472
|
+
namespaceExportName: z.ZodOptional<z.ZodString>;
|
|
2389
2473
|
allowCustomFetcher: z.ZodOptional<z.ZodBoolean>;
|
|
2390
2474
|
useBrandedStringAliases: z.ZodOptional<z.ZodBoolean>;
|
|
2391
2475
|
useLegacyExports: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -2521,6 +2605,7 @@ declare const sdkConfigIrV1Schema: z.ZodObject<{
|
|
|
2521
2605
|
}>>;
|
|
2522
2606
|
bundle: z.ZodOptional<z.ZodBoolean>;
|
|
2523
2607
|
exportClassDefault: z.ZodOptional<z.ZodBoolean>;
|
|
2608
|
+
namespaceExportName: z.ZodOptional<z.ZodString>;
|
|
2524
2609
|
allowCustomFetcher: z.ZodOptional<z.ZodBoolean>;
|
|
2525
2610
|
useBrandedStringAliases: z.ZodOptional<z.ZodBoolean>;
|
|
2526
2611
|
useLegacyExports: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -2646,21 +2731,24 @@ declare const apiImportSettingsSchema: z.ZodObject<{
|
|
|
2646
2731
|
}>>;
|
|
2647
2732
|
}, z.core.$strict>;
|
|
2648
2733
|
declare const sourceSpecTypeSchema: z.ZodEnum<{
|
|
2649
|
-
postman: "postman";
|
|
2650
2734
|
openapi: "openapi";
|
|
2651
2735
|
swagger: "swagger";
|
|
2736
|
+
postman: "postman";
|
|
2652
2737
|
asyncapi: "asyncapi";
|
|
2653
2738
|
graphql: "graphql";
|
|
2654
2739
|
}>;
|
|
2740
|
+
type ApiImportSettings = z.infer<typeof apiImportSettingsSchema>;
|
|
2741
|
+
type SourceSpecType = z.infer<typeof sourceSpecTypeSchema>;
|
|
2742
|
+
|
|
2655
2743
|
declare const sourceSpecConfigSchema: z.ZodObject<{
|
|
2656
2744
|
id: z.ZodOptional<z.ZodString>;
|
|
2657
2745
|
name: z.ZodOptional<z.ZodString>;
|
|
2658
2746
|
namespace: z.ZodOptional<z.ZodString>;
|
|
2659
2747
|
specUrl: z.ZodString;
|
|
2660
2748
|
specType: z.ZodEnum<{
|
|
2661
|
-
postman: "postman";
|
|
2662
2749
|
openapi: "openapi";
|
|
2663
2750
|
swagger: "swagger";
|
|
2751
|
+
postman: "postman";
|
|
2664
2752
|
asyncapi: "asyncapi";
|
|
2665
2753
|
graphql: "graphql";
|
|
2666
2754
|
}>;
|
|
@@ -2696,9 +2784,9 @@ declare const sourceConfigSchema: z.ZodObject<{
|
|
|
2696
2784
|
namespace: z.ZodOptional<z.ZodString>;
|
|
2697
2785
|
specUrl: z.ZodString;
|
|
2698
2786
|
specType: z.ZodEnum<{
|
|
2699
|
-
postman: "postman";
|
|
2700
2787
|
openapi: "openapi";
|
|
2701
2788
|
swagger: "swagger";
|
|
2789
|
+
postman: "postman";
|
|
2702
2790
|
asyncapi: "asyncapi";
|
|
2703
2791
|
graphql: "graphql";
|
|
2704
2792
|
}>;
|
|
@@ -2750,8 +2838,7 @@ declare const sourceConfigSchema: z.ZodObject<{
|
|
|
2750
2838
|
}>>;
|
|
2751
2839
|
}, z.core.$strict>>;
|
|
2752
2840
|
}, z.core.$strict>;
|
|
2753
|
-
|
|
2754
|
-
type SourceSpecType = z.infer<typeof sourceSpecTypeSchema>;
|
|
2841
|
+
|
|
2755
2842
|
type SourceSpecConfig = z.infer<typeof sourceSpecConfigSchema>;
|
|
2756
2843
|
type SourceConfig = z.infer<typeof sourceConfigSchema>;
|
|
2757
2844
|
|
|
@@ -2811,4 +2898,4 @@ declare const targetConfigSchema: z.ZodObject<{
|
|
|
2811
2898
|
type TargetLanguage = z.infer<typeof targetLanguageSchema>;
|
|
2812
2899
|
type TargetConfig = z.infer<typeof targetConfigSchema>;
|
|
2813
2900
|
|
|
2814
|
-
export { type ApiConfig, type ApiConfigInput, type ApiImportSettings, type AuthConfig, type AuthScheme, type ClientConfig, type ClientConfigInput, type CompatibilityConfig, type CredentialResolution, type DocsConfig, type GenerationConfig, JsonObject, type LanguageGenerationConfig, type LegacyInput, type OutputConfig, type PublishConfig, type PublishRegistry, type ReadmeCustomSection, type ReadmeEndpoint, SDK_CONFIG_IR_V1_SCHEMA_VERSION, type SdkConfigIrV1, type SdkConfigIrV1Input, type SourceConfig, type SourceSpecConfig, type SourceSpecType, type TargetConfig, type TargetLanguage, type UnsupportedField, apiConfigSchema, apiImportSettingsSchema, authConfigSchema, authSchemeSchema, clientConfigSchema, compatibilityConfigSchema, docsConfigSchema, generationConfigSchema, languageGenerationConfigSchema, legacyInputSchema, outputConfigSchema, parseSdkConfigIrV1, publishConfigSchema, publishRegistrySchema, readmeCustomSectionSchema, readmeEndpointSchema, sdkConfigIrV1Schema, sourceConfigSchema, sourceSpecConfigSchema, sourceSpecTypeSchema, targetConfigSchema, targetLanguageSchema, unsupportedFieldSchema };
|
|
2901
|
+
export { type ApiConfig, type ApiConfigInput, type ApiImportSettings, type AuthConfig, type AuthScheme, type ClientConfig, type ClientConfigInput, type ClientConfigOverride, type CompatibilityConfig, type CredentialResolution, type DocsConfig, type GenerationConfig, JsonObject, type LanguageGenerationConfig, type LegacyInput, type OutputConfig, type PublishConfig, type PublishRegistry, type ReadmeCustomSection, type ReadmeEndpoint, SDK_CONFIG_IR_V1_SCHEMA_VERSION, type SdkConfigIrV1, type SdkConfigIrV1Input, type SourceConfig, type SourceSpecConfig, type SourceSpecType, type TargetConfig, type TargetLanguage, type UnsupportedField, apiConfigSchema, apiImportSettingsSchema, authConfigSchema, authSchemeSchema, clientConfigOverrideSchema, clientConfigSchema, clientRetryOverrideSchema, compatibilityConfigSchema, docsConfigSchema, generationConfigSchema, languageGenerationConfigSchema, legacyInputSchema, outputConfigSchema, parseSdkConfigIrV1, publishConfigSchema, publishRegistrySchema, readmeCustomSectionSchema, readmeEndpointSchema, sdkConfigIrV1Schema, sourceConfigSchema, sourceSpecConfigSchema, sourceSpecTypeSchema, targetConfigSchema, targetLanguageSchema, unsupportedFieldSchema };
|
|
@@ -3,6 +3,10 @@ import semver from 'semver';
|
|
|
3
3
|
|
|
4
4
|
// src/sdk-config-domain/v1/api.ts
|
|
5
5
|
var nonEmptyStringSchema = z.string().min(1);
|
|
6
|
+
var relativePathSchema = nonEmptyStringSchema.refine(
|
|
7
|
+
(value) => !/^(?:[\\/]|[A-Za-z]:)/.test(value) && !value.split(/[\\/]/).some((segment) => segment === ".."),
|
|
8
|
+
{ message: "must be a relative path without parent directory segments" }
|
|
9
|
+
);
|
|
6
10
|
var exactSemverSchema = z.string().refine(
|
|
7
11
|
(value) => {
|
|
8
12
|
if (value.trim() !== value || !/^\d/.test(value)) {
|
|
@@ -184,26 +188,42 @@ var apiConfigSchema = z.strictObject({
|
|
|
184
188
|
*/
|
|
185
189
|
audiences: z.array(nonEmptyStringSchema).optional()
|
|
186
190
|
});
|
|
191
|
+
var retryOverrideShape = {
|
|
192
|
+
enabled: z.boolean().optional(),
|
|
193
|
+
maxAttempts: z.number().int().min(1).optional(),
|
|
194
|
+
retryDelayMs: z.number().nonnegative().optional(),
|
|
195
|
+
maxDelayMs: z.number().nonnegative().optional(),
|
|
196
|
+
jitterMs: z.number().nonnegative().optional(),
|
|
197
|
+
backoffFactor: z.number().positive().optional(),
|
|
198
|
+
statusCodes: z.array(z.number().int().min(100).max(599)).optional(),
|
|
199
|
+
methods: z.array(nonEmptyStringSchema).optional(),
|
|
200
|
+
statusCodeProfile: z.enum(["legacy", "recommended"]).optional(),
|
|
201
|
+
maxRetryAfterDelayMs: z.number().nonnegative().optional()
|
|
202
|
+
};
|
|
203
|
+
function validateRetryDelays({
|
|
204
|
+
maxDelayMs,
|
|
205
|
+
retryDelayMs
|
|
206
|
+
}, context) {
|
|
207
|
+
if (maxDelayMs !== void 0 && retryDelayMs !== void 0 && maxDelayMs < retryDelayMs) {
|
|
208
|
+
context.addIssue({
|
|
209
|
+
code: "custom",
|
|
210
|
+
message: "maxDelayMs must be greater than or equal to retryDelayMs",
|
|
211
|
+
path: ["maxDelayMs"]
|
|
212
|
+
});
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
var clientRetryOverrideSchema = z.strictObject(retryOverrideShape).superRefine(validateRetryDelays);
|
|
187
216
|
var retryConfigSchema = z.strictObject({
|
|
217
|
+
...retryOverrideShape,
|
|
188
218
|
enabled: z.boolean().default(true),
|
|
189
219
|
maxAttempts: z.number().int().min(1).default(3),
|
|
190
220
|
retryDelayMs: z.number().nonnegative().default(150),
|
|
191
221
|
maxDelayMs: z.number().nonnegative().default(5e3),
|
|
192
222
|
jitterMs: z.number().nonnegative().default(50),
|
|
193
223
|
backoffFactor: z.number().positive().default(2),
|
|
194
|
-
statusCodes: z.array(z.number().int().min(100).max(599)).optional(),
|
|
195
224
|
methods: z.array(nonEmptyStringSchema).default(["GET", "POST", "PUT", "DELETE", "PATCH", "HEAD", "OPTIONS"]),
|
|
196
|
-
statusCodeProfile: z.enum(["legacy", "recommended"]).optional(),
|
|
197
225
|
maxRetryAfterDelayMs: z.number().nonnegative().default(6e4)
|
|
198
|
-
}).superRefine(
|
|
199
|
-
if (maxDelayMs < retryDelayMs) {
|
|
200
|
-
context.addIssue({
|
|
201
|
-
code: "custom",
|
|
202
|
-
message: "maxDelayMs must be greater than or equal to retryDelayMs",
|
|
203
|
-
path: ["maxDelayMs"]
|
|
204
|
-
});
|
|
205
|
-
}
|
|
206
|
-
});
|
|
226
|
+
}).superRefine(validateRetryDelays);
|
|
207
227
|
var constructorParameterSchema = z.strictObject({
|
|
208
228
|
name: nonEmptyStringSchema,
|
|
209
229
|
example: z.string().optional(),
|
|
@@ -225,12 +245,12 @@ var tokenRefreshConfigSchema = z.strictObject({
|
|
|
225
245
|
});
|
|
226
246
|
}
|
|
227
247
|
});
|
|
228
|
-
var
|
|
229
|
-
retry:
|
|
230
|
-
responseHeaders: z.boolean().
|
|
248
|
+
var clientOverrideShape = {
|
|
249
|
+
retry: clientRetryOverrideSchema.optional(),
|
|
250
|
+
responseHeaders: z.boolean().optional(),
|
|
231
251
|
responseValidation: z.boolean().optional(),
|
|
232
|
-
multiTenant: z.boolean().
|
|
233
|
-
additionalConstructorParameters: z.array(constructorParameterSchema).
|
|
252
|
+
multiTenant: z.boolean().optional(),
|
|
253
|
+
additionalConstructorParameters: z.array(constructorParameterSchema).optional(),
|
|
234
254
|
timeoutMs: z.union([z.number().nonnegative(), z.literal("infinity")]).optional(),
|
|
235
255
|
requestParameterStyle: parameterStyleSchema.optional(),
|
|
236
256
|
pathParameterStyle: parameterStyleSchema.optional(),
|
|
@@ -238,6 +258,14 @@ var clientConfigSchema = z.strictObject({
|
|
|
238
258
|
useDefaultRequestParameterValues: z.boolean().optional(),
|
|
239
259
|
respectOptionalRequestBody: z.boolean().optional(),
|
|
240
260
|
tokenRefresh: tokenRefreshConfigSchema.optional()
|
|
261
|
+
};
|
|
262
|
+
var clientConfigOverrideSchema = z.strictObject(clientOverrideShape);
|
|
263
|
+
var clientConfigSchema = z.strictObject({
|
|
264
|
+
...clientOverrideShape,
|
|
265
|
+
retry: retryConfigSchema.prefault({}),
|
|
266
|
+
responseHeaders: z.boolean().default(false),
|
|
267
|
+
multiTenant: z.boolean().default(false),
|
|
268
|
+
additionalConstructorParameters: z.array(constructorParameterSchema).default([])
|
|
241
269
|
});
|
|
242
270
|
var unsupportedFieldSchema = z.strictObject({
|
|
243
271
|
source: z.enum(["fern", "postman", "sdk-config-ir"]),
|
|
@@ -307,6 +335,18 @@ var docsConfigSchema = z.strictObject({
|
|
|
307
335
|
referenceBaseUrl: nonEmptyStringSchema.optional(),
|
|
308
336
|
includeApiReference: z.boolean().optional()
|
|
309
337
|
});
|
|
338
|
+
var namingConfigSchema = z.strictObject({
|
|
339
|
+
clientName: nonEmptyStringSchema.optional(),
|
|
340
|
+
exportedClientName: nonEmptyStringSchema.optional(),
|
|
341
|
+
environmentTypeName: nonEmptyStringSchema.optional(),
|
|
342
|
+
apiErrorName: nonEmptyStringSchema.optional(),
|
|
343
|
+
baseErrorName: nonEmptyStringSchema.optional(),
|
|
344
|
+
pagerName: nonEmptyStringSchema.optional(),
|
|
345
|
+
/** Apply Fern's initialism-aware casing rules when deriving generated identifiers. */
|
|
346
|
+
smartCasing: z.boolean().optional(),
|
|
347
|
+
/** Preserve a word boundary after digits when Fern smart casing is enabled. */
|
|
348
|
+
smartCasingDigitWordBoundary: z.boolean().optional()
|
|
349
|
+
});
|
|
310
350
|
var cliGenerationConfigSchema = z.strictObject({
|
|
311
351
|
paginationParameters: z.array(nonEmptyStringSchema).optional(),
|
|
312
352
|
skills: z.boolean().optional()
|
|
@@ -368,6 +408,8 @@ var typescriptGenerationConfigSchema = z.strictObject({
|
|
|
368
408
|
namingStrategy: z.enum(["base", "originalPropertyNames"]).optional(),
|
|
369
409
|
bundle: z.boolean().optional(),
|
|
370
410
|
exportClassDefault: z.boolean().optional(),
|
|
411
|
+
/** Name of the top-level namespace export emitted by Fern-compatible TypeScript SDKs. */
|
|
412
|
+
namespaceExportName: nonEmptyStringSchema.optional(),
|
|
371
413
|
allowCustomFetcher: z.boolean().optional(),
|
|
372
414
|
useBrandedStringAliases: z.boolean().optional(),
|
|
373
415
|
useLegacyExports: z.boolean().optional(),
|
|
@@ -445,7 +487,7 @@ var swiftGenerationConfigSchema = z.strictObject({
|
|
|
445
487
|
moduleName: nonEmptyStringSchema.optional(),
|
|
446
488
|
nullableAsOptional: z.boolean().optional()
|
|
447
489
|
});
|
|
448
|
-
var goModulePathSchema =
|
|
490
|
+
var goModulePathSchema = relativePathSchema.regex(
|
|
449
491
|
/^(?!.*(?:^|\/)\.{1,2}(?:\/|$))[A-Za-z0-9._~-]+(?:\/[A-Za-z0-9._~-]+)+$/,
|
|
450
492
|
"Go module path must be a slash-delimited path using letters, numbers, dots, dashes, underscores, or tildes"
|
|
451
493
|
);
|
|
@@ -548,10 +590,11 @@ var terraformGenerationConfigSchema = z.strictObject({
|
|
|
548
590
|
});
|
|
549
591
|
|
|
550
592
|
// src/sdk-config-ir/v1/generation.ts
|
|
551
|
-
var generationAssetSchema = z.
|
|
552
|
-
type: z.
|
|
553
|
-
location: nonEmptyStringSchema
|
|
554
|
-
})
|
|
593
|
+
var generationAssetSchema = z.discriminatedUnion("type", [
|
|
594
|
+
z.strictObject({ type: z.literal("path"), location: relativePathSchema }),
|
|
595
|
+
z.strictObject({ type: z.literal("url"), location: nonEmptyStringSchema }),
|
|
596
|
+
z.strictObject({ type: z.literal("artifact"), location: nonEmptyStringSchema })
|
|
597
|
+
]);
|
|
555
598
|
var hookDependencySchema = z.strictObject({
|
|
556
599
|
name: nonEmptyStringSchema,
|
|
557
600
|
version: nonEmptyStringSchema,
|
|
@@ -571,7 +614,7 @@ var customCodeConfigSchema = z.strictObject({
|
|
|
571
614
|
protectedFiles: z.array(nonEmptyStringSchema).optional()
|
|
572
615
|
});
|
|
573
616
|
var workflowConfigSchema = z.strictObject({
|
|
574
|
-
path:
|
|
617
|
+
path: relativePathSchema,
|
|
575
618
|
outputName: nonEmptyStringSchema.optional()
|
|
576
619
|
});
|
|
577
620
|
var analyticsHeaderSchema = z.union([
|
|
@@ -617,14 +660,6 @@ var streamsSchema = z.strictObject({
|
|
|
617
660
|
fileResponseType: z.enum(["stream", "binary-response"]).optional(),
|
|
618
661
|
defaultChunkSizeBytes: z.number().int().positive().optional()
|
|
619
662
|
});
|
|
620
|
-
var namingConfigSchema = z.strictObject({
|
|
621
|
-
clientName: nonEmptyStringSchema.optional(),
|
|
622
|
-
exportedClientName: nonEmptyStringSchema.optional(),
|
|
623
|
-
environmentTypeName: nonEmptyStringSchema.optional(),
|
|
624
|
-
apiErrorName: nonEmptyStringSchema.optional(),
|
|
625
|
-
baseErrorName: nonEmptyStringSchema.optional(),
|
|
626
|
-
pagerName: nonEmptyStringSchema.optional()
|
|
627
|
-
});
|
|
628
663
|
var layoutConfigSchema = z.strictObject({
|
|
629
664
|
outputDirectory: z.enum(["project-root", "source-root"]).optional(),
|
|
630
665
|
packagePath: nonEmptyStringSchema.optional()
|
|
@@ -677,7 +712,7 @@ var generationConfigSchema = z.strictObject({
|
|
|
677
712
|
hooks: hooksConfigSchema.optional(),
|
|
678
713
|
customCode: customCodeConfigSchema.optional(),
|
|
679
714
|
workflows: z.array(workflowConfigSchema).optional(),
|
|
680
|
-
customQueryPaths: z.array(
|
|
715
|
+
customQueryPaths: z.array(relativePathSchema).optional(),
|
|
681
716
|
analytics: analyticsConfigSchema.optional(),
|
|
682
717
|
wireTests: wireTestsSchema.optional(),
|
|
683
718
|
unitTests: unitTestsSchema.optional(),
|
|
@@ -812,6 +847,8 @@ var sourceSpecTypeSchema = z.enum([
|
|
|
812
847
|
"asyncapi",
|
|
813
848
|
"graphql"
|
|
814
849
|
]);
|
|
850
|
+
|
|
851
|
+
// src/sdk-config-ir/v1/source.ts
|
|
815
852
|
var sourceSpecConfigSchema = z.strictObject({
|
|
816
853
|
id: nonEmptyStringSchema.optional(),
|
|
817
854
|
name: nonEmptyStringSchema.optional(),
|
|
@@ -999,6 +1036,6 @@ function parseSdkConfigIrV1(value) {
|
|
|
999
1036
|
return sdkConfigIrV1Schema.parse(value);
|
|
1000
1037
|
}
|
|
1001
1038
|
|
|
1002
|
-
export { SDK_CONFIG_IR_V1_SCHEMA_VERSION, apiConfigSchema, apiImportSettingsSchema, authConfigSchema, authSchemeSchema, cliGenerationConfigSchema, clientConfigSchema, compatibilityConfigSchema, composerPackageNameSchema, csharpGenerationConfigSchema, dependencySchema, docsConfigSchema, exactSemverSchema, generationConfigSchema, goGenerationConfigSchema, goModulePathSchema, javaGenerationConfigSchema, jsonObjectSchema, jsonValueSchema, kotlinGenerationConfigSchema, languageGenerationConfigSchema, legacyInputSchema, mcpAvailabilityStatuses, mcpGenerationConfigSchema, nonEmptyStringSchema, outputConfigSchema, packageConfigSchema, parseSdkConfigIrV1, phpGenerationConfigSchema, publishConfigSchema, publishRegistrySchema, pythonGenerationConfigSchema, readmeCustomSectionSchema, readmeEndpointSchema, rubyGenerationConfigSchema, rustGenerationConfigSchema, sdkConfigIrV1Schema, sourceConfigSchema, sourceSpecConfigSchema, sourceSpecTypeSchema, swiftGenerationConfigSchema, targetConfigSchema, targetLanguageSchema, terraformGenerationConfigSchema, typescriptGenerationConfigSchema, unsupportedFieldSchema };
|
|
1039
|
+
export { SDK_CONFIG_IR_V1_SCHEMA_VERSION, apiConfigSchema, apiImportSettingsSchema, authConfigSchema, authSchemeSchema, cliGenerationConfigSchema, clientConfigOverrideSchema, clientConfigSchema, clientRetryOverrideSchema, compatibilityConfigSchema, composerPackageNameSchema, csharpGenerationConfigSchema, dependencySchema, docsConfigSchema, exactSemverSchema, generationConfigSchema, goGenerationConfigSchema, goModulePathSchema, javaGenerationConfigSchema, jsonObjectSchema, jsonValueSchema, kotlinGenerationConfigSchema, languageGenerationConfigSchema, legacyInputSchema, mcpAvailabilityStatuses, mcpGenerationConfigSchema, nonEmptyStringSchema, outputConfigSchema, packageConfigSchema, parseSdkConfigIrV1, phpGenerationConfigSchema, publishConfigSchema, publishRegistrySchema, pythonGenerationConfigSchema, readmeCustomSectionSchema, readmeEndpointSchema, relativePathSchema, rubyGenerationConfigSchema, rustGenerationConfigSchema, sdkConfigIrV1Schema, sourceConfigSchema, sourceSpecConfigSchema, sourceSpecTypeSchema, swiftGenerationConfigSchema, targetConfigSchema, targetLanguageSchema, terraformGenerationConfigSchema, typescriptGenerationConfigSchema, unsupportedFieldSchema };
|
|
1003
1040
|
//# sourceMappingURL=index.js.map
|
|
1004
1041
|
//# sourceMappingURL=index.js.map
|