@reposit/api-client 6.70.0-alpha.0 → 6.70.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const p=require("axios"),u="http://localhost".replace(/\/+$/,""),An={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 de=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}}}},ue=function(a){return{createAddress(e,r){const t=de(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=de(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=de(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=de(a).updateAddressById(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}}}},mn=function(a,e,r){return{createAddress(t,s){return ue(a).createAddress(t,s)(r,e)},findAddressById(t,s){return ue(a).findAddressById(t,s)(r,e)},searchAddressesByPostcode(t,s){return ue(a).searchAddressesByPostcode(t,s)(r,e)},updateAddressById(t,s,n){return ue(a).updateAddressById(t,s,n)(r,e)}}};class Rn extends R{createAddress(e,r){return ue(this.configuration).createAddress(e,r)(this.axios,this.basePath)}findAddressById(e,r){return ue(this.configuration).findAddressById(e,r)(this.axios,this.basePath)}searchAddressesByPostcode(e,r){return ue(this.configuration).searchAddressesByPostcode(e,r)(this.axios,this.basePath)}updateAddressById(e,r,t){return ue(this.configuration).updateAddressById(e,r,t)(this.axios,this.basePath)}}async function In(a,e,r=p,t=u,s){const n=de(e).createAddress(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=de(e).findAddressById(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=de(e).searchAddressesByPostcode(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function On(a,e,r,t=p,s=u,n){const o=de(r).updateAddressById(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}const Ve=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}}}},qe=function(a){return{createApplicant(e,r){const t=Ve(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=Ve(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=Ve(a).updateAttributes(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}}}},fn=function(a,e,r){return{createApplicant(t,s){return qe(a).createApplicant(t,s)(r,e)},findApplicantById(t,s){return qe(a).findApplicantById(t,s)(r,e)},updateAttributes(t,s,n){return qe(a).updateAttributes(t,s,n)(r,e)}}};class wn extends R{createApplicant(e,r){return qe(this.configuration).createApplicant(e,r)(this.axios,this.basePath)}findApplicantById(e,r){return qe(this.configuration).findApplicantById(e,r)(this.axios,this.basePath)}updateAttributes(e,r,t){return qe(this.configuration).updateAttributes(e,r,t)(this.axios,this.basePath)}}async function yn(a,e,r=p,t=u,s){const n=Ve(e).createApplicant(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=Ve(e).findApplicantById(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function Cn(a,e,r,t=p,s=u,n){const o=Ve(r).updateAttributes(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}const pe=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}}}},he=function(a){return{addAbitrationDocument(e,r,t,s,n){const o=pe(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=pe(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=pe(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=pe(a).findManyAbitrationDocuments(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}}}},Vn=function(a,e,r){return{addAbitrationDocument(t,s,n,o,i){return he(a).addAbitrationDocument(t,s,n,o,i)(r,e)},deleteAbitrationDocument(t,s,n){return he(a).deleteAbitrationDocument(t,s,n)(r,e)},findAbitrationDocumentById(t,s,n){return he(a).findAbitrationDocumentById(t,s,n)(r,e)},findManyAbitrationDocuments(t,s){return he(a).findManyAbitrationDocuments(t,s)(r,e)}}};class qn extends R{addAbitrationDocument(e,r,t,s,n){return he(this.configuration).addAbitrationDocument(e,r,t,s,n)(this.axios,this.basePath)}deleteAbitrationDocument(e,r,t){return he(this.configuration).deleteAbitrationDocument(e,r,t)(this.axios,this.basePath)}findAbitrationDocumentById(e,r,t){return he(this.configuration).findAbitrationDocumentById(e,r,t)(this.axios,this.basePath)}findManyAbitrationDocuments(e,r){return he(this.configuration).findManyAbitrationDocuments(e,r)(this.axios,this.basePath)}}async function _n(a,e,r,t,s,n=p,o=u,i){const l=pe(s).addAbitrationDocument(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=pe(r).deleteAbitrationDocument(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=pe(r).findAbitrationDocumentById(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=pe(e).findManyAbitrationDocuments(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}const Ae=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}}}},me=function(a){return{createArbitration(e,r){const t=Ae(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=Ae(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=Ae(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=Ae(a).updateArbitration(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}}}},bn=function(a,e,r){return{createArbitration(t,s){return me(a).createArbitration(t,s)(r,e)},getArbitrationById(t,s){return me(a).getArbitrationById(t,s)(r,e)},publishArbitration(t,s){return me(a).publishArbitration(t,s)(r,e)},updateArbitration(t,s,n){return me(a).updateArbitration(t,s,n)(r,e)}}};class Nn extends R{createArbitration(e,r){return me(this.configuration).createArbitration(e,r)(this.axios,this.basePath)}getArbitrationById(e,r){return me(this.configuration).getArbitrationById(e,r)(this.axios,this.basePath)}publishArbitration(e,r){return me(this.configuration).publishArbitration(e,r)(this.axios,this.basePath)}updateArbitration(e,r,t){return me(this.configuration).updateArbitration(e,r,t)(this.axios,this.basePath)}}async function xn(a,e,r=p,t=u,s){const n=Ae(e).createArbitration(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function Un(a,e,r=p,t=u,s){const n=Ae(e).getArbitrationById(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function Dn(a,e,r=p,t=u,s){const n=Ae(e).publishArbitration(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function Ln(a,e,r,t=p,s=u,n){const o=Ae(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)}}}},Bn=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 Fn 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 Mn(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 jn(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 Hn(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 Gn(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 kn(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 jr=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}}}},Hr=function(a){return{getActive(e){const r=jr(a).getActive(e);return(t=p,s=u)=>{const n={...r.options,url:s+r.url};return t.request(n)}}}},Qn=function(a,e,r){return{getActive(t){return Hr(a).getActive(t)(r,e)}}};class Yn extends R{getActive(e){return Hr(this.configuration).getActive(e)(this.axios,this.basePath)}}async function zn(a,e=p,r=u,t){const s=jr(a).getActive(t),n={...s.options,url:r+s.url};return(await e.request(n)).data}const Gr=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}}}},kr=function(a){return{updateBeneficiary(e,r,t){const s=Gr(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 kr(a).updateBeneficiary(t,s,n)(r,e)}}};class Wn extends R{updateBeneficiary(e,r,t){return kr(this.configuration).updateBeneficiary(e,r,t)(this.axios,this.basePath)}}async function Kn(a,e,r,t=p,s=u,n){const o=Gr(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}},getDuplicateRowsCsv(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling getDuplicateRowsCsv.");const t="/v2/bulk-imports/{id}/duplicate-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}},getExampleCsv(e,r={}){const t="/v2/bulk-imports/example.csv",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.importType=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}},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,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{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)}},getDuplicateRowsCsv(e,r){const t=_(a).getDuplicateRowsCsv(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},getExampleCsv(e,r){const t=_(a).getExampleCsv(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},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)}}}},Jn=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)},getDuplicateRowsCsv(t,s){return v(a).getDuplicateRowsCsv(t,s)(r,e)},getExampleCsv(t,s){return v(a).getExampleCsv(t,s)(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 Xn 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)}getDuplicateRowsCsv(e,r){return v(this.configuration).getDuplicateRowsCsv(e,r)(this.axios,this.basePath)}getExampleCsv(e,r){return v(this.configuration).getExampleCsv(e,r)(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 Zn(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 eo(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 ro(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 to(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 ao(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 so(a,e,r=p,t=u,s){const n=_(e).getDuplicateRowsCsv(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function no(a,e,r=p,t=u,s){const n=_(e).getExampleCsv(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function oo(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 io(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)}}}},lo=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 co 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 uo(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 po(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 ho(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 Ao(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 mo(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 Ze=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}}}},er=function(a){return{findCheckById(e,r){const t=Ze(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=Ze(a).override(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}}}},Ro=function(a,e,r){return{findCheckById(t,s){return er(a).findCheckById(t,s)(r,e)},override(t,s){return er(a).override(t,s)(r,e)}}};class Io extends R{findCheckById(e,r){return er(this.configuration).findCheckById(e,r)(this.axios,this.basePath)}override(e,r){return er(this.configuration).override(e,r)(this.axios,this.basePath)}}async function Po(a,e,r=p,t=u,s){const n=Ze(e).findCheckById(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=Ze(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={},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}}}},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)}}}},Oo=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 fo 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 wo(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 yo(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 Eo(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 Co(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 Vo(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 rr=function(a){return{applyClaimItemCorrection(e,r,t={}){if(e==null)throw new h("claimItemId","Required parameter claimItemId was null or undefined when calling applyClaimItemCorrection.");if(r==null)throw new h("updateClaimItemCorrectionDTO","Required parameter updateClaimItemCorrectionDTO was null or undefined when calling applyClaimItemCorrection.");const s="/v2/claim-item-corrections/{claimItemId}".replace("{claimItemId}",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}},dryRunClaimItemCorrection(e,r,t={}){if(e==null)throw new h("claimItemId","Required parameter claimItemId was null or undefined when calling dryRunClaimItemCorrection.");if(r==null)throw new h("updateClaimItemCorrectionDTO","Required parameter updateClaimItemCorrectionDTO was null or undefined when calling dryRunClaimItemCorrection.");const s="/v2/claim-item-corrections/{claimItemId}/dry-run".replace("{claimItemId}",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}}}},tr=function(a){return{applyClaimItemCorrection(e,r,t){const s=rr(a).applyClaimItemCorrection(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},dryRunClaimItemCorrection(e,r,t){const s=rr(a).dryRunClaimItemCorrection(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}}}},qo=function(a,e,r){return{applyClaimItemCorrection(t,s,n){return tr(a).applyClaimItemCorrection(t,s,n)(r,e)},dryRunClaimItemCorrection(t,s,n){return tr(a).dryRunClaimItemCorrection(t,s,n)(r,e)}}};class _o extends R{applyClaimItemCorrection(e,r,t){return tr(this.configuration).applyClaimItemCorrection(e,r,t)(this.axios,this.basePath)}dryRunClaimItemCorrection(e,r,t){return tr(this.configuration).dryRunClaimItemCorrection(e,r,t)(this.axios,this.basePath)}}async function vo(a,e,r,t=p,s=u,n){const o=rr(r).applyClaimItemCorrection(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=rr(r).dryRunClaimItemCorrection(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).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 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,M])=>{M!==void 0&&d.searchParams.set(q,String(M))}),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}}}},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 A={...l.options,url:c+l.url};return d.request(A)}},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)}}}},So=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 bo 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 No(a,e,r,t,s,n,o,i=p,l=u,d){const c=se(o).addClaimItemDocument(a,e,r,t,s,n,d),A={...c.options,url:l+c.url};return(await i.request(A)).data}async function xo(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 Uo(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 Do(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 Lo(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 _e=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}}}},ve=function(a){return{createClaimItemProposal(e,r,t,s){const n=_e(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=_e(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=_e(a).updateClaimItemProposal(e,r,t,s,n);return(i=p,l=u)=>{const d={...o.options,url:l+o.url};return i.request(d)}}}},Bo=function(a,e,r){return{createClaimItemProposal(t,s,n,o){return ve(a).createClaimItemProposal(t,s,n,o)(r,e)},deleteClaimItemProposal(t,s,n,o){return ve(a).deleteClaimItemProposal(t,s,n,o)(r,e)},updateClaimItemProposal(t,s,n,o,i){return ve(a).updateClaimItemProposal(t,s,n,o,i)(r,e)}}};class Fo extends R{createClaimItemProposal(e,r,t,s){return ve(this.configuration).createClaimItemProposal(e,r,t,s)(this.axios,this.basePath)}deleteClaimItemProposal(e,r,t,s){return ve(this.configuration).deleteClaimItemProposal(e,r,t,s)(this.axios,this.basePath)}updateClaimItemProposal(e,r,t,s,n){return ve(this.configuration).updateClaimItemProposal(e,r,t,s,n)(this.axios,this.basePath)}}async function Mo(a,e,r,t,s=p,n=u,o){const i=_e(t).createClaimItemProposal(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=_e(t).deleteClaimItemProposal(a,e,r,o),l={...i.options,url:n+i.url};return(await s.request(l)).data}async function Ho(a,e,r,t,s,n=p,o=u,i){const l=_e(s).updateClaimItemProposal(a,e,r,t,i),d={...l.options,url:o+l.url};return(await n.request(d)).data}const Te=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}}}},Se=function(a){return{createClaimItem(e,r,t){const s=Te(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=Te(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=Te(a).updateClaimItem(e,r,t,s);return(o=p,i=u)=>{const l={...n.options,url:i+n.url};return o.request(l)}}}},Go=function(a,e,r){return{createClaimItem(t,s,n){return Se(a).createClaimItem(t,s,n)(r,e)},deleteClaimItem(t,s,n){return Se(a).deleteClaimItem(t,s,n)(r,e)},updateClaimItem(t,s,n,o){return Se(a).updateClaimItem(t,s,n,o)(r,e)}}};class ko extends R{createClaimItem(e,r,t){return Se(this.configuration).createClaimItem(e,r,t)(this.axios,this.basePath)}deleteClaimItem(e,r,t){return Se(this.configuration).deleteClaimItem(e,r,t)(this.axios,this.basePath)}updateClaimItem(e,r,t,s){return Se(this.configuration).updateClaimItem(e,r,t,s)(this.axios,this.basePath)}}async function Qo(a,e,r,t=p,s=u,n){const o=Te(r).createClaimItem(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function Yo(a,e,r,t=p,s=u,n){const o=Te(r).deleteClaimItem(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function zo(a,e,r,t,s=p,n=u,o){const i=Te(t).updateClaimItem(a,e,r,o),l={...i.options,url:n+i.url};return(await s.request(l)).data}const oe=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}}}},ie=function(a){return{agreeClaimProposal(e,r,t){const s=oe(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=oe(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=oe(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=oe(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=oe(a).unpublishClaimProposal(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}}}},$o=function(a,e,r){return{agreeClaimProposal(t,s,n){return ie(a).agreeClaimProposal(t,s,n)(r,e)},counterClaimProposal(t,s,n){return ie(a).counterClaimProposal(t,s,n)(r,e)},disputeClaimProposal(t,s,n){return ie(a).disputeClaimProposal(t,s,n)(r,e)},publishClaimProposal(t,s,n){return ie(a).publishClaimProposal(t,s,n)(r,e)},unpublishClaimProposal(t,s,n){return ie(a).unpublishClaimProposal(t,s,n)(r,e)}}};class Wo extends R{agreeClaimProposal(e,r,t){return ie(this.configuration).agreeClaimProposal(e,r,t)(this.axios,this.basePath)}counterClaimProposal(e,r,t){return ie(this.configuration).counterClaimProposal(e,r,t)(this.axios,this.basePath)}disputeClaimProposal(e,r,t){return ie(this.configuration).disputeClaimProposal(e,r,t)(this.axios,this.basePath)}publishClaimProposal(e,r,t){return ie(this.configuration).publishClaimProposal(e,r,t)(this.axios,this.basePath)}unpublishClaimProposal(e,r,t){return ie(this.configuration).unpublishClaimProposal(e,r,t)(this.axios,this.basePath)}}async function Ko(a,e,r,t=p,s=u,n){const o=oe(r).agreeClaimProposal(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function Jo(a,e,r,t=p,s=u,n){const o=oe(r).counterClaimProposal(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function Xo(a,e,r,t=p,s=u,n){const o=oe(r).disputeClaimProposal(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function Zo(a,e,r,t=p,s=u,n){const o=oe(r).publishClaimProposal(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=oe(r).unpublishClaimProposal(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}const Re=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}}}},Ie=function(a){return{addClaimResponseDocument(e,r,t,s,n){const o=Re(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=Re(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=Re(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=Re(a).findManyClaimResponseDocuments(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{addClaimResponseDocument(t,s,n,o,i){return Ie(a).addClaimResponseDocument(t,s,n,o,i)(r,e)},deleteClaimResponseDocument(t,s,n){return Ie(a).deleteClaimResponseDocument(t,s,n)(r,e)},findClaimResponseDocumentById(t,s,n){return Ie(a).findClaimResponseDocumentById(t,s,n)(r,e)},findManyClaimResponseDocuments(t,s){return Ie(a).findManyClaimResponseDocuments(t,s)(r,e)}}};class ti extends R{addClaimResponseDocument(e,r,t,s,n){return Ie(this.configuration).addClaimResponseDocument(e,r,t,s,n)(this.axios,this.basePath)}deleteClaimResponseDocument(e,r,t){return Ie(this.configuration).deleteClaimResponseDocument(e,r,t)(this.axios,this.basePath)}findClaimResponseDocumentById(e,r,t){return Ie(this.configuration).findClaimResponseDocumentById(e,r,t)(this.axios,this.basePath)}findManyClaimResponseDocuments(e,r){return Ie(this.configuration).findManyClaimResponseDocuments(e,r)(this.axios,this.basePath)}}async function ai(a,e,r,t,s,n=p,o=u,i){const l=Re(s).addClaimResponseDocument(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=p,s=u,n){const o=Re(r).deleteClaimResponseDocument(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=Re(r).findClaimResponseDocumentById(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function oi(a,e,r=p,t=u,s){const n=Re(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}},deleteClaim(e,r={}){if(e==null)throw new h("claimId","Required parameter claimId was null or undefined when calling deleteClaim.");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:"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}},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,M])=>{M!==void 0&&c.searchParams.set(q,String(M))}),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}},previewClaimDeletion(e,r={}){if(e==null)throw new h("claimId","Required parameter claimId was null or undefined when calling previewClaimDeletion.");const t="/v2/claims/{claimId}/deletion-preview".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}},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}}}},w=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)}},deleteClaim(e,r){const t=f(a).deleteClaim(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)}},previewClaimDeletion(e,r){const t=f(a).previewClaimDeletion(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},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)}}}},ii=function(a,e,r){return{acknowledgeCaseSentToInsurer(t,s){return w(a).acknowledgeCaseSentToInsurer(t,s)(r,e)},approveClaim(t,s){return w(a).approveClaim(t,s)(r,e)},createClaim(t,s){return w(a).createClaim(t,s)(r,e)},createClaimActivity(t,s,n){return w(a).createClaimActivity(t,s,n)(r,e)},createInsuranceClaimOnClaim(t,s){return w(a).createInsuranceClaimOnClaim(t,s)(r,e)},deactivateClaim(t,s,n){return w(a).deactivateClaim(t,s,n)(r,e)},declineClaim(t,s){return w(a).declineClaim(t,s)(r,e)},deleteClaim(t,s){return w(a).deleteClaim(t,s)(r,e)},findClaimById(t,s){return w(a).findClaimById(t,s)(r,e)},generateADRForm(t,s){return w(a).generateADRForm(t,s)(r,e)},optimisedSearchClaim(t,s,n,o,i,l,d,c){return w(a).optimisedSearchClaim(t,s,n,o,i,l,d,c)(r,e)},paySupplier(t,s,n){return w(a).paySupplier(t,s,n)(r,e)},previewClaimDeletion(t,s){return w(a).previewClaimDeletion(t,s)(r,e)},publishClaim(t,s){return w(a).publishClaim(t,s)(r,e)},readyForArbitrateClaim(t,s){return w(a).readyForArbitrateClaim(t,s)(r,e)},reopenClaim(t,s,n){return w(a).reopenClaim(t,s,n)(r,e)},requestMoreInfoClaim(t,s,n){return w(a).requestMoreInfoClaim(t,s,n)(r,e)},resolveClaim(t,s,n){return w(a).resolveClaim(t,s,n)(r,e)},skipEvidenceChaser(t,s){return w(a).skipEvidenceChaser(t,s)(r,e)},submitMoreInfoClaim(t,s,n){return w(a).submitMoreInfoClaim(t,s,n)(r,e)},updateAutoCharge(t,s,n){return w(a).updateAutoCharge(t,s,n)(r,e)},updateClaim(t,s,n){return w(a).updateClaim(t,s,n)(r,e)},updateTenantDisputeMessage(t,s,n){return w(a).updateTenantDisputeMessage(t,s,n)(r,e)},verifyClaim(t,s){return w(a).verifyClaim(t,s)(r,e)},waiveDisputeFee(t,s){return w(a).waiveDisputeFee(t,s)(r,e)},zipDocuments(t,s,n){return w(a).zipDocuments(t,s,n)(r,e)}}};class li extends R{acknowledgeCaseSentToInsurer(e,r){return w(this.configuration).acknowledgeCaseSentToInsurer(e,r)(this.axios,this.basePath)}approveClaim(e,r){return w(this.configuration).approveClaim(e,r)(this.axios,this.basePath)}createClaim(e,r){return w(this.configuration).createClaim(e,r)(this.axios,this.basePath)}createClaimActivity(e,r,t){return w(this.configuration).createClaimActivity(e,r,t)(this.axios,this.basePath)}createInsuranceClaimOnClaim(e,r){return w(this.configuration).createInsuranceClaimOnClaim(e,r)(this.axios,this.basePath)}deactivateClaim(e,r,t){return w(this.configuration).deactivateClaim(e,r,t)(this.axios,this.basePath)}declineClaim(e,r){return w(this.configuration).declineClaim(e,r)(this.axios,this.basePath)}deleteClaim(e,r){return w(this.configuration).deleteClaim(e,r)(this.axios,this.basePath)}findClaimById(e,r){return w(this.configuration).findClaimById(e,r)(this.axios,this.basePath)}generateADRForm(e,r){return w(this.configuration).generateADRForm(e,r)(this.axios,this.basePath)}optimisedSearchClaim(e,r,t,s,n,o,i,l){return w(this.configuration).optimisedSearchClaim(e,r,t,s,n,o,i,l)(this.axios,this.basePath)}paySupplier(e,r,t){return w(this.configuration).paySupplier(e,r,t)(this.axios,this.basePath)}previewClaimDeletion(e,r){return w(this.configuration).previewClaimDeletion(e,r)(this.axios,this.basePath)}publishClaim(e,r){return w(this.configuration).publishClaim(e,r)(this.axios,this.basePath)}readyForArbitrateClaim(e,r){return w(this.configuration).readyForArbitrateClaim(e,r)(this.axios,this.basePath)}reopenClaim(e,r,t){return w(this.configuration).reopenClaim(e,r,t)(this.axios,this.basePath)}requestMoreInfoClaim(e,r,t){return w(this.configuration).requestMoreInfoClaim(e,r,t)(this.axios,this.basePath)}resolveClaim(e,r,t){return w(this.configuration).resolveClaim(e,r,t)(this.axios,this.basePath)}skipEvidenceChaser(e,r){return w(this.configuration).skipEvidenceChaser(e,r)(this.axios,this.basePath)}submitMoreInfoClaim(e,r,t){return w(this.configuration).submitMoreInfoClaim(e,r,t)(this.axios,this.basePath)}updateAutoCharge(e,r,t){return w(this.configuration).updateAutoCharge(e,r,t)(this.axios,this.basePath)}updateClaim(e,r,t){return w(this.configuration).updateClaim(e,r,t)(this.axios,this.basePath)}updateTenantDisputeMessage(e,r,t){return w(this.configuration).updateTenantDisputeMessage(e,r,t)(this.axios,this.basePath)}verifyClaim(e,r){return w(this.configuration).verifyClaim(e,r)(this.axios,this.basePath)}waiveDisputeFee(e,r){return w(this.configuration).waiveDisputeFee(e,r)(this.axios,this.basePath)}zipDocuments(e,r,t){return w(this.configuration).zipDocuments(e,r,t)(this.axios,this.basePath)}}async function ci(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 di(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 ui(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 pi(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 hi(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 Ai(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 mi(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 Ri(a,e,r=p,t=u,s){const n=f(e).deleteClaim(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function Ii(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 Pi(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 gi(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 Oi(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 fi(a,e,r=p,t=u,s){const n=f(e).previewClaimDeletion(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function wi(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 yi(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 Ei(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 Ci(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 Vi(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 qi(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 _i(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 vi(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 Ti(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 Si(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 bi(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 Ni(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 xi(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 Qr=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}}}},Yr=function(a){return{generateCommissionCsvForPeriod(e,r){const t=Qr(a).generateCommissionCsvForPeriod(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}}}},Ui=function(a,e,r){return{generateCommissionCsvForPeriod(t,s){return Yr(a).generateCommissionCsvForPeriod(t,s)(r,e)}}};class Di extends R{generateCommissionCsvForPeriod(e,r){return Yr(this.configuration).generateCommissionCsvForPeriod(e,r)(this.axios,this.basePath)}}async function Li(a,e,r=p,t=u,s){const n=Qr(e).generateCommissionCsvForPeriod(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}const zr=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}}}},$r=function(a){return{checkConcurrentTenancy(e,r){const t=zr(a).checkConcurrentTenancy(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{checkConcurrentTenancy(t,s){return $r(a).checkConcurrentTenancy(t,s)(r,e)}}};class Fi extends R{checkConcurrentTenancy(e,r){return $r(this.configuration).checkConcurrentTenancy(e,r)(this.axios,this.basePath)}}async function Mi(a,e,r=p,t=u,s){const n=zr(e).checkConcurrentTenancy(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}const Wr=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=Wr(a).addPaymentMethod(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}}}},ji=function(a,e,r){return{addPaymentMethod(t,s){return Kr(a).addPaymentMethod(t,s)(r,e)}}};class Hi extends R{addPaymentMethod(e,r){return Kr(this.configuration).addPaymentMethod(e,r)(this.axios,this.basePath)}}async function Gi(a,e,r=p,t=u,s){const n=Wr(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}}}},Ne=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)}}}},ki=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 Qi 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 Yi(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 zi(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 $i(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 ar=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}}}},sr=function(a){return{createEvidenceChaserItemRequest(e,r,t,s){const n=ar(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=ar(a).deleteEvidenceChaserItemRequest(e,r,t,s);return(o=p,i=u)=>{const l={...n.options,url:i+n.url};return o.request(l)}}}},Wi=function(a,e,r){return{createEvidenceChaserItemRequest(t,s,n,o){return sr(a).createEvidenceChaserItemRequest(t,s,n,o)(r,e)},deleteEvidenceChaserItemRequest(t,s,n,o){return sr(a).deleteEvidenceChaserItemRequest(t,s,n,o)(r,e)}}};class Ki extends R{createEvidenceChaserItemRequest(e,r,t,s){return sr(this.configuration).createEvidenceChaserItemRequest(e,r,t,s)(this.axios,this.basePath)}deleteEvidenceChaserItemRequest(e,r,t,s){return sr(this.configuration).deleteEvidenceChaserItemRequest(e,r,t,s)(this.axios,this.basePath)}}async function Ji(a,e,r,t,s=p,n=u,o){const i=ar(t).createEvidenceChaserItemRequest(a,e,r,o),l={...i.options,url:n+i.url};return(await s.request(l)).data}async function Xi(a,e,r,t,s=p,n=u,o){const i=ar(t).deleteEvidenceChaserItemRequest(a,e,r,o),l={...i.options,url:n+i.url};return(await s.request(l)).data}const nr=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}}}},or=function(a){return{createEvidenceChaserItemResponseDocument(e,r,t,s,n,o){const i=nr(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=nr(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)}}}},Zi=function(a,e,r){return{createEvidenceChaserItemResponseDocument(t,s,n,o,i,l){return or(a).createEvidenceChaserItemResponseDocument(t,s,n,o,i,l)(r,e)},deleteEvidenceChaserItemResponseDocument(t,s,n,o,i,l){return or(a).deleteEvidenceChaserItemResponseDocument(t,s,n,o,i,l)(r,e)}}};class el extends R{createEvidenceChaserItemResponseDocument(e,r,t,s,n,o){return or(this.configuration).createEvidenceChaserItemResponseDocument(e,r,t,s,n,o)(this.axios,this.basePath)}deleteEvidenceChaserItemResponseDocument(e,r,t,s,n,o){return or(this.configuration).deleteEvidenceChaserItemResponseDocument(e,r,t,s,n,o)(this.axios,this.basePath)}}async function rl(a,e,r,t,s,n,o=p,i=u,l){const d=nr(n).createEvidenceChaserItemResponseDocument(a,e,r,t,s,l),c={...d.options,url:i+d.url};return(await o.request(c)).data}async function tl(a,e,r,t,s,n,o=p,i=u,l){const d=nr(n).deleteEvidenceChaserItemResponseDocument(a,e,r,t,s,l),c={...d.options,url:i+d.url};return(await o.request(c)).data}const ir=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}}}},lr=function(a){return{createEvidenceChaserItemResponse(e,r,t,s,n){const o=ir(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=ir(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)}}}},al=function(a,e,r){return{createEvidenceChaserItemResponse(t,s,n,o,i){return lr(a).createEvidenceChaserItemResponse(t,s,n,o,i)(r,e)},updateEvidenceChaserItemResponse(t,s,n,o,i,l){return lr(a).updateEvidenceChaserItemResponse(t,s,n,o,i,l)(r,e)}}};class sl extends R{createEvidenceChaserItemResponse(e,r,t,s,n){return lr(this.configuration).createEvidenceChaserItemResponse(e,r,t,s,n)(this.axios,this.basePath)}updateEvidenceChaserItemResponse(e,r,t,s,n,o){return lr(this.configuration).updateEvidenceChaserItemResponse(e,r,t,s,n,o)(this.axios,this.basePath)}}async function nl(a,e,r,t,s,n=p,o=u,i){const l=ir(s).createEvidenceChaserItemResponse(a,e,r,t,i),d={...l.options,url:o+l.url};return(await n.request(d)).data}async function ol(a,e,r,t,s,n,o=p,i=u,l){const d=ir(n).updateEvidenceChaserItemResponse(a,e,r,t,s,l),c={...d.options,url:i+d.url};return(await o.request(c)).data}const cr=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}}}},dr=function(a){return{createEvidenceChaserItemReview(e,r,t,s,n,o){const i=cr(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=cr(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)}}}},il=function(a,e,r){return{createEvidenceChaserItemReview(t,s,n,o,i,l){return dr(a).createEvidenceChaserItemReview(t,s,n,o,i,l)(r,e)},updateEvidenceChaserItemReview(t,s,n,o,i,l,d){return dr(a).updateEvidenceChaserItemReview(t,s,n,o,i,l,d)(r,e)}}};class ll extends R{createEvidenceChaserItemReview(e,r,t,s,n,o){return dr(this.configuration).createEvidenceChaserItemReview(e,r,t,s,n,o)(this.axios,this.basePath)}updateEvidenceChaserItemReview(e,r,t,s,n,o,i){return dr(this.configuration).updateEvidenceChaserItemReview(e,r,t,s,n,o,i)(this.axios,this.basePath)}}async function cl(a,e,r,t,s,n,o=p,i=u,l){const d=cr(n).createEvidenceChaserItemReview(a,e,r,t,s,l),c={...d.options,url:i+d.url};return(await o.request(c)).data}async function dl(a,e,r,t,s,n,o,i=p,l=u,d){const c=cr(o).updateEvidenceChaserItemReview(a,e,r,t,s,n,d),A={...c.options,url:l+c.url};return(await i.request(A)).data}const ur=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}}}},pr=function(a){return{createEvidenceChaserItem(e,r,t){const s=ur(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=ur(a).updateEvidenceChaserItem(e,r,t,s);return(o=p,i=u)=>{const l={...n.options,url:i+n.url};return o.request(l)}}}},ul=function(a,e,r){return{createEvidenceChaserItem(t,s,n){return pr(a).createEvidenceChaserItem(t,s,n)(r,e)},updateEvidenceChaserItem(t,s,n,o){return pr(a).updateEvidenceChaserItem(t,s,n,o)(r,e)}}};class pl extends R{createEvidenceChaserItem(e,r,t){return pr(this.configuration).createEvidenceChaserItem(e,r,t)(this.axios,this.basePath)}updateEvidenceChaserItem(e,r,t,s){return pr(this.configuration).updateEvidenceChaserItem(e,r,t,s)(this.axios,this.basePath)}}async function hl(a,e,r,t=p,s=u,n){const o=ur(r).createEvidenceChaserItem(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function Al(a,e,r,t,s=p,n=u,o){const i=ur(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,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}}}},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)}}}},ml=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 Rl 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 Il(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 Pl(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 gl(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,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}}}},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)}}}},Ol=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 fl 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 wl(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 yl(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 El(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 Jr=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}}}},Xr=function(a){return{submitFeedback(e,r){const t=Jr(a).submitFeedback(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{submitFeedback(t,s){return Xr(a).submitFeedback(t,s)(r,e)}}};class Vl extends R{submitFeedback(e,r){return Xr(this.configuration).submitFeedback(e,r)(this.axios,this.basePath)}}async function ql(a,e,r=p,t=u,s){const n=Jr(e).submitFeedback(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}const hr=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}}}},Ar=function(a){return{dbHealthCheck(e){const r=hr(a).dbHealthCheck(e);return(t=p,s=u)=>{const n={...r.options,url:s+r.url};return t.request(n)}},healthCheck(e){const r=hr(a).healthCheck(e);return(t=p,s=u)=>{const n={...r.options,url:s+r.url};return t.request(n)}}}},_l=function(a,e,r){return{dbHealthCheck(t){return Ar(a).dbHealthCheck(t)(r,e)},healthCheck(t){return Ar(a).healthCheck(t)(r,e)}}};class vl extends R{dbHealthCheck(e){return Ar(this.configuration).dbHealthCheck(e)(this.axios,this.basePath)}healthCheck(e){return Ar(this.configuration).healthCheck(e)(this.axios,this.basePath)}}async function Tl(a,e=p,r=u,t){const s=hr(a).dbHealthCheck(t),n={...s.options,url:r+s.url};return(await e.request(n)).data}async function Sl(a,e=p,r=u,t){const s=hr(a).healthCheck(t),n={...s.options,url:r+s.url};return(await e.request(n)).data}const b=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,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}}}},N=function(a){return{processPlaidWebhooks(e,r){const t=b(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=b(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=b(a).processStripeOffSessionWebhooks(e);return(t=p,s=u)=>{const n={...r.options,url:s+r.url};return t.request(n)}},processStripeWebhooks(e){const r=b(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=b(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=b(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=b(a).processTwilioVoicemailWebhook(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}}}},bl=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 Nl 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 xl(a,e,r=p,t=u,s){const n=b(e).processPlaidWebhooks(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function Ul(a,e,r=p,t=u,s){const n=b(e).processSendGridWebhooks(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function Dl(a,e=p,r=u,t){const s=b(a).processStripeOffSessionWebhooks(t),n={...s.options,url:r+s.url};return(await e.request(n)).data}async function Ll(a,e=p,r=u,t){const s=b(a).processStripeWebhooks(t),n={...s.options,url:r+s.url};return(await e.request(n)).data}async function Bl(a,e,r=p,t=u,s){const n=b(e).processTwilioIvrWebhooks(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function Fl(a,e,r,t=p,s=u,n){const o=b(r).processTwilioIvrWebhooksWithGatherAction(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=b(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,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}}}},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)}}}},jl=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 Hl 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 Gl(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 kl(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 Ql(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 Me=function(a){return{createIntegrationRepositOffer(e,r={}){if(e==null)throw new h("createIntegrationRepositOfferDTO","Required parameter createIntegrationRepositOfferDTO was null or undefined when calling createIntegrationRepositOffer.");const t="/v2/integration/reposits/offers",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}},deleteIntegrationRepositOffer(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling deleteIntegrationRepositOffer.");const t="/v2/integration/reposits/offers/{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}},progressIntegrationRepositOffer(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling progressIntegrationRepositOffer.");const t="/v2/integration/reposits/offers/{id}/progress".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}}}},je=function(a){return{createIntegrationRepositOffer(e,r){const t=Me(a).createIntegrationRepositOffer(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},deleteIntegrationRepositOffer(e,r){const t=Me(a).deleteIntegrationRepositOffer(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},progressIntegrationRepositOffer(e,r){const t=Me(a).progressIntegrationRepositOffer(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}}}},Yl=function(a,e,r){return{createIntegrationRepositOffer(t,s){return je(a).createIntegrationRepositOffer(t,s)(r,e)},deleteIntegrationRepositOffer(t,s){return je(a).deleteIntegrationRepositOffer(t,s)(r,e)},progressIntegrationRepositOffer(t,s){return je(a).progressIntegrationRepositOffer(t,s)(r,e)}}};class zl extends R{createIntegrationRepositOffer(e,r){return je(this.configuration).createIntegrationRepositOffer(e,r)(this.axios,this.basePath)}deleteIntegrationRepositOffer(e,r){return je(this.configuration).deleteIntegrationRepositOffer(e,r)(this.axios,this.basePath)}progressIntegrationRepositOffer(e,r){return je(this.configuration).progressIntegrationRepositOffer(e,r)(this.axios,this.basePath)}}async function $l(a,e,r=p,t=u,s){const n=Me(e).createIntegrationRepositOffer(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=Me(e).deleteIntegrationRepositOffer(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=Me(e).progressIntegrationRepositOffer(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).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}}}},et=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)}}}},Jl=function(a,e,r){return{getIntegrators(t){return et(a).getIntegrators(t)(r,e)}}};class Xl extends R{getIntegrators(e){return et(this.configuration).getIntegrators(e)(this.axios,this.basePath)}}async function Zl(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 rt=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}}}},tt=function(a){return{generateLastMonthCommission(e,r){const t=rt(a).generateLastMonthCommission(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{generateLastMonthCommission(t,s){return tt(a).generateLastMonthCommission(t,s)(r,e)}}};class rc extends R{generateLastMonthCommission(e,r){return tt(this.configuration).generateLastMonthCommission(e,r)(this.axios,this.basePath)}}async function tc(a,e,r=p,t=u,s){const n=rt(e).generateLastMonthCommission(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}const mr=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}}}},Rr=function(a){return{getCompletedReposits(e){const r=mr(a).getCompletedReposits(e);return(t=p,s=u)=>{const n={...r.options,url:s+r.url};return t.request(n)}},getCreatedReposits(e){const r=mr(a).getCreatedReposits(e);return(t=p,s=u)=>{const n={...r.options,url:s+r.url};return t.request(n)}}}},ac=function(a,e,r){return{getCompletedReposits(t){return Rr(a).getCompletedReposits(t)(r,e)},getCreatedReposits(t){return Rr(a).getCreatedReposits(t)(r,e)}}};class sc extends R{getCompletedReposits(e){return Rr(this.configuration).getCompletedReposits(e)(this.axios,this.basePath)}getCreatedReposits(e){return Rr(this.configuration).getCreatedReposits(e)(this.axios,this.basePath)}}async function nc(a,e=p,r=u,t){const s=mr(a).getCompletedReposits(t),n={...s.options,url:r+s.url};return(await e.request(n)).data}async function oc(a,e=p,r=u,t){const s=mr(a).getCreatedReposits(t),n={...s.options,url:r+s.url};return(await e.request(n)).data}const at=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}}}},st=function(a){return{findAll(e){const r=at(a).findAll(e);return(t=p,s=u)=>{const n={...r.options,url:s+r.url};return t.request(n)}}}},ic=function(a,e,r){return{findAll(t){return st(a).findAll(t)(r,e)}}};class lc extends R{findAll(e){return st(this.configuration).findAll(e)(this.axios,this.basePath)}}async function cc(a,e=p,r=u,t){const s=at(a).findAll(t),n={...s.options,url:r+s.url};return(await e.request(n)).data}const nt=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}}}},ot=function(a){return{searchKpiDocuments(e,r,t,s,n){const o=nt(a).searchKpiDocuments(e,r,t,s,n);return(i=p,l=u)=>{const d={...o.options,url:l+o.url};return i.request(d)}}}},dc=function(a,e,r){return{searchKpiDocuments(t,s,n,o,i){return ot(a).searchKpiDocuments(t,s,n,o,i)(r,e)}}};class uc extends R{searchKpiDocuments(e,r,t,s,n){return ot(this.configuration).searchKpiDocuments(e,r,t,s,n)(this.axios,this.basePath)}}async function pc(a,e,r,t,s,n=p,o=u,i){const l=nt(s).searchKpiDocuments(a,e,r,t,i),d={...l.options,url:o+l.url};return(await n.request(d)).data}const Ir=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}}}},Pr=function(a){return{getLandlordById(e,r){const t=Ir(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=Ir(a).updateLandlord(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}}}},hc=function(a,e,r){return{getLandlordById(t,s){return Pr(a).getLandlordById(t,s)(r,e)},updateLandlord(t,s,n){return Pr(a).updateLandlord(t,s,n)(r,e)}}};class Ac extends R{getLandlordById(e,r){return Pr(this.configuration).getLandlordById(e,r)(this.axios,this.basePath)}updateLandlord(e,r,t){return Pr(this.configuration).updateLandlord(e,r,t)(this.axios,this.basePath)}}async function mc(a,e,r=p,t=u,s){const n=Ir(e).getLandlordById(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function Rc(a,e,r,t=p,s=u,n){const o=Ir(r).updateLandlord(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}const it=function(a){return{calculateMarketRent(e,r={}){if(e==null)throw new h("getMarketRentCalculationDTO","Required parameter getMarketRentCalculationDTO was null or undefined when calling calculateMarketRent.");const t="/v2/market-rent-calculator",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}}}},lt=function(a){return{calculateMarketRent(e,r){const t=it(a).calculateMarketRent(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}}}},Ic=function(a,e,r){return{calculateMarketRent(t,s){return lt(a).calculateMarketRent(t,s)(r,e)}}};class Pc extends R{calculateMarketRent(e,r){return lt(this.configuration).calculateMarketRent(e,r)(this.axios,this.basePath)}}async function gc(a,e,r=p,t=u,s){const n=it(e).calculateMarketRent(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}const ct=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}}}},dt=function(a){return{processIncomingMessage(e,r){const t=ct(a).processIncomingMessage(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}}}},Oc=function(a,e,r){return{processIncomingMessage(t,s){return dt(a).processIncomingMessage(t,s)(r,e)}}};class fc extends R{processIncomingMessage(e,r){return dt(this.configuration).processIncomingMessage(e,r)(this.axios,this.basePath)}}async function wc(a,e,r=p,t=u,s){const n=ct(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,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}},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)}}}},yc=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 Ec 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 Cc(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 Vc(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 qc(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 _c(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 vc(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 Tc(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 ut=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}}}},pt=function(a){return{createNetPromoterScore(e,r){const t=ut(a).createNetPromoterScore(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}}}},Sc=function(a,e,r){return{createNetPromoterScore(t,s){return pt(a).createNetPromoterScore(t,s)(r,e)}}};class bc extends R{createNetPromoterScore(e,r){return pt(this.configuration).createNetPromoterScore(e,r)(this.axios,this.basePath)}}async function Nc(a,e,r=p,t=u,s){const n=ut(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(([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}}}},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)}}}},xc=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 Uc 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 Dc(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 Lc(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 Bc(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 Fc(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 Mc(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 jc(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 Hc(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 He=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}}}},Ge=function(a){return{getOrderCustomerById(e,r,t){const s=He(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=He(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=He(a).paymentCardChecks(e,r,t,s);return(o=p,i=u)=>{const l={...n.options,url:i+n.url};return o.request(l)}}}},Gc=function(a,e,r){return{getOrderCustomerById(t,s,n){return Ge(a).getOrderCustomerById(t,s,n)(r,e)},getTenancyUserById(t,s,n){return Ge(a).getTenancyUserById(t,s,n)(r,e)},paymentCardChecks(t,s,n,o){return Ge(a).paymentCardChecks(t,s,n,o)(r,e)}}};class kc extends R{getOrderCustomerById(e,r,t){return Ge(this.configuration).getOrderCustomerById(e,r,t)(this.axios,this.basePath)}getTenancyUserById(e,r,t){return Ge(this.configuration).getTenancyUserById(e,r,t)(this.axios,this.basePath)}paymentCardChecks(e,r,t,s){return Ge(this.configuration).paymentCardChecks(e,r,t,s)(this.axios,this.basePath)}}async function Qc(a,e,r,t=p,s=u,n){const o=He(r).getOrderCustomerById(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function Yc(a,e,r,t=p,s=u,n){const o=He(r).getTenancyUserById(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function zc(a,e,r,t,s=p,n=u,o){const i=He(t).paymentCardChecks(a,e,r,o),l={...i.options,url:n+i.url};return(await s.request(l)).data}const gr=function(a){return{getOrderManualPaymentsByClaimWithBankTransfers(e,r={}){if(e==null)throw new h("claimId","Required parameter claimId was null or undefined when calling getOrderManualPaymentsByClaimWithBankTransfers.");const t="/v2/order-manual-payments/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}},getOrderManualPaymentsByTenancyOrderWithBankTransfers(e,r={}){if(e==null)throw new h("torId","Required parameter torId was null or undefined when calling getOrderManualPaymentsByTenancyOrderWithBankTransfers.");const t="/v2/order-manual-payments/tenancy-orders/{torId}".replace("{torId}",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}}}},Or=function(a){return{getOrderManualPaymentsByClaimWithBankTransfers(e,r){const t=gr(a).getOrderManualPaymentsByClaimWithBankTransfers(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},getOrderManualPaymentsByTenancyOrderWithBankTransfers(e,r){const t=gr(a).getOrderManualPaymentsByTenancyOrderWithBankTransfers(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}}}},$c=function(a,e,r){return{getOrderManualPaymentsByClaimWithBankTransfers(t,s){return Or(a).getOrderManualPaymentsByClaimWithBankTransfers(t,s)(r,e)},getOrderManualPaymentsByTenancyOrderWithBankTransfers(t,s){return Or(a).getOrderManualPaymentsByTenancyOrderWithBankTransfers(t,s)(r,e)}}};class Wc extends R{getOrderManualPaymentsByClaimWithBankTransfers(e,r){return Or(this.configuration).getOrderManualPaymentsByClaimWithBankTransfers(e,r)(this.axios,this.basePath)}getOrderManualPaymentsByTenancyOrderWithBankTransfers(e,r){return Or(this.configuration).getOrderManualPaymentsByTenancyOrderWithBankTransfers(e,r)(this.axios,this.basePath)}}async function Kc(a,e,r=p,t=u,s){const n=gr(e).getOrderManualPaymentsByClaimWithBankTransfers(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=gr(e).getOrderManualPaymentsByTenancyOrderWithBankTransfers(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}const fr=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}}}},wr=function(a){return{duplicatePaymentMethodCheck(e,r,t){const s=fr(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=fr(a).getAmountRemaining(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{duplicatePaymentMethodCheck(t,s,n){return wr(a).duplicatePaymentMethodCheck(t,s,n)(r,e)},getAmountRemaining(t,s,n){return wr(a).getAmountRemaining(t,s,n)(r,e)}}};class Zc extends R{duplicatePaymentMethodCheck(e,r,t){return wr(this.configuration).duplicatePaymentMethodCheck(e,r,t)(this.axios,this.basePath)}getAmountRemaining(e,r,t){return wr(this.configuration).getAmountRemaining(e,r,t)(this.axios,this.basePath)}}async function ed(a,e,r,t=p,s=u,n){const o=fr(r).duplicatePaymentMethodCheck(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function rd(a,e,r,t=p,s=u,n){const o=fr(r).getAmountRemaining(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}const ke=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}}}},Qe=function(a){return{create(e,r,t){const s=ke(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=ke(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=ke(a).getBankAccounts(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}}}},td=function(a,e,r){return{create(t,s,n){return Qe(a).create(t,s,n)(r,e)},deleteBankAccount(t,s,n){return Qe(a).deleteBankAccount(t,s,n)(r,e)},getBankAccounts(t,s){return Qe(a).getBankAccounts(t,s)(r,e)}}};class ad extends R{create(e,r,t){return Qe(this.configuration).create(e,r,t)(this.axios,this.basePath)}deleteBankAccount(e,r,t){return Qe(this.configuration).deleteBankAccount(e,r,t)(this.axios,this.basePath)}getBankAccounts(e,r){return Qe(this.configuration).getBankAccounts(e,r)(this.axios,this.basePath)}}async function sd(a,e,r,t=p,s=u,n){const o=ke(r).create(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function nd(a,e,r,t=p,s=u,n){const o=ke(r).deleteBankAccount(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function od(a,e,r=p,t=u,s){const n=ke(e).getBankAccounts(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}const ht=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}}}},At=function(a){return{getOwners(e,r){const t=ht(a).getOwners(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}}}},id=function(a,e,r){return{getOwners(t,s){return At(a).getOwners(t,s)(r,e)}}};class ld extends R{getOwners(e,r){return At(this.configuration).getOwners(e,r)(this.axios,this.basePath)}}async function cd(a,e,r=p,t=u,s){const n=ht(e).getOwners(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}const le=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}}}},ce=function(a){return{acceptOrganizationInvite(e,r,t){const s=le(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=le(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=le(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=le(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=le(a).resendOrganizationInvite(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}}}},dd=function(a,e,r){return{acceptOrganizationInvite(t,s,n){return ce(a).acceptOrganizationInvite(t,s,n)(r,e)},createOrganizationInvite(t,s,n){return ce(a).createOrganizationInvite(t,s,n)(r,e)},deleteInvite(t,s,n){return ce(a).deleteInvite(t,s,n)(r,e)},fetchInvitesByOrganizationId(t,s,n){return ce(a).fetchInvitesByOrganizationId(t,s,n)(r,e)},resendOrganizationInvite(t,s,n){return ce(a).resendOrganizationInvite(t,s,n)(r,e)}}};class ud extends R{acceptOrganizationInvite(e,r,t){return ce(this.configuration).acceptOrganizationInvite(e,r,t)(this.axios,this.basePath)}createOrganizationInvite(e,r,t){return ce(this.configuration).createOrganizationInvite(e,r,t)(this.axios,this.basePath)}deleteInvite(e,r,t){return ce(this.configuration).deleteInvite(e,r,t)(this.axios,this.basePath)}fetchInvitesByOrganizationId(e,r,t){return ce(this.configuration).fetchInvitesByOrganizationId(e,r,t)(this.axios,this.basePath)}resendOrganizationInvite(e,r,t){return ce(this.configuration).resendOrganizationInvite(e,r,t)(this.axios,this.basePath)}}async function pd(a,e,r,t=p,s=u,n){const o=le(r).acceptOrganizationInvite(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function hd(a,e,r,t=p,s=u,n){const o=le(r).createOrganizationInvite(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function Ad(a,e,r,t=p,s=u,n){const o=le(r).deleteInvite(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=le(r).fetchInvitesByOrganizationId(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function Rd(a,e,r,t=p,s=u,n){const o=le(r).resendOrganizationInvite(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}const yr=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}}}},Er=function(a){return{createOrganizationRecipient(e,r,t){const s=yr(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=yr(a).deleteOrganizationRecipient(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}}}},Id=function(a,e,r){return{createOrganizationRecipient(t,s,n){return Er(a).createOrganizationRecipient(t,s,n)(r,e)},deleteOrganizationRecipient(t,s,n){return Er(a).deleteOrganizationRecipient(t,s,n)(r,e)}}};class Pd extends R{createOrganizationRecipient(e,r,t){return Er(this.configuration).createOrganizationRecipient(e,r,t)(this.axios,this.basePath)}deleteOrganizationRecipient(e,r,t){return Er(this.configuration).deleteOrganizationRecipient(e,r,t)(this.axios,this.basePath)}}async function gd(a,e,r,t=p,s=u,n){const o=yr(r).createOrganizationRecipient(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function Od(a,e,r,t=p,s=u,n){const o=yr(r).deleteOrganizationRecipient(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}const Ye=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}}}},ze=function(a){return{grantRoles(e,r,t){const s=Ye(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=Ye(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=Ye(a).revokeRoles(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}}}},fd=function(a,e,r){return{grantRoles(t,s,n){return ze(a).grantRoles(t,s,n)(r,e)},notifyIntegrator(t,s,n,o){return ze(a).notifyIntegrator(t,s,n,o)(r,e)},revokeRoles(t,s,n){return ze(a).revokeRoles(t,s,n)(r,e)}}};class wd extends R{grantRoles(e,r,t){return ze(this.configuration).grantRoles(e,r,t)(this.axios,this.basePath)}notifyIntegrator(e,r,t,s){return ze(this.configuration).notifyIntegrator(e,r,t,s)(this.axios,this.basePath)}revokeRoles(e,r,t){return ze(this.configuration).revokeRoles(e,r,t)(this.axios,this.basePath)}}async function yd(a,e,r,t=p,s=u,n){const o=Ye(r).grantRoles(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function Ed(a,e,r,t,s=p,n=u,o){const i=Ye(t).notifyIntegrator(a,e,r,o),l={...i.options,url:n+i.url};return(await s.request(l)).data}async function Cd(a,e,r,t=p,s=u,n){const o=Ye(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}}}},O=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)}}}},Vd=function(a,e,r){return{confirmBankAccounts(t,s){return O(a).confirmBankAccounts(t,s)(r,e)},createOrganization(t,s){return O(a).createOrganization(t,s)(r,e)},disableProductCreation(t,s){return O(a).disableProductCreation(t,s)(r,e)},dismissOrganizationMessage(t,s,n){return O(a).dismissOrganizationMessage(t,s,n)(r,e)},enableProductCreation(t,s){return O(a).enableProductCreation(t,s)(r,e)},fetchAddressesByOrganizationId(t,s){return O(a).fetchAddressesByOrganizationId(t,s)(r,e)},fetchLandlordsByOrganizationId(t,s){return O(a).fetchLandlordsByOrganizationId(t,s)(r,e)},fetchOrganizationUsersByOrganizationId(t,s){return O(a).fetchOrganizationUsersByOrganizationId(t,s)(r,e)},fetchPropertiesByOrganizationId(t,s){return O(a).fetchPropertiesByOrganizationId(t,s)(r,e)},fetchTenanciesByOrganizationId(t,s){return O(a).fetchTenanciesByOrganizationId(t,s)(r,e)},fetchUsersByOrganizationId(t,s){return O(a).fetchUsersByOrganizationId(t,s)(r,e)},findOrganizationById(t,s){return O(a).findOrganizationById(t,s)(r,e)},getCashDepositScheme(t,s){return O(a).getCashDepositScheme(t,s)(r,e)},getChildren(t,s){return O(a).getChildren(t,s)(r,e)},getOrganizationMetrics(t,s){return O(a).getOrganizationMetrics(t,s)(r,e)},getOrganizationVerticals(t,s){return O(a).getOrganizationVerticals(t,s)(r,e)},getRecipients(t,s){return O(a).getRecipients(t,s)(r,e)},removeUser(t,s,n){return O(a).removeUser(t,s,n)(r,e)},searchOrganization(t,s,n,o,i,l){return O(a).searchOrganization(t,s,n,o,i,l)(r,e)},setLandlordInformationComplete(t,s){return O(a).setLandlordInformationComplete(t,s)(r,e)},updateASTAcceptance(t,s){return O(a).updateASTAcceptance(t,s)(r,e)},updateInformedLandlords(t,s){return O(a).updateInformedLandlords(t,s)(r,e)},updateOrganization(t,s,n){return O(a).updateOrganization(t,s,n)(r,e)},updateOrganizationNotes(t,s,n){return O(a).updateOrganizationNotes(t,s,n)(r,e)},updateTermsAccepted(t,s){return O(a).updateTermsAccepted(t,s)(r,e)},updateYourCompany(t,s,n){return O(a).updateYourCompany(t,s,n)(r,e)},welcomeLandlord(t,s){return O(a).welcomeLandlord(t,s)(r,e)}}};class qd extends R{confirmBankAccounts(e,r){return O(this.configuration).confirmBankAccounts(e,r)(this.axios,this.basePath)}createOrganization(e,r){return O(this.configuration).createOrganization(e,r)(this.axios,this.basePath)}disableProductCreation(e,r){return O(this.configuration).disableProductCreation(e,r)(this.axios,this.basePath)}dismissOrganizationMessage(e,r,t){return O(this.configuration).dismissOrganizationMessage(e,r,t)(this.axios,this.basePath)}enableProductCreation(e,r){return O(this.configuration).enableProductCreation(e,r)(this.axios,this.basePath)}fetchAddressesByOrganizationId(e,r){return O(this.configuration).fetchAddressesByOrganizationId(e,r)(this.axios,this.basePath)}fetchLandlordsByOrganizationId(e,r){return O(this.configuration).fetchLandlordsByOrganizationId(e,r)(this.axios,this.basePath)}fetchOrganizationUsersByOrganizationId(e,r){return O(this.configuration).fetchOrganizationUsersByOrganizationId(e,r)(this.axios,this.basePath)}fetchPropertiesByOrganizationId(e,r){return O(this.configuration).fetchPropertiesByOrganizationId(e,r)(this.axios,this.basePath)}fetchTenanciesByOrganizationId(e,r){return O(this.configuration).fetchTenanciesByOrganizationId(e,r)(this.axios,this.basePath)}fetchUsersByOrganizationId(e,r){return O(this.configuration).fetchUsersByOrganizationId(e,r)(this.axios,this.basePath)}findOrganizationById(e,r){return O(this.configuration).findOrganizationById(e,r)(this.axios,this.basePath)}getCashDepositScheme(e,r){return O(this.configuration).getCashDepositScheme(e,r)(this.axios,this.basePath)}getChildren(e,r){return O(this.configuration).getChildren(e,r)(this.axios,this.basePath)}getOrganizationMetrics(e,r){return O(this.configuration).getOrganizationMetrics(e,r)(this.axios,this.basePath)}getOrganizationVerticals(e,r){return O(this.configuration).getOrganizationVerticals(e,r)(this.axios,this.basePath)}getRecipients(e,r){return O(this.configuration).getRecipients(e,r)(this.axios,this.basePath)}removeUser(e,r,t){return O(this.configuration).removeUser(e,r,t)(this.axios,this.basePath)}searchOrganization(e,r,t,s,n,o){return O(this.configuration).searchOrganization(e,r,t,s,n,o)(this.axios,this.basePath)}setLandlordInformationComplete(e,r){return O(this.configuration).setLandlordInformationComplete(e,r)(this.axios,this.basePath)}updateASTAcceptance(e,r){return O(this.configuration).updateASTAcceptance(e,r)(this.axios,this.basePath)}updateInformedLandlords(e,r){return O(this.configuration).updateInformedLandlords(e,r)(this.axios,this.basePath)}updateOrganization(e,r,t){return O(this.configuration).updateOrganization(e,r,t)(this.axios,this.basePath)}updateOrganizationNotes(e,r,t){return O(this.configuration).updateOrganizationNotes(e,r,t)(this.axios,this.basePath)}updateTermsAccepted(e,r){return O(this.configuration).updateTermsAccepted(e,r)(this.axios,this.basePath)}updateYourCompany(e,r,t){return O(this.configuration).updateYourCompany(e,r,t)(this.axios,this.basePath)}welcomeLandlord(e,r){return O(this.configuration).welcomeLandlord(e,r)(this.axios,this.basePath)}}async function _d(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 vd(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 Td(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 Sd(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 bd(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 Nd(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 xd(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 Ud(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 Dd(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 Ld(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 Bd(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 Fd(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 Md(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 jd(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 Hd(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 Gd(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 kd(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 Qd(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 Yd(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 zd(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 $d(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 Wd(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 Kd(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 Jd(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 Xd(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 Zd(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 eu(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 Pe=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}}}},ge=function(a){return{confirmPaymentPlan(e,r){const t=Pe(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=Pe(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=Pe(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=Pe(a).updateCardDetails(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}}}},ru=function(a,e,r){return{confirmPaymentPlan(t,s){return ge(a).confirmPaymentPlan(t,s)(r,e)},getPaymentPlanAction(t,s,n){return ge(a).getPaymentPlanAction(t,s,n)(r,e)},updateAddress(t,s,n){return ge(a).updateAddress(t,s,n)(r,e)},updateCardDetails(t,s,n){return ge(a).updateCardDetails(t,s,n)(r,e)}}};class tu extends R{confirmPaymentPlan(e,r){return ge(this.configuration).confirmPaymentPlan(e,r)(this.axios,this.basePath)}getPaymentPlanAction(e,r,t){return ge(this.configuration).getPaymentPlanAction(e,r,t)(this.axios,this.basePath)}updateAddress(e,r,t){return ge(this.configuration).updateAddress(e,r,t)(this.axios,this.basePath)}updateCardDetails(e,r,t){return ge(this.configuration).updateCardDetails(e,r,t)(this.axios,this.basePath)}}async function au(a,e,r=p,t=u,s){const n=Pe(e).confirmPaymentPlan(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function su(a,e,r,t=p,s=u,n){const o=Pe(r).getPaymentPlanAction(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function nu(a,e,r,t=p,s=u,n){const o=Pe(r).updateAddress(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function ou(a,e,r,t=p,s=u,n){const o=Pe(r).updateCardDetails(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}const $e=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}}}},We=function(a){return{deferPaymentPlanInstalment(e,r,t,s){const n=$e(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=$e(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=$e(a).getInstalmentPaymentIntentSecret(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}}}},iu=function(a,e,r){return{deferPaymentPlanInstalment(t,s,n,o){return We(a).deferPaymentPlanInstalment(t,s,n,o)(r,e)},getInstalmentById(t,s,n){return We(a).getInstalmentById(t,s,n)(r,e)},getInstalmentPaymentIntentSecret(t,s,n){return We(a).getInstalmentPaymentIntentSecret(t,s,n)(r,e)}}};class lu extends R{deferPaymentPlanInstalment(e,r,t,s){return We(this.configuration).deferPaymentPlanInstalment(e,r,t,s)(this.axios,this.basePath)}getInstalmentById(e,r,t){return We(this.configuration).getInstalmentById(e,r,t)(this.axios,this.basePath)}getInstalmentPaymentIntentSecret(e,r,t){return We(this.configuration).getInstalmentPaymentIntentSecret(e,r,t)(this.axios,this.basePath)}}async function cu(a,e,r,t,s=p,n=u,o){const i=$e(t).deferPaymentPlanInstalment(a,e,r,o),l={...i.options,url:n+i.url};return(await s.request(l)).data}async function du(a,e,r,t=p,s=u,n){const o=$e(r).getInstalmentById(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=$e(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,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}}}},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)}}}},pu=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 hu 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 Au(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 mu(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 Ru(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 Iu(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 Pu(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 gu(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,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}}}},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)}}}},Ou=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 fu 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 wu(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 yu(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 Eu(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 Cu(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 Vu(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 qu(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 Oe=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}}}},fe=function(a){return{addPolicyDocument(e,r,t,s,n){const o=Oe(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=Oe(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=Oe(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=Oe(a).findPolicyDocumentById(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}}}},_u=function(a,e,r){return{addPolicyDocument(t,s,n,o,i){return fe(a).addPolicyDocument(t,s,n,o,i)(r,e)},deletePolicyDocument(t,s,n){return fe(a).deletePolicyDocument(t,s,n)(r,e)},findManyPolicyDocuments(t,s){return fe(a).findManyPolicyDocuments(t,s)(r,e)},findPolicyDocumentById(t,s,n){return fe(a).findPolicyDocumentById(t,s,n)(r,e)}}};class vu extends R{addPolicyDocument(e,r,t,s,n){return fe(this.configuration).addPolicyDocument(e,r,t,s,n)(this.axios,this.basePath)}deletePolicyDocument(e,r,t){return fe(this.configuration).deletePolicyDocument(e,r,t)(this.axios,this.basePath)}findManyPolicyDocuments(e,r){return fe(this.configuration).findManyPolicyDocuments(e,r)(this.axios,this.basePath)}findPolicyDocumentById(e,r,t){return fe(this.configuration).findPolicyDocumentById(e,r,t)(this.axios,this.basePath)}}async function Tu(a,e,r,t,s,n=p,o=u,i){const l=Oe(s).addPolicyDocument(a,e,r,t,i),d={...l.options,url:o+l.url};return(await n.request(d)).data}async function Su(a,e,r,t=p,s=u,n){const o=Oe(r).deletePolicyDocument(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function bu(a,e,r=p,t=u,s){const n=Oe(e).findManyPolicyDocuments(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=Oe(r).findPolicyDocumentById(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}const Cr=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}}}},Vr=function(a){return{addPreTenancyDocumentByDocumentId(e,r,t){const s=Cr(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=Cr(a).deletePreTenancyDocument(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}}}},xu=function(a,e,r){return{addPreTenancyDocumentByDocumentId(t,s,n){return Vr(a).addPreTenancyDocumentByDocumentId(t,s,n)(r,e)},deletePreTenancyDocument(t,s,n){return Vr(a).deletePreTenancyDocument(t,s,n)(r,e)}}};class Uu extends R{addPreTenancyDocumentByDocumentId(e,r,t){return Vr(this.configuration).addPreTenancyDocumentByDocumentId(e,r,t)(this.axios,this.basePath)}deletePreTenancyDocument(e,r,t){return Vr(this.configuration).deletePreTenancyDocument(e,r,t)(this.axios,this.basePath)}}async function Du(a,e,r,t=p,s=u,n){const o=Cr(r).addPreTenancyDocumentByDocumentId(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function Lu(a,e,r,t=p,s=u,n){const o=Cr(r).deletePreTenancyDocument(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}const qr=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}}}},_r=function(a){return{getCashDepositAmount(e,r){const t=qr(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=qr(a).getRepositFee(e,r,t,s);return(o=p,i=u)=>{const l={...n.options,url:i+n.url};return o.request(l)}}}},Bu=function(a,e,r){return{getCashDepositAmount(t,s){return _r(a).getCashDepositAmount(t,s)(r,e)},getRepositFee(t,s,n,o){return _r(a).getRepositFee(t,s,n,o)(r,e)}}};class Fu extends R{getCashDepositAmount(e,r){return _r(this.configuration).getCashDepositAmount(e,r)(this.axios,this.basePath)}getRepositFee(e,r,t,s){return _r(this.configuration).getRepositFee(e,r,t,s)(this.axios,this.basePath)}}async function Mu(a,e,r=p,t=u,s){const n=qr(e).getCashDepositAmount(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function ju(a,e,r,t,s=p,n=u,o){const i=qr(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}}}},Je=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)}}}},Hu=function(a,e,r){return{createProperty(t,s){return Je(a).createProperty(t,s)(r,e)},getPropertyById(t,s){return Je(a).getPropertyById(t,s)(r,e)},searchProperties(t,s,n,o,i){return Je(a).searchProperties(t,s,n,o,i)(r,e)}}};class Gu extends R{createProperty(e,r){return Je(this.configuration).createProperty(e,r)(this.axios,this.basePath)}getPropertyById(e,r){return Je(this.configuration).getPropertyById(e,r)(this.axios,this.basePath)}searchProperties(e,r,t,s,n){return Je(this.configuration).searchProperties(e,r,t,s,n)(this.axios,this.basePath)}}async function ku(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 Qu(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 Yu(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 mt=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}}}},Rt=function(a){return{searchReconciliationDocuments(e,r,t,s,n){const o=mt(a).searchReconciliationDocuments(e,r,t,s,n);return(i=p,l=u)=>{const d={...o.options,url:l+o.url};return i.request(d)}}}},zu=function(a,e,r){return{searchReconciliationDocuments(t,s,n,o,i){return Rt(a).searchReconciliationDocuments(t,s,n,o,i)(r,e)}}};class $u extends R{searchReconciliationDocuments(e,r,t,s,n){return Rt(this.configuration).searchReconciliationDocuments(e,r,t,s,n)(this.axios,this.basePath)}}async function Wu(a,e,r,t,s,n=p,o=u,i){const l=mt(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}}}},ye=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)}}}},Ku=function(a,e,r){return{addReferenceDocument(t,s,n,o,i){return ye(a).addReferenceDocument(t,s,n,o,i)(r,e)},deleteReferenceDocument(t,s,n){return ye(a).deleteReferenceDocument(t,s,n)(r,e)},findManyReferenceDocuments(t,s){return ye(a).findManyReferenceDocuments(t,s)(r,e)},findReferenceDocumentById(t,s,n){return ye(a).findReferenceDocumentById(t,s,n)(r,e)}}};class Ju extends R{addReferenceDocument(e,r,t,s,n){return ye(this.configuration).addReferenceDocument(e,r,t,s,n)(this.axios,this.basePath)}deleteReferenceDocument(e,r,t){return ye(this.configuration).deleteReferenceDocument(e,r,t)(this.axios,this.basePath)}findManyReferenceDocuments(e,r){return ye(this.configuration).findManyReferenceDocuments(e,r)(this.axios,this.basePath)}findReferenceDocumentById(e,r,t){return ye(this.configuration).findReferenceDocumentById(e,r,t)(this.axios,this.basePath)}}async function Xu(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 Zu(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 ep(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 rp(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 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={},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}}}},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)}}}},tp=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 ap 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 sp(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 np(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 op(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 ip(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 lp(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 cp(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 dp(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,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}}}},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 A={...l.options,url:c+l.url};return d.request(A)}},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)}}}},up=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 pp 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 hp(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 Ap(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 mp(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 Rp(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 Ip(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 Pp(a,e,r,t,s,n,o,i=p,l=u,d){const c=B(o).searchOffers(a,e,r,t,s,n,d),A={...c.options,url:l+c.url};return(await i.request(A)).data}async function gp(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 T=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}}}},S=function(a){return{createReposit(e,r){const t=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=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=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=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=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=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=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=T(a).replaceReposit(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{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 fp 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 wp(a,e,r=p,t=u,s){const n=T(e).createReposit(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=T(e).getRepositById(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function Ep(a,e,r=p,t=u,s){const n=T(e).getRepositLandlord(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=T(e).getRepositPolicies(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function Vp(a,e,r=p,t=u,s){const n=T(e).getRepositPrice(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function qp(a,e,r=p,t=u,s){const n=T(e).getTenantDocuments(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=T(e).publishReposit(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function vp(a,e,r,t=p,s=u,n){const o=T(r).replaceReposit(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}const It=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}}}},Pt=function(a){return{seedCashDeposit(e,r){const t=It(a).seedCashDeposit(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}}}},Tp=function(a,e,r){return{seedCashDeposit(t,s){return Pt(a).seedCashDeposit(t,s)(r,e)}}};class Sp extends R{seedCashDeposit(e,r){return Pt(this.configuration).seedCashDeposit(e,r)(this.axios,this.basePath)}}async function bp(a,e,r=p,t=u,s){const n=It(e).seedCashDeposit(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}const gt=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}}}},Ot=function(a){return{seedReposit(e,r){const t=gt(a).seedReposit(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}}}},Np=function(a,e,r){return{seedReposit(t,s){return Ot(a).seedReposit(t,s)(r,e)}}};class xp extends R{seedReposit(e,r){return Ot(this.configuration).seedReposit(e,r)(this.axios,this.basePath)}}async function Up(a,e,r=p,t=u,s){const n=gt(e).seedReposit(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}const vr=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}}}},Tr=function(a){return{getMySupplier(e){const r=vr(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=vr(a).getSupplierAgents(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}}}},Dp=function(a,e,r){return{getMySupplier(t){return Tr(a).getMySupplier(t)(r,e)},getSupplierAgents(t,s){return Tr(a).getSupplierAgents(t,s)(r,e)}}};class Lp extends R{getMySupplier(e){return Tr(this.configuration).getMySupplier(e)(this.axios,this.basePath)}getSupplierAgents(e,r){return Tr(this.configuration).getSupplierAgents(e,r)(this.axios,this.basePath)}}async function Bp(a,e=p,r=u,t){const s=vr(a).getMySupplier(t),n={...s.options,url:r+s.url};return(await e.request(n)).data}async function Fp(a,e,r=p,t=u,s){const n=vr(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,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}},tenantMoveOutInfo(e,r={}){if(e==null)throw new h("token","Required parameter token was null or undefined when calling tenantMoveOutInfo.");const t="/v2/tenancies/tenant-move-out-info",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}},tenantScheduledMoveOut(e,r={}){if(e==null)throw new h("tenantScheduledMoveOutRequestDTO","Required parameter tenantScheduledMoveOutRequestDTO was null or undefined when calling tenantScheduledMoveOut.");const t="/v2/tenancies/tenant-scheduled-move-out",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}},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}}}},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)}},tenantMoveOutInfo(e,r){const t=C(a).tenantMoveOutInfo(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},tenantScheduledMoveOut(e,r){const t=C(a).tenantScheduledMoveOut(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)}}}},Mp=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)},tenantMoveOutInfo(t,s){return V(a).tenantMoveOutInfo(t,s)(r,e)},tenantScheduledMoveOut(t,s){return V(a).tenantScheduledMoveOut(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 jp 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)}tenantMoveOutInfo(e,r){return V(this.configuration).tenantMoveOutInfo(e,r)(this.axios,this.basePath)}tenantScheduledMoveOut(e,r){return V(this.configuration).tenantScheduledMoveOut(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 Hp(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 Gp(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 kp(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 Qp(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 Yp(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 zp(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 $p(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 Wp(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 Kp(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 Jp(a,e,r=p,t=u,s){const n=C(e).tenantMoveOutInfo(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function Xp(a,e,r=p,t=u,s){const n=C(e).tenantScheduledMoveOut(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function Zp(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 eh(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 rh(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 th(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 ft=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}}}},wt=function(a){return{getTenancyAnniversaries(e,r){const t=ft(a).getTenancyAnniversaries(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}}}},ah=function(a,e,r){return{getTenancyAnniversaries(t,s){return wt(a).getTenancyAnniversaries(t,s)(r,e)}}};class sh extends R{getTenancyAnniversaries(e,r){return wt(this.configuration).getTenancyAnniversaries(e,r)(this.axios,this.basePath)}}async function nh(a,e,r=p,t=u,s){const n=ft(e).getTenancyAnniversaries(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}const yt=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}}}},Et=function(a){return{createCheckout(e,r){const t=yt(a).createCheckout(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}}}},oh=function(a,e,r){return{createCheckout(t,s){return Et(a).createCheckout(t,s)(r,e)}}};class ih extends R{createCheckout(e,r){return Et(this.configuration).createCheckout(e,r)(this.axios,this.basePath)}}async function lh(a,e,r=p,t=u,s){const n=yt(e).createCheckout(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}const Sr=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}}}},br=function(a){return{createTenancyExpiry(e,r,t){const s=Sr(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=Sr(a).getByTenancyId(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}}}},ch=function(a,e,r){return{createTenancyExpiry(t,s,n){return br(a).createTenancyExpiry(t,s,n)(r,e)},getByTenancyId(t,s){return br(a).getByTenancyId(t,s)(r,e)}}};class dh extends R{createTenancyExpiry(e,r,t){return br(this.configuration).createTenancyExpiry(e,r,t)(this.axios,this.basePath)}getByTenancyId(e,r){return br(this.configuration).getByTenancyId(e,r)(this.axios,this.basePath)}}async function uh(a,e,r,t=p,s=u,n){const o=Sr(r).createTenancyExpiry(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function ph(a,e,r=p,t=u,s){const n=Sr(e).getByTenancyId(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}const Nr=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}}}},xr=function(a){return{disableWarnings(e,r,t){const s=Nr(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=Nr(a).tenantConfirmation(e,r,t,s);return(o=p,i=u)=>{const l={...n.options,url:i+n.url};return o.request(l)}}}},hh=function(a,e,r){return{disableWarnings(t,s,n){return xr(a).disableWarnings(t,s,n)(r,e)},tenantConfirmation(t,s,n,o){return xr(a).tenantConfirmation(t,s,n,o)(r,e)}}};class Ah extends R{disableWarnings(e,r,t){return xr(this.configuration).disableWarnings(e,r,t)(this.axios,this.basePath)}tenantConfirmation(e,r,t,s){return xr(this.configuration).tenantConfirmation(e,r,t,s)(this.axios,this.basePath)}}async function mh(a,e,r,t=p,s=u,n){const o=Nr(r).disableWarnings(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function Rh(a,e,r,t,s=p,n=u,o){const i=Nr(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(([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}}}},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)}}}},Ih=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 Ph 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 gh(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 Oh(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 fh(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 wh(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 yh(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 Eh(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 Ur=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}}}},Dr=function(a){return{createTenancyOrderNote(e,r,t){const s=Ur(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=Ur(a).deleteNote(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}}}},Ch=function(a,e,r){return{createTenancyOrderNote(t,s,n){return Dr(a).createTenancyOrderNote(t,s,n)(r,e)},deleteNote(t,s,n){return Dr(a).deleteNote(t,s,n)(r,e)}}};class Vh extends R{createTenancyOrderNote(e,r,t){return Dr(this.configuration).createTenancyOrderNote(e,r,t)(this.axios,this.basePath)}deleteNote(e,r,t){return Dr(this.configuration).deleteNote(e,r,t)(this.axios,this.basePath)}}async function qh(a,e,r,t=p,s=u,n){const o=Ur(r).createTenancyOrderNote(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function _h(a,e,r,t=p,s=u,n){const o=Ur(r).deleteNote(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}const K=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,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 M;a&&(M=a.baseOptions);const Xe={method:"GET",...M,...I},qt={},j={};return o!==void 0&&(j.query=o),e!==void 0&&(j.organizationId=e),i!==void 0&&(j.orderStatus=i),l!==void 0&&(j.tenancyStatus=l),d!==void 0&&(j.sortBy=d),c!==void 0&&(j.sortDirection=c),r!==void 0&&(j.page=r),t!==void 0&&(j.size=t),s!==void 0&&(j.includeDeleted=s),n!==void 0&&(j.onlyDeleted=n),A!==void 0&&(j.letOnly=A),m!==void 0&&(j.isNewTenancy=m),Object.entries({...j,...I.query}).forEach(([hn,_t])=>{_t!==void 0&&q.searchParams.set(hn,String(_t))}),Xe.headers={...qt,...I.headers},{url:q.pathname+q.search,options:Xe}},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}}}},J=function(a){return{getTenancyOrderById(e,r,t){const s=K(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,I){const P=K(a).optimisedSearch(e,r,t,s,n,o,i,l,d,c,A,m,I);return(q=p,M=u)=>{const Xe={...P.options,url:M+P.url};return q.request(Xe)}},removeTenancyOrderById(e,r,t){const s=K(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=K(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=K(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=K(a).transferTenancyOrderToOrganization(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}}}},vh=function(a,e,r){return{getTenancyOrderById(t,s,n){return J(a).getTenancyOrderById(t,s,n)(r,e)},optimisedSearch(t,s,n,o,i,l,d,c,A,m,I,P,q){return J(a).optimisedSearch(t,s,n,o,i,l,d,c,A,m,I,P,q)(r,e)},removeTenancyOrderById(t,s,n){return J(a).removeTenancyOrderById(t,s,n)(r,e)},reopenTenancyOrder(t,s,n){return J(a).reopenTenancyOrder(t,s,n)(r,e)},sendOverdueChasers(t,s){return J(a).sendOverdueChasers(t,s)(r,e)},transferTenancyOrderToOrganization(t,s,n){return J(a).transferTenancyOrderToOrganization(t,s,n)(r,e)}}};class Th extends R{getTenancyOrderById(e,r,t){return J(this.configuration).getTenancyOrderById(e,r,t)(this.axios,this.basePath)}optimisedSearch(e,r,t,s,n,o,i,l,d,c,A,m,I){return J(this.configuration).optimisedSearch(e,r,t,s,n,o,i,l,d,c,A,m,I)(this.axios,this.basePath)}removeTenancyOrderById(e,r,t){return J(this.configuration).removeTenancyOrderById(e,r,t)(this.axios,this.basePath)}reopenTenancyOrder(e,r,t){return J(this.configuration).reopenTenancyOrder(e,r,t)(this.axios,this.basePath)}sendOverdueChasers(e,r){return J(this.configuration).sendOverdueChasers(e,r)(this.axios,this.basePath)}transferTenancyOrderToOrganization(e,r,t){return J(this.configuration).transferTenancyOrderToOrganization(e,r,t)(this.axios,this.basePath)}}async function Sh(a,e,r,t=p,s=u,n){const o=K(r).getTenancyOrderById(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function bh(a,e,r,t,s,n,o,i,l,d,c,A,m,I=p,P=u,q){const M=K(m).optimisedSearch(a,e,r,t,s,n,o,i,l,d,c,A,q),Xe={...M.options,url:P+M.url};return(await I.request(Xe)).data}async function Nh(a,e,r,t=p,s=u,n){const o=K(r).removeTenancyOrderById(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function xh(a,e,r,t=p,s=u,n){const o=K(r).reopenTenancyOrder(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function Uh(a,e,r=p,t=u,s){const n=K(e).sendOverdueChasers(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function Dh(a,e,r,t=p,s=u,n){const o=K(r).transferTenancyOrderToOrganization(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}const Ee=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}}}},Ce=function(a){return{addGuarantor(e,r,t,s){const n=Ee(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=Ee(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=Ee(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=Ee(a).updateGuarantor(e,r,t,s);return(o=p,i=u)=>{const l={...n.options,url:i+n.url};return o.request(l)}}}},Lh=function(a,e,r){return{addGuarantor(t,s,n,o){return Ce(a).addGuarantor(t,s,n,o)(r,e)},deleteGuarantor(t,s,n){return Ce(a).deleteGuarantor(t,s,n)(r,e)},sendReminderEmail(t,s,n){return Ce(a).sendReminderEmail(t,s,n)(r,e)},updateGuarantor(t,s,n,o){return Ce(a).updateGuarantor(t,s,n,o)(r,e)}}};class Bh extends R{addGuarantor(e,r,t,s){return Ce(this.configuration).addGuarantor(e,r,t,s)(this.axios,this.basePath)}deleteGuarantor(e,r,t){return Ce(this.configuration).deleteGuarantor(e,r,t)(this.axios,this.basePath)}sendReminderEmail(e,r,t){return Ce(this.configuration).sendReminderEmail(e,r,t)(this.axios,this.basePath)}updateGuarantor(e,r,t,s){return Ce(this.configuration).updateGuarantor(e,r,t,s)(this.axios,this.basePath)}}async function Fh(a,e,r,t,s=p,n=u,o){const i=Ee(t).addGuarantor(a,e,r,o),l={...i.options,url:n+i.url};return(await s.request(l)).data}async function Mh(a,e,r,t=p,s=u,n){const o=Ee(r).deleteGuarantor(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function jh(a,e,r,t=p,s=u,n){const o=Ee(r).sendReminderEmail(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function Hh(a,e,r,t,s=p,n=u,o){const i=Ee(t).updateGuarantor(a,e,r,o),l={...i.options,url:n+i.url};return(await s.request(l)).data}const Lr=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}}}},Br=function(a){return{addTenant(e,r,t){const s=Lr(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=Lr(a).deleteById(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}}}},Gh=function(a,e,r){return{addTenant(t,s,n){return Br(a).addTenant(t,s,n)(r,e)},deleteById(t,s,n){return Br(a).deleteById(t,s,n)(r,e)}}};class kh extends R{addTenant(e,r,t){return Br(this.configuration).addTenant(e,r,t)(this.axios,this.basePath)}deleteById(e,r,t){return Br(this.configuration).deleteById(e,r,t)(this.axios,this.basePath)}}async function Qh(a,e,r,t=p,s=u,n){const o=Lr(r).addTenant(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function Yh(a,e,r,t=p,s=u,n){const o=Lr(r).deleteById(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}const Fr=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}}}},Mr=function(a){return{getSupplierTerms(e){const r=Fr(a).getSupplierTerms(e);return(t=p,s=u)=>{const n={...r.options,url:s+r.url};return t.request(n)}},getTenantTerms(e){const r=Fr(a).getTenantTerms(e);return(t=p,s=u)=>{const n={...r.options,url:s+r.url};return t.request(n)}}}},zh=function(a,e,r){return{getSupplierTerms(t){return Mr(a).getSupplierTerms(t)(r,e)},getTenantTerms(t){return Mr(a).getTenantTerms(t)(r,e)}}};class $h extends R{getSupplierTerms(e){return Mr(this.configuration).getSupplierTerms(e)(this.axios,this.basePath)}getTenantTerms(e){return Mr(this.configuration).getTenantTerms(e)(this.axios,this.basePath)}}async function Wh(a,e=p,r=u,t){const s=Fr(a).getSupplierTerms(t),n={...s.options,url:r+s.url};return(await e.request(n)).data}async function Kh(a,e=p,r=u,t){const s=Fr(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)}}}},Jh=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 Xh 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 Zh(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 eA(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 rA(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 tA(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 aA(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 sA(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 nA(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 oA(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 iA(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 lA(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 cA(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 dA(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 uA(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 pA(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 hA(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 AA(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 mA(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 RA(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 Ct=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}}}},Vt=function(a){return{updateIntegrationWebhookUrl(e,r){const t=Ct(a).updateIntegrationWebhookUrl(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}}}},IA=function(a,e,r){return{updateIntegrationWebhookUrl(t,s){return Vt(a).updateIntegrationWebhookUrl(t,s)(r,e)}}};class PA extends R{updateIntegrationWebhookUrl(e,r){return Vt(this.configuration).updateIntegrationWebhookUrl(e,r)(this.axios,this.basePath)}}async function gA(a,e,r=p,t=u,s){const n=Ct(e).updateIntegrationWebhookUrl(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}var vt=(a=>(a.NONREFUNDABLEFEE="NON_REFUNDABLE_FEE",a.TOOEXPENSIVE="TOO_EXPENSIVE",a.DONTUNDERSTAND="DONT_UNDERSTAND",a.FAILEDREFERENCING="FAILED_REFERENCING",a.OTHER="OTHER",a))(vt||{}),Tt=(a=>(a.DRAFT="DRAFT",a.PUBLISHED="PUBLISHED",a))(Tt||{}),St=(a=>(a.REPOSIT="REPOSIT",a.PROPERTY="PROPERTY",a.BANKTRANSACTION="BANK_TRANSACTION",a))(St||{}),bt=(a=>(a.DRAFT="DRAFT",a.IMPORTING="IMPORTING",a.PROCESSING="PROCESSING",a.COMPLETED="COMPLETED",a.FAILED="FAILED",a))(bt||{}),Nt=(a=>(a.IDENTITY="IDENTITY",a.CREDIT="CREDIT",a))(Nt||{}),xt=(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))(xt||{}),Ut=(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))(Ut||{}),Dt=(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))(Dt||{}),Lt=(a=>(a.Deletion="deletion",a.Reduction="reduction",a))(Lt||{}),Bt=(a=>(a.DAMAGE="DAMAGE",a.CLEANING="CLEANING",a.RENTARREARS="RENT_ARREARS",a.ITEMREMOVAL="ITEM_REMOVAL",a.OTHER="OTHER",a))(Bt||{}),Ft=(a=>(a.SUPPLIER="SUPPLIER",a.TENANT="TENANT",a))(Ft||{}),Mt=(a=>(a.SUPPLIER="SUPPLIER",a.TENANT="TENANT",a))(Mt||{}),jt=(a=>(a.DRAFT="DRAFT",a.AWAITINGRESPONSE="AWAITING_RESPONSE",a.AWAITINGPAYMENT="AWAITING_PAYMENT",a.SETTLED="SETTLED",a.COUNTERED="COUNTERED",a.DISPUTED="DISPUTED",a))(jt||{}),Ht=(a=>(a.INITIAL="INITIAL",a.INTERMEDIATE="INTERMEDIATE",a.FINAL="FINAL",a))(Ht||{}),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||{}),kt=(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))(kt||{}),Qt=(a=>(a.GBR="GBR",a))(Qt||{}),Yt=(a=>(a.REPOSIT="REPOSIT",a.PROPERTY="PROPERTY",a.BANKTRANSACTION="BANK_TRANSACTION",a))(Yt||{}),zt=(a=>(a.DAMAGE="DAMAGE",a.CLEANING="CLEANING",a.RENTARREARS="RENT_ARREARS",a.ITEMREMOVAL="ITEM_REMOVAL",a.OTHER="OTHER",a))(zt||{}),$t=(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))($t||{}),Wt=(a=>(a.AGREED="AGREED",a.REJECTED="REJECTED",a))(Wt||{}),Kt=(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))(Kt||{}),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||{}),Xt=(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))(Xt||{}),Zt=(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))(Zt||{}),ea=(a=>(a.AGREED="AGREED",a.REJECTED="REJECTED",a.MISSING="MISSING",a))(ea||{}),ra=(a=>(a.PROPERTY="PROPERTY",a))(ra||{}),ta=(a=>(a.PASSED="PASSED",a.FAILED="FAILED",a))(ta||{}),aa=(a=>(a.COMPANY="COMPANY",a.SOLEPERSON="SOLE_PERSON",a))(aa||{}),sa=(a=>(a.COMPANY="COMPANY",a.SOLEPERSON="SOLE_PERSON",a))(sa||{}),na=(a=>(a.COMPANY="COMPANY",a.SOLEPERSON="SOLE_PERSON",a))(na||{}),oa=(a=>(a.REPOSITPUBLISHED="REPOSIT_PUBLISHED",a.CLAIMPUBLISHED="CLAIM_PUBLISHED",a))(oa||{}),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||{}),la=(a=>(a.DEFAULT="DEFAULT",a.CLAIM="CLAIM",a.CASHDEPOSITSCHEME="CASH_DEPOSIT_SCHEME",a))(la||{}),ca=(a=>(a.AGENCY="AGENCY",a.BUILDTORENT="BUILD_TO_RENT",a.PRIVATE="PRIVATE",a.INTEGRATORREFERRAL="INTEGRATOR_REFERRAL",a))(ca||{}),da=(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))(da||{}),ua=(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))(ua||{}),pa=(a=>(a.DIRECT="DIRECT",a.INITIAL="INITIAL",a.ADMIN="ADMIN",a))(pa||{}),ha=(a=>(a.TENTHOUSANDPOUNDS="TEN_THOUSAND_POUNDS",a.FIVETHOUSANDPOUNDS="FIVE_THOUSAND_POUNDS",a))(ha||{}),Aa=(a=>(a.IDENTITY="IDENTITY",a.CREDIT="CREDIT",a))(Aa||{}),ma=(a=>(a.TENANT="TENANT",a))(ma||{}),Ra=(a=>(a.FIXED="FIXED",a.PERIODIC="PERIODIC",a))(Ra||{}),Ia=(a=>(a.MANAGETEAM="MANAGE_TEAM",a.NOTIFICATIONS="NOTIFICATIONS",a.BANKACCOUNTS="BANK_ACCOUNTS",a.ONBOARDING="ONBOARDING",a))(Ia||{}),Pa=(a=>(a.MANAGETEAM="MANAGE_TEAM",a.NOTIFICATIONS="NOTIFICATIONS",a.BANKACCOUNTS="BANK_ACCOUNTS",a.ONBOARDING="ONBOARDING",a))(Pa||{}),ga=(a=>(a.PENDING="PENDING",a.OPENBANKINGTRANSFERSUCCESS="OPEN_BANKING_TRANSFER_SUCCESS",a.CANCELLED="CANCELLED",a.PARTIALLYPAID="PARTIALLY_PAID",a.PAID="PAID",a))(ga||{}),Oa=(a=>(a.AUTOACCEPTED="AUTO_ACCEPTED",a.PREADR="PRE_ADR",a.POSTADR="POST_ADR",a))(Oa||{}),fa=(a=>(a.PENDING="PENDING",a.RESOLVED="RESOLVED",a.EXPIRED="EXPIRED",a))(fa||{}),wa=(a=>(a.PENDING="PENDING",a.AGREED="AGREED",a))(wa||{}),ya=(a=>(a.AGREED="AGREED",a.REJECTED="REJECTED",a))(ya||{}),Ea=(a=>(a.PENDING="PENDING",a.AGREED="AGREED",a.MISSING="MISSING",a))(Ea||{}),Ca=(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))(Ca||{}),Va=(a=>(a.DRAFT="DRAFT",a.PUBLISHED="PUBLISHED",a))(Va||{}),qa=(a=>(a.DRAFT="DRAFT",a.PUBLISHED="PUBLISHED",a))(qa||{}),_a=(a=>(a.AGREED="AGREED",a.REJECTED="REJECTED",a.MISSING="MISSING",a))(_a||{}),va=(a=>(a.DRAFT="DRAFT",a.PUBLISHED="PUBLISHED",a))(va||{}),Ta=(a=>(a.DRAFT="DRAFT",a.AWAITINGRESPONSE="AWAITING_RESPONSE",a.AWAITINGREVIEW="AWAITING_REVIEW",a.AGREED="AGREED",a.REJECTED="REJECTED",a.EXPIRED="EXPIRED",a))(Ta||{}),Sa=(a=>(a.Terraced="terraced",a.Semi="semi",a.Detached="detached",a.Flat="flat",a))(Sa||{}),ba=(a=>(a.AWAITINGDECISION="AWAITING_DECISION",a.ACCEPTED="ACCEPTED",a.REJECTED="REJECTED",a))(ba||{}),Na=(a=>(a.SALES="SALES",a))(Na||{}),xa=(a=>(a.COMPANY="COMPANY",a.SOLEPERSON="SOLE_PERSON",a))(xa||{}),Ua=(a=>(a.FairRentIncreasePct="fair_rent_increase_pct",a.CpihYoyPct="cpih_yoy_pct",a))(Ua||{}),Da=(a=>(a.NOTCONNECTED="NOT_CONNECTED",a.CONNECTED="CONNECTED",a.COMPLETE="COMPLETE",a.FAILED="FAILED",a))(Da||{}),La=(a=>(a.AGENT="AGENT",a.LANDLORD="LANDLORD",a.CORPORATELANDLORD="CORPORATE_LANDLORD",a))(La||{}),Ba=(a=>(a.REPOSITPUBLISHED="REPOSIT_PUBLISHED",a.CLAIMPUBLISHED="CLAIM_PUBLISHED",a))(Ba||{}),Fa=(a=>(a.PROMOTER="PROMOTER",a.DETRACTOR="DETRACTOR",a.PASSIVE="PASSIVE",a))(Fa||{}),Ma=(a=>(a.PASSED="PASSED",a.FAILED="FAILED",a))(Ma||{}),ja=(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))(ja||{}),Ha=(a=>(a.REPOSIT="REPOSIT",a.CLAIM="CLAIM",a.CLAIMPROPOSAL="CLAIM_PROPOSAL",a.ARBITRATION="ARBITRATION",a.TOPUP="TOP_UP",a.ARBITRATIONADMINFEE="ARBITRATION_ADMIN_FEE",a))(Ha||{}),Ga=(a=>(a.DRAFT="DRAFT",a.PENDING="PENDING",a.COMPLETE="COMPLETE",a.CANCELLED="CANCELLED",a.REFUNDED="REFUNDED",a))(Ga||{}),ka=(a=>(a.MANUAL="MANUAL",a.AUTOMATIC="AUTOMATIC",a))(ka||{}),Qa=(a=>(a.REPOSIT="REPOSIT",a.PROPERTY="PROPERTY",a.BANKTRANSACTION="BANK_TRANSACTION",a))(Qa||{}),Ya=(a=>(a.DRAFT="DRAFT",a.IMPORTING="IMPORTING",a.PROCESSING="PROCESSING",a.COMPLETED="COMPLETED",a.FAILED="FAILED",a))(Ya||{}),za=(a=>(a.PENDING="PENDING",a.PROCESSING="PROCESSING",a.COMPLETED="COMPLETED",a.FAILED="FAILED",a.DUPLICATE="DUPLICATE",a))(za||{}),$a=(a=>(a.REPOSIT="REPOSIT",a.CLAIM="CLAIM",a.CLAIMPROPOSAL="CLAIM_PROPOSAL",a.ARBITRATION="ARBITRATION",a.TOPUP="TOP_UP",a.ARBITRATIONADMINFEE="ARBITRATION_ADMIN_FEE",a))($a||{}),Wa=(a=>(a.DRAFT="DRAFT",a.PENDING="PENDING",a.COMPLETE="COMPLETE",a.CANCELLED="CANCELLED",a.REFUNDED="REFUNDED",a))(Wa||{}),Ka=(a=>(a.MANUAL="MANUAL",a.AUTOMATIC="AUTOMATIC",a))(Ka||{}),Ja=(a=>(a.STANDARD="STANDARD",a.BUILDTORENT="BUILD_TO_RENT",a))(Ja||{}),Xa=(a=>(a.DEFAULT="DEFAULT",a.CLAIM="CLAIM",a.CASHDEPOSITSCHEME="CASH_DEPOSIT_SCHEME",a))(Xa||{}),Za=(a=>(a.AGENCY="AGENCY",a.BUILDTORENT="BUILD_TO_RENT",a.PRIVATE="PRIVATE",a.INTEGRATORREFERRAL="INTEGRATOR_REFERRAL",a))(Za||{}),es=(a=>(a.SALES="SALES",a))(es||{}),rs=(a=>(a.DIRECT="DIRECT",a.INITIAL="INITIAL",a.ADMIN="ADMIN",a))(rs||{}),ts=(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))(ts||{}),as=(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))(as||{}),ss=(a=>(a.TENTHOUSANDPOUNDS="TEN_THOUSAND_POUNDS",a.FIVETHOUSANDPOUNDS="FIVE_THOUSAND_POUNDS",a))(ss||{}),ns=(a=>(a.FIXED="FIXED",a.PERIODIC="PERIODIC",a))(ns||{}),os=(a=>(a.MANAGETEAM="MANAGE_TEAM",a.NOTIFICATIONS="NOTIFICATIONS",a.BANKACCOUNTS="BANK_ACCOUNTS",a.ONBOARDING="ONBOARDING",a))(os||{}),is=(a=>(a.PRIMARY="PRIMARY",a.SECONDARY="SECONDARY",a))(is||{}),ls=(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))(ls||{}),cs=(a=>(a.AGENCY="AGENCY",a.BUILDTORENT="BUILD_TO_RENT",a.PRIVATE="PRIVATE",a.INTEGRATORREFERRAL="INTEGRATOR_REFERRAL",a))(cs||{}),ds=(a=>(a.AGENCY="AGENCY",a.BUILDTORENT="BUILD_TO_RENT",a.PRIVATE="PRIVATE",a.INTEGRATORREFERRAL="INTEGRATOR_REFERRAL",a))(ds||{}),us=(a=>(a.MANAGETEAM="MANAGE_TEAM",a.NOTIFICATIONS="NOTIFICATIONS",a.BANKACCOUNTS="BANK_ACCOUNTS",a.ONBOARDING="ONBOARDING",a))(us||{}),ps=(a=>(a.AGENCY="AGENCY",a.BUILDTORENT="BUILD_TO_RENT",a.PRIVATE="PRIVATE",a.INTEGRATORREFERRAL="INTEGRATOR_REFERRAL",a))(ps||{}),hs=(a=>(a.MANAGETEAM="MANAGE_TEAM",a.NOTIFICATIONS="NOTIFICATIONS",a.BANKACCOUNTS="BANK_ACCOUNTS",a.ONBOARDING="ONBOARDING",a))(hs||{}),As=(a=>(a.PENDING="PENDING",a.OPENBANKINGTRANSFERSUCCESS="OPEN_BANKING_TRANSFER_SUCCESS",a.CANCELLED="CANCELLED",a.PARTIALLYPAID="PARTIALLY_PAID",a.PAID="PAID",a))(As||{}),ms=(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))(ms||{}),Rs=(a=>(a.Pass="pass",a.Fail="fail",a.Unchecked="unchecked",a))(Rs||{}),Is=(a=>(a.Pass="pass",a.Fail="fail",a.Unchecked="unchecked",a))(Is||{}),Ps=(a=>(a.Pass="pass",a.Fail="fail",a.Unchecked="unchecked",a))(Ps||{}),gs=(a=>(a.Pass="pass",a.Fail="fail",a.Unchecked="unchecked",a))(gs||{}),Os=(a=>(a.CONFIRM="CONFIRM",a.ADDRESS="ADDRESS",a.CARDDETAILS="CARD_DETAILS",a))(Os||{}),fs=(a=>(a.MONTHLY="MONTHLY",a))(fs||{}),ws=(a=>(a.ACTIVE="ACTIVE",a.PENDING="PENDING",a.DEFAULT="DEFAULT",a.COMPLETE="COMPLETE",a.CLOSED="CLOSED",a.CANCELLED="CANCELLED",a))(ws||{}),ys=(a=>(a.PENDING="PENDING",a.PAID="PAID",a.FAILED="FAILED",a.CANCELLED="CANCELLED",a))(ys||{}),Es=(a=>(a.LINK="LINK",a.PAYMENTINITIATION="PAYMENT_INITIATION",a))(Es||{}),Cs=(a=>(a.SESSIONFINISHED="SESSION_FINISHED",a.PAYMENTSTATUSUPDATE="PAYMENT_STATUS_UPDATE",a))(Cs||{}),Vs=(a=>(a.SUCCESS="SUCCESS",a.EXITED="EXITED",a))(Vs||{}),qs=(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))(qs||{}),_s=(a=>(a.DRAFT="DRAFT",a.SUBMITTED="SUBMITTED",a.ISSUED="ISSUED",a.CLOSED="CLOSED",a.DEACTIVATED="DEACTIVATED",a.UNKNOWN="UNKNOWN",a))(_s||{}),vs=(a=>(a.NEWTENANCY="NEW_TENANCY",a.EXISTINGTENANCY="EXISTING_TENANCY",a))(vs||{}),Ts=(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.PROCESSSCHEDULEDRETRYABLEPAYMENT="PROCESS_SCHEDULED_RETRYABLE_PAYMENT",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.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.TENANCYENDINGREMINDER="TENANCY_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.PROCESSBULKIMPORTROW="PROCESS_BULK_IMPORT_ROW",a))(Ts||{}),Ss=(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.SCHEDULEDRETRYABLEPAYMENT="SCHEDULED_RETRYABLE_PAYMENT",a.DAILYORDERSCHEDULEDCHARGE="DAILY_ORDER_SCHEDULED_CHARGE",a.MONTHLYDIRECTCOMMISSION="MONTHLY_DIRECT_COMMISSION",a.MONTHLYCLOSEDREPOSITREPORT="MONTHLY_CLOSED_REPOSIT_REPORT",a.WEEKLYLANDLORDTRANSFERREMINDER="WEEKLY_LANDLORD_TRANSFER_REMINDER",a.DAILYREPOSITENDINGREMINDER="DAILY_REPOSIT_ENDING_REMINDER",a.DAILYTENANCYENDINGREMINDER="DAILY_TENANCY_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))(Ss||{}),bs=(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))(bs||{}),Ns=(a=>(a.GBR="GBR",a))(Ns||{}),xs=(a=>(a.AGENT="AGENT",a.LANDLORD="LANDLORD",a))(xs||{}),Us=(a=>(a.DRAFT="DRAFT",a.PUBLISHED="PUBLISHED",a))(Us||{}),Ds=(a=>(a.COMPANY="COMPANY",a.SOLEPERSON="SOLE_PERSON",a))(Ds||{}),Ls=(a=>(a.PASSED="PASSED",a.FAILED="FAILED",a))(Ls||{}),Bs=(a=>(a.REPOSIT="REPOSIT",a.CASHDEPOSIT="CASH_DEPOSIT",a))(Bs||{}),Fs=(a=>(a.DEPOSITWAIVER="DEPOSIT_WAIVER",a))(Fs||{}),Ms=(a=>(a.PRIVATE="PRIVATE",a.AGENCY="AGENCY",a))(Ms||{}),js=(a=>(a.DRAFT="DRAFT",a.INVITED="INVITED",a.REGISTERED="REGISTERED",a.REFERENCED="REFERENCED",a.CONFIRMED="CONFIRMED",a.SIGNED="SIGNED",a.PAID="PAID",a))(js||{}),Hs=(a=>(a.SIGNEDTENANTTERMSANDCONDITIONS="SIGNED_TENANT_TERMS_AND_CONDITIONS",a))(Hs||{}),Gs=(a=>(a.Reposit="reposit",a))(Gs||{}),ks=(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))(ks||{}),Qs=(a=>(a.DRAFT="DRAFT",a.INVITED="INVITED",a.REGISTERED="REGISTERED",a.REFERENCED="REFERENCED",a.CONFIRMED="CONFIRMED",a.SIGNED="SIGNED",a.PAID="PAID",a))(Qs||{}),Ys=(a=>(a.PASSED="PASSED",a.FAILED="FAILED",a))(Ys||{}),zs=(a=>(a.FIXED="FIXED",a.PERIODIC="PERIODIC",a))(zs||{}),$s=(a=>(a.SUPPLIERAPPLICATION="SUPPLIER_APPLICATION",a.TENANTAPPLICATION="TENANT_APPLICATION",a))($s||{}),Ws=(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))(Ws||{}),Ks=(a=>(a.FIXED="FIXED",a.PERIODIC="PERIODIC",a))(Ks||{}),Js=(a=>(a.CONFIRMED="CONFIRMED",a.UNCONFIRMED="UNCONFIRMED",a))(Js||{}),Xs=(a=>(a.EARLY="EARLY",a.LATE="LATE",a.FINAL="FINAL",a))(Xs||{}),Zs=(a=>(a.TENANT="TENANT",a))(Zs||{}),en=(a=>(a.TENANT="TENANT",a))(en||{}),rn=(a=>(a.FIXED="FIXED",a.PERIODIC="PERIODIC",a))(rn||{}),tn=(a=>(a.Agent="agent",a.Landlord="landlord",a))(tn||{}),an=(a=>(a.Agent="agent",a.Landlord="landlord",a))(an||{}),sn=(a=>(a.DAMAGE="DAMAGE",a.CLEANING="CLEANING",a.RENTARREARS="RENT_ARREARS",a.ITEMREMOVAL="ITEM_REMOVAL",a.OTHER="OTHER",a))(sn||{}),nn=(a=>(a.COMPANY="COMPANY",a.SOLEPERSON="SOLE_PERSON",a))(nn||{}),on=(a=>(a.AGENCY="AGENCY",a.BUILDTORENT="BUILD_TO_RENT",a.PRIVATE="PRIVATE",a.INTEGRATORREFERRAL="INTEGRATOR_REFERRAL",a))(on||{}),ln=(a=>(a.DRAFT="DRAFT",a.SUBMITTED="SUBMITTED",a.ISSUED="ISSUED",a.CLOSED="CLOSED",a.DEACTIVATED="DEACTIVATED",a.UNKNOWN="UNKNOWN",a))(ln||{}),cn=(a=>(a.FIXED="FIXED",a.PERIODIC="PERIODIC",a))(cn||{}),dn=(a=>(a.AGENT="AGENT",a.ARBITRATOR="ARBITRATOR",a.LANDLORD="LANDLORD",a.TENANT="TENANT",a.INTERNAL="INTERNAL",a.MACHINE="MACHINE",a))(dn||{}),un=(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.BULKIMPORT="BULK_IMPORT",a.CLAIMUPDATEAUTOCHARGE="CLAIM_UPDATE_AUTO_CHARGE",a.CLAIMITEMCORRECTIVECHANGE="CLAIM_ITEM_CORRECTIVE_CHANGE",a.CLAIMDELETE="CLAIM_DELETE",a.BANKTRANSACTIONIMPORT="BANK_TRANSACTION_IMPORT",a))(un||{}),pn=(a=>(a.PENDING="PENDING",a.OPENBANKINGTRANSFERSUCCESS="OPEN_BANKING_TRANSFER_SUCCESS",a.CANCELLED="CANCELLED",a.PARTIALLYPAID="PARTIALLY_PAID",a.PAID="PAID",a))(pn||{});class OA{constructor(e={}){this.apiKey=e.apiKey,this.username=e.username,this.password=e.password,this.accessToken=e.accessToken,this.basePath=e.basePath}}exports.AddRejectionReasonRequestDTORejectionReasonEnum=vt;exports.AddressesApi=Rn;exports.AddressesApiAxiosParamCreator=de;exports.AddressesApiFactory=mn;exports.AddressesApiFp=ue;exports.ApplicantsApi=wn;exports.ApplicantsApiAxiosParamCreator=Ve;exports.ApplicantsApiFactory=fn;exports.ApplicantsApiFp=qe;exports.ArbitrationDTOStatusEnum=Tt;exports.ArbitrationDocumentsApi=qn;exports.ArbitrationDocumentsApiAxiosParamCreator=pe;exports.ArbitrationDocumentsApiFactory=Vn;exports.ArbitrationDocumentsApiFp=he;exports.ArbitrationsApi=Nn;exports.ArbitrationsApiAxiosParamCreator=Ae;exports.ArbitrationsApiFactory=bn;exports.ArbitrationsApiFp=me;exports.AuthApi=Fn;exports.AuthApiAxiosParamCreator=X;exports.AuthApiFactory=Bn;exports.AuthApiFp=Z;exports.BASE_PATH=u;exports.BankAccountsApi=Yn;exports.BankAccountsApiAxiosParamCreator=jr;exports.BankAccountsApiFactory=Qn;exports.BankAccountsApiFp=Hr;exports.BaseAPI=R;exports.BeneficiariesApi=Wn;exports.BeneficiariesApiAxiosParamCreator=Gr;exports.BeneficiariesApiFactory=$n;exports.BeneficiariesApiFp=kr;exports.BulkImportDTOImportTypeEnum=St;exports.BulkImportDTOStatusEnum=bt;exports.BulkImportsApi=Xn;exports.BulkImportsApiAxiosParamCreator=_;exports.BulkImportsApiFactory=Jn;exports.BulkImportsApiFp=v;exports.COLLECTION_FORMATS=An;exports.CashDepositsApi=co;exports.CashDepositsApiAxiosParamCreator=ee;exports.CashDepositsApiFactory=lo;exports.CashDepositsApiFp=re;exports.CheckDTOStatusEnum=xt;exports.CheckDTOTypeEnum=Nt;exports.ChecksApi=Io;exports.ChecksApiAxiosParamCreator=Ze;exports.ChecksApiFactory=Ro;exports.ChecksApiFp=er;exports.ClaimActivityType=Ut;exports.ClaimDTOStatusEnum=Dt;exports.ClaimDocumentsApi=fo;exports.ClaimDocumentsApiAxiosParamCreator=te;exports.ClaimDocumentsApiFactory=Oo;exports.ClaimDocumentsApiFp=ae;exports.ClaimItemCorrectionResponseDTOActionEnum=Lt;exports.ClaimItemCorrectionsApi=_o;exports.ClaimItemCorrectionsApiAxiosParamCreator=rr;exports.ClaimItemCorrectionsApiFactory=qo;exports.ClaimItemCorrectionsApiFp=tr;exports.ClaimItemDTOTypeEnum=Bt;exports.ClaimItemDocumentsApi=bo;exports.ClaimItemDocumentsApiAxiosParamCreator=se;exports.ClaimItemDocumentsApiFactory=So;exports.ClaimItemDocumentsApiFp=ne;exports.ClaimItemProposalDTOSettledSourceEnum=Ft;exports.ClaimItemProposalsApi=Fo;exports.ClaimItemProposalsApiAxiosParamCreator=_e;exports.ClaimItemProposalsApiFactory=Bo;exports.ClaimItemProposalsApiFp=ve;exports.ClaimItemsApi=ko;exports.ClaimItemsApiAxiosParamCreator=Te;exports.ClaimItemsApiFactory=Go;exports.ClaimItemsApiFp=Se;exports.ClaimProposalDTOSourceEnum=Mt;exports.ClaimProposalDTOStatusEnum=jt;exports.ClaimProposalDTOTypeEnum=Ht;exports.ClaimProposalsApi=Wo;exports.ClaimProposalsApiAxiosParamCreator=oe;exports.ClaimProposalsApiFactory=$o;exports.ClaimProposalsApiFp=ie;exports.ClaimResponseDocumentsApi=ti;exports.ClaimResponseDocumentsApiAxiosParamCreator=Re;exports.ClaimResponseDocumentsApiFactory=ri;exports.ClaimResponseDocumentsApiFp=Ie;exports.ClaimStatusDTOStatusIdEnum=Gt;exports.ClaimWithCheckoutRelationsDTOStatusEnum=kt;exports.ClaimsApi=li;exports.ClaimsApiAxiosParamCreator=f;exports.ClaimsApiFactory=ii;exports.ClaimsApiFp=w;exports.CommissionApi=Di;exports.CommissionApiAxiosParamCreator=Qr;exports.CommissionApiFactory=Ui;exports.CommissionApiFp=Yr;exports.ConcurrentTenancyCheckApi=Fi;exports.ConcurrentTenancyCheckApiAxiosParamCreator=zr;exports.ConcurrentTenancyCheckApiFactory=Bi;exports.ConcurrentTenancyCheckApiFp=$r;exports.Configuration=OA;exports.CreateAddressForRepositDTOCountryEnum=Qt;exports.CreateBulkImportDTOImportTypeEnum=Yt;exports.CreateClaimItemDTOTypeEnum=zt;exports.CreateClaimItemDocumentDTOTypeEnum=$t;exports.CreateClaimItemReviewDTOStatusEnum=Wt;exports.CreateDocumentDTOTypeEnum=Kt;exports.CreateDocumentFromS3DTOTypeEnum=Jt;exports.CreateEvidenceChaserItemDTODocumentTypeIdEnum=Xt;exports.CreateEvidenceChaserItemDTOTypeEnum=Zt;exports.CreateEvidenceChaserItemReviewDTOStatusEnum=ea;exports.CreateInsuredItemDTOTypeEnum=ra;exports.CreateIntegrationRepositOfferDTOTenantsReferenceStatusEnum=ta;exports.CreateLandlordDTOLandlordTypeIdEnum=aa;exports.CreateLandlordForRepositDTOLandlordTypeIdEnum=sa;exports.CreateLandlordWithOrgDTOLandlordTypeIdEnum=na;exports.CreateNetPromoterScoreDTOSurveyEventEnum=oa;exports.CreateOrderDTOProductIdEnum=ia;exports.CreateOrganizationBankAccountDTOAccountTypeEnum=la;exports.CreateOrganizationDTOPrimaryVerticalEnum=da;exports.CreateOrganizationDTOSecondaryVerticalsEnum=ua;exports.CreateOrganizationDTOTypeEnum=ca;exports.CreateOrganizationRecipientDTOGroupEnum=pa;exports.CreatePolicyWithBeneficiaryDTOMaximumPolicyCoverEnum=ha;exports.CreateReferenceDTOChecksEnum=Aa;exports.CreateTenancyInviteDTORoleIdEnum=ma;exports.CreateTenancyRequestDTOTermTypeEnum=Ra;exports.CurrentUserAccountInfoDTOCurrentOrganizationRolesEnum=Ia;exports.CurrentUserInfoDTOCurrentOrganizationRolesEnum=Pa;exports.CustomersApi=Hi;exports.CustomersApiAxiosParamCreator=Wr;exports.CustomersApiFactory=ji;exports.CustomersApiFp=Kr;exports.DepositDTOStatusEnum=ga;exports.DocumentsApi=Qi;exports.DocumentsApiAxiosParamCreator=be;exports.DocumentsApiFactory=ki;exports.DocumentsApiFp=Ne;exports.EvidenceChaserDTOStatusEnum=fa;exports.EvidenceChaserDTOTypeEnum=Oa;exports.EvidenceChaserItemClaimItemDTOStatusEnum=wa;exports.EvidenceChaserItemClaimItemReviewDTOStatusEnum=ya;exports.EvidenceChaserItemDTOStatusEnum=Ea;exports.EvidenceChaserItemDTOTypeEnum=Ca;exports.EvidenceChaserItemRequestDTOPublicationStatusEnum=Va;exports.EvidenceChaserItemRequestsApi=Ki;exports.EvidenceChaserItemRequestsApiAxiosParamCreator=ar;exports.EvidenceChaserItemRequestsApiFactory=Wi;exports.EvidenceChaserItemRequestsApiFp=sr;exports.EvidenceChaserItemResponseDTOPublicationStatusEnum=qa;exports.EvidenceChaserItemResponseDocumentsApi=el;exports.EvidenceChaserItemResponseDocumentsApiAxiosParamCreator=nr;exports.EvidenceChaserItemResponseDocumentsApiFactory=Zi;exports.EvidenceChaserItemResponseDocumentsApiFp=or;exports.EvidenceChaserItemResponsesApi=sl;exports.EvidenceChaserItemResponsesApiAxiosParamCreator=ir;exports.EvidenceChaserItemResponsesApiFactory=al;exports.EvidenceChaserItemResponsesApiFp=lr;exports.EvidenceChaserItemReviewDTOPublicationStatusEnum=va;exports.EvidenceChaserItemReviewDTOStatusEnum=_a;exports.EvidenceChaserItemReviewsApi=ll;exports.EvidenceChaserItemReviewsApiAxiosParamCreator=cr;exports.EvidenceChaserItemReviewsApiFactory=il;exports.EvidenceChaserItemReviewsApiFp=dr;exports.EvidenceChaserItemsApi=pl;exports.EvidenceChaserItemsApiAxiosParamCreator=ur;exports.EvidenceChaserItemsApiFactory=ul;exports.EvidenceChaserItemsApiFp=pr;exports.EvidenceChaserRoundDTOStatusEnum=Ta;exports.EvidenceChaserRoundsApi=Rl;exports.EvidenceChaserRoundsApiAxiosParamCreator=xe;exports.EvidenceChaserRoundsApiFactory=ml;exports.EvidenceChaserRoundsApiFp=Ue;exports.EvidenceChasersApi=fl;exports.EvidenceChasersApiAxiosParamCreator=De;exports.EvidenceChasersApiFactory=Ol;exports.EvidenceChasersApiFp=Le;exports.FeedbackApi=Vl;exports.FeedbackApiAxiosParamCreator=Jr;exports.FeedbackApiFactory=Cl;exports.FeedbackApiFp=Xr;exports.GetMarketRentCalculationDTOPropertyTypeEnum=Sa;exports.HealthApi=vl;exports.HealthApiAxiosParamCreator=hr;exports.HealthApiFactory=_l;exports.HealthApiFp=Ar;exports.IncomingWebhooksApi=Nl;exports.IncomingWebhooksApiAxiosParamCreator=b;exports.IncomingWebhooksApiFactory=bl;exports.IncomingWebhooksApiFp=N;exports.InsuranceClaimDTOStatusEnum=ba;exports.InsuranceClaimsApi=Hl;exports.InsuranceClaimsApiAxiosParamCreator=Be;exports.InsuranceClaimsApiFactory=jl;exports.InsuranceClaimsApiFp=Fe;exports.IntegrationRepositOffersApi=zl;exports.IntegrationRepositOffersApiAxiosParamCreator=Me;exports.IntegrationRepositOffersApiFactory=Yl;exports.IntegrationRepositOffersApiFp=je;exports.IntegratorApi=Xl;exports.IntegratorApiAxiosParamCreator=Zr;exports.IntegratorApiFactory=Jl;exports.IntegratorApiFp=et;exports.IntegratorCommissionApi=rc;exports.IntegratorCommissionApiAxiosParamCreator=rt;exports.IntegratorCommissionApiFactory=ec;exports.IntegratorCommissionApiFp=tt;exports.InternalReportingApi=sc;exports.InternalReportingApiAxiosParamCreator=mr;exports.InternalReportingApiFactory=ac;exports.InternalReportingApiFp=Rr;exports.InternalTeamMemberDTOTeamEnum=Na;exports.InternalTeamMembersApi=lc;exports.InternalTeamMembersApiAxiosParamCreator=at;exports.InternalTeamMembersApiFactory=ic;exports.InternalTeamMembersApiFp=st;exports.KpiDocumentApi=uc;exports.KpiDocumentApiAxiosParamCreator=nt;exports.KpiDocumentApiFactory=dc;exports.KpiDocumentApiFp=ot;exports.LandlordDTOTypeEnum=xa;exports.LandlordsApi=Ac;exports.LandlordsApiAxiosParamCreator=Ir;exports.LandlordsApiFactory=hc;exports.LandlordsApiFp=Pr;exports.MarketRentCalculatorApi=Pc;exports.MarketRentCalculatorApiAxiosParamCreator=it;exports.MarketRentCalculatorApiFactory=Ic;exports.MarketRentCalculatorApiFp=lt;exports.MarketRentCalculatorResponseDTOIncreaseBasisEnum=Ua;exports.MessageQueueApi=fc;exports.MessageQueueApiAxiosParamCreator=ct;exports.MessageQueueApiFactory=Oc;exports.MessageQueueApiFp=dt;exports.MyDepositsOAuthApi=Ec;exports.MyDepositsOAuthApiAxiosParamCreator=H;exports.MyDepositsOAuthApiFactory=yc;exports.MyDepositsOAuthApiFp=G;exports.MyDepositsOnboardingStatusResponseDTOAccountTypeEnum=La;exports.MyDepositsOnboardingStatusResponseDTOOnboardingStatusEnum=Da;exports.NetPromoterScoreApi=bc;exports.NetPromoterScoreApiAxiosParamCreator=ut;exports.NetPromoterScoreApiFactory=Sc;exports.NetPromoterScoreApiFp=pt;exports.NetPromoterScoreDTOCategoryEnum=Fa;exports.NetPromoterScoreDTOSurveyEventEnum=Ba;exports.OfferToTenantRequestDTOTenantsReferenceStatusEnum=Ma;exports.OrderCustomerActionDTOTypeIdEnum=ja;exports.OrderCustomerActionsApi=Uc;exports.OrderCustomerActionsApiAxiosParamCreator=x;exports.OrderCustomerActionsApiFactory=xc;exports.OrderCustomerActionsApiFp=U;exports.OrderCustomersApi=kc;exports.OrderCustomersApiAxiosParamCreator=He;exports.OrderCustomersApiFactory=Gc;exports.OrderCustomersApiFp=Ge;exports.OrderDTOProductIdEnum=Ha;exports.OrderDTORefundHandlingEnum=ka;exports.OrderDTOStatusIdEnum=Ga;exports.OrderManualPaymentBulkImportDTOImportTypeEnum=Qa;exports.OrderManualPaymentBulkImportDTOStatusEnum=Ya;exports.OrderManualPaymentBulkImportRowDTOStatusEnum=za;exports.OrderManualPaymentsApi=Wc;exports.OrderManualPaymentsApiAxiosParamCreator=gr;exports.OrderManualPaymentsApiFactory=$c;exports.OrderManualPaymentsApiFp=Or;exports.OrderWithOrderCustomersDTOProductIdEnum=$a;exports.OrderWithOrderCustomersDTORefundHandlingEnum=Ka;exports.OrderWithOrderCustomersDTOStatusIdEnum=Wa;exports.OrdersApi=Zc;exports.OrdersApiAxiosParamCreator=fr;exports.OrdersApiFactory=Xc;exports.OrdersApiFp=wr;exports.OrganizationAttributesDTOInvoiceCategoryEnum=Ja;exports.OrganizationBankAccountDTOAccountTypeEnum=Xa;exports.OrganizationBankAccountsApi=ad;exports.OrganizationBankAccountsApiAxiosParamCreator=ke;exports.OrganizationBankAccountsApiFactory=td;exports.OrganizationBankAccountsApiFp=Qe;exports.OrganizationDTOOrganizationTypeIdEnum=Za;exports.OrganizationInternalOwnerDTOResponsibleForEnum=es;exports.OrganizationInternalOwnersApi=ld;exports.OrganizationInternalOwnersApiAxiosParamCreator=ht;exports.OrganizationInternalOwnersApiFactory=id;exports.OrganizationInternalOwnersApiFp=At;exports.OrganizationInvitesApi=ud;exports.OrganizationInvitesApiAxiosParamCreator=le;exports.OrganizationInvitesApiFactory=dd;exports.OrganizationInvitesApiFp=ce;exports.OrganizationRecipientDTOGroupEnum=rs;exports.OrganizationRecipientsApi=Pd;exports.OrganizationRecipientsApiAxiosParamCreator=yr;exports.OrganizationRecipientsApiFactory=Id;exports.OrganizationRecipientsApiFp=Er;exports.OrganizationSettingsDTOAllowedTenancyTermTypesEnum=ns;exports.OrganizationSettingsDTOCommissionRuleEnum=as;exports.OrganizationSettingsDTOMaximumPolicyCoverEnum=ss;exports.OrganizationSettingsDTOPricingRuleEnum=ts;exports.OrganizationUserDTORolesEnum=os;exports.OrganizationUsersApi=wd;exports.OrganizationUsersApiAxiosParamCreator=Ye;exports.OrganizationUsersApiFactory=fd;exports.OrganizationUsersApiFp=ze;exports.OrganizationVerticalDTONameEnum=ls;exports.OrganizationVerticalDTOTypeEnum=is;exports.OrganizationWithCashDepositDTOOrganizationTypeIdEnum=cs;exports.OrganizationWithRepositsAndRolesOrganizationTypeIdEnum=ds;exports.OrganizationWithRepositsAndRolesRolesEnum=us;exports.OrganizationWithRolesOrganizationTypeIdEnum=ps;exports.OrganizationWithRolesRolesEnum=hs;exports.OrganizationsApi=qd;exports.OrganizationsApiAxiosParamCreator=g;exports.OrganizationsApiFactory=Vd;exports.OrganizationsApiFp=O;exports.PaymentDetailsResponseDTOCashDepositStatusEnum=As;exports.PaymentMethodChecksRequestDTOCustomerActionTypeEnum=ms;exports.PaymentMethodChecksResponseDTOCvcEnum=Rs;exports.PaymentMethodChecksResponseDTOFundingEnum=gs;exports.PaymentMethodChecksResponseDTONameMatchEnum=Ps;exports.PaymentMethodChecksResponseDTOPostcodeEnum=Is;exports.PaymentPlanActionDTOTypeIdEnum=Os;exports.PaymentPlanActionsApi=tu;exports.PaymentPlanActionsApiAxiosParamCreator=Pe;exports.PaymentPlanActionsApiFactory=ru;exports.PaymentPlanActionsApiFp=ge;exports.PaymentPlanDTOFrequencyEnum=fs;exports.PaymentPlanDTOStatusEnum=ws;exports.PaymentPlanInstalmentDTOStatusEnum=ys;exports.PaymentPlanInstalmentsApi=lu;exports.PaymentPlanInstalmentsApiAxiosParamCreator=$e;exports.PaymentPlanInstalmentsApiFactory=iu;exports.PaymentPlanInstalmentsApiFp=We;exports.PaymentPlansApi=hu;exports.PaymentPlansApiAxiosParamCreator=k;exports.PaymentPlansApiFactory=pu;exports.PaymentPlansApiFp=Q;exports.PlaidWebhookDtoNewPaymentStatusEnum=qs;exports.PlaidWebhookDtoStatusEnum=Vs;exports.PlaidWebhookDtoWebhookCodeEnum=Cs;exports.PlaidWebhookDtoWebhookTypeEnum=Es;exports.PoliciesApi=fu;exports.PoliciesApiAxiosParamCreator=Y;exports.PoliciesApiFactory=Ou;exports.PoliciesApiFp=z;exports.PolicyDTOStatusEnum=_s;exports.PolicyDocumentsApi=vu;exports.PolicyDocumentsApiAxiosParamCreator=Oe;exports.PolicyDocumentsApiFactory=_u;exports.PolicyDocumentsApiFp=fe;exports.PolicyTypeDTOCoverTypeEnum=vs;exports.PreTenancyDocumentsApi=Uu;exports.PreTenancyDocumentsApiAxiosParamCreator=Cr;exports.PreTenancyDocumentsApiFactory=xu;exports.PreTenancyDocumentsApiFp=Vr;exports.PricingApi=Fu;exports.PricingApiAxiosParamCreator=qr;exports.PricingApiFactory=Bu;exports.PricingApiFp=_r;exports.PropertiesApi=Gu;exports.PropertiesApiAxiosParamCreator=Ke;exports.PropertiesApiFactory=Hu;exports.PropertiesApiFp=Je;exports.QueueMessageDTOCronNameEnum=Ss;exports.QueueMessageDTOTypeEnum=Ts;exports.ReconciliationDocumentsApi=$u;exports.ReconciliationDocumentsApiAxiosParamCreator=mt;exports.ReconciliationDocumentsApiFactory=zu;exports.ReconciliationDocumentsApiFp=Rt;exports.ReferenceDTOStatusEnum=bs;exports.ReferenceDocumentsApi=Ju;exports.ReferenceDocumentsApiAxiosParamCreator=we;exports.ReferenceDocumentsApiFactory=Ku;exports.ReferenceDocumentsApiFp=ye;exports.ReferencesApi=ap;exports.ReferencesApiAxiosParamCreator=D;exports.ReferencesApiFactory=tp;exports.ReferencesApiFp=L;exports.RepositAddressDTOCountryEnum=Ns;exports.RepositAgentDTOUserTypeIdEnum=xs;exports.RepositDTOStatusEnum=Us;exports.RepositLandlordDTOLandlordTypeIdEnum=Ds;exports.RepositOfferDTOTenantsReferenceStatusEnum=Ls;exports.RepositOfferRecipientDTOChoiceEnum=Bs;exports.RepositOffersApi=pp;exports.RepositOffersApiAxiosParamCreator=B;exports.RepositOffersApiFactory=up;exports.RepositOffersApiFp=F;exports.RepositPolicyTypeDTOCategoryEnum=Fs;exports.RepositSupplierDTOTypeEnum=Ms;exports.RepositTenantDTOStatusEnum=js;exports.RepositTenantDocumentDTOTypeEnum=Hs;exports.RepositWebhookDTOActionEnum=ks;exports.RepositWebhookDTOResourceTypeEnum=Gs;exports.RepositWebhookTenantDTOStatusEnum=Qs;exports.RepositsApi=fp;exports.RepositsApiAxiosParamCreator=T;exports.RepositsApiFactory=Op;exports.RepositsApiFp=S;exports.RequiredError=h;exports.SearchRepositOfferDTOTenantsReferenceStatusEnum=Ys;exports.SeedCashDepositsApi=Sp;exports.SeedCashDepositsApiAxiosParamCreator=It;exports.SeedCashDepositsApiFactory=Tp;exports.SeedCashDepositsApiFp=Pt;exports.SeedRepositDTOTermTypeEnum=zs;exports.SeedRepositsApi=xp;exports.SeedRepositsApiAxiosParamCreator=gt;exports.SeedRepositsApiFactory=Np;exports.SeedRepositsApiFp=Ot;exports.SubmitFeedbackDTOApplicationEnum=$s;exports.SubmitFeedbackDTOSubjectEnum=Ws;exports.SuppliersApi=Lp;exports.SuppliersApiAxiosParamCreator=vr;exports.SuppliersApiFactory=Dp;exports.SuppliersApiFp=Tr;exports.TenanciesApi=jp;exports.TenanciesApiAxiosParamCreator=C;exports.TenanciesApiFactory=Mp;exports.TenanciesApiFp=V;exports.TenancyAnniversariesApi=sh;exports.TenancyAnniversariesApiAxiosParamCreator=ft;exports.TenancyAnniversariesApiFactory=ah;exports.TenancyAnniversariesApiFp=wt;exports.TenancyCheckoutsApi=ih;exports.TenancyCheckoutsApiAxiosParamCreator=yt;exports.TenancyCheckoutsApiFactory=oh;exports.TenancyCheckoutsApiFp=Et;exports.TenancyDTOTermTypeEnum=Ks;exports.TenancyExpiriesApi=dh;exports.TenancyExpiriesApiAxiosParamCreator=Sr;exports.TenancyExpiriesApiFactory=ch;exports.TenancyExpiriesApiFp=br;exports.TenancyInventoriesApi=Ah;exports.TenancyInventoriesApiAxiosParamCreator=Nr;exports.TenancyInventoriesApiFactory=hh;exports.TenancyInventoriesApiFp=xr;exports.TenancyInventoryRespondentDTOResponseEnum=Js;exports.TenancyInventoryRespondentDTOStageEnum=Xs;exports.TenancyInviteDTORoleIdEnum=Zs;exports.TenancyInvitesApi=Ph;exports.TenancyInvitesApiAxiosParamCreator=$;exports.TenancyInvitesApiFactory=Ih;exports.TenancyInvitesApiFp=W;exports.TenancyOrderNotesApi=Vh;exports.TenancyOrderNotesApiAxiosParamCreator=Ur;exports.TenancyOrderNotesApiFactory=Ch;exports.TenancyOrderNotesApiFp=Dr;exports.TenancyOrdersApi=Th;exports.TenancyOrdersApiAxiosParamCreator=K;exports.TenancyOrdersApiFactory=vh;exports.TenancyOrdersApiFp=J;exports.TenancyUserDTORoleIdEnum=en;exports.TenancyUsersApi=Bh;exports.TenancyUsersApiAxiosParamCreator=Ee;exports.TenancyUsersApiFactory=Lh;exports.TenancyUsersApiFp=Ce;exports.TenancyWithCheckoutAndClaimDTOTermTypeEnum=rn;exports.TenantMoveOutInfoResponseDTOOrgTypeEnum=tn;exports.TenantScheduledMoveOutResponseDTOOrgTypeEnum=an;exports.TenantsApi=kh;exports.TenantsApiAxiosParamCreator=Lr;exports.TenantsApiFactory=Gh;exports.TenantsApiFp=Br;exports.TermsApi=$h;exports.TermsApiAxiosParamCreator=Fr;exports.TermsApiFactory=zh;exports.TermsApiFp=Mr;exports.UpdateClaimItemDTOTypeEnum=sn;exports.UpdateLandlordDTOTypeEnum=nn;exports.UpdateOrganizationDTOOrganizationTypeIdEnum=on;exports.UpdatePolicyStatusDTOStatusEnum=ln;exports.UpdateTenancyRequestDTOTermTypeEnum=cn;exports.UserDTOInternalRolesEnum=un;exports.UserDTOUserTypeIdEnum=dn;exports.UsersApi=Xh;exports.UsersApiAxiosParamCreator=y;exports.UsersApiFactory=Jh;exports.UsersApiFp=E;exports.VerifyPostcodeResponseDTOStatusEnum=pn;exports.WebhooksApi=PA;exports.WebhooksApiAxiosParamCreator=Ct;exports.WebhooksApiFactory=IA;exports.WebhooksApiFp=Vt;exports.aboutYou=Dc;exports.acceptOrganizationInvite=pd;exports.acceptTenancyInvite=gh;exports.acknowledgeCaseSentToInsurer=ci;exports.addAbitrationDocument=_n;exports.addClaimDocument=wo;exports.addClaimDocumentByDocumentId=yo;exports.addClaimItemDocument=No;exports.addClaimItemDocumentByDocumentId=xo;exports.addClaimResponseDocument=ai;exports.addGuarantor=Fh;exports.addItems=wu;exports.addPaymentMethod=Gi;exports.addPolicyDocument=Tu;exports.addPreTenancyDocumentByDocumentId=Du;exports.addReferenceDocument=Xu;exports.addRejectionReason=hp;exports.addTenant=Qh;exports.addressHistory=Lc;exports.agreeClaimProposal=Ko;exports.applyClaimItemCorrection=vo;exports.approveClaim=di;exports.calculateMarketRent=gc;exports.changeInstalmentDates=Au;exports.checkConcurrentTenancy=Mi;exports.closingRemindersEnabled=Hp;exports.completeMyDepositsSetup=Cc;exports.completeOnboardingIntroduction=Zh;exports.confirm=Bc;exports.confirmBankAccounts=_d;exports.confirmPaymentPlan=au;exports.confirmTenancyDetails=uo;exports.counterClaimProposal=Jo;exports.create=sd;exports.createAddress=In;exports.createApplicant=yn;exports.createArbitration=xn;exports.createBulkImport=Zn;exports.createCheckout=lh;exports.createClaim=ui;exports.createClaimActivity=pi;exports.createClaimItem=Qo;exports.createClaimItemProposal=Mo;exports.createDocument=Yi;exports.createEvidenceChaser=wl;exports.createEvidenceChaserItem=hl;exports.createEvidenceChaserItemRequest=Ji;exports.createEvidenceChaserItemResponse=nl;exports.createEvidenceChaserItemResponseDocument=rl;exports.createEvidenceChaserItemReview=cl;exports.createFromS3=zi;exports.createInsuranceClaim=Gl;exports.createInsuranceClaimOnClaim=hi;exports.createIntegrationRepositOffer=$l;exports.createNetPromoterScore=Nc;exports.createOffer=Ap;exports.createOneTimeSessionToken=eA;exports.createOrganization=vd;exports.createOrganizationInvite=hd;exports.createOrganizationRecipient=gd;exports.createPaymentPlan=mu;exports.createPolicy=yu;exports.createProperty=ku;exports.createReference=sp;exports.createReposit=wp;exports.createTemporaryUploadUrl=eo;exports.createTenancy=Gp;exports.createTenancyExpiry=uh;exports.createTenancyInvite=Oh;exports.createTenancyOrder=kp;exports.createTenancyOrderNote=qh;exports.dbHealthCheck=Tl;exports.deactivateClaim=Ai;exports.declineClaim=mi;exports.deferPaymentPlanInstalment=cu;exports.deleteAbitrationDocument=vn;exports.deleteBankAccount=nd;exports.deleteById=Yh;exports.deleteClaim=Ri;exports.deleteClaimDocument=Eo;exports.deleteClaimItem=Yo;exports.deleteClaimItemDocument=Uo;exports.deleteClaimItemProposal=jo;exports.deleteClaimResponseDocument=si;exports.deleteEvidenceChaserItemRequest=Xi;exports.deleteEvidenceChaserItemResponseDocument=tl;exports.deleteGuarantor=Mh;exports.deleteIntegrationRepositOffer=Wl;exports.deleteInvite=Ad;exports.deleteItem=Eu;exports.deleteNote=_h;exports.deleteOffer=mp;exports.deleteOrganizationRecipient=Od;exports.deletePaymentPlanById=Ru;exports.deletePolicyDocument=Su;exports.deletePreTenancyDocument=Lu;exports.deleteReferenceDocument=Zu;exports.deleteTenancyInvite=fh;exports.disableProductCreation=Td;exports.disableTopUps=Qp;exports.disableWarnings=mh;exports.disconnectMyDeposits=Vc;exports.dismissNewProductUpdates=rA;exports.dismissOrganizationMessage=Sd;exports.dismissUserMessage=tA;exports.disputeClaimProposal=Xo;exports.dryRunClaimItemCorrection=To;exports.duplicatePaymentMethodCheck=ed;exports.enableProductCreation=bd;exports.exchangeMyDepositsToken=qc;exports.expireEvidenceChaser=yl;exports.extendOutcomeDeadline=Yp;exports.fetchAddressesByOrganizationId=Nd;exports.fetchInvitesByOrganizationId=md;exports.fetchInvitesByTenancyId=wh;exports.fetchLandlordsByOrganizationId=xd;exports.fetchOrganizationUsersByOrganizationId=Ud;exports.fetchPropertiesByOrganizationId=Dd;exports.fetchTenanciesByOrganizationId=Ld;exports.fetchUsersByOrganizationId=Bd;exports.findAbitrationDocumentById=Tn;exports.findAddressById=Pn;exports.findAll=cc;exports.findApplicantById=En;exports.findCheckById=Po;exports.findClaimById=Ii;exports.findClaimDocumentById=Co;exports.findClaimItemDocumentById=Do;exports.findClaimResponseDocumentById=ni;exports.findManyAbitrationDocuments=Sn;exports.findManyClaimDocuments=Vo;exports.findManyClaimItemDocuments=Lo;exports.findManyClaimResponseDocuments=oi;exports.findManyPolicyDocuments=bu;exports.findManyReferenceDocuments=ep;exports.findOne=Cu;exports.findOneByID=aA;exports.findOrganizationById=Fd;exports.findPolicyDocumentById=Nu;exports.findReferenceById=np;exports.findReferenceDocumentById=rp;exports.generateADRForm=Pi;exports.generateCashDepositPlaidLinkToken=po;exports.generateCommissionCsvForPeriod=Li;exports.generateLastMonthCommission=tc;exports.getActive=zn;exports.getAllBulkImports=ro;exports.getAmountRemaining=rd;exports.getArbitrationById=Un;exports.getBankAccounts=od;exports.getBulkImportById=to;exports.getBulkImportDownloadUrl=ao;exports.getByTenancyId=ph;exports.getCashDepositAmount=Mu;exports.getCashDepositScheme=Md;exports.getChecks=op;exports.getChildren=jd;exports.getCompletedReposits=nc;exports.getCreatedReposits=oc;exports.getCustomer=sA;exports.getDocumentsByIds=$i;exports.getDuplicateRowsCsv=so;exports.getEvidenceChaserById=El;exports.getExampleCsv=no;exports.getFailedRowsCsv=oo;exports.getInstalmentById=du;exports.getInstalmentPaymentIntentSecret=uu;exports.getInsuranceClaim=kl;exports.getIntegrators=Zl;exports.getLandlordById=mc;exports.getMyDepositsAuthorizeUrl=_c;exports.getMyDepositsCompanyOffices=vc;exports.getMyDepositsOnboardingStatus=Tc;exports.getMySupplier=Bp;exports.getOrderCustomerById=Qc;exports.getOrderManualPaymentsByClaimWithBankTransfers=Kc;exports.getOrderManualPaymentsByTenancyOrderWithBankTransfers=Jc;exports.getOrganizationMetrics=Hd;exports.getOrganizationUsers=nA;exports.getOrganizationVerticals=Gd;exports.getOwners=cd;exports.getPaymentDetails=ho;exports.getPaymentPlanAction=su;exports.getPaymentPlanById=Iu;exports.getPaymentPlanPropertyAddressById=Pu;exports.getPropertyById=Qu;exports.getRecipients=kd;exports.getReferenceDocuments=ip;exports.getRepositById=yp;exports.getRepositFee=ju;exports.getRepositLandlord=Ep;exports.getRepositOffer=Rp;exports.getRepositPolicies=Cp;exports.getRepositPrice=Vp;exports.getSetupIntentSecret=gu;exports.getSupplierAgents=Fp;exports.getSupplierTerms=Wh;exports.getTenancyAnniversaries=nh;exports.getTenancyById=zp;exports.getTenancyDocuments=$p;exports.getTenancyOrderById=Sh;exports.getTenancyOrdersByProductId=oA;exports.getTenancyUserById=Yc;exports.getTenantDocuments=qp;exports.getTenantTerms=Kh;exports.getUserAccount=iA;exports.getUserTenancyAnniversaries=lA;exports.grantRoles=yd;exports.healthCheck=Sl;exports.login=Mn;exports.me=cA;exports.notifyIntegrator=Ed;exports.optimisedSearch=bh;exports.optimisedSearchClaim=gi;exports.override=go;exports.pay=Fc;exports.paySupplier=Oi;exports.paymentCardChecks=zc;exports.previewClaimDeletion=fi;exports.processIncomingMessage=wc;exports.processPlaidWebhooks=xl;exports.processSendGridWebhooks=Ul;exports.processStripeOffSessionWebhooks=Dl;exports.processStripeWebhooks=Ll;exports.processTwilioIvrWebhooks=Bl;exports.processTwilioIvrWebhooksWithGatherAction=Fl;exports.processTwilioVoicemailWebhook=Ml;exports.processUploadFile=io;exports.progressIntegrationRepositOffer=Kl;exports.publish=Wp;exports.publishArbitration=Dn;exports.publishClaim=wi;exports.publishClaimProposal=Zo;exports.publishEvidenceChaserRequests=Il;exports.publishEvidenceChaserResponses=Pl;exports.publishEvidenceChaserReviews=gl;exports.publishReposit=_p;exports.readyForArbitrateClaim=yi;exports.readyForReview=lp;exports.redeemOneTimeSessionToken=jn;exports.reference=Mc;exports.removeTenancyOrderById=Nh;exports.removeUser=Qd;exports.reopenClaim=Ei;exports.reopenTenancyOrder=xh;exports.replaceReposit=vp;exports.requestMoreInfoClaim=Ci;exports.resendOrganizationInvite=Rd;exports.resendTenancyInvite=yh;exports.resetPassword=Hn;exports.resetPasswordRequest=Gn;exports.resetUserPassword=dA;exports.resolveClaim=Vi;exports.resolveInsuranceClaim=Ql;exports.respondToOffer=Ip;exports.revokeRoles=Cd;exports.searchAddressesByPostcode=gn;exports.searchKpiDocuments=pc;exports.searchOffers=Pp;exports.searchOrganization=Yd;exports.searchProperties=Yu;exports.searchReconciliationDocuments=Wu;exports.searchReferences=cp;exports.searchUser=uA;exports.seedCashDeposit=bp;exports.seedReposit=Up;exports.sendOverdueChasers=Uh;exports.sendReminder=gp;exports.sendReminderEmail=jh;exports.setLandlordInformationComplete=zd;exports.setPassword=kn;exports.sign=jc;exports.signAddendumForSupplier=Kp;exports.signAddendumForTenant=Hc;exports.signCashDeposit=Ao;exports.skipEvidenceChaser=qi;exports.submitChecks=dp;exports.submitFeedback=ql;exports.submitMoreInfoClaim=_i;exports.tenantConfirmation=Rh;exports.tenantMoveOutInfo=Jp;exports.tenantScheduledMoveOut=Xp;exports.tenantVacated=Zp;exports.transferTenancyOrderToOrganization=Dh;exports.unpublishClaimProposal=ei;exports.updateASTAcceptance=$d;exports.updateAboutMe=pA;exports.updateAddress=nu;exports.updateAddressById=On;exports.updateAddressHistory=hA;exports.updateArbitration=Ln;exports.updateAttributes=Cn;exports.updateAutoCharge=vi;exports.updateBeneficiary=Kn;exports.updateBetaEnabled=AA;exports.updateCardDetails=ou;exports.updateClaim=Ti;exports.updateClaimItem=zo;exports.updateClaimItemProposal=Ho;exports.updateEmailSettings=mA;exports.updateEvidenceChaserItem=Al;exports.updateEvidenceChaserItemResponse=ol;exports.updateEvidenceChaserItemReview=dl;exports.updateExistingProperty=eh;exports.updateGuarantor=Hh;exports.updateInformedLandlords=Wd;exports.updateIntegrationWebhookUrl=gA;exports.updateLandlord=Rc;exports.updateOrganization=Kd;exports.updateOrganizationNotes=Jd;exports.updatePolicy=Vu;exports.updateProperty=rh;exports.updateStatus=qu;exports.updateTenancy=th;exports.updateTenancyInvite=Eh;exports.updateTenantDisputeMessage=Si;exports.updateTermsAccepted=Xd;exports.updateUser=RA;exports.updateYourCompany=Zd;exports.verifyClaim=bi;exports.verifyPostcode=mo;exports.waiveDisputeFee=Ni;exports.welcomeLandlord=eu;exports.zipDocuments=xi;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const p=require("axios"),u="http://localhost".replace(/\/+$/,""),An={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 de=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}}}},ue=function(a){return{createAddress(e,r){const t=de(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=de(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=de(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=de(a).updateAddressById(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}}}},mn=function(a,e,r){return{createAddress(t,s){return ue(a).createAddress(t,s)(r,e)},findAddressById(t,s){return ue(a).findAddressById(t,s)(r,e)},searchAddressesByPostcode(t,s){return ue(a).searchAddressesByPostcode(t,s)(r,e)},updateAddressById(t,s,n){return ue(a).updateAddressById(t,s,n)(r,e)}}};class Rn extends R{createAddress(e,r){return ue(this.configuration).createAddress(e,r)(this.axios,this.basePath)}findAddressById(e,r){return ue(this.configuration).findAddressById(e,r)(this.axios,this.basePath)}searchAddressesByPostcode(e,r){return ue(this.configuration).searchAddressesByPostcode(e,r)(this.axios,this.basePath)}updateAddressById(e,r,t){return ue(this.configuration).updateAddressById(e,r,t)(this.axios,this.basePath)}}async function In(a,e,r=p,t=u,s){const n=de(e).createAddress(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=de(e).findAddressById(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=de(e).searchAddressesByPostcode(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function fn(a,e,r,t=p,s=u,n){const o=de(r).updateAddressById(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}const Ve=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}}}},qe=function(a){return{createApplicant(e,r){const t=Ve(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=Ve(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=Ve(a).updateAttributes(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}}}},On=function(a,e,r){return{createApplicant(t,s){return qe(a).createApplicant(t,s)(r,e)},findApplicantById(t,s){return qe(a).findApplicantById(t,s)(r,e)},updateAttributes(t,s,n){return qe(a).updateAttributes(t,s,n)(r,e)}}};class wn extends R{createApplicant(e,r){return qe(this.configuration).createApplicant(e,r)(this.axios,this.basePath)}findApplicantById(e,r){return qe(this.configuration).findApplicantById(e,r)(this.axios,this.basePath)}updateAttributes(e,r,t){return qe(this.configuration).updateAttributes(e,r,t)(this.axios,this.basePath)}}async function yn(a,e,r=p,t=u,s){const n=Ve(e).createApplicant(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=Ve(e).findApplicantById(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function Cn(a,e,r,t=p,s=u,n){const o=Ve(r).updateAttributes(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}const pe=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}}}},he=function(a){return{addAbitrationDocument(e,r,t,s,n){const o=pe(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=pe(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=pe(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=pe(a).findManyAbitrationDocuments(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}}}},Vn=function(a,e,r){return{addAbitrationDocument(t,s,n,o,i){return he(a).addAbitrationDocument(t,s,n,o,i)(r,e)},deleteAbitrationDocument(t,s,n){return he(a).deleteAbitrationDocument(t,s,n)(r,e)},findAbitrationDocumentById(t,s,n){return he(a).findAbitrationDocumentById(t,s,n)(r,e)},findManyAbitrationDocuments(t,s){return he(a).findManyAbitrationDocuments(t,s)(r,e)}}};class qn extends R{addAbitrationDocument(e,r,t,s,n){return he(this.configuration).addAbitrationDocument(e,r,t,s,n)(this.axios,this.basePath)}deleteAbitrationDocument(e,r,t){return he(this.configuration).deleteAbitrationDocument(e,r,t)(this.axios,this.basePath)}findAbitrationDocumentById(e,r,t){return he(this.configuration).findAbitrationDocumentById(e,r,t)(this.axios,this.basePath)}findManyAbitrationDocuments(e,r){return he(this.configuration).findManyAbitrationDocuments(e,r)(this.axios,this.basePath)}}async function _n(a,e,r,t,s,n=p,o=u,i){const l=pe(s).addAbitrationDocument(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=pe(r).deleteAbitrationDocument(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function Sn(a,e,r,t=p,s=u,n){const o=pe(r).findAbitrationDocumentById(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function bn(a,e,r=p,t=u,s){const n=pe(e).findManyAbitrationDocuments(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}const Ae=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}}}},me=function(a){return{createArbitration(e,r){const t=Ae(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=Ae(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=Ae(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=Ae(a).updateArbitration(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}}}},Tn=function(a,e,r){return{createArbitration(t,s){return me(a).createArbitration(t,s)(r,e)},getArbitrationById(t,s){return me(a).getArbitrationById(t,s)(r,e)},publishArbitration(t,s){return me(a).publishArbitration(t,s)(r,e)},updateArbitration(t,s,n){return me(a).updateArbitration(t,s,n)(r,e)}}};class Nn extends R{createArbitration(e,r){return me(this.configuration).createArbitration(e,r)(this.axios,this.basePath)}getArbitrationById(e,r){return me(this.configuration).getArbitrationById(e,r)(this.axios,this.basePath)}publishArbitration(e,r){return me(this.configuration).publishArbitration(e,r)(this.axios,this.basePath)}updateArbitration(e,r,t){return me(this.configuration).updateArbitration(e,r,t)(this.axios,this.basePath)}}async function xn(a,e,r=p,t=u,s){const n=Ae(e).createArbitration(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function Un(a,e,r=p,t=u,s){const n=Ae(e).getArbitrationById(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function Dn(a,e,r=p,t=u,s){const n=Ae(e).publishArbitration(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function Ln(a,e,r,t=p,s=u,n){const o=Ae(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)}}}},Bn=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 Fn 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 Mn(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 jn(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 Hn(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 Gn(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 kn(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 Fr=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}}}},Mr=function(a){return{getActive(e){const r=Fr(a).getActive(e);return(t=p,s=u)=>{const n={...r.options,url:s+r.url};return t.request(n)}}}},Qn=function(a,e,r){return{getActive(t){return Mr(a).getActive(t)(r,e)}}};class Yn extends R{getActive(e){return Mr(this.configuration).getActive(e)(this.axios,this.basePath)}}async function zn(a,e=p,r=u,t){const s=Fr(a).getActive(t),n={...s.options,url:r+s.url};return(await e.request(n)).data}const jr=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}}}},Hr=function(a){return{updateBeneficiary(e,r,t){const s=jr(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 Hr(a).updateBeneficiary(t,s,n)(r,e)}}};class Wn extends R{updateBeneficiary(e,r,t){return Hr(this.configuration).updateBeneficiary(e,r,t)(this.axios,this.basePath)}}async function Kn(a,e,r,t=p,s=u,n){const o=jr(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}},getDuplicateRowsCsv(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling getDuplicateRowsCsv.");const t="/v2/bulk-imports/{id}/duplicate-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}},getExampleCsv(e,r={}){const t="/v2/bulk-imports/example.csv",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.importType=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}},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,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{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)}},getDuplicateRowsCsv(e,r){const t=_(a).getDuplicateRowsCsv(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},getExampleCsv(e,r){const t=_(a).getExampleCsv(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},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)}}}},Jn=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)},getDuplicateRowsCsv(t,s){return v(a).getDuplicateRowsCsv(t,s)(r,e)},getExampleCsv(t,s){return v(a).getExampleCsv(t,s)(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 Xn 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)}getDuplicateRowsCsv(e,r){return v(this.configuration).getDuplicateRowsCsv(e,r)(this.axios,this.basePath)}getExampleCsv(e,r){return v(this.configuration).getExampleCsv(e,r)(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 Zn(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 eo(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 ro(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 to(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 ao(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 so(a,e,r=p,t=u,s){const n=_(e).getDuplicateRowsCsv(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function no(a,e,r=p,t=u,s){const n=_(e).getExampleCsv(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function oo(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 io(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)}}}},lo=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 co 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 uo(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 po(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 ho(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 Ao(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 mo(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 Ze=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}}}},er=function(a){return{findCheckById(e,r){const t=Ze(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=Ze(a).override(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}}}},Ro=function(a,e,r){return{findCheckById(t,s){return er(a).findCheckById(t,s)(r,e)},override(t,s){return er(a).override(t,s)(r,e)}}};class Io extends R{findCheckById(e,r){return er(this.configuration).findCheckById(e,r)(this.axios,this.basePath)}override(e,r){return er(this.configuration).override(e,r)(this.axios,this.basePath)}}async function Po(a,e,r=p,t=u,s){const n=Ze(e).findCheckById(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=Ze(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={},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}}}},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)}}}},fo=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 Oo 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 wo(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 yo(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 Eo(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 Co(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 Vo(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 rr=function(a){return{applyClaimItemCorrection(e,r,t={}){if(e==null)throw new h("claimItemId","Required parameter claimItemId was null or undefined when calling applyClaimItemCorrection.");if(r==null)throw new h("updateClaimItemCorrectionDTO","Required parameter updateClaimItemCorrectionDTO was null or undefined when calling applyClaimItemCorrection.");const s="/v2/claim-item-corrections/{claimItemId}".replace("{claimItemId}",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}},dryRunClaimItemCorrection(e,r,t={}){if(e==null)throw new h("claimItemId","Required parameter claimItemId was null or undefined when calling dryRunClaimItemCorrection.");if(r==null)throw new h("updateClaimItemCorrectionDTO","Required parameter updateClaimItemCorrectionDTO was null or undefined when calling dryRunClaimItemCorrection.");const s="/v2/claim-item-corrections/{claimItemId}/dry-run".replace("{claimItemId}",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}}}},tr=function(a){return{applyClaimItemCorrection(e,r,t){const s=rr(a).applyClaimItemCorrection(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},dryRunClaimItemCorrection(e,r,t){const s=rr(a).dryRunClaimItemCorrection(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}}}},qo=function(a,e,r){return{applyClaimItemCorrection(t,s,n){return tr(a).applyClaimItemCorrection(t,s,n)(r,e)},dryRunClaimItemCorrection(t,s,n){return tr(a).dryRunClaimItemCorrection(t,s,n)(r,e)}}};class _o extends R{applyClaimItemCorrection(e,r,t){return tr(this.configuration).applyClaimItemCorrection(e,r,t)(this.axios,this.basePath)}dryRunClaimItemCorrection(e,r,t){return tr(this.configuration).dryRunClaimItemCorrection(e,r,t)(this.axios,this.basePath)}}async function vo(a,e,r,t=p,s=u,n){const o=rr(r).applyClaimItemCorrection(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=rr(r).dryRunClaimItemCorrection(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).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 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,H])=>{H!==void 0&&d.searchParams.set(q,String(H))}),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}}}},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 A={...l.options,url:c+l.url};return d.request(A)}},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)}}}},bo=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 To 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 No(a,e,r,t,s,n,o,i=p,l=u,d){const c=se(o).addClaimItemDocument(a,e,r,t,s,n,d),A={...c.options,url:l+c.url};return(await i.request(A)).data}async function xo(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 Uo(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 Do(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 Lo(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 _e=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}}}},ve=function(a){return{createClaimItemProposal(e,r,t,s){const n=_e(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=_e(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=_e(a).updateClaimItemProposal(e,r,t,s,n);return(i=p,l=u)=>{const d={...o.options,url:l+o.url};return i.request(d)}}}},Bo=function(a,e,r){return{createClaimItemProposal(t,s,n,o){return ve(a).createClaimItemProposal(t,s,n,o)(r,e)},deleteClaimItemProposal(t,s,n,o){return ve(a).deleteClaimItemProposal(t,s,n,o)(r,e)},updateClaimItemProposal(t,s,n,o,i){return ve(a).updateClaimItemProposal(t,s,n,o,i)(r,e)}}};class Fo extends R{createClaimItemProposal(e,r,t,s){return ve(this.configuration).createClaimItemProposal(e,r,t,s)(this.axios,this.basePath)}deleteClaimItemProposal(e,r,t,s){return ve(this.configuration).deleteClaimItemProposal(e,r,t,s)(this.axios,this.basePath)}updateClaimItemProposal(e,r,t,s,n){return ve(this.configuration).updateClaimItemProposal(e,r,t,s,n)(this.axios,this.basePath)}}async function Mo(a,e,r,t,s=p,n=u,o){const i=_e(t).createClaimItemProposal(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=_e(t).deleteClaimItemProposal(a,e,r,o),l={...i.options,url:n+i.url};return(await s.request(l)).data}async function Ho(a,e,r,t,s,n=p,o=u,i){const l=_e(s).updateClaimItemProposal(a,e,r,t,i),d={...l.options,url:o+l.url};return(await n.request(d)).data}const Se=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}}}},be=function(a){return{createClaimItem(e,r,t){const s=Se(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=Se(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=Se(a).updateClaimItem(e,r,t,s);return(o=p,i=u)=>{const l={...n.options,url:i+n.url};return o.request(l)}}}},Go=function(a,e,r){return{createClaimItem(t,s,n){return be(a).createClaimItem(t,s,n)(r,e)},deleteClaimItem(t,s,n){return be(a).deleteClaimItem(t,s,n)(r,e)},updateClaimItem(t,s,n,o){return be(a).updateClaimItem(t,s,n,o)(r,e)}}};class ko extends R{createClaimItem(e,r,t){return be(this.configuration).createClaimItem(e,r,t)(this.axios,this.basePath)}deleteClaimItem(e,r,t){return be(this.configuration).deleteClaimItem(e,r,t)(this.axios,this.basePath)}updateClaimItem(e,r,t,s){return be(this.configuration).updateClaimItem(e,r,t,s)(this.axios,this.basePath)}}async function Qo(a,e,r,t=p,s=u,n){const o=Se(r).createClaimItem(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function Yo(a,e,r,t=p,s=u,n){const o=Se(r).deleteClaimItem(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function zo(a,e,r,t,s=p,n=u,o){const i=Se(t).updateClaimItem(a,e,r,o),l={...i.options,url:n+i.url};return(await s.request(l)).data}const oe=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}}}},ie=function(a){return{agreeClaimProposal(e,r,t){const s=oe(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=oe(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=oe(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=oe(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=oe(a).unpublishClaimProposal(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}}}},$o=function(a,e,r){return{agreeClaimProposal(t,s,n){return ie(a).agreeClaimProposal(t,s,n)(r,e)},counterClaimProposal(t,s,n){return ie(a).counterClaimProposal(t,s,n)(r,e)},disputeClaimProposal(t,s,n){return ie(a).disputeClaimProposal(t,s,n)(r,e)},publishClaimProposal(t,s,n){return ie(a).publishClaimProposal(t,s,n)(r,e)},unpublishClaimProposal(t,s,n){return ie(a).unpublishClaimProposal(t,s,n)(r,e)}}};class Wo extends R{agreeClaimProposal(e,r,t){return ie(this.configuration).agreeClaimProposal(e,r,t)(this.axios,this.basePath)}counterClaimProposal(e,r,t){return ie(this.configuration).counterClaimProposal(e,r,t)(this.axios,this.basePath)}disputeClaimProposal(e,r,t){return ie(this.configuration).disputeClaimProposal(e,r,t)(this.axios,this.basePath)}publishClaimProposal(e,r,t){return ie(this.configuration).publishClaimProposal(e,r,t)(this.axios,this.basePath)}unpublishClaimProposal(e,r,t){return ie(this.configuration).unpublishClaimProposal(e,r,t)(this.axios,this.basePath)}}async function Ko(a,e,r,t=p,s=u,n){const o=oe(r).agreeClaimProposal(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function Jo(a,e,r,t=p,s=u,n){const o=oe(r).counterClaimProposal(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function Xo(a,e,r,t=p,s=u,n){const o=oe(r).disputeClaimProposal(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function Zo(a,e,r,t=p,s=u,n){const o=oe(r).publishClaimProposal(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=oe(r).unpublishClaimProposal(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}const Re=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}}}},Ie=function(a){return{addClaimResponseDocument(e,r,t,s,n){const o=Re(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=Re(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=Re(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=Re(a).findManyClaimResponseDocuments(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{addClaimResponseDocument(t,s,n,o,i){return Ie(a).addClaimResponseDocument(t,s,n,o,i)(r,e)},deleteClaimResponseDocument(t,s,n){return Ie(a).deleteClaimResponseDocument(t,s,n)(r,e)},findClaimResponseDocumentById(t,s,n){return Ie(a).findClaimResponseDocumentById(t,s,n)(r,e)},findManyClaimResponseDocuments(t,s){return Ie(a).findManyClaimResponseDocuments(t,s)(r,e)}}};class ti extends R{addClaimResponseDocument(e,r,t,s,n){return Ie(this.configuration).addClaimResponseDocument(e,r,t,s,n)(this.axios,this.basePath)}deleteClaimResponseDocument(e,r,t){return Ie(this.configuration).deleteClaimResponseDocument(e,r,t)(this.axios,this.basePath)}findClaimResponseDocumentById(e,r,t){return Ie(this.configuration).findClaimResponseDocumentById(e,r,t)(this.axios,this.basePath)}findManyClaimResponseDocuments(e,r){return Ie(this.configuration).findManyClaimResponseDocuments(e,r)(this.axios,this.basePath)}}async function ai(a,e,r,t,s,n=p,o=u,i){const l=Re(s).addClaimResponseDocument(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=p,s=u,n){const o=Re(r).deleteClaimResponseDocument(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=Re(r).findClaimResponseDocumentById(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function oi(a,e,r=p,t=u,s){const n=Re(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,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}},deleteClaim(e,r={}){if(e==null)throw new h("claimId","Required parameter claimId was null or undefined when calling deleteClaim.");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:"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}},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,H])=>{H!==void 0&&c.searchParams.set(q,String(H))}),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}},previewClaimDeletion(e,r={}){if(e==null)throw new h("claimId","Required parameter claimId was null or undefined when calling previewClaimDeletion.");const t="/v2/claims/{claimId}/deletion-preview".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}},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}}}},w=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)}},deleteClaim(e,r){const t=O(a).deleteClaim(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,A=u)=>{const m={...d.options,url:A+d.url};return c.request(m)}},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)}},previewClaimDeletion(e,r){const t=O(a).previewClaimDeletion(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},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)}}}},ii=function(a,e,r){return{acknowledgeCaseSentToInsurer(t,s){return w(a).acknowledgeCaseSentToInsurer(t,s)(r,e)},approveClaim(t,s){return w(a).approveClaim(t,s)(r,e)},createClaim(t,s){return w(a).createClaim(t,s)(r,e)},createClaimActivity(t,s,n){return w(a).createClaimActivity(t,s,n)(r,e)},createInsuranceClaimOnClaim(t,s){return w(a).createInsuranceClaimOnClaim(t,s)(r,e)},deactivateClaim(t,s,n){return w(a).deactivateClaim(t,s,n)(r,e)},declineClaim(t,s){return w(a).declineClaim(t,s)(r,e)},deleteClaim(t,s){return w(a).deleteClaim(t,s)(r,e)},findClaimById(t,s){return w(a).findClaimById(t,s)(r,e)},generateADRForm(t,s){return w(a).generateADRForm(t,s)(r,e)},optimisedSearchClaim(t,s,n,o,i,l,d,c){return w(a).optimisedSearchClaim(t,s,n,o,i,l,d,c)(r,e)},paySupplier(t,s,n){return w(a).paySupplier(t,s,n)(r,e)},previewClaimDeletion(t,s){return w(a).previewClaimDeletion(t,s)(r,e)},publishClaim(t,s){return w(a).publishClaim(t,s)(r,e)},readyForArbitrateClaim(t,s){return w(a).readyForArbitrateClaim(t,s)(r,e)},reopenClaim(t,s,n){return w(a).reopenClaim(t,s,n)(r,e)},requestMoreInfoClaim(t,s,n){return w(a).requestMoreInfoClaim(t,s,n)(r,e)},resolveClaim(t,s,n){return w(a).resolveClaim(t,s,n)(r,e)},skipEvidenceChaser(t,s){return w(a).skipEvidenceChaser(t,s)(r,e)},submitMoreInfoClaim(t,s,n){return w(a).submitMoreInfoClaim(t,s,n)(r,e)},updateAutoCharge(t,s,n){return w(a).updateAutoCharge(t,s,n)(r,e)},updateClaim(t,s,n){return w(a).updateClaim(t,s,n)(r,e)},updateTenantDisputeMessage(t,s,n){return w(a).updateTenantDisputeMessage(t,s,n)(r,e)},verifyClaim(t,s){return w(a).verifyClaim(t,s)(r,e)},waiveDisputeFee(t,s){return w(a).waiveDisputeFee(t,s)(r,e)},zipDocuments(t,s,n){return w(a).zipDocuments(t,s,n)(r,e)}}};class li extends R{acknowledgeCaseSentToInsurer(e,r){return w(this.configuration).acknowledgeCaseSentToInsurer(e,r)(this.axios,this.basePath)}approveClaim(e,r){return w(this.configuration).approveClaim(e,r)(this.axios,this.basePath)}createClaim(e,r){return w(this.configuration).createClaim(e,r)(this.axios,this.basePath)}createClaimActivity(e,r,t){return w(this.configuration).createClaimActivity(e,r,t)(this.axios,this.basePath)}createInsuranceClaimOnClaim(e,r){return w(this.configuration).createInsuranceClaimOnClaim(e,r)(this.axios,this.basePath)}deactivateClaim(e,r,t){return w(this.configuration).deactivateClaim(e,r,t)(this.axios,this.basePath)}declineClaim(e,r){return w(this.configuration).declineClaim(e,r)(this.axios,this.basePath)}deleteClaim(e,r){return w(this.configuration).deleteClaim(e,r)(this.axios,this.basePath)}findClaimById(e,r){return w(this.configuration).findClaimById(e,r)(this.axios,this.basePath)}generateADRForm(e,r){return w(this.configuration).generateADRForm(e,r)(this.axios,this.basePath)}optimisedSearchClaim(e,r,t,s,n,o,i,l){return w(this.configuration).optimisedSearchClaim(e,r,t,s,n,o,i,l)(this.axios,this.basePath)}paySupplier(e,r,t){return w(this.configuration).paySupplier(e,r,t)(this.axios,this.basePath)}previewClaimDeletion(e,r){return w(this.configuration).previewClaimDeletion(e,r)(this.axios,this.basePath)}publishClaim(e,r){return w(this.configuration).publishClaim(e,r)(this.axios,this.basePath)}readyForArbitrateClaim(e,r){return w(this.configuration).readyForArbitrateClaim(e,r)(this.axios,this.basePath)}reopenClaim(e,r,t){return w(this.configuration).reopenClaim(e,r,t)(this.axios,this.basePath)}requestMoreInfoClaim(e,r,t){return w(this.configuration).requestMoreInfoClaim(e,r,t)(this.axios,this.basePath)}resolveClaim(e,r,t){return w(this.configuration).resolveClaim(e,r,t)(this.axios,this.basePath)}skipEvidenceChaser(e,r){return w(this.configuration).skipEvidenceChaser(e,r)(this.axios,this.basePath)}submitMoreInfoClaim(e,r,t){return w(this.configuration).submitMoreInfoClaim(e,r,t)(this.axios,this.basePath)}updateAutoCharge(e,r,t){return w(this.configuration).updateAutoCharge(e,r,t)(this.axios,this.basePath)}updateClaim(e,r,t){return w(this.configuration).updateClaim(e,r,t)(this.axios,this.basePath)}updateTenantDisputeMessage(e,r,t){return w(this.configuration).updateTenantDisputeMessage(e,r,t)(this.axios,this.basePath)}verifyClaim(e,r){return w(this.configuration).verifyClaim(e,r)(this.axios,this.basePath)}waiveDisputeFee(e,r){return w(this.configuration).waiveDisputeFee(e,r)(this.axios,this.basePath)}zipDocuments(e,r,t){return w(this.configuration).zipDocuments(e,r,t)(this.axios,this.basePath)}}async function ci(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 di(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 ui(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 pi(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 hi(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 Ai(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 mi(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 Ri(a,e,r=p,t=u,s){const n=O(e).deleteClaim(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function Ii(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 Pi(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 gi(a,e,r,t,s,n,o,i,l=p,d=u,c){const A=O(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 fi(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 Oi(a,e,r=p,t=u,s){const n=O(e).previewClaimDeletion(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function wi(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 yi(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 Ei(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 Ci(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 Vi(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 qi(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 _i(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 vi(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 Si(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 bi(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 Ti(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 Ni(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 xi(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 Gr=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}}}},kr=function(a){return{generateCommissionCsvForPeriod(e,r){const t=Gr(a).generateCommissionCsvForPeriod(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}}}},Ui=function(a,e,r){return{generateCommissionCsvForPeriod(t,s){return kr(a).generateCommissionCsvForPeriod(t,s)(r,e)}}};class Di extends R{generateCommissionCsvForPeriod(e,r){return kr(this.configuration).generateCommissionCsvForPeriod(e,r)(this.axios,this.basePath)}}async function Li(a,e,r=p,t=u,s){const n=Gr(e).generateCommissionCsvForPeriod(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}const Qr=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}}}},Yr=function(a){return{checkConcurrentTenancy(e,r){const t=Qr(a).checkConcurrentTenancy(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{checkConcurrentTenancy(t,s){return Yr(a).checkConcurrentTenancy(t,s)(r,e)}}};class Fi extends R{checkConcurrentTenancy(e,r){return Yr(this.configuration).checkConcurrentTenancy(e,r)(this.axios,this.basePath)}}async function Mi(a,e,r=p,t=u,s){const n=Qr(e).checkConcurrentTenancy(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}const zr=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}}}},$r=function(a){return{addPaymentMethod(e,r){const t=zr(a).addPaymentMethod(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}}}},ji=function(a,e,r){return{addPaymentMethod(t,s){return $r(a).addPaymentMethod(t,s)(r,e)}}};class Hi extends R{addPaymentMethod(e,r){return $r(this.configuration).addPaymentMethod(e,r)(this.axios,this.basePath)}}async function Gi(a,e,r=p,t=u,s){const n=zr(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={},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}}}},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)}}}},ki=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 Qi 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 Yi(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 zi(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 $i(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 ar=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}}}},sr=function(a){return{createEvidenceChaserItemRequest(e,r,t,s){const n=ar(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=ar(a).deleteEvidenceChaserItemRequest(e,r,t,s);return(o=p,i=u)=>{const l={...n.options,url:i+n.url};return o.request(l)}}}},Wi=function(a,e,r){return{createEvidenceChaserItemRequest(t,s,n,o){return sr(a).createEvidenceChaserItemRequest(t,s,n,o)(r,e)},deleteEvidenceChaserItemRequest(t,s,n,o){return sr(a).deleteEvidenceChaserItemRequest(t,s,n,o)(r,e)}}};class Ki extends R{createEvidenceChaserItemRequest(e,r,t,s){return sr(this.configuration).createEvidenceChaserItemRequest(e,r,t,s)(this.axios,this.basePath)}deleteEvidenceChaserItemRequest(e,r,t,s){return sr(this.configuration).deleteEvidenceChaserItemRequest(e,r,t,s)(this.axios,this.basePath)}}async function Ji(a,e,r,t,s=p,n=u,o){const i=ar(t).createEvidenceChaserItemRequest(a,e,r,o),l={...i.options,url:n+i.url};return(await s.request(l)).data}async function Xi(a,e,r,t,s=p,n=u,o){const i=ar(t).deleteEvidenceChaserItemRequest(a,e,r,o),l={...i.options,url:n+i.url};return(await s.request(l)).data}const nr=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}}}},or=function(a){return{createEvidenceChaserItemResponseDocument(e,r,t,s,n,o){const i=nr(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=nr(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)}}}},Zi=function(a,e,r){return{createEvidenceChaserItemResponseDocument(t,s,n,o,i,l){return or(a).createEvidenceChaserItemResponseDocument(t,s,n,o,i,l)(r,e)},deleteEvidenceChaserItemResponseDocument(t,s,n,o,i,l){return or(a).deleteEvidenceChaserItemResponseDocument(t,s,n,o,i,l)(r,e)}}};class el extends R{createEvidenceChaserItemResponseDocument(e,r,t,s,n,o){return or(this.configuration).createEvidenceChaserItemResponseDocument(e,r,t,s,n,o)(this.axios,this.basePath)}deleteEvidenceChaserItemResponseDocument(e,r,t,s,n,o){return or(this.configuration).deleteEvidenceChaserItemResponseDocument(e,r,t,s,n,o)(this.axios,this.basePath)}}async function rl(a,e,r,t,s,n,o=p,i=u,l){const d=nr(n).createEvidenceChaserItemResponseDocument(a,e,r,t,s,l),c={...d.options,url:i+d.url};return(await o.request(c)).data}async function tl(a,e,r,t,s,n,o=p,i=u,l){const d=nr(n).deleteEvidenceChaserItemResponseDocument(a,e,r,t,s,l),c={...d.options,url:i+d.url};return(await o.request(c)).data}const ir=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}}}},lr=function(a){return{createEvidenceChaserItemResponse(e,r,t,s,n){const o=ir(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=ir(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)}}}},al=function(a,e,r){return{createEvidenceChaserItemResponse(t,s,n,o,i){return lr(a).createEvidenceChaserItemResponse(t,s,n,o,i)(r,e)},updateEvidenceChaserItemResponse(t,s,n,o,i,l){return lr(a).updateEvidenceChaserItemResponse(t,s,n,o,i,l)(r,e)}}};class sl extends R{createEvidenceChaserItemResponse(e,r,t,s,n){return lr(this.configuration).createEvidenceChaserItemResponse(e,r,t,s,n)(this.axios,this.basePath)}updateEvidenceChaserItemResponse(e,r,t,s,n,o){return lr(this.configuration).updateEvidenceChaserItemResponse(e,r,t,s,n,o)(this.axios,this.basePath)}}async function nl(a,e,r,t,s,n=p,o=u,i){const l=ir(s).createEvidenceChaserItemResponse(a,e,r,t,i),d={...l.options,url:o+l.url};return(await n.request(d)).data}async function ol(a,e,r,t,s,n,o=p,i=u,l){const d=ir(n).updateEvidenceChaserItemResponse(a,e,r,t,s,l),c={...d.options,url:i+d.url};return(await o.request(c)).data}const cr=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}}}},dr=function(a){return{createEvidenceChaserItemReview(e,r,t,s,n,o){const i=cr(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=cr(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)}}}},il=function(a,e,r){return{createEvidenceChaserItemReview(t,s,n,o,i,l){return dr(a).createEvidenceChaserItemReview(t,s,n,o,i,l)(r,e)},updateEvidenceChaserItemReview(t,s,n,o,i,l,d){return dr(a).updateEvidenceChaserItemReview(t,s,n,o,i,l,d)(r,e)}}};class ll extends R{createEvidenceChaserItemReview(e,r,t,s,n,o){return dr(this.configuration).createEvidenceChaserItemReview(e,r,t,s,n,o)(this.axios,this.basePath)}updateEvidenceChaserItemReview(e,r,t,s,n,o,i){return dr(this.configuration).updateEvidenceChaserItemReview(e,r,t,s,n,o,i)(this.axios,this.basePath)}}async function cl(a,e,r,t,s,n,o=p,i=u,l){const d=cr(n).createEvidenceChaserItemReview(a,e,r,t,s,l),c={...d.options,url:i+d.url};return(await o.request(c)).data}async function dl(a,e,r,t,s,n,o,i=p,l=u,d){const c=cr(o).updateEvidenceChaserItemReview(a,e,r,t,s,n,d),A={...c.options,url:l+c.url};return(await i.request(A)).data}const ur=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}}}},pr=function(a){return{createEvidenceChaserItem(e,r,t){const s=ur(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=ur(a).updateEvidenceChaserItem(e,r,t,s);return(o=p,i=u)=>{const l={...n.options,url:i+n.url};return o.request(l)}}}},ul=function(a,e,r){return{createEvidenceChaserItem(t,s,n){return pr(a).createEvidenceChaserItem(t,s,n)(r,e)},updateEvidenceChaserItem(t,s,n,o){return pr(a).updateEvidenceChaserItem(t,s,n,o)(r,e)}}};class pl extends R{createEvidenceChaserItem(e,r,t){return pr(this.configuration).createEvidenceChaserItem(e,r,t)(this.axios,this.basePath)}updateEvidenceChaserItem(e,r,t,s){return pr(this.configuration).updateEvidenceChaserItem(e,r,t,s)(this.axios,this.basePath)}}async function hl(a,e,r,t=p,s=u,n){const o=ur(r).createEvidenceChaserItem(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function Al(a,e,r,t,s=p,n=u,o){const i=ur(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,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}}}},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)}}}},ml=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 Rl 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 Il(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 Pl(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 gl(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,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}}}},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)}}}},fl=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 Ol 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 wl(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 yl(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 El(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 Wr=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}}}},Kr=function(a){return{submitFeedback(e,r){const t=Wr(a).submitFeedback(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{submitFeedback(t,s){return Kr(a).submitFeedback(t,s)(r,e)}}};class Vl extends R{submitFeedback(e,r){return Kr(this.configuration).submitFeedback(e,r)(this.axios,this.basePath)}}async function ql(a,e,r=p,t=u,s){const n=Wr(e).submitFeedback(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}const hr=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}}}},Ar=function(a){return{dbHealthCheck(e){const r=hr(a).dbHealthCheck(e);return(t=p,s=u)=>{const n={...r.options,url:s+r.url};return t.request(n)}},healthCheck(e){const r=hr(a).healthCheck(e);return(t=p,s=u)=>{const n={...r.options,url:s+r.url};return t.request(n)}}}},_l=function(a,e,r){return{dbHealthCheck(t){return Ar(a).dbHealthCheck(t)(r,e)},healthCheck(t){return Ar(a).healthCheck(t)(r,e)}}};class vl extends R{dbHealthCheck(e){return Ar(this.configuration).dbHealthCheck(e)(this.axios,this.basePath)}healthCheck(e){return Ar(this.configuration).healthCheck(e)(this.axios,this.basePath)}}async function Sl(a,e=p,r=u,t){const s=hr(a).dbHealthCheck(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=hr(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,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}}}},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)}}}},Tl=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 Nl 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 xl(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 Ul(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 Dl(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 Ll(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 Bl(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 Fl(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 Ml(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,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}}}},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)}}}},jl=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 Hl 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 Gl(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 kl(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 Ql(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 Me=function(a){return{createIntegrationRepositOffer(e,r={}){if(e==null)throw new h("createIntegrationRepositOfferDTO","Required parameter createIntegrationRepositOfferDTO was null or undefined when calling createIntegrationRepositOffer.");const t="/v2/integration/reposits/offers",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}},deleteIntegrationRepositOffer(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling deleteIntegrationRepositOffer.");const t="/v2/integration/reposits/offers/{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}},progressIntegrationRepositOffer(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling progressIntegrationRepositOffer.");const t="/v2/integration/reposits/offers/{id}/progress".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}}}},je=function(a){return{createIntegrationRepositOffer(e,r){const t=Me(a).createIntegrationRepositOffer(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},deleteIntegrationRepositOffer(e,r){const t=Me(a).deleteIntegrationRepositOffer(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},progressIntegrationRepositOffer(e,r){const t=Me(a).progressIntegrationRepositOffer(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}}}},Yl=function(a,e,r){return{createIntegrationRepositOffer(t,s){return je(a).createIntegrationRepositOffer(t,s)(r,e)},deleteIntegrationRepositOffer(t,s){return je(a).deleteIntegrationRepositOffer(t,s)(r,e)},progressIntegrationRepositOffer(t,s){return je(a).progressIntegrationRepositOffer(t,s)(r,e)}}};class zl extends R{createIntegrationRepositOffer(e,r){return je(this.configuration).createIntegrationRepositOffer(e,r)(this.axios,this.basePath)}deleteIntegrationRepositOffer(e,r){return je(this.configuration).deleteIntegrationRepositOffer(e,r)(this.axios,this.basePath)}progressIntegrationRepositOffer(e,r){return je(this.configuration).progressIntegrationRepositOffer(e,r)(this.axios,this.basePath)}}async function $l(a,e,r=p,t=u,s){const n=Me(e).createIntegrationRepositOffer(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=Me(e).deleteIntegrationRepositOffer(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=Me(e).progressIntegrationRepositOffer(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}const Jr=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}}}},Xr=function(a){return{getIntegrators(e){const r=Jr(a).getIntegrators(e);return(t=p,s=u)=>{const n={...r.options,url:s+r.url};return t.request(n)}}}},Jl=function(a,e,r){return{getIntegrators(t){return Xr(a).getIntegrators(t)(r,e)}}};class Xl extends R{getIntegrators(e){return Xr(this.configuration).getIntegrators(e)(this.axios,this.basePath)}}async function Zl(a,e=p,r=u,t){const s=Jr(a).getIntegrators(t),n={...s.options,url:r+s.url};return(await e.request(n)).data}const Zr=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}}}},et=function(a){return{generateLastMonthCommission(e,r){const t=Zr(a).generateLastMonthCommission(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{generateLastMonthCommission(t,s){return et(a).generateLastMonthCommission(t,s)(r,e)}}};class rc extends R{generateLastMonthCommission(e,r){return et(this.configuration).generateLastMonthCommission(e,r)(this.axios,this.basePath)}}async function tc(a,e,r=p,t=u,s){const n=Zr(e).generateLastMonthCommission(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}const mr=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}}}},Rr=function(a){return{getCompletedReposits(e){const r=mr(a).getCompletedReposits(e);return(t=p,s=u)=>{const n={...r.options,url:s+r.url};return t.request(n)}},getCreatedReposits(e){const r=mr(a).getCreatedReposits(e);return(t=p,s=u)=>{const n={...r.options,url:s+r.url};return t.request(n)}}}},ac=function(a,e,r){return{getCompletedReposits(t){return Rr(a).getCompletedReposits(t)(r,e)},getCreatedReposits(t){return Rr(a).getCreatedReposits(t)(r,e)}}};class sc extends R{getCompletedReposits(e){return Rr(this.configuration).getCompletedReposits(e)(this.axios,this.basePath)}getCreatedReposits(e){return Rr(this.configuration).getCreatedReposits(e)(this.axios,this.basePath)}}async function nc(a,e=p,r=u,t){const s=mr(a).getCompletedReposits(t),n={...s.options,url:r+s.url};return(await e.request(n)).data}async function oc(a,e=p,r=u,t){const s=mr(a).getCreatedReposits(t),n={...s.options,url:r+s.url};return(await e.request(n)).data}const rt=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}}}},tt=function(a){return{findAll(e){const r=rt(a).findAll(e);return(t=p,s=u)=>{const n={...r.options,url:s+r.url};return t.request(n)}}}},ic=function(a,e,r){return{findAll(t){return tt(a).findAll(t)(r,e)}}};class lc extends R{findAll(e){return tt(this.configuration).findAll(e)(this.axios,this.basePath)}}async function cc(a,e=p,r=u,t){const s=rt(a).findAll(t),n={...s.options,url:r+s.url};return(await e.request(n)).data}const at=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}}}},st=function(a){return{searchKpiDocuments(e,r,t,s,n){const o=at(a).searchKpiDocuments(e,r,t,s,n);return(i=p,l=u)=>{const d={...o.options,url:l+o.url};return i.request(d)}}}},dc=function(a,e,r){return{searchKpiDocuments(t,s,n,o,i){return st(a).searchKpiDocuments(t,s,n,o,i)(r,e)}}};class uc extends R{searchKpiDocuments(e,r,t,s,n){return st(this.configuration).searchKpiDocuments(e,r,t,s,n)(this.axios,this.basePath)}}async function pc(a,e,r,t,s,n=p,o=u,i){const l=at(s).searchKpiDocuments(a,e,r,t,i),d={...l.options,url:o+l.url};return(await n.request(d)).data}const Ir=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}}}},Pr=function(a){return{getLandlordById(e,r){const t=Ir(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=Ir(a).updateLandlord(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}}}},hc=function(a,e,r){return{getLandlordById(t,s){return Pr(a).getLandlordById(t,s)(r,e)},updateLandlord(t,s,n){return Pr(a).updateLandlord(t,s,n)(r,e)}}};class Ac extends R{getLandlordById(e,r){return Pr(this.configuration).getLandlordById(e,r)(this.axios,this.basePath)}updateLandlord(e,r,t){return Pr(this.configuration).updateLandlord(e,r,t)(this.axios,this.basePath)}}async function mc(a,e,r=p,t=u,s){const n=Ir(e).getLandlordById(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function Rc(a,e,r,t=p,s=u,n){const o=Ir(r).updateLandlord(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}const nt=function(a){return{calculateMarketRent(e,r={}){if(e==null)throw new h("getMarketRentCalculationDTO","Required parameter getMarketRentCalculationDTO was null or undefined when calling calculateMarketRent.");const t="/v2/market-rent-calculator",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}}}},ot=function(a){return{calculateMarketRent(e,r){const t=nt(a).calculateMarketRent(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}}}},Ic=function(a,e,r){return{calculateMarketRent(t,s){return ot(a).calculateMarketRent(t,s)(r,e)}}};class Pc extends R{calculateMarketRent(e,r){return ot(this.configuration).calculateMarketRent(e,r)(this.axios,this.basePath)}}async function gc(a,e,r=p,t=u,s){const n=nt(e).calculateMarketRent(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}const it=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}}}},lt=function(a){return{processIncomingMessage(e,r){const t=it(a).processIncomingMessage(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}}}},fc=function(a,e,r){return{processIncomingMessage(t,s){return lt(a).processIncomingMessage(t,s)(r,e)}}};class Oc extends R{processIncomingMessage(e,r){return lt(this.configuration).processIncomingMessage(e,r)(this.axios,this.basePath)}}async function wc(a,e,r=p,t=u,s){const n=it(e).processIncomingMessage(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}const k=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}},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}}}},Q=function(a){return{completeMyDepositsSetup(e,r,t){const s=k(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=k(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=k(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=k(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=k(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=k(a).getMyDepositsOnboardingStatus(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}}}},yc=function(a,e,r){return{completeMyDepositsSetup(t,s,n){return Q(a).completeMyDepositsSetup(t,s,n)(r,e)},disconnectMyDeposits(t,s){return Q(a).disconnectMyDeposits(t,s)(r,e)},exchangeMyDepositsToken(t,s){return Q(a).exchangeMyDepositsToken(t,s)(r,e)},getMyDepositsAuthorizeUrl(t,s){return Q(a).getMyDepositsAuthorizeUrl(t,s)(r,e)},getMyDepositsCompanyOffices(t,s){return Q(a).getMyDepositsCompanyOffices(t,s)(r,e)},getMyDepositsOnboardingStatus(t,s){return Q(a).getMyDepositsOnboardingStatus(t,s)(r,e)}}};class Ec extends R{completeMyDepositsSetup(e,r,t){return Q(this.configuration).completeMyDepositsSetup(e,r,t)(this.axios,this.basePath)}disconnectMyDeposits(e,r){return Q(this.configuration).disconnectMyDeposits(e,r)(this.axios,this.basePath)}exchangeMyDepositsToken(e,r){return Q(this.configuration).exchangeMyDepositsToken(e,r)(this.axios,this.basePath)}getMyDepositsAuthorizeUrl(e,r){return Q(this.configuration).getMyDepositsAuthorizeUrl(e,r)(this.axios,this.basePath)}getMyDepositsCompanyOffices(e,r){return Q(this.configuration).getMyDepositsCompanyOffices(e,r)(this.axios,this.basePath)}getMyDepositsOnboardingStatus(e,r){return Q(this.configuration).getMyDepositsOnboardingStatus(e,r)(this.axios,this.basePath)}}async function Cc(a,e,r,t=p,s=u,n){const o=k(r).completeMyDepositsSetup(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function Vc(a,e,r=p,t=u,s){const n=k(e).disconnectMyDeposits(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=k(e).exchangeMyDepositsToken(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=k(e).getMyDepositsAuthorizeUrl(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=k(e).getMyDepositsCompanyOffices(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=k(e).getMyDepositsOnboardingStatus(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}const ct=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}}}},dt=function(a){return{createNetPromoterScore(e,r){const t=ct(a).createNetPromoterScore(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}}}},bc=function(a,e,r){return{createNetPromoterScore(t,s){return dt(a).createNetPromoterScore(t,s)(r,e)}}};class Tc extends R{createNetPromoterScore(e,r){return dt(this.configuration).createNetPromoterScore(e,r)(this.axios,this.basePath)}}async function Nc(a,e,r=p,t=u,s){const n=ct(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(([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}}}},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)}}}},xc=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 Uc 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 Dc(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 Lc(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 Bc(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 Fc(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 Mc(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 jc(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 Hc(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 He=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}}}},Ge=function(a){return{getOrderCustomerById(e,r,t){const s=He(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=He(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=He(a).paymentCardChecks(e,r,t,s);return(o=p,i=u)=>{const l={...n.options,url:i+n.url};return o.request(l)}}}},Gc=function(a,e,r){return{getOrderCustomerById(t,s,n){return Ge(a).getOrderCustomerById(t,s,n)(r,e)},getTenancyUserById(t,s,n){return Ge(a).getTenancyUserById(t,s,n)(r,e)},paymentCardChecks(t,s,n,o){return Ge(a).paymentCardChecks(t,s,n,o)(r,e)}}};class kc extends R{getOrderCustomerById(e,r,t){return Ge(this.configuration).getOrderCustomerById(e,r,t)(this.axios,this.basePath)}getTenancyUserById(e,r,t){return Ge(this.configuration).getTenancyUserById(e,r,t)(this.axios,this.basePath)}paymentCardChecks(e,r,t,s){return Ge(this.configuration).paymentCardChecks(e,r,t,s)(this.axios,this.basePath)}}async function Qc(a,e,r,t=p,s=u,n){const o=He(r).getOrderCustomerById(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function Yc(a,e,r,t=p,s=u,n){const o=He(r).getTenancyUserById(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function zc(a,e,r,t,s=p,n=u,o){const i=He(t).paymentCardChecks(a,e,r,o),l={...i.options,url:n+i.url};return(await s.request(l)).data}const ut=function(a){return{getOrderManualPaymentsByClaimWithBankTransfers(e,r={}){if(e==null)throw new h("claimId","Required parameter claimId was null or undefined when calling getOrderManualPaymentsByClaimWithBankTransfers.");const t="/v2/order-manual-payments/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}}}},pt=function(a){return{getOrderManualPaymentsByClaimWithBankTransfers(e,r){const t=ut(a).getOrderManualPaymentsByClaimWithBankTransfers(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}}}},$c=function(a,e,r){return{getOrderManualPaymentsByClaimWithBankTransfers(t,s){return pt(a).getOrderManualPaymentsByClaimWithBankTransfers(t,s)(r,e)}}};class Wc extends R{getOrderManualPaymentsByClaimWithBankTransfers(e,r){return pt(this.configuration).getOrderManualPaymentsByClaimWithBankTransfers(e,r)(this.axios,this.basePath)}}async function Kc(a,e,r=p,t=u,s){const n=ut(e).getOrderManualPaymentsByClaimWithBankTransfers(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}const gr=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}}}},fr=function(a){return{duplicatePaymentMethodCheck(e,r,t){const s=gr(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=gr(a).getAmountRemaining(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{duplicatePaymentMethodCheck(t,s,n){return fr(a).duplicatePaymentMethodCheck(t,s,n)(r,e)},getAmountRemaining(t,s,n){return fr(a).getAmountRemaining(t,s,n)(r,e)}}};class Xc extends R{duplicatePaymentMethodCheck(e,r,t){return fr(this.configuration).duplicatePaymentMethodCheck(e,r,t)(this.axios,this.basePath)}getAmountRemaining(e,r,t){return fr(this.configuration).getAmountRemaining(e,r,t)(this.axios,this.basePath)}}async function Zc(a,e,r,t=p,s=u,n){const o=gr(r).duplicatePaymentMethodCheck(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function ed(a,e,r,t=p,s=u,n){const o=gr(r).getAmountRemaining(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}const ke=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}}}},Qe=function(a){return{create(e,r,t){const s=ke(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=ke(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=ke(a).getBankAccounts(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}}}},rd=function(a,e,r){return{create(t,s,n){return Qe(a).create(t,s,n)(r,e)},deleteBankAccount(t,s,n){return Qe(a).deleteBankAccount(t,s,n)(r,e)},getBankAccounts(t,s){return Qe(a).getBankAccounts(t,s)(r,e)}}};class td extends R{create(e,r,t){return Qe(this.configuration).create(e,r,t)(this.axios,this.basePath)}deleteBankAccount(e,r,t){return Qe(this.configuration).deleteBankAccount(e,r,t)(this.axios,this.basePath)}getBankAccounts(e,r){return Qe(this.configuration).getBankAccounts(e,r)(this.axios,this.basePath)}}async function ad(a,e,r,t=p,s=u,n){const o=ke(r).create(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function sd(a,e,r,t=p,s=u,n){const o=ke(r).deleteBankAccount(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function nd(a,e,r=p,t=u,s){const n=ke(e).getBankAccounts(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}const ht=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}}}},At=function(a){return{getOwners(e,r){const t=ht(a).getOwners(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}}}},od=function(a,e,r){return{getOwners(t,s){return At(a).getOwners(t,s)(r,e)}}};class id extends R{getOwners(e,r){return At(this.configuration).getOwners(e,r)(this.axios,this.basePath)}}async function ld(a,e,r=p,t=u,s){const n=ht(e).getOwners(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}const le=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}}}},ce=function(a){return{acceptOrganizationInvite(e,r,t){const s=le(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=le(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=le(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=le(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=le(a).resendOrganizationInvite(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}}}},cd=function(a,e,r){return{acceptOrganizationInvite(t,s,n){return ce(a).acceptOrganizationInvite(t,s,n)(r,e)},createOrganizationInvite(t,s,n){return ce(a).createOrganizationInvite(t,s,n)(r,e)},deleteInvite(t,s,n){return ce(a).deleteInvite(t,s,n)(r,e)},fetchInvitesByOrganizationId(t,s,n){return ce(a).fetchInvitesByOrganizationId(t,s,n)(r,e)},resendOrganizationInvite(t,s,n){return ce(a).resendOrganizationInvite(t,s,n)(r,e)}}};class dd extends R{acceptOrganizationInvite(e,r,t){return ce(this.configuration).acceptOrganizationInvite(e,r,t)(this.axios,this.basePath)}createOrganizationInvite(e,r,t){return ce(this.configuration).createOrganizationInvite(e,r,t)(this.axios,this.basePath)}deleteInvite(e,r,t){return ce(this.configuration).deleteInvite(e,r,t)(this.axios,this.basePath)}fetchInvitesByOrganizationId(e,r,t){return ce(this.configuration).fetchInvitesByOrganizationId(e,r,t)(this.axios,this.basePath)}resendOrganizationInvite(e,r,t){return ce(this.configuration).resendOrganizationInvite(e,r,t)(this.axios,this.basePath)}}async function ud(a,e,r,t=p,s=u,n){const o=le(r).acceptOrganizationInvite(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function pd(a,e,r,t=p,s=u,n){const o=le(r).createOrganizationInvite(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function hd(a,e,r,t=p,s=u,n){const o=le(r).deleteInvite(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function Ad(a,e,r,t=p,s=u,n){const o=le(r).fetchInvitesByOrganizationId(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=le(r).resendOrganizationInvite(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}const Or=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}}}},wr=function(a){return{createOrganizationRecipient(e,r,t){const s=Or(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=Or(a).deleteOrganizationRecipient(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}}}},Rd=function(a,e,r){return{createOrganizationRecipient(t,s,n){return wr(a).createOrganizationRecipient(t,s,n)(r,e)},deleteOrganizationRecipient(t,s,n){return wr(a).deleteOrganizationRecipient(t,s,n)(r,e)}}};class Id extends R{createOrganizationRecipient(e,r,t){return wr(this.configuration).createOrganizationRecipient(e,r,t)(this.axios,this.basePath)}deleteOrganizationRecipient(e,r,t){return wr(this.configuration).deleteOrganizationRecipient(e,r,t)(this.axios,this.basePath)}}async function Pd(a,e,r,t=p,s=u,n){const o=Or(r).createOrganizationRecipient(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function gd(a,e,r,t=p,s=u,n){const o=Or(r).deleteOrganizationRecipient(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}const Ye=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}}}},ze=function(a){return{grantRoles(e,r,t){const s=Ye(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=Ye(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=Ye(a).revokeRoles(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}}}},fd=function(a,e,r){return{grantRoles(t,s,n){return ze(a).grantRoles(t,s,n)(r,e)},notifyIntegrator(t,s,n,o){return ze(a).notifyIntegrator(t,s,n,o)(r,e)},revokeRoles(t,s,n){return ze(a).revokeRoles(t,s,n)(r,e)}}};class Od extends R{grantRoles(e,r,t){return ze(this.configuration).grantRoles(e,r,t)(this.axios,this.basePath)}notifyIntegrator(e,r,t,s){return ze(this.configuration).notifyIntegrator(e,r,t,s)(this.axios,this.basePath)}revokeRoles(e,r,t){return ze(this.configuration).revokeRoles(e,r,t)(this.axios,this.basePath)}}async function wd(a,e,r,t=p,s=u,n){const o=Ye(r).grantRoles(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function yd(a,e,r,t,s=p,n=u,o){const i=Ye(t).notifyIntegrator(a,e,r,o),l={...i.options,url:n+i.url};return(await s.request(l)).data}async function Ed(a,e,r,t=p,s=u,n){const o=Ye(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}}}},f=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)}}}},Cd=function(a,e,r){return{confirmBankAccounts(t,s){return f(a).confirmBankAccounts(t,s)(r,e)},createOrganization(t,s){return f(a).createOrganization(t,s)(r,e)},disableProductCreation(t,s){return f(a).disableProductCreation(t,s)(r,e)},dismissOrganizationMessage(t,s,n){return f(a).dismissOrganizationMessage(t,s,n)(r,e)},enableProductCreation(t,s){return f(a).enableProductCreation(t,s)(r,e)},fetchAddressesByOrganizationId(t,s){return f(a).fetchAddressesByOrganizationId(t,s)(r,e)},fetchLandlordsByOrganizationId(t,s){return f(a).fetchLandlordsByOrganizationId(t,s)(r,e)},fetchOrganizationUsersByOrganizationId(t,s){return f(a).fetchOrganizationUsersByOrganizationId(t,s)(r,e)},fetchPropertiesByOrganizationId(t,s){return f(a).fetchPropertiesByOrganizationId(t,s)(r,e)},fetchTenanciesByOrganizationId(t,s){return f(a).fetchTenanciesByOrganizationId(t,s)(r,e)},fetchUsersByOrganizationId(t,s){return f(a).fetchUsersByOrganizationId(t,s)(r,e)},findOrganizationById(t,s){return f(a).findOrganizationById(t,s)(r,e)},getCashDepositScheme(t,s){return f(a).getCashDepositScheme(t,s)(r,e)},getChildren(t,s){return f(a).getChildren(t,s)(r,e)},getOrganizationMetrics(t,s){return f(a).getOrganizationMetrics(t,s)(r,e)},getOrganizationVerticals(t,s){return f(a).getOrganizationVerticals(t,s)(r,e)},getRecipients(t,s){return f(a).getRecipients(t,s)(r,e)},removeUser(t,s,n){return f(a).removeUser(t,s,n)(r,e)},searchOrganization(t,s,n,o,i,l){return f(a).searchOrganization(t,s,n,o,i,l)(r,e)},setLandlordInformationComplete(t,s){return f(a).setLandlordInformationComplete(t,s)(r,e)},updateASTAcceptance(t,s){return f(a).updateASTAcceptance(t,s)(r,e)},updateInformedLandlords(t,s){return f(a).updateInformedLandlords(t,s)(r,e)},updateOrganization(t,s,n){return f(a).updateOrganization(t,s,n)(r,e)},updateOrganizationNotes(t,s,n){return f(a).updateOrganizationNotes(t,s,n)(r,e)},updateTermsAccepted(t,s){return f(a).updateTermsAccepted(t,s)(r,e)},updateYourCompany(t,s,n){return f(a).updateYourCompany(t,s,n)(r,e)},welcomeLandlord(t,s){return f(a).welcomeLandlord(t,s)(r,e)}}};class Vd extends R{confirmBankAccounts(e,r){return f(this.configuration).confirmBankAccounts(e,r)(this.axios,this.basePath)}createOrganization(e,r){return f(this.configuration).createOrganization(e,r)(this.axios,this.basePath)}disableProductCreation(e,r){return f(this.configuration).disableProductCreation(e,r)(this.axios,this.basePath)}dismissOrganizationMessage(e,r,t){return f(this.configuration).dismissOrganizationMessage(e,r,t)(this.axios,this.basePath)}enableProductCreation(e,r){return f(this.configuration).enableProductCreation(e,r)(this.axios,this.basePath)}fetchAddressesByOrganizationId(e,r){return f(this.configuration).fetchAddressesByOrganizationId(e,r)(this.axios,this.basePath)}fetchLandlordsByOrganizationId(e,r){return f(this.configuration).fetchLandlordsByOrganizationId(e,r)(this.axios,this.basePath)}fetchOrganizationUsersByOrganizationId(e,r){return f(this.configuration).fetchOrganizationUsersByOrganizationId(e,r)(this.axios,this.basePath)}fetchPropertiesByOrganizationId(e,r){return f(this.configuration).fetchPropertiesByOrganizationId(e,r)(this.axios,this.basePath)}fetchTenanciesByOrganizationId(e,r){return f(this.configuration).fetchTenanciesByOrganizationId(e,r)(this.axios,this.basePath)}fetchUsersByOrganizationId(e,r){return f(this.configuration).fetchUsersByOrganizationId(e,r)(this.axios,this.basePath)}findOrganizationById(e,r){return f(this.configuration).findOrganizationById(e,r)(this.axios,this.basePath)}getCashDepositScheme(e,r){return f(this.configuration).getCashDepositScheme(e,r)(this.axios,this.basePath)}getChildren(e,r){return f(this.configuration).getChildren(e,r)(this.axios,this.basePath)}getOrganizationMetrics(e,r){return f(this.configuration).getOrganizationMetrics(e,r)(this.axios,this.basePath)}getOrganizationVerticals(e,r){return f(this.configuration).getOrganizationVerticals(e,r)(this.axios,this.basePath)}getRecipients(e,r){return f(this.configuration).getRecipients(e,r)(this.axios,this.basePath)}removeUser(e,r,t){return f(this.configuration).removeUser(e,r,t)(this.axios,this.basePath)}searchOrganization(e,r,t,s,n,o){return f(this.configuration).searchOrganization(e,r,t,s,n,o)(this.axios,this.basePath)}setLandlordInformationComplete(e,r){return f(this.configuration).setLandlordInformationComplete(e,r)(this.axios,this.basePath)}updateASTAcceptance(e,r){return f(this.configuration).updateASTAcceptance(e,r)(this.axios,this.basePath)}updateInformedLandlords(e,r){return f(this.configuration).updateInformedLandlords(e,r)(this.axios,this.basePath)}updateOrganization(e,r,t){return f(this.configuration).updateOrganization(e,r,t)(this.axios,this.basePath)}updateOrganizationNotes(e,r,t){return f(this.configuration).updateOrganizationNotes(e,r,t)(this.axios,this.basePath)}updateTermsAccepted(e,r){return f(this.configuration).updateTermsAccepted(e,r)(this.axios,this.basePath)}updateYourCompany(e,r,t){return f(this.configuration).updateYourCompany(e,r,t)(this.axios,this.basePath)}welcomeLandlord(e,r){return f(this.configuration).welcomeLandlord(e,r)(this.axios,this.basePath)}}async function qd(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 _d(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 vd(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 Sd(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 bd(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 Td(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 Nd(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 xd(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 Ud(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 Dd(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 Ld(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 Bd(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 Fd(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 Md(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 jd(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 Hd(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 Gd(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 kd(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 Qd(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 Yd(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 zd(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 $d(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 Wd(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 Kd(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 Jd(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 Xd(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 Zd(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 Pe=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}}}},ge=function(a){return{confirmPaymentPlan(e,r){const t=Pe(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=Pe(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=Pe(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=Pe(a).updateCardDetails(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}}}},eu=function(a,e,r){return{confirmPaymentPlan(t,s){return ge(a).confirmPaymentPlan(t,s)(r,e)},getPaymentPlanAction(t,s,n){return ge(a).getPaymentPlanAction(t,s,n)(r,e)},updateAddress(t,s,n){return ge(a).updateAddress(t,s,n)(r,e)},updateCardDetails(t,s,n){return ge(a).updateCardDetails(t,s,n)(r,e)}}};class ru extends R{confirmPaymentPlan(e,r){return ge(this.configuration).confirmPaymentPlan(e,r)(this.axios,this.basePath)}getPaymentPlanAction(e,r,t){return ge(this.configuration).getPaymentPlanAction(e,r,t)(this.axios,this.basePath)}updateAddress(e,r,t){return ge(this.configuration).updateAddress(e,r,t)(this.axios,this.basePath)}updateCardDetails(e,r,t){return ge(this.configuration).updateCardDetails(e,r,t)(this.axios,this.basePath)}}async function tu(a,e,r=p,t=u,s){const n=Pe(e).confirmPaymentPlan(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function au(a,e,r,t=p,s=u,n){const o=Pe(r).getPaymentPlanAction(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function su(a,e,r,t=p,s=u,n){const o=Pe(r).updateAddress(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function nu(a,e,r,t=p,s=u,n){const o=Pe(r).updateCardDetails(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}const $e=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}}}},We=function(a){return{deferPaymentPlanInstalment(e,r,t,s){const n=$e(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=$e(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=$e(a).getInstalmentPaymentIntentSecret(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}}}},ou=function(a,e,r){return{deferPaymentPlanInstalment(t,s,n,o){return We(a).deferPaymentPlanInstalment(t,s,n,o)(r,e)},getInstalmentById(t,s,n){return We(a).getInstalmentById(t,s,n)(r,e)},getInstalmentPaymentIntentSecret(t,s,n){return We(a).getInstalmentPaymentIntentSecret(t,s,n)(r,e)}}};class iu extends R{deferPaymentPlanInstalment(e,r,t,s){return We(this.configuration).deferPaymentPlanInstalment(e,r,t,s)(this.axios,this.basePath)}getInstalmentById(e,r,t){return We(this.configuration).getInstalmentById(e,r,t)(this.axios,this.basePath)}getInstalmentPaymentIntentSecret(e,r,t){return We(this.configuration).getInstalmentPaymentIntentSecret(e,r,t)(this.axios,this.basePath)}}async function lu(a,e,r,t,s=p,n=u,o){const i=$e(t).deferPaymentPlanInstalment(a,e,r,o),l={...i.options,url:n+i.url};return(await s.request(l)).data}async function cu(a,e,r,t=p,s=u,n){const o=$e(r).getInstalmentById(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function du(a,e,r,t=p,s=u,n){const o=$e(r).getInstalmentPaymentIntentSecret(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}const D=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}},forceDeletePaymentPlanById(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling forceDeletePaymentPlanById.");const t="/v2/payment-plan/{id}/force".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}}}},L=function(a){return{changeInstalmentDates(e,r,t){const s=D(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=D(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=D(a).deletePaymentPlanById(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},forceDeletePaymentPlanById(e,r){const t=D(a).forceDeletePaymentPlanById(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},getPaymentPlanById(e,r){const t=D(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=D(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=D(a).getSetupIntentSecret(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}}}},uu=function(a,e,r){return{changeInstalmentDates(t,s,n){return L(a).changeInstalmentDates(t,s,n)(r,e)},createPaymentPlan(t,s){return L(a).createPaymentPlan(t,s)(r,e)},deletePaymentPlanById(t,s){return L(a).deletePaymentPlanById(t,s)(r,e)},forceDeletePaymentPlanById(t,s){return L(a).forceDeletePaymentPlanById(t,s)(r,e)},getPaymentPlanById(t,s){return L(a).getPaymentPlanById(t,s)(r,e)},getPaymentPlanPropertyAddressById(t,s){return L(a).getPaymentPlanPropertyAddressById(t,s)(r,e)},getSetupIntentSecret(t,s){return L(a).getSetupIntentSecret(t,s)(r,e)}}};class pu extends R{changeInstalmentDates(e,r,t){return L(this.configuration).changeInstalmentDates(e,r,t)(this.axios,this.basePath)}createPaymentPlan(e,r){return L(this.configuration).createPaymentPlan(e,r)(this.axios,this.basePath)}deletePaymentPlanById(e,r){return L(this.configuration).deletePaymentPlanById(e,r)(this.axios,this.basePath)}forceDeletePaymentPlanById(e,r){return L(this.configuration).forceDeletePaymentPlanById(e,r)(this.axios,this.basePath)}getPaymentPlanById(e,r){return L(this.configuration).getPaymentPlanById(e,r)(this.axios,this.basePath)}getPaymentPlanPropertyAddressById(e,r){return L(this.configuration).getPaymentPlanPropertyAddressById(e,r)(this.axios,this.basePath)}getSetupIntentSecret(e,r){return L(this.configuration).getSetupIntentSecret(e,r)(this.axios,this.basePath)}}async function hu(a,e,r,t=p,s=u,n){const o=D(r).changeInstalmentDates(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function Au(a,e,r=p,t=u,s){const n=D(e).createPaymentPlan(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=D(e).deletePaymentPlanById(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function Ru(a,e,r=p,t=u,s){const n=D(e).forceDeletePaymentPlanById(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=D(e).getPaymentPlanById(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=D(e).getPaymentPlanPropertyAddressById(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=D(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,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}}}},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)}}}},fu=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 Ou 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 wu(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 yu(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 Eu(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 Cu(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 Vu(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 qu(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={},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}}}},Oe=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)}}}},_u=function(a,e,r){return{addPolicyDocument(t,s,n,o,i){return Oe(a).addPolicyDocument(t,s,n,o,i)(r,e)},deletePolicyDocument(t,s,n){return Oe(a).deletePolicyDocument(t,s,n)(r,e)},findManyPolicyDocuments(t,s){return Oe(a).findManyPolicyDocuments(t,s)(r,e)},findPolicyDocumentById(t,s,n){return Oe(a).findPolicyDocumentById(t,s,n)(r,e)}}};class vu extends R{addPolicyDocument(e,r,t,s,n){return Oe(this.configuration).addPolicyDocument(e,r,t,s,n)(this.axios,this.basePath)}deletePolicyDocument(e,r,t){return Oe(this.configuration).deletePolicyDocument(e,r,t)(this.axios,this.basePath)}findManyPolicyDocuments(e,r){return Oe(this.configuration).findManyPolicyDocuments(e,r)(this.axios,this.basePath)}findPolicyDocumentById(e,r,t){return Oe(this.configuration).findPolicyDocumentById(e,r,t)(this.axios,this.basePath)}}async function Su(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 bu(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 Tu(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 Nu(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 yr=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}}}},Er=function(a){return{addPreTenancyDocumentByDocumentId(e,r,t){const s=yr(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=yr(a).deletePreTenancyDocument(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}}}},xu=function(a,e,r){return{addPreTenancyDocumentByDocumentId(t,s,n){return Er(a).addPreTenancyDocumentByDocumentId(t,s,n)(r,e)},deletePreTenancyDocument(t,s,n){return Er(a).deletePreTenancyDocument(t,s,n)(r,e)}}};class Uu extends R{addPreTenancyDocumentByDocumentId(e,r,t){return Er(this.configuration).addPreTenancyDocumentByDocumentId(e,r,t)(this.axios,this.basePath)}deletePreTenancyDocument(e,r,t){return Er(this.configuration).deletePreTenancyDocument(e,r,t)(this.axios,this.basePath)}}async function Du(a,e,r,t=p,s=u,n){const o=yr(r).addPreTenancyDocumentByDocumentId(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function Lu(a,e,r,t=p,s=u,n){const o=yr(r).deletePreTenancyDocument(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}const Cr=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}}}},Vr=function(a){return{getCashDepositAmount(e,r){const t=Cr(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=Cr(a).getRepositFee(e,r,t,s);return(o=p,i=u)=>{const l={...n.options,url:i+n.url};return o.request(l)}}}},Bu=function(a,e,r){return{getCashDepositAmount(t,s){return Vr(a).getCashDepositAmount(t,s)(r,e)},getRepositFee(t,s,n,o){return Vr(a).getRepositFee(t,s,n,o)(r,e)}}};class Fu extends R{getCashDepositAmount(e,r){return Vr(this.configuration).getCashDepositAmount(e,r)(this.axios,this.basePath)}getRepositFee(e,r,t,s){return Vr(this.configuration).getRepositFee(e,r,t,s)(this.axios,this.basePath)}}async function Mu(a,e,r=p,t=u,s){const n=Cr(e).getCashDepositAmount(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function ju(a,e,r,t,s=p,n=u,o){const i=Cr(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}}}},Je=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)}}}},Hu=function(a,e,r){return{createProperty(t,s){return Je(a).createProperty(t,s)(r,e)},getPropertyById(t,s){return Je(a).getPropertyById(t,s)(r,e)},searchProperties(t,s,n,o,i){return Je(a).searchProperties(t,s,n,o,i)(r,e)}}};class Gu extends R{createProperty(e,r){return Je(this.configuration).createProperty(e,r)(this.axios,this.basePath)}getPropertyById(e,r){return Je(this.configuration).getPropertyById(e,r)(this.axios,this.basePath)}searchProperties(e,r,t,s,n){return Je(this.configuration).searchProperties(e,r,t,s,n)(this.axios,this.basePath)}}async function ku(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 Qu(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 Yu(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 mt=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}}}},Rt=function(a){return{searchReconciliationDocuments(e,r,t,s,n){const o=mt(a).searchReconciliationDocuments(e,r,t,s,n);return(i=p,l=u)=>{const d={...o.options,url:l+o.url};return i.request(d)}}}},zu=function(a,e,r){return{searchReconciliationDocuments(t,s,n,o,i){return Rt(a).searchReconciliationDocuments(t,s,n,o,i)(r,e)}}};class $u extends R{searchReconciliationDocuments(e,r,t,s,n){return Rt(this.configuration).searchReconciliationDocuments(e,r,t,s,n)(this.axios,this.basePath)}}async function Wu(a,e,r,t,s,n=p,o=u,i){const l=mt(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}}}},ye=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)}}}},Ku=function(a,e,r){return{addReferenceDocument(t,s,n,o,i){return ye(a).addReferenceDocument(t,s,n,o,i)(r,e)},deleteReferenceDocument(t,s,n){return ye(a).deleteReferenceDocument(t,s,n)(r,e)},findManyReferenceDocuments(t,s){return ye(a).findManyReferenceDocuments(t,s)(r,e)},findReferenceDocumentById(t,s,n){return ye(a).findReferenceDocumentById(t,s,n)(r,e)}}};class Ju extends R{addReferenceDocument(e,r,t,s,n){return ye(this.configuration).addReferenceDocument(e,r,t,s,n)(this.axios,this.basePath)}deleteReferenceDocument(e,r,t){return ye(this.configuration).deleteReferenceDocument(e,r,t)(this.axios,this.basePath)}findManyReferenceDocuments(e,r){return ye(this.configuration).findManyReferenceDocuments(e,r)(this.axios,this.basePath)}findReferenceDocumentById(e,r,t){return ye(this.configuration).findReferenceDocumentById(e,r,t)(this.axios,this.basePath)}}async function Xu(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 Zu(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 ep(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 rp(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 B=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}}}},F=function(a){return{createReference(e,r){const t=B(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=B(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=B(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=B(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=B(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=B(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=B(a).submitChecks(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}}}},tp=function(a,e,r){return{createReference(t,s){return F(a).createReference(t,s)(r,e)},findReferenceById(t,s){return F(a).findReferenceById(t,s)(r,e)},getChecks(t,s){return F(a).getChecks(t,s)(r,e)},getReferenceDocuments(t,s){return F(a).getReferenceDocuments(t,s)(r,e)},readyForReview(t,s){return F(a).readyForReview(t,s)(r,e)},searchReferences(t,s,n,o,i){return F(a).searchReferences(t,s,n,o,i)(r,e)},submitChecks(t,s){return F(a).submitChecks(t,s)(r,e)}}};class ap extends R{createReference(e,r){return F(this.configuration).createReference(e,r)(this.axios,this.basePath)}findReferenceById(e,r){return F(this.configuration).findReferenceById(e,r)(this.axios,this.basePath)}getChecks(e,r){return F(this.configuration).getChecks(e,r)(this.axios,this.basePath)}getReferenceDocuments(e,r){return F(this.configuration).getReferenceDocuments(e,r)(this.axios,this.basePath)}readyForReview(e,r){return F(this.configuration).readyForReview(e,r)(this.axios,this.basePath)}searchReferences(e,r,t,s,n){return F(this.configuration).searchReferences(e,r,t,s,n)(this.axios,this.basePath)}submitChecks(e,r){return F(this.configuration).submitChecks(e,r)(this.axios,this.basePath)}}async function sp(a,e,r=p,t=u,s){const n=B(e).createReference(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function np(a,e,r=p,t=u,s){const n=B(e).findReferenceById(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function op(a,e,r=p,t=u,s){const n=B(e).getChecks(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function ip(a,e,r=p,t=u,s){const n=B(e).getReferenceDocuments(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function lp(a,e,r=p,t=u,s){const n=B(e).readyForReview(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function cp(a,e,r,t,s,n=p,o=u,i){const l=B(s).searchReferences(a,e,r,t,i),d={...l.options,url:o+l.url};return(await n.request(d)).data}async function dp(a,e,r=p,t=u,s){const n=B(e).submitChecks(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}const M=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}}}},j=function(a){return{addRejectionReason(e,r,t){const s=M(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=M(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=M(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=M(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=M(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=M(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=M(a).sendReminder(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}}}},up=function(a,e,r){return{addRejectionReason(t,s,n){return j(a).addRejectionReason(t,s,n)(r,e)},createOffer(t,s){return j(a).createOffer(t,s)(r,e)},deleteOffer(t,s){return j(a).deleteOffer(t,s)(r,e)},getRepositOffer(t,s,n){return j(a).getRepositOffer(t,s,n)(r,e)},respondToOffer(t,s,n,o){return j(a).respondToOffer(t,s,n,o)(r,e)},searchOffers(t,s,n,o,i,l,d){return j(a).searchOffers(t,s,n,o,i,l,d)(r,e)},sendReminder(t,s){return j(a).sendReminder(t,s)(r,e)}}};class pp extends R{addRejectionReason(e,r,t){return j(this.configuration).addRejectionReason(e,r,t)(this.axios,this.basePath)}createOffer(e,r){return j(this.configuration).createOffer(e,r)(this.axios,this.basePath)}deleteOffer(e,r){return j(this.configuration).deleteOffer(e,r)(this.axios,this.basePath)}getRepositOffer(e,r,t){return j(this.configuration).getRepositOffer(e,r,t)(this.axios,this.basePath)}respondToOffer(e,r,t,s){return j(this.configuration).respondToOffer(e,r,t,s)(this.axios,this.basePath)}searchOffers(e,r,t,s,n,o,i){return j(this.configuration).searchOffers(e,r,t,s,n,o,i)(this.axios,this.basePath)}sendReminder(e,r){return j(this.configuration).sendReminder(e,r)(this.axios,this.basePath)}}async function hp(a,e,r,t=p,s=u,n){const o=M(r).addRejectionReason(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=M(e).createOffer(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=M(e).deleteOffer(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function Rp(a,e,r,t=p,s=u,n){const o=M(r).getRepositOffer(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function Ip(a,e,r,t,s=p,n=u,o){const i=M(t).respondToOffer(a,e,r,o),l={...i.options,url:n+i.url};return(await s.request(l)).data}async function Pp(a,e,r,t,s,n,o,i=p,l=u,d){const c=M(o).searchOffers(a,e,r,t,s,n,d),A={...c.options,url:l+c.url};return(await i.request(A)).data}async function gp(a,e,r=p,t=u,s){const n=M(e).sendReminder(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}const S=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}}}},b=function(a){return{createReposit(e,r){const t=S(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=S(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=S(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=S(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=S(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=S(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=S(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=S(a).replaceReposit(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}}}},fp=function(a,e,r){return{createReposit(t,s){return b(a).createReposit(t,s)(r,e)},getRepositById(t,s){return b(a).getRepositById(t,s)(r,e)},getRepositLandlord(t,s){return b(a).getRepositLandlord(t,s)(r,e)},getRepositPolicies(t,s){return b(a).getRepositPolicies(t,s)(r,e)},getRepositPrice(t,s){return b(a).getRepositPrice(t,s)(r,e)},getTenantDocuments(t,s){return b(a).getTenantDocuments(t,s)(r,e)},publishReposit(t,s){return b(a).publishReposit(t,s)(r,e)},replaceReposit(t,s,n){return b(a).replaceReposit(t,s,n)(r,e)}}};class Op extends R{createReposit(e,r){return b(this.configuration).createReposit(e,r)(this.axios,this.basePath)}getRepositById(e,r){return b(this.configuration).getRepositById(e,r)(this.axios,this.basePath)}getRepositLandlord(e,r){return b(this.configuration).getRepositLandlord(e,r)(this.axios,this.basePath)}getRepositPolicies(e,r){return b(this.configuration).getRepositPolicies(e,r)(this.axios,this.basePath)}getRepositPrice(e,r){return b(this.configuration).getRepositPrice(e,r)(this.axios,this.basePath)}getTenantDocuments(e,r){return b(this.configuration).getTenantDocuments(e,r)(this.axios,this.basePath)}publishReposit(e,r){return b(this.configuration).publishReposit(e,r)(this.axios,this.basePath)}replaceReposit(e,r,t){return b(this.configuration).replaceReposit(e,r,t)(this.axios,this.basePath)}}async function wp(a,e,r=p,t=u,s){const n=S(e).createReposit(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=S(e).getRepositById(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function Ep(a,e,r=p,t=u,s){const n=S(e).getRepositLandlord(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=S(e).getRepositPolicies(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function Vp(a,e,r=p,t=u,s){const n=S(e).getRepositPrice(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function qp(a,e,r=p,t=u,s){const n=S(e).getTenantDocuments(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=S(e).publishReposit(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function vp(a,e,r,t=p,s=u,n){const o=S(r).replaceReposit(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}const It=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}}}},Pt=function(a){return{seedCashDeposit(e,r){const t=It(a).seedCashDeposit(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}}}},Sp=function(a,e,r){return{seedCashDeposit(t,s){return Pt(a).seedCashDeposit(t,s)(r,e)}}};class bp extends R{seedCashDeposit(e,r){return Pt(this.configuration).seedCashDeposit(e,r)(this.axios,this.basePath)}}async function Tp(a,e,r=p,t=u,s){const n=It(e).seedCashDeposit(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}const gt=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}}}},ft=function(a){return{seedReposit(e,r){const t=gt(a).seedReposit(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}}}},Np=function(a,e,r){return{seedReposit(t,s){return ft(a).seedReposit(t,s)(r,e)}}};class xp extends R{seedReposit(e,r){return ft(this.configuration).seedReposit(e,r)(this.axios,this.basePath)}}async function Up(a,e,r=p,t=u,s){const n=gt(e).seedReposit(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}const qr=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}}}},_r=function(a){return{getMySupplier(e){const r=qr(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=qr(a).getSupplierAgents(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}}}},Dp=function(a,e,r){return{getMySupplier(t){return _r(a).getMySupplier(t)(r,e)},getSupplierAgents(t,s){return _r(a).getSupplierAgents(t,s)(r,e)}}};class Lp extends R{getMySupplier(e){return _r(this.configuration).getMySupplier(e)(this.axios,this.basePath)}getSupplierAgents(e,r){return _r(this.configuration).getSupplierAgents(e,r)(this.axios,this.basePath)}}async function Bp(a,e=p,r=u,t){const s=qr(a).getMySupplier(t),n={...s.options,url:r+s.url};return(await e.request(n)).data}async function Fp(a,e,r=p,t=u,s){const n=qr(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,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}},tenantMoveOutInfo(e,r={}){if(e==null)throw new h("token","Required parameter token was null or undefined when calling tenantMoveOutInfo.");const t="/v2/tenancies/tenant-move-out-info",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}},tenantScheduledMoveOut(e,r={}){if(e==null)throw new h("tenantScheduledMoveOutRequestDTO","Required parameter tenantScheduledMoveOutRequestDTO was null or undefined when calling tenantScheduledMoveOut.");const t="/v2/tenancies/tenant-scheduled-move-out",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}},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}}}},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)}},tenantMoveOutInfo(e,r){const t=C(a).tenantMoveOutInfo(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},tenantScheduledMoveOut(e,r){const t=C(a).tenantScheduledMoveOut(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)}}}},Mp=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)},tenantMoveOutInfo(t,s){return V(a).tenantMoveOutInfo(t,s)(r,e)},tenantScheduledMoveOut(t,s){return V(a).tenantScheduledMoveOut(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 jp 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)}tenantMoveOutInfo(e,r){return V(this.configuration).tenantMoveOutInfo(e,r)(this.axios,this.basePath)}tenantScheduledMoveOut(e,r){return V(this.configuration).tenantScheduledMoveOut(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 Hp(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 Gp(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 kp(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 Qp(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 Yp(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 zp(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 $p(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 Wp(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 Kp(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 Jp(a,e,r=p,t=u,s){const n=C(e).tenantMoveOutInfo(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function Xp(a,e,r=p,t=u,s){const n=C(e).tenantScheduledMoveOut(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function Zp(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 eh(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 rh(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 th(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 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}}}},wt=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)}}}},ah=function(a,e,r){return{getTenancyAnniversaries(t,s){return wt(a).getTenancyAnniversaries(t,s)(r,e)}}};class sh extends R{getTenancyAnniversaries(e,r){return wt(this.configuration).getTenancyAnniversaries(e,r)(this.axios,this.basePath)}}async function nh(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 yt=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}}}},Et=function(a){return{createCheckout(e,r){const t=yt(a).createCheckout(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}}}},oh=function(a,e,r){return{createCheckout(t,s){return Et(a).createCheckout(t,s)(r,e)}}};class ih extends R{createCheckout(e,r){return Et(this.configuration).createCheckout(e,r)(this.axios,this.basePath)}}async function lh(a,e,r=p,t=u,s){const n=yt(e).createCheckout(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}const vr=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}}}},Sr=function(a){return{createTenancyExpiry(e,r,t){const s=vr(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=vr(a).getByTenancyId(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}}}},ch=function(a,e,r){return{createTenancyExpiry(t,s,n){return Sr(a).createTenancyExpiry(t,s,n)(r,e)},getByTenancyId(t,s){return Sr(a).getByTenancyId(t,s)(r,e)}}};class dh extends R{createTenancyExpiry(e,r,t){return Sr(this.configuration).createTenancyExpiry(e,r,t)(this.axios,this.basePath)}getByTenancyId(e,r){return Sr(this.configuration).getByTenancyId(e,r)(this.axios,this.basePath)}}async function uh(a,e,r,t=p,s=u,n){const o=vr(r).createTenancyExpiry(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function ph(a,e,r=p,t=u,s){const n=vr(e).getByTenancyId(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}const br=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}}}},Tr=function(a){return{disableWarnings(e,r,t){const s=br(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=br(a).tenantConfirmation(e,r,t,s);return(o=p,i=u)=>{const l={...n.options,url:i+n.url};return o.request(l)}}}},hh=function(a,e,r){return{disableWarnings(t,s,n){return Tr(a).disableWarnings(t,s,n)(r,e)},tenantConfirmation(t,s,n,o){return Tr(a).tenantConfirmation(t,s,n,o)(r,e)}}};class Ah extends R{disableWarnings(e,r,t){return Tr(this.configuration).disableWarnings(e,r,t)(this.axios,this.basePath)}tenantConfirmation(e,r,t,s){return Tr(this.configuration).tenantConfirmation(e,r,t,s)(this.axios,this.basePath)}}async function mh(a,e,r,t=p,s=u,n){const o=br(r).disableWarnings(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function Rh(a,e,r,t,s=p,n=u,o){const i=br(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(([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}}}},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)}}}},Ih=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 Ph 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 gh(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 fh(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 Oh(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 wh(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 yh(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 Eh(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 Nr=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}}}},xr=function(a){return{createTenancyOrderNote(e,r,t){const s=Nr(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=Nr(a).deleteNote(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}}}},Ch=function(a,e,r){return{createTenancyOrderNote(t,s,n){return xr(a).createTenancyOrderNote(t,s,n)(r,e)},deleteNote(t,s,n){return xr(a).deleteNote(t,s,n)(r,e)}}};class Vh extends R{createTenancyOrderNote(e,r,t){return xr(this.configuration).createTenancyOrderNote(e,r,t)(this.axios,this.basePath)}deleteNote(e,r,t){return xr(this.configuration).deleteNote(e,r,t)(this.axios,this.basePath)}}async function qh(a,e,r,t=p,s=u,n){const o=Nr(r).createTenancyOrderNote(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function _h(a,e,r,t=p,s=u,n){const o=Nr(r).deleteNote(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}const K=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,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 H;a&&(H=a.baseOptions);const Xe={method:"GET",...H,...I},qt={},G={};return o!==void 0&&(G.query=o),e!==void 0&&(G.organizationId=e),i!==void 0&&(G.orderStatus=i),l!==void 0&&(G.tenancyStatus=l),d!==void 0&&(G.sortBy=d),c!==void 0&&(G.sortDirection=c),r!==void 0&&(G.page=r),t!==void 0&&(G.size=t),s!==void 0&&(G.includeDeleted=s),n!==void 0&&(G.onlyDeleted=n),A!==void 0&&(G.letOnly=A),m!==void 0&&(G.isNewTenancy=m),Object.entries({...G,...I.query}).forEach(([hn,_t])=>{_t!==void 0&&q.searchParams.set(hn,String(_t))}),Xe.headers={...qt,...I.headers},{url:q.pathname+q.search,options:Xe}},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}}}},J=function(a){return{getTenancyOrderById(e,r,t){const s=K(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,I){const P=K(a).optimisedSearch(e,r,t,s,n,o,i,l,d,c,A,m,I);return(q=p,H=u)=>{const Xe={...P.options,url:H+P.url};return q.request(Xe)}},removeTenancyOrderById(e,r,t){const s=K(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=K(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=K(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=K(a).transferTenancyOrderToOrganization(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}}}},vh=function(a,e,r){return{getTenancyOrderById(t,s,n){return J(a).getTenancyOrderById(t,s,n)(r,e)},optimisedSearch(t,s,n,o,i,l,d,c,A,m,I,P,q){return J(a).optimisedSearch(t,s,n,o,i,l,d,c,A,m,I,P,q)(r,e)},removeTenancyOrderById(t,s,n){return J(a).removeTenancyOrderById(t,s,n)(r,e)},reopenTenancyOrder(t,s,n){return J(a).reopenTenancyOrder(t,s,n)(r,e)},sendOverdueChasers(t,s){return J(a).sendOverdueChasers(t,s)(r,e)},transferTenancyOrderToOrganization(t,s,n){return J(a).transferTenancyOrderToOrganization(t,s,n)(r,e)}}};class Sh extends R{getTenancyOrderById(e,r,t){return J(this.configuration).getTenancyOrderById(e,r,t)(this.axios,this.basePath)}optimisedSearch(e,r,t,s,n,o,i,l,d,c,A,m,I){return J(this.configuration).optimisedSearch(e,r,t,s,n,o,i,l,d,c,A,m,I)(this.axios,this.basePath)}removeTenancyOrderById(e,r,t){return J(this.configuration).removeTenancyOrderById(e,r,t)(this.axios,this.basePath)}reopenTenancyOrder(e,r,t){return J(this.configuration).reopenTenancyOrder(e,r,t)(this.axios,this.basePath)}sendOverdueChasers(e,r){return J(this.configuration).sendOverdueChasers(e,r)(this.axios,this.basePath)}transferTenancyOrderToOrganization(e,r,t){return J(this.configuration).transferTenancyOrderToOrganization(e,r,t)(this.axios,this.basePath)}}async function bh(a,e,r,t=p,s=u,n){const o=K(r).getTenancyOrderById(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function Th(a,e,r,t,s,n,o,i,l,d,c,A,m,I=p,P=u,q){const H=K(m).optimisedSearch(a,e,r,t,s,n,o,i,l,d,c,A,q),Xe={...H.options,url:P+H.url};return(await I.request(Xe)).data}async function Nh(a,e,r,t=p,s=u,n){const o=K(r).removeTenancyOrderById(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function xh(a,e,r,t=p,s=u,n){const o=K(r).reopenTenancyOrder(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function Uh(a,e,r=p,t=u,s){const n=K(e).sendOverdueChasers(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function Dh(a,e,r,t=p,s=u,n){const o=K(r).transferTenancyOrderToOrganization(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}const Ee=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}}}},Ce=function(a){return{addGuarantor(e,r,t,s){const n=Ee(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=Ee(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=Ee(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=Ee(a).updateGuarantor(e,r,t,s);return(o=p,i=u)=>{const l={...n.options,url:i+n.url};return o.request(l)}}}},Lh=function(a,e,r){return{addGuarantor(t,s,n,o){return Ce(a).addGuarantor(t,s,n,o)(r,e)},deleteGuarantor(t,s,n){return Ce(a).deleteGuarantor(t,s,n)(r,e)},sendReminderEmail(t,s,n){return Ce(a).sendReminderEmail(t,s,n)(r,e)},updateGuarantor(t,s,n,o){return Ce(a).updateGuarantor(t,s,n,o)(r,e)}}};class Bh extends R{addGuarantor(e,r,t,s){return Ce(this.configuration).addGuarantor(e,r,t,s)(this.axios,this.basePath)}deleteGuarantor(e,r,t){return Ce(this.configuration).deleteGuarantor(e,r,t)(this.axios,this.basePath)}sendReminderEmail(e,r,t){return Ce(this.configuration).sendReminderEmail(e,r,t)(this.axios,this.basePath)}updateGuarantor(e,r,t,s){return Ce(this.configuration).updateGuarantor(e,r,t,s)(this.axios,this.basePath)}}async function Fh(a,e,r,t,s=p,n=u,o){const i=Ee(t).addGuarantor(a,e,r,o),l={...i.options,url:n+i.url};return(await s.request(l)).data}async function Mh(a,e,r,t=p,s=u,n){const o=Ee(r).deleteGuarantor(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function jh(a,e,r,t=p,s=u,n){const o=Ee(r).sendReminderEmail(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function Hh(a,e,r,t,s=p,n=u,o){const i=Ee(t).updateGuarantor(a,e,r,o),l={...i.options,url:n+i.url};return(await s.request(l)).data}const Ur=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}}}},Dr=function(a){return{addTenant(e,r,t){const s=Ur(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=Ur(a).deleteById(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}}}},Gh=function(a,e,r){return{addTenant(t,s,n){return Dr(a).addTenant(t,s,n)(r,e)},deleteById(t,s,n){return Dr(a).deleteById(t,s,n)(r,e)}}};class kh extends R{addTenant(e,r,t){return Dr(this.configuration).addTenant(e,r,t)(this.axios,this.basePath)}deleteById(e,r,t){return Dr(this.configuration).deleteById(e,r,t)(this.axios,this.basePath)}}async function Qh(a,e,r,t=p,s=u,n){const o=Ur(r).addTenant(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function Yh(a,e,r,t=p,s=u,n){const o=Ur(r).deleteById(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}const Lr=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}}}},Br=function(a){return{getSupplierTerms(e){const r=Lr(a).getSupplierTerms(e);return(t=p,s=u)=>{const n={...r.options,url:s+r.url};return t.request(n)}},getTenantTerms(e){const r=Lr(a).getTenantTerms(e);return(t=p,s=u)=>{const n={...r.options,url:s+r.url};return t.request(n)}}}},zh=function(a,e,r){return{getSupplierTerms(t){return Br(a).getSupplierTerms(t)(r,e)},getTenantTerms(t){return Br(a).getTenantTerms(t)(r,e)}}};class $h extends R{getSupplierTerms(e){return Br(this.configuration).getSupplierTerms(e)(this.axios,this.basePath)}getTenantTerms(e){return Br(this.configuration).getTenantTerms(e)(this.axios,this.basePath)}}async function Wh(a,e=p,r=u,t){const s=Lr(a).getSupplierTerms(t),n={...s.options,url:r+s.url};return(await e.request(n)).data}async function Kh(a,e=p,r=u,t){const s=Lr(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)}}}},Jh=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 Xh 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 Zh(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 eA(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 rA(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 tA(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 aA(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 sA(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 nA(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 oA(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 iA(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 lA(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 cA(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 dA(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 uA(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 pA(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 hA(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 AA(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 mA(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 RA(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 Ct=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}}}},Vt=function(a){return{updateIntegrationWebhookUrl(e,r){const t=Ct(a).updateIntegrationWebhookUrl(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}}}},IA=function(a,e,r){return{updateIntegrationWebhookUrl(t,s){return Vt(a).updateIntegrationWebhookUrl(t,s)(r,e)}}};class PA extends R{updateIntegrationWebhookUrl(e,r){return Vt(this.configuration).updateIntegrationWebhookUrl(e,r)(this.axios,this.basePath)}}async function gA(a,e,r=p,t=u,s){const n=Ct(e).updateIntegrationWebhookUrl(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}var vt=(a=>(a.NONREFUNDABLEFEE="NON_REFUNDABLE_FEE",a.TOOEXPENSIVE="TOO_EXPENSIVE",a.DONTUNDERSTAND="DONT_UNDERSTAND",a.FAILEDREFERENCING="FAILED_REFERENCING",a.OTHER="OTHER",a))(vt||{}),St=(a=>(a.DRAFT="DRAFT",a.PUBLISHED="PUBLISHED",a))(St||{}),bt=(a=>(a.REPOSIT="REPOSIT",a.PROPERTY="PROPERTY",a.BANKTRANSACTION="BANK_TRANSACTION",a))(bt||{}),Tt=(a=>(a.DRAFT="DRAFT",a.IMPORTING="IMPORTING",a.PROCESSING="PROCESSING",a.COMPLETED="COMPLETED",a.FAILED="FAILED",a))(Tt||{}),Nt=(a=>(a.IDENTITY="IDENTITY",a.CREDIT="CREDIT",a))(Nt||{}),xt=(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))(xt||{}),Ut=(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))(Ut||{}),Dt=(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))(Dt||{}),Lt=(a=>(a.Deletion="deletion",a.Reduction="reduction",a))(Lt||{}),Bt=(a=>(a.DAMAGE="DAMAGE",a.CLEANING="CLEANING",a.RENTARREARS="RENT_ARREARS",a.ITEMREMOVAL="ITEM_REMOVAL",a.OTHER="OTHER",a))(Bt||{}),Ft=(a=>(a.SUPPLIER="SUPPLIER",a.TENANT="TENANT",a))(Ft||{}),Mt=(a=>(a.SUPPLIER="SUPPLIER",a.TENANT="TENANT",a))(Mt||{}),jt=(a=>(a.DRAFT="DRAFT",a.AWAITINGRESPONSE="AWAITING_RESPONSE",a.AWAITINGPAYMENT="AWAITING_PAYMENT",a.SETTLED="SETTLED",a.COUNTERED="COUNTERED",a.DISPUTED="DISPUTED",a))(jt||{}),Ht=(a=>(a.INITIAL="INITIAL",a.INTERMEDIATE="INTERMEDIATE",a.FINAL="FINAL",a))(Ht||{}),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||{}),kt=(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))(kt||{}),Qt=(a=>(a.GBR="GBR",a))(Qt||{}),Yt=(a=>(a.REPOSIT="REPOSIT",a.PROPERTY="PROPERTY",a.BANKTRANSACTION="BANK_TRANSACTION",a))(Yt||{}),zt=(a=>(a.DAMAGE="DAMAGE",a.CLEANING="CLEANING",a.RENTARREARS="RENT_ARREARS",a.ITEMREMOVAL="ITEM_REMOVAL",a.OTHER="OTHER",a))(zt||{}),$t=(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))($t||{}),Wt=(a=>(a.AGREED="AGREED",a.REJECTED="REJECTED",a))(Wt||{}),Kt=(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))(Kt||{}),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||{}),Xt=(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))(Xt||{}),Zt=(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))(Zt||{}),ea=(a=>(a.AGREED="AGREED",a.REJECTED="REJECTED",a.MISSING="MISSING",a))(ea||{}),ra=(a=>(a.PROPERTY="PROPERTY",a))(ra||{}),ta=(a=>(a.PASSED="PASSED",a.FAILED="FAILED",a))(ta||{}),aa=(a=>(a.COMPANY="COMPANY",a.SOLEPERSON="SOLE_PERSON",a))(aa||{}),sa=(a=>(a.COMPANY="COMPANY",a.SOLEPERSON="SOLE_PERSON",a))(sa||{}),na=(a=>(a.COMPANY="COMPANY",a.SOLEPERSON="SOLE_PERSON",a))(na||{}),oa=(a=>(a.REPOSITPUBLISHED="REPOSIT_PUBLISHED",a.CLAIMPUBLISHED="CLAIM_PUBLISHED",a))(oa||{}),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||{}),la=(a=>(a.DEFAULT="DEFAULT",a.CLAIM="CLAIM",a.CASHDEPOSITSCHEME="CASH_DEPOSIT_SCHEME",a))(la||{}),ca=(a=>(a.AGENCY="AGENCY",a.BUILDTORENT="BUILD_TO_RENT",a.PRIVATE="PRIVATE",a.INTEGRATORREFERRAL="INTEGRATOR_REFERRAL",a))(ca||{}),da=(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))(da||{}),ua=(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))(ua||{}),pa=(a=>(a.DIRECT="DIRECT",a.INITIAL="INITIAL",a.ADMIN="ADMIN",a))(pa||{}),ha=(a=>(a.TENTHOUSANDPOUNDS="TEN_THOUSAND_POUNDS",a.FIVETHOUSANDPOUNDS="FIVE_THOUSAND_POUNDS",a))(ha||{}),Aa=(a=>(a.IDENTITY="IDENTITY",a.CREDIT="CREDIT",a))(Aa||{}),ma=(a=>(a.TENANT="TENANT",a))(ma||{}),Ra=(a=>(a.FIXED="FIXED",a.PERIODIC="PERIODIC",a))(Ra||{}),Ia=(a=>(a.MANAGETEAM="MANAGE_TEAM",a.NOTIFICATIONS="NOTIFICATIONS",a.BANKACCOUNTS="BANK_ACCOUNTS",a.ONBOARDING="ONBOARDING",a))(Ia||{}),Pa=(a=>(a.MANAGETEAM="MANAGE_TEAM",a.NOTIFICATIONS="NOTIFICATIONS",a.BANKACCOUNTS="BANK_ACCOUNTS",a.ONBOARDING="ONBOARDING",a))(Pa||{}),ga=(a=>(a.PENDING="PENDING",a.OPENBANKINGTRANSFERSUCCESS="OPEN_BANKING_TRANSFER_SUCCESS",a.CANCELLED="CANCELLED",a.PARTIALLYPAID="PARTIALLY_PAID",a.PAID="PAID",a))(ga||{}),fa=(a=>(a.AUTOACCEPTED="AUTO_ACCEPTED",a.PREADR="PRE_ADR",a.POSTADR="POST_ADR",a))(fa||{}),Oa=(a=>(a.PENDING="PENDING",a.RESOLVED="RESOLVED",a.EXPIRED="EXPIRED",a))(Oa||{}),wa=(a=>(a.PENDING="PENDING",a.AGREED="AGREED",a))(wa||{}),ya=(a=>(a.AGREED="AGREED",a.REJECTED="REJECTED",a))(ya||{}),Ea=(a=>(a.PENDING="PENDING",a.AGREED="AGREED",a.MISSING="MISSING",a))(Ea||{}),Ca=(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))(Ca||{}),Va=(a=>(a.DRAFT="DRAFT",a.PUBLISHED="PUBLISHED",a))(Va||{}),qa=(a=>(a.DRAFT="DRAFT",a.PUBLISHED="PUBLISHED",a))(qa||{}),_a=(a=>(a.AGREED="AGREED",a.REJECTED="REJECTED",a.MISSING="MISSING",a))(_a||{}),va=(a=>(a.DRAFT="DRAFT",a.PUBLISHED="PUBLISHED",a))(va||{}),Sa=(a=>(a.DRAFT="DRAFT",a.AWAITINGRESPONSE="AWAITING_RESPONSE",a.AWAITINGREVIEW="AWAITING_REVIEW",a.AGREED="AGREED",a.REJECTED="REJECTED",a.EXPIRED="EXPIRED",a))(Sa||{}),ba=(a=>(a.Terraced="terraced",a.Semi="semi",a.Detached="detached",a.Flat="flat",a))(ba||{}),Ta=(a=>(a.AWAITINGDECISION="AWAITING_DECISION",a.ACCEPTED="ACCEPTED",a.REJECTED="REJECTED",a))(Ta||{}),Na=(a=>(a.SALES="SALES",a))(Na||{}),xa=(a=>(a.COMPANY="COMPANY",a.SOLEPERSON="SOLE_PERSON",a))(xa||{}),Ua=(a=>(a.FairRentIncreasePct="fair_rent_increase_pct",a.CpihYoyPct="cpih_yoy_pct",a))(Ua||{}),Da=(a=>(a.NOTCONNECTED="NOT_CONNECTED",a.CONNECTED="CONNECTED",a.COMPLETE="COMPLETE",a.FAILED="FAILED",a))(Da||{}),La=(a=>(a.AGENT="AGENT",a.LANDLORD="LANDLORD",a.CORPORATELANDLORD="CORPORATE_LANDLORD",a))(La||{}),Ba=(a=>(a.REPOSITPUBLISHED="REPOSIT_PUBLISHED",a.CLAIMPUBLISHED="CLAIM_PUBLISHED",a))(Ba||{}),Fa=(a=>(a.PROMOTER="PROMOTER",a.DETRACTOR="DETRACTOR",a.PASSIVE="PASSIVE",a))(Fa||{}),Ma=(a=>(a.PASSED="PASSED",a.FAILED="FAILED",a))(Ma||{}),ja=(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))(ja||{}),Ha=(a=>(a.REPOSIT="REPOSIT",a.CLAIM="CLAIM",a.CLAIMPROPOSAL="CLAIM_PROPOSAL",a.ARBITRATION="ARBITRATION",a.TOPUP="TOP_UP",a.ARBITRATIONADMINFEE="ARBITRATION_ADMIN_FEE",a))(Ha||{}),Ga=(a=>(a.DRAFT="DRAFT",a.PENDING="PENDING",a.COMPLETE="COMPLETE",a.CANCELLED="CANCELLED",a.REFUNDED="REFUNDED",a))(Ga||{}),ka=(a=>(a.MANUAL="MANUAL",a.AUTOMATIC="AUTOMATIC",a))(ka||{}),Qa=(a=>(a.REPOSIT="REPOSIT",a.PROPERTY="PROPERTY",a.BANKTRANSACTION="BANK_TRANSACTION",a))(Qa||{}),Ya=(a=>(a.DRAFT="DRAFT",a.IMPORTING="IMPORTING",a.PROCESSING="PROCESSING",a.COMPLETED="COMPLETED",a.FAILED="FAILED",a))(Ya||{}),za=(a=>(a.PENDING="PENDING",a.PROCESSING="PROCESSING",a.COMPLETED="COMPLETED",a.FAILED="FAILED",a.DUPLICATE="DUPLICATE",a))(za||{}),$a=(a=>(a.REPOSIT="REPOSIT",a.CLAIM="CLAIM",a.CLAIMPROPOSAL="CLAIM_PROPOSAL",a.ARBITRATION="ARBITRATION",a.TOPUP="TOP_UP",a.ARBITRATIONADMINFEE="ARBITRATION_ADMIN_FEE",a))($a||{}),Wa=(a=>(a.DRAFT="DRAFT",a.PENDING="PENDING",a.COMPLETE="COMPLETE",a.CANCELLED="CANCELLED",a.REFUNDED="REFUNDED",a))(Wa||{}),Ka=(a=>(a.MANUAL="MANUAL",a.AUTOMATIC="AUTOMATIC",a))(Ka||{}),Ja=(a=>(a.STANDARD="STANDARD",a.BUILDTORENT="BUILD_TO_RENT",a))(Ja||{}),Xa=(a=>(a.DEFAULT="DEFAULT",a.CLAIM="CLAIM",a.CASHDEPOSITSCHEME="CASH_DEPOSIT_SCHEME",a))(Xa||{}),Za=(a=>(a.AGENCY="AGENCY",a.BUILDTORENT="BUILD_TO_RENT",a.PRIVATE="PRIVATE",a.INTEGRATORREFERRAL="INTEGRATOR_REFERRAL",a))(Za||{}),es=(a=>(a.SALES="SALES",a))(es||{}),rs=(a=>(a.DIRECT="DIRECT",a.INITIAL="INITIAL",a.ADMIN="ADMIN",a))(rs||{}),ts=(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))(ts||{}),as=(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))(as||{}),ss=(a=>(a.TENTHOUSANDPOUNDS="TEN_THOUSAND_POUNDS",a.FIVETHOUSANDPOUNDS="FIVE_THOUSAND_POUNDS",a))(ss||{}),ns=(a=>(a.FIXED="FIXED",a.PERIODIC="PERIODIC",a))(ns||{}),os=(a=>(a.MANAGETEAM="MANAGE_TEAM",a.NOTIFICATIONS="NOTIFICATIONS",a.BANKACCOUNTS="BANK_ACCOUNTS",a.ONBOARDING="ONBOARDING",a))(os||{}),is=(a=>(a.PRIMARY="PRIMARY",a.SECONDARY="SECONDARY",a))(is||{}),ls=(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))(ls||{}),cs=(a=>(a.AGENCY="AGENCY",a.BUILDTORENT="BUILD_TO_RENT",a.PRIVATE="PRIVATE",a.INTEGRATORREFERRAL="INTEGRATOR_REFERRAL",a))(cs||{}),ds=(a=>(a.AGENCY="AGENCY",a.BUILDTORENT="BUILD_TO_RENT",a.PRIVATE="PRIVATE",a.INTEGRATORREFERRAL="INTEGRATOR_REFERRAL",a))(ds||{}),us=(a=>(a.MANAGETEAM="MANAGE_TEAM",a.NOTIFICATIONS="NOTIFICATIONS",a.BANKACCOUNTS="BANK_ACCOUNTS",a.ONBOARDING="ONBOARDING",a))(us||{}),ps=(a=>(a.AGENCY="AGENCY",a.BUILDTORENT="BUILD_TO_RENT",a.PRIVATE="PRIVATE",a.INTEGRATORREFERRAL="INTEGRATOR_REFERRAL",a))(ps||{}),hs=(a=>(a.MANAGETEAM="MANAGE_TEAM",a.NOTIFICATIONS="NOTIFICATIONS",a.BANKACCOUNTS="BANK_ACCOUNTS",a.ONBOARDING="ONBOARDING",a))(hs||{}),As=(a=>(a.PENDING="PENDING",a.OPENBANKINGTRANSFERSUCCESS="OPEN_BANKING_TRANSFER_SUCCESS",a.CANCELLED="CANCELLED",a.PARTIALLYPAID="PARTIALLY_PAID",a.PAID="PAID",a))(As||{}),ms=(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))(ms||{}),Rs=(a=>(a.Pass="pass",a.Fail="fail",a.Unchecked="unchecked",a))(Rs||{}),Is=(a=>(a.Pass="pass",a.Fail="fail",a.Unchecked="unchecked",a))(Is||{}),Ps=(a=>(a.Pass="pass",a.Fail="fail",a.Unchecked="unchecked",a))(Ps||{}),gs=(a=>(a.Pass="pass",a.Fail="fail",a.Unchecked="unchecked",a))(gs||{}),fs=(a=>(a.CONFIRM="CONFIRM",a.ADDRESS="ADDRESS",a.CARDDETAILS="CARD_DETAILS",a))(fs||{}),Os=(a=>(a.MONTHLY="MONTHLY",a))(Os||{}),ws=(a=>(a.ACTIVE="ACTIVE",a.PENDING="PENDING",a.DEFAULT="DEFAULT",a.COMPLETE="COMPLETE",a.CLOSED="CLOSED",a.CANCELLED="CANCELLED",a))(ws||{}),ys=(a=>(a.PENDING="PENDING",a.PAID="PAID",a.FAILED="FAILED",a.CANCELLED="CANCELLED",a))(ys||{}),Es=(a=>(a.LINK="LINK",a.PAYMENTINITIATION="PAYMENT_INITIATION",a))(Es||{}),Cs=(a=>(a.SESSIONFINISHED="SESSION_FINISHED",a.PAYMENTSTATUSUPDATE="PAYMENT_STATUS_UPDATE",a))(Cs||{}),Vs=(a=>(a.SUCCESS="SUCCESS",a.EXITED="EXITED",a))(Vs||{}),qs=(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))(qs||{}),_s=(a=>(a.DRAFT="DRAFT",a.SUBMITTED="SUBMITTED",a.ISSUED="ISSUED",a.CLOSED="CLOSED",a.DEACTIVATED="DEACTIVATED",a.UNKNOWN="UNKNOWN",a))(_s||{}),vs=(a=>(a.NEWTENANCY="NEW_TENANCY",a.EXISTINGTENANCY="EXISTING_TENANCY",a))(vs||{}),Ss=(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.PROCESSSCHEDULEDRETRYABLEPAYMENT="PROCESS_SCHEDULED_RETRYABLE_PAYMENT",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.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.TENANCYENDINGREMINDER="TENANCY_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.PROCESSBULKIMPORTROW="PROCESS_BULK_IMPORT_ROW",a))(Ss||{}),bs=(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.SCHEDULEDRETRYABLEPAYMENT="SCHEDULED_RETRYABLE_PAYMENT",a.DAILYORDERSCHEDULEDCHARGE="DAILY_ORDER_SCHEDULED_CHARGE",a.MONTHLYDIRECTCOMMISSION="MONTHLY_DIRECT_COMMISSION",a.MONTHLYCLOSEDREPOSITREPORT="MONTHLY_CLOSED_REPOSIT_REPORT",a.WEEKLYLANDLORDTRANSFERREMINDER="WEEKLY_LANDLORD_TRANSFER_REMINDER",a.DAILYREPOSITENDINGREMINDER="DAILY_REPOSIT_ENDING_REMINDER",a.DAILYTENANCYENDINGREMINDER="DAILY_TENANCY_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))(bs||{}),Ts=(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))(Ts||{}),Ns=(a=>(a.GBR="GBR",a))(Ns||{}),xs=(a=>(a.AGENT="AGENT",a.LANDLORD="LANDLORD",a))(xs||{}),Us=(a=>(a.DRAFT="DRAFT",a.PUBLISHED="PUBLISHED",a))(Us||{}),Ds=(a=>(a.COMPANY="COMPANY",a.SOLEPERSON="SOLE_PERSON",a))(Ds||{}),Ls=(a=>(a.PASSED="PASSED",a.FAILED="FAILED",a))(Ls||{}),Bs=(a=>(a.REPOSIT="REPOSIT",a.CASHDEPOSIT="CASH_DEPOSIT",a))(Bs||{}),Fs=(a=>(a.DEPOSITWAIVER="DEPOSIT_WAIVER",a))(Fs||{}),Ms=(a=>(a.PRIVATE="PRIVATE",a.AGENCY="AGENCY",a))(Ms||{}),js=(a=>(a.DRAFT="DRAFT",a.INVITED="INVITED",a.REGISTERED="REGISTERED",a.REFERENCED="REFERENCED",a.CONFIRMED="CONFIRMED",a.SIGNED="SIGNED",a.PAID="PAID",a))(js||{}),Hs=(a=>(a.SIGNEDTENANTTERMSANDCONDITIONS="SIGNED_TENANT_TERMS_AND_CONDITIONS",a))(Hs||{}),Gs=(a=>(a.Reposit="reposit",a))(Gs||{}),ks=(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))(ks||{}),Qs=(a=>(a.DRAFT="DRAFT",a.INVITED="INVITED",a.REGISTERED="REGISTERED",a.REFERENCED="REFERENCED",a.CONFIRMED="CONFIRMED",a.SIGNED="SIGNED",a.PAID="PAID",a))(Qs||{}),Ys=(a=>(a.PASSED="PASSED",a.FAILED="FAILED",a))(Ys||{}),zs=(a=>(a.FIXED="FIXED",a.PERIODIC="PERIODIC",a))(zs||{}),$s=(a=>(a.SUPPLIERAPPLICATION="SUPPLIER_APPLICATION",a.TENANTAPPLICATION="TENANT_APPLICATION",a))($s||{}),Ws=(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))(Ws||{}),Ks=(a=>(a.FIXED="FIXED",a.PERIODIC="PERIODIC",a))(Ks||{}),Js=(a=>(a.CONFIRMED="CONFIRMED",a.UNCONFIRMED="UNCONFIRMED",a))(Js||{}),Xs=(a=>(a.EARLY="EARLY",a.LATE="LATE",a.FINAL="FINAL",a))(Xs||{}),Zs=(a=>(a.TENANT="TENANT",a))(Zs||{}),en=(a=>(a.TENANT="TENANT",a))(en||{}),rn=(a=>(a.FIXED="FIXED",a.PERIODIC="PERIODIC",a))(rn||{}),tn=(a=>(a.Agent="agent",a.Landlord="landlord",a))(tn||{}),an=(a=>(a.Agent="agent",a.Landlord="landlord",a))(an||{}),sn=(a=>(a.DAMAGE="DAMAGE",a.CLEANING="CLEANING",a.RENTARREARS="RENT_ARREARS",a.ITEMREMOVAL="ITEM_REMOVAL",a.OTHER="OTHER",a))(sn||{}),nn=(a=>(a.COMPANY="COMPANY",a.SOLEPERSON="SOLE_PERSON",a))(nn||{}),on=(a=>(a.AGENCY="AGENCY",a.BUILDTORENT="BUILD_TO_RENT",a.PRIVATE="PRIVATE",a.INTEGRATORREFERRAL="INTEGRATOR_REFERRAL",a))(on||{}),ln=(a=>(a.DRAFT="DRAFT",a.SUBMITTED="SUBMITTED",a.ISSUED="ISSUED",a.CLOSED="CLOSED",a.DEACTIVATED="DEACTIVATED",a.UNKNOWN="UNKNOWN",a))(ln||{}),cn=(a=>(a.FIXED="FIXED",a.PERIODIC="PERIODIC",a))(cn||{}),dn=(a=>(a.AGENT="AGENT",a.ARBITRATOR="ARBITRATOR",a.LANDLORD="LANDLORD",a.TENANT="TENANT",a.INTERNAL="INTERNAL",a.MACHINE="MACHINE",a))(dn||{}),un=(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.BULKIMPORT="BULK_IMPORT",a.CLAIMUPDATEAUTOCHARGE="CLAIM_UPDATE_AUTO_CHARGE",a.CLAIMITEMCORRECTIVECHANGE="CLAIM_ITEM_CORRECTIVE_CHANGE",a.CLAIMDELETE="CLAIM_DELETE",a.BANKTRANSACTIONIMPORT="BANK_TRANSACTION_IMPORT",a.PAYMENTPLANDELETEFORCE="PAYMENT_PLAN_DELETE_FORCE",a))(un||{}),pn=(a=>(a.PENDING="PENDING",a.OPENBANKINGTRANSFERSUCCESS="OPEN_BANKING_TRANSFER_SUCCESS",a.CANCELLED="CANCELLED",a.PARTIALLYPAID="PARTIALLY_PAID",a.PAID="PAID",a))(pn||{});class fA{constructor(e={}){this.apiKey=e.apiKey,this.username=e.username,this.password=e.password,this.accessToken=e.accessToken,this.basePath=e.basePath}}exports.AddRejectionReasonRequestDTORejectionReasonEnum=vt;exports.AddressesApi=Rn;exports.AddressesApiAxiosParamCreator=de;exports.AddressesApiFactory=mn;exports.AddressesApiFp=ue;exports.ApplicantsApi=wn;exports.ApplicantsApiAxiosParamCreator=Ve;exports.ApplicantsApiFactory=On;exports.ApplicantsApiFp=qe;exports.ArbitrationDTOStatusEnum=St;exports.ArbitrationDocumentsApi=qn;exports.ArbitrationDocumentsApiAxiosParamCreator=pe;exports.ArbitrationDocumentsApiFactory=Vn;exports.ArbitrationDocumentsApiFp=he;exports.ArbitrationsApi=Nn;exports.ArbitrationsApiAxiosParamCreator=Ae;exports.ArbitrationsApiFactory=Tn;exports.ArbitrationsApiFp=me;exports.AuthApi=Fn;exports.AuthApiAxiosParamCreator=X;exports.AuthApiFactory=Bn;exports.AuthApiFp=Z;exports.BASE_PATH=u;exports.BankAccountsApi=Yn;exports.BankAccountsApiAxiosParamCreator=Fr;exports.BankAccountsApiFactory=Qn;exports.BankAccountsApiFp=Mr;exports.BaseAPI=R;exports.BeneficiariesApi=Wn;exports.BeneficiariesApiAxiosParamCreator=jr;exports.BeneficiariesApiFactory=$n;exports.BeneficiariesApiFp=Hr;exports.BulkImportDTOImportTypeEnum=bt;exports.BulkImportDTOStatusEnum=Tt;exports.BulkImportsApi=Xn;exports.BulkImportsApiAxiosParamCreator=_;exports.BulkImportsApiFactory=Jn;exports.BulkImportsApiFp=v;exports.COLLECTION_FORMATS=An;exports.CashDepositsApi=co;exports.CashDepositsApiAxiosParamCreator=ee;exports.CashDepositsApiFactory=lo;exports.CashDepositsApiFp=re;exports.CheckDTOStatusEnum=xt;exports.CheckDTOTypeEnum=Nt;exports.ChecksApi=Io;exports.ChecksApiAxiosParamCreator=Ze;exports.ChecksApiFactory=Ro;exports.ChecksApiFp=er;exports.ClaimActivityType=Ut;exports.ClaimDTOStatusEnum=Dt;exports.ClaimDocumentsApi=Oo;exports.ClaimDocumentsApiAxiosParamCreator=te;exports.ClaimDocumentsApiFactory=fo;exports.ClaimDocumentsApiFp=ae;exports.ClaimItemCorrectionResponseDTOActionEnum=Lt;exports.ClaimItemCorrectionsApi=_o;exports.ClaimItemCorrectionsApiAxiosParamCreator=rr;exports.ClaimItemCorrectionsApiFactory=qo;exports.ClaimItemCorrectionsApiFp=tr;exports.ClaimItemDTOTypeEnum=Bt;exports.ClaimItemDocumentsApi=To;exports.ClaimItemDocumentsApiAxiosParamCreator=se;exports.ClaimItemDocumentsApiFactory=bo;exports.ClaimItemDocumentsApiFp=ne;exports.ClaimItemProposalDTOSettledSourceEnum=Ft;exports.ClaimItemProposalsApi=Fo;exports.ClaimItemProposalsApiAxiosParamCreator=_e;exports.ClaimItemProposalsApiFactory=Bo;exports.ClaimItemProposalsApiFp=ve;exports.ClaimItemsApi=ko;exports.ClaimItemsApiAxiosParamCreator=Se;exports.ClaimItemsApiFactory=Go;exports.ClaimItemsApiFp=be;exports.ClaimProposalDTOSourceEnum=Mt;exports.ClaimProposalDTOStatusEnum=jt;exports.ClaimProposalDTOTypeEnum=Ht;exports.ClaimProposalsApi=Wo;exports.ClaimProposalsApiAxiosParamCreator=oe;exports.ClaimProposalsApiFactory=$o;exports.ClaimProposalsApiFp=ie;exports.ClaimResponseDocumentsApi=ti;exports.ClaimResponseDocumentsApiAxiosParamCreator=Re;exports.ClaimResponseDocumentsApiFactory=ri;exports.ClaimResponseDocumentsApiFp=Ie;exports.ClaimStatusDTOStatusIdEnum=Gt;exports.ClaimWithCheckoutRelationsDTOStatusEnum=kt;exports.ClaimsApi=li;exports.ClaimsApiAxiosParamCreator=O;exports.ClaimsApiFactory=ii;exports.ClaimsApiFp=w;exports.CommissionApi=Di;exports.CommissionApiAxiosParamCreator=Gr;exports.CommissionApiFactory=Ui;exports.CommissionApiFp=kr;exports.ConcurrentTenancyCheckApi=Fi;exports.ConcurrentTenancyCheckApiAxiosParamCreator=Qr;exports.ConcurrentTenancyCheckApiFactory=Bi;exports.ConcurrentTenancyCheckApiFp=Yr;exports.Configuration=fA;exports.CreateAddressForRepositDTOCountryEnum=Qt;exports.CreateBulkImportDTOImportTypeEnum=Yt;exports.CreateClaimItemDTOTypeEnum=zt;exports.CreateClaimItemDocumentDTOTypeEnum=$t;exports.CreateClaimItemReviewDTOStatusEnum=Wt;exports.CreateDocumentDTOTypeEnum=Kt;exports.CreateDocumentFromS3DTOTypeEnum=Jt;exports.CreateEvidenceChaserItemDTODocumentTypeIdEnum=Xt;exports.CreateEvidenceChaserItemDTOTypeEnum=Zt;exports.CreateEvidenceChaserItemReviewDTOStatusEnum=ea;exports.CreateInsuredItemDTOTypeEnum=ra;exports.CreateIntegrationRepositOfferDTOTenantsReferenceStatusEnum=ta;exports.CreateLandlordDTOLandlordTypeIdEnum=aa;exports.CreateLandlordForRepositDTOLandlordTypeIdEnum=sa;exports.CreateLandlordWithOrgDTOLandlordTypeIdEnum=na;exports.CreateNetPromoterScoreDTOSurveyEventEnum=oa;exports.CreateOrderDTOProductIdEnum=ia;exports.CreateOrganizationBankAccountDTOAccountTypeEnum=la;exports.CreateOrganizationDTOPrimaryVerticalEnum=da;exports.CreateOrganizationDTOSecondaryVerticalsEnum=ua;exports.CreateOrganizationDTOTypeEnum=ca;exports.CreateOrganizationRecipientDTOGroupEnum=pa;exports.CreatePolicyWithBeneficiaryDTOMaximumPolicyCoverEnum=ha;exports.CreateReferenceDTOChecksEnum=Aa;exports.CreateTenancyInviteDTORoleIdEnum=ma;exports.CreateTenancyRequestDTOTermTypeEnum=Ra;exports.CurrentUserAccountInfoDTOCurrentOrganizationRolesEnum=Ia;exports.CurrentUserInfoDTOCurrentOrganizationRolesEnum=Pa;exports.CustomersApi=Hi;exports.CustomersApiAxiosParamCreator=zr;exports.CustomersApiFactory=ji;exports.CustomersApiFp=$r;exports.DepositDTOStatusEnum=ga;exports.DocumentsApi=Qi;exports.DocumentsApiAxiosParamCreator=Te;exports.DocumentsApiFactory=ki;exports.DocumentsApiFp=Ne;exports.EvidenceChaserDTOStatusEnum=Oa;exports.EvidenceChaserDTOTypeEnum=fa;exports.EvidenceChaserItemClaimItemDTOStatusEnum=wa;exports.EvidenceChaserItemClaimItemReviewDTOStatusEnum=ya;exports.EvidenceChaserItemDTOStatusEnum=Ea;exports.EvidenceChaserItemDTOTypeEnum=Ca;exports.EvidenceChaserItemRequestDTOPublicationStatusEnum=Va;exports.EvidenceChaserItemRequestsApi=Ki;exports.EvidenceChaserItemRequestsApiAxiosParamCreator=ar;exports.EvidenceChaserItemRequestsApiFactory=Wi;exports.EvidenceChaserItemRequestsApiFp=sr;exports.EvidenceChaserItemResponseDTOPublicationStatusEnum=qa;exports.EvidenceChaserItemResponseDocumentsApi=el;exports.EvidenceChaserItemResponseDocumentsApiAxiosParamCreator=nr;exports.EvidenceChaserItemResponseDocumentsApiFactory=Zi;exports.EvidenceChaserItemResponseDocumentsApiFp=or;exports.EvidenceChaserItemResponsesApi=sl;exports.EvidenceChaserItemResponsesApiAxiosParamCreator=ir;exports.EvidenceChaserItemResponsesApiFactory=al;exports.EvidenceChaserItemResponsesApiFp=lr;exports.EvidenceChaserItemReviewDTOPublicationStatusEnum=va;exports.EvidenceChaserItemReviewDTOStatusEnum=_a;exports.EvidenceChaserItemReviewsApi=ll;exports.EvidenceChaserItemReviewsApiAxiosParamCreator=cr;exports.EvidenceChaserItemReviewsApiFactory=il;exports.EvidenceChaserItemReviewsApiFp=dr;exports.EvidenceChaserItemsApi=pl;exports.EvidenceChaserItemsApiAxiosParamCreator=ur;exports.EvidenceChaserItemsApiFactory=ul;exports.EvidenceChaserItemsApiFp=pr;exports.EvidenceChaserRoundDTOStatusEnum=Sa;exports.EvidenceChaserRoundsApi=Rl;exports.EvidenceChaserRoundsApiAxiosParamCreator=xe;exports.EvidenceChaserRoundsApiFactory=ml;exports.EvidenceChaserRoundsApiFp=Ue;exports.EvidenceChasersApi=Ol;exports.EvidenceChasersApiAxiosParamCreator=De;exports.EvidenceChasersApiFactory=fl;exports.EvidenceChasersApiFp=Le;exports.FeedbackApi=Vl;exports.FeedbackApiAxiosParamCreator=Wr;exports.FeedbackApiFactory=Cl;exports.FeedbackApiFp=Kr;exports.GetMarketRentCalculationDTOPropertyTypeEnum=ba;exports.HealthApi=vl;exports.HealthApiAxiosParamCreator=hr;exports.HealthApiFactory=_l;exports.HealthApiFp=Ar;exports.IncomingWebhooksApi=Nl;exports.IncomingWebhooksApiAxiosParamCreator=T;exports.IncomingWebhooksApiFactory=Tl;exports.IncomingWebhooksApiFp=N;exports.InsuranceClaimDTOStatusEnum=Ta;exports.InsuranceClaimsApi=Hl;exports.InsuranceClaimsApiAxiosParamCreator=Be;exports.InsuranceClaimsApiFactory=jl;exports.InsuranceClaimsApiFp=Fe;exports.IntegrationRepositOffersApi=zl;exports.IntegrationRepositOffersApiAxiosParamCreator=Me;exports.IntegrationRepositOffersApiFactory=Yl;exports.IntegrationRepositOffersApiFp=je;exports.IntegratorApi=Xl;exports.IntegratorApiAxiosParamCreator=Jr;exports.IntegratorApiFactory=Jl;exports.IntegratorApiFp=Xr;exports.IntegratorCommissionApi=rc;exports.IntegratorCommissionApiAxiosParamCreator=Zr;exports.IntegratorCommissionApiFactory=ec;exports.IntegratorCommissionApiFp=et;exports.InternalReportingApi=sc;exports.InternalReportingApiAxiosParamCreator=mr;exports.InternalReportingApiFactory=ac;exports.InternalReportingApiFp=Rr;exports.InternalTeamMemberDTOTeamEnum=Na;exports.InternalTeamMembersApi=lc;exports.InternalTeamMembersApiAxiosParamCreator=rt;exports.InternalTeamMembersApiFactory=ic;exports.InternalTeamMembersApiFp=tt;exports.KpiDocumentApi=uc;exports.KpiDocumentApiAxiosParamCreator=at;exports.KpiDocumentApiFactory=dc;exports.KpiDocumentApiFp=st;exports.LandlordDTOTypeEnum=xa;exports.LandlordsApi=Ac;exports.LandlordsApiAxiosParamCreator=Ir;exports.LandlordsApiFactory=hc;exports.LandlordsApiFp=Pr;exports.MarketRentCalculatorApi=Pc;exports.MarketRentCalculatorApiAxiosParamCreator=nt;exports.MarketRentCalculatorApiFactory=Ic;exports.MarketRentCalculatorApiFp=ot;exports.MarketRentCalculatorResponseDTOIncreaseBasisEnum=Ua;exports.MessageQueueApi=Oc;exports.MessageQueueApiAxiosParamCreator=it;exports.MessageQueueApiFactory=fc;exports.MessageQueueApiFp=lt;exports.MyDepositsOAuthApi=Ec;exports.MyDepositsOAuthApiAxiosParamCreator=k;exports.MyDepositsOAuthApiFactory=yc;exports.MyDepositsOAuthApiFp=Q;exports.MyDepositsOnboardingStatusResponseDTOAccountTypeEnum=La;exports.MyDepositsOnboardingStatusResponseDTOOnboardingStatusEnum=Da;exports.NetPromoterScoreApi=Tc;exports.NetPromoterScoreApiAxiosParamCreator=ct;exports.NetPromoterScoreApiFactory=bc;exports.NetPromoterScoreApiFp=dt;exports.NetPromoterScoreDTOCategoryEnum=Fa;exports.NetPromoterScoreDTOSurveyEventEnum=Ba;exports.OfferToTenantRequestDTOTenantsReferenceStatusEnum=Ma;exports.OrderCustomerActionDTOTypeIdEnum=ja;exports.OrderCustomerActionsApi=Uc;exports.OrderCustomerActionsApiAxiosParamCreator=x;exports.OrderCustomerActionsApiFactory=xc;exports.OrderCustomerActionsApiFp=U;exports.OrderCustomersApi=kc;exports.OrderCustomersApiAxiosParamCreator=He;exports.OrderCustomersApiFactory=Gc;exports.OrderCustomersApiFp=Ge;exports.OrderDTOProductIdEnum=Ha;exports.OrderDTORefundHandlingEnum=ka;exports.OrderDTOStatusIdEnum=Ga;exports.OrderManualPaymentBulkImportDTOImportTypeEnum=Qa;exports.OrderManualPaymentBulkImportDTOStatusEnum=Ya;exports.OrderManualPaymentBulkImportRowDTOStatusEnum=za;exports.OrderManualPaymentsApi=Wc;exports.OrderManualPaymentsApiAxiosParamCreator=ut;exports.OrderManualPaymentsApiFactory=$c;exports.OrderManualPaymentsApiFp=pt;exports.OrderWithOrderCustomersDTOProductIdEnum=$a;exports.OrderWithOrderCustomersDTORefundHandlingEnum=Ka;exports.OrderWithOrderCustomersDTOStatusIdEnum=Wa;exports.OrdersApi=Xc;exports.OrdersApiAxiosParamCreator=gr;exports.OrdersApiFactory=Jc;exports.OrdersApiFp=fr;exports.OrganizationAttributesDTOInvoiceCategoryEnum=Ja;exports.OrganizationBankAccountDTOAccountTypeEnum=Xa;exports.OrganizationBankAccountsApi=td;exports.OrganizationBankAccountsApiAxiosParamCreator=ke;exports.OrganizationBankAccountsApiFactory=rd;exports.OrganizationBankAccountsApiFp=Qe;exports.OrganizationDTOOrganizationTypeIdEnum=Za;exports.OrganizationInternalOwnerDTOResponsibleForEnum=es;exports.OrganizationInternalOwnersApi=id;exports.OrganizationInternalOwnersApiAxiosParamCreator=ht;exports.OrganizationInternalOwnersApiFactory=od;exports.OrganizationInternalOwnersApiFp=At;exports.OrganizationInvitesApi=dd;exports.OrganizationInvitesApiAxiosParamCreator=le;exports.OrganizationInvitesApiFactory=cd;exports.OrganizationInvitesApiFp=ce;exports.OrganizationRecipientDTOGroupEnum=rs;exports.OrganizationRecipientsApi=Id;exports.OrganizationRecipientsApiAxiosParamCreator=Or;exports.OrganizationRecipientsApiFactory=Rd;exports.OrganizationRecipientsApiFp=wr;exports.OrganizationSettingsDTOAllowedTenancyTermTypesEnum=ns;exports.OrganizationSettingsDTOCommissionRuleEnum=as;exports.OrganizationSettingsDTOMaximumPolicyCoverEnum=ss;exports.OrganizationSettingsDTOPricingRuleEnum=ts;exports.OrganizationUserDTORolesEnum=os;exports.OrganizationUsersApi=Od;exports.OrganizationUsersApiAxiosParamCreator=Ye;exports.OrganizationUsersApiFactory=fd;exports.OrganizationUsersApiFp=ze;exports.OrganizationVerticalDTONameEnum=ls;exports.OrganizationVerticalDTOTypeEnum=is;exports.OrganizationWithCashDepositDTOOrganizationTypeIdEnum=cs;exports.OrganizationWithRepositsAndRolesOrganizationTypeIdEnum=ds;exports.OrganizationWithRepositsAndRolesRolesEnum=us;exports.OrganizationWithRolesOrganizationTypeIdEnum=ps;exports.OrganizationWithRolesRolesEnum=hs;exports.OrganizationsApi=Vd;exports.OrganizationsApiAxiosParamCreator=g;exports.OrganizationsApiFactory=Cd;exports.OrganizationsApiFp=f;exports.PaymentDetailsResponseDTOCashDepositStatusEnum=As;exports.PaymentMethodChecksRequestDTOCustomerActionTypeEnum=ms;exports.PaymentMethodChecksResponseDTOCvcEnum=Rs;exports.PaymentMethodChecksResponseDTOFundingEnum=gs;exports.PaymentMethodChecksResponseDTONameMatchEnum=Ps;exports.PaymentMethodChecksResponseDTOPostcodeEnum=Is;exports.PaymentPlanActionDTOTypeIdEnum=fs;exports.PaymentPlanActionsApi=ru;exports.PaymentPlanActionsApiAxiosParamCreator=Pe;exports.PaymentPlanActionsApiFactory=eu;exports.PaymentPlanActionsApiFp=ge;exports.PaymentPlanDTOFrequencyEnum=Os;exports.PaymentPlanDTOStatusEnum=ws;exports.PaymentPlanInstalmentDTOStatusEnum=ys;exports.PaymentPlanInstalmentsApi=iu;exports.PaymentPlanInstalmentsApiAxiosParamCreator=$e;exports.PaymentPlanInstalmentsApiFactory=ou;exports.PaymentPlanInstalmentsApiFp=We;exports.PaymentPlansApi=pu;exports.PaymentPlansApiAxiosParamCreator=D;exports.PaymentPlansApiFactory=uu;exports.PaymentPlansApiFp=L;exports.PlaidWebhookDtoNewPaymentStatusEnum=qs;exports.PlaidWebhookDtoStatusEnum=Vs;exports.PlaidWebhookDtoWebhookCodeEnum=Cs;exports.PlaidWebhookDtoWebhookTypeEnum=Es;exports.PoliciesApi=Ou;exports.PoliciesApiAxiosParamCreator=Y;exports.PoliciesApiFactory=fu;exports.PoliciesApiFp=z;exports.PolicyDTOStatusEnum=_s;exports.PolicyDocumentsApi=vu;exports.PolicyDocumentsApiAxiosParamCreator=fe;exports.PolicyDocumentsApiFactory=_u;exports.PolicyDocumentsApiFp=Oe;exports.PolicyTypeDTOCoverTypeEnum=vs;exports.PreTenancyDocumentsApi=Uu;exports.PreTenancyDocumentsApiAxiosParamCreator=yr;exports.PreTenancyDocumentsApiFactory=xu;exports.PreTenancyDocumentsApiFp=Er;exports.PricingApi=Fu;exports.PricingApiAxiosParamCreator=Cr;exports.PricingApiFactory=Bu;exports.PricingApiFp=Vr;exports.PropertiesApi=Gu;exports.PropertiesApiAxiosParamCreator=Ke;exports.PropertiesApiFactory=Hu;exports.PropertiesApiFp=Je;exports.QueueMessageDTOCronNameEnum=bs;exports.QueueMessageDTOTypeEnum=Ss;exports.ReconciliationDocumentsApi=$u;exports.ReconciliationDocumentsApiAxiosParamCreator=mt;exports.ReconciliationDocumentsApiFactory=zu;exports.ReconciliationDocumentsApiFp=Rt;exports.ReferenceDTOStatusEnum=Ts;exports.ReferenceDocumentsApi=Ju;exports.ReferenceDocumentsApiAxiosParamCreator=we;exports.ReferenceDocumentsApiFactory=Ku;exports.ReferenceDocumentsApiFp=ye;exports.ReferencesApi=ap;exports.ReferencesApiAxiosParamCreator=B;exports.ReferencesApiFactory=tp;exports.ReferencesApiFp=F;exports.RepositAddressDTOCountryEnum=Ns;exports.RepositAgentDTOUserTypeIdEnum=xs;exports.RepositDTOStatusEnum=Us;exports.RepositLandlordDTOLandlordTypeIdEnum=Ds;exports.RepositOfferDTOTenantsReferenceStatusEnum=Ls;exports.RepositOfferRecipientDTOChoiceEnum=Bs;exports.RepositOffersApi=pp;exports.RepositOffersApiAxiosParamCreator=M;exports.RepositOffersApiFactory=up;exports.RepositOffersApiFp=j;exports.RepositPolicyTypeDTOCategoryEnum=Fs;exports.RepositSupplierDTOTypeEnum=Ms;exports.RepositTenantDTOStatusEnum=js;exports.RepositTenantDocumentDTOTypeEnum=Hs;exports.RepositWebhookDTOActionEnum=ks;exports.RepositWebhookDTOResourceTypeEnum=Gs;exports.RepositWebhookTenantDTOStatusEnum=Qs;exports.RepositsApi=Op;exports.RepositsApiAxiosParamCreator=S;exports.RepositsApiFactory=fp;exports.RepositsApiFp=b;exports.RequiredError=h;exports.SearchRepositOfferDTOTenantsReferenceStatusEnum=Ys;exports.SeedCashDepositsApi=bp;exports.SeedCashDepositsApiAxiosParamCreator=It;exports.SeedCashDepositsApiFactory=Sp;exports.SeedCashDepositsApiFp=Pt;exports.SeedRepositDTOTermTypeEnum=zs;exports.SeedRepositsApi=xp;exports.SeedRepositsApiAxiosParamCreator=gt;exports.SeedRepositsApiFactory=Np;exports.SeedRepositsApiFp=ft;exports.SubmitFeedbackDTOApplicationEnum=$s;exports.SubmitFeedbackDTOSubjectEnum=Ws;exports.SuppliersApi=Lp;exports.SuppliersApiAxiosParamCreator=qr;exports.SuppliersApiFactory=Dp;exports.SuppliersApiFp=_r;exports.TenanciesApi=jp;exports.TenanciesApiAxiosParamCreator=C;exports.TenanciesApiFactory=Mp;exports.TenanciesApiFp=V;exports.TenancyAnniversariesApi=sh;exports.TenancyAnniversariesApiAxiosParamCreator=Ot;exports.TenancyAnniversariesApiFactory=ah;exports.TenancyAnniversariesApiFp=wt;exports.TenancyCheckoutsApi=ih;exports.TenancyCheckoutsApiAxiosParamCreator=yt;exports.TenancyCheckoutsApiFactory=oh;exports.TenancyCheckoutsApiFp=Et;exports.TenancyDTOTermTypeEnum=Ks;exports.TenancyExpiriesApi=dh;exports.TenancyExpiriesApiAxiosParamCreator=vr;exports.TenancyExpiriesApiFactory=ch;exports.TenancyExpiriesApiFp=Sr;exports.TenancyInventoriesApi=Ah;exports.TenancyInventoriesApiAxiosParamCreator=br;exports.TenancyInventoriesApiFactory=hh;exports.TenancyInventoriesApiFp=Tr;exports.TenancyInventoryRespondentDTOResponseEnum=Js;exports.TenancyInventoryRespondentDTOStageEnum=Xs;exports.TenancyInviteDTORoleIdEnum=Zs;exports.TenancyInvitesApi=Ph;exports.TenancyInvitesApiAxiosParamCreator=$;exports.TenancyInvitesApiFactory=Ih;exports.TenancyInvitesApiFp=W;exports.TenancyOrderNotesApi=Vh;exports.TenancyOrderNotesApiAxiosParamCreator=Nr;exports.TenancyOrderNotesApiFactory=Ch;exports.TenancyOrderNotesApiFp=xr;exports.TenancyOrdersApi=Sh;exports.TenancyOrdersApiAxiosParamCreator=K;exports.TenancyOrdersApiFactory=vh;exports.TenancyOrdersApiFp=J;exports.TenancyUserDTORoleIdEnum=en;exports.TenancyUsersApi=Bh;exports.TenancyUsersApiAxiosParamCreator=Ee;exports.TenancyUsersApiFactory=Lh;exports.TenancyUsersApiFp=Ce;exports.TenancyWithCheckoutAndClaimDTOTermTypeEnum=rn;exports.TenantMoveOutInfoResponseDTOOrgTypeEnum=tn;exports.TenantScheduledMoveOutResponseDTOOrgTypeEnum=an;exports.TenantsApi=kh;exports.TenantsApiAxiosParamCreator=Ur;exports.TenantsApiFactory=Gh;exports.TenantsApiFp=Dr;exports.TermsApi=$h;exports.TermsApiAxiosParamCreator=Lr;exports.TermsApiFactory=zh;exports.TermsApiFp=Br;exports.UpdateClaimItemDTOTypeEnum=sn;exports.UpdateLandlordDTOTypeEnum=nn;exports.UpdateOrganizationDTOOrganizationTypeIdEnum=on;exports.UpdatePolicyStatusDTOStatusEnum=ln;exports.UpdateTenancyRequestDTOTermTypeEnum=cn;exports.UserDTOInternalRolesEnum=un;exports.UserDTOUserTypeIdEnum=dn;exports.UsersApi=Xh;exports.UsersApiAxiosParamCreator=y;exports.UsersApiFactory=Jh;exports.UsersApiFp=E;exports.VerifyPostcodeResponseDTOStatusEnum=pn;exports.WebhooksApi=PA;exports.WebhooksApiAxiosParamCreator=Ct;exports.WebhooksApiFactory=IA;exports.WebhooksApiFp=Vt;exports.aboutYou=Dc;exports.acceptOrganizationInvite=ud;exports.acceptTenancyInvite=gh;exports.acknowledgeCaseSentToInsurer=ci;exports.addAbitrationDocument=_n;exports.addClaimDocument=wo;exports.addClaimDocumentByDocumentId=yo;exports.addClaimItemDocument=No;exports.addClaimItemDocumentByDocumentId=xo;exports.addClaimResponseDocument=ai;exports.addGuarantor=Fh;exports.addItems=wu;exports.addPaymentMethod=Gi;exports.addPolicyDocument=Su;exports.addPreTenancyDocumentByDocumentId=Du;exports.addReferenceDocument=Xu;exports.addRejectionReason=hp;exports.addTenant=Qh;exports.addressHistory=Lc;exports.agreeClaimProposal=Ko;exports.applyClaimItemCorrection=vo;exports.approveClaim=di;exports.calculateMarketRent=gc;exports.changeInstalmentDates=hu;exports.checkConcurrentTenancy=Mi;exports.closingRemindersEnabled=Hp;exports.completeMyDepositsSetup=Cc;exports.completeOnboardingIntroduction=Zh;exports.confirm=Bc;exports.confirmBankAccounts=qd;exports.confirmPaymentPlan=tu;exports.confirmTenancyDetails=uo;exports.counterClaimProposal=Jo;exports.create=ad;exports.createAddress=In;exports.createApplicant=yn;exports.createArbitration=xn;exports.createBulkImport=Zn;exports.createCheckout=lh;exports.createClaim=ui;exports.createClaimActivity=pi;exports.createClaimItem=Qo;exports.createClaimItemProposal=Mo;exports.createDocument=Yi;exports.createEvidenceChaser=wl;exports.createEvidenceChaserItem=hl;exports.createEvidenceChaserItemRequest=Ji;exports.createEvidenceChaserItemResponse=nl;exports.createEvidenceChaserItemResponseDocument=rl;exports.createEvidenceChaserItemReview=cl;exports.createFromS3=zi;exports.createInsuranceClaim=Gl;exports.createInsuranceClaimOnClaim=hi;exports.createIntegrationRepositOffer=$l;exports.createNetPromoterScore=Nc;exports.createOffer=Ap;exports.createOneTimeSessionToken=eA;exports.createOrganization=_d;exports.createOrganizationInvite=pd;exports.createOrganizationRecipient=Pd;exports.createPaymentPlan=Au;exports.createPolicy=yu;exports.createProperty=ku;exports.createReference=sp;exports.createReposit=wp;exports.createTemporaryUploadUrl=eo;exports.createTenancy=Gp;exports.createTenancyExpiry=uh;exports.createTenancyInvite=fh;exports.createTenancyOrder=kp;exports.createTenancyOrderNote=qh;exports.dbHealthCheck=Sl;exports.deactivateClaim=Ai;exports.declineClaim=mi;exports.deferPaymentPlanInstalment=lu;exports.deleteAbitrationDocument=vn;exports.deleteBankAccount=sd;exports.deleteById=Yh;exports.deleteClaim=Ri;exports.deleteClaimDocument=Eo;exports.deleteClaimItem=Yo;exports.deleteClaimItemDocument=Uo;exports.deleteClaimItemProposal=jo;exports.deleteClaimResponseDocument=si;exports.deleteEvidenceChaserItemRequest=Xi;exports.deleteEvidenceChaserItemResponseDocument=tl;exports.deleteGuarantor=Mh;exports.deleteIntegrationRepositOffer=Wl;exports.deleteInvite=hd;exports.deleteItem=Eu;exports.deleteNote=_h;exports.deleteOffer=mp;exports.deleteOrganizationRecipient=gd;exports.deletePaymentPlanById=mu;exports.deletePolicyDocument=bu;exports.deletePreTenancyDocument=Lu;exports.deleteReferenceDocument=Zu;exports.deleteTenancyInvite=Oh;exports.disableProductCreation=vd;exports.disableTopUps=Qp;exports.disableWarnings=mh;exports.disconnectMyDeposits=Vc;exports.dismissNewProductUpdates=rA;exports.dismissOrganizationMessage=Sd;exports.dismissUserMessage=tA;exports.disputeClaimProposal=Xo;exports.dryRunClaimItemCorrection=So;exports.duplicatePaymentMethodCheck=Zc;exports.enableProductCreation=bd;exports.exchangeMyDepositsToken=qc;exports.expireEvidenceChaser=yl;exports.extendOutcomeDeadline=Yp;exports.fetchAddressesByOrganizationId=Td;exports.fetchInvitesByOrganizationId=Ad;exports.fetchInvitesByTenancyId=wh;exports.fetchLandlordsByOrganizationId=Nd;exports.fetchOrganizationUsersByOrganizationId=xd;exports.fetchPropertiesByOrganizationId=Ud;exports.fetchTenanciesByOrganizationId=Dd;exports.fetchUsersByOrganizationId=Ld;exports.findAbitrationDocumentById=Sn;exports.findAddressById=Pn;exports.findAll=cc;exports.findApplicantById=En;exports.findCheckById=Po;exports.findClaimById=Ii;exports.findClaimDocumentById=Co;exports.findClaimItemDocumentById=Do;exports.findClaimResponseDocumentById=ni;exports.findManyAbitrationDocuments=bn;exports.findManyClaimDocuments=Vo;exports.findManyClaimItemDocuments=Lo;exports.findManyClaimResponseDocuments=oi;exports.findManyPolicyDocuments=Tu;exports.findManyReferenceDocuments=ep;exports.findOne=Cu;exports.findOneByID=aA;exports.findOrganizationById=Bd;exports.findPolicyDocumentById=Nu;exports.findReferenceById=np;exports.findReferenceDocumentById=rp;exports.forceDeletePaymentPlanById=Ru;exports.generateADRForm=Pi;exports.generateCashDepositPlaidLinkToken=po;exports.generateCommissionCsvForPeriod=Li;exports.generateLastMonthCommission=tc;exports.getActive=zn;exports.getAllBulkImports=ro;exports.getAmountRemaining=ed;exports.getArbitrationById=Un;exports.getBankAccounts=nd;exports.getBulkImportById=to;exports.getBulkImportDownloadUrl=ao;exports.getByTenancyId=ph;exports.getCashDepositAmount=Mu;exports.getCashDepositScheme=Fd;exports.getChecks=op;exports.getChildren=Md;exports.getCompletedReposits=nc;exports.getCreatedReposits=oc;exports.getCustomer=sA;exports.getDocumentsByIds=$i;exports.getDuplicateRowsCsv=so;exports.getEvidenceChaserById=El;exports.getExampleCsv=no;exports.getFailedRowsCsv=oo;exports.getInstalmentById=cu;exports.getInstalmentPaymentIntentSecret=du;exports.getInsuranceClaim=kl;exports.getIntegrators=Zl;exports.getLandlordById=mc;exports.getMyDepositsAuthorizeUrl=_c;exports.getMyDepositsCompanyOffices=vc;exports.getMyDepositsOnboardingStatus=Sc;exports.getMySupplier=Bp;exports.getOrderCustomerById=Qc;exports.getOrderManualPaymentsByClaimWithBankTransfers=Kc;exports.getOrganizationMetrics=jd;exports.getOrganizationUsers=nA;exports.getOrganizationVerticals=Hd;exports.getOwners=ld;exports.getPaymentDetails=ho;exports.getPaymentPlanAction=au;exports.getPaymentPlanById=Iu;exports.getPaymentPlanPropertyAddressById=Pu;exports.getPropertyById=Qu;exports.getRecipients=Gd;exports.getReferenceDocuments=ip;exports.getRepositById=yp;exports.getRepositFee=ju;exports.getRepositLandlord=Ep;exports.getRepositOffer=Rp;exports.getRepositPolicies=Cp;exports.getRepositPrice=Vp;exports.getSetupIntentSecret=gu;exports.getSupplierAgents=Fp;exports.getSupplierTerms=Wh;exports.getTenancyAnniversaries=nh;exports.getTenancyById=zp;exports.getTenancyDocuments=$p;exports.getTenancyOrderById=bh;exports.getTenancyOrdersByProductId=oA;exports.getTenancyUserById=Yc;exports.getTenantDocuments=qp;exports.getTenantTerms=Kh;exports.getUserAccount=iA;exports.getUserTenancyAnniversaries=lA;exports.grantRoles=wd;exports.healthCheck=bl;exports.login=Mn;exports.me=cA;exports.notifyIntegrator=yd;exports.optimisedSearch=Th;exports.optimisedSearchClaim=gi;exports.override=go;exports.pay=Fc;exports.paySupplier=fi;exports.paymentCardChecks=zc;exports.previewClaimDeletion=Oi;exports.processIncomingMessage=wc;exports.processPlaidWebhooks=xl;exports.processSendGridWebhooks=Ul;exports.processStripeOffSessionWebhooks=Dl;exports.processStripeWebhooks=Ll;exports.processTwilioIvrWebhooks=Bl;exports.processTwilioIvrWebhooksWithGatherAction=Fl;exports.processTwilioVoicemailWebhook=Ml;exports.processUploadFile=io;exports.progressIntegrationRepositOffer=Kl;exports.publish=Wp;exports.publishArbitration=Dn;exports.publishClaim=wi;exports.publishClaimProposal=Zo;exports.publishEvidenceChaserRequests=Il;exports.publishEvidenceChaserResponses=Pl;exports.publishEvidenceChaserReviews=gl;exports.publishReposit=_p;exports.readyForArbitrateClaim=yi;exports.readyForReview=lp;exports.redeemOneTimeSessionToken=jn;exports.reference=Mc;exports.removeTenancyOrderById=Nh;exports.removeUser=kd;exports.reopenClaim=Ei;exports.reopenTenancyOrder=xh;exports.replaceReposit=vp;exports.requestMoreInfoClaim=Ci;exports.resendOrganizationInvite=md;exports.resendTenancyInvite=yh;exports.resetPassword=Hn;exports.resetPasswordRequest=Gn;exports.resetUserPassword=dA;exports.resolveClaim=Vi;exports.resolveInsuranceClaim=Ql;exports.respondToOffer=Ip;exports.revokeRoles=Ed;exports.searchAddressesByPostcode=gn;exports.searchKpiDocuments=pc;exports.searchOffers=Pp;exports.searchOrganization=Qd;exports.searchProperties=Yu;exports.searchReconciliationDocuments=Wu;exports.searchReferences=cp;exports.searchUser=uA;exports.seedCashDeposit=Tp;exports.seedReposit=Up;exports.sendOverdueChasers=Uh;exports.sendReminder=gp;exports.sendReminderEmail=jh;exports.setLandlordInformationComplete=Yd;exports.setPassword=kn;exports.sign=jc;exports.signAddendumForSupplier=Kp;exports.signAddendumForTenant=Hc;exports.signCashDeposit=Ao;exports.skipEvidenceChaser=qi;exports.submitChecks=dp;exports.submitFeedback=ql;exports.submitMoreInfoClaim=_i;exports.tenantConfirmation=Rh;exports.tenantMoveOutInfo=Jp;exports.tenantScheduledMoveOut=Xp;exports.tenantVacated=Zp;exports.transferTenancyOrderToOrganization=Dh;exports.unpublishClaimProposal=ei;exports.updateASTAcceptance=zd;exports.updateAboutMe=pA;exports.updateAddress=su;exports.updateAddressById=fn;exports.updateAddressHistory=hA;exports.updateArbitration=Ln;exports.updateAttributes=Cn;exports.updateAutoCharge=vi;exports.updateBeneficiary=Kn;exports.updateBetaEnabled=AA;exports.updateCardDetails=nu;exports.updateClaim=Si;exports.updateClaimItem=zo;exports.updateClaimItemProposal=Ho;exports.updateEmailSettings=mA;exports.updateEvidenceChaserItem=Al;exports.updateEvidenceChaserItemResponse=ol;exports.updateEvidenceChaserItemReview=dl;exports.updateExistingProperty=eh;exports.updateGuarantor=Hh;exports.updateInformedLandlords=$d;exports.updateIntegrationWebhookUrl=gA;exports.updateLandlord=Rc;exports.updateOrganization=Wd;exports.updateOrganizationNotes=Kd;exports.updatePolicy=Vu;exports.updateProperty=rh;exports.updateStatus=qu;exports.updateTenancy=th;exports.updateTenancyInvite=Eh;exports.updateTenantDisputeMessage=bi;exports.updateTermsAccepted=Jd;exports.updateUser=RA;exports.updateYourCompany=Xd;exports.verifyClaim=Ti;exports.verifyPostcode=mo;exports.waiveDisputeFee=Ni;exports.welcomeLandlord=Zd;exports.zipDocuments=xi;