@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,37 @@
|
|
|
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.http = exports.generatorExec = exports.dynamic = exports.commons = void 0;
|
|
30
|
+
exports.commons = __importStar(require("./commons"));
|
|
31
|
+
__exportStar(require("./commons/types"), exports);
|
|
32
|
+
exports.dynamic = __importStar(require("./dynamic"));
|
|
33
|
+
exports.generatorExec = __importStar(require("./generatorExec"));
|
|
34
|
+
exports.http = __importStar(require("./http"));
|
|
35
|
+
__exportStar(require("./http/types"), exports);
|
|
36
|
+
exports.types = __importStar(require("./types"));
|
|
37
|
+
__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,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export declare type PrimitiveTypeV1 = "INTEGER"
|
|
5
|
+
/**
|
|
6
|
+
* Within the range -2^53 to 2^53 */
|
|
7
|
+
| "LONG" | "UINT" | "UINT_64" | "FLOAT" | "DOUBLE" | "BOOLEAN" | "STRING" | "DATE" | "DATE_TIME" | "UUID" | "BASE_64" | "BIG_INTEGER";
|
|
8
|
+
export declare const PrimitiveTypeV1: {
|
|
9
|
+
readonly Integer: "INTEGER";
|
|
10
|
+
readonly Long: "LONG";
|
|
11
|
+
readonly Uint: "UINT";
|
|
12
|
+
readonly Uint64: "UINT_64";
|
|
13
|
+
readonly Float: "FLOAT";
|
|
14
|
+
readonly Double: "DOUBLE";
|
|
15
|
+
readonly Boolean: "BOOLEAN";
|
|
16
|
+
readonly String: "STRING";
|
|
17
|
+
readonly Date: "DATE";
|
|
18
|
+
readonly DateTime: "DATE_TIME";
|
|
19
|
+
readonly Uuid: "UUID";
|
|
20
|
+
readonly Base64: "BASE_64";
|
|
21
|
+
readonly BigInteger: "BIG_INTEGER";
|
|
22
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.PrimitiveTypeV1 = void 0;
|
|
7
|
+
exports.PrimitiveTypeV1 = {
|
|
8
|
+
Integer: "INTEGER",
|
|
9
|
+
Long: "LONG",
|
|
10
|
+
Uint: "UINT",
|
|
11
|
+
Uint64: "UINT_64",
|
|
12
|
+
Float: "FLOAT",
|
|
13
|
+
Double: "DOUBLE",
|
|
14
|
+
Boolean: "BOOLEAN",
|
|
15
|
+
String: "STRING",
|
|
16
|
+
Date: "DATE",
|
|
17
|
+
DateTime: "DATE_TIME",
|
|
18
|
+
Uuid: "UUID",
|
|
19
|
+
Base64: "BASE_64",
|
|
20
|
+
BigInteger: "BIG_INTEGER",
|
|
21
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./PrimitiveTypeV1";
|
|
@@ -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("./PrimitiveTypeV1"), exports);
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export declare class FernIrError extends Error {
|
|
5
|
+
readonly statusCode?: number;
|
|
6
|
+
readonly body?: unknown;
|
|
7
|
+
constructor({ message, statusCode, body }: {
|
|
8
|
+
message?: string;
|
|
9
|
+
statusCode?: number;
|
|
10
|
+
body?: unknown;
|
|
11
|
+
});
|
|
12
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.FernIrError = void 0;
|
|
7
|
+
class FernIrError extends Error {
|
|
8
|
+
constructor({ message, statusCode, body }) {
|
|
9
|
+
super(buildMessage({ message, statusCode, body }));
|
|
10
|
+
Object.setPrototypeOf(this, FernIrError.prototype);
|
|
11
|
+
if (statusCode != null) {
|
|
12
|
+
this.statusCode = statusCode;
|
|
13
|
+
}
|
|
14
|
+
if (body !== undefined) {
|
|
15
|
+
this.body = body;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
exports.FernIrError = FernIrError;
|
|
20
|
+
function buildMessage({ message, statusCode, body, }) {
|
|
21
|
+
let lines = [];
|
|
22
|
+
if (message != null) {
|
|
23
|
+
lines.push(message);
|
|
24
|
+
}
|
|
25
|
+
if (statusCode != null) {
|
|
26
|
+
lines.push(`Status code: ${statusCode.toString()}`);
|
|
27
|
+
}
|
|
28
|
+
if (body != null) {
|
|
29
|
+
lines.push(`Body: ${JSON.stringify(body, undefined, 2)}`);
|
|
30
|
+
}
|
|
31
|
+
return lines.join("\n");
|
|
32
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.FernIrTimeoutError = void 0;
|
|
7
|
+
class FernIrTimeoutError extends Error {
|
|
8
|
+
constructor() {
|
|
9
|
+
super("Timeout");
|
|
10
|
+
Object.setPrototypeOf(this, FernIrTimeoutError.prototype);
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
exports.FernIrTimeoutError = FernIrTimeoutError;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.FernIrTimeoutError = exports.FernIrError = void 0;
|
|
4
|
+
var FernIrError_1 = require("./FernIrError");
|
|
5
|
+
Object.defineProperty(exports, "FernIrError", { enumerable: true, get: function () { return FernIrError_1.FernIrError; } });
|
|
6
|
+
var FernIrTimeoutError_1 = require("./FernIrTimeoutError");
|
|
7
|
+
Object.defineProperty(exports, "FernIrTimeoutError", { enumerable: true, get: function () { return FernIrTimeoutError_1.FernIrTimeoutError; } });
|
package/dist/index.d.ts
ADDED
package/dist/index.js
ADDED
|
@@ -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 __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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
+
exports.FernIrTimeoutError = exports.FernIrError = exports.FernIr = void 0;
|
|
27
|
+
exports.FernIr = __importStar(require("./api"));
|
|
28
|
+
var errors_1 = require("./errors");
|
|
29
|
+
Object.defineProperty(exports, "FernIrError", { enumerable: true, get: function () { return errors_1.FernIrError; } });
|
|
30
|
+
Object.defineProperty(exports, "FernIrTimeoutError", { enumerable: true, get: function () { return errors_1.FernIrTimeoutError; } });
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export declare class FernIrError extends Error {
|
|
5
|
+
readonly statusCode?: number;
|
|
6
|
+
readonly body?: unknown;
|
|
7
|
+
constructor({ message, statusCode, body }: {
|
|
8
|
+
message?: string;
|
|
9
|
+
statusCode?: number;
|
|
10
|
+
body?: unknown;
|
|
11
|
+
});
|
|
12
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.FernIrError = void 0;
|
|
7
|
+
class FernIrError extends Error {
|
|
8
|
+
constructor({ message, statusCode, body }) {
|
|
9
|
+
super(buildMessage({ message, statusCode, body }));
|
|
10
|
+
Object.setPrototypeOf(this, FernIrError.prototype);
|
|
11
|
+
if (statusCode != null) {
|
|
12
|
+
this.statusCode = statusCode;
|
|
13
|
+
}
|
|
14
|
+
if (body !== undefined) {
|
|
15
|
+
this.body = body;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
exports.FernIrError = FernIrError;
|
|
20
|
+
function buildMessage({ message, statusCode, body, }) {
|
|
21
|
+
let lines = [];
|
|
22
|
+
if (message != null) {
|
|
23
|
+
lines.push(message);
|
|
24
|
+
}
|
|
25
|
+
if (statusCode != null) {
|
|
26
|
+
lines.push(`Status code: ${statusCode.toString()}`);
|
|
27
|
+
}
|
|
28
|
+
if (body != null) {
|
|
29
|
+
lines.push(`Body: ${JSON.stringify(body, undefined, 2)}`);
|
|
30
|
+
}
|
|
31
|
+
return lines.join("\n");
|
|
32
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.FernIrTimeoutError = void 0;
|
|
7
|
+
class FernIrTimeoutError extends Error {
|
|
8
|
+
constructor() {
|
|
9
|
+
super("Timeout");
|
|
10
|
+
Object.setPrototypeOf(this, FernIrTimeoutError.prototype);
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
exports.FernIrTimeoutError = FernIrTimeoutError;
|
package/errors/index.js
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.FernIrTimeoutError = exports.FernIrError = void 0;
|
|
4
|
+
var FernIrError_1 = require("./FernIrError");
|
|
5
|
+
Object.defineProperty(exports, "FernIrError", { enumerable: true, get: function () { return FernIrError_1.FernIrError; } });
|
|
6
|
+
var FernIrTimeoutError_1 = require("./FernIrTimeoutError");
|
|
7
|
+
Object.defineProperty(exports, "FernIrTimeoutError", { enumerable: true, get: function () { return FernIrTimeoutError_1.FernIrTimeoutError; } });
|
package/index.d.ts
ADDED
package/index.js
ADDED
|
@@ -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 __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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
+
exports.FernIrTimeoutError = exports.FernIrError = exports.FernIr = void 0;
|
|
27
|
+
exports.FernIr = __importStar(require("./api"));
|
|
28
|
+
var errors_1 = require("./errors");
|
|
29
|
+
Object.defineProperty(exports, "FernIrError", { enumerable: true, get: function () { return errors_1.FernIrError; } });
|
|
30
|
+
Object.defineProperty(exports, "FernIrTimeoutError", { enumerable: true, get: function () { return errors_1.FernIrTimeoutError; } });
|
package/jest.config.js
ADDED
package/package.json
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@fern-api/dynamic-ir-sdk",
|
|
3
|
+
"version": "53.16.0",
|
|
4
|
+
"private": false,
|
|
5
|
+
"main": "./index.js",
|
|
6
|
+
"types": "./index.d.ts",
|
|
7
|
+
"scripts": {
|
|
8
|
+
"format": "prettier . --write --ignore-unknown",
|
|
9
|
+
"build": "tsc",
|
|
10
|
+
"prepack": "cp -rv dist/. .",
|
|
11
|
+
"test": "jest"
|
|
12
|
+
},
|
|
13
|
+
"devDependencies": {
|
|
14
|
+
"jest": "29.7.0",
|
|
15
|
+
"@types/jest": "29.5.5",
|
|
16
|
+
"ts-jest": "29.1.1",
|
|
17
|
+
"jest-environment-jsdom": "29.7.0",
|
|
18
|
+
"@types/node": "17.0.33",
|
|
19
|
+
"prettier": "2.7.1",
|
|
20
|
+
"typescript": "4.6.4"
|
|
21
|
+
},
|
|
22
|
+
"browser": {
|
|
23
|
+
"fs": false,
|
|
24
|
+
"os": false,
|
|
25
|
+
"path": false
|
|
26
|
+
}
|
|
27
|
+
}
|