@fern-api/dynamic-ir-sdk 53.16.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/api/index.d.ts +1 -0
- package/api/index.js +17 -0
- package/api/resources/commons/index.d.ts +1 -0
- package/api/resources/commons/index.js +17 -0
- package/api/resources/commons/types/EndpointId.d.ts +4 -0
- package/api/resources/commons/types/EndpointId.js +5 -0
- package/api/resources/commons/types/FernFilepath.d.ts +9 -0
- package/api/resources/commons/types/FernFilepath.js +5 -0
- package/api/resources/commons/types/Name.d.ts +11 -0
- package/api/resources/commons/types/Name.js +5 -0
- package/api/resources/commons/types/NameAndWireValue.d.ts +8 -0
- package/api/resources/commons/types/NameAndWireValue.js +5 -0
- package/api/resources/commons/types/SafeAndUnsafeString.d.ts +9 -0
- package/api/resources/commons/types/SafeAndUnsafeString.js +5 -0
- package/api/resources/commons/types/TypeId.d.ts +4 -0
- package/api/resources/commons/types/TypeId.js +5 -0
- package/api/resources/commons/types/index.d.ts +6 -0
- package/api/resources/commons/types/index.js +22 -0
- package/api/resources/dynamic/index.d.ts +1 -0
- package/api/resources/dynamic/index.js +17 -0
- package/api/resources/dynamic/resources/auth/index.d.ts +1 -0
- package/api/resources/dynamic/resources/auth/index.js +17 -0
- package/api/resources/dynamic/resources/auth/types/Auth.d.ts +16 -0
- package/api/resources/dynamic/resources/auth/types/Auth.js +5 -0
- package/api/resources/dynamic/resources/auth/types/BasicAuth.d.ts +8 -0
- package/api/resources/dynamic/resources/auth/types/BasicAuth.js +5 -0
- package/api/resources/dynamic/resources/auth/types/BearerAuth.d.ts +7 -0
- package/api/resources/dynamic/resources/auth/types/BearerAuth.js +5 -0
- package/api/resources/dynamic/resources/auth/types/HeaderAuth.d.ts +7 -0
- package/api/resources/dynamic/resources/auth/types/HeaderAuth.js +5 -0
- package/api/resources/dynamic/resources/auth/types/index.d.ts +4 -0
- package/api/resources/dynamic/resources/auth/types/index.js +20 -0
- package/api/resources/dynamic/resources/declaration/index.d.ts +1 -0
- package/api/resources/dynamic/resources/declaration/index.js +17 -0
- package/api/resources/dynamic/resources/declaration/types/Declaration.d.ts +8 -0
- package/api/resources/dynamic/resources/declaration/types/Declaration.js +5 -0
- package/api/resources/dynamic/resources/declaration/types/index.d.ts +1 -0
- package/api/resources/dynamic/resources/declaration/types/index.js +17 -0
- package/api/resources/dynamic/resources/endpoints/index.d.ts +1 -0
- package/api/resources/dynamic/resources/endpoints/index.js +17 -0
- package/api/resources/dynamic/resources/endpoints/types/BodyRequest.d.ts +8 -0
- package/api/resources/dynamic/resources/endpoints/types/BodyRequest.js +5 -0
- package/api/resources/dynamic/resources/endpoints/types/Endpoint.d.ts +11 -0
- package/api/resources/dynamic/resources/endpoints/types/Endpoint.js +5 -0
- package/api/resources/dynamic/resources/endpoints/types/EndpointLocation.d.ts +11 -0
- package/api/resources/dynamic/resources/endpoints/types/EndpointLocation.js +5 -0
- package/api/resources/dynamic/resources/endpoints/types/FileUploadRequestBody.d.ts +7 -0
- package/api/resources/dynamic/resources/endpoints/types/FileUploadRequestBody.js +5 -0
- package/api/resources/dynamic/resources/endpoints/types/FileUploadRequestBodyProperty.d.ts +16 -0
- package/api/resources/dynamic/resources/endpoints/types/FileUploadRequestBodyProperty.js +5 -0
- package/api/resources/dynamic/resources/endpoints/types/InlinedRequest.d.ts +11 -0
- package/api/resources/dynamic/resources/endpoints/types/InlinedRequest.js +5 -0
- package/api/resources/dynamic/resources/endpoints/types/InlinedRequestBody.d.ts +17 -0
- package/api/resources/dynamic/resources/endpoints/types/InlinedRequestBody.js +5 -0
- package/api/resources/dynamic/resources/endpoints/types/ReferencedRequestBody.d.ts +8 -0
- package/api/resources/dynamic/resources/endpoints/types/ReferencedRequestBody.js +5 -0
- package/api/resources/dynamic/resources/endpoints/types/ReferencedRequestBodyType.d.ts +14 -0
- package/api/resources/dynamic/resources/endpoints/types/ReferencedRequestBodyType.js +5 -0
- package/api/resources/dynamic/resources/endpoints/types/Request.d.ts +16 -0
- package/api/resources/dynamic/resources/endpoints/types/Request.js +5 -0
- package/api/resources/dynamic/resources/endpoints/types/Response.d.ts +17 -0
- package/api/resources/dynamic/resources/endpoints/types/Response.js +5 -0
- package/api/resources/dynamic/resources/endpoints/types/index.d.ts +11 -0
- package/api/resources/dynamic/resources/endpoints/types/index.js +27 -0
- package/api/resources/dynamic/resources/index.d.ts +10 -0
- package/api/resources/dynamic/resources/index.js +39 -0
- package/api/resources/dynamic/resources/ir/index.d.ts +1 -0
- package/api/resources/dynamic/resources/ir/index.js +17 -0
- package/api/resources/dynamic/resources/ir/types/DynamicIntermediateRepresentation.d.ts +24 -0
- package/api/resources/dynamic/resources/ir/types/DynamicIntermediateRepresentation.js +5 -0
- package/api/resources/dynamic/resources/ir/types/index.d.ts +1 -0
- package/api/resources/dynamic/resources/ir/types/index.js +17 -0
- package/api/resources/dynamic/resources/types/index.d.ts +1 -0
- package/api/resources/dynamic/resources/types/index.js +17 -0
- package/api/resources/dynamic/resources/types/types/AliasType.d.ts +8 -0
- package/api/resources/dynamic/resources/types/types/AliasType.js +5 -0
- package/api/resources/dynamic/resources/types/types/DiscriminatedUnionType.d.ts +10 -0
- package/api/resources/dynamic/resources/types/types/DiscriminatedUnionType.js +5 -0
- package/api/resources/dynamic/resources/types/types/EnumType.d.ts +8 -0
- package/api/resources/dynamic/resources/types/types/EnumType.js +5 -0
- package/api/resources/dynamic/resources/types/types/LiteralType.d.ts +15 -0
- package/api/resources/dynamic/resources/types/types/LiteralType.js +5 -0
- package/api/resources/dynamic/resources/types/types/MapType.d.ts +8 -0
- package/api/resources/dynamic/resources/types/types/MapType.js +5 -0
- package/api/resources/dynamic/resources/types/types/NamedParameter.d.ts +8 -0
- package/api/resources/dynamic/resources/types/types/NamedParameter.js +5 -0
- package/api/resources/dynamic/resources/types/types/NamedType.d.ts +25 -0
- package/api/resources/dynamic/resources/types/types/NamedType.js +5 -0
- package/api/resources/dynamic/resources/types/types/ObjectType.d.ts +8 -0
- package/api/resources/dynamic/resources/types/types/ObjectType.js +5 -0
- package/api/resources/dynamic/resources/types/types/SingleDiscriminatedUnionType.d.ts +16 -0
- package/api/resources/dynamic/resources/types/types/SingleDiscriminatedUnionType.js +5 -0
- package/api/resources/dynamic/resources/types/types/SingleDiscriminatedUnionTypeNoProperties.d.ts +9 -0
- package/api/resources/dynamic/resources/types/types/SingleDiscriminatedUnionTypeNoProperties.js +5 -0
- package/api/resources/dynamic/resources/types/types/SingleDiscriminatedUnionTypeObject.d.ts +10 -0
- package/api/resources/dynamic/resources/types/types/SingleDiscriminatedUnionTypeObject.js +5 -0
- package/api/resources/dynamic/resources/types/types/SingleDiscriminatedUnionTypeSingleProperty.d.ts +10 -0
- package/api/resources/dynamic/resources/types/types/SingleDiscriminatedUnionTypeSingleProperty.js +5 -0
- package/api/resources/dynamic/resources/types/types/TypeReference.d.ts +37 -0
- package/api/resources/dynamic/resources/types/types/TypeReference.js +5 -0
- package/api/resources/dynamic/resources/types/types/UndiscriminatedUnionType.d.ts +9 -0
- package/api/resources/dynamic/resources/types/types/UndiscriminatedUnionType.js +5 -0
- package/api/resources/dynamic/resources/types/types/index.d.ts +14 -0
- package/api/resources/dynamic/resources/types/types/index.js +30 -0
- package/api/resources/generatorExec/index.d.ts +1 -0
- package/api/resources/generatorExec/index.js +17 -0
- package/api/resources/generatorExec/resources/config/index.d.ts +1 -0
- package/api/resources/generatorExec/resources/config/index.js +17 -0
- package/api/resources/generatorExec/resources/config/types/BasicLicense.d.ts +7 -0
- package/api/resources/generatorExec/resources/config/types/BasicLicense.js +5 -0
- package/api/resources/generatorExec/resources/config/types/CustomLicense.d.ts +6 -0
- package/api/resources/generatorExec/resources/config/types/CustomLicense.js +5 -0
- package/api/resources/generatorExec/resources/config/types/EnvironmentVariable.d.ts +4 -0
- package/api/resources/generatorExec/resources/config/types/EnvironmentVariable.js +5 -0
- package/api/resources/generatorExec/resources/config/types/GeneratorConfig.d.ts +21 -0
- package/api/resources/generatorExec/resources/config/types/GeneratorConfig.js +5 -0
- package/api/resources/generatorExec/resources/config/types/GeneratorEnvironment.d.ts +13 -0
- package/api/resources/generatorExec/resources/config/types/GeneratorEnvironment.js +5 -0
- package/api/resources/generatorExec/resources/config/types/GeneratorOutputConfig.d.ts +11 -0
- package/api/resources/generatorExec/resources/config/types/GeneratorOutputConfig.js +5 -0
- package/api/resources/generatorExec/resources/config/types/GeneratorPublishConfig.d.ts +12 -0
- package/api/resources/generatorExec/resources/config/types/GeneratorPublishConfig.js +5 -0
- package/api/resources/generatorExec/resources/config/types/GeneratorPublishTarget.d.ts +25 -0
- package/api/resources/generatorExec/resources/config/types/GeneratorPublishTarget.js +5 -0
- package/api/resources/generatorExec/resources/config/types/GeneratorRegistriesConfig.d.ts +8 -0
- package/api/resources/generatorExec/resources/config/types/GeneratorRegistriesConfig.js +5 -0
- package/api/resources/generatorExec/resources/config/types/GeneratorRegistriesConfigV2.d.ts +11 -0
- package/api/resources/generatorExec/resources/config/types/GeneratorRegistriesConfigV2.js +5 -0
- package/api/resources/generatorExec/resources/config/types/GithubOutputMode.d.ts +15 -0
- package/api/resources/generatorExec/resources/config/types/GithubOutputMode.js +5 -0
- package/api/resources/generatorExec/resources/config/types/GithubPublishInfo.d.ts +25 -0
- package/api/resources/generatorExec/resources/config/types/GithubPublishInfo.js +5 -0
- package/api/resources/generatorExec/resources/config/types/LicenseConfig.d.ts +13 -0
- package/api/resources/generatorExec/resources/config/types/LicenseConfig.js +5 -0
- package/api/resources/generatorExec/resources/config/types/LicenseId.d.ts +8 -0
- package/api/resources/generatorExec/resources/config/types/LicenseId.js +10 -0
- package/api/resources/generatorExec/resources/config/types/MavenCentralSignature.d.ts +8 -0
- package/api/resources/generatorExec/resources/config/types/MavenCentralSignature.js +5 -0
- package/api/resources/generatorExec/resources/config/types/MavenCentralSignatureGithubInfo.d.ts +9 -0
- package/api/resources/generatorExec/resources/config/types/MavenCentralSignatureGithubInfo.js +5 -0
- package/api/resources/generatorExec/resources/config/types/MavenGithubPublishInfo.d.ts +12 -0
- package/api/resources/generatorExec/resources/config/types/MavenGithubPublishInfo.js +5 -0
- package/api/resources/generatorExec/resources/config/types/MavenRegistryConfig.d.ts +11 -0
- package/api/resources/generatorExec/resources/config/types/MavenRegistryConfig.js +5 -0
- package/api/resources/generatorExec/resources/config/types/MavenRegistryConfigV2.d.ts +11 -0
- package/api/resources/generatorExec/resources/config/types/MavenRegistryConfigV2.js +5 -0
- package/api/resources/generatorExec/resources/config/types/NpmGithubPublishInfo.d.ts +10 -0
- package/api/resources/generatorExec/resources/config/types/NpmGithubPublishInfo.js +5 -0
- package/api/resources/generatorExec/resources/config/types/NpmRegistryConfig.d.ts +8 -0
- package/api/resources/generatorExec/resources/config/types/NpmRegistryConfig.js +5 -0
- package/api/resources/generatorExec/resources/config/types/NpmRegistryConfigV2.d.ts +8 -0
- package/api/resources/generatorExec/resources/config/types/NpmRegistryConfigV2.js +5 -0
- package/api/resources/generatorExec/resources/config/types/NugetGithubPublishInfo.d.ts +10 -0
- package/api/resources/generatorExec/resources/config/types/NugetGithubPublishInfo.js +5 -0
- package/api/resources/generatorExec/resources/config/types/NugetRegistryConfig.d.ts +8 -0
- package/api/resources/generatorExec/resources/config/types/NugetRegistryConfig.js +5 -0
- package/api/resources/generatorExec/resources/config/types/OutputMetadata.d.ts +8 -0
- package/api/resources/generatorExec/resources/config/types/OutputMetadata.js +5 -0
- package/api/resources/generatorExec/resources/config/types/OutputMetadataAuthor.d.ts +7 -0
- package/api/resources/generatorExec/resources/config/types/OutputMetadataAuthor.js +5 -0
- package/api/resources/generatorExec/resources/config/types/OutputMode.d.ts +16 -0
- package/api/resources/generatorExec/resources/config/types/OutputMode.js +5 -0
- package/api/resources/generatorExec/resources/config/types/PostmanConfig.d.ts +7 -0
- package/api/resources/generatorExec/resources/config/types/PostmanConfig.js +5 -0
- package/api/resources/generatorExec/resources/config/types/PostmanGithubPublishInfo.d.ts +8 -0
- package/api/resources/generatorExec/resources/config/types/PostmanGithubPublishInfo.js +5 -0
- package/api/resources/generatorExec/resources/config/types/PublishingMetadata.d.ts +12 -0
- package/api/resources/generatorExec/resources/config/types/PublishingMetadata.js +5 -0
- package/api/resources/generatorExec/resources/config/types/PypiGithubPublishInfo.d.ts +12 -0
- package/api/resources/generatorExec/resources/config/types/PypiGithubPublishInfo.js +5 -0
- package/api/resources/generatorExec/resources/config/types/PypiMetadata.d.ts +9 -0
- package/api/resources/generatorExec/resources/config/types/PypiMetadata.js +5 -0
- package/api/resources/generatorExec/resources/config/types/PypiRegistryConfig.d.ts +11 -0
- package/api/resources/generatorExec/resources/config/types/PypiRegistryConfig.js +5 -0
- package/api/resources/generatorExec/resources/config/types/RemoteGeneratorEnvironment.d.ts +8 -0
- package/api/resources/generatorExec/resources/config/types/RemoteGeneratorEnvironment.js +5 -0
- package/api/resources/generatorExec/resources/config/types/RubyGemsGithubPublishInfo.d.ts +10 -0
- package/api/resources/generatorExec/resources/config/types/RubyGemsGithubPublishInfo.js +5 -0
- package/api/resources/generatorExec/resources/config/types/RubyGemsRegistryConfig.d.ts +8 -0
- package/api/resources/generatorExec/resources/config/types/RubyGemsRegistryConfig.js +5 -0
- package/api/resources/generatorExec/resources/config/types/index.d.ts +36 -0
- package/api/resources/generatorExec/resources/config/types/index.js +52 -0
- package/api/resources/generatorExec/resources/index.d.ts +2 -0
- package/api/resources/generatorExec/resources/index.js +31 -0
- package/api/resources/http/index.d.ts +1 -0
- package/api/resources/http/index.js +17 -0
- package/api/resources/http/types/HttpMethod.d.ts +11 -0
- package/api/resources/http/types/HttpMethod.js +13 -0
- package/api/resources/http/types/index.d.ts +1 -0
- package/api/resources/http/types/index.js +17 -0
- package/api/resources/index.d.ts +8 -0
- package/api/resources/index.js +37 -0
- package/api/resources/types/index.d.ts +1 -0
- package/api/resources/types/index.js +17 -0
- package/api/resources/types/types/PrimitiveTypeV1.d.ts +22 -0
- package/api/resources/types/types/PrimitiveTypeV1.js +21 -0
- package/api/resources/types/types/index.d.ts +1 -0
- package/api/resources/types/types/index.js +17 -0
- package/dist/api/index.d.ts +1 -0
- package/dist/api/index.js +17 -0
- package/dist/api/resources/commons/index.d.ts +1 -0
- package/dist/api/resources/commons/index.js +17 -0
- package/dist/api/resources/commons/types/EndpointId.d.ts +4 -0
- package/dist/api/resources/commons/types/EndpointId.js +5 -0
- package/dist/api/resources/commons/types/FernFilepath.d.ts +9 -0
- package/dist/api/resources/commons/types/FernFilepath.js +5 -0
- package/dist/api/resources/commons/types/Name.d.ts +11 -0
- package/dist/api/resources/commons/types/Name.js +5 -0
- package/dist/api/resources/commons/types/NameAndWireValue.d.ts +8 -0
- package/dist/api/resources/commons/types/NameAndWireValue.js +5 -0
- package/dist/api/resources/commons/types/SafeAndUnsafeString.d.ts +9 -0
- package/dist/api/resources/commons/types/SafeAndUnsafeString.js +5 -0
- package/dist/api/resources/commons/types/TypeId.d.ts +4 -0
- package/dist/api/resources/commons/types/TypeId.js +5 -0
- package/dist/api/resources/commons/types/index.d.ts +6 -0
- package/dist/api/resources/commons/types/index.js +22 -0
- package/dist/api/resources/dynamic/index.d.ts +1 -0
- package/dist/api/resources/dynamic/index.js +17 -0
- package/dist/api/resources/dynamic/resources/auth/index.d.ts +1 -0
- package/dist/api/resources/dynamic/resources/auth/index.js +17 -0
- package/dist/api/resources/dynamic/resources/auth/types/Auth.d.ts +16 -0
- package/dist/api/resources/dynamic/resources/auth/types/Auth.js +5 -0
- package/dist/api/resources/dynamic/resources/auth/types/BasicAuth.d.ts +8 -0
- package/dist/api/resources/dynamic/resources/auth/types/BasicAuth.js +5 -0
- package/dist/api/resources/dynamic/resources/auth/types/BearerAuth.d.ts +7 -0
- package/dist/api/resources/dynamic/resources/auth/types/BearerAuth.js +5 -0
- package/dist/api/resources/dynamic/resources/auth/types/HeaderAuth.d.ts +7 -0
- package/dist/api/resources/dynamic/resources/auth/types/HeaderAuth.js +5 -0
- package/dist/api/resources/dynamic/resources/auth/types/index.d.ts +4 -0
- package/dist/api/resources/dynamic/resources/auth/types/index.js +20 -0
- package/dist/api/resources/dynamic/resources/declaration/index.d.ts +1 -0
- package/dist/api/resources/dynamic/resources/declaration/index.js +17 -0
- package/dist/api/resources/dynamic/resources/declaration/types/Declaration.d.ts +8 -0
- package/dist/api/resources/dynamic/resources/declaration/types/Declaration.js +5 -0
- package/dist/api/resources/dynamic/resources/declaration/types/index.d.ts +1 -0
- package/dist/api/resources/dynamic/resources/declaration/types/index.js +17 -0
- package/dist/api/resources/dynamic/resources/endpoints/index.d.ts +1 -0
- package/dist/api/resources/dynamic/resources/endpoints/index.js +17 -0
- package/dist/api/resources/dynamic/resources/endpoints/types/BodyRequest.d.ts +8 -0
- package/dist/api/resources/dynamic/resources/endpoints/types/BodyRequest.js +5 -0
- package/dist/api/resources/dynamic/resources/endpoints/types/Endpoint.d.ts +11 -0
- package/dist/api/resources/dynamic/resources/endpoints/types/Endpoint.js +5 -0
- package/dist/api/resources/dynamic/resources/endpoints/types/EndpointLocation.d.ts +11 -0
- package/dist/api/resources/dynamic/resources/endpoints/types/EndpointLocation.js +5 -0
- package/dist/api/resources/dynamic/resources/endpoints/types/FileUploadRequestBody.d.ts +7 -0
- package/dist/api/resources/dynamic/resources/endpoints/types/FileUploadRequestBody.js +5 -0
- package/dist/api/resources/dynamic/resources/endpoints/types/FileUploadRequestBodyProperty.d.ts +16 -0
- package/dist/api/resources/dynamic/resources/endpoints/types/FileUploadRequestBodyProperty.js +5 -0
- package/dist/api/resources/dynamic/resources/endpoints/types/InlinedRequest.d.ts +11 -0
- package/dist/api/resources/dynamic/resources/endpoints/types/InlinedRequest.js +5 -0
- package/dist/api/resources/dynamic/resources/endpoints/types/InlinedRequestBody.d.ts +17 -0
- package/dist/api/resources/dynamic/resources/endpoints/types/InlinedRequestBody.js +5 -0
- package/dist/api/resources/dynamic/resources/endpoints/types/ReferencedRequestBody.d.ts +8 -0
- package/dist/api/resources/dynamic/resources/endpoints/types/ReferencedRequestBody.js +5 -0
- package/dist/api/resources/dynamic/resources/endpoints/types/ReferencedRequestBodyType.d.ts +14 -0
- package/dist/api/resources/dynamic/resources/endpoints/types/ReferencedRequestBodyType.js +5 -0
- package/dist/api/resources/dynamic/resources/endpoints/types/Request.d.ts +16 -0
- package/dist/api/resources/dynamic/resources/endpoints/types/Request.js +5 -0
- package/dist/api/resources/dynamic/resources/endpoints/types/Response.d.ts +17 -0
- package/dist/api/resources/dynamic/resources/endpoints/types/Response.js +5 -0
- package/dist/api/resources/dynamic/resources/endpoints/types/index.d.ts +11 -0
- package/dist/api/resources/dynamic/resources/endpoints/types/index.js +27 -0
- package/dist/api/resources/dynamic/resources/index.d.ts +10 -0
- package/dist/api/resources/dynamic/resources/index.js +39 -0
- package/dist/api/resources/dynamic/resources/ir/index.d.ts +1 -0
- package/dist/api/resources/dynamic/resources/ir/index.js +17 -0
- package/dist/api/resources/dynamic/resources/ir/types/DynamicIntermediateRepresentation.d.ts +24 -0
- package/dist/api/resources/dynamic/resources/ir/types/DynamicIntermediateRepresentation.js +5 -0
- package/dist/api/resources/dynamic/resources/ir/types/index.d.ts +1 -0
- package/dist/api/resources/dynamic/resources/ir/types/index.js +17 -0
- package/dist/api/resources/dynamic/resources/types/index.d.ts +1 -0
- package/dist/api/resources/dynamic/resources/types/index.js +17 -0
- package/dist/api/resources/dynamic/resources/types/types/AliasType.d.ts +8 -0
- package/dist/api/resources/dynamic/resources/types/types/AliasType.js +5 -0
- package/dist/api/resources/dynamic/resources/types/types/DiscriminatedUnionType.d.ts +10 -0
- package/dist/api/resources/dynamic/resources/types/types/DiscriminatedUnionType.js +5 -0
- package/dist/api/resources/dynamic/resources/types/types/EnumType.d.ts +8 -0
- package/dist/api/resources/dynamic/resources/types/types/EnumType.js +5 -0
- package/dist/api/resources/dynamic/resources/types/types/LiteralType.d.ts +15 -0
- package/dist/api/resources/dynamic/resources/types/types/LiteralType.js +5 -0
- package/dist/api/resources/dynamic/resources/types/types/MapType.d.ts +8 -0
- package/dist/api/resources/dynamic/resources/types/types/MapType.js +5 -0
- package/dist/api/resources/dynamic/resources/types/types/NamedParameter.d.ts +8 -0
- package/dist/api/resources/dynamic/resources/types/types/NamedParameter.js +5 -0
- package/dist/api/resources/dynamic/resources/types/types/NamedType.d.ts +25 -0
- package/dist/api/resources/dynamic/resources/types/types/NamedType.js +5 -0
- package/dist/api/resources/dynamic/resources/types/types/ObjectType.d.ts +8 -0
- package/dist/api/resources/dynamic/resources/types/types/ObjectType.js +5 -0
- package/dist/api/resources/dynamic/resources/types/types/SingleDiscriminatedUnionType.d.ts +16 -0
- package/dist/api/resources/dynamic/resources/types/types/SingleDiscriminatedUnionType.js +5 -0
- package/dist/api/resources/dynamic/resources/types/types/SingleDiscriminatedUnionTypeNoProperties.d.ts +9 -0
- package/dist/api/resources/dynamic/resources/types/types/SingleDiscriminatedUnionTypeNoProperties.js +5 -0
- package/dist/api/resources/dynamic/resources/types/types/SingleDiscriminatedUnionTypeObject.d.ts +10 -0
- package/dist/api/resources/dynamic/resources/types/types/SingleDiscriminatedUnionTypeObject.js +5 -0
- package/dist/api/resources/dynamic/resources/types/types/SingleDiscriminatedUnionTypeSingleProperty.d.ts +10 -0
- package/dist/api/resources/dynamic/resources/types/types/SingleDiscriminatedUnionTypeSingleProperty.js +5 -0
- package/dist/api/resources/dynamic/resources/types/types/TypeReference.d.ts +37 -0
- package/dist/api/resources/dynamic/resources/types/types/TypeReference.js +5 -0
- package/dist/api/resources/dynamic/resources/types/types/UndiscriminatedUnionType.d.ts +9 -0
- package/dist/api/resources/dynamic/resources/types/types/UndiscriminatedUnionType.js +5 -0
- package/dist/api/resources/dynamic/resources/types/types/index.d.ts +14 -0
- package/dist/api/resources/dynamic/resources/types/types/index.js +30 -0
- package/dist/api/resources/generatorExec/index.d.ts +1 -0
- package/dist/api/resources/generatorExec/index.js +17 -0
- package/dist/api/resources/generatorExec/resources/config/index.d.ts +1 -0
- package/dist/api/resources/generatorExec/resources/config/index.js +17 -0
- package/dist/api/resources/generatorExec/resources/config/types/BasicLicense.d.ts +7 -0
- package/dist/api/resources/generatorExec/resources/config/types/BasicLicense.js +5 -0
- package/dist/api/resources/generatorExec/resources/config/types/CustomLicense.d.ts +6 -0
- package/dist/api/resources/generatorExec/resources/config/types/CustomLicense.js +5 -0
- package/dist/api/resources/generatorExec/resources/config/types/EnvironmentVariable.d.ts +4 -0
- package/dist/api/resources/generatorExec/resources/config/types/EnvironmentVariable.js +5 -0
- package/dist/api/resources/generatorExec/resources/config/types/GeneratorConfig.d.ts +21 -0
- package/dist/api/resources/generatorExec/resources/config/types/GeneratorConfig.js +5 -0
- package/dist/api/resources/generatorExec/resources/config/types/GeneratorEnvironment.d.ts +13 -0
- package/dist/api/resources/generatorExec/resources/config/types/GeneratorEnvironment.js +5 -0
- package/dist/api/resources/generatorExec/resources/config/types/GeneratorOutputConfig.d.ts +11 -0
- package/dist/api/resources/generatorExec/resources/config/types/GeneratorOutputConfig.js +5 -0
- package/dist/api/resources/generatorExec/resources/config/types/GeneratorPublishConfig.d.ts +12 -0
- package/dist/api/resources/generatorExec/resources/config/types/GeneratorPublishConfig.js +5 -0
- package/dist/api/resources/generatorExec/resources/config/types/GeneratorPublishTarget.d.ts +25 -0
- package/dist/api/resources/generatorExec/resources/config/types/GeneratorPublishTarget.js +5 -0
- package/dist/api/resources/generatorExec/resources/config/types/GeneratorRegistriesConfig.d.ts +8 -0
- package/dist/api/resources/generatorExec/resources/config/types/GeneratorRegistriesConfig.js +5 -0
- package/dist/api/resources/generatorExec/resources/config/types/GeneratorRegistriesConfigV2.d.ts +11 -0
- package/dist/api/resources/generatorExec/resources/config/types/GeneratorRegistriesConfigV2.js +5 -0
- package/dist/api/resources/generatorExec/resources/config/types/GithubOutputMode.d.ts +15 -0
- package/dist/api/resources/generatorExec/resources/config/types/GithubOutputMode.js +5 -0
- package/dist/api/resources/generatorExec/resources/config/types/GithubPublishInfo.d.ts +25 -0
- package/dist/api/resources/generatorExec/resources/config/types/GithubPublishInfo.js +5 -0
- package/dist/api/resources/generatorExec/resources/config/types/LicenseConfig.d.ts +13 -0
- package/dist/api/resources/generatorExec/resources/config/types/LicenseConfig.js +5 -0
- package/dist/api/resources/generatorExec/resources/config/types/LicenseId.d.ts +8 -0
- package/dist/api/resources/generatorExec/resources/config/types/LicenseId.js +10 -0
- package/dist/api/resources/generatorExec/resources/config/types/MavenCentralSignature.d.ts +8 -0
- package/dist/api/resources/generatorExec/resources/config/types/MavenCentralSignature.js +5 -0
- package/dist/api/resources/generatorExec/resources/config/types/MavenCentralSignatureGithubInfo.d.ts +9 -0
- package/dist/api/resources/generatorExec/resources/config/types/MavenCentralSignatureGithubInfo.js +5 -0
- package/dist/api/resources/generatorExec/resources/config/types/MavenGithubPublishInfo.d.ts +12 -0
- package/dist/api/resources/generatorExec/resources/config/types/MavenGithubPublishInfo.js +5 -0
- package/dist/api/resources/generatorExec/resources/config/types/MavenRegistryConfig.d.ts +11 -0
- package/dist/api/resources/generatorExec/resources/config/types/MavenRegistryConfig.js +5 -0
- package/dist/api/resources/generatorExec/resources/config/types/MavenRegistryConfigV2.d.ts +11 -0
- package/dist/api/resources/generatorExec/resources/config/types/MavenRegistryConfigV2.js +5 -0
- package/dist/api/resources/generatorExec/resources/config/types/NpmGithubPublishInfo.d.ts +10 -0
- package/dist/api/resources/generatorExec/resources/config/types/NpmGithubPublishInfo.js +5 -0
- package/dist/api/resources/generatorExec/resources/config/types/NpmRegistryConfig.d.ts +8 -0
- package/dist/api/resources/generatorExec/resources/config/types/NpmRegistryConfig.js +5 -0
- package/dist/api/resources/generatorExec/resources/config/types/NpmRegistryConfigV2.d.ts +8 -0
- package/dist/api/resources/generatorExec/resources/config/types/NpmRegistryConfigV2.js +5 -0
- package/dist/api/resources/generatorExec/resources/config/types/NugetGithubPublishInfo.d.ts +10 -0
- package/dist/api/resources/generatorExec/resources/config/types/NugetGithubPublishInfo.js +5 -0
- package/dist/api/resources/generatorExec/resources/config/types/NugetRegistryConfig.d.ts +8 -0
- package/dist/api/resources/generatorExec/resources/config/types/NugetRegistryConfig.js +5 -0
- package/dist/api/resources/generatorExec/resources/config/types/OutputMetadata.d.ts +8 -0
- package/dist/api/resources/generatorExec/resources/config/types/OutputMetadata.js +5 -0
- package/dist/api/resources/generatorExec/resources/config/types/OutputMetadataAuthor.d.ts +7 -0
- package/dist/api/resources/generatorExec/resources/config/types/OutputMetadataAuthor.js +5 -0
- package/dist/api/resources/generatorExec/resources/config/types/OutputMode.d.ts +16 -0
- package/dist/api/resources/generatorExec/resources/config/types/OutputMode.js +5 -0
- package/dist/api/resources/generatorExec/resources/config/types/PostmanConfig.d.ts +7 -0
- package/dist/api/resources/generatorExec/resources/config/types/PostmanConfig.js +5 -0
- package/dist/api/resources/generatorExec/resources/config/types/PostmanGithubPublishInfo.d.ts +8 -0
- package/dist/api/resources/generatorExec/resources/config/types/PostmanGithubPublishInfo.js +5 -0
- package/dist/api/resources/generatorExec/resources/config/types/PublishingMetadata.d.ts +12 -0
- package/dist/api/resources/generatorExec/resources/config/types/PublishingMetadata.js +5 -0
- package/dist/api/resources/generatorExec/resources/config/types/PypiGithubPublishInfo.d.ts +12 -0
- package/dist/api/resources/generatorExec/resources/config/types/PypiGithubPublishInfo.js +5 -0
- package/dist/api/resources/generatorExec/resources/config/types/PypiMetadata.d.ts +9 -0
- package/dist/api/resources/generatorExec/resources/config/types/PypiMetadata.js +5 -0
- package/dist/api/resources/generatorExec/resources/config/types/PypiRegistryConfig.d.ts +11 -0
- package/dist/api/resources/generatorExec/resources/config/types/PypiRegistryConfig.js +5 -0
- package/dist/api/resources/generatorExec/resources/config/types/RemoteGeneratorEnvironment.d.ts +8 -0
- package/dist/api/resources/generatorExec/resources/config/types/RemoteGeneratorEnvironment.js +5 -0
- package/dist/api/resources/generatorExec/resources/config/types/RubyGemsGithubPublishInfo.d.ts +10 -0
- package/dist/api/resources/generatorExec/resources/config/types/RubyGemsGithubPublishInfo.js +5 -0
- package/dist/api/resources/generatorExec/resources/config/types/RubyGemsRegistryConfig.d.ts +8 -0
- package/dist/api/resources/generatorExec/resources/config/types/RubyGemsRegistryConfig.js +5 -0
- package/dist/api/resources/generatorExec/resources/config/types/index.d.ts +36 -0
- package/dist/api/resources/generatorExec/resources/config/types/index.js +52 -0
- package/dist/api/resources/generatorExec/resources/index.d.ts +2 -0
- package/dist/api/resources/generatorExec/resources/index.js +31 -0
- package/dist/api/resources/http/index.d.ts +1 -0
- package/dist/api/resources/http/index.js +17 -0
- package/dist/api/resources/http/types/HttpMethod.d.ts +11 -0
- package/dist/api/resources/http/types/HttpMethod.js +13 -0
- package/dist/api/resources/http/types/index.d.ts +1 -0
- package/dist/api/resources/http/types/index.js +17 -0
- package/dist/api/resources/index.d.ts +8 -0
- package/dist/api/resources/index.js +37 -0
- package/dist/api/resources/types/index.d.ts +1 -0
- package/dist/api/resources/types/index.js +17 -0
- package/dist/api/resources/types/types/PrimitiveTypeV1.d.ts +22 -0
- package/dist/api/resources/types/types/PrimitiveTypeV1.js +21 -0
- package/dist/api/resources/types/types/index.d.ts +1 -0
- package/dist/api/resources/types/types/index.js +17 -0
- package/dist/errors/FernIrError.d.ts +12 -0
- package/dist/errors/FernIrError.js +32 -0
- package/dist/errors/FernIrTimeoutError.d.ts +6 -0
- package/dist/errors/FernIrTimeoutError.js +13 -0
- package/dist/errors/index.d.ts +2 -0
- package/dist/errors/index.js +7 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +30 -0
- package/errors/FernIrError.d.ts +12 -0
- package/errors/FernIrError.js +32 -0
- package/errors/FernIrTimeoutError.d.ts +6 -0
- package/errors/FernIrTimeoutError.js +13 -0
- package/errors/index.d.ts +2 -0
- package/errors/index.js +7 -0
- package/index.d.ts +2 -0
- package/index.js +30 -0
- package/jest.config.js +5 -0
- package/package.json +27 -0
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export * from "./EndpointLocation";
|
|
2
|
+
export * from "./Endpoint";
|
|
3
|
+
export * from "./Request";
|
|
4
|
+
export * from "./Response";
|
|
5
|
+
export * from "./BodyRequest";
|
|
6
|
+
export * from "./InlinedRequest";
|
|
7
|
+
export * from "./InlinedRequestBody";
|
|
8
|
+
export * from "./ReferencedRequestBody";
|
|
9
|
+
export * from "./ReferencedRequestBodyType";
|
|
10
|
+
export * from "./FileUploadRequestBody";
|
|
11
|
+
export * from "./FileUploadRequestBodyProperty";
|
|
@@ -0,0 +1,27 @@
|
|
|
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 __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./EndpointLocation"), exports);
|
|
18
|
+
__exportStar(require("./Endpoint"), exports);
|
|
19
|
+
__exportStar(require("./Request"), exports);
|
|
20
|
+
__exportStar(require("./Response"), exports);
|
|
21
|
+
__exportStar(require("./BodyRequest"), exports);
|
|
22
|
+
__exportStar(require("./InlinedRequest"), exports);
|
|
23
|
+
__exportStar(require("./InlinedRequestBody"), exports);
|
|
24
|
+
__exportStar(require("./ReferencedRequestBody"), exports);
|
|
25
|
+
__exportStar(require("./ReferencedRequestBodyType"), exports);
|
|
26
|
+
__exportStar(require("./FileUploadRequestBody"), exports);
|
|
27
|
+
__exportStar(require("./FileUploadRequestBodyProperty"), exports);
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export * as auth from "./auth";
|
|
2
|
+
export * from "./auth/types";
|
|
3
|
+
export * as declaration from "./declaration";
|
|
4
|
+
export * from "./declaration/types";
|
|
5
|
+
export * as endpoints from "./endpoints";
|
|
6
|
+
export * from "./endpoints/types";
|
|
7
|
+
export * as ir from "./ir";
|
|
8
|
+
export * from "./ir/types";
|
|
9
|
+
export * as types from "./types";
|
|
10
|
+
export * from "./types/types";
|
|
@@ -0,0 +1,39 @@
|
|
|
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 __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
+
if (mod && mod.__esModule) return mod;
|
|
20
|
+
var result = {};
|
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
+
__setModuleDefault(result, mod);
|
|
23
|
+
return result;
|
|
24
|
+
};
|
|
25
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
26
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.types = exports.ir = exports.endpoints = exports.declaration = exports.auth = void 0;
|
|
30
|
+
exports.auth = __importStar(require("./auth"));
|
|
31
|
+
__exportStar(require("./auth/types"), exports);
|
|
32
|
+
exports.declaration = __importStar(require("./declaration"));
|
|
33
|
+
__exportStar(require("./declaration/types"), exports);
|
|
34
|
+
exports.endpoints = __importStar(require("./endpoints"));
|
|
35
|
+
__exportStar(require("./endpoints/types"), exports);
|
|
36
|
+
exports.ir = __importStar(require("./ir"));
|
|
37
|
+
__exportStar(require("./ir/types"), exports);
|
|
38
|
+
exports.types = __importStar(require("./types"));
|
|
39
|
+
__exportStar(require("./types/types"), exports);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./types";
|
|
@@ -0,0 +1,17 @@
|
|
|
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 __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./types"), exports);
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as FernIr from "../../../../../index";
|
|
5
|
+
/**
|
|
6
|
+
* This represents the IR required to generate dynamic snippets.
|
|
7
|
+
*
|
|
8
|
+
* This IR minimizes the space required to generate snippets in a variety
|
|
9
|
+
* of environments (e.g. web, offline, etc).
|
|
10
|
+
*/
|
|
11
|
+
export interface DynamicIntermediateRepresentation {
|
|
12
|
+
/**
|
|
13
|
+
* The version of the dynamic IR. This is independent from the verison
|
|
14
|
+
* of the primary IR.
|
|
15
|
+
*/
|
|
16
|
+
version: "1.0.0";
|
|
17
|
+
types: Record<FernIr.TypeId, FernIr.dynamic.NamedType>;
|
|
18
|
+
endpoints: Record<FernIr.EndpointId, FernIr.dynamic.Endpoint>;
|
|
19
|
+
/**
|
|
20
|
+
* The headers that are required on every request. These headers
|
|
21
|
+
* are typically included in the SDK's client constructor.
|
|
22
|
+
*/
|
|
23
|
+
headers: FernIr.dynamic.NamedParameter[] | undefined;
|
|
24
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./DynamicIntermediateRepresentation";
|
|
@@ -0,0 +1,17 @@
|
|
|
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 __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./DynamicIntermediateRepresentation"), exports);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./types";
|
|
@@ -0,0 +1,17 @@
|
|
|
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 __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./types"), exports);
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as FernIr from "../../../../../index";
|
|
5
|
+
export interface DiscriminatedUnionType {
|
|
6
|
+
declaration: FernIr.dynamic.Declaration;
|
|
7
|
+
discriminant: FernIr.NameAndWireValue;
|
|
8
|
+
/** Map from the discriminant value (e.g. "user") to the type (e.g. User). */
|
|
9
|
+
types: Record<string, FernIr.dynamic.SingleDiscriminatedUnionType>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as FernIr from "../../../../../index";
|
|
5
|
+
export declare type LiteralType = FernIr.dynamic.LiteralType.Boolean | FernIr.dynamic.LiteralType.String;
|
|
6
|
+
export declare namespace LiteralType {
|
|
7
|
+
interface Boolean {
|
|
8
|
+
type: "boolean";
|
|
9
|
+
value: boolean;
|
|
10
|
+
}
|
|
11
|
+
interface String {
|
|
12
|
+
type: "string";
|
|
13
|
+
value: string;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as FernIr from "../../../../../index";
|
|
5
|
+
/**
|
|
6
|
+
* Represents the type of a parameter that can be used to generate a dynamic type.
|
|
7
|
+
*/
|
|
8
|
+
export declare type NamedType = FernIr.dynamic.NamedType.Alias | FernIr.dynamic.NamedType.Enum | FernIr.dynamic.NamedType.Object_ | FernIr.dynamic.NamedType.DiscriminatedUnion | FernIr.dynamic.NamedType.UndiscriminatedUnion;
|
|
9
|
+
export declare namespace NamedType {
|
|
10
|
+
interface Alias extends FernIr.dynamic.AliasType {
|
|
11
|
+
type: "alias";
|
|
12
|
+
}
|
|
13
|
+
interface Enum extends FernIr.dynamic.EnumType {
|
|
14
|
+
type: "enum";
|
|
15
|
+
}
|
|
16
|
+
interface Object_ extends FernIr.dynamic.ObjectType {
|
|
17
|
+
type: "object";
|
|
18
|
+
}
|
|
19
|
+
interface DiscriminatedUnion extends FernIr.dynamic.DiscriminatedUnionType {
|
|
20
|
+
type: "discriminatedUnion";
|
|
21
|
+
}
|
|
22
|
+
interface UndiscriminatedUnion extends FernIr.dynamic.UndiscriminatedUnionType {
|
|
23
|
+
type: "undiscriminatedUnion";
|
|
24
|
+
}
|
|
25
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as FernIr from "../../../../../index";
|
|
5
|
+
export declare type SingleDiscriminatedUnionType = FernIr.dynamic.SingleDiscriminatedUnionType.SamePropertiesAsObject | FernIr.dynamic.SingleDiscriminatedUnionType.SingleProperty | FernIr.dynamic.SingleDiscriminatedUnionType.NoProperties;
|
|
6
|
+
export declare namespace SingleDiscriminatedUnionType {
|
|
7
|
+
interface SamePropertiesAsObject extends FernIr.dynamic.SingleDiscriminatedUnionTypeObject {
|
|
8
|
+
type: "samePropertiesAsObject";
|
|
9
|
+
}
|
|
10
|
+
interface SingleProperty extends FernIr.dynamic.SingleDiscriminatedUnionTypeSingleProperty {
|
|
11
|
+
type: "singleProperty";
|
|
12
|
+
}
|
|
13
|
+
interface NoProperties extends FernIr.dynamic.SingleDiscriminatedUnionTypeNoProperties {
|
|
14
|
+
type: "noProperties";
|
|
15
|
+
}
|
|
16
|
+
}
|
package/api/resources/dynamic/resources/types/types/SingleDiscriminatedUnionTypeNoProperties.d.ts
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as FernIr from "../../../../../index";
|
|
5
|
+
export interface SingleDiscriminatedUnionTypeNoProperties {
|
|
6
|
+
discriminantValue: FernIr.NameAndWireValue;
|
|
7
|
+
/** Any properties included here are the base and/or extended properties from the union. */
|
|
8
|
+
properties: FernIr.dynamic.NamedParameter[] | undefined;
|
|
9
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as FernIr from "../../../../../index";
|
|
5
|
+
export interface SingleDiscriminatedUnionTypeObject {
|
|
6
|
+
typeId: FernIr.TypeId;
|
|
7
|
+
discriminantValue: FernIr.NameAndWireValue;
|
|
8
|
+
/** Any properties included here are the base and/or extended properties from the union. */
|
|
9
|
+
properties: FernIr.dynamic.NamedParameter[];
|
|
10
|
+
}
|
package/api/resources/dynamic/resources/types/types/SingleDiscriminatedUnionTypeSingleProperty.d.ts
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as FernIr from "../../../../../index";
|
|
5
|
+
export interface SingleDiscriminatedUnionTypeSingleProperty {
|
|
6
|
+
typeReference: FernIr.dynamic.TypeReference;
|
|
7
|
+
discriminantValue: FernIr.NameAndWireValue;
|
|
8
|
+
/** Any properties included here are the base and/or extended properties from the union. */
|
|
9
|
+
properties: FernIr.dynamic.NamedParameter[] | undefined;
|
|
10
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as FernIr from "../../../../../index";
|
|
5
|
+
export declare type TypeReference = FernIr.dynamic.TypeReference.List | FernIr.dynamic.TypeReference.Literal | FernIr.dynamic.TypeReference.Map | FernIr.dynamic.TypeReference.Named | FernIr.dynamic.TypeReference.Optional | FernIr.dynamic.TypeReference.Primitive | FernIr.dynamic.TypeReference.Set | FernIr.dynamic.TypeReference.Unknown;
|
|
6
|
+
export declare namespace TypeReference {
|
|
7
|
+
interface List {
|
|
8
|
+
_type: "list";
|
|
9
|
+
value: FernIr.dynamic.TypeReference;
|
|
10
|
+
}
|
|
11
|
+
interface Literal {
|
|
12
|
+
_type: "literal";
|
|
13
|
+
value: FernIr.dynamic.LiteralType;
|
|
14
|
+
}
|
|
15
|
+
interface Map extends FernIr.dynamic.MapType {
|
|
16
|
+
_type: "map";
|
|
17
|
+
}
|
|
18
|
+
interface Named {
|
|
19
|
+
_type: "named";
|
|
20
|
+
value: FernIr.TypeId;
|
|
21
|
+
}
|
|
22
|
+
interface Optional {
|
|
23
|
+
_type: "optional";
|
|
24
|
+
value: FernIr.dynamic.TypeReference;
|
|
25
|
+
}
|
|
26
|
+
interface Primitive {
|
|
27
|
+
_type: "primitive";
|
|
28
|
+
value: FernIr.PrimitiveTypeV1;
|
|
29
|
+
}
|
|
30
|
+
interface Set {
|
|
31
|
+
_type: "set";
|
|
32
|
+
value: FernIr.dynamic.TypeReference;
|
|
33
|
+
}
|
|
34
|
+
interface Unknown {
|
|
35
|
+
_type: "unknown";
|
|
36
|
+
}
|
|
37
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as FernIr from "../../../../../index";
|
|
5
|
+
export interface UndiscriminatedUnionType {
|
|
6
|
+
declaration: FernIr.dynamic.Declaration;
|
|
7
|
+
/** The dynamic type will be rendered with the first type that matches. */
|
|
8
|
+
types: FernIr.dynamic.TypeReference[];
|
|
9
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export * from "./NamedParameter";
|
|
2
|
+
export * from "./NamedType";
|
|
3
|
+
export * from "./TypeReference";
|
|
4
|
+
export * from "./AliasType";
|
|
5
|
+
export * from "./EnumType";
|
|
6
|
+
export * from "./MapType";
|
|
7
|
+
export * from "./ObjectType";
|
|
8
|
+
export * from "./DiscriminatedUnionType";
|
|
9
|
+
export * from "./SingleDiscriminatedUnionType";
|
|
10
|
+
export * from "./SingleDiscriminatedUnionTypeObject";
|
|
11
|
+
export * from "./SingleDiscriminatedUnionTypeSingleProperty";
|
|
12
|
+
export * from "./SingleDiscriminatedUnionTypeNoProperties";
|
|
13
|
+
export * from "./UndiscriminatedUnionType";
|
|
14
|
+
export * from "./LiteralType";
|
|
@@ -0,0 +1,30 @@
|
|
|
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 __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./NamedParameter"), exports);
|
|
18
|
+
__exportStar(require("./NamedType"), exports);
|
|
19
|
+
__exportStar(require("./TypeReference"), exports);
|
|
20
|
+
__exportStar(require("./AliasType"), exports);
|
|
21
|
+
__exportStar(require("./EnumType"), exports);
|
|
22
|
+
__exportStar(require("./MapType"), exports);
|
|
23
|
+
__exportStar(require("./ObjectType"), exports);
|
|
24
|
+
__exportStar(require("./DiscriminatedUnionType"), exports);
|
|
25
|
+
__exportStar(require("./SingleDiscriminatedUnionType"), exports);
|
|
26
|
+
__exportStar(require("./SingleDiscriminatedUnionTypeObject"), exports);
|
|
27
|
+
__exportStar(require("./SingleDiscriminatedUnionTypeSingleProperty"), exports);
|
|
28
|
+
__exportStar(require("./SingleDiscriminatedUnionTypeNoProperties"), exports);
|
|
29
|
+
__exportStar(require("./UndiscriminatedUnionType"), exports);
|
|
30
|
+
__exportStar(require("./LiteralType"), exports);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./resources";
|
|
@@ -0,0 +1,17 @@
|
|
|
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 __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./resources"), exports);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./types";
|
|
@@ -0,0 +1,17 @@
|
|
|
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 __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./types"), exports);
|