@fern-api/venus-api-sdk 11.7.0 → 12.1.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 (386) hide show
  1. package/dist/cjs/BaseClient.js +2 -2
  2. package/dist/cjs/Client.d.ts +3 -0
  3. package/dist/cjs/Client.js +11 -6
  4. package/dist/cjs/api/resources/guestSession/client/Client.d.ts +53 -0
  5. package/dist/cjs/api/resources/guestSession/client/Client.js +325 -0
  6. package/dist/cjs/api/resources/guestSession/client/claim.d.ts +25 -0
  7. package/dist/cjs/api/resources/guestSession/client/claim.js +66 -0
  8. package/dist/cjs/api/resources/guestSession/client/create.d.ts +13 -1
  9. package/dist/cjs/api/resources/guestSession/client/create.js +22 -0
  10. package/dist/cjs/api/resources/guestSession/client/delete.d.ts +25 -0
  11. package/dist/cjs/api/resources/guestSession/client/delete.js +66 -0
  12. package/dist/cjs/api/resources/guestSession/client/get.d.ts +43 -0
  13. package/dist/cjs/api/resources/guestSession/client/get.js +99 -0
  14. package/dist/cjs/api/resources/guestSession/client/index.d.ts +3 -0
  15. package/dist/cjs/api/resources/guestSession/client/index.js +4 -1
  16. package/dist/cjs/api/resources/guestSession/client/requests/ClaimGuestSessionRequest.d.ts +10 -0
  17. package/dist/cjs/api/resources/guestSession/client/requests/ClaimGuestSessionRequest.js +3 -0
  18. package/dist/cjs/api/resources/guestSession/client/requests/DeleteGuestSessionsSessionIdDeleteRequest.d.ts +9 -0
  19. package/dist/cjs/api/resources/guestSession/client/requests/DeleteGuestSessionsSessionIdDeleteRequest.js +3 -0
  20. package/dist/cjs/api/resources/guestSession/client/requests/GetGuestSessionsSessionIdGetRequest.d.ts +11 -0
  21. package/dist/cjs/api/resources/guestSession/client/requests/GetGuestSessionsSessionIdGetRequest.js +3 -0
  22. package/dist/cjs/api/resources/guestSession/client/requests/index.d.ts +3 -0
  23. package/dist/cjs/api/resources/index.d.ts +3 -0
  24. package/dist/cjs/api/resources/index.js +4 -1
  25. package/dist/cjs/api/resources/internalGuestSession/client/Client.d.ts +55 -0
  26. package/dist/cjs/api/resources/internalGuestSession/client/Client.js +314 -0
  27. package/dist/cjs/api/resources/internalGuestSession/client/index.d.ts +4 -0
  28. package/dist/cjs/api/resources/internalGuestSession/client/index.js +43 -0
  29. package/dist/cjs/api/resources/internalGuestSession/client/readByOrg.d.ts +25 -0
  30. package/dist/cjs/api/resources/internalGuestSession/client/readByOrg.js +66 -0
  31. package/dist/cjs/api/resources/internalGuestSession/client/requests/ReadByOrgInternalGuestSessionsByOrgOrgIdGetRequest.d.ts +9 -0
  32. package/dist/cjs/api/resources/internalGuestSession/client/requests/ReadByOrgInternalGuestSessionsByOrgOrgIdGetRequest.js +3 -0
  33. package/dist/cjs/api/resources/internalGuestSession/client/requests/ReserveRequest.d.ts +14 -0
  34. package/dist/cjs/api/resources/internalGuestSession/client/requests/ReserveRequest.js +3 -0
  35. package/dist/cjs/api/resources/internalGuestSession/client/requests/SettleRequest.d.ts +14 -0
  36. package/dist/cjs/api/resources/internalGuestSession/client/requests/SettleRequest.js +3 -0
  37. package/dist/cjs/api/resources/internalGuestSession/client/requests/index.d.ts +3 -0
  38. package/dist/cjs/api/resources/internalGuestSession/client/requests/index.js +2 -0
  39. package/dist/cjs/api/resources/internalGuestSession/client/reserve.d.ts +25 -0
  40. package/dist/cjs/api/resources/internalGuestSession/client/reserve.js +66 -0
  41. package/dist/cjs/api/resources/internalGuestSession/client/settle.d.ts +25 -0
  42. package/dist/cjs/api/resources/internalGuestSession/client/settle.js +66 -0
  43. package/dist/cjs/api/resources/internalGuestSession/index.d.ts +2 -0
  44. package/dist/cjs/api/resources/internalGuestSession/index.js +18 -0
  45. package/dist/cjs/api/resources/internalGuestSession/types/ReserveRequestKind.d.ts +5 -0
  46. package/dist/cjs/api/resources/internalGuestSession/types/ReserveRequestKind.js +8 -0
  47. package/dist/cjs/api/resources/internalGuestSession/types/SettleRequestOutcome.d.ts +5 -0
  48. package/dist/cjs/api/resources/internalGuestSession/types/SettleRequestOutcome.js +8 -0
  49. package/dist/cjs/api/resources/internalGuestSession/types/index.d.ts +2 -0
  50. package/dist/cjs/api/resources/internalGuestSession/types/index.js +18 -0
  51. package/dist/cjs/api/types/ClaimGuestSessionResponse.d.ts +10 -0
  52. package/dist/cjs/api/types/ClaimGuestSessionResponse.js +3 -0
  53. package/dist/cjs/api/types/ClaimGuestSessionResponseStatus.d.ts +9 -0
  54. package/dist/cjs/api/types/ClaimGuestSessionResponseStatus.js +12 -0
  55. package/dist/cjs/api/types/CreateGuestSessionResponse.d.ts +2 -0
  56. package/dist/cjs/api/types/DeleteGuestSessionResponse.d.ts +7 -0
  57. package/dist/cjs/api/types/DeleteGuestSessionResponse.js +3 -0
  58. package/dist/cjs/api/types/DeleteGuestSessionResponseStatus.d.ts +9 -0
  59. package/dist/cjs/api/types/DeleteGuestSessionResponseStatus.js +12 -0
  60. package/dist/cjs/api/types/GetGuestSessionResponse.d.ts +13 -0
  61. package/dist/cjs/api/types/GetGuestSessionResponse.js +3 -0
  62. package/dist/cjs/api/types/GetGuestSessionResponseStatus.d.ts +9 -0
  63. package/dist/cjs/api/types/GetGuestSessionResponseStatus.js +12 -0
  64. package/dist/cjs/api/types/GoneErrorBody.d.ts +5 -0
  65. package/dist/cjs/api/types/GoneErrorBody.js +3 -0
  66. package/dist/cjs/api/types/GoneErrorBodyContent.d.ts +8 -0
  67. package/dist/cjs/api/types/GoneErrorBodyContent.js +3 -0
  68. package/dist/cjs/api/types/GoneErrorBodyContentCode.d.ts +5 -0
  69. package/dist/cjs/api/types/GoneErrorBodyContentCode.js +8 -0
  70. package/dist/cjs/api/types/GuestSessionLimits.d.ts +2 -0
  71. package/dist/cjs/api/types/GuestSessionUsage.d.ts +4 -0
  72. package/dist/cjs/api/types/GuestSessionUsage.js +3 -0
  73. package/dist/cjs/api/types/InternalGuestSessionResponse.d.ts +22 -0
  74. package/dist/cjs/api/types/InternalGuestSessionResponse.js +3 -0
  75. package/dist/cjs/api/types/InternalGuestSessionResponseStatus.d.ts +9 -0
  76. package/dist/cjs/api/types/InternalGuestSessionResponseStatus.js +12 -0
  77. package/dist/cjs/api/types/Limit.d.ts +6 -0
  78. package/dist/cjs/api/types/Limit.js +3 -0
  79. package/dist/cjs/api/types/NotFoundErrorBody.d.ts +5 -0
  80. package/dist/cjs/api/types/NotFoundErrorBody.js +3 -0
  81. package/dist/cjs/api/types/NotFoundErrorBodyContent.d.ts +8 -0
  82. package/dist/cjs/api/types/NotFoundErrorBodyContent.js +3 -0
  83. package/dist/cjs/api/types/NotFoundErrorBodyContentCode.d.ts +4 -0
  84. package/dist/cjs/api/types/NotFoundErrorBodyContentCode.js +7 -0
  85. package/dist/cjs/api/types/ReserveResponse.d.ts +12 -0
  86. package/dist/cjs/api/types/ReserveResponse.js +3 -0
  87. package/dist/cjs/api/types/ReserveResponseKind.d.ts +5 -0
  88. package/dist/cjs/api/types/ReserveResponseKind.js +8 -0
  89. package/dist/cjs/api/types/ReserveResponseState.d.ts +6 -0
  90. package/dist/cjs/api/types/ReserveResponseState.js +9 -0
  91. package/dist/cjs/api/types/ServiceUnavailableErrorBody.d.ts +5 -0
  92. package/dist/cjs/api/types/ServiceUnavailableErrorBody.js +3 -0
  93. package/dist/cjs/api/types/ServiceUnavailableErrorBodyContent.d.ts +8 -0
  94. package/dist/cjs/api/types/ServiceUnavailableErrorBodyContent.js +3 -0
  95. package/dist/cjs/api/types/ServiceUnavailableErrorBodyContentCode.d.ts +6 -0
  96. package/dist/cjs/api/types/ServiceUnavailableErrorBodyContentCode.js +9 -0
  97. package/dist/cjs/api/types/SettleResponse.d.ts +5 -0
  98. package/dist/cjs/api/types/SettleResponse.js +3 -0
  99. package/dist/cjs/api/types/SettleResponseReason.d.ts +5 -0
  100. package/dist/cjs/api/types/SettleResponseReason.js +8 -0
  101. package/dist/cjs/api/types/TooManyRequestsErrorBody.d.ts +5 -0
  102. package/dist/cjs/api/types/TooManyRequestsErrorBody.js +3 -0
  103. package/dist/cjs/api/types/TooManyRequestsErrorBodyContent.d.ts +8 -0
  104. package/dist/cjs/api/types/TooManyRequestsErrorBodyContent.js +3 -0
  105. package/dist/cjs/api/types/TooManyRequestsErrorBodyContentCode.d.ts +4 -0
  106. package/dist/cjs/api/types/TooManyRequestsErrorBodyContentCode.js +7 -0
  107. package/dist/cjs/api/types/index.d.ts +27 -0
  108. package/dist/cjs/api/types/index.js +27 -0
  109. package/dist/cjs/serialization/resources/guestSession/client/requests/ClaimGuestSessionRequest.d.ts +9 -0
  110. package/dist/cjs/serialization/resources/guestSession/client/requests/ClaimGuestSessionRequest.js +41 -0
  111. package/dist/cjs/serialization/resources/guestSession/client/requests/index.d.ts +1 -0
  112. package/dist/cjs/serialization/resources/guestSession/client/requests/index.js +3 -1
  113. package/dist/cjs/serialization/resources/index.d.ts +3 -0
  114. package/dist/cjs/serialization/resources/index.js +4 -1
  115. package/dist/cjs/serialization/resources/internalGuestSession/client/index.d.ts +1 -0
  116. package/dist/cjs/serialization/resources/internalGuestSession/client/index.js +17 -0
  117. package/dist/cjs/serialization/resources/internalGuestSession/client/requests/ReserveRequest.d.ts +12 -0
  118. package/dist/cjs/serialization/resources/internalGuestSession/client/requests/ReserveRequest.js +44 -0
  119. package/dist/cjs/serialization/resources/internalGuestSession/client/requests/SettleRequest.d.ts +11 -0
  120. package/dist/cjs/serialization/resources/internalGuestSession/client/requests/SettleRequest.js +43 -0
  121. package/dist/cjs/serialization/resources/internalGuestSession/client/requests/index.d.ts +2 -0
  122. package/dist/cjs/serialization/resources/internalGuestSession/client/requests/index.js +7 -0
  123. package/dist/cjs/serialization/resources/internalGuestSession/index.d.ts +2 -0
  124. package/dist/cjs/serialization/resources/internalGuestSession/index.js +18 -0
  125. package/dist/cjs/serialization/resources/internalGuestSession/types/ReserveRequestKind.d.ts +7 -0
  126. package/dist/cjs/serialization/resources/internalGuestSession/types/ReserveRequestKind.js +39 -0
  127. package/dist/cjs/serialization/resources/internalGuestSession/types/SettleRequestOutcome.d.ts +7 -0
  128. package/dist/cjs/serialization/resources/internalGuestSession/types/SettleRequestOutcome.js +39 -0
  129. package/dist/cjs/serialization/resources/internalGuestSession/types/index.d.ts +2 -0
  130. package/dist/cjs/serialization/resources/internalGuestSession/types/index.js +18 -0
  131. package/dist/cjs/serialization/types/ClaimGuestSessionResponse.d.ts +15 -0
  132. package/dist/cjs/serialization/types/ClaimGuestSessionResponse.js +48 -0
  133. package/dist/cjs/serialization/types/ClaimGuestSessionResponseStatus.d.ts +7 -0
  134. package/dist/cjs/serialization/types/ClaimGuestSessionResponseStatus.js +39 -0
  135. package/dist/cjs/serialization/types/CreateGuestSessionResponse.d.ts +2 -0
  136. package/dist/cjs/serialization/types/CreateGuestSessionResponse.js +2 -0
  137. package/dist/cjs/serialization/types/DeleteGuestSessionResponse.d.ts +12 -0
  138. package/dist/cjs/serialization/types/DeleteGuestSessionResponse.js +45 -0
  139. package/dist/cjs/serialization/types/DeleteGuestSessionResponseStatus.d.ts +7 -0
  140. package/dist/cjs/serialization/types/DeleteGuestSessionResponseStatus.js +39 -0
  141. package/dist/cjs/serialization/types/GetGuestSessionResponse.d.ts +20 -0
  142. package/dist/cjs/serialization/types/GetGuestSessionResponse.js +52 -0
  143. package/dist/cjs/serialization/types/GetGuestSessionResponseStatus.d.ts +7 -0
  144. package/dist/cjs/serialization/types/GetGuestSessionResponseStatus.js +39 -0
  145. package/dist/cjs/serialization/types/GoneErrorBody.d.ts +11 -0
  146. package/dist/cjs/serialization/types/GoneErrorBody.js +43 -0
  147. package/dist/cjs/serialization/types/GoneErrorBodyContent.d.ts +14 -0
  148. package/dist/cjs/serialization/types/GoneErrorBodyContent.js +46 -0
  149. package/dist/cjs/serialization/types/GoneErrorBodyContentCode.d.ts +7 -0
  150. package/dist/cjs/serialization/types/GoneErrorBodyContentCode.js +39 -0
  151. package/dist/cjs/serialization/types/GuestSessionLimits.d.ts +2 -0
  152. package/dist/cjs/serialization/types/GuestSessionLimits.js +2 -0
  153. package/dist/cjs/serialization/types/GuestSessionUsage.d.ts +10 -0
  154. package/dist/cjs/serialization/types/GuestSessionUsage.js +42 -0
  155. package/dist/cjs/serialization/types/InternalGuestSessionResponse.d.ts +16 -0
  156. package/dist/cjs/serialization/types/InternalGuestSessionResponse.js +48 -0
  157. package/dist/cjs/serialization/types/InternalGuestSessionResponseStatus.d.ts +7 -0
  158. package/dist/cjs/serialization/types/InternalGuestSessionResponseStatus.js +39 -0
  159. package/dist/cjs/serialization/types/Limit.d.ts +12 -0
  160. package/dist/cjs/serialization/types/Limit.js +44 -0
  161. package/dist/cjs/serialization/types/NotFoundErrorBody.d.ts +11 -0
  162. package/dist/cjs/serialization/types/NotFoundErrorBody.js +43 -0
  163. package/dist/cjs/serialization/types/NotFoundErrorBodyContent.d.ts +14 -0
  164. package/dist/cjs/serialization/types/NotFoundErrorBodyContent.js +46 -0
  165. package/dist/cjs/serialization/types/NotFoundErrorBodyContentCode.d.ts +7 -0
  166. package/dist/cjs/serialization/types/NotFoundErrorBodyContentCode.js +39 -0
  167. package/dist/cjs/serialization/types/ReserveResponse.d.ts +20 -0
  168. package/dist/cjs/serialization/types/ReserveResponse.js +52 -0
  169. package/dist/cjs/serialization/types/ReserveResponseKind.d.ts +7 -0
  170. package/dist/cjs/serialization/types/ReserveResponseKind.js +39 -0
  171. package/dist/cjs/serialization/types/ReserveResponseState.d.ts +7 -0
  172. package/dist/cjs/serialization/types/ReserveResponseState.js +39 -0
  173. package/dist/cjs/serialization/types/ServiceUnavailableErrorBody.d.ts +11 -0
  174. package/dist/cjs/serialization/types/ServiceUnavailableErrorBody.js +43 -0
  175. package/dist/cjs/serialization/types/ServiceUnavailableErrorBodyContent.d.ts +14 -0
  176. package/dist/cjs/serialization/types/ServiceUnavailableErrorBodyContent.js +46 -0
  177. package/dist/cjs/serialization/types/ServiceUnavailableErrorBodyContentCode.d.ts +7 -0
  178. package/dist/cjs/serialization/types/ServiceUnavailableErrorBodyContentCode.js +39 -0
  179. package/dist/cjs/serialization/types/SettleResponse.d.ts +11 -0
  180. package/dist/cjs/serialization/types/SettleResponse.js +43 -0
  181. package/dist/cjs/serialization/types/SettleResponseReason.d.ts +7 -0
  182. package/dist/cjs/serialization/types/SettleResponseReason.js +39 -0
  183. package/dist/cjs/serialization/types/TooManyRequestsErrorBody.d.ts +11 -0
  184. package/dist/cjs/serialization/types/TooManyRequestsErrorBody.js +43 -0
  185. package/dist/cjs/serialization/types/TooManyRequestsErrorBodyContent.d.ts +14 -0
  186. package/dist/cjs/serialization/types/TooManyRequestsErrorBodyContent.js +46 -0
  187. package/dist/cjs/serialization/types/TooManyRequestsErrorBodyContentCode.d.ts +7 -0
  188. package/dist/cjs/serialization/types/TooManyRequestsErrorBodyContentCode.js +39 -0
  189. package/dist/cjs/serialization/types/index.d.ts +27 -0
  190. package/dist/cjs/serialization/types/index.js +27 -0
  191. package/dist/cjs/version.d.ts +1 -1
  192. package/dist/cjs/version.js +1 -1
  193. package/dist/esm/BaseClient.mjs +2 -2
  194. package/dist/esm/Client.d.mts +3 -0
  195. package/dist/esm/Client.mjs +5 -0
  196. package/dist/esm/api/resources/guestSession/client/Client.d.mts +53 -0
  197. package/dist/esm/api/resources/guestSession/client/Client.mjs +326 -1
  198. package/dist/esm/api/resources/guestSession/client/claim.d.mts +25 -0
  199. package/dist/esm/api/resources/guestSession/client/claim.mjs +30 -0
  200. package/dist/esm/api/resources/guestSession/client/create.d.mts +13 -1
  201. package/dist/esm/api/resources/guestSession/client/create.mjs +22 -0
  202. package/dist/esm/api/resources/guestSession/client/delete.d.mts +25 -0
  203. package/dist/esm/api/resources/guestSession/client/delete.mjs +30 -0
  204. package/dist/esm/api/resources/guestSession/client/get.d.mts +43 -0
  205. package/dist/esm/api/resources/guestSession/client/get.mjs +63 -0
  206. package/dist/esm/api/resources/guestSession/client/index.d.mts +3 -0
  207. package/dist/esm/api/resources/guestSession/client/index.mjs +3 -0
  208. package/dist/esm/api/resources/guestSession/client/requests/ClaimGuestSessionRequest.d.mts +10 -0
  209. package/dist/esm/api/resources/guestSession/client/requests/ClaimGuestSessionRequest.mjs +2 -0
  210. package/dist/esm/api/resources/guestSession/client/requests/DeleteGuestSessionsSessionIdDeleteRequest.d.mts +9 -0
  211. package/dist/esm/api/resources/guestSession/client/requests/DeleteGuestSessionsSessionIdDeleteRequest.mjs +2 -0
  212. package/dist/esm/api/resources/guestSession/client/requests/GetGuestSessionsSessionIdGetRequest.d.mts +11 -0
  213. package/dist/esm/api/resources/guestSession/client/requests/GetGuestSessionsSessionIdGetRequest.mjs +2 -0
  214. package/dist/esm/api/resources/guestSession/client/requests/index.d.mts +3 -0
  215. package/dist/esm/api/resources/index.d.mts +3 -0
  216. package/dist/esm/api/resources/index.mjs +3 -0
  217. package/dist/esm/api/resources/internalGuestSession/client/Client.d.mts +55 -0
  218. package/dist/esm/api/resources/internalGuestSession/client/Client.mjs +277 -0
  219. package/dist/esm/api/resources/internalGuestSession/client/index.d.mts +4 -0
  220. package/dist/esm/api/resources/internalGuestSession/client/index.mjs +4 -0
  221. package/dist/esm/api/resources/internalGuestSession/client/readByOrg.d.mts +25 -0
  222. package/dist/esm/api/resources/internalGuestSession/client/readByOrg.mjs +30 -0
  223. package/dist/esm/api/resources/internalGuestSession/client/requests/ReadByOrgInternalGuestSessionsByOrgOrgIdGetRequest.d.mts +9 -0
  224. package/dist/esm/api/resources/internalGuestSession/client/requests/ReadByOrgInternalGuestSessionsByOrgOrgIdGetRequest.mjs +2 -0
  225. package/dist/esm/api/resources/internalGuestSession/client/requests/ReserveRequest.d.mts +14 -0
  226. package/dist/esm/api/resources/internalGuestSession/client/requests/ReserveRequest.mjs +2 -0
  227. package/dist/esm/api/resources/internalGuestSession/client/requests/SettleRequest.d.mts +14 -0
  228. package/dist/esm/api/resources/internalGuestSession/client/requests/SettleRequest.mjs +2 -0
  229. package/dist/esm/api/resources/internalGuestSession/client/requests/index.d.mts +3 -0
  230. package/dist/esm/api/resources/internalGuestSession/client/requests/index.mjs +1 -0
  231. package/dist/esm/api/resources/internalGuestSession/client/reserve.d.mts +25 -0
  232. package/dist/esm/api/resources/internalGuestSession/client/reserve.mjs +30 -0
  233. package/dist/esm/api/resources/internalGuestSession/client/settle.d.mts +25 -0
  234. package/dist/esm/api/resources/internalGuestSession/client/settle.mjs +30 -0
  235. package/dist/esm/api/resources/internalGuestSession/index.d.mts +2 -0
  236. package/dist/esm/api/resources/internalGuestSession/index.mjs +2 -0
  237. package/dist/esm/api/resources/internalGuestSession/types/ReserveRequestKind.d.mts +5 -0
  238. package/dist/esm/api/resources/internalGuestSession/types/ReserveRequestKind.mjs +5 -0
  239. package/dist/esm/api/resources/internalGuestSession/types/SettleRequestOutcome.d.mts +5 -0
  240. package/dist/esm/api/resources/internalGuestSession/types/SettleRequestOutcome.mjs +5 -0
  241. package/dist/esm/api/resources/internalGuestSession/types/index.d.mts +2 -0
  242. package/dist/esm/api/resources/internalGuestSession/types/index.mjs +2 -0
  243. package/dist/esm/api/types/ClaimGuestSessionResponse.d.mts +10 -0
  244. package/dist/esm/api/types/ClaimGuestSessionResponse.mjs +2 -0
  245. package/dist/esm/api/types/ClaimGuestSessionResponseStatus.d.mts +9 -0
  246. package/dist/esm/api/types/ClaimGuestSessionResponseStatus.mjs +9 -0
  247. package/dist/esm/api/types/CreateGuestSessionResponse.d.mts +2 -0
  248. package/dist/esm/api/types/DeleteGuestSessionResponse.d.mts +7 -0
  249. package/dist/esm/api/types/DeleteGuestSessionResponse.mjs +2 -0
  250. package/dist/esm/api/types/DeleteGuestSessionResponseStatus.d.mts +9 -0
  251. package/dist/esm/api/types/DeleteGuestSessionResponseStatus.mjs +9 -0
  252. package/dist/esm/api/types/GetGuestSessionResponse.d.mts +13 -0
  253. package/dist/esm/api/types/GetGuestSessionResponse.mjs +2 -0
  254. package/dist/esm/api/types/GetGuestSessionResponseStatus.d.mts +9 -0
  255. package/dist/esm/api/types/GetGuestSessionResponseStatus.mjs +9 -0
  256. package/dist/esm/api/types/GoneErrorBody.d.mts +5 -0
  257. package/dist/esm/api/types/GoneErrorBody.mjs +2 -0
  258. package/dist/esm/api/types/GoneErrorBodyContent.d.mts +8 -0
  259. package/dist/esm/api/types/GoneErrorBodyContent.mjs +2 -0
  260. package/dist/esm/api/types/GoneErrorBodyContentCode.d.mts +5 -0
  261. package/dist/esm/api/types/GoneErrorBodyContentCode.mjs +5 -0
  262. package/dist/esm/api/types/GuestSessionLimits.d.mts +2 -0
  263. package/dist/esm/api/types/GuestSessionUsage.d.mts +4 -0
  264. package/dist/esm/api/types/GuestSessionUsage.mjs +2 -0
  265. package/dist/esm/api/types/InternalGuestSessionResponse.d.mts +22 -0
  266. package/dist/esm/api/types/InternalGuestSessionResponse.mjs +2 -0
  267. package/dist/esm/api/types/InternalGuestSessionResponseStatus.d.mts +9 -0
  268. package/dist/esm/api/types/InternalGuestSessionResponseStatus.mjs +9 -0
  269. package/dist/esm/api/types/Limit.d.mts +6 -0
  270. package/dist/esm/api/types/Limit.mjs +2 -0
  271. package/dist/esm/api/types/NotFoundErrorBody.d.mts +5 -0
  272. package/dist/esm/api/types/NotFoundErrorBody.mjs +2 -0
  273. package/dist/esm/api/types/NotFoundErrorBodyContent.d.mts +8 -0
  274. package/dist/esm/api/types/NotFoundErrorBodyContent.mjs +2 -0
  275. package/dist/esm/api/types/NotFoundErrorBodyContentCode.d.mts +4 -0
  276. package/dist/esm/api/types/NotFoundErrorBodyContentCode.mjs +4 -0
  277. package/dist/esm/api/types/ReserveResponse.d.mts +12 -0
  278. package/dist/esm/api/types/ReserveResponse.mjs +2 -0
  279. package/dist/esm/api/types/ReserveResponseKind.d.mts +5 -0
  280. package/dist/esm/api/types/ReserveResponseKind.mjs +5 -0
  281. package/dist/esm/api/types/ReserveResponseState.d.mts +6 -0
  282. package/dist/esm/api/types/ReserveResponseState.mjs +6 -0
  283. package/dist/esm/api/types/ServiceUnavailableErrorBody.d.mts +5 -0
  284. package/dist/esm/api/types/ServiceUnavailableErrorBody.mjs +2 -0
  285. package/dist/esm/api/types/ServiceUnavailableErrorBodyContent.d.mts +8 -0
  286. package/dist/esm/api/types/ServiceUnavailableErrorBodyContent.mjs +2 -0
  287. package/dist/esm/api/types/ServiceUnavailableErrorBodyContentCode.d.mts +6 -0
  288. package/dist/esm/api/types/ServiceUnavailableErrorBodyContentCode.mjs +6 -0
  289. package/dist/esm/api/types/SettleResponse.d.mts +5 -0
  290. package/dist/esm/api/types/SettleResponse.mjs +2 -0
  291. package/dist/esm/api/types/SettleResponseReason.d.mts +5 -0
  292. package/dist/esm/api/types/SettleResponseReason.mjs +5 -0
  293. package/dist/esm/api/types/TooManyRequestsErrorBody.d.mts +5 -0
  294. package/dist/esm/api/types/TooManyRequestsErrorBody.mjs +2 -0
  295. package/dist/esm/api/types/TooManyRequestsErrorBodyContent.d.mts +8 -0
  296. package/dist/esm/api/types/TooManyRequestsErrorBodyContent.mjs +2 -0
  297. package/dist/esm/api/types/TooManyRequestsErrorBodyContentCode.d.mts +4 -0
  298. package/dist/esm/api/types/TooManyRequestsErrorBodyContentCode.mjs +4 -0
  299. package/dist/esm/api/types/index.d.mts +27 -0
  300. package/dist/esm/api/types/index.mjs +27 -0
  301. package/dist/esm/serialization/resources/guestSession/client/requests/ClaimGuestSessionRequest.d.mts +9 -0
  302. package/dist/esm/serialization/resources/guestSession/client/requests/ClaimGuestSessionRequest.mjs +5 -0
  303. package/dist/esm/serialization/resources/guestSession/client/requests/index.d.mts +1 -0
  304. package/dist/esm/serialization/resources/guestSession/client/requests/index.mjs +1 -0
  305. package/dist/esm/serialization/resources/index.d.mts +3 -0
  306. package/dist/esm/serialization/resources/index.mjs +3 -0
  307. package/dist/esm/serialization/resources/internalGuestSession/client/index.d.mts +1 -0
  308. package/dist/esm/serialization/resources/internalGuestSession/client/index.mjs +1 -0
  309. package/dist/esm/serialization/resources/internalGuestSession/client/requests/ReserveRequest.d.mts +12 -0
  310. package/dist/esm/serialization/resources/internalGuestSession/client/requests/ReserveRequest.mjs +8 -0
  311. package/dist/esm/serialization/resources/internalGuestSession/client/requests/SettleRequest.d.mts +11 -0
  312. package/dist/esm/serialization/resources/internalGuestSession/client/requests/SettleRequest.mjs +7 -0
  313. package/dist/esm/serialization/resources/internalGuestSession/client/requests/index.d.mts +2 -0
  314. package/dist/esm/serialization/resources/internalGuestSession/client/requests/index.mjs +2 -0
  315. package/dist/esm/serialization/resources/internalGuestSession/index.d.mts +2 -0
  316. package/dist/esm/serialization/resources/internalGuestSession/index.mjs +2 -0
  317. package/dist/esm/serialization/resources/internalGuestSession/types/ReserveRequestKind.d.mts +7 -0
  318. package/dist/esm/serialization/resources/internalGuestSession/types/ReserveRequestKind.mjs +3 -0
  319. package/dist/esm/serialization/resources/internalGuestSession/types/SettleRequestOutcome.d.mts +7 -0
  320. package/dist/esm/serialization/resources/internalGuestSession/types/SettleRequestOutcome.mjs +3 -0
  321. package/dist/esm/serialization/resources/internalGuestSession/types/index.d.mts +2 -0
  322. package/dist/esm/serialization/resources/internalGuestSession/types/index.mjs +2 -0
  323. package/dist/esm/serialization/types/ClaimGuestSessionResponse.d.mts +15 -0
  324. package/dist/esm/serialization/types/ClaimGuestSessionResponse.mjs +12 -0
  325. package/dist/esm/serialization/types/ClaimGuestSessionResponseStatus.d.mts +7 -0
  326. package/dist/esm/serialization/types/ClaimGuestSessionResponseStatus.mjs +3 -0
  327. package/dist/esm/serialization/types/CreateGuestSessionResponse.d.mts +2 -0
  328. package/dist/esm/serialization/types/CreateGuestSessionResponse.mjs +2 -0
  329. package/dist/esm/serialization/types/DeleteGuestSessionResponse.d.mts +12 -0
  330. package/dist/esm/serialization/types/DeleteGuestSessionResponse.mjs +9 -0
  331. package/dist/esm/serialization/types/DeleteGuestSessionResponseStatus.d.mts +7 -0
  332. package/dist/esm/serialization/types/DeleteGuestSessionResponseStatus.mjs +3 -0
  333. package/dist/esm/serialization/types/GetGuestSessionResponse.d.mts +20 -0
  334. package/dist/esm/serialization/types/GetGuestSessionResponse.mjs +16 -0
  335. package/dist/esm/serialization/types/GetGuestSessionResponseStatus.d.mts +7 -0
  336. package/dist/esm/serialization/types/GetGuestSessionResponseStatus.mjs +3 -0
  337. package/dist/esm/serialization/types/GoneErrorBody.d.mts +11 -0
  338. package/dist/esm/serialization/types/GoneErrorBody.mjs +7 -0
  339. package/dist/esm/serialization/types/GoneErrorBodyContent.d.mts +14 -0
  340. package/dist/esm/serialization/types/GoneErrorBodyContent.mjs +10 -0
  341. package/dist/esm/serialization/types/GoneErrorBodyContentCode.d.mts +7 -0
  342. package/dist/esm/serialization/types/GoneErrorBodyContentCode.mjs +3 -0
  343. package/dist/esm/serialization/types/GuestSessionLimits.d.mts +2 -0
  344. package/dist/esm/serialization/types/GuestSessionLimits.mjs +2 -0
  345. package/dist/esm/serialization/types/GuestSessionUsage.d.mts +10 -0
  346. package/dist/esm/serialization/types/GuestSessionUsage.mjs +6 -0
  347. package/dist/esm/serialization/types/InternalGuestSessionResponse.d.mts +16 -0
  348. package/dist/esm/serialization/types/InternalGuestSessionResponse.mjs +12 -0
  349. package/dist/esm/serialization/types/InternalGuestSessionResponseStatus.d.mts +7 -0
  350. package/dist/esm/serialization/types/InternalGuestSessionResponseStatus.mjs +3 -0
  351. package/dist/esm/serialization/types/Limit.d.mts +12 -0
  352. package/dist/esm/serialization/types/Limit.mjs +8 -0
  353. package/dist/esm/serialization/types/NotFoundErrorBody.d.mts +11 -0
  354. package/dist/esm/serialization/types/NotFoundErrorBody.mjs +7 -0
  355. package/dist/esm/serialization/types/NotFoundErrorBodyContent.d.mts +14 -0
  356. package/dist/esm/serialization/types/NotFoundErrorBodyContent.mjs +10 -0
  357. package/dist/esm/serialization/types/NotFoundErrorBodyContentCode.d.mts +7 -0
  358. package/dist/esm/serialization/types/NotFoundErrorBodyContentCode.mjs +3 -0
  359. package/dist/esm/serialization/types/ReserveResponse.d.mts +20 -0
  360. package/dist/esm/serialization/types/ReserveResponse.mjs +16 -0
  361. package/dist/esm/serialization/types/ReserveResponseKind.d.mts +7 -0
  362. package/dist/esm/serialization/types/ReserveResponseKind.mjs +3 -0
  363. package/dist/esm/serialization/types/ReserveResponseState.d.mts +7 -0
  364. package/dist/esm/serialization/types/ReserveResponseState.mjs +3 -0
  365. package/dist/esm/serialization/types/ServiceUnavailableErrorBody.d.mts +11 -0
  366. package/dist/esm/serialization/types/ServiceUnavailableErrorBody.mjs +7 -0
  367. package/dist/esm/serialization/types/ServiceUnavailableErrorBodyContent.d.mts +14 -0
  368. package/dist/esm/serialization/types/ServiceUnavailableErrorBodyContent.mjs +10 -0
  369. package/dist/esm/serialization/types/ServiceUnavailableErrorBodyContentCode.d.mts +7 -0
  370. package/dist/esm/serialization/types/ServiceUnavailableErrorBodyContentCode.mjs +3 -0
  371. package/dist/esm/serialization/types/SettleResponse.d.mts +11 -0
  372. package/dist/esm/serialization/types/SettleResponse.mjs +7 -0
  373. package/dist/esm/serialization/types/SettleResponseReason.d.mts +7 -0
  374. package/dist/esm/serialization/types/SettleResponseReason.mjs +3 -0
  375. package/dist/esm/serialization/types/TooManyRequestsErrorBody.d.mts +11 -0
  376. package/dist/esm/serialization/types/TooManyRequestsErrorBody.mjs +7 -0
  377. package/dist/esm/serialization/types/TooManyRequestsErrorBodyContent.d.mts +14 -0
  378. package/dist/esm/serialization/types/TooManyRequestsErrorBodyContent.mjs +10 -0
  379. package/dist/esm/serialization/types/TooManyRequestsErrorBodyContentCode.d.mts +7 -0
  380. package/dist/esm/serialization/types/TooManyRequestsErrorBodyContentCode.mjs +3 -0
  381. package/dist/esm/serialization/types/index.d.mts +27 -0
  382. package/dist/esm/serialization/types/index.mjs +27 -0
  383. package/dist/esm/version.d.mts +1 -1
  384. package/dist/esm/version.mjs +1 -1
  385. package/package.json +1 -1
  386. package/reference.md +384 -0
