@reposit/api-client 6.61.0 → 6.62.0-beta.1
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/index.d.ts +347 -19
- package/dist/index.js +1 -1
- package/dist/index.mjs +4541 -3670
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const p=require("axios"),u="http://localhost".replace(/\/+$/,""),Ts={csv:",",ssv:" ",tsv:" ",pipes:"|"};class R{constructor(e,r=u,t=p){this.basePath=r,this.axios=t,e&&(this.configuration=e,this.basePath=e.basePath||this.basePath)}}class h extends Error{constructor(e,r){super(r),this.field=e,this.name="RequiredError"}}const le=function(a){return{createAddress(e,r={}){if(e==null)throw new h("createAddressWithOrgDTO","Required parameter createAddressWithOrgDTO was null or undefined when calling createAddress.");const t="/v2/addresses",s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"POST",...n,...r},i={},l={};return i["Content-Type"]="application/json",Object.entries({...l,...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},o.data=JSON.stringify(e!==void 0?e:{}),{url:s.pathname+s.search,options:o}},findAddressById(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling findAddressById.");const t="/v2/addresses/{id}".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},searchAddressesByPostcode(e,r={}){if(e==null)throw new h("postcode","Required parameter postcode was null or undefined when calling searchAddressesByPostcode.");const t="/v2/addresses/lookup",s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={},l={};return e!==void 0&&(l.postcode=e),Object.entries({...l,...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},updateAddressById(e,r,t={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling updateAddressById.");if(r==null)throw new h("updateAddressDTO","Required parameter updateAddressDTO was null or undefined when calling updateAddressById.");const s="/v2/addresses/{id}".replace("{id}",encodeURIComponent(String(e))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"PATCH",...o,...t},l={},d={};return l["Content-Type"]="application/json",Object.entries({...d,...t.query}).forEach(([c,A])=>{A!==void 0&&n.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:n.pathname+n.search,options:i}}}},ce=function(a){return{createAddress(e,r){const t=le(a).createAddress(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},findAddressById(e,r){const t=le(a).findAddressById(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},searchAddressesByPostcode(e,r){const t=le(a).searchAddressesByPostcode(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},updateAddressById(e,r,t){const s=le(a).updateAddressById(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}}}},Ss=function(a,e,r){return{createAddress(t,s){return ce(a).createAddress(t,s)(r,e)},findAddressById(t,s){return ce(a).findAddressById(t,s)(r,e)},searchAddressesByPostcode(t,s){return ce(a).searchAddressesByPostcode(t,s)(r,e)},updateAddressById(t,s,n){return ce(a).updateAddressById(t,s,n)(r,e)}}};class Ns extends R{createAddress(e,r){return ce(this.configuration).createAddress(e,r)(this.axios,this.basePath)}findAddressById(e,r){return ce(this.configuration).findAddressById(e,r)(this.axios,this.basePath)}searchAddressesByPostcode(e,r){return ce(this.configuration).searchAddressesByPostcode(e,r)(this.axios,this.basePath)}updateAddressById(e,r,t){return ce(this.configuration).updateAddressById(e,r,t)(this.axios,this.basePath)}}async function xs(a,e,r=p,t=u,s){const n=le(e).createAddress(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function Us(a,e,r=p,t=u,s){const n=le(e).findAddressById(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function Ds(a,e,r=p,t=u,s){const n=le(e).searchAddressesByPostcode(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function Ls(a,e,r,t=p,s=u,n){const o=le(r).updateAddressById(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}const Ee=function(a){return{createApplicant(e,r={}){if(e==null)throw new h("createApplicantDTO","Required parameter createApplicantDTO was null or undefined when calling createApplicant.");const t="/v2/applicants",s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"POST",...n,...r},i={},l={};return i["Content-Type"]="application/json",Object.entries({...l,...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},o.data=JSON.stringify(e!==void 0?e:{}),{url:s.pathname+s.search,options:o}},findApplicantById(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling findApplicantById.");const t="/v2/applicants/{id}/references".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},updateAttributes(e,r,t={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling updateAttributes.");if(r==null)throw new h("updateApplicantAttributesDTO","Required parameter updateApplicantAttributesDTO was null or undefined when calling updateAttributes.");const s="/v2/applicants/{id}/attributes".replace("{id}",encodeURIComponent(String(e))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"PATCH",...o,...t},l={},d={};return l["Content-Type"]="application/json",Object.entries({...d,...t.query}).forEach(([c,A])=>{A!==void 0&&n.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:n.pathname+n.search,options:i}}}},Ve=function(a){return{createApplicant(e,r){const t=Ee(a).createApplicant(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},findApplicantById(e,r){const t=Ee(a).findApplicantById(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},updateAttributes(e,r,t){const s=Ee(a).updateAttributes(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}}}},Bs=function(a,e,r){return{createApplicant(t,s){return Ve(a).createApplicant(t,s)(r,e)},findApplicantById(t,s){return Ve(a).findApplicantById(t,s)(r,e)},updateAttributes(t,s,n){return Ve(a).updateAttributes(t,s,n)(r,e)}}};class js extends R{createApplicant(e,r){return Ve(this.configuration).createApplicant(e,r)(this.axios,this.basePath)}findApplicantById(e,r){return Ve(this.configuration).findApplicantById(e,r)(this.axios,this.basePath)}updateAttributes(e,r,t){return Ve(this.configuration).updateAttributes(e,r,t)(this.axios,this.basePath)}}async function Fs(a,e,r=p,t=u,s){const n=Ee(e).createApplicant(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function Ms(a,e,r=p,t=u,s){const n=Ee(e).findApplicantById(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function Hs(a,e,r,t=p,s=u,n){const o=Ee(r).updateAttributes(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}const de=function(a){return{addAbitrationDocument(e,r,t,s,n={}){if(e==null)throw new h("arbitrationId","Required parameter arbitrationId was null or undefined when calling addAbitrationDocument.");if(r==null)throw new h("file","Required parameter file was null or undefined when calling addAbitrationDocument.");if(t==null)throw new h("name","Required parameter name was null or undefined when calling addAbitrationDocument.");if(s==null)throw new h("type","Required parameter type was null or undefined when calling addAbitrationDocument.");const o="/v2/arbitrations/{arbitrationId}/documents".replace("{arbitrationId}",encodeURIComponent(String(e))),i=new URL(o,"http://placeholder");let l;a&&(l=a.baseOptions);const d={method:"POST",...l,...n},c={},A={},m=new FormData;return r!==void 0&&m.append("file",r),t!==void 0&&m.append("name",t),s!==void 0&&m.append("type",s),c["Content-Type"]="multipart/form-data",Object.entries({...A,...n.query}).forEach(([I,P])=>{P!==void 0&&i.searchParams.set(I,String(P))}),d.headers={...c,...n.headers},d.data=m,{url:i.pathname+i.search,options:d}},deleteAbitrationDocument(e,r,t={}){if(e==null)throw new h("arbitrationId","Required parameter arbitrationId was null or undefined when calling deleteAbitrationDocument.");if(r==null)throw new h("documentId","Required parameter documentId was null or undefined when calling deleteAbitrationDocument.");const s="/v2/arbitrations/{arbitrationId}/documents/{documentId}".replace("{arbitrationId}",encodeURIComponent(String(e))).replace("{documentId}",encodeURIComponent(String(r))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"DELETE",...o,...t},l={};return Object.entries({...{},...t.query}).forEach(([c,A])=>{A!==void 0&&n.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},{url:n.pathname+n.search,options:i}},findAbitrationDocumentById(e,r,t={}){if(e==null)throw new h("arbitrationId","Required parameter arbitrationId was null or undefined when calling findAbitrationDocumentById.");if(r==null)throw new h("documentId","Required parameter documentId was null or undefined when calling findAbitrationDocumentById.");const s="/v2/arbitrations/{arbitrationId}/documents/{documentId}".replace("{arbitrationId}",encodeURIComponent(String(e))).replace("{documentId}",encodeURIComponent(String(r))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"GET",...o,...t},l={};return Object.entries({...{},...t.query}).forEach(([c,A])=>{A!==void 0&&n.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},{url:n.pathname+n.search,options:i}},findManyAbitrationDocuments(e,r={}){if(e==null)throw new h("arbitrationId","Required parameter arbitrationId was null or undefined when calling findManyAbitrationDocuments.");const t="/v2/arbitrations/{arbitrationId}/documents".replace("{arbitrationId}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}}}},ue=function(a){return{addAbitrationDocument(e,r,t,s,n){const o=de(a).addAbitrationDocument(e,r,t,s,n);return(i=p,l=u)=>{const d={...o.options,url:l+o.url};return i.request(d)}},deleteAbitrationDocument(e,r,t){const s=de(a).deleteAbitrationDocument(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},findAbitrationDocumentById(e,r,t){const s=de(a).findAbitrationDocumentById(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},findManyAbitrationDocuments(e,r){const t=de(a).findManyAbitrationDocuments(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}}}},Gs=function(a,e,r){return{addAbitrationDocument(t,s,n,o,i){return ue(a).addAbitrationDocument(t,s,n,o,i)(r,e)},deleteAbitrationDocument(t,s,n){return ue(a).deleteAbitrationDocument(t,s,n)(r,e)},findAbitrationDocumentById(t,s,n){return ue(a).findAbitrationDocumentById(t,s,n)(r,e)},findManyAbitrationDocuments(t,s){return ue(a).findManyAbitrationDocuments(t,s)(r,e)}}};class Qs extends R{addAbitrationDocument(e,r,t,s,n){return ue(this.configuration).addAbitrationDocument(e,r,t,s,n)(this.axios,this.basePath)}deleteAbitrationDocument(e,r,t){return ue(this.configuration).deleteAbitrationDocument(e,r,t)(this.axios,this.basePath)}findAbitrationDocumentById(e,r,t){return ue(this.configuration).findAbitrationDocumentById(e,r,t)(this.axios,this.basePath)}findManyAbitrationDocuments(e,r){return ue(this.configuration).findManyAbitrationDocuments(e,r)(this.axios,this.basePath)}}async function zs(a,e,r,t,s,n=p,o=u,i){const l=de(s).addAbitrationDocument(a,e,r,t,i),d={...l.options,url:o+l.url};return(await n.request(d)).data}async function ks(a,e,r,t=p,s=u,n){const o=de(r).deleteAbitrationDocument(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function Ys(a,e,r,t=p,s=u,n){const o=de(r).findAbitrationDocumentById(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function $s(a,e,r=p,t=u,s){const n=de(e).findManyAbitrationDocuments(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}const pe=function(a){return{createArbitration(e,r={}){if(e==null)throw new h("createArbitrationDTO","Required parameter createArbitrationDTO was null or undefined when calling createArbitration.");const t="/v2/arbitrations",s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"POST",...n,...r},i={},l={};return i["Content-Type"]="application/json",Object.entries({...l,...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},o.data=JSON.stringify(e!==void 0?e:{}),{url:s.pathname+s.search,options:o}},getArbitrationById(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling getArbitrationById.");const t="/v2/arbitrations/{id}".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},publishArbitration(e,r={}){if(e==null)throw new h("arbitrationId","Required parameter arbitrationId was null or undefined when calling publishArbitration.");const t="/v2/arbitrations/{arbitrationId}/publish".replace("{arbitrationId}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"POST",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},updateArbitration(e,r,t={}){if(e==null)throw new h("arbitrationId","Required parameter arbitrationId was null or undefined when calling updateArbitration.");if(r==null)throw new h("updateArbitrationDTO","Required parameter updateArbitrationDTO was null or undefined when calling updateArbitration.");const s="/v2/arbitrations/{arbitrationId}".replace("{arbitrationId}",encodeURIComponent(String(e))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"PATCH",...o,...t},l={},d={};return l["Content-Type"]="application/json",Object.entries({...d,...t.query}).forEach(([c,A])=>{A!==void 0&&n.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:n.pathname+n.search,options:i}}}},he=function(a){return{createArbitration(e,r){const t=pe(a).createArbitration(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},getArbitrationById(e,r){const t=pe(a).getArbitrationById(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},publishArbitration(e,r){const t=pe(a).publishArbitration(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},updateArbitration(e,r,t){const s=pe(a).updateArbitration(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}}}},Ws=function(a,e,r){return{createArbitration(t,s){return he(a).createArbitration(t,s)(r,e)},getArbitrationById(t,s){return he(a).getArbitrationById(t,s)(r,e)},publishArbitration(t,s){return he(a).publishArbitration(t,s)(r,e)},updateArbitration(t,s,n){return he(a).updateArbitration(t,s,n)(r,e)}}};class Js extends R{createArbitration(e,r){return he(this.configuration).createArbitration(e,r)(this.axios,this.basePath)}getArbitrationById(e,r){return he(this.configuration).getArbitrationById(e,r)(this.axios,this.basePath)}publishArbitration(e,r){return he(this.configuration).publishArbitration(e,r)(this.axios,this.basePath)}updateArbitration(e,r,t){return he(this.configuration).updateArbitration(e,r,t)(this.axios,this.basePath)}}async function Ks(a,e,r=p,t=u,s){const n=pe(e).createArbitration(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function Xs(a,e,r=p,t=u,s){const n=pe(e).getArbitrationById(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function Zs(a,e,r=p,t=u,s){const n=pe(e).publishArbitration(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function en(a,e,r,t=p,s=u,n){const o=pe(r).updateArbitration(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}const $=function(a){return{login(e,r={}){if(e==null)throw new h("loginDTO","Required parameter loginDTO was null or undefined when calling login.");const t="/v2/auth/login",s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"POST",...n,...r},i={},l={};return i["Content-Type"]="application/json",Object.entries({...l,...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},o.data=JSON.stringify(e!==void 0?e:{}),{url:s.pathname+s.search,options:o}},redeemOneTimeSessionToken(e,r={}){if(e==null)throw new h("token","Required parameter token was null or undefined when calling redeemOneTimeSessionToken.");const t="/v2/auth/redeem-one-time-session-token",s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={},l={};return e!==void 0&&(l.token=e),Object.entries({...l,...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},resetPassword(e,r={}){if(e==null)throw new h("resetPasswordDTO","Required parameter resetPasswordDTO was null or undefined when calling resetPassword.");const t="/v2/auth/reset-password",s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"POST",...n,...r},i={},l={};return i["Content-Type"]="application/json",Object.entries({...l,...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},o.data=JSON.stringify(e!==void 0?e:{}),{url:s.pathname+s.search,options:o}},resetPasswordRequest(e,r={}){if(e==null)throw new h("email","Required parameter email was null or undefined when calling resetPasswordRequest.");const t="/v2/auth/reset-password-request",s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={},l={};return e!==void 0&&(l.email=e),Object.entries({...l,...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},setPassword(e,r={}){if(e==null)throw new h("resetPasswordDTO","Required parameter resetPasswordDTO was null or undefined when calling setPassword.");const t="/v2/auth/set-password",s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"POST",...n,...r},i={},l={};return i["Content-Type"]="application/json",Object.entries({...l,...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},o.data=JSON.stringify(e!==void 0?e:{}),{url:s.pathname+s.search,options:o}}}},W=function(a){return{login(e,r){const t=$(a).login(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},redeemOneTimeSessionToken(e,r){const t=$(a).redeemOneTimeSessionToken(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},resetPassword(e,r){const t=$(a).resetPassword(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},resetPasswordRequest(e,r){const t=$(a).resetPasswordRequest(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},setPassword(e,r){const t=$(a).setPassword(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}}}},rn=function(a,e,r){return{login(t,s){return W(a).login(t,s)(r,e)},redeemOneTimeSessionToken(t,s){return W(a).redeemOneTimeSessionToken(t,s)(r,e)},resetPassword(t,s){return W(a).resetPassword(t,s)(r,e)},resetPasswordRequest(t,s){return W(a).resetPasswordRequest(t,s)(r,e)},setPassword(t,s){return W(a).setPassword(t,s)(r,e)}}};class tn extends R{login(e,r){return W(this.configuration).login(e,r)(this.axios,this.basePath)}redeemOneTimeSessionToken(e,r){return W(this.configuration).redeemOneTimeSessionToken(e,r)(this.axios,this.basePath)}resetPassword(e,r){return W(this.configuration).resetPassword(e,r)(this.axios,this.basePath)}resetPasswordRequest(e,r){return W(this.configuration).resetPasswordRequest(e,r)(this.axios,this.basePath)}setPassword(e,r){return W(this.configuration).setPassword(e,r)(this.axios,this.basePath)}}async function an(a,e,r=p,t=u,s){const n=$(e).login(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function sn(a,e,r=p,t=u,s){const n=$(e).redeemOneTimeSessionToken(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function nn(a,e,r=p,t=u,s){const n=$(e).resetPassword(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function on(a,e,r=p,t=u,s){const n=$(e).resetPasswordRequest(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function ln(a,e,r=p,t=u,s){const n=$(e).setPassword(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}const Sr=function(a){return{getActive(e={}){const r="/v2/bank-accounts",t=new URL(r,"http://placeholder");let s;a&&(s=a.baseOptions);const n={method:"GET",...s,...e},o={};return Object.entries({...{},...e.query}).forEach(([l,d])=>{d!==void 0&&t.searchParams.set(l,String(d))}),n.headers={...o,...e.headers},{url:t.pathname+t.search,options:n}}}},Nr=function(a){return{getActive(e){const r=Sr(a).getActive(e);return(t=p,s=u)=>{const n={...r.options,url:s+r.url};return t.request(n)}}}},cn=function(a,e,r){return{getActive(t){return Nr(a).getActive(t)(r,e)}}};class dn extends R{getActive(e){return Nr(this.configuration).getActive(e)(this.axios,this.basePath)}}async function un(a,e=p,r=u,t){const s=Sr(a).getActive(t),n={...s.options,url:r+s.url};return(await e.request(n)).data}const xr=function(a){return{updateBeneficiary(e,r,t={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling updateBeneficiary.");if(r==null)throw new h("updateBeneficiaryDTO","Required parameter updateBeneficiaryDTO was null or undefined when calling updateBeneficiary.");const s="/v2/beneficiaries/{id}".replace("{id}",encodeURIComponent(String(e))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"PATCH",...o,...t},l={},d={};return l["Content-Type"]="application/json",Object.entries({...d,...t.query}).forEach(([c,A])=>{A!==void 0&&n.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:n.pathname+n.search,options:i}}}},Ur=function(a){return{updateBeneficiary(e,r,t){const s=xr(a).updateBeneficiary(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}}}},pn=function(a,e,r){return{updateBeneficiary(t,s,n){return Ur(a).updateBeneficiary(t,s,n)(r,e)}}};class hn extends R{updateBeneficiary(e,r,t){return Ur(this.configuration).updateBeneficiary(e,r,t)(this.axios,this.basePath)}}async function An(a,e,r,t=p,s=u,n){const o=xr(r).updateBeneficiary(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}const J=function(a){return{confirmTenancyDetails(e,r={}){if(e==null)throw new h("verifyPostcodeRequestDTO","Required parameter verifyPostcodeRequestDTO was null or undefined when calling confirmTenancyDetails.");const t="/v2/cash-deposit/confirm-tenancy-details",s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"POST",...n,...r},i={},l={};return i["Content-Type"]="application/json",Object.entries({...l,...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},o.data=JSON.stringify(e!==void 0?e:{}),{url:s.pathname+s.search,options:o}},generateCashDepositPlaidLinkToken(e,r={}){if(e==null)throw new h("verifyPostcodeRequestDTO","Required parameter verifyPostcodeRequestDTO was null or undefined when calling generateCashDepositPlaidLinkToken.");const t="/v2/cash-deposit/plaid-link-token",s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"POST",...n,...r},i={},l={};return i["Content-Type"]="application/json",Object.entries({...l,...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},o.data=JSON.stringify(e!==void 0?e:{}),{url:s.pathname+s.search,options:o}},getPaymentDetails(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling getPaymentDetails.");const t="/v2/cash-deposit/{id}/payment-details".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},signCashDeposit(e,r={}){if(e==null)throw new h("signCashDepositRequestDTO","Required parameter signCashDepositRequestDTO was null or undefined when calling signCashDeposit.");const t="/v2/cash-deposit/sign",s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"POST",...n,...r},i={},l={};return i["Content-Type"]="application/json",Object.entries({...l,...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},o.data=JSON.stringify(e!==void 0?e:{}),{url:s.pathname+s.search,options:o}},verifyPostcode(e,r={}){if(e==null)throw new h("verifyPostcodeRequestDTO","Required parameter verifyPostcodeRequestDTO was null or undefined when calling verifyPostcode.");const t="/v2/cash-deposit/verify-postcode",s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"POST",...n,...r},i={},l={};return i["Content-Type"]="application/json",Object.entries({...l,...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},o.data=JSON.stringify(e!==void 0?e:{}),{url:s.pathname+s.search,options:o}}}},K=function(a){return{confirmTenancyDetails(e,r){const t=J(a).confirmTenancyDetails(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},generateCashDepositPlaidLinkToken(e,r){const t=J(a).generateCashDepositPlaidLinkToken(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},getPaymentDetails(e,r){const t=J(a).getPaymentDetails(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},signCashDeposit(e,r){const t=J(a).signCashDeposit(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},verifyPostcode(e,r){const t=J(a).verifyPostcode(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}}}},mn=function(a,e,r){return{confirmTenancyDetails(t,s){return K(a).confirmTenancyDetails(t,s)(r,e)},generateCashDepositPlaidLinkToken(t,s){return K(a).generateCashDepositPlaidLinkToken(t,s)(r,e)},getPaymentDetails(t,s){return K(a).getPaymentDetails(t,s)(r,e)},signCashDeposit(t,s){return K(a).signCashDeposit(t,s)(r,e)},verifyPostcode(t,s){return K(a).verifyPostcode(t,s)(r,e)}}};class Rn extends R{confirmTenancyDetails(e,r){return K(this.configuration).confirmTenancyDetails(e,r)(this.axios,this.basePath)}generateCashDepositPlaidLinkToken(e,r){return K(this.configuration).generateCashDepositPlaidLinkToken(e,r)(this.axios,this.basePath)}getPaymentDetails(e,r){return K(this.configuration).getPaymentDetails(e,r)(this.axios,this.basePath)}signCashDeposit(e,r){return K(this.configuration).signCashDeposit(e,r)(this.axios,this.basePath)}verifyPostcode(e,r){return K(this.configuration).verifyPostcode(e,r)(this.axios,this.basePath)}}async function In(a,e,r=p,t=u,s){const n=J(e).confirmTenancyDetails(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function Pn(a,e,r=p,t=u,s){const n=J(e).generateCashDepositPlaidLinkToken(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function gn(a,e,r=p,t=u,s){const n=J(e).getPaymentDetails(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function wn(a,e,r=p,t=u,s){const n=J(e).signCashDeposit(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function fn(a,e,r=p,t=u,s){const n=J(e).verifyPostcode(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}const $e=function(a){return{findCheckById(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling findCheckById.");const t="/v2/checks/{id}".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},override(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling override.");const t="/v2/checks/{id}/override".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"PATCH",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}}}},We=function(a){return{findCheckById(e,r){const t=$e(a).findCheckById(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},override(e,r){const t=$e(a).override(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}}}},On=function(a,e,r){return{findCheckById(t,s){return We(a).findCheckById(t,s)(r,e)},override(t,s){return We(a).override(t,s)(r,e)}}};class yn extends R{findCheckById(e,r){return We(this.configuration).findCheckById(e,r)(this.axios,this.basePath)}override(e,r){return We(this.configuration).override(e,r)(this.axios,this.basePath)}}async function En(a,e,r=p,t=u,s){const n=$e(e).findCheckById(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function Vn(a,e,r=p,t=u,s){const n=$e(e).override(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}const X=function(a){return{addClaimDocument(e,r,t,s,n={}){if(e==null)throw new h("claimId","Required parameter claimId was null or undefined when calling addClaimDocument.");if(r==null)throw new h("file","Required parameter file was null or undefined when calling addClaimDocument.");if(t==null)throw new h("name","Required parameter name was null or undefined when calling addClaimDocument.");if(s==null)throw new h("type","Required parameter type was null or undefined when calling addClaimDocument.");const o="/v2/claims/{claimId}/documents".replace("{claimId}",encodeURIComponent(String(e))),i=new URL(o,"http://placeholder");let l;a&&(l=a.baseOptions);const d={method:"POST",...l,...n},c={},A={},m=new FormData;return r!==void 0&&m.append("file",r),t!==void 0&&m.append("name",t),s!==void 0&&m.append("type",s),c["Content-Type"]="multipart/form-data",Object.entries({...A,...n.query}).forEach(([I,P])=>{P!==void 0&&i.searchParams.set(I,String(P))}),d.headers={...c,...n.headers},d.data=m,{url:i.pathname+i.search,options:d}},addClaimDocumentByDocumentId(e,r,t={}){if(e==null)throw new h("claimId","Required parameter claimId was null or undefined when calling addClaimDocumentByDocumentId.");if(r==null)throw new h("createClaimDocumentByDocumentIdDTO","Required parameter createClaimDocumentByDocumentIdDTO was null or undefined when calling addClaimDocumentByDocumentId.");const s="/v2/claims/{claimId}/documents/by-document-id".replace("{claimId}",encodeURIComponent(String(e))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"POST",...o,...t},l={},d={};return l["Content-Type"]="application/json",Object.entries({...d,...t.query}).forEach(([c,A])=>{A!==void 0&&n.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:n.pathname+n.search,options:i}},deleteClaimDocument(e,r,t={}){if(e==null)throw new h("claimId","Required parameter claimId was null or undefined when calling deleteClaimDocument.");if(r==null)throw new h("documentId","Required parameter documentId was null or undefined when calling deleteClaimDocument.");const s="/v2/claims/{claimId}/documents/{documentId}".replace("{claimId}",encodeURIComponent(String(e))).replace("{documentId}",encodeURIComponent(String(r))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"DELETE",...o,...t},l={};return Object.entries({...{},...t.query}).forEach(([c,A])=>{A!==void 0&&n.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},{url:n.pathname+n.search,options:i}},findClaimDocumentById(e,r,t={}){if(e==null)throw new h("claimId","Required parameter claimId was null or undefined when calling findClaimDocumentById.");if(r==null)throw new h("documentId","Required parameter documentId was null or undefined when calling findClaimDocumentById.");const s="/v2/claims/{claimId}/documents/{documentId}".replace("{claimId}",encodeURIComponent(String(e))).replace("{documentId}",encodeURIComponent(String(r))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"GET",...o,...t},l={};return Object.entries({...{},...t.query}).forEach(([c,A])=>{A!==void 0&&n.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},{url:n.pathname+n.search,options:i}},findManyClaimDocuments(e,r={}){if(e==null)throw new h("claimId","Required parameter claimId was null or undefined when calling findManyClaimDocuments.");const t="/v2/claims/{claimId}/documents".replace("{claimId}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}}}},Z=function(a){return{addClaimDocument(e,r,t,s,n){const o=X(a).addClaimDocument(e,r,t,s,n);return(i=p,l=u)=>{const d={...o.options,url:l+o.url};return i.request(d)}},addClaimDocumentByDocumentId(e,r,t){const s=X(a).addClaimDocumentByDocumentId(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},deleteClaimDocument(e,r,t){const s=X(a).deleteClaimDocument(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},findClaimDocumentById(e,r,t){const s=X(a).findClaimDocumentById(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},findManyClaimDocuments(e,r){const t=X(a).findManyClaimDocuments(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}}}},Cn=function(a,e,r){return{addClaimDocument(t,s,n,o,i){return Z(a).addClaimDocument(t,s,n,o,i)(r,e)},addClaimDocumentByDocumentId(t,s,n){return Z(a).addClaimDocumentByDocumentId(t,s,n)(r,e)},deleteClaimDocument(t,s,n){return Z(a).deleteClaimDocument(t,s,n)(r,e)},findClaimDocumentById(t,s,n){return Z(a).findClaimDocumentById(t,s,n)(r,e)},findManyClaimDocuments(t,s){return Z(a).findManyClaimDocuments(t,s)(r,e)}}};class qn extends R{addClaimDocument(e,r,t,s,n){return Z(this.configuration).addClaimDocument(e,r,t,s,n)(this.axios,this.basePath)}addClaimDocumentByDocumentId(e,r,t){return Z(this.configuration).addClaimDocumentByDocumentId(e,r,t)(this.axios,this.basePath)}deleteClaimDocument(e,r,t){return Z(this.configuration).deleteClaimDocument(e,r,t)(this.axios,this.basePath)}findClaimDocumentById(e,r,t){return Z(this.configuration).findClaimDocumentById(e,r,t)(this.axios,this.basePath)}findManyClaimDocuments(e,r){return Z(this.configuration).findManyClaimDocuments(e,r)(this.axios,this.basePath)}}async function _n(a,e,r,t,s,n=p,o=u,i){const l=X(s).addClaimDocument(a,e,r,t,i),d={...l.options,url:o+l.url};return(await n.request(d)).data}async function vn(a,e,r,t=p,s=u,n){const o=X(r).addClaimDocumentByDocumentId(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function bn(a,e,r,t=p,s=u,n){const o=X(r).deleteClaimDocument(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function Tn(a,e,r,t=p,s=u,n){const o=X(r).findClaimDocumentById(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function Sn(a,e,r=p,t=u,s){const n=X(e).findManyClaimDocuments(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}const ee=function(a){return{addClaimItemDocument(e,r,t,s,n,o,i={}){if(e==null)throw new h("claimId","Required parameter claimId was null or undefined when calling addClaimItemDocument.");if(r==null)throw new h("claimItemId","Required parameter claimItemId was null or undefined when calling addClaimItemDocument.");if(t==null)throw new h("file","Required parameter file was null or undefined when calling addClaimItemDocument.");if(s==null)throw new h("name","Required parameter name was null or undefined when calling addClaimItemDocument.");if(n==null)throw new h("type","Required parameter type was null or undefined when calling addClaimItemDocument.");if(o==null)throw new h("claimItemProposalId","Required parameter claimItemProposalId was null or undefined when calling addClaimItemDocument.");const l="/v2/claims/{claimId}/items/{claimItemId}/documents".replace("{claimId}",encodeURIComponent(String(e))).replace("{claimItemId}",encodeURIComponent(String(r))),d=new URL(l,"http://placeholder");let c;a&&(c=a.baseOptions);const A={method:"POST",...c,...i},m={},I={},P=new FormData;return t!==void 0&&P.append("file",t),s!==void 0&&P.append("name",s),n!==void 0&&P.append("type",n),o!==void 0&&P.append("claimItemProposalId",o),m["Content-Type"]="multipart/form-data",Object.entries({...I,...i.query}).forEach(([q,k])=>{k!==void 0&&d.searchParams.set(q,String(k))}),A.headers={...m,...i.headers},A.data=P,{url:d.pathname+d.search,options:A}},addClaimItemDocumentByDocumentId(e,r,t,s={}){if(e==null)throw new h("claimId","Required parameter claimId was null or undefined when calling addClaimItemDocumentByDocumentId.");if(r==null)throw new h("claimItemId","Required parameter claimItemId was null or undefined when calling addClaimItemDocumentByDocumentId.");if(t==null)throw new h("createClaimItemDocumentByDocumentIdDTO","Required parameter createClaimItemDocumentByDocumentIdDTO was null or undefined when calling addClaimItemDocumentByDocumentId.");const n="/v2/claims/{claimId}/items/{claimItemId}/documents/by-document-id".replace("{claimId}",encodeURIComponent(String(e))).replace("{claimItemId}",encodeURIComponent(String(r))),o=new URL(n,"http://placeholder");let i;a&&(i=a.baseOptions);const l={method:"POST",...i,...s},d={},c={};return d["Content-Type"]="application/json",Object.entries({...c,...s.query}).forEach(([A,m])=>{m!==void 0&&o.searchParams.set(A,String(m))}),l.headers={...d,...s.headers},l.data=JSON.stringify(t!==void 0?t:{}),{url:o.pathname+o.search,options:l}},deleteClaimItemDocument(e,r,t,s={}){if(e==null)throw new h("claimItemId","Required parameter claimItemId was null or undefined when calling deleteClaimItemDocument.");if(r==null)throw new h("claimId","Required parameter claimId was null or undefined when calling deleteClaimItemDocument.");if(t==null)throw new h("documentId","Required parameter documentId was null or undefined when calling deleteClaimItemDocument.");const n="/v2/claims/{claimId}/items/{claimItemId}/documents/{documentId}".replace("{claimItemId}",encodeURIComponent(String(e))).replace("{claimId}",encodeURIComponent(String(r))).replace("{documentId}",encodeURIComponent(String(t))),o=new URL(n,"http://placeholder");let i;a&&(i=a.baseOptions);const l={method:"DELETE",...i,...s},d={};return Object.entries({...{},...s.query}).forEach(([A,m])=>{m!==void 0&&o.searchParams.set(A,String(m))}),l.headers={...d,...s.headers},{url:o.pathname+o.search,options:l}},findClaimItemDocumentById(e,r,t,s={}){if(e==null)throw new h("claimId","Required parameter claimId was null or undefined when calling findClaimItemDocumentById.");if(r==null)throw new h("claimItemId","Required parameter claimItemId was null or undefined when calling findClaimItemDocumentById.");if(t==null)throw new h("documentId","Required parameter documentId was null or undefined when calling findClaimItemDocumentById.");const n="/v2/claims/{claimId}/items/{claimItemId}/documents/{documentId}".replace("{claimId}",encodeURIComponent(String(e))).replace("{claimItemId}",encodeURIComponent(String(r))).replace("{documentId}",encodeURIComponent(String(t))),o=new URL(n,"http://placeholder");let i;a&&(i=a.baseOptions);const l={method:"GET",...i,...s},d={};return Object.entries({...{},...s.query}).forEach(([A,m])=>{m!==void 0&&o.searchParams.set(A,String(m))}),l.headers={...d,...s.headers},{url:o.pathname+o.search,options:l}},findManyClaimItemDocuments(e,r,t={}){if(e==null)throw new h("claimItemId","Required parameter claimItemId was null or undefined when calling findManyClaimItemDocuments.");if(r==null)throw new h("claimId","Required parameter claimId was null or undefined when calling findManyClaimItemDocuments.");const s="/v2/claims/{claimId}/items/{claimItemId}/documents".replace("{claimItemId}",encodeURIComponent(String(e))).replace("{claimId}",encodeURIComponent(String(r))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"GET",...o,...t},l={};return Object.entries({...{},...t.query}).forEach(([c,A])=>{A!==void 0&&n.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},{url:n.pathname+n.search,options:i}}}},re=function(a){return{addClaimItemDocument(e,r,t,s,n,o,i){const l=ee(a).addClaimItemDocument(e,r,t,s,n,o,i);return(d=p,c=u)=>{const A={...l.options,url:c+l.url};return d.request(A)}},addClaimItemDocumentByDocumentId(e,r,t,s){const n=ee(a).addClaimItemDocumentByDocumentId(e,r,t,s);return(o=p,i=u)=>{const l={...n.options,url:i+n.url};return o.request(l)}},deleteClaimItemDocument(e,r,t,s){const n=ee(a).deleteClaimItemDocument(e,r,t,s);return(o=p,i=u)=>{const l={...n.options,url:i+n.url};return o.request(l)}},findClaimItemDocumentById(e,r,t,s){const n=ee(a).findClaimItemDocumentById(e,r,t,s);return(o=p,i=u)=>{const l={...n.options,url:i+n.url};return o.request(l)}},findManyClaimItemDocuments(e,r,t){const s=ee(a).findManyClaimItemDocuments(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}}}},Nn=function(a,e,r){return{addClaimItemDocument(t,s,n,o,i,l,d){return re(a).addClaimItemDocument(t,s,n,o,i,l,d)(r,e)},addClaimItemDocumentByDocumentId(t,s,n,o){return re(a).addClaimItemDocumentByDocumentId(t,s,n,o)(r,e)},deleteClaimItemDocument(t,s,n,o){return re(a).deleteClaimItemDocument(t,s,n,o)(r,e)},findClaimItemDocumentById(t,s,n,o){return re(a).findClaimItemDocumentById(t,s,n,o)(r,e)},findManyClaimItemDocuments(t,s,n){return re(a).findManyClaimItemDocuments(t,s,n)(r,e)}}};class xn extends R{addClaimItemDocument(e,r,t,s,n,o,i){return re(this.configuration).addClaimItemDocument(e,r,t,s,n,o,i)(this.axios,this.basePath)}addClaimItemDocumentByDocumentId(e,r,t,s){return re(this.configuration).addClaimItemDocumentByDocumentId(e,r,t,s)(this.axios,this.basePath)}deleteClaimItemDocument(e,r,t,s){return re(this.configuration).deleteClaimItemDocument(e,r,t,s)(this.axios,this.basePath)}findClaimItemDocumentById(e,r,t,s){return re(this.configuration).findClaimItemDocumentById(e,r,t,s)(this.axios,this.basePath)}findManyClaimItemDocuments(e,r,t){return re(this.configuration).findManyClaimItemDocuments(e,r,t)(this.axios,this.basePath)}}async function Un(a,e,r,t,s,n,o,i=p,l=u,d){const c=ee(o).addClaimItemDocument(a,e,r,t,s,n,d),A={...c.options,url:l+c.url};return(await i.request(A)).data}async function Dn(a,e,r,t,s=p,n=u,o){const i=ee(t).addClaimItemDocumentByDocumentId(a,e,r,o),l={...i.options,url:n+i.url};return(await s.request(l)).data}async function Ln(a,e,r,t,s=p,n=u,o){const i=ee(t).deleteClaimItemDocument(a,e,r,o),l={...i.options,url:n+i.url};return(await s.request(l)).data}async function Bn(a,e,r,t,s=p,n=u,o){const i=ee(t).findClaimItemDocumentById(a,e,r,o),l={...i.options,url:n+i.url};return(await s.request(l)).data}async function jn(a,e,r,t=p,s=u,n){const o=ee(r).findManyClaimItemDocuments(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}const Ce=function(a){return{createClaimItemProposal(e,r,t,s={}){if(e==null)throw new h("claimId","Required parameter claimId was null or undefined when calling createClaimItemProposal.");if(r==null)throw new h("claimProposalId","Required parameter claimProposalId was null or undefined when calling createClaimItemProposal.");if(t==null)throw new h("createClaimItemProposalDTO","Required parameter createClaimItemProposalDTO was null or undefined when calling createClaimItemProposal.");const n="/v2/claims/{claimId}/proposals/{claimProposalId}/item-proposals".replace("{claimId}",encodeURIComponent(String(e))).replace("{claimProposalId}",encodeURIComponent(String(r))),o=new URL(n,"http://placeholder");let i;a&&(i=a.baseOptions);const l={method:"POST",...i,...s},d={},c={};return d["Content-Type"]="application/json",Object.entries({...c,...s.query}).forEach(([A,m])=>{m!==void 0&&o.searchParams.set(A,String(m))}),l.headers={...d,...s.headers},l.data=JSON.stringify(t!==void 0?t:{}),{url:o.pathname+o.search,options:l}},deleteClaimItemProposal(e,r,t,s={}){if(e==null)throw new h("claimProposalId","Required parameter claimProposalId was null or undefined when calling deleteClaimItemProposal.");if(r==null)throw new h("itemProposalId","Required parameter itemProposalId was null or undefined when calling deleteClaimItemProposal.");if(t==null)throw new h("claimId","Required parameter claimId was null or undefined when calling deleteClaimItemProposal.");const n="/v2/claims/{claimId}/proposals/{claimProposalId}/item-proposals/{itemProposalId}".replace("{claimProposalId}",encodeURIComponent(String(e))).replace("{itemProposalId}",encodeURIComponent(String(r))).replace("{claimId}",encodeURIComponent(String(t))),o=new URL(n,"http://placeholder");let i;a&&(i=a.baseOptions);const l={method:"DELETE",...i,...s},d={};return Object.entries({...{},...s.query}).forEach(([A,m])=>{m!==void 0&&o.searchParams.set(A,String(m))}),l.headers={...d,...s.headers},{url:o.pathname+o.search,options:l}},updateClaimItemProposal(e,r,t,s,n={}){if(e==null)throw new h("claimId","Required parameter claimId was null or undefined when calling updateClaimItemProposal.");if(r==null)throw new h("claimProposalId","Required parameter claimProposalId was null or undefined when calling updateClaimItemProposal.");if(t==null)throw new h("itemProposalId","Required parameter itemProposalId was null or undefined when calling updateClaimItemProposal.");if(s==null)throw new h("replaceClaimItemProposalDTO","Required parameter replaceClaimItemProposalDTO was null or undefined when calling updateClaimItemProposal.");const o="/v2/claims/{claimId}/proposals/{claimProposalId}/item-proposals/{itemProposalId}".replace("{claimId}",encodeURIComponent(String(e))).replace("{claimProposalId}",encodeURIComponent(String(r))).replace("{itemProposalId}",encodeURIComponent(String(t))),i=new URL(o,"http://placeholder");let l;a&&(l=a.baseOptions);const d={method:"PUT",...l,...n},c={},A={};return c["Content-Type"]="application/json",Object.entries({...A,...n.query}).forEach(([m,I])=>{I!==void 0&&i.searchParams.set(m,String(I))}),d.headers={...c,...n.headers},d.data=JSON.stringify(s!==void 0?s:{}),{url:i.pathname+i.search,options:d}}}},qe=function(a){return{createClaimItemProposal(e,r,t,s){const n=Ce(a).createClaimItemProposal(e,r,t,s);return(o=p,i=u)=>{const l={...n.options,url:i+n.url};return o.request(l)}},deleteClaimItemProposal(e,r,t,s){const n=Ce(a).deleteClaimItemProposal(e,r,t,s);return(o=p,i=u)=>{const l={...n.options,url:i+n.url};return o.request(l)}},updateClaimItemProposal(e,r,t,s,n){const o=Ce(a).updateClaimItemProposal(e,r,t,s,n);return(i=p,l=u)=>{const d={...o.options,url:l+o.url};return i.request(d)}}}},Fn=function(a,e,r){return{createClaimItemProposal(t,s,n,o){return qe(a).createClaimItemProposal(t,s,n,o)(r,e)},deleteClaimItemProposal(t,s,n,o){return qe(a).deleteClaimItemProposal(t,s,n,o)(r,e)},updateClaimItemProposal(t,s,n,o,i){return qe(a).updateClaimItemProposal(t,s,n,o,i)(r,e)}}};class Mn extends R{createClaimItemProposal(e,r,t,s){return qe(this.configuration).createClaimItemProposal(e,r,t,s)(this.axios,this.basePath)}deleteClaimItemProposal(e,r,t,s){return qe(this.configuration).deleteClaimItemProposal(e,r,t,s)(this.axios,this.basePath)}updateClaimItemProposal(e,r,t,s,n){return qe(this.configuration).updateClaimItemProposal(e,r,t,s,n)(this.axios,this.basePath)}}async function Hn(a,e,r,t,s=p,n=u,o){const i=Ce(t).createClaimItemProposal(a,e,r,o),l={...i.options,url:n+i.url};return(await s.request(l)).data}async function Gn(a,e,r,t,s=p,n=u,o){const i=Ce(t).deleteClaimItemProposal(a,e,r,o),l={...i.options,url:n+i.url};return(await s.request(l)).data}async function Qn(a,e,r,t,s,n=p,o=u,i){const l=Ce(s).updateClaimItemProposal(a,e,r,t,i),d={...l.options,url:o+l.url};return(await n.request(d)).data}const _e=function(a){return{createClaimItem(e,r,t={}){if(e==null)throw new h("claimId","Required parameter claimId was null or undefined when calling createClaimItem.");if(r==null)throw new h("createClaimItemDTO","Required parameter createClaimItemDTO was null or undefined when calling createClaimItem.");const s="/v2/claims/{claimId}/items".replace("{claimId}",encodeURIComponent(String(e))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"POST",...o,...t},l={},d={};return l["Content-Type"]="application/json",Object.entries({...d,...t.query}).forEach(([c,A])=>{A!==void 0&&n.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:n.pathname+n.search,options:i}},deleteClaimItem(e,r,t={}){if(e==null)throw new h("claimId","Required parameter claimId was null or undefined when calling deleteClaimItem.");if(r==null)throw new h("claimItemId","Required parameter claimItemId was null or undefined when calling deleteClaimItem.");const s="/v2/claims/{claimId}/items/{claimItemId}".replace("{claimId}",encodeURIComponent(String(e))).replace("{claimItemId}",encodeURIComponent(String(r))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"DELETE",...o,...t},l={};return Object.entries({...{},...t.query}).forEach(([c,A])=>{A!==void 0&&n.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},{url:n.pathname+n.search,options:i}},updateClaimItem(e,r,t,s={}){if(e==null)throw new h("claimId","Required parameter claimId was null or undefined when calling updateClaimItem.");if(r==null)throw new h("claimItemId","Required parameter claimItemId was null or undefined when calling updateClaimItem.");if(t==null)throw new h("updateClaimItemDTO","Required parameter updateClaimItemDTO was null or undefined when calling updateClaimItem.");const n="/v2/claims/{claimId}/items/{claimItemId}".replace("{claimId}",encodeURIComponent(String(e))).replace("{claimItemId}",encodeURIComponent(String(r))),o=new URL(n,"http://placeholder");let i;a&&(i=a.baseOptions);const l={method:"PATCH",...i,...s},d={},c={};return d["Content-Type"]="application/json",Object.entries({...c,...s.query}).forEach(([A,m])=>{m!==void 0&&o.searchParams.set(A,String(m))}),l.headers={...d,...s.headers},l.data=JSON.stringify(t!==void 0?t:{}),{url:o.pathname+o.search,options:l}}}},ve=function(a){return{createClaimItem(e,r,t){const s=_e(a).createClaimItem(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},deleteClaimItem(e,r,t){const s=_e(a).deleteClaimItem(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},updateClaimItem(e,r,t,s){const n=_e(a).updateClaimItem(e,r,t,s);return(o=p,i=u)=>{const l={...n.options,url:i+n.url};return o.request(l)}}}},zn=function(a,e,r){return{createClaimItem(t,s,n){return ve(a).createClaimItem(t,s,n)(r,e)},deleteClaimItem(t,s,n){return ve(a).deleteClaimItem(t,s,n)(r,e)},updateClaimItem(t,s,n,o){return ve(a).updateClaimItem(t,s,n,o)(r,e)}}};class kn extends R{createClaimItem(e,r,t){return ve(this.configuration).createClaimItem(e,r,t)(this.axios,this.basePath)}deleteClaimItem(e,r,t){return ve(this.configuration).deleteClaimItem(e,r,t)(this.axios,this.basePath)}updateClaimItem(e,r,t,s){return ve(this.configuration).updateClaimItem(e,r,t,s)(this.axios,this.basePath)}}async function Yn(a,e,r,t=p,s=u,n){const o=_e(r).createClaimItem(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function $n(a,e,r,t=p,s=u,n){const o=_e(r).deleteClaimItem(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function Wn(a,e,r,t,s=p,n=u,o){const i=_e(t).updateClaimItem(a,e,r,o),l={...i.options,url:n+i.url};return(await s.request(l)).data}const te=function(a){return{agreeClaimProposal(e,r,t={}){if(e==null)throw new h("claimId","Required parameter claimId was null or undefined when calling agreeClaimProposal.");if(r==null)throw new h("claimProposalId","Required parameter claimProposalId was null or undefined when calling agreeClaimProposal.");const s="/v2/claims/{claimId}/proposals/{claimProposalId}/agree".replace("{claimId}",encodeURIComponent(String(e))).replace("{claimProposalId}",encodeURIComponent(String(r))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"POST",...o,...t},l={};return Object.entries({...{},...t.query}).forEach(([c,A])=>{A!==void 0&&n.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},{url:n.pathname+n.search,options:i}},counterClaimProposal(e,r,t={}){if(e==null)throw new h("claimId","Required parameter claimId was null or undefined when calling counterClaimProposal.");if(r==null)throw new h("claimProposalId","Required parameter claimProposalId was null or undefined when calling counterClaimProposal.");const s="/v2/claims/{claimId}/proposals/{claimProposalId}/counter".replace("{claimId}",encodeURIComponent(String(e))).replace("{claimProposalId}",encodeURIComponent(String(r))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"POST",...o,...t},l={};return Object.entries({...{},...t.query}).forEach(([c,A])=>{A!==void 0&&n.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},{url:n.pathname+n.search,options:i}},disputeClaimProposal(e,r,t={}){if(e==null)throw new h("claimId","Required parameter claimId was null or undefined when calling disputeClaimProposal.");if(r==null)throw new h("claimProposalId","Required parameter claimProposalId was null or undefined when calling disputeClaimProposal.");const s="/v2/claims/{claimId}/proposals/{claimProposalId}/dispute".replace("{claimId}",encodeURIComponent(String(e))).replace("{claimProposalId}",encodeURIComponent(String(r))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"POST",...o,...t},l={};return Object.entries({...{},...t.query}).forEach(([c,A])=>{A!==void 0&&n.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},{url:n.pathname+n.search,options:i}},publishClaimProposal(e,r,t={}){if(e==null)throw new h("claimId","Required parameter claimId was null or undefined when calling publishClaimProposal.");if(r==null)throw new h("claimProposalId","Required parameter claimProposalId was null or undefined when calling publishClaimProposal.");const s="/v2/claims/{claimId}/proposals/{claimProposalId}/publish".replace("{claimId}",encodeURIComponent(String(e))).replace("{claimProposalId}",encodeURIComponent(String(r))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"POST",...o,...t},l={};return Object.entries({...{},...t.query}).forEach(([c,A])=>{A!==void 0&&n.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},{url:n.pathname+n.search,options:i}},unpublishClaimProposal(e,r,t={}){if(e==null)throw new h("claimId","Required parameter claimId was null or undefined when calling unpublishClaimProposal.");if(r==null)throw new h("claimProposalId","Required parameter claimProposalId was null or undefined when calling unpublishClaimProposal.");const s="/v2/claims/{claimId}/proposals/{claimProposalId}/unpublish".replace("{claimId}",encodeURIComponent(String(e))).replace("{claimProposalId}",encodeURIComponent(String(r))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"POST",...o,...t},l={};return Object.entries({...{},...t.query}).forEach(([c,A])=>{A!==void 0&&n.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},{url:n.pathname+n.search,options:i}}}},ae=function(a){return{agreeClaimProposal(e,r,t){const s=te(a).agreeClaimProposal(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},counterClaimProposal(e,r,t){const s=te(a).counterClaimProposal(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},disputeClaimProposal(e,r,t){const s=te(a).disputeClaimProposal(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},publishClaimProposal(e,r,t){const s=te(a).publishClaimProposal(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},unpublishClaimProposal(e,r,t){const s=te(a).unpublishClaimProposal(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}}}},Jn=function(a,e,r){return{agreeClaimProposal(t,s,n){return ae(a).agreeClaimProposal(t,s,n)(r,e)},counterClaimProposal(t,s,n){return ae(a).counterClaimProposal(t,s,n)(r,e)},disputeClaimProposal(t,s,n){return ae(a).disputeClaimProposal(t,s,n)(r,e)},publishClaimProposal(t,s,n){return ae(a).publishClaimProposal(t,s,n)(r,e)},unpublishClaimProposal(t,s,n){return ae(a).unpublishClaimProposal(t,s,n)(r,e)}}};class Kn extends R{agreeClaimProposal(e,r,t){return ae(this.configuration).agreeClaimProposal(e,r,t)(this.axios,this.basePath)}counterClaimProposal(e,r,t){return ae(this.configuration).counterClaimProposal(e,r,t)(this.axios,this.basePath)}disputeClaimProposal(e,r,t){return ae(this.configuration).disputeClaimProposal(e,r,t)(this.axios,this.basePath)}publishClaimProposal(e,r,t){return ae(this.configuration).publishClaimProposal(e,r,t)(this.axios,this.basePath)}unpublishClaimProposal(e,r,t){return ae(this.configuration).unpublishClaimProposal(e,r,t)(this.axios,this.basePath)}}async function Xn(a,e,r,t=p,s=u,n){const o=te(r).agreeClaimProposal(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function Zn(a,e,r,t=p,s=u,n){const o=te(r).counterClaimProposal(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function eo(a,e,r,t=p,s=u,n){const o=te(r).disputeClaimProposal(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function ro(a,e,r,t=p,s=u,n){const o=te(r).publishClaimProposal(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function to(a,e,r,t=p,s=u,n){const o=te(r).unpublishClaimProposal(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}const Ae=function(a){return{addClaimResponseDocument(e,r,t,s,n={}){if(e==null)throw new h("claimId","Required parameter claimId was null or undefined when calling addClaimResponseDocument.");if(r==null)throw new h("file","Required parameter file was null or undefined when calling addClaimResponseDocument.");if(t==null)throw new h("name","Required parameter name was null or undefined when calling addClaimResponseDocument.");if(s==null)throw new h("type","Required parameter type was null or undefined when calling addClaimResponseDocument.");const o="/v2/claims/{claimId}/claim-response-documents".replace("{claimId}",encodeURIComponent(String(e))),i=new URL(o,"http://placeholder");let l;a&&(l=a.baseOptions);const d={method:"POST",...l,...n},c={},A={},m=new FormData;return r!==void 0&&m.append("file",r),t!==void 0&&m.append("name",t),s!==void 0&&m.append("type",s),c["Content-Type"]="multipart/form-data",Object.entries({...A,...n.query}).forEach(([I,P])=>{P!==void 0&&i.searchParams.set(I,String(P))}),d.headers={...c,...n.headers},d.data=m,{url:i.pathname+i.search,options:d}},deleteClaimResponseDocument(e,r,t={}){if(e==null)throw new h("claimId","Required parameter claimId was null or undefined when calling deleteClaimResponseDocument.");if(r==null)throw new h("documentId","Required parameter documentId was null or undefined when calling deleteClaimResponseDocument.");const s="/v2/claims/{claimId}/claim-response-documents/{documentId}".replace("{claimId}",encodeURIComponent(String(e))).replace("{documentId}",encodeURIComponent(String(r))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"DELETE",...o,...t},l={};return Object.entries({...{},...t.query}).forEach(([c,A])=>{A!==void 0&&n.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},{url:n.pathname+n.search,options:i}},findClaimResponseDocumentById(e,r,t={}){if(e==null)throw new h("claimId","Required parameter claimId was null or undefined when calling findClaimResponseDocumentById.");if(r==null)throw new h("documentId","Required parameter documentId was null or undefined when calling findClaimResponseDocumentById.");const s="/v2/claims/{claimId}/claim-response-documents/{documentId}".replace("{claimId}",encodeURIComponent(String(e))).replace("{documentId}",encodeURIComponent(String(r))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"GET",...o,...t},l={};return Object.entries({...{},...t.query}).forEach(([c,A])=>{A!==void 0&&n.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},{url:n.pathname+n.search,options:i}},findManyClaimResponseDocuments(e,r={}){if(e==null)throw new h("claimId","Required parameter claimId was null or undefined when calling findManyClaimResponseDocuments.");const t="/v2/claims/{claimId}/claim-response-documents".replace("{claimId}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}}}},me=function(a){return{addClaimResponseDocument(e,r,t,s,n){const o=Ae(a).addClaimResponseDocument(e,r,t,s,n);return(i=p,l=u)=>{const d={...o.options,url:l+o.url};return i.request(d)}},deleteClaimResponseDocument(e,r,t){const s=Ae(a).deleteClaimResponseDocument(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},findClaimResponseDocumentById(e,r,t){const s=Ae(a).findClaimResponseDocumentById(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},findManyClaimResponseDocuments(e,r){const t=Ae(a).findManyClaimResponseDocuments(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}}}},ao=function(a,e,r){return{addClaimResponseDocument(t,s,n,o,i){return me(a).addClaimResponseDocument(t,s,n,o,i)(r,e)},deleteClaimResponseDocument(t,s,n){return me(a).deleteClaimResponseDocument(t,s,n)(r,e)},findClaimResponseDocumentById(t,s,n){return me(a).findClaimResponseDocumentById(t,s,n)(r,e)},findManyClaimResponseDocuments(t,s){return me(a).findManyClaimResponseDocuments(t,s)(r,e)}}};class so extends R{addClaimResponseDocument(e,r,t,s,n){return me(this.configuration).addClaimResponseDocument(e,r,t,s,n)(this.axios,this.basePath)}deleteClaimResponseDocument(e,r,t){return me(this.configuration).deleteClaimResponseDocument(e,r,t)(this.axios,this.basePath)}findClaimResponseDocumentById(e,r,t){return me(this.configuration).findClaimResponseDocumentById(e,r,t)(this.axios,this.basePath)}findManyClaimResponseDocuments(e,r){return me(this.configuration).findManyClaimResponseDocuments(e,r)(this.axios,this.basePath)}}async function no(a,e,r,t,s,n=p,o=u,i){const l=Ae(s).addClaimResponseDocument(a,e,r,t,i),d={...l.options,url:o+l.url};return(await n.request(d)).data}async function oo(a,e,r,t=p,s=u,n){const o=Ae(r).deleteClaimResponseDocument(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function io(a,e,r,t=p,s=u,n){const o=Ae(r).findClaimResponseDocumentById(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function lo(a,e,r=p,t=u,s){const n=Ae(e).findManyClaimResponseDocuments(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}const f=function(a){return{acknowledgeCaseSentToInsurer(e,r={}){if(e==null)throw new h("claimId","Required parameter claimId was null or undefined when calling acknowledgeCaseSentToInsurer.");const t="/v2/claims/{claimId}/acknowledge-case-sent-to-insurer".replace("{claimId}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"PATCH",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},approveClaim(e,r={}){if(e==null)throw new h("claimId","Required parameter claimId was null or undefined when calling approveClaim.");const t="/v2/claims/{claimId}/approve".replace("{claimId}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"POST",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},createClaim(e,r={}){if(e==null)throw new h("createClaimDTO","Required parameter createClaimDTO was null or undefined when calling createClaim.");const t="/v2/claims",s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"POST",...n,...r},i={},l={};return i["Content-Type"]="application/json",Object.entries({...l,...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},o.data=JSON.stringify(e!==void 0?e:{}),{url:s.pathname+s.search,options:o}},createClaimActivity(e,r,t={}){if(e==null)throw new h("claimId","Required parameter claimId was null or undefined when calling createClaimActivity.");if(r==null)throw new h("createClaimActivityDTO","Required parameter createClaimActivityDTO was null or undefined when calling createClaimActivity.");const s="/v2/claims/{claimId}/activity".replace("{claimId}",encodeURIComponent(String(e))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"POST",...o,...t},l={},d={};return l["Content-Type"]="application/json",Object.entries({...d,...t.query}).forEach(([c,A])=>{A!==void 0&&n.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:n.pathname+n.search,options:i}},createInsuranceClaimOnClaim(e,r={}){if(e==null)throw new h("claimId","Required parameter claimId was null or undefined when calling createInsuranceClaimOnClaim.");const t="/v2/claims/{claimId}/insurance-claim".replace("{claimId}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"POST",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},deactivateClaim(e,r,t={}){if(e==null)throw new h("claimId","Required parameter claimId was null or undefined when calling deactivateClaim.");if(r==null)throw new h("deactivateClaimDTO","Required parameter deactivateClaimDTO was null or undefined when calling deactivateClaim.");const s="/v2/claims/{claimId}/deactivate".replace("{claimId}",encodeURIComponent(String(e))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"POST",...o,...t},l={},d={};return l["Content-Type"]="application/json",Object.entries({...d,...t.query}).forEach(([c,A])=>{A!==void 0&&n.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:n.pathname+n.search,options:i}},declineClaim(e,r={}){if(e==null)throw new h("claimId","Required parameter claimId was null or undefined when calling declineClaim.");const t="/v2/claims/{claimId}/decline".replace("{claimId}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"POST",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},findClaimById(e,r={}){if(e==null)throw new h("claimId","Required parameter claimId was null or undefined when calling findClaimById.");const t="/v2/claims/{claimId}".replace("{claimId}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},generateADRForm(e,r={}){if(e==null)throw new h("claimId","Required parameter claimId was null or undefined when calling generateADRForm.");const t="/v2/claims/{claimId}/adr-form".replace("{claimId}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"POST",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},optimisedSearchClaim(e,r,t,s,n,o,i,l={}){if(e==null)throw new h("organizationId","Required parameter organizationId was null or undefined when calling optimisedSearchClaim.");if(r==null)throw new h("page","Required parameter page was null or undefined when calling optimisedSearchClaim.");if(t==null)throw new h("size","Required parameter size was null or undefined when calling optimisedSearchClaim.");const d="/v2/claims/optimised-search",c=new URL(d,"http://placeholder");let A;a&&(A=a.baseOptions);const m={method:"GET",...A,...l},I={},P={};return s!==void 0&&(P.query=s),e!==void 0&&(P.organizationId=e),n!==void 0&&(P.claimStatus=n),o!==void 0&&(P.sortBy=o),r!==void 0&&(P.page=r),t!==void 0&&(P.size=t),i!==void 0&&(P.includeDeleted=i),Object.entries({...P,...l.query}).forEach(([q,k])=>{k!==void 0&&c.searchParams.set(q,String(k))}),m.headers={...I,...l.headers},{url:c.pathname+c.search,options:m}},paySupplier(e,r,t={}){if(e==null)throw new h("claimId","Required parameter claimId was null or undefined when calling paySupplier.");if(r==null)throw new h("payClaimDTO","Required parameter payClaimDTO was null or undefined when calling paySupplier.");const s="/v2/claims/{claimId}/pay-supplier".replace("{claimId}",encodeURIComponent(String(e))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"POST",...o,...t},l={},d={};return l["Content-Type"]="application/json",Object.entries({...d,...t.query}).forEach(([c,A])=>{A!==void 0&&n.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:n.pathname+n.search,options:i}},publishClaim(e,r={}){if(e==null)throw new h("claimId","Required parameter claimId was null or undefined when calling publishClaim.");const t="/v2/claims/{claimId}/publish".replace("{claimId}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"POST",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},readyForArbitrateClaim(e,r={}){if(e==null)throw new h("claimId","Required parameter claimId was null or undefined when calling readyForArbitrateClaim.");const t="/v2/claims/{claimId}/arbitration-ready".replace("{claimId}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"POST",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},reopenClaim(e,r,t={}){if(e==null)throw new h("claimId","Required parameter claimId was null or undefined when calling reopenClaim.");if(r==null)throw new h("reopenClaimDTO","Required parameter reopenClaimDTO was null or undefined when calling reopenClaim.");const s="/v2/claims/{claimId}/reopen".replace("{claimId}",encodeURIComponent(String(e))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"POST",...o,...t},l={},d={};return l["Content-Type"]="application/json",Object.entries({...d,...t.query}).forEach(([c,A])=>{A!==void 0&&n.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:n.pathname+n.search,options:i}},requestMoreInfoClaim(e,r,t={}){if(e==null)throw new h("claimId","Required parameter claimId was null or undefined when calling requestMoreInfoClaim.");if(r==null)throw new h("requestInfoClaimDTO","Required parameter requestInfoClaimDTO was null or undefined when calling requestMoreInfoClaim.");const s="/v2/claims/{claimId}/request-more-info".replace("{claimId}",encodeURIComponent(String(e))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"POST",...o,...t},l={},d={};return l["Content-Type"]="application/json",Object.entries({...d,...t.query}).forEach(([c,A])=>{A!==void 0&&n.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:n.pathname+n.search,options:i}},resolveClaim(e,r,t={}){if(e==null)throw new h("claimId","Required parameter claimId was null or undefined when calling resolveClaim.");if(r==null)throw new h("resolveClaimDTO","Required parameter resolveClaimDTO was null or undefined when calling resolveClaim.");const s="/v2/claims/{claimId}/resolve".replace("{claimId}",encodeURIComponent(String(e))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"POST",...o,...t},l={},d={};return l["Content-Type"]="application/json",Object.entries({...d,...t.query}).forEach(([c,A])=>{A!==void 0&&n.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:n.pathname+n.search,options:i}},skipEvidenceChaser(e,r={}){if(e==null)throw new h("claimId","Required parameter claimId was null or undefined when calling skipEvidenceChaser.");const t="/v2/claims/{claimId}/skip-evidence-chaser".replace("{claimId}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"POST",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},submitMoreInfoClaim(e,r,t={}){if(e==null)throw new h("claimId","Required parameter claimId was null or undefined when calling submitMoreInfoClaim.");if(r==null)throw new h("submitMoreInfoClaimDTO","Required parameter submitMoreInfoClaimDTO was null or undefined when calling submitMoreInfoClaim.");const s="/v2/claims/{claimId}/submit-more-info".replace("{claimId}",encodeURIComponent(String(e))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"POST",...o,...t},l={},d={};return l["Content-Type"]="application/json",Object.entries({...d,...t.query}).forEach(([c,A])=>{A!==void 0&&n.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:n.pathname+n.search,options:i}},updateAutoCharge(e,r,t={}){if(e==null)throw new h("claimId","Required parameter claimId was null or undefined when calling updateAutoCharge.");if(r==null)throw new h("updateAutoChargeClaimDTO","Required parameter updateAutoChargeClaimDTO was null or undefined when calling updateAutoCharge.");const s="/v2/claims/{claimId}/update-auto-charge".replace("{claimId}",encodeURIComponent(String(e))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"POST",...o,...t},l={},d={};return l["Content-Type"]="application/json",Object.entries({...d,...t.query}).forEach(([c,A])=>{A!==void 0&&n.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:n.pathname+n.search,options:i}},updateClaim(e,r,t={}){if(e==null)throw new h("claimId","Required parameter claimId was null or undefined when calling updateClaim.");if(r==null)throw new h("updateClaimDTO","Required parameter updateClaimDTO was null or undefined when calling updateClaim.");const s="/v2/claims/{claimId}".replace("{claimId}",encodeURIComponent(String(e))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"PATCH",...o,...t},l={},d={};return l["Content-Type"]="application/json",Object.entries({...d,...t.query}).forEach(([c,A])=>{A!==void 0&&n.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:n.pathname+n.search,options:i}},updateTenantDisputeMessage(e,r,t={}){if(e==null)throw new h("claimId","Required parameter claimId was null or undefined when calling updateTenantDisputeMessage.");if(r==null)throw new h("updateTenantDisputeMessageDTO","Required parameter updateTenantDisputeMessageDTO was null or undefined when calling updateTenantDisputeMessage.");const s="/v2/claims/{claimId}/tenant-dispute-message".replace("{claimId}",encodeURIComponent(String(e))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"PATCH",...o,...t},l={},d={};return l["Content-Type"]="application/json",Object.entries({...d,...t.query}).forEach(([c,A])=>{A!==void 0&&n.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:n.pathname+n.search,options:i}},verifyClaim(e,r={}){if(e==null)throw new h("claimId","Required parameter claimId was null or undefined when calling verifyClaim.");const t="/v2/claims/{claimId}/substantiate".replace("{claimId}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"POST",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},waiveDisputeFee(e,r={}){if(e==null)throw new h("claimId","Required parameter claimId was null or undefined when calling waiveDisputeFee.");const t="/v2/claims/{claimId}/waive-dispute-fee".replace("{claimId}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"PATCH",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},zipDocuments(e,r,t={}){if(e==null)throw new h("type","Required parameter type was null or undefined when calling zipDocuments.");if(r==null)throw new h("claimId","Required parameter claimId was null or undefined when calling zipDocuments.");const s="/v2/claims/{claimId}/zip-documents".replace("{claimId}",encodeURIComponent(String(r))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"GET",...o,...t},l={},d={};return e!==void 0&&(d.type=e),Object.entries({...d,...t.query}).forEach(([c,A])=>{A!==void 0&&n.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},{url:n.pathname+n.search,options:i}}}},O=function(a){return{acknowledgeCaseSentToInsurer(e,r){const t=f(a).acknowledgeCaseSentToInsurer(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},approveClaim(e,r){const t=f(a).approveClaim(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},createClaim(e,r){const t=f(a).createClaim(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},createClaimActivity(e,r,t){const s=f(a).createClaimActivity(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},createInsuranceClaimOnClaim(e,r){const t=f(a).createInsuranceClaimOnClaim(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},deactivateClaim(e,r,t){const s=f(a).deactivateClaim(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},declineClaim(e,r){const t=f(a).declineClaim(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},findClaimById(e,r){const t=f(a).findClaimById(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},generateADRForm(e,r){const t=f(a).generateADRForm(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},optimisedSearchClaim(e,r,t,s,n,o,i,l){const d=f(a).optimisedSearchClaim(e,r,t,s,n,o,i,l);return(c=p,A=u)=>{const m={...d.options,url:A+d.url};return c.request(m)}},paySupplier(e,r,t){const s=f(a).paySupplier(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},publishClaim(e,r){const t=f(a).publishClaim(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},readyForArbitrateClaim(e,r){const t=f(a).readyForArbitrateClaim(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},reopenClaim(e,r,t){const s=f(a).reopenClaim(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},requestMoreInfoClaim(e,r,t){const s=f(a).requestMoreInfoClaim(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},resolveClaim(e,r,t){const s=f(a).resolveClaim(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},skipEvidenceChaser(e,r){const t=f(a).skipEvidenceChaser(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},submitMoreInfoClaim(e,r,t){const s=f(a).submitMoreInfoClaim(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},updateAutoCharge(e,r,t){const s=f(a).updateAutoCharge(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},updateClaim(e,r,t){const s=f(a).updateClaim(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},updateTenantDisputeMessage(e,r,t){const s=f(a).updateTenantDisputeMessage(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},verifyClaim(e,r){const t=f(a).verifyClaim(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},waiveDisputeFee(e,r){const t=f(a).waiveDisputeFee(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},zipDocuments(e,r,t){const s=f(a).zipDocuments(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}}}},co=function(a,e,r){return{acknowledgeCaseSentToInsurer(t,s){return O(a).acknowledgeCaseSentToInsurer(t,s)(r,e)},approveClaim(t,s){return O(a).approveClaim(t,s)(r,e)},createClaim(t,s){return O(a).createClaim(t,s)(r,e)},createClaimActivity(t,s,n){return O(a).createClaimActivity(t,s,n)(r,e)},createInsuranceClaimOnClaim(t,s){return O(a).createInsuranceClaimOnClaim(t,s)(r,e)},deactivateClaim(t,s,n){return O(a).deactivateClaim(t,s,n)(r,e)},declineClaim(t,s){return O(a).declineClaim(t,s)(r,e)},findClaimById(t,s){return O(a).findClaimById(t,s)(r,e)},generateADRForm(t,s){return O(a).generateADRForm(t,s)(r,e)},optimisedSearchClaim(t,s,n,o,i,l,d,c){return O(a).optimisedSearchClaim(t,s,n,o,i,l,d,c)(r,e)},paySupplier(t,s,n){return O(a).paySupplier(t,s,n)(r,e)},publishClaim(t,s){return O(a).publishClaim(t,s)(r,e)},readyForArbitrateClaim(t,s){return O(a).readyForArbitrateClaim(t,s)(r,e)},reopenClaim(t,s,n){return O(a).reopenClaim(t,s,n)(r,e)},requestMoreInfoClaim(t,s,n){return O(a).requestMoreInfoClaim(t,s,n)(r,e)},resolveClaim(t,s,n){return O(a).resolveClaim(t,s,n)(r,e)},skipEvidenceChaser(t,s){return O(a).skipEvidenceChaser(t,s)(r,e)},submitMoreInfoClaim(t,s,n){return O(a).submitMoreInfoClaim(t,s,n)(r,e)},updateAutoCharge(t,s,n){return O(a).updateAutoCharge(t,s,n)(r,e)},updateClaim(t,s,n){return O(a).updateClaim(t,s,n)(r,e)},updateTenantDisputeMessage(t,s,n){return O(a).updateTenantDisputeMessage(t,s,n)(r,e)},verifyClaim(t,s){return O(a).verifyClaim(t,s)(r,e)},waiveDisputeFee(t,s){return O(a).waiveDisputeFee(t,s)(r,e)},zipDocuments(t,s,n){return O(a).zipDocuments(t,s,n)(r,e)}}};class uo extends R{acknowledgeCaseSentToInsurer(e,r){return O(this.configuration).acknowledgeCaseSentToInsurer(e,r)(this.axios,this.basePath)}approveClaim(e,r){return O(this.configuration).approveClaim(e,r)(this.axios,this.basePath)}createClaim(e,r){return O(this.configuration).createClaim(e,r)(this.axios,this.basePath)}createClaimActivity(e,r,t){return O(this.configuration).createClaimActivity(e,r,t)(this.axios,this.basePath)}createInsuranceClaimOnClaim(e,r){return O(this.configuration).createInsuranceClaimOnClaim(e,r)(this.axios,this.basePath)}deactivateClaim(e,r,t){return O(this.configuration).deactivateClaim(e,r,t)(this.axios,this.basePath)}declineClaim(e,r){return O(this.configuration).declineClaim(e,r)(this.axios,this.basePath)}findClaimById(e,r){return O(this.configuration).findClaimById(e,r)(this.axios,this.basePath)}generateADRForm(e,r){return O(this.configuration).generateADRForm(e,r)(this.axios,this.basePath)}optimisedSearchClaim(e,r,t,s,n,o,i,l){return O(this.configuration).optimisedSearchClaim(e,r,t,s,n,o,i,l)(this.axios,this.basePath)}paySupplier(e,r,t){return O(this.configuration).paySupplier(e,r,t)(this.axios,this.basePath)}publishClaim(e,r){return O(this.configuration).publishClaim(e,r)(this.axios,this.basePath)}readyForArbitrateClaim(e,r){return O(this.configuration).readyForArbitrateClaim(e,r)(this.axios,this.basePath)}reopenClaim(e,r,t){return O(this.configuration).reopenClaim(e,r,t)(this.axios,this.basePath)}requestMoreInfoClaim(e,r,t){return O(this.configuration).requestMoreInfoClaim(e,r,t)(this.axios,this.basePath)}resolveClaim(e,r,t){return O(this.configuration).resolveClaim(e,r,t)(this.axios,this.basePath)}skipEvidenceChaser(e,r){return O(this.configuration).skipEvidenceChaser(e,r)(this.axios,this.basePath)}submitMoreInfoClaim(e,r,t){return O(this.configuration).submitMoreInfoClaim(e,r,t)(this.axios,this.basePath)}updateAutoCharge(e,r,t){return O(this.configuration).updateAutoCharge(e,r,t)(this.axios,this.basePath)}updateClaim(e,r,t){return O(this.configuration).updateClaim(e,r,t)(this.axios,this.basePath)}updateTenantDisputeMessage(e,r,t){return O(this.configuration).updateTenantDisputeMessage(e,r,t)(this.axios,this.basePath)}verifyClaim(e,r){return O(this.configuration).verifyClaim(e,r)(this.axios,this.basePath)}waiveDisputeFee(e,r){return O(this.configuration).waiveDisputeFee(e,r)(this.axios,this.basePath)}zipDocuments(e,r,t){return O(this.configuration).zipDocuments(e,r,t)(this.axios,this.basePath)}}async function po(a,e,r=p,t=u,s){const n=f(e).acknowledgeCaseSentToInsurer(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function ho(a,e,r=p,t=u,s){const n=f(e).approveClaim(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function Ao(a,e,r=p,t=u,s){const n=f(e).createClaim(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function mo(a,e,r,t=p,s=u,n){const o=f(r).createClaimActivity(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function Ro(a,e,r=p,t=u,s){const n=f(e).createInsuranceClaimOnClaim(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function Io(a,e,r,t=p,s=u,n){const o=f(r).deactivateClaim(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function Po(a,e,r=p,t=u,s){const n=f(e).declineClaim(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function go(a,e,r=p,t=u,s){const n=f(e).findClaimById(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function wo(a,e,r=p,t=u,s){const n=f(e).generateADRForm(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function fo(a,e,r,t,s,n,o,i,l=p,d=u,c){const A=f(i).optimisedSearchClaim(a,e,r,t,s,n,o,c),m={...A.options,url:d+A.url};return(await l.request(m)).data}async function Oo(a,e,r,t=p,s=u,n){const o=f(r).paySupplier(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function yo(a,e,r=p,t=u,s){const n=f(e).publishClaim(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function Eo(a,e,r=p,t=u,s){const n=f(e).readyForArbitrateClaim(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function Vo(a,e,r,t=p,s=u,n){const o=f(r).reopenClaim(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function Co(a,e,r,t=p,s=u,n){const o=f(r).requestMoreInfoClaim(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function qo(a,e,r,t=p,s=u,n){const o=f(r).resolveClaim(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function _o(a,e,r=p,t=u,s){const n=f(e).skipEvidenceChaser(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function vo(a,e,r,t=p,s=u,n){const o=f(r).submitMoreInfoClaim(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function bo(a,e,r,t=p,s=u,n){const o=f(r).updateAutoCharge(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function To(a,e,r,t=p,s=u,n){const o=f(r).updateClaim(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function So(a,e,r,t=p,s=u,n){const o=f(r).updateTenantDisputeMessage(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function No(a,e,r=p,t=u,s){const n=f(e).verifyClaim(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function xo(a,e,r=p,t=u,s){const n=f(e).waiveDisputeFee(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function Uo(a,e,r,t=p,s=u,n){const o=f(r).zipDocuments(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}const Dr=function(a){return{generateCommissionCsvForPeriod(e,r={}){if(e==null)throw new h("period","Required parameter period was null or undefined when calling generateCommissionCsvForPeriod.");const t="/v2/commission",s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={},l={};return e!==void 0&&(l.period=e),Object.entries({...l,...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}}}},Lr=function(a){return{generateCommissionCsvForPeriod(e,r){const t=Dr(a).generateCommissionCsvForPeriod(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}}}},Do=function(a,e,r){return{generateCommissionCsvForPeriod(t,s){return Lr(a).generateCommissionCsvForPeriod(t,s)(r,e)}}};class Lo extends R{generateCommissionCsvForPeriod(e,r){return Lr(this.configuration).generateCommissionCsvForPeriod(e,r)(this.axios,this.basePath)}}async function Bo(a,e,r=p,t=u,s){const n=Dr(e).generateCommissionCsvForPeriod(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}const Br=function(a){return{addPaymentMethod(e,r={}){if(e==null)throw new h("paymentMethodId","Required parameter paymentMethodId was null or undefined when calling addPaymentMethod.");const t="/v2/customers/me/payment-method",s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"POST",...n,...r},i={},l={};return e!==void 0&&(l.paymentMethodId=e),Object.entries({...l,...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}}}},jr=function(a){return{addPaymentMethod(e,r){const t=Br(a).addPaymentMethod(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}}}},jo=function(a,e,r){return{addPaymentMethod(t,s){return jr(a).addPaymentMethod(t,s)(r,e)}}};class Fo extends R{addPaymentMethod(e,r){return jr(this.configuration).addPaymentMethod(e,r)(this.axios,this.basePath)}}async function Mo(a,e,r=p,t=u,s){const n=Br(e).addPaymentMethod(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}const be=function(a){return{createDocument(e,r,t,s={}){if(e==null)throw new h("file","Required parameter file was null or undefined when calling createDocument.");if(r==null)throw new h("name","Required parameter name was null or undefined when calling createDocument.");if(t==null)throw new h("type","Required parameter type was null or undefined when calling createDocument.");const n="/v2/documents",o=new URL(n,"http://placeholder");let i;a&&(i=a.baseOptions);const l={method:"POST",...i,...s},d={},c={},A=new FormData;return e!==void 0&&A.append("file",e),r!==void 0&&A.append("name",r),t!==void 0&&A.append("type",t),d["Content-Type"]="multipart/form-data",Object.entries({...c,...s.query}).forEach(([m,I])=>{I!==void 0&&o.searchParams.set(m,String(I))}),l.headers={...d,...s.headers},l.data=A,{url:o.pathname+o.search,options:l}},createFromS3(e,r={}){if(e==null)throw new h("createDocumentFromS3DTO","Required parameter createDocumentFromS3DTO was null or undefined when calling createFromS3.");const t="/v2/documents/from-s3",s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"POST",...n,...r},i={},l={};return i["Content-Type"]="application/json",Object.entries({...l,...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},o.data=JSON.stringify(e!==void 0?e:{}),{url:s.pathname+s.search,options:o}},getDocumentsByIds(e,r={}){if(e==null)throw new h("ids","Required parameter ids was null or undefined when calling getDocumentsByIds.");const t="/v2/documents",s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={},l={};return e&&(l.ids=e),Object.entries({...l,...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}}}},Te=function(a){return{createDocument(e,r,t,s){const n=be(a).createDocument(e,r,t,s);return(o=p,i=u)=>{const l={...n.options,url:i+n.url};return o.request(l)}},createFromS3(e,r){const t=be(a).createFromS3(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},getDocumentsByIds(e,r){const t=be(a).getDocumentsByIds(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}}}},Ho=function(a,e,r){return{createDocument(t,s,n,o){return Te(a).createDocument(t,s,n,o)(r,e)},createFromS3(t,s){return Te(a).createFromS3(t,s)(r,e)},getDocumentsByIds(t,s){return Te(a).getDocumentsByIds(t,s)(r,e)}}};class Go extends R{createDocument(e,r,t,s){return Te(this.configuration).createDocument(e,r,t,s)(this.axios,this.basePath)}createFromS3(e,r){return Te(this.configuration).createFromS3(e,r)(this.axios,this.basePath)}getDocumentsByIds(e,r){return Te(this.configuration).getDocumentsByIds(e,r)(this.axios,this.basePath)}}async function Qo(a,e,r,t,s=p,n=u,o){const i=be(t).createDocument(a,e,r,o),l={...i.options,url:n+i.url};return(await s.request(l)).data}async function zo(a,e,r=p,t=u,s){const n=be(e).createFromS3(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function ko(a,e,r=p,t=u,s){const n=be(e).getDocumentsByIds(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}const Je=function(a){return{createEvidenceChaserItemRequest(e,r,t,s={}){if(e==null)throw new h("itemId","Required parameter itemId was null or undefined when calling createEvidenceChaserItemRequest.");if(r==null)throw new h("evidenceChaserId","Required parameter evidenceChaserId was null or undefined when calling createEvidenceChaserItemRequest.");if(t==null)throw new h("createEvidenceChaserItemRequestDTO","Required parameter createEvidenceChaserItemRequestDTO was null or undefined when calling createEvidenceChaserItemRequest.");const n="/v2/evidence-chasers/{evidenceChaserId}/items/{itemId}/requests".replace("{itemId}",encodeURIComponent(String(e))).replace("{evidenceChaserId}",encodeURIComponent(String(r))),o=new URL(n,"http://placeholder");let i;a&&(i=a.baseOptions);const l={method:"POST",...i,...s},d={},c={};return d["Content-Type"]="application/json",Object.entries({...c,...s.query}).forEach(([A,m])=>{m!==void 0&&o.searchParams.set(A,String(m))}),l.headers={...d,...s.headers},l.data=JSON.stringify(t!==void 0?t:{}),{url:o.pathname+o.search,options:l}},deleteEvidenceChaserItemRequest(e,r,t,s={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling deleteEvidenceChaserItemRequest.");if(r==null)throw new h("itemId","Required parameter itemId was null or undefined when calling deleteEvidenceChaserItemRequest.");if(t==null)throw new h("evidenceChaserId","Required parameter evidenceChaserId was null or undefined when calling deleteEvidenceChaserItemRequest.");const n="/v2/evidence-chasers/{evidenceChaserId}/items/{itemId}/requests/{id}".replace("{id}",encodeURIComponent(String(e))).replace("{itemId}",encodeURIComponent(String(r))).replace("{evidenceChaserId}",encodeURIComponent(String(t))),o=new URL(n,"http://placeholder");let i;a&&(i=a.baseOptions);const l={method:"DELETE",...i,...s},d={};return Object.entries({...{},...s.query}).forEach(([A,m])=>{m!==void 0&&o.searchParams.set(A,String(m))}),l.headers={...d,...s.headers},{url:o.pathname+o.search,options:l}}}},Ke=function(a){return{createEvidenceChaserItemRequest(e,r,t,s){const n=Je(a).createEvidenceChaserItemRequest(e,r,t,s);return(o=p,i=u)=>{const l={...n.options,url:i+n.url};return o.request(l)}},deleteEvidenceChaserItemRequest(e,r,t,s){const n=Je(a).deleteEvidenceChaserItemRequest(e,r,t,s);return(o=p,i=u)=>{const l={...n.options,url:i+n.url};return o.request(l)}}}},Yo=function(a,e,r){return{createEvidenceChaserItemRequest(t,s,n,o){return Ke(a).createEvidenceChaserItemRequest(t,s,n,o)(r,e)},deleteEvidenceChaserItemRequest(t,s,n,o){return Ke(a).deleteEvidenceChaserItemRequest(t,s,n,o)(r,e)}}};class $o extends R{createEvidenceChaserItemRequest(e,r,t,s){return Ke(this.configuration).createEvidenceChaserItemRequest(e,r,t,s)(this.axios,this.basePath)}deleteEvidenceChaserItemRequest(e,r,t,s){return Ke(this.configuration).deleteEvidenceChaserItemRequest(e,r,t,s)(this.axios,this.basePath)}}async function Wo(a,e,r,t,s=p,n=u,o){const i=Je(t).createEvidenceChaserItemRequest(a,e,r,o),l={...i.options,url:n+i.url};return(await s.request(l)).data}async function Jo(a,e,r,t,s=p,n=u,o){const i=Je(t).deleteEvidenceChaserItemRequest(a,e,r,o),l={...i.options,url:n+i.url};return(await s.request(l)).data}const Xe=function(a){return{createEvidenceChaserItemResponseDocument(e,r,t,s,n,o={}){if(e==null)throw new h("responseId","Required parameter responseId was null or undefined when calling createEvidenceChaserItemResponseDocument.");if(r==null)throw new h("requestId","Required parameter requestId was null or undefined when calling createEvidenceChaserItemResponseDocument.");if(t==null)throw new h("itemId","Required parameter itemId was null or undefined when calling createEvidenceChaserItemResponseDocument.");if(s==null)throw new h("evidenceChaserId","Required parameter evidenceChaserId was null or undefined when calling createEvidenceChaserItemResponseDocument.");if(n==null)throw new h("createEvidenceChaserItemResponseDocumentDTO","Required parameter createEvidenceChaserItemResponseDocumentDTO was null or undefined when calling createEvidenceChaserItemResponseDocument.");const i="/v2/evidence-chasers/{evidenceChaserId}/items/{itemId}/requests/{requestId}/responses/{responseId}/documents".replace("{responseId}",encodeURIComponent(String(e))).replace("{requestId}",encodeURIComponent(String(r))).replace("{itemId}",encodeURIComponent(String(t))).replace("{evidenceChaserId}",encodeURIComponent(String(s))),l=new URL(i,"http://placeholder");let d;a&&(d=a.baseOptions);const c={method:"POST",...d,...o},A={},m={};return A["Content-Type"]="application/json",Object.entries({...m,...o.query}).forEach(([I,P])=>{P!==void 0&&l.searchParams.set(I,String(P))}),c.headers={...A,...o.headers},c.data=JSON.stringify(n!==void 0?n:{}),{url:l.pathname+l.search,options:c}},deleteEvidenceChaserItemResponseDocument(e,r,t,s,n,o={}){if(e==null)throw new h("documentId","Required parameter documentId was null or undefined when calling deleteEvidenceChaserItemResponseDocument.");if(r==null)throw new h("responseId","Required parameter responseId was null or undefined when calling deleteEvidenceChaserItemResponseDocument.");if(t==null)throw new h("requestId","Required parameter requestId was null or undefined when calling deleteEvidenceChaserItemResponseDocument.");if(s==null)throw new h("itemId","Required parameter itemId was null or undefined when calling deleteEvidenceChaserItemResponseDocument.");if(n==null)throw new h("evidenceChaserId","Required parameter evidenceChaserId was null or undefined when calling deleteEvidenceChaserItemResponseDocument.");const i="/v2/evidence-chasers/{evidenceChaserId}/items/{itemId}/requests/{requestId}/responses/{responseId}/documents/{documentId}".replace("{documentId}",encodeURIComponent(String(e))).replace("{responseId}",encodeURIComponent(String(r))).replace("{requestId}",encodeURIComponent(String(t))).replace("{itemId}",encodeURIComponent(String(s))).replace("{evidenceChaserId}",encodeURIComponent(String(n))),l=new URL(i,"http://placeholder");let d;a&&(d=a.baseOptions);const c={method:"DELETE",...d,...o},A={};return Object.entries({...{},...o.query}).forEach(([I,P])=>{P!==void 0&&l.searchParams.set(I,String(P))}),c.headers={...A,...o.headers},{url:l.pathname+l.search,options:c}}}},Ze=function(a){return{createEvidenceChaserItemResponseDocument(e,r,t,s,n,o){const i=Xe(a).createEvidenceChaserItemResponseDocument(e,r,t,s,n,o);return(l=p,d=u)=>{const c={...i.options,url:d+i.url};return l.request(c)}},deleteEvidenceChaserItemResponseDocument(e,r,t,s,n,o){const i=Xe(a).deleteEvidenceChaserItemResponseDocument(e,r,t,s,n,o);return(l=p,d=u)=>{const c={...i.options,url:d+i.url};return l.request(c)}}}},Ko=function(a,e,r){return{createEvidenceChaserItemResponseDocument(t,s,n,o,i,l){return Ze(a).createEvidenceChaserItemResponseDocument(t,s,n,o,i,l)(r,e)},deleteEvidenceChaserItemResponseDocument(t,s,n,o,i,l){return Ze(a).deleteEvidenceChaserItemResponseDocument(t,s,n,o,i,l)(r,e)}}};class Xo extends R{createEvidenceChaserItemResponseDocument(e,r,t,s,n,o){return Ze(this.configuration).createEvidenceChaserItemResponseDocument(e,r,t,s,n,o)(this.axios,this.basePath)}deleteEvidenceChaserItemResponseDocument(e,r,t,s,n,o){return Ze(this.configuration).deleteEvidenceChaserItemResponseDocument(e,r,t,s,n,o)(this.axios,this.basePath)}}async function Zo(a,e,r,t,s,n,o=p,i=u,l){const d=Xe(n).createEvidenceChaserItemResponseDocument(a,e,r,t,s,l),c={...d.options,url:i+d.url};return(await o.request(c)).data}async function ei(a,e,r,t,s,n,o=p,i=u,l){const d=Xe(n).deleteEvidenceChaserItemResponseDocument(a,e,r,t,s,l),c={...d.options,url:i+d.url};return(await o.request(c)).data}const er=function(a){return{createEvidenceChaserItemResponse(e,r,t,s,n={}){if(e==null)throw new h("requestId","Required parameter requestId was null or undefined when calling createEvidenceChaserItemResponse.");if(r==null)throw new h("itemId","Required parameter itemId was null or undefined when calling createEvidenceChaserItemResponse.");if(t==null)throw new h("evidenceChaserId","Required parameter evidenceChaserId was null or undefined when calling createEvidenceChaserItemResponse.");if(s==null)throw new h("createEvidenceChaserItemResponseDTO","Required parameter createEvidenceChaserItemResponseDTO was null or undefined when calling createEvidenceChaserItemResponse.");const o="/v2/evidence-chasers/{evidenceChaserId}/items/{itemId}/requests/{requestId}/responses".replace("{requestId}",encodeURIComponent(String(e))).replace("{itemId}",encodeURIComponent(String(r))).replace("{evidenceChaserId}",encodeURIComponent(String(t))),i=new URL(o,"http://placeholder");let l;a&&(l=a.baseOptions);const d={method:"POST",...l,...n},c={},A={};return c["Content-Type"]="application/json",Object.entries({...A,...n.query}).forEach(([m,I])=>{I!==void 0&&i.searchParams.set(m,String(I))}),d.headers={...c,...n.headers},d.data=JSON.stringify(s!==void 0?s:{}),{url:i.pathname+i.search,options:d}},updateEvidenceChaserItemResponse(e,r,t,s,n,o={}){if(e==null)throw new h("responseId","Required parameter responseId was null or undefined when calling updateEvidenceChaserItemResponse.");if(r==null)throw new h("requestId","Required parameter requestId was null or undefined when calling updateEvidenceChaserItemResponse.");if(t==null)throw new h("itemId","Required parameter itemId was null or undefined when calling updateEvidenceChaserItemResponse.");if(s==null)throw new h("evidenceChaserId","Required parameter evidenceChaserId was null or undefined when calling updateEvidenceChaserItemResponse.");if(n==null)throw new h("updateEvidenceChaserItemResponseDTO","Required parameter updateEvidenceChaserItemResponseDTO was null or undefined when calling updateEvidenceChaserItemResponse.");const i="/v2/evidence-chasers/{evidenceChaserId}/items/{itemId}/requests/{requestId}/responses/{responseId}".replace("{responseId}",encodeURIComponent(String(e))).replace("{requestId}",encodeURIComponent(String(r))).replace("{itemId}",encodeURIComponent(String(t))).replace("{evidenceChaserId}",encodeURIComponent(String(s))),l=new URL(i,"http://placeholder");let d;a&&(d=a.baseOptions);const c={method:"PATCH",...d,...o},A={},m={};return A["Content-Type"]="application/json",Object.entries({...m,...o.query}).forEach(([I,P])=>{P!==void 0&&l.searchParams.set(I,String(P))}),c.headers={...A,...o.headers},c.data=JSON.stringify(n!==void 0?n:{}),{url:l.pathname+l.search,options:c}}}},rr=function(a){return{createEvidenceChaserItemResponse(e,r,t,s,n){const o=er(a).createEvidenceChaserItemResponse(e,r,t,s,n);return(i=p,l=u)=>{const d={...o.options,url:l+o.url};return i.request(d)}},updateEvidenceChaserItemResponse(e,r,t,s,n,o){const i=er(a).updateEvidenceChaserItemResponse(e,r,t,s,n,o);return(l=p,d=u)=>{const c={...i.options,url:d+i.url};return l.request(c)}}}},ri=function(a,e,r){return{createEvidenceChaserItemResponse(t,s,n,o,i){return rr(a).createEvidenceChaserItemResponse(t,s,n,o,i)(r,e)},updateEvidenceChaserItemResponse(t,s,n,o,i,l){return rr(a).updateEvidenceChaserItemResponse(t,s,n,o,i,l)(r,e)}}};class ti extends R{createEvidenceChaserItemResponse(e,r,t,s,n){return rr(this.configuration).createEvidenceChaserItemResponse(e,r,t,s,n)(this.axios,this.basePath)}updateEvidenceChaserItemResponse(e,r,t,s,n,o){return rr(this.configuration).updateEvidenceChaserItemResponse(e,r,t,s,n,o)(this.axios,this.basePath)}}async function ai(a,e,r,t,s,n=p,o=u,i){const l=er(s).createEvidenceChaserItemResponse(a,e,r,t,i),d={...l.options,url:o+l.url};return(await n.request(d)).data}async function si(a,e,r,t,s,n,o=p,i=u,l){const d=er(n).updateEvidenceChaserItemResponse(a,e,r,t,s,l),c={...d.options,url:i+d.url};return(await o.request(c)).data}const tr=function(a){return{createEvidenceChaserItemReview(e,r,t,s,n,o={}){if(e==null)throw new h("responseId","Required parameter responseId was null or undefined when calling createEvidenceChaserItemReview.");if(r==null)throw new h("requestId","Required parameter requestId was null or undefined when calling createEvidenceChaserItemReview.");if(t==null)throw new h("itemId","Required parameter itemId was null or undefined when calling createEvidenceChaserItemReview.");if(s==null)throw new h("evidenceChaserId","Required parameter evidenceChaserId was null or undefined when calling createEvidenceChaserItemReview.");if(n==null)throw new h("createEvidenceChaserItemReviewDTO","Required parameter createEvidenceChaserItemReviewDTO was null or undefined when calling createEvidenceChaserItemReview.");const i="/v2/evidence-chasers/{evidenceChaserId}/items/{itemId}/requests/{requestId}/responses/{responseId}/review".replace("{responseId}",encodeURIComponent(String(e))).replace("{requestId}",encodeURIComponent(String(r))).replace("{itemId}",encodeURIComponent(String(t))).replace("{evidenceChaserId}",encodeURIComponent(String(s))),l=new URL(i,"http://placeholder");let d;a&&(d=a.baseOptions);const c={method:"POST",...d,...o},A={},m={};return A["Content-Type"]="application/json",Object.entries({...m,...o.query}).forEach(([I,P])=>{P!==void 0&&l.searchParams.set(I,String(P))}),c.headers={...A,...o.headers},c.data=JSON.stringify(n!==void 0?n:{}),{url:l.pathname+l.search,options:c}},updateEvidenceChaserItemReview(e,r,t,s,n,o,i={}){if(e==null)throw new h("reviewId","Required parameter reviewId was null or undefined when calling updateEvidenceChaserItemReview.");if(r==null)throw new h("responseId","Required parameter responseId was null or undefined when calling updateEvidenceChaserItemReview.");if(t==null)throw new h("requestId","Required parameter requestId was null or undefined when calling updateEvidenceChaserItemReview.");if(s==null)throw new h("itemId","Required parameter itemId was null or undefined when calling updateEvidenceChaserItemReview.");if(n==null)throw new h("evidenceChaserId","Required parameter evidenceChaserId was null or undefined when calling updateEvidenceChaserItemReview.");if(o==null)throw new h("createEvidenceChaserItemReviewDTO","Required parameter createEvidenceChaserItemReviewDTO was null or undefined when calling updateEvidenceChaserItemReview.");const l="/v2/evidence-chasers/{evidenceChaserId}/items/{itemId}/requests/{requestId}/responses/{responseId}/review/{reviewId}".replace("{reviewId}",encodeURIComponent(String(e))).replace("{responseId}",encodeURIComponent(String(r))).replace("{requestId}",encodeURIComponent(String(t))).replace("{itemId}",encodeURIComponent(String(s))).replace("{evidenceChaserId}",encodeURIComponent(String(n))),d=new URL(l,"http://placeholder");let c;a&&(c=a.baseOptions);const A={method:"PATCH",...c,...i},m={},I={};return m["Content-Type"]="application/json",Object.entries({...I,...i.query}).forEach(([P,q])=>{q!==void 0&&d.searchParams.set(P,String(q))}),A.headers={...m,...i.headers},A.data=JSON.stringify(o!==void 0?o:{}),{url:d.pathname+d.search,options:A}}}},ar=function(a){return{createEvidenceChaserItemReview(e,r,t,s,n,o){const i=tr(a).createEvidenceChaserItemReview(e,r,t,s,n,o);return(l=p,d=u)=>{const c={...i.options,url:d+i.url};return l.request(c)}},updateEvidenceChaserItemReview(e,r,t,s,n,o,i){const l=tr(a).updateEvidenceChaserItemReview(e,r,t,s,n,o,i);return(d=p,c=u)=>{const A={...l.options,url:c+l.url};return d.request(A)}}}},ni=function(a,e,r){return{createEvidenceChaserItemReview(t,s,n,o,i,l){return ar(a).createEvidenceChaserItemReview(t,s,n,o,i,l)(r,e)},updateEvidenceChaserItemReview(t,s,n,o,i,l,d){return ar(a).updateEvidenceChaserItemReview(t,s,n,o,i,l,d)(r,e)}}};class oi extends R{createEvidenceChaserItemReview(e,r,t,s,n,o){return ar(this.configuration).createEvidenceChaserItemReview(e,r,t,s,n,o)(this.axios,this.basePath)}updateEvidenceChaserItemReview(e,r,t,s,n,o,i){return ar(this.configuration).updateEvidenceChaserItemReview(e,r,t,s,n,o,i)(this.axios,this.basePath)}}async function ii(a,e,r,t,s,n,o=p,i=u,l){const d=tr(n).createEvidenceChaserItemReview(a,e,r,t,s,l),c={...d.options,url:i+d.url};return(await o.request(c)).data}async function li(a,e,r,t,s,n,o,i=p,l=u,d){const c=tr(o).updateEvidenceChaserItemReview(a,e,r,t,s,n,d),A={...c.options,url:l+c.url};return(await i.request(A)).data}const sr=function(a){return{createEvidenceChaserItem(e,r,t={}){if(e==null)throw new h("evidenceChaserId","Required parameter evidenceChaserId was null or undefined when calling createEvidenceChaserItem.");if(r==null)throw new h("createEvidenceChaserItemDTO","Required parameter createEvidenceChaserItemDTO was null or undefined when calling createEvidenceChaserItem.");const s="/v2/evidence-chasers/{evidenceChaserId}/items".replace("{evidenceChaserId}",encodeURIComponent(String(e))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"POST",...o,...t},l={},d={};return l["Content-Type"]="application/json",Object.entries({...d,...t.query}).forEach(([c,A])=>{A!==void 0&&n.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:n.pathname+n.search,options:i}},updateEvidenceChaserItem(e,r,t,s={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling updateEvidenceChaserItem.");if(r==null)throw new h("evidenceChaserId","Required parameter evidenceChaserId was null or undefined when calling updateEvidenceChaserItem.");if(t==null)throw new h("updateEvidenceChaserItemDTO","Required parameter updateEvidenceChaserItemDTO was null or undefined when calling updateEvidenceChaserItem.");const n="/v2/evidence-chasers/{evidenceChaserId}/items/{id}".replace("{id}",encodeURIComponent(String(e))).replace("{evidenceChaserId}",encodeURIComponent(String(r))),o=new URL(n,"http://placeholder");let i;a&&(i=a.baseOptions);const l={method:"PATCH",...i,...s},d={},c={};return d["Content-Type"]="application/json",Object.entries({...c,...s.query}).forEach(([A,m])=>{m!==void 0&&o.searchParams.set(A,String(m))}),l.headers={...d,...s.headers},l.data=JSON.stringify(t!==void 0?t:{}),{url:o.pathname+o.search,options:l}}}},nr=function(a){return{createEvidenceChaserItem(e,r,t){const s=sr(a).createEvidenceChaserItem(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},updateEvidenceChaserItem(e,r,t,s){const n=sr(a).updateEvidenceChaserItem(e,r,t,s);return(o=p,i=u)=>{const l={...n.options,url:i+n.url};return o.request(l)}}}},ci=function(a,e,r){return{createEvidenceChaserItem(t,s,n){return nr(a).createEvidenceChaserItem(t,s,n)(r,e)},updateEvidenceChaserItem(t,s,n,o){return nr(a).updateEvidenceChaserItem(t,s,n,o)(r,e)}}};class di extends R{createEvidenceChaserItem(e,r,t){return nr(this.configuration).createEvidenceChaserItem(e,r,t)(this.axios,this.basePath)}updateEvidenceChaserItem(e,r,t,s){return nr(this.configuration).updateEvidenceChaserItem(e,r,t,s)(this.axios,this.basePath)}}async function ui(a,e,r,t=p,s=u,n){const o=sr(r).createEvidenceChaserItem(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function pi(a,e,r,t,s=p,n=u,o){const i=sr(t).updateEvidenceChaserItem(a,e,r,o),l={...i.options,url:n+i.url};return(await s.request(l)).data}const Se=function(a){return{publishEvidenceChaserRequests(e,r,t={}){if(e==null)throw new h("roundId","Required parameter roundId was null or undefined when calling publishEvidenceChaserRequests.");if(r==null)throw new h("evidenceChaserId","Required parameter evidenceChaserId was null or undefined when calling publishEvidenceChaserRequests.");const s="/v2/evidence-chasers/{evidenceChaserId}/rounds/{roundId}/requests/publish".replace("{roundId}",encodeURIComponent(String(e))).replace("{evidenceChaserId}",encodeURIComponent(String(r))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"POST",...o,...t},l={};return Object.entries({...{},...t.query}).forEach(([c,A])=>{A!==void 0&&n.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},{url:n.pathname+n.search,options:i}},publishEvidenceChaserResponses(e,r,t={}){if(e==null)throw new h("roundId","Required parameter roundId was null or undefined when calling publishEvidenceChaserResponses.");if(r==null)throw new h("evidenceChaserId","Required parameter evidenceChaserId was null or undefined when calling publishEvidenceChaserResponses.");const s="/v2/evidence-chasers/{evidenceChaserId}/rounds/{roundId}/responses/publish".replace("{roundId}",encodeURIComponent(String(e))).replace("{evidenceChaserId}",encodeURIComponent(String(r))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"POST",...o,...t},l={};return Object.entries({...{},...t.query}).forEach(([c,A])=>{A!==void 0&&n.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},{url:n.pathname+n.search,options:i}},publishEvidenceChaserReviews(e,r,t={}){if(e==null)throw new h("roundId","Required parameter roundId was null or undefined when calling publishEvidenceChaserReviews.");if(r==null)throw new h("evidenceChaserId","Required parameter evidenceChaserId was null or undefined when calling publishEvidenceChaserReviews.");const s="/v2/evidence-chasers/{evidenceChaserId}/rounds/{roundId}/reviews/publish".replace("{roundId}",encodeURIComponent(String(e))).replace("{evidenceChaserId}",encodeURIComponent(String(r))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"POST",...o,...t},l={};return Object.entries({...{},...t.query}).forEach(([c,A])=>{A!==void 0&&n.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},{url:n.pathname+n.search,options:i}}}},Ne=function(a){return{publishEvidenceChaserRequests(e,r,t){const s=Se(a).publishEvidenceChaserRequests(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},publishEvidenceChaserResponses(e,r,t){const s=Se(a).publishEvidenceChaserResponses(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},publishEvidenceChaserReviews(e,r,t){const s=Se(a).publishEvidenceChaserReviews(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}}}},hi=function(a,e,r){return{publishEvidenceChaserRequests(t,s,n){return Ne(a).publishEvidenceChaserRequests(t,s,n)(r,e)},publishEvidenceChaserResponses(t,s,n){return Ne(a).publishEvidenceChaserResponses(t,s,n)(r,e)},publishEvidenceChaserReviews(t,s,n){return Ne(a).publishEvidenceChaserReviews(t,s,n)(r,e)}}};class Ai extends R{publishEvidenceChaserRequests(e,r,t){return Ne(this.configuration).publishEvidenceChaserRequests(e,r,t)(this.axios,this.basePath)}publishEvidenceChaserResponses(e,r,t){return Ne(this.configuration).publishEvidenceChaserResponses(e,r,t)(this.axios,this.basePath)}publishEvidenceChaserReviews(e,r,t){return Ne(this.configuration).publishEvidenceChaserReviews(e,r,t)(this.axios,this.basePath)}}async function mi(a,e,r,t=p,s=u,n){const o=Se(r).publishEvidenceChaserRequests(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function Ri(a,e,r,t=p,s=u,n){const o=Se(r).publishEvidenceChaserResponses(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function Ii(a,e,r,t=p,s=u,n){const o=Se(r).publishEvidenceChaserReviews(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}const xe=function(a){return{createEvidenceChaser(e,r={}){if(e==null)throw new h("claimId","Required parameter claimId was null or undefined when calling createEvidenceChaser.");const t="/v2/claims/{claimId}/evidence-chaser".replace("{claimId}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"POST",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},expireEvidenceChaser(e,r,t={}){if(e==null)throw new h("claimId","Required parameter claimId was null or undefined when calling expireEvidenceChaser.");if(r==null)throw new h("id","Required parameter id was null or undefined when calling expireEvidenceChaser.");const s="/v2/claims/{claimId}/evidence-chaser/{id}/expire".replace("{claimId}",encodeURIComponent(String(e))).replace("{id}",encodeURIComponent(String(r))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"POST",...o,...t},l={};return Object.entries({...{},...t.query}).forEach(([c,A])=>{A!==void 0&&n.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},{url:n.pathname+n.search,options:i}},getEvidenceChaserById(e,r,t={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling getEvidenceChaserById.");if(r==null)throw new h("claimId","Required parameter claimId was null or undefined when calling getEvidenceChaserById.");const s="/v2/claims/{claimId}/evidence-chaser/{id}".replace("{id}",encodeURIComponent(String(e))).replace("{claimId}",encodeURIComponent(String(r))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"GET",...o,...t},l={};return Object.entries({...{},...t.query}).forEach(([c,A])=>{A!==void 0&&n.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},{url:n.pathname+n.search,options:i}}}},Ue=function(a){return{createEvidenceChaser(e,r){const t=xe(a).createEvidenceChaser(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},expireEvidenceChaser(e,r,t){const s=xe(a).expireEvidenceChaser(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},getEvidenceChaserById(e,r,t){const s=xe(a).getEvidenceChaserById(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}}}},Pi=function(a,e,r){return{createEvidenceChaser(t,s){return Ue(a).createEvidenceChaser(t,s)(r,e)},expireEvidenceChaser(t,s,n){return Ue(a).expireEvidenceChaser(t,s,n)(r,e)},getEvidenceChaserById(t,s,n){return Ue(a).getEvidenceChaserById(t,s,n)(r,e)}}};class gi extends R{createEvidenceChaser(e,r){return Ue(this.configuration).createEvidenceChaser(e,r)(this.axios,this.basePath)}expireEvidenceChaser(e,r,t){return Ue(this.configuration).expireEvidenceChaser(e,r,t)(this.axios,this.basePath)}getEvidenceChaserById(e,r,t){return Ue(this.configuration).getEvidenceChaserById(e,r,t)(this.axios,this.basePath)}}async function wi(a,e,r=p,t=u,s){const n=xe(e).createEvidenceChaser(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function fi(a,e,r,t=p,s=u,n){const o=xe(r).expireEvidenceChaser(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function Oi(a,e,r,t=p,s=u,n){const o=xe(r).getEvidenceChaserById(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}const Fr=function(a){return{submitFeedback(e,r={}){if(e==null)throw new h("submitFeedbackDTO","Required parameter submitFeedbackDTO was null or undefined when calling submitFeedback.");const t="/v2/feedback",s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"POST",...n,...r},i={},l={};return i["Content-Type"]="application/json",Object.entries({...l,...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},o.data=JSON.stringify(e!==void 0?e:{}),{url:s.pathname+s.search,options:o}}}},Mr=function(a){return{submitFeedback(e,r){const t=Fr(a).submitFeedback(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}}}},yi=function(a,e,r){return{submitFeedback(t,s){return Mr(a).submitFeedback(t,s)(r,e)}}};class Ei extends R{submitFeedback(e,r){return Mr(this.configuration).submitFeedback(e,r)(this.axios,this.basePath)}}async function Vi(a,e,r=p,t=u,s){const n=Fr(e).submitFeedback(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}const or=function(a){return{dbHealthCheck(e={}){const r="/v2/health/db",t=new URL(r,"http://placeholder");let s;a&&(s=a.baseOptions);const n={method:"GET",...s,...e},o={};return Object.entries({...{},...e.query}).forEach(([l,d])=>{d!==void 0&&t.searchParams.set(l,String(d))}),n.headers={...o,...e.headers},{url:t.pathname+t.search,options:n}},healthCheck(e={}){const r="/v2/health",t=new URL(r,"http://placeholder");let s;a&&(s=a.baseOptions);const n={method:"GET",...s,...e},o={};return Object.entries({...{},...e.query}).forEach(([l,d])=>{d!==void 0&&t.searchParams.set(l,String(d))}),n.headers={...o,...e.headers},{url:t.pathname+t.search,options:n}}}},ir=function(a){return{dbHealthCheck(e){const r=or(a).dbHealthCheck(e);return(t=p,s=u)=>{const n={...r.options,url:s+r.url};return t.request(n)}},healthCheck(e){const r=or(a).healthCheck(e);return(t=p,s=u)=>{const n={...r.options,url:s+r.url};return t.request(n)}}}},Ci=function(a,e,r){return{dbHealthCheck(t){return ir(a).dbHealthCheck(t)(r,e)},healthCheck(t){return ir(a).healthCheck(t)(r,e)}}};class qi extends R{dbHealthCheck(e){return ir(this.configuration).dbHealthCheck(e)(this.axios,this.basePath)}healthCheck(e){return ir(this.configuration).healthCheck(e)(this.axios,this.basePath)}}async function _i(a,e=p,r=u,t){const s=or(a).dbHealthCheck(t),n={...s.options,url:r+s.url};return(await e.request(n)).data}async function vi(a,e=p,r=u,t){const s=or(a).healthCheck(t),n={...s.options,url:r+s.url};return(await e.request(n)).data}const D=function(a){return{processPlaidWebhooks(e,r={}){if(e==null)throw new h("plaidWebhookDto","Required parameter plaidWebhookDto was null or undefined when calling processPlaidWebhooks.");const t="/v2/webhooks/plaid",s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"POST",...n,...r},i={},l={};return i["Content-Type"]="application/json",Object.entries({...l,...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},o.data=JSON.stringify(e!==void 0?e:{}),{url:s.pathname+s.search,options:o}},processSendGridWebhooks(e,r={}){if(e==null)throw new h("requestBody","Required parameter requestBody was null or undefined when calling processSendGridWebhooks.");const t="/v2/webhooks/sendgrid",s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"POST",...n,...r},i={},l={};return i["Content-Type"]="application/json",Object.entries({...l,...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},o.data=JSON.stringify(e!==void 0?e:{}),{url:s.pathname+s.search,options:o}},processStripeWebhooks(e={}){const r="/v2/webhooks/stripe",t=new URL(r,"http://placeholder");let s;a&&(s=a.baseOptions);const n={method:"POST",...s,...e},o={};return Object.entries({...{},...e.query}).forEach(([l,d])=>{d!==void 0&&t.searchParams.set(l,String(d))}),n.headers={...o,...e.headers},{url:t.pathname+t.search,options:n}},processTwilioIvrWebhooks(e,r={}){if(e==null)throw new h("ivrCallId","Required parameter ivrCallId was null or undefined when calling processTwilioIvrWebhooks.");const t="/v2/webhooks/twilio-ivr/{ivrCallId}".replace("{ivrCallId}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"POST",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},processTwilioIvrWebhooksWithGatherAction(e,r,t={}){if(e==null)throw new h("ivrCallId","Required parameter ivrCallId was null or undefined when calling processTwilioIvrWebhooksWithGatherAction.");if(r==null)throw new h("gatherAction","Required parameter gatherAction was null or undefined when calling processTwilioIvrWebhooksWithGatherAction.");const s="/v2/webhooks/twilio-ivr/{ivrCallId}/gather-action/{gatherAction}".replace("{ivrCallId}",encodeURIComponent(String(e))).replace("{gatherAction}",encodeURIComponent(String(r))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"POST",...o,...t},l={};return Object.entries({...{},...t.query}).forEach(([c,A])=>{A!==void 0&&n.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},{url:n.pathname+n.search,options:i}},processTwilioVoicemailWebhook(e,r={}){if(e==null)throw new h("from","Required parameter from was null or undefined when calling processTwilioVoicemailWebhook.");const t="/v2/webhooks/twilio-voicemail",s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"POST",...n,...r},i={},l={};return e!==void 0&&(l.From=e),Object.entries({...l,...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}}}},L=function(a){return{processPlaidWebhooks(e,r){const t=D(a).processPlaidWebhooks(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},processSendGridWebhooks(e,r){const t=D(a).processSendGridWebhooks(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},processStripeWebhooks(e){const r=D(a).processStripeWebhooks(e);return(t=p,s=u)=>{const n={...r.options,url:s+r.url};return t.request(n)}},processTwilioIvrWebhooks(e,r){const t=D(a).processTwilioIvrWebhooks(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},processTwilioIvrWebhooksWithGatherAction(e,r,t){const s=D(a).processTwilioIvrWebhooksWithGatherAction(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},processTwilioVoicemailWebhook(e,r){const t=D(a).processTwilioVoicemailWebhook(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}}}},bi=function(a,e,r){return{processPlaidWebhooks(t,s){return L(a).processPlaidWebhooks(t,s)(r,e)},processSendGridWebhooks(t,s){return L(a).processSendGridWebhooks(t,s)(r,e)},processStripeWebhooks(t){return L(a).processStripeWebhooks(t)(r,e)},processTwilioIvrWebhooks(t,s){return L(a).processTwilioIvrWebhooks(t,s)(r,e)},processTwilioIvrWebhooksWithGatherAction(t,s,n){return L(a).processTwilioIvrWebhooksWithGatherAction(t,s,n)(r,e)},processTwilioVoicemailWebhook(t,s){return L(a).processTwilioVoicemailWebhook(t,s)(r,e)}}};class Ti extends R{processPlaidWebhooks(e,r){return L(this.configuration).processPlaidWebhooks(e,r)(this.axios,this.basePath)}processSendGridWebhooks(e,r){return L(this.configuration).processSendGridWebhooks(e,r)(this.axios,this.basePath)}processStripeWebhooks(e){return L(this.configuration).processStripeWebhooks(e)(this.axios,this.basePath)}processTwilioIvrWebhooks(e,r){return L(this.configuration).processTwilioIvrWebhooks(e,r)(this.axios,this.basePath)}processTwilioIvrWebhooksWithGatherAction(e,r,t){return L(this.configuration).processTwilioIvrWebhooksWithGatherAction(e,r,t)(this.axios,this.basePath)}processTwilioVoicemailWebhook(e,r){return L(this.configuration).processTwilioVoicemailWebhook(e,r)(this.axios,this.basePath)}}async function Si(a,e,r=p,t=u,s){const n=D(e).processPlaidWebhooks(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function Ni(a,e,r=p,t=u,s){const n=D(e).processSendGridWebhooks(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function xi(a,e=p,r=u,t){const s=D(a).processStripeWebhooks(t),n={...s.options,url:r+s.url};return(await e.request(n)).data}async function Ui(a,e,r=p,t=u,s){const n=D(e).processTwilioIvrWebhooks(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function Di(a,e,r,t=p,s=u,n){const o=D(r).processTwilioIvrWebhooksWithGatherAction(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function Li(a,e,r=p,t=u,s){const n=D(e).processTwilioVoicemailWebhook(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}const De=function(a){return{createInsuranceClaim(e,r,t={}){if(e==null)throw new h("policyId","Required parameter policyId was null or undefined when calling createInsuranceClaim.");if(r==null)throw new h("createInsuranceClaimDTO","Required parameter createInsuranceClaimDTO was null or undefined when calling createInsuranceClaim.");const s="/v2/policies/{policyId}/claim".replace("{policyId}",encodeURIComponent(String(e))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"POST",...o,...t},l={},d={};return l["Content-Type"]="application/json",Object.entries({...d,...t.query}).forEach(([c,A])=>{A!==void 0&&n.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:n.pathname+n.search,options:i}},getInsuranceClaim(e,r={}){if(e==null)throw new h("policyId","Required parameter policyId was null or undefined when calling getInsuranceClaim.");const t="/v2/policies/{policyId}/claim".replace("{policyId}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},resolveInsuranceClaim(e,r,t={}){if(e==null)throw new h("policyId","Required parameter policyId was null or undefined when calling resolveInsuranceClaim.");if(r==null)throw new h("resolveInsuranceClaimDTO","Required parameter resolveInsuranceClaimDTO was null or undefined when calling resolveInsuranceClaim.");const s="/v2/policies/{policyId}/claim/resolve".replace("{policyId}",encodeURIComponent(String(e))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"POST",...o,...t},l={},d={};return l["Content-Type"]="application/json",Object.entries({...d,...t.query}).forEach(([c,A])=>{A!==void 0&&n.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:n.pathname+n.search,options:i}}}},Le=function(a){return{createInsuranceClaim(e,r,t){const s=De(a).createInsuranceClaim(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},getInsuranceClaim(e,r){const t=De(a).getInsuranceClaim(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},resolveInsuranceClaim(e,r,t){const s=De(a).resolveInsuranceClaim(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}}}},Bi=function(a,e,r){return{createInsuranceClaim(t,s,n){return Le(a).createInsuranceClaim(t,s,n)(r,e)},getInsuranceClaim(t,s){return Le(a).getInsuranceClaim(t,s)(r,e)},resolveInsuranceClaim(t,s,n){return Le(a).resolveInsuranceClaim(t,s,n)(r,e)}}};class ji extends R{createInsuranceClaim(e,r,t){return Le(this.configuration).createInsuranceClaim(e,r,t)(this.axios,this.basePath)}getInsuranceClaim(e,r){return Le(this.configuration).getInsuranceClaim(e,r)(this.axios,this.basePath)}resolveInsuranceClaim(e,r,t){return Le(this.configuration).resolveInsuranceClaim(e,r,t)(this.axios,this.basePath)}}async function Fi(a,e,r,t=p,s=u,n){const o=De(r).createInsuranceClaim(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function Mi(a,e,r=p,t=u,s){const n=De(e).getInsuranceClaim(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function Hi(a,e,r,t=p,s=u,n){const o=De(r).resolveInsuranceClaim(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}const Hr=function(a){return{getIntegrators(e={}){const r="/v2/integrator",t=new URL(r,"http://placeholder");let s;a&&(s=a.baseOptions);const n={method:"GET",...s,...e},o={};return Object.entries({...{},...e.query}).forEach(([l,d])=>{d!==void 0&&t.searchParams.set(l,String(d))}),n.headers={...o,...e.headers},{url:t.pathname+t.search,options:n}}}},Gr=function(a){return{getIntegrators(e){const r=Hr(a).getIntegrators(e);return(t=p,s=u)=>{const n={...r.options,url:s+r.url};return t.request(n)}}}},Gi=function(a,e,r){return{getIntegrators(t){return Gr(a).getIntegrators(t)(r,e)}}};class Qi extends R{getIntegrators(e){return Gr(this.configuration).getIntegrators(e)(this.axios,this.basePath)}}async function zi(a,e=p,r=u,t){const s=Hr(a).getIntegrators(t),n={...s.options,url:r+s.url};return(await e.request(n)).data}const Qr=function(a){return{generateLastMonthCommission(e,r={}){if(e==null)throw new h("integratorId","Required parameter integratorId was null or undefined when calling generateLastMonthCommission.");const t="/v2/integrator/{integratorId}/commission".replace("{integratorId}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"POST",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}}}},zr=function(a){return{generateLastMonthCommission(e,r){const t=Qr(a).generateLastMonthCommission(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}}}},ki=function(a,e,r){return{generateLastMonthCommission(t,s){return zr(a).generateLastMonthCommission(t,s)(r,e)}}};class Yi extends R{generateLastMonthCommission(e,r){return zr(this.configuration).generateLastMonthCommission(e,r)(this.axios,this.basePath)}}async function $i(a,e,r=p,t=u,s){const n=Qr(e).generateLastMonthCommission(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}const lr=function(a){return{getCompletedReposits(e={}){const r="/v2/internal-reports/completed-reposits",t=new URL(r,"http://placeholder");let s;a&&(s=a.baseOptions);const n={method:"GET",...s,...e},o={};return Object.entries({...{},...e.query}).forEach(([l,d])=>{d!==void 0&&t.searchParams.set(l,String(d))}),n.headers={...o,...e.headers},{url:t.pathname+t.search,options:n}},getCreatedReposits(e={}){const r="/v2/internal-reports/created-reposits",t=new URL(r,"http://placeholder");let s;a&&(s=a.baseOptions);const n={method:"GET",...s,...e},o={};return Object.entries({...{},...e.query}).forEach(([l,d])=>{d!==void 0&&t.searchParams.set(l,String(d))}),n.headers={...o,...e.headers},{url:t.pathname+t.search,options:n}}}},cr=function(a){return{getCompletedReposits(e){const r=lr(a).getCompletedReposits(e);return(t=p,s=u)=>{const n={...r.options,url:s+r.url};return t.request(n)}},getCreatedReposits(e){const r=lr(a).getCreatedReposits(e);return(t=p,s=u)=>{const n={...r.options,url:s+r.url};return t.request(n)}}}},Wi=function(a,e,r){return{getCompletedReposits(t){return cr(a).getCompletedReposits(t)(r,e)},getCreatedReposits(t){return cr(a).getCreatedReposits(t)(r,e)}}};class Ji extends R{getCompletedReposits(e){return cr(this.configuration).getCompletedReposits(e)(this.axios,this.basePath)}getCreatedReposits(e){return cr(this.configuration).getCreatedReposits(e)(this.axios,this.basePath)}}async function Ki(a,e=p,r=u,t){const s=lr(a).getCompletedReposits(t),n={...s.options,url:r+s.url};return(await e.request(n)).data}async function Xi(a,e=p,r=u,t){const s=lr(a).getCreatedReposits(t),n={...s.options,url:r+s.url};return(await e.request(n)).data}const kr=function(a){return{findAll(e={}){const r="/v2/internal-team-members",t=new URL(r,"http://placeholder");let s;a&&(s=a.baseOptions);const n={method:"GET",...s,...e},o={};return Object.entries({...{},...e.query}).forEach(([l,d])=>{d!==void 0&&t.searchParams.set(l,String(d))}),n.headers={...o,...e.headers},{url:t.pathname+t.search,options:n}}}},Yr=function(a){return{findAll(e){const r=kr(a).findAll(e);return(t=p,s=u)=>{const n={...r.options,url:s+r.url};return t.request(n)}}}},Zi=function(a,e,r){return{findAll(t){return Yr(a).findAll(t)(r,e)}}};class el extends R{findAll(e){return Yr(this.configuration).findAll(e)(this.axios,this.basePath)}}async function rl(a,e=p,r=u,t){const s=kr(a).findAll(t),n={...s.options,url:r+s.url};return(await e.request(n)).data}const $r=function(a){return{searchKpiDocuments(e,r,t,s,n={}){if(e==null)throw new h("from","Required parameter from was null or undefined when calling searchKpiDocuments.");if(r==null)throw new h("to","Required parameter to was null or undefined when calling searchKpiDocuments.");if(t==null)throw new h("page","Required parameter page was null or undefined when calling searchKpiDocuments.");if(s==null)throw new h("size","Required parameter size was null or undefined when calling searchKpiDocuments.");const o="/v2/kpis/documents/search",i=new URL(o,"http://placeholder");let l;a&&(l=a.baseOptions);const d={method:"GET",...l,...n},c={},A={};return e!==void 0&&(A.from=e),r!==void 0&&(A.to=r),t!==void 0&&(A.page=t),s!==void 0&&(A.size=s),Object.entries({...A,...n.query}).forEach(([m,I])=>{I!==void 0&&i.searchParams.set(m,String(I))}),d.headers={...c,...n.headers},{url:i.pathname+i.search,options:d}}}},Wr=function(a){return{searchKpiDocuments(e,r,t,s,n){const o=$r(a).searchKpiDocuments(e,r,t,s,n);return(i=p,l=u)=>{const d={...o.options,url:l+o.url};return i.request(d)}}}},tl=function(a,e,r){return{searchKpiDocuments(t,s,n,o,i){return Wr(a).searchKpiDocuments(t,s,n,o,i)(r,e)}}};class al extends R{searchKpiDocuments(e,r,t,s,n){return Wr(this.configuration).searchKpiDocuments(e,r,t,s,n)(this.axios,this.basePath)}}async function sl(a,e,r,t,s,n=p,o=u,i){const l=$r(s).searchKpiDocuments(a,e,r,t,i),d={...l.options,url:o+l.url};return(await n.request(d)).data}const dr=function(a){return{getLandlordById(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling getLandlordById.");const t="/v2/landlords/{id}".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},updateLandlord(e,r,t={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling updateLandlord.");if(r==null)throw new h("updateLandlordDTO","Required parameter updateLandlordDTO was null or undefined when calling updateLandlord.");const s="/v2/landlords/{id}".replace("{id}",encodeURIComponent(String(e))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"PATCH",...o,...t},l={},d={};return l["Content-Type"]="application/json",Object.entries({...d,...t.query}).forEach(([c,A])=>{A!==void 0&&n.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:n.pathname+n.search,options:i}}}},ur=function(a){return{getLandlordById(e,r){const t=dr(a).getLandlordById(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},updateLandlord(e,r,t){const s=dr(a).updateLandlord(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}}}},nl=function(a,e,r){return{getLandlordById(t,s){return ur(a).getLandlordById(t,s)(r,e)},updateLandlord(t,s,n){return ur(a).updateLandlord(t,s,n)(r,e)}}};class ol extends R{getLandlordById(e,r){return ur(this.configuration).getLandlordById(e,r)(this.axios,this.basePath)}updateLandlord(e,r,t){return ur(this.configuration).updateLandlord(e,r,t)(this.axios,this.basePath)}}async function il(a,e,r=p,t=u,s){const n=dr(e).getLandlordById(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function ll(a,e,r,t=p,s=u,n){const o=dr(r).updateLandlord(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}const Jr=function(a){return{processIncomingMessage(e,r={}){if(e==null)throw new h("queueMessageDTO","Required parameter queueMessageDTO was null or undefined when calling processIncomingMessage.");const t="/v2/message-queue",s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"POST",...n,...r},i={},l={};return i["Content-Type"]="application/json",Object.entries({...l,...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},o.data=JSON.stringify(e!==void 0?e:{}),{url:s.pathname+s.search,options:o}}}},Kr=function(a){return{processIncomingMessage(e,r){const t=Jr(a).processIncomingMessage(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}}}},cl=function(a,e,r){return{processIncomingMessage(t,s){return Kr(a).processIncomingMessage(t,s)(r,e)}}};class dl extends R{processIncomingMessage(e,r){return Kr(this.configuration).processIncomingMessage(e,r)(this.axios,this.basePath)}}async function ul(a,e,r=p,t=u,s){const n=Jr(e).processIncomingMessage(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}const se=function(a){return{completeMyDepositsSetup(e,r,t={}){if(e==null)throw new h("organizationId","Required parameter organizationId was null or undefined when calling completeMyDepositsSetup.");if(r==null)throw new h("myDepositsCompleteSetupRequestDTO","Required parameter myDepositsCompleteSetupRequestDTO was null or undefined when calling completeMyDepositsSetup.");const s="/v2/my-deposits/oauth/complete-setup",n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"POST",...o,...t},l={},d={};return e!==void 0&&(d.organizationId=e),l["Content-Type"]="application/json",Object.entries({...d,...t.query}).forEach(([c,A])=>{A!==void 0&&n.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:n.pathname+n.search,options:i}},exchangeMyDepositsToken(e,r={}){if(e==null)throw new h("myDepositsExchangeTokenRequestDTO","Required parameter myDepositsExchangeTokenRequestDTO was null or undefined when calling exchangeMyDepositsToken.");const t="/v2/my-deposits/oauth/token",s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"POST",...n,...r},i={},l={};return i["Content-Type"]="application/json",Object.entries({...l,...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},o.data=JSON.stringify(e!==void 0?e:{}),{url:s.pathname+s.search,options:o}},getMyDepositsAuthorizeUrl(e,r={}){if(e==null)throw new h("organizationId","Required parameter organizationId was null or undefined when calling getMyDepositsAuthorizeUrl.");const t="/v2/my-deposits/oauth/authorize",s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={},l={};return e!==void 0&&(l.organizationId=e),Object.entries({...l,...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},getMyDepositsCompanyOffices(e,r={}){if(e==null)throw new h("organizationId","Required parameter organizationId was null or undefined when calling getMyDepositsCompanyOffices.");const t="/v2/my-deposits/oauth/company-offices",s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={},l={};return e!==void 0&&(l.organizationId=e),Object.entries({...l,...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},getMyDepositsOnboardingStatus(e,r={}){if(e==null)throw new h("organizationId","Required parameter organizationId was null or undefined when calling getMyDepositsOnboardingStatus.");const t="/v2/my-deposits/oauth/onboarding-status",s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={},l={};return e!==void 0&&(l.organizationId=e),Object.entries({...l,...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}}}},ne=function(a){return{completeMyDepositsSetup(e,r,t){const s=se(a).completeMyDepositsSetup(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},exchangeMyDepositsToken(e,r){const t=se(a).exchangeMyDepositsToken(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},getMyDepositsAuthorizeUrl(e,r){const t=se(a).getMyDepositsAuthorizeUrl(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},getMyDepositsCompanyOffices(e,r){const t=se(a).getMyDepositsCompanyOffices(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},getMyDepositsOnboardingStatus(e,r){const t=se(a).getMyDepositsOnboardingStatus(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}}}},pl=function(a,e,r){return{completeMyDepositsSetup(t,s,n){return ne(a).completeMyDepositsSetup(t,s,n)(r,e)},exchangeMyDepositsToken(t,s){return ne(a).exchangeMyDepositsToken(t,s)(r,e)},getMyDepositsAuthorizeUrl(t,s){return ne(a).getMyDepositsAuthorizeUrl(t,s)(r,e)},getMyDepositsCompanyOffices(t,s){return ne(a).getMyDepositsCompanyOffices(t,s)(r,e)},getMyDepositsOnboardingStatus(t,s){return ne(a).getMyDepositsOnboardingStatus(t,s)(r,e)}}};class hl extends R{completeMyDepositsSetup(e,r,t){return ne(this.configuration).completeMyDepositsSetup(e,r,t)(this.axios,this.basePath)}exchangeMyDepositsToken(e,r){return ne(this.configuration).exchangeMyDepositsToken(e,r)(this.axios,this.basePath)}getMyDepositsAuthorizeUrl(e,r){return ne(this.configuration).getMyDepositsAuthorizeUrl(e,r)(this.axios,this.basePath)}getMyDepositsCompanyOffices(e,r){return ne(this.configuration).getMyDepositsCompanyOffices(e,r)(this.axios,this.basePath)}getMyDepositsOnboardingStatus(e,r){return ne(this.configuration).getMyDepositsOnboardingStatus(e,r)(this.axios,this.basePath)}}async function Al(a,e,r,t=p,s=u,n){const o=se(r).completeMyDepositsSetup(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function ml(a,e,r=p,t=u,s){const n=se(e).exchangeMyDepositsToken(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function Rl(a,e,r=p,t=u,s){const n=se(e).getMyDepositsAuthorizeUrl(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function Il(a,e,r=p,t=u,s){const n=se(e).getMyDepositsCompanyOffices(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function Pl(a,e,r=p,t=u,s){const n=se(e).getMyDepositsOnboardingStatus(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}const Xr=function(a){return{createNetPromoterScore(e,r={}){if(e==null)throw new h("createNetPromoterScoreDTO","Required parameter createNetPromoterScoreDTO was null or undefined when calling createNetPromoterScore.");const t="/v2/net-promoter-score",s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"POST",...n,...r},i={},l={};return i["Content-Type"]="application/json",Object.entries({...l,...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},o.data=JSON.stringify(e!==void 0?e:{}),{url:s.pathname+s.search,options:o}}}},Zr=function(a){return{createNetPromoterScore(e,r){const t=Xr(a).createNetPromoterScore(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}}}},gl=function(a,e,r){return{createNetPromoterScore(t,s){return Zr(a).createNetPromoterScore(t,s)(r,e)}}};class wl extends R{createNetPromoterScore(e,r){return Zr(this.configuration).createNetPromoterScore(e,r)(this.axios,this.basePath)}}async function fl(a,e,r=p,t=u,s){const n=Xr(e).createNetPromoterScore(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}const b=function(a){return{aboutYou(e,r,t,s={}){if(e==null)throw new h("orderId","Required parameter orderId was null or undefined when calling aboutYou.");if(r==null)throw new h("customerId","Required parameter customerId was null or undefined when calling aboutYou.");if(t==null)throw new h("updateAboutYouAttributesDTO","Required parameter updateAboutYouAttributesDTO was null or undefined when calling aboutYou.");const n="/v2/orders/{orderId}/customers/{customerId}/actions/about-you".replace("{orderId}",encodeURIComponent(String(e))).replace("{customerId}",encodeURIComponent(String(r))),o=new URL(n,"http://placeholder");let i;a&&(i=a.baseOptions);const l={method:"PATCH",...i,...s},d={},c={};return d["Content-Type"]="application/json",Object.entries({...c,...s.query}).forEach(([A,m])=>{m!==void 0&&o.searchParams.set(A,String(m))}),l.headers={...d,...s.headers},l.data=JSON.stringify(t!==void 0?t:{}),{url:o.pathname+o.search,options:l}},addressHistory(e,r,t,s={}){if(e==null)throw new h("orderId","Required parameter orderId was null or undefined when calling addressHistory.");if(r==null)throw new h("customerId","Required parameter customerId was null or undefined when calling addressHistory.");if(t==null)throw new h("updateAddressHistoryAttributesDTO","Required parameter updateAddressHistoryAttributesDTO was null or undefined when calling addressHistory.");const n="/v2/orders/{orderId}/customers/{customerId}/actions/address-history".replace("{orderId}",encodeURIComponent(String(e))).replace("{customerId}",encodeURIComponent(String(r))),o=new URL(n,"http://placeholder");let i;a&&(i=a.baseOptions);const l={method:"PATCH",...i,...s},d={},c={};return d["Content-Type"]="application/json",Object.entries({...c,...s.query}).forEach(([A,m])=>{m!==void 0&&o.searchParams.set(A,String(m))}),l.headers={...d,...s.headers},l.data=JSON.stringify(t!==void 0?t:{}),{url:o.pathname+o.search,options:l}},confirm(e,r,t={}){if(e==null)throw new h("orderId","Required parameter orderId was null or undefined when calling confirm.");if(r==null)throw new h("customerId","Required parameter customerId was null or undefined when calling confirm.");const s="/v2/orders/{orderId}/customers/{customerId}/actions/confirm".replace("{orderId}",encodeURIComponent(String(e))).replace("{customerId}",encodeURIComponent(String(r))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"PATCH",...o,...t},l={};return Object.entries({...{},...t.query}).forEach(([c,A])=>{A!==void 0&&n.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},{url:n.pathname+n.search,options:i}},pay(e,r,t,s={}){if(e==null)throw new h("orderId","Required parameter orderId was null or undefined when calling pay.");if(r==null)throw new h("customerId","Required parameter customerId was null or undefined when calling pay.");const n="/v2/orders/{orderId}/customers/{customerId}/actions/pay".replace("{orderId}",encodeURIComponent(String(e))).replace("{customerId}",encodeURIComponent(String(r))),o=new URL(n,"http://placeholder");let i;a&&(i=a.baseOptions);const l={method:"GET",...i,...s},d={},c={};return t!==void 0&&(c.customerActionType=t),Object.entries({...c,...s.query}).forEach(([A,m])=>{m!==void 0&&o.searchParams.set(A,String(m))}),l.headers={...d,...s.headers},{url:o.pathname+o.search,options:l}},reference(e,r,t={}){if(e==null)throw new h("orderId","Required parameter orderId was null or undefined when calling reference.");if(r==null)throw new h("customerId","Required parameter customerId was null or undefined when calling reference.");const s="/v2/orders/{orderId}/customers/{customerId}/actions/reference".replace("{orderId}",encodeURIComponent(String(e))).replace("{customerId}",encodeURIComponent(String(r))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"POST",...o,...t},l={};return Object.entries({...{},...t.query}).forEach(([c,A])=>{A!==void 0&&n.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},{url:n.pathname+n.search,options:i}},sign(e,r,t={}){if(e==null)throw new h("orderId","Required parameter orderId was null or undefined when calling sign.");if(r==null)throw new h("customerId","Required parameter customerId was null or undefined when calling sign.");const s="/v2/orders/{orderId}/customers/{customerId}/actions/sign".replace("{orderId}",encodeURIComponent(String(e))).replace("{customerId}",encodeURIComponent(String(r))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"PATCH",...o,...t},l={};return Object.entries({...{},...t.query}).forEach(([c,A])=>{A!==void 0&&n.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},{url:n.pathname+n.search,options:i}},signAddendumForTenant(e,r,t={}){if(e==null)throw new h("orderId","Required parameter orderId was null or undefined when calling signAddendumForTenant.");if(r==null)throw new h("customerId","Required parameter customerId was null or undefined when calling signAddendumForTenant.");const s="/v2/orders/{orderId}/customers/{customerId}/actions/sign-addendum".replace("{orderId}",encodeURIComponent(String(e))).replace("{customerId}",encodeURIComponent(String(r))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"PATCH",...o,...t},l={};return Object.entries({...{},...t.query}).forEach(([c,A])=>{A!==void 0&&n.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},{url:n.pathname+n.search,options:i}}}},T=function(a){return{aboutYou(e,r,t,s){const n=b(a).aboutYou(e,r,t,s);return(o=p,i=u)=>{const l={...n.options,url:i+n.url};return o.request(l)}},addressHistory(e,r,t,s){const n=b(a).addressHistory(e,r,t,s);return(o=p,i=u)=>{const l={...n.options,url:i+n.url};return o.request(l)}},confirm(e,r,t){const s=b(a).confirm(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},pay(e,r,t,s){const n=b(a).pay(e,r,t,s);return(o=p,i=u)=>{const l={...n.options,url:i+n.url};return o.request(l)}},reference(e,r,t){const s=b(a).reference(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},sign(e,r,t){const s=b(a).sign(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},signAddendumForTenant(e,r,t){const s=b(a).signAddendumForTenant(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}}}},Ol=function(a,e,r){return{aboutYou(t,s,n,o){return T(a).aboutYou(t,s,n,o)(r,e)},addressHistory(t,s,n,o){return T(a).addressHistory(t,s,n,o)(r,e)},confirm(t,s,n){return T(a).confirm(t,s,n)(r,e)},pay(t,s,n,o){return T(a).pay(t,s,n,o)(r,e)},reference(t,s,n){return T(a).reference(t,s,n)(r,e)},sign(t,s,n){return T(a).sign(t,s,n)(r,e)},signAddendumForTenant(t,s,n){return T(a).signAddendumForTenant(t,s,n)(r,e)}}};class yl extends R{aboutYou(e,r,t,s){return T(this.configuration).aboutYou(e,r,t,s)(this.axios,this.basePath)}addressHistory(e,r,t,s){return T(this.configuration).addressHistory(e,r,t,s)(this.axios,this.basePath)}confirm(e,r,t){return T(this.configuration).confirm(e,r,t)(this.axios,this.basePath)}pay(e,r,t,s){return T(this.configuration).pay(e,r,t,s)(this.axios,this.basePath)}reference(e,r,t){return T(this.configuration).reference(e,r,t)(this.axios,this.basePath)}sign(e,r,t){return T(this.configuration).sign(e,r,t)(this.axios,this.basePath)}signAddendumForTenant(e,r,t){return T(this.configuration).signAddendumForTenant(e,r,t)(this.axios,this.basePath)}}async function El(a,e,r,t,s=p,n=u,o){const i=b(t).aboutYou(a,e,r,o),l={...i.options,url:n+i.url};return(await s.request(l)).data}async function Vl(a,e,r,t,s=p,n=u,o){const i=b(t).addressHistory(a,e,r,o),l={...i.options,url:n+i.url};return(await s.request(l)).data}async function Cl(a,e,r,t=p,s=u,n){const o=b(r).confirm(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function ql(a,e,r,t,s=p,n=u,o){const i=b(t).pay(a,e,r,o),l={...i.options,url:n+i.url};return(await s.request(l)).data}async function _l(a,e,r,t=p,s=u,n){const o=b(r).reference(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function vl(a,e,r,t=p,s=u,n){const o=b(r).sign(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function bl(a,e,r,t=p,s=u,n){const o=b(r).signAddendumForTenant(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}const Be=function(a){return{getOrderCustomerById(e,r,t={}){if(e==null)throw new h("orderId","Required parameter orderId was null or undefined when calling getOrderCustomerById.");if(r==null)throw new h("customerId","Required parameter customerId was null or undefined when calling getOrderCustomerById.");const s="/v2/orders/{orderId}/customers/{customerId}".replace("{orderId}",encodeURIComponent(String(e))).replace("{customerId}",encodeURIComponent(String(r))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"GET",...o,...t},l={};return Object.entries({...{},...t.query}).forEach(([c,A])=>{A!==void 0&&n.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},{url:n.pathname+n.search,options:i}},getTenancyUserById(e,r,t={}){if(e==null)throw new h("orderId","Required parameter orderId was null or undefined when calling getTenancyUserById.");if(r==null)throw new h("customerId","Required parameter customerId was null or undefined when calling getTenancyUserById.");const s="/v2/orders/{orderId}/customers/{customerId}/tenancy-user".replace("{orderId}",encodeURIComponent(String(e))).replace("{customerId}",encodeURIComponent(String(r))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"GET",...o,...t},l={};return Object.entries({...{},...t.query}).forEach(([c,A])=>{A!==void 0&&n.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},{url:n.pathname+n.search,options:i}},paymentCardChecks(e,r,t,s={}){if(e==null)throw new h("orderId","Required parameter orderId was null or undefined when calling paymentCardChecks.");if(r==null)throw new h("customerId","Required parameter customerId was null or undefined when calling paymentCardChecks.");if(t==null)throw new h("paymentMethodChecksRequestDTO","Required parameter paymentMethodChecksRequestDTO was null or undefined when calling paymentCardChecks.");const n="/v2/orders/{orderId}/customers/{customerId}/payment-card-checks".replace("{orderId}",encodeURIComponent(String(e))).replace("{customerId}",encodeURIComponent(String(r))),o=new URL(n,"http://placeholder");let i;a&&(i=a.baseOptions);const l={method:"POST",...i,...s},d={},c={};return d["Content-Type"]="application/json",Object.entries({...c,...s.query}).forEach(([A,m])=>{m!==void 0&&o.searchParams.set(A,String(m))}),l.headers={...d,...s.headers},l.data=JSON.stringify(t!==void 0?t:{}),{url:o.pathname+o.search,options:l}}}},je=function(a){return{getOrderCustomerById(e,r,t){const s=Be(a).getOrderCustomerById(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},getTenancyUserById(e,r,t){const s=Be(a).getTenancyUserById(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},paymentCardChecks(e,r,t,s){const n=Be(a).paymentCardChecks(e,r,t,s);return(o=p,i=u)=>{const l={...n.options,url:i+n.url};return o.request(l)}}}},Tl=function(a,e,r){return{getOrderCustomerById(t,s,n){return je(a).getOrderCustomerById(t,s,n)(r,e)},getTenancyUserById(t,s,n){return je(a).getTenancyUserById(t,s,n)(r,e)},paymentCardChecks(t,s,n,o){return je(a).paymentCardChecks(t,s,n,o)(r,e)}}};class Sl extends R{getOrderCustomerById(e,r,t){return je(this.configuration).getOrderCustomerById(e,r,t)(this.axios,this.basePath)}getTenancyUserById(e,r,t){return je(this.configuration).getTenancyUserById(e,r,t)(this.axios,this.basePath)}paymentCardChecks(e,r,t,s){return je(this.configuration).paymentCardChecks(e,r,t,s)(this.axios,this.basePath)}}async function Nl(a,e,r,t=p,s=u,n){const o=Be(r).getOrderCustomerById(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function xl(a,e,r,t=p,s=u,n){const o=Be(r).getTenancyUserById(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function Ul(a,e,r,t,s=p,n=u,o){const i=Be(t).paymentCardChecks(a,e,r,o),l={...i.options,url:n+i.url};return(await s.request(l)).data}const pr=function(a){return{duplicatePaymentMethodCheck(e,r,t={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling duplicatePaymentMethodCheck.");if(r==null)throw new h("duplicatePaymentMethodCheckDTO","Required parameter duplicatePaymentMethodCheckDTO was null or undefined when calling duplicatePaymentMethodCheck.");const s="/v2/orders/{id}/duplicate-payment-method-check".replace("{id}",encodeURIComponent(String(e))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"POST",...o,...t},l={},d={};return l["Content-Type"]="application/json",Object.entries({...d,...t.query}).forEach(([c,A])=>{A!==void 0&&n.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:n.pathname+n.search,options:i}},getAmountRemaining(e,r,t={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling getAmountRemaining.");if(r==null)throw new h("includeInterest","Required parameter includeInterest was null or undefined when calling getAmountRemaining.");const s="/v2/orders/{id}/amount-remaining".replace("{id}",encodeURIComponent(String(e))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"GET",...o,...t},l={},d={};return r!==void 0&&(d.includeInterest=r),Object.entries({...d,...t.query}).forEach(([c,A])=>{A!==void 0&&n.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},{url:n.pathname+n.search,options:i}}}},hr=function(a){return{duplicatePaymentMethodCheck(e,r,t){const s=pr(a).duplicatePaymentMethodCheck(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},getAmountRemaining(e,r,t){const s=pr(a).getAmountRemaining(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}}}},Dl=function(a,e,r){return{duplicatePaymentMethodCheck(t,s,n){return hr(a).duplicatePaymentMethodCheck(t,s,n)(r,e)},getAmountRemaining(t,s,n){return hr(a).getAmountRemaining(t,s,n)(r,e)}}};class Ll extends R{duplicatePaymentMethodCheck(e,r,t){return hr(this.configuration).duplicatePaymentMethodCheck(e,r,t)(this.axios,this.basePath)}getAmountRemaining(e,r,t){return hr(this.configuration).getAmountRemaining(e,r,t)(this.axios,this.basePath)}}async function Bl(a,e,r,t=p,s=u,n){const o=pr(r).duplicatePaymentMethodCheck(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function jl(a,e,r,t=p,s=u,n){const o=pr(r).getAmountRemaining(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}const Fe=function(a){return{create(e,r,t={}){if(e==null)throw new h("organizationId","Required parameter organizationId was null or undefined when calling create.");if(r==null)throw new h("createOrganizationBankAccountDTO","Required parameter createOrganizationBankAccountDTO was null or undefined when calling create.");const s="/v2/organizations/{organizationId}/bank-accounts".replace("{organizationId}",encodeURIComponent(String(e))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"POST",...o,...t},l={},d={};return l["Content-Type"]="application/json",Object.entries({...d,...t.query}).forEach(([c,A])=>{A!==void 0&&n.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:n.pathname+n.search,options:i}},deleteBankAccount(e,r,t={}){if(e==null)throw new h("organizationId","Required parameter organizationId was null or undefined when calling deleteBankAccount.");if(r==null)throw new h("id","Required parameter id was null or undefined when calling deleteBankAccount.");const s="/v2/organizations/{organizationId}/bank-accounts/{id}".replace("{organizationId}",encodeURIComponent(String(e))).replace("{id}",encodeURIComponent(String(r))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"DELETE",...o,...t},l={};return Object.entries({...{},...t.query}).forEach(([c,A])=>{A!==void 0&&n.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},{url:n.pathname+n.search,options:i}},getBankAccounts(e,r={}){if(e==null)throw new h("organizationId","Required parameter organizationId was null or undefined when calling getBankAccounts.");const t="/v2/organizations/{organizationId}/bank-accounts".replace("{organizationId}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}}}},Me=function(a){return{create(e,r,t){const s=Fe(a).create(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},deleteBankAccount(e,r,t){const s=Fe(a).deleteBankAccount(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},getBankAccounts(e,r){const t=Fe(a).getBankAccounts(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}}}},Fl=function(a,e,r){return{create(t,s,n){return Me(a).create(t,s,n)(r,e)},deleteBankAccount(t,s,n){return Me(a).deleteBankAccount(t,s,n)(r,e)},getBankAccounts(t,s){return Me(a).getBankAccounts(t,s)(r,e)}}};class Ml extends R{create(e,r,t){return Me(this.configuration).create(e,r,t)(this.axios,this.basePath)}deleteBankAccount(e,r,t){return Me(this.configuration).deleteBankAccount(e,r,t)(this.axios,this.basePath)}getBankAccounts(e,r){return Me(this.configuration).getBankAccounts(e,r)(this.axios,this.basePath)}}async function Hl(a,e,r,t=p,s=u,n){const o=Fe(r).create(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function Gl(a,e,r,t=p,s=u,n){const o=Fe(r).deleteBankAccount(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function Ql(a,e,r=p,t=u,s){const n=Fe(e).getBankAccounts(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}const et=function(a){return{getOwners(e,r={}){if(e==null)throw new h("organizationId","Required parameter organizationId was null or undefined when calling getOwners.");const t="/v2/organizations/{organizationId}/internal-owners".replace("{organizationId}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}}}},rt=function(a){return{getOwners(e,r){const t=et(a).getOwners(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}}}},zl=function(a,e,r){return{getOwners(t,s){return rt(a).getOwners(t,s)(r,e)}}};class kl extends R{getOwners(e,r){return rt(this.configuration).getOwners(e,r)(this.axios,this.basePath)}}async function Yl(a,e,r=p,t=u,s){const n=et(e).getOwners(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}const oe=function(a){return{acceptOrganizationInvite(e,r,t={}){if(e==null)throw new h("token","Required parameter token was null or undefined when calling acceptOrganizationInvite.");if(r==null)throw new h("organizationId","Required parameter organizationId was null or undefined when calling acceptOrganizationInvite.");const s="/v2/organizations/{organizationId}/invites/accept".replace("{organizationId}",encodeURIComponent(String(r))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"GET",...o,...t},l={},d={};return e!==void 0&&(d.token=e),Object.entries({...d,...t.query}).forEach(([c,A])=>{A!==void 0&&n.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},{url:n.pathname+n.search,options:i}},createOrganizationInvite(e,r,t={}){if(e==null)throw new h("organizationId","Required parameter organizationId was null or undefined when calling createOrganizationInvite.");if(r==null)throw new h("createOrganizationInviteDTO","Required parameter createOrganizationInviteDTO was null or undefined when calling createOrganizationInvite.");const s="/v2/organizations/{organizationId}/invites".replace("{organizationId}",encodeURIComponent(String(e))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"POST",...o,...t},l={},d={};return l["Content-Type"]="application/json",Object.entries({...d,...t.query}).forEach(([c,A])=>{A!==void 0&&n.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:n.pathname+n.search,options:i}},deleteInvite(e,r,t={}){if(e==null)throw new h("organizationInviteId","Required parameter organizationInviteId was null or undefined when calling deleteInvite.");if(r==null)throw new h("organizationId","Required parameter organizationId was null or undefined when calling deleteInvite.");const s="/v2/organizations/{organizationId}/invites/{organizationInviteId}".replace("{organizationInviteId}",encodeURIComponent(String(e))).replace("{organizationId}",encodeURIComponent(String(r))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"DELETE",...o,...t},l={};return Object.entries({...{},...t.query}).forEach(([c,A])=>{A!==void 0&&n.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},{url:n.pathname+n.search,options:i}},fetchInvitesByOrganizationId(e,r,t={}){if(e==null)throw new h("organizationId","Required parameter organizationId was null or undefined when calling fetchInvitesByOrganizationId.");const s="/v2/organizations/{organizationId}/invites".replace("{organizationId}",encodeURIComponent(String(e))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"GET",...o,...t},l={},d={};return r!==void 0&&(d.accepted=r),Object.entries({...d,...t.query}).forEach(([c,A])=>{A!==void 0&&n.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},{url:n.pathname+n.search,options:i}},resendOrganizationInvite(e,r,t={}){if(e==null)throw new h("organizationInviteId","Required parameter organizationInviteId was null or undefined when calling resendOrganizationInvite.");if(r==null)throw new h("organizationId","Required parameter organizationId was null or undefined when calling resendOrganizationInvite.");const s="/v2/organizations/{organizationId}/invites/{organizationInviteId}/resend".replace("{organizationInviteId}",encodeURIComponent(String(e))).replace("{organizationId}",encodeURIComponent(String(r))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"POST",...o,...t},l={};return Object.entries({...{},...t.query}).forEach(([c,A])=>{A!==void 0&&n.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},{url:n.pathname+n.search,options:i}}}},ie=function(a){return{acceptOrganizationInvite(e,r,t){const s=oe(a).acceptOrganizationInvite(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},createOrganizationInvite(e,r,t){const s=oe(a).createOrganizationInvite(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},deleteInvite(e,r,t){const s=oe(a).deleteInvite(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},fetchInvitesByOrganizationId(e,r,t){const s=oe(a).fetchInvitesByOrganizationId(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},resendOrganizationInvite(e,r,t){const s=oe(a).resendOrganizationInvite(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}}}},$l=function(a,e,r){return{acceptOrganizationInvite(t,s,n){return ie(a).acceptOrganizationInvite(t,s,n)(r,e)},createOrganizationInvite(t,s,n){return ie(a).createOrganizationInvite(t,s,n)(r,e)},deleteInvite(t,s,n){return ie(a).deleteInvite(t,s,n)(r,e)},fetchInvitesByOrganizationId(t,s,n){return ie(a).fetchInvitesByOrganizationId(t,s,n)(r,e)},resendOrganizationInvite(t,s,n){return ie(a).resendOrganizationInvite(t,s,n)(r,e)}}};class Wl extends R{acceptOrganizationInvite(e,r,t){return ie(this.configuration).acceptOrganizationInvite(e,r,t)(this.axios,this.basePath)}createOrganizationInvite(e,r,t){return ie(this.configuration).createOrganizationInvite(e,r,t)(this.axios,this.basePath)}deleteInvite(e,r,t){return ie(this.configuration).deleteInvite(e,r,t)(this.axios,this.basePath)}fetchInvitesByOrganizationId(e,r,t){return ie(this.configuration).fetchInvitesByOrganizationId(e,r,t)(this.axios,this.basePath)}resendOrganizationInvite(e,r,t){return ie(this.configuration).resendOrganizationInvite(e,r,t)(this.axios,this.basePath)}}async function Jl(a,e,r,t=p,s=u,n){const o=oe(r).acceptOrganizationInvite(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function Kl(a,e,r,t=p,s=u,n){const o=oe(r).createOrganizationInvite(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function Xl(a,e,r,t=p,s=u,n){const o=oe(r).deleteInvite(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function Zl(a,e,r,t=p,s=u,n){const o=oe(r).fetchInvitesByOrganizationId(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function ec(a,e,r,t=p,s=u,n){const o=oe(r).resendOrganizationInvite(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}const Ar=function(a){return{createOrganizationRecipient(e,r,t={}){if(e==null)throw new h("organizationId","Required parameter organizationId was null or undefined when calling createOrganizationRecipient.");if(r==null)throw new h("createOrganizationRecipientDTO","Required parameter createOrganizationRecipientDTO was null or undefined when calling createOrganizationRecipient.");const s="/v2/organizations/{organizationId}/recipients".replace("{organizationId}",encodeURIComponent(String(e))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"POST",...o,...t},l={},d={};return l["Content-Type"]="application/json",Object.entries({...d,...t.query}).forEach(([c,A])=>{A!==void 0&&n.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:n.pathname+n.search,options:i}},deleteOrganizationRecipient(e,r,t={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling deleteOrganizationRecipient.");if(r==null)throw new h("organizationId","Required parameter organizationId was null or undefined when calling deleteOrganizationRecipient.");const s="/v2/organizations/{organizationId}/recipients/{id}".replace("{id}",encodeURIComponent(String(e))).replace("{organizationId}",encodeURIComponent(String(r))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"DELETE",...o,...t},l={};return Object.entries({...{},...t.query}).forEach(([c,A])=>{A!==void 0&&n.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},{url:n.pathname+n.search,options:i}}}},mr=function(a){return{createOrganizationRecipient(e,r,t){const s=Ar(a).createOrganizationRecipient(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},deleteOrganizationRecipient(e,r,t){const s=Ar(a).deleteOrganizationRecipient(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}}}},rc=function(a,e,r){return{createOrganizationRecipient(t,s,n){return mr(a).createOrganizationRecipient(t,s,n)(r,e)},deleteOrganizationRecipient(t,s,n){return mr(a).deleteOrganizationRecipient(t,s,n)(r,e)}}};class tc extends R{createOrganizationRecipient(e,r,t){return mr(this.configuration).createOrganizationRecipient(e,r,t)(this.axios,this.basePath)}deleteOrganizationRecipient(e,r,t){return mr(this.configuration).deleteOrganizationRecipient(e,r,t)(this.axios,this.basePath)}}async function ac(a,e,r,t=p,s=u,n){const o=Ar(r).createOrganizationRecipient(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function sc(a,e,r,t=p,s=u,n){const o=Ar(r).deleteOrganizationRecipient(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}const He=function(a){return{grantRoles(e,r,t={}){if(e==null)throw new h("userId","Required parameter userId was null or undefined when calling grantRoles.");if(r==null)throw new h("organizationId","Required parameter organizationId was null or undefined when calling grantRoles.");const s="/v2/organizations/{organizationId}/users/{userId}/grant-roles".replace("{userId}",encodeURIComponent(String(e))).replace("{organizationId}",encodeURIComponent(String(r))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"POST",...o,...t},l={};return Object.entries({...{},...t.query}).forEach(([c,A])=>{A!==void 0&&n.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},{url:n.pathname+n.search,options:i}},notifyIntegrator(e,r,t,s={}){if(e==null)throw new h("userId","Required parameter userId was null or undefined when calling notifyIntegrator.");if(r==null)throw new h("organizationId","Required parameter organizationId was null or undefined when calling notifyIntegrator.");if(t==null)throw new h("notifyIntegratorDTO","Required parameter notifyIntegratorDTO was null or undefined when calling notifyIntegrator.");const n="/v2/organizations/{organizationId}/users/{userId}/notify-integrator".replace("{userId}",encodeURIComponent(String(e))).replace("{organizationId}",encodeURIComponent(String(r))),o=new URL(n,"http://placeholder");let i;a&&(i=a.baseOptions);const l={method:"POST",...i,...s},d={},c={};return d["Content-Type"]="application/json",Object.entries({...c,...s.query}).forEach(([A,m])=>{m!==void 0&&o.searchParams.set(A,String(m))}),l.headers={...d,...s.headers},l.data=JSON.stringify(t!==void 0?t:{}),{url:o.pathname+o.search,options:l}},revokeRoles(e,r,t={}){if(e==null)throw new h("userId","Required parameter userId was null or undefined when calling revokeRoles.");if(r==null)throw new h("organizationId","Required parameter organizationId was null or undefined when calling revokeRoles.");const s="/v2/organizations/{organizationId}/users/{userId}/revoke-roles".replace("{userId}",encodeURIComponent(String(e))).replace("{organizationId}",encodeURIComponent(String(r))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"DELETE",...o,...t},l={};return Object.entries({...{},...t.query}).forEach(([c,A])=>{A!==void 0&&n.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},{url:n.pathname+n.search,options:i}}}},Ge=function(a){return{grantRoles(e,r,t){const s=He(a).grantRoles(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},notifyIntegrator(e,r,t,s){const n=He(a).notifyIntegrator(e,r,t,s);return(o=p,i=u)=>{const l={...n.options,url:i+n.url};return o.request(l)}},revokeRoles(e,r,t){const s=He(a).revokeRoles(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}}}},nc=function(a,e,r){return{grantRoles(t,s,n){return Ge(a).grantRoles(t,s,n)(r,e)},notifyIntegrator(t,s,n,o){return Ge(a).notifyIntegrator(t,s,n,o)(r,e)},revokeRoles(t,s,n){return Ge(a).revokeRoles(t,s,n)(r,e)}}};class oc extends R{grantRoles(e,r,t){return Ge(this.configuration).grantRoles(e,r,t)(this.axios,this.basePath)}notifyIntegrator(e,r,t,s){return Ge(this.configuration).notifyIntegrator(e,r,t,s)(this.axios,this.basePath)}revokeRoles(e,r,t){return Ge(this.configuration).revokeRoles(e,r,t)(this.axios,this.basePath)}}async function ic(a,e,r,t=p,s=u,n){const o=He(r).grantRoles(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function lc(a,e,r,t,s=p,n=u,o){const i=He(t).notifyIntegrator(a,e,r,o),l={...i.options,url:n+i.url};return(await s.request(l)).data}async function cc(a,e,r,t=p,s=u,n){const o=He(r).revokeRoles(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}const g=function(a){return{confirmBankAccounts(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling confirmBankAccounts.");const t="/v2/organizations/{id}/onboarding/bank-accounts".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"PATCH",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},createOrganization(e,r={}){if(e==null)throw new h("createOrganizationDTO","Required parameter createOrganizationDTO was null or undefined when calling createOrganization.");const t="/v2/organizations",s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"POST",...n,...r},i={},l={};return i["Content-Type"]="application/json",Object.entries({...l,...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},o.data=JSON.stringify(e!==void 0?e:{}),{url:s.pathname+s.search,options:o}},disableProductCreation(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling disableProductCreation.");const t="/v2/organizations/{id}/disable".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"PATCH",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},dismissOrganizationMessage(e,r,t={}){if(e==null)throw new h("messageId","Required parameter messageId was null or undefined when calling dismissOrganizationMessage.");if(r==null)throw new h("id","Required parameter id was null or undefined when calling dismissOrganizationMessage.");const s="/v2/organizations/{id}/messages/{messageId}/dismiss".replace("{messageId}",encodeURIComponent(String(e))).replace("{id}",encodeURIComponent(String(r))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"POST",...o,...t},l={};return Object.entries({...{},...t.query}).forEach(([c,A])=>{A!==void 0&&n.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},{url:n.pathname+n.search,options:i}},enableProductCreation(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling enableProductCreation.");const t="/v2/organizations/{id}/enable".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"PATCH",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},fetchAddressesByOrganizationId(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling fetchAddressesByOrganizationId.");const t="/v2/organizations/{id}/addresses".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},fetchLandlordsByOrganizationId(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling fetchLandlordsByOrganizationId.");const t="/v2/organizations/{id}/landlords".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},fetchOrganizationUsersByOrganizationId(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling fetchOrganizationUsersByOrganizationId.");const t="/v2/organizations/{id}/organization-users".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},fetchPropertiesByOrganizationId(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling fetchPropertiesByOrganizationId.");const t="/v2/organizations/{id}/properties".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},fetchTenanciesByOrganizationId(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling fetchTenanciesByOrganizationId.");const t="/v2/organizations/{id}/tenancies".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},fetchUsersByOrganizationId(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling fetchUsersByOrganizationId.");const t="/v2/organizations/{id}/users".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},findOrganizationById(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling findOrganizationById.");const t="/v2/organizations/{id}".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},getCashDepositScheme(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling getCashDepositScheme.");const t="/v2/organizations/{id}/cash-deposit-scheme".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},getChildren(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling getChildren.");const t="/v2/organizations/{id}/children".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},getOrganizationMetrics(e,r={}){if(e==null)throw new h("organizationId","Required parameter organizationId was null or undefined when calling getOrganizationMetrics.");const t="/v2/organizations/{organizationId}/metrics".replace("{organizationId}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},getOrganizationVerticals(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling getOrganizationVerticals.");const t="/v2/organizations/{id}/verticals".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},getRecipients(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling getRecipients.");const t="/v2/organizations/{id}/recipients".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},removeUser(e,r,t={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling removeUser.");if(r==null)throw new h("userId","Required parameter userId was null or undefined when calling removeUser.");const s="/v2/organizations/{id}/users/{userId}".replace("{id}",encodeURIComponent(String(e))).replace("{userId}",encodeURIComponent(String(r))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"DELETE",...o,...t},l={};return Object.entries({...{},...t.query}).forEach(([c,A])=>{A!==void 0&&n.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},{url:n.pathname+n.search,options:i}},searchOrganization(e,r,t,s,n,o={}){if(e==null)throw new h("organizationTypeId","Required parameter organizationTypeId was null or undefined when calling searchOrganization.");if(r==null)throw new h("page","Required parameter page was null or undefined when calling searchOrganization.");if(t==null)throw new h("size","Required parameter size was null or undefined when calling searchOrganization.");const i="/v2/organizations",l=new URL(i,"http://placeholder");let d;a&&(d=a.baseOptions);const c={method:"GET",...d,...o},A={},m={};return s!==void 0&&(m.query=s),e!==void 0&&(m.organizationTypeId=e),n!==void 0&&(m.sortBy=n),r!==void 0&&(m.page=r),t!==void 0&&(m.size=t),Object.entries({...m,...o.query}).forEach(([I,P])=>{P!==void 0&&l.searchParams.set(I,String(P))}),c.headers={...A,...o.headers},{url:l.pathname+l.search,options:c}},setLandlordInformationComplete(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling setLandlordInformationComplete.");const t="/v2/organizations/{id}/onboarding/landlord-information".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"PATCH",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},updateASTAcceptance(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling updateASTAcceptance.");const t="/v2/organizations/{id}/onboarding/ast".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"PATCH",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},updateInformedLandlords(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling updateInformedLandlords.");const t="/v2/organizations/{id}/onboarding/informed-landlords".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"PATCH",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},updateOrganization(e,r,t={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling updateOrganization.");if(r==null)throw new h("updateOrganizationDTO","Required parameter updateOrganizationDTO was null or undefined when calling updateOrganization.");const s="/v2/organizations/{id}".replace("{id}",encodeURIComponent(String(e))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"PATCH",...o,...t},l={},d={};return l["Content-Type"]="application/json",Object.entries({...d,...t.query}).forEach(([c,A])=>{A!==void 0&&n.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:n.pathname+n.search,options:i}},updateOrganizationNotes(e,r,t={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling updateOrganizationNotes.");if(r==null)throw new h("updateOrganizationNotesDTO","Required parameter updateOrganizationNotesDTO was null or undefined when calling updateOrganizationNotes.");const s="/v2/organizations/{id}/notes".replace("{id}",encodeURIComponent(String(e))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"PATCH",...o,...t},l={},d={};return l["Content-Type"]="application/json",Object.entries({...d,...t.query}).forEach(([c,A])=>{A!==void 0&&n.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:n.pathname+n.search,options:i}},updateTermsAccepted(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling updateTermsAccepted.");const t="/v2/organizations/{id}/onboarding/terms".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"PATCH",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},updateYourCompany(e,r,t={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling updateYourCompany.");if(r==null)throw new h("updateYourCompanyDTO","Required parameter updateYourCompanyDTO was null or undefined when calling updateYourCompany.");const s="/v2/organizations/{id}/onboarding/your-company".replace("{id}",encodeURIComponent(String(e))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"PATCH",...o,...t},l={},d={};return l["Content-Type"]="application/json",Object.entries({...d,...t.query}).forEach(([c,A])=>{A!==void 0&&n.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:n.pathname+n.search,options:i}},welcomeLandlord(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling welcomeLandlord.");const t="/v2/organizations/{id}/onboarding/welcome-landlord".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"PATCH",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}}}},w=function(a){return{confirmBankAccounts(e,r){const t=g(a).confirmBankAccounts(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},createOrganization(e,r){const t=g(a).createOrganization(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},disableProductCreation(e,r){const t=g(a).disableProductCreation(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},dismissOrganizationMessage(e,r,t){const s=g(a).dismissOrganizationMessage(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},enableProductCreation(e,r){const t=g(a).enableProductCreation(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},fetchAddressesByOrganizationId(e,r){const t=g(a).fetchAddressesByOrganizationId(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},fetchLandlordsByOrganizationId(e,r){const t=g(a).fetchLandlordsByOrganizationId(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},fetchOrganizationUsersByOrganizationId(e,r){const t=g(a).fetchOrganizationUsersByOrganizationId(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},fetchPropertiesByOrganizationId(e,r){const t=g(a).fetchPropertiesByOrganizationId(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},fetchTenanciesByOrganizationId(e,r){const t=g(a).fetchTenanciesByOrganizationId(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},fetchUsersByOrganizationId(e,r){const t=g(a).fetchUsersByOrganizationId(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},findOrganizationById(e,r){const t=g(a).findOrganizationById(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},getCashDepositScheme(e,r){const t=g(a).getCashDepositScheme(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},getChildren(e,r){const t=g(a).getChildren(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},getOrganizationMetrics(e,r){const t=g(a).getOrganizationMetrics(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},getOrganizationVerticals(e,r){const t=g(a).getOrganizationVerticals(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},getRecipients(e,r){const t=g(a).getRecipients(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},removeUser(e,r,t){const s=g(a).removeUser(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},searchOrganization(e,r,t,s,n,o){const i=g(a).searchOrganization(e,r,t,s,n,o);return(l=p,d=u)=>{const c={...i.options,url:d+i.url};return l.request(c)}},setLandlordInformationComplete(e,r){const t=g(a).setLandlordInformationComplete(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},updateASTAcceptance(e,r){const t=g(a).updateASTAcceptance(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},updateInformedLandlords(e,r){const t=g(a).updateInformedLandlords(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},updateOrganization(e,r,t){const s=g(a).updateOrganization(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},updateOrganizationNotes(e,r,t){const s=g(a).updateOrganizationNotes(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},updateTermsAccepted(e,r){const t=g(a).updateTermsAccepted(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},updateYourCompany(e,r,t){const s=g(a).updateYourCompany(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},welcomeLandlord(e,r){const t=g(a).welcomeLandlord(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}}}},dc=function(a,e,r){return{confirmBankAccounts(t,s){return w(a).confirmBankAccounts(t,s)(r,e)},createOrganization(t,s){return w(a).createOrganization(t,s)(r,e)},disableProductCreation(t,s){return w(a).disableProductCreation(t,s)(r,e)},dismissOrganizationMessage(t,s,n){return w(a).dismissOrganizationMessage(t,s,n)(r,e)},enableProductCreation(t,s){return w(a).enableProductCreation(t,s)(r,e)},fetchAddressesByOrganizationId(t,s){return w(a).fetchAddressesByOrganizationId(t,s)(r,e)},fetchLandlordsByOrganizationId(t,s){return w(a).fetchLandlordsByOrganizationId(t,s)(r,e)},fetchOrganizationUsersByOrganizationId(t,s){return w(a).fetchOrganizationUsersByOrganizationId(t,s)(r,e)},fetchPropertiesByOrganizationId(t,s){return w(a).fetchPropertiesByOrganizationId(t,s)(r,e)},fetchTenanciesByOrganizationId(t,s){return w(a).fetchTenanciesByOrganizationId(t,s)(r,e)},fetchUsersByOrganizationId(t,s){return w(a).fetchUsersByOrganizationId(t,s)(r,e)},findOrganizationById(t,s){return w(a).findOrganizationById(t,s)(r,e)},getCashDepositScheme(t,s){return w(a).getCashDepositScheme(t,s)(r,e)},getChildren(t,s){return w(a).getChildren(t,s)(r,e)},getOrganizationMetrics(t,s){return w(a).getOrganizationMetrics(t,s)(r,e)},getOrganizationVerticals(t,s){return w(a).getOrganizationVerticals(t,s)(r,e)},getRecipients(t,s){return w(a).getRecipients(t,s)(r,e)},removeUser(t,s,n){return w(a).removeUser(t,s,n)(r,e)},searchOrganization(t,s,n,o,i,l){return w(a).searchOrganization(t,s,n,o,i,l)(r,e)},setLandlordInformationComplete(t,s){return w(a).setLandlordInformationComplete(t,s)(r,e)},updateASTAcceptance(t,s){return w(a).updateASTAcceptance(t,s)(r,e)},updateInformedLandlords(t,s){return w(a).updateInformedLandlords(t,s)(r,e)},updateOrganization(t,s,n){return w(a).updateOrganization(t,s,n)(r,e)},updateOrganizationNotes(t,s,n){return w(a).updateOrganizationNotes(t,s,n)(r,e)},updateTermsAccepted(t,s){return w(a).updateTermsAccepted(t,s)(r,e)},updateYourCompany(t,s,n){return w(a).updateYourCompany(t,s,n)(r,e)},welcomeLandlord(t,s){return w(a).welcomeLandlord(t,s)(r,e)}}};class uc extends R{confirmBankAccounts(e,r){return w(this.configuration).confirmBankAccounts(e,r)(this.axios,this.basePath)}createOrganization(e,r){return w(this.configuration).createOrganization(e,r)(this.axios,this.basePath)}disableProductCreation(e,r){return w(this.configuration).disableProductCreation(e,r)(this.axios,this.basePath)}dismissOrganizationMessage(e,r,t){return w(this.configuration).dismissOrganizationMessage(e,r,t)(this.axios,this.basePath)}enableProductCreation(e,r){return w(this.configuration).enableProductCreation(e,r)(this.axios,this.basePath)}fetchAddressesByOrganizationId(e,r){return w(this.configuration).fetchAddressesByOrganizationId(e,r)(this.axios,this.basePath)}fetchLandlordsByOrganizationId(e,r){return w(this.configuration).fetchLandlordsByOrganizationId(e,r)(this.axios,this.basePath)}fetchOrganizationUsersByOrganizationId(e,r){return w(this.configuration).fetchOrganizationUsersByOrganizationId(e,r)(this.axios,this.basePath)}fetchPropertiesByOrganizationId(e,r){return w(this.configuration).fetchPropertiesByOrganizationId(e,r)(this.axios,this.basePath)}fetchTenanciesByOrganizationId(e,r){return w(this.configuration).fetchTenanciesByOrganizationId(e,r)(this.axios,this.basePath)}fetchUsersByOrganizationId(e,r){return w(this.configuration).fetchUsersByOrganizationId(e,r)(this.axios,this.basePath)}findOrganizationById(e,r){return w(this.configuration).findOrganizationById(e,r)(this.axios,this.basePath)}getCashDepositScheme(e,r){return w(this.configuration).getCashDepositScheme(e,r)(this.axios,this.basePath)}getChildren(e,r){return w(this.configuration).getChildren(e,r)(this.axios,this.basePath)}getOrganizationMetrics(e,r){return w(this.configuration).getOrganizationMetrics(e,r)(this.axios,this.basePath)}getOrganizationVerticals(e,r){return w(this.configuration).getOrganizationVerticals(e,r)(this.axios,this.basePath)}getRecipients(e,r){return w(this.configuration).getRecipients(e,r)(this.axios,this.basePath)}removeUser(e,r,t){return w(this.configuration).removeUser(e,r,t)(this.axios,this.basePath)}searchOrganization(e,r,t,s,n,o){return w(this.configuration).searchOrganization(e,r,t,s,n,o)(this.axios,this.basePath)}setLandlordInformationComplete(e,r){return w(this.configuration).setLandlordInformationComplete(e,r)(this.axios,this.basePath)}updateASTAcceptance(e,r){return w(this.configuration).updateASTAcceptance(e,r)(this.axios,this.basePath)}updateInformedLandlords(e,r){return w(this.configuration).updateInformedLandlords(e,r)(this.axios,this.basePath)}updateOrganization(e,r,t){return w(this.configuration).updateOrganization(e,r,t)(this.axios,this.basePath)}updateOrganizationNotes(e,r,t){return w(this.configuration).updateOrganizationNotes(e,r,t)(this.axios,this.basePath)}updateTermsAccepted(e,r){return w(this.configuration).updateTermsAccepted(e,r)(this.axios,this.basePath)}updateYourCompany(e,r,t){return w(this.configuration).updateYourCompany(e,r,t)(this.axios,this.basePath)}welcomeLandlord(e,r){return w(this.configuration).welcomeLandlord(e,r)(this.axios,this.basePath)}}async function pc(a,e,r=p,t=u,s){const n=g(e).confirmBankAccounts(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function hc(a,e,r=p,t=u,s){const n=g(e).createOrganization(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function Ac(a,e,r=p,t=u,s){const n=g(e).disableProductCreation(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function mc(a,e,r,t=p,s=u,n){const o=g(r).dismissOrganizationMessage(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function Rc(a,e,r=p,t=u,s){const n=g(e).enableProductCreation(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function Ic(a,e,r=p,t=u,s){const n=g(e).fetchAddressesByOrganizationId(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function Pc(a,e,r=p,t=u,s){const n=g(e).fetchLandlordsByOrganizationId(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function gc(a,e,r=p,t=u,s){const n=g(e).fetchOrganizationUsersByOrganizationId(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function wc(a,e,r=p,t=u,s){const n=g(e).fetchPropertiesByOrganizationId(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function fc(a,e,r=p,t=u,s){const n=g(e).fetchTenanciesByOrganizationId(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function Oc(a,e,r=p,t=u,s){const n=g(e).fetchUsersByOrganizationId(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function yc(a,e,r=p,t=u,s){const n=g(e).findOrganizationById(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function Ec(a,e,r=p,t=u,s){const n=g(e).getCashDepositScheme(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function Vc(a,e,r=p,t=u,s){const n=g(e).getChildren(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function Cc(a,e,r=p,t=u,s){const n=g(e).getOrganizationMetrics(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function qc(a,e,r=p,t=u,s){const n=g(e).getOrganizationVerticals(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function _c(a,e,r=p,t=u,s){const n=g(e).getRecipients(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function vc(a,e,r,t=p,s=u,n){const o=g(r).removeUser(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function bc(a,e,r,t,s,n,o=p,i=u,l){const d=g(n).searchOrganization(a,e,r,t,s,l),c={...d.options,url:i+d.url};return(await o.request(c)).data}async function Tc(a,e,r=p,t=u,s){const n=g(e).setLandlordInformationComplete(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function Sc(a,e,r=p,t=u,s){const n=g(e).updateASTAcceptance(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function Nc(a,e,r=p,t=u,s){const n=g(e).updateInformedLandlords(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function xc(a,e,r,t=p,s=u,n){const o=g(r).updateOrganization(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function Uc(a,e,r,t=p,s=u,n){const o=g(r).updateOrganizationNotes(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function Dc(a,e,r=p,t=u,s){const n=g(e).updateTermsAccepted(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function Lc(a,e,r,t=p,s=u,n){const o=g(r).updateYourCompany(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function Bc(a,e,r=p,t=u,s){const n=g(e).welcomeLandlord(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}const Re=function(a){return{confirmPaymentPlan(e,r={}){if(e==null)throw new h("paymentPlanId","Required parameter paymentPlanId was null or undefined when calling confirmPaymentPlan.");const t="/v2/payment-plan/{paymentPlanId}/actions/confirm".replace("{paymentPlanId}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"PATCH",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},getPaymentPlanAction(e,r,t={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling getPaymentPlanAction.");if(r==null)throw new h("paymentPlanId","Required parameter paymentPlanId was null or undefined when calling getPaymentPlanAction.");const s="/v2/payment-plan/{paymentPlanId}/actions/{id}".replace("{id}",encodeURIComponent(String(e))).replace("{paymentPlanId}",encodeURIComponent(String(r))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"GET",...o,...t},l={};return Object.entries({...{},...t.query}).forEach(([c,A])=>{A!==void 0&&n.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},{url:n.pathname+n.search,options:i}},updateAddress(e,r,t={}){if(e==null)throw new h("paymentPlanId","Required parameter paymentPlanId was null or undefined when calling updateAddress.");if(r==null)throw new h("updateAddressHistoryAttributesDTO","Required parameter updateAddressHistoryAttributesDTO was null or undefined when calling updateAddress.");const s="/v2/payment-plan/{paymentPlanId}/actions/address".replace("{paymentPlanId}",encodeURIComponent(String(e))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"PATCH",...o,...t},l={},d={};return l["Content-Type"]="application/json",Object.entries({...d,...t.query}).forEach(([c,A])=>{A!==void 0&&n.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:n.pathname+n.search,options:i}},updateCardDetails(e,r,t={}){if(e==null)throw new h("paymentPlanId","Required parameter paymentPlanId was null or undefined when calling updateCardDetails.");if(r==null)throw new h("paymentMethodRequestDTO","Required parameter paymentMethodRequestDTO was null or undefined when calling updateCardDetails.");const s="/v2/payment-plan/{paymentPlanId}/actions/card-details".replace("{paymentPlanId}",encodeURIComponent(String(e))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"PATCH",...o,...t},l={},d={};return l["Content-Type"]="application/json",Object.entries({...d,...t.query}).forEach(([c,A])=>{A!==void 0&&n.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:n.pathname+n.search,options:i}}}},Ie=function(a){return{confirmPaymentPlan(e,r){const t=Re(a).confirmPaymentPlan(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},getPaymentPlanAction(e,r,t){const s=Re(a).getPaymentPlanAction(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},updateAddress(e,r,t){const s=Re(a).updateAddress(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},updateCardDetails(e,r,t){const s=Re(a).updateCardDetails(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}}}},jc=function(a,e,r){return{confirmPaymentPlan(t,s){return Ie(a).confirmPaymentPlan(t,s)(r,e)},getPaymentPlanAction(t,s,n){return Ie(a).getPaymentPlanAction(t,s,n)(r,e)},updateAddress(t,s,n){return Ie(a).updateAddress(t,s,n)(r,e)},updateCardDetails(t,s,n){return Ie(a).updateCardDetails(t,s,n)(r,e)}}};class Fc extends R{confirmPaymentPlan(e,r){return Ie(this.configuration).confirmPaymentPlan(e,r)(this.axios,this.basePath)}getPaymentPlanAction(e,r,t){return Ie(this.configuration).getPaymentPlanAction(e,r,t)(this.axios,this.basePath)}updateAddress(e,r,t){return Ie(this.configuration).updateAddress(e,r,t)(this.axios,this.basePath)}updateCardDetails(e,r,t){return Ie(this.configuration).updateCardDetails(e,r,t)(this.axios,this.basePath)}}async function Mc(a,e,r=p,t=u,s){const n=Re(e).confirmPaymentPlan(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function Hc(a,e,r,t=p,s=u,n){const o=Re(r).getPaymentPlanAction(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function Gc(a,e,r,t=p,s=u,n){const o=Re(r).updateAddress(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function Qc(a,e,r,t=p,s=u,n){const o=Re(r).updateCardDetails(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}const Qe=function(a){return{deferPaymentPlanInstalment(e,r,t,s={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling deferPaymentPlanInstalment.");if(r==null)throw new h("paymentPlanId","Required parameter paymentPlanId was null or undefined when calling deferPaymentPlanInstalment.");if(t==null)throw new h("deferPaymentPlanInstalmentDTO","Required parameter deferPaymentPlanInstalmentDTO was null or undefined when calling deferPaymentPlanInstalment.");const n="/v2/payment-plan/{paymentPlanId}/instalment/{id}/defer".replace("{id}",encodeURIComponent(String(e))).replace("{paymentPlanId}",encodeURIComponent(String(r))),o=new URL(n,"http://placeholder");let i;a&&(i=a.baseOptions);const l={method:"PATCH",...i,...s},d={},c={};return d["Content-Type"]="application/json",Object.entries({...c,...s.query}).forEach(([A,m])=>{m!==void 0&&o.searchParams.set(A,String(m))}),l.headers={...d,...s.headers},l.data=JSON.stringify(t!==void 0?t:{}),{url:o.pathname+o.search,options:l}},getInstalmentById(e,r,t={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling getInstalmentById.");if(r==null)throw new h("paymentPlanId","Required parameter paymentPlanId was null or undefined when calling getInstalmentById.");const s="/v2/payment-plan/{paymentPlanId}/instalment/{id}".replace("{id}",encodeURIComponent(String(e))).replace("{paymentPlanId}",encodeURIComponent(String(r))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"GET",...o,...t},l={};return Object.entries({...{},...t.query}).forEach(([c,A])=>{A!==void 0&&n.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},{url:n.pathname+n.search,options:i}},getInstalmentPaymentIntentSecret(e,r,t={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling getInstalmentPaymentIntentSecret.");if(r==null)throw new h("paymentPlanId","Required parameter paymentPlanId was null or undefined when calling getInstalmentPaymentIntentSecret.");const s="/v2/payment-plan/{paymentPlanId}/instalment/{id}/pay".replace("{id}",encodeURIComponent(String(e))).replace("{paymentPlanId}",encodeURIComponent(String(r))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"GET",...o,...t},l={};return Object.entries({...{},...t.query}).forEach(([c,A])=>{A!==void 0&&n.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},{url:n.pathname+n.search,options:i}}}},ze=function(a){return{deferPaymentPlanInstalment(e,r,t,s){const n=Qe(a).deferPaymentPlanInstalment(e,r,t,s);return(o=p,i=u)=>{const l={...n.options,url:i+n.url};return o.request(l)}},getInstalmentById(e,r,t){const s=Qe(a).getInstalmentById(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},getInstalmentPaymentIntentSecret(e,r,t){const s=Qe(a).getInstalmentPaymentIntentSecret(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}}}},zc=function(a,e,r){return{deferPaymentPlanInstalment(t,s,n,o){return ze(a).deferPaymentPlanInstalment(t,s,n,o)(r,e)},getInstalmentById(t,s,n){return ze(a).getInstalmentById(t,s,n)(r,e)},getInstalmentPaymentIntentSecret(t,s,n){return ze(a).getInstalmentPaymentIntentSecret(t,s,n)(r,e)}}};class kc extends R{deferPaymentPlanInstalment(e,r,t,s){return ze(this.configuration).deferPaymentPlanInstalment(e,r,t,s)(this.axios,this.basePath)}getInstalmentById(e,r,t){return ze(this.configuration).getInstalmentById(e,r,t)(this.axios,this.basePath)}getInstalmentPaymentIntentSecret(e,r,t){return ze(this.configuration).getInstalmentPaymentIntentSecret(e,r,t)(this.axios,this.basePath)}}async function Yc(a,e,r,t,s=p,n=u,o){const i=Qe(t).deferPaymentPlanInstalment(a,e,r,o),l={...i.options,url:n+i.url};return(await s.request(l)).data}async function $c(a,e,r,t=p,s=u,n){const o=Qe(r).getInstalmentById(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function Wc(a,e,r,t=p,s=u,n){const o=Qe(r).getInstalmentPaymentIntentSecret(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}const B=function(a){return{changeInstalmentDates(e,r,t={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling changeInstalmentDates.");if(r==null)throw new h("changeInstalmentDatesDTO","Required parameter changeInstalmentDatesDTO was null or undefined when calling changeInstalmentDates.");const s="/v2/payment-plan/{id}/change-instalment-dates".replace("{id}",encodeURIComponent(String(e))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"PATCH",...o,...t},l={},d={};return l["Content-Type"]="application/json",Object.entries({...d,...t.query}).forEach(([c,A])=>{A!==void 0&&n.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:n.pathname+n.search,options:i}},createPaymentPlan(e,r={}){if(e==null)throw new h("createPaymentPlanDTO","Required parameter createPaymentPlanDTO was null or undefined when calling createPaymentPlan.");const t="/v2/payment-plan",s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"POST",...n,...r},i={},l={};return i["Content-Type"]="application/json",Object.entries({...l,...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},o.data=JSON.stringify(e!==void 0?e:{}),{url:s.pathname+s.search,options:o}},deletePaymentPlanById(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling deletePaymentPlanById.");const t="/v2/payment-plan/{id}".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"DELETE",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},getPaymentPlanById(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling getPaymentPlanById.");const t="/v2/payment-plan/{id}".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},getPaymentPlanPropertyAddressById(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling getPaymentPlanPropertyAddressById.");const t="/v2/payment-plan/{id}/address".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},getSetupIntentSecret(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling getSetupIntentSecret.");const t="/v2/payment-plan/{id}/setup-intent".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"POST",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}}}},j=function(a){return{changeInstalmentDates(e,r,t){const s=B(a).changeInstalmentDates(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},createPaymentPlan(e,r){const t=B(a).createPaymentPlan(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},deletePaymentPlanById(e,r){const t=B(a).deletePaymentPlanById(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},getPaymentPlanById(e,r){const t=B(a).getPaymentPlanById(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},getPaymentPlanPropertyAddressById(e,r){const t=B(a).getPaymentPlanPropertyAddressById(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},getSetupIntentSecret(e,r){const t=B(a).getSetupIntentSecret(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}}}},Jc=function(a,e,r){return{changeInstalmentDates(t,s,n){return j(a).changeInstalmentDates(t,s,n)(r,e)},createPaymentPlan(t,s){return j(a).createPaymentPlan(t,s)(r,e)},deletePaymentPlanById(t,s){return j(a).deletePaymentPlanById(t,s)(r,e)},getPaymentPlanById(t,s){return j(a).getPaymentPlanById(t,s)(r,e)},getPaymentPlanPropertyAddressById(t,s){return j(a).getPaymentPlanPropertyAddressById(t,s)(r,e)},getSetupIntentSecret(t,s){return j(a).getSetupIntentSecret(t,s)(r,e)}}};class Kc extends R{changeInstalmentDates(e,r,t){return j(this.configuration).changeInstalmentDates(e,r,t)(this.axios,this.basePath)}createPaymentPlan(e,r){return j(this.configuration).createPaymentPlan(e,r)(this.axios,this.basePath)}deletePaymentPlanById(e,r){return j(this.configuration).deletePaymentPlanById(e,r)(this.axios,this.basePath)}getPaymentPlanById(e,r){return j(this.configuration).getPaymentPlanById(e,r)(this.axios,this.basePath)}getPaymentPlanPropertyAddressById(e,r){return j(this.configuration).getPaymentPlanPropertyAddressById(e,r)(this.axios,this.basePath)}getSetupIntentSecret(e,r){return j(this.configuration).getSetupIntentSecret(e,r)(this.axios,this.basePath)}}async function Xc(a,e,r,t=p,s=u,n){const o=B(r).changeInstalmentDates(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function Zc(a,e,r=p,t=u,s){const n=B(e).createPaymentPlan(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function ed(a,e,r=p,t=u,s){const n=B(e).deletePaymentPlanById(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function rd(a,e,r=p,t=u,s){const n=B(e).getPaymentPlanById(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function td(a,e,r=p,t=u,s){const n=B(e).getPaymentPlanPropertyAddressById(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function ad(a,e,r=p,t=u,s){const n=B(e).getSetupIntentSecret(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}const F=function(a){return{addItems(e,r,t={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling addItems.");if(r==null)throw new h("addItemsDTO","Required parameter addItemsDTO was null or undefined when calling addItems.");const s="/v2/policies/{id}/items".replace("{id}",encodeURIComponent(String(e))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"POST",...o,...t},l={},d={};return l["Content-Type"]="application/json",Object.entries({...d,...t.query}).forEach(([c,A])=>{A!==void 0&&n.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:n.pathname+n.search,options:i}},createPolicy(e,r={}){if(e==null)throw new h("createPolicyWithBeneficiaryDTO","Required parameter createPolicyWithBeneficiaryDTO was null or undefined when calling createPolicy.");const t="/v2/policies",s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"POST",...n,...r},i={},l={};return i["Content-Type"]="application/json",Object.entries({...l,...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},o.data=JSON.stringify(e!==void 0?e:{}),{url:s.pathname+s.search,options:o}},deleteItem(e,r,t={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling deleteItem.");if(r==null)throw new h("itemId","Required parameter itemId was null or undefined when calling deleteItem.");const s="/v2/policies/{id}/items/{itemId}".replace("{id}",encodeURIComponent(String(e))).replace("{itemId}",encodeURIComponent(String(r))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"DELETE",...o,...t},l={};return Object.entries({...{},...t.query}).forEach(([c,A])=>{A!==void 0&&n.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},{url:n.pathname+n.search,options:i}},findOne(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling findOne.");const t="/v2/policies/{id}".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},updatePolicy(e,r,t={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling updatePolicy.");if(r==null)throw new h("updatePolicyDTO","Required parameter updatePolicyDTO was null or undefined when calling updatePolicy.");const s="/v2/policies/{id}".replace("{id}",encodeURIComponent(String(e))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"PATCH",...o,...t},l={},d={};return l["Content-Type"]="application/json",Object.entries({...d,...t.query}).forEach(([c,A])=>{A!==void 0&&n.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:n.pathname+n.search,options:i}},updateStatus(e,r,t={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling updateStatus.");if(r==null)throw new h("updatePolicyStatusDTO","Required parameter updatePolicyStatusDTO was null or undefined when calling updateStatus.");const s="/v2/policies/{id}/statuses".replace("{id}",encodeURIComponent(String(e))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"PATCH",...o,...t},l={},d={};return l["Content-Type"]="application/json",Object.entries({...d,...t.query}).forEach(([c,A])=>{A!==void 0&&n.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:n.pathname+n.search,options:i}}}},M=function(a){return{addItems(e,r,t){const s=F(a).addItems(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},createPolicy(e,r){const t=F(a).createPolicy(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},deleteItem(e,r,t){const s=F(a).deleteItem(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},findOne(e,r){const t=F(a).findOne(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},updatePolicy(e,r,t){const s=F(a).updatePolicy(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},updateStatus(e,r,t){const s=F(a).updateStatus(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}}}},sd=function(a,e,r){return{addItems(t,s,n){return M(a).addItems(t,s,n)(r,e)},createPolicy(t,s){return M(a).createPolicy(t,s)(r,e)},deleteItem(t,s,n){return M(a).deleteItem(t,s,n)(r,e)},findOne(t,s){return M(a).findOne(t,s)(r,e)},updatePolicy(t,s,n){return M(a).updatePolicy(t,s,n)(r,e)},updateStatus(t,s,n){return M(a).updateStatus(t,s,n)(r,e)}}};class nd extends R{addItems(e,r,t){return M(this.configuration).addItems(e,r,t)(this.axios,this.basePath)}createPolicy(e,r){return M(this.configuration).createPolicy(e,r)(this.axios,this.basePath)}deleteItem(e,r,t){return M(this.configuration).deleteItem(e,r,t)(this.axios,this.basePath)}findOne(e,r){return M(this.configuration).findOne(e,r)(this.axios,this.basePath)}updatePolicy(e,r,t){return M(this.configuration).updatePolicy(e,r,t)(this.axios,this.basePath)}updateStatus(e,r,t){return M(this.configuration).updateStatus(e,r,t)(this.axios,this.basePath)}}async function od(a,e,r,t=p,s=u,n){const o=F(r).addItems(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function id(a,e,r=p,t=u,s){const n=F(e).createPolicy(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function ld(a,e,r,t=p,s=u,n){const o=F(r).deleteItem(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function cd(a,e,r=p,t=u,s){const n=F(e).findOne(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function dd(a,e,r,t=p,s=u,n){const o=F(r).updatePolicy(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function ud(a,e,r,t=p,s=u,n){const o=F(r).updateStatus(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}const Pe=function(a){return{addPolicyDocument(e,r,t,s,n={}){if(e==null)throw new h("policyId","Required parameter policyId was null or undefined when calling addPolicyDocument.");if(r==null)throw new h("file","Required parameter file was null or undefined when calling addPolicyDocument.");if(t==null)throw new h("name","Required parameter name was null or undefined when calling addPolicyDocument.");if(s==null)throw new h("type","Required parameter type was null or undefined when calling addPolicyDocument.");const o="/v2/policies/{policyId}/documents".replace("{policyId}",encodeURIComponent(String(e))),i=new URL(o,"http://placeholder");let l;a&&(l=a.baseOptions);const d={method:"POST",...l,...n},c={},A={},m=new FormData;return r!==void 0&&m.append("file",r),t!==void 0&&m.append("name",t),s!==void 0&&m.append("type",s),c["Content-Type"]="multipart/form-data",Object.entries({...A,...n.query}).forEach(([I,P])=>{P!==void 0&&i.searchParams.set(I,String(P))}),d.headers={...c,...n.headers},d.data=m,{url:i.pathname+i.search,options:d}},deletePolicyDocument(e,r,t={}){if(e==null)throw new h("policyId","Required parameter policyId was null or undefined when calling deletePolicyDocument.");if(r==null)throw new h("documentId","Required parameter documentId was null or undefined when calling deletePolicyDocument.");const s="/v2/policies/{policyId}/documents/{documentId}".replace("{policyId}",encodeURIComponent(String(e))).replace("{documentId}",encodeURIComponent(String(r))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"DELETE",...o,...t},l={};return Object.entries({...{},...t.query}).forEach(([c,A])=>{A!==void 0&&n.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},{url:n.pathname+n.search,options:i}},findManyPolicyDocuments(e,r={}){if(e==null)throw new h("policyId","Required parameter policyId was null or undefined when calling findManyPolicyDocuments.");const t="/v2/policies/{policyId}/documents".replace("{policyId}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},findPolicyDocumentById(e,r,t={}){if(e==null)throw new h("policyId","Required parameter policyId was null or undefined when calling findPolicyDocumentById.");if(r==null)throw new h("documentId","Required parameter documentId was null or undefined when calling findPolicyDocumentById.");const s="/v2/policies/{policyId}/documents/{documentId}".replace("{policyId}",encodeURIComponent(String(e))).replace("{documentId}",encodeURIComponent(String(r))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"GET",...o,...t},l={};return Object.entries({...{},...t.query}).forEach(([c,A])=>{A!==void 0&&n.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},{url:n.pathname+n.search,options:i}}}},ge=function(a){return{addPolicyDocument(e,r,t,s,n){const o=Pe(a).addPolicyDocument(e,r,t,s,n);return(i=p,l=u)=>{const d={...o.options,url:l+o.url};return i.request(d)}},deletePolicyDocument(e,r,t){const s=Pe(a).deletePolicyDocument(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},findManyPolicyDocuments(e,r){const t=Pe(a).findManyPolicyDocuments(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},findPolicyDocumentById(e,r,t){const s=Pe(a).findPolicyDocumentById(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}}}},pd=function(a,e,r){return{addPolicyDocument(t,s,n,o,i){return ge(a).addPolicyDocument(t,s,n,o,i)(r,e)},deletePolicyDocument(t,s,n){return ge(a).deletePolicyDocument(t,s,n)(r,e)},findManyPolicyDocuments(t,s){return ge(a).findManyPolicyDocuments(t,s)(r,e)},findPolicyDocumentById(t,s,n){return ge(a).findPolicyDocumentById(t,s,n)(r,e)}}};class hd extends R{addPolicyDocument(e,r,t,s,n){return ge(this.configuration).addPolicyDocument(e,r,t,s,n)(this.axios,this.basePath)}deletePolicyDocument(e,r,t){return ge(this.configuration).deletePolicyDocument(e,r,t)(this.axios,this.basePath)}findManyPolicyDocuments(e,r){return ge(this.configuration).findManyPolicyDocuments(e,r)(this.axios,this.basePath)}findPolicyDocumentById(e,r,t){return ge(this.configuration).findPolicyDocumentById(e,r,t)(this.axios,this.basePath)}}async function Ad(a,e,r,t,s,n=p,o=u,i){const l=Pe(s).addPolicyDocument(a,e,r,t,i),d={...l.options,url:o+l.url};return(await n.request(d)).data}async function md(a,e,r,t=p,s=u,n){const o=Pe(r).deletePolicyDocument(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function Rd(a,e,r=p,t=u,s){const n=Pe(e).findManyPolicyDocuments(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function Id(a,e,r,t=p,s=u,n){const o=Pe(r).findPolicyDocumentById(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}const Rr=function(a){return{addPreTenancyDocumentByDocumentId(e,r,t={}){if(e==null)throw new h("tenancyId","Required parameter tenancyId was null or undefined when calling addPreTenancyDocumentByDocumentId.");if(r==null)throw new h("createPreTenancyDocumentByDocumentIdDTO","Required parameter createPreTenancyDocumentByDocumentIdDTO was null or undefined when calling addPreTenancyDocumentByDocumentId.");const s="/v2/tenancy/{tenancyId}/pre-tenancy-documents/by-document-id".replace("{tenancyId}",encodeURIComponent(String(e))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"POST",...o,...t},l={},d={};return l["Content-Type"]="application/json",Object.entries({...d,...t.query}).forEach(([c,A])=>{A!==void 0&&n.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:n.pathname+n.search,options:i}},deletePreTenancyDocument(e,r,t={}){if(e==null)throw new h("tenancyId","Required parameter tenancyId was null or undefined when calling deletePreTenancyDocument.");if(r==null)throw new h("documentId","Required parameter documentId was null or undefined when calling deletePreTenancyDocument.");const s="/v2/tenancy/{tenancyId}/pre-tenancy-documents/{documentId}".replace("{tenancyId}",encodeURIComponent(String(e))).replace("{documentId}",encodeURIComponent(String(r))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"DELETE",...o,...t},l={};return Object.entries({...{},...t.query}).forEach(([c,A])=>{A!==void 0&&n.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},{url:n.pathname+n.search,options:i}}}},Ir=function(a){return{addPreTenancyDocumentByDocumentId(e,r,t){const s=Rr(a).addPreTenancyDocumentByDocumentId(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},deletePreTenancyDocument(e,r,t){const s=Rr(a).deletePreTenancyDocument(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}}}},Pd=function(a,e,r){return{addPreTenancyDocumentByDocumentId(t,s,n){return Ir(a).addPreTenancyDocumentByDocumentId(t,s,n)(r,e)},deletePreTenancyDocument(t,s,n){return Ir(a).deletePreTenancyDocument(t,s,n)(r,e)}}};class gd extends R{addPreTenancyDocumentByDocumentId(e,r,t){return Ir(this.configuration).addPreTenancyDocumentByDocumentId(e,r,t)(this.axios,this.basePath)}deletePreTenancyDocument(e,r,t){return Ir(this.configuration).deletePreTenancyDocument(e,r,t)(this.axios,this.basePath)}}async function wd(a,e,r,t=p,s=u,n){const o=Rr(r).addPreTenancyDocumentByDocumentId(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function fd(a,e,r,t=p,s=u,n){const o=Rr(r).deletePreTenancyDocument(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}const Pr=function(a){return{getCashDepositAmount(e,r={}){if(e==null)throw new h("ppm","Required parameter ppm was null or undefined when calling getCashDepositAmount.");const t="/v2/pricing/cash-deposit",s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={},l={};return e!==void 0&&(l.ppm=e),Object.entries({...l,...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},getRepositFee(e,r,t,s={}){if(e==null)throw new h("ppm","Required parameter ppm was null or undefined when calling getRepositFee.");if(r==null)throw new h("organizationId","Required parameter organizationId was null or undefined when calling getRepositFee.");const n="/v2/pricing/reposit-fee",o=new URL(n,"http://placeholder");let i;a&&(i=a.baseOptions);const l={method:"GET",...i,...s},d={},c={};return e!==void 0&&(c.ppm=e),r!==void 0&&(c.organizationId=r),t!==void 0&&(c.headcount=t),Object.entries({...c,...s.query}).forEach(([A,m])=>{m!==void 0&&o.searchParams.set(A,String(m))}),l.headers={...d,...s.headers},{url:o.pathname+o.search,options:l}}}},gr=function(a){return{getCashDepositAmount(e,r){const t=Pr(a).getCashDepositAmount(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},getRepositFee(e,r,t,s){const n=Pr(a).getRepositFee(e,r,t,s);return(o=p,i=u)=>{const l={...n.options,url:i+n.url};return o.request(l)}}}},Od=function(a,e,r){return{getCashDepositAmount(t,s){return gr(a).getCashDepositAmount(t,s)(r,e)},getRepositFee(t,s,n,o){return gr(a).getRepositFee(t,s,n,o)(r,e)}}};class yd extends R{getCashDepositAmount(e,r){return gr(this.configuration).getCashDepositAmount(e,r)(this.axios,this.basePath)}getRepositFee(e,r,t,s){return gr(this.configuration).getRepositFee(e,r,t,s)(this.axios,this.basePath)}}async function Ed(a,e,r=p,t=u,s){const n=Pr(e).getCashDepositAmount(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function Vd(a,e,r,t,s=p,n=u,o){const i=Pr(t).getRepositFee(a,e,r,o),l={...i.options,url:n+i.url};return(await s.request(l)).data}const ke=function(a){return{createProperty(e,r={}){if(e==null)throw new h("createPropertyDTO","Required parameter createPropertyDTO was null or undefined when calling createProperty.");const t="/v2/properties",s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"POST",...n,...r},i={},l={};return i["Content-Type"]="application/json",Object.entries({...l,...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},o.data=JSON.stringify(e!==void 0?e:{}),{url:s.pathname+s.search,options:o}},getPropertyById(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling getPropertyById.");const t="/v2/properties/{id}".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},searchProperties(e,r,t,s,n={}){if(e==null)throw new h("page","Required parameter page was null or undefined when calling searchProperties.");if(r==null)throw new h("size","Required parameter size was null or undefined when calling searchProperties.");const o="/v2/properties",i=new URL(o,"http://placeholder");let l;a&&(l=a.baseOptions);const d={method:"GET",...l,...n},c={},A={};return t!==void 0&&(A.query=t),s!==void 0&&(A.organizationId=s),e!==void 0&&(A.page=e),r!==void 0&&(A.size=r),Object.entries({...A,...n.query}).forEach(([m,I])=>{I!==void 0&&i.searchParams.set(m,String(I))}),d.headers={...c,...n.headers},{url:i.pathname+i.search,options:d}}}},Ye=function(a){return{createProperty(e,r){const t=ke(a).createProperty(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},getPropertyById(e,r){const t=ke(a).getPropertyById(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},searchProperties(e,r,t,s,n){const o=ke(a).searchProperties(e,r,t,s,n);return(i=p,l=u)=>{const d={...o.options,url:l+o.url};return i.request(d)}}}},Cd=function(a,e,r){return{createProperty(t,s){return Ye(a).createProperty(t,s)(r,e)},getPropertyById(t,s){return Ye(a).getPropertyById(t,s)(r,e)},searchProperties(t,s,n,o,i){return Ye(a).searchProperties(t,s,n,o,i)(r,e)}}};class qd extends R{createProperty(e,r){return Ye(this.configuration).createProperty(e,r)(this.axios,this.basePath)}getPropertyById(e,r){return Ye(this.configuration).getPropertyById(e,r)(this.axios,this.basePath)}searchProperties(e,r,t,s,n){return Ye(this.configuration).searchProperties(e,r,t,s,n)(this.axios,this.basePath)}}async function _d(a,e,r=p,t=u,s){const n=ke(e).createProperty(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function vd(a,e,r=p,t=u,s){const n=ke(e).getPropertyById(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function bd(a,e,r,t,s,n=p,o=u,i){const l=ke(s).searchProperties(a,e,r,t,i),d={...l.options,url:o+l.url};return(await n.request(d)).data}const tt=function(a){return{searchReconciliationDocuments(e,r,t,s,n={}){if(e==null)throw new h("from","Required parameter from was null or undefined when calling searchReconciliationDocuments.");if(r==null)throw new h("to","Required parameter to was null or undefined when calling searchReconciliationDocuments.");if(t==null)throw new h("page","Required parameter page was null or undefined when calling searchReconciliationDocuments.");if(s==null)throw new h("size","Required parameter size was null or undefined when calling searchReconciliationDocuments.");const o="/v2/reconciliations/documents/search",i=new URL(o,"http://placeholder");let l;a&&(l=a.baseOptions);const d={method:"GET",...l,...n},c={},A={};return e!==void 0&&(A.from=e),r!==void 0&&(A.to=r),t!==void 0&&(A.page=t),s!==void 0&&(A.size=s),Object.entries({...A,...n.query}).forEach(([m,I])=>{I!==void 0&&i.searchParams.set(m,String(I))}),d.headers={...c,...n.headers},{url:i.pathname+i.search,options:d}}}},at=function(a){return{searchReconciliationDocuments(e,r,t,s,n){const o=tt(a).searchReconciliationDocuments(e,r,t,s,n);return(i=p,l=u)=>{const d={...o.options,url:l+o.url};return i.request(d)}}}},Td=function(a,e,r){return{searchReconciliationDocuments(t,s,n,o,i){return at(a).searchReconciliationDocuments(t,s,n,o,i)(r,e)}}};class Sd extends R{searchReconciliationDocuments(e,r,t,s,n){return at(this.configuration).searchReconciliationDocuments(e,r,t,s,n)(this.axios,this.basePath)}}async function Nd(a,e,r,t,s,n=p,o=u,i){const l=tt(s).searchReconciliationDocuments(a,e,r,t,i),d={...l.options,url:o+l.url};return(await n.request(d)).data}const we=function(a){return{addReferenceDocument(e,r,t,s,n={}){if(e==null)throw new h("referenceId","Required parameter referenceId was null or undefined when calling addReferenceDocument.");if(r==null)throw new h("file","Required parameter file was null or undefined when calling addReferenceDocument.");if(t==null)throw new h("name","Required parameter name was null or undefined when calling addReferenceDocument.");if(s==null)throw new h("type","Required parameter type was null or undefined when calling addReferenceDocument.");const o="/v2/references/{referenceId}/documents".replace("{referenceId}",encodeURIComponent(String(e))),i=new URL(o,"http://placeholder");let l;a&&(l=a.baseOptions);const d={method:"POST",...l,...n},c={},A={},m=new FormData;return r!==void 0&&m.append("file",r),t!==void 0&&m.append("name",t),s!==void 0&&m.append("type",s),c["Content-Type"]="multipart/form-data",Object.entries({...A,...n.query}).forEach(([I,P])=>{P!==void 0&&i.searchParams.set(I,String(P))}),d.headers={...c,...n.headers},d.data=m,{url:i.pathname+i.search,options:d}},deleteReferenceDocument(e,r,t={}){if(e==null)throw new h("referenceId","Required parameter referenceId was null or undefined when calling deleteReferenceDocument.");if(r==null)throw new h("documentId","Required parameter documentId was null or undefined when calling deleteReferenceDocument.");const s="/v2/references/{referenceId}/documents/{documentId}".replace("{referenceId}",encodeURIComponent(String(e))).replace("{documentId}",encodeURIComponent(String(r))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"DELETE",...o,...t},l={};return Object.entries({...{},...t.query}).forEach(([c,A])=>{A!==void 0&&n.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},{url:n.pathname+n.search,options:i}},findManyReferenceDocuments(e,r={}){if(e==null)throw new h("referenceId","Required parameter referenceId was null or undefined when calling findManyReferenceDocuments.");const t="/v2/references/{referenceId}/documents".replace("{referenceId}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},findReferenceDocumentById(e,r,t={}){if(e==null)throw new h("referenceId","Required parameter referenceId was null or undefined when calling findReferenceDocumentById.");if(r==null)throw new h("documentId","Required parameter documentId was null or undefined when calling findReferenceDocumentById.");const s="/v2/references/{referenceId}/documents/{documentId}".replace("{referenceId}",encodeURIComponent(String(e))).replace("{documentId}",encodeURIComponent(String(r))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"GET",...o,...t},l={};return Object.entries({...{},...t.query}).forEach(([c,A])=>{A!==void 0&&n.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},{url:n.pathname+n.search,options:i}}}},fe=function(a){return{addReferenceDocument(e,r,t,s,n){const o=we(a).addReferenceDocument(e,r,t,s,n);return(i=p,l=u)=>{const d={...o.options,url:l+o.url};return i.request(d)}},deleteReferenceDocument(e,r,t){const s=we(a).deleteReferenceDocument(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},findManyReferenceDocuments(e,r){const t=we(a).findManyReferenceDocuments(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},findReferenceDocumentById(e,r,t){const s=we(a).findReferenceDocumentById(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}}}},xd=function(a,e,r){return{addReferenceDocument(t,s,n,o,i){return fe(a).addReferenceDocument(t,s,n,o,i)(r,e)},deleteReferenceDocument(t,s,n){return fe(a).deleteReferenceDocument(t,s,n)(r,e)},findManyReferenceDocuments(t,s){return fe(a).findManyReferenceDocuments(t,s)(r,e)},findReferenceDocumentById(t,s,n){return fe(a).findReferenceDocumentById(t,s,n)(r,e)}}};class Ud extends R{addReferenceDocument(e,r,t,s,n){return fe(this.configuration).addReferenceDocument(e,r,t,s,n)(this.axios,this.basePath)}deleteReferenceDocument(e,r,t){return fe(this.configuration).deleteReferenceDocument(e,r,t)(this.axios,this.basePath)}findManyReferenceDocuments(e,r){return fe(this.configuration).findManyReferenceDocuments(e,r)(this.axios,this.basePath)}findReferenceDocumentById(e,r,t){return fe(this.configuration).findReferenceDocumentById(e,r,t)(this.axios,this.basePath)}}async function Dd(a,e,r,t,s,n=p,o=u,i){const l=we(s).addReferenceDocument(a,e,r,t,i),d={...l.options,url:o+l.url};return(await n.request(d)).data}async function Ld(a,e,r,t=p,s=u,n){const o=we(r).deleteReferenceDocument(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function Bd(a,e,r=p,t=u,s){const n=we(e).findManyReferenceDocuments(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function jd(a,e,r,t=p,s=u,n){const o=we(r).findReferenceDocumentById(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}const S=function(a){return{createReference(e,r={}){if(e==null)throw new h("createReferenceDTO","Required parameter createReferenceDTO was null or undefined when calling createReference.");const t="/v2/references",s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"POST",...n,...r},i={},l={};return i["Content-Type"]="application/json",Object.entries({...l,...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},o.data=JSON.stringify(e!==void 0?e:{}),{url:s.pathname+s.search,options:o}},findReferenceById(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling findReferenceById.");const t="/v2/references/{id}".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},getChecks(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling getChecks.");const t="/v2/references/{id}/checks".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},getReferenceDocuments(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling getReferenceDocuments.");const t="/v2/references/{id}/documents".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},readyForReview(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling readyForReview.");const t="/v2/references/{id}/review".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"PATCH",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},searchReferences(e,r,t,s,n={}){if(e==null)throw new h("status","Required parameter status was null or undefined when calling searchReferences.");if(r==null)throw new h("page","Required parameter page was null or undefined when calling searchReferences.");if(t==null)throw new h("size","Required parameter size was null or undefined when calling searchReferences.");const o="/v2/references/search",i=new URL(o,"http://placeholder");let l;a&&(l=a.baseOptions);const d={method:"GET",...l,...n},c={},A={};return e!==void 0&&(A.status=e),s!==void 0&&(A.sortBy=s),r!==void 0&&(A.page=r),t!==void 0&&(A.size=t),Object.entries({...A,...n.query}).forEach(([m,I])=>{I!==void 0&&i.searchParams.set(m,String(I))}),d.headers={...c,...n.headers},{url:i.pathname+i.search,options:d}},submitChecks(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling submitChecks.");const t="/v2/references/{id}/checks/submit".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"PATCH",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}}}},N=function(a){return{createReference(e,r){const t=S(a).createReference(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},findReferenceById(e,r){const t=S(a).findReferenceById(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},getChecks(e,r){const t=S(a).getChecks(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},getReferenceDocuments(e,r){const t=S(a).getReferenceDocuments(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},readyForReview(e,r){const t=S(a).readyForReview(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},searchReferences(e,r,t,s,n){const o=S(a).searchReferences(e,r,t,s,n);return(i=p,l=u)=>{const d={...o.options,url:l+o.url};return i.request(d)}},submitChecks(e,r){const t=S(a).submitChecks(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}}}},Fd=function(a,e,r){return{createReference(t,s){return N(a).createReference(t,s)(r,e)},findReferenceById(t,s){return N(a).findReferenceById(t,s)(r,e)},getChecks(t,s){return N(a).getChecks(t,s)(r,e)},getReferenceDocuments(t,s){return N(a).getReferenceDocuments(t,s)(r,e)},readyForReview(t,s){return N(a).readyForReview(t,s)(r,e)},searchReferences(t,s,n,o,i){return N(a).searchReferences(t,s,n,o,i)(r,e)},submitChecks(t,s){return N(a).submitChecks(t,s)(r,e)}}};class Md extends R{createReference(e,r){return N(this.configuration).createReference(e,r)(this.axios,this.basePath)}findReferenceById(e,r){return N(this.configuration).findReferenceById(e,r)(this.axios,this.basePath)}getChecks(e,r){return N(this.configuration).getChecks(e,r)(this.axios,this.basePath)}getReferenceDocuments(e,r){return N(this.configuration).getReferenceDocuments(e,r)(this.axios,this.basePath)}readyForReview(e,r){return N(this.configuration).readyForReview(e,r)(this.axios,this.basePath)}searchReferences(e,r,t,s,n){return N(this.configuration).searchReferences(e,r,t,s,n)(this.axios,this.basePath)}submitChecks(e,r){return N(this.configuration).submitChecks(e,r)(this.axios,this.basePath)}}async function Hd(a,e,r=p,t=u,s){const n=S(e).createReference(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function Gd(a,e,r=p,t=u,s){const n=S(e).findReferenceById(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function Qd(a,e,r=p,t=u,s){const n=S(e).getChecks(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function zd(a,e,r=p,t=u,s){const n=S(e).getReferenceDocuments(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function kd(a,e,r=p,t=u,s){const n=S(e).readyForReview(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function Yd(a,e,r,t,s,n=p,o=u,i){const l=S(s).searchReferences(a,e,r,t,i),d={...l.options,url:o+l.url};return(await n.request(d)).data}async function $d(a,e,r=p,t=u,s){const n=S(e).submitChecks(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}const x=function(a){return{addRejectionReason(e,r,t={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling addRejectionReason.");if(r==null)throw new h("addRejectionReasonRequestDTO","Required parameter addRejectionReasonRequestDTO was null or undefined when calling addRejectionReason.");const s="/v2/reposit-offer/{id}/rejection-reason".replace("{id}",encodeURIComponent(String(e))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"PATCH",...o,...t},l={},d={};return l["Content-Type"]="application/json",Object.entries({...d,...t.query}).forEach(([c,A])=>{A!==void 0&&n.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:n.pathname+n.search,options:i}},createOffer(e,r={}){if(e==null)throw new h("offerToTenantRequestDTO","Required parameter offerToTenantRequestDTO was null or undefined when calling createOffer.");const t="/v2/reposit-offer",s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"POST",...n,...r},i={},l={};return i["Content-Type"]="application/json",Object.entries({...l,...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},o.data=JSON.stringify(e!==void 0?e:{}),{url:s.pathname+s.search,options:o}},deleteOffer(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling deleteOffer.");const t="/v2/reposit-offer/{id}".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"DELETE",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},getRepositOffer(e,r,t={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling getRepositOffer.");if(r==null)throw new h("token","Required parameter token was null or undefined when calling getRepositOffer.");const s="/v2/reposit-offer/{id}".replace("{id}",encodeURIComponent(String(e))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"GET",...o,...t},l={},d={};return r!==void 0&&(d.token=r),Object.entries({...d,...t.query}).forEach(([c,A])=>{A!==void 0&&n.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},{url:n.pathname+n.search,options:i}},respondToOffer(e,r,t,s={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling respondToOffer.");if(r==null)throw new h("choice","Required parameter choice was null or undefined when calling respondToOffer.");if(t==null)throw new h("token","Required parameter token was null or undefined when calling respondToOffer.");const n="/v2/reposit-offer/{id}/respond".replace("{id}",encodeURIComponent(String(e))),o=new URL(n,"http://placeholder");let i;a&&(i=a.baseOptions);const l={method:"GET",...i,...s},d={},c={};return r!==void 0&&(c.choice=r),t!==void 0&&(c.token=t),Object.entries({...c,...s.query}).forEach(([A,m])=>{m!==void 0&&o.searchParams.set(A,String(m))}),l.headers={...d,...s.headers},{url:o.pathname+o.search,options:l}},searchOffers(e,r,t,s,n,o,i={}){if(e==null)throw new h("page","Required parameter page was null or undefined when calling searchOffers.");if(r==null)throw new h("size","Required parameter size was null or undefined when calling searchOffers.");if(t==null)throw new h("organizationId","Required parameter organizationId was null or undefined when calling searchOffers.");const l="/v2/reposit-offer",d=new URL(l,"http://placeholder");let c;a&&(c=a.baseOptions);const A={method:"GET",...c,...i},m={},I={};return s!==void 0&&(I.query=s),e!==void 0&&(I.page=e),r!==void 0&&(I.size=r),t!==void 0&&(I.organizationId=t),n!==void 0&&(I.status=n),o!==void 0&&(I.orderStatus=o),Object.entries({...I,...i.query}).forEach(([P,q])=>{q!==void 0&&d.searchParams.set(P,String(q))}),A.headers={...m,...i.headers},{url:d.pathname+d.search,options:A}},sendReminder(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling sendReminder.");const t="/v2/reposit-offer/{id}/send-reminder".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"POST",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}}}},U=function(a){return{addRejectionReason(e,r,t){const s=x(a).addRejectionReason(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},createOffer(e,r){const t=x(a).createOffer(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},deleteOffer(e,r){const t=x(a).deleteOffer(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},getRepositOffer(e,r,t){const s=x(a).getRepositOffer(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},respondToOffer(e,r,t,s){const n=x(a).respondToOffer(e,r,t,s);return(o=p,i=u)=>{const l={...n.options,url:i+n.url};return o.request(l)}},searchOffers(e,r,t,s,n,o,i){const l=x(a).searchOffers(e,r,t,s,n,o,i);return(d=p,c=u)=>{const A={...l.options,url:c+l.url};return d.request(A)}},sendReminder(e,r){const t=x(a).sendReminder(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}}}},Wd=function(a,e,r){return{addRejectionReason(t,s,n){return U(a).addRejectionReason(t,s,n)(r,e)},createOffer(t,s){return U(a).createOffer(t,s)(r,e)},deleteOffer(t,s){return U(a).deleteOffer(t,s)(r,e)},getRepositOffer(t,s,n){return U(a).getRepositOffer(t,s,n)(r,e)},respondToOffer(t,s,n,o){return U(a).respondToOffer(t,s,n,o)(r,e)},searchOffers(t,s,n,o,i,l,d){return U(a).searchOffers(t,s,n,o,i,l,d)(r,e)},sendReminder(t,s){return U(a).sendReminder(t,s)(r,e)}}};class Jd extends R{addRejectionReason(e,r,t){return U(this.configuration).addRejectionReason(e,r,t)(this.axios,this.basePath)}createOffer(e,r){return U(this.configuration).createOffer(e,r)(this.axios,this.basePath)}deleteOffer(e,r){return U(this.configuration).deleteOffer(e,r)(this.axios,this.basePath)}getRepositOffer(e,r,t){return U(this.configuration).getRepositOffer(e,r,t)(this.axios,this.basePath)}respondToOffer(e,r,t,s){return U(this.configuration).respondToOffer(e,r,t,s)(this.axios,this.basePath)}searchOffers(e,r,t,s,n,o,i){return U(this.configuration).searchOffers(e,r,t,s,n,o,i)(this.axios,this.basePath)}sendReminder(e,r){return U(this.configuration).sendReminder(e,r)(this.axios,this.basePath)}}async function Kd(a,e,r,t=p,s=u,n){const o=x(r).addRejectionReason(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function Xd(a,e,r=p,t=u,s){const n=x(e).createOffer(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function Zd(a,e,r=p,t=u,s){const n=x(e).deleteOffer(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function eu(a,e,r,t=p,s=u,n){const o=x(r).getRepositOffer(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function ru(a,e,r,t,s=p,n=u,o){const i=x(t).respondToOffer(a,e,r,o),l={...i.options,url:n+i.url};return(await s.request(l)).data}async function tu(a,e,r,t,s,n,o,i=p,l=u,d){const c=x(o).searchOffers(a,e,r,t,s,n,d),A={...c.options,url:l+c.url};return(await i.request(A)).data}async function au(a,e,r=p,t=u,s){const n=x(e).sendReminder(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}const _=function(a){return{createReposit(e,r={}){if(e==null)throw new h("createRepositDTO","Required parameter createRepositDTO was null or undefined when calling createReposit.");const t="/v2/integration/reposits",s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"POST",...n,...r},i={},l={};return i["Content-Type"]="application/json",Object.entries({...l,...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},o.data=JSON.stringify(e!==void 0?e:{}),{url:s.pathname+s.search,options:o}},getRepositById(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling getRepositById.");const t="/v2/integration/reposits/{id}".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},getRepositLandlord(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling getRepositLandlord.");const t="/v2/integration/reposits/{id}/landlord".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},getRepositPolicies(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling getRepositPolicies.");const t="/v2/integration/reposits/{id}/policies".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},getRepositPrice(e,r={}){if(e==null)throw new h("requestRepositPricingDTO","Required parameter requestRepositPricingDTO was null or undefined when calling getRepositPrice.");const t="/v2/integration/reposits/pricing",s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"POST",...n,...r},i={},l={};return i["Content-Type"]="application/json",Object.entries({...l,...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},o.data=JSON.stringify(e!==void 0?e:{}),{url:s.pathname+s.search,options:o}},getTenantDocuments(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling getTenantDocuments.");const t="/v2/integration/reposits/{id}/tenant-documents".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},publishReposit(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling publishReposit.");const t="/v2/integration/reposits/{id}/publish".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"POST",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},replaceReposit(e,r,t={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling replaceReposit.");if(r==null)throw new h("replaceRepositDTO","Required parameter replaceRepositDTO was null or undefined when calling replaceReposit.");const s="/v2/integration/reposits/{id}".replace("{id}",encodeURIComponent(String(e))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"PUT",...o,...t},l={},d={};return l["Content-Type"]="application/json",Object.entries({...d,...t.query}).forEach(([c,A])=>{A!==void 0&&n.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:n.pathname+n.search,options:i}}}},v=function(a){return{createReposit(e,r){const t=_(a).createReposit(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},getRepositById(e,r){const t=_(a).getRepositById(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},getRepositLandlord(e,r){const t=_(a).getRepositLandlord(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},getRepositPolicies(e,r){const t=_(a).getRepositPolicies(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},getRepositPrice(e,r){const t=_(a).getRepositPrice(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},getTenantDocuments(e,r){const t=_(a).getTenantDocuments(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},publishReposit(e,r){const t=_(a).publishReposit(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},replaceReposit(e,r,t){const s=_(a).replaceReposit(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}}}},su=function(a,e,r){return{createReposit(t,s){return v(a).createReposit(t,s)(r,e)},getRepositById(t,s){return v(a).getRepositById(t,s)(r,e)},getRepositLandlord(t,s){return v(a).getRepositLandlord(t,s)(r,e)},getRepositPolicies(t,s){return v(a).getRepositPolicies(t,s)(r,e)},getRepositPrice(t,s){return v(a).getRepositPrice(t,s)(r,e)},getTenantDocuments(t,s){return v(a).getTenantDocuments(t,s)(r,e)},publishReposit(t,s){return v(a).publishReposit(t,s)(r,e)},replaceReposit(t,s,n){return v(a).replaceReposit(t,s,n)(r,e)}}};class nu extends R{createReposit(e,r){return v(this.configuration).createReposit(e,r)(this.axios,this.basePath)}getRepositById(e,r){return v(this.configuration).getRepositById(e,r)(this.axios,this.basePath)}getRepositLandlord(e,r){return v(this.configuration).getRepositLandlord(e,r)(this.axios,this.basePath)}getRepositPolicies(e,r){return v(this.configuration).getRepositPolicies(e,r)(this.axios,this.basePath)}getRepositPrice(e,r){return v(this.configuration).getRepositPrice(e,r)(this.axios,this.basePath)}getTenantDocuments(e,r){return v(this.configuration).getTenantDocuments(e,r)(this.axios,this.basePath)}publishReposit(e,r){return v(this.configuration).publishReposit(e,r)(this.axios,this.basePath)}replaceReposit(e,r,t){return v(this.configuration).replaceReposit(e,r,t)(this.axios,this.basePath)}}async function ou(a,e,r=p,t=u,s){const n=_(e).createReposit(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function iu(a,e,r=p,t=u,s){const n=_(e).getRepositById(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function lu(a,e,r=p,t=u,s){const n=_(e).getRepositLandlord(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function cu(a,e,r=p,t=u,s){const n=_(e).getRepositPolicies(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function du(a,e,r=p,t=u,s){const n=_(e).getRepositPrice(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function uu(a,e,r=p,t=u,s){const n=_(e).getTenantDocuments(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function pu(a,e,r=p,t=u,s){const n=_(e).publishReposit(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function hu(a,e,r,t=p,s=u,n){const o=_(r).replaceReposit(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}const st=function(a){return{seedReposit(e,r={}){if(e==null)throw new h("seedRepositDTO","Required parameter seedRepositDTO was null or undefined when calling seedReposit.");const t="/v2/seed/reposits",s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"POST",...n,...r},i={},l={};return i["Content-Type"]="application/json",Object.entries({...l,...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},o.data=JSON.stringify(e!==void 0?e:{}),{url:s.pathname+s.search,options:o}}}},nt=function(a){return{seedReposit(e,r){const t=st(a).seedReposit(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}}}},Au=function(a,e,r){return{seedReposit(t,s){return nt(a).seedReposit(t,s)(r,e)}}};class mu extends R{seedReposit(e,r){return nt(this.configuration).seedReposit(e,r)(this.axios,this.basePath)}}async function Ru(a,e,r=p,t=u,s){const n=st(e).seedReposit(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}const wr=function(a){return{getMySupplier(e={}){const r="/v2/integration/organizations/me",t=new URL(r,"http://placeholder");let s;a&&(s=a.baseOptions);const n={method:"GET",...s,...e},o={};return Object.entries({...{},...e.query}).forEach(([l,d])=>{d!==void 0&&t.searchParams.set(l,String(d))}),n.headers={...o,...e.headers},{url:t.pathname+t.search,options:n}},getSupplierAgents(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling getSupplierAgents.");const t="/v2/integration/organizations/{id}/agents".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}}}},fr=function(a){return{getMySupplier(e){const r=wr(a).getMySupplier(e);return(t=p,s=u)=>{const n={...r.options,url:s+r.url};return t.request(n)}},getSupplierAgents(e,r){const t=wr(a).getSupplierAgents(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}}}},Iu=function(a,e,r){return{getMySupplier(t){return fr(a).getMySupplier(t)(r,e)},getSupplierAgents(t,s){return fr(a).getSupplierAgents(t,s)(r,e)}}};class Pu extends R{getMySupplier(e){return fr(this.configuration).getMySupplier(e)(this.axios,this.basePath)}getSupplierAgents(e,r){return fr(this.configuration).getSupplierAgents(e,r)(this.axios,this.basePath)}}async function gu(a,e=p,r=u,t){const s=wr(a).getMySupplier(t),n={...s.options,url:r+s.url};return(await e.request(n)).data}async function wu(a,e,r=p,t=u,s){const n=wr(e).getSupplierAgents(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}const V=function(a){return{closingRemindersEnabled(e,r,t={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling closingRemindersEnabled.");if(r==null)throw new h("updateClosingRemindersEnabledRequestDTO","Required parameter updateClosingRemindersEnabledRequestDTO was null or undefined when calling closingRemindersEnabled.");const s="/v2/tenancies/{id}/closing-reminders-enabled".replace("{id}",encodeURIComponent(String(e))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"PATCH",...o,...t},l={},d={};return l["Content-Type"]="application/json",Object.entries({...d,...t.query}).forEach(([c,A])=>{A!==void 0&&n.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:n.pathname+n.search,options:i}},createTenancy(e,r={}){if(e==null)throw new h("createTenancyRequestDTO","Required parameter createTenancyRequestDTO was null or undefined when calling createTenancy.");const t="/v2/tenancies",s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"POST",...n,...r},i={},l={};return i["Content-Type"]="application/json",Object.entries({...l,...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},o.data=JSON.stringify(e!==void 0?e:{}),{url:s.pathname+s.search,options:o}},createTenancyOrder(e,r,t={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling createTenancyOrder.");if(r==null)throw new h("createOrderDTO","Required parameter createOrderDTO was null or undefined when calling createTenancyOrder.");const s="/v2/tenancies/{id}/orders".replace("{id}",encodeURIComponent(String(e))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"POST",...o,...t},l={},d={};return l["Content-Type"]="application/json",Object.entries({...d,...t.query}).forEach(([c,A])=>{A!==void 0&&n.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:n.pathname+n.search,options:i}},disableTopUps(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling disableTopUps.");const t="/v2/tenancies/{id}/disable-top-ups".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"POST",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},extendOutcomeDeadline(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling extendOutcomeDeadline.");const t="/v2/tenancies/{id}/extend-outcome-deadline".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"POST",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},getTenancyById(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling getTenancyById.");const t="/v2/tenancies/{id}".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},getTenancyDocuments(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling getTenancyDocuments.");const t="/v2/tenancies/{id}/documents".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},publish(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling publish.");const t="/v2/tenancies/{id}/publish".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"POST",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},signAddendumForSupplier(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling signAddendumForSupplier.");const t="/v2/tenancies/{id}/sign-addendum".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"POST",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},tenantVacated(e,r={}){if(e==null)throw new h("token","Required parameter token was null or undefined when calling tenantVacated.");const t="/v2/tenancies/tenant-vacated",s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={},l={};return e!==void 0&&(l.token=e),Object.entries({...l,...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},updateExistingProperty(e,r,t={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling updateExistingProperty.");if(r==null)throw new h("updateExistingPropertyOnTenancyRequestDTO","Required parameter updateExistingPropertyOnTenancyRequestDTO was null or undefined when calling updateExistingProperty.");const s="/v2/tenancies/{id}/properties".replace("{id}",encodeURIComponent(String(e))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"PATCH",...o,...t},l={},d={};return l["Content-Type"]="application/json",Object.entries({...d,...t.query}).forEach(([c,A])=>{A!==void 0&&n.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:n.pathname+n.search,options:i}},updateProperty(e,r,t={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling updateProperty.");if(r==null)throw new h("updatePropertyRequestDTO","Required parameter updatePropertyRequestDTO was null or undefined when calling updateProperty.");const s="/v2/tenancies/{id}/properties".replace("{id}",encodeURIComponent(String(e))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"PUT",...o,...t},l={},d={};return l["Content-Type"]="application/json",Object.entries({...d,...t.query}).forEach(([c,A])=>{A!==void 0&&n.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:n.pathname+n.search,options:i}},updateTenancy(e,r,t={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling updateTenancy.");if(r==null)throw new h("updateTenancyRequestDTO","Required parameter updateTenancyRequestDTO was null or undefined when calling updateTenancy.");const s="/v2/tenancies/{id}".replace("{id}",encodeURIComponent(String(e))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"PATCH",...o,...t},l={},d={};return l["Content-Type"]="application/json",Object.entries({...d,...t.query}).forEach(([c,A])=>{A!==void 0&&n.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:n.pathname+n.search,options:i}}}},C=function(a){return{closingRemindersEnabled(e,r,t){const s=V(a).closingRemindersEnabled(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},createTenancy(e,r){const t=V(a).createTenancy(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},createTenancyOrder(e,r,t){const s=V(a).createTenancyOrder(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},disableTopUps(e,r){const t=V(a).disableTopUps(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},extendOutcomeDeadline(e,r){const t=V(a).extendOutcomeDeadline(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},getTenancyById(e,r){const t=V(a).getTenancyById(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},getTenancyDocuments(e,r){const t=V(a).getTenancyDocuments(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},publish(e,r){const t=V(a).publish(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},signAddendumForSupplier(e,r){const t=V(a).signAddendumForSupplier(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},tenantVacated(e,r){const t=V(a).tenantVacated(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},updateExistingProperty(e,r,t){const s=V(a).updateExistingProperty(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},updateProperty(e,r,t){const s=V(a).updateProperty(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},updateTenancy(e,r,t){const s=V(a).updateTenancy(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}}}},fu=function(a,e,r){return{closingRemindersEnabled(t,s,n){return C(a).closingRemindersEnabled(t,s,n)(r,e)},createTenancy(t,s){return C(a).createTenancy(t,s)(r,e)},createTenancyOrder(t,s,n){return C(a).createTenancyOrder(t,s,n)(r,e)},disableTopUps(t,s){return C(a).disableTopUps(t,s)(r,e)},extendOutcomeDeadline(t,s){return C(a).extendOutcomeDeadline(t,s)(r,e)},getTenancyById(t,s){return C(a).getTenancyById(t,s)(r,e)},getTenancyDocuments(t,s){return C(a).getTenancyDocuments(t,s)(r,e)},publish(t,s){return C(a).publish(t,s)(r,e)},signAddendumForSupplier(t,s){return C(a).signAddendumForSupplier(t,s)(r,e)},tenantVacated(t,s){return C(a).tenantVacated(t,s)(r,e)},updateExistingProperty(t,s,n){return C(a).updateExistingProperty(t,s,n)(r,e)},updateProperty(t,s,n){return C(a).updateProperty(t,s,n)(r,e)},updateTenancy(t,s,n){return C(a).updateTenancy(t,s,n)(r,e)}}};class Ou extends R{closingRemindersEnabled(e,r,t){return C(this.configuration).closingRemindersEnabled(e,r,t)(this.axios,this.basePath)}createTenancy(e,r){return C(this.configuration).createTenancy(e,r)(this.axios,this.basePath)}createTenancyOrder(e,r,t){return C(this.configuration).createTenancyOrder(e,r,t)(this.axios,this.basePath)}disableTopUps(e,r){return C(this.configuration).disableTopUps(e,r)(this.axios,this.basePath)}extendOutcomeDeadline(e,r){return C(this.configuration).extendOutcomeDeadline(e,r)(this.axios,this.basePath)}getTenancyById(e,r){return C(this.configuration).getTenancyById(e,r)(this.axios,this.basePath)}getTenancyDocuments(e,r){return C(this.configuration).getTenancyDocuments(e,r)(this.axios,this.basePath)}publish(e,r){return C(this.configuration).publish(e,r)(this.axios,this.basePath)}signAddendumForSupplier(e,r){return C(this.configuration).signAddendumForSupplier(e,r)(this.axios,this.basePath)}tenantVacated(e,r){return C(this.configuration).tenantVacated(e,r)(this.axios,this.basePath)}updateExistingProperty(e,r,t){return C(this.configuration).updateExistingProperty(e,r,t)(this.axios,this.basePath)}updateProperty(e,r,t){return C(this.configuration).updateProperty(e,r,t)(this.axios,this.basePath)}updateTenancy(e,r,t){return C(this.configuration).updateTenancy(e,r,t)(this.axios,this.basePath)}}async function yu(a,e,r,t=p,s=u,n){const o=V(r).closingRemindersEnabled(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function Eu(a,e,r=p,t=u,s){const n=V(e).createTenancy(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function Vu(a,e,r,t=p,s=u,n){const o=V(r).createTenancyOrder(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function Cu(a,e,r=p,t=u,s){const n=V(e).disableTopUps(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function qu(a,e,r=p,t=u,s){const n=V(e).extendOutcomeDeadline(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function _u(a,e,r=p,t=u,s){const n=V(e).getTenancyById(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function vu(a,e,r=p,t=u,s){const n=V(e).getTenancyDocuments(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function bu(a,e,r=p,t=u,s){const n=V(e).publish(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function Tu(a,e,r=p,t=u,s){const n=V(e).signAddendumForSupplier(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function Su(a,e,r=p,t=u,s){const n=V(e).tenantVacated(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function Nu(a,e,r,t=p,s=u,n){const o=V(r).updateExistingProperty(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function xu(a,e,r,t=p,s=u,n){const o=V(r).updateProperty(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function Uu(a,e,r,t=p,s=u,n){const o=V(r).updateTenancy(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}const ot=function(a){return{getTenancyAnniversaries(e,r={}){if(e==null)throw new h("tenancyId","Required parameter tenancyId was null or undefined when calling getTenancyAnniversaries.");const t="/v2/tenancies/{tenancyId}/anniversaries".replace("{tenancyId}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}}}},it=function(a){return{getTenancyAnniversaries(e,r){const t=ot(a).getTenancyAnniversaries(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}}}},Du=function(a,e,r){return{getTenancyAnniversaries(t,s){return it(a).getTenancyAnniversaries(t,s)(r,e)}}};class Lu extends R{getTenancyAnniversaries(e,r){return it(this.configuration).getTenancyAnniversaries(e,r)(this.axios,this.basePath)}}async function Bu(a,e,r=p,t=u,s){const n=ot(e).getTenancyAnniversaries(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}const lt=function(a){return{createCheckout(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling createCheckout.");const t="/v2/tenancies/{id}/checkout".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"POST",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}}}},ct=function(a){return{createCheckout(e,r){const t=lt(a).createCheckout(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}}}},ju=function(a,e,r){return{createCheckout(t,s){return ct(a).createCheckout(t,s)(r,e)}}};class Fu extends R{createCheckout(e,r){return ct(this.configuration).createCheckout(e,r)(this.axios,this.basePath)}}async function Mu(a,e,r=p,t=u,s){const n=lt(e).createCheckout(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}const Or=function(a){return{createTenancyExpiry(e,r,t={}){if(e==null)throw new h("tenancyId","Required parameter tenancyId was null or undefined when calling createTenancyExpiry.");if(r==null)throw new h("createTenancyExpiryRequestDTO","Required parameter createTenancyExpiryRequestDTO was null or undefined when calling createTenancyExpiry.");const s="/v2/tenancies/{tenancyId}/expiries".replace("{tenancyId}",encodeURIComponent(String(e))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"POST",...o,...t},l={},d={};return l["Content-Type"]="application/json",Object.entries({...d,...t.query}).forEach(([c,A])=>{A!==void 0&&n.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:n.pathname+n.search,options:i}},getByTenancyId(e,r={}){if(e==null)throw new h("tenancyId","Required parameter tenancyId was null or undefined when calling getByTenancyId.");const t="/v2/tenancies/{tenancyId}/expiries".replace("{tenancyId}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}}}},yr=function(a){return{createTenancyExpiry(e,r,t){const s=Or(a).createTenancyExpiry(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},getByTenancyId(e,r){const t=Or(a).getByTenancyId(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}}}},Hu=function(a,e,r){return{createTenancyExpiry(t,s,n){return yr(a).createTenancyExpiry(t,s,n)(r,e)},getByTenancyId(t,s){return yr(a).getByTenancyId(t,s)(r,e)}}};class Gu extends R{createTenancyExpiry(e,r,t){return yr(this.configuration).createTenancyExpiry(e,r,t)(this.axios,this.basePath)}getByTenancyId(e,r){return yr(this.configuration).getByTenancyId(e,r)(this.axios,this.basePath)}}async function Qu(a,e,r,t=p,s=u,n){const o=Or(r).createTenancyExpiry(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function zu(a,e,r=p,t=u,s){const n=Or(e).getByTenancyId(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}const Er=function(a){return{disableWarnings(e,r,t={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling disableWarnings.");if(r==null)throw new h("tenancyId","Required parameter tenancyId was null or undefined when calling disableWarnings.");const s="/v2/tenancies/{tenancyId}/inventories/{id}/disable-warnings".replace("{id}",encodeURIComponent(String(e))).replace("{tenancyId}",encodeURIComponent(String(r))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"PATCH",...o,...t},l={};return Object.entries({...{},...t.query}).forEach(([c,A])=>{A!==void 0&&n.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},{url:n.pathname+n.search,options:i}},tenantConfirmation(e,r,t,s={}){if(e==null)throw new h("token","Required parameter token was null or undefined when calling tenantConfirmation.");if(r==null)throw new h("response","Required parameter response was null or undefined when calling tenantConfirmation.");if(t==null)throw new h("tenancyId","Required parameter tenancyId was null or undefined when calling tenantConfirmation.");const n="/v2/tenancies/{tenancyId}/inventories/confirmation".replace("{tenancyId}",encodeURIComponent(String(t))),o=new URL(n,"http://placeholder");let i;a&&(i=a.baseOptions);const l={method:"GET",...i,...s},d={},c={};return e!==void 0&&(c.token=e),r!==void 0&&(c.response=r),Object.entries({...c,...s.query}).forEach(([A,m])=>{m!==void 0&&o.searchParams.set(A,String(m))}),l.headers={...d,...s.headers},{url:o.pathname+o.search,options:l}}}},Vr=function(a){return{disableWarnings(e,r,t){const s=Er(a).disableWarnings(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},tenantConfirmation(e,r,t,s){const n=Er(a).tenantConfirmation(e,r,t,s);return(o=p,i=u)=>{const l={...n.options,url:i+n.url};return o.request(l)}}}},ku=function(a,e,r){return{disableWarnings(t,s,n){return Vr(a).disableWarnings(t,s,n)(r,e)},tenantConfirmation(t,s,n,o){return Vr(a).tenantConfirmation(t,s,n,o)(r,e)}}};class Yu extends R{disableWarnings(e,r,t){return Vr(this.configuration).disableWarnings(e,r,t)(this.axios,this.basePath)}tenantConfirmation(e,r,t,s){return Vr(this.configuration).tenantConfirmation(e,r,t,s)(this.axios,this.basePath)}}async function $u(a,e,r,t=p,s=u,n){const o=Er(r).disableWarnings(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function Wu(a,e,r,t,s=p,n=u,o){const i=Er(t).tenantConfirmation(a,e,r,o),l={...i.options,url:n+i.url};return(await s.request(l)).data}const H=function(a){return{acceptTenancyInvite(e,r,t,s={}){if(e==null)throw new h("token","Required parameter token was null or undefined when calling acceptTenancyInvite.");if(r==null)throw new h("clearSession","Required parameter clearSession was null or undefined when calling acceptTenancyInvite.");if(t==null)throw new h("tenancyId","Required parameter tenancyId was null or undefined when calling acceptTenancyInvite.");const n="/v2/tenancies/{tenancyId}/invites/accept".replace("{tenancyId}",encodeURIComponent(String(t))),o=new URL(n,"http://placeholder");let i;a&&(i=a.baseOptions);const l={method:"GET",...i,...s},d={},c={};return e!==void 0&&(c.token=e),r!==void 0&&(c.clear_session=r),Object.entries({...c,...s.query}).forEach(([A,m])=>{m!==void 0&&o.searchParams.set(A,String(m))}),l.headers={...d,...s.headers},{url:o.pathname+o.search,options:l}},createTenancyInvite(e,r,t={}){if(e==null)throw new h("tenancyId","Required parameter tenancyId was null or undefined when calling createTenancyInvite.");if(r==null)throw new h("createTenancyInviteDTO","Required parameter createTenancyInviteDTO was null or undefined when calling createTenancyInvite.");const s="/v2/tenancies/{tenancyId}/invites".replace("{tenancyId}",encodeURIComponent(String(e))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"POST",...o,...t},l={},d={};return l["Content-Type"]="application/json",Object.entries({...d,...t.query}).forEach(([c,A])=>{A!==void 0&&n.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:n.pathname+n.search,options:i}},deleteTenancyInvite(e,r,t={}){if(e==null)throw new h("tenancyInviteId","Required parameter tenancyInviteId was null or undefined when calling deleteTenancyInvite.");if(r==null)throw new h("tenancyId","Required parameter tenancyId was null or undefined when calling deleteTenancyInvite.");const s="/v2/tenancies/{tenancyId}/invites/{tenancyInviteId}".replace("{tenancyInviteId}",encodeURIComponent(String(e))).replace("{tenancyId}",encodeURIComponent(String(r))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"DELETE",...o,...t},l={};return Object.entries({...{},...t.query}).forEach(([c,A])=>{A!==void 0&&n.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},{url:n.pathname+n.search,options:i}},fetchInvitesByTenancyId(e,r,t,s={}){if(e==null)throw new h("tenancyId","Required parameter tenancyId was null or undefined when calling fetchInvitesByTenancyId.");if(r==null)throw new h("organizationId","Required parameter organizationId was null or undefined when calling fetchInvitesByTenancyId.");const n="/v2/tenancies/{tenancyId}/invites".replace("{tenancyId}",encodeURIComponent(String(e))).replace("{organizationId}",encodeURIComponent(String(r))),o=new URL(n,"http://placeholder");let i;a&&(i=a.baseOptions);const l={method:"GET",...i,...s},d={},c={};return t!==void 0&&(c.accepted=t),Object.entries({...c,...s.query}).forEach(([A,m])=>{m!==void 0&&o.searchParams.set(A,String(m))}),l.headers={...d,...s.headers},{url:o.pathname+o.search,options:l}},resendTenancyInvite(e,r,t={}){if(e==null)throw new h("tenancyInviteId","Required parameter tenancyInviteId was null or undefined when calling resendTenancyInvite.");if(r==null)throw new h("tenancyId","Required parameter tenancyId was null or undefined when calling resendTenancyInvite.");const s="/v2/tenancies/{tenancyId}/invites/{tenancyInviteId}/resend".replace("{tenancyInviteId}",encodeURIComponent(String(e))).replace("{tenancyId}",encodeURIComponent(String(r))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"POST",...o,...t},l={};return Object.entries({...{},...t.query}).forEach(([c,A])=>{A!==void 0&&n.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},{url:n.pathname+n.search,options:i}},updateTenancyInvite(e,r,t,s={}){if(e==null)throw new h("tenancyInviteId","Required parameter tenancyInviteId was null or undefined when calling updateTenancyInvite.");if(r==null)throw new h("tenancyId","Required parameter tenancyId was null or undefined when calling updateTenancyInvite.");if(t==null)throw new h("updateTenancyInviteDTO","Required parameter updateTenancyInviteDTO was null or undefined when calling updateTenancyInvite.");const n="/v2/tenancies/{tenancyId}/invites/{tenancyInviteId}".replace("{tenancyInviteId}",encodeURIComponent(String(e))).replace("{tenancyId}",encodeURIComponent(String(r))),o=new URL(n,"http://placeholder");let i;a&&(i=a.baseOptions);const l={method:"PATCH",...i,...s},d={},c={};return d["Content-Type"]="application/json",Object.entries({...c,...s.query}).forEach(([A,m])=>{m!==void 0&&o.searchParams.set(A,String(m))}),l.headers={...d,...s.headers},l.data=JSON.stringify(t!==void 0?t:{}),{url:o.pathname+o.search,options:l}}}},G=function(a){return{acceptTenancyInvite(e,r,t,s){const n=H(a).acceptTenancyInvite(e,r,t,s);return(o=p,i=u)=>{const l={...n.options,url:i+n.url};return o.request(l)}},createTenancyInvite(e,r,t){const s=H(a).createTenancyInvite(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},deleteTenancyInvite(e,r,t){const s=H(a).deleteTenancyInvite(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},fetchInvitesByTenancyId(e,r,t,s){const n=H(a).fetchInvitesByTenancyId(e,r,t,s);return(o=p,i=u)=>{const l={...n.options,url:i+n.url};return o.request(l)}},resendTenancyInvite(e,r,t){const s=H(a).resendTenancyInvite(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},updateTenancyInvite(e,r,t,s){const n=H(a).updateTenancyInvite(e,r,t,s);return(o=p,i=u)=>{const l={...n.options,url:i+n.url};return o.request(l)}}}},Ju=function(a,e,r){return{acceptTenancyInvite(t,s,n,o){return G(a).acceptTenancyInvite(t,s,n,o)(r,e)},createTenancyInvite(t,s,n){return G(a).createTenancyInvite(t,s,n)(r,e)},deleteTenancyInvite(t,s,n){return G(a).deleteTenancyInvite(t,s,n)(r,e)},fetchInvitesByTenancyId(t,s,n,o){return G(a).fetchInvitesByTenancyId(t,s,n,o)(r,e)},resendTenancyInvite(t,s,n){return G(a).resendTenancyInvite(t,s,n)(r,e)},updateTenancyInvite(t,s,n,o){return G(a).updateTenancyInvite(t,s,n,o)(r,e)}}};class Ku extends R{acceptTenancyInvite(e,r,t,s){return G(this.configuration).acceptTenancyInvite(e,r,t,s)(this.axios,this.basePath)}createTenancyInvite(e,r,t){return G(this.configuration).createTenancyInvite(e,r,t)(this.axios,this.basePath)}deleteTenancyInvite(e,r,t){return G(this.configuration).deleteTenancyInvite(e,r,t)(this.axios,this.basePath)}fetchInvitesByTenancyId(e,r,t,s){return G(this.configuration).fetchInvitesByTenancyId(e,r,t,s)(this.axios,this.basePath)}resendTenancyInvite(e,r,t){return G(this.configuration).resendTenancyInvite(e,r,t)(this.axios,this.basePath)}updateTenancyInvite(e,r,t,s){return G(this.configuration).updateTenancyInvite(e,r,t,s)(this.axios,this.basePath)}}async function Xu(a,e,r,t,s=p,n=u,o){const i=H(t).acceptTenancyInvite(a,e,r,o),l={...i.options,url:n+i.url};return(await s.request(l)).data}async function Zu(a,e,r,t=p,s=u,n){const o=H(r).createTenancyInvite(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function ep(a,e,r,t=p,s=u,n){const o=H(r).deleteTenancyInvite(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function rp(a,e,r,t,s=p,n=u,o){const i=H(t).fetchInvitesByTenancyId(a,e,r,o),l={...i.options,url:n+i.url};return(await s.request(l)).data}async function tp(a,e,r,t=p,s=u,n){const o=H(r).resendTenancyInvite(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function ap(a,e,r,t,s=p,n=u,o){const i=H(t).updateTenancyInvite(a,e,r,o),l={...i.options,url:n+i.url};return(await s.request(l)).data}const Cr=function(a){return{createTenancyOrderNote(e,r,t={}){if(e==null)throw new h("tenancyOrderId","Required parameter tenancyOrderId was null or undefined when calling createTenancyOrderNote.");if(r==null)throw new h("createTenancyOrderNoteDTO","Required parameter createTenancyOrderNoteDTO was null or undefined when calling createTenancyOrderNote.");const s="/v2/tenancy-orders/{tenancyOrderId}/notes".replace("{tenancyOrderId}",encodeURIComponent(String(e))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"POST",...o,...t},l={},d={};return l["Content-Type"]="application/json",Object.entries({...d,...t.query}).forEach(([c,A])=>{A!==void 0&&n.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:n.pathname+n.search,options:i}},deleteNote(e,r,t={}){if(e==null)throw new h("tenancyOrderNoteId","Required parameter tenancyOrderNoteId was null or undefined when calling deleteNote.");if(r==null)throw new h("tenancyOrderId","Required parameter tenancyOrderId was null or undefined when calling deleteNote.");const s="/v2/tenancy-orders/{tenancyOrderId}/notes/{tenancyOrderNoteId}".replace("{tenancyOrderNoteId}",encodeURIComponent(String(e))).replace("{tenancyOrderId}",encodeURIComponent(String(r))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"DELETE",...o,...t},l={};return Object.entries({...{},...t.query}).forEach(([c,A])=>{A!==void 0&&n.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},{url:n.pathname+n.search,options:i}}}},qr=function(a){return{createTenancyOrderNote(e,r,t){const s=Cr(a).createTenancyOrderNote(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},deleteNote(e,r,t){const s=Cr(a).deleteNote(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}}}},sp=function(a,e,r){return{createTenancyOrderNote(t,s,n){return qr(a).createTenancyOrderNote(t,s,n)(r,e)},deleteNote(t,s,n){return qr(a).deleteNote(t,s,n)(r,e)}}};class np extends R{createTenancyOrderNote(e,r,t){return qr(this.configuration).createTenancyOrderNote(e,r,t)(this.axios,this.basePath)}deleteNote(e,r,t){return qr(this.configuration).deleteNote(e,r,t)(this.axios,this.basePath)}}async function op(a,e,r,t=p,s=u,n){const o=Cr(r).createTenancyOrderNote(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function ip(a,e,r,t=p,s=u,n){const o=Cr(r).deleteNote(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}const Q=function(a){return{getTenancyOrderById(e,r,t={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling getTenancyOrderById.");const s="/v2/tenancy-orders/{id}".replace("{id}",encodeURIComponent(String(e))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"GET",...o,...t},l={},d={};return r!==void 0&&(d.includeDeleted=r),Object.entries({...d,...t.query}).forEach(([c,A])=>{A!==void 0&&n.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},{url:n.pathname+n.search,options:i}},optimisedSearch(e,r,t,s,n,o,i,l,d,c,A,m={}){if(e==null)throw new h("organizationId","Required parameter organizationId was null or undefined when calling optimisedSearch.");if(r==null)throw new h("page","Required parameter page was null or undefined when calling optimisedSearch.");if(t==null)throw new h("size","Required parameter size was null or undefined when calling optimisedSearch.");if(s==null)throw new h("includeDeleted","Required parameter includeDeleted was null or undefined when calling optimisedSearch.");if(n==null)throw new h("onlyDeleted","Required parameter onlyDeleted was null or undefined when calling optimisedSearch.");const I="/v2/tenancy-orders/optimised-search",P=new URL(I,"http://placeholder");let q;a&&(q=a.baseOptions);const k={method:"GET",...q,...m},pt={},Y={};return o!==void 0&&(Y.query=o),e!==void 0&&(Y.organizationId=e),i!==void 0&&(Y.orderStatus=i),l!==void 0&&(Y.tenancyStatus=l),d!==void 0&&(Y.sortBy=d),c!==void 0&&(Y.sortDirection=c),r!==void 0&&(Y.page=r),t!==void 0&&(Y.size=t),s!==void 0&&(Y.includeDeleted=s),n!==void 0&&(Y.onlyDeleted=n),A!==void 0&&(Y.letOnly=A),Object.entries({...Y,...m.query}).forEach(([bs,ht])=>{ht!==void 0&&P.searchParams.set(bs,String(ht))}),k.headers={...pt,...m.headers},{url:P.pathname+P.search,options:k}},removeTenancyOrderById(e,r,t={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling removeTenancyOrderById.");if(r==null)throw new h("removeTenancyOrderDTO","Required parameter removeTenancyOrderDTO was null or undefined when calling removeTenancyOrderById.");const s="/v2/tenancy-orders/{id}".replace("{id}",encodeURIComponent(String(e))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"DELETE",...o,...t},l={},d={};return l["Content-Type"]="application/json",Object.entries({...d,...t.query}).forEach(([c,A])=>{A!==void 0&&n.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:n.pathname+n.search,options:i}},reopenTenancyOrder(e,r,t={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling reopenTenancyOrder.");if(r==null)throw new h("reopenRepositDTO","Required parameter reopenRepositDTO was null or undefined when calling reopenTenancyOrder.");const s="/v2/tenancy-orders/{id}/reopen".replace("{id}",encodeURIComponent(String(e))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"POST",...o,...t},l={},d={};return l["Content-Type"]="application/json",Object.entries({...d,...t.query}).forEach(([c,A])=>{A!==void 0&&n.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:n.pathname+n.search,options:i}},sendOverdueChasers(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling sendOverdueChasers.");const t="/v2/tenancy-orders/{id}/send-overdue-chasers".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"POST",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},transferTenancyOrderToOrganization(e,r,t={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling transferTenancyOrderToOrganization.");if(r==null)throw new h("transferTenancyOrderDTO","Required parameter transferTenancyOrderDTO was null or undefined when calling transferTenancyOrderToOrganization.");const s="/v2/tenancy-orders/{id}/transfer".replace("{id}",encodeURIComponent(String(e))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"POST",...o,...t},l={},d={};return l["Content-Type"]="application/json",Object.entries({...d,...t.query}).forEach(([c,A])=>{A!==void 0&&n.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:n.pathname+n.search,options:i}}}},z=function(a){return{getTenancyOrderById(e,r,t){const s=Q(a).getTenancyOrderById(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},optimisedSearch(e,r,t,s,n,o,i,l,d,c,A,m){const I=Q(a).optimisedSearch(e,r,t,s,n,o,i,l,d,c,A,m);return(P=p,q=u)=>{const k={...I.options,url:q+I.url};return P.request(k)}},removeTenancyOrderById(e,r,t){const s=Q(a).removeTenancyOrderById(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},reopenTenancyOrder(e,r,t){const s=Q(a).reopenTenancyOrder(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},sendOverdueChasers(e,r){const t=Q(a).sendOverdueChasers(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},transferTenancyOrderToOrganization(e,r,t){const s=Q(a).transferTenancyOrderToOrganization(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}}}},lp=function(a,e,r){return{getTenancyOrderById(t,s,n){return z(a).getTenancyOrderById(t,s,n)(r,e)},optimisedSearch(t,s,n,o,i,l,d,c,A,m,I,P){return z(a).optimisedSearch(t,s,n,o,i,l,d,c,A,m,I,P)(r,e)},removeTenancyOrderById(t,s,n){return z(a).removeTenancyOrderById(t,s,n)(r,e)},reopenTenancyOrder(t,s,n){return z(a).reopenTenancyOrder(t,s,n)(r,e)},sendOverdueChasers(t,s){return z(a).sendOverdueChasers(t,s)(r,e)},transferTenancyOrderToOrganization(t,s,n){return z(a).transferTenancyOrderToOrganization(t,s,n)(r,e)}}};class cp extends R{getTenancyOrderById(e,r,t){return z(this.configuration).getTenancyOrderById(e,r,t)(this.axios,this.basePath)}optimisedSearch(e,r,t,s,n,o,i,l,d,c,A,m){return z(this.configuration).optimisedSearch(e,r,t,s,n,o,i,l,d,c,A,m)(this.axios,this.basePath)}removeTenancyOrderById(e,r,t){return z(this.configuration).removeTenancyOrderById(e,r,t)(this.axios,this.basePath)}reopenTenancyOrder(e,r,t){return z(this.configuration).reopenTenancyOrder(e,r,t)(this.axios,this.basePath)}sendOverdueChasers(e,r){return z(this.configuration).sendOverdueChasers(e,r)(this.axios,this.basePath)}transferTenancyOrderToOrganization(e,r,t){return z(this.configuration).transferTenancyOrderToOrganization(e,r,t)(this.axios,this.basePath)}}async function dp(a,e,r,t=p,s=u,n){const o=Q(r).getTenancyOrderById(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function up(a,e,r,t,s,n,o,i,l,d,c,A,m=p,I=u,P){const q=Q(A).optimisedSearch(a,e,r,t,s,n,o,i,l,d,c,P),k={...q.options,url:I+q.url};return(await m.request(k)).data}async function pp(a,e,r,t=p,s=u,n){const o=Q(r).removeTenancyOrderById(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function hp(a,e,r,t=p,s=u,n){const o=Q(r).reopenTenancyOrder(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function Ap(a,e,r=p,t=u,s){const n=Q(e).sendOverdueChasers(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function mp(a,e,r,t=p,s=u,n){const o=Q(r).transferTenancyOrderToOrganization(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}const Oe=function(a){return{addGuarantor(e,r,t,s={}){if(e==null)throw new h("tenancyUserId","Required parameter tenancyUserId was null or undefined when calling addGuarantor.");if(r==null)throw new h("tenancyId","Required parameter tenancyId was null or undefined when calling addGuarantor.");if(t==null)throw new h("createGuarantorDTO","Required parameter createGuarantorDTO was null or undefined when calling addGuarantor.");const n="/v2/tenancies/{tenancyId}/tenancyUsers/{tenancyUserId}/guarantor".replace("{tenancyUserId}",encodeURIComponent(String(e))).replace("{tenancyId}",encodeURIComponent(String(r))),o=new URL(n,"http://placeholder");let i;a&&(i=a.baseOptions);const l={method:"POST",...i,...s},d={},c={};return d["Content-Type"]="application/json",Object.entries({...c,...s.query}).forEach(([A,m])=>{m!==void 0&&o.searchParams.set(A,String(m))}),l.headers={...d,...s.headers},l.data=JSON.stringify(t!==void 0?t:{}),{url:o.pathname+o.search,options:l}},deleteGuarantor(e,r,t={}){if(e==null)throw new h("tenancyUserId","Required parameter tenancyUserId was null or undefined when calling deleteGuarantor.");if(r==null)throw new h("tenancyId","Required parameter tenancyId was null or undefined when calling deleteGuarantor.");const s="/v2/tenancies/{tenancyId}/tenancyUsers/{tenancyUserId}/guarantor".replace("{tenancyUserId}",encodeURIComponent(String(e))).replace("{tenancyId}",encodeURIComponent(String(r))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"DELETE",...o,...t},l={};return Object.entries({...{},...t.query}).forEach(([c,A])=>{A!==void 0&&n.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},{url:n.pathname+n.search,options:i}},sendReminderEmail(e,r,t={}){if(e==null)throw new h("tenancyUserId","Required parameter tenancyUserId was null or undefined when calling sendReminderEmail.");if(r==null)throw new h("tenancyId","Required parameter tenancyId was null or undefined when calling sendReminderEmail.");const s="/v2/tenancies/{tenancyId}/tenancyUsers/{tenancyUserId}/sendReminderEmail".replace("{tenancyUserId}",encodeURIComponent(String(e))).replace("{tenancyId}",encodeURIComponent(String(r))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"POST",...o,...t},l={};return Object.entries({...{},...t.query}).forEach(([c,A])=>{A!==void 0&&n.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},{url:n.pathname+n.search,options:i}},updateGuarantor(e,r,t,s={}){if(e==null)throw new h("tenancyUserId","Required parameter tenancyUserId was null or undefined when calling updateGuarantor.");if(r==null)throw new h("tenancyId","Required parameter tenancyId was null or undefined when calling updateGuarantor.");if(t==null)throw new h("createGuarantorDTO","Required parameter createGuarantorDTO was null or undefined when calling updateGuarantor.");const n="/v2/tenancies/{tenancyId}/tenancyUsers/{tenancyUserId}/guarantor".replace("{tenancyUserId}",encodeURIComponent(String(e))).replace("{tenancyId}",encodeURIComponent(String(r))),o=new URL(n,"http://placeholder");let i;a&&(i=a.baseOptions);const l={method:"PUT",...i,...s},d={},c={};return d["Content-Type"]="application/json",Object.entries({...c,...s.query}).forEach(([A,m])=>{m!==void 0&&o.searchParams.set(A,String(m))}),l.headers={...d,...s.headers},l.data=JSON.stringify(t!==void 0?t:{}),{url:o.pathname+o.search,options:l}}}},ye=function(a){return{addGuarantor(e,r,t,s){const n=Oe(a).addGuarantor(e,r,t,s);return(o=p,i=u)=>{const l={...n.options,url:i+n.url};return o.request(l)}},deleteGuarantor(e,r,t){const s=Oe(a).deleteGuarantor(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},sendReminderEmail(e,r,t){const s=Oe(a).sendReminderEmail(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},updateGuarantor(e,r,t,s){const n=Oe(a).updateGuarantor(e,r,t,s);return(o=p,i=u)=>{const l={...n.options,url:i+n.url};return o.request(l)}}}},Rp=function(a,e,r){return{addGuarantor(t,s,n,o){return ye(a).addGuarantor(t,s,n,o)(r,e)},deleteGuarantor(t,s,n){return ye(a).deleteGuarantor(t,s,n)(r,e)},sendReminderEmail(t,s,n){return ye(a).sendReminderEmail(t,s,n)(r,e)},updateGuarantor(t,s,n,o){return ye(a).updateGuarantor(t,s,n,o)(r,e)}}};class Ip extends R{addGuarantor(e,r,t,s){return ye(this.configuration).addGuarantor(e,r,t,s)(this.axios,this.basePath)}deleteGuarantor(e,r,t){return ye(this.configuration).deleteGuarantor(e,r,t)(this.axios,this.basePath)}sendReminderEmail(e,r,t){return ye(this.configuration).sendReminderEmail(e,r,t)(this.axios,this.basePath)}updateGuarantor(e,r,t,s){return ye(this.configuration).updateGuarantor(e,r,t,s)(this.axios,this.basePath)}}async function Pp(a,e,r,t,s=p,n=u,o){const i=Oe(t).addGuarantor(a,e,r,o),l={...i.options,url:n+i.url};return(await s.request(l)).data}async function gp(a,e,r,t=p,s=u,n){const o=Oe(r).deleteGuarantor(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function wp(a,e,r,t=p,s=u,n){const o=Oe(r).sendReminderEmail(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function fp(a,e,r,t,s=p,n=u,o){const i=Oe(t).updateGuarantor(a,e,r,o),l={...i.options,url:n+i.url};return(await s.request(l)).data}const _r=function(a){return{addTenant(e,r,t={}){if(e==null)throw new h("tenancyId","Required parameter tenancyId was null or undefined when calling addTenant.");if(r==null)throw new h("addTenantRequestDTO","Required parameter addTenantRequestDTO was null or undefined when calling addTenant.");const s="/v2/tenancies/{tenancyId}/tenants".replace("{tenancyId}",encodeURIComponent(String(e))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"POST",...o,...t},l={},d={};return l["Content-Type"]="application/json",Object.entries({...d,...t.query}).forEach(([c,A])=>{A!==void 0&&n.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:n.pathname+n.search,options:i}},deleteById(e,r,t={}){if(e==null)throw new h("tenantId","Required parameter tenantId was null or undefined when calling deleteById.");if(r==null)throw new h("tenancyId","Required parameter tenancyId was null or undefined when calling deleteById.");const s="/v2/tenancies/{tenancyId}/tenants/{tenantId}".replace("{tenantId}",encodeURIComponent(String(e))).replace("{tenancyId}",encodeURIComponent(String(r))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"DELETE",...o,...t},l={};return Object.entries({...{},...t.query}).forEach(([c,A])=>{A!==void 0&&n.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},{url:n.pathname+n.search,options:i}}}},vr=function(a){return{addTenant(e,r,t){const s=_r(a).addTenant(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},deleteById(e,r,t){const s=_r(a).deleteById(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}}}},Op=function(a,e,r){return{addTenant(t,s,n){return vr(a).addTenant(t,s,n)(r,e)},deleteById(t,s,n){return vr(a).deleteById(t,s,n)(r,e)}}};class yp extends R{addTenant(e,r,t){return vr(this.configuration).addTenant(e,r,t)(this.axios,this.basePath)}deleteById(e,r,t){return vr(this.configuration).deleteById(e,r,t)(this.axios,this.basePath)}}async function Ep(a,e,r,t=p,s=u,n){const o=_r(r).addTenant(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function Vp(a,e,r,t=p,s=u,n){const o=_r(r).deleteById(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}const br=function(a){return{getSupplierTerms(e={}){const r="/v2/integration/terms/supplier",t=new URL(r,"http://placeholder");let s;a&&(s=a.baseOptions);const n={method:"GET",...s,...e},o={};return Object.entries({...{},...e.query}).forEach(([l,d])=>{d!==void 0&&t.searchParams.set(l,String(d))}),n.headers={...o,...e.headers},{url:t.pathname+t.search,options:n}},getTenantTerms(e={}){const r="/v2/integration/terms/tenant",t=new URL(r,"http://placeholder");let s;a&&(s=a.baseOptions);const n={method:"GET",...s,...e},o={};return Object.entries({...{},...e.query}).forEach(([l,d])=>{d!==void 0&&t.searchParams.set(l,String(d))}),n.headers={...o,...e.headers},{url:t.pathname+t.search,options:n}}}},Tr=function(a){return{getSupplierTerms(e){const r=br(a).getSupplierTerms(e);return(t=p,s=u)=>{const n={...r.options,url:s+r.url};return t.request(n)}},getTenantTerms(e){const r=br(a).getTenantTerms(e);return(t=p,s=u)=>{const n={...r.options,url:s+r.url};return t.request(n)}}}},Cp=function(a,e,r){return{getSupplierTerms(t){return Tr(a).getSupplierTerms(t)(r,e)},getTenantTerms(t){return Tr(a).getTenantTerms(t)(r,e)}}};class qp extends R{getSupplierTerms(e){return Tr(this.configuration).getSupplierTerms(e)(this.axios,this.basePath)}getTenantTerms(e){return Tr(this.configuration).getTenantTerms(e)(this.axios,this.basePath)}}async function _p(a,e=p,r=u,t){const s=br(a).getSupplierTerms(t),n={...s.options,url:r+s.url};return(await e.request(n)).data}async function vp(a,e=p,r=u,t){const s=br(a).getTenantTerms(t),n={...s.options,url:r+s.url};return(await e.request(n)).data}const y=function(a){return{completeOnboardingIntroduction(e={}){const r="/v2/users/me/complete-onboarding-introduction",t=new URL(r,"http://placeholder");let s;a&&(s=a.baseOptions);const n={method:"POST",...s,...e},o={};return Object.entries({...{},...e.query}).forEach(([l,d])=>{d!==void 0&&t.searchParams.set(l,String(d))}),n.headers={...o,...e.headers},{url:t.pathname+t.search,options:n}},createOneTimeSessionToken(e={}){const r="/v2/users/me/one-time-session-token",t=new URL(r,"http://placeholder");let s;a&&(s=a.baseOptions);const n={method:"POST",...s,...e},o={};return Object.entries({...{},...e.query}).forEach(([l,d])=>{d!==void 0&&t.searchParams.set(l,String(d))}),n.headers={...o,...e.headers},{url:t.pathname+t.search,options:n}},dismissNewProductUpdates(e={}){const r="/v2/users/me/dismiss-new-product-updates",t=new URL(r,"http://placeholder");let s;a&&(s=a.baseOptions);const n={method:"POST",...s,...e},o={};return Object.entries({...{},...e.query}).forEach(([l,d])=>{d!==void 0&&t.searchParams.set(l,String(d))}),n.headers={...o,...e.headers},{url:t.pathname+t.search,options:n}},dismissUserMessage(e,r={}){if(e==null)throw new h("messageId","Required parameter messageId was null or undefined when calling dismissUserMessage.");const t="/v2/users/me/messages/{messageId}/dismiss".replace("{messageId}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"POST",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},findOneByID(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling findOneByID.");const t="/v2/users/{id}".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},getCustomer(e={}){const r="/v2/users/me/customer",t=new URL(r,"http://placeholder");let s;a&&(s=a.baseOptions);const n={method:"GET",...s,...e},o={};return Object.entries({...{},...e.query}).forEach(([l,d])=>{d!==void 0&&t.searchParams.set(l,String(d))}),n.headers={...o,...e.headers},{url:t.pathname+t.search,options:n}},getOrganizationUsers(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling getOrganizationUsers.");const t="/v2/users/{id}/organizations".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},getTenancyOrdersByProductId(e,r={}){if(e==null)throw new h("productId","Required parameter productId was null or undefined when calling getTenancyOrdersByProductId.");const t="/v2/users/me/tenancy-orders",s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={},l={};return e!==void 0&&(l.productId=e),Object.entries({...l,...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},getUserAccount(e={}){const r="/v2/users/me/account",t=new URL(r,"http://placeholder");let s;a&&(s=a.baseOptions);const n={method:"GET",...s,...e},o={};return Object.entries({...{},...e.query}).forEach(([l,d])=>{d!==void 0&&t.searchParams.set(l,String(d))}),n.headers={...o,...e.headers},{url:t.pathname+t.search,options:n}},getUserTenancyAnniversaries(e={}){const r="/v2/users/me/tenancy-anniversaries",t=new URL(r,"http://placeholder");let s;a&&(s=a.baseOptions);const n={method:"GET",...s,...e},o={};return Object.entries({...{},...e.query}).forEach(([l,d])=>{d!==void 0&&t.searchParams.set(l,String(d))}),n.headers={...o,...e.headers},{url:t.pathname+t.search,options:n}},me(e={}){const r="/v2/users/me",t=new URL(r,"http://placeholder");let s;a&&(s=a.baseOptions);const n={method:"GET",...s,...e},o={};return Object.entries({...{},...e.query}).forEach(([l,d])=>{d!==void 0&&t.searchParams.set(l,String(d))}),n.headers={...o,...e.headers},{url:t.pathname+t.search,options:n}},resetUserPassword(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling resetUserPassword.");const t="/v2/users/{id}/reset-password".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"POST",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},searchUser(e,r,t,s,n,o={}){if(e==null)throw new h("userTypeId","Required parameter userTypeId was null or undefined when calling searchUser.");if(r==null)throw new h("page","Required parameter page was null or undefined when calling searchUser.");if(t==null)throw new h("size","Required parameter size was null or undefined when calling searchUser.");const i="/v2/users",l=new URL(i,"http://placeholder");let d;a&&(d=a.baseOptions);const c={method:"GET",...d,...o},A={},m={};return s!==void 0&&(m.query=s),e!==void 0&&(m.userTypeId=e),n!==void 0&&(m.sortBy=n),r!==void 0&&(m.page=r),t!==void 0&&(m.size=t),Object.entries({...m,...o.query}).forEach(([I,P])=>{P!==void 0&&l.searchParams.set(I,String(P))}),c.headers={...A,...o.headers},{url:l.pathname+l.search,options:c}},updateAboutMe(e,r={}){if(e==null)throw new h("updateUserAboutMeDTO","Required parameter updateUserAboutMeDTO was null or undefined when calling updateAboutMe.");const t="/v2/users/me/onboarding/about-me",s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"PATCH",...n,...r},i={},l={};return i["Content-Type"]="application/json",Object.entries({...l,...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},o.data=JSON.stringify(e!==void 0?e:{}),{url:s.pathname+s.search,options:o}},updateAddressHistory(e,r={}){if(e==null)throw new h("updateUserAddressHistoryDTO","Required parameter updateUserAddressHistoryDTO was null or undefined when calling updateAddressHistory.");const t="/v2/users/me/onboarding/address-history",s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"PATCH",...n,...r},i={},l={};return i["Content-Type"]="application/json",Object.entries({...l,...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},o.data=JSON.stringify(e!==void 0?e:{}),{url:s.pathname+s.search,options:o}},updateBetaEnabled(e,r={}){if(e==null)throw new h("updateBetaEnabledDTO","Required parameter updateBetaEnabledDTO was null or undefined when calling updateBetaEnabled.");const t="/v2/users/me/beta-enabled",s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"POST",...n,...r},i={},l={};return i["Content-Type"]="application/json",Object.entries({...l,...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},o.data=JSON.stringify(e!==void 0?e:{}),{url:s.pathname+s.search,options:o}},updateEmailSettings(e,r={}){if(e==null)throw new h("updateUserEmailSettingsDTO","Required parameter updateUserEmailSettingsDTO was null or undefined when calling updateEmailSettings.");const t="/v2/users/me/email-settings",s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"PATCH",...n,...r},i={},l={};return i["Content-Type"]="application/json",Object.entries({...l,...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},o.data=JSON.stringify(e!==void 0?e:{}),{url:s.pathname+s.search,options:o}},updateUser(e,r,t={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling updateUser.");if(r==null)throw new h("updateUserDTO","Required parameter updateUserDTO was null or undefined when calling updateUser.");const s="/v2/users/{id}".replace("{id}",encodeURIComponent(String(e))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"PATCH",...o,...t},l={},d={};return l["Content-Type"]="application/json",Object.entries({...d,...t.query}).forEach(([c,A])=>{A!==void 0&&n.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:n.pathname+n.search,options:i}}}},E=function(a){return{completeOnboardingIntroduction(e){const r=y(a).completeOnboardingIntroduction(e);return(t=p,s=u)=>{const n={...r.options,url:s+r.url};return t.request(n)}},createOneTimeSessionToken(e){const r=y(a).createOneTimeSessionToken(e);return(t=p,s=u)=>{const n={...r.options,url:s+r.url};return t.request(n)}},dismissNewProductUpdates(e){const r=y(a).dismissNewProductUpdates(e);return(t=p,s=u)=>{const n={...r.options,url:s+r.url};return t.request(n)}},dismissUserMessage(e,r){const t=y(a).dismissUserMessage(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},findOneByID(e,r){const t=y(a).findOneByID(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},getCustomer(e){const r=y(a).getCustomer(e);return(t=p,s=u)=>{const n={...r.options,url:s+r.url};return t.request(n)}},getOrganizationUsers(e,r){const t=y(a).getOrganizationUsers(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},getTenancyOrdersByProductId(e,r){const t=y(a).getTenancyOrdersByProductId(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},getUserAccount(e){const r=y(a).getUserAccount(e);return(t=p,s=u)=>{const n={...r.options,url:s+r.url};return t.request(n)}},getUserTenancyAnniversaries(e){const r=y(a).getUserTenancyAnniversaries(e);return(t=p,s=u)=>{const n={...r.options,url:s+r.url};return t.request(n)}},me(e){const r=y(a).me(e);return(t=p,s=u)=>{const n={...r.options,url:s+r.url};return t.request(n)}},resetUserPassword(e,r){const t=y(a).resetUserPassword(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},searchUser(e,r,t,s,n,o){const i=y(a).searchUser(e,r,t,s,n,o);return(l=p,d=u)=>{const c={...i.options,url:d+i.url};return l.request(c)}},updateAboutMe(e,r){const t=y(a).updateAboutMe(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},updateAddressHistory(e,r){const t=y(a).updateAddressHistory(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},updateBetaEnabled(e,r){const t=y(a).updateBetaEnabled(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},updateEmailSettings(e,r){const t=y(a).updateEmailSettings(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},updateUser(e,r,t){const s=y(a).updateUser(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}}}},bp=function(a,e,r){return{completeOnboardingIntroduction(t){return E(a).completeOnboardingIntroduction(t)(r,e)},createOneTimeSessionToken(t){return E(a).createOneTimeSessionToken(t)(r,e)},dismissNewProductUpdates(t){return E(a).dismissNewProductUpdates(t)(r,e)},dismissUserMessage(t,s){return E(a).dismissUserMessage(t,s)(r,e)},findOneByID(t,s){return E(a).findOneByID(t,s)(r,e)},getCustomer(t){return E(a).getCustomer(t)(r,e)},getOrganizationUsers(t,s){return E(a).getOrganizationUsers(t,s)(r,e)},getTenancyOrdersByProductId(t,s){return E(a).getTenancyOrdersByProductId(t,s)(r,e)},getUserAccount(t){return E(a).getUserAccount(t)(r,e)},getUserTenancyAnniversaries(t){return E(a).getUserTenancyAnniversaries(t)(r,e)},me(t){return E(a).me(t)(r,e)},resetUserPassword(t,s){return E(a).resetUserPassword(t,s)(r,e)},searchUser(t,s,n,o,i,l){return E(a).searchUser(t,s,n,o,i,l)(r,e)},updateAboutMe(t,s){return E(a).updateAboutMe(t,s)(r,e)},updateAddressHistory(t,s){return E(a).updateAddressHistory(t,s)(r,e)},updateBetaEnabled(t,s){return E(a).updateBetaEnabled(t,s)(r,e)},updateEmailSettings(t,s){return E(a).updateEmailSettings(t,s)(r,e)},updateUser(t,s,n){return E(a).updateUser(t,s,n)(r,e)}}};class Tp extends R{completeOnboardingIntroduction(e){return E(this.configuration).completeOnboardingIntroduction(e)(this.axios,this.basePath)}createOneTimeSessionToken(e){return E(this.configuration).createOneTimeSessionToken(e)(this.axios,this.basePath)}dismissNewProductUpdates(e){return E(this.configuration).dismissNewProductUpdates(e)(this.axios,this.basePath)}dismissUserMessage(e,r){return E(this.configuration).dismissUserMessage(e,r)(this.axios,this.basePath)}findOneByID(e,r){return E(this.configuration).findOneByID(e,r)(this.axios,this.basePath)}getCustomer(e){return E(this.configuration).getCustomer(e)(this.axios,this.basePath)}getOrganizationUsers(e,r){return E(this.configuration).getOrganizationUsers(e,r)(this.axios,this.basePath)}getTenancyOrdersByProductId(e,r){return E(this.configuration).getTenancyOrdersByProductId(e,r)(this.axios,this.basePath)}getUserAccount(e){return E(this.configuration).getUserAccount(e)(this.axios,this.basePath)}getUserTenancyAnniversaries(e){return E(this.configuration).getUserTenancyAnniversaries(e)(this.axios,this.basePath)}me(e){return E(this.configuration).me(e)(this.axios,this.basePath)}resetUserPassword(e,r){return E(this.configuration).resetUserPassword(e,r)(this.axios,this.basePath)}searchUser(e,r,t,s,n,o){return E(this.configuration).searchUser(e,r,t,s,n,o)(this.axios,this.basePath)}updateAboutMe(e,r){return E(this.configuration).updateAboutMe(e,r)(this.axios,this.basePath)}updateAddressHistory(e,r){return E(this.configuration).updateAddressHistory(e,r)(this.axios,this.basePath)}updateBetaEnabled(e,r){return E(this.configuration).updateBetaEnabled(e,r)(this.axios,this.basePath)}updateEmailSettings(e,r){return E(this.configuration).updateEmailSettings(e,r)(this.axios,this.basePath)}updateUser(e,r,t){return E(this.configuration).updateUser(e,r,t)(this.axios,this.basePath)}}async function Sp(a,e=p,r=u,t){const s=y(a).completeOnboardingIntroduction(t),n={...s.options,url:r+s.url};return(await e.request(n)).data}async function Np(a,e=p,r=u,t){const s=y(a).createOneTimeSessionToken(t),n={...s.options,url:r+s.url};return(await e.request(n)).data}async function xp(a,e=p,r=u,t){const s=y(a).dismissNewProductUpdates(t),n={...s.options,url:r+s.url};return(await e.request(n)).data}async function Up(a,e,r=p,t=u,s){const n=y(e).dismissUserMessage(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function Dp(a,e,r=p,t=u,s){const n=y(e).findOneByID(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function Lp(a,e=p,r=u,t){const s=y(a).getCustomer(t),n={...s.options,url:r+s.url};return(await e.request(n)).data}async function Bp(a,e,r=p,t=u,s){const n=y(e).getOrganizationUsers(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function jp(a,e,r=p,t=u,s){const n=y(e).getTenancyOrdersByProductId(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function Fp(a,e=p,r=u,t){const s=y(a).getUserAccount(t),n={...s.options,url:r+s.url};return(await e.request(n)).data}async function Mp(a,e=p,r=u,t){const s=y(a).getUserTenancyAnniversaries(t),n={...s.options,url:r+s.url};return(await e.request(n)).data}async function Hp(a,e=p,r=u,t){const s=y(a).me(t),n={...s.options,url:r+s.url};return(await e.request(n)).data}async function Gp(a,e,r=p,t=u,s){const n=y(e).resetUserPassword(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function Qp(a,e,r,t,s,n,o=p,i=u,l){const d=y(n).searchUser(a,e,r,t,s,l),c={...d.options,url:i+d.url};return(await o.request(c)).data}async function zp(a,e,r=p,t=u,s){const n=y(e).updateAboutMe(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function kp(a,e,r=p,t=u,s){const n=y(e).updateAddressHistory(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function Yp(a,e,r=p,t=u,s){const n=y(e).updateBetaEnabled(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function $p(a,e,r=p,t=u,s){const n=y(e).updateEmailSettings(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function Wp(a,e,r,t=p,s=u,n){const o=y(r).updateUser(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}const dt=function(a){return{updateIntegrationWebhookUrl(e,r={}){if(e==null)throw new h("updateIntegrationWebhookDTO","Required parameter updateIntegrationWebhookDTO was null or undefined when calling updateIntegrationWebhookUrl.");const t="/v2/integration/webhooks",s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"PUT",...n,...r},i={},l={};return i["Content-Type"]="application/json",Object.entries({...l,...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},o.data=JSON.stringify(e!==void 0?e:{}),{url:s.pathname+s.search,options:o}}}},ut=function(a){return{updateIntegrationWebhookUrl(e,r){const t=dt(a).updateIntegrationWebhookUrl(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}}}},Jp=function(a,e,r){return{updateIntegrationWebhookUrl(t,s){return ut(a).updateIntegrationWebhookUrl(t,s)(r,e)}}};class Kp extends R{updateIntegrationWebhookUrl(e,r){return ut(this.configuration).updateIntegrationWebhookUrl(e,r)(this.axios,this.basePath)}}async function Xp(a,e,r=p,t=u,s){const n=dt(e).updateIntegrationWebhookUrl(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}var At=(a=>(a.NONREFUNDABLEFEE="NON_REFUNDABLE_FEE",a.TOOEXPENSIVE="TOO_EXPENSIVE",a.DONTUNDERSTAND="DONT_UNDERSTAND",a.FAILEDREFERENCING="FAILED_REFERENCING",a.OTHER="OTHER",a))(At||{}),mt=(a=>(a.DRAFT="DRAFT",a.PUBLISHED="PUBLISHED",a))(mt||{}),Rt=(a=>(a.IDENTITY="IDENTITY",a.CREDIT="CREDIT",a))(Rt||{}),It=(a=>(a.EMPTY="EMPTY",a.PEND="PEND",a.INFOREQUIRED="INFO_REQUIRED",a.INREVIEW="IN_REVIEW",a.PASS="PASS",a.FAIL="FAIL",a.CANCELLED="CANCELLED",a))(It||{}),Pt=(a=>(a.WELCOMEPAGE="TENANT_VIEWED_WELCOME_PAGE",a.INITIALCHARGES="TENANT_VIEWED_INITIAL_CHARGES",a.REVIEWCHARGES="TENANT_VIEWED_REVIEW_CHARGES",a.SUBMITPROPOSALMODAL="TENANT_VIEWED_SUBMIT_PROPOSAL_MODAL",a.PROPOSALPAYMENTPAGE="TENANT_VIEWED_PROPOSAL_PAYMENT_PAGE",a.ACCEPTCHARGESMODAL="TENANT_VIEWED_ACCEPT_CHARGES_MODAL",a.ACCEPTCHARGESPAYMENTPAGE="TENANT_VIEWED_ACCEPT_CHARGES_PAYMENT_PAGE",a.CHECKOUTINVENTORYREPORT="TENANT_VIEWED_CHECKOUT_INVENTORY_REPORT",a))(Pt||{}),gt=(a=>(a.DRAFT="DRAFT",a.AWAITINGREVIEW="AWAITING_REVIEW",a.DEACTIVATED="DEACTIVATED",a.AWAITINGRESPONDENTS="AWAITING_RESPONDENTS",a.MEDIATION="MEDIATION",a.AWAITINGARBITRATIONADMINFEE="AWAITING_ARBITRATION_ADMIN_FEE",a.AWAITINGARBITRATION="AWAITING_ARBITRATION",a.ARBITRATED="ARBITRATED",a.RESOLVED="RESOLVED",a.AWAITINGSUBSTANTIATION="AWAITING_SUBSTANTIATION",a.AWAITINGEVIDENCEREVIEW="AWAITING_EVIDENCE_REVIEW",a.EVIDENCEREVIEW="EVIDENCE_REVIEW",a.AWAITINGADDITIONALINFORMATION="AWAITING_ADDITIONAL_INFORMATION",a.DECLINED="DECLINED",a.AWAITINGPAYOUT="AWAITING_PAYOUT",a.ARBITRATION="ARBITRATION",a.INSURANCECLAIM="INSURANCE_CLAIM",a))(gt||{}),wt=(a=>(a.DAMAGE="DAMAGE",a.CLEANING="CLEANING",a.RENTARREARS="RENT_ARREARS",a.ITEMREMOVAL="ITEM_REMOVAL",a.OTHER="OTHER",a))(wt||{}),ft=(a=>(a.SUPPLIER="SUPPLIER",a.TENANT="TENANT",a))(ft||{}),Ot=(a=>(a.SUPPLIER="SUPPLIER",a.TENANT="TENANT",a))(Ot||{}),yt=(a=>(a.DRAFT="DRAFT",a.AWAITINGRESPONSE="AWAITING_RESPONSE",a.AWAITINGPAYMENT="AWAITING_PAYMENT",a.SETTLED="SETTLED",a.COUNTERED="COUNTERED",a.DISPUTED="DISPUTED",a))(yt||{}),Et=(a=>(a.INITIAL="INITIAL",a.INTERMEDIATE="INTERMEDIATE",a.FINAL="FINAL",a))(Et||{}),Vt=(a=>(a.DRAFT="DRAFT",a.AWAITINGREVIEW="AWAITING_REVIEW",a.DEACTIVATED="DEACTIVATED",a.AWAITINGRESPONDENTS="AWAITING_RESPONDENTS",a.MEDIATION="MEDIATION",a.AWAITINGARBITRATIONADMINFEE="AWAITING_ARBITRATION_ADMIN_FEE",a.AWAITINGARBITRATION="AWAITING_ARBITRATION",a.ARBITRATED="ARBITRATED",a.RESOLVED="RESOLVED",a.AWAITINGSUBSTANTIATION="AWAITING_SUBSTANTIATION",a.AWAITINGEVIDENCEREVIEW="AWAITING_EVIDENCE_REVIEW",a.EVIDENCEREVIEW="EVIDENCE_REVIEW",a.AWAITINGADDITIONALINFORMATION="AWAITING_ADDITIONAL_INFORMATION",a.DECLINED="DECLINED",a.AWAITINGPAYOUT="AWAITING_PAYOUT",a.ARBITRATION="ARBITRATION",a.INSURANCECLAIM="INSURANCE_CLAIM",a))(Vt||{}),Ct=(a=>(a.DRAFT="DRAFT",a.AWAITINGREVIEW="AWAITING_REVIEW",a.DEACTIVATED="DEACTIVATED",a.AWAITINGRESPONDENTS="AWAITING_RESPONDENTS",a.MEDIATION="MEDIATION",a.AWAITINGARBITRATIONADMINFEE="AWAITING_ARBITRATION_ADMIN_FEE",a.AWAITINGARBITRATION="AWAITING_ARBITRATION",a.ARBITRATED="ARBITRATED",a.RESOLVED="RESOLVED",a.AWAITINGSUBSTANTIATION="AWAITING_SUBSTANTIATION",a.AWAITINGEVIDENCEREVIEW="AWAITING_EVIDENCE_REVIEW",a.EVIDENCEREVIEW="EVIDENCE_REVIEW",a.AWAITINGADDITIONALINFORMATION="AWAITING_ADDITIONAL_INFORMATION",a.DECLINED="DECLINED",a.AWAITINGPAYOUT="AWAITING_PAYOUT",a.ARBITRATION="ARBITRATION",a.INSURANCECLAIM="INSURANCE_CLAIM",a))(Ct||{}),qt=(a=>(a.GBR="GBR",a))(qt||{}),_t=(a=>(a.DAMAGE="DAMAGE",a.CLEANING="CLEANING",a.RENTARREARS="RENT_ARREARS",a.ITEMREMOVAL="ITEM_REMOVAL",a.OTHER="OTHER",a))(_t||{}),vt=(a=>(a.SIGNEDTENANCYAGREEMENT="SIGNED_TENANCY_AGREEMENT",a.INVENTORYCHECKIN="INVENTORY_CHECK_IN",a.INVENTORYCHECKOUT="INVENTORY_CHECK_OUT",a.ADDITIONALEVIDENCE="ADDITIONAL_EVIDENCE",a.PROOFTENANTCOMMUNICATION="PROOF_TENANT_COMMUNICATION",a.MIDTERMINSPECTION="MID_TERM_INSPECTION",a.REFERENCING="REFERENCING",a.GUARANTORCONTACT="GUARANTOR_CONTACT",a.SUPPORTINGEVIDENCE="SUPPORTING_EVIDENCE",a.TENANTEVIDENCE="TENANT_EVIDENCE",a.CLAIMITEM="CLAIM_ITEM",a.PROOFOFIDENTITY="PROOF_OF_IDENTITY",a.PROOFOFADDRESS="PROOF_OF_ADDRESS",a.CLAIMRESPONSE="CLAIM_RESPONSE",a.POLICY="POLICY",a.KPIDAILYOUTPUT="KPI_DAILY_OUTPUT",a.ARBITRATIONSUMMARY="ARBITRATION_SUMMARY",a.DOCUSIGN="DOCUSIGN",a.CLAIMARCHIVE="CLAIM_ARCHIVE",a.SIGNEDADDENDUM="SIGNED_ADDENDUM",a.SIGNEDTENANTTERMSANDCONDITIONS="SIGNED_TENANT_TERMS_AND_CONDITIONS",a.DAILYSTRIPERECONCILIATION="DAILY_STRIPE_RECONCILIATION",a))(vt||{}),bt=(a=>(a.AGREED="AGREED",a.REJECTED="REJECTED",a))(bt||{}),Tt=(a=>(a.SIGNEDTENANCYAGREEMENT="SIGNED_TENANCY_AGREEMENT",a.INVENTORYCHECKIN="INVENTORY_CHECK_IN",a.INVENTORYCHECKOUT="INVENTORY_CHECK_OUT",a.ADDITIONALEVIDENCE="ADDITIONAL_EVIDENCE",a.PROOFTENANTCOMMUNICATION="PROOF_TENANT_COMMUNICATION",a.MIDTERMINSPECTION="MID_TERM_INSPECTION",a.REFERENCING="REFERENCING",a.GUARANTORCONTACT="GUARANTOR_CONTACT",a.SUPPORTINGEVIDENCE="SUPPORTING_EVIDENCE",a.TENANTEVIDENCE="TENANT_EVIDENCE",a.CLAIMITEM="CLAIM_ITEM",a.PROOFOFIDENTITY="PROOF_OF_IDENTITY",a.PROOFOFADDRESS="PROOF_OF_ADDRESS",a.CLAIMRESPONSE="CLAIM_RESPONSE",a.POLICY="POLICY",a.KPIDAILYOUTPUT="KPI_DAILY_OUTPUT",a.ARBITRATIONSUMMARY="ARBITRATION_SUMMARY",a.DOCUSIGN="DOCUSIGN",a.CLAIMARCHIVE="CLAIM_ARCHIVE",a.SIGNEDADDENDUM="SIGNED_ADDENDUM",a.SIGNEDTENANTTERMSANDCONDITIONS="SIGNED_TENANT_TERMS_AND_CONDITIONS",a.DAILYSTRIPERECONCILIATION="DAILY_STRIPE_RECONCILIATION",a))(Tt||{}),St=(a=>(a.SIGNEDTENANCYAGREEMENT="SIGNED_TENANCY_AGREEMENT",a.INVENTORYCHECKIN="INVENTORY_CHECK_IN",a.INVENTORYCHECKOUT="INVENTORY_CHECK_OUT",a.ADDITIONALEVIDENCE="ADDITIONAL_EVIDENCE",a.PROOFTENANTCOMMUNICATION="PROOF_TENANT_COMMUNICATION",a.MIDTERMINSPECTION="MID_TERM_INSPECTION",a.REFERENCING="REFERENCING",a.GUARANTORCONTACT="GUARANTOR_CONTACT",a.SUPPORTINGEVIDENCE="SUPPORTING_EVIDENCE",a.TENANTEVIDENCE="TENANT_EVIDENCE",a.CLAIMITEM="CLAIM_ITEM",a.PROOFOFIDENTITY="PROOF_OF_IDENTITY",a.PROOFOFADDRESS="PROOF_OF_ADDRESS",a.CLAIMRESPONSE="CLAIM_RESPONSE",a.POLICY="POLICY",a.KPIDAILYOUTPUT="KPI_DAILY_OUTPUT",a.ARBITRATIONSUMMARY="ARBITRATION_SUMMARY",a.DOCUSIGN="DOCUSIGN",a.CLAIMARCHIVE="CLAIM_ARCHIVE",a.SIGNEDADDENDUM="SIGNED_ADDENDUM",a.SIGNEDTENANTTERMSANDCONDITIONS="SIGNED_TENANT_TERMS_AND_CONDITIONS",a.DAILYSTRIPERECONCILIATION="DAILY_STRIPE_RECONCILIATION",a))(St||{}),Nt=(a=>(a.SIGNEDTENANCYAGREEMENT="SIGNED_TENANCY_AGREEMENT",a.INVENTORYCHECKIN="INVENTORY_CHECK_IN",a.INVENTORYCHECKOUT="INVENTORY_CHECK_OUT",a.ADDITIONALEVIDENCE="ADDITIONAL_EVIDENCE",a.PROOFTENANTCOMMUNICATION="PROOF_TENANT_COMMUNICATION",a.MIDTERMINSPECTION="MID_TERM_INSPECTION",a.REFERENCING="REFERENCING",a.GUARANTORCONTACT="GUARANTOR_CONTACT",a.SUPPORTINGEVIDENCE="SUPPORTING_EVIDENCE",a.TENANTEVIDENCE="TENANT_EVIDENCE",a.CLAIMITEM="CLAIM_ITEM",a.PROOFOFIDENTITY="PROOF_OF_IDENTITY",a.PROOFOFADDRESS="PROOF_OF_ADDRESS",a.CLAIMRESPONSE="CLAIM_RESPONSE",a.POLICY="POLICY",a.KPIDAILYOUTPUT="KPI_DAILY_OUTPUT",a.ARBITRATIONSUMMARY="ARBITRATION_SUMMARY",a.DOCUSIGN="DOCUSIGN",a.CLAIMARCHIVE="CLAIM_ARCHIVE",a.SIGNEDADDENDUM="SIGNED_ADDENDUM",a.SIGNEDTENANTTERMSANDCONDITIONS="SIGNED_TENANT_TERMS_AND_CONDITIONS",a.DAILYSTRIPERECONCILIATION="DAILY_STRIPE_RECONCILIATION",a))(Nt||{}),xt=(a=>(a.SIGNEDTENANCYAGREEMENT="SIGNED_TENANCY_AGREEMENT",a.CHECKIN="CHECKIN",a.CHECKINSIGNEDPROOFREQUIRED="CHECKIN_SIGNED_PROOF_REQUIRED",a.REFERENCING="REFERENCING",a.CHECKOUT="CHECKOUT",a.CHECKOUTUNAVAILABLE="CHECKOUT_UNAVAILABLE",a.ARREARS="ARREARS",a.RENTSTATEMENT="RENT_STATEMENT",a.RELETFEES="RELET_FEES",a.INVOICEQUOTERECEIPT="INVOICE_QUOTE_RECEIPT",a.OTHER="OTHER",a))(xt||{}),Ut=(a=>(a.AGREED="AGREED",a.REJECTED="REJECTED",a.MISSING="MISSING",a))(Ut||{}),Dt=(a=>(a.PROPERTY="PROPERTY",a))(Dt||{}),Lt=(a=>(a.COMPANY="COMPANY",a.SOLEPERSON="SOLE_PERSON",a))(Lt||{}),Bt=(a=>(a.COMPANY="COMPANY",a.SOLEPERSON="SOLE_PERSON",a))(Bt||{}),jt=(a=>(a.REPOSITPUBLISHED="REPOSIT_PUBLISHED",a.CLAIMPUBLISHED="CLAIM_PUBLISHED",a))(jt||{}),Ft=(a=>(a.REPOSIT="REPOSIT",a.CLAIM="CLAIM",a.CLAIMPROPOSAL="CLAIM_PROPOSAL",a.ARBITRATION="ARBITRATION",a.TOPUP="TOP_UP",a.ARBITRATIONADMINFEE="ARBITRATION_ADMIN_FEE",a))(Ft||{}),Mt=(a=>(a.DEFAULT="DEFAULT",a.CLAIM="CLAIM",a.CASHDEPOSITSCHEME="CASH_DEPOSIT_SCHEME",a))(Mt||{}),Ht=(a=>(a.AGENCY="AGENCY",a.BUILDTORENT="BUILD_TO_RENT",a.PRIVATE="PRIVATE",a.INTEGRATORREFERRAL="INTEGRATOR_REFERRAL",a))(Ht||{}),Gt=(a=>(a.INDEPENDENTSINGLE="INDEPENDENT_SINGLE",a.BTR="BTR",a.INDEPENDENTMULTI="INDEPENDENT_MULTI",a.FRANCHISE="FRANCHISE",a.CORPORATE="CORPORATE",a.PRIVATELANDLORD="PRIVATE_LANDLORD",a.STUDENT="STUDENT",a.HMO="HMO",a.PBSA="PBSA",a))(Gt||{}),Qt=(a=>(a.INDEPENDENTSINGLE="INDEPENDENT_SINGLE",a.BTR="BTR",a.INDEPENDENTMULTI="INDEPENDENT_MULTI",a.FRANCHISE="FRANCHISE",a.CORPORATE="CORPORATE",a.PRIVATELANDLORD="PRIVATE_LANDLORD",a.STUDENT="STUDENT",a.HMO="HMO",a.PBSA="PBSA",a))(Qt||{}),zt=(a=>(a.DIRECT="DIRECT",a.INITIAL="INITIAL",a.ADMIN="ADMIN",a))(zt||{}),kt=(a=>(a.TENTHOUSANDPOUNDS="TEN_THOUSAND_POUNDS",a.FIVETHOUSANDPOUNDS="FIVE_THOUSAND_POUNDS",a))(kt||{}),Yt=(a=>(a.IDENTITY="IDENTITY",a.CREDIT="CREDIT",a))(Yt||{}),$t=(a=>(a.TENANT="TENANT",a))($t||{}),Wt=(a=>(a.MANAGETEAM="MANAGE_TEAM",a.NOTIFICATIONS="NOTIFICATIONS",a.BANKACCOUNTS="BANK_ACCOUNTS",a.ONBOARDING="ONBOARDING",a))(Wt||{}),Jt=(a=>(a.MANAGETEAM="MANAGE_TEAM",a.NOTIFICATIONS="NOTIFICATIONS",a.BANKACCOUNTS="BANK_ACCOUNTS",a.ONBOARDING="ONBOARDING",a))(Jt||{}),Kt=(a=>(a.PENDING="PENDING",a.OPENBANKINGTRANSFERSUCCESS="OPEN_BANKING_TRANSFER_SUCCESS",a.CANCELLED="CANCELLED",a.PARTIALLYPAID="PARTIALLY_PAID",a.PAID="PAID",a))(Kt||{}),Xt=(a=>(a.AUTOACCEPTED="AUTO_ACCEPTED",a.PREADR="PRE_ADR",a.POSTADR="POST_ADR",a))(Xt||{}),Zt=(a=>(a.PENDING="PENDING",a.RESOLVED="RESOLVED",a.EXPIRED="EXPIRED",a))(Zt||{}),ea=(a=>(a.PENDING="PENDING",a.AGREED="AGREED",a))(ea||{}),ra=(a=>(a.AGREED="AGREED",a.REJECTED="REJECTED",a))(ra||{}),ta=(a=>(a.PENDING="PENDING",a.AGREED="AGREED",a.MISSING="MISSING",a))(ta||{}),aa=(a=>(a.SIGNEDTENANCYAGREEMENT="SIGNED_TENANCY_AGREEMENT",a.CHECKIN="CHECKIN",a.CHECKINSIGNEDPROOFREQUIRED="CHECKIN_SIGNED_PROOF_REQUIRED",a.REFERENCING="REFERENCING",a.CHECKOUT="CHECKOUT",a.CHECKOUTUNAVAILABLE="CHECKOUT_UNAVAILABLE",a.ARREARS="ARREARS",a.RENTSTATEMENT="RENT_STATEMENT",a.RELETFEES="RELET_FEES",a.INVOICEQUOTERECEIPT="INVOICE_QUOTE_RECEIPT",a.OTHER="OTHER",a))(aa||{}),sa=(a=>(a.DRAFT="DRAFT",a.PUBLISHED="PUBLISHED",a))(sa||{}),na=(a=>(a.DRAFT="DRAFT",a.PUBLISHED="PUBLISHED",a))(na||{}),oa=(a=>(a.AGREED="AGREED",a.REJECTED="REJECTED",a.MISSING="MISSING",a))(oa||{}),ia=(a=>(a.DRAFT="DRAFT",a.PUBLISHED="PUBLISHED",a))(ia||{}),la=(a=>(a.DRAFT="DRAFT",a.AWAITINGRESPONSE="AWAITING_RESPONSE",a.AWAITINGREVIEW="AWAITING_REVIEW",a.AGREED="AGREED",a.REJECTED="REJECTED",a.EXPIRED="EXPIRED",a))(la||{}),ca=(a=>(a.AWAITINGDECISION="AWAITING_DECISION",a.ACCEPTED="ACCEPTED",a.REJECTED="REJECTED",a))(ca||{}),da=(a=>(a.SALES="SALES",a))(da||{}),ua=(a=>(a.COMPANY="COMPANY",a.SOLEPERSON="SOLE_PERSON",a))(ua||{}),pa=(a=>(a.NOTCONNECTED="NOT_CONNECTED",a.CONNECTED="CONNECTED",a.COMPLETE="COMPLETE",a))(pa||{}),ha=(a=>(a.REPOSITPUBLISHED="REPOSIT_PUBLISHED",a.CLAIMPUBLISHED="CLAIM_PUBLISHED",a))(ha||{}),Aa=(a=>(a.PROMOTER="PROMOTER",a.DETRACTOR="DETRACTOR",a.PASSIVE="PASSIVE",a))(Aa||{}),ma=(a=>(a.PASSED="PASSED",a.FAILED="FAILED",a))(ma||{}),Ra=(a=>(a.REPOSITABOUTYOU="REPOSIT_ABOUT_YOU",a.REPOSITADDRESSHISTORY="REPOSIT_ADDRESS_HISTORY",a.REPOSITCONFIRM="REPOSIT_CONFIRM",a.REPOSITSIGN="REPOSIT_SIGN",a.REPOSITPAY="REPOSIT_PAY",a.REPOSITREFERENCING="REPOSIT_REFERENCING",a.REPOSITSIGNADDENDUM="REPOSIT_SIGN_ADDENDUM",a.CLAIMPAY="CLAIM_PAY",a.CLAIMPAYREMAININGBALANCE="CLAIM_PAY_REMAINING_BALANCE",a.CLAIMPROPOSALPAYREMAININGBALANCE="CLAIM_PROPOSAL_PAY_REMAINING_BALANCE",a.ARBITRATIONPAY="ARBITRATION_PAY",a.ARBITRATIONPAYREMAININGBALANCE="ARBITRATION_PAY_REMAINING_BALANCE",a.TOPUPPAY="TOP_UP_PAY",a.ARBITRATIONADMINPAY="ARBITRATION_ADMIN_PAY",a))(Ra||{}),Ia=(a=>(a.REPOSIT="REPOSIT",a.CLAIM="CLAIM",a.CLAIMPROPOSAL="CLAIM_PROPOSAL",a.ARBITRATION="ARBITRATION",a.TOPUP="TOP_UP",a.ARBITRATIONADMINFEE="ARBITRATION_ADMIN_FEE",a))(Ia||{}),Pa=(a=>(a.DRAFT="DRAFT",a.PENDING="PENDING",a.COMPLETE="COMPLETE",a.CANCELLED="CANCELLED",a.REFUNDED="REFUNDED",a))(Pa||{}),ga=(a=>(a.MANUAL="MANUAL",a.AUTOMATIC="AUTOMATIC",a))(ga||{}),wa=(a=>(a.REPOSIT="REPOSIT",a.CLAIM="CLAIM",a.CLAIMPROPOSAL="CLAIM_PROPOSAL",a.ARBITRATION="ARBITRATION",a.TOPUP="TOP_UP",a.ARBITRATIONADMINFEE="ARBITRATION_ADMIN_FEE",a))(wa||{}),fa=(a=>(a.DRAFT="DRAFT",a.PENDING="PENDING",a.COMPLETE="COMPLETE",a.CANCELLED="CANCELLED",a.REFUNDED="REFUNDED",a))(fa||{}),Oa=(a=>(a.MANUAL="MANUAL",a.AUTOMATIC="AUTOMATIC",a))(Oa||{}),ya=(a=>(a.STANDARD="STANDARD",a.BUILDTORENT="BUILD_TO_RENT",a))(ya||{}),Ea=(a=>(a.DEFAULT="DEFAULT",a.CLAIM="CLAIM",a.CASHDEPOSITSCHEME="CASH_DEPOSIT_SCHEME",a))(Ea||{}),Va=(a=>(a.AGENCY="AGENCY",a.BUILDTORENT="BUILD_TO_RENT",a.PRIVATE="PRIVATE",a.INTEGRATORREFERRAL="INTEGRATOR_REFERRAL",a))(Va||{}),Ca=(a=>(a.SALES="SALES",a))(Ca||{}),qa=(a=>(a.DIRECT="DIRECT",a.INITIAL="INITIAL",a.ADMIN="ADMIN",a))(qa||{}),_a=(a=>(a.STANDARD="STANDARD",a.STANDARDCAP250="STANDARD_CAP_250",a.STANDARDCAP300="STANDARD_CAP_300",a.STANDARDCAP350="STANDARD_CAP_350",a.NOMINALPERTENANT="NOMINAL_PER_TENANT",a.STANDARD15PERCENTDISCOUNT="STANDARD_15_PERCENT_DISCOUNT",a))(_a||{}),va=(a=>(a.FEEPERCENTAGE125="FEE_PERCENTAGE_125",a.FEEPERCENTAGE31POINT75="FEE_PERCENTAGE_31_POINT_75",a.FEEPERCENTAGE30="FEE_PERCENTAGE_30",a.FEEPERCENTAGE25="FEE_PERCENTAGE_25",a.FEEPERCENTAGE20="FEE_PERCENTAGE_20",a.FEEPERCENTAGE15="FEE_PERCENTAGE_15",a.FEEPERCENTAGE12POINT5="FEE_PERCENTAGE_12_POINT_5",a.FEEPERCENTAGE10="FEE_PERCENTAGE_10",a.FEEPERCENTAGE5="FEE_PERCENTAGE_5",a.FIXED25="FIXED_25",a.PPMPERCENTAGE6="PPM_PERCENTAGE_6",a.PPMPERCENTAGE6POINT5="PPM_PERCENTAGE_6_POINT_5",a.NOCOMMISSION="NO_COMMISSION",a))(va||{}),ba=(a=>(a.TENTHOUSANDPOUNDS="TEN_THOUSAND_POUNDS",a.FIVETHOUSANDPOUNDS="FIVE_THOUSAND_POUNDS",a))(ba||{}),Ta=(a=>(a.MANAGETEAM="MANAGE_TEAM",a.NOTIFICATIONS="NOTIFICATIONS",a.BANKACCOUNTS="BANK_ACCOUNTS",a.ONBOARDING="ONBOARDING",a))(Ta||{}),Sa=(a=>(a.PRIMARY="PRIMARY",a.SECONDARY="SECONDARY",a))(Sa||{}),Na=(a=>(a.INDEPENDENTSINGLE="INDEPENDENT_SINGLE",a.BTR="BTR",a.INDEPENDENTMULTI="INDEPENDENT_MULTI",a.FRANCHISE="FRANCHISE",a.CORPORATE="CORPORATE",a.PRIVATELANDLORD="PRIVATE_LANDLORD",a.STUDENT="STUDENT",a.HMO="HMO",a.PBSA="PBSA",a))(Na||{}),xa=(a=>(a.AGENCY="AGENCY",a.BUILDTORENT="BUILD_TO_RENT",a.PRIVATE="PRIVATE",a.INTEGRATORREFERRAL="INTEGRATOR_REFERRAL",a))(xa||{}),Ua=(a=>(a.AGENCY="AGENCY",a.BUILDTORENT="BUILD_TO_RENT",a.PRIVATE="PRIVATE",a.INTEGRATORREFERRAL="INTEGRATOR_REFERRAL",a))(Ua||{}),Da=(a=>(a.MANAGETEAM="MANAGE_TEAM",a.NOTIFICATIONS="NOTIFICATIONS",a.BANKACCOUNTS="BANK_ACCOUNTS",a.ONBOARDING="ONBOARDING",a))(Da||{}),La=(a=>(a.AGENCY="AGENCY",a.BUILDTORENT="BUILD_TO_RENT",a.PRIVATE="PRIVATE",a.INTEGRATORREFERRAL="INTEGRATOR_REFERRAL",a))(La||{}),Ba=(a=>(a.MANAGETEAM="MANAGE_TEAM",a.NOTIFICATIONS="NOTIFICATIONS",a.BANKACCOUNTS="BANK_ACCOUNTS",a.ONBOARDING="ONBOARDING",a))(Ba||{}),ja=(a=>(a.PENDING="PENDING",a.OPENBANKINGTRANSFERSUCCESS="OPEN_BANKING_TRANSFER_SUCCESS",a.CANCELLED="CANCELLED",a.PARTIALLYPAID="PARTIALLY_PAID",a.PAID="PAID",a))(ja||{}),Fa=(a=>(a.REPOSITABOUTYOU="REPOSIT_ABOUT_YOU",a.REPOSITADDRESSHISTORY="REPOSIT_ADDRESS_HISTORY",a.REPOSITCONFIRM="REPOSIT_CONFIRM",a.REPOSITSIGN="REPOSIT_SIGN",a.REPOSITPAY="REPOSIT_PAY",a.REPOSITREFERENCING="REPOSIT_REFERENCING",a.REPOSITSIGNADDENDUM="REPOSIT_SIGN_ADDENDUM",a.CLAIMPAY="CLAIM_PAY",a.CLAIMPAYREMAININGBALANCE="CLAIM_PAY_REMAINING_BALANCE",a.CLAIMPROPOSALPAYREMAININGBALANCE="CLAIM_PROPOSAL_PAY_REMAINING_BALANCE",a.ARBITRATIONPAY="ARBITRATION_PAY",a.ARBITRATIONPAYREMAININGBALANCE="ARBITRATION_PAY_REMAINING_BALANCE",a.TOPUPPAY="TOP_UP_PAY",a.ARBITRATIONADMINPAY="ARBITRATION_ADMIN_PAY",a))(Fa||{}),Ma=(a=>(a.Pass="pass",a.Fail="fail",a.Unchecked="unchecked",a))(Ma||{}),Ha=(a=>(a.Pass="pass",a.Fail="fail",a.Unchecked="unchecked",a))(Ha||{}),Ga=(a=>(a.Pass="pass",a.Fail="fail",a.Unchecked="unchecked",a))(Ga||{}),Qa=(a=>(a.Pass="pass",a.Fail="fail",a.Unchecked="unchecked",a))(Qa||{}),za=(a=>(a.CONFIRM="CONFIRM",a.ADDRESS="ADDRESS",a.CARDDETAILS="CARD_DETAILS",a))(za||{}),ka=(a=>(a.MONTHLY="MONTHLY",a))(ka||{}),Ya=(a=>(a.ACTIVE="ACTIVE",a.PENDING="PENDING",a.DEFAULT="DEFAULT",a.COMPLETE="COMPLETE",a.CLOSED="CLOSED",a.CANCELLED="CANCELLED",a))(Ya||{}),$a=(a=>(a.PENDING="PENDING",a.PAID="PAID",a.FAILED="FAILED",a.CANCELLED="CANCELLED",a))($a||{}),Wa=(a=>(a.LINK="LINK",a.PAYMENTINITIATION="PAYMENT_INITIATION",a))(Wa||{}),Ja=(a=>(a.SESSIONFINISHED="SESSION_FINISHED",a.PAYMENTSTATUSUPDATE="PAYMENT_STATUS_UPDATE",a))(Ja||{}),Ka=(a=>(a.SUCCESS="SUCCESS",a.EXITED="EXITED",a))(Ka||{}),Xa=(a=>(a.EXECUTED="PAYMENT_STATUS_EXECUTED",a.INITIATED="PAYMENT_STATUS_INITIATED",a))(Xa||{}),Za=(a=>(a.DRAFT="DRAFT",a.SUBMITTED="SUBMITTED",a.ISSUED="ISSUED",a.CLOSED="CLOSED",a.DEACTIVATED="DEACTIVATED",a.UNKNOWN="UNKNOWN",a))(Za||{}),es=(a=>(a.NEWTENANCY="NEW_TENANCY",a.EXISTINGTENANCY="EXISTING_TENANCY",a))(es||{}),rs=(a=>(a.CREATETOPUP="CREATE_TOP_UP",a.TOPUPREMINDER="TOP_UP_REMINDER",a.TOPUPUPCOMING="TOP_UP_UPCOMING",a.AUTOCHARGE="AUTO_CHARGE",a.SCHEDULEDAUTOCHARGE="SCHEDULED_AUTO_CHARGE",a.CHARGEORDERSCHEDULEDCHARGE="CHARGE_ORDER_SCHEDULED_CHARGE",a.AUTORESPONDTENANT="AUTO_RESPOND_TENANT",a.AUTORESPONDSUPPLIER="AUTO_RESPOND_SUPPLIER",a.PROCESSSTRIPECHARGESUCCEEDED="PROCESS_STRIPE_CHARGE_SUCCEEDED",a.PROCESSSTRIPECHARGEFAILED="PROCESS_STRIPE_CHARGE_FAILED",a.PROCESSSTRIPECHARGEEXPIRED="PROCESS_STRIPE_CHARGE_EXPIRED",a.PROCESSSTRIPEDISPUTECREATED="PROCESS_STRIPE_DISPUTE_CREATED",a.PROCESSSTRIPEDISPUTECLOSED="PROCESS_STRIPE_DISPUTE_CLOSED",a.PROCESSEXPIRINGCUSTOMERSOURCE="PROCESS_EXPIRING_CUSTOMER_SOURCE",a.PROCESSSENDSLACKMESSAGE="PROCESS_SEND_SLACK_MESSAGE",a.PROCESSSTRIPEREFUNDCREATED="PROCESS_STRIPE_REFUND_CREATED",a.PAYMENTMETHODCARDAUTOMATICALLYUPDATED="PAYMENT_METHOD_CARD_AUTOMATICALLY_UPDATED",a.MONTHLYDIRECTCOMMISSIONFORORGANIZATION="MONTHLY_DIRECT_COMMISSION_FOR_ORGANIZATION",a.LANDLORDTRANSFERREMINDER="LANDLORD_TRANSFER_REMINDER",a.ZIPDOCUMENTSFORCLAIM="ZIP_DOCUMENTS_FOR_CLAIM",a.GENERATEADRFORM="GENERATE_ADR_FORM",a.REPOSITENDINGREMINDER="REPOSIT_ENDING_REMINDER",a.REPOSITCLOSINGREMINDER="REPOSIT_CLOSING_REMINDER",a.REPOSITENDED="REPOSIT_ENDED",a.REPOSITCLOSED="REPOSIT_CLOSED",a.PENDINGREPOSIT="PENDING_REPOSIT",a.REPOSITDEACTIVATE="REPOSIT_DEACTIVATE",a.OVERDUEARBITRATION="OVERDUE_ARBITRATION",a.CLAIMDEACTIVATE="CLAIM_DEACTIVATE",a.CLAIMDEACTIVATEREMINDER="CLAIM_DEACTIVATE_REMINDER",a.CLAIMTENANTREMINDER="CLAIM_TENANT_REMINDER",a.CLAIMSUPPLIERREMINDER="CLAIM_SUPPLIER_REMINDER",a.EVIDENCEREMINDER="EVIDENCE_REMINDER",a.ACCOUNTING="ACCOUNTING",a.CHARGEPAYMENTPLANINSTALMENT="CHARGE_PAYMENT_PLAN_INSTALMENT",a.PAYMENTPLANINSTALMENTREMINDER="PAYMENT_PLAN_INSTALMENT_REMINDER",a.PAYMENTPLANINSTALMENTEXPIRED="PAYMENT_PLAN_INSTALMENT_EXPIRED",a.PROCESSSENDGRIDWEBHOOK="PROCESS_SENDGRID_WEBHOOK",a.PAYMENTPLANACTIVATIONREMINDER="PAYMENT_PLAN_ACTIVATION_REMINDER",a.PAYMENTPLANCANCELLATION="PAYMENT_PLAN_CANCELLATION",a.TENANCYINVENTORYNOTIFICATION="TENANCY_INVENTORY_NOTIFICATION",a.REPOSITOFFERREMINDER="REPOSIT_OFFER_REMINDER",a.EVIDENCECHASERREMINDER="EVIDENCE_CHASER_REMINDER",a.EVIDENCECHASEREXPIREDNOTIFICATION="EVIDENCE_CHASER_EXPIRED_NOTIFICATION",a.EVIDENCECHASERSUPPLIERDRAFTREMINDER="EVIDENCE_CHASER_SUPPLIER_DRAFT_REMINDER",a.ARBITRATIONSENTNOTIFICATION="ARBITRATION_SENT_NOTIFICATION",a.IVRCALLPROCESSING="IVR_CALL_PROCESSING",a.PROCESSTWILIOIVRWEBHOOK="PROCESS_TWILIO_IVR_WEBHOOK",a.PROCESSTWILIOVOICEMAILWEBHOOK="PROCESS_TWILIO_VOICEMAIL_WEBHOOK",a.PENDINGREPOSITPOSTSTARTDATEWEEKLYREMINDER="PENDING_REPOSIT_POST_START_DATE_WEEKLY_REMINDER",a.HANDLEPENDINGCASHDEPOSIT="HANDLE_PENDING_CASH_DEPOSIT",a.REFRESHMYDEPOSITSACCESSTOKEN="REFRESH_MY_DEPOSITS_ACCESS_TOKEN",a.RECONCILEUNALLOCATEDFUNDS="RECONCILE_UNALLOCATED_FUNDS",a.MYDEPOSITSCREATEPROPERTYANDTENANCY="MY_DEPOSITS_CREATE_PROPERTY_AND_TENANCY",a))(rs||{}),ts=(a=>(a.DAILYKPIS="DAILY_KPIS",a.DAILYKPISDOCUMENT="DAILY_KPIS_DOCUMENT",a.DAILYTOPUPCREATION="DAILY_TOP_UP_CREATION",a.DAILYTOPUPREMINDERS="DAILY_TOP_UP_REMINDERS",a.DAILYTOPUPUPCOMING="DAILY_TOP_UP_UPCOMING",a.TOPUPAUTOCHARGE="TOP_UP_AUTO_CHARGE",a.DAILYCLAIMAUTORESPONDTENANT="DAILY_CLAIM_AUTO_RESPOND_TENANT",a.DAILYCLAIMAUTORESPONDSUPPLIER="DAILY_CLAIM_AUTO_RESPOND_SUPPLIER",a.SCHEDULEDAUTOCHARGE="SCHEDULED_AUTO_CHARGE",a.DAILYFINALSCHEDULEDAUTOCHARGE="DAILY_FINAL_SCHEDULED_AUTO_CHARGE",a.DAILYORDERSCHEDULEDCHARGE="DAILY_ORDER_SCHEDULED_CHARGE",a.MONTHLYDIRECTCOMMISSION="MONTHLY_DIRECT_COMMISSION",a.WEEKLYLANDLORDTRANSFERREMINDER="WEEKLY_LANDLORD_TRANSFER_REMINDER",a.DAILYREPOSITENDINGREMINDER="DAILY_REPOSIT_ENDING_REMINDER",a.DAILYREPOSITCLOSINGREMINDER="DAILY_REPOSIT_CLOSING_REMINDER",a.DAILYREPOSITENDED="DAILY_REPOSIT_ENDED",a.DAILYREPOSITCLOSED="DAILY_REPOSIT_CLOSED",a.DAILYPENDINGREPOSITREMINDER="DAILY_PENDING_REPOSIT_REMINDER",a.DAILYOVERDUEARBITRATIONREMINDER="DAILY_OVERDUE_ARBITRATION_REMINDER",a.DAILYREPOSITDEACTIVATE="DAILY_REPOSIT_DEACTIVATE",a.DAILYCLAIMDEACTIVATE="DAILY_CLAIM_DEACTIVATE",a.DAILYCLAIMDEACTIVATEREMINDER="DAILY_CLAIM_DEACTIVATE_REMINDER",a.DAILYCLAIMTENANTREMINDER="DAILY_CLAIM_TENANT_REMINDER",a.DAILYCLAIMSUPPLIERREMINDER="DAILY_CLAIM_SUPPLIER_REMINDER",a.DAILYCLAIMEVIDENCEREMINDER="DAILY_CLAIM_EVIDENCE_REMINDER",a.DAILYREPOSITCRONINIT="DAILY_REPOSIT_CRON_INIT",a.DAILYCLAIMCRONINIT="DAILY_CLAIM_CRON_INIT",a.DAILYCHARGEPAYMENTPLANINSTALMENT="DAILY_CHARGE_PAYMENT_PLAN_INSTALMENT",a.DAILYPAYMENTPLANINSTALMENTREMINDER="DAILY_PAYMENT_PLAN_INSTALMENT_REMINDER",a.DAILYPAYMENTPLANINSTALMENTEXPIRED="DAILY_PAYMENT_PLAN_INSTALMENT_EXPIRED",a.DAILYPAYMENTPLANACTIVATIONREMINDER="DAILY_PAYMENT_PLAN_ACTIVATION_REMINDER",a.DAILYPAYMENTPLANCANCELLATION="DAILY_PAYMENT_PLAN_CANCELLATION",a.DAILYRECONCILIATION="DAILY_RECONCILIATION",a.DAILYSENDTENANCYINVENTORYNOTIFICATIONS="DAILY_SEND_TENANCY_INVENTORY_NOTIFICATIONS",a.DAILYREPOSITOFFERREMINDER="DAILY_REPOSIT_OFFER_REMINDER",a.DAILYEVIDENCECHASERREMINDER="DAILY_EVIDENCE_CHASER_REMINDER",a.DAILYEVIDENCECHASEREXPIREDNOTIFICATION="DAILY_EVIDENCE_CHASER_EXPIRED_NOTIFICATION",a.DAILYEVIDENCECHASERSUPPLIERDRAFTREMINDER="DAILY_EVIDENCE_CHASER_SUPPLIER_DRAFT_REMINDER",a.DAILYARBITRATIONSENTNOTIFICATION="DAILY_ARBITRATION_SENT_NOTIFICATION",a.DAILYIVRCALLPROCESSING="DAILY_IVR_CALL_PROCESSING",a.WEEKLYPENDINGREPOSITPASTSTARTDATEREMINDER="WEEKLY_PENDING_REPOSIT_PAST_START_DATE_REMINDER",a.POLLPENDINGCASHDEPOSITS="POLL_PENDING_CASH_DEPOSITS",a.REFRESHMYDEPOSITSACCESSTOKENS="REFRESH_MY_DEPOSITS_ACCESS_TOKENS",a.RECONCILEUNALLOCATEDFUNDS="RECONCILE_UNALLOCATED_FUNDS",a))(ts||{}),as=(a=>(a.EMPTY="EMPTY",a.PEND="PEND",a.INFOREQUIRED="INFO_REQUIRED",a.INREVIEW="IN_REVIEW",a.PASS="PASS",a.FAIL="FAIL",a.GUARANTORREQUIRED="GUARANTOR_REQUIRED",a))(as||{}),ss=(a=>(a.GBR="GBR",a))(ss||{}),ns=(a=>(a.AGENT="AGENT",a.LANDLORD="LANDLORD",a))(ns||{}),os=(a=>(a.DRAFT="DRAFT",a.PUBLISHED="PUBLISHED",a))(os||{}),is=(a=>(a.PASSED="PASSED",a.FAILED="FAILED",a))(is||{}),ls=(a=>(a.REPOSIT="REPOSIT",a.CASHDEPOSIT="CASH_DEPOSIT",a))(ls||{}),cs=(a=>(a.DEPOSITWAIVER="DEPOSIT_WAIVER",a))(cs||{}),ds=(a=>(a.PRIVATE="PRIVATE",a.AGENCY="AGENCY",a))(ds||{}),us=(a=>(a.DRAFT="DRAFT",a.INVITED="INVITED",a.REGISTERED="REGISTERED",a.REFERENCED="REFERENCED",a.CONFIRMED="CONFIRMED",a.SIGNED="SIGNED",a.PAID="PAID",a))(us||{}),ps=(a=>(a.SIGNEDTENANTTERMSANDCONDITIONS="SIGNED_TENANT_TERMS_AND_CONDITIONS",a))(ps||{}),hs=(a=>(a.Reposit="reposit",a))(hs||{}),As=(a=>(a.TenantConfirmed="reposit.tenant.confirmed",a.TenantSigned="reposit.tenant.signed",a.TenantPaid="reposit.tenant.paid",a.Completed="reposit.completed",a.Closed="reposit.closed",a.Deactivated="reposit.deactivated",a))(As||{}),ms=(a=>(a.DRAFT="DRAFT",a.INVITED="INVITED",a.REGISTERED="REGISTERED",a.REFERENCED="REFERENCED",a.CONFIRMED="CONFIRMED",a.SIGNED="SIGNED",a.PAID="PAID",a))(ms||{}),Rs=(a=>(a.PASSED="PASSED",a.FAILED="FAILED",a))(Rs||{}),Is=(a=>(a.SUPPLIERAPPLICATION="SUPPLIER_APPLICATION",a.TENANTAPPLICATION="TENANT_APPLICATION",a))(Is||{}),Ps=(a=>(a.GENERAL="GENERAL",a.CREATINGREPOSITS="CREATING_REPOSITS",a.EXTENDINGREPOSITS="EXTENDING_REPOSITS",a.CHECKINGOUTREPOSITS="CHECKING_OUT_REPOSITS",a.CREATINGCLAIMS="CREATING_CLAIMS",a.MANAGINGCLAIMS="MANAGING_CLAIMS",a))(Ps||{}),gs=(a=>(a.CONFIRMED="CONFIRMED",a.UNCONFIRMED="UNCONFIRMED",a))(gs||{}),ws=(a=>(a.EARLY="EARLY",a.LATE="LATE",a.FINAL="FINAL",a))(ws||{}),fs=(a=>(a.TENANT="TENANT",a))(fs||{}),Os=(a=>(a.TENANT="TENANT",a))(Os||{}),ys=(a=>(a.DAMAGE="DAMAGE",a.CLEANING="CLEANING",a.RENTARREARS="RENT_ARREARS",a.ITEMREMOVAL="ITEM_REMOVAL",a.OTHER="OTHER",a))(ys||{}),Es=(a=>(a.COMPANY="COMPANY",a.SOLEPERSON="SOLE_PERSON",a))(Es||{}),Vs=(a=>(a.AGENCY="AGENCY",a.BUILDTORENT="BUILD_TO_RENT",a.PRIVATE="PRIVATE",a.INTEGRATORREFERRAL="INTEGRATOR_REFERRAL",a))(Vs||{}),Cs=(a=>(a.DRAFT="DRAFT",a.SUBMITTED="SUBMITTED",a.ISSUED="ISSUED",a.CLOSED="CLOSED",a.DEACTIVATED="DEACTIVATED",a.UNKNOWN="UNKNOWN",a))(Cs||{}),qs=(a=>(a.AGENT="AGENT",a.ARBITRATOR="ARBITRATOR",a.LANDLORD="LANDLORD",a.TENANT="TENANT",a.INTERNAL="INTERNAL",a.MACHINE="MACHINE",a))(qs||{}),_s=(a=>(a.FINANCEALL="FINANCE_ALL",a.FINANCEINDIVIDUAL="FINANCE_INDIVIDUAL",a.PAYMENTPLANCREATE="PAYMENT_PLAN_CREATE",a.PAYMENTPLANDELETE="PAYMENT_PLAN_DELETE",a.INTERNALREPORTSALES="INTERNAL_REPORT_SALES",a.MANAGEORGANIZATIONUSERROLES="MANAGE_ORGANIZATION_USER_ROLES",a))(_s||{}),vs=(a=>(a.PENDING="PENDING",a.OPENBANKINGTRANSFERSUCCESS="OPEN_BANKING_TRANSFER_SUCCESS",a.CANCELLED="CANCELLED",a.PARTIALLYPAID="PARTIALLY_PAID",a.PAID="PAID",a))(vs||{});class Zp{constructor(e={}){this.apiKey=e.apiKey,this.username=e.username,this.password=e.password,this.accessToken=e.accessToken,this.basePath=e.basePath}}exports.AddRejectionReasonRequestDTORejectionReasonEnum=At;exports.AddressesApi=Ns;exports.AddressesApiAxiosParamCreator=le;exports.AddressesApiFactory=Ss;exports.AddressesApiFp=ce;exports.ApplicantsApi=js;exports.ApplicantsApiAxiosParamCreator=Ee;exports.ApplicantsApiFactory=Bs;exports.ApplicantsApiFp=Ve;exports.ArbitrationDTOStatusEnum=mt;exports.ArbitrationDocumentsApi=Qs;exports.ArbitrationDocumentsApiAxiosParamCreator=de;exports.ArbitrationDocumentsApiFactory=Gs;exports.ArbitrationDocumentsApiFp=ue;exports.ArbitrationsApi=Js;exports.ArbitrationsApiAxiosParamCreator=pe;exports.ArbitrationsApiFactory=Ws;exports.ArbitrationsApiFp=he;exports.AuthApi=tn;exports.AuthApiAxiosParamCreator=$;exports.AuthApiFactory=rn;exports.AuthApiFp=W;exports.BASE_PATH=u;exports.BankAccountsApi=dn;exports.BankAccountsApiAxiosParamCreator=Sr;exports.BankAccountsApiFactory=cn;exports.BankAccountsApiFp=Nr;exports.BaseAPI=R;exports.BeneficiariesApi=hn;exports.BeneficiariesApiAxiosParamCreator=xr;exports.BeneficiariesApiFactory=pn;exports.BeneficiariesApiFp=Ur;exports.COLLECTION_FORMATS=Ts;exports.CashDepositsApi=Rn;exports.CashDepositsApiAxiosParamCreator=J;exports.CashDepositsApiFactory=mn;exports.CashDepositsApiFp=K;exports.CheckDTOStatusEnum=It;exports.CheckDTOTypeEnum=Rt;exports.ChecksApi=yn;exports.ChecksApiAxiosParamCreator=$e;exports.ChecksApiFactory=On;exports.ChecksApiFp=We;exports.ClaimActivityType=Pt;exports.ClaimDTOStatusEnum=gt;exports.ClaimDocumentsApi=qn;exports.ClaimDocumentsApiAxiosParamCreator=X;exports.ClaimDocumentsApiFactory=Cn;exports.ClaimDocumentsApiFp=Z;exports.ClaimItemDTOTypeEnum=wt;exports.ClaimItemDocumentsApi=xn;exports.ClaimItemDocumentsApiAxiosParamCreator=ee;exports.ClaimItemDocumentsApiFactory=Nn;exports.ClaimItemDocumentsApiFp=re;exports.ClaimItemProposalDTOSettledSourceEnum=ft;exports.ClaimItemProposalsApi=Mn;exports.ClaimItemProposalsApiAxiosParamCreator=Ce;exports.ClaimItemProposalsApiFactory=Fn;exports.ClaimItemProposalsApiFp=qe;exports.ClaimItemsApi=kn;exports.ClaimItemsApiAxiosParamCreator=_e;exports.ClaimItemsApiFactory=zn;exports.ClaimItemsApiFp=ve;exports.ClaimProposalDTOSourceEnum=Ot;exports.ClaimProposalDTOStatusEnum=yt;exports.ClaimProposalDTOTypeEnum=Et;exports.ClaimProposalsApi=Kn;exports.ClaimProposalsApiAxiosParamCreator=te;exports.ClaimProposalsApiFactory=Jn;exports.ClaimProposalsApiFp=ae;exports.ClaimResponseDocumentsApi=so;exports.ClaimResponseDocumentsApiAxiosParamCreator=Ae;exports.ClaimResponseDocumentsApiFactory=ao;exports.ClaimResponseDocumentsApiFp=me;exports.ClaimStatusDTOStatusIdEnum=Vt;exports.ClaimWithCheckoutRelationsDTOStatusEnum=Ct;exports.ClaimsApi=uo;exports.ClaimsApiAxiosParamCreator=f;exports.ClaimsApiFactory=co;exports.ClaimsApiFp=O;exports.CommissionApi=Lo;exports.CommissionApiAxiosParamCreator=Dr;exports.CommissionApiFactory=Do;exports.CommissionApiFp=Lr;exports.Configuration=Zp;exports.CreateAddressForRepositDTOCountryEnum=qt;exports.CreateClaimItemDTOTypeEnum=_t;exports.CreateClaimItemDocumentDTOTypeEnum=vt;exports.CreateClaimItemReviewDTOStatusEnum=bt;exports.CreateDocumentDTOTypeEnum=Tt;exports.CreateDocumentFromS3DTOTypeEnum=St;exports.CreateEvidenceChaserItemDTODocumentTypeIdEnum=Nt;exports.CreateEvidenceChaserItemDTOTypeEnum=xt;exports.CreateEvidenceChaserItemReviewDTOStatusEnum=Ut;exports.CreateInsuredItemDTOTypeEnum=Dt;exports.CreateLandlordDTOLandlordTypeIdEnum=Lt;exports.CreateLandlordWithOrgDTOLandlordTypeIdEnum=Bt;exports.CreateNetPromoterScoreDTOSurveyEventEnum=jt;exports.CreateOrderDTOProductIdEnum=Ft;exports.CreateOrganizationBankAccountDTOAccountTypeEnum=Mt;exports.CreateOrganizationDTOPrimaryVerticalEnum=Gt;exports.CreateOrganizationDTOSecondaryVerticalsEnum=Qt;exports.CreateOrganizationDTOTypeEnum=Ht;exports.CreateOrganizationRecipientDTOGroupEnum=zt;exports.CreatePolicyWithBeneficiaryDTOMaximumPolicyCoverEnum=kt;exports.CreateReferenceDTOChecksEnum=Yt;exports.CreateTenancyInviteDTORoleIdEnum=$t;exports.CurrentUserAccountInfoDTOCurrentOrganizationRolesEnum=Wt;exports.CurrentUserInfoDTOCurrentOrganizationRolesEnum=Jt;exports.CustomersApi=Fo;exports.CustomersApiAxiosParamCreator=Br;exports.CustomersApiFactory=jo;exports.CustomersApiFp=jr;exports.DepositDTOStatusEnum=Kt;exports.DocumentsApi=Go;exports.DocumentsApiAxiosParamCreator=be;exports.DocumentsApiFactory=Ho;exports.DocumentsApiFp=Te;exports.EvidenceChaserDTOStatusEnum=Zt;exports.EvidenceChaserDTOTypeEnum=Xt;exports.EvidenceChaserItemClaimItemDTOStatusEnum=ea;exports.EvidenceChaserItemClaimItemReviewDTOStatusEnum=ra;exports.EvidenceChaserItemDTOStatusEnum=ta;exports.EvidenceChaserItemDTOTypeEnum=aa;exports.EvidenceChaserItemRequestDTOPublicationStatusEnum=sa;exports.EvidenceChaserItemRequestsApi=$o;exports.EvidenceChaserItemRequestsApiAxiosParamCreator=Je;exports.EvidenceChaserItemRequestsApiFactory=Yo;exports.EvidenceChaserItemRequestsApiFp=Ke;exports.EvidenceChaserItemResponseDTOPublicationStatusEnum=na;exports.EvidenceChaserItemResponseDocumentsApi=Xo;exports.EvidenceChaserItemResponseDocumentsApiAxiosParamCreator=Xe;exports.EvidenceChaserItemResponseDocumentsApiFactory=Ko;exports.EvidenceChaserItemResponseDocumentsApiFp=Ze;exports.EvidenceChaserItemResponsesApi=ti;exports.EvidenceChaserItemResponsesApiAxiosParamCreator=er;exports.EvidenceChaserItemResponsesApiFactory=ri;exports.EvidenceChaserItemResponsesApiFp=rr;exports.EvidenceChaserItemReviewDTOPublicationStatusEnum=ia;exports.EvidenceChaserItemReviewDTOStatusEnum=oa;exports.EvidenceChaserItemReviewsApi=oi;exports.EvidenceChaserItemReviewsApiAxiosParamCreator=tr;exports.EvidenceChaserItemReviewsApiFactory=ni;exports.EvidenceChaserItemReviewsApiFp=ar;exports.EvidenceChaserItemsApi=di;exports.EvidenceChaserItemsApiAxiosParamCreator=sr;exports.EvidenceChaserItemsApiFactory=ci;exports.EvidenceChaserItemsApiFp=nr;exports.EvidenceChaserRoundDTOStatusEnum=la;exports.EvidenceChaserRoundsApi=Ai;exports.EvidenceChaserRoundsApiAxiosParamCreator=Se;exports.EvidenceChaserRoundsApiFactory=hi;exports.EvidenceChaserRoundsApiFp=Ne;exports.EvidenceChasersApi=gi;exports.EvidenceChasersApiAxiosParamCreator=xe;exports.EvidenceChasersApiFactory=Pi;exports.EvidenceChasersApiFp=Ue;exports.FeedbackApi=Ei;exports.FeedbackApiAxiosParamCreator=Fr;exports.FeedbackApiFactory=yi;exports.FeedbackApiFp=Mr;exports.HealthApi=qi;exports.HealthApiAxiosParamCreator=or;exports.HealthApiFactory=Ci;exports.HealthApiFp=ir;exports.IncomingWebhooksApi=Ti;exports.IncomingWebhooksApiAxiosParamCreator=D;exports.IncomingWebhooksApiFactory=bi;exports.IncomingWebhooksApiFp=L;exports.InsuranceClaimDTOStatusEnum=ca;exports.InsuranceClaimsApi=ji;exports.InsuranceClaimsApiAxiosParamCreator=De;exports.InsuranceClaimsApiFactory=Bi;exports.InsuranceClaimsApiFp=Le;exports.IntegratorApi=Qi;exports.IntegratorApiAxiosParamCreator=Hr;exports.IntegratorApiFactory=Gi;exports.IntegratorApiFp=Gr;exports.IntegratorCommissionApi=Yi;exports.IntegratorCommissionApiAxiosParamCreator=Qr;exports.IntegratorCommissionApiFactory=ki;exports.IntegratorCommissionApiFp=zr;exports.InternalReportingApi=Ji;exports.InternalReportingApiAxiosParamCreator=lr;exports.InternalReportingApiFactory=Wi;exports.InternalReportingApiFp=cr;exports.InternalTeamMemberDTOTeamEnum=da;exports.InternalTeamMembersApi=el;exports.InternalTeamMembersApiAxiosParamCreator=kr;exports.InternalTeamMembersApiFactory=Zi;exports.InternalTeamMembersApiFp=Yr;exports.KpiDocumentApi=al;exports.KpiDocumentApiAxiosParamCreator=$r;exports.KpiDocumentApiFactory=tl;exports.KpiDocumentApiFp=Wr;exports.LandlordDTOTypeEnum=ua;exports.LandlordsApi=ol;exports.LandlordsApiAxiosParamCreator=dr;exports.LandlordsApiFactory=nl;exports.LandlordsApiFp=ur;exports.MessageQueueApi=dl;exports.MessageQueueApiAxiosParamCreator=Jr;exports.MessageQueueApiFactory=cl;exports.MessageQueueApiFp=Kr;exports.MyDepositsOAuthApi=hl;exports.MyDepositsOAuthApiAxiosParamCreator=se;exports.MyDepositsOAuthApiFactory=pl;exports.MyDepositsOAuthApiFp=ne;exports.MyDepositsOnboardingStatusResponseDTOOnboardingStatusEnum=pa;exports.NetPromoterScoreApi=wl;exports.NetPromoterScoreApiAxiosParamCreator=Xr;exports.NetPromoterScoreApiFactory=gl;exports.NetPromoterScoreApiFp=Zr;exports.NetPromoterScoreDTOCategoryEnum=Aa;exports.NetPromoterScoreDTOSurveyEventEnum=ha;exports.OfferToTenantRequestDTOTenantsReferenceStatusEnum=ma;exports.OrderCustomerActionDTOTypeIdEnum=Ra;exports.OrderCustomerActionsApi=yl;exports.OrderCustomerActionsApiAxiosParamCreator=b;exports.OrderCustomerActionsApiFactory=Ol;exports.OrderCustomerActionsApiFp=T;exports.OrderCustomersApi=Sl;exports.OrderCustomersApiAxiosParamCreator=Be;exports.OrderCustomersApiFactory=Tl;exports.OrderCustomersApiFp=je;exports.OrderDTOProductIdEnum=Ia;exports.OrderDTORefundHandlingEnum=ga;exports.OrderDTOStatusIdEnum=Pa;exports.OrderWithOrderCustomersDTOProductIdEnum=wa;exports.OrderWithOrderCustomersDTORefundHandlingEnum=Oa;exports.OrderWithOrderCustomersDTOStatusIdEnum=fa;exports.OrdersApi=Ll;exports.OrdersApiAxiosParamCreator=pr;exports.OrdersApiFactory=Dl;exports.OrdersApiFp=hr;exports.OrganizationAttributesDTOInvoiceCategoryEnum=ya;exports.OrganizationBankAccountDTOAccountTypeEnum=Ea;exports.OrganizationBankAccountsApi=Ml;exports.OrganizationBankAccountsApiAxiosParamCreator=Fe;exports.OrganizationBankAccountsApiFactory=Fl;exports.OrganizationBankAccountsApiFp=Me;exports.OrganizationDTOOrganizationTypeIdEnum=Va;exports.OrganizationInternalOwnerDTOResponsibleForEnum=Ca;exports.OrganizationInternalOwnersApi=kl;exports.OrganizationInternalOwnersApiAxiosParamCreator=et;exports.OrganizationInternalOwnersApiFactory=zl;exports.OrganizationInternalOwnersApiFp=rt;exports.OrganizationInvitesApi=Wl;exports.OrganizationInvitesApiAxiosParamCreator=oe;exports.OrganizationInvitesApiFactory=$l;exports.OrganizationInvitesApiFp=ie;exports.OrganizationRecipientDTOGroupEnum=qa;exports.OrganizationRecipientsApi=tc;exports.OrganizationRecipientsApiAxiosParamCreator=Ar;exports.OrganizationRecipientsApiFactory=rc;exports.OrganizationRecipientsApiFp=mr;exports.OrganizationSettingsDTOCommissionRuleEnum=va;exports.OrganizationSettingsDTOMaximumPolicyCoverEnum=ba;exports.OrganizationSettingsDTOPricingRuleEnum=_a;exports.OrganizationUserDTORolesEnum=Ta;exports.OrganizationUsersApi=oc;exports.OrganizationUsersApiAxiosParamCreator=He;exports.OrganizationUsersApiFactory=nc;exports.OrganizationUsersApiFp=Ge;exports.OrganizationVerticalDTONameEnum=Na;exports.OrganizationVerticalDTOTypeEnum=Sa;exports.OrganizationWithCashDepositDTOOrganizationTypeIdEnum=xa;exports.OrganizationWithRepositsAndRolesOrganizationTypeIdEnum=Ua;exports.OrganizationWithRepositsAndRolesRolesEnum=Da;exports.OrganizationWithRolesOrganizationTypeIdEnum=La;exports.OrganizationWithRolesRolesEnum=Ba;exports.OrganizationsApi=uc;exports.OrganizationsApiAxiosParamCreator=g;exports.OrganizationsApiFactory=dc;exports.OrganizationsApiFp=w;exports.PaymentDetailsResponseDTOCashDepositStatusEnum=ja;exports.PaymentMethodChecksRequestDTOCustomerActionTypeEnum=Fa;exports.PaymentMethodChecksResponseDTOCvcEnum=Ma;exports.PaymentMethodChecksResponseDTOFundingEnum=Qa;exports.PaymentMethodChecksResponseDTONameMatchEnum=Ga;exports.PaymentMethodChecksResponseDTOPostcodeEnum=Ha;exports.PaymentPlanActionDTOTypeIdEnum=za;exports.PaymentPlanActionsApi=Fc;exports.PaymentPlanActionsApiAxiosParamCreator=Re;exports.PaymentPlanActionsApiFactory=jc;exports.PaymentPlanActionsApiFp=Ie;exports.PaymentPlanDTOFrequencyEnum=ka;exports.PaymentPlanDTOStatusEnum=Ya;exports.PaymentPlanInstalmentDTOStatusEnum=$a;exports.PaymentPlanInstalmentsApi=kc;exports.PaymentPlanInstalmentsApiAxiosParamCreator=Qe;exports.PaymentPlanInstalmentsApiFactory=zc;exports.PaymentPlanInstalmentsApiFp=ze;exports.PaymentPlansApi=Kc;exports.PaymentPlansApiAxiosParamCreator=B;exports.PaymentPlansApiFactory=Jc;exports.PaymentPlansApiFp=j;exports.PlaidWebhookDtoNewPaymentStatusEnum=Xa;exports.PlaidWebhookDtoStatusEnum=Ka;exports.PlaidWebhookDtoWebhookCodeEnum=Ja;exports.PlaidWebhookDtoWebhookTypeEnum=Wa;exports.PoliciesApi=nd;exports.PoliciesApiAxiosParamCreator=F;exports.PoliciesApiFactory=sd;exports.PoliciesApiFp=M;exports.PolicyDTOStatusEnum=Za;exports.PolicyDocumentsApi=hd;exports.PolicyDocumentsApiAxiosParamCreator=Pe;exports.PolicyDocumentsApiFactory=pd;exports.PolicyDocumentsApiFp=ge;exports.PolicyTypeDTOCoverTypeEnum=es;exports.PreTenancyDocumentsApi=gd;exports.PreTenancyDocumentsApiAxiosParamCreator=Rr;exports.PreTenancyDocumentsApiFactory=Pd;exports.PreTenancyDocumentsApiFp=Ir;exports.PricingApi=yd;exports.PricingApiAxiosParamCreator=Pr;exports.PricingApiFactory=Od;exports.PricingApiFp=gr;exports.PropertiesApi=qd;exports.PropertiesApiAxiosParamCreator=ke;exports.PropertiesApiFactory=Cd;exports.PropertiesApiFp=Ye;exports.QueueMessageDTOCronNameEnum=ts;exports.QueueMessageDTOTypeEnum=rs;exports.ReconciliationDocumentsApi=Sd;exports.ReconciliationDocumentsApiAxiosParamCreator=tt;exports.ReconciliationDocumentsApiFactory=Td;exports.ReconciliationDocumentsApiFp=at;exports.ReferenceDTOStatusEnum=as;exports.ReferenceDocumentsApi=Ud;exports.ReferenceDocumentsApiAxiosParamCreator=we;exports.ReferenceDocumentsApiFactory=xd;exports.ReferenceDocumentsApiFp=fe;exports.ReferencesApi=Md;exports.ReferencesApiAxiosParamCreator=S;exports.ReferencesApiFactory=Fd;exports.ReferencesApiFp=N;exports.RepositAddressDTOCountryEnum=ss;exports.RepositAgentDTOUserTypeIdEnum=ns;exports.RepositDTOStatusEnum=os;exports.RepositOfferDTOTenantsReferenceStatusEnum=is;exports.RepositOfferRecipientDTOChoiceEnum=ls;exports.RepositOffersApi=Jd;exports.RepositOffersApiAxiosParamCreator=x;exports.RepositOffersApiFactory=Wd;exports.RepositOffersApiFp=U;exports.RepositPolicyTypeDTOCategoryEnum=cs;exports.RepositSupplierDTOTypeEnum=ds;exports.RepositTenantDTOStatusEnum=us;exports.RepositTenantDocumentDTOTypeEnum=ps;exports.RepositWebhookDTOActionEnum=As;exports.RepositWebhookDTOResourceTypeEnum=hs;exports.RepositWebhookTenantDTOStatusEnum=ms;exports.RepositsApi=nu;exports.RepositsApiAxiosParamCreator=_;exports.RepositsApiFactory=su;exports.RepositsApiFp=v;exports.RequiredError=h;exports.SearchRepositOfferDTOTenantsReferenceStatusEnum=Rs;exports.SeedRepositsApi=mu;exports.SeedRepositsApiAxiosParamCreator=st;exports.SeedRepositsApiFactory=Au;exports.SeedRepositsApiFp=nt;exports.SubmitFeedbackDTOApplicationEnum=Is;exports.SubmitFeedbackDTOSubjectEnum=Ps;exports.SuppliersApi=Pu;exports.SuppliersApiAxiosParamCreator=wr;exports.SuppliersApiFactory=Iu;exports.SuppliersApiFp=fr;exports.TenanciesApi=Ou;exports.TenanciesApiAxiosParamCreator=V;exports.TenanciesApiFactory=fu;exports.TenanciesApiFp=C;exports.TenancyAnniversariesApi=Lu;exports.TenancyAnniversariesApiAxiosParamCreator=ot;exports.TenancyAnniversariesApiFactory=Du;exports.TenancyAnniversariesApiFp=it;exports.TenancyCheckoutsApi=Fu;exports.TenancyCheckoutsApiAxiosParamCreator=lt;exports.TenancyCheckoutsApiFactory=ju;exports.TenancyCheckoutsApiFp=ct;exports.TenancyExpiriesApi=Gu;exports.TenancyExpiriesApiAxiosParamCreator=Or;exports.TenancyExpiriesApiFactory=Hu;exports.TenancyExpiriesApiFp=yr;exports.TenancyInventoriesApi=Yu;exports.TenancyInventoriesApiAxiosParamCreator=Er;exports.TenancyInventoriesApiFactory=ku;exports.TenancyInventoriesApiFp=Vr;exports.TenancyInventoryRespondentDTOResponseEnum=gs;exports.TenancyInventoryRespondentDTOStageEnum=ws;exports.TenancyInviteDTORoleIdEnum=fs;exports.TenancyInvitesApi=Ku;exports.TenancyInvitesApiAxiosParamCreator=H;exports.TenancyInvitesApiFactory=Ju;exports.TenancyInvitesApiFp=G;exports.TenancyOrderNotesApi=np;exports.TenancyOrderNotesApiAxiosParamCreator=Cr;exports.TenancyOrderNotesApiFactory=sp;exports.TenancyOrderNotesApiFp=qr;exports.TenancyOrdersApi=cp;exports.TenancyOrdersApiAxiosParamCreator=Q;exports.TenancyOrdersApiFactory=lp;exports.TenancyOrdersApiFp=z;exports.TenancyUserDTORoleIdEnum=Os;exports.TenancyUsersApi=Ip;exports.TenancyUsersApiAxiosParamCreator=Oe;exports.TenancyUsersApiFactory=Rp;exports.TenancyUsersApiFp=ye;exports.TenantsApi=yp;exports.TenantsApiAxiosParamCreator=_r;exports.TenantsApiFactory=Op;exports.TenantsApiFp=vr;exports.TermsApi=qp;exports.TermsApiAxiosParamCreator=br;exports.TermsApiFactory=Cp;exports.TermsApiFp=Tr;exports.UpdateClaimItemDTOTypeEnum=ys;exports.UpdateLandlordDTOTypeEnum=Es;exports.UpdateOrganizationDTOOrganizationTypeIdEnum=Vs;exports.UpdatePolicyStatusDTOStatusEnum=Cs;exports.UserDTOInternalRolesEnum=_s;exports.UserDTOUserTypeIdEnum=qs;exports.UsersApi=Tp;exports.UsersApiAxiosParamCreator=y;exports.UsersApiFactory=bp;exports.UsersApiFp=E;exports.VerifyPostcodeResponseDTOStatusEnum=vs;exports.WebhooksApi=Kp;exports.WebhooksApiAxiosParamCreator=dt;exports.WebhooksApiFactory=Jp;exports.WebhooksApiFp=ut;exports.aboutYou=El;exports.acceptOrganizationInvite=Jl;exports.acceptTenancyInvite=Xu;exports.acknowledgeCaseSentToInsurer=po;exports.addAbitrationDocument=zs;exports.addClaimDocument=_n;exports.addClaimDocumentByDocumentId=vn;exports.addClaimItemDocument=Un;exports.addClaimItemDocumentByDocumentId=Dn;exports.addClaimResponseDocument=no;exports.addGuarantor=Pp;exports.addItems=od;exports.addPaymentMethod=Mo;exports.addPolicyDocument=Ad;exports.addPreTenancyDocumentByDocumentId=wd;exports.addReferenceDocument=Dd;exports.addRejectionReason=Kd;exports.addTenant=Ep;exports.addressHistory=Vl;exports.agreeClaimProposal=Xn;exports.approveClaim=ho;exports.changeInstalmentDates=Xc;exports.closingRemindersEnabled=yu;exports.completeMyDepositsSetup=Al;exports.completeOnboardingIntroduction=Sp;exports.confirm=Cl;exports.confirmBankAccounts=pc;exports.confirmPaymentPlan=Mc;exports.confirmTenancyDetails=In;exports.counterClaimProposal=Zn;exports.create=Hl;exports.createAddress=xs;exports.createApplicant=Fs;exports.createArbitration=Ks;exports.createCheckout=Mu;exports.createClaim=Ao;exports.createClaimActivity=mo;exports.createClaimItem=Yn;exports.createClaimItemProposal=Hn;exports.createDocument=Qo;exports.createEvidenceChaser=wi;exports.createEvidenceChaserItem=ui;exports.createEvidenceChaserItemRequest=Wo;exports.createEvidenceChaserItemResponse=ai;exports.createEvidenceChaserItemResponseDocument=Zo;exports.createEvidenceChaserItemReview=ii;exports.createFromS3=zo;exports.createInsuranceClaim=Fi;exports.createInsuranceClaimOnClaim=Ro;exports.createNetPromoterScore=fl;exports.createOffer=Xd;exports.createOneTimeSessionToken=Np;exports.createOrganization=hc;exports.createOrganizationInvite=Kl;exports.createOrganizationRecipient=ac;exports.createPaymentPlan=Zc;exports.createPolicy=id;exports.createProperty=_d;exports.createReference=Hd;exports.createReposit=ou;exports.createTenancy=Eu;exports.createTenancyExpiry=Qu;exports.createTenancyInvite=Zu;exports.createTenancyOrder=Vu;exports.createTenancyOrderNote=op;exports.dbHealthCheck=_i;exports.deactivateClaim=Io;exports.declineClaim=Po;exports.deferPaymentPlanInstalment=Yc;exports.deleteAbitrationDocument=ks;exports.deleteBankAccount=Gl;exports.deleteById=Vp;exports.deleteClaimDocument=bn;exports.deleteClaimItem=$n;exports.deleteClaimItemDocument=Ln;exports.deleteClaimItemProposal=Gn;exports.deleteClaimResponseDocument=oo;exports.deleteEvidenceChaserItemRequest=Jo;exports.deleteEvidenceChaserItemResponseDocument=ei;exports.deleteGuarantor=gp;exports.deleteInvite=Xl;exports.deleteItem=ld;exports.deleteNote=ip;exports.deleteOffer=Zd;exports.deleteOrganizationRecipient=sc;exports.deletePaymentPlanById=ed;exports.deletePolicyDocument=md;exports.deletePreTenancyDocument=fd;exports.deleteReferenceDocument=Ld;exports.deleteTenancyInvite=ep;exports.disableProductCreation=Ac;exports.disableTopUps=Cu;exports.disableWarnings=$u;exports.dismissNewProductUpdates=xp;exports.dismissOrganizationMessage=mc;exports.dismissUserMessage=Up;exports.disputeClaimProposal=eo;exports.duplicatePaymentMethodCheck=Bl;exports.enableProductCreation=Rc;exports.exchangeMyDepositsToken=ml;exports.expireEvidenceChaser=fi;exports.extendOutcomeDeadline=qu;exports.fetchAddressesByOrganizationId=Ic;exports.fetchInvitesByOrganizationId=Zl;exports.fetchInvitesByTenancyId=rp;exports.fetchLandlordsByOrganizationId=Pc;exports.fetchOrganizationUsersByOrganizationId=gc;exports.fetchPropertiesByOrganizationId=wc;exports.fetchTenanciesByOrganizationId=fc;exports.fetchUsersByOrganizationId=Oc;exports.findAbitrationDocumentById=Ys;exports.findAddressById=Us;exports.findAll=rl;exports.findApplicantById=Ms;exports.findCheckById=En;exports.findClaimById=go;exports.findClaimDocumentById=Tn;exports.findClaimItemDocumentById=Bn;exports.findClaimResponseDocumentById=io;exports.findManyAbitrationDocuments=$s;exports.findManyClaimDocuments=Sn;exports.findManyClaimItemDocuments=jn;exports.findManyClaimResponseDocuments=lo;exports.findManyPolicyDocuments=Rd;exports.findManyReferenceDocuments=Bd;exports.findOne=cd;exports.findOneByID=Dp;exports.findOrganizationById=yc;exports.findPolicyDocumentById=Id;exports.findReferenceById=Gd;exports.findReferenceDocumentById=jd;exports.generateADRForm=wo;exports.generateCashDepositPlaidLinkToken=Pn;exports.generateCommissionCsvForPeriod=Bo;exports.generateLastMonthCommission=$i;exports.getActive=un;exports.getAmountRemaining=jl;exports.getArbitrationById=Xs;exports.getBankAccounts=Ql;exports.getByTenancyId=zu;exports.getCashDepositAmount=Ed;exports.getCashDepositScheme=Ec;exports.getChecks=Qd;exports.getChildren=Vc;exports.getCompletedReposits=Ki;exports.getCreatedReposits=Xi;exports.getCustomer=Lp;exports.getDocumentsByIds=ko;exports.getEvidenceChaserById=Oi;exports.getInstalmentById=$c;exports.getInstalmentPaymentIntentSecret=Wc;exports.getInsuranceClaim=Mi;exports.getIntegrators=zi;exports.getLandlordById=il;exports.getMyDepositsAuthorizeUrl=Rl;exports.getMyDepositsCompanyOffices=Il;exports.getMyDepositsOnboardingStatus=Pl;exports.getMySupplier=gu;exports.getOrderCustomerById=Nl;exports.getOrganizationMetrics=Cc;exports.getOrganizationUsers=Bp;exports.getOrganizationVerticals=qc;exports.getOwners=Yl;exports.getPaymentDetails=gn;exports.getPaymentPlanAction=Hc;exports.getPaymentPlanById=rd;exports.getPaymentPlanPropertyAddressById=td;exports.getPropertyById=vd;exports.getRecipients=_c;exports.getReferenceDocuments=zd;exports.getRepositById=iu;exports.getRepositFee=Vd;exports.getRepositLandlord=lu;exports.getRepositOffer=eu;exports.getRepositPolicies=cu;exports.getRepositPrice=du;exports.getSetupIntentSecret=ad;exports.getSupplierAgents=wu;exports.getSupplierTerms=_p;exports.getTenancyAnniversaries=Bu;exports.getTenancyById=_u;exports.getTenancyDocuments=vu;exports.getTenancyOrderById=dp;exports.getTenancyOrdersByProductId=jp;exports.getTenancyUserById=xl;exports.getTenantDocuments=uu;exports.getTenantTerms=vp;exports.getUserAccount=Fp;exports.getUserTenancyAnniversaries=Mp;exports.grantRoles=ic;exports.healthCheck=vi;exports.login=an;exports.me=Hp;exports.notifyIntegrator=lc;exports.optimisedSearch=up;exports.optimisedSearchClaim=fo;exports.override=Vn;exports.pay=ql;exports.paySupplier=Oo;exports.paymentCardChecks=Ul;exports.processIncomingMessage=ul;exports.processPlaidWebhooks=Si;exports.processSendGridWebhooks=Ni;exports.processStripeWebhooks=xi;exports.processTwilioIvrWebhooks=Ui;exports.processTwilioIvrWebhooksWithGatherAction=Di;exports.processTwilioVoicemailWebhook=Li;exports.publish=bu;exports.publishArbitration=Zs;exports.publishClaim=yo;exports.publishClaimProposal=ro;exports.publishEvidenceChaserRequests=mi;exports.publishEvidenceChaserResponses=Ri;exports.publishEvidenceChaserReviews=Ii;exports.publishReposit=pu;exports.readyForArbitrateClaim=Eo;exports.readyForReview=kd;exports.redeemOneTimeSessionToken=sn;exports.reference=_l;exports.removeTenancyOrderById=pp;exports.removeUser=vc;exports.reopenClaim=Vo;exports.reopenTenancyOrder=hp;exports.replaceReposit=hu;exports.requestMoreInfoClaim=Co;exports.resendOrganizationInvite=ec;exports.resendTenancyInvite=tp;exports.resetPassword=nn;exports.resetPasswordRequest=on;exports.resetUserPassword=Gp;exports.resolveClaim=qo;exports.resolveInsuranceClaim=Hi;exports.respondToOffer=ru;exports.revokeRoles=cc;exports.searchAddressesByPostcode=Ds;exports.searchKpiDocuments=sl;exports.searchOffers=tu;exports.searchOrganization=bc;exports.searchProperties=bd;exports.searchReconciliationDocuments=Nd;exports.searchReferences=Yd;exports.searchUser=Qp;exports.seedReposit=Ru;exports.sendOverdueChasers=Ap;exports.sendReminder=au;exports.sendReminderEmail=wp;exports.setLandlordInformationComplete=Tc;exports.setPassword=ln;exports.sign=vl;exports.signAddendumForSupplier=Tu;exports.signAddendumForTenant=bl;exports.signCashDeposit=wn;exports.skipEvidenceChaser=_o;exports.submitChecks=$d;exports.submitFeedback=Vi;exports.submitMoreInfoClaim=vo;exports.tenantConfirmation=Wu;exports.tenantVacated=Su;exports.transferTenancyOrderToOrganization=mp;exports.unpublishClaimProposal=to;exports.updateASTAcceptance=Sc;exports.updateAboutMe=zp;exports.updateAddress=Gc;exports.updateAddressById=Ls;exports.updateAddressHistory=kp;exports.updateArbitration=en;exports.updateAttributes=Hs;exports.updateAutoCharge=bo;exports.updateBeneficiary=An;exports.updateBetaEnabled=Yp;exports.updateCardDetails=Qc;exports.updateClaim=To;exports.updateClaimItem=Wn;exports.updateClaimItemProposal=Qn;exports.updateEmailSettings=$p;exports.updateEvidenceChaserItem=pi;exports.updateEvidenceChaserItemResponse=si;exports.updateEvidenceChaserItemReview=li;exports.updateExistingProperty=Nu;exports.updateGuarantor=fp;exports.updateInformedLandlords=Nc;exports.updateIntegrationWebhookUrl=Xp;exports.updateLandlord=ll;exports.updateOrganization=xc;exports.updateOrganizationNotes=Uc;exports.updatePolicy=dd;exports.updateProperty=xu;exports.updateStatus=ud;exports.updateTenancy=Uu;exports.updateTenancyInvite=ap;exports.updateTenantDisputeMessage=So;exports.updateTermsAccepted=Dc;exports.updateUser=Wp;exports.updateYourCompany=Lc;exports.verifyClaim=No;exports.verifyPostcode=fn;exports.waiveDisputeFee=xo;exports.welcomeLandlord=Bc;exports.zipDocuments=Uo;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const p=require("axios"),u="http://localhost".replace(/\/+$/,""),zs={csv:",",ssv:" ",tsv:" ",pipes:"|"};class R{constructor(e,r=u,t=p){this.basePath=r,this.axios=t,e&&(this.configuration=e,this.basePath=e.basePath||this.basePath)}}class h extends Error{constructor(e,r){super(r),this.field=e,this.name="RequiredError"}}const pe=function(a){return{createAddress(e,r={}){if(e==null)throw new h("createAddressWithOrgDTO","Required parameter createAddressWithOrgDTO was null or undefined when calling createAddress.");const t="/v2/addresses",s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"POST",...n,...r},i={},l={};return i["Content-Type"]="application/json",Object.entries({...l,...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},o.data=JSON.stringify(e!==void 0?e:{}),{url:s.pathname+s.search,options:o}},findAddressById(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling findAddressById.");const t="/v2/addresses/{id}".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},searchAddressesByPostcode(e,r={}){if(e==null)throw new h("postcode","Required parameter postcode was null or undefined when calling searchAddressesByPostcode.");const t="/v2/addresses/lookup",s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={},l={};return e!==void 0&&(l.postcode=e),Object.entries({...l,...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},updateAddressById(e,r,t={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling updateAddressById.");if(r==null)throw new h("updateAddressDTO","Required parameter updateAddressDTO was null or undefined when calling updateAddressById.");const s="/v2/addresses/{id}".replace("{id}",encodeURIComponent(String(e))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"PATCH",...o,...t},l={},d={};return l["Content-Type"]="application/json",Object.entries({...d,...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:n.pathname+n.search,options:i}}}},he=function(a){return{createAddress(e,r){const t=pe(a).createAddress(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},findAddressById(e,r){const t=pe(a).findAddressById(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},searchAddressesByPostcode(e,r){const t=pe(a).searchAddressesByPostcode(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},updateAddressById(e,r,t){const s=pe(a).updateAddressById(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}}}},$s=function(a,e,r){return{createAddress(t,s){return he(a).createAddress(t,s)(r,e)},findAddressById(t,s){return he(a).findAddressById(t,s)(r,e)},searchAddressesByPostcode(t,s){return he(a).searchAddressesByPostcode(t,s)(r,e)},updateAddressById(t,s,n){return he(a).updateAddressById(t,s,n)(r,e)}}};class Ws extends R{createAddress(e,r){return he(this.configuration).createAddress(e,r)(this.axios,this.basePath)}findAddressById(e,r){return he(this.configuration).findAddressById(e,r)(this.axios,this.basePath)}searchAddressesByPostcode(e,r){return he(this.configuration).searchAddressesByPostcode(e,r)(this.axios,this.basePath)}updateAddressById(e,r,t){return he(this.configuration).updateAddressById(e,r,t)(this.axios,this.basePath)}}async function Js(a,e,r=p,t=u,s){const n=pe(e).createAddress(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function Ks(a,e,r=p,t=u,s){const n=pe(e).findAddressById(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function Xs(a,e,r=p,t=u,s){const n=pe(e).searchAddressesByPostcode(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function Zs(a,e,r,t=p,s=u,n){const o=pe(r).updateAddressById(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}const _e=function(a){return{createApplicant(e,r={}){if(e==null)throw new h("createApplicantDTO","Required parameter createApplicantDTO was null or undefined when calling createApplicant.");const t="/v2/applicants",s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"POST",...n,...r},i={},l={};return i["Content-Type"]="application/json",Object.entries({...l,...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},o.data=JSON.stringify(e!==void 0?e:{}),{url:s.pathname+s.search,options:o}},findApplicantById(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling findApplicantById.");const t="/v2/applicants/{id}/references".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},updateAttributes(e,r,t={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling updateAttributes.");if(r==null)throw new h("updateApplicantAttributesDTO","Required parameter updateApplicantAttributesDTO was null or undefined when calling updateAttributes.");const s="/v2/applicants/{id}/attributes".replace("{id}",encodeURIComponent(String(e))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"PATCH",...o,...t},l={},d={};return l["Content-Type"]="application/json",Object.entries({...d,...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:n.pathname+n.search,options:i}}}},ve=function(a){return{createApplicant(e,r){const t=_e(a).createApplicant(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},findApplicantById(e,r){const t=_e(a).findApplicantById(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},updateAttributes(e,r,t){const s=_e(a).updateAttributes(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}}}},en=function(a,e,r){return{createApplicant(t,s){return ve(a).createApplicant(t,s)(r,e)},findApplicantById(t,s){return ve(a).findApplicantById(t,s)(r,e)},updateAttributes(t,s,n){return ve(a).updateAttributes(t,s,n)(r,e)}}};class rn extends R{createApplicant(e,r){return ve(this.configuration).createApplicant(e,r)(this.axios,this.basePath)}findApplicantById(e,r){return ve(this.configuration).findApplicantById(e,r)(this.axios,this.basePath)}updateAttributes(e,r,t){return ve(this.configuration).updateAttributes(e,r,t)(this.axios,this.basePath)}}async function tn(a,e,r=p,t=u,s){const n=_e(e).createApplicant(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function an(a,e,r=p,t=u,s){const n=_e(e).findApplicantById(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function sn(a,e,r,t=p,s=u,n){const o=_e(r).updateAttributes(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}const me=function(a){return{addAbitrationDocument(e,r,t,s,n={}){if(e==null)throw new h("arbitrationId","Required parameter arbitrationId was null or undefined when calling addAbitrationDocument.");if(r==null)throw new h("file","Required parameter file was null or undefined when calling addAbitrationDocument.");if(t==null)throw new h("name","Required parameter name was null or undefined when calling addAbitrationDocument.");if(s==null)throw new h("type","Required parameter type was null or undefined when calling addAbitrationDocument.");const o="/v2/arbitrations/{arbitrationId}/documents".replace("{arbitrationId}",encodeURIComponent(String(e))),i=new URL(o,"http://placeholder");let l;a&&(l=a.baseOptions);const d={method:"POST",...l,...n},c={},m={},A=new FormData;return r!==void 0&&A.append("file",r),t!==void 0&&A.append("name",t),s!==void 0&&A.append("type",s),c["Content-Type"]="multipart/form-data",Object.entries({...m,...n.query}).forEach(([I,P])=>{P!==void 0&&i.searchParams.set(I,String(P))}),d.headers={...c,...n.headers},d.data=A,{url:i.pathname+i.search,options:d}},deleteAbitrationDocument(e,r,t={}){if(e==null)throw new h("arbitrationId","Required parameter arbitrationId was null or undefined when calling deleteAbitrationDocument.");if(r==null)throw new h("documentId","Required parameter documentId was null or undefined when calling deleteAbitrationDocument.");const s="/v2/arbitrations/{arbitrationId}/documents/{documentId}".replace("{arbitrationId}",encodeURIComponent(String(e))).replace("{documentId}",encodeURIComponent(String(r))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"DELETE",...o,...t},l={};return Object.entries({...{},...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},{url:n.pathname+n.search,options:i}},findAbitrationDocumentById(e,r,t={}){if(e==null)throw new h("arbitrationId","Required parameter arbitrationId was null or undefined when calling findAbitrationDocumentById.");if(r==null)throw new h("documentId","Required parameter documentId was null or undefined when calling findAbitrationDocumentById.");const s="/v2/arbitrations/{arbitrationId}/documents/{documentId}".replace("{arbitrationId}",encodeURIComponent(String(e))).replace("{documentId}",encodeURIComponent(String(r))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"GET",...o,...t},l={};return Object.entries({...{},...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},{url:n.pathname+n.search,options:i}},findManyAbitrationDocuments(e,r={}){if(e==null)throw new h("arbitrationId","Required parameter arbitrationId was null or undefined when calling findManyAbitrationDocuments.");const t="/v2/arbitrations/{arbitrationId}/documents".replace("{arbitrationId}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}}}},Ae=function(a){return{addAbitrationDocument(e,r,t,s,n){const o=me(a).addAbitrationDocument(e,r,t,s,n);return(i=p,l=u)=>{const d={...o.options,url:l+o.url};return i.request(d)}},deleteAbitrationDocument(e,r,t){const s=me(a).deleteAbitrationDocument(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},findAbitrationDocumentById(e,r,t){const s=me(a).findAbitrationDocumentById(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},findManyAbitrationDocuments(e,r){const t=me(a).findManyAbitrationDocuments(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}}}},nn=function(a,e,r){return{addAbitrationDocument(t,s,n,o,i){return Ae(a).addAbitrationDocument(t,s,n,o,i)(r,e)},deleteAbitrationDocument(t,s,n){return Ae(a).deleteAbitrationDocument(t,s,n)(r,e)},findAbitrationDocumentById(t,s,n){return Ae(a).findAbitrationDocumentById(t,s,n)(r,e)},findManyAbitrationDocuments(t,s){return Ae(a).findManyAbitrationDocuments(t,s)(r,e)}}};class on extends R{addAbitrationDocument(e,r,t,s,n){return Ae(this.configuration).addAbitrationDocument(e,r,t,s,n)(this.axios,this.basePath)}deleteAbitrationDocument(e,r,t){return Ae(this.configuration).deleteAbitrationDocument(e,r,t)(this.axios,this.basePath)}findAbitrationDocumentById(e,r,t){return Ae(this.configuration).findAbitrationDocumentById(e,r,t)(this.axios,this.basePath)}findManyAbitrationDocuments(e,r){return Ae(this.configuration).findManyAbitrationDocuments(e,r)(this.axios,this.basePath)}}async function ln(a,e,r,t,s,n=p,o=u,i){const l=me(s).addAbitrationDocument(a,e,r,t,i),d={...l.options,url:o+l.url};return(await n.request(d)).data}async function cn(a,e,r,t=p,s=u,n){const o=me(r).deleteAbitrationDocument(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function dn(a,e,r,t=p,s=u,n){const o=me(r).findAbitrationDocumentById(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function un(a,e,r=p,t=u,s){const n=me(e).findManyAbitrationDocuments(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}const Re=function(a){return{createArbitration(e,r={}){if(e==null)throw new h("createArbitrationDTO","Required parameter createArbitrationDTO was null or undefined when calling createArbitration.");const t="/v2/arbitrations",s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"POST",...n,...r},i={},l={};return i["Content-Type"]="application/json",Object.entries({...l,...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},o.data=JSON.stringify(e!==void 0?e:{}),{url:s.pathname+s.search,options:o}},getArbitrationById(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling getArbitrationById.");const t="/v2/arbitrations/{id}".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},publishArbitration(e,r={}){if(e==null)throw new h("arbitrationId","Required parameter arbitrationId was null or undefined when calling publishArbitration.");const t="/v2/arbitrations/{arbitrationId}/publish".replace("{arbitrationId}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"POST",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},updateArbitration(e,r,t={}){if(e==null)throw new h("arbitrationId","Required parameter arbitrationId was null or undefined when calling updateArbitration.");if(r==null)throw new h("updateArbitrationDTO","Required parameter updateArbitrationDTO was null or undefined when calling updateArbitration.");const s="/v2/arbitrations/{arbitrationId}".replace("{arbitrationId}",encodeURIComponent(String(e))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"PATCH",...o,...t},l={},d={};return l["Content-Type"]="application/json",Object.entries({...d,...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:n.pathname+n.search,options:i}}}},Ie=function(a){return{createArbitration(e,r){const t=Re(a).createArbitration(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},getArbitrationById(e,r){const t=Re(a).getArbitrationById(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},publishArbitration(e,r){const t=Re(a).publishArbitration(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},updateArbitration(e,r,t){const s=Re(a).updateArbitration(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}}}},pn=function(a,e,r){return{createArbitration(t,s){return Ie(a).createArbitration(t,s)(r,e)},getArbitrationById(t,s){return Ie(a).getArbitrationById(t,s)(r,e)},publishArbitration(t,s){return Ie(a).publishArbitration(t,s)(r,e)},updateArbitration(t,s,n){return Ie(a).updateArbitration(t,s,n)(r,e)}}};class hn extends R{createArbitration(e,r){return Ie(this.configuration).createArbitration(e,r)(this.axios,this.basePath)}getArbitrationById(e,r){return Ie(this.configuration).getArbitrationById(e,r)(this.axios,this.basePath)}publishArbitration(e,r){return Ie(this.configuration).publishArbitration(e,r)(this.axios,this.basePath)}updateArbitration(e,r,t){return Ie(this.configuration).updateArbitration(e,r,t)(this.axios,this.basePath)}}async function mn(a,e,r=p,t=u,s){const n=Re(e).createArbitration(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function An(a,e,r=p,t=u,s){const n=Re(e).getArbitrationById(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function Rn(a,e,r=p,t=u,s){const n=Re(e).publishArbitration(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function In(a,e,r,t=p,s=u,n){const o=Re(r).updateArbitration(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}const X=function(a){return{login(e,r={}){if(e==null)throw new h("loginDTO","Required parameter loginDTO was null or undefined when calling login.");const t="/v2/auth/login",s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"POST",...n,...r},i={},l={};return i["Content-Type"]="application/json",Object.entries({...l,...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},o.data=JSON.stringify(e!==void 0?e:{}),{url:s.pathname+s.search,options:o}},redeemOneTimeSessionToken(e,r={}){if(e==null)throw new h("token","Required parameter token was null or undefined when calling redeemOneTimeSessionToken.");const t="/v2/auth/redeem-one-time-session-token",s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={},l={};return e!==void 0&&(l.token=e),Object.entries({...l,...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},resetPassword(e,r={}){if(e==null)throw new h("resetPasswordDTO","Required parameter resetPasswordDTO was null or undefined when calling resetPassword.");const t="/v2/auth/reset-password",s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"POST",...n,...r},i={},l={};return i["Content-Type"]="application/json",Object.entries({...l,...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},o.data=JSON.stringify(e!==void 0?e:{}),{url:s.pathname+s.search,options:o}},resetPasswordRequest(e,r={}){if(e==null)throw new h("email","Required parameter email was null or undefined when calling resetPasswordRequest.");const t="/v2/auth/reset-password-request",s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={},l={};return e!==void 0&&(l.email=e),Object.entries({...l,...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},setPassword(e,r={}){if(e==null)throw new h("resetPasswordDTO","Required parameter resetPasswordDTO was null or undefined when calling setPassword.");const t="/v2/auth/set-password",s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"POST",...n,...r},i={},l={};return i["Content-Type"]="application/json",Object.entries({...l,...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},o.data=JSON.stringify(e!==void 0?e:{}),{url:s.pathname+s.search,options:o}}}},Z=function(a){return{login(e,r){const t=X(a).login(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},redeemOneTimeSessionToken(e,r){const t=X(a).redeemOneTimeSessionToken(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},resetPassword(e,r){const t=X(a).resetPassword(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},resetPasswordRequest(e,r){const t=X(a).resetPasswordRequest(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},setPassword(e,r){const t=X(a).setPassword(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}}}},Pn=function(a,e,r){return{login(t,s){return Z(a).login(t,s)(r,e)},redeemOneTimeSessionToken(t,s){return Z(a).redeemOneTimeSessionToken(t,s)(r,e)},resetPassword(t,s){return Z(a).resetPassword(t,s)(r,e)},resetPasswordRequest(t,s){return Z(a).resetPasswordRequest(t,s)(r,e)},setPassword(t,s){return Z(a).setPassword(t,s)(r,e)}}};class gn extends R{login(e,r){return Z(this.configuration).login(e,r)(this.axios,this.basePath)}redeemOneTimeSessionToken(e,r){return Z(this.configuration).redeemOneTimeSessionToken(e,r)(this.axios,this.basePath)}resetPassword(e,r){return Z(this.configuration).resetPassword(e,r)(this.axios,this.basePath)}resetPasswordRequest(e,r){return Z(this.configuration).resetPasswordRequest(e,r)(this.axios,this.basePath)}setPassword(e,r){return Z(this.configuration).setPassword(e,r)(this.axios,this.basePath)}}async function wn(a,e,r=p,t=u,s){const n=X(e).login(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function On(a,e,r=p,t=u,s){const n=X(e).redeemOneTimeSessionToken(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function fn(a,e,r=p,t=u,s){const n=X(e).resetPassword(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function yn(a,e,r=p,t=u,s){const n=X(e).resetPasswordRequest(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function En(a,e,r=p,t=u,s){const n=X(e).setPassword(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}const Ur=function(a){return{getActive(e={}){const r="/v2/bank-accounts",t=new URL(r,"http://placeholder");let s;a&&(s=a.baseOptions);const n={method:"GET",...s,...e},o={};return Object.entries({...{},...e.query}).forEach(([l,d])=>{d!==void 0&&t.searchParams.set(l,String(d))}),n.headers={...o,...e.headers},{url:t.pathname+t.search,options:n}}}},Dr=function(a){return{getActive(e){const r=Ur(a).getActive(e);return(t=p,s=u)=>{const n={...r.options,url:s+r.url};return t.request(n)}}}},Cn=function(a,e,r){return{getActive(t){return Dr(a).getActive(t)(r,e)}}};class Vn extends R{getActive(e){return Dr(this.configuration).getActive(e)(this.axios,this.basePath)}}async function qn(a,e=p,r=u,t){const s=Ur(a).getActive(t),n={...s.options,url:r+s.url};return(await e.request(n)).data}const Lr=function(a){return{updateBeneficiary(e,r,t={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling updateBeneficiary.");if(r==null)throw new h("updateBeneficiaryDTO","Required parameter updateBeneficiaryDTO was null or undefined when calling updateBeneficiary.");const s="/v2/beneficiaries/{id}".replace("{id}",encodeURIComponent(String(e))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"PATCH",...o,...t},l={},d={};return l["Content-Type"]="application/json",Object.entries({...d,...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:n.pathname+n.search,options:i}}}},Br=function(a){return{updateBeneficiary(e,r,t){const s=Lr(a).updateBeneficiary(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}}}},_n=function(a,e,r){return{updateBeneficiary(t,s,n){return Br(a).updateBeneficiary(t,s,n)(r,e)}}};class vn extends R{updateBeneficiary(e,r,t){return Br(this.configuration).updateBeneficiary(e,r,t)(this.axios,this.basePath)}}async function bn(a,e,r,t=p,s=u,n){const o=Lr(r).updateBeneficiary(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}const _=function(a){return{createBulkImport(e,r={}){if(e==null)throw new h("createBulkImportDTO","Required parameter createBulkImportDTO was null or undefined when calling createBulkImport.");const t="/v2/bulk-imports",s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"POST",...n,...r},i={},l={};return i["Content-Type"]="application/json",Object.entries({...l,...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},o.data=JSON.stringify(e!==void 0?e:{}),{url:s.pathname+s.search,options:o}},createTemporaryUploadUrl(e,r={}){if(e==null)throw new h("createTemporaryUploadUrlDTO","Required parameter createTemporaryUploadUrlDTO was null or undefined when calling createTemporaryUploadUrl.");const t="/v2/bulk-imports/upload-url",s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"POST",...n,...r},i={},l={};return i["Content-Type"]="application/json",Object.entries({...l,...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},o.data=JSON.stringify(e!==void 0?e:{}),{url:s.pathname+s.search,options:o}},getAllBulkImports(e={}){const r="/v2/bulk-imports",t=new URL(r,"http://placeholder");let s;a&&(s=a.baseOptions);const n={method:"GET",...s,...e},o={};return Object.entries({...{},...e.query}).forEach(([l,d])=>{d!==void 0&&t.searchParams.set(l,String(d))}),n.headers={...o,...e.headers},{url:t.pathname+t.search,options:n}},getBulkImportById(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling getBulkImportById.");const t="/v2/bulk-imports/{id}".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},getBulkImportDownloadUrl(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling getBulkImportDownloadUrl.");const t="/v2/bulk-imports/{id}/download-url".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},getExampleCsv(e={}){const r="/v2/bulk-imports/example.csv",t=new URL(r,"http://placeholder");let s;a&&(s=a.baseOptions);const n={method:"GET",...s,...e},o={};return Object.entries({...{},...e.query}).forEach(([l,d])=>{d!==void 0&&t.searchParams.set(l,String(d))}),n.headers={...o,...e.headers},{url:t.pathname+t.search,options:n}},getFailedRowsCsv(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling getFailedRowsCsv.");const t="/v2/bulk-imports/{id}/failed-rows.csv".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},processUploadFile(e,r,t={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling processUploadFile.");if(r==null)throw new h("processUploadFileDTO","Required parameter processUploadFileDTO was null or undefined when calling processUploadFile.");const s="/v2/bulk-imports/{id}/process-upload".replace("{id}",encodeURIComponent(String(e))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"POST",...o,...t},l={},d={};return l["Content-Type"]="application/json",Object.entries({...d,...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:n.pathname+n.search,options:i}}}},v=function(a){return{createBulkImport(e,r){const t=_(a).createBulkImport(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},createTemporaryUploadUrl(e,r){const t=_(a).createTemporaryUploadUrl(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},getAllBulkImports(e){const r=_(a).getAllBulkImports(e);return(t=p,s=u)=>{const n={...r.options,url:s+r.url};return t.request(n)}},getBulkImportById(e,r){const t=_(a).getBulkImportById(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},getBulkImportDownloadUrl(e,r){const t=_(a).getBulkImportDownloadUrl(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},getExampleCsv(e){const r=_(a).getExampleCsv(e);return(t=p,s=u)=>{const n={...r.options,url:s+r.url};return t.request(n)}},getFailedRowsCsv(e,r){const t=_(a).getFailedRowsCsv(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},processUploadFile(e,r,t){const s=_(a).processUploadFile(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}}}},Sn=function(a,e,r){return{createBulkImport(t,s){return v(a).createBulkImport(t,s)(r,e)},createTemporaryUploadUrl(t,s){return v(a).createTemporaryUploadUrl(t,s)(r,e)},getAllBulkImports(t){return v(a).getAllBulkImports(t)(r,e)},getBulkImportById(t,s){return v(a).getBulkImportById(t,s)(r,e)},getBulkImportDownloadUrl(t,s){return v(a).getBulkImportDownloadUrl(t,s)(r,e)},getExampleCsv(t){return v(a).getExampleCsv(t)(r,e)},getFailedRowsCsv(t,s){return v(a).getFailedRowsCsv(t,s)(r,e)},processUploadFile(t,s,n){return v(a).processUploadFile(t,s,n)(r,e)}}};class Tn extends R{createBulkImport(e,r){return v(this.configuration).createBulkImport(e,r)(this.axios,this.basePath)}createTemporaryUploadUrl(e,r){return v(this.configuration).createTemporaryUploadUrl(e,r)(this.axios,this.basePath)}getAllBulkImports(e){return v(this.configuration).getAllBulkImports(e)(this.axios,this.basePath)}getBulkImportById(e,r){return v(this.configuration).getBulkImportById(e,r)(this.axios,this.basePath)}getBulkImportDownloadUrl(e,r){return v(this.configuration).getBulkImportDownloadUrl(e,r)(this.axios,this.basePath)}getExampleCsv(e){return v(this.configuration).getExampleCsv(e)(this.axios,this.basePath)}getFailedRowsCsv(e,r){return v(this.configuration).getFailedRowsCsv(e,r)(this.axios,this.basePath)}processUploadFile(e,r,t){return v(this.configuration).processUploadFile(e,r,t)(this.axios,this.basePath)}}async function Nn(a,e,r=p,t=u,s){const n=_(e).createBulkImport(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function xn(a,e,r=p,t=u,s){const n=_(e).createTemporaryUploadUrl(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function Un(a,e=p,r=u,t){const s=_(a).getAllBulkImports(t),n={...s.options,url:r+s.url};return(await e.request(n)).data}async function Dn(a,e,r=p,t=u,s){const n=_(e).getBulkImportById(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function Ln(a,e,r=p,t=u,s){const n=_(e).getBulkImportDownloadUrl(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function Bn(a,e=p,r=u,t){const s=_(a).getExampleCsv(t),n={...s.options,url:r+s.url};return(await e.request(n)).data}async function Fn(a,e,r=p,t=u,s){const n=_(e).getFailedRowsCsv(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function jn(a,e,r,t=p,s=u,n){const o=_(r).processUploadFile(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}const ee=function(a){return{confirmTenancyDetails(e,r={}){if(e==null)throw new h("verifyPostcodeRequestDTO","Required parameter verifyPostcodeRequestDTO was null or undefined when calling confirmTenancyDetails.");const t="/v2/cash-deposit/confirm-tenancy-details",s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"POST",...n,...r},i={},l={};return i["Content-Type"]="application/json",Object.entries({...l,...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},o.data=JSON.stringify(e!==void 0?e:{}),{url:s.pathname+s.search,options:o}},generateCashDepositPlaidLinkToken(e,r={}){if(e==null)throw new h("verifyPostcodeRequestDTO","Required parameter verifyPostcodeRequestDTO was null or undefined when calling generateCashDepositPlaidLinkToken.");const t="/v2/cash-deposit/plaid-link-token",s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"POST",...n,...r},i={},l={};return i["Content-Type"]="application/json",Object.entries({...l,...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},o.data=JSON.stringify(e!==void 0?e:{}),{url:s.pathname+s.search,options:o}},getPaymentDetails(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling getPaymentDetails.");const t="/v2/cash-deposit/{id}/payment-details".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},signCashDeposit(e,r={}){if(e==null)throw new h("signCashDepositRequestDTO","Required parameter signCashDepositRequestDTO was null or undefined when calling signCashDeposit.");const t="/v2/cash-deposit/sign",s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"POST",...n,...r},i={},l={};return i["Content-Type"]="application/json",Object.entries({...l,...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},o.data=JSON.stringify(e!==void 0?e:{}),{url:s.pathname+s.search,options:o}},verifyPostcode(e,r={}){if(e==null)throw new h("verifyPostcodeRequestDTO","Required parameter verifyPostcodeRequestDTO was null or undefined when calling verifyPostcode.");const t="/v2/cash-deposit/verify-postcode",s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"POST",...n,...r},i={},l={};return i["Content-Type"]="application/json",Object.entries({...l,...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},o.data=JSON.stringify(e!==void 0?e:{}),{url:s.pathname+s.search,options:o}}}},re=function(a){return{confirmTenancyDetails(e,r){const t=ee(a).confirmTenancyDetails(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},generateCashDepositPlaidLinkToken(e,r){const t=ee(a).generateCashDepositPlaidLinkToken(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},getPaymentDetails(e,r){const t=ee(a).getPaymentDetails(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},signCashDeposit(e,r){const t=ee(a).signCashDeposit(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},verifyPostcode(e,r){const t=ee(a).verifyPostcode(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}}}},Mn=function(a,e,r){return{confirmTenancyDetails(t,s){return re(a).confirmTenancyDetails(t,s)(r,e)},generateCashDepositPlaidLinkToken(t,s){return re(a).generateCashDepositPlaidLinkToken(t,s)(r,e)},getPaymentDetails(t,s){return re(a).getPaymentDetails(t,s)(r,e)},signCashDeposit(t,s){return re(a).signCashDeposit(t,s)(r,e)},verifyPostcode(t,s){return re(a).verifyPostcode(t,s)(r,e)}}};class Hn extends R{confirmTenancyDetails(e,r){return re(this.configuration).confirmTenancyDetails(e,r)(this.axios,this.basePath)}generateCashDepositPlaidLinkToken(e,r){return re(this.configuration).generateCashDepositPlaidLinkToken(e,r)(this.axios,this.basePath)}getPaymentDetails(e,r){return re(this.configuration).getPaymentDetails(e,r)(this.axios,this.basePath)}signCashDeposit(e,r){return re(this.configuration).signCashDeposit(e,r)(this.axios,this.basePath)}verifyPostcode(e,r){return re(this.configuration).verifyPostcode(e,r)(this.axios,this.basePath)}}async function Gn(a,e,r=p,t=u,s){const n=ee(e).confirmTenancyDetails(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function kn(a,e,r=p,t=u,s){const n=ee(e).generateCashDepositPlaidLinkToken(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function Qn(a,e,r=p,t=u,s){const n=ee(e).getPaymentDetails(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function Yn(a,e,r=p,t=u,s){const n=ee(e).signCashDeposit(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function zn(a,e,r=p,t=u,s){const n=ee(e).verifyPostcode(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}const Ke=function(a){return{findCheckById(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling findCheckById.");const t="/v2/checks/{id}".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},override(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling override.");const t="/v2/checks/{id}/override".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"PATCH",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}}}},Xe=function(a){return{findCheckById(e,r){const t=Ke(a).findCheckById(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},override(e,r){const t=Ke(a).override(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}}}},$n=function(a,e,r){return{findCheckById(t,s){return Xe(a).findCheckById(t,s)(r,e)},override(t,s){return Xe(a).override(t,s)(r,e)}}};class Wn extends R{findCheckById(e,r){return Xe(this.configuration).findCheckById(e,r)(this.axios,this.basePath)}override(e,r){return Xe(this.configuration).override(e,r)(this.axios,this.basePath)}}async function Jn(a,e,r=p,t=u,s){const n=Ke(e).findCheckById(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function Kn(a,e,r=p,t=u,s){const n=Ke(e).override(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}const te=function(a){return{addClaimDocument(e,r,t,s,n={}){if(e==null)throw new h("claimId","Required parameter claimId was null or undefined when calling addClaimDocument.");if(r==null)throw new h("file","Required parameter file was null or undefined when calling addClaimDocument.");if(t==null)throw new h("name","Required parameter name was null or undefined when calling addClaimDocument.");if(s==null)throw new h("type","Required parameter type was null or undefined when calling addClaimDocument.");const o="/v2/claims/{claimId}/documents".replace("{claimId}",encodeURIComponent(String(e))),i=new URL(o,"http://placeholder");let l;a&&(l=a.baseOptions);const d={method:"POST",...l,...n},c={},m={},A=new FormData;return r!==void 0&&A.append("file",r),t!==void 0&&A.append("name",t),s!==void 0&&A.append("type",s),c["Content-Type"]="multipart/form-data",Object.entries({...m,...n.query}).forEach(([I,P])=>{P!==void 0&&i.searchParams.set(I,String(P))}),d.headers={...c,...n.headers},d.data=A,{url:i.pathname+i.search,options:d}},addClaimDocumentByDocumentId(e,r,t={}){if(e==null)throw new h("claimId","Required parameter claimId was null or undefined when calling addClaimDocumentByDocumentId.");if(r==null)throw new h("createClaimDocumentByDocumentIdDTO","Required parameter createClaimDocumentByDocumentIdDTO was null or undefined when calling addClaimDocumentByDocumentId.");const s="/v2/claims/{claimId}/documents/by-document-id".replace("{claimId}",encodeURIComponent(String(e))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"POST",...o,...t},l={},d={};return l["Content-Type"]="application/json",Object.entries({...d,...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:n.pathname+n.search,options:i}},deleteClaimDocument(e,r,t={}){if(e==null)throw new h("claimId","Required parameter claimId was null or undefined when calling deleteClaimDocument.");if(r==null)throw new h("documentId","Required parameter documentId was null or undefined when calling deleteClaimDocument.");const s="/v2/claims/{claimId}/documents/{documentId}".replace("{claimId}",encodeURIComponent(String(e))).replace("{documentId}",encodeURIComponent(String(r))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"DELETE",...o,...t},l={};return Object.entries({...{},...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},{url:n.pathname+n.search,options:i}},findClaimDocumentById(e,r,t={}){if(e==null)throw new h("claimId","Required parameter claimId was null or undefined when calling findClaimDocumentById.");if(r==null)throw new h("documentId","Required parameter documentId was null or undefined when calling findClaimDocumentById.");const s="/v2/claims/{claimId}/documents/{documentId}".replace("{claimId}",encodeURIComponent(String(e))).replace("{documentId}",encodeURIComponent(String(r))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"GET",...o,...t},l={};return Object.entries({...{},...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},{url:n.pathname+n.search,options:i}},findManyClaimDocuments(e,r={}){if(e==null)throw new h("claimId","Required parameter claimId was null or undefined when calling findManyClaimDocuments.");const t="/v2/claims/{claimId}/documents".replace("{claimId}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}}}},ae=function(a){return{addClaimDocument(e,r,t,s,n){const o=te(a).addClaimDocument(e,r,t,s,n);return(i=p,l=u)=>{const d={...o.options,url:l+o.url};return i.request(d)}},addClaimDocumentByDocumentId(e,r,t){const s=te(a).addClaimDocumentByDocumentId(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},deleteClaimDocument(e,r,t){const s=te(a).deleteClaimDocument(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},findClaimDocumentById(e,r,t){const s=te(a).findClaimDocumentById(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},findManyClaimDocuments(e,r){const t=te(a).findManyClaimDocuments(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}}}},Xn=function(a,e,r){return{addClaimDocument(t,s,n,o,i){return ae(a).addClaimDocument(t,s,n,o,i)(r,e)},addClaimDocumentByDocumentId(t,s,n){return ae(a).addClaimDocumentByDocumentId(t,s,n)(r,e)},deleteClaimDocument(t,s,n){return ae(a).deleteClaimDocument(t,s,n)(r,e)},findClaimDocumentById(t,s,n){return ae(a).findClaimDocumentById(t,s,n)(r,e)},findManyClaimDocuments(t,s){return ae(a).findManyClaimDocuments(t,s)(r,e)}}};class Zn extends R{addClaimDocument(e,r,t,s,n){return ae(this.configuration).addClaimDocument(e,r,t,s,n)(this.axios,this.basePath)}addClaimDocumentByDocumentId(e,r,t){return ae(this.configuration).addClaimDocumentByDocumentId(e,r,t)(this.axios,this.basePath)}deleteClaimDocument(e,r,t){return ae(this.configuration).deleteClaimDocument(e,r,t)(this.axios,this.basePath)}findClaimDocumentById(e,r,t){return ae(this.configuration).findClaimDocumentById(e,r,t)(this.axios,this.basePath)}findManyClaimDocuments(e,r){return ae(this.configuration).findManyClaimDocuments(e,r)(this.axios,this.basePath)}}async function eo(a,e,r,t,s,n=p,o=u,i){const l=te(s).addClaimDocument(a,e,r,t,i),d={...l.options,url:o+l.url};return(await n.request(d)).data}async function ro(a,e,r,t=p,s=u,n){const o=te(r).addClaimDocumentByDocumentId(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function to(a,e,r,t=p,s=u,n){const o=te(r).deleteClaimDocument(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function ao(a,e,r,t=p,s=u,n){const o=te(r).findClaimDocumentById(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function so(a,e,r=p,t=u,s){const n=te(e).findManyClaimDocuments(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}const se=function(a){return{addClaimItemDocument(e,r,t,s,n,o,i={}){if(e==null)throw new h("claimId","Required parameter claimId was null or undefined when calling addClaimItemDocument.");if(r==null)throw new h("claimItemId","Required parameter claimItemId was null or undefined when calling addClaimItemDocument.");if(t==null)throw new h("file","Required parameter file was null or undefined when calling addClaimItemDocument.");if(s==null)throw new h("name","Required parameter name was null or undefined when calling addClaimItemDocument.");if(n==null)throw new h("type","Required parameter type was null or undefined when calling addClaimItemDocument.");if(o==null)throw new h("claimItemProposalId","Required parameter claimItemProposalId was null or undefined when calling addClaimItemDocument.");const l="/v2/claims/{claimId}/items/{claimItemId}/documents".replace("{claimId}",encodeURIComponent(String(e))).replace("{claimItemId}",encodeURIComponent(String(r))),d=new URL(l,"http://placeholder");let c;a&&(c=a.baseOptions);const m={method:"POST",...c,...i},A={},I={},P=new FormData;return t!==void 0&&P.append("file",t),s!==void 0&&P.append("name",s),n!==void 0&&P.append("type",n),o!==void 0&&P.append("claimItemProposalId",o),A["Content-Type"]="multipart/form-data",Object.entries({...I,...i.query}).forEach(([q,j])=>{j!==void 0&&d.searchParams.set(q,String(j))}),m.headers={...A,...i.headers},m.data=P,{url:d.pathname+d.search,options:m}},addClaimItemDocumentByDocumentId(e,r,t,s={}){if(e==null)throw new h("claimId","Required parameter claimId was null or undefined when calling addClaimItemDocumentByDocumentId.");if(r==null)throw new h("claimItemId","Required parameter claimItemId was null or undefined when calling addClaimItemDocumentByDocumentId.");if(t==null)throw new h("createClaimItemDocumentByDocumentIdDTO","Required parameter createClaimItemDocumentByDocumentIdDTO was null or undefined when calling addClaimItemDocumentByDocumentId.");const n="/v2/claims/{claimId}/items/{claimItemId}/documents/by-document-id".replace("{claimId}",encodeURIComponent(String(e))).replace("{claimItemId}",encodeURIComponent(String(r))),o=new URL(n,"http://placeholder");let i;a&&(i=a.baseOptions);const l={method:"POST",...i,...s},d={},c={};return d["Content-Type"]="application/json",Object.entries({...c,...s.query}).forEach(([m,A])=>{A!==void 0&&o.searchParams.set(m,String(A))}),l.headers={...d,...s.headers},l.data=JSON.stringify(t!==void 0?t:{}),{url:o.pathname+o.search,options:l}},deleteClaimItemDocument(e,r,t,s={}){if(e==null)throw new h("claimItemId","Required parameter claimItemId was null or undefined when calling deleteClaimItemDocument.");if(r==null)throw new h("claimId","Required parameter claimId was null or undefined when calling deleteClaimItemDocument.");if(t==null)throw new h("documentId","Required parameter documentId was null or undefined when calling deleteClaimItemDocument.");const n="/v2/claims/{claimId}/items/{claimItemId}/documents/{documentId}".replace("{claimItemId}",encodeURIComponent(String(e))).replace("{claimId}",encodeURIComponent(String(r))).replace("{documentId}",encodeURIComponent(String(t))),o=new URL(n,"http://placeholder");let i;a&&(i=a.baseOptions);const l={method:"DELETE",...i,...s},d={};return Object.entries({...{},...s.query}).forEach(([m,A])=>{A!==void 0&&o.searchParams.set(m,String(A))}),l.headers={...d,...s.headers},{url:o.pathname+o.search,options:l}},findClaimItemDocumentById(e,r,t,s={}){if(e==null)throw new h("claimId","Required parameter claimId was null or undefined when calling findClaimItemDocumentById.");if(r==null)throw new h("claimItemId","Required parameter claimItemId was null or undefined when calling findClaimItemDocumentById.");if(t==null)throw new h("documentId","Required parameter documentId was null or undefined when calling findClaimItemDocumentById.");const n="/v2/claims/{claimId}/items/{claimItemId}/documents/{documentId}".replace("{claimId}",encodeURIComponent(String(e))).replace("{claimItemId}",encodeURIComponent(String(r))).replace("{documentId}",encodeURIComponent(String(t))),o=new URL(n,"http://placeholder");let i;a&&(i=a.baseOptions);const l={method:"GET",...i,...s},d={};return Object.entries({...{},...s.query}).forEach(([m,A])=>{A!==void 0&&o.searchParams.set(m,String(A))}),l.headers={...d,...s.headers},{url:o.pathname+o.search,options:l}},findManyClaimItemDocuments(e,r,t={}){if(e==null)throw new h("claimItemId","Required parameter claimItemId was null or undefined when calling findManyClaimItemDocuments.");if(r==null)throw new h("claimId","Required parameter claimId was null or undefined when calling findManyClaimItemDocuments.");const s="/v2/claims/{claimId}/items/{claimItemId}/documents".replace("{claimItemId}",encodeURIComponent(String(e))).replace("{claimId}",encodeURIComponent(String(r))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"GET",...o,...t},l={};return Object.entries({...{},...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},{url:n.pathname+n.search,options:i}}}},ne=function(a){return{addClaimItemDocument(e,r,t,s,n,o,i){const l=se(a).addClaimItemDocument(e,r,t,s,n,o,i);return(d=p,c=u)=>{const m={...l.options,url:c+l.url};return d.request(m)}},addClaimItemDocumentByDocumentId(e,r,t,s){const n=se(a).addClaimItemDocumentByDocumentId(e,r,t,s);return(o=p,i=u)=>{const l={...n.options,url:i+n.url};return o.request(l)}},deleteClaimItemDocument(e,r,t,s){const n=se(a).deleteClaimItemDocument(e,r,t,s);return(o=p,i=u)=>{const l={...n.options,url:i+n.url};return o.request(l)}},findClaimItemDocumentById(e,r,t,s){const n=se(a).findClaimItemDocumentById(e,r,t,s);return(o=p,i=u)=>{const l={...n.options,url:i+n.url};return o.request(l)}},findManyClaimItemDocuments(e,r,t){const s=se(a).findManyClaimItemDocuments(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}}}},no=function(a,e,r){return{addClaimItemDocument(t,s,n,o,i,l,d){return ne(a).addClaimItemDocument(t,s,n,o,i,l,d)(r,e)},addClaimItemDocumentByDocumentId(t,s,n,o){return ne(a).addClaimItemDocumentByDocumentId(t,s,n,o)(r,e)},deleteClaimItemDocument(t,s,n,o){return ne(a).deleteClaimItemDocument(t,s,n,o)(r,e)},findClaimItemDocumentById(t,s,n,o){return ne(a).findClaimItemDocumentById(t,s,n,o)(r,e)},findManyClaimItemDocuments(t,s,n){return ne(a).findManyClaimItemDocuments(t,s,n)(r,e)}}};class oo extends R{addClaimItemDocument(e,r,t,s,n,o,i){return ne(this.configuration).addClaimItemDocument(e,r,t,s,n,o,i)(this.axios,this.basePath)}addClaimItemDocumentByDocumentId(e,r,t,s){return ne(this.configuration).addClaimItemDocumentByDocumentId(e,r,t,s)(this.axios,this.basePath)}deleteClaimItemDocument(e,r,t,s){return ne(this.configuration).deleteClaimItemDocument(e,r,t,s)(this.axios,this.basePath)}findClaimItemDocumentById(e,r,t,s){return ne(this.configuration).findClaimItemDocumentById(e,r,t,s)(this.axios,this.basePath)}findManyClaimItemDocuments(e,r,t){return ne(this.configuration).findManyClaimItemDocuments(e,r,t)(this.axios,this.basePath)}}async function io(a,e,r,t,s,n,o,i=p,l=u,d){const c=se(o).addClaimItemDocument(a,e,r,t,s,n,d),m={...c.options,url:l+c.url};return(await i.request(m)).data}async function lo(a,e,r,t,s=p,n=u,o){const i=se(t).addClaimItemDocumentByDocumentId(a,e,r,o),l={...i.options,url:n+i.url};return(await s.request(l)).data}async function co(a,e,r,t,s=p,n=u,o){const i=se(t).deleteClaimItemDocument(a,e,r,o),l={...i.options,url:n+i.url};return(await s.request(l)).data}async function uo(a,e,r,t,s=p,n=u,o){const i=se(t).findClaimItemDocumentById(a,e,r,o),l={...i.options,url:n+i.url};return(await s.request(l)).data}async function po(a,e,r,t=p,s=u,n){const o=se(r).findManyClaimItemDocuments(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}const be=function(a){return{createClaimItemProposal(e,r,t,s={}){if(e==null)throw new h("claimId","Required parameter claimId was null or undefined when calling createClaimItemProposal.");if(r==null)throw new h("claimProposalId","Required parameter claimProposalId was null or undefined when calling createClaimItemProposal.");if(t==null)throw new h("createClaimItemProposalDTO","Required parameter createClaimItemProposalDTO was null or undefined when calling createClaimItemProposal.");const n="/v2/claims/{claimId}/proposals/{claimProposalId}/item-proposals".replace("{claimId}",encodeURIComponent(String(e))).replace("{claimProposalId}",encodeURIComponent(String(r))),o=new URL(n,"http://placeholder");let i;a&&(i=a.baseOptions);const l={method:"POST",...i,...s},d={},c={};return d["Content-Type"]="application/json",Object.entries({...c,...s.query}).forEach(([m,A])=>{A!==void 0&&o.searchParams.set(m,String(A))}),l.headers={...d,...s.headers},l.data=JSON.stringify(t!==void 0?t:{}),{url:o.pathname+o.search,options:l}},deleteClaimItemProposal(e,r,t,s={}){if(e==null)throw new h("claimProposalId","Required parameter claimProposalId was null or undefined when calling deleteClaimItemProposal.");if(r==null)throw new h("itemProposalId","Required parameter itemProposalId was null or undefined when calling deleteClaimItemProposal.");if(t==null)throw new h("claimId","Required parameter claimId was null or undefined when calling deleteClaimItemProposal.");const n="/v2/claims/{claimId}/proposals/{claimProposalId}/item-proposals/{itemProposalId}".replace("{claimProposalId}",encodeURIComponent(String(e))).replace("{itemProposalId}",encodeURIComponent(String(r))).replace("{claimId}",encodeURIComponent(String(t))),o=new URL(n,"http://placeholder");let i;a&&(i=a.baseOptions);const l={method:"DELETE",...i,...s},d={};return Object.entries({...{},...s.query}).forEach(([m,A])=>{A!==void 0&&o.searchParams.set(m,String(A))}),l.headers={...d,...s.headers},{url:o.pathname+o.search,options:l}},updateClaimItemProposal(e,r,t,s,n={}){if(e==null)throw new h("claimId","Required parameter claimId was null or undefined when calling updateClaimItemProposal.");if(r==null)throw new h("claimProposalId","Required parameter claimProposalId was null or undefined when calling updateClaimItemProposal.");if(t==null)throw new h("itemProposalId","Required parameter itemProposalId was null or undefined when calling updateClaimItemProposal.");if(s==null)throw new h("replaceClaimItemProposalDTO","Required parameter replaceClaimItemProposalDTO was null or undefined when calling updateClaimItemProposal.");const o="/v2/claims/{claimId}/proposals/{claimProposalId}/item-proposals/{itemProposalId}".replace("{claimId}",encodeURIComponent(String(e))).replace("{claimProposalId}",encodeURIComponent(String(r))).replace("{itemProposalId}",encodeURIComponent(String(t))),i=new URL(o,"http://placeholder");let l;a&&(l=a.baseOptions);const d={method:"PUT",...l,...n},c={},m={};return c["Content-Type"]="application/json",Object.entries({...m,...n.query}).forEach(([A,I])=>{I!==void 0&&i.searchParams.set(A,String(I))}),d.headers={...c,...n.headers},d.data=JSON.stringify(s!==void 0?s:{}),{url:i.pathname+i.search,options:d}}}},Se=function(a){return{createClaimItemProposal(e,r,t,s){const n=be(a).createClaimItemProposal(e,r,t,s);return(o=p,i=u)=>{const l={...n.options,url:i+n.url};return o.request(l)}},deleteClaimItemProposal(e,r,t,s){const n=be(a).deleteClaimItemProposal(e,r,t,s);return(o=p,i=u)=>{const l={...n.options,url:i+n.url};return o.request(l)}},updateClaimItemProposal(e,r,t,s,n){const o=be(a).updateClaimItemProposal(e,r,t,s,n);return(i=p,l=u)=>{const d={...o.options,url:l+o.url};return i.request(d)}}}},ho=function(a,e,r){return{createClaimItemProposal(t,s,n,o){return Se(a).createClaimItemProposal(t,s,n,o)(r,e)},deleteClaimItemProposal(t,s,n,o){return Se(a).deleteClaimItemProposal(t,s,n,o)(r,e)},updateClaimItemProposal(t,s,n,o,i){return Se(a).updateClaimItemProposal(t,s,n,o,i)(r,e)}}};class mo extends R{createClaimItemProposal(e,r,t,s){return Se(this.configuration).createClaimItemProposal(e,r,t,s)(this.axios,this.basePath)}deleteClaimItemProposal(e,r,t,s){return Se(this.configuration).deleteClaimItemProposal(e,r,t,s)(this.axios,this.basePath)}updateClaimItemProposal(e,r,t,s,n){return Se(this.configuration).updateClaimItemProposal(e,r,t,s,n)(this.axios,this.basePath)}}async function Ao(a,e,r,t,s=p,n=u,o){const i=be(t).createClaimItemProposal(a,e,r,o),l={...i.options,url:n+i.url};return(await s.request(l)).data}async function Ro(a,e,r,t,s=p,n=u,o){const i=be(t).deleteClaimItemProposal(a,e,r,o),l={...i.options,url:n+i.url};return(await s.request(l)).data}async function Io(a,e,r,t,s,n=p,o=u,i){const l=be(s).updateClaimItemProposal(a,e,r,t,i),d={...l.options,url:o+l.url};return(await n.request(d)).data}const oe=function(a){return{applyInternalClaimItemUpdate(e,r,t,s={}){if(e==null)throw new h("claimId","Required parameter claimId was null or undefined when calling applyInternalClaimItemUpdate.");if(r==null)throw new h("claimItemId","Required parameter claimItemId was null or undefined when calling applyInternalClaimItemUpdate.");if(t==null)throw new h("internalUpdateClaimItemDTO","Required parameter internalUpdateClaimItemDTO was null or undefined when calling applyInternalClaimItemUpdate.");const n="/v2/claims/{claimId}/items/{claimItemId}/internal-update".replace("{claimId}",encodeURIComponent(String(e))).replace("{claimItemId}",encodeURIComponent(String(r))),o=new URL(n,"http://placeholder");let i;a&&(i=a.baseOptions);const l={method:"POST",...i,...s},d={},c={};return d["Content-Type"]="application/json",Object.entries({...c,...s.query}).forEach(([m,A])=>{A!==void 0&&o.searchParams.set(m,String(A))}),l.headers={...d,...s.headers},l.data=JSON.stringify(t!==void 0?t:{}),{url:o.pathname+o.search,options:l}},createClaimItem(e,r,t={}){if(e==null)throw new h("claimId","Required parameter claimId was null or undefined when calling createClaimItem.");if(r==null)throw new h("createClaimItemDTO","Required parameter createClaimItemDTO was null or undefined when calling createClaimItem.");const s="/v2/claims/{claimId}/items".replace("{claimId}",encodeURIComponent(String(e))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"POST",...o,...t},l={},d={};return l["Content-Type"]="application/json",Object.entries({...d,...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:n.pathname+n.search,options:i}},deleteClaimItem(e,r,t={}){if(e==null)throw new h("claimId","Required parameter claimId was null or undefined when calling deleteClaimItem.");if(r==null)throw new h("claimItemId","Required parameter claimItemId was null or undefined when calling deleteClaimItem.");const s="/v2/claims/{claimId}/items/{claimItemId}".replace("{claimId}",encodeURIComponent(String(e))).replace("{claimItemId}",encodeURIComponent(String(r))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"DELETE",...o,...t},l={};return Object.entries({...{},...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},{url:n.pathname+n.search,options:i}},dryRunInternalClaimItemUpdate(e,r,t,s={}){if(e==null)throw new h("claimId","Required parameter claimId was null or undefined when calling dryRunInternalClaimItemUpdate.");if(r==null)throw new h("claimItemId","Required parameter claimItemId was null or undefined when calling dryRunInternalClaimItemUpdate.");if(t==null)throw new h("internalUpdateClaimItemDTO","Required parameter internalUpdateClaimItemDTO was null or undefined when calling dryRunInternalClaimItemUpdate.");const n="/v2/claims/{claimId}/items/{claimItemId}/internal-update/dry-run".replace("{claimId}",encodeURIComponent(String(e))).replace("{claimItemId}",encodeURIComponent(String(r))),o=new URL(n,"http://placeholder");let i;a&&(i=a.baseOptions);const l={method:"POST",...i,...s},d={},c={};return d["Content-Type"]="application/json",Object.entries({...c,...s.query}).forEach(([m,A])=>{A!==void 0&&o.searchParams.set(m,String(A))}),l.headers={...d,...s.headers},l.data=JSON.stringify(t!==void 0?t:{}),{url:o.pathname+o.search,options:l}},updateClaimItem(e,r,t,s={}){if(e==null)throw new h("claimId","Required parameter claimId was null or undefined when calling updateClaimItem.");if(r==null)throw new h("claimItemId","Required parameter claimItemId was null or undefined when calling updateClaimItem.");if(t==null)throw new h("updateClaimItemDTO","Required parameter updateClaimItemDTO was null or undefined when calling updateClaimItem.");const n="/v2/claims/{claimId}/items/{claimItemId}".replace("{claimId}",encodeURIComponent(String(e))).replace("{claimItemId}",encodeURIComponent(String(r))),o=new URL(n,"http://placeholder");let i;a&&(i=a.baseOptions);const l={method:"PATCH",...i,...s},d={},c={};return d["Content-Type"]="application/json",Object.entries({...c,...s.query}).forEach(([m,A])=>{A!==void 0&&o.searchParams.set(m,String(A))}),l.headers={...d,...s.headers},l.data=JSON.stringify(t!==void 0?t:{}),{url:o.pathname+o.search,options:l}}}},ie=function(a){return{applyInternalClaimItemUpdate(e,r,t,s){const n=oe(a).applyInternalClaimItemUpdate(e,r,t,s);return(o=p,i=u)=>{const l={...n.options,url:i+n.url};return o.request(l)}},createClaimItem(e,r,t){const s=oe(a).createClaimItem(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},deleteClaimItem(e,r,t){const s=oe(a).deleteClaimItem(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},dryRunInternalClaimItemUpdate(e,r,t,s){const n=oe(a).dryRunInternalClaimItemUpdate(e,r,t,s);return(o=p,i=u)=>{const l={...n.options,url:i+n.url};return o.request(l)}},updateClaimItem(e,r,t,s){const n=oe(a).updateClaimItem(e,r,t,s);return(o=p,i=u)=>{const l={...n.options,url:i+n.url};return o.request(l)}}}},Po=function(a,e,r){return{applyInternalClaimItemUpdate(t,s,n,o){return ie(a).applyInternalClaimItemUpdate(t,s,n,o)(r,e)},createClaimItem(t,s,n){return ie(a).createClaimItem(t,s,n)(r,e)},deleteClaimItem(t,s,n){return ie(a).deleteClaimItem(t,s,n)(r,e)},dryRunInternalClaimItemUpdate(t,s,n,o){return ie(a).dryRunInternalClaimItemUpdate(t,s,n,o)(r,e)},updateClaimItem(t,s,n,o){return ie(a).updateClaimItem(t,s,n,o)(r,e)}}};class go extends R{applyInternalClaimItemUpdate(e,r,t,s){return ie(this.configuration).applyInternalClaimItemUpdate(e,r,t,s)(this.axios,this.basePath)}createClaimItem(e,r,t){return ie(this.configuration).createClaimItem(e,r,t)(this.axios,this.basePath)}deleteClaimItem(e,r,t){return ie(this.configuration).deleteClaimItem(e,r,t)(this.axios,this.basePath)}dryRunInternalClaimItemUpdate(e,r,t,s){return ie(this.configuration).dryRunInternalClaimItemUpdate(e,r,t,s)(this.axios,this.basePath)}updateClaimItem(e,r,t,s){return ie(this.configuration).updateClaimItem(e,r,t,s)(this.axios,this.basePath)}}async function wo(a,e,r,t,s=p,n=u,o){const i=oe(t).applyInternalClaimItemUpdate(a,e,r,o),l={...i.options,url:n+i.url};return(await s.request(l)).data}async function Oo(a,e,r,t=p,s=u,n){const o=oe(r).createClaimItem(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function fo(a,e,r,t=p,s=u,n){const o=oe(r).deleteClaimItem(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function yo(a,e,r,t,s=p,n=u,o){const i=oe(t).dryRunInternalClaimItemUpdate(a,e,r,o),l={...i.options,url:n+i.url};return(await s.request(l)).data}async function Eo(a,e,r,t,s=p,n=u,o){const i=oe(t).updateClaimItem(a,e,r,o),l={...i.options,url:n+i.url};return(await s.request(l)).data}const le=function(a){return{agreeClaimProposal(e,r,t={}){if(e==null)throw new h("claimId","Required parameter claimId was null or undefined when calling agreeClaimProposal.");if(r==null)throw new h("claimProposalId","Required parameter claimProposalId was null or undefined when calling agreeClaimProposal.");const s="/v2/claims/{claimId}/proposals/{claimProposalId}/agree".replace("{claimId}",encodeURIComponent(String(e))).replace("{claimProposalId}",encodeURIComponent(String(r))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"POST",...o,...t},l={};return Object.entries({...{},...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},{url:n.pathname+n.search,options:i}},counterClaimProposal(e,r,t={}){if(e==null)throw new h("claimId","Required parameter claimId was null or undefined when calling counterClaimProposal.");if(r==null)throw new h("claimProposalId","Required parameter claimProposalId was null or undefined when calling counterClaimProposal.");const s="/v2/claims/{claimId}/proposals/{claimProposalId}/counter".replace("{claimId}",encodeURIComponent(String(e))).replace("{claimProposalId}",encodeURIComponent(String(r))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"POST",...o,...t},l={};return Object.entries({...{},...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},{url:n.pathname+n.search,options:i}},disputeClaimProposal(e,r,t={}){if(e==null)throw new h("claimId","Required parameter claimId was null or undefined when calling disputeClaimProposal.");if(r==null)throw new h("claimProposalId","Required parameter claimProposalId was null or undefined when calling disputeClaimProposal.");const s="/v2/claims/{claimId}/proposals/{claimProposalId}/dispute".replace("{claimId}",encodeURIComponent(String(e))).replace("{claimProposalId}",encodeURIComponent(String(r))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"POST",...o,...t},l={};return Object.entries({...{},...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},{url:n.pathname+n.search,options:i}},publishClaimProposal(e,r,t={}){if(e==null)throw new h("claimId","Required parameter claimId was null or undefined when calling publishClaimProposal.");if(r==null)throw new h("claimProposalId","Required parameter claimProposalId was null or undefined when calling publishClaimProposal.");const s="/v2/claims/{claimId}/proposals/{claimProposalId}/publish".replace("{claimId}",encodeURIComponent(String(e))).replace("{claimProposalId}",encodeURIComponent(String(r))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"POST",...o,...t},l={};return Object.entries({...{},...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},{url:n.pathname+n.search,options:i}},unpublishClaimProposal(e,r,t={}){if(e==null)throw new h("claimId","Required parameter claimId was null or undefined when calling unpublishClaimProposal.");if(r==null)throw new h("claimProposalId","Required parameter claimProposalId was null or undefined when calling unpublishClaimProposal.");const s="/v2/claims/{claimId}/proposals/{claimProposalId}/unpublish".replace("{claimId}",encodeURIComponent(String(e))).replace("{claimProposalId}",encodeURIComponent(String(r))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"POST",...o,...t},l={};return Object.entries({...{},...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},{url:n.pathname+n.search,options:i}}}},ce=function(a){return{agreeClaimProposal(e,r,t){const s=le(a).agreeClaimProposal(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},counterClaimProposal(e,r,t){const s=le(a).counterClaimProposal(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},disputeClaimProposal(e,r,t){const s=le(a).disputeClaimProposal(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},publishClaimProposal(e,r,t){const s=le(a).publishClaimProposal(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},unpublishClaimProposal(e,r,t){const s=le(a).unpublishClaimProposal(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}}}},Co=function(a,e,r){return{agreeClaimProposal(t,s,n){return ce(a).agreeClaimProposal(t,s,n)(r,e)},counterClaimProposal(t,s,n){return ce(a).counterClaimProposal(t,s,n)(r,e)},disputeClaimProposal(t,s,n){return ce(a).disputeClaimProposal(t,s,n)(r,e)},publishClaimProposal(t,s,n){return ce(a).publishClaimProposal(t,s,n)(r,e)},unpublishClaimProposal(t,s,n){return ce(a).unpublishClaimProposal(t,s,n)(r,e)}}};class Vo extends R{agreeClaimProposal(e,r,t){return ce(this.configuration).agreeClaimProposal(e,r,t)(this.axios,this.basePath)}counterClaimProposal(e,r,t){return ce(this.configuration).counterClaimProposal(e,r,t)(this.axios,this.basePath)}disputeClaimProposal(e,r,t){return ce(this.configuration).disputeClaimProposal(e,r,t)(this.axios,this.basePath)}publishClaimProposal(e,r,t){return ce(this.configuration).publishClaimProposal(e,r,t)(this.axios,this.basePath)}unpublishClaimProposal(e,r,t){return ce(this.configuration).unpublishClaimProposal(e,r,t)(this.axios,this.basePath)}}async function qo(a,e,r,t=p,s=u,n){const o=le(r).agreeClaimProposal(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function _o(a,e,r,t=p,s=u,n){const o=le(r).counterClaimProposal(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function vo(a,e,r,t=p,s=u,n){const o=le(r).disputeClaimProposal(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function bo(a,e,r,t=p,s=u,n){const o=le(r).publishClaimProposal(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function So(a,e,r,t=p,s=u,n){const o=le(r).unpublishClaimProposal(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}const Pe=function(a){return{addClaimResponseDocument(e,r,t,s,n={}){if(e==null)throw new h("claimId","Required parameter claimId was null or undefined when calling addClaimResponseDocument.");if(r==null)throw new h("file","Required parameter file was null or undefined when calling addClaimResponseDocument.");if(t==null)throw new h("name","Required parameter name was null or undefined when calling addClaimResponseDocument.");if(s==null)throw new h("type","Required parameter type was null or undefined when calling addClaimResponseDocument.");const o="/v2/claims/{claimId}/claim-response-documents".replace("{claimId}",encodeURIComponent(String(e))),i=new URL(o,"http://placeholder");let l;a&&(l=a.baseOptions);const d={method:"POST",...l,...n},c={},m={},A=new FormData;return r!==void 0&&A.append("file",r),t!==void 0&&A.append("name",t),s!==void 0&&A.append("type",s),c["Content-Type"]="multipart/form-data",Object.entries({...m,...n.query}).forEach(([I,P])=>{P!==void 0&&i.searchParams.set(I,String(P))}),d.headers={...c,...n.headers},d.data=A,{url:i.pathname+i.search,options:d}},deleteClaimResponseDocument(e,r,t={}){if(e==null)throw new h("claimId","Required parameter claimId was null or undefined when calling deleteClaimResponseDocument.");if(r==null)throw new h("documentId","Required parameter documentId was null or undefined when calling deleteClaimResponseDocument.");const s="/v2/claims/{claimId}/claim-response-documents/{documentId}".replace("{claimId}",encodeURIComponent(String(e))).replace("{documentId}",encodeURIComponent(String(r))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"DELETE",...o,...t},l={};return Object.entries({...{},...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},{url:n.pathname+n.search,options:i}},findClaimResponseDocumentById(e,r,t={}){if(e==null)throw new h("claimId","Required parameter claimId was null or undefined when calling findClaimResponseDocumentById.");if(r==null)throw new h("documentId","Required parameter documentId was null or undefined when calling findClaimResponseDocumentById.");const s="/v2/claims/{claimId}/claim-response-documents/{documentId}".replace("{claimId}",encodeURIComponent(String(e))).replace("{documentId}",encodeURIComponent(String(r))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"GET",...o,...t},l={};return Object.entries({...{},...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},{url:n.pathname+n.search,options:i}},findManyClaimResponseDocuments(e,r={}){if(e==null)throw new h("claimId","Required parameter claimId was null or undefined when calling findManyClaimResponseDocuments.");const t="/v2/claims/{claimId}/claim-response-documents".replace("{claimId}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}}}},ge=function(a){return{addClaimResponseDocument(e,r,t,s,n){const o=Pe(a).addClaimResponseDocument(e,r,t,s,n);return(i=p,l=u)=>{const d={...o.options,url:l+o.url};return i.request(d)}},deleteClaimResponseDocument(e,r,t){const s=Pe(a).deleteClaimResponseDocument(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},findClaimResponseDocumentById(e,r,t){const s=Pe(a).findClaimResponseDocumentById(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},findManyClaimResponseDocuments(e,r){const t=Pe(a).findManyClaimResponseDocuments(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}}}},To=function(a,e,r){return{addClaimResponseDocument(t,s,n,o,i){return ge(a).addClaimResponseDocument(t,s,n,o,i)(r,e)},deleteClaimResponseDocument(t,s,n){return ge(a).deleteClaimResponseDocument(t,s,n)(r,e)},findClaimResponseDocumentById(t,s,n){return ge(a).findClaimResponseDocumentById(t,s,n)(r,e)},findManyClaimResponseDocuments(t,s){return ge(a).findManyClaimResponseDocuments(t,s)(r,e)}}};class No extends R{addClaimResponseDocument(e,r,t,s,n){return ge(this.configuration).addClaimResponseDocument(e,r,t,s,n)(this.axios,this.basePath)}deleteClaimResponseDocument(e,r,t){return ge(this.configuration).deleteClaimResponseDocument(e,r,t)(this.axios,this.basePath)}findClaimResponseDocumentById(e,r,t){return ge(this.configuration).findClaimResponseDocumentById(e,r,t)(this.axios,this.basePath)}findManyClaimResponseDocuments(e,r){return ge(this.configuration).findManyClaimResponseDocuments(e,r)(this.axios,this.basePath)}}async function xo(a,e,r,t,s,n=p,o=u,i){const l=Pe(s).addClaimResponseDocument(a,e,r,t,i),d={...l.options,url:o+l.url};return(await n.request(d)).data}async function Uo(a,e,r,t=p,s=u,n){const o=Pe(r).deleteClaimResponseDocument(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function Do(a,e,r,t=p,s=u,n){const o=Pe(r).findClaimResponseDocumentById(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function Lo(a,e,r=p,t=u,s){const n=Pe(e).findManyClaimResponseDocuments(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}const O=function(a){return{acknowledgeCaseSentToInsurer(e,r={}){if(e==null)throw new h("claimId","Required parameter claimId was null or undefined when calling acknowledgeCaseSentToInsurer.");const t="/v2/claims/{claimId}/acknowledge-case-sent-to-insurer".replace("{claimId}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"PATCH",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},approveClaim(e,r={}){if(e==null)throw new h("claimId","Required parameter claimId was null or undefined when calling approveClaim.");const t="/v2/claims/{claimId}/approve".replace("{claimId}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"POST",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},createClaim(e,r={}){if(e==null)throw new h("createClaimDTO","Required parameter createClaimDTO was null or undefined when calling createClaim.");const t="/v2/claims",s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"POST",...n,...r},i={},l={};return i["Content-Type"]="application/json",Object.entries({...l,...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},o.data=JSON.stringify(e!==void 0?e:{}),{url:s.pathname+s.search,options:o}},createClaimActivity(e,r,t={}){if(e==null)throw new h("claimId","Required parameter claimId was null or undefined when calling createClaimActivity.");if(r==null)throw new h("createClaimActivityDTO","Required parameter createClaimActivityDTO was null or undefined when calling createClaimActivity.");const s="/v2/claims/{claimId}/activity".replace("{claimId}",encodeURIComponent(String(e))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"POST",...o,...t},l={},d={};return l["Content-Type"]="application/json",Object.entries({...d,...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:n.pathname+n.search,options:i}},createInsuranceClaimOnClaim(e,r={}){if(e==null)throw new h("claimId","Required parameter claimId was null or undefined when calling createInsuranceClaimOnClaim.");const t="/v2/claims/{claimId}/insurance-claim".replace("{claimId}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"POST",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},deactivateClaim(e,r,t={}){if(e==null)throw new h("claimId","Required parameter claimId was null or undefined when calling deactivateClaim.");if(r==null)throw new h("deactivateClaimDTO","Required parameter deactivateClaimDTO was null or undefined when calling deactivateClaim.");const s="/v2/claims/{claimId}/deactivate".replace("{claimId}",encodeURIComponent(String(e))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"POST",...o,...t},l={},d={};return l["Content-Type"]="application/json",Object.entries({...d,...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:n.pathname+n.search,options:i}},declineClaim(e,r={}){if(e==null)throw new h("claimId","Required parameter claimId was null or undefined when calling declineClaim.");const t="/v2/claims/{claimId}/decline".replace("{claimId}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"POST",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},findClaimById(e,r={}){if(e==null)throw new h("claimId","Required parameter claimId was null or undefined when calling findClaimById.");const t="/v2/claims/{claimId}".replace("{claimId}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},generateADRForm(e,r={}){if(e==null)throw new h("claimId","Required parameter claimId was null or undefined when calling generateADRForm.");const t="/v2/claims/{claimId}/adr-form".replace("{claimId}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"POST",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},optimisedSearchClaim(e,r,t,s,n,o,i,l={}){if(e==null)throw new h("organizationId","Required parameter organizationId was null or undefined when calling optimisedSearchClaim.");if(r==null)throw new h("page","Required parameter page was null or undefined when calling optimisedSearchClaim.");if(t==null)throw new h("size","Required parameter size was null or undefined when calling optimisedSearchClaim.");const d="/v2/claims/optimised-search",c=new URL(d,"http://placeholder");let m;a&&(m=a.baseOptions);const A={method:"GET",...m,...l},I={},P={};return s!==void 0&&(P.query=s),e!==void 0&&(P.organizationId=e),n!==void 0&&(P.claimStatus=n),o!==void 0&&(P.sortBy=o),r!==void 0&&(P.page=r),t!==void 0&&(P.size=t),i!==void 0&&(P.includeDeleted=i),Object.entries({...P,...l.query}).forEach(([q,j])=>{j!==void 0&&c.searchParams.set(q,String(j))}),A.headers={...I,...l.headers},{url:c.pathname+c.search,options:A}},paySupplier(e,r,t={}){if(e==null)throw new h("claimId","Required parameter claimId was null or undefined when calling paySupplier.");if(r==null)throw new h("payClaimDTO","Required parameter payClaimDTO was null or undefined when calling paySupplier.");const s="/v2/claims/{claimId}/pay-supplier".replace("{claimId}",encodeURIComponent(String(e))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"POST",...o,...t},l={},d={};return l["Content-Type"]="application/json",Object.entries({...d,...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:n.pathname+n.search,options:i}},publishClaim(e,r={}){if(e==null)throw new h("claimId","Required parameter claimId was null or undefined when calling publishClaim.");const t="/v2/claims/{claimId}/publish".replace("{claimId}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"POST",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},readyForArbitrateClaim(e,r={}){if(e==null)throw new h("claimId","Required parameter claimId was null or undefined when calling readyForArbitrateClaim.");const t="/v2/claims/{claimId}/arbitration-ready".replace("{claimId}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"POST",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},reopenClaim(e,r,t={}){if(e==null)throw new h("claimId","Required parameter claimId was null or undefined when calling reopenClaim.");if(r==null)throw new h("reopenClaimDTO","Required parameter reopenClaimDTO was null or undefined when calling reopenClaim.");const s="/v2/claims/{claimId}/reopen".replace("{claimId}",encodeURIComponent(String(e))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"POST",...o,...t},l={},d={};return l["Content-Type"]="application/json",Object.entries({...d,...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:n.pathname+n.search,options:i}},requestMoreInfoClaim(e,r,t={}){if(e==null)throw new h("claimId","Required parameter claimId was null or undefined when calling requestMoreInfoClaim.");if(r==null)throw new h("requestInfoClaimDTO","Required parameter requestInfoClaimDTO was null or undefined when calling requestMoreInfoClaim.");const s="/v2/claims/{claimId}/request-more-info".replace("{claimId}",encodeURIComponent(String(e))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"POST",...o,...t},l={},d={};return l["Content-Type"]="application/json",Object.entries({...d,...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:n.pathname+n.search,options:i}},resolveClaim(e,r,t={}){if(e==null)throw new h("claimId","Required parameter claimId was null or undefined when calling resolveClaim.");if(r==null)throw new h("resolveClaimDTO","Required parameter resolveClaimDTO was null or undefined when calling resolveClaim.");const s="/v2/claims/{claimId}/resolve".replace("{claimId}",encodeURIComponent(String(e))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"POST",...o,...t},l={},d={};return l["Content-Type"]="application/json",Object.entries({...d,...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:n.pathname+n.search,options:i}},skipEvidenceChaser(e,r={}){if(e==null)throw new h("claimId","Required parameter claimId was null or undefined when calling skipEvidenceChaser.");const t="/v2/claims/{claimId}/skip-evidence-chaser".replace("{claimId}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"POST",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},submitMoreInfoClaim(e,r,t={}){if(e==null)throw new h("claimId","Required parameter claimId was null or undefined when calling submitMoreInfoClaim.");if(r==null)throw new h("submitMoreInfoClaimDTO","Required parameter submitMoreInfoClaimDTO was null or undefined when calling submitMoreInfoClaim.");const s="/v2/claims/{claimId}/submit-more-info".replace("{claimId}",encodeURIComponent(String(e))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"POST",...o,...t},l={},d={};return l["Content-Type"]="application/json",Object.entries({...d,...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:n.pathname+n.search,options:i}},updateAutoCharge(e,r,t={}){if(e==null)throw new h("claimId","Required parameter claimId was null or undefined when calling updateAutoCharge.");if(r==null)throw new h("updateAutoChargeClaimDTO","Required parameter updateAutoChargeClaimDTO was null or undefined when calling updateAutoCharge.");const s="/v2/claims/{claimId}/update-auto-charge".replace("{claimId}",encodeURIComponent(String(e))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"POST",...o,...t},l={},d={};return l["Content-Type"]="application/json",Object.entries({...d,...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:n.pathname+n.search,options:i}},updateClaim(e,r,t={}){if(e==null)throw new h("claimId","Required parameter claimId was null or undefined when calling updateClaim.");if(r==null)throw new h("updateClaimDTO","Required parameter updateClaimDTO was null or undefined when calling updateClaim.");const s="/v2/claims/{claimId}".replace("{claimId}",encodeURIComponent(String(e))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"PATCH",...o,...t},l={},d={};return l["Content-Type"]="application/json",Object.entries({...d,...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:n.pathname+n.search,options:i}},updateTenantDisputeMessage(e,r,t={}){if(e==null)throw new h("claimId","Required parameter claimId was null or undefined when calling updateTenantDisputeMessage.");if(r==null)throw new h("updateTenantDisputeMessageDTO","Required parameter updateTenantDisputeMessageDTO was null or undefined when calling updateTenantDisputeMessage.");const s="/v2/claims/{claimId}/tenant-dispute-message".replace("{claimId}",encodeURIComponent(String(e))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"PATCH",...o,...t},l={},d={};return l["Content-Type"]="application/json",Object.entries({...d,...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:n.pathname+n.search,options:i}},verifyClaim(e,r={}){if(e==null)throw new h("claimId","Required parameter claimId was null or undefined when calling verifyClaim.");const t="/v2/claims/{claimId}/substantiate".replace("{claimId}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"POST",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},waiveDisputeFee(e,r={}){if(e==null)throw new h("claimId","Required parameter claimId was null or undefined when calling waiveDisputeFee.");const t="/v2/claims/{claimId}/waive-dispute-fee".replace("{claimId}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"PATCH",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},zipDocuments(e,r,t={}){if(e==null)throw new h("type","Required parameter type was null or undefined when calling zipDocuments.");if(r==null)throw new h("claimId","Required parameter claimId was null or undefined when calling zipDocuments.");const s="/v2/claims/{claimId}/zip-documents".replace("{claimId}",encodeURIComponent(String(r))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"GET",...o,...t},l={},d={};return e!==void 0&&(d.type=e),Object.entries({...d,...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},{url:n.pathname+n.search,options:i}}}},f=function(a){return{acknowledgeCaseSentToInsurer(e,r){const t=O(a).acknowledgeCaseSentToInsurer(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},approveClaim(e,r){const t=O(a).approveClaim(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},createClaim(e,r){const t=O(a).createClaim(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},createClaimActivity(e,r,t){const s=O(a).createClaimActivity(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},createInsuranceClaimOnClaim(e,r){const t=O(a).createInsuranceClaimOnClaim(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},deactivateClaim(e,r,t){const s=O(a).deactivateClaim(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},declineClaim(e,r){const t=O(a).declineClaim(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},findClaimById(e,r){const t=O(a).findClaimById(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},generateADRForm(e,r){const t=O(a).generateADRForm(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},optimisedSearchClaim(e,r,t,s,n,o,i,l){const d=O(a).optimisedSearchClaim(e,r,t,s,n,o,i,l);return(c=p,m=u)=>{const A={...d.options,url:m+d.url};return c.request(A)}},paySupplier(e,r,t){const s=O(a).paySupplier(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},publishClaim(e,r){const t=O(a).publishClaim(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},readyForArbitrateClaim(e,r){const t=O(a).readyForArbitrateClaim(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},reopenClaim(e,r,t){const s=O(a).reopenClaim(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},requestMoreInfoClaim(e,r,t){const s=O(a).requestMoreInfoClaim(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},resolveClaim(e,r,t){const s=O(a).resolveClaim(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},skipEvidenceChaser(e,r){const t=O(a).skipEvidenceChaser(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},submitMoreInfoClaim(e,r,t){const s=O(a).submitMoreInfoClaim(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},updateAutoCharge(e,r,t){const s=O(a).updateAutoCharge(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},updateClaim(e,r,t){const s=O(a).updateClaim(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},updateTenantDisputeMessage(e,r,t){const s=O(a).updateTenantDisputeMessage(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},verifyClaim(e,r){const t=O(a).verifyClaim(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},waiveDisputeFee(e,r){const t=O(a).waiveDisputeFee(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},zipDocuments(e,r,t){const s=O(a).zipDocuments(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}}}},Bo=function(a,e,r){return{acknowledgeCaseSentToInsurer(t,s){return f(a).acknowledgeCaseSentToInsurer(t,s)(r,e)},approveClaim(t,s){return f(a).approveClaim(t,s)(r,e)},createClaim(t,s){return f(a).createClaim(t,s)(r,e)},createClaimActivity(t,s,n){return f(a).createClaimActivity(t,s,n)(r,e)},createInsuranceClaimOnClaim(t,s){return f(a).createInsuranceClaimOnClaim(t,s)(r,e)},deactivateClaim(t,s,n){return f(a).deactivateClaim(t,s,n)(r,e)},declineClaim(t,s){return f(a).declineClaim(t,s)(r,e)},findClaimById(t,s){return f(a).findClaimById(t,s)(r,e)},generateADRForm(t,s){return f(a).generateADRForm(t,s)(r,e)},optimisedSearchClaim(t,s,n,o,i,l,d,c){return f(a).optimisedSearchClaim(t,s,n,o,i,l,d,c)(r,e)},paySupplier(t,s,n){return f(a).paySupplier(t,s,n)(r,e)},publishClaim(t,s){return f(a).publishClaim(t,s)(r,e)},readyForArbitrateClaim(t,s){return f(a).readyForArbitrateClaim(t,s)(r,e)},reopenClaim(t,s,n){return f(a).reopenClaim(t,s,n)(r,e)},requestMoreInfoClaim(t,s,n){return f(a).requestMoreInfoClaim(t,s,n)(r,e)},resolveClaim(t,s,n){return f(a).resolveClaim(t,s,n)(r,e)},skipEvidenceChaser(t,s){return f(a).skipEvidenceChaser(t,s)(r,e)},submitMoreInfoClaim(t,s,n){return f(a).submitMoreInfoClaim(t,s,n)(r,e)},updateAutoCharge(t,s,n){return f(a).updateAutoCharge(t,s,n)(r,e)},updateClaim(t,s,n){return f(a).updateClaim(t,s,n)(r,e)},updateTenantDisputeMessage(t,s,n){return f(a).updateTenantDisputeMessage(t,s,n)(r,e)},verifyClaim(t,s){return f(a).verifyClaim(t,s)(r,e)},waiveDisputeFee(t,s){return f(a).waiveDisputeFee(t,s)(r,e)},zipDocuments(t,s,n){return f(a).zipDocuments(t,s,n)(r,e)}}};class Fo extends R{acknowledgeCaseSentToInsurer(e,r){return f(this.configuration).acknowledgeCaseSentToInsurer(e,r)(this.axios,this.basePath)}approveClaim(e,r){return f(this.configuration).approveClaim(e,r)(this.axios,this.basePath)}createClaim(e,r){return f(this.configuration).createClaim(e,r)(this.axios,this.basePath)}createClaimActivity(e,r,t){return f(this.configuration).createClaimActivity(e,r,t)(this.axios,this.basePath)}createInsuranceClaimOnClaim(e,r){return f(this.configuration).createInsuranceClaimOnClaim(e,r)(this.axios,this.basePath)}deactivateClaim(e,r,t){return f(this.configuration).deactivateClaim(e,r,t)(this.axios,this.basePath)}declineClaim(e,r){return f(this.configuration).declineClaim(e,r)(this.axios,this.basePath)}findClaimById(e,r){return f(this.configuration).findClaimById(e,r)(this.axios,this.basePath)}generateADRForm(e,r){return f(this.configuration).generateADRForm(e,r)(this.axios,this.basePath)}optimisedSearchClaim(e,r,t,s,n,o,i,l){return f(this.configuration).optimisedSearchClaim(e,r,t,s,n,o,i,l)(this.axios,this.basePath)}paySupplier(e,r,t){return f(this.configuration).paySupplier(e,r,t)(this.axios,this.basePath)}publishClaim(e,r){return f(this.configuration).publishClaim(e,r)(this.axios,this.basePath)}readyForArbitrateClaim(e,r){return f(this.configuration).readyForArbitrateClaim(e,r)(this.axios,this.basePath)}reopenClaim(e,r,t){return f(this.configuration).reopenClaim(e,r,t)(this.axios,this.basePath)}requestMoreInfoClaim(e,r,t){return f(this.configuration).requestMoreInfoClaim(e,r,t)(this.axios,this.basePath)}resolveClaim(e,r,t){return f(this.configuration).resolveClaim(e,r,t)(this.axios,this.basePath)}skipEvidenceChaser(e,r){return f(this.configuration).skipEvidenceChaser(e,r)(this.axios,this.basePath)}submitMoreInfoClaim(e,r,t){return f(this.configuration).submitMoreInfoClaim(e,r,t)(this.axios,this.basePath)}updateAutoCharge(e,r,t){return f(this.configuration).updateAutoCharge(e,r,t)(this.axios,this.basePath)}updateClaim(e,r,t){return f(this.configuration).updateClaim(e,r,t)(this.axios,this.basePath)}updateTenantDisputeMessage(e,r,t){return f(this.configuration).updateTenantDisputeMessage(e,r,t)(this.axios,this.basePath)}verifyClaim(e,r){return f(this.configuration).verifyClaim(e,r)(this.axios,this.basePath)}waiveDisputeFee(e,r){return f(this.configuration).waiveDisputeFee(e,r)(this.axios,this.basePath)}zipDocuments(e,r,t){return f(this.configuration).zipDocuments(e,r,t)(this.axios,this.basePath)}}async function jo(a,e,r=p,t=u,s){const n=O(e).acknowledgeCaseSentToInsurer(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function Mo(a,e,r=p,t=u,s){const n=O(e).approveClaim(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function Ho(a,e,r=p,t=u,s){const n=O(e).createClaim(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function Go(a,e,r,t=p,s=u,n){const o=O(r).createClaimActivity(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function ko(a,e,r=p,t=u,s){const n=O(e).createInsuranceClaimOnClaim(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function Qo(a,e,r,t=p,s=u,n){const o=O(r).deactivateClaim(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function Yo(a,e,r=p,t=u,s){const n=O(e).declineClaim(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function zo(a,e,r=p,t=u,s){const n=O(e).findClaimById(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function $o(a,e,r=p,t=u,s){const n=O(e).generateADRForm(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function Wo(a,e,r,t,s,n,o,i,l=p,d=u,c){const m=O(i).optimisedSearchClaim(a,e,r,t,s,n,o,c),A={...m.options,url:d+m.url};return(await l.request(A)).data}async function Jo(a,e,r,t=p,s=u,n){const o=O(r).paySupplier(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function Ko(a,e,r=p,t=u,s){const n=O(e).publishClaim(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function Xo(a,e,r=p,t=u,s){const n=O(e).readyForArbitrateClaim(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function Zo(a,e,r,t=p,s=u,n){const o=O(r).reopenClaim(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function ei(a,e,r,t=p,s=u,n){const o=O(r).requestMoreInfoClaim(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function ri(a,e,r,t=p,s=u,n){const o=O(r).resolveClaim(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function ti(a,e,r=p,t=u,s){const n=O(e).skipEvidenceChaser(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function ai(a,e,r,t=p,s=u,n){const o=O(r).submitMoreInfoClaim(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function si(a,e,r,t=p,s=u,n){const o=O(r).updateAutoCharge(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function ni(a,e,r,t=p,s=u,n){const o=O(r).updateClaim(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function oi(a,e,r,t=p,s=u,n){const o=O(r).updateTenantDisputeMessage(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function ii(a,e,r=p,t=u,s){const n=O(e).verifyClaim(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function li(a,e,r=p,t=u,s){const n=O(e).waiveDisputeFee(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function ci(a,e,r,t=p,s=u,n){const o=O(r).zipDocuments(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}const Fr=function(a){return{generateCommissionCsvForPeriod(e,r={}){if(e==null)throw new h("period","Required parameter period was null or undefined when calling generateCommissionCsvForPeriod.");const t="/v2/commission",s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={},l={};return e!==void 0&&(l.period=e),Object.entries({...l,...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}}}},jr=function(a){return{generateCommissionCsvForPeriod(e,r){const t=Fr(a).generateCommissionCsvForPeriod(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}}}},di=function(a,e,r){return{generateCommissionCsvForPeriod(t,s){return jr(a).generateCommissionCsvForPeriod(t,s)(r,e)}}};class ui extends R{generateCommissionCsvForPeriod(e,r){return jr(this.configuration).generateCommissionCsvForPeriod(e,r)(this.axios,this.basePath)}}async function pi(a,e,r=p,t=u,s){const n=Fr(e).generateCommissionCsvForPeriod(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}const Mr=function(a){return{checkConcurrentTenancy(e,r={}){if(e==null)throw new h("checkConcurrentTenancyRequestDTO","Required parameter checkConcurrentTenancyRequestDTO was null or undefined when calling checkConcurrentTenancy.");const t="/v2/concurrent-tenancy-check",s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"POST",...n,...r},i={},l={};return i["Content-Type"]="application/json",Object.entries({...l,...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},o.data=JSON.stringify(e!==void 0?e:{}),{url:s.pathname+s.search,options:o}}}},Hr=function(a){return{checkConcurrentTenancy(e,r){const t=Mr(a).checkConcurrentTenancy(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}}}},hi=function(a,e,r){return{checkConcurrentTenancy(t,s){return Hr(a).checkConcurrentTenancy(t,s)(r,e)}}};class mi extends R{checkConcurrentTenancy(e,r){return Hr(this.configuration).checkConcurrentTenancy(e,r)(this.axios,this.basePath)}}async function Ai(a,e,r=p,t=u,s){const n=Mr(e).checkConcurrentTenancy(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}const Gr=function(a){return{addPaymentMethod(e,r={}){if(e==null)throw new h("paymentMethodId","Required parameter paymentMethodId was null or undefined when calling addPaymentMethod.");const t="/v2/customers/me/payment-method",s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"POST",...n,...r},i={},l={};return e!==void 0&&(l.paymentMethodId=e),Object.entries({...l,...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}}}},kr=function(a){return{addPaymentMethod(e,r){const t=Gr(a).addPaymentMethod(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}}}},Ri=function(a,e,r){return{addPaymentMethod(t,s){return kr(a).addPaymentMethod(t,s)(r,e)}}};class Ii extends R{addPaymentMethod(e,r){return kr(this.configuration).addPaymentMethod(e,r)(this.axios,this.basePath)}}async function Pi(a,e,r=p,t=u,s){const n=Gr(e).addPaymentMethod(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}const Te=function(a){return{createDocument(e,r,t,s={}){if(e==null)throw new h("file","Required parameter file was null or undefined when calling createDocument.");if(r==null)throw new h("name","Required parameter name was null or undefined when calling createDocument.");if(t==null)throw new h("type","Required parameter type was null or undefined when calling createDocument.");const n="/v2/documents",o=new URL(n,"http://placeholder");let i;a&&(i=a.baseOptions);const l={method:"POST",...i,...s},d={},c={},m=new FormData;return e!==void 0&&m.append("file",e),r!==void 0&&m.append("name",r),t!==void 0&&m.append("type",t),d["Content-Type"]="multipart/form-data",Object.entries({...c,...s.query}).forEach(([A,I])=>{I!==void 0&&o.searchParams.set(A,String(I))}),l.headers={...d,...s.headers},l.data=m,{url:o.pathname+o.search,options:l}},createFromS3(e,r={}){if(e==null)throw new h("createDocumentFromS3DTO","Required parameter createDocumentFromS3DTO was null or undefined when calling createFromS3.");const t="/v2/documents/from-s3",s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"POST",...n,...r},i={},l={};return i["Content-Type"]="application/json",Object.entries({...l,...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},o.data=JSON.stringify(e!==void 0?e:{}),{url:s.pathname+s.search,options:o}},getDocumentsByIds(e,r={}){if(e==null)throw new h("ids","Required parameter ids was null or undefined when calling getDocumentsByIds.");const t="/v2/documents",s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={},l={};return e&&(l.ids=e),Object.entries({...l,...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}}}},Ne=function(a){return{createDocument(e,r,t,s){const n=Te(a).createDocument(e,r,t,s);return(o=p,i=u)=>{const l={...n.options,url:i+n.url};return o.request(l)}},createFromS3(e,r){const t=Te(a).createFromS3(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},getDocumentsByIds(e,r){const t=Te(a).getDocumentsByIds(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}}}},gi=function(a,e,r){return{createDocument(t,s,n,o){return Ne(a).createDocument(t,s,n,o)(r,e)},createFromS3(t,s){return Ne(a).createFromS3(t,s)(r,e)},getDocumentsByIds(t,s){return Ne(a).getDocumentsByIds(t,s)(r,e)}}};class wi extends R{createDocument(e,r,t,s){return Ne(this.configuration).createDocument(e,r,t,s)(this.axios,this.basePath)}createFromS3(e,r){return Ne(this.configuration).createFromS3(e,r)(this.axios,this.basePath)}getDocumentsByIds(e,r){return Ne(this.configuration).getDocumentsByIds(e,r)(this.axios,this.basePath)}}async function Oi(a,e,r,t,s=p,n=u,o){const i=Te(t).createDocument(a,e,r,o),l={...i.options,url:n+i.url};return(await s.request(l)).data}async function fi(a,e,r=p,t=u,s){const n=Te(e).createFromS3(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function yi(a,e,r=p,t=u,s){const n=Te(e).getDocumentsByIds(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}const Ze=function(a){return{createEvidenceChaserItemRequest(e,r,t,s={}){if(e==null)throw new h("itemId","Required parameter itemId was null or undefined when calling createEvidenceChaserItemRequest.");if(r==null)throw new h("evidenceChaserId","Required parameter evidenceChaserId was null or undefined when calling createEvidenceChaserItemRequest.");if(t==null)throw new h("createEvidenceChaserItemRequestDTO","Required parameter createEvidenceChaserItemRequestDTO was null or undefined when calling createEvidenceChaserItemRequest.");const n="/v2/evidence-chasers/{evidenceChaserId}/items/{itemId}/requests".replace("{itemId}",encodeURIComponent(String(e))).replace("{evidenceChaserId}",encodeURIComponent(String(r))),o=new URL(n,"http://placeholder");let i;a&&(i=a.baseOptions);const l={method:"POST",...i,...s},d={},c={};return d["Content-Type"]="application/json",Object.entries({...c,...s.query}).forEach(([m,A])=>{A!==void 0&&o.searchParams.set(m,String(A))}),l.headers={...d,...s.headers},l.data=JSON.stringify(t!==void 0?t:{}),{url:o.pathname+o.search,options:l}},deleteEvidenceChaserItemRequest(e,r,t,s={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling deleteEvidenceChaserItemRequest.");if(r==null)throw new h("itemId","Required parameter itemId was null or undefined when calling deleteEvidenceChaserItemRequest.");if(t==null)throw new h("evidenceChaserId","Required parameter evidenceChaserId was null or undefined when calling deleteEvidenceChaserItemRequest.");const n="/v2/evidence-chasers/{evidenceChaserId}/items/{itemId}/requests/{id}".replace("{id}",encodeURIComponent(String(e))).replace("{itemId}",encodeURIComponent(String(r))).replace("{evidenceChaserId}",encodeURIComponent(String(t))),o=new URL(n,"http://placeholder");let i;a&&(i=a.baseOptions);const l={method:"DELETE",...i,...s},d={};return Object.entries({...{},...s.query}).forEach(([m,A])=>{A!==void 0&&o.searchParams.set(m,String(A))}),l.headers={...d,...s.headers},{url:o.pathname+o.search,options:l}}}},er=function(a){return{createEvidenceChaserItemRequest(e,r,t,s){const n=Ze(a).createEvidenceChaserItemRequest(e,r,t,s);return(o=p,i=u)=>{const l={...n.options,url:i+n.url};return o.request(l)}},deleteEvidenceChaserItemRequest(e,r,t,s){const n=Ze(a).deleteEvidenceChaserItemRequest(e,r,t,s);return(o=p,i=u)=>{const l={...n.options,url:i+n.url};return o.request(l)}}}},Ei=function(a,e,r){return{createEvidenceChaserItemRequest(t,s,n,o){return er(a).createEvidenceChaserItemRequest(t,s,n,o)(r,e)},deleteEvidenceChaserItemRequest(t,s,n,o){return er(a).deleteEvidenceChaserItemRequest(t,s,n,o)(r,e)}}};class Ci extends R{createEvidenceChaserItemRequest(e,r,t,s){return er(this.configuration).createEvidenceChaserItemRequest(e,r,t,s)(this.axios,this.basePath)}deleteEvidenceChaserItemRequest(e,r,t,s){return er(this.configuration).deleteEvidenceChaserItemRequest(e,r,t,s)(this.axios,this.basePath)}}async function Vi(a,e,r,t,s=p,n=u,o){const i=Ze(t).createEvidenceChaserItemRequest(a,e,r,o),l={...i.options,url:n+i.url};return(await s.request(l)).data}async function qi(a,e,r,t,s=p,n=u,o){const i=Ze(t).deleteEvidenceChaserItemRequest(a,e,r,o),l={...i.options,url:n+i.url};return(await s.request(l)).data}const rr=function(a){return{createEvidenceChaserItemResponseDocument(e,r,t,s,n,o={}){if(e==null)throw new h("responseId","Required parameter responseId was null or undefined when calling createEvidenceChaserItemResponseDocument.");if(r==null)throw new h("requestId","Required parameter requestId was null or undefined when calling createEvidenceChaserItemResponseDocument.");if(t==null)throw new h("itemId","Required parameter itemId was null or undefined when calling createEvidenceChaserItemResponseDocument.");if(s==null)throw new h("evidenceChaserId","Required parameter evidenceChaserId was null or undefined when calling createEvidenceChaserItemResponseDocument.");if(n==null)throw new h("createEvidenceChaserItemResponseDocumentDTO","Required parameter createEvidenceChaserItemResponseDocumentDTO was null or undefined when calling createEvidenceChaserItemResponseDocument.");const i="/v2/evidence-chasers/{evidenceChaserId}/items/{itemId}/requests/{requestId}/responses/{responseId}/documents".replace("{responseId}",encodeURIComponent(String(e))).replace("{requestId}",encodeURIComponent(String(r))).replace("{itemId}",encodeURIComponent(String(t))).replace("{evidenceChaserId}",encodeURIComponent(String(s))),l=new URL(i,"http://placeholder");let d;a&&(d=a.baseOptions);const c={method:"POST",...d,...o},m={},A={};return m["Content-Type"]="application/json",Object.entries({...A,...o.query}).forEach(([I,P])=>{P!==void 0&&l.searchParams.set(I,String(P))}),c.headers={...m,...o.headers},c.data=JSON.stringify(n!==void 0?n:{}),{url:l.pathname+l.search,options:c}},deleteEvidenceChaserItemResponseDocument(e,r,t,s,n,o={}){if(e==null)throw new h("documentId","Required parameter documentId was null or undefined when calling deleteEvidenceChaserItemResponseDocument.");if(r==null)throw new h("responseId","Required parameter responseId was null or undefined when calling deleteEvidenceChaserItemResponseDocument.");if(t==null)throw new h("requestId","Required parameter requestId was null or undefined when calling deleteEvidenceChaserItemResponseDocument.");if(s==null)throw new h("itemId","Required parameter itemId was null or undefined when calling deleteEvidenceChaserItemResponseDocument.");if(n==null)throw new h("evidenceChaserId","Required parameter evidenceChaserId was null or undefined when calling deleteEvidenceChaserItemResponseDocument.");const i="/v2/evidence-chasers/{evidenceChaserId}/items/{itemId}/requests/{requestId}/responses/{responseId}/documents/{documentId}".replace("{documentId}",encodeURIComponent(String(e))).replace("{responseId}",encodeURIComponent(String(r))).replace("{requestId}",encodeURIComponent(String(t))).replace("{itemId}",encodeURIComponent(String(s))).replace("{evidenceChaserId}",encodeURIComponent(String(n))),l=new URL(i,"http://placeholder");let d;a&&(d=a.baseOptions);const c={method:"DELETE",...d,...o},m={};return Object.entries({...{},...o.query}).forEach(([I,P])=>{P!==void 0&&l.searchParams.set(I,String(P))}),c.headers={...m,...o.headers},{url:l.pathname+l.search,options:c}}}},tr=function(a){return{createEvidenceChaserItemResponseDocument(e,r,t,s,n,o){const i=rr(a).createEvidenceChaserItemResponseDocument(e,r,t,s,n,o);return(l=p,d=u)=>{const c={...i.options,url:d+i.url};return l.request(c)}},deleteEvidenceChaserItemResponseDocument(e,r,t,s,n,o){const i=rr(a).deleteEvidenceChaserItemResponseDocument(e,r,t,s,n,o);return(l=p,d=u)=>{const c={...i.options,url:d+i.url};return l.request(c)}}}},_i=function(a,e,r){return{createEvidenceChaserItemResponseDocument(t,s,n,o,i,l){return tr(a).createEvidenceChaserItemResponseDocument(t,s,n,o,i,l)(r,e)},deleteEvidenceChaserItemResponseDocument(t,s,n,o,i,l){return tr(a).deleteEvidenceChaserItemResponseDocument(t,s,n,o,i,l)(r,e)}}};class vi extends R{createEvidenceChaserItemResponseDocument(e,r,t,s,n,o){return tr(this.configuration).createEvidenceChaserItemResponseDocument(e,r,t,s,n,o)(this.axios,this.basePath)}deleteEvidenceChaserItemResponseDocument(e,r,t,s,n,o){return tr(this.configuration).deleteEvidenceChaserItemResponseDocument(e,r,t,s,n,o)(this.axios,this.basePath)}}async function bi(a,e,r,t,s,n,o=p,i=u,l){const d=rr(n).createEvidenceChaserItemResponseDocument(a,e,r,t,s,l),c={...d.options,url:i+d.url};return(await o.request(c)).data}async function Si(a,e,r,t,s,n,o=p,i=u,l){const d=rr(n).deleteEvidenceChaserItemResponseDocument(a,e,r,t,s,l),c={...d.options,url:i+d.url};return(await o.request(c)).data}const ar=function(a){return{createEvidenceChaserItemResponse(e,r,t,s,n={}){if(e==null)throw new h("requestId","Required parameter requestId was null or undefined when calling createEvidenceChaserItemResponse.");if(r==null)throw new h("itemId","Required parameter itemId was null or undefined when calling createEvidenceChaserItemResponse.");if(t==null)throw new h("evidenceChaserId","Required parameter evidenceChaserId was null or undefined when calling createEvidenceChaserItemResponse.");if(s==null)throw new h("createEvidenceChaserItemResponseDTO","Required parameter createEvidenceChaserItemResponseDTO was null or undefined when calling createEvidenceChaserItemResponse.");const o="/v2/evidence-chasers/{evidenceChaserId}/items/{itemId}/requests/{requestId}/responses".replace("{requestId}",encodeURIComponent(String(e))).replace("{itemId}",encodeURIComponent(String(r))).replace("{evidenceChaserId}",encodeURIComponent(String(t))),i=new URL(o,"http://placeholder");let l;a&&(l=a.baseOptions);const d={method:"POST",...l,...n},c={},m={};return c["Content-Type"]="application/json",Object.entries({...m,...n.query}).forEach(([A,I])=>{I!==void 0&&i.searchParams.set(A,String(I))}),d.headers={...c,...n.headers},d.data=JSON.stringify(s!==void 0?s:{}),{url:i.pathname+i.search,options:d}},updateEvidenceChaserItemResponse(e,r,t,s,n,o={}){if(e==null)throw new h("responseId","Required parameter responseId was null or undefined when calling updateEvidenceChaserItemResponse.");if(r==null)throw new h("requestId","Required parameter requestId was null or undefined when calling updateEvidenceChaserItemResponse.");if(t==null)throw new h("itemId","Required parameter itemId was null or undefined when calling updateEvidenceChaserItemResponse.");if(s==null)throw new h("evidenceChaserId","Required parameter evidenceChaserId was null or undefined when calling updateEvidenceChaserItemResponse.");if(n==null)throw new h("updateEvidenceChaserItemResponseDTO","Required parameter updateEvidenceChaserItemResponseDTO was null or undefined when calling updateEvidenceChaserItemResponse.");const i="/v2/evidence-chasers/{evidenceChaserId}/items/{itemId}/requests/{requestId}/responses/{responseId}".replace("{responseId}",encodeURIComponent(String(e))).replace("{requestId}",encodeURIComponent(String(r))).replace("{itemId}",encodeURIComponent(String(t))).replace("{evidenceChaserId}",encodeURIComponent(String(s))),l=new URL(i,"http://placeholder");let d;a&&(d=a.baseOptions);const c={method:"PATCH",...d,...o},m={},A={};return m["Content-Type"]="application/json",Object.entries({...A,...o.query}).forEach(([I,P])=>{P!==void 0&&l.searchParams.set(I,String(P))}),c.headers={...m,...o.headers},c.data=JSON.stringify(n!==void 0?n:{}),{url:l.pathname+l.search,options:c}}}},sr=function(a){return{createEvidenceChaserItemResponse(e,r,t,s,n){const o=ar(a).createEvidenceChaserItemResponse(e,r,t,s,n);return(i=p,l=u)=>{const d={...o.options,url:l+o.url};return i.request(d)}},updateEvidenceChaserItemResponse(e,r,t,s,n,o){const i=ar(a).updateEvidenceChaserItemResponse(e,r,t,s,n,o);return(l=p,d=u)=>{const c={...i.options,url:d+i.url};return l.request(c)}}}},Ti=function(a,e,r){return{createEvidenceChaserItemResponse(t,s,n,o,i){return sr(a).createEvidenceChaserItemResponse(t,s,n,o,i)(r,e)},updateEvidenceChaserItemResponse(t,s,n,o,i,l){return sr(a).updateEvidenceChaserItemResponse(t,s,n,o,i,l)(r,e)}}};class Ni extends R{createEvidenceChaserItemResponse(e,r,t,s,n){return sr(this.configuration).createEvidenceChaserItemResponse(e,r,t,s,n)(this.axios,this.basePath)}updateEvidenceChaserItemResponse(e,r,t,s,n,o){return sr(this.configuration).updateEvidenceChaserItemResponse(e,r,t,s,n,o)(this.axios,this.basePath)}}async function xi(a,e,r,t,s,n=p,o=u,i){const l=ar(s).createEvidenceChaserItemResponse(a,e,r,t,i),d={...l.options,url:o+l.url};return(await n.request(d)).data}async function Ui(a,e,r,t,s,n,o=p,i=u,l){const d=ar(n).updateEvidenceChaserItemResponse(a,e,r,t,s,l),c={...d.options,url:i+d.url};return(await o.request(c)).data}const nr=function(a){return{createEvidenceChaserItemReview(e,r,t,s,n,o={}){if(e==null)throw new h("responseId","Required parameter responseId was null or undefined when calling createEvidenceChaserItemReview.");if(r==null)throw new h("requestId","Required parameter requestId was null or undefined when calling createEvidenceChaserItemReview.");if(t==null)throw new h("itemId","Required parameter itemId was null or undefined when calling createEvidenceChaserItemReview.");if(s==null)throw new h("evidenceChaserId","Required parameter evidenceChaserId was null or undefined when calling createEvidenceChaserItemReview.");if(n==null)throw new h("createEvidenceChaserItemReviewDTO","Required parameter createEvidenceChaserItemReviewDTO was null or undefined when calling createEvidenceChaserItemReview.");const i="/v2/evidence-chasers/{evidenceChaserId}/items/{itemId}/requests/{requestId}/responses/{responseId}/review".replace("{responseId}",encodeURIComponent(String(e))).replace("{requestId}",encodeURIComponent(String(r))).replace("{itemId}",encodeURIComponent(String(t))).replace("{evidenceChaserId}",encodeURIComponent(String(s))),l=new URL(i,"http://placeholder");let d;a&&(d=a.baseOptions);const c={method:"POST",...d,...o},m={},A={};return m["Content-Type"]="application/json",Object.entries({...A,...o.query}).forEach(([I,P])=>{P!==void 0&&l.searchParams.set(I,String(P))}),c.headers={...m,...o.headers},c.data=JSON.stringify(n!==void 0?n:{}),{url:l.pathname+l.search,options:c}},updateEvidenceChaserItemReview(e,r,t,s,n,o,i={}){if(e==null)throw new h("reviewId","Required parameter reviewId was null or undefined when calling updateEvidenceChaserItemReview.");if(r==null)throw new h("responseId","Required parameter responseId was null or undefined when calling updateEvidenceChaserItemReview.");if(t==null)throw new h("requestId","Required parameter requestId was null or undefined when calling updateEvidenceChaserItemReview.");if(s==null)throw new h("itemId","Required parameter itemId was null or undefined when calling updateEvidenceChaserItemReview.");if(n==null)throw new h("evidenceChaserId","Required parameter evidenceChaserId was null or undefined when calling updateEvidenceChaserItemReview.");if(o==null)throw new h("createEvidenceChaserItemReviewDTO","Required parameter createEvidenceChaserItemReviewDTO was null or undefined when calling updateEvidenceChaserItemReview.");const l="/v2/evidence-chasers/{evidenceChaserId}/items/{itemId}/requests/{requestId}/responses/{responseId}/review/{reviewId}".replace("{reviewId}",encodeURIComponent(String(e))).replace("{responseId}",encodeURIComponent(String(r))).replace("{requestId}",encodeURIComponent(String(t))).replace("{itemId}",encodeURIComponent(String(s))).replace("{evidenceChaserId}",encodeURIComponent(String(n))),d=new URL(l,"http://placeholder");let c;a&&(c=a.baseOptions);const m={method:"PATCH",...c,...i},A={},I={};return A["Content-Type"]="application/json",Object.entries({...I,...i.query}).forEach(([P,q])=>{q!==void 0&&d.searchParams.set(P,String(q))}),m.headers={...A,...i.headers},m.data=JSON.stringify(o!==void 0?o:{}),{url:d.pathname+d.search,options:m}}}},or=function(a){return{createEvidenceChaserItemReview(e,r,t,s,n,o){const i=nr(a).createEvidenceChaserItemReview(e,r,t,s,n,o);return(l=p,d=u)=>{const c={...i.options,url:d+i.url};return l.request(c)}},updateEvidenceChaserItemReview(e,r,t,s,n,o,i){const l=nr(a).updateEvidenceChaserItemReview(e,r,t,s,n,o,i);return(d=p,c=u)=>{const m={...l.options,url:c+l.url};return d.request(m)}}}},Di=function(a,e,r){return{createEvidenceChaserItemReview(t,s,n,o,i,l){return or(a).createEvidenceChaserItemReview(t,s,n,o,i,l)(r,e)},updateEvidenceChaserItemReview(t,s,n,o,i,l,d){return or(a).updateEvidenceChaserItemReview(t,s,n,o,i,l,d)(r,e)}}};class Li extends R{createEvidenceChaserItemReview(e,r,t,s,n,o){return or(this.configuration).createEvidenceChaserItemReview(e,r,t,s,n,o)(this.axios,this.basePath)}updateEvidenceChaserItemReview(e,r,t,s,n,o,i){return or(this.configuration).updateEvidenceChaserItemReview(e,r,t,s,n,o,i)(this.axios,this.basePath)}}async function Bi(a,e,r,t,s,n,o=p,i=u,l){const d=nr(n).createEvidenceChaserItemReview(a,e,r,t,s,l),c={...d.options,url:i+d.url};return(await o.request(c)).data}async function Fi(a,e,r,t,s,n,o,i=p,l=u,d){const c=nr(o).updateEvidenceChaserItemReview(a,e,r,t,s,n,d),m={...c.options,url:l+c.url};return(await i.request(m)).data}const ir=function(a){return{createEvidenceChaserItem(e,r,t={}){if(e==null)throw new h("evidenceChaserId","Required parameter evidenceChaserId was null or undefined when calling createEvidenceChaserItem.");if(r==null)throw new h("createEvidenceChaserItemDTO","Required parameter createEvidenceChaserItemDTO was null or undefined when calling createEvidenceChaserItem.");const s="/v2/evidence-chasers/{evidenceChaserId}/items".replace("{evidenceChaserId}",encodeURIComponent(String(e))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"POST",...o,...t},l={},d={};return l["Content-Type"]="application/json",Object.entries({...d,...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:n.pathname+n.search,options:i}},updateEvidenceChaserItem(e,r,t,s={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling updateEvidenceChaserItem.");if(r==null)throw new h("evidenceChaserId","Required parameter evidenceChaserId was null or undefined when calling updateEvidenceChaserItem.");if(t==null)throw new h("updateEvidenceChaserItemDTO","Required parameter updateEvidenceChaserItemDTO was null or undefined when calling updateEvidenceChaserItem.");const n="/v2/evidence-chasers/{evidenceChaserId}/items/{id}".replace("{id}",encodeURIComponent(String(e))).replace("{evidenceChaserId}",encodeURIComponent(String(r))),o=new URL(n,"http://placeholder");let i;a&&(i=a.baseOptions);const l={method:"PATCH",...i,...s},d={},c={};return d["Content-Type"]="application/json",Object.entries({...c,...s.query}).forEach(([m,A])=>{A!==void 0&&o.searchParams.set(m,String(A))}),l.headers={...d,...s.headers},l.data=JSON.stringify(t!==void 0?t:{}),{url:o.pathname+o.search,options:l}}}},lr=function(a){return{createEvidenceChaserItem(e,r,t){const s=ir(a).createEvidenceChaserItem(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},updateEvidenceChaserItem(e,r,t,s){const n=ir(a).updateEvidenceChaserItem(e,r,t,s);return(o=p,i=u)=>{const l={...n.options,url:i+n.url};return o.request(l)}}}},ji=function(a,e,r){return{createEvidenceChaserItem(t,s,n){return lr(a).createEvidenceChaserItem(t,s,n)(r,e)},updateEvidenceChaserItem(t,s,n,o){return lr(a).updateEvidenceChaserItem(t,s,n,o)(r,e)}}};class Mi extends R{createEvidenceChaserItem(e,r,t){return lr(this.configuration).createEvidenceChaserItem(e,r,t)(this.axios,this.basePath)}updateEvidenceChaserItem(e,r,t,s){return lr(this.configuration).updateEvidenceChaserItem(e,r,t,s)(this.axios,this.basePath)}}async function Hi(a,e,r,t=p,s=u,n){const o=ir(r).createEvidenceChaserItem(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function Gi(a,e,r,t,s=p,n=u,o){const i=ir(t).updateEvidenceChaserItem(a,e,r,o),l={...i.options,url:n+i.url};return(await s.request(l)).data}const xe=function(a){return{publishEvidenceChaserRequests(e,r,t={}){if(e==null)throw new h("roundId","Required parameter roundId was null or undefined when calling publishEvidenceChaserRequests.");if(r==null)throw new h("evidenceChaserId","Required parameter evidenceChaserId was null or undefined when calling publishEvidenceChaserRequests.");const s="/v2/evidence-chasers/{evidenceChaserId}/rounds/{roundId}/requests/publish".replace("{roundId}",encodeURIComponent(String(e))).replace("{evidenceChaserId}",encodeURIComponent(String(r))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"POST",...o,...t},l={};return Object.entries({...{},...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},{url:n.pathname+n.search,options:i}},publishEvidenceChaserResponses(e,r,t={}){if(e==null)throw new h("roundId","Required parameter roundId was null or undefined when calling publishEvidenceChaserResponses.");if(r==null)throw new h("evidenceChaserId","Required parameter evidenceChaserId was null or undefined when calling publishEvidenceChaserResponses.");const s="/v2/evidence-chasers/{evidenceChaserId}/rounds/{roundId}/responses/publish".replace("{roundId}",encodeURIComponent(String(e))).replace("{evidenceChaserId}",encodeURIComponent(String(r))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"POST",...o,...t},l={};return Object.entries({...{},...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},{url:n.pathname+n.search,options:i}},publishEvidenceChaserReviews(e,r,t={}){if(e==null)throw new h("roundId","Required parameter roundId was null or undefined when calling publishEvidenceChaserReviews.");if(r==null)throw new h("evidenceChaserId","Required parameter evidenceChaserId was null or undefined when calling publishEvidenceChaserReviews.");const s="/v2/evidence-chasers/{evidenceChaserId}/rounds/{roundId}/reviews/publish".replace("{roundId}",encodeURIComponent(String(e))).replace("{evidenceChaserId}",encodeURIComponent(String(r))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"POST",...o,...t},l={};return Object.entries({...{},...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},{url:n.pathname+n.search,options:i}}}},Ue=function(a){return{publishEvidenceChaserRequests(e,r,t){const s=xe(a).publishEvidenceChaserRequests(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},publishEvidenceChaserResponses(e,r,t){const s=xe(a).publishEvidenceChaserResponses(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},publishEvidenceChaserReviews(e,r,t){const s=xe(a).publishEvidenceChaserReviews(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}}}},ki=function(a,e,r){return{publishEvidenceChaserRequests(t,s,n){return Ue(a).publishEvidenceChaserRequests(t,s,n)(r,e)},publishEvidenceChaserResponses(t,s,n){return Ue(a).publishEvidenceChaserResponses(t,s,n)(r,e)},publishEvidenceChaserReviews(t,s,n){return Ue(a).publishEvidenceChaserReviews(t,s,n)(r,e)}}};class Qi extends R{publishEvidenceChaserRequests(e,r,t){return Ue(this.configuration).publishEvidenceChaserRequests(e,r,t)(this.axios,this.basePath)}publishEvidenceChaserResponses(e,r,t){return Ue(this.configuration).publishEvidenceChaserResponses(e,r,t)(this.axios,this.basePath)}publishEvidenceChaserReviews(e,r,t){return Ue(this.configuration).publishEvidenceChaserReviews(e,r,t)(this.axios,this.basePath)}}async function Yi(a,e,r,t=p,s=u,n){const o=xe(r).publishEvidenceChaserRequests(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function zi(a,e,r,t=p,s=u,n){const o=xe(r).publishEvidenceChaserResponses(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function $i(a,e,r,t=p,s=u,n){const o=xe(r).publishEvidenceChaserReviews(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}const De=function(a){return{createEvidenceChaser(e,r={}){if(e==null)throw new h("claimId","Required parameter claimId was null or undefined when calling createEvidenceChaser.");const t="/v2/claims/{claimId}/evidence-chaser".replace("{claimId}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"POST",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},expireEvidenceChaser(e,r,t={}){if(e==null)throw new h("claimId","Required parameter claimId was null or undefined when calling expireEvidenceChaser.");if(r==null)throw new h("id","Required parameter id was null or undefined when calling expireEvidenceChaser.");const s="/v2/claims/{claimId}/evidence-chaser/{id}/expire".replace("{claimId}",encodeURIComponent(String(e))).replace("{id}",encodeURIComponent(String(r))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"POST",...o,...t},l={};return Object.entries({...{},...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},{url:n.pathname+n.search,options:i}},getEvidenceChaserById(e,r,t={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling getEvidenceChaserById.");if(r==null)throw new h("claimId","Required parameter claimId was null or undefined when calling getEvidenceChaserById.");const s="/v2/claims/{claimId}/evidence-chaser/{id}".replace("{id}",encodeURIComponent(String(e))).replace("{claimId}",encodeURIComponent(String(r))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"GET",...o,...t},l={};return Object.entries({...{},...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},{url:n.pathname+n.search,options:i}}}},Le=function(a){return{createEvidenceChaser(e,r){const t=De(a).createEvidenceChaser(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},expireEvidenceChaser(e,r,t){const s=De(a).expireEvidenceChaser(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},getEvidenceChaserById(e,r,t){const s=De(a).getEvidenceChaserById(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}}}},Wi=function(a,e,r){return{createEvidenceChaser(t,s){return Le(a).createEvidenceChaser(t,s)(r,e)},expireEvidenceChaser(t,s,n){return Le(a).expireEvidenceChaser(t,s,n)(r,e)},getEvidenceChaserById(t,s,n){return Le(a).getEvidenceChaserById(t,s,n)(r,e)}}};class Ji extends R{createEvidenceChaser(e,r){return Le(this.configuration).createEvidenceChaser(e,r)(this.axios,this.basePath)}expireEvidenceChaser(e,r,t){return Le(this.configuration).expireEvidenceChaser(e,r,t)(this.axios,this.basePath)}getEvidenceChaserById(e,r,t){return Le(this.configuration).getEvidenceChaserById(e,r,t)(this.axios,this.basePath)}}async function Ki(a,e,r=p,t=u,s){const n=De(e).createEvidenceChaser(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function Xi(a,e,r,t=p,s=u,n){const o=De(r).expireEvidenceChaser(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function Zi(a,e,r,t=p,s=u,n){const o=De(r).getEvidenceChaserById(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}const Qr=function(a){return{submitFeedback(e,r={}){if(e==null)throw new h("submitFeedbackDTO","Required parameter submitFeedbackDTO was null or undefined when calling submitFeedback.");const t="/v2/feedback",s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"POST",...n,...r},i={},l={};return i["Content-Type"]="application/json",Object.entries({...l,...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},o.data=JSON.stringify(e!==void 0?e:{}),{url:s.pathname+s.search,options:o}}}},Yr=function(a){return{submitFeedback(e,r){const t=Qr(a).submitFeedback(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}}}},el=function(a,e,r){return{submitFeedback(t,s){return Yr(a).submitFeedback(t,s)(r,e)}}};class rl extends R{submitFeedback(e,r){return Yr(this.configuration).submitFeedback(e,r)(this.axios,this.basePath)}}async function tl(a,e,r=p,t=u,s){const n=Qr(e).submitFeedback(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}const cr=function(a){return{dbHealthCheck(e={}){const r="/v2/health/db",t=new URL(r,"http://placeholder");let s;a&&(s=a.baseOptions);const n={method:"GET",...s,...e},o={};return Object.entries({...{},...e.query}).forEach(([l,d])=>{d!==void 0&&t.searchParams.set(l,String(d))}),n.headers={...o,...e.headers},{url:t.pathname+t.search,options:n}},healthCheck(e={}){const r="/v2/health",t=new URL(r,"http://placeholder");let s;a&&(s=a.baseOptions);const n={method:"GET",...s,...e},o={};return Object.entries({...{},...e.query}).forEach(([l,d])=>{d!==void 0&&t.searchParams.set(l,String(d))}),n.headers={...o,...e.headers},{url:t.pathname+t.search,options:n}}}},dr=function(a){return{dbHealthCheck(e){const r=cr(a).dbHealthCheck(e);return(t=p,s=u)=>{const n={...r.options,url:s+r.url};return t.request(n)}},healthCheck(e){const r=cr(a).healthCheck(e);return(t=p,s=u)=>{const n={...r.options,url:s+r.url};return t.request(n)}}}},al=function(a,e,r){return{dbHealthCheck(t){return dr(a).dbHealthCheck(t)(r,e)},healthCheck(t){return dr(a).healthCheck(t)(r,e)}}};class sl extends R{dbHealthCheck(e){return dr(this.configuration).dbHealthCheck(e)(this.axios,this.basePath)}healthCheck(e){return dr(this.configuration).healthCheck(e)(this.axios,this.basePath)}}async function nl(a,e=p,r=u,t){const s=cr(a).dbHealthCheck(t),n={...s.options,url:r+s.url};return(await e.request(n)).data}async function ol(a,e=p,r=u,t){const s=cr(a).healthCheck(t),n={...s.options,url:r+s.url};return(await e.request(n)).data}const T=function(a){return{processPlaidWebhooks(e,r={}){if(e==null)throw new h("plaidWebhookDto","Required parameter plaidWebhookDto was null or undefined when calling processPlaidWebhooks.");const t="/v2/webhooks/plaid",s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"POST",...n,...r},i={},l={};return i["Content-Type"]="application/json",Object.entries({...l,...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},o.data=JSON.stringify(e!==void 0?e:{}),{url:s.pathname+s.search,options:o}},processSendGridWebhooks(e,r={}){if(e==null)throw new h("requestBody","Required parameter requestBody was null or undefined when calling processSendGridWebhooks.");const t="/v2/webhooks/sendgrid",s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"POST",...n,...r},i={},l={};return i["Content-Type"]="application/json",Object.entries({...l,...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},o.data=JSON.stringify(e!==void 0?e:{}),{url:s.pathname+s.search,options:o}},processStripeOffSessionWebhooks(e={}){const r="/v2/webhooks/stripe/off-session",t=new URL(r,"http://placeholder");let s;a&&(s=a.baseOptions);const n={method:"POST",...s,...e},o={};return Object.entries({...{},...e.query}).forEach(([l,d])=>{d!==void 0&&t.searchParams.set(l,String(d))}),n.headers={...o,...e.headers},{url:t.pathname+t.search,options:n}},processStripeWebhooks(e={}){const r="/v2/webhooks/stripe",t=new URL(r,"http://placeholder");let s;a&&(s=a.baseOptions);const n={method:"POST",...s,...e},o={};return Object.entries({...{},...e.query}).forEach(([l,d])=>{d!==void 0&&t.searchParams.set(l,String(d))}),n.headers={...o,...e.headers},{url:t.pathname+t.search,options:n}},processTwilioIvrWebhooks(e,r={}){if(e==null)throw new h("ivrCallId","Required parameter ivrCallId was null or undefined when calling processTwilioIvrWebhooks.");const t="/v2/webhooks/twilio-ivr/{ivrCallId}".replace("{ivrCallId}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"POST",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},processTwilioIvrWebhooksWithGatherAction(e,r,t={}){if(e==null)throw new h("ivrCallId","Required parameter ivrCallId was null or undefined when calling processTwilioIvrWebhooksWithGatherAction.");if(r==null)throw new h("gatherAction","Required parameter gatherAction was null or undefined when calling processTwilioIvrWebhooksWithGatherAction.");const s="/v2/webhooks/twilio-ivr/{ivrCallId}/gather-action/{gatherAction}".replace("{ivrCallId}",encodeURIComponent(String(e))).replace("{gatherAction}",encodeURIComponent(String(r))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"POST",...o,...t},l={};return Object.entries({...{},...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},{url:n.pathname+n.search,options:i}},processTwilioVoicemailWebhook(e,r={}){if(e==null)throw new h("from","Required parameter from was null or undefined when calling processTwilioVoicemailWebhook.");const t="/v2/webhooks/twilio-voicemail",s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"POST",...n,...r},i={},l={};return e!==void 0&&(l.From=e),Object.entries({...l,...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}}}},N=function(a){return{processPlaidWebhooks(e,r){const t=T(a).processPlaidWebhooks(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},processSendGridWebhooks(e,r){const t=T(a).processSendGridWebhooks(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},processStripeOffSessionWebhooks(e){const r=T(a).processStripeOffSessionWebhooks(e);return(t=p,s=u)=>{const n={...r.options,url:s+r.url};return t.request(n)}},processStripeWebhooks(e){const r=T(a).processStripeWebhooks(e);return(t=p,s=u)=>{const n={...r.options,url:s+r.url};return t.request(n)}},processTwilioIvrWebhooks(e,r){const t=T(a).processTwilioIvrWebhooks(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},processTwilioIvrWebhooksWithGatherAction(e,r,t){const s=T(a).processTwilioIvrWebhooksWithGatherAction(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},processTwilioVoicemailWebhook(e,r){const t=T(a).processTwilioVoicemailWebhook(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}}}},il=function(a,e,r){return{processPlaidWebhooks(t,s){return N(a).processPlaidWebhooks(t,s)(r,e)},processSendGridWebhooks(t,s){return N(a).processSendGridWebhooks(t,s)(r,e)},processStripeOffSessionWebhooks(t){return N(a).processStripeOffSessionWebhooks(t)(r,e)},processStripeWebhooks(t){return N(a).processStripeWebhooks(t)(r,e)},processTwilioIvrWebhooks(t,s){return N(a).processTwilioIvrWebhooks(t,s)(r,e)},processTwilioIvrWebhooksWithGatherAction(t,s,n){return N(a).processTwilioIvrWebhooksWithGatherAction(t,s,n)(r,e)},processTwilioVoicemailWebhook(t,s){return N(a).processTwilioVoicemailWebhook(t,s)(r,e)}}};class ll extends R{processPlaidWebhooks(e,r){return N(this.configuration).processPlaidWebhooks(e,r)(this.axios,this.basePath)}processSendGridWebhooks(e,r){return N(this.configuration).processSendGridWebhooks(e,r)(this.axios,this.basePath)}processStripeOffSessionWebhooks(e){return N(this.configuration).processStripeOffSessionWebhooks(e)(this.axios,this.basePath)}processStripeWebhooks(e){return N(this.configuration).processStripeWebhooks(e)(this.axios,this.basePath)}processTwilioIvrWebhooks(e,r){return N(this.configuration).processTwilioIvrWebhooks(e,r)(this.axios,this.basePath)}processTwilioIvrWebhooksWithGatherAction(e,r,t){return N(this.configuration).processTwilioIvrWebhooksWithGatherAction(e,r,t)(this.axios,this.basePath)}processTwilioVoicemailWebhook(e,r){return N(this.configuration).processTwilioVoicemailWebhook(e,r)(this.axios,this.basePath)}}async function cl(a,e,r=p,t=u,s){const n=T(e).processPlaidWebhooks(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function dl(a,e,r=p,t=u,s){const n=T(e).processSendGridWebhooks(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function ul(a,e=p,r=u,t){const s=T(a).processStripeOffSessionWebhooks(t),n={...s.options,url:r+s.url};return(await e.request(n)).data}async function pl(a,e=p,r=u,t){const s=T(a).processStripeWebhooks(t),n={...s.options,url:r+s.url};return(await e.request(n)).data}async function hl(a,e,r=p,t=u,s){const n=T(e).processTwilioIvrWebhooks(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function ml(a,e,r,t=p,s=u,n){const o=T(r).processTwilioIvrWebhooksWithGatherAction(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function Al(a,e,r=p,t=u,s){const n=T(e).processTwilioVoicemailWebhook(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}const Be=function(a){return{createInsuranceClaim(e,r,t={}){if(e==null)throw new h("policyId","Required parameter policyId was null or undefined when calling createInsuranceClaim.");if(r==null)throw new h("createInsuranceClaimDTO","Required parameter createInsuranceClaimDTO was null or undefined when calling createInsuranceClaim.");const s="/v2/policies/{policyId}/claim".replace("{policyId}",encodeURIComponent(String(e))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"POST",...o,...t},l={},d={};return l["Content-Type"]="application/json",Object.entries({...d,...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:n.pathname+n.search,options:i}},getInsuranceClaim(e,r={}){if(e==null)throw new h("policyId","Required parameter policyId was null or undefined when calling getInsuranceClaim.");const t="/v2/policies/{policyId}/claim".replace("{policyId}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},resolveInsuranceClaim(e,r,t={}){if(e==null)throw new h("policyId","Required parameter policyId was null or undefined when calling resolveInsuranceClaim.");if(r==null)throw new h("resolveInsuranceClaimDTO","Required parameter resolveInsuranceClaimDTO was null or undefined when calling resolveInsuranceClaim.");const s="/v2/policies/{policyId}/claim/resolve".replace("{policyId}",encodeURIComponent(String(e))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"POST",...o,...t},l={},d={};return l["Content-Type"]="application/json",Object.entries({...d,...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:n.pathname+n.search,options:i}}}},Fe=function(a){return{createInsuranceClaim(e,r,t){const s=Be(a).createInsuranceClaim(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},getInsuranceClaim(e,r){const t=Be(a).getInsuranceClaim(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},resolveInsuranceClaim(e,r,t){const s=Be(a).resolveInsuranceClaim(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}}}},Rl=function(a,e,r){return{createInsuranceClaim(t,s,n){return Fe(a).createInsuranceClaim(t,s,n)(r,e)},getInsuranceClaim(t,s){return Fe(a).getInsuranceClaim(t,s)(r,e)},resolveInsuranceClaim(t,s,n){return Fe(a).resolveInsuranceClaim(t,s,n)(r,e)}}};class Il extends R{createInsuranceClaim(e,r,t){return Fe(this.configuration).createInsuranceClaim(e,r,t)(this.axios,this.basePath)}getInsuranceClaim(e,r){return Fe(this.configuration).getInsuranceClaim(e,r)(this.axios,this.basePath)}resolveInsuranceClaim(e,r,t){return Fe(this.configuration).resolveInsuranceClaim(e,r,t)(this.axios,this.basePath)}}async function Pl(a,e,r,t=p,s=u,n){const o=Be(r).createInsuranceClaim(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function gl(a,e,r=p,t=u,s){const n=Be(e).getInsuranceClaim(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function wl(a,e,r,t=p,s=u,n){const o=Be(r).resolveInsuranceClaim(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}const zr=function(a){return{getIntegrators(e={}){const r="/v2/integrator",t=new URL(r,"http://placeholder");let s;a&&(s=a.baseOptions);const n={method:"GET",...s,...e},o={};return Object.entries({...{},...e.query}).forEach(([l,d])=>{d!==void 0&&t.searchParams.set(l,String(d))}),n.headers={...o,...e.headers},{url:t.pathname+t.search,options:n}}}},$r=function(a){return{getIntegrators(e){const r=zr(a).getIntegrators(e);return(t=p,s=u)=>{const n={...r.options,url:s+r.url};return t.request(n)}}}},Ol=function(a,e,r){return{getIntegrators(t){return $r(a).getIntegrators(t)(r,e)}}};class fl extends R{getIntegrators(e){return $r(this.configuration).getIntegrators(e)(this.axios,this.basePath)}}async function yl(a,e=p,r=u,t){const s=zr(a).getIntegrators(t),n={...s.options,url:r+s.url};return(await e.request(n)).data}const Wr=function(a){return{generateLastMonthCommission(e,r={}){if(e==null)throw new h("integratorId","Required parameter integratorId was null or undefined when calling generateLastMonthCommission.");const t="/v2/integrator/{integratorId}/commission".replace("{integratorId}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"POST",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}}}},Jr=function(a){return{generateLastMonthCommission(e,r){const t=Wr(a).generateLastMonthCommission(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}}}},El=function(a,e,r){return{generateLastMonthCommission(t,s){return Jr(a).generateLastMonthCommission(t,s)(r,e)}}};class Cl extends R{generateLastMonthCommission(e,r){return Jr(this.configuration).generateLastMonthCommission(e,r)(this.axios,this.basePath)}}async function Vl(a,e,r=p,t=u,s){const n=Wr(e).generateLastMonthCommission(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}const ur=function(a){return{getCompletedReposits(e={}){const r="/v2/internal-reports/completed-reposits",t=new URL(r,"http://placeholder");let s;a&&(s=a.baseOptions);const n={method:"GET",...s,...e},o={};return Object.entries({...{},...e.query}).forEach(([l,d])=>{d!==void 0&&t.searchParams.set(l,String(d))}),n.headers={...o,...e.headers},{url:t.pathname+t.search,options:n}},getCreatedReposits(e={}){const r="/v2/internal-reports/created-reposits",t=new URL(r,"http://placeholder");let s;a&&(s=a.baseOptions);const n={method:"GET",...s,...e},o={};return Object.entries({...{},...e.query}).forEach(([l,d])=>{d!==void 0&&t.searchParams.set(l,String(d))}),n.headers={...o,...e.headers},{url:t.pathname+t.search,options:n}}}},pr=function(a){return{getCompletedReposits(e){const r=ur(a).getCompletedReposits(e);return(t=p,s=u)=>{const n={...r.options,url:s+r.url};return t.request(n)}},getCreatedReposits(e){const r=ur(a).getCreatedReposits(e);return(t=p,s=u)=>{const n={...r.options,url:s+r.url};return t.request(n)}}}},ql=function(a,e,r){return{getCompletedReposits(t){return pr(a).getCompletedReposits(t)(r,e)},getCreatedReposits(t){return pr(a).getCreatedReposits(t)(r,e)}}};class _l extends R{getCompletedReposits(e){return pr(this.configuration).getCompletedReposits(e)(this.axios,this.basePath)}getCreatedReposits(e){return pr(this.configuration).getCreatedReposits(e)(this.axios,this.basePath)}}async function vl(a,e=p,r=u,t){const s=ur(a).getCompletedReposits(t),n={...s.options,url:r+s.url};return(await e.request(n)).data}async function bl(a,e=p,r=u,t){const s=ur(a).getCreatedReposits(t),n={...s.options,url:r+s.url};return(await e.request(n)).data}const Kr=function(a){return{findAll(e={}){const r="/v2/internal-team-members",t=new URL(r,"http://placeholder");let s;a&&(s=a.baseOptions);const n={method:"GET",...s,...e},o={};return Object.entries({...{},...e.query}).forEach(([l,d])=>{d!==void 0&&t.searchParams.set(l,String(d))}),n.headers={...o,...e.headers},{url:t.pathname+t.search,options:n}}}},Xr=function(a){return{findAll(e){const r=Kr(a).findAll(e);return(t=p,s=u)=>{const n={...r.options,url:s+r.url};return t.request(n)}}}},Sl=function(a,e,r){return{findAll(t){return Xr(a).findAll(t)(r,e)}}};class Tl extends R{findAll(e){return Xr(this.configuration).findAll(e)(this.axios,this.basePath)}}async function Nl(a,e=p,r=u,t){const s=Kr(a).findAll(t),n={...s.options,url:r+s.url};return(await e.request(n)).data}const Zr=function(a){return{searchKpiDocuments(e,r,t,s,n={}){if(e==null)throw new h("from","Required parameter from was null or undefined when calling searchKpiDocuments.");if(r==null)throw new h("to","Required parameter to was null or undefined when calling searchKpiDocuments.");if(t==null)throw new h("page","Required parameter page was null or undefined when calling searchKpiDocuments.");if(s==null)throw new h("size","Required parameter size was null or undefined when calling searchKpiDocuments.");const o="/v2/kpis/documents/search",i=new URL(o,"http://placeholder");let l;a&&(l=a.baseOptions);const d={method:"GET",...l,...n},c={},m={};return e!==void 0&&(m.from=e),r!==void 0&&(m.to=r),t!==void 0&&(m.page=t),s!==void 0&&(m.size=s),Object.entries({...m,...n.query}).forEach(([A,I])=>{I!==void 0&&i.searchParams.set(A,String(I))}),d.headers={...c,...n.headers},{url:i.pathname+i.search,options:d}}}},et=function(a){return{searchKpiDocuments(e,r,t,s,n){const o=Zr(a).searchKpiDocuments(e,r,t,s,n);return(i=p,l=u)=>{const d={...o.options,url:l+o.url};return i.request(d)}}}},xl=function(a,e,r){return{searchKpiDocuments(t,s,n,o,i){return et(a).searchKpiDocuments(t,s,n,o,i)(r,e)}}};class Ul extends R{searchKpiDocuments(e,r,t,s,n){return et(this.configuration).searchKpiDocuments(e,r,t,s,n)(this.axios,this.basePath)}}async function Dl(a,e,r,t,s,n=p,o=u,i){const l=Zr(s).searchKpiDocuments(a,e,r,t,i),d={...l.options,url:o+l.url};return(await n.request(d)).data}const hr=function(a){return{getLandlordById(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling getLandlordById.");const t="/v2/landlords/{id}".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},updateLandlord(e,r,t={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling updateLandlord.");if(r==null)throw new h("updateLandlordDTO","Required parameter updateLandlordDTO was null or undefined when calling updateLandlord.");const s="/v2/landlords/{id}".replace("{id}",encodeURIComponent(String(e))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"PATCH",...o,...t},l={},d={};return l["Content-Type"]="application/json",Object.entries({...d,...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:n.pathname+n.search,options:i}}}},mr=function(a){return{getLandlordById(e,r){const t=hr(a).getLandlordById(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},updateLandlord(e,r,t){const s=hr(a).updateLandlord(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}}}},Ll=function(a,e,r){return{getLandlordById(t,s){return mr(a).getLandlordById(t,s)(r,e)},updateLandlord(t,s,n){return mr(a).updateLandlord(t,s,n)(r,e)}}};class Bl extends R{getLandlordById(e,r){return mr(this.configuration).getLandlordById(e,r)(this.axios,this.basePath)}updateLandlord(e,r,t){return mr(this.configuration).updateLandlord(e,r,t)(this.axios,this.basePath)}}async function Fl(a,e,r=p,t=u,s){const n=hr(e).getLandlordById(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function jl(a,e,r,t=p,s=u,n){const o=hr(r).updateLandlord(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}const rt=function(a){return{processIncomingMessage(e,r={}){if(e==null)throw new h("queueMessageDTO","Required parameter queueMessageDTO was null or undefined when calling processIncomingMessage.");const t="/v2/message-queue",s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"POST",...n,...r},i={},l={};return i["Content-Type"]="application/json",Object.entries({...l,...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},o.data=JSON.stringify(e!==void 0?e:{}),{url:s.pathname+s.search,options:o}}}},tt=function(a){return{processIncomingMessage(e,r){const t=rt(a).processIncomingMessage(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}}}},Ml=function(a,e,r){return{processIncomingMessage(t,s){return tt(a).processIncomingMessage(t,s)(r,e)}}};class Hl extends R{processIncomingMessage(e,r){return tt(this.configuration).processIncomingMessage(e,r)(this.axios,this.basePath)}}async function Gl(a,e,r=p,t=u,s){const n=rt(e).processIncomingMessage(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}const H=function(a){return{completeMyDepositsSetup(e,r,t={}){if(e==null)throw new h("organizationId","Required parameter organizationId was null or undefined when calling completeMyDepositsSetup.");if(r==null)throw new h("myDepositsCompleteSetupRequestDTO","Required parameter myDepositsCompleteSetupRequestDTO was null or undefined when calling completeMyDepositsSetup.");const s="/v2/my-deposits/oauth/complete-setup",n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"POST",...o,...t},l={},d={};return e!==void 0&&(d.organizationId=e),l["Content-Type"]="application/json",Object.entries({...d,...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:n.pathname+n.search,options:i}},disconnectMyDeposits(e,r={}){if(e==null)throw new h("organizationId","Required parameter organizationId was null or undefined when calling disconnectMyDeposits.");const t="/v2/my-deposits/oauth/disconnect",s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"POST",...n,...r},i={},l={};return e!==void 0&&(l.organizationId=e),Object.entries({...l,...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},exchangeMyDepositsToken(e,r={}){if(e==null)throw new h("myDepositsExchangeTokenRequestDTO","Required parameter myDepositsExchangeTokenRequestDTO was null or undefined when calling exchangeMyDepositsToken.");const t="/v2/my-deposits/oauth/token",s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"POST",...n,...r},i={},l={};return i["Content-Type"]="application/json",Object.entries({...l,...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},o.data=JSON.stringify(e!==void 0?e:{}),{url:s.pathname+s.search,options:o}},getMyDepositsAuthorizeUrl(e,r={}){if(e==null)throw new h("organizationId","Required parameter organizationId was null or undefined when calling getMyDepositsAuthorizeUrl.");const t="/v2/my-deposits/oauth/authorize",s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={},l={};return e!==void 0&&(l.organizationId=e),Object.entries({...l,...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},getMyDepositsCompanyOffices(e,r={}){if(e==null)throw new h("organizationId","Required parameter organizationId was null or undefined when calling getMyDepositsCompanyOffices.");const t="/v2/my-deposits/oauth/company-offices",s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={},l={};return e!==void 0&&(l.organizationId=e),Object.entries({...l,...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},getMyDepositsOnboardingStatus(e,r={}){if(e==null)throw new h("organizationId","Required parameter organizationId was null or undefined when calling getMyDepositsOnboardingStatus.");const t="/v2/my-deposits/oauth/onboarding-status",s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={},l={};return e!==void 0&&(l.organizationId=e),Object.entries({...l,...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}}}},G=function(a){return{completeMyDepositsSetup(e,r,t){const s=H(a).completeMyDepositsSetup(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},disconnectMyDeposits(e,r){const t=H(a).disconnectMyDeposits(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},exchangeMyDepositsToken(e,r){const t=H(a).exchangeMyDepositsToken(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},getMyDepositsAuthorizeUrl(e,r){const t=H(a).getMyDepositsAuthorizeUrl(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},getMyDepositsCompanyOffices(e,r){const t=H(a).getMyDepositsCompanyOffices(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},getMyDepositsOnboardingStatus(e,r){const t=H(a).getMyDepositsOnboardingStatus(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}}}},kl=function(a,e,r){return{completeMyDepositsSetup(t,s,n){return G(a).completeMyDepositsSetup(t,s,n)(r,e)},disconnectMyDeposits(t,s){return G(a).disconnectMyDeposits(t,s)(r,e)},exchangeMyDepositsToken(t,s){return G(a).exchangeMyDepositsToken(t,s)(r,e)},getMyDepositsAuthorizeUrl(t,s){return G(a).getMyDepositsAuthorizeUrl(t,s)(r,e)},getMyDepositsCompanyOffices(t,s){return G(a).getMyDepositsCompanyOffices(t,s)(r,e)},getMyDepositsOnboardingStatus(t,s){return G(a).getMyDepositsOnboardingStatus(t,s)(r,e)}}};class Ql extends R{completeMyDepositsSetup(e,r,t){return G(this.configuration).completeMyDepositsSetup(e,r,t)(this.axios,this.basePath)}disconnectMyDeposits(e,r){return G(this.configuration).disconnectMyDeposits(e,r)(this.axios,this.basePath)}exchangeMyDepositsToken(e,r){return G(this.configuration).exchangeMyDepositsToken(e,r)(this.axios,this.basePath)}getMyDepositsAuthorizeUrl(e,r){return G(this.configuration).getMyDepositsAuthorizeUrl(e,r)(this.axios,this.basePath)}getMyDepositsCompanyOffices(e,r){return G(this.configuration).getMyDepositsCompanyOffices(e,r)(this.axios,this.basePath)}getMyDepositsOnboardingStatus(e,r){return G(this.configuration).getMyDepositsOnboardingStatus(e,r)(this.axios,this.basePath)}}async function Yl(a,e,r,t=p,s=u,n){const o=H(r).completeMyDepositsSetup(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function zl(a,e,r=p,t=u,s){const n=H(e).disconnectMyDeposits(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function $l(a,e,r=p,t=u,s){const n=H(e).exchangeMyDepositsToken(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function Wl(a,e,r=p,t=u,s){const n=H(e).getMyDepositsAuthorizeUrl(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function Jl(a,e,r=p,t=u,s){const n=H(e).getMyDepositsCompanyOffices(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function Kl(a,e,r=p,t=u,s){const n=H(e).getMyDepositsOnboardingStatus(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}const at=function(a){return{createNetPromoterScore(e,r={}){if(e==null)throw new h("createNetPromoterScoreDTO","Required parameter createNetPromoterScoreDTO was null or undefined when calling createNetPromoterScore.");const t="/v2/net-promoter-score",s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"POST",...n,...r},i={},l={};return i["Content-Type"]="application/json",Object.entries({...l,...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},o.data=JSON.stringify(e!==void 0?e:{}),{url:s.pathname+s.search,options:o}}}},st=function(a){return{createNetPromoterScore(e,r){const t=at(a).createNetPromoterScore(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}}}},Xl=function(a,e,r){return{createNetPromoterScore(t,s){return st(a).createNetPromoterScore(t,s)(r,e)}}};class Zl extends R{createNetPromoterScore(e,r){return st(this.configuration).createNetPromoterScore(e,r)(this.axios,this.basePath)}}async function ec(a,e,r=p,t=u,s){const n=at(e).createNetPromoterScore(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}const x=function(a){return{aboutYou(e,r,t,s={}){if(e==null)throw new h("orderId","Required parameter orderId was null or undefined when calling aboutYou.");if(r==null)throw new h("customerId","Required parameter customerId was null or undefined when calling aboutYou.");if(t==null)throw new h("updateAboutYouAttributesDTO","Required parameter updateAboutYouAttributesDTO was null or undefined when calling aboutYou.");const n="/v2/orders/{orderId}/customers/{customerId}/actions/about-you".replace("{orderId}",encodeURIComponent(String(e))).replace("{customerId}",encodeURIComponent(String(r))),o=new URL(n,"http://placeholder");let i;a&&(i=a.baseOptions);const l={method:"PATCH",...i,...s},d={},c={};return d["Content-Type"]="application/json",Object.entries({...c,...s.query}).forEach(([m,A])=>{A!==void 0&&o.searchParams.set(m,String(A))}),l.headers={...d,...s.headers},l.data=JSON.stringify(t!==void 0?t:{}),{url:o.pathname+o.search,options:l}},addressHistory(e,r,t,s={}){if(e==null)throw new h("orderId","Required parameter orderId was null or undefined when calling addressHistory.");if(r==null)throw new h("customerId","Required parameter customerId was null or undefined when calling addressHistory.");if(t==null)throw new h("updateAddressHistoryAttributesDTO","Required parameter updateAddressHistoryAttributesDTO was null or undefined when calling addressHistory.");const n="/v2/orders/{orderId}/customers/{customerId}/actions/address-history".replace("{orderId}",encodeURIComponent(String(e))).replace("{customerId}",encodeURIComponent(String(r))),o=new URL(n,"http://placeholder");let i;a&&(i=a.baseOptions);const l={method:"PATCH",...i,...s},d={},c={};return d["Content-Type"]="application/json",Object.entries({...c,...s.query}).forEach(([m,A])=>{A!==void 0&&o.searchParams.set(m,String(A))}),l.headers={...d,...s.headers},l.data=JSON.stringify(t!==void 0?t:{}),{url:o.pathname+o.search,options:l}},confirm(e,r,t={}){if(e==null)throw new h("orderId","Required parameter orderId was null or undefined when calling confirm.");if(r==null)throw new h("customerId","Required parameter customerId was null or undefined when calling confirm.");const s="/v2/orders/{orderId}/customers/{customerId}/actions/confirm".replace("{orderId}",encodeURIComponent(String(e))).replace("{customerId}",encodeURIComponent(String(r))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"PATCH",...o,...t},l={};return Object.entries({...{},...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},{url:n.pathname+n.search,options:i}},pay(e,r,t,s={}){if(e==null)throw new h("orderId","Required parameter orderId was null or undefined when calling pay.");if(r==null)throw new h("customerId","Required parameter customerId was null or undefined when calling pay.");const n="/v2/orders/{orderId}/customers/{customerId}/actions/pay".replace("{orderId}",encodeURIComponent(String(e))).replace("{customerId}",encodeURIComponent(String(r))),o=new URL(n,"http://placeholder");let i;a&&(i=a.baseOptions);const l={method:"GET",...i,...s},d={},c={};return t!==void 0&&(c.customerActionType=t),Object.entries({...c,...s.query}).forEach(([m,A])=>{A!==void 0&&o.searchParams.set(m,String(A))}),l.headers={...d,...s.headers},{url:o.pathname+o.search,options:l}},reference(e,r,t={}){if(e==null)throw new h("orderId","Required parameter orderId was null or undefined when calling reference.");if(r==null)throw new h("customerId","Required parameter customerId was null or undefined when calling reference.");const s="/v2/orders/{orderId}/customers/{customerId}/actions/reference".replace("{orderId}",encodeURIComponent(String(e))).replace("{customerId}",encodeURIComponent(String(r))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"POST",...o,...t},l={};return Object.entries({...{},...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},{url:n.pathname+n.search,options:i}},sign(e,r,t={}){if(e==null)throw new h("orderId","Required parameter orderId was null or undefined when calling sign.");if(r==null)throw new h("customerId","Required parameter customerId was null or undefined when calling sign.");const s="/v2/orders/{orderId}/customers/{customerId}/actions/sign".replace("{orderId}",encodeURIComponent(String(e))).replace("{customerId}",encodeURIComponent(String(r))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"PATCH",...o,...t},l={};return Object.entries({...{},...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},{url:n.pathname+n.search,options:i}},signAddendumForTenant(e,r,t={}){if(e==null)throw new h("orderId","Required parameter orderId was null or undefined when calling signAddendumForTenant.");if(r==null)throw new h("customerId","Required parameter customerId was null or undefined when calling signAddendumForTenant.");const s="/v2/orders/{orderId}/customers/{customerId}/actions/sign-addendum".replace("{orderId}",encodeURIComponent(String(e))).replace("{customerId}",encodeURIComponent(String(r))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"PATCH",...o,...t},l={};return Object.entries({...{},...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},{url:n.pathname+n.search,options:i}}}},U=function(a){return{aboutYou(e,r,t,s){const n=x(a).aboutYou(e,r,t,s);return(o=p,i=u)=>{const l={...n.options,url:i+n.url};return o.request(l)}},addressHistory(e,r,t,s){const n=x(a).addressHistory(e,r,t,s);return(o=p,i=u)=>{const l={...n.options,url:i+n.url};return o.request(l)}},confirm(e,r,t){const s=x(a).confirm(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},pay(e,r,t,s){const n=x(a).pay(e,r,t,s);return(o=p,i=u)=>{const l={...n.options,url:i+n.url};return o.request(l)}},reference(e,r,t){const s=x(a).reference(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},sign(e,r,t){const s=x(a).sign(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},signAddendumForTenant(e,r,t){const s=x(a).signAddendumForTenant(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}}}},rc=function(a,e,r){return{aboutYou(t,s,n,o){return U(a).aboutYou(t,s,n,o)(r,e)},addressHistory(t,s,n,o){return U(a).addressHistory(t,s,n,o)(r,e)},confirm(t,s,n){return U(a).confirm(t,s,n)(r,e)},pay(t,s,n,o){return U(a).pay(t,s,n,o)(r,e)},reference(t,s,n){return U(a).reference(t,s,n)(r,e)},sign(t,s,n){return U(a).sign(t,s,n)(r,e)},signAddendumForTenant(t,s,n){return U(a).signAddendumForTenant(t,s,n)(r,e)}}};class tc extends R{aboutYou(e,r,t,s){return U(this.configuration).aboutYou(e,r,t,s)(this.axios,this.basePath)}addressHistory(e,r,t,s){return U(this.configuration).addressHistory(e,r,t,s)(this.axios,this.basePath)}confirm(e,r,t){return U(this.configuration).confirm(e,r,t)(this.axios,this.basePath)}pay(e,r,t,s){return U(this.configuration).pay(e,r,t,s)(this.axios,this.basePath)}reference(e,r,t){return U(this.configuration).reference(e,r,t)(this.axios,this.basePath)}sign(e,r,t){return U(this.configuration).sign(e,r,t)(this.axios,this.basePath)}signAddendumForTenant(e,r,t){return U(this.configuration).signAddendumForTenant(e,r,t)(this.axios,this.basePath)}}async function ac(a,e,r,t,s=p,n=u,o){const i=x(t).aboutYou(a,e,r,o),l={...i.options,url:n+i.url};return(await s.request(l)).data}async function sc(a,e,r,t,s=p,n=u,o){const i=x(t).addressHistory(a,e,r,o),l={...i.options,url:n+i.url};return(await s.request(l)).data}async function nc(a,e,r,t=p,s=u,n){const o=x(r).confirm(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function oc(a,e,r,t,s=p,n=u,o){const i=x(t).pay(a,e,r,o),l={...i.options,url:n+i.url};return(await s.request(l)).data}async function ic(a,e,r,t=p,s=u,n){const o=x(r).reference(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function lc(a,e,r,t=p,s=u,n){const o=x(r).sign(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function cc(a,e,r,t=p,s=u,n){const o=x(r).signAddendumForTenant(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}const je=function(a){return{getOrderCustomerById(e,r,t={}){if(e==null)throw new h("orderId","Required parameter orderId was null or undefined when calling getOrderCustomerById.");if(r==null)throw new h("customerId","Required parameter customerId was null or undefined when calling getOrderCustomerById.");const s="/v2/orders/{orderId}/customers/{customerId}".replace("{orderId}",encodeURIComponent(String(e))).replace("{customerId}",encodeURIComponent(String(r))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"GET",...o,...t},l={};return Object.entries({...{},...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},{url:n.pathname+n.search,options:i}},getTenancyUserById(e,r,t={}){if(e==null)throw new h("orderId","Required parameter orderId was null or undefined when calling getTenancyUserById.");if(r==null)throw new h("customerId","Required parameter customerId was null or undefined when calling getTenancyUserById.");const s="/v2/orders/{orderId}/customers/{customerId}/tenancy-user".replace("{orderId}",encodeURIComponent(String(e))).replace("{customerId}",encodeURIComponent(String(r))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"GET",...o,...t},l={};return Object.entries({...{},...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},{url:n.pathname+n.search,options:i}},paymentCardChecks(e,r,t,s={}){if(e==null)throw new h("orderId","Required parameter orderId was null or undefined when calling paymentCardChecks.");if(r==null)throw new h("customerId","Required parameter customerId was null or undefined when calling paymentCardChecks.");if(t==null)throw new h("paymentMethodChecksRequestDTO","Required parameter paymentMethodChecksRequestDTO was null or undefined when calling paymentCardChecks.");const n="/v2/orders/{orderId}/customers/{customerId}/payment-card-checks".replace("{orderId}",encodeURIComponent(String(e))).replace("{customerId}",encodeURIComponent(String(r))),o=new URL(n,"http://placeholder");let i;a&&(i=a.baseOptions);const l={method:"POST",...i,...s},d={},c={};return d["Content-Type"]="application/json",Object.entries({...c,...s.query}).forEach(([m,A])=>{A!==void 0&&o.searchParams.set(m,String(A))}),l.headers={...d,...s.headers},l.data=JSON.stringify(t!==void 0?t:{}),{url:o.pathname+o.search,options:l}}}},Me=function(a){return{getOrderCustomerById(e,r,t){const s=je(a).getOrderCustomerById(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},getTenancyUserById(e,r,t){const s=je(a).getTenancyUserById(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},paymentCardChecks(e,r,t,s){const n=je(a).paymentCardChecks(e,r,t,s);return(o=p,i=u)=>{const l={...n.options,url:i+n.url};return o.request(l)}}}},dc=function(a,e,r){return{getOrderCustomerById(t,s,n){return Me(a).getOrderCustomerById(t,s,n)(r,e)},getTenancyUserById(t,s,n){return Me(a).getTenancyUserById(t,s,n)(r,e)},paymentCardChecks(t,s,n,o){return Me(a).paymentCardChecks(t,s,n,o)(r,e)}}};class uc extends R{getOrderCustomerById(e,r,t){return Me(this.configuration).getOrderCustomerById(e,r,t)(this.axios,this.basePath)}getTenancyUserById(e,r,t){return Me(this.configuration).getTenancyUserById(e,r,t)(this.axios,this.basePath)}paymentCardChecks(e,r,t,s){return Me(this.configuration).paymentCardChecks(e,r,t,s)(this.axios,this.basePath)}}async function pc(a,e,r,t=p,s=u,n){const o=je(r).getOrderCustomerById(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function hc(a,e,r,t=p,s=u,n){const o=je(r).getTenancyUserById(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function mc(a,e,r,t,s=p,n=u,o){const i=je(t).paymentCardChecks(a,e,r,o),l={...i.options,url:n+i.url};return(await s.request(l)).data}const Ar=function(a){return{duplicatePaymentMethodCheck(e,r,t={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling duplicatePaymentMethodCheck.");if(r==null)throw new h("duplicatePaymentMethodCheckDTO","Required parameter duplicatePaymentMethodCheckDTO was null or undefined when calling duplicatePaymentMethodCheck.");const s="/v2/orders/{id}/duplicate-payment-method-check".replace("{id}",encodeURIComponent(String(e))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"POST",...o,...t},l={},d={};return l["Content-Type"]="application/json",Object.entries({...d,...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:n.pathname+n.search,options:i}},getAmountRemaining(e,r,t={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling getAmountRemaining.");if(r==null)throw new h("includeInterest","Required parameter includeInterest was null or undefined when calling getAmountRemaining.");const s="/v2/orders/{id}/amount-remaining".replace("{id}",encodeURIComponent(String(e))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"GET",...o,...t},l={},d={};return r!==void 0&&(d.includeInterest=r),Object.entries({...d,...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},{url:n.pathname+n.search,options:i}}}},Rr=function(a){return{duplicatePaymentMethodCheck(e,r,t){const s=Ar(a).duplicatePaymentMethodCheck(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},getAmountRemaining(e,r,t){const s=Ar(a).getAmountRemaining(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}}}},Ac=function(a,e,r){return{duplicatePaymentMethodCheck(t,s,n){return Rr(a).duplicatePaymentMethodCheck(t,s,n)(r,e)},getAmountRemaining(t,s,n){return Rr(a).getAmountRemaining(t,s,n)(r,e)}}};class Rc extends R{duplicatePaymentMethodCheck(e,r,t){return Rr(this.configuration).duplicatePaymentMethodCheck(e,r,t)(this.axios,this.basePath)}getAmountRemaining(e,r,t){return Rr(this.configuration).getAmountRemaining(e,r,t)(this.axios,this.basePath)}}async function Ic(a,e,r,t=p,s=u,n){const o=Ar(r).duplicatePaymentMethodCheck(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function Pc(a,e,r,t=p,s=u,n){const o=Ar(r).getAmountRemaining(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}const He=function(a){return{create(e,r,t={}){if(e==null)throw new h("organizationId","Required parameter organizationId was null or undefined when calling create.");if(r==null)throw new h("createOrganizationBankAccountDTO","Required parameter createOrganizationBankAccountDTO was null or undefined when calling create.");const s="/v2/organizations/{organizationId}/bank-accounts".replace("{organizationId}",encodeURIComponent(String(e))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"POST",...o,...t},l={},d={};return l["Content-Type"]="application/json",Object.entries({...d,...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:n.pathname+n.search,options:i}},deleteBankAccount(e,r,t={}){if(e==null)throw new h("organizationId","Required parameter organizationId was null or undefined when calling deleteBankAccount.");if(r==null)throw new h("id","Required parameter id was null or undefined when calling deleteBankAccount.");const s="/v2/organizations/{organizationId}/bank-accounts/{id}".replace("{organizationId}",encodeURIComponent(String(e))).replace("{id}",encodeURIComponent(String(r))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"DELETE",...o,...t},l={};return Object.entries({...{},...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},{url:n.pathname+n.search,options:i}},getBankAccounts(e,r={}){if(e==null)throw new h("organizationId","Required parameter organizationId was null or undefined when calling getBankAccounts.");const t="/v2/organizations/{organizationId}/bank-accounts".replace("{organizationId}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}}}},Ge=function(a){return{create(e,r,t){const s=He(a).create(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},deleteBankAccount(e,r,t){const s=He(a).deleteBankAccount(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},getBankAccounts(e,r){const t=He(a).getBankAccounts(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}}}},gc=function(a,e,r){return{create(t,s,n){return Ge(a).create(t,s,n)(r,e)},deleteBankAccount(t,s,n){return Ge(a).deleteBankAccount(t,s,n)(r,e)},getBankAccounts(t,s){return Ge(a).getBankAccounts(t,s)(r,e)}}};class wc extends R{create(e,r,t){return Ge(this.configuration).create(e,r,t)(this.axios,this.basePath)}deleteBankAccount(e,r,t){return Ge(this.configuration).deleteBankAccount(e,r,t)(this.axios,this.basePath)}getBankAccounts(e,r){return Ge(this.configuration).getBankAccounts(e,r)(this.axios,this.basePath)}}async function Oc(a,e,r,t=p,s=u,n){const o=He(r).create(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function fc(a,e,r,t=p,s=u,n){const o=He(r).deleteBankAccount(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function yc(a,e,r=p,t=u,s){const n=He(e).getBankAccounts(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}const nt=function(a){return{getOwners(e,r={}){if(e==null)throw new h("organizationId","Required parameter organizationId was null or undefined when calling getOwners.");const t="/v2/organizations/{organizationId}/internal-owners".replace("{organizationId}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}}}},ot=function(a){return{getOwners(e,r){const t=nt(a).getOwners(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}}}},Ec=function(a,e,r){return{getOwners(t,s){return ot(a).getOwners(t,s)(r,e)}}};class Cc extends R{getOwners(e,r){return ot(this.configuration).getOwners(e,r)(this.axios,this.basePath)}}async function Vc(a,e,r=p,t=u,s){const n=nt(e).getOwners(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}const de=function(a){return{acceptOrganizationInvite(e,r,t={}){if(e==null)throw new h("token","Required parameter token was null or undefined when calling acceptOrganizationInvite.");if(r==null)throw new h("organizationId","Required parameter organizationId was null or undefined when calling acceptOrganizationInvite.");const s="/v2/organizations/{organizationId}/invites/accept".replace("{organizationId}",encodeURIComponent(String(r))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"GET",...o,...t},l={},d={};return e!==void 0&&(d.token=e),Object.entries({...d,...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},{url:n.pathname+n.search,options:i}},createOrganizationInvite(e,r,t={}){if(e==null)throw new h("organizationId","Required parameter organizationId was null or undefined when calling createOrganizationInvite.");if(r==null)throw new h("createOrganizationInviteDTO","Required parameter createOrganizationInviteDTO was null or undefined when calling createOrganizationInvite.");const s="/v2/organizations/{organizationId}/invites".replace("{organizationId}",encodeURIComponent(String(e))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"POST",...o,...t},l={},d={};return l["Content-Type"]="application/json",Object.entries({...d,...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:n.pathname+n.search,options:i}},deleteInvite(e,r,t={}){if(e==null)throw new h("organizationInviteId","Required parameter organizationInviteId was null or undefined when calling deleteInvite.");if(r==null)throw new h("organizationId","Required parameter organizationId was null or undefined when calling deleteInvite.");const s="/v2/organizations/{organizationId}/invites/{organizationInviteId}".replace("{organizationInviteId}",encodeURIComponent(String(e))).replace("{organizationId}",encodeURIComponent(String(r))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"DELETE",...o,...t},l={};return Object.entries({...{},...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},{url:n.pathname+n.search,options:i}},fetchInvitesByOrganizationId(e,r,t={}){if(e==null)throw new h("organizationId","Required parameter organizationId was null or undefined when calling fetchInvitesByOrganizationId.");const s="/v2/organizations/{organizationId}/invites".replace("{organizationId}",encodeURIComponent(String(e))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"GET",...o,...t},l={},d={};return r!==void 0&&(d.accepted=r),Object.entries({...d,...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},{url:n.pathname+n.search,options:i}},resendOrganizationInvite(e,r,t={}){if(e==null)throw new h("organizationInviteId","Required parameter organizationInviteId was null or undefined when calling resendOrganizationInvite.");if(r==null)throw new h("organizationId","Required parameter organizationId was null or undefined when calling resendOrganizationInvite.");const s="/v2/organizations/{organizationId}/invites/{organizationInviteId}/resend".replace("{organizationInviteId}",encodeURIComponent(String(e))).replace("{organizationId}",encodeURIComponent(String(r))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"POST",...o,...t},l={};return Object.entries({...{},...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},{url:n.pathname+n.search,options:i}}}},ue=function(a){return{acceptOrganizationInvite(e,r,t){const s=de(a).acceptOrganizationInvite(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},createOrganizationInvite(e,r,t){const s=de(a).createOrganizationInvite(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},deleteInvite(e,r,t){const s=de(a).deleteInvite(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},fetchInvitesByOrganizationId(e,r,t){const s=de(a).fetchInvitesByOrganizationId(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},resendOrganizationInvite(e,r,t){const s=de(a).resendOrganizationInvite(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}}}},qc=function(a,e,r){return{acceptOrganizationInvite(t,s,n){return ue(a).acceptOrganizationInvite(t,s,n)(r,e)},createOrganizationInvite(t,s,n){return ue(a).createOrganizationInvite(t,s,n)(r,e)},deleteInvite(t,s,n){return ue(a).deleteInvite(t,s,n)(r,e)},fetchInvitesByOrganizationId(t,s,n){return ue(a).fetchInvitesByOrganizationId(t,s,n)(r,e)},resendOrganizationInvite(t,s,n){return ue(a).resendOrganizationInvite(t,s,n)(r,e)}}};class _c extends R{acceptOrganizationInvite(e,r,t){return ue(this.configuration).acceptOrganizationInvite(e,r,t)(this.axios,this.basePath)}createOrganizationInvite(e,r,t){return ue(this.configuration).createOrganizationInvite(e,r,t)(this.axios,this.basePath)}deleteInvite(e,r,t){return ue(this.configuration).deleteInvite(e,r,t)(this.axios,this.basePath)}fetchInvitesByOrganizationId(e,r,t){return ue(this.configuration).fetchInvitesByOrganizationId(e,r,t)(this.axios,this.basePath)}resendOrganizationInvite(e,r,t){return ue(this.configuration).resendOrganizationInvite(e,r,t)(this.axios,this.basePath)}}async function vc(a,e,r,t=p,s=u,n){const o=de(r).acceptOrganizationInvite(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function bc(a,e,r,t=p,s=u,n){const o=de(r).createOrganizationInvite(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function Sc(a,e,r,t=p,s=u,n){const o=de(r).deleteInvite(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function Tc(a,e,r,t=p,s=u,n){const o=de(r).fetchInvitesByOrganizationId(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function Nc(a,e,r,t=p,s=u,n){const o=de(r).resendOrganizationInvite(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}const Ir=function(a){return{createOrganizationRecipient(e,r,t={}){if(e==null)throw new h("organizationId","Required parameter organizationId was null or undefined when calling createOrganizationRecipient.");if(r==null)throw new h("createOrganizationRecipientDTO","Required parameter createOrganizationRecipientDTO was null or undefined when calling createOrganizationRecipient.");const s="/v2/organizations/{organizationId}/recipients".replace("{organizationId}",encodeURIComponent(String(e))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"POST",...o,...t},l={},d={};return l["Content-Type"]="application/json",Object.entries({...d,...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:n.pathname+n.search,options:i}},deleteOrganizationRecipient(e,r,t={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling deleteOrganizationRecipient.");if(r==null)throw new h("organizationId","Required parameter organizationId was null or undefined when calling deleteOrganizationRecipient.");const s="/v2/organizations/{organizationId}/recipients/{id}".replace("{id}",encodeURIComponent(String(e))).replace("{organizationId}",encodeURIComponent(String(r))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"DELETE",...o,...t},l={};return Object.entries({...{},...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},{url:n.pathname+n.search,options:i}}}},Pr=function(a){return{createOrganizationRecipient(e,r,t){const s=Ir(a).createOrganizationRecipient(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},deleteOrganizationRecipient(e,r,t){const s=Ir(a).deleteOrganizationRecipient(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}}}},xc=function(a,e,r){return{createOrganizationRecipient(t,s,n){return Pr(a).createOrganizationRecipient(t,s,n)(r,e)},deleteOrganizationRecipient(t,s,n){return Pr(a).deleteOrganizationRecipient(t,s,n)(r,e)}}};class Uc extends R{createOrganizationRecipient(e,r,t){return Pr(this.configuration).createOrganizationRecipient(e,r,t)(this.axios,this.basePath)}deleteOrganizationRecipient(e,r,t){return Pr(this.configuration).deleteOrganizationRecipient(e,r,t)(this.axios,this.basePath)}}async function Dc(a,e,r,t=p,s=u,n){const o=Ir(r).createOrganizationRecipient(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function Lc(a,e,r,t=p,s=u,n){const o=Ir(r).deleteOrganizationRecipient(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}const ke=function(a){return{grantRoles(e,r,t={}){if(e==null)throw new h("userId","Required parameter userId was null or undefined when calling grantRoles.");if(r==null)throw new h("organizationId","Required parameter organizationId was null or undefined when calling grantRoles.");const s="/v2/organizations/{organizationId}/users/{userId}/grant-roles".replace("{userId}",encodeURIComponent(String(e))).replace("{organizationId}",encodeURIComponent(String(r))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"POST",...o,...t},l={};return Object.entries({...{},...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},{url:n.pathname+n.search,options:i}},notifyIntegrator(e,r,t,s={}){if(e==null)throw new h("userId","Required parameter userId was null or undefined when calling notifyIntegrator.");if(r==null)throw new h("organizationId","Required parameter organizationId was null or undefined when calling notifyIntegrator.");if(t==null)throw new h("notifyIntegratorDTO","Required parameter notifyIntegratorDTO was null or undefined when calling notifyIntegrator.");const n="/v2/organizations/{organizationId}/users/{userId}/notify-integrator".replace("{userId}",encodeURIComponent(String(e))).replace("{organizationId}",encodeURIComponent(String(r))),o=new URL(n,"http://placeholder");let i;a&&(i=a.baseOptions);const l={method:"POST",...i,...s},d={},c={};return d["Content-Type"]="application/json",Object.entries({...c,...s.query}).forEach(([m,A])=>{A!==void 0&&o.searchParams.set(m,String(A))}),l.headers={...d,...s.headers},l.data=JSON.stringify(t!==void 0?t:{}),{url:o.pathname+o.search,options:l}},revokeRoles(e,r,t={}){if(e==null)throw new h("userId","Required parameter userId was null or undefined when calling revokeRoles.");if(r==null)throw new h("organizationId","Required parameter organizationId was null or undefined when calling revokeRoles.");const s="/v2/organizations/{organizationId}/users/{userId}/revoke-roles".replace("{userId}",encodeURIComponent(String(e))).replace("{organizationId}",encodeURIComponent(String(r))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"DELETE",...o,...t},l={};return Object.entries({...{},...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},{url:n.pathname+n.search,options:i}}}},Qe=function(a){return{grantRoles(e,r,t){const s=ke(a).grantRoles(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},notifyIntegrator(e,r,t,s){const n=ke(a).notifyIntegrator(e,r,t,s);return(o=p,i=u)=>{const l={...n.options,url:i+n.url};return o.request(l)}},revokeRoles(e,r,t){const s=ke(a).revokeRoles(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}}}},Bc=function(a,e,r){return{grantRoles(t,s,n){return Qe(a).grantRoles(t,s,n)(r,e)},notifyIntegrator(t,s,n,o){return Qe(a).notifyIntegrator(t,s,n,o)(r,e)},revokeRoles(t,s,n){return Qe(a).revokeRoles(t,s,n)(r,e)}}};class Fc extends R{grantRoles(e,r,t){return Qe(this.configuration).grantRoles(e,r,t)(this.axios,this.basePath)}notifyIntegrator(e,r,t,s){return Qe(this.configuration).notifyIntegrator(e,r,t,s)(this.axios,this.basePath)}revokeRoles(e,r,t){return Qe(this.configuration).revokeRoles(e,r,t)(this.axios,this.basePath)}}async function jc(a,e,r,t=p,s=u,n){const o=ke(r).grantRoles(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function Mc(a,e,r,t,s=p,n=u,o){const i=ke(t).notifyIntegrator(a,e,r,o),l={...i.options,url:n+i.url};return(await s.request(l)).data}async function Hc(a,e,r,t=p,s=u,n){const o=ke(r).revokeRoles(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}const g=function(a){return{confirmBankAccounts(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling confirmBankAccounts.");const t="/v2/organizations/{id}/onboarding/bank-accounts".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"PATCH",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},createOrganization(e,r={}){if(e==null)throw new h("createOrganizationDTO","Required parameter createOrganizationDTO was null or undefined when calling createOrganization.");const t="/v2/organizations",s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"POST",...n,...r},i={},l={};return i["Content-Type"]="application/json",Object.entries({...l,...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},o.data=JSON.stringify(e!==void 0?e:{}),{url:s.pathname+s.search,options:o}},disableProductCreation(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling disableProductCreation.");const t="/v2/organizations/{id}/disable".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"PATCH",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},dismissOrganizationMessage(e,r,t={}){if(e==null)throw new h("messageId","Required parameter messageId was null or undefined when calling dismissOrganizationMessage.");if(r==null)throw new h("id","Required parameter id was null or undefined when calling dismissOrganizationMessage.");const s="/v2/organizations/{id}/messages/{messageId}/dismiss".replace("{messageId}",encodeURIComponent(String(e))).replace("{id}",encodeURIComponent(String(r))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"POST",...o,...t},l={};return Object.entries({...{},...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},{url:n.pathname+n.search,options:i}},enableProductCreation(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling enableProductCreation.");const t="/v2/organizations/{id}/enable".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"PATCH",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},fetchAddressesByOrganizationId(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling fetchAddressesByOrganizationId.");const t="/v2/organizations/{id}/addresses".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},fetchLandlordsByOrganizationId(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling fetchLandlordsByOrganizationId.");const t="/v2/organizations/{id}/landlords".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},fetchOrganizationUsersByOrganizationId(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling fetchOrganizationUsersByOrganizationId.");const t="/v2/organizations/{id}/organization-users".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},fetchPropertiesByOrganizationId(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling fetchPropertiesByOrganizationId.");const t="/v2/organizations/{id}/properties".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},fetchTenanciesByOrganizationId(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling fetchTenanciesByOrganizationId.");const t="/v2/organizations/{id}/tenancies".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},fetchUsersByOrganizationId(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling fetchUsersByOrganizationId.");const t="/v2/organizations/{id}/users".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},findOrganizationById(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling findOrganizationById.");const t="/v2/organizations/{id}".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},getCashDepositScheme(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling getCashDepositScheme.");const t="/v2/organizations/{id}/cash-deposit-scheme".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},getChildren(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling getChildren.");const t="/v2/organizations/{id}/children".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},getOrganizationMetrics(e,r={}){if(e==null)throw new h("organizationId","Required parameter organizationId was null or undefined when calling getOrganizationMetrics.");const t="/v2/organizations/{organizationId}/metrics".replace("{organizationId}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},getOrganizationVerticals(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling getOrganizationVerticals.");const t="/v2/organizations/{id}/verticals".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},getRecipients(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling getRecipients.");const t="/v2/organizations/{id}/recipients".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},removeUser(e,r,t={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling removeUser.");if(r==null)throw new h("userId","Required parameter userId was null or undefined when calling removeUser.");const s="/v2/organizations/{id}/users/{userId}".replace("{id}",encodeURIComponent(String(e))).replace("{userId}",encodeURIComponent(String(r))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"DELETE",...o,...t},l={};return Object.entries({...{},...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},{url:n.pathname+n.search,options:i}},searchOrganization(e,r,t,s,n,o={}){if(e==null)throw new h("organizationTypeId","Required parameter organizationTypeId was null or undefined when calling searchOrganization.");if(r==null)throw new h("page","Required parameter page was null or undefined when calling searchOrganization.");if(t==null)throw new h("size","Required parameter size was null or undefined when calling searchOrganization.");const i="/v2/organizations",l=new URL(i,"http://placeholder");let d;a&&(d=a.baseOptions);const c={method:"GET",...d,...o},m={},A={};return s!==void 0&&(A.query=s),e!==void 0&&(A.organizationTypeId=e),n!==void 0&&(A.sortBy=n),r!==void 0&&(A.page=r),t!==void 0&&(A.size=t),Object.entries({...A,...o.query}).forEach(([I,P])=>{P!==void 0&&l.searchParams.set(I,String(P))}),c.headers={...m,...o.headers},{url:l.pathname+l.search,options:c}},setLandlordInformationComplete(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling setLandlordInformationComplete.");const t="/v2/organizations/{id}/onboarding/landlord-information".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"PATCH",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},updateASTAcceptance(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling updateASTAcceptance.");const t="/v2/organizations/{id}/onboarding/ast".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"PATCH",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},updateInformedLandlords(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling updateInformedLandlords.");const t="/v2/organizations/{id}/onboarding/informed-landlords".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"PATCH",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},updateOrganization(e,r,t={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling updateOrganization.");if(r==null)throw new h("updateOrganizationDTO","Required parameter updateOrganizationDTO was null or undefined when calling updateOrganization.");const s="/v2/organizations/{id}".replace("{id}",encodeURIComponent(String(e))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"PATCH",...o,...t},l={},d={};return l["Content-Type"]="application/json",Object.entries({...d,...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:n.pathname+n.search,options:i}},updateOrganizationNotes(e,r,t={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling updateOrganizationNotes.");if(r==null)throw new h("updateOrganizationNotesDTO","Required parameter updateOrganizationNotesDTO was null or undefined when calling updateOrganizationNotes.");const s="/v2/organizations/{id}/notes".replace("{id}",encodeURIComponent(String(e))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"PATCH",...o,...t},l={},d={};return l["Content-Type"]="application/json",Object.entries({...d,...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:n.pathname+n.search,options:i}},updateTermsAccepted(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling updateTermsAccepted.");const t="/v2/organizations/{id}/onboarding/terms".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"PATCH",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},updateYourCompany(e,r,t={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling updateYourCompany.");if(r==null)throw new h("updateYourCompanyDTO","Required parameter updateYourCompanyDTO was null or undefined when calling updateYourCompany.");const s="/v2/organizations/{id}/onboarding/your-company".replace("{id}",encodeURIComponent(String(e))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"PATCH",...o,...t},l={},d={};return l["Content-Type"]="application/json",Object.entries({...d,...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:n.pathname+n.search,options:i}},welcomeLandlord(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling welcomeLandlord.");const t="/v2/organizations/{id}/onboarding/welcome-landlord".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"PATCH",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}}}},w=function(a){return{confirmBankAccounts(e,r){const t=g(a).confirmBankAccounts(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},createOrganization(e,r){const t=g(a).createOrganization(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},disableProductCreation(e,r){const t=g(a).disableProductCreation(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},dismissOrganizationMessage(e,r,t){const s=g(a).dismissOrganizationMessage(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},enableProductCreation(e,r){const t=g(a).enableProductCreation(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},fetchAddressesByOrganizationId(e,r){const t=g(a).fetchAddressesByOrganizationId(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},fetchLandlordsByOrganizationId(e,r){const t=g(a).fetchLandlordsByOrganizationId(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},fetchOrganizationUsersByOrganizationId(e,r){const t=g(a).fetchOrganizationUsersByOrganizationId(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},fetchPropertiesByOrganizationId(e,r){const t=g(a).fetchPropertiesByOrganizationId(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},fetchTenanciesByOrganizationId(e,r){const t=g(a).fetchTenanciesByOrganizationId(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},fetchUsersByOrganizationId(e,r){const t=g(a).fetchUsersByOrganizationId(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},findOrganizationById(e,r){const t=g(a).findOrganizationById(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},getCashDepositScheme(e,r){const t=g(a).getCashDepositScheme(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},getChildren(e,r){const t=g(a).getChildren(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},getOrganizationMetrics(e,r){const t=g(a).getOrganizationMetrics(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},getOrganizationVerticals(e,r){const t=g(a).getOrganizationVerticals(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},getRecipients(e,r){const t=g(a).getRecipients(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},removeUser(e,r,t){const s=g(a).removeUser(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},searchOrganization(e,r,t,s,n,o){const i=g(a).searchOrganization(e,r,t,s,n,o);return(l=p,d=u)=>{const c={...i.options,url:d+i.url};return l.request(c)}},setLandlordInformationComplete(e,r){const t=g(a).setLandlordInformationComplete(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},updateASTAcceptance(e,r){const t=g(a).updateASTAcceptance(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},updateInformedLandlords(e,r){const t=g(a).updateInformedLandlords(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},updateOrganization(e,r,t){const s=g(a).updateOrganization(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},updateOrganizationNotes(e,r,t){const s=g(a).updateOrganizationNotes(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},updateTermsAccepted(e,r){const t=g(a).updateTermsAccepted(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},updateYourCompany(e,r,t){const s=g(a).updateYourCompany(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},welcomeLandlord(e,r){const t=g(a).welcomeLandlord(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}}}},Gc=function(a,e,r){return{confirmBankAccounts(t,s){return w(a).confirmBankAccounts(t,s)(r,e)},createOrganization(t,s){return w(a).createOrganization(t,s)(r,e)},disableProductCreation(t,s){return w(a).disableProductCreation(t,s)(r,e)},dismissOrganizationMessage(t,s,n){return w(a).dismissOrganizationMessage(t,s,n)(r,e)},enableProductCreation(t,s){return w(a).enableProductCreation(t,s)(r,e)},fetchAddressesByOrganizationId(t,s){return w(a).fetchAddressesByOrganizationId(t,s)(r,e)},fetchLandlordsByOrganizationId(t,s){return w(a).fetchLandlordsByOrganizationId(t,s)(r,e)},fetchOrganizationUsersByOrganizationId(t,s){return w(a).fetchOrganizationUsersByOrganizationId(t,s)(r,e)},fetchPropertiesByOrganizationId(t,s){return w(a).fetchPropertiesByOrganizationId(t,s)(r,e)},fetchTenanciesByOrganizationId(t,s){return w(a).fetchTenanciesByOrganizationId(t,s)(r,e)},fetchUsersByOrganizationId(t,s){return w(a).fetchUsersByOrganizationId(t,s)(r,e)},findOrganizationById(t,s){return w(a).findOrganizationById(t,s)(r,e)},getCashDepositScheme(t,s){return w(a).getCashDepositScheme(t,s)(r,e)},getChildren(t,s){return w(a).getChildren(t,s)(r,e)},getOrganizationMetrics(t,s){return w(a).getOrganizationMetrics(t,s)(r,e)},getOrganizationVerticals(t,s){return w(a).getOrganizationVerticals(t,s)(r,e)},getRecipients(t,s){return w(a).getRecipients(t,s)(r,e)},removeUser(t,s,n){return w(a).removeUser(t,s,n)(r,e)},searchOrganization(t,s,n,o,i,l){return w(a).searchOrganization(t,s,n,o,i,l)(r,e)},setLandlordInformationComplete(t,s){return w(a).setLandlordInformationComplete(t,s)(r,e)},updateASTAcceptance(t,s){return w(a).updateASTAcceptance(t,s)(r,e)},updateInformedLandlords(t,s){return w(a).updateInformedLandlords(t,s)(r,e)},updateOrganization(t,s,n){return w(a).updateOrganization(t,s,n)(r,e)},updateOrganizationNotes(t,s,n){return w(a).updateOrganizationNotes(t,s,n)(r,e)},updateTermsAccepted(t,s){return w(a).updateTermsAccepted(t,s)(r,e)},updateYourCompany(t,s,n){return w(a).updateYourCompany(t,s,n)(r,e)},welcomeLandlord(t,s){return w(a).welcomeLandlord(t,s)(r,e)}}};class kc extends R{confirmBankAccounts(e,r){return w(this.configuration).confirmBankAccounts(e,r)(this.axios,this.basePath)}createOrganization(e,r){return w(this.configuration).createOrganization(e,r)(this.axios,this.basePath)}disableProductCreation(e,r){return w(this.configuration).disableProductCreation(e,r)(this.axios,this.basePath)}dismissOrganizationMessage(e,r,t){return w(this.configuration).dismissOrganizationMessage(e,r,t)(this.axios,this.basePath)}enableProductCreation(e,r){return w(this.configuration).enableProductCreation(e,r)(this.axios,this.basePath)}fetchAddressesByOrganizationId(e,r){return w(this.configuration).fetchAddressesByOrganizationId(e,r)(this.axios,this.basePath)}fetchLandlordsByOrganizationId(e,r){return w(this.configuration).fetchLandlordsByOrganizationId(e,r)(this.axios,this.basePath)}fetchOrganizationUsersByOrganizationId(e,r){return w(this.configuration).fetchOrganizationUsersByOrganizationId(e,r)(this.axios,this.basePath)}fetchPropertiesByOrganizationId(e,r){return w(this.configuration).fetchPropertiesByOrganizationId(e,r)(this.axios,this.basePath)}fetchTenanciesByOrganizationId(e,r){return w(this.configuration).fetchTenanciesByOrganizationId(e,r)(this.axios,this.basePath)}fetchUsersByOrganizationId(e,r){return w(this.configuration).fetchUsersByOrganizationId(e,r)(this.axios,this.basePath)}findOrganizationById(e,r){return w(this.configuration).findOrganizationById(e,r)(this.axios,this.basePath)}getCashDepositScheme(e,r){return w(this.configuration).getCashDepositScheme(e,r)(this.axios,this.basePath)}getChildren(e,r){return w(this.configuration).getChildren(e,r)(this.axios,this.basePath)}getOrganizationMetrics(e,r){return w(this.configuration).getOrganizationMetrics(e,r)(this.axios,this.basePath)}getOrganizationVerticals(e,r){return w(this.configuration).getOrganizationVerticals(e,r)(this.axios,this.basePath)}getRecipients(e,r){return w(this.configuration).getRecipients(e,r)(this.axios,this.basePath)}removeUser(e,r,t){return w(this.configuration).removeUser(e,r,t)(this.axios,this.basePath)}searchOrganization(e,r,t,s,n,o){return w(this.configuration).searchOrganization(e,r,t,s,n,o)(this.axios,this.basePath)}setLandlordInformationComplete(e,r){return w(this.configuration).setLandlordInformationComplete(e,r)(this.axios,this.basePath)}updateASTAcceptance(e,r){return w(this.configuration).updateASTAcceptance(e,r)(this.axios,this.basePath)}updateInformedLandlords(e,r){return w(this.configuration).updateInformedLandlords(e,r)(this.axios,this.basePath)}updateOrganization(e,r,t){return w(this.configuration).updateOrganization(e,r,t)(this.axios,this.basePath)}updateOrganizationNotes(e,r,t){return w(this.configuration).updateOrganizationNotes(e,r,t)(this.axios,this.basePath)}updateTermsAccepted(e,r){return w(this.configuration).updateTermsAccepted(e,r)(this.axios,this.basePath)}updateYourCompany(e,r,t){return w(this.configuration).updateYourCompany(e,r,t)(this.axios,this.basePath)}welcomeLandlord(e,r){return w(this.configuration).welcomeLandlord(e,r)(this.axios,this.basePath)}}async function Qc(a,e,r=p,t=u,s){const n=g(e).confirmBankAccounts(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function Yc(a,e,r=p,t=u,s){const n=g(e).createOrganization(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function zc(a,e,r=p,t=u,s){const n=g(e).disableProductCreation(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function $c(a,e,r,t=p,s=u,n){const o=g(r).dismissOrganizationMessage(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function Wc(a,e,r=p,t=u,s){const n=g(e).enableProductCreation(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function Jc(a,e,r=p,t=u,s){const n=g(e).fetchAddressesByOrganizationId(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function Kc(a,e,r=p,t=u,s){const n=g(e).fetchLandlordsByOrganizationId(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function Xc(a,e,r=p,t=u,s){const n=g(e).fetchOrganizationUsersByOrganizationId(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function Zc(a,e,r=p,t=u,s){const n=g(e).fetchPropertiesByOrganizationId(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function ed(a,e,r=p,t=u,s){const n=g(e).fetchTenanciesByOrganizationId(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function rd(a,e,r=p,t=u,s){const n=g(e).fetchUsersByOrganizationId(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function td(a,e,r=p,t=u,s){const n=g(e).findOrganizationById(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function ad(a,e,r=p,t=u,s){const n=g(e).getCashDepositScheme(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function sd(a,e,r=p,t=u,s){const n=g(e).getChildren(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function nd(a,e,r=p,t=u,s){const n=g(e).getOrganizationMetrics(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function od(a,e,r=p,t=u,s){const n=g(e).getOrganizationVerticals(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function id(a,e,r=p,t=u,s){const n=g(e).getRecipients(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function ld(a,e,r,t=p,s=u,n){const o=g(r).removeUser(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function cd(a,e,r,t,s,n,o=p,i=u,l){const d=g(n).searchOrganization(a,e,r,t,s,l),c={...d.options,url:i+d.url};return(await o.request(c)).data}async function dd(a,e,r=p,t=u,s){const n=g(e).setLandlordInformationComplete(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function ud(a,e,r=p,t=u,s){const n=g(e).updateASTAcceptance(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function pd(a,e,r=p,t=u,s){const n=g(e).updateInformedLandlords(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function hd(a,e,r,t=p,s=u,n){const o=g(r).updateOrganization(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function md(a,e,r,t=p,s=u,n){const o=g(r).updateOrganizationNotes(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function Ad(a,e,r=p,t=u,s){const n=g(e).updateTermsAccepted(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function Rd(a,e,r,t=p,s=u,n){const o=g(r).updateYourCompany(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function Id(a,e,r=p,t=u,s){const n=g(e).welcomeLandlord(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}const we=function(a){return{confirmPaymentPlan(e,r={}){if(e==null)throw new h("paymentPlanId","Required parameter paymentPlanId was null or undefined when calling confirmPaymentPlan.");const t="/v2/payment-plan/{paymentPlanId}/actions/confirm".replace("{paymentPlanId}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"PATCH",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},getPaymentPlanAction(e,r,t={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling getPaymentPlanAction.");if(r==null)throw new h("paymentPlanId","Required parameter paymentPlanId was null or undefined when calling getPaymentPlanAction.");const s="/v2/payment-plan/{paymentPlanId}/actions/{id}".replace("{id}",encodeURIComponent(String(e))).replace("{paymentPlanId}",encodeURIComponent(String(r))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"GET",...o,...t},l={};return Object.entries({...{},...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},{url:n.pathname+n.search,options:i}},updateAddress(e,r,t={}){if(e==null)throw new h("paymentPlanId","Required parameter paymentPlanId was null or undefined when calling updateAddress.");if(r==null)throw new h("updateAddressHistoryAttributesDTO","Required parameter updateAddressHistoryAttributesDTO was null or undefined when calling updateAddress.");const s="/v2/payment-plan/{paymentPlanId}/actions/address".replace("{paymentPlanId}",encodeURIComponent(String(e))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"PATCH",...o,...t},l={},d={};return l["Content-Type"]="application/json",Object.entries({...d,...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:n.pathname+n.search,options:i}},updateCardDetails(e,r,t={}){if(e==null)throw new h("paymentPlanId","Required parameter paymentPlanId was null or undefined when calling updateCardDetails.");if(r==null)throw new h("paymentMethodRequestDTO","Required parameter paymentMethodRequestDTO was null or undefined when calling updateCardDetails.");const s="/v2/payment-plan/{paymentPlanId}/actions/card-details".replace("{paymentPlanId}",encodeURIComponent(String(e))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"PATCH",...o,...t},l={},d={};return l["Content-Type"]="application/json",Object.entries({...d,...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:n.pathname+n.search,options:i}}}},Oe=function(a){return{confirmPaymentPlan(e,r){const t=we(a).confirmPaymentPlan(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},getPaymentPlanAction(e,r,t){const s=we(a).getPaymentPlanAction(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},updateAddress(e,r,t){const s=we(a).updateAddress(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},updateCardDetails(e,r,t){const s=we(a).updateCardDetails(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}}}},Pd=function(a,e,r){return{confirmPaymentPlan(t,s){return Oe(a).confirmPaymentPlan(t,s)(r,e)},getPaymentPlanAction(t,s,n){return Oe(a).getPaymentPlanAction(t,s,n)(r,e)},updateAddress(t,s,n){return Oe(a).updateAddress(t,s,n)(r,e)},updateCardDetails(t,s,n){return Oe(a).updateCardDetails(t,s,n)(r,e)}}};class gd extends R{confirmPaymentPlan(e,r){return Oe(this.configuration).confirmPaymentPlan(e,r)(this.axios,this.basePath)}getPaymentPlanAction(e,r,t){return Oe(this.configuration).getPaymentPlanAction(e,r,t)(this.axios,this.basePath)}updateAddress(e,r,t){return Oe(this.configuration).updateAddress(e,r,t)(this.axios,this.basePath)}updateCardDetails(e,r,t){return Oe(this.configuration).updateCardDetails(e,r,t)(this.axios,this.basePath)}}async function wd(a,e,r=p,t=u,s){const n=we(e).confirmPaymentPlan(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function Od(a,e,r,t=p,s=u,n){const o=we(r).getPaymentPlanAction(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function fd(a,e,r,t=p,s=u,n){const o=we(r).updateAddress(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function yd(a,e,r,t=p,s=u,n){const o=we(r).updateCardDetails(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}const Ye=function(a){return{deferPaymentPlanInstalment(e,r,t,s={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling deferPaymentPlanInstalment.");if(r==null)throw new h("paymentPlanId","Required parameter paymentPlanId was null or undefined when calling deferPaymentPlanInstalment.");if(t==null)throw new h("deferPaymentPlanInstalmentDTO","Required parameter deferPaymentPlanInstalmentDTO was null or undefined when calling deferPaymentPlanInstalment.");const n="/v2/payment-plan/{paymentPlanId}/instalment/{id}/defer".replace("{id}",encodeURIComponent(String(e))).replace("{paymentPlanId}",encodeURIComponent(String(r))),o=new URL(n,"http://placeholder");let i;a&&(i=a.baseOptions);const l={method:"PATCH",...i,...s},d={},c={};return d["Content-Type"]="application/json",Object.entries({...c,...s.query}).forEach(([m,A])=>{A!==void 0&&o.searchParams.set(m,String(A))}),l.headers={...d,...s.headers},l.data=JSON.stringify(t!==void 0?t:{}),{url:o.pathname+o.search,options:l}},getInstalmentById(e,r,t={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling getInstalmentById.");if(r==null)throw new h("paymentPlanId","Required parameter paymentPlanId was null or undefined when calling getInstalmentById.");const s="/v2/payment-plan/{paymentPlanId}/instalment/{id}".replace("{id}",encodeURIComponent(String(e))).replace("{paymentPlanId}",encodeURIComponent(String(r))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"GET",...o,...t},l={};return Object.entries({...{},...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},{url:n.pathname+n.search,options:i}},getInstalmentPaymentIntentSecret(e,r,t={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling getInstalmentPaymentIntentSecret.");if(r==null)throw new h("paymentPlanId","Required parameter paymentPlanId was null or undefined when calling getInstalmentPaymentIntentSecret.");const s="/v2/payment-plan/{paymentPlanId}/instalment/{id}/pay".replace("{id}",encodeURIComponent(String(e))).replace("{paymentPlanId}",encodeURIComponent(String(r))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"GET",...o,...t},l={};return Object.entries({...{},...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},{url:n.pathname+n.search,options:i}}}},ze=function(a){return{deferPaymentPlanInstalment(e,r,t,s){const n=Ye(a).deferPaymentPlanInstalment(e,r,t,s);return(o=p,i=u)=>{const l={...n.options,url:i+n.url};return o.request(l)}},getInstalmentById(e,r,t){const s=Ye(a).getInstalmentById(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},getInstalmentPaymentIntentSecret(e,r,t){const s=Ye(a).getInstalmentPaymentIntentSecret(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}}}},Ed=function(a,e,r){return{deferPaymentPlanInstalment(t,s,n,o){return ze(a).deferPaymentPlanInstalment(t,s,n,o)(r,e)},getInstalmentById(t,s,n){return ze(a).getInstalmentById(t,s,n)(r,e)},getInstalmentPaymentIntentSecret(t,s,n){return ze(a).getInstalmentPaymentIntentSecret(t,s,n)(r,e)}}};class Cd extends R{deferPaymentPlanInstalment(e,r,t,s){return ze(this.configuration).deferPaymentPlanInstalment(e,r,t,s)(this.axios,this.basePath)}getInstalmentById(e,r,t){return ze(this.configuration).getInstalmentById(e,r,t)(this.axios,this.basePath)}getInstalmentPaymentIntentSecret(e,r,t){return ze(this.configuration).getInstalmentPaymentIntentSecret(e,r,t)(this.axios,this.basePath)}}async function Vd(a,e,r,t,s=p,n=u,o){const i=Ye(t).deferPaymentPlanInstalment(a,e,r,o),l={...i.options,url:n+i.url};return(await s.request(l)).data}async function qd(a,e,r,t=p,s=u,n){const o=Ye(r).getInstalmentById(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function _d(a,e,r,t=p,s=u,n){const o=Ye(r).getInstalmentPaymentIntentSecret(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}const k=function(a){return{changeInstalmentDates(e,r,t={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling changeInstalmentDates.");if(r==null)throw new h("changeInstalmentDatesDTO","Required parameter changeInstalmentDatesDTO was null or undefined when calling changeInstalmentDates.");const s="/v2/payment-plan/{id}/change-instalment-dates".replace("{id}",encodeURIComponent(String(e))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"PATCH",...o,...t},l={},d={};return l["Content-Type"]="application/json",Object.entries({...d,...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:n.pathname+n.search,options:i}},createPaymentPlan(e,r={}){if(e==null)throw new h("createPaymentPlanDTO","Required parameter createPaymentPlanDTO was null or undefined when calling createPaymentPlan.");const t="/v2/payment-plan",s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"POST",...n,...r},i={},l={};return i["Content-Type"]="application/json",Object.entries({...l,...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},o.data=JSON.stringify(e!==void 0?e:{}),{url:s.pathname+s.search,options:o}},deletePaymentPlanById(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling deletePaymentPlanById.");const t="/v2/payment-plan/{id}".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"DELETE",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},getPaymentPlanById(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling getPaymentPlanById.");const t="/v2/payment-plan/{id}".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},getPaymentPlanPropertyAddressById(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling getPaymentPlanPropertyAddressById.");const t="/v2/payment-plan/{id}/address".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},getSetupIntentSecret(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling getSetupIntentSecret.");const t="/v2/payment-plan/{id}/setup-intent".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"POST",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}}}},Q=function(a){return{changeInstalmentDates(e,r,t){const s=k(a).changeInstalmentDates(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},createPaymentPlan(e,r){const t=k(a).createPaymentPlan(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},deletePaymentPlanById(e,r){const t=k(a).deletePaymentPlanById(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},getPaymentPlanById(e,r){const t=k(a).getPaymentPlanById(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},getPaymentPlanPropertyAddressById(e,r){const t=k(a).getPaymentPlanPropertyAddressById(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},getSetupIntentSecret(e,r){const t=k(a).getSetupIntentSecret(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}}}},vd=function(a,e,r){return{changeInstalmentDates(t,s,n){return Q(a).changeInstalmentDates(t,s,n)(r,e)},createPaymentPlan(t,s){return Q(a).createPaymentPlan(t,s)(r,e)},deletePaymentPlanById(t,s){return Q(a).deletePaymentPlanById(t,s)(r,e)},getPaymentPlanById(t,s){return Q(a).getPaymentPlanById(t,s)(r,e)},getPaymentPlanPropertyAddressById(t,s){return Q(a).getPaymentPlanPropertyAddressById(t,s)(r,e)},getSetupIntentSecret(t,s){return Q(a).getSetupIntentSecret(t,s)(r,e)}}};class bd extends R{changeInstalmentDates(e,r,t){return Q(this.configuration).changeInstalmentDates(e,r,t)(this.axios,this.basePath)}createPaymentPlan(e,r){return Q(this.configuration).createPaymentPlan(e,r)(this.axios,this.basePath)}deletePaymentPlanById(e,r){return Q(this.configuration).deletePaymentPlanById(e,r)(this.axios,this.basePath)}getPaymentPlanById(e,r){return Q(this.configuration).getPaymentPlanById(e,r)(this.axios,this.basePath)}getPaymentPlanPropertyAddressById(e,r){return Q(this.configuration).getPaymentPlanPropertyAddressById(e,r)(this.axios,this.basePath)}getSetupIntentSecret(e,r){return Q(this.configuration).getSetupIntentSecret(e,r)(this.axios,this.basePath)}}async function Sd(a,e,r,t=p,s=u,n){const o=k(r).changeInstalmentDates(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function Td(a,e,r=p,t=u,s){const n=k(e).createPaymentPlan(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function Nd(a,e,r=p,t=u,s){const n=k(e).deletePaymentPlanById(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function xd(a,e,r=p,t=u,s){const n=k(e).getPaymentPlanById(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function Ud(a,e,r=p,t=u,s){const n=k(e).getPaymentPlanPropertyAddressById(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function Dd(a,e,r=p,t=u,s){const n=k(e).getSetupIntentSecret(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}const Y=function(a){return{addItems(e,r,t={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling addItems.");if(r==null)throw new h("addItemsDTO","Required parameter addItemsDTO was null or undefined when calling addItems.");const s="/v2/policies/{id}/items".replace("{id}",encodeURIComponent(String(e))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"POST",...o,...t},l={},d={};return l["Content-Type"]="application/json",Object.entries({...d,...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:n.pathname+n.search,options:i}},createPolicy(e,r={}){if(e==null)throw new h("createPolicyWithBeneficiaryDTO","Required parameter createPolicyWithBeneficiaryDTO was null or undefined when calling createPolicy.");const t="/v2/policies",s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"POST",...n,...r},i={},l={};return i["Content-Type"]="application/json",Object.entries({...l,...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},o.data=JSON.stringify(e!==void 0?e:{}),{url:s.pathname+s.search,options:o}},deleteItem(e,r,t={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling deleteItem.");if(r==null)throw new h("itemId","Required parameter itemId was null or undefined when calling deleteItem.");const s="/v2/policies/{id}/items/{itemId}".replace("{id}",encodeURIComponent(String(e))).replace("{itemId}",encodeURIComponent(String(r))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"DELETE",...o,...t},l={};return Object.entries({...{},...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},{url:n.pathname+n.search,options:i}},findOne(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling findOne.");const t="/v2/policies/{id}".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},updatePolicy(e,r,t={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling updatePolicy.");if(r==null)throw new h("updatePolicyDTO","Required parameter updatePolicyDTO was null or undefined when calling updatePolicy.");const s="/v2/policies/{id}".replace("{id}",encodeURIComponent(String(e))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"PATCH",...o,...t},l={},d={};return l["Content-Type"]="application/json",Object.entries({...d,...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:n.pathname+n.search,options:i}},updateStatus(e,r,t={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling updateStatus.");if(r==null)throw new h("updatePolicyStatusDTO","Required parameter updatePolicyStatusDTO was null or undefined when calling updateStatus.");const s="/v2/policies/{id}/statuses".replace("{id}",encodeURIComponent(String(e))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"PATCH",...o,...t},l={},d={};return l["Content-Type"]="application/json",Object.entries({...d,...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:n.pathname+n.search,options:i}}}},z=function(a){return{addItems(e,r,t){const s=Y(a).addItems(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},createPolicy(e,r){const t=Y(a).createPolicy(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},deleteItem(e,r,t){const s=Y(a).deleteItem(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},findOne(e,r){const t=Y(a).findOne(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},updatePolicy(e,r,t){const s=Y(a).updatePolicy(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},updateStatus(e,r,t){const s=Y(a).updateStatus(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}}}},Ld=function(a,e,r){return{addItems(t,s,n){return z(a).addItems(t,s,n)(r,e)},createPolicy(t,s){return z(a).createPolicy(t,s)(r,e)},deleteItem(t,s,n){return z(a).deleteItem(t,s,n)(r,e)},findOne(t,s){return z(a).findOne(t,s)(r,e)},updatePolicy(t,s,n){return z(a).updatePolicy(t,s,n)(r,e)},updateStatus(t,s,n){return z(a).updateStatus(t,s,n)(r,e)}}};class Bd extends R{addItems(e,r,t){return z(this.configuration).addItems(e,r,t)(this.axios,this.basePath)}createPolicy(e,r){return z(this.configuration).createPolicy(e,r)(this.axios,this.basePath)}deleteItem(e,r,t){return z(this.configuration).deleteItem(e,r,t)(this.axios,this.basePath)}findOne(e,r){return z(this.configuration).findOne(e,r)(this.axios,this.basePath)}updatePolicy(e,r,t){return z(this.configuration).updatePolicy(e,r,t)(this.axios,this.basePath)}updateStatus(e,r,t){return z(this.configuration).updateStatus(e,r,t)(this.axios,this.basePath)}}async function Fd(a,e,r,t=p,s=u,n){const o=Y(r).addItems(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function jd(a,e,r=p,t=u,s){const n=Y(e).createPolicy(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function Md(a,e,r,t=p,s=u,n){const o=Y(r).deleteItem(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function Hd(a,e,r=p,t=u,s){const n=Y(e).findOne(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function Gd(a,e,r,t=p,s=u,n){const o=Y(r).updatePolicy(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function kd(a,e,r,t=p,s=u,n){const o=Y(r).updateStatus(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}const fe=function(a){return{addPolicyDocument(e,r,t,s,n={}){if(e==null)throw new h("policyId","Required parameter policyId was null or undefined when calling addPolicyDocument.");if(r==null)throw new h("file","Required parameter file was null or undefined when calling addPolicyDocument.");if(t==null)throw new h("name","Required parameter name was null or undefined when calling addPolicyDocument.");if(s==null)throw new h("type","Required parameter type was null or undefined when calling addPolicyDocument.");const o="/v2/policies/{policyId}/documents".replace("{policyId}",encodeURIComponent(String(e))),i=new URL(o,"http://placeholder");let l;a&&(l=a.baseOptions);const d={method:"POST",...l,...n},c={},m={},A=new FormData;return r!==void 0&&A.append("file",r),t!==void 0&&A.append("name",t),s!==void 0&&A.append("type",s),c["Content-Type"]="multipart/form-data",Object.entries({...m,...n.query}).forEach(([I,P])=>{P!==void 0&&i.searchParams.set(I,String(P))}),d.headers={...c,...n.headers},d.data=A,{url:i.pathname+i.search,options:d}},deletePolicyDocument(e,r,t={}){if(e==null)throw new h("policyId","Required parameter policyId was null or undefined when calling deletePolicyDocument.");if(r==null)throw new h("documentId","Required parameter documentId was null or undefined when calling deletePolicyDocument.");const s="/v2/policies/{policyId}/documents/{documentId}".replace("{policyId}",encodeURIComponent(String(e))).replace("{documentId}",encodeURIComponent(String(r))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"DELETE",...o,...t},l={};return Object.entries({...{},...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},{url:n.pathname+n.search,options:i}},findManyPolicyDocuments(e,r={}){if(e==null)throw new h("policyId","Required parameter policyId was null or undefined when calling findManyPolicyDocuments.");const t="/v2/policies/{policyId}/documents".replace("{policyId}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},findPolicyDocumentById(e,r,t={}){if(e==null)throw new h("policyId","Required parameter policyId was null or undefined when calling findPolicyDocumentById.");if(r==null)throw new h("documentId","Required parameter documentId was null or undefined when calling findPolicyDocumentById.");const s="/v2/policies/{policyId}/documents/{documentId}".replace("{policyId}",encodeURIComponent(String(e))).replace("{documentId}",encodeURIComponent(String(r))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"GET",...o,...t},l={};return Object.entries({...{},...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},{url:n.pathname+n.search,options:i}}}},ye=function(a){return{addPolicyDocument(e,r,t,s,n){const o=fe(a).addPolicyDocument(e,r,t,s,n);return(i=p,l=u)=>{const d={...o.options,url:l+o.url};return i.request(d)}},deletePolicyDocument(e,r,t){const s=fe(a).deletePolicyDocument(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},findManyPolicyDocuments(e,r){const t=fe(a).findManyPolicyDocuments(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},findPolicyDocumentById(e,r,t){const s=fe(a).findPolicyDocumentById(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}}}},Qd=function(a,e,r){return{addPolicyDocument(t,s,n,o,i){return ye(a).addPolicyDocument(t,s,n,o,i)(r,e)},deletePolicyDocument(t,s,n){return ye(a).deletePolicyDocument(t,s,n)(r,e)},findManyPolicyDocuments(t,s){return ye(a).findManyPolicyDocuments(t,s)(r,e)},findPolicyDocumentById(t,s,n){return ye(a).findPolicyDocumentById(t,s,n)(r,e)}}};class Yd extends R{addPolicyDocument(e,r,t,s,n){return ye(this.configuration).addPolicyDocument(e,r,t,s,n)(this.axios,this.basePath)}deletePolicyDocument(e,r,t){return ye(this.configuration).deletePolicyDocument(e,r,t)(this.axios,this.basePath)}findManyPolicyDocuments(e,r){return ye(this.configuration).findManyPolicyDocuments(e,r)(this.axios,this.basePath)}findPolicyDocumentById(e,r,t){return ye(this.configuration).findPolicyDocumentById(e,r,t)(this.axios,this.basePath)}}async function zd(a,e,r,t,s,n=p,o=u,i){const l=fe(s).addPolicyDocument(a,e,r,t,i),d={...l.options,url:o+l.url};return(await n.request(d)).data}async function $d(a,e,r,t=p,s=u,n){const o=fe(r).deletePolicyDocument(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function Wd(a,e,r=p,t=u,s){const n=fe(e).findManyPolicyDocuments(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function Jd(a,e,r,t=p,s=u,n){const o=fe(r).findPolicyDocumentById(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}const gr=function(a){return{addPreTenancyDocumentByDocumentId(e,r,t={}){if(e==null)throw new h("tenancyId","Required parameter tenancyId was null or undefined when calling addPreTenancyDocumentByDocumentId.");if(r==null)throw new h("createPreTenancyDocumentByDocumentIdDTO","Required parameter createPreTenancyDocumentByDocumentIdDTO was null or undefined when calling addPreTenancyDocumentByDocumentId.");const s="/v2/tenancy/{tenancyId}/pre-tenancy-documents/by-document-id".replace("{tenancyId}",encodeURIComponent(String(e))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"POST",...o,...t},l={},d={};return l["Content-Type"]="application/json",Object.entries({...d,...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:n.pathname+n.search,options:i}},deletePreTenancyDocument(e,r,t={}){if(e==null)throw new h("tenancyId","Required parameter tenancyId was null or undefined when calling deletePreTenancyDocument.");if(r==null)throw new h("documentId","Required parameter documentId was null or undefined when calling deletePreTenancyDocument.");const s="/v2/tenancy/{tenancyId}/pre-tenancy-documents/{documentId}".replace("{tenancyId}",encodeURIComponent(String(e))).replace("{documentId}",encodeURIComponent(String(r))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"DELETE",...o,...t},l={};return Object.entries({...{},...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},{url:n.pathname+n.search,options:i}}}},wr=function(a){return{addPreTenancyDocumentByDocumentId(e,r,t){const s=gr(a).addPreTenancyDocumentByDocumentId(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},deletePreTenancyDocument(e,r,t){const s=gr(a).deletePreTenancyDocument(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}}}},Kd=function(a,e,r){return{addPreTenancyDocumentByDocumentId(t,s,n){return wr(a).addPreTenancyDocumentByDocumentId(t,s,n)(r,e)},deletePreTenancyDocument(t,s,n){return wr(a).deletePreTenancyDocument(t,s,n)(r,e)}}};class Xd extends R{addPreTenancyDocumentByDocumentId(e,r,t){return wr(this.configuration).addPreTenancyDocumentByDocumentId(e,r,t)(this.axios,this.basePath)}deletePreTenancyDocument(e,r,t){return wr(this.configuration).deletePreTenancyDocument(e,r,t)(this.axios,this.basePath)}}async function Zd(a,e,r,t=p,s=u,n){const o=gr(r).addPreTenancyDocumentByDocumentId(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function eu(a,e,r,t=p,s=u,n){const o=gr(r).deletePreTenancyDocument(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}const Or=function(a){return{getCashDepositAmount(e,r={}){if(e==null)throw new h("ppm","Required parameter ppm was null or undefined when calling getCashDepositAmount.");const t="/v2/pricing/cash-deposit",s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={},l={};return e!==void 0&&(l.ppm=e),Object.entries({...l,...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},getRepositFee(e,r,t,s={}){if(e==null)throw new h("ppm","Required parameter ppm was null or undefined when calling getRepositFee.");if(r==null)throw new h("organizationId","Required parameter organizationId was null or undefined when calling getRepositFee.");const n="/v2/pricing/reposit-fee",o=new URL(n,"http://placeholder");let i;a&&(i=a.baseOptions);const l={method:"GET",...i,...s},d={},c={};return e!==void 0&&(c.ppm=e),r!==void 0&&(c.organizationId=r),t!==void 0&&(c.headcount=t),Object.entries({...c,...s.query}).forEach(([m,A])=>{A!==void 0&&o.searchParams.set(m,String(A))}),l.headers={...d,...s.headers},{url:o.pathname+o.search,options:l}}}},fr=function(a){return{getCashDepositAmount(e,r){const t=Or(a).getCashDepositAmount(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},getRepositFee(e,r,t,s){const n=Or(a).getRepositFee(e,r,t,s);return(o=p,i=u)=>{const l={...n.options,url:i+n.url};return o.request(l)}}}},ru=function(a,e,r){return{getCashDepositAmount(t,s){return fr(a).getCashDepositAmount(t,s)(r,e)},getRepositFee(t,s,n,o){return fr(a).getRepositFee(t,s,n,o)(r,e)}}};class tu extends R{getCashDepositAmount(e,r){return fr(this.configuration).getCashDepositAmount(e,r)(this.axios,this.basePath)}getRepositFee(e,r,t,s){return fr(this.configuration).getRepositFee(e,r,t,s)(this.axios,this.basePath)}}async function au(a,e,r=p,t=u,s){const n=Or(e).getCashDepositAmount(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function su(a,e,r,t,s=p,n=u,o){const i=Or(t).getRepositFee(a,e,r,o),l={...i.options,url:n+i.url};return(await s.request(l)).data}const $e=function(a){return{createProperty(e,r={}){if(e==null)throw new h("createPropertyDTO","Required parameter createPropertyDTO was null or undefined when calling createProperty.");const t="/v2/properties",s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"POST",...n,...r},i={},l={};return i["Content-Type"]="application/json",Object.entries({...l,...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},o.data=JSON.stringify(e!==void 0?e:{}),{url:s.pathname+s.search,options:o}},getPropertyById(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling getPropertyById.");const t="/v2/properties/{id}".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},searchProperties(e,r,t,s,n={}){if(e==null)throw new h("page","Required parameter page was null or undefined when calling searchProperties.");if(r==null)throw new h("size","Required parameter size was null or undefined when calling searchProperties.");const o="/v2/properties",i=new URL(o,"http://placeholder");let l;a&&(l=a.baseOptions);const d={method:"GET",...l,...n},c={},m={};return t!==void 0&&(m.query=t),s!==void 0&&(m.organizationId=s),e!==void 0&&(m.page=e),r!==void 0&&(m.size=r),Object.entries({...m,...n.query}).forEach(([A,I])=>{I!==void 0&&i.searchParams.set(A,String(I))}),d.headers={...c,...n.headers},{url:i.pathname+i.search,options:d}}}},We=function(a){return{createProperty(e,r){const t=$e(a).createProperty(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},getPropertyById(e,r){const t=$e(a).getPropertyById(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},searchProperties(e,r,t,s,n){const o=$e(a).searchProperties(e,r,t,s,n);return(i=p,l=u)=>{const d={...o.options,url:l+o.url};return i.request(d)}}}},nu=function(a,e,r){return{createProperty(t,s){return We(a).createProperty(t,s)(r,e)},getPropertyById(t,s){return We(a).getPropertyById(t,s)(r,e)},searchProperties(t,s,n,o,i){return We(a).searchProperties(t,s,n,o,i)(r,e)}}};class ou extends R{createProperty(e,r){return We(this.configuration).createProperty(e,r)(this.axios,this.basePath)}getPropertyById(e,r){return We(this.configuration).getPropertyById(e,r)(this.axios,this.basePath)}searchProperties(e,r,t,s,n){return We(this.configuration).searchProperties(e,r,t,s,n)(this.axios,this.basePath)}}async function iu(a,e,r=p,t=u,s){const n=$e(e).createProperty(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function lu(a,e,r=p,t=u,s){const n=$e(e).getPropertyById(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function cu(a,e,r,t,s,n=p,o=u,i){const l=$e(s).searchProperties(a,e,r,t,i),d={...l.options,url:o+l.url};return(await n.request(d)).data}const it=function(a){return{searchReconciliationDocuments(e,r,t,s,n={}){if(e==null)throw new h("from","Required parameter from was null or undefined when calling searchReconciliationDocuments.");if(r==null)throw new h("to","Required parameter to was null or undefined when calling searchReconciliationDocuments.");if(t==null)throw new h("page","Required parameter page was null or undefined when calling searchReconciliationDocuments.");if(s==null)throw new h("size","Required parameter size was null or undefined when calling searchReconciliationDocuments.");const o="/v2/reconciliations/documents/search",i=new URL(o,"http://placeholder");let l;a&&(l=a.baseOptions);const d={method:"GET",...l,...n},c={},m={};return e!==void 0&&(m.from=e),r!==void 0&&(m.to=r),t!==void 0&&(m.page=t),s!==void 0&&(m.size=s),Object.entries({...m,...n.query}).forEach(([A,I])=>{I!==void 0&&i.searchParams.set(A,String(I))}),d.headers={...c,...n.headers},{url:i.pathname+i.search,options:d}}}},lt=function(a){return{searchReconciliationDocuments(e,r,t,s,n){const o=it(a).searchReconciliationDocuments(e,r,t,s,n);return(i=p,l=u)=>{const d={...o.options,url:l+o.url};return i.request(d)}}}},du=function(a,e,r){return{searchReconciliationDocuments(t,s,n,o,i){return lt(a).searchReconciliationDocuments(t,s,n,o,i)(r,e)}}};class uu extends R{searchReconciliationDocuments(e,r,t,s,n){return lt(this.configuration).searchReconciliationDocuments(e,r,t,s,n)(this.axios,this.basePath)}}async function pu(a,e,r,t,s,n=p,o=u,i){const l=it(s).searchReconciliationDocuments(a,e,r,t,i),d={...l.options,url:o+l.url};return(await n.request(d)).data}const Ee=function(a){return{addReferenceDocument(e,r,t,s,n={}){if(e==null)throw new h("referenceId","Required parameter referenceId was null or undefined when calling addReferenceDocument.");if(r==null)throw new h("file","Required parameter file was null or undefined when calling addReferenceDocument.");if(t==null)throw new h("name","Required parameter name was null or undefined when calling addReferenceDocument.");if(s==null)throw new h("type","Required parameter type was null or undefined when calling addReferenceDocument.");const o="/v2/references/{referenceId}/documents".replace("{referenceId}",encodeURIComponent(String(e))),i=new URL(o,"http://placeholder");let l;a&&(l=a.baseOptions);const d={method:"POST",...l,...n},c={},m={},A=new FormData;return r!==void 0&&A.append("file",r),t!==void 0&&A.append("name",t),s!==void 0&&A.append("type",s),c["Content-Type"]="multipart/form-data",Object.entries({...m,...n.query}).forEach(([I,P])=>{P!==void 0&&i.searchParams.set(I,String(P))}),d.headers={...c,...n.headers},d.data=A,{url:i.pathname+i.search,options:d}},deleteReferenceDocument(e,r,t={}){if(e==null)throw new h("referenceId","Required parameter referenceId was null or undefined when calling deleteReferenceDocument.");if(r==null)throw new h("documentId","Required parameter documentId was null or undefined when calling deleteReferenceDocument.");const s="/v2/references/{referenceId}/documents/{documentId}".replace("{referenceId}",encodeURIComponent(String(e))).replace("{documentId}",encodeURIComponent(String(r))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"DELETE",...o,...t},l={};return Object.entries({...{},...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},{url:n.pathname+n.search,options:i}},findManyReferenceDocuments(e,r={}){if(e==null)throw new h("referenceId","Required parameter referenceId was null or undefined when calling findManyReferenceDocuments.");const t="/v2/references/{referenceId}/documents".replace("{referenceId}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},findReferenceDocumentById(e,r,t={}){if(e==null)throw new h("referenceId","Required parameter referenceId was null or undefined when calling findReferenceDocumentById.");if(r==null)throw new h("documentId","Required parameter documentId was null or undefined when calling findReferenceDocumentById.");const s="/v2/references/{referenceId}/documents/{documentId}".replace("{referenceId}",encodeURIComponent(String(e))).replace("{documentId}",encodeURIComponent(String(r))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"GET",...o,...t},l={};return Object.entries({...{},...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},{url:n.pathname+n.search,options:i}}}},Ce=function(a){return{addReferenceDocument(e,r,t,s,n){const o=Ee(a).addReferenceDocument(e,r,t,s,n);return(i=p,l=u)=>{const d={...o.options,url:l+o.url};return i.request(d)}},deleteReferenceDocument(e,r,t){const s=Ee(a).deleteReferenceDocument(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},findManyReferenceDocuments(e,r){const t=Ee(a).findManyReferenceDocuments(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},findReferenceDocumentById(e,r,t){const s=Ee(a).findReferenceDocumentById(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}}}},hu=function(a,e,r){return{addReferenceDocument(t,s,n,o,i){return Ce(a).addReferenceDocument(t,s,n,o,i)(r,e)},deleteReferenceDocument(t,s,n){return Ce(a).deleteReferenceDocument(t,s,n)(r,e)},findManyReferenceDocuments(t,s){return Ce(a).findManyReferenceDocuments(t,s)(r,e)},findReferenceDocumentById(t,s,n){return Ce(a).findReferenceDocumentById(t,s,n)(r,e)}}};class mu extends R{addReferenceDocument(e,r,t,s,n){return Ce(this.configuration).addReferenceDocument(e,r,t,s,n)(this.axios,this.basePath)}deleteReferenceDocument(e,r,t){return Ce(this.configuration).deleteReferenceDocument(e,r,t)(this.axios,this.basePath)}findManyReferenceDocuments(e,r){return Ce(this.configuration).findManyReferenceDocuments(e,r)(this.axios,this.basePath)}findReferenceDocumentById(e,r,t){return Ce(this.configuration).findReferenceDocumentById(e,r,t)(this.axios,this.basePath)}}async function Au(a,e,r,t,s,n=p,o=u,i){const l=Ee(s).addReferenceDocument(a,e,r,t,i),d={...l.options,url:o+l.url};return(await n.request(d)).data}async function Ru(a,e,r,t=p,s=u,n){const o=Ee(r).deleteReferenceDocument(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function Iu(a,e,r=p,t=u,s){const n=Ee(e).findManyReferenceDocuments(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function Pu(a,e,r,t=p,s=u,n){const o=Ee(r).findReferenceDocumentById(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}const D=function(a){return{createReference(e,r={}){if(e==null)throw new h("createReferenceDTO","Required parameter createReferenceDTO was null or undefined when calling createReference.");const t="/v2/references",s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"POST",...n,...r},i={},l={};return i["Content-Type"]="application/json",Object.entries({...l,...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},o.data=JSON.stringify(e!==void 0?e:{}),{url:s.pathname+s.search,options:o}},findReferenceById(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling findReferenceById.");const t="/v2/references/{id}".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},getChecks(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling getChecks.");const t="/v2/references/{id}/checks".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},getReferenceDocuments(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling getReferenceDocuments.");const t="/v2/references/{id}/documents".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},readyForReview(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling readyForReview.");const t="/v2/references/{id}/review".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"PATCH",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},searchReferences(e,r,t,s,n={}){if(e==null)throw new h("status","Required parameter status was null or undefined when calling searchReferences.");if(r==null)throw new h("page","Required parameter page was null or undefined when calling searchReferences.");if(t==null)throw new h("size","Required parameter size was null or undefined when calling searchReferences.");const o="/v2/references/search",i=new URL(o,"http://placeholder");let l;a&&(l=a.baseOptions);const d={method:"GET",...l,...n},c={},m={};return e!==void 0&&(m.status=e),s!==void 0&&(m.sortBy=s),r!==void 0&&(m.page=r),t!==void 0&&(m.size=t),Object.entries({...m,...n.query}).forEach(([A,I])=>{I!==void 0&&i.searchParams.set(A,String(I))}),d.headers={...c,...n.headers},{url:i.pathname+i.search,options:d}},submitChecks(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling submitChecks.");const t="/v2/references/{id}/checks/submit".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"PATCH",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}}}},L=function(a){return{createReference(e,r){const t=D(a).createReference(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},findReferenceById(e,r){const t=D(a).findReferenceById(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},getChecks(e,r){const t=D(a).getChecks(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},getReferenceDocuments(e,r){const t=D(a).getReferenceDocuments(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},readyForReview(e,r){const t=D(a).readyForReview(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},searchReferences(e,r,t,s,n){const o=D(a).searchReferences(e,r,t,s,n);return(i=p,l=u)=>{const d={...o.options,url:l+o.url};return i.request(d)}},submitChecks(e,r){const t=D(a).submitChecks(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}}}},gu=function(a,e,r){return{createReference(t,s){return L(a).createReference(t,s)(r,e)},findReferenceById(t,s){return L(a).findReferenceById(t,s)(r,e)},getChecks(t,s){return L(a).getChecks(t,s)(r,e)},getReferenceDocuments(t,s){return L(a).getReferenceDocuments(t,s)(r,e)},readyForReview(t,s){return L(a).readyForReview(t,s)(r,e)},searchReferences(t,s,n,o,i){return L(a).searchReferences(t,s,n,o,i)(r,e)},submitChecks(t,s){return L(a).submitChecks(t,s)(r,e)}}};class wu extends R{createReference(e,r){return L(this.configuration).createReference(e,r)(this.axios,this.basePath)}findReferenceById(e,r){return L(this.configuration).findReferenceById(e,r)(this.axios,this.basePath)}getChecks(e,r){return L(this.configuration).getChecks(e,r)(this.axios,this.basePath)}getReferenceDocuments(e,r){return L(this.configuration).getReferenceDocuments(e,r)(this.axios,this.basePath)}readyForReview(e,r){return L(this.configuration).readyForReview(e,r)(this.axios,this.basePath)}searchReferences(e,r,t,s,n){return L(this.configuration).searchReferences(e,r,t,s,n)(this.axios,this.basePath)}submitChecks(e,r){return L(this.configuration).submitChecks(e,r)(this.axios,this.basePath)}}async function Ou(a,e,r=p,t=u,s){const n=D(e).createReference(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function fu(a,e,r=p,t=u,s){const n=D(e).findReferenceById(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function yu(a,e,r=p,t=u,s){const n=D(e).getChecks(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function Eu(a,e,r=p,t=u,s){const n=D(e).getReferenceDocuments(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function Cu(a,e,r=p,t=u,s){const n=D(e).readyForReview(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function Vu(a,e,r,t,s,n=p,o=u,i){const l=D(s).searchReferences(a,e,r,t,i),d={...l.options,url:o+l.url};return(await n.request(d)).data}async function qu(a,e,r=p,t=u,s){const n=D(e).submitChecks(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}const B=function(a){return{addRejectionReason(e,r,t={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling addRejectionReason.");if(r==null)throw new h("addRejectionReasonRequestDTO","Required parameter addRejectionReasonRequestDTO was null or undefined when calling addRejectionReason.");const s="/v2/reposit-offer/{id}/rejection-reason".replace("{id}",encodeURIComponent(String(e))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"PATCH",...o,...t},l={},d={};return l["Content-Type"]="application/json",Object.entries({...d,...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:n.pathname+n.search,options:i}},createOffer(e,r={}){if(e==null)throw new h("offerToTenantRequestDTO","Required parameter offerToTenantRequestDTO was null or undefined when calling createOffer.");const t="/v2/reposit-offer",s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"POST",...n,...r},i={},l={};return i["Content-Type"]="application/json",Object.entries({...l,...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},o.data=JSON.stringify(e!==void 0?e:{}),{url:s.pathname+s.search,options:o}},deleteOffer(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling deleteOffer.");const t="/v2/reposit-offer/{id}".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"DELETE",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},getRepositOffer(e,r,t={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling getRepositOffer.");if(r==null)throw new h("token","Required parameter token was null or undefined when calling getRepositOffer.");const s="/v2/reposit-offer/{id}".replace("{id}",encodeURIComponent(String(e))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"GET",...o,...t},l={},d={};return r!==void 0&&(d.token=r),Object.entries({...d,...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},{url:n.pathname+n.search,options:i}},respondToOffer(e,r,t,s={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling respondToOffer.");if(r==null)throw new h("choice","Required parameter choice was null or undefined when calling respondToOffer.");if(t==null)throw new h("token","Required parameter token was null or undefined when calling respondToOffer.");const n="/v2/reposit-offer/{id}/respond".replace("{id}",encodeURIComponent(String(e))),o=new URL(n,"http://placeholder");let i;a&&(i=a.baseOptions);const l={method:"GET",...i,...s},d={},c={};return r!==void 0&&(c.choice=r),t!==void 0&&(c.token=t),Object.entries({...c,...s.query}).forEach(([m,A])=>{A!==void 0&&o.searchParams.set(m,String(A))}),l.headers={...d,...s.headers},{url:o.pathname+o.search,options:l}},searchOffers(e,r,t,s,n,o,i={}){if(e==null)throw new h("page","Required parameter page was null or undefined when calling searchOffers.");if(r==null)throw new h("size","Required parameter size was null or undefined when calling searchOffers.");if(t==null)throw new h("organizationId","Required parameter organizationId was null or undefined when calling searchOffers.");const l="/v2/reposit-offer",d=new URL(l,"http://placeholder");let c;a&&(c=a.baseOptions);const m={method:"GET",...c,...i},A={},I={};return s!==void 0&&(I.query=s),e!==void 0&&(I.page=e),r!==void 0&&(I.size=r),t!==void 0&&(I.organizationId=t),n!==void 0&&(I.status=n),o!==void 0&&(I.orderStatus=o),Object.entries({...I,...i.query}).forEach(([P,q])=>{q!==void 0&&d.searchParams.set(P,String(q))}),m.headers={...A,...i.headers},{url:d.pathname+d.search,options:m}},sendReminder(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling sendReminder.");const t="/v2/reposit-offer/{id}/send-reminder".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"POST",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}}}},F=function(a){return{addRejectionReason(e,r,t){const s=B(a).addRejectionReason(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},createOffer(e,r){const t=B(a).createOffer(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},deleteOffer(e,r){const t=B(a).deleteOffer(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},getRepositOffer(e,r,t){const s=B(a).getRepositOffer(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},respondToOffer(e,r,t,s){const n=B(a).respondToOffer(e,r,t,s);return(o=p,i=u)=>{const l={...n.options,url:i+n.url};return o.request(l)}},searchOffers(e,r,t,s,n,o,i){const l=B(a).searchOffers(e,r,t,s,n,o,i);return(d=p,c=u)=>{const m={...l.options,url:c+l.url};return d.request(m)}},sendReminder(e,r){const t=B(a).sendReminder(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}}}},_u=function(a,e,r){return{addRejectionReason(t,s,n){return F(a).addRejectionReason(t,s,n)(r,e)},createOffer(t,s){return F(a).createOffer(t,s)(r,e)},deleteOffer(t,s){return F(a).deleteOffer(t,s)(r,e)},getRepositOffer(t,s,n){return F(a).getRepositOffer(t,s,n)(r,e)},respondToOffer(t,s,n,o){return F(a).respondToOffer(t,s,n,o)(r,e)},searchOffers(t,s,n,o,i,l,d){return F(a).searchOffers(t,s,n,o,i,l,d)(r,e)},sendReminder(t,s){return F(a).sendReminder(t,s)(r,e)}}};class vu extends R{addRejectionReason(e,r,t){return F(this.configuration).addRejectionReason(e,r,t)(this.axios,this.basePath)}createOffer(e,r){return F(this.configuration).createOffer(e,r)(this.axios,this.basePath)}deleteOffer(e,r){return F(this.configuration).deleteOffer(e,r)(this.axios,this.basePath)}getRepositOffer(e,r,t){return F(this.configuration).getRepositOffer(e,r,t)(this.axios,this.basePath)}respondToOffer(e,r,t,s){return F(this.configuration).respondToOffer(e,r,t,s)(this.axios,this.basePath)}searchOffers(e,r,t,s,n,o,i){return F(this.configuration).searchOffers(e,r,t,s,n,o,i)(this.axios,this.basePath)}sendReminder(e,r){return F(this.configuration).sendReminder(e,r)(this.axios,this.basePath)}}async function bu(a,e,r,t=p,s=u,n){const o=B(r).addRejectionReason(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function Su(a,e,r=p,t=u,s){const n=B(e).createOffer(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function Tu(a,e,r=p,t=u,s){const n=B(e).deleteOffer(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function Nu(a,e,r,t=p,s=u,n){const o=B(r).getRepositOffer(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function xu(a,e,r,t,s=p,n=u,o){const i=B(t).respondToOffer(a,e,r,o),l={...i.options,url:n+i.url};return(await s.request(l)).data}async function Uu(a,e,r,t,s,n,o,i=p,l=u,d){const c=B(o).searchOffers(a,e,r,t,s,n,d),m={...c.options,url:l+c.url};return(await i.request(m)).data}async function Du(a,e,r=p,t=u,s){const n=B(e).sendReminder(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}const b=function(a){return{createReposit(e,r={}){if(e==null)throw new h("createRepositDTO","Required parameter createRepositDTO was null or undefined when calling createReposit.");const t="/v2/integration/reposits",s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"POST",...n,...r},i={},l={};return i["Content-Type"]="application/json",Object.entries({...l,...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},o.data=JSON.stringify(e!==void 0?e:{}),{url:s.pathname+s.search,options:o}},getRepositById(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling getRepositById.");const t="/v2/integration/reposits/{id}".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},getRepositLandlord(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling getRepositLandlord.");const t="/v2/integration/reposits/{id}/landlord".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},getRepositPolicies(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling getRepositPolicies.");const t="/v2/integration/reposits/{id}/policies".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},getRepositPrice(e,r={}){if(e==null)throw new h("requestRepositPricingDTO","Required parameter requestRepositPricingDTO was null or undefined when calling getRepositPrice.");const t="/v2/integration/reposits/pricing",s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"POST",...n,...r},i={},l={};return i["Content-Type"]="application/json",Object.entries({...l,...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},o.data=JSON.stringify(e!==void 0?e:{}),{url:s.pathname+s.search,options:o}},getTenantDocuments(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling getTenantDocuments.");const t="/v2/integration/reposits/{id}/tenant-documents".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},publishReposit(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling publishReposit.");const t="/v2/integration/reposits/{id}/publish".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"POST",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},replaceReposit(e,r,t={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling replaceReposit.");if(r==null)throw new h("replaceRepositDTO","Required parameter replaceRepositDTO was null or undefined when calling replaceReposit.");const s="/v2/integration/reposits/{id}".replace("{id}",encodeURIComponent(String(e))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"PUT",...o,...t},l={},d={};return l["Content-Type"]="application/json",Object.entries({...d,...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:n.pathname+n.search,options:i}}}},S=function(a){return{createReposit(e,r){const t=b(a).createReposit(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},getRepositById(e,r){const t=b(a).getRepositById(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},getRepositLandlord(e,r){const t=b(a).getRepositLandlord(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},getRepositPolicies(e,r){const t=b(a).getRepositPolicies(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},getRepositPrice(e,r){const t=b(a).getRepositPrice(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},getTenantDocuments(e,r){const t=b(a).getTenantDocuments(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},publishReposit(e,r){const t=b(a).publishReposit(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},replaceReposit(e,r,t){const s=b(a).replaceReposit(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}}}},Lu=function(a,e,r){return{createReposit(t,s){return S(a).createReposit(t,s)(r,e)},getRepositById(t,s){return S(a).getRepositById(t,s)(r,e)},getRepositLandlord(t,s){return S(a).getRepositLandlord(t,s)(r,e)},getRepositPolicies(t,s){return S(a).getRepositPolicies(t,s)(r,e)},getRepositPrice(t,s){return S(a).getRepositPrice(t,s)(r,e)},getTenantDocuments(t,s){return S(a).getTenantDocuments(t,s)(r,e)},publishReposit(t,s){return S(a).publishReposit(t,s)(r,e)},replaceReposit(t,s,n){return S(a).replaceReposit(t,s,n)(r,e)}}};class Bu extends R{createReposit(e,r){return S(this.configuration).createReposit(e,r)(this.axios,this.basePath)}getRepositById(e,r){return S(this.configuration).getRepositById(e,r)(this.axios,this.basePath)}getRepositLandlord(e,r){return S(this.configuration).getRepositLandlord(e,r)(this.axios,this.basePath)}getRepositPolicies(e,r){return S(this.configuration).getRepositPolicies(e,r)(this.axios,this.basePath)}getRepositPrice(e,r){return S(this.configuration).getRepositPrice(e,r)(this.axios,this.basePath)}getTenantDocuments(e,r){return S(this.configuration).getTenantDocuments(e,r)(this.axios,this.basePath)}publishReposit(e,r){return S(this.configuration).publishReposit(e,r)(this.axios,this.basePath)}replaceReposit(e,r,t){return S(this.configuration).replaceReposit(e,r,t)(this.axios,this.basePath)}}async function Fu(a,e,r=p,t=u,s){const n=b(e).createReposit(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function ju(a,e,r=p,t=u,s){const n=b(e).getRepositById(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function Mu(a,e,r=p,t=u,s){const n=b(e).getRepositLandlord(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function Hu(a,e,r=p,t=u,s){const n=b(e).getRepositPolicies(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function Gu(a,e,r=p,t=u,s){const n=b(e).getRepositPrice(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function ku(a,e,r=p,t=u,s){const n=b(e).getTenantDocuments(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function Qu(a,e,r=p,t=u,s){const n=b(e).publishReposit(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function Yu(a,e,r,t=p,s=u,n){const o=b(r).replaceReposit(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}const ct=function(a){return{seedCashDeposit(e,r={}){if(e==null)throw new h("seedCashDepositDTO","Required parameter seedCashDepositDTO was null or undefined when calling seedCashDeposit.");const t="/v2/seed/cash-deposits",s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"POST",...n,...r},i={},l={};return i["Content-Type"]="application/json",Object.entries({...l,...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},o.data=JSON.stringify(e!==void 0?e:{}),{url:s.pathname+s.search,options:o}}}},dt=function(a){return{seedCashDeposit(e,r){const t=ct(a).seedCashDeposit(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}}}},zu=function(a,e,r){return{seedCashDeposit(t,s){return dt(a).seedCashDeposit(t,s)(r,e)}}};class $u extends R{seedCashDeposit(e,r){return dt(this.configuration).seedCashDeposit(e,r)(this.axios,this.basePath)}}async function Wu(a,e,r=p,t=u,s){const n=ct(e).seedCashDeposit(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}const ut=function(a){return{seedReposit(e,r={}){if(e==null)throw new h("seedRepositDTO","Required parameter seedRepositDTO was null or undefined when calling seedReposit.");const t="/v2/seed/reposits",s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"POST",...n,...r},i={},l={};return i["Content-Type"]="application/json",Object.entries({...l,...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},o.data=JSON.stringify(e!==void 0?e:{}),{url:s.pathname+s.search,options:o}}}},pt=function(a){return{seedReposit(e,r){const t=ut(a).seedReposit(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}}}},Ju=function(a,e,r){return{seedReposit(t,s){return pt(a).seedReposit(t,s)(r,e)}}};class Ku extends R{seedReposit(e,r){return pt(this.configuration).seedReposit(e,r)(this.axios,this.basePath)}}async function Xu(a,e,r=p,t=u,s){const n=ut(e).seedReposit(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}const yr=function(a){return{getMySupplier(e={}){const r="/v2/integration/organizations/me",t=new URL(r,"http://placeholder");let s;a&&(s=a.baseOptions);const n={method:"GET",...s,...e},o={};return Object.entries({...{},...e.query}).forEach(([l,d])=>{d!==void 0&&t.searchParams.set(l,String(d))}),n.headers={...o,...e.headers},{url:t.pathname+t.search,options:n}},getSupplierAgents(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling getSupplierAgents.");const t="/v2/integration/organizations/{id}/agents".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}}}},Er=function(a){return{getMySupplier(e){const r=yr(a).getMySupplier(e);return(t=p,s=u)=>{const n={...r.options,url:s+r.url};return t.request(n)}},getSupplierAgents(e,r){const t=yr(a).getSupplierAgents(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}}}},Zu=function(a,e,r){return{getMySupplier(t){return Er(a).getMySupplier(t)(r,e)},getSupplierAgents(t,s){return Er(a).getSupplierAgents(t,s)(r,e)}}};class ep extends R{getMySupplier(e){return Er(this.configuration).getMySupplier(e)(this.axios,this.basePath)}getSupplierAgents(e,r){return Er(this.configuration).getSupplierAgents(e,r)(this.axios,this.basePath)}}async function rp(a,e=p,r=u,t){const s=yr(a).getMySupplier(t),n={...s.options,url:r+s.url};return(await e.request(n)).data}async function tp(a,e,r=p,t=u,s){const n=yr(e).getSupplierAgents(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}const C=function(a){return{closingRemindersEnabled(e,r,t={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling closingRemindersEnabled.");if(r==null)throw new h("updateClosingRemindersEnabledRequestDTO","Required parameter updateClosingRemindersEnabledRequestDTO was null or undefined when calling closingRemindersEnabled.");const s="/v2/tenancies/{id}/closing-reminders-enabled".replace("{id}",encodeURIComponent(String(e))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"PATCH",...o,...t},l={},d={};return l["Content-Type"]="application/json",Object.entries({...d,...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:n.pathname+n.search,options:i}},createTenancy(e,r={}){if(e==null)throw new h("createTenancyRequestDTO","Required parameter createTenancyRequestDTO was null or undefined when calling createTenancy.");const t="/v2/tenancies",s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"POST",...n,...r},i={},l={};return i["Content-Type"]="application/json",Object.entries({...l,...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},o.data=JSON.stringify(e!==void 0?e:{}),{url:s.pathname+s.search,options:o}},createTenancyOrder(e,r,t={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling createTenancyOrder.");if(r==null)throw new h("createOrderDTO","Required parameter createOrderDTO was null or undefined when calling createTenancyOrder.");const s="/v2/tenancies/{id}/orders".replace("{id}",encodeURIComponent(String(e))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"POST",...o,...t},l={},d={};return l["Content-Type"]="application/json",Object.entries({...d,...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:n.pathname+n.search,options:i}},disableTopUps(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling disableTopUps.");const t="/v2/tenancies/{id}/disable-top-ups".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"POST",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},extendOutcomeDeadline(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling extendOutcomeDeadline.");const t="/v2/tenancies/{id}/extend-outcome-deadline".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"POST",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},getTenancyById(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling getTenancyById.");const t="/v2/tenancies/{id}".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},getTenancyDocuments(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling getTenancyDocuments.");const t="/v2/tenancies/{id}/documents".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},publish(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling publish.");const t="/v2/tenancies/{id}/publish".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"POST",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},signAddendumForSupplier(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling signAddendumForSupplier.");const t="/v2/tenancies/{id}/sign-addendum".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"POST",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},tenantVacated(e,r={}){if(e==null)throw new h("token","Required parameter token was null or undefined when calling tenantVacated.");const t="/v2/tenancies/tenant-vacated",s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={},l={};return e!==void 0&&(l.token=e),Object.entries({...l,...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},updateExistingProperty(e,r,t={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling updateExistingProperty.");if(r==null)throw new h("updateExistingPropertyOnTenancyRequestDTO","Required parameter updateExistingPropertyOnTenancyRequestDTO was null or undefined when calling updateExistingProperty.");const s="/v2/tenancies/{id}/properties".replace("{id}",encodeURIComponent(String(e))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"PATCH",...o,...t},l={},d={};return l["Content-Type"]="application/json",Object.entries({...d,...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:n.pathname+n.search,options:i}},updateProperty(e,r,t={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling updateProperty.");if(r==null)throw new h("updatePropertyRequestDTO","Required parameter updatePropertyRequestDTO was null or undefined when calling updateProperty.");const s="/v2/tenancies/{id}/properties".replace("{id}",encodeURIComponent(String(e))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"PUT",...o,...t},l={},d={};return l["Content-Type"]="application/json",Object.entries({...d,...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:n.pathname+n.search,options:i}},updateTenancy(e,r,t={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling updateTenancy.");if(r==null)throw new h("updateTenancyRequestDTO","Required parameter updateTenancyRequestDTO was null or undefined when calling updateTenancy.");const s="/v2/tenancies/{id}".replace("{id}",encodeURIComponent(String(e))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"PATCH",...o,...t},l={},d={};return l["Content-Type"]="application/json",Object.entries({...d,...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:n.pathname+n.search,options:i}}}},V=function(a){return{closingRemindersEnabled(e,r,t){const s=C(a).closingRemindersEnabled(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},createTenancy(e,r){const t=C(a).createTenancy(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},createTenancyOrder(e,r,t){const s=C(a).createTenancyOrder(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},disableTopUps(e,r){const t=C(a).disableTopUps(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},extendOutcomeDeadline(e,r){const t=C(a).extendOutcomeDeadline(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},getTenancyById(e,r){const t=C(a).getTenancyById(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},getTenancyDocuments(e,r){const t=C(a).getTenancyDocuments(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},publish(e,r){const t=C(a).publish(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},signAddendumForSupplier(e,r){const t=C(a).signAddendumForSupplier(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},tenantVacated(e,r){const t=C(a).tenantVacated(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},updateExistingProperty(e,r,t){const s=C(a).updateExistingProperty(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},updateProperty(e,r,t){const s=C(a).updateProperty(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},updateTenancy(e,r,t){const s=C(a).updateTenancy(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}}}},ap=function(a,e,r){return{closingRemindersEnabled(t,s,n){return V(a).closingRemindersEnabled(t,s,n)(r,e)},createTenancy(t,s){return V(a).createTenancy(t,s)(r,e)},createTenancyOrder(t,s,n){return V(a).createTenancyOrder(t,s,n)(r,e)},disableTopUps(t,s){return V(a).disableTopUps(t,s)(r,e)},extendOutcomeDeadline(t,s){return V(a).extendOutcomeDeadline(t,s)(r,e)},getTenancyById(t,s){return V(a).getTenancyById(t,s)(r,e)},getTenancyDocuments(t,s){return V(a).getTenancyDocuments(t,s)(r,e)},publish(t,s){return V(a).publish(t,s)(r,e)},signAddendumForSupplier(t,s){return V(a).signAddendumForSupplier(t,s)(r,e)},tenantVacated(t,s){return V(a).tenantVacated(t,s)(r,e)},updateExistingProperty(t,s,n){return V(a).updateExistingProperty(t,s,n)(r,e)},updateProperty(t,s,n){return V(a).updateProperty(t,s,n)(r,e)},updateTenancy(t,s,n){return V(a).updateTenancy(t,s,n)(r,e)}}};class sp extends R{closingRemindersEnabled(e,r,t){return V(this.configuration).closingRemindersEnabled(e,r,t)(this.axios,this.basePath)}createTenancy(e,r){return V(this.configuration).createTenancy(e,r)(this.axios,this.basePath)}createTenancyOrder(e,r,t){return V(this.configuration).createTenancyOrder(e,r,t)(this.axios,this.basePath)}disableTopUps(e,r){return V(this.configuration).disableTopUps(e,r)(this.axios,this.basePath)}extendOutcomeDeadline(e,r){return V(this.configuration).extendOutcomeDeadline(e,r)(this.axios,this.basePath)}getTenancyById(e,r){return V(this.configuration).getTenancyById(e,r)(this.axios,this.basePath)}getTenancyDocuments(e,r){return V(this.configuration).getTenancyDocuments(e,r)(this.axios,this.basePath)}publish(e,r){return V(this.configuration).publish(e,r)(this.axios,this.basePath)}signAddendumForSupplier(e,r){return V(this.configuration).signAddendumForSupplier(e,r)(this.axios,this.basePath)}tenantVacated(e,r){return V(this.configuration).tenantVacated(e,r)(this.axios,this.basePath)}updateExistingProperty(e,r,t){return V(this.configuration).updateExistingProperty(e,r,t)(this.axios,this.basePath)}updateProperty(e,r,t){return V(this.configuration).updateProperty(e,r,t)(this.axios,this.basePath)}updateTenancy(e,r,t){return V(this.configuration).updateTenancy(e,r,t)(this.axios,this.basePath)}}async function np(a,e,r,t=p,s=u,n){const o=C(r).closingRemindersEnabled(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function op(a,e,r=p,t=u,s){const n=C(e).createTenancy(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function ip(a,e,r,t=p,s=u,n){const o=C(r).createTenancyOrder(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function lp(a,e,r=p,t=u,s){const n=C(e).disableTopUps(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function cp(a,e,r=p,t=u,s){const n=C(e).extendOutcomeDeadline(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function dp(a,e,r=p,t=u,s){const n=C(e).getTenancyById(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function up(a,e,r=p,t=u,s){const n=C(e).getTenancyDocuments(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function pp(a,e,r=p,t=u,s){const n=C(e).publish(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function hp(a,e,r=p,t=u,s){const n=C(e).signAddendumForSupplier(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function mp(a,e,r=p,t=u,s){const n=C(e).tenantVacated(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function Ap(a,e,r,t=p,s=u,n){const o=C(r).updateExistingProperty(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function Rp(a,e,r,t=p,s=u,n){const o=C(r).updateProperty(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function Ip(a,e,r,t=p,s=u,n){const o=C(r).updateTenancy(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}const ht=function(a){return{getTenancyAnniversaries(e,r={}){if(e==null)throw new h("tenancyId","Required parameter tenancyId was null or undefined when calling getTenancyAnniversaries.");const t="/v2/tenancies/{tenancyId}/anniversaries".replace("{tenancyId}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}}}},mt=function(a){return{getTenancyAnniversaries(e,r){const t=ht(a).getTenancyAnniversaries(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}}}},Pp=function(a,e,r){return{getTenancyAnniversaries(t,s){return mt(a).getTenancyAnniversaries(t,s)(r,e)}}};class gp extends R{getTenancyAnniversaries(e,r){return mt(this.configuration).getTenancyAnniversaries(e,r)(this.axios,this.basePath)}}async function wp(a,e,r=p,t=u,s){const n=ht(e).getTenancyAnniversaries(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}const At=function(a){return{createCheckout(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling createCheckout.");const t="/v2/tenancies/{id}/checkout".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"POST",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}}}},Rt=function(a){return{createCheckout(e,r){const t=At(a).createCheckout(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}}}},Op=function(a,e,r){return{createCheckout(t,s){return Rt(a).createCheckout(t,s)(r,e)}}};class fp extends R{createCheckout(e,r){return Rt(this.configuration).createCheckout(e,r)(this.axios,this.basePath)}}async function yp(a,e,r=p,t=u,s){const n=At(e).createCheckout(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}const Cr=function(a){return{createTenancyExpiry(e,r,t={}){if(e==null)throw new h("tenancyId","Required parameter tenancyId was null or undefined when calling createTenancyExpiry.");if(r==null)throw new h("createTenancyExpiryRequestDTO","Required parameter createTenancyExpiryRequestDTO was null or undefined when calling createTenancyExpiry.");const s="/v2/tenancies/{tenancyId}/expiries".replace("{tenancyId}",encodeURIComponent(String(e))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"POST",...o,...t},l={},d={};return l["Content-Type"]="application/json",Object.entries({...d,...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:n.pathname+n.search,options:i}},getByTenancyId(e,r={}){if(e==null)throw new h("tenancyId","Required parameter tenancyId was null or undefined when calling getByTenancyId.");const t="/v2/tenancies/{tenancyId}/expiries".replace("{tenancyId}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}}}},Vr=function(a){return{createTenancyExpiry(e,r,t){const s=Cr(a).createTenancyExpiry(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},getByTenancyId(e,r){const t=Cr(a).getByTenancyId(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}}}},Ep=function(a,e,r){return{createTenancyExpiry(t,s,n){return Vr(a).createTenancyExpiry(t,s,n)(r,e)},getByTenancyId(t,s){return Vr(a).getByTenancyId(t,s)(r,e)}}};class Cp extends R{createTenancyExpiry(e,r,t){return Vr(this.configuration).createTenancyExpiry(e,r,t)(this.axios,this.basePath)}getByTenancyId(e,r){return Vr(this.configuration).getByTenancyId(e,r)(this.axios,this.basePath)}}async function Vp(a,e,r,t=p,s=u,n){const o=Cr(r).createTenancyExpiry(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function qp(a,e,r=p,t=u,s){const n=Cr(e).getByTenancyId(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}const qr=function(a){return{disableWarnings(e,r,t={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling disableWarnings.");if(r==null)throw new h("tenancyId","Required parameter tenancyId was null or undefined when calling disableWarnings.");const s="/v2/tenancies/{tenancyId}/inventories/{id}/disable-warnings".replace("{id}",encodeURIComponent(String(e))).replace("{tenancyId}",encodeURIComponent(String(r))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"PATCH",...o,...t},l={};return Object.entries({...{},...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},{url:n.pathname+n.search,options:i}},tenantConfirmation(e,r,t,s={}){if(e==null)throw new h("token","Required parameter token was null or undefined when calling tenantConfirmation.");if(r==null)throw new h("response","Required parameter response was null or undefined when calling tenantConfirmation.");if(t==null)throw new h("tenancyId","Required parameter tenancyId was null or undefined when calling tenantConfirmation.");const n="/v2/tenancies/{tenancyId}/inventories/confirmation".replace("{tenancyId}",encodeURIComponent(String(t))),o=new URL(n,"http://placeholder");let i;a&&(i=a.baseOptions);const l={method:"GET",...i,...s},d={},c={};return e!==void 0&&(c.token=e),r!==void 0&&(c.response=r),Object.entries({...c,...s.query}).forEach(([m,A])=>{A!==void 0&&o.searchParams.set(m,String(A))}),l.headers={...d,...s.headers},{url:o.pathname+o.search,options:l}}}},_r=function(a){return{disableWarnings(e,r,t){const s=qr(a).disableWarnings(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},tenantConfirmation(e,r,t,s){const n=qr(a).tenantConfirmation(e,r,t,s);return(o=p,i=u)=>{const l={...n.options,url:i+n.url};return o.request(l)}}}},_p=function(a,e,r){return{disableWarnings(t,s,n){return _r(a).disableWarnings(t,s,n)(r,e)},tenantConfirmation(t,s,n,o){return _r(a).tenantConfirmation(t,s,n,o)(r,e)}}};class vp extends R{disableWarnings(e,r,t){return _r(this.configuration).disableWarnings(e,r,t)(this.axios,this.basePath)}tenantConfirmation(e,r,t,s){return _r(this.configuration).tenantConfirmation(e,r,t,s)(this.axios,this.basePath)}}async function bp(a,e,r,t=p,s=u,n){const o=qr(r).disableWarnings(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function Sp(a,e,r,t,s=p,n=u,o){const i=qr(t).tenantConfirmation(a,e,r,o),l={...i.options,url:n+i.url};return(await s.request(l)).data}const $=function(a){return{acceptTenancyInvite(e,r,t,s={}){if(e==null)throw new h("token","Required parameter token was null or undefined when calling acceptTenancyInvite.");if(r==null)throw new h("clearSession","Required parameter clearSession was null or undefined when calling acceptTenancyInvite.");if(t==null)throw new h("tenancyId","Required parameter tenancyId was null or undefined when calling acceptTenancyInvite.");const n="/v2/tenancies/{tenancyId}/invites/accept".replace("{tenancyId}",encodeURIComponent(String(t))),o=new URL(n,"http://placeholder");let i;a&&(i=a.baseOptions);const l={method:"GET",...i,...s},d={},c={};return e!==void 0&&(c.token=e),r!==void 0&&(c.clear_session=r),Object.entries({...c,...s.query}).forEach(([m,A])=>{A!==void 0&&o.searchParams.set(m,String(A))}),l.headers={...d,...s.headers},{url:o.pathname+o.search,options:l}},createTenancyInvite(e,r,t={}){if(e==null)throw new h("tenancyId","Required parameter tenancyId was null or undefined when calling createTenancyInvite.");if(r==null)throw new h("createTenancyInviteDTO","Required parameter createTenancyInviteDTO was null or undefined when calling createTenancyInvite.");const s="/v2/tenancies/{tenancyId}/invites".replace("{tenancyId}",encodeURIComponent(String(e))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"POST",...o,...t},l={},d={};return l["Content-Type"]="application/json",Object.entries({...d,...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:n.pathname+n.search,options:i}},deleteTenancyInvite(e,r,t={}){if(e==null)throw new h("tenancyInviteId","Required parameter tenancyInviteId was null or undefined when calling deleteTenancyInvite.");if(r==null)throw new h("tenancyId","Required parameter tenancyId was null or undefined when calling deleteTenancyInvite.");const s="/v2/tenancies/{tenancyId}/invites/{tenancyInviteId}".replace("{tenancyInviteId}",encodeURIComponent(String(e))).replace("{tenancyId}",encodeURIComponent(String(r))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"DELETE",...o,...t},l={};return Object.entries({...{},...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},{url:n.pathname+n.search,options:i}},fetchInvitesByTenancyId(e,r,t,s={}){if(e==null)throw new h("tenancyId","Required parameter tenancyId was null or undefined when calling fetchInvitesByTenancyId.");if(r==null)throw new h("organizationId","Required parameter organizationId was null or undefined when calling fetchInvitesByTenancyId.");const n="/v2/tenancies/{tenancyId}/invites".replace("{tenancyId}",encodeURIComponent(String(e))).replace("{organizationId}",encodeURIComponent(String(r))),o=new URL(n,"http://placeholder");let i;a&&(i=a.baseOptions);const l={method:"GET",...i,...s},d={},c={};return t!==void 0&&(c.accepted=t),Object.entries({...c,...s.query}).forEach(([m,A])=>{A!==void 0&&o.searchParams.set(m,String(A))}),l.headers={...d,...s.headers},{url:o.pathname+o.search,options:l}},resendTenancyInvite(e,r,t={}){if(e==null)throw new h("tenancyInviteId","Required parameter tenancyInviteId was null or undefined when calling resendTenancyInvite.");if(r==null)throw new h("tenancyId","Required parameter tenancyId was null or undefined when calling resendTenancyInvite.");const s="/v2/tenancies/{tenancyId}/invites/{tenancyInviteId}/resend".replace("{tenancyInviteId}",encodeURIComponent(String(e))).replace("{tenancyId}",encodeURIComponent(String(r))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"POST",...o,...t},l={};return Object.entries({...{},...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},{url:n.pathname+n.search,options:i}},updateTenancyInvite(e,r,t,s={}){if(e==null)throw new h("tenancyInviteId","Required parameter tenancyInviteId was null or undefined when calling updateTenancyInvite.");if(r==null)throw new h("tenancyId","Required parameter tenancyId was null or undefined when calling updateTenancyInvite.");if(t==null)throw new h("updateTenancyInviteDTO","Required parameter updateTenancyInviteDTO was null or undefined when calling updateTenancyInvite.");const n="/v2/tenancies/{tenancyId}/invites/{tenancyInviteId}".replace("{tenancyInviteId}",encodeURIComponent(String(e))).replace("{tenancyId}",encodeURIComponent(String(r))),o=new URL(n,"http://placeholder");let i;a&&(i=a.baseOptions);const l={method:"PATCH",...i,...s},d={},c={};return d["Content-Type"]="application/json",Object.entries({...c,...s.query}).forEach(([m,A])=>{A!==void 0&&o.searchParams.set(m,String(A))}),l.headers={...d,...s.headers},l.data=JSON.stringify(t!==void 0?t:{}),{url:o.pathname+o.search,options:l}}}},W=function(a){return{acceptTenancyInvite(e,r,t,s){const n=$(a).acceptTenancyInvite(e,r,t,s);return(o=p,i=u)=>{const l={...n.options,url:i+n.url};return o.request(l)}},createTenancyInvite(e,r,t){const s=$(a).createTenancyInvite(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},deleteTenancyInvite(e,r,t){const s=$(a).deleteTenancyInvite(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},fetchInvitesByTenancyId(e,r,t,s){const n=$(a).fetchInvitesByTenancyId(e,r,t,s);return(o=p,i=u)=>{const l={...n.options,url:i+n.url};return o.request(l)}},resendTenancyInvite(e,r,t){const s=$(a).resendTenancyInvite(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},updateTenancyInvite(e,r,t,s){const n=$(a).updateTenancyInvite(e,r,t,s);return(o=p,i=u)=>{const l={...n.options,url:i+n.url};return o.request(l)}}}},Tp=function(a,e,r){return{acceptTenancyInvite(t,s,n,o){return W(a).acceptTenancyInvite(t,s,n,o)(r,e)},createTenancyInvite(t,s,n){return W(a).createTenancyInvite(t,s,n)(r,e)},deleteTenancyInvite(t,s,n){return W(a).deleteTenancyInvite(t,s,n)(r,e)},fetchInvitesByTenancyId(t,s,n,o){return W(a).fetchInvitesByTenancyId(t,s,n,o)(r,e)},resendTenancyInvite(t,s,n){return W(a).resendTenancyInvite(t,s,n)(r,e)},updateTenancyInvite(t,s,n,o){return W(a).updateTenancyInvite(t,s,n,o)(r,e)}}};class Np extends R{acceptTenancyInvite(e,r,t,s){return W(this.configuration).acceptTenancyInvite(e,r,t,s)(this.axios,this.basePath)}createTenancyInvite(e,r,t){return W(this.configuration).createTenancyInvite(e,r,t)(this.axios,this.basePath)}deleteTenancyInvite(e,r,t){return W(this.configuration).deleteTenancyInvite(e,r,t)(this.axios,this.basePath)}fetchInvitesByTenancyId(e,r,t,s){return W(this.configuration).fetchInvitesByTenancyId(e,r,t,s)(this.axios,this.basePath)}resendTenancyInvite(e,r,t){return W(this.configuration).resendTenancyInvite(e,r,t)(this.axios,this.basePath)}updateTenancyInvite(e,r,t,s){return W(this.configuration).updateTenancyInvite(e,r,t,s)(this.axios,this.basePath)}}async function xp(a,e,r,t,s=p,n=u,o){const i=$(t).acceptTenancyInvite(a,e,r,o),l={...i.options,url:n+i.url};return(await s.request(l)).data}async function Up(a,e,r,t=p,s=u,n){const o=$(r).createTenancyInvite(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function Dp(a,e,r,t=p,s=u,n){const o=$(r).deleteTenancyInvite(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function Lp(a,e,r,t,s=p,n=u,o){const i=$(t).fetchInvitesByTenancyId(a,e,r,o),l={...i.options,url:n+i.url};return(await s.request(l)).data}async function Bp(a,e,r,t=p,s=u,n){const o=$(r).resendTenancyInvite(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function Fp(a,e,r,t,s=p,n=u,o){const i=$(t).updateTenancyInvite(a,e,r,o),l={...i.options,url:n+i.url};return(await s.request(l)).data}const vr=function(a){return{createTenancyOrderNote(e,r,t={}){if(e==null)throw new h("tenancyOrderId","Required parameter tenancyOrderId was null or undefined when calling createTenancyOrderNote.");if(r==null)throw new h("createTenancyOrderNoteDTO","Required parameter createTenancyOrderNoteDTO was null or undefined when calling createTenancyOrderNote.");const s="/v2/tenancy-orders/{tenancyOrderId}/notes".replace("{tenancyOrderId}",encodeURIComponent(String(e))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"POST",...o,...t},l={},d={};return l["Content-Type"]="application/json",Object.entries({...d,...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:n.pathname+n.search,options:i}},deleteNote(e,r,t={}){if(e==null)throw new h("tenancyOrderNoteId","Required parameter tenancyOrderNoteId was null or undefined when calling deleteNote.");if(r==null)throw new h("tenancyOrderId","Required parameter tenancyOrderId was null or undefined when calling deleteNote.");const s="/v2/tenancy-orders/{tenancyOrderId}/notes/{tenancyOrderNoteId}".replace("{tenancyOrderNoteId}",encodeURIComponent(String(e))).replace("{tenancyOrderId}",encodeURIComponent(String(r))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"DELETE",...o,...t},l={};return Object.entries({...{},...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},{url:n.pathname+n.search,options:i}}}},br=function(a){return{createTenancyOrderNote(e,r,t){const s=vr(a).createTenancyOrderNote(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},deleteNote(e,r,t){const s=vr(a).deleteNote(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}}}},jp=function(a,e,r){return{createTenancyOrderNote(t,s,n){return br(a).createTenancyOrderNote(t,s,n)(r,e)},deleteNote(t,s,n){return br(a).deleteNote(t,s,n)(r,e)}}};class Mp extends R{createTenancyOrderNote(e,r,t){return br(this.configuration).createTenancyOrderNote(e,r,t)(this.axios,this.basePath)}deleteNote(e,r,t){return br(this.configuration).deleteNote(e,r,t)(this.axios,this.basePath)}}async function Hp(a,e,r,t=p,s=u,n){const o=vr(r).createTenancyOrderNote(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function Gp(a,e,r,t=p,s=u,n){const o=vr(r).deleteNote(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}const J=function(a){return{getTenancyOrderById(e,r,t={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling getTenancyOrderById.");const s="/v2/tenancy-orders/{id}".replace("{id}",encodeURIComponent(String(e))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"GET",...o,...t},l={},d={};return r!==void 0&&(d.includeDeleted=r),Object.entries({...d,...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},{url:n.pathname+n.search,options:i}},optimisedSearch(e,r,t,s,n,o,i,l,d,c,m,A,I={}){if(e==null)throw new h("organizationId","Required parameter organizationId was null or undefined when calling optimisedSearch.");if(r==null)throw new h("page","Required parameter page was null or undefined when calling optimisedSearch.");if(t==null)throw new h("size","Required parameter size was null or undefined when calling optimisedSearch.");if(s==null)throw new h("includeDeleted","Required parameter includeDeleted was null or undefined when calling optimisedSearch.");if(n==null)throw new h("onlyDeleted","Required parameter onlyDeleted was null or undefined when calling optimisedSearch.");const P="/v2/tenancy-orders/optimised-search",q=new URL(P,"http://placeholder");let j;a&&(j=a.baseOptions);const Je={method:"GET",...j,...I},gt={},M={};return o!==void 0&&(M.query=o),e!==void 0&&(M.organizationId=e),i!==void 0&&(M.orderStatus=i),l!==void 0&&(M.tenancyStatus=l),d!==void 0&&(M.sortBy=d),c!==void 0&&(M.sortDirection=c),r!==void 0&&(M.page=r),t!==void 0&&(M.size=t),s!==void 0&&(M.includeDeleted=s),n!==void 0&&(M.onlyDeleted=n),m!==void 0&&(M.letOnly=m),A!==void 0&&(M.isNewTenancy=A),Object.entries({...M,...I.query}).forEach(([Ys,wt])=>{wt!==void 0&&q.searchParams.set(Ys,String(wt))}),Je.headers={...gt,...I.headers},{url:q.pathname+q.search,options:Je}},removeTenancyOrderById(e,r,t={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling removeTenancyOrderById.");if(r==null)throw new h("removeTenancyOrderDTO","Required parameter removeTenancyOrderDTO was null or undefined when calling removeTenancyOrderById.");const s="/v2/tenancy-orders/{id}".replace("{id}",encodeURIComponent(String(e))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"DELETE",...o,...t},l={},d={};return l["Content-Type"]="application/json",Object.entries({...d,...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:n.pathname+n.search,options:i}},reopenTenancyOrder(e,r,t={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling reopenTenancyOrder.");if(r==null)throw new h("reopenRepositDTO","Required parameter reopenRepositDTO was null or undefined when calling reopenTenancyOrder.");const s="/v2/tenancy-orders/{id}/reopen".replace("{id}",encodeURIComponent(String(e))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"POST",...o,...t},l={},d={};return l["Content-Type"]="application/json",Object.entries({...d,...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:n.pathname+n.search,options:i}},sendOverdueChasers(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling sendOverdueChasers.");const t="/v2/tenancy-orders/{id}/send-overdue-chasers".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"POST",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},transferTenancyOrderToOrganization(e,r,t={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling transferTenancyOrderToOrganization.");if(r==null)throw new h("transferTenancyOrderDTO","Required parameter transferTenancyOrderDTO was null or undefined when calling transferTenancyOrderToOrganization.");const s="/v2/tenancy-orders/{id}/transfer".replace("{id}",encodeURIComponent(String(e))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"POST",...o,...t},l={},d={};return l["Content-Type"]="application/json",Object.entries({...d,...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:n.pathname+n.search,options:i}}}},K=function(a){return{getTenancyOrderById(e,r,t){const s=J(a).getTenancyOrderById(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},optimisedSearch(e,r,t,s,n,o,i,l,d,c,m,A,I){const P=J(a).optimisedSearch(e,r,t,s,n,o,i,l,d,c,m,A,I);return(q=p,j=u)=>{const Je={...P.options,url:j+P.url};return q.request(Je)}},removeTenancyOrderById(e,r,t){const s=J(a).removeTenancyOrderById(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},reopenTenancyOrder(e,r,t){const s=J(a).reopenTenancyOrder(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},sendOverdueChasers(e,r){const t=J(a).sendOverdueChasers(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},transferTenancyOrderToOrganization(e,r,t){const s=J(a).transferTenancyOrderToOrganization(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}}}},kp=function(a,e,r){return{getTenancyOrderById(t,s,n){return K(a).getTenancyOrderById(t,s,n)(r,e)},optimisedSearch(t,s,n,o,i,l,d,c,m,A,I,P,q){return K(a).optimisedSearch(t,s,n,o,i,l,d,c,m,A,I,P,q)(r,e)},removeTenancyOrderById(t,s,n){return K(a).removeTenancyOrderById(t,s,n)(r,e)},reopenTenancyOrder(t,s,n){return K(a).reopenTenancyOrder(t,s,n)(r,e)},sendOverdueChasers(t,s){return K(a).sendOverdueChasers(t,s)(r,e)},transferTenancyOrderToOrganization(t,s,n){return K(a).transferTenancyOrderToOrganization(t,s,n)(r,e)}}};class Qp extends R{getTenancyOrderById(e,r,t){return K(this.configuration).getTenancyOrderById(e,r,t)(this.axios,this.basePath)}optimisedSearch(e,r,t,s,n,o,i,l,d,c,m,A,I){return K(this.configuration).optimisedSearch(e,r,t,s,n,o,i,l,d,c,m,A,I)(this.axios,this.basePath)}removeTenancyOrderById(e,r,t){return K(this.configuration).removeTenancyOrderById(e,r,t)(this.axios,this.basePath)}reopenTenancyOrder(e,r,t){return K(this.configuration).reopenTenancyOrder(e,r,t)(this.axios,this.basePath)}sendOverdueChasers(e,r){return K(this.configuration).sendOverdueChasers(e,r)(this.axios,this.basePath)}transferTenancyOrderToOrganization(e,r,t){return K(this.configuration).transferTenancyOrderToOrganization(e,r,t)(this.axios,this.basePath)}}async function Yp(a,e,r,t=p,s=u,n){const o=J(r).getTenancyOrderById(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function zp(a,e,r,t,s,n,o,i,l,d,c,m,A,I=p,P=u,q){const j=J(A).optimisedSearch(a,e,r,t,s,n,o,i,l,d,c,m,q),Je={...j.options,url:P+j.url};return(await I.request(Je)).data}async function $p(a,e,r,t=p,s=u,n){const o=J(r).removeTenancyOrderById(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function Wp(a,e,r,t=p,s=u,n){const o=J(r).reopenTenancyOrder(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function Jp(a,e,r=p,t=u,s){const n=J(e).sendOverdueChasers(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function Kp(a,e,r,t=p,s=u,n){const o=J(r).transferTenancyOrderToOrganization(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}const Ve=function(a){return{addGuarantor(e,r,t,s={}){if(e==null)throw new h("tenancyUserId","Required parameter tenancyUserId was null or undefined when calling addGuarantor.");if(r==null)throw new h("tenancyId","Required parameter tenancyId was null or undefined when calling addGuarantor.");if(t==null)throw new h("createGuarantorDTO","Required parameter createGuarantorDTO was null or undefined when calling addGuarantor.");const n="/v2/tenancies/{tenancyId}/tenancyUsers/{tenancyUserId}/guarantor".replace("{tenancyUserId}",encodeURIComponent(String(e))).replace("{tenancyId}",encodeURIComponent(String(r))),o=new URL(n,"http://placeholder");let i;a&&(i=a.baseOptions);const l={method:"POST",...i,...s},d={},c={};return d["Content-Type"]="application/json",Object.entries({...c,...s.query}).forEach(([m,A])=>{A!==void 0&&o.searchParams.set(m,String(A))}),l.headers={...d,...s.headers},l.data=JSON.stringify(t!==void 0?t:{}),{url:o.pathname+o.search,options:l}},deleteGuarantor(e,r,t={}){if(e==null)throw new h("tenancyUserId","Required parameter tenancyUserId was null or undefined when calling deleteGuarantor.");if(r==null)throw new h("tenancyId","Required parameter tenancyId was null or undefined when calling deleteGuarantor.");const s="/v2/tenancies/{tenancyId}/tenancyUsers/{tenancyUserId}/guarantor".replace("{tenancyUserId}",encodeURIComponent(String(e))).replace("{tenancyId}",encodeURIComponent(String(r))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"DELETE",...o,...t},l={};return Object.entries({...{},...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},{url:n.pathname+n.search,options:i}},sendReminderEmail(e,r,t={}){if(e==null)throw new h("tenancyUserId","Required parameter tenancyUserId was null or undefined when calling sendReminderEmail.");if(r==null)throw new h("tenancyId","Required parameter tenancyId was null or undefined when calling sendReminderEmail.");const s="/v2/tenancies/{tenancyId}/tenancyUsers/{tenancyUserId}/sendReminderEmail".replace("{tenancyUserId}",encodeURIComponent(String(e))).replace("{tenancyId}",encodeURIComponent(String(r))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"POST",...o,...t},l={};return Object.entries({...{},...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},{url:n.pathname+n.search,options:i}},updateGuarantor(e,r,t,s={}){if(e==null)throw new h("tenancyUserId","Required parameter tenancyUserId was null or undefined when calling updateGuarantor.");if(r==null)throw new h("tenancyId","Required parameter tenancyId was null or undefined when calling updateGuarantor.");if(t==null)throw new h("createGuarantorDTO","Required parameter createGuarantorDTO was null or undefined when calling updateGuarantor.");const n="/v2/tenancies/{tenancyId}/tenancyUsers/{tenancyUserId}/guarantor".replace("{tenancyUserId}",encodeURIComponent(String(e))).replace("{tenancyId}",encodeURIComponent(String(r))),o=new URL(n,"http://placeholder");let i;a&&(i=a.baseOptions);const l={method:"PUT",...i,...s},d={},c={};return d["Content-Type"]="application/json",Object.entries({...c,...s.query}).forEach(([m,A])=>{A!==void 0&&o.searchParams.set(m,String(A))}),l.headers={...d,...s.headers},l.data=JSON.stringify(t!==void 0?t:{}),{url:o.pathname+o.search,options:l}}}},qe=function(a){return{addGuarantor(e,r,t,s){const n=Ve(a).addGuarantor(e,r,t,s);return(o=p,i=u)=>{const l={...n.options,url:i+n.url};return o.request(l)}},deleteGuarantor(e,r,t){const s=Ve(a).deleteGuarantor(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},sendReminderEmail(e,r,t){const s=Ve(a).sendReminderEmail(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},updateGuarantor(e,r,t,s){const n=Ve(a).updateGuarantor(e,r,t,s);return(o=p,i=u)=>{const l={...n.options,url:i+n.url};return o.request(l)}}}},Xp=function(a,e,r){return{addGuarantor(t,s,n,o){return qe(a).addGuarantor(t,s,n,o)(r,e)},deleteGuarantor(t,s,n){return qe(a).deleteGuarantor(t,s,n)(r,e)},sendReminderEmail(t,s,n){return qe(a).sendReminderEmail(t,s,n)(r,e)},updateGuarantor(t,s,n,o){return qe(a).updateGuarantor(t,s,n,o)(r,e)}}};class Zp extends R{addGuarantor(e,r,t,s){return qe(this.configuration).addGuarantor(e,r,t,s)(this.axios,this.basePath)}deleteGuarantor(e,r,t){return qe(this.configuration).deleteGuarantor(e,r,t)(this.axios,this.basePath)}sendReminderEmail(e,r,t){return qe(this.configuration).sendReminderEmail(e,r,t)(this.axios,this.basePath)}updateGuarantor(e,r,t,s){return qe(this.configuration).updateGuarantor(e,r,t,s)(this.axios,this.basePath)}}async function eh(a,e,r,t,s=p,n=u,o){const i=Ve(t).addGuarantor(a,e,r,o),l={...i.options,url:n+i.url};return(await s.request(l)).data}async function rh(a,e,r,t=p,s=u,n){const o=Ve(r).deleteGuarantor(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function th(a,e,r,t=p,s=u,n){const o=Ve(r).sendReminderEmail(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function ah(a,e,r,t,s=p,n=u,o){const i=Ve(t).updateGuarantor(a,e,r,o),l={...i.options,url:n+i.url};return(await s.request(l)).data}const Sr=function(a){return{addTenant(e,r,t={}){if(e==null)throw new h("tenancyId","Required parameter tenancyId was null or undefined when calling addTenant.");if(r==null)throw new h("addTenantRequestDTO","Required parameter addTenantRequestDTO was null or undefined when calling addTenant.");const s="/v2/tenancies/{tenancyId}/tenants".replace("{tenancyId}",encodeURIComponent(String(e))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"POST",...o,...t},l={},d={};return l["Content-Type"]="application/json",Object.entries({...d,...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:n.pathname+n.search,options:i}},deleteById(e,r,t={}){if(e==null)throw new h("tenantId","Required parameter tenantId was null or undefined when calling deleteById.");if(r==null)throw new h("tenancyId","Required parameter tenancyId was null or undefined when calling deleteById.");const s="/v2/tenancies/{tenancyId}/tenants/{tenantId}".replace("{tenantId}",encodeURIComponent(String(e))).replace("{tenancyId}",encodeURIComponent(String(r))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"DELETE",...o,...t},l={};return Object.entries({...{},...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},{url:n.pathname+n.search,options:i}}}},Tr=function(a){return{addTenant(e,r,t){const s=Sr(a).addTenant(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},deleteById(e,r,t){const s=Sr(a).deleteById(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}}}},sh=function(a,e,r){return{addTenant(t,s,n){return Tr(a).addTenant(t,s,n)(r,e)},deleteById(t,s,n){return Tr(a).deleteById(t,s,n)(r,e)}}};class nh extends R{addTenant(e,r,t){return Tr(this.configuration).addTenant(e,r,t)(this.axios,this.basePath)}deleteById(e,r,t){return Tr(this.configuration).deleteById(e,r,t)(this.axios,this.basePath)}}async function oh(a,e,r,t=p,s=u,n){const o=Sr(r).addTenant(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function ih(a,e,r,t=p,s=u,n){const o=Sr(r).deleteById(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}const Nr=function(a){return{getSupplierTerms(e={}){const r="/v2/integration/terms/supplier",t=new URL(r,"http://placeholder");let s;a&&(s=a.baseOptions);const n={method:"GET",...s,...e},o={};return Object.entries({...{},...e.query}).forEach(([l,d])=>{d!==void 0&&t.searchParams.set(l,String(d))}),n.headers={...o,...e.headers},{url:t.pathname+t.search,options:n}},getTenantTerms(e={}){const r="/v2/integration/terms/tenant",t=new URL(r,"http://placeholder");let s;a&&(s=a.baseOptions);const n={method:"GET",...s,...e},o={};return Object.entries({...{},...e.query}).forEach(([l,d])=>{d!==void 0&&t.searchParams.set(l,String(d))}),n.headers={...o,...e.headers},{url:t.pathname+t.search,options:n}}}},xr=function(a){return{getSupplierTerms(e){const r=Nr(a).getSupplierTerms(e);return(t=p,s=u)=>{const n={...r.options,url:s+r.url};return t.request(n)}},getTenantTerms(e){const r=Nr(a).getTenantTerms(e);return(t=p,s=u)=>{const n={...r.options,url:s+r.url};return t.request(n)}}}},lh=function(a,e,r){return{getSupplierTerms(t){return xr(a).getSupplierTerms(t)(r,e)},getTenantTerms(t){return xr(a).getTenantTerms(t)(r,e)}}};class ch extends R{getSupplierTerms(e){return xr(this.configuration).getSupplierTerms(e)(this.axios,this.basePath)}getTenantTerms(e){return xr(this.configuration).getTenantTerms(e)(this.axios,this.basePath)}}async function dh(a,e=p,r=u,t){const s=Nr(a).getSupplierTerms(t),n={...s.options,url:r+s.url};return(await e.request(n)).data}async function uh(a,e=p,r=u,t){const s=Nr(a).getTenantTerms(t),n={...s.options,url:r+s.url};return(await e.request(n)).data}const y=function(a){return{completeOnboardingIntroduction(e={}){const r="/v2/users/me/complete-onboarding-introduction",t=new URL(r,"http://placeholder");let s;a&&(s=a.baseOptions);const n={method:"POST",...s,...e},o={};return Object.entries({...{},...e.query}).forEach(([l,d])=>{d!==void 0&&t.searchParams.set(l,String(d))}),n.headers={...o,...e.headers},{url:t.pathname+t.search,options:n}},createOneTimeSessionToken(e={}){const r="/v2/users/me/one-time-session-token",t=new URL(r,"http://placeholder");let s;a&&(s=a.baseOptions);const n={method:"POST",...s,...e},o={};return Object.entries({...{},...e.query}).forEach(([l,d])=>{d!==void 0&&t.searchParams.set(l,String(d))}),n.headers={...o,...e.headers},{url:t.pathname+t.search,options:n}},dismissNewProductUpdates(e={}){const r="/v2/users/me/dismiss-new-product-updates",t=new URL(r,"http://placeholder");let s;a&&(s=a.baseOptions);const n={method:"POST",...s,...e},o={};return Object.entries({...{},...e.query}).forEach(([l,d])=>{d!==void 0&&t.searchParams.set(l,String(d))}),n.headers={...o,...e.headers},{url:t.pathname+t.search,options:n}},dismissUserMessage(e,r={}){if(e==null)throw new h("messageId","Required parameter messageId was null or undefined when calling dismissUserMessage.");const t="/v2/users/me/messages/{messageId}/dismiss".replace("{messageId}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"POST",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},findOneByID(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling findOneByID.");const t="/v2/users/{id}".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},getCustomer(e={}){const r="/v2/users/me/customer",t=new URL(r,"http://placeholder");let s;a&&(s=a.baseOptions);const n={method:"GET",...s,...e},o={};return Object.entries({...{},...e.query}).forEach(([l,d])=>{d!==void 0&&t.searchParams.set(l,String(d))}),n.headers={...o,...e.headers},{url:t.pathname+t.search,options:n}},getOrganizationUsers(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling getOrganizationUsers.");const t="/v2/users/{id}/organizations".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},getTenancyOrdersByProductId(e,r={}){if(e==null)throw new h("productId","Required parameter productId was null or undefined when calling getTenancyOrdersByProductId.");const t="/v2/users/me/tenancy-orders",s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={},l={};return e!==void 0&&(l.productId=e),Object.entries({...l,...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},getUserAccount(e={}){const r="/v2/users/me/account",t=new URL(r,"http://placeholder");let s;a&&(s=a.baseOptions);const n={method:"GET",...s,...e},o={};return Object.entries({...{},...e.query}).forEach(([l,d])=>{d!==void 0&&t.searchParams.set(l,String(d))}),n.headers={...o,...e.headers},{url:t.pathname+t.search,options:n}},getUserTenancyAnniversaries(e={}){const r="/v2/users/me/tenancy-anniversaries",t=new URL(r,"http://placeholder");let s;a&&(s=a.baseOptions);const n={method:"GET",...s,...e},o={};return Object.entries({...{},...e.query}).forEach(([l,d])=>{d!==void 0&&t.searchParams.set(l,String(d))}),n.headers={...o,...e.headers},{url:t.pathname+t.search,options:n}},me(e={}){const r="/v2/users/me",t=new URL(r,"http://placeholder");let s;a&&(s=a.baseOptions);const n={method:"GET",...s,...e},o={};return Object.entries({...{},...e.query}).forEach(([l,d])=>{d!==void 0&&t.searchParams.set(l,String(d))}),n.headers={...o,...e.headers},{url:t.pathname+t.search,options:n}},resetUserPassword(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling resetUserPassword.");const t="/v2/users/{id}/reset-password".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"POST",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},searchUser(e,r,t,s,n,o={}){if(e==null)throw new h("userTypeId","Required parameter userTypeId was null or undefined when calling searchUser.");if(r==null)throw new h("page","Required parameter page was null or undefined when calling searchUser.");if(t==null)throw new h("size","Required parameter size was null or undefined when calling searchUser.");const i="/v2/users",l=new URL(i,"http://placeholder");let d;a&&(d=a.baseOptions);const c={method:"GET",...d,...o},m={},A={};return s!==void 0&&(A.query=s),e!==void 0&&(A.userTypeId=e),n!==void 0&&(A.sortBy=n),r!==void 0&&(A.page=r),t!==void 0&&(A.size=t),Object.entries({...A,...o.query}).forEach(([I,P])=>{P!==void 0&&l.searchParams.set(I,String(P))}),c.headers={...m,...o.headers},{url:l.pathname+l.search,options:c}},updateAboutMe(e,r={}){if(e==null)throw new h("updateUserAboutMeDTO","Required parameter updateUserAboutMeDTO was null or undefined when calling updateAboutMe.");const t="/v2/users/me/onboarding/about-me",s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"PATCH",...n,...r},i={},l={};return i["Content-Type"]="application/json",Object.entries({...l,...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},o.data=JSON.stringify(e!==void 0?e:{}),{url:s.pathname+s.search,options:o}},updateAddressHistory(e,r={}){if(e==null)throw new h("updateUserAddressHistoryDTO","Required parameter updateUserAddressHistoryDTO was null or undefined when calling updateAddressHistory.");const t="/v2/users/me/onboarding/address-history",s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"PATCH",...n,...r},i={},l={};return i["Content-Type"]="application/json",Object.entries({...l,...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},o.data=JSON.stringify(e!==void 0?e:{}),{url:s.pathname+s.search,options:o}},updateBetaEnabled(e,r={}){if(e==null)throw new h("updateBetaEnabledDTO","Required parameter updateBetaEnabledDTO was null or undefined when calling updateBetaEnabled.");const t="/v2/users/me/beta-enabled",s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"POST",...n,...r},i={},l={};return i["Content-Type"]="application/json",Object.entries({...l,...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},o.data=JSON.stringify(e!==void 0?e:{}),{url:s.pathname+s.search,options:o}},updateEmailSettings(e,r={}){if(e==null)throw new h("updateUserEmailSettingsDTO","Required parameter updateUserEmailSettingsDTO was null or undefined when calling updateEmailSettings.");const t="/v2/users/me/email-settings",s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"PATCH",...n,...r},i={},l={};return i["Content-Type"]="application/json",Object.entries({...l,...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},o.data=JSON.stringify(e!==void 0?e:{}),{url:s.pathname+s.search,options:o}},updateUser(e,r,t={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling updateUser.");if(r==null)throw new h("updateUserDTO","Required parameter updateUserDTO was null or undefined when calling updateUser.");const s="/v2/users/{id}".replace("{id}",encodeURIComponent(String(e))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"PATCH",...o,...t},l={},d={};return l["Content-Type"]="application/json",Object.entries({...d,...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:n.pathname+n.search,options:i}}}},E=function(a){return{completeOnboardingIntroduction(e){const r=y(a).completeOnboardingIntroduction(e);return(t=p,s=u)=>{const n={...r.options,url:s+r.url};return t.request(n)}},createOneTimeSessionToken(e){const r=y(a).createOneTimeSessionToken(e);return(t=p,s=u)=>{const n={...r.options,url:s+r.url};return t.request(n)}},dismissNewProductUpdates(e){const r=y(a).dismissNewProductUpdates(e);return(t=p,s=u)=>{const n={...r.options,url:s+r.url};return t.request(n)}},dismissUserMessage(e,r){const t=y(a).dismissUserMessage(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},findOneByID(e,r){const t=y(a).findOneByID(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},getCustomer(e){const r=y(a).getCustomer(e);return(t=p,s=u)=>{const n={...r.options,url:s+r.url};return t.request(n)}},getOrganizationUsers(e,r){const t=y(a).getOrganizationUsers(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},getTenancyOrdersByProductId(e,r){const t=y(a).getTenancyOrdersByProductId(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},getUserAccount(e){const r=y(a).getUserAccount(e);return(t=p,s=u)=>{const n={...r.options,url:s+r.url};return t.request(n)}},getUserTenancyAnniversaries(e){const r=y(a).getUserTenancyAnniversaries(e);return(t=p,s=u)=>{const n={...r.options,url:s+r.url};return t.request(n)}},me(e){const r=y(a).me(e);return(t=p,s=u)=>{const n={...r.options,url:s+r.url};return t.request(n)}},resetUserPassword(e,r){const t=y(a).resetUserPassword(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},searchUser(e,r,t,s,n,o){const i=y(a).searchUser(e,r,t,s,n,o);return(l=p,d=u)=>{const c={...i.options,url:d+i.url};return l.request(c)}},updateAboutMe(e,r){const t=y(a).updateAboutMe(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},updateAddressHistory(e,r){const t=y(a).updateAddressHistory(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},updateBetaEnabled(e,r){const t=y(a).updateBetaEnabled(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},updateEmailSettings(e,r){const t=y(a).updateEmailSettings(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},updateUser(e,r,t){const s=y(a).updateUser(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}}}},ph=function(a,e,r){return{completeOnboardingIntroduction(t){return E(a).completeOnboardingIntroduction(t)(r,e)},createOneTimeSessionToken(t){return E(a).createOneTimeSessionToken(t)(r,e)},dismissNewProductUpdates(t){return E(a).dismissNewProductUpdates(t)(r,e)},dismissUserMessage(t,s){return E(a).dismissUserMessage(t,s)(r,e)},findOneByID(t,s){return E(a).findOneByID(t,s)(r,e)},getCustomer(t){return E(a).getCustomer(t)(r,e)},getOrganizationUsers(t,s){return E(a).getOrganizationUsers(t,s)(r,e)},getTenancyOrdersByProductId(t,s){return E(a).getTenancyOrdersByProductId(t,s)(r,e)},getUserAccount(t){return E(a).getUserAccount(t)(r,e)},getUserTenancyAnniversaries(t){return E(a).getUserTenancyAnniversaries(t)(r,e)},me(t){return E(a).me(t)(r,e)},resetUserPassword(t,s){return E(a).resetUserPassword(t,s)(r,e)},searchUser(t,s,n,o,i,l){return E(a).searchUser(t,s,n,o,i,l)(r,e)},updateAboutMe(t,s){return E(a).updateAboutMe(t,s)(r,e)},updateAddressHistory(t,s){return E(a).updateAddressHistory(t,s)(r,e)},updateBetaEnabled(t,s){return E(a).updateBetaEnabled(t,s)(r,e)},updateEmailSettings(t,s){return E(a).updateEmailSettings(t,s)(r,e)},updateUser(t,s,n){return E(a).updateUser(t,s,n)(r,e)}}};class hh extends R{completeOnboardingIntroduction(e){return E(this.configuration).completeOnboardingIntroduction(e)(this.axios,this.basePath)}createOneTimeSessionToken(e){return E(this.configuration).createOneTimeSessionToken(e)(this.axios,this.basePath)}dismissNewProductUpdates(e){return E(this.configuration).dismissNewProductUpdates(e)(this.axios,this.basePath)}dismissUserMessage(e,r){return E(this.configuration).dismissUserMessage(e,r)(this.axios,this.basePath)}findOneByID(e,r){return E(this.configuration).findOneByID(e,r)(this.axios,this.basePath)}getCustomer(e){return E(this.configuration).getCustomer(e)(this.axios,this.basePath)}getOrganizationUsers(e,r){return E(this.configuration).getOrganizationUsers(e,r)(this.axios,this.basePath)}getTenancyOrdersByProductId(e,r){return E(this.configuration).getTenancyOrdersByProductId(e,r)(this.axios,this.basePath)}getUserAccount(e){return E(this.configuration).getUserAccount(e)(this.axios,this.basePath)}getUserTenancyAnniversaries(e){return E(this.configuration).getUserTenancyAnniversaries(e)(this.axios,this.basePath)}me(e){return E(this.configuration).me(e)(this.axios,this.basePath)}resetUserPassword(e,r){return E(this.configuration).resetUserPassword(e,r)(this.axios,this.basePath)}searchUser(e,r,t,s,n,o){return E(this.configuration).searchUser(e,r,t,s,n,o)(this.axios,this.basePath)}updateAboutMe(e,r){return E(this.configuration).updateAboutMe(e,r)(this.axios,this.basePath)}updateAddressHistory(e,r){return E(this.configuration).updateAddressHistory(e,r)(this.axios,this.basePath)}updateBetaEnabled(e,r){return E(this.configuration).updateBetaEnabled(e,r)(this.axios,this.basePath)}updateEmailSettings(e,r){return E(this.configuration).updateEmailSettings(e,r)(this.axios,this.basePath)}updateUser(e,r,t){return E(this.configuration).updateUser(e,r,t)(this.axios,this.basePath)}}async function mh(a,e=p,r=u,t){const s=y(a).completeOnboardingIntroduction(t),n={...s.options,url:r+s.url};return(await e.request(n)).data}async function Ah(a,e=p,r=u,t){const s=y(a).createOneTimeSessionToken(t),n={...s.options,url:r+s.url};return(await e.request(n)).data}async function Rh(a,e=p,r=u,t){const s=y(a).dismissNewProductUpdates(t),n={...s.options,url:r+s.url};return(await e.request(n)).data}async function Ih(a,e,r=p,t=u,s){const n=y(e).dismissUserMessage(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function Ph(a,e,r=p,t=u,s){const n=y(e).findOneByID(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function gh(a,e=p,r=u,t){const s=y(a).getCustomer(t),n={...s.options,url:r+s.url};return(await e.request(n)).data}async function wh(a,e,r=p,t=u,s){const n=y(e).getOrganizationUsers(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function Oh(a,e,r=p,t=u,s){const n=y(e).getTenancyOrdersByProductId(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function fh(a,e=p,r=u,t){const s=y(a).getUserAccount(t),n={...s.options,url:r+s.url};return(await e.request(n)).data}async function yh(a,e=p,r=u,t){const s=y(a).getUserTenancyAnniversaries(t),n={...s.options,url:r+s.url};return(await e.request(n)).data}async function Eh(a,e=p,r=u,t){const s=y(a).me(t),n={...s.options,url:r+s.url};return(await e.request(n)).data}async function Ch(a,e,r=p,t=u,s){const n=y(e).resetUserPassword(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function Vh(a,e,r,t,s,n,o=p,i=u,l){const d=y(n).searchUser(a,e,r,t,s,l),c={...d.options,url:i+d.url};return(await o.request(c)).data}async function qh(a,e,r=p,t=u,s){const n=y(e).updateAboutMe(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function _h(a,e,r=p,t=u,s){const n=y(e).updateAddressHistory(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function vh(a,e,r=p,t=u,s){const n=y(e).updateBetaEnabled(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function bh(a,e,r=p,t=u,s){const n=y(e).updateEmailSettings(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function Sh(a,e,r,t=p,s=u,n){const o=y(r).updateUser(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}const It=function(a){return{updateIntegrationWebhookUrl(e,r={}){if(e==null)throw new h("updateIntegrationWebhookDTO","Required parameter updateIntegrationWebhookDTO was null or undefined when calling updateIntegrationWebhookUrl.");const t="/v2/integration/webhooks",s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"PUT",...n,...r},i={},l={};return i["Content-Type"]="application/json",Object.entries({...l,...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},o.data=JSON.stringify(e!==void 0?e:{}),{url:s.pathname+s.search,options:o}}}},Pt=function(a){return{updateIntegrationWebhookUrl(e,r){const t=It(a).updateIntegrationWebhookUrl(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}}}},Th=function(a,e,r){return{updateIntegrationWebhookUrl(t,s){return Pt(a).updateIntegrationWebhookUrl(t,s)(r,e)}}};class Nh extends R{updateIntegrationWebhookUrl(e,r){return Pt(this.configuration).updateIntegrationWebhookUrl(e,r)(this.axios,this.basePath)}}async function xh(a,e,r=p,t=u,s){const n=It(e).updateIntegrationWebhookUrl(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}var Ot=(a=>(a.NONREFUNDABLEFEE="NON_REFUNDABLE_FEE",a.TOOEXPENSIVE="TOO_EXPENSIVE",a.DONTUNDERSTAND="DONT_UNDERSTAND",a.FAILEDREFERENCING="FAILED_REFERENCING",a.OTHER="OTHER",a))(Ot||{}),ft=(a=>(a.DRAFT="DRAFT",a.PUBLISHED="PUBLISHED",a))(ft||{}),yt=(a=>(a.DRAFT="DRAFT",a.IMPORTING="IMPORTING",a.PROCESSING="PROCESSING",a.COMPLETED="COMPLETED",a.FAILED="FAILED",a))(yt||{}),Et=(a=>(a.IDENTITY="IDENTITY",a.CREDIT="CREDIT",a))(Et||{}),Ct=(a=>(a.EMPTY="EMPTY",a.PEND="PEND",a.INFOREQUIRED="INFO_REQUIRED",a.INREVIEW="IN_REVIEW",a.PASS="PASS",a.FAIL="FAIL",a.CANCELLED="CANCELLED",a))(Ct||{}),Vt=(a=>(a.WELCOMEPAGE="TENANT_VIEWED_WELCOME_PAGE",a.INITIALCHARGES="TENANT_VIEWED_INITIAL_CHARGES",a.REVIEWCHARGES="TENANT_VIEWED_REVIEW_CHARGES",a.SUBMITPROPOSALMODAL="TENANT_VIEWED_SUBMIT_PROPOSAL_MODAL",a.PROPOSALPAYMENTPAGE="TENANT_VIEWED_PROPOSAL_PAYMENT_PAGE",a.ACCEPTCHARGESMODAL="TENANT_VIEWED_ACCEPT_CHARGES_MODAL",a.ACCEPTCHARGESPAYMENTPAGE="TENANT_VIEWED_ACCEPT_CHARGES_PAYMENT_PAGE",a.CHECKOUTINVENTORYREPORT="TENANT_VIEWED_CHECKOUT_INVENTORY_REPORT",a))(Vt||{}),qt=(a=>(a.DRAFT="DRAFT",a.AWAITINGREVIEW="AWAITING_REVIEW",a.DEACTIVATED="DEACTIVATED",a.AWAITINGRESPONDENTS="AWAITING_RESPONDENTS",a.MEDIATION="MEDIATION",a.AWAITINGARBITRATIONADMINFEE="AWAITING_ARBITRATION_ADMIN_FEE",a.AWAITINGARBITRATION="AWAITING_ARBITRATION",a.ARBITRATED="ARBITRATED",a.RESOLVED="RESOLVED",a.AWAITINGSUBSTANTIATION="AWAITING_SUBSTANTIATION",a.AWAITINGEVIDENCEREVIEW="AWAITING_EVIDENCE_REVIEW",a.EVIDENCEREVIEW="EVIDENCE_REVIEW",a.AWAITINGADDITIONALINFORMATION="AWAITING_ADDITIONAL_INFORMATION",a.DECLINED="DECLINED",a.AWAITINGPAYOUT="AWAITING_PAYOUT",a.ARBITRATION="ARBITRATION",a.INSURANCECLAIM="INSURANCE_CLAIM",a))(qt||{}),_t=(a=>(a.DAMAGE="DAMAGE",a.CLEANING="CLEANING",a.RENTARREARS="RENT_ARREARS",a.ITEMREMOVAL="ITEM_REMOVAL",a.OTHER="OTHER",a))(_t||{}),vt=(a=>(a.Deletion="deletion",a.Reduction="reduction",a))(vt||{}),bt=(a=>(a.SUPPLIER="SUPPLIER",a.TENANT="TENANT",a))(bt||{}),St=(a=>(a.SUPPLIER="SUPPLIER",a.TENANT="TENANT",a))(St||{}),Tt=(a=>(a.DRAFT="DRAFT",a.AWAITINGRESPONSE="AWAITING_RESPONSE",a.AWAITINGPAYMENT="AWAITING_PAYMENT",a.SETTLED="SETTLED",a.COUNTERED="COUNTERED",a.DISPUTED="DISPUTED",a))(Tt||{}),Nt=(a=>(a.INITIAL="INITIAL",a.INTERMEDIATE="INTERMEDIATE",a.FINAL="FINAL",a))(Nt||{}),xt=(a=>(a.DRAFT="DRAFT",a.AWAITINGREVIEW="AWAITING_REVIEW",a.DEACTIVATED="DEACTIVATED",a.AWAITINGRESPONDENTS="AWAITING_RESPONDENTS",a.MEDIATION="MEDIATION",a.AWAITINGARBITRATIONADMINFEE="AWAITING_ARBITRATION_ADMIN_FEE",a.AWAITINGARBITRATION="AWAITING_ARBITRATION",a.ARBITRATED="ARBITRATED",a.RESOLVED="RESOLVED",a.AWAITINGSUBSTANTIATION="AWAITING_SUBSTANTIATION",a.AWAITINGEVIDENCEREVIEW="AWAITING_EVIDENCE_REVIEW",a.EVIDENCEREVIEW="EVIDENCE_REVIEW",a.AWAITINGADDITIONALINFORMATION="AWAITING_ADDITIONAL_INFORMATION",a.DECLINED="DECLINED",a.AWAITINGPAYOUT="AWAITING_PAYOUT",a.ARBITRATION="ARBITRATION",a.INSURANCECLAIM="INSURANCE_CLAIM",a))(xt||{}),Ut=(a=>(a.DRAFT="DRAFT",a.AWAITINGREVIEW="AWAITING_REVIEW",a.DEACTIVATED="DEACTIVATED",a.AWAITINGRESPONDENTS="AWAITING_RESPONDENTS",a.MEDIATION="MEDIATION",a.AWAITINGARBITRATIONADMINFEE="AWAITING_ARBITRATION_ADMIN_FEE",a.AWAITINGARBITRATION="AWAITING_ARBITRATION",a.ARBITRATED="ARBITRATED",a.RESOLVED="RESOLVED",a.AWAITINGSUBSTANTIATION="AWAITING_SUBSTANTIATION",a.AWAITINGEVIDENCEREVIEW="AWAITING_EVIDENCE_REVIEW",a.EVIDENCEREVIEW="EVIDENCE_REVIEW",a.AWAITINGADDITIONALINFORMATION="AWAITING_ADDITIONAL_INFORMATION",a.DECLINED="DECLINED",a.AWAITINGPAYOUT="AWAITING_PAYOUT",a.ARBITRATION="ARBITRATION",a.INSURANCECLAIM="INSURANCE_CLAIM",a))(Ut||{}),Dt=(a=>(a.GBR="GBR",a))(Dt||{}),Lt=(a=>(a.DAMAGE="DAMAGE",a.CLEANING="CLEANING",a.RENTARREARS="RENT_ARREARS",a.ITEMREMOVAL="ITEM_REMOVAL",a.OTHER="OTHER",a))(Lt||{}),Bt=(a=>(a.SIGNEDTENANCYAGREEMENT="SIGNED_TENANCY_AGREEMENT",a.INVENTORYCHECKIN="INVENTORY_CHECK_IN",a.INVENTORYCHECKOUT="INVENTORY_CHECK_OUT",a.ADDITIONALEVIDENCE="ADDITIONAL_EVIDENCE",a.PROOFTENANTCOMMUNICATION="PROOF_TENANT_COMMUNICATION",a.MIDTERMINSPECTION="MID_TERM_INSPECTION",a.REFERENCING="REFERENCING",a.GUARANTORCONTACT="GUARANTOR_CONTACT",a.SUPPORTINGEVIDENCE="SUPPORTING_EVIDENCE",a.TENANTEVIDENCE="TENANT_EVIDENCE",a.CLAIMITEM="CLAIM_ITEM",a.PROOFOFIDENTITY="PROOF_OF_IDENTITY",a.PROOFOFADDRESS="PROOF_OF_ADDRESS",a.CLAIMRESPONSE="CLAIM_RESPONSE",a.POLICY="POLICY",a.KPIDAILYOUTPUT="KPI_DAILY_OUTPUT",a.ARBITRATIONSUMMARY="ARBITRATION_SUMMARY",a.DOCUSIGN="DOCUSIGN",a.CLAIMARCHIVE="CLAIM_ARCHIVE",a.SIGNEDADDENDUM="SIGNED_ADDENDUM",a.SIGNEDTENANTTERMSANDCONDITIONS="SIGNED_TENANT_TERMS_AND_CONDITIONS",a.DAILYSTRIPERECONCILIATION="DAILY_STRIPE_RECONCILIATION",a))(Bt||{}),Ft=(a=>(a.AGREED="AGREED",a.REJECTED="REJECTED",a))(Ft||{}),jt=(a=>(a.SIGNEDTENANCYAGREEMENT="SIGNED_TENANCY_AGREEMENT",a.INVENTORYCHECKIN="INVENTORY_CHECK_IN",a.INVENTORYCHECKOUT="INVENTORY_CHECK_OUT",a.ADDITIONALEVIDENCE="ADDITIONAL_EVIDENCE",a.PROOFTENANTCOMMUNICATION="PROOF_TENANT_COMMUNICATION",a.MIDTERMINSPECTION="MID_TERM_INSPECTION",a.REFERENCING="REFERENCING",a.GUARANTORCONTACT="GUARANTOR_CONTACT",a.SUPPORTINGEVIDENCE="SUPPORTING_EVIDENCE",a.TENANTEVIDENCE="TENANT_EVIDENCE",a.CLAIMITEM="CLAIM_ITEM",a.PROOFOFIDENTITY="PROOF_OF_IDENTITY",a.PROOFOFADDRESS="PROOF_OF_ADDRESS",a.CLAIMRESPONSE="CLAIM_RESPONSE",a.POLICY="POLICY",a.KPIDAILYOUTPUT="KPI_DAILY_OUTPUT",a.ARBITRATIONSUMMARY="ARBITRATION_SUMMARY",a.DOCUSIGN="DOCUSIGN",a.CLAIMARCHIVE="CLAIM_ARCHIVE",a.SIGNEDADDENDUM="SIGNED_ADDENDUM",a.SIGNEDTENANTTERMSANDCONDITIONS="SIGNED_TENANT_TERMS_AND_CONDITIONS",a.DAILYSTRIPERECONCILIATION="DAILY_STRIPE_RECONCILIATION",a))(jt||{}),Mt=(a=>(a.SIGNEDTENANCYAGREEMENT="SIGNED_TENANCY_AGREEMENT",a.INVENTORYCHECKIN="INVENTORY_CHECK_IN",a.INVENTORYCHECKOUT="INVENTORY_CHECK_OUT",a.ADDITIONALEVIDENCE="ADDITIONAL_EVIDENCE",a.PROOFTENANTCOMMUNICATION="PROOF_TENANT_COMMUNICATION",a.MIDTERMINSPECTION="MID_TERM_INSPECTION",a.REFERENCING="REFERENCING",a.GUARANTORCONTACT="GUARANTOR_CONTACT",a.SUPPORTINGEVIDENCE="SUPPORTING_EVIDENCE",a.TENANTEVIDENCE="TENANT_EVIDENCE",a.CLAIMITEM="CLAIM_ITEM",a.PROOFOFIDENTITY="PROOF_OF_IDENTITY",a.PROOFOFADDRESS="PROOF_OF_ADDRESS",a.CLAIMRESPONSE="CLAIM_RESPONSE",a.POLICY="POLICY",a.KPIDAILYOUTPUT="KPI_DAILY_OUTPUT",a.ARBITRATIONSUMMARY="ARBITRATION_SUMMARY",a.DOCUSIGN="DOCUSIGN",a.CLAIMARCHIVE="CLAIM_ARCHIVE",a.SIGNEDADDENDUM="SIGNED_ADDENDUM",a.SIGNEDTENANTTERMSANDCONDITIONS="SIGNED_TENANT_TERMS_AND_CONDITIONS",a.DAILYSTRIPERECONCILIATION="DAILY_STRIPE_RECONCILIATION",a))(Mt||{}),Ht=(a=>(a.SIGNEDTENANCYAGREEMENT="SIGNED_TENANCY_AGREEMENT",a.INVENTORYCHECKIN="INVENTORY_CHECK_IN",a.INVENTORYCHECKOUT="INVENTORY_CHECK_OUT",a.ADDITIONALEVIDENCE="ADDITIONAL_EVIDENCE",a.PROOFTENANTCOMMUNICATION="PROOF_TENANT_COMMUNICATION",a.MIDTERMINSPECTION="MID_TERM_INSPECTION",a.REFERENCING="REFERENCING",a.GUARANTORCONTACT="GUARANTOR_CONTACT",a.SUPPORTINGEVIDENCE="SUPPORTING_EVIDENCE",a.TENANTEVIDENCE="TENANT_EVIDENCE",a.CLAIMITEM="CLAIM_ITEM",a.PROOFOFIDENTITY="PROOF_OF_IDENTITY",a.PROOFOFADDRESS="PROOF_OF_ADDRESS",a.CLAIMRESPONSE="CLAIM_RESPONSE",a.POLICY="POLICY",a.KPIDAILYOUTPUT="KPI_DAILY_OUTPUT",a.ARBITRATIONSUMMARY="ARBITRATION_SUMMARY",a.DOCUSIGN="DOCUSIGN",a.CLAIMARCHIVE="CLAIM_ARCHIVE",a.SIGNEDADDENDUM="SIGNED_ADDENDUM",a.SIGNEDTENANTTERMSANDCONDITIONS="SIGNED_TENANT_TERMS_AND_CONDITIONS",a.DAILYSTRIPERECONCILIATION="DAILY_STRIPE_RECONCILIATION",a))(Ht||{}),Gt=(a=>(a.SIGNEDTENANCYAGREEMENT="SIGNED_TENANCY_AGREEMENT",a.CHECKIN="CHECKIN",a.CHECKINSIGNEDPROOFREQUIRED="CHECKIN_SIGNED_PROOF_REQUIRED",a.REFERENCING="REFERENCING",a.CHECKOUT="CHECKOUT",a.CHECKOUTUNAVAILABLE="CHECKOUT_UNAVAILABLE",a.ARREARS="ARREARS",a.RENTSTATEMENT="RENT_STATEMENT",a.RELETFEES="RELET_FEES",a.INVOICEQUOTERECEIPT="INVOICE_QUOTE_RECEIPT",a.OTHER="OTHER",a))(Gt||{}),kt=(a=>(a.AGREED="AGREED",a.REJECTED="REJECTED",a.MISSING="MISSING",a))(kt||{}),Qt=(a=>(a.PROPERTY="PROPERTY",a))(Qt||{}),Yt=(a=>(a.COMPANY="COMPANY",a.SOLEPERSON="SOLE_PERSON",a))(Yt||{}),zt=(a=>(a.COMPANY="COMPANY",a.SOLEPERSON="SOLE_PERSON",a))(zt||{}),$t=(a=>(a.COMPANY="COMPANY",a.SOLEPERSON="SOLE_PERSON",a))($t||{}),Wt=(a=>(a.REPOSITPUBLISHED="REPOSIT_PUBLISHED",a.CLAIMPUBLISHED="CLAIM_PUBLISHED",a))(Wt||{}),Jt=(a=>(a.REPOSIT="REPOSIT",a.CLAIM="CLAIM",a.CLAIMPROPOSAL="CLAIM_PROPOSAL",a.ARBITRATION="ARBITRATION",a.TOPUP="TOP_UP",a.ARBITRATIONADMINFEE="ARBITRATION_ADMIN_FEE",a))(Jt||{}),Kt=(a=>(a.DEFAULT="DEFAULT",a.CLAIM="CLAIM",a.CASHDEPOSITSCHEME="CASH_DEPOSIT_SCHEME",a))(Kt||{}),Xt=(a=>(a.AGENCY="AGENCY",a.BUILDTORENT="BUILD_TO_RENT",a.PRIVATE="PRIVATE",a.INTEGRATORREFERRAL="INTEGRATOR_REFERRAL",a))(Xt||{}),Zt=(a=>(a.INDEPENDENTSINGLE="INDEPENDENT_SINGLE",a.BTR="BTR",a.INDEPENDENTMULTI="INDEPENDENT_MULTI",a.FRANCHISE="FRANCHISE",a.CORPORATE="CORPORATE",a.PRIVATELANDLORD="PRIVATE_LANDLORD",a.STUDENT="STUDENT",a.HMO="HMO",a.PBSA="PBSA",a))(Zt||{}),ea=(a=>(a.INDEPENDENTSINGLE="INDEPENDENT_SINGLE",a.BTR="BTR",a.INDEPENDENTMULTI="INDEPENDENT_MULTI",a.FRANCHISE="FRANCHISE",a.CORPORATE="CORPORATE",a.PRIVATELANDLORD="PRIVATE_LANDLORD",a.STUDENT="STUDENT",a.HMO="HMO",a.PBSA="PBSA",a))(ea||{}),ra=(a=>(a.DIRECT="DIRECT",a.INITIAL="INITIAL",a.ADMIN="ADMIN",a))(ra||{}),ta=(a=>(a.TENTHOUSANDPOUNDS="TEN_THOUSAND_POUNDS",a.FIVETHOUSANDPOUNDS="FIVE_THOUSAND_POUNDS",a))(ta||{}),aa=(a=>(a.IDENTITY="IDENTITY",a.CREDIT="CREDIT",a))(aa||{}),sa=(a=>(a.TENANT="TENANT",a))(sa||{}),na=(a=>(a.FIXED="FIXED",a.PERIODIC="PERIODIC",a))(na||{}),oa=(a=>(a.MANAGETEAM="MANAGE_TEAM",a.NOTIFICATIONS="NOTIFICATIONS",a.BANKACCOUNTS="BANK_ACCOUNTS",a.ONBOARDING="ONBOARDING",a))(oa||{}),ia=(a=>(a.MANAGETEAM="MANAGE_TEAM",a.NOTIFICATIONS="NOTIFICATIONS",a.BANKACCOUNTS="BANK_ACCOUNTS",a.ONBOARDING="ONBOARDING",a))(ia||{}),la=(a=>(a.PENDING="PENDING",a.OPENBANKINGTRANSFERSUCCESS="OPEN_BANKING_TRANSFER_SUCCESS",a.CANCELLED="CANCELLED",a.PARTIALLYPAID="PARTIALLY_PAID",a.PAID="PAID",a))(la||{}),ca=(a=>(a.AUTOACCEPTED="AUTO_ACCEPTED",a.PREADR="PRE_ADR",a.POSTADR="POST_ADR",a))(ca||{}),da=(a=>(a.PENDING="PENDING",a.RESOLVED="RESOLVED",a.EXPIRED="EXPIRED",a))(da||{}),ua=(a=>(a.PENDING="PENDING",a.AGREED="AGREED",a))(ua||{}),pa=(a=>(a.AGREED="AGREED",a.REJECTED="REJECTED",a))(pa||{}),ha=(a=>(a.PENDING="PENDING",a.AGREED="AGREED",a.MISSING="MISSING",a))(ha||{}),ma=(a=>(a.SIGNEDTENANCYAGREEMENT="SIGNED_TENANCY_AGREEMENT",a.CHECKIN="CHECKIN",a.CHECKINSIGNEDPROOFREQUIRED="CHECKIN_SIGNED_PROOF_REQUIRED",a.REFERENCING="REFERENCING",a.CHECKOUT="CHECKOUT",a.CHECKOUTUNAVAILABLE="CHECKOUT_UNAVAILABLE",a.ARREARS="ARREARS",a.RENTSTATEMENT="RENT_STATEMENT",a.RELETFEES="RELET_FEES",a.INVOICEQUOTERECEIPT="INVOICE_QUOTE_RECEIPT",a.OTHER="OTHER",a))(ma||{}),Aa=(a=>(a.DRAFT="DRAFT",a.PUBLISHED="PUBLISHED",a))(Aa||{}),Ra=(a=>(a.DRAFT="DRAFT",a.PUBLISHED="PUBLISHED",a))(Ra||{}),Ia=(a=>(a.AGREED="AGREED",a.REJECTED="REJECTED",a.MISSING="MISSING",a))(Ia||{}),Pa=(a=>(a.DRAFT="DRAFT",a.PUBLISHED="PUBLISHED",a))(Pa||{}),ga=(a=>(a.DRAFT="DRAFT",a.AWAITINGRESPONSE="AWAITING_RESPONSE",a.AWAITINGREVIEW="AWAITING_REVIEW",a.AGREED="AGREED",a.REJECTED="REJECTED",a.EXPIRED="EXPIRED",a))(ga||{}),wa=(a=>(a.AWAITINGDECISION="AWAITING_DECISION",a.ACCEPTED="ACCEPTED",a.REJECTED="REJECTED",a))(wa||{}),Oa=(a=>(a.SALES="SALES",a))(Oa||{}),fa=(a=>(a.COMPANY="COMPANY",a.SOLEPERSON="SOLE_PERSON",a))(fa||{}),ya=(a=>(a.NOTCONNECTED="NOT_CONNECTED",a.CONNECTED="CONNECTED",a.COMPLETE="COMPLETE",a))(ya||{}),Ea=(a=>(a.AGENT="AGENT",a.LANDLORD="LANDLORD",a.CORPORATELANDLORD="CORPORATE_LANDLORD",a))(Ea||{}),Ca=(a=>(a.REPOSITPUBLISHED="REPOSIT_PUBLISHED",a.CLAIMPUBLISHED="CLAIM_PUBLISHED",a))(Ca||{}),Va=(a=>(a.PROMOTER="PROMOTER",a.DETRACTOR="DETRACTOR",a.PASSIVE="PASSIVE",a))(Va||{}),qa=(a=>(a.PASSED="PASSED",a.FAILED="FAILED",a))(qa||{}),_a=(a=>(a.REPOSITABOUTYOU="REPOSIT_ABOUT_YOU",a.REPOSITADDRESSHISTORY="REPOSIT_ADDRESS_HISTORY",a.REPOSITCONFIRM="REPOSIT_CONFIRM",a.REPOSITSIGN="REPOSIT_SIGN",a.REPOSITPAY="REPOSIT_PAY",a.REPOSITREFERENCING="REPOSIT_REFERENCING",a.REPOSITSIGNADDENDUM="REPOSIT_SIGN_ADDENDUM",a.CLAIMPAY="CLAIM_PAY",a.CLAIMPAYREMAININGBALANCE="CLAIM_PAY_REMAINING_BALANCE",a.CLAIMPROPOSALPAYREMAININGBALANCE="CLAIM_PROPOSAL_PAY_REMAINING_BALANCE",a.ARBITRATIONPAY="ARBITRATION_PAY",a.ARBITRATIONPAYREMAININGBALANCE="ARBITRATION_PAY_REMAINING_BALANCE",a.TOPUPPAY="TOP_UP_PAY",a.ARBITRATIONADMINPAY="ARBITRATION_ADMIN_PAY",a))(_a||{}),va=(a=>(a.REPOSIT="REPOSIT",a.CLAIM="CLAIM",a.CLAIMPROPOSAL="CLAIM_PROPOSAL",a.ARBITRATION="ARBITRATION",a.TOPUP="TOP_UP",a.ARBITRATIONADMINFEE="ARBITRATION_ADMIN_FEE",a))(va||{}),ba=(a=>(a.DRAFT="DRAFT",a.PENDING="PENDING",a.COMPLETE="COMPLETE",a.CANCELLED="CANCELLED",a.REFUNDED="REFUNDED",a))(ba||{}),Sa=(a=>(a.MANUAL="MANUAL",a.AUTOMATIC="AUTOMATIC",a))(Sa||{}),Ta=(a=>(a.REPOSIT="REPOSIT",a.CLAIM="CLAIM",a.CLAIMPROPOSAL="CLAIM_PROPOSAL",a.ARBITRATION="ARBITRATION",a.TOPUP="TOP_UP",a.ARBITRATIONADMINFEE="ARBITRATION_ADMIN_FEE",a))(Ta||{}),Na=(a=>(a.DRAFT="DRAFT",a.PENDING="PENDING",a.COMPLETE="COMPLETE",a.CANCELLED="CANCELLED",a.REFUNDED="REFUNDED",a))(Na||{}),xa=(a=>(a.MANUAL="MANUAL",a.AUTOMATIC="AUTOMATIC",a))(xa||{}),Ua=(a=>(a.STANDARD="STANDARD",a.BUILDTORENT="BUILD_TO_RENT",a))(Ua||{}),Da=(a=>(a.DEFAULT="DEFAULT",a.CLAIM="CLAIM",a.CASHDEPOSITSCHEME="CASH_DEPOSIT_SCHEME",a))(Da||{}),La=(a=>(a.AGENCY="AGENCY",a.BUILDTORENT="BUILD_TO_RENT",a.PRIVATE="PRIVATE",a.INTEGRATORREFERRAL="INTEGRATOR_REFERRAL",a))(La||{}),Ba=(a=>(a.SALES="SALES",a))(Ba||{}),Fa=(a=>(a.DIRECT="DIRECT",a.INITIAL="INITIAL",a.ADMIN="ADMIN",a))(Fa||{}),ja=(a=>(a.STANDARD="STANDARD",a.STANDARDCAP250="STANDARD_CAP_250",a.STANDARDCAP300="STANDARD_CAP_300",a.STANDARDCAP350="STANDARD_CAP_350",a.NOMINALPERTENANT="NOMINAL_PER_TENANT",a.STANDARD15PERCENTDISCOUNT="STANDARD_15_PERCENT_DISCOUNT",a))(ja||{}),Ma=(a=>(a.FEEPERCENTAGE125="FEE_PERCENTAGE_125",a.FEEPERCENTAGE31POINT75="FEE_PERCENTAGE_31_POINT_75",a.FEEPERCENTAGE30="FEE_PERCENTAGE_30",a.FEEPERCENTAGE25="FEE_PERCENTAGE_25",a.FEEPERCENTAGE20="FEE_PERCENTAGE_20",a.FEEPERCENTAGE17POINT5="FEE_PERCENTAGE_17_POINT_5",a.FEEPERCENTAGE15="FEE_PERCENTAGE_15",a.FEEPERCENTAGE12POINT5="FEE_PERCENTAGE_12_POINT_5",a.FEEPERCENTAGE10="FEE_PERCENTAGE_10",a.FEEPERCENTAGE5="FEE_PERCENTAGE_5",a.FIXED25="FIXED_25",a.PPMPERCENTAGE6="PPM_PERCENTAGE_6",a.PPMPERCENTAGE6POINT5="PPM_PERCENTAGE_6_POINT_5",a.NOCOMMISSION="NO_COMMISSION",a))(Ma||{}),Ha=(a=>(a.TENTHOUSANDPOUNDS="TEN_THOUSAND_POUNDS",a.FIVETHOUSANDPOUNDS="FIVE_THOUSAND_POUNDS",a))(Ha||{}),Ga=(a=>(a.MANAGETEAM="MANAGE_TEAM",a.NOTIFICATIONS="NOTIFICATIONS",a.BANKACCOUNTS="BANK_ACCOUNTS",a.ONBOARDING="ONBOARDING",a))(Ga||{}),ka=(a=>(a.PRIMARY="PRIMARY",a.SECONDARY="SECONDARY",a))(ka||{}),Qa=(a=>(a.INDEPENDENTSINGLE="INDEPENDENT_SINGLE",a.BTR="BTR",a.INDEPENDENTMULTI="INDEPENDENT_MULTI",a.FRANCHISE="FRANCHISE",a.CORPORATE="CORPORATE",a.PRIVATELANDLORD="PRIVATE_LANDLORD",a.STUDENT="STUDENT",a.HMO="HMO",a.PBSA="PBSA",a))(Qa||{}),Ya=(a=>(a.AGENCY="AGENCY",a.BUILDTORENT="BUILD_TO_RENT",a.PRIVATE="PRIVATE",a.INTEGRATORREFERRAL="INTEGRATOR_REFERRAL",a))(Ya||{}),za=(a=>(a.AGENCY="AGENCY",a.BUILDTORENT="BUILD_TO_RENT",a.PRIVATE="PRIVATE",a.INTEGRATORREFERRAL="INTEGRATOR_REFERRAL",a))(za||{}),$a=(a=>(a.MANAGETEAM="MANAGE_TEAM",a.NOTIFICATIONS="NOTIFICATIONS",a.BANKACCOUNTS="BANK_ACCOUNTS",a.ONBOARDING="ONBOARDING",a))($a||{}),Wa=(a=>(a.AGENCY="AGENCY",a.BUILDTORENT="BUILD_TO_RENT",a.PRIVATE="PRIVATE",a.INTEGRATORREFERRAL="INTEGRATOR_REFERRAL",a))(Wa||{}),Ja=(a=>(a.MANAGETEAM="MANAGE_TEAM",a.NOTIFICATIONS="NOTIFICATIONS",a.BANKACCOUNTS="BANK_ACCOUNTS",a.ONBOARDING="ONBOARDING",a))(Ja||{}),Ka=(a=>(a.PENDING="PENDING",a.OPENBANKINGTRANSFERSUCCESS="OPEN_BANKING_TRANSFER_SUCCESS",a.CANCELLED="CANCELLED",a.PARTIALLYPAID="PARTIALLY_PAID",a.PAID="PAID",a))(Ka||{}),Xa=(a=>(a.REPOSITABOUTYOU="REPOSIT_ABOUT_YOU",a.REPOSITADDRESSHISTORY="REPOSIT_ADDRESS_HISTORY",a.REPOSITCONFIRM="REPOSIT_CONFIRM",a.REPOSITSIGN="REPOSIT_SIGN",a.REPOSITPAY="REPOSIT_PAY",a.REPOSITREFERENCING="REPOSIT_REFERENCING",a.REPOSITSIGNADDENDUM="REPOSIT_SIGN_ADDENDUM",a.CLAIMPAY="CLAIM_PAY",a.CLAIMPAYREMAININGBALANCE="CLAIM_PAY_REMAINING_BALANCE",a.CLAIMPROPOSALPAYREMAININGBALANCE="CLAIM_PROPOSAL_PAY_REMAINING_BALANCE",a.ARBITRATIONPAY="ARBITRATION_PAY",a.ARBITRATIONPAYREMAININGBALANCE="ARBITRATION_PAY_REMAINING_BALANCE",a.TOPUPPAY="TOP_UP_PAY",a.ARBITRATIONADMINPAY="ARBITRATION_ADMIN_PAY",a))(Xa||{}),Za=(a=>(a.Pass="pass",a.Fail="fail",a.Unchecked="unchecked",a))(Za||{}),es=(a=>(a.Pass="pass",a.Fail="fail",a.Unchecked="unchecked",a))(es||{}),rs=(a=>(a.Pass="pass",a.Fail="fail",a.Unchecked="unchecked",a))(rs||{}),ts=(a=>(a.Pass="pass",a.Fail="fail",a.Unchecked="unchecked",a))(ts||{}),as=(a=>(a.CONFIRM="CONFIRM",a.ADDRESS="ADDRESS",a.CARDDETAILS="CARD_DETAILS",a))(as||{}),ss=(a=>(a.MONTHLY="MONTHLY",a))(ss||{}),ns=(a=>(a.ACTIVE="ACTIVE",a.PENDING="PENDING",a.DEFAULT="DEFAULT",a.COMPLETE="COMPLETE",a.CLOSED="CLOSED",a.CANCELLED="CANCELLED",a))(ns||{}),os=(a=>(a.PENDING="PENDING",a.PAID="PAID",a.FAILED="FAILED",a.CANCELLED="CANCELLED",a))(os||{}),is=(a=>(a.LINK="LINK",a.PAYMENTINITIATION="PAYMENT_INITIATION",a))(is||{}),ls=(a=>(a.SESSIONFINISHED="SESSION_FINISHED",a.PAYMENTSTATUSUPDATE="PAYMENT_STATUS_UPDATE",a))(ls||{}),cs=(a=>(a.SUCCESS="SUCCESS",a.EXITED="EXITED",a))(cs||{}),ds=(a=>(a.EXECUTED="PAYMENT_STATUS_EXECUTED",a.INITIATED="PAYMENT_STATUS_INITIATED",a.INSUFFICIENTFUNDS="PAYMENT_STATUS_INSUFFICIENT_FUNDS",a.FAILED="PAYMENT_STATUS_FAILED",a.BLOCKED="PAYMENT_STATUS_BLOCKED",a.REJECTED="PAYMENT_STATUS_REJECTED",a.CANCELLED="PAYMENT_STATUS_CANCELLED",a))(ds||{}),us=(a=>(a.DRAFT="DRAFT",a.SUBMITTED="SUBMITTED",a.ISSUED="ISSUED",a.CLOSED="CLOSED",a.DEACTIVATED="DEACTIVATED",a.UNKNOWN="UNKNOWN",a))(us||{}),ps=(a=>(a.NEWTENANCY="NEW_TENANCY",a.EXISTINGTENANCY="EXISTING_TENANCY",a))(ps||{}),hs=(a=>(a.CREATETOPUP="CREATE_TOP_UP",a.TOPUPREMINDER="TOP_UP_REMINDER",a.TOPUPUPCOMING="TOP_UP_UPCOMING",a.AUTOCHARGE="AUTO_CHARGE",a.SCHEDULEDAUTOCHARGE="SCHEDULED_AUTO_CHARGE",a.CHARGEORDERSCHEDULEDCHARGE="CHARGE_ORDER_SCHEDULED_CHARGE",a.AUTORESPONDTENANT="AUTO_RESPOND_TENANT",a.AUTORESPONDSUPPLIER="AUTO_RESPOND_SUPPLIER",a.PROCESSSTRIPECHARGESUCCEEDED="PROCESS_STRIPE_CHARGE_SUCCEEDED",a.PROCESSOFFSESSIONPAYMENTATTEMPTFAILED="PROCESS_OFF_SESSION_PAYMENT_ATTEMPT_FAILED",a.PROCESSOFFSESSIONPAYMENTSUCCEEDED="PROCESS_OFF_SESSION_PAYMENT_SUCCEEDED",a.PROCESSOFFSESSIONPAYMENTFAILED="PROCESS_OFF_SESSION_PAYMENT_FAILED",a.PROCESSSTRIPECHARGEFAILED="PROCESS_STRIPE_CHARGE_FAILED",a.PROCESSSTRIPECHARGEEXPIRED="PROCESS_STRIPE_CHARGE_EXPIRED",a.PROCESSSTRIPEDISPUTECREATED="PROCESS_STRIPE_DISPUTE_CREATED",a.PROCESSSTRIPEDISPUTECLOSED="PROCESS_STRIPE_DISPUTE_CLOSED",a.PROCESSEXPIRINGCUSTOMERSOURCE="PROCESS_EXPIRING_CUSTOMER_SOURCE",a.PROCESSSENDSLACKMESSAGE="PROCESS_SEND_SLACK_MESSAGE",a.PROCESSSTRIPEREFUNDCREATED="PROCESS_STRIPE_REFUND_CREATED",a.PAYMENTMETHODCARDAUTOMATICALLYUPDATED="PAYMENT_METHOD_CARD_AUTOMATICALLY_UPDATED",a.MONTHLYDIRECTCOMMISSIONFORORGANIZATION="MONTHLY_DIRECT_COMMISSION_FOR_ORGANIZATION",a.LANDLORDTRANSFERREMINDER="LANDLORD_TRANSFER_REMINDER",a.ZIPDOCUMENTSFORCLAIM="ZIP_DOCUMENTS_FOR_CLAIM",a.GENERATEADRFORM="GENERATE_ADR_FORM",a.REPOSITENDINGREMINDER="REPOSIT_ENDING_REMINDER",a.REPOSITCLOSINGREMINDER="REPOSIT_CLOSING_REMINDER",a.REPOSITENDED="REPOSIT_ENDED",a.REPOSITCLOSED="REPOSIT_CLOSED",a.PENDINGREPOSIT="PENDING_REPOSIT",a.REPOSITDEACTIVATE="REPOSIT_DEACTIVATE",a.OVERDUEARBITRATION="OVERDUE_ARBITRATION",a.CLAIMDEACTIVATE="CLAIM_DEACTIVATE",a.CLAIMDEACTIVATEREMINDER="CLAIM_DEACTIVATE_REMINDER",a.CLAIMTENANTREMINDER="CLAIM_TENANT_REMINDER",a.CLAIMSUPPLIERREMINDER="CLAIM_SUPPLIER_REMINDER",a.EVIDENCEREMINDER="EVIDENCE_REMINDER",a.ACCOUNTING="ACCOUNTING",a.CHARGEPAYMENTPLANINSTALMENT="CHARGE_PAYMENT_PLAN_INSTALMENT",a.PAYMENTPLANINSTALMENTREMINDER="PAYMENT_PLAN_INSTALMENT_REMINDER",a.PAYMENTPLANINSTALMENTEXPIRED="PAYMENT_PLAN_INSTALMENT_EXPIRED",a.PROCESSSENDGRIDWEBHOOK="PROCESS_SENDGRID_WEBHOOK",a.PAYMENTPLANACTIVATIONREMINDER="PAYMENT_PLAN_ACTIVATION_REMINDER",a.PAYMENTPLANCANCELLATION="PAYMENT_PLAN_CANCELLATION",a.TENANCYINVENTORYNOTIFICATION="TENANCY_INVENTORY_NOTIFICATION",a.REPOSITOFFERREMINDER="REPOSIT_OFFER_REMINDER",a.EVIDENCECHASERREMINDER="EVIDENCE_CHASER_REMINDER",a.EVIDENCECHASEREXPIREDNOTIFICATION="EVIDENCE_CHASER_EXPIRED_NOTIFICATION",a.EVIDENCECHASERSUPPLIERDRAFTREMINDER="EVIDENCE_CHASER_SUPPLIER_DRAFT_REMINDER",a.ARBITRATIONSENTNOTIFICATION="ARBITRATION_SENT_NOTIFICATION",a.IVRCALLPROCESSING="IVR_CALL_PROCESSING",a.PROCESSTWILIOIVRWEBHOOK="PROCESS_TWILIO_IVR_WEBHOOK",a.PROCESSTWILIOVOICEMAILWEBHOOK="PROCESS_TWILIO_VOICEMAIL_WEBHOOK",a.PENDINGREPOSITPOSTSTARTDATEWEEKLYREMINDER="PENDING_REPOSIT_POST_START_DATE_WEEKLY_REMINDER",a.HANDLEPENDINGCASHDEPOSIT="HANDLE_PENDING_CASH_DEPOSIT",a.REFRESHMYDEPOSITSACCESSTOKEN="REFRESH_MY_DEPOSITS_ACCESS_TOKEN",a.RECONCILEUNALLOCATEDFUNDS="RECONCILE_UNALLOCATED_FUNDS",a.MYDEPOSITSCREATEPROPERTYANDTENANCY="MY_DEPOSITS_CREATE_PROPERTY_AND_TENANCY",a.CREATEXEROCONTACTFORORGANIZATION="CREATE_XERO_CONTACT_FOR_ORGANIZATION",a.PROCESSBULKIMPORTFILE="PROCESS_BULK_IMPORT_FILE",a))(hs||{}),ms=(a=>(a.DAILYKPIS="DAILY_KPIS",a.DAILYKPISDOCUMENT="DAILY_KPIS_DOCUMENT",a.DAILYTOPUPCREATION="DAILY_TOP_UP_CREATION",a.DAILYTOPUPREMINDERS="DAILY_TOP_UP_REMINDERS",a.DAILYTOPUPUPCOMING="DAILY_TOP_UP_UPCOMING",a.TOPUPAUTOCHARGE="TOP_UP_AUTO_CHARGE",a.DAILYCLAIMAUTORESPONDTENANT="DAILY_CLAIM_AUTO_RESPOND_TENANT",a.DAILYCLAIMAUTORESPONDSUPPLIER="DAILY_CLAIM_AUTO_RESPOND_SUPPLIER",a.SCHEDULEDAUTOCHARGE="SCHEDULED_AUTO_CHARGE",a.DAILYFINALSCHEDULEDAUTOCHARGE="DAILY_FINAL_SCHEDULED_AUTO_CHARGE",a.DAILYORDERSCHEDULEDCHARGE="DAILY_ORDER_SCHEDULED_CHARGE",a.MONTHLYDIRECTCOMMISSION="MONTHLY_DIRECT_COMMISSION",a.WEEKLYLANDLORDTRANSFERREMINDER="WEEKLY_LANDLORD_TRANSFER_REMINDER",a.DAILYREPOSITENDINGREMINDER="DAILY_REPOSIT_ENDING_REMINDER",a.DAILYREPOSITCLOSINGREMINDER="DAILY_REPOSIT_CLOSING_REMINDER",a.DAILYREPOSITENDED="DAILY_REPOSIT_ENDED",a.DAILYREPOSITCLOSED="DAILY_REPOSIT_CLOSED",a.DAILYPENDINGREPOSITREMINDER="DAILY_PENDING_REPOSIT_REMINDER",a.DAILYOVERDUEARBITRATIONREMINDER="DAILY_OVERDUE_ARBITRATION_REMINDER",a.DAILYREPOSITDEACTIVATE="DAILY_REPOSIT_DEACTIVATE",a.DAILYCLAIMDEACTIVATE="DAILY_CLAIM_DEACTIVATE",a.DAILYCLAIMDEACTIVATEREMINDER="DAILY_CLAIM_DEACTIVATE_REMINDER",a.DAILYCLAIMTENANTREMINDER="DAILY_CLAIM_TENANT_REMINDER",a.DAILYCLAIMSUPPLIERREMINDER="DAILY_CLAIM_SUPPLIER_REMINDER",a.DAILYCLAIMEVIDENCEREMINDER="DAILY_CLAIM_EVIDENCE_REMINDER",a.DAILYREPOSITCRONINIT="DAILY_REPOSIT_CRON_INIT",a.DAILYCLAIMCRONINIT="DAILY_CLAIM_CRON_INIT",a.DAILYCHARGEPAYMENTPLANINSTALMENT="DAILY_CHARGE_PAYMENT_PLAN_INSTALMENT",a.DAILYPAYMENTPLANINSTALMENTREMINDER="DAILY_PAYMENT_PLAN_INSTALMENT_REMINDER",a.DAILYPAYMENTPLANINSTALMENTEXPIRED="DAILY_PAYMENT_PLAN_INSTALMENT_EXPIRED",a.DAILYPAYMENTPLANACTIVATIONREMINDER="DAILY_PAYMENT_PLAN_ACTIVATION_REMINDER",a.DAILYPAYMENTPLANCANCELLATION="DAILY_PAYMENT_PLAN_CANCELLATION",a.DAILYRECONCILIATION="DAILY_RECONCILIATION",a.DAILYSENDTENANCYINVENTORYNOTIFICATIONS="DAILY_SEND_TENANCY_INVENTORY_NOTIFICATIONS",a.DAILYREPOSITOFFERREMINDER="DAILY_REPOSIT_OFFER_REMINDER",a.DAILYEVIDENCECHASERREMINDER="DAILY_EVIDENCE_CHASER_REMINDER",a.DAILYEVIDENCECHASEREXPIREDNOTIFICATION="DAILY_EVIDENCE_CHASER_EXPIRED_NOTIFICATION",a.DAILYEVIDENCECHASERSUPPLIERDRAFTREMINDER="DAILY_EVIDENCE_CHASER_SUPPLIER_DRAFT_REMINDER",a.DAILYARBITRATIONSENTNOTIFICATION="DAILY_ARBITRATION_SENT_NOTIFICATION",a.DAILYIVRCALLPROCESSING="DAILY_IVR_CALL_PROCESSING",a.DAILYALBMETRICSCOLLECTION="DAILY_ALB_METRICS_COLLECTION",a.WEEKLYPENDINGREPOSITPASTSTARTDATEREMINDER="WEEKLY_PENDING_REPOSIT_PAST_START_DATE_REMINDER",a.POLLPENDINGCASHDEPOSITS="POLL_PENDING_CASH_DEPOSITS",a.REFRESHMYDEPOSITSACCESSTOKENS="REFRESH_MY_DEPOSITS_ACCESS_TOKENS",a.RECONCILEUNALLOCATEDFUNDS="RECONCILE_UNALLOCATED_FUNDS",a.PROCESSSQSWORKEROUTBOX="PROCESS_SQS_WORKER_OUTBOX",a))(ms||{}),As=(a=>(a.EMPTY="EMPTY",a.PEND="PEND",a.INFOREQUIRED="INFO_REQUIRED",a.INREVIEW="IN_REVIEW",a.PASS="PASS",a.FAIL="FAIL",a.GUARANTORREQUIRED="GUARANTOR_REQUIRED",a))(As||{}),Rs=(a=>(a.GBR="GBR",a))(Rs||{}),Is=(a=>(a.AGENT="AGENT",a.LANDLORD="LANDLORD",a))(Is||{}),Ps=(a=>(a.DRAFT="DRAFT",a.PUBLISHED="PUBLISHED",a))(Ps||{}),gs=(a=>(a.COMPANY="COMPANY",a.SOLEPERSON="SOLE_PERSON",a))(gs||{}),ws=(a=>(a.PASSED="PASSED",a.FAILED="FAILED",a))(ws||{}),Os=(a=>(a.REPOSIT="REPOSIT",a.CASHDEPOSIT="CASH_DEPOSIT",a))(Os||{}),fs=(a=>(a.DEPOSITWAIVER="DEPOSIT_WAIVER",a))(fs||{}),ys=(a=>(a.PRIVATE="PRIVATE",a.AGENCY="AGENCY",a))(ys||{}),Es=(a=>(a.DRAFT="DRAFT",a.INVITED="INVITED",a.REGISTERED="REGISTERED",a.REFERENCED="REFERENCED",a.CONFIRMED="CONFIRMED",a.SIGNED="SIGNED",a.PAID="PAID",a))(Es||{}),Cs=(a=>(a.SIGNEDTENANTTERMSANDCONDITIONS="SIGNED_TENANT_TERMS_AND_CONDITIONS",a))(Cs||{}),Vs=(a=>(a.Reposit="reposit",a))(Vs||{}),qs=(a=>(a.TenantConfirmed="reposit.tenant.confirmed",a.TenantSigned="reposit.tenant.signed",a.TenantPaid="reposit.tenant.paid",a.Completed="reposit.completed",a.Closed="reposit.closed",a.Deactivated="reposit.deactivated",a))(qs||{}),_s=(a=>(a.DRAFT="DRAFT",a.INVITED="INVITED",a.REGISTERED="REGISTERED",a.REFERENCED="REFERENCED",a.CONFIRMED="CONFIRMED",a.SIGNED="SIGNED",a.PAID="PAID",a))(_s||{}),vs=(a=>(a.PASSED="PASSED",a.FAILED="FAILED",a))(vs||{}),bs=(a=>(a.SUPPLIERAPPLICATION="SUPPLIER_APPLICATION",a.TENANTAPPLICATION="TENANT_APPLICATION",a))(bs||{}),Ss=(a=>(a.GENERAL="GENERAL",a.CREATINGREPOSITS="CREATING_REPOSITS",a.EXTENDINGREPOSITS="EXTENDING_REPOSITS",a.CHECKINGOUTREPOSITS="CHECKING_OUT_REPOSITS",a.CREATINGCLAIMS="CREATING_CLAIMS",a.MANAGINGCLAIMS="MANAGING_CLAIMS",a))(Ss||{}),Ts=(a=>(a.FIXED="FIXED",a.PERIODIC="PERIODIC",a))(Ts||{}),Ns=(a=>(a.CONFIRMED="CONFIRMED",a.UNCONFIRMED="UNCONFIRMED",a))(Ns||{}),xs=(a=>(a.EARLY="EARLY",a.LATE="LATE",a.FINAL="FINAL",a))(xs||{}),Us=(a=>(a.TENANT="TENANT",a))(Us||{}),Ds=(a=>(a.TENANT="TENANT",a))(Ds||{}),Ls=(a=>(a.FIXED="FIXED",a.PERIODIC="PERIODIC",a))(Ls||{}),Bs=(a=>(a.DAMAGE="DAMAGE",a.CLEANING="CLEANING",a.RENTARREARS="RENT_ARREARS",a.ITEMREMOVAL="ITEM_REMOVAL",a.OTHER="OTHER",a))(Bs||{}),Fs=(a=>(a.COMPANY="COMPANY",a.SOLEPERSON="SOLE_PERSON",a))(Fs||{}),js=(a=>(a.AGENCY="AGENCY",a.BUILDTORENT="BUILD_TO_RENT",a.PRIVATE="PRIVATE",a.INTEGRATORREFERRAL="INTEGRATOR_REFERRAL",a))(js||{}),Ms=(a=>(a.DRAFT="DRAFT",a.SUBMITTED="SUBMITTED",a.ISSUED="ISSUED",a.CLOSED="CLOSED",a.DEACTIVATED="DEACTIVATED",a.UNKNOWN="UNKNOWN",a))(Ms||{}),Hs=(a=>(a.FIXED="FIXED",a.PERIODIC="PERIODIC",a))(Hs||{}),Gs=(a=>(a.AGENT="AGENT",a.ARBITRATOR="ARBITRATOR",a.LANDLORD="LANDLORD",a.TENANT="TENANT",a.INTERNAL="INTERNAL",a.MACHINE="MACHINE",a))(Gs||{}),ks=(a=>(a.FINANCEALL="FINANCE_ALL",a.FINANCEINDIVIDUAL="FINANCE_INDIVIDUAL",a.PAYMENTPLANCREATE="PAYMENT_PLAN_CREATE",a.PAYMENTPLANDELETE="PAYMENT_PLAN_DELETE",a.INTERNALREPORTSALES="INTERNAL_REPORT_SALES",a.MANAGEORGANIZATIONUSERROLES="MANAGE_ORGANIZATION_USER_ROLES",a))(ks||{}),Qs=(a=>(a.PENDING="PENDING",a.OPENBANKINGTRANSFERSUCCESS="OPEN_BANKING_TRANSFER_SUCCESS",a.CANCELLED="CANCELLED",a.PARTIALLYPAID="PARTIALLY_PAID",a.PAID="PAID",a))(Qs||{});class Uh{constructor(e={}){this.apiKey=e.apiKey,this.username=e.username,this.password=e.password,this.accessToken=e.accessToken,this.basePath=e.basePath}}exports.AddRejectionReasonRequestDTORejectionReasonEnum=Ot;exports.AddressesApi=Ws;exports.AddressesApiAxiosParamCreator=pe;exports.AddressesApiFactory=$s;exports.AddressesApiFp=he;exports.ApplicantsApi=rn;exports.ApplicantsApiAxiosParamCreator=_e;exports.ApplicantsApiFactory=en;exports.ApplicantsApiFp=ve;exports.ArbitrationDTOStatusEnum=ft;exports.ArbitrationDocumentsApi=on;exports.ArbitrationDocumentsApiAxiosParamCreator=me;exports.ArbitrationDocumentsApiFactory=nn;exports.ArbitrationDocumentsApiFp=Ae;exports.ArbitrationsApi=hn;exports.ArbitrationsApiAxiosParamCreator=Re;exports.ArbitrationsApiFactory=pn;exports.ArbitrationsApiFp=Ie;exports.AuthApi=gn;exports.AuthApiAxiosParamCreator=X;exports.AuthApiFactory=Pn;exports.AuthApiFp=Z;exports.BASE_PATH=u;exports.BankAccountsApi=Vn;exports.BankAccountsApiAxiosParamCreator=Ur;exports.BankAccountsApiFactory=Cn;exports.BankAccountsApiFp=Dr;exports.BaseAPI=R;exports.BeneficiariesApi=vn;exports.BeneficiariesApiAxiosParamCreator=Lr;exports.BeneficiariesApiFactory=_n;exports.BeneficiariesApiFp=Br;exports.BulkImportDTOStatusEnum=yt;exports.BulkImportsApi=Tn;exports.BulkImportsApiAxiosParamCreator=_;exports.BulkImportsApiFactory=Sn;exports.BulkImportsApiFp=v;exports.COLLECTION_FORMATS=zs;exports.CashDepositsApi=Hn;exports.CashDepositsApiAxiosParamCreator=ee;exports.CashDepositsApiFactory=Mn;exports.CashDepositsApiFp=re;exports.CheckDTOStatusEnum=Ct;exports.CheckDTOTypeEnum=Et;exports.ChecksApi=Wn;exports.ChecksApiAxiosParamCreator=Ke;exports.ChecksApiFactory=$n;exports.ChecksApiFp=Xe;exports.ClaimActivityType=Vt;exports.ClaimDTOStatusEnum=qt;exports.ClaimDocumentsApi=Zn;exports.ClaimDocumentsApiAxiosParamCreator=te;exports.ClaimDocumentsApiFactory=Xn;exports.ClaimDocumentsApiFp=ae;exports.ClaimItemDTOTypeEnum=_t;exports.ClaimItemDocumentsApi=oo;exports.ClaimItemDocumentsApiAxiosParamCreator=se;exports.ClaimItemDocumentsApiFactory=no;exports.ClaimItemDocumentsApiFp=ne;exports.ClaimItemInternalUpdatePreviewDTOActionEnum=vt;exports.ClaimItemProposalDTOSettledSourceEnum=bt;exports.ClaimItemProposalsApi=mo;exports.ClaimItemProposalsApiAxiosParamCreator=be;exports.ClaimItemProposalsApiFactory=ho;exports.ClaimItemProposalsApiFp=Se;exports.ClaimItemsApi=go;exports.ClaimItemsApiAxiosParamCreator=oe;exports.ClaimItemsApiFactory=Po;exports.ClaimItemsApiFp=ie;exports.ClaimProposalDTOSourceEnum=St;exports.ClaimProposalDTOStatusEnum=Tt;exports.ClaimProposalDTOTypeEnum=Nt;exports.ClaimProposalsApi=Vo;exports.ClaimProposalsApiAxiosParamCreator=le;exports.ClaimProposalsApiFactory=Co;exports.ClaimProposalsApiFp=ce;exports.ClaimResponseDocumentsApi=No;exports.ClaimResponseDocumentsApiAxiosParamCreator=Pe;exports.ClaimResponseDocumentsApiFactory=To;exports.ClaimResponseDocumentsApiFp=ge;exports.ClaimStatusDTOStatusIdEnum=xt;exports.ClaimWithCheckoutRelationsDTOStatusEnum=Ut;exports.ClaimsApi=Fo;exports.ClaimsApiAxiosParamCreator=O;exports.ClaimsApiFactory=Bo;exports.ClaimsApiFp=f;exports.CommissionApi=ui;exports.CommissionApiAxiosParamCreator=Fr;exports.CommissionApiFactory=di;exports.CommissionApiFp=jr;exports.ConcurrentTenancyCheckApi=mi;exports.ConcurrentTenancyCheckApiAxiosParamCreator=Mr;exports.ConcurrentTenancyCheckApiFactory=hi;exports.ConcurrentTenancyCheckApiFp=Hr;exports.Configuration=Uh;exports.CreateAddressForRepositDTOCountryEnum=Dt;exports.CreateClaimItemDTOTypeEnum=Lt;exports.CreateClaimItemDocumentDTOTypeEnum=Bt;exports.CreateClaimItemReviewDTOStatusEnum=Ft;exports.CreateDocumentDTOTypeEnum=jt;exports.CreateDocumentFromS3DTOTypeEnum=Mt;exports.CreateEvidenceChaserItemDTODocumentTypeIdEnum=Ht;exports.CreateEvidenceChaserItemDTOTypeEnum=Gt;exports.CreateEvidenceChaserItemReviewDTOStatusEnum=kt;exports.CreateInsuredItemDTOTypeEnum=Qt;exports.CreateLandlordDTOLandlordTypeIdEnum=Yt;exports.CreateLandlordForRepositDTOLandlordTypeIdEnum=zt;exports.CreateLandlordWithOrgDTOLandlordTypeIdEnum=$t;exports.CreateNetPromoterScoreDTOSurveyEventEnum=Wt;exports.CreateOrderDTOProductIdEnum=Jt;exports.CreateOrganizationBankAccountDTOAccountTypeEnum=Kt;exports.CreateOrganizationDTOPrimaryVerticalEnum=Zt;exports.CreateOrganizationDTOSecondaryVerticalsEnum=ea;exports.CreateOrganizationDTOTypeEnum=Xt;exports.CreateOrganizationRecipientDTOGroupEnum=ra;exports.CreatePolicyWithBeneficiaryDTOMaximumPolicyCoverEnum=ta;exports.CreateReferenceDTOChecksEnum=aa;exports.CreateTenancyInviteDTORoleIdEnum=sa;exports.CreateTenancyRequestDTOTermTypeEnum=na;exports.CurrentUserAccountInfoDTOCurrentOrganizationRolesEnum=oa;exports.CurrentUserInfoDTOCurrentOrganizationRolesEnum=ia;exports.CustomersApi=Ii;exports.CustomersApiAxiosParamCreator=Gr;exports.CustomersApiFactory=Ri;exports.CustomersApiFp=kr;exports.DepositDTOStatusEnum=la;exports.DocumentsApi=wi;exports.DocumentsApiAxiosParamCreator=Te;exports.DocumentsApiFactory=gi;exports.DocumentsApiFp=Ne;exports.EvidenceChaserDTOStatusEnum=da;exports.EvidenceChaserDTOTypeEnum=ca;exports.EvidenceChaserItemClaimItemDTOStatusEnum=ua;exports.EvidenceChaserItemClaimItemReviewDTOStatusEnum=pa;exports.EvidenceChaserItemDTOStatusEnum=ha;exports.EvidenceChaserItemDTOTypeEnum=ma;exports.EvidenceChaserItemRequestDTOPublicationStatusEnum=Aa;exports.EvidenceChaserItemRequestsApi=Ci;exports.EvidenceChaserItemRequestsApiAxiosParamCreator=Ze;exports.EvidenceChaserItemRequestsApiFactory=Ei;exports.EvidenceChaserItemRequestsApiFp=er;exports.EvidenceChaserItemResponseDTOPublicationStatusEnum=Ra;exports.EvidenceChaserItemResponseDocumentsApi=vi;exports.EvidenceChaserItemResponseDocumentsApiAxiosParamCreator=rr;exports.EvidenceChaserItemResponseDocumentsApiFactory=_i;exports.EvidenceChaserItemResponseDocumentsApiFp=tr;exports.EvidenceChaserItemResponsesApi=Ni;exports.EvidenceChaserItemResponsesApiAxiosParamCreator=ar;exports.EvidenceChaserItemResponsesApiFactory=Ti;exports.EvidenceChaserItemResponsesApiFp=sr;exports.EvidenceChaserItemReviewDTOPublicationStatusEnum=Pa;exports.EvidenceChaserItemReviewDTOStatusEnum=Ia;exports.EvidenceChaserItemReviewsApi=Li;exports.EvidenceChaserItemReviewsApiAxiosParamCreator=nr;exports.EvidenceChaserItemReviewsApiFactory=Di;exports.EvidenceChaserItemReviewsApiFp=or;exports.EvidenceChaserItemsApi=Mi;exports.EvidenceChaserItemsApiAxiosParamCreator=ir;exports.EvidenceChaserItemsApiFactory=ji;exports.EvidenceChaserItemsApiFp=lr;exports.EvidenceChaserRoundDTOStatusEnum=ga;exports.EvidenceChaserRoundsApi=Qi;exports.EvidenceChaserRoundsApiAxiosParamCreator=xe;exports.EvidenceChaserRoundsApiFactory=ki;exports.EvidenceChaserRoundsApiFp=Ue;exports.EvidenceChasersApi=Ji;exports.EvidenceChasersApiAxiosParamCreator=De;exports.EvidenceChasersApiFactory=Wi;exports.EvidenceChasersApiFp=Le;exports.FeedbackApi=rl;exports.FeedbackApiAxiosParamCreator=Qr;exports.FeedbackApiFactory=el;exports.FeedbackApiFp=Yr;exports.HealthApi=sl;exports.HealthApiAxiosParamCreator=cr;exports.HealthApiFactory=al;exports.HealthApiFp=dr;exports.IncomingWebhooksApi=ll;exports.IncomingWebhooksApiAxiosParamCreator=T;exports.IncomingWebhooksApiFactory=il;exports.IncomingWebhooksApiFp=N;exports.InsuranceClaimDTOStatusEnum=wa;exports.InsuranceClaimsApi=Il;exports.InsuranceClaimsApiAxiosParamCreator=Be;exports.InsuranceClaimsApiFactory=Rl;exports.InsuranceClaimsApiFp=Fe;exports.IntegratorApi=fl;exports.IntegratorApiAxiosParamCreator=zr;exports.IntegratorApiFactory=Ol;exports.IntegratorApiFp=$r;exports.IntegratorCommissionApi=Cl;exports.IntegratorCommissionApiAxiosParamCreator=Wr;exports.IntegratorCommissionApiFactory=El;exports.IntegratorCommissionApiFp=Jr;exports.InternalReportingApi=_l;exports.InternalReportingApiAxiosParamCreator=ur;exports.InternalReportingApiFactory=ql;exports.InternalReportingApiFp=pr;exports.InternalTeamMemberDTOTeamEnum=Oa;exports.InternalTeamMembersApi=Tl;exports.InternalTeamMembersApiAxiosParamCreator=Kr;exports.InternalTeamMembersApiFactory=Sl;exports.InternalTeamMembersApiFp=Xr;exports.KpiDocumentApi=Ul;exports.KpiDocumentApiAxiosParamCreator=Zr;exports.KpiDocumentApiFactory=xl;exports.KpiDocumentApiFp=et;exports.LandlordDTOTypeEnum=fa;exports.LandlordsApi=Bl;exports.LandlordsApiAxiosParamCreator=hr;exports.LandlordsApiFactory=Ll;exports.LandlordsApiFp=mr;exports.MessageQueueApi=Hl;exports.MessageQueueApiAxiosParamCreator=rt;exports.MessageQueueApiFactory=Ml;exports.MessageQueueApiFp=tt;exports.MyDepositsOAuthApi=Ql;exports.MyDepositsOAuthApiAxiosParamCreator=H;exports.MyDepositsOAuthApiFactory=kl;exports.MyDepositsOAuthApiFp=G;exports.MyDepositsOnboardingStatusResponseDTOAccountTypeEnum=Ea;exports.MyDepositsOnboardingStatusResponseDTOOnboardingStatusEnum=ya;exports.NetPromoterScoreApi=Zl;exports.NetPromoterScoreApiAxiosParamCreator=at;exports.NetPromoterScoreApiFactory=Xl;exports.NetPromoterScoreApiFp=st;exports.NetPromoterScoreDTOCategoryEnum=Va;exports.NetPromoterScoreDTOSurveyEventEnum=Ca;exports.OfferToTenantRequestDTOTenantsReferenceStatusEnum=qa;exports.OrderCustomerActionDTOTypeIdEnum=_a;exports.OrderCustomerActionsApi=tc;exports.OrderCustomerActionsApiAxiosParamCreator=x;exports.OrderCustomerActionsApiFactory=rc;exports.OrderCustomerActionsApiFp=U;exports.OrderCustomersApi=uc;exports.OrderCustomersApiAxiosParamCreator=je;exports.OrderCustomersApiFactory=dc;exports.OrderCustomersApiFp=Me;exports.OrderDTOProductIdEnum=va;exports.OrderDTORefundHandlingEnum=Sa;exports.OrderDTOStatusIdEnum=ba;exports.OrderWithOrderCustomersDTOProductIdEnum=Ta;exports.OrderWithOrderCustomersDTORefundHandlingEnum=xa;exports.OrderWithOrderCustomersDTOStatusIdEnum=Na;exports.OrdersApi=Rc;exports.OrdersApiAxiosParamCreator=Ar;exports.OrdersApiFactory=Ac;exports.OrdersApiFp=Rr;exports.OrganizationAttributesDTOInvoiceCategoryEnum=Ua;exports.OrganizationBankAccountDTOAccountTypeEnum=Da;exports.OrganizationBankAccountsApi=wc;exports.OrganizationBankAccountsApiAxiosParamCreator=He;exports.OrganizationBankAccountsApiFactory=gc;exports.OrganizationBankAccountsApiFp=Ge;exports.OrganizationDTOOrganizationTypeIdEnum=La;exports.OrganizationInternalOwnerDTOResponsibleForEnum=Ba;exports.OrganizationInternalOwnersApi=Cc;exports.OrganizationInternalOwnersApiAxiosParamCreator=nt;exports.OrganizationInternalOwnersApiFactory=Ec;exports.OrganizationInternalOwnersApiFp=ot;exports.OrganizationInvitesApi=_c;exports.OrganizationInvitesApiAxiosParamCreator=de;exports.OrganizationInvitesApiFactory=qc;exports.OrganizationInvitesApiFp=ue;exports.OrganizationRecipientDTOGroupEnum=Fa;exports.OrganizationRecipientsApi=Uc;exports.OrganizationRecipientsApiAxiosParamCreator=Ir;exports.OrganizationRecipientsApiFactory=xc;exports.OrganizationRecipientsApiFp=Pr;exports.OrganizationSettingsDTOCommissionRuleEnum=Ma;exports.OrganizationSettingsDTOMaximumPolicyCoverEnum=Ha;exports.OrganizationSettingsDTOPricingRuleEnum=ja;exports.OrganizationUserDTORolesEnum=Ga;exports.OrganizationUsersApi=Fc;exports.OrganizationUsersApiAxiosParamCreator=ke;exports.OrganizationUsersApiFactory=Bc;exports.OrganizationUsersApiFp=Qe;exports.OrganizationVerticalDTONameEnum=Qa;exports.OrganizationVerticalDTOTypeEnum=ka;exports.OrganizationWithCashDepositDTOOrganizationTypeIdEnum=Ya;exports.OrganizationWithRepositsAndRolesOrganizationTypeIdEnum=za;exports.OrganizationWithRepositsAndRolesRolesEnum=$a;exports.OrganizationWithRolesOrganizationTypeIdEnum=Wa;exports.OrganizationWithRolesRolesEnum=Ja;exports.OrganizationsApi=kc;exports.OrganizationsApiAxiosParamCreator=g;exports.OrganizationsApiFactory=Gc;exports.OrganizationsApiFp=w;exports.PaymentDetailsResponseDTOCashDepositStatusEnum=Ka;exports.PaymentMethodChecksRequestDTOCustomerActionTypeEnum=Xa;exports.PaymentMethodChecksResponseDTOCvcEnum=Za;exports.PaymentMethodChecksResponseDTOFundingEnum=ts;exports.PaymentMethodChecksResponseDTONameMatchEnum=rs;exports.PaymentMethodChecksResponseDTOPostcodeEnum=es;exports.PaymentPlanActionDTOTypeIdEnum=as;exports.PaymentPlanActionsApi=gd;exports.PaymentPlanActionsApiAxiosParamCreator=we;exports.PaymentPlanActionsApiFactory=Pd;exports.PaymentPlanActionsApiFp=Oe;exports.PaymentPlanDTOFrequencyEnum=ss;exports.PaymentPlanDTOStatusEnum=ns;exports.PaymentPlanInstalmentDTOStatusEnum=os;exports.PaymentPlanInstalmentsApi=Cd;exports.PaymentPlanInstalmentsApiAxiosParamCreator=Ye;exports.PaymentPlanInstalmentsApiFactory=Ed;exports.PaymentPlanInstalmentsApiFp=ze;exports.PaymentPlansApi=bd;exports.PaymentPlansApiAxiosParamCreator=k;exports.PaymentPlansApiFactory=vd;exports.PaymentPlansApiFp=Q;exports.PlaidWebhookDtoNewPaymentStatusEnum=ds;exports.PlaidWebhookDtoStatusEnum=cs;exports.PlaidWebhookDtoWebhookCodeEnum=ls;exports.PlaidWebhookDtoWebhookTypeEnum=is;exports.PoliciesApi=Bd;exports.PoliciesApiAxiosParamCreator=Y;exports.PoliciesApiFactory=Ld;exports.PoliciesApiFp=z;exports.PolicyDTOStatusEnum=us;exports.PolicyDocumentsApi=Yd;exports.PolicyDocumentsApiAxiosParamCreator=fe;exports.PolicyDocumentsApiFactory=Qd;exports.PolicyDocumentsApiFp=ye;exports.PolicyTypeDTOCoverTypeEnum=ps;exports.PreTenancyDocumentsApi=Xd;exports.PreTenancyDocumentsApiAxiosParamCreator=gr;exports.PreTenancyDocumentsApiFactory=Kd;exports.PreTenancyDocumentsApiFp=wr;exports.PricingApi=tu;exports.PricingApiAxiosParamCreator=Or;exports.PricingApiFactory=ru;exports.PricingApiFp=fr;exports.PropertiesApi=ou;exports.PropertiesApiAxiosParamCreator=$e;exports.PropertiesApiFactory=nu;exports.PropertiesApiFp=We;exports.QueueMessageDTOCronNameEnum=ms;exports.QueueMessageDTOTypeEnum=hs;exports.ReconciliationDocumentsApi=uu;exports.ReconciliationDocumentsApiAxiosParamCreator=it;exports.ReconciliationDocumentsApiFactory=du;exports.ReconciliationDocumentsApiFp=lt;exports.ReferenceDTOStatusEnum=As;exports.ReferenceDocumentsApi=mu;exports.ReferenceDocumentsApiAxiosParamCreator=Ee;exports.ReferenceDocumentsApiFactory=hu;exports.ReferenceDocumentsApiFp=Ce;exports.ReferencesApi=wu;exports.ReferencesApiAxiosParamCreator=D;exports.ReferencesApiFactory=gu;exports.ReferencesApiFp=L;exports.RepositAddressDTOCountryEnum=Rs;exports.RepositAgentDTOUserTypeIdEnum=Is;exports.RepositDTOStatusEnum=Ps;exports.RepositLandlordDTOLandlordTypeIdEnum=gs;exports.RepositOfferDTOTenantsReferenceStatusEnum=ws;exports.RepositOfferRecipientDTOChoiceEnum=Os;exports.RepositOffersApi=vu;exports.RepositOffersApiAxiosParamCreator=B;exports.RepositOffersApiFactory=_u;exports.RepositOffersApiFp=F;exports.RepositPolicyTypeDTOCategoryEnum=fs;exports.RepositSupplierDTOTypeEnum=ys;exports.RepositTenantDTOStatusEnum=Es;exports.RepositTenantDocumentDTOTypeEnum=Cs;exports.RepositWebhookDTOActionEnum=qs;exports.RepositWebhookDTOResourceTypeEnum=Vs;exports.RepositWebhookTenantDTOStatusEnum=_s;exports.RepositsApi=Bu;exports.RepositsApiAxiosParamCreator=b;exports.RepositsApiFactory=Lu;exports.RepositsApiFp=S;exports.RequiredError=h;exports.SearchRepositOfferDTOTenantsReferenceStatusEnum=vs;exports.SeedCashDepositsApi=$u;exports.SeedCashDepositsApiAxiosParamCreator=ct;exports.SeedCashDepositsApiFactory=zu;exports.SeedCashDepositsApiFp=dt;exports.SeedRepositsApi=Ku;exports.SeedRepositsApiAxiosParamCreator=ut;exports.SeedRepositsApiFactory=Ju;exports.SeedRepositsApiFp=pt;exports.SubmitFeedbackDTOApplicationEnum=bs;exports.SubmitFeedbackDTOSubjectEnum=Ss;exports.SuppliersApi=ep;exports.SuppliersApiAxiosParamCreator=yr;exports.SuppliersApiFactory=Zu;exports.SuppliersApiFp=Er;exports.TenanciesApi=sp;exports.TenanciesApiAxiosParamCreator=C;exports.TenanciesApiFactory=ap;exports.TenanciesApiFp=V;exports.TenancyAnniversariesApi=gp;exports.TenancyAnniversariesApiAxiosParamCreator=ht;exports.TenancyAnniversariesApiFactory=Pp;exports.TenancyAnniversariesApiFp=mt;exports.TenancyCheckoutsApi=fp;exports.TenancyCheckoutsApiAxiosParamCreator=At;exports.TenancyCheckoutsApiFactory=Op;exports.TenancyCheckoutsApiFp=Rt;exports.TenancyDTOTermTypeEnum=Ts;exports.TenancyExpiriesApi=Cp;exports.TenancyExpiriesApiAxiosParamCreator=Cr;exports.TenancyExpiriesApiFactory=Ep;exports.TenancyExpiriesApiFp=Vr;exports.TenancyInventoriesApi=vp;exports.TenancyInventoriesApiAxiosParamCreator=qr;exports.TenancyInventoriesApiFactory=_p;exports.TenancyInventoriesApiFp=_r;exports.TenancyInventoryRespondentDTOResponseEnum=Ns;exports.TenancyInventoryRespondentDTOStageEnum=xs;exports.TenancyInviteDTORoleIdEnum=Us;exports.TenancyInvitesApi=Np;exports.TenancyInvitesApiAxiosParamCreator=$;exports.TenancyInvitesApiFactory=Tp;exports.TenancyInvitesApiFp=W;exports.TenancyOrderNotesApi=Mp;exports.TenancyOrderNotesApiAxiosParamCreator=vr;exports.TenancyOrderNotesApiFactory=jp;exports.TenancyOrderNotesApiFp=br;exports.TenancyOrdersApi=Qp;exports.TenancyOrdersApiAxiosParamCreator=J;exports.TenancyOrdersApiFactory=kp;exports.TenancyOrdersApiFp=K;exports.TenancyUserDTORoleIdEnum=Ds;exports.TenancyUsersApi=Zp;exports.TenancyUsersApiAxiosParamCreator=Ve;exports.TenancyUsersApiFactory=Xp;exports.TenancyUsersApiFp=qe;exports.TenancyWithCheckoutAndClaimDTOTermTypeEnum=Ls;exports.TenantsApi=nh;exports.TenantsApiAxiosParamCreator=Sr;exports.TenantsApiFactory=sh;exports.TenantsApiFp=Tr;exports.TermsApi=ch;exports.TermsApiAxiosParamCreator=Nr;exports.TermsApiFactory=lh;exports.TermsApiFp=xr;exports.UpdateClaimItemDTOTypeEnum=Bs;exports.UpdateLandlordDTOTypeEnum=Fs;exports.UpdateOrganizationDTOOrganizationTypeIdEnum=js;exports.UpdatePolicyStatusDTOStatusEnum=Ms;exports.UpdateTenancyRequestDTOTermTypeEnum=Hs;exports.UserDTOInternalRolesEnum=ks;exports.UserDTOUserTypeIdEnum=Gs;exports.UsersApi=hh;exports.UsersApiAxiosParamCreator=y;exports.UsersApiFactory=ph;exports.UsersApiFp=E;exports.VerifyPostcodeResponseDTOStatusEnum=Qs;exports.WebhooksApi=Nh;exports.WebhooksApiAxiosParamCreator=It;exports.WebhooksApiFactory=Th;exports.WebhooksApiFp=Pt;exports.aboutYou=ac;exports.acceptOrganizationInvite=vc;exports.acceptTenancyInvite=xp;exports.acknowledgeCaseSentToInsurer=jo;exports.addAbitrationDocument=ln;exports.addClaimDocument=eo;exports.addClaimDocumentByDocumentId=ro;exports.addClaimItemDocument=io;exports.addClaimItemDocumentByDocumentId=lo;exports.addClaimResponseDocument=xo;exports.addGuarantor=eh;exports.addItems=Fd;exports.addPaymentMethod=Pi;exports.addPolicyDocument=zd;exports.addPreTenancyDocumentByDocumentId=Zd;exports.addReferenceDocument=Au;exports.addRejectionReason=bu;exports.addTenant=oh;exports.addressHistory=sc;exports.agreeClaimProposal=qo;exports.applyInternalClaimItemUpdate=wo;exports.approveClaim=Mo;exports.changeInstalmentDates=Sd;exports.checkConcurrentTenancy=Ai;exports.closingRemindersEnabled=np;exports.completeMyDepositsSetup=Yl;exports.completeOnboardingIntroduction=mh;exports.confirm=nc;exports.confirmBankAccounts=Qc;exports.confirmPaymentPlan=wd;exports.confirmTenancyDetails=Gn;exports.counterClaimProposal=_o;exports.create=Oc;exports.createAddress=Js;exports.createApplicant=tn;exports.createArbitration=mn;exports.createBulkImport=Nn;exports.createCheckout=yp;exports.createClaim=Ho;exports.createClaimActivity=Go;exports.createClaimItem=Oo;exports.createClaimItemProposal=Ao;exports.createDocument=Oi;exports.createEvidenceChaser=Ki;exports.createEvidenceChaserItem=Hi;exports.createEvidenceChaserItemRequest=Vi;exports.createEvidenceChaserItemResponse=xi;exports.createEvidenceChaserItemResponseDocument=bi;exports.createEvidenceChaserItemReview=Bi;exports.createFromS3=fi;exports.createInsuranceClaim=Pl;exports.createInsuranceClaimOnClaim=ko;exports.createNetPromoterScore=ec;exports.createOffer=Su;exports.createOneTimeSessionToken=Ah;exports.createOrganization=Yc;exports.createOrganizationInvite=bc;exports.createOrganizationRecipient=Dc;exports.createPaymentPlan=Td;exports.createPolicy=jd;exports.createProperty=iu;exports.createReference=Ou;exports.createReposit=Fu;exports.createTemporaryUploadUrl=xn;exports.createTenancy=op;exports.createTenancyExpiry=Vp;exports.createTenancyInvite=Up;exports.createTenancyOrder=ip;exports.createTenancyOrderNote=Hp;exports.dbHealthCheck=nl;exports.deactivateClaim=Qo;exports.declineClaim=Yo;exports.deferPaymentPlanInstalment=Vd;exports.deleteAbitrationDocument=cn;exports.deleteBankAccount=fc;exports.deleteById=ih;exports.deleteClaimDocument=to;exports.deleteClaimItem=fo;exports.deleteClaimItemDocument=co;exports.deleteClaimItemProposal=Ro;exports.deleteClaimResponseDocument=Uo;exports.deleteEvidenceChaserItemRequest=qi;exports.deleteEvidenceChaserItemResponseDocument=Si;exports.deleteGuarantor=rh;exports.deleteInvite=Sc;exports.deleteItem=Md;exports.deleteNote=Gp;exports.deleteOffer=Tu;exports.deleteOrganizationRecipient=Lc;exports.deletePaymentPlanById=Nd;exports.deletePolicyDocument=$d;exports.deletePreTenancyDocument=eu;exports.deleteReferenceDocument=Ru;exports.deleteTenancyInvite=Dp;exports.disableProductCreation=zc;exports.disableTopUps=lp;exports.disableWarnings=bp;exports.disconnectMyDeposits=zl;exports.dismissNewProductUpdates=Rh;exports.dismissOrganizationMessage=$c;exports.dismissUserMessage=Ih;exports.disputeClaimProposal=vo;exports.dryRunInternalClaimItemUpdate=yo;exports.duplicatePaymentMethodCheck=Ic;exports.enableProductCreation=Wc;exports.exchangeMyDepositsToken=$l;exports.expireEvidenceChaser=Xi;exports.extendOutcomeDeadline=cp;exports.fetchAddressesByOrganizationId=Jc;exports.fetchInvitesByOrganizationId=Tc;exports.fetchInvitesByTenancyId=Lp;exports.fetchLandlordsByOrganizationId=Kc;exports.fetchOrganizationUsersByOrganizationId=Xc;exports.fetchPropertiesByOrganizationId=Zc;exports.fetchTenanciesByOrganizationId=ed;exports.fetchUsersByOrganizationId=rd;exports.findAbitrationDocumentById=dn;exports.findAddressById=Ks;exports.findAll=Nl;exports.findApplicantById=an;exports.findCheckById=Jn;exports.findClaimById=zo;exports.findClaimDocumentById=ao;exports.findClaimItemDocumentById=uo;exports.findClaimResponseDocumentById=Do;exports.findManyAbitrationDocuments=un;exports.findManyClaimDocuments=so;exports.findManyClaimItemDocuments=po;exports.findManyClaimResponseDocuments=Lo;exports.findManyPolicyDocuments=Wd;exports.findManyReferenceDocuments=Iu;exports.findOne=Hd;exports.findOneByID=Ph;exports.findOrganizationById=td;exports.findPolicyDocumentById=Jd;exports.findReferenceById=fu;exports.findReferenceDocumentById=Pu;exports.generateADRForm=$o;exports.generateCashDepositPlaidLinkToken=kn;exports.generateCommissionCsvForPeriod=pi;exports.generateLastMonthCommission=Vl;exports.getActive=qn;exports.getAllBulkImports=Un;exports.getAmountRemaining=Pc;exports.getArbitrationById=An;exports.getBankAccounts=yc;exports.getBulkImportById=Dn;exports.getBulkImportDownloadUrl=Ln;exports.getByTenancyId=qp;exports.getCashDepositAmount=au;exports.getCashDepositScheme=ad;exports.getChecks=yu;exports.getChildren=sd;exports.getCompletedReposits=vl;exports.getCreatedReposits=bl;exports.getCustomer=gh;exports.getDocumentsByIds=yi;exports.getEvidenceChaserById=Zi;exports.getExampleCsv=Bn;exports.getFailedRowsCsv=Fn;exports.getInstalmentById=qd;exports.getInstalmentPaymentIntentSecret=_d;exports.getInsuranceClaim=gl;exports.getIntegrators=yl;exports.getLandlordById=Fl;exports.getMyDepositsAuthorizeUrl=Wl;exports.getMyDepositsCompanyOffices=Jl;exports.getMyDepositsOnboardingStatus=Kl;exports.getMySupplier=rp;exports.getOrderCustomerById=pc;exports.getOrganizationMetrics=nd;exports.getOrganizationUsers=wh;exports.getOrganizationVerticals=od;exports.getOwners=Vc;exports.getPaymentDetails=Qn;exports.getPaymentPlanAction=Od;exports.getPaymentPlanById=xd;exports.getPaymentPlanPropertyAddressById=Ud;exports.getPropertyById=lu;exports.getRecipients=id;exports.getReferenceDocuments=Eu;exports.getRepositById=ju;exports.getRepositFee=su;exports.getRepositLandlord=Mu;exports.getRepositOffer=Nu;exports.getRepositPolicies=Hu;exports.getRepositPrice=Gu;exports.getSetupIntentSecret=Dd;exports.getSupplierAgents=tp;exports.getSupplierTerms=dh;exports.getTenancyAnniversaries=wp;exports.getTenancyById=dp;exports.getTenancyDocuments=up;exports.getTenancyOrderById=Yp;exports.getTenancyOrdersByProductId=Oh;exports.getTenancyUserById=hc;exports.getTenantDocuments=ku;exports.getTenantTerms=uh;exports.getUserAccount=fh;exports.getUserTenancyAnniversaries=yh;exports.grantRoles=jc;exports.healthCheck=ol;exports.login=wn;exports.me=Eh;exports.notifyIntegrator=Mc;exports.optimisedSearch=zp;exports.optimisedSearchClaim=Wo;exports.override=Kn;exports.pay=oc;exports.paySupplier=Jo;exports.paymentCardChecks=mc;exports.processIncomingMessage=Gl;exports.processPlaidWebhooks=cl;exports.processSendGridWebhooks=dl;exports.processStripeOffSessionWebhooks=ul;exports.processStripeWebhooks=pl;exports.processTwilioIvrWebhooks=hl;exports.processTwilioIvrWebhooksWithGatherAction=ml;exports.processTwilioVoicemailWebhook=Al;exports.processUploadFile=jn;exports.publish=pp;exports.publishArbitration=Rn;exports.publishClaim=Ko;exports.publishClaimProposal=bo;exports.publishEvidenceChaserRequests=Yi;exports.publishEvidenceChaserResponses=zi;exports.publishEvidenceChaserReviews=$i;exports.publishReposit=Qu;exports.readyForArbitrateClaim=Xo;exports.readyForReview=Cu;exports.redeemOneTimeSessionToken=On;exports.reference=ic;exports.removeTenancyOrderById=$p;exports.removeUser=ld;exports.reopenClaim=Zo;exports.reopenTenancyOrder=Wp;exports.replaceReposit=Yu;exports.requestMoreInfoClaim=ei;exports.resendOrganizationInvite=Nc;exports.resendTenancyInvite=Bp;exports.resetPassword=fn;exports.resetPasswordRequest=yn;exports.resetUserPassword=Ch;exports.resolveClaim=ri;exports.resolveInsuranceClaim=wl;exports.respondToOffer=xu;exports.revokeRoles=Hc;exports.searchAddressesByPostcode=Xs;exports.searchKpiDocuments=Dl;exports.searchOffers=Uu;exports.searchOrganization=cd;exports.searchProperties=cu;exports.searchReconciliationDocuments=pu;exports.searchReferences=Vu;exports.searchUser=Vh;exports.seedCashDeposit=Wu;exports.seedReposit=Xu;exports.sendOverdueChasers=Jp;exports.sendReminder=Du;exports.sendReminderEmail=th;exports.setLandlordInformationComplete=dd;exports.setPassword=En;exports.sign=lc;exports.signAddendumForSupplier=hp;exports.signAddendumForTenant=cc;exports.signCashDeposit=Yn;exports.skipEvidenceChaser=ti;exports.submitChecks=qu;exports.submitFeedback=tl;exports.submitMoreInfoClaim=ai;exports.tenantConfirmation=Sp;exports.tenantVacated=mp;exports.transferTenancyOrderToOrganization=Kp;exports.unpublishClaimProposal=So;exports.updateASTAcceptance=ud;exports.updateAboutMe=qh;exports.updateAddress=fd;exports.updateAddressById=Zs;exports.updateAddressHistory=_h;exports.updateArbitration=In;exports.updateAttributes=sn;exports.updateAutoCharge=si;exports.updateBeneficiary=bn;exports.updateBetaEnabled=vh;exports.updateCardDetails=yd;exports.updateClaim=ni;exports.updateClaimItem=Eo;exports.updateClaimItemProposal=Io;exports.updateEmailSettings=bh;exports.updateEvidenceChaserItem=Gi;exports.updateEvidenceChaserItemResponse=Ui;exports.updateEvidenceChaserItemReview=Fi;exports.updateExistingProperty=Ap;exports.updateGuarantor=ah;exports.updateInformedLandlords=pd;exports.updateIntegrationWebhookUrl=xh;exports.updateLandlord=jl;exports.updateOrganization=hd;exports.updateOrganizationNotes=md;exports.updatePolicy=Gd;exports.updateProperty=Rp;exports.updateStatus=kd;exports.updateTenancy=Ip;exports.updateTenancyInvite=Fp;exports.updateTenantDisputeMessage=oi;exports.updateTermsAccepted=Ad;exports.updateUser=Sh;exports.updateYourCompany=Rd;exports.verifyClaim=ii;exports.verifyPostcode=zn;exports.waiveDisputeFee=li;exports.welcomeLandlord=Id;exports.zipDocuments=ci;
|