@fern-api/venus-api-sdk 11.6.0 → 12.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 (236) hide show
  1. package/dist/cjs/BaseClient.js +2 -2
  2. package/dist/cjs/api/resources/apiKeys/client/Client.d.ts +9 -0
  3. package/dist/cjs/api/resources/apiKeys/client/Client.js +14 -2
  4. package/dist/cjs/api/resources/apiKeys/client/requests/RevokeTokenByIdApiKeysRevokeTokenIdPostRequest.d.ts +1 -0
  5. package/dist/cjs/api/resources/guestSession/client/Client.d.ts +53 -0
  6. package/dist/cjs/api/resources/guestSession/client/Client.js +325 -0
  7. package/dist/cjs/api/resources/guestSession/client/claim.d.ts +25 -0
  8. package/dist/cjs/api/resources/guestSession/client/claim.js +66 -0
  9. package/dist/cjs/api/resources/guestSession/client/create.d.ts +13 -1
  10. package/dist/cjs/api/resources/guestSession/client/create.js +22 -0
  11. package/dist/cjs/api/resources/guestSession/client/delete.d.ts +25 -0
  12. package/dist/cjs/api/resources/guestSession/client/delete.js +66 -0
  13. package/dist/cjs/api/resources/guestSession/client/get.d.ts +43 -0
  14. package/dist/cjs/api/resources/guestSession/client/get.js +99 -0
  15. package/dist/cjs/api/resources/guestSession/client/index.d.ts +3 -0
  16. package/dist/cjs/api/resources/guestSession/client/index.js +4 -1
  17. package/dist/cjs/api/resources/guestSession/client/requests/ClaimGuestSessionRequest.d.ts +10 -0
  18. package/dist/cjs/api/resources/guestSession/client/requests/ClaimGuestSessionRequest.js +3 -0
  19. package/dist/cjs/api/resources/guestSession/client/requests/DeleteGuestSessionsSessionIdDeleteRequest.d.ts +9 -0
  20. package/dist/cjs/api/resources/guestSession/client/requests/DeleteGuestSessionsSessionIdDeleteRequest.js +3 -0
  21. package/dist/cjs/api/resources/guestSession/client/requests/GetGuestSessionsSessionIdGetRequest.d.ts +11 -0
  22. package/dist/cjs/api/resources/guestSession/client/requests/GetGuestSessionsSessionIdGetRequest.js +3 -0
  23. package/dist/cjs/api/resources/guestSession/client/requests/index.d.ts +3 -0
  24. package/dist/cjs/api/resources/organization/client/Client.d.ts +3 -0
  25. package/dist/cjs/api/resources/organization/client/Client.js +3 -0
  26. package/dist/cjs/api/types/ClaimGuestSessionResponse.d.ts +10 -0
  27. package/dist/cjs/api/types/ClaimGuestSessionResponse.js +3 -0
  28. package/dist/cjs/api/types/ClaimGuestSessionResponseStatus.d.ts +9 -0
  29. package/dist/cjs/api/types/ClaimGuestSessionResponseStatus.js +12 -0
  30. package/dist/cjs/api/types/CreateGuestSessionResponse.d.ts +2 -0
  31. package/dist/cjs/api/types/DeleteGuestSessionResponse.d.ts +7 -0
  32. package/dist/cjs/api/types/DeleteGuestSessionResponse.js +3 -0
  33. package/dist/cjs/api/types/DeleteGuestSessionResponseStatus.d.ts +9 -0
  34. package/dist/cjs/api/types/DeleteGuestSessionResponseStatus.js +12 -0
  35. package/dist/cjs/api/types/GetGuestSessionResponse.d.ts +13 -0
  36. package/dist/cjs/api/types/GetGuestSessionResponse.js +3 -0
  37. package/dist/cjs/api/types/GetGuestSessionResponseStatus.d.ts +9 -0
  38. package/dist/cjs/api/types/GetGuestSessionResponseStatus.js +12 -0
  39. package/dist/cjs/api/types/GoneErrorBody.d.ts +5 -0
  40. package/dist/cjs/api/types/GoneErrorBody.js +3 -0
  41. package/dist/cjs/api/types/GoneErrorBodyContent.d.ts +8 -0
  42. package/dist/cjs/api/types/GoneErrorBodyContent.js +3 -0
  43. package/dist/cjs/api/types/GoneErrorBodyContentCode.d.ts +5 -0
  44. package/dist/cjs/api/types/GoneErrorBodyContentCode.js +8 -0
  45. package/dist/cjs/api/types/GuestSessionLimits.d.ts +2 -0
  46. package/dist/cjs/api/types/GuestSessionUsage.d.ts +4 -0
  47. package/dist/cjs/api/types/GuestSessionUsage.js +3 -0
  48. package/dist/cjs/api/types/NotFoundErrorBody.d.ts +5 -0
  49. package/dist/cjs/api/types/NotFoundErrorBody.js +3 -0
  50. package/dist/cjs/api/types/NotFoundErrorBodyContent.d.ts +8 -0
  51. package/dist/cjs/api/types/NotFoundErrorBodyContent.js +3 -0
  52. package/dist/cjs/api/types/NotFoundErrorBodyContentCode.d.ts +4 -0
  53. package/dist/cjs/api/types/NotFoundErrorBodyContentCode.js +7 -0
  54. package/dist/cjs/api/types/ServiceUnavailableErrorBody.d.ts +5 -0
  55. package/dist/cjs/api/types/ServiceUnavailableErrorBody.js +3 -0
  56. package/dist/cjs/api/types/ServiceUnavailableErrorBodyContent.d.ts +8 -0
  57. package/dist/cjs/api/types/ServiceUnavailableErrorBodyContent.js +3 -0
  58. package/dist/cjs/api/types/ServiceUnavailableErrorBodyContentCode.d.ts +6 -0
  59. package/dist/cjs/api/types/ServiceUnavailableErrorBodyContentCode.js +9 -0
  60. package/dist/cjs/api/types/TooManyRequestsErrorBody.d.ts +5 -0
  61. package/dist/cjs/api/types/TooManyRequestsErrorBody.js +3 -0
  62. package/dist/cjs/api/types/TooManyRequestsErrorBodyContent.d.ts +8 -0
  63. package/dist/cjs/api/types/TooManyRequestsErrorBodyContent.js +3 -0
  64. package/dist/cjs/api/types/TooManyRequestsErrorBodyContentCode.d.ts +4 -0
  65. package/dist/cjs/api/types/TooManyRequestsErrorBodyContentCode.js +7 -0
  66. package/dist/cjs/api/types/index.d.ts +19 -0
  67. package/dist/cjs/api/types/index.js +19 -0
  68. package/dist/cjs/serialization/resources/guestSession/client/requests/ClaimGuestSessionRequest.d.ts +9 -0
  69. package/dist/cjs/serialization/resources/guestSession/client/requests/ClaimGuestSessionRequest.js +41 -0
  70. package/dist/cjs/serialization/resources/guestSession/client/requests/index.d.ts +1 -0
  71. package/dist/cjs/serialization/resources/guestSession/client/requests/index.js +3 -1
  72. package/dist/cjs/serialization/types/ClaimGuestSessionResponse.d.ts +15 -0
  73. package/dist/cjs/serialization/types/ClaimGuestSessionResponse.js +48 -0
  74. package/dist/cjs/serialization/types/ClaimGuestSessionResponseStatus.d.ts +7 -0
  75. package/dist/cjs/serialization/types/ClaimGuestSessionResponseStatus.js +39 -0
  76. package/dist/cjs/serialization/types/CreateGuestSessionResponse.d.ts +2 -0
  77. package/dist/cjs/serialization/types/CreateGuestSessionResponse.js +2 -0
  78. package/dist/cjs/serialization/types/DeleteGuestSessionResponse.d.ts +12 -0
  79. package/dist/cjs/serialization/types/DeleteGuestSessionResponse.js +45 -0
  80. package/dist/cjs/serialization/types/DeleteGuestSessionResponseStatus.d.ts +7 -0
  81. package/dist/cjs/serialization/types/DeleteGuestSessionResponseStatus.js +39 -0
  82. package/dist/cjs/serialization/types/GetGuestSessionResponse.d.ts +20 -0
  83. package/dist/cjs/serialization/types/GetGuestSessionResponse.js +52 -0
  84. package/dist/cjs/serialization/types/GetGuestSessionResponseStatus.d.ts +7 -0
  85. package/dist/cjs/serialization/types/GetGuestSessionResponseStatus.js +39 -0
  86. package/dist/cjs/serialization/types/GoneErrorBody.d.ts +11 -0
  87. package/dist/cjs/serialization/types/GoneErrorBody.js +43 -0
  88. package/dist/cjs/serialization/types/GoneErrorBodyContent.d.ts +14 -0
  89. package/dist/cjs/serialization/types/GoneErrorBodyContent.js +46 -0
  90. package/dist/cjs/serialization/types/GoneErrorBodyContentCode.d.ts +7 -0
  91. package/dist/cjs/serialization/types/GoneErrorBodyContentCode.js +39 -0
  92. package/dist/cjs/serialization/types/GuestSessionLimits.d.ts +2 -0
  93. package/dist/cjs/serialization/types/GuestSessionLimits.js +2 -0
  94. package/dist/cjs/serialization/types/GuestSessionUsage.d.ts +10 -0
  95. package/dist/cjs/serialization/types/GuestSessionUsage.js +42 -0
  96. package/dist/cjs/serialization/types/NotFoundErrorBody.d.ts +11 -0
  97. package/dist/cjs/serialization/types/NotFoundErrorBody.js +43 -0
  98. package/dist/cjs/serialization/types/NotFoundErrorBodyContent.d.ts +14 -0
  99. package/dist/cjs/serialization/types/NotFoundErrorBodyContent.js +46 -0
  100. package/dist/cjs/serialization/types/NotFoundErrorBodyContentCode.d.ts +7 -0
  101. package/dist/cjs/serialization/types/NotFoundErrorBodyContentCode.js +39 -0
  102. package/dist/cjs/serialization/types/ServiceUnavailableErrorBody.d.ts +11 -0
  103. package/dist/cjs/serialization/types/ServiceUnavailableErrorBody.js +43 -0
  104. package/dist/cjs/serialization/types/ServiceUnavailableErrorBodyContent.d.ts +14 -0
  105. package/dist/cjs/serialization/types/ServiceUnavailableErrorBodyContent.js +46 -0
  106. package/dist/cjs/serialization/types/ServiceUnavailableErrorBodyContentCode.d.ts +7 -0
  107. package/dist/cjs/serialization/types/ServiceUnavailableErrorBodyContentCode.js +39 -0
  108. package/dist/cjs/serialization/types/TooManyRequestsErrorBody.d.ts +11 -0
  109. package/dist/cjs/serialization/types/TooManyRequestsErrorBody.js +43 -0
  110. package/dist/cjs/serialization/types/TooManyRequestsErrorBodyContent.d.ts +14 -0
  111. package/dist/cjs/serialization/types/TooManyRequestsErrorBodyContent.js +46 -0
  112. package/dist/cjs/serialization/types/TooManyRequestsErrorBodyContentCode.d.ts +7 -0
  113. package/dist/cjs/serialization/types/TooManyRequestsErrorBodyContentCode.js +39 -0
  114. package/dist/cjs/serialization/types/index.d.ts +19 -0
  115. package/dist/cjs/serialization/types/index.js +19 -0
  116. package/dist/cjs/version.d.ts +1 -1
  117. package/dist/cjs/version.js +1 -1
  118. package/dist/esm/BaseClient.mjs +2 -2
  119. package/dist/esm/api/resources/apiKeys/client/Client.d.mts +9 -0
  120. package/dist/esm/api/resources/apiKeys/client/Client.mjs +14 -2
  121. package/dist/esm/api/resources/apiKeys/client/requests/RevokeTokenByIdApiKeysRevokeTokenIdPostRequest.d.mts +1 -0
  122. package/dist/esm/api/resources/guestSession/client/Client.d.mts +53 -0
  123. package/dist/esm/api/resources/guestSession/client/Client.mjs +326 -1
  124. package/dist/esm/api/resources/guestSession/client/claim.d.mts +25 -0
  125. package/dist/esm/api/resources/guestSession/client/claim.mjs +30 -0
  126. package/dist/esm/api/resources/guestSession/client/create.d.mts +13 -1
  127. package/dist/esm/api/resources/guestSession/client/create.mjs +22 -0
  128. package/dist/esm/api/resources/guestSession/client/delete.d.mts +25 -0
  129. package/dist/esm/api/resources/guestSession/client/delete.mjs +30 -0
  130. package/dist/esm/api/resources/guestSession/client/get.d.mts +43 -0
  131. package/dist/esm/api/resources/guestSession/client/get.mjs +63 -0
  132. package/dist/esm/api/resources/guestSession/client/index.d.mts +3 -0
  133. package/dist/esm/api/resources/guestSession/client/index.mjs +3 -0
  134. package/dist/esm/api/resources/guestSession/client/requests/ClaimGuestSessionRequest.d.mts +10 -0
  135. package/dist/esm/api/resources/guestSession/client/requests/ClaimGuestSessionRequest.mjs +2 -0
  136. package/dist/esm/api/resources/guestSession/client/requests/DeleteGuestSessionsSessionIdDeleteRequest.d.mts +9 -0
  137. package/dist/esm/api/resources/guestSession/client/requests/DeleteGuestSessionsSessionIdDeleteRequest.mjs +2 -0
  138. package/dist/esm/api/resources/guestSession/client/requests/GetGuestSessionsSessionIdGetRequest.d.mts +11 -0
  139. package/dist/esm/api/resources/guestSession/client/requests/GetGuestSessionsSessionIdGetRequest.mjs +2 -0
  140. package/dist/esm/api/resources/guestSession/client/requests/index.d.mts +3 -0
  141. package/dist/esm/api/resources/organization/client/Client.d.mts +3 -0
  142. package/dist/esm/api/resources/organization/client/Client.mjs +3 -0
  143. package/dist/esm/api/types/ClaimGuestSessionResponse.d.mts +10 -0
  144. package/dist/esm/api/types/ClaimGuestSessionResponse.mjs +2 -0
  145. package/dist/esm/api/types/ClaimGuestSessionResponseStatus.d.mts +9 -0
  146. package/dist/esm/api/types/ClaimGuestSessionResponseStatus.mjs +9 -0
  147. package/dist/esm/api/types/CreateGuestSessionResponse.d.mts +2 -0
  148. package/dist/esm/api/types/DeleteGuestSessionResponse.d.mts +7 -0
  149. package/dist/esm/api/types/DeleteGuestSessionResponse.mjs +2 -0
  150. package/dist/esm/api/types/DeleteGuestSessionResponseStatus.d.mts +9 -0
  151. package/dist/esm/api/types/DeleteGuestSessionResponseStatus.mjs +9 -0
  152. package/dist/esm/api/types/GetGuestSessionResponse.d.mts +13 -0
  153. package/dist/esm/api/types/GetGuestSessionResponse.mjs +2 -0
  154. package/dist/esm/api/types/GetGuestSessionResponseStatus.d.mts +9 -0
  155. package/dist/esm/api/types/GetGuestSessionResponseStatus.mjs +9 -0
  156. package/dist/esm/api/types/GoneErrorBody.d.mts +5 -0
  157. package/dist/esm/api/types/GoneErrorBody.mjs +2 -0
  158. package/dist/esm/api/types/GoneErrorBodyContent.d.mts +8 -0
  159. package/dist/esm/api/types/GoneErrorBodyContent.mjs +2 -0
  160. package/dist/esm/api/types/GoneErrorBodyContentCode.d.mts +5 -0
  161. package/dist/esm/api/types/GoneErrorBodyContentCode.mjs +5 -0
  162. package/dist/esm/api/types/GuestSessionLimits.d.mts +2 -0
  163. package/dist/esm/api/types/GuestSessionUsage.d.mts +4 -0
  164. package/dist/esm/api/types/GuestSessionUsage.mjs +2 -0
  165. package/dist/esm/api/types/NotFoundErrorBody.d.mts +5 -0
  166. package/dist/esm/api/types/NotFoundErrorBody.mjs +2 -0
  167. package/dist/esm/api/types/NotFoundErrorBodyContent.d.mts +8 -0
  168. package/dist/esm/api/types/NotFoundErrorBodyContent.mjs +2 -0
  169. package/dist/esm/api/types/NotFoundErrorBodyContentCode.d.mts +4 -0
  170. package/dist/esm/api/types/NotFoundErrorBodyContentCode.mjs +4 -0
  171. package/dist/esm/api/types/ServiceUnavailableErrorBody.d.mts +5 -0
  172. package/dist/esm/api/types/ServiceUnavailableErrorBody.mjs +2 -0
  173. package/dist/esm/api/types/ServiceUnavailableErrorBodyContent.d.mts +8 -0
  174. package/dist/esm/api/types/ServiceUnavailableErrorBodyContent.mjs +2 -0
  175. package/dist/esm/api/types/ServiceUnavailableErrorBodyContentCode.d.mts +6 -0
  176. package/dist/esm/api/types/ServiceUnavailableErrorBodyContentCode.mjs +6 -0
  177. package/dist/esm/api/types/TooManyRequestsErrorBody.d.mts +5 -0
  178. package/dist/esm/api/types/TooManyRequestsErrorBody.mjs +2 -0
  179. package/dist/esm/api/types/TooManyRequestsErrorBodyContent.d.mts +8 -0
  180. package/dist/esm/api/types/TooManyRequestsErrorBodyContent.mjs +2 -0
  181. package/dist/esm/api/types/TooManyRequestsErrorBodyContentCode.d.mts +4 -0
  182. package/dist/esm/api/types/TooManyRequestsErrorBodyContentCode.mjs +4 -0
  183. package/dist/esm/api/types/index.d.mts +19 -0
  184. package/dist/esm/api/types/index.mjs +19 -0
  185. package/dist/esm/serialization/resources/guestSession/client/requests/ClaimGuestSessionRequest.d.mts +9 -0
  186. package/dist/esm/serialization/resources/guestSession/client/requests/ClaimGuestSessionRequest.mjs +5 -0
  187. package/dist/esm/serialization/resources/guestSession/client/requests/index.d.mts +1 -0
  188. package/dist/esm/serialization/resources/guestSession/client/requests/index.mjs +1 -0
  189. package/dist/esm/serialization/types/ClaimGuestSessionResponse.d.mts +15 -0
  190. package/dist/esm/serialization/types/ClaimGuestSessionResponse.mjs +12 -0
  191. package/dist/esm/serialization/types/ClaimGuestSessionResponseStatus.d.mts +7 -0
  192. package/dist/esm/serialization/types/ClaimGuestSessionResponseStatus.mjs +3 -0
  193. package/dist/esm/serialization/types/CreateGuestSessionResponse.d.mts +2 -0
  194. package/dist/esm/serialization/types/CreateGuestSessionResponse.mjs +2 -0
  195. package/dist/esm/serialization/types/DeleteGuestSessionResponse.d.mts +12 -0
  196. package/dist/esm/serialization/types/DeleteGuestSessionResponse.mjs +9 -0
  197. package/dist/esm/serialization/types/DeleteGuestSessionResponseStatus.d.mts +7 -0
  198. package/dist/esm/serialization/types/DeleteGuestSessionResponseStatus.mjs +3 -0
  199. package/dist/esm/serialization/types/GetGuestSessionResponse.d.mts +20 -0
  200. package/dist/esm/serialization/types/GetGuestSessionResponse.mjs +16 -0
  201. package/dist/esm/serialization/types/GetGuestSessionResponseStatus.d.mts +7 -0
  202. package/dist/esm/serialization/types/GetGuestSessionResponseStatus.mjs +3 -0
  203. package/dist/esm/serialization/types/GoneErrorBody.d.mts +11 -0
  204. package/dist/esm/serialization/types/GoneErrorBody.mjs +7 -0
  205. package/dist/esm/serialization/types/GoneErrorBodyContent.d.mts +14 -0
  206. package/dist/esm/serialization/types/GoneErrorBodyContent.mjs +10 -0
  207. package/dist/esm/serialization/types/GoneErrorBodyContentCode.d.mts +7 -0
  208. package/dist/esm/serialization/types/GoneErrorBodyContentCode.mjs +3 -0
  209. package/dist/esm/serialization/types/GuestSessionLimits.d.mts +2 -0
  210. package/dist/esm/serialization/types/GuestSessionLimits.mjs +2 -0
  211. package/dist/esm/serialization/types/GuestSessionUsage.d.mts +10 -0
  212. package/dist/esm/serialization/types/GuestSessionUsage.mjs +6 -0
  213. package/dist/esm/serialization/types/NotFoundErrorBody.d.mts +11 -0
  214. package/dist/esm/serialization/types/NotFoundErrorBody.mjs +7 -0
  215. package/dist/esm/serialization/types/NotFoundErrorBodyContent.d.mts +14 -0
  216. package/dist/esm/serialization/types/NotFoundErrorBodyContent.mjs +10 -0
  217. package/dist/esm/serialization/types/NotFoundErrorBodyContentCode.d.mts +7 -0
  218. package/dist/esm/serialization/types/NotFoundErrorBodyContentCode.mjs +3 -0
  219. package/dist/esm/serialization/types/ServiceUnavailableErrorBody.d.mts +11 -0
  220. package/dist/esm/serialization/types/ServiceUnavailableErrorBody.mjs +7 -0
  221. package/dist/esm/serialization/types/ServiceUnavailableErrorBodyContent.d.mts +14 -0
  222. package/dist/esm/serialization/types/ServiceUnavailableErrorBodyContent.mjs +10 -0
  223. package/dist/esm/serialization/types/ServiceUnavailableErrorBodyContentCode.d.mts +7 -0
  224. package/dist/esm/serialization/types/ServiceUnavailableErrorBodyContentCode.mjs +3 -0
  225. package/dist/esm/serialization/types/TooManyRequestsErrorBody.d.mts +11 -0
  226. package/dist/esm/serialization/types/TooManyRequestsErrorBody.mjs +7 -0
  227. package/dist/esm/serialization/types/TooManyRequestsErrorBodyContent.d.mts +14 -0
  228. package/dist/esm/serialization/types/TooManyRequestsErrorBodyContent.mjs +10 -0
  229. package/dist/esm/serialization/types/TooManyRequestsErrorBodyContentCode.d.mts +7 -0
  230. package/dist/esm/serialization/types/TooManyRequestsErrorBodyContentCode.mjs +3 -0
  231. package/dist/esm/serialization/types/index.d.mts +19 -0
  232. package/dist/esm/serialization/types/index.mjs +19 -0
  233. package/dist/esm/version.d.mts +1 -1
  234. package/dist/esm/version.mjs +1 -1
  235. package/package.json +1 -1
  236. package/reference.md +245 -0
