@fern-api/venus-api-sdk 12.2.0 → 13.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/BaseClient.js +2 -2
- package/dist/cjs/Client.d.ts +8 -16
- package/dist/cjs/Client.js +20 -33
- package/dist/cjs/api/client/index.d.ts +1 -1
- package/dist/cjs/api/client/index.js +2 -2
- package/dist/cjs/api/client/{pingPingGet.d.ts → metricsMetricsGet.d.ts} +4 -4
- package/dist/cjs/api/client/{pingPingGet.js → metricsMetricsGet.js} +1 -1
- package/dist/cjs/api/resources/apiKeys/client/Client.d.ts +0 -13
- package/dist/cjs/api/resources/apiKeys/client/Client.js +2 -18
- package/dist/cjs/api/resources/apiKeys/client/requests/RevokeTokenByIdApiKeysRevokeTokenIdPostRequest.d.ts +0 -1
- package/dist/cjs/api/resources/index.d.ts +0 -5
- package/dist/cjs/api/resources/index.js +1 -6
- package/dist/cjs/api/resources/organization/client/Client.d.ts +0 -104
- package/dist/cjs/api/resources/organization/client/Client.js +0 -504
- package/dist/cjs/api/resources/organization/client/index.d.ts +0 -6
- package/dist/cjs/api/resources/organization/client/index.js +1 -7
- package/dist/cjs/api/resources/organization/client/requests/index.d.ts +0 -4
- package/dist/cjs/api/types/Organization.d.ts +1 -1
- package/dist/cjs/api/types/TokenMetadata.d.ts +0 -1
- package/dist/cjs/api/types/index.d.ts +0 -36
- package/dist/cjs/api/types/index.js +0 -36
- package/dist/cjs/serialization/resources/index.d.ts +0 -5
- package/dist/cjs/serialization/resources/index.js +1 -6
- package/dist/cjs/serialization/resources/organization/client/requests/index.d.ts +0 -2
- package/dist/cjs/serialization/resources/organization/client/requests/index.js +1 -5
- package/dist/cjs/serialization/types/Organization.d.ts +1 -1
- package/dist/cjs/serialization/types/Organization.js +1 -1
- package/dist/cjs/serialization/types/TokenMetadata.d.ts +0 -1
- package/dist/cjs/serialization/types/TokenMetadata.js +0 -1
- package/dist/cjs/serialization/types/index.d.ts +0 -36
- package/dist/cjs/serialization/types/index.js +0 -36
- 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 +8 -16
- package/dist/esm/Client.mjs +14 -27
- package/dist/esm/api/client/index.d.mts +1 -1
- package/dist/esm/api/client/index.mjs +1 -1
- package/dist/esm/api/client/{pingPingGet.d.mts → metricsMetricsGet.d.mts} +4 -4
- package/dist/esm/api/client/{pingPingGet.mjs → metricsMetricsGet.mjs} +1 -1
- package/dist/esm/api/resources/apiKeys/client/Client.d.mts +0 -13
- package/dist/esm/api/resources/apiKeys/client/Client.mjs +2 -18
- package/dist/esm/api/resources/apiKeys/client/requests/RevokeTokenByIdApiKeysRevokeTokenIdPostRequest.d.mts +0 -1
- package/dist/esm/api/resources/index.d.mts +0 -5
- package/dist/esm/api/resources/index.mjs +0 -5
- package/dist/esm/api/resources/organization/client/Client.d.mts +0 -104
- package/dist/esm/api/resources/organization/client/Client.mjs +0 -504
- package/dist/esm/api/resources/organization/client/index.d.mts +0 -6
- package/dist/esm/api/resources/organization/client/index.mjs +0 -6
- package/dist/esm/api/resources/organization/client/requests/index.d.mts +0 -4
- package/dist/esm/api/types/Organization.d.mts +1 -1
- package/dist/esm/api/types/TokenMetadata.d.mts +0 -1
- package/dist/esm/api/types/index.d.mts +0 -36
- package/dist/esm/api/types/index.mjs +0 -36
- package/dist/esm/serialization/resources/index.d.mts +0 -5
- package/dist/esm/serialization/resources/index.mjs +0 -5
- package/dist/esm/serialization/resources/organization/client/requests/index.d.mts +0 -2
- package/dist/esm/serialization/resources/organization/client/requests/index.mjs +0 -2
- package/dist/esm/serialization/types/Organization.d.mts +1 -1
- package/dist/esm/serialization/types/Organization.mjs +1 -1
- package/dist/esm/serialization/types/TokenMetadata.d.mts +0 -1
- package/dist/esm/serialization/types/TokenMetadata.mjs +0 -1
- package/dist/esm/serialization/types/index.d.mts +0 -36
- package/dist/esm/serialization/types/index.mjs +0 -36
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
- package/reference.md +87 -1009
- package/dist/cjs/api/resources/guestSession/client/Client.d.ts +0 -84
- package/dist/cjs/api/resources/guestSession/client/Client.js +0 -469
- package/dist/cjs/api/resources/guestSession/client/claim.d.ts +0 -25
- package/dist/cjs/api/resources/guestSession/client/claim.js +0 -66
- package/dist/cjs/api/resources/guestSession/client/create.d.ts +0 -37
- package/dist/cjs/api/resources/guestSession/client/create.js +0 -88
- package/dist/cjs/api/resources/guestSession/client/delete.d.ts +0 -25
- package/dist/cjs/api/resources/guestSession/client/delete.js +0 -66
- package/dist/cjs/api/resources/guestSession/client/get.d.ts +0 -43
- package/dist/cjs/api/resources/guestSession/client/get.js +0 -99
- package/dist/cjs/api/resources/guestSession/client/index.d.ts +0 -5
- package/dist/cjs/api/resources/guestSession/client/index.js +0 -44
- package/dist/cjs/api/resources/guestSession/client/requests/ClaimGuestSessionRequest.d.ts +0 -11
- package/dist/cjs/api/resources/guestSession/client/requests/ClaimGuestSessionRequest.js +0 -3
- package/dist/cjs/api/resources/guestSession/client/requests/CreateGuestSessionRequest.d.ts +0 -11
- package/dist/cjs/api/resources/guestSession/client/requests/CreateGuestSessionRequest.js +0 -3
- package/dist/cjs/api/resources/guestSession/client/requests/DeleteGuestSessionsSessionIdDeleteRequest.d.ts +0 -9
- package/dist/cjs/api/resources/guestSession/client/requests/DeleteGuestSessionsSessionIdDeleteRequest.js +0 -3
- package/dist/cjs/api/resources/guestSession/client/requests/GetGuestSessionsSessionIdGetRequest.d.ts +0 -11
- package/dist/cjs/api/resources/guestSession/client/requests/GetGuestSessionsSessionIdGetRequest.js +0 -3
- package/dist/cjs/api/resources/guestSession/client/requests/index.d.ts +0 -4
- package/dist/cjs/api/resources/guestSession/client/requests/index.js +0 -2
- package/dist/cjs/api/resources/guestSession/index.d.ts +0 -1
- package/dist/cjs/api/resources/guestSession/index.js +0 -17
- package/dist/cjs/api/resources/internalGuestSession/client/Client.d.ts +0 -55
- package/dist/cjs/api/resources/internalGuestSession/client/Client.js +0 -314
- package/dist/cjs/api/resources/internalGuestSession/client/index.d.ts +0 -4
- package/dist/cjs/api/resources/internalGuestSession/client/index.js +0 -43
- package/dist/cjs/api/resources/internalGuestSession/client/readByOrg.d.ts +0 -25
- package/dist/cjs/api/resources/internalGuestSession/client/readByOrg.js +0 -66
- package/dist/cjs/api/resources/internalGuestSession/client/requests/ReadByOrgInternalGuestSessionsByOrgOrgIdGetRequest.d.ts +0 -9
- package/dist/cjs/api/resources/internalGuestSession/client/requests/ReadByOrgInternalGuestSessionsByOrgOrgIdGetRequest.js +0 -3
- package/dist/cjs/api/resources/internalGuestSession/client/requests/ReserveRequest.d.ts +0 -14
- package/dist/cjs/api/resources/internalGuestSession/client/requests/ReserveRequest.js +0 -3
- package/dist/cjs/api/resources/internalGuestSession/client/requests/SettleRequest.d.ts +0 -14
- package/dist/cjs/api/resources/internalGuestSession/client/requests/SettleRequest.js +0 -3
- package/dist/cjs/api/resources/internalGuestSession/client/requests/index.d.ts +0 -3
- package/dist/cjs/api/resources/internalGuestSession/client/requests/index.js +0 -2
- package/dist/cjs/api/resources/internalGuestSession/client/reserve.d.ts +0 -25
- package/dist/cjs/api/resources/internalGuestSession/client/reserve.js +0 -66
- package/dist/cjs/api/resources/internalGuestSession/client/settle.d.ts +0 -25
- package/dist/cjs/api/resources/internalGuestSession/client/settle.js +0 -66
- package/dist/cjs/api/resources/internalGuestSession/index.d.ts +0 -2
- package/dist/cjs/api/resources/internalGuestSession/index.js +0 -18
- package/dist/cjs/api/resources/internalGuestSession/types/ReserveRequestKind.d.ts +0 -5
- package/dist/cjs/api/resources/internalGuestSession/types/ReserveRequestKind.js +0 -8
- package/dist/cjs/api/resources/internalGuestSession/types/SettleRequestOutcome.d.ts +0 -5
- package/dist/cjs/api/resources/internalGuestSession/types/SettleRequestOutcome.js +0 -8
- package/dist/cjs/api/resources/internalGuestSession/types/index.d.ts +0 -2
- package/dist/cjs/api/resources/internalGuestSession/types/index.js +0 -18
- package/dist/cjs/api/resources/organization/client/claim.d.ts +0 -25
- package/dist/cjs/api/resources/organization/client/claim.js +0 -66
- package/dist/cjs/api/resources/organization/client/createClaimToken.d.ts +0 -25
- package/dist/cjs/api/resources/organization/client/createClaimToken.js +0 -66
- package/dist/cjs/api/resources/organization/client/getClaimStatus.d.ts +0 -25
- package/dist/cjs/api/resources/organization/client/getClaimStatus.js +0 -66
- package/dist/cjs/api/resources/organization/client/getPostmanTeamDocs.d.ts +0 -25
- package/dist/cjs/api/resources/organization/client/getPostmanTeamDocs.js +0 -66
- package/dist/cjs/api/resources/organization/client/previewClaim.d.ts +0 -25
- package/dist/cjs/api/resources/organization/client/previewClaim.js +0 -66
- package/dist/cjs/api/resources/organization/client/requests/CreateClaimTokenRequest.d.ts +0 -11
- package/dist/cjs/api/resources/organization/client/requests/CreateClaimTokenRequest.js +0 -3
- package/dist/cjs/api/resources/organization/client/requests/GetClaimStatusOrganizationsOrgIdClaimStatusGetRequest.d.ts +0 -9
- package/dist/cjs/api/resources/organization/client/requests/GetClaimStatusOrganizationsOrgIdClaimStatusGetRequest.js +0 -3
- package/dist/cjs/api/resources/organization/client/requests/GetPostmanTeamDocsOrganizationsPostmanTeamPostmanTeamIdDocsGetRequest.d.ts +0 -9
- package/dist/cjs/api/resources/organization/client/requests/GetPostmanTeamDocsOrganizationsPostmanTeamPostmanTeamIdDocsGetRequest.js +0 -3
- package/dist/cjs/api/resources/organization/client/requests/SetDocsUrlRequest.d.ts +0 -11
- package/dist/cjs/api/resources/organization/client/requests/SetDocsUrlRequest.js +0 -3
- package/dist/cjs/api/resources/organization/client/setDocsUrl.d.ts +0 -25
- package/dist/cjs/api/resources/organization/client/setDocsUrl.js +0 -66
- package/dist/cjs/api/types/ClaimGuestSessionResponse.d.ts +0 -10
- package/dist/cjs/api/types/ClaimGuestSessionResponse.js +0 -3
- package/dist/cjs/api/types/ClaimGuestSessionResponseStatus.d.ts +0 -9
- package/dist/cjs/api/types/ClaimGuestSessionResponseStatus.js +0 -12
- package/dist/cjs/api/types/ClaimOrganizationRequest.d.ts +0 -3
- package/dist/cjs/api/types/ClaimOrganizationRequest.js +0 -3
- package/dist/cjs/api/types/ClaimOrganizationResponse.d.ts +0 -5
- package/dist/cjs/api/types/ClaimOrganizationResponse.js +0 -3
- package/dist/cjs/api/types/ClaimPreviewResponse.d.ts +0 -8
- package/dist/cjs/api/types/ClaimPreviewResponse.js +0 -3
- package/dist/cjs/api/types/ClaimStatus.d.ts +0 -5
- package/dist/cjs/api/types/ClaimStatus.js +0 -8
- package/dist/cjs/api/types/ClaimStatusResponse.d.ts +0 -4
- package/dist/cjs/api/types/ClaimStatusResponse.js +0 -3
- package/dist/cjs/api/types/ClaimTokenResponse.d.ts +0 -4
- package/dist/cjs/api/types/ClaimTokenResponse.js +0 -3
- package/dist/cjs/api/types/CreateGuestSessionResponse.d.ts +0 -11
- package/dist/cjs/api/types/CreateGuestSessionResponse.js +0 -3
- package/dist/cjs/api/types/DeleteGuestSessionResponse.d.ts +0 -7
- package/dist/cjs/api/types/DeleteGuestSessionResponse.js +0 -3
- package/dist/cjs/api/types/DeleteGuestSessionResponseStatus.d.ts +0 -9
- package/dist/cjs/api/types/DeleteGuestSessionResponseStatus.js +0 -12
- package/dist/cjs/api/types/GetGuestSessionResponse.d.ts +0 -13
- package/dist/cjs/api/types/GetGuestSessionResponse.js +0 -3
- package/dist/cjs/api/types/GetGuestSessionResponseStatus.d.ts +0 -9
- package/dist/cjs/api/types/GetGuestSessionResponseStatus.js +0 -12
- package/dist/cjs/api/types/GoneErrorBody.d.ts +0 -5
- package/dist/cjs/api/types/GoneErrorBody.js +0 -3
- package/dist/cjs/api/types/GoneErrorBodyContent.d.ts +0 -8
- package/dist/cjs/api/types/GoneErrorBodyContent.js +0 -3
- package/dist/cjs/api/types/GoneErrorBodyContentCode.d.ts +0 -5
- package/dist/cjs/api/types/GoneErrorBodyContentCode.js +0 -8
- package/dist/cjs/api/types/GuestSessionLimits.d.ts +0 -6
- package/dist/cjs/api/types/GuestSessionLimits.js +0 -3
- package/dist/cjs/api/types/GuestSessionUsage.d.ts +0 -4
- package/dist/cjs/api/types/GuestSessionUsage.js +0 -3
- package/dist/cjs/api/types/InternalGuestSessionResponse.d.ts +0 -22
- package/dist/cjs/api/types/InternalGuestSessionResponse.js +0 -3
- package/dist/cjs/api/types/InternalGuestSessionResponseStatus.d.ts +0 -9
- package/dist/cjs/api/types/InternalGuestSessionResponseStatus.js +0 -12
- package/dist/cjs/api/types/Limit.d.ts +0 -6
- package/dist/cjs/api/types/Limit.js +0 -3
- package/dist/cjs/api/types/NotFoundErrorBody.d.ts +0 -5
- package/dist/cjs/api/types/NotFoundErrorBody.js +0 -3
- package/dist/cjs/api/types/NotFoundErrorBodyContent.d.ts +0 -8
- package/dist/cjs/api/types/NotFoundErrorBodyContent.js +0 -3
- package/dist/cjs/api/types/NotFoundErrorBodyContentCode.d.ts +0 -4
- package/dist/cjs/api/types/NotFoundErrorBodyContentCode.js +0 -7
- package/dist/cjs/api/types/PostmanTeamDocsResponse.d.ts +0 -6
- package/dist/cjs/api/types/PostmanTeamDocsResponse.js +0 -3
- package/dist/cjs/api/types/ReserveResponse.d.ts +0 -12
- package/dist/cjs/api/types/ReserveResponse.js +0 -3
- package/dist/cjs/api/types/ReserveResponseKind.d.ts +0 -5
- package/dist/cjs/api/types/ReserveResponseKind.js +0 -8
- package/dist/cjs/api/types/ReserveResponseState.d.ts +0 -6
- package/dist/cjs/api/types/ReserveResponseState.js +0 -9
- package/dist/cjs/api/types/ServiceUnavailableErrorBody.d.ts +0 -5
- package/dist/cjs/api/types/ServiceUnavailableErrorBody.js +0 -3
- package/dist/cjs/api/types/ServiceUnavailableErrorBodyContent.d.ts +0 -8
- package/dist/cjs/api/types/ServiceUnavailableErrorBodyContent.js +0 -3
- package/dist/cjs/api/types/ServiceUnavailableErrorBodyContentCode.d.ts +0 -6
- package/dist/cjs/api/types/ServiceUnavailableErrorBodyContentCode.js +0 -9
- package/dist/cjs/api/types/SettleResponse.d.ts +0 -5
- package/dist/cjs/api/types/SettleResponse.js +0 -3
- package/dist/cjs/api/types/SettleResponseReason.d.ts +0 -5
- package/dist/cjs/api/types/SettleResponseReason.js +0 -8
- package/dist/cjs/api/types/TooManyRequestsErrorBody.d.ts +0 -5
- package/dist/cjs/api/types/TooManyRequestsErrorBody.js +0 -3
- package/dist/cjs/api/types/TooManyRequestsErrorBodyContent.d.ts +0 -8
- package/dist/cjs/api/types/TooManyRequestsErrorBodyContent.js +0 -3
- package/dist/cjs/api/types/TooManyRequestsErrorBodyContentCode.d.ts +0 -4
- package/dist/cjs/api/types/TooManyRequestsErrorBodyContentCode.js +0 -7
- package/dist/cjs/serialization/resources/guestSession/client/index.d.ts +0 -1
- package/dist/cjs/serialization/resources/guestSession/client/index.js +0 -17
- package/dist/cjs/serialization/resources/guestSession/client/requests/ClaimGuestSessionRequest.d.ts +0 -10
- package/dist/cjs/serialization/resources/guestSession/client/requests/ClaimGuestSessionRequest.js +0 -42
- package/dist/cjs/serialization/resources/guestSession/client/requests/CreateGuestSessionRequest.d.ts +0 -11
- package/dist/cjs/serialization/resources/guestSession/client/requests/CreateGuestSessionRequest.js +0 -43
- package/dist/cjs/serialization/resources/guestSession/client/requests/index.d.ts +0 -2
- package/dist/cjs/serialization/resources/guestSession/client/requests/index.js +0 -7
- package/dist/cjs/serialization/resources/guestSession/index.d.ts +0 -1
- package/dist/cjs/serialization/resources/guestSession/index.js +0 -17
- package/dist/cjs/serialization/resources/internalGuestSession/client/index.d.ts +0 -1
- package/dist/cjs/serialization/resources/internalGuestSession/client/index.js +0 -17
- package/dist/cjs/serialization/resources/internalGuestSession/client/requests/ReserveRequest.d.ts +0 -12
- package/dist/cjs/serialization/resources/internalGuestSession/client/requests/ReserveRequest.js +0 -44
- package/dist/cjs/serialization/resources/internalGuestSession/client/requests/SettleRequest.d.ts +0 -11
- package/dist/cjs/serialization/resources/internalGuestSession/client/requests/SettleRequest.js +0 -43
- package/dist/cjs/serialization/resources/internalGuestSession/client/requests/index.d.ts +0 -2
- package/dist/cjs/serialization/resources/internalGuestSession/client/requests/index.js +0 -7
- package/dist/cjs/serialization/resources/internalGuestSession/index.d.ts +0 -2
- package/dist/cjs/serialization/resources/internalGuestSession/index.js +0 -18
- package/dist/cjs/serialization/resources/internalGuestSession/types/ReserveRequestKind.d.ts +0 -7
- package/dist/cjs/serialization/resources/internalGuestSession/types/ReserveRequestKind.js +0 -39
- package/dist/cjs/serialization/resources/internalGuestSession/types/SettleRequestOutcome.d.ts +0 -7
- package/dist/cjs/serialization/resources/internalGuestSession/types/SettleRequestOutcome.js +0 -39
- package/dist/cjs/serialization/resources/internalGuestSession/types/index.d.ts +0 -2
- package/dist/cjs/serialization/resources/internalGuestSession/types/index.js +0 -18
- package/dist/cjs/serialization/resources/organization/client/requests/CreateClaimTokenRequest.d.ts +0 -9
- package/dist/cjs/serialization/resources/organization/client/requests/CreateClaimTokenRequest.js +0 -41
- package/dist/cjs/serialization/resources/organization/client/requests/SetDocsUrlRequest.d.ts +0 -9
- package/dist/cjs/serialization/resources/organization/client/requests/SetDocsUrlRequest.js +0 -41
- package/dist/cjs/serialization/types/ClaimGuestSessionResponse.d.ts +0 -15
- package/dist/cjs/serialization/types/ClaimGuestSessionResponse.js +0 -48
- package/dist/cjs/serialization/types/ClaimGuestSessionResponseStatus.d.ts +0 -7
- package/dist/cjs/serialization/types/ClaimGuestSessionResponseStatus.js +0 -39
- package/dist/cjs/serialization/types/ClaimOrganizationRequest.d.ts +0 -9
- package/dist/cjs/serialization/types/ClaimOrganizationRequest.js +0 -41
- package/dist/cjs/serialization/types/ClaimOrganizationResponse.d.ts +0 -11
- package/dist/cjs/serialization/types/ClaimOrganizationResponse.js +0 -43
- package/dist/cjs/serialization/types/ClaimPreviewResponse.d.ts +0 -14
- package/dist/cjs/serialization/types/ClaimPreviewResponse.js +0 -46
- package/dist/cjs/serialization/types/ClaimStatus.d.ts +0 -7
- package/dist/cjs/serialization/types/ClaimStatus.js +0 -39
- package/dist/cjs/serialization/types/ClaimStatusResponse.d.ts +0 -10
- package/dist/cjs/serialization/types/ClaimStatusResponse.js +0 -42
- package/dist/cjs/serialization/types/ClaimTokenResponse.d.ts +0 -10
- package/dist/cjs/serialization/types/ClaimTokenResponse.js +0 -42
- package/dist/cjs/serialization/types/CreateGuestSessionResponse.d.ts +0 -17
- package/dist/cjs/serialization/types/CreateGuestSessionResponse.js +0 -49
- package/dist/cjs/serialization/types/DeleteGuestSessionResponse.d.ts +0 -12
- package/dist/cjs/serialization/types/DeleteGuestSessionResponse.js +0 -45
- package/dist/cjs/serialization/types/DeleteGuestSessionResponseStatus.d.ts +0 -7
- package/dist/cjs/serialization/types/DeleteGuestSessionResponseStatus.js +0 -39
- package/dist/cjs/serialization/types/GetGuestSessionResponse.d.ts +0 -20
- package/dist/cjs/serialization/types/GetGuestSessionResponse.js +0 -52
- package/dist/cjs/serialization/types/GetGuestSessionResponseStatus.d.ts +0 -7
- package/dist/cjs/serialization/types/GetGuestSessionResponseStatus.js +0 -39
- package/dist/cjs/serialization/types/GoneErrorBody.d.ts +0 -11
- package/dist/cjs/serialization/types/GoneErrorBody.js +0 -43
- package/dist/cjs/serialization/types/GoneErrorBodyContent.d.ts +0 -14
- package/dist/cjs/serialization/types/GoneErrorBodyContent.js +0 -46
- package/dist/cjs/serialization/types/GoneErrorBodyContentCode.d.ts +0 -7
- package/dist/cjs/serialization/types/GoneErrorBodyContentCode.js +0 -39
- package/dist/cjs/serialization/types/GuestSessionLimits.d.ts +0 -12
- package/dist/cjs/serialization/types/GuestSessionLimits.js +0 -44
- package/dist/cjs/serialization/types/GuestSessionUsage.d.ts +0 -10
- package/dist/cjs/serialization/types/GuestSessionUsage.js +0 -42
- package/dist/cjs/serialization/types/InternalGuestSessionResponse.d.ts +0 -16
- package/dist/cjs/serialization/types/InternalGuestSessionResponse.js +0 -48
- package/dist/cjs/serialization/types/InternalGuestSessionResponseStatus.d.ts +0 -7
- package/dist/cjs/serialization/types/InternalGuestSessionResponseStatus.js +0 -39
- package/dist/cjs/serialization/types/Limit.d.ts +0 -12
- package/dist/cjs/serialization/types/Limit.js +0 -44
- package/dist/cjs/serialization/types/NotFoundErrorBody.d.ts +0 -11
- package/dist/cjs/serialization/types/NotFoundErrorBody.js +0 -43
- package/dist/cjs/serialization/types/NotFoundErrorBodyContent.d.ts +0 -14
- package/dist/cjs/serialization/types/NotFoundErrorBodyContent.js +0 -46
- package/dist/cjs/serialization/types/NotFoundErrorBodyContentCode.d.ts +0 -7
- package/dist/cjs/serialization/types/NotFoundErrorBodyContentCode.js +0 -39
- package/dist/cjs/serialization/types/PostmanTeamDocsResponse.d.ts +0 -12
- package/dist/cjs/serialization/types/PostmanTeamDocsResponse.js +0 -44
- package/dist/cjs/serialization/types/ReserveResponse.d.ts +0 -20
- package/dist/cjs/serialization/types/ReserveResponse.js +0 -52
- package/dist/cjs/serialization/types/ReserveResponseKind.d.ts +0 -7
- package/dist/cjs/serialization/types/ReserveResponseKind.js +0 -39
- package/dist/cjs/serialization/types/ReserveResponseState.d.ts +0 -7
- package/dist/cjs/serialization/types/ReserveResponseState.js +0 -39
- package/dist/cjs/serialization/types/ServiceUnavailableErrorBody.d.ts +0 -11
- package/dist/cjs/serialization/types/ServiceUnavailableErrorBody.js +0 -43
- package/dist/cjs/serialization/types/ServiceUnavailableErrorBodyContent.d.ts +0 -14
- package/dist/cjs/serialization/types/ServiceUnavailableErrorBodyContent.js +0 -46
- package/dist/cjs/serialization/types/ServiceUnavailableErrorBodyContentCode.d.ts +0 -7
- package/dist/cjs/serialization/types/ServiceUnavailableErrorBodyContentCode.js +0 -39
- package/dist/cjs/serialization/types/SettleResponse.d.ts +0 -11
- package/dist/cjs/serialization/types/SettleResponse.js +0 -43
- package/dist/cjs/serialization/types/SettleResponseReason.d.ts +0 -7
- package/dist/cjs/serialization/types/SettleResponseReason.js +0 -39
- package/dist/cjs/serialization/types/TooManyRequestsErrorBody.d.ts +0 -11
- package/dist/cjs/serialization/types/TooManyRequestsErrorBody.js +0 -43
- package/dist/cjs/serialization/types/TooManyRequestsErrorBodyContent.d.ts +0 -14
- package/dist/cjs/serialization/types/TooManyRequestsErrorBodyContent.js +0 -46
- package/dist/cjs/serialization/types/TooManyRequestsErrorBodyContentCode.d.ts +0 -7
- package/dist/cjs/serialization/types/TooManyRequestsErrorBodyContentCode.js +0 -39
- package/dist/esm/api/resources/guestSession/client/Client.d.mts +0 -84
- package/dist/esm/api/resources/guestSession/client/Client.mjs +0 -432
- package/dist/esm/api/resources/guestSession/client/claim.d.mts +0 -25
- package/dist/esm/api/resources/guestSession/client/claim.mjs +0 -30
- package/dist/esm/api/resources/guestSession/client/create.d.mts +0 -37
- package/dist/esm/api/resources/guestSession/client/create.mjs +0 -52
- package/dist/esm/api/resources/guestSession/client/delete.d.mts +0 -25
- package/dist/esm/api/resources/guestSession/client/delete.mjs +0 -30
- package/dist/esm/api/resources/guestSession/client/get.d.mts +0 -43
- package/dist/esm/api/resources/guestSession/client/get.mjs +0 -63
- package/dist/esm/api/resources/guestSession/client/index.d.mts +0 -5
- package/dist/esm/api/resources/guestSession/client/index.mjs +0 -5
- package/dist/esm/api/resources/guestSession/client/requests/ClaimGuestSessionRequest.d.mts +0 -11
- package/dist/esm/api/resources/guestSession/client/requests/ClaimGuestSessionRequest.mjs +0 -2
- package/dist/esm/api/resources/guestSession/client/requests/CreateGuestSessionRequest.d.mts +0 -11
- package/dist/esm/api/resources/guestSession/client/requests/CreateGuestSessionRequest.mjs +0 -2
- package/dist/esm/api/resources/guestSession/client/requests/DeleteGuestSessionsSessionIdDeleteRequest.d.mts +0 -9
- package/dist/esm/api/resources/guestSession/client/requests/DeleteGuestSessionsSessionIdDeleteRequest.mjs +0 -2
- package/dist/esm/api/resources/guestSession/client/requests/GetGuestSessionsSessionIdGetRequest.d.mts +0 -11
- package/dist/esm/api/resources/guestSession/client/requests/GetGuestSessionsSessionIdGetRequest.mjs +0 -2
- package/dist/esm/api/resources/guestSession/client/requests/index.d.mts +0 -4
- package/dist/esm/api/resources/guestSession/client/requests/index.mjs +0 -1
- package/dist/esm/api/resources/guestSession/index.d.mts +0 -1
- package/dist/esm/api/resources/guestSession/index.mjs +0 -1
- package/dist/esm/api/resources/internalGuestSession/client/Client.d.mts +0 -55
- package/dist/esm/api/resources/internalGuestSession/client/Client.mjs +0 -277
- package/dist/esm/api/resources/internalGuestSession/client/index.d.mts +0 -4
- package/dist/esm/api/resources/internalGuestSession/client/index.mjs +0 -4
- package/dist/esm/api/resources/internalGuestSession/client/readByOrg.d.mts +0 -25
- package/dist/esm/api/resources/internalGuestSession/client/readByOrg.mjs +0 -30
- package/dist/esm/api/resources/internalGuestSession/client/requests/ReadByOrgInternalGuestSessionsByOrgOrgIdGetRequest.d.mts +0 -9
- package/dist/esm/api/resources/internalGuestSession/client/requests/ReadByOrgInternalGuestSessionsByOrgOrgIdGetRequest.mjs +0 -2
- package/dist/esm/api/resources/internalGuestSession/client/requests/ReserveRequest.d.mts +0 -14
- package/dist/esm/api/resources/internalGuestSession/client/requests/ReserveRequest.mjs +0 -2
- package/dist/esm/api/resources/internalGuestSession/client/requests/SettleRequest.d.mts +0 -14
- package/dist/esm/api/resources/internalGuestSession/client/requests/SettleRequest.mjs +0 -2
- package/dist/esm/api/resources/internalGuestSession/client/requests/index.d.mts +0 -3
- package/dist/esm/api/resources/internalGuestSession/client/requests/index.mjs +0 -1
- package/dist/esm/api/resources/internalGuestSession/client/reserve.d.mts +0 -25
- package/dist/esm/api/resources/internalGuestSession/client/reserve.mjs +0 -30
- package/dist/esm/api/resources/internalGuestSession/client/settle.d.mts +0 -25
- package/dist/esm/api/resources/internalGuestSession/client/settle.mjs +0 -30
- package/dist/esm/api/resources/internalGuestSession/index.d.mts +0 -2
- package/dist/esm/api/resources/internalGuestSession/index.mjs +0 -2
- package/dist/esm/api/resources/internalGuestSession/types/ReserveRequestKind.d.mts +0 -5
- package/dist/esm/api/resources/internalGuestSession/types/ReserveRequestKind.mjs +0 -5
- package/dist/esm/api/resources/internalGuestSession/types/SettleRequestOutcome.d.mts +0 -5
- package/dist/esm/api/resources/internalGuestSession/types/SettleRequestOutcome.mjs +0 -5
- package/dist/esm/api/resources/internalGuestSession/types/index.d.mts +0 -2
- package/dist/esm/api/resources/internalGuestSession/types/index.mjs +0 -2
- package/dist/esm/api/resources/organization/client/claim.d.mts +0 -25
- package/dist/esm/api/resources/organization/client/claim.mjs +0 -30
- package/dist/esm/api/resources/organization/client/createClaimToken.d.mts +0 -25
- package/dist/esm/api/resources/organization/client/createClaimToken.mjs +0 -30
- package/dist/esm/api/resources/organization/client/getClaimStatus.d.mts +0 -25
- package/dist/esm/api/resources/organization/client/getClaimStatus.mjs +0 -30
- package/dist/esm/api/resources/organization/client/getPostmanTeamDocs.d.mts +0 -25
- package/dist/esm/api/resources/organization/client/getPostmanTeamDocs.mjs +0 -30
- package/dist/esm/api/resources/organization/client/previewClaim.d.mts +0 -25
- package/dist/esm/api/resources/organization/client/previewClaim.mjs +0 -30
- package/dist/esm/api/resources/organization/client/requests/CreateClaimTokenRequest.d.mts +0 -11
- package/dist/esm/api/resources/organization/client/requests/CreateClaimTokenRequest.mjs +0 -2
- package/dist/esm/api/resources/organization/client/requests/GetClaimStatusOrganizationsOrgIdClaimStatusGetRequest.d.mts +0 -9
- package/dist/esm/api/resources/organization/client/requests/GetClaimStatusOrganizationsOrgIdClaimStatusGetRequest.mjs +0 -2
- package/dist/esm/api/resources/organization/client/requests/GetPostmanTeamDocsOrganizationsPostmanTeamPostmanTeamIdDocsGetRequest.d.mts +0 -9
- package/dist/esm/api/resources/organization/client/requests/GetPostmanTeamDocsOrganizationsPostmanTeamPostmanTeamIdDocsGetRequest.mjs +0 -2
- package/dist/esm/api/resources/organization/client/requests/SetDocsUrlRequest.d.mts +0 -11
- package/dist/esm/api/resources/organization/client/requests/SetDocsUrlRequest.mjs +0 -2
- package/dist/esm/api/resources/organization/client/setDocsUrl.d.mts +0 -25
- package/dist/esm/api/resources/organization/client/setDocsUrl.mjs +0 -30
- package/dist/esm/api/types/ClaimGuestSessionResponse.d.mts +0 -10
- package/dist/esm/api/types/ClaimGuestSessionResponse.mjs +0 -2
- package/dist/esm/api/types/ClaimGuestSessionResponseStatus.d.mts +0 -9
- package/dist/esm/api/types/ClaimGuestSessionResponseStatus.mjs +0 -9
- package/dist/esm/api/types/ClaimOrganizationRequest.d.mts +0 -3
- package/dist/esm/api/types/ClaimOrganizationRequest.mjs +0 -2
- package/dist/esm/api/types/ClaimOrganizationResponse.d.mts +0 -5
- package/dist/esm/api/types/ClaimOrganizationResponse.mjs +0 -2
- package/dist/esm/api/types/ClaimPreviewResponse.d.mts +0 -8
- package/dist/esm/api/types/ClaimPreviewResponse.mjs +0 -2
- package/dist/esm/api/types/ClaimStatus.d.mts +0 -5
- package/dist/esm/api/types/ClaimStatus.mjs +0 -5
- package/dist/esm/api/types/ClaimStatusResponse.d.mts +0 -4
- package/dist/esm/api/types/ClaimStatusResponse.mjs +0 -2
- package/dist/esm/api/types/ClaimTokenResponse.d.mts +0 -4
- package/dist/esm/api/types/ClaimTokenResponse.mjs +0 -2
- package/dist/esm/api/types/CreateGuestSessionResponse.d.mts +0 -11
- package/dist/esm/api/types/CreateGuestSessionResponse.mjs +0 -2
- package/dist/esm/api/types/DeleteGuestSessionResponse.d.mts +0 -7
- package/dist/esm/api/types/DeleteGuestSessionResponse.mjs +0 -2
- package/dist/esm/api/types/DeleteGuestSessionResponseStatus.d.mts +0 -9
- package/dist/esm/api/types/DeleteGuestSessionResponseStatus.mjs +0 -9
- package/dist/esm/api/types/GetGuestSessionResponse.d.mts +0 -13
- package/dist/esm/api/types/GetGuestSessionResponse.mjs +0 -2
- package/dist/esm/api/types/GetGuestSessionResponseStatus.d.mts +0 -9
- package/dist/esm/api/types/GetGuestSessionResponseStatus.mjs +0 -9
- package/dist/esm/api/types/GoneErrorBody.d.mts +0 -5
- package/dist/esm/api/types/GoneErrorBody.mjs +0 -2
- package/dist/esm/api/types/GoneErrorBodyContent.d.mts +0 -8
- package/dist/esm/api/types/GoneErrorBodyContent.mjs +0 -2
- package/dist/esm/api/types/GoneErrorBodyContentCode.d.mts +0 -5
- package/dist/esm/api/types/GoneErrorBodyContentCode.mjs +0 -5
- package/dist/esm/api/types/GuestSessionLimits.d.mts +0 -6
- package/dist/esm/api/types/GuestSessionLimits.mjs +0 -2
- package/dist/esm/api/types/GuestSessionUsage.d.mts +0 -4
- package/dist/esm/api/types/GuestSessionUsage.mjs +0 -2
- package/dist/esm/api/types/InternalGuestSessionResponse.d.mts +0 -22
- package/dist/esm/api/types/InternalGuestSessionResponse.mjs +0 -2
- package/dist/esm/api/types/InternalGuestSessionResponseStatus.d.mts +0 -9
- package/dist/esm/api/types/InternalGuestSessionResponseStatus.mjs +0 -9
- package/dist/esm/api/types/Limit.d.mts +0 -6
- package/dist/esm/api/types/Limit.mjs +0 -2
- package/dist/esm/api/types/NotFoundErrorBody.d.mts +0 -5
- package/dist/esm/api/types/NotFoundErrorBody.mjs +0 -2
- package/dist/esm/api/types/NotFoundErrorBodyContent.d.mts +0 -8
- package/dist/esm/api/types/NotFoundErrorBodyContent.mjs +0 -2
- package/dist/esm/api/types/NotFoundErrorBodyContentCode.d.mts +0 -4
- package/dist/esm/api/types/NotFoundErrorBodyContentCode.mjs +0 -4
- package/dist/esm/api/types/PostmanTeamDocsResponse.d.mts +0 -6
- package/dist/esm/api/types/PostmanTeamDocsResponse.mjs +0 -2
- package/dist/esm/api/types/ReserveResponse.d.mts +0 -12
- package/dist/esm/api/types/ReserveResponse.mjs +0 -2
- package/dist/esm/api/types/ReserveResponseKind.d.mts +0 -5
- package/dist/esm/api/types/ReserveResponseKind.mjs +0 -5
- package/dist/esm/api/types/ReserveResponseState.d.mts +0 -6
- package/dist/esm/api/types/ReserveResponseState.mjs +0 -6
- package/dist/esm/api/types/ServiceUnavailableErrorBody.d.mts +0 -5
- package/dist/esm/api/types/ServiceUnavailableErrorBody.mjs +0 -2
- package/dist/esm/api/types/ServiceUnavailableErrorBodyContent.d.mts +0 -8
- package/dist/esm/api/types/ServiceUnavailableErrorBodyContent.mjs +0 -2
- package/dist/esm/api/types/ServiceUnavailableErrorBodyContentCode.d.mts +0 -6
- package/dist/esm/api/types/ServiceUnavailableErrorBodyContentCode.mjs +0 -6
- package/dist/esm/api/types/SettleResponse.d.mts +0 -5
- package/dist/esm/api/types/SettleResponse.mjs +0 -2
- package/dist/esm/api/types/SettleResponseReason.d.mts +0 -5
- package/dist/esm/api/types/SettleResponseReason.mjs +0 -5
- package/dist/esm/api/types/TooManyRequestsErrorBody.d.mts +0 -5
- package/dist/esm/api/types/TooManyRequestsErrorBody.mjs +0 -2
- package/dist/esm/api/types/TooManyRequestsErrorBodyContent.d.mts +0 -8
- package/dist/esm/api/types/TooManyRequestsErrorBodyContent.mjs +0 -2
- package/dist/esm/api/types/TooManyRequestsErrorBodyContentCode.d.mts +0 -4
- package/dist/esm/api/types/TooManyRequestsErrorBodyContentCode.mjs +0 -4
- package/dist/esm/serialization/resources/guestSession/client/index.d.mts +0 -1
- package/dist/esm/serialization/resources/guestSession/client/index.mjs +0 -1
- package/dist/esm/serialization/resources/guestSession/client/requests/ClaimGuestSessionRequest.d.mts +0 -10
- package/dist/esm/serialization/resources/guestSession/client/requests/ClaimGuestSessionRequest.mjs +0 -6
- package/dist/esm/serialization/resources/guestSession/client/requests/CreateGuestSessionRequest.d.mts +0 -11
- package/dist/esm/serialization/resources/guestSession/client/requests/CreateGuestSessionRequest.mjs +0 -7
- package/dist/esm/serialization/resources/guestSession/client/requests/index.d.mts +0 -2
- package/dist/esm/serialization/resources/guestSession/client/requests/index.mjs +0 -2
- package/dist/esm/serialization/resources/guestSession/index.d.mts +0 -1
- package/dist/esm/serialization/resources/guestSession/index.mjs +0 -1
- package/dist/esm/serialization/resources/internalGuestSession/client/index.d.mts +0 -1
- package/dist/esm/serialization/resources/internalGuestSession/client/index.mjs +0 -1
- package/dist/esm/serialization/resources/internalGuestSession/client/requests/ReserveRequest.d.mts +0 -12
- package/dist/esm/serialization/resources/internalGuestSession/client/requests/ReserveRequest.mjs +0 -8
- package/dist/esm/serialization/resources/internalGuestSession/client/requests/SettleRequest.d.mts +0 -11
- package/dist/esm/serialization/resources/internalGuestSession/client/requests/SettleRequest.mjs +0 -7
- package/dist/esm/serialization/resources/internalGuestSession/client/requests/index.d.mts +0 -2
- package/dist/esm/serialization/resources/internalGuestSession/client/requests/index.mjs +0 -2
- package/dist/esm/serialization/resources/internalGuestSession/index.d.mts +0 -2
- package/dist/esm/serialization/resources/internalGuestSession/index.mjs +0 -2
- package/dist/esm/serialization/resources/internalGuestSession/types/ReserveRequestKind.d.mts +0 -7
- package/dist/esm/serialization/resources/internalGuestSession/types/ReserveRequestKind.mjs +0 -3
- package/dist/esm/serialization/resources/internalGuestSession/types/SettleRequestOutcome.d.mts +0 -7
- package/dist/esm/serialization/resources/internalGuestSession/types/SettleRequestOutcome.mjs +0 -3
- package/dist/esm/serialization/resources/internalGuestSession/types/index.d.mts +0 -2
- package/dist/esm/serialization/resources/internalGuestSession/types/index.mjs +0 -2
- package/dist/esm/serialization/resources/organization/client/requests/CreateClaimTokenRequest.d.mts +0 -9
- package/dist/esm/serialization/resources/organization/client/requests/CreateClaimTokenRequest.mjs +0 -5
- package/dist/esm/serialization/resources/organization/client/requests/SetDocsUrlRequest.d.mts +0 -9
- package/dist/esm/serialization/resources/organization/client/requests/SetDocsUrlRequest.mjs +0 -5
- package/dist/esm/serialization/types/ClaimGuestSessionResponse.d.mts +0 -15
- package/dist/esm/serialization/types/ClaimGuestSessionResponse.mjs +0 -12
- package/dist/esm/serialization/types/ClaimGuestSessionResponseStatus.d.mts +0 -7
- package/dist/esm/serialization/types/ClaimGuestSessionResponseStatus.mjs +0 -3
- package/dist/esm/serialization/types/ClaimOrganizationRequest.d.mts +0 -9
- package/dist/esm/serialization/types/ClaimOrganizationRequest.mjs +0 -5
- package/dist/esm/serialization/types/ClaimOrganizationResponse.d.mts +0 -11
- package/dist/esm/serialization/types/ClaimOrganizationResponse.mjs +0 -7
- package/dist/esm/serialization/types/ClaimPreviewResponse.d.mts +0 -14
- package/dist/esm/serialization/types/ClaimPreviewResponse.mjs +0 -10
- package/dist/esm/serialization/types/ClaimStatus.d.mts +0 -7
- package/dist/esm/serialization/types/ClaimStatus.mjs +0 -3
- package/dist/esm/serialization/types/ClaimStatusResponse.d.mts +0 -10
- package/dist/esm/serialization/types/ClaimStatusResponse.mjs +0 -6
- package/dist/esm/serialization/types/ClaimTokenResponse.d.mts +0 -10
- package/dist/esm/serialization/types/ClaimTokenResponse.mjs +0 -6
- package/dist/esm/serialization/types/CreateGuestSessionResponse.d.mts +0 -17
- package/dist/esm/serialization/types/CreateGuestSessionResponse.mjs +0 -13
- package/dist/esm/serialization/types/DeleteGuestSessionResponse.d.mts +0 -12
- package/dist/esm/serialization/types/DeleteGuestSessionResponse.mjs +0 -9
- package/dist/esm/serialization/types/DeleteGuestSessionResponseStatus.d.mts +0 -7
- package/dist/esm/serialization/types/DeleteGuestSessionResponseStatus.mjs +0 -3
- package/dist/esm/serialization/types/GetGuestSessionResponse.d.mts +0 -20
- package/dist/esm/serialization/types/GetGuestSessionResponse.mjs +0 -16
- package/dist/esm/serialization/types/GetGuestSessionResponseStatus.d.mts +0 -7
- package/dist/esm/serialization/types/GetGuestSessionResponseStatus.mjs +0 -3
- package/dist/esm/serialization/types/GoneErrorBody.d.mts +0 -11
- package/dist/esm/serialization/types/GoneErrorBody.mjs +0 -7
- package/dist/esm/serialization/types/GoneErrorBodyContent.d.mts +0 -14
- package/dist/esm/serialization/types/GoneErrorBodyContent.mjs +0 -10
- package/dist/esm/serialization/types/GoneErrorBodyContentCode.d.mts +0 -7
- package/dist/esm/serialization/types/GoneErrorBodyContentCode.mjs +0 -3
- package/dist/esm/serialization/types/GuestSessionLimits.d.mts +0 -12
- package/dist/esm/serialization/types/GuestSessionLimits.mjs +0 -8
- package/dist/esm/serialization/types/GuestSessionUsage.d.mts +0 -10
- package/dist/esm/serialization/types/GuestSessionUsage.mjs +0 -6
- package/dist/esm/serialization/types/InternalGuestSessionResponse.d.mts +0 -16
- package/dist/esm/serialization/types/InternalGuestSessionResponse.mjs +0 -12
- package/dist/esm/serialization/types/InternalGuestSessionResponseStatus.d.mts +0 -7
- package/dist/esm/serialization/types/InternalGuestSessionResponseStatus.mjs +0 -3
- package/dist/esm/serialization/types/Limit.d.mts +0 -12
- package/dist/esm/serialization/types/Limit.mjs +0 -8
- package/dist/esm/serialization/types/NotFoundErrorBody.d.mts +0 -11
- package/dist/esm/serialization/types/NotFoundErrorBody.mjs +0 -7
- package/dist/esm/serialization/types/NotFoundErrorBodyContent.d.mts +0 -14
- package/dist/esm/serialization/types/NotFoundErrorBodyContent.mjs +0 -10
- package/dist/esm/serialization/types/NotFoundErrorBodyContentCode.d.mts +0 -7
- package/dist/esm/serialization/types/NotFoundErrorBodyContentCode.mjs +0 -3
- package/dist/esm/serialization/types/PostmanTeamDocsResponse.d.mts +0 -12
- package/dist/esm/serialization/types/PostmanTeamDocsResponse.mjs +0 -8
- package/dist/esm/serialization/types/ReserveResponse.d.mts +0 -20
- package/dist/esm/serialization/types/ReserveResponse.mjs +0 -16
- package/dist/esm/serialization/types/ReserveResponseKind.d.mts +0 -7
- package/dist/esm/serialization/types/ReserveResponseKind.mjs +0 -3
- package/dist/esm/serialization/types/ReserveResponseState.d.mts +0 -7
- package/dist/esm/serialization/types/ReserveResponseState.mjs +0 -3
- package/dist/esm/serialization/types/ServiceUnavailableErrorBody.d.mts +0 -11
- package/dist/esm/serialization/types/ServiceUnavailableErrorBody.mjs +0 -7
- package/dist/esm/serialization/types/ServiceUnavailableErrorBodyContent.d.mts +0 -14
- package/dist/esm/serialization/types/ServiceUnavailableErrorBodyContent.mjs +0 -10
- package/dist/esm/serialization/types/ServiceUnavailableErrorBodyContentCode.d.mts +0 -7
- package/dist/esm/serialization/types/ServiceUnavailableErrorBodyContentCode.mjs +0 -3
- package/dist/esm/serialization/types/SettleResponse.d.mts +0 -11
- package/dist/esm/serialization/types/SettleResponse.mjs +0 -7
- package/dist/esm/serialization/types/SettleResponseReason.d.mts +0 -7
- package/dist/esm/serialization/types/SettleResponseReason.mjs +0 -3
- package/dist/esm/serialization/types/TooManyRequestsErrorBody.d.mts +0 -11
- package/dist/esm/serialization/types/TooManyRequestsErrorBody.mjs +0 -7
- package/dist/esm/serialization/types/TooManyRequestsErrorBodyContent.d.mts +0 -14
- package/dist/esm/serialization/types/TooManyRequestsErrorBodyContent.mjs +0 -10
- package/dist/esm/serialization/types/TooManyRequestsErrorBodyContentCode.d.mts +0 -7
- package/dist/esm/serialization/types/TooManyRequestsErrorBodyContentCode.mjs +0 -3
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import type * as core from "../../../../core/index.mjs";
|
|
2
|
-
import * as FernVenusApi from "../../../index.mjs";
|
|
3
|
-
export type Error = FernVenusApi.guestSession.get.Error.NotFoundError | FernVenusApi.guestSession.get.Error.GoneError | FernVenusApi.guestSession.get.Error.UnprocessableEntityError | FernVenusApi.guestSession.get.Error.ServiceUnavailableError | FernVenusApi.guestSession.get.Error._Unknown;
|
|
4
|
-
export declare namespace Error {
|
|
5
|
-
interface NotFoundError extends _Utils {
|
|
6
|
-
statusCode: 404;
|
|
7
|
-
content: FernVenusApi.NotFoundErrorBody;
|
|
8
|
-
}
|
|
9
|
-
interface GoneError extends _Utils {
|
|
10
|
-
statusCode: 410;
|
|
11
|
-
content: FernVenusApi.GoneErrorBody;
|
|
12
|
-
}
|
|
13
|
-
interface UnprocessableEntityError extends _Utils {
|
|
14
|
-
statusCode: 422;
|
|
15
|
-
content: FernVenusApi.HttpValidationError;
|
|
16
|
-
}
|
|
17
|
-
interface ServiceUnavailableError extends _Utils {
|
|
18
|
-
statusCode: 503;
|
|
19
|
-
content?: unknown;
|
|
20
|
-
}
|
|
21
|
-
interface _Unknown extends _Utils {
|
|
22
|
-
statusCode: void;
|
|
23
|
-
content: core.Fetcher.Error;
|
|
24
|
-
}
|
|
25
|
-
interface _Utils {
|
|
26
|
-
_visit: <_Result>(visitor: FernVenusApi.guestSession.get.Error._Visitor<_Result>) => _Result;
|
|
27
|
-
}
|
|
28
|
-
interface _Visitor<_Result> {
|
|
29
|
-
notFoundError: (value: FernVenusApi.NotFoundErrorBody) => _Result;
|
|
30
|
-
goneError: (value: FernVenusApi.GoneErrorBody) => _Result;
|
|
31
|
-
unprocessableEntityError: (value: FernVenusApi.HttpValidationError) => _Result;
|
|
32
|
-
serviceUnavailableError: (value: unknown) => _Result;
|
|
33
|
-
_other: (value: core.Fetcher.Error) => _Result;
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
export declare const Error: {
|
|
37
|
-
readonly notFoundError: (value: FernVenusApi.NotFoundErrorBody) => FernVenusApi.guestSession.get.Error.NotFoundError;
|
|
38
|
-
readonly goneError: (value: FernVenusApi.GoneErrorBody) => FernVenusApi.guestSession.get.Error.GoneError;
|
|
39
|
-
readonly unprocessableEntityError: (value: FernVenusApi.HttpValidationError) => FernVenusApi.guestSession.get.Error.UnprocessableEntityError;
|
|
40
|
-
readonly serviceUnavailableError: (value?: unknown) => FernVenusApi.guestSession.get.Error.ServiceUnavailableError;
|
|
41
|
-
readonly _unknown: (fetcherError: core.Fetcher.Error) => FernVenusApi.guestSession.get.Error._Unknown;
|
|
42
|
-
readonly _visit: <_Result>(value: FernVenusApi.guestSession.get.Error, visitor: FernVenusApi.guestSession.get.Error._Visitor<_Result>) => _Result;
|
|
43
|
-
};
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
-
import * as FernVenusApi from "../../../index.mjs";
|
|
3
|
-
export const Error = {
|
|
4
|
-
notFoundError: (value) => {
|
|
5
|
-
return {
|
|
6
|
-
content: value,
|
|
7
|
-
statusCode: 404,
|
|
8
|
-
_visit: function (visitor) {
|
|
9
|
-
return FernVenusApi.guestSession.get.Error._visit(this, visitor);
|
|
10
|
-
},
|
|
11
|
-
};
|
|
12
|
-
},
|
|
13
|
-
goneError: (value) => {
|
|
14
|
-
return {
|
|
15
|
-
content: value,
|
|
16
|
-
statusCode: 410,
|
|
17
|
-
_visit: function (visitor) {
|
|
18
|
-
return FernVenusApi.guestSession.get.Error._visit(this, visitor);
|
|
19
|
-
},
|
|
20
|
-
};
|
|
21
|
-
},
|
|
22
|
-
unprocessableEntityError: (value) => {
|
|
23
|
-
return {
|
|
24
|
-
content: value,
|
|
25
|
-
statusCode: 422,
|
|
26
|
-
_visit: function (visitor) {
|
|
27
|
-
return FernVenusApi.guestSession.get.Error._visit(this, visitor);
|
|
28
|
-
},
|
|
29
|
-
};
|
|
30
|
-
},
|
|
31
|
-
serviceUnavailableError: (value) => {
|
|
32
|
-
return {
|
|
33
|
-
content: value,
|
|
34
|
-
statusCode: 503,
|
|
35
|
-
_visit: function (visitor) {
|
|
36
|
-
return FernVenusApi.guestSession.get.Error._visit(this, visitor);
|
|
37
|
-
},
|
|
38
|
-
};
|
|
39
|
-
},
|
|
40
|
-
_unknown: (fetcherError) => {
|
|
41
|
-
return {
|
|
42
|
-
statusCode: undefined,
|
|
43
|
-
content: fetcherError,
|
|
44
|
-
_visit: function (visitor) {
|
|
45
|
-
return FernVenusApi.guestSession.get.Error._visit(this, visitor);
|
|
46
|
-
},
|
|
47
|
-
};
|
|
48
|
-
},
|
|
49
|
-
_visit: (value, visitor) => {
|
|
50
|
-
switch (value.statusCode) {
|
|
51
|
-
case 404:
|
|
52
|
-
return visitor.notFoundError(value.content);
|
|
53
|
-
case 410:
|
|
54
|
-
return visitor.goneError(value.content);
|
|
55
|
-
case 422:
|
|
56
|
-
return visitor.unprocessableEntityError(value.content);
|
|
57
|
-
case 503:
|
|
58
|
-
return visitor.serviceUnavailableError(value.content);
|
|
59
|
-
default:
|
|
60
|
-
return visitor._other(value.content);
|
|
61
|
-
}
|
|
62
|
-
},
|
|
63
|
-
};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @example
|
|
3
|
-
* {
|
|
4
|
-
* sessionId: "session_id"
|
|
5
|
-
* }
|
|
6
|
-
*/
|
|
7
|
-
export interface GetGuestSessionsSessionIdGetRequest {
|
|
8
|
-
sessionId: string;
|
|
9
|
-
/** The session's claim secret, from the fragment of its claimUrl. Opens the session without a token, for the claim page. */
|
|
10
|
-
fernClaimSecret?: string;
|
|
11
|
-
}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
export type { ClaimGuestSessionRequest } from "./ClaimGuestSessionRequest.mjs";
|
|
2
|
-
export type { CreateGuestSessionRequest } from "./CreateGuestSessionRequest.mjs";
|
|
3
|
-
export type { DeleteGuestSessionsSessionIdDeleteRequest } from "./DeleteGuestSessionsSessionIdDeleteRequest.mjs";
|
|
4
|
-
export type { GetGuestSessionsSessionIdGetRequest } from "./GetGuestSessionsSessionIdGetRequest.mjs";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./client/index.mjs";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./client/index.mjs";
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
import type { BaseClientOptions, BaseRequestOptions } from "../../../../BaseClient.mjs";
|
|
2
|
-
import { type NormalizedClientOptionsWithAuth } from "../../../../BaseClient.mjs";
|
|
3
|
-
import * as core from "../../../../core/index.mjs";
|
|
4
|
-
import * as FernVenusApi from "../../../index.mjs";
|
|
5
|
-
export declare namespace InternalGuestSessionClient {
|
|
6
|
-
type Options = BaseClientOptions;
|
|
7
|
-
interface RequestOptions extends BaseRequestOptions {
|
|
8
|
-
}
|
|
9
|
-
}
|
|
10
|
-
export declare class InternalGuestSessionClient {
|
|
11
|
-
protected readonly _options: NormalizedClientOptionsWithAuth<InternalGuestSessionClient.Options>;
|
|
12
|
-
constructor(options: InternalGuestSessionClient.Options);
|
|
13
|
-
/**
|
|
14
|
-
* The session behind a guest organization, for the service holding
|
|
15
|
-
* its work. This is the read the pull model in ``guest_resources`` rests
|
|
16
|
-
* on: FDR and Fiddle know the ``guest-<id>`` org their rows belong to, not
|
|
17
|
-
* the session ID, token or claim secret, so this is keyed by the org and
|
|
18
|
-
* opened by the service credential alone.
|
|
19
|
-
*
|
|
20
|
-
* @param {FernVenusApi.ReadByOrgInternalGuestSessionsByOrgOrgIdGetRequest} request
|
|
21
|
-
* @param {InternalGuestSessionClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
22
|
-
*
|
|
23
|
-
* @example
|
|
24
|
-
* await client.internalGuestSession.readByOrg({
|
|
25
|
-
* orgId: "org_id"
|
|
26
|
-
* })
|
|
27
|
-
*/
|
|
28
|
-
readByOrg(request: FernVenusApi.ReadByOrgInternalGuestSessionsByOrgOrgIdGetRequest, requestOptions?: InternalGuestSessionClient.RequestOptions): core.HttpResponsePromise<core.APIResponse<FernVenusApi.InternalGuestSessionResponse, FernVenusApi.internalGuestSession.readByOrg.Error>>;
|
|
29
|
-
private __readByOrg;
|
|
30
|
-
/**
|
|
31
|
-
* @param {FernVenusApi.ReserveRequest} request
|
|
32
|
-
* @param {InternalGuestSessionClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
33
|
-
*
|
|
34
|
-
* @example
|
|
35
|
-
* await client.internalGuestSession.reserve({
|
|
36
|
-
* sessionId: "session_id",
|
|
37
|
-
* kind: "sdkBuild"
|
|
38
|
-
* })
|
|
39
|
-
*/
|
|
40
|
-
reserve(request: FernVenusApi.ReserveRequest, requestOptions?: InternalGuestSessionClient.RequestOptions): core.HttpResponsePromise<core.APIResponse<FernVenusApi.ReserveResponse, FernVenusApi.internalGuestSession.reserve.Error>>;
|
|
41
|
-
private __reserve;
|
|
42
|
-
/**
|
|
43
|
-
* @param {FernVenusApi.SettleRequest} request
|
|
44
|
-
* @param {InternalGuestSessionClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
45
|
-
*
|
|
46
|
-
* @example
|
|
47
|
-
* await client.internalGuestSession.settle({
|
|
48
|
-
* sessionId: "session_id",
|
|
49
|
-
* reservationId: "reservationId",
|
|
50
|
-
* outcome: "succeeded"
|
|
51
|
-
* })
|
|
52
|
-
*/
|
|
53
|
-
settle(request: FernVenusApi.SettleRequest, requestOptions?: InternalGuestSessionClient.RequestOptions): core.HttpResponsePromise<core.APIResponse<FernVenusApi.SettleResponse, FernVenusApi.internalGuestSession.settle.Error>>;
|
|
54
|
-
private __settle;
|
|
55
|
-
}
|
|
@@ -1,277 +0,0 @@
|
|
|
1
|
-
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
-
});
|
|
10
|
-
};
|
|
11
|
-
var __rest = (this && this.__rest) || function (s, e) {
|
|
12
|
-
var t = {};
|
|
13
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
14
|
-
t[p] = s[p];
|
|
15
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
16
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
17
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
18
|
-
t[p[i]] = s[p[i]];
|
|
19
|
-
}
|
|
20
|
-
return t;
|
|
21
|
-
};
|
|
22
|
-
import { normalizeClientOptionsWithAuth } from "../../../../BaseClient.mjs";
|
|
23
|
-
import { mergeHeaders } from "../../../../core/headers.mjs";
|
|
24
|
-
import * as core from "../../../../core/index.mjs";
|
|
25
|
-
import * as serializers from "../../../../serialization/index.mjs";
|
|
26
|
-
import * as FernVenusApi from "../../../index.mjs";
|
|
27
|
-
export class InternalGuestSessionClient {
|
|
28
|
-
constructor(options) {
|
|
29
|
-
this._options = normalizeClientOptionsWithAuth(options);
|
|
30
|
-
}
|
|
31
|
-
/**
|
|
32
|
-
* The session behind a guest organization, for the service holding
|
|
33
|
-
* its work. This is the read the pull model in ``guest_resources`` rests
|
|
34
|
-
* on: FDR and Fiddle know the ``guest-<id>`` org their rows belong to, not
|
|
35
|
-
* the session ID, token or claim secret, so this is keyed by the org and
|
|
36
|
-
* opened by the service credential alone.
|
|
37
|
-
*
|
|
38
|
-
* @param {FernVenusApi.ReadByOrgInternalGuestSessionsByOrgOrgIdGetRequest} request
|
|
39
|
-
* @param {InternalGuestSessionClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
40
|
-
*
|
|
41
|
-
* @example
|
|
42
|
-
* await client.internalGuestSession.readByOrg({
|
|
43
|
-
* orgId: "org_id"
|
|
44
|
-
* })
|
|
45
|
-
*/
|
|
46
|
-
readByOrg(request, requestOptions) {
|
|
47
|
-
return core.HttpResponsePromise.fromPromise(this.__readByOrg(request, requestOptions));
|
|
48
|
-
}
|
|
49
|
-
__readByOrg(request, requestOptions) {
|
|
50
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
51
|
-
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
52
|
-
const { orgId } = request;
|
|
53
|
-
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
54
|
-
const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
55
|
-
const _response = yield core.fetcher({
|
|
56
|
-
url: core.url.join((_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment)), `internal/guest-sessions/by-org/${core.url.encodePathParam(orgId)}`),
|
|
57
|
-
method: "GET",
|
|
58
|
-
headers: _headers,
|
|
59
|
-
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
60
|
-
timeoutMs: ((_e = (_c = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _c !== void 0 ? _c : (_d = this._options) === null || _d === void 0 ? void 0 : _d.timeoutInSeconds) !== null && _e !== void 0 ? _e : 60) * 1000,
|
|
61
|
-
maxRetries: (_f = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _f !== void 0 ? _f : (_g = this._options) === null || _g === void 0 ? void 0 : _g.maxRetries,
|
|
62
|
-
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
63
|
-
fetchFn: (_h = this._options) === null || _h === void 0 ? void 0 : _h.fetch,
|
|
64
|
-
logging: this._options.logging,
|
|
65
|
-
});
|
|
66
|
-
if (_response.ok) {
|
|
67
|
-
return {
|
|
68
|
-
data: {
|
|
69
|
-
ok: true,
|
|
70
|
-
body: serializers.InternalGuestSessionResponse.parseOrThrow(_response.body, {
|
|
71
|
-
unrecognizedObjectKeys: "passthrough",
|
|
72
|
-
allowUnrecognizedUnionMembers: true,
|
|
73
|
-
allowUnrecognizedEnumValues: true,
|
|
74
|
-
skipValidation: true,
|
|
75
|
-
breadcrumbsPrefix: ["response"],
|
|
76
|
-
}),
|
|
77
|
-
headers: _response.headers,
|
|
78
|
-
rawResponse: _response.rawResponse,
|
|
79
|
-
},
|
|
80
|
-
rawResponse: _response.rawResponse,
|
|
81
|
-
};
|
|
82
|
-
}
|
|
83
|
-
if (_response.error.reason === "status-code") {
|
|
84
|
-
switch (_response.error.statusCode) {
|
|
85
|
-
case 422:
|
|
86
|
-
return {
|
|
87
|
-
data: {
|
|
88
|
-
ok: false,
|
|
89
|
-
error: FernVenusApi.internalGuestSession.readByOrg.Error.unprocessableEntityError(serializers.HttpValidationError.parseOrThrow(_response.error.body, {
|
|
90
|
-
unrecognizedObjectKeys: "passthrough",
|
|
91
|
-
allowUnrecognizedUnionMembers: true,
|
|
92
|
-
allowUnrecognizedEnumValues: true,
|
|
93
|
-
skipValidation: true,
|
|
94
|
-
breadcrumbsPrefix: ["response"],
|
|
95
|
-
})),
|
|
96
|
-
rawResponse: _response.rawResponse,
|
|
97
|
-
},
|
|
98
|
-
rawResponse: _response.rawResponse,
|
|
99
|
-
};
|
|
100
|
-
}
|
|
101
|
-
}
|
|
102
|
-
return {
|
|
103
|
-
data: {
|
|
104
|
-
ok: false,
|
|
105
|
-
error: FernVenusApi.internalGuestSession.readByOrg.Error._unknown(_response.error),
|
|
106
|
-
rawResponse: _response.rawResponse,
|
|
107
|
-
},
|
|
108
|
-
rawResponse: _response.rawResponse,
|
|
109
|
-
};
|
|
110
|
-
});
|
|
111
|
-
}
|
|
112
|
-
/**
|
|
113
|
-
* @param {FernVenusApi.ReserveRequest} request
|
|
114
|
-
* @param {InternalGuestSessionClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
115
|
-
*
|
|
116
|
-
* @example
|
|
117
|
-
* await client.internalGuestSession.reserve({
|
|
118
|
-
* sessionId: "session_id",
|
|
119
|
-
* kind: "sdkBuild"
|
|
120
|
-
* })
|
|
121
|
-
*/
|
|
122
|
-
reserve(request, requestOptions) {
|
|
123
|
-
return core.HttpResponsePromise.fromPromise(this.__reserve(request, requestOptions));
|
|
124
|
-
}
|
|
125
|
-
__reserve(request, requestOptions) {
|
|
126
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
127
|
-
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
128
|
-
const { sessionId } = request, _body = __rest(request, ["sessionId"]);
|
|
129
|
-
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
130
|
-
const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
131
|
-
const _response = yield core.fetcher({
|
|
132
|
-
url: core.url.join((_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment)), `internal/guest-sessions/${core.url.encodePathParam(sessionId)}/quota/reserve`),
|
|
133
|
-
method: "POST",
|
|
134
|
-
headers: _headers,
|
|
135
|
-
contentType: "application/json",
|
|
136
|
-
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
137
|
-
requestType: "json",
|
|
138
|
-
body: serializers.ReserveRequest.jsonOrThrow(_body, {
|
|
139
|
-
unrecognizedObjectKeys: "strip",
|
|
140
|
-
omitUndefined: true,
|
|
141
|
-
}),
|
|
142
|
-
timeoutMs: ((_e = (_c = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _c !== void 0 ? _c : (_d = this._options) === null || _d === void 0 ? void 0 : _d.timeoutInSeconds) !== null && _e !== void 0 ? _e : 60) * 1000,
|
|
143
|
-
maxRetries: (_f = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _f !== void 0 ? _f : (_g = this._options) === null || _g === void 0 ? void 0 : _g.maxRetries,
|
|
144
|
-
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
145
|
-
fetchFn: (_h = this._options) === null || _h === void 0 ? void 0 : _h.fetch,
|
|
146
|
-
logging: this._options.logging,
|
|
147
|
-
});
|
|
148
|
-
if (_response.ok) {
|
|
149
|
-
return {
|
|
150
|
-
data: {
|
|
151
|
-
ok: true,
|
|
152
|
-
body: serializers.ReserveResponse.parseOrThrow(_response.body, {
|
|
153
|
-
unrecognizedObjectKeys: "passthrough",
|
|
154
|
-
allowUnrecognizedUnionMembers: true,
|
|
155
|
-
allowUnrecognizedEnumValues: true,
|
|
156
|
-
skipValidation: true,
|
|
157
|
-
breadcrumbsPrefix: ["response"],
|
|
158
|
-
}),
|
|
159
|
-
headers: _response.headers,
|
|
160
|
-
rawResponse: _response.rawResponse,
|
|
161
|
-
},
|
|
162
|
-
rawResponse: _response.rawResponse,
|
|
163
|
-
};
|
|
164
|
-
}
|
|
165
|
-
if (_response.error.reason === "status-code") {
|
|
166
|
-
switch (_response.error.statusCode) {
|
|
167
|
-
case 422:
|
|
168
|
-
return {
|
|
169
|
-
data: {
|
|
170
|
-
ok: false,
|
|
171
|
-
error: FernVenusApi.internalGuestSession.reserve.Error.unprocessableEntityError(serializers.HttpValidationError.parseOrThrow(_response.error.body, {
|
|
172
|
-
unrecognizedObjectKeys: "passthrough",
|
|
173
|
-
allowUnrecognizedUnionMembers: true,
|
|
174
|
-
allowUnrecognizedEnumValues: true,
|
|
175
|
-
skipValidation: true,
|
|
176
|
-
breadcrumbsPrefix: ["response"],
|
|
177
|
-
})),
|
|
178
|
-
rawResponse: _response.rawResponse,
|
|
179
|
-
},
|
|
180
|
-
rawResponse: _response.rawResponse,
|
|
181
|
-
};
|
|
182
|
-
}
|
|
183
|
-
}
|
|
184
|
-
return {
|
|
185
|
-
data: {
|
|
186
|
-
ok: false,
|
|
187
|
-
error: FernVenusApi.internalGuestSession.reserve.Error._unknown(_response.error),
|
|
188
|
-
rawResponse: _response.rawResponse,
|
|
189
|
-
},
|
|
190
|
-
rawResponse: _response.rawResponse,
|
|
191
|
-
};
|
|
192
|
-
});
|
|
193
|
-
}
|
|
194
|
-
/**
|
|
195
|
-
* @param {FernVenusApi.SettleRequest} request
|
|
196
|
-
* @param {InternalGuestSessionClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
197
|
-
*
|
|
198
|
-
* @example
|
|
199
|
-
* await client.internalGuestSession.settle({
|
|
200
|
-
* sessionId: "session_id",
|
|
201
|
-
* reservationId: "reservationId",
|
|
202
|
-
* outcome: "succeeded"
|
|
203
|
-
* })
|
|
204
|
-
*/
|
|
205
|
-
settle(request, requestOptions) {
|
|
206
|
-
return core.HttpResponsePromise.fromPromise(this.__settle(request, requestOptions));
|
|
207
|
-
}
|
|
208
|
-
__settle(request, requestOptions) {
|
|
209
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
210
|
-
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
211
|
-
const { sessionId } = request, _body = __rest(request, ["sessionId"]);
|
|
212
|
-
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
213
|
-
const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
214
|
-
const _response = yield core.fetcher({
|
|
215
|
-
url: core.url.join((_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment)), `internal/guest-sessions/${core.url.encodePathParam(sessionId)}/quota/settle`),
|
|
216
|
-
method: "POST",
|
|
217
|
-
headers: _headers,
|
|
218
|
-
contentType: "application/json",
|
|
219
|
-
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
220
|
-
requestType: "json",
|
|
221
|
-
body: serializers.SettleRequest.jsonOrThrow(_body, {
|
|
222
|
-
unrecognizedObjectKeys: "strip",
|
|
223
|
-
omitUndefined: true,
|
|
224
|
-
}),
|
|
225
|
-
timeoutMs: ((_e = (_c = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _c !== void 0 ? _c : (_d = this._options) === null || _d === void 0 ? void 0 : _d.timeoutInSeconds) !== null && _e !== void 0 ? _e : 60) * 1000,
|
|
226
|
-
maxRetries: (_f = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _f !== void 0 ? _f : (_g = this._options) === null || _g === void 0 ? void 0 : _g.maxRetries,
|
|
227
|
-
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
228
|
-
fetchFn: (_h = this._options) === null || _h === void 0 ? void 0 : _h.fetch,
|
|
229
|
-
logging: this._options.logging,
|
|
230
|
-
});
|
|
231
|
-
if (_response.ok) {
|
|
232
|
-
return {
|
|
233
|
-
data: {
|
|
234
|
-
ok: true,
|
|
235
|
-
body: serializers.SettleResponse.parseOrThrow(_response.body, {
|
|
236
|
-
unrecognizedObjectKeys: "passthrough",
|
|
237
|
-
allowUnrecognizedUnionMembers: true,
|
|
238
|
-
allowUnrecognizedEnumValues: true,
|
|
239
|
-
skipValidation: true,
|
|
240
|
-
breadcrumbsPrefix: ["response"],
|
|
241
|
-
}),
|
|
242
|
-
headers: _response.headers,
|
|
243
|
-
rawResponse: _response.rawResponse,
|
|
244
|
-
},
|
|
245
|
-
rawResponse: _response.rawResponse,
|
|
246
|
-
};
|
|
247
|
-
}
|
|
248
|
-
if (_response.error.reason === "status-code") {
|
|
249
|
-
switch (_response.error.statusCode) {
|
|
250
|
-
case 422:
|
|
251
|
-
return {
|
|
252
|
-
data: {
|
|
253
|
-
ok: false,
|
|
254
|
-
error: FernVenusApi.internalGuestSession.settle.Error.unprocessableEntityError(serializers.HttpValidationError.parseOrThrow(_response.error.body, {
|
|
255
|
-
unrecognizedObjectKeys: "passthrough",
|
|
256
|
-
allowUnrecognizedUnionMembers: true,
|
|
257
|
-
allowUnrecognizedEnumValues: true,
|
|
258
|
-
skipValidation: true,
|
|
259
|
-
breadcrumbsPrefix: ["response"],
|
|
260
|
-
})),
|
|
261
|
-
rawResponse: _response.rawResponse,
|
|
262
|
-
},
|
|
263
|
-
rawResponse: _response.rawResponse,
|
|
264
|
-
};
|
|
265
|
-
}
|
|
266
|
-
}
|
|
267
|
-
return {
|
|
268
|
-
data: {
|
|
269
|
-
ok: false,
|
|
270
|
-
error: FernVenusApi.internalGuestSession.settle.Error._unknown(_response.error),
|
|
271
|
-
rawResponse: _response.rawResponse,
|
|
272
|
-
},
|
|
273
|
-
rawResponse: _response.rawResponse,
|
|
274
|
-
};
|
|
275
|
-
});
|
|
276
|
-
}
|
|
277
|
-
}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import type * as core from "../../../../core/index.mjs";
|
|
2
|
-
import * as FernVenusApi from "../../../index.mjs";
|
|
3
|
-
export type Error = FernVenusApi.internalGuestSession.readByOrg.Error.UnprocessableEntityError | FernVenusApi.internalGuestSession.readByOrg.Error._Unknown;
|
|
4
|
-
export declare namespace Error {
|
|
5
|
-
interface UnprocessableEntityError extends _Utils {
|
|
6
|
-
statusCode: 422;
|
|
7
|
-
content: FernVenusApi.HttpValidationError;
|
|
8
|
-
}
|
|
9
|
-
interface _Unknown extends _Utils {
|
|
10
|
-
statusCode: void;
|
|
11
|
-
content: core.Fetcher.Error;
|
|
12
|
-
}
|
|
13
|
-
interface _Utils {
|
|
14
|
-
_visit: <_Result>(visitor: FernVenusApi.internalGuestSession.readByOrg.Error._Visitor<_Result>) => _Result;
|
|
15
|
-
}
|
|
16
|
-
interface _Visitor<_Result> {
|
|
17
|
-
unprocessableEntityError: (value: FernVenusApi.HttpValidationError) => _Result;
|
|
18
|
-
_other: (value: core.Fetcher.Error) => _Result;
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
export declare const Error: {
|
|
22
|
-
readonly unprocessableEntityError: (value: FernVenusApi.HttpValidationError) => FernVenusApi.internalGuestSession.readByOrg.Error.UnprocessableEntityError;
|
|
23
|
-
readonly _unknown: (fetcherError: core.Fetcher.Error) => FernVenusApi.internalGuestSession.readByOrg.Error._Unknown;
|
|
24
|
-
readonly _visit: <_Result>(value: FernVenusApi.internalGuestSession.readByOrg.Error, visitor: FernVenusApi.internalGuestSession.readByOrg.Error._Visitor<_Result>) => _Result;
|
|
25
|
-
};
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
-
import * as FernVenusApi from "../../../index.mjs";
|
|
3
|
-
export const Error = {
|
|
4
|
-
unprocessableEntityError: (value) => {
|
|
5
|
-
return {
|
|
6
|
-
content: value,
|
|
7
|
-
statusCode: 422,
|
|
8
|
-
_visit: function (visitor) {
|
|
9
|
-
return FernVenusApi.internalGuestSession.readByOrg.Error._visit(this, visitor);
|
|
10
|
-
},
|
|
11
|
-
};
|
|
12
|
-
},
|
|
13
|
-
_unknown: (fetcherError) => {
|
|
14
|
-
return {
|
|
15
|
-
statusCode: undefined,
|
|
16
|
-
content: fetcherError,
|
|
17
|
-
_visit: function (visitor) {
|
|
18
|
-
return FernVenusApi.internalGuestSession.readByOrg.Error._visit(this, visitor);
|
|
19
|
-
},
|
|
20
|
-
};
|
|
21
|
-
},
|
|
22
|
-
_visit: (value, visitor) => {
|
|
23
|
-
switch (value.statusCode) {
|
|
24
|
-
case 422:
|
|
25
|
-
return visitor.unprocessableEntityError(value.content);
|
|
26
|
-
default:
|
|
27
|
-
return visitor._other(value.content);
|
|
28
|
-
}
|
|
29
|
-
},
|
|
30
|
-
};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import type * as FernVenusApi from "../../../../index.mjs";
|
|
2
|
-
/**
|
|
3
|
-
* @example
|
|
4
|
-
* {
|
|
5
|
-
* sessionId: "session_id",
|
|
6
|
-
* kind: "sdkBuild"
|
|
7
|
-
* }
|
|
8
|
-
*/
|
|
9
|
-
export interface ReserveRequest {
|
|
10
|
-
sessionId: string;
|
|
11
|
-
kind: FernVenusApi.ReserveRequestKind;
|
|
12
|
-
idempotencyKey?: string | null;
|
|
13
|
-
leaseSeconds?: number;
|
|
14
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import type * as FernVenusApi from "../../../../index.mjs";
|
|
2
|
-
/**
|
|
3
|
-
* @example
|
|
4
|
-
* {
|
|
5
|
-
* sessionId: "session_id",
|
|
6
|
-
* reservationId: "reservationId",
|
|
7
|
-
* outcome: "succeeded"
|
|
8
|
-
* }
|
|
9
|
-
*/
|
|
10
|
-
export interface SettleRequest {
|
|
11
|
-
sessionId: string;
|
|
12
|
-
reservationId: string;
|
|
13
|
-
outcome: FernVenusApi.SettleRequestOutcome;
|
|
14
|
-
}
|