@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.mjs";
2
+ import * as FernVenusApi from "../../../index.mjs";
3
+ export type Error = FernVenusApi.guestSession.claim.Error.UnprocessableEntityError | FernVenusApi.guestSession.claim.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.claim.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.claim.Error.UnprocessableEntityError;
23
+ readonly _unknown: (fetcherError: core.Fetcher.Error) => FernVenusApi.guestSession.claim.Error._Unknown;
24
+ readonly _visit: <_Result>(value: FernVenusApi.guestSession.claim.Error, visitor: FernVenusApi.guestSession.claim.Error._Visitor<_Result>) => _Result;
25
+ };
@@ -0,0 +1,30 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ import * as FernVenusApi from "../../../index.mjs";
3
+ export const Error = {
4
+ unprocessableEntityError: (value) => {
5
+ return {
6
+ content: value,
7
+ statusCode: 422,
8
+ _visit: function (visitor) {
9
+ return FernVenusApi.guestSession.claim.Error._visit(this, visitor);
10
+ },
11
+ };
12
+ },
13
+ _unknown: (fetcherError) => {
14
+ return {
15
+ statusCode: undefined,
16
+ content: fetcherError,
17
+ _visit: function (visitor) {
18
+ return FernVenusApi.guestSession.claim.Error._visit(this, visitor);
19
+ },
20
+ };
21
+ },
22
+ _visit: (value, visitor) => {
23
+ switch (value.statusCode) {
24
+ case 422:
25
+ return visitor.unprocessableEntityError(value.content);
26
+ default:
27
+ return visitor._other(value.content);
28
+ }
29
+ },
30
+ };
@@ -1,11 +1,19 @@
1
1
  import type * as core from "../../../../core/index.mjs";
2
2
  import * as FernVenusApi from "../../../index.mjs";
3
- export type Error = FernVenusApi.guestSession.create.Error.UnprocessableEntityError | FernVenusApi.guestSession.create.Error._Unknown;
3
+ export type Error = FernVenusApi.guestSession.create.Error.UnprocessableEntityError | FernVenusApi.guestSession.create.Error.TooManyRequestsError | FernVenusApi.guestSession.create.Error.ServiceUnavailableError | FernVenusApi.guestSession.create.Error._Unknown;
4
4
  export declare namespace Error {
5
5
  interface UnprocessableEntityError extends _Utils {
6
6
  statusCode: 422;
7
7
  content: FernVenusApi.HttpValidationError;
8
8
  }
9
+ interface TooManyRequestsError extends _Utils {
10
+ statusCode: 429;
11
+ content: FernVenusApi.TooManyRequestsErrorBody;
12
+ }
13
+ interface ServiceUnavailableError extends _Utils {
14
+ statusCode: 503;
15
+ content?: unknown;
16
+ }
9
17
  interface _Unknown extends _Utils {
10
18
  statusCode: void;
11
19
  content: core.Fetcher.Error;
@@ -15,11 +23,15 @@ export declare namespace Error {
15
23
  }
16
24
  interface _Visitor<_Result> {
17
25
  unprocessableEntityError: (value: FernVenusApi.HttpValidationError) => _Result;
26
+ tooManyRequestsError: (value: FernVenusApi.TooManyRequestsErrorBody) => _Result;
27
+ serviceUnavailableError: (value: unknown) => _Result;
18
28
  _other: (value: core.Fetcher.Error) => _Result;
19
29
  }
20
30
  }
21
31
  export declare const Error: {
22
32
  readonly unprocessableEntityError: (value: FernVenusApi.HttpValidationError) => FernVenusApi.guestSession.create.Error.UnprocessableEntityError;
33
+ readonly tooManyRequestsError: (value: FernVenusApi.TooManyRequestsErrorBody) => FernVenusApi.guestSession.create.Error.TooManyRequestsError;
34
+ readonly serviceUnavailableError: (value?: unknown) => FernVenusApi.guestSession.create.Error.ServiceUnavailableError;
23
35
  readonly _unknown: (fetcherError: core.Fetcher.Error) => FernVenusApi.guestSession.create.Error._Unknown;
24
36
  readonly _visit: <_Result>(value: FernVenusApi.guestSession.create.Error, visitor: FernVenusApi.guestSession.create.Error._Visitor<_Result>) => _Result;
25
37
  };
@@ -10,6 +10,24 @@ export const Error = {
10
10
  },
11
11
  };
12
12
  },
