@fern-api/venus-api-sdk 13.0.0 → 14.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 +16 -8
- package/dist/cjs/Client.js +33 -20
- package/dist/cjs/api/client/index.d.ts +1 -1
- package/dist/cjs/api/client/index.js +2 -2
- package/dist/cjs/api/client/{metricsMetricsGet.d.ts → pingPingGet.d.ts} +4 -4
- package/dist/cjs/api/client/{metricsMetricsGet.js → pingPingGet.js} +1 -1
- package/dist/cjs/api/resources/apiKeys/client/Client.d.ts +13 -0
- package/dist/cjs/api/resources/apiKeys/client/Client.js +18 -2
- package/dist/cjs/api/resources/apiKeys/client/requests/RevokeTokenByIdApiKeysRevokeTokenIdPostRequest.d.ts +1 -0
- package/dist/cjs/api/resources/guestSession/client/Client.d.ts +84 -0
- package/dist/cjs/api/resources/guestSession/client/Client.js +469 -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 +37 -0
- package/dist/cjs/api/resources/guestSession/client/create.js +88 -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 +5 -0
- package/dist/cjs/api/resources/guestSession/client/index.js +44 -0
- package/dist/cjs/api/resources/guestSession/client/requests/ClaimGuestSessionRequest.d.ts +11 -0
- package/dist/cjs/api/resources/guestSession/client/requests/ClaimGuestSessionRequest.js +3 -0
- package/dist/cjs/api/resources/guestSession/client/requests/CreateGuestSessionRequest.d.ts +11 -0
- package/dist/cjs/api/resources/guestSession/client/requests/CreateGuestSessionRequest.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 +4 -0
- package/dist/cjs/api/resources/guestSession/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/guestSession/index.d.ts +1 -0
- package/dist/cjs/api/resources/guestSession/index.js +17 -0
- package/dist/cjs/api/resources/index.d.ts +5 -0
- package/dist/cjs/api/resources/index.js +6 -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/resources/organization/client/Client.d.ts +146 -0
- package/dist/cjs/api/resources/organization/client/Client.js +679 -0
- package/dist/cjs/api/resources/organization/client/claim.d.ts +25 -0
- package/dist/cjs/api/resources/organization/client/claim.js +66 -0
- package/dist/cjs/api/resources/organization/client/claimFromDocsSite.d.ts +25 -0
- package/dist/cjs/api/resources/organization/client/claimFromDocsSite.js +66 -0
- package/dist/cjs/api/resources/organization/client/createClaimToken.d.ts +25 -0
- package/dist/cjs/api/resources/organization/client/createClaimToken.js +66 -0
- package/dist/cjs/api/resources/organization/client/getClaimStatus.d.ts +25 -0
- package/dist/cjs/api/resources/organization/client/getClaimStatus.js +66 -0
- package/dist/cjs/api/resources/organization/client/getPostmanTeamDocs.d.ts +25 -0
- package/dist/cjs/api/resources/organization/client/getPostmanTeamDocs.js +66 -0
- package/dist/cjs/api/resources/organization/client/getPublisherDocs.d.ts +25 -0
- package/dist/cjs/api/resources/organization/client/getPublisherDocs.js +66 -0
- package/dist/cjs/api/resources/organization/client/index.d.ts +8 -0
- package/dist/cjs/api/resources/organization/client/index.js +9 -1
- package/dist/cjs/api/resources/organization/client/previewClaim.d.ts +25 -0
- package/dist/cjs/api/resources/organization/client/previewClaim.js +66 -0
- package/dist/cjs/api/resources/organization/client/requests/CreateClaimTokenRequest.d.ts +13 -0
- package/dist/cjs/api/resources/organization/client/requests/CreateClaimTokenRequest.js +3 -0
- package/dist/cjs/api/resources/organization/client/requests/CreateOrganizationRequest.d.ts +2 -0
- package/dist/cjs/api/resources/organization/client/requests/GetClaimStatusOrganizationsOrgIdClaimStatusGetRequest.d.ts +9 -0
- package/dist/cjs/api/resources/organization/client/requests/GetClaimStatusOrganizationsOrgIdClaimStatusGetRequest.js +3 -0
- package/dist/cjs/api/resources/organization/client/requests/GetPostmanTeamDocsOrganizationsPostmanTeamPostmanTeamIdDocsGetRequest.d.ts +9 -0
- package/dist/cjs/api/resources/organization/client/requests/GetPostmanTeamDocsOrganizationsPostmanTeamPostmanTeamIdDocsGetRequest.js +3 -0
- package/dist/cjs/api/resources/organization/client/requests/GetPublisherDocsOrganizationsPublishersPublisherTypePublisherIdDocsGetRequest.d.ts +12 -0
- package/dist/cjs/api/resources/organization/client/requests/GetPublisherDocsOrganizationsPublishersPublisherTypePublisherIdDocsGetRequest.js +3 -0
- package/dist/cjs/api/resources/organization/client/requests/SetDocsUrlRequest.d.ts +11 -0
- package/dist/cjs/api/resources/organization/client/requests/SetDocsUrlRequest.js +3 -0
- package/dist/cjs/api/resources/organization/client/requests/index.d.ts +5 -0
- package/dist/cjs/api/resources/organization/client/setDocsUrl.d.ts +25 -0
- package/dist/cjs/api/resources/organization/client/setDocsUrl.js +66 -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/ClaimOrganizationRequest.d.ts +3 -0
- package/dist/cjs/api/types/ClaimOrganizationRequest.js +3 -0
- package/dist/cjs/api/types/ClaimOrganizationResponse.d.ts +5 -0
- package/dist/cjs/api/types/ClaimOrganizationResponse.js +3 -0
- package/dist/cjs/api/types/ClaimPreviewResponse.d.ts +8 -0
- package/dist/cjs/api/types/ClaimPreviewResponse.js +3 -0
- package/dist/cjs/api/types/ClaimStatus.d.ts +5 -0
- package/dist/cjs/api/types/ClaimStatus.js +8 -0
- package/dist/cjs/api/types/ClaimStatusResponse.d.ts +4 -0
- package/dist/cjs/api/types/ClaimStatusResponse.js +3 -0
- package/dist/cjs/api/types/ClaimTokenResponse.d.ts +5 -0
- package/dist/cjs/api/types/ClaimTokenResponse.js +3 -0
- package/dist/cjs/api/types/CreateGuestSessionResponse.d.ts +11 -0
- package/dist/cjs/api/types/CreateGuestSessionResponse.js +3 -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 +6 -0
- package/dist/cjs/api/types/GuestSessionLimits.js +3 -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/Organization.d.ts +1 -1
- package/dist/cjs/api/types/PostmanTeamDocsResponse.d.ts +6 -0
- package/dist/cjs/api/types/PostmanTeamDocsResponse.js +3 -0
- package/dist/cjs/api/types/Publisher.d.ts +10 -0
- package/dist/cjs/api/types/Publisher.js +3 -0
- package/dist/cjs/api/types/PublisherDocsResponse.d.ts +6 -0
- package/dist/cjs/api/types/PublisherDocsResponse.js +3 -0
- package/dist/cjs/api/types/PublisherType.d.ts +5 -0
- package/dist/cjs/api/types/PublisherType.js +8 -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/TokenMetadata.d.ts +1 -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 +39 -0
- package/dist/cjs/api/types/index.js +39 -0
- package/dist/cjs/serialization/resources/guestSession/client/index.d.ts +1 -0
- package/dist/cjs/serialization/resources/guestSession/client/index.js +17 -0
- package/dist/cjs/serialization/resources/guestSession/client/requests/ClaimGuestSessionRequest.d.ts +10 -0
- package/dist/cjs/serialization/resources/guestSession/client/requests/ClaimGuestSessionRequest.js +42 -0
- package/dist/cjs/serialization/resources/guestSession/client/requests/CreateGuestSessionRequest.d.ts +11 -0
- package/dist/cjs/serialization/resources/guestSession/client/requests/CreateGuestSessionRequest.js +43 -0
- package/dist/cjs/serialization/resources/guestSession/client/requests/index.d.ts +2 -0
- package/dist/cjs/serialization/resources/guestSession/client/requests/index.js +7 -0
- package/dist/cjs/serialization/resources/guestSession/index.d.ts +1 -0
- package/dist/cjs/serialization/resources/guestSession/index.js +17 -0
- package/dist/cjs/serialization/resources/index.d.ts +5 -0
- package/dist/cjs/serialization/resources/index.js +6 -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/resources/organization/client/requests/CreateClaimTokenRequest.d.ts +11 -0
- package/dist/cjs/serialization/resources/organization/client/requests/CreateClaimTokenRequest.js +43 -0
- package/dist/cjs/serialization/resources/organization/client/requests/CreateOrganizationRequest.d.ts +2 -0
- package/dist/cjs/serialization/resources/organization/client/requests/CreateOrganizationRequest.js +2 -0
- package/dist/cjs/serialization/resources/organization/client/requests/SetDocsUrlRequest.d.ts +9 -0
- package/dist/cjs/serialization/resources/organization/client/requests/SetDocsUrlRequest.js +41 -0
- package/dist/cjs/serialization/resources/organization/client/requests/index.d.ts +2 -0
- package/dist/cjs/serialization/resources/organization/client/requests/index.js +5 -1
- 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/ClaimOrganizationRequest.d.ts +9 -0
- package/dist/cjs/serialization/types/ClaimOrganizationRequest.js +41 -0
- package/dist/cjs/serialization/types/ClaimOrganizationResponse.d.ts +11 -0
- package/dist/cjs/serialization/types/ClaimOrganizationResponse.js +43 -0
- package/dist/cjs/serialization/types/ClaimPreviewResponse.d.ts +14 -0
- package/dist/cjs/serialization/types/ClaimPreviewResponse.js +46 -0
- package/dist/cjs/serialization/types/ClaimStatus.d.ts +7 -0
- package/dist/cjs/serialization/types/ClaimStatus.js +39 -0
- package/dist/cjs/serialization/types/ClaimStatusResponse.d.ts +10 -0
- package/dist/cjs/serialization/types/ClaimStatusResponse.js +42 -0
- package/dist/cjs/serialization/types/ClaimTokenResponse.d.ts +11 -0
- package/dist/cjs/serialization/types/ClaimTokenResponse.js +43 -0
- package/dist/cjs/serialization/types/CreateGuestSessionResponse.d.ts +17 -0
- package/dist/cjs/serialization/types/CreateGuestSessionResponse.js +49 -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 +12 -0
- package/dist/cjs/serialization/types/GuestSessionLimits.js +44 -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/Organization.d.ts +1 -1
- package/dist/cjs/serialization/types/Organization.js +1 -1
- package/dist/cjs/serialization/types/PostmanTeamDocsResponse.d.ts +12 -0
- package/dist/cjs/serialization/types/PostmanTeamDocsResponse.js +44 -0
- package/dist/cjs/serialization/types/Publisher.d.ts +11 -0
- package/dist/cjs/serialization/types/Publisher.js +43 -0
- package/dist/cjs/serialization/types/PublisherDocsResponse.d.ts +12 -0
- package/dist/cjs/serialization/types/PublisherDocsResponse.js +44 -0
- package/dist/cjs/serialization/types/PublisherType.d.ts +7 -0
- package/dist/cjs/serialization/types/PublisherType.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/TokenMetadata.d.ts +1 -0
- package/dist/cjs/serialization/types/TokenMetadata.js +1 -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 +39 -0
- package/dist/cjs/serialization/types/index.js +39 -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 +16 -8
- package/dist/esm/Client.mjs +27 -14
- package/dist/esm/api/client/index.d.mts +1 -1
- package/dist/esm/api/client/index.mjs +1 -1
- package/dist/esm/api/client/{metricsMetricsGet.d.mts → pingPingGet.d.mts} +4 -4
- package/dist/esm/api/client/{metricsMetricsGet.mjs → pingPingGet.mjs} +1 -1
- package/dist/esm/api/resources/apiKeys/client/Client.d.mts +13 -0
- package/dist/esm/api/resources/apiKeys/client/Client.mjs +18 -2
- package/dist/esm/api/resources/apiKeys/client/requests/RevokeTokenByIdApiKeysRevokeTokenIdPostRequest.d.mts +1 -0
- package/dist/esm/api/resources/guestSession/client/Client.d.mts +84 -0
- package/dist/esm/api/resources/guestSession/client/Client.mjs +432 -0
- 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 +37 -0
- package/dist/esm/api/resources/guestSession/client/create.mjs +52 -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 +5 -0
- package/dist/esm/api/resources/guestSession/client/index.mjs +5 -0
- package/dist/esm/api/resources/guestSession/client/requests/ClaimGuestSessionRequest.d.mts +11 -0
- package/dist/esm/api/resources/guestSession/client/requests/ClaimGuestSessionRequest.mjs +2 -0
- package/dist/esm/api/resources/guestSession/client/requests/CreateGuestSessionRequest.d.mts +11 -0
- package/dist/esm/api/resources/guestSession/client/requests/CreateGuestSessionRequest.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 +4 -0
- package/dist/esm/api/resources/guestSession/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/guestSession/index.d.mts +1 -0
- package/dist/esm/api/resources/guestSession/index.mjs +1 -0
- package/dist/esm/api/resources/index.d.mts +5 -0
- package/dist/esm/api/resources/index.mjs +5 -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/resources/organization/client/Client.d.mts +146 -0
- package/dist/esm/api/resources/organization/client/Client.mjs +679 -0
- package/dist/esm/api/resources/organization/client/claim.d.mts +25 -0
- package/dist/esm/api/resources/organization/client/claim.mjs +30 -0
- package/dist/esm/api/resources/organization/client/claimFromDocsSite.d.mts +25 -0
- package/dist/esm/api/resources/organization/client/claimFromDocsSite.mjs +30 -0
- package/dist/esm/api/resources/organization/client/createClaimToken.d.mts +25 -0
- package/dist/esm/api/resources/organization/client/createClaimToken.mjs +30 -0
- package/dist/esm/api/resources/organization/client/getClaimStatus.d.mts +25 -0
- package/dist/esm/api/resources/organization/client/getClaimStatus.mjs +30 -0
- package/dist/esm/api/resources/organization/client/getPostmanTeamDocs.d.mts +25 -0
- package/dist/esm/api/resources/organization/client/getPostmanTeamDocs.mjs +30 -0
- package/dist/esm/api/resources/organization/client/getPublisherDocs.d.mts +25 -0
- package/dist/esm/api/resources/organization/client/getPublisherDocs.mjs +30 -0
- package/dist/esm/api/resources/organization/client/index.d.mts +8 -0
- package/dist/esm/api/resources/organization/client/index.mjs +8 -0
- package/dist/esm/api/resources/organization/client/previewClaim.d.mts +25 -0
- package/dist/esm/api/resources/organization/client/previewClaim.mjs +30 -0
- package/dist/esm/api/resources/organization/client/requests/CreateClaimTokenRequest.d.mts +13 -0
- package/dist/esm/api/resources/organization/client/requests/CreateClaimTokenRequest.mjs +2 -0
- package/dist/esm/api/resources/organization/client/requests/CreateOrganizationRequest.d.mts +2 -0
- package/dist/esm/api/resources/organization/client/requests/GetClaimStatusOrganizationsOrgIdClaimStatusGetRequest.d.mts +9 -0
- package/dist/esm/api/resources/organization/client/requests/GetClaimStatusOrganizationsOrgIdClaimStatusGetRequest.mjs +2 -0
- package/dist/esm/api/resources/organization/client/requests/GetPostmanTeamDocsOrganizationsPostmanTeamPostmanTeamIdDocsGetRequest.d.mts +9 -0
- package/dist/esm/api/resources/organization/client/requests/GetPostmanTeamDocsOrganizationsPostmanTeamPostmanTeamIdDocsGetRequest.mjs +2 -0
- package/dist/esm/api/resources/organization/client/requests/GetPublisherDocsOrganizationsPublishersPublisherTypePublisherIdDocsGetRequest.d.mts +12 -0
- package/dist/esm/api/resources/organization/client/requests/GetPublisherDocsOrganizationsPublishersPublisherTypePublisherIdDocsGetRequest.mjs +2 -0
- package/dist/esm/api/resources/organization/client/requests/SetDocsUrlRequest.d.mts +11 -0
- package/dist/esm/api/resources/organization/client/requests/SetDocsUrlRequest.mjs +2 -0
- package/dist/esm/api/resources/organization/client/requests/index.d.mts +5 -0
- package/dist/esm/api/resources/organization/client/setDocsUrl.d.mts +25 -0
- package/dist/esm/api/resources/organization/client/setDocsUrl.mjs +30 -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/ClaimOrganizationRequest.d.mts +3 -0
- package/dist/esm/api/types/ClaimOrganizationRequest.mjs +2 -0
- package/dist/esm/api/types/ClaimOrganizationResponse.d.mts +5 -0
- package/dist/esm/api/types/ClaimOrganizationResponse.mjs +2 -0
- package/dist/esm/api/types/ClaimPreviewResponse.d.mts +8 -0
- package/dist/esm/api/types/ClaimPreviewResponse.mjs +2 -0
- package/dist/esm/api/types/ClaimStatus.d.mts +5 -0
- package/dist/esm/api/types/ClaimStatus.mjs +5 -0
- package/dist/esm/api/types/ClaimStatusResponse.d.mts +4 -0
- package/dist/esm/api/types/ClaimStatusResponse.mjs +2 -0
- package/dist/esm/api/types/ClaimTokenResponse.d.mts +5 -0
- package/dist/esm/api/types/ClaimTokenResponse.mjs +2 -0
- package/dist/esm/api/types/CreateGuestSessionResponse.d.mts +11 -0
- package/dist/esm/api/types/CreateGuestSessionResponse.mjs +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 +6 -0
- package/dist/esm/api/types/GuestSessionLimits.mjs +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/Organization.d.mts +1 -1
- package/dist/esm/api/types/PostmanTeamDocsResponse.d.mts +6 -0
- package/dist/esm/api/types/PostmanTeamDocsResponse.mjs +2 -0
- package/dist/esm/api/types/Publisher.d.mts +10 -0
- package/dist/esm/api/types/Publisher.mjs +2 -0
- package/dist/esm/api/types/PublisherDocsResponse.d.mts +6 -0
- package/dist/esm/api/types/PublisherDocsResponse.mjs +2 -0
- package/dist/esm/api/types/PublisherType.d.mts +5 -0
- package/dist/esm/api/types/PublisherType.mjs +5 -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/TokenMetadata.d.mts +1 -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 +39 -0
- package/dist/esm/api/types/index.mjs +39 -0
- package/dist/esm/serialization/resources/guestSession/client/index.d.mts +1 -0
- package/dist/esm/serialization/resources/guestSession/client/index.mjs +1 -0
- package/dist/esm/serialization/resources/guestSession/client/requests/ClaimGuestSessionRequest.d.mts +10 -0
- package/dist/esm/serialization/resources/guestSession/client/requests/ClaimGuestSessionRequest.mjs +6 -0
- package/dist/esm/serialization/resources/guestSession/client/requests/CreateGuestSessionRequest.d.mts +11 -0
- package/dist/esm/serialization/resources/guestSession/client/requests/CreateGuestSessionRequest.mjs +7 -0
- package/dist/esm/serialization/resources/guestSession/client/requests/index.d.mts +2 -0
- package/dist/esm/serialization/resources/guestSession/client/requests/index.mjs +2 -0
- package/dist/esm/serialization/resources/guestSession/index.d.mts +1 -0
- package/dist/esm/serialization/resources/guestSession/index.mjs +1 -0
- package/dist/esm/serialization/resources/index.d.mts +5 -0
- package/dist/esm/serialization/resources/index.mjs +5 -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/resources/organization/client/requests/CreateClaimTokenRequest.d.mts +11 -0
- package/dist/esm/serialization/resources/organization/client/requests/CreateClaimTokenRequest.mjs +7 -0
- package/dist/esm/serialization/resources/organization/client/requests/CreateOrganizationRequest.d.mts +2 -0
- package/dist/esm/serialization/resources/organization/client/requests/CreateOrganizationRequest.mjs +2 -0
- package/dist/esm/serialization/resources/organization/client/requests/SetDocsUrlRequest.d.mts +9 -0
- package/dist/esm/serialization/resources/organization/client/requests/SetDocsUrlRequest.mjs +5 -0
- package/dist/esm/serialization/resources/organization/client/requests/index.d.mts +2 -0
- package/dist/esm/serialization/resources/organization/client/requests/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/ClaimOrganizationRequest.d.mts +9 -0
- package/dist/esm/serialization/types/ClaimOrganizationRequest.mjs +5 -0
- package/dist/esm/serialization/types/ClaimOrganizationResponse.d.mts +11 -0
- package/dist/esm/serialization/types/ClaimOrganizationResponse.mjs +7 -0
- package/dist/esm/serialization/types/ClaimPreviewResponse.d.mts +14 -0
- package/dist/esm/serialization/types/ClaimPreviewResponse.mjs +10 -0
- package/dist/esm/serialization/types/ClaimStatus.d.mts +7 -0
- package/dist/esm/serialization/types/ClaimStatus.mjs +3 -0
- package/dist/esm/serialization/types/ClaimStatusResponse.d.mts +10 -0
- package/dist/esm/serialization/types/ClaimStatusResponse.mjs +6 -0
- package/dist/esm/serialization/types/ClaimTokenResponse.d.mts +11 -0
- package/dist/esm/serialization/types/ClaimTokenResponse.mjs +7 -0
- package/dist/esm/serialization/types/CreateGuestSessionResponse.d.mts +17 -0
- package/dist/esm/serialization/types/CreateGuestSessionResponse.mjs +13 -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 +12 -0
- package/dist/esm/serialization/types/GuestSessionLimits.mjs +8 -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/Organization.d.mts +1 -1
- package/dist/esm/serialization/types/Organization.mjs +1 -1
- package/dist/esm/serialization/types/PostmanTeamDocsResponse.d.mts +12 -0
- package/dist/esm/serialization/types/PostmanTeamDocsResponse.mjs +8 -0
- package/dist/esm/serialization/types/Publisher.d.mts +11 -0
- package/dist/esm/serialization/types/Publisher.mjs +7 -0
- package/dist/esm/serialization/types/PublisherDocsResponse.d.mts +12 -0
- package/dist/esm/serialization/types/PublisherDocsResponse.mjs +8 -0
- package/dist/esm/serialization/types/PublisherType.d.mts +7 -0
- package/dist/esm/serialization/types/PublisherType.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/TokenMetadata.d.mts +1 -0
- package/dist/esm/serialization/types/TokenMetadata.mjs +1 -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 +39 -0
- package/dist/esm/serialization/types/index.mjs +39 -0
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
- package/reference.md +1157 -89
package/reference.md
CHANGED
|
@@ -1,22 +1,8 @@
|
|
|
1
1
|
# Reference
|
|
2
|
-
<details><summary><code>client.<a href="/src/Client.ts">
|
|
3
|
-
<dl>
|
|
4
|
-
<dd>
|
|
5
|
-
|
|
6
|
-
#### 📝 Description
|
|
7
|
-
|
|
8
|
-
<dl>
|
|
9
|
-
<dd>
|
|
10
|
-
|
|
2
|
+
<details><summary><code>client.<a href="/src/Client.ts">healthHealthGet</a>() -> core.APIResponse<unknown, FernVenusApi.healthHealthGet.Error></code></summary>
|
|
11
3
|
<dl>
|
|
12
4
|
<dd>
|
|
13
5
|
|
|
14
|
-
Endpoint that serves Prometheus metrics.
|
|
15
|
-
</dd>
|
|
16
|
-
</dl>
|
|
17
|
-
</dd>
|
|
18
|
-
</dl>
|
|
19
|
-
|
|
20
6
|
#### 🔌 Usage
|
|
21
7
|
|
|
22
8
|
<dl>
|
|
@@ -26,7 +12,7 @@ Endpoint that serves Prometheus metrics.
|
|
|
26
12
|
<dd>
|
|
27
13
|
|
|
28
14
|
```typescript
|
|
29
|
-
await client.
|
|
15
|
+
await client.healthHealthGet();
|
|
30
16
|
|
|
31
17
|
```
|
|
32
18
|
</dd>
|
|
@@ -54,7 +40,7 @@ await client.metricsMetricsGet();
|
|
|
54
40
|
</dl>
|
|
55
41
|
</details>
|
|
56
42
|
|
|
57
|
-
<details><summary><code>client.<a href="/src/Client.ts">
|
|
43
|
+
<details><summary><code>client.<a href="/src/Client.ts">pingPingGet</a>() -> core.APIResponse<string, FernVenusApi.pingPingGet.Error></code></summary>
|
|
58
44
|
<dl>
|
|
59
45
|
<dd>
|
|
60
46
|
|
|
@@ -67,7 +53,7 @@ await client.metricsMetricsGet();
|
|
|
67
53
|
<dd>
|
|
68
54
|
|
|
69
55
|
```typescript
|
|
70
|
-
await client.
|
|
56
|
+
await client.pingPingGet();
|
|
71
57
|
|
|
72
58
|
```
|
|
73
59
|
</dd>
|
|
@@ -112,6 +98,10 @@ RDS smoke check: ping each configured RDS engine.
|
|
|
112
98
|
Returns 200 only if every configured RDS engine answers ``SELECT 1``;
|
|
113
99
|
503 if any engine is unhealthy. Returns 200 with ``configured: false``
|
|
114
100
|
when no RDS engines are configured.
|
|
101
|
+
|
|
102
|
+
``hosts_allowlisted`` is true only if every engine's host matches
|
|
103
|
+
RDS_ALLOWED_HOST_SUFFIXES. It is false when the allowlist is unset,
|
|
104
|
+
since nothing has then vouched for the hosts.
|
|
115
105
|
</dd>
|
|
116
106
|
</dl>
|
|
117
107
|
</dd>
|
|
@@ -159,6 +149,22 @@ await client.healthRdsHealthRdsGet();
|
|
|
159
149
|
<dl>
|
|
160
150
|
<dd>
|
|
161
151
|
|
|
152
|
+
#### 📝 Description
|
|
153
|
+
|
|
154
|
+
<dl>
|
|
155
|
+
<dd>
|
|
156
|
+
|
|
157
|
+
<dl>
|
|
158
|
+
<dd>
|
|
159
|
+
|
|
160
|
+
Creates an API key for an organization the caller is a member of. Called
|
|
161
|
+
with the provisioner token, it only works for an unclaimed organization
|
|
162
|
+
that was created with that token, and returns 403 for any other.
|
|
163
|
+
</dd>
|
|
164
|
+
</dl>
|
|
165
|
+
</dd>
|
|
166
|
+
</dl>
|
|
167
|
+
|
|
162
168
|
#### 🔌 Usage
|
|
163
169
|
|
|
164
170
|
<dl>
|
|
@@ -261,6 +267,22 @@ await client.apiKeys.getTokenMetadata({
|
|
|
261
267
|
<dl>
|
|
262
268
|
<dd>
|
|
263
269
|
|
|
270
|
+
#### 📝 Description
|
|
271
|
+
|
|
272
|
+
<dl>
|
|
273
|
+
<dd>
|
|
274
|
+
|
|
275
|
+
<dl>
|
|
276
|
+
<dd>
|
|
277
|
+
|
|
278
|
+
Lists an organization's API keys. Called with the provisioner token, it
|
|
279
|
+
only works for an unclaimed organization that was created with that
|
|
280
|
+
token, and returns 403 for any other.
|
|
281
|
+
</dd>
|
|
282
|
+
</dl>
|
|
283
|
+
</dd>
|
|
284
|
+
</dl>
|
|
285
|
+
|
|
264
286
|
#### 🔌 Usage
|
|
265
287
|
|
|
266
288
|
<dl>
|
|
@@ -312,6 +334,23 @@ await client.apiKeys.getTokensForOrganization({
|
|
|
312
334
|
<dl>
|
|
313
335
|
<dd>
|
|
314
336
|
|
|
337
|
+
#### 📝 Description
|
|
338
|
+
|
|
339
|
+
<dl>
|
|
340
|
+
<dd>
|
|
341
|
+
|
|
342
|
+
<dl>
|
|
343
|
+
<dd>
|
|
344
|
+
|
|
345
|
+
Revokes an API key by its ID. Called with the provisioner token,
|
|
346
|
+
organizationId is required and must be an unclaimed organization that
|
|
347
|
+
was created with that token (403 otherwise), and the key must be that
|
|
348
|
+
organization's (401 otherwise). Other callers don't need organizationId.
|
|
349
|
+
</dd>
|
|
350
|
+
</dl>
|
|
351
|
+
</dd>
|
|
352
|
+
</dl>
|
|
353
|
+
|
|
315
354
|
#### 🔌 Usage
|
|
316
355
|
|
|
317
356
|
<dl>
|
|
@@ -666,11 +705,30 @@ await client.auth.getJwt({
|
|
|
666
705
|
</dl>
|
|
667
706
|
</details>
|
|
668
707
|
|
|
669
|
-
##
|
|
670
|
-
<details><summary><code>client.
|
|
708
|
+
## GuestSession
|
|
709
|
+
<details><summary><code>client.guestSession.<a href="/src/api/resources/guestSession/client/Client.ts">create</a>({ ...params }) -> core.APIResponse<FernVenusApi.CreateGuestSessionResponse, FernVenusApi.guestSession.create.Error></code></summary>
|
|
710
|
+
<dl>
|
|
711
|
+
<dd>
|
|
712
|
+
|
|
713
|
+
#### 📝 Description
|
|
714
|
+
|
|
671
715
|
<dl>
|
|
672
716
|
<dd>
|
|
673
717
|
|
|
718
|
+
<dl>
|
|
719
|
+
<dd>
|
|
720
|
+
|
|
721
|
+
Issue a guest session: a throwaway organization, a short-lived token bound to it, and
|
|
722
|
+
the secret needed to claim it later.
|
|
723
|
+
This endpoint is unauthenticated on purpose. It is the one way into Fern without a
|
|
724
|
+
login, so every decision about what the session may do, how long it lasts and how many
|
|
725
|
+
a caller may open is made here, on the server.
|
|
726
|
+
The token and the claim secret are returned once and stored only as hashes.
|
|
727
|
+
</dd>
|
|
728
|
+
</dl>
|
|
729
|
+
</dd>
|
|
730
|
+
</dl>
|
|
731
|
+
|
|
674
732
|
#### 🔌 Usage
|
|
675
733
|
|
|
676
734
|
<dl>
|
|
@@ -680,8 +738,8 @@ await client.auth.getJwt({
|
|
|
680
738
|
<dd>
|
|
681
739
|
|
|
682
740
|
```typescript
|
|
683
|
-
await client.
|
|
684
|
-
|
|
741
|
+
await client.guestSession.create({
|
|
742
|
+
fingerprint: "fingerprint"
|
|
685
743
|
});
|
|
686
744
|
|
|
687
745
|
```
|
|
@@ -698,7 +756,7 @@ await client.organization.create({
|
|
|
698
756
|
<dl>
|
|
699
757
|
<dd>
|
|
700
758
|
|
|
701
|
-
**request:** `FernVenusApi.
|
|
759
|
+
**request:** `FernVenusApi.CreateGuestSessionRequest`
|
|
702
760
|
|
|
703
761
|
</dd>
|
|
704
762
|
</dl>
|
|
@@ -706,7 +764,7 @@ await client.organization.create({
|
|
|
706
764
|
<dl>
|
|
707
765
|
<dd>
|
|
708
766
|
|
|
709
|
-
**requestOptions:** `
|
|
767
|
+
**requestOptions:** `GuestSessionClient.RequestOptions`
|
|
710
768
|
|
|
711
769
|
</dd>
|
|
712
770
|
</dl>
|
|
@@ -718,10 +776,28 @@ await client.organization.create({
|
|
|
718
776
|
</dl>
|
|
719
777
|
</details>
|
|
720
778
|
|
|
721
|
-
<details><summary><code>client.
|
|
779
|
+
<details><summary><code>client.guestSession.<a href="/src/api/resources/guestSession/client/Client.ts">get</a>({ ...params }) -> core.APIResponse<FernVenusApi.GetGuestSessionResponse, FernVenusApi.guestSession.get.Error></code></summary>
|
|
780
|
+
<dl>
|
|
781
|
+
<dd>
|
|
782
|
+
|
|
783
|
+
#### 📝 Description
|
|
784
|
+
|
|
785
|
+
<dl>
|
|
786
|
+
<dd>
|
|
787
|
+
|
|
722
788
|
<dl>
|
|
723
789
|
<dd>
|
|
724
790
|
|
|
791
|
+
Read a guest session: where it is in its life, when it runs out and how much of its
|
|
792
|
+
budget is spent.
|
|
793
|
+
Opened by the session's own token, by the claim secret (sent as `X-Fern-Claim-Secret`,
|
|
794
|
+
which is what the claim page holds), or by the user who claimed it. Anything else is
|
|
795
|
+
told the session does not exist.
|
|
796
|
+
</dd>
|
|
797
|
+
</dl>
|
|
798
|
+
</dd>
|
|
799
|
+
</dl>
|
|
800
|
+
|
|
725
801
|
#### 🔌 Usage
|
|
726
802
|
|
|
727
803
|
<dl>
|
|
@@ -731,8 +807,8 @@ await client.organization.create({
|
|
|
731
807
|
<dd>
|
|
732
808
|
|
|
733
809
|
```typescript
|
|
734
|
-
await client.
|
|
735
|
-
|
|
810
|
+
await client.guestSession.get({
|
|
811
|
+
sessionId: "session_id"
|
|
736
812
|
});
|
|
737
813
|
|
|
738
814
|
```
|
|
@@ -749,7 +825,7 @@ await client.organization.update({
|
|
|
749
825
|
<dl>
|
|
750
826
|
<dd>
|
|
751
827
|
|
|
752
|
-
**request:** `FernVenusApi.
|
|
828
|
+
**request:** `FernVenusApi.GetGuestSessionsSessionIdGetRequest`
|
|
753
829
|
|
|
754
830
|
</dd>
|
|
755
831
|
</dl>
|
|
@@ -757,7 +833,7 @@ await client.organization.update({
|
|
|
757
833
|
<dl>
|
|
758
834
|
<dd>
|
|
759
835
|
|
|
760
|
-
**requestOptions:** `
|
|
836
|
+
**requestOptions:** `GuestSessionClient.RequestOptions`
|
|
761
837
|
|
|
762
838
|
</dd>
|
|
763
839
|
</dl>
|
|
@@ -769,10 +845,29 @@ await client.organization.update({
|
|
|
769
845
|
</dl>
|
|
770
846
|
</details>
|
|
771
847
|
|
|
772
|
-
<details><summary><code>client.
|
|
848
|
+
<details><summary><code>client.guestSession.<a href="/src/api/resources/guestSession/client/Client.ts">delete</a>({ ...params }) -> core.APIResponse<FernVenusApi.DeleteGuestSessionResponse, FernVenusApi.guestSession.delete.Error></code></summary>
|
|
849
|
+
<dl>
|
|
850
|
+
<dd>
|
|
851
|
+
|
|
852
|
+
#### 📝 Description
|
|
853
|
+
|
|
773
854
|
<dl>
|
|
774
855
|
<dd>
|
|
775
856
|
|
|
857
|
+
<dl>
|
|
858
|
+
<dd>
|
|
859
|
+
|
|
860
|
+
Take a guest session down. Its token stops working at once and nothing more can be
|
|
861
|
+
built or published with it.
|
|
862
|
+
The session's own token or its claim secret takes it down (`deleted`); a Fern operator's
|
|
863
|
+
service credential takes it down for abuse (`takenDown`). Anything else is told the
|
|
864
|
+
session does not exist. Calling it again answers the same; a claimed session cannot be
|
|
865
|
+
taken down here, its work belongs to an organization now.
|
|
866
|
+
</dd>
|
|
867
|
+
</dl>
|
|
868
|
+
</dd>
|
|
869
|
+
</dl>
|
|
870
|
+
|
|
776
871
|
#### 🔌 Usage
|
|
777
872
|
|
|
778
873
|
<dl>
|
|
@@ -782,8 +877,8 @@ await client.organization.update({
|
|
|
782
877
|
<dd>
|
|
783
878
|
|
|
784
879
|
```typescript
|
|
785
|
-
await client.
|
|
786
|
-
|
|
880
|
+
await client.guestSession.delete({
|
|
881
|
+
sessionId: "session_id"
|
|
787
882
|
});
|
|
788
883
|
|
|
789
884
|
```
|
|
@@ -800,7 +895,7 @@ await client.organization.get({
|
|
|
800
895
|
<dl>
|
|
801
896
|
<dd>
|
|
802
897
|
|
|
803
|
-
**request:** `FernVenusApi.
|
|
898
|
+
**request:** `FernVenusApi.DeleteGuestSessionsSessionIdDeleteRequest`
|
|
804
899
|
|
|
805
900
|
</dd>
|
|
806
901
|
</dl>
|
|
@@ -808,7 +903,7 @@ await client.organization.get({
|
|
|
808
903
|
<dl>
|
|
809
904
|
<dd>
|
|
810
905
|
|
|
811
|
-
**requestOptions:** `
|
|
906
|
+
**requestOptions:** `GuestSessionClient.RequestOptions`
|
|
812
907
|
|
|
813
908
|
</dd>
|
|
814
909
|
</dl>
|
|
@@ -820,7 +915,7 @@ await client.organization.get({
|
|
|
820
915
|
</dl>
|
|
821
916
|
</details>
|
|
822
917
|
|
|
823
|
-
<details><summary><code>client.
|
|
918
|
+
<details><summary><code>client.guestSession.<a href="/src/api/resources/guestSession/client/Client.ts">claim</a>({ ...params }) -> core.APIResponse<FernVenusApi.ClaimGuestSessionResponse, FernVenusApi.guestSession.claim.Error></code></summary>
|
|
824
919
|
<dl>
|
|
825
920
|
<dd>
|
|
826
921
|
|
|
@@ -832,7 +927,12 @@ await client.organization.get({
|
|
|
832
927
|
<dl>
|
|
833
928
|
<dd>
|
|
834
929
|
|
|
835
|
-
|
|
930
|
+
Claim a guest session: make its work the caller's, for keeps.
|
|
931
|
+
Needs two things: the claim secret (`X-Fern-Claim-Secret`, from the claim URL) and a
|
|
932
|
+
signed-in person (`Authorization`). With `organizationId`, the caller must already be an
|
|
933
|
+
admin of that organization and the session's work is moved into it. Without, the
|
|
934
|
+
session's own organization becomes the caller's, with them as its first admin.
|
|
935
|
+
Claiming revokes the guest token. Safe to retry: the claimant may call it again.
|
|
836
936
|
</dd>
|
|
837
937
|
</dl>
|
|
838
938
|
</dd>
|
|
@@ -847,8 +947,8 @@ Deletes an organization. Only users with admin role can delete organizations.
|
|
|
847
947
|
<dd>
|
|
848
948
|
|
|
849
949
|
```typescript
|
|
850
|
-
await client.
|
|
851
|
-
|
|
950
|
+
await client.guestSession.claim({
|
|
951
|
+
sessionId: "session_id"
|
|
852
952
|
});
|
|
853
953
|
|
|
854
954
|
```
|
|
@@ -865,7 +965,7 @@ await client.organization.delete({
|
|
|
865
965
|
<dl>
|
|
866
966
|
<dd>
|
|
867
967
|
|
|
868
|
-
**request:** `FernVenusApi.
|
|
968
|
+
**request:** `FernVenusApi.ClaimGuestSessionRequest`
|
|
869
969
|
|
|
870
970
|
</dd>
|
|
871
971
|
</dl>
|
|
@@ -873,7 +973,7 @@ await client.organization.delete({
|
|
|
873
973
|
<dl>
|
|
874
974
|
<dd>
|
|
875
975
|
|
|
876
|
-
**requestOptions:** `
|
|
976
|
+
**requestOptions:** `GuestSessionClient.RequestOptions`
|
|
877
977
|
|
|
878
978
|
</dd>
|
|
879
979
|
</dl>
|
|
@@ -885,7 +985,8 @@ await client.organization.delete({
|
|
|
885
985
|
</dl>
|
|
886
986
|
</details>
|
|
887
987
|
|
|
888
|
-
|
|
988
|
+
## Organization
|
|
989
|
+
<details><summary><code>client.organization.<a href="/src/api/resources/organization/client/Client.ts">create</a>({ ...params }) -> core.APIResponse<FernVenusApi.CreateOrganizationResponse, FernVenusApi.organization.create.Error></code></summary>
|
|
889
990
|
<dl>
|
|
890
991
|
<dd>
|
|
891
992
|
|
|
@@ -897,7 +998,13 @@ await client.organization.delete({
|
|
|
897
998
|
<dl>
|
|
898
999
|
<dd>
|
|
899
1000
|
|
|
900
|
-
|
|
1001
|
+
Creates an organization with the caller as its admin. Called with the
|
|
1002
|
+
provisioner token, it instead creates an unclaimed organization, with no
|
|
1003
|
+
Auth0 organization or members, held for the required publisher (or
|
|
1004
|
+
postmanTeamId). Creating it again for the same publisher returns the
|
|
1005
|
+
same organization, which may have another ID than the one asked for.
|
|
1006
|
+
A normal signup gets 409 if its postmanTeamId is linked to an unclaimed
|
|
1007
|
+
organization, since that team claims its organization through Postman.
|
|
901
1008
|
</dd>
|
|
902
1009
|
</dl>
|
|
903
1010
|
</dd>
|
|
@@ -912,8 +1019,8 @@ Look up an organization by its associated Postman team ID.
|
|
|
912
1019
|
<dd>
|
|
913
1020
|
|
|
914
1021
|
```typescript
|
|
915
|
-
await client.organization.
|
|
916
|
-
|
|
1022
|
+
await client.organization.create({
|
|
1023
|
+
organizationId: "organizationId"
|
|
917
1024
|
});
|
|
918
1025
|
|
|
919
1026
|
```
|
|
@@ -930,7 +1037,7 @@ await client.organization.getOrgIdsByPostmanTeamId({
|
|
|
930
1037
|
<dl>
|
|
931
1038
|
<dd>
|
|
932
1039
|
|
|
933
|
-
**request:** `FernVenusApi.
|
|
1040
|
+
**request:** `FernVenusApi.CreateOrganizationRequest`
|
|
934
1041
|
|
|
935
1042
|
</dd>
|
|
936
1043
|
</dl>
|
|
@@ -950,24 +1057,10 @@ await client.organization.getOrgIdsByPostmanTeamId({
|
|
|
950
1057
|
</dl>
|
|
951
1058
|
</details>
|
|
952
1059
|
|
|
953
|
-
<details><summary><code>client.organization.<a href="/src/api/resources/organization/client/Client.ts">
|
|
954
|
-
<dl>
|
|
955
|
-
<dd>
|
|
956
|
-
|
|
957
|
-
#### 📝 Description
|
|
958
|
-
|
|
959
|
-
<dl>
|
|
960
|
-
<dd>
|
|
961
|
-
|
|
1060
|
+
<details><summary><code>client.organization.<a href="/src/api/resources/organization/client/Client.ts">update</a>({ ...params }) -> core.APIResponse<void, FernVenusApi.organization.update.Error></code></summary>
|
|
962
1061
|
<dl>
|
|
963
1062
|
<dd>
|
|
964
1063
|
|
|
965
|
-
Get the Postman team ID associated with an organization ID.
|
|
966
|
-
</dd>
|
|
967
|
-
</dl>
|
|
968
|
-
</dd>
|
|
969
|
-
</dl>
|
|
970
|
-
|
|
971
1064
|
#### 🔌 Usage
|
|
972
1065
|
|
|
973
1066
|
<dl>
|
|
@@ -977,7 +1070,7 @@ Get the Postman team ID associated with an organization ID.
|
|
|
977
1070
|
<dd>
|
|
978
1071
|
|
|
979
1072
|
```typescript
|
|
980
|
-
await client.organization.
|
|
1073
|
+
await client.organization.update({
|
|
981
1074
|
orgId: "org_id"
|
|
982
1075
|
});
|
|
983
1076
|
|
|
@@ -995,7 +1088,7 @@ await client.organization.getPostmanTeamIdByOrgId({
|
|
|
995
1088
|
<dl>
|
|
996
1089
|
<dd>
|
|
997
1090
|
|
|
998
|
-
**request:** `FernVenusApi.
|
|
1091
|
+
**request:** `FernVenusApi.UpdateOrganizationRequest`
|
|
999
1092
|
|
|
1000
1093
|
</dd>
|
|
1001
1094
|
</dl>
|
|
@@ -1015,7 +1108,7 @@ await client.organization.getPostmanTeamIdByOrgId({
|
|
|
1015
1108
|
</dl>
|
|
1016
1109
|
</details>
|
|
1017
1110
|
|
|
1018
|
-
<details><summary><code>client.organization.<a href="/src/api/resources/organization/client/Client.ts">
|
|
1111
|
+
<details><summary><code>client.organization.<a href="/src/api/resources/organization/client/Client.ts">get</a>({ ...params }) -> core.APIResponse<FernVenusApi.Organization, FernVenusApi.organization.get.Error></code></summary>
|
|
1019
1112
|
<dl>
|
|
1020
1113
|
<dd>
|
|
1021
1114
|
|
|
@@ -1028,8 +1121,8 @@ await client.organization.getPostmanTeamIdByOrgId({
|
|
|
1028
1121
|
<dd>
|
|
1029
1122
|
|
|
1030
1123
|
```typescript
|
|
1031
|
-
await client.organization.
|
|
1032
|
-
|
|
1124
|
+
await client.organization.get({
|
|
1125
|
+
orgId: "org_id"
|
|
1033
1126
|
});
|
|
1034
1127
|
|
|
1035
1128
|
```
|
|
@@ -1046,7 +1139,7 @@ await client.organization.isMember({
|
|
|
1046
1139
|
<dl>
|
|
1047
1140
|
<dd>
|
|
1048
1141
|
|
|
1049
|
-
**request:** `FernVenusApi.
|
|
1142
|
+
**request:** `FernVenusApi.GetOrganizationsOrgIdGetRequest`
|
|
1050
1143
|
|
|
1051
1144
|
</dd>
|
|
1052
1145
|
</dl>
|
|
@@ -1066,7 +1159,7 @@ await client.organization.isMember({
|
|
|
1066
1159
|
</dl>
|
|
1067
1160
|
</details>
|
|
1068
1161
|
|
|
1069
|
-
<details><summary><code>client.organization.<a href="/src/api/resources/organization/client/Client.ts">
|
|
1162
|
+
<details><summary><code>client.organization.<a href="/src/api/resources/organization/client/Client.ts">delete</a>({ ...params }) -> core.APIResponse<void, FernVenusApi.organization.delete.Error></code></summary>
|
|
1070
1163
|
<dl>
|
|
1071
1164
|
<dd>
|
|
1072
1165
|
|
|
@@ -1078,7 +1171,10 @@ await client.organization.isMember({
|
|
|
1078
1171
|
<dl>
|
|
1079
1172
|
<dd>
|
|
1080
1173
|
|
|
1081
|
-
|
|
1174
|
+
Deletes an organization. Only users with admin role can delete organizations.
|
|
1175
|
+
Called with the provisioner token, it only works for an unclaimed
|
|
1176
|
+
organization that was created with that token, and returns 403 for any
|
|
1177
|
+
other. It also revokes that organization's API keys.
|
|
1082
1178
|
</dd>
|
|
1083
1179
|
</dl>
|
|
1084
1180
|
</dd>
|
|
@@ -1093,7 +1189,9 @@ Returns the org for a scoped token. The token is limited to one organization.
|
|
|
1093
1189
|
<dd>
|
|
1094
1190
|
|
|
1095
1191
|
```typescript
|
|
1096
|
-
await client.organization.
|
|
1192
|
+
await client.organization.delete({
|
|
1193
|
+
orgId: "org_id"
|
|
1194
|
+
});
|
|
1097
1195
|
|
|
1098
1196
|
```
|
|
1099
1197
|
</dd>
|
|
@@ -1109,7 +1207,7 @@ await client.organization.getMyOrganizationFromScopedToken();
|
|
|
1109
1207
|
<dl>
|
|
1110
1208
|
<dd>
|
|
1111
1209
|
|
|
1112
|
-
**request:** `FernVenusApi.
|
|
1210
|
+
**request:** `FernVenusApi.DeleteOrganizationsOrgIdDeleteRequest`
|
|
1113
1211
|
|
|
1114
1212
|
</dd>
|
|
1115
1213
|
</dl>
|
|
@@ -1129,10 +1227,24 @@ await client.organization.getMyOrganizationFromScopedToken();
|
|
|
1129
1227
|
</dl>
|
|
1130
1228
|
</details>
|
|
1131
1229
|
|
|
1132
|
-
<details><summary><code>client.organization.<a href="/src/api/resources/organization/client/Client.ts">
|
|
1230
|
+
<details><summary><code>client.organization.<a href="/src/api/resources/organization/client/Client.ts">getOrgIdsByPostmanTeamId</a>({ ...params }) -> core.APIResponse<FernVenusApi.Organization, FernVenusApi.organization.getOrgIdsByPostmanTeamId.Error></code></summary>
|
|
1231
|
+
<dl>
|
|
1232
|
+
<dd>
|
|
1233
|
+
|
|
1234
|
+
#### 📝 Description
|
|
1235
|
+
|
|
1236
|
+
<dl>
|
|
1237
|
+
<dd>
|
|
1238
|
+
|
|
1133
1239
|
<dl>
|
|
1134
1240
|
<dd>
|
|
1135
1241
|
|
|
1242
|
+
Look up an organization by its associated Postman team ID.
|
|
1243
|
+
</dd>
|
|
1244
|
+
</dl>
|
|
1245
|
+
</dd>
|
|
1246
|
+
</dl>
|
|
1247
|
+
|
|
1136
1248
|
#### 🔌 Usage
|
|
1137
1249
|
|
|
1138
1250
|
<dl>
|
|
@@ -1142,7 +1254,9 @@ await client.organization.getMyOrganizationFromScopedToken();
|
|
|
1142
1254
|
<dd>
|
|
1143
1255
|
|
|
1144
1256
|
```typescript
|
|
1145
|
-
await client.organization.
|
|
1257
|
+
await client.organization.getOrgIdsByPostmanTeamId({
|
|
1258
|
+
postmanTeamId: "postman_team_id"
|
|
1259
|
+
});
|
|
1146
1260
|
|
|
1147
1261
|
```
|
|
1148
1262
|
</dd>
|
|
@@ -1158,6 +1272,14 @@ await client.organization.getOrgIdsFromToken();
|
|
|
1158
1272
|
<dl>
|
|
1159
1273
|
<dd>
|
|
1160
1274
|
|
|
1275
|
+
**request:** `FernVenusApi.GetOrgIdsByPostmanTeamIdOrganizationsPostmanTeamPostmanTeamIdGetRequest`
|
|
1276
|
+
|
|
1277
|
+
</dd>
|
|
1278
|
+
</dl>
|
|
1279
|
+
|
|
1280
|
+
<dl>
|
|
1281
|
+
<dd>
|
|
1282
|
+
|
|
1161
1283
|
**requestOptions:** `OrganizationClient.RequestOptions`
|
|
1162
1284
|
|
|
1163
1285
|
</dd>
|
|
@@ -1170,10 +1292,27 @@ await client.organization.getOrgIdsFromToken();
|
|
|
1170
1292
|
</dl>
|
|
1171
1293
|
</details>
|
|
1172
1294
|
|
|
1173
|
-
<details><summary><code>client.organization.<a href="/src/api/resources/organization/client/Client.ts">
|
|
1295
|
+
<details><summary><code>client.organization.<a href="/src/api/resources/organization/client/Client.ts">getPostmanTeamDocs</a>({ ...params }) -> core.APIResponse<FernVenusApi.PostmanTeamDocsResponse, FernVenusApi.organization.getPostmanTeamDocs.Error></code></summary>
|
|
1296
|
+
<dl>
|
|
1297
|
+
<dd>
|
|
1298
|
+
|
|
1299
|
+
#### 📝 Description
|
|
1300
|
+
|
|
1174
1301
|
<dl>
|
|
1175
1302
|
<dd>
|
|
1176
1303
|
|
|
1304
|
+
<dl>
|
|
1305
|
+
<dd>
|
|
1306
|
+
|
|
1307
|
+
The claimable organization linked to a Postman team, with its claim
|
|
1308
|
+
status and the address of its docs site. Only Postman's integration
|
|
1309
|
+
service token can call it. 404 when the team has no claimable
|
|
1310
|
+
organization, or its docs address isn't set.
|
|
1311
|
+
</dd>
|
|
1312
|
+
</dl>
|
|
1313
|
+
</dd>
|
|
1314
|
+
</dl>
|
|
1315
|
+
|
|
1177
1316
|
#### 🔌 Usage
|
|
1178
1317
|
|
|
1179
1318
|
<dl>
|
|
@@ -1183,9 +1322,8 @@ await client.organization.getOrgIdsFromToken();
|
|
|
1183
1322
|
<dd>
|
|
1184
1323
|
|
|
1185
1324
|
```typescript
|
|
1186
|
-
await client.organization.
|
|
1187
|
-
|
|
1188
|
-
orgId: "orgId"
|
|
1325
|
+
await client.organization.getPostmanTeamDocs({
|
|
1326
|
+
postmanTeamId: "postman_team_id"
|
|
1189
1327
|
});
|
|
1190
1328
|
|
|
1191
1329
|
```
|
|
@@ -1202,7 +1340,7 @@ await client.organization.addUser({
|
|
|
1202
1340
|
<dl>
|
|
1203
1341
|
<dd>
|
|
1204
1342
|
|
|
1205
|
-
**request:** `FernVenusApi.
|
|
1343
|
+
**request:** `FernVenusApi.GetPostmanTeamDocsOrganizationsPostmanTeamPostmanTeamIdDocsGetRequest`
|
|
1206
1344
|
|
|
1207
1345
|
</dd>
|
|
1208
1346
|
</dl>
|
|
@@ -1222,10 +1360,27 @@ await client.organization.addUser({
|
|
|
1222
1360
|
</dl>
|
|
1223
1361
|
</details>
|
|
1224
1362
|
|
|
1225
|
-
<details><summary><code>client.organization.<a href="/src/api/resources/organization/client/Client.ts">
|
|
1363
|
+
<details><summary><code>client.organization.<a href="/src/api/resources/organization/client/Client.ts">getPublisherDocs</a>({ ...params }) -> core.APIResponse<FernVenusApi.PublisherDocsResponse, FernVenusApi.organization.getPublisherDocs.Error></code></summary>
|
|
1364
|
+
<dl>
|
|
1365
|
+
<dd>
|
|
1366
|
+
|
|
1367
|
+
#### 📝 Description
|
|
1368
|
+
|
|
1369
|
+
<dl>
|
|
1370
|
+
<dd>
|
|
1371
|
+
|
|
1226
1372
|
<dl>
|
|
1227
1373
|
<dd>
|
|
1228
1374
|
|
|
1375
|
+
The claimable organization held for a publisher, with its claim
|
|
1376
|
+
status and the address of its docs site. Only Postman's integration
|
|
1377
|
+
service token can call it. 404 when the publisher has no claimable
|
|
1378
|
+
organization, or its docs address isn't set.
|
|
1379
|
+
</dd>
|
|
1380
|
+
</dl>
|
|
1381
|
+
</dd>
|
|
1382
|
+
</dl>
|
|
1383
|
+
|
|
1229
1384
|
#### 🔌 Usage
|
|
1230
1385
|
|
|
1231
1386
|
<dl>
|
|
@@ -1235,9 +1390,9 @@ await client.organization.addUser({
|
|
|
1235
1390
|
<dd>
|
|
1236
1391
|
|
|
1237
1392
|
```typescript
|
|
1238
|
-
await client.organization.
|
|
1239
|
-
|
|
1240
|
-
|
|
1393
|
+
await client.organization.getPublisherDocs({
|
|
1394
|
+
publisherType: "postman_team",
|
|
1395
|
+
publisherId: "publisher_id"
|
|
1241
1396
|
});
|
|
1242
1397
|
|
|
1243
1398
|
```
|
|
@@ -1254,7 +1409,7 @@ await client.organization.inviteUser({
|
|
|
1254
1409
|
<dl>
|
|
1255
1410
|
<dd>
|
|
1256
1411
|
|
|
1257
|
-
**request:** `FernVenusApi.
|
|
1412
|
+
**request:** `FernVenusApi.GetPublisherDocsOrganizationsPublishersPublisherTypePublisherIdDocsGetRequest`
|
|
1258
1413
|
|
|
1259
1414
|
</dd>
|
|
1260
1415
|
</dl>
|
|
@@ -1274,10 +1429,24 @@ await client.organization.inviteUser({
|
|
|
1274
1429
|
</dl>
|
|
1275
1430
|
</details>
|
|
1276
1431
|
|
|
1277
|
-
<details><summary><code>client.organization.<a href="/src/api/resources/organization/client/Client.ts">
|
|
1432
|
+
<details><summary><code>client.organization.<a href="/src/api/resources/organization/client/Client.ts">getPostmanTeamIdByOrgId</a>({ ...params }) -> core.APIResponse<string, FernVenusApi.organization.getPostmanTeamIdByOrgId.Error></code></summary>
|
|
1433
|
+
<dl>
|
|
1434
|
+
<dd>
|
|
1435
|
+
|
|
1436
|
+
#### 📝 Description
|
|
1437
|
+
|
|
1438
|
+
<dl>
|
|
1439
|
+
<dd>
|
|
1440
|
+
|
|
1278
1441
|
<dl>
|
|
1279
1442
|
<dd>
|
|
1280
1443
|
|
|
1444
|
+
Get the Postman team ID associated with an organization ID.
|
|
1445
|
+
</dd>
|
|
1446
|
+
</dl>
|
|
1447
|
+
</dd>
|
|
1448
|
+
</dl>
|
|
1449
|
+
|
|
1281
1450
|
#### 🔌 Usage
|
|
1282
1451
|
|
|
1283
1452
|
<dl>
|
|
@@ -1287,9 +1456,8 @@ await client.organization.inviteUser({
|
|
|
1287
1456
|
<dd>
|
|
1288
1457
|
|
|
1289
1458
|
```typescript
|
|
1290
|
-
await client.organization.
|
|
1291
|
-
|
|
1292
|
-
auth0OrgId: "auth0OrgId"
|
|
1459
|
+
await client.organization.getPostmanTeamIdByOrgId({
|
|
1460
|
+
orgId: "org_id"
|
|
1293
1461
|
});
|
|
1294
1462
|
|
|
1295
1463
|
```
|
|
@@ -1306,7 +1474,7 @@ await client.organization.removeUser({
|
|
|
1306
1474
|
<dl>
|
|
1307
1475
|
<dd>
|
|
1308
1476
|
|
|
1309
|
-
**request:** `FernVenusApi.
|
|
1477
|
+
**request:** `FernVenusApi.GetPostmanTeamIdByOrgIdOrganizationsOrgIdPostmanTeamIdGetRequest`
|
|
1310
1478
|
|
|
1311
1479
|
</dd>
|
|
1312
1480
|
</dl>
|
|
@@ -1326,8 +1494,733 @@ await client.organization.removeUser({
|
|
|
1326
1494
|
</dl>
|
|
1327
1495
|
</details>
|
|
1328
1496
|
|
|
1329
|
-
|
|
1330
|
-
<
|
|
1497
|
+
<details><summary><code>client.organization.<a href="/src/api/resources/organization/client/Client.ts">getClaimStatus</a>({ ...params }) -> core.APIResponse<FernVenusApi.ClaimStatusResponse, FernVenusApi.organization.getClaimStatus.Error></code></summary>
|
|
1498
|
+
<dl>
|
|
1499
|
+
<dd>
|
|
1500
|
+
|
|
1501
|
+
#### 📝 Description
|
|
1502
|
+
|
|
1503
|
+
<dl>
|
|
1504
|
+
<dd>
|
|
1505
|
+
|
|
1506
|
+
<dl>
|
|
1507
|
+
<dd>
|
|
1508
|
+
|
|
1509
|
+
Whether a claimable organization has been claimed. Public, so a docs
|
|
1510
|
+
site can show a claim banner to signed-out visitors. Organizations
|
|
1511
|
+
that were never claimable return 404.
|
|
1512
|
+
</dd>
|
|
1513
|
+
</dl>
|
|
1514
|
+
</dd>
|
|
1515
|
+
</dl>
|
|
1516
|
+
|
|
1517
|
+
#### 🔌 Usage
|
|
1518
|
+
|
|
1519
|
+
<dl>
|
|
1520
|
+
<dd>
|
|
1521
|
+
|
|
1522
|
+
<dl>
|
|
1523
|
+
<dd>
|
|
1524
|
+
|
|
1525
|
+
```typescript
|
|
1526
|
+
await client.organization.getClaimStatus({
|
|
1527
|
+
orgId: "org_id"
|
|
1528
|
+
});
|
|
1529
|
+
|
|
1530
|
+
```
|
|
1531
|
+
</dd>
|
|
1532
|
+
</dl>
|
|
1533
|
+
</dd>
|
|
1534
|
+
</dl>
|
|
1535
|
+
|
|
1536
|
+
#### ⚙️ Parameters
|
|
1537
|
+
|
|
1538
|
+
<dl>
|
|
1539
|
+
<dd>
|
|
1540
|
+
|
|
1541
|
+
<dl>
|
|
1542
|
+
<dd>
|
|
1543
|
+
|
|
1544
|
+
**request:** `FernVenusApi.GetClaimStatusOrganizationsOrgIdClaimStatusGetRequest`
|
|
1545
|
+
|
|
1546
|
+
</dd>
|
|
1547
|
+
</dl>
|
|
1548
|
+
|
|
1549
|
+
<dl>
|
|
1550
|
+
<dd>
|
|
1551
|
+
|
|
1552
|
+
**requestOptions:** `OrganizationClient.RequestOptions`
|
|
1553
|
+
|
|
1554
|
+
</dd>
|
|
1555
|
+
</dl>
|
|
1556
|
+
</dd>
|
|
1557
|
+
</dl>
|
|
1558
|
+
|
|
1559
|
+
|
|
1560
|
+
</dd>
|
|
1561
|
+
</dl>
|
|
1562
|
+
</details>
|
|
1563
|
+
|
|
1564
|
+
<details><summary><code>client.organization.<a href="/src/api/resources/organization/client/Client.ts">createClaimToken</a>({ ...params }) -> core.APIResponse<FernVenusApi.ClaimTokenResponse, FernVenusApi.organization.createClaimToken.Error></code></summary>
|
|
1565
|
+
<dl>
|
|
1566
|
+
<dd>
|
|
1567
|
+
|
|
1568
|
+
#### 📝 Description
|
|
1569
|
+
|
|
1570
|
+
<dl>
|
|
1571
|
+
<dd>
|
|
1572
|
+
|
|
1573
|
+
<dl>
|
|
1574
|
+
<dd>
|
|
1575
|
+
|
|
1576
|
+
Issues a claim link for an unclaimed organization, bound to one Postman
|
|
1577
|
+
user and valid for 15 minutes. Only the provisioner token and Postman's
|
|
1578
|
+
integration service token can call it. For an organization held for a
|
|
1579
|
+
Postman user, the caller must name that user as the publisher, or gets
|
|
1580
|
+
403 PublisherMismatchError.
|
|
1581
|
+
</dd>
|
|
1582
|
+
</dl>
|
|
1583
|
+
</dd>
|
|
1584
|
+
</dl>
|
|
1585
|
+
|
|
1586
|
+
#### 🔌 Usage
|
|
1587
|
+
|
|
1588
|
+
<dl>
|
|
1589
|
+
<dd>
|
|
1590
|
+
|
|
1591
|
+
<dl>
|
|
1592
|
+
<dd>
|
|
1593
|
+
|
|
1594
|
+
```typescript
|
|
1595
|
+
await client.organization.createClaimToken({
|
|
1596
|
+
orgId: "org_id",
|
|
1597
|
+
postmanUserId: "postmanUserId"
|
|
1598
|
+
});
|
|
1599
|
+
|
|
1600
|
+
```
|
|
1601
|
+
</dd>
|
|
1602
|
+
</dl>
|
|
1603
|
+
</dd>
|
|
1604
|
+
</dl>
|
|
1605
|
+
|
|
1606
|
+
#### ⚙️ Parameters
|
|
1607
|
+
|
|
1608
|
+
<dl>
|
|
1609
|
+
<dd>
|
|
1610
|
+
|
|
1611
|
+
<dl>
|
|
1612
|
+
<dd>
|
|
1613
|
+
|
|
1614
|
+
**request:** `FernVenusApi.CreateClaimTokenRequest`
|
|
1615
|
+
|
|
1616
|
+
</dd>
|
|
1617
|
+
</dl>
|
|
1618
|
+
|
|
1619
|
+
<dl>
|
|
1620
|
+
<dd>
|
|
1621
|
+
|
|
1622
|
+
**requestOptions:** `OrganizationClient.RequestOptions`
|
|
1623
|
+
|
|
1624
|
+
</dd>
|
|
1625
|
+
</dl>
|
|
1626
|
+
</dd>
|
|
1627
|
+
</dl>
|
|
1628
|
+
|
|
1629
|
+
|
|
1630
|
+
</dd>
|
|
1631
|
+
</dl>
|
|
1632
|
+
</details>
|
|
1633
|
+
|
|
1634
|
+
<details><summary><code>client.organization.<a href="/src/api/resources/organization/client/Client.ts">setDocsUrl</a>({ ...params }) -> core.APIResponse<void, FernVenusApi.organization.setDocsUrl.Error></code></summary>
|
|
1635
|
+
<dl>
|
|
1636
|
+
<dd>
|
|
1637
|
+
|
|
1638
|
+
#### 📝 Description
|
|
1639
|
+
|
|
1640
|
+
<dl>
|
|
1641
|
+
<dd>
|
|
1642
|
+
|
|
1643
|
+
<dl>
|
|
1644
|
+
<dd>
|
|
1645
|
+
|
|
1646
|
+
Sets the address of an unclaimed organization's docs site, which the
|
|
1647
|
+
team docs lookup returns. Only the provisioner token can call it, and
|
|
1648
|
+
only until the organization is claimed.
|
|
1649
|
+
</dd>
|
|
1650
|
+
</dl>
|
|
1651
|
+
</dd>
|
|
1652
|
+
</dl>
|
|
1653
|
+
|
|
1654
|
+
#### 🔌 Usage
|
|
1655
|
+
|
|
1656
|
+
<dl>
|
|
1657
|
+
<dd>
|
|
1658
|
+
|
|
1659
|
+
<dl>
|
|
1660
|
+
<dd>
|
|
1661
|
+
|
|
1662
|
+
```typescript
|
|
1663
|
+
await client.organization.setDocsUrl({
|
|
1664
|
+
orgId: "org_id",
|
|
1665
|
+
docsUrl: "docsUrl"
|
|
1666
|
+
});
|
|
1667
|
+
|
|
1668
|
+
```
|
|
1669
|
+
</dd>
|
|
1670
|
+
</dl>
|
|
1671
|
+
</dd>
|
|
1672
|
+
</dl>
|
|
1673
|
+
|
|
1674
|
+
#### ⚙️ Parameters
|
|
1675
|
+
|
|
1676
|
+
<dl>
|
|
1677
|
+
<dd>
|
|
1678
|
+
|
|
1679
|
+
<dl>
|
|
1680
|
+
<dd>
|
|
1681
|
+
|
|
1682
|
+
**request:** `FernVenusApi.SetDocsUrlRequest`
|
|
1683
|
+
|
|
1684
|
+
</dd>
|
|
1685
|
+
</dl>
|
|
1686
|
+
|
|
1687
|
+
<dl>
|
|
1688
|
+
<dd>
|
|
1689
|
+
|
|
1690
|
+
**requestOptions:** `OrganizationClient.RequestOptions`
|
|
1691
|
+
|
|
1692
|
+
</dd>
|
|
1693
|
+
</dl>
|
|
1694
|
+
</dd>
|
|
1695
|
+
</dl>
|
|
1696
|
+
|
|
1697
|
+
|
|
1698
|
+
</dd>
|
|
1699
|
+
</dl>
|
|
1700
|
+
</details>
|
|
1701
|
+
|
|
1702
|
+
<details><summary><code>client.organization.<a href="/src/api/resources/organization/client/Client.ts">claim</a>({ ...params }) -> core.APIResponse<FernVenusApi.ClaimOrganizationResponse, FernVenusApi.organization.claim.Error></code></summary>
|
|
1703
|
+
<dl>
|
|
1704
|
+
<dd>
|
|
1705
|
+
|
|
1706
|
+
#### 📝 Description
|
|
1707
|
+
|
|
1708
|
+
<dl>
|
|
1709
|
+
<dd>
|
|
1710
|
+
|
|
1711
|
+
<dl>
|
|
1712
|
+
<dd>
|
|
1713
|
+
|
|
1714
|
+
Redeems a claim link. The caller, signed in as the Postman user the link
|
|
1715
|
+
is for, becomes the admin of the organization. The first claim wins, and
|
|
1716
|
+
a retry by the same user finishes a claim that failed partway.
|
|
1717
|
+
</dd>
|
|
1718
|
+
</dl>
|
|
1719
|
+
</dd>
|
|
1720
|
+
</dl>
|
|
1721
|
+
|
|
1722
|
+
#### 🔌 Usage
|
|
1723
|
+
|
|
1724
|
+
<dl>
|
|
1725
|
+
<dd>
|
|
1726
|
+
|
|
1727
|
+
<dl>
|
|
1728
|
+
<dd>
|
|
1729
|
+
|
|
1730
|
+
```typescript
|
|
1731
|
+
await client.organization.claim({
|
|
1732
|
+
claimToken: "claimToken"
|
|
1733
|
+
});
|
|
1734
|
+
|
|
1735
|
+
```
|
|
1736
|
+
</dd>
|
|
1737
|
+
</dl>
|
|
1738
|
+
</dd>
|
|
1739
|
+
</dl>
|
|
1740
|
+
|
|
1741
|
+
#### ⚙️ Parameters
|
|
1742
|
+
|
|
1743
|
+
<dl>
|
|
1744
|
+
<dd>
|
|
1745
|
+
|
|
1746
|
+
<dl>
|
|
1747
|
+
<dd>
|
|
1748
|
+
|
|
1749
|
+
**request:** `FernVenusApi.ClaimOrganizationRequest`
|
|
1750
|
+
|
|
1751
|
+
</dd>
|
|
1752
|
+
</dl>
|
|
1753
|
+
|
|
1754
|
+
<dl>
|
|
1755
|
+
<dd>
|
|
1756
|
+
|
|
1757
|
+
**requestOptions:** `OrganizationClient.RequestOptions`
|
|
1758
|
+
|
|
1759
|
+
</dd>
|
|
1760
|
+
</dl>
|
|
1761
|
+
</dd>
|
|
1762
|
+
</dl>
|
|
1763
|
+
|
|
1764
|
+
|
|
1765
|
+
</dd>
|
|
1766
|
+
</dl>
|
|
1767
|
+
</details>
|
|
1768
|
+
|
|
1769
|
+
<details><summary><code>client.organization.<a href="/src/api/resources/organization/client/Client.ts">previewClaim</a>({ ...params }) -> core.APIResponse<FernVenusApi.ClaimPreviewResponse, FernVenusApi.organization.previewClaim.Error></code></summary>
|
|
1770
|
+
<dl>
|
|
1771
|
+
<dd>
|
|
1772
|
+
|
|
1773
|
+
#### 📝 Description
|
|
1774
|
+
|
|
1775
|
+
<dl>
|
|
1776
|
+
<dd>
|
|
1777
|
+
|
|
1778
|
+
<dl>
|
|
1779
|
+
<dd>
|
|
1780
|
+
|
|
1781
|
+
What a claim link is for, without redeeming it, so the dashboard can show
|
|
1782
|
+
the organization and the link's state before the user signs in. Public:
|
|
1783
|
+
the link is the secret. The token is in the body to keep it out of
|
|
1784
|
+
request logs.
|
|
1785
|
+
</dd>
|
|
1786
|
+
</dl>
|
|
1787
|
+
</dd>
|
|
1788
|
+
</dl>
|
|
1789
|
+
|
|
1790
|
+
#### 🔌 Usage
|
|
1791
|
+
|
|
1792
|
+
<dl>
|
|
1793
|
+
<dd>
|
|
1794
|
+
|
|
1795
|
+
<dl>
|
|
1796
|
+
<dd>
|
|
1797
|
+
|
|
1798
|
+
```typescript
|
|
1799
|
+
await client.organization.previewClaim({
|
|
1800
|
+
claimToken: "claimToken"
|
|
1801
|
+
});
|
|
1802
|
+
|
|
1803
|
+
```
|
|
1804
|
+
</dd>
|
|
1805
|
+
</dl>
|
|
1806
|
+
</dd>
|
|
1807
|
+
</dl>
|
|
1808
|
+
|
|
1809
|
+
#### ⚙️ Parameters
|
|
1810
|
+
|
|
1811
|
+
<dl>
|
|
1812
|
+
<dd>
|
|
1813
|
+
|
|
1814
|
+
<dl>
|
|
1815
|
+
<dd>
|
|
1816
|
+
|
|
1817
|
+
**request:** `FernVenusApi.ClaimOrganizationRequest`
|
|
1818
|
+
|
|
1819
|
+
</dd>
|
|
1820
|
+
</dl>
|
|
1821
|
+
|
|
1822
|
+
<dl>
|
|
1823
|
+
<dd>
|
|
1824
|
+
|
|
1825
|
+
**requestOptions:** `OrganizationClient.RequestOptions`
|
|
1826
|
+
|
|
1827
|
+
</dd>
|
|
1828
|
+
</dl>
|
|
1829
|
+
</dd>
|
|
1830
|
+
</dl>
|
|
1831
|
+
|
|
1832
|
+
|
|
1833
|
+
</dd>
|
|
1834
|
+
</dl>
|
|
1835
|
+
</details>
|
|
1836
|
+
|
|
1837
|
+
<details><summary><code>client.organization.<a href="/src/api/resources/organization/client/Client.ts">claimFromDocsSite</a>({ ...params }) -> core.APIResponse<FernVenusApi.ClaimOrganizationResponse, FernVenusApi.organization.claimFromDocsSite.Error></code></summary>
|
|
1838
|
+
<dl>
|
|
1839
|
+
<dd>
|
|
1840
|
+
|
|
1841
|
+
#### 📝 Description
|
|
1842
|
+
|
|
1843
|
+
<dl>
|
|
1844
|
+
<dd>
|
|
1845
|
+
|
|
1846
|
+
<dl>
|
|
1847
|
+
<dd>
|
|
1848
|
+
|
|
1849
|
+
Redeems a claim link without a Fern sign-in, for the Claim button on
|
|
1850
|
+
the organization's docs site. The organization is claimed for the
|
|
1851
|
+
Postman user the link was issued for, who becomes its admin if they
|
|
1852
|
+
already have a Fern account; otherwise the organization starts with
|
|
1853
|
+
no members, and the dashboard adds the team's Postman users when they
|
|
1854
|
+
sign in with Postman. An organization with no team would then stay
|
|
1855
|
+
empty, so without a Fern account it gets 403 FernAccountRequiredError
|
|
1856
|
+
and stays unclaimed. Public: the link is the secret, and only the
|
|
1857
|
+
provisioner and Postman's integration service can get one. The first
|
|
1858
|
+
claim wins, and a retry finishes a claim that failed partway.
|
|
1859
|
+
</dd>
|
|
1860
|
+
</dl>
|
|
1861
|
+
</dd>
|
|
1862
|
+
</dl>
|
|
1863
|
+
|
|
1864
|
+
#### 🔌 Usage
|
|
1865
|
+
|
|
1866
|
+
<dl>
|
|
1867
|
+
<dd>
|
|
1868
|
+
|
|
1869
|
+
<dl>
|
|
1870
|
+
<dd>
|
|
1871
|
+
|
|
1872
|
+
```typescript
|
|
1873
|
+
await client.organization.claimFromDocsSite({
|
|
1874
|
+
claimToken: "claimToken"
|
|
1875
|
+
});
|
|
1876
|
+
|
|
1877
|
+
```
|
|
1878
|
+
</dd>
|
|
1879
|
+
</dl>
|
|
1880
|
+
</dd>
|
|
1881
|
+
</dl>
|
|
1882
|
+
|
|
1883
|
+
#### ⚙️ Parameters
|
|
1884
|
+
|
|
1885
|
+
<dl>
|
|
1886
|
+
<dd>
|
|
1887
|
+
|
|
1888
|
+
<dl>
|
|
1889
|
+
<dd>
|
|
1890
|
+
|
|
1891
|
+
**request:** `FernVenusApi.ClaimOrganizationRequest`
|
|
1892
|
+
|
|
1893
|
+
</dd>
|
|
1894
|
+
</dl>
|
|
1895
|
+
|
|
1896
|
+
<dl>
|
|
1897
|
+
<dd>
|
|
1898
|
+
|
|
1899
|
+
**requestOptions:** `OrganizationClient.RequestOptions`
|
|
1900
|
+
|
|
1901
|
+
</dd>
|
|
1902
|
+
</dl>
|
|
1903
|
+
</dd>
|
|
1904
|
+
</dl>
|
|
1905
|
+
|
|
1906
|
+
|
|
1907
|
+
</dd>
|
|
1908
|
+
</dl>
|
|
1909
|
+
</details>
|
|
1910
|
+
|
|
1911
|
+
<details><summary><code>client.organization.<a href="/src/api/resources/organization/client/Client.ts">isMember</a>({ ...params }) -> core.APIResponse<boolean, FernVenusApi.organization.isMember.Error></code></summary>
|
|
1912
|
+
<dl>
|
|
1913
|
+
<dd>
|
|
1914
|
+
|
|
1915
|
+
#### 🔌 Usage
|
|
1916
|
+
|
|
1917
|
+
<dl>
|
|
1918
|
+
<dd>
|
|
1919
|
+
|
|
1920
|
+
<dl>
|
|
1921
|
+
<dd>
|
|
1922
|
+
|
|
1923
|
+
```typescript
|
|
1924
|
+
await client.organization.isMember({
|
|
1925
|
+
organizationId: "organization_id"
|
|
1926
|
+
});
|
|
1927
|
+
|
|
1928
|
+
```
|
|
1929
|
+
</dd>
|
|
1930
|
+
</dl>
|
|
1931
|
+
</dd>
|
|
1932
|
+
</dl>
|
|
1933
|
+
|
|
1934
|
+
#### ⚙️ Parameters
|
|
1935
|
+
|
|
1936
|
+
<dl>
|
|
1937
|
+
<dd>
|
|
1938
|
+
|
|
1939
|
+
<dl>
|
|
1940
|
+
<dd>
|
|
1941
|
+
|
|
1942
|
+
**request:** `FernVenusApi.IsMemberOrganizationsBelongsToOrganizationOrganizationIdPostRequest`
|
|
1943
|
+
|
|
1944
|
+
</dd>
|
|
1945
|
+
</dl>
|
|
1946
|
+
|
|
1947
|
+
<dl>
|
|
1948
|
+
<dd>
|
|
1949
|
+
|
|
1950
|
+
**requestOptions:** `OrganizationClient.RequestOptions`
|
|
1951
|
+
|
|
1952
|
+
</dd>
|
|
1953
|
+
</dl>
|
|
1954
|
+
</dd>
|
|
1955
|
+
</dl>
|
|
1956
|
+
|
|
1957
|
+
|
|
1958
|
+
</dd>
|
|
1959
|
+
</dl>
|
|
1960
|
+
</details>
|
|
1961
|
+
|
|
1962
|
+
<details><summary><code>client.organization.<a href="/src/api/resources/organization/client/Client.ts">getMyOrganizationFromScopedToken</a>({ ...params }) -> core.APIResponse<FernVenusApi.Organization, FernVenusApi.organization.getMyOrganizationFromScopedToken.Error></code></summary>
|
|
1963
|
+
<dl>
|
|
1964
|
+
<dd>
|
|
1965
|
+
|
|
1966
|
+
#### 📝 Description
|
|
1967
|
+
|
|
1968
|
+
<dl>
|
|
1969
|
+
<dd>
|
|
1970
|
+
|
|
1971
|
+
<dl>
|
|
1972
|
+
<dd>
|
|
1973
|
+
|
|
1974
|
+
Returns the org for a scoped token. The token is limited to one organization.
|
|
1975
|
+
</dd>
|
|
1976
|
+
</dl>
|
|
1977
|
+
</dd>
|
|
1978
|
+
</dl>
|
|
1979
|
+
|
|
1980
|
+
#### 🔌 Usage
|
|
1981
|
+
|
|
1982
|
+
<dl>
|
|
1983
|
+
<dd>
|
|
1984
|
+
|
|
1985
|
+
<dl>
|
|
1986
|
+
<dd>
|
|
1987
|
+
|
|
1988
|
+
```typescript
|
|
1989
|
+
await client.organization.getMyOrganizationFromScopedToken();
|
|
1990
|
+
|
|
1991
|
+
```
|
|
1992
|
+
</dd>
|
|
1993
|
+
</dl>
|
|
1994
|
+
</dd>
|
|
1995
|
+
</dl>
|
|
1996
|
+
|
|
1997
|
+
#### ⚙️ Parameters
|
|
1998
|
+
|
|
1999
|
+
<dl>
|
|
2000
|
+
<dd>
|
|
2001
|
+
|
|
2002
|
+
<dl>
|
|
2003
|
+
<dd>
|
|
2004
|
+
|
|
2005
|
+
**request:** `FernVenusApi.GetMyOrganizationFromScopedTokenOrganizationsMyselfPostRequest`
|
|
2006
|
+
|
|
2007
|
+
</dd>
|
|
2008
|
+
</dl>
|
|
2009
|
+
|
|
2010
|
+
<dl>
|
|
2011
|
+
<dd>
|
|
2012
|
+
|
|
2013
|
+
**requestOptions:** `OrganizationClient.RequestOptions`
|
|
2014
|
+
|
|
2015
|
+
</dd>
|
|
2016
|
+
</dl>
|
|
2017
|
+
</dd>
|
|
2018
|
+
</dl>
|
|
2019
|
+
|
|
2020
|
+
|
|
2021
|
+
</dd>
|
|
2022
|
+
</dl>
|
|
2023
|
+
</details>
|
|
2024
|
+
|
|
2025
|
+
<details><summary><code>client.organization.<a href="/src/api/resources/organization/client/Client.ts">getOrgIdsFromToken</a>() -> core.APIResponse<string[], FernVenusApi.organization.getOrgIdsFromToken.Error></code></summary>
|
|
2026
|
+
<dl>
|
|
2027
|
+
<dd>
|
|
2028
|
+
|
|
2029
|
+
#### 🔌 Usage
|
|
2030
|
+
|
|
2031
|
+
<dl>
|
|
2032
|
+
<dd>
|
|
2033
|
+
|
|
2034
|
+
<dl>
|
|
2035
|
+
<dd>
|
|
2036
|
+
|
|
2037
|
+
```typescript
|
|
2038
|
+
await client.organization.getOrgIdsFromToken();
|
|
2039
|
+
|
|
2040
|
+
```
|
|
2041
|
+
</dd>
|
|
2042
|
+
</dl>
|
|
2043
|
+
</dd>
|
|
2044
|
+
</dl>
|
|
2045
|
+
|
|
2046
|
+
#### ⚙️ Parameters
|
|
2047
|
+
|
|
2048
|
+
<dl>
|
|
2049
|
+
<dd>
|
|
2050
|
+
|
|
2051
|
+
<dl>
|
|
2052
|
+
<dd>
|
|
2053
|
+
|
|
2054
|
+
**requestOptions:** `OrganizationClient.RequestOptions`
|
|
2055
|
+
|
|
2056
|
+
</dd>
|
|
2057
|
+
</dl>
|
|
2058
|
+
</dd>
|
|
2059
|
+
</dl>
|
|
2060
|
+
|
|
2061
|
+
|
|
2062
|
+
</dd>
|
|
2063
|
+
</dl>
|
|
2064
|
+
</details>
|
|
2065
|
+
|
|
2066
|
+
<details><summary><code>client.organization.<a href="/src/api/resources/organization/client/Client.ts">addUser</a>({ ...params }) -> core.APIResponse<void, FernVenusApi.organization.addUser.Error></code></summary>
|
|
2067
|
+
<dl>
|
|
2068
|
+
<dd>
|
|
2069
|
+
|
|
2070
|
+
#### 🔌 Usage
|
|
2071
|
+
|
|
2072
|
+
<dl>
|
|
2073
|
+
<dd>
|
|
2074
|
+
|
|
2075
|
+
<dl>
|
|
2076
|
+
<dd>
|
|
2077
|
+
|
|
2078
|
+
```typescript
|
|
2079
|
+
await client.organization.addUser({
|
|
2080
|
+
userId: "userId",
|
|
2081
|
+
orgId: "orgId"
|
|
2082
|
+
});
|
|
2083
|
+
|
|
2084
|
+
```
|
|
2085
|
+
</dd>
|
|
2086
|
+
</dl>
|
|
2087
|
+
</dd>
|
|
2088
|
+
</dl>
|
|
2089
|
+
|
|
2090
|
+
#### ⚙️ Parameters
|
|
2091
|
+
|
|
2092
|
+
<dl>
|
|
2093
|
+
<dd>
|
|
2094
|
+
|
|
2095
|
+
<dl>
|
|
2096
|
+
<dd>
|
|
2097
|
+
|
|
2098
|
+
**request:** `FernVenusApi.AddUserToOrgRequest`
|
|
2099
|
+
|
|
2100
|
+
</dd>
|
|
2101
|
+
</dl>
|
|
2102
|
+
|
|
2103
|
+
<dl>
|
|
2104
|
+
<dd>
|
|
2105
|
+
|
|
2106
|
+
**requestOptions:** `OrganizationClient.RequestOptions`
|
|
2107
|
+
|
|
2108
|
+
</dd>
|
|
2109
|
+
</dl>
|
|
2110
|
+
</dd>
|
|
2111
|
+
</dl>
|
|
2112
|
+
|
|
2113
|
+
|
|
2114
|
+
</dd>
|
|
2115
|
+
</dl>
|
|
2116
|
+
</details>
|
|
2117
|
+
|
|
2118
|
+
<details><summary><code>client.organization.<a href="/src/api/resources/organization/client/Client.ts">inviteUser</a>({ ...params }) -> core.APIResponse<void, FernVenusApi.organization.inviteUser.Error></code></summary>
|
|
2119
|
+
<dl>
|
|
2120
|
+
<dd>
|
|
2121
|
+
|
|
2122
|
+
#### 🔌 Usage
|
|
2123
|
+
|
|
2124
|
+
<dl>
|
|
2125
|
+
<dd>
|
|
2126
|
+
|
|
2127
|
+
<dl>
|
|
2128
|
+
<dd>
|
|
2129
|
+
|
|
2130
|
+
```typescript
|
|
2131
|
+
await client.organization.inviteUser({
|
|
2132
|
+
emailAddress: "emailAddress",
|
|
2133
|
+
auth0OrgId: "auth0OrgId"
|
|
2134
|
+
});
|
|
2135
|
+
|
|
2136
|
+
```
|
|
2137
|
+
</dd>
|
|
2138
|
+
</dl>
|
|
2139
|
+
</dd>
|
|
2140
|
+
</dl>
|
|
2141
|
+
|
|
2142
|
+
#### ⚙️ Parameters
|
|
2143
|
+
|
|
2144
|
+
<dl>
|
|
2145
|
+
<dd>
|
|
2146
|
+
|
|
2147
|
+
<dl>
|
|
2148
|
+
<dd>
|
|
2149
|
+
|
|
2150
|
+
**request:** `FernVenusApi.InviteUserToOrgRequest`
|
|
2151
|
+
|
|
2152
|
+
</dd>
|
|
2153
|
+
</dl>
|
|
2154
|
+
|
|
2155
|
+
<dl>
|
|
2156
|
+
<dd>
|
|
2157
|
+
|
|
2158
|
+
**requestOptions:** `OrganizationClient.RequestOptions`
|
|
2159
|
+
|
|
2160
|
+
</dd>
|
|
2161
|
+
</dl>
|
|
2162
|
+
</dd>
|
|
2163
|
+
</dl>
|
|
2164
|
+
|
|
2165
|
+
|
|
2166
|
+
</dd>
|
|
2167
|
+
</dl>
|
|
2168
|
+
</details>
|
|
2169
|
+
|
|
2170
|
+
<details><summary><code>client.organization.<a href="/src/api/resources/organization/client/Client.ts">removeUser</a>({ ...params }) -> core.APIResponse<void, FernVenusApi.organization.removeUser.Error></code></summary>
|
|
2171
|
+
<dl>
|
|
2172
|
+
<dd>
|
|
2173
|
+
|
|
2174
|
+
#### 🔌 Usage
|
|
2175
|
+
|
|
2176
|
+
<dl>
|
|
2177
|
+
<dd>
|
|
2178
|
+
|
|
2179
|
+
<dl>
|
|
2180
|
+
<dd>
|
|
2181
|
+
|
|
2182
|
+
```typescript
|
|
2183
|
+
await client.organization.removeUser({
|
|
2184
|
+
userId: "userId",
|
|
2185
|
+
auth0OrgId: "auth0OrgId"
|
|
2186
|
+
});
|
|
2187
|
+
|
|
2188
|
+
```
|
|
2189
|
+
</dd>
|
|
2190
|
+
</dl>
|
|
2191
|
+
</dd>
|
|
2192
|
+
</dl>
|
|
2193
|
+
|
|
2194
|
+
#### ⚙️ Parameters
|
|
2195
|
+
|
|
2196
|
+
<dl>
|
|
2197
|
+
<dd>
|
|
2198
|
+
|
|
2199
|
+
<dl>
|
|
2200
|
+
<dd>
|
|
2201
|
+
|
|
2202
|
+
**request:** `FernVenusApi.RemoveUserFromOrgRequest`
|
|
2203
|
+
|
|
2204
|
+
</dd>
|
|
2205
|
+
</dl>
|
|
2206
|
+
|
|
2207
|
+
<dl>
|
|
2208
|
+
<dd>
|
|
2209
|
+
|
|
2210
|
+
**requestOptions:** `OrganizationClient.RequestOptions`
|
|
2211
|
+
|
|
2212
|
+
</dd>
|
|
2213
|
+
</dl>
|
|
2214
|
+
</dd>
|
|
2215
|
+
</dl>
|
|
2216
|
+
|
|
2217
|
+
|
|
2218
|
+
</dd>
|
|
2219
|
+
</dl>
|
|
2220
|
+
</details>
|
|
2221
|
+
|
|
2222
|
+
## Registry
|
|
2223
|
+
<details><summary><code>client.registry.<a href="/src/api/resources/registry/client/Client.ts">generateRegistryTokens</a>({ ...params }) -> core.APIResponse<FernVenusApi.RegistryTokens, FernVenusApi.registry.generateRegistryTokens.Error></code></summary>
|
|
1331
2224
|
<dl>
|
|
1332
2225
|
<dd>
|
|
1333
2226
|
|
|
@@ -1636,6 +2529,181 @@ await client.user.linkAccounts({
|
|
|
1636
2529
|
</dl>
|
|
1637
2530
|
|
|
1638
2531
|
|
|
2532
|
+
</dd>
|
|
2533
|
+
</dl>
|
|
2534
|
+
</details>
|
|
2535
|
+
|
|
2536
|
+
## InternalGuestSession
|
|
2537
|
+
<details><summary><code>client.internalGuestSession.<a href="/src/api/resources/internalGuestSession/client/Client.ts">readByOrg</a>({ ...params }) -> core.APIResponse<FernVenusApi.InternalGuestSessionResponse, FernVenusApi.internalGuestSession.readByOrg.Error></code></summary>
|
|
2538
|
+
<dl>
|
|
2539
|
+
<dd>
|
|
2540
|
+
|
|
2541
|
+
#### 📝 Description
|
|
2542
|
+
|
|
2543
|
+
<dl>
|
|
2544
|
+
<dd>
|
|
2545
|
+
|
|
2546
|
+
<dl>
|
|
2547
|
+
<dd>
|
|
2548
|
+
|
|
2549
|
+
The session behind a guest organization, for the service holding
|
|
2550
|
+
its work. This is the read the pull model in ``guest_resources`` rests
|
|
2551
|
+
on: FDR and Fiddle know the ``guest-<id>`` org their rows belong to, not
|
|
2552
|
+
the session ID, token or claim secret, so this is keyed by the org and
|
|
2553
|
+
opened by the service credential alone.
|
|
2554
|
+
</dd>
|
|
2555
|
+
</dl>
|
|
2556
|
+
</dd>
|
|
2557
|
+
</dl>
|
|
2558
|
+
|
|
2559
|
+
#### 🔌 Usage
|
|
2560
|
+
|
|
2561
|
+
<dl>
|
|
2562
|
+
<dd>
|
|
2563
|
+
|
|
2564
|
+
<dl>
|
|
2565
|
+
<dd>
|
|
2566
|
+
|
|
2567
|
+
```typescript
|
|
2568
|
+
await client.internalGuestSession.readByOrg({
|
|
2569
|
+
orgId: "org_id"
|
|
2570
|
+
});
|
|
2571
|
+
|
|
2572
|
+
```
|
|
2573
|
+
</dd>
|
|
2574
|
+
</dl>
|
|
2575
|
+
</dd>
|
|
2576
|
+
</dl>
|
|
2577
|
+
|
|
2578
|
+
#### ⚙️ Parameters
|
|
2579
|
+
|
|
2580
|
+
<dl>
|
|
2581
|
+
<dd>
|
|
2582
|
+
|
|
2583
|
+
<dl>
|
|
2584
|
+
<dd>
|
|
2585
|
+
|
|
2586
|
+
**request:** `FernVenusApi.ReadByOrgInternalGuestSessionsByOrgOrgIdGetRequest`
|
|
2587
|
+
|
|
2588
|
+
</dd>
|
|
2589
|
+
</dl>
|
|
2590
|
+
|
|
2591
|
+
<dl>
|
|
2592
|
+
<dd>
|
|
2593
|
+
|
|
2594
|
+
**requestOptions:** `InternalGuestSessionClient.RequestOptions`
|
|
2595
|
+
|
|
2596
|
+
</dd>
|
|
2597
|
+
</dl>
|
|
2598
|
+
</dd>
|
|
2599
|
+
</dl>
|
|
2600
|
+
|
|
2601
|
+
|
|
2602
|
+
</dd>
|
|
2603
|
+
</dl>
|
|
2604
|
+
</details>
|
|
2605
|
+
|
|
2606
|
+
<details><summary><code>client.internalGuestSession.<a href="/src/api/resources/internalGuestSession/client/Client.ts">reserve</a>({ ...params }) -> core.APIResponse<FernVenusApi.ReserveResponse, FernVenusApi.internalGuestSession.reserve.Error></code></summary>
|
|
2607
|
+
<dl>
|
|
2608
|
+
<dd>
|
|
2609
|
+
|
|
2610
|
+
#### 🔌 Usage
|
|
2611
|
+
|
|
2612
|
+
<dl>
|
|
2613
|
+
<dd>
|
|
2614
|
+
|
|
2615
|
+
<dl>
|
|
2616
|
+
<dd>
|
|
2617
|
+
|
|
2618
|
+
```typescript
|
|
2619
|
+
await client.internalGuestSession.reserve({
|
|
2620
|
+
sessionId: "session_id",
|
|
2621
|
+
kind: "sdkBuild"
|
|
2622
|
+
});
|
|
2623
|
+
|
|
2624
|
+
```
|
|
2625
|
+
</dd>
|
|
2626
|
+
</dl>
|
|
2627
|
+
</dd>
|
|
2628
|
+
</dl>
|
|
2629
|
+
|
|
2630
|
+
#### ⚙️ Parameters
|
|
2631
|
+
|
|
2632
|
+
<dl>
|
|
2633
|
+
<dd>
|
|
2634
|
+
|
|
2635
|
+
<dl>
|
|
2636
|
+
<dd>
|
|
2637
|
+
|
|
2638
|
+
**request:** `FernVenusApi.ReserveRequest`
|
|
2639
|
+
|
|
2640
|
+
</dd>
|
|
2641
|
+
</dl>
|
|
2642
|
+
|
|
2643
|
+
<dl>
|
|
2644
|
+
<dd>
|
|
2645
|
+
|
|
2646
|
+
**requestOptions:** `InternalGuestSessionClient.RequestOptions`
|
|
2647
|
+
|
|
2648
|
+
</dd>
|
|
2649
|
+
</dl>
|
|
2650
|
+
</dd>
|
|
2651
|
+
</dl>
|
|
2652
|
+
|
|
2653
|
+
|
|
2654
|
+
</dd>
|
|
2655
|
+
</dl>
|
|
2656
|
+
</details>
|
|
2657
|
+
|
|
2658
|
+
<details><summary><code>client.internalGuestSession.<a href="/src/api/resources/internalGuestSession/client/Client.ts">settle</a>({ ...params }) -> core.APIResponse<FernVenusApi.SettleResponse, FernVenusApi.internalGuestSession.settle.Error></code></summary>
|
|
2659
|
+
<dl>
|
|
2660
|
+
<dd>
|
|
2661
|
+
|
|
2662
|
+
#### 🔌 Usage
|
|
2663
|
+
|
|
2664
|
+
<dl>
|
|
2665
|
+
<dd>
|
|
2666
|
+
|
|
2667
|
+
<dl>
|
|
2668
|
+
<dd>
|
|
2669
|
+
|
|
2670
|
+
```typescript
|
|
2671
|
+
await client.internalGuestSession.settle({
|
|
2672
|
+
sessionId: "session_id",
|
|
2673
|
+
reservationId: "reservationId",
|
|
2674
|
+
outcome: "succeeded"
|
|
2675
|
+
});
|
|
2676
|
+
|
|
2677
|
+
```
|
|
2678
|
+
</dd>
|
|
2679
|
+
</dl>
|
|
2680
|
+
</dd>
|
|
2681
|
+
</dl>
|
|
2682
|
+
|
|
2683
|
+
#### ⚙️ Parameters
|
|
2684
|
+
|
|
2685
|
+
<dl>
|
|
2686
|
+
<dd>
|
|
2687
|
+
|
|
2688
|
+
<dl>
|
|
2689
|
+
<dd>
|
|
2690
|
+
|
|
2691
|
+
**request:** `FernVenusApi.SettleRequest`
|
|
2692
|
+
|
|
2693
|
+
</dd>
|
|
2694
|
+
</dl>
|
|
2695
|
+
|
|
2696
|
+
<dl>
|
|
2697
|
+
<dd>
|
|
2698
|
+
|
|
2699
|
+
**requestOptions:** `InternalGuestSessionClient.RequestOptions`
|
|
2700
|
+
|
|
2701
|
+
</dd>
|
|
2702
|
+
</dl>
|
|
2703
|
+
</dd>
|
|
2704
|
+
</dl>
|
|
2705
|
+
|
|
2706
|
+
|
|
1639
2707
|
</dd>
|
|
1640
2708
|
</dl>
|
|
1641
2709
|
</details>
|