UNPKG

@maccuaa/intellitrust-admin-sdk

Version:

TypeScript SDK client for Entrust Identity as a Service Administration API

1,531 lines 684 kB
// packages/admin-sdk/index.ts import * as Oazapfts from "@oazapfts/runtime"; import * as QS from "@oazapfts/runtime/query"; var defaults = { headers: {}, baseUrl: "https://customer.region.trustedauth.com" }; var oazapfts = Oazapfts.runtime(defaults); var servers = { server1: "https://customer.region.trustedauth.com" }; function getAccoutInfoUsingGet(opts) { return oazapfts.fetchJson("/api/web/v1/accountinfo", { ...opts }); } function updateAccountInfoUsingPut({ accountInfoParms }, opts) { return oazapfts.fetchJson("/api/web/v1/accountinfo", oazapfts.json({ ...opts, method: "PUT", body: accountInfoParms })); } function getAcrsUsingGet(opts) { return oazapfts.fetchJson("/api/web/v1/acrs", { ...opts }); } function createAcrUsingPost({ acrParms }, opts) { return oazapfts.fetchJson("/api/web/v1/acrs", oazapfts.json({ ...opts, method: "POST", body: acrParms })); } function getAcrUsingGet({ id }, opts) { return oazapfts.fetchJson(`/api/web/v1/acrs/${encodeURIComponent(id)}`, { ...opts }); } function removeAcrUsingDelete({ id }, opts) { return oazapfts.fetchJson(`/api/web/v1/acrs/${encodeURIComponent(id)}`, { ...opts, method: "DELETE" }); } function authenticateAdminApiUsingPost({ adminApiAuthentication }, opts) { return oazapfts.fetchJson("/api/web/v1/adminapi/authenticate", oazapfts.json({ ...opts, method: "POST", body: adminApiAuthentication })); } function listApplicationInfoUsingGet(opts) { return oazapfts.fetchJson("/api/web/v1/applicationinfo", { ...opts }); } function listAdminApiApplicationsUsingGet(opts) { return oazapfts.fetchJson("/api/web/v1/applications/adminapi", { ...opts }); } function createAdminApiApplicationUsingPost({ adminApiApplicationParms }, opts) { return oazapfts.fetchJson("/api/web/v1/applications/adminapi", oazapfts.json({ ...opts, method: "POST", body: adminApiApplicationParms })); } function updateAdminApiSharedSecretUsingPut({ id }, opts) { return oazapfts.fetchJson(`/api/web/v1/applications/adminapi/regenerate/${encodeURIComponent(id)}`, { ...opts, method: "PUT" }); } function getAdminApiApplicationUsingGet({ id }, opts) { return oazapfts.fetchJson(`/api/web/v1/applications/adminapi/${encodeURIComponent(id)}`, { ...opts }); } function updateAdminApiApplicationUsingPut({ id, adminApiApplicationParms }, opts) { return oazapfts.fetchJson(`/api/web/v1/applications/adminapi/${encodeURIComponent(id)}`, oazapfts.json({ ...opts, method: "PUT", body: adminApiApplicationParms })); } function removeAdminApiApplicationUsingDelete({ id }, opts) { return oazapfts.fetchJson(`/api/web/v1/applications/adminapi/${encodeURIComponent(id)}`, { ...opts, method: "DELETE" }); } function listAuthApiApplicationsUsingGet(opts) { return oazapfts.fetchJson("/api/web/v1/applications/authapi", { ...opts }); } function createAuthApiApplicationUsingPost({ authApiApplicationParms }, opts) { return oazapfts.fetchJson("/api/web/v1/applications/authapi", oazapfts.json({ ...opts, method: "POST", body: authApiApplicationParms })); } function getAuthApiApplicationUsingGet({ id }, opts) { return oazapfts.fetchJson(`/api/web/v1/applications/authapi/${encodeURIComponent(id)}`, { ...opts }); } function updateAuthApiApplicationUsingPut({ id, authApiApplicationParms }, opts) { return oazapfts.fetchJson(`/api/web/v1/applications/authapi/${encodeURIComponent(id)}`, oazapfts.json({ ...opts, method: "PUT", body: authApiApplicationParms })); } function removeAuthApiApplicationUsingDelete({ id }, opts) { return oazapfts.fetchJson(`/api/web/v1/applications/authapi/${encodeURIComponent(id)}`, { ...opts, method: "DELETE" }); } function listApplicationTemplatesUsingGet(opts) { return oazapfts.fetchJson("/api/web/v1/applications/templates", { ...opts }); } function assignedTokenPageAsyncUsingPost({ searchParms }, opts) { return oazapfts.fetchJson("/api/web/v1/async/tokenspaged/assigned", oazapfts.json({ ...opts, method: "POST", body: searchParms })); } function unassignedTokenPageAsyncUsingPost({ searchParms }, opts) { return oazapfts.fetchJson("/api/web/v1/async/tokenspaged/unassigned", oazapfts.json({ ...opts, method: "POST", body: searchParms })); } function assignedTokenPageAsyncResultUsingGet({ id }, opts) { return oazapfts.fetchJson(`/api/web/v1/async/tokenspaged/${encodeURIComponent(id)}/assigned/result`, { ...opts }); } function assignedTokenPageAsyncStatusUsingGet({ id }, opts) { return oazapfts.fetchJson(`/api/web/v1/async/tokenspaged/${encodeURIComponent(id)}/assigned/status`, { ...opts }); } function unassignedTokenPageAsyncResultUsingGet({ id }, opts) { return oazapfts.fetchJson(`/api/web/v1/async/tokenspaged/${encodeURIComponent(id)}/unassigned/result`, { ...opts }); } function unassignedTokenPageAsyncStatusUsingGet({ id }, opts) { return oazapfts.fetchJson(`/api/web/v1/async/tokenspaged/${encodeURIComponent(id)}/unassigned/status`, { ...opts }); } function getDirectoryAttrMappingUsingGet({ id }, opts) { return oazapfts.fetchJson(`/api/web/v1/attributemappings/${encodeURIComponent(id)}`, { ...opts }); } function contactVerificationAuthenticateUsingPost({ otpVerificationAuthenticateValue }, opts) { return oazapfts.fetchJson("/api/web/v1/contact/verification/authenticate", oazapfts.json({ ...opts, method: "POST", body: otpVerificationAuthenticateValue })); } function contactVerificationChallengeUsingPost({ otpVerificationChallengeValue }, opts) { return oazapfts.fetchJson("/api/web/v1/contact/verification/challenge", oazapfts.json({ ...opts, method: "POST", body: otpVerificationChallengeValue })); } function listDirectoriesUsingGet(opts) { return oazapfts.fetchJson("/api/web/v1/directories", { ...opts }); } function getDirectoryUsingGet({ id }, opts) { return oazapfts.fetchJson(`/api/web/v1/directories/${encodeURIComponent(id)}`, { ...opts }); } function getDirectoryAttrMappingsUsingGet({ id }, opts) { return oazapfts.fetchJson(`/api/web/v1/directories/${encodeURIComponent(id)}/attributemappings`, { ...opts }); } function getDirectorySyncsUsingGet({ id }, opts) { return oazapfts.fetchJson(`/api/web/v1/directories/${encodeURIComponent(id)}/directorysyncs`, { ...opts }); } function getGroupFiltersUsingGet({ id }, opts) { return oazapfts.fetchJson(`/api/web/v1/directories/${encodeURIComponent(id)}/groupfilters`, { ...opts }); } function getSearchBasesUsingGet({ id }, opts) { return oazapfts.fetchJson(`/api/web/v1/directories/${encodeURIComponent(id)}/searchbases`, { ...opts }); } function getDirectorySyncStatusInfoUsingGet({ id }, opts) { return oazapfts.fetchJson(`/api/web/v1/directorysyncinfo/${encodeURIComponent(id)}`, { ...opts }); } function getDirectorySyncUsingGet({ id }, opts) { return oazapfts.fetchJson(`/api/web/v1/directorysyncs/${encodeURIComponent(id)}`, { ...opts }); } function listDomainBasedIdentityProvidersUsingGet(opts) { return oazapfts.fetchJson("/api/web/v1/domainbasedidentityproviders", { ...opts }); } function getSubscriberAccountActiveEntitlementsUsingGet(opts) { return oazapfts.fetchJson("/api/web/v1/entitlements/info", { ...opts }); } function deleteFaceUsingDelete({ faceid }, opts) { return oazapfts.fetchJson(`/api/web/v1/face/${encodeURIComponent(faceid)}`, { ...opts, method: "DELETE" }); } function sendFaceActivationEmailUsingPut({ faceid }, opts) { return oazapfts.fetchJson(`/api/web/v1/face/${encodeURIComponent(faceid)}/activation`, { ...opts, method: "PUT" }); } function startCreateFidoTokenUsingGet({ id }, opts) { return oazapfts.fetchJson(`/api/web/v1/fidotokens/challenge/${encodeURIComponent(id)}`, { ...opts }); } function completeCreateFidoTokenUsingPost({ id, fidoRegisterResponse }, opts) { return oazapfts.fetchJson(`/api/web/v1/fidotokens/complete/${encodeURIComponent(id)}`, oazapfts.json({ ...opts, method: "POST", body: fidoRegisterResponse })); } function getFidoTokenUsingGet({ fidoid }, opts) { return oazapfts.fetchJson(`/api/web/v1/fidotokens/${encodeURIComponent(fidoid)}`, { ...opts }); } function updateFidoTokenUsingPut({ fidoid, fidoTokenParms }, opts) { return oazapfts.fetchJson(`/api/web/v1/fidotokens/${encodeURIComponent(fidoid)}`, oazapfts.json({ ...opts, method: "PUT", body: fidoTokenParms })); } function deleteFidoTokenUsingDelete({ fidoid }, opts) { return oazapfts.fetchJson(`/api/web/v1/fidotokens/${encodeURIComponent(fidoid)}`, { ...opts, method: "DELETE" }); } function getFidoTokensPagedUsingPost({ searchParms }, opts) { return oazapfts.fetchJson("/api/web/v1/fidotokenspaged", oazapfts.json({ ...opts, method: "POST", body: searchParms })); } function createUnassignedGridsUsingPost({ gridCreateParms }, opts) { return oazapfts.fetchJson("/api/web/v1/grids", oazapfts.json({ ...opts, method: "POST", body: gridCreateParms })); } function getGridPropertiesUsingGet(opts) { return oazapfts.fetchJson("/api/web/v1/grids/properties", { ...opts }); } function deliverAssignedGridByEmailUsingPost({ gridid, emailParms }, opts) { return oazapfts.fetchJson(`/api/web/v1/grids/${encodeURIComponent(gridid)}/email`, oazapfts.json({ ...opts, method: "POST", body: emailParms })); } function getSingleGridExportUsingGet({ gridid }, opts) { return oazapfts.fetchJson(`/api/web/v1/grids/${encodeURIComponent(gridid)}/export`, { ...opts }); } function assignGridByIdUsingPut({ gridserialnumber, gridAssignParms }, opts) { return oazapfts.fetchJson(`/api/web/v1/grids/${encodeURIComponent(gridserialnumber)}/assign`, oazapfts.json({ ...opts, method: "PUT", body: gridAssignParms })); } function unassignGridUsingPut({ id }, opts) { return oazapfts.fetchJson(`/api/web/v1/grids/${encodeURIComponent(id)}/unassign`, { ...opts, method: "PUT" }); } function unassignedGridsPageUsingPost({ searchParms }, opts) { return oazapfts.fetchJson("/api/web/v1/gridspaged/unassigned", oazapfts.json({ ...opts, method: "POST", body: searchParms })); } function getGroupFilterUsingGet({ id }, opts) { return oazapfts.fetchJson(`/api/web/v1/groupfilters/${encodeURIComponent(id)}`, { ...opts }); } function groupsUsingGet(opts) { return oazapfts.fetchJson("/api/web/v1/groups", { ...opts }); } function createGroupUsingPost({ groupParms }, opts) { return oazapfts.fetchJson("/api/web/v1/groups", oazapfts.json({ ...opts, method: "POST", body: groupParms })); } function groupByExternalIdUsingPost({ groupId }, opts) { return oazapfts.fetchJson("/api/web/v1/groups/externalid", oazapfts.json({ ...opts, method: "POST", body: groupId })); } function groupUsingGet({ id }, opts) { return oazapfts.fetchJson(`/api/web/v1/groups/${encodeURIComponent(id)}`, { ...opts }); } function updateGroupUsingPut({ id, groupParms }, opts) { return oazapfts.fetchJson(`/api/web/v1/groups/${encodeURIComponent(id)}`, oazapfts.json({ ...opts, method: "PUT", body: groupParms })); } function deleteGroupUsingDelete({ id }, opts) { return oazapfts.fetchJson(`/api/web/v1/groups/${encodeURIComponent(id)}`, { ...opts, method: "DELETE" }); } function groupsPagedUsingPost({ searchParms }, opts) { return oazapfts.fetchJson("/api/web/v1/groupspaged", oazapfts.json({ ...opts, method: "POST", body: searchParms })); } function listIdentityProvidersUsingGet(opts) { return oazapfts.fetchJson("/api/web/v1/identityproviders", { ...opts }); } function listOidcIdentityProvidersUsingGet(opts) { return oazapfts.fetchJson("/api/web/v1/identityproviders/oidc", { ...opts }); } function createOidcIdentityProviderUsingPost({ oidcIdentityProviderParms }, opts) { return oazapfts.fetchJson("/api/web/v1/identityproviders/oidc", oazapfts.json({ ...opts, method: "POST", body: oidcIdentityProviderParms })); } function fetchOidcConfigurationUsingPost({ oidcConfigurationParms }, opts) { return oazapfts.fetchJson("/api/web/v1/identityproviders/oidc/configuration", oazapfts.json({ ...opts, method: "POST", body: oidcConfigurationParms })); } function getOidcIdentityProviderUsingGet({ id }, opts) { return oazapfts.fetchJson(`/api/web/v1/identityproviders/oidc/${encodeURIComponent(id)}`, { ...opts }); } function updateOidcIdentityProviderUsingPut({ id, oidcIdentityProviderParms }, opts) { return oazapfts.fetchJson(`/api/web/v1/identityproviders/oidc/${encodeURIComponent(id)}`, oazapfts.json({ ...opts, method: "PUT", body: oidcIdentityProviderParms })); } function deleteOidcIdentityProviderUsingDelete({ id }, opts) { return oazapfts.fetchJson(`/api/web/v1/identityproviders/oidc/${encodeURIComponent(id)}`, { ...opts, method: "DELETE" }); } function listSamlIdentityProvidersUsingGet(opts) { return oazapfts.fetchJson("/api/web/v1/identityproviders/saml", { ...opts }); } function createSamlIdentityProviderUsingPost({ samlIdentityProviderParms }, opts) { return oazapfts.fetchJson("/api/web/v1/identityproviders/saml", oazapfts.json({ ...opts, method: "POST", body: samlIdentityProviderParms })); } function fetchSamlConfigurationUsingPost({ samlConfigurationParms }, opts) { return oazapfts.fetchJson("/api/web/v1/identityproviders/saml/configuration", oazapfts.json({ ...opts, method: "POST", body: samlConfigurationParms })); } function getSamlIdentityProviderUsingGet({ id }, opts) { return oazapfts.fetchJson(`/api/web/v1/identityproviders/saml/${encodeURIComponent(id)}`, { ...opts }); } function updateSamlIdentityProviderUsingPut({ id, samlIdentityProviderParms }, opts) { return oazapfts.fetchJson(`/api/web/v1/identityproviders/saml/${encodeURIComponent(id)}`, oazapfts.json({ ...opts, method: "PUT", body: samlIdentityProviderParms })); } function deleteSamlIdentityProviderUsingDelete({ id }, opts) { return oazapfts.fetchJson(`/api/web/v1/identityproviders/saml/${encodeURIComponent(id)}`, { ...opts, method: "DELETE" }); } function getSamlConfigurationUsingGet({ id }, opts) { return oazapfts.fetchJson(`/api/web/v1/identityproviders/saml/${encodeURIComponent(id)}/configuration`, { ...opts }); } function ipLocationFromIpAddressUsingPost({ ipLocation }, opts) { return oazapfts.fetchJson("/api/web/v1/iplocations", oazapfts.json({ ...opts, method: "POST", body: ipLocation })); } function listOAuthRolesUsingGet(opts) { return oazapfts.fetchJson("/api/web/v1/oauthroles", { ...opts }); } function createOrganizationUsingPost({ organizationParms }, opts) { return oazapfts.fetchJson("/api/web/v1/organizations", oazapfts.json({ ...opts, method: "POST", body: organizationParms })); } function getOrganizationUsingGet({ id }, opts) { return oazapfts.fetchJson(`/api/web/v1/organizations/${encodeURIComponent(id)}`, { ...opts }); } function updateOrganizationUsingPut({ id, organizationParms }, opts) { return oazapfts.fetchJson(`/api/web/v1/organizations/${encodeURIComponent(id)}`, oazapfts.json({ ...opts, method: "PUT", body: organizationParms })); } function removeOrganizationUsingDelete({ id }, opts) { return oazapfts.fetchJson(`/api/web/v1/organizations/${encodeURIComponent(id)}`, { ...opts, method: "DELETE" }); } function createUserOrganizationAssociationUsingPost({ orgid, userid }, opts) { return oazapfts.fetchJson(`/api/web/v1/organizations/${encodeURIComponent(orgid)}/users/${encodeURIComponent(userid)}`, { ...opts, method: "POST" }); } function deleteUserOrganizationAssociationUsingDelete({ orgid, userid }, opts) { return oazapfts.fetchJson(`/api/web/v1/organizations/${encodeURIComponent(orgid)}/users/${encodeURIComponent(userid)}`, { ...opts, method: "DELETE" }); } function organizationsPagedUsingPost({ searchParms }, opts) { return oazapfts.fetchJson("/api/web/v1/organizationspaged", oazapfts.json({ ...opts, method: "POST", body: searchParms })); } function createOtpUsingPost({ otpCreateParms }, opts) { return oazapfts.fetchJson("/api/web/v1/otps", oazapfts.json({ ...opts, method: "POST", body: otpCreateParms })); } function listSiteRolesUsingGet(opts) { return oazapfts.fetchJson("/api/web/v1/roles", { ...opts }); } function getSiteRoleUsingGet({ id }, opts) { return oazapfts.fetchJson(`/api/web/v1/roles/${encodeURIComponent(id)}`, { ...opts }); } function listScDefnsUsingGet(opts) { return oazapfts.fetchJson("/api/web/v1/scdefns", { ...opts }); } function getScDefnByNameUsingPost({ scDefnGetParms }, opts) { return oazapfts.fetchJson("/api/web/v1/scdefns/name", oazapfts.json({ ...opts, method: "POST", body: scDefnGetParms })); } function listAllowedScDefnsUsingGet({ userId }, opts) { return oazapfts.fetchJson(`/api/web/v1/scdefns/users/${encodeURIComponent(userId)}`, { ...opts }); } function getScDefnUsingGet({ id }, opts) { return oazapfts.fetchJson(`/api/web/v1/scdefns/${encodeURIComponent(id)}`, { ...opts }); } function getSearchBaseUsingGet({ searchbaseid }, opts) { return oazapfts.fetchJson(`/api/web/v1/searchbases/${encodeURIComponent(searchbaseid)}`, { ...opts }); } function getEntrustStAuthenticatorSettingsUsingGet(opts) { return oazapfts.fetchJson("/api/web/v1/settings/entrustst", { ...opts }); } function updateEntrustStAuthenticatorSettingsUsingPut({ entrustStAuthenticatorSettings }, opts) { return oazapfts.fetchJson("/api/web/v1/settings/entrustst", oazapfts.json({ ...opts, method: "PUT", body: entrustStAuthenticatorSettings })); } function getFaceAccountSettingsUsingGet(opts) { return oazapfts.fetchJson("/api/web/v1/settings/face/account", { ...opts }); } function setFaceAccountSettingsUsingPut({ faceAccountSettings }, opts) { return oazapfts.fetchJson("/api/web/v1/settings/face/account", oazapfts.json({ ...opts, method: "PUT", body: faceAccountSettings })); } function getFidoSettingsUsingGet(opts) { return oazapfts.fetchJson("/api/web/v1/settings/fido", { ...opts }); } function updateFidoSettingsUsingPut({ fidoAuthenticatorSettingsParms }, opts) { return oazapfts.fetchJson("/api/web/v1/settings/fido", oazapfts.json({ ...opts, method: "PUT", body: fidoAuthenticatorSettingsParms })); } function fetchAndroidAssociationFileUsingPost({ fidoAssociationFileRequest }, opts) { return oazapfts.fetchJson("/api/web/v1/settings/fido/configuration/android", oazapfts.json({ ...opts, method: "POST", body: fidoAssociationFileRequest })); } function fetchAppleAssociationFileUsingPost({ fidoAssociationFileRequest }, opts) { return oazapfts.fetchJson("/api/web/v1/settings/fido/configuration/ios", oazapfts.json({ ...opts, method: "POST", body: fidoAssociationFileRequest })); } function getGeneralSettingsUsingGet(opts) { return oazapfts.fetchJson("/api/web/v1/settings/general", { ...opts }); } function updateGeneralSettingsUsingPut({ generalSettings }, opts) { return oazapfts.fetchJson("/api/web/v1/settings/general", oazapfts.json({ ...opts, method: "PUT", body: generalSettings })); } function getGoogleAuthenticatorSettingsUsingGet(opts) { return oazapfts.fetchJson("/api/web/v1/settings/google", { ...opts }); } function updateGoogleAuthenticatorSettingsUsingPut({ googleAuthenticatorSettings }, opts) { return oazapfts.fetchJson("/api/web/v1/settings/google", oazapfts.json({ ...opts, method: "PUT", body: googleAuthenticatorSettings })); } function getPasswordResetSettingsUsingGet(opts) { return oazapfts.fetchJson("/api/web/v1/settings/passwordreset", { ...opts }); } function updatePasswordResetSettingsUsingPut({ passwordResetSettings }, opts) { return oazapfts.fetchJson("/api/web/v1/settings/passwordreset", oazapfts.json({ ...opts, method: "PUT", body: passwordResetSettings })); } function createSmartCredentialUsingPost({ smartCredentialParms }, opts) { return oazapfts.fetchJson("/api/web/v1/smartcredentials", oazapfts.json({ ...opts, method: "POST", body: smartCredentialParms })); } function exportCertificateUsingGet({ id, format }, opts) { return oazapfts.fetchJson(`/api/web/v1/smartcredentials/certificate/${encodeURIComponent(id)}/export/${encodeURIComponent(format)}`, { ...opts }); } function holdCertificateUsingPut({ id }, opts) { return oazapfts.fetchJson(`/api/web/v1/smartcredentials/certificate/${encodeURIComponent(id)}/hold`, { ...opts, method: "PUT" }); } function revokeCertificateUsingPut({ id }, opts) { return oazapfts.fetchJson(`/api/web/v1/smartcredentials/certificate/${encodeURIComponent(id)}/revoke`, { ...opts, method: "PUT" }); } function unholdCertificateUsingPut({ id }, opts) { return oazapfts.fetchJson(`/api/web/v1/smartcredentials/certificate/${encodeURIComponent(id)}/unhold`, { ...opts, method: "PUT" }); } function getSmartCredentialBySerialNumberUsingGet({ sernum }, opts) { return oazapfts.fetchJson(`/api/web/v1/smartcredentials/serialnumber/${encodeURIComponent(sernum)}`, { ...opts }); } function getSmartCredentialUsingGet({ id, revocationInfo }, opts) { return oazapfts.fetchJson(`/api/web/v1/smartcredentials/${encodeURIComponent(id)}${QS.query(QS.explode({ revocationInfo }))}`, { ...opts }); } function updateSmartCredentialUsingPut({ id, smartCredentialParms }, opts) { return oazapfts.fetchJson(`/api/web/v1/smartcredentials/${encodeURIComponent(id)}`, oazapfts.json({ ...opts, method: "PUT", body: smartCredentialParms })); } function deleteSmartCredentialUsingDelete({ id }, opts) { return oazapfts.fetchJson(`/api/web/v1/smartcredentials/${encodeURIComponent(id)}`, { ...opts, method: "DELETE" }); } function activateSmartCredentialUsingPut({ id, activateSmartCredentialParms }, opts) { return oazapfts.fetchJson(`/api/web/v1/smartcredentials/${encodeURIComponent(id)}/activate`, oazapfts.json({ ...opts, method: "PUT", body: activateSmartCredentialParms })); } function changeSmartCredentialStateUsingPut({ id, smartCredentialChangeStateParms }, opts) { return oazapfts.fetchJson(`/api/web/v1/smartcredentials/${encodeURIComponent(id)}/changestate`, oazapfts.json({ ...opts, method: "PUT", body: smartCredentialChangeStateParms })); } function completeSignSmartCredentialUsingPut({ id, smartCredentialCompleteSignParms }, opts) { return oazapfts.fetchJson(`/api/web/v1/smartcredentials/${encodeURIComponent(id)}/completesign`, oazapfts.json({ ...opts, method: "PUT", body: smartCredentialCompleteSignParms })); } function startSignSmartCredentialUsingPut({ id, smartCredentialStartSignParms }, opts) { return oazapfts.fetchJson(`/api/web/v1/smartcredentials/${encodeURIComponent(id)}/startsign`, oazapfts.json({ ...opts, method: "PUT", body: smartCredentialStartSignParms })); } function unassignSmartCredentialUsingPut({ id }, opts) { return oazapfts.fetchJson(`/api/web/v1/smartcredentials/${encodeURIComponent(id)}/unassign`, { ...opts, method: "PUT" }); } function unblockSmartCredentialUsingPut({ id, smartCredentialUnblockParms }, opts) { return oazapfts.fetchJson(`/api/web/v1/smartcredentials/${encodeURIComponent(id)}/unblock`, oazapfts.json({ ...opts, method: "PUT", body: smartCredentialUnblockParms })); } function syncUserUsingPost({ syncUserParms }, opts) { return oazapfts.fetchJson("/api/web/v1/syncusers/sync", oazapfts.json({ ...opts, method: "POST", body: syncUserParms })); } function unsyncUserUsingPost({ unsyncUserParms }, opts) { return oazapfts.fetchJson("/api/web/v1/syncusers/unsync", oazapfts.json({ ...opts, method: "POST", body: unsyncUserParms })); } function getSpIdentityProviderUsingGet({ id }, opts) { return oazapfts.fetchJson(`/api/web/v1/tenants/${encodeURIComponent(id)}/spidentityprovider`, { ...opts }); } function setSpIdentityProviderUsingPut({ id, spIdentityProviderParms }, opts) { return oazapfts.fetchJson(`/api/web/v1/tenants/${encodeURIComponent(id)}/spidentityprovider`, oazapfts.json({ ...opts, method: "PUT", body: spIdentityProviderParms })); } function getTokenBySerialNumberUsingGet({ sernum }, opts) { return oazapfts.fetchJson(`/api/web/v1/tokens/sernum/${encodeURIComponent(sernum)}`, { ...opts }); } function getTokenUsingGet({ tokenid }, opts) { return oazapfts.fetchJson(`/api/web/v1/tokens/${encodeURIComponent(tokenid)}`, { ...opts }); } function modifyTokenUsingPut({ tokenid, tokenParms }, opts) { return oazapfts.fetchJson(`/api/web/v1/tokens/${encodeURIComponent(tokenid)}`, oazapfts.json({ ...opts, method: "PUT", body: tokenParms })); } function deleteTokenUsingDelete({ tokenid }, opts) { return oazapfts.fetchJson(`/api/web/v1/tokens/${encodeURIComponent(tokenid)}`, { ...opts, method: "DELETE" }); } function completeActivateTokenUsingPut({ tokenid, activateCompleteParms }, opts) { return oazapfts.fetchJson(`/api/web/v1/tokens/${encodeURIComponent(tokenid)}/activation`, oazapfts.json({ ...opts, method: "PUT", body: activateCompleteParms })); } function startActivateTokenUsingPost({ tokenid, activateParms }, opts) { return oazapfts.fetchJson(`/api/web/v1/tokens/${encodeURIComponent(tokenid)}/activation`, oazapfts.json({ ...opts, method: "POST", body: activateParms })); } function assignTokenByIdUsingPut({ tokenid, assignParms }, opts) { return oazapfts.fetchJson(`/api/web/v1/tokens/${encodeURIComponent(tokenid)}/assign`, oazapfts.json({ ...opts, method: "PUT", body: assignParms })); } function modifyAssignedTokenUsingPut({ tokenid, assignedTokenParms }, opts) { return oazapfts.fetchJson(`/api/web/v1/tokens/${encodeURIComponent(tokenid)}/assigned`, oazapfts.json({ ...opts, method: "PUT", body: assignedTokenParms })); } function changeTokenStateUsingPut({ tokenid, changeStateParms }, opts) { return oazapfts.fetchJson(`/api/web/v1/tokens/${encodeURIComponent(tokenid)}/changestate`, oazapfts.json({ ...opts, method: "PUT", body: changeStateParms })); } function resetTokenUsingPut({ tokenid, resetParms }, opts) { return oazapfts.fetchJson(`/api/web/v1/tokens/${encodeURIComponent(tokenid)}/reset`, oazapfts.json({ ...opts, method: "PUT", body: resetParms })); } function unassignTokenUsingPut({ tokenid }, opts) { return oazapfts.fetchJson(`/api/web/v1/tokens/${encodeURIComponent(tokenid)}/unassign`, { ...opts, method: "PUT" }); } function unlockTokenUsingPut({ tokenid, unlockParms }, opts) { return oazapfts.fetchJson(`/api/web/v1/tokens/${encodeURIComponent(tokenid)}/unlock`, oazapfts.json({ ...opts, method: "PUT", body: unlockParms })); } function assignedTokenPageUsingPost({ searchParms }, opts) { return oazapfts.fetchJson("/api/web/v1/tokenspaged/assigned", oazapfts.json({ ...opts, method: "POST", body: searchParms })); } function unassignedTokenPageUsingPost({ searchParms }, opts) { return oazapfts.fetchJson("/api/web/v1/tokenspaged/unassigned", oazapfts.json({ ...opts, method: "POST", body: searchParms })); } function getTransactionRulesUsingGet(opts) { return oazapfts.fetchJson("/api/web/v1/transactionrules", { ...opts }); } function listUserAttributesUsingGet(opts) { return oazapfts.fetchJson("/api/web/v1/userattributes", { ...opts }); } function createUserAttributeUsingPost({ userAttributeParms }, opts) { return oazapfts.fetchJson("/api/web/v1/userattributes", oazapfts.json({ ...opts, method: "POST", body: userAttributeParms })); } function getUserAttributeUsingGet({ id }, opts) { return oazapfts.fetchJson(`/api/web/v1/userattributes/${encodeURIComponent(id)}`, { ...opts }); } function modifyUserAttributeUsingPut({ id, userAttributeParms }, opts) { return oazapfts.fetchJson(`/api/web/v1/userattributes/${encodeURIComponent(id)}`, oazapfts.json({ ...opts, method: "PUT", body: userAttributeParms })); } function deleteUserAttributeUsingDelete({ id }, opts) { return oazapfts.fetchJson(`/api/web/v1/userattributes/${encodeURIComponent(id)}`, { ...opts, method: "DELETE" }); } function modifyUserAuthorizationGroupAssociationsUsingPut({ userid, body }, opts) { return oazapfts.fetchJson(`/api/web/v1/userauthorizationgroup/${encodeURIComponent(userid)}/groups`, oazapfts.json({ ...opts, method: "PUT", body })); } function modifyUserOAuthRoleAssociationsUsingPut({ userid, body }, opts) { return oazapfts.fetchJson(`/api/web/v1/useroauthrole/${encodeURIComponent(userid)}/oauthroles`, oazapfts.json({ ...opts, method: "PUT", body })); } function getKbaQuestionsUsingGet({ locale }, opts) { return oazapfts.fetchJson(`/api/web/v1/users/userquestions/${encodeURIComponent(locale)}`, { ...opts }); } function assignGridBySerialNumberUsingPut({ id, gridAssignParms }, opts) { return oazapfts.fetchJson(`/api/web/v1/users/${encodeURIComponent(id)}/grids/assign`, oazapfts.json({ ...opts, method: "PUT", body: gridAssignParms })); } function updateUserStateUsingPut({ id, userChangeStateParms }, opts) { return oazapfts.fetchJson(`/api/web/v1/users/${encodeURIComponent(id)}/state`, oazapfts.json({ ...opts, method: "PUT", body: userChangeStateParms })); } function assignTokenBySerialNumberUsingPut({ id, assignParms }, opts) { return oazapfts.fetchJson(`/api/web/v1/users/${encodeURIComponent(id)}/tokens/assign`, oazapfts.json({ ...opts, method: "PUT", body: assignParms })); } function unlockUserUsingPut({ id }, opts) { return oazapfts.fetchJson(`/api/web/v1/users/${encodeURIComponent(id)}/unlock`, { ...opts, method: "PUT" }); } function listUserExpectedLocationsUsingGet({ userid }, opts) { return oazapfts.fetchJson(`/api/web/v1/users/${encodeURIComponent(userid)}/expectedlocations`, { ...opts }); } function setUserExpectedLocationsUsingPut({ userid, body }, opts) { return oazapfts.fetchJson(`/api/web/v1/users/${encodeURIComponent(userid)}/expectedlocations`, oazapfts.json({ ...opts, method: "PUT", body })); } function updateFaceUsingPut({ userid, faceUpdateParms }, opts) { return oazapfts.fetchJson(`/api/web/v1/users/${encodeURIComponent(userid)}/face`, oazapfts.json({ ...opts, method: "PUT", body: faceUpdateParms })); } function createFaceUsingPost({ userid, faceCreateParms }, opts) { return oazapfts.fetchJson(`/api/web/v1/users/${encodeURIComponent(userid)}/face`, oazapfts.json({ ...opts, method: "POST", body: faceCreateParms })); } function getFacesUsingGet({ userid }, opts) { return oazapfts.fetchJson(`/api/web/v1/users/${encodeURIComponent(userid)}/faces`, { ...opts }); } function deleteUserKbaChallengesUsingDelete({ userid }, opts) { return oazapfts.fetchJson(`/api/web/v1/users/${encodeURIComponent(userid)}/kbachallenges`, { ...opts, method: "DELETE" }); } function getUserNamedPasswordsUsingGet({ userid }, opts) { return oazapfts.fetchJson(`/api/web/v1/users/${encodeURIComponent(userid)}/list/passwords`, { ...opts }); } function listMachineAuthenticatorsUsingGet({ userid }, opts) { return oazapfts.fetchJson(`/api/web/v1/users/${encodeURIComponent(userid)}/machines`, { ...opts }); } function createMachineAuthenticatorUsingPost({ userid, machineAuthenticatorRegistration }, opts) { return oazapfts.fetchJson(`/api/web/v1/users/${encodeURIComponent(userid)}/machines`, oazapfts.json({ ...opts, method: "POST", body: machineAuthenticatorRegistration })); } function deleteMachineAuthenticatorUsingDelete({ userid, id }, opts) { return oazapfts.fetchJson(`/api/web/v1/users/${encodeURIComponent(userid)}/machines/${encodeURIComponent(id)}`, { ...opts, method: "DELETE" }); } function getMagicLinkUsingGet({ userid }, opts) { return oazapfts.fetchJson(`/api/web/v1/users/${encodeURIComponent(userid)}/magiclink`, { ...opts }); } function createMagicLinkUsingPut({ userid, magicLinkCreateParms }, opts) { return oazapfts.fetchJson(`/api/web/v1/users/${encodeURIComponent(userid)}/magiclink`, oazapfts.json({ ...opts, method: "PUT", body: magicLinkCreateParms })); } function deleteMagicLinkUsingDelete({ userid }, opts) { return oazapfts.fetchJson(`/api/web/v1/users/${encodeURIComponent(userid)}/magiclink`, { ...opts, method: "DELETE" }); } function modifyUserAOrganizationAssociationsUsingPut({ userid, userOrganizationParms }, opts) { return oazapfts.fetchJson(`/api/web/v1/users/${encodeURIComponent(userid)}/organizations`, oazapfts.json({ ...opts, method: "PUT", body: userOrganizationParms })); } function sendPasswordExpiryNotificationUsingPut({ userid }, opts) { return oazapfts.fetchJson(`/api/web/v1/users/${encodeURIComponent(userid)}/password/notify`, { ...opts, method: "PUT" }); } function validateUserPasswordUsingPost({ userid, userPasswordValidationParms }, opts) { return oazapfts.fetchJson(`/api/web/v1/users/${encodeURIComponent(userid)}/password/validate`, oazapfts.json({ ...opts, method: "POST", body: userPasswordValidationParms })); } function sendUserNamedPasswordExpiryNotificationUsingPut({ userid, namedpasswordid }, opts) { return oazapfts.fetchJson(`/api/web/v1/users/${encodeURIComponent(userid)}/password/${encodeURIComponent(namedpasswordid)}/notify`, { ...opts, method: "PUT" }); } function getUserPasswordUsingGet({ userid }, opts) { return oazapfts.fetchJson(`/api/web/v1/users/${encodeURIComponent(userid)}/passwords`, { ...opts }); } function setUserPasswordUsingPut({ userid, userPasswordParms }, opts) { return oazapfts.fetchJson(`/api/web/v1/users/${encodeURIComponent(userid)}/passwords`, oazapfts.json({ ...opts, method: "PUT", body: userPasswordParms })); } function deleteUserPasswordUsingDelete({ userid }, opts) { return oazapfts.fetchJson(`/api/web/v1/users/${encodeURIComponent(userid)}/passwords`, { ...opts, method: "DELETE" }); } function deleteUserNamedPasswordUsingDelete({ userid, namedpasswordid }, opts) { return oazapfts.fetchJson(`/api/web/v1/users/${encodeURIComponent(userid)}/passwords/${encodeURIComponent(namedpasswordid)}`, { ...opts, method: "DELETE" }); } function getUserRolesUsingGet({ userid }, opts) { return oazapfts.fetchJson(`/api/web/v1/users/${encodeURIComponent(userid)}/roles`, { ...opts }); } function getUserSiteRoleAssociationUsingGet({ userid, roleid }, opts) { return oazapfts.fetchJson(`/api/web/v1/users/${encodeURIComponent(userid)}/roles/${encodeURIComponent(roleid)}`, { ...opts }); } function modifyUserSiteRoleAssociationUsingPut({ userid, roleid }, opts) { return oazapfts.fetchJson(`/api/web/v1/users/${encodeURIComponent(userid)}/roles/${encodeURIComponent(roleid)}`, { ...opts, method: "PUT" }); } function deleteUserSiteRoleAssociationUsingDelete({ userid, roleid }, opts) { return oazapfts.fetchJson(`/api/web/v1/users/${encodeURIComponent(userid)}/roles/${encodeURIComponent(roleid)}`, { ...opts, method: "DELETE" }); } function getUserFaceSettingsUsingGet({ userid }, opts) { return oazapfts.fetchJson(`/api/web/v1/users/${encodeURIComponent(userid)}/settings/face`, { ...opts }); } function getUserPasswordSettingsUsingGet({ userid }, opts) { return oazapfts.fetchJson(`/api/web/v1/users/${encodeURIComponent(userid)}/settings/password`, { ...opts }); } function getUserNamedPasswordSettingsUsingGet({ userid, namedpasswordid }, opts) { return oazapfts.fetchJson(`/api/web/v1/users/${encodeURIComponent(userid)}/settings/password/${encodeURIComponent(namedpasswordid)}`, { ...opts }); } function getTempAccessCodeUsingGet({ userid }, opts) { return oazapfts.fetchJson(`/api/web/v1/users/${encodeURIComponent(userid)}/tempaccesscode`, { ...opts }); } function createTempAccessCodeUsingPost({ userid }, opts) { return oazapfts.fetchJson(`/api/web/v1/users/${encodeURIComponent(userid)}/tempaccesscode`, { ...opts, method: "POST" }); } function deleteTempAccessCodeUsingDelete({ userid }, opts) { return oazapfts.fetchJson(`/api/web/v1/users/${encodeURIComponent(userid)}/tempaccesscode`, { ...opts, method: "DELETE" }); } function createTokenUsingPost({ userid, $type, tokenCreateParms }, opts) { return oazapfts.fetchJson(`/api/web/v1/users/${encodeURIComponent(userid)}/tokens/${encodeURIComponent($type)}`, oazapfts.json({ ...opts, method: "POST", body: tokenCreateParms })); } function listUserLocationsUsingGet({ userid }, opts) { return oazapfts.fetchJson(`/api/web/v1/users/${encodeURIComponent(userid)}/userlocations`, { ...opts }); } function deleteUserLocationsUsingDelete({ userid, body }, opts) { return oazapfts.fetchJson(`/api/web/v1/users/${encodeURIComponent(userid)}/userlocations`, oazapfts.json({ ...opts, method: "DELETE", body })); } function getUserKbaUsingGet({ userid }, opts) { return oazapfts.fetchJson(`/api/web/v1/users/${encodeURIComponent(userid)}/userquestions`, { ...opts }); } function updateKnowledgeBasedAuthenticatorUsingPut({ userid, knowledgeBasedAuthenticator }, opts) { return oazapfts.fetchJson(`/api/web/v1/users/${encodeURIComponent(userid)}/userquestions`, oazapfts.json({ ...opts, method: "PUT", body: knowledgeBasedAuthenticator })); } function addKnowledgeBasedAuthenticatorUsingPost({ userid, knowledgeBasedAuthenticator }, opts) { return oazapfts.fetchJson(`/api/web/v1/users/${encodeURIComponent(userid)}/userquestions`, oazapfts.json({ ...opts, method: "POST", body: knowledgeBasedAuthenticator })); } function deleteUserKbaUsingDelete({ userid }, opts) { return oazapfts.fetchJson(`/api/web/v1/users/${encodeURIComponent(userid)}/userquestions`, { ...opts, method: "DELETE" }); } function deleteUserKbaQuestionUsingDelete({ userid, id }, opts) { return oazapfts.fetchJson(`/api/web/v1/users/${encodeURIComponent(userid)}/userquestions/${encodeURIComponent(id)}`, { ...opts, method: "DELETE" }); } function getUserRbaSettingsUsingGet({ userid }, opts) { return oazapfts.fetchJson(`/api/web/v1/users/${encodeURIComponent(userid)}/userrbasettings`, { ...opts }); } function updateUserRbaSettingsUsingPut({ userid, userRbaSettings }, opts) { return oazapfts.fetchJson(`/api/web/v1/users/${encodeURIComponent(userid)}/userrbasettings`, oazapfts.json({ ...opts, method: "PUT", body: userRbaSettings })); } function getWebhooksUsingGet(opts) { return oazapfts.fetchJson("/api/web/v1/webhooks", { ...opts }); } function createWebhookUsingPost({ webhookParms }, opts) { return oazapfts.fetchJson("/api/web/v1/webhooks", oazapfts.json({ ...opts, method: "POST", body: webhookParms })); } function testWebhookUsingPost({ id, webhookTestParms }, opts) { return oazapfts.fetchJson(`/api/web/v1/webhooks/test/${encodeURIComponent(id)}`, oazapfts.json({ ...opts, method: "POST", body: webhookTestParms })); } function readWebhookUsingGet({ id }, opts) { return oazapfts.fetchJson(`/api/web/v1/webhooks/${encodeURIComponent(id)}`, { ...opts }); } function updateWebhookUsingPut({ id, webhookParms }, opts) { return oazapfts.fetchJson(`/api/web/v1/webhooks/${encodeURIComponent(id)}`, oazapfts.json({ ...opts, method: "PUT", body: webhookParms })); } function deleteWebhookUsingDelete({ id }, opts) { return oazapfts.fetchJson(`/api/web/v1/webhooks/${encodeURIComponent(id)}`, { ...opts, method: "DELETE" }); } function assignedGridsPageAsyncUsingPost({ searchParms }, opts) { return oazapfts.fetchJson("/api/web/v2/async/gridspaged/assigned", oazapfts.json({ ...opts, method: "POST", body: searchParms })); } function unassignedGridsPageAsyncUsingPost({ searchParms }, opts) { return oazapfts.fetchJson("/api/web/v2/async/gridspaged/unassigned", oazapfts.json({ ...opts, method: "POST", body: searchParms })); } function assignedGridsPageAsyncResultUsingGet({ id }, opts) { return oazapfts.fetchJson(`/api/web/v2/async/gridspaged/${encodeURIComponent(id)}/assigned/result`, { ...opts }); } function assignedGridsPageAsyncStatusUsingGet({ id }, opts) { return oazapfts.fetchJson(`/api/web/v2/async/gridspaged/${encodeURIComponent(id)}/assigned/status`, { ...opts }); } function unassignedGridsPageAsyncResultUsingGet({ id }, opts) { return oazapfts.fetchJson(`/api/web/v2/async/gridspaged/${encodeURIComponent(id)}/unassigned/result`, { ...opts }); } function unassignedGridsPageAsyncStatusUsingGet({ id }, opts) { return oazapfts.fetchJson(`/api/web/v2/async/gridspaged/${encodeURIComponent(id)}/unassigned/status`, { ...opts }); } function getAuthenticationFlowsUsingGet(opts) { return oazapfts.fetchJson("/api/web/v2/authenticationflows", { ...opts }); } function createAuthenticationFlowUsingPost({ authenticationFlowParms }, opts) { return oazapfts.fetchJson("/api/web/v2/authenticationflows", oazapfts.json({ ...opts, method: "POST", body: authenticationFlowParms })); } function getAuthenticationFlowUsingGet({ id }, opts) { return oazapfts.fetchJson(`/api/web/v2/authenticationflows/${encodeURIComponent(id)}`, { ...opts }); } function updateAuthenticationFlowUsingPut({ id, authenticationFlowParms }, opts) { return oazapfts.fetchJson(`/api/web/v2/authenticationflows/${encodeURIComponent(id)}`, oazapfts.json({ ...opts, method: "PUT", body: authenticationFlowParms })); } function removeAuthenticationFlowUsingDelete({ id }, opts) { return oazapfts.fetchJson(`/api/web/v2/authenticationflows/${encodeURIComponent(id)}`, { ...opts, method: "DELETE" }); } function getGridBySerialNumberUsingGet({ sernum }, opts) { return oazapfts.fetchJson(`/api/web/v2/grids/sernum/${encodeURIComponent(sernum)}`, { ...opts }); } function getGridUsingGet({ gridid }, opts) { return oazapfts.fetchJson(`/api/web/v2/grids/${encodeURIComponent(gridid)}`, { ...opts }); } function modifyUnassignedGridUsingPut({ gridid, gridParms }, opts) { return oazapfts.fetchJson(`/api/web/v2/grids/${encodeURIComponent(gridid)}`, oazapfts.json({ ...opts, method: "PUT", body: gridParms })); } function deleteGridUsingDelete({ gridid }, opts) { return oazapfts.fetchJson(`/api/web/v2/grids/${encodeURIComponent(gridid)}`, { ...opts, method: "DELETE" }); } function changeGridStateUsingPut({ gridid, gridChangeStateParms }, opts) { return oazapfts.fetchJson(`/api/web/v2/grids/${encodeURIComponent(gridid)}/changestate`, oazapfts.json({ ...opts, method: "PUT", body: gridChangeStateParms })); } function assignedGridsPageUsingPost({ searchParms }, opts) { return oazapfts.fetchJson("/api/web/v2/gridspaged/assigned", oazapfts.json({ ...opts, method: "POST", body: searchParms })); } function auditEventPageUsingPost({ searchParms }, opts) { return oazapfts.fetchJson("/api/web/v2/reports/auditeventspaged", oazapfts.json({ ...opts, method: "POST", body: searchParms })); } function siemAuditEventPageUsingPost({ searchParms }, opts) { return oazapfts.fetchJson("/api/web/v2/reports/auditeventspaged/siem", oazapfts.json({ ...opts, method: "POST", body: searchParms })); } function getResourceRulesUsingGet(opts) { return oazapfts.fetchJson("/api/web/v2/resourcerules", { ...opts }); } function createResourceRuleUsingPost({ resourceRuleParms }, opts) { return oazapfts.fetchJson("/api/web/v2/resourcerules", oazapfts.json({ ...opts, method: "POST", body: resourceRuleParms })); } function getResourceRulesForResourceUsingGet({ id }, opts) { return oazapfts.fetchJson(`/api/web/v2/resourcerules/resource/${encodeURIComponent(id)}`, { ...opts }); } function getResourceRuleUsingGet({ id }, opts) { return oazapfts.fetchJson(`/api/web/v2/resourcerules/${encodeURIComponent(id)}`, { ...opts }); } function updateResourceRuleUsingPut({ id, resourceRuleParms }, opts) { return oazapfts.fetchJson(`/api/web/v2/resourcerules/${encodeURIComponent(id)}`, oazapfts.json({ ...opts, method: "PUT", body: resourceRuleParms })); } function removeResourceRuleUsingDelete({ id }, opts) { return oazapfts.fetchJson(`/api/web/v2/resourcerules/${encodeURIComponent(id)}`, { ...opts, method: "DELETE" }); } function createFaceAuthenticatorUsingPost({ userid, faceCreateParms }, opts) { return oazapfts.fetchJson(`/api/web/v2/users/${encodeURIComponent(userid)}/face`, oazapfts.json({ ...opts, method: "POST", body: faceCreateParms })); } function createGridUsingPost({ userid, gridCreateParms }, opts) { return oazapfts.fetchJson(`/api/web/v2/users/${encodeURIComponent(userid)}/grids`, oazapfts.json({ ...opts, method: "POST", body: gridCreateParms })); } function getOtpAuthenticatorSettingsUsingGet(opts) { return oazapfts.fetchJson("/api/web/v3/settings/otp", { ...opts }); } function updateOtpAuthenticatorSettingsUsingPut({ otpAuthenticatorSettings }, opts) { return oazapfts.fetchJson("/api/web/v3/settings/otp", oazapfts.json({ ...opts, method: "PUT", body: otpAuthenticatorSettings })); } function createUserUsingPost({ userParms }, opts) { return oazapfts.fetchJson("/api/web/v3/users", oazapfts.json({ ...opts, method: "POST", body: userParms })); } function userByExternalIdUsingPost({ userGetParms }, opts) { return oazapfts.fetchJson("/api/web/v3/users/externalid", oazapfts.json({ ...opts, method: "POST", body: userGetParms })); } function updateUsersUsingPut({ updateUsersParms }, opts) { return oazapfts.fetchJson("/api/web/v3/users/multiple", oazapfts.json({ ...opts, method: "PUT", body: updateUsersParms })); } function createUsersUsingPost({ createUsersParms }, opts) { return oazapfts.fetchJson("/api/web/v3/users/multiple", oazapfts.json({ ...opts, method: "POST", body: createUsersParms })); } function deleteUsersUsingDelete({ deleteUsersParms }, opts) { return oazapfts.fetchJson("/api/web/v3/users/multiple", oazapfts.json({ ...opts, method: "DELETE", body: deleteUsersParms })); } function userByUseridUsingPost({ userGetParms }, opts) { return oazapfts.fetchJson("/api/web/v3/users/userid", oazapfts.json({ ...opts, method: "POST", body: userGetParms })); } function userUsingGet({ id }, opts) { return oazapfts.fetchJson(`/api/web/v3/users/${encodeURIComponent(id)}`, { ...opts }); } function updateUserUsingPut({ id, userParms }, opts) { return oazapfts.fetchJson(`/api/web/v3/users/${encodeURIComponent(id)}`, oazapfts.json({ ...opts, method: "PUT", body: userParms })); } function deleteUserUsingDelete({ id }, opts) { return oazapfts.fetchJson(`/api/web/v3/users/${encodeURIComponent(id)}`, { ...opts, method: "DELETE" }); } function getCreateTenantAsyncResultUsingGet({ id }, opts) { return oazapfts.fetchJson(`/api/web/v4/async/tenants/${encodeURIComponent(id)}/createresult`, { ...opts }); } function getCreateTenantAsyncStatusUsingGet({ id }, opts) { return oazapfts.fetchJson(`/api/web/v4/async/tenants/${encodeURIComponent(id)}/createstatus`, { ...opts }); } function usersPagedAsyncUsingPost({ searchParms }, opts) { return oazapfts.fetchJson("/api/web/v4/async/userspaged", oazapfts.json({ ...opts, method: "POST", body: searchParms })); } function usersPagedAsyncResultUsingGet({ id }, opts) { return oazapfts.fetchJson(`/api/web/v4/async/userspaged/${encodeURIComponent(id)}/result`, { ...opts }); } function usersPagedAsyncStatusUsingGet({ id }, opts) { return oazapfts.fetchJson(`/api/web/v4/async/userspaged/${encodeURIComponent(id)}/status`, { ...opts }); } function getEntitlementUsageInfoUsingPost({ searchParms }, opts) { return oazapfts.fetchJson("/api/web/v4/tenants/entitlements/usage", oazapfts.json({ ...opts, method: "POST", body: searchParms })); } function getTenantUsingGet({ id }, opts) { return oazapfts.fetchJson(`/api/web/v4/tenants/${encodeURIComponent(id)}`, { ...opts }); } function removeTenantUsingDelete({ id }, opts) { return oazapfts.fetchJson(`/api/web/v4/tenants/${encodeURIComponent(id)}`, { ...opts, method: "DELETE" }); } function lockTenantUsingPut({ id }, opts) { return oazapfts.fetchJson(`/api/web/v4/tenants/${encodeURIComponent(id)}/lock`, { ...opts, method: "PUT" }); } function unlockTenantUsingPut({ id }, opts) { return oazapfts.fetchJson(`/api/web/v4/tenants/${encodeURIComponent(id)}/unlock`, { ...opts, method: "PUT" }); } function getTenantEntitlementsUsingGet({ tenantid }, opts) { return oazapfts.fetchJson(`/api/web/v4/tenants/${encodeURIComponent(tenantid)}/entitlements`, { ...opts }); } function setTenantEntitlementUsingPut({ tenantid, entitlementParms }, opts) { return oazapfts.fetchJson(`/api/web/v4/tenants/${encodeURIComponent(tenantid)}/entitlements`, oazapfts.json({ ...opts, method: "PUT", body: entitlementParms })); } function getTenantEntitlementUsingGet({ tenantid, $type }, opts) { return oazapfts.fetchJson(`/api/web/v4/tenants/${encodeURIComponent(tenantid)}/entitlements/${encodeURIComponent($type)}`, { ...opts }); } function deleteTenantEntitlementUsingDelete({ tenantid, $type },