@orbis-systems/orbis-api-clients 0.4.4 → 0.5.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/aesmidas/index.d.ts +110 -90
- package/dist/aesmidas/index.d.ts.map +1 -1
- package/dist/aesmidas/index.esm.js +2726 -1
- package/dist/aesmidas/index.esm.js.map +1 -1
- package/dist/aesmidas/index.js +2731 -1
- package/dist/aesmidas/index.js.map +1 -1
- package/dist/index.d.ts +9 -7
- package/dist/index.d.ts.map +1 -1
- package/dist/index.esm.js +253 -1
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +276 -1
- package/dist/index.js.map +1 -1
- package/dist/insight/index.d.ts +32 -7
- package/dist/insight/index.d.ts.map +1 -1
- package/dist/insight/index.esm.js +3421 -1
- package/dist/insight/index.esm.js.map +1 -1
- package/dist/insight/index.js +3426 -1
- package/dist/insight/index.js.map +1 -1
- package/dist/middleware/index.d.ts +9 -7
- package/dist/middleware/index.d.ts.map +1 -1
- package/dist/middleware/index.esm.js +1062 -1
- package/dist/middleware/index.esm.js.map +1 -1
- package/dist/middleware/index.js +1067 -1
- package/dist/middleware/index.js.map +1 -1
- package/dist/orbis/index.d.ts +500 -41
- package/dist/orbis/index.d.ts.map +1 -1
- package/dist/orbis/index.esm.js +6958 -1
- package/dist/orbis/index.esm.js.map +1 -1
- package/dist/orbis/index.js +6963 -1
- package/dist/orbis/index.js.map +1 -1
- package/dist/uma/index.d.ts +133 -14
- package/dist/uma/index.d.ts.map +1 -1
- package/dist/uma/index.esm.js +3861 -1
- package/dist/uma/index.esm.js.map +1 -1
- package/dist/uma/index.js +3866 -1
- package/dist/uma/index.js.map +1 -1
- package/package.json +137 -141
package/dist/uma/index.esm.js
CHANGED
|
@@ -1,2 +1,3862 @@
|
|
|
1
|
-
import e from"auto-bind";import{consola as t}from"consola";import{jwtDecode as s}from"jwt-decode";import r,{isAxiosError as n}from"axios";import a from"axios-better-stacktrace";import{isNil as o,merge as i}from"lodash";function u(e,t,s,r){Object.defineProperty(e,t,{get:s,set:r,enumerable:!0,configurable:!0})}function p(e,t){return Object.keys(t).forEach(function(s){"default"===s||"__esModule"===s||Object.prototype.hasOwnProperty.call(e,s)||Object.defineProperty(e,s,{enumerable:!0,get:function(){return t[s]}})}),e}u({},"UmaApi",()=>t3);class d{constructor(t){this.apiClient=t,e(this)}getApiClient(){return this.apiClient}}var c,l,h,m,T,y,b,f,C,E,$,g,v,U,P,S,q,A,w,D,O,k,J,x,j,B,L,R,_,F,I,G,M,N,V,H,z,W,K,Y,Q,X,Z,ee,et,es,er,en,ea,eo=((c={}).Json="application/json",c.FormData="multipart/form-data",c.UrlEncoded="application/x-www-form-urlencoded",c.Text="text/plain",c);class ei{constructor(t){this.config=t,e(this),this.storage=t.storage??sessionStorage,this.axiosInstance=r.create({baseURL:t.baseUrl,headers:{"Content-Type":"application/json",...t.defaultHeaders}}),a(this.axiosInstance)}stringifyFormItem(e){return"object"==typeof e&&null!==e?JSON.stringify(e):`${e}`}createFormData(e){return e instanceof FormData?e:Object.keys(e).reduce((t,s)=>{let r=e[s];for(let e of r instanceof Array?r:[r]){let r=e instanceof Blob||e instanceof File;t.append(s,r?e:this.stringifyFormItem(e))}return t},new FormData)}async request(e){let{contentType:t,data:s}=e;o(s)||("multipart/form-data"===t&&"object"==typeof s&&(e.data=this.createFormData(s)),"text/plain"===t&&"string"!=typeof s&&(e.data=JSON.stringify(s)));let r=i(e.secure??this.config.defaultSecure?this.prepareAuthRequestConfig():{},t?{headers:{"Content-Type":t}}:{},e);try{let{data:e,status:t,statusText:s}=await this.axiosInstance.request(r);return{success:!0,data:e,status:t,statusText:s}}catch(t){if(!this.config.errorHandling)throw t;let e={success:!1,status:-1,statusText:String(t),error:t};return n(t)&&(this.config.onAxiosError?.(t),e.data=t.response?.data,e.status=t.response?.status??e.status,e.statusText=t.response?.statusText??e.statusText),this.config.onError?.(t),e}}get(e,t){return this.request({...t,method:"GET",url:e})}delete(e,t){return this.request({...t,method:"DELETE",url:e})}head(e,t){return this.request({...t,method:"HEAD",url:e})}options(e,t){return this.request({...t,method:"OPTIONS",url:e})}post(e,t,s){return this.request({...s,method:"POST",url:e,data:t})}put(e,t,s){return this.request({...s,method:"PUT",url:e,data:t})}patch(e,t,s){return this.request({...s,method:"PATCH",url:e,data:t})}getAxios(){return this.axiosInstance}setAuthData(e){this.storage.setItem(this.config.authDataStorageKey||"auth",JSON.stringify(e))}getAuthData(){let e=this.storage.getItem(this.config.authDataStorageKey||"auth");return e?JSON.parse(e):null}getConfig(){return this.config}}class eu extends ei{constructor(e){super(e),this.config=e}getConfig(){return super.getConfig()}prepareAuthRequestConfig(){let{accessToken:e}=this.getAuthData()||{};return e?{headers:{Authorization:`${this.config.authSchema??"Bearer"} ${e}`}}:(t.warn("No access token found. Please set auth data after authorization."),{})}scheduleTokenRenewal(e){let r;this.cancelTokenRenewal();let n=this.getAuthData();try{r=s(n?.accessToken||"")}catch(e){t.error(e)}if(!r||!r.exp){t.warn("Could not schedule token renewal: invalid expiration time");return}let a=1e3*r.exp-Date.now(),o=async()=>{let t=await e();this.setAuthData(t),this.scheduleTokenRenewal(e)};this.tokenRenewalTimeout=setTimeout(async()=>{try{await o()}catch(e){t.error("Failed to renew token. Retry in 10s",e),setTimeout(o,1e4)}},a-6e4)}cancelTokenRenewal(){clearTimeout(this.tokenRenewalTimeout)}}var ep={},ed={};u(ed,"ActionLogs",()=>ec);class ec{constructor(t){this.apiClient=t,e(this)}getActionLogs(e,t){return this.apiClient.request({...t,url:"/v1/action-logs/list",method:"POST",data:e,secure:!0,contentType:eo.Json,responseType:"json"})}}var el={};u(el,"ApiKeys",()=>eh);class eh{constructor(t){this.apiClient=t,e(this)}deleteMany(e,t){return this.apiClient.request({...t,url:"/v1/b2b/api-keys",method:"DELETE",data:e,secure:!0,contentType:eo.Json})}getById(e,t){return this.apiClient.request({...t,url:`/v1/b2b/api-keys/${e}`,method:"GET",secure:!0,responseType:"json"})}create(e,t){return this.apiClient.request({...t,url:"/v2/b2b/api-keys",method:"POST",data:e,secure:!0,contentType:eo.Json,responseType:"json"})}get(e,t){return this.apiClient.request({...t,url:"/v2/b2b/api-keys/list",method:"POST",data:e,secure:!0,contentType:eo.Json,responseType:"json"})}update(e,t,s){return this.apiClient.request({...s,url:`/v2/b2b/api-keys/${e}`,method:"PUT",data:t,secure:!0,contentType:eo.Json,responseType:"json"})}}var em={};u(em,"AuthApps",()=>eT);class eT{constructor(t){this.apiClient=t,e(this)}get(e){return this.apiClient.request({...e,url:"/v1/auth-apps",method:"GET",secure:!0,responseType:"json"})}deleteMany(e,t){return this.apiClient.request({...t,url:"/v1/auth-apps",method:"DELETE",data:e,secure:!0,contentType:eo.Json})}getRegistrationQr(e,t){return this.apiClient.request({...t,url:"/v1/auth-apps/totp/registration/qr",method:"POST",data:e,secure:!0,contentType:eo.Json})}finishRegistration(e,t){return this.apiClient.request({...t,url:"/v1/auth-apps/totp/registration/response",method:"POST",data:e,secure:!0,contentType:eo.Json,responseType:"json"})}getLoginChallenge(e,t){return this.apiClient.request({...t,url:"/v1/auth-apps/webauthn/login/request",method:"POST",data:e,secure:!1,contentType:eo.Json,responseType:"json"})}getRegisterChallenge(e){return this.apiClient.request({...e,url:"/v1/auth-apps/webauthn/registration/request",method:"POST",secure:!0,responseType:"json"})}finishCredentialRegistration(e,t){return this.apiClient.request({...t,url:"/v1/auth-apps/webauthn/registration/response",method:"POST",data:e,secure:!0,contentType:eo.Json})}register(e,t){return this.apiClient.request({...t,url:"/v1/auth-apps/yubico/otp/registration",method:"POST",data:e,secure:!0,contentType:eo.Json})}update(e,t,s){return this.apiClient.request({...s,url:`/v1/auth-apps/${e}`,method:"PUT",data:t,secure:!0,contentType:eo.Json,responseType:"json"})}}var ey={};u(ey,"AuthForms",()=>eb);class eb{constructor(t){this.apiClient=t,e(this)}create(e,t){return this.apiClient.request({...t,url:"/v1/auth-forms",method:"POST",data:e,secure:!0,contentType:eo.Json,responseType:"json"})}deleteMany(e,t){return this.apiClient.request({...t,url:"/v1/auth-forms",method:"DELETE",data:e,secure:!0,contentType:eo.Json})}get(e,t){return this.apiClient.request({...t,url:"/v1/auth-forms/list",method:"POST",data:e,secure:!0,contentType:eo.Json,responseType:"json"})}getBySlug(e,t){return this.apiClient.request({...t,url:`/v1/auth-forms/public/${e}`,method:"GET",secure:!1,responseType:"json"})}getById(e,t){return this.apiClient.request({...t,url:`/v1/auth-forms/${e}`,method:"GET",secure:!0,responseType:"json"})}update(e,t,s){return this.apiClient.request({...s,url:`/v1/auth-forms/${e}`,method:"PUT",data:t,secure:!0,contentType:eo.Json,responseType:"json"})}}var ef={};u(ef,"B2BAuth",()=>eC);class eC{constructor(t){this.apiClient=t,e(this)}getCurrent(e){return this.apiClient.request({...e,url:"/v1/auth/b2b/current",method:"GET",secure:!0,responseType:"json"})}apiKeysLogin(e,t){return this.apiClient.request({...t,url:"/v1/auth/b2b/login/api-keys",method:"POST",data:e,secure:!1,contentType:eo.Json,responseType:"json"})}basicLogin(e,t,s){return this.apiClient.request({...s,url:"/v1/auth/b2b/login/basic",method:"POST",data:e,secure:!1,headers:t,contentType:eo.Json,responseType:"json"})}logout(e,t){return this.apiClient.request({...t,url:"/v1/auth/b2b/logout",method:"DELETE",data:e,secure:!1,contentType:eo.Json})}refreshTokens(e,t){return this.apiClient.request({...t,url:"/v1/auth/b2b/refresh",method:"POST",data:e,secure:!1,contentType:eo.Json,responseType:"json"})}resetPassword(e,t,s){return this.apiClient.request({...s,url:"/v1/auth/b2b/reset-password",method:"PUT",data:e,secure:!1,headers:t,contentType:eo.Json,responseType:"json"})}sendMfaCode(e,t){return this.apiClient.request({...t,url:"/v1/auth/b2b/send-mfa-code",method:"PUT",data:e,secure:!1,contentType:eo.Json})}sendResetPasswordCode(e,t){return this.apiClient.request({...t,url:"/v1/auth/b2b/send-reset-password-code",method:"PUT",data:e,secure:!1,contentType:eo.Json})}}var eE={};u(eE,"B2BUsers",()=>e$);class e${constructor(t){this.apiClient=t,e(this)}deleteMany(e,t){return this.apiClient.request({...t,url:"/v1/users/b2b",method:"DELETE",data:e,secure:!0,contentType:eo.Json})}getById(e,t){return this.apiClient.request({...t,url:`/v1/users/b2b/${e}`,method:"GET",secure:!0,responseType:"json"})}changeStatus(e,t,s){return this.apiClient.request({...s,url:`/v1/users/b2b/${e}/status`,method:"PATCH",data:t,secure:!0,contentType:eo.Json})}create(e,t){return this.apiClient.request({...t,url:"/v2/users/b2b",method:"POST",data:e,secure:!0,contentType:eo.Json,responseType:"json"})}get(e,t){return this.apiClient.request({...t,url:"/v2/users/b2b/list",method:"POST",data:e,secure:!0,contentType:eo.Json,responseType:"json"})}update(e,t,s){return this.apiClient.request({...s,url:`/v2/users/b2b/${e}`,method:"PUT",data:t,secure:!0,contentType:eo.Json,responseType:"json"})}}var eg={};u(eg,"B2BUserSettings",()=>ev);class ev{constructor(t){this.apiClient=t,e(this)}setUserSettings(e,t,s){return this.apiClient.request({...s,url:"/v1/b2b/settings",method:"PUT",data:e,secure:!0,headers:t,contentType:eo.Json,responseType:"json"})}uploadAvatar(e,t){return this.apiClient.request({...t,url:"/v1/b2b/settings/avatar",method:"PUT",data:e,secure:!0,contentType:eo.FormData})}sendContactChangeCode(e,t,s){return this.apiClient.request({...s,url:"/v1/b2b/settings/codes",method:"POST",data:e,secure:!0,headers:t,contentType:eo.Json})}}var eU={};u(eU,"B2CAuth",()=>eP);class eP{constructor(t){this.apiClient=t,e(this)}getCurrent(e){return this.apiClient.request({...e,url:"/v1/auth/b2c/current",method:"GET",secure:!0,responseType:"json"})}initAppleLogin(e,t,s){return this.apiClient.request({...s,url:"/v1/auth/b2c/login/apple",method:"POST",data:e,secure:!1,headers:t,responseType:"json"})}finishAppleLogin(e,t){return this.apiClient.request({...t,url:"/v1/auth/b2c/login/apple/callback",method:"POST",data:e,secure:!1,responseType:"json"})}basicLogin(e,t,s){return this.apiClient.request({...s,url:"/v1/auth/b2c/login/basic",method:"POST",data:e,secure:!1,headers:t,contentType:eo.Json,responseType:"json"})}initGoogleLogin(e,t,s){return this.apiClient.request({...s,url:"/v1/auth/b2c/login/google",method:"POST",data:e,secure:!1,headers:t,responseType:"json"})}finishGoogleLogin(e,t){return this.apiClient.request({...t,url:"/v1/auth/b2c/login/google/callback",method:"POST",data:e,secure:!1,responseType:"json"})}logout(e,t){return this.apiClient.request({...t,url:"/v1/auth/b2c/logout",method:"DELETE",data:e,secure:!1,contentType:eo.Json})}refreshTokens(e,t,s){return this.apiClient.request({...s,url:"/v1/auth/b2c/refresh",method:"POST",data:e,secure:!1,headers:t,contentType:eo.Json,responseType:"json"})}register(e,t,s){return this.apiClient.request({...s,url:"/v1/auth/b2c/register",method:"POST",data:e,secure:!1,headers:t,contentType:eo.Json,responseType:"json"})}resetPassword(e,t,s){return this.apiClient.request({...s,url:"/v1/auth/b2c/reset-password",method:"PUT",data:e,secure:!1,headers:t,contentType:eo.Json})}sendMfaCode(e,t,s){return this.apiClient.request({...s,url:"/v1/auth/b2c/send-mfa-code",method:"PUT",data:e,secure:!1,headers:t,contentType:eo.Json})}sendResetPasswordCode(e,t){return this.apiClient.request({...t,url:"/v1/auth/b2c/send-reset-password-code",method:"PUT",data:e,secure:!1,contentType:eo.Json})}sendVerificationCode(e,t,s){return this.apiClient.request({...s,url:"/v1/auth/b2c/send-verification-code",method:"PUT",data:e,secure:!1,headers:t,contentType:eo.Json})}verifyContact(e,t,s){return this.apiClient.request({...s,url:"/v1/auth/b2c/verify",method:"PUT",data:e,secure:!1,headers:t,contentType:eo.Json})}}var eS={};u(eS,"B2CUsers",()=>eq);class eq{constructor(t){this.apiClient=t,e(this)}create(e,t){return this.apiClient.request({...t,url:"/v1/users/b2c",method:"POST",data:e,secure:!0,contentType:eo.Json,responseType:"json"})}deleteMany(e,t){return this.apiClient.request({...t,url:"/v1/users/b2c",method:"DELETE",data:e,secure:!0,contentType:eo.Json})}getById(e,t){return this.apiClient.request({...t,url:`/v1/users/b2c/${e}`,method:"GET",secure:!0,responseType:"json"})}update(e,t,s){return this.apiClient.request({...s,url:`/v1/users/b2c/${e}`,method:"PUT",data:t,secure:!0,contentType:eo.Json,responseType:"json"})}changeStatus(e,t,s){return this.apiClient.request({...s,url:`/v1/users/b2c/${e}/status`,method:"PATCH",data:t,secure:!0,contentType:eo.Json})}get(e,t){return this.apiClient.request({...t,url:"/v2/users/b2c/list",method:"POST",data:e,secure:!0,contentType:eo.Json,responseType:"json"})}}var eA={};u(eA,"B2CUserSettings",()=>ew);class ew{constructor(t){this.apiClient=t,e(this)}setUserSettings(e,t,s){return this.apiClient.request({...s,url:"/v1/b2c/settings",method:"PUT",data:e,secure:!0,headers:t,contentType:eo.Json,responseType:"json"})}sendContactChangeCode(e,t,s){return this.apiClient.request({...s,url:"/v1/b2c/settings/codes",method:"POST",data:e,secure:!0,headers:t,contentType:eo.Json})}availableMfaOptions(e,t){return this.apiClient.request({...t,url:"/v1/b2c/settings/mfa-options",method:"GET",secure:!0,headers:e,responseType:"json"})}deleteManyOAuthBindings(e,t){return this.apiClient.request({...t,url:"/v1/b2c/settings/oauth-links",method:"DELETE",data:e,secure:!0,contentType:eo.Json})}finishAppleProfileLinking(e,t){return this.apiClient.request({...t,url:"/v1/b2c/settings/oauth-links/apple/finish",method:"POST",data:e,secure:!1,contentType:eo.Json})}initAppleProfileLinking(e,t){return this.apiClient.request({...t,url:"/v1/b2c/settings/oauth-links/apple/start",method:"POST",data:e,secure:!0,contentType:eo.Json,responseType:"json"})}finishGoogleProfileLinking(e,t){return this.apiClient.request({...t,url:"/v1/b2c/settings/oauth-links/google/finish",method:"POST",data:e,secure:!1,contentType:eo.Json})}initGoogleProfileLinking(e,t){return this.apiClient.request({...t,url:"/v1/b2c/settings/oauth-links/google/start",method:"POST",data:e,secure:!0,contentType:eo.Json,responseType:"json"})}getOAuthBindings(e,t){return this.apiClient.request({...t,url:"/v1/b2c/settings/oauth-links/list",method:"POST",data:e,secure:!0,contentType:eo.Json,responseType:"json"})}}var eD={};u(eD,"Branches",()=>eO);class eO{constructor(t){this.apiClient=t,e(this)}create(e,t){return this.apiClient.request({...t,url:"/v1/branches",method:"POST",data:e,secure:!0,contentType:eo.Json,responseType:"json"})}deleteMany(e,t){return this.apiClient.request({...t,url:"/v1/branches",method:"DELETE",data:e,secure:!0,contentType:eo.Json})}getById(e,t){return this.apiClient.request({...t,url:`/v1/branches/${e}`,method:"GET",secure:!0,responseType:"json"})}update(e,t,s){return this.apiClient.request({...s,url:`/v1/branches/${e}`,method:"PUT",data:t,secure:!0,contentType:eo.Json,responseType:"json"})}get(e,t){return this.apiClient.request({...t,url:"/v2/branches/list",method:"POST",data:e,secure:!0,contentType:eo.Json,responseType:"json"})}}var ek={};u(ek,"Countries",()=>eJ);class eJ{constructor(t){this.apiClient=t,e(this)}get(e){return this.apiClient.request({...e,url:"/v1/countries/",method:"GET",secure:!1,responseType:"json"})}}var ex={};u(ex,"Endpoints",()=>ej);class ej{constructor(t){this.apiClient=t,e(this)}create(e,t){return this.apiClient.request({...t,url:"/v1/b2b/endpoints",method:"POST",data:e,secure:!0,contentType:eo.Json,responseType:"json"})}deleteMany(e,t){return this.apiClient.request({...t,url:"/v1/b2b/endpoints",method:"DELETE",data:e,secure:!0,contentType:eo.Json})}getById(e,t){return this.apiClient.request({...t,url:`/v1/b2b/endpoints/${e}`,method:"GET",secure:!0,responseType:"json"})}update(e,t,s){return this.apiClient.request({...s,url:`/v1/b2b/endpoints/${e}`,method:"PUT",data:t,secure:!0,contentType:eo.Json,responseType:"json"})}get(e,t){return this.apiClient.request({...t,url:"/v2/b2b/endpoints/list",method:"POST",data:e,secure:!0,contentType:eo.Json,responseType:"json"})}}var eB={};u(eB,"Firms",()=>eL);class eL{constructor(t){this.apiClient=t,e(this)}create(e,t){return this.apiClient.request({...t,url:"/v1/firms",method:"POST",data:e,secure:!0,contentType:eo.Json,responseType:"json"})}deleteMany(e,t){return this.apiClient.request({...t,url:"/v1/firms",method:"DELETE",data:e,secure:!0,contentType:eo.Json})}getById(e,t){return this.apiClient.request({...t,url:`/v1/firms/${e}`,method:"GET",secure:!0,responseType:"json"})}update(e,t,s){return this.apiClient.request({...s,url:`/v1/firms/${e}`,method:"PUT",data:t,secure:!0,contentType:eo.Json,responseType:"json"})}get(e,t){return this.apiClient.request({...t,url:"/v2/firms/list",method:"POST",data:e,secure:!0,contentType:eo.Json,responseType:"json"})}}var eR={};u(eR,"IdentityProviders",()=>e_);class e_{constructor(t){this.apiClient=t,e(this)}create(e,t){return this.apiClient.request({...t,url:"/v1/b2b/identity-providers",method:"POST",data:e,secure:!0,contentType:eo.Json,responseType:"json"})}deleteMany(e,t){return this.apiClient.request({...t,url:"/v1/b2b/identity-providers",method:"DELETE",data:e,secure:!0,contentType:eo.Json})}getById(e,t){return this.apiClient.request({...t,url:`/v1/b2b/identity-providers/${e}`,method:"GET",secure:!0,responseType:"json"})}update(e,t,s){return this.apiClient.request({...s,url:`/v1/b2b/identity-providers/${e}`,method:"PUT",data:t,secure:!0,contentType:eo.Json,responseType:"json"})}get(e,t){return this.apiClient.request({...t,url:"/v2/b2b/identity-providers/list",method:"POST",data:e,secure:!0,contentType:eo.Json,responseType:"json"})}}var eF={};u(eF,"Locales",()=>eI);class eI{constructor(t){this.apiClient=t,e(this)}get(e){return this.apiClient.request({...e,url:"/v1/locales",method:"GET",secure:!1,responseType:"json"})}}var eG={};u(eG,"Microservices",()=>eM);class eM{constructor(t){this.apiClient=t,e(this)}create(e,t){return this.apiClient.request({...t,url:"/v1/b2b/microservices",method:"POST",data:e,secure:!0,contentType:eo.Json,responseType:"json"})}deleteMany(e,t){return this.apiClient.request({...t,url:"/v1/b2b/microservices",method:"DELETE",data:e,secure:!0,contentType:eo.Json})}getById(e,t){return this.apiClient.request({...t,url:`/v1/b2b/microservices/${e}`,method:"GET",secure:!0,responseType:"json"})}update(e,t,s){return this.apiClient.request({...s,url:`/v1/b2b/microservices/${e}`,method:"PUT",data:t,secure:!0,contentType:eo.Json,responseType:"json"})}get(e,t){return this.apiClient.request({...t,url:"/v2/b2b/microservices/list",method:"POST",data:e,secure:!0,contentType:eo.Json,responseType:"json"})}}var eN={};u(eN,"MigrationUtils",()=>eV);class eV{constructor(t){this.apiClient=t,e(this)}postUsersUpsert(e,t){return this.apiClient.request({...t,url:"/v1/migration-utils/users/upsert",method:"POST",data:e,secure:!0,contentType:eo.Json,responseType:"json"})}}var eH={};u(eH,"Permissions",()=>ez);class ez{constructor(t){this.apiClient=t,e(this)}create(e,t){return this.apiClient.request({...t,url:"/v1/permissions",method:"POST",data:e,secure:!0,contentType:eo.Json,responseType:"json"})}deleteMany(e,t){return this.apiClient.request({...t,url:"/v1/permissions",method:"DELETE",data:e,secure:!0,contentType:eo.Json})}getById(e,t){return this.apiClient.request({...t,url:`/v1/permissions/${e}`,method:"GET",secure:!0,responseType:"json"})}update(e,t,s){return this.apiClient.request({...s,url:`/v1/permissions/${e}`,method:"PUT",data:t,secure:!0,contentType:eo.Json,responseType:"json"})}get(e,t){return this.apiClient.request({...t,url:"/v2/permissions/list",method:"POST",data:e,secure:!0,contentType:eo.Json,responseType:"json"})}}var eW={};u(eW,"PublicSettings",()=>eK);class eK{constructor(t){this.apiClient=t,e(this)}get(e){return this.apiClient.request({...e,url:"/v1/public-settings",method:"GET",secure:!1,responseType:"json"})}}var eY={};u(eY,"Roles",()=>eQ);class eQ{constructor(t){this.apiClient=t,e(this)}create(e,t){return this.apiClient.request({...t,url:"/v1/roles",method:"POST",data:e,secure:!0,contentType:eo.Json,responseType:"json"})}deleteMany(e,t){return this.apiClient.request({...t,url:"/v1/roles",method:"DELETE",data:e,secure:!0,contentType:eo.Json})}getById(e,t){return this.apiClient.request({...t,url:`/v1/roles/${e}`,method:"GET",secure:!0,responseType:"json"})}update(e,t,s){return this.apiClient.request({...s,url:`/v1/roles/${e}`,method:"PUT",data:t,secure:!0,contentType:eo.Json,responseType:"json"})}get(e,t){return this.apiClient.request({...t,url:"/v2/roles/list",method:"POST",data:e,secure:!0,contentType:eo.Json,responseType:"json"})}}var eX={};u(eX,"RoleTypes",()=>eZ);class eZ{constructor(t){this.apiClient=t,e(this)}create(e,t){return this.apiClient.request({...t,url:"/v1/b2b/role-types",method:"POST",data:e,secure:!0,contentType:eo.Json,responseType:"json"})}deleteMany(e,t){return this.apiClient.request({...t,url:"/v1/b2b/role-types",method:"DELETE",data:e,secure:!0,contentType:eo.Json})}getById(e,t){return this.apiClient.request({...t,url:`/v1/b2b/role-types/${e}`,method:"GET",secure:!0,responseType:"json"})}update(e,t,s){return this.apiClient.request({...s,url:`/v1/b2b/role-types/${e}`,method:"PUT",data:t,secure:!0,contentType:eo.Json,responseType:"json"})}get(e,t){return this.apiClient.request({...t,url:"/v2/b2b/role-types/list",method:"POST",data:e,secure:!0,contentType:eo.Json,responseType:"json"})}}var e1={};u(e1,"SecretNotes",()=>e0);class e0{constructor(t){this.apiClient=t,e(this)}create(e,t){return this.apiClient.request({...t,url:"/v1/secret-notes",method:"POST",data:e,secure:!0,contentType:eo.Json,responseType:"json"})}getOne(e,t){return this.apiClient.request({...t,url:"/v1/secret-notes/fetch",method:"POST",data:e,secure:!1,contentType:eo.Json,responseType:"json"})}sendVerificationCode(e,t){return this.apiClient.request({...t,url:"/v1/secret-notes/verification",method:"PUT",data:e,secure:!1,contentType:eo.Json})}}var e2={};u(e2,"Sessions",()=>e3);class e3{constructor(t){this.apiClient=t,e(this)}getCurrentUserSessions(e){return this.apiClient.request({...e,url:"/v1/auth/sessions",method:"GET",secure:!0,responseType:"json"})}deleteCurrentUserSessions(e,t){return this.apiClient.request({...t,url:"/v1/auth/sessions",method:"DELETE",data:e,secure:!0,contentType:eo.Json})}}var e8={};u(e8,"TablePresets",()=>e6);class e6{constructor(t){this.apiClient=t,e(this)}getUserPresets(e){return this.apiClient.request({...e,url:"/v1/b2b/table-presets",method:"GET",secure:!0,responseType:"json"})}upsert(e,t){return this.apiClient.request({...t,url:"/v1/b2b/table-presets",method:"PUT",data:e,secure:!0,contentType:eo.Json,responseType:"json"})}}var e4={};u(e4,"Tags",()=>e9);class e9{constructor(t){this.apiClient=t,e(this)}create(e,t){return this.apiClient.request({...t,url:"/v1/tags",method:"POST",data:e,secure:!0,contentType:eo.Json,responseType:"json"})}deleteMany(e,t){return this.apiClient.request({...t,url:"/v1/tags",method:"DELETE",data:e,secure:!0,contentType:eo.Json})}get(e,t){return this.apiClient.request({...t,url:"/v1/tags/list",method:"POST",data:e,secure:!0,contentType:eo.Json,responseType:"json"})}getById(e,t){return this.apiClient.request({...t,url:`/v1/tags/${e}`,method:"GET",secure:!0,responseType:"json"})}update(e,t,s){return this.apiClient.request({...s,url:`/v1/tags/${e}`,method:"PUT",data:t,secure:!0,contentType:eo.Json,responseType:"json"})}}var e7={};u(e7,"UmaAuthAppType",()=>e5),u(e7,"UmaAuthUserType",()=>te),u(e7,"UmaResetPasswordType",()=>tt),u(e7,"UmaErrorCode",()=>ts),u(e7,"UmaOption",()=>tr),u(e7,"UmaAuthProviderAppType",()=>tn),u(e7,"UmaEndpointType",()=>ta),u(e7,"UmaEntityAccessType",()=>to),u(e7,"UmaPermissionAG",()=>ti),u(e7,"UmaUserStatus",()=>tu),u(e7,"UmaTenantSettingLabel",()=>tp),u(e7,"UmaAuthFormDtoResetPasswordTypeEnum",()=>td),u(e7,"UmaAuthFormSerializerResetPasswordTypeEnum",()=>tc),u(e7,"UmaB2BSendContactChangeCodeDtoTypeEnum",()=>tl),u(e7,"UmaB2CResetPasswordDtoResetTypeEnum",()=>th),u(e7,"UmaB2CSendContactChangeCodeDtoTypeEnum",()=>tm),u(e7,"UmaB2CSendVerificationCodeDtoCodeTypeEnum",()=>tT),u(e7,"UmaCreateEndpointDtoMethodEnum",()=>ty),u(e7,"UmaCreateEndpointDtoTypeEnum",()=>tb),u(e7,"UmaCreateIdentityProviderDtoTypeEnum",()=>tf),u(e7,"UmaCreatePermissionDtoAssignmentGroupEnum",()=>tC),u(e7,"UmaCreateRoleDtoAssignmentGroupEnum",()=>tE),u(e7,"UmaCreateSecretNoteDtoTypeEnum",()=>t$),u(e7,"UmaEndpointMetadataDtoUserTypeEnum",()=>tg),u(e7,"UmaEndpointSerializerMethodEnum",()=>tv),u(e7,"UmaGetB2CUsersListFiltersDtoShowOnlyEnum",()=>tU),u(e7,"UmaGetFirmsListFiltersDtoStatusesEnum",()=>tP),u(e7,"UmaGetIdentityProvidersListFiltersDtoTypesEnum",()=>tS),u(e7,"UmaGetUsersListFiltersDtoShowOnlyEnum",()=>tq),u(e7,"UmaGetWebAuthnLoginChallengeDtoUserTypeEnum",()=>tA),u(e7,"UmaIdentityProviderSerializerTypeEnum",()=>tw),u(e7,"UmaLinkWatchmenUserToUmaDtoUmaUserTypeEnum",()=>tD),u(e7,"UmaPermissionSerializerAssignmentGroupEnum",()=>tO),u(e7,"UmaRevokeUserSessionsDtoUserTypeEnum",()=>tk),u(e7,"UmaSecretNoteSerializerTypeEnum",()=>tJ),u(e7,"UmaSendB2BMfaCodeDtoTypeEnum",()=>tx),u(e7,"UmaSendB2CMfaCodeDtoTypeEnum",()=>tj),u(e7,"UmaSendB2CResetPasswordCodeDtoCodeTypeEnum",()=>tB),u(e7,"UmaSendB2CResetPasswordCodeDtoResetTypeEnum",()=>tL),u(e7,"UmaSendResetPasswordCodeDtoTypeEnum",()=>tR),u(e7,"UmaTenantSettingDtoLabelEnum",()=>t_),u(e7,"UmaUpdateAuthAppDtoStatusEnum",()=>tF),u(e7,"UmaUpdateEndpointDtoMethodEnum",()=>tI),u(e7,"UmaUpdateEndpointDtoTypeEnum",()=>tG),u(e7,"UmaUpdateFirmDtoStatusEnum",()=>tM),u(e7,"UmaUpdateIdentityProviderDtoTypeEnum",()=>tN),u(e7,"UmaUpsertUserDtoTypeEnum",()=>tV),u(e7,"UmaVerifyContactDtoCodeTypeEnum",()=>tH);var e5=((l={}).EmailCodeAuthAppType="email_code",l.SmsCodeAuthAppType="sms_code",l.YubicoOTPAuthAppType="yubico_otp",l.WebAuthnAuthAppType="webauthn",l.TOTPAuthAppType="totp",l),te=((h={}).AllAuthUserType="all",h.B2BAuthUserType="b2b",h.B2CAuthUserType="b2c",h),tt=((m={}).PasswordResetByContactCode="by_contact_code",m.PasswordResetByEmailLink="by_email_link",m),ts=((T={})[T.JSONValidationErr=4e3]="JSONValidationErr",T[T.JSONReadErr=4001]="JSONReadErr",T[T.JSONParseErr=4002]="JSONParseErr",T[T.ForbiddenErr=4003]="ForbiddenErr",T[T.ForbiddenDueLimit=4030]="ForbiddenDueLimit",T[T.RecordNotFoundErr=4004]="RecordNotFoundErr",T[T.RecordAlreadyExistsErr=4005]="RecordAlreadyExistsErr",T[T.ImageValidationErr=4006]="ImageValidationErr",T[T.InappropriateImageErr=4007]="InappropriateImageErr",T[T.FaceNotFoundOnImageErr=4008]="FaceNotFoundOnImageErr",T[T.UnauthorizedErr=4010]="UnauthorizedErr",T[T.TokenRevokedErr=4012]="TokenRevokedErr",T[T.TokenNotActiveErr=4013]="TokenNotActiveErr",T[T.EmailNotVerifiedErr=4015]="EmailNotVerifiedErr",T[T.TokenParsingErr=4016]="TokenParsingErr",T[T.PhoneNotVerifiedErr=4017]="PhoneNotVerifiedErr",T[T.UUIDParseErr=4026]="UUIDParseErr",T[T.InvalidEmailOrPasswordOrTypeErr=4028]="InvalidEmailOrPasswordOrTypeErr",T[T.InvalidMfaCodeErr=4128]="InvalidMfaCodeErr",T[T.MfaRequiredErr=4228]="MfaRequiredErr",T[T.TokenVerificationErr=4328]="TokenVerificationErr",T[T.InvalidAPIKeyOrSecretErr=4428]="InvalidAPIKeyOrSecretErr",T[T.MfaAddingNotAllowedErr=4528]="MfaAddingNotAllowedErr",T[T.BranchRequestNotAllowed=4103]="BranchRequestNotAllowed",T[T.ForbiddenForUserTypeErr=4203]="ForbiddenForUserTypeErr",T[T.SecondForbiddenErr=4031]="SecondForbiddenErr",T[T.ThirdForbiddenErr=4032]="ThirdForbiddenErr",T[T.EntitiesChoiceNotAllowed=4303]="EntitiesChoiceNotAllowed",T[T.RecaptchaErr=4403]="RecaptchaErr",T[T.UpdateOfOldEntityStateErr=4503]="UpdateOfOldEntityStateErr",T[T.ChiefadminMutationErr=4603]="ChiefadminMutationErr",T[T.ChildEntitiesExistErr=4703]="ChildEntitiesExistErr",T[T.TenantActionForbiddenErr=4803]="TenantActionForbiddenErr",T[T.RBACManipulationErr=4903]="RBACManipulationErr",T[T.YubicoMaxKeysLimitReachedErr=4113]="YubicoMaxKeysLimitReachedErr",T[T.ConflictErr=4090]="ConflictErr",T[T.SecondFieldConflictErr=4091]="SecondFieldConflictErr",T[T.ThirdFieldConflictErr=4092]="ThirdFieldConflictErr",T[T.FourthFieldConflictErr=4093]="FourthFieldConflictErr",T[T.FifthFieldConflictErr=4094]="FifthFieldConflictErr",T[T.SixthFieldConflictErr=4095]="SixthFieldConflictErr",T[T.SeventhFieldConflictErr=4096]="SeventhFieldConflictErr",T[T.GoneErr=4100]="GoneErr",T[T.SecondGoneErr=4101]="SecondGoneErr",T[T.UnprocessableEntity=4222]="UnprocessableEntity",T[T.TooEarlyDuplicateRequest=4250]="TooEarlyDuplicateRequest",T[T.RateLimitErr=4291]="RateLimitErr",T[T.ForbiddenByFirmsStatusErr=4292]="ForbiddenByFirmsStatusErr",T[T.NotAcceptableError=4600]="NotAcceptableError",T[T.InternalServerErr=5e3]="InternalServerErr",T[T.InvalidRequest=6e3]="InvalidRequest",T),tr=((y={}).SmsMfaOption="sms",y.EmailMfaOption="email",y.VoiceMfaOption="voice",y.WebAuthnMfaOption="webauthn",y.YubicoOTPMfaOption="yubico_otp",y.TOTPMfaOption="totp",y),tn=((b={}).GoogleOAuth2Provider="google-oauth2",b.AppleIDOAuth2Provider="apple-id",b),ta=((f={}).RegularEndpoint="regular",f.DisplayOnlyEndpoint="display_only",f),to=((C={}).GranularEntityAccessType="granular",C.HighLevelEntityAccessType="high-level",C),ti=((E={}).ChiefadminPermissionAG="chiefadmin",E.SuperadminPermissionAG="superadmin",E.B2BOnlyPermissionAG="b2b_only",E.RegularPermissionAG="regular",E),tu=(($={}).ActiveUserStatus="active",$.BlockedUserStatus="blocked",$.ArchivedUserStatus="archived",$),tp=((g={}).StorePasswordHistoryForDays="store_password_history_for_days",g.ResetPasswordIfUserInactiveForDays="reset_password_if_user_inactive_for_days",g.PeriodicallyResetPasswordAfterDays="periodically_reset_password_after_days",g),td=((v={}).ByContactCode="by_contact_code",v.ByEmailLink="by_email_link",v),tc=((U={}).ByContactCode="by_contact_code",U.ByEmailLink="by_email_link",U),tl=((P={}).Email="email",P.Voice="voice",P.Sms="sms",P),th=((S={}).ByContactCode="by_contact_code",S.ByEmailLink="by_email_link",S),tm=((q={}).Email="email",q.Voice="voice",q.Sms="sms",q),tT=((A={}).Email="email",A.Voice="voice",A.Sms="sms",A),ty=((w={}).POST="POST",w.PUT="PUT",w.DELETE="DELETE",w.GET="GET",w.PATCH="PATCH",w.ALL="ALL",w),tb=((D={}).Regular="regular",D.DisplayOnly="display_only",D),tf=((O={}).Okta="okta",O),tC=((k={}).Regular="regular",k.Superadmin="superadmin",k.B2BOnly="b2b_only",k),tE=((J={}).Regular="regular",J.Superadmin="superadmin",J.B2BOnly="b2b_only",J),t$=((x={}).Password="password",x),tg=((j={}).B2B="b2b",j.B2C="b2c",j),tv=((B={}).POST="POST",B.PUT="PUT",B.DELETE="DELETE",B.GET="GET",B.PATCH="PATCH",B.ALL="ALL",B),tU=((L={}).Admin="admin",L.BranchAdmin="branch_admin",L.Compliance="compliance",L),tP=((R={}).InProgress="in_progress",R.Active="active",R.Suspended="suspended",R.Deleted="deleted",R),tS=((_={}).Okta="okta",_),tq=((F={}).Admin="admin",F.BranchAdmin="branch_admin",F.Compliance="compliance",F),tA=((I={}).B2B="b2b",I.B2C="b2c",I),tw=((G={}).Okta="okta",G),tD=((M={}).B2B="b2b",M.B2C="b2c",M),tO=((N={}).Regular="regular",N.Chiefadmin="chiefadmin",N.Superadmin="superadmin",N),tk=((V={}).B2B="b2b",V.B2C="b2c",V),tJ=((H={}).Password="password",H),tx=((z={}).Email="email",z.Voice="voice",z.Sms="sms",z),tj=((W={}).Email="email",W.Voice="voice",W.Sms="sms",W),tB=((K={}).Email="email",K.Voice="voice",K.Sms="sms",K),tL=((Y={}).ByContactCode="by_contact_code",Y.ByEmailLink="by_email_link",Y),tR=((Q={}).Email="email",Q.Voice="voice",Q.Sms="sms",Q),t_=((X={}).StorePasswordHistoryForDays="store_password_history_for_days",X.ResetPasswordIfUserInactiveForDays="reset_password_if_user_inactive_for_days",X.PeriodicallyResetPasswordAfterDays="periodically_reset_password_after_days",X),tF=((Z={}).Active="active",Z.Disabled="disabled",Z),tI=((ee={}).POST="POST",ee.PUT="PUT",ee.DELETE="DELETE",ee.GET="GET",ee.PATCH="PATCH",ee.ALL="ALL",ee),tG=((et={}).Regular="regular",et.DisplayOnly="display_only",et),tM=((es={}).InProgress="in_progress",es.Active="active",es.Suspended="suspended",es.Deleted="deleted",es),tN=((er={}).Okta="okta",er),tV=((en={}).B2B="b2b",en.B2C="b2c",en),tH=((ea={}).Email="email",ea.Voice="voice",ea.Sms="sms",ea),tz={};u(tz,"UserDetails",()=>tW);class tW{constructor(t){this.apiClient=t,e(this)}getUserDetails(e,t){return this.apiClient.request({...t,url:"/v1/users/details/show",method:"POST",data:e,secure:!0,contentType:eo.Json,responseType:"json"})}revokeSessions(e,t){return this.apiClient.request({...t,url:"/v1/users/revoke-sessions",method:"POST",data:e,secure:!0,contentType:eo.Json})}}var tK={};u(tK,"UsersCommon",()=>tY);class tY{constructor(t){this.apiClient=t,e(this)}getUserStatusChangeReasonsList(e,t){return this.apiClient.request({...t,url:"/v1/users/status-change-reasons/list",method:"POST",data:e,secure:!0,contentType:eo.Json,responseType:"json"})}linkWatchmenUsersToUma(e,t){return this.apiClient.request({...t,url:"/v1/users/watchmen/link",method:"POST",data:e,secure:!0,contentType:eo.Json})}}var tQ={};u(tQ,"WatchmenAuth",()=>tX);class tX{constructor(t){this.apiClient=t,e(this)}generateWatchmenAuthToken(e,t){return this.apiClient.request({...t,url:"/v1/auth/watchmen/authentication-tokens",method:"POST",data:e,secure:!0,contentType:eo.Json,responseType:"json"})}verifyWatchmenAuthToken(e,t){return this.apiClient.request({...t,url:"/v1/auth/watchmen/authentication-tokens/verify",method:"PUT",data:e,secure:!0,contentType:eo.Json,responseType:"json"})}}var tZ={};u(tZ,"WatchmenInstances",()=>t1);class t1{constructor(t){this.apiClient=t,e(this)}create(e,t){return this.apiClient.request({...t,url:"/v1/watchmen-instances",method:"POST",data:e,secure:!0,contentType:eo.Json,responseType:"json"})}deleteMany(e,t){return this.apiClient.request({...t,url:"/v1/watchmen-instances",method:"DELETE",data:e,secure:!0,contentType:eo.Json})}getMany(e,t){return this.apiClient.request({...t,url:"/v1/watchmen-instances/list",method:"POST",data:e,secure:!0,contentType:eo.Json,responseType:"json"})}getById(e,t){return this.apiClient.request({...t,url:`/v1/watchmen-instances/${e}`,method:"GET",secure:!0,responseType:"json"})}update(e,t,s){return this.apiClient.request({...s,url:`/v1/watchmen-instances/${e}`,method:"PUT",data:t,secure:!0,contentType:eo.Json,responseType:"json"})}}p(ep,ed),p(ep,el),p(ep,em),p(ep,ey),p(ep,ef),p(ep,eE),p(ep,eg),p(ep,eU),p(ep,eS),p(ep,eA),p(ep,eD),p(ep,ek),p(ep,ex),p(ep,eB),p(ep,eR),p(ep,eF),p(ep,eG),p(ep,eN),p(ep,eH),p(ep,eW),p(ep,eY),p(ep,eX),p(ep,e1),p(ep,e2),p(ep,e8),p(ep,e4),p(ep,e7),p(ep,tz),p(ep,tK),p(ep,tQ),p(ep,tZ);class t0 extends eC{constructor(e){super(e),this.apiClient.scheduleTokenRenewal(this.renewToken)}async basicLogin(e,t,s){let r=await super.basicLogin(e,t,s);return r.success&&(this.apiClient.setAuthData({accessToken:r.data.login_basic.tokens.access_token??"",refreshToken:r.data.login_basic.tokens.refresh_token??""}),this.apiClient.scheduleTokenRenewal(this.renewToken)),r}async renewToken(){let e=this.apiClient.getAuthData()?.refreshToken;if(!e)throw Error("Refresh token not found");let t=await this.refreshTokens({refresh_token:e});if(t.success)return{accessToken:t.data.login_basic.tokens.access_token??"",refreshToken:t.data.login_basic.tokens.refresh_token??""};throw Error(`Could not renew token: ${String(t.error)}`)}}class t2 extends eP{constructor(e){super(e),this.apiClient.scheduleTokenRenewal(this.renewToken)}async basicLogin(e,t,s){let r=await super.basicLogin(e,t,s);return r.success&&(this.apiClient.setAuthData({accessToken:r.data.login_basic.tokens.access_token??"",refreshToken:r.data.login_basic.tokens.refresh_token??""}),this.apiClient.scheduleTokenRenewal(this.renewToken)),r}async renewToken(){let e=this.apiClient.getAuthData()?.refreshToken;if(!e)throw Error("Refresh token not found");let t=await this.refreshTokens({refresh_token:e,auth_form_slug:this.apiClient.getConfig().authFormSlug});if(t.success)return{accessToken:t.data.login_basic.tokens.access_token??"",refreshToken:t.data.login_basic.tokens.refresh_token??""};throw Error(`Could not renew token: ${String(t.error)}`)}}class t3 extends d{constructor(e){super(new eu(e)),this.actionLog=new ec(this.apiClient),this.apiKeys=new eh(this.apiClient),this.authApps=new eT(this.apiClient),this.authForms=new eb(this.apiClient),this.b2bAuth=new t0(this.apiClient),this.b2bUsers=new e$(this.apiClient),this.b2bUserSettings=new ev(this.apiClient),this.b2cAuth=new t2(this.apiClient),this.b2cUsers=new eq(this.apiClient),this.b2cUserSettings=new ew(this.apiClient),this.branches=new eO(this.apiClient),this.countries=new eJ(this.apiClient),this.endpoints=new ej(this.apiClient),this.fims=new eL(this.apiClient),this.identityProviders=new e_(this.apiClient),this.locales=new eI(this.apiClient),this.microservices=new eM(this.apiClient),this.migrationUtils=new eV(this.apiClient),this.permissions=new ez(this.apiClient),this.publicSettings=new eK(this.apiClient),this.roles=new eQ(this.apiClient),this.roleTypes=new eZ(this.apiClient),this.secretNotes=new e0(this.apiClient),this.sessions=new e3(this.apiClient),this.tablePresets=new e6(this.apiClient),this.tags=new e9(this.apiClient),this.userDetails=new tW(this.apiClient),this.usersCommon=new tY(this.apiClient),this.watchmenAuth=new tX(this.apiClient),this.watchmenInstances=new t1(this.apiClient)}}export{t3 as UmaApi,ec as ActionLogs,eh as ApiKeys,eT as AuthApps,eb as AuthForms,eC as B2BAuth,e$ as B2BUsers,ev as B2BUserSettings,eP as B2CAuth,eq as B2CUsers,ew as B2CUserSettings,eO as Branches,eJ as Countries,ej as Endpoints,eL as Firms,e_ as IdentityProviders,eI as Locales,eM as Microservices,eV as MigrationUtils,ez as Permissions,eK as PublicSettings,eQ as Roles,eZ as RoleTypes,e0 as SecretNotes,e3 as Sessions,e6 as TablePresets,e9 as Tags,e5 as UmaAuthAppType,te as UmaAuthUserType,tt as UmaResetPasswordType,ts as UmaErrorCode,tr as UmaOption,tn as UmaAuthProviderAppType,ta as UmaEndpointType,to as UmaEntityAccessType,ti as UmaPermissionAG,tu as UmaUserStatus,tp as UmaTenantSettingLabel,td as UmaAuthFormDtoResetPasswordTypeEnum,tc as UmaAuthFormSerializerResetPasswordTypeEnum,tl as UmaB2BSendContactChangeCodeDtoTypeEnum,th as UmaB2CResetPasswordDtoResetTypeEnum,tm as UmaB2CSendContactChangeCodeDtoTypeEnum,tT as UmaB2CSendVerificationCodeDtoCodeTypeEnum,ty as UmaCreateEndpointDtoMethodEnum,tb as UmaCreateEndpointDtoTypeEnum,tf as UmaCreateIdentityProviderDtoTypeEnum,tC as UmaCreatePermissionDtoAssignmentGroupEnum,tE as UmaCreateRoleDtoAssignmentGroupEnum,t$ as UmaCreateSecretNoteDtoTypeEnum,tg as UmaEndpointMetadataDtoUserTypeEnum,tv as UmaEndpointSerializerMethodEnum,tU as UmaGetB2CUsersListFiltersDtoShowOnlyEnum,tP as UmaGetFirmsListFiltersDtoStatusesEnum,tS as UmaGetIdentityProvidersListFiltersDtoTypesEnum,tq as UmaGetUsersListFiltersDtoShowOnlyEnum,tA as UmaGetWebAuthnLoginChallengeDtoUserTypeEnum,tw as UmaIdentityProviderSerializerTypeEnum,tD as UmaLinkWatchmenUserToUmaDtoUmaUserTypeEnum,tO as UmaPermissionSerializerAssignmentGroupEnum,tk as UmaRevokeUserSessionsDtoUserTypeEnum,tJ as UmaSecretNoteSerializerTypeEnum,tx as UmaSendB2BMfaCodeDtoTypeEnum,tj as UmaSendB2CMfaCodeDtoTypeEnum,tB as UmaSendB2CResetPasswordCodeDtoCodeTypeEnum,tL as UmaSendB2CResetPasswordCodeDtoResetTypeEnum,tR as UmaSendResetPasswordCodeDtoTypeEnum,t_ as UmaTenantSettingDtoLabelEnum,tF as UmaUpdateAuthAppDtoStatusEnum,tI as UmaUpdateEndpointDtoMethodEnum,tG as UmaUpdateEndpointDtoTypeEnum,tM as UmaUpdateFirmDtoStatusEnum,tN as UmaUpdateIdentityProviderDtoTypeEnum,tV as UmaUpsertUserDtoTypeEnum,tH as UmaVerifyContactDtoCodeTypeEnum,tW as UserDetails,tY as UsersCommon,tX as WatchmenAuth,t1 as WatchmenInstances};
|
|
1
|
+
import $jl2YG$autobind from "auto-bind";
|
|
2
|
+
import {Mutex as $jl2YG$Mutex, E_CANCELED as $jl2YG$E_CANCELED} from "async-mutex";
|
|
3
|
+
import {consola as $jl2YG$consola} from "consola";
|
|
4
|
+
import {isBefore as $jl2YG$isBefore, subMinutes as $jl2YG$subMinutes} from "date-fns";
|
|
5
|
+
import {jwtDecode as $jl2YG$jwtDecode} from "jwt-decode";
|
|
6
|
+
import $jl2YG$axios, {isAxiosError as $jl2YG$isAxiosError} from "axios";
|
|
7
|
+
import $jl2YG$axiosbetterstacktrace from "axios-better-stacktrace";
|
|
8
|
+
import {isNil as $jl2YG$isNil, merge as $jl2YG$merge} from "lodash";
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
function $parcel$export(e, n, v, s) {
|
|
12
|
+
Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
function $parcel$exportWildcard(dest, source) {
|
|
16
|
+
Object.keys(source).forEach(function(key) {
|
|
17
|
+
if (key === 'default' || key === '__esModule' || Object.prototype.hasOwnProperty.call(dest, key)) {
|
|
18
|
+
return;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
Object.defineProperty(dest, key, {
|
|
22
|
+
enumerable: true,
|
|
23
|
+
get: function get() {
|
|
24
|
+
return source[key];
|
|
25
|
+
}
|
|
26
|
+
});
|
|
27
|
+
});
|
|
28
|
+
|
|
29
|
+
return dest;
|
|
30
|
+
}
|
|
31
|
+
var $f6d6ec6b62c208b4$exports = {};
|
|
32
|
+
|
|
33
|
+
$parcel$export($f6d6ec6b62c208b4$exports, "UmaApi", () => $f6d6ec6b62c208b4$export$ae615290d7b354e);
|
|
34
|
+
|
|
35
|
+
class $001a7a5b1ca54b2d$export$3ad201792064a82b {
|
|
36
|
+
// request: ApiClient['request'];
|
|
37
|
+
// get: ApiClient['get'];
|
|
38
|
+
// delete: ApiClient['delete'];
|
|
39
|
+
// head: ApiClient['head'];
|
|
40
|
+
// options: ApiClient['options'];
|
|
41
|
+
// post: ApiClient['post'];
|
|
42
|
+
// put: ApiClient['put'];
|
|
43
|
+
// patch: ApiClient['patch'];
|
|
44
|
+
constructor(apiClient){
|
|
45
|
+
this.apiClient = apiClient;
|
|
46
|
+
(0, $jl2YG$autobind)(this);
|
|
47
|
+
// this.request = this.client.request;
|
|
48
|
+
// this.get = this.client.get;
|
|
49
|
+
// this.delete = this.client.delete;
|
|
50
|
+
// this.head = this.client.head;
|
|
51
|
+
// this.options = this.client.options;
|
|
52
|
+
// this.post = this.client.post;
|
|
53
|
+
// this.put = this.client.put;
|
|
54
|
+
// this.patch = this.client.patch;
|
|
55
|
+
// this.get = this.client.get;
|
|
56
|
+
}
|
|
57
|
+
getApiClient() {
|
|
58
|
+
return this.apiClient;
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
var $e176194f300187e4$export$e2e108cbe2e4f865 = /*#__PURE__*/ function(ContentType) {
|
|
72
|
+
ContentType["Json"] = "application/json";
|
|
73
|
+
ContentType["FormData"] = "multipart/form-data";
|
|
74
|
+
ContentType["UrlEncoded"] = "application/x-www-form-urlencoded";
|
|
75
|
+
ContentType["Text"] = "text/plain";
|
|
76
|
+
return ContentType;
|
|
77
|
+
}({});
|
|
78
|
+
class $e176194f300187e4$export$4f22f74eddb7716a {
|
|
79
|
+
constructor(config){
|
|
80
|
+
this.config = config;
|
|
81
|
+
(0, $jl2YG$autobind)(this);
|
|
82
|
+
this.storage = config.storage ?? sessionStorage;
|
|
83
|
+
this.axiosInstance = (0, $jl2YG$axios).create({
|
|
84
|
+
baseURL: config.baseUrl,
|
|
85
|
+
headers: {
|
|
86
|
+
'Content-Type': 'application/json',
|
|
87
|
+
...config.defaultHeaders
|
|
88
|
+
}
|
|
89
|
+
});
|
|
90
|
+
(0, $jl2YG$axiosbetterstacktrace)(this.axiosInstance);
|
|
91
|
+
}
|
|
92
|
+
stringifyFormItem(formItem) {
|
|
93
|
+
if (typeof formItem === 'object' && formItem !== null) return JSON.stringify(formItem);
|
|
94
|
+
else return `${formItem}`;
|
|
95
|
+
}
|
|
96
|
+
createFormData(input) {
|
|
97
|
+
if (input instanceof FormData) return input;
|
|
98
|
+
return Object.keys(input).reduce((formData, key)=>{
|
|
99
|
+
const property = input[key];
|
|
100
|
+
const propertyContent = property instanceof Array ? property : [
|
|
101
|
+
property
|
|
102
|
+
];
|
|
103
|
+
for (const formItem of propertyContent){
|
|
104
|
+
const isFileType = formItem instanceof Blob || formItem instanceof File;
|
|
105
|
+
formData.append(key, isFileType ? formItem : this.stringifyFormItem(formItem));
|
|
106
|
+
}
|
|
107
|
+
return formData;
|
|
108
|
+
}, new FormData());
|
|
109
|
+
}
|
|
110
|
+
async request(requestConfig) {
|
|
111
|
+
const { contentType: contentType, data: data } = requestConfig;
|
|
112
|
+
if (!(0, $jl2YG$isNil)(data)) {
|
|
113
|
+
if (contentType === "multipart/form-data" && typeof data === 'object') requestConfig.data = this.createFormData(data);
|
|
114
|
+
if (contentType === "text/plain" && typeof data !== 'string') requestConfig.data = JSON.stringify(data);
|
|
115
|
+
}
|
|
116
|
+
const mergedConfig = (0, $jl2YG$merge)(requestConfig.secure ?? this.config.defaultSecure ?? true ? await this.prepareAuthRequestConfig() : {}, contentType ? {
|
|
117
|
+
headers: {
|
|
118
|
+
'Content-Type': contentType
|
|
119
|
+
}
|
|
120
|
+
} : {}, requestConfig);
|
|
121
|
+
try {
|
|
122
|
+
const { data: data, status: status, statusText: statusText } = await this.axiosInstance.request(mergedConfig);
|
|
123
|
+
return {
|
|
124
|
+
success: true,
|
|
125
|
+
data: data,
|
|
126
|
+
status: status,
|
|
127
|
+
statusText: statusText
|
|
128
|
+
};
|
|
129
|
+
} catch (error) {
|
|
130
|
+
if (!this.config.handleError && !requestConfig.handleError) throw error;
|
|
131
|
+
const result = {
|
|
132
|
+
success: false,
|
|
133
|
+
status: -1,
|
|
134
|
+
statusText: String(error),
|
|
135
|
+
error: error
|
|
136
|
+
};
|
|
137
|
+
if ((0, $jl2YG$isAxiosError)(error)) {
|
|
138
|
+
this.config.onAxiosError?.(error);
|
|
139
|
+
result.data = error.response?.data;
|
|
140
|
+
result.status = error.response?.status ?? result.status;
|
|
141
|
+
result.statusText = error.response?.statusText ?? result.statusText;
|
|
142
|
+
}
|
|
143
|
+
this.config.onError?.(error);
|
|
144
|
+
return result;
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
get(url, config) {
|
|
148
|
+
return this.request({
|
|
149
|
+
...config,
|
|
150
|
+
method: 'GET',
|
|
151
|
+
url: url
|
|
152
|
+
});
|
|
153
|
+
}
|
|
154
|
+
delete(url, config) {
|
|
155
|
+
return this.request({
|
|
156
|
+
...config,
|
|
157
|
+
method: 'DELETE',
|
|
158
|
+
url: url
|
|
159
|
+
});
|
|
160
|
+
}
|
|
161
|
+
head(url, config) {
|
|
162
|
+
return this.request({
|
|
163
|
+
...config,
|
|
164
|
+
method: 'HEAD',
|
|
165
|
+
url: url
|
|
166
|
+
});
|
|
167
|
+
}
|
|
168
|
+
options(url, config) {
|
|
169
|
+
return this.request({
|
|
170
|
+
...config,
|
|
171
|
+
method: 'OPTIONS',
|
|
172
|
+
url: url
|
|
173
|
+
});
|
|
174
|
+
}
|
|
175
|
+
post(url, data, config) {
|
|
176
|
+
return this.request({
|
|
177
|
+
...config,
|
|
178
|
+
method: 'POST',
|
|
179
|
+
url: url,
|
|
180
|
+
data: data
|
|
181
|
+
});
|
|
182
|
+
}
|
|
183
|
+
put(url, data, config) {
|
|
184
|
+
return this.request({
|
|
185
|
+
...config,
|
|
186
|
+
method: 'PUT',
|
|
187
|
+
url: url,
|
|
188
|
+
data: data
|
|
189
|
+
});
|
|
190
|
+
}
|
|
191
|
+
patch(url, data, config) {
|
|
192
|
+
return this.request({
|
|
193
|
+
...config,
|
|
194
|
+
method: 'PATCH',
|
|
195
|
+
url: url,
|
|
196
|
+
data: data
|
|
197
|
+
});
|
|
198
|
+
}
|
|
199
|
+
getAxios() {
|
|
200
|
+
return this.axiosInstance;
|
|
201
|
+
}
|
|
202
|
+
setAuthData(data) {
|
|
203
|
+
this.storage.setItem(this.config.authDataStorageKey || 'auth', JSON.stringify(data));
|
|
204
|
+
}
|
|
205
|
+
getAuthData() {
|
|
206
|
+
const data = this.storage.getItem(this.config.authDataStorageKey || 'auth');
|
|
207
|
+
return data ? JSON.parse(data) : null;
|
|
208
|
+
}
|
|
209
|
+
getConfig() {
|
|
210
|
+
return this.config;
|
|
211
|
+
}
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
|
|
215
|
+
class $584c124673bb843e$export$f280b732bbc5934b extends (0, $e176194f300187e4$export$4f22f74eddb7716a) {
|
|
216
|
+
constructor(config){
|
|
217
|
+
super(config), this.config = config, this.lock = new (0, $jl2YG$Mutex)();
|
|
218
|
+
}
|
|
219
|
+
getConfig() {
|
|
220
|
+
return super.getConfig();
|
|
221
|
+
}
|
|
222
|
+
setRenewTokenCallback(renewTokenCallback) {
|
|
223
|
+
this.renewTokenCallback = renewTokenCallback;
|
|
224
|
+
}
|
|
225
|
+
async prepareAuthRequestConfig() {
|
|
226
|
+
let { accessToken: accessToken } = this.getAuthData() || {};
|
|
227
|
+
if (!accessToken) {
|
|
228
|
+
(0, $jl2YG$consola).warn('No access token found. Please set auth data after authorization.');
|
|
229
|
+
return {};
|
|
230
|
+
}
|
|
231
|
+
if (this.config.autoRenewToken !== false && this.isTokenExpired(accessToken)) try {
|
|
232
|
+
await this.lock.runExclusive(async ()=>{
|
|
233
|
+
(0, $jl2YG$consola).info("Token expired. Renewing\u2026");
|
|
234
|
+
await this.renewToken();
|
|
235
|
+
this.lock.cancel();
|
|
236
|
+
});
|
|
237
|
+
} catch (error) {
|
|
238
|
+
if (error === (0, $jl2YG$E_CANCELED)) accessToken = this.getAuthData()?.accessToken;
|
|
239
|
+
else throw error;
|
|
240
|
+
}
|
|
241
|
+
return {
|
|
242
|
+
headers: {
|
|
243
|
+
Authorization: `${this.config.authSchema ?? 'Bearer'} ${accessToken}`
|
|
244
|
+
}
|
|
245
|
+
};
|
|
246
|
+
}
|
|
247
|
+
isTokenExpired(token) {
|
|
248
|
+
const payload = (0, $jl2YG$jwtDecode)(token);
|
|
249
|
+
if (!payload.exp) return true;
|
|
250
|
+
return (0, $jl2YG$isBefore)((0, $jl2YG$subMinutes)(payload.exp * 1000, 5), Date.now());
|
|
251
|
+
}
|
|
252
|
+
async renewToken() {
|
|
253
|
+
if (!this.renewTokenCallback) throw new Error('No renew token callback provided');
|
|
254
|
+
const authData = await this.renewTokenCallback();
|
|
255
|
+
this.setAuthData(authData);
|
|
256
|
+
}
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
|
|
260
|
+
var $6e622ebe8d4e3181$exports = {};
|
|
261
|
+
var $c1f6b51aca13cb0b$exports = {};
|
|
262
|
+
|
|
263
|
+
$parcel$export($c1f6b51aca13cb0b$exports, "ActionLogs", () => $c1f6b51aca13cb0b$export$e241ab6b9aa14723);
|
|
264
|
+
/* eslint-disable */ /* tslint:disable */ /*
|
|
265
|
+
* ---------------------------------------------------------------
|
|
266
|
+
* ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##
|
|
267
|
+
* ## ##
|
|
268
|
+
* ## AUTHOR: acacode ##
|
|
269
|
+
* ## SOURCE: https://github.com/acacode/swagger-typescript-api ##
|
|
270
|
+
* ---------------------------------------------------------------
|
|
271
|
+
*/
|
|
272
|
+
/* eslint-disable */ /* tslint:disable */ /*
|
|
273
|
+
* ---------------------------------------------------------------
|
|
274
|
+
* ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##
|
|
275
|
+
* ## ##
|
|
276
|
+
* ## AUTHOR: acacode ##
|
|
277
|
+
* ## SOURCE: https://github.com/acacode/swagger-typescript-api ##
|
|
278
|
+
* ---------------------------------------------------------------
|
|
279
|
+
*/
|
|
280
|
+
|
|
281
|
+
|
|
282
|
+
class $c1f6b51aca13cb0b$export$e241ab6b9aa14723 {
|
|
283
|
+
constructor(apiClient){
|
|
284
|
+
this.apiClient = apiClient;
|
|
285
|
+
(0, $jl2YG$autobind)(this);
|
|
286
|
+
}
|
|
287
|
+
/**
|
|
288
|
+
* @description Get Action logs list
|
|
289
|
+
* @tags action_logs
|
|
290
|
+
* @name GetActionLogs
|
|
291
|
+
* @summary Get Action logs list
|
|
292
|
+
* @request POST:/v1/action-logs/list
|
|
293
|
+
* @secure
|
|
294
|
+
*/ getActionLogs(getActionLogsDto, config) {
|
|
295
|
+
return this.apiClient.request({
|
|
296
|
+
...config,
|
|
297
|
+
url: `/v1/action-logs/list`,
|
|
298
|
+
method: 'POST',
|
|
299
|
+
data: getActionLogsDto,
|
|
300
|
+
secure: true,
|
|
301
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json,
|
|
302
|
+
responseType: 'json'
|
|
303
|
+
});
|
|
304
|
+
}
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
|
|
308
|
+
var $8a71f05e6ab45e7b$exports = {};
|
|
309
|
+
|
|
310
|
+
$parcel$export($8a71f05e6ab45e7b$exports, "ApiKeys", () => $8a71f05e6ab45e7b$export$a67a305ca3f5ec6a);
|
|
311
|
+
/* eslint-disable */ /* tslint:disable */ /*
|
|
312
|
+
* ---------------------------------------------------------------
|
|
313
|
+
* ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##
|
|
314
|
+
* ## ##
|
|
315
|
+
* ## AUTHOR: acacode ##
|
|
316
|
+
* ## SOURCE: https://github.com/acacode/swagger-typescript-api ##
|
|
317
|
+
* ---------------------------------------------------------------
|
|
318
|
+
*/
|
|
319
|
+
|
|
320
|
+
class $8a71f05e6ab45e7b$export$a67a305ca3f5ec6a {
|
|
321
|
+
constructor(apiClient){
|
|
322
|
+
this.apiClient = apiClient;
|
|
323
|
+
(0, $jl2YG$autobind)(this);
|
|
324
|
+
}
|
|
325
|
+
/**
|
|
326
|
+
* @description Delete API Key by id (would throw 404 error if API key not found or belongs to different user)
|
|
327
|
+
* @tags api_keys
|
|
328
|
+
* @name DeleteMany
|
|
329
|
+
* @summary Delete API Key by id
|
|
330
|
+
* @request DELETE:/v1/b2b/api-keys
|
|
331
|
+
* @secure
|
|
332
|
+
*/ deleteMany(deleteAPIKeys, config) {
|
|
333
|
+
return this.apiClient.request({
|
|
334
|
+
...config,
|
|
335
|
+
url: `/v1/b2b/api-keys`,
|
|
336
|
+
method: 'DELETE',
|
|
337
|
+
data: deleteAPIKeys,
|
|
338
|
+
secure: true,
|
|
339
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json
|
|
340
|
+
});
|
|
341
|
+
}
|
|
342
|
+
/**
|
|
343
|
+
* @description Get APIKey by id
|
|
344
|
+
* @tags api_keys
|
|
345
|
+
* @name GetById
|
|
346
|
+
* @summary Get APIKey by id
|
|
347
|
+
* @request GET:/v1/b2b/api-keys/{id}
|
|
348
|
+
* @secure
|
|
349
|
+
*/ getById(id, config) {
|
|
350
|
+
return this.apiClient.request({
|
|
351
|
+
...config,
|
|
352
|
+
url: `/v1/b2b/api-keys/${id}`,
|
|
353
|
+
method: 'GET',
|
|
354
|
+
secure: true,
|
|
355
|
+
responseType: 'json'
|
|
356
|
+
});
|
|
357
|
+
}
|
|
358
|
+
/**
|
|
359
|
+
* @description Create API Key & API Secret Pair. API Secret won't be accessible for read after that
|
|
360
|
+
* @tags api_keys
|
|
361
|
+
* @name Create
|
|
362
|
+
* @summary Create API Key & API Secret Pair
|
|
363
|
+
* @request POST:/v2/b2b/api-keys
|
|
364
|
+
* @secure
|
|
365
|
+
*/ create(createApiKeys, config) {
|
|
366
|
+
return this.apiClient.request({
|
|
367
|
+
...config,
|
|
368
|
+
url: `/v2/b2b/api-keys`,
|
|
369
|
+
method: 'POST',
|
|
370
|
+
data: createApiKeys,
|
|
371
|
+
secure: true,
|
|
372
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json,
|
|
373
|
+
responseType: 'json'
|
|
374
|
+
});
|
|
375
|
+
}
|
|
376
|
+
/**
|
|
377
|
+
* @description Get API Keys info(would return API Keys without secrets)
|
|
378
|
+
* @tags api_keys
|
|
379
|
+
* @name Get
|
|
380
|
+
* @summary Get API Keys info(would return API Keys without secrets)
|
|
381
|
+
* @request POST:/v2/b2b/api-keys/list
|
|
382
|
+
* @secure
|
|
383
|
+
*/ get(apiKeys, config) {
|
|
384
|
+
return this.apiClient.request({
|
|
385
|
+
...config,
|
|
386
|
+
url: `/v2/b2b/api-keys/list`,
|
|
387
|
+
method: 'POST',
|
|
388
|
+
data: apiKeys,
|
|
389
|
+
secure: true,
|
|
390
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json,
|
|
391
|
+
responseType: 'json'
|
|
392
|
+
});
|
|
393
|
+
}
|
|
394
|
+
/**
|
|
395
|
+
* @description Update API Key Record
|
|
396
|
+
* @tags api_keys
|
|
397
|
+
* @name Update
|
|
398
|
+
* @summary Update API Key Record
|
|
399
|
+
* @request PUT:/v2/b2b/api-keys/{id}
|
|
400
|
+
* @secure
|
|
401
|
+
*/ update(id, apiKeys, config) {
|
|
402
|
+
return this.apiClient.request({
|
|
403
|
+
...config,
|
|
404
|
+
url: `/v2/b2b/api-keys/${id}`,
|
|
405
|
+
method: 'PUT',
|
|
406
|
+
data: apiKeys,
|
|
407
|
+
secure: true,
|
|
408
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json,
|
|
409
|
+
responseType: 'json'
|
|
410
|
+
});
|
|
411
|
+
}
|
|
412
|
+
}
|
|
413
|
+
|
|
414
|
+
|
|
415
|
+
var $bb94d614e4ef5260$exports = {};
|
|
416
|
+
|
|
417
|
+
$parcel$export($bb94d614e4ef5260$exports, "AuthApps", () => $bb94d614e4ef5260$export$d3eceb771169d266);
|
|
418
|
+
/* eslint-disable */ /* tslint:disable */ /*
|
|
419
|
+
* ---------------------------------------------------------------
|
|
420
|
+
* ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##
|
|
421
|
+
* ## ##
|
|
422
|
+
* ## AUTHOR: acacode ##
|
|
423
|
+
* ## SOURCE: https://github.com/acacode/swagger-typescript-api ##
|
|
424
|
+
* ---------------------------------------------------------------
|
|
425
|
+
*/
|
|
426
|
+
|
|
427
|
+
class $bb94d614e4ef5260$export$d3eceb771169d266 {
|
|
428
|
+
constructor(apiClient){
|
|
429
|
+
this.apiClient = apiClient;
|
|
430
|
+
(0, $jl2YG$autobind)(this);
|
|
431
|
+
}
|
|
432
|
+
/**
|
|
433
|
+
* @description Get auth apps
|
|
434
|
+
* @tags auth_apps
|
|
435
|
+
* @name Get
|
|
436
|
+
* @summary Get auth apps
|
|
437
|
+
* @request GET:/v1/auth-apps
|
|
438
|
+
* @secure
|
|
439
|
+
*/ get(config) {
|
|
440
|
+
return this.apiClient.request({
|
|
441
|
+
...config,
|
|
442
|
+
url: `/v1/auth-apps`,
|
|
443
|
+
method: 'GET',
|
|
444
|
+
secure: true,
|
|
445
|
+
responseType: 'json'
|
|
446
|
+
});
|
|
447
|
+
}
|
|
448
|
+
/**
|
|
449
|
+
* @description Delete auth apps
|
|
450
|
+
* @tags auth_apps
|
|
451
|
+
* @name DeleteMany
|
|
452
|
+
* @summary Delete auth apps
|
|
453
|
+
* @request DELETE:/v1/auth-apps
|
|
454
|
+
* @secure
|
|
455
|
+
*/ deleteMany(deleteAuthAppsDto, config) {
|
|
456
|
+
return this.apiClient.request({
|
|
457
|
+
...config,
|
|
458
|
+
url: `/v1/auth-apps`,
|
|
459
|
+
method: 'DELETE',
|
|
460
|
+
data: deleteAuthAppsDto,
|
|
461
|
+
secure: true,
|
|
462
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json
|
|
463
|
+
});
|
|
464
|
+
}
|
|
465
|
+
/**
|
|
466
|
+
* @description Get TOTP registration QR
|
|
467
|
+
* @tags auth_apps
|
|
468
|
+
* @name GetRegistrationQr
|
|
469
|
+
* @summary Get TOTP registration QR
|
|
470
|
+
* @request POST:/v1/auth-apps/totp/registration/qr
|
|
471
|
+
* @secure
|
|
472
|
+
*/ getRegistrationQr(getTotpQRDto, config) {
|
|
473
|
+
return this.apiClient.request({
|
|
474
|
+
...config,
|
|
475
|
+
url: `/v1/auth-apps/totp/registration/qr`,
|
|
476
|
+
method: 'POST',
|
|
477
|
+
data: getTotpQRDto,
|
|
478
|
+
secure: true,
|
|
479
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json
|
|
480
|
+
});
|
|
481
|
+
}
|
|
482
|
+
/**
|
|
483
|
+
* @description Finish TOTP registration
|
|
484
|
+
* @tags auth_apps
|
|
485
|
+
* @name FinishRegistration
|
|
486
|
+
* @summary Finish TOTP registration
|
|
487
|
+
* @request POST:/v1/auth-apps/totp/registration/response
|
|
488
|
+
* @secure
|
|
489
|
+
*/ finishRegistration(finishTOTPRegistrationDto, config) {
|
|
490
|
+
return this.apiClient.request({
|
|
491
|
+
...config,
|
|
492
|
+
url: `/v1/auth-apps/totp/registration/response`,
|
|
493
|
+
method: 'POST',
|
|
494
|
+
data: finishTOTPRegistrationDto,
|
|
495
|
+
secure: true,
|
|
496
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json,
|
|
497
|
+
responseType: 'json'
|
|
498
|
+
});
|
|
499
|
+
}
|
|
500
|
+
/**
|
|
501
|
+
* @description Get WebAuthn login challenge
|
|
502
|
+
* @tags auth_apps
|
|
503
|
+
* @name GetLoginChallenge
|
|
504
|
+
* @summary Get WebAuthn login challenge
|
|
505
|
+
* @request POST:/v1/auth-apps/webauthn/login/request
|
|
506
|
+
*/ getLoginChallenge(getWebAuthnLoginChallengeDto, config) {
|
|
507
|
+
return this.apiClient.request({
|
|
508
|
+
...config,
|
|
509
|
+
url: `/v1/auth-apps/webauthn/login/request`,
|
|
510
|
+
method: 'POST',
|
|
511
|
+
data: getWebAuthnLoginChallengeDto,
|
|
512
|
+
secure: false,
|
|
513
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json,
|
|
514
|
+
responseType: 'json'
|
|
515
|
+
});
|
|
516
|
+
}
|
|
517
|
+
/**
|
|
518
|
+
* @description Get WebAuthn register challenge
|
|
519
|
+
* @tags auth_apps
|
|
520
|
+
* @name GetRegisterChallenge
|
|
521
|
+
* @summary Get WebAuthn register challenge
|
|
522
|
+
* @request POST:/v1/auth-apps/webauthn/registration/request
|
|
523
|
+
* @secure
|
|
524
|
+
*/ getRegisterChallenge(config) {
|
|
525
|
+
return this.apiClient.request({
|
|
526
|
+
...config,
|
|
527
|
+
url: `/v1/auth-apps/webauthn/registration/request`,
|
|
528
|
+
method: 'POST',
|
|
529
|
+
secure: true,
|
|
530
|
+
responseType: 'json'
|
|
531
|
+
});
|
|
532
|
+
}
|
|
533
|
+
/**
|
|
534
|
+
* @description Finish WebAuthn credential registration
|
|
535
|
+
* @tags auth_apps
|
|
536
|
+
* @name FinishCredentialRegistration
|
|
537
|
+
* @summary Finish WebAuthn credential registration
|
|
538
|
+
* @request POST:/v1/auth-apps/webauthn/registration/response
|
|
539
|
+
* @secure
|
|
540
|
+
*/ finishCredentialRegistration(webAuthnRegistrationSolutionDto, config) {
|
|
541
|
+
return this.apiClient.request({
|
|
542
|
+
...config,
|
|
543
|
+
url: `/v1/auth-apps/webauthn/registration/response`,
|
|
544
|
+
method: 'POST',
|
|
545
|
+
data: webAuthnRegistrationSolutionDto,
|
|
546
|
+
secure: true,
|
|
547
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json
|
|
548
|
+
});
|
|
549
|
+
}
|
|
550
|
+
/**
|
|
551
|
+
* @description Register Yubico OTP Key
|
|
552
|
+
* @tags auth_apps
|
|
553
|
+
* @name Register
|
|
554
|
+
* @summary Register Yubico OTP Key
|
|
555
|
+
* @request POST:/v1/auth-apps/yubico/otp/registration
|
|
556
|
+
* @secure
|
|
557
|
+
*/ register(yubicoOTPDto, config) {
|
|
558
|
+
return this.apiClient.request({
|
|
559
|
+
...config,
|
|
560
|
+
url: `/v1/auth-apps/yubico/otp/registration`,
|
|
561
|
+
method: 'POST',
|
|
562
|
+
data: yubicoOTPDto,
|
|
563
|
+
secure: true,
|
|
564
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json
|
|
565
|
+
});
|
|
566
|
+
}
|
|
567
|
+
/**
|
|
568
|
+
* @description Update auth app
|
|
569
|
+
* @tags auth_apps
|
|
570
|
+
* @name Update
|
|
571
|
+
* @summary Update auth app
|
|
572
|
+
* @request PUT:/v1/auth-apps/{id}
|
|
573
|
+
* @secure
|
|
574
|
+
*/ update(id, updateAuthAppDto, config) {
|
|
575
|
+
return this.apiClient.request({
|
|
576
|
+
...config,
|
|
577
|
+
url: `/v1/auth-apps/${id}`,
|
|
578
|
+
method: 'PUT',
|
|
579
|
+
data: updateAuthAppDto,
|
|
580
|
+
secure: true,
|
|
581
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json,
|
|
582
|
+
responseType: 'json'
|
|
583
|
+
});
|
|
584
|
+
}
|
|
585
|
+
}
|
|
586
|
+
|
|
587
|
+
|
|
588
|
+
var $db1907a8e3c09ae4$exports = {};
|
|
589
|
+
|
|
590
|
+
$parcel$export($db1907a8e3c09ae4$exports, "AuthForms", () => $db1907a8e3c09ae4$export$11ae43b56f3f836c);
|
|
591
|
+
/* eslint-disable */ /* tslint:disable */ /*
|
|
592
|
+
* ---------------------------------------------------------------
|
|
593
|
+
* ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##
|
|
594
|
+
* ## ##
|
|
595
|
+
* ## AUTHOR: acacode ##
|
|
596
|
+
* ## SOURCE: https://github.com/acacode/swagger-typescript-api ##
|
|
597
|
+
* ---------------------------------------------------------------
|
|
598
|
+
*/
|
|
599
|
+
|
|
600
|
+
class $db1907a8e3c09ae4$export$11ae43b56f3f836c {
|
|
601
|
+
constructor(apiClient){
|
|
602
|
+
this.apiClient = apiClient;
|
|
603
|
+
(0, $jl2YG$autobind)(this);
|
|
604
|
+
}
|
|
605
|
+
/**
|
|
606
|
+
* @description Create Auth Form
|
|
607
|
+
* @tags auth_forms
|
|
608
|
+
* @name Create
|
|
609
|
+
* @summary Create Auth Form
|
|
610
|
+
* @request POST:/v1/auth-forms
|
|
611
|
+
* @secure
|
|
612
|
+
*/ create(authFormDto, config) {
|
|
613
|
+
return this.apiClient.request({
|
|
614
|
+
...config,
|
|
615
|
+
url: `/v1/auth-forms`,
|
|
616
|
+
method: 'POST',
|
|
617
|
+
data: authFormDto,
|
|
618
|
+
secure: true,
|
|
619
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json,
|
|
620
|
+
responseType: 'json'
|
|
621
|
+
});
|
|
622
|
+
}
|
|
623
|
+
/**
|
|
624
|
+
* @description Delete Auth Forms by ids
|
|
625
|
+
* @tags auth_forms
|
|
626
|
+
* @name DeleteMany
|
|
627
|
+
* @summary Delete Auth Forms by ids
|
|
628
|
+
* @request DELETE:/v1/auth-forms
|
|
629
|
+
* @secure
|
|
630
|
+
*/ deleteMany(deleteAuthFormsDto, config) {
|
|
631
|
+
return this.apiClient.request({
|
|
632
|
+
...config,
|
|
633
|
+
url: `/v1/auth-forms`,
|
|
634
|
+
method: 'DELETE',
|
|
635
|
+
data: deleteAuthFormsDto,
|
|
636
|
+
secure: true,
|
|
637
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json
|
|
638
|
+
});
|
|
639
|
+
}
|
|
640
|
+
/**
|
|
641
|
+
* @description Get Auth Forms with pagination. Available sort fields are `id, branch_id, slug, created_at, updated_at`. Search is performed by slug field
|
|
642
|
+
* @tags auth_forms
|
|
643
|
+
* @name Get
|
|
644
|
+
* @summary Get Auth Forms with pagination
|
|
645
|
+
* @request POST:/v1/auth-forms/list
|
|
646
|
+
* @secure
|
|
647
|
+
*/ get(getAuthFormListDto, config) {
|
|
648
|
+
return this.apiClient.request({
|
|
649
|
+
...config,
|
|
650
|
+
url: `/v1/auth-forms/list`,
|
|
651
|
+
method: 'POST',
|
|
652
|
+
data: getAuthFormListDto,
|
|
653
|
+
secure: true,
|
|
654
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json,
|
|
655
|
+
responseType: 'json'
|
|
656
|
+
});
|
|
657
|
+
}
|
|
658
|
+
/**
|
|
659
|
+
* @description Get Auth Forms by slug
|
|
660
|
+
* @tags auth_forms
|
|
661
|
+
* @name GetBySlug
|
|
662
|
+
* @summary Get Auth Forms by slug
|
|
663
|
+
* @request GET:/v1/auth-forms/public/{slug}
|
|
664
|
+
*/ getBySlug(slug, config) {
|
|
665
|
+
return this.apiClient.request({
|
|
666
|
+
...config,
|
|
667
|
+
url: `/v1/auth-forms/public/${slug}`,
|
|
668
|
+
method: 'GET',
|
|
669
|
+
secure: false,
|
|
670
|
+
responseType: 'json'
|
|
671
|
+
});
|
|
672
|
+
}
|
|
673
|
+
/**
|
|
674
|
+
* @description Get Auth Forms by id
|
|
675
|
+
* @tags auth_forms
|
|
676
|
+
* @name GetById
|
|
677
|
+
* @summary Get Auth Forms by id
|
|
678
|
+
* @request GET:/v1/auth-forms/{id}
|
|
679
|
+
* @secure
|
|
680
|
+
*/ getById(id, config) {
|
|
681
|
+
return this.apiClient.request({
|
|
682
|
+
...config,
|
|
683
|
+
url: `/v1/auth-forms/${id}`,
|
|
684
|
+
method: 'GET',
|
|
685
|
+
secure: true,
|
|
686
|
+
responseType: 'json'
|
|
687
|
+
});
|
|
688
|
+
}
|
|
689
|
+
/**
|
|
690
|
+
* @description Update Auth Form record
|
|
691
|
+
* @tags auth_forms
|
|
692
|
+
* @name Update
|
|
693
|
+
* @summary Update Auth Form record
|
|
694
|
+
* @request PUT:/v1/auth-forms/{id}
|
|
695
|
+
* @secure
|
|
696
|
+
*/ update(id, authFormDto, config) {
|
|
697
|
+
return this.apiClient.request({
|
|
698
|
+
...config,
|
|
699
|
+
url: `/v1/auth-forms/${id}`,
|
|
700
|
+
method: 'PUT',
|
|
701
|
+
data: authFormDto,
|
|
702
|
+
secure: true,
|
|
703
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json,
|
|
704
|
+
responseType: 'json'
|
|
705
|
+
});
|
|
706
|
+
}
|
|
707
|
+
}
|
|
708
|
+
|
|
709
|
+
|
|
710
|
+
var $401f0b0e04e123cd$exports = {};
|
|
711
|
+
|
|
712
|
+
$parcel$export($401f0b0e04e123cd$exports, "B2BAuth", () => $401f0b0e04e123cd$export$d0994445e90c353b);
|
|
713
|
+
/* eslint-disable */ /* tslint:disable */ /*
|
|
714
|
+
* ---------------------------------------------------------------
|
|
715
|
+
* ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##
|
|
716
|
+
* ## ##
|
|
717
|
+
* ## AUTHOR: acacode ##
|
|
718
|
+
* ## SOURCE: https://github.com/acacode/swagger-typescript-api ##
|
|
719
|
+
* ---------------------------------------------------------------
|
|
720
|
+
*/
|
|
721
|
+
|
|
722
|
+
class $401f0b0e04e123cd$export$d0994445e90c353b {
|
|
723
|
+
constructor(apiClient){
|
|
724
|
+
this.apiClient = apiClient;
|
|
725
|
+
(0, $jl2YG$autobind)(this);
|
|
726
|
+
}
|
|
727
|
+
/**
|
|
728
|
+
* @description Get current B2B user info by access token.
|
|
729
|
+
* @tags b2b_auth
|
|
730
|
+
* @name GetCurrent
|
|
731
|
+
* @summary Get current B2B user info by access token
|
|
732
|
+
* @request GET:/v1/auth/b2b/current
|
|
733
|
+
* @secure
|
|
734
|
+
*/ getCurrent(config) {
|
|
735
|
+
return this.apiClient.request({
|
|
736
|
+
...config,
|
|
737
|
+
url: `/v1/auth/b2b/current`,
|
|
738
|
+
method: 'GET',
|
|
739
|
+
secure: true,
|
|
740
|
+
responseType: 'json'
|
|
741
|
+
});
|
|
742
|
+
}
|
|
743
|
+
/**
|
|
744
|
+
* @description Login B2B user by API Keys
|
|
745
|
+
* @tags b2b_auth
|
|
746
|
+
* @name ApiKeysLogin
|
|
747
|
+
* @summary Login B2B user by API Keys
|
|
748
|
+
* @request POST:/v1/auth/b2b/login/api-keys
|
|
749
|
+
*/ apiKeysLogin(apiKeysLoginParams, config) {
|
|
750
|
+
return this.apiClient.request({
|
|
751
|
+
...config,
|
|
752
|
+
url: `/v1/auth/b2b/login/api-keys`,
|
|
753
|
+
method: 'POST',
|
|
754
|
+
data: apiKeysLoginParams,
|
|
755
|
+
secure: false,
|
|
756
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json,
|
|
757
|
+
responseType: 'json'
|
|
758
|
+
});
|
|
759
|
+
}
|
|
760
|
+
/**
|
|
761
|
+
* @description Login B2B user by email/password.
|
|
762
|
+
* @tags b2b_auth
|
|
763
|
+
* @name BasicLogin
|
|
764
|
+
* @summary Login B2B user by email/password
|
|
765
|
+
* @request POST:/v1/auth/b2b/login/basic
|
|
766
|
+
*/ basicLogin(basicLoginParams, headers, config) {
|
|
767
|
+
return this.apiClient.request({
|
|
768
|
+
...config,
|
|
769
|
+
url: `/v1/auth/b2b/login/basic`,
|
|
770
|
+
method: 'POST',
|
|
771
|
+
data: basicLoginParams,
|
|
772
|
+
secure: false,
|
|
773
|
+
headers: headers,
|
|
774
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json,
|
|
775
|
+
responseType: 'json'
|
|
776
|
+
});
|
|
777
|
+
}
|
|
778
|
+
/**
|
|
779
|
+
* @description logout from B2B user session
|
|
780
|
+
* @tags b2b_auth
|
|
781
|
+
* @name Logout
|
|
782
|
+
* @summary logout from B2B user session
|
|
783
|
+
* @request DELETE:/v1/auth/b2b/logout
|
|
784
|
+
*/ logout(B2BLogoutParams, config) {
|
|
785
|
+
return this.apiClient.request({
|
|
786
|
+
...config,
|
|
787
|
+
url: `/v1/auth/b2b/logout`,
|
|
788
|
+
method: 'DELETE',
|
|
789
|
+
data: B2BLogoutParams,
|
|
790
|
+
secure: false,
|
|
791
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json
|
|
792
|
+
});
|
|
793
|
+
}
|
|
794
|
+
/**
|
|
795
|
+
* @description Refresh B2B user token pair
|
|
796
|
+
* @tags b2b_auth
|
|
797
|
+
* @name RefreshTokens
|
|
798
|
+
* @summary Refresh B2B user token pair
|
|
799
|
+
* @request POST:/v1/auth/b2b/refresh
|
|
800
|
+
*/ refreshTokens(B2BRefreshParams, config) {
|
|
801
|
+
return this.apiClient.request({
|
|
802
|
+
...config,
|
|
803
|
+
url: `/v1/auth/b2b/refresh`,
|
|
804
|
+
method: 'POST',
|
|
805
|
+
data: B2BRefreshParams,
|
|
806
|
+
secure: false,
|
|
807
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json,
|
|
808
|
+
responseType: 'json'
|
|
809
|
+
});
|
|
810
|
+
}
|
|
811
|
+
/**
|
|
812
|
+
* @description Reset B2B user password
|
|
813
|
+
* @tags b2b_auth
|
|
814
|
+
* @name ResetPassword
|
|
815
|
+
* @summary Reset B2B user password
|
|
816
|
+
* @request PUT:/v1/auth/b2b/reset-password
|
|
817
|
+
*/ resetPassword(B2BResetPasswordParams, headers, config) {
|
|
818
|
+
return this.apiClient.request({
|
|
819
|
+
...config,
|
|
820
|
+
url: `/v1/auth/b2b/reset-password`,
|
|
821
|
+
method: 'PUT',
|
|
822
|
+
data: B2BResetPasswordParams,
|
|
823
|
+
secure: false,
|
|
824
|
+
headers: headers,
|
|
825
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json,
|
|
826
|
+
responseType: 'json'
|
|
827
|
+
});
|
|
828
|
+
}
|
|
829
|
+
/**
|
|
830
|
+
* @description Send MFA code for B2B user
|
|
831
|
+
* @tags b2b_auth
|
|
832
|
+
* @name SendMfaCode
|
|
833
|
+
* @summary Send MFA code for B2B user
|
|
834
|
+
* @request PUT:/v1/auth/b2b/send-mfa-code
|
|
835
|
+
*/ sendMfaCode(SendB2BMfaCodeDto, config) {
|
|
836
|
+
return this.apiClient.request({
|
|
837
|
+
...config,
|
|
838
|
+
url: `/v1/auth/b2b/send-mfa-code`,
|
|
839
|
+
method: 'PUT',
|
|
840
|
+
data: SendB2BMfaCodeDto,
|
|
841
|
+
secure: false,
|
|
842
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json
|
|
843
|
+
});
|
|
844
|
+
}
|
|
845
|
+
/**
|
|
846
|
+
* @description Send reset password code for B2B user
|
|
847
|
+
* @tags b2b_auth
|
|
848
|
+
* @name SendResetPasswordCode
|
|
849
|
+
* @summary Send reset password code for B2B user
|
|
850
|
+
* @request PUT:/v1/auth/b2b/send-reset-password-code
|
|
851
|
+
*/ sendResetPasswordCode(B2BSendResetPasswordCodeParams, config) {
|
|
852
|
+
return this.apiClient.request({
|
|
853
|
+
...config,
|
|
854
|
+
url: `/v1/auth/b2b/send-reset-password-code`,
|
|
855
|
+
method: 'PUT',
|
|
856
|
+
data: B2BSendResetPasswordCodeParams,
|
|
857
|
+
secure: false,
|
|
858
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json
|
|
859
|
+
});
|
|
860
|
+
}
|
|
861
|
+
}
|
|
862
|
+
|
|
863
|
+
|
|
864
|
+
var $a5c5ece2fd313859$exports = {};
|
|
865
|
+
|
|
866
|
+
$parcel$export($a5c5ece2fd313859$exports, "B2BUsers", () => $a5c5ece2fd313859$export$9f8c8ef54665205);
|
|
867
|
+
/* eslint-disable */ /* tslint:disable */ /*
|
|
868
|
+
* ---------------------------------------------------------------
|
|
869
|
+
* ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##
|
|
870
|
+
* ## ##
|
|
871
|
+
* ## AUTHOR: acacode ##
|
|
872
|
+
* ## SOURCE: https://github.com/acacode/swagger-typescript-api ##
|
|
873
|
+
* ---------------------------------------------------------------
|
|
874
|
+
*/
|
|
875
|
+
|
|
876
|
+
class $a5c5ece2fd313859$export$9f8c8ef54665205 {
|
|
877
|
+
constructor(apiClient){
|
|
878
|
+
this.apiClient = apiClient;
|
|
879
|
+
(0, $jl2YG$autobind)(this);
|
|
880
|
+
}
|
|
881
|
+
/**
|
|
882
|
+
* @description Delete B2B user by id
|
|
883
|
+
* @tags b2b_users
|
|
884
|
+
* @name DeleteMany
|
|
885
|
+
* @summary Delete B2B user by id
|
|
886
|
+
* @request DELETE:/v1/users/b2b
|
|
887
|
+
* @secure
|
|
888
|
+
*/ deleteMany(deleteB2BUsers, config) {
|
|
889
|
+
return this.apiClient.request({
|
|
890
|
+
...config,
|
|
891
|
+
url: `/v1/users/b2b`,
|
|
892
|
+
method: 'DELETE',
|
|
893
|
+
data: deleteB2BUsers,
|
|
894
|
+
secure: true,
|
|
895
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json
|
|
896
|
+
});
|
|
897
|
+
}
|
|
898
|
+
/**
|
|
899
|
+
* @description Get B2B User by id
|
|
900
|
+
* @tags b2b_users
|
|
901
|
+
* @name GetById
|
|
902
|
+
* @summary Get B2B User by id
|
|
903
|
+
* @request GET:/v1/users/b2b/{id}
|
|
904
|
+
* @secure
|
|
905
|
+
*/ getById(id, config) {
|
|
906
|
+
return this.apiClient.request({
|
|
907
|
+
...config,
|
|
908
|
+
url: `/v1/users/b2b/${id}`,
|
|
909
|
+
method: 'GET',
|
|
910
|
+
secure: true,
|
|
911
|
+
responseType: 'json'
|
|
912
|
+
});
|
|
913
|
+
}
|
|
914
|
+
/**
|
|
915
|
+
* @description Change B2B User status
|
|
916
|
+
* @tags b2b_users
|
|
917
|
+
* @name ChangeStatus
|
|
918
|
+
* @summary Change B2B User status
|
|
919
|
+
* @request PATCH:/v1/users/b2b/{id}/status
|
|
920
|
+
* @secure
|
|
921
|
+
*/ changeStatus(id, changeUserStatus, config) {
|
|
922
|
+
return this.apiClient.request({
|
|
923
|
+
...config,
|
|
924
|
+
url: `/v1/users/b2b/${id}/status`,
|
|
925
|
+
method: 'PATCH',
|
|
926
|
+
data: changeUserStatus,
|
|
927
|
+
secure: true,
|
|
928
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json
|
|
929
|
+
});
|
|
930
|
+
}
|
|
931
|
+
/**
|
|
932
|
+
* @description Create B2B User
|
|
933
|
+
* @tags b2b_users
|
|
934
|
+
* @name Create
|
|
935
|
+
* @summary Create B2B User
|
|
936
|
+
* @request POST:/v2/users/b2b
|
|
937
|
+
* @secure
|
|
938
|
+
*/ create(createB2BUser, config) {
|
|
939
|
+
return this.apiClient.request({
|
|
940
|
+
...config,
|
|
941
|
+
url: `/v2/users/b2b`,
|
|
942
|
+
method: 'POST',
|
|
943
|
+
data: createB2BUser,
|
|
944
|
+
secure: true,
|
|
945
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json,
|
|
946
|
+
responseType: 'json'
|
|
947
|
+
});
|
|
948
|
+
}
|
|
949
|
+
/**
|
|
950
|
+
* @description Get B2B users with pagination
|
|
951
|
+
* @tags b2b_users
|
|
952
|
+
* @name Get
|
|
953
|
+
* @summary Get B2B users with pagination
|
|
954
|
+
* @request POST:/v2/users/b2b/list
|
|
955
|
+
* @secure
|
|
956
|
+
*/ get(getB2BUsers, config) {
|
|
957
|
+
return this.apiClient.request({
|
|
958
|
+
...config,
|
|
959
|
+
url: `/v2/users/b2b/list`,
|
|
960
|
+
method: 'POST',
|
|
961
|
+
data: getB2BUsers,
|
|
962
|
+
secure: true,
|
|
963
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json,
|
|
964
|
+
responseType: 'json'
|
|
965
|
+
});
|
|
966
|
+
}
|
|
967
|
+
/**
|
|
968
|
+
* @description Update B2B User
|
|
969
|
+
* @tags b2b_users
|
|
970
|
+
* @name Update
|
|
971
|
+
* @summary Update B2B User
|
|
972
|
+
* @request PUT:/v2/users/b2b/{id}
|
|
973
|
+
* @secure
|
|
974
|
+
*/ update(id, createB2BUserNew, config) {
|
|
975
|
+
return this.apiClient.request({
|
|
976
|
+
...config,
|
|
977
|
+
url: `/v2/users/b2b/${id}`,
|
|
978
|
+
method: 'PUT',
|
|
979
|
+
data: createB2BUserNew,
|
|
980
|
+
secure: true,
|
|
981
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json,
|
|
982
|
+
responseType: 'json'
|
|
983
|
+
});
|
|
984
|
+
}
|
|
985
|
+
}
|
|
986
|
+
|
|
987
|
+
|
|
988
|
+
var $a6a9c87b9ddec2e5$exports = {};
|
|
989
|
+
|
|
990
|
+
$parcel$export($a6a9c87b9ddec2e5$exports, "B2BUserSettings", () => $a6a9c87b9ddec2e5$export$cdea59308760ada2);
|
|
991
|
+
/* eslint-disable */ /* tslint:disable */ /*
|
|
992
|
+
* ---------------------------------------------------------------
|
|
993
|
+
* ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##
|
|
994
|
+
* ## ##
|
|
995
|
+
* ## AUTHOR: acacode ##
|
|
996
|
+
* ## SOURCE: https://github.com/acacode/swagger-typescript-api ##
|
|
997
|
+
* ---------------------------------------------------------------
|
|
998
|
+
*/
|
|
999
|
+
|
|
1000
|
+
class $a6a9c87b9ddec2e5$export$cdea59308760ada2 {
|
|
1001
|
+
constructor(apiClient){
|
|
1002
|
+
this.apiClient = apiClient;
|
|
1003
|
+
(0, $jl2YG$autobind)(this);
|
|
1004
|
+
}
|
|
1005
|
+
/**
|
|
1006
|
+
* @description Set B2B User Settings ReCAPTCHA code is required in following cases (if proper Debug-Token was not provided): 1. User changes email 2. User changes password 3. User changes/verifies phone number
|
|
1007
|
+
* @tags b2b_user_settings
|
|
1008
|
+
* @name SetUserSettings
|
|
1009
|
+
* @summary Set B2B User Settings
|
|
1010
|
+
* @request PUT:/v1/b2b/settings
|
|
1011
|
+
* @secure
|
|
1012
|
+
*/ setUserSettings(setB2BUserSettings, headers, config) {
|
|
1013
|
+
return this.apiClient.request({
|
|
1014
|
+
...config,
|
|
1015
|
+
url: `/v1/b2b/settings`,
|
|
1016
|
+
method: 'PUT',
|
|
1017
|
+
data: setB2BUserSettings,
|
|
1018
|
+
secure: true,
|
|
1019
|
+
headers: headers,
|
|
1020
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json,
|
|
1021
|
+
responseType: 'json'
|
|
1022
|
+
});
|
|
1023
|
+
}
|
|
1024
|
+
/**
|
|
1025
|
+
* @description Upload avatar for B2B user
|
|
1026
|
+
* @tags b2b_user_settings
|
|
1027
|
+
* @name UploadAvatar
|
|
1028
|
+
* @summary Upload avatar for B2B user
|
|
1029
|
+
* @request PUT:/v1/b2b/settings/avatar
|
|
1030
|
+
* @secure
|
|
1031
|
+
*/ uploadAvatar(data, config) {
|
|
1032
|
+
return this.apiClient.request({
|
|
1033
|
+
...config,
|
|
1034
|
+
url: `/v1/b2b/settings/avatar`,
|
|
1035
|
+
method: 'PUT',
|
|
1036
|
+
data: data,
|
|
1037
|
+
secure: true,
|
|
1038
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).FormData
|
|
1039
|
+
});
|
|
1040
|
+
}
|
|
1041
|
+
/**
|
|
1042
|
+
* @description Send B2B user contact change code
|
|
1043
|
+
* @tags b2b_user_settings
|
|
1044
|
+
* @name SendContactChangeCode
|
|
1045
|
+
* @summary Send B2B user contact change code
|
|
1046
|
+
* @request POST:/v1/b2b/settings/codes
|
|
1047
|
+
* @secure
|
|
1048
|
+
*/ sendContactChangeCode(b2bSendContactChangeCodeDto, headers, config) {
|
|
1049
|
+
return this.apiClient.request({
|
|
1050
|
+
...config,
|
|
1051
|
+
url: `/v1/b2b/settings/codes`,
|
|
1052
|
+
method: 'POST',
|
|
1053
|
+
data: b2bSendContactChangeCodeDto,
|
|
1054
|
+
secure: true,
|
|
1055
|
+
headers: headers,
|
|
1056
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json
|
|
1057
|
+
});
|
|
1058
|
+
}
|
|
1059
|
+
}
|
|
1060
|
+
|
|
1061
|
+
|
|
1062
|
+
var $3ff0bde1f782f406$exports = {};
|
|
1063
|
+
|
|
1064
|
+
$parcel$export($3ff0bde1f782f406$exports, "B2CAuth", () => $3ff0bde1f782f406$export$191c573f104d53f4);
|
|
1065
|
+
/* eslint-disable */ /* tslint:disable */ /*
|
|
1066
|
+
* ---------------------------------------------------------------
|
|
1067
|
+
* ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##
|
|
1068
|
+
* ## ##
|
|
1069
|
+
* ## AUTHOR: acacode ##
|
|
1070
|
+
* ## SOURCE: https://github.com/acacode/swagger-typescript-api ##
|
|
1071
|
+
* ---------------------------------------------------------------
|
|
1072
|
+
*/
|
|
1073
|
+
|
|
1074
|
+
class $3ff0bde1f782f406$export$191c573f104d53f4 {
|
|
1075
|
+
constructor(apiClient){
|
|
1076
|
+
this.apiClient = apiClient;
|
|
1077
|
+
(0, $jl2YG$autobind)(this);
|
|
1078
|
+
}
|
|
1079
|
+
/**
|
|
1080
|
+
* @description Get current B2C user info by access token.
|
|
1081
|
+
* @tags b2c_auth
|
|
1082
|
+
* @name GetCurrent
|
|
1083
|
+
* @summary Get current B2C user info by access token
|
|
1084
|
+
* @request GET:/v1/auth/b2c/current
|
|
1085
|
+
* @secure
|
|
1086
|
+
*/ getCurrent(config) {
|
|
1087
|
+
return this.apiClient.request({
|
|
1088
|
+
...config,
|
|
1089
|
+
url: `/v1/auth/b2c/current`,
|
|
1090
|
+
method: 'GET',
|
|
1091
|
+
secure: true,
|
|
1092
|
+
responseType: 'json'
|
|
1093
|
+
});
|
|
1094
|
+
}
|
|
1095
|
+
/**
|
|
1096
|
+
* @description Initialize Apple OAuth2 Login
|
|
1097
|
+
* @tags b2c_auth
|
|
1098
|
+
* @name InitAppleLogin
|
|
1099
|
+
* @summary Initialize Apple OAuth2 Login
|
|
1100
|
+
* @request POST:/v1/auth/b2c/login/apple
|
|
1101
|
+
*/ initAppleLogin(initOAuthLoginDto, headers, config) {
|
|
1102
|
+
return this.apiClient.request({
|
|
1103
|
+
...config,
|
|
1104
|
+
url: `/v1/auth/b2c/login/apple`,
|
|
1105
|
+
method: 'POST',
|
|
1106
|
+
data: initOAuthLoginDto,
|
|
1107
|
+
secure: false,
|
|
1108
|
+
headers: headers,
|
|
1109
|
+
responseType: 'json'
|
|
1110
|
+
});
|
|
1111
|
+
}
|
|
1112
|
+
/**
|
|
1113
|
+
* @description Finish Apple OAuth2 Login
|
|
1114
|
+
* @tags b2c_auth
|
|
1115
|
+
* @name FinishAppleLogin
|
|
1116
|
+
* @summary Finish Apple OAuth2 Login
|
|
1117
|
+
* @request POST:/v1/auth/b2c/login/apple/callback
|
|
1118
|
+
*/ finishAppleLogin(finishOAuthLoginDto, config) {
|
|
1119
|
+
return this.apiClient.request({
|
|
1120
|
+
...config,
|
|
1121
|
+
url: `/v1/auth/b2c/login/apple/callback`,
|
|
1122
|
+
method: 'POST',
|
|
1123
|
+
data: finishOAuthLoginDto,
|
|
1124
|
+
secure: false,
|
|
1125
|
+
responseType: 'json'
|
|
1126
|
+
});
|
|
1127
|
+
}
|
|
1128
|
+
/**
|
|
1129
|
+
* @description Login B2C user by email/password.
|
|
1130
|
+
* @tags b2c_auth
|
|
1131
|
+
* @name BasicLogin
|
|
1132
|
+
* @summary Login B2C user by email/password
|
|
1133
|
+
* @request POST:/v1/auth/b2c/login/basic
|
|
1134
|
+
*/ basicLogin(basicLoginParams, headers, config) {
|
|
1135
|
+
return this.apiClient.request({
|
|
1136
|
+
...config,
|
|
1137
|
+
url: `/v1/auth/b2c/login/basic`,
|
|
1138
|
+
method: 'POST',
|
|
1139
|
+
data: basicLoginParams,
|
|
1140
|
+
secure: false,
|
|
1141
|
+
headers: headers,
|
|
1142
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json,
|
|
1143
|
+
responseType: 'json'
|
|
1144
|
+
});
|
|
1145
|
+
}
|
|
1146
|
+
/**
|
|
1147
|
+
* @description Initialize Google OAuth2 Login
|
|
1148
|
+
* @tags b2c_auth
|
|
1149
|
+
* @name InitGoogleLogin
|
|
1150
|
+
* @summary Initialize Google OAuth2 Login
|
|
1151
|
+
* @request POST:/v1/auth/b2c/login/google
|
|
1152
|
+
*/ initGoogleLogin(initOAuthLoginDto, headers, config) {
|
|
1153
|
+
return this.apiClient.request({
|
|
1154
|
+
...config,
|
|
1155
|
+
url: `/v1/auth/b2c/login/google`,
|
|
1156
|
+
method: 'POST',
|
|
1157
|
+
data: initOAuthLoginDto,
|
|
1158
|
+
secure: false,
|
|
1159
|
+
headers: headers,
|
|
1160
|
+
responseType: 'json'
|
|
1161
|
+
});
|
|
1162
|
+
}
|
|
1163
|
+
/**
|
|
1164
|
+
* @description Finish Google OAuth2 Login
|
|
1165
|
+
* @tags b2c_auth
|
|
1166
|
+
* @name FinishGoogleLogin
|
|
1167
|
+
* @summary Finish Google OAuth2 Login
|
|
1168
|
+
* @request POST:/v1/auth/b2c/login/google/callback
|
|
1169
|
+
*/ finishGoogleLogin(finishOAuthLoginDto, config) {
|
|
1170
|
+
return this.apiClient.request({
|
|
1171
|
+
...config,
|
|
1172
|
+
url: `/v1/auth/b2c/login/google/callback`,
|
|
1173
|
+
method: 'POST',
|
|
1174
|
+
data: finishOAuthLoginDto,
|
|
1175
|
+
secure: false,
|
|
1176
|
+
responseType: 'json'
|
|
1177
|
+
});
|
|
1178
|
+
}
|
|
1179
|
+
/**
|
|
1180
|
+
* @description logout from B2C user session
|
|
1181
|
+
* @tags b2c_auth
|
|
1182
|
+
* @name Logout
|
|
1183
|
+
* @summary logout from B2C user session
|
|
1184
|
+
* @request DELETE:/v1/auth/b2c/logout
|
|
1185
|
+
*/ logout(B2CLogoutParams, config) {
|
|
1186
|
+
return this.apiClient.request({
|
|
1187
|
+
...config,
|
|
1188
|
+
url: `/v1/auth/b2c/logout`,
|
|
1189
|
+
method: 'DELETE',
|
|
1190
|
+
data: B2CLogoutParams,
|
|
1191
|
+
secure: false,
|
|
1192
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json
|
|
1193
|
+
});
|
|
1194
|
+
}
|
|
1195
|
+
/**
|
|
1196
|
+
* @description Refresh B2C user token pair
|
|
1197
|
+
* @tags b2c_auth
|
|
1198
|
+
* @name RefreshTokens
|
|
1199
|
+
* @summary Refresh B2C user token pair
|
|
1200
|
+
* @request POST:/v1/auth/b2c/refresh
|
|
1201
|
+
*/ refreshTokens(b2cRefreshDto, headers, config) {
|
|
1202
|
+
return this.apiClient.request({
|
|
1203
|
+
...config,
|
|
1204
|
+
url: `/v1/auth/b2c/refresh`,
|
|
1205
|
+
method: 'POST',
|
|
1206
|
+
data: b2cRefreshDto,
|
|
1207
|
+
secure: false,
|
|
1208
|
+
headers: headers,
|
|
1209
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json,
|
|
1210
|
+
responseType: 'json'
|
|
1211
|
+
});
|
|
1212
|
+
}
|
|
1213
|
+
/**
|
|
1214
|
+
* @description Register new B2C user. This endpoint should be used for Web GUI only
|
|
1215
|
+
* @tags b2c_auth
|
|
1216
|
+
* @name Register
|
|
1217
|
+
* @summary Register new B2C user
|
|
1218
|
+
* @request POST:/v1/auth/b2c/register
|
|
1219
|
+
*/ register(registrationParams, headers, config) {
|
|
1220
|
+
return this.apiClient.request({
|
|
1221
|
+
...config,
|
|
1222
|
+
url: `/v1/auth/b2c/register`,
|
|
1223
|
+
method: 'POST',
|
|
1224
|
+
data: registrationParams,
|
|
1225
|
+
secure: false,
|
|
1226
|
+
headers: headers,
|
|
1227
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json,
|
|
1228
|
+
responseType: 'json'
|
|
1229
|
+
});
|
|
1230
|
+
}
|
|
1231
|
+
/**
|
|
1232
|
+
* @description Reset B2C user password
|
|
1233
|
+
* @tags b2c_auth
|
|
1234
|
+
* @name ResetPassword
|
|
1235
|
+
* @summary Reset B2C user password
|
|
1236
|
+
* @request PUT:/v1/auth/b2c/reset-password
|
|
1237
|
+
*/ resetPassword(B2CResetPasswordParams, headers, config) {
|
|
1238
|
+
return this.apiClient.request({
|
|
1239
|
+
...config,
|
|
1240
|
+
url: `/v1/auth/b2c/reset-password`,
|
|
1241
|
+
method: 'PUT',
|
|
1242
|
+
data: B2CResetPasswordParams,
|
|
1243
|
+
secure: false,
|
|
1244
|
+
headers: headers,
|
|
1245
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json
|
|
1246
|
+
});
|
|
1247
|
+
}
|
|
1248
|
+
/**
|
|
1249
|
+
* @description Send MFA code for B2C user
|
|
1250
|
+
* @tags b2c_auth
|
|
1251
|
+
* @name SendMfaCode
|
|
1252
|
+
* @summary Send MFA code for B2C user
|
|
1253
|
+
* @request PUT:/v1/auth/b2c/send-mfa-code
|
|
1254
|
+
*/ sendMfaCode(SendB2CMfaCodeDto, headers, config) {
|
|
1255
|
+
return this.apiClient.request({
|
|
1256
|
+
...config,
|
|
1257
|
+
url: `/v1/auth/b2c/send-mfa-code`,
|
|
1258
|
+
method: 'PUT',
|
|
1259
|
+
data: SendB2CMfaCodeDto,
|
|
1260
|
+
secure: false,
|
|
1261
|
+
headers: headers,
|
|
1262
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json
|
|
1263
|
+
});
|
|
1264
|
+
}
|
|
1265
|
+
/**
|
|
1266
|
+
* @description Send reset password code for B2C user
|
|
1267
|
+
* @tags b2c_auth
|
|
1268
|
+
* @name SendResetPasswordCode
|
|
1269
|
+
* @summary Send reset password code for B2C user
|
|
1270
|
+
* @request PUT:/v1/auth/b2c/send-reset-password-code
|
|
1271
|
+
*/ sendResetPasswordCode(B2CSendResetPasswordCodeParams, config) {
|
|
1272
|
+
return this.apiClient.request({
|
|
1273
|
+
...config,
|
|
1274
|
+
url: `/v1/auth/b2c/send-reset-password-code`,
|
|
1275
|
+
method: 'PUT',
|
|
1276
|
+
data: B2CSendResetPasswordCodeParams,
|
|
1277
|
+
secure: false,
|
|
1278
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json
|
|
1279
|
+
});
|
|
1280
|
+
}
|
|
1281
|
+
/**
|
|
1282
|
+
* @description Send verification code for B2C user
|
|
1283
|
+
* @tags b2c_auth
|
|
1284
|
+
* @name SendVerificationCode
|
|
1285
|
+
* @summary Send verification code for B2C user
|
|
1286
|
+
* @request PUT:/v1/auth/b2c/send-verification-code
|
|
1287
|
+
*/ sendVerificationCode(B2CSendVerificationCodeDto, headers, config) {
|
|
1288
|
+
return this.apiClient.request({
|
|
1289
|
+
...config,
|
|
1290
|
+
url: `/v1/auth/b2c/send-verification-code`,
|
|
1291
|
+
method: 'PUT',
|
|
1292
|
+
data: B2CSendVerificationCodeDto,
|
|
1293
|
+
secure: false,
|
|
1294
|
+
headers: headers,
|
|
1295
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json
|
|
1296
|
+
});
|
|
1297
|
+
}
|
|
1298
|
+
/**
|
|
1299
|
+
* @description Verify contact for B2C user
|
|
1300
|
+
* @tags b2c_auth
|
|
1301
|
+
* @name VerifyContact
|
|
1302
|
+
* @summary Verify contact for B2C user
|
|
1303
|
+
* @request PUT:/v1/auth/b2c/verify
|
|
1304
|
+
*/ verifyContact(VerifyContactDto, headers, config) {
|
|
1305
|
+
return this.apiClient.request({
|
|
1306
|
+
...config,
|
|
1307
|
+
url: `/v1/auth/b2c/verify`,
|
|
1308
|
+
method: 'PUT',
|
|
1309
|
+
data: VerifyContactDto,
|
|
1310
|
+
secure: false,
|
|
1311
|
+
headers: headers,
|
|
1312
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json
|
|
1313
|
+
});
|
|
1314
|
+
}
|
|
1315
|
+
}
|
|
1316
|
+
|
|
1317
|
+
|
|
1318
|
+
var $355043b843d8d159$exports = {};
|
|
1319
|
+
|
|
1320
|
+
$parcel$export($355043b843d8d159$exports, "B2CUsers", () => $355043b843d8d159$export$50c35e5cd2b1a04b);
|
|
1321
|
+
/* eslint-disable */ /* tslint:disable */ /*
|
|
1322
|
+
* ---------------------------------------------------------------
|
|
1323
|
+
* ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##
|
|
1324
|
+
* ## ##
|
|
1325
|
+
* ## AUTHOR: acacode ##
|
|
1326
|
+
* ## SOURCE: https://github.com/acacode/swagger-typescript-api ##
|
|
1327
|
+
* ---------------------------------------------------------------
|
|
1328
|
+
*/
|
|
1329
|
+
|
|
1330
|
+
class $355043b843d8d159$export$50c35e5cd2b1a04b {
|
|
1331
|
+
constructor(apiClient){
|
|
1332
|
+
this.apiClient = apiClient;
|
|
1333
|
+
(0, $jl2YG$autobind)(this);
|
|
1334
|
+
}
|
|
1335
|
+
/**
|
|
1336
|
+
* @description Create B2C User
|
|
1337
|
+
* @tags b2c_users
|
|
1338
|
+
* @name Create
|
|
1339
|
+
* @summary Create B2C User
|
|
1340
|
+
* @request POST:/v1/users/b2c
|
|
1341
|
+
* @secure
|
|
1342
|
+
*/ create(createB2CUser, config) {
|
|
1343
|
+
return this.apiClient.request({
|
|
1344
|
+
...config,
|
|
1345
|
+
url: `/v1/users/b2c`,
|
|
1346
|
+
method: 'POST',
|
|
1347
|
+
data: createB2CUser,
|
|
1348
|
+
secure: true,
|
|
1349
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json,
|
|
1350
|
+
responseType: 'json'
|
|
1351
|
+
});
|
|
1352
|
+
}
|
|
1353
|
+
/**
|
|
1354
|
+
* @description Delete B2C user by id
|
|
1355
|
+
* @tags b2c_users
|
|
1356
|
+
* @name DeleteMany
|
|
1357
|
+
* @summary Delete B2C user by id
|
|
1358
|
+
* @request DELETE:/v1/users/b2c
|
|
1359
|
+
* @secure
|
|
1360
|
+
*/ deleteMany(deleteB2CUsers, config) {
|
|
1361
|
+
return this.apiClient.request({
|
|
1362
|
+
...config,
|
|
1363
|
+
url: `/v1/users/b2c`,
|
|
1364
|
+
method: 'DELETE',
|
|
1365
|
+
data: deleteB2CUsers,
|
|
1366
|
+
secure: true,
|
|
1367
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json
|
|
1368
|
+
});
|
|
1369
|
+
}
|
|
1370
|
+
/**
|
|
1371
|
+
* @description Get B2C User by id
|
|
1372
|
+
* @tags b2c_users
|
|
1373
|
+
* @name GetById
|
|
1374
|
+
* @summary Get B2C User by id
|
|
1375
|
+
* @request GET:/v1/users/b2c/{id}
|
|
1376
|
+
* @secure
|
|
1377
|
+
*/ getById(id, config) {
|
|
1378
|
+
return this.apiClient.request({
|
|
1379
|
+
...config,
|
|
1380
|
+
url: `/v1/users/b2c/${id}`,
|
|
1381
|
+
method: 'GET',
|
|
1382
|
+
secure: true,
|
|
1383
|
+
responseType: 'json'
|
|
1384
|
+
});
|
|
1385
|
+
}
|
|
1386
|
+
/**
|
|
1387
|
+
* @description Update B2C User
|
|
1388
|
+
* @tags b2c_users
|
|
1389
|
+
* @name Update
|
|
1390
|
+
* @summary Update B2C User
|
|
1391
|
+
* @request PUT:/v1/users/b2c/{id}
|
|
1392
|
+
* @secure
|
|
1393
|
+
*/ update(id, createB2BUser, config) {
|
|
1394
|
+
return this.apiClient.request({
|
|
1395
|
+
...config,
|
|
1396
|
+
url: `/v1/users/b2c/${id}`,
|
|
1397
|
+
method: 'PUT',
|
|
1398
|
+
data: createB2BUser,
|
|
1399
|
+
secure: true,
|
|
1400
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json,
|
|
1401
|
+
responseType: 'json'
|
|
1402
|
+
});
|
|
1403
|
+
}
|
|
1404
|
+
/**
|
|
1405
|
+
* @description Change B2C User status
|
|
1406
|
+
* @tags b2c_users
|
|
1407
|
+
* @name ChangeStatus
|
|
1408
|
+
* @summary Change B2C User status
|
|
1409
|
+
* @request PATCH:/v1/users/b2c/{id}/status
|
|
1410
|
+
* @secure
|
|
1411
|
+
*/ changeStatus(id, changeUserStatus, config) {
|
|
1412
|
+
return this.apiClient.request({
|
|
1413
|
+
...config,
|
|
1414
|
+
url: `/v1/users/b2c/${id}/status`,
|
|
1415
|
+
method: 'PATCH',
|
|
1416
|
+
data: changeUserStatus,
|
|
1417
|
+
secure: true,
|
|
1418
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json
|
|
1419
|
+
});
|
|
1420
|
+
}
|
|
1421
|
+
/**
|
|
1422
|
+
* @description Get B2C users with pagination
|
|
1423
|
+
* @tags b2c_users
|
|
1424
|
+
* @name Get
|
|
1425
|
+
* @summary Get B2C users with pagination
|
|
1426
|
+
* @request POST:/v2/users/b2c/list
|
|
1427
|
+
* @secure
|
|
1428
|
+
*/ get(getB2CUsers, config) {
|
|
1429
|
+
return this.apiClient.request({
|
|
1430
|
+
...config,
|
|
1431
|
+
url: `/v2/users/b2c/list`,
|
|
1432
|
+
method: 'POST',
|
|
1433
|
+
data: getB2CUsers,
|
|
1434
|
+
secure: true,
|
|
1435
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json,
|
|
1436
|
+
responseType: 'json'
|
|
1437
|
+
});
|
|
1438
|
+
}
|
|
1439
|
+
}
|
|
1440
|
+
|
|
1441
|
+
|
|
1442
|
+
var $978c50fb3fbbb12f$exports = {};
|
|
1443
|
+
|
|
1444
|
+
$parcel$export($978c50fb3fbbb12f$exports, "B2CUserSettings", () => $978c50fb3fbbb12f$export$af92e794dd76d018);
|
|
1445
|
+
/* eslint-disable */ /* tslint:disable */ /*
|
|
1446
|
+
* ---------------------------------------------------------------
|
|
1447
|
+
* ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##
|
|
1448
|
+
* ## ##
|
|
1449
|
+
* ## AUTHOR: acacode ##
|
|
1450
|
+
* ## SOURCE: https://github.com/acacode/swagger-typescript-api ##
|
|
1451
|
+
* ---------------------------------------------------------------
|
|
1452
|
+
*/
|
|
1453
|
+
|
|
1454
|
+
class $978c50fb3fbbb12f$export$af92e794dd76d018 {
|
|
1455
|
+
constructor(apiClient){
|
|
1456
|
+
this.apiClient = apiClient;
|
|
1457
|
+
(0, $jl2YG$autobind)(this);
|
|
1458
|
+
}
|
|
1459
|
+
/**
|
|
1460
|
+
* @description Set B2C User Settings
|
|
1461
|
+
* @tags b2c_user_settings
|
|
1462
|
+
* @name SetUserSettings
|
|
1463
|
+
* @summary Set B2C User Settings
|
|
1464
|
+
* @request PUT:/v1/b2c/settings
|
|
1465
|
+
* @secure
|
|
1466
|
+
*/ setUserSettings(setB2CUserSettings, headers, config) {
|
|
1467
|
+
return this.apiClient.request({
|
|
1468
|
+
...config,
|
|
1469
|
+
url: `/v1/b2c/settings`,
|
|
1470
|
+
method: 'PUT',
|
|
1471
|
+
data: setB2CUserSettings,
|
|
1472
|
+
secure: true,
|
|
1473
|
+
headers: headers,
|
|
1474
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json,
|
|
1475
|
+
responseType: 'json'
|
|
1476
|
+
});
|
|
1477
|
+
}
|
|
1478
|
+
/**
|
|
1479
|
+
* @description Send B2C user contact change code
|
|
1480
|
+
* @tags b2c_user_settings
|
|
1481
|
+
* @name SendContactChangeCode
|
|
1482
|
+
* @summary Send B2C user contact change code
|
|
1483
|
+
* @request POST:/v1/b2c/settings/codes
|
|
1484
|
+
* @secure
|
|
1485
|
+
*/ sendContactChangeCode(b2cSendContactChangeCodeDto, headers, config) {
|
|
1486
|
+
return this.apiClient.request({
|
|
1487
|
+
...config,
|
|
1488
|
+
url: `/v1/b2c/settings/codes`,
|
|
1489
|
+
method: 'POST',
|
|
1490
|
+
data: b2cSendContactChangeCodeDto,
|
|
1491
|
+
secure: true,
|
|
1492
|
+
headers: headers,
|
|
1493
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json
|
|
1494
|
+
});
|
|
1495
|
+
}
|
|
1496
|
+
/**
|
|
1497
|
+
* @description Get Available B2C Branch Mfa Options
|
|
1498
|
+
* @tags b2c_user_settings
|
|
1499
|
+
* @name AvailableMfaOptions
|
|
1500
|
+
* @summary Get Available B2C Branch Mfa Options
|
|
1501
|
+
* @request GET:/v1/b2c/settings/mfa-options
|
|
1502
|
+
* @secure
|
|
1503
|
+
*/ availableMfaOptions(headers, config) {
|
|
1504
|
+
return this.apiClient.request({
|
|
1505
|
+
...config,
|
|
1506
|
+
url: `/v1/b2c/settings/mfa-options`,
|
|
1507
|
+
method: 'GET',
|
|
1508
|
+
secure: true,
|
|
1509
|
+
headers: headers,
|
|
1510
|
+
responseType: 'json'
|
|
1511
|
+
});
|
|
1512
|
+
}
|
|
1513
|
+
/**
|
|
1514
|
+
* @description Delete B2C OAuth2 Bindings
|
|
1515
|
+
* @tags b2c_user_settings
|
|
1516
|
+
* @name DeleteManyOAuthBindings
|
|
1517
|
+
* @summary Delete B2C OAuth2 Bindings
|
|
1518
|
+
* @request DELETE:/v1/b2c/settings/oauth-links
|
|
1519
|
+
* @secure
|
|
1520
|
+
*/ deleteManyOAuthBindings(deleteByIDsDto, config) {
|
|
1521
|
+
return this.apiClient.request({
|
|
1522
|
+
...config,
|
|
1523
|
+
url: `/v1/b2c/settings/oauth-links`,
|
|
1524
|
+
method: 'DELETE',
|
|
1525
|
+
data: deleteByIDsDto,
|
|
1526
|
+
secure: true,
|
|
1527
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json
|
|
1528
|
+
});
|
|
1529
|
+
}
|
|
1530
|
+
/**
|
|
1531
|
+
* @description Finish Apple OAuth2 Profile Linking
|
|
1532
|
+
* @tags b2c_user_settings
|
|
1533
|
+
* @name FinishAppleProfileLinking
|
|
1534
|
+
* @summary Finish Apple OAuth2 Profile Linking
|
|
1535
|
+
* @request POST:/v1/b2c/settings/oauth-links/apple/finish
|
|
1536
|
+
*/ finishAppleProfileLinking(finishOAuthLoginDto, config) {
|
|
1537
|
+
return this.apiClient.request({
|
|
1538
|
+
...config,
|
|
1539
|
+
url: `/v1/b2c/settings/oauth-links/apple/finish`,
|
|
1540
|
+
method: 'POST',
|
|
1541
|
+
data: finishOAuthLoginDto,
|
|
1542
|
+
secure: false,
|
|
1543
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json
|
|
1544
|
+
});
|
|
1545
|
+
}
|
|
1546
|
+
/**
|
|
1547
|
+
* @description Initialize Apple OAuth2 Profile Linking
|
|
1548
|
+
* @tags b2c_user_settings
|
|
1549
|
+
* @name InitAppleProfileLinking
|
|
1550
|
+
* @summary Initialize Apple OAuth2 Profile Linking
|
|
1551
|
+
* @request POST:/v1/b2c/settings/oauth-links/apple/start
|
|
1552
|
+
* @secure
|
|
1553
|
+
*/ initAppleProfileLinking(initOAuthLinkingDto, config) {
|
|
1554
|
+
return this.apiClient.request({
|
|
1555
|
+
...config,
|
|
1556
|
+
url: `/v1/b2c/settings/oauth-links/apple/start`,
|
|
1557
|
+
method: 'POST',
|
|
1558
|
+
data: initOAuthLinkingDto,
|
|
1559
|
+
secure: true,
|
|
1560
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json,
|
|
1561
|
+
responseType: 'json'
|
|
1562
|
+
});
|
|
1563
|
+
}
|
|
1564
|
+
/**
|
|
1565
|
+
* @description Finish Google OAuth2 Profile Linking
|
|
1566
|
+
* @tags b2c_user_settings
|
|
1567
|
+
* @name FinishGoogleProfileLinking
|
|
1568
|
+
* @summary Finish Google OAuth2 Profile Linking
|
|
1569
|
+
* @request POST:/v1/b2c/settings/oauth-links/google/finish
|
|
1570
|
+
*/ finishGoogleProfileLinking(finishOAuthLoginDto, config) {
|
|
1571
|
+
return this.apiClient.request({
|
|
1572
|
+
...config,
|
|
1573
|
+
url: `/v1/b2c/settings/oauth-links/google/finish`,
|
|
1574
|
+
method: 'POST',
|
|
1575
|
+
data: finishOAuthLoginDto,
|
|
1576
|
+
secure: false,
|
|
1577
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json
|
|
1578
|
+
});
|
|
1579
|
+
}
|
|
1580
|
+
/**
|
|
1581
|
+
* @description Initialize Google OAuth2 Profile Linking
|
|
1582
|
+
* @tags b2c_user_settings
|
|
1583
|
+
* @name InitGoogleProfileLinking
|
|
1584
|
+
* @summary Initialize Google OAuth2 Profile Linking
|
|
1585
|
+
* @request POST:/v1/b2c/settings/oauth-links/google/start
|
|
1586
|
+
* @secure
|
|
1587
|
+
*/ initGoogleProfileLinking(initOAuthLinkingDto, config) {
|
|
1588
|
+
return this.apiClient.request({
|
|
1589
|
+
...config,
|
|
1590
|
+
url: `/v1/b2c/settings/oauth-links/google/start`,
|
|
1591
|
+
method: 'POST',
|
|
1592
|
+
data: initOAuthLinkingDto,
|
|
1593
|
+
secure: true,
|
|
1594
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json,
|
|
1595
|
+
responseType: 'json'
|
|
1596
|
+
});
|
|
1597
|
+
}
|
|
1598
|
+
/**
|
|
1599
|
+
* @description Get B2C OAuth2 Bindings with pagination. Available sort fields are `id, name, app_type, b2b_user_id, b2c_user_id, provider_user_id, created_at, updated_at`. Search is performed by `name, app_type, provider_user_id` fields
|
|
1600
|
+
* @tags b2c_user_settings
|
|
1601
|
+
* @name GetOAuthBindings
|
|
1602
|
+
* @summary Get B2C OAuth2 Bindings with pagination
|
|
1603
|
+
* @request POST:/v1/b2c/settings/oauth-links/list
|
|
1604
|
+
* @secure
|
|
1605
|
+
*/ getOAuthBindings(getOAuth2BindingsListDto, config) {
|
|
1606
|
+
return this.apiClient.request({
|
|
1607
|
+
...config,
|
|
1608
|
+
url: `/v1/b2c/settings/oauth-links/list`,
|
|
1609
|
+
method: 'POST',
|
|
1610
|
+
data: getOAuth2BindingsListDto,
|
|
1611
|
+
secure: true,
|
|
1612
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json,
|
|
1613
|
+
responseType: 'json'
|
|
1614
|
+
});
|
|
1615
|
+
}
|
|
1616
|
+
}
|
|
1617
|
+
|
|
1618
|
+
|
|
1619
|
+
var $190a28f71e643faa$exports = {};
|
|
1620
|
+
|
|
1621
|
+
$parcel$export($190a28f71e643faa$exports, "Branches", () => $190a28f71e643faa$export$bec84148410bc670);
|
|
1622
|
+
/* eslint-disable */ /* tslint:disable */ /*
|
|
1623
|
+
* ---------------------------------------------------------------
|
|
1624
|
+
* ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##
|
|
1625
|
+
* ## ##
|
|
1626
|
+
* ## AUTHOR: acacode ##
|
|
1627
|
+
* ## SOURCE: https://github.com/acacode/swagger-typescript-api ##
|
|
1628
|
+
* ---------------------------------------------------------------
|
|
1629
|
+
*/
|
|
1630
|
+
|
|
1631
|
+
class $190a28f71e643faa$export$bec84148410bc670 {
|
|
1632
|
+
constructor(apiClient){
|
|
1633
|
+
this.apiClient = apiClient;
|
|
1634
|
+
(0, $jl2YG$autobind)(this);
|
|
1635
|
+
}
|
|
1636
|
+
/**
|
|
1637
|
+
* @description Create Branch
|
|
1638
|
+
* @tags branches
|
|
1639
|
+
* @name Create
|
|
1640
|
+
* @summary Create Branch
|
|
1641
|
+
* @request POST:/v1/branches
|
|
1642
|
+
* @secure
|
|
1643
|
+
*/ create(createBranch, config) {
|
|
1644
|
+
return this.apiClient.request({
|
|
1645
|
+
...config,
|
|
1646
|
+
url: `/v1/branches`,
|
|
1647
|
+
method: 'POST',
|
|
1648
|
+
data: createBranch,
|
|
1649
|
+
secure: true,
|
|
1650
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json,
|
|
1651
|
+
responseType: 'json'
|
|
1652
|
+
});
|
|
1653
|
+
}
|
|
1654
|
+
/**
|
|
1655
|
+
* @description Delete Branch by id
|
|
1656
|
+
* @tags branches
|
|
1657
|
+
* @name DeleteMany
|
|
1658
|
+
* @summary Delete Branch by id
|
|
1659
|
+
* @request DELETE:/v1/branches
|
|
1660
|
+
* @secure
|
|
1661
|
+
*/ deleteMany(deleteBranches, config) {
|
|
1662
|
+
return this.apiClient.request({
|
|
1663
|
+
...config,
|
|
1664
|
+
url: `/v1/branches`,
|
|
1665
|
+
method: 'DELETE',
|
|
1666
|
+
data: deleteBranches,
|
|
1667
|
+
secure: true,
|
|
1668
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json
|
|
1669
|
+
});
|
|
1670
|
+
}
|
|
1671
|
+
/**
|
|
1672
|
+
* @description Get Branch by id
|
|
1673
|
+
* @tags branches
|
|
1674
|
+
* @name GetById
|
|
1675
|
+
* @summary Get Branch by id
|
|
1676
|
+
* @request GET:/v1/branches/{id}
|
|
1677
|
+
* @secure
|
|
1678
|
+
*/ getById(id, config) {
|
|
1679
|
+
return this.apiClient.request({
|
|
1680
|
+
...config,
|
|
1681
|
+
url: `/v1/branches/${id}`,
|
|
1682
|
+
method: 'GET',
|
|
1683
|
+
secure: true,
|
|
1684
|
+
responseType: 'json'
|
|
1685
|
+
});
|
|
1686
|
+
}
|
|
1687
|
+
/**
|
|
1688
|
+
* @description Update Branch
|
|
1689
|
+
* @tags branches
|
|
1690
|
+
* @name Update
|
|
1691
|
+
* @summary Update Branch
|
|
1692
|
+
* @request PUT:/v1/branches/{id}
|
|
1693
|
+
* @secure
|
|
1694
|
+
*/ update(id, updateBranch, config) {
|
|
1695
|
+
return this.apiClient.request({
|
|
1696
|
+
...config,
|
|
1697
|
+
url: `/v1/branches/${id}`,
|
|
1698
|
+
method: 'PUT',
|
|
1699
|
+
data: updateBranch,
|
|
1700
|
+
secure: true,
|
|
1701
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json,
|
|
1702
|
+
responseType: 'json'
|
|
1703
|
+
});
|
|
1704
|
+
}
|
|
1705
|
+
/**
|
|
1706
|
+
* @description Get Branches with pagination
|
|
1707
|
+
* @tags branches
|
|
1708
|
+
* @name Get
|
|
1709
|
+
* @summary Get Branches with pagination
|
|
1710
|
+
* @request POST:/v2/branches/list
|
|
1711
|
+
* @secure
|
|
1712
|
+
*/ get(getBranches, config) {
|
|
1713
|
+
return this.apiClient.request({
|
|
1714
|
+
...config,
|
|
1715
|
+
url: `/v2/branches/list`,
|
|
1716
|
+
method: 'POST',
|
|
1717
|
+
data: getBranches,
|
|
1718
|
+
secure: true,
|
|
1719
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json,
|
|
1720
|
+
responseType: 'json'
|
|
1721
|
+
});
|
|
1722
|
+
}
|
|
1723
|
+
}
|
|
1724
|
+
|
|
1725
|
+
|
|
1726
|
+
var $6aa6e93a22292657$exports = {};
|
|
1727
|
+
|
|
1728
|
+
$parcel$export($6aa6e93a22292657$exports, "Countries", () => $6aa6e93a22292657$export$b33f41d0b11df887);
|
|
1729
|
+
/* eslint-disable */ /* tslint:disable */ /*
|
|
1730
|
+
* ---------------------------------------------------------------
|
|
1731
|
+
* ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##
|
|
1732
|
+
* ## ##
|
|
1733
|
+
* ## AUTHOR: acacode ##
|
|
1734
|
+
* ## SOURCE: https://github.com/acacode/swagger-typescript-api ##
|
|
1735
|
+
* ---------------------------------------------------------------
|
|
1736
|
+
*/
|
|
1737
|
+
class $6aa6e93a22292657$export$b33f41d0b11df887 {
|
|
1738
|
+
constructor(apiClient){
|
|
1739
|
+
this.apiClient = apiClient;
|
|
1740
|
+
(0, $jl2YG$autobind)(this);
|
|
1741
|
+
}
|
|
1742
|
+
/**
|
|
1743
|
+
* @description Get Countries info
|
|
1744
|
+
* @tags countries
|
|
1745
|
+
* @name Get
|
|
1746
|
+
* @summary Get Countries info
|
|
1747
|
+
* @request GET:/v1/countries/
|
|
1748
|
+
*/ get(config) {
|
|
1749
|
+
return this.apiClient.request({
|
|
1750
|
+
...config,
|
|
1751
|
+
url: `/v1/countries/`,
|
|
1752
|
+
method: 'GET',
|
|
1753
|
+
secure: false,
|
|
1754
|
+
responseType: 'json'
|
|
1755
|
+
});
|
|
1756
|
+
}
|
|
1757
|
+
}
|
|
1758
|
+
|
|
1759
|
+
|
|
1760
|
+
var $1ef67210461dfd81$exports = {};
|
|
1761
|
+
|
|
1762
|
+
$parcel$export($1ef67210461dfd81$exports, "Endpoints", () => $1ef67210461dfd81$export$eed022e50baffed5);
|
|
1763
|
+
/* eslint-disable */ /* tslint:disable */ /*
|
|
1764
|
+
* ---------------------------------------------------------------
|
|
1765
|
+
* ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##
|
|
1766
|
+
* ## ##
|
|
1767
|
+
* ## AUTHOR: acacode ##
|
|
1768
|
+
* ## SOURCE: https://github.com/acacode/swagger-typescript-api ##
|
|
1769
|
+
* ---------------------------------------------------------------
|
|
1770
|
+
*/
|
|
1771
|
+
|
|
1772
|
+
class $1ef67210461dfd81$export$eed022e50baffed5 {
|
|
1773
|
+
constructor(apiClient){
|
|
1774
|
+
this.apiClient = apiClient;
|
|
1775
|
+
(0, $jl2YG$autobind)(this);
|
|
1776
|
+
}
|
|
1777
|
+
/**
|
|
1778
|
+
* @description Create Endpoint
|
|
1779
|
+
* @tags endpoints
|
|
1780
|
+
* @name Create
|
|
1781
|
+
* @summary Create Endpoint
|
|
1782
|
+
* @request POST:/v1/b2b/endpoints
|
|
1783
|
+
* @secure
|
|
1784
|
+
*/ create(endpointDto, config) {
|
|
1785
|
+
return this.apiClient.request({
|
|
1786
|
+
...config,
|
|
1787
|
+
url: `/v1/b2b/endpoints`,
|
|
1788
|
+
method: 'POST',
|
|
1789
|
+
data: endpointDto,
|
|
1790
|
+
secure: true,
|
|
1791
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json,
|
|
1792
|
+
responseType: 'json'
|
|
1793
|
+
});
|
|
1794
|
+
}
|
|
1795
|
+
/**
|
|
1796
|
+
* @description Delete endpoint by id
|
|
1797
|
+
* @tags endpoints
|
|
1798
|
+
* @name DeleteMany
|
|
1799
|
+
* @summary Delete endpoint by id
|
|
1800
|
+
* @request DELETE:/v1/b2b/endpoints
|
|
1801
|
+
* @secure
|
|
1802
|
+
*/ deleteMany(deleteEndpointsDto, config) {
|
|
1803
|
+
return this.apiClient.request({
|
|
1804
|
+
...config,
|
|
1805
|
+
url: `/v1/b2b/endpoints`,
|
|
1806
|
+
method: 'DELETE',
|
|
1807
|
+
data: deleteEndpointsDto,
|
|
1808
|
+
secure: true,
|
|
1809
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json
|
|
1810
|
+
});
|
|
1811
|
+
}
|
|
1812
|
+
/**
|
|
1813
|
+
* @description Get Endpoint by id
|
|
1814
|
+
* @tags endpoints
|
|
1815
|
+
* @name GetById
|
|
1816
|
+
* @summary Get Endpoint by id
|
|
1817
|
+
* @request GET:/v1/b2b/endpoints/{id}
|
|
1818
|
+
* @secure
|
|
1819
|
+
*/ getById(id, config) {
|
|
1820
|
+
return this.apiClient.request({
|
|
1821
|
+
...config,
|
|
1822
|
+
url: `/v1/b2b/endpoints/${id}`,
|
|
1823
|
+
method: 'GET',
|
|
1824
|
+
secure: true,
|
|
1825
|
+
responseType: 'json'
|
|
1826
|
+
});
|
|
1827
|
+
}
|
|
1828
|
+
/**
|
|
1829
|
+
* @description Update endpoint record
|
|
1830
|
+
* @tags endpoints
|
|
1831
|
+
* @name Update
|
|
1832
|
+
* @summary Update endpoint record
|
|
1833
|
+
* @request PUT:/v1/b2b/endpoints/{id}
|
|
1834
|
+
* @secure
|
|
1835
|
+
*/ update(id, endpointDto, config) {
|
|
1836
|
+
return this.apiClient.request({
|
|
1837
|
+
...config,
|
|
1838
|
+
url: `/v1/b2b/endpoints/${id}`,
|
|
1839
|
+
method: 'PUT',
|
|
1840
|
+
data: endpointDto,
|
|
1841
|
+
secure: true,
|
|
1842
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json,
|
|
1843
|
+
responseType: 'json'
|
|
1844
|
+
});
|
|
1845
|
+
}
|
|
1846
|
+
/**
|
|
1847
|
+
* @description Get endpoints with pagination
|
|
1848
|
+
* @tags endpoints
|
|
1849
|
+
* @name Get
|
|
1850
|
+
* @summary Get endpoints with pagination
|
|
1851
|
+
* @request POST:/v2/b2b/endpoints/list
|
|
1852
|
+
* @secure
|
|
1853
|
+
*/ get(endpointDto, config) {
|
|
1854
|
+
return this.apiClient.request({
|
|
1855
|
+
...config,
|
|
1856
|
+
url: `/v2/b2b/endpoints/list`,
|
|
1857
|
+
method: 'POST',
|
|
1858
|
+
data: endpointDto,
|
|
1859
|
+
secure: true,
|
|
1860
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json,
|
|
1861
|
+
responseType: 'json'
|
|
1862
|
+
});
|
|
1863
|
+
}
|
|
1864
|
+
}
|
|
1865
|
+
|
|
1866
|
+
|
|
1867
|
+
var $18376a5a52624d61$exports = {};
|
|
1868
|
+
|
|
1869
|
+
$parcel$export($18376a5a52624d61$exports, "Firms", () => $18376a5a52624d61$export$264f565cd0c1cc56);
|
|
1870
|
+
/* eslint-disable */ /* tslint:disable */ /*
|
|
1871
|
+
* ---------------------------------------------------------------
|
|
1872
|
+
* ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##
|
|
1873
|
+
* ## ##
|
|
1874
|
+
* ## AUTHOR: acacode ##
|
|
1875
|
+
* ## SOURCE: https://github.com/acacode/swagger-typescript-api ##
|
|
1876
|
+
* ---------------------------------------------------------------
|
|
1877
|
+
*/
|
|
1878
|
+
|
|
1879
|
+
class $18376a5a52624d61$export$264f565cd0c1cc56 {
|
|
1880
|
+
constructor(apiClient){
|
|
1881
|
+
this.apiClient = apiClient;
|
|
1882
|
+
(0, $jl2YG$autobind)(this);
|
|
1883
|
+
}
|
|
1884
|
+
/**
|
|
1885
|
+
* @description Create Firm
|
|
1886
|
+
* @tags firms
|
|
1887
|
+
* @name Create
|
|
1888
|
+
* @summary Create Firm
|
|
1889
|
+
* @request POST:/v1/firms
|
|
1890
|
+
* @secure
|
|
1891
|
+
*/ create(createFirm, config) {
|
|
1892
|
+
return this.apiClient.request({
|
|
1893
|
+
...config,
|
|
1894
|
+
url: `/v1/firms`,
|
|
1895
|
+
method: 'POST',
|
|
1896
|
+
data: createFirm,
|
|
1897
|
+
secure: true,
|
|
1898
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json,
|
|
1899
|
+
responseType: 'json'
|
|
1900
|
+
});
|
|
1901
|
+
}
|
|
1902
|
+
/**
|
|
1903
|
+
* @description Deletes Firm by ids
|
|
1904
|
+
* @tags firms
|
|
1905
|
+
* @name DeleteMany
|
|
1906
|
+
* @summary Deletes Firm by ids
|
|
1907
|
+
* @request DELETE:/v1/firms
|
|
1908
|
+
* @secure
|
|
1909
|
+
*/ deleteMany(deleteFirms, config) {
|
|
1910
|
+
return this.apiClient.request({
|
|
1911
|
+
...config,
|
|
1912
|
+
url: `/v1/firms`,
|
|
1913
|
+
method: 'DELETE',
|
|
1914
|
+
data: deleteFirms,
|
|
1915
|
+
secure: true,
|
|
1916
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json
|
|
1917
|
+
});
|
|
1918
|
+
}
|
|
1919
|
+
/**
|
|
1920
|
+
* @description Get Firm by id
|
|
1921
|
+
* @tags firms
|
|
1922
|
+
* @name GetById
|
|
1923
|
+
* @summary Get Firm by id
|
|
1924
|
+
* @request GET:/v1/firms/{id}
|
|
1925
|
+
* @secure
|
|
1926
|
+
*/ getById(id, config) {
|
|
1927
|
+
return this.apiClient.request({
|
|
1928
|
+
...config,
|
|
1929
|
+
url: `/v1/firms/${id}`,
|
|
1930
|
+
method: 'GET',
|
|
1931
|
+
secure: true,
|
|
1932
|
+
responseType: 'json'
|
|
1933
|
+
});
|
|
1934
|
+
}
|
|
1935
|
+
/**
|
|
1936
|
+
* @description Update Firm
|
|
1937
|
+
* @tags firms
|
|
1938
|
+
* @name Update
|
|
1939
|
+
* @summary Update Firm
|
|
1940
|
+
* @request PUT:/v1/firms/{id}
|
|
1941
|
+
* @secure
|
|
1942
|
+
*/ update(id, updateFirm, config) {
|
|
1943
|
+
return this.apiClient.request({
|
|
1944
|
+
...config,
|
|
1945
|
+
url: `/v1/firms/${id}`,
|
|
1946
|
+
method: 'PUT',
|
|
1947
|
+
data: updateFirm,
|
|
1948
|
+
secure: true,
|
|
1949
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json,
|
|
1950
|
+
responseType: 'json'
|
|
1951
|
+
});
|
|
1952
|
+
}
|
|
1953
|
+
/**
|
|
1954
|
+
* @description Get Firms with pagination
|
|
1955
|
+
* @tags firms
|
|
1956
|
+
* @name Get
|
|
1957
|
+
* @summary Get Firms with pagination
|
|
1958
|
+
* @request POST:/v2/firms/list
|
|
1959
|
+
* @secure
|
|
1960
|
+
*/ get(getFirms, config) {
|
|
1961
|
+
return this.apiClient.request({
|
|
1962
|
+
...config,
|
|
1963
|
+
url: `/v2/firms/list`,
|
|
1964
|
+
method: 'POST',
|
|
1965
|
+
data: getFirms,
|
|
1966
|
+
secure: true,
|
|
1967
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json,
|
|
1968
|
+
responseType: 'json'
|
|
1969
|
+
});
|
|
1970
|
+
}
|
|
1971
|
+
}
|
|
1972
|
+
|
|
1973
|
+
|
|
1974
|
+
var $2d6c29ea7705e8f1$exports = {};
|
|
1975
|
+
|
|
1976
|
+
$parcel$export($2d6c29ea7705e8f1$exports, "IdentityProviders", () => $2d6c29ea7705e8f1$export$5887f54682395684);
|
|
1977
|
+
/* eslint-disable */ /* tslint:disable */ /*
|
|
1978
|
+
* ---------------------------------------------------------------
|
|
1979
|
+
* ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##
|
|
1980
|
+
* ## ##
|
|
1981
|
+
* ## AUTHOR: acacode ##
|
|
1982
|
+
* ## SOURCE: https://github.com/acacode/swagger-typescript-api ##
|
|
1983
|
+
* ---------------------------------------------------------------
|
|
1984
|
+
*/
|
|
1985
|
+
|
|
1986
|
+
class $2d6c29ea7705e8f1$export$5887f54682395684 {
|
|
1987
|
+
constructor(apiClient){
|
|
1988
|
+
this.apiClient = apiClient;
|
|
1989
|
+
(0, $jl2YG$autobind)(this);
|
|
1990
|
+
}
|
|
1991
|
+
/**
|
|
1992
|
+
* @description Create Identity Provider
|
|
1993
|
+
* @tags identity_providers
|
|
1994
|
+
* @name Create
|
|
1995
|
+
* @summary Create Identity Provider
|
|
1996
|
+
* @request POST:/v1/b2b/identity-providers
|
|
1997
|
+
* @secure
|
|
1998
|
+
*/ create(createIdentityProviderDto, config) {
|
|
1999
|
+
return this.apiClient.request({
|
|
2000
|
+
...config,
|
|
2001
|
+
url: `/v1/b2b/identity-providers`,
|
|
2002
|
+
method: 'POST',
|
|
2003
|
+
data: createIdentityProviderDto,
|
|
2004
|
+
secure: true,
|
|
2005
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json,
|
|
2006
|
+
responseType: 'json'
|
|
2007
|
+
});
|
|
2008
|
+
}
|
|
2009
|
+
/**
|
|
2010
|
+
* @description Delete Identity providers by id
|
|
2011
|
+
* @tags identity_providers
|
|
2012
|
+
* @name DeleteMany
|
|
2013
|
+
* @summary Delete Identity providers by ids
|
|
2014
|
+
* @request DELETE:/v1/b2b/identity-providers
|
|
2015
|
+
* @secure
|
|
2016
|
+
*/ deleteMany(deleteIdentityProvidersDto, config) {
|
|
2017
|
+
return this.apiClient.request({
|
|
2018
|
+
...config,
|
|
2019
|
+
url: `/v1/b2b/identity-providers`,
|
|
2020
|
+
method: 'DELETE',
|
|
2021
|
+
data: deleteIdentityProvidersDto,
|
|
2022
|
+
secure: true,
|
|
2023
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json
|
|
2024
|
+
});
|
|
2025
|
+
}
|
|
2026
|
+
/**
|
|
2027
|
+
* @description Get Identity Provider by id
|
|
2028
|
+
* @tags identity_providers
|
|
2029
|
+
* @name GetById
|
|
2030
|
+
* @summary Get Identity Provider by id
|
|
2031
|
+
* @request GET:/v1/b2b/identity-providers/{id}
|
|
2032
|
+
* @secure
|
|
2033
|
+
*/ getById(id, config) {
|
|
2034
|
+
return this.apiClient.request({
|
|
2035
|
+
...config,
|
|
2036
|
+
url: `/v1/b2b/identity-providers/${id}`,
|
|
2037
|
+
method: 'GET',
|
|
2038
|
+
secure: true,
|
|
2039
|
+
responseType: 'json'
|
|
2040
|
+
});
|
|
2041
|
+
}
|
|
2042
|
+
/**
|
|
2043
|
+
* @description Update identity provider record
|
|
2044
|
+
* @tags identity_providers
|
|
2045
|
+
* @name Update
|
|
2046
|
+
* @summary Update identity provider record
|
|
2047
|
+
* @request PUT:/v1/b2b/identity-providers/{id}
|
|
2048
|
+
* @secure
|
|
2049
|
+
*/ update(id, identityProvidersDto, config) {
|
|
2050
|
+
return this.apiClient.request({
|
|
2051
|
+
...config,
|
|
2052
|
+
url: `/v1/b2b/identity-providers/${id}`,
|
|
2053
|
+
method: 'PUT',
|
|
2054
|
+
data: identityProvidersDto,
|
|
2055
|
+
secure: true,
|
|
2056
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json,
|
|
2057
|
+
responseType: 'json'
|
|
2058
|
+
});
|
|
2059
|
+
}
|
|
2060
|
+
/**
|
|
2061
|
+
* @description Get Identity Providers with pagination
|
|
2062
|
+
* @tags identity_providers
|
|
2063
|
+
* @name Get
|
|
2064
|
+
* @summary Get Identity Providers with pagination
|
|
2065
|
+
* @request POST:/v2/b2b/identity-providers/list
|
|
2066
|
+
* @secure
|
|
2067
|
+
*/ get(identityProvidersDto, config) {
|
|
2068
|
+
return this.apiClient.request({
|
|
2069
|
+
...config,
|
|
2070
|
+
url: `/v2/b2b/identity-providers/list`,
|
|
2071
|
+
method: 'POST',
|
|
2072
|
+
data: identityProvidersDto,
|
|
2073
|
+
secure: true,
|
|
2074
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json,
|
|
2075
|
+
responseType: 'json'
|
|
2076
|
+
});
|
|
2077
|
+
}
|
|
2078
|
+
}
|
|
2079
|
+
|
|
2080
|
+
|
|
2081
|
+
var $194498249ac546a3$exports = {};
|
|
2082
|
+
|
|
2083
|
+
$parcel$export($194498249ac546a3$exports, "Locales", () => $194498249ac546a3$export$8e1c4644f466949c);
|
|
2084
|
+
/* eslint-disable */ /* tslint:disable */ /*
|
|
2085
|
+
* ---------------------------------------------------------------
|
|
2086
|
+
* ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##
|
|
2087
|
+
* ## ##
|
|
2088
|
+
* ## AUTHOR: acacode ##
|
|
2089
|
+
* ## SOURCE: https://github.com/acacode/swagger-typescript-api ##
|
|
2090
|
+
* ---------------------------------------------------------------
|
|
2091
|
+
*/
|
|
2092
|
+
class $194498249ac546a3$export$8e1c4644f466949c {
|
|
2093
|
+
constructor(apiClient){
|
|
2094
|
+
this.apiClient = apiClient;
|
|
2095
|
+
(0, $jl2YG$autobind)(this);
|
|
2096
|
+
}
|
|
2097
|
+
/**
|
|
2098
|
+
* @description get all language locales
|
|
2099
|
+
* @tags locales
|
|
2100
|
+
* @name Get
|
|
2101
|
+
* @summary get all locales
|
|
2102
|
+
* @request GET:/v1/locales
|
|
2103
|
+
*/ get(config) {
|
|
2104
|
+
return this.apiClient.request({
|
|
2105
|
+
...config,
|
|
2106
|
+
url: `/v1/locales`,
|
|
2107
|
+
method: 'GET',
|
|
2108
|
+
secure: false,
|
|
2109
|
+
responseType: 'json'
|
|
2110
|
+
});
|
|
2111
|
+
}
|
|
2112
|
+
}
|
|
2113
|
+
|
|
2114
|
+
|
|
2115
|
+
var $b9c33bf16d7c9b6d$exports = {};
|
|
2116
|
+
|
|
2117
|
+
$parcel$export($b9c33bf16d7c9b6d$exports, "Microservices", () => $b9c33bf16d7c9b6d$export$336c46c9fcb38eaa);
|
|
2118
|
+
/* eslint-disable */ /* tslint:disable */ /*
|
|
2119
|
+
* ---------------------------------------------------------------
|
|
2120
|
+
* ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##
|
|
2121
|
+
* ## ##
|
|
2122
|
+
* ## AUTHOR: acacode ##
|
|
2123
|
+
* ## SOURCE: https://github.com/acacode/swagger-typescript-api ##
|
|
2124
|
+
* ---------------------------------------------------------------
|
|
2125
|
+
*/
|
|
2126
|
+
|
|
2127
|
+
class $b9c33bf16d7c9b6d$export$336c46c9fcb38eaa {
|
|
2128
|
+
constructor(apiClient){
|
|
2129
|
+
this.apiClient = apiClient;
|
|
2130
|
+
(0, $jl2YG$autobind)(this);
|
|
2131
|
+
}
|
|
2132
|
+
/**
|
|
2133
|
+
* @description Create Microservice with domains, used to proxy user requests from public domains to internal
|
|
2134
|
+
* @tags microservices
|
|
2135
|
+
* @name Create
|
|
2136
|
+
* @summary Create Microservice
|
|
2137
|
+
* @request POST:/v1/b2b/microservices
|
|
2138
|
+
* @secure
|
|
2139
|
+
*/ create(microserviceDto, config) {
|
|
2140
|
+
return this.apiClient.request({
|
|
2141
|
+
...config,
|
|
2142
|
+
url: `/v1/b2b/microservices`,
|
|
2143
|
+
method: 'POST',
|
|
2144
|
+
data: microserviceDto,
|
|
2145
|
+
secure: true,
|
|
2146
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json,
|
|
2147
|
+
responseType: 'json'
|
|
2148
|
+
});
|
|
2149
|
+
}
|
|
2150
|
+
/**
|
|
2151
|
+
* @description Delete microservice by id
|
|
2152
|
+
* @tags microservices
|
|
2153
|
+
* @name DeleteMany
|
|
2154
|
+
* @summary Delete microservice by id
|
|
2155
|
+
* @request DELETE:/v1/b2b/microservices
|
|
2156
|
+
* @secure
|
|
2157
|
+
*/ deleteMany(deleteMicroservices, config) {
|
|
2158
|
+
return this.apiClient.request({
|
|
2159
|
+
...config,
|
|
2160
|
+
url: `/v1/b2b/microservices`,
|
|
2161
|
+
method: 'DELETE',
|
|
2162
|
+
data: deleteMicroservices,
|
|
2163
|
+
secure: true,
|
|
2164
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json
|
|
2165
|
+
});
|
|
2166
|
+
}
|
|
2167
|
+
/**
|
|
2168
|
+
* @description Get Microservice by id
|
|
2169
|
+
* @tags microservices
|
|
2170
|
+
* @name GetById
|
|
2171
|
+
* @summary Get Microservice by id
|
|
2172
|
+
* @request GET:/v1/b2b/microservices/{id}
|
|
2173
|
+
* @secure
|
|
2174
|
+
*/ getById(id, config) {
|
|
2175
|
+
return this.apiClient.request({
|
|
2176
|
+
...config,
|
|
2177
|
+
url: `/v1/b2b/microservices/${id}`,
|
|
2178
|
+
method: 'GET',
|
|
2179
|
+
secure: true,
|
|
2180
|
+
responseType: 'json'
|
|
2181
|
+
});
|
|
2182
|
+
}
|
|
2183
|
+
/**
|
|
2184
|
+
* @description Update microservice record
|
|
2185
|
+
* @tags microservices
|
|
2186
|
+
* @name Update
|
|
2187
|
+
* @summary Update microservice record
|
|
2188
|
+
* @request PUT:/v1/b2b/microservices/{id}
|
|
2189
|
+
* @secure
|
|
2190
|
+
*/ update(id, microserviceDto, config) {
|
|
2191
|
+
return this.apiClient.request({
|
|
2192
|
+
...config,
|
|
2193
|
+
url: `/v1/b2b/microservices/${id}`,
|
|
2194
|
+
method: 'PUT',
|
|
2195
|
+
data: microserviceDto,
|
|
2196
|
+
secure: true,
|
|
2197
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json,
|
|
2198
|
+
responseType: 'json'
|
|
2199
|
+
});
|
|
2200
|
+
}
|
|
2201
|
+
/**
|
|
2202
|
+
* @description Get microservices with pagination
|
|
2203
|
+
* @tags microservices
|
|
2204
|
+
* @name Get
|
|
2205
|
+
* @summary Get microservices with pagination
|
|
2206
|
+
* @request POST:/v2/b2b/microservices/list
|
|
2207
|
+
* @secure
|
|
2208
|
+
*/ get(microserviceDto, config) {
|
|
2209
|
+
return this.apiClient.request({
|
|
2210
|
+
...config,
|
|
2211
|
+
url: `/v2/b2b/microservices/list`,
|
|
2212
|
+
method: 'POST',
|
|
2213
|
+
data: microserviceDto,
|
|
2214
|
+
secure: true,
|
|
2215
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json,
|
|
2216
|
+
responseType: 'json'
|
|
2217
|
+
});
|
|
2218
|
+
}
|
|
2219
|
+
}
|
|
2220
|
+
|
|
2221
|
+
|
|
2222
|
+
var $81b24da4abc96319$exports = {};
|
|
2223
|
+
|
|
2224
|
+
$parcel$export($81b24da4abc96319$exports, "MigrationUtils", () => $81b24da4abc96319$export$786262b732115aec);
|
|
2225
|
+
/* eslint-disable */ /* tslint:disable */ /*
|
|
2226
|
+
* ---------------------------------------------------------------
|
|
2227
|
+
* ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##
|
|
2228
|
+
* ## ##
|
|
2229
|
+
* ## AUTHOR: acacode ##
|
|
2230
|
+
* ## SOURCE: https://github.com/acacode/swagger-typescript-api ##
|
|
2231
|
+
* ---------------------------------------------------------------
|
|
2232
|
+
*/
|
|
2233
|
+
|
|
2234
|
+
class $81b24da4abc96319$export$786262b732115aec {
|
|
2235
|
+
constructor(apiClient){
|
|
2236
|
+
this.apiClient = apiClient;
|
|
2237
|
+
(0, $jl2YG$autobind)(this);
|
|
2238
|
+
}
|
|
2239
|
+
/**
|
|
2240
|
+
* @description Upsert Users from deprecated DB's
|
|
2241
|
+
* @tags migration-utils
|
|
2242
|
+
* @name PostUsersUpsert
|
|
2243
|
+
* @summary Upsert Users
|
|
2244
|
+
* @request POST:/v1/migration-utils/users/upsert
|
|
2245
|
+
* @secure
|
|
2246
|
+
*/ postUsersUpsert(upsertUsers, config) {
|
|
2247
|
+
return this.apiClient.request({
|
|
2248
|
+
...config,
|
|
2249
|
+
url: `/v1/migration-utils/users/upsert`,
|
|
2250
|
+
method: 'POST',
|
|
2251
|
+
data: upsertUsers,
|
|
2252
|
+
secure: true,
|
|
2253
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json,
|
|
2254
|
+
responseType: 'json'
|
|
2255
|
+
});
|
|
2256
|
+
}
|
|
2257
|
+
}
|
|
2258
|
+
|
|
2259
|
+
|
|
2260
|
+
var $2ce3373faaa7152d$exports = {};
|
|
2261
|
+
|
|
2262
|
+
$parcel$export($2ce3373faaa7152d$exports, "Permissions", () => $2ce3373faaa7152d$export$2d41982586bbb6be);
|
|
2263
|
+
/* eslint-disable */ /* tslint:disable */ /*
|
|
2264
|
+
* ---------------------------------------------------------------
|
|
2265
|
+
* ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##
|
|
2266
|
+
* ## ##
|
|
2267
|
+
* ## AUTHOR: acacode ##
|
|
2268
|
+
* ## SOURCE: https://github.com/acacode/swagger-typescript-api ##
|
|
2269
|
+
* ---------------------------------------------------------------
|
|
2270
|
+
*/
|
|
2271
|
+
|
|
2272
|
+
class $2ce3373faaa7152d$export$2d41982586bbb6be {
|
|
2273
|
+
constructor(apiClient){
|
|
2274
|
+
this.apiClient = apiClient;
|
|
2275
|
+
(0, $jl2YG$autobind)(this);
|
|
2276
|
+
}
|
|
2277
|
+
/**
|
|
2278
|
+
* @description Create Permission
|
|
2279
|
+
* @tags permissions
|
|
2280
|
+
* @name Create
|
|
2281
|
+
* @summary Create Permission
|
|
2282
|
+
* @request POST:/v1/permissions
|
|
2283
|
+
* @secure
|
|
2284
|
+
*/ create(createPermission, config) {
|
|
2285
|
+
return this.apiClient.request({
|
|
2286
|
+
...config,
|
|
2287
|
+
url: `/v1/permissions`,
|
|
2288
|
+
method: 'POST',
|
|
2289
|
+
data: createPermission,
|
|
2290
|
+
secure: true,
|
|
2291
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json,
|
|
2292
|
+
responseType: 'json'
|
|
2293
|
+
});
|
|
2294
|
+
}
|
|
2295
|
+
/**
|
|
2296
|
+
* @description Delete Permissions by id
|
|
2297
|
+
* @tags permissions
|
|
2298
|
+
* @name DeleteMany
|
|
2299
|
+
* @summary Delete Permissions by id
|
|
2300
|
+
* @request DELETE:/v1/permissions
|
|
2301
|
+
* @secure
|
|
2302
|
+
*/ deleteMany(deletePermissions, config) {
|
|
2303
|
+
return this.apiClient.request({
|
|
2304
|
+
...config,
|
|
2305
|
+
url: `/v1/permissions`,
|
|
2306
|
+
method: 'DELETE',
|
|
2307
|
+
data: deletePermissions,
|
|
2308
|
+
secure: true,
|
|
2309
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json
|
|
2310
|
+
});
|
|
2311
|
+
}
|
|
2312
|
+
/**
|
|
2313
|
+
* @description Get Permission by id
|
|
2314
|
+
* @tags permissions
|
|
2315
|
+
* @name GetById
|
|
2316
|
+
* @summary Get Permission by id
|
|
2317
|
+
* @request GET:/v1/permissions/{id}
|
|
2318
|
+
* @secure
|
|
2319
|
+
*/ getById(id, config) {
|
|
2320
|
+
return this.apiClient.request({
|
|
2321
|
+
...config,
|
|
2322
|
+
url: `/v1/permissions/${id}`,
|
|
2323
|
+
method: 'GET',
|
|
2324
|
+
secure: true,
|
|
2325
|
+
responseType: 'json'
|
|
2326
|
+
});
|
|
2327
|
+
}
|
|
2328
|
+
/**
|
|
2329
|
+
* @description Update Permission
|
|
2330
|
+
* @tags permissions
|
|
2331
|
+
* @name Update
|
|
2332
|
+
* @summary Update Permission
|
|
2333
|
+
* @request PUT:/v1/permissions/{id}
|
|
2334
|
+
* @secure
|
|
2335
|
+
*/ update(id, updatePermission, config) {
|
|
2336
|
+
return this.apiClient.request({
|
|
2337
|
+
...config,
|
|
2338
|
+
url: `/v1/permissions/${id}`,
|
|
2339
|
+
method: 'PUT',
|
|
2340
|
+
data: updatePermission,
|
|
2341
|
+
secure: true,
|
|
2342
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json,
|
|
2343
|
+
responseType: 'json'
|
|
2344
|
+
});
|
|
2345
|
+
}
|
|
2346
|
+
/**
|
|
2347
|
+
* @description Get Permissions with pagination
|
|
2348
|
+
* @tags permissions
|
|
2349
|
+
* @name Get
|
|
2350
|
+
* @summary Get Permissions with pagination
|
|
2351
|
+
* @request POST:/v2/permissions/list
|
|
2352
|
+
* @secure
|
|
2353
|
+
*/ get(getPermissions, config) {
|
|
2354
|
+
return this.apiClient.request({
|
|
2355
|
+
...config,
|
|
2356
|
+
url: `/v2/permissions/list`,
|
|
2357
|
+
method: 'POST',
|
|
2358
|
+
data: getPermissions,
|
|
2359
|
+
secure: true,
|
|
2360
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json,
|
|
2361
|
+
responseType: 'json'
|
|
2362
|
+
});
|
|
2363
|
+
}
|
|
2364
|
+
}
|
|
2365
|
+
|
|
2366
|
+
|
|
2367
|
+
var $d05800b76d1d41c3$exports = {};
|
|
2368
|
+
|
|
2369
|
+
$parcel$export($d05800b76d1d41c3$exports, "PublicSettings", () => $d05800b76d1d41c3$export$3e6fb5c4a94a74de);
|
|
2370
|
+
/* eslint-disable */ /* tslint:disable */ /*
|
|
2371
|
+
* ---------------------------------------------------------------
|
|
2372
|
+
* ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##
|
|
2373
|
+
* ## ##
|
|
2374
|
+
* ## AUTHOR: acacode ##
|
|
2375
|
+
* ## SOURCE: https://github.com/acacode/swagger-typescript-api ##
|
|
2376
|
+
* ---------------------------------------------------------------
|
|
2377
|
+
*/
|
|
2378
|
+
class $d05800b76d1d41c3$export$3e6fb5c4a94a74de {
|
|
2379
|
+
constructor(apiClient){
|
|
2380
|
+
this.apiClient = apiClient;
|
|
2381
|
+
(0, $jl2YG$autobind)(this);
|
|
2382
|
+
}
|
|
2383
|
+
/**
|
|
2384
|
+
* @description Get public settings
|
|
2385
|
+
* @tags public_settings
|
|
2386
|
+
* @name Get
|
|
2387
|
+
* @summary Get public settings
|
|
2388
|
+
* @request GET:/v1/public-settings
|
|
2389
|
+
*/ get(config) {
|
|
2390
|
+
return this.apiClient.request({
|
|
2391
|
+
...config,
|
|
2392
|
+
url: `/v1/public-settings`,
|
|
2393
|
+
method: 'GET',
|
|
2394
|
+
secure: false,
|
|
2395
|
+
responseType: 'json'
|
|
2396
|
+
});
|
|
2397
|
+
}
|
|
2398
|
+
}
|
|
2399
|
+
|
|
2400
|
+
|
|
2401
|
+
var $87645ef510ea4ae1$exports = {};
|
|
2402
|
+
|
|
2403
|
+
$parcel$export($87645ef510ea4ae1$exports, "Roles", () => $87645ef510ea4ae1$export$d1d9e451800db729);
|
|
2404
|
+
/* eslint-disable */ /* tslint:disable */ /*
|
|
2405
|
+
* ---------------------------------------------------------------
|
|
2406
|
+
* ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##
|
|
2407
|
+
* ## ##
|
|
2408
|
+
* ## AUTHOR: acacode ##
|
|
2409
|
+
* ## SOURCE: https://github.com/acacode/swagger-typescript-api ##
|
|
2410
|
+
* ---------------------------------------------------------------
|
|
2411
|
+
*/
|
|
2412
|
+
|
|
2413
|
+
class $87645ef510ea4ae1$export$d1d9e451800db729 {
|
|
2414
|
+
constructor(apiClient){
|
|
2415
|
+
this.apiClient = apiClient;
|
|
2416
|
+
(0, $jl2YG$autobind)(this);
|
|
2417
|
+
}
|
|
2418
|
+
/**
|
|
2419
|
+
* @description Create Role
|
|
2420
|
+
* @tags roles
|
|
2421
|
+
* @name Create
|
|
2422
|
+
* @summary Create Role
|
|
2423
|
+
* @request POST:/v1/roles
|
|
2424
|
+
* @secure
|
|
2425
|
+
*/ create(createRole, config) {
|
|
2426
|
+
return this.apiClient.request({
|
|
2427
|
+
...config,
|
|
2428
|
+
url: `/v1/roles`,
|
|
2429
|
+
method: 'POST',
|
|
2430
|
+
data: createRole,
|
|
2431
|
+
secure: true,
|
|
2432
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json,
|
|
2433
|
+
responseType: 'json'
|
|
2434
|
+
});
|
|
2435
|
+
}
|
|
2436
|
+
/**
|
|
2437
|
+
* @description Delete Roles by ids
|
|
2438
|
+
* @tags roles
|
|
2439
|
+
* @name DeleteMany
|
|
2440
|
+
* @summary Delete Roles by ids
|
|
2441
|
+
* @request DELETE:/v1/roles
|
|
2442
|
+
* @secure
|
|
2443
|
+
*/ deleteMany(deleteRoles, config) {
|
|
2444
|
+
return this.apiClient.request({
|
|
2445
|
+
...config,
|
|
2446
|
+
url: `/v1/roles`,
|
|
2447
|
+
method: 'DELETE',
|
|
2448
|
+
data: deleteRoles,
|
|
2449
|
+
secure: true,
|
|
2450
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json
|
|
2451
|
+
});
|
|
2452
|
+
}
|
|
2453
|
+
/**
|
|
2454
|
+
* @description Get Role by id
|
|
2455
|
+
* @tags roles
|
|
2456
|
+
* @name GetById
|
|
2457
|
+
* @summary Get Role by id
|
|
2458
|
+
* @request GET:/v1/roles/{id}
|
|
2459
|
+
* @secure
|
|
2460
|
+
*/ getById(id, config) {
|
|
2461
|
+
return this.apiClient.request({
|
|
2462
|
+
...config,
|
|
2463
|
+
url: `/v1/roles/${id}`,
|
|
2464
|
+
method: 'GET',
|
|
2465
|
+
secure: true,
|
|
2466
|
+
responseType: 'json'
|
|
2467
|
+
});
|
|
2468
|
+
}
|
|
2469
|
+
/**
|
|
2470
|
+
* @description Update Role
|
|
2471
|
+
* @tags roles
|
|
2472
|
+
* @name Update
|
|
2473
|
+
* @summary Update Role
|
|
2474
|
+
* @request PUT:/v1/roles/{id}
|
|
2475
|
+
* @secure
|
|
2476
|
+
*/ update(id, updateRole, config) {
|
|
2477
|
+
return this.apiClient.request({
|
|
2478
|
+
...config,
|
|
2479
|
+
url: `/v1/roles/${id}`,
|
|
2480
|
+
method: 'PUT',
|
|
2481
|
+
data: updateRole,
|
|
2482
|
+
secure: true,
|
|
2483
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json,
|
|
2484
|
+
responseType: 'json'
|
|
2485
|
+
});
|
|
2486
|
+
}
|
|
2487
|
+
/**
|
|
2488
|
+
* @description Get Roles with pagination
|
|
2489
|
+
* @tags roles
|
|
2490
|
+
* @name Get
|
|
2491
|
+
* @summary Get Roles with pagination
|
|
2492
|
+
* @request POST:/v2/roles/list
|
|
2493
|
+
* @secure
|
|
2494
|
+
*/ get(getRoles, config) {
|
|
2495
|
+
return this.apiClient.request({
|
|
2496
|
+
...config,
|
|
2497
|
+
url: `/v2/roles/list`,
|
|
2498
|
+
method: 'POST',
|
|
2499
|
+
data: getRoles,
|
|
2500
|
+
secure: true,
|
|
2501
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json,
|
|
2502
|
+
responseType: 'json'
|
|
2503
|
+
});
|
|
2504
|
+
}
|
|
2505
|
+
}
|
|
2506
|
+
|
|
2507
|
+
|
|
2508
|
+
var $0a39f6b7a6b84412$exports = {};
|
|
2509
|
+
|
|
2510
|
+
$parcel$export($0a39f6b7a6b84412$exports, "RoleTypes", () => $0a39f6b7a6b84412$export$2cb4a31baf73b247);
|
|
2511
|
+
/* eslint-disable */ /* tslint:disable */ /*
|
|
2512
|
+
* ---------------------------------------------------------------
|
|
2513
|
+
* ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##
|
|
2514
|
+
* ## ##
|
|
2515
|
+
* ## AUTHOR: acacode ##
|
|
2516
|
+
* ## SOURCE: https://github.com/acacode/swagger-typescript-api ##
|
|
2517
|
+
* ---------------------------------------------------------------
|
|
2518
|
+
*/
|
|
2519
|
+
|
|
2520
|
+
class $0a39f6b7a6b84412$export$2cb4a31baf73b247 {
|
|
2521
|
+
constructor(apiClient){
|
|
2522
|
+
this.apiClient = apiClient;
|
|
2523
|
+
(0, $jl2YG$autobind)(this);
|
|
2524
|
+
}
|
|
2525
|
+
/**
|
|
2526
|
+
* @description Create Role Type
|
|
2527
|
+
* @tags role_types
|
|
2528
|
+
* @name Create
|
|
2529
|
+
* @summary Create Role Type
|
|
2530
|
+
* @request POST:/v1/b2b/role-types
|
|
2531
|
+
* @secure
|
|
2532
|
+
*/ create(createRoleType, config) {
|
|
2533
|
+
return this.apiClient.request({
|
|
2534
|
+
...config,
|
|
2535
|
+
url: `/v1/b2b/role-types`,
|
|
2536
|
+
method: 'POST',
|
|
2537
|
+
data: createRoleType,
|
|
2538
|
+
secure: true,
|
|
2539
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json,
|
|
2540
|
+
responseType: 'json'
|
|
2541
|
+
});
|
|
2542
|
+
}
|
|
2543
|
+
/**
|
|
2544
|
+
* @description Delete Role Types by ids
|
|
2545
|
+
* @tags role_types
|
|
2546
|
+
* @name DeleteMany
|
|
2547
|
+
* @summary Delete Role Types by ids
|
|
2548
|
+
* @request DELETE:/v1/b2b/role-types
|
|
2549
|
+
* @secure
|
|
2550
|
+
*/ deleteMany(deleteRoleTypes, config) {
|
|
2551
|
+
return this.apiClient.request({
|
|
2552
|
+
...config,
|
|
2553
|
+
url: `/v1/b2b/role-types`,
|
|
2554
|
+
method: 'DELETE',
|
|
2555
|
+
data: deleteRoleTypes,
|
|
2556
|
+
secure: true,
|
|
2557
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json
|
|
2558
|
+
});
|
|
2559
|
+
}
|
|
2560
|
+
/**
|
|
2561
|
+
* @description Get Role Type by id
|
|
2562
|
+
* @tags role_types
|
|
2563
|
+
* @name GetById
|
|
2564
|
+
* @summary Get Role Type by id
|
|
2565
|
+
* @request GET:/v1/b2b/role-types/{id}
|
|
2566
|
+
* @secure
|
|
2567
|
+
*/ getById(id, config) {
|
|
2568
|
+
return this.apiClient.request({
|
|
2569
|
+
...config,
|
|
2570
|
+
url: `/v1/b2b/role-types/${id}`,
|
|
2571
|
+
method: 'GET',
|
|
2572
|
+
secure: true,
|
|
2573
|
+
responseType: 'json'
|
|
2574
|
+
});
|
|
2575
|
+
}
|
|
2576
|
+
/**
|
|
2577
|
+
* @description Update Role Type
|
|
2578
|
+
* @tags role_types
|
|
2579
|
+
* @name Update
|
|
2580
|
+
* @summary Update Role Type
|
|
2581
|
+
* @request PUT:/v1/b2b/role-types/{id}
|
|
2582
|
+
* @secure
|
|
2583
|
+
*/ update(id, updateRoleType, config) {
|
|
2584
|
+
return this.apiClient.request({
|
|
2585
|
+
...config,
|
|
2586
|
+
url: `/v1/b2b/role-types/${id}`,
|
|
2587
|
+
method: 'PUT',
|
|
2588
|
+
data: updateRoleType,
|
|
2589
|
+
secure: true,
|
|
2590
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json,
|
|
2591
|
+
responseType: 'json'
|
|
2592
|
+
});
|
|
2593
|
+
}
|
|
2594
|
+
/**
|
|
2595
|
+
* @description Get Role Types with pagination
|
|
2596
|
+
* @tags role_types
|
|
2597
|
+
* @name Get
|
|
2598
|
+
* @summary Get Role Types with pagination
|
|
2599
|
+
* @request POST:/v2/b2b/role-types/list
|
|
2600
|
+
* @secure
|
|
2601
|
+
*/ get(getRoleTypes, config) {
|
|
2602
|
+
return this.apiClient.request({
|
|
2603
|
+
...config,
|
|
2604
|
+
url: `/v2/b2b/role-types/list`,
|
|
2605
|
+
method: 'POST',
|
|
2606
|
+
data: getRoleTypes,
|
|
2607
|
+
secure: true,
|
|
2608
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json,
|
|
2609
|
+
responseType: 'json'
|
|
2610
|
+
});
|
|
2611
|
+
}
|
|
2612
|
+
}
|
|
2613
|
+
|
|
2614
|
+
|
|
2615
|
+
var $b58f980f57224ce2$exports = {};
|
|
2616
|
+
|
|
2617
|
+
$parcel$export($b58f980f57224ce2$exports, "SecretNotes", () => $b58f980f57224ce2$export$49d1d1bca95f1922);
|
|
2618
|
+
/* eslint-disable */ /* tslint:disable */ /*
|
|
2619
|
+
* ---------------------------------------------------------------
|
|
2620
|
+
* ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##
|
|
2621
|
+
* ## ##
|
|
2622
|
+
* ## AUTHOR: acacode ##
|
|
2623
|
+
* ## SOURCE: https://github.com/acacode/swagger-typescript-api ##
|
|
2624
|
+
* ---------------------------------------------------------------
|
|
2625
|
+
*/
|
|
2626
|
+
|
|
2627
|
+
class $b58f980f57224ce2$export$49d1d1bca95f1922 {
|
|
2628
|
+
constructor(apiClient){
|
|
2629
|
+
this.apiClient = apiClient;
|
|
2630
|
+
(0, $jl2YG$autobind)(this);
|
|
2631
|
+
}
|
|
2632
|
+
/**
|
|
2633
|
+
* @description Create Secret note. For type `password` field `note_params` should contain `password` field only.
|
|
2634
|
+
* @tags secret_notes
|
|
2635
|
+
* @name Create
|
|
2636
|
+
* @summary Create Secret note
|
|
2637
|
+
* @request POST:/v1/secret-notes
|
|
2638
|
+
* @secure
|
|
2639
|
+
*/ create(createSecretNote, config) {
|
|
2640
|
+
return this.apiClient.request({
|
|
2641
|
+
...config,
|
|
2642
|
+
url: `/v1/secret-notes`,
|
|
2643
|
+
method: 'POST',
|
|
2644
|
+
data: createSecretNote,
|
|
2645
|
+
secure: true,
|
|
2646
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json,
|
|
2647
|
+
responseType: 'json'
|
|
2648
|
+
});
|
|
2649
|
+
}
|
|
2650
|
+
/**
|
|
2651
|
+
* @description Get Secret note
|
|
2652
|
+
* @tags secret_notes
|
|
2653
|
+
* @name GetOne
|
|
2654
|
+
* @summary Get Secret note
|
|
2655
|
+
* @request POST:/v1/secret-notes/fetch
|
|
2656
|
+
*/ getOne(getSecretNote, config) {
|
|
2657
|
+
return this.apiClient.request({
|
|
2658
|
+
...config,
|
|
2659
|
+
url: `/v1/secret-notes/fetch`,
|
|
2660
|
+
method: 'POST',
|
|
2661
|
+
data: getSecretNote,
|
|
2662
|
+
secure: false,
|
|
2663
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json,
|
|
2664
|
+
responseType: 'json'
|
|
2665
|
+
});
|
|
2666
|
+
}
|
|
2667
|
+
/**
|
|
2668
|
+
* @description Send Secret note verification code
|
|
2669
|
+
* @tags secret_notes
|
|
2670
|
+
* @name SendVerificationCode
|
|
2671
|
+
* @summary Send Secret note verification code
|
|
2672
|
+
* @request PUT:/v1/secret-notes/verification
|
|
2673
|
+
*/ sendVerificationCode(sendVerificationCodeForSecretNote, config) {
|
|
2674
|
+
return this.apiClient.request({
|
|
2675
|
+
...config,
|
|
2676
|
+
url: `/v1/secret-notes/verification`,
|
|
2677
|
+
method: 'PUT',
|
|
2678
|
+
data: sendVerificationCodeForSecretNote,
|
|
2679
|
+
secure: false,
|
|
2680
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json
|
|
2681
|
+
});
|
|
2682
|
+
}
|
|
2683
|
+
}
|
|
2684
|
+
|
|
2685
|
+
|
|
2686
|
+
var $e4c2376cb2f78204$exports = {};
|
|
2687
|
+
|
|
2688
|
+
$parcel$export($e4c2376cb2f78204$exports, "Sessions", () => $e4c2376cb2f78204$export$c8d7e81b9a544c06);
|
|
2689
|
+
/* eslint-disable */ /* tslint:disable */ /*
|
|
2690
|
+
* ---------------------------------------------------------------
|
|
2691
|
+
* ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##
|
|
2692
|
+
* ## ##
|
|
2693
|
+
* ## AUTHOR: acacode ##
|
|
2694
|
+
* ## SOURCE: https://github.com/acacode/swagger-typescript-api ##
|
|
2695
|
+
* ---------------------------------------------------------------
|
|
2696
|
+
*/
|
|
2697
|
+
|
|
2698
|
+
class $e4c2376cb2f78204$export$c8d7e81b9a544c06 {
|
|
2699
|
+
constructor(apiClient){
|
|
2700
|
+
this.apiClient = apiClient;
|
|
2701
|
+
(0, $jl2YG$autobind)(this);
|
|
2702
|
+
}
|
|
2703
|
+
/**
|
|
2704
|
+
* @description et current user sessions info
|
|
2705
|
+
* @tags sessions
|
|
2706
|
+
* @name GetCurrentUserSessions
|
|
2707
|
+
* @summary Get current user sessions info
|
|
2708
|
+
* @request GET:/v1/auth/sessions
|
|
2709
|
+
* @secure
|
|
2710
|
+
*/ getCurrentUserSessions(config) {
|
|
2711
|
+
return this.apiClient.request({
|
|
2712
|
+
...config,
|
|
2713
|
+
url: `/v1/auth/sessions`,
|
|
2714
|
+
method: 'GET',
|
|
2715
|
+
secure: true,
|
|
2716
|
+
responseType: 'json'
|
|
2717
|
+
});
|
|
2718
|
+
}
|
|
2719
|
+
/**
|
|
2720
|
+
* @description Delete current user sessions by pair id's
|
|
2721
|
+
* @tags sessions
|
|
2722
|
+
* @name DeleteCurrentUserSessions
|
|
2723
|
+
* @summary Delete current user sessions by pair id's
|
|
2724
|
+
* @request DELETE:/v1/auth/sessions
|
|
2725
|
+
* @secure
|
|
2726
|
+
*/ deleteCurrentUserSessions(deleteSessions, config) {
|
|
2727
|
+
return this.apiClient.request({
|
|
2728
|
+
...config,
|
|
2729
|
+
url: `/v1/auth/sessions`,
|
|
2730
|
+
method: 'DELETE',
|
|
2731
|
+
data: deleteSessions,
|
|
2732
|
+
secure: true,
|
|
2733
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json
|
|
2734
|
+
});
|
|
2735
|
+
}
|
|
2736
|
+
}
|
|
2737
|
+
|
|
2738
|
+
|
|
2739
|
+
var $b6b944bab697346c$exports = {};
|
|
2740
|
+
|
|
2741
|
+
$parcel$export($b6b944bab697346c$exports, "SystemUsers", () => $b6b944bab697346c$export$636de4c783ade7b8);
|
|
2742
|
+
/* eslint-disable */ /* tslint:disable */ /*
|
|
2743
|
+
* ---------------------------------------------------------------
|
|
2744
|
+
* ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##
|
|
2745
|
+
* ## ##
|
|
2746
|
+
* ## AUTHOR: acacode ##
|
|
2747
|
+
* ## SOURCE: https://github.com/acacode/swagger-typescript-api ##
|
|
2748
|
+
* ---------------------------------------------------------------
|
|
2749
|
+
*/
|
|
2750
|
+
|
|
2751
|
+
class $b6b944bab697346c$export$636de4c783ade7b8 {
|
|
2752
|
+
constructor(apiClient){
|
|
2753
|
+
this.apiClient = apiClient;
|
|
2754
|
+
(0, $jl2YG$autobind)(this);
|
|
2755
|
+
}
|
|
2756
|
+
/**
|
|
2757
|
+
* @description Create System User
|
|
2758
|
+
* @tags system_users
|
|
2759
|
+
* @name Create
|
|
2760
|
+
* @summary Create System User
|
|
2761
|
+
* @request POST:/v1/users/system
|
|
2762
|
+
* @secure
|
|
2763
|
+
*/ create(createSystemUser, config) {
|
|
2764
|
+
return this.apiClient.request({
|
|
2765
|
+
...config,
|
|
2766
|
+
url: `/v1/users/system`,
|
|
2767
|
+
method: 'POST',
|
|
2768
|
+
data: createSystemUser,
|
|
2769
|
+
secure: true,
|
|
2770
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json,
|
|
2771
|
+
responseType: 'json'
|
|
2772
|
+
});
|
|
2773
|
+
}
|
|
2774
|
+
/**
|
|
2775
|
+
* @description Delete System user by id
|
|
2776
|
+
* @tags system_users
|
|
2777
|
+
* @name DeleteMany
|
|
2778
|
+
* @summary Delete System user by id
|
|
2779
|
+
* @request DELETE:/v1/users/system
|
|
2780
|
+
* @secure
|
|
2781
|
+
*/ deleteMany(deleteSystemUsers, config) {
|
|
2782
|
+
return this.apiClient.request({
|
|
2783
|
+
...config,
|
|
2784
|
+
url: `/v1/users/system`,
|
|
2785
|
+
method: 'DELETE',
|
|
2786
|
+
data: deleteSystemUsers,
|
|
2787
|
+
secure: true,
|
|
2788
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json
|
|
2789
|
+
});
|
|
2790
|
+
}
|
|
2791
|
+
/**
|
|
2792
|
+
* @description Get System users with pagination
|
|
2793
|
+
* @tags System_users
|
|
2794
|
+
* @name Get
|
|
2795
|
+
* @summary Get System users with pagination
|
|
2796
|
+
* @request POST:/v1/users/system/list
|
|
2797
|
+
* @secure
|
|
2798
|
+
*/ get(getSystemUsers, config) {
|
|
2799
|
+
return this.apiClient.request({
|
|
2800
|
+
...config,
|
|
2801
|
+
url: `/v1/users/system/list`,
|
|
2802
|
+
method: 'POST',
|
|
2803
|
+
data: getSystemUsers,
|
|
2804
|
+
secure: true,
|
|
2805
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json,
|
|
2806
|
+
responseType: 'json'
|
|
2807
|
+
});
|
|
2808
|
+
}
|
|
2809
|
+
/**
|
|
2810
|
+
* @description Get System User by id
|
|
2811
|
+
* @tags system_users
|
|
2812
|
+
* @name GetById
|
|
2813
|
+
* @summary Get System User by id
|
|
2814
|
+
* @request GET:/v1/users/system/{id}
|
|
2815
|
+
* @secure
|
|
2816
|
+
*/ getById(id, config) {
|
|
2817
|
+
return this.apiClient.request({
|
|
2818
|
+
...config,
|
|
2819
|
+
url: `/v1/users/system/${id}`,
|
|
2820
|
+
method: 'GET',
|
|
2821
|
+
secure: true,
|
|
2822
|
+
responseType: 'json'
|
|
2823
|
+
});
|
|
2824
|
+
}
|
|
2825
|
+
/**
|
|
2826
|
+
* @description Update System User
|
|
2827
|
+
* @tags system_users
|
|
2828
|
+
* @name Update
|
|
2829
|
+
* @summary Update System User
|
|
2830
|
+
* @request PUT:/v1/users/system/{id}
|
|
2831
|
+
* @secure
|
|
2832
|
+
*/ update(id, updateSystemUser, config) {
|
|
2833
|
+
return this.apiClient.request({
|
|
2834
|
+
...config,
|
|
2835
|
+
url: `/v1/users/system/${id}`,
|
|
2836
|
+
method: 'PUT',
|
|
2837
|
+
data: updateSystemUser,
|
|
2838
|
+
secure: true,
|
|
2839
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json,
|
|
2840
|
+
responseType: 'json'
|
|
2841
|
+
});
|
|
2842
|
+
}
|
|
2843
|
+
/**
|
|
2844
|
+
* @description Change System User status
|
|
2845
|
+
* @tags system_users
|
|
2846
|
+
* @name ChangeStatus
|
|
2847
|
+
* @summary Change System User status
|
|
2848
|
+
* @request PATCH:/v1/users/system/{id}/status
|
|
2849
|
+
* @secure
|
|
2850
|
+
*/ changeStatus(id, changeUserStatus, config) {
|
|
2851
|
+
return this.apiClient.request({
|
|
2852
|
+
...config,
|
|
2853
|
+
url: `/v1/users/system/${id}/status`,
|
|
2854
|
+
method: 'PATCH',
|
|
2855
|
+
data: changeUserStatus,
|
|
2856
|
+
secure: true,
|
|
2857
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json
|
|
2858
|
+
});
|
|
2859
|
+
}
|
|
2860
|
+
}
|
|
2861
|
+
|
|
2862
|
+
|
|
2863
|
+
var $a63eefb6c2ec24f9$exports = {};
|
|
2864
|
+
|
|
2865
|
+
$parcel$export($a63eefb6c2ec24f9$exports, "TablePresets", () => $a63eefb6c2ec24f9$export$f946eed22c6da23d);
|
|
2866
|
+
/* eslint-disable */ /* tslint:disable */ /*
|
|
2867
|
+
* ---------------------------------------------------------------
|
|
2868
|
+
* ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##
|
|
2869
|
+
* ## ##
|
|
2870
|
+
* ## AUTHOR: acacode ##
|
|
2871
|
+
* ## SOURCE: https://github.com/acacode/swagger-typescript-api ##
|
|
2872
|
+
* ---------------------------------------------------------------
|
|
2873
|
+
*/
|
|
2874
|
+
|
|
2875
|
+
class $a63eefb6c2ec24f9$export$f946eed22c6da23d {
|
|
2876
|
+
constructor(apiClient){
|
|
2877
|
+
this.apiClient = apiClient;
|
|
2878
|
+
(0, $jl2YG$autobind)(this);
|
|
2879
|
+
}
|
|
2880
|
+
/**
|
|
2881
|
+
* @description Get user Table Presets
|
|
2882
|
+
* @tags table_presets
|
|
2883
|
+
* @name GetUserPresets
|
|
2884
|
+
* @summary Get user Table Presets
|
|
2885
|
+
* @request GET:/v1/b2b/table-presets
|
|
2886
|
+
* @secure
|
|
2887
|
+
*/ getUserPresets(config) {
|
|
2888
|
+
return this.apiClient.request({
|
|
2889
|
+
...config,
|
|
2890
|
+
url: `/v1/b2b/table-presets`,
|
|
2891
|
+
method: 'GET',
|
|
2892
|
+
secure: true,
|
|
2893
|
+
responseType: 'json'
|
|
2894
|
+
});
|
|
2895
|
+
}
|
|
2896
|
+
/**
|
|
2897
|
+
* @description Upsert Table Preset
|
|
2898
|
+
* @tags table_presets
|
|
2899
|
+
* @name Upsert
|
|
2900
|
+
* @summary Upsert Table Preset
|
|
2901
|
+
* @request PUT:/v1/b2b/table-presets
|
|
2902
|
+
* @secure
|
|
2903
|
+
*/ upsert(upsertTablePreset, config) {
|
|
2904
|
+
return this.apiClient.request({
|
|
2905
|
+
...config,
|
|
2906
|
+
url: `/v1/b2b/table-presets`,
|
|
2907
|
+
method: 'PUT',
|
|
2908
|
+
data: upsertTablePreset,
|
|
2909
|
+
secure: true,
|
|
2910
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json,
|
|
2911
|
+
responseType: 'json'
|
|
2912
|
+
});
|
|
2913
|
+
}
|
|
2914
|
+
}
|
|
2915
|
+
|
|
2916
|
+
|
|
2917
|
+
var $b091938d48d78103$exports = {};
|
|
2918
|
+
|
|
2919
|
+
$parcel$export($b091938d48d78103$exports, "Tags", () => $b091938d48d78103$export$b72686b556e29ca6);
|
|
2920
|
+
/* eslint-disable */ /* tslint:disable */ /*
|
|
2921
|
+
* ---------------------------------------------------------------
|
|
2922
|
+
* ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##
|
|
2923
|
+
* ## ##
|
|
2924
|
+
* ## AUTHOR: acacode ##
|
|
2925
|
+
* ## SOURCE: https://github.com/acacode/swagger-typescript-api ##
|
|
2926
|
+
* ---------------------------------------------------------------
|
|
2927
|
+
*/
|
|
2928
|
+
|
|
2929
|
+
class $b091938d48d78103$export$b72686b556e29ca6 {
|
|
2930
|
+
constructor(apiClient){
|
|
2931
|
+
this.apiClient = apiClient;
|
|
2932
|
+
(0, $jl2YG$autobind)(this);
|
|
2933
|
+
}
|
|
2934
|
+
/**
|
|
2935
|
+
* @description Create Tag
|
|
2936
|
+
* @tags tags
|
|
2937
|
+
* @name Create
|
|
2938
|
+
* @summary Create Tag
|
|
2939
|
+
* @request POST:/v1/tags
|
|
2940
|
+
* @secure
|
|
2941
|
+
*/ create(createTagDto, config) {
|
|
2942
|
+
return this.apiClient.request({
|
|
2943
|
+
...config,
|
|
2944
|
+
url: `/v1/tags`,
|
|
2945
|
+
method: 'POST',
|
|
2946
|
+
data: createTagDto,
|
|
2947
|
+
secure: true,
|
|
2948
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json,
|
|
2949
|
+
responseType: 'json'
|
|
2950
|
+
});
|
|
2951
|
+
}
|
|
2952
|
+
/**
|
|
2953
|
+
* @description Delete Tags
|
|
2954
|
+
* @tags tags
|
|
2955
|
+
* @name DeleteMany
|
|
2956
|
+
* @summary Delete Tags
|
|
2957
|
+
* @request DELETE:/v1/tags
|
|
2958
|
+
* @secure
|
|
2959
|
+
*/ deleteMany(deleteByIDsDto, config) {
|
|
2960
|
+
return this.apiClient.request({
|
|
2961
|
+
...config,
|
|
2962
|
+
url: `/v1/tags`,
|
|
2963
|
+
method: 'DELETE',
|
|
2964
|
+
data: deleteByIDsDto,
|
|
2965
|
+
secure: true,
|
|
2966
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json
|
|
2967
|
+
});
|
|
2968
|
+
}
|
|
2969
|
+
/**
|
|
2970
|
+
* @description Get Tags List. Available fields for sorting are `id, name, created_at, updated_at`. Search is performed by `name`
|
|
2971
|
+
* @tags tags
|
|
2972
|
+
* @name Get
|
|
2973
|
+
* @summary Get Tags List
|
|
2974
|
+
* @request POST:/v1/tags/list
|
|
2975
|
+
* @secure
|
|
2976
|
+
*/ get(getTagsDto, config) {
|
|
2977
|
+
return this.apiClient.request({
|
|
2978
|
+
...config,
|
|
2979
|
+
url: `/v1/tags/list`,
|
|
2980
|
+
method: 'POST',
|
|
2981
|
+
data: getTagsDto,
|
|
2982
|
+
secure: true,
|
|
2983
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json,
|
|
2984
|
+
responseType: 'json'
|
|
2985
|
+
});
|
|
2986
|
+
}
|
|
2987
|
+
/**
|
|
2988
|
+
* @description Get Tags By ID
|
|
2989
|
+
* @tags tags
|
|
2990
|
+
* @name GetById
|
|
2991
|
+
* @summary Get Tag By ID
|
|
2992
|
+
* @request GET:/v1/tags/{id}
|
|
2993
|
+
* @secure
|
|
2994
|
+
*/ getById(id, config) {
|
|
2995
|
+
return this.apiClient.request({
|
|
2996
|
+
...config,
|
|
2997
|
+
url: `/v1/tags/${id}`,
|
|
2998
|
+
method: 'GET',
|
|
2999
|
+
secure: true,
|
|
3000
|
+
responseType: 'json'
|
|
3001
|
+
});
|
|
3002
|
+
}
|
|
3003
|
+
/**
|
|
3004
|
+
* @description Update Tag
|
|
3005
|
+
* @tags tags
|
|
3006
|
+
* @name Update
|
|
3007
|
+
* @summary Update Tag
|
|
3008
|
+
* @request PUT:/v1/tags/{id}
|
|
3009
|
+
* @secure
|
|
3010
|
+
*/ update(id, updateTagDto, config) {
|
|
3011
|
+
return this.apiClient.request({
|
|
3012
|
+
...config,
|
|
3013
|
+
url: `/v1/tags/${id}`,
|
|
3014
|
+
method: 'PUT',
|
|
3015
|
+
data: updateTagDto,
|
|
3016
|
+
secure: true,
|
|
3017
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json,
|
|
3018
|
+
responseType: 'json'
|
|
3019
|
+
});
|
|
3020
|
+
}
|
|
3021
|
+
}
|
|
3022
|
+
|
|
3023
|
+
|
|
3024
|
+
var $6c89247687c1ed28$exports = {};
|
|
3025
|
+
|
|
3026
|
+
$parcel$export($6c89247687c1ed28$exports, "UmaAuthAppType", () => $6c89247687c1ed28$export$80a68721ef65174d);
|
|
3027
|
+
$parcel$export($6c89247687c1ed28$exports, "UmaAuthUserType", () => $6c89247687c1ed28$export$9e3be91ea0925e63);
|
|
3028
|
+
$parcel$export($6c89247687c1ed28$exports, "UmaResetPasswordType", () => $6c89247687c1ed28$export$4d8761baa197d101);
|
|
3029
|
+
$parcel$export($6c89247687c1ed28$exports, "UmaErrorCode", () => $6c89247687c1ed28$export$26e40f3b3a68dd88);
|
|
3030
|
+
$parcel$export($6c89247687c1ed28$exports, "UmaOption", () => $6c89247687c1ed28$export$b942b4f86682a31c);
|
|
3031
|
+
$parcel$export($6c89247687c1ed28$exports, "UmaAuthProviderAppType", () => $6c89247687c1ed28$export$f225bf8d20c34dc4);
|
|
3032
|
+
$parcel$export($6c89247687c1ed28$exports, "UmaEndpointType", () => $6c89247687c1ed28$export$fbeeb34ec62b81a3);
|
|
3033
|
+
$parcel$export($6c89247687c1ed28$exports, "UmaEntityAccessType", () => $6c89247687c1ed28$export$d0740a1f11370fb3);
|
|
3034
|
+
$parcel$export($6c89247687c1ed28$exports, "UmaPermissionAG", () => $6c89247687c1ed28$export$6cb5e83f5f5af956);
|
|
3035
|
+
$parcel$export($6c89247687c1ed28$exports, "UmaUserStatus", () => $6c89247687c1ed28$export$40c85964c9d60a16);
|
|
3036
|
+
$parcel$export($6c89247687c1ed28$exports, "UmaUserType", () => $6c89247687c1ed28$export$51b69238136d8bf1);
|
|
3037
|
+
$parcel$export($6c89247687c1ed28$exports, "UmaTenantSettingLabel", () => $6c89247687c1ed28$export$9eb6fa5a85b589e6);
|
|
3038
|
+
$parcel$export($6c89247687c1ed28$exports, "UmaAuthFormDtoResetPasswordTypeEnum", () => $6c89247687c1ed28$export$e652a4cb9330c8d2);
|
|
3039
|
+
$parcel$export($6c89247687c1ed28$exports, "UmaAuthFormSerializerResetPasswordTypeEnum", () => $6c89247687c1ed28$export$8d1aa71ae381a883);
|
|
3040
|
+
$parcel$export($6c89247687c1ed28$exports, "UmaB2BSendContactChangeCodeDtoTypeEnum", () => $6c89247687c1ed28$export$855c0abf639c0a2b);
|
|
3041
|
+
$parcel$export($6c89247687c1ed28$exports, "UmaB2CResetPasswordDtoResetTypeEnum", () => $6c89247687c1ed28$export$ee2e64a99304ec62);
|
|
3042
|
+
$parcel$export($6c89247687c1ed28$exports, "UmaB2CSendContactChangeCodeDtoTypeEnum", () => $6c89247687c1ed28$export$cb5ce7daabd2e17c);
|
|
3043
|
+
$parcel$export($6c89247687c1ed28$exports, "UmaB2CSendVerificationCodeDtoCodeTypeEnum", () => $6c89247687c1ed28$export$b6706226fff0ec2c);
|
|
3044
|
+
$parcel$export($6c89247687c1ed28$exports, "UmaCreateEndpointDtoMethodEnum", () => $6c89247687c1ed28$export$fe6e9eeb86b74e20);
|
|
3045
|
+
$parcel$export($6c89247687c1ed28$exports, "UmaCreateEndpointDtoTypeEnum", () => $6c89247687c1ed28$export$45c185db4ed17146);
|
|
3046
|
+
$parcel$export($6c89247687c1ed28$exports, "UmaCreateIdentityProviderDtoTypeEnum", () => $6c89247687c1ed28$export$98a2d76b8b98d939);
|
|
3047
|
+
$parcel$export($6c89247687c1ed28$exports, "UmaCreatePermissionDtoAssignmentGroupEnum", () => $6c89247687c1ed28$export$f2c9b083b701c041);
|
|
3048
|
+
$parcel$export($6c89247687c1ed28$exports, "UmaCreateRoleDtoAssignmentGroupEnum", () => $6c89247687c1ed28$export$8d399fefbd60de17);
|
|
3049
|
+
$parcel$export($6c89247687c1ed28$exports, "UmaCreateSecretNoteDtoTypeEnum", () => $6c89247687c1ed28$export$1185a2dff04b24a9);
|
|
3050
|
+
$parcel$export($6c89247687c1ed28$exports, "UmaEndpointMetadataDtoUserTypeEnum", () => $6c89247687c1ed28$export$dc5b15ad0821f43b);
|
|
3051
|
+
$parcel$export($6c89247687c1ed28$exports, "UmaEndpointSerializerMethodEnum", () => $6c89247687c1ed28$export$139725f1c32bb1b1);
|
|
3052
|
+
$parcel$export($6c89247687c1ed28$exports, "UmaGetB2CUsersListFiltersDtoTypeEnum", () => $6c89247687c1ed28$export$4a93085e3ec25283);
|
|
3053
|
+
$parcel$export($6c89247687c1ed28$exports, "UmaGetB2CUsersListFiltersDtoShowOnlyEnum", () => $6c89247687c1ed28$export$b42b48ae4eee4675);
|
|
3054
|
+
$parcel$export($6c89247687c1ed28$exports, "UmaGetFirmsListFiltersDtoStatusesEnum", () => $6c89247687c1ed28$export$d860c2e62b63d49b);
|
|
3055
|
+
$parcel$export($6c89247687c1ed28$exports, "UmaGetIdentityProvidersListFiltersDtoTypesEnum", () => $6c89247687c1ed28$export$7da111135c500e8e);
|
|
3056
|
+
$parcel$export($6c89247687c1ed28$exports, "UmaGetUsersListFiltersDtoTypeEnum", () => $6c89247687c1ed28$export$b3b8396b0f842b7f);
|
|
3057
|
+
$parcel$export($6c89247687c1ed28$exports, "UmaGetUsersListFiltersDtoShowOnlyEnum", () => $6c89247687c1ed28$export$57978e26cf68bf29);
|
|
3058
|
+
$parcel$export($6c89247687c1ed28$exports, "UmaGetWebAuthnLoginChallengeDtoUserTypeEnum", () => $6c89247687c1ed28$export$cf1623cf2c62174d);
|
|
3059
|
+
$parcel$export($6c89247687c1ed28$exports, "UmaIdentityProviderSerializerTypeEnum", () => $6c89247687c1ed28$export$74fda118814b2c69);
|
|
3060
|
+
$parcel$export($6c89247687c1ed28$exports, "UmaLinkWatchmenUserToUmaDtoUmaUserTypeEnum", () => $6c89247687c1ed28$export$f0b113a2ec1676d9);
|
|
3061
|
+
$parcel$export($6c89247687c1ed28$exports, "UmaPermissionSerializerAssignmentGroupEnum", () => $6c89247687c1ed28$export$f336736d62d74184);
|
|
3062
|
+
$parcel$export($6c89247687c1ed28$exports, "UmaRevokeUserSessionsDtoUserTypeEnum", () => $6c89247687c1ed28$export$d52f1ee1d11bbf21);
|
|
3063
|
+
$parcel$export($6c89247687c1ed28$exports, "UmaSecretNoteSerializerTypeEnum", () => $6c89247687c1ed28$export$acb35be04555bc98);
|
|
3064
|
+
$parcel$export($6c89247687c1ed28$exports, "UmaSendB2BMfaCodeDtoTypeEnum", () => $6c89247687c1ed28$export$b58c500fbe7ba026);
|
|
3065
|
+
$parcel$export($6c89247687c1ed28$exports, "UmaSendB2CMfaCodeDtoTypeEnum", () => $6c89247687c1ed28$export$2296c353ecee8dca);
|
|
3066
|
+
$parcel$export($6c89247687c1ed28$exports, "UmaSendB2CResetPasswordCodeDtoCodeTypeEnum", () => $6c89247687c1ed28$export$dff8055bb7575170);
|
|
3067
|
+
$parcel$export($6c89247687c1ed28$exports, "UmaSendB2CResetPasswordCodeDtoResetTypeEnum", () => $6c89247687c1ed28$export$3de316bb8a940449);
|
|
3068
|
+
$parcel$export($6c89247687c1ed28$exports, "UmaSendResetPasswordCodeDtoTypeEnum", () => $6c89247687c1ed28$export$4dea8419eb7d9d00);
|
|
3069
|
+
$parcel$export($6c89247687c1ed28$exports, "UmaTenantSettingDtoLabelEnum", () => $6c89247687c1ed28$export$c415d7932d9aa8e4);
|
|
3070
|
+
$parcel$export($6c89247687c1ed28$exports, "UmaUpdateAuthAppDtoStatusEnum", () => $6c89247687c1ed28$export$50a533e71d27c8f3);
|
|
3071
|
+
$parcel$export($6c89247687c1ed28$exports, "UmaUpdateEndpointDtoMethodEnum", () => $6c89247687c1ed28$export$837c9c846d6ad015);
|
|
3072
|
+
$parcel$export($6c89247687c1ed28$exports, "UmaUpdateEndpointDtoTypeEnum", () => $6c89247687c1ed28$export$891f3642d487f81c);
|
|
3073
|
+
$parcel$export($6c89247687c1ed28$exports, "UmaUpdateFirmDtoStatusEnum", () => $6c89247687c1ed28$export$32d58a6fa29309a7);
|
|
3074
|
+
$parcel$export($6c89247687c1ed28$exports, "UmaUpdateIdentityProviderDtoTypeEnum", () => $6c89247687c1ed28$export$e297295319f353fb);
|
|
3075
|
+
$parcel$export($6c89247687c1ed28$exports, "UmaUpsertUserDtoTypeEnum", () => $6c89247687c1ed28$export$8be51d197d5d3e7);
|
|
3076
|
+
$parcel$export($6c89247687c1ed28$exports, "UmaVerifyContactDtoCodeTypeEnum", () => $6c89247687c1ed28$export$6d687bd5e60dd542);
|
|
3077
|
+
/* eslint-disable */ /* tslint:disable */ /*
|
|
3078
|
+
* ---------------------------------------------------------------
|
|
3079
|
+
* ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##
|
|
3080
|
+
* ## ##
|
|
3081
|
+
* ## AUTHOR: acacode ##
|
|
3082
|
+
* ## SOURCE: https://github.com/acacode/swagger-typescript-api ##
|
|
3083
|
+
* ---------------------------------------------------------------
|
|
3084
|
+
*/ var $6c89247687c1ed28$export$80a68721ef65174d = /*#__PURE__*/ function(UmaAuthAppType) {
|
|
3085
|
+
UmaAuthAppType["EmailCodeAuthAppType"] = "email_code";
|
|
3086
|
+
UmaAuthAppType["SmsCodeAuthAppType"] = "sms_code";
|
|
3087
|
+
UmaAuthAppType["YubicoOTPAuthAppType"] = "yubico_otp";
|
|
3088
|
+
UmaAuthAppType["WebAuthnAuthAppType"] = "webauthn";
|
|
3089
|
+
UmaAuthAppType["TOTPAuthAppType"] = "totp";
|
|
3090
|
+
return UmaAuthAppType;
|
|
3091
|
+
}({});
|
|
3092
|
+
var $6c89247687c1ed28$export$9e3be91ea0925e63 = /*#__PURE__*/ function(UmaAuthUserType) {
|
|
3093
|
+
UmaAuthUserType["AllAuthUserType"] = "all";
|
|
3094
|
+
UmaAuthUserType["B2BAuthUserType"] = "b2b";
|
|
3095
|
+
UmaAuthUserType["B2CAuthUserType"] = "b2c";
|
|
3096
|
+
return UmaAuthUserType;
|
|
3097
|
+
}({});
|
|
3098
|
+
var $6c89247687c1ed28$export$4d8761baa197d101 = /*#__PURE__*/ function(UmaResetPasswordType) {
|
|
3099
|
+
UmaResetPasswordType["PasswordResetByContactCode"] = "by_contact_code";
|
|
3100
|
+
UmaResetPasswordType["PasswordResetByEmailLink"] = "by_email_link";
|
|
3101
|
+
return UmaResetPasswordType;
|
|
3102
|
+
}({});
|
|
3103
|
+
var $6c89247687c1ed28$export$26e40f3b3a68dd88 = /*#__PURE__*/ function(UmaErrorCode) {
|
|
3104
|
+
UmaErrorCode[UmaErrorCode["JSONValidationErr"] = 4000] = "JSONValidationErr";
|
|
3105
|
+
UmaErrorCode[UmaErrorCode["JSONReadErr"] = 4001] = "JSONReadErr";
|
|
3106
|
+
UmaErrorCode[UmaErrorCode["JSONParseErr"] = 4002] = "JSONParseErr";
|
|
3107
|
+
UmaErrorCode[UmaErrorCode["ForbiddenErr"] = 4003] = "ForbiddenErr";
|
|
3108
|
+
UmaErrorCode[UmaErrorCode["ForbiddenDueLimit"] = 4030] = "ForbiddenDueLimit";
|
|
3109
|
+
UmaErrorCode[UmaErrorCode["RecordNotFoundErr"] = 4004] = "RecordNotFoundErr";
|
|
3110
|
+
UmaErrorCode[UmaErrorCode["RecordAlreadyExistsErr"] = 4005] = "RecordAlreadyExistsErr";
|
|
3111
|
+
UmaErrorCode[UmaErrorCode["ImageValidationErr"] = 4006] = "ImageValidationErr";
|
|
3112
|
+
UmaErrorCode[UmaErrorCode["InappropriateImageErr"] = 4007] = "InappropriateImageErr";
|
|
3113
|
+
UmaErrorCode[UmaErrorCode["FaceNotFoundOnImageErr"] = 4008] = "FaceNotFoundOnImageErr";
|
|
3114
|
+
UmaErrorCode[UmaErrorCode["UnauthorizedErr"] = 4010] = "UnauthorizedErr";
|
|
3115
|
+
UmaErrorCode[UmaErrorCode["TokenRevokedErr"] = 4012] = "TokenRevokedErr";
|
|
3116
|
+
UmaErrorCode[UmaErrorCode["TokenNotActiveErr"] = 4013] = "TokenNotActiveErr";
|
|
3117
|
+
UmaErrorCode[UmaErrorCode["EmailNotVerifiedErr"] = 4015] = "EmailNotVerifiedErr";
|
|
3118
|
+
UmaErrorCode[UmaErrorCode["TokenParsingErr"] = 4016] = "TokenParsingErr";
|
|
3119
|
+
UmaErrorCode[UmaErrorCode["PhoneNotVerifiedErr"] = 4017] = "PhoneNotVerifiedErr";
|
|
3120
|
+
UmaErrorCode[UmaErrorCode["UUIDParseErr"] = 4026] = "UUIDParseErr";
|
|
3121
|
+
UmaErrorCode[UmaErrorCode["InvalidEmailOrPasswordOrTypeErr"] = 4028] = "InvalidEmailOrPasswordOrTypeErr";
|
|
3122
|
+
UmaErrorCode[UmaErrorCode["InvalidMfaCodeErr"] = 4128] = "InvalidMfaCodeErr";
|
|
3123
|
+
UmaErrorCode[UmaErrorCode["MfaRequiredErr"] = 4228] = "MfaRequiredErr";
|
|
3124
|
+
UmaErrorCode[UmaErrorCode["TokenVerificationErr"] = 4328] = "TokenVerificationErr";
|
|
3125
|
+
UmaErrorCode[UmaErrorCode["InvalidAPIKeyOrSecretErr"] = 4428] = "InvalidAPIKeyOrSecretErr";
|
|
3126
|
+
UmaErrorCode[UmaErrorCode["MfaAddingNotAllowedErr"] = 4528] = "MfaAddingNotAllowedErr";
|
|
3127
|
+
UmaErrorCode[UmaErrorCode["BranchRequestNotAllowed"] = 4103] = "BranchRequestNotAllowed";
|
|
3128
|
+
UmaErrorCode[UmaErrorCode["ForbiddenForUserTypeErr"] = 4203] = "ForbiddenForUserTypeErr";
|
|
3129
|
+
UmaErrorCode[UmaErrorCode["SecondForbiddenErr"] = 4031] = "SecondForbiddenErr";
|
|
3130
|
+
UmaErrorCode[UmaErrorCode["ThirdForbiddenErr"] = 4032] = "ThirdForbiddenErr";
|
|
3131
|
+
UmaErrorCode[UmaErrorCode["EntitiesChoiceNotAllowed"] = 4303] = "EntitiesChoiceNotAllowed";
|
|
3132
|
+
UmaErrorCode[UmaErrorCode["RecaptchaErr"] = 4403] = "RecaptchaErr";
|
|
3133
|
+
UmaErrorCode[UmaErrorCode["UpdateOfOldEntityStateErr"] = 4503] = "UpdateOfOldEntityStateErr";
|
|
3134
|
+
UmaErrorCode[UmaErrorCode["ChiefadminMutationErr"] = 4603] = "ChiefadminMutationErr";
|
|
3135
|
+
UmaErrorCode[UmaErrorCode["ChildEntitiesExistErr"] = 4703] = "ChildEntitiesExistErr";
|
|
3136
|
+
UmaErrorCode[UmaErrorCode["TenantActionForbiddenErr"] = 4803] = "TenantActionForbiddenErr";
|
|
3137
|
+
UmaErrorCode[UmaErrorCode["RBACManipulationErr"] = 4903] = "RBACManipulationErr";
|
|
3138
|
+
UmaErrorCode[UmaErrorCode["YubicoMaxKeysLimitReachedErr"] = 4113] = "YubicoMaxKeysLimitReachedErr";
|
|
3139
|
+
UmaErrorCode[UmaErrorCode["ConflictErr"] = 4090] = "ConflictErr";
|
|
3140
|
+
UmaErrorCode[UmaErrorCode["SecondFieldConflictErr"] = 4091] = "SecondFieldConflictErr";
|
|
3141
|
+
UmaErrorCode[UmaErrorCode["ThirdFieldConflictErr"] = 4092] = "ThirdFieldConflictErr";
|
|
3142
|
+
UmaErrorCode[UmaErrorCode["FourthFieldConflictErr"] = 4093] = "FourthFieldConflictErr";
|
|
3143
|
+
UmaErrorCode[UmaErrorCode["FifthFieldConflictErr"] = 4094] = "FifthFieldConflictErr";
|
|
3144
|
+
UmaErrorCode[UmaErrorCode["SixthFieldConflictErr"] = 4095] = "SixthFieldConflictErr";
|
|
3145
|
+
UmaErrorCode[UmaErrorCode["SeventhFieldConflictErr"] = 4096] = "SeventhFieldConflictErr";
|
|
3146
|
+
UmaErrorCode[UmaErrorCode["GoneErr"] = 4100] = "GoneErr";
|
|
3147
|
+
UmaErrorCode[UmaErrorCode["SecondGoneErr"] = 4101] = "SecondGoneErr";
|
|
3148
|
+
UmaErrorCode[UmaErrorCode["UnprocessableEntity"] = 4222] = "UnprocessableEntity";
|
|
3149
|
+
UmaErrorCode[UmaErrorCode["TooEarlyDuplicateRequest"] = 4250] = "TooEarlyDuplicateRequest";
|
|
3150
|
+
UmaErrorCode[UmaErrorCode["RateLimitErr"] = 4291] = "RateLimitErr";
|
|
3151
|
+
UmaErrorCode[UmaErrorCode["ForbiddenByFirmsStatusErr"] = 4292] = "ForbiddenByFirmsStatusErr";
|
|
3152
|
+
UmaErrorCode[UmaErrorCode["NotAcceptableError"] = 4600] = "NotAcceptableError";
|
|
3153
|
+
UmaErrorCode[UmaErrorCode["InternalServerErr"] = 5000] = "InternalServerErr";
|
|
3154
|
+
UmaErrorCode[UmaErrorCode["InvalidRequest"] = 6000] = "InvalidRequest";
|
|
3155
|
+
return UmaErrorCode;
|
|
3156
|
+
}({});
|
|
3157
|
+
var $6c89247687c1ed28$export$b942b4f86682a31c = /*#__PURE__*/ function(UmaOption) {
|
|
3158
|
+
UmaOption["SmsMfaOption"] = "sms";
|
|
3159
|
+
UmaOption["EmailMfaOption"] = "email";
|
|
3160
|
+
UmaOption["VoiceMfaOption"] = "voice";
|
|
3161
|
+
UmaOption["WebAuthnMfaOption"] = "webauthn";
|
|
3162
|
+
UmaOption["YubicoOTPMfaOption"] = "yubico_otp";
|
|
3163
|
+
UmaOption["TOTPMfaOption"] = "totp";
|
|
3164
|
+
return UmaOption;
|
|
3165
|
+
}({});
|
|
3166
|
+
var $6c89247687c1ed28$export$f225bf8d20c34dc4 = /*#__PURE__*/ function(UmaAuthProviderAppType) {
|
|
3167
|
+
UmaAuthProviderAppType["GoogleOAuth2Provider"] = "google-oauth2";
|
|
3168
|
+
UmaAuthProviderAppType["AppleIDOAuth2Provider"] = "apple-id";
|
|
3169
|
+
return UmaAuthProviderAppType;
|
|
3170
|
+
}({});
|
|
3171
|
+
var $6c89247687c1ed28$export$fbeeb34ec62b81a3 = /*#__PURE__*/ function(UmaEndpointType) {
|
|
3172
|
+
UmaEndpointType["RegularEndpoint"] = "regular";
|
|
3173
|
+
UmaEndpointType["DisplayOnlyEndpoint"] = "display_only";
|
|
3174
|
+
return UmaEndpointType;
|
|
3175
|
+
}({});
|
|
3176
|
+
var $6c89247687c1ed28$export$d0740a1f11370fb3 = /*#__PURE__*/ function(UmaEntityAccessType) {
|
|
3177
|
+
UmaEntityAccessType["GranularEntityAccessType"] = "granular";
|
|
3178
|
+
UmaEntityAccessType["HighLevelEntityAccessType"] = "high-level";
|
|
3179
|
+
return UmaEntityAccessType;
|
|
3180
|
+
}({});
|
|
3181
|
+
var $6c89247687c1ed28$export$6cb5e83f5f5af956 = /*#__PURE__*/ function(UmaPermissionAG) {
|
|
3182
|
+
UmaPermissionAG["ChiefadminPermissionAG"] = "chiefadmin";
|
|
3183
|
+
UmaPermissionAG["SuperadminPermissionAG"] = "superadmin";
|
|
3184
|
+
UmaPermissionAG["B2BOnlyPermissionAG"] = "b2b_only";
|
|
3185
|
+
UmaPermissionAG["RegularPermissionAG"] = "regular";
|
|
3186
|
+
return UmaPermissionAG;
|
|
3187
|
+
}({});
|
|
3188
|
+
var $6c89247687c1ed28$export$40c85964c9d60a16 = /*#__PURE__*/ function(UmaUserStatus) {
|
|
3189
|
+
UmaUserStatus["ActiveUserStatus"] = "active";
|
|
3190
|
+
UmaUserStatus["BlockedUserStatus"] = "blocked";
|
|
3191
|
+
UmaUserStatus["ArchivedUserStatus"] = "archived";
|
|
3192
|
+
return UmaUserStatus;
|
|
3193
|
+
}({});
|
|
3194
|
+
var $6c89247687c1ed28$export$51b69238136d8bf1 = /*#__PURE__*/ function(UmaUserType) {
|
|
3195
|
+
UmaUserType["B2BUserType"] = "b2b";
|
|
3196
|
+
UmaUserType["SystemUserType"] = "system";
|
|
3197
|
+
return UmaUserType;
|
|
3198
|
+
}({});
|
|
3199
|
+
var $6c89247687c1ed28$export$9eb6fa5a85b589e6 = /*#__PURE__*/ function(UmaTenantSettingLabel) {
|
|
3200
|
+
UmaTenantSettingLabel["StorePasswordHistoryForDays"] = "store_password_history_for_days";
|
|
3201
|
+
UmaTenantSettingLabel["ResetPasswordIfUserInactiveForDays"] = "reset_password_if_user_inactive_for_days";
|
|
3202
|
+
UmaTenantSettingLabel["PeriodicallyResetPasswordAfterDays"] = "periodically_reset_password_after_days";
|
|
3203
|
+
return UmaTenantSettingLabel;
|
|
3204
|
+
}({});
|
|
3205
|
+
var $6c89247687c1ed28$export$e652a4cb9330c8d2 = /*#__PURE__*/ function(UmaAuthFormDtoResetPasswordTypeEnum) {
|
|
3206
|
+
UmaAuthFormDtoResetPasswordTypeEnum["ByContactCode"] = "by_contact_code";
|
|
3207
|
+
UmaAuthFormDtoResetPasswordTypeEnum["ByEmailLink"] = "by_email_link";
|
|
3208
|
+
return UmaAuthFormDtoResetPasswordTypeEnum;
|
|
3209
|
+
}({});
|
|
3210
|
+
var $6c89247687c1ed28$export$8d1aa71ae381a883 = /*#__PURE__*/ function(UmaAuthFormSerializerResetPasswordTypeEnum) {
|
|
3211
|
+
UmaAuthFormSerializerResetPasswordTypeEnum["ByContactCode"] = "by_contact_code";
|
|
3212
|
+
UmaAuthFormSerializerResetPasswordTypeEnum["ByEmailLink"] = "by_email_link";
|
|
3213
|
+
return UmaAuthFormSerializerResetPasswordTypeEnum;
|
|
3214
|
+
}({});
|
|
3215
|
+
var $6c89247687c1ed28$export$855c0abf639c0a2b = /*#__PURE__*/ function(UmaB2BSendContactChangeCodeDtoTypeEnum) {
|
|
3216
|
+
UmaB2BSendContactChangeCodeDtoTypeEnum["Email"] = "email";
|
|
3217
|
+
UmaB2BSendContactChangeCodeDtoTypeEnum["Voice"] = "voice";
|
|
3218
|
+
UmaB2BSendContactChangeCodeDtoTypeEnum["Sms"] = "sms";
|
|
3219
|
+
return UmaB2BSendContactChangeCodeDtoTypeEnum;
|
|
3220
|
+
}({});
|
|
3221
|
+
var $6c89247687c1ed28$export$ee2e64a99304ec62 = /*#__PURE__*/ function(UmaB2CResetPasswordDtoResetTypeEnum) {
|
|
3222
|
+
UmaB2CResetPasswordDtoResetTypeEnum["ByContactCode"] = "by_contact_code";
|
|
3223
|
+
UmaB2CResetPasswordDtoResetTypeEnum["ByEmailLink"] = "by_email_link";
|
|
3224
|
+
return UmaB2CResetPasswordDtoResetTypeEnum;
|
|
3225
|
+
}({});
|
|
3226
|
+
var $6c89247687c1ed28$export$cb5ce7daabd2e17c = /*#__PURE__*/ function(UmaB2CSendContactChangeCodeDtoTypeEnum) {
|
|
3227
|
+
UmaB2CSendContactChangeCodeDtoTypeEnum["Email"] = "email";
|
|
3228
|
+
UmaB2CSendContactChangeCodeDtoTypeEnum["Voice"] = "voice";
|
|
3229
|
+
UmaB2CSendContactChangeCodeDtoTypeEnum["Sms"] = "sms";
|
|
3230
|
+
return UmaB2CSendContactChangeCodeDtoTypeEnum;
|
|
3231
|
+
}({});
|
|
3232
|
+
var $6c89247687c1ed28$export$b6706226fff0ec2c = /*#__PURE__*/ function(UmaB2CSendVerificationCodeDtoCodeTypeEnum) {
|
|
3233
|
+
UmaB2CSendVerificationCodeDtoCodeTypeEnum["Email"] = "email";
|
|
3234
|
+
UmaB2CSendVerificationCodeDtoCodeTypeEnum["Voice"] = "voice";
|
|
3235
|
+
UmaB2CSendVerificationCodeDtoCodeTypeEnum["Sms"] = "sms";
|
|
3236
|
+
return UmaB2CSendVerificationCodeDtoCodeTypeEnum;
|
|
3237
|
+
}({});
|
|
3238
|
+
var $6c89247687c1ed28$export$fe6e9eeb86b74e20 = /*#__PURE__*/ function(UmaCreateEndpointDtoMethodEnum) {
|
|
3239
|
+
UmaCreateEndpointDtoMethodEnum["POST"] = "POST";
|
|
3240
|
+
UmaCreateEndpointDtoMethodEnum["PUT"] = "PUT";
|
|
3241
|
+
UmaCreateEndpointDtoMethodEnum["DELETE"] = "DELETE";
|
|
3242
|
+
UmaCreateEndpointDtoMethodEnum["GET"] = "GET";
|
|
3243
|
+
UmaCreateEndpointDtoMethodEnum["PATCH"] = "PATCH";
|
|
3244
|
+
UmaCreateEndpointDtoMethodEnum["ALL"] = "ALL";
|
|
3245
|
+
return UmaCreateEndpointDtoMethodEnum;
|
|
3246
|
+
}({});
|
|
3247
|
+
var $6c89247687c1ed28$export$45c185db4ed17146 = /*#__PURE__*/ function(UmaCreateEndpointDtoTypeEnum) {
|
|
3248
|
+
UmaCreateEndpointDtoTypeEnum["Regular"] = "regular";
|
|
3249
|
+
UmaCreateEndpointDtoTypeEnum["DisplayOnly"] = "display_only";
|
|
3250
|
+
return UmaCreateEndpointDtoTypeEnum;
|
|
3251
|
+
}({});
|
|
3252
|
+
var $6c89247687c1ed28$export$98a2d76b8b98d939 = /*#__PURE__*/ function(UmaCreateIdentityProviderDtoTypeEnum) {
|
|
3253
|
+
UmaCreateIdentityProviderDtoTypeEnum["Okta"] = "okta";
|
|
3254
|
+
return UmaCreateIdentityProviderDtoTypeEnum;
|
|
3255
|
+
}({});
|
|
3256
|
+
var $6c89247687c1ed28$export$f2c9b083b701c041 = /*#__PURE__*/ function(UmaCreatePermissionDtoAssignmentGroupEnum) {
|
|
3257
|
+
UmaCreatePermissionDtoAssignmentGroupEnum["Regular"] = "regular";
|
|
3258
|
+
UmaCreatePermissionDtoAssignmentGroupEnum["Superadmin"] = "superadmin";
|
|
3259
|
+
UmaCreatePermissionDtoAssignmentGroupEnum["B2BOnly"] = "b2b_only";
|
|
3260
|
+
return UmaCreatePermissionDtoAssignmentGroupEnum;
|
|
3261
|
+
}({});
|
|
3262
|
+
var $6c89247687c1ed28$export$8d399fefbd60de17 = /*#__PURE__*/ function(UmaCreateRoleDtoAssignmentGroupEnum) {
|
|
3263
|
+
UmaCreateRoleDtoAssignmentGroupEnum["Regular"] = "regular";
|
|
3264
|
+
UmaCreateRoleDtoAssignmentGroupEnum["Superadmin"] = "superadmin";
|
|
3265
|
+
UmaCreateRoleDtoAssignmentGroupEnum["B2BOnly"] = "b2b_only";
|
|
3266
|
+
return UmaCreateRoleDtoAssignmentGroupEnum;
|
|
3267
|
+
}({});
|
|
3268
|
+
var $6c89247687c1ed28$export$1185a2dff04b24a9 = /*#__PURE__*/ function(UmaCreateSecretNoteDtoTypeEnum) {
|
|
3269
|
+
UmaCreateSecretNoteDtoTypeEnum["Password"] = "password";
|
|
3270
|
+
return UmaCreateSecretNoteDtoTypeEnum;
|
|
3271
|
+
}({});
|
|
3272
|
+
var $6c89247687c1ed28$export$dc5b15ad0821f43b = /*#__PURE__*/ function(UmaEndpointMetadataDtoUserTypeEnum) {
|
|
3273
|
+
UmaEndpointMetadataDtoUserTypeEnum["B2B"] = "b2b";
|
|
3274
|
+
UmaEndpointMetadataDtoUserTypeEnum["B2C"] = "b2c";
|
|
3275
|
+
return UmaEndpointMetadataDtoUserTypeEnum;
|
|
3276
|
+
}({});
|
|
3277
|
+
var $6c89247687c1ed28$export$139725f1c32bb1b1 = /*#__PURE__*/ function(UmaEndpointSerializerMethodEnum) {
|
|
3278
|
+
UmaEndpointSerializerMethodEnum["POST"] = "POST";
|
|
3279
|
+
UmaEndpointSerializerMethodEnum["PUT"] = "PUT";
|
|
3280
|
+
UmaEndpointSerializerMethodEnum["DELETE"] = "DELETE";
|
|
3281
|
+
UmaEndpointSerializerMethodEnum["GET"] = "GET";
|
|
3282
|
+
UmaEndpointSerializerMethodEnum["PATCH"] = "PATCH";
|
|
3283
|
+
UmaEndpointSerializerMethodEnum["ALL"] = "ALL";
|
|
3284
|
+
return UmaEndpointSerializerMethodEnum;
|
|
3285
|
+
}({});
|
|
3286
|
+
var $6c89247687c1ed28$export$4a93085e3ec25283 = /*#__PURE__*/ function(UmaGetB2CUsersListFiltersDtoTypeEnum) {
|
|
3287
|
+
UmaGetB2CUsersListFiltersDtoTypeEnum["B2B"] = "b2b";
|
|
3288
|
+
UmaGetB2CUsersListFiltersDtoTypeEnum["System"] = "system";
|
|
3289
|
+
return UmaGetB2CUsersListFiltersDtoTypeEnum;
|
|
3290
|
+
}({});
|
|
3291
|
+
var $6c89247687c1ed28$export$b42b48ae4eee4675 = /*#__PURE__*/ function(UmaGetB2CUsersListFiltersDtoShowOnlyEnum) {
|
|
3292
|
+
UmaGetB2CUsersListFiltersDtoShowOnlyEnum["Admin"] = "admin";
|
|
3293
|
+
UmaGetB2CUsersListFiltersDtoShowOnlyEnum["BranchAdmin"] = "branch_admin";
|
|
3294
|
+
UmaGetB2CUsersListFiltersDtoShowOnlyEnum["Compliance"] = "compliance";
|
|
3295
|
+
return UmaGetB2CUsersListFiltersDtoShowOnlyEnum;
|
|
3296
|
+
}({});
|
|
3297
|
+
var $6c89247687c1ed28$export$d860c2e62b63d49b = /*#__PURE__*/ function(UmaGetFirmsListFiltersDtoStatusesEnum) {
|
|
3298
|
+
UmaGetFirmsListFiltersDtoStatusesEnum["InProgress"] = "in_progress";
|
|
3299
|
+
UmaGetFirmsListFiltersDtoStatusesEnum["Active"] = "active";
|
|
3300
|
+
UmaGetFirmsListFiltersDtoStatusesEnum["Suspended"] = "suspended";
|
|
3301
|
+
UmaGetFirmsListFiltersDtoStatusesEnum["Deleted"] = "deleted";
|
|
3302
|
+
return UmaGetFirmsListFiltersDtoStatusesEnum;
|
|
3303
|
+
}({});
|
|
3304
|
+
var $6c89247687c1ed28$export$7da111135c500e8e = /*#__PURE__*/ function(UmaGetIdentityProvidersListFiltersDtoTypesEnum) {
|
|
3305
|
+
UmaGetIdentityProvidersListFiltersDtoTypesEnum["Okta"] = "okta";
|
|
3306
|
+
return UmaGetIdentityProvidersListFiltersDtoTypesEnum;
|
|
3307
|
+
}({});
|
|
3308
|
+
var $6c89247687c1ed28$export$b3b8396b0f842b7f = /*#__PURE__*/ function(UmaGetUsersListFiltersDtoTypeEnum) {
|
|
3309
|
+
UmaGetUsersListFiltersDtoTypeEnum["B2B"] = "b2b";
|
|
3310
|
+
UmaGetUsersListFiltersDtoTypeEnum["System"] = "system";
|
|
3311
|
+
return UmaGetUsersListFiltersDtoTypeEnum;
|
|
3312
|
+
}({});
|
|
3313
|
+
var $6c89247687c1ed28$export$57978e26cf68bf29 = /*#__PURE__*/ function(UmaGetUsersListFiltersDtoShowOnlyEnum) {
|
|
3314
|
+
UmaGetUsersListFiltersDtoShowOnlyEnum["Admin"] = "admin";
|
|
3315
|
+
UmaGetUsersListFiltersDtoShowOnlyEnum["BranchAdmin"] = "branch_admin";
|
|
3316
|
+
UmaGetUsersListFiltersDtoShowOnlyEnum["Compliance"] = "compliance";
|
|
3317
|
+
return UmaGetUsersListFiltersDtoShowOnlyEnum;
|
|
3318
|
+
}({});
|
|
3319
|
+
var $6c89247687c1ed28$export$cf1623cf2c62174d = /*#__PURE__*/ function(UmaGetWebAuthnLoginChallengeDtoUserTypeEnum) {
|
|
3320
|
+
UmaGetWebAuthnLoginChallengeDtoUserTypeEnum["B2B"] = "b2b";
|
|
3321
|
+
UmaGetWebAuthnLoginChallengeDtoUserTypeEnum["B2C"] = "b2c";
|
|
3322
|
+
return UmaGetWebAuthnLoginChallengeDtoUserTypeEnum;
|
|
3323
|
+
}({});
|
|
3324
|
+
var $6c89247687c1ed28$export$74fda118814b2c69 = /*#__PURE__*/ function(UmaIdentityProviderSerializerTypeEnum) {
|
|
3325
|
+
UmaIdentityProviderSerializerTypeEnum["Okta"] = "okta";
|
|
3326
|
+
return UmaIdentityProviderSerializerTypeEnum;
|
|
3327
|
+
}({});
|
|
3328
|
+
var $6c89247687c1ed28$export$f0b113a2ec1676d9 = /*#__PURE__*/ function(UmaLinkWatchmenUserToUmaDtoUmaUserTypeEnum) {
|
|
3329
|
+
UmaLinkWatchmenUserToUmaDtoUmaUserTypeEnum["B2B"] = "b2b";
|
|
3330
|
+
UmaLinkWatchmenUserToUmaDtoUmaUserTypeEnum["B2C"] = "b2c";
|
|
3331
|
+
return UmaLinkWatchmenUserToUmaDtoUmaUserTypeEnum;
|
|
3332
|
+
}({});
|
|
3333
|
+
var $6c89247687c1ed28$export$f336736d62d74184 = /*#__PURE__*/ function(UmaPermissionSerializerAssignmentGroupEnum) {
|
|
3334
|
+
UmaPermissionSerializerAssignmentGroupEnum["Regular"] = "regular";
|
|
3335
|
+
UmaPermissionSerializerAssignmentGroupEnum["Chiefadmin"] = "chiefadmin";
|
|
3336
|
+
UmaPermissionSerializerAssignmentGroupEnum["Superadmin"] = "superadmin";
|
|
3337
|
+
return UmaPermissionSerializerAssignmentGroupEnum;
|
|
3338
|
+
}({});
|
|
3339
|
+
var $6c89247687c1ed28$export$d52f1ee1d11bbf21 = /*#__PURE__*/ function(UmaRevokeUserSessionsDtoUserTypeEnum) {
|
|
3340
|
+
UmaRevokeUserSessionsDtoUserTypeEnum["B2B"] = "b2b";
|
|
3341
|
+
UmaRevokeUserSessionsDtoUserTypeEnum["B2C"] = "b2c";
|
|
3342
|
+
return UmaRevokeUserSessionsDtoUserTypeEnum;
|
|
3343
|
+
}({});
|
|
3344
|
+
var $6c89247687c1ed28$export$acb35be04555bc98 = /*#__PURE__*/ function(UmaSecretNoteSerializerTypeEnum) {
|
|
3345
|
+
UmaSecretNoteSerializerTypeEnum["Password"] = "password";
|
|
3346
|
+
return UmaSecretNoteSerializerTypeEnum;
|
|
3347
|
+
}({});
|
|
3348
|
+
var $6c89247687c1ed28$export$b58c500fbe7ba026 = /*#__PURE__*/ function(UmaSendB2BMfaCodeDtoTypeEnum) {
|
|
3349
|
+
UmaSendB2BMfaCodeDtoTypeEnum["Email"] = "email";
|
|
3350
|
+
UmaSendB2BMfaCodeDtoTypeEnum["Voice"] = "voice";
|
|
3351
|
+
UmaSendB2BMfaCodeDtoTypeEnum["Sms"] = "sms";
|
|
3352
|
+
return UmaSendB2BMfaCodeDtoTypeEnum;
|
|
3353
|
+
}({});
|
|
3354
|
+
var $6c89247687c1ed28$export$2296c353ecee8dca = /*#__PURE__*/ function(UmaSendB2CMfaCodeDtoTypeEnum) {
|
|
3355
|
+
UmaSendB2CMfaCodeDtoTypeEnum["Email"] = "email";
|
|
3356
|
+
UmaSendB2CMfaCodeDtoTypeEnum["Voice"] = "voice";
|
|
3357
|
+
UmaSendB2CMfaCodeDtoTypeEnum["Sms"] = "sms";
|
|
3358
|
+
return UmaSendB2CMfaCodeDtoTypeEnum;
|
|
3359
|
+
}({});
|
|
3360
|
+
var $6c89247687c1ed28$export$dff8055bb7575170 = /*#__PURE__*/ function(UmaSendB2CResetPasswordCodeDtoCodeTypeEnum) {
|
|
3361
|
+
UmaSendB2CResetPasswordCodeDtoCodeTypeEnum["Email"] = "email";
|
|
3362
|
+
UmaSendB2CResetPasswordCodeDtoCodeTypeEnum["Voice"] = "voice";
|
|
3363
|
+
UmaSendB2CResetPasswordCodeDtoCodeTypeEnum["Sms"] = "sms";
|
|
3364
|
+
return UmaSendB2CResetPasswordCodeDtoCodeTypeEnum;
|
|
3365
|
+
}({});
|
|
3366
|
+
var $6c89247687c1ed28$export$3de316bb8a940449 = /*#__PURE__*/ function(UmaSendB2CResetPasswordCodeDtoResetTypeEnum) {
|
|
3367
|
+
UmaSendB2CResetPasswordCodeDtoResetTypeEnum["ByContactCode"] = "by_contact_code";
|
|
3368
|
+
UmaSendB2CResetPasswordCodeDtoResetTypeEnum["ByEmailLink"] = "by_email_link";
|
|
3369
|
+
return UmaSendB2CResetPasswordCodeDtoResetTypeEnum;
|
|
3370
|
+
}({});
|
|
3371
|
+
var $6c89247687c1ed28$export$4dea8419eb7d9d00 = /*#__PURE__*/ function(UmaSendResetPasswordCodeDtoTypeEnum) {
|
|
3372
|
+
UmaSendResetPasswordCodeDtoTypeEnum["Email"] = "email";
|
|
3373
|
+
UmaSendResetPasswordCodeDtoTypeEnum["Voice"] = "voice";
|
|
3374
|
+
UmaSendResetPasswordCodeDtoTypeEnum["Sms"] = "sms";
|
|
3375
|
+
return UmaSendResetPasswordCodeDtoTypeEnum;
|
|
3376
|
+
}({});
|
|
3377
|
+
var $6c89247687c1ed28$export$c415d7932d9aa8e4 = /*#__PURE__*/ function(UmaTenantSettingDtoLabelEnum) {
|
|
3378
|
+
UmaTenantSettingDtoLabelEnum["StorePasswordHistoryForDays"] = "store_password_history_for_days";
|
|
3379
|
+
UmaTenantSettingDtoLabelEnum["ResetPasswordIfUserInactiveForDays"] = "reset_password_if_user_inactive_for_days";
|
|
3380
|
+
UmaTenantSettingDtoLabelEnum["PeriodicallyResetPasswordAfterDays"] = "periodically_reset_password_after_days";
|
|
3381
|
+
return UmaTenantSettingDtoLabelEnum;
|
|
3382
|
+
}({});
|
|
3383
|
+
var $6c89247687c1ed28$export$50a533e71d27c8f3 = /*#__PURE__*/ function(UmaUpdateAuthAppDtoStatusEnum) {
|
|
3384
|
+
UmaUpdateAuthAppDtoStatusEnum["Active"] = "active";
|
|
3385
|
+
UmaUpdateAuthAppDtoStatusEnum["Disabled"] = "disabled";
|
|
3386
|
+
return UmaUpdateAuthAppDtoStatusEnum;
|
|
3387
|
+
}({});
|
|
3388
|
+
var $6c89247687c1ed28$export$837c9c846d6ad015 = /*#__PURE__*/ function(UmaUpdateEndpointDtoMethodEnum) {
|
|
3389
|
+
UmaUpdateEndpointDtoMethodEnum["POST"] = "POST";
|
|
3390
|
+
UmaUpdateEndpointDtoMethodEnum["PUT"] = "PUT";
|
|
3391
|
+
UmaUpdateEndpointDtoMethodEnum["DELETE"] = "DELETE";
|
|
3392
|
+
UmaUpdateEndpointDtoMethodEnum["GET"] = "GET";
|
|
3393
|
+
UmaUpdateEndpointDtoMethodEnum["PATCH"] = "PATCH";
|
|
3394
|
+
UmaUpdateEndpointDtoMethodEnum["ALL"] = "ALL";
|
|
3395
|
+
return UmaUpdateEndpointDtoMethodEnum;
|
|
3396
|
+
}({});
|
|
3397
|
+
var $6c89247687c1ed28$export$891f3642d487f81c = /*#__PURE__*/ function(UmaUpdateEndpointDtoTypeEnum) {
|
|
3398
|
+
UmaUpdateEndpointDtoTypeEnum["Regular"] = "regular";
|
|
3399
|
+
UmaUpdateEndpointDtoTypeEnum["DisplayOnly"] = "display_only";
|
|
3400
|
+
return UmaUpdateEndpointDtoTypeEnum;
|
|
3401
|
+
}({});
|
|
3402
|
+
var $6c89247687c1ed28$export$32d58a6fa29309a7 = /*#__PURE__*/ function(UmaUpdateFirmDtoStatusEnum) {
|
|
3403
|
+
UmaUpdateFirmDtoStatusEnum["InProgress"] = "in_progress";
|
|
3404
|
+
UmaUpdateFirmDtoStatusEnum["Active"] = "active";
|
|
3405
|
+
UmaUpdateFirmDtoStatusEnum["Suspended"] = "suspended";
|
|
3406
|
+
UmaUpdateFirmDtoStatusEnum["Deleted"] = "deleted";
|
|
3407
|
+
return UmaUpdateFirmDtoStatusEnum;
|
|
3408
|
+
}({});
|
|
3409
|
+
var $6c89247687c1ed28$export$e297295319f353fb = /*#__PURE__*/ function(UmaUpdateIdentityProviderDtoTypeEnum) {
|
|
3410
|
+
UmaUpdateIdentityProviderDtoTypeEnum["Okta"] = "okta";
|
|
3411
|
+
return UmaUpdateIdentityProviderDtoTypeEnum;
|
|
3412
|
+
}({});
|
|
3413
|
+
var $6c89247687c1ed28$export$8be51d197d5d3e7 = /*#__PURE__*/ function(UmaUpsertUserDtoTypeEnum) {
|
|
3414
|
+
UmaUpsertUserDtoTypeEnum["B2B"] = "b2b";
|
|
3415
|
+
UmaUpsertUserDtoTypeEnum["B2C"] = "b2c";
|
|
3416
|
+
return UmaUpsertUserDtoTypeEnum;
|
|
3417
|
+
}({});
|
|
3418
|
+
var $6c89247687c1ed28$export$6d687bd5e60dd542 = /*#__PURE__*/ function(UmaVerifyContactDtoCodeTypeEnum) {
|
|
3419
|
+
UmaVerifyContactDtoCodeTypeEnum["Email"] = "email";
|
|
3420
|
+
UmaVerifyContactDtoCodeTypeEnum["Voice"] = "voice";
|
|
3421
|
+
UmaVerifyContactDtoCodeTypeEnum["Sms"] = "sms";
|
|
3422
|
+
return UmaVerifyContactDtoCodeTypeEnum;
|
|
3423
|
+
}({});
|
|
3424
|
+
|
|
3425
|
+
|
|
3426
|
+
var $2a05d190b87a25e5$exports = {};
|
|
3427
|
+
|
|
3428
|
+
$parcel$export($2a05d190b87a25e5$exports, "UserDetails", () => $2a05d190b87a25e5$export$a398983943bbde23);
|
|
3429
|
+
/* eslint-disable */ /* tslint:disable */ /*
|
|
3430
|
+
* ---------------------------------------------------------------
|
|
3431
|
+
* ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##
|
|
3432
|
+
* ## ##
|
|
3433
|
+
* ## AUTHOR: acacode ##
|
|
3434
|
+
* ## SOURCE: https://github.com/acacode/swagger-typescript-api ##
|
|
3435
|
+
* ---------------------------------------------------------------
|
|
3436
|
+
*/
|
|
3437
|
+
|
|
3438
|
+
class $2a05d190b87a25e5$export$a398983943bbde23 {
|
|
3439
|
+
constructor(apiClient){
|
|
3440
|
+
this.apiClient = apiClient;
|
|
3441
|
+
(0, $jl2YG$autobind)(this);
|
|
3442
|
+
}
|
|
3443
|
+
/**
|
|
3444
|
+
* @description Get User Details by JWT-token
|
|
3445
|
+
* @tags user_details
|
|
3446
|
+
* @name GetUserDetails
|
|
3447
|
+
* @summary Get User Details by JWT-token
|
|
3448
|
+
* @request POST:/v1/users/details/show
|
|
3449
|
+
* @secure
|
|
3450
|
+
*/ getUserDetails(getUserDetailsDto, config) {
|
|
3451
|
+
return this.apiClient.request({
|
|
3452
|
+
...config,
|
|
3453
|
+
url: `/v1/users/details/show`,
|
|
3454
|
+
method: 'POST',
|
|
3455
|
+
data: getUserDetailsDto,
|
|
3456
|
+
secure: true,
|
|
3457
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json,
|
|
3458
|
+
responseType: 'json'
|
|
3459
|
+
});
|
|
3460
|
+
}
|
|
3461
|
+
/**
|
|
3462
|
+
* @description Revoke user sessions by JWT-token
|
|
3463
|
+
* @tags user_details
|
|
3464
|
+
* @name RevokeSessions
|
|
3465
|
+
* @summary Revoke user sessions by JWT-token
|
|
3466
|
+
* @request POST:/v1/users/revoke-sessions
|
|
3467
|
+
* @secure
|
|
3468
|
+
*/ revokeSessions(revokeUserSessionsDto, config) {
|
|
3469
|
+
return this.apiClient.request({
|
|
3470
|
+
...config,
|
|
3471
|
+
url: `/v1/users/revoke-sessions`,
|
|
3472
|
+
method: 'POST',
|
|
3473
|
+
data: revokeUserSessionsDto,
|
|
3474
|
+
secure: true,
|
|
3475
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json
|
|
3476
|
+
});
|
|
3477
|
+
}
|
|
3478
|
+
}
|
|
3479
|
+
|
|
3480
|
+
|
|
3481
|
+
var $2be9f74160cf63e5$exports = {};
|
|
3482
|
+
|
|
3483
|
+
$parcel$export($2be9f74160cf63e5$exports, "UsersCommon", () => $2be9f74160cf63e5$export$12728e6e259e1581);
|
|
3484
|
+
/* eslint-disable */ /* tslint:disable */ /*
|
|
3485
|
+
* ---------------------------------------------------------------
|
|
3486
|
+
* ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##
|
|
3487
|
+
* ## ##
|
|
3488
|
+
* ## AUTHOR: acacode ##
|
|
3489
|
+
* ## SOURCE: https://github.com/acacode/swagger-typescript-api ##
|
|
3490
|
+
* ---------------------------------------------------------------
|
|
3491
|
+
*/
|
|
3492
|
+
|
|
3493
|
+
class $2be9f74160cf63e5$export$12728e6e259e1581 {
|
|
3494
|
+
constructor(apiClient){
|
|
3495
|
+
this.apiClient = apiClient;
|
|
3496
|
+
(0, $jl2YG$autobind)(this);
|
|
3497
|
+
}
|
|
3498
|
+
/**
|
|
3499
|
+
* @description Reset B2B/B2C user rate limits
|
|
3500
|
+
* @tags users_common
|
|
3501
|
+
* @name ResetRateLimits
|
|
3502
|
+
* @summary Reset rate limits
|
|
3503
|
+
* @request PATCH:/v1/users/rate-limits/reset
|
|
3504
|
+
* @secure
|
|
3505
|
+
*/ resetRateLimits(resetRateLimitsDto, config) {
|
|
3506
|
+
return this.apiClient.request({
|
|
3507
|
+
...config,
|
|
3508
|
+
url: `/v1/users/rate-limits/reset`,
|
|
3509
|
+
method: 'PATCH',
|
|
3510
|
+
data: resetRateLimitsDto,
|
|
3511
|
+
secure: true,
|
|
3512
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json
|
|
3513
|
+
});
|
|
3514
|
+
}
|
|
3515
|
+
/**
|
|
3516
|
+
* @description Get user status change reasons list
|
|
3517
|
+
* @tags users_common
|
|
3518
|
+
* @name GetUserStatusChangeReasonsList
|
|
3519
|
+
* @summary Get user status change reasons list
|
|
3520
|
+
* @request POST:/v1/users/status-change-reasons/list
|
|
3521
|
+
* @secure
|
|
3522
|
+
*/ getUserStatusChangeReasonsList(getUserStatusChangeReasonsDto, config) {
|
|
3523
|
+
return this.apiClient.request({
|
|
3524
|
+
...config,
|
|
3525
|
+
url: `/v1/users/status-change-reasons/list`,
|
|
3526
|
+
method: 'POST',
|
|
3527
|
+
data: getUserStatusChangeReasonsDto,
|
|
3528
|
+
secure: true,
|
|
3529
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json,
|
|
3530
|
+
responseType: 'json'
|
|
3531
|
+
});
|
|
3532
|
+
}
|
|
3533
|
+
/**
|
|
3534
|
+
* @description Link Watchmen user to UMA
|
|
3535
|
+
* @tags users_common
|
|
3536
|
+
* @name LinkWatchmenUsersToUma
|
|
3537
|
+
* @summary Link Watchmen user to UMA
|
|
3538
|
+
* @request POST:/v1/users/watchmen/link
|
|
3539
|
+
* @secure
|
|
3540
|
+
*/ linkWatchmenUsersToUma(linkWatchmenUserToUmaDto, config) {
|
|
3541
|
+
return this.apiClient.request({
|
|
3542
|
+
...config,
|
|
3543
|
+
url: `/v1/users/watchmen/link`,
|
|
3544
|
+
method: 'POST',
|
|
3545
|
+
data: linkWatchmenUserToUmaDto,
|
|
3546
|
+
secure: true,
|
|
3547
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json
|
|
3548
|
+
});
|
|
3549
|
+
}
|
|
3550
|
+
}
|
|
3551
|
+
|
|
3552
|
+
|
|
3553
|
+
var $5d9a13ecb3f0d7fd$exports = {};
|
|
3554
|
+
|
|
3555
|
+
$parcel$export($5d9a13ecb3f0d7fd$exports, "WatchmenAuth", () => $5d9a13ecb3f0d7fd$export$b5681ba9d8d05c26);
|
|
3556
|
+
/* eslint-disable */ /* tslint:disable */ /*
|
|
3557
|
+
* ---------------------------------------------------------------
|
|
3558
|
+
* ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##
|
|
3559
|
+
* ## ##
|
|
3560
|
+
* ## AUTHOR: acacode ##
|
|
3561
|
+
* ## SOURCE: https://github.com/acacode/swagger-typescript-api ##
|
|
3562
|
+
* ---------------------------------------------------------------
|
|
3563
|
+
*/
|
|
3564
|
+
|
|
3565
|
+
class $5d9a13ecb3f0d7fd$export$b5681ba9d8d05c26 {
|
|
3566
|
+
constructor(apiClient){
|
|
3567
|
+
this.apiClient = apiClient;
|
|
3568
|
+
(0, $jl2YG$autobind)(this);
|
|
3569
|
+
}
|
|
3570
|
+
/**
|
|
3571
|
+
* @description Generate Watchmen Auth Token
|
|
3572
|
+
* @tags watchmen_auth
|
|
3573
|
+
* @name GenerateWatchmenAuthToken
|
|
3574
|
+
* @summary Generate Watchmen Auth Token
|
|
3575
|
+
* @request POST:/v1/auth/watchmen/authentication-tokens
|
|
3576
|
+
* @secure
|
|
3577
|
+
*/ generateWatchmenAuthToken(generateWatchmenAuthTokenDto, config) {
|
|
3578
|
+
return this.apiClient.request({
|
|
3579
|
+
...config,
|
|
3580
|
+
url: `/v1/auth/watchmen/authentication-tokens`,
|
|
3581
|
+
method: 'POST',
|
|
3582
|
+
data: generateWatchmenAuthTokenDto,
|
|
3583
|
+
secure: true,
|
|
3584
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json,
|
|
3585
|
+
responseType: 'json'
|
|
3586
|
+
});
|
|
3587
|
+
}
|
|
3588
|
+
/**
|
|
3589
|
+
* @description Verify Watchmen Auth Token
|
|
3590
|
+
* @tags watchmen_auth
|
|
3591
|
+
* @name VerifyWatchmenAuthToken
|
|
3592
|
+
* @summary Verify Watchmen Auth Token
|
|
3593
|
+
* @request PUT:/v1/auth/watchmen/authentication-tokens/verify
|
|
3594
|
+
* @secure
|
|
3595
|
+
*/ verifyWatchmenAuthToken(verifyWatchmenAuthToken, config) {
|
|
3596
|
+
return this.apiClient.request({
|
|
3597
|
+
...config,
|
|
3598
|
+
url: `/v1/auth/watchmen/authentication-tokens/verify`,
|
|
3599
|
+
method: 'PUT',
|
|
3600
|
+
data: verifyWatchmenAuthToken,
|
|
3601
|
+
secure: true,
|
|
3602
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json,
|
|
3603
|
+
responseType: 'json'
|
|
3604
|
+
});
|
|
3605
|
+
}
|
|
3606
|
+
}
|
|
3607
|
+
|
|
3608
|
+
|
|
3609
|
+
var $3cd5547863d6ee3a$exports = {};
|
|
3610
|
+
|
|
3611
|
+
$parcel$export($3cd5547863d6ee3a$exports, "WatchmenInstances", () => $3cd5547863d6ee3a$export$a780f46fdf729420);
|
|
3612
|
+
/* eslint-disable */ /* tslint:disable */ /*
|
|
3613
|
+
* ---------------------------------------------------------------
|
|
3614
|
+
* ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##
|
|
3615
|
+
* ## ##
|
|
3616
|
+
* ## AUTHOR: acacode ##
|
|
3617
|
+
* ## SOURCE: https://github.com/acacode/swagger-typescript-api ##
|
|
3618
|
+
* ---------------------------------------------------------------
|
|
3619
|
+
*/
|
|
3620
|
+
|
|
3621
|
+
class $3cd5547863d6ee3a$export$a780f46fdf729420 {
|
|
3622
|
+
constructor(apiClient){
|
|
3623
|
+
this.apiClient = apiClient;
|
|
3624
|
+
(0, $jl2YG$autobind)(this);
|
|
3625
|
+
}
|
|
3626
|
+
/**
|
|
3627
|
+
* @description Create Watchmen Instance
|
|
3628
|
+
* @tags watchmen_instances
|
|
3629
|
+
* @name Create
|
|
3630
|
+
* @summary Create Watchmen Instance
|
|
3631
|
+
* @request POST:/v1/watchmen-instances
|
|
3632
|
+
* @secure
|
|
3633
|
+
*/ create(createWatchmenInstance, config) {
|
|
3634
|
+
return this.apiClient.request({
|
|
3635
|
+
...config,
|
|
3636
|
+
url: `/v1/watchmen-instances`,
|
|
3637
|
+
method: 'POST',
|
|
3638
|
+
data: createWatchmenInstance,
|
|
3639
|
+
secure: true,
|
|
3640
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json,
|
|
3641
|
+
responseType: 'json'
|
|
3642
|
+
});
|
|
3643
|
+
}
|
|
3644
|
+
/**
|
|
3645
|
+
* @description Delete Watchmen Instances
|
|
3646
|
+
* @tags watchmen_instances
|
|
3647
|
+
* @name DeleteMany
|
|
3648
|
+
* @summary Delete Watchmen Instances
|
|
3649
|
+
* @request DELETE:/v1/watchmen-instances
|
|
3650
|
+
* @secure
|
|
3651
|
+
*/ deleteMany(deleteWatchmenInstances, config) {
|
|
3652
|
+
return this.apiClient.request({
|
|
3653
|
+
...config,
|
|
3654
|
+
url: `/v1/watchmen-instances`,
|
|
3655
|
+
method: 'DELETE',
|
|
3656
|
+
data: deleteWatchmenInstances,
|
|
3657
|
+
secure: true,
|
|
3658
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json
|
|
3659
|
+
});
|
|
3660
|
+
}
|
|
3661
|
+
/**
|
|
3662
|
+
* @description Get Watchmen Instances with pagination. Available sort fields are `id, name, slug, url, created_at, updated_at`. Search is performed by `name, url, slug` fields.
|
|
3663
|
+
* @tags watchmen_instances
|
|
3664
|
+
* @name GetMany
|
|
3665
|
+
* @summary Get Watchmen Instances with pagination
|
|
3666
|
+
* @request POST:/v1/watchmen-instances/list
|
|
3667
|
+
* @secure
|
|
3668
|
+
*/ getMany(getWatchmenInstances, config) {
|
|
3669
|
+
return this.apiClient.request({
|
|
3670
|
+
...config,
|
|
3671
|
+
url: `/v1/watchmen-instances/list`,
|
|
3672
|
+
method: 'POST',
|
|
3673
|
+
data: getWatchmenInstances,
|
|
3674
|
+
secure: true,
|
|
3675
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json,
|
|
3676
|
+
responseType: 'json'
|
|
3677
|
+
});
|
|
3678
|
+
}
|
|
3679
|
+
/**
|
|
3680
|
+
* @description Get Watchmen Instance by id
|
|
3681
|
+
* @tags watchmen_instances
|
|
3682
|
+
* @name GetById
|
|
3683
|
+
* @summary Get Watchmen Instance by id
|
|
3684
|
+
* @request GET:/v1/watchmen-instances/{id}
|
|
3685
|
+
* @secure
|
|
3686
|
+
*/ getById(id, config) {
|
|
3687
|
+
return this.apiClient.request({
|
|
3688
|
+
...config,
|
|
3689
|
+
url: `/v1/watchmen-instances/${id}`,
|
|
3690
|
+
method: 'GET',
|
|
3691
|
+
secure: true,
|
|
3692
|
+
responseType: 'json'
|
|
3693
|
+
});
|
|
3694
|
+
}
|
|
3695
|
+
/**
|
|
3696
|
+
* @description Update Watchmen Instance
|
|
3697
|
+
* @tags watchmen_instances
|
|
3698
|
+
* @name Update
|
|
3699
|
+
* @summary Update Watchmen Instance
|
|
3700
|
+
* @request PUT:/v1/watchmen-instances/{id}
|
|
3701
|
+
* @secure
|
|
3702
|
+
*/ update(id, updateWatchmenInstance, config) {
|
|
3703
|
+
return this.apiClient.request({
|
|
3704
|
+
...config,
|
|
3705
|
+
url: `/v1/watchmen-instances/${id}`,
|
|
3706
|
+
method: 'PUT',
|
|
3707
|
+
data: updateWatchmenInstance,
|
|
3708
|
+
secure: true,
|
|
3709
|
+
contentType: (0, $e176194f300187e4$export$e2e108cbe2e4f865).Json,
|
|
3710
|
+
responseType: 'json'
|
|
3711
|
+
});
|
|
3712
|
+
}
|
|
3713
|
+
}
|
|
3714
|
+
|
|
3715
|
+
|
|
3716
|
+
$parcel$exportWildcard($6e622ebe8d4e3181$exports, $c1f6b51aca13cb0b$exports);
|
|
3717
|
+
$parcel$exportWildcard($6e622ebe8d4e3181$exports, $8a71f05e6ab45e7b$exports);
|
|
3718
|
+
$parcel$exportWildcard($6e622ebe8d4e3181$exports, $bb94d614e4ef5260$exports);
|
|
3719
|
+
$parcel$exportWildcard($6e622ebe8d4e3181$exports, $db1907a8e3c09ae4$exports);
|
|
3720
|
+
$parcel$exportWildcard($6e622ebe8d4e3181$exports, $401f0b0e04e123cd$exports);
|
|
3721
|
+
$parcel$exportWildcard($6e622ebe8d4e3181$exports, $a5c5ece2fd313859$exports);
|
|
3722
|
+
$parcel$exportWildcard($6e622ebe8d4e3181$exports, $a6a9c87b9ddec2e5$exports);
|
|
3723
|
+
$parcel$exportWildcard($6e622ebe8d4e3181$exports, $3ff0bde1f782f406$exports);
|
|
3724
|
+
$parcel$exportWildcard($6e622ebe8d4e3181$exports, $355043b843d8d159$exports);
|
|
3725
|
+
$parcel$exportWildcard($6e622ebe8d4e3181$exports, $978c50fb3fbbb12f$exports);
|
|
3726
|
+
$parcel$exportWildcard($6e622ebe8d4e3181$exports, $190a28f71e643faa$exports);
|
|
3727
|
+
$parcel$exportWildcard($6e622ebe8d4e3181$exports, $6aa6e93a22292657$exports);
|
|
3728
|
+
$parcel$exportWildcard($6e622ebe8d4e3181$exports, $1ef67210461dfd81$exports);
|
|
3729
|
+
$parcel$exportWildcard($6e622ebe8d4e3181$exports, $18376a5a52624d61$exports);
|
|
3730
|
+
$parcel$exportWildcard($6e622ebe8d4e3181$exports, $2d6c29ea7705e8f1$exports);
|
|
3731
|
+
$parcel$exportWildcard($6e622ebe8d4e3181$exports, $194498249ac546a3$exports);
|
|
3732
|
+
$parcel$exportWildcard($6e622ebe8d4e3181$exports, $b9c33bf16d7c9b6d$exports);
|
|
3733
|
+
$parcel$exportWildcard($6e622ebe8d4e3181$exports, $81b24da4abc96319$exports);
|
|
3734
|
+
$parcel$exportWildcard($6e622ebe8d4e3181$exports, $2ce3373faaa7152d$exports);
|
|
3735
|
+
$parcel$exportWildcard($6e622ebe8d4e3181$exports, $d05800b76d1d41c3$exports);
|
|
3736
|
+
$parcel$exportWildcard($6e622ebe8d4e3181$exports, $87645ef510ea4ae1$exports);
|
|
3737
|
+
$parcel$exportWildcard($6e622ebe8d4e3181$exports, $0a39f6b7a6b84412$exports);
|
|
3738
|
+
$parcel$exportWildcard($6e622ebe8d4e3181$exports, $b58f980f57224ce2$exports);
|
|
3739
|
+
$parcel$exportWildcard($6e622ebe8d4e3181$exports, $e4c2376cb2f78204$exports);
|
|
3740
|
+
$parcel$exportWildcard($6e622ebe8d4e3181$exports, $b6b944bab697346c$exports);
|
|
3741
|
+
$parcel$exportWildcard($6e622ebe8d4e3181$exports, $a63eefb6c2ec24f9$exports);
|
|
3742
|
+
$parcel$exportWildcard($6e622ebe8d4e3181$exports, $b091938d48d78103$exports);
|
|
3743
|
+
$parcel$exportWildcard($6e622ebe8d4e3181$exports, $6c89247687c1ed28$exports);
|
|
3744
|
+
$parcel$exportWildcard($6e622ebe8d4e3181$exports, $2a05d190b87a25e5$exports);
|
|
3745
|
+
$parcel$exportWildcard($6e622ebe8d4e3181$exports, $2be9f74160cf63e5$exports);
|
|
3746
|
+
$parcel$exportWildcard($6e622ebe8d4e3181$exports, $5d9a13ecb3f0d7fd$exports);
|
|
3747
|
+
$parcel$exportWildcard($6e622ebe8d4e3181$exports, $3cd5547863d6ee3a$exports);
|
|
3748
|
+
|
|
3749
|
+
|
|
3750
|
+
class $b6da8574d84c7b3f$export$d0994445e90c353b extends (0, $401f0b0e04e123cd$export$d0994445e90c353b) {
|
|
3751
|
+
constructor(apiClient){
|
|
3752
|
+
super(apiClient);
|
|
3753
|
+
this.apiClient.setRenewTokenCallback(this.renewToken);
|
|
3754
|
+
}
|
|
3755
|
+
/**
|
|
3756
|
+
* @description Login B2B user by email/password.
|
|
3757
|
+
* @tags b2b_auth
|
|
3758
|
+
* @name BasicLogin
|
|
3759
|
+
* @summary Login B2B user by email/password
|
|
3760
|
+
* @request POST:/v1/auth/b2b/login/basic
|
|
3761
|
+
*/ async basicLogin(basicLoginParams, headers, config) {
|
|
3762
|
+
const response = await super.basicLogin(basicLoginParams, headers, config);
|
|
3763
|
+
if (response.success) this.apiClient.setAuthData({
|
|
3764
|
+
accessToken: response.data.login_basic.tokens.access_token ?? '',
|
|
3765
|
+
refreshToken: response.data.login_basic.tokens.refresh_token ?? ''
|
|
3766
|
+
});
|
|
3767
|
+
return response;
|
|
3768
|
+
}
|
|
3769
|
+
async renewToken() {
|
|
3770
|
+
const refreshToken = this.apiClient.getAuthData()?.refreshToken;
|
|
3771
|
+
if (!refreshToken) throw new Error('Refresh token not found');
|
|
3772
|
+
const response = await this.refreshTokens({
|
|
3773
|
+
refresh_token: refreshToken
|
|
3774
|
+
});
|
|
3775
|
+
if (response.success) return {
|
|
3776
|
+
accessToken: response.data.login_basic.tokens.access_token ?? '',
|
|
3777
|
+
refreshToken: response.data.login_basic.tokens.refresh_token ?? ''
|
|
3778
|
+
};
|
|
3779
|
+
else throw new Error(`Could not renew token: ${String(response.error)}`);
|
|
3780
|
+
}
|
|
3781
|
+
}
|
|
3782
|
+
|
|
3783
|
+
|
|
3784
|
+
|
|
3785
|
+
class $fc220a1e09783add$export$191c573f104d53f4 extends (0, $3ff0bde1f782f406$export$191c573f104d53f4) {
|
|
3786
|
+
constructor(apiClient){
|
|
3787
|
+
super(apiClient);
|
|
3788
|
+
this.apiClient.setRenewTokenCallback(this.renewToken);
|
|
3789
|
+
}
|
|
3790
|
+
/**
|
|
3791
|
+
* @description Login B2C user by email/password.
|
|
3792
|
+
* @tags b2c_auth
|
|
3793
|
+
* @name BasicLogin
|
|
3794
|
+
* @summary Login B2C user by email/password
|
|
3795
|
+
* @request POST:/v1/auth/b2c/login/basic
|
|
3796
|
+
*/ async basicLogin(basicLoginParams, headers, config) {
|
|
3797
|
+
const response = await super.basicLogin(basicLoginParams, headers, config);
|
|
3798
|
+
if (response.success) this.apiClient.setAuthData({
|
|
3799
|
+
accessToken: response.data.login_basic.tokens.access_token ?? '',
|
|
3800
|
+
refreshToken: response.data.login_basic.tokens.refresh_token ?? ''
|
|
3801
|
+
});
|
|
3802
|
+
return response;
|
|
3803
|
+
}
|
|
3804
|
+
async renewToken() {
|
|
3805
|
+
const refreshToken = this.apiClient.getAuthData()?.refreshToken;
|
|
3806
|
+
if (!refreshToken) throw new Error('Refresh token not found');
|
|
3807
|
+
const response = await this.refreshTokens({
|
|
3808
|
+
refresh_token: refreshToken,
|
|
3809
|
+
auth_form_slug: this.apiClient.getConfig().authFormSlug
|
|
3810
|
+
});
|
|
3811
|
+
if (response.success) return {
|
|
3812
|
+
accessToken: response.data.login_basic.tokens.access_token ?? '',
|
|
3813
|
+
refreshToken: response.data.login_basic.tokens.refresh_token ?? ''
|
|
3814
|
+
};
|
|
3815
|
+
else throw new Error(`Could not renew token: ${String(response.error)}`);
|
|
3816
|
+
}
|
|
3817
|
+
}
|
|
3818
|
+
|
|
3819
|
+
|
|
3820
|
+
|
|
3821
|
+
class $f6d6ec6b62c208b4$export$ae615290d7b354e extends (0, $001a7a5b1ca54b2d$export$3ad201792064a82b) {
|
|
3822
|
+
constructor(config){
|
|
3823
|
+
super(new (0, $584c124673bb843e$export$f280b732bbc5934b)(config));
|
|
3824
|
+
this.actionLog = new (0, $c1f6b51aca13cb0b$export$e241ab6b9aa14723)(this.apiClient);
|
|
3825
|
+
this.apiKeys = new (0, $8a71f05e6ab45e7b$export$a67a305ca3f5ec6a)(this.apiClient);
|
|
3826
|
+
this.authApps = new (0, $bb94d614e4ef5260$export$d3eceb771169d266)(this.apiClient);
|
|
3827
|
+
this.authForms = new (0, $db1907a8e3c09ae4$export$11ae43b56f3f836c)(this.apiClient);
|
|
3828
|
+
this.b2bAuth = new (0, $b6da8574d84c7b3f$export$d0994445e90c353b)(this.apiClient);
|
|
3829
|
+
this.b2bUsers = new (0, $a5c5ece2fd313859$export$9f8c8ef54665205)(this.apiClient);
|
|
3830
|
+
this.b2bUserSettings = new (0, $a6a9c87b9ddec2e5$export$cdea59308760ada2)(this.apiClient);
|
|
3831
|
+
this.b2cAuth = new (0, $fc220a1e09783add$export$191c573f104d53f4)(this.apiClient);
|
|
3832
|
+
this.b2cUsers = new (0, $355043b843d8d159$export$50c35e5cd2b1a04b)(this.apiClient);
|
|
3833
|
+
this.b2cUserSettings = new (0, $978c50fb3fbbb12f$export$af92e794dd76d018)(this.apiClient);
|
|
3834
|
+
this.branches = new (0, $190a28f71e643faa$export$bec84148410bc670)(this.apiClient);
|
|
3835
|
+
this.countries = new (0, $6aa6e93a22292657$export$b33f41d0b11df887)(this.apiClient);
|
|
3836
|
+
this.endpoints = new (0, $1ef67210461dfd81$export$eed022e50baffed5)(this.apiClient);
|
|
3837
|
+
this.fims = new (0, $18376a5a52624d61$export$264f565cd0c1cc56)(this.apiClient);
|
|
3838
|
+
this.identityProviders = new (0, $2d6c29ea7705e8f1$export$5887f54682395684)(this.apiClient);
|
|
3839
|
+
this.locales = new (0, $194498249ac546a3$export$8e1c4644f466949c)(this.apiClient);
|
|
3840
|
+
this.microservices = new (0, $b9c33bf16d7c9b6d$export$336c46c9fcb38eaa)(this.apiClient);
|
|
3841
|
+
this.migrationUtils = new (0, $81b24da4abc96319$export$786262b732115aec)(this.apiClient);
|
|
3842
|
+
this.permissions = new (0, $2ce3373faaa7152d$export$2d41982586bbb6be)(this.apiClient);
|
|
3843
|
+
this.publicSettings = new (0, $d05800b76d1d41c3$export$3e6fb5c4a94a74de)(this.apiClient);
|
|
3844
|
+
this.roles = new (0, $87645ef510ea4ae1$export$d1d9e451800db729)(this.apiClient);
|
|
3845
|
+
this.roleTypes = new (0, $0a39f6b7a6b84412$export$2cb4a31baf73b247)(this.apiClient);
|
|
3846
|
+
this.secretNotes = new (0, $b58f980f57224ce2$export$49d1d1bca95f1922)(this.apiClient);
|
|
3847
|
+
this.sessions = new (0, $e4c2376cb2f78204$export$c8d7e81b9a544c06)(this.apiClient);
|
|
3848
|
+
this.tablePresets = new (0, $a63eefb6c2ec24f9$export$f946eed22c6da23d)(this.apiClient);
|
|
3849
|
+
this.tags = new (0, $b091938d48d78103$export$b72686b556e29ca6)(this.apiClient);
|
|
3850
|
+
this.userDetails = new (0, $2a05d190b87a25e5$export$a398983943bbde23)(this.apiClient);
|
|
3851
|
+
this.usersCommon = new (0, $2be9f74160cf63e5$export$12728e6e259e1581)(this.apiClient);
|
|
3852
|
+
this.watchmenAuth = new (0, $5d9a13ecb3f0d7fd$export$b5681ba9d8d05c26)(this.apiClient);
|
|
3853
|
+
this.watchmenInstances = new (0, $3cd5547863d6ee3a$export$a780f46fdf729420)(this.apiClient);
|
|
3854
|
+
}
|
|
3855
|
+
}
|
|
3856
|
+
|
|
3857
|
+
|
|
3858
|
+
|
|
3859
|
+
|
|
3860
|
+
|
|
3861
|
+
export {$f6d6ec6b62c208b4$export$ae615290d7b354e as UmaApi, $c1f6b51aca13cb0b$export$e241ab6b9aa14723 as ActionLogs, $8a71f05e6ab45e7b$export$a67a305ca3f5ec6a as ApiKeys, $bb94d614e4ef5260$export$d3eceb771169d266 as AuthApps, $db1907a8e3c09ae4$export$11ae43b56f3f836c as AuthForms, $401f0b0e04e123cd$export$d0994445e90c353b as B2BAuth, $a5c5ece2fd313859$export$9f8c8ef54665205 as B2BUsers, $a6a9c87b9ddec2e5$export$cdea59308760ada2 as B2BUserSettings, $3ff0bde1f782f406$export$191c573f104d53f4 as B2CAuth, $355043b843d8d159$export$50c35e5cd2b1a04b as B2CUsers, $978c50fb3fbbb12f$export$af92e794dd76d018 as B2CUserSettings, $190a28f71e643faa$export$bec84148410bc670 as Branches, $6aa6e93a22292657$export$b33f41d0b11df887 as Countries, $1ef67210461dfd81$export$eed022e50baffed5 as Endpoints, $18376a5a52624d61$export$264f565cd0c1cc56 as Firms, $2d6c29ea7705e8f1$export$5887f54682395684 as IdentityProviders, $194498249ac546a3$export$8e1c4644f466949c as Locales, $b9c33bf16d7c9b6d$export$336c46c9fcb38eaa as Microservices, $81b24da4abc96319$export$786262b732115aec as MigrationUtils, $2ce3373faaa7152d$export$2d41982586bbb6be as Permissions, $d05800b76d1d41c3$export$3e6fb5c4a94a74de as PublicSettings, $87645ef510ea4ae1$export$d1d9e451800db729 as Roles, $0a39f6b7a6b84412$export$2cb4a31baf73b247 as RoleTypes, $b58f980f57224ce2$export$49d1d1bca95f1922 as SecretNotes, $e4c2376cb2f78204$export$c8d7e81b9a544c06 as Sessions, $b6b944bab697346c$export$636de4c783ade7b8 as SystemUsers, $a63eefb6c2ec24f9$export$f946eed22c6da23d as TablePresets, $b091938d48d78103$export$b72686b556e29ca6 as Tags, $6c89247687c1ed28$export$80a68721ef65174d as UmaAuthAppType, $6c89247687c1ed28$export$9e3be91ea0925e63 as UmaAuthUserType, $6c89247687c1ed28$export$4d8761baa197d101 as UmaResetPasswordType, $6c89247687c1ed28$export$26e40f3b3a68dd88 as UmaErrorCode, $6c89247687c1ed28$export$b942b4f86682a31c as UmaOption, $6c89247687c1ed28$export$f225bf8d20c34dc4 as UmaAuthProviderAppType, $6c89247687c1ed28$export$fbeeb34ec62b81a3 as UmaEndpointType, $6c89247687c1ed28$export$d0740a1f11370fb3 as UmaEntityAccessType, $6c89247687c1ed28$export$6cb5e83f5f5af956 as UmaPermissionAG, $6c89247687c1ed28$export$40c85964c9d60a16 as UmaUserStatus, $6c89247687c1ed28$export$51b69238136d8bf1 as UmaUserType, $6c89247687c1ed28$export$9eb6fa5a85b589e6 as UmaTenantSettingLabel, $6c89247687c1ed28$export$e652a4cb9330c8d2 as UmaAuthFormDtoResetPasswordTypeEnum, $6c89247687c1ed28$export$8d1aa71ae381a883 as UmaAuthFormSerializerResetPasswordTypeEnum, $6c89247687c1ed28$export$855c0abf639c0a2b as UmaB2BSendContactChangeCodeDtoTypeEnum, $6c89247687c1ed28$export$ee2e64a99304ec62 as UmaB2CResetPasswordDtoResetTypeEnum, $6c89247687c1ed28$export$cb5ce7daabd2e17c as UmaB2CSendContactChangeCodeDtoTypeEnum, $6c89247687c1ed28$export$b6706226fff0ec2c as UmaB2CSendVerificationCodeDtoCodeTypeEnum, $6c89247687c1ed28$export$fe6e9eeb86b74e20 as UmaCreateEndpointDtoMethodEnum, $6c89247687c1ed28$export$45c185db4ed17146 as UmaCreateEndpointDtoTypeEnum, $6c89247687c1ed28$export$98a2d76b8b98d939 as UmaCreateIdentityProviderDtoTypeEnum, $6c89247687c1ed28$export$f2c9b083b701c041 as UmaCreatePermissionDtoAssignmentGroupEnum, $6c89247687c1ed28$export$8d399fefbd60de17 as UmaCreateRoleDtoAssignmentGroupEnum, $6c89247687c1ed28$export$1185a2dff04b24a9 as UmaCreateSecretNoteDtoTypeEnum, $6c89247687c1ed28$export$dc5b15ad0821f43b as UmaEndpointMetadataDtoUserTypeEnum, $6c89247687c1ed28$export$139725f1c32bb1b1 as UmaEndpointSerializerMethodEnum, $6c89247687c1ed28$export$4a93085e3ec25283 as UmaGetB2CUsersListFiltersDtoTypeEnum, $6c89247687c1ed28$export$b42b48ae4eee4675 as UmaGetB2CUsersListFiltersDtoShowOnlyEnum, $6c89247687c1ed28$export$d860c2e62b63d49b as UmaGetFirmsListFiltersDtoStatusesEnum, $6c89247687c1ed28$export$7da111135c500e8e as UmaGetIdentityProvidersListFiltersDtoTypesEnum, $6c89247687c1ed28$export$b3b8396b0f842b7f as UmaGetUsersListFiltersDtoTypeEnum, $6c89247687c1ed28$export$57978e26cf68bf29 as UmaGetUsersListFiltersDtoShowOnlyEnum, $6c89247687c1ed28$export$cf1623cf2c62174d as UmaGetWebAuthnLoginChallengeDtoUserTypeEnum, $6c89247687c1ed28$export$74fda118814b2c69 as UmaIdentityProviderSerializerTypeEnum, $6c89247687c1ed28$export$f0b113a2ec1676d9 as UmaLinkWatchmenUserToUmaDtoUmaUserTypeEnum, $6c89247687c1ed28$export$f336736d62d74184 as UmaPermissionSerializerAssignmentGroupEnum, $6c89247687c1ed28$export$d52f1ee1d11bbf21 as UmaRevokeUserSessionsDtoUserTypeEnum, $6c89247687c1ed28$export$acb35be04555bc98 as UmaSecretNoteSerializerTypeEnum, $6c89247687c1ed28$export$b58c500fbe7ba026 as UmaSendB2BMfaCodeDtoTypeEnum, $6c89247687c1ed28$export$2296c353ecee8dca as UmaSendB2CMfaCodeDtoTypeEnum, $6c89247687c1ed28$export$dff8055bb7575170 as UmaSendB2CResetPasswordCodeDtoCodeTypeEnum, $6c89247687c1ed28$export$3de316bb8a940449 as UmaSendB2CResetPasswordCodeDtoResetTypeEnum, $6c89247687c1ed28$export$4dea8419eb7d9d00 as UmaSendResetPasswordCodeDtoTypeEnum, $6c89247687c1ed28$export$c415d7932d9aa8e4 as UmaTenantSettingDtoLabelEnum, $6c89247687c1ed28$export$50a533e71d27c8f3 as UmaUpdateAuthAppDtoStatusEnum, $6c89247687c1ed28$export$837c9c846d6ad015 as UmaUpdateEndpointDtoMethodEnum, $6c89247687c1ed28$export$891f3642d487f81c as UmaUpdateEndpointDtoTypeEnum, $6c89247687c1ed28$export$32d58a6fa29309a7 as UmaUpdateFirmDtoStatusEnum, $6c89247687c1ed28$export$e297295319f353fb as UmaUpdateIdentityProviderDtoTypeEnum, $6c89247687c1ed28$export$8be51d197d5d3e7 as UmaUpsertUserDtoTypeEnum, $6c89247687c1ed28$export$6d687bd5e60dd542 as UmaVerifyContactDtoCodeTypeEnum, $2a05d190b87a25e5$export$a398983943bbde23 as UserDetails, $2be9f74160cf63e5$export$12728e6e259e1581 as UsersCommon, $5d9a13ecb3f0d7fd$export$b5681ba9d8d05c26 as WatchmenAuth, $3cd5547863d6ee3a$export$a780f46fdf729420 as WatchmenInstances};
|
|
2
3862
|
//# sourceMappingURL=index.esm.js.map
|