@fern-api/venus-api-sdk 3.0.0 → 4.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (285) hide show
  1. package/README.md +12 -12
  2. package/dist/cjs/BaseClient.d.ts +8 -2
  3. package/dist/cjs/BaseClient.js +14 -2
  4. package/dist/cjs/Client.d.ts +10 -10
  5. package/dist/cjs/Client.js +9 -9
  6. package/dist/cjs/api/client/healthHealthGet.d.ts +5 -5
  7. package/dist/cjs/api/client/healthHealthGet.js +2 -2
  8. package/dist/cjs/api/client/metricsMetricsGet.d.ts +5 -5
  9. package/dist/cjs/api/client/metricsMetricsGet.js +2 -2
  10. package/dist/cjs/api/resources/apiKeys/client/Client.d.ts +11 -11
  11. package/dist/cjs/api/resources/apiKeys/client/Client.js +16 -16
  12. package/dist/cjs/api/resources/apiKeys/client/create.d.ts +8 -8
  13. package/dist/cjs/api/resources/apiKeys/client/create.js +3 -3
  14. package/dist/cjs/api/resources/apiKeys/client/getTokenMetadata.d.ts +8 -8
  15. package/dist/cjs/api/resources/apiKeys/client/getTokenMetadata.js +3 -3
  16. package/dist/cjs/api/resources/apiKeys/client/getTokensForOrganization.d.ts +8 -8
  17. package/dist/cjs/api/resources/apiKeys/client/getTokensForOrganization.js +3 -3
  18. package/dist/cjs/api/resources/apiKeys/client/revokeToken.d.ts +8 -8
  19. package/dist/cjs/api/resources/apiKeys/client/revokeToken.js +3 -3
  20. package/dist/cjs/api/resources/apiKeys/client/revokeTokenById.d.ts +8 -8
  21. package/dist/cjs/api/resources/apiKeys/client/revokeTokenById.js +3 -3
  22. package/dist/cjs/api/resources/auth/client/Client.d.ts +7 -7
  23. package/dist/cjs/api/resources/auth/client/Client.js +10 -10
  24. package/dist/cjs/api/resources/auth/client/getAutopilotToken.d.ts +8 -8
  25. package/dist/cjs/api/resources/auth/client/getAutopilotToken.js +3 -3
  26. package/dist/cjs/api/resources/auth/client/getJwt.d.ts +8 -8
  27. package/dist/cjs/api/resources/auth/client/getJwt.js +3 -3
  28. package/dist/cjs/api/resources/auth/client/getOrgForGithubOwner.d.ts +8 -8
  29. package/dist/cjs/api/resources/auth/client/getOrgForGithubOwner.js +3 -3
  30. package/dist/cjs/api/resources/organization/client/Client.d.ts +26 -26
  31. package/dist/cjs/api/resources/organization/client/Client.js +42 -39
  32. package/dist/cjs/api/resources/organization/client/addUser.d.ts +8 -8
  33. package/dist/cjs/api/resources/organization/client/addUser.js +3 -3
  34. package/dist/cjs/api/resources/organization/client/create.d.ts +8 -8
  35. package/dist/cjs/api/resources/organization/client/create.js +3 -3
  36. package/dist/cjs/api/resources/organization/client/delete.d.ts +8 -8
  37. package/dist/cjs/api/resources/organization/client/delete.js +3 -3
  38. package/dist/cjs/api/resources/organization/client/get.d.ts +8 -8
  39. package/dist/cjs/api/resources/organization/client/get.js +3 -3
  40. package/dist/cjs/api/resources/organization/client/getMyOrganizationFromScopedToken.d.ts +8 -8
  41. package/dist/cjs/api/resources/organization/client/getMyOrganizationFromScopedToken.js +3 -3
  42. package/dist/cjs/api/resources/organization/client/getOrgIdsByPostmanTeamId.d.ts +8 -8
  43. package/dist/cjs/api/resources/organization/client/getOrgIdsByPostmanTeamId.js +3 -3
  44. package/dist/cjs/api/resources/organization/client/getOrgIdsFromToken.d.ts +5 -5
  45. package/dist/cjs/api/resources/organization/client/getOrgIdsFromToken.js +2 -2
  46. package/dist/cjs/api/resources/organization/client/getPostmanTeamIdByOrgId.d.ts +8 -8
  47. package/dist/cjs/api/resources/organization/client/getPostmanTeamIdByOrgId.js +3 -3
  48. package/dist/cjs/api/resources/organization/client/inviteUser.d.ts +8 -8
  49. package/dist/cjs/api/resources/organization/client/inviteUser.js +3 -3
  50. package/dist/cjs/api/resources/organization/client/isMember.d.ts +8 -8
  51. package/dist/cjs/api/resources/organization/client/isMember.js +3 -3
  52. package/dist/cjs/api/resources/organization/client/removeUser.d.ts +8 -8
  53. package/dist/cjs/api/resources/organization/client/removeUser.js +3 -3
  54. package/dist/cjs/api/resources/organization/client/update.d.ts +8 -8
  55. package/dist/cjs/api/resources/organization/client/update.js +3 -3
  56. package/dist/cjs/api/resources/registry/client/Client.d.ts +7 -7
  57. package/dist/cjs/api/resources/registry/client/Client.js +10 -10
  58. package/dist/cjs/api/resources/registry/client/generateRegistryTokens.d.ts +8 -8
  59. package/dist/cjs/api/resources/registry/client/generateRegistryTokens.js +3 -3
  60. package/dist/cjs/api/resources/registry/client/hasRegistryPermission.d.ts +8 -8
  61. package/dist/cjs/api/resources/registry/client/hasRegistryPermission.js +3 -3
  62. package/dist/cjs/api/resources/registry/client/requests/CheckRegistryPermissionRequest.d.ts +2 -2
  63. package/dist/cjs/api/resources/registry/client/revokeToken.d.ts +8 -8
  64. package/dist/cjs/api/resources/registry/client/revokeToken.js +3 -3
  65. package/dist/cjs/api/resources/user/client/Client.d.ts +6 -6
  66. package/dist/cjs/api/resources/user/client/Client.js +8 -8
  67. package/dist/cjs/api/resources/user/client/getMyOrganizations.d.ts +8 -8
  68. package/dist/cjs/api/resources/user/client/getMyOrganizations.js +3 -3
  69. package/dist/cjs/api/resources/user/client/getMyself.d.ts +5 -5
  70. package/dist/cjs/api/resources/user/client/getMyself.js +2 -2
  71. package/dist/cjs/api/resources/user/client/linkAccounts.d.ts +8 -8
  72. package/dist/cjs/api/resources/user/client/linkAccounts.js +3 -3
  73. package/dist/cjs/api/types/HttpValidationError.d.ts +2 -2
  74. package/dist/cjs/api/types/Organization.d.ts +2 -2
  75. package/dist/cjs/api/types/RegistryToken.d.ts +5 -5
  76. package/dist/cjs/api/types/RegistryTokens.d.ts +4 -4
  77. package/dist/cjs/api/types/TokenMetadata.d.ts +2 -2
  78. package/dist/cjs/api/types/TokenStatus.d.ts +5 -5
  79. package/dist/cjs/api/types/ValidationError.d.ts +2 -2
  80. package/dist/cjs/auth/BearerAuthProvider.d.ts +20 -0
  81. package/dist/cjs/auth/BearerAuthProvider.js +76 -0
  82. package/dist/cjs/auth/index.d.ts +1 -0
  83. package/dist/cjs/auth/index.js +5 -0
  84. package/dist/cjs/core/auth/AuthProvider.d.ts +7 -0
  85. package/dist/cjs/core/auth/AuthProvider.js +2 -0
  86. package/dist/cjs/core/auth/AuthRequest.d.ts +9 -0
  87. package/dist/cjs/core/auth/AuthRequest.js +2 -0
  88. package/dist/cjs/core/auth/BasicAuth.d.ts +8 -0
  89. package/dist/cjs/core/auth/BasicAuth.js +27 -0
  90. package/dist/cjs/core/auth/BearerToken.d.ts +7 -0
  91. package/dist/cjs/core/auth/BearerToken.js +16 -0
  92. package/dist/cjs/core/auth/NoOpAuthProvider.d.ts +5 -0
  93. package/dist/cjs/core/auth/NoOpAuthProvider.js +9 -0
  94. package/dist/cjs/core/auth/index.d.ts +5 -0
  95. package/dist/cjs/core/auth/index.js +9 -0
  96. package/dist/cjs/core/base64.d.ts +2 -0
  97. package/dist/cjs/core/base64.js +26 -0
  98. package/dist/cjs/core/index.d.ts +2 -0
  99. package/dist/cjs/core/index.js +2 -0
  100. package/dist/cjs/index.d.ts +2 -2
  101. package/dist/cjs/index.js +3 -3
  102. package/dist/cjs/serialization/resources/apiKeys/client/getTokensForOrganization.d.ts +2 -2
  103. package/dist/cjs/serialization/resources/apiKeys/client/requests/CreateApiKeyRequest.d.ts +2 -2
  104. package/dist/cjs/serialization/resources/apiKeys/client/requests/GetTokenMetadataRequest.d.ts +2 -2
  105. package/dist/cjs/serialization/resources/apiKeys/client/requests/RevokeApiKeyRequest.d.ts +2 -2
  106. package/dist/cjs/serialization/resources/auth/client/requests/GetAutopilotTokenRequest.d.ts +2 -2
  107. package/dist/cjs/serialization/resources/auth/client/requests/GetJwtRequest.d.ts +2 -2
  108. package/dist/cjs/serialization/resources/organization/client/requests/AddUserToOrgRequest.d.ts +2 -2
  109. package/dist/cjs/serialization/resources/organization/client/requests/CreateOrganizationRequest.d.ts +2 -2
  110. package/dist/cjs/serialization/resources/organization/client/requests/InviteUserToOrgRequest.d.ts +2 -2
  111. package/dist/cjs/serialization/resources/organization/client/requests/RemoveUserFromOrgRequest.d.ts +2 -2
  112. package/dist/cjs/serialization/resources/organization/client/requests/UpdateOrganizationRequest.d.ts +2 -2
  113. package/dist/cjs/serialization/resources/registry/client/requests/CheckRegistryPermissionRequest.d.ts +2 -2
  114. package/dist/cjs/serialization/resources/registry/client/requests/GenerateRegistryTokensRequest.d.ts +2 -2
  115. package/dist/cjs/serialization/resources/registry/client/requests/RevokeTokenRequest.d.ts +2 -2
  116. package/dist/cjs/serialization/resources/user/client/requests/LinkAccountsRequest.d.ts +2 -2
  117. package/dist/cjs/serialization/types/Active.d.ts +2 -2
  118. package/dist/cjs/serialization/types/CreateOrganizationResponse.d.ts +2 -2
  119. package/dist/cjs/serialization/types/CreateTokenResponse.d.ts +2 -2
  120. package/dist/cjs/serialization/types/Expired.d.ts +2 -2
  121. package/dist/cjs/serialization/types/HttpValidationError.d.ts +2 -2
  122. package/dist/cjs/serialization/types/JwtResponse.d.ts +2 -2
  123. package/dist/cjs/serialization/types/LightweightUser.d.ts +2 -2
  124. package/dist/cjs/serialization/types/LinkAccountsResponse.d.ts +2 -2
  125. package/dist/cjs/serialization/types/Maven.d.ts +2 -2
  126. package/dist/cjs/serialization/types/MavenRegistryToken.d.ts +2 -2
  127. package/dist/cjs/serialization/types/Npm.d.ts +2 -2
  128. package/dist/cjs/serialization/types/NpmRegistryToken.d.ts +2 -2
  129. package/dist/cjs/serialization/types/Organization.d.ts +2 -2
  130. package/dist/cjs/serialization/types/OrganizationsPage.d.ts +2 -2
  131. package/dist/cjs/serialization/types/Pypi.d.ts +2 -2
  132. package/dist/cjs/serialization/types/PypiRegistryToken.d.ts +2 -2
  133. package/dist/cjs/serialization/types/RegistryToken.d.ts +2 -2
  134. package/dist/cjs/serialization/types/RegistryTokens.d.ts +2 -2
  135. package/dist/cjs/serialization/types/Revoked.d.ts +2 -2
  136. package/dist/cjs/serialization/types/TokenMetadata.d.ts +2 -2
  137. package/dist/cjs/serialization/types/TokenStatus.d.ts +2 -2
  138. package/dist/cjs/serialization/types/User.d.ts +2 -2
  139. package/dist/cjs/serialization/types/ValidationError.d.ts +2 -2
  140. package/dist/cjs/serialization/types/ValidationErrorLocItem.d.ts +2 -2
  141. package/dist/cjs/version.d.ts +1 -1
  142. package/dist/cjs/version.js +1 -1
  143. package/dist/esm/BaseClient.d.mts +8 -2
  144. package/dist/esm/BaseClient.mjs +13 -2
  145. package/dist/esm/Client.d.mts +10 -10
  146. package/dist/esm/Client.mjs +8 -8
  147. package/dist/esm/api/client/healthHealthGet.d.mts +5 -5
  148. package/dist/esm/api/client/healthHealthGet.mjs +2 -2
  149. package/dist/esm/api/client/metricsMetricsGet.d.mts +5 -5
  150. package/dist/esm/api/client/metricsMetricsGet.mjs +2 -2
  151. package/dist/esm/api/resources/apiKeys/client/Client.d.mts +11 -11
  152. package/dist/esm/api/resources/apiKeys/client/Client.mjs +16 -16
  153. package/dist/esm/api/resources/apiKeys/client/create.d.mts +8 -8
  154. package/dist/esm/api/resources/apiKeys/client/create.mjs +3 -3
  155. package/dist/esm/api/resources/apiKeys/client/getTokenMetadata.d.mts +8 -8
  156. package/dist/esm/api/resources/apiKeys/client/getTokenMetadata.mjs +3 -3
  157. package/dist/esm/api/resources/apiKeys/client/getTokensForOrganization.d.mts +8 -8
  158. package/dist/esm/api/resources/apiKeys/client/getTokensForOrganization.mjs +3 -3
  159. package/dist/esm/api/resources/apiKeys/client/revokeToken.d.mts +8 -8
  160. package/dist/esm/api/resources/apiKeys/client/revokeToken.mjs +3 -3
  161. package/dist/esm/api/resources/apiKeys/client/revokeTokenById.d.mts +8 -8
  162. package/dist/esm/api/resources/apiKeys/client/revokeTokenById.mjs +3 -3
  163. package/dist/esm/api/resources/auth/client/Client.d.mts +7 -7
  164. package/dist/esm/api/resources/auth/client/Client.mjs +10 -10
  165. package/dist/esm/api/resources/auth/client/getAutopilotToken.d.mts +8 -8
  166. package/dist/esm/api/resources/auth/client/getAutopilotToken.mjs +3 -3
  167. package/dist/esm/api/resources/auth/client/getJwt.d.mts +8 -8
  168. package/dist/esm/api/resources/auth/client/getJwt.mjs +3 -3
  169. package/dist/esm/api/resources/auth/client/getOrgForGithubOwner.d.mts +8 -8
  170. package/dist/esm/api/resources/auth/client/getOrgForGithubOwner.mjs +3 -3
  171. package/dist/esm/api/resources/organization/client/Client.d.mts +26 -26
  172. package/dist/esm/api/resources/organization/client/Client.mjs +43 -40
  173. package/dist/esm/api/resources/organization/client/addUser.d.mts +8 -8
  174. package/dist/esm/api/resources/organization/client/addUser.mjs +3 -3
  175. package/dist/esm/api/resources/organization/client/create.d.mts +8 -8
  176. package/dist/esm/api/resources/organization/client/create.mjs +3 -3
  177. package/dist/esm/api/resources/organization/client/delete.d.mts +8 -8
  178. package/dist/esm/api/resources/organization/client/delete.mjs +3 -3
  179. package/dist/esm/api/resources/organization/client/get.d.mts +8 -8
  180. package/dist/esm/api/resources/organization/client/get.mjs +3 -3
  181. package/dist/esm/api/resources/organization/client/getMyOrganizationFromScopedToken.d.mts +8 -8
  182. package/dist/esm/api/resources/organization/client/getMyOrganizationFromScopedToken.mjs +3 -3
  183. package/dist/esm/api/resources/organization/client/getOrgIdsByPostmanTeamId.d.mts +8 -8
  184. package/dist/esm/api/resources/organization/client/getOrgIdsByPostmanTeamId.mjs +3 -3
  185. package/dist/esm/api/resources/organization/client/getOrgIdsFromToken.d.mts +5 -5
  186. package/dist/esm/api/resources/organization/client/getOrgIdsFromToken.mjs +2 -2
  187. package/dist/esm/api/resources/organization/client/getPostmanTeamIdByOrgId.d.mts +8 -8
  188. package/dist/esm/api/resources/organization/client/getPostmanTeamIdByOrgId.mjs +3 -3
  189. package/dist/esm/api/resources/organization/client/inviteUser.d.mts +8 -8
  190. package/dist/esm/api/resources/organization/client/inviteUser.mjs +3 -3
  191. package/dist/esm/api/resources/organization/client/isMember.d.mts +8 -8
  192. package/dist/esm/api/resources/organization/client/isMember.mjs +3 -3
  193. package/dist/esm/api/resources/organization/client/removeUser.d.mts +8 -8
  194. package/dist/esm/api/resources/organization/client/removeUser.mjs +3 -3
  195. package/dist/esm/api/resources/organization/client/update.d.mts +8 -8
  196. package/dist/esm/api/resources/organization/client/update.mjs +3 -3
  197. package/dist/esm/api/resources/registry/client/Client.d.mts +7 -7
  198. package/dist/esm/api/resources/registry/client/Client.mjs +10 -10
  199. package/dist/esm/api/resources/registry/client/generateRegistryTokens.d.mts +8 -8
  200. package/dist/esm/api/resources/registry/client/generateRegistryTokens.mjs +3 -3
  201. package/dist/esm/api/resources/registry/client/hasRegistryPermission.d.mts +8 -8
  202. package/dist/esm/api/resources/registry/client/hasRegistryPermission.mjs +3 -3
  203. package/dist/esm/api/resources/registry/client/requests/CheckRegistryPermissionRequest.d.mts +2 -2
  204. package/dist/esm/api/resources/registry/client/revokeToken.d.mts +8 -8
  205. package/dist/esm/api/resources/registry/client/revokeToken.mjs +3 -3
  206. package/dist/esm/api/resources/user/client/Client.d.mts +6 -6
  207. package/dist/esm/api/resources/user/client/Client.mjs +8 -8
  208. package/dist/esm/api/resources/user/client/getMyOrganizations.d.mts +8 -8
  209. package/dist/esm/api/resources/user/client/getMyOrganizations.mjs +3 -3
  210. package/dist/esm/api/resources/user/client/getMyself.d.mts +5 -5
  211. package/dist/esm/api/resources/user/client/getMyself.mjs +2 -2
  212. package/dist/esm/api/resources/user/client/linkAccounts.d.mts +8 -8
  213. package/dist/esm/api/resources/user/client/linkAccounts.mjs +3 -3
  214. package/dist/esm/api/types/HttpValidationError.d.mts +2 -2
  215. package/dist/esm/api/types/Organization.d.mts +2 -2
  216. package/dist/esm/api/types/RegistryToken.d.mts +5 -5
  217. package/dist/esm/api/types/RegistryTokens.d.mts +4 -4
  218. package/dist/esm/api/types/TokenMetadata.d.mts +2 -2
  219. package/dist/esm/api/types/TokenStatus.d.mts +5 -5
  220. package/dist/esm/api/types/ValidationError.d.mts +2 -2
  221. package/dist/esm/auth/BearerAuthProvider.d.mts +20 -0
  222. package/dist/esm/auth/BearerAuthProvider.mjs +39 -0
  223. package/dist/esm/auth/index.d.mts +1 -0
  224. package/dist/esm/auth/index.mjs +1 -0
  225. package/dist/esm/core/auth/AuthProvider.d.mts +7 -0
  226. package/dist/esm/core/auth/AuthProvider.mjs +1 -0
  227. package/dist/esm/core/auth/AuthRequest.d.mts +9 -0
  228. package/dist/esm/core/auth/AuthRequest.mjs +1 -0
  229. package/dist/esm/core/auth/BasicAuth.d.mts +8 -0
  230. package/dist/esm/core/auth/BasicAuth.mjs +24 -0
  231. package/dist/esm/core/auth/BearerToken.d.mts +7 -0
  232. package/dist/esm/core/auth/BearerToken.mjs +13 -0
  233. package/dist/esm/core/auth/NoOpAuthProvider.d.mts +5 -0
  234. package/dist/esm/core/auth/NoOpAuthProvider.mjs +5 -0
  235. package/dist/esm/core/auth/index.d.mts +5 -0
  236. package/dist/esm/core/auth/index.mjs +3 -0
  237. package/dist/esm/core/base64.d.mts +2 -0
  238. package/dist/esm/core/base64.mjs +22 -0
  239. package/dist/esm/core/index.d.mts +2 -0
  240. package/dist/esm/core/index.mjs +2 -0
  241. package/dist/esm/index.d.mts +2 -2
  242. package/dist/esm/index.mjs +2 -2
  243. package/dist/esm/serialization/resources/apiKeys/client/getTokensForOrganization.d.mts +2 -2
  244. package/dist/esm/serialization/resources/apiKeys/client/requests/CreateApiKeyRequest.d.mts +2 -2
  245. package/dist/esm/serialization/resources/apiKeys/client/requests/GetTokenMetadataRequest.d.mts +2 -2
  246. package/dist/esm/serialization/resources/apiKeys/client/requests/RevokeApiKeyRequest.d.mts +2 -2
  247. package/dist/esm/serialization/resources/auth/client/requests/GetAutopilotTokenRequest.d.mts +2 -2
  248. package/dist/esm/serialization/resources/auth/client/requests/GetJwtRequest.d.mts +2 -2
  249. package/dist/esm/serialization/resources/organization/client/requests/AddUserToOrgRequest.d.mts +2 -2
  250. package/dist/esm/serialization/resources/organization/client/requests/CreateOrganizationRequest.d.mts +2 -2
  251. package/dist/esm/serialization/resources/organization/client/requests/InviteUserToOrgRequest.d.mts +2 -2
  252. package/dist/esm/serialization/resources/organization/client/requests/RemoveUserFromOrgRequest.d.mts +2 -2
  253. package/dist/esm/serialization/resources/organization/client/requests/UpdateOrganizationRequest.d.mts +2 -2
  254. package/dist/esm/serialization/resources/registry/client/requests/CheckRegistryPermissionRequest.d.mts +2 -2
  255. package/dist/esm/serialization/resources/registry/client/requests/GenerateRegistryTokensRequest.d.mts +2 -2
  256. package/dist/esm/serialization/resources/registry/client/requests/RevokeTokenRequest.d.mts +2 -2
  257. package/dist/esm/serialization/resources/user/client/requests/LinkAccountsRequest.d.mts +2 -2
  258. package/dist/esm/serialization/types/Active.d.mts +2 -2
  259. package/dist/esm/serialization/types/CreateOrganizationResponse.d.mts +2 -2
  260. package/dist/esm/serialization/types/CreateTokenResponse.d.mts +2 -2
  261. package/dist/esm/serialization/types/Expired.d.mts +2 -2
  262. package/dist/esm/serialization/types/HttpValidationError.d.mts +2 -2
  263. package/dist/esm/serialization/types/JwtResponse.d.mts +2 -2
  264. package/dist/esm/serialization/types/LightweightUser.d.mts +2 -2
  265. package/dist/esm/serialization/types/LinkAccountsResponse.d.mts +2 -2
  266. package/dist/esm/serialization/types/Maven.d.mts +2 -2
  267. package/dist/esm/serialization/types/MavenRegistryToken.d.mts +2 -2
  268. package/dist/esm/serialization/types/Npm.d.mts +2 -2
  269. package/dist/esm/serialization/types/NpmRegistryToken.d.mts +2 -2
  270. package/dist/esm/serialization/types/Organization.d.mts +2 -2
  271. package/dist/esm/serialization/types/OrganizationsPage.d.mts +2 -2
  272. package/dist/esm/serialization/types/Pypi.d.mts +2 -2
  273. package/dist/esm/serialization/types/PypiRegistryToken.d.mts +2 -2
  274. package/dist/esm/serialization/types/RegistryToken.d.mts +2 -2
  275. package/dist/esm/serialization/types/RegistryTokens.d.mts +2 -2
  276. package/dist/esm/serialization/types/Revoked.d.mts +2 -2
  277. package/dist/esm/serialization/types/TokenMetadata.d.mts +2 -2
  278. package/dist/esm/serialization/types/TokenStatus.d.mts +2 -2
  279. package/dist/esm/serialization/types/User.d.mts +2 -2
  280. package/dist/esm/serialization/types/ValidationError.d.mts +2 -2
  281. package/dist/esm/serialization/types/ValidationErrorLocItem.d.mts +2 -2
  282. package/dist/esm/version.d.mts +1 -1
  283. package/dist/esm/version.mjs +1 -1
  284. package/package.json +1 -1
  285. package/reference.md +54 -54
