@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,8 @@
1
+ import type * as FernVenusApi from "../index.js";
2
+ export interface TooManyRequestsErrorBodyContent {
3
+ code: FernVenusApi.TooManyRequestsErrorBodyContentCode;
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 TooManyRequestsErrorBodyContentCode: {
2
+ readonly RateLimited: "RATE_LIMITED";
3
+ };
4
+ export type TooManyRequestsErrorBodyContentCode = (typeof TooManyRequestsErrorBodyContentCode)[keyof typeof TooManyRequestsErrorBodyContentCode];
@@ -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.TooManyRequestsErrorBodyContentCode = void 0;
5
+ exports.TooManyRequestsErrorBodyContentCode = {
6
+ RateLimited: "RATE_LIMITED",
7
+ };
@@ -1,4 +1,6 @@
1
1
  export * from "./Active.js";
2
+ export * from "./ClaimGuestSessionResponse.js";
3
+ export * from "./ClaimGuestSessionResponseStatus.js";
2
4
  export * from "./ClaimOrganizationRequest.js";
3
5
  export * from "./ClaimOrganizationResponse.js";
4
6
  export * from "./ClaimPreviewResponse.js";
@@ -8,14 +10,25 @@ export * from "./ClaimTokenResponse.js";
8
10
  export * from "./CreateGuestSessionResponse.js";
9
11
  export * from "./CreateOrganizationResponse.js";
10
12
  export * from "./CreateTokenResponse.js";
13
+ export * from "./DeleteGuestSessionResponse.js";
14
+ export * from "./DeleteGuestSessionResponseStatus.js";
11
15
  export * from "./Expired.js";
16
+ export * from "./GetGuestSessionResponse.js";
17
+ export * from "./GetGuestSessionResponseStatus.js";
18
+ export * from "./GoneErrorBody.js";
19
+ export * from "./GoneErrorBodyContent.js";
20
+ export * from "./GoneErrorBodyContentCode.js";
12
21
  export * from "./GuestSessionLimits.js";
22
+ export * from "./GuestSessionUsage.js";
13
23
  export * from "./HttpValidationError.js";
14
24
  export * from "./JwtResponse.js";
15
25
  export * from "./LightweightUser.js";
16
26
  export * from "./LinkAccountsResponse.js";
17
27
  export * from "./Maven.js";
18
28
  export * from "./MavenRegistryToken.js";
29
+ export * from "./NotFoundErrorBody.js";
30
+ export * from "./NotFoundErrorBodyContent.js";
31
+ export * from "./NotFoundErrorBodyContentCode.js";
19
32
  export * from "./Npm.js";
20
33
  export * from "./NpmRegistryToken.js";
21
34
  export * from "./Organization.js";
@@ -26,8 +39,14 @@ export * from "./PypiRegistryToken.js";
26
39
  export * from "./RegistryToken.js";
27
40
  export * from "./RegistryTokens.js";
28
41
  export * from "./Revoked.js";
42
+ export * from "./ServiceUnavailableErrorBody.js";
43
+ export * from "./ServiceUnavailableErrorBodyContent.js";
44
+ export * from "./ServiceUnavailableErrorBodyContentCode.js";
29
45
  export * from "./TokenMetadata.js";
30
46
  export * from "./TokenStatus.js";
47
+ export * from "./TooManyRequestsErrorBody.js";
48
+ export * from "./TooManyRequestsErrorBodyContent.js";
49
+ export * from "./TooManyRequestsErrorBodyContentCode.js";
31
50
  export * from "./User.js";
32
51
  export * from "./ValidationError.js";
33
52
  export * from "./ValidationErrorLocItem.js";
@@ -15,6 +15,8 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./Active.js"), exports);
18
+ __exportStar(require("./ClaimGuestSessionResponse.js"), exports);
19
+ __exportStar(require("./ClaimGuestSessionResponseStatus.js"), exports);
18
20
  __exportStar(require("./ClaimOrganizationRequest.js"), exports);
19
21
  __exportStar(require("./ClaimOrganizationResponse.js"), exports);
20
22
  __exportStar(require("./ClaimPreviewResponse.js"), exports);
@@ -24,14 +26,25 @@ __exportStar(require("./ClaimTokenResponse.js"), exports);
24
26
  __exportStar(require("./CreateGuestSessionResponse.js"), exports);
25
27
  __exportStar(require("./CreateOrganizationResponse.js"), exports);
26
28
  __exportStar(require("./CreateTokenResponse.js"), exports);
29
+ __exportStar(require("./DeleteGuestSessionResponse.js"), exports);
30
+ __exportStar(require("./DeleteGuestSessionResponseStatus.js"), exports);
27
31
  __exportStar(require("./Expired.js"), exports);
32
+ __exportStar(require("./GetGuestSessionResponse.js"), exports);
33
+ __exportStar(require("./GetGuestSessionResponseStatus.js"), exports);
34
+ __exportStar(require("./GoneErrorBody.js"), exports);
35
+ __exportStar(require("./GoneErrorBodyContent.js"), exports);
36
+ __exportStar(require("./GoneErrorBodyContentCode.js"), exports);
28
37
  __exportStar(require("./GuestSessionLimits.js"), exports);
38
+ __exportStar(require("./GuestSessionUsage.js"), exports);
29
39
  __exportStar(require("./HttpValidationError.js"), exports);
30
40
  __exportStar(require("./JwtResponse.js"), exports);
31
41
  __exportStar(require("./LightweightUser.js"), exports);
32
42
  __exportStar(require("./LinkAccountsResponse.js"), exports);
33
43
  __exportStar(require("./Maven.js"), exports);
34
44
  __exportStar(require("./MavenRegistryToken.js"), exports);
45
+ __exportStar(require("./NotFoundErrorBody.js"), exports);
46
+ __exportStar(require("./NotFoundErrorBodyContent.js"), exports);
47
+ __exportStar(require("./NotFoundErrorBodyContentCode.js"), exports);
35
48
  __exportStar(require("./Npm.js"), exports);
36
49
  __exportStar(require("./NpmRegistryToken.js"), exports);
37
50
  __exportStar(require("./Organization.js"), exports);
@@ -42,8 +55,14 @@ __exportStar(require("./PypiRegistryToken.js"), exports);
42
55
  __exportStar(require("./RegistryToken.js"), exports);
43
56
  __exportStar(require("./RegistryTokens.js"), exports);
44
57
  __exportStar(require("./Revoked.js"), exports);
58
+ __exportStar(require("./ServiceUnavailableErrorBody.js"), exports);
59
+ __exportStar(require("./ServiceUnavailableErrorBodyContent.js"), exports);
60
+ __exportStar(require("./ServiceUnavailableErrorBodyContentCode.js"), exports);
45
61
  __exportStar(require("./TokenMetadata.js"), exports);
46
62
  __exportStar(require("./TokenStatus.js"), exports);
63
+ __exportStar(require("./TooManyRequestsErrorBody.js"), exports);
64
+ __exportStar(require("./TooManyRequestsErrorBodyContent.js"), exports);
65
+ __exportStar(require("./TooManyRequestsErrorBodyContentCode.js"), exports);
47
66
  __exportStar(require("./User.js"), exports);
48
67
  __exportStar(require("./ValidationError.js"), exports);
49
68
  __exportStar(require("./ValidationErrorLocItem.js"), exports);
@@ -0,0 +1,9 @@
1
+ import type * as FernVenusApi from "../../../../../api/index.js";
2
+ import * as core from "../../../../../core/index.js";
3
+ import type * as serializers from "../../../../index.js";
4
+ export declare const ClaimGuestSessionRequest: core.serialization.Schema<serializers.ClaimGuestSessionRequest.Raw, Omit<FernVenusApi.ClaimGuestSessionRequest, "sessionId">>;
5
+ export declare namespace ClaimGuestSessionRequest {
6
+ interface Raw {
7
+ organizationId?: (string | null | undefined) | null;
8
+ }
9
+ }
@@ -0,0 +1,41 @@
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.ClaimGuestSessionRequest = void 0;
38
+ const core = __importStar(require("../../../../../core/index.js"));
39
+ exports.ClaimGuestSessionRequest = core.serialization.object({
40
+ organizationId: core.serialization.string().optionalNullable(),
41
+ });
@@ -1 +1,2 @@
1
+ export { ClaimGuestSessionRequest } from "./ClaimGuestSessionRequest.js";
1
2
  export { CreateGuestSessionRequest } from "./CreateGuestSessionRequest.js";
@@ -1,5 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CreateGuestSessionRequest = void 0;
3
+ exports.CreateGuestSessionRequest = exports.ClaimGuestSessionRequest = void 0;
4
+ var ClaimGuestSessionRequest_js_1 = require("./ClaimGuestSessionRequest.js");
5
+ Object.defineProperty(exports, "ClaimGuestSessionRequest", { enumerable: true, get: function () { return ClaimGuestSessionRequest_js_1.ClaimGuestSessionRequest; } });
4
6
  var CreateGuestSessionRequest_js_1 = require("./CreateGuestSessionRequest.js");
5
7
  Object.defineProperty(exports, "CreateGuestSessionRequest", { enumerable: true, get: function () { return CreateGuestSessionRequest_js_1.CreateGuestSessionRequest; } });
@@ -0,0 +1,15 @@
1
+ import type * as FernVenusApi from "../../api/index.js";
2
+ import * as core from "../../core/index.js";
3
+ import type * as serializers from "../index.js";
4
+ import { ClaimGuestSessionResponseStatus } from "./ClaimGuestSessionResponseStatus.js";
5
+ export declare const ClaimGuestSessionResponse: core.serialization.ObjectSchema<serializers.ClaimGuestSessionResponse.Raw, FernVenusApi.ClaimGuestSessionResponse>;
6
+ export declare namespace ClaimGuestSessionResponse {
7
+ interface Raw {
8
+ sessionId: string;
9
+ organizationId: string;
10
+ status: ClaimGuestSessionResponseStatus.Raw;
11
+ claimedAt: string;
12
+ nextSteps: string[];
13
+ [key: string]: any;
14
+ }
15
+ }
@@ -0,0 +1,48 @@
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.ClaimGuestSessionResponse = void 0;
38
+ const core = __importStar(require("../../core/index.js"));
39
+ const ClaimGuestSessionResponseStatus_js_1 = require("./ClaimGuestSessionResponseStatus.js");
40
+ exports.ClaimGuestSessionResponse = core.serialization
41
+ .object({
42
+ sessionId: core.serialization.string(),
43
+ organizationId: core.serialization.string(),
44
+ status: ClaimGuestSessionResponseStatus_js_1.ClaimGuestSessionResponseStatus,
45
+ claimedAt: core.serialization.date(),
46
+ nextSteps: core.serialization.list(core.serialization.string()),
47
+ })
48
+ .passthrough();
@@ -0,0 +1,7 @@
1
+ import type * as FernVenusApi from "../../api/index.js";
2
+ import * as core from "../../core/index.js";
3
+ import type * as serializers from "../index.js";
4
+ export declare const ClaimGuestSessionResponseStatus: core.serialization.Schema<serializers.ClaimGuestSessionResponseStatus.Raw, FernVenusApi.ClaimGuestSessionResponseStatus>;
5
+ export declare namespace ClaimGuestSessionResponseStatus {
6
+ type Raw = "active" | "claiming" | "claimed" | "expired" | "deleted" | "takenDown";
7
+ }
@@ -0,0 +1,39 @@
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.ClaimGuestSessionResponseStatus = void 0;
38
+ const core = __importStar(require("../../core/index.js"));
39
+ exports.ClaimGuestSessionResponseStatus = core.serialization.enum_(["active", "claiming", "claimed", "expired", "deleted", "takenDown"]);
@@ -9,7 +9,9 @@ export declare namespace CreateGuestSessionResponse {
9
9
  organizationId: string;
10
10
  token: string;
11
11
  claimSecret: string;
12
+ claimUrl: string;
12
13
  expiresAt: string;
13
14
  limits: GuestSessionLimits.Raw;
15
+ operations: string[];
14
16
  }
15
17
  }
