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