@fern-api/dynamic-ir-sdk 63.2.0 → 64.0.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/dist/cjs/BaseClient.d.ts +32 -0
- package/dist/cjs/BaseClient.js +50 -0
- package/dist/cjs/api/index.d.ts +1 -0
- package/dist/cjs/api/index.js +17 -0
- package/dist/cjs/api/resources/commons/index.d.ts +1 -0
- package/dist/cjs/api/resources/commons/index.js +17 -0
- package/dist/cjs/api/resources/commons/types/Name.d.ts +8 -0
- package/dist/cjs/api/resources/commons/types/Name.js +3 -0
- package/dist/cjs/api/resources/commons/types/SafeAndUnsafeString.d.ts +6 -0
- package/dist/cjs/api/resources/commons/types/SafeAndUnsafeString.js +3 -0
- package/dist/cjs/api/resources/commons/types/index.d.ts +2 -0
- package/dist/cjs/api/resources/commons/types/index.js +18 -0
- package/dist/cjs/api/resources/dynamic/index.d.ts +1 -0
- package/dist/cjs/api/resources/dynamic/index.js +17 -0
- package/dist/cjs/api/resources/dynamic/resources/auth/index.d.ts +1 -0
- package/dist/cjs/api/resources/dynamic/resources/auth/index.js +17 -0
- package/dist/cjs/api/resources/dynamic/resources/auth/types/Auth.d.ts +19 -0
- package/dist/cjs/api/resources/dynamic/resources/auth/types/Auth.js +3 -0
- package/dist/cjs/api/resources/dynamic/resources/auth/types/AuthValues.d.ts +19 -0
- package/dist/cjs/api/resources/dynamic/resources/auth/types/AuthValues.js +3 -0
- package/dist/cjs/api/resources/dynamic/resources/auth/types/BasicAuth.d.ts +5 -0
- package/dist/cjs/api/resources/dynamic/resources/auth/types/BasicAuth.js +3 -0
- package/dist/cjs/api/resources/dynamic/resources/auth/types/BasicAuthValues.d.ts +4 -0
- package/dist/cjs/api/resources/dynamic/resources/auth/types/BasicAuthValues.js +3 -0
- package/dist/cjs/api/resources/dynamic/resources/auth/types/BearerAuth.d.ts +4 -0
- package/dist/cjs/api/resources/dynamic/resources/auth/types/BearerAuth.js +3 -0
- package/dist/cjs/api/resources/dynamic/resources/auth/types/BearerAuthValues.d.ts +3 -0
- package/dist/cjs/api/resources/dynamic/resources/auth/types/BearerAuthValues.js +3 -0
- package/dist/cjs/api/resources/dynamic/resources/auth/types/HeaderAuth.d.ts +4 -0
- package/dist/cjs/api/resources/dynamic/resources/auth/types/HeaderAuth.js +3 -0
- package/dist/cjs/api/resources/dynamic/resources/auth/types/HeaderAuthValues.d.ts +3 -0
- package/dist/cjs/api/resources/dynamic/resources/auth/types/HeaderAuthValues.js +3 -0
- package/dist/cjs/api/resources/dynamic/resources/auth/types/InferredAuth.d.ts +9 -0
- package/dist/cjs/api/resources/dynamic/resources/auth/types/InferredAuth.js +3 -0
- package/dist/cjs/api/resources/dynamic/resources/auth/types/InferredAuthValues.d.ts +8 -0
- package/dist/cjs/api/resources/dynamic/resources/auth/types/InferredAuthValues.js +3 -0
- package/dist/cjs/api/resources/dynamic/resources/auth/types/OAuth.d.ts +5 -0
- package/dist/cjs/api/resources/dynamic/resources/auth/types/OAuth.js +3 -0
- package/dist/cjs/api/resources/dynamic/resources/auth/types/OAuthValues.d.ts +4 -0
- package/dist/cjs/api/resources/dynamic/resources/auth/types/OAuthValues.js +3 -0
- package/dist/cjs/api/resources/dynamic/resources/auth/types/index.d.ts +12 -0
- package/dist/cjs/api/resources/dynamic/resources/auth/types/index.js +28 -0
- package/dist/cjs/api/resources/dynamic/resources/commons/index.d.ts +1 -0
- package/dist/cjs/api/resources/dynamic/resources/commons/index.js +17 -0
- package/dist/cjs/api/resources/dynamic/resources/commons/types/EndpointId.d.ts +1 -0
- package/dist/cjs/api/resources/dynamic/resources/commons/types/EndpointId.js +3 -0
- package/dist/cjs/api/resources/dynamic/resources/commons/types/FernFilepath.d.ts +6 -0
- package/dist/cjs/api/resources/dynamic/resources/commons/types/FernFilepath.js +3 -0
- package/dist/cjs/api/resources/dynamic/resources/commons/types/Name.d.ts +8 -0
- package/dist/cjs/api/resources/dynamic/resources/commons/types/Name.js +3 -0
- package/dist/cjs/api/resources/dynamic/resources/commons/types/NameAndWireValue.d.ts +5 -0
- package/dist/cjs/api/resources/dynamic/resources/commons/types/NameAndWireValue.js +3 -0
- package/dist/cjs/api/resources/dynamic/resources/commons/types/SafeAndUnsafeString.d.ts +6 -0
- package/dist/cjs/api/resources/dynamic/resources/commons/types/SafeAndUnsafeString.js +3 -0
- package/dist/cjs/api/resources/dynamic/resources/commons/types/TypeId.d.ts +1 -0
- package/dist/cjs/api/resources/dynamic/resources/commons/types/TypeId.js +3 -0
- package/dist/cjs/api/resources/dynamic/resources/commons/types/WithDocs.d.ts +3 -0
- package/dist/cjs/api/resources/dynamic/resources/commons/types/WithDocs.js +3 -0
- package/dist/cjs/api/resources/dynamic/resources/commons/types/index.d.ts +7 -0
- package/dist/cjs/api/resources/dynamic/resources/commons/types/index.js +23 -0
- package/dist/cjs/api/resources/dynamic/resources/declaration/index.d.ts +1 -0
- package/dist/cjs/api/resources/dynamic/resources/declaration/index.js +17 -0
- package/dist/cjs/api/resources/dynamic/resources/declaration/types/Declaration.d.ts +5 -0
- package/dist/cjs/api/resources/dynamic/resources/declaration/types/Declaration.js +3 -0
- package/dist/cjs/api/resources/dynamic/resources/declaration/types/index.d.ts +1 -0
- package/dist/cjs/api/resources/dynamic/resources/declaration/types/index.js +17 -0
- package/dist/cjs/api/resources/dynamic/resources/endpoints/index.d.ts +1 -0
- package/dist/cjs/api/resources/dynamic/resources/endpoints/index.js +17 -0
- package/dist/cjs/api/resources/dynamic/resources/endpoints/types/BodyRequest.d.ts +5 -0
- package/dist/cjs/api/resources/dynamic/resources/endpoints/types/BodyRequest.js +3 -0
- package/dist/cjs/api/resources/dynamic/resources/endpoints/types/Endpoint.d.ts +9 -0
- package/dist/cjs/api/resources/dynamic/resources/endpoints/types/Endpoint.js +3 -0
- package/dist/cjs/api/resources/dynamic/resources/endpoints/types/EndpointExample.d.ts +7 -0
- package/dist/cjs/api/resources/dynamic/resources/endpoints/types/EndpointExample.js +3 -0
- package/dist/cjs/api/resources/dynamic/resources/endpoints/types/EndpointLocation.d.ts +8 -0
- package/dist/cjs/api/resources/dynamic/resources/endpoints/types/EndpointLocation.js +3 -0
- package/dist/cjs/api/resources/dynamic/resources/endpoints/types/FileUploadRequestBody.d.ts +4 -0
- package/dist/cjs/api/resources/dynamic/resources/endpoints/types/FileUploadRequestBody.js +3 -0
- package/dist/cjs/api/resources/dynamic/resources/endpoints/types/FileUploadRequestBodyProperty.d.ts +13 -0
- package/dist/cjs/api/resources/dynamic/resources/endpoints/types/FileUploadRequestBodyProperty.js +3 -0
- package/dist/cjs/api/resources/dynamic/resources/endpoints/types/InlinedRequest.d.ts +9 -0
- package/dist/cjs/api/resources/dynamic/resources/endpoints/types/InlinedRequest.js +3 -0
- package/dist/cjs/api/resources/dynamic/resources/endpoints/types/InlinedRequestBody.d.ts +14 -0
- package/dist/cjs/api/resources/dynamic/resources/endpoints/types/InlinedRequestBody.js +3 -0
- package/dist/cjs/api/resources/dynamic/resources/endpoints/types/InlinedRequestMetadata.d.ts +18 -0
- package/dist/cjs/api/resources/dynamic/resources/endpoints/types/InlinedRequestMetadata.js +3 -0
- package/dist/cjs/api/resources/dynamic/resources/endpoints/types/ReferencedRequestBody.d.ts +5 -0
- package/dist/cjs/api/resources/dynamic/resources/endpoints/types/ReferencedRequestBody.js +3 -0
- package/dist/cjs/api/resources/dynamic/resources/endpoints/types/ReferencedRequestBodyType.d.ts +11 -0
- package/dist/cjs/api/resources/dynamic/resources/endpoints/types/ReferencedRequestBodyType.js +3 -0
- package/dist/cjs/api/resources/dynamic/resources/endpoints/types/Request.d.ts +13 -0
- package/dist/cjs/api/resources/dynamic/resources/endpoints/types/Request.js +3 -0
- package/dist/cjs/api/resources/dynamic/resources/endpoints/types/Response.d.ts +29 -0
- package/dist/cjs/api/resources/dynamic/resources/endpoints/types/Response.js +3 -0
- package/dist/cjs/api/resources/dynamic/resources/endpoints/types/index.d.ts +13 -0
- package/dist/cjs/api/resources/dynamic/resources/endpoints/types/index.js +29 -0
- package/dist/cjs/api/resources/dynamic/resources/environment/index.d.ts +1 -0
- package/dist/cjs/api/resources/dynamic/resources/environment/index.js +17 -0
- package/dist/cjs/api/resources/dynamic/resources/environment/types/EnvironmentBaseUrlId.d.ts +1 -0
- package/dist/cjs/api/resources/dynamic/resources/environment/types/EnvironmentBaseUrlId.js +3 -0
- package/dist/cjs/api/resources/dynamic/resources/environment/types/EnvironmentBaseUrlWithId.d.ts +5 -0
- package/dist/cjs/api/resources/dynamic/resources/environment/types/EnvironmentBaseUrlWithId.js +3 -0
- package/dist/cjs/api/resources/dynamic/resources/environment/types/EnvironmentId.d.ts +1 -0
- package/dist/cjs/api/resources/dynamic/resources/environment/types/EnvironmentId.js +3 -0
- package/dist/cjs/api/resources/dynamic/resources/environment/types/EnvironmentUrl.d.ts +1 -0
- package/dist/cjs/api/resources/dynamic/resources/environment/types/EnvironmentUrl.js +3 -0
- package/dist/cjs/api/resources/dynamic/resources/environment/types/EnvironmentValues.d.ts +14 -0
- package/dist/cjs/api/resources/dynamic/resources/environment/types/EnvironmentValues.js +3 -0
- package/dist/cjs/api/resources/dynamic/resources/environment/types/Environments.d.ts +10 -0
- package/dist/cjs/api/resources/dynamic/resources/environment/types/Environments.js +3 -0
- package/dist/cjs/api/resources/dynamic/resources/environment/types/EnvironmentsConfig.d.ts +5 -0
- package/dist/cjs/api/resources/dynamic/resources/environment/types/EnvironmentsConfig.js +3 -0
- package/dist/cjs/api/resources/dynamic/resources/environment/types/MultipleBaseUrlsEnvironment.d.ts +6 -0
- package/dist/cjs/api/resources/dynamic/resources/environment/types/MultipleBaseUrlsEnvironment.js +3 -0
- package/dist/cjs/api/resources/dynamic/resources/environment/types/MultipleBaseUrlsEnvironments.d.ts +5 -0
- package/dist/cjs/api/resources/dynamic/resources/environment/types/MultipleBaseUrlsEnvironments.js +3 -0
- package/dist/cjs/api/resources/dynamic/resources/environment/types/MultipleEnvironmentUrlValues.d.ts +2 -0
- package/dist/cjs/api/resources/dynamic/resources/environment/types/MultipleEnvironmentUrlValues.js +3 -0
- package/dist/cjs/api/resources/dynamic/resources/environment/types/SingleBaseUrlEnvironment.d.ts +6 -0
- package/dist/cjs/api/resources/dynamic/resources/environment/types/SingleBaseUrlEnvironment.js +3 -0
- package/dist/cjs/api/resources/dynamic/resources/environment/types/SingleBaseUrlEnvironments.d.ts +4 -0
- package/dist/cjs/api/resources/dynamic/resources/environment/types/SingleBaseUrlEnvironments.js +3 -0
- package/dist/cjs/api/resources/dynamic/resources/environment/types/index.d.ts +12 -0
- package/dist/cjs/api/resources/dynamic/resources/environment/types/index.js +28 -0
- package/dist/cjs/api/resources/dynamic/resources/http/index.d.ts +1 -0
- package/dist/cjs/api/resources/dynamic/resources/http/index.js +17 -0
- package/dist/cjs/api/resources/dynamic/resources/http/types/HttpMethod.d.ts +9 -0
- package/dist/cjs/api/resources/dynamic/resources/http/types/HttpMethod.js +12 -0
- package/dist/cjs/api/resources/dynamic/resources/http/types/index.d.ts +1 -0
- package/dist/cjs/api/resources/dynamic/resources/http/types/index.js +17 -0
- package/dist/cjs/api/resources/dynamic/resources/index.d.ts +20 -0
- package/dist/cjs/api/resources/dynamic/resources/index.js +59 -0
- package/dist/cjs/api/resources/dynamic/resources/ir/index.d.ts +1 -0
- package/dist/cjs/api/resources/dynamic/resources/ir/index.js +17 -0
- package/dist/cjs/api/resources/dynamic/resources/ir/types/CratesPublishInfo.d.ts +5 -0
- package/dist/cjs/api/resources/dynamic/resources/ir/types/CratesPublishInfo.js +3 -0
- package/dist/cjs/api/resources/dynamic/resources/ir/types/DynamicIntermediateRepresentation.d.ts +34 -0
- package/dist/cjs/api/resources/dynamic/resources/ir/types/DynamicIntermediateRepresentation.js +3 -0
- package/dist/cjs/api/resources/dynamic/resources/ir/types/GeneratorConfig.d.ts +15 -0
- package/dist/cjs/api/resources/dynamic/resources/ir/types/GeneratorConfig.js +3 -0
- package/dist/cjs/api/resources/dynamic/resources/ir/types/GeneratorOutputConfig.d.ts +15 -0
- package/dist/cjs/api/resources/dynamic/resources/ir/types/GeneratorOutputConfig.js +3 -0
- package/dist/cjs/api/resources/dynamic/resources/ir/types/GoPublishInfo.d.ts +5 -0
- package/dist/cjs/api/resources/dynamic/resources/ir/types/GoPublishInfo.js +3 -0
- package/dist/cjs/api/resources/dynamic/resources/ir/types/MavenPublishInfo.d.ts +5 -0
- package/dist/cjs/api/resources/dynamic/resources/ir/types/MavenPublishInfo.js +3 -0
- package/dist/cjs/api/resources/dynamic/resources/ir/types/NpmPublishInfo.d.ts +5 -0
- package/dist/cjs/api/resources/dynamic/resources/ir/types/NpmPublishInfo.js +3 -0
- package/dist/cjs/api/resources/dynamic/resources/ir/types/NugetPublishInfo.d.ts +5 -0
- package/dist/cjs/api/resources/dynamic/resources/ir/types/NugetPublishInfo.js +3 -0
- package/dist/cjs/api/resources/dynamic/resources/ir/types/PublishInfo.d.ts +28 -0
- package/dist/cjs/api/resources/dynamic/resources/ir/types/PublishInfo.js +3 -0
- package/dist/cjs/api/resources/dynamic/resources/ir/types/PypiPublishInfo.d.ts +5 -0
- package/dist/cjs/api/resources/dynamic/resources/ir/types/PypiPublishInfo.js +3 -0
- package/dist/cjs/api/resources/dynamic/resources/ir/types/RubyGemsPublishInfo.d.ts +5 -0
- package/dist/cjs/api/resources/dynamic/resources/ir/types/RubyGemsPublishInfo.js +3 -0
- package/dist/cjs/api/resources/dynamic/resources/ir/types/SwiftPublishInfo.d.ts +5 -0
- package/dist/cjs/api/resources/dynamic/resources/ir/types/SwiftPublishInfo.js +3 -0
- package/dist/cjs/api/resources/dynamic/resources/ir/types/index.d.ts +12 -0
- package/dist/cjs/api/resources/dynamic/resources/ir/types/index.js +28 -0
- package/dist/cjs/api/resources/dynamic/resources/snippets/index.d.ts +1 -0
- package/dist/cjs/api/resources/dynamic/resources/snippets/index.js +17 -0
- package/dist/cjs/api/resources/dynamic/resources/snippets/types/EndpointSnippetRequest.d.ts +14 -0
- package/dist/cjs/api/resources/dynamic/resources/snippets/types/EndpointSnippetRequest.js +3 -0
- package/dist/cjs/api/resources/dynamic/resources/snippets/types/EndpointSnippetResponse.d.ts +12 -0
- package/dist/cjs/api/resources/dynamic/resources/snippets/types/EndpointSnippetResponse.js +3 -0
- package/dist/cjs/api/resources/dynamic/resources/snippets/types/ErrorSeverity.d.ts +5 -0
- package/dist/cjs/api/resources/dynamic/resources/snippets/types/ErrorSeverity.js +8 -0
- package/dist/cjs/api/resources/dynamic/resources/snippets/types/Error_.d.ts +5 -0
- package/dist/cjs/api/resources/dynamic/resources/snippets/types/Error_.js +3 -0
- package/dist/cjs/api/resources/dynamic/resources/snippets/types/Values.d.ts +7 -0
- package/dist/cjs/api/resources/dynamic/resources/snippets/types/Values.js +3 -0
- package/dist/cjs/api/resources/dynamic/resources/snippets/types/index.d.ts +5 -0
- package/dist/cjs/api/resources/dynamic/resources/snippets/types/index.js +21 -0
- package/dist/cjs/api/resources/dynamic/resources/types/index.d.ts +1 -0
- package/dist/cjs/api/resources/dynamic/resources/types/index.js +17 -0
- package/dist/cjs/api/resources/dynamic/resources/types/types/AliasType.d.ts +5 -0
- package/dist/cjs/api/resources/dynamic/resources/types/types/AliasType.js +3 -0
- package/dist/cjs/api/resources/dynamic/resources/types/types/DiscriminatedUnionType.d.ts +7 -0
- package/dist/cjs/api/resources/dynamic/resources/types/types/DiscriminatedUnionType.js +3 -0
- package/dist/cjs/api/resources/dynamic/resources/types/types/EnumType.d.ts +5 -0
- package/dist/cjs/api/resources/dynamic/resources/types/types/EnumType.js +3 -0
- package/dist/cjs/api/resources/dynamic/resources/types/types/LiteralType.d.ts +12 -0
- package/dist/cjs/api/resources/dynamic/resources/types/types/LiteralType.js +3 -0
- package/dist/cjs/api/resources/dynamic/resources/types/types/MapType.d.ts +5 -0
- package/dist/cjs/api/resources/dynamic/resources/types/types/MapType.js +3 -0
- package/dist/cjs/api/resources/dynamic/resources/types/types/NamedParameter.d.ts +8 -0
- package/dist/cjs/api/resources/dynamic/resources/types/types/NamedParameter.js +3 -0
- package/dist/cjs/api/resources/dynamic/resources/types/types/NamedType.d.ts +22 -0
- package/dist/cjs/api/resources/dynamic/resources/types/types/NamedType.js +3 -0
- package/dist/cjs/api/resources/dynamic/resources/types/types/ObjectPropertyAccess.d.ts +5 -0
- package/dist/cjs/api/resources/dynamic/resources/types/types/ObjectPropertyAccess.js +8 -0
- package/dist/cjs/api/resources/dynamic/resources/types/types/ObjectType.d.ts +12 -0
- package/dist/cjs/api/resources/dynamic/resources/types/types/ObjectType.js +3 -0
- package/dist/cjs/api/resources/dynamic/resources/types/types/PrimitiveTypeV1.d.ts +18 -0
- package/dist/cjs/api/resources/dynamic/resources/types/types/PrimitiveTypeV1.js +21 -0
- package/dist/cjs/api/resources/dynamic/resources/types/types/SingleDiscriminatedUnionType.d.ts +13 -0
- package/dist/cjs/api/resources/dynamic/resources/types/types/SingleDiscriminatedUnionType.js +3 -0
- package/dist/cjs/api/resources/dynamic/resources/types/types/SingleDiscriminatedUnionTypeNoProperties.d.ts +6 -0
- package/dist/cjs/api/resources/dynamic/resources/types/types/SingleDiscriminatedUnionTypeNoProperties.js +3 -0
- package/dist/cjs/api/resources/dynamic/resources/types/types/SingleDiscriminatedUnionTypeObject.d.ts +7 -0
- package/dist/cjs/api/resources/dynamic/resources/types/types/SingleDiscriminatedUnionTypeObject.js +3 -0
- package/dist/cjs/api/resources/dynamic/resources/types/types/SingleDiscriminatedUnionTypeSingleProperty.d.ts +7 -0
- package/dist/cjs/api/resources/dynamic/resources/types/types/SingleDiscriminatedUnionTypeSingleProperty.js +3 -0
- package/dist/cjs/api/resources/dynamic/resources/types/types/TypeReference.d.ts +38 -0
- package/dist/cjs/api/resources/dynamic/resources/types/types/TypeReference.js +3 -0
- package/dist/cjs/api/resources/dynamic/resources/types/types/UndiscriminatedUnionType.d.ts +6 -0
- package/dist/cjs/api/resources/dynamic/resources/types/types/UndiscriminatedUnionType.js +3 -0
- package/dist/cjs/api/resources/dynamic/resources/types/types/index.d.ts +16 -0
- package/dist/cjs/api/resources/dynamic/resources/types/types/index.js +32 -0
- package/dist/cjs/api/resources/dynamic/resources/variables/index.d.ts +1 -0
- package/dist/cjs/api/resources/dynamic/resources/variables/index.js +17 -0
- package/dist/cjs/api/resources/dynamic/resources/variables/types/VariableDeclaration.d.ts +13 -0
- package/dist/cjs/api/resources/dynamic/resources/variables/types/VariableDeclaration.js +3 -0
- package/dist/cjs/api/resources/dynamic/resources/variables/types/index.d.ts +1 -0
- package/dist/cjs/api/resources/dynamic/resources/variables/types/index.js +17 -0
- package/dist/cjs/api/resources/generatorExec/index.d.ts +1 -0
- package/dist/cjs/api/resources/generatorExec/index.js +17 -0
- package/dist/cjs/api/resources/generatorExec/resources/config/index.d.ts +1 -0
- package/dist/cjs/api/resources/generatorExec/resources/config/index.js +17 -0
- package/dist/cjs/api/resources/generatorExec/resources/config/types/BasicLicense.d.ts +4 -0
- package/dist/cjs/api/resources/generatorExec/resources/config/types/BasicLicense.js +3 -0
- package/dist/cjs/api/resources/generatorExec/resources/config/types/CratesGithubPublishInfo.d.ts +7 -0
- package/dist/cjs/api/resources/generatorExec/resources/config/types/CratesGithubPublishInfo.js +3 -0
- package/dist/cjs/api/resources/generatorExec/resources/config/types/CratesRegistryConfig.d.ts +5 -0
- package/dist/cjs/api/resources/generatorExec/resources/config/types/CratesRegistryConfig.js +3 -0
- package/dist/cjs/api/resources/generatorExec/resources/config/types/CustomLicense.d.ts +3 -0
- package/dist/cjs/api/resources/generatorExec/resources/config/types/CustomLicense.js +3 -0
- package/dist/cjs/api/resources/generatorExec/resources/config/types/EnvironmentVariable.d.ts +1 -0
- package/dist/cjs/api/resources/generatorExec/resources/config/types/EnvironmentVariable.js +3 -0
- package/dist/cjs/api/resources/generatorExec/resources/config/types/GeneratorConfig.d.ts +18 -0
- package/dist/cjs/api/resources/generatorExec/resources/config/types/GeneratorConfig.js +3 -0
- package/dist/cjs/api/resources/generatorExec/resources/config/types/GeneratorEnvironment.d.ts +10 -0
- package/dist/cjs/api/resources/generatorExec/resources/config/types/GeneratorEnvironment.js +3 -0
- package/dist/cjs/api/resources/generatorExec/resources/config/types/GeneratorOutputConfig.d.ts +8 -0
- package/dist/cjs/api/resources/generatorExec/resources/config/types/GeneratorOutputConfig.js +3 -0
- package/dist/cjs/api/resources/generatorExec/resources/config/types/GeneratorPublishConfig.d.ts +9 -0
- package/dist/cjs/api/resources/generatorExec/resources/config/types/GeneratorPublishConfig.js +3 -0
- package/dist/cjs/api/resources/generatorExec/resources/config/types/GeneratorPublishTarget.d.ts +25 -0
- package/dist/cjs/api/resources/generatorExec/resources/config/types/GeneratorPublishTarget.js +3 -0
- package/dist/cjs/api/resources/generatorExec/resources/config/types/GeneratorRegistriesConfig.d.ts +5 -0
- package/dist/cjs/api/resources/generatorExec/resources/config/types/GeneratorRegistriesConfig.js +3 -0
- package/dist/cjs/api/resources/generatorExec/resources/config/types/GeneratorRegistriesConfigV2.d.ts +9 -0
- package/dist/cjs/api/resources/generatorExec/resources/config/types/GeneratorRegistriesConfigV2.js +3 -0
- package/dist/cjs/api/resources/generatorExec/resources/config/types/GithubOutputMode.d.ts +14 -0
- package/dist/cjs/api/resources/generatorExec/resources/config/types/GithubOutputMode.js +3 -0
- package/dist/cjs/api/resources/generatorExec/resources/config/types/GithubPublishInfo.d.ts +25 -0
- package/dist/cjs/api/resources/generatorExec/resources/config/types/GithubPublishInfo.js +3 -0
- package/dist/cjs/api/resources/generatorExec/resources/config/types/LicenseConfig.d.ts +10 -0
- package/dist/cjs/api/resources/generatorExec/resources/config/types/LicenseConfig.js +3 -0
- package/dist/cjs/api/resources/generatorExec/resources/config/types/LicenseId.d.ts +5 -0
- package/dist/cjs/api/resources/generatorExec/resources/config/types/LicenseId.js +8 -0
- package/dist/cjs/api/resources/generatorExec/resources/config/types/MavenCentralSignature.d.ts +5 -0
- package/dist/cjs/api/resources/generatorExec/resources/config/types/MavenCentralSignature.js +3 -0
- package/dist/cjs/api/resources/generatorExec/resources/config/types/MavenCentralSignatureGithubInfo.d.ts +6 -0
- package/dist/cjs/api/resources/generatorExec/resources/config/types/MavenCentralSignatureGithubInfo.js +3 -0
- package/dist/cjs/api/resources/generatorExec/resources/config/types/MavenGithubPublishInfo.d.ts +9 -0
- package/dist/cjs/api/resources/generatorExec/resources/config/types/MavenGithubPublishInfo.js +3 -0
- package/dist/cjs/api/resources/generatorExec/resources/config/types/MavenRegistryConfig.d.ts +8 -0
- package/dist/cjs/api/resources/generatorExec/resources/config/types/MavenRegistryConfig.js +3 -0
- package/dist/cjs/api/resources/generatorExec/resources/config/types/MavenRegistryConfigV2.d.ts +8 -0
- package/dist/cjs/api/resources/generatorExec/resources/config/types/MavenRegistryConfigV2.js +3 -0
- package/dist/cjs/api/resources/generatorExec/resources/config/types/NpmGithubPublishInfo.d.ts +7 -0
- package/dist/cjs/api/resources/generatorExec/resources/config/types/NpmGithubPublishInfo.js +3 -0
- package/dist/cjs/api/resources/generatorExec/resources/config/types/NpmRegistryConfig.d.ts +5 -0
- package/dist/cjs/api/resources/generatorExec/resources/config/types/NpmRegistryConfig.js +3 -0
- package/dist/cjs/api/resources/generatorExec/resources/config/types/NpmRegistryConfigV2.d.ts +5 -0
- package/dist/cjs/api/resources/generatorExec/resources/config/types/NpmRegistryConfigV2.js +3 -0
- package/dist/cjs/api/resources/generatorExec/resources/config/types/NugetGithubPublishInfo.d.ts +7 -0
- package/dist/cjs/api/resources/generatorExec/resources/config/types/NugetGithubPublishInfo.js +3 -0
- package/dist/cjs/api/resources/generatorExec/resources/config/types/NugetRegistryConfig.d.ts +5 -0
- package/dist/cjs/api/resources/generatorExec/resources/config/types/NugetRegistryConfig.js +3 -0
- package/dist/cjs/api/resources/generatorExec/resources/config/types/OutputMetadata.d.ts +5 -0
- package/dist/cjs/api/resources/generatorExec/resources/config/types/OutputMetadata.js +3 -0
- package/dist/cjs/api/resources/generatorExec/resources/config/types/OutputMetadataAuthor.d.ts +4 -0
- package/dist/cjs/api/resources/generatorExec/resources/config/types/OutputMetadataAuthor.js +3 -0
- package/dist/cjs/api/resources/generatorExec/resources/config/types/OutputMode.d.ts +13 -0
- package/dist/cjs/api/resources/generatorExec/resources/config/types/OutputMode.js +3 -0
- package/dist/cjs/api/resources/generatorExec/resources/config/types/PostmanConfig.d.ts +4 -0
- package/dist/cjs/api/resources/generatorExec/resources/config/types/PostmanConfig.js +3 -0
- package/dist/cjs/api/resources/generatorExec/resources/config/types/PostmanGithubPublishInfo.d.ts +5 -0
- package/dist/cjs/api/resources/generatorExec/resources/config/types/PostmanGithubPublishInfo.js +3 -0
- package/dist/cjs/api/resources/generatorExec/resources/config/types/PublishingMetadata.d.ts +9 -0
- package/dist/cjs/api/resources/generatorExec/resources/config/types/PublishingMetadata.js +3 -0
- package/dist/cjs/api/resources/generatorExec/resources/config/types/PypiGithubPublishInfo.d.ts +9 -0
- package/dist/cjs/api/resources/generatorExec/resources/config/types/PypiGithubPublishInfo.js +3 -0
- package/dist/cjs/api/resources/generatorExec/resources/config/types/PypiMetadata.d.ts +6 -0
- package/dist/cjs/api/resources/generatorExec/resources/config/types/PypiMetadata.js +3 -0
- package/dist/cjs/api/resources/generatorExec/resources/config/types/PypiRegistryConfig.d.ts +8 -0
- package/dist/cjs/api/resources/generatorExec/resources/config/types/PypiRegistryConfig.js +3 -0
- package/dist/cjs/api/resources/generatorExec/resources/config/types/RemoteGeneratorEnvironment.d.ts +5 -0
- package/dist/cjs/api/resources/generatorExec/resources/config/types/RemoteGeneratorEnvironment.js +3 -0
- package/dist/cjs/api/resources/generatorExec/resources/config/types/RubyGemsGithubPublishInfo.d.ts +7 -0
- package/dist/cjs/api/resources/generatorExec/resources/config/types/RubyGemsGithubPublishInfo.js +3 -0
- package/dist/cjs/api/resources/generatorExec/resources/config/types/RubyGemsRegistryConfig.d.ts +5 -0
- package/dist/cjs/api/resources/generatorExec/resources/config/types/RubyGemsRegistryConfig.js +3 -0
- package/dist/cjs/api/resources/generatorExec/resources/config/types/index.d.ts +38 -0
- package/dist/cjs/api/resources/generatorExec/resources/config/types/index.js +54 -0
- package/dist/cjs/api/resources/generatorExec/resources/index.d.ts +2 -0
- package/dist/cjs/api/resources/generatorExec/resources/index.js +41 -0
- package/dist/cjs/api/resources/index.d.ts +4 -0
- package/dist/cjs/api/resources/index.js +43 -0
- package/dist/cjs/core/exports.d.ts +1 -0
- package/dist/cjs/core/exports.js +17 -0
- package/dist/cjs/core/fetcher/APIResponse.d.ts +20 -0
- package/dist/cjs/core/fetcher/APIResponse.js +2 -0
- package/dist/cjs/core/fetcher/BinaryResponse.d.ts +19 -0
- package/dist/cjs/core/fetcher/BinaryResponse.js +17 -0
- package/dist/cjs/core/fetcher/EndpointMetadata.d.ts +13 -0
- package/dist/cjs/core/fetcher/EndpointMetadata.js +2 -0
- package/dist/cjs/core/fetcher/EndpointSupplier.d.ts +12 -0
- package/dist/cjs/core/fetcher/EndpointSupplier.js +22 -0
- package/dist/cjs/core/fetcher/Fetcher.d.ts +48 -0
- package/dist/cjs/core/fetcher/Fetcher.js +316 -0
- package/dist/cjs/core/fetcher/Headers.d.ts +2 -0
- package/dist/cjs/core/fetcher/Headers.js +84 -0
- package/dist/cjs/core/fetcher/HttpResponsePromise.d.ts +58 -0
- package/dist/cjs/core/fetcher/HttpResponsePromise.js +103 -0
- package/dist/cjs/core/fetcher/RawResponse.d.ts +29 -0
- package/dist/cjs/core/fetcher/RawResponse.js +44 -0
- package/dist/cjs/core/fetcher/Supplier.d.ts +4 -0
- package/dist/cjs/core/fetcher/Supplier.js +22 -0
- package/dist/cjs/core/fetcher/createRequestUrl.d.ts +1 -0
- package/dist/cjs/core/fetcher/createRequestUrl.js +8 -0
- package/dist/cjs/core/fetcher/getErrorResponseBody.d.ts +1 -0
- package/dist/cjs/core/fetcher/getErrorResponseBody.js +45 -0
- package/dist/cjs/core/fetcher/getFetchFn.d.ts +1 -0
- package/dist/cjs/core/fetcher/getFetchFn.js +17 -0
- package/dist/cjs/core/fetcher/getHeader.d.ts +1 -0
- package/dist/cjs/core/fetcher/getHeader.js +11 -0
- package/dist/cjs/core/fetcher/getRequestBody.d.ts +7 -0
- package/dist/cjs/core/fetcher/getRequestBody.js +27 -0
- package/dist/cjs/core/fetcher/getResponseBody.d.ts +1 -0
- package/dist/cjs/core/fetcher/getResponseBody.js +69 -0
- package/dist/cjs/core/fetcher/index.d.ts +11 -0
- package/dist/cjs/core/fetcher/index.js +17 -0
- package/dist/cjs/core/fetcher/makeRequest.d.ts +1 -0
- package/dist/cjs/core/fetcher/makeRequest.js +40 -0
- package/dist/cjs/core/fetcher/requestWithRetries.d.ts +1 -0
- package/dist/cjs/core/fetcher/requestWithRetries.js +67 -0
- package/dist/cjs/core/fetcher/signals.d.ts +5 -0
- package/dist/cjs/core/fetcher/signals.js +24 -0
- package/dist/cjs/core/headers.d.ts +2 -0
- package/dist/cjs/core/headers.js +31 -0
- package/dist/cjs/core/index.d.ts +4 -0
- package/dist/cjs/core/index.js +43 -0
- package/dist/cjs/core/json.d.ts +15 -0
- package/dist/cjs/core/json.js +24 -0
- package/dist/cjs/core/logging/exports.d.ts +18 -0
- package/dist/cjs/core/logging/exports.js +45 -0
- package/dist/cjs/core/logging/index.d.ts +1 -0
- package/dist/cjs/core/logging/index.js +17 -0
- package/dist/cjs/core/logging/logger.d.ts +126 -0
- package/dist/cjs/core/logging/logger.js +144 -0
- package/dist/cjs/core/runtime/index.d.ts +1 -0
- package/dist/cjs/core/runtime/index.js +5 -0
- package/dist/cjs/core/runtime/runtime.d.ts +9 -0
- package/dist/cjs/core/runtime/runtime.js +103 -0
- package/dist/cjs/core/url/encodePathParam.d.ts +1 -0
- package/dist/cjs/core/url/encodePathParam.js +21 -0
- package/dist/cjs/core/url/index.d.ts +3 -0
- package/dist/cjs/core/url/index.js +9 -0
- package/dist/cjs/core/url/join.d.ts +1 -0
- package/dist/cjs/core/url/join.js +68 -0
- package/dist/cjs/core/url/qs.d.ts +6 -0
- package/dist/cjs/core/url/qs.js +64 -0
- package/dist/cjs/errors/FernIrError.d.ts +12 -0
- package/dist/cjs/errors/FernIrError.js +32 -0
- package/dist/cjs/errors/FernIrTimeoutError.d.ts +3 -0
- package/dist/cjs/errors/FernIrTimeoutError.js +15 -0
- package/dist/cjs/errors/handleNonStatusCodeError.d.ts +2 -0
- package/dist/cjs/errors/handleNonStatusCodeError.js +65 -0
- package/dist/cjs/errors/index.d.ts +2 -0
- package/dist/cjs/errors/index.js +7 -0
- package/dist/cjs/exports.d.ts +1 -0
- package/dist/cjs/exports.js +17 -0
- package/dist/cjs/index.d.ts +4 -0
- package/dist/cjs/index.js +44 -0
- package/dist/cjs/version.d.ts +1 -0
- package/dist/cjs/version.js +4 -0
- package/dist/esm/BaseClient.d.mts +32 -0
- package/dist/esm/BaseClient.mjs +14 -0
- package/dist/esm/api/index.d.mts +1 -0
- package/dist/esm/api/index.mjs +1 -0
- package/dist/esm/api/resources/commons/index.d.mts +1 -0
- package/dist/esm/api/resources/commons/index.mjs +1 -0
- package/dist/esm/api/resources/commons/types/Name.d.mts +8 -0
- package/dist/esm/api/resources/commons/types/Name.mjs +2 -0
- package/dist/esm/api/resources/commons/types/SafeAndUnsafeString.d.mts +6 -0
- package/dist/esm/api/resources/commons/types/SafeAndUnsafeString.mjs +2 -0
- package/dist/esm/api/resources/commons/types/index.d.mts +2 -0
- package/dist/esm/api/resources/commons/types/index.mjs +2 -0
- package/dist/esm/api/resources/dynamic/index.d.mts +1 -0
- package/dist/esm/api/resources/dynamic/index.mjs +1 -0
- package/dist/esm/api/resources/dynamic/resources/auth/index.d.mts +1 -0
- package/dist/esm/api/resources/dynamic/resources/auth/index.mjs +1 -0
- package/dist/esm/api/resources/dynamic/resources/auth/types/Auth.d.mts +19 -0
- package/dist/esm/api/resources/dynamic/resources/auth/types/Auth.mjs +2 -0
- package/dist/esm/api/resources/dynamic/resources/auth/types/AuthValues.d.mts +19 -0
- package/dist/esm/api/resources/dynamic/resources/auth/types/AuthValues.mjs +2 -0
- package/dist/esm/api/resources/dynamic/resources/auth/types/BasicAuth.d.mts +5 -0
- package/dist/esm/api/resources/dynamic/resources/auth/types/BasicAuth.mjs +2 -0
- package/dist/esm/api/resources/dynamic/resources/auth/types/BasicAuthValues.d.mts +4 -0
- package/dist/esm/api/resources/dynamic/resources/auth/types/BasicAuthValues.mjs +2 -0
- package/dist/esm/api/resources/dynamic/resources/auth/types/BearerAuth.d.mts +4 -0
- package/dist/esm/api/resources/dynamic/resources/auth/types/BearerAuth.mjs +2 -0
- package/dist/esm/api/resources/dynamic/resources/auth/types/BearerAuthValues.d.mts +3 -0
- package/dist/esm/api/resources/dynamic/resources/auth/types/BearerAuthValues.mjs +2 -0
- package/dist/esm/api/resources/dynamic/resources/auth/types/HeaderAuth.d.mts +4 -0
- package/dist/esm/api/resources/dynamic/resources/auth/types/HeaderAuth.mjs +2 -0
- package/dist/esm/api/resources/dynamic/resources/auth/types/HeaderAuthValues.d.mts +3 -0
- package/dist/esm/api/resources/dynamic/resources/auth/types/HeaderAuthValues.mjs +2 -0
- package/dist/esm/api/resources/dynamic/resources/auth/types/InferredAuth.d.mts +9 -0
- package/dist/esm/api/resources/dynamic/resources/auth/types/InferredAuth.mjs +2 -0
- package/dist/esm/api/resources/dynamic/resources/auth/types/InferredAuthValues.d.mts +8 -0
- package/dist/esm/api/resources/dynamic/resources/auth/types/InferredAuthValues.mjs +2 -0
- package/dist/esm/api/resources/dynamic/resources/auth/types/OAuth.d.mts +5 -0
- package/dist/esm/api/resources/dynamic/resources/auth/types/OAuth.mjs +2 -0
- package/dist/esm/api/resources/dynamic/resources/auth/types/OAuthValues.d.mts +4 -0
- package/dist/esm/api/resources/dynamic/resources/auth/types/OAuthValues.mjs +2 -0
- package/dist/esm/api/resources/dynamic/resources/auth/types/index.d.mts +12 -0
- package/dist/esm/api/resources/dynamic/resources/auth/types/index.mjs +12 -0
- package/dist/esm/api/resources/dynamic/resources/commons/index.d.mts +1 -0
- package/dist/esm/api/resources/dynamic/resources/commons/index.mjs +1 -0
- package/dist/esm/api/resources/dynamic/resources/commons/types/EndpointId.d.mts +1 -0
- package/dist/esm/api/resources/dynamic/resources/commons/types/EndpointId.mjs +2 -0
- package/dist/esm/api/resources/dynamic/resources/commons/types/FernFilepath.d.mts +6 -0
- package/dist/esm/api/resources/dynamic/resources/commons/types/FernFilepath.mjs +2 -0
- package/dist/esm/api/resources/dynamic/resources/commons/types/Name.d.mts +8 -0
- package/dist/esm/api/resources/dynamic/resources/commons/types/Name.mjs +2 -0
- package/dist/esm/api/resources/dynamic/resources/commons/types/NameAndWireValue.d.mts +5 -0
- package/dist/esm/api/resources/dynamic/resources/commons/types/NameAndWireValue.mjs +2 -0
- package/dist/esm/api/resources/dynamic/resources/commons/types/SafeAndUnsafeString.d.mts +6 -0
- package/dist/esm/api/resources/dynamic/resources/commons/types/SafeAndUnsafeString.mjs +2 -0
- package/dist/esm/api/resources/dynamic/resources/commons/types/TypeId.d.mts +1 -0
- package/dist/esm/api/resources/dynamic/resources/commons/types/TypeId.mjs +2 -0
- package/dist/esm/api/resources/dynamic/resources/commons/types/WithDocs.d.mts +3 -0
- package/dist/esm/api/resources/dynamic/resources/commons/types/WithDocs.mjs +2 -0
- package/dist/esm/api/resources/dynamic/resources/commons/types/index.d.mts +7 -0
- package/dist/esm/api/resources/dynamic/resources/commons/types/index.mjs +7 -0
- package/dist/esm/api/resources/dynamic/resources/declaration/index.d.mts +1 -0
- package/dist/esm/api/resources/dynamic/resources/declaration/index.mjs +1 -0
- package/dist/esm/api/resources/dynamic/resources/declaration/types/Declaration.d.mts +5 -0
- package/dist/esm/api/resources/dynamic/resources/declaration/types/Declaration.mjs +2 -0
- package/dist/esm/api/resources/dynamic/resources/declaration/types/index.d.mts +1 -0
- package/dist/esm/api/resources/dynamic/resources/declaration/types/index.mjs +1 -0
- package/dist/esm/api/resources/dynamic/resources/endpoints/index.d.mts +1 -0
- package/dist/esm/api/resources/dynamic/resources/endpoints/index.mjs +1 -0
- package/dist/esm/api/resources/dynamic/resources/endpoints/types/BodyRequest.d.mts +5 -0
- package/dist/esm/api/resources/dynamic/resources/endpoints/types/BodyRequest.mjs +2 -0
- package/dist/esm/api/resources/dynamic/resources/endpoints/types/Endpoint.d.mts +9 -0
- package/dist/esm/api/resources/dynamic/resources/endpoints/types/Endpoint.mjs +2 -0
- package/dist/esm/api/resources/dynamic/resources/endpoints/types/EndpointExample.d.mts +7 -0
- package/dist/esm/api/resources/dynamic/resources/endpoints/types/EndpointExample.mjs +2 -0
- package/dist/esm/api/resources/dynamic/resources/endpoints/types/EndpointLocation.d.mts +8 -0
- package/dist/esm/api/resources/dynamic/resources/endpoints/types/EndpointLocation.mjs +2 -0
- package/dist/esm/api/resources/dynamic/resources/endpoints/types/FileUploadRequestBody.d.mts +4 -0
- package/dist/esm/api/resources/dynamic/resources/endpoints/types/FileUploadRequestBody.mjs +2 -0
- package/dist/esm/api/resources/dynamic/resources/endpoints/types/FileUploadRequestBodyProperty.d.mts +13 -0
- package/dist/esm/api/resources/dynamic/resources/endpoints/types/FileUploadRequestBodyProperty.mjs +2 -0
- package/dist/esm/api/resources/dynamic/resources/endpoints/types/InlinedRequest.d.mts +9 -0
- package/dist/esm/api/resources/dynamic/resources/endpoints/types/InlinedRequest.mjs +2 -0
- package/dist/esm/api/resources/dynamic/resources/endpoints/types/InlinedRequestBody.d.mts +14 -0
- package/dist/esm/api/resources/dynamic/resources/endpoints/types/InlinedRequestBody.mjs +2 -0
- package/dist/esm/api/resources/dynamic/resources/endpoints/types/InlinedRequestMetadata.d.mts +18 -0
- package/dist/esm/api/resources/dynamic/resources/endpoints/types/InlinedRequestMetadata.mjs +2 -0
- package/dist/esm/api/resources/dynamic/resources/endpoints/types/ReferencedRequestBody.d.mts +5 -0
- package/dist/esm/api/resources/dynamic/resources/endpoints/types/ReferencedRequestBody.mjs +2 -0
- package/dist/esm/api/resources/dynamic/resources/endpoints/types/ReferencedRequestBodyType.d.mts +11 -0
- package/dist/esm/api/resources/dynamic/resources/endpoints/types/ReferencedRequestBodyType.mjs +2 -0
- package/dist/esm/api/resources/dynamic/resources/endpoints/types/Request.d.mts +13 -0
- package/dist/esm/api/resources/dynamic/resources/endpoints/types/Request.mjs +2 -0
- package/dist/esm/api/resources/dynamic/resources/endpoints/types/Response.d.mts +29 -0
- package/dist/esm/api/resources/dynamic/resources/endpoints/types/Response.mjs +2 -0
- package/dist/esm/api/resources/dynamic/resources/endpoints/types/index.d.mts +13 -0
- package/dist/esm/api/resources/dynamic/resources/endpoints/types/index.mjs +13 -0
- package/dist/esm/api/resources/dynamic/resources/environment/index.d.mts +1 -0
- package/dist/esm/api/resources/dynamic/resources/environment/index.mjs +1 -0
- package/dist/esm/api/resources/dynamic/resources/environment/types/EnvironmentBaseUrlId.d.mts +1 -0
- package/dist/esm/api/resources/dynamic/resources/environment/types/EnvironmentBaseUrlId.mjs +2 -0
- package/dist/esm/api/resources/dynamic/resources/environment/types/EnvironmentBaseUrlWithId.d.mts +5 -0
- package/dist/esm/api/resources/dynamic/resources/environment/types/EnvironmentBaseUrlWithId.mjs +2 -0
- package/dist/esm/api/resources/dynamic/resources/environment/types/EnvironmentId.d.mts +1 -0
- package/dist/esm/api/resources/dynamic/resources/environment/types/EnvironmentId.mjs +2 -0
- package/dist/esm/api/resources/dynamic/resources/environment/types/EnvironmentUrl.d.mts +1 -0
- package/dist/esm/api/resources/dynamic/resources/environment/types/EnvironmentUrl.mjs +2 -0
- package/dist/esm/api/resources/dynamic/resources/environment/types/EnvironmentValues.d.mts +14 -0
- package/dist/esm/api/resources/dynamic/resources/environment/types/EnvironmentValues.mjs +2 -0
- package/dist/esm/api/resources/dynamic/resources/environment/types/Environments.d.mts +10 -0
- package/dist/esm/api/resources/dynamic/resources/environment/types/Environments.mjs +2 -0
- package/dist/esm/api/resources/dynamic/resources/environment/types/EnvironmentsConfig.d.mts +5 -0
- package/dist/esm/api/resources/dynamic/resources/environment/types/EnvironmentsConfig.mjs +2 -0
- package/dist/esm/api/resources/dynamic/resources/environment/types/MultipleBaseUrlsEnvironment.d.mts +6 -0
- package/dist/esm/api/resources/dynamic/resources/environment/types/MultipleBaseUrlsEnvironment.mjs +2 -0
- package/dist/esm/api/resources/dynamic/resources/environment/types/MultipleBaseUrlsEnvironments.d.mts +5 -0
- package/dist/esm/api/resources/dynamic/resources/environment/types/MultipleBaseUrlsEnvironments.mjs +2 -0
- package/dist/esm/api/resources/dynamic/resources/environment/types/MultipleEnvironmentUrlValues.d.mts +2 -0
- package/dist/esm/api/resources/dynamic/resources/environment/types/MultipleEnvironmentUrlValues.mjs +2 -0
- package/dist/esm/api/resources/dynamic/resources/environment/types/SingleBaseUrlEnvironment.d.mts +6 -0
- package/dist/esm/api/resources/dynamic/resources/environment/types/SingleBaseUrlEnvironment.mjs +2 -0
- package/dist/esm/api/resources/dynamic/resources/environment/types/SingleBaseUrlEnvironments.d.mts +4 -0
- package/dist/esm/api/resources/dynamic/resources/environment/types/SingleBaseUrlEnvironments.mjs +2 -0
- package/dist/esm/api/resources/dynamic/resources/environment/types/index.d.mts +12 -0
- package/dist/esm/api/resources/dynamic/resources/environment/types/index.mjs +12 -0
- package/dist/esm/api/resources/dynamic/resources/http/index.d.mts +1 -0
- package/dist/esm/api/resources/dynamic/resources/http/index.mjs +1 -0
- package/dist/esm/api/resources/dynamic/resources/http/types/HttpMethod.d.mts +9 -0
- package/dist/esm/api/resources/dynamic/resources/http/types/HttpMethod.mjs +9 -0
- package/dist/esm/api/resources/dynamic/resources/http/types/index.d.mts +1 -0
- package/dist/esm/api/resources/dynamic/resources/http/types/index.mjs +1 -0
- package/dist/esm/api/resources/dynamic/resources/index.d.mts +20 -0
- package/dist/esm/api/resources/dynamic/resources/index.mjs +20 -0
- package/dist/esm/api/resources/dynamic/resources/ir/index.d.mts +1 -0
- package/dist/esm/api/resources/dynamic/resources/ir/index.mjs +1 -0
- package/dist/esm/api/resources/dynamic/resources/ir/types/CratesPublishInfo.d.mts +5 -0
- package/dist/esm/api/resources/dynamic/resources/ir/types/CratesPublishInfo.mjs +2 -0
- package/dist/esm/api/resources/dynamic/resources/ir/types/DynamicIntermediateRepresentation.d.mts +34 -0
- package/dist/esm/api/resources/dynamic/resources/ir/types/DynamicIntermediateRepresentation.mjs +2 -0
- package/dist/esm/api/resources/dynamic/resources/ir/types/GeneratorConfig.d.mts +15 -0
- package/dist/esm/api/resources/dynamic/resources/ir/types/GeneratorConfig.mjs +2 -0
- package/dist/esm/api/resources/dynamic/resources/ir/types/GeneratorOutputConfig.d.mts +15 -0
- package/dist/esm/api/resources/dynamic/resources/ir/types/GeneratorOutputConfig.mjs +2 -0
- package/dist/esm/api/resources/dynamic/resources/ir/types/GoPublishInfo.d.mts +5 -0
- package/dist/esm/api/resources/dynamic/resources/ir/types/GoPublishInfo.mjs +2 -0
- package/dist/esm/api/resources/dynamic/resources/ir/types/MavenPublishInfo.d.mts +5 -0
- package/dist/esm/api/resources/dynamic/resources/ir/types/MavenPublishInfo.mjs +2 -0
- package/dist/esm/api/resources/dynamic/resources/ir/types/NpmPublishInfo.d.mts +5 -0
- package/dist/esm/api/resources/dynamic/resources/ir/types/NpmPublishInfo.mjs +2 -0
- package/dist/esm/api/resources/dynamic/resources/ir/types/NugetPublishInfo.d.mts +5 -0
- package/dist/esm/api/resources/dynamic/resources/ir/types/NugetPublishInfo.mjs +2 -0
- package/dist/esm/api/resources/dynamic/resources/ir/types/PublishInfo.d.mts +28 -0
- package/dist/esm/api/resources/dynamic/resources/ir/types/PublishInfo.mjs +2 -0
- package/dist/esm/api/resources/dynamic/resources/ir/types/PypiPublishInfo.d.mts +5 -0
- package/dist/esm/api/resources/dynamic/resources/ir/types/PypiPublishInfo.mjs +2 -0
- package/dist/esm/api/resources/dynamic/resources/ir/types/RubyGemsPublishInfo.d.mts +5 -0
- package/dist/esm/api/resources/dynamic/resources/ir/types/RubyGemsPublishInfo.mjs +2 -0
- package/dist/esm/api/resources/dynamic/resources/ir/types/SwiftPublishInfo.d.mts +5 -0
- package/dist/esm/api/resources/dynamic/resources/ir/types/SwiftPublishInfo.mjs +2 -0
- package/dist/esm/api/resources/dynamic/resources/ir/types/index.d.mts +12 -0
- package/dist/esm/api/resources/dynamic/resources/ir/types/index.mjs +12 -0
- package/dist/esm/api/resources/dynamic/resources/snippets/index.d.mts +1 -0
- package/dist/esm/api/resources/dynamic/resources/snippets/index.mjs +1 -0
- package/dist/esm/api/resources/dynamic/resources/snippets/types/EndpointSnippetRequest.d.mts +14 -0
- package/dist/esm/api/resources/dynamic/resources/snippets/types/EndpointSnippetRequest.mjs +2 -0
- package/dist/esm/api/resources/dynamic/resources/snippets/types/EndpointSnippetResponse.d.mts +12 -0
- package/dist/esm/api/resources/dynamic/resources/snippets/types/EndpointSnippetResponse.mjs +2 -0
- package/dist/esm/api/resources/dynamic/resources/snippets/types/ErrorSeverity.d.mts +5 -0
- package/dist/esm/api/resources/dynamic/resources/snippets/types/ErrorSeverity.mjs +5 -0
- package/dist/esm/api/resources/dynamic/resources/snippets/types/Error_.d.mts +5 -0
- package/dist/esm/api/resources/dynamic/resources/snippets/types/Error_.mjs +2 -0
- package/dist/esm/api/resources/dynamic/resources/snippets/types/Values.d.mts +7 -0
- package/dist/esm/api/resources/dynamic/resources/snippets/types/Values.mjs +2 -0
- package/dist/esm/api/resources/dynamic/resources/snippets/types/index.d.mts +5 -0
- package/dist/esm/api/resources/dynamic/resources/snippets/types/index.mjs +5 -0
- package/dist/esm/api/resources/dynamic/resources/types/index.d.mts +1 -0
- package/dist/esm/api/resources/dynamic/resources/types/index.mjs +1 -0
- package/dist/esm/api/resources/dynamic/resources/types/types/AliasType.d.mts +5 -0
- package/dist/esm/api/resources/dynamic/resources/types/types/AliasType.mjs +2 -0
- package/dist/esm/api/resources/dynamic/resources/types/types/DiscriminatedUnionType.d.mts +7 -0
- package/dist/esm/api/resources/dynamic/resources/types/types/DiscriminatedUnionType.mjs +2 -0
- package/dist/esm/api/resources/dynamic/resources/types/types/EnumType.d.mts +5 -0
- package/dist/esm/api/resources/dynamic/resources/types/types/EnumType.mjs +2 -0
- package/dist/esm/api/resources/dynamic/resources/types/types/LiteralType.d.mts +12 -0
- package/dist/esm/api/resources/dynamic/resources/types/types/LiteralType.mjs +2 -0
- package/dist/esm/api/resources/dynamic/resources/types/types/MapType.d.mts +5 -0
- package/dist/esm/api/resources/dynamic/resources/types/types/MapType.mjs +2 -0
- package/dist/esm/api/resources/dynamic/resources/types/types/NamedParameter.d.mts +8 -0
- package/dist/esm/api/resources/dynamic/resources/types/types/NamedParameter.mjs +2 -0
- package/dist/esm/api/resources/dynamic/resources/types/types/NamedType.d.mts +22 -0
- package/dist/esm/api/resources/dynamic/resources/types/types/NamedType.mjs +2 -0
- package/dist/esm/api/resources/dynamic/resources/types/types/ObjectPropertyAccess.d.mts +5 -0
- package/dist/esm/api/resources/dynamic/resources/types/types/ObjectPropertyAccess.mjs +5 -0
- package/dist/esm/api/resources/dynamic/resources/types/types/ObjectType.d.mts +12 -0
- package/dist/esm/api/resources/dynamic/resources/types/types/ObjectType.mjs +2 -0
- package/dist/esm/api/resources/dynamic/resources/types/types/PrimitiveTypeV1.d.mts +18 -0
- package/dist/esm/api/resources/dynamic/resources/types/types/PrimitiveTypeV1.mjs +18 -0
- package/dist/esm/api/resources/dynamic/resources/types/types/SingleDiscriminatedUnionType.d.mts +13 -0
- package/dist/esm/api/resources/dynamic/resources/types/types/SingleDiscriminatedUnionType.mjs +2 -0
- package/dist/esm/api/resources/dynamic/resources/types/types/SingleDiscriminatedUnionTypeNoProperties.d.mts +6 -0
- package/dist/esm/api/resources/dynamic/resources/types/types/SingleDiscriminatedUnionTypeNoProperties.mjs +2 -0
- package/dist/esm/api/resources/dynamic/resources/types/types/SingleDiscriminatedUnionTypeObject.d.mts +7 -0
- package/dist/esm/api/resources/dynamic/resources/types/types/SingleDiscriminatedUnionTypeObject.mjs +2 -0
- package/dist/esm/api/resources/dynamic/resources/types/types/SingleDiscriminatedUnionTypeSingleProperty.d.mts +7 -0
- package/dist/esm/api/resources/dynamic/resources/types/types/SingleDiscriminatedUnionTypeSingleProperty.mjs +2 -0
- package/dist/esm/api/resources/dynamic/resources/types/types/TypeReference.d.mts +38 -0
- package/dist/esm/api/resources/dynamic/resources/types/types/TypeReference.mjs +2 -0
- package/dist/esm/api/resources/dynamic/resources/types/types/UndiscriminatedUnionType.d.mts +6 -0
- package/dist/esm/api/resources/dynamic/resources/types/types/UndiscriminatedUnionType.mjs +2 -0
- package/dist/esm/api/resources/dynamic/resources/types/types/index.d.mts +16 -0
- package/dist/esm/api/resources/dynamic/resources/types/types/index.mjs +16 -0
- package/dist/esm/api/resources/dynamic/resources/variables/index.d.mts +1 -0
- package/dist/esm/api/resources/dynamic/resources/variables/index.mjs +1 -0
- package/dist/esm/api/resources/dynamic/resources/variables/types/VariableDeclaration.d.mts +13 -0
- package/dist/esm/api/resources/dynamic/resources/variables/types/VariableDeclaration.mjs +2 -0
- package/dist/esm/api/resources/dynamic/resources/variables/types/index.d.mts +1 -0
- package/dist/esm/api/resources/dynamic/resources/variables/types/index.mjs +1 -0
- package/dist/esm/api/resources/generatorExec/index.d.mts +1 -0
- package/dist/esm/api/resources/generatorExec/index.mjs +1 -0
- package/dist/esm/api/resources/generatorExec/resources/config/index.d.mts +1 -0
- package/dist/esm/api/resources/generatorExec/resources/config/index.mjs +1 -0
- package/dist/esm/api/resources/generatorExec/resources/config/types/BasicLicense.d.mts +4 -0
- package/dist/esm/api/resources/generatorExec/resources/config/types/BasicLicense.mjs +2 -0
- package/dist/esm/api/resources/generatorExec/resources/config/types/CratesGithubPublishInfo.d.mts +7 -0
- package/dist/esm/api/resources/generatorExec/resources/config/types/CratesGithubPublishInfo.mjs +2 -0
- package/dist/esm/api/resources/generatorExec/resources/config/types/CratesRegistryConfig.d.mts +5 -0
- package/dist/esm/api/resources/generatorExec/resources/config/types/CratesRegistryConfig.mjs +2 -0
- package/dist/esm/api/resources/generatorExec/resources/config/types/CustomLicense.d.mts +3 -0
- package/dist/esm/api/resources/generatorExec/resources/config/types/CustomLicense.mjs +2 -0
- package/dist/esm/api/resources/generatorExec/resources/config/types/EnvironmentVariable.d.mts +1 -0
- package/dist/esm/api/resources/generatorExec/resources/config/types/EnvironmentVariable.mjs +2 -0
- package/dist/esm/api/resources/generatorExec/resources/config/types/GeneratorConfig.d.mts +18 -0
- package/dist/esm/api/resources/generatorExec/resources/config/types/GeneratorConfig.mjs +2 -0
- package/dist/esm/api/resources/generatorExec/resources/config/types/GeneratorEnvironment.d.mts +10 -0
- package/dist/esm/api/resources/generatorExec/resources/config/types/GeneratorEnvironment.mjs +2 -0
- package/dist/esm/api/resources/generatorExec/resources/config/types/GeneratorOutputConfig.d.mts +8 -0
- package/dist/esm/api/resources/generatorExec/resources/config/types/GeneratorOutputConfig.mjs +2 -0
- package/dist/esm/api/resources/generatorExec/resources/config/types/GeneratorPublishConfig.d.mts +9 -0
- package/dist/esm/api/resources/generatorExec/resources/config/types/GeneratorPublishConfig.mjs +2 -0
- package/dist/esm/api/resources/generatorExec/resources/config/types/GeneratorPublishTarget.d.mts +25 -0
- package/dist/esm/api/resources/generatorExec/resources/config/types/GeneratorPublishTarget.mjs +2 -0
- package/dist/esm/api/resources/generatorExec/resources/config/types/GeneratorRegistriesConfig.d.mts +5 -0
- package/dist/esm/api/resources/generatorExec/resources/config/types/GeneratorRegistriesConfig.mjs +2 -0
- package/dist/esm/api/resources/generatorExec/resources/config/types/GeneratorRegistriesConfigV2.d.mts +9 -0
- package/dist/esm/api/resources/generatorExec/resources/config/types/GeneratorRegistriesConfigV2.mjs +2 -0
- package/dist/esm/api/resources/generatorExec/resources/config/types/GithubOutputMode.d.mts +14 -0
- package/dist/esm/api/resources/generatorExec/resources/config/types/GithubOutputMode.mjs +2 -0
- package/dist/esm/api/resources/generatorExec/resources/config/types/GithubPublishInfo.d.mts +25 -0
- package/dist/esm/api/resources/generatorExec/resources/config/types/GithubPublishInfo.mjs +2 -0
- package/dist/esm/api/resources/generatorExec/resources/config/types/LicenseConfig.d.mts +10 -0
- package/dist/esm/api/resources/generatorExec/resources/config/types/LicenseConfig.mjs +2 -0
- package/dist/esm/api/resources/generatorExec/resources/config/types/LicenseId.d.mts +5 -0
- package/dist/esm/api/resources/generatorExec/resources/config/types/LicenseId.mjs +5 -0
- package/dist/esm/api/resources/generatorExec/resources/config/types/MavenCentralSignature.d.mts +5 -0
- package/dist/esm/api/resources/generatorExec/resources/config/types/MavenCentralSignature.mjs +2 -0
- package/dist/esm/api/resources/generatorExec/resources/config/types/MavenCentralSignatureGithubInfo.d.mts +6 -0
- package/dist/esm/api/resources/generatorExec/resources/config/types/MavenCentralSignatureGithubInfo.mjs +2 -0
- package/dist/esm/api/resources/generatorExec/resources/config/types/MavenGithubPublishInfo.d.mts +9 -0
- package/dist/esm/api/resources/generatorExec/resources/config/types/MavenGithubPublishInfo.mjs +2 -0
- package/dist/esm/api/resources/generatorExec/resources/config/types/MavenRegistryConfig.d.mts +8 -0
- package/dist/esm/api/resources/generatorExec/resources/config/types/MavenRegistryConfig.mjs +2 -0
- package/dist/esm/api/resources/generatorExec/resources/config/types/MavenRegistryConfigV2.d.mts +8 -0
- package/dist/esm/api/resources/generatorExec/resources/config/types/MavenRegistryConfigV2.mjs +2 -0
- package/dist/esm/api/resources/generatorExec/resources/config/types/NpmGithubPublishInfo.d.mts +7 -0
- package/dist/esm/api/resources/generatorExec/resources/config/types/NpmGithubPublishInfo.mjs +2 -0
- package/dist/esm/api/resources/generatorExec/resources/config/types/NpmRegistryConfig.d.mts +5 -0
- package/dist/esm/api/resources/generatorExec/resources/config/types/NpmRegistryConfig.mjs +2 -0
- package/dist/esm/api/resources/generatorExec/resources/config/types/NpmRegistryConfigV2.d.mts +5 -0
- package/dist/esm/api/resources/generatorExec/resources/config/types/NpmRegistryConfigV2.mjs +2 -0
- package/dist/esm/api/resources/generatorExec/resources/config/types/NugetGithubPublishInfo.d.mts +7 -0
- package/dist/esm/api/resources/generatorExec/resources/config/types/NugetGithubPublishInfo.mjs +2 -0
- package/dist/esm/api/resources/generatorExec/resources/config/types/NugetRegistryConfig.d.mts +5 -0
- package/dist/esm/api/resources/generatorExec/resources/config/types/NugetRegistryConfig.mjs +2 -0
- package/dist/esm/api/resources/generatorExec/resources/config/types/OutputMetadata.d.mts +5 -0
- package/dist/esm/api/resources/generatorExec/resources/config/types/OutputMetadata.mjs +2 -0
- package/dist/esm/api/resources/generatorExec/resources/config/types/OutputMetadataAuthor.d.mts +4 -0
- package/dist/esm/api/resources/generatorExec/resources/config/types/OutputMetadataAuthor.mjs +2 -0
- package/dist/esm/api/resources/generatorExec/resources/config/types/OutputMode.d.mts +13 -0
- package/dist/esm/api/resources/generatorExec/resources/config/types/OutputMode.mjs +2 -0
- package/dist/esm/api/resources/generatorExec/resources/config/types/PostmanConfig.d.mts +4 -0
- package/dist/esm/api/resources/generatorExec/resources/config/types/PostmanConfig.mjs +2 -0
- package/dist/esm/api/resources/generatorExec/resources/config/types/PostmanGithubPublishInfo.d.mts +5 -0
- package/dist/esm/api/resources/generatorExec/resources/config/types/PostmanGithubPublishInfo.mjs +2 -0
- package/dist/esm/api/resources/generatorExec/resources/config/types/PublishingMetadata.d.mts +9 -0
- package/dist/esm/api/resources/generatorExec/resources/config/types/PublishingMetadata.mjs +2 -0
- package/dist/esm/api/resources/generatorExec/resources/config/types/PypiGithubPublishInfo.d.mts +9 -0
- package/dist/esm/api/resources/generatorExec/resources/config/types/PypiGithubPublishInfo.mjs +2 -0
- package/dist/esm/api/resources/generatorExec/resources/config/types/PypiMetadata.d.mts +6 -0
- package/dist/esm/api/resources/generatorExec/resources/config/types/PypiMetadata.mjs +2 -0
- package/dist/esm/api/resources/generatorExec/resources/config/types/PypiRegistryConfig.d.mts +8 -0
- package/dist/esm/api/resources/generatorExec/resources/config/types/PypiRegistryConfig.mjs +2 -0
- package/dist/esm/api/resources/generatorExec/resources/config/types/RemoteGeneratorEnvironment.d.mts +5 -0
- package/dist/esm/api/resources/generatorExec/resources/config/types/RemoteGeneratorEnvironment.mjs +2 -0
- package/dist/esm/api/resources/generatorExec/resources/config/types/RubyGemsGithubPublishInfo.d.mts +7 -0
- package/dist/esm/api/resources/generatorExec/resources/config/types/RubyGemsGithubPublishInfo.mjs +2 -0
- package/dist/esm/api/resources/generatorExec/resources/config/types/RubyGemsRegistryConfig.d.mts +5 -0
- package/dist/esm/api/resources/generatorExec/resources/config/types/RubyGemsRegistryConfig.mjs +2 -0
- package/dist/esm/api/resources/generatorExec/resources/config/types/index.d.mts +38 -0
- package/dist/esm/api/resources/generatorExec/resources/config/types/index.mjs +38 -0
- package/dist/esm/api/resources/generatorExec/resources/index.d.mts +2 -0
- package/dist/esm/api/resources/generatorExec/resources/index.mjs +2 -0
- package/dist/esm/api/resources/index.d.mts +4 -0
- package/dist/esm/api/resources/index.mjs +4 -0
- package/dist/esm/core/exports.d.mts +1 -0
- package/dist/esm/core/exports.mjs +1 -0
- package/dist/esm/core/fetcher/APIResponse.d.mts +20 -0
- package/dist/esm/core/fetcher/APIResponse.mjs +1 -0
- package/dist/esm/core/fetcher/BinaryResponse.d.mts +19 -0
- package/dist/esm/core/fetcher/BinaryResponse.mjs +14 -0
- package/dist/esm/core/fetcher/EndpointMetadata.d.mts +13 -0
- package/dist/esm/core/fetcher/EndpointMetadata.mjs +1 -0
- package/dist/esm/core/fetcher/EndpointSupplier.d.mts +12 -0
- package/dist/esm/core/fetcher/EndpointSupplier.mjs +19 -0
- package/dist/esm/core/fetcher/Fetcher.d.mts +48 -0
- package/dist/esm/core/fetcher/Fetcher.mjs +312 -0
- package/dist/esm/core/fetcher/Headers.d.mts +2 -0
- package/dist/esm/core/fetcher/Headers.mjs +82 -0
- package/dist/esm/core/fetcher/HttpResponsePromise.d.mts +58 -0
- package/dist/esm/core/fetcher/HttpResponsePromise.mjs +99 -0
- package/dist/esm/core/fetcher/RawResponse.d.mts +29 -0
- package/dist/esm/core/fetcher/RawResponse.mjs +40 -0
- package/dist/esm/core/fetcher/Supplier.d.mts +4 -0
- package/dist/esm/core/fetcher/Supplier.mjs +19 -0
- package/dist/esm/core/fetcher/createRequestUrl.d.mts +1 -0
- package/dist/esm/core/fetcher/createRequestUrl.mjs +5 -0
- package/dist/esm/core/fetcher/getErrorResponseBody.d.mts +1 -0
- package/dist/esm/core/fetcher/getErrorResponseBody.mjs +42 -0
- package/dist/esm/core/fetcher/getFetchFn.d.mts +1 -0
- package/dist/esm/core/fetcher/getFetchFn.mjs +14 -0
- package/dist/esm/core/fetcher/getHeader.d.mts +1 -0
- package/dist/esm/core/fetcher/getHeader.mjs +8 -0
- package/dist/esm/core/fetcher/getRequestBody.d.mts +7 -0
- package/dist/esm/core/fetcher/getRequestBody.mjs +24 -0
- package/dist/esm/core/fetcher/getResponseBody.d.mts +1 -0
- package/dist/esm/core/fetcher/getResponseBody.mjs +66 -0
- package/dist/esm/core/fetcher/index.d.mts +11 -0
- package/dist/esm/core/fetcher/index.mjs +6 -0
- package/dist/esm/core/fetcher/makeRequest.d.mts +1 -0
- package/dist/esm/core/fetcher/makeRequest.mjs +36 -0
- package/dist/esm/core/fetcher/requestWithRetries.d.mts +1 -0
- package/dist/esm/core/fetcher/requestWithRetries.mjs +64 -0
- package/dist/esm/core/fetcher/signals.d.mts +5 -0
- package/dist/esm/core/fetcher/signals.mjs +20 -0
- package/dist/esm/core/headers.d.mts +2 -0
- package/dist/esm/core/headers.mjs +27 -0
- package/dist/esm/core/index.d.mts +4 -0
- package/dist/esm/core/index.mjs +4 -0
- package/dist/esm/core/json.d.mts +15 -0
- package/dist/esm/core/json.mjs +19 -0
- package/dist/esm/core/logging/exports.d.mts +18 -0
- package/dist/esm/core/logging/exports.mjs +9 -0
- package/dist/esm/core/logging/index.d.mts +1 -0
- package/dist/esm/core/logging/index.mjs +1 -0
- package/dist/esm/core/logging/logger.d.mts +126 -0
- package/dist/esm/core/logging/logger.mjs +138 -0
- package/dist/esm/core/runtime/index.d.mts +1 -0
- package/dist/esm/core/runtime/index.mjs +1 -0
- package/dist/esm/core/runtime/runtime.d.mts +9 -0
- package/dist/esm/core/runtime/runtime.mjs +100 -0
- package/dist/esm/core/url/encodePathParam.d.mts +1 -0
- package/dist/esm/core/url/encodePathParam.mjs +18 -0
- package/dist/esm/core/url/index.d.mts +3 -0
- package/dist/esm/core/url/index.mjs +3 -0
- package/dist/esm/core/url/join.d.mts +1 -0
- package/dist/esm/core/url/join.mjs +65 -0
- package/dist/esm/core/url/qs.d.mts +6 -0
- package/dist/esm/core/url/qs.mjs +61 -0
- package/dist/esm/errors/FernIrError.d.mts +12 -0
- package/dist/esm/errors/FernIrError.mjs +28 -0
- package/dist/esm/errors/FernIrTimeoutError.d.mts +3 -0
- package/dist/esm/errors/FernIrTimeoutError.mjs +11 -0
- package/dist/esm/errors/handleNonStatusCodeError.d.mts +2 -0
- package/dist/esm/errors/handleNonStatusCodeError.mjs +29 -0
- package/dist/esm/errors/index.d.mts +2 -0
- package/dist/esm/errors/index.mjs +2 -0
- package/dist/esm/exports.d.mts +1 -0
- package/dist/esm/exports.mjs +1 -0
- package/dist/esm/index.d.mts +4 -0
- package/dist/esm/index.mjs +3 -0
- package/dist/esm/version.d.mts +1 -0
- package/dist/esm/version.mjs +1 -0
- package/package.json +54 -16
- package/api/index.d.ts +0 -1
- package/api/index.js +0 -17
- package/api/resources/commons/index.d.ts +0 -1
- package/api/resources/commons/index.js +0 -17
- package/api/resources/commons/types/Name.d.ts +0 -11
- package/api/resources/commons/types/Name.js +0 -5
- package/api/resources/commons/types/SafeAndUnsafeString.d.ts +0 -9
- package/api/resources/commons/types/SafeAndUnsafeString.js +0 -5
- package/api/resources/commons/types/index.d.ts +0 -2
- package/api/resources/commons/types/index.js +0 -18
- package/api/resources/dynamic/index.d.ts +0 -1
- package/api/resources/dynamic/index.js +0 -17
- package/api/resources/dynamic/resources/auth/index.d.ts +0 -1
- package/api/resources/dynamic/resources/auth/index.js +0 -17
- package/api/resources/dynamic/resources/auth/types/Auth.d.ts +0 -22
- package/api/resources/dynamic/resources/auth/types/Auth.js +0 -5
- package/api/resources/dynamic/resources/auth/types/AuthValues.d.ts +0 -22
- package/api/resources/dynamic/resources/auth/types/AuthValues.js +0 -5
- package/api/resources/dynamic/resources/auth/types/BasicAuth.d.ts +0 -8
- package/api/resources/dynamic/resources/auth/types/BasicAuth.js +0 -5
- package/api/resources/dynamic/resources/auth/types/BasicAuthValues.d.ts +0 -7
- package/api/resources/dynamic/resources/auth/types/BasicAuthValues.js +0 -5
- package/api/resources/dynamic/resources/auth/types/BearerAuth.d.ts +0 -7
- package/api/resources/dynamic/resources/auth/types/BearerAuth.js +0 -5
- package/api/resources/dynamic/resources/auth/types/BearerAuthValues.d.ts +0 -6
- package/api/resources/dynamic/resources/auth/types/BearerAuthValues.js +0 -5
- package/api/resources/dynamic/resources/auth/types/HeaderAuth.d.ts +0 -7
- package/api/resources/dynamic/resources/auth/types/HeaderAuth.js +0 -5
- package/api/resources/dynamic/resources/auth/types/HeaderAuthValues.d.ts +0 -6
- package/api/resources/dynamic/resources/auth/types/HeaderAuthValues.js +0 -5
- package/api/resources/dynamic/resources/auth/types/InferredAuth.d.ts +0 -12
- package/api/resources/dynamic/resources/auth/types/InferredAuth.js +0 -5
- package/api/resources/dynamic/resources/auth/types/InferredAuthValues.d.ts +0 -11
- package/api/resources/dynamic/resources/auth/types/InferredAuthValues.js +0 -5
- package/api/resources/dynamic/resources/auth/types/OAuth.d.ts +0 -8
- package/api/resources/dynamic/resources/auth/types/OAuth.js +0 -5
- package/api/resources/dynamic/resources/auth/types/OAuthValues.d.ts +0 -7
- package/api/resources/dynamic/resources/auth/types/OAuthValues.js +0 -5
- package/api/resources/dynamic/resources/auth/types/index.d.ts +0 -12
- package/api/resources/dynamic/resources/auth/types/index.js +0 -28
- package/api/resources/dynamic/resources/commons/index.d.ts +0 -1
- package/api/resources/dynamic/resources/commons/index.js +0 -17
- package/api/resources/dynamic/resources/commons/types/EndpointId.d.ts +0 -4
- package/api/resources/dynamic/resources/commons/types/EndpointId.js +0 -5
- package/api/resources/dynamic/resources/commons/types/FernFilepath.d.ts +0 -9
- package/api/resources/dynamic/resources/commons/types/FernFilepath.js +0 -5
- package/api/resources/dynamic/resources/commons/types/Name.d.ts +0 -11
- package/api/resources/dynamic/resources/commons/types/Name.js +0 -5
- package/api/resources/dynamic/resources/commons/types/NameAndWireValue.d.ts +0 -8
- package/api/resources/dynamic/resources/commons/types/NameAndWireValue.js +0 -5
- package/api/resources/dynamic/resources/commons/types/SafeAndUnsafeString.d.ts +0 -9
- package/api/resources/dynamic/resources/commons/types/SafeAndUnsafeString.js +0 -5
- package/api/resources/dynamic/resources/commons/types/TypeId.d.ts +0 -4
- package/api/resources/dynamic/resources/commons/types/TypeId.js +0 -5
- package/api/resources/dynamic/resources/commons/types/WithDocs.d.ts +0 -6
- package/api/resources/dynamic/resources/commons/types/WithDocs.js +0 -5
- package/api/resources/dynamic/resources/commons/types/index.d.ts +0 -7
- package/api/resources/dynamic/resources/commons/types/index.js +0 -23
- package/api/resources/dynamic/resources/declaration/index.d.ts +0 -1
- package/api/resources/dynamic/resources/declaration/index.js +0 -17
- package/api/resources/dynamic/resources/declaration/types/Declaration.d.ts +0 -8
- package/api/resources/dynamic/resources/declaration/types/Declaration.js +0 -5
- package/api/resources/dynamic/resources/declaration/types/index.d.ts +0 -1
- package/api/resources/dynamic/resources/declaration/types/index.js +0 -17
- package/api/resources/dynamic/resources/endpoints/index.d.ts +0 -1
- package/api/resources/dynamic/resources/endpoints/index.js +0 -17
- package/api/resources/dynamic/resources/endpoints/types/BodyRequest.d.ts +0 -8
- package/api/resources/dynamic/resources/endpoints/types/BodyRequest.js +0 -5
- package/api/resources/dynamic/resources/endpoints/types/Endpoint.d.ts +0 -12
- package/api/resources/dynamic/resources/endpoints/types/Endpoint.js +0 -5
- package/api/resources/dynamic/resources/endpoints/types/EndpointExample.d.ts +0 -10
- package/api/resources/dynamic/resources/endpoints/types/EndpointExample.js +0 -5
- package/api/resources/dynamic/resources/endpoints/types/EndpointLocation.d.ts +0 -11
- package/api/resources/dynamic/resources/endpoints/types/EndpointLocation.js +0 -5
- package/api/resources/dynamic/resources/endpoints/types/FileUploadRequestBody.d.ts +0 -7
- package/api/resources/dynamic/resources/endpoints/types/FileUploadRequestBody.js +0 -5
- package/api/resources/dynamic/resources/endpoints/types/FileUploadRequestBodyProperty.d.ts +0 -16
- package/api/resources/dynamic/resources/endpoints/types/FileUploadRequestBodyProperty.js +0 -5
- package/api/resources/dynamic/resources/endpoints/types/InlinedRequest.d.ts +0 -12
- package/api/resources/dynamic/resources/endpoints/types/InlinedRequest.js +0 -5
- package/api/resources/dynamic/resources/endpoints/types/InlinedRequestBody.d.ts +0 -17
- package/api/resources/dynamic/resources/endpoints/types/InlinedRequestBody.js +0 -5
- package/api/resources/dynamic/resources/endpoints/types/InlinedRequestMetadata.d.ts +0 -21
- package/api/resources/dynamic/resources/endpoints/types/InlinedRequestMetadata.js +0 -5
- package/api/resources/dynamic/resources/endpoints/types/ReferencedRequestBody.d.ts +0 -8
- package/api/resources/dynamic/resources/endpoints/types/ReferencedRequestBody.js +0 -5
- package/api/resources/dynamic/resources/endpoints/types/ReferencedRequestBodyType.d.ts +0 -14
- package/api/resources/dynamic/resources/endpoints/types/ReferencedRequestBodyType.js +0 -5
- package/api/resources/dynamic/resources/endpoints/types/Request.d.ts +0 -16
- package/api/resources/dynamic/resources/endpoints/types/Request.js +0 -5
- package/api/resources/dynamic/resources/endpoints/types/Response.d.ts +0 -32
- package/api/resources/dynamic/resources/endpoints/types/Response.js +0 -5
- package/api/resources/dynamic/resources/endpoints/types/index.d.ts +0 -13
- package/api/resources/dynamic/resources/endpoints/types/index.js +0 -29
- package/api/resources/dynamic/resources/environment/index.d.ts +0 -1
- package/api/resources/dynamic/resources/environment/index.js +0 -17
- package/api/resources/dynamic/resources/environment/types/EnvironmentBaseUrlId.d.ts +0 -4
- package/api/resources/dynamic/resources/environment/types/EnvironmentBaseUrlId.js +0 -5
- package/api/resources/dynamic/resources/environment/types/EnvironmentBaseUrlWithId.d.ts +0 -8
- package/api/resources/dynamic/resources/environment/types/EnvironmentBaseUrlWithId.js +0 -5
- package/api/resources/dynamic/resources/environment/types/EnvironmentId.d.ts +0 -4
- package/api/resources/dynamic/resources/environment/types/EnvironmentId.js +0 -5
- package/api/resources/dynamic/resources/environment/types/EnvironmentUrl.d.ts +0 -4
- package/api/resources/dynamic/resources/environment/types/EnvironmentUrl.js +0 -5
- package/api/resources/dynamic/resources/environment/types/EnvironmentValues.d.ts +0 -17
- package/api/resources/dynamic/resources/environment/types/EnvironmentValues.js +0 -5
- package/api/resources/dynamic/resources/environment/types/Environments.d.ts +0 -13
- package/api/resources/dynamic/resources/environment/types/Environments.js +0 -5
- package/api/resources/dynamic/resources/environment/types/EnvironmentsConfig.d.ts +0 -8
- package/api/resources/dynamic/resources/environment/types/EnvironmentsConfig.js +0 -5
- package/api/resources/dynamic/resources/environment/types/MultipleBaseUrlsEnvironment.d.ts +0 -9
- package/api/resources/dynamic/resources/environment/types/MultipleBaseUrlsEnvironment.js +0 -5
- package/api/resources/dynamic/resources/environment/types/MultipleBaseUrlsEnvironments.d.ts +0 -8
- package/api/resources/dynamic/resources/environment/types/MultipleBaseUrlsEnvironments.js +0 -5
- package/api/resources/dynamic/resources/environment/types/MultipleEnvironmentUrlValues.d.ts +0 -5
- package/api/resources/dynamic/resources/environment/types/MultipleEnvironmentUrlValues.js +0 -5
- package/api/resources/dynamic/resources/environment/types/SingleBaseUrlEnvironment.d.ts +0 -9
- package/api/resources/dynamic/resources/environment/types/SingleBaseUrlEnvironment.js +0 -5
- package/api/resources/dynamic/resources/environment/types/SingleBaseUrlEnvironments.d.ts +0 -7
- package/api/resources/dynamic/resources/environment/types/SingleBaseUrlEnvironments.js +0 -5
- package/api/resources/dynamic/resources/environment/types/index.d.ts +0 -12
- package/api/resources/dynamic/resources/environment/types/index.js +0 -28
- package/api/resources/dynamic/resources/http/index.d.ts +0 -1
- package/api/resources/dynamic/resources/http/index.js +0 -17
- package/api/resources/dynamic/resources/http/types/HttpMethod.d.ts +0 -12
- package/api/resources/dynamic/resources/http/types/HttpMethod.js +0 -14
- package/api/resources/dynamic/resources/http/types/index.d.ts +0 -1
- package/api/resources/dynamic/resources/http/types/index.js +0 -17
- package/api/resources/dynamic/resources/index.d.ts +0 -20
- package/api/resources/dynamic/resources/index.js +0 -59
- package/api/resources/dynamic/resources/ir/index.d.ts +0 -1
- package/api/resources/dynamic/resources/ir/index.js +0 -17
- package/api/resources/dynamic/resources/ir/types/CratesPublishInfo.d.ts +0 -8
- package/api/resources/dynamic/resources/ir/types/CratesPublishInfo.js +0 -5
- package/api/resources/dynamic/resources/ir/types/DynamicIntermediateRepresentation.d.ts +0 -37
- package/api/resources/dynamic/resources/ir/types/DynamicIntermediateRepresentation.js +0 -5
- package/api/resources/dynamic/resources/ir/types/GeneratorConfig.d.ts +0 -18
- package/api/resources/dynamic/resources/ir/types/GeneratorConfig.js +0 -5
- package/api/resources/dynamic/resources/ir/types/GeneratorOutputConfig.d.ts +0 -18
- package/api/resources/dynamic/resources/ir/types/GeneratorOutputConfig.js +0 -5
- package/api/resources/dynamic/resources/ir/types/GoPublishInfo.d.ts +0 -8
- package/api/resources/dynamic/resources/ir/types/GoPublishInfo.js +0 -5
- package/api/resources/dynamic/resources/ir/types/MavenPublishInfo.d.ts +0 -8
- package/api/resources/dynamic/resources/ir/types/MavenPublishInfo.js +0 -5
- package/api/resources/dynamic/resources/ir/types/NpmPublishInfo.d.ts +0 -8
- package/api/resources/dynamic/resources/ir/types/NpmPublishInfo.js +0 -5
- package/api/resources/dynamic/resources/ir/types/NugetPublishInfo.d.ts +0 -8
- package/api/resources/dynamic/resources/ir/types/NugetPublishInfo.js +0 -5
- package/api/resources/dynamic/resources/ir/types/PublishInfo.d.ts +0 -31
- package/api/resources/dynamic/resources/ir/types/PublishInfo.js +0 -5
- package/api/resources/dynamic/resources/ir/types/PypiPublishInfo.d.ts +0 -8
- package/api/resources/dynamic/resources/ir/types/PypiPublishInfo.js +0 -5
- package/api/resources/dynamic/resources/ir/types/RubyGemsPublishInfo.d.ts +0 -8
- package/api/resources/dynamic/resources/ir/types/RubyGemsPublishInfo.js +0 -5
- package/api/resources/dynamic/resources/ir/types/SwiftPublishInfo.d.ts +0 -8
- package/api/resources/dynamic/resources/ir/types/SwiftPublishInfo.js +0 -5
- package/api/resources/dynamic/resources/ir/types/index.d.ts +0 -12
- package/api/resources/dynamic/resources/ir/types/index.js +0 -28
- package/api/resources/dynamic/resources/snippets/index.d.ts +0 -1
- package/api/resources/dynamic/resources/snippets/index.js +0 -17
- package/api/resources/dynamic/resources/snippets/types/EndpointSnippetRequest.d.ts +0 -17
- package/api/resources/dynamic/resources/snippets/types/EndpointSnippetRequest.js +0 -5
- package/api/resources/dynamic/resources/snippets/types/EndpointSnippetResponse.d.ts +0 -15
- package/api/resources/dynamic/resources/snippets/types/EndpointSnippetResponse.js +0 -5
- package/api/resources/dynamic/resources/snippets/types/ErrorSeverity.d.ts +0 -8
- package/api/resources/dynamic/resources/snippets/types/ErrorSeverity.js +0 -10
- package/api/resources/dynamic/resources/snippets/types/Error_.d.ts +0 -8
- package/api/resources/dynamic/resources/snippets/types/Error_.js +0 -5
- package/api/resources/dynamic/resources/snippets/types/Values.d.ts +0 -10
- package/api/resources/dynamic/resources/snippets/types/Values.js +0 -5
- package/api/resources/dynamic/resources/snippets/types/index.d.ts +0 -5
- package/api/resources/dynamic/resources/snippets/types/index.js +0 -21
- package/api/resources/dynamic/resources/types/index.d.ts +0 -1
- package/api/resources/dynamic/resources/types/index.js +0 -17
- package/api/resources/dynamic/resources/types/types/AliasType.d.ts +0 -8
- package/api/resources/dynamic/resources/types/types/AliasType.js +0 -5
- package/api/resources/dynamic/resources/types/types/DiscriminatedUnionType.d.ts +0 -10
- package/api/resources/dynamic/resources/types/types/DiscriminatedUnionType.js +0 -5
- package/api/resources/dynamic/resources/types/types/EnumType.d.ts +0 -8
- package/api/resources/dynamic/resources/types/types/EnumType.js +0 -5
- package/api/resources/dynamic/resources/types/types/LiteralType.d.ts +0 -15
- package/api/resources/dynamic/resources/types/types/LiteralType.js +0 -5
- package/api/resources/dynamic/resources/types/types/MapType.d.ts +0 -8
- package/api/resources/dynamic/resources/types/types/MapType.js +0 -5
- package/api/resources/dynamic/resources/types/types/NamedParameter.d.ts +0 -11
- package/api/resources/dynamic/resources/types/types/NamedParameter.js +0 -5
- package/api/resources/dynamic/resources/types/types/NamedType.d.ts +0 -25
- package/api/resources/dynamic/resources/types/types/NamedType.js +0 -5
- package/api/resources/dynamic/resources/types/types/ObjectPropertyAccess.d.ts +0 -8
- package/api/resources/dynamic/resources/types/types/ObjectPropertyAccess.js +0 -10
- package/api/resources/dynamic/resources/types/types/ObjectType.d.ts +0 -15
- package/api/resources/dynamic/resources/types/types/ObjectType.js +0 -5
- package/api/resources/dynamic/resources/types/types/PrimitiveTypeV1.d.ts +0 -22
- package/api/resources/dynamic/resources/types/types/PrimitiveTypeV1.js +0 -21
- package/api/resources/dynamic/resources/types/types/SingleDiscriminatedUnionType.d.ts +0 -16
- package/api/resources/dynamic/resources/types/types/SingleDiscriminatedUnionType.js +0 -5
- package/api/resources/dynamic/resources/types/types/SingleDiscriminatedUnionTypeNoProperties.d.ts +0 -9
- package/api/resources/dynamic/resources/types/types/SingleDiscriminatedUnionTypeNoProperties.js +0 -5
- package/api/resources/dynamic/resources/types/types/SingleDiscriminatedUnionTypeObject.d.ts +0 -10
- package/api/resources/dynamic/resources/types/types/SingleDiscriminatedUnionTypeObject.js +0 -5
- package/api/resources/dynamic/resources/types/types/SingleDiscriminatedUnionTypeSingleProperty.d.ts +0 -10
- package/api/resources/dynamic/resources/types/types/SingleDiscriminatedUnionTypeSingleProperty.js +0 -5
- package/api/resources/dynamic/resources/types/types/TypeReference.d.ts +0 -41
- package/api/resources/dynamic/resources/types/types/TypeReference.js +0 -5
- package/api/resources/dynamic/resources/types/types/UndiscriminatedUnionType.d.ts +0 -9
- package/api/resources/dynamic/resources/types/types/UndiscriminatedUnionType.js +0 -5
- package/api/resources/dynamic/resources/types/types/index.d.ts +0 -16
- package/api/resources/dynamic/resources/types/types/index.js +0 -32
- package/api/resources/dynamic/resources/variables/index.d.ts +0 -1
- package/api/resources/dynamic/resources/variables/index.js +0 -17
- package/api/resources/dynamic/resources/variables/types/VariableDeclaration.d.ts +0 -16
- package/api/resources/dynamic/resources/variables/types/VariableDeclaration.js +0 -5
- package/api/resources/dynamic/resources/variables/types/index.d.ts +0 -1
- package/api/resources/dynamic/resources/variables/types/index.js +0 -17
- package/api/resources/generatorExec/index.d.ts +0 -1
- package/api/resources/generatorExec/index.js +0 -17
- package/api/resources/generatorExec/resources/config/index.d.ts +0 -1
- package/api/resources/generatorExec/resources/config/index.js +0 -17
- package/api/resources/generatorExec/resources/config/types/BasicLicense.d.ts +0 -7
- package/api/resources/generatorExec/resources/config/types/BasicLicense.js +0 -5
- package/api/resources/generatorExec/resources/config/types/CratesGithubPublishInfo.d.ts +0 -10
- package/api/resources/generatorExec/resources/config/types/CratesGithubPublishInfo.js +0 -5
- package/api/resources/generatorExec/resources/config/types/CratesRegistryConfig.d.ts +0 -8
- package/api/resources/generatorExec/resources/config/types/CratesRegistryConfig.js +0 -5
- package/api/resources/generatorExec/resources/config/types/CustomLicense.d.ts +0 -6
- package/api/resources/generatorExec/resources/config/types/CustomLicense.js +0 -5
- package/api/resources/generatorExec/resources/config/types/EnvironmentVariable.d.ts +0 -4
- package/api/resources/generatorExec/resources/config/types/EnvironmentVariable.js +0 -5
- package/api/resources/generatorExec/resources/config/types/GeneratorConfig.d.ts +0 -21
- package/api/resources/generatorExec/resources/config/types/GeneratorConfig.js +0 -5
- package/api/resources/generatorExec/resources/config/types/GeneratorEnvironment.d.ts +0 -13
- package/api/resources/generatorExec/resources/config/types/GeneratorEnvironment.js +0 -5
- package/api/resources/generatorExec/resources/config/types/GeneratorOutputConfig.d.ts +0 -11
- package/api/resources/generatorExec/resources/config/types/GeneratorOutputConfig.js +0 -5
- package/api/resources/generatorExec/resources/config/types/GeneratorPublishConfig.d.ts +0 -12
- package/api/resources/generatorExec/resources/config/types/GeneratorPublishConfig.js +0 -5
- package/api/resources/generatorExec/resources/config/types/GeneratorPublishTarget.d.ts +0 -28
- package/api/resources/generatorExec/resources/config/types/GeneratorPublishTarget.js +0 -5
- package/api/resources/generatorExec/resources/config/types/GeneratorRegistriesConfig.d.ts +0 -8
- package/api/resources/generatorExec/resources/config/types/GeneratorRegistriesConfig.js +0 -5
- package/api/resources/generatorExec/resources/config/types/GeneratorRegistriesConfigV2.d.ts +0 -12
- package/api/resources/generatorExec/resources/config/types/GeneratorRegistriesConfigV2.js +0 -5
- package/api/resources/generatorExec/resources/config/types/GithubOutputMode.d.ts +0 -17
- package/api/resources/generatorExec/resources/config/types/GithubOutputMode.js +0 -5
- package/api/resources/generatorExec/resources/config/types/GithubPublishInfo.d.ts +0 -28
- package/api/resources/generatorExec/resources/config/types/GithubPublishInfo.js +0 -5
- package/api/resources/generatorExec/resources/config/types/LicenseConfig.d.ts +0 -13
- package/api/resources/generatorExec/resources/config/types/LicenseConfig.js +0 -5
- package/api/resources/generatorExec/resources/config/types/LicenseId.d.ts +0 -8
- package/api/resources/generatorExec/resources/config/types/LicenseId.js +0 -10
- package/api/resources/generatorExec/resources/config/types/MavenCentralSignature.d.ts +0 -8
- package/api/resources/generatorExec/resources/config/types/MavenCentralSignature.js +0 -5
- package/api/resources/generatorExec/resources/config/types/MavenCentralSignatureGithubInfo.d.ts +0 -9
- package/api/resources/generatorExec/resources/config/types/MavenCentralSignatureGithubInfo.js +0 -5
- package/api/resources/generatorExec/resources/config/types/MavenGithubPublishInfo.d.ts +0 -12
- package/api/resources/generatorExec/resources/config/types/MavenGithubPublishInfo.js +0 -5
- package/api/resources/generatorExec/resources/config/types/MavenRegistryConfig.d.ts +0 -11
- package/api/resources/generatorExec/resources/config/types/MavenRegistryConfig.js +0 -5
- package/api/resources/generatorExec/resources/config/types/MavenRegistryConfigV2.d.ts +0 -11
- package/api/resources/generatorExec/resources/config/types/MavenRegistryConfigV2.js +0 -5
- package/api/resources/generatorExec/resources/config/types/NpmGithubPublishInfo.d.ts +0 -10
- package/api/resources/generatorExec/resources/config/types/NpmGithubPublishInfo.js +0 -5
- package/api/resources/generatorExec/resources/config/types/NpmRegistryConfig.d.ts +0 -8
- package/api/resources/generatorExec/resources/config/types/NpmRegistryConfig.js +0 -5
- package/api/resources/generatorExec/resources/config/types/NpmRegistryConfigV2.d.ts +0 -8
- package/api/resources/generatorExec/resources/config/types/NpmRegistryConfigV2.js +0 -5
- package/api/resources/generatorExec/resources/config/types/NugetGithubPublishInfo.d.ts +0 -10
- package/api/resources/generatorExec/resources/config/types/NugetGithubPublishInfo.js +0 -5
- package/api/resources/generatorExec/resources/config/types/NugetRegistryConfig.d.ts +0 -8
- package/api/resources/generatorExec/resources/config/types/NugetRegistryConfig.js +0 -5
- package/api/resources/generatorExec/resources/config/types/OutputMetadata.d.ts +0 -8
- package/api/resources/generatorExec/resources/config/types/OutputMetadata.js +0 -5
- package/api/resources/generatorExec/resources/config/types/OutputMetadataAuthor.d.ts +0 -7
- package/api/resources/generatorExec/resources/config/types/OutputMetadataAuthor.js +0 -5
- package/api/resources/generatorExec/resources/config/types/OutputMode.d.ts +0 -16
- package/api/resources/generatorExec/resources/config/types/OutputMode.js +0 -5
- package/api/resources/generatorExec/resources/config/types/PostmanConfig.d.ts +0 -7
- package/api/resources/generatorExec/resources/config/types/PostmanConfig.js +0 -5
- package/api/resources/generatorExec/resources/config/types/PostmanGithubPublishInfo.d.ts +0 -8
- package/api/resources/generatorExec/resources/config/types/PostmanGithubPublishInfo.js +0 -5
- package/api/resources/generatorExec/resources/config/types/PublishingMetadata.d.ts +0 -12
- package/api/resources/generatorExec/resources/config/types/PublishingMetadata.js +0 -5
- package/api/resources/generatorExec/resources/config/types/PypiGithubPublishInfo.d.ts +0 -12
- package/api/resources/generatorExec/resources/config/types/PypiGithubPublishInfo.js +0 -5
- package/api/resources/generatorExec/resources/config/types/PypiMetadata.d.ts +0 -9
- package/api/resources/generatorExec/resources/config/types/PypiMetadata.js +0 -5
- package/api/resources/generatorExec/resources/config/types/PypiRegistryConfig.d.ts +0 -11
- package/api/resources/generatorExec/resources/config/types/PypiRegistryConfig.js +0 -5
- package/api/resources/generatorExec/resources/config/types/RemoteGeneratorEnvironment.d.ts +0 -8
- package/api/resources/generatorExec/resources/config/types/RemoteGeneratorEnvironment.js +0 -5
- package/api/resources/generatorExec/resources/config/types/RubyGemsGithubPublishInfo.d.ts +0 -10
- package/api/resources/generatorExec/resources/config/types/RubyGemsGithubPublishInfo.js +0 -5
- package/api/resources/generatorExec/resources/config/types/RubyGemsRegistryConfig.d.ts +0 -8
- package/api/resources/generatorExec/resources/config/types/RubyGemsRegistryConfig.js +0 -5
- package/api/resources/generatorExec/resources/config/types/index.d.ts +0 -38
- package/api/resources/generatorExec/resources/config/types/index.js +0 -54
- package/api/resources/generatorExec/resources/index.d.ts +0 -2
- package/api/resources/generatorExec/resources/index.js +0 -41
- package/api/resources/index.d.ts +0 -4
- package/api/resources/index.js +0 -43
- package/dist/api/index.d.ts +0 -1
- package/dist/api/index.js +0 -17
- package/dist/api/resources/commons/index.d.ts +0 -1
- package/dist/api/resources/commons/index.js +0 -17
- package/dist/api/resources/commons/types/Name.d.ts +0 -11
- package/dist/api/resources/commons/types/Name.js +0 -5
- package/dist/api/resources/commons/types/SafeAndUnsafeString.d.ts +0 -9
- package/dist/api/resources/commons/types/SafeAndUnsafeString.js +0 -5
- package/dist/api/resources/commons/types/index.d.ts +0 -2
- package/dist/api/resources/commons/types/index.js +0 -18
- package/dist/api/resources/dynamic/index.d.ts +0 -1
- package/dist/api/resources/dynamic/index.js +0 -17
- package/dist/api/resources/dynamic/resources/auth/index.d.ts +0 -1
- package/dist/api/resources/dynamic/resources/auth/index.js +0 -17
- package/dist/api/resources/dynamic/resources/auth/types/Auth.d.ts +0 -22
- package/dist/api/resources/dynamic/resources/auth/types/Auth.js +0 -5
- package/dist/api/resources/dynamic/resources/auth/types/AuthValues.d.ts +0 -22
- package/dist/api/resources/dynamic/resources/auth/types/AuthValues.js +0 -5
- package/dist/api/resources/dynamic/resources/auth/types/BasicAuth.d.ts +0 -8
- package/dist/api/resources/dynamic/resources/auth/types/BasicAuth.js +0 -5
- package/dist/api/resources/dynamic/resources/auth/types/BasicAuthValues.d.ts +0 -7
- package/dist/api/resources/dynamic/resources/auth/types/BasicAuthValues.js +0 -5
- package/dist/api/resources/dynamic/resources/auth/types/BearerAuth.d.ts +0 -7
- package/dist/api/resources/dynamic/resources/auth/types/BearerAuth.js +0 -5
- package/dist/api/resources/dynamic/resources/auth/types/BearerAuthValues.d.ts +0 -6
- package/dist/api/resources/dynamic/resources/auth/types/BearerAuthValues.js +0 -5
- package/dist/api/resources/dynamic/resources/auth/types/HeaderAuth.d.ts +0 -7
- package/dist/api/resources/dynamic/resources/auth/types/HeaderAuth.js +0 -5
- package/dist/api/resources/dynamic/resources/auth/types/HeaderAuthValues.d.ts +0 -6
- package/dist/api/resources/dynamic/resources/auth/types/HeaderAuthValues.js +0 -5
- package/dist/api/resources/dynamic/resources/auth/types/InferredAuth.d.ts +0 -12
- package/dist/api/resources/dynamic/resources/auth/types/InferredAuth.js +0 -5
- package/dist/api/resources/dynamic/resources/auth/types/InferredAuthValues.d.ts +0 -11
- package/dist/api/resources/dynamic/resources/auth/types/InferredAuthValues.js +0 -5
- package/dist/api/resources/dynamic/resources/auth/types/OAuth.d.ts +0 -8
- package/dist/api/resources/dynamic/resources/auth/types/OAuth.js +0 -5
- package/dist/api/resources/dynamic/resources/auth/types/OAuthValues.d.ts +0 -7
- package/dist/api/resources/dynamic/resources/auth/types/OAuthValues.js +0 -5
- package/dist/api/resources/dynamic/resources/auth/types/index.d.ts +0 -12
- package/dist/api/resources/dynamic/resources/auth/types/index.js +0 -28
- package/dist/api/resources/dynamic/resources/commons/index.d.ts +0 -1
- package/dist/api/resources/dynamic/resources/commons/index.js +0 -17
- package/dist/api/resources/dynamic/resources/commons/types/EndpointId.d.ts +0 -4
- package/dist/api/resources/dynamic/resources/commons/types/EndpointId.js +0 -5
- package/dist/api/resources/dynamic/resources/commons/types/FernFilepath.d.ts +0 -9
- package/dist/api/resources/dynamic/resources/commons/types/FernFilepath.js +0 -5
- package/dist/api/resources/dynamic/resources/commons/types/Name.d.ts +0 -11
- package/dist/api/resources/dynamic/resources/commons/types/Name.js +0 -5
- package/dist/api/resources/dynamic/resources/commons/types/NameAndWireValue.d.ts +0 -8
- package/dist/api/resources/dynamic/resources/commons/types/NameAndWireValue.js +0 -5
- package/dist/api/resources/dynamic/resources/commons/types/SafeAndUnsafeString.d.ts +0 -9
- package/dist/api/resources/dynamic/resources/commons/types/SafeAndUnsafeString.js +0 -5
- package/dist/api/resources/dynamic/resources/commons/types/TypeId.d.ts +0 -4
- package/dist/api/resources/dynamic/resources/commons/types/TypeId.js +0 -5
- package/dist/api/resources/dynamic/resources/commons/types/WithDocs.d.ts +0 -6
- package/dist/api/resources/dynamic/resources/commons/types/WithDocs.js +0 -5
- package/dist/api/resources/dynamic/resources/commons/types/index.d.ts +0 -7
- package/dist/api/resources/dynamic/resources/commons/types/index.js +0 -23
- package/dist/api/resources/dynamic/resources/declaration/index.d.ts +0 -1
- package/dist/api/resources/dynamic/resources/declaration/index.js +0 -17
- package/dist/api/resources/dynamic/resources/declaration/types/Declaration.d.ts +0 -8
- package/dist/api/resources/dynamic/resources/declaration/types/Declaration.js +0 -5
- package/dist/api/resources/dynamic/resources/declaration/types/index.d.ts +0 -1
- package/dist/api/resources/dynamic/resources/declaration/types/index.js +0 -17
- package/dist/api/resources/dynamic/resources/endpoints/index.d.ts +0 -1
- package/dist/api/resources/dynamic/resources/endpoints/index.js +0 -17
- package/dist/api/resources/dynamic/resources/endpoints/types/BodyRequest.d.ts +0 -8
- package/dist/api/resources/dynamic/resources/endpoints/types/BodyRequest.js +0 -5
- package/dist/api/resources/dynamic/resources/endpoints/types/Endpoint.d.ts +0 -12
- package/dist/api/resources/dynamic/resources/endpoints/types/Endpoint.js +0 -5
- package/dist/api/resources/dynamic/resources/endpoints/types/EndpointExample.d.ts +0 -10
- package/dist/api/resources/dynamic/resources/endpoints/types/EndpointExample.js +0 -5
- package/dist/api/resources/dynamic/resources/endpoints/types/EndpointLocation.d.ts +0 -11
- package/dist/api/resources/dynamic/resources/endpoints/types/EndpointLocation.js +0 -5
- package/dist/api/resources/dynamic/resources/endpoints/types/FileUploadRequestBody.d.ts +0 -7
- package/dist/api/resources/dynamic/resources/endpoints/types/FileUploadRequestBody.js +0 -5
- package/dist/api/resources/dynamic/resources/endpoints/types/FileUploadRequestBodyProperty.d.ts +0 -16
- package/dist/api/resources/dynamic/resources/endpoints/types/FileUploadRequestBodyProperty.js +0 -5
- package/dist/api/resources/dynamic/resources/endpoints/types/InlinedRequest.d.ts +0 -12
- package/dist/api/resources/dynamic/resources/endpoints/types/InlinedRequest.js +0 -5
- package/dist/api/resources/dynamic/resources/endpoints/types/InlinedRequestBody.d.ts +0 -17
- package/dist/api/resources/dynamic/resources/endpoints/types/InlinedRequestBody.js +0 -5
- package/dist/api/resources/dynamic/resources/endpoints/types/InlinedRequestMetadata.d.ts +0 -21
- package/dist/api/resources/dynamic/resources/endpoints/types/InlinedRequestMetadata.js +0 -5
- package/dist/api/resources/dynamic/resources/endpoints/types/ReferencedRequestBody.d.ts +0 -8
- package/dist/api/resources/dynamic/resources/endpoints/types/ReferencedRequestBody.js +0 -5
- package/dist/api/resources/dynamic/resources/endpoints/types/ReferencedRequestBodyType.d.ts +0 -14
- package/dist/api/resources/dynamic/resources/endpoints/types/ReferencedRequestBodyType.js +0 -5
- package/dist/api/resources/dynamic/resources/endpoints/types/Request.d.ts +0 -16
- package/dist/api/resources/dynamic/resources/endpoints/types/Request.js +0 -5
- package/dist/api/resources/dynamic/resources/endpoints/types/Response.d.ts +0 -32
- package/dist/api/resources/dynamic/resources/endpoints/types/Response.js +0 -5
- package/dist/api/resources/dynamic/resources/endpoints/types/index.d.ts +0 -13
- package/dist/api/resources/dynamic/resources/endpoints/types/index.js +0 -29
- package/dist/api/resources/dynamic/resources/environment/index.d.ts +0 -1
- package/dist/api/resources/dynamic/resources/environment/index.js +0 -17
- package/dist/api/resources/dynamic/resources/environment/types/EnvironmentBaseUrlId.d.ts +0 -4
- package/dist/api/resources/dynamic/resources/environment/types/EnvironmentBaseUrlId.js +0 -5
- package/dist/api/resources/dynamic/resources/environment/types/EnvironmentBaseUrlWithId.d.ts +0 -8
- package/dist/api/resources/dynamic/resources/environment/types/EnvironmentBaseUrlWithId.js +0 -5
- package/dist/api/resources/dynamic/resources/environment/types/EnvironmentId.d.ts +0 -4
- package/dist/api/resources/dynamic/resources/environment/types/EnvironmentId.js +0 -5
- package/dist/api/resources/dynamic/resources/environment/types/EnvironmentUrl.d.ts +0 -4
- package/dist/api/resources/dynamic/resources/environment/types/EnvironmentUrl.js +0 -5
- package/dist/api/resources/dynamic/resources/environment/types/EnvironmentValues.d.ts +0 -17
- package/dist/api/resources/dynamic/resources/environment/types/EnvironmentValues.js +0 -5
- package/dist/api/resources/dynamic/resources/environment/types/Environments.d.ts +0 -13
- package/dist/api/resources/dynamic/resources/environment/types/Environments.js +0 -5
- package/dist/api/resources/dynamic/resources/environment/types/EnvironmentsConfig.d.ts +0 -8
- package/dist/api/resources/dynamic/resources/environment/types/EnvironmentsConfig.js +0 -5
- package/dist/api/resources/dynamic/resources/environment/types/MultipleBaseUrlsEnvironment.d.ts +0 -9
- package/dist/api/resources/dynamic/resources/environment/types/MultipleBaseUrlsEnvironment.js +0 -5
- package/dist/api/resources/dynamic/resources/environment/types/MultipleBaseUrlsEnvironments.d.ts +0 -8
- package/dist/api/resources/dynamic/resources/environment/types/MultipleBaseUrlsEnvironments.js +0 -5
- package/dist/api/resources/dynamic/resources/environment/types/MultipleEnvironmentUrlValues.d.ts +0 -5
- package/dist/api/resources/dynamic/resources/environment/types/MultipleEnvironmentUrlValues.js +0 -5
- package/dist/api/resources/dynamic/resources/environment/types/SingleBaseUrlEnvironment.d.ts +0 -9
- package/dist/api/resources/dynamic/resources/environment/types/SingleBaseUrlEnvironment.js +0 -5
- package/dist/api/resources/dynamic/resources/environment/types/SingleBaseUrlEnvironments.d.ts +0 -7
- package/dist/api/resources/dynamic/resources/environment/types/SingleBaseUrlEnvironments.js +0 -5
- package/dist/api/resources/dynamic/resources/environment/types/index.d.ts +0 -12
- package/dist/api/resources/dynamic/resources/environment/types/index.js +0 -28
- package/dist/api/resources/dynamic/resources/http/index.d.ts +0 -1
- package/dist/api/resources/dynamic/resources/http/index.js +0 -17
- package/dist/api/resources/dynamic/resources/http/types/HttpMethod.d.ts +0 -12
- package/dist/api/resources/dynamic/resources/http/types/HttpMethod.js +0 -14
- package/dist/api/resources/dynamic/resources/http/types/index.d.ts +0 -1
- package/dist/api/resources/dynamic/resources/http/types/index.js +0 -17
- package/dist/api/resources/dynamic/resources/index.d.ts +0 -20
- package/dist/api/resources/dynamic/resources/index.js +0 -59
- package/dist/api/resources/dynamic/resources/ir/index.d.ts +0 -1
- package/dist/api/resources/dynamic/resources/ir/index.js +0 -17
- package/dist/api/resources/dynamic/resources/ir/types/CratesPublishInfo.d.ts +0 -8
- package/dist/api/resources/dynamic/resources/ir/types/CratesPublishInfo.js +0 -5
- package/dist/api/resources/dynamic/resources/ir/types/DynamicIntermediateRepresentation.d.ts +0 -37
- package/dist/api/resources/dynamic/resources/ir/types/DynamicIntermediateRepresentation.js +0 -5
- package/dist/api/resources/dynamic/resources/ir/types/GeneratorConfig.d.ts +0 -18
- package/dist/api/resources/dynamic/resources/ir/types/GeneratorConfig.js +0 -5
- package/dist/api/resources/dynamic/resources/ir/types/GeneratorOutputConfig.d.ts +0 -18
- package/dist/api/resources/dynamic/resources/ir/types/GeneratorOutputConfig.js +0 -5
- package/dist/api/resources/dynamic/resources/ir/types/GoPublishInfo.d.ts +0 -8
- package/dist/api/resources/dynamic/resources/ir/types/GoPublishInfo.js +0 -5
- package/dist/api/resources/dynamic/resources/ir/types/MavenPublishInfo.d.ts +0 -8
- package/dist/api/resources/dynamic/resources/ir/types/MavenPublishInfo.js +0 -5
- package/dist/api/resources/dynamic/resources/ir/types/NpmPublishInfo.d.ts +0 -8
- package/dist/api/resources/dynamic/resources/ir/types/NpmPublishInfo.js +0 -5
- package/dist/api/resources/dynamic/resources/ir/types/NugetPublishInfo.d.ts +0 -8
- package/dist/api/resources/dynamic/resources/ir/types/NugetPublishInfo.js +0 -5
- package/dist/api/resources/dynamic/resources/ir/types/PublishInfo.d.ts +0 -31
- package/dist/api/resources/dynamic/resources/ir/types/PublishInfo.js +0 -5
- package/dist/api/resources/dynamic/resources/ir/types/PypiPublishInfo.d.ts +0 -8
- package/dist/api/resources/dynamic/resources/ir/types/PypiPublishInfo.js +0 -5
- package/dist/api/resources/dynamic/resources/ir/types/RubyGemsPublishInfo.d.ts +0 -8
- package/dist/api/resources/dynamic/resources/ir/types/RubyGemsPublishInfo.js +0 -5
- package/dist/api/resources/dynamic/resources/ir/types/SwiftPublishInfo.d.ts +0 -8
- package/dist/api/resources/dynamic/resources/ir/types/SwiftPublishInfo.js +0 -5
- package/dist/api/resources/dynamic/resources/ir/types/index.d.ts +0 -12
- package/dist/api/resources/dynamic/resources/ir/types/index.js +0 -28
- package/dist/api/resources/dynamic/resources/snippets/index.d.ts +0 -1
- package/dist/api/resources/dynamic/resources/snippets/index.js +0 -17
- package/dist/api/resources/dynamic/resources/snippets/types/EndpointSnippetRequest.d.ts +0 -17
- package/dist/api/resources/dynamic/resources/snippets/types/EndpointSnippetRequest.js +0 -5
- package/dist/api/resources/dynamic/resources/snippets/types/EndpointSnippetResponse.d.ts +0 -15
- package/dist/api/resources/dynamic/resources/snippets/types/EndpointSnippetResponse.js +0 -5
- package/dist/api/resources/dynamic/resources/snippets/types/ErrorSeverity.d.ts +0 -8
- package/dist/api/resources/dynamic/resources/snippets/types/ErrorSeverity.js +0 -10
- package/dist/api/resources/dynamic/resources/snippets/types/Error_.d.ts +0 -8
- package/dist/api/resources/dynamic/resources/snippets/types/Error_.js +0 -5
- package/dist/api/resources/dynamic/resources/snippets/types/Values.d.ts +0 -10
- package/dist/api/resources/dynamic/resources/snippets/types/Values.js +0 -5
- package/dist/api/resources/dynamic/resources/snippets/types/index.d.ts +0 -5
- package/dist/api/resources/dynamic/resources/snippets/types/index.js +0 -21
- package/dist/api/resources/dynamic/resources/types/index.d.ts +0 -1
- package/dist/api/resources/dynamic/resources/types/index.js +0 -17
- package/dist/api/resources/dynamic/resources/types/types/AliasType.d.ts +0 -8
- package/dist/api/resources/dynamic/resources/types/types/AliasType.js +0 -5
- package/dist/api/resources/dynamic/resources/types/types/DiscriminatedUnionType.d.ts +0 -10
- package/dist/api/resources/dynamic/resources/types/types/DiscriminatedUnionType.js +0 -5
- package/dist/api/resources/dynamic/resources/types/types/EnumType.d.ts +0 -8
- package/dist/api/resources/dynamic/resources/types/types/EnumType.js +0 -5
- package/dist/api/resources/dynamic/resources/types/types/LiteralType.d.ts +0 -15
- package/dist/api/resources/dynamic/resources/types/types/LiteralType.js +0 -5
- package/dist/api/resources/dynamic/resources/types/types/MapType.d.ts +0 -8
- package/dist/api/resources/dynamic/resources/types/types/MapType.js +0 -5
- package/dist/api/resources/dynamic/resources/types/types/NamedParameter.d.ts +0 -11
- package/dist/api/resources/dynamic/resources/types/types/NamedParameter.js +0 -5
- package/dist/api/resources/dynamic/resources/types/types/NamedType.d.ts +0 -25
- package/dist/api/resources/dynamic/resources/types/types/NamedType.js +0 -5
- package/dist/api/resources/dynamic/resources/types/types/ObjectPropertyAccess.d.ts +0 -8
- package/dist/api/resources/dynamic/resources/types/types/ObjectPropertyAccess.js +0 -10
- package/dist/api/resources/dynamic/resources/types/types/ObjectType.d.ts +0 -15
- package/dist/api/resources/dynamic/resources/types/types/ObjectType.js +0 -5
- package/dist/api/resources/dynamic/resources/types/types/PrimitiveTypeV1.d.ts +0 -22
- package/dist/api/resources/dynamic/resources/types/types/PrimitiveTypeV1.js +0 -21
- package/dist/api/resources/dynamic/resources/types/types/SingleDiscriminatedUnionType.d.ts +0 -16
- package/dist/api/resources/dynamic/resources/types/types/SingleDiscriminatedUnionType.js +0 -5
- package/dist/api/resources/dynamic/resources/types/types/SingleDiscriminatedUnionTypeNoProperties.d.ts +0 -9
- package/dist/api/resources/dynamic/resources/types/types/SingleDiscriminatedUnionTypeNoProperties.js +0 -5
- package/dist/api/resources/dynamic/resources/types/types/SingleDiscriminatedUnionTypeObject.d.ts +0 -10
- package/dist/api/resources/dynamic/resources/types/types/SingleDiscriminatedUnionTypeObject.js +0 -5
- package/dist/api/resources/dynamic/resources/types/types/SingleDiscriminatedUnionTypeSingleProperty.d.ts +0 -10
- package/dist/api/resources/dynamic/resources/types/types/SingleDiscriminatedUnionTypeSingleProperty.js +0 -5
- package/dist/api/resources/dynamic/resources/types/types/TypeReference.d.ts +0 -41
- package/dist/api/resources/dynamic/resources/types/types/TypeReference.js +0 -5
- package/dist/api/resources/dynamic/resources/types/types/UndiscriminatedUnionType.d.ts +0 -9
- package/dist/api/resources/dynamic/resources/types/types/UndiscriminatedUnionType.js +0 -5
- package/dist/api/resources/dynamic/resources/types/types/index.d.ts +0 -16
- package/dist/api/resources/dynamic/resources/types/types/index.js +0 -32
- package/dist/api/resources/dynamic/resources/variables/index.d.ts +0 -1
- package/dist/api/resources/dynamic/resources/variables/index.js +0 -17
- package/dist/api/resources/dynamic/resources/variables/types/VariableDeclaration.d.ts +0 -16
- package/dist/api/resources/dynamic/resources/variables/types/VariableDeclaration.js +0 -5
- package/dist/api/resources/dynamic/resources/variables/types/index.d.ts +0 -1
- package/dist/api/resources/dynamic/resources/variables/types/index.js +0 -17
- package/dist/api/resources/generatorExec/index.d.ts +0 -1
- package/dist/api/resources/generatorExec/index.js +0 -17
- package/dist/api/resources/generatorExec/resources/config/index.d.ts +0 -1
- package/dist/api/resources/generatorExec/resources/config/index.js +0 -17
- package/dist/api/resources/generatorExec/resources/config/types/BasicLicense.d.ts +0 -7
- package/dist/api/resources/generatorExec/resources/config/types/BasicLicense.js +0 -5
- package/dist/api/resources/generatorExec/resources/config/types/CratesGithubPublishInfo.d.ts +0 -10
- package/dist/api/resources/generatorExec/resources/config/types/CratesGithubPublishInfo.js +0 -5
- package/dist/api/resources/generatorExec/resources/config/types/CratesRegistryConfig.d.ts +0 -8
- package/dist/api/resources/generatorExec/resources/config/types/CratesRegistryConfig.js +0 -5
- package/dist/api/resources/generatorExec/resources/config/types/CustomLicense.d.ts +0 -6
- package/dist/api/resources/generatorExec/resources/config/types/CustomLicense.js +0 -5
- package/dist/api/resources/generatorExec/resources/config/types/EnvironmentVariable.d.ts +0 -4
- package/dist/api/resources/generatorExec/resources/config/types/EnvironmentVariable.js +0 -5
- package/dist/api/resources/generatorExec/resources/config/types/GeneratorConfig.d.ts +0 -21
- package/dist/api/resources/generatorExec/resources/config/types/GeneratorConfig.js +0 -5
- package/dist/api/resources/generatorExec/resources/config/types/GeneratorEnvironment.d.ts +0 -13
- package/dist/api/resources/generatorExec/resources/config/types/GeneratorEnvironment.js +0 -5
- package/dist/api/resources/generatorExec/resources/config/types/GeneratorOutputConfig.d.ts +0 -11
- package/dist/api/resources/generatorExec/resources/config/types/GeneratorOutputConfig.js +0 -5
- package/dist/api/resources/generatorExec/resources/config/types/GeneratorPublishConfig.d.ts +0 -12
- package/dist/api/resources/generatorExec/resources/config/types/GeneratorPublishConfig.js +0 -5
- package/dist/api/resources/generatorExec/resources/config/types/GeneratorPublishTarget.d.ts +0 -28
- package/dist/api/resources/generatorExec/resources/config/types/GeneratorPublishTarget.js +0 -5
- package/dist/api/resources/generatorExec/resources/config/types/GeneratorRegistriesConfig.d.ts +0 -8
- package/dist/api/resources/generatorExec/resources/config/types/GeneratorRegistriesConfig.js +0 -5
- package/dist/api/resources/generatorExec/resources/config/types/GeneratorRegistriesConfigV2.d.ts +0 -12
- package/dist/api/resources/generatorExec/resources/config/types/GeneratorRegistriesConfigV2.js +0 -5
- package/dist/api/resources/generatorExec/resources/config/types/GithubOutputMode.d.ts +0 -17
- package/dist/api/resources/generatorExec/resources/config/types/GithubOutputMode.js +0 -5
- package/dist/api/resources/generatorExec/resources/config/types/GithubPublishInfo.d.ts +0 -28
- package/dist/api/resources/generatorExec/resources/config/types/GithubPublishInfo.js +0 -5
- package/dist/api/resources/generatorExec/resources/config/types/LicenseConfig.d.ts +0 -13
- package/dist/api/resources/generatorExec/resources/config/types/LicenseConfig.js +0 -5
- package/dist/api/resources/generatorExec/resources/config/types/LicenseId.d.ts +0 -8
- package/dist/api/resources/generatorExec/resources/config/types/LicenseId.js +0 -10
- package/dist/api/resources/generatorExec/resources/config/types/MavenCentralSignature.d.ts +0 -8
- package/dist/api/resources/generatorExec/resources/config/types/MavenCentralSignature.js +0 -5
- package/dist/api/resources/generatorExec/resources/config/types/MavenCentralSignatureGithubInfo.d.ts +0 -9
- package/dist/api/resources/generatorExec/resources/config/types/MavenCentralSignatureGithubInfo.js +0 -5
- package/dist/api/resources/generatorExec/resources/config/types/MavenGithubPublishInfo.d.ts +0 -12
- package/dist/api/resources/generatorExec/resources/config/types/MavenGithubPublishInfo.js +0 -5
- package/dist/api/resources/generatorExec/resources/config/types/MavenRegistryConfig.d.ts +0 -11
- package/dist/api/resources/generatorExec/resources/config/types/MavenRegistryConfig.js +0 -5
- package/dist/api/resources/generatorExec/resources/config/types/MavenRegistryConfigV2.d.ts +0 -11
- package/dist/api/resources/generatorExec/resources/config/types/MavenRegistryConfigV2.js +0 -5
- package/dist/api/resources/generatorExec/resources/config/types/NpmGithubPublishInfo.d.ts +0 -10
- package/dist/api/resources/generatorExec/resources/config/types/NpmGithubPublishInfo.js +0 -5
- package/dist/api/resources/generatorExec/resources/config/types/NpmRegistryConfig.d.ts +0 -8
- package/dist/api/resources/generatorExec/resources/config/types/NpmRegistryConfig.js +0 -5
- package/dist/api/resources/generatorExec/resources/config/types/NpmRegistryConfigV2.d.ts +0 -8
- package/dist/api/resources/generatorExec/resources/config/types/NpmRegistryConfigV2.js +0 -5
- package/dist/api/resources/generatorExec/resources/config/types/NugetGithubPublishInfo.d.ts +0 -10
- package/dist/api/resources/generatorExec/resources/config/types/NugetGithubPublishInfo.js +0 -5
- package/dist/api/resources/generatorExec/resources/config/types/NugetRegistryConfig.d.ts +0 -8
- package/dist/api/resources/generatorExec/resources/config/types/NugetRegistryConfig.js +0 -5
- package/dist/api/resources/generatorExec/resources/config/types/OutputMetadata.d.ts +0 -8
- package/dist/api/resources/generatorExec/resources/config/types/OutputMetadata.js +0 -5
- package/dist/api/resources/generatorExec/resources/config/types/OutputMetadataAuthor.d.ts +0 -7
- package/dist/api/resources/generatorExec/resources/config/types/OutputMetadataAuthor.js +0 -5
- package/dist/api/resources/generatorExec/resources/config/types/OutputMode.d.ts +0 -16
- package/dist/api/resources/generatorExec/resources/config/types/OutputMode.js +0 -5
- package/dist/api/resources/generatorExec/resources/config/types/PostmanConfig.d.ts +0 -7
- package/dist/api/resources/generatorExec/resources/config/types/PostmanConfig.js +0 -5
- package/dist/api/resources/generatorExec/resources/config/types/PostmanGithubPublishInfo.d.ts +0 -8
- package/dist/api/resources/generatorExec/resources/config/types/PostmanGithubPublishInfo.js +0 -5
- package/dist/api/resources/generatorExec/resources/config/types/PublishingMetadata.d.ts +0 -12
- package/dist/api/resources/generatorExec/resources/config/types/PublishingMetadata.js +0 -5
- package/dist/api/resources/generatorExec/resources/config/types/PypiGithubPublishInfo.d.ts +0 -12
- package/dist/api/resources/generatorExec/resources/config/types/PypiGithubPublishInfo.js +0 -5
- package/dist/api/resources/generatorExec/resources/config/types/PypiMetadata.d.ts +0 -9
- package/dist/api/resources/generatorExec/resources/config/types/PypiMetadata.js +0 -5
- package/dist/api/resources/generatorExec/resources/config/types/PypiRegistryConfig.d.ts +0 -11
- package/dist/api/resources/generatorExec/resources/config/types/PypiRegistryConfig.js +0 -5
- package/dist/api/resources/generatorExec/resources/config/types/RemoteGeneratorEnvironment.d.ts +0 -8
- package/dist/api/resources/generatorExec/resources/config/types/RemoteGeneratorEnvironment.js +0 -5
- package/dist/api/resources/generatorExec/resources/config/types/RubyGemsGithubPublishInfo.d.ts +0 -10
- package/dist/api/resources/generatorExec/resources/config/types/RubyGemsGithubPublishInfo.js +0 -5
- package/dist/api/resources/generatorExec/resources/config/types/RubyGemsRegistryConfig.d.ts +0 -8
- package/dist/api/resources/generatorExec/resources/config/types/RubyGemsRegistryConfig.js +0 -5
- package/dist/api/resources/generatorExec/resources/config/types/index.d.ts +0 -38
- package/dist/api/resources/generatorExec/resources/config/types/index.js +0 -54
- package/dist/api/resources/generatorExec/resources/index.d.ts +0 -2
- package/dist/api/resources/generatorExec/resources/index.js +0 -41
- package/dist/api/resources/index.d.ts +0 -4
- package/dist/api/resources/index.js +0 -43
- package/dist/errors/FernIrError.d.ts +0 -12
- package/dist/errors/FernIrError.js +0 -32
- package/dist/errors/FernIrTimeoutError.d.ts +0 -6
- package/dist/errors/FernIrTimeoutError.js +0 -13
- package/dist/errors/index.d.ts +0 -2
- package/dist/errors/index.js +0 -7
- package/dist/index.d.ts +0 -2
- package/dist/index.js +0 -40
- package/dist/version.d.ts +0 -1
- package/dist/version.js +0 -4
- package/errors/FernIrError.d.ts +0 -12
- package/errors/FernIrError.js +0 -32
- package/errors/FernIrTimeoutError.d.ts +0 -6
- package/errors/FernIrTimeoutError.js +0 -13
- package/errors/index.d.ts +0 -2
- package/errors/index.js +0 -7
- package/index.d.ts +0 -2
- package/index.js +0 -40
- package/jest.config.js +0 -5
- package/version.d.ts +0 -1
- package/version.js +0 -4
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.unknownRawResponse = exports.abortRawResponse = void 0;
|
|
4
|
+
exports.toRawResponse = toRawResponse;
|
|
5
|
+
const Headers_js_1 = require("./Headers.js");
|
|
6
|
+
/**
|
|
7
|
+
* A raw response indicating that the request was aborted.
|
|
8
|
+
*/
|
|
9
|
+
exports.abortRawResponse = {
|
|
10
|
+
headers: new Headers_js_1.Headers(),
|
|
11
|
+
redirected: false,
|
|
12
|
+
status: 499,
|
|
13
|
+
statusText: "Client Closed Request",
|
|
14
|
+
type: "error",
|
|
15
|
+
url: "",
|
|
16
|
+
};
|
|
17
|
+
/**
|
|
18
|
+
* A raw response indicating an unknown error.
|
|
19
|
+
*/
|
|
20
|
+
exports.unknownRawResponse = {
|
|
21
|
+
headers: new Headers_js_1.Headers(),
|
|
22
|
+
redirected: false,
|
|
23
|
+
status: 0,
|
|
24
|
+
statusText: "Unknown Error",
|
|
25
|
+
type: "error",
|
|
26
|
+
url: "",
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* Converts a `RawResponse` object into a `RawResponse` by extracting its properties,
|
|
30
|
+
* excluding the `body` and `bodyUsed` fields.
|
|
31
|
+
*
|
|
32
|
+
* @param response - The `RawResponse` object to convert.
|
|
33
|
+
* @returns A `RawResponse` object containing the extracted properties of the input response.
|
|
34
|
+
*/
|
|
35
|
+
function toRawResponse(response) {
|
|
36
|
+
return {
|
|
37
|
+
headers: response.headers,
|
|
38
|
+
redirected: response.redirected,
|
|
39
|
+
status: response.status,
|
|
40
|
+
statusText: response.statusText,
|
|
41
|
+
type: response.type,
|
|
42
|
+
url: response.url,
|
|
43
|
+
};
|
|
44
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.Supplier = void 0;
|
|
13
|
+
exports.Supplier = {
|
|
14
|
+
get: (supplier) => __awaiter(void 0, void 0, void 0, function* () {
|
|
15
|
+
if (typeof supplier === "function") {
|
|
16
|
+
return supplier();
|
|
17
|
+
}
|
|
18
|
+
else {
|
|
19
|
+
return supplier;
|
|
20
|
+
}
|
|
21
|
+
}),
|
|
22
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function createRequestUrl(baseUrl: string, queryParameters?: Record<string, unknown>): string;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.createRequestUrl = createRequestUrl;
|
|
4
|
+
const qs_js_1 = require("../url/qs.js");
|
|
5
|
+
function createRequestUrl(baseUrl, queryParameters) {
|
|
6
|
+
const queryString = (0, qs_js_1.toQueryString)(queryParameters, { arrayFormat: "repeat" });
|
|
7
|
+
return queryString ? `${baseUrl}?${queryString}` : baseUrl;
|
|
8
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function getErrorResponseBody(response: Response): Promise<unknown>;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.getErrorResponseBody = getErrorResponseBody;
|
|
13
|
+
const json_js_1 = require("../json.js");
|
|
14
|
+
const getResponseBody_js_1 = require("./getResponseBody.js");
|
|
15
|
+
function getErrorResponseBody(response) {
|
|
16
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
17
|
+
var _a, _b, _c;
|
|
18
|
+
let contentType = (_a = response.headers.get("Content-Type")) === null || _a === void 0 ? void 0 : _a.toLowerCase();
|
|
19
|
+
if (contentType == null || contentType.length === 0) {
|
|
20
|
+
return (0, getResponseBody_js_1.getResponseBody)(response);
|
|
21
|
+
}
|
|
22
|
+
if (contentType.indexOf(";") !== -1) {
|
|
23
|
+
contentType = (_c = (_b = contentType.split(";")[0]) === null || _b === void 0 ? void 0 : _b.trim()) !== null && _c !== void 0 ? _c : "";
|
|
24
|
+
}
|
|
25
|
+
switch (contentType) {
|
|
26
|
+
case "application/hal+json":
|
|
27
|
+
case "application/json":
|
|
28
|
+
case "application/ld+json":
|
|
29
|
+
case "application/problem+json":
|
|
30
|
+
case "application/vnd.api+json":
|
|
31
|
+
case "text/json": {
|
|
32
|
+
const text = yield response.text();
|
|
33
|
+
return text.length > 0 ? (0, json_js_1.fromJson)(text) : undefined;
|
|
34
|
+
}
|
|
35
|
+
default:
|
|
36
|
+
if (contentType.startsWith("application/vnd.") && contentType.endsWith("+json")) {
|
|
37
|
+
const text = yield response.text();
|
|
38
|
+
return text.length > 0 ? (0, json_js_1.fromJson)(text) : undefined;
|
|
39
|
+
}
|
|
40
|
+
// Fallback to plain text if content type is not recognized
|
|
41
|
+
// Even if no body is present, the response will be an empty string
|
|
42
|
+
return yield response.text();
|
|
43
|
+
}
|
|
44
|
+
});
|
|
45
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function getFetchFn(): Promise<typeof fetch>;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.getFetchFn = getFetchFn;
|
|
13
|
+
function getFetchFn() {
|
|
14
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
15
|
+
return fetch;
|
|
16
|
+
});
|
|
17
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function getHeader(headers: Record<string, any>, header: string): string | undefined;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getHeader = getHeader;
|
|
4
|
+
function getHeader(headers, header) {
|
|
5
|
+
for (const [headerKey, headerValue] of Object.entries(headers)) {
|
|
6
|
+
if (headerKey.toLowerCase() === header.toLowerCase()) {
|
|
7
|
+
return headerValue;
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
return undefined;
|
|
11
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.getRequestBody = getRequestBody;
|
|
13
|
+
const json_js_1 = require("../json.js");
|
|
14
|
+
const qs_js_1 = require("../url/qs.js");
|
|
15
|
+
function getRequestBody(_a) {
|
|
16
|
+
return __awaiter(this, arguments, void 0, function* ({ body, type }) {
|
|
17
|
+
if (type === "form") {
|
|
18
|
+
return (0, qs_js_1.toQueryString)(body, { arrayFormat: "repeat", encode: true });
|
|
19
|
+
}
|
|
20
|
+
if (type.includes("json")) {
|
|
21
|
+
return (0, json_js_1.toJson)(body);
|
|
22
|
+
}
|
|
23
|
+
else {
|
|
24
|
+
return body;
|
|
25
|
+
}
|
|
26
|
+
});
|
|
27
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function getResponseBody(response: Response, responseType?: string): Promise<unknown>;
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.getResponseBody = getResponseBody;
|
|
13
|
+
const json_js_1 = require("../json.js");
|
|
14
|
+
const BinaryResponse_js_1 = require("./BinaryResponse.js");
|
|
15
|
+
function getResponseBody(response, responseType) {
|
|
16
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
17
|
+
switch (responseType) {
|
|
18
|
+
case "binary-response":
|
|
19
|
+
return (0, BinaryResponse_js_1.getBinaryResponse)(response);
|
|
20
|
+
case "blob":
|
|
21
|
+
return yield response.blob();
|
|
22
|
+
case "arrayBuffer":
|
|
23
|
+
return yield response.arrayBuffer();
|
|
24
|
+
case "sse":
|
|
25
|
+
if (response.body == null) {
|
|
26
|
+
return {
|
|
27
|
+
ok: false,
|
|
28
|
+
error: {
|
|
29
|
+
reason: "body-is-null",
|
|
30
|
+
statusCode: response.status,
|
|
31
|
+
},
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
return response.body;
|
|
35
|
+
case "streaming":
|
|
36
|
+
if (response.body == null) {
|
|
37
|
+
return {
|
|
38
|
+
ok: false,
|
|
39
|
+
error: {
|
|
40
|
+
reason: "body-is-null",
|
|
41
|
+
statusCode: response.status,
|
|
42
|
+
},
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
return response.body;
|
|
46
|
+
case "text":
|
|
47
|
+
return yield response.text();
|
|
48
|
+
}
|
|
49
|
+
// if responseType is "json" or not specified, try to parse as JSON
|
|
50
|
+
const text = yield response.text();
|
|
51
|
+
if (text.length > 0) {
|
|
52
|
+
try {
|
|
53
|
+
const responseBody = (0, json_js_1.fromJson)(text);
|
|
54
|
+
return responseBody;
|
|
55
|
+
}
|
|
56
|
+
catch (_err) {
|
|
57
|
+
return {
|
|
58
|
+
ok: false,
|
|
59
|
+
error: {
|
|
60
|
+
reason: "non-json",
|
|
61
|
+
statusCode: response.status,
|
|
62
|
+
rawBody: text,
|
|
63
|
+
},
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
return undefined;
|
|
68
|
+
});
|
|
69
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export type { APIResponse } from "./APIResponse.js";
|
|
2
|
+
export type { BinaryResponse } from "./BinaryResponse.js";
|
|
3
|
+
export type { EndpointMetadata } from "./EndpointMetadata.js";
|
|
4
|
+
export { EndpointSupplier } from "./EndpointSupplier.js";
|
|
5
|
+
export type { Fetcher, FetchFunction } from "./Fetcher.js";
|
|
6
|
+
export { fetcher } from "./Fetcher.js";
|
|
7
|
+
export { getHeader } from "./getHeader.js";
|
|
8
|
+
export { HttpResponsePromise } from "./HttpResponsePromise.js";
|
|
9
|
+
export type { RawResponse, WithRawResponse } from "./RawResponse.js";
|
|
10
|
+
export { abortRawResponse, toRawResponse, unknownRawResponse } from "./RawResponse.js";
|
|
11
|
+
export { Supplier } from "./Supplier.js";
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Supplier = exports.unknownRawResponse = exports.toRawResponse = exports.abortRawResponse = exports.HttpResponsePromise = exports.getHeader = exports.fetcher = exports.EndpointSupplier = void 0;
|
|
4
|
+
var EndpointSupplier_js_1 = require("./EndpointSupplier.js");
|
|
5
|
+
Object.defineProperty(exports, "EndpointSupplier", { enumerable: true, get: function () { return EndpointSupplier_js_1.EndpointSupplier; } });
|
|
6
|
+
var Fetcher_js_1 = require("./Fetcher.js");
|
|
7
|
+
Object.defineProperty(exports, "fetcher", { enumerable: true, get: function () { return Fetcher_js_1.fetcher; } });
|
|
8
|
+
var getHeader_js_1 = require("./getHeader.js");
|
|
9
|
+
Object.defineProperty(exports, "getHeader", { enumerable: true, get: function () { return getHeader_js_1.getHeader; } });
|
|
10
|
+
var HttpResponsePromise_js_1 = require("./HttpResponsePromise.js");
|
|
11
|
+
Object.defineProperty(exports, "HttpResponsePromise", { enumerable: true, get: function () { return HttpResponsePromise_js_1.HttpResponsePromise; } });
|
|
12
|
+
var RawResponse_js_1 = require("./RawResponse.js");
|
|
13
|
+
Object.defineProperty(exports, "abortRawResponse", { enumerable: true, get: function () { return RawResponse_js_1.abortRawResponse; } });
|
|
14
|
+
Object.defineProperty(exports, "toRawResponse", { enumerable: true, get: function () { return RawResponse_js_1.toRawResponse; } });
|
|
15
|
+
Object.defineProperty(exports, "unknownRawResponse", { enumerable: true, get: function () { return RawResponse_js_1.unknownRawResponse; } });
|
|
16
|
+
var Supplier_js_1 = require("./Supplier.js");
|
|
17
|
+
Object.defineProperty(exports, "Supplier", { enumerable: true, get: function () { return Supplier_js_1.Supplier; } });
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const makeRequest: (fetchFn: (url: string, init: RequestInit) => Promise<Response>, url: string, method: string, headers: Headers | Record<string, string>, requestBody: BodyInit | undefined, timeoutMs?: number, abortSignal?: AbortSignal, withCredentials?: boolean, duplex?: "half") => Promise<Response>;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.makeRequest = void 0;
|
|
13
|
+
const signals_js_1 = require("./signals.js");
|
|
14
|
+
const makeRequest = (fetchFn, url, method, headers, requestBody, timeoutMs, abortSignal, withCredentials, duplex) => __awaiter(void 0, void 0, void 0, function* () {
|
|
15
|
+
const signals = [];
|
|
16
|
+
let timeoutAbortId;
|
|
17
|
+
if (timeoutMs != null) {
|
|
18
|
+
const { signal, abortId } = (0, signals_js_1.getTimeoutSignal)(timeoutMs);
|
|
19
|
+
timeoutAbortId = abortId;
|
|
20
|
+
signals.push(signal);
|
|
21
|
+
}
|
|
22
|
+
if (abortSignal != null) {
|
|
23
|
+
signals.push(abortSignal);
|
|
24
|
+
}
|
|
25
|
+
const newSignals = (0, signals_js_1.anySignal)(signals);
|
|
26
|
+
const response = yield fetchFn(url, {
|
|
27
|
+
method: method,
|
|
28
|
+
headers,
|
|
29
|
+
body: requestBody,
|
|
30
|
+
signal: newSignals,
|
|
31
|
+
credentials: withCredentials ? "include" : undefined,
|
|
32
|
+
// @ts-ignore
|
|
33
|
+
duplex,
|
|
34
|
+
});
|
|
35
|
+
if (timeoutAbortId != null) {
|
|
36
|
+
clearTimeout(timeoutAbortId);
|
|
37
|
+
}
|
|
38
|
+
return response;
|
|
39
|
+
});
|
|
40
|
+
exports.makeRequest = makeRequest;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function requestWithRetries(requestFn: () => Promise<Response>, maxRetries?: number): Promise<Response>;
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.requestWithRetries = requestWithRetries;
|
|
13
|
+
const INITIAL_RETRY_DELAY = 1000; // in milliseconds
|
|
14
|
+
const MAX_RETRY_DELAY = 60000; // in milliseconds
|
|
15
|
+
const DEFAULT_MAX_RETRIES = 2;
|
|
16
|
+
const JITTER_FACTOR = 0.2; // 20% random jitter
|
|
17
|
+
function addPositiveJitter(delay) {
|
|
18
|
+
const jitterMultiplier = 1 + Math.random() * JITTER_FACTOR;
|
|
19
|
+
return delay * jitterMultiplier;
|
|
20
|
+
}
|
|
21
|
+
function addSymmetricJitter(delay) {
|
|
22
|
+
const jitterMultiplier = 1 + (Math.random() - 0.5) * JITTER_FACTOR;
|
|
23
|
+
return delay * jitterMultiplier;
|
|
24
|
+
}
|
|
25
|
+
function getRetryDelayFromHeaders(response, retryAttempt) {
|
|
26
|
+
const retryAfter = response.headers.get("Retry-After");
|
|
27
|
+
if (retryAfter) {
|
|
28
|
+
const retryAfterSeconds = parseInt(retryAfter, 10);
|
|
29
|
+
if (!Number.isNaN(retryAfterSeconds) && retryAfterSeconds > 0) {
|
|
30
|
+
return Math.min(retryAfterSeconds * 1000, MAX_RETRY_DELAY);
|
|
31
|
+
}
|
|
32
|
+
const retryAfterDate = new Date(retryAfter);
|
|
33
|
+
if (!Number.isNaN(retryAfterDate.getTime())) {
|
|
34
|
+
const delay = retryAfterDate.getTime() - Date.now();
|
|
35
|
+
if (delay > 0) {
|
|
36
|
+
return Math.min(Math.max(delay, 0), MAX_RETRY_DELAY);
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
const rateLimitReset = response.headers.get("X-RateLimit-Reset");
|
|
41
|
+
if (rateLimitReset) {
|
|
42
|
+
const resetTime = parseInt(rateLimitReset, 10);
|
|
43
|
+
if (!Number.isNaN(resetTime)) {
|
|
44
|
+
const delay = resetTime * 1000 - Date.now();
|
|
45
|
+
if (delay > 0) {
|
|
46
|
+
return addPositiveJitter(Math.min(delay, MAX_RETRY_DELAY));
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
return addSymmetricJitter(Math.min(INITIAL_RETRY_DELAY * Math.pow(2, retryAttempt), MAX_RETRY_DELAY));
|
|
51
|
+
}
|
|
52
|
+
function requestWithRetries(requestFn_1) {
|
|
53
|
+
return __awaiter(this, arguments, void 0, function* (requestFn, maxRetries = DEFAULT_MAX_RETRIES) {
|
|
54
|
+
let response = yield requestFn();
|
|
55
|
+
for (let i = 0; i < maxRetries; ++i) {
|
|
56
|
+
if ([408, 429].includes(response.status) || response.status >= 500) {
|
|
57
|
+
const delay = getRetryDelayFromHeaders(response, i);
|
|
58
|
+
yield new Promise((resolve) => setTimeout(resolve, delay));
|
|
59
|
+
response = yield requestFn();
|
|
60
|
+
}
|
|
61
|
+
else {
|
|
62
|
+
break;
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
return response;
|
|
66
|
+
});
|
|
67
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getTimeoutSignal = getTimeoutSignal;
|
|
4
|
+
exports.anySignal = anySignal;
|
|
5
|
+
const TIMEOUT = "timeout";
|
|
6
|
+
function getTimeoutSignal(timeoutMs) {
|
|
7
|
+
const controller = new AbortController();
|
|
8
|
+
const abortId = setTimeout(() => controller.abort(TIMEOUT), timeoutMs);
|
|
9
|
+
return { signal: controller.signal, abortId };
|
|
10
|
+
}
|
|
11
|
+
function anySignal(...args) {
|
|
12
|
+
const signals = (args.length === 1 && Array.isArray(args[0]) ? args[0] : args);
|
|
13
|
+
const controller = new AbortController();
|
|
14
|
+
for (const signal of signals) {
|
|
15
|
+
if (signal.aborted) {
|
|
16
|
+
controller.abort(signal === null || signal === void 0 ? void 0 : signal.reason);
|
|
17
|
+
break;
|
|
18
|
+
}
|
|
19
|
+
signal.addEventListener("abort", () => controller.abort(signal === null || signal === void 0 ? void 0 : signal.reason), {
|
|
20
|
+
signal: controller.signal,
|
|
21
|
+
});
|
|
22
|
+
}
|
|
23
|
+
return controller.signal;
|
|
24
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.mergeHeaders = mergeHeaders;
|
|
4
|
+
exports.mergeOnlyDefinedHeaders = mergeOnlyDefinedHeaders;
|
|
5
|
+
function mergeHeaders(...headersArray) {
|
|
6
|
+
const result = {};
|
|
7
|
+
for (const [key, value] of headersArray
|
|
8
|
+
.filter((headers) => headers != null)
|
|
9
|
+
.flatMap((headers) => Object.entries(headers))) {
|
|
10
|
+
const insensitiveKey = key.toLowerCase();
|
|
11
|
+
if (value != null) {
|
|
12
|
+
result[insensitiveKey] = value;
|
|
13
|
+
}
|
|
14
|
+
else if (insensitiveKey in result) {
|
|
15
|
+
delete result[insensitiveKey];
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
return result;
|
|
19
|
+
}
|
|
20
|
+
function mergeOnlyDefinedHeaders(...headersArray) {
|
|
21
|
+
const result = {};
|
|
22
|
+
for (const [key, value] of headersArray
|
|
23
|
+
.filter((headers) => headers != null)
|
|
24
|
+
.flatMap((headers) => Object.entries(headers))) {
|
|
25
|
+
const insensitiveKey = key.toLowerCase();
|
|
26
|
+
if (value != null) {
|
|
27
|
+
result[insensitiveKey] = value;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
return result;
|
|
31
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
19
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
20
|
+
};
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.url = exports.logging = void 0;
|
|
40
|
+
__exportStar(require("./fetcher/index.js"), exports);
|
|
41
|
+
exports.logging = __importStar(require("./logging/index.js"));
|
|
42
|
+
__exportStar(require("./runtime/index.js"), exports);
|
|
43
|
+
exports.url = __importStar(require("./url/index.js"));
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Serialize a value to JSON
|
|
3
|
+
* @param value A JavaScript value, usually an object or array, to be converted.
|
|
4
|
+
* @param replacer A function that transforms the results.
|
|
5
|
+
* @param space Adds indentation, white space, and line break characters to the return-value JSON text to make it easier to read.
|
|
6
|
+
* @returns JSON string
|
|
7
|
+
*/
|
|
8
|
+
export declare const toJson: (value: unknown, replacer?: (this: unknown, key: string, value: unknown) => unknown, space?: string | number) => string;
|
|
9
|
+
/**
|
|
10
|
+
* Parse JSON string to object, array, or other type
|
|
11
|
+
* @param text A valid JSON string.
|
|
12
|
+
* @param reviver A function that transforms the results. This function is called for each member of the object. If a member contains nested objects, the nested objects are transformed before the parent object is.
|
|
13
|
+
* @returns Parsed object, array, or other type
|
|
14
|
+
*/
|
|
15
|
+
export declare function fromJson<T = unknown>(text: string, reviver?: (this: unknown, key: string, value: unknown) => unknown): T;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.toJson = void 0;
|
|
4
|
+
exports.fromJson = fromJson;
|
|
5
|
+
/**
|
|
6
|
+
* Serialize a value to JSON
|
|
7
|
+
* @param value A JavaScript value, usually an object or array, to be converted.
|
|
8
|
+
* @param replacer A function that transforms the results.
|
|
9
|
+
* @param space Adds indentation, white space, and line break characters to the return-value JSON text to make it easier to read.
|
|
10
|
+
* @returns JSON string
|
|
11
|
+
*/
|
|
12
|
+
const toJson = (value, replacer, space) => {
|
|
13
|
+
return JSON.stringify(value, replacer, space);
|
|
14
|
+
};
|
|
15
|
+
exports.toJson = toJson;
|
|
16
|
+
/**
|
|
17
|
+
* Parse JSON string to object, array, or other type
|
|
18
|
+
* @param text A valid JSON string.
|
|
19
|
+
* @param reviver A function that transforms the results. This function is called for each member of the object. If a member contains nested objects, the nested objects are transformed before the parent object is.
|
|
20
|
+
* @returns Parsed object, array, or other type
|
|
21
|
+
*/
|
|
22
|
+
function fromJson(text, reviver) {
|
|
23
|
+
return JSON.parse(text, reviver);
|
|
24
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import * as logger from "./logger.js";
|
|
2
|
+
export declare namespace logging {
|
|
3
|
+
/**
|
|
4
|
+
* Configuration for logger instances.
|
|
5
|
+
*/
|
|
6
|
+
type LogConfig = logger.LogConfig;
|
|
7
|
+
type LogLevel = logger.LogLevel;
|
|
8
|
+
const LogLevel: typeof logger.LogLevel;
|
|
9
|
+
type ILogger = logger.ILogger;
|
|
10
|
+
/**
|
|
11
|
+
* Console logger implementation that outputs to the console.
|
|
12
|
+
*/
|
|
13
|
+
type ConsoleLogger = logger.ConsoleLogger;
|
|
14
|
+
/**
|
|
15
|
+
* Console logger implementation that outputs to the console.
|
|
16
|
+
*/
|
|
17
|
+
const ConsoleLogger: typeof logger.ConsoleLogger;
|
|
18
|
+
}
|