@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.
Files changed (414) hide show
  1. package/api/index.d.ts +1 -0
  2. package/api/index.js +17 -0
  3. package/api/resources/commons/index.d.ts +1 -0
  4. package/api/resources/commons/index.js +17 -0
  5. package/api/resources/commons/types/EndpointId.d.ts +4 -0
  6. package/api/resources/commons/types/EndpointId.js +5 -0
  7. package/api/resources/commons/types/FernFilepath.d.ts +9 -0
  8. package/api/resources/commons/types/FernFilepath.js +5 -0
  9. package/api/resources/commons/types/Name.d.ts +11 -0
  10. package/api/resources/commons/types/Name.js +5 -0
  11. package/api/resources/commons/types/NameAndWireValue.d.ts +8 -0
  12. package/api/resources/commons/types/NameAndWireValue.js +5 -0
  13. package/api/resources/commons/types/SafeAndUnsafeString.d.ts +9 -0
  14. package/api/resources/commons/types/SafeAndUnsafeString.js +5 -0
  15. package/api/resources/commons/types/TypeId.d.ts +4 -0
  16. package/api/resources/commons/types/TypeId.js +5 -0
  17. package/api/resources/commons/types/index.d.ts +6 -0
  18. package/api/resources/commons/types/index.js +22 -0
  19. package/api/resources/dynamic/index.d.ts +1 -0
  20. package/api/resources/dynamic/index.js +17 -0
  21. package/api/resources/dynamic/resources/auth/index.d.ts +1 -0
  22. package/api/resources/dynamic/resources/auth/index.js +17 -0
  23. package/api/resources/dynamic/resources/auth/types/Auth.d.ts +16 -0
  24. package/api/resources/dynamic/resources/auth/types/Auth.js +5 -0
  25. package/api/resources/dynamic/resources/auth/types/BasicAuth.d.ts +8 -0
  26. package/api/resources/dynamic/resources/auth/types/BasicAuth.js +5 -0
  27. package/api/resources/dynamic/resources/auth/types/BearerAuth.d.ts +7 -0
  28. package/api/resources/dynamic/resources/auth/types/BearerAuth.js +5 -0
  29. package/api/resources/dynamic/resources/auth/types/HeaderAuth.d.ts +7 -0
  30. package/api/resources/dynamic/resources/auth/types/HeaderAuth.js +5 -0
  31. package/api/resources/dynamic/resources/auth/types/index.d.ts +4 -0
  32. package/api/resources/dynamic/resources/auth/types/index.js +20 -0
  33. package/api/resources/dynamic/resources/declaration/index.d.ts +1 -0
  34. package/api/resources/dynamic/resources/declaration/index.js +17 -0
  35. package/api/resources/dynamic/resources/declaration/types/Declaration.d.ts +8 -0
  36. package/api/resources/dynamic/resources/declaration/types/Declaration.js +5 -0
  37. package/api/resources/dynamic/resources/declaration/types/index.d.ts +1 -0
  38. package/api/resources/dynamic/resources/declaration/types/index.js +17 -0
  39. package/api/resources/dynamic/resources/endpoints/index.d.ts +1 -0
  40. package/api/resources/dynamic/resources/endpoints/index.js +17 -0
  41. package/api/resources/dynamic/resources/endpoints/types/BodyRequest.d.ts +8 -0
  42. package/api/resources/dynamic/resources/endpoints/types/BodyRequest.js +5 -0
  43. package/api/resources/dynamic/resources/endpoints/types/Endpoint.d.ts +11 -0
  44. package/api/resources/dynamic/resources/endpoints/types/Endpoint.js +5 -0
  45. package/api/resources/dynamic/resources/endpoints/types/EndpointLocation.d.ts +11 -0
  46. package/api/resources/dynamic/resources/endpoints/types/EndpointLocation.js +5 -0
  47. package/api/resources/dynamic/resources/endpoints/types/FileUploadRequestBody.d.ts +7 -0
  48. package/api/resources/dynamic/resources/endpoints/types/FileUploadRequestBody.js +5 -0
  49. package/api/resources/dynamic/resources/endpoints/types/FileUploadRequestBodyProperty.d.ts +16 -0
  50. package/api/resources/dynamic/resources/endpoints/types/FileUploadRequestBodyProperty.js +5 -0
  51. package/api/resources/dynamic/resources/endpoints/types/InlinedRequest.d.ts +11 -0
  52. package/api/resources/dynamic/resources/endpoints/types/InlinedRequest.js +5 -0
  53. package/api/resources/dynamic/resources/endpoints/types/InlinedRequestBody.d.ts +17 -0
  54. package/api/resources/dynamic/resources/endpoints/types/InlinedRequestBody.js +5 -0
  55. package/api/resources/dynamic/resources/endpoints/types/ReferencedRequestBody.d.ts +8 -0
  56. package/api/resources/dynamic/resources/endpoints/types/ReferencedRequestBody.js +5 -0
  57. package/api/resources/dynamic/resources/endpoints/types/ReferencedRequestBodyType.d.ts +14 -0
  58. package/api/resources/dynamic/resources/endpoints/types/ReferencedRequestBodyType.js +5 -0
  59. package/api/resources/dynamic/resources/endpoints/types/Request.d.ts +16 -0
  60. package/api/resources/dynamic/resources/endpoints/types/Request.js +5 -0
  61. package/api/resources/dynamic/resources/endpoints/types/Response.d.ts +17 -0
  62. package/api/resources/dynamic/resources/endpoints/types/Response.js +5 -0
  63. package/api/resources/dynamic/resources/endpoints/types/index.d.ts +11 -0
  64. package/api/resources/dynamic/resources/endpoints/types/index.js +27 -0
  65. package/api/resources/dynamic/resources/index.d.ts +10 -0
  66. package/api/resources/dynamic/resources/index.js +39 -0
  67. package/api/resources/dynamic/resources/ir/index.d.ts +1 -0
  68. package/api/resources/dynamic/resources/ir/index.js +17 -0
  69. package/api/resources/dynamic/resources/ir/types/DynamicIntermediateRepresentation.d.ts +24 -0
  70. package/api/resources/dynamic/resources/ir/types/DynamicIntermediateRepresentation.js +5 -0
  71. package/api/resources/dynamic/resources/ir/types/index.d.ts +1 -0
  72. package/api/resources/dynamic/resources/ir/types/index.js +17 -0
  73. package/api/resources/dynamic/resources/types/index.d.ts +1 -0
  74. package/api/resources/dynamic/resources/types/index.js +17 -0
  75. package/api/resources/dynamic/resources/types/types/AliasType.d.ts +8 -0
  76. package/api/resources/dynamic/resources/types/types/AliasType.js +5 -0
  77. package/api/resources/dynamic/resources/types/types/DiscriminatedUnionType.d.ts +10 -0
  78. package/api/resources/dynamic/resources/types/types/DiscriminatedUnionType.js +5 -0
  79. package/api/resources/dynamic/resources/types/types/EnumType.d.ts +8 -0
  80. package/api/resources/dynamic/resources/types/types/EnumType.js +5 -0
  81. package/api/resources/dynamic/resources/types/types/LiteralType.d.ts +15 -0
  82. package/api/resources/dynamic/resources/types/types/LiteralType.js +5 -0
  83. package/api/resources/dynamic/resources/types/types/MapType.d.ts +8 -0
  84. package/api/resources/dynamic/resources/types/types/MapType.js +5 -0
  85. package/api/resources/dynamic/resources/types/types/NamedParameter.d.ts +8 -0
  86. package/api/resources/dynamic/resources/types/types/NamedParameter.js +5 -0
  87. package/api/resources/dynamic/resources/types/types/NamedType.d.ts +25 -0
  88. package/api/resources/dynamic/resources/types/types/NamedType.js +5 -0
  89. package/api/resources/dynamic/resources/types/types/ObjectType.d.ts +8 -0
  90. package/api/resources/dynamic/resources/types/types/ObjectType.js +5 -0
  91. package/api/resources/dynamic/resources/types/types/SingleDiscriminatedUnionType.d.ts +16 -0
  92. package/api/resources/dynamic/resources/types/types/SingleDiscriminatedUnionType.js +5 -0
  93. package/api/resources/dynamic/resources/types/types/SingleDiscriminatedUnionTypeNoProperties.d.ts +9 -0
  94. package/api/resources/dynamic/resources/types/types/SingleDiscriminatedUnionTypeNoProperties.js +5 -0
  95. package/api/resources/dynamic/resources/types/types/SingleDiscriminatedUnionTypeObject.d.ts +10 -0
  96. package/api/resources/dynamic/resources/types/types/SingleDiscriminatedUnionTypeObject.js +5 -0
  97. package/api/resources/dynamic/resources/types/types/SingleDiscriminatedUnionTypeSingleProperty.d.ts +10 -0
  98. package/api/resources/dynamic/resources/types/types/SingleDiscriminatedUnionTypeSingleProperty.js +5 -0
  99. package/api/resources/dynamic/resources/types/types/TypeReference.d.ts +37 -0
  100. package/api/resources/dynamic/resources/types/types/TypeReference.js +5 -0
  101. package/api/resources/dynamic/resources/types/types/UndiscriminatedUnionType.d.ts +9 -0
  102. package/api/resources/dynamic/resources/types/types/UndiscriminatedUnionType.js +5 -0
  103. package/api/resources/dynamic/resources/types/types/index.d.ts +14 -0
  104. package/api/resources/dynamic/resources/types/types/index.js +30 -0
  105. package/api/resources/generatorExec/index.d.ts +1 -0
  106. package/api/resources/generatorExec/index.js +17 -0
  107. package/api/resources/generatorExec/resources/config/index.d.ts +1 -0
  108. package/api/resources/generatorExec/resources/config/index.js +17 -0
  109. package/api/resources/generatorExec/resources/config/types/BasicLicense.d.ts +7 -0
  110. package/api/resources/generatorExec/resources/config/types/BasicLicense.js +5 -0
  111. package/api/resources/generatorExec/resources/config/types/CustomLicense.d.ts +6 -0
  112. package/api/resources/generatorExec/resources/config/types/CustomLicense.js +5 -0
  113. package/api/resources/generatorExec/resources/config/types/EnvironmentVariable.d.ts +4 -0
  114. package/api/resources/generatorExec/resources/config/types/EnvironmentVariable.js +5 -0
  115. package/api/resources/generatorExec/resources/config/types/GeneratorConfig.d.ts +21 -0
  116. package/api/resources/generatorExec/resources/config/types/GeneratorConfig.js +5 -0
  117. package/api/resources/generatorExec/resources/config/types/GeneratorEnvironment.d.ts +13 -0
  118. package/api/resources/generatorExec/resources/config/types/GeneratorEnvironment.js +5 -0
  119. package/api/resources/generatorExec/resources/config/types/GeneratorOutputConfig.d.ts +11 -0
  120. package/api/resources/generatorExec/resources/config/types/GeneratorOutputConfig.js +5 -0
  121. package/api/resources/generatorExec/resources/config/types/GeneratorPublishConfig.d.ts +12 -0
  122. package/api/resources/generatorExec/resources/config/types/GeneratorPublishConfig.js +5 -0
  123. package/api/resources/generatorExec/resources/config/types/GeneratorPublishTarget.d.ts +25 -0
  124. package/api/resources/generatorExec/resources/config/types/GeneratorPublishTarget.js +5 -0
  125. package/api/resources/generatorExec/resources/config/types/GeneratorRegistriesConfig.d.ts +8 -0
  126. package/api/resources/generatorExec/resources/config/types/GeneratorRegistriesConfig.js +5 -0
  127. package/api/resources/generatorExec/resources/config/types/GeneratorRegistriesConfigV2.d.ts +11 -0
  128. package/api/resources/generatorExec/resources/config/types/GeneratorRegistriesConfigV2.js +5 -0
  129. package/api/resources/generatorExec/resources/config/types/GithubOutputMode.d.ts +15 -0
  130. package/api/resources/generatorExec/resources/config/types/GithubOutputMode.js +5 -0
  131. package/api/resources/generatorExec/resources/config/types/GithubPublishInfo.d.ts +25 -0
  132. package/api/resources/generatorExec/resources/config/types/GithubPublishInfo.js +5 -0
  133. package/api/resources/generatorExec/resources/config/types/LicenseConfig.d.ts +13 -0
  134. package/api/resources/generatorExec/resources/config/types/LicenseConfig.js +5 -0
  135. package/api/resources/generatorExec/resources/config/types/LicenseId.d.ts +8 -0
  136. package/api/resources/generatorExec/resources/config/types/LicenseId.js +10 -0
  137. package/api/resources/generatorExec/resources/config/types/MavenCentralSignature.d.ts +8 -0
  138. package/api/resources/generatorExec/resources/config/types/MavenCentralSignature.js +5 -0
  139. package/api/resources/generatorExec/resources/config/types/MavenCentralSignatureGithubInfo.d.ts +9 -0
  140. package/api/resources/generatorExec/resources/config/types/MavenCentralSignatureGithubInfo.js +5 -0
  141. package/api/resources/generatorExec/resources/config/types/MavenGithubPublishInfo.d.ts +12 -0
  142. package/api/resources/generatorExec/resources/config/types/MavenGithubPublishInfo.js +5 -0
  143. package/api/resources/generatorExec/resources/config/types/MavenRegistryConfig.d.ts +11 -0
  144. package/api/resources/generatorExec/resources/config/types/MavenRegistryConfig.js +5 -0
  145. package/api/resources/generatorExec/resources/config/types/MavenRegistryConfigV2.d.ts +11 -0
  146. package/api/resources/generatorExec/resources/config/types/MavenRegistryConfigV2.js +5 -0
  147. package/api/resources/generatorExec/resources/config/types/NpmGithubPublishInfo.d.ts +10 -0
  148. package/api/resources/generatorExec/resources/config/types/NpmGithubPublishInfo.js +5 -0
  149. package/api/resources/generatorExec/resources/config/types/NpmRegistryConfig.d.ts +8 -0
  150. package/api/resources/generatorExec/resources/config/types/NpmRegistryConfig.js +5 -0
  151. package/api/resources/generatorExec/resources/config/types/NpmRegistryConfigV2.d.ts +8 -0
  152. package/api/resources/generatorExec/resources/config/types/NpmRegistryConfigV2.js +5 -0
  153. package/api/resources/generatorExec/resources/config/types/NugetGithubPublishInfo.d.ts +10 -0
  154. package/api/resources/generatorExec/resources/config/types/NugetGithubPublishInfo.js +5 -0
  155. package/api/resources/generatorExec/resources/config/types/NugetRegistryConfig.d.ts +8 -0
  156. package/api/resources/generatorExec/resources/config/types/NugetRegistryConfig.js +5 -0
  157. package/api/resources/generatorExec/resources/config/types/OutputMetadata.d.ts +8 -0
  158. package/api/resources/generatorExec/resources/config/types/OutputMetadata.js +5 -0
  159. package/api/resources/generatorExec/resources/config/types/OutputMetadataAuthor.d.ts +7 -0
  160. package/api/resources/generatorExec/resources/config/types/OutputMetadataAuthor.js +5 -0
  161. package/api/resources/generatorExec/resources/config/types/OutputMode.d.ts +16 -0
  162. package/api/resources/generatorExec/resources/config/types/OutputMode.js +5 -0
  163. package/api/resources/generatorExec/resources/config/types/PostmanConfig.d.ts +7 -0
  164. package/api/resources/generatorExec/resources/config/types/PostmanConfig.js +5 -0
  165. package/api/resources/generatorExec/resources/config/types/PostmanGithubPublishInfo.d.ts +8 -0
  166. package/api/resources/generatorExec/resources/config/types/PostmanGithubPublishInfo.js +5 -0
  167. package/api/resources/generatorExec/resources/config/types/PublishingMetadata.d.ts +12 -0
  168. package/api/resources/generatorExec/resources/config/types/PublishingMetadata.js +5 -0
  169. package/api/resources/generatorExec/resources/config/types/PypiGithubPublishInfo.d.ts +12 -0
  170. package/api/resources/generatorExec/resources/config/types/PypiGithubPublishInfo.js +5 -0
  171. package/api/resources/generatorExec/resources/config/types/PypiMetadata.d.ts +9 -0
  172. package/api/resources/generatorExec/resources/config/types/PypiMetadata.js +5 -0
  173. package/api/resources/generatorExec/resources/config/types/PypiRegistryConfig.d.ts +11 -0
  174. package/api/resources/generatorExec/resources/config/types/PypiRegistryConfig.js +5 -0
  175. package/api/resources/generatorExec/resources/config/types/RemoteGeneratorEnvironment.d.ts +8 -0
  176. package/api/resources/generatorExec/resources/config/types/RemoteGeneratorEnvironment.js +5 -0
  177. package/api/resources/generatorExec/resources/config/types/RubyGemsGithubPublishInfo.d.ts +10 -0
  178. package/api/resources/generatorExec/resources/config/types/RubyGemsGithubPublishInfo.js +5 -0
  179. package/api/resources/generatorExec/resources/config/types/RubyGemsRegistryConfig.d.ts +8 -0
  180. package/api/resources/generatorExec/resources/config/types/RubyGemsRegistryConfig.js +5 -0
  181. package/api/resources/generatorExec/resources/config/types/index.d.ts +36 -0
  182. package/api/resources/generatorExec/resources/config/types/index.js +52 -0
  183. package/api/resources/generatorExec/resources/index.d.ts +2 -0
  184. package/api/resources/generatorExec/resources/index.js +31 -0
  185. package/api/resources/http/index.d.ts +1 -0
  186. package/api/resources/http/index.js +17 -0
  187. package/api/resources/http/types/HttpMethod.d.ts +11 -0
  188. package/api/resources/http/types/HttpMethod.js +13 -0
  189. package/api/resources/http/types/index.d.ts +1 -0
  190. package/api/resources/http/types/index.js +17 -0
  191. package/api/resources/index.d.ts +8 -0
  192. package/api/resources/index.js +37 -0
  193. package/api/resources/types/index.d.ts +1 -0
  194. package/api/resources/types/index.js +17 -0
  195. package/api/resources/types/types/PrimitiveTypeV1.d.ts +22 -0
  196. package/api/resources/types/types/PrimitiveTypeV1.js +21 -0
  197. package/api/resources/types/types/index.d.ts +1 -0
  198. package/api/resources/types/types/index.js +17 -0
  199. package/dist/api/index.d.ts +1 -0
  200. package/dist/api/index.js +17 -0
  201. package/dist/api/resources/commons/index.d.ts +1 -0
  202. package/dist/api/resources/commons/index.js +17 -0
  203. package/dist/api/resources/commons/types/EndpointId.d.ts +4 -0
  204. package/dist/api/resources/commons/types/EndpointId.js +5 -0
  205. package/dist/api/resources/commons/types/FernFilepath.d.ts +9 -0
  206. package/dist/api/resources/commons/types/FernFilepath.js +5 -0
  207. package/dist/api/resources/commons/types/Name.d.ts +11 -0
  208. package/dist/api/resources/commons/types/Name.js +5 -0
  209. package/dist/api/resources/commons/types/NameAndWireValue.d.ts +8 -0
  210. package/dist/api/resources/commons/types/NameAndWireValue.js +5 -0
  211. package/dist/api/resources/commons/types/SafeAndUnsafeString.d.ts +9 -0
  212. package/dist/api/resources/commons/types/SafeAndUnsafeString.js +5 -0
  213. package/dist/api/resources/commons/types/TypeId.d.ts +4 -0
  214. package/dist/api/resources/commons/types/TypeId.js +5 -0
  215. package/dist/api/resources/commons/types/index.d.ts +6 -0
  216. package/dist/api/resources/commons/types/index.js +22 -0
  217. package/dist/api/resources/dynamic/index.d.ts +1 -0
  218. package/dist/api/resources/dynamic/index.js +17 -0
  219. package/dist/api/resources/dynamic/resources/auth/index.d.ts +1 -0
  220. package/dist/api/resources/dynamic/resources/auth/index.js +17 -0
  221. package/dist/api/resources/dynamic/resources/auth/types/Auth.d.ts +16 -0
  222. package/dist/api/resources/dynamic/resources/auth/types/Auth.js +5 -0
  223. package/dist/api/resources/dynamic/resources/auth/types/BasicAuth.d.ts +8 -0
  224. package/dist/api/resources/dynamic/resources/auth/types/BasicAuth.js +5 -0
  225. package/dist/api/resources/dynamic/resources/auth/types/BearerAuth.d.ts +7 -0
  226. package/dist/api/resources/dynamic/resources/auth/types/BearerAuth.js +5 -0
  227. package/dist/api/resources/dynamic/resources/auth/types/HeaderAuth.d.ts +7 -0
  228. package/dist/api/resources/dynamic/resources/auth/types/HeaderAuth.js +5 -0
  229. package/dist/api/resources/dynamic/resources/auth/types/index.d.ts +4 -0
  230. package/dist/api/resources/dynamic/resources/auth/types/index.js +20 -0
  231. package/dist/api/resources/dynamic/resources/declaration/index.d.ts +1 -0
  232. package/dist/api/resources/dynamic/resources/declaration/index.js +17 -0
  233. package/dist/api/resources/dynamic/resources/declaration/types/Declaration.d.ts +8 -0
  234. package/dist/api/resources/dynamic/resources/declaration/types/Declaration.js +5 -0
  235. package/dist/api/resources/dynamic/resources/declaration/types/index.d.ts +1 -0
  236. package/dist/api/resources/dynamic/resources/declaration/types/index.js +17 -0
  237. package/dist/api/resources/dynamic/resources/endpoints/index.d.ts +1 -0
  238. package/dist/api/resources/dynamic/resources/endpoints/index.js +17 -0
  239. package/dist/api/resources/dynamic/resources/endpoints/types/BodyRequest.d.ts +8 -0
  240. package/dist/api/resources/dynamic/resources/endpoints/types/BodyRequest.js +5 -0
  241. package/dist/api/resources/dynamic/resources/endpoints/types/Endpoint.d.ts +11 -0
  242. package/dist/api/resources/dynamic/resources/endpoints/types/Endpoint.js +5 -0
  243. package/dist/api/resources/dynamic/resources/endpoints/types/EndpointLocation.d.ts +11 -0
  244. package/dist/api/resources/dynamic/resources/endpoints/types/EndpointLocation.js +5 -0
  245. package/dist/api/resources/dynamic/resources/endpoints/types/FileUploadRequestBody.d.ts +7 -0
  246. package/dist/api/resources/dynamic/resources/endpoints/types/FileUploadRequestBody.js +5 -0
  247. package/dist/api/resources/dynamic/resources/endpoints/types/FileUploadRequestBodyProperty.d.ts +16 -0
  248. package/dist/api/resources/dynamic/resources/endpoints/types/FileUploadRequestBodyProperty.js +5 -0
  249. package/dist/api/resources/dynamic/resources/endpoints/types/InlinedRequest.d.ts +11 -0
  250. package/dist/api/resources/dynamic/resources/endpoints/types/InlinedRequest.js +5 -0
  251. package/dist/api/resources/dynamic/resources/endpoints/types/InlinedRequestBody.d.ts +17 -0
  252. package/dist/api/resources/dynamic/resources/endpoints/types/InlinedRequestBody.js +5 -0
  253. package/dist/api/resources/dynamic/resources/endpoints/types/ReferencedRequestBody.d.ts +8 -0
  254. package/dist/api/resources/dynamic/resources/endpoints/types/ReferencedRequestBody.js +5 -0
  255. package/dist/api/resources/dynamic/resources/endpoints/types/ReferencedRequestBodyType.d.ts +14 -0
  256. package/dist/api/resources/dynamic/resources/endpoints/types/ReferencedRequestBodyType.js +5 -0
  257. package/dist/api/resources/dynamic/resources/endpoints/types/Request.d.ts +16 -0
  258. package/dist/api/resources/dynamic/resources/endpoints/types/Request.js +5 -0
  259. package/dist/api/resources/dynamic/resources/endpoints/types/Response.d.ts +17 -0
  260. package/dist/api/resources/dynamic/resources/endpoints/types/Response.js +5 -0
  261. package/dist/api/resources/dynamic/resources/endpoints/types/index.d.ts +11 -0
  262. package/dist/api/resources/dynamic/resources/endpoints/types/index.js +27 -0
  263. package/dist/api/resources/dynamic/resources/index.d.ts +10 -0
  264. package/dist/api/resources/dynamic/resources/index.js +39 -0
  265. package/dist/api/resources/dynamic/resources/ir/index.d.ts +1 -0
  266. package/dist/api/resources/dynamic/resources/ir/index.js +17 -0
  267. package/dist/api/resources/dynamic/resources/ir/types/DynamicIntermediateRepresentation.d.ts +24 -0
  268. package/dist/api/resources/dynamic/resources/ir/types/DynamicIntermediateRepresentation.js +5 -0
  269. package/dist/api/resources/dynamic/resources/ir/types/index.d.ts +1 -0
  270. package/dist/api/resources/dynamic/resources/ir/types/index.js +17 -0
  271. package/dist/api/resources/dynamic/resources/types/index.d.ts +1 -0
  272. package/dist/api/resources/dynamic/resources/types/index.js +17 -0
  273. package/dist/api/resources/dynamic/resources/types/types/AliasType.d.ts +8 -0
  274. package/dist/api/resources/dynamic/resources/types/types/AliasType.js +5 -0
  275. package/dist/api/resources/dynamic/resources/types/types/DiscriminatedUnionType.d.ts +10 -0
  276. package/dist/api/resources/dynamic/resources/types/types/DiscriminatedUnionType.js +5 -0
  277. package/dist/api/resources/dynamic/resources/types/types/EnumType.d.ts +8 -0
  278. package/dist/api/resources/dynamic/resources/types/types/EnumType.js +5 -0
  279. package/dist/api/resources/dynamic/resources/types/types/LiteralType.d.ts +15 -0
  280. package/dist/api/resources/dynamic/resources/types/types/LiteralType.js +5 -0
  281. package/dist/api/resources/dynamic/resources/types/types/MapType.d.ts +8 -0
  282. package/dist/api/resources/dynamic/resources/types/types/MapType.js +5 -0
  283. package/dist/api/resources/dynamic/resources/types/types/NamedParameter.d.ts +8 -0
  284. package/dist/api/resources/dynamic/resources/types/types/NamedParameter.js +5 -0
  285. package/dist/api/resources/dynamic/resources/types/types/NamedType.d.ts +25 -0
  286. package/dist/api/resources/dynamic/resources/types/types/NamedType.js +5 -0
  287. package/dist/api/resources/dynamic/resources/types/types/ObjectType.d.ts +8 -0
  288. package/dist/api/resources/dynamic/resources/types/types/ObjectType.js +5 -0
  289. package/dist/api/resources/dynamic/resources/types/types/SingleDiscriminatedUnionType.d.ts +16 -0
  290. package/dist/api/resources/dynamic/resources/types/types/SingleDiscriminatedUnionType.js +5 -0
  291. package/dist/api/resources/dynamic/resources/types/types/SingleDiscriminatedUnionTypeNoProperties.d.ts +9 -0
  292. package/dist/api/resources/dynamic/resources/types/types/SingleDiscriminatedUnionTypeNoProperties.js +5 -0
  293. package/dist/api/resources/dynamic/resources/types/types/SingleDiscriminatedUnionTypeObject.d.ts +10 -0
  294. package/dist/api/resources/dynamic/resources/types/types/SingleDiscriminatedUnionTypeObject.js +5 -0
  295. package/dist/api/resources/dynamic/resources/types/types/SingleDiscriminatedUnionTypeSingleProperty.d.ts +10 -0
  296. package/dist/api/resources/dynamic/resources/types/types/SingleDiscriminatedUnionTypeSingleProperty.js +5 -0
  297. package/dist/api/resources/dynamic/resources/types/types/TypeReference.d.ts +37 -0
  298. package/dist/api/resources/dynamic/resources/types/types/TypeReference.js +5 -0
  299. package/dist/api/resources/dynamic/resources/types/types/UndiscriminatedUnionType.d.ts +9 -0
  300. package/dist/api/resources/dynamic/resources/types/types/UndiscriminatedUnionType.js +5 -0
  301. package/dist/api/resources/dynamic/resources/types/types/index.d.ts +14 -0
  302. package/dist/api/resources/dynamic/resources/types/types/index.js +30 -0
  303. package/dist/api/resources/generatorExec/index.d.ts +1 -0
  304. package/dist/api/resources/generatorExec/index.js +17 -0
  305. package/dist/api/resources/generatorExec/resources/config/index.d.ts +1 -0
  306. package/dist/api/resources/generatorExec/resources/config/index.js +17 -0
  307. package/dist/api/resources/generatorExec/resources/config/types/BasicLicense.d.ts +7 -0
  308. package/dist/api/resources/generatorExec/resources/config/types/BasicLicense.js +5 -0
  309. package/dist/api/resources/generatorExec/resources/config/types/CustomLicense.d.ts +6 -0
  310. package/dist/api/resources/generatorExec/resources/config/types/CustomLicense.js +5 -0
  311. package/dist/api/resources/generatorExec/resources/config/types/EnvironmentVariable.d.ts +4 -0
  312. package/dist/api/resources/generatorExec/resources/config/types/EnvironmentVariable.js +5 -0
  313. package/dist/api/resources/generatorExec/resources/config/types/GeneratorConfig.d.ts +21 -0
  314. package/dist/api/resources/generatorExec/resources/config/types/GeneratorConfig.js +5 -0
  315. package/dist/api/resources/generatorExec/resources/config/types/GeneratorEnvironment.d.ts +13 -0
  316. package/dist/api/resources/generatorExec/resources/config/types/GeneratorEnvironment.js +5 -0
  317. package/dist/api/resources/generatorExec/resources/config/types/GeneratorOutputConfig.d.ts +11 -0
  318. package/dist/api/resources/generatorExec/resources/config/types/GeneratorOutputConfig.js +5 -0
  319. package/dist/api/resources/generatorExec/resources/config/types/GeneratorPublishConfig.d.ts +12 -0
  320. package/dist/api/resources/generatorExec/resources/config/types/GeneratorPublishConfig.js +5 -0
  321. package/dist/api/resources/generatorExec/resources/config/types/GeneratorPublishTarget.d.ts +25 -0
  322. package/dist/api/resources/generatorExec/resources/config/types/GeneratorPublishTarget.js +5 -0
  323. package/dist/api/resources/generatorExec/resources/config/types/GeneratorRegistriesConfig.d.ts +8 -0
  324. package/dist/api/resources/generatorExec/resources/config/types/GeneratorRegistriesConfig.js +5 -0
  325. package/dist/api/resources/generatorExec/resources/config/types/GeneratorRegistriesConfigV2.d.ts +11 -0
  326. package/dist/api/resources/generatorExec/resources/config/types/GeneratorRegistriesConfigV2.js +5 -0
  327. package/dist/api/resources/generatorExec/resources/config/types/GithubOutputMode.d.ts +15 -0
  328. package/dist/api/resources/generatorExec/resources/config/types/GithubOutputMode.js +5 -0
  329. package/dist/api/resources/generatorExec/resources/config/types/GithubPublishInfo.d.ts +25 -0
  330. package/dist/api/resources/generatorExec/resources/config/types/GithubPublishInfo.js +5 -0
  331. package/dist/api/resources/generatorExec/resources/config/types/LicenseConfig.d.ts +13 -0
  332. package/dist/api/resources/generatorExec/resources/config/types/LicenseConfig.js +5 -0
  333. package/dist/api/resources/generatorExec/resources/config/types/LicenseId.d.ts +8 -0
  334. package/dist/api/resources/generatorExec/resources/config/types/LicenseId.js +10 -0
  335. package/dist/api/resources/generatorExec/resources/config/types/MavenCentralSignature.d.ts +8 -0
  336. package/dist/api/resources/generatorExec/resources/config/types/MavenCentralSignature.js +5 -0
  337. package/dist/api/resources/generatorExec/resources/config/types/MavenCentralSignatureGithubInfo.d.ts +9 -0
  338. package/dist/api/resources/generatorExec/resources/config/types/MavenCentralSignatureGithubInfo.js +5 -0
  339. package/dist/api/resources/generatorExec/resources/config/types/MavenGithubPublishInfo.d.ts +12 -0
  340. package/dist/api/resources/generatorExec/resources/config/types/MavenGithubPublishInfo.js +5 -0
  341. package/dist/api/resources/generatorExec/resources/config/types/MavenRegistryConfig.d.ts +11 -0
  342. package/dist/api/resources/generatorExec/resources/config/types/MavenRegistryConfig.js +5 -0
  343. package/dist/api/resources/generatorExec/resources/config/types/MavenRegistryConfigV2.d.ts +11 -0
  344. package/dist/api/resources/generatorExec/resources/config/types/MavenRegistryConfigV2.js +5 -0
  345. package/dist/api/resources/generatorExec/resources/config/types/NpmGithubPublishInfo.d.ts +10 -0
  346. package/dist/api/resources/generatorExec/resources/config/types/NpmGithubPublishInfo.js +5 -0
  347. package/dist/api/resources/generatorExec/resources/config/types/NpmRegistryConfig.d.ts +8 -0
  348. package/dist/api/resources/generatorExec/resources/config/types/NpmRegistryConfig.js +5 -0
  349. package/dist/api/resources/generatorExec/resources/config/types/NpmRegistryConfigV2.d.ts +8 -0
  350. package/dist/api/resources/generatorExec/resources/config/types/NpmRegistryConfigV2.js +5 -0
  351. package/dist/api/resources/generatorExec/resources/config/types/NugetGithubPublishInfo.d.ts +10 -0
  352. package/dist/api/resources/generatorExec/resources/config/types/NugetGithubPublishInfo.js +5 -0
  353. package/dist/api/resources/generatorExec/resources/config/types/NugetRegistryConfig.d.ts +8 -0
  354. package/dist/api/resources/generatorExec/resources/config/types/NugetRegistryConfig.js +5 -0
  355. package/dist/api/resources/generatorExec/resources/config/types/OutputMetadata.d.ts +8 -0
  356. package/dist/api/resources/generatorExec/resources/config/types/OutputMetadata.js +5 -0
  357. package/dist/api/resources/generatorExec/resources/config/types/OutputMetadataAuthor.d.ts +7 -0
  358. package/dist/api/resources/generatorExec/resources/config/types/OutputMetadataAuthor.js +5 -0
  359. package/dist/api/resources/generatorExec/resources/config/types/OutputMode.d.ts +16 -0
  360. package/dist/api/resources/generatorExec/resources/config/types/OutputMode.js +5 -0
  361. package/dist/api/resources/generatorExec/resources/config/types/PostmanConfig.d.ts +7 -0
  362. package/dist/api/resources/generatorExec/resources/config/types/PostmanConfig.js +5 -0
  363. package/dist/api/resources/generatorExec/resources/config/types/PostmanGithubPublishInfo.d.ts +8 -0
  364. package/dist/api/resources/generatorExec/resources/config/types/PostmanGithubPublishInfo.js +5 -0
  365. package/dist/api/resources/generatorExec/resources/config/types/PublishingMetadata.d.ts +12 -0
  366. package/dist/api/resources/generatorExec/resources/config/types/PublishingMetadata.js +5 -0
  367. package/dist/api/resources/generatorExec/resources/config/types/PypiGithubPublishInfo.d.ts +12 -0
  368. package/dist/api/resources/generatorExec/resources/config/types/PypiGithubPublishInfo.js +5 -0
  369. package/dist/api/resources/generatorExec/resources/config/types/PypiMetadata.d.ts +9 -0
  370. package/dist/api/resources/generatorExec/resources/config/types/PypiMetadata.js +5 -0
  371. package/dist/api/resources/generatorExec/resources/config/types/PypiRegistryConfig.d.ts +11 -0
  372. package/dist/api/resources/generatorExec/resources/config/types/PypiRegistryConfig.js +5 -0
  373. package/dist/api/resources/generatorExec/resources/config/types/RemoteGeneratorEnvironment.d.ts +8 -0
  374. package/dist/api/resources/generatorExec/resources/config/types/RemoteGeneratorEnvironment.js +5 -0
  375. package/dist/api/resources/generatorExec/resources/config/types/RubyGemsGithubPublishInfo.d.ts +10 -0
  376. package/dist/api/resources/generatorExec/resources/config/types/RubyGemsGithubPublishInfo.js +5 -0
  377. package/dist/api/resources/generatorExec/resources/config/types/RubyGemsRegistryConfig.d.ts +8 -0
  378. package/dist/api/resources/generatorExec/resources/config/types/RubyGemsRegistryConfig.js +5 -0
  379. package/dist/api/resources/generatorExec/resources/config/types/index.d.ts +36 -0
  380. package/dist/api/resources/generatorExec/resources/config/types/index.js +52 -0
  381. package/dist/api/resources/generatorExec/resources/index.d.ts +2 -0
  382. package/dist/api/resources/generatorExec/resources/index.js +31 -0
  383. package/dist/api/resources/http/index.d.ts +1 -0
  384. package/dist/api/resources/http/index.js +17 -0
  385. package/dist/api/resources/http/types/HttpMethod.d.ts +11 -0
  386. package/dist/api/resources/http/types/HttpMethod.js +13 -0
  387. package/dist/api/resources/http/types/index.d.ts +1 -0
  388. package/dist/api/resources/http/types/index.js +17 -0
  389. package/dist/api/resources/index.d.ts +8 -0
  390. package/dist/api/resources/index.js +37 -0
  391. package/dist/api/resources/types/index.d.ts +1 -0
  392. package/dist/api/resources/types/index.js +17 -0
  393. package/dist/api/resources/types/types/PrimitiveTypeV1.d.ts +22 -0
  394. package/dist/api/resources/types/types/PrimitiveTypeV1.js +21 -0
  395. package/dist/api/resources/types/types/index.d.ts +1 -0
  396. package/dist/api/resources/types/types/index.js +17 -0
  397. package/dist/errors/FernIrError.d.ts +12 -0
  398. package/dist/errors/FernIrError.js +32 -0
  399. package/dist/errors/FernIrTimeoutError.d.ts +6 -0
  400. package/dist/errors/FernIrTimeoutError.js +13 -0
  401. package/dist/errors/index.d.ts +2 -0
  402. package/dist/errors/index.js +7 -0
  403. package/dist/index.d.ts +2 -0
  404. package/dist/index.js +30 -0
  405. package/errors/FernIrError.d.ts +12 -0
  406. package/errors/FernIrError.js +32 -0
  407. package/errors/FernIrTimeoutError.d.ts +6 -0
  408. package/errors/FernIrTimeoutError.js +13 -0
  409. package/errors/index.d.ts +2 -0
  410. package/errors/index.js +7 -0
  411. package/index.d.ts +2 -0
  412. package/index.js +30 -0
  413. package/jest.config.js +5 -0
  414. 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,6 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export declare class FernIrTimeoutError extends Error {
5
+ constructor();
6
+ }
@@ -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,2 @@
1
+ export { FernIrError } from "./FernIrError";
2
+ export { FernIrTimeoutError } from "./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; } });
@@ -0,0 +1,2 @@
1
+ export * as FernIr from "./api";
2
+ export { FernIrError, FernIrTimeoutError } from "./errors";
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,6 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export declare class FernIrTimeoutError extends Error {
5
+ constructor();
6
+ }
@@ -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,2 @@
1
+ export { FernIrError } from "./FernIrError";
2
+ export { FernIrTimeoutError } from "./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/index.d.ts ADDED
@@ -0,0 +1,2 @@
1
+ export * as FernIr from "./api";
2
+ export { FernIrError, FernIrTimeoutError } from "./errors";
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
@@ -0,0 +1,5 @@
1
+ /** @type {import('jest').Config} */
2
+ module.exports = {
3
+ preset: "ts-jest",
4
+ testEnvironment: "node",
5
+ };
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
+ }