@@ -0,0 +1,25 @@
1
+ import type * as core from "../../../../core/index.js";
2
+ import * as FernVenusApi from "../../../index.js";
3
+ export type Error = FernVenusApi.guestSession.delete.Error.UnprocessableEntityError | FernVenusApi.guestSession.delete.Error._Unknown;
4
+ export declare namespace Error {
5
+ interface UnprocessableEntityError extends _Utils {
6
+ statusCode: 422;
7
+ content: FernVenusApi.HttpValidationError;
8
+ }
9
+ interface _Unknown extends _Utils {
10
+ statusCode: void;
11
+ content: core.Fetcher.Error;
12
+ }
13
+ interface _Utils {
14
+ _visit: <_Result>(visitor: FernVenusApi.guestSession.delete.Error._Visitor<_Result>) => _Result;
15
+ }
16
+ interface _Visitor<_Result> {
17
+ unprocessableEntityError: (value: FernVenusApi.HttpValidationError) => _Result;
18
+ _other: (value: core.Fetcher.Error) => _Result;
19
+ }
20
+ }
21
+ export declare const Error: {
22
+ readonly unprocessableEntityError: (value: FernVenusApi.HttpValidationError) => FernVenusApi.guestSession.delete.Error.UnprocessableEntityError;
23
+ readonly _unknown: (fetcherError: core.Fetcher.Error) => FernVenusApi.guestSession.delete.Error._Unknown;
24
+ readonly _visit: <_Result>(value: FernVenusApi.guestSession.delete.Error, visitor: FernVenusApi.guestSession.delete.Error._Visitor<_Result>) => _Result;
25
+ };
@@ -0,0 +1,66 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
+ if (k2 === undefined) k2 = k;
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
+ desc = { enumerable: true, get: function() { return m[k]; } };
8
+ }
9
+ Object.defineProperty(o, k2, desc);
10
+ }) : (function(o, m, k, k2) {
11
+ if (k2 === undefined) k2 = k;
12
+ o[k2] = m[k];
13
+ }));
14
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
15
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
16
+ }) : function(o, v) {
17
+ o["default"] = v;
18
+ });
19
+ var __importStar = (this && this.__importStar) || (function () {
20
+ var ownKeys = function(o) {
21
+ ownKeys = Object.getOwnPropertyNames || function (o) {
22
+ var ar = [];
23
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
24
+ return ar;
25
+ };
26
+ return ownKeys(o);
27
+ };
28
+ return function (mod) {
29
+ if (mod && mod.__esModule) return mod;
30
+ var result = {};
31
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
32
+ __setModuleDefault(result, mod);
33
+ return result;
34
+ };
35
+ })();
36
+ Object.defineProperty(exports, "__esModule", { value: true });
37
+ exports.Error = void 0;
38
+ const FernVenusApi = __importStar(require("../../../index.js"));
39
+ exports.Error = {
40
+ unprocessableEntityError: (value) => {
41
+ return {
42
+ content: value,
43
+ statusCode: 422,
44
+ _visit: function (visitor) {
45
+ return FernVenusApi.guestSession.delete.Error._visit(this, visitor);
46
+ },
47
+ };
48
+ },
49
+ _unknown: (fetcherError) => {
50
+ return {
51
+ statusCode: undefined,
52
+ content: fetcherError,
53
+ _visit: function (visitor) {
54
+ return FernVenusApi.guestSession.delete.Error._visit(this, visitor);
55
+ },
56
+ };
57
+ },
58
+ _visit: (value, visitor) => {
59
+ switch (value.statusCode) {
60
+ case 422:
61
+ return visitor.unprocessableEntityError(value.content);
62
+ default:
63
+ return visitor._other(value.content);
64
+ }
65
+ },
66
+ };
@@ -0,0 +1,43 @@
1
+ import type * as core from "../../../../core/index.js";
2
+ import * as FernVenusApi from "../../../index.js";
3
+ export type Error = FernVenusApi.guestSession.get.Error.NotFoundError | FernVenusApi.guestSession.get.Error.GoneError | FernVenusApi.guestSession.get.Error.UnprocessableEntityError | FernVenusApi.guestSession.get.Error.ServiceUnavailableError | FernVenusApi.guestSession.get.Error._Unknown;
4
+ export declare namespace Error {
5
+ interface NotFoundError extends _Utils {
6
+ statusCode: 404;
7
+ content: FernVenusApi.NotFoundErrorBody;
8
+ }
9
+ interface GoneError extends _Utils {
10
+ statusCode: 410;
11
+ content: FernVenusApi.GoneErrorBody;
12
+ }
13
+ interface UnprocessableEntityError extends _Utils {
14
+ statusCode: 422;
15
+ content: FernVenusApi.HttpValidationError;
16
+ }
17
+ interface ServiceUnavailableError extends _Utils {
18
+ statusCode: 503;
19
+ content?: unknown;
20
+ }
21
+ interface _Unknown extends _Utils {
22
+ statusCode: void;
23
+ content: core.Fetcher.Error;
24
+ }
25
+ interface _Utils {
26
+ _visit: <_Result>(visitor: FernVenusApi.guestSession.get.Error._Visitor<_Result>) => _Result;
27
+ }
28
+ interface _Visitor<_Result> {
29
+ notFoundError: (value: FernVenusApi.NotFoundErrorBody) => _Result;
30
+ goneError: (value: FernVenusApi.GoneErrorBody) => _Result;
31
+ unprocessableEntityError: (value: FernVenusApi.HttpValidationError) => _Result;
32
+ serviceUnavailableError: (value: unknown) => _Result;
33
+ _other: (value: core.Fetcher.Error) => _Result;
34
+ }
35
+ }
36
+ export declare const Error: {
37
+ readonly notFoundError: (value: FernVenusApi.NotFoundErrorBody) => FernVenusApi.guestSession.get.Error.NotFoundError;
38
+ readonly goneError: (value: FernVenusApi.GoneErrorBody) => FernVenusApi.guestSession.get.Error.GoneError;
39
+ readonly unprocessableEntityError: (value: FernVenusApi.HttpValidationError) => FernVenusApi.guestSession.get.Error.UnprocessableEntityError;
40
+ readonly serviceUnavailableError: (value?: unknown) => FernVenusApi.guestSession.get.Error.ServiceUnavailableError;
41
+ readonly _unknown: (fetcherError: core.Fetcher.Error) => FernVenusApi.guestSession.get.Error._Unknown;
42
+ readonly _visit: <_Result>(value: FernVenusApi.guestSession.get.Error, visitor: FernVenusApi.guestSession.get.Error._Visitor<_Result>) => _Result;
43
+ };
@@ -0,0 +1,99 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
+ if (k2 === undefined) k2 = k;
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
+ desc = { enumerable: true, get: function() { return m[k]; } };
8
+ }
9
+ Object.defineProperty(o, k2, desc);
10
+ }) : (function(o, m, k, k2) {
11
+ if (k2 === undefined) k2 = k;
12
+ o[k2] = m[k];
13
+ }));
14
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
15
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
16
+ }) : function(o, v) {
17
+ o["default"] = v;
18
+ });
19
+ var __importStar = (this && this.__importStar) || (function () {
20
+ var ownKeys = function(o) {
21
+ ownKeys = Object.getOwnPropertyNames || function (o) {
22
+ var ar = [];
23
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
24
+ return ar;
25
+ };
26
+ return ownKeys(o);
27
+ };
28
+ return function (mod) {
29
+ if (mod && mod.__esModule) return mod;
30
+ var result = {};
31
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
32
+ __setModuleDefault(result, mod);
33
+ return result;
34
+ };
35
+ })();
36
+ Object.defineProperty(exports, "__esModule", { value: true });
37
+ exports.Error = void 0;
38
+ const FernVenusApi = __importStar(require("../../../index.js"));
39
+ exports.Error = {
40
+ notFoundError: (value) => {
41
+ return {
42
+ content: value,
43
+ statusCode: 404,
44
+ _visit: function (visitor) {
45
+ return FernVenusApi.guestSession.get.Error._visit(this, visitor);
46
+ },
47
+ };
48
+ },
49
+ goneError: (value) => {
50
+ return {
51
+ content: value,
52
+ statusCode: 410,
53
+ _visit: function (visitor) {
54
+ return FernVenusApi.guestSession.get.Error._visit(this, visitor);
55
+ },
56
+ };
57
+ },
58
+ unprocessableEntityError: (value) => {
59
+ return {
60
+ content: value,
61
+ statusCode: 422,
62
+ _visit: function (visitor) {
63
+ return FernVenusApi.guestSession.get.Error._visit(this, visitor);
64
+ },
65
+ };
66
+ },
67
+ serviceUnavailableError: (value) => {
68
+ return {
69
+ content: value,
70
+ statusCode: 503,
71
+ _visit: function (visitor) {
72
+ return FernVenusApi.guestSession.get.Error._visit(this, visitor);
73
+ },
74
+ };
75
+ },
76
+ _unknown: (fetcherError) => {
77
+ return {
78
+ statusCode: undefined,
79
+ content: fetcherError,
80
+ _visit: function (visitor) {
81
+ return FernVenusApi.guestSession.get.Error._visit(this, visitor);
82
+ },
83
+ };
84
+ },
85
+ _visit: (value, visitor) => {
86
+ switch (value.statusCode) {
87
+ case 404:
88
+ return visitor.notFoundError(value.content);
89
+ case 410:
90
+ return visitor.goneError(value.content);
91
+ case 422:
92
+ return visitor.unprocessableEntityError(value.content);
93
+ case 503:
94
+ return visitor.serviceUnavailableError(value.content);
95
+ default:
96
+ return visitor._other(value.content);
97
+ }
98
+ },
99
+ };
@@ -1,2 +1,5 @@
1
+ export * as claim from "./claim.js";
1
2
  export * as create from "./create.js";
