@reposit/api-client 6.64.0 → 6.65.0-1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const p=require("axios"),u="http://localhost".replace(/\/+$/,""),Ws={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,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:n.pathname+n.search,options:i}}}},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)}}}},Js=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 Ks 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 Xs(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 Zs(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 en(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 rn(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,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:n.pathname+n.search,options:i}}}},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)}}}},tn=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 an 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 sn(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 nn(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 on(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={},m={},A=new FormData;return r!==void 0&&A.append("file",r),t!==void 0&&A.append("name",t),s!==void 0&&A.append("type",s),c["Content-Type"]="multipart/form-data",Object.entries({...m,...n.query}).forEach(([I,P])=>{P!==void 0&&i.searchParams.set(I,String(P))}),d.headers={...c,...n.headers},d.data=A,{url:i.pathname+i.search,options:d}},deleteAbitrationDocument(e,r,t={}){if(e==null)throw new h("arbitrationId","Required parameter arbitrationId was null or undefined when calling deleteAbitrationDocument.");if(r==null)throw new h("documentId","Required parameter documentId was null or undefined when calling deleteAbitrationDocument.");const s="/v2/arbitrations/{arbitrationId}/documents/{documentId}".replace("{arbitrationId}",encodeURIComponent(String(e))).replace("{documentId}",encodeURIComponent(String(r))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"DELETE",...o,...t},l={};return Object.entries({...{},...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},{url:n.pathname+n.search,options:i}},findAbitrationDocumentById(e,r,t={}){if(e==null)throw new h("arbitrationId","Required parameter arbitrationId was null or undefined when calling findAbitrationDocumentById.");if(r==null)throw new h("documentId","Required parameter documentId was null or undefined when calling findAbitrationDocumentById.");const s="/v2/arbitrations/{arbitrationId}/documents/{documentId}".replace("{arbitrationId}",encodeURIComponent(String(e))).replace("{documentId}",encodeURIComponent(String(r))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"GET",...o,...t},l={};return Object.entries({...{},...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},{url:n.pathname+n.search,options:i}},findManyAbitrationDocuments(e,r={}){if(e==null)throw new h("arbitrationId","Required parameter arbitrationId was null or undefined when calling findManyAbitrationDocuments.");const t="/v2/arbitrations/{arbitrationId}/documents".replace("{arbitrationId}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}}}},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)}}}},ln=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 cn 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 dn(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 un(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 pn(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 hn(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 me=function(a){return{createArbitration(e,r={}){if(e==null)throw new h("createArbitrationDTO","Required parameter createArbitrationDTO was null or undefined when calling createArbitration.");const t="/v2/arbitrations",s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"POST",...n,...r},i={},l={};return i["Content-Type"]="application/json",Object.entries({...l,...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},o.data=JSON.stringify(e!==void 0?e:{}),{url:s.pathname+s.search,options:o}},getArbitrationById(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling getArbitrationById.");const t="/v2/arbitrations/{id}".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},publishArbitration(e,r={}){if(e==null)throw new h("arbitrationId","Required parameter arbitrationId was null or undefined when calling publishArbitration.");const t="/v2/arbitrations/{arbitrationId}/publish".replace("{arbitrationId}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"POST",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},updateArbitration(e,r,t={}){if(e==null)throw new h("arbitrationId","Required parameter arbitrationId was null or undefined when calling updateArbitration.");if(r==null)throw new h("updateArbitrationDTO","Required parameter updateArbitrationDTO was null or undefined when calling updateArbitration.");const s="/v2/arbitrations/{arbitrationId}".replace("{arbitrationId}",encodeURIComponent(String(e))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"PATCH",...o,...t},l={},d={};return l["Content-Type"]="application/json",Object.entries({...d,...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:n.pathname+n.search,options:i}}}},Ae=function(a){return{createArbitration(e,r){const t=me(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=me(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=me(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=me(a).updateArbitration(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{createArbitration(t,s){return Ae(a).createArbitration(t,s)(r,e)},getArbitrationById(t,s){return Ae(a).getArbitrationById(t,s)(r,e)},publishArbitration(t,s){return Ae(a).publishArbitration(t,s)(r,e)},updateArbitration(t,s,n){return Ae(a).updateArbitration(t,s,n)(r,e)}}};class An extends R{createArbitration(e,r){return Ae(this.configuration).createArbitration(e,r)(this.axios,this.basePath)}getArbitrationById(e,r){return Ae(this.configuration).getArbitrationById(e,r)(this.axios,this.basePath)}publishArbitration(e,r){return Ae(this.configuration).publishArbitration(e,r)(this.axios,this.basePath)}updateArbitration(e,r,t){return Ae(this.configuration).updateArbitration(e,r,t)(this.axios,this.basePath)}}async function Rn(a,e,r=p,t=u,s){const n=me(e).createArbitration(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function In(a,e,r=p,t=u,s){const n=me(e).getArbitrationById(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=me(e).publishArbitration(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function gn(a,e,r,t=p,s=u,n){const o=me(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)}}}},wn=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 On 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 fn(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 yn(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 En(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 Cn(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 Vn(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 Lr=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}}}},Br=function(a){return{getActive(e){const r=Lr(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 Br(a).getActive(t)(r,e)}}};class _n extends R{getActive(e){return Br(this.configuration).getActive(e)(this.axios,this.basePath)}}async function vn(a,e=p,r=u,t){const s=Lr(a).getActive(t),n={...s.options,url:r+s.url};return(await e.request(n)).data}const Fr=function(a){return{updateBeneficiary(e,r,t={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling updateBeneficiary.");if(r==null)throw new h("updateBeneficiaryDTO","Required parameter updateBeneficiaryDTO was null or undefined when calling updateBeneficiary.");const s="/v2/beneficiaries/{id}".replace("{id}",encodeURIComponent(String(e))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"PATCH",...o,...t},l={},d={};return l["Content-Type"]="application/json",Object.entries({...d,...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:n.pathname+n.search,options:i}}}},jr=function(a){return{updateBeneficiary(e,r,t){const s=Fr(a).updateBeneficiary(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{updateBeneficiary(t,s,n){return jr(a).updateBeneficiary(t,s,n)(r,e)}}};class Sn extends R{updateBeneficiary(e,r,t){return jr(this.configuration).updateBeneficiary(e,r,t)(this.axios,this.basePath)}}async function Tn(a,e,r,t=p,s=u,n){const o=Fr(r).updateBeneficiary(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}const _=function(a){return{createBulkImport(e,r={}){if(e==null)throw new h("createBulkImportDTO","Required parameter createBulkImportDTO was null or undefined when calling createBulkImport.");const t="/v2/bulk-imports",s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"POST",...n,...r},i={},l={};return i["Content-Type"]="application/json",Object.entries({...l,...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},o.data=JSON.stringify(e!==void 0?e:{}),{url:s.pathname+s.search,options:o}},createTemporaryUploadUrl(e,r={}){if(e==null)throw new h("createTemporaryUploadUrlDTO","Required parameter createTemporaryUploadUrlDTO was null or undefined when calling createTemporaryUploadUrl.");const t="/v2/bulk-imports/upload-url",s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"POST",...n,...r},i={},l={};return i["Content-Type"]="application/json",Object.entries({...l,...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},o.data=JSON.stringify(e!==void 0?e:{}),{url:s.pathname+s.search,options:o}},getAllBulkImports(e={}){const r="/v2/bulk-imports",t=new URL(r,"http://placeholder");let s;a&&(s=a.baseOptions);const n={method:"GET",...s,...e},o={};return Object.entries({...{},...e.query}).forEach(([l,d])=>{d!==void 0&&t.searchParams.set(l,String(d))}),n.headers={...o,...e.headers},{url:t.pathname+t.search,options:n}},getBulkImportById(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling getBulkImportById.");const t="/v2/bulk-imports/{id}".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},getBulkImportDownloadUrl(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling getBulkImportDownloadUrl.");const t="/v2/bulk-imports/{id}/download-url".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},getExampleCsv(e={}){const r="/v2/bulk-imports/example.csv",t=new URL(r,"http://placeholder");let s;a&&(s=a.baseOptions);const n={method:"GET",...s,...e},o={};return Object.entries({...{},...e.query}).forEach(([l,d])=>{d!==void 0&&t.searchParams.set(l,String(d))}),n.headers={...o,...e.headers},{url:t.pathname+t.search,options:n}},getFailedRowsCsv(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling getFailedRowsCsv.");const t="/v2/bulk-imports/{id}/failed-rows.csv".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},processUploadFile(e,r,t={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling processUploadFile.");if(r==null)throw new h("processUploadFileDTO","Required parameter processUploadFileDTO was null or undefined when calling processUploadFile.");const s="/v2/bulk-imports/{id}/process-upload".replace("{id}",encodeURIComponent(String(e))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"POST",...o,...t},l={},d={};return l["Content-Type"]="application/json",Object.entries({...d,...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:n.pathname+n.search,options:i}}}},v=function(a){return{createBulkImport(e,r){const t=_(a).createBulkImport(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},createTemporaryUploadUrl(e,r){const t=_(a).createTemporaryUploadUrl(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},getAllBulkImports(e){const r=_(a).getAllBulkImports(e);return(t=p,s=u)=>{const n={...r.options,url:s+r.url};return t.request(n)}},getBulkImportById(e,r){const t=_(a).getBulkImportById(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},getBulkImportDownloadUrl(e,r){const t=_(a).getBulkImportDownloadUrl(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},getExampleCsv(e){const r=_(a).getExampleCsv(e);return(t=p,s=u)=>{const n={...r.options,url:s+r.url};return t.request(n)}},getFailedRowsCsv(e,r){const t=_(a).getFailedRowsCsv(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},processUploadFile(e,r,t){const s=_(a).processUploadFile(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}}}},Nn=function(a,e,r){return{createBulkImport(t,s){return v(a).createBulkImport(t,s)(r,e)},createTemporaryUploadUrl(t,s){return v(a).createTemporaryUploadUrl(t,s)(r,e)},getAllBulkImports(t){return v(a).getAllBulkImports(t)(r,e)},getBulkImportById(t,s){return v(a).getBulkImportById(t,s)(r,e)},getBulkImportDownloadUrl(t,s){return v(a).getBulkImportDownloadUrl(t,s)(r,e)},getExampleCsv(t){return v(a).getExampleCsv(t)(r,e)},getFailedRowsCsv(t,s){return v(a).getFailedRowsCsv(t,s)(r,e)},processUploadFile(t,s,n){return v(a).processUploadFile(t,s,n)(r,e)}}};class 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)}getExampleCsv(e){return v(this.configuration).getExampleCsv(e)(this.axios,this.basePath)}getFailedRowsCsv(e,r){return v(this.configuration).getFailedRowsCsv(e,r)(this.axios,this.basePath)}processUploadFile(e,r,t){return v(this.configuration).processUploadFile(e,r,t)(this.axios,this.basePath)}}async function Un(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 Dn(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 Ln(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 Bn(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 Fn(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 jn(a,e=p,r=u,t){const s=_(a).getExampleCsv(t),n={...s.options,url:r+s.url};return(await e.request(n)).data}async function Mn(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 Hn(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)}}}},Gn=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 kn 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 Qn(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 Yn(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 zn(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 $n(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 Wn(a,e,r=p,t=u,s){const n=ee(e).verifyPostcode(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}const Ke=function(a){return{findCheckById(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling findCheckById.");const t="/v2/checks/{id}".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},override(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling override.");const t="/v2/checks/{id}/override".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"PATCH",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}}}},Xe=function(a){return{findCheckById(e,r){const t=Ke(a).findCheckById(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},override(e,r){const t=Ke(a).override(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}}}},Jn=function(a,e,r){return{findCheckById(t,s){return Xe(a).findCheckById(t,s)(r,e)},override(t,s){return Xe(a).override(t,s)(r,e)}}};class Kn extends R{findCheckById(e,r){return Xe(this.configuration).findCheckById(e,r)(this.axios,this.basePath)}override(e,r){return Xe(this.configuration).override(e,r)(this.axios,this.basePath)}}async function Xn(a,e,r=p,t=u,s){const n=Ke(e).findCheckById(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function Zn(a,e,r=p,t=u,s){const n=Ke(e).override(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}const te=function(a){return{addClaimDocument(e,r,t,s,n={}){if(e==null)throw new h("claimId","Required parameter claimId was null or undefined when calling addClaimDocument.");if(r==null)throw new h("file","Required parameter file was null or undefined when calling addClaimDocument.");if(t==null)throw new h("name","Required parameter name was null or undefined when calling addClaimDocument.");if(s==null)throw new h("type","Required parameter type was null or undefined when calling addClaimDocument.");const o="/v2/claims/{claimId}/documents".replace("{claimId}",encodeURIComponent(String(e))),i=new URL(o,"http://placeholder");let l;a&&(l=a.baseOptions);const d={method:"POST",...l,...n},c={},m={},A=new FormData;return r!==void 0&&A.append("file",r),t!==void 0&&A.append("name",t),s!==void 0&&A.append("type",s),c["Content-Type"]="multipart/form-data",Object.entries({...m,...n.query}).forEach(([I,P])=>{P!==void 0&&i.searchParams.set(I,String(P))}),d.headers={...c,...n.headers},d.data=A,{url:i.pathname+i.search,options:d}},addClaimDocumentByDocumentId(e,r,t={}){if(e==null)throw new h("claimId","Required parameter claimId was null or undefined when calling addClaimDocumentByDocumentId.");if(r==null)throw new h("createClaimDocumentByDocumentIdDTO","Required parameter createClaimDocumentByDocumentIdDTO was null or undefined when calling addClaimDocumentByDocumentId.");const s="/v2/claims/{claimId}/documents/by-document-id".replace("{claimId}",encodeURIComponent(String(e))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"POST",...o,...t},l={},d={};return l["Content-Type"]="application/json",Object.entries({...d,...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:n.pathname+n.search,options:i}},deleteClaimDocument(e,r,t={}){if(e==null)throw new h("claimId","Required parameter claimId was null or undefined when calling deleteClaimDocument.");if(r==null)throw new h("documentId","Required parameter documentId was null or undefined when calling deleteClaimDocument.");const s="/v2/claims/{claimId}/documents/{documentId}".replace("{claimId}",encodeURIComponent(String(e))).replace("{documentId}",encodeURIComponent(String(r))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"DELETE",...o,...t},l={};return Object.entries({...{},...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},{url:n.pathname+n.search,options:i}},findClaimDocumentById(e,r,t={}){if(e==null)throw new h("claimId","Required parameter claimId was null or undefined when calling findClaimDocumentById.");if(r==null)throw new h("documentId","Required parameter documentId was null or undefined when calling findClaimDocumentById.");const s="/v2/claims/{claimId}/documents/{documentId}".replace("{claimId}",encodeURIComponent(String(e))).replace("{documentId}",encodeURIComponent(String(r))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"GET",...o,...t},l={};return Object.entries({...{},...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},{url:n.pathname+n.search,options:i}},findManyClaimDocuments(e,r={}){if(e==null)throw new h("claimId","Required parameter claimId was null or undefined when calling findManyClaimDocuments.");const t="/v2/claims/{claimId}/documents".replace("{claimId}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}}}},ae=function(a){return{addClaimDocument(e,r,t,s,n){const o=te(a).addClaimDocument(e,r,t,s,n);return(i=p,l=u)=>{const d={...o.options,url:l+o.url};return i.request(d)}},addClaimDocumentByDocumentId(e,r,t){const s=te(a).addClaimDocumentByDocumentId(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},deleteClaimDocument(e,r,t){const s=te(a).deleteClaimDocument(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},findClaimDocumentById(e,r,t){const s=te(a).findClaimDocumentById(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},findManyClaimDocuments(e,r){const t=te(a).findManyClaimDocuments(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}}}},eo=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 ro 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 to(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 ao(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 so(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 no(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 oo(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 Ze=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,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:n.pathname+n.search,options:i}},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,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:n.pathname+n.search,options:i}}}},er=function(a){return{applyClaimItemCorrection(e,r,t){const s=Ze(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=Ze(a).dryRunClaimItemCorrection(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}}}},io=function(a,e,r){return{applyClaimItemCorrection(t,s,n){return er(a).applyClaimItemCorrection(t,s,n)(r,e)},dryRunClaimItemCorrection(t,s,n){return er(a).dryRunClaimItemCorrection(t,s,n)(r,e)}}};class lo extends R{applyClaimItemCorrection(e,r,t){return er(this.configuration).applyClaimItemCorrection(e,r,t)(this.axios,this.basePath)}dryRunClaimItemCorrection(e,r,t){return er(this.configuration).dryRunClaimItemCorrection(e,r,t)(this.axios,this.basePath)}}async function co(a,e,r,t=p,s=u,n){const o=Ze(r).applyClaimItemCorrection(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function uo(a,e,r,t=p,s=u,n){const o=Ze(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 m={method:"POST",...c,...i},A={},I={},P=new FormData;return t!==void 0&&P.append("file",t),s!==void 0&&P.append("name",s),n!==void 0&&P.append("type",n),o!==void 0&&P.append("claimItemProposalId",o),A["Content-Type"]="multipart/form-data",Object.entries({...I,...i.query}).forEach(([q,j])=>{j!==void 0&&d.searchParams.set(q,String(j))}),m.headers={...A,...i.headers},m.data=P,{url:d.pathname+d.search,options:m}},addClaimItemDocumentByDocumentId(e,r,t,s={}){if(e==null)throw new h("claimId","Required parameter claimId was null or undefined when calling addClaimItemDocumentByDocumentId.");if(r==null)throw new h("claimItemId","Required parameter claimItemId was null or undefined when calling addClaimItemDocumentByDocumentId.");if(t==null)throw new h("createClaimItemDocumentByDocumentIdDTO","Required parameter createClaimItemDocumentByDocumentIdDTO was null or undefined when calling addClaimItemDocumentByDocumentId.");const n="/v2/claims/{claimId}/items/{claimItemId}/documents/by-document-id".replace("{claimId}",encodeURIComponent(String(e))).replace("{claimItemId}",encodeURIComponent(String(r))),o=new URL(n,"http://placeholder");let i;a&&(i=a.baseOptions);const l={method:"POST",...i,...s},d={},c={};return d["Content-Type"]="application/json",Object.entries({...c,...s.query}).forEach(([m,A])=>{A!==void 0&&o.searchParams.set(m,String(A))}),l.headers={...d,...s.headers},l.data=JSON.stringify(t!==void 0?t:{}),{url:o.pathname+o.search,options:l}},deleteClaimItemDocument(e,r,t,s={}){if(e==null)throw new h("claimItemId","Required parameter claimItemId was null or undefined when calling deleteClaimItemDocument.");if(r==null)throw new h("claimId","Required parameter claimId was null or undefined when calling deleteClaimItemDocument.");if(t==null)throw new h("documentId","Required parameter documentId was null or undefined when calling deleteClaimItemDocument.");const n="/v2/claims/{claimId}/items/{claimItemId}/documents/{documentId}".replace("{claimItemId}",encodeURIComponent(String(e))).replace("{claimId}",encodeURIComponent(String(r))).replace("{documentId}",encodeURIComponent(String(t))),o=new URL(n,"http://placeholder");let i;a&&(i=a.baseOptions);const l={method:"DELETE",...i,...s},d={};return Object.entries({...{},...s.query}).forEach(([m,A])=>{A!==void 0&&o.searchParams.set(m,String(A))}),l.headers={...d,...s.headers},{url:o.pathname+o.search,options:l}},findClaimItemDocumentById(e,r,t,s={}){if(e==null)throw new h("claimId","Required parameter claimId was null or undefined when calling findClaimItemDocumentById.");if(r==null)throw new h("claimItemId","Required parameter claimItemId was null or undefined when calling findClaimItemDocumentById.");if(t==null)throw new h("documentId","Required parameter documentId was null or undefined when calling findClaimItemDocumentById.");const n="/v2/claims/{claimId}/items/{claimItemId}/documents/{documentId}".replace("{claimId}",encodeURIComponent(String(e))).replace("{claimItemId}",encodeURIComponent(String(r))).replace("{documentId}",encodeURIComponent(String(t))),o=new URL(n,"http://placeholder");let i;a&&(i=a.baseOptions);const l={method:"GET",...i,...s},d={};return Object.entries({...{},...s.query}).forEach(([m,A])=>{A!==void 0&&o.searchParams.set(m,String(A))}),l.headers={...d,...s.headers},{url:o.pathname+o.search,options:l}},findManyClaimItemDocuments(e,r,t={}){if(e==null)throw new h("claimItemId","Required parameter claimItemId was null or undefined when calling findManyClaimItemDocuments.");if(r==null)throw new h("claimId","Required parameter claimId was null or undefined when calling findManyClaimItemDocuments.");const s="/v2/claims/{claimId}/items/{claimItemId}/documents".replace("{claimItemId}",encodeURIComponent(String(e))).replace("{claimId}",encodeURIComponent(String(r))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"GET",...o,...t},l={};return Object.entries({...{},...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},{url:n.pathname+n.search,options:i}}}},ne=function(a){return{addClaimItemDocument(e,r,t,s,n,o,i){const l=se(a).addClaimItemDocument(e,r,t,s,n,o,i);return(d=p,c=u)=>{const m={...l.options,url:c+l.url};return d.request(m)}},addClaimItemDocumentByDocumentId(e,r,t,s){const n=se(a).addClaimItemDocumentByDocumentId(e,r,t,s);return(o=p,i=u)=>{const l={...n.options,url:i+n.url};return o.request(l)}},deleteClaimItemDocument(e,r,t,s){const n=se(a).deleteClaimItemDocument(e,r,t,s);return(o=p,i=u)=>{const l={...n.options,url:i+n.url};return o.request(l)}},findClaimItemDocumentById(e,r,t,s){const n=se(a).findClaimItemDocumentById(e,r,t,s);return(o=p,i=u)=>{const l={...n.options,url:i+n.url};return o.request(l)}},findManyClaimItemDocuments(e,r,t){const s=se(a).findManyClaimItemDocuments(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}}}},po=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 ho 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 mo(a,e,r,t,s,n,o,i=p,l=u,d){const c=se(o).addClaimItemDocument(a,e,r,t,s,n,d),m={...c.options,url:l+c.url};return(await i.request(m)).data}async function Ao(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 Ro(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 Io(a,e,r,t,s=p,n=u,o){const i=se(t).findClaimItemDocumentById(a,e,r,o),l={...i.options,url:n+i.url};return(await s.request(l)).data}async function Po(a,e,r,t=p,s=u,n){const o=se(r).findManyClaimItemDocuments(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}const _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(([m,A])=>{A!==void 0&&o.searchParams.set(m,String(A))}),l.headers={...d,...s.headers},l.data=JSON.stringify(t!==void 0?t:{}),{url:o.pathname+o.search,options:l}},deleteClaimItemProposal(e,r,t,s={}){if(e==null)throw new h("claimProposalId","Required parameter claimProposalId was null or undefined when calling deleteClaimItemProposal.");if(r==null)throw new h("itemProposalId","Required parameter itemProposalId was null or undefined when calling deleteClaimItemProposal.");if(t==null)throw new h("claimId","Required parameter claimId was null or undefined when calling deleteClaimItemProposal.");const n="/v2/claims/{claimId}/proposals/{claimProposalId}/item-proposals/{itemProposalId}".replace("{claimProposalId}",encodeURIComponent(String(e))).replace("{itemProposalId}",encodeURIComponent(String(r))).replace("{claimId}",encodeURIComponent(String(t))),o=new URL(n,"http://placeholder");let i;a&&(i=a.baseOptions);const l={method:"DELETE",...i,...s},d={};return Object.entries({...{},...s.query}).forEach(([m,A])=>{A!==void 0&&o.searchParams.set(m,String(A))}),l.headers={...d,...s.headers},{url:o.pathname+o.search,options:l}},updateClaimItemProposal(e,r,t,s,n={}){if(e==null)throw new h("claimId","Required parameter claimId was null or undefined when calling updateClaimItemProposal.");if(r==null)throw new h("claimProposalId","Required parameter claimProposalId was null or undefined when calling updateClaimItemProposal.");if(t==null)throw new h("itemProposalId","Required parameter itemProposalId was null or undefined when calling updateClaimItemProposal.");if(s==null)throw new h("replaceClaimItemProposalDTO","Required parameter replaceClaimItemProposalDTO was null or undefined when calling updateClaimItemProposal.");const o="/v2/claims/{claimId}/proposals/{claimProposalId}/item-proposals/{itemProposalId}".replace("{claimId}",encodeURIComponent(String(e))).replace("{claimProposalId}",encodeURIComponent(String(r))).replace("{itemProposalId}",encodeURIComponent(String(t))),i=new URL(o,"http://placeholder");let l;a&&(l=a.baseOptions);const d={method:"PUT",...l,...n},c={},m={};return c["Content-Type"]="application/json",Object.entries({...m,...n.query}).forEach(([A,I])=>{I!==void 0&&i.searchParams.set(A,String(I))}),d.headers={...c,...n.headers},d.data=JSON.stringify(s!==void 0?s:{}),{url:i.pathname+i.search,options:d}}}},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)}}}},go=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 wo 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 Oo(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 fo(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 yo(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 be=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,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:n.pathname+n.search,options:i}},deleteClaimItem(e,r,t={}){if(e==null)throw new h("claimId","Required parameter claimId was null or undefined when calling deleteClaimItem.");if(r==null)throw new h("claimItemId","Required parameter claimItemId was null or undefined when calling deleteClaimItem.");const s="/v2/claims/{claimId}/items/{claimItemId}".replace("{claimId}",encodeURIComponent(String(e))).replace("{claimItemId}",encodeURIComponent(String(r))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"DELETE",...o,...t},l={};return Object.entries({...{},...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},{url:n.pathname+n.search,options:i}},updateClaimItem(e,r,t,s={}){if(e==null)throw new h("claimId","Required parameter claimId was null or undefined when calling updateClaimItem.");if(r==null)throw new h("claimItemId","Required parameter claimItemId was null or undefined when calling updateClaimItem.");if(t==null)throw new h("updateClaimItemDTO","Required parameter updateClaimItemDTO was null or undefined when calling updateClaimItem.");const n="/v2/claims/{claimId}/items/{claimItemId}".replace("{claimId}",encodeURIComponent(String(e))).replace("{claimItemId}",encodeURIComponent(String(r))),o=new URL(n,"http://placeholder");let i;a&&(i=a.baseOptions);const l={method:"PATCH",...i,...s},d={},c={};return d["Content-Type"]="application/json",Object.entries({...c,...s.query}).forEach(([m,A])=>{A!==void 0&&o.searchParams.set(m,String(A))}),l.headers={...d,...s.headers},l.data=JSON.stringify(t!==void 0?t:{}),{url:o.pathname+o.search,options:l}}}},Se=function(a){return{createClaimItem(e,r,t){const s=be(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=be(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=be(a).updateClaimItem(e,r,t,s);return(o=p,i=u)=>{const l={...n.options,url:i+n.url};return o.request(l)}}}},Eo=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 Co 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 Vo(a,e,r,t=p,s=u,n){const o=be(r).createClaimItem(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function qo(a,e,r,t=p,s=u,n){const o=be(r).deleteClaimItem(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function _o(a,e,r,t,s=p,n=u,o){const i=be(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,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},{url:n.pathname+n.search,options:i}},counterClaimProposal(e,r,t={}){if(e==null)throw new h("claimId","Required parameter claimId was null or undefined when calling counterClaimProposal.");if(r==null)throw new h("claimProposalId","Required parameter claimProposalId was null or undefined when calling counterClaimProposal.");const s="/v2/claims/{claimId}/proposals/{claimProposalId}/counter".replace("{claimId}",encodeURIComponent(String(e))).replace("{claimProposalId}",encodeURIComponent(String(r))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"POST",...o,...t},l={};return Object.entries({...{},...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},{url:n.pathname+n.search,options:i}},disputeClaimProposal(e,r,t={}){if(e==null)throw new h("claimId","Required parameter claimId was null or undefined when calling disputeClaimProposal.");if(r==null)throw new h("claimProposalId","Required parameter claimProposalId was null or undefined when calling disputeClaimProposal.");const s="/v2/claims/{claimId}/proposals/{claimProposalId}/dispute".replace("{claimId}",encodeURIComponent(String(e))).replace("{claimProposalId}",encodeURIComponent(String(r))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"POST",...o,...t},l={};return Object.entries({...{},...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},{url:n.pathname+n.search,options:i}},publishClaimProposal(e,r,t={}){if(e==null)throw new h("claimId","Required parameter claimId was null or undefined when calling publishClaimProposal.");if(r==null)throw new h("claimProposalId","Required parameter claimProposalId was null or undefined when calling publishClaimProposal.");const s="/v2/claims/{claimId}/proposals/{claimProposalId}/publish".replace("{claimId}",encodeURIComponent(String(e))).replace("{claimProposalId}",encodeURIComponent(String(r))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"POST",...o,...t},l={};return Object.entries({...{},...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},{url:n.pathname+n.search,options:i}},unpublishClaimProposal(e,r,t={}){if(e==null)throw new h("claimId","Required parameter claimId was null or undefined when calling unpublishClaimProposal.");if(r==null)throw new h("claimProposalId","Required parameter claimProposalId was null or undefined when calling unpublishClaimProposal.");const s="/v2/claims/{claimId}/proposals/{claimProposalId}/unpublish".replace("{claimId}",encodeURIComponent(String(e))).replace("{claimProposalId}",encodeURIComponent(String(r))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"POST",...o,...t},l={};return Object.entries({...{},...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},{url:n.pathname+n.search,options:i}}}},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)}}}},vo=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 bo 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 So(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 To(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 No(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 xo(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 Uo(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={},m={},A=new FormData;return r!==void 0&&A.append("file",r),t!==void 0&&A.append("name",t),s!==void 0&&A.append("type",s),c["Content-Type"]="multipart/form-data",Object.entries({...m,...n.query}).forEach(([I,P])=>{P!==void 0&&i.searchParams.set(I,String(P))}),d.headers={...c,...n.headers},d.data=A,{url:i.pathname+i.search,options:d}},deleteClaimResponseDocument(e,r,t={}){if(e==null)throw new h("claimId","Required parameter claimId was null or undefined when calling deleteClaimResponseDocument.");if(r==null)throw new h("documentId","Required parameter documentId was null or undefined when calling deleteClaimResponseDocument.");const s="/v2/claims/{claimId}/claim-response-documents/{documentId}".replace("{claimId}",encodeURIComponent(String(e))).replace("{documentId}",encodeURIComponent(String(r))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"DELETE",...o,...t},l={};return Object.entries({...{},...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},{url:n.pathname+n.search,options:i}},findClaimResponseDocumentById(e,r,t={}){if(e==null)throw new h("claimId","Required parameter claimId was null or undefined when calling findClaimResponseDocumentById.");if(r==null)throw new h("documentId","Required parameter documentId was null or undefined when calling findClaimResponseDocumentById.");const s="/v2/claims/{claimId}/claim-response-documents/{documentId}".replace("{claimId}",encodeURIComponent(String(e))).replace("{documentId}",encodeURIComponent(String(r))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"GET",...o,...t},l={};return Object.entries({...{},...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},{url:n.pathname+n.search,options:i}},findManyClaimResponseDocuments(e,r={}){if(e==null)throw new h("claimId","Required parameter claimId was null or undefined when calling findManyClaimResponseDocuments.");const t="/v2/claims/{claimId}/claim-response-documents".replace("{claimId}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}}}},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)}}}},Do=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 Lo 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 Bo(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 Fo(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 jo(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 Mo(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,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:n.pathname+n.search,options:i}},createInsuranceClaimOnClaim(e,r={}){if(e==null)throw new h("claimId","Required parameter claimId was null or undefined when calling createInsuranceClaimOnClaim.");const t="/v2/claims/{claimId}/insurance-claim".replace("{claimId}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"POST",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},deactivateClaim(e,r,t={}){if(e==null)throw new h("claimId","Required parameter claimId was null or undefined when calling deactivateClaim.");if(r==null)throw new h("deactivateClaimDTO","Required parameter deactivateClaimDTO was null or undefined when calling deactivateClaim.");const s="/v2/claims/{claimId}/deactivate".replace("{claimId}",encodeURIComponent(String(e))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"POST",...o,...t},l={},d={};return l["Content-Type"]="application/json",Object.entries({...d,...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:n.pathname+n.search,options:i}},declineClaim(e,r={}){if(e==null)throw new h("claimId","Required parameter claimId was null or undefined when calling declineClaim.");const t="/v2/claims/{claimId}/decline".replace("{claimId}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"POST",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},findClaimById(e,r={}){if(e==null)throw new h("claimId","Required parameter claimId was null or undefined when calling findClaimById.");const t="/v2/claims/{claimId}".replace("{claimId}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},generateADRForm(e,r={}){if(e==null)throw new h("claimId","Required parameter claimId was null or undefined when calling generateADRForm.");const t="/v2/claims/{claimId}/adr-form".replace("{claimId}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"POST",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},optimisedSearchClaim(e,r,t,s,n,o,i,l={}){if(e==null)throw new h("organizationId","Required parameter organizationId was null or undefined when calling optimisedSearchClaim.");if(r==null)throw new h("page","Required parameter page was null or undefined when calling optimisedSearchClaim.");if(t==null)throw new h("size","Required parameter size was null or undefined when calling optimisedSearchClaim.");const d="/v2/claims/optimised-search",c=new URL(d,"http://placeholder");let m;a&&(m=a.baseOptions);const A={method:"GET",...m,...l},I={},P={};return s!==void 0&&(P.query=s),e!==void 0&&(P.organizationId=e),n!==void 0&&(P.claimStatus=n),o!==void 0&&(P.sortBy=o),r!==void 0&&(P.page=r),t!==void 0&&(P.size=t),i!==void 0&&(P.includeDeleted=i),Object.entries({...P,...l.query}).forEach(([q,j])=>{j!==void 0&&c.searchParams.set(q,String(j))}),A.headers={...I,...l.headers},{url:c.pathname+c.search,options:A}},paySupplier(e,r,t={}){if(e==null)throw new h("claimId","Required parameter claimId was null or undefined when calling paySupplier.");if(r==null)throw new h("payClaimDTO","Required parameter payClaimDTO was null or undefined when calling paySupplier.");const s="/v2/claims/{claimId}/pay-supplier".replace("{claimId}",encodeURIComponent(String(e))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"POST",...o,...t},l={},d={};return l["Content-Type"]="application/json",Object.entries({...d,...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:n.pathname+n.search,options:i}},publishClaim(e,r={}){if(e==null)throw new h("claimId","Required parameter claimId was null or undefined when calling publishClaim.");const t="/v2/claims/{claimId}/publish".replace("{claimId}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"POST",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},readyForArbitrateClaim(e,r={}){if(e==null)throw new h("claimId","Required parameter claimId was null or undefined when calling readyForArbitrateClaim.");const t="/v2/claims/{claimId}/arbitration-ready".replace("{claimId}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"POST",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},reopenClaim(e,r,t={}){if(e==null)throw new h("claimId","Required parameter claimId was null or undefined when calling reopenClaim.");if(r==null)throw new h("reopenClaimDTO","Required parameter reopenClaimDTO was null or undefined when calling reopenClaim.");const s="/v2/claims/{claimId}/reopen".replace("{claimId}",encodeURIComponent(String(e))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"POST",...o,...t},l={},d={};return l["Content-Type"]="application/json",Object.entries({...d,...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:n.pathname+n.search,options:i}},requestMoreInfoClaim(e,r,t={}){if(e==null)throw new h("claimId","Required parameter claimId was null or undefined when calling requestMoreInfoClaim.");if(r==null)throw new h("requestInfoClaimDTO","Required parameter requestInfoClaimDTO was null or undefined when calling requestMoreInfoClaim.");const s="/v2/claims/{claimId}/request-more-info".replace("{claimId}",encodeURIComponent(String(e))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"POST",...o,...t},l={},d={};return l["Content-Type"]="application/json",Object.entries({...d,...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:n.pathname+n.search,options:i}},resolveClaim(e,r,t={}){if(e==null)throw new h("claimId","Required parameter claimId was null or undefined when calling resolveClaim.");if(r==null)throw new h("resolveClaimDTO","Required parameter resolveClaimDTO was null or undefined when calling resolveClaim.");const s="/v2/claims/{claimId}/resolve".replace("{claimId}",encodeURIComponent(String(e))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"POST",...o,...t},l={},d={};return l["Content-Type"]="application/json",Object.entries({...d,...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:n.pathname+n.search,options:i}},skipEvidenceChaser(e,r={}){if(e==null)throw new h("claimId","Required parameter claimId was null or undefined when calling skipEvidenceChaser.");const t="/v2/claims/{claimId}/skip-evidence-chaser".replace("{claimId}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"POST",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},submitMoreInfoClaim(e,r,t={}){if(e==null)throw new h("claimId","Required parameter claimId was null or undefined when calling submitMoreInfoClaim.");if(r==null)throw new h("submitMoreInfoClaimDTO","Required parameter submitMoreInfoClaimDTO was null or undefined when calling submitMoreInfoClaim.");const s="/v2/claims/{claimId}/submit-more-info".replace("{claimId}",encodeURIComponent(String(e))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"POST",...o,...t},l={},d={};return l["Content-Type"]="application/json",Object.entries({...d,...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:n.pathname+n.search,options:i}},updateAutoCharge(e,r,t={}){if(e==null)throw new h("claimId","Required parameter claimId was null or undefined when calling updateAutoCharge.");if(r==null)throw new h("updateAutoChargeClaimDTO","Required parameter updateAutoChargeClaimDTO was null or undefined when calling updateAutoCharge.");const s="/v2/claims/{claimId}/update-auto-charge".replace("{claimId}",encodeURIComponent(String(e))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"POST",...o,...t},l={},d={};return l["Content-Type"]="application/json",Object.entries({...d,...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:n.pathname+n.search,options:i}},updateClaim(e,r,t={}){if(e==null)throw new h("claimId","Required parameter claimId was null or undefined when calling updateClaim.");if(r==null)throw new h("updateClaimDTO","Required parameter updateClaimDTO was null or undefined when calling updateClaim.");const s="/v2/claims/{claimId}".replace("{claimId}",encodeURIComponent(String(e))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"PATCH",...o,...t},l={},d={};return l["Content-Type"]="application/json",Object.entries({...d,...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:n.pathname+n.search,options:i}},updateTenantDisputeMessage(e,r,t={}){if(e==null)throw new h("claimId","Required parameter claimId was null or undefined when calling updateTenantDisputeMessage.");if(r==null)throw new h("updateTenantDisputeMessageDTO","Required parameter updateTenantDisputeMessageDTO was null or undefined when calling updateTenantDisputeMessage.");const s="/v2/claims/{claimId}/tenant-dispute-message".replace("{claimId}",encodeURIComponent(String(e))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"PATCH",...o,...t},l={},d={};return l["Content-Type"]="application/json",Object.entries({...d,...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:n.pathname+n.search,options:i}},verifyClaim(e,r={}){if(e==null)throw new h("claimId","Required parameter claimId was null or undefined when calling verifyClaim.");const t="/v2/claims/{claimId}/substantiate".replace("{claimId}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"POST",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},waiveDisputeFee(e,r={}){if(e==null)throw new h("claimId","Required parameter claimId was null or undefined when calling waiveDisputeFee.");const t="/v2/claims/{claimId}/waive-dispute-fee".replace("{claimId}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"PATCH",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},zipDocuments(e,r,t={}){if(e==null)throw new h("type","Required parameter type was null or undefined when calling zipDocuments.");if(r==null)throw new h("claimId","Required parameter claimId was null or undefined when calling zipDocuments.");const s="/v2/claims/{claimId}/zip-documents".replace("{claimId}",encodeURIComponent(String(r))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"GET",...o,...t},l={},d={};return e!==void 0&&(d.type=e),Object.entries({...d,...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},{url:n.pathname+n.search,options:i}}}},f=function(a){return{acknowledgeCaseSentToInsurer(e,r){const t=O(a).acknowledgeCaseSentToInsurer(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},approveClaim(e,r){const t=O(a).approveClaim(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},createClaim(e,r){const t=O(a).createClaim(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},createClaimActivity(e,r,t){const s=O(a).createClaimActivity(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},createInsuranceClaimOnClaim(e,r){const t=O(a).createInsuranceClaimOnClaim(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},deactivateClaim(e,r,t){const s=O(a).deactivateClaim(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},declineClaim(e,r){const t=O(a).declineClaim(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},findClaimById(e,r){const t=O(a).findClaimById(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},generateADRForm(e,r){const t=O(a).generateADRForm(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},optimisedSearchClaim(e,r,t,s,n,o,i,l){const d=O(a).optimisedSearchClaim(e,r,t,s,n,o,i,l);return(c=p,m=u)=>{const A={...d.options,url:m+d.url};return c.request(A)}},paySupplier(e,r,t){const s=O(a).paySupplier(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},publishClaim(e,r){const t=O(a).publishClaim(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},readyForArbitrateClaim(e,r){const t=O(a).readyForArbitrateClaim(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},reopenClaim(e,r,t){const s=O(a).reopenClaim(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},requestMoreInfoClaim(e,r,t){const s=O(a).requestMoreInfoClaim(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},resolveClaim(e,r,t){const s=O(a).resolveClaim(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},skipEvidenceChaser(e,r){const t=O(a).skipEvidenceChaser(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},submitMoreInfoClaim(e,r,t){const s=O(a).submitMoreInfoClaim(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},updateAutoCharge(e,r,t){const s=O(a).updateAutoCharge(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},updateClaim(e,r,t){const s=O(a).updateClaim(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},updateTenantDisputeMessage(e,r,t){const s=O(a).updateTenantDisputeMessage(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},verifyClaim(e,r){const t=O(a).verifyClaim(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},waiveDisputeFee(e,r){const t=O(a).waiveDisputeFee(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},zipDocuments(e,r,t){const s=O(a).zipDocuments(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}}}},Ho=function(a,e,r){return{acknowledgeCaseSentToInsurer(t,s){return f(a).acknowledgeCaseSentToInsurer(t,s)(r,e)},approveClaim(t,s){return f(a).approveClaim(t,s)(r,e)},createClaim(t,s){return f(a).createClaim(t,s)(r,e)},createClaimActivity(t,s,n){return f(a).createClaimActivity(t,s,n)(r,e)},createInsuranceClaimOnClaim(t,s){return f(a).createInsuranceClaimOnClaim(t,s)(r,e)},deactivateClaim(t,s,n){return f(a).deactivateClaim(t,s,n)(r,e)},declineClaim(t,s){return f(a).declineClaim(t,s)(r,e)},findClaimById(t,s){return f(a).findClaimById(t,s)(r,e)},generateADRForm(t,s){return f(a).generateADRForm(t,s)(r,e)},optimisedSearchClaim(t,s,n,o,i,l,d,c){return f(a).optimisedSearchClaim(t,s,n,o,i,l,d,c)(r,e)},paySupplier(t,s,n){return f(a).paySupplier(t,s,n)(r,e)},publishClaim(t,s){return f(a).publishClaim(t,s)(r,e)},readyForArbitrateClaim(t,s){return f(a).readyForArbitrateClaim(t,s)(r,e)},reopenClaim(t,s,n){return f(a).reopenClaim(t,s,n)(r,e)},requestMoreInfoClaim(t,s,n){return f(a).requestMoreInfoClaim(t,s,n)(r,e)},resolveClaim(t,s,n){return f(a).resolveClaim(t,s,n)(r,e)},skipEvidenceChaser(t,s){return f(a).skipEvidenceChaser(t,s)(r,e)},submitMoreInfoClaim(t,s,n){return f(a).submitMoreInfoClaim(t,s,n)(r,e)},updateAutoCharge(t,s,n){return f(a).updateAutoCharge(t,s,n)(r,e)},updateClaim(t,s,n){return f(a).updateClaim(t,s,n)(r,e)},updateTenantDisputeMessage(t,s,n){return f(a).updateTenantDisputeMessage(t,s,n)(r,e)},verifyClaim(t,s){return f(a).verifyClaim(t,s)(r,e)},waiveDisputeFee(t,s){return f(a).waiveDisputeFee(t,s)(r,e)},zipDocuments(t,s,n){return f(a).zipDocuments(t,s,n)(r,e)}}};class Go extends R{acknowledgeCaseSentToInsurer(e,r){return f(this.configuration).acknowledgeCaseSentToInsurer(e,r)(this.axios,this.basePath)}approveClaim(e,r){return f(this.configuration).approveClaim(e,r)(this.axios,this.basePath)}createClaim(e,r){return f(this.configuration).createClaim(e,r)(this.axios,this.basePath)}createClaimActivity(e,r,t){return f(this.configuration).createClaimActivity(e,r,t)(this.axios,this.basePath)}createInsuranceClaimOnClaim(e,r){return f(this.configuration).createInsuranceClaimOnClaim(e,r)(this.axios,this.basePath)}deactivateClaim(e,r,t){return f(this.configuration).deactivateClaim(e,r,t)(this.axios,this.basePath)}declineClaim(e,r){return f(this.configuration).declineClaim(e,r)(this.axios,this.basePath)}findClaimById(e,r){return f(this.configuration).findClaimById(e,r)(this.axios,this.basePath)}generateADRForm(e,r){return f(this.configuration).generateADRForm(e,r)(this.axios,this.basePath)}optimisedSearchClaim(e,r,t,s,n,o,i,l){return f(this.configuration).optimisedSearchClaim(e,r,t,s,n,o,i,l)(this.axios,this.basePath)}paySupplier(e,r,t){return f(this.configuration).paySupplier(e,r,t)(this.axios,this.basePath)}publishClaim(e,r){return f(this.configuration).publishClaim(e,r)(this.axios,this.basePath)}readyForArbitrateClaim(e,r){return f(this.configuration).readyForArbitrateClaim(e,r)(this.axios,this.basePath)}reopenClaim(e,r,t){return f(this.configuration).reopenClaim(e,r,t)(this.axios,this.basePath)}requestMoreInfoClaim(e,r,t){return f(this.configuration).requestMoreInfoClaim(e,r,t)(this.axios,this.basePath)}resolveClaim(e,r,t){return f(this.configuration).resolveClaim(e,r,t)(this.axios,this.basePath)}skipEvidenceChaser(e,r){return f(this.configuration).skipEvidenceChaser(e,r)(this.axios,this.basePath)}submitMoreInfoClaim(e,r,t){return f(this.configuration).submitMoreInfoClaim(e,r,t)(this.axios,this.basePath)}updateAutoCharge(e,r,t){return f(this.configuration).updateAutoCharge(e,r,t)(this.axios,this.basePath)}updateClaim(e,r,t){return f(this.configuration).updateClaim(e,r,t)(this.axios,this.basePath)}updateTenantDisputeMessage(e,r,t){return f(this.configuration).updateTenantDisputeMessage(e,r,t)(this.axios,this.basePath)}verifyClaim(e,r){return f(this.configuration).verifyClaim(e,r)(this.axios,this.basePath)}waiveDisputeFee(e,r){return f(this.configuration).waiveDisputeFee(e,r)(this.axios,this.basePath)}zipDocuments(e,r,t){return f(this.configuration).zipDocuments(e,r,t)(this.axios,this.basePath)}}async function ko(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 Qo(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 Yo(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 zo(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 $o(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 Wo(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 Jo(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 Ko(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 Xo(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 Zo(a,e,r,t,s,n,o,i,l=p,d=u,c){const m=O(i).optimisedSearchClaim(a,e,r,t,s,n,o,c),A={...m.options,url:d+m.url};return(await l.request(A)).data}async function ei(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 ri(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 ti(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 ai(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 si(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 ni(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 oi(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 ii(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 li(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 ci(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 di(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 ui(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 pi(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 hi(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 Mr=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}}}},Hr=function(a){return{generateCommissionCsvForPeriod(e,r){const t=Mr(a).generateCommissionCsvForPeriod(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}}}},mi=function(a,e,r){return{generateCommissionCsvForPeriod(t,s){return Hr(a).generateCommissionCsvForPeriod(t,s)(r,e)}}};class Ai extends R{generateCommissionCsvForPeriod(e,r){return Hr(this.configuration).generateCommissionCsvForPeriod(e,r)(this.axios,this.basePath)}}async function Ri(a,e,r=p,t=u,s){const n=Mr(e).generateCommissionCsvForPeriod(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}const Gr=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}}}},kr=function(a){return{checkConcurrentTenancy(e,r){const t=Gr(a).checkConcurrentTenancy(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}}}},Ii=function(a,e,r){return{checkConcurrentTenancy(t,s){return kr(a).checkConcurrentTenancy(t,s)(r,e)}}};class Pi extends R{checkConcurrentTenancy(e,r){return kr(this.configuration).checkConcurrentTenancy(e,r)(this.axios,this.basePath)}}async function gi(a,e,r=p,t=u,s){const n=Gr(e).checkConcurrentTenancy(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}const Qr=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}}}},Yr=function(a){return{addPaymentMethod(e,r){const t=Qr(a).addPaymentMethod(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}}}},wi=function(a,e,r){return{addPaymentMethod(t,s){return Yr(a).addPaymentMethod(t,s)(r,e)}}};class Oi extends R{addPaymentMethod(e,r){return Yr(this.configuration).addPaymentMethod(e,r)(this.axios,this.basePath)}}async function fi(a,e,r=p,t=u,s){const n=Qr(e).addPaymentMethod(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}const Te=function(a){return{createDocument(e,r,t,s={}){if(e==null)throw new h("file","Required parameter file was null or undefined when calling createDocument.");if(r==null)throw new h("name","Required parameter name was null or undefined when calling createDocument.");if(t==null)throw new h("type","Required parameter type was null or undefined when calling createDocument.");const n="/v2/documents",o=new URL(n,"http://placeholder");let i;a&&(i=a.baseOptions);const l={method:"POST",...i,...s},d={},c={},m=new FormData;return e!==void 0&&m.append("file",e),r!==void 0&&m.append("name",r),t!==void 0&&m.append("type",t),d["Content-Type"]="multipart/form-data",Object.entries({...c,...s.query}).forEach(([A,I])=>{I!==void 0&&o.searchParams.set(A,String(I))}),l.headers={...d,...s.headers},l.data=m,{url:o.pathname+o.search,options:l}},createFromS3(e,r={}){if(e==null)throw new h("createDocumentFromS3DTO","Required parameter createDocumentFromS3DTO was null or undefined when calling createFromS3.");const t="/v2/documents/from-s3",s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"POST",...n,...r},i={},l={};return i["Content-Type"]="application/json",Object.entries({...l,...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},o.data=JSON.stringify(e!==void 0?e:{}),{url:s.pathname+s.search,options:o}},getDocumentsByIds(e,r={}){if(e==null)throw new h("ids","Required parameter ids was null or undefined when calling getDocumentsByIds.");const t="/v2/documents",s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={},l={};return e&&(l.ids=e),Object.entries({...l,...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}}}},Ne=function(a){return{createDocument(e,r,t,s){const n=Te(a).createDocument(e,r,t,s);return(o=p,i=u)=>{const l={...n.options,url:i+n.url};return o.request(l)}},createFromS3(e,r){const t=Te(a).createFromS3(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},getDocumentsByIds(e,r){const t=Te(a).getDocumentsByIds(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}}}},yi=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 Ei 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 Ci(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 Vi(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 qi(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 rr=function(a){return{createEvidenceChaserItemRequest(e,r,t,s={}){if(e==null)throw new h("itemId","Required parameter itemId was null or undefined when calling createEvidenceChaserItemRequest.");if(r==null)throw new h("evidenceChaserId","Required parameter evidenceChaserId was null or undefined when calling createEvidenceChaserItemRequest.");if(t==null)throw new h("createEvidenceChaserItemRequestDTO","Required parameter createEvidenceChaserItemRequestDTO was null or undefined when calling createEvidenceChaserItemRequest.");const n="/v2/evidence-chasers/{evidenceChaserId}/items/{itemId}/requests".replace("{itemId}",encodeURIComponent(String(e))).replace("{evidenceChaserId}",encodeURIComponent(String(r))),o=new URL(n,"http://placeholder");let i;a&&(i=a.baseOptions);const l={method:"POST",...i,...s},d={},c={};return d["Content-Type"]="application/json",Object.entries({...c,...s.query}).forEach(([m,A])=>{A!==void 0&&o.searchParams.set(m,String(A))}),l.headers={...d,...s.headers},l.data=JSON.stringify(t!==void 0?t:{}),{url:o.pathname+o.search,options:l}},deleteEvidenceChaserItemRequest(e,r,t,s={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling deleteEvidenceChaserItemRequest.");if(r==null)throw new h("itemId","Required parameter itemId was null or undefined when calling deleteEvidenceChaserItemRequest.");if(t==null)throw new h("evidenceChaserId","Required parameter evidenceChaserId was null or undefined when calling deleteEvidenceChaserItemRequest.");const n="/v2/evidence-chasers/{evidenceChaserId}/items/{itemId}/requests/{id}".replace("{id}",encodeURIComponent(String(e))).replace("{itemId}",encodeURIComponent(String(r))).replace("{evidenceChaserId}",encodeURIComponent(String(t))),o=new URL(n,"http://placeholder");let i;a&&(i=a.baseOptions);const l={method:"DELETE",...i,...s},d={};return Object.entries({...{},...s.query}).forEach(([m,A])=>{A!==void 0&&o.searchParams.set(m,String(A))}),l.headers={...d,...s.headers},{url:o.pathname+o.search,options:l}}}},tr=function(a){return{createEvidenceChaserItemRequest(e,r,t,s){const n=rr(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=rr(a).deleteEvidenceChaserItemRequest(e,r,t,s);return(o=p,i=u)=>{const l={...n.options,url:i+n.url};return o.request(l)}}}},_i=function(a,e,r){return{createEvidenceChaserItemRequest(t,s,n,o){return tr(a).createEvidenceChaserItemRequest(t,s,n,o)(r,e)},deleteEvidenceChaserItemRequest(t,s,n,o){return tr(a).deleteEvidenceChaserItemRequest(t,s,n,o)(r,e)}}};class vi extends R{createEvidenceChaserItemRequest(e,r,t,s){return tr(this.configuration).createEvidenceChaserItemRequest(e,r,t,s)(this.axios,this.basePath)}deleteEvidenceChaserItemRequest(e,r,t,s){return tr(this.configuration).deleteEvidenceChaserItemRequest(e,r,t,s)(this.axios,this.basePath)}}async function bi(a,e,r,t,s=p,n=u,o){const i=rr(t).createEvidenceChaserItemRequest(a,e,r,o),l={...i.options,url:n+i.url};return(await s.request(l)).data}async function Si(a,e,r,t,s=p,n=u,o){const i=rr(t).deleteEvidenceChaserItemRequest(a,e,r,o),l={...i.options,url:n+i.url};return(await s.request(l)).data}const ar=function(a){return{createEvidenceChaserItemResponseDocument(e,r,t,s,n,o={}){if(e==null)throw new h("responseId","Required parameter responseId was null or undefined when calling createEvidenceChaserItemResponseDocument.");if(r==null)throw new h("requestId","Required parameter requestId was null or undefined when calling createEvidenceChaserItemResponseDocument.");if(t==null)throw new h("itemId","Required parameter itemId was null or undefined when calling createEvidenceChaserItemResponseDocument.");if(s==null)throw new h("evidenceChaserId","Required parameter evidenceChaserId was null or undefined when calling createEvidenceChaserItemResponseDocument.");if(n==null)throw new h("createEvidenceChaserItemResponseDocumentDTO","Required parameter createEvidenceChaserItemResponseDocumentDTO was null or undefined when calling createEvidenceChaserItemResponseDocument.");const i="/v2/evidence-chasers/{evidenceChaserId}/items/{itemId}/requests/{requestId}/responses/{responseId}/documents".replace("{responseId}",encodeURIComponent(String(e))).replace("{requestId}",encodeURIComponent(String(r))).replace("{itemId}",encodeURIComponent(String(t))).replace("{evidenceChaserId}",encodeURIComponent(String(s))),l=new URL(i,"http://placeholder");let d;a&&(d=a.baseOptions);const c={method:"POST",...d,...o},m={},A={};return m["Content-Type"]="application/json",Object.entries({...A,...o.query}).forEach(([I,P])=>{P!==void 0&&l.searchParams.set(I,String(P))}),c.headers={...m,...o.headers},c.data=JSON.stringify(n!==void 0?n:{}),{url:l.pathname+l.search,options:c}},deleteEvidenceChaserItemResponseDocument(e,r,t,s,n,o={}){if(e==null)throw new h("documentId","Required parameter documentId was null or undefined when calling deleteEvidenceChaserItemResponseDocument.");if(r==null)throw new h("responseId","Required parameter responseId was null or undefined when calling deleteEvidenceChaserItemResponseDocument.");if(t==null)throw new h("requestId","Required parameter requestId was null or undefined when calling deleteEvidenceChaserItemResponseDocument.");if(s==null)throw new h("itemId","Required parameter itemId was null or undefined when calling deleteEvidenceChaserItemResponseDocument.");if(n==null)throw new h("evidenceChaserId","Required parameter evidenceChaserId was null or undefined when calling deleteEvidenceChaserItemResponseDocument.");const i="/v2/evidence-chasers/{evidenceChaserId}/items/{itemId}/requests/{requestId}/responses/{responseId}/documents/{documentId}".replace("{documentId}",encodeURIComponent(String(e))).replace("{responseId}",encodeURIComponent(String(r))).replace("{requestId}",encodeURIComponent(String(t))).replace("{itemId}",encodeURIComponent(String(s))).replace("{evidenceChaserId}",encodeURIComponent(String(n))),l=new URL(i,"http://placeholder");let d;a&&(d=a.baseOptions);const c={method:"DELETE",...d,...o},m={};return Object.entries({...{},...o.query}).forEach(([I,P])=>{P!==void 0&&l.searchParams.set(I,String(P))}),c.headers={...m,...o.headers},{url:l.pathname+l.search,options:c}}}},sr=function(a){return{createEvidenceChaserItemResponseDocument(e,r,t,s,n,o){const i=ar(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=ar(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)}}}},Ti=function(a,e,r){return{createEvidenceChaserItemResponseDocument(t,s,n,o,i,l){return sr(a).createEvidenceChaserItemResponseDocument(t,s,n,o,i,l)(r,e)},deleteEvidenceChaserItemResponseDocument(t,s,n,o,i,l){return sr(a).deleteEvidenceChaserItemResponseDocument(t,s,n,o,i,l)(r,e)}}};class Ni extends R{createEvidenceChaserItemResponseDocument(e,r,t,s,n,o){return sr(this.configuration).createEvidenceChaserItemResponseDocument(e,r,t,s,n,o)(this.axios,this.basePath)}deleteEvidenceChaserItemResponseDocument(e,r,t,s,n,o){return sr(this.configuration).deleteEvidenceChaserItemResponseDocument(e,r,t,s,n,o)(this.axios,this.basePath)}}async function xi(a,e,r,t,s,n,o=p,i=u,l){const d=ar(n).createEvidenceChaserItemResponseDocument(a,e,r,t,s,l),c={...d.options,url:i+d.url};return(await o.request(c)).data}async function Ui(a,e,r,t,s,n,o=p,i=u,l){const d=ar(n).deleteEvidenceChaserItemResponseDocument(a,e,r,t,s,l),c={...d.options,url:i+d.url};return(await o.request(c)).data}const nr=function(a){return{createEvidenceChaserItemResponse(e,r,t,s,n={}){if(e==null)throw new h("requestId","Required parameter requestId was null or undefined when calling createEvidenceChaserItemResponse.");if(r==null)throw new h("itemId","Required parameter itemId was null or undefined when calling createEvidenceChaserItemResponse.");if(t==null)throw new h("evidenceChaserId","Required parameter evidenceChaserId was null or undefined when calling createEvidenceChaserItemResponse.");if(s==null)throw new h("createEvidenceChaserItemResponseDTO","Required parameter createEvidenceChaserItemResponseDTO was null or undefined when calling createEvidenceChaserItemResponse.");const o="/v2/evidence-chasers/{evidenceChaserId}/items/{itemId}/requests/{requestId}/responses".replace("{requestId}",encodeURIComponent(String(e))).replace("{itemId}",encodeURIComponent(String(r))).replace("{evidenceChaserId}",encodeURIComponent(String(t))),i=new URL(o,"http://placeholder");let l;a&&(l=a.baseOptions);const d={method:"POST",...l,...n},c={},m={};return c["Content-Type"]="application/json",Object.entries({...m,...n.query}).forEach(([A,I])=>{I!==void 0&&i.searchParams.set(A,String(I))}),d.headers={...c,...n.headers},d.data=JSON.stringify(s!==void 0?s:{}),{url:i.pathname+i.search,options:d}},updateEvidenceChaserItemResponse(e,r,t,s,n,o={}){if(e==null)throw new h("responseId","Required parameter responseId was null or undefined when calling updateEvidenceChaserItemResponse.");if(r==null)throw new h("requestId","Required parameter requestId was null or undefined when calling updateEvidenceChaserItemResponse.");if(t==null)throw new h("itemId","Required parameter itemId was null or undefined when calling updateEvidenceChaserItemResponse.");if(s==null)throw new h("evidenceChaserId","Required parameter evidenceChaserId was null or undefined when calling updateEvidenceChaserItemResponse.");if(n==null)throw new h("updateEvidenceChaserItemResponseDTO","Required parameter updateEvidenceChaserItemResponseDTO was null or undefined when calling updateEvidenceChaserItemResponse.");const i="/v2/evidence-chasers/{evidenceChaserId}/items/{itemId}/requests/{requestId}/responses/{responseId}".replace("{responseId}",encodeURIComponent(String(e))).replace("{requestId}",encodeURIComponent(String(r))).replace("{itemId}",encodeURIComponent(String(t))).replace("{evidenceChaserId}",encodeURIComponent(String(s))),l=new URL(i,"http://placeholder");let d;a&&(d=a.baseOptions);const c={method:"PATCH",...d,...o},m={},A={};return m["Content-Type"]="application/json",Object.entries({...A,...o.query}).forEach(([I,P])=>{P!==void 0&&l.searchParams.set(I,String(P))}),c.headers={...m,...o.headers},c.data=JSON.stringify(n!==void 0?n:{}),{url:l.pathname+l.search,options:c}}}},or=function(a){return{createEvidenceChaserItemResponse(e,r,t,s,n){const o=nr(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=nr(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)}}}},Di=function(a,e,r){return{createEvidenceChaserItemResponse(t,s,n,o,i){return or(a).createEvidenceChaserItemResponse(t,s,n,o,i)(r,e)},updateEvidenceChaserItemResponse(t,s,n,o,i,l){return or(a).updateEvidenceChaserItemResponse(t,s,n,o,i,l)(r,e)}}};class Li extends R{createEvidenceChaserItemResponse(e,r,t,s,n){return or(this.configuration).createEvidenceChaserItemResponse(e,r,t,s,n)(this.axios,this.basePath)}updateEvidenceChaserItemResponse(e,r,t,s,n,o){return or(this.configuration).updateEvidenceChaserItemResponse(e,r,t,s,n,o)(this.axios,this.basePath)}}async function Bi(a,e,r,t,s,n=p,o=u,i){const l=nr(s).createEvidenceChaserItemResponse(a,e,r,t,i),d={...l.options,url:o+l.url};return(await n.request(d)).data}async function Fi(a,e,r,t,s,n,o=p,i=u,l){const d=nr(n).updateEvidenceChaserItemResponse(a,e,r,t,s,l),c={...d.options,url:i+d.url};return(await o.request(c)).data}const ir=function(a){return{createEvidenceChaserItemReview(e,r,t,s,n,o={}){if(e==null)throw new h("responseId","Required parameter responseId was null or undefined when calling createEvidenceChaserItemReview.");if(r==null)throw new h("requestId","Required parameter requestId was null or undefined when calling createEvidenceChaserItemReview.");if(t==null)throw new h("itemId","Required parameter itemId was null or undefined when calling createEvidenceChaserItemReview.");if(s==null)throw new h("evidenceChaserId","Required parameter evidenceChaserId was null or undefined when calling createEvidenceChaserItemReview.");if(n==null)throw new h("createEvidenceChaserItemReviewDTO","Required parameter createEvidenceChaserItemReviewDTO was null or undefined when calling createEvidenceChaserItemReview.");const i="/v2/evidence-chasers/{evidenceChaserId}/items/{itemId}/requests/{requestId}/responses/{responseId}/review".replace("{responseId}",encodeURIComponent(String(e))).replace("{requestId}",encodeURIComponent(String(r))).replace("{itemId}",encodeURIComponent(String(t))).replace("{evidenceChaserId}",encodeURIComponent(String(s))),l=new URL(i,"http://placeholder");let d;a&&(d=a.baseOptions);const c={method:"POST",...d,...o},m={},A={};return m["Content-Type"]="application/json",Object.entries({...A,...o.query}).forEach(([I,P])=>{P!==void 0&&l.searchParams.set(I,String(P))}),c.headers={...m,...o.headers},c.data=JSON.stringify(n!==void 0?n:{}),{url:l.pathname+l.search,options:c}},updateEvidenceChaserItemReview(e,r,t,s,n,o,i={}){if(e==null)throw new h("reviewId","Required parameter reviewId was null or undefined when calling updateEvidenceChaserItemReview.");if(r==null)throw new h("responseId","Required parameter responseId was null or undefined when calling updateEvidenceChaserItemReview.");if(t==null)throw new h("requestId","Required parameter requestId was null or undefined when calling updateEvidenceChaserItemReview.");if(s==null)throw new h("itemId","Required parameter itemId was null or undefined when calling updateEvidenceChaserItemReview.");if(n==null)throw new h("evidenceChaserId","Required parameter evidenceChaserId was null or undefined when calling updateEvidenceChaserItemReview.");if(o==null)throw new h("createEvidenceChaserItemReviewDTO","Required parameter createEvidenceChaserItemReviewDTO was null or undefined when calling updateEvidenceChaserItemReview.");const l="/v2/evidence-chasers/{evidenceChaserId}/items/{itemId}/requests/{requestId}/responses/{responseId}/review/{reviewId}".replace("{reviewId}",encodeURIComponent(String(e))).replace("{responseId}",encodeURIComponent(String(r))).replace("{requestId}",encodeURIComponent(String(t))).replace("{itemId}",encodeURIComponent(String(s))).replace("{evidenceChaserId}",encodeURIComponent(String(n))),d=new URL(l,"http://placeholder");let c;a&&(c=a.baseOptions);const m={method:"PATCH",...c,...i},A={},I={};return A["Content-Type"]="application/json",Object.entries({...I,...i.query}).forEach(([P,q])=>{q!==void 0&&d.searchParams.set(P,String(q))}),m.headers={...A,...i.headers},m.data=JSON.stringify(o!==void 0?o:{}),{url:d.pathname+d.search,options:m}}}},lr=function(a){return{createEvidenceChaserItemReview(e,r,t,s,n,o){const i=ir(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=ir(a).updateEvidenceChaserItemReview(e,r,t,s,n,o,i);return(d=p,c=u)=>{const m={...l.options,url:c+l.url};return d.request(m)}}}},ji=function(a,e,r){return{createEvidenceChaserItemReview(t,s,n,o,i,l){return lr(a).createEvidenceChaserItemReview(t,s,n,o,i,l)(r,e)},updateEvidenceChaserItemReview(t,s,n,o,i,l,d){return lr(a).updateEvidenceChaserItemReview(t,s,n,o,i,l,d)(r,e)}}};class Mi extends R{createEvidenceChaserItemReview(e,r,t,s,n,o){return lr(this.configuration).createEvidenceChaserItemReview(e,r,t,s,n,o)(this.axios,this.basePath)}updateEvidenceChaserItemReview(e,r,t,s,n,o,i){return lr(this.configuration).updateEvidenceChaserItemReview(e,r,t,s,n,o,i)(this.axios,this.basePath)}}async function Hi(a,e,r,t,s,n,o=p,i=u,l){const d=ir(n).createEvidenceChaserItemReview(a,e,r,t,s,l),c={...d.options,url:i+d.url};return(await o.request(c)).data}async function Gi(a,e,r,t,s,n,o,i=p,l=u,d){const c=ir(o).updateEvidenceChaserItemReview(a,e,r,t,s,n,d),m={...c.options,url:l+c.url};return(await i.request(m)).data}const cr=function(a){return{createEvidenceChaserItem(e,r,t={}){if(e==null)throw new h("evidenceChaserId","Required parameter evidenceChaserId was null or undefined when calling createEvidenceChaserItem.");if(r==null)throw new h("createEvidenceChaserItemDTO","Required parameter createEvidenceChaserItemDTO was null or undefined when calling createEvidenceChaserItem.");const s="/v2/evidence-chasers/{evidenceChaserId}/items".replace("{evidenceChaserId}",encodeURIComponent(String(e))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"POST",...o,...t},l={},d={};return l["Content-Type"]="application/json",Object.entries({...d,...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:n.pathname+n.search,options:i}},updateEvidenceChaserItem(e,r,t,s={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling updateEvidenceChaserItem.");if(r==null)throw new h("evidenceChaserId","Required parameter evidenceChaserId was null or undefined when calling updateEvidenceChaserItem.");if(t==null)throw new h("updateEvidenceChaserItemDTO","Required parameter updateEvidenceChaserItemDTO was null or undefined when calling updateEvidenceChaserItem.");const n="/v2/evidence-chasers/{evidenceChaserId}/items/{id}".replace("{id}",encodeURIComponent(String(e))).replace("{evidenceChaserId}",encodeURIComponent(String(r))),o=new URL(n,"http://placeholder");let i;a&&(i=a.baseOptions);const l={method:"PATCH",...i,...s},d={},c={};return d["Content-Type"]="application/json",Object.entries({...c,...s.query}).forEach(([m,A])=>{A!==void 0&&o.searchParams.set(m,String(A))}),l.headers={...d,...s.headers},l.data=JSON.stringify(t!==void 0?t:{}),{url:o.pathname+o.search,options:l}}}},dr=function(a){return{createEvidenceChaserItem(e,r,t){const s=cr(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=cr(a).updateEvidenceChaserItem(e,r,t,s);return(o=p,i=u)=>{const l={...n.options,url:i+n.url};return o.request(l)}}}},ki=function(a,e,r){return{createEvidenceChaserItem(t,s,n){return dr(a).createEvidenceChaserItem(t,s,n)(r,e)},updateEvidenceChaserItem(t,s,n,o){return dr(a).updateEvidenceChaserItem(t,s,n,o)(r,e)}}};class Qi extends R{createEvidenceChaserItem(e,r,t){return dr(this.configuration).createEvidenceChaserItem(e,r,t)(this.axios,this.basePath)}updateEvidenceChaserItem(e,r,t,s){return dr(this.configuration).updateEvidenceChaserItem(e,r,t,s)(this.axios,this.basePath)}}async function Yi(a,e,r,t=p,s=u,n){const o=cr(r).createEvidenceChaserItem(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function zi(a,e,r,t,s=p,n=u,o){const i=cr(t).updateEvidenceChaserItem(a,e,r,o),l={...i.options,url:n+i.url};return(await s.request(l)).data}const xe=function(a){return{publishEvidenceChaserRequests(e,r,t={}){if(e==null)throw new h("roundId","Required parameter roundId was null or undefined when calling publishEvidenceChaserRequests.");if(r==null)throw new h("evidenceChaserId","Required parameter evidenceChaserId was null or undefined when calling publishEvidenceChaserRequests.");const s="/v2/evidence-chasers/{evidenceChaserId}/rounds/{roundId}/requests/publish".replace("{roundId}",encodeURIComponent(String(e))).replace("{evidenceChaserId}",encodeURIComponent(String(r))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"POST",...o,...t},l={};return Object.entries({...{},...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},{url:n.pathname+n.search,options:i}},publishEvidenceChaserResponses(e,r,t={}){if(e==null)throw new h("roundId","Required parameter roundId was null or undefined when calling publishEvidenceChaserResponses.");if(r==null)throw new h("evidenceChaserId","Required parameter evidenceChaserId was null or undefined when calling publishEvidenceChaserResponses.");const s="/v2/evidence-chasers/{evidenceChaserId}/rounds/{roundId}/responses/publish".replace("{roundId}",encodeURIComponent(String(e))).replace("{evidenceChaserId}",encodeURIComponent(String(r))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"POST",...o,...t},l={};return Object.entries({...{},...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},{url:n.pathname+n.search,options:i}},publishEvidenceChaserReviews(e,r,t={}){if(e==null)throw new h("roundId","Required parameter roundId was null or undefined when calling publishEvidenceChaserReviews.");if(r==null)throw new h("evidenceChaserId","Required parameter evidenceChaserId was null or undefined when calling publishEvidenceChaserReviews.");const s="/v2/evidence-chasers/{evidenceChaserId}/rounds/{roundId}/reviews/publish".replace("{roundId}",encodeURIComponent(String(e))).replace("{evidenceChaserId}",encodeURIComponent(String(r))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"POST",...o,...t},l={};return Object.entries({...{},...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},{url:n.pathname+n.search,options:i}}}},Ue=function(a){return{publishEvidenceChaserRequests(e,r,t){const s=xe(a).publishEvidenceChaserRequests(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},publishEvidenceChaserResponses(e,r,t){const s=xe(a).publishEvidenceChaserResponses(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},publishEvidenceChaserReviews(e,r,t){const s=xe(a).publishEvidenceChaserReviews(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}}}},$i=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 Wi 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 Ji(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 Ki(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 Xi(a,e,r,t=p,s=u,n){const o=xe(r).publishEvidenceChaserReviews(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}const De=function(a){return{createEvidenceChaser(e,r={}){if(e==null)throw new h("claimId","Required parameter claimId was null or undefined when calling createEvidenceChaser.");const t="/v2/claims/{claimId}/evidence-chaser".replace("{claimId}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"POST",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},expireEvidenceChaser(e,r,t={}){if(e==null)throw new h("claimId","Required parameter claimId was null or undefined when calling expireEvidenceChaser.");if(r==null)throw new h("id","Required parameter id was null or undefined when calling expireEvidenceChaser.");const s="/v2/claims/{claimId}/evidence-chaser/{id}/expire".replace("{claimId}",encodeURIComponent(String(e))).replace("{id}",encodeURIComponent(String(r))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"POST",...o,...t},l={};return Object.entries({...{},...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},{url:n.pathname+n.search,options:i}},getEvidenceChaserById(e,r,t={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling getEvidenceChaserById.");if(r==null)throw new h("claimId","Required parameter claimId was null or undefined when calling getEvidenceChaserById.");const s="/v2/claims/{claimId}/evidence-chaser/{id}".replace("{id}",encodeURIComponent(String(e))).replace("{claimId}",encodeURIComponent(String(r))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"GET",...o,...t},l={};return Object.entries({...{},...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},{url:n.pathname+n.search,options:i}}}},Le=function(a){return{createEvidenceChaser(e,r){const t=De(a).createEvidenceChaser(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},expireEvidenceChaser(e,r,t){const s=De(a).expireEvidenceChaser(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},getEvidenceChaserById(e,r,t){const s=De(a).getEvidenceChaserById(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}}}},Zi=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 el 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 rl(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 tl(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 al(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 zr=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}}}},$r=function(a){return{submitFeedback(e,r){const t=zr(a).submitFeedback(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}}}},sl=function(a,e,r){return{submitFeedback(t,s){return $r(a).submitFeedback(t,s)(r,e)}}};class nl extends R{submitFeedback(e,r){return $r(this.configuration).submitFeedback(e,r)(this.axios,this.basePath)}}async function ol(a,e,r=p,t=u,s){const n=zr(e).submitFeedback(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}const ur=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}}}},pr=function(a){return{dbHealthCheck(e){const r=ur(a).dbHealthCheck(e);return(t=p,s=u)=>{const n={...r.options,url:s+r.url};return t.request(n)}},healthCheck(e){const r=ur(a).healthCheck(e);return(t=p,s=u)=>{const n={...r.options,url:s+r.url};return t.request(n)}}}},il=function(a,e,r){return{dbHealthCheck(t){return pr(a).dbHealthCheck(t)(r,e)},healthCheck(t){return pr(a).healthCheck(t)(r,e)}}};class ll extends R{dbHealthCheck(e){return pr(this.configuration).dbHealthCheck(e)(this.axios,this.basePath)}healthCheck(e){return pr(this.configuration).healthCheck(e)(this.axios,this.basePath)}}async function cl(a,e=p,r=u,t){const s=ur(a).dbHealthCheck(t),n={...s.options,url:r+s.url};return(await e.request(n)).data}async function dl(a,e=p,r=u,t){const s=ur(a).healthCheck(t),n={...s.options,url:r+s.url};return(await e.request(n)).data}const T=function(a){return{processPlaidWebhooks(e,r={}){if(e==null)throw new h("plaidWebhookDto","Required parameter plaidWebhookDto was null or undefined when calling processPlaidWebhooks.");const t="/v2/webhooks/plaid",s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"POST",...n,...r},i={},l={};return i["Content-Type"]="application/json",Object.entries({...l,...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},o.data=JSON.stringify(e!==void 0?e:{}),{url:s.pathname+s.search,options:o}},processSendGridWebhooks(e,r={}){if(e==null)throw new h("requestBody","Required parameter requestBody was null or undefined when calling processSendGridWebhooks.");const t="/v2/webhooks/sendgrid",s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"POST",...n,...r},i={},l={};return i["Content-Type"]="application/json",Object.entries({...l,...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},o.data=JSON.stringify(e!==void 0?e:{}),{url:s.pathname+s.search,options:o}},processStripeOffSessionWebhooks(e={}){const r="/v2/webhooks/stripe/off-session",t=new URL(r,"http://placeholder");let s;a&&(s=a.baseOptions);const n={method:"POST",...s,...e},o={};return Object.entries({...{},...e.query}).forEach(([l,d])=>{d!==void 0&&t.searchParams.set(l,String(d))}),n.headers={...o,...e.headers},{url:t.pathname+t.search,options:n}},processStripeWebhooks(e={}){const r="/v2/webhooks/stripe",t=new URL(r,"http://placeholder");let s;a&&(s=a.baseOptions);const n={method:"POST",...s,...e},o={};return Object.entries({...{},...e.query}).forEach(([l,d])=>{d!==void 0&&t.searchParams.set(l,String(d))}),n.headers={...o,...e.headers},{url:t.pathname+t.search,options:n}},processTwilioIvrWebhooks(e,r={}){if(e==null)throw new h("ivrCallId","Required parameter ivrCallId was null or undefined when calling processTwilioIvrWebhooks.");const t="/v2/webhooks/twilio-ivr/{ivrCallId}".replace("{ivrCallId}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"POST",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},processTwilioIvrWebhooksWithGatherAction(e,r,t={}){if(e==null)throw new h("ivrCallId","Required parameter ivrCallId was null or undefined when calling processTwilioIvrWebhooksWithGatherAction.");if(r==null)throw new h("gatherAction","Required parameter gatherAction was null or undefined when calling processTwilioIvrWebhooksWithGatherAction.");const s="/v2/webhooks/twilio-ivr/{ivrCallId}/gather-action/{gatherAction}".replace("{ivrCallId}",encodeURIComponent(String(e))).replace("{gatherAction}",encodeURIComponent(String(r))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"POST",...o,...t},l={};return Object.entries({...{},...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},{url:n.pathname+n.search,options:i}},processTwilioVoicemailWebhook(e,r={}){if(e==null)throw new h("from","Required parameter from was null or undefined when calling processTwilioVoicemailWebhook.");const t="/v2/webhooks/twilio-voicemail",s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"POST",...n,...r},i={},l={};return e!==void 0&&(l.From=e),Object.entries({...l,...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}}}},N=function(a){return{processPlaidWebhooks(e,r){const t=T(a).processPlaidWebhooks(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},processSendGridWebhooks(e,r){const t=T(a).processSendGridWebhooks(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},processStripeOffSessionWebhooks(e){const r=T(a).processStripeOffSessionWebhooks(e);return(t=p,s=u)=>{const n={...r.options,url:s+r.url};return t.request(n)}},processStripeWebhooks(e){const r=T(a).processStripeWebhooks(e);return(t=p,s=u)=>{const n={...r.options,url:s+r.url};return t.request(n)}},processTwilioIvrWebhooks(e,r){const t=T(a).processTwilioIvrWebhooks(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},processTwilioIvrWebhooksWithGatherAction(e,r,t){const s=T(a).processTwilioIvrWebhooksWithGatherAction(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},processTwilioVoicemailWebhook(e,r){const t=T(a).processTwilioVoicemailWebhook(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}}}},ul=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 pl 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 hl(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 ml(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 Al(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 Rl(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 Il(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 Pl(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 gl(a,e,r=p,t=u,s){const n=T(e).processTwilioVoicemailWebhook(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}const Be=function(a){return{createInsuranceClaim(e,r,t={}){if(e==null)throw new h("policyId","Required parameter policyId was null or undefined when calling createInsuranceClaim.");if(r==null)throw new h("createInsuranceClaimDTO","Required parameter createInsuranceClaimDTO was null or undefined when calling createInsuranceClaim.");const s="/v2/policies/{policyId}/claim".replace("{policyId}",encodeURIComponent(String(e))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"POST",...o,...t},l={},d={};return l["Content-Type"]="application/json",Object.entries({...d,...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:n.pathname+n.search,options:i}},getInsuranceClaim(e,r={}){if(e==null)throw new h("policyId","Required parameter policyId was null or undefined when calling getInsuranceClaim.");const t="/v2/policies/{policyId}/claim".replace("{policyId}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},resolveInsuranceClaim(e,r,t={}){if(e==null)throw new h("policyId","Required parameter policyId was null or undefined when calling resolveInsuranceClaim.");if(r==null)throw new h("resolveInsuranceClaimDTO","Required parameter resolveInsuranceClaimDTO was null or undefined when calling resolveInsuranceClaim.");const s="/v2/policies/{policyId}/claim/resolve".replace("{policyId}",encodeURIComponent(String(e))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"POST",...o,...t},l={},d={};return l["Content-Type"]="application/json",Object.entries({...d,...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:n.pathname+n.search,options:i}}}},Fe=function(a){return{createInsuranceClaim(e,r,t){const s=Be(a).createInsuranceClaim(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},getInsuranceClaim(e,r){const t=Be(a).getInsuranceClaim(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},resolveInsuranceClaim(e,r,t){const s=Be(a).resolveInsuranceClaim(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}}}},wl=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 Ol 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 fl(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 yl(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 El(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 Wr=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}}}},Jr=function(a){return{getIntegrators(e){const r=Wr(a).getIntegrators(e);return(t=p,s=u)=>{const n={...r.options,url:s+r.url};return t.request(n)}}}},Cl=function(a,e,r){return{getIntegrators(t){return Jr(a).getIntegrators(t)(r,e)}}};class Vl extends R{getIntegrators(e){return Jr(this.configuration).getIntegrators(e)(this.axios,this.basePath)}}async function ql(a,e=p,r=u,t){const s=Wr(a).getIntegrators(t),n={...s.options,url:r+s.url};return(await e.request(n)).data}const Kr=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}}}},Xr=function(a){return{generateLastMonthCommission(e,r){const t=Kr(a).generateLastMonthCommission(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}}}},_l=function(a,e,r){return{generateLastMonthCommission(t,s){return Xr(a).generateLastMonthCommission(t,s)(r,e)}}};class vl extends R{generateLastMonthCommission(e,r){return Xr(this.configuration).generateLastMonthCommission(e,r)(this.axios,this.basePath)}}async function bl(a,e,r=p,t=u,s){const n=Kr(e).generateLastMonthCommission(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}const hr=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}}}},mr=function(a){return{getCompletedReposits(e){const r=hr(a).getCompletedReposits(e);return(t=p,s=u)=>{const n={...r.options,url:s+r.url};return t.request(n)}},getCreatedReposits(e){const r=hr(a).getCreatedReposits(e);return(t=p,s=u)=>{const n={...r.options,url:s+r.url};return t.request(n)}}}},Sl=function(a,e,r){return{getCompletedReposits(t){return mr(a).getCompletedReposits(t)(r,e)},getCreatedReposits(t){return mr(a).getCreatedReposits(t)(r,e)}}};class Tl extends R{getCompletedReposits(e){return mr(this.configuration).getCompletedReposits(e)(this.axios,this.basePath)}getCreatedReposits(e){return mr(this.configuration).getCreatedReposits(e)(this.axios,this.basePath)}}async function Nl(a,e=p,r=u,t){const s=hr(a).getCompletedReposits(t),n={...s.options,url:r+s.url};return(await e.request(n)).data}async function xl(a,e=p,r=u,t){const s=hr(a).getCreatedReposits(t),n={...s.options,url:r+s.url};return(await e.request(n)).data}const Zr=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}}}},et=function(a){return{findAll(e){const r=Zr(a).findAll(e);return(t=p,s=u)=>{const n={...r.options,url:s+r.url};return t.request(n)}}}},Ul=function(a,e,r){return{findAll(t){return et(a).findAll(t)(r,e)}}};class Dl extends R{findAll(e){return et(this.configuration).findAll(e)(this.axios,this.basePath)}}async function Ll(a,e=p,r=u,t){const s=Zr(a).findAll(t),n={...s.options,url:r+s.url};return(await e.request(n)).data}const rt=function(a){return{searchKpiDocuments(e,r,t,s,n={}){if(e==null)throw new h("from","Required parameter from was null or undefined when calling searchKpiDocuments.");if(r==null)throw new h("to","Required parameter to was null or undefined when calling searchKpiDocuments.");if(t==null)throw new h("page","Required parameter page was null or undefined when calling searchKpiDocuments.");if(s==null)throw new h("size","Required parameter size was null or undefined when calling searchKpiDocuments.");const o="/v2/kpis/documents/search",i=new URL(o,"http://placeholder");let l;a&&(l=a.baseOptions);const d={method:"GET",...l,...n},c={},m={};return e!==void 0&&(m.from=e),r!==void 0&&(m.to=r),t!==void 0&&(m.page=t),s!==void 0&&(m.size=s),Object.entries({...m,...n.query}).forEach(([A,I])=>{I!==void 0&&i.searchParams.set(A,String(I))}),d.headers={...c,...n.headers},{url:i.pathname+i.search,options:d}}}},tt=function(a){return{searchKpiDocuments(e,r,t,s,n){const o=rt(a).searchKpiDocuments(e,r,t,s,n);return(i=p,l=u)=>{const d={...o.options,url:l+o.url};return i.request(d)}}}},Bl=function(a,e,r){return{searchKpiDocuments(t,s,n,o,i){return tt(a).searchKpiDocuments(t,s,n,o,i)(r,e)}}};class Fl extends R{searchKpiDocuments(e,r,t,s,n){return tt(this.configuration).searchKpiDocuments(e,r,t,s,n)(this.axios,this.basePath)}}async function jl(a,e,r,t,s,n=p,o=u,i){const l=rt(s).searchKpiDocuments(a,e,r,t,i),d={...l.options,url:o+l.url};return(await n.request(d)).data}const Ar=function(a){return{getLandlordById(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling getLandlordById.");const t="/v2/landlords/{id}".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},updateLandlord(e,r,t={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling updateLandlord.");if(r==null)throw new h("updateLandlordDTO","Required parameter updateLandlordDTO was null or undefined when calling updateLandlord.");const s="/v2/landlords/{id}".replace("{id}",encodeURIComponent(String(e))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"PATCH",...o,...t},l={},d={};return l["Content-Type"]="application/json",Object.entries({...d,...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:n.pathname+n.search,options:i}}}},Rr=function(a){return{getLandlordById(e,r){const t=Ar(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=Ar(a).updateLandlord(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{getLandlordById(t,s){return Rr(a).getLandlordById(t,s)(r,e)},updateLandlord(t,s,n){return Rr(a).updateLandlord(t,s,n)(r,e)}}};class Hl extends R{getLandlordById(e,r){return Rr(this.configuration).getLandlordById(e,r)(this.axios,this.basePath)}updateLandlord(e,r,t){return Rr(this.configuration).updateLandlord(e,r,t)(this.axios,this.basePath)}}async function Gl(a,e,r=p,t=u,s){const n=Ar(e).getLandlordById(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function kl(a,e,r,t=p,s=u,n){const o=Ar(r).updateLandlord(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}const at=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}}}},st=function(a){return{processIncomingMessage(e,r){const t=at(a).processIncomingMessage(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}}}},Ql=function(a,e,r){return{processIncomingMessage(t,s){return st(a).processIncomingMessage(t,s)(r,e)}}};class Yl extends R{processIncomingMessage(e,r){return st(this.configuration).processIncomingMessage(e,r)(this.axios,this.basePath)}}async function zl(a,e,r=p,t=u,s){const n=at(e).processIncomingMessage(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}const H=function(a){return{completeMyDepositsSetup(e,r,t={}){if(e==null)throw new h("organizationId","Required parameter organizationId was null or undefined when calling completeMyDepositsSetup.");if(r==null)throw new h("myDepositsCompleteSetupRequestDTO","Required parameter myDepositsCompleteSetupRequestDTO was null or undefined when calling completeMyDepositsSetup.");const s="/v2/my-deposits/oauth/complete-setup",n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"POST",...o,...t},l={},d={};return e!==void 0&&(d.organizationId=e),l["Content-Type"]="application/json",Object.entries({...d,...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:n.pathname+n.search,options:i}},disconnectMyDeposits(e,r={}){if(e==null)throw new h("organizationId","Required parameter organizationId was null or undefined when calling disconnectMyDeposits.");const t="/v2/my-deposits/oauth/disconnect",s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"POST",...n,...r},i={},l={};return e!==void 0&&(l.organizationId=e),Object.entries({...l,...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},exchangeMyDepositsToken(e,r={}){if(e==null)throw new h("myDepositsExchangeTokenRequestDTO","Required parameter myDepositsExchangeTokenRequestDTO was null or undefined when calling exchangeMyDepositsToken.");const t="/v2/my-deposits/oauth/token",s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"POST",...n,...r},i={},l={};return i["Content-Type"]="application/json",Object.entries({...l,...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},o.data=JSON.stringify(e!==void 0?e:{}),{url:s.pathname+s.search,options:o}},getMyDepositsAuthorizeUrl(e,r={}){if(e==null)throw new h("organizationId","Required parameter organizationId was null or undefined when calling getMyDepositsAuthorizeUrl.");const t="/v2/my-deposits/oauth/authorize",s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={},l={};return e!==void 0&&(l.organizationId=e),Object.entries({...l,...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},getMyDepositsCompanyOffices(e,r={}){if(e==null)throw new h("organizationId","Required parameter organizationId was null or undefined when calling getMyDepositsCompanyOffices.");const t="/v2/my-deposits/oauth/company-offices",s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={},l={};return e!==void 0&&(l.organizationId=e),Object.entries({...l,...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},getMyDepositsOnboardingStatus(e,r={}){if(e==null)throw new h("organizationId","Required parameter organizationId was null or undefined when calling getMyDepositsOnboardingStatus.");const t="/v2/my-deposits/oauth/onboarding-status",s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={},l={};return e!==void 0&&(l.organizationId=e),Object.entries({...l,...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}}}},G=function(a){return{completeMyDepositsSetup(e,r,t){const s=H(a).completeMyDepositsSetup(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},disconnectMyDeposits(e,r){const t=H(a).disconnectMyDeposits(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},exchangeMyDepositsToken(e,r){const t=H(a).exchangeMyDepositsToken(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},getMyDepositsAuthorizeUrl(e,r){const t=H(a).getMyDepositsAuthorizeUrl(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},getMyDepositsCompanyOffices(e,r){const t=H(a).getMyDepositsCompanyOffices(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},getMyDepositsOnboardingStatus(e,r){const t=H(a).getMyDepositsOnboardingStatus(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}}}},$l=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 Wl 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 Jl(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 Kl(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 Xl(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 Zl(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 ec(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 rc(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 nt=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}}}},ot=function(a){return{createNetPromoterScore(e,r){const t=nt(a).createNetPromoterScore(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}}}},tc=function(a,e,r){return{createNetPromoterScore(t,s){return ot(a).createNetPromoterScore(t,s)(r,e)}}};class ac extends R{createNetPromoterScore(e,r){return ot(this.configuration).createNetPromoterScore(e,r)(this.axios,this.basePath)}}async function sc(a,e,r=p,t=u,s){const n=nt(e).createNetPromoterScore(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}const x=function(a){return{aboutYou(e,r,t,s={}){if(e==null)throw new h("orderId","Required parameter orderId was null or undefined when calling aboutYou.");if(r==null)throw new h("customerId","Required parameter customerId was null or undefined when calling aboutYou.");if(t==null)throw new h("updateAboutYouAttributesDTO","Required parameter updateAboutYouAttributesDTO was null or undefined when calling aboutYou.");const n="/v2/orders/{orderId}/customers/{customerId}/actions/about-you".replace("{orderId}",encodeURIComponent(String(e))).replace("{customerId}",encodeURIComponent(String(r))),o=new URL(n,"http://placeholder");let i;a&&(i=a.baseOptions);const l={method:"PATCH",...i,...s},d={},c={};return d["Content-Type"]="application/json",Object.entries({...c,...s.query}).forEach(([m,A])=>{A!==void 0&&o.searchParams.set(m,String(A))}),l.headers={...d,...s.headers},l.data=JSON.stringify(t!==void 0?t:{}),{url:o.pathname+o.search,options:l}},addressHistory(e,r,t,s={}){if(e==null)throw new h("orderId","Required parameter orderId was null or undefined when calling addressHistory.");if(r==null)throw new h("customerId","Required parameter customerId was null or undefined when calling addressHistory.");if(t==null)throw new h("updateAddressHistoryAttributesDTO","Required parameter updateAddressHistoryAttributesDTO was null or undefined when calling addressHistory.");const n="/v2/orders/{orderId}/customers/{customerId}/actions/address-history".replace("{orderId}",encodeURIComponent(String(e))).replace("{customerId}",encodeURIComponent(String(r))),o=new URL(n,"http://placeholder");let i;a&&(i=a.baseOptions);const l={method:"PATCH",...i,...s},d={},c={};return d["Content-Type"]="application/json",Object.entries({...c,...s.query}).forEach(([m,A])=>{A!==void 0&&o.searchParams.set(m,String(A))}),l.headers={...d,...s.headers},l.data=JSON.stringify(t!==void 0?t:{}),{url:o.pathname+o.search,options:l}},confirm(e,r,t={}){if(e==null)throw new h("orderId","Required parameter orderId was null or undefined when calling confirm.");if(r==null)throw new h("customerId","Required parameter customerId was null or undefined when calling confirm.");const s="/v2/orders/{orderId}/customers/{customerId}/actions/confirm".replace("{orderId}",encodeURIComponent(String(e))).replace("{customerId}",encodeURIComponent(String(r))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"PATCH",...o,...t},l={};return Object.entries({...{},...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},{url:n.pathname+n.search,options:i}},pay(e,r,t,s={}){if(e==null)throw new h("orderId","Required parameter orderId was null or undefined when calling pay.");if(r==null)throw new h("customerId","Required parameter customerId was null or undefined when calling pay.");const n="/v2/orders/{orderId}/customers/{customerId}/actions/pay".replace("{orderId}",encodeURIComponent(String(e))).replace("{customerId}",encodeURIComponent(String(r))),o=new URL(n,"http://placeholder");let i;a&&(i=a.baseOptions);const l={method:"GET",...i,...s},d={},c={};return t!==void 0&&(c.customerActionType=t),Object.entries({...c,...s.query}).forEach(([m,A])=>{A!==void 0&&o.searchParams.set(m,String(A))}),l.headers={...d,...s.headers},{url:o.pathname+o.search,options:l}},reference(e,r,t={}){if(e==null)throw new h("orderId","Required parameter orderId was null or undefined when calling reference.");if(r==null)throw new h("customerId","Required parameter customerId was null or undefined when calling reference.");const s="/v2/orders/{orderId}/customers/{customerId}/actions/reference".replace("{orderId}",encodeURIComponent(String(e))).replace("{customerId}",encodeURIComponent(String(r))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"POST",...o,...t},l={};return Object.entries({...{},...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},{url:n.pathname+n.search,options:i}},sign(e,r,t={}){if(e==null)throw new h("orderId","Required parameter orderId was null or undefined when calling sign.");if(r==null)throw new h("customerId","Required parameter customerId was null or undefined when calling sign.");const s="/v2/orders/{orderId}/customers/{customerId}/actions/sign".replace("{orderId}",encodeURIComponent(String(e))).replace("{customerId}",encodeURIComponent(String(r))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"PATCH",...o,...t},l={};return Object.entries({...{},...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},{url:n.pathname+n.search,options:i}},signAddendumForTenant(e,r,t={}){if(e==null)throw new h("orderId","Required parameter orderId was null or undefined when calling signAddendumForTenant.");if(r==null)throw new h("customerId","Required parameter customerId was null or undefined when calling signAddendumForTenant.");const s="/v2/orders/{orderId}/customers/{customerId}/actions/sign-addendum".replace("{orderId}",encodeURIComponent(String(e))).replace("{customerId}",encodeURIComponent(String(r))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"PATCH",...o,...t},l={};return Object.entries({...{},...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},{url:n.pathname+n.search,options:i}}}},U=function(a){return{aboutYou(e,r,t,s){const n=x(a).aboutYou(e,r,t,s);return(o=p,i=u)=>{const l={...n.options,url:i+n.url};return o.request(l)}},addressHistory(e,r,t,s){const n=x(a).addressHistory(e,r,t,s);return(o=p,i=u)=>{const l={...n.options,url:i+n.url};return o.request(l)}},confirm(e,r,t){const s=x(a).confirm(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},pay(e,r,t,s){const n=x(a).pay(e,r,t,s);return(o=p,i=u)=>{const l={...n.options,url:i+n.url};return o.request(l)}},reference(e,r,t){const s=x(a).reference(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},sign(e,r,t){const s=x(a).sign(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},signAddendumForTenant(e,r,t){const s=x(a).signAddendumForTenant(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}}}},nc=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 oc 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 ic(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 cc(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 dc(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 uc(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 pc(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 je=function(a){return{getOrderCustomerById(e,r,t={}){if(e==null)throw new h("orderId","Required parameter orderId was null or undefined when calling getOrderCustomerById.");if(r==null)throw new h("customerId","Required parameter customerId was null or undefined when calling getOrderCustomerById.");const s="/v2/orders/{orderId}/customers/{customerId}".replace("{orderId}",encodeURIComponent(String(e))).replace("{customerId}",encodeURIComponent(String(r))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"GET",...o,...t},l={};return Object.entries({...{},...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},{url:n.pathname+n.search,options:i}},getTenancyUserById(e,r,t={}){if(e==null)throw new h("orderId","Required parameter orderId was null or undefined when calling getTenancyUserById.");if(r==null)throw new h("customerId","Required parameter customerId was null or undefined when calling getTenancyUserById.");const s="/v2/orders/{orderId}/customers/{customerId}/tenancy-user".replace("{orderId}",encodeURIComponent(String(e))).replace("{customerId}",encodeURIComponent(String(r))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"GET",...o,...t},l={};return Object.entries({...{},...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},{url:n.pathname+n.search,options:i}},paymentCardChecks(e,r,t,s={}){if(e==null)throw new h("orderId","Required parameter orderId was null or undefined when calling paymentCardChecks.");if(r==null)throw new h("customerId","Required parameter customerId was null or undefined when calling paymentCardChecks.");if(t==null)throw new h("paymentMethodChecksRequestDTO","Required parameter paymentMethodChecksRequestDTO was null or undefined when calling paymentCardChecks.");const n="/v2/orders/{orderId}/customers/{customerId}/payment-card-checks".replace("{orderId}",encodeURIComponent(String(e))).replace("{customerId}",encodeURIComponent(String(r))),o=new URL(n,"http://placeholder");let i;a&&(i=a.baseOptions);const l={method:"POST",...i,...s},d={},c={};return d["Content-Type"]="application/json",Object.entries({...c,...s.query}).forEach(([m,A])=>{A!==void 0&&o.searchParams.set(m,String(A))}),l.headers={...d,...s.headers},l.data=JSON.stringify(t!==void 0?t:{}),{url:o.pathname+o.search,options:l}}}},Me=function(a){return{getOrderCustomerById(e,r,t){const s=je(a).getOrderCustomerById(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},getTenancyUserById(e,r,t){const s=je(a).getTenancyUserById(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},paymentCardChecks(e,r,t,s){const n=je(a).paymentCardChecks(e,r,t,s);return(o=p,i=u)=>{const l={...n.options,url:i+n.url};return o.request(l)}}}},mc=function(a,e,r){return{getOrderCustomerById(t,s,n){return Me(a).getOrderCustomerById(t,s,n)(r,e)},getTenancyUserById(t,s,n){return Me(a).getTenancyUserById(t,s,n)(r,e)},paymentCardChecks(t,s,n,o){return Me(a).paymentCardChecks(t,s,n,o)(r,e)}}};class Ac extends R{getOrderCustomerById(e,r,t){return Me(this.configuration).getOrderCustomerById(e,r,t)(this.axios,this.basePath)}getTenancyUserById(e,r,t){return Me(this.configuration).getTenancyUserById(e,r,t)(this.axios,this.basePath)}paymentCardChecks(e,r,t,s){return Me(this.configuration).paymentCardChecks(e,r,t,s)(this.axios,this.basePath)}}async function Rc(a,e,r,t=p,s=u,n){const o=je(r).getOrderCustomerById(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function Ic(a,e,r,t=p,s=u,n){const o=je(r).getTenancyUserById(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function Pc(a,e,r,t,s=p,n=u,o){const i=je(t).paymentCardChecks(a,e,r,o),l={...i.options,url:n+i.url};return(await s.request(l)).data}const Ir=function(a){return{duplicatePaymentMethodCheck(e,r,t={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling duplicatePaymentMethodCheck.");if(r==null)throw new h("duplicatePaymentMethodCheckDTO","Required parameter duplicatePaymentMethodCheckDTO was null or undefined when calling duplicatePaymentMethodCheck.");const s="/v2/orders/{id}/duplicate-payment-method-check".replace("{id}",encodeURIComponent(String(e))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"POST",...o,...t},l={},d={};return l["Content-Type"]="application/json",Object.entries({...d,...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:n.pathname+n.search,options:i}},getAmountRemaining(e,r,t={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling getAmountRemaining.");if(r==null)throw new h("includeInterest","Required parameter includeInterest was null or undefined when calling getAmountRemaining.");const s="/v2/orders/{id}/amount-remaining".replace("{id}",encodeURIComponent(String(e))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"GET",...o,...t},l={},d={};return r!==void 0&&(d.includeInterest=r),Object.entries({...d,...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},{url:n.pathname+n.search,options:i}}}},Pr=function(a){return{duplicatePaymentMethodCheck(e,r,t){const s=Ir(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=Ir(a).getAmountRemaining(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}}}},gc=function(a,e,r){return{duplicatePaymentMethodCheck(t,s,n){return Pr(a).duplicatePaymentMethodCheck(t,s,n)(r,e)},getAmountRemaining(t,s,n){return Pr(a).getAmountRemaining(t,s,n)(r,e)}}};class wc extends R{duplicatePaymentMethodCheck(e,r,t){return Pr(this.configuration).duplicatePaymentMethodCheck(e,r,t)(this.axios,this.basePath)}getAmountRemaining(e,r,t){return Pr(this.configuration).getAmountRemaining(e,r,t)(this.axios,this.basePath)}}async function Oc(a,e,r,t=p,s=u,n){const o=Ir(r).duplicatePaymentMethodCheck(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function fc(a,e,r,t=p,s=u,n){const o=Ir(r).getAmountRemaining(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}const He=function(a){return{create(e,r,t={}){if(e==null)throw new h("organizationId","Required parameter organizationId was null or undefined when calling create.");if(r==null)throw new h("createOrganizationBankAccountDTO","Required parameter createOrganizationBankAccountDTO was null or undefined when calling create.");const s="/v2/organizations/{organizationId}/bank-accounts".replace("{organizationId}",encodeURIComponent(String(e))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"POST",...o,...t},l={},d={};return l["Content-Type"]="application/json",Object.entries({...d,...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:n.pathname+n.search,options:i}},deleteBankAccount(e,r,t={}){if(e==null)throw new h("organizationId","Required parameter organizationId was null or undefined when calling deleteBankAccount.");if(r==null)throw new h("id","Required parameter id was null or undefined when calling deleteBankAccount.");const s="/v2/organizations/{organizationId}/bank-accounts/{id}".replace("{organizationId}",encodeURIComponent(String(e))).replace("{id}",encodeURIComponent(String(r))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"DELETE",...o,...t},l={};return Object.entries({...{},...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},{url:n.pathname+n.search,options:i}},getBankAccounts(e,r={}){if(e==null)throw new h("organizationId","Required parameter organizationId was null or undefined when calling getBankAccounts.");const t="/v2/organizations/{organizationId}/bank-accounts".replace("{organizationId}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}}}},Ge=function(a){return{create(e,r,t){const s=He(a).create(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},deleteBankAccount(e,r,t){const s=He(a).deleteBankAccount(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},getBankAccounts(e,r){const t=He(a).getBankAccounts(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}}}},yc=function(a,e,r){return{create(t,s,n){return Ge(a).create(t,s,n)(r,e)},deleteBankAccount(t,s,n){return Ge(a).deleteBankAccount(t,s,n)(r,e)},getBankAccounts(t,s){return Ge(a).getBankAccounts(t,s)(r,e)}}};class Ec extends R{create(e,r,t){return Ge(this.configuration).create(e,r,t)(this.axios,this.basePath)}deleteBankAccount(e,r,t){return Ge(this.configuration).deleteBankAccount(e,r,t)(this.axios,this.basePath)}getBankAccounts(e,r){return Ge(this.configuration).getBankAccounts(e,r)(this.axios,this.basePath)}}async function Cc(a,e,r,t=p,s=u,n){const o=He(r).create(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function Vc(a,e,r,t=p,s=u,n){const o=He(r).deleteBankAccount(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function qc(a,e,r=p,t=u,s){const n=He(e).getBankAccounts(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}const it=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}}}},lt=function(a){return{getOwners(e,r){const t=it(a).getOwners(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{getOwners(t,s){return lt(a).getOwners(t,s)(r,e)}}};class vc extends R{getOwners(e,r){return lt(this.configuration).getOwners(e,r)(this.axios,this.basePath)}}async function bc(a,e,r=p,t=u,s){const n=it(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,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},{url:n.pathname+n.search,options:i}},createOrganizationInvite(e,r,t={}){if(e==null)throw new h("organizationId","Required parameter organizationId was null or undefined when calling createOrganizationInvite.");if(r==null)throw new h("createOrganizationInviteDTO","Required parameter createOrganizationInviteDTO was null or undefined when calling createOrganizationInvite.");const s="/v2/organizations/{organizationId}/invites".replace("{organizationId}",encodeURIComponent(String(e))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"POST",...o,...t},l={},d={};return l["Content-Type"]="application/json",Object.entries({...d,...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:n.pathname+n.search,options:i}},deleteInvite(e,r,t={}){if(e==null)throw new h("organizationInviteId","Required parameter organizationInviteId was null or undefined when calling deleteInvite.");if(r==null)throw new h("organizationId","Required parameter organizationId was null or undefined when calling deleteInvite.");const s="/v2/organizations/{organizationId}/invites/{organizationInviteId}".replace("{organizationInviteId}",encodeURIComponent(String(e))).replace("{organizationId}",encodeURIComponent(String(r))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"DELETE",...o,...t},l={};return Object.entries({...{},...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},{url:n.pathname+n.search,options:i}},fetchInvitesByOrganizationId(e,r,t={}){if(e==null)throw new h("organizationId","Required parameter organizationId was null or undefined when calling fetchInvitesByOrganizationId.");const s="/v2/organizations/{organizationId}/invites".replace("{organizationId}",encodeURIComponent(String(e))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"GET",...o,...t},l={},d={};return r!==void 0&&(d.accepted=r),Object.entries({...d,...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},{url:n.pathname+n.search,options:i}},resendOrganizationInvite(e,r,t={}){if(e==null)throw new h("organizationInviteId","Required parameter organizationInviteId was null or undefined when calling resendOrganizationInvite.");if(r==null)throw new h("organizationId","Required parameter organizationId was null or undefined when calling resendOrganizationInvite.");const s="/v2/organizations/{organizationId}/invites/{organizationInviteId}/resend".replace("{organizationInviteId}",encodeURIComponent(String(e))).replace("{organizationId}",encodeURIComponent(String(r))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"POST",...o,...t},l={};return Object.entries({...{},...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},{url:n.pathname+n.search,options:i}}}},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)}}}},Sc=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 Tc 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 Nc(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 xc(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 Uc(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 Dc(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 Lc(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 gr=function(a){return{createOrganizationRecipient(e,r,t={}){if(e==null)throw new h("organizationId","Required parameter organizationId was null or undefined when calling createOrganizationRecipient.");if(r==null)throw new h("createOrganizationRecipientDTO","Required parameter createOrganizationRecipientDTO was null or undefined when calling createOrganizationRecipient.");const s="/v2/organizations/{organizationId}/recipients".replace("{organizationId}",encodeURIComponent(String(e))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"POST",...o,...t},l={},d={};return l["Content-Type"]="application/json",Object.entries({...d,...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:n.pathname+n.search,options:i}},deleteOrganizationRecipient(e,r,t={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling deleteOrganizationRecipient.");if(r==null)throw new h("organizationId","Required parameter organizationId was null or undefined when calling deleteOrganizationRecipient.");const s="/v2/organizations/{organizationId}/recipients/{id}".replace("{id}",encodeURIComponent(String(e))).replace("{organizationId}",encodeURIComponent(String(r))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"DELETE",...o,...t},l={};return Object.entries({...{},...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},{url:n.pathname+n.search,options:i}}}},wr=function(a){return{createOrganizationRecipient(e,r,t){const s=gr(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=gr(a).deleteOrganizationRecipient(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}}}},Bc=function(a,e,r){return{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 Fc 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 jc(a,e,r,t=p,s=u,n){const o=gr(r).createOrganizationRecipient(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function Mc(a,e,r,t=p,s=u,n){const o=gr(r).deleteOrganizationRecipient(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}const ke=function(a){return{grantRoles(e,r,t={}){if(e==null)throw new h("userId","Required parameter userId was null or undefined when calling grantRoles.");if(r==null)throw new h("organizationId","Required parameter organizationId was null or undefined when calling grantRoles.");const s="/v2/organizations/{organizationId}/users/{userId}/grant-roles".replace("{userId}",encodeURIComponent(String(e))).replace("{organizationId}",encodeURIComponent(String(r))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"POST",...o,...t},l={};return Object.entries({...{},...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},{url:n.pathname+n.search,options:i}},notifyIntegrator(e,r,t,s={}){if(e==null)throw new h("userId","Required parameter userId was null or undefined when calling notifyIntegrator.");if(r==null)throw new h("organizationId","Required parameter organizationId was null or undefined when calling notifyIntegrator.");if(t==null)throw new h("notifyIntegratorDTO","Required parameter notifyIntegratorDTO was null or undefined when calling notifyIntegrator.");const n="/v2/organizations/{organizationId}/users/{userId}/notify-integrator".replace("{userId}",encodeURIComponent(String(e))).replace("{organizationId}",encodeURIComponent(String(r))),o=new URL(n,"http://placeholder");let i;a&&(i=a.baseOptions);const l={method:"POST",...i,...s},d={},c={};return d["Content-Type"]="application/json",Object.entries({...c,...s.query}).forEach(([m,A])=>{A!==void 0&&o.searchParams.set(m,String(A))}),l.headers={...d,...s.headers},l.data=JSON.stringify(t!==void 0?t:{}),{url:o.pathname+o.search,options:l}},revokeRoles(e,r,t={}){if(e==null)throw new h("userId","Required parameter userId was null or undefined when calling revokeRoles.");if(r==null)throw new h("organizationId","Required parameter organizationId was null or undefined when calling revokeRoles.");const s="/v2/organizations/{organizationId}/users/{userId}/revoke-roles".replace("{userId}",encodeURIComponent(String(e))).replace("{organizationId}",encodeURIComponent(String(r))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"DELETE",...o,...t},l={};return Object.entries({...{},...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},{url:n.pathname+n.search,options:i}}}},Qe=function(a){return{grantRoles(e,r,t){const s=ke(a).grantRoles(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},notifyIntegrator(e,r,t,s){const n=ke(a).notifyIntegrator(e,r,t,s);return(o=p,i=u)=>{const l={...n.options,url:i+n.url};return o.request(l)}},revokeRoles(e,r,t){const s=ke(a).revokeRoles(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}}}},Hc=function(a,e,r){return{grantRoles(t,s,n){return Qe(a).grantRoles(t,s,n)(r,e)},notifyIntegrator(t,s,n,o){return Qe(a).notifyIntegrator(t,s,n,o)(r,e)},revokeRoles(t,s,n){return Qe(a).revokeRoles(t,s,n)(r,e)}}};class Gc extends R{grantRoles(e,r,t){return Qe(this.configuration).grantRoles(e,r,t)(this.axios,this.basePath)}notifyIntegrator(e,r,t,s){return Qe(this.configuration).notifyIntegrator(e,r,t,s)(this.axios,this.basePath)}revokeRoles(e,r,t){return Qe(this.configuration).revokeRoles(e,r,t)(this.axios,this.basePath)}}async function kc(a,e,r,t=p,s=u,n){const o=ke(r).grantRoles(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function Qc(a,e,r,t,s=p,n=u,o){const i=ke(t).notifyIntegrator(a,e,r,o),l={...i.options,url:n+i.url};return(await s.request(l)).data}async function Yc(a,e,r,t=p,s=u,n){const o=ke(r).revokeRoles(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}const g=function(a){return{confirmBankAccounts(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling confirmBankAccounts.");const t="/v2/organizations/{id}/onboarding/bank-accounts".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"PATCH",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},createOrganization(e,r={}){if(e==null)throw new h("createOrganizationDTO","Required parameter createOrganizationDTO was null or undefined when calling createOrganization.");const t="/v2/organizations",s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"POST",...n,...r},i={},l={};return i["Content-Type"]="application/json",Object.entries({...l,...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},o.data=JSON.stringify(e!==void 0?e:{}),{url:s.pathname+s.search,options:o}},disableProductCreation(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling disableProductCreation.");const t="/v2/organizations/{id}/disable".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"PATCH",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},dismissOrganizationMessage(e,r,t={}){if(e==null)throw new h("messageId","Required parameter messageId was null or undefined when calling dismissOrganizationMessage.");if(r==null)throw new h("id","Required parameter id was null or undefined when calling dismissOrganizationMessage.");const s="/v2/organizations/{id}/messages/{messageId}/dismiss".replace("{messageId}",encodeURIComponent(String(e))).replace("{id}",encodeURIComponent(String(r))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"POST",...o,...t},l={};return Object.entries({...{},...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},{url:n.pathname+n.search,options:i}},enableProductCreation(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling enableProductCreation.");const t="/v2/organizations/{id}/enable".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"PATCH",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},fetchAddressesByOrganizationId(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling fetchAddressesByOrganizationId.");const t="/v2/organizations/{id}/addresses".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},fetchLandlordsByOrganizationId(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling fetchLandlordsByOrganizationId.");const t="/v2/organizations/{id}/landlords".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},fetchOrganizationUsersByOrganizationId(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling fetchOrganizationUsersByOrganizationId.");const t="/v2/organizations/{id}/organization-users".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},fetchPropertiesByOrganizationId(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling fetchPropertiesByOrganizationId.");const t="/v2/organizations/{id}/properties".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},fetchTenanciesByOrganizationId(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling fetchTenanciesByOrganizationId.");const t="/v2/organizations/{id}/tenancies".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},fetchUsersByOrganizationId(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling fetchUsersByOrganizationId.");const t="/v2/organizations/{id}/users".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},findOrganizationById(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling findOrganizationById.");const t="/v2/organizations/{id}".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},getCashDepositScheme(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling getCashDepositScheme.");const t="/v2/organizations/{id}/cash-deposit-scheme".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},getChildren(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling getChildren.");const t="/v2/organizations/{id}/children".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},getOrganizationMetrics(e,r={}){if(e==null)throw new h("organizationId","Required parameter organizationId was null or undefined when calling getOrganizationMetrics.");const t="/v2/organizations/{organizationId}/metrics".replace("{organizationId}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},getOrganizationVerticals(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling getOrganizationVerticals.");const t="/v2/organizations/{id}/verticals".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},getRecipients(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling getRecipients.");const t="/v2/organizations/{id}/recipients".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},removeUser(e,r,t={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling removeUser.");if(r==null)throw new h("userId","Required parameter userId was null or undefined when calling removeUser.");const s="/v2/organizations/{id}/users/{userId}".replace("{id}",encodeURIComponent(String(e))).replace("{userId}",encodeURIComponent(String(r))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"DELETE",...o,...t},l={};return Object.entries({...{},...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},{url:n.pathname+n.search,options:i}},searchOrganization(e,r,t,s,n,o={}){if(e==null)throw new h("organizationTypeId","Required parameter organizationTypeId was null or undefined when calling searchOrganization.");if(r==null)throw new h("page","Required parameter page was null or undefined when calling searchOrganization.");if(t==null)throw new h("size","Required parameter size was null or undefined when calling searchOrganization.");const i="/v2/organizations",l=new URL(i,"http://placeholder");let d;a&&(d=a.baseOptions);const c={method:"GET",...d,...o},m={},A={};return s!==void 0&&(A.query=s),e!==void 0&&(A.organizationTypeId=e),n!==void 0&&(A.sortBy=n),r!==void 0&&(A.page=r),t!==void 0&&(A.size=t),Object.entries({...A,...o.query}).forEach(([I,P])=>{P!==void 0&&l.searchParams.set(I,String(P))}),c.headers={...m,...o.headers},{url:l.pathname+l.search,options:c}},setLandlordInformationComplete(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling setLandlordInformationComplete.");const t="/v2/organizations/{id}/onboarding/landlord-information".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"PATCH",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},updateASTAcceptance(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling updateASTAcceptance.");const t="/v2/organizations/{id}/onboarding/ast".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"PATCH",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},updateInformedLandlords(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling updateInformedLandlords.");const t="/v2/organizations/{id}/onboarding/informed-landlords".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"PATCH",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},updateOrganization(e,r,t={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling updateOrganization.");if(r==null)throw new h("updateOrganizationDTO","Required parameter updateOrganizationDTO was null or undefined when calling updateOrganization.");const s="/v2/organizations/{id}".replace("{id}",encodeURIComponent(String(e))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"PATCH",...o,...t},l={},d={};return l["Content-Type"]="application/json",Object.entries({...d,...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:n.pathname+n.search,options:i}},updateOrganizationNotes(e,r,t={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling updateOrganizationNotes.");if(r==null)throw new h("updateOrganizationNotesDTO","Required parameter updateOrganizationNotesDTO was null or undefined when calling updateOrganizationNotes.");const s="/v2/organizations/{id}/notes".replace("{id}",encodeURIComponent(String(e))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"PATCH",...o,...t},l={},d={};return l["Content-Type"]="application/json",Object.entries({...d,...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:n.pathname+n.search,options:i}},updateTermsAccepted(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling updateTermsAccepted.");const t="/v2/organizations/{id}/onboarding/terms".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"PATCH",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},updateYourCompany(e,r,t={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling updateYourCompany.");if(r==null)throw new h("updateYourCompanyDTO","Required parameter updateYourCompanyDTO was null or undefined when calling updateYourCompany.");const s="/v2/organizations/{id}/onboarding/your-company".replace("{id}",encodeURIComponent(String(e))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"PATCH",...o,...t},l={},d={};return l["Content-Type"]="application/json",Object.entries({...d,...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:n.pathname+n.search,options:i}},welcomeLandlord(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling welcomeLandlord.");const t="/v2/organizations/{id}/onboarding/welcome-landlord".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"PATCH",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}}}},w=function(a){return{confirmBankAccounts(e,r){const t=g(a).confirmBankAccounts(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},createOrganization(e,r){const t=g(a).createOrganization(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},disableProductCreation(e,r){const t=g(a).disableProductCreation(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},dismissOrganizationMessage(e,r,t){const s=g(a).dismissOrganizationMessage(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},enableProductCreation(e,r){const t=g(a).enableProductCreation(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},fetchAddressesByOrganizationId(e,r){const t=g(a).fetchAddressesByOrganizationId(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},fetchLandlordsByOrganizationId(e,r){const t=g(a).fetchLandlordsByOrganizationId(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},fetchOrganizationUsersByOrganizationId(e,r){const t=g(a).fetchOrganizationUsersByOrganizationId(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},fetchPropertiesByOrganizationId(e,r){const t=g(a).fetchPropertiesByOrganizationId(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},fetchTenanciesByOrganizationId(e,r){const t=g(a).fetchTenanciesByOrganizationId(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},fetchUsersByOrganizationId(e,r){const t=g(a).fetchUsersByOrganizationId(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},findOrganizationById(e,r){const t=g(a).findOrganizationById(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},getCashDepositScheme(e,r){const t=g(a).getCashDepositScheme(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},getChildren(e,r){const t=g(a).getChildren(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},getOrganizationMetrics(e,r){const t=g(a).getOrganizationMetrics(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},getOrganizationVerticals(e,r){const t=g(a).getOrganizationVerticals(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},getRecipients(e,r){const t=g(a).getRecipients(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},removeUser(e,r,t){const s=g(a).removeUser(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},searchOrganization(e,r,t,s,n,o){const i=g(a).searchOrganization(e,r,t,s,n,o);return(l=p,d=u)=>{const c={...i.options,url:d+i.url};return l.request(c)}},setLandlordInformationComplete(e,r){const t=g(a).setLandlordInformationComplete(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},updateASTAcceptance(e,r){const t=g(a).updateASTAcceptance(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},updateInformedLandlords(e,r){const t=g(a).updateInformedLandlords(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},updateOrganization(e,r,t){const s=g(a).updateOrganization(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},updateOrganizationNotes(e,r,t){const s=g(a).updateOrganizationNotes(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},updateTermsAccepted(e,r){const t=g(a).updateTermsAccepted(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},updateYourCompany(e,r,t){const s=g(a).updateYourCompany(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},welcomeLandlord(e,r){const t=g(a).welcomeLandlord(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}}}},zc=function(a,e,r){return{confirmBankAccounts(t,s){return w(a).confirmBankAccounts(t,s)(r,e)},createOrganization(t,s){return w(a).createOrganization(t,s)(r,e)},disableProductCreation(t,s){return w(a).disableProductCreation(t,s)(r,e)},dismissOrganizationMessage(t,s,n){return w(a).dismissOrganizationMessage(t,s,n)(r,e)},enableProductCreation(t,s){return w(a).enableProductCreation(t,s)(r,e)},fetchAddressesByOrganizationId(t,s){return w(a).fetchAddressesByOrganizationId(t,s)(r,e)},fetchLandlordsByOrganizationId(t,s){return w(a).fetchLandlordsByOrganizationId(t,s)(r,e)},fetchOrganizationUsersByOrganizationId(t,s){return w(a).fetchOrganizationUsersByOrganizationId(t,s)(r,e)},fetchPropertiesByOrganizationId(t,s){return w(a).fetchPropertiesByOrganizationId(t,s)(r,e)},fetchTenanciesByOrganizationId(t,s){return w(a).fetchTenanciesByOrganizationId(t,s)(r,e)},fetchUsersByOrganizationId(t,s){return w(a).fetchUsersByOrganizationId(t,s)(r,e)},findOrganizationById(t,s){return w(a).findOrganizationById(t,s)(r,e)},getCashDepositScheme(t,s){return w(a).getCashDepositScheme(t,s)(r,e)},getChildren(t,s){return w(a).getChildren(t,s)(r,e)},getOrganizationMetrics(t,s){return w(a).getOrganizationMetrics(t,s)(r,e)},getOrganizationVerticals(t,s){return w(a).getOrganizationVerticals(t,s)(r,e)},getRecipients(t,s){return w(a).getRecipients(t,s)(r,e)},removeUser(t,s,n){return w(a).removeUser(t,s,n)(r,e)},searchOrganization(t,s,n,o,i,l){return w(a).searchOrganization(t,s,n,o,i,l)(r,e)},setLandlordInformationComplete(t,s){return w(a).setLandlordInformationComplete(t,s)(r,e)},updateASTAcceptance(t,s){return w(a).updateASTAcceptance(t,s)(r,e)},updateInformedLandlords(t,s){return w(a).updateInformedLandlords(t,s)(r,e)},updateOrganization(t,s,n){return w(a).updateOrganization(t,s,n)(r,e)},updateOrganizationNotes(t,s,n){return w(a).updateOrganizationNotes(t,s,n)(r,e)},updateTermsAccepted(t,s){return w(a).updateTermsAccepted(t,s)(r,e)},updateYourCompany(t,s,n){return w(a).updateYourCompany(t,s,n)(r,e)},welcomeLandlord(t,s){return w(a).welcomeLandlord(t,s)(r,e)}}};class $c extends R{confirmBankAccounts(e,r){return w(this.configuration).confirmBankAccounts(e,r)(this.axios,this.basePath)}createOrganization(e,r){return w(this.configuration).createOrganization(e,r)(this.axios,this.basePath)}disableProductCreation(e,r){return w(this.configuration).disableProductCreation(e,r)(this.axios,this.basePath)}dismissOrganizationMessage(e,r,t){return w(this.configuration).dismissOrganizationMessage(e,r,t)(this.axios,this.basePath)}enableProductCreation(e,r){return w(this.configuration).enableProductCreation(e,r)(this.axios,this.basePath)}fetchAddressesByOrganizationId(e,r){return w(this.configuration).fetchAddressesByOrganizationId(e,r)(this.axios,this.basePath)}fetchLandlordsByOrganizationId(e,r){return w(this.configuration).fetchLandlordsByOrganizationId(e,r)(this.axios,this.basePath)}fetchOrganizationUsersByOrganizationId(e,r){return w(this.configuration).fetchOrganizationUsersByOrganizationId(e,r)(this.axios,this.basePath)}fetchPropertiesByOrganizationId(e,r){return w(this.configuration).fetchPropertiesByOrganizationId(e,r)(this.axios,this.basePath)}fetchTenanciesByOrganizationId(e,r){return w(this.configuration).fetchTenanciesByOrganizationId(e,r)(this.axios,this.basePath)}fetchUsersByOrganizationId(e,r){return w(this.configuration).fetchUsersByOrganizationId(e,r)(this.axios,this.basePath)}findOrganizationById(e,r){return w(this.configuration).findOrganizationById(e,r)(this.axios,this.basePath)}getCashDepositScheme(e,r){return w(this.configuration).getCashDepositScheme(e,r)(this.axios,this.basePath)}getChildren(e,r){return w(this.configuration).getChildren(e,r)(this.axios,this.basePath)}getOrganizationMetrics(e,r){return w(this.configuration).getOrganizationMetrics(e,r)(this.axios,this.basePath)}getOrganizationVerticals(e,r){return w(this.configuration).getOrganizationVerticals(e,r)(this.axios,this.basePath)}getRecipients(e,r){return w(this.configuration).getRecipients(e,r)(this.axios,this.basePath)}removeUser(e,r,t){return w(this.configuration).removeUser(e,r,t)(this.axios,this.basePath)}searchOrganization(e,r,t,s,n,o){return w(this.configuration).searchOrganization(e,r,t,s,n,o)(this.axios,this.basePath)}setLandlordInformationComplete(e,r){return w(this.configuration).setLandlordInformationComplete(e,r)(this.axios,this.basePath)}updateASTAcceptance(e,r){return w(this.configuration).updateASTAcceptance(e,r)(this.axios,this.basePath)}updateInformedLandlords(e,r){return w(this.configuration).updateInformedLandlords(e,r)(this.axios,this.basePath)}updateOrganization(e,r,t){return w(this.configuration).updateOrganization(e,r,t)(this.axios,this.basePath)}updateOrganizationNotes(e,r,t){return w(this.configuration).updateOrganizationNotes(e,r,t)(this.axios,this.basePath)}updateTermsAccepted(e,r){return w(this.configuration).updateTermsAccepted(e,r)(this.axios,this.basePath)}updateYourCompany(e,r,t){return w(this.configuration).updateYourCompany(e,r,t)(this.axios,this.basePath)}welcomeLandlord(e,r){return w(this.configuration).welcomeLandlord(e,r)(this.axios,this.basePath)}}async function Wc(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 Jc(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 Kc(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 Xc(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 Zc(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 ed(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 rd(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 td(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 ad(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 sd(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 nd(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 od(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 id(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 ld(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 cd(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 dd(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 ud(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 pd(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 hd(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 md(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 Ad(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 Rd(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 Id(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 Pd(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 gd(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 wd(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 Od(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,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},{url:n.pathname+n.search,options:i}},updateAddress(e,r,t={}){if(e==null)throw new h("paymentPlanId","Required parameter paymentPlanId was null or undefined when calling updateAddress.");if(r==null)throw new h("updateAddressHistoryAttributesDTO","Required parameter updateAddressHistoryAttributesDTO was null or undefined when calling updateAddress.");const s="/v2/payment-plan/{paymentPlanId}/actions/address".replace("{paymentPlanId}",encodeURIComponent(String(e))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"PATCH",...o,...t},l={},d={};return l["Content-Type"]="application/json",Object.entries({...d,...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:n.pathname+n.search,options:i}},updateCardDetails(e,r,t={}){if(e==null)throw new h("paymentPlanId","Required parameter paymentPlanId was null or undefined when calling updateCardDetails.");if(r==null)throw new h("paymentMethodRequestDTO","Required parameter paymentMethodRequestDTO was null or undefined when calling updateCardDetails.");const s="/v2/payment-plan/{paymentPlanId}/actions/card-details".replace("{paymentPlanId}",encodeURIComponent(String(e))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"PATCH",...o,...t},l={},d={};return l["Content-Type"]="application/json",Object.entries({...d,...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:n.pathname+n.search,options:i}}}},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)}}}},fd=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 yd 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 Ed(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 Cd(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 Vd(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 qd(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 Ye=function(a){return{deferPaymentPlanInstalment(e,r,t,s={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling deferPaymentPlanInstalment.");if(r==null)throw new h("paymentPlanId","Required parameter paymentPlanId was null or undefined when calling deferPaymentPlanInstalment.");if(t==null)throw new h("deferPaymentPlanInstalmentDTO","Required parameter deferPaymentPlanInstalmentDTO was null or undefined when calling deferPaymentPlanInstalment.");const n="/v2/payment-plan/{paymentPlanId}/instalment/{id}/defer".replace("{id}",encodeURIComponent(String(e))).replace("{paymentPlanId}",encodeURIComponent(String(r))),o=new URL(n,"http://placeholder");let i;a&&(i=a.baseOptions);const l={method:"PATCH",...i,...s},d={},c={};return d["Content-Type"]="application/json",Object.entries({...c,...s.query}).forEach(([m,A])=>{A!==void 0&&o.searchParams.set(m,String(A))}),l.headers={...d,...s.headers},l.data=JSON.stringify(t!==void 0?t:{}),{url:o.pathname+o.search,options:l}},getInstalmentById(e,r,t={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling getInstalmentById.");if(r==null)throw new h("paymentPlanId","Required parameter paymentPlanId was null or undefined when calling getInstalmentById.");const s="/v2/payment-plan/{paymentPlanId}/instalment/{id}".replace("{id}",encodeURIComponent(String(e))).replace("{paymentPlanId}",encodeURIComponent(String(r))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"GET",...o,...t},l={};return Object.entries({...{},...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},{url:n.pathname+n.search,options:i}},getInstalmentPaymentIntentSecret(e,r,t={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling getInstalmentPaymentIntentSecret.");if(r==null)throw new h("paymentPlanId","Required parameter paymentPlanId was null or undefined when calling getInstalmentPaymentIntentSecret.");const s="/v2/payment-plan/{paymentPlanId}/instalment/{id}/pay".replace("{id}",encodeURIComponent(String(e))).replace("{paymentPlanId}",encodeURIComponent(String(r))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"GET",...o,...t},l={};return Object.entries({...{},...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},{url:n.pathname+n.search,options:i}}}},ze=function(a){return{deferPaymentPlanInstalment(e,r,t,s){const n=Ye(a).deferPaymentPlanInstalment(e,r,t,s);return(o=p,i=u)=>{const l={...n.options,url:i+n.url};return o.request(l)}},getInstalmentById(e,r,t){const s=Ye(a).getInstalmentById(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},getInstalmentPaymentIntentSecret(e,r,t){const s=Ye(a).getInstalmentPaymentIntentSecret(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}}}},_d=function(a,e,r){return{deferPaymentPlanInstalment(t,s,n,o){return ze(a).deferPaymentPlanInstalment(t,s,n,o)(r,e)},getInstalmentById(t,s,n){return ze(a).getInstalmentById(t,s,n)(r,e)},getInstalmentPaymentIntentSecret(t,s,n){return ze(a).getInstalmentPaymentIntentSecret(t,s,n)(r,e)}}};class vd extends R{deferPaymentPlanInstalment(e,r,t,s){return ze(this.configuration).deferPaymentPlanInstalment(e,r,t,s)(this.axios,this.basePath)}getInstalmentById(e,r,t){return ze(this.configuration).getInstalmentById(e,r,t)(this.axios,this.basePath)}getInstalmentPaymentIntentSecret(e,r,t){return ze(this.configuration).getInstalmentPaymentIntentSecret(e,r,t)(this.axios,this.basePath)}}async function bd(a,e,r,t,s=p,n=u,o){const i=Ye(t).deferPaymentPlanInstalment(a,e,r,o),l={...i.options,url:n+i.url};return(await s.request(l)).data}async function Sd(a,e,r,t=p,s=u,n){const o=Ye(r).getInstalmentById(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function Td(a,e,r,t=p,s=u,n){const o=Ye(r).getInstalmentPaymentIntentSecret(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}const k=function(a){return{changeInstalmentDates(e,r,t={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling changeInstalmentDates.");if(r==null)throw new h("changeInstalmentDatesDTO","Required parameter changeInstalmentDatesDTO was null or undefined when calling changeInstalmentDates.");const s="/v2/payment-plan/{id}/change-instalment-dates".replace("{id}",encodeURIComponent(String(e))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"PATCH",...o,...t},l={},d={};return l["Content-Type"]="application/json",Object.entries({...d,...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:n.pathname+n.search,options:i}},createPaymentPlan(e,r={}){if(e==null)throw new h("createPaymentPlanDTO","Required parameter createPaymentPlanDTO was null or undefined when calling createPaymentPlan.");const t="/v2/payment-plan",s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"POST",...n,...r},i={},l={};return i["Content-Type"]="application/json",Object.entries({...l,...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},o.data=JSON.stringify(e!==void 0?e:{}),{url:s.pathname+s.search,options:o}},deletePaymentPlanById(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling deletePaymentPlanById.");const t="/v2/payment-plan/{id}".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"DELETE",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},getPaymentPlanById(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling getPaymentPlanById.");const t="/v2/payment-plan/{id}".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},getPaymentPlanPropertyAddressById(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling getPaymentPlanPropertyAddressById.");const t="/v2/payment-plan/{id}/address".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},getSetupIntentSecret(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling getSetupIntentSecret.");const t="/v2/payment-plan/{id}/setup-intent".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"POST",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}}}},Q=function(a){return{changeInstalmentDates(e,r,t){const s=k(a).changeInstalmentDates(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},createPaymentPlan(e,r){const t=k(a).createPaymentPlan(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},deletePaymentPlanById(e,r){const t=k(a).deletePaymentPlanById(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},getPaymentPlanById(e,r){const t=k(a).getPaymentPlanById(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},getPaymentPlanPropertyAddressById(e,r){const t=k(a).getPaymentPlanPropertyAddressById(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},getSetupIntentSecret(e,r){const t=k(a).getSetupIntentSecret(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}}}},Nd=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 xd 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 Ud(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 Dd(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 Ld(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 Bd(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 Fd(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 jd(a,e,r=p,t=u,s){const n=k(e).getSetupIntentSecret(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}const Y=function(a){return{addItems(e,r,t={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling addItems.");if(r==null)throw new h("addItemsDTO","Required parameter addItemsDTO was null or undefined when calling addItems.");const s="/v2/policies/{id}/items".replace("{id}",encodeURIComponent(String(e))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"POST",...o,...t},l={},d={};return l["Content-Type"]="application/json",Object.entries({...d,...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:n.pathname+n.search,options:i}},createPolicy(e,r={}){if(e==null)throw new h("createPolicyWithBeneficiaryDTO","Required parameter createPolicyWithBeneficiaryDTO was null or undefined when calling createPolicy.");const t="/v2/policies",s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"POST",...n,...r},i={},l={};return i["Content-Type"]="application/json",Object.entries({...l,...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},o.data=JSON.stringify(e!==void 0?e:{}),{url:s.pathname+s.search,options:o}},deleteItem(e,r,t={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling deleteItem.");if(r==null)throw new h("itemId","Required parameter itemId was null or undefined when calling deleteItem.");const s="/v2/policies/{id}/items/{itemId}".replace("{id}",encodeURIComponent(String(e))).replace("{itemId}",encodeURIComponent(String(r))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"DELETE",...o,...t},l={};return Object.entries({...{},...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},{url:n.pathname+n.search,options:i}},findOne(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling findOne.");const t="/v2/policies/{id}".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},updatePolicy(e,r,t={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling updatePolicy.");if(r==null)throw new h("updatePolicyDTO","Required parameter updatePolicyDTO was null or undefined when calling updatePolicy.");const s="/v2/policies/{id}".replace("{id}",encodeURIComponent(String(e))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"PATCH",...o,...t},l={},d={};return l["Content-Type"]="application/json",Object.entries({...d,...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:n.pathname+n.search,options:i}},updateStatus(e,r,t={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling updateStatus.");if(r==null)throw new h("updatePolicyStatusDTO","Required parameter updatePolicyStatusDTO was null or undefined when calling updateStatus.");const s="/v2/policies/{id}/statuses".replace("{id}",encodeURIComponent(String(e))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"PATCH",...o,...t},l={},d={};return l["Content-Type"]="application/json",Object.entries({...d,...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:n.pathname+n.search,options:i}}}},z=function(a){return{addItems(e,r,t){const s=Y(a).addItems(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},createPolicy(e,r){const t=Y(a).createPolicy(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},deleteItem(e,r,t){const s=Y(a).deleteItem(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},findOne(e,r){const t=Y(a).findOne(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},updatePolicy(e,r,t){const s=Y(a).updatePolicy(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},updateStatus(e,r,t){const s=Y(a).updateStatus(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}}}},Md=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 Hd 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 Gd(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 kd(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 Qd(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 Yd(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 zd(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 $d(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 we=function(a){return{addPolicyDocument(e,r,t,s,n={}){if(e==null)throw new h("policyId","Required parameter policyId was null or undefined when calling addPolicyDocument.");if(r==null)throw new h("file","Required parameter file was null or undefined when calling addPolicyDocument.");if(t==null)throw new h("name","Required parameter name was null or undefined when calling addPolicyDocument.");if(s==null)throw new h("type","Required parameter type was null or undefined when calling addPolicyDocument.");const o="/v2/policies/{policyId}/documents".replace("{policyId}",encodeURIComponent(String(e))),i=new URL(o,"http://placeholder");let l;a&&(l=a.baseOptions);const d={method:"POST",...l,...n},c={},m={},A=new FormData;return r!==void 0&&A.append("file",r),t!==void 0&&A.append("name",t),s!==void 0&&A.append("type",s),c["Content-Type"]="multipart/form-data",Object.entries({...m,...n.query}).forEach(([I,P])=>{P!==void 0&&i.searchParams.set(I,String(P))}),d.headers={...c,...n.headers},d.data=A,{url:i.pathname+i.search,options:d}},deletePolicyDocument(e,r,t={}){if(e==null)throw new h("policyId","Required parameter policyId was null or undefined when calling deletePolicyDocument.");if(r==null)throw new h("documentId","Required parameter documentId was null or undefined when calling deletePolicyDocument.");const s="/v2/policies/{policyId}/documents/{documentId}".replace("{policyId}",encodeURIComponent(String(e))).replace("{documentId}",encodeURIComponent(String(r))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"DELETE",...o,...t},l={};return Object.entries({...{},...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},{url:n.pathname+n.search,options:i}},findManyPolicyDocuments(e,r={}){if(e==null)throw new h("policyId","Required parameter policyId was null or undefined when calling findManyPolicyDocuments.");const t="/v2/policies/{policyId}/documents".replace("{policyId}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},findPolicyDocumentById(e,r,t={}){if(e==null)throw new h("policyId","Required parameter policyId was null or undefined when calling findPolicyDocumentById.");if(r==null)throw new h("documentId","Required parameter documentId was null or undefined when calling findPolicyDocumentById.");const s="/v2/policies/{policyId}/documents/{documentId}".replace("{policyId}",encodeURIComponent(String(e))).replace("{documentId}",encodeURIComponent(String(r))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"GET",...o,...t},l={};return Object.entries({...{},...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},{url:n.pathname+n.search,options:i}}}},Oe=function(a){return{addPolicyDocument(e,r,t,s,n){const o=we(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=we(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=we(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=we(a).findPolicyDocumentById(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}}}},Wd=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 Jd 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 Kd(a,e,r,t,s,n=p,o=u,i){const l=we(s).addPolicyDocument(a,e,r,t,i),d={...l.options,url:o+l.url};return(await n.request(d)).data}async function Xd(a,e,r,t=p,s=u,n){const o=we(r).deletePolicyDocument(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=we(e).findManyPolicyDocuments(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=we(r).findPolicyDocumentById(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}const Or=function(a){return{addPreTenancyDocumentByDocumentId(e,r,t={}){if(e==null)throw new h("tenancyId","Required parameter tenancyId was null or undefined when calling addPreTenancyDocumentByDocumentId.");if(r==null)throw new h("createPreTenancyDocumentByDocumentIdDTO","Required parameter createPreTenancyDocumentByDocumentIdDTO was null or undefined when calling addPreTenancyDocumentByDocumentId.");const s="/v2/tenancy/{tenancyId}/pre-tenancy-documents/by-document-id".replace("{tenancyId}",encodeURIComponent(String(e))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"POST",...o,...t},l={},d={};return l["Content-Type"]="application/json",Object.entries({...d,...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:n.pathname+n.search,options:i}},deletePreTenancyDocument(e,r,t={}){if(e==null)throw new h("tenancyId","Required parameter tenancyId was null or undefined when calling deletePreTenancyDocument.");if(r==null)throw new h("documentId","Required parameter documentId was null or undefined when calling deletePreTenancyDocument.");const s="/v2/tenancy/{tenancyId}/pre-tenancy-documents/{documentId}".replace("{tenancyId}",encodeURIComponent(String(e))).replace("{documentId}",encodeURIComponent(String(r))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"DELETE",...o,...t},l={};return Object.entries({...{},...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},{url:n.pathname+n.search,options:i}}}},fr=function(a){return{addPreTenancyDocumentByDocumentId(e,r,t){const s=Or(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=Or(a).deletePreTenancyDocument(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{addPreTenancyDocumentByDocumentId(t,s,n){return fr(a).addPreTenancyDocumentByDocumentId(t,s,n)(r,e)},deletePreTenancyDocument(t,s,n){return fr(a).deletePreTenancyDocument(t,s,n)(r,e)}}};class tu extends R{addPreTenancyDocumentByDocumentId(e,r,t){return fr(this.configuration).addPreTenancyDocumentByDocumentId(e,r,t)(this.axios,this.basePath)}deletePreTenancyDocument(e,r,t){return fr(this.configuration).deletePreTenancyDocument(e,r,t)(this.axios,this.basePath)}}async function au(a,e,r,t=p,s=u,n){const o=Or(r).addPreTenancyDocumentByDocumentId(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=Or(r).deletePreTenancyDocument(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}const yr=function(a){return{getCashDepositAmount(e,r={}){if(e==null)throw new h("ppm","Required parameter ppm was null or undefined when calling getCashDepositAmount.");const t="/v2/pricing/cash-deposit",s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={},l={};return e!==void 0&&(l.ppm=e),Object.entries({...l,...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},getRepositFee(e,r,t,s={}){if(e==null)throw new h("ppm","Required parameter ppm was null or undefined when calling getRepositFee.");if(r==null)throw new h("organizationId","Required parameter organizationId was null or undefined when calling getRepositFee.");const n="/v2/pricing/reposit-fee",o=new URL(n,"http://placeholder");let i;a&&(i=a.baseOptions);const l={method:"GET",...i,...s},d={},c={};return e!==void 0&&(c.ppm=e),r!==void 0&&(c.organizationId=r),t!==void 0&&(c.headcount=t),Object.entries({...c,...s.query}).forEach(([m,A])=>{A!==void 0&&o.searchParams.set(m,String(A))}),l.headers={...d,...s.headers},{url:o.pathname+o.search,options:l}}}},Er=function(a){return{getCashDepositAmount(e,r){const t=yr(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=yr(a).getRepositFee(e,r,t,s);return(o=p,i=u)=>{const l={...n.options,url:i+n.url};return o.request(l)}}}},nu=function(a,e,r){return{getCashDepositAmount(t,s){return Er(a).getCashDepositAmount(t,s)(r,e)},getRepositFee(t,s,n,o){return Er(a).getRepositFee(t,s,n,o)(r,e)}}};class ou extends R{getCashDepositAmount(e,r){return Er(this.configuration).getCashDepositAmount(e,r)(this.axios,this.basePath)}getRepositFee(e,r,t,s){return Er(this.configuration).getRepositFee(e,r,t,s)(this.axios,this.basePath)}}async function iu(a,e,r=p,t=u,s){const n=yr(e).getCashDepositAmount(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function lu(a,e,r,t,s=p,n=u,o){const i=yr(t).getRepositFee(a,e,r,o),l={...i.options,url:n+i.url};return(await s.request(l)).data}const $e=function(a){return{createProperty(e,r={}){if(e==null)throw new h("createPropertyDTO","Required parameter createPropertyDTO was null or undefined when calling createProperty.");const t="/v2/properties",s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"POST",...n,...r},i={},l={};return i["Content-Type"]="application/json",Object.entries({...l,...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},o.data=JSON.stringify(e!==void 0?e:{}),{url:s.pathname+s.search,options:o}},getPropertyById(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling getPropertyById.");const t="/v2/properties/{id}".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},searchProperties(e,r,t,s,n={}){if(e==null)throw new h("page","Required parameter page was null or undefined when calling searchProperties.");if(r==null)throw new h("size","Required parameter size was null or undefined when calling searchProperties.");const o="/v2/properties",i=new URL(o,"http://placeholder");let l;a&&(l=a.baseOptions);const d={method:"GET",...l,...n},c={},m={};return t!==void 0&&(m.query=t),s!==void 0&&(m.organizationId=s),e!==void 0&&(m.page=e),r!==void 0&&(m.size=r),Object.entries({...m,...n.query}).forEach(([A,I])=>{I!==void 0&&i.searchParams.set(A,String(I))}),d.headers={...c,...n.headers},{url:i.pathname+i.search,options:d}}}},We=function(a){return{createProperty(e,r){const t=$e(a).createProperty(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},getPropertyById(e,r){const t=$e(a).getPropertyById(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},searchProperties(e,r,t,s,n){const o=$e(a).searchProperties(e,r,t,s,n);return(i=p,l=u)=>{const d={...o.options,url:l+o.url};return i.request(d)}}}},cu=function(a,e,r){return{createProperty(t,s){return We(a).createProperty(t,s)(r,e)},getPropertyById(t,s){return We(a).getPropertyById(t,s)(r,e)},searchProperties(t,s,n,o,i){return We(a).searchProperties(t,s,n,o,i)(r,e)}}};class du extends R{createProperty(e,r){return We(this.configuration).createProperty(e,r)(this.axios,this.basePath)}getPropertyById(e,r){return We(this.configuration).getPropertyById(e,r)(this.axios,this.basePath)}searchProperties(e,r,t,s,n){return We(this.configuration).searchProperties(e,r,t,s,n)(this.axios,this.basePath)}}async function uu(a,e,r=p,t=u,s){const n=$e(e).createProperty(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function pu(a,e,r=p,t=u,s){const n=$e(e).getPropertyById(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function hu(a,e,r,t,s,n=p,o=u,i){const l=$e(s).searchProperties(a,e,r,t,i),d={...l.options,url:o+l.url};return(await n.request(d)).data}const ct=function(a){return{searchReconciliationDocuments(e,r,t,s,n={}){if(e==null)throw new h("from","Required parameter from was null or undefined when calling searchReconciliationDocuments.");if(r==null)throw new h("to","Required parameter to was null or undefined when calling searchReconciliationDocuments.");if(t==null)throw new h("page","Required parameter page was null or undefined when calling searchReconciliationDocuments.");if(s==null)throw new h("size","Required parameter size was null or undefined when calling searchReconciliationDocuments.");const o="/v2/reconciliations/documents/search",i=new URL(o,"http://placeholder");let l;a&&(l=a.baseOptions);const d={method:"GET",...l,...n},c={},m={};return e!==void 0&&(m.from=e),r!==void 0&&(m.to=r),t!==void 0&&(m.page=t),s!==void 0&&(m.size=s),Object.entries({...m,...n.query}).forEach(([A,I])=>{I!==void 0&&i.searchParams.set(A,String(I))}),d.headers={...c,...n.headers},{url:i.pathname+i.search,options:d}}}},dt=function(a){return{searchReconciliationDocuments(e,r,t,s,n){const o=ct(a).searchReconciliationDocuments(e,r,t,s,n);return(i=p,l=u)=>{const d={...o.options,url:l+o.url};return i.request(d)}}}},mu=function(a,e,r){return{searchReconciliationDocuments(t,s,n,o,i){return dt(a).searchReconciliationDocuments(t,s,n,o,i)(r,e)}}};class Au extends R{searchReconciliationDocuments(e,r,t,s,n){return dt(this.configuration).searchReconciliationDocuments(e,r,t,s,n)(this.axios,this.basePath)}}async function Ru(a,e,r,t,s,n=p,o=u,i){const l=ct(s).searchReconciliationDocuments(a,e,r,t,i),d={...l.options,url:o+l.url};return(await n.request(d)).data}const fe=function(a){return{addReferenceDocument(e,r,t,s,n={}){if(e==null)throw new h("referenceId","Required parameter referenceId was null or undefined when calling addReferenceDocument.");if(r==null)throw new h("file","Required parameter file was null or undefined when calling addReferenceDocument.");if(t==null)throw new h("name","Required parameter name was null or undefined when calling addReferenceDocument.");if(s==null)throw new h("type","Required parameter type was null or undefined when calling addReferenceDocument.");const o="/v2/references/{referenceId}/documents".replace("{referenceId}",encodeURIComponent(String(e))),i=new URL(o,"http://placeholder");let l;a&&(l=a.baseOptions);const d={method:"POST",...l,...n},c={},m={},A=new FormData;return r!==void 0&&A.append("file",r),t!==void 0&&A.append("name",t),s!==void 0&&A.append("type",s),c["Content-Type"]="multipart/form-data",Object.entries({...m,...n.query}).forEach(([I,P])=>{P!==void 0&&i.searchParams.set(I,String(P))}),d.headers={...c,...n.headers},d.data=A,{url:i.pathname+i.search,options:d}},deleteReferenceDocument(e,r,t={}){if(e==null)throw new h("referenceId","Required parameter referenceId was null or undefined when calling deleteReferenceDocument.");if(r==null)throw new h("documentId","Required parameter documentId was null or undefined when calling deleteReferenceDocument.");const s="/v2/references/{referenceId}/documents/{documentId}".replace("{referenceId}",encodeURIComponent(String(e))).replace("{documentId}",encodeURIComponent(String(r))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"DELETE",...o,...t},l={};return Object.entries({...{},...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},{url:n.pathname+n.search,options:i}},findManyReferenceDocuments(e,r={}){if(e==null)throw new h("referenceId","Required parameter referenceId was null or undefined when calling findManyReferenceDocuments.");const t="/v2/references/{referenceId}/documents".replace("{referenceId}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},findReferenceDocumentById(e,r,t={}){if(e==null)throw new h("referenceId","Required parameter referenceId was null or undefined when calling findReferenceDocumentById.");if(r==null)throw new h("documentId","Required parameter documentId was null or undefined when calling findReferenceDocumentById.");const s="/v2/references/{referenceId}/documents/{documentId}".replace("{referenceId}",encodeURIComponent(String(e))).replace("{documentId}",encodeURIComponent(String(r))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"GET",...o,...t},l={};return Object.entries({...{},...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},{url:n.pathname+n.search,options:i}}}},ye=function(a){return{addReferenceDocument(e,r,t,s,n){const o=fe(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=fe(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=fe(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=fe(a).findReferenceDocumentById(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{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 Pu 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 gu(a,e,r,t,s,n=p,o=u,i){const l=fe(s).addReferenceDocument(a,e,r,t,i),d={...l.options,url:o+l.url};return(await n.request(d)).data}async function wu(a,e,r,t=p,s=u,n){const o=fe(r).deleteReferenceDocument(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function Ou(a,e,r=p,t=u,s){const n=fe(e).findManyReferenceDocuments(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function fu(a,e,r,t=p,s=u,n){const o=fe(r).findReferenceDocumentById(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}const D=function(a){return{createReference(e,r={}){if(e==null)throw new h("createReferenceDTO","Required parameter createReferenceDTO was null or undefined when calling createReference.");const t="/v2/references",s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"POST",...n,...r},i={},l={};return i["Content-Type"]="application/json",Object.entries({...l,...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},o.data=JSON.stringify(e!==void 0?e:{}),{url:s.pathname+s.search,options:o}},findReferenceById(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling findReferenceById.");const t="/v2/references/{id}".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},getChecks(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling getChecks.");const t="/v2/references/{id}/checks".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},getReferenceDocuments(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling getReferenceDocuments.");const t="/v2/references/{id}/documents".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},readyForReview(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling readyForReview.");const t="/v2/references/{id}/review".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"PATCH",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},searchReferences(e,r,t,s,n={}){if(e==null)throw new h("status","Required parameter status was null or undefined when calling searchReferences.");if(r==null)throw new h("page","Required parameter page was null or undefined when calling searchReferences.");if(t==null)throw new h("size","Required parameter size was null or undefined when calling searchReferences.");const o="/v2/references/search",i=new URL(o,"http://placeholder");let l;a&&(l=a.baseOptions);const d={method:"GET",...l,...n},c={},m={};return e!==void 0&&(m.status=e),s!==void 0&&(m.sortBy=s),r!==void 0&&(m.page=r),t!==void 0&&(m.size=t),Object.entries({...m,...n.query}).forEach(([A,I])=>{I!==void 0&&i.searchParams.set(A,String(I))}),d.headers={...c,...n.headers},{url:i.pathname+i.search,options:d}},submitChecks(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling submitChecks.");const t="/v2/references/{id}/checks/submit".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"PATCH",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}}}},L=function(a){return{createReference(e,r){const t=D(a).createReference(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},findReferenceById(e,r){const t=D(a).findReferenceById(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},getChecks(e,r){const t=D(a).getChecks(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},getReferenceDocuments(e,r){const t=D(a).getReferenceDocuments(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},readyForReview(e,r){const t=D(a).readyForReview(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},searchReferences(e,r,t,s,n){const o=D(a).searchReferences(e,r,t,s,n);return(i=p,l=u)=>{const d={...o.options,url:l+o.url};return i.request(d)}},submitChecks(e,r){const t=D(a).submitChecks(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}}}},yu=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 Eu 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 Cu(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 Vu(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 qu(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 _u(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 vu(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 bu(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 Su(a,e,r=p,t=u,s){const n=D(e).submitChecks(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}const B=function(a){return{addRejectionReason(e,r,t={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling addRejectionReason.");if(r==null)throw new h("addRejectionReasonRequestDTO","Required parameter addRejectionReasonRequestDTO was null or undefined when calling addRejectionReason.");const s="/v2/reposit-offer/{id}/rejection-reason".replace("{id}",encodeURIComponent(String(e))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"PATCH",...o,...t},l={},d={};return l["Content-Type"]="application/json",Object.entries({...d,...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:n.pathname+n.search,options:i}},createOffer(e,r={}){if(e==null)throw new h("offerToTenantRequestDTO","Required parameter offerToTenantRequestDTO was null or undefined when calling createOffer.");const t="/v2/reposit-offer",s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"POST",...n,...r},i={},l={};return i["Content-Type"]="application/json",Object.entries({...l,...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},o.data=JSON.stringify(e!==void 0?e:{}),{url:s.pathname+s.search,options:o}},deleteOffer(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling deleteOffer.");const t="/v2/reposit-offer/{id}".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"DELETE",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},getRepositOffer(e,r,t={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling getRepositOffer.");if(r==null)throw new h("token","Required parameter token was null or undefined when calling getRepositOffer.");const s="/v2/reposit-offer/{id}".replace("{id}",encodeURIComponent(String(e))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"GET",...o,...t},l={},d={};return r!==void 0&&(d.token=r),Object.entries({...d,...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},{url:n.pathname+n.search,options:i}},respondToOffer(e,r,t,s={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling respondToOffer.");if(r==null)throw new h("choice","Required parameter choice was null or undefined when calling respondToOffer.");if(t==null)throw new h("token","Required parameter token was null or undefined when calling respondToOffer.");const n="/v2/reposit-offer/{id}/respond".replace("{id}",encodeURIComponent(String(e))),o=new URL(n,"http://placeholder");let i;a&&(i=a.baseOptions);const l={method:"GET",...i,...s},d={},c={};return r!==void 0&&(c.choice=r),t!==void 0&&(c.token=t),Object.entries({...c,...s.query}).forEach(([m,A])=>{A!==void 0&&o.searchParams.set(m,String(A))}),l.headers={...d,...s.headers},{url:o.pathname+o.search,options:l}},searchOffers(e,r,t,s,n,o,i={}){if(e==null)throw new h("page","Required parameter page was null or undefined when calling searchOffers.");if(r==null)throw new h("size","Required parameter size was null or undefined when calling searchOffers.");if(t==null)throw new h("organizationId","Required parameter organizationId was null or undefined when calling searchOffers.");const l="/v2/reposit-offer",d=new URL(l,"http://placeholder");let c;a&&(c=a.baseOptions);const m={method:"GET",...c,...i},A={},I={};return s!==void 0&&(I.query=s),e!==void 0&&(I.page=e),r!==void 0&&(I.size=r),t!==void 0&&(I.organizationId=t),n!==void 0&&(I.status=n),o!==void 0&&(I.orderStatus=o),Object.entries({...I,...i.query}).forEach(([P,q])=>{q!==void 0&&d.searchParams.set(P,String(q))}),m.headers={...A,...i.headers},{url:d.pathname+d.search,options:m}},sendReminder(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling sendReminder.");const t="/v2/reposit-offer/{id}/send-reminder".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"POST",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}}}},F=function(a){return{addRejectionReason(e,r,t){const s=B(a).addRejectionReason(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},createOffer(e,r){const t=B(a).createOffer(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},deleteOffer(e,r){const t=B(a).deleteOffer(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},getRepositOffer(e,r,t){const s=B(a).getRepositOffer(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},respondToOffer(e,r,t,s){const n=B(a).respondToOffer(e,r,t,s);return(o=p,i=u)=>{const l={...n.options,url:i+n.url};return o.request(l)}},searchOffers(e,r,t,s,n,o,i){const l=B(a).searchOffers(e,r,t,s,n,o,i);return(d=p,c=u)=>{const m={...l.options,url:c+l.url};return d.request(m)}},sendReminder(e,r){const t=B(a).sendReminder(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}}}},Tu=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 Nu 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 xu(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 Uu(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 Du(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 Lu(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 Bu(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 Fu(a,e,r,t,s,n,o,i=p,l=u,d){const c=B(o).searchOffers(a,e,r,t,s,n,d),m={...c.options,url:l+c.url};return(await i.request(m)).data}async function ju(a,e,r=p,t=u,s){const n=B(e).sendReminder(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}const b=function(a){return{createReposit(e,r={}){if(e==null)throw new h("createRepositDTO","Required parameter createRepositDTO was null or undefined when calling createReposit.");const t="/v2/integration/reposits",s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"POST",...n,...r},i={},l={};return i["Content-Type"]="application/json",Object.entries({...l,...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},o.data=JSON.stringify(e!==void 0?e:{}),{url:s.pathname+s.search,options:o}},getRepositById(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling getRepositById.");const t="/v2/integration/reposits/{id}".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},getRepositLandlord(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling getRepositLandlord.");const t="/v2/integration/reposits/{id}/landlord".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},getRepositPolicies(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling getRepositPolicies.");const t="/v2/integration/reposits/{id}/policies".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},getRepositPrice(e,r={}){if(e==null)throw new h("requestRepositPricingDTO","Required parameter requestRepositPricingDTO was null or undefined when calling getRepositPrice.");const t="/v2/integration/reposits/pricing",s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"POST",...n,...r},i={},l={};return i["Content-Type"]="application/json",Object.entries({...l,...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},o.data=JSON.stringify(e!==void 0?e:{}),{url:s.pathname+s.search,options:o}},getTenantDocuments(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling getTenantDocuments.");const t="/v2/integration/reposits/{id}/tenant-documents".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},publishReposit(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling publishReposit.");const t="/v2/integration/reposits/{id}/publish".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"POST",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},replaceReposit(e,r,t={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling replaceReposit.");if(r==null)throw new h("replaceRepositDTO","Required parameter replaceRepositDTO was null or undefined when calling replaceReposit.");const s="/v2/integration/reposits/{id}".replace("{id}",encodeURIComponent(String(e))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"PUT",...o,...t},l={},d={};return l["Content-Type"]="application/json",Object.entries({...d,...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:n.pathname+n.search,options:i}}}},S=function(a){return{createReposit(e,r){const t=b(a).createReposit(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},getRepositById(e,r){const t=b(a).getRepositById(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},getRepositLandlord(e,r){const t=b(a).getRepositLandlord(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},getRepositPolicies(e,r){const t=b(a).getRepositPolicies(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},getRepositPrice(e,r){const t=b(a).getRepositPrice(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},getTenantDocuments(e,r){const t=b(a).getTenantDocuments(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},publishReposit(e,r){const t=b(a).publishReposit(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},replaceReposit(e,r,t){const s=b(a).replaceReposit(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}}}},Mu=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 Hu 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 Gu(a,e,r=p,t=u,s){const n=b(e).createReposit(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function ku(a,e,r=p,t=u,s){const n=b(e).getRepositById(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function Qu(a,e,r=p,t=u,s){const n=b(e).getRepositLandlord(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function Yu(a,e,r=p,t=u,s){const n=b(e).getRepositPolicies(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function zu(a,e,r=p,t=u,s){const n=b(e).getRepositPrice(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function $u(a,e,r=p,t=u,s){const n=b(e).getTenantDocuments(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function Wu(a,e,r=p,t=u,s){const n=b(e).publishReposit(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function Ju(a,e,r,t=p,s=u,n){const o=b(r).replaceReposit(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}const ut=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=ut(a).seedCashDeposit(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}}}},Ku=function(a,e,r){return{seedCashDeposit(t,s){return pt(a).seedCashDeposit(t,s)(r,e)}}};class Xu extends R{seedCashDeposit(e,r){return pt(this.configuration).seedCashDeposit(e,r)(this.axios,this.basePath)}}async function Zu(a,e,r=p,t=u,s){const n=ut(e).seedCashDeposit(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}const ht=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}}}},mt=function(a){return{seedReposit(e,r){const t=ht(a).seedReposit(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}}}},ep=function(a,e,r){return{seedReposit(t,s){return mt(a).seedReposit(t,s)(r,e)}}};class rp extends R{seedReposit(e,r){return mt(this.configuration).seedReposit(e,r)(this.axios,this.basePath)}}async function tp(a,e,r=p,t=u,s){const n=ht(e).seedReposit(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}const Cr=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}}}},Vr=function(a){return{getMySupplier(e){const r=Cr(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=Cr(a).getSupplierAgents(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}}}},ap=function(a,e,r){return{getMySupplier(t){return Vr(a).getMySupplier(t)(r,e)},getSupplierAgents(t,s){return Vr(a).getSupplierAgents(t,s)(r,e)}}};class sp extends R{getMySupplier(e){return Vr(this.configuration).getMySupplier(e)(this.axios,this.basePath)}getSupplierAgents(e,r){return Vr(this.configuration).getSupplierAgents(e,r)(this.axios,this.basePath)}}async function np(a,e=p,r=u,t){const s=Cr(a).getMySupplier(t),n={...s.options,url:r+s.url};return(await e.request(n)).data}async function op(a,e,r=p,t=u,s){const n=Cr(e).getSupplierAgents(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}const C=function(a){return{closingRemindersEnabled(e,r,t={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling closingRemindersEnabled.");if(r==null)throw new h("updateClosingRemindersEnabledRequestDTO","Required parameter updateClosingRemindersEnabledRequestDTO was null or undefined when calling closingRemindersEnabled.");const s="/v2/tenancies/{id}/closing-reminders-enabled".replace("{id}",encodeURIComponent(String(e))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"PATCH",...o,...t},l={},d={};return l["Content-Type"]="application/json",Object.entries({...d,...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:n.pathname+n.search,options:i}},createTenancy(e,r={}){if(e==null)throw new h("createTenancyRequestDTO","Required parameter createTenancyRequestDTO was null or undefined when calling createTenancy.");const t="/v2/tenancies",s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"POST",...n,...r},i={},l={};return i["Content-Type"]="application/json",Object.entries({...l,...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},o.data=JSON.stringify(e!==void 0?e:{}),{url:s.pathname+s.search,options:o}},createTenancyOrder(e,r,t={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling createTenancyOrder.");if(r==null)throw new h("createOrderDTO","Required parameter createOrderDTO was null or undefined when calling createTenancyOrder.");const s="/v2/tenancies/{id}/orders".replace("{id}",encodeURIComponent(String(e))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"POST",...o,...t},l={},d={};return l["Content-Type"]="application/json",Object.entries({...d,...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:n.pathname+n.search,options:i}},disableTopUps(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling disableTopUps.");const t="/v2/tenancies/{id}/disable-top-ups".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"POST",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},extendOutcomeDeadline(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling extendOutcomeDeadline.");const t="/v2/tenancies/{id}/extend-outcome-deadline".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"POST",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},getTenancyById(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling getTenancyById.");const t="/v2/tenancies/{id}".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},getTenancyDocuments(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling getTenancyDocuments.");const t="/v2/tenancies/{id}/documents".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},publish(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling publish.");const t="/v2/tenancies/{id}/publish".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"POST",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},signAddendumForSupplier(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling signAddendumForSupplier.");const t="/v2/tenancies/{id}/sign-addendum".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"POST",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},tenantVacated(e,r={}){if(e==null)throw new h("token","Required parameter token was null or undefined when calling tenantVacated.");const t="/v2/tenancies/tenant-vacated",s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={},l={};return e!==void 0&&(l.token=e),Object.entries({...l,...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},updateExistingProperty(e,r,t={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling updateExistingProperty.");if(r==null)throw new h("updateExistingPropertyOnTenancyRequestDTO","Required parameter updateExistingPropertyOnTenancyRequestDTO was null or undefined when calling updateExistingProperty.");const s="/v2/tenancies/{id}/properties".replace("{id}",encodeURIComponent(String(e))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"PATCH",...o,...t},l={},d={};return l["Content-Type"]="application/json",Object.entries({...d,...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:n.pathname+n.search,options:i}},updateProperty(e,r,t={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling updateProperty.");if(r==null)throw new h("updatePropertyRequestDTO","Required parameter updatePropertyRequestDTO was null or undefined when calling updateProperty.");const s="/v2/tenancies/{id}/properties".replace("{id}",encodeURIComponent(String(e))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"PUT",...o,...t},l={},d={};return l["Content-Type"]="application/json",Object.entries({...d,...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:n.pathname+n.search,options:i}},updateTenancy(e,r,t={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling updateTenancy.");if(r==null)throw new h("updateTenancyRequestDTO","Required parameter updateTenancyRequestDTO was null or undefined when calling updateTenancy.");const s="/v2/tenancies/{id}".replace("{id}",encodeURIComponent(String(e))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"PATCH",...o,...t},l={},d={};return l["Content-Type"]="application/json",Object.entries({...d,...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:n.pathname+n.search,options:i}}}},V=function(a){return{closingRemindersEnabled(e,r,t){const s=C(a).closingRemindersEnabled(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},createTenancy(e,r){const t=C(a).createTenancy(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},createTenancyOrder(e,r,t){const s=C(a).createTenancyOrder(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},disableTopUps(e,r){const t=C(a).disableTopUps(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},extendOutcomeDeadline(e,r){const t=C(a).extendOutcomeDeadline(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},getTenancyById(e,r){const t=C(a).getTenancyById(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},getTenancyDocuments(e,r){const t=C(a).getTenancyDocuments(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},publish(e,r){const t=C(a).publish(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},signAddendumForSupplier(e,r){const t=C(a).signAddendumForSupplier(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},tenantVacated(e,r){const t=C(a).tenantVacated(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},updateExistingProperty(e,r,t){const s=C(a).updateExistingProperty(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},updateProperty(e,r,t){const s=C(a).updateProperty(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},updateTenancy(e,r,t){const s=C(a).updateTenancy(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}}}},ip=function(a,e,r){return{closingRemindersEnabled(t,s,n){return V(a).closingRemindersEnabled(t,s,n)(r,e)},createTenancy(t,s){return V(a).createTenancy(t,s)(r,e)},createTenancyOrder(t,s,n){return V(a).createTenancyOrder(t,s,n)(r,e)},disableTopUps(t,s){return V(a).disableTopUps(t,s)(r,e)},extendOutcomeDeadline(t,s){return V(a).extendOutcomeDeadline(t,s)(r,e)},getTenancyById(t,s){return V(a).getTenancyById(t,s)(r,e)},getTenancyDocuments(t,s){return V(a).getTenancyDocuments(t,s)(r,e)},publish(t,s){return V(a).publish(t,s)(r,e)},signAddendumForSupplier(t,s){return V(a).signAddendumForSupplier(t,s)(r,e)},tenantVacated(t,s){return V(a).tenantVacated(t,s)(r,e)},updateExistingProperty(t,s,n){return V(a).updateExistingProperty(t,s,n)(r,e)},updateProperty(t,s,n){return V(a).updateProperty(t,s,n)(r,e)},updateTenancy(t,s,n){return V(a).updateTenancy(t,s,n)(r,e)}}};class lp extends R{closingRemindersEnabled(e,r,t){return V(this.configuration).closingRemindersEnabled(e,r,t)(this.axios,this.basePath)}createTenancy(e,r){return V(this.configuration).createTenancy(e,r)(this.axios,this.basePath)}createTenancyOrder(e,r,t){return V(this.configuration).createTenancyOrder(e,r,t)(this.axios,this.basePath)}disableTopUps(e,r){return V(this.configuration).disableTopUps(e,r)(this.axios,this.basePath)}extendOutcomeDeadline(e,r){return V(this.configuration).extendOutcomeDeadline(e,r)(this.axios,this.basePath)}getTenancyById(e,r){return V(this.configuration).getTenancyById(e,r)(this.axios,this.basePath)}getTenancyDocuments(e,r){return V(this.configuration).getTenancyDocuments(e,r)(this.axios,this.basePath)}publish(e,r){return V(this.configuration).publish(e,r)(this.axios,this.basePath)}signAddendumForSupplier(e,r){return V(this.configuration).signAddendumForSupplier(e,r)(this.axios,this.basePath)}tenantVacated(e,r){return V(this.configuration).tenantVacated(e,r)(this.axios,this.basePath)}updateExistingProperty(e,r,t){return V(this.configuration).updateExistingProperty(e,r,t)(this.axios,this.basePath)}updateProperty(e,r,t){return V(this.configuration).updateProperty(e,r,t)(this.axios,this.basePath)}updateTenancy(e,r,t){return V(this.configuration).updateTenancy(e,r,t)(this.axios,this.basePath)}}async function cp(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 dp(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 up(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 pp(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 hp(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 mp(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 Ap(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 Rp(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 Ip(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 Pp(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 gp(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 wp(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 Op(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 At=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}}}},Rt=function(a){return{getTenancyAnniversaries(e,r){const t=At(a).getTenancyAnniversaries(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}}}},fp=function(a,e,r){return{getTenancyAnniversaries(t,s){return Rt(a).getTenancyAnniversaries(t,s)(r,e)}}};class yp extends R{getTenancyAnniversaries(e,r){return Rt(this.configuration).getTenancyAnniversaries(e,r)(this.axios,this.basePath)}}async function Ep(a,e,r=p,t=u,s){const n=At(e).getTenancyAnniversaries(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}const It=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}}}},Pt=function(a){return{createCheckout(e,r){const t=It(a).createCheckout(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}}}},Cp=function(a,e,r){return{createCheckout(t,s){return Pt(a).createCheckout(t,s)(r,e)}}};class Vp extends R{createCheckout(e,r){return Pt(this.configuration).createCheckout(e,r)(this.axios,this.basePath)}}async function qp(a,e,r=p,t=u,s){const n=It(e).createCheckout(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}const qr=function(a){return{createTenancyExpiry(e,r,t={}){if(e==null)throw new h("tenancyId","Required parameter tenancyId was null or undefined when calling createTenancyExpiry.");if(r==null)throw new h("createTenancyExpiryRequestDTO","Required parameter createTenancyExpiryRequestDTO was null or undefined when calling createTenancyExpiry.");const s="/v2/tenancies/{tenancyId}/expiries".replace("{tenancyId}",encodeURIComponent(String(e))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"POST",...o,...t},l={},d={};return l["Content-Type"]="application/json",Object.entries({...d,...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:n.pathname+n.search,options:i}},getByTenancyId(e,r={}){if(e==null)throw new h("tenancyId","Required parameter tenancyId was null or undefined when calling getByTenancyId.");const t="/v2/tenancies/{tenancyId}/expiries".replace("{tenancyId}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}}}},_r=function(a){return{createTenancyExpiry(e,r,t){const s=qr(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=qr(a).getByTenancyId(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}}}},_p=function(a,e,r){return{createTenancyExpiry(t,s,n){return _r(a).createTenancyExpiry(t,s,n)(r,e)},getByTenancyId(t,s){return _r(a).getByTenancyId(t,s)(r,e)}}};class vp extends R{createTenancyExpiry(e,r,t){return _r(this.configuration).createTenancyExpiry(e,r,t)(this.axios,this.basePath)}getByTenancyId(e,r){return _r(this.configuration).getByTenancyId(e,r)(this.axios,this.basePath)}}async function bp(a,e,r,t=p,s=u,n){const o=qr(r).createTenancyExpiry(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function Sp(a,e,r=p,t=u,s){const n=qr(e).getByTenancyId(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}const vr=function(a){return{disableWarnings(e,r,t={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling disableWarnings.");if(r==null)throw new h("tenancyId","Required parameter tenancyId was null or undefined when calling disableWarnings.");const s="/v2/tenancies/{tenancyId}/inventories/{id}/disable-warnings".replace("{id}",encodeURIComponent(String(e))).replace("{tenancyId}",encodeURIComponent(String(r))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"PATCH",...o,...t},l={};return Object.entries({...{},...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},{url:n.pathname+n.search,options:i}},tenantConfirmation(e,r,t,s={}){if(e==null)throw new h("token","Required parameter token was null or undefined when calling tenantConfirmation.");if(r==null)throw new h("response","Required parameter response was null or undefined when calling tenantConfirmation.");if(t==null)throw new h("tenancyId","Required parameter tenancyId was null or undefined when calling tenantConfirmation.");const n="/v2/tenancies/{tenancyId}/inventories/confirmation".replace("{tenancyId}",encodeURIComponent(String(t))),o=new URL(n,"http://placeholder");let i;a&&(i=a.baseOptions);const l={method:"GET",...i,...s},d={},c={};return e!==void 0&&(c.token=e),r!==void 0&&(c.response=r),Object.entries({...c,...s.query}).forEach(([m,A])=>{A!==void 0&&o.searchParams.set(m,String(A))}),l.headers={...d,...s.headers},{url:o.pathname+o.search,options:l}}}},br=function(a){return{disableWarnings(e,r,t){const s=vr(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=vr(a).tenantConfirmation(e,r,t,s);return(o=p,i=u)=>{const l={...n.options,url:i+n.url};return o.request(l)}}}},Tp=function(a,e,r){return{disableWarnings(t,s,n){return br(a).disableWarnings(t,s,n)(r,e)},tenantConfirmation(t,s,n,o){return br(a).tenantConfirmation(t,s,n,o)(r,e)}}};class Np extends R{disableWarnings(e,r,t){return br(this.configuration).disableWarnings(e,r,t)(this.axios,this.basePath)}tenantConfirmation(e,r,t,s){return br(this.configuration).tenantConfirmation(e,r,t,s)(this.axios,this.basePath)}}async function xp(a,e,r,t=p,s=u,n){const o=vr(r).disableWarnings(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function Up(a,e,r,t,s=p,n=u,o){const i=vr(t).tenantConfirmation(a,e,r,o),l={...i.options,url:n+i.url};return(await s.request(l)).data}const $=function(a){return{acceptTenancyInvite(e,r,t,s={}){if(e==null)throw new h("token","Required parameter token was null or undefined when calling acceptTenancyInvite.");if(r==null)throw new h("clearSession","Required parameter clearSession was null or undefined when calling acceptTenancyInvite.");if(t==null)throw new h("tenancyId","Required parameter tenancyId was null or undefined when calling acceptTenancyInvite.");const n="/v2/tenancies/{tenancyId}/invites/accept".replace("{tenancyId}",encodeURIComponent(String(t))),o=new URL(n,"http://placeholder");let i;a&&(i=a.baseOptions);const l={method:"GET",...i,...s},d={},c={};return e!==void 0&&(c.token=e),r!==void 0&&(c.clear_session=r),Object.entries({...c,...s.query}).forEach(([m,A])=>{A!==void 0&&o.searchParams.set(m,String(A))}),l.headers={...d,...s.headers},{url:o.pathname+o.search,options:l}},createTenancyInvite(e,r,t={}){if(e==null)throw new h("tenancyId","Required parameter tenancyId was null or undefined when calling createTenancyInvite.");if(r==null)throw new h("createTenancyInviteDTO","Required parameter createTenancyInviteDTO was null or undefined when calling createTenancyInvite.");const s="/v2/tenancies/{tenancyId}/invites".replace("{tenancyId}",encodeURIComponent(String(e))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"POST",...o,...t},l={},d={};return l["Content-Type"]="application/json",Object.entries({...d,...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:n.pathname+n.search,options:i}},deleteTenancyInvite(e,r,t={}){if(e==null)throw new h("tenancyInviteId","Required parameter tenancyInviteId was null or undefined when calling deleteTenancyInvite.");if(r==null)throw new h("tenancyId","Required parameter tenancyId was null or undefined when calling deleteTenancyInvite.");const s="/v2/tenancies/{tenancyId}/invites/{tenancyInviteId}".replace("{tenancyInviteId}",encodeURIComponent(String(e))).replace("{tenancyId}",encodeURIComponent(String(r))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"DELETE",...o,...t},l={};return Object.entries({...{},...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},{url:n.pathname+n.search,options:i}},fetchInvitesByTenancyId(e,r,t,s={}){if(e==null)throw new h("tenancyId","Required parameter tenancyId was null or undefined when calling fetchInvitesByTenancyId.");if(r==null)throw new h("organizationId","Required parameter organizationId was null or undefined when calling fetchInvitesByTenancyId.");const n="/v2/tenancies/{tenancyId}/invites".replace("{tenancyId}",encodeURIComponent(String(e))).replace("{organizationId}",encodeURIComponent(String(r))),o=new URL(n,"http://placeholder");let i;a&&(i=a.baseOptions);const l={method:"GET",...i,...s},d={},c={};return t!==void 0&&(c.accepted=t),Object.entries({...c,...s.query}).forEach(([m,A])=>{A!==void 0&&o.searchParams.set(m,String(A))}),l.headers={...d,...s.headers},{url:o.pathname+o.search,options:l}},resendTenancyInvite(e,r,t={}){if(e==null)throw new h("tenancyInviteId","Required parameter tenancyInviteId was null or undefined when calling resendTenancyInvite.");if(r==null)throw new h("tenancyId","Required parameter tenancyId was null or undefined when calling resendTenancyInvite.");const s="/v2/tenancies/{tenancyId}/invites/{tenancyInviteId}/resend".replace("{tenancyInviteId}",encodeURIComponent(String(e))).replace("{tenancyId}",encodeURIComponent(String(r))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"POST",...o,...t},l={};return Object.entries({...{},...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},{url:n.pathname+n.search,options:i}},updateTenancyInvite(e,r,t,s={}){if(e==null)throw new h("tenancyInviteId","Required parameter tenancyInviteId was null or undefined when calling updateTenancyInvite.");if(r==null)throw new h("tenancyId","Required parameter tenancyId was null or undefined when calling updateTenancyInvite.");if(t==null)throw new h("updateTenancyInviteDTO","Required parameter updateTenancyInviteDTO was null or undefined when calling updateTenancyInvite.");const n="/v2/tenancies/{tenancyId}/invites/{tenancyInviteId}".replace("{tenancyInviteId}",encodeURIComponent(String(e))).replace("{tenancyId}",encodeURIComponent(String(r))),o=new URL(n,"http://placeholder");let i;a&&(i=a.baseOptions);const l={method:"PATCH",...i,...s},d={},c={};return d["Content-Type"]="application/json",Object.entries({...c,...s.query}).forEach(([m,A])=>{A!==void 0&&o.searchParams.set(m,String(A))}),l.headers={...d,...s.headers},l.data=JSON.stringify(t!==void 0?t:{}),{url:o.pathname+o.search,options:l}}}},W=function(a){return{acceptTenancyInvite(e,r,t,s){const n=$(a).acceptTenancyInvite(e,r,t,s);return(o=p,i=u)=>{const l={...n.options,url:i+n.url};return o.request(l)}},createTenancyInvite(e,r,t){const s=$(a).createTenancyInvite(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},deleteTenancyInvite(e,r,t){const s=$(a).deleteTenancyInvite(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},fetchInvitesByTenancyId(e,r,t,s){const n=$(a).fetchInvitesByTenancyId(e,r,t,s);return(o=p,i=u)=>{const l={...n.options,url:i+n.url};return o.request(l)}},resendTenancyInvite(e,r,t){const s=$(a).resendTenancyInvite(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},updateTenancyInvite(e,r,t,s){const n=$(a).updateTenancyInvite(e,r,t,s);return(o=p,i=u)=>{const l={...n.options,url:i+n.url};return o.request(l)}}}},Dp=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 Lp 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 Bp(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 Fp(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 jp(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 Mp(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 Hp(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 Gp(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 Sr=function(a){return{createTenancyOrderNote(e,r,t={}){if(e==null)throw new h("tenancyOrderId","Required parameter tenancyOrderId was null or undefined when calling createTenancyOrderNote.");if(r==null)throw new h("createTenancyOrderNoteDTO","Required parameter createTenancyOrderNoteDTO was null or undefined when calling createTenancyOrderNote.");const s="/v2/tenancy-orders/{tenancyOrderId}/notes".replace("{tenancyOrderId}",encodeURIComponent(String(e))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"POST",...o,...t},l={},d={};return l["Content-Type"]="application/json",Object.entries({...d,...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:n.pathname+n.search,options:i}},deleteNote(e,r,t={}){if(e==null)throw new h("tenancyOrderNoteId","Required parameter tenancyOrderNoteId was null or undefined when calling deleteNote.");if(r==null)throw new h("tenancyOrderId","Required parameter tenancyOrderId was null or undefined when calling deleteNote.");const s="/v2/tenancy-orders/{tenancyOrderId}/notes/{tenancyOrderNoteId}".replace("{tenancyOrderNoteId}",encodeURIComponent(String(e))).replace("{tenancyOrderId}",encodeURIComponent(String(r))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"DELETE",...o,...t},l={};return Object.entries({...{},...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},{url:n.pathname+n.search,options:i}}}},Tr=function(a){return{createTenancyOrderNote(e,r,t){const s=Sr(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=Sr(a).deleteNote(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}}}},kp=function(a,e,r){return{createTenancyOrderNote(t,s,n){return Tr(a).createTenancyOrderNote(t,s,n)(r,e)},deleteNote(t,s,n){return Tr(a).deleteNote(t,s,n)(r,e)}}};class Qp extends R{createTenancyOrderNote(e,r,t){return Tr(this.configuration).createTenancyOrderNote(e,r,t)(this.axios,this.basePath)}deleteNote(e,r,t){return Tr(this.configuration).deleteNote(e,r,t)(this.axios,this.basePath)}}async function Yp(a,e,r,t=p,s=u,n){const o=Sr(r).createTenancyOrderNote(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function zp(a,e,r,t=p,s=u,n){const o=Sr(r).deleteNote(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}const J=function(a){return{getTenancyOrderById(e,r,t={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling getTenancyOrderById.");const s="/v2/tenancy-orders/{id}".replace("{id}",encodeURIComponent(String(e))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"GET",...o,...t},l={},d={};return r!==void 0&&(d.includeDeleted=r),Object.entries({...d,...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},{url:n.pathname+n.search,options:i}},optimisedSearch(e,r,t,s,n,o,i,l,d,c,m,A,I={}){if(e==null)throw new h("organizationId","Required parameter organizationId was null or undefined when calling optimisedSearch.");if(r==null)throw new h("page","Required parameter page was null or undefined when calling optimisedSearch.");if(t==null)throw new h("size","Required parameter size was null or undefined when calling optimisedSearch.");if(s==null)throw new h("includeDeleted","Required parameter includeDeleted was null or undefined when calling optimisedSearch.");if(n==null)throw new h("onlyDeleted","Required parameter onlyDeleted was null or undefined when calling optimisedSearch.");const P="/v2/tenancy-orders/optimised-search",q=new URL(P,"http://placeholder");let j;a&&(j=a.baseOptions);const Je={method:"GET",...j,...I},Ot={},M={};return o!==void 0&&(M.query=o),e!==void 0&&(M.organizationId=e),i!==void 0&&(M.orderStatus=i),l!==void 0&&(M.tenancyStatus=l),d!==void 0&&(M.sortBy=d),c!==void 0&&(M.sortDirection=c),r!==void 0&&(M.page=r),t!==void 0&&(M.size=t),s!==void 0&&(M.includeDeleted=s),n!==void 0&&(M.onlyDeleted=n),m!==void 0&&(M.letOnly=m),A!==void 0&&(M.isNewTenancy=A),Object.entries({...M,...I.query}).forEach(([$s,ft])=>{ft!==void 0&&q.searchParams.set($s,String(ft))}),Je.headers={...Ot,...I.headers},{url:q.pathname+q.search,options:Je}},removeTenancyOrderById(e,r,t={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling removeTenancyOrderById.");if(r==null)throw new h("removeTenancyOrderDTO","Required parameter removeTenancyOrderDTO was null or undefined when calling removeTenancyOrderById.");const s="/v2/tenancy-orders/{id}".replace("{id}",encodeURIComponent(String(e))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"DELETE",...o,...t},l={},d={};return l["Content-Type"]="application/json",Object.entries({...d,...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:n.pathname+n.search,options:i}},reopenTenancyOrder(e,r,t={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling reopenTenancyOrder.");if(r==null)throw new h("reopenRepositDTO","Required parameter reopenRepositDTO was null or undefined when calling reopenTenancyOrder.");const s="/v2/tenancy-orders/{id}/reopen".replace("{id}",encodeURIComponent(String(e))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"POST",...o,...t},l={},d={};return l["Content-Type"]="application/json",Object.entries({...d,...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:n.pathname+n.search,options:i}},sendOverdueChasers(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling sendOverdueChasers.");const t="/v2/tenancy-orders/{id}/send-overdue-chasers".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"POST",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},transferTenancyOrderToOrganization(e,r,t={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling transferTenancyOrderToOrganization.");if(r==null)throw new h("transferTenancyOrderDTO","Required parameter transferTenancyOrderDTO was null or undefined when calling transferTenancyOrderToOrganization.");const s="/v2/tenancy-orders/{id}/transfer".replace("{id}",encodeURIComponent(String(e))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"POST",...o,...t},l={},d={};return l["Content-Type"]="application/json",Object.entries({...d,...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:n.pathname+n.search,options:i}}}},K=function(a){return{getTenancyOrderById(e,r,t){const s=J(a).getTenancyOrderById(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},optimisedSearch(e,r,t,s,n,o,i,l,d,c,m,A,I){const P=J(a).optimisedSearch(e,r,t,s,n,o,i,l,d,c,m,A,I);return(q=p,j=u)=>{const Je={...P.options,url:j+P.url};return q.request(Je)}},removeTenancyOrderById(e,r,t){const s=J(a).removeTenancyOrderById(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},reopenTenancyOrder(e,r,t){const s=J(a).reopenTenancyOrder(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},sendOverdueChasers(e,r){const t=J(a).sendOverdueChasers(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},transferTenancyOrderToOrganization(e,r,t){const s=J(a).transferTenancyOrderToOrganization(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}}}},$p=function(a,e,r){return{getTenancyOrderById(t,s,n){return K(a).getTenancyOrderById(t,s,n)(r,e)},optimisedSearch(t,s,n,o,i,l,d,c,m,A,I,P,q){return K(a).optimisedSearch(t,s,n,o,i,l,d,c,m,A,I,P,q)(r,e)},removeTenancyOrderById(t,s,n){return K(a).removeTenancyOrderById(t,s,n)(r,e)},reopenTenancyOrder(t,s,n){return K(a).reopenTenancyOrder(t,s,n)(r,e)},sendOverdueChasers(t,s){return K(a).sendOverdueChasers(t,s)(r,e)},transferTenancyOrderToOrganization(t,s,n){return K(a).transferTenancyOrderToOrganization(t,s,n)(r,e)}}};class Wp extends R{getTenancyOrderById(e,r,t){return K(this.configuration).getTenancyOrderById(e,r,t)(this.axios,this.basePath)}optimisedSearch(e,r,t,s,n,o,i,l,d,c,m,A,I){return K(this.configuration).optimisedSearch(e,r,t,s,n,o,i,l,d,c,m,A,I)(this.axios,this.basePath)}removeTenancyOrderById(e,r,t){return K(this.configuration).removeTenancyOrderById(e,r,t)(this.axios,this.basePath)}reopenTenancyOrder(e,r,t){return K(this.configuration).reopenTenancyOrder(e,r,t)(this.axios,this.basePath)}sendOverdueChasers(e,r){return K(this.configuration).sendOverdueChasers(e,r)(this.axios,this.basePath)}transferTenancyOrderToOrganization(e,r,t){return K(this.configuration).transferTenancyOrderToOrganization(e,r,t)(this.axios,this.basePath)}}async function Jp(a,e,r,t=p,s=u,n){const o=J(r).getTenancyOrderById(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function Kp(a,e,r,t,s,n,o,i,l,d,c,m,A,I=p,P=u,q){const j=J(A).optimisedSearch(a,e,r,t,s,n,o,i,l,d,c,m,q),Je={...j.options,url:P+j.url};return(await I.request(Je)).data}async function Xp(a,e,r,t=p,s=u,n){const o=J(r).removeTenancyOrderById(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function Zp(a,e,r,t=p,s=u,n){const o=J(r).reopenTenancyOrder(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function eh(a,e,r=p,t=u,s){const n=J(e).sendOverdueChasers(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function rh(a,e,r,t=p,s=u,n){const o=J(r).transferTenancyOrderToOrganization(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}const 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(([m,A])=>{A!==void 0&&o.searchParams.set(m,String(A))}),l.headers={...d,...s.headers},l.data=JSON.stringify(t!==void 0?t:{}),{url:o.pathname+o.search,options:l}},deleteGuarantor(e,r,t={}){if(e==null)throw new h("tenancyUserId","Required parameter tenancyUserId was null or undefined when calling deleteGuarantor.");if(r==null)throw new h("tenancyId","Required parameter tenancyId was null or undefined when calling deleteGuarantor.");const s="/v2/tenancies/{tenancyId}/tenancyUsers/{tenancyUserId}/guarantor".replace("{tenancyUserId}",encodeURIComponent(String(e))).replace("{tenancyId}",encodeURIComponent(String(r))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"DELETE",...o,...t},l={};return Object.entries({...{},...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},{url:n.pathname+n.search,options:i}},sendReminderEmail(e,r,t={}){if(e==null)throw new h("tenancyUserId","Required parameter tenancyUserId was null or undefined when calling sendReminderEmail.");if(r==null)throw new h("tenancyId","Required parameter tenancyId was null or undefined when calling sendReminderEmail.");const s="/v2/tenancies/{tenancyId}/tenancyUsers/{tenancyUserId}/sendReminderEmail".replace("{tenancyUserId}",encodeURIComponent(String(e))).replace("{tenancyId}",encodeURIComponent(String(r))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"POST",...o,...t},l={};return Object.entries({...{},...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},{url:n.pathname+n.search,options:i}},updateGuarantor(e,r,t,s={}){if(e==null)throw new h("tenancyUserId","Required parameter tenancyUserId was null or undefined when calling updateGuarantor.");if(r==null)throw new h("tenancyId","Required parameter tenancyId was null or undefined when calling updateGuarantor.");if(t==null)throw new h("createGuarantorDTO","Required parameter createGuarantorDTO was null or undefined when calling updateGuarantor.");const n="/v2/tenancies/{tenancyId}/tenancyUsers/{tenancyUserId}/guarantor".replace("{tenancyUserId}",encodeURIComponent(String(e))).replace("{tenancyId}",encodeURIComponent(String(r))),o=new URL(n,"http://placeholder");let i;a&&(i=a.baseOptions);const l={method:"PUT",...i,...s},d={},c={};return d["Content-Type"]="application/json",Object.entries({...c,...s.query}).forEach(([m,A])=>{A!==void 0&&o.searchParams.set(m,String(A))}),l.headers={...d,...s.headers},l.data=JSON.stringify(t!==void 0?t:{}),{url:o.pathname+o.search,options:l}}}},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)}}}},th=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 ah 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 sh(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 nh(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 oh(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 ih(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 Nr=function(a){return{addTenant(e,r,t={}){if(e==null)throw new h("tenancyId","Required parameter tenancyId was null or undefined when calling addTenant.");if(r==null)throw new h("addTenantRequestDTO","Required parameter addTenantRequestDTO was null or undefined when calling addTenant.");const s="/v2/tenancies/{tenancyId}/tenants".replace("{tenancyId}",encodeURIComponent(String(e))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"POST",...o,...t},l={},d={};return l["Content-Type"]="application/json",Object.entries({...d,...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:n.pathname+n.search,options:i}},deleteById(e,r,t={}){if(e==null)throw new h("tenantId","Required parameter tenantId was null or undefined when calling deleteById.");if(r==null)throw new h("tenancyId","Required parameter tenancyId was null or undefined when calling deleteById.");const s="/v2/tenancies/{tenancyId}/tenants/{tenantId}".replace("{tenantId}",encodeURIComponent(String(e))).replace("{tenancyId}",encodeURIComponent(String(r))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"DELETE",...o,...t},l={};return Object.entries({...{},...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},{url:n.pathname+n.search,options:i}}}},xr=function(a){return{addTenant(e,r,t){const s=Nr(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=Nr(a).deleteById(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}}}},lh=function(a,e,r){return{addTenant(t,s,n){return xr(a).addTenant(t,s,n)(r,e)},deleteById(t,s,n){return xr(a).deleteById(t,s,n)(r,e)}}};class ch extends R{addTenant(e,r,t){return xr(this.configuration).addTenant(e,r,t)(this.axios,this.basePath)}deleteById(e,r,t){return xr(this.configuration).deleteById(e,r,t)(this.axios,this.basePath)}}async function dh(a,e,r,t=p,s=u,n){const o=Nr(r).addTenant(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function uh(a,e,r,t=p,s=u,n){const o=Nr(r).deleteById(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}const Ur=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}}}},Dr=function(a){return{getSupplierTerms(e){const r=Ur(a).getSupplierTerms(e);return(t=p,s=u)=>{const n={...r.options,url:s+r.url};return t.request(n)}},getTenantTerms(e){const r=Ur(a).getTenantTerms(e);return(t=p,s=u)=>{const n={...r.options,url:s+r.url};return t.request(n)}}}},ph=function(a,e,r){return{getSupplierTerms(t){return Dr(a).getSupplierTerms(t)(r,e)},getTenantTerms(t){return Dr(a).getTenantTerms(t)(r,e)}}};class hh extends R{getSupplierTerms(e){return Dr(this.configuration).getSupplierTerms(e)(this.axios,this.basePath)}getTenantTerms(e){return Dr(this.configuration).getTenantTerms(e)(this.axios,this.basePath)}}async function mh(a,e=p,r=u,t){const s=Ur(a).getSupplierTerms(t),n={...s.options,url:r+s.url};return(await e.request(n)).data}async function Ah(a,e=p,r=u,t){const s=Ur(a).getTenantTerms(t),n={...s.options,url:r+s.url};return(await e.request(n)).data}const y=function(a){return{completeOnboardingIntroduction(e={}){const r="/v2/users/me/complete-onboarding-introduction",t=new URL(r,"http://placeholder");let s;a&&(s=a.baseOptions);const n={method:"POST",...s,...e},o={};return Object.entries({...{},...e.query}).forEach(([l,d])=>{d!==void 0&&t.searchParams.set(l,String(d))}),n.headers={...o,...e.headers},{url:t.pathname+t.search,options:n}},createOneTimeSessionToken(e={}){const r="/v2/users/me/one-time-session-token",t=new URL(r,"http://placeholder");let s;a&&(s=a.baseOptions);const n={method:"POST",...s,...e},o={};return Object.entries({...{},...e.query}).forEach(([l,d])=>{d!==void 0&&t.searchParams.set(l,String(d))}),n.headers={...o,...e.headers},{url:t.pathname+t.search,options:n}},dismissNewProductUpdates(e={}){const r="/v2/users/me/dismiss-new-product-updates",t=new URL(r,"http://placeholder");let s;a&&(s=a.baseOptions);const n={method:"POST",...s,...e},o={};return Object.entries({...{},...e.query}).forEach(([l,d])=>{d!==void 0&&t.searchParams.set(l,String(d))}),n.headers={...o,...e.headers},{url:t.pathname+t.search,options:n}},dismissUserMessage(e,r={}){if(e==null)throw new h("messageId","Required parameter messageId was null or undefined when calling dismissUserMessage.");const t="/v2/users/me/messages/{messageId}/dismiss".replace("{messageId}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"POST",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},findOneByID(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling findOneByID.");const t="/v2/users/{id}".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},getCustomer(e={}){const r="/v2/users/me/customer",t=new URL(r,"http://placeholder");let s;a&&(s=a.baseOptions);const n={method:"GET",...s,...e},o={};return Object.entries({...{},...e.query}).forEach(([l,d])=>{d!==void 0&&t.searchParams.set(l,String(d))}),n.headers={...o,...e.headers},{url:t.pathname+t.search,options:n}},getOrganizationUsers(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling getOrganizationUsers.");const t="/v2/users/{id}/organizations".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},getTenancyOrdersByProductId(e,r={}){if(e==null)throw new h("productId","Required parameter productId was null or undefined when calling getTenancyOrdersByProductId.");const t="/v2/users/me/tenancy-orders",s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={},l={};return e!==void 0&&(l.productId=e),Object.entries({...l,...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},getUserAccount(e={}){const r="/v2/users/me/account",t=new URL(r,"http://placeholder");let s;a&&(s=a.baseOptions);const n={method:"GET",...s,...e},o={};return Object.entries({...{},...e.query}).forEach(([l,d])=>{d!==void 0&&t.searchParams.set(l,String(d))}),n.headers={...o,...e.headers},{url:t.pathname+t.search,options:n}},getUserTenancyAnniversaries(e={}){const r="/v2/users/me/tenancy-anniversaries",t=new URL(r,"http://placeholder");let s;a&&(s=a.baseOptions);const n={method:"GET",...s,...e},o={};return Object.entries({...{},...e.query}).forEach(([l,d])=>{d!==void 0&&t.searchParams.set(l,String(d))}),n.headers={...o,...e.headers},{url:t.pathname+t.search,options:n}},me(e={}){const r="/v2/users/me",t=new URL(r,"http://placeholder");let s;a&&(s=a.baseOptions);const n={method:"GET",...s,...e},o={};return Object.entries({...{},...e.query}).forEach(([l,d])=>{d!==void 0&&t.searchParams.set(l,String(d))}),n.headers={...o,...e.headers},{url:t.pathname+t.search,options:n}},resetUserPassword(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling resetUserPassword.");const t="/v2/users/{id}/reset-password".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"POST",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},searchUser(e,r,t,s,n,o={}){if(e==null)throw new h("userTypeId","Required parameter userTypeId was null or undefined when calling searchUser.");if(r==null)throw new h("page","Required parameter page was null or undefined when calling searchUser.");if(t==null)throw new h("size","Required parameter size was null or undefined when calling searchUser.");const i="/v2/users",l=new URL(i,"http://placeholder");let d;a&&(d=a.baseOptions);const c={method:"GET",...d,...o},m={},A={};return s!==void 0&&(A.query=s),e!==void 0&&(A.userTypeId=e),n!==void 0&&(A.sortBy=n),r!==void 0&&(A.page=r),t!==void 0&&(A.size=t),Object.entries({...A,...o.query}).forEach(([I,P])=>{P!==void 0&&l.searchParams.set(I,String(P))}),c.headers={...m,...o.headers},{url:l.pathname+l.search,options:c}},updateAboutMe(e,r={}){if(e==null)throw new h("updateUserAboutMeDTO","Required parameter updateUserAboutMeDTO was null or undefined when calling updateAboutMe.");const t="/v2/users/me/onboarding/about-me",s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"PATCH",...n,...r},i={},l={};return i["Content-Type"]="application/json",Object.entries({...l,...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},o.data=JSON.stringify(e!==void 0?e:{}),{url:s.pathname+s.search,options:o}},updateAddressHistory(e,r={}){if(e==null)throw new h("updateUserAddressHistoryDTO","Required parameter updateUserAddressHistoryDTO was null or undefined when calling updateAddressHistory.");const t="/v2/users/me/onboarding/address-history",s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"PATCH",...n,...r},i={},l={};return i["Content-Type"]="application/json",Object.entries({...l,...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},o.data=JSON.stringify(e!==void 0?e:{}),{url:s.pathname+s.search,options:o}},updateBetaEnabled(e,r={}){if(e==null)throw new h("updateBetaEnabledDTO","Required parameter updateBetaEnabledDTO was null or undefined when calling updateBetaEnabled.");const t="/v2/users/me/beta-enabled",s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"POST",...n,...r},i={},l={};return i["Content-Type"]="application/json",Object.entries({...l,...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},o.data=JSON.stringify(e!==void 0?e:{}),{url:s.pathname+s.search,options:o}},updateEmailSettings(e,r={}){if(e==null)throw new h("updateUserEmailSettingsDTO","Required parameter updateUserEmailSettingsDTO was null or undefined when calling updateEmailSettings.");const t="/v2/users/me/email-settings",s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"PATCH",...n,...r},i={},l={};return i["Content-Type"]="application/json",Object.entries({...l,...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},o.data=JSON.stringify(e!==void 0?e:{}),{url:s.pathname+s.search,options:o}},updateUser(e,r,t={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling updateUser.");if(r==null)throw new h("updateUserDTO","Required parameter updateUserDTO was null or undefined when calling updateUser.");const s="/v2/users/{id}".replace("{id}",encodeURIComponent(String(e))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"PATCH",...o,...t},l={},d={};return l["Content-Type"]="application/json",Object.entries({...d,...t.query}).forEach(([c,m])=>{m!==void 0&&n.searchParams.set(c,String(m))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:n.pathname+n.search,options:i}}}},E=function(a){return{completeOnboardingIntroduction(e){const r=y(a).completeOnboardingIntroduction(e);return(t=p,s=u)=>{const n={...r.options,url:s+r.url};return t.request(n)}},createOneTimeSessionToken(e){const r=y(a).createOneTimeSessionToken(e);return(t=p,s=u)=>{const n={...r.options,url:s+r.url};return t.request(n)}},dismissNewProductUpdates(e){const r=y(a).dismissNewProductUpdates(e);return(t=p,s=u)=>{const n={...r.options,url:s+r.url};return t.request(n)}},dismissUserMessage(e,r){const t=y(a).dismissUserMessage(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},findOneByID(e,r){const t=y(a).findOneByID(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},getCustomer(e){const r=y(a).getCustomer(e);return(t=p,s=u)=>{const n={...r.options,url:s+r.url};return t.request(n)}},getOrganizationUsers(e,r){const t=y(a).getOrganizationUsers(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},getTenancyOrdersByProductId(e,r){const t=y(a).getTenancyOrdersByProductId(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},getUserAccount(e){const r=y(a).getUserAccount(e);return(t=p,s=u)=>{const n={...r.options,url:s+r.url};return t.request(n)}},getUserTenancyAnniversaries(e){const r=y(a).getUserTenancyAnniversaries(e);return(t=p,s=u)=>{const n={...r.options,url:s+r.url};return t.request(n)}},me(e){const r=y(a).me(e);return(t=p,s=u)=>{const n={...r.options,url:s+r.url};return t.request(n)}},resetUserPassword(e,r){const t=y(a).resetUserPassword(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},searchUser(e,r,t,s,n,o){const i=y(a).searchUser(e,r,t,s,n,o);return(l=p,d=u)=>{const c={...i.options,url:d+i.url};return l.request(c)}},updateAboutMe(e,r){const t=y(a).updateAboutMe(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},updateAddressHistory(e,r){const t=y(a).updateAddressHistory(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},updateBetaEnabled(e,r){const t=y(a).updateBetaEnabled(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},updateEmailSettings(e,r){const t=y(a).updateEmailSettings(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},updateUser(e,r,t){const s=y(a).updateUser(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}}}},Rh=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 Ih 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 Ph(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 gh(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 wh(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 Oh(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 fh(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 yh(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 Eh(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 Ch(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 Vh(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 qh(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 _h(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 vh(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 bh(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 Sh(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 Th(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 Nh(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 xh(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 Uh(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 gt=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}}}},wt=function(a){return{updateIntegrationWebhookUrl(e,r){const t=gt(a).updateIntegrationWebhookUrl(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}}}},Dh=function(a,e,r){return{updateIntegrationWebhookUrl(t,s){return wt(a).updateIntegrationWebhookUrl(t,s)(r,e)}}};class Lh extends R{updateIntegrationWebhookUrl(e,r){return wt(this.configuration).updateIntegrationWebhookUrl(e,r)(this.axios,this.basePath)}}async function Bh(a,e,r=p,t=u,s){const n=gt(e).updateIntegrationWebhookUrl(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}var yt=(a=>(a.NONREFUNDABLEFEE="NON_REFUNDABLE_FEE",a.TOOEXPENSIVE="TOO_EXPENSIVE",a.DONTUNDERSTAND="DONT_UNDERSTAND",a.FAILEDREFERENCING="FAILED_REFERENCING",a.OTHER="OTHER",a))(yt||{}),Et=(a=>(a.DRAFT="DRAFT",a.PUBLISHED="PUBLISHED",a))(Et||{}),Ct=(a=>(a.DRAFT="DRAFT",a.IMPORTING="IMPORTING",a.PROCESSING="PROCESSING",a.COMPLETED="COMPLETED",a.FAILED="FAILED",a))(Ct||{}),Vt=(a=>(a.IDENTITY="IDENTITY",a.CREDIT="CREDIT",a))(Vt||{}),qt=(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))(qt||{}),_t=(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))(_t||{}),vt=(a=>(a.DRAFT="DRAFT",a.AWAITINGREVIEW="AWAITING_REVIEW",a.DEACTIVATED="DEACTIVATED",a.AWAITINGRESPONDENTS="AWAITING_RESPONDENTS",a.MEDIATION="MEDIATION",a.AWAITINGARBITRATIONADMINFEE="AWAITING_ARBITRATION_ADMIN_FEE",a.AWAITINGARBITRATION="AWAITING_ARBITRATION",a.ARBITRATED="ARBITRATED",a.RESOLVED="RESOLVED",a.AWAITINGSUBSTANTIATION="AWAITING_SUBSTANTIATION",a.AWAITINGEVIDENCEREVIEW="AWAITING_EVIDENCE_REVIEW",a.EVIDENCEREVIEW="EVIDENCE_REVIEW",a.AWAITINGADDITIONALINFORMATION="AWAITING_ADDITIONAL_INFORMATION",a.DECLINED="DECLINED",a.AWAITINGPAYOUT="AWAITING_PAYOUT",a.ARBITRATION="ARBITRATION",a.INSURANCECLAIM="INSURANCE_CLAIM",a))(vt||{}),bt=(a=>(a.Deletion="deletion",a.Reduction="reduction",a))(bt||{}),St=(a=>(a.DAMAGE="DAMAGE",a.CLEANING="CLEANING",a.RENTARREARS="RENT_ARREARS",a.ITEMREMOVAL="ITEM_REMOVAL",a.OTHER="OTHER",a))(St||{}),Tt=(a=>(a.SUPPLIER="SUPPLIER",a.TENANT="TENANT",a))(Tt||{}),Nt=(a=>(a.SUPPLIER="SUPPLIER",a.TENANT="TENANT",a))(Nt||{}),xt=(a=>(a.DRAFT="DRAFT",a.AWAITINGRESPONSE="AWAITING_RESPONSE",a.AWAITINGPAYMENT="AWAITING_PAYMENT",a.SETTLED="SETTLED",a.COUNTERED="COUNTERED",a.DISPUTED="DISPUTED",a))(xt||{}),Ut=(a=>(a.INITIAL="INITIAL",a.INTERMEDIATE="INTERMEDIATE",a.FINAL="FINAL",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.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))(Lt||{}),Bt=(a=>(a.GBR="GBR",a))(Bt||{}),Ft=(a=>(a.DAMAGE="DAMAGE",a.CLEANING="CLEANING",a.RENTARREARS="RENT_ARREARS",a.ITEMREMOVAL="ITEM_REMOVAL",a.OTHER="OTHER",a))(Ft||{}),jt=(a=>(a.SIGNEDTENANCYAGREEMENT="SIGNED_TENANCY_AGREEMENT",a.INVENTORYCHECKIN="INVENTORY_CHECK_IN",a.INVENTORYCHECKOUT="INVENTORY_CHECK_OUT",a.ADDITIONALEVIDENCE="ADDITIONAL_EVIDENCE",a.PROOFTENANTCOMMUNICATION="PROOF_TENANT_COMMUNICATION",a.MIDTERMINSPECTION="MID_TERM_INSPECTION",a.REFERENCING="REFERENCING",a.GUARANTORCONTACT="GUARANTOR_CONTACT",a.SUPPORTINGEVIDENCE="SUPPORTING_EVIDENCE",a.TENANTEVIDENCE="TENANT_EVIDENCE",a.CLAIMITEM="CLAIM_ITEM",a.PROOFOFIDENTITY="PROOF_OF_IDENTITY",a.PROOFOFADDRESS="PROOF_OF_ADDRESS",a.CLAIMRESPONSE="CLAIM_RESPONSE",a.POLICY="POLICY",a.KPIDAILYOUTPUT="KPI_DAILY_OUTPUT",a.ARBITRATIONSUMMARY="ARBITRATION_SUMMARY",a.DOCUSIGN="DOCUSIGN",a.CLAIMARCHIVE="CLAIM_ARCHIVE",a.SIGNEDADDENDUM="SIGNED_ADDENDUM",a.SIGNEDTENANTTERMSANDCONDITIONS="SIGNED_TENANT_TERMS_AND_CONDITIONS",a.DAILYSTRIPERECONCILIATION="DAILY_STRIPE_RECONCILIATION",a))(jt||{}),Mt=(a=>(a.AGREED="AGREED",a.REJECTED="REJECTED",a))(Mt||{}),Ht=(a=>(a.SIGNEDTENANCYAGREEMENT="SIGNED_TENANCY_AGREEMENT",a.INVENTORYCHECKIN="INVENTORY_CHECK_IN",a.INVENTORYCHECKOUT="INVENTORY_CHECK_OUT",a.ADDITIONALEVIDENCE="ADDITIONAL_EVIDENCE",a.PROOFTENANTCOMMUNICATION="PROOF_TENANT_COMMUNICATION",a.MIDTERMINSPECTION="MID_TERM_INSPECTION",a.REFERENCING="REFERENCING",a.GUARANTORCONTACT="GUARANTOR_CONTACT",a.SUPPORTINGEVIDENCE="SUPPORTING_EVIDENCE",a.TENANTEVIDENCE="TENANT_EVIDENCE",a.CLAIMITEM="CLAIM_ITEM",a.PROOFOFIDENTITY="PROOF_OF_IDENTITY",a.PROOFOFADDRESS="PROOF_OF_ADDRESS",a.CLAIMRESPONSE="CLAIM_RESPONSE",a.POLICY="POLICY",a.KPIDAILYOUTPUT="KPI_DAILY_OUTPUT",a.ARBITRATIONSUMMARY="ARBITRATION_SUMMARY",a.DOCUSIGN="DOCUSIGN",a.CLAIMARCHIVE="CLAIM_ARCHIVE",a.SIGNEDADDENDUM="SIGNED_ADDENDUM",a.SIGNEDTENANTTERMSANDCONDITIONS="SIGNED_TENANT_TERMS_AND_CONDITIONS",a.DAILYSTRIPERECONCILIATION="DAILY_STRIPE_RECONCILIATION",a))(Ht||{}),Gt=(a=>(a.SIGNEDTENANCYAGREEMENT="SIGNED_TENANCY_AGREEMENT",a.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))(Gt||{}),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||{}),Qt=(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))(Qt||{}),Yt=(a=>(a.AGREED="AGREED",a.REJECTED="REJECTED",a.MISSING="MISSING",a))(Yt||{}),zt=(a=>(a.PROPERTY="PROPERTY",a))(zt||{}),$t=(a=>(a.COMPANY="COMPANY",a.SOLEPERSON="SOLE_PERSON",a))($t||{}),Wt=(a=>(a.COMPANY="COMPANY",a.SOLEPERSON="SOLE_PERSON",a))(Wt||{}),Jt=(a=>(a.COMPANY="COMPANY",a.SOLEPERSON="SOLE_PERSON",a))(Jt||{}),Kt=(a=>(a.REPOSITPUBLISHED="REPOSIT_PUBLISHED",a.CLAIMPUBLISHED="CLAIM_PUBLISHED",a))(Kt||{}),Xt=(a=>(a.REPOSIT="REPOSIT",a.CLAIM="CLAIM",a.CLAIMPROPOSAL="CLAIM_PROPOSAL",a.ARBITRATION="ARBITRATION",a.TOPUP="TOP_UP",a.ARBITRATIONADMINFEE="ARBITRATION_ADMIN_FEE",a))(Xt||{}),Zt=(a=>(a.DEFAULT="DEFAULT",a.CLAIM="CLAIM",a.CASHDEPOSITSCHEME="CASH_DEPOSIT_SCHEME",a))(Zt||{}),ea=(a=>(a.AGENCY="AGENCY",a.BUILDTORENT="BUILD_TO_RENT",a.PRIVATE="PRIVATE",a.INTEGRATORREFERRAL="INTEGRATOR_REFERRAL",a))(ea||{}),ra=(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))(ra||{}),ta=(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))(ta||{}),aa=(a=>(a.DIRECT="DIRECT",a.INITIAL="INITIAL",a.ADMIN="ADMIN",a))(aa||{}),sa=(a=>(a.TENTHOUSANDPOUNDS="TEN_THOUSAND_POUNDS",a.FIVETHOUSANDPOUNDS="FIVE_THOUSAND_POUNDS",a))(sa||{}),na=(a=>(a.IDENTITY="IDENTITY",a.CREDIT="CREDIT",a))(na||{}),oa=(a=>(a.TENANT="TENANT",a))(oa||{}),ia=(a=>(a.FIXED="FIXED",a.PERIODIC="PERIODIC",a))(ia||{}),la=(a=>(a.MANAGETEAM="MANAGE_TEAM",a.NOTIFICATIONS="NOTIFICATIONS",a.BANKACCOUNTS="BANK_ACCOUNTS",a.ONBOARDING="ONBOARDING",a))(la||{}),ca=(a=>(a.MANAGETEAM="MANAGE_TEAM",a.NOTIFICATIONS="NOTIFICATIONS",a.BANKACCOUNTS="BANK_ACCOUNTS",a.ONBOARDING="ONBOARDING",a))(ca||{}),da=(a=>(a.PENDING="PENDING",a.OPENBANKINGTRANSFERSUCCESS="OPEN_BANKING_TRANSFER_SUCCESS",a.CANCELLED="CANCELLED",a.PARTIALLYPAID="PARTIALLY_PAID",a.PAID="PAID",a))(da||{}),ua=(a=>(a.AUTOACCEPTED="AUTO_ACCEPTED",a.PREADR="PRE_ADR",a.POSTADR="POST_ADR",a))(ua||{}),pa=(a=>(a.PENDING="PENDING",a.RESOLVED="RESOLVED",a.EXPIRED="EXPIRED",a))(pa||{}),ha=(a=>(a.PENDING="PENDING",a.AGREED="AGREED",a))(ha||{}),ma=(a=>(a.AGREED="AGREED",a.REJECTED="REJECTED",a))(ma||{}),Aa=(a=>(a.PENDING="PENDING",a.AGREED="AGREED",a.MISSING="MISSING",a))(Aa||{}),Ra=(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))(Ra||{}),Ia=(a=>(a.DRAFT="DRAFT",a.PUBLISHED="PUBLISHED",a))(Ia||{}),Pa=(a=>(a.DRAFT="DRAFT",a.PUBLISHED="PUBLISHED",a))(Pa||{}),ga=(a=>(a.AGREED="AGREED",a.REJECTED="REJECTED",a.MISSING="MISSING",a))(ga||{}),wa=(a=>(a.DRAFT="DRAFT",a.PUBLISHED="PUBLISHED",a))(wa||{}),Oa=(a=>(a.DRAFT="DRAFT",a.AWAITINGRESPONSE="AWAITING_RESPONSE",a.AWAITINGREVIEW="AWAITING_REVIEW",a.AGREED="AGREED",a.REJECTED="REJECTED",a.EXPIRED="EXPIRED",a))(Oa||{}),fa=(a=>(a.AWAITINGDECISION="AWAITING_DECISION",a.ACCEPTED="ACCEPTED",a.REJECTED="REJECTED",a))(fa||{}),ya=(a=>(a.SALES="SALES",a))(ya||{}),Ea=(a=>(a.COMPANY="COMPANY",a.SOLEPERSON="SOLE_PERSON",a))(Ea||{}),Ca=(a=>(a.NOTCONNECTED="NOT_CONNECTED",a.CONNECTED="CONNECTED",a.COMPLETE="COMPLETE",a))(Ca||{}),Va=(a=>(a.AGENT="AGENT",a.LANDLORD="LANDLORD",a.CORPORATELANDLORD="CORPORATE_LANDLORD",a))(Va||{}),qa=(a=>(a.REPOSITPUBLISHED="REPOSIT_PUBLISHED",a.CLAIMPUBLISHED="CLAIM_PUBLISHED",a))(qa||{}),_a=(a=>(a.PROMOTER="PROMOTER",a.DETRACTOR="DETRACTOR",a.PASSIVE="PASSIVE",a))(_a||{}),va=(a=>(a.PASSED="PASSED",a.FAILED="FAILED",a))(va||{}),ba=(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))(ba||{}),Sa=(a=>(a.REPOSIT="REPOSIT",a.CLAIM="CLAIM",a.CLAIMPROPOSAL="CLAIM_PROPOSAL",a.ARBITRATION="ARBITRATION",a.TOPUP="TOP_UP",a.ARBITRATIONADMINFEE="ARBITRATION_ADMIN_FEE",a))(Sa||{}),Ta=(a=>(a.DRAFT="DRAFT",a.PENDING="PENDING",a.COMPLETE="COMPLETE",a.CANCELLED="CANCELLED",a.REFUNDED="REFUNDED",a))(Ta||{}),Na=(a=>(a.MANUAL="MANUAL",a.AUTOMATIC="AUTOMATIC",a))(Na||{}),xa=(a=>(a.REPOSIT="REPOSIT",a.CLAIM="CLAIM",a.CLAIMPROPOSAL="CLAIM_PROPOSAL",a.ARBITRATION="ARBITRATION",a.TOPUP="TOP_UP",a.ARBITRATIONADMINFEE="ARBITRATION_ADMIN_FEE",a))(xa||{}),Ua=(a=>(a.DRAFT="DRAFT",a.PENDING="PENDING",a.COMPLETE="COMPLETE",a.CANCELLED="CANCELLED",a.REFUNDED="REFUNDED",a))(Ua||{}),Da=(a=>(a.MANUAL="MANUAL",a.AUTOMATIC="AUTOMATIC",a))(Da||{}),La=(a=>(a.STANDARD="STANDARD",a.BUILDTORENT="BUILD_TO_RENT",a))(La||{}),Ba=(a=>(a.DEFAULT="DEFAULT",a.CLAIM="CLAIM",a.CASHDEPOSITSCHEME="CASH_DEPOSIT_SCHEME",a))(Ba||{}),Fa=(a=>(a.AGENCY="AGENCY",a.BUILDTORENT="BUILD_TO_RENT",a.PRIVATE="PRIVATE",a.INTEGRATORREFERRAL="INTEGRATOR_REFERRAL",a))(Fa||{}),ja=(a=>(a.SALES="SALES",a))(ja||{}),Ma=(a=>(a.DIRECT="DIRECT",a.INITIAL="INITIAL",a.ADMIN="ADMIN",a))(Ma||{}),Ha=(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))(Ha||{}),Ga=(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))(Ga||{}),ka=(a=>(a.TENTHOUSANDPOUNDS="TEN_THOUSAND_POUNDS",a.FIVETHOUSANDPOUNDS="FIVE_THOUSAND_POUNDS",a))(ka||{}),Qa=(a=>(a.MANAGETEAM="MANAGE_TEAM",a.NOTIFICATIONS="NOTIFICATIONS",a.BANKACCOUNTS="BANK_ACCOUNTS",a.ONBOARDING="ONBOARDING",a))(Qa||{}),Ya=(a=>(a.PRIMARY="PRIMARY",a.SECONDARY="SECONDARY",a))(Ya||{}),za=(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))(za||{}),$a=(a=>(a.AGENCY="AGENCY",a.BUILDTORENT="BUILD_TO_RENT",a.PRIVATE="PRIVATE",a.INTEGRATORREFERRAL="INTEGRATOR_REFERRAL",a))($a||{}),Wa=(a=>(a.AGENCY="AGENCY",a.BUILDTORENT="BUILD_TO_RENT",a.PRIVATE="PRIVATE",a.INTEGRATORREFERRAL="INTEGRATOR_REFERRAL",a))(Wa||{}),Ja=(a=>(a.MANAGETEAM="MANAGE_TEAM",a.NOTIFICATIONS="NOTIFICATIONS",a.BANKACCOUNTS="BANK_ACCOUNTS",a.ONBOARDING="ONBOARDING",a))(Ja||{}),Ka=(a=>(a.AGENCY="AGENCY",a.BUILDTORENT="BUILD_TO_RENT",a.PRIVATE="PRIVATE",a.INTEGRATORREFERRAL="INTEGRATOR_REFERRAL",a))(Ka||{}),Xa=(a=>(a.MANAGETEAM="MANAGE_TEAM",a.NOTIFICATIONS="NOTIFICATIONS",a.BANKACCOUNTS="BANK_ACCOUNTS",a.ONBOARDING="ONBOARDING",a))(Xa||{}),Za=(a=>(a.PENDING="PENDING",a.OPENBANKINGTRANSFERSUCCESS="OPEN_BANKING_TRANSFER_SUCCESS",a.CANCELLED="CANCELLED",a.PARTIALLYPAID="PARTIALLY_PAID",a.PAID="PAID",a))(Za||{}),es=(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))(es||{}),rs=(a=>(a.Pass="pass",a.Fail="fail",a.Unchecked="unchecked",a))(rs||{}),ts=(a=>(a.Pass="pass",a.Fail="fail",a.Unchecked="unchecked",a))(ts||{}),as=(a=>(a.Pass="pass",a.Fail="fail",a.Unchecked="unchecked",a))(as||{}),ss=(a=>(a.Pass="pass",a.Fail="fail",a.Unchecked="unchecked",a))(ss||{}),ns=(a=>(a.CONFIRM="CONFIRM",a.ADDRESS="ADDRESS",a.CARDDETAILS="CARD_DETAILS",a))(ns||{}),os=(a=>(a.MONTHLY="MONTHLY",a))(os||{}),is=(a=>(a.ACTIVE="ACTIVE",a.PENDING="PENDING",a.DEFAULT="DEFAULT",a.COMPLETE="COMPLETE",a.CLOSED="CLOSED",a.CANCELLED="CANCELLED",a))(is||{}),ls=(a=>(a.PENDING="PENDING",a.PAID="PAID",a.FAILED="FAILED",a.CANCELLED="CANCELLED",a))(ls||{}),cs=(a=>(a.LINK="LINK",a.PAYMENTINITIATION="PAYMENT_INITIATION",a))(cs||{}),ds=(a=>(a.SESSIONFINISHED="SESSION_FINISHED",a.PAYMENTSTATUSUPDATE="PAYMENT_STATUS_UPDATE",a))(ds||{}),us=(a=>(a.SUCCESS="SUCCESS",a.EXITED="EXITED",a))(us||{}),ps=(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))(ps||{}),hs=(a=>(a.DRAFT="DRAFT",a.SUBMITTED="SUBMITTED",a.ISSUED="ISSUED",a.CLOSED="CLOSED",a.DEACTIVATED="DEACTIVATED",a.UNKNOWN="UNKNOWN",a))(hs||{}),ms=(a=>(a.NEWTENANCY="NEW_TENANCY",a.EXISTINGTENANCY="EXISTING_TENANCY",a))(ms||{}),As=(a=>(a.CREATETOPUP="CREATE_TOP_UP",a.TOPUPREMINDER="TOP_UP_REMINDER",a.TOPUPUPCOMING="TOP_UP_UPCOMING",a.AUTOCHARGE="AUTO_CHARGE",a.SCHEDULEDAUTOCHARGE="SCHEDULED_AUTO_CHARGE",a.CHARGEORDERSCHEDULEDCHARGE="CHARGE_ORDER_SCHEDULED_CHARGE",a.AUTORESPONDTENANT="AUTO_RESPOND_TENANT",a.AUTORESPONDSUPPLIER="AUTO_RESPOND_SUPPLIER",a.PROCESSSTRIPECHARGESUCCEEDED="PROCESS_STRIPE_CHARGE_SUCCEEDED",a.PROCESSOFFSESSIONPAYMENTATTEMPTFAILED="PROCESS_OFF_SESSION_PAYMENT_ATTEMPT_FAILED",a.PROCESSOFFSESSIONPAYMENTSUCCEEDED="PROCESS_OFF_SESSION_PAYMENT_SUCCEEDED",a.PROCESSOFFSESSIONPAYMENTFAILED="PROCESS_OFF_SESSION_PAYMENT_FAILED",a.PROCESSSTRIPECHARGEFAILED="PROCESS_STRIPE_CHARGE_FAILED",a.PROCESSSTRIPECHARGEEXPIRED="PROCESS_STRIPE_CHARGE_EXPIRED",a.PROCESSSTRIPEDISPUTECREATED="PROCESS_STRIPE_DISPUTE_CREATED",a.PROCESSSTRIPEDISPUTECLOSED="PROCESS_STRIPE_DISPUTE_CLOSED",a.PROCESSEXPIRINGCUSTOMERSOURCE="PROCESS_EXPIRING_CUSTOMER_SOURCE",a.PROCESSSENDSLACKMESSAGE="PROCESS_SEND_SLACK_MESSAGE",a.PROCESSSTRIPEREFUNDCREATED="PROCESS_STRIPE_REFUND_CREATED",a.PAYMENTMETHODCARDAUTOMATICALLYUPDATED="PAYMENT_METHOD_CARD_AUTOMATICALLY_UPDATED",a.MONTHLYDIRECTCOMMISSIONFORORGANIZATION="MONTHLY_DIRECT_COMMISSION_FOR_ORGANIZATION",a.LANDLORDTRANSFERREMINDER="LANDLORD_TRANSFER_REMINDER",a.ZIPDOCUMENTSFORCLAIM="ZIP_DOCUMENTS_FOR_CLAIM",a.GENERATEADRFORM="GENERATE_ADR_FORM",a.REPOSITENDINGREMINDER="REPOSIT_ENDING_REMINDER",a.REPOSITCLOSINGREMINDER="REPOSIT_CLOSING_REMINDER",a.REPOSITENDED="REPOSIT_ENDED",a.REPOSITCLOSED="REPOSIT_CLOSED",a.PENDINGREPOSIT="PENDING_REPOSIT",a.REPOSITDEACTIVATE="REPOSIT_DEACTIVATE",a.OVERDUEARBITRATION="OVERDUE_ARBITRATION",a.CLAIMDEACTIVATE="CLAIM_DEACTIVATE",a.CLAIMDEACTIVATEREMINDER="CLAIM_DEACTIVATE_REMINDER",a.CLAIMTENANTREMINDER="CLAIM_TENANT_REMINDER",a.CLAIMSUPPLIERREMINDER="CLAIM_SUPPLIER_REMINDER",a.EVIDENCEREMINDER="EVIDENCE_REMINDER",a.ACCOUNTING="ACCOUNTING",a.CHARGEPAYMENTPLANINSTALMENT="CHARGE_PAYMENT_PLAN_INSTALMENT",a.PAYMENTPLANINSTALMENTREMINDER="PAYMENT_PLAN_INSTALMENT_REMINDER",a.PAYMENTPLANINSTALMENTEXPIRED="PAYMENT_PLAN_INSTALMENT_EXPIRED",a.PROCESSSENDGRIDWEBHOOK="PROCESS_SENDGRID_WEBHOOK",a.PAYMENTPLANACTIVATIONREMINDER="PAYMENT_PLAN_ACTIVATION_REMINDER",a.PAYMENTPLANCANCELLATION="PAYMENT_PLAN_CANCELLATION",a.TENANCYINVENTORYNOTIFICATION="TENANCY_INVENTORY_NOTIFICATION",a.REPOSITOFFERREMINDER="REPOSIT_OFFER_REMINDER",a.EVIDENCECHASERREMINDER="EVIDENCE_CHASER_REMINDER",a.EVIDENCECHASEREXPIREDNOTIFICATION="EVIDENCE_CHASER_EXPIRED_NOTIFICATION",a.EVIDENCECHASERSUPPLIERDRAFTREMINDER="EVIDENCE_CHASER_SUPPLIER_DRAFT_REMINDER",a.ARBITRATIONSENTNOTIFICATION="ARBITRATION_SENT_NOTIFICATION",a.IVRCALLPROCESSING="IVR_CALL_PROCESSING",a.PROCESSTWILIOIVRWEBHOOK="PROCESS_TWILIO_IVR_WEBHOOK",a.PROCESSTWILIOVOICEMAILWEBHOOK="PROCESS_TWILIO_VOICEMAIL_WEBHOOK",a.PENDINGREPOSITPOSTSTARTDATEWEEKLYREMINDER="PENDING_REPOSIT_POST_START_DATE_WEEKLY_REMINDER",a.HANDLEPENDINGCASHDEPOSIT="HANDLE_PENDING_CASH_DEPOSIT",a.REFRESHMYDEPOSITSACCESSTOKEN="REFRESH_MY_DEPOSITS_ACCESS_TOKEN",a.RECONCILEUNALLOCATEDFUNDS="RECONCILE_UNALLOCATED_FUNDS",a.MYDEPOSITSCREATEPROPERTYANDTENANCY="MY_DEPOSITS_CREATE_PROPERTY_AND_TENANCY",a.CREATEXEROCONTACTFORORGANIZATION="CREATE_XERO_CONTACT_FOR_ORGANIZATION",a.PROCESSBULKIMPORTFILE="PROCESS_BULK_IMPORT_FILE",a.PROCESSBULKIMPORTROW="PROCESS_BULK_IMPORT_ROW",a))(As||{}),Rs=(a=>(a.DAILYKPIS="DAILY_KPIS",a.DAILYKPISDOCUMENT="DAILY_KPIS_DOCUMENT",a.DAILYTOPUPCREATION="DAILY_TOP_UP_CREATION",a.DAILYTOPUPREMINDERS="DAILY_TOP_UP_REMINDERS",a.DAILYTOPUPUPCOMING="DAILY_TOP_UP_UPCOMING",a.TOPUPAUTOCHARGE="TOP_UP_AUTO_CHARGE",a.DAILYCLAIMAUTORESPONDTENANT="DAILY_CLAIM_AUTO_RESPOND_TENANT",a.DAILYCLAIMAUTORESPONDSUPPLIER="DAILY_CLAIM_AUTO_RESPOND_SUPPLIER",a.SCHEDULEDAUTOCHARGE="SCHEDULED_AUTO_CHARGE",a.DAILYFINALSCHEDULEDAUTOCHARGE="DAILY_FINAL_SCHEDULED_AUTO_CHARGE",a.DAILYORDERSCHEDULEDCHARGE="DAILY_ORDER_SCHEDULED_CHARGE",a.MONTHLYDIRECTCOMMISSION="MONTHLY_DIRECT_COMMISSION",a.WEEKLYLANDLORDTRANSFERREMINDER="WEEKLY_LANDLORD_TRANSFER_REMINDER",a.DAILYREPOSITENDINGREMINDER="DAILY_REPOSIT_ENDING_REMINDER",a.DAILYREPOSITCLOSINGREMINDER="DAILY_REPOSIT_CLOSING_REMINDER",a.DAILYREPOSITENDED="DAILY_REPOSIT_ENDED",a.DAILYREPOSITCLOSED="DAILY_REPOSIT_CLOSED",a.DAILYPENDINGREPOSITREMINDER="DAILY_PENDING_REPOSIT_REMINDER",a.DAILYOVERDUEARBITRATIONREMINDER="DAILY_OVERDUE_ARBITRATION_REMINDER",a.DAILYREPOSITDEACTIVATE="DAILY_REPOSIT_DEACTIVATE",a.DAILYCLAIMDEACTIVATE="DAILY_CLAIM_DEACTIVATE",a.DAILYCLAIMDEACTIVATEREMINDER="DAILY_CLAIM_DEACTIVATE_REMINDER",a.DAILYCLAIMTENANTREMINDER="DAILY_CLAIM_TENANT_REMINDER",a.DAILYCLAIMSUPPLIERREMINDER="DAILY_CLAIM_SUPPLIER_REMINDER",a.DAILYCLAIMEVIDENCEREMINDER="DAILY_CLAIM_EVIDENCE_REMINDER",a.DAILYREPOSITCRONINIT="DAILY_REPOSIT_CRON_INIT",a.DAILYCLAIMCRONINIT="DAILY_CLAIM_CRON_INIT",a.DAILYCHARGEPAYMENTPLANINSTALMENT="DAILY_CHARGE_PAYMENT_PLAN_INSTALMENT",a.DAILYPAYMENTPLANINSTALMENTREMINDER="DAILY_PAYMENT_PLAN_INSTALMENT_REMINDER",a.DAILYPAYMENTPLANINSTALMENTEXPIRED="DAILY_PAYMENT_PLAN_INSTALMENT_EXPIRED",a.DAILYPAYMENTPLANACTIVATIONREMINDER="DAILY_PAYMENT_PLAN_ACTIVATION_REMINDER",a.DAILYPAYMENTPLANCANCELLATION="DAILY_PAYMENT_PLAN_CANCELLATION",a.DAILYRECONCILIATION="DAILY_RECONCILIATION",a.DAILYSENDTENANCYINVENTORYNOTIFICATIONS="DAILY_SEND_TENANCY_INVENTORY_NOTIFICATIONS",a.DAILYREPOSITOFFERREMINDER="DAILY_REPOSIT_OFFER_REMINDER",a.DAILYEVIDENCECHASERREMINDER="DAILY_EVIDENCE_CHASER_REMINDER",a.DAILYEVIDENCECHASEREXPIREDNOTIFICATION="DAILY_EVIDENCE_CHASER_EXPIRED_NOTIFICATION",a.DAILYEVIDENCECHASERSUPPLIERDRAFTREMINDER="DAILY_EVIDENCE_CHASER_SUPPLIER_DRAFT_REMINDER",a.DAILYARBITRATIONSENTNOTIFICATION="DAILY_ARBITRATION_SENT_NOTIFICATION",a.DAILYIVRCALLPROCESSING="DAILY_IVR_CALL_PROCESSING",a.DAILYALBMETRICSCOLLECTION="DAILY_ALB_METRICS_COLLECTION",a.WEEKLYPENDINGREPOSITPASTSTARTDATEREMINDER="WEEKLY_PENDING_REPOSIT_PAST_START_DATE_REMINDER",a.POLLPENDINGCASHDEPOSITS="POLL_PENDING_CASH_DEPOSITS",a.REFRESHMYDEPOSITSACCESSTOKENS="REFRESH_MY_DEPOSITS_ACCESS_TOKENS",a.RECONCILEUNALLOCATEDFUNDS="RECONCILE_UNALLOCATED_FUNDS",a.PROCESSSQSWORKEROUTBOX="PROCESS_SQS_WORKER_OUTBOX",a))(Rs||{}),Is=(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))(Is||{}),Ps=(a=>(a.GBR="GBR",a))(Ps||{}),gs=(a=>(a.AGENT="AGENT",a.LANDLORD="LANDLORD",a))(gs||{}),ws=(a=>(a.DRAFT="DRAFT",a.PUBLISHED="PUBLISHED",a))(ws||{}),Os=(a=>(a.COMPANY="COMPANY",a.SOLEPERSON="SOLE_PERSON",a))(Os||{}),fs=(a=>(a.PASSED="PASSED",a.FAILED="FAILED",a))(fs||{}),ys=(a=>(a.REPOSIT="REPOSIT",a.CASHDEPOSIT="CASH_DEPOSIT",a))(ys||{}),Es=(a=>(a.DEPOSITWAIVER="DEPOSIT_WAIVER",a))(Es||{}),Cs=(a=>(a.PRIVATE="PRIVATE",a.AGENCY="AGENCY",a))(Cs||{}),Vs=(a=>(a.DRAFT="DRAFT",a.INVITED="INVITED",a.REGISTERED="REGISTERED",a.REFERENCED="REFERENCED",a.CONFIRMED="CONFIRMED",a.SIGNED="SIGNED",a.PAID="PAID",a))(Vs||{}),qs=(a=>(a.SIGNEDTENANTTERMSANDCONDITIONS="SIGNED_TENANT_TERMS_AND_CONDITIONS",a))(qs||{}),_s=(a=>(a.Reposit="reposit",a))(_s||{}),vs=(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))(vs||{}),bs=(a=>(a.DRAFT="DRAFT",a.INVITED="INVITED",a.REGISTERED="REGISTERED",a.REFERENCED="REFERENCED",a.CONFIRMED="CONFIRMED",a.SIGNED="SIGNED",a.PAID="PAID",a))(bs||{}),Ss=(a=>(a.PASSED="PASSED",a.FAILED="FAILED",a))(Ss||{}),Ts=(a=>(a.SUPPLIERAPPLICATION="SUPPLIER_APPLICATION",a.TENANTAPPLICATION="TENANT_APPLICATION",a))(Ts||{}),Ns=(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))(Ns||{}),xs=(a=>(a.FIXED="FIXED",a.PERIODIC="PERIODIC",a))(xs||{}),Us=(a=>(a.CONFIRMED="CONFIRMED",a.UNCONFIRMED="UNCONFIRMED",a))(Us||{}),Ds=(a=>(a.EARLY="EARLY",a.LATE="LATE",a.FINAL="FINAL",a))(Ds||{}),Ls=(a=>(a.TENANT="TENANT",a))(Ls||{}),Bs=(a=>(a.TENANT="TENANT",a))(Bs||{}),Fs=(a=>(a.FIXED="FIXED",a.PERIODIC="PERIODIC",a))(Fs||{}),js=(a=>(a.DAMAGE="DAMAGE",a.CLEANING="CLEANING",a.RENTARREARS="RENT_ARREARS",a.ITEMREMOVAL="ITEM_REMOVAL",a.OTHER="OTHER",a))(js||{}),Ms=(a=>(a.COMPANY="COMPANY",a.SOLEPERSON="SOLE_PERSON",a))(Ms||{}),Hs=(a=>(a.AGENCY="AGENCY",a.BUILDTORENT="BUILD_TO_RENT",a.PRIVATE="PRIVATE",a.INTEGRATORREFERRAL="INTEGRATOR_REFERRAL",a))(Hs||{}),Gs=(a=>(a.DRAFT="DRAFT",a.SUBMITTED="SUBMITTED",a.ISSUED="ISSUED",a.CLOSED="CLOSED",a.DEACTIVATED="DEACTIVATED",a.UNKNOWN="UNKNOWN",a))(Gs||{}),ks=(a=>(a.FIXED="FIXED",a.PERIODIC="PERIODIC",a))(ks||{}),Qs=(a=>(a.AGENT="AGENT",a.ARBITRATOR="ARBITRATOR",a.LANDLORD="LANDLORD",a.TENANT="TENANT",a.INTERNAL="INTERNAL",a.MACHINE="MACHINE",a))(Qs||{}),Ys=(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))(Ys||{}),zs=(a=>(a.PENDING="PENDING",a.OPENBANKINGTRANSFERSUCCESS="OPEN_BANKING_TRANSFER_SUCCESS",a.CANCELLED="CANCELLED",a.PARTIALLYPAID="PARTIALLY_PAID",a.PAID="PAID",a))(zs||{});class Fh{constructor(e={}){this.apiKey=e.apiKey,this.username=e.username,this.password=e.password,this.accessToken=e.accessToken,this.basePath=e.basePath}}exports.AddRejectionReasonRequestDTORejectionReasonEnum=yt;exports.AddressesApi=Ks;exports.AddressesApiAxiosParamCreator=de;exports.AddressesApiFactory=Js;exports.AddressesApiFp=ue;exports.ApplicantsApi=an;exports.ApplicantsApiAxiosParamCreator=Ve;exports.ApplicantsApiFactory=tn;exports.ApplicantsApiFp=qe;exports.ArbitrationDTOStatusEnum=Et;exports.ArbitrationDocumentsApi=cn;exports.ArbitrationDocumentsApiAxiosParamCreator=pe;exports.ArbitrationDocumentsApiFactory=ln;exports.ArbitrationDocumentsApiFp=he;exports.ArbitrationsApi=An;exports.ArbitrationsApiAxiosParamCreator=me;exports.ArbitrationsApiFactory=mn;exports.ArbitrationsApiFp=Ae;exports.AuthApi=On;exports.AuthApiAxiosParamCreator=X;exports.AuthApiFactory=wn;exports.AuthApiFp=Z;exports.BASE_PATH=u;exports.BankAccountsApi=_n;exports.BankAccountsApiAxiosParamCreator=Lr;exports.BankAccountsApiFactory=qn;exports.BankAccountsApiFp=Br;exports.BaseAPI=R;exports.BeneficiariesApi=Sn;exports.BeneficiariesApiAxiosParamCreator=Fr;exports.BeneficiariesApiFactory=bn;exports.BeneficiariesApiFp=jr;exports.BulkImportDTOStatusEnum=Ct;exports.BulkImportsApi=xn;exports.BulkImportsApiAxiosParamCreator=_;exports.BulkImportsApiFactory=Nn;exports.BulkImportsApiFp=v;exports.COLLECTION_FORMATS=Ws;exports.CashDepositsApi=kn;exports.CashDepositsApiAxiosParamCreator=ee;exports.CashDepositsApiFactory=Gn;exports.CashDepositsApiFp=re;exports.CheckDTOStatusEnum=qt;exports.CheckDTOTypeEnum=Vt;exports.ChecksApi=Kn;exports.ChecksApiAxiosParamCreator=Ke;exports.ChecksApiFactory=Jn;exports.ChecksApiFp=Xe;exports.ClaimActivityType=_t;exports.ClaimDTOStatusEnum=vt;exports.ClaimDocumentsApi=ro;exports.ClaimDocumentsApiAxiosParamCreator=te;exports.ClaimDocumentsApiFactory=eo;exports.ClaimDocumentsApiFp=ae;exports.ClaimItemCorrectionResponseDTOActionEnum=bt;exports.ClaimItemCorrectionsApi=lo;exports.ClaimItemCorrectionsApiAxiosParamCreator=Ze;exports.ClaimItemCorrectionsApiFactory=io;exports.ClaimItemCorrectionsApiFp=er;exports.ClaimItemDTOTypeEnum=St;exports.ClaimItemDocumentsApi=ho;exports.ClaimItemDocumentsApiAxiosParamCreator=se;exports.ClaimItemDocumentsApiFactory=po;exports.ClaimItemDocumentsApiFp=ne;exports.ClaimItemProposalDTOSettledSourceEnum=Tt;exports.ClaimItemProposalsApi=wo;exports.ClaimItemProposalsApiAxiosParamCreator=_e;exports.ClaimItemProposalsApiFactory=go;exports.ClaimItemProposalsApiFp=ve;exports.ClaimItemsApi=Co;exports.ClaimItemsApiAxiosParamCreator=be;exports.ClaimItemsApiFactory=Eo;exports.ClaimItemsApiFp=Se;exports.ClaimProposalDTOSourceEnum=Nt;exports.ClaimProposalDTOStatusEnum=xt;exports.ClaimProposalDTOTypeEnum=Ut;exports.ClaimProposalsApi=bo;exports.ClaimProposalsApiAxiosParamCreator=oe;exports.ClaimProposalsApiFactory=vo;exports.ClaimProposalsApiFp=ie;exports.ClaimResponseDocumentsApi=Lo;exports.ClaimResponseDocumentsApiAxiosParamCreator=Re;exports.ClaimResponseDocumentsApiFactory=Do;exports.ClaimResponseDocumentsApiFp=Ie;exports.ClaimStatusDTOStatusIdEnum=Dt;exports.ClaimWithCheckoutRelationsDTOStatusEnum=Lt;exports.ClaimsApi=Go;exports.ClaimsApiAxiosParamCreator=O;exports.ClaimsApiFactory=Ho;exports.ClaimsApiFp=f;exports.CommissionApi=Ai;exports.CommissionApiAxiosParamCreator=Mr;exports.CommissionApiFactory=mi;exports.CommissionApiFp=Hr;exports.ConcurrentTenancyCheckApi=Pi;exports.ConcurrentTenancyCheckApiAxiosParamCreator=Gr;exports.ConcurrentTenancyCheckApiFactory=Ii;exports.ConcurrentTenancyCheckApiFp=kr;exports.Configuration=Fh;exports.CreateAddressForRepositDTOCountryEnum=Bt;exports.CreateClaimItemDTOTypeEnum=Ft;exports.CreateClaimItemDocumentDTOTypeEnum=jt;exports.CreateClaimItemReviewDTOStatusEnum=Mt;exports.CreateDocumentDTOTypeEnum=Ht;exports.CreateDocumentFromS3DTOTypeEnum=Gt;exports.CreateEvidenceChaserItemDTODocumentTypeIdEnum=kt;exports.CreateEvidenceChaserItemDTOTypeEnum=Qt;exports.CreateEvidenceChaserItemReviewDTOStatusEnum=Yt;exports.CreateInsuredItemDTOTypeEnum=zt;exports.CreateLandlordDTOLandlordTypeIdEnum=$t;exports.CreateLandlordForRepositDTOLandlordTypeIdEnum=Wt;exports.CreateLandlordWithOrgDTOLandlordTypeIdEnum=Jt;exports.CreateNetPromoterScoreDTOSurveyEventEnum=Kt;exports.CreateOrderDTOProductIdEnum=Xt;exports.CreateOrganizationBankAccountDTOAccountTypeEnum=Zt;exports.CreateOrganizationDTOPrimaryVerticalEnum=ra;exports.CreateOrganizationDTOSecondaryVerticalsEnum=ta;exports.CreateOrganizationDTOTypeEnum=ea;exports.CreateOrganizationRecipientDTOGroupEnum=aa;exports.CreatePolicyWithBeneficiaryDTOMaximumPolicyCoverEnum=sa;exports.CreateReferenceDTOChecksEnum=na;exports.CreateTenancyInviteDTORoleIdEnum=oa;exports.CreateTenancyRequestDTOTermTypeEnum=ia;exports.CurrentUserAccountInfoDTOCurrentOrganizationRolesEnum=la;exports.CurrentUserInfoDTOCurrentOrganizationRolesEnum=ca;exports.CustomersApi=Oi;exports.CustomersApiAxiosParamCreator=Qr;exports.CustomersApiFactory=wi;exports.CustomersApiFp=Yr;exports.DepositDTOStatusEnum=da;exports.DocumentsApi=Ei;exports.DocumentsApiAxiosParamCreator=Te;exports.DocumentsApiFactory=yi;exports.DocumentsApiFp=Ne;exports.EvidenceChaserDTOStatusEnum=pa;exports.EvidenceChaserDTOTypeEnum=ua;exports.EvidenceChaserItemClaimItemDTOStatusEnum=ha;exports.EvidenceChaserItemClaimItemReviewDTOStatusEnum=ma;exports.EvidenceChaserItemDTOStatusEnum=Aa;exports.EvidenceChaserItemDTOTypeEnum=Ra;exports.EvidenceChaserItemRequestDTOPublicationStatusEnum=Ia;exports.EvidenceChaserItemRequestsApi=vi;exports.EvidenceChaserItemRequestsApiAxiosParamCreator=rr;exports.EvidenceChaserItemRequestsApiFactory=_i;exports.EvidenceChaserItemRequestsApiFp=tr;exports.EvidenceChaserItemResponseDTOPublicationStatusEnum=Pa;exports.EvidenceChaserItemResponseDocumentsApi=Ni;exports.EvidenceChaserItemResponseDocumentsApiAxiosParamCreator=ar;exports.EvidenceChaserItemResponseDocumentsApiFactory=Ti;exports.EvidenceChaserItemResponseDocumentsApiFp=sr;exports.EvidenceChaserItemResponsesApi=Li;exports.EvidenceChaserItemResponsesApiAxiosParamCreator=nr;exports.EvidenceChaserItemResponsesApiFactory=Di;exports.EvidenceChaserItemResponsesApiFp=or;exports.EvidenceChaserItemReviewDTOPublicationStatusEnum=wa;exports.EvidenceChaserItemReviewDTOStatusEnum=ga;exports.EvidenceChaserItemReviewsApi=Mi;exports.EvidenceChaserItemReviewsApiAxiosParamCreator=ir;exports.EvidenceChaserItemReviewsApiFactory=ji;exports.EvidenceChaserItemReviewsApiFp=lr;exports.EvidenceChaserItemsApi=Qi;exports.EvidenceChaserItemsApiAxiosParamCreator=cr;exports.EvidenceChaserItemsApiFactory=ki;exports.EvidenceChaserItemsApiFp=dr;exports.EvidenceChaserRoundDTOStatusEnum=Oa;exports.EvidenceChaserRoundsApi=Wi;exports.EvidenceChaserRoundsApiAxiosParamCreator=xe;exports.EvidenceChaserRoundsApiFactory=$i;exports.EvidenceChaserRoundsApiFp=Ue;exports.EvidenceChasersApi=el;exports.EvidenceChasersApiAxiosParamCreator=De;exports.EvidenceChasersApiFactory=Zi;exports.EvidenceChasersApiFp=Le;exports.FeedbackApi=nl;exports.FeedbackApiAxiosParamCreator=zr;exports.FeedbackApiFactory=sl;exports.FeedbackApiFp=$r;exports.HealthApi=ll;exports.HealthApiAxiosParamCreator=ur;exports.HealthApiFactory=il;exports.HealthApiFp=pr;exports.IncomingWebhooksApi=pl;exports.IncomingWebhooksApiAxiosParamCreator=T;exports.IncomingWebhooksApiFactory=ul;exports.IncomingWebhooksApiFp=N;exports.InsuranceClaimDTOStatusEnum=fa;exports.InsuranceClaimsApi=Ol;exports.InsuranceClaimsApiAxiosParamCreator=Be;exports.InsuranceClaimsApiFactory=wl;exports.InsuranceClaimsApiFp=Fe;exports.IntegratorApi=Vl;exports.IntegratorApiAxiosParamCreator=Wr;exports.IntegratorApiFactory=Cl;exports.IntegratorApiFp=Jr;exports.IntegratorCommissionApi=vl;exports.IntegratorCommissionApiAxiosParamCreator=Kr;exports.IntegratorCommissionApiFactory=_l;exports.IntegratorCommissionApiFp=Xr;exports.InternalReportingApi=Tl;exports.InternalReportingApiAxiosParamCreator=hr;exports.InternalReportingApiFactory=Sl;exports.InternalReportingApiFp=mr;exports.InternalTeamMemberDTOTeamEnum=ya;exports.InternalTeamMembersApi=Dl;exports.InternalTeamMembersApiAxiosParamCreator=Zr;exports.InternalTeamMembersApiFactory=Ul;exports.InternalTeamMembersApiFp=et;exports.KpiDocumentApi=Fl;exports.KpiDocumentApiAxiosParamCreator=rt;exports.KpiDocumentApiFactory=Bl;exports.KpiDocumentApiFp=tt;exports.LandlordDTOTypeEnum=Ea;exports.LandlordsApi=Hl;exports.LandlordsApiAxiosParamCreator=Ar;exports.LandlordsApiFactory=Ml;exports.LandlordsApiFp=Rr;exports.MessageQueueApi=Yl;exports.MessageQueueApiAxiosParamCreator=at;exports.MessageQueueApiFactory=Ql;exports.MessageQueueApiFp=st;exports.MyDepositsOAuthApi=Wl;exports.MyDepositsOAuthApiAxiosParamCreator=H;exports.MyDepositsOAuthApiFactory=$l;exports.MyDepositsOAuthApiFp=G;exports.MyDepositsOnboardingStatusResponseDTOAccountTypeEnum=Va;exports.MyDepositsOnboardingStatusResponseDTOOnboardingStatusEnum=Ca;exports.NetPromoterScoreApi=ac;exports.NetPromoterScoreApiAxiosParamCreator=nt;exports.NetPromoterScoreApiFactory=tc;exports.NetPromoterScoreApiFp=ot;exports.NetPromoterScoreDTOCategoryEnum=_a;exports.NetPromoterScoreDTOSurveyEventEnum=qa;exports.OfferToTenantRequestDTOTenantsReferenceStatusEnum=va;exports.OrderCustomerActionDTOTypeIdEnum=ba;exports.OrderCustomerActionsApi=oc;exports.OrderCustomerActionsApiAxiosParamCreator=x;exports.OrderCustomerActionsApiFactory=nc;exports.OrderCustomerActionsApiFp=U;exports.OrderCustomersApi=Ac;exports.OrderCustomersApiAxiosParamCreator=je;exports.OrderCustomersApiFactory=mc;exports.OrderCustomersApiFp=Me;exports.OrderDTOProductIdEnum=Sa;exports.OrderDTORefundHandlingEnum=Na;exports.OrderDTOStatusIdEnum=Ta;exports.OrderWithOrderCustomersDTOProductIdEnum=xa;exports.OrderWithOrderCustomersDTORefundHandlingEnum=Da;exports.OrderWithOrderCustomersDTOStatusIdEnum=Ua;exports.OrdersApi=wc;exports.OrdersApiAxiosParamCreator=Ir;exports.OrdersApiFactory=gc;exports.OrdersApiFp=Pr;exports.OrganizationAttributesDTOInvoiceCategoryEnum=La;exports.OrganizationBankAccountDTOAccountTypeEnum=Ba;exports.OrganizationBankAccountsApi=Ec;exports.OrganizationBankAccountsApiAxiosParamCreator=He;exports.OrganizationBankAccountsApiFactory=yc;exports.OrganizationBankAccountsApiFp=Ge;exports.OrganizationDTOOrganizationTypeIdEnum=Fa;exports.OrganizationInternalOwnerDTOResponsibleForEnum=ja;exports.OrganizationInternalOwnersApi=vc;exports.OrganizationInternalOwnersApiAxiosParamCreator=it;exports.OrganizationInternalOwnersApiFactory=_c;exports.OrganizationInternalOwnersApiFp=lt;exports.OrganizationInvitesApi=Tc;exports.OrganizationInvitesApiAxiosParamCreator=le;exports.OrganizationInvitesApiFactory=Sc;exports.OrganizationInvitesApiFp=ce;exports.OrganizationRecipientDTOGroupEnum=Ma;exports.OrganizationRecipientsApi=Fc;exports.OrganizationRecipientsApiAxiosParamCreator=gr;exports.OrganizationRecipientsApiFactory=Bc;exports.OrganizationRecipientsApiFp=wr;exports.OrganizationSettingsDTOCommissionRuleEnum=Ga;exports.OrganizationSettingsDTOMaximumPolicyCoverEnum=ka;exports.OrganizationSettingsDTOPricingRuleEnum=Ha;exports.OrganizationUserDTORolesEnum=Qa;exports.OrganizationUsersApi=Gc;exports.OrganizationUsersApiAxiosParamCreator=ke;exports.OrganizationUsersApiFactory=Hc;exports.OrganizationUsersApiFp=Qe;exports.OrganizationVerticalDTONameEnum=za;exports.OrganizationVerticalDTOTypeEnum=Ya;exports.OrganizationWithCashDepositDTOOrganizationTypeIdEnum=$a;exports.OrganizationWithRepositsAndRolesOrganizationTypeIdEnum=Wa;exports.OrganizationWithRepositsAndRolesRolesEnum=Ja;exports.OrganizationWithRolesOrganizationTypeIdEnum=Ka;exports.OrganizationWithRolesRolesEnum=Xa;exports.OrganizationsApi=$c;exports.OrganizationsApiAxiosParamCreator=g;exports.OrganizationsApiFactory=zc;exports.OrganizationsApiFp=w;exports.PaymentDetailsResponseDTOCashDepositStatusEnum=Za;exports.PaymentMethodChecksRequestDTOCustomerActionTypeEnum=es;exports.PaymentMethodChecksResponseDTOCvcEnum=rs;exports.PaymentMethodChecksResponseDTOFundingEnum=ss;exports.PaymentMethodChecksResponseDTONameMatchEnum=as;exports.PaymentMethodChecksResponseDTOPostcodeEnum=ts;exports.PaymentPlanActionDTOTypeIdEnum=ns;exports.PaymentPlanActionsApi=yd;exports.PaymentPlanActionsApiAxiosParamCreator=Pe;exports.PaymentPlanActionsApiFactory=fd;exports.PaymentPlanActionsApiFp=ge;exports.PaymentPlanDTOFrequencyEnum=os;exports.PaymentPlanDTOStatusEnum=is;exports.PaymentPlanInstalmentDTOStatusEnum=ls;exports.PaymentPlanInstalmentsApi=vd;exports.PaymentPlanInstalmentsApiAxiosParamCreator=Ye;exports.PaymentPlanInstalmentsApiFactory=_d;exports.PaymentPlanInstalmentsApiFp=ze;exports.PaymentPlansApi=xd;exports.PaymentPlansApiAxiosParamCreator=k;exports.PaymentPlansApiFactory=Nd;exports.PaymentPlansApiFp=Q;exports.PlaidWebhookDtoNewPaymentStatusEnum=ps;exports.PlaidWebhookDtoStatusEnum=us;exports.PlaidWebhookDtoWebhookCodeEnum=ds;exports.PlaidWebhookDtoWebhookTypeEnum=cs;exports.PoliciesApi=Hd;exports.PoliciesApiAxiosParamCreator=Y;exports.PoliciesApiFactory=Md;exports.PoliciesApiFp=z;exports.PolicyDTOStatusEnum=hs;exports.PolicyDocumentsApi=Jd;exports.PolicyDocumentsApiAxiosParamCreator=we;exports.PolicyDocumentsApiFactory=Wd;exports.PolicyDocumentsApiFp=Oe;exports.PolicyTypeDTOCoverTypeEnum=ms;exports.PreTenancyDocumentsApi=tu;exports.PreTenancyDocumentsApiAxiosParamCreator=Or;exports.PreTenancyDocumentsApiFactory=ru;exports.PreTenancyDocumentsApiFp=fr;exports.PricingApi=ou;exports.PricingApiAxiosParamCreator=yr;exports.PricingApiFactory=nu;exports.PricingApiFp=Er;exports.PropertiesApi=du;exports.PropertiesApiAxiosParamCreator=$e;exports.PropertiesApiFactory=cu;exports.PropertiesApiFp=We;exports.QueueMessageDTOCronNameEnum=Rs;exports.QueueMessageDTOTypeEnum=As;exports.ReconciliationDocumentsApi=Au;exports.ReconciliationDocumentsApiAxiosParamCreator=ct;exports.ReconciliationDocumentsApiFactory=mu;exports.ReconciliationDocumentsApiFp=dt;exports.ReferenceDTOStatusEnum=Is;exports.ReferenceDocumentsApi=Pu;exports.ReferenceDocumentsApiAxiosParamCreator=fe;exports.ReferenceDocumentsApiFactory=Iu;exports.ReferenceDocumentsApiFp=ye;exports.ReferencesApi=Eu;exports.ReferencesApiAxiosParamCreator=D;exports.ReferencesApiFactory=yu;exports.ReferencesApiFp=L;exports.RepositAddressDTOCountryEnum=Ps;exports.RepositAgentDTOUserTypeIdEnum=gs;exports.RepositDTOStatusEnum=ws;exports.RepositLandlordDTOLandlordTypeIdEnum=Os;exports.RepositOfferDTOTenantsReferenceStatusEnum=fs;exports.RepositOfferRecipientDTOChoiceEnum=ys;exports.RepositOffersApi=Nu;exports.RepositOffersApiAxiosParamCreator=B;exports.RepositOffersApiFactory=Tu;exports.RepositOffersApiFp=F;exports.RepositPolicyTypeDTOCategoryEnum=Es;exports.RepositSupplierDTOTypeEnum=Cs;exports.RepositTenantDTOStatusEnum=Vs;exports.RepositTenantDocumentDTOTypeEnum=qs;exports.RepositWebhookDTOActionEnum=vs;exports.RepositWebhookDTOResourceTypeEnum=_s;exports.RepositWebhookTenantDTOStatusEnum=bs;exports.RepositsApi=Hu;exports.RepositsApiAxiosParamCreator=b;exports.RepositsApiFactory=Mu;exports.RepositsApiFp=S;exports.RequiredError=h;exports.SearchRepositOfferDTOTenantsReferenceStatusEnum=Ss;exports.SeedCashDepositsApi=Xu;exports.SeedCashDepositsApiAxiosParamCreator=ut;exports.SeedCashDepositsApiFactory=Ku;exports.SeedCashDepositsApiFp=pt;exports.SeedRepositsApi=rp;exports.SeedRepositsApiAxiosParamCreator=ht;exports.SeedRepositsApiFactory=ep;exports.SeedRepositsApiFp=mt;exports.SubmitFeedbackDTOApplicationEnum=Ts;exports.SubmitFeedbackDTOSubjectEnum=Ns;exports.SuppliersApi=sp;exports.SuppliersApiAxiosParamCreator=Cr;exports.SuppliersApiFactory=ap;exports.SuppliersApiFp=Vr;exports.TenanciesApi=lp;exports.TenanciesApiAxiosParamCreator=C;exports.TenanciesApiFactory=ip;exports.TenanciesApiFp=V;exports.TenancyAnniversariesApi=yp;exports.TenancyAnniversariesApiAxiosParamCreator=At;exports.TenancyAnniversariesApiFactory=fp;exports.TenancyAnniversariesApiFp=Rt;exports.TenancyCheckoutsApi=Vp;exports.TenancyCheckoutsApiAxiosParamCreator=It;exports.TenancyCheckoutsApiFactory=Cp;exports.TenancyCheckoutsApiFp=Pt;exports.TenancyDTOTermTypeEnum=xs;exports.TenancyExpiriesApi=vp;exports.TenancyExpiriesApiAxiosParamCreator=qr;exports.TenancyExpiriesApiFactory=_p;exports.TenancyExpiriesApiFp=_r;exports.TenancyInventoriesApi=Np;exports.TenancyInventoriesApiAxiosParamCreator=vr;exports.TenancyInventoriesApiFactory=Tp;exports.TenancyInventoriesApiFp=br;exports.TenancyInventoryRespondentDTOResponseEnum=Us;exports.TenancyInventoryRespondentDTOStageEnum=Ds;exports.TenancyInviteDTORoleIdEnum=Ls;exports.TenancyInvitesApi=Lp;exports.TenancyInvitesApiAxiosParamCreator=$;exports.TenancyInvitesApiFactory=Dp;exports.TenancyInvitesApiFp=W;exports.TenancyOrderNotesApi=Qp;exports.TenancyOrderNotesApiAxiosParamCreator=Sr;exports.TenancyOrderNotesApiFactory=kp;exports.TenancyOrderNotesApiFp=Tr;exports.TenancyOrdersApi=Wp;exports.TenancyOrdersApiAxiosParamCreator=J;exports.TenancyOrdersApiFactory=$p;exports.TenancyOrdersApiFp=K;exports.TenancyUserDTORoleIdEnum=Bs;exports.TenancyUsersApi=ah;exports.TenancyUsersApiAxiosParamCreator=Ee;exports.TenancyUsersApiFactory=th;exports.TenancyUsersApiFp=Ce;exports.TenancyWithCheckoutAndClaimDTOTermTypeEnum=Fs;exports.TenantsApi=ch;exports.TenantsApiAxiosParamCreator=Nr;exports.TenantsApiFactory=lh;exports.TenantsApiFp=xr;exports.TermsApi=hh;exports.TermsApiAxiosParamCreator=Ur;exports.TermsApiFactory=ph;exports.TermsApiFp=Dr;exports.UpdateClaimItemDTOTypeEnum=js;exports.UpdateLandlordDTOTypeEnum=Ms;exports.UpdateOrganizationDTOOrganizationTypeIdEnum=Hs;exports.UpdatePolicyStatusDTOStatusEnum=Gs;exports.UpdateTenancyRequestDTOTermTypeEnum=ks;exports.UserDTOInternalRolesEnum=Ys;exports.UserDTOUserTypeIdEnum=Qs;exports.UsersApi=Ih;exports.UsersApiAxiosParamCreator=y;exports.UsersApiFactory=Rh;exports.UsersApiFp=E;exports.VerifyPostcodeResponseDTOStatusEnum=zs;exports.WebhooksApi=Lh;exports.WebhooksApiAxiosParamCreator=gt;exports.WebhooksApiFactory=Dh;exports.WebhooksApiFp=wt;exports.aboutYou=ic;exports.acceptOrganizationInvite=Nc;exports.acceptTenancyInvite=Bp;exports.acknowledgeCaseSentToInsurer=ko;exports.addAbitrationDocument=dn;exports.addClaimDocument=to;exports.addClaimDocumentByDocumentId=ao;exports.addClaimItemDocument=mo;exports.addClaimItemDocumentByDocumentId=Ao;exports.addClaimResponseDocument=Bo;exports.addGuarantor=sh;exports.addItems=Gd;exports.addPaymentMethod=fi;exports.addPolicyDocument=Kd;exports.addPreTenancyDocumentByDocumentId=au;exports.addReferenceDocument=gu;exports.addRejectionReason=xu;exports.addTenant=dh;exports.addressHistory=lc;exports.agreeClaimProposal=So;exports.applyClaimItemCorrection=co;exports.approveClaim=Qo;exports.changeInstalmentDates=Ud;exports.checkConcurrentTenancy=gi;exports.closingRemindersEnabled=cp;exports.completeMyDepositsSetup=Jl;exports.completeOnboardingIntroduction=Ph;exports.confirm=cc;exports.confirmBankAccounts=Wc;exports.confirmPaymentPlan=Ed;exports.confirmTenancyDetails=Qn;exports.counterClaimProposal=To;exports.create=Cc;exports.createAddress=Xs;exports.createApplicant=sn;exports.createArbitration=Rn;exports.createBulkImport=Un;exports.createCheckout=qp;exports.createClaim=Yo;exports.createClaimActivity=zo;exports.createClaimItem=Vo;exports.createClaimItemProposal=Oo;exports.createDocument=Ci;exports.createEvidenceChaser=rl;exports.createEvidenceChaserItem=Yi;exports.createEvidenceChaserItemRequest=bi;exports.createEvidenceChaserItemResponse=Bi;exports.createEvidenceChaserItemResponseDocument=xi;exports.createEvidenceChaserItemReview=Hi;exports.createFromS3=Vi;exports.createInsuranceClaim=fl;exports.createInsuranceClaimOnClaim=$o;exports.createNetPromoterScore=sc;exports.createOffer=Uu;exports.createOneTimeSessionToken=gh;exports.createOrganization=Jc;exports.createOrganizationInvite=xc;exports.createOrganizationRecipient=jc;exports.createPaymentPlan=Dd;exports.createPolicy=kd;exports.createProperty=uu;exports.createReference=Cu;exports.createReposit=Gu;exports.createTemporaryUploadUrl=Dn;exports.createTenancy=dp;exports.createTenancyExpiry=bp;exports.createTenancyInvite=Fp;exports.createTenancyOrder=up;exports.createTenancyOrderNote=Yp;exports.dbHealthCheck=cl;exports.deactivateClaim=Wo;exports.declineClaim=Jo;exports.deferPaymentPlanInstalment=bd;exports.deleteAbitrationDocument=un;exports.deleteBankAccount=Vc;exports.deleteById=uh;exports.deleteClaimDocument=so;exports.deleteClaimItem=qo;exports.deleteClaimItemDocument=Ro;exports.deleteClaimItemProposal=fo;exports.deleteClaimResponseDocument=Fo;exports.deleteEvidenceChaserItemRequest=Si;exports.deleteEvidenceChaserItemResponseDocument=Ui;exports.deleteGuarantor=nh;exports.deleteInvite=Uc;exports.deleteItem=Qd;exports.deleteNote=zp;exports.deleteOffer=Du;exports.deleteOrganizationRecipient=Mc;exports.deletePaymentPlanById=Ld;exports.deletePolicyDocument=Xd;exports.deletePreTenancyDocument=su;exports.deleteReferenceDocument=wu;exports.deleteTenancyInvite=jp;exports.disableProductCreation=Kc;exports.disableTopUps=pp;exports.disableWarnings=xp;exports.disconnectMyDeposits=Kl;exports.dismissNewProductUpdates=wh;exports.dismissOrganizationMessage=Xc;exports.dismissUserMessage=Oh;exports.disputeClaimProposal=No;exports.dryRunClaimItemCorrection=uo;exports.duplicatePaymentMethodCheck=Oc;exports.enableProductCreation=Zc;exports.exchangeMyDepositsToken=Xl;exports.expireEvidenceChaser=tl;exports.extendOutcomeDeadline=hp;exports.fetchAddressesByOrganizationId=ed;exports.fetchInvitesByOrganizationId=Dc;exports.fetchInvitesByTenancyId=Mp;exports.fetchLandlordsByOrganizationId=rd;exports.fetchOrganizationUsersByOrganizationId=td;exports.fetchPropertiesByOrganizationId=ad;exports.fetchTenanciesByOrganizationId=sd;exports.fetchUsersByOrganizationId=nd;exports.findAbitrationDocumentById=pn;exports.findAddressById=Zs;exports.findAll=Ll;exports.findApplicantById=nn;exports.findCheckById=Xn;exports.findClaimById=Ko;exports.findClaimDocumentById=no;exports.findClaimItemDocumentById=Io;exports.findClaimResponseDocumentById=jo;exports.findManyAbitrationDocuments=hn;exports.findManyClaimDocuments=oo;exports.findManyClaimItemDocuments=Po;exports.findManyClaimResponseDocuments=Mo;exports.findManyPolicyDocuments=Zd;exports.findManyReferenceDocuments=Ou;exports.findOne=Yd;exports.findOneByID=fh;exports.findOrganizationById=od;exports.findPolicyDocumentById=eu;exports.findReferenceById=Vu;exports.findReferenceDocumentById=fu;exports.generateADRForm=Xo;exports.generateCashDepositPlaidLinkToken=Yn;exports.generateCommissionCsvForPeriod=Ri;exports.generateLastMonthCommission=bl;exports.getActive=vn;exports.getAllBulkImports=Ln;exports.getAmountRemaining=fc;exports.getArbitrationById=In;exports.getBankAccounts=qc;exports.getBulkImportById=Bn;exports.getBulkImportDownloadUrl=Fn;exports.getByTenancyId=Sp;exports.getCashDepositAmount=iu;exports.getCashDepositScheme=id;exports.getChecks=qu;exports.getChildren=ld;exports.getCompletedReposits=Nl;exports.getCreatedReposits=xl;exports.getCustomer=yh;exports.getDocumentsByIds=qi;exports.getEvidenceChaserById=al;exports.getExampleCsv=jn;exports.getFailedRowsCsv=Mn;exports.getInstalmentById=Sd;exports.getInstalmentPaymentIntentSecret=Td;exports.getInsuranceClaim=yl;exports.getIntegrators=ql;exports.getLandlordById=Gl;exports.getMyDepositsAuthorizeUrl=Zl;exports.getMyDepositsCompanyOffices=ec;exports.getMyDepositsOnboardingStatus=rc;exports.getMySupplier=np;exports.getOrderCustomerById=Rc;exports.getOrganizationMetrics=cd;exports.getOrganizationUsers=Eh;exports.getOrganizationVerticals=dd;exports.getOwners=bc;exports.getPaymentDetails=zn;exports.getPaymentPlanAction=Cd;exports.getPaymentPlanById=Bd;exports.getPaymentPlanPropertyAddressById=Fd;exports.getPropertyById=pu;exports.getRecipients=ud;exports.getReferenceDocuments=_u;exports.getRepositById=ku;exports.getRepositFee=lu;exports.getRepositLandlord=Qu;exports.getRepositOffer=Lu;exports.getRepositPolicies=Yu;exports.getRepositPrice=zu;exports.getSetupIntentSecret=jd;exports.getSupplierAgents=op;exports.getSupplierTerms=mh;exports.getTenancyAnniversaries=Ep;exports.getTenancyById=mp;exports.getTenancyDocuments=Ap;exports.getTenancyOrderById=Jp;exports.getTenancyOrdersByProductId=Ch;exports.getTenancyUserById=Ic;exports.getTenantDocuments=$u;exports.getTenantTerms=Ah;exports.getUserAccount=Vh;exports.getUserTenancyAnniversaries=qh;exports.grantRoles=kc;exports.healthCheck=dl;exports.login=fn;exports.me=_h;exports.notifyIntegrator=Qc;exports.optimisedSearch=Kp;exports.optimisedSearchClaim=Zo;exports.override=Zn;exports.pay=dc;exports.paySupplier=ei;exports.paymentCardChecks=Pc;exports.processIncomingMessage=zl;exports.processPlaidWebhooks=hl;exports.processSendGridWebhooks=ml;exports.processStripeOffSessionWebhooks=Al;exports.processStripeWebhooks=Rl;exports.processTwilioIvrWebhooks=Il;exports.processTwilioIvrWebhooksWithGatherAction=Pl;exports.processTwilioVoicemailWebhook=gl;exports.processUploadFile=Hn;exports.publish=Rp;exports.publishArbitration=Pn;exports.publishClaim=ri;exports.publishClaimProposal=xo;exports.publishEvidenceChaserRequests=Ji;exports.publishEvidenceChaserResponses=Ki;exports.publishEvidenceChaserReviews=Xi;exports.publishReposit=Wu;exports.readyForArbitrateClaim=ti;exports.readyForReview=vu;exports.redeemOneTimeSessionToken=yn;exports.reference=uc;exports.removeTenancyOrderById=Xp;exports.removeUser=pd;exports.reopenClaim=ai;exports.reopenTenancyOrder=Zp;exports.replaceReposit=Ju;exports.requestMoreInfoClaim=si;exports.resendOrganizationInvite=Lc;exports.resendTenancyInvite=Hp;exports.resetPassword=En;exports.resetPasswordRequest=Cn;exports.resetUserPassword=vh;exports.resolveClaim=ni;exports.resolveInsuranceClaim=El;exports.respondToOffer=Bu;exports.revokeRoles=Yc;exports.searchAddressesByPostcode=en;exports.searchKpiDocuments=jl;exports.searchOffers=Fu;exports.searchOrganization=hd;exports.searchProperties=hu;exports.searchReconciliationDocuments=Ru;exports.searchReferences=bu;exports.searchUser=bh;exports.seedCashDeposit=Zu;exports.seedReposit=tp;exports.sendOverdueChasers=eh;exports.sendReminder=ju;exports.sendReminderEmail=oh;exports.setLandlordInformationComplete=md;exports.setPassword=Vn;exports.sign=pc;exports.signAddendumForSupplier=Ip;exports.signAddendumForTenant=hc;exports.signCashDeposit=$n;exports.skipEvidenceChaser=oi;exports.submitChecks=Su;exports.submitFeedback=ol;exports.submitMoreInfoClaim=ii;exports.tenantConfirmation=Up;exports.tenantVacated=Pp;exports.transferTenancyOrderToOrganization=rh;exports.unpublishClaimProposal=Uo;exports.updateASTAcceptance=Ad;exports.updateAboutMe=Sh;exports.updateAddress=Vd;exports.updateAddressById=rn;exports.updateAddressHistory=Th;exports.updateArbitration=gn;exports.updateAttributes=on;exports.updateAutoCharge=li;exports.updateBeneficiary=Tn;exports.updateBetaEnabled=Nh;exports.updateCardDetails=qd;exports.updateClaim=ci;exports.updateClaimItem=_o;exports.updateClaimItemProposal=yo;exports.updateEmailSettings=xh;exports.updateEvidenceChaserItem=zi;exports.updateEvidenceChaserItemResponse=Fi;exports.updateEvidenceChaserItemReview=Gi;exports.updateExistingProperty=gp;exports.updateGuarantor=ih;exports.updateInformedLandlords=Rd;exports.updateIntegrationWebhookUrl=Bh;exports.updateLandlord=kl;exports.updateOrganization=Id;exports.updateOrganizationNotes=Pd;exports.updatePolicy=zd;exports.updateProperty=wp;exports.updateStatus=$d;exports.updateTenancy=Op;exports.updateTenancyInvite=Gp;exports.updateTenantDisputeMessage=di;exports.updateTermsAccepted=gd;exports.updateUser=Uh;exports.updateYourCompany=wd;exports.verifyClaim=ui;exports.verifyPostcode=Wn;exports.waiveDisputeFee=pi;exports.welcomeLandlord=Od;exports.zipDocuments=hi;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const p=require("axios"),u="http://localhost".replace(/\/+$/,""),Js={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)}}}},Ks=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 Xs 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 Zs(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 en(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 rn(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 tn(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)}}}},an=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 sn 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 nn(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 on(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 ln(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)}}}},cn=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 dn 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 un(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 pn(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 hn(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 An(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)}}}},mn=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 Rn 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 In(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 Pn(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 gn(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 wn(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)}}}},On=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 yn(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 En(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 Cn(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 Vn(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 qn(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 Lr=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}}}},Br=function(a){return{getActive(e){const r=Lr(a).getActive(e);return(t=p,s=u)=>{const n={...r.options,url:s+r.url};return t.request(n)}}}},_n=function(a,e,r){return{getActive(t){return Br(a).getActive(t)(r,e)}}};class vn extends R{getActive(e){return Br(this.configuration).getActive(e)(this.axios,this.basePath)}}async function bn(a,e=p,r=u,t){const s=Lr(a).getActive(t),n={...s.options,url:r+s.url};return(await e.request(n)).data}const Fr=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}}}},jr=function(a){return{updateBeneficiary(e,r,t){const s=Fr(a).updateBeneficiary(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}}}},Sn=function(a,e,r){return{updateBeneficiary(t,s,n){return jr(a).updateBeneficiary(t,s,n)(r,e)}}};class Tn extends R{updateBeneficiary(e,r,t){return jr(this.configuration).updateBeneficiary(e,r,t)(this.axios,this.basePath)}}async function Nn(a,e,r,t=p,s=u,n){const o=Fr(r).updateBeneficiary(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}const _=function(a){return{createBulkImport(e,r={}){if(e==null)throw new h("createBulkImportDTO","Required parameter createBulkImportDTO was null or undefined when calling createBulkImport.");const t="/v2/bulk-imports",s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"POST",...n,...r},i={},l={};return i["Content-Type"]="application/json",Object.entries({...l,...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},o.data=JSON.stringify(e!==void 0?e:{}),{url:s.pathname+s.search,options:o}},createTemporaryUploadUrl(e,r={}){if(e==null)throw new h("createTemporaryUploadUrlDTO","Required parameter createTemporaryUploadUrlDTO was null or undefined when calling createTemporaryUploadUrl.");const t="/v2/bulk-imports/upload-url",s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"POST",...n,...r},i={},l={};return i["Content-Type"]="application/json",Object.entries({...l,...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},o.data=JSON.stringify(e!==void 0?e:{}),{url:s.pathname+s.search,options:o}},getAllBulkImports(e={}){const r="/v2/bulk-imports",t=new URL(r,"http://placeholder");let s;a&&(s=a.baseOptions);const n={method:"GET",...s,...e},o={};return Object.entries({...{},...e.query}).forEach(([l,d])=>{d!==void 0&&t.searchParams.set(l,String(d))}),n.headers={...o,...e.headers},{url:t.pathname+t.search,options:n}},getBulkImportById(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling getBulkImportById.");const t="/v2/bulk-imports/{id}".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},getBulkImportDownloadUrl(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling getBulkImportDownloadUrl.");const t="/v2/bulk-imports/{id}/download-url".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},getExampleCsv(e={}){const r="/v2/bulk-imports/example.csv",t=new URL(r,"http://placeholder");let s;a&&(s=a.baseOptions);const n={method:"GET",...s,...e},o={};return Object.entries({...{},...e.query}).forEach(([l,d])=>{d!==void 0&&t.searchParams.set(l,String(d))}),n.headers={...o,...e.headers},{url:t.pathname+t.search,options:n}},getFailedRowsCsv(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling getFailedRowsCsv.");const t="/v2/bulk-imports/{id}/failed-rows.csv".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},processUploadFile(e,r,t={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling processUploadFile.");if(r==null)throw new h("processUploadFileDTO","Required parameter processUploadFileDTO was null or undefined when calling processUploadFile.");const s="/v2/bulk-imports/{id}/process-upload".replace("{id}",encodeURIComponent(String(e))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"POST",...o,...t},l={},d={};return l["Content-Type"]="application/json",Object.entries({...d,...t.query}).forEach(([c,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)}},getExampleCsv(e){const r=_(a).getExampleCsv(e);return(t=p,s=u)=>{const n={...r.options,url:s+r.url};return t.request(n)}},getFailedRowsCsv(e,r){const t=_(a).getFailedRowsCsv(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},processUploadFile(e,r,t){const s=_(a).processUploadFile(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}}}},xn=function(a,e,r){return{createBulkImport(t,s){return v(a).createBulkImport(t,s)(r,e)},createTemporaryUploadUrl(t,s){return v(a).createTemporaryUploadUrl(t,s)(r,e)},getAllBulkImports(t){return v(a).getAllBulkImports(t)(r,e)},getBulkImportById(t,s){return v(a).getBulkImportById(t,s)(r,e)},getBulkImportDownloadUrl(t,s){return v(a).getBulkImportDownloadUrl(t,s)(r,e)},getExampleCsv(t){return v(a).getExampleCsv(t)(r,e)},getFailedRowsCsv(t,s){return v(a).getFailedRowsCsv(t,s)(r,e)},processUploadFile(t,s,n){return v(a).processUploadFile(t,s,n)(r,e)}}};class Un extends R{createBulkImport(e,r){return v(this.configuration).createBulkImport(e,r)(this.axios,this.basePath)}createTemporaryUploadUrl(e,r){return v(this.configuration).createTemporaryUploadUrl(e,r)(this.axios,this.basePath)}getAllBulkImports(e){return v(this.configuration).getAllBulkImports(e)(this.axios,this.basePath)}getBulkImportById(e,r){return v(this.configuration).getBulkImportById(e,r)(this.axios,this.basePath)}getBulkImportDownloadUrl(e,r){return v(this.configuration).getBulkImportDownloadUrl(e,r)(this.axios,this.basePath)}getExampleCsv(e){return v(this.configuration).getExampleCsv(e)(this.axios,this.basePath)}getFailedRowsCsv(e,r){return v(this.configuration).getFailedRowsCsv(e,r)(this.axios,this.basePath)}processUploadFile(e,r,t){return v(this.configuration).processUploadFile(e,r,t)(this.axios,this.basePath)}}async function Dn(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 Ln(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 Bn(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 Fn(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 jn(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 Mn(a,e=p,r=u,t){const s=_(a).getExampleCsv(t),n={...s.options,url:r+s.url};return(await e.request(n)).data}async function Hn(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 Gn(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)}}}},kn=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 Qn 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 Yn(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 zn(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 $n(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 Wn(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 Jn(a,e,r=p,t=u,s){const n=ee(e).verifyPostcode(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}const Ke=function(a){return{findCheckById(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling findCheckById.");const t="/v2/checks/{id}".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},override(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling override.");const t="/v2/checks/{id}/override".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"PATCH",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}}}},Xe=function(a){return{findCheckById(e,r){const t=Ke(a).findCheckById(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},override(e,r){const t=Ke(a).override(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}}}},Kn=function(a,e,r){return{findCheckById(t,s){return Xe(a).findCheckById(t,s)(r,e)},override(t,s){return Xe(a).override(t,s)(r,e)}}};class Xn extends R{findCheckById(e,r){return Xe(this.configuration).findCheckById(e,r)(this.axios,this.basePath)}override(e,r){return Xe(this.configuration).override(e,r)(this.axios,this.basePath)}}async function Zn(a,e,r=p,t=u,s){const n=Ke(e).findCheckById(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function eo(a,e,r=p,t=u,s){const n=Ke(e).override(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}const te=function(a){return{addClaimDocument(e,r,t,s,n={}){if(e==null)throw new h("claimId","Required parameter claimId was null or undefined when calling addClaimDocument.");if(r==null)throw new h("file","Required parameter file was null or undefined when calling addClaimDocument.");if(t==null)throw new h("name","Required parameter name was null or undefined when calling addClaimDocument.");if(s==null)throw new h("type","Required parameter type was null or undefined when calling addClaimDocument.");const o="/v2/claims/{claimId}/documents".replace("{claimId}",encodeURIComponent(String(e))),i=new URL(o,"http://placeholder");let l;a&&(l=a.baseOptions);const d={method:"POST",...l,...n},c={},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)}}}},ro=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 to 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 ao(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 so(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 no(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 oo(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 io(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 Ze=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}}}},er=function(a){return{applyClaimItemCorrection(e,r,t){const s=Ze(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=Ze(a).dryRunClaimItemCorrection(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}}}},lo=function(a,e,r){return{applyClaimItemCorrection(t,s,n){return er(a).applyClaimItemCorrection(t,s,n)(r,e)},dryRunClaimItemCorrection(t,s,n){return er(a).dryRunClaimItemCorrection(t,s,n)(r,e)}}};class co extends R{applyClaimItemCorrection(e,r,t){return er(this.configuration).applyClaimItemCorrection(e,r,t)(this.axios,this.basePath)}dryRunClaimItemCorrection(e,r,t){return er(this.configuration).dryRunClaimItemCorrection(e,r,t)(this.axios,this.basePath)}}async function uo(a,e,r,t=p,s=u,n){const o=Ze(r).applyClaimItemCorrection(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function po(a,e,r,t=p,s=u,n){const o=Ze(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)}}}},ho=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 Ao 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 mo(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 Ro(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 Io(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 Po(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 go(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)}}}},wo=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 Oo 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 fo(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 yo(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 Eo(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 be=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=be(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=be(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=be(a).updateClaimItem(e,r,t,s);return(o=p,i=u)=>{const l={...n.options,url:i+n.url};return o.request(l)}}}},Co=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 Vo 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=be(r).createClaimItem(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function _o(a,e,r,t=p,s=u,n){const o=be(r).deleteClaimItem(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function vo(a,e,r,t,s=p,n=u,o){const i=be(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)}}}},bo=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 So 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 To(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 No(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 Uo(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 Do(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)}}}},Lo=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 Bo 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 Fo(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 jo(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 Mo(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 Ho(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}},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}},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}}}},f=function(a){return{acknowledgeCaseSentToInsurer(e,r){const t=O(a).acknowledgeCaseSentToInsurer(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},approveClaim(e,r){const t=O(a).approveClaim(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},createClaim(e,r){const t=O(a).createClaim(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},createClaimActivity(e,r,t){const s=O(a).createClaimActivity(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},createInsuranceClaimOnClaim(e,r){const t=O(a).createInsuranceClaimOnClaim(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},deactivateClaim(e,r,t){const s=O(a).deactivateClaim(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},declineClaim(e,r){const t=O(a).declineClaim(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},findClaimById(e,r){const t=O(a).findClaimById(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},generateADRForm(e,r){const t=O(a).generateADRForm(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},optimisedSearchClaim(e,r,t,s,n,o,i,l){const d=O(a).optimisedSearchClaim(e,r,t,s,n,o,i,l);return(c=p,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)}},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)}}}},Go=function(a,e,r){return{acknowledgeCaseSentToInsurer(t,s){return f(a).acknowledgeCaseSentToInsurer(t,s)(r,e)},approveClaim(t,s){return f(a).approveClaim(t,s)(r,e)},createClaim(t,s){return f(a).createClaim(t,s)(r,e)},createClaimActivity(t,s,n){return f(a).createClaimActivity(t,s,n)(r,e)},createInsuranceClaimOnClaim(t,s){return f(a).createInsuranceClaimOnClaim(t,s)(r,e)},deactivateClaim(t,s,n){return f(a).deactivateClaim(t,s,n)(r,e)},declineClaim(t,s){return f(a).declineClaim(t,s)(r,e)},findClaimById(t,s){return f(a).findClaimById(t,s)(r,e)},generateADRForm(t,s){return f(a).generateADRForm(t,s)(r,e)},optimisedSearchClaim(t,s,n,o,i,l,d,c){return f(a).optimisedSearchClaim(t,s,n,o,i,l,d,c)(r,e)},paySupplier(t,s,n){return f(a).paySupplier(t,s,n)(r,e)},publishClaim(t,s){return f(a).publishClaim(t,s)(r,e)},readyForArbitrateClaim(t,s){return f(a).readyForArbitrateClaim(t,s)(r,e)},reopenClaim(t,s,n){return f(a).reopenClaim(t,s,n)(r,e)},requestMoreInfoClaim(t,s,n){return f(a).requestMoreInfoClaim(t,s,n)(r,e)},resolveClaim(t,s,n){return f(a).resolveClaim(t,s,n)(r,e)},skipEvidenceChaser(t,s){return f(a).skipEvidenceChaser(t,s)(r,e)},submitMoreInfoClaim(t,s,n){return f(a).submitMoreInfoClaim(t,s,n)(r,e)},updateAutoCharge(t,s,n){return f(a).updateAutoCharge(t,s,n)(r,e)},updateClaim(t,s,n){return f(a).updateClaim(t,s,n)(r,e)},updateTenantDisputeMessage(t,s,n){return f(a).updateTenantDisputeMessage(t,s,n)(r,e)},verifyClaim(t,s){return f(a).verifyClaim(t,s)(r,e)},waiveDisputeFee(t,s){return f(a).waiveDisputeFee(t,s)(r,e)},zipDocuments(t,s,n){return f(a).zipDocuments(t,s,n)(r,e)}}};class ko extends R{acknowledgeCaseSentToInsurer(e,r){return f(this.configuration).acknowledgeCaseSentToInsurer(e,r)(this.axios,this.basePath)}approveClaim(e,r){return f(this.configuration).approveClaim(e,r)(this.axios,this.basePath)}createClaim(e,r){return f(this.configuration).createClaim(e,r)(this.axios,this.basePath)}createClaimActivity(e,r,t){return f(this.configuration).createClaimActivity(e,r,t)(this.axios,this.basePath)}createInsuranceClaimOnClaim(e,r){return f(this.configuration).createInsuranceClaimOnClaim(e,r)(this.axios,this.basePath)}deactivateClaim(e,r,t){return f(this.configuration).deactivateClaim(e,r,t)(this.axios,this.basePath)}declineClaim(e,r){return f(this.configuration).declineClaim(e,r)(this.axios,this.basePath)}findClaimById(e,r){return f(this.configuration).findClaimById(e,r)(this.axios,this.basePath)}generateADRForm(e,r){return f(this.configuration).generateADRForm(e,r)(this.axios,this.basePath)}optimisedSearchClaim(e,r,t,s,n,o,i,l){return f(this.configuration).optimisedSearchClaim(e,r,t,s,n,o,i,l)(this.axios,this.basePath)}paySupplier(e,r,t){return f(this.configuration).paySupplier(e,r,t)(this.axios,this.basePath)}publishClaim(e,r){return f(this.configuration).publishClaim(e,r)(this.axios,this.basePath)}readyForArbitrateClaim(e,r){return f(this.configuration).readyForArbitrateClaim(e,r)(this.axios,this.basePath)}reopenClaim(e,r,t){return f(this.configuration).reopenClaim(e,r,t)(this.axios,this.basePath)}requestMoreInfoClaim(e,r,t){return f(this.configuration).requestMoreInfoClaim(e,r,t)(this.axios,this.basePath)}resolveClaim(e,r,t){return f(this.configuration).resolveClaim(e,r,t)(this.axios,this.basePath)}skipEvidenceChaser(e,r){return f(this.configuration).skipEvidenceChaser(e,r)(this.axios,this.basePath)}submitMoreInfoClaim(e,r,t){return f(this.configuration).submitMoreInfoClaim(e,r,t)(this.axios,this.basePath)}updateAutoCharge(e,r,t){return f(this.configuration).updateAutoCharge(e,r,t)(this.axios,this.basePath)}updateClaim(e,r,t){return f(this.configuration).updateClaim(e,r,t)(this.axios,this.basePath)}updateTenantDisputeMessage(e,r,t){return f(this.configuration).updateTenantDisputeMessage(e,r,t)(this.axios,this.basePath)}verifyClaim(e,r){return f(this.configuration).verifyClaim(e,r)(this.axios,this.basePath)}waiveDisputeFee(e,r){return f(this.configuration).waiveDisputeFee(e,r)(this.axios,this.basePath)}zipDocuments(e,r,t){return f(this.configuration).zipDocuments(e,r,t)(this.axios,this.basePath)}}async function Qo(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 Yo(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 zo(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 $o(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 Wo(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 Jo(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 Ko(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 Xo(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 Zo(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 ei(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 ri(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 ti(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 ai(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 si(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 ni(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 oi(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 ii(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 li(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 ci(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 di(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 ui(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 pi(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 hi(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 Ai(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 Mr=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}}}},Hr=function(a){return{generateCommissionCsvForPeriod(e,r){const t=Mr(a).generateCommissionCsvForPeriod(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}}}},mi=function(a,e,r){return{generateCommissionCsvForPeriod(t,s){return Hr(a).generateCommissionCsvForPeriod(t,s)(r,e)}}};class Ri extends R{generateCommissionCsvForPeriod(e,r){return Hr(this.configuration).generateCommissionCsvForPeriod(e,r)(this.axios,this.basePath)}}async function Ii(a,e,r=p,t=u,s){const n=Mr(e).generateCommissionCsvForPeriod(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}const Gr=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}}}},kr=function(a){return{checkConcurrentTenancy(e,r){const t=Gr(a).checkConcurrentTenancy(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}}}},Pi=function(a,e,r){return{checkConcurrentTenancy(t,s){return kr(a).checkConcurrentTenancy(t,s)(r,e)}}};class gi extends R{checkConcurrentTenancy(e,r){return kr(this.configuration).checkConcurrentTenancy(e,r)(this.axios,this.basePath)}}async function wi(a,e,r=p,t=u,s){const n=Gr(e).checkConcurrentTenancy(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}const Qr=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}}}},Yr=function(a){return{addPaymentMethod(e,r){const t=Qr(a).addPaymentMethod(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}}}},Oi=function(a,e,r){return{addPaymentMethod(t,s){return Yr(a).addPaymentMethod(t,s)(r,e)}}};class fi extends R{addPaymentMethod(e,r){return Yr(this.configuration).addPaymentMethod(e,r)(this.axios,this.basePath)}}async function yi(a,e,r=p,t=u,s){const n=Qr(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)}}}},Ei=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 Ci 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 Vi(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 qi(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 rr=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}}}},tr=function(a){return{createEvidenceChaserItemRequest(e,r,t,s){const n=rr(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=rr(a).deleteEvidenceChaserItemRequest(e,r,t,s);return(o=p,i=u)=>{const l={...n.options,url:i+n.url};return o.request(l)}}}},vi=function(a,e,r){return{createEvidenceChaserItemRequest(t,s,n,o){return tr(a).createEvidenceChaserItemRequest(t,s,n,o)(r,e)},deleteEvidenceChaserItemRequest(t,s,n,o){return tr(a).deleteEvidenceChaserItemRequest(t,s,n,o)(r,e)}}};class bi extends R{createEvidenceChaserItemRequest(e,r,t,s){return tr(this.configuration).createEvidenceChaserItemRequest(e,r,t,s)(this.axios,this.basePath)}deleteEvidenceChaserItemRequest(e,r,t,s){return tr(this.configuration).deleteEvidenceChaserItemRequest(e,r,t,s)(this.axios,this.basePath)}}async function Si(a,e,r,t,s=p,n=u,o){const i=rr(t).createEvidenceChaserItemRequest(a,e,r,o),l={...i.options,url:n+i.url};return(await s.request(l)).data}async function Ti(a,e,r,t,s=p,n=u,o){const i=rr(t).deleteEvidenceChaserItemRequest(a,e,r,o),l={...i.options,url:n+i.url};return(await s.request(l)).data}const ar=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}}}},sr=function(a){return{createEvidenceChaserItemResponseDocument(e,r,t,s,n,o){const i=ar(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=ar(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)}}}},Ni=function(a,e,r){return{createEvidenceChaserItemResponseDocument(t,s,n,o,i,l){return sr(a).createEvidenceChaserItemResponseDocument(t,s,n,o,i,l)(r,e)},deleteEvidenceChaserItemResponseDocument(t,s,n,o,i,l){return sr(a).deleteEvidenceChaserItemResponseDocument(t,s,n,o,i,l)(r,e)}}};class xi extends R{createEvidenceChaserItemResponseDocument(e,r,t,s,n,o){return sr(this.configuration).createEvidenceChaserItemResponseDocument(e,r,t,s,n,o)(this.axios,this.basePath)}deleteEvidenceChaserItemResponseDocument(e,r,t,s,n,o){return sr(this.configuration).deleteEvidenceChaserItemResponseDocument(e,r,t,s,n,o)(this.axios,this.basePath)}}async function Ui(a,e,r,t,s,n,o=p,i=u,l){const d=ar(n).createEvidenceChaserItemResponseDocument(a,e,r,t,s,l),c={...d.options,url:i+d.url};return(await o.request(c)).data}async function Di(a,e,r,t,s,n,o=p,i=u,l){const d=ar(n).deleteEvidenceChaserItemResponseDocument(a,e,r,t,s,l),c={...d.options,url:i+d.url};return(await o.request(c)).data}const nr=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}}}},or=function(a){return{createEvidenceChaserItemResponse(e,r,t,s,n){const o=nr(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=nr(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)}}}},Li=function(a,e,r){return{createEvidenceChaserItemResponse(t,s,n,o,i){return or(a).createEvidenceChaserItemResponse(t,s,n,o,i)(r,e)},updateEvidenceChaserItemResponse(t,s,n,o,i,l){return or(a).updateEvidenceChaserItemResponse(t,s,n,o,i,l)(r,e)}}};class Bi extends R{createEvidenceChaserItemResponse(e,r,t,s,n){return or(this.configuration).createEvidenceChaserItemResponse(e,r,t,s,n)(this.axios,this.basePath)}updateEvidenceChaserItemResponse(e,r,t,s,n,o){return or(this.configuration).updateEvidenceChaserItemResponse(e,r,t,s,n,o)(this.axios,this.basePath)}}async function Fi(a,e,r,t,s,n=p,o=u,i){const l=nr(s).createEvidenceChaserItemResponse(a,e,r,t,i),d={...l.options,url:o+l.url};return(await n.request(d)).data}async function ji(a,e,r,t,s,n,o=p,i=u,l){const d=nr(n).updateEvidenceChaserItemResponse(a,e,r,t,s,l),c={...d.options,url:i+d.url};return(await o.request(c)).data}const ir=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}}}},lr=function(a){return{createEvidenceChaserItemReview(e,r,t,s,n,o){const i=ir(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=ir(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)}}}},Mi=function(a,e,r){return{createEvidenceChaserItemReview(t,s,n,o,i,l){return lr(a).createEvidenceChaserItemReview(t,s,n,o,i,l)(r,e)},updateEvidenceChaserItemReview(t,s,n,o,i,l,d){return lr(a).updateEvidenceChaserItemReview(t,s,n,o,i,l,d)(r,e)}}};class Hi extends R{createEvidenceChaserItemReview(e,r,t,s,n,o){return lr(this.configuration).createEvidenceChaserItemReview(e,r,t,s,n,o)(this.axios,this.basePath)}updateEvidenceChaserItemReview(e,r,t,s,n,o,i){return lr(this.configuration).updateEvidenceChaserItemReview(e,r,t,s,n,o,i)(this.axios,this.basePath)}}async function Gi(a,e,r,t,s,n,o=p,i=u,l){const d=ir(n).createEvidenceChaserItemReview(a,e,r,t,s,l),c={...d.options,url:i+d.url};return(await o.request(c)).data}async function ki(a,e,r,t,s,n,o,i=p,l=u,d){const c=ir(o).updateEvidenceChaserItemReview(a,e,r,t,s,n,d),A={...c.options,url:l+c.url};return(await i.request(A)).data}const cr=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}}}},dr=function(a){return{createEvidenceChaserItem(e,r,t){const s=cr(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=cr(a).updateEvidenceChaserItem(e,r,t,s);return(o=p,i=u)=>{const l={...n.options,url:i+n.url};return o.request(l)}}}},Qi=function(a,e,r){return{createEvidenceChaserItem(t,s,n){return dr(a).createEvidenceChaserItem(t,s,n)(r,e)},updateEvidenceChaserItem(t,s,n,o){return dr(a).updateEvidenceChaserItem(t,s,n,o)(r,e)}}};class Yi extends R{createEvidenceChaserItem(e,r,t){return dr(this.configuration).createEvidenceChaserItem(e,r,t)(this.axios,this.basePath)}updateEvidenceChaserItem(e,r,t,s){return dr(this.configuration).updateEvidenceChaserItem(e,r,t,s)(this.axios,this.basePath)}}async function zi(a,e,r,t=p,s=u,n){const o=cr(r).createEvidenceChaserItem(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function $i(a,e,r,t,s=p,n=u,o){const i=cr(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)}}}},Wi=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 Ji 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 Ki(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 Xi(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 Zi(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)}}}},el=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 rl 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 tl(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 al(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 sl(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 zr=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}}}},$r=function(a){return{submitFeedback(e,r){const t=zr(a).submitFeedback(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}}}},nl=function(a,e,r){return{submitFeedback(t,s){return $r(a).submitFeedback(t,s)(r,e)}}};class ol extends R{submitFeedback(e,r){return $r(this.configuration).submitFeedback(e,r)(this.axios,this.basePath)}}async function il(a,e,r=p,t=u,s){const n=zr(e).submitFeedback(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}const ur=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}}}},pr=function(a){return{dbHealthCheck(e){const r=ur(a).dbHealthCheck(e);return(t=p,s=u)=>{const n={...r.options,url:s+r.url};return t.request(n)}},healthCheck(e){const r=ur(a).healthCheck(e);return(t=p,s=u)=>{const n={...r.options,url:s+r.url};return t.request(n)}}}},ll=function(a,e,r){return{dbHealthCheck(t){return pr(a).dbHealthCheck(t)(r,e)},healthCheck(t){return pr(a).healthCheck(t)(r,e)}}};class cl extends R{dbHealthCheck(e){return pr(this.configuration).dbHealthCheck(e)(this.axios,this.basePath)}healthCheck(e){return pr(this.configuration).healthCheck(e)(this.axios,this.basePath)}}async function dl(a,e=p,r=u,t){const s=ur(a).dbHealthCheck(t),n={...s.options,url:r+s.url};return(await e.request(n)).data}async function ul(a,e=p,r=u,t){const s=ur(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)}}}},pl=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 hl 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 Al(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 ml(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 Rl(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 Il(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 Pl(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 gl(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 wl(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)}}}},Ol=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 fl 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 yl(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 El(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 Cl(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 Wr=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}}}},Jr=function(a){return{getIntegrators(e){const r=Wr(a).getIntegrators(e);return(t=p,s=u)=>{const n={...r.options,url:s+r.url};return t.request(n)}}}},Vl=function(a,e,r){return{getIntegrators(t){return Jr(a).getIntegrators(t)(r,e)}}};class ql extends R{getIntegrators(e){return Jr(this.configuration).getIntegrators(e)(this.axios,this.basePath)}}async function _l(a,e=p,r=u,t){const s=Wr(a).getIntegrators(t),n={...s.options,url:r+s.url};return(await e.request(n)).data}const Kr=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}}}},Xr=function(a){return{generateLastMonthCommission(e,r){const t=Kr(a).generateLastMonthCommission(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}}}},vl=function(a,e,r){return{generateLastMonthCommission(t,s){return Xr(a).generateLastMonthCommission(t,s)(r,e)}}};class bl extends R{generateLastMonthCommission(e,r){return Xr(this.configuration).generateLastMonthCommission(e,r)(this.axios,this.basePath)}}async function Sl(a,e,r=p,t=u,s){const n=Kr(e).generateLastMonthCommission(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}const hr=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}}}},Ar=function(a){return{getCompletedReposits(e){const r=hr(a).getCompletedReposits(e);return(t=p,s=u)=>{const n={...r.options,url:s+r.url};return t.request(n)}},getCreatedReposits(e){const r=hr(a).getCreatedReposits(e);return(t=p,s=u)=>{const n={...r.options,url:s+r.url};return t.request(n)}}}},Tl=function(a,e,r){return{getCompletedReposits(t){return Ar(a).getCompletedReposits(t)(r,e)},getCreatedReposits(t){return Ar(a).getCreatedReposits(t)(r,e)}}};class Nl extends R{getCompletedReposits(e){return Ar(this.configuration).getCompletedReposits(e)(this.axios,this.basePath)}getCreatedReposits(e){return Ar(this.configuration).getCreatedReposits(e)(this.axios,this.basePath)}}async function xl(a,e=p,r=u,t){const s=hr(a).getCompletedReposits(t),n={...s.options,url:r+s.url};return(await e.request(n)).data}async function Ul(a,e=p,r=u,t){const s=hr(a).getCreatedReposits(t),n={...s.options,url:r+s.url};return(await e.request(n)).data}const Zr=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}}}},et=function(a){return{findAll(e){const r=Zr(a).findAll(e);return(t=p,s=u)=>{const n={...r.options,url:s+r.url};return t.request(n)}}}},Dl=function(a,e,r){return{findAll(t){return et(a).findAll(t)(r,e)}}};class Ll extends R{findAll(e){return et(this.configuration).findAll(e)(this.axios,this.basePath)}}async function Bl(a,e=p,r=u,t){const s=Zr(a).findAll(t),n={...s.options,url:r+s.url};return(await e.request(n)).data}const rt=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}}}},tt=function(a){return{searchKpiDocuments(e,r,t,s,n){const o=rt(a).searchKpiDocuments(e,r,t,s,n);return(i=p,l=u)=>{const d={...o.options,url:l+o.url};return i.request(d)}}}},Fl=function(a,e,r){return{searchKpiDocuments(t,s,n,o,i){return tt(a).searchKpiDocuments(t,s,n,o,i)(r,e)}}};class jl extends R{searchKpiDocuments(e,r,t,s,n){return tt(this.configuration).searchKpiDocuments(e,r,t,s,n)(this.axios,this.basePath)}}async function Ml(a,e,r,t,s,n=p,o=u,i){const l=rt(s).searchKpiDocuments(a,e,r,t,i),d={...l.options,url:o+l.url};return(await n.request(d)).data}const mr=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}}}},Rr=function(a){return{getLandlordById(e,r){const t=mr(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=mr(a).updateLandlord(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}}}},Hl=function(a,e,r){return{getLandlordById(t,s){return Rr(a).getLandlordById(t,s)(r,e)},updateLandlord(t,s,n){return Rr(a).updateLandlord(t,s,n)(r,e)}}};class Gl extends R{getLandlordById(e,r){return Rr(this.configuration).getLandlordById(e,r)(this.axios,this.basePath)}updateLandlord(e,r,t){return Rr(this.configuration).updateLandlord(e,r,t)(this.axios,this.basePath)}}async function kl(a,e,r=p,t=u,s){const n=mr(e).getLandlordById(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=mr(r).updateLandlord(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}const at=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}}}},st=function(a){return{processIncomingMessage(e,r){const t=at(a).processIncomingMessage(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{processIncomingMessage(t,s){return st(a).processIncomingMessage(t,s)(r,e)}}};class zl extends R{processIncomingMessage(e,r){return st(this.configuration).processIncomingMessage(e,r)(this.axios,this.basePath)}}async function $l(a,e,r=p,t=u,s){const n=at(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)}}}},Wl=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 Jl 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 Kl(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 Xl(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 Zl(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 ec(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 rc(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 tc(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 nt=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}}}},ot=function(a){return{createNetPromoterScore(e,r){const t=nt(a).createNetPromoterScore(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}}}},ac=function(a,e,r){return{createNetPromoterScore(t,s){return ot(a).createNetPromoterScore(t,s)(r,e)}}};class sc extends R{createNetPromoterScore(e,r){return ot(this.configuration).createNetPromoterScore(e,r)(this.axios,this.basePath)}}async function nc(a,e,r=p,t=u,s){const n=nt(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)}}}},oc=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 ic 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 lc(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 cc(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 dc(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 uc(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 pc(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 hc(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 Ac(a,e,r,t=p,s=u,n){const o=x(r).signAddendumForTenant(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}const je=function(a){return{getOrderCustomerById(e,r,t={}){if(e==null)throw new h("orderId","Required parameter orderId was null or undefined when calling getOrderCustomerById.");if(r==null)throw new h("customerId","Required parameter customerId was null or undefined when calling getOrderCustomerById.");const s="/v2/orders/{orderId}/customers/{customerId}".replace("{orderId}",encodeURIComponent(String(e))).replace("{customerId}",encodeURIComponent(String(r))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"GET",...o,...t},l={};return Object.entries({...{},...t.query}).forEach(([c,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}}}},Me=function(a){return{getOrderCustomerById(e,r,t){const s=je(a).getOrderCustomerById(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},getTenancyUserById(e,r,t){const s=je(a).getTenancyUserById(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},paymentCardChecks(e,r,t,s){const n=je(a).paymentCardChecks(e,r,t,s);return(o=p,i=u)=>{const l={...n.options,url:i+n.url};return o.request(l)}}}},mc=function(a,e,r){return{getOrderCustomerById(t,s,n){return Me(a).getOrderCustomerById(t,s,n)(r,e)},getTenancyUserById(t,s,n){return Me(a).getTenancyUserById(t,s,n)(r,e)},paymentCardChecks(t,s,n,o){return Me(a).paymentCardChecks(t,s,n,o)(r,e)}}};class Rc extends R{getOrderCustomerById(e,r,t){return Me(this.configuration).getOrderCustomerById(e,r,t)(this.axios,this.basePath)}getTenancyUserById(e,r,t){return Me(this.configuration).getTenancyUserById(e,r,t)(this.axios,this.basePath)}paymentCardChecks(e,r,t,s){return Me(this.configuration).paymentCardChecks(e,r,t,s)(this.axios,this.basePath)}}async function Ic(a,e,r,t=p,s=u,n){const o=je(r).getOrderCustomerById(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function Pc(a,e,r,t=p,s=u,n){const o=je(r).getTenancyUserById(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function gc(a,e,r,t,s=p,n=u,o){const i=je(t).paymentCardChecks(a,e,r,o),l={...i.options,url:n+i.url};return(await s.request(l)).data}const Ir=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}}}},Pr=function(a){return{duplicatePaymentMethodCheck(e,r,t){const s=Ir(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=Ir(a).getAmountRemaining(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}}}},wc=function(a,e,r){return{duplicatePaymentMethodCheck(t,s,n){return Pr(a).duplicatePaymentMethodCheck(t,s,n)(r,e)},getAmountRemaining(t,s,n){return Pr(a).getAmountRemaining(t,s,n)(r,e)}}};class Oc extends R{duplicatePaymentMethodCheck(e,r,t){return Pr(this.configuration).duplicatePaymentMethodCheck(e,r,t)(this.axios,this.basePath)}getAmountRemaining(e,r,t){return Pr(this.configuration).getAmountRemaining(e,r,t)(this.axios,this.basePath)}}async function fc(a,e,r,t=p,s=u,n){const o=Ir(r).duplicatePaymentMethodCheck(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=Ir(r).getAmountRemaining(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}const He=function(a){return{create(e,r,t={}){if(e==null)throw new h("organizationId","Required parameter organizationId was null or undefined when calling create.");if(r==null)throw new h("createOrganizationBankAccountDTO","Required parameter createOrganizationBankAccountDTO was null or undefined when calling create.");const s="/v2/organizations/{organizationId}/bank-accounts".replace("{organizationId}",encodeURIComponent(String(e))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"POST",...o,...t},l={},d={};return l["Content-Type"]="application/json",Object.entries({...d,...t.query}).forEach(([c,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}}}},Ge=function(a){return{create(e,r,t){const s=He(a).create(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},deleteBankAccount(e,r,t){const s=He(a).deleteBankAccount(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},getBankAccounts(e,r){const t=He(a).getBankAccounts(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}}}},Ec=function(a,e,r){return{create(t,s,n){return Ge(a).create(t,s,n)(r,e)},deleteBankAccount(t,s,n){return Ge(a).deleteBankAccount(t,s,n)(r,e)},getBankAccounts(t,s){return Ge(a).getBankAccounts(t,s)(r,e)}}};class Cc extends R{create(e,r,t){return Ge(this.configuration).create(e,r,t)(this.axios,this.basePath)}deleteBankAccount(e,r,t){return Ge(this.configuration).deleteBankAccount(e,r,t)(this.axios,this.basePath)}getBankAccounts(e,r){return Ge(this.configuration).getBankAccounts(e,r)(this.axios,this.basePath)}}async function Vc(a,e,r,t=p,s=u,n){const o=He(r).create(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function qc(a,e,r,t=p,s=u,n){const o=He(r).deleteBankAccount(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function _c(a,e,r=p,t=u,s){const n=He(e).getBankAccounts(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}const it=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}}}},lt=function(a){return{getOwners(e,r){const t=it(a).getOwners(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}}}},vc=function(a,e,r){return{getOwners(t,s){return lt(a).getOwners(t,s)(r,e)}}};class bc extends R{getOwners(e,r){return lt(this.configuration).getOwners(e,r)(this.axios,this.basePath)}}async function Sc(a,e,r=p,t=u,s){const n=it(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)}}}},Tc=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 Nc 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 xc(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 Uc(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 Dc(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 Lc(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 Bc(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 gr=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=gr(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=gr(a).deleteOrganizationRecipient(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}}}},Fc=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 jc 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 Mc(a,e,r,t=p,s=u,n){const o=gr(r).createOrganizationRecipient(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=gr(r).deleteOrganizationRecipient(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}const ke=function(a){return{grantRoles(e,r,t={}){if(e==null)throw new h("userId","Required parameter userId was null or undefined when calling grantRoles.");if(r==null)throw new h("organizationId","Required parameter organizationId was null or undefined when calling grantRoles.");const s="/v2/organizations/{organizationId}/users/{userId}/grant-roles".replace("{userId}",encodeURIComponent(String(e))).replace("{organizationId}",encodeURIComponent(String(r))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"POST",...o,...t},l={};return Object.entries({...{},...t.query}).forEach(([c,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}}}},Qe=function(a){return{grantRoles(e,r,t){const s=ke(a).grantRoles(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},notifyIntegrator(e,r,t,s){const n=ke(a).notifyIntegrator(e,r,t,s);return(o=p,i=u)=>{const l={...n.options,url:i+n.url};return o.request(l)}},revokeRoles(e,r,t){const s=ke(a).revokeRoles(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}}}},Gc=function(a,e,r){return{grantRoles(t,s,n){return Qe(a).grantRoles(t,s,n)(r,e)},notifyIntegrator(t,s,n,o){return Qe(a).notifyIntegrator(t,s,n,o)(r,e)},revokeRoles(t,s,n){return Qe(a).revokeRoles(t,s,n)(r,e)}}};class kc extends R{grantRoles(e,r,t){return Qe(this.configuration).grantRoles(e,r,t)(this.axios,this.basePath)}notifyIntegrator(e,r,t,s){return Qe(this.configuration).notifyIntegrator(e,r,t,s)(this.axios,this.basePath)}revokeRoles(e,r,t){return Qe(this.configuration).revokeRoles(e,r,t)(this.axios,this.basePath)}}async function Qc(a,e,r,t=p,s=u,n){const o=ke(r).grantRoles(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function Yc(a,e,r,t,s=p,n=u,o){const i=ke(t).notifyIntegrator(a,e,r,o),l={...i.options,url:n+i.url};return(await s.request(l)).data}async function zc(a,e,r,t=p,s=u,n){const o=ke(r).revokeRoles(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}const g=function(a){return{confirmBankAccounts(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling confirmBankAccounts.");const t="/v2/organizations/{id}/onboarding/bank-accounts".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"PATCH",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},createOrganization(e,r={}){if(e==null)throw new h("createOrganizationDTO","Required parameter createOrganizationDTO was null or undefined when calling createOrganization.");const t="/v2/organizations",s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"POST",...n,...r},i={},l={};return i["Content-Type"]="application/json",Object.entries({...l,...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},o.data=JSON.stringify(e!==void 0?e:{}),{url:s.pathname+s.search,options:o}},disableProductCreation(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling disableProductCreation.");const t="/v2/organizations/{id}/disable".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"PATCH",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},dismissOrganizationMessage(e,r,t={}){if(e==null)throw new h("messageId","Required parameter messageId was null or undefined when calling dismissOrganizationMessage.");if(r==null)throw new h("id","Required parameter id was null or undefined when calling dismissOrganizationMessage.");const s="/v2/organizations/{id}/messages/{messageId}/dismiss".replace("{messageId}",encodeURIComponent(String(e))).replace("{id}",encodeURIComponent(String(r))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"POST",...o,...t},l={};return Object.entries({...{},...t.query}).forEach(([c,A])=>{A!==void 0&&n.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},{url:n.pathname+n.search,options:i}},enableProductCreation(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling enableProductCreation.");const t="/v2/organizations/{id}/enable".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"PATCH",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},fetchAddressesByOrganizationId(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling fetchAddressesByOrganizationId.");const t="/v2/organizations/{id}/addresses".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},fetchLandlordsByOrganizationId(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling fetchLandlordsByOrganizationId.");const t="/v2/organizations/{id}/landlords".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},fetchOrganizationUsersByOrganizationId(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling fetchOrganizationUsersByOrganizationId.");const t="/v2/organizations/{id}/organization-users".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},fetchPropertiesByOrganizationId(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling fetchPropertiesByOrganizationId.");const t="/v2/organizations/{id}/properties".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},fetchTenanciesByOrganizationId(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling fetchTenanciesByOrganizationId.");const t="/v2/organizations/{id}/tenancies".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},fetchUsersByOrganizationId(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling fetchUsersByOrganizationId.");const t="/v2/organizations/{id}/users".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},findOrganizationById(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling findOrganizationById.");const t="/v2/organizations/{id}".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},getCashDepositScheme(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling getCashDepositScheme.");const t="/v2/organizations/{id}/cash-deposit-scheme".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},getChildren(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling getChildren.");const t="/v2/organizations/{id}/children".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},getOrganizationMetrics(e,r={}){if(e==null)throw new h("organizationId","Required parameter organizationId was null or undefined when calling getOrganizationMetrics.");const t="/v2/organizations/{organizationId}/metrics".replace("{organizationId}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},getOrganizationVerticals(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling getOrganizationVerticals.");const t="/v2/organizations/{id}/verticals".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},getRecipients(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling getRecipients.");const t="/v2/organizations/{id}/recipients".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},removeUser(e,r,t={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling removeUser.");if(r==null)throw new h("userId","Required parameter userId was null or undefined when calling removeUser.");const s="/v2/organizations/{id}/users/{userId}".replace("{id}",encodeURIComponent(String(e))).replace("{userId}",encodeURIComponent(String(r))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"DELETE",...o,...t},l={};return Object.entries({...{},...t.query}).forEach(([c,A])=>{A!==void 0&&n.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},{url:n.pathname+n.search,options:i}},searchOrganization(e,r,t,s,n,o={}){if(e==null)throw new h("organizationTypeId","Required parameter organizationTypeId was null or undefined when calling searchOrganization.");if(r==null)throw new h("page","Required parameter page was null or undefined when calling searchOrganization.");if(t==null)throw new h("size","Required parameter size was null or undefined when calling searchOrganization.");const i="/v2/organizations",l=new URL(i,"http://placeholder");let d;a&&(d=a.baseOptions);const c={method:"GET",...d,...o},A={},m={};return s!==void 0&&(m.query=s),e!==void 0&&(m.organizationTypeId=e),n!==void 0&&(m.sortBy=n),r!==void 0&&(m.page=r),t!==void 0&&(m.size=t),Object.entries({...m,...o.query}).forEach(([I,P])=>{P!==void 0&&l.searchParams.set(I,String(P))}),c.headers={...A,...o.headers},{url:l.pathname+l.search,options:c}},setLandlordInformationComplete(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling setLandlordInformationComplete.");const t="/v2/organizations/{id}/onboarding/landlord-information".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"PATCH",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},updateASTAcceptance(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling updateASTAcceptance.");const t="/v2/organizations/{id}/onboarding/ast".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"PATCH",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},updateInformedLandlords(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling updateInformedLandlords.");const t="/v2/organizations/{id}/onboarding/informed-landlords".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"PATCH",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},updateOrganization(e,r,t={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling updateOrganization.");if(r==null)throw new h("updateOrganizationDTO","Required parameter updateOrganizationDTO was null or undefined when calling updateOrganization.");const s="/v2/organizations/{id}".replace("{id}",encodeURIComponent(String(e))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"PATCH",...o,...t},l={},d={};return l["Content-Type"]="application/json",Object.entries({...d,...t.query}).forEach(([c,A])=>{A!==void 0&&n.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:n.pathname+n.search,options:i}},updateOrganizationNotes(e,r,t={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling updateOrganizationNotes.");if(r==null)throw new h("updateOrganizationNotesDTO","Required parameter updateOrganizationNotesDTO was null or undefined when calling updateOrganizationNotes.");const s="/v2/organizations/{id}/notes".replace("{id}",encodeURIComponent(String(e))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"PATCH",...o,...t},l={},d={};return l["Content-Type"]="application/json",Object.entries({...d,...t.query}).forEach(([c,A])=>{A!==void 0&&n.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:n.pathname+n.search,options:i}},updateTermsAccepted(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling updateTermsAccepted.");const t="/v2/organizations/{id}/onboarding/terms".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"PATCH",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},updateYourCompany(e,r,t={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling updateYourCompany.");if(r==null)throw new h("updateYourCompanyDTO","Required parameter updateYourCompanyDTO was null or undefined when calling updateYourCompany.");const s="/v2/organizations/{id}/onboarding/your-company".replace("{id}",encodeURIComponent(String(e))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"PATCH",...o,...t},l={},d={};return l["Content-Type"]="application/json",Object.entries({...d,...t.query}).forEach(([c,A])=>{A!==void 0&&n.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:n.pathname+n.search,options:i}},welcomeLandlord(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling welcomeLandlord.");const t="/v2/organizations/{id}/onboarding/welcome-landlord".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"PATCH",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}}}},w=function(a){return{confirmBankAccounts(e,r){const t=g(a).confirmBankAccounts(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},createOrganization(e,r){const t=g(a).createOrganization(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},disableProductCreation(e,r){const t=g(a).disableProductCreation(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},dismissOrganizationMessage(e,r,t){const s=g(a).dismissOrganizationMessage(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},enableProductCreation(e,r){const t=g(a).enableProductCreation(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},fetchAddressesByOrganizationId(e,r){const t=g(a).fetchAddressesByOrganizationId(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},fetchLandlordsByOrganizationId(e,r){const t=g(a).fetchLandlordsByOrganizationId(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},fetchOrganizationUsersByOrganizationId(e,r){const t=g(a).fetchOrganizationUsersByOrganizationId(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},fetchPropertiesByOrganizationId(e,r){const t=g(a).fetchPropertiesByOrganizationId(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},fetchTenanciesByOrganizationId(e,r){const t=g(a).fetchTenanciesByOrganizationId(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},fetchUsersByOrganizationId(e,r){const t=g(a).fetchUsersByOrganizationId(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},findOrganizationById(e,r){const t=g(a).findOrganizationById(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},getCashDepositScheme(e,r){const t=g(a).getCashDepositScheme(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},getChildren(e,r){const t=g(a).getChildren(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},getOrganizationMetrics(e,r){const t=g(a).getOrganizationMetrics(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},getOrganizationVerticals(e,r){const t=g(a).getOrganizationVerticals(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},getRecipients(e,r){const t=g(a).getRecipients(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},removeUser(e,r,t){const s=g(a).removeUser(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},searchOrganization(e,r,t,s,n,o){const i=g(a).searchOrganization(e,r,t,s,n,o);return(l=p,d=u)=>{const c={...i.options,url:d+i.url};return l.request(c)}},setLandlordInformationComplete(e,r){const t=g(a).setLandlordInformationComplete(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},updateASTAcceptance(e,r){const t=g(a).updateASTAcceptance(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},updateInformedLandlords(e,r){const t=g(a).updateInformedLandlords(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},updateOrganization(e,r,t){const s=g(a).updateOrganization(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},updateOrganizationNotes(e,r,t){const s=g(a).updateOrganizationNotes(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},updateTermsAccepted(e,r){const t=g(a).updateTermsAccepted(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},updateYourCompany(e,r,t){const s=g(a).updateYourCompany(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},welcomeLandlord(e,r){const t=g(a).welcomeLandlord(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}}}},$c=function(a,e,r){return{confirmBankAccounts(t,s){return w(a).confirmBankAccounts(t,s)(r,e)},createOrganization(t,s){return w(a).createOrganization(t,s)(r,e)},disableProductCreation(t,s){return w(a).disableProductCreation(t,s)(r,e)},dismissOrganizationMessage(t,s,n){return w(a).dismissOrganizationMessage(t,s,n)(r,e)},enableProductCreation(t,s){return w(a).enableProductCreation(t,s)(r,e)},fetchAddressesByOrganizationId(t,s){return w(a).fetchAddressesByOrganizationId(t,s)(r,e)},fetchLandlordsByOrganizationId(t,s){return w(a).fetchLandlordsByOrganizationId(t,s)(r,e)},fetchOrganizationUsersByOrganizationId(t,s){return w(a).fetchOrganizationUsersByOrganizationId(t,s)(r,e)},fetchPropertiesByOrganizationId(t,s){return w(a).fetchPropertiesByOrganizationId(t,s)(r,e)},fetchTenanciesByOrganizationId(t,s){return w(a).fetchTenanciesByOrganizationId(t,s)(r,e)},fetchUsersByOrganizationId(t,s){return w(a).fetchUsersByOrganizationId(t,s)(r,e)},findOrganizationById(t,s){return w(a).findOrganizationById(t,s)(r,e)},getCashDepositScheme(t,s){return w(a).getCashDepositScheme(t,s)(r,e)},getChildren(t,s){return w(a).getChildren(t,s)(r,e)},getOrganizationMetrics(t,s){return w(a).getOrganizationMetrics(t,s)(r,e)},getOrganizationVerticals(t,s){return w(a).getOrganizationVerticals(t,s)(r,e)},getRecipients(t,s){return w(a).getRecipients(t,s)(r,e)},removeUser(t,s,n){return w(a).removeUser(t,s,n)(r,e)},searchOrganization(t,s,n,o,i,l){return w(a).searchOrganization(t,s,n,o,i,l)(r,e)},setLandlordInformationComplete(t,s){return w(a).setLandlordInformationComplete(t,s)(r,e)},updateASTAcceptance(t,s){return w(a).updateASTAcceptance(t,s)(r,e)},updateInformedLandlords(t,s){return w(a).updateInformedLandlords(t,s)(r,e)},updateOrganization(t,s,n){return w(a).updateOrganization(t,s,n)(r,e)},updateOrganizationNotes(t,s,n){return w(a).updateOrganizationNotes(t,s,n)(r,e)},updateTermsAccepted(t,s){return w(a).updateTermsAccepted(t,s)(r,e)},updateYourCompany(t,s,n){return w(a).updateYourCompany(t,s,n)(r,e)},welcomeLandlord(t,s){return w(a).welcomeLandlord(t,s)(r,e)}}};class Wc extends R{confirmBankAccounts(e,r){return w(this.configuration).confirmBankAccounts(e,r)(this.axios,this.basePath)}createOrganization(e,r){return w(this.configuration).createOrganization(e,r)(this.axios,this.basePath)}disableProductCreation(e,r){return w(this.configuration).disableProductCreation(e,r)(this.axios,this.basePath)}dismissOrganizationMessage(e,r,t){return w(this.configuration).dismissOrganizationMessage(e,r,t)(this.axios,this.basePath)}enableProductCreation(e,r){return w(this.configuration).enableProductCreation(e,r)(this.axios,this.basePath)}fetchAddressesByOrganizationId(e,r){return w(this.configuration).fetchAddressesByOrganizationId(e,r)(this.axios,this.basePath)}fetchLandlordsByOrganizationId(e,r){return w(this.configuration).fetchLandlordsByOrganizationId(e,r)(this.axios,this.basePath)}fetchOrganizationUsersByOrganizationId(e,r){return w(this.configuration).fetchOrganizationUsersByOrganizationId(e,r)(this.axios,this.basePath)}fetchPropertiesByOrganizationId(e,r){return w(this.configuration).fetchPropertiesByOrganizationId(e,r)(this.axios,this.basePath)}fetchTenanciesByOrganizationId(e,r){return w(this.configuration).fetchTenanciesByOrganizationId(e,r)(this.axios,this.basePath)}fetchUsersByOrganizationId(e,r){return w(this.configuration).fetchUsersByOrganizationId(e,r)(this.axios,this.basePath)}findOrganizationById(e,r){return w(this.configuration).findOrganizationById(e,r)(this.axios,this.basePath)}getCashDepositScheme(e,r){return w(this.configuration).getCashDepositScheme(e,r)(this.axios,this.basePath)}getChildren(e,r){return w(this.configuration).getChildren(e,r)(this.axios,this.basePath)}getOrganizationMetrics(e,r){return w(this.configuration).getOrganizationMetrics(e,r)(this.axios,this.basePath)}getOrganizationVerticals(e,r){return w(this.configuration).getOrganizationVerticals(e,r)(this.axios,this.basePath)}getRecipients(e,r){return w(this.configuration).getRecipients(e,r)(this.axios,this.basePath)}removeUser(e,r,t){return w(this.configuration).removeUser(e,r,t)(this.axios,this.basePath)}searchOrganization(e,r,t,s,n,o){return w(this.configuration).searchOrganization(e,r,t,s,n,o)(this.axios,this.basePath)}setLandlordInformationComplete(e,r){return w(this.configuration).setLandlordInformationComplete(e,r)(this.axios,this.basePath)}updateASTAcceptance(e,r){return w(this.configuration).updateASTAcceptance(e,r)(this.axios,this.basePath)}updateInformedLandlords(e,r){return w(this.configuration).updateInformedLandlords(e,r)(this.axios,this.basePath)}updateOrganization(e,r,t){return w(this.configuration).updateOrganization(e,r,t)(this.axios,this.basePath)}updateOrganizationNotes(e,r,t){return w(this.configuration).updateOrganizationNotes(e,r,t)(this.axios,this.basePath)}updateTermsAccepted(e,r){return w(this.configuration).updateTermsAccepted(e,r)(this.axios,this.basePath)}updateYourCompany(e,r,t){return w(this.configuration).updateYourCompany(e,r,t)(this.axios,this.basePath)}welcomeLandlord(e,r){return w(this.configuration).welcomeLandlord(e,r)(this.axios,this.basePath)}}async function Jc(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 Kc(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 Xc(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 Zc(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 ed(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 rd(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 td(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 ad(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 sd(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 nd(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 od(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 id(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 ld(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 cd(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 dd(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 ud(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 pd(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 hd(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 Ad(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 md(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 Rd(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 Id(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 Pd(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 gd(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 wd(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 Od(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 fd(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)}}}},yd=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 Ed 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 Cd(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 Vd(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 qd(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 _d(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 Ye=function(a){return{deferPaymentPlanInstalment(e,r,t,s={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling deferPaymentPlanInstalment.");if(r==null)throw new h("paymentPlanId","Required parameter paymentPlanId was null or undefined when calling deferPaymentPlanInstalment.");if(t==null)throw new h("deferPaymentPlanInstalmentDTO","Required parameter deferPaymentPlanInstalmentDTO was null or undefined when calling deferPaymentPlanInstalment.");const n="/v2/payment-plan/{paymentPlanId}/instalment/{id}/defer".replace("{id}",encodeURIComponent(String(e))).replace("{paymentPlanId}",encodeURIComponent(String(r))),o=new URL(n,"http://placeholder");let i;a&&(i=a.baseOptions);const l={method:"PATCH",...i,...s},d={},c={};return d["Content-Type"]="application/json",Object.entries({...c,...s.query}).forEach(([A,m])=>{m!==void 0&&o.searchParams.set(A,String(m))}),l.headers={...d,...s.headers},l.data=JSON.stringify(t!==void 0?t:{}),{url:o.pathname+o.search,options:l}},getInstalmentById(e,r,t={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling getInstalmentById.");if(r==null)throw new h("paymentPlanId","Required parameter paymentPlanId was null or undefined when calling getInstalmentById.");const s="/v2/payment-plan/{paymentPlanId}/instalment/{id}".replace("{id}",encodeURIComponent(String(e))).replace("{paymentPlanId}",encodeURIComponent(String(r))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"GET",...o,...t},l={};return Object.entries({...{},...t.query}).forEach(([c,A])=>{A!==void 0&&n.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},{url:n.pathname+n.search,options:i}},getInstalmentPaymentIntentSecret(e,r,t={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling getInstalmentPaymentIntentSecret.");if(r==null)throw new h("paymentPlanId","Required parameter paymentPlanId was null or undefined when calling getInstalmentPaymentIntentSecret.");const s="/v2/payment-plan/{paymentPlanId}/instalment/{id}/pay".replace("{id}",encodeURIComponent(String(e))).replace("{paymentPlanId}",encodeURIComponent(String(r))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"GET",...o,...t},l={};return Object.entries({...{},...t.query}).forEach(([c,A])=>{A!==void 0&&n.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},{url:n.pathname+n.search,options:i}}}},ze=function(a){return{deferPaymentPlanInstalment(e,r,t,s){const n=Ye(a).deferPaymentPlanInstalment(e,r,t,s);return(o=p,i=u)=>{const l={...n.options,url:i+n.url};return o.request(l)}},getInstalmentById(e,r,t){const s=Ye(a).getInstalmentById(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},getInstalmentPaymentIntentSecret(e,r,t){const s=Ye(a).getInstalmentPaymentIntentSecret(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}}}},vd=function(a,e,r){return{deferPaymentPlanInstalment(t,s,n,o){return ze(a).deferPaymentPlanInstalment(t,s,n,o)(r,e)},getInstalmentById(t,s,n){return ze(a).getInstalmentById(t,s,n)(r,e)},getInstalmentPaymentIntentSecret(t,s,n){return ze(a).getInstalmentPaymentIntentSecret(t,s,n)(r,e)}}};class bd extends R{deferPaymentPlanInstalment(e,r,t,s){return ze(this.configuration).deferPaymentPlanInstalment(e,r,t,s)(this.axios,this.basePath)}getInstalmentById(e,r,t){return ze(this.configuration).getInstalmentById(e,r,t)(this.axios,this.basePath)}getInstalmentPaymentIntentSecret(e,r,t){return ze(this.configuration).getInstalmentPaymentIntentSecret(e,r,t)(this.axios,this.basePath)}}async function Sd(a,e,r,t,s=p,n=u,o){const i=Ye(t).deferPaymentPlanInstalment(a,e,r,o),l={...i.options,url:n+i.url};return(await s.request(l)).data}async function Td(a,e,r,t=p,s=u,n){const o=Ye(r).getInstalmentById(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function Nd(a,e,r,t=p,s=u,n){const o=Ye(r).getInstalmentPaymentIntentSecret(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}const 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)}}}},xd=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 Ud 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 Dd(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 Ld(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 Bd(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 Fd(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 jd(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 Md(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 Hd(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)}}}},Gd=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 kd 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 Qd(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 Yd(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 zd(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 $d(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 Wd(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 Jd(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 we=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=we(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=we(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=we(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=we(a).findPolicyDocumentById(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}}}},Kd=function(a,e,r){return{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 Xd 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 Zd(a,e,r,t,s,n=p,o=u,i){const l=we(s).addPolicyDocument(a,e,r,t,i),d={...l.options,url:o+l.url};return(await n.request(d)).data}async function eu(a,e,r,t=p,s=u,n){const o=we(r).deletePolicyDocument(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function ru(a,e,r=p,t=u,s){const n=we(e).findManyPolicyDocuments(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function tu(a,e,r,t=p,s=u,n){const o=we(r).findPolicyDocumentById(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}const Or=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}}}},fr=function(a){return{addPreTenancyDocumentByDocumentId(e,r,t){const s=Or(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=Or(a).deletePreTenancyDocument(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}}}},au=function(a,e,r){return{addPreTenancyDocumentByDocumentId(t,s,n){return fr(a).addPreTenancyDocumentByDocumentId(t,s,n)(r,e)},deletePreTenancyDocument(t,s,n){return fr(a).deletePreTenancyDocument(t,s,n)(r,e)}}};class su extends R{addPreTenancyDocumentByDocumentId(e,r,t){return fr(this.configuration).addPreTenancyDocumentByDocumentId(e,r,t)(this.axios,this.basePath)}deletePreTenancyDocument(e,r,t){return fr(this.configuration).deletePreTenancyDocument(e,r,t)(this.axios,this.basePath)}}async function nu(a,e,r,t=p,s=u,n){const o=Or(r).addPreTenancyDocumentByDocumentId(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=Or(r).deletePreTenancyDocument(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}const yr=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}}}},Er=function(a){return{getCashDepositAmount(e,r){const t=yr(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=yr(a).getRepositFee(e,r,t,s);return(o=p,i=u)=>{const l={...n.options,url:i+n.url};return o.request(l)}}}},iu=function(a,e,r){return{getCashDepositAmount(t,s){return Er(a).getCashDepositAmount(t,s)(r,e)},getRepositFee(t,s,n,o){return Er(a).getRepositFee(t,s,n,o)(r,e)}}};class lu extends R{getCashDepositAmount(e,r){return Er(this.configuration).getCashDepositAmount(e,r)(this.axios,this.basePath)}getRepositFee(e,r,t,s){return Er(this.configuration).getRepositFee(e,r,t,s)(this.axios,this.basePath)}}async function cu(a,e,r=p,t=u,s){const n=yr(e).getCashDepositAmount(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function du(a,e,r,t,s=p,n=u,o){const i=yr(t).getRepositFee(a,e,r,o),l={...i.options,url:n+i.url};return(await s.request(l)).data}const $e=function(a){return{createProperty(e,r={}){if(e==null)throw new h("createPropertyDTO","Required parameter createPropertyDTO was null or undefined when calling createProperty.");const t="/v2/properties",s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"POST",...n,...r},i={},l={};return i["Content-Type"]="application/json",Object.entries({...l,...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},o.data=JSON.stringify(e!==void 0?e:{}),{url:s.pathname+s.search,options:o}},getPropertyById(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling getPropertyById.");const t="/v2/properties/{id}".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},searchProperties(e,r,t,s,n={}){if(e==null)throw new h("page","Required parameter page was null or undefined when calling searchProperties.");if(r==null)throw new h("size","Required parameter size was null or undefined when calling searchProperties.");const o="/v2/properties",i=new URL(o,"http://placeholder");let l;a&&(l=a.baseOptions);const d={method:"GET",...l,...n},c={},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}}}},We=function(a){return{createProperty(e,r){const t=$e(a).createProperty(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},getPropertyById(e,r){const t=$e(a).getPropertyById(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},searchProperties(e,r,t,s,n){const o=$e(a).searchProperties(e,r,t,s,n);return(i=p,l=u)=>{const d={...o.options,url:l+o.url};return i.request(d)}}}},uu=function(a,e,r){return{createProperty(t,s){return We(a).createProperty(t,s)(r,e)},getPropertyById(t,s){return We(a).getPropertyById(t,s)(r,e)},searchProperties(t,s,n,o,i){return We(a).searchProperties(t,s,n,o,i)(r,e)}}};class pu extends R{createProperty(e,r){return We(this.configuration).createProperty(e,r)(this.axios,this.basePath)}getPropertyById(e,r){return We(this.configuration).getPropertyById(e,r)(this.axios,this.basePath)}searchProperties(e,r,t,s,n){return We(this.configuration).searchProperties(e,r,t,s,n)(this.axios,this.basePath)}}async function hu(a,e,r=p,t=u,s){const n=$e(e).createProperty(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function Au(a,e,r=p,t=u,s){const n=$e(e).getPropertyById(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function mu(a,e,r,t,s,n=p,o=u,i){const l=$e(s).searchProperties(a,e,r,t,i),d={...l.options,url:o+l.url};return(await n.request(d)).data}const ct=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}}}},dt=function(a){return{searchReconciliationDocuments(e,r,t,s,n){const o=ct(a).searchReconciliationDocuments(e,r,t,s,n);return(i=p,l=u)=>{const d={...o.options,url:l+o.url};return i.request(d)}}}},Ru=function(a,e,r){return{searchReconciliationDocuments(t,s,n,o,i){return dt(a).searchReconciliationDocuments(t,s,n,o,i)(r,e)}}};class Iu extends R{searchReconciliationDocuments(e,r,t,s,n){return dt(this.configuration).searchReconciliationDocuments(e,r,t,s,n)(this.axios,this.basePath)}}async function Pu(a,e,r,t,s,n=p,o=u,i){const l=ct(s).searchReconciliationDocuments(a,e,r,t,i),d={...l.options,url:o+l.url};return(await n.request(d)).data}const fe=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=fe(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=fe(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=fe(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=fe(a).findReferenceDocumentById(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}}}},gu=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 wu 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 Ou(a,e,r,t,s,n=p,o=u,i){const l=fe(s).addReferenceDocument(a,e,r,t,i),d={...l.options,url:o+l.url};return(await n.request(d)).data}async function fu(a,e,r,t=p,s=u,n){const o=fe(r).deleteReferenceDocument(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=fe(e).findManyReferenceDocuments(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=fe(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)}}}},Cu=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 Vu 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 qu(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 _u(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 vu(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 bu(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 Su(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 Tu(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 Nu(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 j=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}}}},M=function(a){return{addRejectionReason(e,r,t){const s=j(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=j(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=j(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=j(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=j(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=j(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=j(a).sendReminder(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}}}},xu=function(a,e,r){return{addRejectionReason(t,s,n){return M(a).addRejectionReason(t,s,n)(r,e)},createOffer(t,s){return M(a).createOffer(t,s)(r,e)},deleteOffer(t,s){return M(a).deleteOffer(t,s)(r,e)},getRepositOffer(t,s,n){return M(a).getRepositOffer(t,s,n)(r,e)},respondToOffer(t,s,n,o){return M(a).respondToOffer(t,s,n,o)(r,e)},searchOffers(t,s,n,o,i,l,d){return M(a).searchOffers(t,s,n,o,i,l,d)(r,e)},sendReminder(t,s){return M(a).sendReminder(t,s)(r,e)}}};class Uu extends R{addRejectionReason(e,r,t){return M(this.configuration).addRejectionReason(e,r,t)(this.axios,this.basePath)}createOffer(e,r){return M(this.configuration).createOffer(e,r)(this.axios,this.basePath)}deleteOffer(e,r){return M(this.configuration).deleteOffer(e,r)(this.axios,this.basePath)}getRepositOffer(e,r,t){return M(this.configuration).getRepositOffer(e,r,t)(this.axios,this.basePath)}respondToOffer(e,r,t,s){return M(this.configuration).respondToOffer(e,r,t,s)(this.axios,this.basePath)}searchOffers(e,r,t,s,n,o,i){return M(this.configuration).searchOffers(e,r,t,s,n,o,i)(this.axios,this.basePath)}sendReminder(e,r){return M(this.configuration).sendReminder(e,r)(this.axios,this.basePath)}}async function Du(a,e,r,t=p,s=u,n){const o=j(r).addRejectionReason(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function Lu(a,e,r=p,t=u,s){const n=j(e).createOffer(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function Bu(a,e,r=p,t=u,s){const n=j(e).deleteOffer(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function Fu(a,e,r,t=p,s=u,n){const o=j(r).getRepositOffer(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function ju(a,e,r,t,s=p,n=u,o){const i=j(t).respondToOffer(a,e,r,o),l={...i.options,url:n+i.url};return(await s.request(l)).data}async function Mu(a,e,r,t,s,n,o,i=p,l=u,d){const c=j(o).searchOffers(a,e,r,t,s,n,d),A={...c.options,url:l+c.url};return(await i.request(A)).data}async function Hu(a,e,r=p,t=u,s){const n=j(e).sendReminder(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}const b=function(a){return{createReposit(e,r={}){if(e==null)throw new h("createRepositDTO","Required parameter createRepositDTO was null or undefined when calling createReposit.");const t="/v2/integration/reposits",s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"POST",...n,...r},i={},l={};return i["Content-Type"]="application/json",Object.entries({...l,...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},o.data=JSON.stringify(e!==void 0?e:{}),{url:s.pathname+s.search,options:o}},getRepositById(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling getRepositById.");const t="/v2/integration/reposits/{id}".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},getRepositLandlord(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling getRepositLandlord.");const t="/v2/integration/reposits/{id}/landlord".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},getRepositPolicies(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling getRepositPolicies.");const t="/v2/integration/reposits/{id}/policies".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},getRepositPrice(e,r={}){if(e==null)throw new h("requestRepositPricingDTO","Required parameter requestRepositPricingDTO was null or undefined when calling getRepositPrice.");const t="/v2/integration/reposits/pricing",s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"POST",...n,...r},i={},l={};return i["Content-Type"]="application/json",Object.entries({...l,...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},o.data=JSON.stringify(e!==void 0?e:{}),{url:s.pathname+s.search,options:o}},getTenantDocuments(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling getTenantDocuments.");const t="/v2/integration/reposits/{id}/tenant-documents".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"GET",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},publishReposit(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling publishReposit.");const t="/v2/integration/reposits/{id}/publish".replace("{id}",encodeURIComponent(String(e))),s=new URL(t,"http://placeholder");let n;a&&(n=a.baseOptions);const o={method:"POST",...n,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&s.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:s.pathname+s.search,options:o}},replaceReposit(e,r,t={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling replaceReposit.");if(r==null)throw new h("replaceRepositDTO","Required parameter replaceRepositDTO was null or undefined when calling replaceReposit.");const s="/v2/integration/reposits/{id}".replace("{id}",encodeURIComponent(String(e))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"PUT",...o,...t},l={},d={};return l["Content-Type"]="application/json",Object.entries({...d,...t.query}).forEach(([c,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=b(a).createReposit(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},getRepositById(e,r){const t=b(a).getRepositById(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},getRepositLandlord(e,r){const t=b(a).getRepositLandlord(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},getRepositPolicies(e,r){const t=b(a).getRepositPolicies(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},getRepositPrice(e,r){const t=b(a).getRepositPrice(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},getTenantDocuments(e,r){const t=b(a).getTenantDocuments(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},publishReposit(e,r){const t=b(a).publishReposit(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},replaceReposit(e,r,t){const s=b(a).replaceReposit(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}}}},Gu=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 ku 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 Qu(a,e,r=p,t=u,s){const n=b(e).createReposit(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function Yu(a,e,r=p,t=u,s){const n=b(e).getRepositById(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function zu(a,e,r=p,t=u,s){const n=b(e).getRepositLandlord(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function $u(a,e,r=p,t=u,s){const n=b(e).getRepositPolicies(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function Wu(a,e,r=p,t=u,s){const n=b(e).getRepositPrice(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function Ju(a,e,r=p,t=u,s){const n=b(e).getTenantDocuments(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function Ku(a,e,r=p,t=u,s){const n=b(e).publishReposit(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function Xu(a,e,r,t=p,s=u,n){const o=b(r).replaceReposit(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}const ut=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=ut(a).seedCashDeposit(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}}}},Zu=function(a,e,r){return{seedCashDeposit(t,s){return pt(a).seedCashDeposit(t,s)(r,e)}}};class ep extends R{seedCashDeposit(e,r){return pt(this.configuration).seedCashDeposit(e,r)(this.axios,this.basePath)}}async function rp(a,e,r=p,t=u,s){const n=ut(e).seedCashDeposit(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}const ht=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}}}},At=function(a){return{seedReposit(e,r){const t=ht(a).seedReposit(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{seedReposit(t,s){return At(a).seedReposit(t,s)(r,e)}}};class ap extends R{seedReposit(e,r){return At(this.configuration).seedReposit(e,r)(this.axios,this.basePath)}}async function sp(a,e,r=p,t=u,s){const n=ht(e).seedReposit(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}const Cr=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}}}},Vr=function(a){return{getMySupplier(e){const r=Cr(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=Cr(a).getSupplierAgents(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{getMySupplier(t){return Vr(a).getMySupplier(t)(r,e)},getSupplierAgents(t,s){return Vr(a).getSupplierAgents(t,s)(r,e)}}};class op extends R{getMySupplier(e){return Vr(this.configuration).getMySupplier(e)(this.axios,this.basePath)}getSupplierAgents(e,r){return Vr(this.configuration).getSupplierAgents(e,r)(this.axios,this.basePath)}}async function ip(a,e=p,r=u,t){const s=Cr(a).getMySupplier(t),n={...s.options,url:r+s.url};return(await e.request(n)).data}async function lp(a,e,r=p,t=u,s){const n=Cr(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}},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)}},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)}}}},cp=function(a,e,r){return{closingRemindersEnabled(t,s,n){return V(a).closingRemindersEnabled(t,s,n)(r,e)},createTenancy(t,s){return V(a).createTenancy(t,s)(r,e)},createTenancyOrder(t,s,n){return V(a).createTenancyOrder(t,s,n)(r,e)},disableTopUps(t,s){return V(a).disableTopUps(t,s)(r,e)},extendOutcomeDeadline(t,s){return V(a).extendOutcomeDeadline(t,s)(r,e)},getTenancyById(t,s){return V(a).getTenancyById(t,s)(r,e)},getTenancyDocuments(t,s){return V(a).getTenancyDocuments(t,s)(r,e)},publish(t,s){return V(a).publish(t,s)(r,e)},signAddendumForSupplier(t,s){return V(a).signAddendumForSupplier(t,s)(r,e)},tenantVacated(t,s){return V(a).tenantVacated(t,s)(r,e)},updateExistingProperty(t,s,n){return V(a).updateExistingProperty(t,s,n)(r,e)},updateProperty(t,s,n){return V(a).updateProperty(t,s,n)(r,e)},updateTenancy(t,s,n){return V(a).updateTenancy(t,s,n)(r,e)}}};class dp extends R{closingRemindersEnabled(e,r,t){return V(this.configuration).closingRemindersEnabled(e,r,t)(this.axios,this.basePath)}createTenancy(e,r){return V(this.configuration).createTenancy(e,r)(this.axios,this.basePath)}createTenancyOrder(e,r,t){return V(this.configuration).createTenancyOrder(e,r,t)(this.axios,this.basePath)}disableTopUps(e,r){return V(this.configuration).disableTopUps(e,r)(this.axios,this.basePath)}extendOutcomeDeadline(e,r){return V(this.configuration).extendOutcomeDeadline(e,r)(this.axios,this.basePath)}getTenancyById(e,r){return V(this.configuration).getTenancyById(e,r)(this.axios,this.basePath)}getTenancyDocuments(e,r){return V(this.configuration).getTenancyDocuments(e,r)(this.axios,this.basePath)}publish(e,r){return V(this.configuration).publish(e,r)(this.axios,this.basePath)}signAddendumForSupplier(e,r){return V(this.configuration).signAddendumForSupplier(e,r)(this.axios,this.basePath)}tenantVacated(e,r){return V(this.configuration).tenantVacated(e,r)(this.axios,this.basePath)}updateExistingProperty(e,r,t){return V(this.configuration).updateExistingProperty(e,r,t)(this.axios,this.basePath)}updateProperty(e,r,t){return V(this.configuration).updateProperty(e,r,t)(this.axios,this.basePath)}updateTenancy(e,r,t){return V(this.configuration).updateTenancy(e,r,t)(this.axios,this.basePath)}}async function up(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 pp(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 hp(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 Ap(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 mp(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 Rp(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 Ip(a,e,r=p,t=u,s){const n=C(e).getTenancyDocuments(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function Pp(a,e,r=p,t=u,s){const n=C(e).publish(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function gp(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 wp(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 Op(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 fp(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 yp(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 mt=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}}}},Rt=function(a){return{getTenancyAnniversaries(e,r){const t=mt(a).getTenancyAnniversaries(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}}}},Ep=function(a,e,r){return{getTenancyAnniversaries(t,s){return Rt(a).getTenancyAnniversaries(t,s)(r,e)}}};class Cp extends R{getTenancyAnniversaries(e,r){return Rt(this.configuration).getTenancyAnniversaries(e,r)(this.axios,this.basePath)}}async function Vp(a,e,r=p,t=u,s){const n=mt(e).getTenancyAnniversaries(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}const It=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}}}},Pt=function(a){return{createCheckout(e,r){const t=It(a).createCheckout(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}}}},qp=function(a,e,r){return{createCheckout(t,s){return Pt(a).createCheckout(t,s)(r,e)}}};class _p extends R{createCheckout(e,r){return Pt(this.configuration).createCheckout(e,r)(this.axios,this.basePath)}}async function vp(a,e,r=p,t=u,s){const n=It(e).createCheckout(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}const qr=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}}}},_r=function(a){return{createTenancyExpiry(e,r,t){const s=qr(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=qr(a).getByTenancyId(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}}}},bp=function(a,e,r){return{createTenancyExpiry(t,s,n){return _r(a).createTenancyExpiry(t,s,n)(r,e)},getByTenancyId(t,s){return _r(a).getByTenancyId(t,s)(r,e)}}};class Sp extends R{createTenancyExpiry(e,r,t){return _r(this.configuration).createTenancyExpiry(e,r,t)(this.axios,this.basePath)}getByTenancyId(e,r){return _r(this.configuration).getByTenancyId(e,r)(this.axios,this.basePath)}}async function Tp(a,e,r,t=p,s=u,n){const o=qr(r).createTenancyExpiry(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function Np(a,e,r=p,t=u,s){const n=qr(e).getByTenancyId(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}const vr=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}}}},br=function(a){return{disableWarnings(e,r,t){const s=vr(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=vr(a).tenantConfirmation(e,r,t,s);return(o=p,i=u)=>{const l={...n.options,url:i+n.url};return o.request(l)}}}},xp=function(a,e,r){return{disableWarnings(t,s,n){return br(a).disableWarnings(t,s,n)(r,e)},tenantConfirmation(t,s,n,o){return br(a).tenantConfirmation(t,s,n,o)(r,e)}}};class Up extends R{disableWarnings(e,r,t){return br(this.configuration).disableWarnings(e,r,t)(this.axios,this.basePath)}tenantConfirmation(e,r,t,s){return br(this.configuration).tenantConfirmation(e,r,t,s)(this.axios,this.basePath)}}async function Dp(a,e,r,t=p,s=u,n){const o=vr(r).disableWarnings(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function Lp(a,e,r,t,s=p,n=u,o){const i=vr(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)}}}},Bp=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 Fp 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 jp(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 Mp(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 Hp(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 Gp(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 kp(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 Qp(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 Sr=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}}}},Tr=function(a){return{createTenancyOrderNote(e,r,t){const s=Sr(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=Sr(a).deleteNote(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}}}},Yp=function(a,e,r){return{createTenancyOrderNote(t,s,n){return Tr(a).createTenancyOrderNote(t,s,n)(r,e)},deleteNote(t,s,n){return Tr(a).deleteNote(t,s,n)(r,e)}}};class zp extends R{createTenancyOrderNote(e,r,t){return Tr(this.configuration).createTenancyOrderNote(e,r,t)(this.axios,this.basePath)}deleteNote(e,r,t){return Tr(this.configuration).deleteNote(e,r,t)(this.axios,this.basePath)}}async function $p(a,e,r,t=p,s=u,n){const o=Sr(r).createTenancyOrderNote(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function Wp(a,e,r,t=p,s=u,n){const o=Sr(r).deleteNote(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}const J=function(a){return{getTenancyOrderById(e,r,t={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling getTenancyOrderById.");const s="/v2/tenancy-orders/{id}".replace("{id}",encodeURIComponent(String(e))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"GET",...o,...t},l={},d={};return r!==void 0&&(d.includeDeleted=r),Object.entries({...d,...t.query}).forEach(([c,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 Je={method:"GET",...H,...I},Ot={},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(([Ws,ft])=>{ft!==void 0&&q.searchParams.set(Ws,String(ft))}),Je.headers={...Ot,...I.headers},{url:q.pathname+q.search,options:Je}},removeTenancyOrderById(e,r,t={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling removeTenancyOrderById.");if(r==null)throw new h("removeTenancyOrderDTO","Required parameter removeTenancyOrderDTO was null or undefined when calling removeTenancyOrderById.");const s="/v2/tenancy-orders/{id}".replace("{id}",encodeURIComponent(String(e))),n=new URL(s,"http://placeholder");let o;a&&(o=a.baseOptions);const i={method:"DELETE",...o,...t},l={},d={};return l["Content-Type"]="application/json",Object.entries({...d,...t.query}).forEach(([c,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}}}},K=function(a){return{getTenancyOrderById(e,r,t){const s=J(a).getTenancyOrderById(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},optimisedSearch(e,r,t,s,n,o,i,l,d,c,A,m,I){const P=J(a).optimisedSearch(e,r,t,s,n,o,i,l,d,c,A,m,I);return(q=p,H=u)=>{const Je={...P.options,url:H+P.url};return q.request(Je)}},removeTenancyOrderById(e,r,t){const s=J(a).removeTenancyOrderById(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},reopenTenancyOrder(e,r,t){const s=J(a).reopenTenancyOrder(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}},sendOverdueChasers(e,r){const t=J(a).sendOverdueChasers(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}},transferTenancyOrderToOrganization(e,r,t){const s=J(a).transferTenancyOrderToOrganization(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}}}},Jp=function(a,e,r){return{getTenancyOrderById(t,s,n){return K(a).getTenancyOrderById(t,s,n)(r,e)},optimisedSearch(t,s,n,o,i,l,d,c,A,m,I,P,q){return K(a).optimisedSearch(t,s,n,o,i,l,d,c,A,m,I,P,q)(r,e)},removeTenancyOrderById(t,s,n){return K(a).removeTenancyOrderById(t,s,n)(r,e)},reopenTenancyOrder(t,s,n){return K(a).reopenTenancyOrder(t,s,n)(r,e)},sendOverdueChasers(t,s){return K(a).sendOverdueChasers(t,s)(r,e)},transferTenancyOrderToOrganization(t,s,n){return K(a).transferTenancyOrderToOrganization(t,s,n)(r,e)}}};class Kp extends R{getTenancyOrderById(e,r,t){return K(this.configuration).getTenancyOrderById(e,r,t)(this.axios,this.basePath)}optimisedSearch(e,r,t,s,n,o,i,l,d,c,A,m,I){return K(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 K(this.configuration).removeTenancyOrderById(e,r,t)(this.axios,this.basePath)}reopenTenancyOrder(e,r,t){return K(this.configuration).reopenTenancyOrder(e,r,t)(this.axios,this.basePath)}sendOverdueChasers(e,r){return K(this.configuration).sendOverdueChasers(e,r)(this.axios,this.basePath)}transferTenancyOrderToOrganization(e,r,t){return K(this.configuration).transferTenancyOrderToOrganization(e,r,t)(this.axios,this.basePath)}}async function Xp(a,e,r,t=p,s=u,n){const o=J(r).getTenancyOrderById(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function Zp(a,e,r,t,s,n,o,i,l,d,c,A,m,I=p,P=u,q){const H=J(m).optimisedSearch(a,e,r,t,s,n,o,i,l,d,c,A,q),Je={...H.options,url:P+H.url};return(await I.request(Je)).data}async function eh(a,e,r,t=p,s=u,n){const o=J(r).removeTenancyOrderById(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function rh(a,e,r,t=p,s=u,n){const o=J(r).reopenTenancyOrder(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function th(a,e,r=p,t=u,s){const n=J(e).sendOverdueChasers(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}async function ah(a,e,r,t=p,s=u,n){const o=J(r).transferTenancyOrderToOrganization(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}const 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)}}}},sh=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 nh 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 oh(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 ih(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 lh(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 ch(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 Nr=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}}}},xr=function(a){return{addTenant(e,r,t){const s=Nr(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=Nr(a).deleteById(e,r,t);return(n=p,o=u)=>{const i={...s.options,url:o+s.url};return n.request(i)}}}},dh=function(a,e,r){return{addTenant(t,s,n){return xr(a).addTenant(t,s,n)(r,e)},deleteById(t,s,n){return xr(a).deleteById(t,s,n)(r,e)}}};class uh extends R{addTenant(e,r,t){return xr(this.configuration).addTenant(e,r,t)(this.axios,this.basePath)}deleteById(e,r,t){return xr(this.configuration).deleteById(e,r,t)(this.axios,this.basePath)}}async function ph(a,e,r,t=p,s=u,n){const o=Nr(r).addTenant(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}async function hh(a,e,r,t=p,s=u,n){const o=Nr(r).deleteById(a,e,n),i={...o.options,url:s+o.url};return(await t.request(i)).data}const Ur=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}}}},Dr=function(a){return{getSupplierTerms(e){const r=Ur(a).getSupplierTerms(e);return(t=p,s=u)=>{const n={...r.options,url:s+r.url};return t.request(n)}},getTenantTerms(e){const r=Ur(a).getTenantTerms(e);return(t=p,s=u)=>{const n={...r.options,url:s+r.url};return t.request(n)}}}},Ah=function(a,e,r){return{getSupplierTerms(t){return Dr(a).getSupplierTerms(t)(r,e)},getTenantTerms(t){return Dr(a).getTenantTerms(t)(r,e)}}};class mh extends R{getSupplierTerms(e){return Dr(this.configuration).getSupplierTerms(e)(this.axios,this.basePath)}getTenantTerms(e){return Dr(this.configuration).getTenantTerms(e)(this.axios,this.basePath)}}async function Rh(a,e=p,r=u,t){const s=Ur(a).getSupplierTerms(t),n={...s.options,url:r+s.url};return(await e.request(n)).data}async function Ih(a,e=p,r=u,t){const s=Ur(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)}}}},Ph=function(a,e,r){return{completeOnboardingIntroduction(t){return E(a).completeOnboardingIntroduction(t)(r,e)},createOneTimeSessionToken(t){return E(a).createOneTimeSessionToken(t)(r,e)},dismissNewProductUpdates(t){return E(a).dismissNewProductUpdates(t)(r,e)},dismissUserMessage(t,s){return E(a).dismissUserMessage(t,s)(r,e)},findOneByID(t,s){return E(a).findOneByID(t,s)(r,e)},getCustomer(t){return E(a).getCustomer(t)(r,e)},getOrganizationUsers(t,s){return E(a).getOrganizationUsers(t,s)(r,e)},getTenancyOrdersByProductId(t,s){return E(a).getTenancyOrdersByProductId(t,s)(r,e)},getUserAccount(t){return E(a).getUserAccount(t)(r,e)},getUserTenancyAnniversaries(t){return E(a).getUserTenancyAnniversaries(t)(r,e)},me(t){return E(a).me(t)(r,e)},resetUserPassword(t,s){return E(a).resetUserPassword(t,s)(r,e)},searchUser(t,s,n,o,i,l){return E(a).searchUser(t,s,n,o,i,l)(r,e)},updateAboutMe(t,s){return E(a).updateAboutMe(t,s)(r,e)},updateAddressHistory(t,s){return E(a).updateAddressHistory(t,s)(r,e)},updateBetaEnabled(t,s){return E(a).updateBetaEnabled(t,s)(r,e)},updateEmailSettings(t,s){return E(a).updateEmailSettings(t,s)(r,e)},updateUser(t,s,n){return E(a).updateUser(t,s,n)(r,e)}}};class gh 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 wh(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 Oh(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 fh(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 yh(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 Eh(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 Ch(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 Vh(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 qh(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 _h(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 vh(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 bh(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 Sh(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 Th(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 Nh(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 xh(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 Uh(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 Dh(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 Lh(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 gt=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}}}},wt=function(a){return{updateIntegrationWebhookUrl(e,r){const t=gt(a).updateIntegrationWebhookUrl(e,r);return(s=p,n=u)=>{const o={...t.options,url:n+t.url};return s.request(o)}}}},Bh=function(a,e,r){return{updateIntegrationWebhookUrl(t,s){return wt(a).updateIntegrationWebhookUrl(t,s)(r,e)}}};class Fh extends R{updateIntegrationWebhookUrl(e,r){return wt(this.configuration).updateIntegrationWebhookUrl(e,r)(this.axios,this.basePath)}}async function jh(a,e,r=p,t=u,s){const n=gt(e).updateIntegrationWebhookUrl(a,s),o={...n.options,url:t+n.url};return(await r.request(o)).data}var yt=(a=>(a.NONREFUNDABLEFEE="NON_REFUNDABLE_FEE",a.TOOEXPENSIVE="TOO_EXPENSIVE",a.DONTUNDERSTAND="DONT_UNDERSTAND",a.FAILEDREFERENCING="FAILED_REFERENCING",a.OTHER="OTHER",a))(yt||{}),Et=(a=>(a.DRAFT="DRAFT",a.PUBLISHED="PUBLISHED",a))(Et||{}),Ct=(a=>(a.DRAFT="DRAFT",a.IMPORTING="IMPORTING",a.PROCESSING="PROCESSING",a.COMPLETED="COMPLETED",a.FAILED="FAILED",a))(Ct||{}),Vt=(a=>(a.IDENTITY="IDENTITY",a.CREDIT="CREDIT",a))(Vt||{}),qt=(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))(qt||{}),_t=(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))(_t||{}),vt=(a=>(a.DRAFT="DRAFT",a.AWAITINGREVIEW="AWAITING_REVIEW",a.DEACTIVATED="DEACTIVATED",a.AWAITINGRESPONDENTS="AWAITING_RESPONDENTS",a.MEDIATION="MEDIATION",a.AWAITINGARBITRATIONADMINFEE="AWAITING_ARBITRATION_ADMIN_FEE",a.AWAITINGARBITRATION="AWAITING_ARBITRATION",a.ARBITRATED="ARBITRATED",a.RESOLVED="RESOLVED",a.AWAITINGSUBSTANTIATION="AWAITING_SUBSTANTIATION",a.AWAITINGEVIDENCEREVIEW="AWAITING_EVIDENCE_REVIEW",a.EVIDENCEREVIEW="EVIDENCE_REVIEW",a.AWAITINGADDITIONALINFORMATION="AWAITING_ADDITIONAL_INFORMATION",a.DECLINED="DECLINED",a.AWAITINGPAYOUT="AWAITING_PAYOUT",a.ARBITRATION="ARBITRATION",a.INSURANCECLAIM="INSURANCE_CLAIM",a))(vt||{}),bt=(a=>(a.Deletion="deletion",a.Reduction="reduction",a))(bt||{}),St=(a=>(a.DAMAGE="DAMAGE",a.CLEANING="CLEANING",a.RENTARREARS="RENT_ARREARS",a.ITEMREMOVAL="ITEM_REMOVAL",a.OTHER="OTHER",a))(St||{}),Tt=(a=>(a.SUPPLIER="SUPPLIER",a.TENANT="TENANT",a))(Tt||{}),Nt=(a=>(a.SUPPLIER="SUPPLIER",a.TENANT="TENANT",a))(Nt||{}),xt=(a=>(a.DRAFT="DRAFT",a.AWAITINGRESPONSE="AWAITING_RESPONSE",a.AWAITINGPAYMENT="AWAITING_PAYMENT",a.SETTLED="SETTLED",a.COUNTERED="COUNTERED",a.DISPUTED="DISPUTED",a))(xt||{}),Ut=(a=>(a.INITIAL="INITIAL",a.INTERMEDIATE="INTERMEDIATE",a.FINAL="FINAL",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.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))(Lt||{}),Bt=(a=>(a.GBR="GBR",a))(Bt||{}),Ft=(a=>(a.DAMAGE="DAMAGE",a.CLEANING="CLEANING",a.RENTARREARS="RENT_ARREARS",a.ITEMREMOVAL="ITEM_REMOVAL",a.OTHER="OTHER",a))(Ft||{}),jt=(a=>(a.SIGNEDTENANCYAGREEMENT="SIGNED_TENANCY_AGREEMENT",a.INVENTORYCHECKIN="INVENTORY_CHECK_IN",a.INVENTORYCHECKOUT="INVENTORY_CHECK_OUT",a.ADDITIONALEVIDENCE="ADDITIONAL_EVIDENCE",a.PROOFTENANTCOMMUNICATION="PROOF_TENANT_COMMUNICATION",a.MIDTERMINSPECTION="MID_TERM_INSPECTION",a.REFERENCING="REFERENCING",a.GUARANTORCONTACT="GUARANTOR_CONTACT",a.SUPPORTINGEVIDENCE="SUPPORTING_EVIDENCE",a.TENANTEVIDENCE="TENANT_EVIDENCE",a.CLAIMITEM="CLAIM_ITEM",a.PROOFOFIDENTITY="PROOF_OF_IDENTITY",a.PROOFOFADDRESS="PROOF_OF_ADDRESS",a.CLAIMRESPONSE="CLAIM_RESPONSE",a.POLICY="POLICY",a.KPIDAILYOUTPUT="KPI_DAILY_OUTPUT",a.ARBITRATIONSUMMARY="ARBITRATION_SUMMARY",a.DOCUSIGN="DOCUSIGN",a.CLAIMARCHIVE="CLAIM_ARCHIVE",a.SIGNEDADDENDUM="SIGNED_ADDENDUM",a.SIGNEDTENANTTERMSANDCONDITIONS="SIGNED_TENANT_TERMS_AND_CONDITIONS",a.DAILYSTRIPERECONCILIATION="DAILY_STRIPE_RECONCILIATION",a))(jt||{}),Mt=(a=>(a.AGREED="AGREED",a.REJECTED="REJECTED",a))(Mt||{}),Ht=(a=>(a.SIGNEDTENANCYAGREEMENT="SIGNED_TENANCY_AGREEMENT",a.INVENTORYCHECKIN="INVENTORY_CHECK_IN",a.INVENTORYCHECKOUT="INVENTORY_CHECK_OUT",a.ADDITIONALEVIDENCE="ADDITIONAL_EVIDENCE",a.PROOFTENANTCOMMUNICATION="PROOF_TENANT_COMMUNICATION",a.MIDTERMINSPECTION="MID_TERM_INSPECTION",a.REFERENCING="REFERENCING",a.GUARANTORCONTACT="GUARANTOR_CONTACT",a.SUPPORTINGEVIDENCE="SUPPORTING_EVIDENCE",a.TENANTEVIDENCE="TENANT_EVIDENCE",a.CLAIMITEM="CLAIM_ITEM",a.PROOFOFIDENTITY="PROOF_OF_IDENTITY",a.PROOFOFADDRESS="PROOF_OF_ADDRESS",a.CLAIMRESPONSE="CLAIM_RESPONSE",a.POLICY="POLICY",a.KPIDAILYOUTPUT="KPI_DAILY_OUTPUT",a.ARBITRATIONSUMMARY="ARBITRATION_SUMMARY",a.DOCUSIGN="DOCUSIGN",a.CLAIMARCHIVE="CLAIM_ARCHIVE",a.SIGNEDADDENDUM="SIGNED_ADDENDUM",a.SIGNEDTENANTTERMSANDCONDITIONS="SIGNED_TENANT_TERMS_AND_CONDITIONS",a.DAILYSTRIPERECONCILIATION="DAILY_STRIPE_RECONCILIATION",a))(Ht||{}),Gt=(a=>(a.SIGNEDTENANCYAGREEMENT="SIGNED_TENANCY_AGREEMENT",a.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))(Gt||{}),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||{}),Qt=(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))(Qt||{}),Yt=(a=>(a.AGREED="AGREED",a.REJECTED="REJECTED",a.MISSING="MISSING",a))(Yt||{}),zt=(a=>(a.PROPERTY="PROPERTY",a))(zt||{}),$t=(a=>(a.COMPANY="COMPANY",a.SOLEPERSON="SOLE_PERSON",a))($t||{}),Wt=(a=>(a.COMPANY="COMPANY",a.SOLEPERSON="SOLE_PERSON",a))(Wt||{}),Jt=(a=>(a.COMPANY="COMPANY",a.SOLEPERSON="SOLE_PERSON",a))(Jt||{}),Kt=(a=>(a.REPOSITPUBLISHED="REPOSIT_PUBLISHED",a.CLAIMPUBLISHED="CLAIM_PUBLISHED",a))(Kt||{}),Xt=(a=>(a.REPOSIT="REPOSIT",a.CLAIM="CLAIM",a.CLAIMPROPOSAL="CLAIM_PROPOSAL",a.ARBITRATION="ARBITRATION",a.TOPUP="TOP_UP",a.ARBITRATIONADMINFEE="ARBITRATION_ADMIN_FEE",a))(Xt||{}),Zt=(a=>(a.DEFAULT="DEFAULT",a.CLAIM="CLAIM",a.CASHDEPOSITSCHEME="CASH_DEPOSIT_SCHEME",a))(Zt||{}),ea=(a=>(a.AGENCY="AGENCY",a.BUILDTORENT="BUILD_TO_RENT",a.PRIVATE="PRIVATE",a.INTEGRATORREFERRAL="INTEGRATOR_REFERRAL",a))(ea||{}),ra=(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))(ra||{}),ta=(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))(ta||{}),aa=(a=>(a.DIRECT="DIRECT",a.INITIAL="INITIAL",a.ADMIN="ADMIN",a))(aa||{}),sa=(a=>(a.TENTHOUSANDPOUNDS="TEN_THOUSAND_POUNDS",a.FIVETHOUSANDPOUNDS="FIVE_THOUSAND_POUNDS",a))(sa||{}),na=(a=>(a.IDENTITY="IDENTITY",a.CREDIT="CREDIT",a))(na||{}),oa=(a=>(a.TENANT="TENANT",a))(oa||{}),ia=(a=>(a.FIXED="FIXED",a.PERIODIC="PERIODIC",a))(ia||{}),la=(a=>(a.MANAGETEAM="MANAGE_TEAM",a.NOTIFICATIONS="NOTIFICATIONS",a.BANKACCOUNTS="BANK_ACCOUNTS",a.ONBOARDING="ONBOARDING",a))(la||{}),ca=(a=>(a.MANAGETEAM="MANAGE_TEAM",a.NOTIFICATIONS="NOTIFICATIONS",a.BANKACCOUNTS="BANK_ACCOUNTS",a.ONBOARDING="ONBOARDING",a))(ca||{}),da=(a=>(a.PENDING="PENDING",a.OPENBANKINGTRANSFERSUCCESS="OPEN_BANKING_TRANSFER_SUCCESS",a.CANCELLED="CANCELLED",a.PARTIALLYPAID="PARTIALLY_PAID",a.PAID="PAID",a))(da||{}),ua=(a=>(a.AUTOACCEPTED="AUTO_ACCEPTED",a.PREADR="PRE_ADR",a.POSTADR="POST_ADR",a))(ua||{}),pa=(a=>(a.PENDING="PENDING",a.RESOLVED="RESOLVED",a.EXPIRED="EXPIRED",a))(pa||{}),ha=(a=>(a.PENDING="PENDING",a.AGREED="AGREED",a))(ha||{}),Aa=(a=>(a.AGREED="AGREED",a.REJECTED="REJECTED",a))(Aa||{}),ma=(a=>(a.PENDING="PENDING",a.AGREED="AGREED",a.MISSING="MISSING",a))(ma||{}),Ra=(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))(Ra||{}),Ia=(a=>(a.DRAFT="DRAFT",a.PUBLISHED="PUBLISHED",a))(Ia||{}),Pa=(a=>(a.DRAFT="DRAFT",a.PUBLISHED="PUBLISHED",a))(Pa||{}),ga=(a=>(a.AGREED="AGREED",a.REJECTED="REJECTED",a.MISSING="MISSING",a))(ga||{}),wa=(a=>(a.DRAFT="DRAFT",a.PUBLISHED="PUBLISHED",a))(wa||{}),Oa=(a=>(a.DRAFT="DRAFT",a.AWAITINGRESPONSE="AWAITING_RESPONSE",a.AWAITINGREVIEW="AWAITING_REVIEW",a.AGREED="AGREED",a.REJECTED="REJECTED",a.EXPIRED="EXPIRED",a))(Oa||{}),fa=(a=>(a.AWAITINGDECISION="AWAITING_DECISION",a.ACCEPTED="ACCEPTED",a.REJECTED="REJECTED",a))(fa||{}),ya=(a=>(a.SALES="SALES",a))(ya||{}),Ea=(a=>(a.COMPANY="COMPANY",a.SOLEPERSON="SOLE_PERSON",a))(Ea||{}),Ca=(a=>(a.NOTCONNECTED="NOT_CONNECTED",a.CONNECTED="CONNECTED",a.COMPLETE="COMPLETE",a.FAILED="FAILED",a))(Ca||{}),Va=(a=>(a.AGENT="AGENT",a.LANDLORD="LANDLORD",a.CORPORATELANDLORD="CORPORATE_LANDLORD",a))(Va||{}),qa=(a=>(a.REPOSITPUBLISHED="REPOSIT_PUBLISHED",a.CLAIMPUBLISHED="CLAIM_PUBLISHED",a))(qa||{}),_a=(a=>(a.PROMOTER="PROMOTER",a.DETRACTOR="DETRACTOR",a.PASSIVE="PASSIVE",a))(_a||{}),va=(a=>(a.PASSED="PASSED",a.FAILED="FAILED",a))(va||{}),ba=(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))(ba||{}),Sa=(a=>(a.REPOSIT="REPOSIT",a.CLAIM="CLAIM",a.CLAIMPROPOSAL="CLAIM_PROPOSAL",a.ARBITRATION="ARBITRATION",a.TOPUP="TOP_UP",a.ARBITRATIONADMINFEE="ARBITRATION_ADMIN_FEE",a))(Sa||{}),Ta=(a=>(a.DRAFT="DRAFT",a.PENDING="PENDING",a.COMPLETE="COMPLETE",a.CANCELLED="CANCELLED",a.REFUNDED="REFUNDED",a))(Ta||{}),Na=(a=>(a.MANUAL="MANUAL",a.AUTOMATIC="AUTOMATIC",a))(Na||{}),xa=(a=>(a.REPOSIT="REPOSIT",a.CLAIM="CLAIM",a.CLAIMPROPOSAL="CLAIM_PROPOSAL",a.ARBITRATION="ARBITRATION",a.TOPUP="TOP_UP",a.ARBITRATIONADMINFEE="ARBITRATION_ADMIN_FEE",a))(xa||{}),Ua=(a=>(a.DRAFT="DRAFT",a.PENDING="PENDING",a.COMPLETE="COMPLETE",a.CANCELLED="CANCELLED",a.REFUNDED="REFUNDED",a))(Ua||{}),Da=(a=>(a.MANUAL="MANUAL",a.AUTOMATIC="AUTOMATIC",a))(Da||{}),La=(a=>(a.STANDARD="STANDARD",a.BUILDTORENT="BUILD_TO_RENT",a))(La||{}),Ba=(a=>(a.DEFAULT="DEFAULT",a.CLAIM="CLAIM",a.CASHDEPOSITSCHEME="CASH_DEPOSIT_SCHEME",a))(Ba||{}),Fa=(a=>(a.AGENCY="AGENCY",a.BUILDTORENT="BUILD_TO_RENT",a.PRIVATE="PRIVATE",a.INTEGRATORREFERRAL="INTEGRATOR_REFERRAL",a))(Fa||{}),ja=(a=>(a.SALES="SALES",a))(ja||{}),Ma=(a=>(a.DIRECT="DIRECT",a.INITIAL="INITIAL",a.ADMIN="ADMIN",a))(Ma||{}),Ha=(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))(Ha||{}),Ga=(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))(Ga||{}),ka=(a=>(a.TENTHOUSANDPOUNDS="TEN_THOUSAND_POUNDS",a.FIVETHOUSANDPOUNDS="FIVE_THOUSAND_POUNDS",a))(ka||{}),Qa=(a=>(a.FIXED="FIXED",a.PERIODIC="PERIODIC",a))(Qa||{}),Ya=(a=>(a.MANAGETEAM="MANAGE_TEAM",a.NOTIFICATIONS="NOTIFICATIONS",a.BANKACCOUNTS="BANK_ACCOUNTS",a.ONBOARDING="ONBOARDING",a))(Ya||{}),za=(a=>(a.PRIMARY="PRIMARY",a.SECONDARY="SECONDARY",a))(za||{}),$a=(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))($a||{}),Wa=(a=>(a.AGENCY="AGENCY",a.BUILDTORENT="BUILD_TO_RENT",a.PRIVATE="PRIVATE",a.INTEGRATORREFERRAL="INTEGRATOR_REFERRAL",a))(Wa||{}),Ja=(a=>(a.AGENCY="AGENCY",a.BUILDTORENT="BUILD_TO_RENT",a.PRIVATE="PRIVATE",a.INTEGRATORREFERRAL="INTEGRATOR_REFERRAL",a))(Ja||{}),Ka=(a=>(a.MANAGETEAM="MANAGE_TEAM",a.NOTIFICATIONS="NOTIFICATIONS",a.BANKACCOUNTS="BANK_ACCOUNTS",a.ONBOARDING="ONBOARDING",a))(Ka||{}),Xa=(a=>(a.AGENCY="AGENCY",a.BUILDTORENT="BUILD_TO_RENT",a.PRIVATE="PRIVATE",a.INTEGRATORREFERRAL="INTEGRATOR_REFERRAL",a))(Xa||{}),Za=(a=>(a.MANAGETEAM="MANAGE_TEAM",a.NOTIFICATIONS="NOTIFICATIONS",a.BANKACCOUNTS="BANK_ACCOUNTS",a.ONBOARDING="ONBOARDING",a))(Za||{}),es=(a=>(a.PENDING="PENDING",a.OPENBANKINGTRANSFERSUCCESS="OPEN_BANKING_TRANSFER_SUCCESS",a.CANCELLED="CANCELLED",a.PARTIALLYPAID="PARTIALLY_PAID",a.PAID="PAID",a))(es||{}),rs=(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))(rs||{}),ts=(a=>(a.Pass="pass",a.Fail="fail",a.Unchecked="unchecked",a))(ts||{}),as=(a=>(a.Pass="pass",a.Fail="fail",a.Unchecked="unchecked",a))(as||{}),ss=(a=>(a.Pass="pass",a.Fail="fail",a.Unchecked="unchecked",a))(ss||{}),ns=(a=>(a.Pass="pass",a.Fail="fail",a.Unchecked="unchecked",a))(ns||{}),os=(a=>(a.CONFIRM="CONFIRM",a.ADDRESS="ADDRESS",a.CARDDETAILS="CARD_DETAILS",a))(os||{}),is=(a=>(a.MONTHLY="MONTHLY",a))(is||{}),ls=(a=>(a.ACTIVE="ACTIVE",a.PENDING="PENDING",a.DEFAULT="DEFAULT",a.COMPLETE="COMPLETE",a.CLOSED="CLOSED",a.CANCELLED="CANCELLED",a))(ls||{}),cs=(a=>(a.PENDING="PENDING",a.PAID="PAID",a.FAILED="FAILED",a.CANCELLED="CANCELLED",a))(cs||{}),ds=(a=>(a.LINK="LINK",a.PAYMENTINITIATION="PAYMENT_INITIATION",a))(ds||{}),us=(a=>(a.SESSIONFINISHED="SESSION_FINISHED",a.PAYMENTSTATUSUPDATE="PAYMENT_STATUS_UPDATE",a))(us||{}),ps=(a=>(a.SUCCESS="SUCCESS",a.EXITED="EXITED",a))(ps||{}),hs=(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))(hs||{}),As=(a=>(a.DRAFT="DRAFT",a.SUBMITTED="SUBMITTED",a.ISSUED="ISSUED",a.CLOSED="CLOSED",a.DEACTIVATED="DEACTIVATED",a.UNKNOWN="UNKNOWN",a))(As||{}),ms=(a=>(a.NEWTENANCY="NEW_TENANCY",a.EXISTINGTENANCY="EXISTING_TENANCY",a))(ms||{}),Rs=(a=>(a.CREATETOPUP="CREATE_TOP_UP",a.TOPUPREMINDER="TOP_UP_REMINDER",a.TOPUPUPCOMING="TOP_UP_UPCOMING",a.AUTOCHARGE="AUTO_CHARGE",a.SCHEDULEDAUTOCHARGE="SCHEDULED_AUTO_CHARGE",a.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.PROCESSOFFSESSIONPAYMENTSUCCEEDED="PROCESS_OFF_SESSION_PAYMENT_SUCCEEDED",a.PROCESSOFFSESSIONPAYMENTFAILED="PROCESS_OFF_SESSION_PAYMENT_FAILED",a.PROCESSSTRIPECHARGEFAILED="PROCESS_STRIPE_CHARGE_FAILED",a.PROCESSSTRIPECHARGEEXPIRED="PROCESS_STRIPE_CHARGE_EXPIRED",a.PROCESSSTRIPEDISPUTECREATED="PROCESS_STRIPE_DISPUTE_CREATED",a.PROCESSSTRIPEDISPUTECLOSED="PROCESS_STRIPE_DISPUTE_CLOSED",a.PROCESSEXPIRINGCUSTOMERSOURCE="PROCESS_EXPIRING_CUSTOMER_SOURCE",a.PROCESSSENDSLACKMESSAGE="PROCESS_SEND_SLACK_MESSAGE",a.PROCESSSTRIPEREFUNDCREATED="PROCESS_STRIPE_REFUND_CREATED",a.PAYMENTMETHODCARDAUTOMATICALLYUPDATED="PAYMENT_METHOD_CARD_AUTOMATICALLY_UPDATED",a.MONTHLYDIRECTCOMMISSIONFORORGANIZATION="MONTHLY_DIRECT_COMMISSION_FOR_ORGANIZATION",a.LANDLORDTRANSFERREMINDER="LANDLORD_TRANSFER_REMINDER",a.ZIPDOCUMENTSFORCLAIM="ZIP_DOCUMENTS_FOR_CLAIM",a.GENERATEADRFORM="GENERATE_ADR_FORM",a.REPOSITENDINGREMINDER="REPOSIT_ENDING_REMINDER",a.REPOSITCLOSINGREMINDER="REPOSIT_CLOSING_REMINDER",a.REPOSITENDED="REPOSIT_ENDED",a.REPOSITCLOSED="REPOSIT_CLOSED",a.PENDINGREPOSIT="PENDING_REPOSIT",a.REPOSITDEACTIVATE="REPOSIT_DEACTIVATE",a.OVERDUEARBITRATION="OVERDUE_ARBITRATION",a.CLAIMDEACTIVATE="CLAIM_DEACTIVATE",a.CLAIMDEACTIVATEREMINDER="CLAIM_DEACTIVATE_REMINDER",a.CLAIMTENANTREMINDER="CLAIM_TENANT_REMINDER",a.CLAIMSUPPLIERREMINDER="CLAIM_SUPPLIER_REMINDER",a.EVIDENCEREMINDER="EVIDENCE_REMINDER",a.ACCOUNTING="ACCOUNTING",a.CHARGEPAYMENTPLANINSTALMENT="CHARGE_PAYMENT_PLAN_INSTALMENT",a.PAYMENTPLANINSTALMENTREMINDER="PAYMENT_PLAN_INSTALMENT_REMINDER",a.PAYMENTPLANINSTALMENTEXPIRED="PAYMENT_PLAN_INSTALMENT_EXPIRED",a.PROCESSSENDGRIDWEBHOOK="PROCESS_SENDGRID_WEBHOOK",a.PAYMENTPLANACTIVATIONREMINDER="PAYMENT_PLAN_ACTIVATION_REMINDER",a.PAYMENTPLANCANCELLATION="PAYMENT_PLAN_CANCELLATION",a.TENANCYINVENTORYNOTIFICATION="TENANCY_INVENTORY_NOTIFICATION",a.REPOSITOFFERREMINDER="REPOSIT_OFFER_REMINDER",a.EVIDENCECHASERREMINDER="EVIDENCE_CHASER_REMINDER",a.EVIDENCECHASEREXPIREDNOTIFICATION="EVIDENCE_CHASER_EXPIRED_NOTIFICATION",a.EVIDENCECHASERSUPPLIERDRAFTREMINDER="EVIDENCE_CHASER_SUPPLIER_DRAFT_REMINDER",a.ARBITRATIONSENTNOTIFICATION="ARBITRATION_SENT_NOTIFICATION",a.IVRCALLPROCESSING="IVR_CALL_PROCESSING",a.PROCESSTWILIOIVRWEBHOOK="PROCESS_TWILIO_IVR_WEBHOOK",a.PROCESSTWILIOVOICEMAILWEBHOOK="PROCESS_TWILIO_VOICEMAIL_WEBHOOK",a.PENDINGREPOSITPOSTSTARTDATEWEEKLYREMINDER="PENDING_REPOSIT_POST_START_DATE_WEEKLY_REMINDER",a.HANDLEPENDINGCASHDEPOSIT="HANDLE_PENDING_CASH_DEPOSIT",a.REFRESHMYDEPOSITSACCESSTOKEN="REFRESH_MY_DEPOSITS_ACCESS_TOKEN",a.RECONCILEUNALLOCATEDFUNDS="RECONCILE_UNALLOCATED_FUNDS",a.MYDEPOSITSCREATEPROPERTYANDTENANCY="MY_DEPOSITS_CREATE_PROPERTY_AND_TENANCY",a.CREATEXEROCONTACTFORORGANIZATION="CREATE_XERO_CONTACT_FOR_ORGANIZATION",a.PROCESSBULKIMPORTFILE="PROCESS_BULK_IMPORT_FILE",a.PROCESSBULKIMPORTROW="PROCESS_BULK_IMPORT_ROW",a))(Rs||{}),Is=(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.DAILYSCHEDULEDRETRYABLEPAYMENT="DAILY_SCHEDULED_RETRYABLE_PAYMENT",a.DAILYORDERSCHEDULEDCHARGE="DAILY_ORDER_SCHEDULED_CHARGE",a.MONTHLYDIRECTCOMMISSION="MONTHLY_DIRECT_COMMISSION",a.WEEKLYLANDLORDTRANSFERREMINDER="WEEKLY_LANDLORD_TRANSFER_REMINDER",a.DAILYREPOSITENDINGREMINDER="DAILY_REPOSIT_ENDING_REMINDER",a.DAILYREPOSITCLOSINGREMINDER="DAILY_REPOSIT_CLOSING_REMINDER",a.DAILYREPOSITENDED="DAILY_REPOSIT_ENDED",a.DAILYREPOSITCLOSED="DAILY_REPOSIT_CLOSED",a.DAILYPENDINGREPOSITREMINDER="DAILY_PENDING_REPOSIT_REMINDER",a.DAILYOVERDUEARBITRATIONREMINDER="DAILY_OVERDUE_ARBITRATION_REMINDER",a.DAILYREPOSITDEACTIVATE="DAILY_REPOSIT_DEACTIVATE",a.DAILYCLAIMDEACTIVATE="DAILY_CLAIM_DEACTIVATE",a.DAILYCLAIMDEACTIVATEREMINDER="DAILY_CLAIM_DEACTIVATE_REMINDER",a.DAILYCLAIMTENANTREMINDER="DAILY_CLAIM_TENANT_REMINDER",a.DAILYCLAIMSUPPLIERREMINDER="DAILY_CLAIM_SUPPLIER_REMINDER",a.DAILYCLAIMEVIDENCEREMINDER="DAILY_CLAIM_EVIDENCE_REMINDER",a.DAILYREPOSITCRONINIT="DAILY_REPOSIT_CRON_INIT",a.DAILYCLAIMCRONINIT="DAILY_CLAIM_CRON_INIT",a.DAILYCHARGEPAYMENTPLANINSTALMENT="DAILY_CHARGE_PAYMENT_PLAN_INSTALMENT",a.DAILYPAYMENTPLANINSTALMENTREMINDER="DAILY_PAYMENT_PLAN_INSTALMENT_REMINDER",a.DAILYPAYMENTPLANINSTALMENTEXPIRED="DAILY_PAYMENT_PLAN_INSTALMENT_EXPIRED",a.DAILYPAYMENTPLANACTIVATIONREMINDER="DAILY_PAYMENT_PLAN_ACTIVATION_REMINDER",a.DAILYPAYMENTPLANCANCELLATION="DAILY_PAYMENT_PLAN_CANCELLATION",a.DAILYRECONCILIATION="DAILY_RECONCILIATION",a.DAILYSENDTENANCYINVENTORYNOTIFICATIONS="DAILY_SEND_TENANCY_INVENTORY_NOTIFICATIONS",a.DAILYREPOSITOFFERREMINDER="DAILY_REPOSIT_OFFER_REMINDER",a.DAILYEVIDENCECHASERREMINDER="DAILY_EVIDENCE_CHASER_REMINDER",a.DAILYEVIDENCECHASEREXPIREDNOTIFICATION="DAILY_EVIDENCE_CHASER_EXPIRED_NOTIFICATION",a.DAILYEVIDENCECHASERSUPPLIERDRAFTREMINDER="DAILY_EVIDENCE_CHASER_SUPPLIER_DRAFT_REMINDER",a.DAILYARBITRATIONSENTNOTIFICATION="DAILY_ARBITRATION_SENT_NOTIFICATION",a.DAILYIVRCALLPROCESSING="DAILY_IVR_CALL_PROCESSING",a.DAILYALBMETRICSCOLLECTION="DAILY_ALB_METRICS_COLLECTION",a.WEEKLYPENDINGREPOSITPASTSTARTDATEREMINDER="WEEKLY_PENDING_REPOSIT_PAST_START_DATE_REMINDER",a.POLLPENDINGCASHDEPOSITS="POLL_PENDING_CASH_DEPOSITS",a.REFRESHMYDEPOSITSACCESSTOKENS="REFRESH_MY_DEPOSITS_ACCESS_TOKENS",a.RECONCILEUNALLOCATEDFUNDS="RECONCILE_UNALLOCATED_FUNDS",a.PROCESSSQSWORKEROUTBOX="PROCESS_SQS_WORKER_OUTBOX",a))(Is||{}),Ps=(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))(Ps||{}),gs=(a=>(a.GBR="GBR",a))(gs||{}),ws=(a=>(a.AGENT="AGENT",a.LANDLORD="LANDLORD",a))(ws||{}),Os=(a=>(a.DRAFT="DRAFT",a.PUBLISHED="PUBLISHED",a))(Os||{}),fs=(a=>(a.COMPANY="COMPANY",a.SOLEPERSON="SOLE_PERSON",a))(fs||{}),ys=(a=>(a.PASSED="PASSED",a.FAILED="FAILED",a))(ys||{}),Es=(a=>(a.REPOSIT="REPOSIT",a.CASHDEPOSIT="CASH_DEPOSIT",a))(Es||{}),Cs=(a=>(a.DEPOSITWAIVER="DEPOSIT_WAIVER",a))(Cs||{}),Vs=(a=>(a.PRIVATE="PRIVATE",a.AGENCY="AGENCY",a))(Vs||{}),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||{}),_s=(a=>(a.SIGNEDTENANTTERMSANDCONDITIONS="SIGNED_TENANT_TERMS_AND_CONDITIONS",a))(_s||{}),vs=(a=>(a.Reposit="reposit",a))(vs||{}),bs=(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))(bs||{}),Ss=(a=>(a.DRAFT="DRAFT",a.INVITED="INVITED",a.REGISTERED="REGISTERED",a.REFERENCED="REFERENCED",a.CONFIRMED="CONFIRMED",a.SIGNED="SIGNED",a.PAID="PAID",a))(Ss||{}),Ts=(a=>(a.PASSED="PASSED",a.FAILED="FAILED",a))(Ts||{}),Ns=(a=>(a.SUPPLIERAPPLICATION="SUPPLIER_APPLICATION",a.TENANTAPPLICATION="TENANT_APPLICATION",a))(Ns||{}),xs=(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))(xs||{}),Us=(a=>(a.FIXED="FIXED",a.PERIODIC="PERIODIC",a))(Us||{}),Ds=(a=>(a.CONFIRMED="CONFIRMED",a.UNCONFIRMED="UNCONFIRMED",a))(Ds||{}),Ls=(a=>(a.EARLY="EARLY",a.LATE="LATE",a.FINAL="FINAL",a))(Ls||{}),Bs=(a=>(a.TENANT="TENANT",a))(Bs||{}),Fs=(a=>(a.TENANT="TENANT",a))(Fs||{}),js=(a=>(a.FIXED="FIXED",a.PERIODIC="PERIODIC",a))(js||{}),Ms=(a=>(a.DAMAGE="DAMAGE",a.CLEANING="CLEANING",a.RENTARREARS="RENT_ARREARS",a.ITEMREMOVAL="ITEM_REMOVAL",a.OTHER="OTHER",a))(Ms||{}),Hs=(a=>(a.COMPANY="COMPANY",a.SOLEPERSON="SOLE_PERSON",a))(Hs||{}),Gs=(a=>(a.AGENCY="AGENCY",a.BUILDTORENT="BUILD_TO_RENT",a.PRIVATE="PRIVATE",a.INTEGRATORREFERRAL="INTEGRATOR_REFERRAL",a))(Gs||{}),ks=(a=>(a.DRAFT="DRAFT",a.SUBMITTED="SUBMITTED",a.ISSUED="ISSUED",a.CLOSED="CLOSED",a.DEACTIVATED="DEACTIVATED",a.UNKNOWN="UNKNOWN",a))(ks||{}),Qs=(a=>(a.FIXED="FIXED",a.PERIODIC="PERIODIC",a))(Qs||{}),Ys=(a=>(a.AGENT="AGENT",a.ARBITRATOR="ARBITRATOR",a.LANDLORD="LANDLORD",a.TENANT="TENANT",a.INTERNAL="INTERNAL",a.MACHINE="MACHINE",a))(Ys||{}),zs=(a=>(a.FINANCEALL="FINANCE_ALL",a.FINANCEINDIVIDUAL="FINANCE_INDIVIDUAL",a.PAYMENTPLANCREATE="PAYMENT_PLAN_CREATE",a.PAYMENTPLANDELETE="PAYMENT_PLAN_DELETE",a.PAYMENTPLANDELETEFORCE="PAYMENT_PLAN_DELETE_FORCE",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))(zs||{}),$s=(a=>(a.PENDING="PENDING",a.OPENBANKINGTRANSFERSUCCESS="OPEN_BANKING_TRANSFER_SUCCESS",a.CANCELLED="CANCELLED",a.PARTIALLYPAID="PARTIALLY_PAID",a.PAID="PAID",a))($s||{});class Mh{constructor(e={}){this.apiKey=e.apiKey,this.username=e.username,this.password=e.password,this.accessToken=e.accessToken,this.basePath=e.basePath}}exports.AddRejectionReasonRequestDTORejectionReasonEnum=yt;exports.AddressesApi=Xs;exports.AddressesApiAxiosParamCreator=de;exports.AddressesApiFactory=Ks;exports.AddressesApiFp=ue;exports.ApplicantsApi=sn;exports.ApplicantsApiAxiosParamCreator=Ve;exports.ApplicantsApiFactory=an;exports.ApplicantsApiFp=qe;exports.ArbitrationDTOStatusEnum=Et;exports.ArbitrationDocumentsApi=dn;exports.ArbitrationDocumentsApiAxiosParamCreator=pe;exports.ArbitrationDocumentsApiFactory=cn;exports.ArbitrationDocumentsApiFp=he;exports.ArbitrationsApi=Rn;exports.ArbitrationsApiAxiosParamCreator=Ae;exports.ArbitrationsApiFactory=mn;exports.ArbitrationsApiFp=me;exports.AuthApi=fn;exports.AuthApiAxiosParamCreator=X;exports.AuthApiFactory=On;exports.AuthApiFp=Z;exports.BASE_PATH=u;exports.BankAccountsApi=vn;exports.BankAccountsApiAxiosParamCreator=Lr;exports.BankAccountsApiFactory=_n;exports.BankAccountsApiFp=Br;exports.BaseAPI=R;exports.BeneficiariesApi=Tn;exports.BeneficiariesApiAxiosParamCreator=Fr;exports.BeneficiariesApiFactory=Sn;exports.BeneficiariesApiFp=jr;exports.BulkImportDTOStatusEnum=Ct;exports.BulkImportsApi=Un;exports.BulkImportsApiAxiosParamCreator=_;exports.BulkImportsApiFactory=xn;exports.BulkImportsApiFp=v;exports.COLLECTION_FORMATS=Js;exports.CashDepositsApi=Qn;exports.CashDepositsApiAxiosParamCreator=ee;exports.CashDepositsApiFactory=kn;exports.CashDepositsApiFp=re;exports.CheckDTOStatusEnum=qt;exports.CheckDTOTypeEnum=Vt;exports.ChecksApi=Xn;exports.ChecksApiAxiosParamCreator=Ke;exports.ChecksApiFactory=Kn;exports.ChecksApiFp=Xe;exports.ClaimActivityType=_t;exports.ClaimDTOStatusEnum=vt;exports.ClaimDocumentsApi=to;exports.ClaimDocumentsApiAxiosParamCreator=te;exports.ClaimDocumentsApiFactory=ro;exports.ClaimDocumentsApiFp=ae;exports.ClaimItemCorrectionResponseDTOActionEnum=bt;exports.ClaimItemCorrectionsApi=co;exports.ClaimItemCorrectionsApiAxiosParamCreator=Ze;exports.ClaimItemCorrectionsApiFactory=lo;exports.ClaimItemCorrectionsApiFp=er;exports.ClaimItemDTOTypeEnum=St;exports.ClaimItemDocumentsApi=Ao;exports.ClaimItemDocumentsApiAxiosParamCreator=se;exports.ClaimItemDocumentsApiFactory=ho;exports.ClaimItemDocumentsApiFp=ne;exports.ClaimItemProposalDTOSettledSourceEnum=Tt;exports.ClaimItemProposalsApi=Oo;exports.ClaimItemProposalsApiAxiosParamCreator=_e;exports.ClaimItemProposalsApiFactory=wo;exports.ClaimItemProposalsApiFp=ve;exports.ClaimItemsApi=Vo;exports.ClaimItemsApiAxiosParamCreator=be;exports.ClaimItemsApiFactory=Co;exports.ClaimItemsApiFp=Se;exports.ClaimProposalDTOSourceEnum=Nt;exports.ClaimProposalDTOStatusEnum=xt;exports.ClaimProposalDTOTypeEnum=Ut;exports.ClaimProposalsApi=So;exports.ClaimProposalsApiAxiosParamCreator=oe;exports.ClaimProposalsApiFactory=bo;exports.ClaimProposalsApiFp=ie;exports.ClaimResponseDocumentsApi=Bo;exports.ClaimResponseDocumentsApiAxiosParamCreator=Re;exports.ClaimResponseDocumentsApiFactory=Lo;exports.ClaimResponseDocumentsApiFp=Ie;exports.ClaimStatusDTOStatusIdEnum=Dt;exports.ClaimWithCheckoutRelationsDTOStatusEnum=Lt;exports.ClaimsApi=ko;exports.ClaimsApiAxiosParamCreator=O;exports.ClaimsApiFactory=Go;exports.ClaimsApiFp=f;exports.CommissionApi=Ri;exports.CommissionApiAxiosParamCreator=Mr;exports.CommissionApiFactory=mi;exports.CommissionApiFp=Hr;exports.ConcurrentTenancyCheckApi=gi;exports.ConcurrentTenancyCheckApiAxiosParamCreator=Gr;exports.ConcurrentTenancyCheckApiFactory=Pi;exports.ConcurrentTenancyCheckApiFp=kr;exports.Configuration=Mh;exports.CreateAddressForRepositDTOCountryEnum=Bt;exports.CreateClaimItemDTOTypeEnum=Ft;exports.CreateClaimItemDocumentDTOTypeEnum=jt;exports.CreateClaimItemReviewDTOStatusEnum=Mt;exports.CreateDocumentDTOTypeEnum=Ht;exports.CreateDocumentFromS3DTOTypeEnum=Gt;exports.CreateEvidenceChaserItemDTODocumentTypeIdEnum=kt;exports.CreateEvidenceChaserItemDTOTypeEnum=Qt;exports.CreateEvidenceChaserItemReviewDTOStatusEnum=Yt;exports.CreateInsuredItemDTOTypeEnum=zt;exports.CreateLandlordDTOLandlordTypeIdEnum=$t;exports.CreateLandlordForRepositDTOLandlordTypeIdEnum=Wt;exports.CreateLandlordWithOrgDTOLandlordTypeIdEnum=Jt;exports.CreateNetPromoterScoreDTOSurveyEventEnum=Kt;exports.CreateOrderDTOProductIdEnum=Xt;exports.CreateOrganizationBankAccountDTOAccountTypeEnum=Zt;exports.CreateOrganizationDTOPrimaryVerticalEnum=ra;exports.CreateOrganizationDTOSecondaryVerticalsEnum=ta;exports.CreateOrganizationDTOTypeEnum=ea;exports.CreateOrganizationRecipientDTOGroupEnum=aa;exports.CreatePolicyWithBeneficiaryDTOMaximumPolicyCoverEnum=sa;exports.CreateReferenceDTOChecksEnum=na;exports.CreateTenancyInviteDTORoleIdEnum=oa;exports.CreateTenancyRequestDTOTermTypeEnum=ia;exports.CurrentUserAccountInfoDTOCurrentOrganizationRolesEnum=la;exports.CurrentUserInfoDTOCurrentOrganizationRolesEnum=ca;exports.CustomersApi=fi;exports.CustomersApiAxiosParamCreator=Qr;exports.CustomersApiFactory=Oi;exports.CustomersApiFp=Yr;exports.DepositDTOStatusEnum=da;exports.DocumentsApi=Ci;exports.DocumentsApiAxiosParamCreator=Te;exports.DocumentsApiFactory=Ei;exports.DocumentsApiFp=Ne;exports.EvidenceChaserDTOStatusEnum=pa;exports.EvidenceChaserDTOTypeEnum=ua;exports.EvidenceChaserItemClaimItemDTOStatusEnum=ha;exports.EvidenceChaserItemClaimItemReviewDTOStatusEnum=Aa;exports.EvidenceChaserItemDTOStatusEnum=ma;exports.EvidenceChaserItemDTOTypeEnum=Ra;exports.EvidenceChaserItemRequestDTOPublicationStatusEnum=Ia;exports.EvidenceChaserItemRequestsApi=bi;exports.EvidenceChaserItemRequestsApiAxiosParamCreator=rr;exports.EvidenceChaserItemRequestsApiFactory=vi;exports.EvidenceChaserItemRequestsApiFp=tr;exports.EvidenceChaserItemResponseDTOPublicationStatusEnum=Pa;exports.EvidenceChaserItemResponseDocumentsApi=xi;exports.EvidenceChaserItemResponseDocumentsApiAxiosParamCreator=ar;exports.EvidenceChaserItemResponseDocumentsApiFactory=Ni;exports.EvidenceChaserItemResponseDocumentsApiFp=sr;exports.EvidenceChaserItemResponsesApi=Bi;exports.EvidenceChaserItemResponsesApiAxiosParamCreator=nr;exports.EvidenceChaserItemResponsesApiFactory=Li;exports.EvidenceChaserItemResponsesApiFp=or;exports.EvidenceChaserItemReviewDTOPublicationStatusEnum=wa;exports.EvidenceChaserItemReviewDTOStatusEnum=ga;exports.EvidenceChaserItemReviewsApi=Hi;exports.EvidenceChaserItemReviewsApiAxiosParamCreator=ir;exports.EvidenceChaserItemReviewsApiFactory=Mi;exports.EvidenceChaserItemReviewsApiFp=lr;exports.EvidenceChaserItemsApi=Yi;exports.EvidenceChaserItemsApiAxiosParamCreator=cr;exports.EvidenceChaserItemsApiFactory=Qi;exports.EvidenceChaserItemsApiFp=dr;exports.EvidenceChaserRoundDTOStatusEnum=Oa;exports.EvidenceChaserRoundsApi=Ji;exports.EvidenceChaserRoundsApiAxiosParamCreator=xe;exports.EvidenceChaserRoundsApiFactory=Wi;exports.EvidenceChaserRoundsApiFp=Ue;exports.EvidenceChasersApi=rl;exports.EvidenceChasersApiAxiosParamCreator=De;exports.EvidenceChasersApiFactory=el;exports.EvidenceChasersApiFp=Le;exports.FeedbackApi=ol;exports.FeedbackApiAxiosParamCreator=zr;exports.FeedbackApiFactory=nl;exports.FeedbackApiFp=$r;exports.HealthApi=cl;exports.HealthApiAxiosParamCreator=ur;exports.HealthApiFactory=ll;exports.HealthApiFp=pr;exports.IncomingWebhooksApi=hl;exports.IncomingWebhooksApiAxiosParamCreator=T;exports.IncomingWebhooksApiFactory=pl;exports.IncomingWebhooksApiFp=N;exports.InsuranceClaimDTOStatusEnum=fa;exports.InsuranceClaimsApi=fl;exports.InsuranceClaimsApiAxiosParamCreator=Be;exports.InsuranceClaimsApiFactory=Ol;exports.InsuranceClaimsApiFp=Fe;exports.IntegratorApi=ql;exports.IntegratorApiAxiosParamCreator=Wr;exports.IntegratorApiFactory=Vl;exports.IntegratorApiFp=Jr;exports.IntegratorCommissionApi=bl;exports.IntegratorCommissionApiAxiosParamCreator=Kr;exports.IntegratorCommissionApiFactory=vl;exports.IntegratorCommissionApiFp=Xr;exports.InternalReportingApi=Nl;exports.InternalReportingApiAxiosParamCreator=hr;exports.InternalReportingApiFactory=Tl;exports.InternalReportingApiFp=Ar;exports.InternalTeamMemberDTOTeamEnum=ya;exports.InternalTeamMembersApi=Ll;exports.InternalTeamMembersApiAxiosParamCreator=Zr;exports.InternalTeamMembersApiFactory=Dl;exports.InternalTeamMembersApiFp=et;exports.KpiDocumentApi=jl;exports.KpiDocumentApiAxiosParamCreator=rt;exports.KpiDocumentApiFactory=Fl;exports.KpiDocumentApiFp=tt;exports.LandlordDTOTypeEnum=Ea;exports.LandlordsApi=Gl;exports.LandlordsApiAxiosParamCreator=mr;exports.LandlordsApiFactory=Hl;exports.LandlordsApiFp=Rr;exports.MessageQueueApi=zl;exports.MessageQueueApiAxiosParamCreator=at;exports.MessageQueueApiFactory=Yl;exports.MessageQueueApiFp=st;exports.MyDepositsOAuthApi=Jl;exports.MyDepositsOAuthApiAxiosParamCreator=k;exports.MyDepositsOAuthApiFactory=Wl;exports.MyDepositsOAuthApiFp=Q;exports.MyDepositsOnboardingStatusResponseDTOAccountTypeEnum=Va;exports.MyDepositsOnboardingStatusResponseDTOOnboardingStatusEnum=Ca;exports.NetPromoterScoreApi=sc;exports.NetPromoterScoreApiAxiosParamCreator=nt;exports.NetPromoterScoreApiFactory=ac;exports.NetPromoterScoreApiFp=ot;exports.NetPromoterScoreDTOCategoryEnum=_a;exports.NetPromoterScoreDTOSurveyEventEnum=qa;exports.OfferToTenantRequestDTOTenantsReferenceStatusEnum=va;exports.OrderCustomerActionDTOTypeIdEnum=ba;exports.OrderCustomerActionsApi=ic;exports.OrderCustomerActionsApiAxiosParamCreator=x;exports.OrderCustomerActionsApiFactory=oc;exports.OrderCustomerActionsApiFp=U;exports.OrderCustomersApi=Rc;exports.OrderCustomersApiAxiosParamCreator=je;exports.OrderCustomersApiFactory=mc;exports.OrderCustomersApiFp=Me;exports.OrderDTOProductIdEnum=Sa;exports.OrderDTORefundHandlingEnum=Na;exports.OrderDTOStatusIdEnum=Ta;exports.OrderWithOrderCustomersDTOProductIdEnum=xa;exports.OrderWithOrderCustomersDTORefundHandlingEnum=Da;exports.OrderWithOrderCustomersDTOStatusIdEnum=Ua;exports.OrdersApi=Oc;exports.OrdersApiAxiosParamCreator=Ir;exports.OrdersApiFactory=wc;exports.OrdersApiFp=Pr;exports.OrganizationAttributesDTOInvoiceCategoryEnum=La;exports.OrganizationBankAccountDTOAccountTypeEnum=Ba;exports.OrganizationBankAccountsApi=Cc;exports.OrganizationBankAccountsApiAxiosParamCreator=He;exports.OrganizationBankAccountsApiFactory=Ec;exports.OrganizationBankAccountsApiFp=Ge;exports.OrganizationDTOOrganizationTypeIdEnum=Fa;exports.OrganizationInternalOwnerDTOResponsibleForEnum=ja;exports.OrganizationInternalOwnersApi=bc;exports.OrganizationInternalOwnersApiAxiosParamCreator=it;exports.OrganizationInternalOwnersApiFactory=vc;exports.OrganizationInternalOwnersApiFp=lt;exports.OrganizationInvitesApi=Nc;exports.OrganizationInvitesApiAxiosParamCreator=le;exports.OrganizationInvitesApiFactory=Tc;exports.OrganizationInvitesApiFp=ce;exports.OrganizationRecipientDTOGroupEnum=Ma;exports.OrganizationRecipientsApi=jc;exports.OrganizationRecipientsApiAxiosParamCreator=gr;exports.OrganizationRecipientsApiFactory=Fc;exports.OrganizationRecipientsApiFp=wr;exports.OrganizationSettingsDTOAllowedTenancyTermTypesEnum=Qa;exports.OrganizationSettingsDTOCommissionRuleEnum=Ga;exports.OrganizationSettingsDTOMaximumPolicyCoverEnum=ka;exports.OrganizationSettingsDTOPricingRuleEnum=Ha;exports.OrganizationUserDTORolesEnum=Ya;exports.OrganizationUsersApi=kc;exports.OrganizationUsersApiAxiosParamCreator=ke;exports.OrganizationUsersApiFactory=Gc;exports.OrganizationUsersApiFp=Qe;exports.OrganizationVerticalDTONameEnum=$a;exports.OrganizationVerticalDTOTypeEnum=za;exports.OrganizationWithCashDepositDTOOrganizationTypeIdEnum=Wa;exports.OrganizationWithRepositsAndRolesOrganizationTypeIdEnum=Ja;exports.OrganizationWithRepositsAndRolesRolesEnum=Ka;exports.OrganizationWithRolesOrganizationTypeIdEnum=Xa;exports.OrganizationWithRolesRolesEnum=Za;exports.OrganizationsApi=Wc;exports.OrganizationsApiAxiosParamCreator=g;exports.OrganizationsApiFactory=$c;exports.OrganizationsApiFp=w;exports.PaymentDetailsResponseDTOCashDepositStatusEnum=es;exports.PaymentMethodChecksRequestDTOCustomerActionTypeEnum=rs;exports.PaymentMethodChecksResponseDTOCvcEnum=ts;exports.PaymentMethodChecksResponseDTOFundingEnum=ns;exports.PaymentMethodChecksResponseDTONameMatchEnum=ss;exports.PaymentMethodChecksResponseDTOPostcodeEnum=as;exports.PaymentPlanActionDTOTypeIdEnum=os;exports.PaymentPlanActionsApi=Ed;exports.PaymentPlanActionsApiAxiosParamCreator=Pe;exports.PaymentPlanActionsApiFactory=yd;exports.PaymentPlanActionsApiFp=ge;exports.PaymentPlanDTOFrequencyEnum=is;exports.PaymentPlanDTOStatusEnum=ls;exports.PaymentPlanInstalmentDTOStatusEnum=cs;exports.PaymentPlanInstalmentsApi=bd;exports.PaymentPlanInstalmentsApiAxiosParamCreator=Ye;exports.PaymentPlanInstalmentsApiFactory=vd;exports.PaymentPlanInstalmentsApiFp=ze;exports.PaymentPlansApi=Ud;exports.PaymentPlansApiAxiosParamCreator=D;exports.PaymentPlansApiFactory=xd;exports.PaymentPlansApiFp=L;exports.PlaidWebhookDtoNewPaymentStatusEnum=hs;exports.PlaidWebhookDtoStatusEnum=ps;exports.PlaidWebhookDtoWebhookCodeEnum=us;exports.PlaidWebhookDtoWebhookTypeEnum=ds;exports.PoliciesApi=kd;exports.PoliciesApiAxiosParamCreator=Y;exports.PoliciesApiFactory=Gd;exports.PoliciesApiFp=z;exports.PolicyDTOStatusEnum=As;exports.PolicyDocumentsApi=Xd;exports.PolicyDocumentsApiAxiosParamCreator=we;exports.PolicyDocumentsApiFactory=Kd;exports.PolicyDocumentsApiFp=Oe;exports.PolicyTypeDTOCoverTypeEnum=ms;exports.PreTenancyDocumentsApi=su;exports.PreTenancyDocumentsApiAxiosParamCreator=Or;exports.PreTenancyDocumentsApiFactory=au;exports.PreTenancyDocumentsApiFp=fr;exports.PricingApi=lu;exports.PricingApiAxiosParamCreator=yr;exports.PricingApiFactory=iu;exports.PricingApiFp=Er;exports.PropertiesApi=pu;exports.PropertiesApiAxiosParamCreator=$e;exports.PropertiesApiFactory=uu;exports.PropertiesApiFp=We;exports.QueueMessageDTOCronNameEnum=Is;exports.QueueMessageDTOTypeEnum=Rs;exports.ReconciliationDocumentsApi=Iu;exports.ReconciliationDocumentsApiAxiosParamCreator=ct;exports.ReconciliationDocumentsApiFactory=Ru;exports.ReconciliationDocumentsApiFp=dt;exports.ReferenceDTOStatusEnum=Ps;exports.ReferenceDocumentsApi=wu;exports.ReferenceDocumentsApiAxiosParamCreator=fe;exports.ReferenceDocumentsApiFactory=gu;exports.ReferenceDocumentsApiFp=ye;exports.ReferencesApi=Vu;exports.ReferencesApiAxiosParamCreator=B;exports.ReferencesApiFactory=Cu;exports.ReferencesApiFp=F;exports.RepositAddressDTOCountryEnum=gs;exports.RepositAgentDTOUserTypeIdEnum=ws;exports.RepositDTOStatusEnum=Os;exports.RepositLandlordDTOLandlordTypeIdEnum=fs;exports.RepositOfferDTOTenantsReferenceStatusEnum=ys;exports.RepositOfferRecipientDTOChoiceEnum=Es;exports.RepositOffersApi=Uu;exports.RepositOffersApiAxiosParamCreator=j;exports.RepositOffersApiFactory=xu;exports.RepositOffersApiFp=M;exports.RepositPolicyTypeDTOCategoryEnum=Cs;exports.RepositSupplierDTOTypeEnum=Vs;exports.RepositTenantDTOStatusEnum=qs;exports.RepositTenantDocumentDTOTypeEnum=_s;exports.RepositWebhookDTOActionEnum=bs;exports.RepositWebhookDTOResourceTypeEnum=vs;exports.RepositWebhookTenantDTOStatusEnum=Ss;exports.RepositsApi=ku;exports.RepositsApiAxiosParamCreator=b;exports.RepositsApiFactory=Gu;exports.RepositsApiFp=S;exports.RequiredError=h;exports.SearchRepositOfferDTOTenantsReferenceStatusEnum=Ts;exports.SeedCashDepositsApi=ep;exports.SeedCashDepositsApiAxiosParamCreator=ut;exports.SeedCashDepositsApiFactory=Zu;exports.SeedCashDepositsApiFp=pt;exports.SeedRepositsApi=ap;exports.SeedRepositsApiAxiosParamCreator=ht;exports.SeedRepositsApiFactory=tp;exports.SeedRepositsApiFp=At;exports.SubmitFeedbackDTOApplicationEnum=Ns;exports.SubmitFeedbackDTOSubjectEnum=xs;exports.SuppliersApi=op;exports.SuppliersApiAxiosParamCreator=Cr;exports.SuppliersApiFactory=np;exports.SuppliersApiFp=Vr;exports.TenanciesApi=dp;exports.TenanciesApiAxiosParamCreator=C;exports.TenanciesApiFactory=cp;exports.TenanciesApiFp=V;exports.TenancyAnniversariesApi=Cp;exports.TenancyAnniversariesApiAxiosParamCreator=mt;exports.TenancyAnniversariesApiFactory=Ep;exports.TenancyAnniversariesApiFp=Rt;exports.TenancyCheckoutsApi=_p;exports.TenancyCheckoutsApiAxiosParamCreator=It;exports.TenancyCheckoutsApiFactory=qp;exports.TenancyCheckoutsApiFp=Pt;exports.TenancyDTOTermTypeEnum=Us;exports.TenancyExpiriesApi=Sp;exports.TenancyExpiriesApiAxiosParamCreator=qr;exports.TenancyExpiriesApiFactory=bp;exports.TenancyExpiriesApiFp=_r;exports.TenancyInventoriesApi=Up;exports.TenancyInventoriesApiAxiosParamCreator=vr;exports.TenancyInventoriesApiFactory=xp;exports.TenancyInventoriesApiFp=br;exports.TenancyInventoryRespondentDTOResponseEnum=Ds;exports.TenancyInventoryRespondentDTOStageEnum=Ls;exports.TenancyInviteDTORoleIdEnum=Bs;exports.TenancyInvitesApi=Fp;exports.TenancyInvitesApiAxiosParamCreator=$;exports.TenancyInvitesApiFactory=Bp;exports.TenancyInvitesApiFp=W;exports.TenancyOrderNotesApi=zp;exports.TenancyOrderNotesApiAxiosParamCreator=Sr;exports.TenancyOrderNotesApiFactory=Yp;exports.TenancyOrderNotesApiFp=Tr;exports.TenancyOrdersApi=Kp;exports.TenancyOrdersApiAxiosParamCreator=J;exports.TenancyOrdersApiFactory=Jp;exports.TenancyOrdersApiFp=K;exports.TenancyUserDTORoleIdEnum=Fs;exports.TenancyUsersApi=nh;exports.TenancyUsersApiAxiosParamCreator=Ee;exports.TenancyUsersApiFactory=sh;exports.TenancyUsersApiFp=Ce;exports.TenancyWithCheckoutAndClaimDTOTermTypeEnum=js;exports.TenantsApi=uh;exports.TenantsApiAxiosParamCreator=Nr;exports.TenantsApiFactory=dh;exports.TenantsApiFp=xr;exports.TermsApi=mh;exports.TermsApiAxiosParamCreator=Ur;exports.TermsApiFactory=Ah;exports.TermsApiFp=Dr;exports.UpdateClaimItemDTOTypeEnum=Ms;exports.UpdateLandlordDTOTypeEnum=Hs;exports.UpdateOrganizationDTOOrganizationTypeIdEnum=Gs;exports.UpdatePolicyStatusDTOStatusEnum=ks;exports.UpdateTenancyRequestDTOTermTypeEnum=Qs;exports.UserDTOInternalRolesEnum=zs;exports.UserDTOUserTypeIdEnum=Ys;exports.UsersApi=gh;exports.UsersApiAxiosParamCreator=y;exports.UsersApiFactory=Ph;exports.UsersApiFp=E;exports.VerifyPostcodeResponseDTOStatusEnum=$s;exports.WebhooksApi=Fh;exports.WebhooksApiAxiosParamCreator=gt;exports.WebhooksApiFactory=Bh;exports.WebhooksApiFp=wt;exports.aboutYou=lc;exports.acceptOrganizationInvite=xc;exports.acceptTenancyInvite=jp;exports.acknowledgeCaseSentToInsurer=Qo;exports.addAbitrationDocument=un;exports.addClaimDocument=ao;exports.addClaimDocumentByDocumentId=so;exports.addClaimItemDocument=mo;exports.addClaimItemDocumentByDocumentId=Ro;exports.addClaimResponseDocument=Fo;exports.addGuarantor=oh;exports.addItems=Qd;exports.addPaymentMethod=yi;exports.addPolicyDocument=Zd;exports.addPreTenancyDocumentByDocumentId=nu;exports.addReferenceDocument=Ou;exports.addRejectionReason=Du;exports.addTenant=ph;exports.addressHistory=cc;exports.agreeClaimProposal=To;exports.applyClaimItemCorrection=uo;exports.approveClaim=Yo;exports.changeInstalmentDates=Dd;exports.checkConcurrentTenancy=wi;exports.closingRemindersEnabled=up;exports.completeMyDepositsSetup=Kl;exports.completeOnboardingIntroduction=wh;exports.confirm=dc;exports.confirmBankAccounts=Jc;exports.confirmPaymentPlan=Cd;exports.confirmTenancyDetails=Yn;exports.counterClaimProposal=No;exports.create=Vc;exports.createAddress=Zs;exports.createApplicant=nn;exports.createArbitration=In;exports.createBulkImport=Dn;exports.createCheckout=vp;exports.createClaim=zo;exports.createClaimActivity=$o;exports.createClaimItem=qo;exports.createClaimItemProposal=fo;exports.createDocument=Vi;exports.createEvidenceChaser=tl;exports.createEvidenceChaserItem=zi;exports.createEvidenceChaserItemRequest=Si;exports.createEvidenceChaserItemResponse=Fi;exports.createEvidenceChaserItemResponseDocument=Ui;exports.createEvidenceChaserItemReview=Gi;exports.createFromS3=qi;exports.createInsuranceClaim=yl;exports.createInsuranceClaimOnClaim=Wo;exports.createNetPromoterScore=nc;exports.createOffer=Lu;exports.createOneTimeSessionToken=Oh;exports.createOrganization=Kc;exports.createOrganizationInvite=Uc;exports.createOrganizationRecipient=Mc;exports.createPaymentPlan=Ld;exports.createPolicy=Yd;exports.createProperty=hu;exports.createReference=qu;exports.createReposit=Qu;exports.createTemporaryUploadUrl=Ln;exports.createTenancy=pp;exports.createTenancyExpiry=Tp;exports.createTenancyInvite=Mp;exports.createTenancyOrder=hp;exports.createTenancyOrderNote=$p;exports.dbHealthCheck=dl;exports.deactivateClaim=Jo;exports.declineClaim=Ko;exports.deferPaymentPlanInstalment=Sd;exports.deleteAbitrationDocument=pn;exports.deleteBankAccount=qc;exports.deleteById=hh;exports.deleteClaimDocument=no;exports.deleteClaimItem=_o;exports.deleteClaimItemDocument=Io;exports.deleteClaimItemProposal=yo;exports.deleteClaimResponseDocument=jo;exports.deleteEvidenceChaserItemRequest=Ti;exports.deleteEvidenceChaserItemResponseDocument=Di;exports.deleteGuarantor=ih;exports.deleteInvite=Dc;exports.deleteItem=zd;exports.deleteNote=Wp;exports.deleteOffer=Bu;exports.deleteOrganizationRecipient=Hc;exports.deletePaymentPlanById=Bd;exports.deletePolicyDocument=eu;exports.deletePreTenancyDocument=ou;exports.deleteReferenceDocument=fu;exports.deleteTenancyInvite=Hp;exports.disableProductCreation=Xc;exports.disableTopUps=Ap;exports.disableWarnings=Dp;exports.disconnectMyDeposits=Xl;exports.dismissNewProductUpdates=fh;exports.dismissOrganizationMessage=Zc;exports.dismissUserMessage=yh;exports.disputeClaimProposal=xo;exports.dryRunClaimItemCorrection=po;exports.duplicatePaymentMethodCheck=fc;exports.enableProductCreation=ed;exports.exchangeMyDepositsToken=Zl;exports.expireEvidenceChaser=al;exports.extendOutcomeDeadline=mp;exports.fetchAddressesByOrganizationId=rd;exports.fetchInvitesByOrganizationId=Lc;exports.fetchInvitesByTenancyId=Gp;exports.fetchLandlordsByOrganizationId=td;exports.fetchOrganizationUsersByOrganizationId=ad;exports.fetchPropertiesByOrganizationId=sd;exports.fetchTenanciesByOrganizationId=nd;exports.fetchUsersByOrganizationId=od;exports.findAbitrationDocumentById=hn;exports.findAddressById=en;exports.findAll=Bl;exports.findApplicantById=on;exports.findCheckById=Zn;exports.findClaimById=Xo;exports.findClaimDocumentById=oo;exports.findClaimItemDocumentById=Po;exports.findClaimResponseDocumentById=Mo;exports.findManyAbitrationDocuments=An;exports.findManyClaimDocuments=io;exports.findManyClaimItemDocuments=go;exports.findManyClaimResponseDocuments=Ho;exports.findManyPolicyDocuments=ru;exports.findManyReferenceDocuments=yu;exports.findOne=$d;exports.findOneByID=Eh;exports.findOrganizationById=id;exports.findPolicyDocumentById=tu;exports.findReferenceById=_u;exports.findReferenceDocumentById=Eu;exports.forceDeletePaymentPlanById=Fd;exports.generateADRForm=Zo;exports.generateCashDepositPlaidLinkToken=zn;exports.generateCommissionCsvForPeriod=Ii;exports.generateLastMonthCommission=Sl;exports.getActive=bn;exports.getAllBulkImports=Bn;exports.getAmountRemaining=yc;exports.getArbitrationById=Pn;exports.getBankAccounts=_c;exports.getBulkImportById=Fn;exports.getBulkImportDownloadUrl=jn;exports.getByTenancyId=Np;exports.getCashDepositAmount=cu;exports.getCashDepositScheme=ld;exports.getChecks=vu;exports.getChildren=cd;exports.getCompletedReposits=xl;exports.getCreatedReposits=Ul;exports.getCustomer=Ch;exports.getDocumentsByIds=_i;exports.getEvidenceChaserById=sl;exports.getExampleCsv=Mn;exports.getFailedRowsCsv=Hn;exports.getInstalmentById=Td;exports.getInstalmentPaymentIntentSecret=Nd;exports.getInsuranceClaim=El;exports.getIntegrators=_l;exports.getLandlordById=kl;exports.getMyDepositsAuthorizeUrl=ec;exports.getMyDepositsCompanyOffices=rc;exports.getMyDepositsOnboardingStatus=tc;exports.getMySupplier=ip;exports.getOrderCustomerById=Ic;exports.getOrganizationMetrics=dd;exports.getOrganizationUsers=Vh;exports.getOrganizationVerticals=ud;exports.getOwners=Sc;exports.getPaymentDetails=$n;exports.getPaymentPlanAction=Vd;exports.getPaymentPlanById=jd;exports.getPaymentPlanPropertyAddressById=Md;exports.getPropertyById=Au;exports.getRecipients=pd;exports.getReferenceDocuments=bu;exports.getRepositById=Yu;exports.getRepositFee=du;exports.getRepositLandlord=zu;exports.getRepositOffer=Fu;exports.getRepositPolicies=$u;exports.getRepositPrice=Wu;exports.getSetupIntentSecret=Hd;exports.getSupplierAgents=lp;exports.getSupplierTerms=Rh;exports.getTenancyAnniversaries=Vp;exports.getTenancyById=Rp;exports.getTenancyDocuments=Ip;exports.getTenancyOrderById=Xp;exports.getTenancyOrdersByProductId=qh;exports.getTenancyUserById=Pc;exports.getTenantDocuments=Ju;exports.getTenantTerms=Ih;exports.getUserAccount=_h;exports.getUserTenancyAnniversaries=vh;exports.grantRoles=Qc;exports.healthCheck=ul;exports.login=yn;exports.me=bh;exports.notifyIntegrator=Yc;exports.optimisedSearch=Zp;exports.optimisedSearchClaim=ei;exports.override=eo;exports.pay=uc;exports.paySupplier=ri;exports.paymentCardChecks=gc;exports.processIncomingMessage=$l;exports.processPlaidWebhooks=Al;exports.processSendGridWebhooks=ml;exports.processStripeOffSessionWebhooks=Rl;exports.processStripeWebhooks=Il;exports.processTwilioIvrWebhooks=Pl;exports.processTwilioIvrWebhooksWithGatherAction=gl;exports.processTwilioVoicemailWebhook=wl;exports.processUploadFile=Gn;exports.publish=Pp;exports.publishArbitration=gn;exports.publishClaim=ti;exports.publishClaimProposal=Uo;exports.publishEvidenceChaserRequests=Ki;exports.publishEvidenceChaserResponses=Xi;exports.publishEvidenceChaserReviews=Zi;exports.publishReposit=Ku;exports.readyForArbitrateClaim=ai;exports.readyForReview=Su;exports.redeemOneTimeSessionToken=En;exports.reference=pc;exports.removeTenancyOrderById=eh;exports.removeUser=hd;exports.reopenClaim=si;exports.reopenTenancyOrder=rh;exports.replaceReposit=Xu;exports.requestMoreInfoClaim=ni;exports.resendOrganizationInvite=Bc;exports.resendTenancyInvite=kp;exports.resetPassword=Cn;exports.resetPasswordRequest=Vn;exports.resetUserPassword=Sh;exports.resolveClaim=oi;exports.resolveInsuranceClaim=Cl;exports.respondToOffer=ju;exports.revokeRoles=zc;exports.searchAddressesByPostcode=rn;exports.searchKpiDocuments=Ml;exports.searchOffers=Mu;exports.searchOrganization=Ad;exports.searchProperties=mu;exports.searchReconciliationDocuments=Pu;exports.searchReferences=Tu;exports.searchUser=Th;exports.seedCashDeposit=rp;exports.seedReposit=sp;exports.sendOverdueChasers=th;exports.sendReminder=Hu;exports.sendReminderEmail=lh;exports.setLandlordInformationComplete=md;exports.setPassword=qn;exports.sign=hc;exports.signAddendumForSupplier=gp;exports.signAddendumForTenant=Ac;exports.signCashDeposit=Wn;exports.skipEvidenceChaser=ii;exports.submitChecks=Nu;exports.submitFeedback=il;exports.submitMoreInfoClaim=li;exports.tenantConfirmation=Lp;exports.tenantVacated=wp;exports.transferTenancyOrderToOrganization=ah;exports.unpublishClaimProposal=Do;exports.updateASTAcceptance=Rd;exports.updateAboutMe=Nh;exports.updateAddress=qd;exports.updateAddressById=tn;exports.updateAddressHistory=xh;exports.updateArbitration=wn;exports.updateAttributes=ln;exports.updateAutoCharge=ci;exports.updateBeneficiary=Nn;exports.updateBetaEnabled=Uh;exports.updateCardDetails=_d;exports.updateClaim=di;exports.updateClaimItem=vo;exports.updateClaimItemProposal=Eo;exports.updateEmailSettings=Dh;exports.updateEvidenceChaserItem=$i;exports.updateEvidenceChaserItemResponse=ji;exports.updateEvidenceChaserItemReview=ki;exports.updateExistingProperty=Op;exports.updateGuarantor=ch;exports.updateInformedLandlords=Id;exports.updateIntegrationWebhookUrl=jh;exports.updateLandlord=Ql;exports.updateOrganization=Pd;exports.updateOrganizationNotes=gd;exports.updatePolicy=Wd;exports.updateProperty=fp;exports.updateStatus=Jd;exports.updateTenancy=yp;exports.updateTenancyInvite=Qp;exports.updateTenantDisputeMessage=ui;exports.updateTermsAccepted=wd;exports.updateUser=Lh;exports.updateYourCompany=Od;exports.verifyClaim=pi;exports.verifyPostcode=Jn;exports.waiveDisputeFee=hi;exports.welcomeLandlord=fd;exports.zipDocuments=Ai;