@@ -1,7 +1,7 @@
1
1
  import type { BaseClientOptions, BaseRequestOptions } from "../../../../BaseClient.js";
2
2
  import { type NormalizedClientOptions } from "../../../../BaseClient.js";
3
3
  import * as core from "../../../../core/index.js";
4
- import * as FernApi from "../../../index.js";
4
+ import * as FernVenusApi from "../../../index.js";
5
5
  export declare namespace RegistryClient {
6
6
  type Options = BaseClientOptions;
7
7
  interface RequestOptions extends BaseRequestOptions {
@@ -11,7 +11,7 @@ export declare class RegistryClient {
11
11
  protected readonly _options: NormalizedClientOptions<RegistryClient.Options>;
12
12
  constructor(options: RegistryClient.Options);
13
13
  /**
14
- * @param {FernApi.GenerateRegistryTokensRequest} request
14
+ * @param {FernVenusApi.GenerateRegistryTokensRequest} request
15
15
  * @param {RegistryClient.RequestOptions} requestOptions - Request-specific configuration.
16
16
  *
17
17
  * @example
@@ -19,10 +19,10 @@ export declare class RegistryClient {
19
19
  * organizationId: "organizationId"
20
20
  * })
21
21
  */
22
- generateRegistryTokens(request: FernApi.GenerateRegistryTokensRequest, requestOptions?: RegistryClient.RequestOptions): core.HttpResponsePromise<core.APIResponse<FernApi.RegistryTokens, FernApi.registry.generateRegistryTokens.Error>>;
22
+ generateRegistryTokens(request: FernVenusApi.GenerateRegistryTokensRequest, requestOptions?: RegistryClient.RequestOptions): core.HttpResponsePromise<core.APIResponse<FernVenusApi.RegistryTokens, FernVenusApi.registry.generateRegistryTokens.Error>>;
23
23
  private __generateRegistryTokens;
24
24
  /**
25
- * @param {FernApi.CheckRegistryPermissionRequest} request
25
+ * @param {FernVenusApi.CheckRegistryPermissionRequest} request
26
26
  * @param {RegistryClient.RequestOptions} requestOptions - Request-specific configuration.
27
27
  *
28
28
  * @example
@@ -30,10 +30,10 @@ export declare class RegistryClient {
30
30
  * organizationId: "organizationId"
31
31
  * })
32
32
  */
33
- hasRegistryPermission(request: FernApi.CheckRegistryPermissionRequest, requestOptions?: RegistryClient.RequestOptions): core.HttpResponsePromise<core.APIResponse<boolean, FernApi.registry.hasRegistryPermission.Error>>;
33
+ hasRegistryPermission(request: FernVenusApi.CheckRegistryPermissionRequest, requestOptions?: RegistryClient.RequestOptions): core.HttpResponsePromise<core.APIResponse<boolean, FernVenusApi.registry.hasRegistryPermission.Error>>;
34
34
  private __hasRegistryPermission;
35
35
  /**
36
- * @param {FernApi.RevokeTokenRequest} request
36
+ * @param {FernVenusApi.RevokeTokenRequest} request
37
37
  * @param {RegistryClient.RequestOptions} requestOptions - Request-specific configuration.
38
38
  *
39
39
  * @example
@@ -42,6 +42,6 @@ export declare class RegistryClient {
42
42
  * token: "token"
43
43
  * })
44
44
  */
45
- revokeToken(request: FernApi.RevokeTokenRequest, requestOptions?: RegistryClient.RequestOptions): core.HttpResponsePromise<core.APIResponse<void, FernApi.registry.revokeToken.Error>>;
45
+ revokeToken(request: FernVenusApi.RevokeTokenRequest, requestOptions?: RegistryClient.RequestOptions): core.HttpResponsePromise<core.APIResponse<void, FernVenusApi.registry.revokeToken.Error>>;
46
46
  private __revokeToken;
47
47
  }
@@ -48,13 +48,13 @@ const BaseClient_js_1 = require("../../../../BaseClient.js");
48
48
  const headers_js_1 = require("../../../../core/headers.js");
49
49
  const core = __importStar(require("../../../../core/index.js"));
50
50
  const serializers = __importStar(require("../../../../serialization/index.js"));
51
- const FernApi = __importStar(require("../../../index.js"));
51
+ const FernVenusApi = __importStar(require("../../../index.js"));
52
52
  class RegistryClient {
53
53
  constructor(options) {
54
54
  this._options = (0, BaseClient_js_1.normalizeClientOptions)(options);
55
55
  }
56
56
  /**
57
- * @param {FernApi.GenerateRegistryTokensRequest} request
57
+ * @param {FernVenusApi.GenerateRegistryTokensRequest} request
58
58
  * @param {RegistryClient.RequestOptions} requestOptions - Request-specific configuration.
59
59
  *
60
60
  * @example
@@ -109,7 +109,7 @@ class RegistryClient {
109
109
  return {
110
110
  data: {
111
111
  ok: false,
112
- error: FernApi.registry.generateRegistryTokens.Error.unprocessableEntityError(serializers.HttpValidationError.parseOrThrow(_response.error.body, {
112
+ error: FernVenusApi.registry.generateRegistryTokens.Error.unprocessableEntityError(serializers.HttpValidationError.parseOrThrow(_response.error.body, {
113
113
  unrecognizedObjectKeys: "passthrough",
114
114
  allowUnrecognizedUnionMembers: true,
115
115
  allowUnrecognizedEnumValues: true,
@@ -125,7 +125,7 @@ class RegistryClient {
125
125
  return {
126
126
  data: {
127
127
  ok: false,
128
- error: FernApi.registry.generateRegistryTokens.Error._unknown(_response.error),
128
+ error: FernVenusApi.registry.generateRegistryTokens.Error._unknown(_response.error),
129
129
  rawResponse: _response.rawResponse,
130
130
  },
131
131
  rawResponse: _response.rawResponse,
@@ -133,7 +133,7 @@ class RegistryClient {
133
133
  });
134
134
  }
135
135
  /**
136
- * @param {FernApi.CheckRegistryPermissionRequest} request
136
+ * @param {FernVenusApi.CheckRegistryPermissionRequest} request
137
137
  * @param {RegistryClient.RequestOptions} requestOptions - Request-specific configuration.
138
138
  *
139
139
  * @example
@@ -188,7 +188,7 @@ class RegistryClient {
188
188
  return {
189
189
  data: {
190
190
  ok: false,
191
- error: FernApi.registry.hasRegistryPermission.Error.unprocessableEntityError(serializers.HttpValidationError.parseOrThrow(_response.error.body, {
191
+ error: FernVenusApi.registry.hasRegistryPermission.Error.unprocessableEntityError(serializers.HttpValidationError.parseOrThrow(_response.error.body, {
192
192
  unrecognizedObjectKeys: "passthrough",
193
193
  allowUnrecognizedUnionMembers: true,
194
194
  allowUnrecognizedEnumValues: true,
@@ -204,7 +204,7 @@ class RegistryClient {
204
204
  return {
205
205
  data: {
206
206
  ok: false,
207
- error: FernApi.registry.hasRegistryPermission.Error._unknown(_response.error),
207
+ error: FernVenusApi.registry.hasRegistryPermission.Error._unknown(_response.error),
208
208
  rawResponse: _response.rawResponse,
209
209
  },
210
210
  rawResponse: _response.rawResponse,
@@ -212,7 +212,7 @@ class RegistryClient {
212
212
  });
213
213
  }
214
214
  /**
215
- * @param {FernApi.RevokeTokenRequest} request
215
+ * @param {FernVenusApi.RevokeTokenRequest} request
216
216
  * @param {RegistryClient.RequestOptions} requestOptions - Request-specific configuration.
217
217
  *
218
218
  * @example
@@ -262,7 +262,7 @@ class RegistryClient {
262
262
  return {
263
263
  data: {
264
264
  ok: false,
265
- error: FernApi.registry.revokeToken.Error.unprocessableEntityError(serializers.HttpValidationError.parseOrThrow(_response.error.body, {
265
+ error: FernVenusApi.registry.revokeToken.Error.unprocessableEntityError(serializers.HttpValidationError.parseOrThrow(_response.error.body, {
266
266
  unrecognizedObjectKeys: "passthrough",
267
267
  allowUnrecognizedUnionMembers: true,
268
268
  allowUnrecognizedEnumValues: true,
@@ -278,7 +278,7 @@ class RegistryClient {
278
278
  return {
279
279
  data: {
280
280
  ok: false,
281
- error: FernApi.registry.revokeToken.Error._unknown(_response.error),
281
+ error: FernVenusApi.registry.revokeToken.Error._unknown(_response.error),
282
282
  rawResponse: _response.rawResponse,
283
283
  },
284
284
  rawResponse: _response.rawResponse,
@@ -1,25 +1,25 @@
1
1
  import type * as core from "../../../../core/index.js";
2
- import * as FernApi from "../../../index.js";
3
- export type Error = FernApi.registry.generateRegistryTokens.Error.UnprocessableEntityError | FernApi.registry.generateRegistryTokens.Error._Unknown;
2
+ import * as FernVenusApi from "../../../index.js";
3
+ export type Error = FernVenusApi.registry.generateRegistryTokens.Error.UnprocessableEntityError | FernVenusApi.registry.generateRegistryTokens.Error._Unknown;
4
4
  export declare namespace Error {
5
5
  interface UnprocessableEntityError extends _Utils {
6
6
  statusCode: 422;
7
- content: FernApi.HttpValidationError;
7
+ content: FernVenusApi.HttpValidationError;
8
8
  }
9
9
  interface _Unknown extends _Utils {
10
10
  statusCode: void;
11
11
  content: core.Fetcher.Error;
12
12
  }
13
13
  interface _Utils {
14
- _visit: <_Result>(visitor: FernApi.registry.generateRegistryTokens.Error._Visitor<_Result>) => _Result;
14
+ _visit: <_Result>(visitor: FernVenusApi.registry.generateRegistryTokens.Error._Visitor<_Result>) => _Result;
15
15
  }
16
16
  interface _Visitor<_Result> {
17
- unprocessableEntityError: (value: FernApi.HttpValidationError) => _Result;
17
+ unprocessableEntityError: (value: FernVenusApi.HttpValidationError) => _Result;
18
18
  _other: (value: core.Fetcher.Error) => _Result;
19
19
  }
20
20
  }
21
21
  export declare const Error: {
22
- readonly unprocessableEntityError: (value: FernApi.HttpValidationError) => FernApi.registry.generateRegistryTokens.Error.UnprocessableEntityError;
23
- readonly _unknown: (fetcherError: core.Fetcher.Error) => FernApi.registry.generateRegistryTokens.Error._Unknown;
24
- readonly _visit: <_Result>(value: FernApi.registry.generateRegistryTokens.Error, visitor: FernApi.registry.generateRegistryTokens.Error._Visitor<_Result>) => _Result;
22
+ readonly unprocessableEntityError: (value: FernVenusApi.HttpValidationError) => FernVenusApi.registry.generateRegistryTokens.Error.UnprocessableEntityError;
23
+ readonly _unknown: (fetcherError: core.Fetcher.Error) => FernVenusApi.registry.generateRegistryTokens.Error._Unknown;
24
+ readonly _visit: <_Result>(value: FernVenusApi.registry.generateRegistryTokens.Error, visitor: FernVenusApi.registry.generateRegistryTokens.Error._Visitor<_Result>) => _Result;
25
25
  };
@@ -35,14 +35,14 @@ var __importStar = (this && this.__importStar) || (function () {
35
35
  })();
36
36
  Object.defineProperty(exports, "__esModule", { value: true });
37
37
  exports.Error = void 0;
38
- const FernApi = __importStar(require("../../../index.js"));
38
+ const FernVenusApi = __importStar(require("../../../index.js"));
39
39
  exports.Error = {
40
40
  unprocessableEntityError: (value) => {
41
41
  return {
42
42
  content: value,
43
43
  statusCode: 422,
44
44
  _visit: function (visitor) {
45
- return FernApi.registry.generateRegistryTokens.Error._visit(this, visitor);
45
+ return FernVenusApi.registry.generateRegistryTokens.Error._visit(this, visitor);
46
46
  },
47
47
  };
48
48
  },
@@ -51,7 +51,7 @@ exports.Error = {
51
51
  statusCode: undefined,
52
52
  content: fetcherError,
53
53
  _visit: function (visitor) {
54
- return FernApi.registry.generateRegistryTokens.Error._visit(this, visitor);
54
+ return FernVenusApi.registry.generateRegistryTokens.Error._visit(this, visitor);
55
55
  },
56
56
  };
57
57
  },
@@ -1,25 +1,25 @@
1
1
  import type * as core from "../../../../core/index.js";
2
- import * as FernApi from "../../../index.js";
3
- export type Error = FernApi.registry.hasRegistryPermission.Error.UnprocessableEntityError | FernApi.registry.hasRegistryPermission.Error._Unknown;
2
+ import * as FernVenusApi from "../../../index.js";
3
+ export type Error = FernVenusApi.registry.hasRegistryPermission.Error.UnprocessableEntityError | FernVenusApi.registry.hasRegistryPermission.Error._Unknown;
4
4
  export declare namespace Error {
5
5
  interface UnprocessableEntityError extends _Utils {
6
6
  statusCode: 422;
7
- content: FernApi.HttpValidationError;
7
+ content: FernVenusApi.HttpValidationError;
8
8
  }
9
9
  interface _Unknown extends _Utils {
10
10
  statusCode: void;
11
11
  content: core.Fetcher.Error;
12
12
  }
13
13
  interface _Utils {
14
- _visit: <_Result>(visitor: FernApi.registry.hasRegistryPermission.Error._Visitor<_Result>) => _Result;
14
+ _visit: <_Result>(visitor: FernVenusApi.registry.hasRegistryPermission.Error._Visitor<_Result>) => _Result;
15
15
  }
16
16
  interface _Visitor<_Result> {
17
- unprocessableEntityError: (value: FernApi.HttpValidationError) => _Result;
17
+ unprocessableEntityError: (value: FernVenusApi.HttpValidationError) => _Result;
18
18
  _other: (value: core.Fetcher.Error) => _Result;
19
19
  }
20
20
  }
21
21
  export declare const Error: {
22
- readonly unprocessableEntityError: (value: FernApi.HttpValidationError) => FernApi.registry.hasRegistryPermission.Error.UnprocessableEntityError;
23
- readonly _unknown: (fetcherError: core.Fetcher.Error) => FernApi.registry.hasRegistryPermission.Error._Unknown;
24
- readonly _visit: <_Result>(value: FernApi.registry.hasRegistryPermission.Error, visitor: FernApi.registry.hasRegistryPermission.Error._Visitor<_Result>) => _Result;
22
+ readonly unprocessableEntityError: (value: FernVenusApi.HttpValidationError) => FernVenusApi.registry.hasRegistryPermission.Error.UnprocessableEntityError;
23
+ readonly _unknown: (fetcherError: core.Fetcher.Error) => FernVenusApi.registry.hasRegistryPermission.Error._Unknown;
24
+ readonly _visit: <_Result>(value: FernVenusApi.registry.hasRegistryPermission.Error, visitor: FernVenusApi.registry.hasRegistryPermission.Error._Visitor<_Result>) => _Result;
25
25
  };
@@ -35,14 +35,14 @@ var __importStar = (this && this.__importStar) || (function () {
35
35
  })();
36
36
  Object.defineProperty(exports, "__esModule", { value: true });
37
37
  exports.Error = void 0;
38
- const FernApi = __importStar(require("../../../index.js"));
38
+ const FernVenusApi = __importStar(require("../../../index.js"));
39
39
  exports.Error = {
40
40
  unprocessableEntityError: (value) => {
41
41
  return {
42
42
  content: value,
43
43
  statusCode: 422,
44
44
  _visit: function (visitor) {
45
- return FernApi.registry.hasRegistryPermission.Error._visit(this, visitor);
45
+ return FernVenusApi.registry.hasRegistryPermission.Error._visit(this, visitor);
46
46
  },
47
47
  };
48
48
  },
@@ -51,7 +51,7 @@ exports.Error = {
51
51
  statusCode: undefined,
52
52
  content: fetcherError,
53
53
  _visit: function (visitor) {
54
- return FernApi.registry.hasRegistryPermission.Error._visit(this, visitor);
54
+ return FernVenusApi.registry.hasRegistryPermission.Error._visit(this, visitor);
55
55
  },
56
56
  };
57
57
  },
@@ -1,4 +1,4 @@
1
- import type * as FernApi from "../../../../index.js";
1
+ import type * as FernVenusApi from "../../../../index.js";
2
2
  /**
3
3
  * @example
4
4
  * {
@@ -7,5 +7,5 @@ import type * as FernApi from "../../../../index.js";
7
7
  */
8
8
  export interface CheckRegistryPermissionRequest {
9
9
  organizationId: string;
10
- token?: FernApi.RegistryToken | null;
10
+ token?: FernVenusApi.RegistryToken | null;
11
11
  }
@@ -1,25 +1,25 @@
1
1
  import type * as core from "../../../../core/index.js";
2
- import * as FernApi from "../../../index.js";
3
- export type Error = FernApi.registry.revokeToken.Error.UnprocessableEntityError | FernApi.registry.revokeToken.Error._Unknown;
2
+ import * as FernVenusApi from "../../../index.js";
3
+ export type Error = FernVenusApi.registry.revokeToken.Error.UnprocessableEntityError | FernVenusApi.registry.revokeToken.Error._Unknown;
4
4
  export declare namespace Error {
5
5
  interface UnprocessableEntityError extends _Utils {
6
6
  statusCode: 422;
7
- content: FernApi.HttpValidationError;
7
+ content: FernVenusApi.HttpValidationError;
8
8
  }
9
9
  interface _Unknown extends _Utils {
10
10
  statusCode: void;
11
11
  content: core.Fetcher.Error;
12
12
  }
13
13
  interface _Utils {
14
- _visit: <_Result>(visitor: FernApi.registry.revokeToken.Error._Visitor<_Result>) => _Result;
14
+ _visit: <_Result>(visitor: FernVenusApi.registry.revokeToken.Error._Visitor<_Result>) => _Result;
15
15
  }
16
16
  interface _Visitor<_Result> {
17
- unprocessableEntityError: (value: FernApi.HttpValidationError) => _Result;
17
+ unprocessableEntityError: (value: FernVenusApi.HttpValidationError) => _Result;
18
18
  _other: (value: core.Fetcher.Error) => _Result;
19
19
  }
20
20
  }
21
21
  export declare const Error: {
22
- readonly unprocessableEntityError: (value: FernApi.HttpValidationError) => FernApi.registry.revokeToken.Error.UnprocessableEntityError;
23
- readonly _unknown: (fetcherError: core.Fetcher.Error) => FernApi.registry.revokeToken.Error._Unknown;
24
- readonly _visit: <_Result>(value: FernApi.registry.revokeToken.Error, visitor: FernApi.registry.revokeToken.Error._Visitor<_Result>) => _Result;
22
+ readonly unprocessableEntityError: (value: FernVenusApi.HttpValidationError) => FernVenusApi.registry.revokeToken.Error.UnprocessableEntityError;
23
+ readonly _unknown: (fetcherError: core.Fetcher.Error) => FernVenusApi.registry.revokeToken.Error._Unknown;
24
+ readonly _visit: <_Result>(value: FernVenusApi.registry.revokeToken.Error, visitor: FernVenusApi.registry.revokeToken.Error._Visitor<_Result>) => _Result;
25
25
  };
@@ -35,14 +35,14 @@ var __importStar = (this && this.__importStar) || (function () {
35
35
  })();
36
36
  Object.defineProperty(exports, "__esModule", { value: true });
37
37
  exports.Error = void 0;
38
- const FernApi = __importStar(require("../../../index.js"));
38
+ const FernVenusApi = __importStar(require("../../../index.js"));
39
39
  exports.Error = {
40
40
  unprocessableEntityError: (value) => {
41
41
  return {
42
42
  content: value,
43
43
  statusCode: 422,
44
44
  _visit: function (visitor) {
45
- return FernApi.registry.revokeToken.Error._visit(this, visitor);
45
+ return FernVenusApi.registry.revokeToken.Error._visit(this, visitor);
46
46
  },
47
47
  };
48
48
  },
@@ -51,7 +51,7 @@ exports.Error = {
51
51
  statusCode: undefined,
52
52
  content: fetcherError,
53
53
  _visit: function (visitor) {
54
- return FernApi.registry.revokeToken.Error._visit(this, visitor);
54
+ return FernVenusApi.registry.revokeToken.Error._visit(this, visitor);
55
55
  },
56
56
  };
57
57
  },
@@ -1,7 +1,7 @@
1
1
  import type { BaseClientOptions, BaseRequestOptions } from "../../../../BaseClient.js";
2
2
  import { type NormalizedClientOptions } from "../../../../BaseClient.js";
3
3
  import * as core from "../../../../core/index.js";
4
- import * as FernApi from "../../../index.js";
4
+ import * as FernVenusApi from "../../../index.js";
5
5
  export declare namespace UserClient {
6
6
  type Options = BaseClientOptions;
7
7
  interface RequestOptions extends BaseRequestOptions {
@@ -16,10 +16,10 @@ export declare class UserClient {
16
16
  * @example
17
17
  * await client.user.getMyself()
18
18
  */
19
- getMyself(requestOptions?: UserClient.RequestOptions): core.HttpResponsePromise<core.APIResponse<FernApi.User, FernApi.user.getMyself.Error>>;
19
+ getMyself(requestOptions?: UserClient.RequestOptions): core.HttpResponsePromise<core.APIResponse<FernVenusApi.User, FernVenusApi.user.getMyself.Error>>;
20
20
  private __getMyself;
21
21
  /**
22
- * @param {FernApi.GetMyOrganizationsUsersOrganizationsGetRequest} request
22
+ * @param {FernVenusApi.GetMyOrganizationsUsersOrganizationsGetRequest} request
23
23
  * @param {UserClient.RequestOptions} requestOptions - Request-specific configuration.
24
24
  *
25
25
  * @example
@@ -27,13 +27,13 @@ export declare class UserClient {
27
27
  * pageId: 1
28
28
  * })
29
29
  */
30
- getMyOrganizations(request: FernApi.GetMyOrganizationsUsersOrganizationsGetRequest, requestOptions?: UserClient.RequestOptions): core.HttpResponsePromise<core.APIResponse<FernApi.OrganizationsPage, FernApi.user.getMyOrganizations.Error>>;
30
+ getMyOrganizations(request: FernVenusApi.GetMyOrganizationsUsersOrganizationsGetRequest, requestOptions?: UserClient.RequestOptions): core.HttpResponsePromise<core.APIResponse<FernVenusApi.OrganizationsPage, FernVenusApi.user.getMyOrganizations.Error>>;
31
31
  private __getMyOrganizations;
32
32
  /**
33
33
  * Link user accounts with the same verified email address.
34
34
  * Requires admin token authentication.
35
35
  *
36
- * @param {FernApi.LinkAccountsRequest} request
36
+ * @param {FernVenusApi.LinkAccountsRequest} request
37
37
  * @param {UserClient.RequestOptions} requestOptions - Request-specific configuration.
38
38
  *
39
39
  * @example
@@ -41,6 +41,6 @@ export declare class UserClient {
41
41
  * userId: "userId"
42
42
  * })
43
43
  */
44
- linkAccounts(request: FernApi.LinkAccountsRequest, requestOptions?: UserClient.RequestOptions): core.HttpResponsePromise<core.APIResponse<FernApi.LinkAccountsResponse, FernApi.user.linkAccounts.Error>>;
44
+ linkAccounts(request: FernVenusApi.LinkAccountsRequest, requestOptions?: UserClient.RequestOptions): core.HttpResponsePromise<core.APIResponse<FernVenusApi.LinkAccountsResponse, FernVenusApi.user.linkAccounts.Error>>;
45
45
  private __linkAccounts;
46
46
  }
@@ -48,7 +48,7 @@ const BaseClient_js_1 = require("../../../../BaseClient.js");
48
48
  const headers_js_1 = require("../../../../core/headers.js");
49
49
  const core = __importStar(require("../../../../core/index.js"));
50
50
  const serializers = __importStar(require("../../../../serialization/index.js"));
51
- const FernApi = __importStar(require("../../../index.js"));
51
+ const FernVenusApi = __importStar(require("../../../index.js"));
52
52
  class UserClient {
53
53
  constructor(options) {
54
54
  this._options = (0, BaseClient_js_1.normalizeClientOptions)(options);
@@ -97,7 +97,7 @@ class UserClient {
97
97
  return {
98
98
  data: {
99
99
  ok: false,
100
- error: FernApi.user.getMyself.Error._unknown(_response.error),
100
+ error: FernVenusApi.user.getMyself.Error._unknown(_response.error),
101
101
  rawResponse: _response.rawResponse,
102
102
  },
103
103
  rawResponse: _response.rawResponse,
@@ -105,7 +105,7 @@ class UserClient {
105
105
  });
106
106
  }
107
107
  /**
108
- * @param {FernApi.GetMyOrganizationsUsersOrganizationsGetRequest} request
108
+ * @param {FernVenusApi.GetMyOrganizationsUsersOrganizationsGetRequest} request
109
109
  * @param {UserClient.RequestOptions} requestOptions - Request-specific configuration.
110
110
  *
111
111
  * @example
@@ -158,7 +158,7 @@ class UserClient {
158
158
  return {
159
159
  data: {
160
160
  ok: false,
161
- error: FernApi.user.getMyOrganizations.Error.unprocessableEntityError(serializers.HttpValidationError.parseOrThrow(_response.error.body, {
161
+ error: FernVenusApi.user.getMyOrganizations.Error.unprocessableEntityError(serializers.HttpValidationError.parseOrThrow(_response.error.body, {
162
162
  unrecognizedObjectKeys: "passthrough",
163
163
  allowUnrecognizedUnionMembers: true,
164
164
  allowUnrecognizedEnumValues: true,
@@ -174,7 +174,7 @@ class UserClient {
174
174
  return {
175
175
  data: {
176
176
  ok: false,
177
- error: FernApi.user.getMyOrganizations.Error._unknown(_response.error),
177
+ error: FernVenusApi.user.getMyOrganizations.Error._unknown(_response.error),
178
178
  rawResponse: _response.rawResponse,
179
179
  },
180
180
  rawResponse: _response.rawResponse,
@@ -185,7 +185,7 @@ class UserClient {
185
185
  * Link user accounts with the same verified email address.
186
186
  * Requires admin token authentication.
187
187
  *
188
- * @param {FernApi.LinkAccountsRequest} request
188
+ * @param {FernVenusApi.LinkAccountsRequest} request
189
189
  * @param {UserClient.RequestOptions} requestOptions - Request-specific configuration.
190
190
  *
191
191
  * @example
@@ -240,7 +240,7 @@ class UserClient {
240
240
  return {
241
241
  data: {
242
242
  ok: false,
243
- error: FernApi.user.linkAccounts.Error.unprocessableEntityError(serializers.HttpValidationError.parseOrThrow(_response.error.body, {
243
+ error: FernVenusApi.user.linkAccounts.Error.unprocessableEntityError(serializers.HttpValidationError.parseOrThrow(_response.error.body, {
244
244
  unrecognizedObjectKeys: "passthrough",
245
245
  allowUnrecognizedUnionMembers: true,
246
246
  allowUnrecognizedEnumValues: true,
@@ -256,7 +256,7 @@ class UserClient {
256
256
  return {
257
257
  data: {
258
258
  ok: false,
259
- error: FernApi.user.linkAccounts.Error._unknown(_response.error),
259
+ error: FernVenusApi.user.linkAccounts.Error._unknown(_response.error),
260
260
  rawResponse: _response.rawResponse,
261
261
  },
262
262
  rawResponse: _response.rawResponse,
@@ -1,25 +1,25 @@
1
1
  import type * as core from "../../../../core/index.js";
2
- import * as FernApi from "../../../index.js";
3
- export type Error = FernApi.user.getMyOrganizations.Error.UnprocessableEntityError | FernApi.user.getMyOrganizations.Error._Unknown;
2
+ import * as FernVenusApi from "../../../index.js";
3
+ export type Error = FernVenusApi.user.getMyOrganizations.Error.UnprocessableEntityError | FernVenusApi.user.getMyOrganizations.Error._Unknown;
4
4
  export declare namespace Error {
5
5
  interface UnprocessableEntityError extends _Utils {
6
6
  statusCode: 422;
7
- content: FernApi.HttpValidationError;
7
+ content: FernVenusApi.HttpValidationError;
8
8
  }
9
9
  interface _Unknown extends _Utils {
10
10
  statusCode: void;
11
11
  content: core.Fetcher.Error;
12
12
  }
13
13
  interface _Utils {
14
- _visit: <_Result>(visitor: FernApi.user.getMyOrganizations.Error._Visitor<_Result>) => _Result;
14
+ _visit: <_Result>(visitor: FernVenusApi.user.getMyOrganizations.Error._Visitor<_Result>) => _Result;
15
15
  }
16
16
  interface _Visitor<_Result> {
17
- unprocessableEntityError: (value: FernApi.HttpValidationError) => _Result;
17
+ unprocessableEntityError: (value: FernVenusApi.HttpValidationError) => _Result;
18
18
  _other: (value: core.Fetcher.Error) => _Result;
19
19
  }
20
20
  }
21
21
  export declare const Error: {
22
- readonly unprocessableEntityError: (value: FernApi.HttpValidationError) => FernApi.user.getMyOrganizations.Error.UnprocessableEntityError;
23
- readonly _unknown: (fetcherError: core.Fetcher.Error) => FernApi.user.getMyOrganizations.Error._Unknown;
24
- readonly _visit: <_Result>(value: FernApi.user.getMyOrganizations.Error, visitor: FernApi.user.getMyOrganizations.Error._Visitor<_Result>) => _Result;
22
+ readonly unprocessableEntityError: (value: FernVenusApi.HttpValidationError) => FernVenusApi.user.getMyOrganizations.Error.UnprocessableEntityError;
23
+ readonly _unknown: (fetcherError: core.Fetcher.Error) => FernVenusApi.user.getMyOrganizations.Error._Unknown;
24
+ readonly _visit: <_Result>(value: FernVenusApi.user.getMyOrganizations.Error, visitor: FernVenusApi.user.getMyOrganizations.Error._Visitor<_Result>) => _Result;
25
25
  };
@@ -35,14 +35,14 @@ var __importStar = (this && this.__importStar) || (function () {
35
35
  })();
36
36
  Object.defineProperty(exports, "__esModule", { value: true });
37
37
  exports.Error = void 0;
38
- const FernApi = __importStar(require("../../../index.js"));
38
+ const FernVenusApi = __importStar(require("../../../index.js"));
39
39
  exports.Error = {
40
40
  unprocessableEntityError: (value) => {
41
41
  return {
42
42
  content: value,
43
43
  statusCode: 422,
44
44
  _visit: function (visitor) {
45
- return FernApi.user.getMyOrganizations.Error._visit(this, visitor);
45
+ return FernVenusApi.user.getMyOrganizations.Error._visit(this, visitor);
46
46
  },
47
47
  };
48
48
  },
@@ -51,7 +51,7 @@ exports.Error = {
51
51
  statusCode: undefined,
52
52
  content: fetcherError,
53
53
  _visit: function (visitor) {
54
- return FernApi.user.getMyOrganizations.Error._visit(this, visitor);
54
+ return FernVenusApi.user.getMyOrganizations.Error._visit(this, visitor);
55
55
  },
56
56
  };
57
57
  },
@@ -1,19 +1,19 @@
1
1
  import type * as core from "../../../../core/index.js";
2
- import * as FernApi from "../../../index.js";
3
- export type Error = FernApi.user.getMyself.Error._Unknown;
2
+ import * as FernVenusApi from "../../../index.js";
3
+ export type Error = FernVenusApi.user.getMyself.Error._Unknown;
4
4
  export declare namespace Error {
5
5
  interface _Unknown extends _Utils {
6
6
  statusCode: void;
7
7
  content: core.Fetcher.Error;
8
8
  }
9
9
  interface _Utils {
10
- _visit: <_Result>(visitor: FernApi.user.getMyself.Error._Visitor<_Result>) => _Result;
10
+ _visit: <_Result>(visitor: FernVenusApi.user.getMyself.Error._Visitor<_Result>) => _Result;
11
11
  }
12
12
  interface _Visitor<_Result> {
13
13
  _other: (value: core.Fetcher.Error) => _Result;
14
14
  }
15
15
  }
16
16
  export declare const Error: {
17
- readonly _unknown: (fetcherError: core.Fetcher.Error) => FernApi.user.getMyself.Error._Unknown;
18
- readonly _visit: <_Result>(value: FernApi.user.getMyself.Error, visitor: FernApi.user.getMyself.Error._Visitor<_Result>) => _Result;
17
+ readonly _unknown: (fetcherError: core.Fetcher.Error) => FernVenusApi.user.getMyself.Error._Unknown;
18
+ readonly _visit: <_Result>(value: FernVenusApi.user.getMyself.Error, visitor: FernVenusApi.user.getMyself.Error._Visitor<_Result>) => _Result;
19
19
  };
@@ -35,14 +35,14 @@ var __importStar = (this && this.__importStar) || (function () {
35
35
  })();
36
36
  Object.defineProperty(exports, "__esModule", { value: true });
37
37
  exports.Error = void 0;
38
- const FernApi = __importStar(require("../../../index.js"));
38
+ const FernVenusApi = __importStar(require("../../../index.js"));
39
39
  exports.Error = {
40
40
  _unknown: (fetcherError) => {
41
41
  return {
42
42
  statusCode: undefined,
43
43
  content: fetcherError,
44
44
  _visit: function (visitor) {
45
- return FernApi.user.getMyself.Error._visit(this, visitor);
45
+ return FernVenusApi.user.getMyself.Error._visit(this, visitor);
46
46
  },
47
47
  };
48
48
  },
@@ -1,25 +1,25 @@
1
1
  import type * as core from "../../../../core/index.js";
2
- import * as FernApi from "../../../index.js";
3
- export type Error = FernApi.user.linkAccounts.Error.UnprocessableEntityError | FernApi.user.linkAccounts.Error._Unknown;
2
+ import * as FernVenusApi from "../../../index.js";
3
+ export type Error = FernVenusApi.user.linkAccounts.Error.UnprocessableEntityError | FernVenusApi.user.linkAccounts.Error._Unknown;
4
4
  export declare namespace Error {
5
5
  interface UnprocessableEntityError extends _Utils {
6
6
  statusCode: 422;
7
- content: FernApi.HttpValidationError;
7
+ content: FernVenusApi.HttpValidationError;
8
8
  }
9
9
  interface _Unknown extends _Utils {
10
10
  statusCode: void;
11
11
  content: core.Fetcher.Error;
12
12
  }
13
13
  interface _Utils {
14
- _visit: <_Result>(visitor: FernApi.user.linkAccounts.Error._Visitor<_Result>) => _Result;
14
+ _visit: <_Result>(visitor: FernVenusApi.user.linkAccounts.Error._Visitor<_Result>) => _Result;
15
15
  }
16
16
  interface _Visitor<_Result> {
17
- unprocessableEntityError: (value: FernApi.HttpValidationError) => _Result;
17
+ unprocessableEntityError: (value: FernVenusApi.HttpValidationError) => _Result;
18
18
  _other: (value: core.Fetcher.Error) => _Result;
19
19
  }
20
20
  }
21
21
  export declare const Error: {
22
- readonly unprocessableEntityError: (value: FernApi.HttpValidationError) => FernApi.user.linkAccounts.Error.UnprocessableEntityError;
23
- readonly _unknown: (fetcherError: core.Fetcher.Error) => FernApi.user.linkAccounts.Error._Unknown;
24
- readonly _visit: <_Result>(value: FernApi.user.linkAccounts.Error, visitor: FernApi.user.linkAccounts.Error._Visitor<_Result>) => _Result;
22
+ readonly unprocessableEntityError: (value: FernVenusApi.HttpValidationError) => FernVenusApi.user.linkAccounts.Error.UnprocessableEntityError;
23
+ readonly _unknown: (fetcherError: core.Fetcher.Error) => FernVenusApi.user.linkAccounts.Error._Unknown;
24
+ readonly _visit: <_Result>(value: FernVenusApi.user.linkAccounts.Error, visitor: FernVenusApi.user.linkAccounts.Error._Visitor<_Result>) => _Result;
25
25
  };
@@ -35,14 +35,14 @@ var __importStar = (this && this.__importStar) || (function () {
35
35
  })();
36
36
  Object.defineProperty(exports, "__esModule", { value: true });
37
37
  exports.Error = void 0;
38
- const FernApi = __importStar(require("../../../index.js"));
38
+ const FernVenusApi = __importStar(require("../../../index.js"));
39
39
  exports.Error = {
40
40
  unprocessableEntityError: (value) => {
41
41
  return {
42
42
  content: value,
43
43
  statusCode: 422,
44
44
  _visit: function (visitor) {
45
- return FernApi.user.linkAccounts.Error._visit(this, visitor);
45
+ return FernVenusApi.user.linkAccounts.Error._visit(this, visitor);
46
46
  },
47
47
  };
48
48
  },
@@ -51,7 +51,7 @@ exports.Error = {
51
51
  statusCode: undefined,
52
52
  content: fetcherError,
53
53
  _visit: function (visitor) {
54
- return FernApi.user.linkAccounts.Error._visit(this, visitor);
54
+ return FernVenusApi.user.linkAccounts.Error._visit(this, visitor);
55
55
  },
56
56
  };
57
57
  },
@@ -1,4 +1,4 @@
1
- import type * as FernApi from "../index.js";
1
+ import type * as FernVenusApi from "../index.js";
2
2
  export interface HttpValidationError {
3
- detail?: FernApi.ValidationError[];
3
+ detail?: FernVenusApi.ValidationError[];
4
4
  }