@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.cjs';
|
|
2
|
+
export { C as CliGenerationConfig, a as CsharpGenerationConfig, D as Dependency, G as GoGenerationConfig, J as JavaGenerationConfig, c as JsonValue, K as KotlinGenerationConfig, M as McpAvailabilityStatus, d as McpGenerationConfig, e as McpToolFilter, P as PackageConfig, f as PhpGenerationConfig, g as PlanModifiers, h as PythonGenerationConfig, R as RubyGenerationConfig, i as RustGenerationConfig, S as SwiftGenerationConfig, T as TerraformGenerationConfig, j as TypescriptGenerationConfig, k as cliGenerationConfigSchema, l as composerPackageNameSchema, m as csharpGenerationConfigSchema, n as dependencySchema, o as exactSemverSchema, p as goGenerationConfigSchema, q as goModulePathSchema, r as javaGenerationConfigSchema, s as jsonObjectSchema, t as jsonValueSchema, u as kotlinGenerationConfigSchema, v as mcpAvailabilityStatuses, w as mcpGenerationConfigSchema, x as nonEmptyStringSchema, y as packageConfigSchema, z as phpGenerationConfigSchema, A as pythonGenerationConfigSchema, B as relativePathSchema, E as rubyGenerationConfigSchema, F as rustGenerationConfigSchema, H as swiftGenerationConfigSchema, I as terraformGenerationConfigSchema, L as typescriptGenerationConfigSchema } from '../../typescript-DNqK3T3v.cjs';
|
|
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 };
|