@@ -42,6 +42,8 @@ exports.CreateGuestSessionResponse = core.serialization.object({
42
42
  organizationId: core.serialization.string(),
43
43
  token: core.serialization.string(),
44
44
  claimSecret: core.serialization.string(),
45
+ claimUrl: core.serialization.string(),
45
46
  expiresAt: core.serialization.date(),
46
47
  limits: GuestSessionLimits_js_1.GuestSessionLimits,
48
+ operations: core.serialization.list(core.serialization.string()),
47
49
  });
@@ -0,0 +1,12 @@
1
+ import type * as FernVenusApi from "../../api/index.js";
2
+ import * as core from "../../core/index.js";
3
+ import type * as serializers from "../index.js";
4
+ import { DeleteGuestSessionResponseStatus } from "./DeleteGuestSessionResponseStatus.js";
5
+ export declare const DeleteGuestSessionResponse: core.serialization.ObjectSchema<serializers.DeleteGuestSessionResponse.Raw, FernVenusApi.DeleteGuestSessionResponse>;
6
+ export declare namespace DeleteGuestSessionResponse {
7
+ interface Raw {
8
+ sessionId: string;
9
+ status: DeleteGuestSessionResponseStatus.Raw;
10
+ [key: string]: any;
11
+ }
12
+ }
@@ -0,0 +1,45 @@
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.DeleteGuestSessionResponse = void 0;
38
+ const core = __importStar(require("../../core/index.js"));
39
+ const DeleteGuestSessionResponseStatus_js_1 = require("./DeleteGuestSessionResponseStatus.js");
40
+ exports.DeleteGuestSessionResponse = core.serialization
41
+ .object({
42
+ sessionId: core.serialization.string(),
43
+ status: DeleteGuestSessionResponseStatus_js_1.DeleteGuestSessionResponseStatus,
44
+ })
45
+ .passthrough();
@@ -0,0 +1,7 @@
1
+ import type * as FernVenusApi from "../../api/index.js";
2
+ import * as core from "../../core/index.js";
3
+ import type * as serializers from "../index.js";
4
+ export declare const DeleteGuestSessionResponseStatus: core.serialization.Schema<serializers.DeleteGuestSessionResponseStatus.Raw, FernVenusApi.DeleteGuestSessionResponseStatus>;
5
+ export declare namespace DeleteGuestSessionResponseStatus {
6
+ type Raw = "active" | "claiming" | "claimed" | "expired" | "deleted" | "takenDown";
7
+ }
@@ -0,0 +1,39 @@
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.DeleteGuestSessionResponseStatus = void 0;
38
+ const core = __importStar(require("../../core/index.js"));
39
+ exports.DeleteGuestSessionResponseStatus = core.serialization.enum_(["active", "claiming", "claimed", "expired", "deleted", "takenDown"]);
@@ -0,0 +1,20 @@
1
+ import type * as FernVenusApi from "../../api/index.js";
2
+ import * as core from "../../core/index.js";
3
+ import type * as serializers from "../index.js";
4
+ import { GetGuestSessionResponseStatus } from "./GetGuestSessionResponseStatus.js";
5
+ import { GuestSessionLimits } from "./GuestSessionLimits.js";
6
+ export declare const GetGuestSessionResponse: core.serialization.ObjectSchema<serializers.GetGuestSessionResponse.Raw, FernVenusApi.GetGuestSessionResponse>;
7
+ export declare namespace GetGuestSessionResponse {
8
+ interface Raw {
9
+ sessionId: string;
10
+ organizationId: string;
11
+ status: GetGuestSessionResponseStatus.Raw;
12
+ createdAt: string;
13
+ expiresAt: string;
14
+ claimedAt?: (string | null | undefined) | null;
15
+ claimedOrganizationId?: (string | null | undefined) | null;
16
+ requestedOrgName?: (string | null | undefined) | null;
17
+ limits: GuestSessionLimits.Raw;
18
+ operations: string[];
19
+ }
20
+ }
@@ -0,0 +1,52 @@
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.GetGuestSessionResponse = void 0;
38
+ const core = __importStar(require("../../core/index.js"));
39
+ const GetGuestSessionResponseStatus_js_1 = require("./GetGuestSessionResponseStatus.js");
40
+ const GuestSessionLimits_js_1 = require("./GuestSessionLimits.js");
41
+ exports.GetGuestSessionResponse = core.serialization.object({
42
+ sessionId: core.serialization.string(),
43
+ organizationId: core.serialization.string(),
44
+ status: GetGuestSessionResponseStatus_js_1.GetGuestSessionResponseStatus,
45
+ createdAt: core.serialization.date(),
46
+ expiresAt: core.serialization.date(),
47
+ claimedAt: core.serialization.date().optionalNullable(),
48
+ claimedOrganizationId: core.serialization.string().optionalNullable(),
49
+ requestedOrgName: core.serialization.string().optionalNullable(),
50
+ limits: GuestSessionLimits_js_1.GuestSessionLimits,
51
+ operations: core.serialization.list(core.serialization.string()),
52
+ });
@@ -0,0 +1,7 @@
1
+ import type * as FernVenusApi from "../../api/index.js";
2
+ import * as core from "../../core/index.js";
3
+ import type * as serializers from "../index.js";
4
+ export declare const GetGuestSessionResponseStatus: core.serialization.Schema<serializers.GetGuestSessionResponseStatus.Raw, FernVenusApi.GetGuestSessionResponseStatus>;
5
+ export declare namespace GetGuestSessionResponseStatus {
6
+ type Raw = "active" | "claiming" | "claimed" | "expired" | "deleted" | "takenDown";
7
+ }
@@ -0,0 +1,39 @@
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.GetGuestSessionResponseStatus = void 0;
38
+ const core = __importStar(require("../../core/index.js"));
39
+ exports.GetGuestSessionResponseStatus = core.serialization.enum_(["active", "claiming", "claimed", "expired", "deleted", "takenDown"]);
@@ -0,0 +1,11 @@
1
+ import type * as FernVenusApi from "../../api/index.js";
2
+ import * as core from "../../core/index.js";
3
+ import type * as serializers from "../index.js";
4
+ import { GoneErrorBodyContent } from "./GoneErrorBodyContent.js";
5
+ export declare const GoneErrorBody: core.serialization.ObjectSchema<serializers.GoneErrorBody.Raw, FernVenusApi.GoneErrorBody>;
6
+ export declare namespace GoneErrorBody {
7
+ interface Raw {
8
+ error: string;
9
+ content: GoneErrorBodyContent.Raw;
10
+ }
11
+ }
@@ -0,0 +1,43 @@
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.GoneErrorBody = void 0;
38
+ const core = __importStar(require("../../core/index.js"));
39
+ const GoneErrorBodyContent_js_1 = require("./GoneErrorBodyContent.js");
40
+ exports.GoneErrorBody = core.serialization.object({
41
+ error: core.serialization.string(),
42
+ content: GoneErrorBodyContent_js_1.GoneErrorBodyContent,
43
+ });
@@ -0,0 +1,14 @@
1
+ import type * as FernVenusApi from "../../api/index.js";
2
+ import * as core from "../../core/index.js";
3
+ import type * as serializers from "../index.js";
4
+ import { GoneErrorBodyContentCode } from "./GoneErrorBodyContentCode.js";
5
+ export declare const GoneErrorBodyContent: core.serialization.ObjectSchema<serializers.GoneErrorBodyContent.Raw, FernVenusApi.GoneErrorBodyContent>;
6
+ export declare namespace GoneErrorBodyContent {
7
+ interface Raw {
8
+ code: GoneErrorBodyContentCode.Raw;
9
+ retryable: boolean;
10
+ suggestedFix: string;
11
+ nextSteps?: string[] | null;
12
+ limit?: Record<string, unknown> | null;
13
+ }
14
+ }