@@ -4,6 +4,9 @@ export * from "./auth/client/requests/index.mjs";
4
4
  export * as auth from "./auth/index.mjs";
5
5
  export * from "./guestSession/client/requests/index.mjs";
6
6
  export * as guestSession from "./guestSession/index.mjs";
7
+ export * from "./internalGuestSession/client/requests/index.mjs";
8
+ export * as internalGuestSession from "./internalGuestSession/index.mjs";
9
+ export * from "./internalGuestSession/types/index.mjs";
7
10
  export * from "./organization/client/requests/index.mjs";
8
11
  export * as organization from "./organization/index.mjs";
9
12
  export * from "./registry/client/requests/index.mjs";
@@ -4,6 +4,9 @@ export * from "./auth/client/requests/index.mjs";
4
4
  export * as auth from "./auth/index.mjs";
5
5
  export * from "./guestSession/client/requests/index.mjs";
6
6
  export * as guestSession from "./guestSession/index.mjs";
7
+ export * from "./internalGuestSession/client/requests/index.mjs";
8
+ export * as internalGuestSession from "./internalGuestSession/index.mjs";
9
+ export * from "./internalGuestSession/types/index.mjs";
7
10
  export * from "./organization/client/requests/index.mjs";
8
11
  export * as organization from "./organization/index.mjs";
9
12
  export * from "./registry/client/requests/index.mjs";
@@ -0,0 +1 @@
1
+ export * from "./requests/index.mjs";
@@ -0,0 +1 @@
1
+ export * from "./requests/index.mjs";
@@ -0,0 +1,12 @@
1
+ import type * as FernVenusApi from "../../../../../api/index.mjs";
2
+ import * as core from "../../../../../core/index.mjs";
3
+ import type * as serializers from "../../../../index.mjs";
4
+ import { ReserveRequestKind } from "../../types/ReserveRequestKind.mjs";
5
+ export declare const ReserveRequest: core.serialization.Schema<serializers.ReserveRequest.Raw, Omit<FernVenusApi.ReserveRequest, "sessionId">>;
6
+ export declare namespace ReserveRequest {
7
+ interface Raw {
8
+ kind: ReserveRequestKind.Raw;
9
+ idempotencyKey?: (string | null | undefined) | null;
10
+ leaseSeconds?: number | null;
11
+ }
12
+ }
@@ -0,0 +1,8 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ import * as core from "../../../../../core/index.mjs";
3
+ import { ReserveRequestKind } from "../../types/ReserveRequestKind.mjs";
4
+ export const ReserveRequest = core.serialization.object({
5
+ kind: ReserveRequestKind,
6
+ idempotencyKey: core.serialization.string().optionalNullable(),
7
+ leaseSeconds: core.serialization.number().optional(),
8
+ });
@@ -0,0 +1,11 @@
1
+ import type * as FernVenusApi from "../../../../../api/index.mjs";
2
+ import * as core from "../../../../../core/index.mjs";
3
+ import type * as serializers from "../../../../index.mjs";
4
+ import { SettleRequestOutcome } from "../../types/SettleRequestOutcome.mjs";
5
+ export declare const SettleRequest: core.serialization.Schema<serializers.SettleRequest.Raw, Omit<FernVenusApi.SettleRequest, "sessionId">>;
6
+ export declare namespace SettleRequest {
7
+ interface Raw {
8
+ reservationId: string;
9
+ outcome: SettleRequestOutcome.Raw;
10
+ }
11
+ }
@@ -0,0 +1,7 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ import * as core from "../../../../../core/index.mjs";
3
+ import { SettleRequestOutcome } from "../../types/SettleRequestOutcome.mjs";
4
+ export const SettleRequest = core.serialization.object({
5
+ reservationId: core.serialization.string(),
6
+ outcome: SettleRequestOutcome,
7
+ });
@@ -0,0 +1,2 @@
1
+ export { ReserveRequest } from "./ReserveRequest.mjs";
2
+ export { SettleRequest } from "./SettleRequest.mjs";
@@ -0,0 +1,2 @@
1
+ export { ReserveRequest } from "./ReserveRequest.mjs";
2
+ export { SettleRequest } from "./SettleRequest.mjs";
@@ -0,0 +1,2 @@
1
+ export * from "./client/index.mjs";
2
+ export * from "./types/index.mjs";
@@ -0,0 +1,2 @@
1
+ export * from "./client/index.mjs";
2
+ export * from "./types/index.mjs";
@@ -0,0 +1,7 @@
1
+ import type * as FernVenusApi from "../../../../api/index.mjs";
2
+ import * as core from "../../../../core/index.mjs";
3
+ import type * as serializers from "../../../index.mjs";
4
+ export declare const ReserveRequestKind: core.serialization.Schema<serializers.ReserveRequestKind.Raw, FernVenusApi.ReserveRequestKind>;
5
+ export declare namespace ReserveRequestKind {
6
+ type Raw = "sdkBuild" | "docsPublish";
7
+ }
@@ -0,0 +1,3 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ import * as core from "../../../../core/index.mjs";
3
+ export const ReserveRequestKind = core.serialization.enum_(["sdkBuild", "docsPublish"]);
@@ -0,0 +1,7 @@
1
+ import type * as FernVenusApi from "../../../../api/index.mjs";
2
+ import * as core from "../../../../core/index.mjs";
3
+ import type * as serializers from "../../../index.mjs";
4
+ export declare const SettleRequestOutcome: core.serialization.Schema<serializers.SettleRequestOutcome.Raw, FernVenusApi.SettleRequestOutcome>;
5
+ export declare namespace SettleRequestOutcome {
6
+ type Raw = "succeeded" | "failed";
7
+ }
@@ -0,0 +1,3 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ import * as core from "../../../../core/index.mjs";
3
+ export const SettleRequestOutcome = core.serialization.enum_(["succeeded", "failed"]);
@@ -0,0 +1,2 @@
1
+ export * from "./ReserveRequestKind.mjs";
2
+ export * from "./SettleRequestOutcome.mjs";
@@ -0,0 +1,2 @@
1
+ export * from "./ReserveRequestKind.mjs";
2
+ export * from "./SettleRequestOutcome.mjs";
@@ -0,0 +1,15 @@
1
+ import type * as FernVenusApi from "../../api/index.mjs";
2
+ import * as core from "../../core/index.mjs";
3
+ import type * as serializers from "../index.mjs";
4
+ import { ClaimGuestSessionResponseStatus } from "./ClaimGuestSessionResponseStatus.mjs";
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,12 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ import * as core from "../../core/index.mjs";
3
+ import { ClaimGuestSessionResponseStatus } from "./ClaimGuestSessionResponseStatus.mjs";
4
+ export const ClaimGuestSessionResponse = core.serialization
5
+ .object({
6
+ sessionId: core.serialization.string(),
7
+ organizationId: core.serialization.string(),
8
+ status: ClaimGuestSessionResponseStatus,
9
+ claimedAt: core.serialization.date(),
10
+ nextSteps: core.serialization.list(core.serialization.string()),
11
+ })
12
+ .passthrough();
@@ -0,0 +1,7 @@
1
+ import type * as FernVenusApi from "../../api/index.mjs";
2
+ import * as core from "../../core/index.mjs";
3
+ import type * as serializers from "../index.mjs";
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,3 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ import * as core from "../../core/index.mjs";
3
+ export const 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
  }
@@ -6,6 +6,8 @@ export const CreateGuestSessionResponse = core.serialization.object({
6
6
  organizationId: core.serialization.string(),
7
7
  token: core.serialization.string(),
8
8
  claimSecret: core.serialization.string(),
9
+ claimUrl: core.serialization.string(),
9
10
  expiresAt: core.serialization.date(),
10
11
  limits: GuestSessionLimits,
12
+ operations: core.serialization.list(core.serialization.string()),
11
13
  });
@@ -0,0 +1,12 @@
1
+ import type * as FernVenusApi from "../../api/index.mjs";
2
+ import * as core from "../../core/index.mjs";
3
+ import type * as serializers from "../index.mjs";
4
+ import { DeleteGuestSessionResponseStatus } from "./DeleteGuestSessionResponseStatus.mjs";
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,9 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ import * as core from "../../core/index.mjs";
3
+ import { DeleteGuestSessionResponseStatus } from "./DeleteGuestSessionResponseStatus.mjs";
4
+ export const DeleteGuestSessionResponse = core.serialization
5
+ .object({
6
+ sessionId: core.serialization.string(),
7
+ status: DeleteGuestSessionResponseStatus,
8
+ })
9
+ .passthrough();
@@ -0,0 +1,7 @@
1
+ import type * as FernVenusApi from "../../api/index.mjs";
2
+ import * as core from "../../core/index.mjs";
3
+ import type * as serializers from "../index.mjs";
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,3 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ import * as core from "../../core/index.mjs";
3
+ export const DeleteGuestSessionResponseStatus = core.serialization.enum_(["active", "claiming", "claimed", "expired", "deleted", "takenDown"]);
@@ -0,0 +1,20 @@
1
+ import type * as FernVenusApi from "../../api/index.mjs";
2
+ import * as core from "../../core/index.mjs";
3
+ import type * as serializers from "../index.mjs";
4
+ import { GetGuestSessionResponseStatus } from "./GetGuestSessionResponseStatus.mjs";
5
+ import { GuestSessionLimits } from "./GuestSessionLimits.mjs";
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,16 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ import * as core from "../../core/index.mjs";
3
+ import { GetGuestSessionResponseStatus } from "./GetGuestSessionResponseStatus.mjs";
4
+ import { GuestSessionLimits } from "./GuestSessionLimits.mjs";
5
+ export const GetGuestSessionResponse = core.serialization.object({
6
+ sessionId: core.serialization.string(),
7
+ organizationId: core.serialization.string(),
8
+ status: GetGuestSessionResponseStatus,
9
+ createdAt: core.serialization.date(),
10
+ expiresAt: core.serialization.date(),
11
+ claimedAt: core.serialization.date().optionalNullable(),
12
+ claimedOrganizationId: core.serialization.string().optionalNullable(),
13
+ requestedOrgName: core.serialization.string().optionalNullable(),
14
+ limits: GuestSessionLimits,
15
+ operations: core.serialization.list(core.serialization.string()),
16
+ });
@@ -0,0 +1,7 @@
1
+ import type * as FernVenusApi from "../../api/index.mjs";
2
+ import * as core from "../../core/index.mjs";
3
+ import type * as serializers from "../index.mjs";
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,3 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ import * as core from "../../core/index.mjs";
3
+ export const GetGuestSessionResponseStatus = core.serialization.enum_(["active", "claiming", "claimed", "expired", "deleted", "takenDown"]);
@@ -0,0 +1,11 @@
1
+ import type * as FernVenusApi from "../../api/index.mjs";
2
+ import * as core from "../../core/index.mjs";
3
+ import type * as serializers from "../index.mjs";
4
+ import { GoneErrorBodyContent } from "./GoneErrorBodyContent.mjs";
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,7 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ import * as core from "../../core/index.mjs";
3
+ import { GoneErrorBodyContent } from "./GoneErrorBodyContent.mjs";
4
+ export const GoneErrorBody = core.serialization.object({
5
+ error: core.serialization.string(),
6
+ content: GoneErrorBodyContent,
7
+ });
@@ -0,0 +1,14 @@
1
+ import type * as FernVenusApi from "../../api/index.mjs";
2
+ import * as core from "../../core/index.mjs";
3
+ import type * as serializers from "../index.mjs";
4
+ import { GoneErrorBodyContentCode } from "./GoneErrorBodyContentCode.mjs";
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
+ }
@@ -0,0 +1,10 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ import * as core from "../../core/index.mjs";
3
+ import { GoneErrorBodyContentCode } from "./GoneErrorBodyContentCode.mjs";
4
+ export const GoneErrorBodyContent = core.serialization.object({
5
+ code: GoneErrorBodyContentCode,
6
+ retryable: core.serialization.boolean(),
7
+ suggestedFix: core.serialization.string(),
8
+ nextSteps: core.serialization.list(core.serialization.string()).optional(),
9
+ limit: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(),
10
+ });
@@ -0,0 +1,7 @@
1
+ import type * as FernVenusApi from "../../api/index.mjs";
2
+ import * as core from "../../core/index.mjs";
3
+ import type * as serializers from "../index.mjs";
4
+ export declare const GoneErrorBodyContentCode: core.serialization.Schema<serializers.GoneErrorBodyContentCode.Raw, FernVenusApi.GoneErrorBodyContentCode>;
5
+ export declare namespace GoneErrorBodyContentCode {
6
+ type Raw = "GUEST_SESSION_EXPIRED" | "GUEST_SESSION_TAKEN_DOWN";
7
+ }
@@ -0,0 +1,3 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ import * as core from "../../core/index.mjs";
3
+ export const GoneErrorBodyContentCode = core.serialization.enum_(["GUEST_SESSION_EXPIRED", "GUEST_SESSION_TAKEN_DOWN"]);
@@ -1,10 +1,12 @@
1
1
  import type * as FernVenusApi from "../../api/index.mjs";
2
2
  import * as core from "../../core/index.mjs";
3
3
  import type * as serializers from "../index.mjs";
4
+ import { GuestSessionUsage } from "./GuestSessionUsage.mjs";
4
5
  export declare const GuestSessionLimits: core.serialization.ObjectSchema<serializers.GuestSessionLimits.Raw, FernVenusApi.GuestSessionLimits>;
5
6
  export declare namespace GuestSessionLimits {
6
7
  interface Raw {
7
8
  sdkBuilds: number;
8
9
  docsPublishes: number;
10
+ used: GuestSessionUsage.Raw;
9
11
  }
10
12
  }
@@ -1,6 +1,8 @@
1
1
  // This file was auto-generated by Fern from our API Definition.
2
2
  import * as core from "../../core/index.mjs";
3
+ import { GuestSessionUsage } from "./GuestSessionUsage.mjs";
3
4
  export const GuestSessionLimits = core.serialization.object({
4
5
  sdkBuilds: core.serialization.number(),
5
6
  docsPublishes: core.serialization.number(),
7
+ used: GuestSessionUsage,
6
8
  });
@@ -0,0 +1,10 @@
1
+ import type * as FernVenusApi from "../../api/index.mjs";
2
+ import * as core from "../../core/index.mjs";
3
+ import type * as serializers from "../index.mjs";
4
+ export declare const GuestSessionUsage: core.serialization.ObjectSchema<serializers.GuestSessionUsage.Raw, FernVenusApi.GuestSessionUsage>;
5
+ export declare namespace GuestSessionUsage {
6
+ interface Raw {
7
+ sdkBuilds: number;
8
+ docsPublishes: number;
9
+ }
10
+ }
@@ -0,0 +1,6 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ import * as core from "../../core/index.mjs";
3
+ export const GuestSessionUsage = core.serialization.object({
4
+ sdkBuilds: core.serialization.number(),
5
+ docsPublishes: core.serialization.number(),
6
+ });
@@ -0,0 +1,16 @@
1
+ import type * as FernVenusApi from "../../api/index.mjs";
2
+ import * as core from "../../core/index.mjs";
3
+ import type * as serializers from "../index.mjs";
4
+ import { InternalGuestSessionResponseStatus } from "./InternalGuestSessionResponseStatus.mjs";
5
+ export declare const InternalGuestSessionResponse: core.serialization.ObjectSchema<serializers.InternalGuestSessionResponse.Raw, FernVenusApi.InternalGuestSessionResponse>;
6
+ export declare namespace InternalGuestSessionResponse {
7
+ interface Raw {
8
+ sessionId: string;
9
+ organizationId: string;
10
+ status: InternalGuestSessionResponseStatus.Raw;
11
+ createdAt: string;
12
+ expiresAt: string;
13
+ claimedAt?: string | null;
14
+ claimedOrganizationId?: string | null;
15
+ }
16
+ }
@@ -0,0 +1,12 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ import * as core from "../../core/index.mjs";
3
+ import { InternalGuestSessionResponseStatus } from "./InternalGuestSessionResponseStatus.mjs";
4
+ export const InternalGuestSessionResponse = core.serialization.object({
5
+ sessionId: core.serialization.string(),
6
+ organizationId: core.serialization.string(),
7
+ status: InternalGuestSessionResponseStatus,
8
+ createdAt: core.serialization.date(),
9
+ expiresAt: core.serialization.date(),
10
+ claimedAt: core.serialization.date().nullable(),
11
+ claimedOrganizationId: core.serialization.string().nullable(),
12
+ });
@@ -0,0 +1,7 @@
1
+ import type * as FernVenusApi from "../../api/index.mjs";
2
+ import * as core from "../../core/index.mjs";
3
+ import type * as serializers from "../index.mjs";
4
+ export declare const InternalGuestSessionResponseStatus: core.serialization.Schema<serializers.InternalGuestSessionResponseStatus.Raw, FernVenusApi.InternalGuestSessionResponseStatus>;
5
+ export declare namespace InternalGuestSessionResponseStatus {
6
+ type Raw = "active" | "claiming" | "claimed" | "expired" | "deleted" | "takenDown";
7
+ }
@@ -0,0 +1,3 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ import * as core from "../../core/index.mjs";
3
+ export const InternalGuestSessionResponseStatus = core.serialization.enum_(["active", "claiming", "claimed", "expired", "deleted", "takenDown"]);
@@ -0,0 +1,12 @@
1
+ import type * as FernVenusApi from "../../api/index.mjs";
2
+ import * as core from "../../core/index.mjs";
3
+ import type * as serializers from "../index.mjs";
4
+ export declare const Limit: core.serialization.ObjectSchema<serializers.Limit.Raw, FernVenusApi.Limit>;
5
+ export declare namespace Limit {
6
+ interface Raw {
7
+ name: string;
8
+ max: number;
9
+ used: number;
10
+ sessionExpiresAt: string;
11
+ }
12
+ }
@@ -0,0 +1,8 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ import * as core from "../../core/index.mjs";
3
+ export const Limit = core.serialization.object({
4
+ name: core.serialization.string(),
5
+ max: core.serialization.number(),
6
+ used: core.serialization.number(),
7
+ sessionExpiresAt: core.serialization.date(),
8
+ });
@@ -0,0 +1,11 @@
1
+ import type * as FernVenusApi from "../../api/index.mjs";
2
+ import * as core from "../../core/index.mjs";
3
+ import type * as serializers from "../index.mjs";
4
+ import { NotFoundErrorBodyContent } from "./NotFoundErrorBodyContent.mjs";
5
+ export declare const NotFoundErrorBody: core.serialization.ObjectSchema<serializers.NotFoundErrorBody.Raw, FernVenusApi.NotFoundErrorBody>;
6
+ export declare namespace NotFoundErrorBody {
7
+ interface Raw {
8
+ error: string;
9
+ content: NotFoundErrorBodyContent.Raw;
10
+ }
11
+ }
@@ -0,0 +1,7 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ import * as core from "../../core/index.mjs";
3
+ import { NotFoundErrorBodyContent } from "./NotFoundErrorBodyContent.mjs";
4
+ export const NotFoundErrorBody = core.serialization.object({
5
+ error: core.serialization.string(),
6
+ content: NotFoundErrorBodyContent,
7
+ });
@@ -0,0 +1,14 @@
1
+ import type * as FernVenusApi from "../../api/index.mjs";
2
+ import * as core from "../../core/index.mjs";
3
+ import type * as serializers from "../index.mjs";
4
+ import { NotFoundErrorBodyContentCode } from "./NotFoundErrorBodyContentCode.mjs";
5
+ export declare const NotFoundErrorBodyContent: core.serialization.ObjectSchema<serializers.NotFoundErrorBodyContent.Raw, FernVenusApi.NotFoundErrorBodyContent>;
6
+ export declare namespace NotFoundErrorBodyContent {
7
+ interface Raw {
8
+ code: NotFoundErrorBodyContentCode.Raw;
9
+ retryable: boolean;
10
+ suggestedFix: string;
11
+ nextSteps?: string[] | null;
12
+ limit?: Record<string, unknown> | null;
13
+ }
14
+ }
@@ -0,0 +1,10 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ import * as core from "../../core/index.mjs";
3
+ import { NotFoundErrorBodyContentCode } from "./NotFoundErrorBodyContentCode.mjs";
4
+ export const NotFoundErrorBodyContent = core.serialization.object({
5
+ code: NotFoundErrorBodyContentCode,
6
+ retryable: core.serialization.boolean(),
7
+ suggestedFix: core.serialization.string(),
8
+ nextSteps: core.serialization.list(core.serialization.string()).optional(),
9
+ limit: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(),
10
+ });
@@ -0,0 +1,7 @@
1
+ import type * as FernVenusApi from "../../api/index.mjs";
2
+ import * as core from "../../core/index.mjs";
3
+ import type * as serializers from "../index.mjs";
4
+ export declare const NotFoundErrorBodyContentCode: core.serialization.Schema<serializers.NotFoundErrorBodyContentCode.Raw, FernVenusApi.NotFoundErrorBodyContentCode>;
5
+ export declare namespace NotFoundErrorBodyContentCode {
6
+ type Raw = "GUEST_SESSION_NOT_FOUND";
7
+ }
@@ -0,0 +1,3 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ import * as core from "../../core/index.mjs";
3
+ export const NotFoundErrorBodyContentCode = core.serialization.enum_(["GUEST_SESSION_NOT_FOUND"]);
@@ -0,0 +1,20 @@
1
+ import type * as FernVenusApi from "../../api/index.mjs";
2
+ import * as core from "../../core/index.mjs";
3
+ import type * as serializers from "../index.mjs";
4
+ import { Limit } from "./Limit.mjs";
5
+ import { ReserveResponseKind } from "./ReserveResponseKind.mjs";
6
+ import { ReserveResponseState } from "./ReserveResponseState.mjs";
7
+ export declare const ReserveResponse: core.serialization.ObjectSchema<serializers.ReserveResponse.Raw, FernVenusApi.ReserveResponse>;
8
+ export declare namespace ReserveResponse {
9
+ interface Raw {
10
+ reservationId: string;
11
+ sessionId: string;
12
+ organizationId: string;
13
+ kind: ReserveResponseKind.Raw;
14
+ replayed: boolean;
15
+ state: ReserveResponseState.Raw;
16
+ leaseExpiresAt: string;
17
+ leaseExpired: boolean;
18
+ limit: Limit.Raw;
19
+ }
20
+ }
@@ -0,0 +1,16 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ import * as core from "../../core/index.mjs";
3
+ import { Limit } from "./Limit.mjs";
4
+ import { ReserveResponseKind } from "./ReserveResponseKind.mjs";
5
+ import { ReserveResponseState } from "./ReserveResponseState.mjs";
6
+ export const ReserveResponse = core.serialization.object({
7
+ reservationId: core.serialization.string(),
8
+ sessionId: core.serialization.string(),
9
+ organizationId: core.serialization.string(),
10
+ kind: ReserveResponseKind,
11
+ replayed: core.serialization.boolean(),
12
+ state: ReserveResponseState,
13
+ leaseExpiresAt: core.serialization.date(),
14
+ leaseExpired: core.serialization.boolean(),
15
+ limit: Limit,
16
+ });
@@ -0,0 +1,7 @@
1
+ import type * as FernVenusApi from "../../api/index.mjs";
2
+ import * as core from "../../core/index.mjs";
3
+ import type * as serializers from "../index.mjs";
4
+ export declare const ReserveResponseKind: core.serialization.Schema<serializers.ReserveResponseKind.Raw, FernVenusApi.ReserveResponseKind>;
5
+ export declare namespace ReserveResponseKind {
6
+ type Raw = "sdkBuild" | "docsPublish";
7
+ }
@@ -0,0 +1,3 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ import * as core from "../../core/index.mjs";
3
+ export const ReserveResponseKind = core.serialization.enum_(["sdkBuild", "docsPublish"]);
@@ -0,0 +1,7 @@
1
+ import type * as FernVenusApi from "../../api/index.mjs";
2
+ import * as core from "../../core/index.mjs";
3
+ import type * as serializers from "../index.mjs";
4
+ export declare const ReserveResponseState: core.serialization.Schema<serializers.ReserveResponseState.Raw, FernVenusApi.ReserveResponseState>;
5
+ export declare namespace ReserveResponseState {
6
+ type Raw = "reserved" | "charged" | "released";
7
+ }
@@ -0,0 +1,3 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ import * as core from "../../core/index.mjs";
3
+ export const ReserveResponseState = core.serialization.enum_(["reserved", "charged", "released"]);
@@ -0,0 +1,11 @@
1
+ import type * as FernVenusApi from "../../api/index.mjs";
2
+ import * as core from "../../core/index.mjs";
3
+ import type * as serializers from "../index.mjs";
4
+ import { ServiceUnavailableErrorBodyContent } from "./ServiceUnavailableErrorBodyContent.mjs";
5
+ export declare const ServiceUnavailableErrorBody: core.serialization.ObjectSchema<serializers.ServiceUnavailableErrorBody.Raw, FernVenusApi.ServiceUnavailableErrorBody>;
6
+ export declare namespace ServiceUnavailableErrorBody {
7
+ interface Raw {
8
+ error: string;
9
+ content: ServiceUnavailableErrorBodyContent.Raw;
10
+ }
11
+ }