@postman/sdk-config 0.1.1 → 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 +29 -12
- package/dist/index.cjs +284 -139
- 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 +277 -140
- package/dist/index.js.map +1 -1
- package/dist/sdk-config/index.cjs +281 -109
- 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 +276 -110
- package/dist/sdk-config/index.js.map +1 -1
- package/dist/sdk-config/v1/index.cjs +281 -109
- 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 +276 -110
- package/dist/sdk-config/v1/index.js.map +1 -1
- package/dist/sdk-config-ir/index.cjs +58 -24
- 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 +57 -25
- package/dist/sdk-config-ir/index.js.map +1 -1
- package/dist/sdk-config-ir/v1/index.cjs +58 -24
- package/dist/sdk-config-ir/v1/index.cjs.map +1 -1
- package/dist/sdk-config-ir/v1/index.d.cts +94 -15
- package/dist/sdk-config-ir/v1/index.d.ts +94 -15
- package/dist/sdk-config-ir/v1/index.js +57 -25
- package/dist/sdk-config-ir/v1/index.js.map +1 -1
- package/dist/{typescript-DK97815_.d.cts → typescript-DNqK3T3v.d.cts} +3 -0
- package/dist/{typescript-DK97815_.d.ts → typescript-DNqK3T3v.d.ts} +3 -0
- package/docs/releasing.md +114 -0
- package/package.json +1 -1
- 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 relativePathSchema, E as rubyGenerationConfigSchema, F as rustGenerationConfigSchema, H as swiftGenerationConfigSchema, I as terraformGenerationConfigSchema, L as typescriptGenerationConfigSchema } from '../../typescript-
|
|
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>;
|
|
@@ -911,6 +980,8 @@ declare const generationConfigSchema: z.ZodObject<{
|
|
|
911
980
|
apiErrorName: z.ZodOptional<z.ZodString>;
|
|
912
981
|
baseErrorName: z.ZodOptional<z.ZodString>;
|
|
913
982
|
pagerName: z.ZodOptional<z.ZodString>;
|
|
983
|
+
smartCasing: z.ZodOptional<z.ZodBoolean>;
|
|
984
|
+
smartCasingDigitWordBoundary: z.ZodOptional<z.ZodBoolean>;
|
|
914
985
|
}, z.core.$strict>>;
|
|
915
986
|
layout: z.ZodOptional<z.ZodObject<{
|
|
916
987
|
outputDirectory: z.ZodOptional<z.ZodEnum<{
|
|
@@ -965,6 +1036,7 @@ declare const generationConfigSchema: z.ZodObject<{
|
|
|
965
1036
|
}>>;
|
|
966
1037
|
bundle: z.ZodOptional<z.ZodBoolean>;
|
|
967
1038
|
exportClassDefault: z.ZodOptional<z.ZodBoolean>;
|
|
1039
|
+
namespaceExportName: z.ZodOptional<z.ZodString>;
|
|
968
1040
|
allowCustomFetcher: z.ZodOptional<z.ZodBoolean>;
|
|
969
1041
|
useBrandedStringAliases: z.ZodOptional<z.ZodBoolean>;
|
|
970
1042
|
useLegacyExports: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1100,6 +1172,7 @@ declare const generationConfigSchema: z.ZodObject<{
|
|
|
1100
1172
|
}>>;
|
|
1101
1173
|
bundle: z.ZodOptional<z.ZodBoolean>;
|
|
1102
1174
|
exportClassDefault: z.ZodOptional<z.ZodBoolean>;
|
|
1175
|
+
namespaceExportName: z.ZodOptional<z.ZodString>;
|
|
1103
1176
|
allowCustomFetcher: z.ZodOptional<z.ZodBoolean>;
|
|
1104
1177
|
useBrandedStringAliases: z.ZodOptional<z.ZodBoolean>;
|
|
1105
1178
|
useLegacyExports: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1605,9 +1678,9 @@ declare const sdkConfigIrV1Schema: z.ZodObject<{
|
|
|
1605
1678
|
namespace: z.ZodOptional<z.ZodString>;
|
|
1606
1679
|
specUrl: z.ZodString;
|
|
1607
1680
|
specType: z.ZodEnum<{
|
|
1608
|
-
postman: "postman";
|
|
1609
1681
|
openapi: "openapi";
|
|
1610
1682
|
swagger: "swagger";
|
|
1683
|
+
postman: "postman";
|
|
1611
1684
|
asyncapi: "asyncapi";
|
|
1612
1685
|
graphql: "graphql";
|
|
1613
1686
|
}>;
|
|
@@ -1829,16 +1902,15 @@ declare const sdkConfigIrV1Schema: z.ZodObject<{
|
|
|
1829
1902
|
maxDelayMs: z.ZodDefault<z.ZodNumber>;
|
|
1830
1903
|
jitterMs: z.ZodDefault<z.ZodNumber>;
|
|
1831
1904
|
backoffFactor: z.ZodDefault<z.ZodNumber>;
|
|
1832
|
-
statusCodes: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
1833
1905
|
methods: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1906
|
+
maxRetryAfterDelayMs: z.ZodDefault<z.ZodNumber>;
|
|
1907
|
+
statusCodes: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
1834
1908
|
statusCodeProfile: z.ZodOptional<z.ZodEnum<{
|
|
1835
1909
|
legacy: "legacy";
|
|
1836
1910
|
recommended: "recommended";
|
|
1837
1911
|
}>>;
|
|
1838
|
-
maxRetryAfterDelayMs: z.ZodDefault<z.ZodNumber>;
|
|
1839
1912
|
}, z.core.$strict>>;
|
|
1840
1913
|
responseHeaders: z.ZodDefault<z.ZodBoolean>;
|
|
1841
|
-
responseValidation: z.ZodOptional<z.ZodBoolean>;
|
|
1842
1914
|
multiTenant: z.ZodDefault<z.ZodBoolean>;
|
|
1843
1915
|
additionalConstructorParameters: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1844
1916
|
name: z.ZodString;
|
|
@@ -1846,6 +1918,7 @@ declare const sdkConfigIrV1Schema: z.ZodObject<{
|
|
|
1846
1918
|
description: z.ZodOptional<z.ZodString>;
|
|
1847
1919
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
1848
1920
|
}, z.core.$strict>>>;
|
|
1921
|
+
responseValidation: z.ZodOptional<z.ZodBoolean>;
|
|
1849
1922
|
timeoutMs: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"infinity">]>>;
|
|
1850
1923
|
requestParameterStyle: z.ZodOptional<z.ZodEnum<{
|
|
1851
1924
|
wrapped: "wrapped";
|
|
@@ -2340,6 +2413,8 @@ declare const sdkConfigIrV1Schema: z.ZodObject<{
|
|
|
2340
2413
|
apiErrorName: z.ZodOptional<z.ZodString>;
|
|
2341
2414
|
baseErrorName: z.ZodOptional<z.ZodString>;
|
|
2342
2415
|
pagerName: z.ZodOptional<z.ZodString>;
|
|
2416
|
+
smartCasing: z.ZodOptional<z.ZodBoolean>;
|
|
2417
|
+
smartCasingDigitWordBoundary: z.ZodOptional<z.ZodBoolean>;
|
|
2343
2418
|
}, z.core.$strict>>;
|
|
2344
2419
|
layout: z.ZodOptional<z.ZodObject<{
|
|
2345
2420
|
outputDirectory: z.ZodOptional<z.ZodEnum<{
|
|
@@ -2394,6 +2469,7 @@ declare const sdkConfigIrV1Schema: z.ZodObject<{
|
|
|
2394
2469
|
}>>;
|
|
2395
2470
|
bundle: z.ZodOptional<z.ZodBoolean>;
|
|
2396
2471
|
exportClassDefault: z.ZodOptional<z.ZodBoolean>;
|
|
2472
|
+
namespaceExportName: z.ZodOptional<z.ZodString>;
|
|
2397
2473
|
allowCustomFetcher: z.ZodOptional<z.ZodBoolean>;
|
|
2398
2474
|
useBrandedStringAliases: z.ZodOptional<z.ZodBoolean>;
|
|
2399
2475
|
useLegacyExports: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -2529,6 +2605,7 @@ declare const sdkConfigIrV1Schema: z.ZodObject<{
|
|
|
2529
2605
|
}>>;
|
|
2530
2606
|
bundle: z.ZodOptional<z.ZodBoolean>;
|
|
2531
2607
|
exportClassDefault: z.ZodOptional<z.ZodBoolean>;
|
|
2608
|
+
namespaceExportName: z.ZodOptional<z.ZodString>;
|
|
2532
2609
|
allowCustomFetcher: z.ZodOptional<z.ZodBoolean>;
|
|
2533
2610
|
useBrandedStringAliases: z.ZodOptional<z.ZodBoolean>;
|
|
2534
2611
|
useLegacyExports: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -2654,21 +2731,24 @@ declare const apiImportSettingsSchema: z.ZodObject<{
|
|
|
2654
2731
|
}>>;
|
|
2655
2732
|
}, z.core.$strict>;
|
|
2656
2733
|
declare const sourceSpecTypeSchema: z.ZodEnum<{
|
|
2657
|
-
postman: "postman";
|
|
2658
2734
|
openapi: "openapi";
|
|
2659
2735
|
swagger: "swagger";
|
|
2736
|
+
postman: "postman";
|
|
2660
2737
|
asyncapi: "asyncapi";
|
|
2661
2738
|
graphql: "graphql";
|
|
2662
2739
|
}>;
|
|
2740
|
+
type ApiImportSettings = z.infer<typeof apiImportSettingsSchema>;
|
|
2741
|
+
type SourceSpecType = z.infer<typeof sourceSpecTypeSchema>;
|
|
2742
|
+
|
|
2663
2743
|
declare const sourceSpecConfigSchema: z.ZodObject<{
|
|
2664
2744
|
id: z.ZodOptional<z.ZodString>;
|
|
2665
2745
|
name: z.ZodOptional<z.ZodString>;
|
|
2666
2746
|
namespace: z.ZodOptional<z.ZodString>;
|
|
2667
2747
|
specUrl: z.ZodString;
|
|
2668
2748
|
specType: z.ZodEnum<{
|
|
2669
|
-
postman: "postman";
|
|
2670
2749
|
openapi: "openapi";
|
|
2671
2750
|
swagger: "swagger";
|
|
2751
|
+
postman: "postman";
|
|
2672
2752
|
asyncapi: "asyncapi";
|
|
2673
2753
|
graphql: "graphql";
|
|
2674
2754
|
}>;
|
|
@@ -2704,9 +2784,9 @@ declare const sourceConfigSchema: z.ZodObject<{
|
|
|
2704
2784
|
namespace: z.ZodOptional<z.ZodString>;
|
|
2705
2785
|
specUrl: z.ZodString;
|
|
2706
2786
|
specType: z.ZodEnum<{
|
|
2707
|
-
postman: "postman";
|
|
2708
2787
|
openapi: "openapi";
|
|
2709
2788
|
swagger: "swagger";
|
|
2789
|
+
postman: "postman";
|
|
2710
2790
|
asyncapi: "asyncapi";
|
|
2711
2791
|
graphql: "graphql";
|
|
2712
2792
|
}>;
|
|
@@ -2758,8 +2838,7 @@ declare const sourceConfigSchema: z.ZodObject<{
|
|
|
2758
2838
|
}>>;
|
|
2759
2839
|
}, z.core.$strict>>;
|
|
2760
2840
|
}, z.core.$strict>;
|
|
2761
|
-
|
|
2762
|
-
type SourceSpecType = z.infer<typeof sourceSpecTypeSchema>;
|
|
2841
|
+
|
|
2763
2842
|
type SourceSpecConfig = z.infer<typeof sourceSpecConfigSchema>;
|
|
2764
2843
|
type SourceConfig = z.infer<typeof sourceConfigSchema>;
|
|
2765
2844
|
|
|
@@ -2819,4 +2898,4 @@ declare const targetConfigSchema: z.ZodObject<{
|
|
|
2819
2898
|
type TargetLanguage = z.infer<typeof targetLanguageSchema>;
|
|
2820
2899
|
type TargetConfig = z.infer<typeof targetConfigSchema>;
|
|
2821
2900
|
|
|
2822
|
-
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 };
|
|
@@ -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 relativePathSchema, E as rubyGenerationConfigSchema, F as rustGenerationConfigSchema, H as swiftGenerationConfigSchema, I as terraformGenerationConfigSchema, L as typescriptGenerationConfigSchema } from '../../typescript-
|
|
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>;
|
|
@@ -911,6 +980,8 @@ declare const generationConfigSchema: z.ZodObject<{
|
|
|
911
980
|
apiErrorName: z.ZodOptional<z.ZodString>;
|
|
912
981
|
baseErrorName: z.ZodOptional<z.ZodString>;
|
|
913
982
|
pagerName: z.ZodOptional<z.ZodString>;
|
|
983
|
+
smartCasing: z.ZodOptional<z.ZodBoolean>;
|
|
984
|
+
smartCasingDigitWordBoundary: z.ZodOptional<z.ZodBoolean>;
|
|
914
985
|
}, z.core.$strict>>;
|
|
915
986
|
layout: z.ZodOptional<z.ZodObject<{
|
|
916
987
|
outputDirectory: z.ZodOptional<z.ZodEnum<{
|
|
@@ -965,6 +1036,7 @@ declare const generationConfigSchema: z.ZodObject<{
|
|
|
965
1036
|
}>>;
|
|
966
1037
|
bundle: z.ZodOptional<z.ZodBoolean>;
|
|
967
1038
|
exportClassDefault: z.ZodOptional<z.ZodBoolean>;
|
|
1039
|
+
namespaceExportName: z.ZodOptional<z.ZodString>;
|
|
968
1040
|
allowCustomFetcher: z.ZodOptional<z.ZodBoolean>;
|
|
969
1041
|
useBrandedStringAliases: z.ZodOptional<z.ZodBoolean>;
|
|
970
1042
|
useLegacyExports: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1100,6 +1172,7 @@ declare const generationConfigSchema: z.ZodObject<{
|
|
|
1100
1172
|
}>>;
|
|
1101
1173
|
bundle: z.ZodOptional<z.ZodBoolean>;
|
|
1102
1174
|
exportClassDefault: z.ZodOptional<z.ZodBoolean>;
|
|
1175
|
+
namespaceExportName: z.ZodOptional<z.ZodString>;
|
|
1103
1176
|
allowCustomFetcher: z.ZodOptional<z.ZodBoolean>;
|
|
1104
1177
|
useBrandedStringAliases: z.ZodOptional<z.ZodBoolean>;
|
|
1105
1178
|
useLegacyExports: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1605,9 +1678,9 @@ declare const sdkConfigIrV1Schema: z.ZodObject<{
|
|
|
1605
1678
|
namespace: z.ZodOptional<z.ZodString>;
|
|
1606
1679
|
specUrl: z.ZodString;
|
|
1607
1680
|
specType: z.ZodEnum<{
|
|
1608
|
-
postman: "postman";
|
|
1609
1681
|
openapi: "openapi";
|
|
1610
1682
|
swagger: "swagger";
|
|
1683
|
+
postman: "postman";
|
|
1611
1684
|
asyncapi: "asyncapi";
|
|
1612
1685
|
graphql: "graphql";
|
|
1613
1686
|
}>;
|
|
@@ -1829,16 +1902,15 @@ declare const sdkConfigIrV1Schema: z.ZodObject<{
|
|
|
1829
1902
|
maxDelayMs: z.ZodDefault<z.ZodNumber>;
|
|
1830
1903
|
jitterMs: z.ZodDefault<z.ZodNumber>;
|
|
1831
1904
|
backoffFactor: z.ZodDefault<z.ZodNumber>;
|
|
1832
|
-
statusCodes: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
1833
1905
|
methods: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1906
|
+
maxRetryAfterDelayMs: z.ZodDefault<z.ZodNumber>;
|
|
1907
|
+
statusCodes: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
1834
1908
|
statusCodeProfile: z.ZodOptional<z.ZodEnum<{
|
|
1835
1909
|
legacy: "legacy";
|
|
1836
1910
|
recommended: "recommended";
|
|
1837
1911
|
}>>;
|
|
1838
|
-
maxRetryAfterDelayMs: z.ZodDefault<z.ZodNumber>;
|
|
1839
1912
|
}, z.core.$strict>>;
|
|
1840
1913
|
responseHeaders: z.ZodDefault<z.ZodBoolean>;
|
|
1841
|
-
responseValidation: z.ZodOptional<z.ZodBoolean>;
|
|
1842
1914
|
multiTenant: z.ZodDefault<z.ZodBoolean>;
|
|
1843
1915
|
additionalConstructorParameters: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1844
1916
|
name: z.ZodString;
|
|
@@ -1846,6 +1918,7 @@ declare const sdkConfigIrV1Schema: z.ZodObject<{
|
|
|
1846
1918
|
description: z.ZodOptional<z.ZodString>;
|
|
1847
1919
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
1848
1920
|
}, z.core.$strict>>>;
|
|
1921
|
+
responseValidation: z.ZodOptional<z.ZodBoolean>;
|
|
1849
1922
|
timeoutMs: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"infinity">]>>;
|
|
1850
1923
|
requestParameterStyle: z.ZodOptional<z.ZodEnum<{
|
|
1851
1924
|
wrapped: "wrapped";
|
|
@@ -2340,6 +2413,8 @@ declare const sdkConfigIrV1Schema: z.ZodObject<{
|
|
|
2340
2413
|
apiErrorName: z.ZodOptional<z.ZodString>;
|
|
2341
2414
|
baseErrorName: z.ZodOptional<z.ZodString>;
|
|
2342
2415
|
pagerName: z.ZodOptional<z.ZodString>;
|
|
2416
|
+
smartCasing: z.ZodOptional<z.ZodBoolean>;
|
|
2417
|
+
smartCasingDigitWordBoundary: z.ZodOptional<z.ZodBoolean>;
|
|
2343
2418
|
}, z.core.$strict>>;
|
|
2344
2419
|
layout: z.ZodOptional<z.ZodObject<{
|
|
2345
2420
|
outputDirectory: z.ZodOptional<z.ZodEnum<{
|
|
@@ -2394,6 +2469,7 @@ declare const sdkConfigIrV1Schema: z.ZodObject<{
|
|
|
2394
2469
|
}>>;
|
|
2395
2470
|
bundle: z.ZodOptional<z.ZodBoolean>;
|
|
2396
2471
|
exportClassDefault: z.ZodOptional<z.ZodBoolean>;
|
|
2472
|
+
namespaceExportName: z.ZodOptional<z.ZodString>;
|
|
2397
2473
|
allowCustomFetcher: z.ZodOptional<z.ZodBoolean>;
|
|
2398
2474
|
useBrandedStringAliases: z.ZodOptional<z.ZodBoolean>;
|
|
2399
2475
|
useLegacyExports: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -2529,6 +2605,7 @@ declare const sdkConfigIrV1Schema: z.ZodObject<{
|
|
|
2529
2605
|
}>>;
|
|
2530
2606
|
bundle: z.ZodOptional<z.ZodBoolean>;
|
|
2531
2607
|
exportClassDefault: z.ZodOptional<z.ZodBoolean>;
|
|
2608
|
+
namespaceExportName: z.ZodOptional<z.ZodString>;
|
|
2532
2609
|
allowCustomFetcher: z.ZodOptional<z.ZodBoolean>;
|
|
2533
2610
|
useBrandedStringAliases: z.ZodOptional<z.ZodBoolean>;
|
|
2534
2611
|
useLegacyExports: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -2654,21 +2731,24 @@ declare const apiImportSettingsSchema: z.ZodObject<{
|
|
|
2654
2731
|
}>>;
|
|
2655
2732
|
}, z.core.$strict>;
|
|
2656
2733
|
declare const sourceSpecTypeSchema: z.ZodEnum<{
|
|
2657
|
-
postman: "postman";
|
|
2658
2734
|
openapi: "openapi";
|
|
2659
2735
|
swagger: "swagger";
|
|
2736
|
+
postman: "postman";
|
|
2660
2737
|
asyncapi: "asyncapi";
|
|
2661
2738
|
graphql: "graphql";
|
|
2662
2739
|
}>;
|
|
2740
|
+
type ApiImportSettings = z.infer<typeof apiImportSettingsSchema>;
|
|
2741
|
+
type SourceSpecType = z.infer<typeof sourceSpecTypeSchema>;
|
|
2742
|
+
|
|
2663
2743
|
declare const sourceSpecConfigSchema: z.ZodObject<{
|
|
2664
2744
|
id: z.ZodOptional<z.ZodString>;
|
|
2665
2745
|
name: z.ZodOptional<z.ZodString>;
|
|
2666
2746
|
namespace: z.ZodOptional<z.ZodString>;
|
|
2667
2747
|
specUrl: z.ZodString;
|
|
2668
2748
|
specType: z.ZodEnum<{
|
|
2669
|
-
postman: "postman";
|
|
2670
2749
|
openapi: "openapi";
|
|
2671
2750
|
swagger: "swagger";
|
|
2751
|
+
postman: "postman";
|
|
2672
2752
|
asyncapi: "asyncapi";
|
|
2673
2753
|
graphql: "graphql";
|
|
2674
2754
|
}>;
|
|
@@ -2704,9 +2784,9 @@ declare const sourceConfigSchema: z.ZodObject<{
|
|
|
2704
2784
|
namespace: z.ZodOptional<z.ZodString>;
|
|
2705
2785
|
specUrl: z.ZodString;
|
|
2706
2786
|
specType: z.ZodEnum<{
|
|
2707
|
-
postman: "postman";
|
|
2708
2787
|
openapi: "openapi";
|
|
2709
2788
|
swagger: "swagger";
|
|
2789
|
+
postman: "postman";
|
|
2710
2790
|
asyncapi: "asyncapi";
|
|
2711
2791
|
graphql: "graphql";
|
|
2712
2792
|
}>;
|
|
@@ -2758,8 +2838,7 @@ declare const sourceConfigSchema: z.ZodObject<{
|
|
|
2758
2838
|
}>>;
|
|
2759
2839
|
}, z.core.$strict>>;
|
|
2760
2840
|
}, z.core.$strict>;
|
|
2761
|
-
|
|
2762
|
-
type SourceSpecType = z.infer<typeof sourceSpecTypeSchema>;
|
|
2841
|
+
|
|
2763
2842
|
type SourceSpecConfig = z.infer<typeof sourceSpecConfigSchema>;
|
|
2764
2843
|
type SourceConfig = z.infer<typeof sourceConfigSchema>;
|
|
2765
2844
|
|
|
@@ -2819,4 +2898,4 @@ declare const targetConfigSchema: z.ZodObject<{
|
|
|
2819
2898
|
type TargetLanguage = z.infer<typeof targetLanguageSchema>;
|
|
2820
2899
|
type TargetConfig = z.infer<typeof targetConfigSchema>;
|
|
2821
2900
|
|
|
2822
|
-
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 };
|