3
+ export * as delete from "./delete.js";
4
+ export * as get from "./get.js";
2
5
  export * from "./requests/index.js";
@@ -36,6 +36,9 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
36
36
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
37
37
  };
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.create = void 0;
39
+ exports.get = exports.delete = exports.create = exports.claim = void 0;
40
+ exports.claim = __importStar(require("./claim.js"));
40
41
  exports.create = __importStar(require("./create.js"));
42
+ exports.delete = __importStar(require("./delete.js"));
43
+ exports.get = __importStar(require("./get.js"));
41
44
  __exportStar(require("./requests/index.js"), exports);
@@ -0,0 +1,10 @@
1
+ /**
2
+ * @example
3
+ * {
4
+ * sessionId: "session_id"
5
+ * }
6
+ */
7
+ export interface ClaimGuestSessionRequest {
8
+ sessionId: string;
9
+ organizationId?: string | null;
10
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,9 @@
1
+ /**
2
+ * @example
3
+ * {
4
+ * sessionId: "session_id"
5
+ * }
6
+ */
7
+ export interface DeleteGuestSessionsSessionIdDeleteRequest {
8
+ sessionId: string;
9
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,11 @@
1
+ /**
2
+ * @example
3
+ * {
4
+ * sessionId: "session_id"
5
+ * }
6
+ */
7
+ export interface GetGuestSessionsSessionIdGetRequest {
8
+ sessionId: string;
9
+ /** The session's claim secret, from the fragment of its claimUrl. Opens the session without a token, for the claim page. */
10
+ fernClaimSecret?: string;
11
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1 +1,4 @@
1
+ export type { ClaimGuestSessionRequest } from "./ClaimGuestSessionRequest.js";
1
2
  export type { CreateGuestSessionRequest } from "./CreateGuestSessionRequest.js";
3
+ export type { DeleteGuestSessionsSessionIdDeleteRequest } from "./DeleteGuestSessionsSessionIdDeleteRequest.js";
4
+ export type { GetGuestSessionsSessionIdGetRequest } from "./GetGuestSessionsSessionIdGetRequest.js";
@@ -52,6 +52,9 @@ export declare class OrganizationClient {
52
52
  private __get;
53
53
  /**
54
54
  * Deletes an organization. Only users with admin role can delete organizations.
55
+ * Called with the provisioner token, it only works for an unclaimed
56
+ * organization that was created with that token, and returns 403 for any
57
+ * other. It also revokes that organization's API keys.
55
58
  *
56
59
  * @param {FernVenusApi.DeleteOrganizationsOrgIdDeleteRequest} request
57
60
  * @param {OrganizationClient.RequestOptions} requestOptions - Request-specific configuration.
@@ -306,6 +306,9 @@ class OrganizationClient {
306
306
  }
307
307
  /**
308
308
  * Deletes an organization. Only users with admin role can delete organizations.
309
+ * Called with the provisioner token, it only works for an unclaimed
310
+ * organization that was created with that token, and returns 403 for any
311
+ * other. It also revokes that organization's API keys.
309
312
  *
310
313
  * @param {FernVenusApi.DeleteOrganizationsOrgIdDeleteRequest} request
311
314
  * @param {OrganizationClient.RequestOptions} requestOptions - Request-specific configuration.
@@ -0,0 +1,10 @@
1
+ import type * as FernVenusApi from "../index.js";
2
+ export interface ClaimGuestSessionResponse {
3
+ sessionId: string;
4
+ organizationId: string;
5
+ status: FernVenusApi.ClaimGuestSessionResponseStatus;
6
+ claimedAt: Date;
7
+ nextSteps: string[];
8
+ /** Accepts any additional properties */
9
+ [key: string]: any;
10
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,9 @@
1
+ export declare const ClaimGuestSessionResponseStatus: {
2
+ readonly Active: "active";
3
+ readonly Claiming: "claiming";
4
+ readonly Claimed: "claimed";
5
+ readonly Expired: "expired";
6
+ readonly Deleted: "deleted";
7
+ readonly TakenDown: "takenDown";
8
+ };
9
+ export type ClaimGuestSessionResponseStatus = (typeof ClaimGuestSessionResponseStatus)[keyof typeof ClaimGuestSessionResponseStatus];
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.ClaimGuestSessionResponseStatus = void 0;
5
+ exports.ClaimGuestSessionResponseStatus = {
6
+ Active: "active",
7
+ Claiming: "claiming",
8
+ Claimed: "claimed",
9
+ Expired: "expired",
10
+ Deleted: "deleted",
11
+ TakenDown: "takenDown",
12
+ };
@@ -4,6 +4,8 @@ export interface CreateGuestSessionResponse {
4
4
  organizationId: string;
5
5
  token: string;
6
6
  claimSecret: string;
7
+ claimUrl: string;
7
8
  expiresAt: Date;
8
9
  limits: FernVenusApi.GuestSessionLimits;
10
+ operations: string[];
9
11
  }
@@ -0,0 +1,7 @@
1
+ import type * as FernVenusApi from "../index.js";
2
+ export interface DeleteGuestSessionResponse {
3
+ sessionId: string;
4
+ status: FernVenusApi.DeleteGuestSessionResponseStatus;
5
+ /** Accepts any additional properties */
6
+ [key: string]: any;
7
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,9 @@
1
+ export declare const DeleteGuestSessionResponseStatus: {
2
+ readonly Active: "active";
3
+ readonly Claiming: "claiming";
4
+ readonly Claimed: "claimed";
5
+ readonly Expired: "expired";
6
+ readonly Deleted: "deleted";
7
+ readonly TakenDown: "takenDown";
8
+ };
9
+ export type DeleteGuestSessionResponseStatus = (typeof DeleteGuestSessionResponseStatus)[keyof typeof DeleteGuestSessionResponseStatus];
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.DeleteGuestSessionResponseStatus = void 0;
5
+ exports.DeleteGuestSessionResponseStatus = {
6
+ Active: "active",
7
+ Claiming: "claiming",
8
+ Claimed: "claimed",
9
+ Expired: "expired",
10
+ Deleted: "deleted",
11
+ TakenDown: "takenDown",
12
+ };
@@ -0,0 +1,13 @@
1
+ import type * as FernVenusApi from "../index.js";
2
+ export interface GetGuestSessionResponse {
3
+ sessionId: string;
4
+ organizationId: string;
5
+ status: FernVenusApi.GetGuestSessionResponseStatus;
6
+ createdAt: Date;
7
+ expiresAt: Date;
8
+ claimedAt?: Date | null;
9
+ claimedOrganizationId?: string | null;
10
+ requestedOrgName?: string | null;
11
+ limits: FernVenusApi.GuestSessionLimits;
12
+ operations: string[];
13
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,9 @@
1
+ export declare const GetGuestSessionResponseStatus: {
2
+ readonly Active: "active";
3
+ readonly Claiming: "claiming";
4
+ readonly Claimed: "claimed";
5
+ readonly Expired: "expired";
6
+ readonly Deleted: "deleted";
7
+ readonly TakenDown: "takenDown";
8
+ };
9
+ export type GetGuestSessionResponseStatus = (typeof GetGuestSessionResponseStatus)[keyof typeof GetGuestSessionResponseStatus];
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.GetGuestSessionResponseStatus = void 0;
5
+ exports.GetGuestSessionResponseStatus = {
6
+ Active: "active",
7
+ Claiming: "claiming",
8
+ Claimed: "claimed",
9
+ Expired: "expired",
10
+ Deleted: "deleted",
11
+ TakenDown: "takenDown",
12
+ };
@@ -0,0 +1,5 @@
1
+ import type * as FernVenusApi from "../index.js";
2
+ export interface GoneErrorBody {
3
+ error: string;
4
+ content: FernVenusApi.GoneErrorBodyContent;
5
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,8 @@
1
+ import type * as FernVenusApi from "../index.js";
2
+ export interface GoneErrorBodyContent {
3
+ code: FernVenusApi.GoneErrorBodyContentCode;
4
+ retryable: boolean;
5
+ suggestedFix: string;
6
+ nextSteps?: string[];
7
+ limit?: Record<string, unknown>;
8
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,5 @@
1
+ export declare const GoneErrorBodyContentCode: {
2
+ readonly GuestSessionExpired: "GUEST_SESSION_EXPIRED";
3
+ readonly GuestSessionTakenDown: "GUEST_SESSION_TAKEN_DOWN";
4
+ };
5
+ export type GoneErrorBodyContentCode = (typeof GoneErrorBodyContentCode)[keyof typeof GoneErrorBodyContentCode];
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.GoneErrorBodyContentCode = void 0;
5
+ exports.GoneErrorBodyContentCode = {
6
+ GuestSessionExpired: "GUEST_SESSION_EXPIRED",
7
+ GuestSessionTakenDown: "GUEST_SESSION_TAKEN_DOWN",
8
+ };
@@ -1,4 +1,6 @@
1
+ import type * as FernVenusApi from "../index.js";
1
2
  export interface GuestSessionLimits {
2
3
  sdkBuilds: number;
3
4
  docsPublishes: number;
5
+ used: FernVenusApi.GuestSessionUsage;
4
6
  }
@@ -0,0 +1,4 @@
1
+ export interface GuestSessionUsage {
2
+ sdkBuilds: number;
3
+ docsPublishes: number;
4
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,5 @@
1
+ import type * as FernVenusApi from "../index.js";
2
+ export interface NotFoundErrorBody {
3
+ error: string;
4
+ content: FernVenusApi.NotFoundErrorBodyContent;
5
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,8 @@
1
+ import type * as FernVenusApi from "../index.js";
2
+ export interface NotFoundErrorBodyContent {
3
+ code: FernVenusApi.NotFoundErrorBodyContentCode;
4
+ retryable: boolean;
5
+ suggestedFix: string;
6
+ nextSteps?: string[];
7
+ limit?: Record<string, unknown>;
8
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,4 @@
1
+ export declare const NotFoundErrorBodyContentCode: {
2
+ readonly GuestSessionNotFound: "GUEST_SESSION_NOT_FOUND";
3
+ };
4
+ export type NotFoundErrorBodyContentCode = (typeof NotFoundErrorBodyContentCode)[keyof typeof NotFoundErrorBodyContentCode];
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.NotFoundErrorBodyContentCode = void 0;
5
+ exports.NotFoundErrorBodyContentCode = {
6
+ GuestSessionNotFound: "GUEST_SESSION_NOT_FOUND",
7
+ };
@@ -0,0 +1,5 @@
1
+ import type * as FernVenusApi from "../index.js";
2
+ export interface ServiceUnavailableErrorBody {
3
+ error: string;
4
+ content: FernVenusApi.ServiceUnavailableErrorBodyContent;
5
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,8 @@
1
+ import type * as FernVenusApi from "../index.js";
2
+ export interface ServiceUnavailableErrorBodyContent {
3
+ code: FernVenusApi.ServiceUnavailableErrorBodyContentCode;
4
+ retryable: boolean;
5
+ suggestedFix: string;
6
+ nextSteps?: string[];
7
+ limit?: Record<string, unknown>;
8
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,6 @@
1
+ export declare const ServiceUnavailableErrorBodyContentCode: {
2
+ readonly GuestSessionsDisabled: "GUEST_SESSIONS_DISABLED";
3
+ readonly GuestSessionNotIssued: "GUEST_SESSION_NOT_ISSUED";
4
+ readonly GuestSessionCheckFailed: "GUEST_SESSION_CHECK_FAILED";
5
+ };
6
+ export type ServiceUnavailableErrorBodyContentCode = (typeof ServiceUnavailableErrorBodyContentCode)[keyof typeof ServiceUnavailableErrorBodyContentCode];
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.ServiceUnavailableErrorBodyContentCode = void 0;
5
+ exports.ServiceUnavailableErrorBodyContentCode = {
6
+ GuestSessionsDisabled: "GUEST_SESSIONS_DISABLED",
7
+ GuestSessionNotIssued: "GUEST_SESSION_NOT_ISSUED",
8
+ GuestSessionCheckFailed: "GUEST_SESSION_CHECK_FAILED",
9
+ };
@@ -0,0 +1,5 @@
1
+ import type * as FernVenusApi from "../index.js";
2
+ export interface TooManyRequestsErrorBody {
3
+ error: string;
4
+ content: FernVenusApi.TooManyRequestsErrorBodyContent;
5
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });