@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.
- package/dist/cjs/BaseClient.js +2 -2
- package/dist/cjs/Client.d.ts +3 -0
- package/dist/cjs/Client.js +11 -6
- package/dist/cjs/api/resources/guestSession/client/Client.d.ts +53 -0
- package/dist/cjs/api/resources/guestSession/client/Client.js +325 -0
- package/dist/cjs/api/resources/guestSession/client/claim.d.ts +25 -0
- package/dist/cjs/api/resources/guestSession/client/claim.js +66 -0
- package/dist/cjs/api/resources/guestSession/client/create.d.ts +13 -1
- package/dist/cjs/api/resources/guestSession/client/create.js +22 -0
- package/dist/cjs/api/resources/guestSession/client/delete.d.ts +25 -0
- package/dist/cjs/api/resources/guestSession/client/delete.js +66 -0
- package/dist/cjs/api/resources/guestSession/client/get.d.ts +43 -0
- package/dist/cjs/api/resources/guestSession/client/get.js +99 -0
- package/dist/cjs/api/resources/guestSession/client/index.d.ts +3 -0
- package/dist/cjs/api/resources/guestSession/client/index.js +4 -1
- package/dist/cjs/api/resources/guestSession/client/requests/ClaimGuestSessionRequest.d.ts +10 -0
- package/dist/cjs/api/resources/guestSession/client/requests/ClaimGuestSessionRequest.js +3 -0
- package/dist/cjs/api/resources/guestSession/client/requests/DeleteGuestSessionsSessionIdDeleteRequest.d.ts +9 -0
- package/dist/cjs/api/resources/guestSession/client/requests/DeleteGuestSessionsSessionIdDeleteRequest.js +3 -0
- package/dist/cjs/api/resources/guestSession/client/requests/GetGuestSessionsSessionIdGetRequest.d.ts +11 -0
- package/dist/cjs/api/resources/guestSession/client/requests/GetGuestSessionsSessionIdGetRequest.js +3 -0
- package/dist/cjs/api/resources/guestSession/client/requests/index.d.ts +3 -0
- package/dist/cjs/api/resources/index.d.ts +3 -0
- package/dist/cjs/api/resources/index.js +4 -1
- package/dist/cjs/api/resources/internalGuestSession/client/Client.d.ts +55 -0
- package/dist/cjs/api/resources/internalGuestSession/client/Client.js +314 -0
- package/dist/cjs/api/resources/internalGuestSession/client/index.d.ts +4 -0
- package/dist/cjs/api/resources/internalGuestSession/client/index.js +43 -0
- package/dist/cjs/api/resources/internalGuestSession/client/readByOrg.d.ts +25 -0
- package/dist/cjs/api/resources/internalGuestSession/client/readByOrg.js +66 -0
- package/dist/cjs/api/resources/internalGuestSession/client/requests/ReadByOrgInternalGuestSessionsByOrgOrgIdGetRequest.d.ts +9 -0
- package/dist/cjs/api/resources/internalGuestSession/client/requests/ReadByOrgInternalGuestSessionsByOrgOrgIdGetRequest.js +3 -0
- package/dist/cjs/api/resources/internalGuestSession/client/requests/ReserveRequest.d.ts +14 -0
- package/dist/cjs/api/resources/internalGuestSession/client/requests/ReserveRequest.js +3 -0
- package/dist/cjs/api/resources/internalGuestSession/client/requests/SettleRequest.d.ts +14 -0
- package/dist/cjs/api/resources/internalGuestSession/client/requests/SettleRequest.js +3 -0
- package/dist/cjs/api/resources/internalGuestSession/client/requests/index.d.ts +3 -0
- package/dist/cjs/api/resources/internalGuestSession/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/internalGuestSession/client/reserve.d.ts +25 -0
- package/dist/cjs/api/resources/internalGuestSession/client/reserve.js +66 -0
- package/dist/cjs/api/resources/internalGuestSession/client/settle.d.ts +25 -0
- package/dist/cjs/api/resources/internalGuestSession/client/settle.js +66 -0
- package/dist/cjs/api/resources/internalGuestSession/index.d.ts +2 -0
- package/dist/cjs/api/resources/internalGuestSession/index.js +18 -0
- package/dist/cjs/api/resources/internalGuestSession/types/ReserveRequestKind.d.ts +5 -0
- package/dist/cjs/api/resources/internalGuestSession/types/ReserveRequestKind.js +8 -0
- package/dist/cjs/api/resources/internalGuestSession/types/SettleRequestOutcome.d.ts +5 -0
- package/dist/cjs/api/resources/internalGuestSession/types/SettleRequestOutcome.js +8 -0
- package/dist/cjs/api/resources/internalGuestSession/types/index.d.ts +2 -0
- package/dist/cjs/api/resources/internalGuestSession/types/index.js +18 -0
- package/dist/cjs/api/types/ClaimGuestSessionResponse.d.ts +10 -0
- package/dist/cjs/api/types/ClaimGuestSessionResponse.js +3 -0
- package/dist/cjs/api/types/ClaimGuestSessionResponseStatus.d.ts +9 -0
- package/dist/cjs/api/types/ClaimGuestSessionResponseStatus.js +12 -0
- package/dist/cjs/api/types/CreateGuestSessionResponse.d.ts +2 -0
- package/dist/cjs/api/types/DeleteGuestSessionResponse.d.ts +7 -0
- package/dist/cjs/api/types/DeleteGuestSessionResponse.js +3 -0
- package/dist/cjs/api/types/DeleteGuestSessionResponseStatus.d.ts +9 -0
- package/dist/cjs/api/types/DeleteGuestSessionResponseStatus.js +12 -0
- package/dist/cjs/api/types/GetGuestSessionResponse.d.ts +13 -0
- package/dist/cjs/api/types/GetGuestSessionResponse.js +3 -0
- package/dist/cjs/api/types/GetGuestSessionResponseStatus.d.ts +9 -0
- package/dist/cjs/api/types/GetGuestSessionResponseStatus.js +12 -0
- package/dist/cjs/api/types/GoneErrorBody.d.ts +5 -0
- package/dist/cjs/api/types/GoneErrorBody.js +3 -0
- package/dist/cjs/api/types/GoneErrorBodyContent.d.ts +8 -0
- package/dist/cjs/api/types/GoneErrorBodyContent.js +3 -0
- package/dist/cjs/api/types/GoneErrorBodyContentCode.d.ts +5 -0
- package/dist/cjs/api/types/GoneErrorBodyContentCode.js +8 -0
- package/dist/cjs/api/types/GuestSessionLimits.d.ts +2 -0
- package/dist/cjs/api/types/GuestSessionUsage.d.ts +4 -0
- package/dist/cjs/api/types/GuestSessionUsage.js +3 -0
- package/dist/cjs/api/types/InternalGuestSessionResponse.d.ts +22 -0
- package/dist/cjs/api/types/InternalGuestSessionResponse.js +3 -0
- package/dist/cjs/api/types/InternalGuestSessionResponseStatus.d.ts +9 -0
- package/dist/cjs/api/types/InternalGuestSessionResponseStatus.js +12 -0
- package/dist/cjs/api/types/Limit.d.ts +6 -0
- package/dist/cjs/api/types/Limit.js +3 -0
- package/dist/cjs/api/types/NotFoundErrorBody.d.ts +5 -0
- package/dist/cjs/api/types/NotFoundErrorBody.js +3 -0
- package/dist/cjs/api/types/NotFoundErrorBodyContent.d.ts +8 -0
- package/dist/cjs/api/types/NotFoundErrorBodyContent.js +3 -0
- package/dist/cjs/api/types/NotFoundErrorBodyContentCode.d.ts +4 -0
- package/dist/cjs/api/types/NotFoundErrorBodyContentCode.js +7 -0
- package/dist/cjs/api/types/ReserveResponse.d.ts +12 -0
- package/dist/cjs/api/types/ReserveResponse.js +3 -0
- package/dist/cjs/api/types/ReserveResponseKind.d.ts +5 -0
- package/dist/cjs/api/types/ReserveResponseKind.js +8 -0
- package/dist/cjs/api/types/ReserveResponseState.d.ts +6 -0
- package/dist/cjs/api/types/ReserveResponseState.js +9 -0
- package/dist/cjs/api/types/ServiceUnavailableErrorBody.d.ts +5 -0
- package/dist/cjs/api/types/ServiceUnavailableErrorBody.js +3 -0
- package/dist/cjs/api/types/ServiceUnavailableErrorBodyContent.d.ts +8 -0
- package/dist/cjs/api/types/ServiceUnavailableErrorBodyContent.js +3 -0
- package/dist/cjs/api/types/ServiceUnavailableErrorBodyContentCode.d.ts +6 -0
- package/dist/cjs/api/types/ServiceUnavailableErrorBodyContentCode.js +9 -0
- package/dist/cjs/api/types/SettleResponse.d.ts +5 -0
- package/dist/cjs/api/types/SettleResponse.js +3 -0
- package/dist/cjs/api/types/SettleResponseReason.d.ts +5 -0
- package/dist/cjs/api/types/SettleResponseReason.js +8 -0
- package/dist/cjs/api/types/TooManyRequestsErrorBody.d.ts +5 -0
- package/dist/cjs/api/types/TooManyRequestsErrorBody.js +3 -0
- package/dist/cjs/api/types/TooManyRequestsErrorBodyContent.d.ts +8 -0
- package/dist/cjs/api/types/TooManyRequestsErrorBodyContent.js +3 -0
- package/dist/cjs/api/types/TooManyRequestsErrorBodyContentCode.d.ts +4 -0
- package/dist/cjs/api/types/TooManyRequestsErrorBodyContentCode.js +7 -0
- package/dist/cjs/api/types/index.d.ts +27 -0
- package/dist/cjs/api/types/index.js +27 -0
- package/dist/cjs/serialization/resources/guestSession/client/requests/ClaimGuestSessionRequest.d.ts +9 -0
- package/dist/cjs/serialization/resources/guestSession/client/requests/ClaimGuestSessionRequest.js +41 -0
- package/dist/cjs/serialization/resources/guestSession/client/requests/index.d.ts +1 -0
- package/dist/cjs/serialization/resources/guestSession/client/requests/index.js +3 -1
- package/dist/cjs/serialization/resources/index.d.ts +3 -0
- package/dist/cjs/serialization/resources/index.js +4 -1
- package/dist/cjs/serialization/resources/internalGuestSession/client/index.d.ts +1 -0
- package/dist/cjs/serialization/resources/internalGuestSession/client/index.js +17 -0
- package/dist/cjs/serialization/resources/internalGuestSession/client/requests/ReserveRequest.d.ts +12 -0
- package/dist/cjs/serialization/resources/internalGuestSession/client/requests/ReserveRequest.js +44 -0
- package/dist/cjs/serialization/resources/internalGuestSession/client/requests/SettleRequest.d.ts +11 -0
- package/dist/cjs/serialization/resources/internalGuestSession/client/requests/SettleRequest.js +43 -0
- package/dist/cjs/serialization/resources/internalGuestSession/client/requests/index.d.ts +2 -0
- package/dist/cjs/serialization/resources/internalGuestSession/client/requests/index.js +7 -0
- package/dist/cjs/serialization/resources/internalGuestSession/index.d.ts +2 -0
- package/dist/cjs/serialization/resources/internalGuestSession/index.js +18 -0
- package/dist/cjs/serialization/resources/internalGuestSession/types/ReserveRequestKind.d.ts +7 -0
- package/dist/cjs/serialization/resources/internalGuestSession/types/ReserveRequestKind.js +39 -0
- package/dist/cjs/serialization/resources/internalGuestSession/types/SettleRequestOutcome.d.ts +7 -0
- package/dist/cjs/serialization/resources/internalGuestSession/types/SettleRequestOutcome.js +39 -0
- package/dist/cjs/serialization/resources/internalGuestSession/types/index.d.ts +2 -0
- package/dist/cjs/serialization/resources/internalGuestSession/types/index.js +18 -0
- package/dist/cjs/serialization/types/ClaimGuestSessionResponse.d.ts +15 -0
- package/dist/cjs/serialization/types/ClaimGuestSessionResponse.js +48 -0
- package/dist/cjs/serialization/types/ClaimGuestSessionResponseStatus.d.ts +7 -0
- package/dist/cjs/serialization/types/ClaimGuestSessionResponseStatus.js +39 -0
- package/dist/cjs/serialization/types/CreateGuestSessionResponse.d.ts +2 -0
- package/dist/cjs/serialization/types/CreateGuestSessionResponse.js +2 -0
- package/dist/cjs/serialization/types/DeleteGuestSessionResponse.d.ts +12 -0
- package/dist/cjs/serialization/types/DeleteGuestSessionResponse.js +45 -0
- package/dist/cjs/serialization/types/DeleteGuestSessionResponseStatus.d.ts +7 -0
- package/dist/cjs/serialization/types/DeleteGuestSessionResponseStatus.js +39 -0
- package/dist/cjs/serialization/types/GetGuestSessionResponse.d.ts +20 -0
- package/dist/cjs/serialization/types/GetGuestSessionResponse.js +52 -0
- package/dist/cjs/serialization/types/GetGuestSessionResponseStatus.d.ts +7 -0
- package/dist/cjs/serialization/types/GetGuestSessionResponseStatus.js +39 -0
- package/dist/cjs/serialization/types/GoneErrorBody.d.ts +11 -0
- package/dist/cjs/serialization/types/GoneErrorBody.js +43 -0
- package/dist/cjs/serialization/types/GoneErrorBodyContent.d.ts +14 -0
- package/dist/cjs/serialization/types/GoneErrorBodyContent.js +46 -0
- package/dist/cjs/serialization/types/GoneErrorBodyContentCode.d.ts +7 -0
- package/dist/cjs/serialization/types/GoneErrorBodyContentCode.js +39 -0
- package/dist/cjs/serialization/types/GuestSessionLimits.d.ts +2 -0
- package/dist/cjs/serialization/types/GuestSessionLimits.js +2 -0
- package/dist/cjs/serialization/types/GuestSessionUsage.d.ts +10 -0
- package/dist/cjs/serialization/types/GuestSessionUsage.js +42 -0
- package/dist/cjs/serialization/types/InternalGuestSessionResponse.d.ts +16 -0
- package/dist/cjs/serialization/types/InternalGuestSessionResponse.js +48 -0
- package/dist/cjs/serialization/types/InternalGuestSessionResponseStatus.d.ts +7 -0
- package/dist/cjs/serialization/types/InternalGuestSessionResponseStatus.js +39 -0
- package/dist/cjs/serialization/types/Limit.d.ts +12 -0
- package/dist/cjs/serialization/types/Limit.js +44 -0
- package/dist/cjs/serialization/types/NotFoundErrorBody.d.ts +11 -0
- package/dist/cjs/serialization/types/NotFoundErrorBody.js +43 -0
- package/dist/cjs/serialization/types/NotFoundErrorBodyContent.d.ts +14 -0
- package/dist/cjs/serialization/types/NotFoundErrorBodyContent.js +46 -0
- package/dist/cjs/serialization/types/NotFoundErrorBodyContentCode.d.ts +7 -0
- package/dist/cjs/serialization/types/NotFoundErrorBodyContentCode.js +39 -0
- package/dist/cjs/serialization/types/ReserveResponse.d.ts +20 -0
- package/dist/cjs/serialization/types/ReserveResponse.js +52 -0
- package/dist/cjs/serialization/types/ReserveResponseKind.d.ts +7 -0
- package/dist/cjs/serialization/types/ReserveResponseKind.js +39 -0
- package/dist/cjs/serialization/types/ReserveResponseState.d.ts +7 -0
- package/dist/cjs/serialization/types/ReserveResponseState.js +39 -0
- package/dist/cjs/serialization/types/ServiceUnavailableErrorBody.d.ts +11 -0
- package/dist/cjs/serialization/types/ServiceUnavailableErrorBody.js +43 -0
- package/dist/cjs/serialization/types/ServiceUnavailableErrorBodyContent.d.ts +14 -0
- package/dist/cjs/serialization/types/ServiceUnavailableErrorBodyContent.js +46 -0
- package/dist/cjs/serialization/types/ServiceUnavailableErrorBodyContentCode.d.ts +7 -0
- package/dist/cjs/serialization/types/ServiceUnavailableErrorBodyContentCode.js +39 -0
- package/dist/cjs/serialization/types/SettleResponse.d.ts +11 -0
- package/dist/cjs/serialization/types/SettleResponse.js +43 -0
- package/dist/cjs/serialization/types/SettleResponseReason.d.ts +7 -0
- package/dist/cjs/serialization/types/SettleResponseReason.js +39 -0
- package/dist/cjs/serialization/types/TooManyRequestsErrorBody.d.ts +11 -0
- package/dist/cjs/serialization/types/TooManyRequestsErrorBody.js +43 -0
- package/dist/cjs/serialization/types/TooManyRequestsErrorBodyContent.d.ts +14 -0
- package/dist/cjs/serialization/types/TooManyRequestsErrorBodyContent.js +46 -0
- package/dist/cjs/serialization/types/TooManyRequestsErrorBodyContentCode.d.ts +7 -0
- package/dist/cjs/serialization/types/TooManyRequestsErrorBodyContentCode.js +39 -0
- package/dist/cjs/serialization/types/index.d.ts +27 -0
- package/dist/cjs/serialization/types/index.js +27 -0
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/BaseClient.mjs +2 -2
- package/dist/esm/Client.d.mts +3 -0
- package/dist/esm/Client.mjs +5 -0
- package/dist/esm/api/resources/guestSession/client/Client.d.mts +53 -0
- package/dist/esm/api/resources/guestSession/client/Client.mjs +326 -1
- package/dist/esm/api/resources/guestSession/client/claim.d.mts +25 -0
- package/dist/esm/api/resources/guestSession/client/claim.mjs +30 -0
- package/dist/esm/api/resources/guestSession/client/create.d.mts +13 -1
- package/dist/esm/api/resources/guestSession/client/create.mjs +22 -0
- package/dist/esm/api/resources/guestSession/client/delete.d.mts +25 -0
- package/dist/esm/api/resources/guestSession/client/delete.mjs +30 -0
- package/dist/esm/api/resources/guestSession/client/get.d.mts +43 -0
- package/dist/esm/api/resources/guestSession/client/get.mjs +63 -0
- package/dist/esm/api/resources/guestSession/client/index.d.mts +3 -0
- package/dist/esm/api/resources/guestSession/client/index.mjs +3 -0
- package/dist/esm/api/resources/guestSession/client/requests/ClaimGuestSessionRequest.d.mts +10 -0
- package/dist/esm/api/resources/guestSession/client/requests/ClaimGuestSessionRequest.mjs +2 -0
- package/dist/esm/api/resources/guestSession/client/requests/DeleteGuestSessionsSessionIdDeleteRequest.d.mts +9 -0
- package/dist/esm/api/resources/guestSession/client/requests/DeleteGuestSessionsSessionIdDeleteRequest.mjs +2 -0
- package/dist/esm/api/resources/guestSession/client/requests/GetGuestSessionsSessionIdGetRequest.d.mts +11 -0
- package/dist/esm/api/resources/guestSession/client/requests/GetGuestSessionsSessionIdGetRequest.mjs +2 -0
- package/dist/esm/api/resources/guestSession/client/requests/index.d.mts +3 -0
- package/dist/esm/api/resources/index.d.mts +3 -0
- package/dist/esm/api/resources/index.mjs +3 -0
- package/dist/esm/api/resources/internalGuestSession/client/Client.d.mts +55 -0
- package/dist/esm/api/resources/internalGuestSession/client/Client.mjs +277 -0
- package/dist/esm/api/resources/internalGuestSession/client/index.d.mts +4 -0
- package/dist/esm/api/resources/internalGuestSession/client/index.mjs +4 -0
- package/dist/esm/api/resources/internalGuestSession/client/readByOrg.d.mts +25 -0
- package/dist/esm/api/resources/internalGuestSession/client/readByOrg.mjs +30 -0
- package/dist/esm/api/resources/internalGuestSession/client/requests/ReadByOrgInternalGuestSessionsByOrgOrgIdGetRequest.d.mts +9 -0
- package/dist/esm/api/resources/internalGuestSession/client/requests/ReadByOrgInternalGuestSessionsByOrgOrgIdGetRequest.mjs +2 -0
- package/dist/esm/api/resources/internalGuestSession/client/requests/ReserveRequest.d.mts +14 -0
- package/dist/esm/api/resources/internalGuestSession/client/requests/ReserveRequest.mjs +2 -0
- package/dist/esm/api/resources/internalGuestSession/client/requests/SettleRequest.d.mts +14 -0
- package/dist/esm/api/resources/internalGuestSession/client/requests/SettleRequest.mjs +2 -0
- package/dist/esm/api/resources/internalGuestSession/client/requests/index.d.mts +3 -0
- package/dist/esm/api/resources/internalGuestSession/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/internalGuestSession/client/reserve.d.mts +25 -0
- package/dist/esm/api/resources/internalGuestSession/client/reserve.mjs +30 -0
- package/dist/esm/api/resources/internalGuestSession/client/settle.d.mts +25 -0
- package/dist/esm/api/resources/internalGuestSession/client/settle.mjs +30 -0
- package/dist/esm/api/resources/internalGuestSession/index.d.mts +2 -0
- package/dist/esm/api/resources/internalGuestSession/index.mjs +2 -0
- package/dist/esm/api/resources/internalGuestSession/types/ReserveRequestKind.d.mts +5 -0
- package/dist/esm/api/resources/internalGuestSession/types/ReserveRequestKind.mjs +5 -0
- package/dist/esm/api/resources/internalGuestSession/types/SettleRequestOutcome.d.mts +5 -0
- package/dist/esm/api/resources/internalGuestSession/types/SettleRequestOutcome.mjs +5 -0
- package/dist/esm/api/resources/internalGuestSession/types/index.d.mts +2 -0
- package/dist/esm/api/resources/internalGuestSession/types/index.mjs +2 -0
- package/dist/esm/api/types/ClaimGuestSessionResponse.d.mts +10 -0
- package/dist/esm/api/types/ClaimGuestSessionResponse.mjs +2 -0
- package/dist/esm/api/types/ClaimGuestSessionResponseStatus.d.mts +9 -0
- package/dist/esm/api/types/ClaimGuestSessionResponseStatus.mjs +9 -0
- package/dist/esm/api/types/CreateGuestSessionResponse.d.mts +2 -0
- package/dist/esm/api/types/DeleteGuestSessionResponse.d.mts +7 -0
- package/dist/esm/api/types/DeleteGuestSessionResponse.mjs +2 -0
- package/dist/esm/api/types/DeleteGuestSessionResponseStatus.d.mts +9 -0
- package/dist/esm/api/types/DeleteGuestSessionResponseStatus.mjs +9 -0
- package/dist/esm/api/types/GetGuestSessionResponse.d.mts +13 -0
- package/dist/esm/api/types/GetGuestSessionResponse.mjs +2 -0
- package/dist/esm/api/types/GetGuestSessionResponseStatus.d.mts +9 -0
- package/dist/esm/api/types/GetGuestSessionResponseStatus.mjs +9 -0
- package/dist/esm/api/types/GoneErrorBody.d.mts +5 -0
- package/dist/esm/api/types/GoneErrorBody.mjs +2 -0
- package/dist/esm/api/types/GoneErrorBodyContent.d.mts +8 -0
- package/dist/esm/api/types/GoneErrorBodyContent.mjs +2 -0
- package/dist/esm/api/types/GoneErrorBodyContentCode.d.mts +5 -0
- package/dist/esm/api/types/GoneErrorBodyContentCode.mjs +5 -0
- package/dist/esm/api/types/GuestSessionLimits.d.mts +2 -0
- package/dist/esm/api/types/GuestSessionUsage.d.mts +4 -0
- package/dist/esm/api/types/GuestSessionUsage.mjs +2 -0
- package/dist/esm/api/types/InternalGuestSessionResponse.d.mts +22 -0
- package/dist/esm/api/types/InternalGuestSessionResponse.mjs +2 -0
- package/dist/esm/api/types/InternalGuestSessionResponseStatus.d.mts +9 -0
- package/dist/esm/api/types/InternalGuestSessionResponseStatus.mjs +9 -0
- package/dist/esm/api/types/Limit.d.mts +6 -0
- package/dist/esm/api/types/Limit.mjs +2 -0
- package/dist/esm/api/types/NotFoundErrorBody.d.mts +5 -0
- package/dist/esm/api/types/NotFoundErrorBody.mjs +2 -0
- package/dist/esm/api/types/NotFoundErrorBodyContent.d.mts +8 -0
- package/dist/esm/api/types/NotFoundErrorBodyContent.mjs +2 -0
- package/dist/esm/api/types/NotFoundErrorBodyContentCode.d.mts +4 -0
- package/dist/esm/api/types/NotFoundErrorBodyContentCode.mjs +4 -0
- package/dist/esm/api/types/ReserveResponse.d.mts +12 -0
- package/dist/esm/api/types/ReserveResponse.mjs +2 -0
- package/dist/esm/api/types/ReserveResponseKind.d.mts +5 -0
- package/dist/esm/api/types/ReserveResponseKind.mjs +5 -0
- package/dist/esm/api/types/ReserveResponseState.d.mts +6 -0
- package/dist/esm/api/types/ReserveResponseState.mjs +6 -0
- package/dist/esm/api/types/ServiceUnavailableErrorBody.d.mts +5 -0
- package/dist/esm/api/types/ServiceUnavailableErrorBody.mjs +2 -0
- package/dist/esm/api/types/ServiceUnavailableErrorBodyContent.d.mts +8 -0
- package/dist/esm/api/types/ServiceUnavailableErrorBodyContent.mjs +2 -0
- package/dist/esm/api/types/ServiceUnavailableErrorBodyContentCode.d.mts +6 -0
- package/dist/esm/api/types/ServiceUnavailableErrorBodyContentCode.mjs +6 -0
- package/dist/esm/api/types/SettleResponse.d.mts +5 -0
- package/dist/esm/api/types/SettleResponse.mjs +2 -0
- package/dist/esm/api/types/SettleResponseReason.d.mts +5 -0
- package/dist/esm/api/types/SettleResponseReason.mjs +5 -0
- package/dist/esm/api/types/TooManyRequestsErrorBody.d.mts +5 -0
- package/dist/esm/api/types/TooManyRequestsErrorBody.mjs +2 -0
- package/dist/esm/api/types/TooManyRequestsErrorBodyContent.d.mts +8 -0
- package/dist/esm/api/types/TooManyRequestsErrorBodyContent.mjs +2 -0
- package/dist/esm/api/types/TooManyRequestsErrorBodyContentCode.d.mts +4 -0
- package/dist/esm/api/types/TooManyRequestsErrorBodyContentCode.mjs +4 -0
- package/dist/esm/api/types/index.d.mts +27 -0
- package/dist/esm/api/types/index.mjs +27 -0
- package/dist/esm/serialization/resources/guestSession/client/requests/ClaimGuestSessionRequest.d.mts +9 -0
- package/dist/esm/serialization/resources/guestSession/client/requests/ClaimGuestSessionRequest.mjs +5 -0
- package/dist/esm/serialization/resources/guestSession/client/requests/index.d.mts +1 -0
- package/dist/esm/serialization/resources/guestSession/client/requests/index.mjs +1 -0
- package/dist/esm/serialization/resources/index.d.mts +3 -0
- package/dist/esm/serialization/resources/index.mjs +3 -0
- package/dist/esm/serialization/resources/internalGuestSession/client/index.d.mts +1 -0
- package/dist/esm/serialization/resources/internalGuestSession/client/index.mjs +1 -0
- package/dist/esm/serialization/resources/internalGuestSession/client/requests/ReserveRequest.d.mts +12 -0
- package/dist/esm/serialization/resources/internalGuestSession/client/requests/ReserveRequest.mjs +8 -0
- package/dist/esm/serialization/resources/internalGuestSession/client/requests/SettleRequest.d.mts +11 -0
- package/dist/esm/serialization/resources/internalGuestSession/client/requests/SettleRequest.mjs +7 -0
- package/dist/esm/serialization/resources/internalGuestSession/client/requests/index.d.mts +2 -0
- package/dist/esm/serialization/resources/internalGuestSession/client/requests/index.mjs +2 -0
- package/dist/esm/serialization/resources/internalGuestSession/index.d.mts +2 -0
- package/dist/esm/serialization/resources/internalGuestSession/index.mjs +2 -0
- package/dist/esm/serialization/resources/internalGuestSession/types/ReserveRequestKind.d.mts +7 -0
- package/dist/esm/serialization/resources/internalGuestSession/types/ReserveRequestKind.mjs +3 -0
- package/dist/esm/serialization/resources/internalGuestSession/types/SettleRequestOutcome.d.mts +7 -0
- package/dist/esm/serialization/resources/internalGuestSession/types/SettleRequestOutcome.mjs +3 -0
- package/dist/esm/serialization/resources/internalGuestSession/types/index.d.mts +2 -0
- package/dist/esm/serialization/resources/internalGuestSession/types/index.mjs +2 -0
- package/dist/esm/serialization/types/ClaimGuestSessionResponse.d.mts +15 -0
- package/dist/esm/serialization/types/ClaimGuestSessionResponse.mjs +12 -0
- package/dist/esm/serialization/types/ClaimGuestSessionResponseStatus.d.mts +7 -0
- package/dist/esm/serialization/types/ClaimGuestSessionResponseStatus.mjs +3 -0
- package/dist/esm/serialization/types/CreateGuestSessionResponse.d.mts +2 -0
- package/dist/esm/serialization/types/CreateGuestSessionResponse.mjs +2 -0
- package/dist/esm/serialization/types/DeleteGuestSessionResponse.d.mts +12 -0
- package/dist/esm/serialization/types/DeleteGuestSessionResponse.mjs +9 -0
- package/dist/esm/serialization/types/DeleteGuestSessionResponseStatus.d.mts +7 -0
- package/dist/esm/serialization/types/DeleteGuestSessionResponseStatus.mjs +3 -0
- package/dist/esm/serialization/types/GetGuestSessionResponse.d.mts +20 -0
- package/dist/esm/serialization/types/GetGuestSessionResponse.mjs +16 -0
- package/dist/esm/serialization/types/GetGuestSessionResponseStatus.d.mts +7 -0
- package/dist/esm/serialization/types/GetGuestSessionResponseStatus.mjs +3 -0
- package/dist/esm/serialization/types/GoneErrorBody.d.mts +11 -0
- package/dist/esm/serialization/types/GoneErrorBody.mjs +7 -0
- package/dist/esm/serialization/types/GoneErrorBodyContent.d.mts +14 -0
- package/dist/esm/serialization/types/GoneErrorBodyContent.mjs +10 -0
- package/dist/esm/serialization/types/GoneErrorBodyContentCode.d.mts +7 -0
- package/dist/esm/serialization/types/GoneErrorBodyContentCode.mjs +3 -0
- package/dist/esm/serialization/types/GuestSessionLimits.d.mts +2 -0
- package/dist/esm/serialization/types/GuestSessionLimits.mjs +2 -0
- package/dist/esm/serialization/types/GuestSessionUsage.d.mts +10 -0
- package/dist/esm/serialization/types/GuestSessionUsage.mjs +6 -0
- package/dist/esm/serialization/types/InternalGuestSessionResponse.d.mts +16 -0
- package/dist/esm/serialization/types/InternalGuestSessionResponse.mjs +12 -0
- package/dist/esm/serialization/types/InternalGuestSessionResponseStatus.d.mts +7 -0
- package/dist/esm/serialization/types/InternalGuestSessionResponseStatus.mjs +3 -0
- package/dist/esm/serialization/types/Limit.d.mts +12 -0
- package/dist/esm/serialization/types/Limit.mjs +8 -0
- package/dist/esm/serialization/types/NotFoundErrorBody.d.mts +11 -0
- package/dist/esm/serialization/types/NotFoundErrorBody.mjs +7 -0
- package/dist/esm/serialization/types/NotFoundErrorBodyContent.d.mts +14 -0
- package/dist/esm/serialization/types/NotFoundErrorBodyContent.mjs +10 -0
- package/dist/esm/serialization/types/NotFoundErrorBodyContentCode.d.mts +7 -0
- package/dist/esm/serialization/types/NotFoundErrorBodyContentCode.mjs +3 -0
- package/dist/esm/serialization/types/ReserveResponse.d.mts +20 -0
- package/dist/esm/serialization/types/ReserveResponse.mjs +16 -0
- package/dist/esm/serialization/types/ReserveResponseKind.d.mts +7 -0
- package/dist/esm/serialization/types/ReserveResponseKind.mjs +3 -0
- package/dist/esm/serialization/types/ReserveResponseState.d.mts +7 -0
- package/dist/esm/serialization/types/ReserveResponseState.mjs +3 -0
- package/dist/esm/serialization/types/ServiceUnavailableErrorBody.d.mts +11 -0
- package/dist/esm/serialization/types/ServiceUnavailableErrorBody.mjs +7 -0
- package/dist/esm/serialization/types/ServiceUnavailableErrorBodyContent.d.mts +14 -0
- package/dist/esm/serialization/types/ServiceUnavailableErrorBodyContent.mjs +10 -0
- package/dist/esm/serialization/types/ServiceUnavailableErrorBodyContentCode.d.mts +7 -0
- package/dist/esm/serialization/types/ServiceUnavailableErrorBodyContentCode.mjs +3 -0
- package/dist/esm/serialization/types/SettleResponse.d.mts +11 -0
- package/dist/esm/serialization/types/SettleResponse.mjs +7 -0
- package/dist/esm/serialization/types/SettleResponseReason.d.mts +7 -0
- package/dist/esm/serialization/types/SettleResponseReason.mjs +3 -0
- package/dist/esm/serialization/types/TooManyRequestsErrorBody.d.mts +11 -0
- package/dist/esm/serialization/types/TooManyRequestsErrorBody.mjs +7 -0
- package/dist/esm/serialization/types/TooManyRequestsErrorBodyContent.d.mts +14 -0
- package/dist/esm/serialization/types/TooManyRequestsErrorBodyContent.mjs +10 -0
- package/dist/esm/serialization/types/TooManyRequestsErrorBodyContentCode.d.mts +7 -0
- package/dist/esm/serialization/types/TooManyRequestsErrorBodyContentCode.mjs +3 -0
- package/dist/esm/serialization/types/index.d.mts +27 -0
- package/dist/esm/serialization/types/index.mjs +27 -0
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
- 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";
|
package/dist/esm/serialization/resources/internalGuestSession/client/requests/ReserveRequest.d.mts
ADDED
|
@@ -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
|
+
}
|
package/dist/esm/serialization/resources/internalGuestSession/client/requests/ReserveRequest.mjs
ADDED
|
@@ -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
|
+
});
|
package/dist/esm/serialization/resources/internalGuestSession/client/requests/SettleRequest.d.mts
ADDED
|
@@ -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
|
+
}
|
package/dist/esm/serialization/resources/internalGuestSession/client/requests/SettleRequest.mjs
ADDED
|
@@ -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,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
|
+
}
|
package/dist/esm/serialization/resources/internalGuestSession/types/SettleRequestOutcome.d.mts
ADDED
|
@@ -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,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
|
+
}
|
|
@@ -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,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,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
|
+
}
|
|
@@ -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,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,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,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,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,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
|
+
}
|