@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,20 @@
|
|
|
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("./Auth"), exports);
|
|
18
|
+
__exportStar(require("./BasicAuth"), exports);
|
|
19
|
+
__exportStar(require("./BearerAuth"), exports);
|
|
20
|
+
__exportStar(require("./HeaderAuth"), 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 @@
|
|
|
1
|
+
export * from "./Declaration";
|
|
@@ -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("./Declaration"), 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,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as FernIr from "../../../../../index";
|
|
5
|
+
export interface BodyRequest {
|
|
6
|
+
pathParameters: FernIr.dynamic.NamedParameter[] | undefined;
|
|
7
|
+
body: FernIr.dynamic.ReferencedRequestBodyType | undefined;
|
|
8
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as FernIr from "../../../../../index";
|
|
5
|
+
export interface Endpoint {
|
|
6
|
+
auth: FernIr.dynamic.Auth | undefined;
|
|
7
|
+
declaration: FernIr.dynamic.Declaration;
|
|
8
|
+
location: FernIr.dynamic.EndpointLocation;
|
|
9
|
+
request: FernIr.dynamic.Request;
|
|
10
|
+
response: FernIr.dynamic.Response;
|
|
11
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as FernIr from "../../../../../index";
|
|
5
|
+
/**
|
|
6
|
+
* Represents the endpoint location (e.g. "POST /users").
|
|
7
|
+
*/
|
|
8
|
+
export interface EndpointLocation {
|
|
9
|
+
method: FernIr.HttpMethod;
|
|
10
|
+
path: string;
|
|
11
|
+
}
|
package/dist/api/resources/dynamic/resources/endpoints/types/FileUploadRequestBodyProperty.d.ts
ADDED
|
@@ -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 FileUploadRequestBodyProperty = FernIr.dynamic.FileUploadRequestBodyProperty.File_ | FernIr.dynamic.FileUploadRequestBodyProperty.FileArray | FernIr.dynamic.FileUploadRequestBodyProperty.BodyProperty;
|
|
6
|
+
export declare namespace FileUploadRequestBodyProperty {
|
|
7
|
+
interface File_ extends FernIr.NameAndWireValue {
|
|
8
|
+
type: "file";
|
|
9
|
+
}
|
|
10
|
+
interface FileArray extends FernIr.NameAndWireValue {
|
|
11
|
+
type: "fileArray";
|
|
12
|
+
}
|
|
13
|
+
interface BodyProperty extends FernIr.dynamic.NamedParameter {
|
|
14
|
+
type: "bodyProperty";
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as FernIr from "../../../../../index";
|
|
5
|
+
export interface InlinedRequest {
|
|
6
|
+
declaration: FernIr.dynamic.Declaration;
|
|
7
|
+
pathParameters: FernIr.dynamic.NamedParameter[] | undefined;
|
|
8
|
+
queryParameters: FernIr.dynamic.NamedParameter[] | undefined;
|
|
9
|
+
headers: FernIr.dynamic.NamedParameter[] | undefined;
|
|
10
|
+
body: FernIr.dynamic.InlinedRequestBody | undefined;
|
|
11
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as FernIr from "../../../../../index";
|
|
5
|
+
export declare type InlinedRequestBody = FernIr.dynamic.InlinedRequestBody.Properties | FernIr.dynamic.InlinedRequestBody.Referenced | FernIr.dynamic.InlinedRequestBody.FileUpload;
|
|
6
|
+
export declare namespace InlinedRequestBody {
|
|
7
|
+
interface Properties {
|
|
8
|
+
type: "properties";
|
|
9
|
+
value: FernIr.dynamic.NamedParameter[];
|
|
10
|
+
}
|
|
11
|
+
interface Referenced extends FernIr.dynamic.ReferencedRequestBody {
|
|
12
|
+
type: "referenced";
|
|
13
|
+
}
|
|
14
|
+
interface FileUpload extends FernIr.dynamic.FileUploadRequestBody {
|
|
15
|
+
type: "fileUpload";
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as FernIr from "../../../../../index";
|
|
5
|
+
export declare type ReferencedRequestBodyType = FernIr.dynamic.ReferencedRequestBodyType.Bytes | FernIr.dynamic.ReferencedRequestBodyType.TypeReference;
|
|
6
|
+
export declare namespace ReferencedRequestBodyType {
|
|
7
|
+
interface Bytes {
|
|
8
|
+
type: "bytes";
|
|
9
|
+
}
|
|
10
|
+
interface TypeReference {
|
|
11
|
+
type: "typeReference";
|
|
12
|
+
value: FernIr.dynamic.TypeReference;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -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
|
+
/**
|
|
6
|
+
* Reperesents the request parameters required to call a specific endpoiont.
|
|
7
|
+
*/
|
|
8
|
+
export declare type Request = FernIr.dynamic.Request.Body | FernIr.dynamic.Request.Inlined;
|
|
9
|
+
export declare namespace Request {
|
|
10
|
+
interface Body extends FernIr.dynamic.BodyRequest {
|
|
11
|
+
type: "body";
|
|
12
|
+
}
|
|
13
|
+
interface Inlined extends FernIr.dynamic.InlinedRequest {
|
|
14
|
+
type: "inlined";
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as FernIr from "../../../../../index";
|
|
5
|
+
/**
|
|
6
|
+
* Reperesents the response returned by a specific endpoint.
|
|
7
|
+
*
|
|
8
|
+
* For now, we only support json responses, but this is set up to support a
|
|
9
|
+
* variety of other endpoint response types (e.g. file download, pagination,
|
|
10
|
+
* streaming, etc).
|
|
11
|
+
*/
|
|
12
|
+
export declare type Response = FernIr.dynamic.Response.Json;
|
|
13
|
+
export declare namespace Response {
|
|
14
|
+
interface Json {
|
|
15
|
+
type: "json";
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -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
|
+
}
|