13
+ tooManyRequestsError: (value) => {
14
+ return {
15
+ content: value,
16
+ statusCode: 429,
17
+ _visit: function (visitor) {
18
+ return FernVenusApi.guestSession.create.Error._visit(this, visitor);
19
+ },
20
+ };
21
+ },
22
+ serviceUnavailableError: (value) => {
23
+ return {
24
+ content: value,
25
+ statusCode: 503,
26
+ _visit: function (visitor) {
27
+ return FernVenusApi.guestSession.create.Error._visit(this, visitor);
28
+ },
29
+ };
30
+ },
13
31
  _unknown: (fetcherError) => {
14
32
  return {
15
33
  statusCode: undefined,
@@ -23,6 +41,10 @@ export const Error = {
23
41
  switch (value.statusCode) {
24
42
  case 422:
25
43
  return visitor.unprocessableEntityError(value.content);
44
+ case 429:
45
+ return visitor.tooManyRequestsError(value.content);
46
+ case 503:
47
+ return visitor.serviceUnavailableError(value.content);
26
48
  default:
27
49
  return visitor._other(value.content);
28
50
  }
@@ -0,0 +1,25 @@
1
+ import type * as core from "../../../../core/index.mjs";
2
+ import * as FernVenusApi from "../../../index.mjs";
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,30 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ import * as FernVenusApi from "../../../index.mjs";
3
+ export const Error = {
4
+ unprocessableEntityError: (value) => {
5
+ return {
6
+ content: value,
7
+ statusCode: 422,
8
+ _visit: function (visitor) {
9
+ return FernVenusApi.guestSession.delete.Error._visit(this, visitor);
10
+ },
11
+ };
12
+ },
13
+ _unknown: (fetcherError) => {
14
+ return {
15
+ statusCode: undefined,
16
+ content: fetcherError,
17
+ _visit: function (visitor) {
18
+ return FernVenusApi.guestSession.delete.Error._visit(this, visitor);
19
+ },
20
+ };
21
+ },
22
+ _visit: (value, visitor) => {
23
+ switch (value.statusCode) {
24
+ case 422:
25
+ return visitor.unprocessableEntityError(value.content);
26
+ default:
27
+ return visitor._other(value.content);
28
+ }
29
+ },
30
+ };
@@ -0,0 +1,43 @@
1
+ import type * as core from "../../../../core/index.mjs";
2
+ import * as FernVenusApi from "../../../index.mjs";
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,63 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ import * as FernVenusApi from "../../../index.mjs";
3
+ export const Error = {
4
+ notFoundError: (value) => {
5
+ return {
6
+ content: value,
7
+ statusCode: 404,
8
+ _visit: function (visitor) {
9
+ return FernVenusApi.guestSession.get.Error._visit(this, visitor);
10
+ },
11
+ };
12
+ },
13
+ goneError: (value) => {
14
+ return {
15
+ content: value,
16
+ statusCode: 410,
17
+ _visit: function (visitor) {
18
+ return FernVenusApi.guestSession.get.Error._visit(this, visitor);
19
+ },
20
+ };
21
+ },
22
+ unprocessableEntityError: (value) => {
23
+ return {
24
+ content: value,
25
+ statusCode: 422,
26
+ _visit: function (visitor) {
27
+ return FernVenusApi.guestSession.get.Error._visit(this, visitor);
28
+ },
29
+ };
30
+ },
31
+ serviceUnavailableError: (value) => {
32
+ return {
33
+ content: value,
34
+ statusCode: 503,
35
+ _visit: function (visitor) {
36
+ return FernVenusApi.guestSession.get.Error._visit(this, visitor);
37
+ },
38
+ };
39
+ },
40
+ _unknown: (fetcherError) => {
41
+ return {
42
+ statusCode: undefined,
43
+ content: fetcherError,
44
+ _visit: function (visitor) {
45
+ return FernVenusApi.guestSession.get.Error._visit(this, visitor);
46
+ },
47
+ };
48
+ },
49
+ _visit: (value, visitor) => {
50
+ switch (value.statusCode) {
51
+ case 404:
52
+ return visitor.notFoundError(value.content);
53
+ case 410:
54
+ return visitor.goneError(value.content);
55
+ case 422:
56
+ return visitor.unprocessableEntityError(value.content);
57
+ case 503:
58
+ return visitor.serviceUnavailableError(value.content);
59
+ default:
60
+ return visitor._other(value.content);
61
+ }
62
+ },
63
+ };
@@ -1,2 +1,5 @@
1
+ export * as claim from "./claim.mjs";
1
2
  export * as create from "./create.mjs";
3
+ export * as delete from "./delete.mjs";
4
+ export * as get from "./get.mjs";
2
5
  export * from "./requests/index.mjs";
@@ -1,2 +1,5 @@
1
+ export * as claim from "./claim.mjs";
1
2
  export * as create from "./create.mjs";
3
+ export * as delete from "./delete.mjs";
4
+ export * as get from "./get.mjs";
2
5
  export * from "./requests/index.mjs";
@@ -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,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -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,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -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,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -1 +1,4 @@
1
+ export type { ClaimGuestSessionRequest } from "./ClaimGuestSessionRequest.mjs";
1
2
  export type { CreateGuestSessionRequest } from "./CreateGuestSessionRequest.mjs";
3
+ export type { DeleteGuestSessionsSessionIdDeleteRequest } from "./DeleteGuestSessionsSessionIdDeleteRequest.mjs";
4
+ export type { GetGuestSessionsSessionIdGetRequest } from "./GetGuestSessionsSessionIdGetRequest.mjs";
@@ -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.
@@ -270,6 +270,9 @@ export class OrganizationClient {
270
270
  }
271
271
  /**
272
272
  * Deletes an organization. Only users with admin role can delete organizations.
273
+ * Called with the provisioner token, it only works for an unclaimed
274
+ * organization that was created with that token, and returns 403 for any
275
+ * other. It also revokes that organization's API keys.
273
276
  *
274
277
  * @param {FernVenusApi.DeleteOrganizationsOrgIdDeleteRequest} request
275
278
  * @param {OrganizationClient.RequestOptions} requestOptions - Request-specific configuration.
@@ -0,0 +1,10 @@
1
+ import type * as FernVenusApi from "../index.mjs";
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,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -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,9 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export const ClaimGuestSessionResponseStatus = {
3
+ Active: "active",
4
+ Claiming: "claiming",
5
+ Claimed: "claimed",
6
+ Expired: "expired",
7
+ Deleted: "deleted",
8
+ TakenDown: "takenDown",
9
+ };
@@ -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.mjs";
2
+ export interface DeleteGuestSessionResponse {
3
+ sessionId: string;
4
+ status: FernVenusApi.DeleteGuestSessionResponseStatus;
5
+ /** Accepts any additional properties */
6
+ [key: string]: any;
7
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -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,9 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export const DeleteGuestSessionResponseStatus = {
3
+ Active: "active",
4
+ Claiming: "claiming",
5
+ Claimed: "claimed",
6
+ Expired: "expired",
7
+ Deleted: "deleted",
8
+ TakenDown: "takenDown",
9
+ };
@@ -0,0 +1,13 @@
1
+ import type * as FernVenusApi from "../index.mjs";
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,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -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,9 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export const GetGuestSessionResponseStatus = {
3
+ Active: "active",
4
+ Claiming: "claiming",
5
+ Claimed: "claimed",
6
+ Expired: "expired",
7
+ Deleted: "deleted",
8
+ TakenDown: "takenDown",
9
+ };
@@ -0,0 +1,5 @@
1
+ import type * as FernVenusApi from "../index.mjs";
2
+ export interface GoneErrorBody {
3
+ error: string;
4
+ content: FernVenusApi.GoneErrorBodyContent;
5
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -0,0 +1,8 @@
1
+ import type * as FernVenusApi from "../index.mjs";
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,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -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,5 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export const GoneErrorBodyContentCode = {
3
+ GuestSessionExpired: "GUEST_SESSION_EXPIRED",
4
+ GuestSessionTakenDown: "GUEST_SESSION_TAKEN_DOWN",
5
+ };
@@ -1,4 +1,6 @@
1
+ import type * as FernVenusApi from "../index.mjs";
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,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -0,0 +1,5 @@
1
+ import type * as FernVenusApi from "../index.mjs";
2
+ export interface NotFoundErrorBody {
3
+ error: string;
4
+ content: FernVenusApi.NotFoundErrorBodyContent;
5
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -0,0 +1,8 @@
1
+ import type * as FernVenusApi from "../index.mjs";
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,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -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,4 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export const NotFoundErrorBodyContentCode = {
3
+ GuestSessionNotFound: "GUEST_SESSION_NOT_FOUND",
4
+ };
@@ -0,0 +1,5 @@
1
+ import type * as FernVenusApi from "../index.mjs";
2
+ export interface ServiceUnavailableErrorBody {
3
+ error: string;
4
+ content: FernVenusApi.ServiceUnavailableErrorBodyContent;
5
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -0,0 +1,8 @@
1
+ import type * as FernVenusApi from "../index.mjs";
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,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -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];