@reposit/api-client 6.60.0 → 6.61.0-concurrent-tenancy-check-2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +6765 -2
- package/dist/index.js +1 -8
- package/dist/index.mjs +19858 -0
- package/package.json +19 -8
- package/dist/api.d.ts +0 -5144
- package/dist/api.js +0 -14792
- package/dist/api.js.map +0 -1
- package/dist/base.d.ts +0 -25
- package/dist/base.js +0 -50
- package/dist/base.js.map +0 -1
- package/dist/configuration.d.ts +0 -17
- package/dist/configuration.js +0 -15
- package/dist/configuration.js.map +0 -1
- package/dist/index.js.map +0 -1
package/dist/index.js
CHANGED
|
@@ -1,8 +1 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
function __export(m) {
|
|
3
|
-
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
|
|
4
|
-
}
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
__export(require("./api"));
|
|
7
|
-
__export(require("./configuration"));
|
|
8
|
-
//# sourceMappingURL=index.js.map
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const p=require("axios"),u="http://localhost".replace(/\/+$/,""),xn={csv:",",ssv:" ",tsv:" ",pipes:"|"};class R{constructor(e,r=u,t=p){this.basePath=r,this.axios=t,e&&(this.configuration=e,this.basePath=e.basePath||this.basePath)}}class h extends Error{constructor(e,r){super(r),this.field=e,this.name="RequiredError"}}const le=function(a){return{createAddress(e,r={}){if(e==null)throw new h("createAddressWithOrgDTO","Required parameter createAddressWithOrgDTO was null or undefined when calling createAddress.");const t="/v2/addresses",n=new URL(t,"http://placeholder");let s;a&&(s=a.baseOptions);const o={method:"POST",...s,...r},i={},l={};return i["Content-Type"]="application/json",Object.entries({...l,...r.query}).forEach(([d,c])=>{c!==void 0&&n.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},o.data=JSON.stringify(e!==void 0?e:{}),{url:n.pathname+n.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))),n=new URL(t,"http://placeholder");let s;a&&(s=a.baseOptions);const o={method:"GET",...s,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&n.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:n.pathname+n.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",n=new URL(t,"http://placeholder");let s;a&&(s=a.baseOptions);const o={method:"GET",...s,...r},i={},l={};return e!==void 0&&(l.postcode=e),Object.entries({...l,...r.query}).forEach(([d,c])=>{c!==void 0&&n.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:n.pathname+n.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 n="/v2/addresses/{id}".replace("{id}",encodeURIComponent(String(e))),s=new URL(n,"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&&s.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:s.pathname+s.search,options:i}}}},ce=function(a){return{createAddress(e,r){const t=le(a).createAddress(e,r);return(n=p,s=u)=>{const o={...t.options,url:s+t.url};return n.request(o)}},findAddressById(e,r){const t=le(a).findAddressById(e,r);return(n=p,s=u)=>{const o={...t.options,url:s+t.url};return n.request(o)}},searchAddressesByPostcode(e,r){const t=le(a).searchAddressesByPostcode(e,r);return(n=p,s=u)=>{const o={...t.options,url:s+t.url};return n.request(o)}},updateAddressById(e,r,t){const n=le(a).updateAddressById(e,r,t);return(s=p,o=u)=>{const i={...n.options,url:o+n.url};return s.request(i)}}}},Un=function(a,e,r){return{createAddress(t,n){return ce(a).createAddress(t,n)(r,e)},findAddressById(t,n){return ce(a).findAddressById(t,n)(r,e)},searchAddressesByPostcode(t,n){return ce(a).searchAddressesByPostcode(t,n)(r,e)},updateAddressById(t,n,s){return ce(a).updateAddressById(t,n,s)(r,e)}}};class Dn extends R{createAddress(e,r){return ce(this.configuration).createAddress(e,r)(this.axios,this.basePath)}findAddressById(e,r){return ce(this.configuration).findAddressById(e,r)(this.axios,this.basePath)}searchAddressesByPostcode(e,r){return ce(this.configuration).searchAddressesByPostcode(e,r)(this.axios,this.basePath)}updateAddressById(e,r,t){return ce(this.configuration).updateAddressById(e,r,t)(this.axios,this.basePath)}}async function Ln(a,e,r=p,t=u,n){const s=le(e).createAddress(a,n),o={...s.options,url:t+s.url};return(await r.request(o)).data}async function Bn(a,e,r=p,t=u,n){const s=le(e).findAddressById(a,n),o={...s.options,url:t+s.url};return(await r.request(o)).data}async function Fn(a,e,r=p,t=u,n){const s=le(e).searchAddressesByPostcode(a,n),o={...s.options,url:t+s.url};return(await r.request(o)).data}async function jn(a,e,r,t=p,n=u,s){const o=le(r).updateAddressById(a,e,s),i={...o.options,url:n+o.url};return(await t.request(i)).data}const Ee=function(a){return{createApplicant(e,r={}){if(e==null)throw new h("createApplicantDTO","Required parameter createApplicantDTO was null or undefined when calling createApplicant.");const t="/v2/applicants",n=new URL(t,"http://placeholder");let s;a&&(s=a.baseOptions);const o={method:"POST",...s,...r},i={},l={};return i["Content-Type"]="application/json",Object.entries({...l,...r.query}).forEach(([d,c])=>{c!==void 0&&n.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},o.data=JSON.stringify(e!==void 0?e:{}),{url:n.pathname+n.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))),n=new URL(t,"http://placeholder");let s;a&&(s=a.baseOptions);const o={method:"GET",...s,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&n.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:n.pathname+n.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 n="/v2/applicants/{id}/attributes".replace("{id}",encodeURIComponent(String(e))),s=new URL(n,"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&&s.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:s.pathname+s.search,options:i}}}},Ve=function(a){return{createApplicant(e,r){const t=Ee(a).createApplicant(e,r);return(n=p,s=u)=>{const o={...t.options,url:s+t.url};return n.request(o)}},findApplicantById(e,r){const t=Ee(a).findApplicantById(e,r);return(n=p,s=u)=>{const o={...t.options,url:s+t.url};return n.request(o)}},updateAttributes(e,r,t){const n=Ee(a).updateAttributes(e,r,t);return(s=p,o=u)=>{const i={...n.options,url:o+n.url};return s.request(i)}}}},Mn=function(a,e,r){return{createApplicant(t,n){return Ve(a).createApplicant(t,n)(r,e)},findApplicantById(t,n){return Ve(a).findApplicantById(t,n)(r,e)},updateAttributes(t,n,s){return Ve(a).updateAttributes(t,n,s)(r,e)}}};class Hn extends R{createApplicant(e,r){return Ve(this.configuration).createApplicant(e,r)(this.axios,this.basePath)}findApplicantById(e,r){return Ve(this.configuration).findApplicantById(e,r)(this.axios,this.basePath)}updateAttributes(e,r,t){return Ve(this.configuration).updateAttributes(e,r,t)(this.axios,this.basePath)}}async function Gn(a,e,r=p,t=u,n){const s=Ee(e).createApplicant(a,n),o={...s.options,url:t+s.url};return(await r.request(o)).data}async function Qn(a,e,r=p,t=u,n){const s=Ee(e).findApplicantById(a,n),o={...s.options,url:t+s.url};return(await r.request(o)).data}async function kn(a,e,r,t=p,n=u,s){const o=Ee(r).updateAttributes(a,e,s),i={...o.options,url:n+o.url};return(await t.request(i)).data}const de=function(a){return{addAbitrationDocument(e,r,t,n,s={}){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(n==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,...s},c={},A={},m=new FormData;return r!==void 0&&m.append("file",r),t!==void 0&&m.append("name",t),n!==void 0&&m.append("type",n),c["Content-Type"]="multipart/form-data",Object.entries({...A,...s.query}).forEach(([I,P])=>{P!==void 0&&i.searchParams.set(I,String(P))}),d.headers={...c,...s.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 n="/v2/arbitrations/{arbitrationId}/documents/{documentId}".replace("{arbitrationId}",encodeURIComponent(String(e))).replace("{documentId}",encodeURIComponent(String(r))),s=new URL(n,"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&&s.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},{url:s.pathname+s.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 n="/v2/arbitrations/{arbitrationId}/documents/{documentId}".replace("{arbitrationId}",encodeURIComponent(String(e))).replace("{documentId}",encodeURIComponent(String(r))),s=new URL(n,"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&&s.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},{url:s.pathname+s.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))),n=new URL(t,"http://placeholder");let s;a&&(s=a.baseOptions);const o={method:"GET",...s,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&n.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:n.pathname+n.search,options:o}}}},ue=function(a){return{addAbitrationDocument(e,r,t,n,s){const o=de(a).addAbitrationDocument(e,r,t,n,s);return(i=p,l=u)=>{const d={...o.options,url:l+o.url};return i.request(d)}},deleteAbitrationDocument(e,r,t){const n=de(a).deleteAbitrationDocument(e,r,t);return(s=p,o=u)=>{const i={...n.options,url:o+n.url};return s.request(i)}},findAbitrationDocumentById(e,r,t){const n=de(a).findAbitrationDocumentById(e,r,t);return(s=p,o=u)=>{const i={...n.options,url:o+n.url};return s.request(i)}},findManyAbitrationDocuments(e,r){const t=de(a).findManyAbitrationDocuments(e,r);return(n=p,s=u)=>{const o={...t.options,url:s+t.url};return n.request(o)}}}},zn=function(a,e,r){return{addAbitrationDocument(t,n,s,o,i){return ue(a).addAbitrationDocument(t,n,s,o,i)(r,e)},deleteAbitrationDocument(t,n,s){return ue(a).deleteAbitrationDocument(t,n,s)(r,e)},findAbitrationDocumentById(t,n,s){return ue(a).findAbitrationDocumentById(t,n,s)(r,e)},findManyAbitrationDocuments(t,n){return ue(a).findManyAbitrationDocuments(t,n)(r,e)}}};class Yn extends R{addAbitrationDocument(e,r,t,n,s){return ue(this.configuration).addAbitrationDocument(e,r,t,n,s)(this.axios,this.basePath)}deleteAbitrationDocument(e,r,t){return ue(this.configuration).deleteAbitrationDocument(e,r,t)(this.axios,this.basePath)}findAbitrationDocumentById(e,r,t){return ue(this.configuration).findAbitrationDocumentById(e,r,t)(this.axios,this.basePath)}findManyAbitrationDocuments(e,r){return ue(this.configuration).findManyAbitrationDocuments(e,r)(this.axios,this.basePath)}}async function $n(a,e,r,t,n,s=p,o=u,i){const l=de(n).addAbitrationDocument(a,e,r,t,i),d={...l.options,url:o+l.url};return(await s.request(d)).data}async function Wn(a,e,r,t=p,n=u,s){const o=de(r).deleteAbitrationDocument(a,e,s),i={...o.options,url:n+o.url};return(await t.request(i)).data}async function Jn(a,e,r,t=p,n=u,s){const o=de(r).findAbitrationDocumentById(a,e,s),i={...o.options,url:n+o.url};return(await t.request(i)).data}async function Kn(a,e,r=p,t=u,n){const s=de(e).findManyAbitrationDocuments(a,n),o={...s.options,url:t+s.url};return(await r.request(o)).data}const pe=function(a){return{createArbitration(e,r={}){if(e==null)throw new h("createArbitrationDTO","Required parameter createArbitrationDTO was null or undefined when calling createArbitration.");const t="/v2/arbitrations",n=new URL(t,"http://placeholder");let s;a&&(s=a.baseOptions);const o={method:"POST",...s,...r},i={},l={};return i["Content-Type"]="application/json",Object.entries({...l,...r.query}).forEach(([d,c])=>{c!==void 0&&n.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},o.data=JSON.stringify(e!==void 0?e:{}),{url:n.pathname+n.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))),n=new URL(t,"http://placeholder");let s;a&&(s=a.baseOptions);const o={method:"GET",...s,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&n.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:n.pathname+n.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))),n=new URL(t,"http://placeholder");let s;a&&(s=a.baseOptions);const o={method:"POST",...s,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&n.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:n.pathname+n.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 n="/v2/arbitrations/{arbitrationId}".replace("{arbitrationId}",encodeURIComponent(String(e))),s=new URL(n,"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&&s.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:s.pathname+s.search,options:i}}}},he=function(a){return{createArbitration(e,r){const t=pe(a).createArbitration(e,r);return(n=p,s=u)=>{const o={...t.options,url:s+t.url};return n.request(o)}},getArbitrationById(e,r){const t=pe(a).getArbitrationById(e,r);return(n=p,s=u)=>{const o={...t.options,url:s+t.url};return n.request(o)}},publishArbitration(e,r){const t=pe(a).publishArbitration(e,r);return(n=p,s=u)=>{const o={...t.options,url:s+t.url};return n.request(o)}},updateArbitration(e,r,t){const n=pe(a).updateArbitration(e,r,t);return(s=p,o=u)=>{const i={...n.options,url:o+n.url};return s.request(i)}}}},Xn=function(a,e,r){return{createArbitration(t,n){return he(a).createArbitration(t,n)(r,e)},getArbitrationById(t,n){return he(a).getArbitrationById(t,n)(r,e)},publishArbitration(t,n){return he(a).publishArbitration(t,n)(r,e)},updateArbitration(t,n,s){return he(a).updateArbitration(t,n,s)(r,e)}}};class Zn extends R{createArbitration(e,r){return he(this.configuration).createArbitration(e,r)(this.axios,this.basePath)}getArbitrationById(e,r){return he(this.configuration).getArbitrationById(e,r)(this.axios,this.basePath)}publishArbitration(e,r){return he(this.configuration).publishArbitration(e,r)(this.axios,this.basePath)}updateArbitration(e,r,t){return he(this.configuration).updateArbitration(e,r,t)(this.axios,this.basePath)}}async function es(a,e,r=p,t=u,n){const s=pe(e).createArbitration(a,n),o={...s.options,url:t+s.url};return(await r.request(o)).data}async function rs(a,e,r=p,t=u,n){const s=pe(e).getArbitrationById(a,n),o={...s.options,url:t+s.url};return(await r.request(o)).data}async function ts(a,e,r=p,t=u,n){const s=pe(e).publishArbitration(a,n),o={...s.options,url:t+s.url};return(await r.request(o)).data}async function as(a,e,r,t=p,n=u,s){const o=pe(r).updateArbitration(a,e,s),i={...o.options,url:n+o.url};return(await t.request(i)).data}const $=function(a){return{login(e,r={}){if(e==null)throw new h("loginDTO","Required parameter loginDTO was null or undefined when calling login.");const t="/v2/auth/login",n=new URL(t,"http://placeholder");let s;a&&(s=a.baseOptions);const o={method:"POST",...s,...r},i={},l={};return i["Content-Type"]="application/json",Object.entries({...l,...r.query}).forEach(([d,c])=>{c!==void 0&&n.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},o.data=JSON.stringify(e!==void 0?e:{}),{url:n.pathname+n.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",n=new URL(t,"http://placeholder");let s;a&&(s=a.baseOptions);const o={method:"GET",...s,...r},i={},l={};return e!==void 0&&(l.token=e),Object.entries({...l,...r.query}).forEach(([d,c])=>{c!==void 0&&n.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:n.pathname+n.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",n=new URL(t,"http://placeholder");let s;a&&(s=a.baseOptions);const o={method:"POST",...s,...r},i={},l={};return i["Content-Type"]="application/json",Object.entries({...l,...r.query}).forEach(([d,c])=>{c!==void 0&&n.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},o.data=JSON.stringify(e!==void 0?e:{}),{url:n.pathname+n.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",n=new URL(t,"http://placeholder");let s;a&&(s=a.baseOptions);const o={method:"GET",...s,...r},i={},l={};return e!==void 0&&(l.email=e),Object.entries({...l,...r.query}).forEach(([d,c])=>{c!==void 0&&n.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:n.pathname+n.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",n=new URL(t,"http://placeholder");let s;a&&(s=a.baseOptions);const o={method:"POST",...s,...r},i={},l={};return i["Content-Type"]="application/json",Object.entries({...l,...r.query}).forEach(([d,c])=>{c!==void 0&&n.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},o.data=JSON.stringify(e!==void 0?e:{}),{url:n.pathname+n.search,options:o}}}},W=function(a){return{login(e,r){const t=$(a).login(e,r);return(n=p,s=u)=>{const o={...t.options,url:s+t.url};return n.request(o)}},redeemOneTimeSessionToken(e,r){const t=$(a).redeemOneTimeSessionToken(e,r);return(n=p,s=u)=>{const o={...t.options,url:s+t.url};return n.request(o)}},resetPassword(e,r){const t=$(a).resetPassword(e,r);return(n=p,s=u)=>{const o={...t.options,url:s+t.url};return n.request(o)}},resetPasswordRequest(e,r){const t=$(a).resetPasswordRequest(e,r);return(n=p,s=u)=>{const o={...t.options,url:s+t.url};return n.request(o)}},setPassword(e,r){const t=$(a).setPassword(e,r);return(n=p,s=u)=>{const o={...t.options,url:s+t.url};return n.request(o)}}}},ns=function(a,e,r){return{login(t,n){return W(a).login(t,n)(r,e)},redeemOneTimeSessionToken(t,n){return W(a).redeemOneTimeSessionToken(t,n)(r,e)},resetPassword(t,n){return W(a).resetPassword(t,n)(r,e)},resetPasswordRequest(t,n){return W(a).resetPasswordRequest(t,n)(r,e)},setPassword(t,n){return W(a).setPassword(t,n)(r,e)}}};class ss extends R{login(e,r){return W(this.configuration).login(e,r)(this.axios,this.basePath)}redeemOneTimeSessionToken(e,r){return W(this.configuration).redeemOneTimeSessionToken(e,r)(this.axios,this.basePath)}resetPassword(e,r){return W(this.configuration).resetPassword(e,r)(this.axios,this.basePath)}resetPasswordRequest(e,r){return W(this.configuration).resetPasswordRequest(e,r)(this.axios,this.basePath)}setPassword(e,r){return W(this.configuration).setPassword(e,r)(this.axios,this.basePath)}}async function os(a,e,r=p,t=u,n){const s=$(e).login(a,n),o={...s.options,url:t+s.url};return(await r.request(o)).data}async function is(a,e,r=p,t=u,n){const s=$(e).redeemOneTimeSessionToken(a,n),o={...s.options,url:t+s.url};return(await r.request(o)).data}async function ls(a,e,r=p,t=u,n){const s=$(e).resetPassword(a,n),o={...s.options,url:t+s.url};return(await r.request(o)).data}async function cs(a,e,r=p,t=u,n){const s=$(e).resetPasswordRequest(a,n),o={...s.options,url:t+s.url};return(await r.request(o)).data}async function ds(a,e,r=p,t=u,n){const s=$(e).setPassword(a,n),o={...s.options,url:t+s.url};return(await r.request(o)).data}const Sr=function(a){return{getActive(e={}){const r="/v2/bank-accounts",t=new URL(r,"http://placeholder");let n;a&&(n=a.baseOptions);const s={method:"GET",...n,...e},o={};return Object.entries({...{},...e.query}).forEach(([l,d])=>{d!==void 0&&t.searchParams.set(l,String(d))}),s.headers={...o,...e.headers},{url:t.pathname+t.search,options:s}}}},Nr=function(a){return{getActive(e){const r=Sr(a).getActive(e);return(t=p,n=u)=>{const s={...r.options,url:n+r.url};return t.request(s)}}}},us=function(a,e,r){return{getActive(t){return Nr(a).getActive(t)(r,e)}}};class ps extends R{getActive(e){return Nr(this.configuration).getActive(e)(this.axios,this.basePath)}}async function hs(a,e=p,r=u,t){const n=Sr(a).getActive(t),s={...n.options,url:r+n.url};return(await e.request(s)).data}const xr=function(a){return{updateBeneficiary(e,r,t={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling updateBeneficiary.");if(r==null)throw new h("updateBeneficiaryDTO","Required parameter updateBeneficiaryDTO was null or undefined when calling updateBeneficiary.");const n="/v2/beneficiaries/{id}".replace("{id}",encodeURIComponent(String(e))),s=new URL(n,"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&&s.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:s.pathname+s.search,options:i}}}},Ur=function(a){return{updateBeneficiary(e,r,t){const n=xr(a).updateBeneficiary(e,r,t);return(s=p,o=u)=>{const i={...n.options,url:o+n.url};return s.request(i)}}}},As=function(a,e,r){return{updateBeneficiary(t,n,s){return Ur(a).updateBeneficiary(t,n,s)(r,e)}}};class ms extends R{updateBeneficiary(e,r,t){return Ur(this.configuration).updateBeneficiary(e,r,t)(this.axios,this.basePath)}}async function Rs(a,e,r,t=p,n=u,s){const o=xr(r).updateBeneficiary(a,e,s),i={...o.options,url:n+o.url};return(await t.request(i)).data}const J=function(a){return{confirmTenancyDetails(e,r={}){if(e==null)throw new h("verifyPostcodeRequestDTO","Required parameter verifyPostcodeRequestDTO was null or undefined when calling confirmTenancyDetails.");const t="/v2/cash-deposit/confirm-tenancy-details",n=new URL(t,"http://placeholder");let s;a&&(s=a.baseOptions);const o={method:"POST",...s,...r},i={},l={};return i["Content-Type"]="application/json",Object.entries({...l,...r.query}).forEach(([d,c])=>{c!==void 0&&n.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},o.data=JSON.stringify(e!==void 0?e:{}),{url:n.pathname+n.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",n=new URL(t,"http://placeholder");let s;a&&(s=a.baseOptions);const o={method:"POST",...s,...r},i={},l={};return i["Content-Type"]="application/json",Object.entries({...l,...r.query}).forEach(([d,c])=>{c!==void 0&&n.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},o.data=JSON.stringify(e!==void 0?e:{}),{url:n.pathname+n.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))),n=new URL(t,"http://placeholder");let s;a&&(s=a.baseOptions);const o={method:"GET",...s,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&n.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:n.pathname+n.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",n=new URL(t,"http://placeholder");let s;a&&(s=a.baseOptions);const o={method:"POST",...s,...r},i={},l={};return i["Content-Type"]="application/json",Object.entries({...l,...r.query}).forEach(([d,c])=>{c!==void 0&&n.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},o.data=JSON.stringify(e!==void 0?e:{}),{url:n.pathname+n.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",n=new URL(t,"http://placeholder");let s;a&&(s=a.baseOptions);const o={method:"POST",...s,...r},i={},l={};return i["Content-Type"]="application/json",Object.entries({...l,...r.query}).forEach(([d,c])=>{c!==void 0&&n.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},o.data=JSON.stringify(e!==void 0?e:{}),{url:n.pathname+n.search,options:o}}}},K=function(a){return{confirmTenancyDetails(e,r){const t=J(a).confirmTenancyDetails(e,r);return(n=p,s=u)=>{const o={...t.options,url:s+t.url};return n.request(o)}},generateCashDepositPlaidLinkToken(e,r){const t=J(a).generateCashDepositPlaidLinkToken(e,r);return(n=p,s=u)=>{const o={...t.options,url:s+t.url};return n.request(o)}},getPaymentDetails(e,r){const t=J(a).getPaymentDetails(e,r);return(n=p,s=u)=>{const o={...t.options,url:s+t.url};return n.request(o)}},signCashDeposit(e,r){const t=J(a).signCashDeposit(e,r);return(n=p,s=u)=>{const o={...t.options,url:s+t.url};return n.request(o)}},verifyPostcode(e,r){const t=J(a).verifyPostcode(e,r);return(n=p,s=u)=>{const o={...t.options,url:s+t.url};return n.request(o)}}}},Is=function(a,e,r){return{confirmTenancyDetails(t,n){return K(a).confirmTenancyDetails(t,n)(r,e)},generateCashDepositPlaidLinkToken(t,n){return K(a).generateCashDepositPlaidLinkToken(t,n)(r,e)},getPaymentDetails(t,n){return K(a).getPaymentDetails(t,n)(r,e)},signCashDeposit(t,n){return K(a).signCashDeposit(t,n)(r,e)},verifyPostcode(t,n){return K(a).verifyPostcode(t,n)(r,e)}}};class Ps extends R{confirmTenancyDetails(e,r){return K(this.configuration).confirmTenancyDetails(e,r)(this.axios,this.basePath)}generateCashDepositPlaidLinkToken(e,r){return K(this.configuration).generateCashDepositPlaidLinkToken(e,r)(this.axios,this.basePath)}getPaymentDetails(e,r){return K(this.configuration).getPaymentDetails(e,r)(this.axios,this.basePath)}signCashDeposit(e,r){return K(this.configuration).signCashDeposit(e,r)(this.axios,this.basePath)}verifyPostcode(e,r){return K(this.configuration).verifyPostcode(e,r)(this.axios,this.basePath)}}async function gs(a,e,r=p,t=u,n){const s=J(e).confirmTenancyDetails(a,n),o={...s.options,url:t+s.url};return(await r.request(o)).data}async function ws(a,e,r=p,t=u,n){const s=J(e).generateCashDepositPlaidLinkToken(a,n),o={...s.options,url:t+s.url};return(await r.request(o)).data}async function fs(a,e,r=p,t=u,n){const s=J(e).getPaymentDetails(a,n),o={...s.options,url:t+s.url};return(await r.request(o)).data}async function ys(a,e,r=p,t=u,n){const s=J(e).signCashDeposit(a,n),o={...s.options,url:t+s.url};return(await r.request(o)).data}async function Os(a,e,r=p,t=u,n){const s=J(e).verifyPostcode(a,n),o={...s.options,url:t+s.url};return(await r.request(o)).data}const $e=function(a){return{findCheckById(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling findCheckById.");const t="/v2/checks/{id}".replace("{id}",encodeURIComponent(String(e))),n=new URL(t,"http://placeholder");let s;a&&(s=a.baseOptions);const o={method:"GET",...s,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&n.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:n.pathname+n.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))),n=new URL(t,"http://placeholder");let s;a&&(s=a.baseOptions);const o={method:"PATCH",...s,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&n.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:n.pathname+n.search,options:o}}}},We=function(a){return{findCheckById(e,r){const t=$e(a).findCheckById(e,r);return(n=p,s=u)=>{const o={...t.options,url:s+t.url};return n.request(o)}},override(e,r){const t=$e(a).override(e,r);return(n=p,s=u)=>{const o={...t.options,url:s+t.url};return n.request(o)}}}},Es=function(a,e,r){return{findCheckById(t,n){return We(a).findCheckById(t,n)(r,e)},override(t,n){return We(a).override(t,n)(r,e)}}};class Vs extends R{findCheckById(e,r){return We(this.configuration).findCheckById(e,r)(this.axios,this.basePath)}override(e,r){return We(this.configuration).override(e,r)(this.axios,this.basePath)}}async function Cs(a,e,r=p,t=u,n){const s=$e(e).findCheckById(a,n),o={...s.options,url:t+s.url};return(await r.request(o)).data}async function qs(a,e,r=p,t=u,n){const s=$e(e).override(a,n),o={...s.options,url:t+s.url};return(await r.request(o)).data}const X=function(a){return{addClaimDocument(e,r,t,n,s={}){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(n==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,...s},c={},A={},m=new FormData;return r!==void 0&&m.append("file",r),t!==void 0&&m.append("name",t),n!==void 0&&m.append("type",n),c["Content-Type"]="multipart/form-data",Object.entries({...A,...s.query}).forEach(([I,P])=>{P!==void 0&&i.searchParams.set(I,String(P))}),d.headers={...c,...s.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 n="/v2/claims/{claimId}/documents/by-document-id".replace("{claimId}",encodeURIComponent(String(e))),s=new URL(n,"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&&s.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:s.pathname+s.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 n="/v2/claims/{claimId}/documents/{documentId}".replace("{claimId}",encodeURIComponent(String(e))).replace("{documentId}",encodeURIComponent(String(r))),s=new URL(n,"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&&s.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},{url:s.pathname+s.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 n="/v2/claims/{claimId}/documents/{documentId}".replace("{claimId}",encodeURIComponent(String(e))).replace("{documentId}",encodeURIComponent(String(r))),s=new URL(n,"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&&s.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},{url:s.pathname+s.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))),n=new URL(t,"http://placeholder");let s;a&&(s=a.baseOptions);const o={method:"GET",...s,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&n.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:n.pathname+n.search,options:o}}}},Z=function(a){return{addClaimDocument(e,r,t,n,s){const o=X(a).addClaimDocument(e,r,t,n,s);return(i=p,l=u)=>{const d={...o.options,url:l+o.url};return i.request(d)}},addClaimDocumentByDocumentId(e,r,t){const n=X(a).addClaimDocumentByDocumentId(e,r,t);return(s=p,o=u)=>{const i={...n.options,url:o+n.url};return s.request(i)}},deleteClaimDocument(e,r,t){const n=X(a).deleteClaimDocument(e,r,t);return(s=p,o=u)=>{const i={...n.options,url:o+n.url};return s.request(i)}},findClaimDocumentById(e,r,t){const n=X(a).findClaimDocumentById(e,r,t);return(s=p,o=u)=>{const i={...n.options,url:o+n.url};return s.request(i)}},findManyClaimDocuments(e,r){const t=X(a).findManyClaimDocuments(e,r);return(n=p,s=u)=>{const o={...t.options,url:s+t.url};return n.request(o)}}}},_s=function(a,e,r){return{addClaimDocument(t,n,s,o,i){return Z(a).addClaimDocument(t,n,s,o,i)(r,e)},addClaimDocumentByDocumentId(t,n,s){return Z(a).addClaimDocumentByDocumentId(t,n,s)(r,e)},deleteClaimDocument(t,n,s){return Z(a).deleteClaimDocument(t,n,s)(r,e)},findClaimDocumentById(t,n,s){return Z(a).findClaimDocumentById(t,n,s)(r,e)},findManyClaimDocuments(t,n){return Z(a).findManyClaimDocuments(t,n)(r,e)}}};class vs extends R{addClaimDocument(e,r,t,n,s){return Z(this.configuration).addClaimDocument(e,r,t,n,s)(this.axios,this.basePath)}addClaimDocumentByDocumentId(e,r,t){return Z(this.configuration).addClaimDocumentByDocumentId(e,r,t)(this.axios,this.basePath)}deleteClaimDocument(e,r,t){return Z(this.configuration).deleteClaimDocument(e,r,t)(this.axios,this.basePath)}findClaimDocumentById(e,r,t){return Z(this.configuration).findClaimDocumentById(e,r,t)(this.axios,this.basePath)}findManyClaimDocuments(e,r){return Z(this.configuration).findManyClaimDocuments(e,r)(this.axios,this.basePath)}}async function bs(a,e,r,t,n,s=p,o=u,i){const l=X(n).addClaimDocument(a,e,r,t,i),d={...l.options,url:o+l.url};return(await s.request(d)).data}async function Ts(a,e,r,t=p,n=u,s){const o=X(r).addClaimDocumentByDocumentId(a,e,s),i={...o.options,url:n+o.url};return(await t.request(i)).data}async function Ss(a,e,r,t=p,n=u,s){const o=X(r).deleteClaimDocument(a,e,s),i={...o.options,url:n+o.url};return(await t.request(i)).data}async function Ns(a,e,r,t=p,n=u,s){const o=X(r).findClaimDocumentById(a,e,s),i={...o.options,url:n+o.url};return(await t.request(i)).data}async function xs(a,e,r=p,t=u,n){const s=X(e).findManyClaimDocuments(a,n),o={...s.options,url:t+s.url};return(await r.request(o)).data}const ee=function(a){return{addClaimItemDocument(e,r,t,n,s,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(n==null)throw new h("name","Required parameter name was null or undefined when calling addClaimItemDocument.");if(s==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),n!==void 0&&P.append("name",n),s!==void 0&&P.append("type",s),o!==void 0&&P.append("claimItemProposalId",o),m["Content-Type"]="multipart/form-data",Object.entries({...I,...i.query}).forEach(([q,z])=>{z!==void 0&&d.searchParams.set(q,String(z))}),A.headers={...m,...i.headers},A.data=P,{url:d.pathname+d.search,options:A}},addClaimItemDocumentByDocumentId(e,r,t,n={}){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 s="/v2/claims/{claimId}/items/{claimItemId}/documents/by-document-id".replace("{claimId}",encodeURIComponent(String(e))).replace("{claimItemId}",encodeURIComponent(String(r))),o=new URL(s,"http://placeholder");let i;a&&(i=a.baseOptions);const l={method:"POST",...i,...n},d={},c={};return d["Content-Type"]="application/json",Object.entries({...c,...n.query}).forEach(([A,m])=>{m!==void 0&&o.searchParams.set(A,String(m))}),l.headers={...d,...n.headers},l.data=JSON.stringify(t!==void 0?t:{}),{url:o.pathname+o.search,options:l}},deleteClaimItemDocument(e,r,t,n={}){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 s="/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(s,"http://placeholder");let i;a&&(i=a.baseOptions);const l={method:"DELETE",...i,...n},d={};return Object.entries({...{},...n.query}).forEach(([A,m])=>{m!==void 0&&o.searchParams.set(A,String(m))}),l.headers={...d,...n.headers},{url:o.pathname+o.search,options:l}},findClaimItemDocumentById(e,r,t,n={}){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 s="/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(s,"http://placeholder");let i;a&&(i=a.baseOptions);const l={method:"GET",...i,...n},d={};return Object.entries({...{},...n.query}).forEach(([A,m])=>{m!==void 0&&o.searchParams.set(A,String(m))}),l.headers={...d,...n.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 n="/v2/claims/{claimId}/items/{claimItemId}/documents".replace("{claimItemId}",encodeURIComponent(String(e))).replace("{claimId}",encodeURIComponent(String(r))),s=new URL(n,"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&&s.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},{url:s.pathname+s.search,options:i}}}},re=function(a){return{addClaimItemDocument(e,r,t,n,s,o,i){const l=ee(a).addClaimItemDocument(e,r,t,n,s,o,i);return(d=p,c=u)=>{const A={...l.options,url:c+l.url};return d.request(A)}},addClaimItemDocumentByDocumentId(e,r,t,n){const s=ee(a).addClaimItemDocumentByDocumentId(e,r,t,n);return(o=p,i=u)=>{const l={...s.options,url:i+s.url};return o.request(l)}},deleteClaimItemDocument(e,r,t,n){const s=ee(a).deleteClaimItemDocument(e,r,t,n);return(o=p,i=u)=>{const l={...s.options,url:i+s.url};return o.request(l)}},findClaimItemDocumentById(e,r,t,n){const s=ee(a).findClaimItemDocumentById(e,r,t,n);return(o=p,i=u)=>{const l={...s.options,url:i+s.url};return o.request(l)}},findManyClaimItemDocuments(e,r,t){const n=ee(a).findManyClaimItemDocuments(e,r,t);return(s=p,o=u)=>{const i={...n.options,url:o+n.url};return s.request(i)}}}},Us=function(a,e,r){return{addClaimItemDocument(t,n,s,o,i,l,d){return re(a).addClaimItemDocument(t,n,s,o,i,l,d)(r,e)},addClaimItemDocumentByDocumentId(t,n,s,o){return re(a).addClaimItemDocumentByDocumentId(t,n,s,o)(r,e)},deleteClaimItemDocument(t,n,s,o){return re(a).deleteClaimItemDocument(t,n,s,o)(r,e)},findClaimItemDocumentById(t,n,s,o){return re(a).findClaimItemDocumentById(t,n,s,o)(r,e)},findManyClaimItemDocuments(t,n,s){return re(a).findManyClaimItemDocuments(t,n,s)(r,e)}}};class Ds extends R{addClaimItemDocument(e,r,t,n,s,o,i){return re(this.configuration).addClaimItemDocument(e,r,t,n,s,o,i)(this.axios,this.basePath)}addClaimItemDocumentByDocumentId(e,r,t,n){return re(this.configuration).addClaimItemDocumentByDocumentId(e,r,t,n)(this.axios,this.basePath)}deleteClaimItemDocument(e,r,t,n){return re(this.configuration).deleteClaimItemDocument(e,r,t,n)(this.axios,this.basePath)}findClaimItemDocumentById(e,r,t,n){return re(this.configuration).findClaimItemDocumentById(e,r,t,n)(this.axios,this.basePath)}findManyClaimItemDocuments(e,r,t){return re(this.configuration).findManyClaimItemDocuments(e,r,t)(this.axios,this.basePath)}}async function Ls(a,e,r,t,n,s,o,i=p,l=u,d){const c=ee(o).addClaimItemDocument(a,e,r,t,n,s,d),A={...c.options,url:l+c.url};return(await i.request(A)).data}async function Bs(a,e,r,t,n=p,s=u,o){const i=ee(t).addClaimItemDocumentByDocumentId(a,e,r,o),l={...i.options,url:s+i.url};return(await n.request(l)).data}async function Fs(a,e,r,t,n=p,s=u,o){const i=ee(t).deleteClaimItemDocument(a,e,r,o),l={...i.options,url:s+i.url};return(await n.request(l)).data}async function js(a,e,r,t,n=p,s=u,o){const i=ee(t).findClaimItemDocumentById(a,e,r,o),l={...i.options,url:s+i.url};return(await n.request(l)).data}async function Ms(a,e,r,t=p,n=u,s){const o=ee(r).findManyClaimItemDocuments(a,e,s),i={...o.options,url:n+o.url};return(await t.request(i)).data}const Ce=function(a){return{createClaimItemProposal(e,r,t,n={}){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 s="/v2/claims/{claimId}/proposals/{claimProposalId}/item-proposals".replace("{claimId}",encodeURIComponent(String(e))).replace("{claimProposalId}",encodeURIComponent(String(r))),o=new URL(s,"http://placeholder");let i;a&&(i=a.baseOptions);const l={method:"POST",...i,...n},d={},c={};return d["Content-Type"]="application/json",Object.entries({...c,...n.query}).forEach(([A,m])=>{m!==void 0&&o.searchParams.set(A,String(m))}),l.headers={...d,...n.headers},l.data=JSON.stringify(t!==void 0?t:{}),{url:o.pathname+o.search,options:l}},deleteClaimItemProposal(e,r,t,n={}){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 s="/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(s,"http://placeholder");let i;a&&(i=a.baseOptions);const l={method:"DELETE",...i,...n},d={};return Object.entries({...{},...n.query}).forEach(([A,m])=>{m!==void 0&&o.searchParams.set(A,String(m))}),l.headers={...d,...n.headers},{url:o.pathname+o.search,options:l}},updateClaimItemProposal(e,r,t,n,s={}){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(n==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,...s},c={},A={};return c["Content-Type"]="application/json",Object.entries({...A,...s.query}).forEach(([m,I])=>{I!==void 0&&i.searchParams.set(m,String(I))}),d.headers={...c,...s.headers},d.data=JSON.stringify(n!==void 0?n:{}),{url:i.pathname+i.search,options:d}}}},qe=function(a){return{createClaimItemProposal(e,r,t,n){const s=Ce(a).createClaimItemProposal(e,r,t,n);return(o=p,i=u)=>{const l={...s.options,url:i+s.url};return o.request(l)}},deleteClaimItemProposal(e,r,t,n){const s=Ce(a).deleteClaimItemProposal(e,r,t,n);return(o=p,i=u)=>{const l={...s.options,url:i+s.url};return o.request(l)}},updateClaimItemProposal(e,r,t,n,s){const o=Ce(a).updateClaimItemProposal(e,r,t,n,s);return(i=p,l=u)=>{const d={...o.options,url:l+o.url};return i.request(d)}}}},Hs=function(a,e,r){return{createClaimItemProposal(t,n,s,o){return qe(a).createClaimItemProposal(t,n,s,o)(r,e)},deleteClaimItemProposal(t,n,s,o){return qe(a).deleteClaimItemProposal(t,n,s,o)(r,e)},updateClaimItemProposal(t,n,s,o,i){return qe(a).updateClaimItemProposal(t,n,s,o,i)(r,e)}}};class Gs extends R{createClaimItemProposal(e,r,t,n){return qe(this.configuration).createClaimItemProposal(e,r,t,n)(this.axios,this.basePath)}deleteClaimItemProposal(e,r,t,n){return qe(this.configuration).deleteClaimItemProposal(e,r,t,n)(this.axios,this.basePath)}updateClaimItemProposal(e,r,t,n,s){return qe(this.configuration).updateClaimItemProposal(e,r,t,n,s)(this.axios,this.basePath)}}async function Qs(a,e,r,t,n=p,s=u,o){const i=Ce(t).createClaimItemProposal(a,e,r,o),l={...i.options,url:s+i.url};return(await n.request(l)).data}async function ks(a,e,r,t,n=p,s=u,o){const i=Ce(t).deleteClaimItemProposal(a,e,r,o),l={...i.options,url:s+i.url};return(await n.request(l)).data}async function zs(a,e,r,t,n,s=p,o=u,i){const l=Ce(n).updateClaimItemProposal(a,e,r,t,i),d={...l.options,url:o+l.url};return(await s.request(d)).data}const _e=function(a){return{createClaimItem(e,r,t={}){if(e==null)throw new h("claimId","Required parameter claimId was null or undefined when calling createClaimItem.");if(r==null)throw new h("createClaimItemDTO","Required parameter createClaimItemDTO was null or undefined when calling createClaimItem.");const n="/v2/claims/{claimId}/items".replace("{claimId}",encodeURIComponent(String(e))),s=new URL(n,"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&&s.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:s.pathname+s.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 n="/v2/claims/{claimId}/items/{claimItemId}".replace("{claimId}",encodeURIComponent(String(e))).replace("{claimItemId}",encodeURIComponent(String(r))),s=new URL(n,"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&&s.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},{url:s.pathname+s.search,options:i}},updateClaimItem(e,r,t,n={}){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 s="/v2/claims/{claimId}/items/{claimItemId}".replace("{claimId}",encodeURIComponent(String(e))).replace("{claimItemId}",encodeURIComponent(String(r))),o=new URL(s,"http://placeholder");let i;a&&(i=a.baseOptions);const l={method:"PATCH",...i,...n},d={},c={};return d["Content-Type"]="application/json",Object.entries({...c,...n.query}).forEach(([A,m])=>{m!==void 0&&o.searchParams.set(A,String(m))}),l.headers={...d,...n.headers},l.data=JSON.stringify(t!==void 0?t:{}),{url:o.pathname+o.search,options:l}}}},ve=function(a){return{createClaimItem(e,r,t){const n=_e(a).createClaimItem(e,r,t);return(s=p,o=u)=>{const i={...n.options,url:o+n.url};return s.request(i)}},deleteClaimItem(e,r,t){const n=_e(a).deleteClaimItem(e,r,t);return(s=p,o=u)=>{const i={...n.options,url:o+n.url};return s.request(i)}},updateClaimItem(e,r,t,n){const s=_e(a).updateClaimItem(e,r,t,n);return(o=p,i=u)=>{const l={...s.options,url:i+s.url};return o.request(l)}}}},Ys=function(a,e,r){return{createClaimItem(t,n,s){return ve(a).createClaimItem(t,n,s)(r,e)},deleteClaimItem(t,n,s){return ve(a).deleteClaimItem(t,n,s)(r,e)},updateClaimItem(t,n,s,o){return ve(a).updateClaimItem(t,n,s,o)(r,e)}}};class $s extends R{createClaimItem(e,r,t){return ve(this.configuration).createClaimItem(e,r,t)(this.axios,this.basePath)}deleteClaimItem(e,r,t){return ve(this.configuration).deleteClaimItem(e,r,t)(this.axios,this.basePath)}updateClaimItem(e,r,t,n){return ve(this.configuration).updateClaimItem(e,r,t,n)(this.axios,this.basePath)}}async function Ws(a,e,r,t=p,n=u,s){const o=_e(r).createClaimItem(a,e,s),i={...o.options,url:n+o.url};return(await t.request(i)).data}async function Js(a,e,r,t=p,n=u,s){const o=_e(r).deleteClaimItem(a,e,s),i={...o.options,url:n+o.url};return(await t.request(i)).data}async function Ks(a,e,r,t,n=p,s=u,o){const i=_e(t).updateClaimItem(a,e,r,o),l={...i.options,url:s+i.url};return(await n.request(l)).data}const te=function(a){return{agreeClaimProposal(e,r,t={}){if(e==null)throw new h("claimId","Required parameter claimId was null or undefined when calling agreeClaimProposal.");if(r==null)throw new h("claimProposalId","Required parameter claimProposalId was null or undefined when calling agreeClaimProposal.");const n="/v2/claims/{claimId}/proposals/{claimProposalId}/agree".replace("{claimId}",encodeURIComponent(String(e))).replace("{claimProposalId}",encodeURIComponent(String(r))),s=new URL(n,"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&&s.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},{url:s.pathname+s.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 n="/v2/claims/{claimId}/proposals/{claimProposalId}/counter".replace("{claimId}",encodeURIComponent(String(e))).replace("{claimProposalId}",encodeURIComponent(String(r))),s=new URL(n,"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&&s.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},{url:s.pathname+s.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 n="/v2/claims/{claimId}/proposals/{claimProposalId}/dispute".replace("{claimId}",encodeURIComponent(String(e))).replace("{claimProposalId}",encodeURIComponent(String(r))),s=new URL(n,"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&&s.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},{url:s.pathname+s.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 n="/v2/claims/{claimId}/proposals/{claimProposalId}/publish".replace("{claimId}",encodeURIComponent(String(e))).replace("{claimProposalId}",encodeURIComponent(String(r))),s=new URL(n,"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&&s.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},{url:s.pathname+s.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 n="/v2/claims/{claimId}/proposals/{claimProposalId}/unpublish".replace("{claimId}",encodeURIComponent(String(e))).replace("{claimProposalId}",encodeURIComponent(String(r))),s=new URL(n,"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&&s.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},{url:s.pathname+s.search,options:i}}}},ae=function(a){return{agreeClaimProposal(e,r,t){const n=te(a).agreeClaimProposal(e,r,t);return(s=p,o=u)=>{const i={...n.options,url:o+n.url};return s.request(i)}},counterClaimProposal(e,r,t){const n=te(a).counterClaimProposal(e,r,t);return(s=p,o=u)=>{const i={...n.options,url:o+n.url};return s.request(i)}},disputeClaimProposal(e,r,t){const n=te(a).disputeClaimProposal(e,r,t);return(s=p,o=u)=>{const i={...n.options,url:o+n.url};return s.request(i)}},publishClaimProposal(e,r,t){const n=te(a).publishClaimProposal(e,r,t);return(s=p,o=u)=>{const i={...n.options,url:o+n.url};return s.request(i)}},unpublishClaimProposal(e,r,t){const n=te(a).unpublishClaimProposal(e,r,t);return(s=p,o=u)=>{const i={...n.options,url:o+n.url};return s.request(i)}}}},Xs=function(a,e,r){return{agreeClaimProposal(t,n,s){return ae(a).agreeClaimProposal(t,n,s)(r,e)},counterClaimProposal(t,n,s){return ae(a).counterClaimProposal(t,n,s)(r,e)},disputeClaimProposal(t,n,s){return ae(a).disputeClaimProposal(t,n,s)(r,e)},publishClaimProposal(t,n,s){return ae(a).publishClaimProposal(t,n,s)(r,e)},unpublishClaimProposal(t,n,s){return ae(a).unpublishClaimProposal(t,n,s)(r,e)}}};class Zs extends R{agreeClaimProposal(e,r,t){return ae(this.configuration).agreeClaimProposal(e,r,t)(this.axios,this.basePath)}counterClaimProposal(e,r,t){return ae(this.configuration).counterClaimProposal(e,r,t)(this.axios,this.basePath)}disputeClaimProposal(e,r,t){return ae(this.configuration).disputeClaimProposal(e,r,t)(this.axios,this.basePath)}publishClaimProposal(e,r,t){return ae(this.configuration).publishClaimProposal(e,r,t)(this.axios,this.basePath)}unpublishClaimProposal(e,r,t){return ae(this.configuration).unpublishClaimProposal(e,r,t)(this.axios,this.basePath)}}async function eo(a,e,r,t=p,n=u,s){const o=te(r).agreeClaimProposal(a,e,s),i={...o.options,url:n+o.url};return(await t.request(i)).data}async function ro(a,e,r,t=p,n=u,s){const o=te(r).counterClaimProposal(a,e,s),i={...o.options,url:n+o.url};return(await t.request(i)).data}async function to(a,e,r,t=p,n=u,s){const o=te(r).disputeClaimProposal(a,e,s),i={...o.options,url:n+o.url};return(await t.request(i)).data}async function ao(a,e,r,t=p,n=u,s){const o=te(r).publishClaimProposal(a,e,s),i={...o.options,url:n+o.url};return(await t.request(i)).data}async function no(a,e,r,t=p,n=u,s){const o=te(r).unpublishClaimProposal(a,e,s),i={...o.options,url:n+o.url};return(await t.request(i)).data}const Ae=function(a){return{addClaimResponseDocument(e,r,t,n,s={}){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(n==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,...s},c={},A={},m=new FormData;return r!==void 0&&m.append("file",r),t!==void 0&&m.append("name",t),n!==void 0&&m.append("type",n),c["Content-Type"]="multipart/form-data",Object.entries({...A,...s.query}).forEach(([I,P])=>{P!==void 0&&i.searchParams.set(I,String(P))}),d.headers={...c,...s.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 n="/v2/claims/{claimId}/claim-response-documents/{documentId}".replace("{claimId}",encodeURIComponent(String(e))).replace("{documentId}",encodeURIComponent(String(r))),s=new URL(n,"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&&s.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},{url:s.pathname+s.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 n="/v2/claims/{claimId}/claim-response-documents/{documentId}".replace("{claimId}",encodeURIComponent(String(e))).replace("{documentId}",encodeURIComponent(String(r))),s=new URL(n,"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&&s.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},{url:s.pathname+s.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))),n=new URL(t,"http://placeholder");let s;a&&(s=a.baseOptions);const o={method:"GET",...s,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&n.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:n.pathname+n.search,options:o}}}},me=function(a){return{addClaimResponseDocument(e,r,t,n,s){const o=Ae(a).addClaimResponseDocument(e,r,t,n,s);return(i=p,l=u)=>{const d={...o.options,url:l+o.url};return i.request(d)}},deleteClaimResponseDocument(e,r,t){const n=Ae(a).deleteClaimResponseDocument(e,r,t);return(s=p,o=u)=>{const i={...n.options,url:o+n.url};return s.request(i)}},findClaimResponseDocumentById(e,r,t){const n=Ae(a).findClaimResponseDocumentById(e,r,t);return(s=p,o=u)=>{const i={...n.options,url:o+n.url};return s.request(i)}},findManyClaimResponseDocuments(e,r){const t=Ae(a).findManyClaimResponseDocuments(e,r);return(n=p,s=u)=>{const o={...t.options,url:s+t.url};return n.request(o)}}}},so=function(a,e,r){return{addClaimResponseDocument(t,n,s,o,i){return me(a).addClaimResponseDocument(t,n,s,o,i)(r,e)},deleteClaimResponseDocument(t,n,s){return me(a).deleteClaimResponseDocument(t,n,s)(r,e)},findClaimResponseDocumentById(t,n,s){return me(a).findClaimResponseDocumentById(t,n,s)(r,e)},findManyClaimResponseDocuments(t,n){return me(a).findManyClaimResponseDocuments(t,n)(r,e)}}};class oo extends R{addClaimResponseDocument(e,r,t,n,s){return me(this.configuration).addClaimResponseDocument(e,r,t,n,s)(this.axios,this.basePath)}deleteClaimResponseDocument(e,r,t){return me(this.configuration).deleteClaimResponseDocument(e,r,t)(this.axios,this.basePath)}findClaimResponseDocumentById(e,r,t){return me(this.configuration).findClaimResponseDocumentById(e,r,t)(this.axios,this.basePath)}findManyClaimResponseDocuments(e,r){return me(this.configuration).findManyClaimResponseDocuments(e,r)(this.axios,this.basePath)}}async function io(a,e,r,t,n,s=p,o=u,i){const l=Ae(n).addClaimResponseDocument(a,e,r,t,i),d={...l.options,url:o+l.url};return(await s.request(d)).data}async function lo(a,e,r,t=p,n=u,s){const o=Ae(r).deleteClaimResponseDocument(a,e,s),i={...o.options,url:n+o.url};return(await t.request(i)).data}async function co(a,e,r,t=p,n=u,s){const o=Ae(r).findClaimResponseDocumentById(a,e,s),i={...o.options,url:n+o.url};return(await t.request(i)).data}async function uo(a,e,r=p,t=u,n){const s=Ae(e).findManyClaimResponseDocuments(a,n),o={...s.options,url:t+s.url};return(await r.request(o)).data}const f=function(a){return{acknowledgeCaseSentToInsurer(e,r={}){if(e==null)throw new h("claimId","Required parameter claimId was null or undefined when calling acknowledgeCaseSentToInsurer.");const t="/v2/claims/{claimId}/acknowledge-case-sent-to-insurer".replace("{claimId}",encodeURIComponent(String(e))),n=new URL(t,"http://placeholder");let s;a&&(s=a.baseOptions);const o={method:"PATCH",...s,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&n.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:n.pathname+n.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))),n=new URL(t,"http://placeholder");let s;a&&(s=a.baseOptions);const o={method:"POST",...s,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&n.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:n.pathname+n.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",n=new URL(t,"http://placeholder");let s;a&&(s=a.baseOptions);const o={method:"POST",...s,...r},i={},l={};return i["Content-Type"]="application/json",Object.entries({...l,...r.query}).forEach(([d,c])=>{c!==void 0&&n.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},o.data=JSON.stringify(e!==void 0?e:{}),{url:n.pathname+n.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 n="/v2/claims/{claimId}/activity".replace("{claimId}",encodeURIComponent(String(e))),s=new URL(n,"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&&s.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:s.pathname+s.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))),n=new URL(t,"http://placeholder");let s;a&&(s=a.baseOptions);const o={method:"POST",...s,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&n.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:n.pathname+n.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 n="/v2/claims/{claimId}/deactivate".replace("{claimId}",encodeURIComponent(String(e))),s=new URL(n,"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&&s.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:s.pathname+s.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))),n=new URL(t,"http://placeholder");let s;a&&(s=a.baseOptions);const o={method:"POST",...s,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&n.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:n.pathname+n.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))),n=new URL(t,"http://placeholder");let s;a&&(s=a.baseOptions);const o={method:"GET",...s,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&n.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:n.pathname+n.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))),n=new URL(t,"http://placeholder");let s;a&&(s=a.baseOptions);const o={method:"POST",...s,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&n.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:n.pathname+n.search,options:o}},optimisedSearchClaim(e,r,t,n,s,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 n!==void 0&&(P.query=n),e!==void 0&&(P.organizationId=e),s!==void 0&&(P.claimStatus=s),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,z])=>{z!==void 0&&c.searchParams.set(q,String(z))}),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 n="/v2/claims/{claimId}/pay-supplier".replace("{claimId}",encodeURIComponent(String(e))),s=new URL(n,"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&&s.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:s.pathname+s.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))),n=new URL(t,"http://placeholder");let s;a&&(s=a.baseOptions);const o={method:"POST",...s,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&n.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:n.pathname+n.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))),n=new URL(t,"http://placeholder");let s;a&&(s=a.baseOptions);const o={method:"POST",...s,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&n.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:n.pathname+n.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 n="/v2/claims/{claimId}/reopen".replace("{claimId}",encodeURIComponent(String(e))),s=new URL(n,"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&&s.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:s.pathname+s.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 n="/v2/claims/{claimId}/request-more-info".replace("{claimId}",encodeURIComponent(String(e))),s=new URL(n,"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&&s.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:s.pathname+s.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 n="/v2/claims/{claimId}/resolve".replace("{claimId}",encodeURIComponent(String(e))),s=new URL(n,"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&&s.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:s.pathname+s.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))),n=new URL(t,"http://placeholder");let s;a&&(s=a.baseOptions);const o={method:"POST",...s,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&n.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:n.pathname+n.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 n="/v2/claims/{claimId}/submit-more-info".replace("{claimId}",encodeURIComponent(String(e))),s=new URL(n,"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&&s.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:s.pathname+s.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 n="/v2/claims/{claimId}/update-auto-charge".replace("{claimId}",encodeURIComponent(String(e))),s=new URL(n,"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&&s.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:s.pathname+s.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 n="/v2/claims/{claimId}".replace("{claimId}",encodeURIComponent(String(e))),s=new URL(n,"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&&s.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:s.pathname+s.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 n="/v2/claims/{claimId}/tenant-dispute-message".replace("{claimId}",encodeURIComponent(String(e))),s=new URL(n,"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&&s.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:s.pathname+s.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))),n=new URL(t,"http://placeholder");let s;a&&(s=a.baseOptions);const o={method:"POST",...s,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&n.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:n.pathname+n.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))),n=new URL(t,"http://placeholder");let s;a&&(s=a.baseOptions);const o={method:"PATCH",...s,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&n.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:n.pathname+n.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 n="/v2/claims/{claimId}/zip-documents".replace("{claimId}",encodeURIComponent(String(r))),s=new URL(n,"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&&s.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},{url:s.pathname+s.search,options:i}}}},y=function(a){return{acknowledgeCaseSentToInsurer(e,r){const t=f(a).acknowledgeCaseSentToInsurer(e,r);return(n=p,s=u)=>{const o={...t.options,url:s+t.url};return n.request(o)}},approveClaim(e,r){const t=f(a).approveClaim(e,r);return(n=p,s=u)=>{const o={...t.options,url:s+t.url};return n.request(o)}},createClaim(e,r){const t=f(a).createClaim(e,r);return(n=p,s=u)=>{const o={...t.options,url:s+t.url};return n.request(o)}},createClaimActivity(e,r,t){const n=f(a).createClaimActivity(e,r,t);return(s=p,o=u)=>{const i={...n.options,url:o+n.url};return s.request(i)}},createInsuranceClaimOnClaim(e,r){const t=f(a).createInsuranceClaimOnClaim(e,r);return(n=p,s=u)=>{const o={...t.options,url:s+t.url};return n.request(o)}},deactivateClaim(e,r,t){const n=f(a).deactivateClaim(e,r,t);return(s=p,o=u)=>{const i={...n.options,url:o+n.url};return s.request(i)}},declineClaim(e,r){const t=f(a).declineClaim(e,r);return(n=p,s=u)=>{const o={...t.options,url:s+t.url};return n.request(o)}},findClaimById(e,r){const t=f(a).findClaimById(e,r);return(n=p,s=u)=>{const o={...t.options,url:s+t.url};return n.request(o)}},generateADRForm(e,r){const t=f(a).generateADRForm(e,r);return(n=p,s=u)=>{const o={...t.options,url:s+t.url};return n.request(o)}},optimisedSearchClaim(e,r,t,n,s,o,i,l){const d=f(a).optimisedSearchClaim(e,r,t,n,s,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 n=f(a).paySupplier(e,r,t);return(s=p,o=u)=>{const i={...n.options,url:o+n.url};return s.request(i)}},publishClaim(e,r){const t=f(a).publishClaim(e,r);return(n=p,s=u)=>{const o={...t.options,url:s+t.url};return n.request(o)}},readyForArbitrateClaim(e,r){const t=f(a).readyForArbitrateClaim(e,r);return(n=p,s=u)=>{const o={...t.options,url:s+t.url};return n.request(o)}},reopenClaim(e,r,t){const n=f(a).reopenClaim(e,r,t);return(s=p,o=u)=>{const i={...n.options,url:o+n.url};return s.request(i)}},requestMoreInfoClaim(e,r,t){const n=f(a).requestMoreInfoClaim(e,r,t);return(s=p,o=u)=>{const i={...n.options,url:o+n.url};return s.request(i)}},resolveClaim(e,r,t){const n=f(a).resolveClaim(e,r,t);return(s=p,o=u)=>{const i={...n.options,url:o+n.url};return s.request(i)}},skipEvidenceChaser(e,r){const t=f(a).skipEvidenceChaser(e,r);return(n=p,s=u)=>{const o={...t.options,url:s+t.url};return n.request(o)}},submitMoreInfoClaim(e,r,t){const n=f(a).submitMoreInfoClaim(e,r,t);return(s=p,o=u)=>{const i={...n.options,url:o+n.url};return s.request(i)}},updateAutoCharge(e,r,t){const n=f(a).updateAutoCharge(e,r,t);return(s=p,o=u)=>{const i={...n.options,url:o+n.url};return s.request(i)}},updateClaim(e,r,t){const n=f(a).updateClaim(e,r,t);return(s=p,o=u)=>{const i={...n.options,url:o+n.url};return s.request(i)}},updateTenantDisputeMessage(e,r,t){const n=f(a).updateTenantDisputeMessage(e,r,t);return(s=p,o=u)=>{const i={...n.options,url:o+n.url};return s.request(i)}},verifyClaim(e,r){const t=f(a).verifyClaim(e,r);return(n=p,s=u)=>{const o={...t.options,url:s+t.url};return n.request(o)}},waiveDisputeFee(e,r){const t=f(a).waiveDisputeFee(e,r);return(n=p,s=u)=>{const o={...t.options,url:s+t.url};return n.request(o)}},zipDocuments(e,r,t){const n=f(a).zipDocuments(e,r,t);return(s=p,o=u)=>{const i={...n.options,url:o+n.url};return s.request(i)}}}},po=function(a,e,r){return{acknowledgeCaseSentToInsurer(t,n){return y(a).acknowledgeCaseSentToInsurer(t,n)(r,e)},approveClaim(t,n){return y(a).approveClaim(t,n)(r,e)},createClaim(t,n){return y(a).createClaim(t,n)(r,e)},createClaimActivity(t,n,s){return y(a).createClaimActivity(t,n,s)(r,e)},createInsuranceClaimOnClaim(t,n){return y(a).createInsuranceClaimOnClaim(t,n)(r,e)},deactivateClaim(t,n,s){return y(a).deactivateClaim(t,n,s)(r,e)},declineClaim(t,n){return y(a).declineClaim(t,n)(r,e)},findClaimById(t,n){return y(a).findClaimById(t,n)(r,e)},generateADRForm(t,n){return y(a).generateADRForm(t,n)(r,e)},optimisedSearchClaim(t,n,s,o,i,l,d,c){return y(a).optimisedSearchClaim(t,n,s,o,i,l,d,c)(r,e)},paySupplier(t,n,s){return y(a).paySupplier(t,n,s)(r,e)},publishClaim(t,n){return y(a).publishClaim(t,n)(r,e)},readyForArbitrateClaim(t,n){return y(a).readyForArbitrateClaim(t,n)(r,e)},reopenClaim(t,n,s){return y(a).reopenClaim(t,n,s)(r,e)},requestMoreInfoClaim(t,n,s){return y(a).requestMoreInfoClaim(t,n,s)(r,e)},resolveClaim(t,n,s){return y(a).resolveClaim(t,n,s)(r,e)},skipEvidenceChaser(t,n){return y(a).skipEvidenceChaser(t,n)(r,e)},submitMoreInfoClaim(t,n,s){return y(a).submitMoreInfoClaim(t,n,s)(r,e)},updateAutoCharge(t,n,s){return y(a).updateAutoCharge(t,n,s)(r,e)},updateClaim(t,n,s){return y(a).updateClaim(t,n,s)(r,e)},updateTenantDisputeMessage(t,n,s){return y(a).updateTenantDisputeMessage(t,n,s)(r,e)},verifyClaim(t,n){return y(a).verifyClaim(t,n)(r,e)},waiveDisputeFee(t,n){return y(a).waiveDisputeFee(t,n)(r,e)},zipDocuments(t,n,s){return y(a).zipDocuments(t,n,s)(r,e)}}};class ho extends R{acknowledgeCaseSentToInsurer(e,r){return y(this.configuration).acknowledgeCaseSentToInsurer(e,r)(this.axios,this.basePath)}approveClaim(e,r){return y(this.configuration).approveClaim(e,r)(this.axios,this.basePath)}createClaim(e,r){return y(this.configuration).createClaim(e,r)(this.axios,this.basePath)}createClaimActivity(e,r,t){return y(this.configuration).createClaimActivity(e,r,t)(this.axios,this.basePath)}createInsuranceClaimOnClaim(e,r){return y(this.configuration).createInsuranceClaimOnClaim(e,r)(this.axios,this.basePath)}deactivateClaim(e,r,t){return y(this.configuration).deactivateClaim(e,r,t)(this.axios,this.basePath)}declineClaim(e,r){return y(this.configuration).declineClaim(e,r)(this.axios,this.basePath)}findClaimById(e,r){return y(this.configuration).findClaimById(e,r)(this.axios,this.basePath)}generateADRForm(e,r){return y(this.configuration).generateADRForm(e,r)(this.axios,this.basePath)}optimisedSearchClaim(e,r,t,n,s,o,i,l){return y(this.configuration).optimisedSearchClaim(e,r,t,n,s,o,i,l)(this.axios,this.basePath)}paySupplier(e,r,t){return y(this.configuration).paySupplier(e,r,t)(this.axios,this.basePath)}publishClaim(e,r){return y(this.configuration).publishClaim(e,r)(this.axios,this.basePath)}readyForArbitrateClaim(e,r){return y(this.configuration).readyForArbitrateClaim(e,r)(this.axios,this.basePath)}reopenClaim(e,r,t){return y(this.configuration).reopenClaim(e,r,t)(this.axios,this.basePath)}requestMoreInfoClaim(e,r,t){return y(this.configuration).requestMoreInfoClaim(e,r,t)(this.axios,this.basePath)}resolveClaim(e,r,t){return y(this.configuration).resolveClaim(e,r,t)(this.axios,this.basePath)}skipEvidenceChaser(e,r){return y(this.configuration).skipEvidenceChaser(e,r)(this.axios,this.basePath)}submitMoreInfoClaim(e,r,t){return y(this.configuration).submitMoreInfoClaim(e,r,t)(this.axios,this.basePath)}updateAutoCharge(e,r,t){return y(this.configuration).updateAutoCharge(e,r,t)(this.axios,this.basePath)}updateClaim(e,r,t){return y(this.configuration).updateClaim(e,r,t)(this.axios,this.basePath)}updateTenantDisputeMessage(e,r,t){return y(this.configuration).updateTenantDisputeMessage(e,r,t)(this.axios,this.basePath)}verifyClaim(e,r){return y(this.configuration).verifyClaim(e,r)(this.axios,this.basePath)}waiveDisputeFee(e,r){return y(this.configuration).waiveDisputeFee(e,r)(this.axios,this.basePath)}zipDocuments(e,r,t){return y(this.configuration).zipDocuments(e,r,t)(this.axios,this.basePath)}}async function Ao(a,e,r=p,t=u,n){const s=f(e).acknowledgeCaseSentToInsurer(a,n),o={...s.options,url:t+s.url};return(await r.request(o)).data}async function mo(a,e,r=p,t=u,n){const s=f(e).approveClaim(a,n),o={...s.options,url:t+s.url};return(await r.request(o)).data}async function Ro(a,e,r=p,t=u,n){const s=f(e).createClaim(a,n),o={...s.options,url:t+s.url};return(await r.request(o)).data}async function Io(a,e,r,t=p,n=u,s){const o=f(r).createClaimActivity(a,e,s),i={...o.options,url:n+o.url};return(await t.request(i)).data}async function Po(a,e,r=p,t=u,n){const s=f(e).createInsuranceClaimOnClaim(a,n),o={...s.options,url:t+s.url};return(await r.request(o)).data}async function go(a,e,r,t=p,n=u,s){const o=f(r).deactivateClaim(a,e,s),i={...o.options,url:n+o.url};return(await t.request(i)).data}async function wo(a,e,r=p,t=u,n){const s=f(e).declineClaim(a,n),o={...s.options,url:t+s.url};return(await r.request(o)).data}async function fo(a,e,r=p,t=u,n){const s=f(e).findClaimById(a,n),o={...s.options,url:t+s.url};return(await r.request(o)).data}async function yo(a,e,r=p,t=u,n){const s=f(e).generateADRForm(a,n),o={...s.options,url:t+s.url};return(await r.request(o)).data}async function Oo(a,e,r,t,n,s,o,i,l=p,d=u,c){const A=f(i).optimisedSearchClaim(a,e,r,t,n,s,o,c),m={...A.options,url:d+A.url};return(await l.request(m)).data}async function Eo(a,e,r,t=p,n=u,s){const o=f(r).paySupplier(a,e,s),i={...o.options,url:n+o.url};return(await t.request(i)).data}async function Vo(a,e,r=p,t=u,n){const s=f(e).publishClaim(a,n),o={...s.options,url:t+s.url};return(await r.request(o)).data}async function Co(a,e,r=p,t=u,n){const s=f(e).readyForArbitrateClaim(a,n),o={...s.options,url:t+s.url};return(await r.request(o)).data}async function qo(a,e,r,t=p,n=u,s){const o=f(r).reopenClaim(a,e,s),i={...o.options,url:n+o.url};return(await t.request(i)).data}async function _o(a,e,r,t=p,n=u,s){const o=f(r).requestMoreInfoClaim(a,e,s),i={...o.options,url:n+o.url};return(await t.request(i)).data}async function vo(a,e,r,t=p,n=u,s){const o=f(r).resolveClaim(a,e,s),i={...o.options,url:n+o.url};return(await t.request(i)).data}async function bo(a,e,r=p,t=u,n){const s=f(e).skipEvidenceChaser(a,n),o={...s.options,url:t+s.url};return(await r.request(o)).data}async function To(a,e,r,t=p,n=u,s){const o=f(r).submitMoreInfoClaim(a,e,s),i={...o.options,url:n+o.url};return(await t.request(i)).data}async function So(a,e,r,t=p,n=u,s){const o=f(r).updateAutoCharge(a,e,s),i={...o.options,url:n+o.url};return(await t.request(i)).data}async function No(a,e,r,t=p,n=u,s){const o=f(r).updateClaim(a,e,s),i={...o.options,url:n+o.url};return(await t.request(i)).data}async function xo(a,e,r,t=p,n=u,s){const o=f(r).updateTenantDisputeMessage(a,e,s),i={...o.options,url:n+o.url};return(await t.request(i)).data}async function Uo(a,e,r=p,t=u,n){const s=f(e).verifyClaim(a,n),o={...s.options,url:t+s.url};return(await r.request(o)).data}async function Do(a,e,r=p,t=u,n){const s=f(e).waiveDisputeFee(a,n),o={...s.options,url:t+s.url};return(await r.request(o)).data}async function Lo(a,e,r,t=p,n=u,s){const o=f(r).zipDocuments(a,e,s),i={...o.options,url:n+o.url};return(await t.request(i)).data}const Dr=function(a){return{generateCommissionCsvForPeriod(e,r={}){if(e==null)throw new h("period","Required parameter period was null or undefined when calling generateCommissionCsvForPeriod.");const t="/v2/commission",n=new URL(t,"http://placeholder");let s;a&&(s=a.baseOptions);const o={method:"GET",...s,...r},i={},l={};return e!==void 0&&(l.period=e),Object.entries({...l,...r.query}).forEach(([d,c])=>{c!==void 0&&n.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:n.pathname+n.search,options:o}}}},Lr=function(a){return{generateCommissionCsvForPeriod(e,r){const t=Dr(a).generateCommissionCsvForPeriod(e,r);return(n=p,s=u)=>{const o={...t.options,url:s+t.url};return n.request(o)}}}},Bo=function(a,e,r){return{generateCommissionCsvForPeriod(t,n){return Lr(a).generateCommissionCsvForPeriod(t,n)(r,e)}}};class Fo extends R{generateCommissionCsvForPeriod(e,r){return Lr(this.configuration).generateCommissionCsvForPeriod(e,r)(this.axios,this.basePath)}}async function jo(a,e,r=p,t=u,n){const s=Dr(e).generateCommissionCsvForPeriod(a,n),o={...s.options,url:t+s.url};return(await r.request(o)).data}const Br=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",n=new URL(t,"http://placeholder");let s;a&&(s=a.baseOptions);const o={method:"POST",...s,...r},i={},l={};return i["Content-Type"]="application/json",Object.entries({...l,...r.query}).forEach(([d,c])=>{c!==void 0&&n.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},o.data=JSON.stringify(e!==void 0?e:{}),{url:n.pathname+n.search,options:o}}}},Fr=function(a){return{checkConcurrentTenancy(e,r){const t=Br(a).checkConcurrentTenancy(e,r);return(n=p,s=u)=>{const o={...t.options,url:s+t.url};return n.request(o)}}}},Mo=function(a,e,r){return{checkConcurrentTenancy(t,n){return Fr(a).checkConcurrentTenancy(t,n)(r,e)}}};class Ho extends R{checkConcurrentTenancy(e,r){return Fr(this.configuration).checkConcurrentTenancy(e,r)(this.axios,this.basePath)}}async function Go(a,e,r=p,t=u,n){const s=Br(e).checkConcurrentTenancy(a,n),o={...s.options,url:t+s.url};return(await r.request(o)).data}const jr=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",n=new URL(t,"http://placeholder");let s;a&&(s=a.baseOptions);const o={method:"POST",...s,...r},i={},l={};return e!==void 0&&(l.paymentMethodId=e),Object.entries({...l,...r.query}).forEach(([d,c])=>{c!==void 0&&n.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:n.pathname+n.search,options:o}}}},Mr=function(a){return{addPaymentMethod(e,r){const t=jr(a).addPaymentMethod(e,r);return(n=p,s=u)=>{const o={...t.options,url:s+t.url};return n.request(o)}}}},Qo=function(a,e,r){return{addPaymentMethod(t,n){return Mr(a).addPaymentMethod(t,n)(r,e)}}};class ko extends R{addPaymentMethod(e,r){return Mr(this.configuration).addPaymentMethod(e,r)(this.axios,this.basePath)}}async function zo(a,e,r=p,t=u,n){const s=jr(e).addPaymentMethod(a,n),o={...s.options,url:t+s.url};return(await r.request(o)).data}const be=function(a){return{createDocument(e,r,t,n={}){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 s="/v2/documents",o=new URL(s,"http://placeholder");let i;a&&(i=a.baseOptions);const l={method:"POST",...i,...n},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,...n.query}).forEach(([m,I])=>{I!==void 0&&o.searchParams.set(m,String(I))}),l.headers={...d,...n.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",n=new URL(t,"http://placeholder");let s;a&&(s=a.baseOptions);const o={method:"POST",...s,...r},i={},l={};return i["Content-Type"]="application/json",Object.entries({...l,...r.query}).forEach(([d,c])=>{c!==void 0&&n.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},o.data=JSON.stringify(e!==void 0?e:{}),{url:n.pathname+n.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",n=new URL(t,"http://placeholder");let s;a&&(s=a.baseOptions);const o={method:"GET",...s,...r},i={},l={};return e&&(l.ids=e),Object.entries({...l,...r.query}).forEach(([d,c])=>{c!==void 0&&n.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:n.pathname+n.search,options:o}}}},Te=function(a){return{createDocument(e,r,t,n){const s=be(a).createDocument(e,r,t,n);return(o=p,i=u)=>{const l={...s.options,url:i+s.url};return o.request(l)}},createFromS3(e,r){const t=be(a).createFromS3(e,r);return(n=p,s=u)=>{const o={...t.options,url:s+t.url};return n.request(o)}},getDocumentsByIds(e,r){const t=be(a).getDocumentsByIds(e,r);return(n=p,s=u)=>{const o={...t.options,url:s+t.url};return n.request(o)}}}},Yo=function(a,e,r){return{createDocument(t,n,s,o){return Te(a).createDocument(t,n,s,o)(r,e)},createFromS3(t,n){return Te(a).createFromS3(t,n)(r,e)},getDocumentsByIds(t,n){return Te(a).getDocumentsByIds(t,n)(r,e)}}};class $o extends R{createDocument(e,r,t,n){return Te(this.configuration).createDocument(e,r,t,n)(this.axios,this.basePath)}createFromS3(e,r){return Te(this.configuration).createFromS3(e,r)(this.axios,this.basePath)}getDocumentsByIds(e,r){return Te(this.configuration).getDocumentsByIds(e,r)(this.axios,this.basePath)}}async function Wo(a,e,r,t,n=p,s=u,o){const i=be(t).createDocument(a,e,r,o),l={...i.options,url:s+i.url};return(await n.request(l)).data}async function Jo(a,e,r=p,t=u,n){const s=be(e).createFromS3(a,n),o={...s.options,url:t+s.url};return(await r.request(o)).data}async function Ko(a,e,r=p,t=u,n){const s=be(e).getDocumentsByIds(a,n),o={...s.options,url:t+s.url};return(await r.request(o)).data}const Je=function(a){return{createEvidenceChaserItemRequest(e,r,t,n={}){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 s="/v2/evidence-chasers/{evidenceChaserId}/items/{itemId}/requests".replace("{itemId}",encodeURIComponent(String(e))).replace("{evidenceChaserId}",encodeURIComponent(String(r))),o=new URL(s,"http://placeholder");let i;a&&(i=a.baseOptions);const l={method:"POST",...i,...n},d={},c={};return d["Content-Type"]="application/json",Object.entries({...c,...n.query}).forEach(([A,m])=>{m!==void 0&&o.searchParams.set(A,String(m))}),l.headers={...d,...n.headers},l.data=JSON.stringify(t!==void 0?t:{}),{url:o.pathname+o.search,options:l}},deleteEvidenceChaserItemRequest(e,r,t,n={}){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 s="/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(s,"http://placeholder");let i;a&&(i=a.baseOptions);const l={method:"DELETE",...i,...n},d={};return Object.entries({...{},...n.query}).forEach(([A,m])=>{m!==void 0&&o.searchParams.set(A,String(m))}),l.headers={...d,...n.headers},{url:o.pathname+o.search,options:l}}}},Ke=function(a){return{createEvidenceChaserItemRequest(e,r,t,n){const s=Je(a).createEvidenceChaserItemRequest(e,r,t,n);return(o=p,i=u)=>{const l={...s.options,url:i+s.url};return o.request(l)}},deleteEvidenceChaserItemRequest(e,r,t,n){const s=Je(a).deleteEvidenceChaserItemRequest(e,r,t,n);return(o=p,i=u)=>{const l={...s.options,url:i+s.url};return o.request(l)}}}},Xo=function(a,e,r){return{createEvidenceChaserItemRequest(t,n,s,o){return Ke(a).createEvidenceChaserItemRequest(t,n,s,o)(r,e)},deleteEvidenceChaserItemRequest(t,n,s,o){return Ke(a).deleteEvidenceChaserItemRequest(t,n,s,o)(r,e)}}};class Zo extends R{createEvidenceChaserItemRequest(e,r,t,n){return Ke(this.configuration).createEvidenceChaserItemRequest(e,r,t,n)(this.axios,this.basePath)}deleteEvidenceChaserItemRequest(e,r,t,n){return Ke(this.configuration).deleteEvidenceChaserItemRequest(e,r,t,n)(this.axios,this.basePath)}}async function ei(a,e,r,t,n=p,s=u,o){const i=Je(t).createEvidenceChaserItemRequest(a,e,r,o),l={...i.options,url:s+i.url};return(await n.request(l)).data}async function ri(a,e,r,t,n=p,s=u,o){const i=Je(t).deleteEvidenceChaserItemRequest(a,e,r,o),l={...i.options,url:s+i.url};return(await n.request(l)).data}const Xe=function(a){return{createEvidenceChaserItemResponseDocument(e,r,t,n,s,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(n==null)throw new h("evidenceChaserId","Required parameter evidenceChaserId was null or undefined when calling createEvidenceChaserItemResponseDocument.");if(s==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(n))),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(s!==void 0?s:{}),{url:l.pathname+l.search,options:c}},deleteEvidenceChaserItemResponseDocument(e,r,t,n,s,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(n==null)throw new h("itemId","Required parameter itemId was null or undefined when calling deleteEvidenceChaserItemResponseDocument.");if(s==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(n))).replace("{evidenceChaserId}",encodeURIComponent(String(s))),l=new URL(i,"http://placeholder");let d;a&&(d=a.baseOptions);const c={method:"DELETE",...d,...o},A={};return Object.entries({...{},...o.query}).forEach(([I,P])=>{P!==void 0&&l.searchParams.set(I,String(P))}),c.headers={...A,...o.headers},{url:l.pathname+l.search,options:c}}}},Ze=function(a){return{createEvidenceChaserItemResponseDocument(e,r,t,n,s,o){const i=Xe(a).createEvidenceChaserItemResponseDocument(e,r,t,n,s,o);return(l=p,d=u)=>{const c={...i.options,url:d+i.url};return l.request(c)}},deleteEvidenceChaserItemResponseDocument(e,r,t,n,s,o){const i=Xe(a).deleteEvidenceChaserItemResponseDocument(e,r,t,n,s,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,n,s,o,i,l){return Ze(a).createEvidenceChaserItemResponseDocument(t,n,s,o,i,l)(r,e)},deleteEvidenceChaserItemResponseDocument(t,n,s,o,i,l){return Ze(a).deleteEvidenceChaserItemResponseDocument(t,n,s,o,i,l)(r,e)}}};class ai extends R{createEvidenceChaserItemResponseDocument(e,r,t,n,s,o){return Ze(this.configuration).createEvidenceChaserItemResponseDocument(e,r,t,n,s,o)(this.axios,this.basePath)}deleteEvidenceChaserItemResponseDocument(e,r,t,n,s,o){return Ze(this.configuration).deleteEvidenceChaserItemResponseDocument(e,r,t,n,s,o)(this.axios,this.basePath)}}async function ni(a,e,r,t,n,s,o=p,i=u,l){const d=Xe(s).createEvidenceChaserItemResponseDocument(a,e,r,t,n,l),c={...d.options,url:i+d.url};return(await o.request(c)).data}async function si(a,e,r,t,n,s,o=p,i=u,l){const d=Xe(s).deleteEvidenceChaserItemResponseDocument(a,e,r,t,n,l),c={...d.options,url:i+d.url};return(await o.request(c)).data}const er=function(a){return{createEvidenceChaserItemResponse(e,r,t,n,s={}){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(n==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,...s},c={},A={};return c["Content-Type"]="application/json",Object.entries({...A,...s.query}).forEach(([m,I])=>{I!==void 0&&i.searchParams.set(m,String(I))}),d.headers={...c,...s.headers},d.data=JSON.stringify(n!==void 0?n:{}),{url:i.pathname+i.search,options:d}},updateEvidenceChaserItemResponse(e,r,t,n,s,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(n==null)throw new h("evidenceChaserId","Required parameter evidenceChaserId was null or undefined when calling updateEvidenceChaserItemResponse.");if(s==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(n))),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(s!==void 0?s:{}),{url:l.pathname+l.search,options:c}}}},rr=function(a){return{createEvidenceChaserItemResponse(e,r,t,n,s){const o=er(a).createEvidenceChaserItemResponse(e,r,t,n,s);return(i=p,l=u)=>{const d={...o.options,url:l+o.url};return i.request(d)}},updateEvidenceChaserItemResponse(e,r,t,n,s,o){const i=er(a).updateEvidenceChaserItemResponse(e,r,t,n,s,o);return(l=p,d=u)=>{const c={...i.options,url:d+i.url};return l.request(c)}}}},oi=function(a,e,r){return{createEvidenceChaserItemResponse(t,n,s,o,i){return rr(a).createEvidenceChaserItemResponse(t,n,s,o,i)(r,e)},updateEvidenceChaserItemResponse(t,n,s,o,i,l){return rr(a).updateEvidenceChaserItemResponse(t,n,s,o,i,l)(r,e)}}};class ii extends R{createEvidenceChaserItemResponse(e,r,t,n,s){return rr(this.configuration).createEvidenceChaserItemResponse(e,r,t,n,s)(this.axios,this.basePath)}updateEvidenceChaserItemResponse(e,r,t,n,s,o){return rr(this.configuration).updateEvidenceChaserItemResponse(e,r,t,n,s,o)(this.axios,this.basePath)}}async function li(a,e,r,t,n,s=p,o=u,i){const l=er(n).createEvidenceChaserItemResponse(a,e,r,t,i),d={...l.options,url:o+l.url};return(await s.request(d)).data}async function ci(a,e,r,t,n,s,o=p,i=u,l){const d=er(s).updateEvidenceChaserItemResponse(a,e,r,t,n,l),c={...d.options,url:i+d.url};return(await o.request(c)).data}const tr=function(a){return{createEvidenceChaserItemReview(e,r,t,n,s,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(n==null)throw new h("evidenceChaserId","Required parameter evidenceChaserId was null or undefined when calling createEvidenceChaserItemReview.");if(s==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(n))),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(s!==void 0?s:{}),{url:l.pathname+l.search,options:c}},updateEvidenceChaserItemReview(e,r,t,n,s,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(n==null)throw new h("itemId","Required parameter itemId was null or undefined when calling updateEvidenceChaserItemReview.");if(s==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(n))).replace("{evidenceChaserId}",encodeURIComponent(String(s))),d=new URL(l,"http://placeholder");let c;a&&(c=a.baseOptions);const A={method:"PATCH",...c,...i},m={},I={};return m["Content-Type"]="application/json",Object.entries({...I,...i.query}).forEach(([P,q])=>{q!==void 0&&d.searchParams.set(P,String(q))}),A.headers={...m,...i.headers},A.data=JSON.stringify(o!==void 0?o:{}),{url:d.pathname+d.search,options:A}}}},ar=function(a){return{createEvidenceChaserItemReview(e,r,t,n,s,o){const i=tr(a).createEvidenceChaserItemReview(e,r,t,n,s,o);return(l=p,d=u)=>{const c={...i.options,url:d+i.url};return l.request(c)}},updateEvidenceChaserItemReview(e,r,t,n,s,o,i){const l=tr(a).updateEvidenceChaserItemReview(e,r,t,n,s,o,i);return(d=p,c=u)=>{const A={...l.options,url:c+l.url};return d.request(A)}}}},di=function(a,e,r){return{createEvidenceChaserItemReview(t,n,s,o,i,l){return ar(a).createEvidenceChaserItemReview(t,n,s,o,i,l)(r,e)},updateEvidenceChaserItemReview(t,n,s,o,i,l,d){return ar(a).updateEvidenceChaserItemReview(t,n,s,o,i,l,d)(r,e)}}};class ui extends R{createEvidenceChaserItemReview(e,r,t,n,s,o){return ar(this.configuration).createEvidenceChaserItemReview(e,r,t,n,s,o)(this.axios,this.basePath)}updateEvidenceChaserItemReview(e,r,t,n,s,o,i){return ar(this.configuration).updateEvidenceChaserItemReview(e,r,t,n,s,o,i)(this.axios,this.basePath)}}async function pi(a,e,r,t,n,s,o=p,i=u,l){const d=tr(s).createEvidenceChaserItemReview(a,e,r,t,n,l),c={...d.options,url:i+d.url};return(await o.request(c)).data}async function hi(a,e,r,t,n,s,o,i=p,l=u,d){const c=tr(o).updateEvidenceChaserItemReview(a,e,r,t,n,s,d),A={...c.options,url:l+c.url};return(await i.request(A)).data}const nr=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 n="/v2/evidence-chasers/{evidenceChaserId}/items".replace("{evidenceChaserId}",encodeURIComponent(String(e))),s=new URL(n,"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&&s.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:s.pathname+s.search,options:i}},updateEvidenceChaserItem(e,r,t,n={}){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 s="/v2/evidence-chasers/{evidenceChaserId}/items/{id}".replace("{id}",encodeURIComponent(String(e))).replace("{evidenceChaserId}",encodeURIComponent(String(r))),o=new URL(s,"http://placeholder");let i;a&&(i=a.baseOptions);const l={method:"PATCH",...i,...n},d={},c={};return d["Content-Type"]="application/json",Object.entries({...c,...n.query}).forEach(([A,m])=>{m!==void 0&&o.searchParams.set(A,String(m))}),l.headers={...d,...n.headers},l.data=JSON.stringify(t!==void 0?t:{}),{url:o.pathname+o.search,options:l}}}},sr=function(a){return{createEvidenceChaserItem(e,r,t){const n=nr(a).createEvidenceChaserItem(e,r,t);return(s=p,o=u)=>{const i={...n.options,url:o+n.url};return s.request(i)}},updateEvidenceChaserItem(e,r,t,n){const s=nr(a).updateEvidenceChaserItem(e,r,t,n);return(o=p,i=u)=>{const l={...s.options,url:i+s.url};return o.request(l)}}}},Ai=function(a,e,r){return{createEvidenceChaserItem(t,n,s){return sr(a).createEvidenceChaserItem(t,n,s)(r,e)},updateEvidenceChaserItem(t,n,s,o){return sr(a).updateEvidenceChaserItem(t,n,s,o)(r,e)}}};class mi extends R{createEvidenceChaserItem(e,r,t){return sr(this.configuration).createEvidenceChaserItem(e,r,t)(this.axios,this.basePath)}updateEvidenceChaserItem(e,r,t,n){return sr(this.configuration).updateEvidenceChaserItem(e,r,t,n)(this.axios,this.basePath)}}async function Ri(a,e,r,t=p,n=u,s){const o=nr(r).createEvidenceChaserItem(a,e,s),i={...o.options,url:n+o.url};return(await t.request(i)).data}async function Ii(a,e,r,t,n=p,s=u,o){const i=nr(t).updateEvidenceChaserItem(a,e,r,o),l={...i.options,url:s+i.url};return(await n.request(l)).data}const Se=function(a){return{publishEvidenceChaserRequests(e,r,t={}){if(e==null)throw new h("roundId","Required parameter roundId was null or undefined when calling publishEvidenceChaserRequests.");if(r==null)throw new h("evidenceChaserId","Required parameter evidenceChaserId was null or undefined when calling publishEvidenceChaserRequests.");const n="/v2/evidence-chasers/{evidenceChaserId}/rounds/{roundId}/requests/publish".replace("{roundId}",encodeURIComponent(String(e))).replace("{evidenceChaserId}",encodeURIComponent(String(r))),s=new URL(n,"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&&s.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},{url:s.pathname+s.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 n="/v2/evidence-chasers/{evidenceChaserId}/rounds/{roundId}/responses/publish".replace("{roundId}",encodeURIComponent(String(e))).replace("{evidenceChaserId}",encodeURIComponent(String(r))),s=new URL(n,"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&&s.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},{url:s.pathname+s.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 n="/v2/evidence-chasers/{evidenceChaserId}/rounds/{roundId}/reviews/publish".replace("{roundId}",encodeURIComponent(String(e))).replace("{evidenceChaserId}",encodeURIComponent(String(r))),s=new URL(n,"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&&s.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},{url:s.pathname+s.search,options:i}}}},Ne=function(a){return{publishEvidenceChaserRequests(e,r,t){const n=Se(a).publishEvidenceChaserRequests(e,r,t);return(s=p,o=u)=>{const i={...n.options,url:o+n.url};return s.request(i)}},publishEvidenceChaserResponses(e,r,t){const n=Se(a).publishEvidenceChaserResponses(e,r,t);return(s=p,o=u)=>{const i={...n.options,url:o+n.url};return s.request(i)}},publishEvidenceChaserReviews(e,r,t){const n=Se(a).publishEvidenceChaserReviews(e,r,t);return(s=p,o=u)=>{const i={...n.options,url:o+n.url};return s.request(i)}}}},Pi=function(a,e,r){return{publishEvidenceChaserRequests(t,n,s){return Ne(a).publishEvidenceChaserRequests(t,n,s)(r,e)},publishEvidenceChaserResponses(t,n,s){return Ne(a).publishEvidenceChaserResponses(t,n,s)(r,e)},publishEvidenceChaserReviews(t,n,s){return Ne(a).publishEvidenceChaserReviews(t,n,s)(r,e)}}};class gi extends R{publishEvidenceChaserRequests(e,r,t){return Ne(this.configuration).publishEvidenceChaserRequests(e,r,t)(this.axios,this.basePath)}publishEvidenceChaserResponses(e,r,t){return Ne(this.configuration).publishEvidenceChaserResponses(e,r,t)(this.axios,this.basePath)}publishEvidenceChaserReviews(e,r,t){return Ne(this.configuration).publishEvidenceChaserReviews(e,r,t)(this.axios,this.basePath)}}async function wi(a,e,r,t=p,n=u,s){const o=Se(r).publishEvidenceChaserRequests(a,e,s),i={...o.options,url:n+o.url};return(await t.request(i)).data}async function fi(a,e,r,t=p,n=u,s){const o=Se(r).publishEvidenceChaserResponses(a,e,s),i={...o.options,url:n+o.url};return(await t.request(i)).data}async function yi(a,e,r,t=p,n=u,s){const o=Se(r).publishEvidenceChaserReviews(a,e,s),i={...o.options,url:n+o.url};return(await t.request(i)).data}const xe=function(a){return{createEvidenceChaser(e,r={}){if(e==null)throw new h("claimId","Required parameter claimId was null or undefined when calling createEvidenceChaser.");const t="/v2/claims/{claimId}/evidence-chaser".replace("{claimId}",encodeURIComponent(String(e))),n=new URL(t,"http://placeholder");let s;a&&(s=a.baseOptions);const o={method:"POST",...s,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&n.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:n.pathname+n.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 n="/v2/claims/{claimId}/evidence-chaser/{id}/expire".replace("{claimId}",encodeURIComponent(String(e))).replace("{id}",encodeURIComponent(String(r))),s=new URL(n,"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&&s.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},{url:s.pathname+s.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 n="/v2/claims/{claimId}/evidence-chaser/{id}".replace("{id}",encodeURIComponent(String(e))).replace("{claimId}",encodeURIComponent(String(r))),s=new URL(n,"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&&s.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},{url:s.pathname+s.search,options:i}}}},Ue=function(a){return{createEvidenceChaser(e,r){const t=xe(a).createEvidenceChaser(e,r);return(n=p,s=u)=>{const o={...t.options,url:s+t.url};return n.request(o)}},expireEvidenceChaser(e,r,t){const n=xe(a).expireEvidenceChaser(e,r,t);return(s=p,o=u)=>{const i={...n.options,url:o+n.url};return s.request(i)}},getEvidenceChaserById(e,r,t){const n=xe(a).getEvidenceChaserById(e,r,t);return(s=p,o=u)=>{const i={...n.options,url:o+n.url};return s.request(i)}}}},Oi=function(a,e,r){return{createEvidenceChaser(t,n){return Ue(a).createEvidenceChaser(t,n)(r,e)},expireEvidenceChaser(t,n,s){return Ue(a).expireEvidenceChaser(t,n,s)(r,e)},getEvidenceChaserById(t,n,s){return Ue(a).getEvidenceChaserById(t,n,s)(r,e)}}};class Ei extends R{createEvidenceChaser(e,r){return Ue(this.configuration).createEvidenceChaser(e,r)(this.axios,this.basePath)}expireEvidenceChaser(e,r,t){return Ue(this.configuration).expireEvidenceChaser(e,r,t)(this.axios,this.basePath)}getEvidenceChaserById(e,r,t){return Ue(this.configuration).getEvidenceChaserById(e,r,t)(this.axios,this.basePath)}}async function Vi(a,e,r=p,t=u,n){const s=xe(e).createEvidenceChaser(a,n),o={...s.options,url:t+s.url};return(await r.request(o)).data}async function Ci(a,e,r,t=p,n=u,s){const o=xe(r).expireEvidenceChaser(a,e,s),i={...o.options,url:n+o.url};return(await t.request(i)).data}async function qi(a,e,r,t=p,n=u,s){const o=xe(r).getEvidenceChaserById(a,e,s),i={...o.options,url:n+o.url};return(await t.request(i)).data}const Hr=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",n=new URL(t,"http://placeholder");let s;a&&(s=a.baseOptions);const o={method:"POST",...s,...r},i={},l={};return i["Content-Type"]="application/json",Object.entries({...l,...r.query}).forEach(([d,c])=>{c!==void 0&&n.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},o.data=JSON.stringify(e!==void 0?e:{}),{url:n.pathname+n.search,options:o}}}},Gr=function(a){return{submitFeedback(e,r){const t=Hr(a).submitFeedback(e,r);return(n=p,s=u)=>{const o={...t.options,url:s+t.url};return n.request(o)}}}},_i=function(a,e,r){return{submitFeedback(t,n){return Gr(a).submitFeedback(t,n)(r,e)}}};class vi extends R{submitFeedback(e,r){return Gr(this.configuration).submitFeedback(e,r)(this.axios,this.basePath)}}async function bi(a,e,r=p,t=u,n){const s=Hr(e).submitFeedback(a,n),o={...s.options,url:t+s.url};return(await r.request(o)).data}const or=function(a){return{dbHealthCheck(e={}){const r="/v2/health/db",t=new URL(r,"http://placeholder");let n;a&&(n=a.baseOptions);const s={method:"GET",...n,...e},o={};return Object.entries({...{},...e.query}).forEach(([l,d])=>{d!==void 0&&t.searchParams.set(l,String(d))}),s.headers={...o,...e.headers},{url:t.pathname+t.search,options:s}},healthCheck(e={}){const r="/v2/health",t=new URL(r,"http://placeholder");let n;a&&(n=a.baseOptions);const s={method:"GET",...n,...e},o={};return Object.entries({...{},...e.query}).forEach(([l,d])=>{d!==void 0&&t.searchParams.set(l,String(d))}),s.headers={...o,...e.headers},{url:t.pathname+t.search,options:s}}}},ir=function(a){return{dbHealthCheck(e){const r=or(a).dbHealthCheck(e);return(t=p,n=u)=>{const s={...r.options,url:n+r.url};return t.request(s)}},healthCheck(e){const r=or(a).healthCheck(e);return(t=p,n=u)=>{const s={...r.options,url:n+r.url};return t.request(s)}}}},Ti=function(a,e,r){return{dbHealthCheck(t){return ir(a).dbHealthCheck(t)(r,e)},healthCheck(t){return ir(a).healthCheck(t)(r,e)}}};class Si extends R{dbHealthCheck(e){return ir(this.configuration).dbHealthCheck(e)(this.axios,this.basePath)}healthCheck(e){return ir(this.configuration).healthCheck(e)(this.axios,this.basePath)}}async function Ni(a,e=p,r=u,t){const n=or(a).dbHealthCheck(t),s={...n.options,url:r+n.url};return(await e.request(s)).data}async function xi(a,e=p,r=u,t){const n=or(a).healthCheck(t),s={...n.options,url:r+n.url};return(await e.request(s)).data}const D=function(a){return{processPlaidWebhooks(e,r={}){if(e==null)throw new h("plaidWebhookDto","Required parameter plaidWebhookDto was null or undefined when calling processPlaidWebhooks.");const t="/v2/webhooks/plaid",n=new URL(t,"http://placeholder");let s;a&&(s=a.baseOptions);const o={method:"POST",...s,...r},i={},l={};return i["Content-Type"]="application/json",Object.entries({...l,...r.query}).forEach(([d,c])=>{c!==void 0&&n.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},o.data=JSON.stringify(e!==void 0?e:{}),{url:n.pathname+n.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",n=new URL(t,"http://placeholder");let s;a&&(s=a.baseOptions);const o={method:"POST",...s,...r},i={},l={};return i["Content-Type"]="application/json",Object.entries({...l,...r.query}).forEach(([d,c])=>{c!==void 0&&n.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},o.data=JSON.stringify(e!==void 0?e:{}),{url:n.pathname+n.search,options:o}},processStripeWebhooks(e={}){const r="/v2/webhooks/stripe",t=new URL(r,"http://placeholder");let n;a&&(n=a.baseOptions);const s={method:"POST",...n,...e},o={};return Object.entries({...{},...e.query}).forEach(([l,d])=>{d!==void 0&&t.searchParams.set(l,String(d))}),s.headers={...o,...e.headers},{url:t.pathname+t.search,options:s}},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))),n=new URL(t,"http://placeholder");let s;a&&(s=a.baseOptions);const o={method:"POST",...s,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&n.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:n.pathname+n.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 n="/v2/webhooks/twilio-ivr/{ivrCallId}/gather-action/{gatherAction}".replace("{ivrCallId}",encodeURIComponent(String(e))).replace("{gatherAction}",encodeURIComponent(String(r))),s=new URL(n,"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&&s.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},{url:s.pathname+s.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",n=new URL(t,"http://placeholder");let s;a&&(s=a.baseOptions);const o={method:"POST",...s,...r},i={},l={};return e!==void 0&&(l.From=e),Object.entries({...l,...r.query}).forEach(([d,c])=>{c!==void 0&&n.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:n.pathname+n.search,options:o}}}},L=function(a){return{processPlaidWebhooks(e,r){const t=D(a).processPlaidWebhooks(e,r);return(n=p,s=u)=>{const o={...t.options,url:s+t.url};return n.request(o)}},processSendGridWebhooks(e,r){const t=D(a).processSendGridWebhooks(e,r);return(n=p,s=u)=>{const o={...t.options,url:s+t.url};return n.request(o)}},processStripeWebhooks(e){const r=D(a).processStripeWebhooks(e);return(t=p,n=u)=>{const s={...r.options,url:n+r.url};return t.request(s)}},processTwilioIvrWebhooks(e,r){const t=D(a).processTwilioIvrWebhooks(e,r);return(n=p,s=u)=>{const o={...t.options,url:s+t.url};return n.request(o)}},processTwilioIvrWebhooksWithGatherAction(e,r,t){const n=D(a).processTwilioIvrWebhooksWithGatherAction(e,r,t);return(s=p,o=u)=>{const i={...n.options,url:o+n.url};return s.request(i)}},processTwilioVoicemailWebhook(e,r){const t=D(a).processTwilioVoicemailWebhook(e,r);return(n=p,s=u)=>{const o={...t.options,url:s+t.url};return n.request(o)}}}},Ui=function(a,e,r){return{processPlaidWebhooks(t,n){return L(a).processPlaidWebhooks(t,n)(r,e)},processSendGridWebhooks(t,n){return L(a).processSendGridWebhooks(t,n)(r,e)},processStripeWebhooks(t){return L(a).processStripeWebhooks(t)(r,e)},processTwilioIvrWebhooks(t,n){return L(a).processTwilioIvrWebhooks(t,n)(r,e)},processTwilioIvrWebhooksWithGatherAction(t,n,s){return L(a).processTwilioIvrWebhooksWithGatherAction(t,n,s)(r,e)},processTwilioVoicemailWebhook(t,n){return L(a).processTwilioVoicemailWebhook(t,n)(r,e)}}};class Di extends R{processPlaidWebhooks(e,r){return L(this.configuration).processPlaidWebhooks(e,r)(this.axios,this.basePath)}processSendGridWebhooks(e,r){return L(this.configuration).processSendGridWebhooks(e,r)(this.axios,this.basePath)}processStripeWebhooks(e){return L(this.configuration).processStripeWebhooks(e)(this.axios,this.basePath)}processTwilioIvrWebhooks(e,r){return L(this.configuration).processTwilioIvrWebhooks(e,r)(this.axios,this.basePath)}processTwilioIvrWebhooksWithGatherAction(e,r,t){return L(this.configuration).processTwilioIvrWebhooksWithGatherAction(e,r,t)(this.axios,this.basePath)}processTwilioVoicemailWebhook(e,r){return L(this.configuration).processTwilioVoicemailWebhook(e,r)(this.axios,this.basePath)}}async function Li(a,e,r=p,t=u,n){const s=D(e).processPlaidWebhooks(a,n),o={...s.options,url:t+s.url};return(await r.request(o)).data}async function Bi(a,e,r=p,t=u,n){const s=D(e).processSendGridWebhooks(a,n),o={...s.options,url:t+s.url};return(await r.request(o)).data}async function Fi(a,e=p,r=u,t){const n=D(a).processStripeWebhooks(t),s={...n.options,url:r+n.url};return(await e.request(s)).data}async function ji(a,e,r=p,t=u,n){const s=D(e).processTwilioIvrWebhooks(a,n),o={...s.options,url:t+s.url};return(await r.request(o)).data}async function Mi(a,e,r,t=p,n=u,s){const o=D(r).processTwilioIvrWebhooksWithGatherAction(a,e,s),i={...o.options,url:n+o.url};return(await t.request(i)).data}async function Hi(a,e,r=p,t=u,n){const s=D(e).processTwilioVoicemailWebhook(a,n),o={...s.options,url:t+s.url};return(await r.request(o)).data}const De=function(a){return{createInsuranceClaim(e,r,t={}){if(e==null)throw new h("policyId","Required parameter policyId was null or undefined when calling createInsuranceClaim.");if(r==null)throw new h("createInsuranceClaimDTO","Required parameter createInsuranceClaimDTO was null or undefined when calling createInsuranceClaim.");const n="/v2/policies/{policyId}/claim".replace("{policyId}",encodeURIComponent(String(e))),s=new URL(n,"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&&s.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:s.pathname+s.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))),n=new URL(t,"http://placeholder");let s;a&&(s=a.baseOptions);const o={method:"GET",...s,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&n.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:n.pathname+n.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 n="/v2/policies/{policyId}/claim/resolve".replace("{policyId}",encodeURIComponent(String(e))),s=new URL(n,"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&&s.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:s.pathname+s.search,options:i}}}},Le=function(a){return{createInsuranceClaim(e,r,t){const n=De(a).createInsuranceClaim(e,r,t);return(s=p,o=u)=>{const i={...n.options,url:o+n.url};return s.request(i)}},getInsuranceClaim(e,r){const t=De(a).getInsuranceClaim(e,r);return(n=p,s=u)=>{const o={...t.options,url:s+t.url};return n.request(o)}},resolveInsuranceClaim(e,r,t){const n=De(a).resolveInsuranceClaim(e,r,t);return(s=p,o=u)=>{const i={...n.options,url:o+n.url};return s.request(i)}}}},Gi=function(a,e,r){return{createInsuranceClaim(t,n,s){return Le(a).createInsuranceClaim(t,n,s)(r,e)},getInsuranceClaim(t,n){return Le(a).getInsuranceClaim(t,n)(r,e)},resolveInsuranceClaim(t,n,s){return Le(a).resolveInsuranceClaim(t,n,s)(r,e)}}};class Qi extends R{createInsuranceClaim(e,r,t){return Le(this.configuration).createInsuranceClaim(e,r,t)(this.axios,this.basePath)}getInsuranceClaim(e,r){return Le(this.configuration).getInsuranceClaim(e,r)(this.axios,this.basePath)}resolveInsuranceClaim(e,r,t){return Le(this.configuration).resolveInsuranceClaim(e,r,t)(this.axios,this.basePath)}}async function ki(a,e,r,t=p,n=u,s){const o=De(r).createInsuranceClaim(a,e,s),i={...o.options,url:n+o.url};return(await t.request(i)).data}async function zi(a,e,r=p,t=u,n){const s=De(e).getInsuranceClaim(a,n),o={...s.options,url:t+s.url};return(await r.request(o)).data}async function Yi(a,e,r,t=p,n=u,s){const o=De(r).resolveInsuranceClaim(a,e,s),i={...o.options,url:n+o.url};return(await t.request(i)).data}const Qr=function(a){return{getIntegrators(e={}){const r="/v2/integrator",t=new URL(r,"http://placeholder");let n;a&&(n=a.baseOptions);const s={method:"GET",...n,...e},o={};return Object.entries({...{},...e.query}).forEach(([l,d])=>{d!==void 0&&t.searchParams.set(l,String(d))}),s.headers={...o,...e.headers},{url:t.pathname+t.search,options:s}}}},kr=function(a){return{getIntegrators(e){const r=Qr(a).getIntegrators(e);return(t=p,n=u)=>{const s={...r.options,url:n+r.url};return t.request(s)}}}},$i=function(a,e,r){return{getIntegrators(t){return kr(a).getIntegrators(t)(r,e)}}};class Wi extends R{getIntegrators(e){return kr(this.configuration).getIntegrators(e)(this.axios,this.basePath)}}async function Ji(a,e=p,r=u,t){const n=Qr(a).getIntegrators(t),s={...n.options,url:r+n.url};return(await e.request(s)).data}const zr=function(a){return{generateLastMonthCommission(e,r={}){if(e==null)throw new h("integratorId","Required parameter integratorId was null or undefined when calling generateLastMonthCommission.");const t="/v2/integrator/{integratorId}/commission".replace("{integratorId}",encodeURIComponent(String(e))),n=new URL(t,"http://placeholder");let s;a&&(s=a.baseOptions);const o={method:"POST",...s,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&n.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:n.pathname+n.search,options:o}}}},Yr=function(a){return{generateLastMonthCommission(e,r){const t=zr(a).generateLastMonthCommission(e,r);return(n=p,s=u)=>{const o={...t.options,url:s+t.url};return n.request(o)}}}},Ki=function(a,e,r){return{generateLastMonthCommission(t,n){return Yr(a).generateLastMonthCommission(t,n)(r,e)}}};class Xi extends R{generateLastMonthCommission(e,r){return Yr(this.configuration).generateLastMonthCommission(e,r)(this.axios,this.basePath)}}async function Zi(a,e,r=p,t=u,n){const s=zr(e).generateLastMonthCommission(a,n),o={...s.options,url:t+s.url};return(await r.request(o)).data}const lr=function(a){return{getCompletedReposits(e={}){const r="/v2/internal-reports/completed-reposits",t=new URL(r,"http://placeholder");let n;a&&(n=a.baseOptions);const s={method:"GET",...n,...e},o={};return Object.entries({...{},...e.query}).forEach(([l,d])=>{d!==void 0&&t.searchParams.set(l,String(d))}),s.headers={...o,...e.headers},{url:t.pathname+t.search,options:s}},getCreatedReposits(e={}){const r="/v2/internal-reports/created-reposits",t=new URL(r,"http://placeholder");let n;a&&(n=a.baseOptions);const s={method:"GET",...n,...e},o={};return Object.entries({...{},...e.query}).forEach(([l,d])=>{d!==void 0&&t.searchParams.set(l,String(d))}),s.headers={...o,...e.headers},{url:t.pathname+t.search,options:s}}}},cr=function(a){return{getCompletedReposits(e){const r=lr(a).getCompletedReposits(e);return(t=p,n=u)=>{const s={...r.options,url:n+r.url};return t.request(s)}},getCreatedReposits(e){const r=lr(a).getCreatedReposits(e);return(t=p,n=u)=>{const s={...r.options,url:n+r.url};return t.request(s)}}}},el=function(a,e,r){return{getCompletedReposits(t){return cr(a).getCompletedReposits(t)(r,e)},getCreatedReposits(t){return cr(a).getCreatedReposits(t)(r,e)}}};class rl extends R{getCompletedReposits(e){return cr(this.configuration).getCompletedReposits(e)(this.axios,this.basePath)}getCreatedReposits(e){return cr(this.configuration).getCreatedReposits(e)(this.axios,this.basePath)}}async function tl(a,e=p,r=u,t){const n=lr(a).getCompletedReposits(t),s={...n.options,url:r+n.url};return(await e.request(s)).data}async function al(a,e=p,r=u,t){const n=lr(a).getCreatedReposits(t),s={...n.options,url:r+n.url};return(await e.request(s)).data}const $r=function(a){return{findAll(e={}){const r="/v2/internal-team-members",t=new URL(r,"http://placeholder");let n;a&&(n=a.baseOptions);const s={method:"GET",...n,...e},o={};return Object.entries({...{},...e.query}).forEach(([l,d])=>{d!==void 0&&t.searchParams.set(l,String(d))}),s.headers={...o,...e.headers},{url:t.pathname+t.search,options:s}}}},Wr=function(a){return{findAll(e){const r=$r(a).findAll(e);return(t=p,n=u)=>{const s={...r.options,url:n+r.url};return t.request(s)}}}},nl=function(a,e,r){return{findAll(t){return Wr(a).findAll(t)(r,e)}}};class sl extends R{findAll(e){return Wr(this.configuration).findAll(e)(this.axios,this.basePath)}}async function ol(a,e=p,r=u,t){const n=$r(a).findAll(t),s={...n.options,url:r+n.url};return(await e.request(s)).data}const Jr=function(a){return{searchKpiDocuments(e,r,t,n,s={}){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(n==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,...s},c={},A={};return e!==void 0&&(A.from=e),r!==void 0&&(A.to=r),t!==void 0&&(A.page=t),n!==void 0&&(A.size=n),Object.entries({...A,...s.query}).forEach(([m,I])=>{I!==void 0&&i.searchParams.set(m,String(I))}),d.headers={...c,...s.headers},{url:i.pathname+i.search,options:d}}}},Kr=function(a){return{searchKpiDocuments(e,r,t,n,s){const o=Jr(a).searchKpiDocuments(e,r,t,n,s);return(i=p,l=u)=>{const d={...o.options,url:l+o.url};return i.request(d)}}}},il=function(a,e,r){return{searchKpiDocuments(t,n,s,o,i){return Kr(a).searchKpiDocuments(t,n,s,o,i)(r,e)}}};class ll extends R{searchKpiDocuments(e,r,t,n,s){return Kr(this.configuration).searchKpiDocuments(e,r,t,n,s)(this.axios,this.basePath)}}async function cl(a,e,r,t,n,s=p,o=u,i){const l=Jr(n).searchKpiDocuments(a,e,r,t,i),d={...l.options,url:o+l.url};return(await s.request(d)).data}const dr=function(a){return{getLandlordById(e,r={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling getLandlordById.");const t="/v2/landlords/{id}".replace("{id}",encodeURIComponent(String(e))),n=new URL(t,"http://placeholder");let s;a&&(s=a.baseOptions);const o={method:"GET",...s,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&n.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:n.pathname+n.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 n="/v2/landlords/{id}".replace("{id}",encodeURIComponent(String(e))),s=new URL(n,"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&&s.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:s.pathname+s.search,options:i}}}},ur=function(a){return{getLandlordById(e,r){const t=dr(a).getLandlordById(e,r);return(n=p,s=u)=>{const o={...t.options,url:s+t.url};return n.request(o)}},updateLandlord(e,r,t){const n=dr(a).updateLandlord(e,r,t);return(s=p,o=u)=>{const i={...n.options,url:o+n.url};return s.request(i)}}}},dl=function(a,e,r){return{getLandlordById(t,n){return ur(a).getLandlordById(t,n)(r,e)},updateLandlord(t,n,s){return ur(a).updateLandlord(t,n,s)(r,e)}}};class ul extends R{getLandlordById(e,r){return ur(this.configuration).getLandlordById(e,r)(this.axios,this.basePath)}updateLandlord(e,r,t){return ur(this.configuration).updateLandlord(e,r,t)(this.axios,this.basePath)}}async function pl(a,e,r=p,t=u,n){const s=dr(e).getLandlordById(a,n),o={...s.options,url:t+s.url};return(await r.request(o)).data}async function hl(a,e,r,t=p,n=u,s){const o=dr(r).updateLandlord(a,e,s),i={...o.options,url:n+o.url};return(await t.request(i)).data}const Xr=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",n=new URL(t,"http://placeholder");let s;a&&(s=a.baseOptions);const o={method:"POST",...s,...r},i={},l={};return i["Content-Type"]="application/json",Object.entries({...l,...r.query}).forEach(([d,c])=>{c!==void 0&&n.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},o.data=JSON.stringify(e!==void 0?e:{}),{url:n.pathname+n.search,options:o}}}},Zr=function(a){return{processIncomingMessage(e,r){const t=Xr(a).processIncomingMessage(e,r);return(n=p,s=u)=>{const o={...t.options,url:s+t.url};return n.request(o)}}}},Al=function(a,e,r){return{processIncomingMessage(t,n){return Zr(a).processIncomingMessage(t,n)(r,e)}}};class ml extends R{processIncomingMessage(e,r){return Zr(this.configuration).processIncomingMessage(e,r)(this.axios,this.basePath)}}async function Rl(a,e,r=p,t=u,n){const s=Xr(e).processIncomingMessage(a,n),o={...s.options,url:t+s.url};return(await r.request(o)).data}const ne=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 n="/v2/my-deposits/oauth/complete-setup",s=new URL(n,"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&&s.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:s.pathname+s.search,options:i}},exchangeMyDepositsToken(e,r={}){if(e==null)throw new h("myDepositsExchangeTokenRequestDTO","Required parameter myDepositsExchangeTokenRequestDTO was null or undefined when calling exchangeMyDepositsToken.");const t="/v2/my-deposits/oauth/token",n=new URL(t,"http://placeholder");let s;a&&(s=a.baseOptions);const o={method:"POST",...s,...r},i={},l={};return i["Content-Type"]="application/json",Object.entries({...l,...r.query}).forEach(([d,c])=>{c!==void 0&&n.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},o.data=JSON.stringify(e!==void 0?e:{}),{url:n.pathname+n.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",n=new URL(t,"http://placeholder");let s;a&&(s=a.baseOptions);const o={method:"GET",...s,...r},i={},l={};return e!==void 0&&(l.organizationId=e),Object.entries({...l,...r.query}).forEach(([d,c])=>{c!==void 0&&n.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:n.pathname+n.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",n=new URL(t,"http://placeholder");let s;a&&(s=a.baseOptions);const o={method:"GET",...s,...r},i={},l={};return e!==void 0&&(l.organizationId=e),Object.entries({...l,...r.query}).forEach(([d,c])=>{c!==void 0&&n.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:n.pathname+n.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",n=new URL(t,"http://placeholder");let s;a&&(s=a.baseOptions);const o={method:"GET",...s,...r},i={},l={};return e!==void 0&&(l.organizationId=e),Object.entries({...l,...r.query}).forEach(([d,c])=>{c!==void 0&&n.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:n.pathname+n.search,options:o}}}},se=function(a){return{completeMyDepositsSetup(e,r,t){const n=ne(a).completeMyDepositsSetup(e,r,t);return(s=p,o=u)=>{const i={...n.options,url:o+n.url};return s.request(i)}},exchangeMyDepositsToken(e,r){const t=ne(a).exchangeMyDepositsToken(e,r);return(n=p,s=u)=>{const o={...t.options,url:s+t.url};return n.request(o)}},getMyDepositsAuthorizeUrl(e,r){const t=ne(a).getMyDepositsAuthorizeUrl(e,r);return(n=p,s=u)=>{const o={...t.options,url:s+t.url};return n.request(o)}},getMyDepositsCompanyOffices(e,r){const t=ne(a).getMyDepositsCompanyOffices(e,r);return(n=p,s=u)=>{const o={...t.options,url:s+t.url};return n.request(o)}},getMyDepositsOnboardingStatus(e,r){const t=ne(a).getMyDepositsOnboardingStatus(e,r);return(n=p,s=u)=>{const o={...t.options,url:s+t.url};return n.request(o)}}}},Il=function(a,e,r){return{completeMyDepositsSetup(t,n,s){return se(a).completeMyDepositsSetup(t,n,s)(r,e)},exchangeMyDepositsToken(t,n){return se(a).exchangeMyDepositsToken(t,n)(r,e)},getMyDepositsAuthorizeUrl(t,n){return se(a).getMyDepositsAuthorizeUrl(t,n)(r,e)},getMyDepositsCompanyOffices(t,n){return se(a).getMyDepositsCompanyOffices(t,n)(r,e)},getMyDepositsOnboardingStatus(t,n){return se(a).getMyDepositsOnboardingStatus(t,n)(r,e)}}};class Pl extends R{completeMyDepositsSetup(e,r,t){return se(this.configuration).completeMyDepositsSetup(e,r,t)(this.axios,this.basePath)}exchangeMyDepositsToken(e,r){return se(this.configuration).exchangeMyDepositsToken(e,r)(this.axios,this.basePath)}getMyDepositsAuthorizeUrl(e,r){return se(this.configuration).getMyDepositsAuthorizeUrl(e,r)(this.axios,this.basePath)}getMyDepositsCompanyOffices(e,r){return se(this.configuration).getMyDepositsCompanyOffices(e,r)(this.axios,this.basePath)}getMyDepositsOnboardingStatus(e,r){return se(this.configuration).getMyDepositsOnboardingStatus(e,r)(this.axios,this.basePath)}}async function gl(a,e,r,t=p,n=u,s){const o=ne(r).completeMyDepositsSetup(a,e,s),i={...o.options,url:n+o.url};return(await t.request(i)).data}async function wl(a,e,r=p,t=u,n){const s=ne(e).exchangeMyDepositsToken(a,n),o={...s.options,url:t+s.url};return(await r.request(o)).data}async function fl(a,e,r=p,t=u,n){const s=ne(e).getMyDepositsAuthorizeUrl(a,n),o={...s.options,url:t+s.url};return(await r.request(o)).data}async function yl(a,e,r=p,t=u,n){const s=ne(e).getMyDepositsCompanyOffices(a,n),o={...s.options,url:t+s.url};return(await r.request(o)).data}async function Ol(a,e,r=p,t=u,n){const s=ne(e).getMyDepositsOnboardingStatus(a,n),o={...s.options,url:t+s.url};return(await r.request(o)).data}const et=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",n=new URL(t,"http://placeholder");let s;a&&(s=a.baseOptions);const o={method:"POST",...s,...r},i={},l={};return i["Content-Type"]="application/json",Object.entries({...l,...r.query}).forEach(([d,c])=>{c!==void 0&&n.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},o.data=JSON.stringify(e!==void 0?e:{}),{url:n.pathname+n.search,options:o}}}},rt=function(a){return{createNetPromoterScore(e,r){const t=et(a).createNetPromoterScore(e,r);return(n=p,s=u)=>{const o={...t.options,url:s+t.url};return n.request(o)}}}},El=function(a,e,r){return{createNetPromoterScore(t,n){return rt(a).createNetPromoterScore(t,n)(r,e)}}};class Vl extends R{createNetPromoterScore(e,r){return rt(this.configuration).createNetPromoterScore(e,r)(this.axios,this.basePath)}}async function Cl(a,e,r=p,t=u,n){const s=et(e).createNetPromoterScore(a,n),o={...s.options,url:t+s.url};return(await r.request(o)).data}const b=function(a){return{aboutYou(e,r,t,n={}){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 s="/v2/orders/{orderId}/customers/{customerId}/actions/about-you".replace("{orderId}",encodeURIComponent(String(e))).replace("{customerId}",encodeURIComponent(String(r))),o=new URL(s,"http://placeholder");let i;a&&(i=a.baseOptions);const l={method:"PATCH",...i,...n},d={},c={};return d["Content-Type"]="application/json",Object.entries({...c,...n.query}).forEach(([A,m])=>{m!==void 0&&o.searchParams.set(A,String(m))}),l.headers={...d,...n.headers},l.data=JSON.stringify(t!==void 0?t:{}),{url:o.pathname+o.search,options:l}},addressHistory(e,r,t,n={}){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 s="/v2/orders/{orderId}/customers/{customerId}/actions/address-history".replace("{orderId}",encodeURIComponent(String(e))).replace("{customerId}",encodeURIComponent(String(r))),o=new URL(s,"http://placeholder");let i;a&&(i=a.baseOptions);const l={method:"PATCH",...i,...n},d={},c={};return d["Content-Type"]="application/json",Object.entries({...c,...n.query}).forEach(([A,m])=>{m!==void 0&&o.searchParams.set(A,String(m))}),l.headers={...d,...n.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 n="/v2/orders/{orderId}/customers/{customerId}/actions/confirm".replace("{orderId}",encodeURIComponent(String(e))).replace("{customerId}",encodeURIComponent(String(r))),s=new URL(n,"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&&s.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},{url:s.pathname+s.search,options:i}},pay(e,r,t,n={}){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 s="/v2/orders/{orderId}/customers/{customerId}/actions/pay".replace("{orderId}",encodeURIComponent(String(e))).replace("{customerId}",encodeURIComponent(String(r))),o=new URL(s,"http://placeholder");let i;a&&(i=a.baseOptions);const l={method:"GET",...i,...n},d={},c={};return t!==void 0&&(c.customerActionType=t),Object.entries({...c,...n.query}).forEach(([A,m])=>{m!==void 0&&o.searchParams.set(A,String(m))}),l.headers={...d,...n.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 n="/v2/orders/{orderId}/customers/{customerId}/actions/reference".replace("{orderId}",encodeURIComponent(String(e))).replace("{customerId}",encodeURIComponent(String(r))),s=new URL(n,"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&&s.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},{url:s.pathname+s.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 n="/v2/orders/{orderId}/customers/{customerId}/actions/sign".replace("{orderId}",encodeURIComponent(String(e))).replace("{customerId}",encodeURIComponent(String(r))),s=new URL(n,"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&&s.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},{url:s.pathname+s.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 n="/v2/orders/{orderId}/customers/{customerId}/actions/sign-addendum".replace("{orderId}",encodeURIComponent(String(e))).replace("{customerId}",encodeURIComponent(String(r))),s=new URL(n,"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&&s.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},{url:s.pathname+s.search,options:i}}}},T=function(a){return{aboutYou(e,r,t,n){const s=b(a).aboutYou(e,r,t,n);return(o=p,i=u)=>{const l={...s.options,url:i+s.url};return o.request(l)}},addressHistory(e,r,t,n){const s=b(a).addressHistory(e,r,t,n);return(o=p,i=u)=>{const l={...s.options,url:i+s.url};return o.request(l)}},confirm(e,r,t){const n=b(a).confirm(e,r,t);return(s=p,o=u)=>{const i={...n.options,url:o+n.url};return s.request(i)}},pay(e,r,t,n){const s=b(a).pay(e,r,t,n);return(o=p,i=u)=>{const l={...s.options,url:i+s.url};return o.request(l)}},reference(e,r,t){const n=b(a).reference(e,r,t);return(s=p,o=u)=>{const i={...n.options,url:o+n.url};return s.request(i)}},sign(e,r,t){const n=b(a).sign(e,r,t);return(s=p,o=u)=>{const i={...n.options,url:o+n.url};return s.request(i)}},signAddendumForTenant(e,r,t){const n=b(a).signAddendumForTenant(e,r,t);return(s=p,o=u)=>{const i={...n.options,url:o+n.url};return s.request(i)}}}},ql=function(a,e,r){return{aboutYou(t,n,s,o){return T(a).aboutYou(t,n,s,o)(r,e)},addressHistory(t,n,s,o){return T(a).addressHistory(t,n,s,o)(r,e)},confirm(t,n,s){return T(a).confirm(t,n,s)(r,e)},pay(t,n,s,o){return T(a).pay(t,n,s,o)(r,e)},reference(t,n,s){return T(a).reference(t,n,s)(r,e)},sign(t,n,s){return T(a).sign(t,n,s)(r,e)},signAddendumForTenant(t,n,s){return T(a).signAddendumForTenant(t,n,s)(r,e)}}};class _l extends R{aboutYou(e,r,t,n){return T(this.configuration).aboutYou(e,r,t,n)(this.axios,this.basePath)}addressHistory(e,r,t,n){return T(this.configuration).addressHistory(e,r,t,n)(this.axios,this.basePath)}confirm(e,r,t){return T(this.configuration).confirm(e,r,t)(this.axios,this.basePath)}pay(e,r,t,n){return T(this.configuration).pay(e,r,t,n)(this.axios,this.basePath)}reference(e,r,t){return T(this.configuration).reference(e,r,t)(this.axios,this.basePath)}sign(e,r,t){return T(this.configuration).sign(e,r,t)(this.axios,this.basePath)}signAddendumForTenant(e,r,t){return T(this.configuration).signAddendumForTenant(e,r,t)(this.axios,this.basePath)}}async function vl(a,e,r,t,n=p,s=u,o){const i=b(t).aboutYou(a,e,r,o),l={...i.options,url:s+i.url};return(await n.request(l)).data}async function bl(a,e,r,t,n=p,s=u,o){const i=b(t).addressHistory(a,e,r,o),l={...i.options,url:s+i.url};return(await n.request(l)).data}async function Tl(a,e,r,t=p,n=u,s){const o=b(r).confirm(a,e,s),i={...o.options,url:n+o.url};return(await t.request(i)).data}async function Sl(a,e,r,t,n=p,s=u,o){const i=b(t).pay(a,e,r,o),l={...i.options,url:s+i.url};return(await n.request(l)).data}async function Nl(a,e,r,t=p,n=u,s){const o=b(r).reference(a,e,s),i={...o.options,url:n+o.url};return(await t.request(i)).data}async function xl(a,e,r,t=p,n=u,s){const o=b(r).sign(a,e,s),i={...o.options,url:n+o.url};return(await t.request(i)).data}async function Ul(a,e,r,t=p,n=u,s){const o=b(r).signAddendumForTenant(a,e,s),i={...o.options,url:n+o.url};return(await t.request(i)).data}const Be=function(a){return{getOrderCustomerById(e,r,t={}){if(e==null)throw new h("orderId","Required parameter orderId was null or undefined when calling getOrderCustomerById.");if(r==null)throw new h("customerId","Required parameter customerId was null or undefined when calling getOrderCustomerById.");const n="/v2/orders/{orderId}/customers/{customerId}".replace("{orderId}",encodeURIComponent(String(e))).replace("{customerId}",encodeURIComponent(String(r))),s=new URL(n,"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&&s.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},{url:s.pathname+s.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 n="/v2/orders/{orderId}/customers/{customerId}/tenancy-user".replace("{orderId}",encodeURIComponent(String(e))).replace("{customerId}",encodeURIComponent(String(r))),s=new URL(n,"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&&s.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},{url:s.pathname+s.search,options:i}},paymentCardChecks(e,r,t,n={}){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 s="/v2/orders/{orderId}/customers/{customerId}/payment-card-checks".replace("{orderId}",encodeURIComponent(String(e))).replace("{customerId}",encodeURIComponent(String(r))),o=new URL(s,"http://placeholder");let i;a&&(i=a.baseOptions);const l={method:"POST",...i,...n},d={},c={};return d["Content-Type"]="application/json",Object.entries({...c,...n.query}).forEach(([A,m])=>{m!==void 0&&o.searchParams.set(A,String(m))}),l.headers={...d,...n.headers},l.data=JSON.stringify(t!==void 0?t:{}),{url:o.pathname+o.search,options:l}}}},Fe=function(a){return{getOrderCustomerById(e,r,t){const n=Be(a).getOrderCustomerById(e,r,t);return(s=p,o=u)=>{const i={...n.options,url:o+n.url};return s.request(i)}},getTenancyUserById(e,r,t){const n=Be(a).getTenancyUserById(e,r,t);return(s=p,o=u)=>{const i={...n.options,url:o+n.url};return s.request(i)}},paymentCardChecks(e,r,t,n){const s=Be(a).paymentCardChecks(e,r,t,n);return(o=p,i=u)=>{const l={...s.options,url:i+s.url};return o.request(l)}}}},Dl=function(a,e,r){return{getOrderCustomerById(t,n,s){return Fe(a).getOrderCustomerById(t,n,s)(r,e)},getTenancyUserById(t,n,s){return Fe(a).getTenancyUserById(t,n,s)(r,e)},paymentCardChecks(t,n,s,o){return Fe(a).paymentCardChecks(t,n,s,o)(r,e)}}};class Ll extends R{getOrderCustomerById(e,r,t){return Fe(this.configuration).getOrderCustomerById(e,r,t)(this.axios,this.basePath)}getTenancyUserById(e,r,t){return Fe(this.configuration).getTenancyUserById(e,r,t)(this.axios,this.basePath)}paymentCardChecks(e,r,t,n){return Fe(this.configuration).paymentCardChecks(e,r,t,n)(this.axios,this.basePath)}}async function Bl(a,e,r,t=p,n=u,s){const o=Be(r).getOrderCustomerById(a,e,s),i={...o.options,url:n+o.url};return(await t.request(i)).data}async function Fl(a,e,r,t=p,n=u,s){const o=Be(r).getTenancyUserById(a,e,s),i={...o.options,url:n+o.url};return(await t.request(i)).data}async function jl(a,e,r,t,n=p,s=u,o){const i=Be(t).paymentCardChecks(a,e,r,o),l={...i.options,url:s+i.url};return(await n.request(l)).data}const pr=function(a){return{duplicatePaymentMethodCheck(e,r,t={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling duplicatePaymentMethodCheck.");if(r==null)throw new h("duplicatePaymentMethodCheckDTO","Required parameter duplicatePaymentMethodCheckDTO was null or undefined when calling duplicatePaymentMethodCheck.");const n="/v2/orders/{id}/duplicate-payment-method-check".replace("{id}",encodeURIComponent(String(e))),s=new URL(n,"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&&s.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:s.pathname+s.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 n="/v2/orders/{id}/amount-remaining".replace("{id}",encodeURIComponent(String(e))),s=new URL(n,"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&&s.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},{url:s.pathname+s.search,options:i}}}},hr=function(a){return{duplicatePaymentMethodCheck(e,r,t){const n=pr(a).duplicatePaymentMethodCheck(e,r,t);return(s=p,o=u)=>{const i={...n.options,url:o+n.url};return s.request(i)}},getAmountRemaining(e,r,t){const n=pr(a).getAmountRemaining(e,r,t);return(s=p,o=u)=>{const i={...n.options,url:o+n.url};return s.request(i)}}}},Ml=function(a,e,r){return{duplicatePaymentMethodCheck(t,n,s){return hr(a).duplicatePaymentMethodCheck(t,n,s)(r,e)},getAmountRemaining(t,n,s){return hr(a).getAmountRemaining(t,n,s)(r,e)}}};class Hl extends R{duplicatePaymentMethodCheck(e,r,t){return hr(this.configuration).duplicatePaymentMethodCheck(e,r,t)(this.axios,this.basePath)}getAmountRemaining(e,r,t){return hr(this.configuration).getAmountRemaining(e,r,t)(this.axios,this.basePath)}}async function Gl(a,e,r,t=p,n=u,s){const o=pr(r).duplicatePaymentMethodCheck(a,e,s),i={...o.options,url:n+o.url};return(await t.request(i)).data}async function Ql(a,e,r,t=p,n=u,s){const o=pr(r).getAmountRemaining(a,e,s),i={...o.options,url:n+o.url};return(await t.request(i)).data}const je=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 n="/v2/organizations/{organizationId}/bank-accounts".replace("{organizationId}",encodeURIComponent(String(e))),s=new URL(n,"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&&s.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:s.pathname+s.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 n="/v2/organizations/{organizationId}/bank-accounts/{id}".replace("{organizationId}",encodeURIComponent(String(e))).replace("{id}",encodeURIComponent(String(r))),s=new URL(n,"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&&s.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},{url:s.pathname+s.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))),n=new URL(t,"http://placeholder");let s;a&&(s=a.baseOptions);const o={method:"GET",...s,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&n.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:n.pathname+n.search,options:o}}}},Me=function(a){return{create(e,r,t){const n=je(a).create(e,r,t);return(s=p,o=u)=>{const i={...n.options,url:o+n.url};return s.request(i)}},deleteBankAccount(e,r,t){const n=je(a).deleteBankAccount(e,r,t);return(s=p,o=u)=>{const i={...n.options,url:o+n.url};return s.request(i)}},getBankAccounts(e,r){const t=je(a).getBankAccounts(e,r);return(n=p,s=u)=>{const o={...t.options,url:s+t.url};return n.request(o)}}}},kl=function(a,e,r){return{create(t,n,s){return Me(a).create(t,n,s)(r,e)},deleteBankAccount(t,n,s){return Me(a).deleteBankAccount(t,n,s)(r,e)},getBankAccounts(t,n){return Me(a).getBankAccounts(t,n)(r,e)}}};class zl extends R{create(e,r,t){return Me(this.configuration).create(e,r,t)(this.axios,this.basePath)}deleteBankAccount(e,r,t){return Me(this.configuration).deleteBankAccount(e,r,t)(this.axios,this.basePath)}getBankAccounts(e,r){return Me(this.configuration).getBankAccounts(e,r)(this.axios,this.basePath)}}async function Yl(a,e,r,t=p,n=u,s){const o=je(r).create(a,e,s),i={...o.options,url:n+o.url};return(await t.request(i)).data}async function $l(a,e,r,t=p,n=u,s){const o=je(r).deleteBankAccount(a,e,s),i={...o.options,url:n+o.url};return(await t.request(i)).data}async function Wl(a,e,r=p,t=u,n){const s=je(e).getBankAccounts(a,n),o={...s.options,url:t+s.url};return(await r.request(o)).data}const tt=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))),n=new URL(t,"http://placeholder");let s;a&&(s=a.baseOptions);const o={method:"GET",...s,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&n.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:n.pathname+n.search,options:o}}}},at=function(a){return{getOwners(e,r){const t=tt(a).getOwners(e,r);return(n=p,s=u)=>{const o={...t.options,url:s+t.url};return n.request(o)}}}},Jl=function(a,e,r){return{getOwners(t,n){return at(a).getOwners(t,n)(r,e)}}};class Kl extends R{getOwners(e,r){return at(this.configuration).getOwners(e,r)(this.axios,this.basePath)}}async function Xl(a,e,r=p,t=u,n){const s=tt(e).getOwners(a,n),o={...s.options,url:t+s.url};return(await r.request(o)).data}const oe=function(a){return{acceptOrganizationInvite(e,r,t={}){if(e==null)throw new h("token","Required parameter token was null or undefined when calling acceptOrganizationInvite.");if(r==null)throw new h("organizationId","Required parameter organizationId was null or undefined when calling acceptOrganizationInvite.");const n="/v2/organizations/{organizationId}/invites/accept".replace("{organizationId}",encodeURIComponent(String(r))),s=new URL(n,"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&&s.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},{url:s.pathname+s.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 n="/v2/organizations/{organizationId}/invites".replace("{organizationId}",encodeURIComponent(String(e))),s=new URL(n,"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&&s.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:s.pathname+s.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 n="/v2/organizations/{organizationId}/invites/{organizationInviteId}".replace("{organizationInviteId}",encodeURIComponent(String(e))).replace("{organizationId}",encodeURIComponent(String(r))),s=new URL(n,"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&&s.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},{url:s.pathname+s.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 n="/v2/organizations/{organizationId}/invites".replace("{organizationId}",encodeURIComponent(String(e))),s=new URL(n,"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&&s.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},{url:s.pathname+s.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 n="/v2/organizations/{organizationId}/invites/{organizationInviteId}/resend".replace("{organizationInviteId}",encodeURIComponent(String(e))).replace("{organizationId}",encodeURIComponent(String(r))),s=new URL(n,"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&&s.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},{url:s.pathname+s.search,options:i}}}},ie=function(a){return{acceptOrganizationInvite(e,r,t){const n=oe(a).acceptOrganizationInvite(e,r,t);return(s=p,o=u)=>{const i={...n.options,url:o+n.url};return s.request(i)}},createOrganizationInvite(e,r,t){const n=oe(a).createOrganizationInvite(e,r,t);return(s=p,o=u)=>{const i={...n.options,url:o+n.url};return s.request(i)}},deleteInvite(e,r,t){const n=oe(a).deleteInvite(e,r,t);return(s=p,o=u)=>{const i={...n.options,url:o+n.url};return s.request(i)}},fetchInvitesByOrganizationId(e,r,t){const n=oe(a).fetchInvitesByOrganizationId(e,r,t);return(s=p,o=u)=>{const i={...n.options,url:o+n.url};return s.request(i)}},resendOrganizationInvite(e,r,t){const n=oe(a).resendOrganizationInvite(e,r,t);return(s=p,o=u)=>{const i={...n.options,url:o+n.url};return s.request(i)}}}},Zl=function(a,e,r){return{acceptOrganizationInvite(t,n,s){return ie(a).acceptOrganizationInvite(t,n,s)(r,e)},createOrganizationInvite(t,n,s){return ie(a).createOrganizationInvite(t,n,s)(r,e)},deleteInvite(t,n,s){return ie(a).deleteInvite(t,n,s)(r,e)},fetchInvitesByOrganizationId(t,n,s){return ie(a).fetchInvitesByOrganizationId(t,n,s)(r,e)},resendOrganizationInvite(t,n,s){return ie(a).resendOrganizationInvite(t,n,s)(r,e)}}};class ec extends R{acceptOrganizationInvite(e,r,t){return ie(this.configuration).acceptOrganizationInvite(e,r,t)(this.axios,this.basePath)}createOrganizationInvite(e,r,t){return ie(this.configuration).createOrganizationInvite(e,r,t)(this.axios,this.basePath)}deleteInvite(e,r,t){return ie(this.configuration).deleteInvite(e,r,t)(this.axios,this.basePath)}fetchInvitesByOrganizationId(e,r,t){return ie(this.configuration).fetchInvitesByOrganizationId(e,r,t)(this.axios,this.basePath)}resendOrganizationInvite(e,r,t){return ie(this.configuration).resendOrganizationInvite(e,r,t)(this.axios,this.basePath)}}async function rc(a,e,r,t=p,n=u,s){const o=oe(r).acceptOrganizationInvite(a,e,s),i={...o.options,url:n+o.url};return(await t.request(i)).data}async function tc(a,e,r,t=p,n=u,s){const o=oe(r).createOrganizationInvite(a,e,s),i={...o.options,url:n+o.url};return(await t.request(i)).data}async function ac(a,e,r,t=p,n=u,s){const o=oe(r).deleteInvite(a,e,s),i={...o.options,url:n+o.url};return(await t.request(i)).data}async function nc(a,e,r,t=p,n=u,s){const o=oe(r).fetchInvitesByOrganizationId(a,e,s),i={...o.options,url:n+o.url};return(await t.request(i)).data}async function sc(a,e,r,t=p,n=u,s){const o=oe(r).resendOrganizationInvite(a,e,s),i={...o.options,url:n+o.url};return(await t.request(i)).data}const Ar=function(a){return{createOrganizationRecipient(e,r,t={}){if(e==null)throw new h("organizationId","Required parameter organizationId was null or undefined when calling createOrganizationRecipient.");if(r==null)throw new h("createOrganizationRecipientDTO","Required parameter createOrganizationRecipientDTO was null or undefined when calling createOrganizationRecipient.");const n="/v2/organizations/{organizationId}/recipients".replace("{organizationId}",encodeURIComponent(String(e))),s=new URL(n,"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&&s.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:s.pathname+s.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 n="/v2/organizations/{organizationId}/recipients/{id}".replace("{id}",encodeURIComponent(String(e))).replace("{organizationId}",encodeURIComponent(String(r))),s=new URL(n,"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&&s.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},{url:s.pathname+s.search,options:i}}}},mr=function(a){return{createOrganizationRecipient(e,r,t){const n=Ar(a).createOrganizationRecipient(e,r,t);return(s=p,o=u)=>{const i={...n.options,url:o+n.url};return s.request(i)}},deleteOrganizationRecipient(e,r,t){const n=Ar(a).deleteOrganizationRecipient(e,r,t);return(s=p,o=u)=>{const i={...n.options,url:o+n.url};return s.request(i)}}}},oc=function(a,e,r){return{createOrganizationRecipient(t,n,s){return mr(a).createOrganizationRecipient(t,n,s)(r,e)},deleteOrganizationRecipient(t,n,s){return mr(a).deleteOrganizationRecipient(t,n,s)(r,e)}}};class ic extends R{createOrganizationRecipient(e,r,t){return mr(this.configuration).createOrganizationRecipient(e,r,t)(this.axios,this.basePath)}deleteOrganizationRecipient(e,r,t){return mr(this.configuration).deleteOrganizationRecipient(e,r,t)(this.axios,this.basePath)}}async function lc(a,e,r,t=p,n=u,s){const o=Ar(r).createOrganizationRecipient(a,e,s),i={...o.options,url:n+o.url};return(await t.request(i)).data}async function cc(a,e,r,t=p,n=u,s){const o=Ar(r).deleteOrganizationRecipient(a,e,s),i={...o.options,url:n+o.url};return(await t.request(i)).data}const He=function(a){return{grantRoles(e,r,t={}){if(e==null)throw new h("userId","Required parameter userId was null or undefined when calling grantRoles.");if(r==null)throw new h("organizationId","Required parameter organizationId was null or undefined when calling grantRoles.");const n="/v2/organizations/{organizationId}/users/{userId}/grant-roles".replace("{userId}",encodeURIComponent(String(e))).replace("{organizationId}",encodeURIComponent(String(r))),s=new URL(n,"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&&s.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},{url:s.pathname+s.search,options:i}},notifyIntegrator(e,r,t,n={}){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 s="/v2/organizations/{organizationId}/users/{userId}/notify-integrator".replace("{userId}",encodeURIComponent(String(e))).replace("{organizationId}",encodeURIComponent(String(r))),o=new URL(s,"http://placeholder");let i;a&&(i=a.baseOptions);const l={method:"POST",...i,...n},d={},c={};return d["Content-Type"]="application/json",Object.entries({...c,...n.query}).forEach(([A,m])=>{m!==void 0&&o.searchParams.set(A,String(m))}),l.headers={...d,...n.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 n="/v2/organizations/{organizationId}/users/{userId}/revoke-roles".replace("{userId}",encodeURIComponent(String(e))).replace("{organizationId}",encodeURIComponent(String(r))),s=new URL(n,"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&&s.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},{url:s.pathname+s.search,options:i}}}},Ge=function(a){return{grantRoles(e,r,t){const n=He(a).grantRoles(e,r,t);return(s=p,o=u)=>{const i={...n.options,url:o+n.url};return s.request(i)}},notifyIntegrator(e,r,t,n){const s=He(a).notifyIntegrator(e,r,t,n);return(o=p,i=u)=>{const l={...s.options,url:i+s.url};return o.request(l)}},revokeRoles(e,r,t){const n=He(a).revokeRoles(e,r,t);return(s=p,o=u)=>{const i={...n.options,url:o+n.url};return s.request(i)}}}},dc=function(a,e,r){return{grantRoles(t,n,s){return Ge(a).grantRoles(t,n,s)(r,e)},notifyIntegrator(t,n,s,o){return Ge(a).notifyIntegrator(t,n,s,o)(r,e)},revokeRoles(t,n,s){return Ge(a).revokeRoles(t,n,s)(r,e)}}};class uc extends R{grantRoles(e,r,t){return Ge(this.configuration).grantRoles(e,r,t)(this.axios,this.basePath)}notifyIntegrator(e,r,t,n){return Ge(this.configuration).notifyIntegrator(e,r,t,n)(this.axios,this.basePath)}revokeRoles(e,r,t){return Ge(this.configuration).revokeRoles(e,r,t)(this.axios,this.basePath)}}async function pc(a,e,r,t=p,n=u,s){const o=He(r).grantRoles(a,e,s),i={...o.options,url:n+o.url};return(await t.request(i)).data}async function hc(a,e,r,t,n=p,s=u,o){const i=He(t).notifyIntegrator(a,e,r,o),l={...i.options,url:s+i.url};return(await n.request(l)).data}async function Ac(a,e,r,t=p,n=u,s){const o=He(r).revokeRoles(a,e,s),i={...o.options,url:n+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))),n=new URL(t,"http://placeholder");let s;a&&(s=a.baseOptions);const o={method:"PATCH",...s,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&n.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:n.pathname+n.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",n=new URL(t,"http://placeholder");let s;a&&(s=a.baseOptions);const o={method:"POST",...s,...r},i={},l={};return i["Content-Type"]="application/json",Object.entries({...l,...r.query}).forEach(([d,c])=>{c!==void 0&&n.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},o.data=JSON.stringify(e!==void 0?e:{}),{url:n.pathname+n.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))),n=new URL(t,"http://placeholder");let s;a&&(s=a.baseOptions);const o={method:"PATCH",...s,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&n.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:n.pathname+n.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 n="/v2/organizations/{id}/messages/{messageId}/dismiss".replace("{messageId}",encodeURIComponent(String(e))).replace("{id}",encodeURIComponent(String(r))),s=new URL(n,"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&&s.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},{url:s.pathname+s.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))),n=new URL(t,"http://placeholder");let s;a&&(s=a.baseOptions);const o={method:"PATCH",...s,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&n.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:n.pathname+n.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))),n=new URL(t,"http://placeholder");let s;a&&(s=a.baseOptions);const o={method:"GET",...s,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&n.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:n.pathname+n.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))),n=new URL(t,"http://placeholder");let s;a&&(s=a.baseOptions);const o={method:"GET",...s,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&n.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:n.pathname+n.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))),n=new URL(t,"http://placeholder");let s;a&&(s=a.baseOptions);const o={method:"GET",...s,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&n.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:n.pathname+n.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))),n=new URL(t,"http://placeholder");let s;a&&(s=a.baseOptions);const o={method:"GET",...s,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&n.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:n.pathname+n.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))),n=new URL(t,"http://placeholder");let s;a&&(s=a.baseOptions);const o={method:"GET",...s,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&n.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:n.pathname+n.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))),n=new URL(t,"http://placeholder");let s;a&&(s=a.baseOptions);const o={method:"GET",...s,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&n.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:n.pathname+n.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))),n=new URL(t,"http://placeholder");let s;a&&(s=a.baseOptions);const o={method:"GET",...s,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&n.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:n.pathname+n.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))),n=new URL(t,"http://placeholder");let s;a&&(s=a.baseOptions);const o={method:"GET",...s,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&n.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:n.pathname+n.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))),n=new URL(t,"http://placeholder");let s;a&&(s=a.baseOptions);const o={method:"GET",...s,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&n.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:n.pathname+n.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))),n=new URL(t,"http://placeholder");let s;a&&(s=a.baseOptions);const o={method:"GET",...s,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&n.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:n.pathname+n.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))),n=new URL(t,"http://placeholder");let s;a&&(s=a.baseOptions);const o={method:"GET",...s,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&n.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:n.pathname+n.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))),n=new URL(t,"http://placeholder");let s;a&&(s=a.baseOptions);const o={method:"GET",...s,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&n.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:n.pathname+n.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 n="/v2/organizations/{id}/users/{userId}".replace("{id}",encodeURIComponent(String(e))).replace("{userId}",encodeURIComponent(String(r))),s=new URL(n,"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&&s.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},{url:s.pathname+s.search,options:i}},searchOrganization(e,r,t,n,s,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 n!==void 0&&(m.query=n),e!==void 0&&(m.organizationTypeId=e),s!==void 0&&(m.sortBy=s),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))),n=new URL(t,"http://placeholder");let s;a&&(s=a.baseOptions);const o={method:"PATCH",...s,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&n.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:n.pathname+n.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))),n=new URL(t,"http://placeholder");let s;a&&(s=a.baseOptions);const o={method:"PATCH",...s,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&n.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:n.pathname+n.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))),n=new URL(t,"http://placeholder");let s;a&&(s=a.baseOptions);const o={method:"PATCH",...s,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&n.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:n.pathname+n.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 n="/v2/organizations/{id}".replace("{id}",encodeURIComponent(String(e))),s=new URL(n,"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&&s.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:s.pathname+s.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 n="/v2/organizations/{id}/notes".replace("{id}",encodeURIComponent(String(e))),s=new URL(n,"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&&s.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:s.pathname+s.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))),n=new URL(t,"http://placeholder");let s;a&&(s=a.baseOptions);const o={method:"PATCH",...s,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&n.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:n.pathname+n.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 n="/v2/organizations/{id}/onboarding/your-company".replace("{id}",encodeURIComponent(String(e))),s=new URL(n,"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&&s.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:s.pathname+s.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))),n=new URL(t,"http://placeholder");let s;a&&(s=a.baseOptions);const o={method:"PATCH",...s,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&n.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:n.pathname+n.search,options:o}}}},w=function(a){return{confirmBankAccounts(e,r){const t=g(a).confirmBankAccounts(e,r);return(n=p,s=u)=>{const o={...t.options,url:s+t.url};return n.request(o)}},createOrganization(e,r){const t=g(a).createOrganization(e,r);return(n=p,s=u)=>{const o={...t.options,url:s+t.url};return n.request(o)}},disableProductCreation(e,r){const t=g(a).disableProductCreation(e,r);return(n=p,s=u)=>{const o={...t.options,url:s+t.url};return n.request(o)}},dismissOrganizationMessage(e,r,t){const n=g(a).dismissOrganizationMessage(e,r,t);return(s=p,o=u)=>{const i={...n.options,url:o+n.url};return s.request(i)}},enableProductCreation(e,r){const t=g(a).enableProductCreation(e,r);return(n=p,s=u)=>{const o={...t.options,url:s+t.url};return n.request(o)}},fetchAddressesByOrganizationId(e,r){const t=g(a).fetchAddressesByOrganizationId(e,r);return(n=p,s=u)=>{const o={...t.options,url:s+t.url};return n.request(o)}},fetchLandlordsByOrganizationId(e,r){const t=g(a).fetchLandlordsByOrganizationId(e,r);return(n=p,s=u)=>{const o={...t.options,url:s+t.url};return n.request(o)}},fetchOrganizationUsersByOrganizationId(e,r){const t=g(a).fetchOrganizationUsersByOrganizationId(e,r);return(n=p,s=u)=>{const o={...t.options,url:s+t.url};return n.request(o)}},fetchPropertiesByOrganizationId(e,r){const t=g(a).fetchPropertiesByOrganizationId(e,r);return(n=p,s=u)=>{const o={...t.options,url:s+t.url};return n.request(o)}},fetchTenanciesByOrganizationId(e,r){const t=g(a).fetchTenanciesByOrganizationId(e,r);return(n=p,s=u)=>{const o={...t.options,url:s+t.url};return n.request(o)}},fetchUsersByOrganizationId(e,r){const t=g(a).fetchUsersByOrganizationId(e,r);return(n=p,s=u)=>{const o={...t.options,url:s+t.url};return n.request(o)}},findOrganizationById(e,r){const t=g(a).findOrganizationById(e,r);return(n=p,s=u)=>{const o={...t.options,url:s+t.url};return n.request(o)}},getCashDepositScheme(e,r){const t=g(a).getCashDepositScheme(e,r);return(n=p,s=u)=>{const o={...t.options,url:s+t.url};return n.request(o)}},getChildren(e,r){const t=g(a).getChildren(e,r);return(n=p,s=u)=>{const o={...t.options,url:s+t.url};return n.request(o)}},getOrganizationMetrics(e,r){const t=g(a).getOrganizationMetrics(e,r);return(n=p,s=u)=>{const o={...t.options,url:s+t.url};return n.request(o)}},getOrganizationVerticals(e,r){const t=g(a).getOrganizationVerticals(e,r);return(n=p,s=u)=>{const o={...t.options,url:s+t.url};return n.request(o)}},getRecipients(e,r){const t=g(a).getRecipients(e,r);return(n=p,s=u)=>{const o={...t.options,url:s+t.url};return n.request(o)}},removeUser(e,r,t){const n=g(a).removeUser(e,r,t);return(s=p,o=u)=>{const i={...n.options,url:o+n.url};return s.request(i)}},searchOrganization(e,r,t,n,s,o){const i=g(a).searchOrganization(e,r,t,n,s,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(n=p,s=u)=>{const o={...t.options,url:s+t.url};return n.request(o)}},updateASTAcceptance(e,r){const t=g(a).updateASTAcceptance(e,r);return(n=p,s=u)=>{const o={...t.options,url:s+t.url};return n.request(o)}},updateInformedLandlords(e,r){const t=g(a).updateInformedLandlords(e,r);return(n=p,s=u)=>{const o={...t.options,url:s+t.url};return n.request(o)}},updateOrganization(e,r,t){const n=g(a).updateOrganization(e,r,t);return(s=p,o=u)=>{const i={...n.options,url:o+n.url};return s.request(i)}},updateOrganizationNotes(e,r,t){const n=g(a).updateOrganizationNotes(e,r,t);return(s=p,o=u)=>{const i={...n.options,url:o+n.url};return s.request(i)}},updateTermsAccepted(e,r){const t=g(a).updateTermsAccepted(e,r);return(n=p,s=u)=>{const o={...t.options,url:s+t.url};return n.request(o)}},updateYourCompany(e,r,t){const n=g(a).updateYourCompany(e,r,t);return(s=p,o=u)=>{const i={...n.options,url:o+n.url};return s.request(i)}},welcomeLandlord(e,r){const t=g(a).welcomeLandlord(e,r);return(n=p,s=u)=>{const o={...t.options,url:s+t.url};return n.request(o)}}}},mc=function(a,e,r){return{confirmBankAccounts(t,n){return w(a).confirmBankAccounts(t,n)(r,e)},createOrganization(t,n){return w(a).createOrganization(t,n)(r,e)},disableProductCreation(t,n){return w(a).disableProductCreation(t,n)(r,e)},dismissOrganizationMessage(t,n,s){return w(a).dismissOrganizationMessage(t,n,s)(r,e)},enableProductCreation(t,n){return w(a).enableProductCreation(t,n)(r,e)},fetchAddressesByOrganizationId(t,n){return w(a).fetchAddressesByOrganizationId(t,n)(r,e)},fetchLandlordsByOrganizationId(t,n){return w(a).fetchLandlordsByOrganizationId(t,n)(r,e)},fetchOrganizationUsersByOrganizationId(t,n){return w(a).fetchOrganizationUsersByOrganizationId(t,n)(r,e)},fetchPropertiesByOrganizationId(t,n){return w(a).fetchPropertiesByOrganizationId(t,n)(r,e)},fetchTenanciesByOrganizationId(t,n){return w(a).fetchTenanciesByOrganizationId(t,n)(r,e)},fetchUsersByOrganizationId(t,n){return w(a).fetchUsersByOrganizationId(t,n)(r,e)},findOrganizationById(t,n){return w(a).findOrganizationById(t,n)(r,e)},getCashDepositScheme(t,n){return w(a).getCashDepositScheme(t,n)(r,e)},getChildren(t,n){return w(a).getChildren(t,n)(r,e)},getOrganizationMetrics(t,n){return w(a).getOrganizationMetrics(t,n)(r,e)},getOrganizationVerticals(t,n){return w(a).getOrganizationVerticals(t,n)(r,e)},getRecipients(t,n){return w(a).getRecipients(t,n)(r,e)},removeUser(t,n,s){return w(a).removeUser(t,n,s)(r,e)},searchOrganization(t,n,s,o,i,l){return w(a).searchOrganization(t,n,s,o,i,l)(r,e)},setLandlordInformationComplete(t,n){return w(a).setLandlordInformationComplete(t,n)(r,e)},updateASTAcceptance(t,n){return w(a).updateASTAcceptance(t,n)(r,e)},updateInformedLandlords(t,n){return w(a).updateInformedLandlords(t,n)(r,e)},updateOrganization(t,n,s){return w(a).updateOrganization(t,n,s)(r,e)},updateOrganizationNotes(t,n,s){return w(a).updateOrganizationNotes(t,n,s)(r,e)},updateTermsAccepted(t,n){return w(a).updateTermsAccepted(t,n)(r,e)},updateYourCompany(t,n,s){return w(a).updateYourCompany(t,n,s)(r,e)},welcomeLandlord(t,n){return w(a).welcomeLandlord(t,n)(r,e)}}};class Rc 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,n,s,o){return w(this.configuration).searchOrganization(e,r,t,n,s,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 Ic(a,e,r=p,t=u,n){const s=g(e).confirmBankAccounts(a,n),o={...s.options,url:t+s.url};return(await r.request(o)).data}async function Pc(a,e,r=p,t=u,n){const s=g(e).createOrganization(a,n),o={...s.options,url:t+s.url};return(await r.request(o)).data}async function gc(a,e,r=p,t=u,n){const s=g(e).disableProductCreation(a,n),o={...s.options,url:t+s.url};return(await r.request(o)).data}async function wc(a,e,r,t=p,n=u,s){const o=g(r).dismissOrganizationMessage(a,e,s),i={...o.options,url:n+o.url};return(await t.request(i)).data}async function fc(a,e,r=p,t=u,n){const s=g(e).enableProductCreation(a,n),o={...s.options,url:t+s.url};return(await r.request(o)).data}async function yc(a,e,r=p,t=u,n){const s=g(e).fetchAddressesByOrganizationId(a,n),o={...s.options,url:t+s.url};return(await r.request(o)).data}async function Oc(a,e,r=p,t=u,n){const s=g(e).fetchLandlordsByOrganizationId(a,n),o={...s.options,url:t+s.url};return(await r.request(o)).data}async function Ec(a,e,r=p,t=u,n){const s=g(e).fetchOrganizationUsersByOrganizationId(a,n),o={...s.options,url:t+s.url};return(await r.request(o)).data}async function Vc(a,e,r=p,t=u,n){const s=g(e).fetchPropertiesByOrganizationId(a,n),o={...s.options,url:t+s.url};return(await r.request(o)).data}async function Cc(a,e,r=p,t=u,n){const s=g(e).fetchTenanciesByOrganizationId(a,n),o={...s.options,url:t+s.url};return(await r.request(o)).data}async function qc(a,e,r=p,t=u,n){const s=g(e).fetchUsersByOrganizationId(a,n),o={...s.options,url:t+s.url};return(await r.request(o)).data}async function _c(a,e,r=p,t=u,n){const s=g(e).findOrganizationById(a,n),o={...s.options,url:t+s.url};return(await r.request(o)).data}async function vc(a,e,r=p,t=u,n){const s=g(e).getCashDepositScheme(a,n),o={...s.options,url:t+s.url};return(await r.request(o)).data}async function bc(a,e,r=p,t=u,n){const s=g(e).getChildren(a,n),o={...s.options,url:t+s.url};return(await r.request(o)).data}async function Tc(a,e,r=p,t=u,n){const s=g(e).getOrganizationMetrics(a,n),o={...s.options,url:t+s.url};return(await r.request(o)).data}async function Sc(a,e,r=p,t=u,n){const s=g(e).getOrganizationVerticals(a,n),o={...s.options,url:t+s.url};return(await r.request(o)).data}async function Nc(a,e,r=p,t=u,n){const s=g(e).getRecipients(a,n),o={...s.options,url:t+s.url};return(await r.request(o)).data}async function xc(a,e,r,t=p,n=u,s){const o=g(r).removeUser(a,e,s),i={...o.options,url:n+o.url};return(await t.request(i)).data}async function Uc(a,e,r,t,n,s,o=p,i=u,l){const d=g(s).searchOrganization(a,e,r,t,n,l),c={...d.options,url:i+d.url};return(await o.request(c)).data}async function Dc(a,e,r=p,t=u,n){const s=g(e).setLandlordInformationComplete(a,n),o={...s.options,url:t+s.url};return(await r.request(o)).data}async function Lc(a,e,r=p,t=u,n){const s=g(e).updateASTAcceptance(a,n),o={...s.options,url:t+s.url};return(await r.request(o)).data}async function Bc(a,e,r=p,t=u,n){const s=g(e).updateInformedLandlords(a,n),o={...s.options,url:t+s.url};return(await r.request(o)).data}async function Fc(a,e,r,t=p,n=u,s){const o=g(r).updateOrganization(a,e,s),i={...o.options,url:n+o.url};return(await t.request(i)).data}async function jc(a,e,r,t=p,n=u,s){const o=g(r).updateOrganizationNotes(a,e,s),i={...o.options,url:n+o.url};return(await t.request(i)).data}async function Mc(a,e,r=p,t=u,n){const s=g(e).updateTermsAccepted(a,n),o={...s.options,url:t+s.url};return(await r.request(o)).data}async function Hc(a,e,r,t=p,n=u,s){const o=g(r).updateYourCompany(a,e,s),i={...o.options,url:n+o.url};return(await t.request(i)).data}async function Gc(a,e,r=p,t=u,n){const s=g(e).welcomeLandlord(a,n),o={...s.options,url:t+s.url};return(await r.request(o)).data}const Re=function(a){return{confirmPaymentPlan(e,r={}){if(e==null)throw new h("paymentPlanId","Required parameter paymentPlanId was null or undefined when calling confirmPaymentPlan.");const t="/v2/payment-plan/{paymentPlanId}/actions/confirm".replace("{paymentPlanId}",encodeURIComponent(String(e))),n=new URL(t,"http://placeholder");let s;a&&(s=a.baseOptions);const o={method:"PATCH",...s,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&n.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:n.pathname+n.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 n="/v2/payment-plan/{paymentPlanId}/actions/{id}".replace("{id}",encodeURIComponent(String(e))).replace("{paymentPlanId}",encodeURIComponent(String(r))),s=new URL(n,"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&&s.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},{url:s.pathname+s.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 n="/v2/payment-plan/{paymentPlanId}/actions/address".replace("{paymentPlanId}",encodeURIComponent(String(e))),s=new URL(n,"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&&s.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:s.pathname+s.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 n="/v2/payment-plan/{paymentPlanId}/actions/card-details".replace("{paymentPlanId}",encodeURIComponent(String(e))),s=new URL(n,"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&&s.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:s.pathname+s.search,options:i}}}},Ie=function(a){return{confirmPaymentPlan(e,r){const t=Re(a).confirmPaymentPlan(e,r);return(n=p,s=u)=>{const o={...t.options,url:s+t.url};return n.request(o)}},getPaymentPlanAction(e,r,t){const n=Re(a).getPaymentPlanAction(e,r,t);return(s=p,o=u)=>{const i={...n.options,url:o+n.url};return s.request(i)}},updateAddress(e,r,t){const n=Re(a).updateAddress(e,r,t);return(s=p,o=u)=>{const i={...n.options,url:o+n.url};return s.request(i)}},updateCardDetails(e,r,t){const n=Re(a).updateCardDetails(e,r,t);return(s=p,o=u)=>{const i={...n.options,url:o+n.url};return s.request(i)}}}},Qc=function(a,e,r){return{confirmPaymentPlan(t,n){return Ie(a).confirmPaymentPlan(t,n)(r,e)},getPaymentPlanAction(t,n,s){return Ie(a).getPaymentPlanAction(t,n,s)(r,e)},updateAddress(t,n,s){return Ie(a).updateAddress(t,n,s)(r,e)},updateCardDetails(t,n,s){return Ie(a).updateCardDetails(t,n,s)(r,e)}}};class kc extends R{confirmPaymentPlan(e,r){return Ie(this.configuration).confirmPaymentPlan(e,r)(this.axios,this.basePath)}getPaymentPlanAction(e,r,t){return Ie(this.configuration).getPaymentPlanAction(e,r,t)(this.axios,this.basePath)}updateAddress(e,r,t){return Ie(this.configuration).updateAddress(e,r,t)(this.axios,this.basePath)}updateCardDetails(e,r,t){return Ie(this.configuration).updateCardDetails(e,r,t)(this.axios,this.basePath)}}async function zc(a,e,r=p,t=u,n){const s=Re(e).confirmPaymentPlan(a,n),o={...s.options,url:t+s.url};return(await r.request(o)).data}async function Yc(a,e,r,t=p,n=u,s){const o=Re(r).getPaymentPlanAction(a,e,s),i={...o.options,url:n+o.url};return(await t.request(i)).data}async function $c(a,e,r,t=p,n=u,s){const o=Re(r).updateAddress(a,e,s),i={...o.options,url:n+o.url};return(await t.request(i)).data}async function Wc(a,e,r,t=p,n=u,s){const o=Re(r).updateCardDetails(a,e,s),i={...o.options,url:n+o.url};return(await t.request(i)).data}const Qe=function(a){return{deferPaymentPlanInstalment(e,r,t,n={}){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 s="/v2/payment-plan/{paymentPlanId}/instalment/{id}/defer".replace("{id}",encodeURIComponent(String(e))).replace("{paymentPlanId}",encodeURIComponent(String(r))),o=new URL(s,"http://placeholder");let i;a&&(i=a.baseOptions);const l={method:"PATCH",...i,...n},d={},c={};return d["Content-Type"]="application/json",Object.entries({...c,...n.query}).forEach(([A,m])=>{m!==void 0&&o.searchParams.set(A,String(m))}),l.headers={...d,...n.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 n="/v2/payment-plan/{paymentPlanId}/instalment/{id}".replace("{id}",encodeURIComponent(String(e))).replace("{paymentPlanId}",encodeURIComponent(String(r))),s=new URL(n,"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&&s.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},{url:s.pathname+s.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 n="/v2/payment-plan/{paymentPlanId}/instalment/{id}/pay".replace("{id}",encodeURIComponent(String(e))).replace("{paymentPlanId}",encodeURIComponent(String(r))),s=new URL(n,"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&&s.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},{url:s.pathname+s.search,options:i}}}},ke=function(a){return{deferPaymentPlanInstalment(e,r,t,n){const s=Qe(a).deferPaymentPlanInstalment(e,r,t,n);return(o=p,i=u)=>{const l={...s.options,url:i+s.url};return o.request(l)}},getInstalmentById(e,r,t){const n=Qe(a).getInstalmentById(e,r,t);return(s=p,o=u)=>{const i={...n.options,url:o+n.url};return s.request(i)}},getInstalmentPaymentIntentSecret(e,r,t){const n=Qe(a).getInstalmentPaymentIntentSecret(e,r,t);return(s=p,o=u)=>{const i={...n.options,url:o+n.url};return s.request(i)}}}},Jc=function(a,e,r){return{deferPaymentPlanInstalment(t,n,s,o){return ke(a).deferPaymentPlanInstalment(t,n,s,o)(r,e)},getInstalmentById(t,n,s){return ke(a).getInstalmentById(t,n,s)(r,e)},getInstalmentPaymentIntentSecret(t,n,s){return ke(a).getInstalmentPaymentIntentSecret(t,n,s)(r,e)}}};class Kc extends R{deferPaymentPlanInstalment(e,r,t,n){return ke(this.configuration).deferPaymentPlanInstalment(e,r,t,n)(this.axios,this.basePath)}getInstalmentById(e,r,t){return ke(this.configuration).getInstalmentById(e,r,t)(this.axios,this.basePath)}getInstalmentPaymentIntentSecret(e,r,t){return ke(this.configuration).getInstalmentPaymentIntentSecret(e,r,t)(this.axios,this.basePath)}}async function Xc(a,e,r,t,n=p,s=u,o){const i=Qe(t).deferPaymentPlanInstalment(a,e,r,o),l={...i.options,url:s+i.url};return(await n.request(l)).data}async function Zc(a,e,r,t=p,n=u,s){const o=Qe(r).getInstalmentById(a,e,s),i={...o.options,url:n+o.url};return(await t.request(i)).data}async function ed(a,e,r,t=p,n=u,s){const o=Qe(r).getInstalmentPaymentIntentSecret(a,e,s),i={...o.options,url:n+o.url};return(await t.request(i)).data}const B=function(a){return{changeInstalmentDates(e,r,t={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling changeInstalmentDates.");if(r==null)throw new h("changeInstalmentDatesDTO","Required parameter changeInstalmentDatesDTO was null or undefined when calling changeInstalmentDates.");const n="/v2/payment-plan/{id}/change-instalment-dates".replace("{id}",encodeURIComponent(String(e))),s=new URL(n,"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&&s.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:s.pathname+s.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",n=new URL(t,"http://placeholder");let s;a&&(s=a.baseOptions);const o={method:"POST",...s,...r},i={},l={};return i["Content-Type"]="application/json",Object.entries({...l,...r.query}).forEach(([d,c])=>{c!==void 0&&n.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},o.data=JSON.stringify(e!==void 0?e:{}),{url:n.pathname+n.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))),n=new URL(t,"http://placeholder");let s;a&&(s=a.baseOptions);const o={method:"DELETE",...s,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&n.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:n.pathname+n.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))),n=new URL(t,"http://placeholder");let s;a&&(s=a.baseOptions);const o={method:"GET",...s,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&n.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:n.pathname+n.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))),n=new URL(t,"http://placeholder");let s;a&&(s=a.baseOptions);const o={method:"GET",...s,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&n.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:n.pathname+n.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))),n=new URL(t,"http://placeholder");let s;a&&(s=a.baseOptions);const o={method:"POST",...s,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&n.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:n.pathname+n.search,options:o}}}},F=function(a){return{changeInstalmentDates(e,r,t){const n=B(a).changeInstalmentDates(e,r,t);return(s=p,o=u)=>{const i={...n.options,url:o+n.url};return s.request(i)}},createPaymentPlan(e,r){const t=B(a).createPaymentPlan(e,r);return(n=p,s=u)=>{const o={...t.options,url:s+t.url};return n.request(o)}},deletePaymentPlanById(e,r){const t=B(a).deletePaymentPlanById(e,r);return(n=p,s=u)=>{const o={...t.options,url:s+t.url};return n.request(o)}},getPaymentPlanById(e,r){const t=B(a).getPaymentPlanById(e,r);return(n=p,s=u)=>{const o={...t.options,url:s+t.url};return n.request(o)}},getPaymentPlanPropertyAddressById(e,r){const t=B(a).getPaymentPlanPropertyAddressById(e,r);return(n=p,s=u)=>{const o={...t.options,url:s+t.url};return n.request(o)}},getSetupIntentSecret(e,r){const t=B(a).getSetupIntentSecret(e,r);return(n=p,s=u)=>{const o={...t.options,url:s+t.url};return n.request(o)}}}},rd=function(a,e,r){return{changeInstalmentDates(t,n,s){return F(a).changeInstalmentDates(t,n,s)(r,e)},createPaymentPlan(t,n){return F(a).createPaymentPlan(t,n)(r,e)},deletePaymentPlanById(t,n){return F(a).deletePaymentPlanById(t,n)(r,e)},getPaymentPlanById(t,n){return F(a).getPaymentPlanById(t,n)(r,e)},getPaymentPlanPropertyAddressById(t,n){return F(a).getPaymentPlanPropertyAddressById(t,n)(r,e)},getSetupIntentSecret(t,n){return F(a).getSetupIntentSecret(t,n)(r,e)}}};class td extends R{changeInstalmentDates(e,r,t){return F(this.configuration).changeInstalmentDates(e,r,t)(this.axios,this.basePath)}createPaymentPlan(e,r){return F(this.configuration).createPaymentPlan(e,r)(this.axios,this.basePath)}deletePaymentPlanById(e,r){return F(this.configuration).deletePaymentPlanById(e,r)(this.axios,this.basePath)}getPaymentPlanById(e,r){return F(this.configuration).getPaymentPlanById(e,r)(this.axios,this.basePath)}getPaymentPlanPropertyAddressById(e,r){return F(this.configuration).getPaymentPlanPropertyAddressById(e,r)(this.axios,this.basePath)}getSetupIntentSecret(e,r){return F(this.configuration).getSetupIntentSecret(e,r)(this.axios,this.basePath)}}async function ad(a,e,r,t=p,n=u,s){const o=B(r).changeInstalmentDates(a,e,s),i={...o.options,url:n+o.url};return(await t.request(i)).data}async function nd(a,e,r=p,t=u,n){const s=B(e).createPaymentPlan(a,n),o={...s.options,url:t+s.url};return(await r.request(o)).data}async function sd(a,e,r=p,t=u,n){const s=B(e).deletePaymentPlanById(a,n),o={...s.options,url:t+s.url};return(await r.request(o)).data}async function od(a,e,r=p,t=u,n){const s=B(e).getPaymentPlanById(a,n),o={...s.options,url:t+s.url};return(await r.request(o)).data}async function id(a,e,r=p,t=u,n){const s=B(e).getPaymentPlanPropertyAddressById(a,n),o={...s.options,url:t+s.url};return(await r.request(o)).data}async function ld(a,e,r=p,t=u,n){const s=B(e).getSetupIntentSecret(a,n),o={...s.options,url:t+s.url};return(await r.request(o)).data}const j=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 n="/v2/policies/{id}/items".replace("{id}",encodeURIComponent(String(e))),s=new URL(n,"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&&s.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:s.pathname+s.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",n=new URL(t,"http://placeholder");let s;a&&(s=a.baseOptions);const o={method:"POST",...s,...r},i={},l={};return i["Content-Type"]="application/json",Object.entries({...l,...r.query}).forEach(([d,c])=>{c!==void 0&&n.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},o.data=JSON.stringify(e!==void 0?e:{}),{url:n.pathname+n.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 n="/v2/policies/{id}/items/{itemId}".replace("{id}",encodeURIComponent(String(e))).replace("{itemId}",encodeURIComponent(String(r))),s=new URL(n,"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&&s.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},{url:s.pathname+s.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))),n=new URL(t,"http://placeholder");let s;a&&(s=a.baseOptions);const o={method:"GET",...s,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&n.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:n.pathname+n.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 n="/v2/policies/{id}".replace("{id}",encodeURIComponent(String(e))),s=new URL(n,"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&&s.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:s.pathname+s.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 n="/v2/policies/{id}/statuses".replace("{id}",encodeURIComponent(String(e))),s=new URL(n,"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&&s.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:s.pathname+s.search,options:i}}}},M=function(a){return{addItems(e,r,t){const n=j(a).addItems(e,r,t);return(s=p,o=u)=>{const i={...n.options,url:o+n.url};return s.request(i)}},createPolicy(e,r){const t=j(a).createPolicy(e,r);return(n=p,s=u)=>{const o={...t.options,url:s+t.url};return n.request(o)}},deleteItem(e,r,t){const n=j(a).deleteItem(e,r,t);return(s=p,o=u)=>{const i={...n.options,url:o+n.url};return s.request(i)}},findOne(e,r){const t=j(a).findOne(e,r);return(n=p,s=u)=>{const o={...t.options,url:s+t.url};return n.request(o)}},updatePolicy(e,r,t){const n=j(a).updatePolicy(e,r,t);return(s=p,o=u)=>{const i={...n.options,url:o+n.url};return s.request(i)}},updateStatus(e,r,t){const n=j(a).updateStatus(e,r,t);return(s=p,o=u)=>{const i={...n.options,url:o+n.url};return s.request(i)}}}},cd=function(a,e,r){return{addItems(t,n,s){return M(a).addItems(t,n,s)(r,e)},createPolicy(t,n){return M(a).createPolicy(t,n)(r,e)},deleteItem(t,n,s){return M(a).deleteItem(t,n,s)(r,e)},findOne(t,n){return M(a).findOne(t,n)(r,e)},updatePolicy(t,n,s){return M(a).updatePolicy(t,n,s)(r,e)},updateStatus(t,n,s){return M(a).updateStatus(t,n,s)(r,e)}}};class dd extends R{addItems(e,r,t){return M(this.configuration).addItems(e,r,t)(this.axios,this.basePath)}createPolicy(e,r){return M(this.configuration).createPolicy(e,r)(this.axios,this.basePath)}deleteItem(e,r,t){return M(this.configuration).deleteItem(e,r,t)(this.axios,this.basePath)}findOne(e,r){return M(this.configuration).findOne(e,r)(this.axios,this.basePath)}updatePolicy(e,r,t){return M(this.configuration).updatePolicy(e,r,t)(this.axios,this.basePath)}updateStatus(e,r,t){return M(this.configuration).updateStatus(e,r,t)(this.axios,this.basePath)}}async function ud(a,e,r,t=p,n=u,s){const o=j(r).addItems(a,e,s),i={...o.options,url:n+o.url};return(await t.request(i)).data}async function pd(a,e,r=p,t=u,n){const s=j(e).createPolicy(a,n),o={...s.options,url:t+s.url};return(await r.request(o)).data}async function hd(a,e,r,t=p,n=u,s){const o=j(r).deleteItem(a,e,s),i={...o.options,url:n+o.url};return(await t.request(i)).data}async function Ad(a,e,r=p,t=u,n){const s=j(e).findOne(a,n),o={...s.options,url:t+s.url};return(await r.request(o)).data}async function md(a,e,r,t=p,n=u,s){const o=j(r).updatePolicy(a,e,s),i={...o.options,url:n+o.url};return(await t.request(i)).data}async function Rd(a,e,r,t=p,n=u,s){const o=j(r).updateStatus(a,e,s),i={...o.options,url:n+o.url};return(await t.request(i)).data}const Pe=function(a){return{addPolicyDocument(e,r,t,n,s={}){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(n==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,...s},c={},A={},m=new FormData;return r!==void 0&&m.append("file",r),t!==void 0&&m.append("name",t),n!==void 0&&m.append("type",n),c["Content-Type"]="multipart/form-data",Object.entries({...A,...s.query}).forEach(([I,P])=>{P!==void 0&&i.searchParams.set(I,String(P))}),d.headers={...c,...s.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 n="/v2/policies/{policyId}/documents/{documentId}".replace("{policyId}",encodeURIComponent(String(e))).replace("{documentId}",encodeURIComponent(String(r))),s=new URL(n,"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&&s.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},{url:s.pathname+s.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))),n=new URL(t,"http://placeholder");let s;a&&(s=a.baseOptions);const o={method:"GET",...s,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&n.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:n.pathname+n.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 n="/v2/policies/{policyId}/documents/{documentId}".replace("{policyId}",encodeURIComponent(String(e))).replace("{documentId}",encodeURIComponent(String(r))),s=new URL(n,"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&&s.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},{url:s.pathname+s.search,options:i}}}},ge=function(a){return{addPolicyDocument(e,r,t,n,s){const o=Pe(a).addPolicyDocument(e,r,t,n,s);return(i=p,l=u)=>{const d={...o.options,url:l+o.url};return i.request(d)}},deletePolicyDocument(e,r,t){const n=Pe(a).deletePolicyDocument(e,r,t);return(s=p,o=u)=>{const i={...n.options,url:o+n.url};return s.request(i)}},findManyPolicyDocuments(e,r){const t=Pe(a).findManyPolicyDocuments(e,r);return(n=p,s=u)=>{const o={...t.options,url:s+t.url};return n.request(o)}},findPolicyDocumentById(e,r,t){const n=Pe(a).findPolicyDocumentById(e,r,t);return(s=p,o=u)=>{const i={...n.options,url:o+n.url};return s.request(i)}}}},Id=function(a,e,r){return{addPolicyDocument(t,n,s,o,i){return ge(a).addPolicyDocument(t,n,s,o,i)(r,e)},deletePolicyDocument(t,n,s){return ge(a).deletePolicyDocument(t,n,s)(r,e)},findManyPolicyDocuments(t,n){return ge(a).findManyPolicyDocuments(t,n)(r,e)},findPolicyDocumentById(t,n,s){return ge(a).findPolicyDocumentById(t,n,s)(r,e)}}};class Pd extends R{addPolicyDocument(e,r,t,n,s){return ge(this.configuration).addPolicyDocument(e,r,t,n,s)(this.axios,this.basePath)}deletePolicyDocument(e,r,t){return ge(this.configuration).deletePolicyDocument(e,r,t)(this.axios,this.basePath)}findManyPolicyDocuments(e,r){return ge(this.configuration).findManyPolicyDocuments(e,r)(this.axios,this.basePath)}findPolicyDocumentById(e,r,t){return ge(this.configuration).findPolicyDocumentById(e,r,t)(this.axios,this.basePath)}}async function gd(a,e,r,t,n,s=p,o=u,i){const l=Pe(n).addPolicyDocument(a,e,r,t,i),d={...l.options,url:o+l.url};return(await s.request(d)).data}async function wd(a,e,r,t=p,n=u,s){const o=Pe(r).deletePolicyDocument(a,e,s),i={...o.options,url:n+o.url};return(await t.request(i)).data}async function fd(a,e,r=p,t=u,n){const s=Pe(e).findManyPolicyDocuments(a,n),o={...s.options,url:t+s.url};return(await r.request(o)).data}async function yd(a,e,r,t=p,n=u,s){const o=Pe(r).findPolicyDocumentById(a,e,s),i={...o.options,url:n+o.url};return(await t.request(i)).data}const Rr=function(a){return{addPreTenancyDocumentByDocumentId(e,r,t={}){if(e==null)throw new h("tenancyId","Required parameter tenancyId was null or undefined when calling addPreTenancyDocumentByDocumentId.");if(r==null)throw new h("createPreTenancyDocumentByDocumentIdDTO","Required parameter createPreTenancyDocumentByDocumentIdDTO was null or undefined when calling addPreTenancyDocumentByDocumentId.");const n="/v2/tenancy/{tenancyId}/pre-tenancy-documents/by-document-id".replace("{tenancyId}",encodeURIComponent(String(e))),s=new URL(n,"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&&s.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:s.pathname+s.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 n="/v2/tenancy/{tenancyId}/pre-tenancy-documents/{documentId}".replace("{tenancyId}",encodeURIComponent(String(e))).replace("{documentId}",encodeURIComponent(String(r))),s=new URL(n,"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&&s.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},{url:s.pathname+s.search,options:i}}}},Ir=function(a){return{addPreTenancyDocumentByDocumentId(e,r,t){const n=Rr(a).addPreTenancyDocumentByDocumentId(e,r,t);return(s=p,o=u)=>{const i={...n.options,url:o+n.url};return s.request(i)}},deletePreTenancyDocument(e,r,t){const n=Rr(a).deletePreTenancyDocument(e,r,t);return(s=p,o=u)=>{const i={...n.options,url:o+n.url};return s.request(i)}}}},Od=function(a,e,r){return{addPreTenancyDocumentByDocumentId(t,n,s){return Ir(a).addPreTenancyDocumentByDocumentId(t,n,s)(r,e)},deletePreTenancyDocument(t,n,s){return Ir(a).deletePreTenancyDocument(t,n,s)(r,e)}}};class Ed extends R{addPreTenancyDocumentByDocumentId(e,r,t){return Ir(this.configuration).addPreTenancyDocumentByDocumentId(e,r,t)(this.axios,this.basePath)}deletePreTenancyDocument(e,r,t){return Ir(this.configuration).deletePreTenancyDocument(e,r,t)(this.axios,this.basePath)}}async function Vd(a,e,r,t=p,n=u,s){const o=Rr(r).addPreTenancyDocumentByDocumentId(a,e,s),i={...o.options,url:n+o.url};return(await t.request(i)).data}async function Cd(a,e,r,t=p,n=u,s){const o=Rr(r).deletePreTenancyDocument(a,e,s),i={...o.options,url:n+o.url};return(await t.request(i)).data}const Pr=function(a){return{getCashDepositAmount(e,r={}){if(e==null)throw new h("ppm","Required parameter ppm was null or undefined when calling getCashDepositAmount.");const t="/v2/pricing/cash-deposit",n=new URL(t,"http://placeholder");let s;a&&(s=a.baseOptions);const o={method:"GET",...s,...r},i={},l={};return e!==void 0&&(l.ppm=e),Object.entries({...l,...r.query}).forEach(([d,c])=>{c!==void 0&&n.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:n.pathname+n.search,options:o}},getRepositFee(e,r,t,n={}){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 s="/v2/pricing/reposit-fee",o=new URL(s,"http://placeholder");let i;a&&(i=a.baseOptions);const l={method:"GET",...i,...n},d={},c={};return e!==void 0&&(c.ppm=e),r!==void 0&&(c.organizationId=r),t!==void 0&&(c.headcount=t),Object.entries({...c,...n.query}).forEach(([A,m])=>{m!==void 0&&o.searchParams.set(A,String(m))}),l.headers={...d,...n.headers},{url:o.pathname+o.search,options:l}}}},gr=function(a){return{getCashDepositAmount(e,r){const t=Pr(a).getCashDepositAmount(e,r);return(n=p,s=u)=>{const o={...t.options,url:s+t.url};return n.request(o)}},getRepositFee(e,r,t,n){const s=Pr(a).getRepositFee(e,r,t,n);return(o=p,i=u)=>{const l={...s.options,url:i+s.url};return o.request(l)}}}},qd=function(a,e,r){return{getCashDepositAmount(t,n){return gr(a).getCashDepositAmount(t,n)(r,e)},getRepositFee(t,n,s,o){return gr(a).getRepositFee(t,n,s,o)(r,e)}}};class _d extends R{getCashDepositAmount(e,r){return gr(this.configuration).getCashDepositAmount(e,r)(this.axios,this.basePath)}getRepositFee(e,r,t,n){return gr(this.configuration).getRepositFee(e,r,t,n)(this.axios,this.basePath)}}async function vd(a,e,r=p,t=u,n){const s=Pr(e).getCashDepositAmount(a,n),o={...s.options,url:t+s.url};return(await r.request(o)).data}async function bd(a,e,r,t,n=p,s=u,o){const i=Pr(t).getRepositFee(a,e,r,o),l={...i.options,url:s+i.url};return(await n.request(l)).data}const ze=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",n=new URL(t,"http://placeholder");let s;a&&(s=a.baseOptions);const o={method:"POST",...s,...r},i={},l={};return i["Content-Type"]="application/json",Object.entries({...l,...r.query}).forEach(([d,c])=>{c!==void 0&&n.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},o.data=JSON.stringify(e!==void 0?e:{}),{url:n.pathname+n.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))),n=new URL(t,"http://placeholder");let s;a&&(s=a.baseOptions);const o={method:"GET",...s,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&n.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:n.pathname+n.search,options:o}},searchProperties(e,r,t,n,s={}){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,...s},c={},A={};return t!==void 0&&(A.query=t),n!==void 0&&(A.organizationId=n),e!==void 0&&(A.page=e),r!==void 0&&(A.size=r),Object.entries({...A,...s.query}).forEach(([m,I])=>{I!==void 0&&i.searchParams.set(m,String(I))}),d.headers={...c,...s.headers},{url:i.pathname+i.search,options:d}}}},Ye=function(a){return{createProperty(e,r){const t=ze(a).createProperty(e,r);return(n=p,s=u)=>{const o={...t.options,url:s+t.url};return n.request(o)}},getPropertyById(e,r){const t=ze(a).getPropertyById(e,r);return(n=p,s=u)=>{const o={...t.options,url:s+t.url};return n.request(o)}},searchProperties(e,r,t,n,s){const o=ze(a).searchProperties(e,r,t,n,s);return(i=p,l=u)=>{const d={...o.options,url:l+o.url};return i.request(d)}}}},Td=function(a,e,r){return{createProperty(t,n){return Ye(a).createProperty(t,n)(r,e)},getPropertyById(t,n){return Ye(a).getPropertyById(t,n)(r,e)},searchProperties(t,n,s,o,i){return Ye(a).searchProperties(t,n,s,o,i)(r,e)}}};class Sd extends R{createProperty(e,r){return Ye(this.configuration).createProperty(e,r)(this.axios,this.basePath)}getPropertyById(e,r){return Ye(this.configuration).getPropertyById(e,r)(this.axios,this.basePath)}searchProperties(e,r,t,n,s){return Ye(this.configuration).searchProperties(e,r,t,n,s)(this.axios,this.basePath)}}async function Nd(a,e,r=p,t=u,n){const s=ze(e).createProperty(a,n),o={...s.options,url:t+s.url};return(await r.request(o)).data}async function xd(a,e,r=p,t=u,n){const s=ze(e).getPropertyById(a,n),o={...s.options,url:t+s.url};return(await r.request(o)).data}async function Ud(a,e,r,t,n,s=p,o=u,i){const l=ze(n).searchProperties(a,e,r,t,i),d={...l.options,url:o+l.url};return(await s.request(d)).data}const nt=function(a){return{searchReconciliationDocuments(e,r,t,n,s={}){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(n==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,...s},c={},A={};return e!==void 0&&(A.from=e),r!==void 0&&(A.to=r),t!==void 0&&(A.page=t),n!==void 0&&(A.size=n),Object.entries({...A,...s.query}).forEach(([m,I])=>{I!==void 0&&i.searchParams.set(m,String(I))}),d.headers={...c,...s.headers},{url:i.pathname+i.search,options:d}}}},st=function(a){return{searchReconciliationDocuments(e,r,t,n,s){const o=nt(a).searchReconciliationDocuments(e,r,t,n,s);return(i=p,l=u)=>{const d={...o.options,url:l+o.url};return i.request(d)}}}},Dd=function(a,e,r){return{searchReconciliationDocuments(t,n,s,o,i){return st(a).searchReconciliationDocuments(t,n,s,o,i)(r,e)}}};class Ld extends R{searchReconciliationDocuments(e,r,t,n,s){return st(this.configuration).searchReconciliationDocuments(e,r,t,n,s)(this.axios,this.basePath)}}async function Bd(a,e,r,t,n,s=p,o=u,i){const l=nt(n).searchReconciliationDocuments(a,e,r,t,i),d={...l.options,url:o+l.url};return(await s.request(d)).data}const we=function(a){return{addReferenceDocument(e,r,t,n,s={}){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(n==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,...s},c={},A={},m=new FormData;return r!==void 0&&m.append("file",r),t!==void 0&&m.append("name",t),n!==void 0&&m.append("type",n),c["Content-Type"]="multipart/form-data",Object.entries({...A,...s.query}).forEach(([I,P])=>{P!==void 0&&i.searchParams.set(I,String(P))}),d.headers={...c,...s.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 n="/v2/references/{referenceId}/documents/{documentId}".replace("{referenceId}",encodeURIComponent(String(e))).replace("{documentId}",encodeURIComponent(String(r))),s=new URL(n,"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&&s.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},{url:s.pathname+s.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))),n=new URL(t,"http://placeholder");let s;a&&(s=a.baseOptions);const o={method:"GET",...s,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&n.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:n.pathname+n.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 n="/v2/references/{referenceId}/documents/{documentId}".replace("{referenceId}",encodeURIComponent(String(e))).replace("{documentId}",encodeURIComponent(String(r))),s=new URL(n,"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&&s.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},{url:s.pathname+s.search,options:i}}}},fe=function(a){return{addReferenceDocument(e,r,t,n,s){const o=we(a).addReferenceDocument(e,r,t,n,s);return(i=p,l=u)=>{const d={...o.options,url:l+o.url};return i.request(d)}},deleteReferenceDocument(e,r,t){const n=we(a).deleteReferenceDocument(e,r,t);return(s=p,o=u)=>{const i={...n.options,url:o+n.url};return s.request(i)}},findManyReferenceDocuments(e,r){const t=we(a).findManyReferenceDocuments(e,r);return(n=p,s=u)=>{const o={...t.options,url:s+t.url};return n.request(o)}},findReferenceDocumentById(e,r,t){const n=we(a).findReferenceDocumentById(e,r,t);return(s=p,o=u)=>{const i={...n.options,url:o+n.url};return s.request(i)}}}},Fd=function(a,e,r){return{addReferenceDocument(t,n,s,o,i){return fe(a).addReferenceDocument(t,n,s,o,i)(r,e)},deleteReferenceDocument(t,n,s){return fe(a).deleteReferenceDocument(t,n,s)(r,e)},findManyReferenceDocuments(t,n){return fe(a).findManyReferenceDocuments(t,n)(r,e)},findReferenceDocumentById(t,n,s){return fe(a).findReferenceDocumentById(t,n,s)(r,e)}}};class jd extends R{addReferenceDocument(e,r,t,n,s){return fe(this.configuration).addReferenceDocument(e,r,t,n,s)(this.axios,this.basePath)}deleteReferenceDocument(e,r,t){return fe(this.configuration).deleteReferenceDocument(e,r,t)(this.axios,this.basePath)}findManyReferenceDocuments(e,r){return fe(this.configuration).findManyReferenceDocuments(e,r)(this.axios,this.basePath)}findReferenceDocumentById(e,r,t){return fe(this.configuration).findReferenceDocumentById(e,r,t)(this.axios,this.basePath)}}async function Md(a,e,r,t,n,s=p,o=u,i){const l=we(n).addReferenceDocument(a,e,r,t,i),d={...l.options,url:o+l.url};return(await s.request(d)).data}async function Hd(a,e,r,t=p,n=u,s){const o=we(r).deleteReferenceDocument(a,e,s),i={...o.options,url:n+o.url};return(await t.request(i)).data}async function Gd(a,e,r=p,t=u,n){const s=we(e).findManyReferenceDocuments(a,n),o={...s.options,url:t+s.url};return(await r.request(o)).data}async function Qd(a,e,r,t=p,n=u,s){const o=we(r).findReferenceDocumentById(a,e,s),i={...o.options,url:n+o.url};return(await t.request(i)).data}const S=function(a){return{createReference(e,r={}){if(e==null)throw new h("createReferenceDTO","Required parameter createReferenceDTO was null or undefined when calling createReference.");const t="/v2/references",n=new URL(t,"http://placeholder");let s;a&&(s=a.baseOptions);const o={method:"POST",...s,...r},i={},l={};return i["Content-Type"]="application/json",Object.entries({...l,...r.query}).forEach(([d,c])=>{c!==void 0&&n.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},o.data=JSON.stringify(e!==void 0?e:{}),{url:n.pathname+n.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))),n=new URL(t,"http://placeholder");let s;a&&(s=a.baseOptions);const o={method:"GET",...s,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&n.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:n.pathname+n.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))),n=new URL(t,"http://placeholder");let s;a&&(s=a.baseOptions);const o={method:"GET",...s,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&n.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:n.pathname+n.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))),n=new URL(t,"http://placeholder");let s;a&&(s=a.baseOptions);const o={method:"GET",...s,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&n.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:n.pathname+n.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))),n=new URL(t,"http://placeholder");let s;a&&(s=a.baseOptions);const o={method:"PATCH",...s,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&n.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:n.pathname+n.search,options:o}},searchReferences(e,r,t,n,s={}){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,...s},c={},A={};return e!==void 0&&(A.status=e),n!==void 0&&(A.sortBy=n),r!==void 0&&(A.page=r),t!==void 0&&(A.size=t),Object.entries({...A,...s.query}).forEach(([m,I])=>{I!==void 0&&i.searchParams.set(m,String(I))}),d.headers={...c,...s.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))),n=new URL(t,"http://placeholder");let s;a&&(s=a.baseOptions);const o={method:"PATCH",...s,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&n.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:n.pathname+n.search,options:o}}}},N=function(a){return{createReference(e,r){const t=S(a).createReference(e,r);return(n=p,s=u)=>{const o={...t.options,url:s+t.url};return n.request(o)}},findReferenceById(e,r){const t=S(a).findReferenceById(e,r);return(n=p,s=u)=>{const o={...t.options,url:s+t.url};return n.request(o)}},getChecks(e,r){const t=S(a).getChecks(e,r);return(n=p,s=u)=>{const o={...t.options,url:s+t.url};return n.request(o)}},getReferenceDocuments(e,r){const t=S(a).getReferenceDocuments(e,r);return(n=p,s=u)=>{const o={...t.options,url:s+t.url};return n.request(o)}},readyForReview(e,r){const t=S(a).readyForReview(e,r);return(n=p,s=u)=>{const o={...t.options,url:s+t.url};return n.request(o)}},searchReferences(e,r,t,n,s){const o=S(a).searchReferences(e,r,t,n,s);return(i=p,l=u)=>{const d={...o.options,url:l+o.url};return i.request(d)}},submitChecks(e,r){const t=S(a).submitChecks(e,r);return(n=p,s=u)=>{const o={...t.options,url:s+t.url};return n.request(o)}}}},kd=function(a,e,r){return{createReference(t,n){return N(a).createReference(t,n)(r,e)},findReferenceById(t,n){return N(a).findReferenceById(t,n)(r,e)},getChecks(t,n){return N(a).getChecks(t,n)(r,e)},getReferenceDocuments(t,n){return N(a).getReferenceDocuments(t,n)(r,e)},readyForReview(t,n){return N(a).readyForReview(t,n)(r,e)},searchReferences(t,n,s,o,i){return N(a).searchReferences(t,n,s,o,i)(r,e)},submitChecks(t,n){return N(a).submitChecks(t,n)(r,e)}}};class zd extends R{createReference(e,r){return N(this.configuration).createReference(e,r)(this.axios,this.basePath)}findReferenceById(e,r){return N(this.configuration).findReferenceById(e,r)(this.axios,this.basePath)}getChecks(e,r){return N(this.configuration).getChecks(e,r)(this.axios,this.basePath)}getReferenceDocuments(e,r){return N(this.configuration).getReferenceDocuments(e,r)(this.axios,this.basePath)}readyForReview(e,r){return N(this.configuration).readyForReview(e,r)(this.axios,this.basePath)}searchReferences(e,r,t,n,s){return N(this.configuration).searchReferences(e,r,t,n,s)(this.axios,this.basePath)}submitChecks(e,r){return N(this.configuration).submitChecks(e,r)(this.axios,this.basePath)}}async function Yd(a,e,r=p,t=u,n){const s=S(e).createReference(a,n),o={...s.options,url:t+s.url};return(await r.request(o)).data}async function $d(a,e,r=p,t=u,n){const s=S(e).findReferenceById(a,n),o={...s.options,url:t+s.url};return(await r.request(o)).data}async function Wd(a,e,r=p,t=u,n){const s=S(e).getChecks(a,n),o={...s.options,url:t+s.url};return(await r.request(o)).data}async function Jd(a,e,r=p,t=u,n){const s=S(e).getReferenceDocuments(a,n),o={...s.options,url:t+s.url};return(await r.request(o)).data}async function Kd(a,e,r=p,t=u,n){const s=S(e).readyForReview(a,n),o={...s.options,url:t+s.url};return(await r.request(o)).data}async function Xd(a,e,r,t,n,s=p,o=u,i){const l=S(n).searchReferences(a,e,r,t,i),d={...l.options,url:o+l.url};return(await s.request(d)).data}async function Zd(a,e,r=p,t=u,n){const s=S(e).submitChecks(a,n),o={...s.options,url:t+s.url};return(await r.request(o)).data}const x=function(a){return{addRejectionReason(e,r,t={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling addRejectionReason.");if(r==null)throw new h("addRejectionReasonRequestDTO","Required parameter addRejectionReasonRequestDTO was null or undefined when calling addRejectionReason.");const n="/v2/reposit-offer/{id}/rejection-reason".replace("{id}",encodeURIComponent(String(e))),s=new URL(n,"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&&s.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:s.pathname+s.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",n=new URL(t,"http://placeholder");let s;a&&(s=a.baseOptions);const o={method:"POST",...s,...r},i={},l={};return i["Content-Type"]="application/json",Object.entries({...l,...r.query}).forEach(([d,c])=>{c!==void 0&&n.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},o.data=JSON.stringify(e!==void 0?e:{}),{url:n.pathname+n.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))),n=new URL(t,"http://placeholder");let s;a&&(s=a.baseOptions);const o={method:"DELETE",...s,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&n.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:n.pathname+n.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 n="/v2/reposit-offer/{id}".replace("{id}",encodeURIComponent(String(e))),s=new URL(n,"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&&s.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},{url:s.pathname+s.search,options:i}},respondToOffer(e,r,t,n={}){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 s="/v2/reposit-offer/{id}/respond".replace("{id}",encodeURIComponent(String(e))),o=new URL(s,"http://placeholder");let i;a&&(i=a.baseOptions);const l={method:"GET",...i,...n},d={},c={};return r!==void 0&&(c.choice=r),t!==void 0&&(c.token=t),Object.entries({...c,...n.query}).forEach(([A,m])=>{m!==void 0&&o.searchParams.set(A,String(m))}),l.headers={...d,...n.headers},{url:o.pathname+o.search,options:l}},searchOffers(e,r,t,n,s,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 n!==void 0&&(I.query=n),e!==void 0&&(I.page=e),r!==void 0&&(I.size=r),t!==void 0&&(I.organizationId=t),s!==void 0&&(I.status=s),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))),n=new URL(t,"http://placeholder");let s;a&&(s=a.baseOptions);const o={method:"POST",...s,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&n.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:n.pathname+n.search,options:o}}}},U=function(a){return{addRejectionReason(e,r,t){const n=x(a).addRejectionReason(e,r,t);return(s=p,o=u)=>{const i={...n.options,url:o+n.url};return s.request(i)}},createOffer(e,r){const t=x(a).createOffer(e,r);return(n=p,s=u)=>{const o={...t.options,url:s+t.url};return n.request(o)}},deleteOffer(e,r){const t=x(a).deleteOffer(e,r);return(n=p,s=u)=>{const o={...t.options,url:s+t.url};return n.request(o)}},getRepositOffer(e,r,t){const n=x(a).getRepositOffer(e,r,t);return(s=p,o=u)=>{const i={...n.options,url:o+n.url};return s.request(i)}},respondToOffer(e,r,t,n){const s=x(a).respondToOffer(e,r,t,n);return(o=p,i=u)=>{const l={...s.options,url:i+s.url};return o.request(l)}},searchOffers(e,r,t,n,s,o,i){const l=x(a).searchOffers(e,r,t,n,s,o,i);return(d=p,c=u)=>{const A={...l.options,url:c+l.url};return d.request(A)}},sendReminder(e,r){const t=x(a).sendReminder(e,r);return(n=p,s=u)=>{const o={...t.options,url:s+t.url};return n.request(o)}}}},eu=function(a,e,r){return{addRejectionReason(t,n,s){return U(a).addRejectionReason(t,n,s)(r,e)},createOffer(t,n){return U(a).createOffer(t,n)(r,e)},deleteOffer(t,n){return U(a).deleteOffer(t,n)(r,e)},getRepositOffer(t,n,s){return U(a).getRepositOffer(t,n,s)(r,e)},respondToOffer(t,n,s,o){return U(a).respondToOffer(t,n,s,o)(r,e)},searchOffers(t,n,s,o,i,l,d){return U(a).searchOffers(t,n,s,o,i,l,d)(r,e)},sendReminder(t,n){return U(a).sendReminder(t,n)(r,e)}}};class ru extends R{addRejectionReason(e,r,t){return U(this.configuration).addRejectionReason(e,r,t)(this.axios,this.basePath)}createOffer(e,r){return U(this.configuration).createOffer(e,r)(this.axios,this.basePath)}deleteOffer(e,r){return U(this.configuration).deleteOffer(e,r)(this.axios,this.basePath)}getRepositOffer(e,r,t){return U(this.configuration).getRepositOffer(e,r,t)(this.axios,this.basePath)}respondToOffer(e,r,t,n){return U(this.configuration).respondToOffer(e,r,t,n)(this.axios,this.basePath)}searchOffers(e,r,t,n,s,o,i){return U(this.configuration).searchOffers(e,r,t,n,s,o,i)(this.axios,this.basePath)}sendReminder(e,r){return U(this.configuration).sendReminder(e,r)(this.axios,this.basePath)}}async function tu(a,e,r,t=p,n=u,s){const o=x(r).addRejectionReason(a,e,s),i={...o.options,url:n+o.url};return(await t.request(i)).data}async function au(a,e,r=p,t=u,n){const s=x(e).createOffer(a,n),o={...s.options,url:t+s.url};return(await r.request(o)).data}async function nu(a,e,r=p,t=u,n){const s=x(e).deleteOffer(a,n),o={...s.options,url:t+s.url};return(await r.request(o)).data}async function su(a,e,r,t=p,n=u,s){const o=x(r).getRepositOffer(a,e,s),i={...o.options,url:n+o.url};return(await t.request(i)).data}async function ou(a,e,r,t,n=p,s=u,o){const i=x(t).respondToOffer(a,e,r,o),l={...i.options,url:s+i.url};return(await n.request(l)).data}async function iu(a,e,r,t,n,s,o,i=p,l=u,d){const c=x(o).searchOffers(a,e,r,t,n,s,d),A={...c.options,url:l+c.url};return(await i.request(A)).data}async function lu(a,e,r=p,t=u,n){const s=x(e).sendReminder(a,n),o={...s.options,url:t+s.url};return(await r.request(o)).data}const _=function(a){return{createReposit(e,r={}){if(e==null)throw new h("createRepositDTO","Required parameter createRepositDTO was null or undefined when calling createReposit.");const t="/v2/integration/reposits",n=new URL(t,"http://placeholder");let s;a&&(s=a.baseOptions);const o={method:"POST",...s,...r},i={},l={};return i["Content-Type"]="application/json",Object.entries({...l,...r.query}).forEach(([d,c])=>{c!==void 0&&n.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},o.data=JSON.stringify(e!==void 0?e:{}),{url:n.pathname+n.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))),n=new URL(t,"http://placeholder");let s;a&&(s=a.baseOptions);const o={method:"GET",...s,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&n.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:n.pathname+n.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))),n=new URL(t,"http://placeholder");let s;a&&(s=a.baseOptions);const o={method:"GET",...s,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&n.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:n.pathname+n.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))),n=new URL(t,"http://placeholder");let s;a&&(s=a.baseOptions);const o={method:"GET",...s,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&n.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:n.pathname+n.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",n=new URL(t,"http://placeholder");let s;a&&(s=a.baseOptions);const o={method:"POST",...s,...r},i={},l={};return i["Content-Type"]="application/json",Object.entries({...l,...r.query}).forEach(([d,c])=>{c!==void 0&&n.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},o.data=JSON.stringify(e!==void 0?e:{}),{url:n.pathname+n.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))),n=new URL(t,"http://placeholder");let s;a&&(s=a.baseOptions);const o={method:"GET",...s,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&n.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:n.pathname+n.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))),n=new URL(t,"http://placeholder");let s;a&&(s=a.baseOptions);const o={method:"POST",...s,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&n.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:n.pathname+n.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 n="/v2/integration/reposits/{id}".replace("{id}",encodeURIComponent(String(e))),s=new URL(n,"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&&s.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:s.pathname+s.search,options:i}}}},v=function(a){return{createReposit(e,r){const t=_(a).createReposit(e,r);return(n=p,s=u)=>{const o={...t.options,url:s+t.url};return n.request(o)}},getRepositById(e,r){const t=_(a).getRepositById(e,r);return(n=p,s=u)=>{const o={...t.options,url:s+t.url};return n.request(o)}},getRepositLandlord(e,r){const t=_(a).getRepositLandlord(e,r);return(n=p,s=u)=>{const o={...t.options,url:s+t.url};return n.request(o)}},getRepositPolicies(e,r){const t=_(a).getRepositPolicies(e,r);return(n=p,s=u)=>{const o={...t.options,url:s+t.url};return n.request(o)}},getRepositPrice(e,r){const t=_(a).getRepositPrice(e,r);return(n=p,s=u)=>{const o={...t.options,url:s+t.url};return n.request(o)}},getTenantDocuments(e,r){const t=_(a).getTenantDocuments(e,r);return(n=p,s=u)=>{const o={...t.options,url:s+t.url};return n.request(o)}},publishReposit(e,r){const t=_(a).publishReposit(e,r);return(n=p,s=u)=>{const o={...t.options,url:s+t.url};return n.request(o)}},replaceReposit(e,r,t){const n=_(a).replaceReposit(e,r,t);return(s=p,o=u)=>{const i={...n.options,url:o+n.url};return s.request(i)}}}},cu=function(a,e,r){return{createReposit(t,n){return v(a).createReposit(t,n)(r,e)},getRepositById(t,n){return v(a).getRepositById(t,n)(r,e)},getRepositLandlord(t,n){return v(a).getRepositLandlord(t,n)(r,e)},getRepositPolicies(t,n){return v(a).getRepositPolicies(t,n)(r,e)},getRepositPrice(t,n){return v(a).getRepositPrice(t,n)(r,e)},getTenantDocuments(t,n){return v(a).getTenantDocuments(t,n)(r,e)},publishReposit(t,n){return v(a).publishReposit(t,n)(r,e)},replaceReposit(t,n,s){return v(a).replaceReposit(t,n,s)(r,e)}}};class du extends R{createReposit(e,r){return v(this.configuration).createReposit(e,r)(this.axios,this.basePath)}getRepositById(e,r){return v(this.configuration).getRepositById(e,r)(this.axios,this.basePath)}getRepositLandlord(e,r){return v(this.configuration).getRepositLandlord(e,r)(this.axios,this.basePath)}getRepositPolicies(e,r){return v(this.configuration).getRepositPolicies(e,r)(this.axios,this.basePath)}getRepositPrice(e,r){return v(this.configuration).getRepositPrice(e,r)(this.axios,this.basePath)}getTenantDocuments(e,r){return v(this.configuration).getTenantDocuments(e,r)(this.axios,this.basePath)}publishReposit(e,r){return v(this.configuration).publishReposit(e,r)(this.axios,this.basePath)}replaceReposit(e,r,t){return v(this.configuration).replaceReposit(e,r,t)(this.axios,this.basePath)}}async function uu(a,e,r=p,t=u,n){const s=_(e).createReposit(a,n),o={...s.options,url:t+s.url};return(await r.request(o)).data}async function pu(a,e,r=p,t=u,n){const s=_(e).getRepositById(a,n),o={...s.options,url:t+s.url};return(await r.request(o)).data}async function hu(a,e,r=p,t=u,n){const s=_(e).getRepositLandlord(a,n),o={...s.options,url:t+s.url};return(await r.request(o)).data}async function Au(a,e,r=p,t=u,n){const s=_(e).getRepositPolicies(a,n),o={...s.options,url:t+s.url};return(await r.request(o)).data}async function mu(a,e,r=p,t=u,n){const s=_(e).getRepositPrice(a,n),o={...s.options,url:t+s.url};return(await r.request(o)).data}async function Ru(a,e,r=p,t=u,n){const s=_(e).getTenantDocuments(a,n),o={...s.options,url:t+s.url};return(await r.request(o)).data}async function Iu(a,e,r=p,t=u,n){const s=_(e).publishReposit(a,n),o={...s.options,url:t+s.url};return(await r.request(o)).data}async function Pu(a,e,r,t=p,n=u,s){const o=_(r).replaceReposit(a,e,s),i={...o.options,url:n+o.url};return(await t.request(i)).data}const ot=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",n=new URL(t,"http://placeholder");let s;a&&(s=a.baseOptions);const o={method:"POST",...s,...r},i={},l={};return i["Content-Type"]="application/json",Object.entries({...l,...r.query}).forEach(([d,c])=>{c!==void 0&&n.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},o.data=JSON.stringify(e!==void 0?e:{}),{url:n.pathname+n.search,options:o}}}},it=function(a){return{seedReposit(e,r){const t=ot(a).seedReposit(e,r);return(n=p,s=u)=>{const o={...t.options,url:s+t.url};return n.request(o)}}}},gu=function(a,e,r){return{seedReposit(t,n){return it(a).seedReposit(t,n)(r,e)}}};class wu extends R{seedReposit(e,r){return it(this.configuration).seedReposit(e,r)(this.axios,this.basePath)}}async function fu(a,e,r=p,t=u,n){const s=ot(e).seedReposit(a,n),o={...s.options,url:t+s.url};return(await r.request(o)).data}const wr=function(a){return{getMySupplier(e={}){const r="/v2/integration/organizations/me",t=new URL(r,"http://placeholder");let n;a&&(n=a.baseOptions);const s={method:"GET",...n,...e},o={};return Object.entries({...{},...e.query}).forEach(([l,d])=>{d!==void 0&&t.searchParams.set(l,String(d))}),s.headers={...o,...e.headers},{url:t.pathname+t.search,options:s}},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))),n=new URL(t,"http://placeholder");let s;a&&(s=a.baseOptions);const o={method:"GET",...s,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&n.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:n.pathname+n.search,options:o}}}},fr=function(a){return{getMySupplier(e){const r=wr(a).getMySupplier(e);return(t=p,n=u)=>{const s={...r.options,url:n+r.url};return t.request(s)}},getSupplierAgents(e,r){const t=wr(a).getSupplierAgents(e,r);return(n=p,s=u)=>{const o={...t.options,url:s+t.url};return n.request(o)}}}},yu=function(a,e,r){return{getMySupplier(t){return fr(a).getMySupplier(t)(r,e)},getSupplierAgents(t,n){return fr(a).getSupplierAgents(t,n)(r,e)}}};class Ou extends R{getMySupplier(e){return fr(this.configuration).getMySupplier(e)(this.axios,this.basePath)}getSupplierAgents(e,r){return fr(this.configuration).getSupplierAgents(e,r)(this.axios,this.basePath)}}async function Eu(a,e=p,r=u,t){const n=wr(a).getMySupplier(t),s={...n.options,url:r+n.url};return(await e.request(s)).data}async function Vu(a,e,r=p,t=u,n){const s=wr(e).getSupplierAgents(a,n),o={...s.options,url:t+s.url};return(await r.request(o)).data}const V=function(a){return{closingRemindersEnabled(e,r,t={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling closingRemindersEnabled.");if(r==null)throw new h("updateClosingRemindersEnabledRequestDTO","Required parameter updateClosingRemindersEnabledRequestDTO was null or undefined when calling closingRemindersEnabled.");const n="/v2/tenancies/{id}/closing-reminders-enabled".replace("{id}",encodeURIComponent(String(e))),s=new URL(n,"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&&s.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:s.pathname+s.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",n=new URL(t,"http://placeholder");let s;a&&(s=a.baseOptions);const o={method:"POST",...s,...r},i={},l={};return i["Content-Type"]="application/json",Object.entries({...l,...r.query}).forEach(([d,c])=>{c!==void 0&&n.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},o.data=JSON.stringify(e!==void 0?e:{}),{url:n.pathname+n.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 n="/v2/tenancies/{id}/orders".replace("{id}",encodeURIComponent(String(e))),s=new URL(n,"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&&s.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:s.pathname+s.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))),n=new URL(t,"http://placeholder");let s;a&&(s=a.baseOptions);const o={method:"POST",...s,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&n.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:n.pathname+n.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))),n=new URL(t,"http://placeholder");let s;a&&(s=a.baseOptions);const o={method:"POST",...s,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&n.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:n.pathname+n.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))),n=new URL(t,"http://placeholder");let s;a&&(s=a.baseOptions);const o={method:"GET",...s,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&n.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:n.pathname+n.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))),n=new URL(t,"http://placeholder");let s;a&&(s=a.baseOptions);const o={method:"GET",...s,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&n.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:n.pathname+n.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))),n=new URL(t,"http://placeholder");let s;a&&(s=a.baseOptions);const o={method:"POST",...s,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&n.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:n.pathname+n.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))),n=new URL(t,"http://placeholder");let s;a&&(s=a.baseOptions);const o={method:"POST",...s,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&n.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:n.pathname+n.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",n=new URL(t,"http://placeholder");let s;a&&(s=a.baseOptions);const o={method:"GET",...s,...r},i={},l={};return e!==void 0&&(l.token=e),Object.entries({...l,...r.query}).forEach(([d,c])=>{c!==void 0&&n.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:n.pathname+n.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 n="/v2/tenancies/{id}/properties".replace("{id}",encodeURIComponent(String(e))),s=new URL(n,"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&&s.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:s.pathname+s.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 n="/v2/tenancies/{id}/properties".replace("{id}",encodeURIComponent(String(e))),s=new URL(n,"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&&s.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:s.pathname+s.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 n="/v2/tenancies/{id}".replace("{id}",encodeURIComponent(String(e))),s=new URL(n,"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&&s.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:s.pathname+s.search,options:i}}}},C=function(a){return{closingRemindersEnabled(e,r,t){const n=V(a).closingRemindersEnabled(e,r,t);return(s=p,o=u)=>{const i={...n.options,url:o+n.url};return s.request(i)}},createTenancy(e,r){const t=V(a).createTenancy(e,r);return(n=p,s=u)=>{const o={...t.options,url:s+t.url};return n.request(o)}},createTenancyOrder(e,r,t){const n=V(a).createTenancyOrder(e,r,t);return(s=p,o=u)=>{const i={...n.options,url:o+n.url};return s.request(i)}},disableTopUps(e,r){const t=V(a).disableTopUps(e,r);return(n=p,s=u)=>{const o={...t.options,url:s+t.url};return n.request(o)}},extendOutcomeDeadline(e,r){const t=V(a).extendOutcomeDeadline(e,r);return(n=p,s=u)=>{const o={...t.options,url:s+t.url};return n.request(o)}},getTenancyById(e,r){const t=V(a).getTenancyById(e,r);return(n=p,s=u)=>{const o={...t.options,url:s+t.url};return n.request(o)}},getTenancyDocuments(e,r){const t=V(a).getTenancyDocuments(e,r);return(n=p,s=u)=>{const o={...t.options,url:s+t.url};return n.request(o)}},publish(e,r){const t=V(a).publish(e,r);return(n=p,s=u)=>{const o={...t.options,url:s+t.url};return n.request(o)}},signAddendumForSupplier(e,r){const t=V(a).signAddendumForSupplier(e,r);return(n=p,s=u)=>{const o={...t.options,url:s+t.url};return n.request(o)}},tenantVacated(e,r){const t=V(a).tenantVacated(e,r);return(n=p,s=u)=>{const o={...t.options,url:s+t.url};return n.request(o)}},updateExistingProperty(e,r,t){const n=V(a).updateExistingProperty(e,r,t);return(s=p,o=u)=>{const i={...n.options,url:o+n.url};return s.request(i)}},updateProperty(e,r,t){const n=V(a).updateProperty(e,r,t);return(s=p,o=u)=>{const i={...n.options,url:o+n.url};return s.request(i)}},updateTenancy(e,r,t){const n=V(a).updateTenancy(e,r,t);return(s=p,o=u)=>{const i={...n.options,url:o+n.url};return s.request(i)}}}},Cu=function(a,e,r){return{closingRemindersEnabled(t,n,s){return C(a).closingRemindersEnabled(t,n,s)(r,e)},createTenancy(t,n){return C(a).createTenancy(t,n)(r,e)},createTenancyOrder(t,n,s){return C(a).createTenancyOrder(t,n,s)(r,e)},disableTopUps(t,n){return C(a).disableTopUps(t,n)(r,e)},extendOutcomeDeadline(t,n){return C(a).extendOutcomeDeadline(t,n)(r,e)},getTenancyById(t,n){return C(a).getTenancyById(t,n)(r,e)},getTenancyDocuments(t,n){return C(a).getTenancyDocuments(t,n)(r,e)},publish(t,n){return C(a).publish(t,n)(r,e)},signAddendumForSupplier(t,n){return C(a).signAddendumForSupplier(t,n)(r,e)},tenantVacated(t,n){return C(a).tenantVacated(t,n)(r,e)},updateExistingProperty(t,n,s){return C(a).updateExistingProperty(t,n,s)(r,e)},updateProperty(t,n,s){return C(a).updateProperty(t,n,s)(r,e)},updateTenancy(t,n,s){return C(a).updateTenancy(t,n,s)(r,e)}}};class qu extends R{closingRemindersEnabled(e,r,t){return C(this.configuration).closingRemindersEnabled(e,r,t)(this.axios,this.basePath)}createTenancy(e,r){return C(this.configuration).createTenancy(e,r)(this.axios,this.basePath)}createTenancyOrder(e,r,t){return C(this.configuration).createTenancyOrder(e,r,t)(this.axios,this.basePath)}disableTopUps(e,r){return C(this.configuration).disableTopUps(e,r)(this.axios,this.basePath)}extendOutcomeDeadline(e,r){return C(this.configuration).extendOutcomeDeadline(e,r)(this.axios,this.basePath)}getTenancyById(e,r){return C(this.configuration).getTenancyById(e,r)(this.axios,this.basePath)}getTenancyDocuments(e,r){return C(this.configuration).getTenancyDocuments(e,r)(this.axios,this.basePath)}publish(e,r){return C(this.configuration).publish(e,r)(this.axios,this.basePath)}signAddendumForSupplier(e,r){return C(this.configuration).signAddendumForSupplier(e,r)(this.axios,this.basePath)}tenantVacated(e,r){return C(this.configuration).tenantVacated(e,r)(this.axios,this.basePath)}updateExistingProperty(e,r,t){return C(this.configuration).updateExistingProperty(e,r,t)(this.axios,this.basePath)}updateProperty(e,r,t){return C(this.configuration).updateProperty(e,r,t)(this.axios,this.basePath)}updateTenancy(e,r,t){return C(this.configuration).updateTenancy(e,r,t)(this.axios,this.basePath)}}async function _u(a,e,r,t=p,n=u,s){const o=V(r).closingRemindersEnabled(a,e,s),i={...o.options,url:n+o.url};return(await t.request(i)).data}async function vu(a,e,r=p,t=u,n){const s=V(e).createTenancy(a,n),o={...s.options,url:t+s.url};return(await r.request(o)).data}async function bu(a,e,r,t=p,n=u,s){const o=V(r).createTenancyOrder(a,e,s),i={...o.options,url:n+o.url};return(await t.request(i)).data}async function Tu(a,e,r=p,t=u,n){const s=V(e).disableTopUps(a,n),o={...s.options,url:t+s.url};return(await r.request(o)).data}async function Su(a,e,r=p,t=u,n){const s=V(e).extendOutcomeDeadline(a,n),o={...s.options,url:t+s.url};return(await r.request(o)).data}async function Nu(a,e,r=p,t=u,n){const s=V(e).getTenancyById(a,n),o={...s.options,url:t+s.url};return(await r.request(o)).data}async function xu(a,e,r=p,t=u,n){const s=V(e).getTenancyDocuments(a,n),o={...s.options,url:t+s.url};return(await r.request(o)).data}async function Uu(a,e,r=p,t=u,n){const s=V(e).publish(a,n),o={...s.options,url:t+s.url};return(await r.request(o)).data}async function Du(a,e,r=p,t=u,n){const s=V(e).signAddendumForSupplier(a,n),o={...s.options,url:t+s.url};return(await r.request(o)).data}async function Lu(a,e,r=p,t=u,n){const s=V(e).tenantVacated(a,n),o={...s.options,url:t+s.url};return(await r.request(o)).data}async function Bu(a,e,r,t=p,n=u,s){const o=V(r).updateExistingProperty(a,e,s),i={...o.options,url:n+o.url};return(await t.request(i)).data}async function Fu(a,e,r,t=p,n=u,s){const o=V(r).updateProperty(a,e,s),i={...o.options,url:n+o.url};return(await t.request(i)).data}async function ju(a,e,r,t=p,n=u,s){const o=V(r).updateTenancy(a,e,s),i={...o.options,url:n+o.url};return(await t.request(i)).data}const lt=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))),n=new URL(t,"http://placeholder");let s;a&&(s=a.baseOptions);const o={method:"GET",...s,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&n.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:n.pathname+n.search,options:o}}}},ct=function(a){return{getTenancyAnniversaries(e,r){const t=lt(a).getTenancyAnniversaries(e,r);return(n=p,s=u)=>{const o={...t.options,url:s+t.url};return n.request(o)}}}},Mu=function(a,e,r){return{getTenancyAnniversaries(t,n){return ct(a).getTenancyAnniversaries(t,n)(r,e)}}};class Hu extends R{getTenancyAnniversaries(e,r){return ct(this.configuration).getTenancyAnniversaries(e,r)(this.axios,this.basePath)}}async function Gu(a,e,r=p,t=u,n){const s=lt(e).getTenancyAnniversaries(a,n),o={...s.options,url:t+s.url};return(await r.request(o)).data}const dt=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))),n=new URL(t,"http://placeholder");let s;a&&(s=a.baseOptions);const o={method:"POST",...s,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&n.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:n.pathname+n.search,options:o}}}},ut=function(a){return{createCheckout(e,r){const t=dt(a).createCheckout(e,r);return(n=p,s=u)=>{const o={...t.options,url:s+t.url};return n.request(o)}}}},Qu=function(a,e,r){return{createCheckout(t,n){return ut(a).createCheckout(t,n)(r,e)}}};class ku extends R{createCheckout(e,r){return ut(this.configuration).createCheckout(e,r)(this.axios,this.basePath)}}async function zu(a,e,r=p,t=u,n){const s=dt(e).createCheckout(a,n),o={...s.options,url:t+s.url};return(await r.request(o)).data}const yr=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 n="/v2/tenancies/{tenancyId}/expiries".replace("{tenancyId}",encodeURIComponent(String(e))),s=new URL(n,"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&&s.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:s.pathname+s.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))),n=new URL(t,"http://placeholder");let s;a&&(s=a.baseOptions);const o={method:"GET",...s,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&n.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:n.pathname+n.search,options:o}}}},Or=function(a){return{createTenancyExpiry(e,r,t){const n=yr(a).createTenancyExpiry(e,r,t);return(s=p,o=u)=>{const i={...n.options,url:o+n.url};return s.request(i)}},getByTenancyId(e,r){const t=yr(a).getByTenancyId(e,r);return(n=p,s=u)=>{const o={...t.options,url:s+t.url};return n.request(o)}}}},Yu=function(a,e,r){return{createTenancyExpiry(t,n,s){return Or(a).createTenancyExpiry(t,n,s)(r,e)},getByTenancyId(t,n){return Or(a).getByTenancyId(t,n)(r,e)}}};class $u extends R{createTenancyExpiry(e,r,t){return Or(this.configuration).createTenancyExpiry(e,r,t)(this.axios,this.basePath)}getByTenancyId(e,r){return Or(this.configuration).getByTenancyId(e,r)(this.axios,this.basePath)}}async function Wu(a,e,r,t=p,n=u,s){const o=yr(r).createTenancyExpiry(a,e,s),i={...o.options,url:n+o.url};return(await t.request(i)).data}async function Ju(a,e,r=p,t=u,n){const s=yr(e).getByTenancyId(a,n),o={...s.options,url:t+s.url};return(await r.request(o)).data}const Er=function(a){return{disableWarnings(e,r,t={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling disableWarnings.");if(r==null)throw new h("tenancyId","Required parameter tenancyId was null or undefined when calling disableWarnings.");const n="/v2/tenancies/{tenancyId}/inventories/{id}/disable-warnings".replace("{id}",encodeURIComponent(String(e))).replace("{tenancyId}",encodeURIComponent(String(r))),s=new URL(n,"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&&s.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},{url:s.pathname+s.search,options:i}},tenantConfirmation(e,r,t,n={}){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 s="/v2/tenancies/{tenancyId}/inventories/confirmation".replace("{tenancyId}",encodeURIComponent(String(t))),o=new URL(s,"http://placeholder");let i;a&&(i=a.baseOptions);const l={method:"GET",...i,...n},d={},c={};return e!==void 0&&(c.token=e),r!==void 0&&(c.response=r),Object.entries({...c,...n.query}).forEach(([A,m])=>{m!==void 0&&o.searchParams.set(A,String(m))}),l.headers={...d,...n.headers},{url:o.pathname+o.search,options:l}}}},Vr=function(a){return{disableWarnings(e,r,t){const n=Er(a).disableWarnings(e,r,t);return(s=p,o=u)=>{const i={...n.options,url:o+n.url};return s.request(i)}},tenantConfirmation(e,r,t,n){const s=Er(a).tenantConfirmation(e,r,t,n);return(o=p,i=u)=>{const l={...s.options,url:i+s.url};return o.request(l)}}}},Ku=function(a,e,r){return{disableWarnings(t,n,s){return Vr(a).disableWarnings(t,n,s)(r,e)},tenantConfirmation(t,n,s,o){return Vr(a).tenantConfirmation(t,n,s,o)(r,e)}}};class Xu extends R{disableWarnings(e,r,t){return Vr(this.configuration).disableWarnings(e,r,t)(this.axios,this.basePath)}tenantConfirmation(e,r,t,n){return Vr(this.configuration).tenantConfirmation(e,r,t,n)(this.axios,this.basePath)}}async function Zu(a,e,r,t=p,n=u,s){const o=Er(r).disableWarnings(a,e,s),i={...o.options,url:n+o.url};return(await t.request(i)).data}async function ep(a,e,r,t,n=p,s=u,o){const i=Er(t).tenantConfirmation(a,e,r,o),l={...i.options,url:s+i.url};return(await n.request(l)).data}const H=function(a){return{acceptTenancyInvite(e,r,t,n={}){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 s="/v2/tenancies/{tenancyId}/invites/accept".replace("{tenancyId}",encodeURIComponent(String(t))),o=new URL(s,"http://placeholder");let i;a&&(i=a.baseOptions);const l={method:"GET",...i,...n},d={},c={};return e!==void 0&&(c.token=e),r!==void 0&&(c.clear_session=r),Object.entries({...c,...n.query}).forEach(([A,m])=>{m!==void 0&&o.searchParams.set(A,String(m))}),l.headers={...d,...n.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 n="/v2/tenancies/{tenancyId}/invites".replace("{tenancyId}",encodeURIComponent(String(e))),s=new URL(n,"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&&s.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:s.pathname+s.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 n="/v2/tenancies/{tenancyId}/invites/{tenancyInviteId}".replace("{tenancyInviteId}",encodeURIComponent(String(e))).replace("{tenancyId}",encodeURIComponent(String(r))),s=new URL(n,"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&&s.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},{url:s.pathname+s.search,options:i}},fetchInvitesByTenancyId(e,r,t,n={}){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 s="/v2/tenancies/{tenancyId}/invites".replace("{tenancyId}",encodeURIComponent(String(e))).replace("{organizationId}",encodeURIComponent(String(r))),o=new URL(s,"http://placeholder");let i;a&&(i=a.baseOptions);const l={method:"GET",...i,...n},d={},c={};return t!==void 0&&(c.accepted=t),Object.entries({...c,...n.query}).forEach(([A,m])=>{m!==void 0&&o.searchParams.set(A,String(m))}),l.headers={...d,...n.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 n="/v2/tenancies/{tenancyId}/invites/{tenancyInviteId}/resend".replace("{tenancyInviteId}",encodeURIComponent(String(e))).replace("{tenancyId}",encodeURIComponent(String(r))),s=new URL(n,"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&&s.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},{url:s.pathname+s.search,options:i}},updateTenancyInvite(e,r,t,n={}){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 s="/v2/tenancies/{tenancyId}/invites/{tenancyInviteId}".replace("{tenancyInviteId}",encodeURIComponent(String(e))).replace("{tenancyId}",encodeURIComponent(String(r))),o=new URL(s,"http://placeholder");let i;a&&(i=a.baseOptions);const l={method:"PATCH",...i,...n},d={},c={};return d["Content-Type"]="application/json",Object.entries({...c,...n.query}).forEach(([A,m])=>{m!==void 0&&o.searchParams.set(A,String(m))}),l.headers={...d,...n.headers},l.data=JSON.stringify(t!==void 0?t:{}),{url:o.pathname+o.search,options:l}}}},G=function(a){return{acceptTenancyInvite(e,r,t,n){const s=H(a).acceptTenancyInvite(e,r,t,n);return(o=p,i=u)=>{const l={...s.options,url:i+s.url};return o.request(l)}},createTenancyInvite(e,r,t){const n=H(a).createTenancyInvite(e,r,t);return(s=p,o=u)=>{const i={...n.options,url:o+n.url};return s.request(i)}},deleteTenancyInvite(e,r,t){const n=H(a).deleteTenancyInvite(e,r,t);return(s=p,o=u)=>{const i={...n.options,url:o+n.url};return s.request(i)}},fetchInvitesByTenancyId(e,r,t,n){const s=H(a).fetchInvitesByTenancyId(e,r,t,n);return(o=p,i=u)=>{const l={...s.options,url:i+s.url};return o.request(l)}},resendTenancyInvite(e,r,t){const n=H(a).resendTenancyInvite(e,r,t);return(s=p,o=u)=>{const i={...n.options,url:o+n.url};return s.request(i)}},updateTenancyInvite(e,r,t,n){const s=H(a).updateTenancyInvite(e,r,t,n);return(o=p,i=u)=>{const l={...s.options,url:i+s.url};return o.request(l)}}}},rp=function(a,e,r){return{acceptTenancyInvite(t,n,s,o){return G(a).acceptTenancyInvite(t,n,s,o)(r,e)},createTenancyInvite(t,n,s){return G(a).createTenancyInvite(t,n,s)(r,e)},deleteTenancyInvite(t,n,s){return G(a).deleteTenancyInvite(t,n,s)(r,e)},fetchInvitesByTenancyId(t,n,s,o){return G(a).fetchInvitesByTenancyId(t,n,s,o)(r,e)},resendTenancyInvite(t,n,s){return G(a).resendTenancyInvite(t,n,s)(r,e)},updateTenancyInvite(t,n,s,o){return G(a).updateTenancyInvite(t,n,s,o)(r,e)}}};class tp extends R{acceptTenancyInvite(e,r,t,n){return G(this.configuration).acceptTenancyInvite(e,r,t,n)(this.axios,this.basePath)}createTenancyInvite(e,r,t){return G(this.configuration).createTenancyInvite(e,r,t)(this.axios,this.basePath)}deleteTenancyInvite(e,r,t){return G(this.configuration).deleteTenancyInvite(e,r,t)(this.axios,this.basePath)}fetchInvitesByTenancyId(e,r,t,n){return G(this.configuration).fetchInvitesByTenancyId(e,r,t,n)(this.axios,this.basePath)}resendTenancyInvite(e,r,t){return G(this.configuration).resendTenancyInvite(e,r,t)(this.axios,this.basePath)}updateTenancyInvite(e,r,t,n){return G(this.configuration).updateTenancyInvite(e,r,t,n)(this.axios,this.basePath)}}async function ap(a,e,r,t,n=p,s=u,o){const i=H(t).acceptTenancyInvite(a,e,r,o),l={...i.options,url:s+i.url};return(await n.request(l)).data}async function np(a,e,r,t=p,n=u,s){const o=H(r).createTenancyInvite(a,e,s),i={...o.options,url:n+o.url};return(await t.request(i)).data}async function sp(a,e,r,t=p,n=u,s){const o=H(r).deleteTenancyInvite(a,e,s),i={...o.options,url:n+o.url};return(await t.request(i)).data}async function op(a,e,r,t,n=p,s=u,o){const i=H(t).fetchInvitesByTenancyId(a,e,r,o),l={...i.options,url:s+i.url};return(await n.request(l)).data}async function ip(a,e,r,t=p,n=u,s){const o=H(r).resendTenancyInvite(a,e,s),i={...o.options,url:n+o.url};return(await t.request(i)).data}async function lp(a,e,r,t,n=p,s=u,o){const i=H(t).updateTenancyInvite(a,e,r,o),l={...i.options,url:s+i.url};return(await n.request(l)).data}const Cr=function(a){return{createTenancyOrderNote(e,r,t={}){if(e==null)throw new h("tenancyOrderId","Required parameter tenancyOrderId was null or undefined when calling createTenancyOrderNote.");if(r==null)throw new h("createTenancyOrderNoteDTO","Required parameter createTenancyOrderNoteDTO was null or undefined when calling createTenancyOrderNote.");const n="/v2/tenancy-orders/{tenancyOrderId}/notes".replace("{tenancyOrderId}",encodeURIComponent(String(e))),s=new URL(n,"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&&s.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:s.pathname+s.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 n="/v2/tenancy-orders/{tenancyOrderId}/notes/{tenancyOrderNoteId}".replace("{tenancyOrderNoteId}",encodeURIComponent(String(e))).replace("{tenancyOrderId}",encodeURIComponent(String(r))),s=new URL(n,"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&&s.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},{url:s.pathname+s.search,options:i}}}},qr=function(a){return{createTenancyOrderNote(e,r,t){const n=Cr(a).createTenancyOrderNote(e,r,t);return(s=p,o=u)=>{const i={...n.options,url:o+n.url};return s.request(i)}},deleteNote(e,r,t){const n=Cr(a).deleteNote(e,r,t);return(s=p,o=u)=>{const i={...n.options,url:o+n.url};return s.request(i)}}}},cp=function(a,e,r){return{createTenancyOrderNote(t,n,s){return qr(a).createTenancyOrderNote(t,n,s)(r,e)},deleteNote(t,n,s){return qr(a).deleteNote(t,n,s)(r,e)}}};class dp extends R{createTenancyOrderNote(e,r,t){return qr(this.configuration).createTenancyOrderNote(e,r,t)(this.axios,this.basePath)}deleteNote(e,r,t){return qr(this.configuration).deleteNote(e,r,t)(this.axios,this.basePath)}}async function up(a,e,r,t=p,n=u,s){const o=Cr(r).createTenancyOrderNote(a,e,s),i={...o.options,url:n+o.url};return(await t.request(i)).data}async function pp(a,e,r,t=p,n=u,s){const o=Cr(r).deleteNote(a,e,s),i={...o.options,url:n+o.url};return(await t.request(i)).data}const Q=function(a){return{getTenancyOrderById(e,r,t={}){if(e==null)throw new h("id","Required parameter id was null or undefined when calling getTenancyOrderById.");const n="/v2/tenancy-orders/{id}".replace("{id}",encodeURIComponent(String(e))),s=new URL(n,"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&&s.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},{url:s.pathname+s.search,options:i}},optimisedSearch(e,r,t,n,s,o,i,l,d,c,A,m={}){if(e==null)throw new h("organizationId","Required parameter organizationId was null or undefined when calling optimisedSearch.");if(r==null)throw new h("page","Required parameter page was null or undefined when calling optimisedSearch.");if(t==null)throw new h("size","Required parameter size was null or undefined when calling optimisedSearch.");if(n==null)throw new h("includeDeleted","Required parameter includeDeleted was null or undefined when calling optimisedSearch.");if(s==null)throw new h("onlyDeleted","Required parameter onlyDeleted was null or undefined when calling optimisedSearch.");const I="/v2/tenancy-orders/optimised-search",P=new URL(I,"http://placeholder");let q;a&&(q=a.baseOptions);const z={method:"GET",...q,...m},At={},Y={};return o!==void 0&&(Y.query=o),e!==void 0&&(Y.organizationId=e),i!==void 0&&(Y.orderStatus=i),l!==void 0&&(Y.tenancyStatus=l),d!==void 0&&(Y.sortBy=d),c!==void 0&&(Y.sortDirection=c),r!==void 0&&(Y.page=r),t!==void 0&&(Y.size=t),n!==void 0&&(Y.includeDeleted=n),s!==void 0&&(Y.onlyDeleted=s),A!==void 0&&(Y.letOnly=A),Object.entries({...Y,...m.query}).forEach(([Nn,mt])=>{mt!==void 0&&P.searchParams.set(Nn,String(mt))}),z.headers={...At,...m.headers},{url:P.pathname+P.search,options:z}},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 n="/v2/tenancy-orders/{id}".replace("{id}",encodeURIComponent(String(e))),s=new URL(n,"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&&s.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:s.pathname+s.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 n="/v2/tenancy-orders/{id}/reopen".replace("{id}",encodeURIComponent(String(e))),s=new URL(n,"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&&s.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:s.pathname+s.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))),n=new URL(t,"http://placeholder");let s;a&&(s=a.baseOptions);const o={method:"POST",...s,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&n.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:n.pathname+n.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 n="/v2/tenancy-orders/{id}/transfer".replace("{id}",encodeURIComponent(String(e))),s=new URL(n,"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&&s.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:s.pathname+s.search,options:i}}}},k=function(a){return{getTenancyOrderById(e,r,t){const n=Q(a).getTenancyOrderById(e,r,t);return(s=p,o=u)=>{const i={...n.options,url:o+n.url};return s.request(i)}},optimisedSearch(e,r,t,n,s,o,i,l,d,c,A,m){const I=Q(a).optimisedSearch(e,r,t,n,s,o,i,l,d,c,A,m);return(P=p,q=u)=>{const z={...I.options,url:q+I.url};return P.request(z)}},removeTenancyOrderById(e,r,t){const n=Q(a).removeTenancyOrderById(e,r,t);return(s=p,o=u)=>{const i={...n.options,url:o+n.url};return s.request(i)}},reopenTenancyOrder(e,r,t){const n=Q(a).reopenTenancyOrder(e,r,t);return(s=p,o=u)=>{const i={...n.options,url:o+n.url};return s.request(i)}},sendOverdueChasers(e,r){const t=Q(a).sendOverdueChasers(e,r);return(n=p,s=u)=>{const o={...t.options,url:s+t.url};return n.request(o)}},transferTenancyOrderToOrganization(e,r,t){const n=Q(a).transferTenancyOrderToOrganization(e,r,t);return(s=p,o=u)=>{const i={...n.options,url:o+n.url};return s.request(i)}}}},hp=function(a,e,r){return{getTenancyOrderById(t,n,s){return k(a).getTenancyOrderById(t,n,s)(r,e)},optimisedSearch(t,n,s,o,i,l,d,c,A,m,I,P){return k(a).optimisedSearch(t,n,s,o,i,l,d,c,A,m,I,P)(r,e)},removeTenancyOrderById(t,n,s){return k(a).removeTenancyOrderById(t,n,s)(r,e)},reopenTenancyOrder(t,n,s){return k(a).reopenTenancyOrder(t,n,s)(r,e)},sendOverdueChasers(t,n){return k(a).sendOverdueChasers(t,n)(r,e)},transferTenancyOrderToOrganization(t,n,s){return k(a).transferTenancyOrderToOrganization(t,n,s)(r,e)}}};class Ap extends R{getTenancyOrderById(e,r,t){return k(this.configuration).getTenancyOrderById(e,r,t)(this.axios,this.basePath)}optimisedSearch(e,r,t,n,s,o,i,l,d,c,A,m){return k(this.configuration).optimisedSearch(e,r,t,n,s,o,i,l,d,c,A,m)(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 mp(a,e,r,t=p,n=u,s){const o=Q(r).getTenancyOrderById(a,e,s),i={...o.options,url:n+o.url};return(await t.request(i)).data}async function Rp(a,e,r,t,n,s,o,i,l,d,c,A,m=p,I=u,P){const q=Q(A).optimisedSearch(a,e,r,t,n,s,o,i,l,d,c,P),z={...q.options,url:I+q.url};return(await m.request(z)).data}async function Ip(a,e,r,t=p,n=u,s){const o=Q(r).removeTenancyOrderById(a,e,s),i={...o.options,url:n+o.url};return(await t.request(i)).data}async function Pp(a,e,r,t=p,n=u,s){const o=Q(r).reopenTenancyOrder(a,e,s),i={...o.options,url:n+o.url};return(await t.request(i)).data}async function gp(a,e,r=p,t=u,n){const s=Q(e).sendOverdueChasers(a,n),o={...s.options,url:t+s.url};return(await r.request(o)).data}async function wp(a,e,r,t=p,n=u,s){const o=Q(r).transferTenancyOrderToOrganization(a,e,s),i={...o.options,url:n+o.url};return(await t.request(i)).data}const ye=function(a){return{addGuarantor(e,r,t,n={}){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 s="/v2/tenancies/{tenancyId}/tenancyUsers/{tenancyUserId}/guarantor".replace("{tenancyUserId}",encodeURIComponent(String(e))).replace("{tenancyId}",encodeURIComponent(String(r))),o=new URL(s,"http://placeholder");let i;a&&(i=a.baseOptions);const l={method:"POST",...i,...n},d={},c={};return d["Content-Type"]="application/json",Object.entries({...c,...n.query}).forEach(([A,m])=>{m!==void 0&&o.searchParams.set(A,String(m))}),l.headers={...d,...n.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 n="/v2/tenancies/{tenancyId}/tenancyUsers/{tenancyUserId}/guarantor".replace("{tenancyUserId}",encodeURIComponent(String(e))).replace("{tenancyId}",encodeURIComponent(String(r))),s=new URL(n,"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&&s.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},{url:s.pathname+s.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 n="/v2/tenancies/{tenancyId}/tenancyUsers/{tenancyUserId}/sendReminderEmail".replace("{tenancyUserId}",encodeURIComponent(String(e))).replace("{tenancyId}",encodeURIComponent(String(r))),s=new URL(n,"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&&s.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},{url:s.pathname+s.search,options:i}},updateGuarantor(e,r,t,n={}){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 s="/v2/tenancies/{tenancyId}/tenancyUsers/{tenancyUserId}/guarantor".replace("{tenancyUserId}",encodeURIComponent(String(e))).replace("{tenancyId}",encodeURIComponent(String(r))),o=new URL(s,"http://placeholder");let i;a&&(i=a.baseOptions);const l={method:"PUT",...i,...n},d={},c={};return d["Content-Type"]="application/json",Object.entries({...c,...n.query}).forEach(([A,m])=>{m!==void 0&&o.searchParams.set(A,String(m))}),l.headers={...d,...n.headers},l.data=JSON.stringify(t!==void 0?t:{}),{url:o.pathname+o.search,options:l}}}},Oe=function(a){return{addGuarantor(e,r,t,n){const s=ye(a).addGuarantor(e,r,t,n);return(o=p,i=u)=>{const l={...s.options,url:i+s.url};return o.request(l)}},deleteGuarantor(e,r,t){const n=ye(a).deleteGuarantor(e,r,t);return(s=p,o=u)=>{const i={...n.options,url:o+n.url};return s.request(i)}},sendReminderEmail(e,r,t){const n=ye(a).sendReminderEmail(e,r,t);return(s=p,o=u)=>{const i={...n.options,url:o+n.url};return s.request(i)}},updateGuarantor(e,r,t,n){const s=ye(a).updateGuarantor(e,r,t,n);return(o=p,i=u)=>{const l={...s.options,url:i+s.url};return o.request(l)}}}},fp=function(a,e,r){return{addGuarantor(t,n,s,o){return Oe(a).addGuarantor(t,n,s,o)(r,e)},deleteGuarantor(t,n,s){return Oe(a).deleteGuarantor(t,n,s)(r,e)},sendReminderEmail(t,n,s){return Oe(a).sendReminderEmail(t,n,s)(r,e)},updateGuarantor(t,n,s,o){return Oe(a).updateGuarantor(t,n,s,o)(r,e)}}};class yp extends R{addGuarantor(e,r,t,n){return Oe(this.configuration).addGuarantor(e,r,t,n)(this.axios,this.basePath)}deleteGuarantor(e,r,t){return Oe(this.configuration).deleteGuarantor(e,r,t)(this.axios,this.basePath)}sendReminderEmail(e,r,t){return Oe(this.configuration).sendReminderEmail(e,r,t)(this.axios,this.basePath)}updateGuarantor(e,r,t,n){return Oe(this.configuration).updateGuarantor(e,r,t,n)(this.axios,this.basePath)}}async function Op(a,e,r,t,n=p,s=u,o){const i=ye(t).addGuarantor(a,e,r,o),l={...i.options,url:s+i.url};return(await n.request(l)).data}async function Ep(a,e,r,t=p,n=u,s){const o=ye(r).deleteGuarantor(a,e,s),i={...o.options,url:n+o.url};return(await t.request(i)).data}async function Vp(a,e,r,t=p,n=u,s){const o=ye(r).sendReminderEmail(a,e,s),i={...o.options,url:n+o.url};return(await t.request(i)).data}async function Cp(a,e,r,t,n=p,s=u,o){const i=ye(t).updateGuarantor(a,e,r,o),l={...i.options,url:s+i.url};return(await n.request(l)).data}const _r=function(a){return{addTenant(e,r,t={}){if(e==null)throw new h("tenancyId","Required parameter tenancyId was null or undefined when calling addTenant.");if(r==null)throw new h("addTenantRequestDTO","Required parameter addTenantRequestDTO was null or undefined when calling addTenant.");const n="/v2/tenancies/{tenancyId}/tenants".replace("{tenancyId}",encodeURIComponent(String(e))),s=new URL(n,"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&&s.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:s.pathname+s.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 n="/v2/tenancies/{tenancyId}/tenants/{tenantId}".replace("{tenantId}",encodeURIComponent(String(e))).replace("{tenancyId}",encodeURIComponent(String(r))),s=new URL(n,"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&&s.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},{url:s.pathname+s.search,options:i}}}},vr=function(a){return{addTenant(e,r,t){const n=_r(a).addTenant(e,r,t);return(s=p,o=u)=>{const i={...n.options,url:o+n.url};return s.request(i)}},deleteById(e,r,t){const n=_r(a).deleteById(e,r,t);return(s=p,o=u)=>{const i={...n.options,url:o+n.url};return s.request(i)}}}},qp=function(a,e,r){return{addTenant(t,n,s){return vr(a).addTenant(t,n,s)(r,e)},deleteById(t,n,s){return vr(a).deleteById(t,n,s)(r,e)}}};class _p extends R{addTenant(e,r,t){return vr(this.configuration).addTenant(e,r,t)(this.axios,this.basePath)}deleteById(e,r,t){return vr(this.configuration).deleteById(e,r,t)(this.axios,this.basePath)}}async function vp(a,e,r,t=p,n=u,s){const o=_r(r).addTenant(a,e,s),i={...o.options,url:n+o.url};return(await t.request(i)).data}async function bp(a,e,r,t=p,n=u,s){const o=_r(r).deleteById(a,e,s),i={...o.options,url:n+o.url};return(await t.request(i)).data}const br=function(a){return{getSupplierTerms(e={}){const r="/v2/integration/terms/supplier",t=new URL(r,"http://placeholder");let n;a&&(n=a.baseOptions);const s={method:"GET",...n,...e},o={};return Object.entries({...{},...e.query}).forEach(([l,d])=>{d!==void 0&&t.searchParams.set(l,String(d))}),s.headers={...o,...e.headers},{url:t.pathname+t.search,options:s}},getTenantTerms(e={}){const r="/v2/integration/terms/tenant",t=new URL(r,"http://placeholder");let n;a&&(n=a.baseOptions);const s={method:"GET",...n,...e},o={};return Object.entries({...{},...e.query}).forEach(([l,d])=>{d!==void 0&&t.searchParams.set(l,String(d))}),s.headers={...o,...e.headers},{url:t.pathname+t.search,options:s}}}},Tr=function(a){return{getSupplierTerms(e){const r=br(a).getSupplierTerms(e);return(t=p,n=u)=>{const s={...r.options,url:n+r.url};return t.request(s)}},getTenantTerms(e){const r=br(a).getTenantTerms(e);return(t=p,n=u)=>{const s={...r.options,url:n+r.url};return t.request(s)}}}},Tp=function(a,e,r){return{getSupplierTerms(t){return Tr(a).getSupplierTerms(t)(r,e)},getTenantTerms(t){return Tr(a).getTenantTerms(t)(r,e)}}};class Sp extends R{getSupplierTerms(e){return Tr(this.configuration).getSupplierTerms(e)(this.axios,this.basePath)}getTenantTerms(e){return Tr(this.configuration).getTenantTerms(e)(this.axios,this.basePath)}}async function Np(a,e=p,r=u,t){const n=br(a).getSupplierTerms(t),s={...n.options,url:r+n.url};return(await e.request(s)).data}async function xp(a,e=p,r=u,t){const n=br(a).getTenantTerms(t),s={...n.options,url:r+n.url};return(await e.request(s)).data}const O=function(a){return{completeOnboardingIntroduction(e={}){const r="/v2/users/me/complete-onboarding-introduction",t=new URL(r,"http://placeholder");let n;a&&(n=a.baseOptions);const s={method:"POST",...n,...e},o={};return Object.entries({...{},...e.query}).forEach(([l,d])=>{d!==void 0&&t.searchParams.set(l,String(d))}),s.headers={...o,...e.headers},{url:t.pathname+t.search,options:s}},createOneTimeSessionToken(e={}){const r="/v2/users/me/one-time-session-token",t=new URL(r,"http://placeholder");let n;a&&(n=a.baseOptions);const s={method:"POST",...n,...e},o={};return Object.entries({...{},...e.query}).forEach(([l,d])=>{d!==void 0&&t.searchParams.set(l,String(d))}),s.headers={...o,...e.headers},{url:t.pathname+t.search,options:s}},dismissNewProductUpdates(e={}){const r="/v2/users/me/dismiss-new-product-updates",t=new URL(r,"http://placeholder");let n;a&&(n=a.baseOptions);const s={method:"POST",...n,...e},o={};return Object.entries({...{},...e.query}).forEach(([l,d])=>{d!==void 0&&t.searchParams.set(l,String(d))}),s.headers={...o,...e.headers},{url:t.pathname+t.search,options:s}},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))),n=new URL(t,"http://placeholder");let s;a&&(s=a.baseOptions);const o={method:"POST",...s,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&n.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:n.pathname+n.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))),n=new URL(t,"http://placeholder");let s;a&&(s=a.baseOptions);const o={method:"GET",...s,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&n.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:n.pathname+n.search,options:o}},getCustomer(e={}){const r="/v2/users/me/customer",t=new URL(r,"http://placeholder");let n;a&&(n=a.baseOptions);const s={method:"GET",...n,...e},o={};return Object.entries({...{},...e.query}).forEach(([l,d])=>{d!==void 0&&t.searchParams.set(l,String(d))}),s.headers={...o,...e.headers},{url:t.pathname+t.search,options:s}},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))),n=new URL(t,"http://placeholder");let s;a&&(s=a.baseOptions);const o={method:"GET",...s,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&n.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:n.pathname+n.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",n=new URL(t,"http://placeholder");let s;a&&(s=a.baseOptions);const o={method:"GET",...s,...r},i={},l={};return e!==void 0&&(l.productId=e),Object.entries({...l,...r.query}).forEach(([d,c])=>{c!==void 0&&n.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:n.pathname+n.search,options:o}},getUserAccount(e={}){const r="/v2/users/me/account",t=new URL(r,"http://placeholder");let n;a&&(n=a.baseOptions);const s={method:"GET",...n,...e},o={};return Object.entries({...{},...e.query}).forEach(([l,d])=>{d!==void 0&&t.searchParams.set(l,String(d))}),s.headers={...o,...e.headers},{url:t.pathname+t.search,options:s}},getUserTenancyAnniversaries(e={}){const r="/v2/users/me/tenancy-anniversaries",t=new URL(r,"http://placeholder");let n;a&&(n=a.baseOptions);const s={method:"GET",...n,...e},o={};return Object.entries({...{},...e.query}).forEach(([l,d])=>{d!==void 0&&t.searchParams.set(l,String(d))}),s.headers={...o,...e.headers},{url:t.pathname+t.search,options:s}},me(e={}){const r="/v2/users/me",t=new URL(r,"http://placeholder");let n;a&&(n=a.baseOptions);const s={method:"GET",...n,...e},o={};return Object.entries({...{},...e.query}).forEach(([l,d])=>{d!==void 0&&t.searchParams.set(l,String(d))}),s.headers={...o,...e.headers},{url:t.pathname+t.search,options:s}},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))),n=new URL(t,"http://placeholder");let s;a&&(s=a.baseOptions);const o={method:"POST",...s,...r},i={};return Object.entries({...{},...r.query}).forEach(([d,c])=>{c!==void 0&&n.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},{url:n.pathname+n.search,options:o}},searchUser(e,r,t,n,s,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 n!==void 0&&(m.query=n),e!==void 0&&(m.userTypeId=e),s!==void 0&&(m.sortBy=s),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",n=new URL(t,"http://placeholder");let s;a&&(s=a.baseOptions);const o={method:"PATCH",...s,...r},i={},l={};return i["Content-Type"]="application/json",Object.entries({...l,...r.query}).forEach(([d,c])=>{c!==void 0&&n.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},o.data=JSON.stringify(e!==void 0?e:{}),{url:n.pathname+n.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",n=new URL(t,"http://placeholder");let s;a&&(s=a.baseOptions);const o={method:"PATCH",...s,...r},i={},l={};return i["Content-Type"]="application/json",Object.entries({...l,...r.query}).forEach(([d,c])=>{c!==void 0&&n.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},o.data=JSON.stringify(e!==void 0?e:{}),{url:n.pathname+n.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",n=new URL(t,"http://placeholder");let s;a&&(s=a.baseOptions);const o={method:"POST",...s,...r},i={},l={};return i["Content-Type"]="application/json",Object.entries({...l,...r.query}).forEach(([d,c])=>{c!==void 0&&n.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},o.data=JSON.stringify(e!==void 0?e:{}),{url:n.pathname+n.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",n=new URL(t,"http://placeholder");let s;a&&(s=a.baseOptions);const o={method:"PATCH",...s,...r},i={},l={};return i["Content-Type"]="application/json",Object.entries({...l,...r.query}).forEach(([d,c])=>{c!==void 0&&n.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},o.data=JSON.stringify(e!==void 0?e:{}),{url:n.pathname+n.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 n="/v2/users/{id}".replace("{id}",encodeURIComponent(String(e))),s=new URL(n,"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&&s.searchParams.set(c,String(A))}),i.headers={...l,...t.headers},i.data=JSON.stringify(r!==void 0?r:{}),{url:s.pathname+s.search,options:i}}}},E=function(a){return{completeOnboardingIntroduction(e){const r=O(a).completeOnboardingIntroduction(e);return(t=p,n=u)=>{const s={...r.options,url:n+r.url};return t.request(s)}},createOneTimeSessionToken(e){const r=O(a).createOneTimeSessionToken(e);return(t=p,n=u)=>{const s={...r.options,url:n+r.url};return t.request(s)}},dismissNewProductUpdates(e){const r=O(a).dismissNewProductUpdates(e);return(t=p,n=u)=>{const s={...r.options,url:n+r.url};return t.request(s)}},dismissUserMessage(e,r){const t=O(a).dismissUserMessage(e,r);return(n=p,s=u)=>{const o={...t.options,url:s+t.url};return n.request(o)}},findOneByID(e,r){const t=O(a).findOneByID(e,r);return(n=p,s=u)=>{const o={...t.options,url:s+t.url};return n.request(o)}},getCustomer(e){const r=O(a).getCustomer(e);return(t=p,n=u)=>{const s={...r.options,url:n+r.url};return t.request(s)}},getOrganizationUsers(e,r){const t=O(a).getOrganizationUsers(e,r);return(n=p,s=u)=>{const o={...t.options,url:s+t.url};return n.request(o)}},getTenancyOrdersByProductId(e,r){const t=O(a).getTenancyOrdersByProductId(e,r);return(n=p,s=u)=>{const o={...t.options,url:s+t.url};return n.request(o)}},getUserAccount(e){const r=O(a).getUserAccount(e);return(t=p,n=u)=>{const s={...r.options,url:n+r.url};return t.request(s)}},getUserTenancyAnniversaries(e){const r=O(a).getUserTenancyAnniversaries(e);return(t=p,n=u)=>{const s={...r.options,url:n+r.url};return t.request(s)}},me(e){const r=O(a).me(e);return(t=p,n=u)=>{const s={...r.options,url:n+r.url};return t.request(s)}},resetUserPassword(e,r){const t=O(a).resetUserPassword(e,r);return(n=p,s=u)=>{const o={...t.options,url:s+t.url};return n.request(o)}},searchUser(e,r,t,n,s,o){const i=O(a).searchUser(e,r,t,n,s,o);return(l=p,d=u)=>{const c={...i.options,url:d+i.url};return l.request(c)}},updateAboutMe(e,r){const t=O(a).updateAboutMe(e,r);return(n=p,s=u)=>{const o={...t.options,url:s+t.url};return n.request(o)}},updateAddressHistory(e,r){const t=O(a).updateAddressHistory(e,r);return(n=p,s=u)=>{const o={...t.options,url:s+t.url};return n.request(o)}},updateBetaEnabled(e,r){const t=O(a).updateBetaEnabled(e,r);return(n=p,s=u)=>{const o={...t.options,url:s+t.url};return n.request(o)}},updateEmailSettings(e,r){const t=O(a).updateEmailSettings(e,r);return(n=p,s=u)=>{const o={...t.options,url:s+t.url};return n.request(o)}},updateUser(e,r,t){const n=O(a).updateUser(e,r,t);return(s=p,o=u)=>{const i={...n.options,url:o+n.url};return s.request(i)}}}},Up=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,n){return E(a).dismissUserMessage(t,n)(r,e)},findOneByID(t,n){return E(a).findOneByID(t,n)(r,e)},getCustomer(t){return E(a).getCustomer(t)(r,e)},getOrganizationUsers(t,n){return E(a).getOrganizationUsers(t,n)(r,e)},getTenancyOrdersByProductId(t,n){return E(a).getTenancyOrdersByProductId(t,n)(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,n){return E(a).resetUserPassword(t,n)(r,e)},searchUser(t,n,s,o,i,l){return E(a).searchUser(t,n,s,o,i,l)(r,e)},updateAboutMe(t,n){return E(a).updateAboutMe(t,n)(r,e)},updateAddressHistory(t,n){return E(a).updateAddressHistory(t,n)(r,e)},updateBetaEnabled(t,n){return E(a).updateBetaEnabled(t,n)(r,e)},updateEmailSettings(t,n){return E(a).updateEmailSettings(t,n)(r,e)},updateUser(t,n,s){return E(a).updateUser(t,n,s)(r,e)}}};class Dp 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,n,s,o){return E(this.configuration).searchUser(e,r,t,n,s,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 Lp(a,e=p,r=u,t){const n=O(a).completeOnboardingIntroduction(t),s={...n.options,url:r+n.url};return(await e.request(s)).data}async function Bp(a,e=p,r=u,t){const n=O(a).createOneTimeSessionToken(t),s={...n.options,url:r+n.url};return(await e.request(s)).data}async function Fp(a,e=p,r=u,t){const n=O(a).dismissNewProductUpdates(t),s={...n.options,url:r+n.url};return(await e.request(s)).data}async function jp(a,e,r=p,t=u,n){const s=O(e).dismissUserMessage(a,n),o={...s.options,url:t+s.url};return(await r.request(o)).data}async function Mp(a,e,r=p,t=u,n){const s=O(e).findOneByID(a,n),o={...s.options,url:t+s.url};return(await r.request(o)).data}async function Hp(a,e=p,r=u,t){const n=O(a).getCustomer(t),s={...n.options,url:r+n.url};return(await e.request(s)).data}async function Gp(a,e,r=p,t=u,n){const s=O(e).getOrganizationUsers(a,n),o={...s.options,url:t+s.url};return(await r.request(o)).data}async function Qp(a,e,r=p,t=u,n){const s=O(e).getTenancyOrdersByProductId(a,n),o={...s.options,url:t+s.url};return(await r.request(o)).data}async function kp(a,e=p,r=u,t){const n=O(a).getUserAccount(t),s={...n.options,url:r+n.url};return(await e.request(s)).data}async function zp(a,e=p,r=u,t){const n=O(a).getUserTenancyAnniversaries(t),s={...n.options,url:r+n.url};return(await e.request(s)).data}async function Yp(a,e=p,r=u,t){const n=O(a).me(t),s={...n.options,url:r+n.url};return(await e.request(s)).data}async function $p(a,e,r=p,t=u,n){const s=O(e).resetUserPassword(a,n),o={...s.options,url:t+s.url};return(await r.request(o)).data}async function Wp(a,e,r,t,n,s,o=p,i=u,l){const d=O(s).searchUser(a,e,r,t,n,l),c={...d.options,url:i+d.url};return(await o.request(c)).data}async function Jp(a,e,r=p,t=u,n){const s=O(e).updateAboutMe(a,n),o={...s.options,url:t+s.url};return(await r.request(o)).data}async function Kp(a,e,r=p,t=u,n){const s=O(e).updateAddressHistory(a,n),o={...s.options,url:t+s.url};return(await r.request(o)).data}async function Xp(a,e,r=p,t=u,n){const s=O(e).updateBetaEnabled(a,n),o={...s.options,url:t+s.url};return(await r.request(o)).data}async function Zp(a,e,r=p,t=u,n){const s=O(e).updateEmailSettings(a,n),o={...s.options,url:t+s.url};return(await r.request(o)).data}async function eh(a,e,r,t=p,n=u,s){const o=O(r).updateUser(a,e,s),i={...o.options,url:n+o.url};return(await t.request(i)).data}const pt=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",n=new URL(t,"http://placeholder");let s;a&&(s=a.baseOptions);const o={method:"PUT",...s,...r},i={},l={};return i["Content-Type"]="application/json",Object.entries({...l,...r.query}).forEach(([d,c])=>{c!==void 0&&n.searchParams.set(d,String(c))}),o.headers={...i,...r.headers},o.data=JSON.stringify(e!==void 0?e:{}),{url:n.pathname+n.search,options:o}}}},ht=function(a){return{updateIntegrationWebhookUrl(e,r){const t=pt(a).updateIntegrationWebhookUrl(e,r);return(n=p,s=u)=>{const o={...t.options,url:s+t.url};return n.request(o)}}}},rh=function(a,e,r){return{updateIntegrationWebhookUrl(t,n){return ht(a).updateIntegrationWebhookUrl(t,n)(r,e)}}};class th extends R{updateIntegrationWebhookUrl(e,r){return ht(this.configuration).updateIntegrationWebhookUrl(e,r)(this.axios,this.basePath)}}async function ah(a,e,r=p,t=u,n){const s=pt(e).updateIntegrationWebhookUrl(a,n),o={...s.options,url:t+s.url};return(await r.request(o)).data}var Rt=(a=>(a.NONREFUNDABLEFEE="NON_REFUNDABLE_FEE",a.TOOEXPENSIVE="TOO_EXPENSIVE",a.DONTUNDERSTAND="DONT_UNDERSTAND",a.FAILEDREFERENCING="FAILED_REFERENCING",a.OTHER="OTHER",a))(Rt||{}),It=(a=>(a.DRAFT="DRAFT",a.PUBLISHED="PUBLISHED",a))(It||{}),Pt=(a=>(a.IDENTITY="IDENTITY",a.CREDIT="CREDIT",a))(Pt||{}),gt=(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))(gt||{}),wt=(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))(wt||{}),ft=(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))(ft||{}),yt=(a=>(a.DAMAGE="DAMAGE",a.CLEANING="CLEANING",a.RENTARREARS="RENT_ARREARS",a.ITEMREMOVAL="ITEM_REMOVAL",a.OTHER="OTHER",a))(yt||{}),Ot=(a=>(a.SUPPLIER="SUPPLIER",a.TENANT="TENANT",a))(Ot||{}),Et=(a=>(a.SUPPLIER="SUPPLIER",a.TENANT="TENANT",a))(Et||{}),Vt=(a=>(a.DRAFT="DRAFT",a.AWAITINGRESPONSE="AWAITING_RESPONSE",a.AWAITINGPAYMENT="AWAITING_PAYMENT",a.SETTLED="SETTLED",a.COUNTERED="COUNTERED",a.DISPUTED="DISPUTED",a))(Vt||{}),Ct=(a=>(a.INITIAL="INITIAL",a.INTERMEDIATE="INTERMEDIATE",a.FINAL="FINAL",a))(Ct||{}),qt=(a=>(a.DRAFT="DRAFT",a.AWAITINGREVIEW="AWAITING_REVIEW",a.DEACTIVATED="DEACTIVATED",a.AWAITINGRESPONDENTS="AWAITING_RESPONDENTS",a.MEDIATION="MEDIATION",a.AWAITINGARBITRATIONADMINFEE="AWAITING_ARBITRATION_ADMIN_FEE",a.AWAITINGARBITRATION="AWAITING_ARBITRATION",a.ARBITRATED="ARBITRATED",a.RESOLVED="RESOLVED",a.AWAITINGSUBSTANTIATION="AWAITING_SUBSTANTIATION",a.AWAITINGEVIDENCEREVIEW="AWAITING_EVIDENCE_REVIEW",a.EVIDENCEREVIEW="EVIDENCE_REVIEW",a.AWAITINGADDITIONALINFORMATION="AWAITING_ADDITIONAL_INFORMATION",a.DECLINED="DECLINED",a.AWAITINGPAYOUT="AWAITING_PAYOUT",a.ARBITRATION="ARBITRATION",a.INSURANCECLAIM="INSURANCE_CLAIM",a))(qt||{}),_t=(a=>(a.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))(_t||{}),vt=(a=>(a.GBR="GBR",a))(vt||{}),bt=(a=>(a.DAMAGE="DAMAGE",a.CLEANING="CLEANING",a.RENTARREARS="RENT_ARREARS",a.ITEMREMOVAL="ITEM_REMOVAL",a.OTHER="OTHER",a))(bt||{}),Tt=(a=>(a.SIGNEDTENANCYAGREEMENT="SIGNED_TENANCY_AGREEMENT",a.INVENTORYCHECKIN="INVENTORY_CHECK_IN",a.INVENTORYCHECKOUT="INVENTORY_CHECK_OUT",a.ADDITIONALEVIDENCE="ADDITIONAL_EVIDENCE",a.PROOFTENANTCOMMUNICATION="PROOF_TENANT_COMMUNICATION",a.MIDTERMINSPECTION="MID_TERM_INSPECTION",a.REFERENCING="REFERENCING",a.GUARANTORCONTACT="GUARANTOR_CONTACT",a.SUPPORTINGEVIDENCE="SUPPORTING_EVIDENCE",a.TENANTEVIDENCE="TENANT_EVIDENCE",a.CLAIMITEM="CLAIM_ITEM",a.PROOFOFIDENTITY="PROOF_OF_IDENTITY",a.PROOFOFADDRESS="PROOF_OF_ADDRESS",a.CLAIMRESPONSE="CLAIM_RESPONSE",a.POLICY="POLICY",a.KPIDAILYOUTPUT="KPI_DAILY_OUTPUT",a.ARBITRATIONSUMMARY="ARBITRATION_SUMMARY",a.DOCUSIGN="DOCUSIGN",a.CLAIMARCHIVE="CLAIM_ARCHIVE",a.SIGNEDADDENDUM="SIGNED_ADDENDUM",a.SIGNEDTENANTTERMSANDCONDITIONS="SIGNED_TENANT_TERMS_AND_CONDITIONS",a.DAILYSTRIPERECONCILIATION="DAILY_STRIPE_RECONCILIATION",a))(Tt||{}),St=(a=>(a.AGREED="AGREED",a.REJECTED="REJECTED",a))(St||{}),Nt=(a=>(a.SIGNEDTENANCYAGREEMENT="SIGNED_TENANCY_AGREEMENT",a.INVENTORYCHECKIN="INVENTORY_CHECK_IN",a.INVENTORYCHECKOUT="INVENTORY_CHECK_OUT",a.ADDITIONALEVIDENCE="ADDITIONAL_EVIDENCE",a.PROOFTENANTCOMMUNICATION="PROOF_TENANT_COMMUNICATION",a.MIDTERMINSPECTION="MID_TERM_INSPECTION",a.REFERENCING="REFERENCING",a.GUARANTORCONTACT="GUARANTOR_CONTACT",a.SUPPORTINGEVIDENCE="SUPPORTING_EVIDENCE",a.TENANTEVIDENCE="TENANT_EVIDENCE",a.CLAIMITEM="CLAIM_ITEM",a.PROOFOFIDENTITY="PROOF_OF_IDENTITY",a.PROOFOFADDRESS="PROOF_OF_ADDRESS",a.CLAIMRESPONSE="CLAIM_RESPONSE",a.POLICY="POLICY",a.KPIDAILYOUTPUT="KPI_DAILY_OUTPUT",a.ARBITRATIONSUMMARY="ARBITRATION_SUMMARY",a.DOCUSIGN="DOCUSIGN",a.CLAIMARCHIVE="CLAIM_ARCHIVE",a.SIGNEDADDENDUM="SIGNED_ADDENDUM",a.SIGNEDTENANTTERMSANDCONDITIONS="SIGNED_TENANT_TERMS_AND_CONDITIONS",a.DAILYSTRIPERECONCILIATION="DAILY_STRIPE_RECONCILIATION",a))(Nt||{}),xt=(a=>(a.SIGNEDTENANCYAGREEMENT="SIGNED_TENANCY_AGREEMENT",a.INVENTORYCHECKIN="INVENTORY_CHECK_IN",a.INVENTORYCHECKOUT="INVENTORY_CHECK_OUT",a.ADDITIONALEVIDENCE="ADDITIONAL_EVIDENCE",a.PROOFTENANTCOMMUNICATION="PROOF_TENANT_COMMUNICATION",a.MIDTERMINSPECTION="MID_TERM_INSPECTION",a.REFERENCING="REFERENCING",a.GUARANTORCONTACT="GUARANTOR_CONTACT",a.SUPPORTINGEVIDENCE="SUPPORTING_EVIDENCE",a.TENANTEVIDENCE="TENANT_EVIDENCE",a.CLAIMITEM="CLAIM_ITEM",a.PROOFOFIDENTITY="PROOF_OF_IDENTITY",a.PROOFOFADDRESS="PROOF_OF_ADDRESS",a.CLAIMRESPONSE="CLAIM_RESPONSE",a.POLICY="POLICY",a.KPIDAILYOUTPUT="KPI_DAILY_OUTPUT",a.ARBITRATIONSUMMARY="ARBITRATION_SUMMARY",a.DOCUSIGN="DOCUSIGN",a.CLAIMARCHIVE="CLAIM_ARCHIVE",a.SIGNEDADDENDUM="SIGNED_ADDENDUM",a.SIGNEDTENANTTERMSANDCONDITIONS="SIGNED_TENANT_TERMS_AND_CONDITIONS",a.DAILYSTRIPERECONCILIATION="DAILY_STRIPE_RECONCILIATION",a))(xt||{}),Ut=(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))(Ut||{}),Dt=(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))(Dt||{}),Lt=(a=>(a.AGREED="AGREED",a.REJECTED="REJECTED",a.MISSING="MISSING",a))(Lt||{}),Bt=(a=>(a.PROPERTY="PROPERTY",a))(Bt||{}),Ft=(a=>(a.COMPANY="COMPANY",a.SOLEPERSON="SOLE_PERSON",a))(Ft||{}),jt=(a=>(a.COMPANY="COMPANY",a.SOLEPERSON="SOLE_PERSON",a))(jt||{}),Mt=(a=>(a.REPOSITPUBLISHED="REPOSIT_PUBLISHED",a.CLAIMPUBLISHED="CLAIM_PUBLISHED",a))(Mt||{}),Ht=(a=>(a.REPOSIT="REPOSIT",a.CLAIM="CLAIM",a.CLAIMPROPOSAL="CLAIM_PROPOSAL",a.ARBITRATION="ARBITRATION",a.TOPUP="TOP_UP",a.ARBITRATIONADMINFEE="ARBITRATION_ADMIN_FEE",a))(Ht||{}),Gt=(a=>(a.DEFAULT="DEFAULT",a.CLAIM="CLAIM",a.CASHDEPOSITSCHEME="CASH_DEPOSIT_SCHEME",a))(Gt||{}),Qt=(a=>(a.AGENCY="AGENCY",a.BUILDTORENT="BUILD_TO_RENT",a.PRIVATE="PRIVATE",a.INTEGRATORREFERRAL="INTEGRATOR_REFERRAL",a))(Qt||{}),kt=(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))(kt||{}),zt=(a=>(a.INDEPENDENTSINGLE="INDEPENDENT_SINGLE",a.BTR="BTR",a.INDEPENDENTMULTI="INDEPENDENT_MULTI",a.FRANCHISE="FRANCHISE",a.CORPORATE="CORPORATE",a.PRIVATELANDLORD="PRIVATE_LANDLORD",a.STUDENT="STUDENT",a.HMO="HMO",a.PBSA="PBSA",a))(zt||{}),Yt=(a=>(a.DIRECT="DIRECT",a.INITIAL="INITIAL",a.ADMIN="ADMIN",a))(Yt||{}),$t=(a=>(a.TENTHOUSANDPOUNDS="TEN_THOUSAND_POUNDS",a.FIVETHOUSANDPOUNDS="FIVE_THOUSAND_POUNDS",a))($t||{}),Wt=(a=>(a.IDENTITY="IDENTITY",a.CREDIT="CREDIT",a))(Wt||{}),Jt=(a=>(a.TENANT="TENANT",a))(Jt||{}),Kt=(a=>(a.MANAGETEAM="MANAGE_TEAM",a.NOTIFICATIONS="NOTIFICATIONS",a.BANKACCOUNTS="BANK_ACCOUNTS",a.ONBOARDING="ONBOARDING",a))(Kt||{}),Xt=(a=>(a.MANAGETEAM="MANAGE_TEAM",a.NOTIFICATIONS="NOTIFICATIONS",a.BANKACCOUNTS="BANK_ACCOUNTS",a.ONBOARDING="ONBOARDING",a))(Xt||{}),Zt=(a=>(a.PENDING="PENDING",a.OPENBANKINGTRANSFERSUCCESS="OPEN_BANKING_TRANSFER_SUCCESS",a.CANCELLED="CANCELLED",a.PARTIALLYPAID="PARTIALLY_PAID",a.PAID="PAID",a))(Zt||{}),ea=(a=>(a.AUTOACCEPTED="AUTO_ACCEPTED",a.PREADR="PRE_ADR",a.POSTADR="POST_ADR",a))(ea||{}),ra=(a=>(a.PENDING="PENDING",a.RESOLVED="RESOLVED",a.EXPIRED="EXPIRED",a))(ra||{}),ta=(a=>(a.PENDING="PENDING",a.AGREED="AGREED",a))(ta||{}),aa=(a=>(a.AGREED="AGREED",a.REJECTED="REJECTED",a))(aa||{}),na=(a=>(a.PENDING="PENDING",a.AGREED="AGREED",a.MISSING="MISSING",a))(na||{}),sa=(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))(sa||{}),oa=(a=>(a.DRAFT="DRAFT",a.PUBLISHED="PUBLISHED",a))(oa||{}),ia=(a=>(a.DRAFT="DRAFT",a.PUBLISHED="PUBLISHED",a))(ia||{}),la=(a=>(a.AGREED="AGREED",a.REJECTED="REJECTED",a.MISSING="MISSING",a))(la||{}),ca=(a=>(a.DRAFT="DRAFT",a.PUBLISHED="PUBLISHED",a))(ca||{}),da=(a=>(a.DRAFT="DRAFT",a.AWAITINGRESPONSE="AWAITING_RESPONSE",a.AWAITINGREVIEW="AWAITING_REVIEW",a.AGREED="AGREED",a.REJECTED="REJECTED",a.EXPIRED="EXPIRED",a))(da||{}),ua=(a=>(a.AWAITINGDECISION="AWAITING_DECISION",a.ACCEPTED="ACCEPTED",a.REJECTED="REJECTED",a))(ua||{}),pa=(a=>(a.SALES="SALES",a))(pa||{}),ha=(a=>(a.COMPANY="COMPANY",a.SOLEPERSON="SOLE_PERSON",a))(ha||{}),Aa=(a=>(a.NOTCONNECTED="NOT_CONNECTED",a.CONNECTED="CONNECTED",a.COMPLETE="COMPLETE",a))(Aa||{}),ma=(a=>(a.REPOSITPUBLISHED="REPOSIT_PUBLISHED",a.CLAIMPUBLISHED="CLAIM_PUBLISHED",a))(ma||{}),Ra=(a=>(a.PROMOTER="PROMOTER",a.DETRACTOR="DETRACTOR",a.PASSIVE="PASSIVE",a))(Ra||{}),Ia=(a=>(a.PASSED="PASSED",a.FAILED="FAILED",a))(Ia||{}),Pa=(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))(Pa||{}),ga=(a=>(a.REPOSIT="REPOSIT",a.CLAIM="CLAIM",a.CLAIMPROPOSAL="CLAIM_PROPOSAL",a.ARBITRATION="ARBITRATION",a.TOPUP="TOP_UP",a.ARBITRATIONADMINFEE="ARBITRATION_ADMIN_FEE",a))(ga||{}),wa=(a=>(a.DRAFT="DRAFT",a.PENDING="PENDING",a.COMPLETE="COMPLETE",a.CANCELLED="CANCELLED",a.REFUNDED="REFUNDED",a))(wa||{}),fa=(a=>(a.MANUAL="MANUAL",a.AUTOMATIC="AUTOMATIC",a))(fa||{}),ya=(a=>(a.REPOSIT="REPOSIT",a.CLAIM="CLAIM",a.CLAIMPROPOSAL="CLAIM_PROPOSAL",a.ARBITRATION="ARBITRATION",a.TOPUP="TOP_UP",a.ARBITRATIONADMINFEE="ARBITRATION_ADMIN_FEE",a))(ya||{}),Oa=(a=>(a.DRAFT="DRAFT",a.PENDING="PENDING",a.COMPLETE="COMPLETE",a.CANCELLED="CANCELLED",a.REFUNDED="REFUNDED",a))(Oa||{}),Ea=(a=>(a.MANUAL="MANUAL",a.AUTOMATIC="AUTOMATIC",a))(Ea||{}),Va=(a=>(a.STANDARD="STANDARD",a.BUILDTORENT="BUILD_TO_RENT",a))(Va||{}),Ca=(a=>(a.DEFAULT="DEFAULT",a.CLAIM="CLAIM",a.CASHDEPOSITSCHEME="CASH_DEPOSIT_SCHEME",a))(Ca||{}),qa=(a=>(a.AGENCY="AGENCY",a.BUILDTORENT="BUILD_TO_RENT",a.PRIVATE="PRIVATE",a.INTEGRATORREFERRAL="INTEGRATOR_REFERRAL",a))(qa||{}),_a=(a=>(a.SALES="SALES",a))(_a||{}),va=(a=>(a.DIRECT="DIRECT",a.INITIAL="INITIAL",a.ADMIN="ADMIN",a))(va||{}),ba=(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))(ba||{}),Ta=(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))(Ta||{}),Sa=(a=>(a.TENTHOUSANDPOUNDS="TEN_THOUSAND_POUNDS",a.FIVETHOUSANDPOUNDS="FIVE_THOUSAND_POUNDS",a))(Sa||{}),Na=(a=>(a.MANAGETEAM="MANAGE_TEAM",a.NOTIFICATIONS="NOTIFICATIONS",a.BANKACCOUNTS="BANK_ACCOUNTS",a.ONBOARDING="ONBOARDING",a))(Na||{}),xa=(a=>(a.PRIMARY="PRIMARY",a.SECONDARY="SECONDARY",a))(xa||{}),Ua=(a=>(a.INDEPENDENTSINGLE="INDEPENDENT_SINGLE",a.BTR="BTR",a.INDEPENDENTMULTI="INDEPENDENT_MULTI",a.FRANCHISE="FRANCHISE",a.CORPORATE="CORPORATE",a.PRIVATELANDLORD="PRIVATE_LANDLORD",a.STUDENT="STUDENT",a.HMO="HMO",a.PBSA="PBSA",a))(Ua||{}),Da=(a=>(a.AGENCY="AGENCY",a.BUILDTORENT="BUILD_TO_RENT",a.PRIVATE="PRIVATE",a.INTEGRATORREFERRAL="INTEGRATOR_REFERRAL",a))(Da||{}),La=(a=>(a.AGENCY="AGENCY",a.BUILDTORENT="BUILD_TO_RENT",a.PRIVATE="PRIVATE",a.INTEGRATORREFERRAL="INTEGRATOR_REFERRAL",a))(La||{}),Ba=(a=>(a.MANAGETEAM="MANAGE_TEAM",a.NOTIFICATIONS="NOTIFICATIONS",a.BANKACCOUNTS="BANK_ACCOUNTS",a.ONBOARDING="ONBOARDING",a))(Ba||{}),Fa=(a=>(a.AGENCY="AGENCY",a.BUILDTORENT="BUILD_TO_RENT",a.PRIVATE="PRIVATE",a.INTEGRATORREFERRAL="INTEGRATOR_REFERRAL",a))(Fa||{}),ja=(a=>(a.MANAGETEAM="MANAGE_TEAM",a.NOTIFICATIONS="NOTIFICATIONS",a.BANKACCOUNTS="BANK_ACCOUNTS",a.ONBOARDING="ONBOARDING",a))(ja||{}),Ma=(a=>(a.PENDING="PENDING",a.OPENBANKINGTRANSFERSUCCESS="OPEN_BANKING_TRANSFER_SUCCESS",a.CANCELLED="CANCELLED",a.PARTIALLYPAID="PARTIALLY_PAID",a.PAID="PAID",a))(Ma||{}),Ha=(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))(Ha||{}),Ga=(a=>(a.Pass="pass",a.Fail="fail",a.Unchecked="unchecked",a))(Ga||{}),Qa=(a=>(a.Pass="pass",a.Fail="fail",a.Unchecked="unchecked",a))(Qa||{}),ka=(a=>(a.Pass="pass",a.Fail="fail",a.Unchecked="unchecked",a))(ka||{}),za=(a=>(a.Pass="pass",a.Fail="fail",a.Unchecked="unchecked",a))(za||{}),Ya=(a=>(a.CONFIRM="CONFIRM",a.ADDRESS="ADDRESS",a.CARDDETAILS="CARD_DETAILS",a))(Ya||{}),$a=(a=>(a.MONTHLY="MONTHLY",a))($a||{}),Wa=(a=>(a.ACTIVE="ACTIVE",a.PENDING="PENDING",a.DEFAULT="DEFAULT",a.COMPLETE="COMPLETE",a.CLOSED="CLOSED",a.CANCELLED="CANCELLED",a))(Wa||{}),Ja=(a=>(a.PENDING="PENDING",a.PAID="PAID",a.FAILED="FAILED",a.CANCELLED="CANCELLED",a))(Ja||{}),Ka=(a=>(a.LINK="LINK",a.PAYMENTINITIATION="PAYMENT_INITIATION",a))(Ka||{}),Xa=(a=>(a.SESSIONFINISHED="SESSION_FINISHED",a.PAYMENTSTATUSUPDATE="PAYMENT_STATUS_UPDATE",a))(Xa||{}),Za=(a=>(a.SUCCESS="SUCCESS",a.EXITED="EXITED",a))(Za||{}),en=(a=>(a.EXECUTED="PAYMENT_STATUS_EXECUTED",a.INITIATED="PAYMENT_STATUS_INITIATED",a))(en||{}),rn=(a=>(a.DRAFT="DRAFT",a.SUBMITTED="SUBMITTED",a.ISSUED="ISSUED",a.CLOSED="CLOSED",a.DEACTIVATED="DEACTIVATED",a.UNKNOWN="UNKNOWN",a))(rn||{}),tn=(a=>(a.NEWTENANCY="NEW_TENANCY",a.EXISTINGTENANCY="EXISTING_TENANCY",a))(tn||{}),an=(a=>(a.CREATETOPUP="CREATE_TOP_UP",a.TOPUPREMINDER="TOP_UP_REMINDER",a.TOPUPUPCOMING="TOP_UP_UPCOMING",a.AUTOCHARGE="AUTO_CHARGE",a.SCHEDULEDAUTOCHARGE="SCHEDULED_AUTO_CHARGE",a.CHARGEORDERSCHEDULEDCHARGE="CHARGE_ORDER_SCHEDULED_CHARGE",a.AUTORESPONDTENANT="AUTO_RESPOND_TENANT",a.AUTORESPONDSUPPLIER="AUTO_RESPOND_SUPPLIER",a.PROCESSSTRIPECHARGESUCCEEDED="PROCESS_STRIPE_CHARGE_SUCCEEDED",a.PROCESSSTRIPECHARGEFAILED="PROCESS_STRIPE_CHARGE_FAILED",a.PROCESSSTRIPECHARGEEXPIRED="PROCESS_STRIPE_CHARGE_EXPIRED",a.PROCESSSTRIPEDISPUTECREATED="PROCESS_STRIPE_DISPUTE_CREATED",a.PROCESSSTRIPEDISPUTECLOSED="PROCESS_STRIPE_DISPUTE_CLOSED",a.PROCESSEXPIRINGCUSTOMERSOURCE="PROCESS_EXPIRING_CUSTOMER_SOURCE",a.PROCESSSENDSLACKMESSAGE="PROCESS_SEND_SLACK_MESSAGE",a.PROCESSSTRIPEREFUNDCREATED="PROCESS_STRIPE_REFUND_CREATED",a.PAYMENTMETHODCARDAUTOMATICALLYUPDATED="PAYMENT_METHOD_CARD_AUTOMATICALLY_UPDATED",a.MONTHLYDIRECTCOMMISSIONFORORGANIZATION="MONTHLY_DIRECT_COMMISSION_FOR_ORGANIZATION",a.LANDLORDTRANSFERREMINDER="LANDLORD_TRANSFER_REMINDER",a.ZIPDOCUMENTSFORCLAIM="ZIP_DOCUMENTS_FOR_CLAIM",a.GENERATEADRFORM="GENERATE_ADR_FORM",a.REPOSITENDINGREMINDER="REPOSIT_ENDING_REMINDER",a.REPOSITCLOSINGREMINDER="REPOSIT_CLOSING_REMINDER",a.REPOSITENDED="REPOSIT_ENDED",a.REPOSITCLOSED="REPOSIT_CLOSED",a.PENDINGREPOSIT="PENDING_REPOSIT",a.REPOSITDEACTIVATE="REPOSIT_DEACTIVATE",a.OVERDUEARBITRATION="OVERDUE_ARBITRATION",a.CLAIMDEACTIVATE="CLAIM_DEACTIVATE",a.CLAIMDEACTIVATEREMINDER="CLAIM_DEACTIVATE_REMINDER",a.CLAIMTENANTREMINDER="CLAIM_TENANT_REMINDER",a.CLAIMSUPPLIERREMINDER="CLAIM_SUPPLIER_REMINDER",a.EVIDENCEREMINDER="EVIDENCE_REMINDER",a.ACCOUNTING="ACCOUNTING",a.CHARGEPAYMENTPLANINSTALMENT="CHARGE_PAYMENT_PLAN_INSTALMENT",a.PAYMENTPLANINSTALMENTREMINDER="PAYMENT_PLAN_INSTALMENT_REMINDER",a.PAYMENTPLANINSTALMENTEXPIRED="PAYMENT_PLAN_INSTALMENT_EXPIRED",a.PROCESSSENDGRIDWEBHOOK="PROCESS_SENDGRID_WEBHOOK",a.PAYMENTPLANACTIVATIONREMINDER="PAYMENT_PLAN_ACTIVATION_REMINDER",a.PAYMENTPLANCANCELLATION="PAYMENT_PLAN_CANCELLATION",a.TENANCYINVENTORYNOTIFICATION="TENANCY_INVENTORY_NOTIFICATION",a.REPOSITOFFERREMINDER="REPOSIT_OFFER_REMINDER",a.EVIDENCECHASERREMINDER="EVIDENCE_CHASER_REMINDER",a.EVIDENCECHASEREXPIREDNOTIFICATION="EVIDENCE_CHASER_EXPIRED_NOTIFICATION",a.EVIDENCECHASERSUPPLIERDRAFTREMINDER="EVIDENCE_CHASER_SUPPLIER_DRAFT_REMINDER",a.ARBITRATIONSENTNOTIFICATION="ARBITRATION_SENT_NOTIFICATION",a.IVRCALLPROCESSING="IVR_CALL_PROCESSING",a.PROCESSTWILIOIVRWEBHOOK="PROCESS_TWILIO_IVR_WEBHOOK",a.PROCESSTWILIOVOICEMAILWEBHOOK="PROCESS_TWILIO_VOICEMAIL_WEBHOOK",a.PENDINGREPOSITPOSTSTARTDATEWEEKLYREMINDER="PENDING_REPOSIT_POST_START_DATE_WEEKLY_REMINDER",a.HANDLEPENDINGCASHDEPOSIT="HANDLE_PENDING_CASH_DEPOSIT",a.REFRESHMYDEPOSITSACCESSTOKEN="REFRESH_MY_DEPOSITS_ACCESS_TOKEN",a.RECONCILEUNALLOCATEDFUNDS="RECONCILE_UNALLOCATED_FUNDS",a.MYDEPOSITSCREATEPROPERTYANDTENANCY="MY_DEPOSITS_CREATE_PROPERTY_AND_TENANCY",a))(an||{}),nn=(a=>(a.DAILYKPIS="DAILY_KPIS",a.DAILYKPISDOCUMENT="DAILY_KPIS_DOCUMENT",a.DAILYTOPUPCREATION="DAILY_TOP_UP_CREATION",a.DAILYTOPUPREMINDERS="DAILY_TOP_UP_REMINDERS",a.DAILYTOPUPUPCOMING="DAILY_TOP_UP_UPCOMING",a.TOPUPAUTOCHARGE="TOP_UP_AUTO_CHARGE",a.DAILYCLAIMAUTORESPONDTENANT="DAILY_CLAIM_AUTO_RESPOND_TENANT",a.DAILYCLAIMAUTORESPONDSUPPLIER="DAILY_CLAIM_AUTO_RESPOND_SUPPLIER",a.SCHEDULEDAUTOCHARGE="SCHEDULED_AUTO_CHARGE",a.DAILYFINALSCHEDULEDAUTOCHARGE="DAILY_FINAL_SCHEDULED_AUTO_CHARGE",a.DAILYORDERSCHEDULEDCHARGE="DAILY_ORDER_SCHEDULED_CHARGE",a.MONTHLYDIRECTCOMMISSION="MONTHLY_DIRECT_COMMISSION",a.WEEKLYLANDLORDTRANSFERREMINDER="WEEKLY_LANDLORD_TRANSFER_REMINDER",a.DAILYREPOSITENDINGREMINDER="DAILY_REPOSIT_ENDING_REMINDER",a.DAILYREPOSITCLOSINGREMINDER="DAILY_REPOSIT_CLOSING_REMINDER",a.DAILYREPOSITENDED="DAILY_REPOSIT_ENDED",a.DAILYREPOSITCLOSED="DAILY_REPOSIT_CLOSED",a.DAILYPENDINGREPOSITREMINDER="DAILY_PENDING_REPOSIT_REMINDER",a.DAILYOVERDUEARBITRATIONREMINDER="DAILY_OVERDUE_ARBITRATION_REMINDER",a.DAILYREPOSITDEACTIVATE="DAILY_REPOSIT_DEACTIVATE",a.DAILYCLAIMDEACTIVATE="DAILY_CLAIM_DEACTIVATE",a.DAILYCLAIMDEACTIVATEREMINDER="DAILY_CLAIM_DEACTIVATE_REMINDER",a.DAILYCLAIMTENANTREMINDER="DAILY_CLAIM_TENANT_REMINDER",a.DAILYCLAIMSUPPLIERREMINDER="DAILY_CLAIM_SUPPLIER_REMINDER",a.DAILYCLAIMEVIDENCEREMINDER="DAILY_CLAIM_EVIDENCE_REMINDER",a.DAILYREPOSITCRONINIT="DAILY_REPOSIT_CRON_INIT",a.DAILYCLAIMCRONINIT="DAILY_CLAIM_CRON_INIT",a.DAILYCHARGEPAYMENTPLANINSTALMENT="DAILY_CHARGE_PAYMENT_PLAN_INSTALMENT",a.DAILYPAYMENTPLANINSTALMENTREMINDER="DAILY_PAYMENT_PLAN_INSTALMENT_REMINDER",a.DAILYPAYMENTPLANINSTALMENTEXPIRED="DAILY_PAYMENT_PLAN_INSTALMENT_EXPIRED",a.DAILYPAYMENTPLANACTIVATIONREMINDER="DAILY_PAYMENT_PLAN_ACTIVATION_REMINDER",a.DAILYPAYMENTPLANCANCELLATION="DAILY_PAYMENT_PLAN_CANCELLATION",a.DAILYRECONCILIATION="DAILY_RECONCILIATION",a.DAILYSENDTENANCYINVENTORYNOTIFICATIONS="DAILY_SEND_TENANCY_INVENTORY_NOTIFICATIONS",a.DAILYREPOSITOFFERREMINDER="DAILY_REPOSIT_OFFER_REMINDER",a.DAILYEVIDENCECHASERREMINDER="DAILY_EVIDENCE_CHASER_REMINDER",a.DAILYEVIDENCECHASEREXPIREDNOTIFICATION="DAILY_EVIDENCE_CHASER_EXPIRED_NOTIFICATION",a.DAILYEVIDENCECHASERSUPPLIERDRAFTREMINDER="DAILY_EVIDENCE_CHASER_SUPPLIER_DRAFT_REMINDER",a.DAILYARBITRATIONSENTNOTIFICATION="DAILY_ARBITRATION_SENT_NOTIFICATION",a.DAILYIVRCALLPROCESSING="DAILY_IVR_CALL_PROCESSING",a.WEEKLYPENDINGREPOSITPASTSTARTDATEREMINDER="WEEKLY_PENDING_REPOSIT_PAST_START_DATE_REMINDER",a.POLLPENDINGCASHDEPOSITS="POLL_PENDING_CASH_DEPOSITS",a.REFRESHMYDEPOSITSACCESSTOKENS="REFRESH_MY_DEPOSITS_ACCESS_TOKENS",a.RECONCILEUNALLOCATEDFUNDS="RECONCILE_UNALLOCATED_FUNDS",a))(nn||{}),sn=(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))(sn||{}),on=(a=>(a.GBR="GBR",a))(on||{}),ln=(a=>(a.AGENT="AGENT",a.LANDLORD="LANDLORD",a))(ln||{}),cn=(a=>(a.DRAFT="DRAFT",a.PUBLISHED="PUBLISHED",a))(cn||{}),dn=(a=>(a.PASSED="PASSED",a.FAILED="FAILED",a))(dn||{}),un=(a=>(a.REPOSIT="REPOSIT",a.CASHDEPOSIT="CASH_DEPOSIT",a))(un||{}),pn=(a=>(a.DEPOSITWAIVER="DEPOSIT_WAIVER",a))(pn||{}),hn=(a=>(a.PRIVATE="PRIVATE",a.AGENCY="AGENCY",a))(hn||{}),An=(a=>(a.DRAFT="DRAFT",a.INVITED="INVITED",a.REGISTERED="REGISTERED",a.REFERENCED="REFERENCED",a.CONFIRMED="CONFIRMED",a.SIGNED="SIGNED",a.PAID="PAID",a))(An||{}),mn=(a=>(a.SIGNEDTENANTTERMSANDCONDITIONS="SIGNED_TENANT_TERMS_AND_CONDITIONS",a))(mn||{}),Rn=(a=>(a.Reposit="reposit",a))(Rn||{}),In=(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))(In||{}),Pn=(a=>(a.DRAFT="DRAFT",a.INVITED="INVITED",a.REGISTERED="REGISTERED",a.REFERENCED="REFERENCED",a.CONFIRMED="CONFIRMED",a.SIGNED="SIGNED",a.PAID="PAID",a))(Pn||{}),gn=(a=>(a.PASSED="PASSED",a.FAILED="FAILED",a))(gn||{}),wn=(a=>(a.SUPPLIERAPPLICATION="SUPPLIER_APPLICATION",a.TENANTAPPLICATION="TENANT_APPLICATION",a))(wn||{}),fn=(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))(fn||{}),yn=(a=>(a.CONFIRMED="CONFIRMED",a.UNCONFIRMED="UNCONFIRMED",a))(yn||{}),On=(a=>(a.EARLY="EARLY",a.LATE="LATE",a.FINAL="FINAL",a))(On||{}),En=(a=>(a.TENANT="TENANT",a))(En||{}),Vn=(a=>(a.TENANT="TENANT",a))(Vn||{}),Cn=(a=>(a.DAMAGE="DAMAGE",a.CLEANING="CLEANING",a.RENTARREARS="RENT_ARREARS",a.ITEMREMOVAL="ITEM_REMOVAL",a.OTHER="OTHER",a))(Cn||{}),qn=(a=>(a.COMPANY="COMPANY",a.SOLEPERSON="SOLE_PERSON",a))(qn||{}),_n=(a=>(a.AGENCY="AGENCY",a.BUILDTORENT="BUILD_TO_RENT",a.PRIVATE="PRIVATE",a.INTEGRATORREFERRAL="INTEGRATOR_REFERRAL",a))(_n||{}),vn=(a=>(a.DRAFT="DRAFT",a.SUBMITTED="SUBMITTED",a.ISSUED="ISSUED",a.CLOSED="CLOSED",a.DEACTIVATED="DEACTIVATED",a.UNKNOWN="UNKNOWN",a))(vn||{}),bn=(a=>(a.AGENT="AGENT",a.ARBITRATOR="ARBITRATOR",a.LANDLORD="LANDLORD",a.TENANT="TENANT",a.INTERNAL="INTERNAL",a.MACHINE="MACHINE",a))(bn||{}),Tn=(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))(Tn||{}),Sn=(a=>(a.PENDING="PENDING",a.OPENBANKINGTRANSFERSUCCESS="OPEN_BANKING_TRANSFER_SUCCESS",a.CANCELLED="CANCELLED",a.PARTIALLYPAID="PARTIALLY_PAID",a.PAID="PAID",a))(Sn||{});class nh{constructor(e={}){this.apiKey=e.apiKey,this.username=e.username,this.password=e.password,this.accessToken=e.accessToken,this.basePath=e.basePath}}exports.AddRejectionReasonRequestDTORejectionReasonEnum=Rt;exports.AddressesApi=Dn;exports.AddressesApiAxiosParamCreator=le;exports.AddressesApiFactory=Un;exports.AddressesApiFp=ce;exports.ApplicantsApi=Hn;exports.ApplicantsApiAxiosParamCreator=Ee;exports.ApplicantsApiFactory=Mn;exports.ApplicantsApiFp=Ve;exports.ArbitrationDTOStatusEnum=It;exports.ArbitrationDocumentsApi=Yn;exports.ArbitrationDocumentsApiAxiosParamCreator=de;exports.ArbitrationDocumentsApiFactory=zn;exports.ArbitrationDocumentsApiFp=ue;exports.ArbitrationsApi=Zn;exports.ArbitrationsApiAxiosParamCreator=pe;exports.ArbitrationsApiFactory=Xn;exports.ArbitrationsApiFp=he;exports.AuthApi=ss;exports.AuthApiAxiosParamCreator=$;exports.AuthApiFactory=ns;exports.AuthApiFp=W;exports.BASE_PATH=u;exports.BankAccountsApi=ps;exports.BankAccountsApiAxiosParamCreator=Sr;exports.BankAccountsApiFactory=us;exports.BankAccountsApiFp=Nr;exports.BaseAPI=R;exports.BeneficiariesApi=ms;exports.BeneficiariesApiAxiosParamCreator=xr;exports.BeneficiariesApiFactory=As;exports.BeneficiariesApiFp=Ur;exports.COLLECTION_FORMATS=xn;exports.CashDepositsApi=Ps;exports.CashDepositsApiAxiosParamCreator=J;exports.CashDepositsApiFactory=Is;exports.CashDepositsApiFp=K;exports.CheckDTOStatusEnum=gt;exports.CheckDTOTypeEnum=Pt;exports.ChecksApi=Vs;exports.ChecksApiAxiosParamCreator=$e;exports.ChecksApiFactory=Es;exports.ChecksApiFp=We;exports.ClaimActivityType=wt;exports.ClaimDTOStatusEnum=ft;exports.ClaimDocumentsApi=vs;exports.ClaimDocumentsApiAxiosParamCreator=X;exports.ClaimDocumentsApiFactory=_s;exports.ClaimDocumentsApiFp=Z;exports.ClaimItemDTOTypeEnum=yt;exports.ClaimItemDocumentsApi=Ds;exports.ClaimItemDocumentsApiAxiosParamCreator=ee;exports.ClaimItemDocumentsApiFactory=Us;exports.ClaimItemDocumentsApiFp=re;exports.ClaimItemProposalDTOSettledSourceEnum=Ot;exports.ClaimItemProposalsApi=Gs;exports.ClaimItemProposalsApiAxiosParamCreator=Ce;exports.ClaimItemProposalsApiFactory=Hs;exports.ClaimItemProposalsApiFp=qe;exports.ClaimItemsApi=$s;exports.ClaimItemsApiAxiosParamCreator=_e;exports.ClaimItemsApiFactory=Ys;exports.ClaimItemsApiFp=ve;exports.ClaimProposalDTOSourceEnum=Et;exports.ClaimProposalDTOStatusEnum=Vt;exports.ClaimProposalDTOTypeEnum=Ct;exports.ClaimProposalsApi=Zs;exports.ClaimProposalsApiAxiosParamCreator=te;exports.ClaimProposalsApiFactory=Xs;exports.ClaimProposalsApiFp=ae;exports.ClaimResponseDocumentsApi=oo;exports.ClaimResponseDocumentsApiAxiosParamCreator=Ae;exports.ClaimResponseDocumentsApiFactory=so;exports.ClaimResponseDocumentsApiFp=me;exports.ClaimStatusDTOStatusIdEnum=qt;exports.ClaimWithCheckoutRelationsDTOStatusEnum=_t;exports.ClaimsApi=ho;exports.ClaimsApiAxiosParamCreator=f;exports.ClaimsApiFactory=po;exports.ClaimsApiFp=y;exports.CommissionApi=Fo;exports.CommissionApiAxiosParamCreator=Dr;exports.CommissionApiFactory=Bo;exports.CommissionApiFp=Lr;exports.ConcurrentTenancyCheckApi=Ho;exports.ConcurrentTenancyCheckApiAxiosParamCreator=Br;exports.ConcurrentTenancyCheckApiFactory=Mo;exports.ConcurrentTenancyCheckApiFp=Fr;exports.Configuration=nh;exports.CreateAddressForRepositDTOCountryEnum=vt;exports.CreateClaimItemDTOTypeEnum=bt;exports.CreateClaimItemDocumentDTOTypeEnum=Tt;exports.CreateClaimItemReviewDTOStatusEnum=St;exports.CreateDocumentDTOTypeEnum=Nt;exports.CreateDocumentFromS3DTOTypeEnum=xt;exports.CreateEvidenceChaserItemDTODocumentTypeIdEnum=Ut;exports.CreateEvidenceChaserItemDTOTypeEnum=Dt;exports.CreateEvidenceChaserItemReviewDTOStatusEnum=Lt;exports.CreateInsuredItemDTOTypeEnum=Bt;exports.CreateLandlordDTOLandlordTypeIdEnum=Ft;exports.CreateLandlordWithOrgDTOLandlordTypeIdEnum=jt;exports.CreateNetPromoterScoreDTOSurveyEventEnum=Mt;exports.CreateOrderDTOProductIdEnum=Ht;exports.CreateOrganizationBankAccountDTOAccountTypeEnum=Gt;exports.CreateOrganizationDTOPrimaryVerticalEnum=kt;exports.CreateOrganizationDTOSecondaryVerticalsEnum=zt;exports.CreateOrganizationDTOTypeEnum=Qt;exports.CreateOrganizationRecipientDTOGroupEnum=Yt;exports.CreatePolicyWithBeneficiaryDTOMaximumPolicyCoverEnum=$t;exports.CreateReferenceDTOChecksEnum=Wt;exports.CreateTenancyInviteDTORoleIdEnum=Jt;exports.CurrentUserAccountInfoDTOCurrentOrganizationRolesEnum=Kt;exports.CurrentUserInfoDTOCurrentOrganizationRolesEnum=Xt;exports.CustomersApi=ko;exports.CustomersApiAxiosParamCreator=jr;exports.CustomersApiFactory=Qo;exports.CustomersApiFp=Mr;exports.DepositDTOStatusEnum=Zt;exports.DocumentsApi=$o;exports.DocumentsApiAxiosParamCreator=be;exports.DocumentsApiFactory=Yo;exports.DocumentsApiFp=Te;exports.EvidenceChaserDTOStatusEnum=ra;exports.EvidenceChaserDTOTypeEnum=ea;exports.EvidenceChaserItemClaimItemDTOStatusEnum=ta;exports.EvidenceChaserItemClaimItemReviewDTOStatusEnum=aa;exports.EvidenceChaserItemDTOStatusEnum=na;exports.EvidenceChaserItemDTOTypeEnum=sa;exports.EvidenceChaserItemRequestDTOPublicationStatusEnum=oa;exports.EvidenceChaserItemRequestsApi=Zo;exports.EvidenceChaserItemRequestsApiAxiosParamCreator=Je;exports.EvidenceChaserItemRequestsApiFactory=Xo;exports.EvidenceChaserItemRequestsApiFp=Ke;exports.EvidenceChaserItemResponseDTOPublicationStatusEnum=ia;exports.EvidenceChaserItemResponseDocumentsApi=ai;exports.EvidenceChaserItemResponseDocumentsApiAxiosParamCreator=Xe;exports.EvidenceChaserItemResponseDocumentsApiFactory=ti;exports.EvidenceChaserItemResponseDocumentsApiFp=Ze;exports.EvidenceChaserItemResponsesApi=ii;exports.EvidenceChaserItemResponsesApiAxiosParamCreator=er;exports.EvidenceChaserItemResponsesApiFactory=oi;exports.EvidenceChaserItemResponsesApiFp=rr;exports.EvidenceChaserItemReviewDTOPublicationStatusEnum=ca;exports.EvidenceChaserItemReviewDTOStatusEnum=la;exports.EvidenceChaserItemReviewsApi=ui;exports.EvidenceChaserItemReviewsApiAxiosParamCreator=tr;exports.EvidenceChaserItemReviewsApiFactory=di;exports.EvidenceChaserItemReviewsApiFp=ar;exports.EvidenceChaserItemsApi=mi;exports.EvidenceChaserItemsApiAxiosParamCreator=nr;exports.EvidenceChaserItemsApiFactory=Ai;exports.EvidenceChaserItemsApiFp=sr;exports.EvidenceChaserRoundDTOStatusEnum=da;exports.EvidenceChaserRoundsApi=gi;exports.EvidenceChaserRoundsApiAxiosParamCreator=Se;exports.EvidenceChaserRoundsApiFactory=Pi;exports.EvidenceChaserRoundsApiFp=Ne;exports.EvidenceChasersApi=Ei;exports.EvidenceChasersApiAxiosParamCreator=xe;exports.EvidenceChasersApiFactory=Oi;exports.EvidenceChasersApiFp=Ue;exports.FeedbackApi=vi;exports.FeedbackApiAxiosParamCreator=Hr;exports.FeedbackApiFactory=_i;exports.FeedbackApiFp=Gr;exports.HealthApi=Si;exports.HealthApiAxiosParamCreator=or;exports.HealthApiFactory=Ti;exports.HealthApiFp=ir;exports.IncomingWebhooksApi=Di;exports.IncomingWebhooksApiAxiosParamCreator=D;exports.IncomingWebhooksApiFactory=Ui;exports.IncomingWebhooksApiFp=L;exports.InsuranceClaimDTOStatusEnum=ua;exports.InsuranceClaimsApi=Qi;exports.InsuranceClaimsApiAxiosParamCreator=De;exports.InsuranceClaimsApiFactory=Gi;exports.InsuranceClaimsApiFp=Le;exports.IntegratorApi=Wi;exports.IntegratorApiAxiosParamCreator=Qr;exports.IntegratorApiFactory=$i;exports.IntegratorApiFp=kr;exports.IntegratorCommissionApi=Xi;exports.IntegratorCommissionApiAxiosParamCreator=zr;exports.IntegratorCommissionApiFactory=Ki;exports.IntegratorCommissionApiFp=Yr;exports.InternalReportingApi=rl;exports.InternalReportingApiAxiosParamCreator=lr;exports.InternalReportingApiFactory=el;exports.InternalReportingApiFp=cr;exports.InternalTeamMemberDTOTeamEnum=pa;exports.InternalTeamMembersApi=sl;exports.InternalTeamMembersApiAxiosParamCreator=$r;exports.InternalTeamMembersApiFactory=nl;exports.InternalTeamMembersApiFp=Wr;exports.KpiDocumentApi=ll;exports.KpiDocumentApiAxiosParamCreator=Jr;exports.KpiDocumentApiFactory=il;exports.KpiDocumentApiFp=Kr;exports.LandlordDTOTypeEnum=ha;exports.LandlordsApi=ul;exports.LandlordsApiAxiosParamCreator=dr;exports.LandlordsApiFactory=dl;exports.LandlordsApiFp=ur;exports.MessageQueueApi=ml;exports.MessageQueueApiAxiosParamCreator=Xr;exports.MessageQueueApiFactory=Al;exports.MessageQueueApiFp=Zr;exports.MyDepositsOAuthApi=Pl;exports.MyDepositsOAuthApiAxiosParamCreator=ne;exports.MyDepositsOAuthApiFactory=Il;exports.MyDepositsOAuthApiFp=se;exports.MyDepositsOnboardingStatusResponseDTOOnboardingStatusEnum=Aa;exports.NetPromoterScoreApi=Vl;exports.NetPromoterScoreApiAxiosParamCreator=et;exports.NetPromoterScoreApiFactory=El;exports.NetPromoterScoreApiFp=rt;exports.NetPromoterScoreDTOCategoryEnum=Ra;exports.NetPromoterScoreDTOSurveyEventEnum=ma;exports.OfferToTenantRequestDTOTenantsReferenceStatusEnum=Ia;exports.OrderCustomerActionDTOTypeIdEnum=Pa;exports.OrderCustomerActionsApi=_l;exports.OrderCustomerActionsApiAxiosParamCreator=b;exports.OrderCustomerActionsApiFactory=ql;exports.OrderCustomerActionsApiFp=T;exports.OrderCustomersApi=Ll;exports.OrderCustomersApiAxiosParamCreator=Be;exports.OrderCustomersApiFactory=Dl;exports.OrderCustomersApiFp=Fe;exports.OrderDTOProductIdEnum=ga;exports.OrderDTORefundHandlingEnum=fa;exports.OrderDTOStatusIdEnum=wa;exports.OrderWithOrderCustomersDTOProductIdEnum=ya;exports.OrderWithOrderCustomersDTORefundHandlingEnum=Ea;exports.OrderWithOrderCustomersDTOStatusIdEnum=Oa;exports.OrdersApi=Hl;exports.OrdersApiAxiosParamCreator=pr;exports.OrdersApiFactory=Ml;exports.OrdersApiFp=hr;exports.OrganizationAttributesDTOInvoiceCategoryEnum=Va;exports.OrganizationBankAccountDTOAccountTypeEnum=Ca;exports.OrganizationBankAccountsApi=zl;exports.OrganizationBankAccountsApiAxiosParamCreator=je;exports.OrganizationBankAccountsApiFactory=kl;exports.OrganizationBankAccountsApiFp=Me;exports.OrganizationDTOOrganizationTypeIdEnum=qa;exports.OrganizationInternalOwnerDTOResponsibleForEnum=_a;exports.OrganizationInternalOwnersApi=Kl;exports.OrganizationInternalOwnersApiAxiosParamCreator=tt;exports.OrganizationInternalOwnersApiFactory=Jl;exports.OrganizationInternalOwnersApiFp=at;exports.OrganizationInvitesApi=ec;exports.OrganizationInvitesApiAxiosParamCreator=oe;exports.OrganizationInvitesApiFactory=Zl;exports.OrganizationInvitesApiFp=ie;exports.OrganizationRecipientDTOGroupEnum=va;exports.OrganizationRecipientsApi=ic;exports.OrganizationRecipientsApiAxiosParamCreator=Ar;exports.OrganizationRecipientsApiFactory=oc;exports.OrganizationRecipientsApiFp=mr;exports.OrganizationSettingsDTOCommissionRuleEnum=Ta;exports.OrganizationSettingsDTOMaximumPolicyCoverEnum=Sa;exports.OrganizationSettingsDTOPricingRuleEnum=ba;exports.OrganizationUserDTORolesEnum=Na;exports.OrganizationUsersApi=uc;exports.OrganizationUsersApiAxiosParamCreator=He;exports.OrganizationUsersApiFactory=dc;exports.OrganizationUsersApiFp=Ge;exports.OrganizationVerticalDTONameEnum=Ua;exports.OrganizationVerticalDTOTypeEnum=xa;exports.OrganizationWithCashDepositDTOOrganizationTypeIdEnum=Da;exports.OrganizationWithRepositsAndRolesOrganizationTypeIdEnum=La;exports.OrganizationWithRepositsAndRolesRolesEnum=Ba;exports.OrganizationWithRolesOrganizationTypeIdEnum=Fa;exports.OrganizationWithRolesRolesEnum=ja;exports.OrganizationsApi=Rc;exports.OrganizationsApiAxiosParamCreator=g;exports.OrganizationsApiFactory=mc;exports.OrganizationsApiFp=w;exports.PaymentDetailsResponseDTOCashDepositStatusEnum=Ma;exports.PaymentMethodChecksRequestDTOCustomerActionTypeEnum=Ha;exports.PaymentMethodChecksResponseDTOCvcEnum=Ga;exports.PaymentMethodChecksResponseDTOFundingEnum=za;exports.PaymentMethodChecksResponseDTONameMatchEnum=ka;exports.PaymentMethodChecksResponseDTOPostcodeEnum=Qa;exports.PaymentPlanActionDTOTypeIdEnum=Ya;exports.PaymentPlanActionsApi=kc;exports.PaymentPlanActionsApiAxiosParamCreator=Re;exports.PaymentPlanActionsApiFactory=Qc;exports.PaymentPlanActionsApiFp=Ie;exports.PaymentPlanDTOFrequencyEnum=$a;exports.PaymentPlanDTOStatusEnum=Wa;exports.PaymentPlanInstalmentDTOStatusEnum=Ja;exports.PaymentPlanInstalmentsApi=Kc;exports.PaymentPlanInstalmentsApiAxiosParamCreator=Qe;exports.PaymentPlanInstalmentsApiFactory=Jc;exports.PaymentPlanInstalmentsApiFp=ke;exports.PaymentPlansApi=td;exports.PaymentPlansApiAxiosParamCreator=B;exports.PaymentPlansApiFactory=rd;exports.PaymentPlansApiFp=F;exports.PlaidWebhookDtoNewPaymentStatusEnum=en;exports.PlaidWebhookDtoStatusEnum=Za;exports.PlaidWebhookDtoWebhookCodeEnum=Xa;exports.PlaidWebhookDtoWebhookTypeEnum=Ka;exports.PoliciesApi=dd;exports.PoliciesApiAxiosParamCreator=j;exports.PoliciesApiFactory=cd;exports.PoliciesApiFp=M;exports.PolicyDTOStatusEnum=rn;exports.PolicyDocumentsApi=Pd;exports.PolicyDocumentsApiAxiosParamCreator=Pe;exports.PolicyDocumentsApiFactory=Id;exports.PolicyDocumentsApiFp=ge;exports.PolicyTypeDTOCoverTypeEnum=tn;exports.PreTenancyDocumentsApi=Ed;exports.PreTenancyDocumentsApiAxiosParamCreator=Rr;exports.PreTenancyDocumentsApiFactory=Od;exports.PreTenancyDocumentsApiFp=Ir;exports.PricingApi=_d;exports.PricingApiAxiosParamCreator=Pr;exports.PricingApiFactory=qd;exports.PricingApiFp=gr;exports.PropertiesApi=Sd;exports.PropertiesApiAxiosParamCreator=ze;exports.PropertiesApiFactory=Td;exports.PropertiesApiFp=Ye;exports.QueueMessageDTOCronNameEnum=nn;exports.QueueMessageDTOTypeEnum=an;exports.ReconciliationDocumentsApi=Ld;exports.ReconciliationDocumentsApiAxiosParamCreator=nt;exports.ReconciliationDocumentsApiFactory=Dd;exports.ReconciliationDocumentsApiFp=st;exports.ReferenceDTOStatusEnum=sn;exports.ReferenceDocumentsApi=jd;exports.ReferenceDocumentsApiAxiosParamCreator=we;exports.ReferenceDocumentsApiFactory=Fd;exports.ReferenceDocumentsApiFp=fe;exports.ReferencesApi=zd;exports.ReferencesApiAxiosParamCreator=S;exports.ReferencesApiFactory=kd;exports.ReferencesApiFp=N;exports.RepositAddressDTOCountryEnum=on;exports.RepositAgentDTOUserTypeIdEnum=ln;exports.RepositDTOStatusEnum=cn;exports.RepositOfferDTOTenantsReferenceStatusEnum=dn;exports.RepositOfferRecipientDTOChoiceEnum=un;exports.RepositOffersApi=ru;exports.RepositOffersApiAxiosParamCreator=x;exports.RepositOffersApiFactory=eu;exports.RepositOffersApiFp=U;exports.RepositPolicyTypeDTOCategoryEnum=pn;exports.RepositSupplierDTOTypeEnum=hn;exports.RepositTenantDTOStatusEnum=An;exports.RepositTenantDocumentDTOTypeEnum=mn;exports.RepositWebhookDTOActionEnum=In;exports.RepositWebhookDTOResourceTypeEnum=Rn;exports.RepositWebhookTenantDTOStatusEnum=Pn;exports.RepositsApi=du;exports.RepositsApiAxiosParamCreator=_;exports.RepositsApiFactory=cu;exports.RepositsApiFp=v;exports.RequiredError=h;exports.SearchRepositOfferDTOTenantsReferenceStatusEnum=gn;exports.SeedRepositsApi=wu;exports.SeedRepositsApiAxiosParamCreator=ot;exports.SeedRepositsApiFactory=gu;exports.SeedRepositsApiFp=it;exports.SubmitFeedbackDTOApplicationEnum=wn;exports.SubmitFeedbackDTOSubjectEnum=fn;exports.SuppliersApi=Ou;exports.SuppliersApiAxiosParamCreator=wr;exports.SuppliersApiFactory=yu;exports.SuppliersApiFp=fr;exports.TenanciesApi=qu;exports.TenanciesApiAxiosParamCreator=V;exports.TenanciesApiFactory=Cu;exports.TenanciesApiFp=C;exports.TenancyAnniversariesApi=Hu;exports.TenancyAnniversariesApiAxiosParamCreator=lt;exports.TenancyAnniversariesApiFactory=Mu;exports.TenancyAnniversariesApiFp=ct;exports.TenancyCheckoutsApi=ku;exports.TenancyCheckoutsApiAxiosParamCreator=dt;exports.TenancyCheckoutsApiFactory=Qu;exports.TenancyCheckoutsApiFp=ut;exports.TenancyExpiriesApi=$u;exports.TenancyExpiriesApiAxiosParamCreator=yr;exports.TenancyExpiriesApiFactory=Yu;exports.TenancyExpiriesApiFp=Or;exports.TenancyInventoriesApi=Xu;exports.TenancyInventoriesApiAxiosParamCreator=Er;exports.TenancyInventoriesApiFactory=Ku;exports.TenancyInventoriesApiFp=Vr;exports.TenancyInventoryRespondentDTOResponseEnum=yn;exports.TenancyInventoryRespondentDTOStageEnum=On;exports.TenancyInviteDTORoleIdEnum=En;exports.TenancyInvitesApi=tp;exports.TenancyInvitesApiAxiosParamCreator=H;exports.TenancyInvitesApiFactory=rp;exports.TenancyInvitesApiFp=G;exports.TenancyOrderNotesApi=dp;exports.TenancyOrderNotesApiAxiosParamCreator=Cr;exports.TenancyOrderNotesApiFactory=cp;exports.TenancyOrderNotesApiFp=qr;exports.TenancyOrdersApi=Ap;exports.TenancyOrdersApiAxiosParamCreator=Q;exports.TenancyOrdersApiFactory=hp;exports.TenancyOrdersApiFp=k;exports.TenancyUserDTORoleIdEnum=Vn;exports.TenancyUsersApi=yp;exports.TenancyUsersApiAxiosParamCreator=ye;exports.TenancyUsersApiFactory=fp;exports.TenancyUsersApiFp=Oe;exports.TenantsApi=_p;exports.TenantsApiAxiosParamCreator=_r;exports.TenantsApiFactory=qp;exports.TenantsApiFp=vr;exports.TermsApi=Sp;exports.TermsApiAxiosParamCreator=br;exports.TermsApiFactory=Tp;exports.TermsApiFp=Tr;exports.UpdateClaimItemDTOTypeEnum=Cn;exports.UpdateLandlordDTOTypeEnum=qn;exports.UpdateOrganizationDTOOrganizationTypeIdEnum=_n;exports.UpdatePolicyStatusDTOStatusEnum=vn;exports.UserDTOInternalRolesEnum=Tn;exports.UserDTOUserTypeIdEnum=bn;exports.UsersApi=Dp;exports.UsersApiAxiosParamCreator=O;exports.UsersApiFactory=Up;exports.UsersApiFp=E;exports.VerifyPostcodeResponseDTOStatusEnum=Sn;exports.WebhooksApi=th;exports.WebhooksApiAxiosParamCreator=pt;exports.WebhooksApiFactory=rh;exports.WebhooksApiFp=ht;exports.aboutYou=vl;exports.acceptOrganizationInvite=rc;exports.acceptTenancyInvite=ap;exports.acknowledgeCaseSentToInsurer=Ao;exports.addAbitrationDocument=$n;exports.addClaimDocument=bs;exports.addClaimDocumentByDocumentId=Ts;exports.addClaimItemDocument=Ls;exports.addClaimItemDocumentByDocumentId=Bs;exports.addClaimResponseDocument=io;exports.addGuarantor=Op;exports.addItems=ud;exports.addPaymentMethod=zo;exports.addPolicyDocument=gd;exports.addPreTenancyDocumentByDocumentId=Vd;exports.addReferenceDocument=Md;exports.addRejectionReason=tu;exports.addTenant=vp;exports.addressHistory=bl;exports.agreeClaimProposal=eo;exports.approveClaim=mo;exports.changeInstalmentDates=ad;exports.checkConcurrentTenancy=Go;exports.closingRemindersEnabled=_u;exports.completeMyDepositsSetup=gl;exports.completeOnboardingIntroduction=Lp;exports.confirm=Tl;exports.confirmBankAccounts=Ic;exports.confirmPaymentPlan=zc;exports.confirmTenancyDetails=gs;exports.counterClaimProposal=ro;exports.create=Yl;exports.createAddress=Ln;exports.createApplicant=Gn;exports.createArbitration=es;exports.createCheckout=zu;exports.createClaim=Ro;exports.createClaimActivity=Io;exports.createClaimItem=Ws;exports.createClaimItemProposal=Qs;exports.createDocument=Wo;exports.createEvidenceChaser=Vi;exports.createEvidenceChaserItem=Ri;exports.createEvidenceChaserItemRequest=ei;exports.createEvidenceChaserItemResponse=li;exports.createEvidenceChaserItemResponseDocument=ni;exports.createEvidenceChaserItemReview=pi;exports.createFromS3=Jo;exports.createInsuranceClaim=ki;exports.createInsuranceClaimOnClaim=Po;exports.createNetPromoterScore=Cl;exports.createOffer=au;exports.createOneTimeSessionToken=Bp;exports.createOrganization=Pc;exports.createOrganizationInvite=tc;exports.createOrganizationRecipient=lc;exports.createPaymentPlan=nd;exports.createPolicy=pd;exports.createProperty=Nd;exports.createReference=Yd;exports.createReposit=uu;exports.createTenancy=vu;exports.createTenancyExpiry=Wu;exports.createTenancyInvite=np;exports.createTenancyOrder=bu;exports.createTenancyOrderNote=up;exports.dbHealthCheck=Ni;exports.deactivateClaim=go;exports.declineClaim=wo;exports.deferPaymentPlanInstalment=Xc;exports.deleteAbitrationDocument=Wn;exports.deleteBankAccount=$l;exports.deleteById=bp;exports.deleteClaimDocument=Ss;exports.deleteClaimItem=Js;exports.deleteClaimItemDocument=Fs;exports.deleteClaimItemProposal=ks;exports.deleteClaimResponseDocument=lo;exports.deleteEvidenceChaserItemRequest=ri;exports.deleteEvidenceChaserItemResponseDocument=si;exports.deleteGuarantor=Ep;exports.deleteInvite=ac;exports.deleteItem=hd;exports.deleteNote=pp;exports.deleteOffer=nu;exports.deleteOrganizationRecipient=cc;exports.deletePaymentPlanById=sd;exports.deletePolicyDocument=wd;exports.deletePreTenancyDocument=Cd;exports.deleteReferenceDocument=Hd;exports.deleteTenancyInvite=sp;exports.disableProductCreation=gc;exports.disableTopUps=Tu;exports.disableWarnings=Zu;exports.dismissNewProductUpdates=Fp;exports.dismissOrganizationMessage=wc;exports.dismissUserMessage=jp;exports.disputeClaimProposal=to;exports.duplicatePaymentMethodCheck=Gl;exports.enableProductCreation=fc;exports.exchangeMyDepositsToken=wl;exports.expireEvidenceChaser=Ci;exports.extendOutcomeDeadline=Su;exports.fetchAddressesByOrganizationId=yc;exports.fetchInvitesByOrganizationId=nc;exports.fetchInvitesByTenancyId=op;exports.fetchLandlordsByOrganizationId=Oc;exports.fetchOrganizationUsersByOrganizationId=Ec;exports.fetchPropertiesByOrganizationId=Vc;exports.fetchTenanciesByOrganizationId=Cc;exports.fetchUsersByOrganizationId=qc;exports.findAbitrationDocumentById=Jn;exports.findAddressById=Bn;exports.findAll=ol;exports.findApplicantById=Qn;exports.findCheckById=Cs;exports.findClaimById=fo;exports.findClaimDocumentById=Ns;exports.findClaimItemDocumentById=js;exports.findClaimResponseDocumentById=co;exports.findManyAbitrationDocuments=Kn;exports.findManyClaimDocuments=xs;exports.findManyClaimItemDocuments=Ms;exports.findManyClaimResponseDocuments=uo;exports.findManyPolicyDocuments=fd;exports.findManyReferenceDocuments=Gd;exports.findOne=Ad;exports.findOneByID=Mp;exports.findOrganizationById=_c;exports.findPolicyDocumentById=yd;exports.findReferenceById=$d;exports.findReferenceDocumentById=Qd;exports.generateADRForm=yo;exports.generateCashDepositPlaidLinkToken=ws;exports.generateCommissionCsvForPeriod=jo;exports.generateLastMonthCommission=Zi;exports.getActive=hs;exports.getAmountRemaining=Ql;exports.getArbitrationById=rs;exports.getBankAccounts=Wl;exports.getByTenancyId=Ju;exports.getCashDepositAmount=vd;exports.getCashDepositScheme=vc;exports.getChecks=Wd;exports.getChildren=bc;exports.getCompletedReposits=tl;exports.getCreatedReposits=al;exports.getCustomer=Hp;exports.getDocumentsByIds=Ko;exports.getEvidenceChaserById=qi;exports.getInstalmentById=Zc;exports.getInstalmentPaymentIntentSecret=ed;exports.getInsuranceClaim=zi;exports.getIntegrators=Ji;exports.getLandlordById=pl;exports.getMyDepositsAuthorizeUrl=fl;exports.getMyDepositsCompanyOffices=yl;exports.getMyDepositsOnboardingStatus=Ol;exports.getMySupplier=Eu;exports.getOrderCustomerById=Bl;exports.getOrganizationMetrics=Tc;exports.getOrganizationUsers=Gp;exports.getOrganizationVerticals=Sc;exports.getOwners=Xl;exports.getPaymentDetails=fs;exports.getPaymentPlanAction=Yc;exports.getPaymentPlanById=od;exports.getPaymentPlanPropertyAddressById=id;exports.getPropertyById=xd;exports.getRecipients=Nc;exports.getReferenceDocuments=Jd;exports.getRepositById=pu;exports.getRepositFee=bd;exports.getRepositLandlord=hu;exports.getRepositOffer=su;exports.getRepositPolicies=Au;exports.getRepositPrice=mu;exports.getSetupIntentSecret=ld;exports.getSupplierAgents=Vu;exports.getSupplierTerms=Np;exports.getTenancyAnniversaries=Gu;exports.getTenancyById=Nu;exports.getTenancyDocuments=xu;exports.getTenancyOrderById=mp;exports.getTenancyOrdersByProductId=Qp;exports.getTenancyUserById=Fl;exports.getTenantDocuments=Ru;exports.getTenantTerms=xp;exports.getUserAccount=kp;exports.getUserTenancyAnniversaries=zp;exports.grantRoles=pc;exports.healthCheck=xi;exports.login=os;exports.me=Yp;exports.notifyIntegrator=hc;exports.optimisedSearch=Rp;exports.optimisedSearchClaim=Oo;exports.override=qs;exports.pay=Sl;exports.paySupplier=Eo;exports.paymentCardChecks=jl;exports.processIncomingMessage=Rl;exports.processPlaidWebhooks=Li;exports.processSendGridWebhooks=Bi;exports.processStripeWebhooks=Fi;exports.processTwilioIvrWebhooks=ji;exports.processTwilioIvrWebhooksWithGatherAction=Mi;exports.processTwilioVoicemailWebhook=Hi;exports.publish=Uu;exports.publishArbitration=ts;exports.publishClaim=Vo;exports.publishClaimProposal=ao;exports.publishEvidenceChaserRequests=wi;exports.publishEvidenceChaserResponses=fi;exports.publishEvidenceChaserReviews=yi;exports.publishReposit=Iu;exports.readyForArbitrateClaim=Co;exports.readyForReview=Kd;exports.redeemOneTimeSessionToken=is;exports.reference=Nl;exports.removeTenancyOrderById=Ip;exports.removeUser=xc;exports.reopenClaim=qo;exports.reopenTenancyOrder=Pp;exports.replaceReposit=Pu;exports.requestMoreInfoClaim=_o;exports.resendOrganizationInvite=sc;exports.resendTenancyInvite=ip;exports.resetPassword=ls;exports.resetPasswordRequest=cs;exports.resetUserPassword=$p;exports.resolveClaim=vo;exports.resolveInsuranceClaim=Yi;exports.respondToOffer=ou;exports.revokeRoles=Ac;exports.searchAddressesByPostcode=Fn;exports.searchKpiDocuments=cl;exports.searchOffers=iu;exports.searchOrganization=Uc;exports.searchProperties=Ud;exports.searchReconciliationDocuments=Bd;exports.searchReferences=Xd;exports.searchUser=Wp;exports.seedReposit=fu;exports.sendOverdueChasers=gp;exports.sendReminder=lu;exports.sendReminderEmail=Vp;exports.setLandlordInformationComplete=Dc;exports.setPassword=ds;exports.sign=xl;exports.signAddendumForSupplier=Du;exports.signAddendumForTenant=Ul;exports.signCashDeposit=ys;exports.skipEvidenceChaser=bo;exports.submitChecks=Zd;exports.submitFeedback=bi;exports.submitMoreInfoClaim=To;exports.tenantConfirmation=ep;exports.tenantVacated=Lu;exports.transferTenancyOrderToOrganization=wp;exports.unpublishClaimProposal=no;exports.updateASTAcceptance=Lc;exports.updateAboutMe=Jp;exports.updateAddress=$c;exports.updateAddressById=jn;exports.updateAddressHistory=Kp;exports.updateArbitration=as;exports.updateAttributes=kn;exports.updateAutoCharge=So;exports.updateBeneficiary=Rs;exports.updateBetaEnabled=Xp;exports.updateCardDetails=Wc;exports.updateClaim=No;exports.updateClaimItem=Ks;exports.updateClaimItemProposal=zs;exports.updateEmailSettings=Zp;exports.updateEvidenceChaserItem=Ii;exports.updateEvidenceChaserItemResponse=ci;exports.updateEvidenceChaserItemReview=hi;exports.updateExistingProperty=Bu;exports.updateGuarantor=Cp;exports.updateInformedLandlords=Bc;exports.updateIntegrationWebhookUrl=ah;exports.updateLandlord=hl;exports.updateOrganization=Fc;exports.updateOrganizationNotes=jc;exports.updatePolicy=md;exports.updateProperty=Fu;exports.updateStatus=Rd;exports.updateTenancy=ju;exports.updateTenancyInvite=lp;exports.updateTenantDisputeMessage=xo;exports.updateTermsAccepted=Mc;exports.updateUser=eh;exports.updateYourCompany=Hc;exports.verifyClaim=Uo;exports.verifyPostcode=Os;exports.waiveDisputeFee=Do;exports.welcomeLandlord=Gc;exports.zipDocuments=Lo;
|