@meetelise/chat 1.12.12 → 1.12.15

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.
@@ -1,5 +1,5 @@
1
1
  /*! For license information please see index.js.LICENSE.txt */
2
- var e={8005:function(e,t,i){var n,r=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function i(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}),o=this&&this.__awaiter||function(e,t,i,n){return new(i||(i=Promise))((function(r,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var i,n,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(i)throw new TypeError("Generator is already executing.");for(;a;)try{if(i=1,n&&(r=2&o[0]?n.return:o[0]?n.throw||((r=n.return)&&r.call(n),0):n.next)&&!(r=r.call(n,o[1])).done)return r;switch(n=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],n=0}finally{i=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.ActionConsumerApiControllerApi=void 0;var s=i(296),l=i(4584),u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.cancelRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.cancelActionDto||void 0===e.cancelActionDto)throw new s.RequiredError("cancelActionDto","Required parameter requestParameters.cancelActionDto was null or undefined when calling cancel.");return i={},(n={})["Content-Type"]="application/json",[4,this.request({path:"/api/v1/actions/cancel",method:"POST",headers:n,query:i,body:(0,l.CancelActionDtoToJSON)(e.cancelActionDto)},t)];case 1:return r=o.sent(),[2,new s.TextApiResponse(r)]}}))}))},t.prototype.cancel=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.cancelRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t.prototype.createNoShowActionRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.noShowActionDto||void 0===e.noShowActionDto)throw new s.RequiredError("noShowActionDto","Required parameter requestParameters.noShowActionDto was null or undefined when calling createNoShowAction.");return i={},(n={})["Content-Type"]="application/json",[4,this.request({path:"/api/v1/actions/noShow",method:"POST",headers:n,query:i,body:(0,l.NoShowActionDtoToJSON)(e.noShowActionDto)},t)];case 1:return r=o.sent(),[2,new s.TextApiResponse(r)]}}))}))},t.prototype.createNoShowAction=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.createNoShowActionRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t.prototype.createRescheduleConfirmedActionRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.rescheduleConfirmedDto||void 0===e.rescheduleConfirmedDto)throw new s.RequiredError("rescheduleConfirmedDto","Required parameter requestParameters.rescheduleConfirmedDto was null or undefined when calling createRescheduleConfirmedAction.");return i={},(n={})["Content-Type"]="application/json",[4,this.request({path:"/api/v1/actions/rescheduleConfirmed",method:"POST",headers:n,query:i,body:(0,l.RescheduleConfirmedDtoToJSON)(e.rescheduleConfirmedDto)},t)];case 1:return r=o.sent(),[2,new s.TextApiResponse(r)]}}))}))},t.prototype.createRescheduleConfirmedAction=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.createRescheduleConfirmedActionRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t.prototype.createRescheduleProposedActionRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.rescheduleProposedDto||void 0===e.rescheduleProposedDto)throw new s.RequiredError("rescheduleProposedDto","Required parameter requestParameters.rescheduleProposedDto was null or undefined when calling createRescheduleProposedAction.");return i={},(n={})["Content-Type"]="application/json",[4,this.request({path:"/api/v1/actions/rescheduleProposed",method:"POST",headers:n,query:i,body:(0,l.RescheduleProposedDtoToJSON)(e.rescheduleProposedDto)},t)];case 1:return r=o.sent(),[2,new s.TextApiResponse(r)]}}))}))},t.prototype.createRescheduleProposedAction=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.createRescheduleProposedActionRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t.prototype.createShowActionRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.showActionDto||void 0===e.showActionDto)throw new s.RequiredError("showActionDto","Required parameter requestParameters.showActionDto was null or undefined when calling createShowAction.");return i={},(n={})["Content-Type"]="application/json",[4,this.request({path:"/api/v1/actions/show",method:"POST",headers:n,query:i,body:(0,l.ShowActionDtoToJSON)(e.showActionDto)},t)];case 1:return r=o.sent(),[2,new s.TextApiResponse(r)]}}))}))},t.prototype.createShowAction=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.createShowActionRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t.prototype.scheduleActionRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.scheduleDto||void 0===e.scheduleDto)throw new s.RequiredError("scheduleDto","Required parameter requestParameters.scheduleDto was null or undefined when calling scheduleAction.");return i={},(n={})["Content-Type"]="application/json",[4,this.request({path:"/api/v1/actions/schedule",method:"POST",headers:n,query:i,body:(0,l.ScheduleDtoToJSON)(e.scheduleDto)},t)];case 1:return r=o.sent(),[2,new s.TextApiResponse(r)]}}))}))},t.prototype.scheduleAction=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.scheduleActionRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t.prototype.sendAgentMessageRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.sendAgentMessageDto||void 0===e.sendAgentMessageDto)throw new s.RequiredError("sendAgentMessageDto","Required parameter requestParameters.sendAgentMessageDto was null or undefined when calling sendAgentMessage.");return i={},(n={})["Content-Type"]="application/json",[4,this.request({path:"/api/v1/actions/sendAgentMessage",method:"POST",headers:n,query:i,body:(0,l.SendAgentMessageDtoToJSON)(e.sendAgentMessageDto)},t)];case 1:return r=o.sent(),[2,new s.TextApiResponse(r)]}}))}))},t.prototype.sendAgentMessage=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.sendAgentMessageRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t.prototype.updateAgentOnContextRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.contextId||void 0===e.contextId)throw new s.RequiredError("contextId","Required parameter requestParameters.contextId was null or undefined when calling updateAgentOnContext.");if(null===e.leasingAgentId||void 0===e.leasingAgentId)throw new s.RequiredError("leasingAgentId","Required parameter requestParameters.leasingAgentId was null or undefined when calling updateAgentOnContext.");return i={},n={},[4,this.request({path:"/api/v1/actions/updateAgentOnContext/{contextId}/{leasingAgentId}".replace("{".concat("contextId","}"),encodeURIComponent(String(e.contextId))).replace("{".concat("leasingAgentId","}"),encodeURIComponent(String(e.leasingAgentId))),method:"POST",headers:n,query:i},t)];case 1:return r=o.sent(),[2,new s.TextApiResponse(r)]}}))}))},t.prototype.updateAgentOnContext=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.updateAgentOnContextRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t.prototype.walkInAndShowCreateRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.walkInAndShowActionDto||void 0===e.walkInAndShowActionDto)throw new s.RequiredError("walkInAndShowActionDto","Required parameter requestParameters.walkInAndShowActionDto was null or undefined when calling walkInAndShowCreate.");return i={},(n={})["Content-Type"]="application/json",[4,this.request({path:"/api/v1/actions/walkInAndShow",method:"POST",headers:n,query:i,body:(0,l.WalkInAndShowActionDtoToJSON)(e.walkInAndShowActionDto)},t)];case 1:return r=o.sent(),[2,new s.TextApiResponse(r)]}}))}))},t.prototype.walkInAndShowCreate=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.walkInAndShowCreateRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t.prototype.walkInOrCallCreateRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.walkInOrCallActionDto||void 0===e.walkInOrCallActionDto)throw new s.RequiredError("walkInOrCallActionDto","Required parameter requestParameters.walkInOrCallActionDto was null or undefined when calling walkInOrCallCreate.");return i={},(n={})["Content-Type"]="application/json",[4,this.request({path:"/api/v1/actions/walkInOrCall",method:"POST",headers:n,query:i,body:(0,l.WalkInOrCallActionDtoToJSON)(e.walkInOrCallActionDto)},t)];case 1:return r=o.sent(),[2,new s.TextApiResponse(r)]}}))}))},t.prototype.walkInOrCallCreate=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.walkInOrCallCreateRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t}(s.BaseAPI);t.ActionConsumerApiControllerApi=u},2497:function(e,t,i){var n,r=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function i(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}),o=this&&this.__awaiter||function(e,t,i,n){return new(i||(i=Promise))((function(r,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var i,n,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(i)throw new TypeError("Generator is already executing.");for(;a;)try{if(i=1,n&&(r=2&o[0]?n.return:o[0]?n.throw||((r=n.return)&&r.call(n),0):n.next)&&!(r=r.call(n,o[1])).done)return r;switch(n=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],n=0}finally{i=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.AlertQueueControllerApi=void 0;var s=i(296),l=i(4584),u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.allForBuildingRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.buildingId||void 0===e.buildingId)throw new s.RequiredError("buildingId","Required parameter requestParameters.buildingId was null or undefined when calling allForBuilding.");return i={},n={},[4,this.request({path:"/api/v1/alerts/{buildingId}".replace("{".concat("buildingId","}"),encodeURIComponent(String(e.buildingId))),method:"GET",headers:n,query:i},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return e.map(l.AlertQueueInfoFromJSON)}))]}}))}))},t.prototype.allForBuilding=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.allForBuildingRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t.prototype.emailsForContextRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.contextId||void 0===e.contextId)throw new s.RequiredError("contextId","Required parameter requestParameters.contextId was null or undefined when calling emailsForContext.");return i={},n={},[4,this.request({path:"/api/v1/alerts/{contextId}/emails/".replace("{".concat("contextId","}"),encodeURIComponent(String(e.contextId))),method:"GET",headers:n,query:i},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return e.map(l.AlertQueueMessageFromJSON)}))]}}))}))},t.prototype.emailsForContext=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.emailsForContextRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t.prototype.textsForContextRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.contextId||void 0===e.contextId)throw new s.RequiredError("contextId","Required parameter requestParameters.contextId was null or undefined when calling textsForContext.");return i={},n={},[4,this.request({path:"/api/v1/alerts/{contextId}/texts/".replace("{".concat("contextId","}"),encodeURIComponent(String(e.contextId))),method:"GET",headers:n,query:i},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return e.map(l.AlertQueueMessageFromJSON)}))]}}))}))},t.prototype.textsForContext=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.textsForContextRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t}(s.BaseAPI);t.AlertQueueControllerApi=u},8730:function(e,t,i){var n,r=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function i(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}),o=this&&this.__awaiter||function(e,t,i,n){return new(i||(i=Promise))((function(r,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var i,n,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(i)throw new TypeError("Generator is already executing.");for(;a;)try{if(i=1,n&&(r=2&o[0]?n.return:o[0]?n.throw||((r=n.return)&&r.call(n),0):n.next)&&!(r=r.call(n,o[1])).done)return r;switch(n=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],n=0}finally{i=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.BuildingControllerApi=void 0;var s=i(296),l=i(4584),u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.create2Raw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.communityFormView||void 0===e.communityFormView)throw new s.RequiredError("communityFormView","Required parameter requestParameters.communityFormView was null or undefined when calling create2.");return i={},(n={})["Content-Type"]="application/json",[4,this.request({path:"/api/v1/building/",method:"POST",headers:n,query:i,body:(0,l.CommunityFormViewToJSON)(e.communityFormView)},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return(0,l.UiBuildingDetailsFromJSON)(e)}))]}}))}))},t.prototype.create2=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.create2Raw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t.prototype.deleteAvatarRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.id||void 0===e.id)throw new s.RequiredError("id","Required parameter requestParameters.id was null or undefined when calling deleteAvatar.");return i={},n={},[4,this.request({path:"/api/v1/building/{id}/avatar".replace("{".concat("id","}"),encodeURIComponent(String(e.id))),method:"DELETE",headers:n,query:i},t)];case 1:return r=o.sent(),[2,new s.VoidApiResponse(r)]}}))}))},t.prototype.deleteAvatar=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.deleteAvatarRaw(e,t)];case 1:return i.sent(),[2]}}))}))},t.prototype.deleteLogoRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.id||void 0===e.id)throw new s.RequiredError("id","Required parameter requestParameters.id was null or undefined when calling deleteLogo.");return i={},n={},[4,this.request({path:"/api/v1/building/{id}/logo".replace("{".concat("id","}"),encodeURIComponent(String(e.id))),method:"DELETE",headers:n,query:i},t)];case 1:return r=o.sent(),[2,new s.VoidApiResponse(r)]}}))}))},t.prototype.deleteLogo=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.deleteLogoRaw(e,t)];case 1:return i.sent(),[2]}}))}))},t.prototype.get4Raw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.id||void 0===e.id)throw new s.RequiredError("id","Required parameter requestParameters.id was null or undefined when calling get4.");return i={},n={},[4,this.request({path:"/api/v1/building/{id}".replace("{".concat("id","}"),encodeURIComponent(String(e.id))),method:"GET",headers:n,query:i},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return(0,l.UiBuildingDetailsFromJSON)(e)}))]}}))}))},t.prototype.get4=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.get4Raw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t.prototype.getActiveBuildingsMapRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.requestBody||void 0===e.requestBody)throw new s.RequiredError("requestBody","Required parameter requestParameters.requestBody was null or undefined when calling getActiveBuildingsMap.");return i={},(n={})["Content-Type"]="application/json",[4,this.request({path:"/api/v1/building/buildingStatuses",method:"POST",headers:n,query:i,body:e.requestBody},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r)]}}))}))},t.prototype.getActiveBuildingsMap=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.getActiveBuildingsMapRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t.prototype.getAll1Raw=function(e){return o(this,void 0,void 0,(function(){var t,i,n;return a(this,(function(r){switch(r.label){case 0:return t={},i={},[4,this.request({path:"/api/v1/building/",method:"GET",headers:i,query:t},e)];case 1:return n=r.sent(),[2,new s.JSONApiResponse(n,(function(e){return e.map(l.CommunityPageBuildingFromJSON)}))]}}))}))},t.prototype.getAll1=function(e){return o(this,void 0,void 0,(function(){return a(this,(function(t){switch(t.label){case 0:return[4,this.getAll1Raw(e)];case 1:return[4,t.sent().value()];case 2:return[2,t.sent()]}}))}))},t.prototype.getBuildingAiAgentNameMapRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.requestBody||void 0===e.requestBody)throw new s.RequiredError("requestBody","Required parameter requestParameters.requestBody was null or undefined when calling getBuildingAiAgentNameMap.");return i={},(n={})["Content-Type"]="application/json",[4,this.request({path:"/api/v1/building/buildingAiAgents",method:"POST",headers:n,query:i,body:e.requestBody},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r)]}}))}))},t.prototype.getBuildingAiAgentNameMap=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.getBuildingAiAgentNameMapRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t.prototype.getBuildingNameMapRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.requestBody||void 0===e.requestBody)throw new s.RequiredError("requestBody","Required parameter requestParameters.requestBody was null or undefined when calling getBuildingNameMap.");return i={},(n={})["Content-Type"]="application/json",[4,this.request({path:"/api/v1/building/buildingNames",method:"POST",headers:n,query:i,body:e.requestBody},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r)]}}))}))},t.prototype.getBuildingNameMap=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.getBuildingNameMapRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t.prototype.getBuildingTimezoneMapRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.requestBody||void 0===e.requestBody)throw new s.RequiredError("requestBody","Required parameter requestParameters.requestBody was null or undefined when calling getBuildingTimezoneMap.");return i={},(n={})["Content-Type"]="application/json",[4,this.request({path:"/api/v1/building/buildingTimeZones",method:"POST",headers:n,query:i,body:e.requestBody},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r)]}}))}))},t.prototype.getBuildingTimezoneMap=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.getBuildingTimezoneMapRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t.prototype.putChatThemeRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r,o,l,u;return a(this,(function(a){switch(a.label){case 0:if(null===e.id||void 0===e.id)throw new s.RequiredError("id","Required parameter requestParameters.id was null or undefined when calling putChatTheme.");if(null===e.title||void 0===e.title)throw new s.RequiredError("title","Required parameter requestParameters.title was null or undefined when calling putChatTheme.");if(null===e.subtitle||void 0===e.subtitle)throw new s.RequiredError("subtitle","Required parameter requestParameters.subtitle was null or undefined when calling putChatTheme.");if(null===e.bannerColor||void 0===e.bannerColor)throw new s.RequiredError("bannerColor","Required parameter requestParameters.bannerColor was null or undefined when calling putChatTheme.");if(null===e.bannerTextColor||void 0===e.bannerTextColor)throw new s.RequiredError("bannerTextColor","Required parameter requestParameters.bannerTextColor was null or undefined when calling putChatTheme.");if(null===e.messageColor||void 0===e.messageColor)throw new s.RequiredError("messageColor","Required parameter requestParameters.messageColor was null or undefined when calling putChatTheme.");if(null===e.messageTextColor||void 0===e.messageTextColor)throw new s.RequiredError("messageTextColor","Required parameter requestParameters.messageTextColor was null or undefined when calling putChatTheme.");if(null===e.launchButtonColor||void 0===e.launchButtonColor)throw new s.RequiredError("launchButtonColor","Required parameter requestParameters.launchButtonColor was null or undefined when calling putChatTheme.");if(null===e.launchButtonIconColor||void 0===e.launchButtonIconColor)throw new s.RequiredError("launchButtonIconColor","Required parameter requestParameters.launchButtonIconColor was null or undefined when calling putChatTheme.");if(null===e.launchButtonSize||void 0===e.launchButtonSize)throw new s.RequiredError("launchButtonSize","Required parameter requestParameters.launchButtonSize was null or undefined when calling putChatTheme.");if(null===e.avatarType||void 0===e.avatarType)throw new s.RequiredError("avatarType","Required parameter requestParameters.avatarType was null or undefined when calling putChatTheme.");if(null===e.avatarInitials||void 0===e.avatarInitials)throw new s.RequiredError("avatarInitials","Required parameter requestParameters.avatarInitials was null or undefined when calling putChatTheme.");return i={},void 0!==e.title&&(i.title=e.title),void 0!==e.subtitle&&(i.subtitle=e.subtitle),void 0!==e.bannerColor&&(i.bannerColor=e.bannerColor),void 0!==e.bannerTextColor&&(i.bannerTextColor=e.bannerTextColor),void 0!==e.messageColor&&(i.messageColor=e.messageColor),void 0!==e.messageTextColor&&(i.messageTextColor=e.messageTextColor),void 0!==e.launchButtonColor&&(i.launchButtonColor=e.launchButtonColor),void 0!==e.launchButtonIconColor&&(i.launchButtonIconColor=e.launchButtonIconColor),void 0!==e.launchButtonSize&&(i.launchButtonSize=e.launchButtonSize),void 0!==e.avatarType&&(i.avatarType=e.avatarType),void 0!==e.avatarInitials&&(i.avatarInitials=e.avatarInitials),n={},r=[{contentType:"multipart/form-data"}],o=s.canConsumeForm(r),l=o?new FormData:new URLSearchParams,void 0!==e.avatarSrc&&l.append("avatarSrc",e.avatarSrc),[4,this.request({path:"/api/v1/building/{id}/chat-theme".replace("{".concat("id","}"),encodeURIComponent(String(e.id))),method:"PUT",headers:n,query:i,body:l},t)];case 1:return u=a.sent(),[2,new s.VoidApiResponse(u)]}}))}))},t.prototype.putChatTheme=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.putChatThemeRaw(e,t)];case 1:return i.sent(),[2]}}))}))},t.prototype.putSSTThemeRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r,o,l,u;return a(this,(function(a){switch(a.label){case 0:if(null===e.id||void 0===e.id)throw new s.RequiredError("id","Required parameter requestParameters.id was null or undefined when calling putSSTTheme.");if(null===e.primaryColor||void 0===e.primaryColor)throw new s.RequiredError("primaryColor","Required parameter requestParameters.primaryColor was null or undefined when calling putSSTTheme.");if(null===e.backgroundColor||void 0===e.backgroundColor)throw new s.RequiredError("backgroundColor","Required parameter requestParameters.backgroundColor was null or undefined when calling putSSTTheme.");return i={},void 0!==e.primaryColor&&(i.primaryColor=e.primaryColor),void 0!==e.backgroundColor&&(i.backgroundColor=e.backgroundColor),n={},r=[{contentType:"multipart/form-data"}],o=s.canConsumeForm(r),l=o?new FormData:new URLSearchParams,void 0!==e.logoSrc&&l.append("logoSrc",e.logoSrc),[4,this.request({path:"/api/v1/building/{id}/sst-theme".replace("{".concat("id","}"),encodeURIComponent(String(e.id))),method:"PUT",headers:n,query:i,body:l},t)];case 1:return u=a.sent(),[2,new s.VoidApiResponse(u)]}}))}))},t.prototype.putSSTTheme=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.putSSTThemeRaw(e,t)];case 1:return i.sent(),[2]}}))}))},t.prototype.update5Raw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.id||void 0===e.id)throw new s.RequiredError("id","Required parameter requestParameters.id was null or undefined when calling update5.");if(null===e.communityFormView||void 0===e.communityFormView)throw new s.RequiredError("communityFormView","Required parameter requestParameters.communityFormView was null or undefined when calling update5.");return i={},(n={})["Content-Type"]="application/json",[4,this.request({path:"/api/v1/building/{id}".replace("{".concat("id","}"),encodeURIComponent(String(e.id))),method:"PUT",headers:n,query:i,body:(0,l.CommunityFormViewToJSON)(e.communityFormView)},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return(0,l.UiBuildingDetailsFromJSON)(e)}))]}}))}))},t.prototype.update5=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.update5Raw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t.prototype.updateDailyReportEmailsRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.id||void 0===e.id)throw new s.RequiredError("id","Required parameter requestParameters.id was null or undefined when calling updateDailyReportEmails.");if(null===e.updateEmailsRequest||void 0===e.updateEmailsRequest)throw new s.RequiredError("updateEmailsRequest","Required parameter requestParameters.updateEmailsRequest was null or undefined when calling updateDailyReportEmails.");return i={},(n={})["Content-Type"]="application/json",[4,this.request({path:"/api/v1/building/dailyReportEmails/{id}".replace("{".concat("id","}"),encodeURIComponent(String(e.id))),method:"PUT",headers:n,query:i,body:(0,l.UpdateEmailsRequestToJSON)(e.updateEmailsRequest)},t)];case 1:return r=o.sent(),[2,new s.TextApiResponse(r)]}}))}))},t.prototype.updateDailyReportEmails=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.updateDailyReportEmailsRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t.prototype.updateHandoffForwardEmailsRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.id||void 0===e.id)throw new s.RequiredError("id","Required parameter requestParameters.id was null or undefined when calling updateHandoffForwardEmails.");if(null===e.updateEmailsRequest||void 0===e.updateEmailsRequest)throw new s.RequiredError("updateEmailsRequest","Required parameter requestParameters.updateEmailsRequest was null or undefined when calling updateHandoffForwardEmails.");return i={},(n={})["Content-Type"]="application/json",[4,this.request({path:"/api/v1/building/handoffForwardEmails/{id}".replace("{".concat("id","}"),encodeURIComponent(String(e.id))),method:"PUT",headers:n,query:i,body:(0,l.UpdateEmailsRequestToJSON)(e.updateEmailsRequest)},t)];case 1:return r=o.sent(),[2,new s.TextApiResponse(r)]}}))}))},t.prototype.updateHandoffForwardEmails=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.updateHandoffForwardEmailsRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t.prototype.updateWeeklyReportEmailsRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.id||void 0===e.id)throw new s.RequiredError("id","Required parameter requestParameters.id was null or undefined when calling updateWeeklyReportEmails.");if(null===e.updateEmailsRequest||void 0===e.updateEmailsRequest)throw new s.RequiredError("updateEmailsRequest","Required parameter requestParameters.updateEmailsRequest was null or undefined when calling updateWeeklyReportEmails.");return i={},(n={})["Content-Type"]="application/json",[4,this.request({path:"/api/v1/building/weeklyReportEmails/{id}".replace("{".concat("id","}"),encodeURIComponent(String(e.id))),method:"PUT",headers:n,query:i,body:(0,l.UpdateEmailsRequestToJSON)(e.updateEmailsRequest)},t)];case 1:return r=o.sent(),[2,new s.TextApiResponse(r)]}}))}))},t.prototype.updateWeeklyReportEmails=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.updateWeeklyReportEmailsRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t}(s.BaseAPI);t.BuildingControllerApi=u},9530:function(e,t,i){var n,r=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function i(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}),o=this&&this.__awaiter||function(e,t,i,n){return new(i||(i=Promise))((function(r,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var i,n,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(i)throw new TypeError("Generator is already executing.");for(;a;)try{if(i=1,n&&(r=2&o[0]?n.return:o[0]?n.throw||((r=n.return)&&r.call(n),0):n.next)&&!(r=r.call(n,o[1])).done)return r;switch(n=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],n=0}finally{i=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.BuildingSchedulingControllerApi=void 0;var s=i(296),l=i(4584),u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.getTourAvailabilityRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.buildingId||void 0===e.buildingId)throw new s.RequiredError("buildingId","Required parameter requestParameters.buildingId was null or undefined when calling getTourAvailability.");if(null===e.startTime||void 0===e.startTime)throw new s.RequiredError("startTime","Required parameter requestParameters.startTime was null or undefined when calling getTourAvailability.");if(null===e.endTime||void 0===e.endTime)throw new s.RequiredError("endTime","Required parameter requestParameters.endTime was null or undefined when calling getTourAvailability.");return i={},void 0!==e.startTime&&(i.startTime=e.startTime),void 0!==e.endTime&&(i.endTime=e.endTime),n={},[4,this.request({path:"/api/pub/v1/buildings/{buildingId}/tour/availabilities".replace("{".concat("buildingId","}"),encodeURIComponent(String(e.buildingId))),method:"GET",headers:n,query:i},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return(0,l.TourAvailabilityResponseFromJSON)(e)}))]}}))}))},t.prototype.getTourAvailability=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.getTourAvailabilityRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t}(s.BaseAPI);t.BuildingSchedulingControllerApi=u},8823:function(e,t,i){var n,r=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function i(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}),o=this&&this.__awaiter||function(e,t,i,n){return new(i||(i=Promise))((function(r,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var i,n,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(i)throw new TypeError("Generator is already executing.");for(;a;)try{if(i=1,n&&(r=2&o[0]?n.return:o[0]?n.throw||((r=n.return)&&r.call(n),0):n.next)&&!(r=r.call(n,o[1])).done)return r;switch(n=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],n=0}finally{i=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.BuildingsControllerApi=void 0;var s=i(296),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.listUnitsRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.buildingId||void 0===e.buildingId)throw new s.RequiredError("buildingId","Required parameter requestParameters.buildingId was null or undefined when calling listUnits.");return i={},n={},[4,this.request({path:"/api/buildings/{buildingId}/units".replace("{".concat("buildingId","}"),encodeURIComponent(String(e.buildingId))),method:"GET",headers:n,query:i},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r)]}}))}))},t.prototype.listUnits=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.listUnitsRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t}(s.BaseAPI);t.BuildingsControllerApi=l},4100:function(e,t,i){var n,r=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function i(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}),o=this&&this.__awaiter||function(e,t,i,n){return new(i||(i=Promise))((function(r,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var i,n,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(i)throw new TypeError("Generator is already executing.");for(;a;)try{if(i=1,n&&(r=2&o[0]?n.return:o[0]?n.throw||((r=n.return)&&r.call(n),0):n.next)&&!(r=r.call(n,o[1])).done)return r;switch(n=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],n=0}finally{i=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.CalendarEventTourHandlerControllerApi=void 0;var s=i(296),l=i(4584),u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.createCalendarEventTourHandlerRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.createCalendarEventTourHandlerDto||void 0===e.createCalendarEventTourHandlerDto)throw new s.RequiredError("createCalendarEventTourHandlerDto","Required parameter requestParameters.createCalendarEventTourHandlerDto was null or undefined when calling createCalendarEventTourHandler.");return i={},(n={})["Content-Type"]="application/json",[4,this.request({path:"/api/v1/tourHandler/assign",method:"POST",headers:n,query:i,body:(0,l.CreateCalendarEventTourHandlerDtoToJSON)(e.createCalendarEventTourHandlerDto)},t)];case 1:return r=o.sent(),[2,new s.TextApiResponse(r)]}}))}))},t.prototype.createCalendarEventTourHandler=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.createCalendarEventTourHandlerRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t.prototype.getCurrentTourHandlersForBuildingRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.buildingId||void 0===e.buildingId)throw new s.RequiredError("buildingId","Required parameter requestParameters.buildingId was null or undefined when calling getCurrentTourHandlersForBuilding.");return i={},n={},[4,this.request({path:"/api/v1/tourHandler/getForBuilding/{buildingId}".replace("{".concat("buildingId","}"),encodeURIComponent(String(e.buildingId))),method:"GET",headers:n,query:i},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return s.mapValues(e,l.CalendarEventTourHandlerFromJSON)}))]}}))}))},t.prototype.getCurrentTourHandlersForBuilding=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.getCurrentTourHandlersForBuildingRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t}(s.BaseAPI);t.CalendarEventTourHandlerControllerApi=u},1210:function(e,t,i){var n,r=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function i(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}),o=this&&this.__awaiter||function(e,t,i,n){return new(i||(i=Promise))((function(r,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var i,n,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(i)throw new TypeError("Generator is already executing.");for(;a;)try{if(i=1,n&&(r=2&o[0]?n.return:o[0]?n.throw||((r=n.return)&&r.call(n),0):n.next)&&!(r=r.call(n,o[1])).done)return r;switch(n=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],n=0}finally{i=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.ChatTelemetryControllerApi=void 0;var s=i(296),l=i(4584),u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.postChatEventRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.chatTelemetryDto||void 0===e.chatTelemetryDto)throw new s.RequiredError("chatTelemetryDto","Required parameter requestParameters.chatTelemetryDto was null or undefined when calling postChatEvent.");return i={},(n={})["Content-Type"]="application/json",void 0!==e.userAgent&&null!==e.userAgent&&(n["user-agent"]=String(e.userAgent)),[4,this.request({path:"/api/pub/chat-stats",method:"POST",headers:n,query:i,body:(0,l.ChatTelemetryDtoToJSON)(e.chatTelemetryDto)},t)];case 1:return r=o.sent(),[2,new s.VoidApiResponse(r)]}}))}))},t.prototype.postChatEvent=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.postChatEventRaw(e,t)];case 1:return i.sent(),[2]}}))}))},t}(s.BaseAPI);t.ChatTelemetryControllerApi=u},3515:function(e,t,i){var n,r=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function i(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}),o=this&&this.__awaiter||function(e,t,i,n){return new(i||(i=Promise))((function(r,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var i,n,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(i)throw new TypeError("Generator is already executing.");for(;a;)try{if(i=1,n&&(r=2&o[0]?n.return:o[0]?n.throw||((r=n.return)&&r.call(n),0):n.next)&&!(r=r.call(n,o[1])).done)return r;switch(n=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],n=0}finally{i=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.ContextControllerApi=void 0;var s=i(296),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.getAgentIdFromContextRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.contextId||void 0===e.contextId)throw new s.RequiredError("contextId","Required parameter requestParameters.contextId was null or undefined when calling getAgentIdFromContext.");return i={},n={},[4,this.request({path:"/api/pub/context/{contextId}/getAgentId".replace("{".concat("contextId","}"),encodeURIComponent(String(e.contextId))),method:"GET",headers:n,query:i},t)];case 1:return r=o.sent(),[2,new s.TextApiResponse(r)]}}))}))},t.prototype.getAgentIdFromContext=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.getAgentIdFromContextRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t}(s.BaseAPI);t.ContextControllerApi=l},5855:function(e,t,i){var n,r=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function i(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}),o=this&&this.__awaiter||function(e,t,i,n){return new(i||(i=Promise))((function(r,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var i,n,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(i)throw new TypeError("Generator is already executing.");for(;a;)try{if(i=1,n&&(r=2&o[0]?n.return:o[0]?n.throw||((r=n.return)&&r.call(n),0):n.next)&&!(r=r.call(n,o[1])).done)return r;switch(n=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],n=0}finally{i=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.ConversationControllerApi=void 0;var s=i(296),l=i(4584),u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.getConversationRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.conversationKey||void 0===e.conversationKey)throw new s.RequiredError("conversationKey","Required parameter requestParameters.conversationKey was null or undefined when calling getConversation.");return i={},n={},[4,this.request({path:"/api/pub/conversation/{conversationKey}".replace("{".concat("conversationKey","}"),encodeURIComponent(String(e.conversationKey))),method:"GET",headers:n,query:i},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return(0,l.ConversationFromJSON)(e)}))]}}))}))},t.prototype.getConversation=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.getConversationRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t.prototype.getConversation1Raw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.contextId||void 0===e.contextId)throw new s.RequiredError("contextId","Required parameter requestParameters.contextId was null or undefined when calling getConversation1.");return i={},n={},[4,this.request({path:"/api/pub/conversation/contextId/{contextId}/text".replace("{".concat("contextId","}"),encodeURIComponent(String(e.contextId))),method:"GET",headers:n,query:i},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return(0,l.ConversationFromJSON)(e)}))]}}))}))},t.prototype.getConversation1=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.getConversation1Raw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t.prototype.getConversationV2Raw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.conversationKey||void 0===e.conversationKey)throw new s.RequiredError("conversationKey","Required parameter requestParameters.conversationKey was null or undefined when calling getConversationV2.");return i={},n={},[4,this.request({path:"/api/pub/conversation/v2/{conversationKey}".replace("{".concat("conversationKey","}"),encodeURIComponent(String(e.conversationKey))),method:"GET",headers:n,query:i},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return(0,l.ConversationV2FromJSON)(e)}))]}}))}))},t.prototype.getConversationV2=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.getConversationV2Raw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t}(s.BaseAPI);t.ConversationControllerApi=u},4345:function(e,t,i){var n,r=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function i(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}),o=this&&this.__awaiter||function(e,t,i,n){return new(i||(i=Promise))((function(r,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var i,n,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(i)throw new TypeError("Generator is already executing.");for(;a;)try{if(i=1,n&&(r=2&o[0]?n.return:o[0]?n.throw||((r=n.return)&&r.call(n),0):n.next)&&!(r=r.call(n,o[1])).done)return r;switch(n=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],n=0}finally{i=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.DialogueScriptControllerApi=void 0;var s=i(296),l=i(4584),u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.deleteScriptByIdRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.id||void 0===e.id)throw new s.RequiredError("id","Required parameter requestParameters.id was null or undefined when calling deleteScriptById.");return i={},n={},[4,this.request({path:"/renterApi/v1/dialogueScripts/{id}".replace("{".concat("id","}"),encodeURIComponent(String(e.id))),method:"DELETE",headers:n,query:i},t)];case 1:return r=o.sent(),[2,new s.VoidApiResponse(r)]}}))}))},t.prototype.deleteScriptById=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.deleteScriptByIdRaw(e,t)];case 1:return i.sent(),[2]}}))}))},t.prototype.getDefaultScriptsRaw=function(e){return o(this,void 0,void 0,(function(){var t,i,n;return a(this,(function(r){switch(r.label){case 0:return t={},i={},[4,this.request({path:"/renterApi/v1/dialogueScripts/default",method:"GET",headers:i,query:t},e)];case 1:return n=r.sent(),[2,new s.JSONApiResponse(n,(function(e){return e.map(l.DialogueScriptFromJSON)}))]}}))}))},t.prototype.getDefaultScripts=function(e){return o(this,void 0,void 0,(function(){return a(this,(function(t){switch(t.label){case 0:return[4,this.getDefaultScriptsRaw(e)];case 1:return[4,t.sent().value()];case 2:return[2,t.sent()]}}))}))},t.prototype.getScriptRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.intent||void 0===e.intent)throw new s.RequiredError("intent","Required parameter requestParameters.intent was null or undefined when calling getScript.");if(null===e.organizationId||void 0===e.organizationId)throw new s.RequiredError("organizationId","Required parameter requestParameters.organizationId was null or undefined when calling getScript.");if(null===e.buildingId||void 0===e.buildingId)throw new s.RequiredError("buildingId","Required parameter requestParameters.buildingId was null or undefined when calling getScript.");return i={},void 0!==e.organizationId&&(i.organizationId=e.organizationId),void 0!==e.buildingId&&(i.buildingId=e.buildingId),n={},[4,this.request({path:"/renterApi/v1/dialogueScripts/{intent}".replace("{".concat("intent","}"),encodeURIComponent(String(e.intent))),method:"GET",headers:n,query:i},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return(0,l.DialogueScriptFromJSON)(e)}))]}}))}))},t.prototype.getScript=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.getScriptRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t.prototype.getScriptBySubintentRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.intent||void 0===e.intent)throw new s.RequiredError("intent","Required parameter requestParameters.intent was null or undefined when calling getScriptBySubintent.");if(null===e.subintent||void 0===e.subintent)throw new s.RequiredError("subintent","Required parameter requestParameters.subintent was null or undefined when calling getScriptBySubintent.");if(null===e.organizationId||void 0===e.organizationId)throw new s.RequiredError("organizationId","Required parameter requestParameters.organizationId was null or undefined when calling getScriptBySubintent.");if(null===e.buildingId||void 0===e.buildingId)throw new s.RequiredError("buildingId","Required parameter requestParameters.buildingId was null or undefined when calling getScriptBySubintent.");return i={},void 0!==e.organizationId&&(i.organizationId=e.organizationId),void 0!==e.buildingId&&(i.buildingId=e.buildingId),n={},[4,this.request({path:"/renterApi/v1/dialogueScripts/{intent}/{subintent}".replace("{".concat("intent","}"),encodeURIComponent(String(e.intent))).replace("{".concat("subintent","}"),encodeURIComponent(String(e.subintent))),method:"GET",headers:n,query:i},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return(0,l.DialogueScriptFromJSON)(e)}))]}}))}))},t.prototype.getScriptBySubintent=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.getScriptBySubintentRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t.prototype.getScriptsForBuildingRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.organizationId||void 0===e.organizationId)throw new s.RequiredError("organizationId","Required parameter requestParameters.organizationId was null or undefined when calling getScriptsForBuilding.");if(null===e.buildingId||void 0===e.buildingId)throw new s.RequiredError("buildingId","Required parameter requestParameters.buildingId was null or undefined when calling getScriptsForBuilding.");return i={},void 0!==e.organizationId&&(i.organizationId=e.organizationId),void 0!==e.buildingId&&(i.buildingId=e.buildingId),n={},[4,this.request({path:"/renterApi/v1/dialogueScripts",method:"GET",headers:n,query:i},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return e.map(l.DialogueScriptFromJSON)}))]}}))}))},t.prototype.getScriptsForBuilding=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.getScriptsForBuildingRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t.prototype.putScriptRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.upsertDialogueScriptRequest||void 0===e.upsertDialogueScriptRequest)throw new s.RequiredError("upsertDialogueScriptRequest","Required parameter requestParameters.upsertDialogueScriptRequest was null or undefined when calling putScript.");return i={},(n={})["Content-Type"]="application/json",[4,this.request({path:"/renterApi/v1/dialogueScripts",method:"PUT",headers:n,query:i,body:(0,l.UpsertDialogueScriptRequestToJSON)(e.upsertDialogueScriptRequest)},t)];case 1:return r=o.sent(),[2,new s.VoidApiResponse(r)]}}))}))},t.prototype.putScript=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.putScriptRaw(e,t)];case 1:return i.sent(),[2]}}))}))},t.prototype.putScriptsRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.upsertDialogueScriptRequest||void 0===e.upsertDialogueScriptRequest)throw new s.RequiredError("upsertDialogueScriptRequest","Required parameter requestParameters.upsertDialogueScriptRequest was null or undefined when calling putScripts.");return i={},(n={})["Content-Type"]="application/json",[4,this.request({path:"/renterApi/v1/dialogueScripts/upsertMany",method:"PUT",headers:n,query:i,body:e.upsertDialogueScriptRequest.map(l.UpsertDialogueScriptRequestToJSON)},t)];case 1:return r=o.sent(),[2,new s.VoidApiResponse(r)]}}))}))},t.prototype.putScripts=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.putScriptsRaw(e,t)];case 1:return i.sent(),[2]}}))}))},t}(s.BaseAPI);t.DialogueScriptControllerApi=u},2938:function(e,t,i){var n,r=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function i(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}),o=this&&this.__awaiter||function(e,t,i,n){return new(i||(i=Promise))((function(r,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var i,n,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(i)throw new TypeError("Generator is already executing.");for(;a;)try{if(i=1,n&&(r=2&o[0]?n.return:o[0]?n.throw||((r=n.return)&&r.call(n),0):n.next)&&!(r=r.call(n,o[1])).done)return r;switch(n=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],n=0}finally{i=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.EntrataProxyControllerApi=void 0;var s=i(296),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.getLeadPickListsRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.securityKey||void 0===e.securityKey)throw new s.RequiredError("securityKey","Required parameter requestParameters.securityKey was null or undefined when calling getLeadPickLists.");if(null===e.userId||void 0===e.userId)throw new s.RequiredError("userId","Required parameter requestParameters.userId was null or undefined when calling getLeadPickLists.");if(null===e.propertyId||void 0===e.propertyId)throw new s.RequiredError("propertyId","Required parameter requestParameters.propertyId was null or undefined when calling getLeadPickLists.");return i={},void 0!==e.securityKey&&(i.securityKey=e.securityKey),void 0!==e.userId&&(i.userId=e.userId),void 0!==e.propertyId&&(i.propertyId=e.propertyId),n={},[4,this.request({path:"/api/pub/entrata/getleadpicklists",method:"GET",headers:n,query:i},t)];case 1:return r=o.sent(),[2,new s.TextApiResponse(r)]}}))}))},t.prototype.getLeadPickLists=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.getLeadPickListsRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t.prototype.getMitsLeadsRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.securityKey||void 0===e.securityKey)throw new s.RequiredError("securityKey","Required parameter requestParameters.securityKey was null or undefined when calling getMitsLeads.");if(null===e.leadId||void 0===e.leadId)throw new s.RequiredError("leadId","Required parameter requestParameters.leadId was null or undefined when calling getMitsLeads.");if(null===e.buildingId||void 0===e.buildingId)throw new s.RequiredError("buildingId","Required parameter requestParameters.buildingId was null or undefined when calling getMitsLeads.");return i={},void 0!==e.securityKey&&(i.securityKey=e.securityKey),void 0!==e.leadId&&(i.leadId=e.leadId),void 0!==e.buildingId&&(i.buildingId=e.buildingId),n={},[4,this.request({path:"/api/pub/entrata/getmitsleads",method:"GET",headers:n,query:i},t)];case 1:return r=o.sent(),[2,new s.TextApiResponse(r)]}}))}))},t.prototype.getMitsLeads=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.getMitsLeadsRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t}(s.BaseAPI);t.EntrataProxyControllerApi=l},5021:function(e,t,i){var n,r=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function i(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}),o=this&&this.__awaiter||function(e,t,i,n){return new(i||(i=Promise))((function(r,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var i,n,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(i)throw new TypeError("Generator is already executing.");for(;a;)try{if(i=1,n&&(r=2&o[0]?n.return:o[0]?n.throw||((r=n.return)&&r.call(n),0):n.next)&&!(r=r.call(n,o[1])).done)return r;switch(n=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],n=0}finally{i=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.EscalationsControllerApi=void 0;var s=i(296),l=i(4584),u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.escalationsForBuildingIdRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.buildingId||void 0===e.buildingId)throw new s.RequiredError("buildingId","Required parameter requestParameters.buildingId was null or undefined when calling escalationsForBuildingId.");return i={},n={},[4,this.request({path:"/api/v1/escalations/getByBuildingId/{buildingId}".replace("{".concat("buildingId","}"),encodeURIComponent(String(e.buildingId))),method:"GET",headers:n,query:i},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return e.map(l.AlertQueueInfoFromJSON)}))]}}))}))},t.prototype.escalationsForBuildingId=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.escalationsForBuildingIdRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t.prototype.ignoreMCConversationRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.mcId||void 0===e.mcId)throw new s.RequiredError("mcId","Required parameter requestParameters.mcId was null or undefined when calling ignoreMCConversation.");return i={},n={},[4,this.request({path:"/api/v1/escalations/mc/escalation/ignore/{mcId}".replace("{".concat("mcId","}"),encodeURIComponent(String(e.mcId))),method:"POST",headers:n,query:i},t)];case 1:return r=o.sent(),[2,new s.TextApiResponse(r)]}}))}))},t.prototype.ignoreMCConversation=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.ignoreMCConversationRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t.prototype.resolveEscalationRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.resolveEscalationDto||void 0===e.resolveEscalationDto)throw new s.RequiredError("resolveEscalationDto","Required parameter requestParameters.resolveEscalationDto was null or undefined when calling resolveEscalation.");return i={},(n={})["Content-Type"]="application/json",[4,this.request({path:"/api/v1/escalations/resolve",method:"POST",headers:n,query:i,body:(0,l.ResolveEscalationDtoToJSON)(e.resolveEscalationDto)},t)];case 1:return r=o.sent(),[2,new s.TextApiResponse(r)]}}))}))},t.prototype.resolveEscalation=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.resolveEscalationRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t.prototype.respondToMCConversationRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.respondToMCConversationDTO||void 0===e.respondToMCConversationDTO)throw new s.RequiredError("respondToMCConversationDTO","Required parameter requestParameters.respondToMCConversationDTO was null or undefined when calling respondToMCConversation.");return i={},(n={})["Content-Type"]="application/json",[4,this.request({path:"/api/v1/escalations/mc/escalation/respond",method:"POST",headers:n,query:i,body:(0,l.RespondToMCConversationDTOToJSON)(e.respondToMCConversationDTO)},t)];case 1:return r=o.sent(),[2,new s.TextApiResponse(r)]}}))}))},t.prototype.respondToMCConversation=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.respondToMCConversationRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t}(s.BaseAPI);t.EscalationsControllerApi=u},9962:function(e,t,i){var n,r=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function i(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}),o=this&&this.__awaiter||function(e,t,i,n){return new(i||(i=Promise))((function(r,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var i,n,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(i)throw new TypeError("Generator is already executing.");for(;a;)try{if(i=1,n&&(r=2&o[0]?n.return:o[0]?n.throw||((r=n.return)&&r.call(n),0):n.next)&&!(r=r.call(n,o[1])).done)return r;switch(n=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],n=0}finally{i=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.EventsControllerApi=void 0;var s=i(296),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.getAssignedLeasingAgentIdForEventRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.eventId||void 0===e.eventId)throw new s.RequiredError("eventId","Required parameter requestParameters.eventId was null or undefined when calling getAssignedLeasingAgentIdForEvent.");return i={},n={},[4,this.request({path:"/api/v1/calendar/events/{eventId}/assignedLeasingAgentId".replace("{".concat("eventId","}"),encodeURIComponent(String(e.eventId))),method:"GET",headers:n,query:i},t)];case 1:return r=o.sent(),[2,new s.TextApiResponse(r)]}}))}))},t.prototype.getAssignedLeasingAgentIdForEvent=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.getAssignedLeasingAgentIdForEventRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t}(s.BaseAPI);t.EventsControllerApi=l},8196:function(e,t,i){var n,r=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function i(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}),o=this&&this.__awaiter||function(e,t,i,n){return new(i||(i=Promise))((function(r,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var i,n,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(i)throw new TypeError("Generator is already executing.");for(;a;)try{if(i=1,n&&(r=2&o[0]?n.return:o[0]?n.throw||((r=n.return)&&r.call(n),0):n.next)&&!(r=r.call(n,o[1])).done)return r;switch(n=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],n=0}finally{i=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.FeatureFlagControllerApi=void 0;var s=i(296),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.getBoolFeatureFlagRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.featureKey||void 0===e.featureKey)throw new s.RequiredError("featureKey","Required parameter requestParameters.featureKey was null or undefined when calling getBoolFeatureFlag.");if(null===e.requestDto||void 0===e.requestDto)throw new s.RequiredError("requestDto","Required parameter requestParameters.requestDto was null or undefined when calling getBoolFeatureFlag.");return i={},void 0!==e.requestDto&&(i.requestDto=e.requestDto),n={},[4,this.request({path:"/api/v1/features/bool/{featureKey}".replace("{".concat("featureKey","}"),encodeURIComponent(String(e.featureKey))),method:"GET",headers:n,query:i},t)];case 1:return r=o.sent(),[2,new s.TextApiResponse(r)]}}))}))},t.prototype.getBoolFeatureFlag=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.getBoolFeatureFlagRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t.prototype.getIntFeatureFlagRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.featureKey||void 0===e.featureKey)throw new s.RequiredError("featureKey","Required parameter requestParameters.featureKey was null or undefined when calling getIntFeatureFlag.");if(null===e.requestDto||void 0===e.requestDto)throw new s.RequiredError("requestDto","Required parameter requestParameters.requestDto was null or undefined when calling getIntFeatureFlag.");return i={},void 0!==e.requestDto&&(i.requestDto=e.requestDto),n={},[4,this.request({path:"/api/v1/features/int/{featureKey}".replace("{".concat("featureKey","}"),encodeURIComponent(String(e.featureKey))),method:"GET",headers:n,query:i},t)];case 1:return r=o.sent(),[2,new s.TextApiResponse(r)]}}))}))},t.prototype.getIntFeatureFlag=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.getIntFeatureFlagRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t.prototype.getStringFeatureFlagRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.featureKey||void 0===e.featureKey)throw new s.RequiredError("featureKey","Required parameter requestParameters.featureKey was null or undefined when calling getStringFeatureFlag.");if(null===e.requestDto||void 0===e.requestDto)throw new s.RequiredError("requestDto","Required parameter requestParameters.requestDto was null or undefined when calling getStringFeatureFlag.");return i={},void 0!==e.requestDto&&(i.requestDto=e.requestDto),n={},[4,this.request({path:"/api/v1/features/string/{featureKey}".replace("{".concat("featureKey","}"),encodeURIComponent(String(e.featureKey))),method:"GET",headers:n,query:i},t)];case 1:return r=o.sent(),[2,new s.TextApiResponse(r)]}}))}))},t.prototype.getStringFeatureFlag=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.getStringFeatureFlagRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t}(s.BaseAPI);t.FeatureFlagControllerApi=l},5282:function(e,t,i){var n,r=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function i(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}),o=this&&this.__awaiter||function(e,t,i,n){return new(i||(i=Promise))((function(r,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var i,n,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(i)throw new TypeError("Generator is already executing.");for(;a;)try{if(i=1,n&&(r=2&o[0]?n.return:o[0]?n.throw||((r=n.return)&&r.call(n),0):n.next)&&!(r=r.call(n,o[1])).done)return r;switch(n=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],n=0}finally{i=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.FirstContactControllerApi=void 0;var s=i(296),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.getFirstContactTypeForUserRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.userId||void 0===e.userId)throw new s.RequiredError("userId","Required parameter requestParameters.userId was null or undefined when calling getFirstContactTypeForUser.");return i={},n={},[4,this.request({path:"/api/v1/firstcontact/user_id/{userId}".replace("{".concat("userId","}"),encodeURIComponent(String(e.userId))),method:"GET",headers:n,query:i},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r)]}}))}))},t.prototype.getFirstContactTypeForUser=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.getFirstContactTypeForUserRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t}(s.BaseAPI);t.FirstContactControllerApi=l},4702:function(e,t,i){var n,r=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function i(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}),o=this&&this.__awaiter||function(e,t,i,n){return new(i||(i=Promise))((function(r,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var i,n,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(i)throw new TypeError("Generator is already executing.");for(;a;)try{if(i=1,n&&(r=2&o[0]?n.return:o[0]?n.throw||((r=n.return)&&r.call(n),0):n.next)&&!(r=r.call(n,o[1])).done)return r;switch(n=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],n=0}finally{i=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.FollowUpControllerApi=void 0;var s=i(296),l=i(4584),u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.setFollowupFromCalendarRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.followUpParams||void 0===e.followUpParams)throw new s.RequiredError("followUpParams","Required parameter requestParameters.followUpParams was null or undefined when calling setFollowupFromCalendar.");return i={},(n={})["Content-Type"]="application/json",[4,this.request({path:"/api/v1/followup/",method:"POST",headers:n,query:i,body:(0,l.FollowUpParamsToJSON)(e.followUpParams)},t)];case 1:return r=o.sent(),[2,new s.VoidApiResponse(r)]}}))}))},t.prototype.setFollowupFromCalendar=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.setFollowupFromCalendarRaw(e,t)];case 1:return i.sent(),[2]}}))}))},t}(s.BaseAPI);t.FollowUpControllerApi=u},683:function(e,t,i){var n,r=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function i(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}),o=this&&this.__awaiter||function(e,t,i,n){return new(i||(i=Promise))((function(r,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var i,n,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(i)throw new TypeError("Generator is already executing.");for(;a;)try{if(i=1,n&&(r=2&o[0]?n.return:o[0]?n.throw||((r=n.return)&&r.call(n),0):n.next)&&!(r=r.call(n,o[1])).done)return r;switch(n=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],n=0}finally{i=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.FunnelIntegrationsControllerApi=void 0;var s=i(296),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.knockAppointmentEventsWebhook1Raw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.body||void 0===e.body)throw new s.RequiredError("body","Required parameter requestParameters.body was null or undefined when calling knockAppointmentEventsWebhook1.");return i={},(n={})["Content-Type"]="application/json",[4,this.request({path:"/api/v1/integrations/funnel/events",method:"POST",headers:n,query:i,body:e.body},t)];case 1:return r=o.sent(),[2,new s.TextApiResponse(r)]}}))}))},t.prototype.knockAppointmentEventsWebhook1=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.knockAppointmentEventsWebhook1Raw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t}(s.BaseAPI);t.FunnelIntegrationsControllerApi=l},5977:function(e,t,i){var n,r=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function i(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}),o=this&&this.__awaiter||function(e,t,i,n){return new(i||(i=Promise))((function(r,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var i,n,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(i)throw new TypeError("Generator is already executing.");for(;a;)try{if(i=1,n&&(r=2&o[0]?n.return:o[0]?n.throw||((r=n.return)&&r.call(n),0):n.next)&&!(r=r.call(n,o[1])).done)return r;switch(n=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],n=0}finally{i=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.KnockIntegrationsControllerApi=void 0;var s=i(296),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.knockAppointmentEventsWebhookRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.body||void 0===e.body)throw new s.RequiredError("body","Required parameter requestParameters.body was null or undefined when calling knockAppointmentEventsWebhook.");return i={},(n={})["Content-Type"]="application/json",[4,this.request({path:"/api/v1/integrations/knock/appointment_events",method:"POST",headers:n,query:i,body:e.body},t)];case 1:return r=o.sent(),[2,new s.TextApiResponse(r)]}}))}))},t.prototype.knockAppointmentEventsWebhook=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.knockAppointmentEventsWebhookRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t}(s.BaseAPI);t.KnockIntegrationsControllerApi=l},8242:function(e,t,i){var n,r=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function i(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}),o=this&&this.__awaiter||function(e,t,i,n){return new(i||(i=Promise))((function(r,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var i,n,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(i)throw new TypeError("Generator is already executing.");for(;a;)try{if(i=1,n&&(r=2&o[0]?n.return:o[0]?n.throw||((r=n.return)&&r.call(n),0):n.next)&&!(r=r.call(n,o[1])).done)return r;switch(n=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],n=0}finally{i=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.LeadSourcesControllerApi=void 0;var s=i(296),l=i(4584),u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.getLeadSourcesRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.buildingId||void 0===e.buildingId)throw new s.RequiredError("buildingId","Required parameter requestParameters.buildingId was null or undefined when calling getLeadSources.");return i={},n={},[4,this.request({path:"/api/pub/lead-sources/v1/building/{buildingId}".replace("{".concat("buildingId","}"),encodeURIComponent(String(e.buildingId))),method:"GET",headers:n,query:i},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return(0,l.LeadSourceResponseFromJSON)(e)}))]}}))}))},t.prototype.getLeadSources=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.getLeadSourcesRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t.prototype.getLeadSourcesIntegration1Raw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.buildingId||void 0===e.buildingId)throw new s.RequiredError("buildingId","Required parameter requestParameters.buildingId was null or undefined when calling getLeadSourcesIntegration1.");return i={},n={},[4,this.request({path:"/api/pub/lead-sources/v1/crm/building/{buildingId}".replace("{".concat("buildingId","}"),encodeURIComponent(String(e.buildingId))),method:"GET",headers:n,query:i},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return(0,l.LeadSourceResponseFromJSON)(e)}))]}}))}))},t.prototype.getLeadSourcesIntegration1=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.getLeadSourcesIntegration1Raw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t}(s.BaseAPI);t.LeadSourcesControllerApi=u},9714:function(e,t,i){var n,r=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function i(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}),o=this&&this.__awaiter||function(e,t,i,n){return new(i||(i=Promise))((function(r,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var i,n,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(i)throw new TypeError("Generator is already executing.");for(;a;)try{if(i=1,n&&(r=2&o[0]?n.return:o[0]?n.throw||((r=n.return)&&r.call(n),0):n.next)&&!(r=r.call(n,o[1])).done)return r;switch(n=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],n=0}finally{i=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.LeadsControllerApi=void 0;var s=i(296),l=i(4584),u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.getLeadThreadViewModelsRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:return i={},void 0!==e.leadEmail&&(i.leadEmail=e.leadEmail),void 0!==e.leadPhoneNumber&&(i.leadPhoneNumber=e.leadPhoneNumber),void 0!==e.leadName&&(i.leadName=e.leadName),void 0!==e.buildingId&&(i.buildingId=e.buildingId),n={},[4,this.request({path:"/api/v1/leads",method:"GET",headers:n,query:i},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return e.map(l.LeadThreadViewModelFromJSON)}))]}}))}))},t.prototype.getLeadThreadViewModels=function(e,t){return void 0===e&&(e={}),o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.getLeadThreadViewModelsRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t.prototype.getLeadsWithSourceRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.leadEmail||void 0===e.leadEmail)throw new s.RequiredError("leadEmail","Required parameter requestParameters.leadEmail was null or undefined when calling getLeadsWithSource.");if(null===e.buildingId||void 0===e.buildingId)throw new s.RequiredError("buildingId","Required parameter requestParameters.buildingId was null or undefined when calling getLeadsWithSource.");return i={},void 0!==e.leadEmail&&(i.leadEmail=e.leadEmail),void 0!==e.buildingId&&(i.buildingId=e.buildingId),n={},[4,this.request({path:"/api/v1/leads/leadsWithSource",method:"GET",headers:n,query:i},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return e.map(l.LeadWithSourceFromJSON)}))]}}))}))},t.prototype.getLeadsWithSource=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.getLeadsWithSourceRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t}(s.BaseAPI);t.LeadsControllerApi=u},7659:function(e,t,i){var n,r=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function i(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}),o=this&&this.__awaiter||function(e,t,i,n){return new(i||(i=Promise))((function(r,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var i,n,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(i)throw new TypeError("Generator is already executing.");for(;a;)try{if(i=1,n&&(r=2&o[0]?n.return:o[0]?n.throw||((r=n.return)&&r.call(n),0):n.next)&&!(r=r.call(n,o[1])).done)return r;switch(n=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],n=0}finally{i=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.LeasingAgentsControllerApi=void 0;var s=i(296),l=i(4584),u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.getLeasingAgentsForBuildingRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.buildingId||void 0===e.buildingId)throw new s.RequiredError("buildingId","Required parameter requestParameters.buildingId was null or undefined when calling getLeasingAgentsForBuilding.");return i={},n={},[4,this.request({path:"/api/v1/leasingagents/building/{buildingId}".replace("{".concat("buildingId","}"),encodeURIComponent(String(e.buildingId))),method:"GET",headers:n,query:i},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return e.map(l.LeasingAgentFromJSON)}))]}}))}))},t.prototype.getLeasingAgentsForBuilding=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.getLeasingAgentsForBuildingRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t.prototype.getLeasingAgentsForUserRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.userId||void 0===e.userId)throw new s.RequiredError("userId","Required parameter requestParameters.userId was null or undefined when calling getLeasingAgentsForUser.");return i={},n={},[4,this.request({path:"/api/v1/leasingagents/{userId}".replace("{".concat("userId","}"),encodeURIComponent(String(e.userId))),method:"GET",headers:n,query:i},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return e.map(l.LeasingAgentFromJSON)}))]}}))}))},t.prototype.getLeasingAgentsForUser=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.getLeasingAgentsForUserRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t}(s.BaseAPI);t.LeasingAgentsControllerApi=u},2311:function(e,t,i){var n,r=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function i(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}),o=this&&this.__awaiter||function(e,t,i,n){return new(i||(i=Promise))((function(r,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var i,n,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(i)throw new TypeError("Generator is already executing.");for(;a;)try{if(i=1,n&&(r=2&o[0]?n.return:o[0]?n.throw||((r=n.return)&&r.call(n),0):n.next)&&!(r=r.call(n,o[1])).done)return r;switch(n=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],n=0}finally{i=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.MarketingSourcesControllerApi=void 0;var s=i(296),l=i(4584),u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.initializeWhitelisting1Raw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.buildingId||void 0===e.buildingId)throw new s.RequiredError("buildingId","Required parameter requestParameters.buildingId was null or undefined when calling initializeWhitelisting1.");return i={},n={},[4,this.request({path:"/api/v1/marketingSources/{buildingId}".replace("{".concat("buildingId","}"),encodeURIComponent(String(e.buildingId))),method:"GET",headers:n,query:i},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return e.map(l.ExternalBuildingSourceFromJSON)}))]}}))}))},t.prototype.initializeWhitelisting1=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.initializeWhitelisting1Raw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t}(s.BaseAPI);t.MarketingSourcesControllerApi=u},5827:function(e,t,i){var n,r=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function i(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}),o=this&&this.__awaiter||function(e,t,i,n){return new(i||(i=Promise))((function(r,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var i,n,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(i)throw new TypeError("Generator is already executing.");for(;a;)try{if(i=1,n&&(r=2&o[0]?n.return:o[0]?n.throw||((r=n.return)&&r.call(n),0):n.next)&&!(r=r.call(n,o[1])).done)return r;switch(n=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],n=0}finally{i=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.MeHomeControllerApi=void 0;var s=i(296),l=i(4584),u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.getDashboardInfoRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.getMEHomeDashboardInfoDto||void 0===e.getMEHomeDashboardInfoDto)throw new s.RequiredError("getMEHomeDashboardInfoDto","Required parameter requestParameters.getMEHomeDashboardInfoDto was null or undefined when calling getDashboardInfo.");return i={},(n={})["Content-Type"]="application/json",[4,this.request({path:"/api/v1/mehome/dashboardInfo",method:"POST",headers:n,query:i,body:(0,l.GetMEHomeDashboardInfoDtoToJSON)(e.getMEHomeDashboardInfoDto)},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return(0,l.MEHomeDashboardInfoFromJSON)(e)}))]}}))}))},t.prototype.getDashboardInfo=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.getDashboardInfoRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t}(s.BaseAPI);t.MeHomeControllerApi=u},5334:function(e,t,i){var n,r=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function i(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}),o=this&&this.__awaiter||function(e,t,i,n){return new(i||(i=Promise))((function(r,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var i,n,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(i)throw new TypeError("Generator is already executing.");for(;a;)try{if(i=1,n&&(r=2&o[0]?n.return:o[0]?n.throw||((r=n.return)&&r.call(n),0):n.next)&&!(r=r.call(n,o[1])).done)return r;switch(n=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],n=0}finally{i=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.OfficeHoursControllerApi=void 0;var s=i(296),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.refreshAnyoneHomeOfficeHoursRaw=function(e){return o(this,void 0,void 0,(function(){var t,i,n;return a(this,(function(r){switch(r.label){case 0:return t={},i={},[4,this.request({path:"/api/v1/officehours/refreshAnyoneHomeOfficeHours",method:"GET",headers:i,query:t},e)];case 1:return n=r.sent(),[2,new s.VoidApiResponse(n)]}}))}))},t.prototype.refreshAnyoneHomeOfficeHours=function(e){return o(this,void 0,void 0,(function(){return a(this,(function(t){switch(t.label){case 0:return[4,this.refreshAnyoneHomeOfficeHoursRaw(e)];case 1:return t.sent(),[2]}}))}))},t}(s.BaseAPI);t.OfficeHoursControllerApi=l},7043:function(e,t,i){var n,r=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function i(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}),o=this&&this.__awaiter||function(e,t,i,n){return new(i||(i=Promise))((function(r,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var i,n,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(i)throw new TypeError("Generator is already executing.");for(;a;)try{if(i=1,n&&(r=2&o[0]?n.return:o[0]?n.throw||((r=n.return)&&r.call(n),0):n.next)&&!(r=r.call(n,o[1])).done)return r;switch(n=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],n=0}finally{i=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.OrganizationApiControllerApi=void 0;var s=i(296),l=i(4584),u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.create1Raw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.organization||void 0===e.organization)throw new s.RequiredError("organization","Required parameter requestParameters.organization was null or undefined when calling create1.");return i={},(n={})["Content-Type"]="application/json",[4,this.request({path:"/api/v1/company/",method:"POST",headers:n,query:i,body:(0,l.OrganizationToJSON)(e.organization)},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return(0,l.OrganizationFromJSON)(e)}))]}}))}))},t.prototype.create1=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.create1Raw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t.prototype.get3Raw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.id||void 0===e.id)throw new s.RequiredError("id","Required parameter requestParameters.id was null or undefined when calling get3.");return i={},n={},[4,this.request({path:"/api/v1/company/{id}".replace("{".concat("id","}"),encodeURIComponent(String(e.id))),method:"GET",headers:n,query:i},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return(0,l.OrganizationFromJSON)(e)}))]}}))}))},t.prototype.get3=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.get3Raw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t.prototype.getActiveBuildingNamesRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.requestBody||void 0===e.requestBody)throw new s.RequiredError("requestBody","Required parameter requestParameters.requestBody was null or undefined when calling getActiveBuildingNames.");return i={},(n={})["Content-Type"]="application/json",[4,this.request({path:"/api/v1/company/activeBuildingNames",method:"POST",headers:n,query:i,body:e.requestBody},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r)]}}))}))},t.prototype.getActiveBuildingNames=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.getActiveBuildingNamesRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t.prototype.getOrgsRaw=function(e){return o(this,void 0,void 0,(function(){var t,i,n;return a(this,(function(r){switch(r.label){case 0:return t={},i={},[4,this.request({path:"/api/v1/company/",method:"GET",headers:i,query:t},e)];case 1:return n=r.sent(),[2,new s.JSONApiResponse(n,(function(e){return(0,l.ListWrapperOrganizationFromJSON)(e)}))]}}))}))},t.prototype.getOrgs=function(e){return o(this,void 0,void 0,(function(){return a(this,(function(t){switch(t.label){case 0:return[4,this.getOrgsRaw(e)];case 1:return[4,t.sent().value()];case 2:return[2,t.sent()]}}))}))},t.prototype.update4Raw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.id||void 0===e.id)throw new s.RequiredError("id","Required parameter requestParameters.id was null or undefined when calling update4.");if(null===e.organization||void 0===e.organization)throw new s.RequiredError("organization","Required parameter requestParameters.organization was null or undefined when calling update4.");return i={},(n={})["Content-Type"]="application/json",[4,this.request({path:"/api/v1/company/{id}".replace("{".concat("id","}"),encodeURIComponent(String(e.id))),method:"PUT",headers:n,query:i,body:(0,l.OrganizationToJSON)(e.organization)},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return(0,l.OrganizationFromJSON)(e)}))]}}))}))},t.prototype.update4=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.update4Raw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t}(s.BaseAPI);t.OrganizationApiControllerApi=u},1092:function(e,t,i){var n,r=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function i(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}),o=this&&this.__awaiter||function(e,t,i,n){return new(i||(i=Promise))((function(r,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var i,n,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(i)throw new TypeError("Generator is already executing.");for(;a;)try{if(i=1,n&&(r=2&o[0]?n.return:o[0]?n.throw||((r=n.return)&&r.call(n),0):n.next)&&!(r=r.call(n,o[1])).done)return r;switch(n=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],n=0}finally{i=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.PublicBuildingControllerApi=void 0;var s=i(296),l=i(4584),u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.getOrgIdFromUUIDRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.uuid||void 0===e.uuid)throw new s.RequiredError("uuid","Required parameter requestParameters.uuid was null or undefined when calling getOrgIdFromUUID.");return i={},n={},[4,this.request({path:"/api/pub/v1/organization/{uuid}".replace("{".concat("uuid","}"),encodeURIComponent(String(e.uuid))),method:"GET",headers:n,query:i},t)];case 1:return r=o.sent(),[2,new s.TextApiResponse(r)]}}))}))},t.prototype.getOrgIdFromUUID=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.getOrgIdFromUUIDRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t.prototype.getPublicBuildingInfoRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.organizationSlug||void 0===e.organizationSlug)throw new s.RequiredError("organizationSlug","Required parameter requestParameters.organizationSlug was null or undefined when calling getPublicBuildingInfo.");if(null===e.buildingSlug||void 0===e.buildingSlug)throw new s.RequiredError("buildingSlug","Required parameter requestParameters.buildingSlug was null or undefined when calling getPublicBuildingInfo.");return i={},n={},[4,this.request({path:"/api/pub/v1/organization/{organizationSlug}/building/{buildingSlug}".replace("{".concat("organizationSlug","}"),encodeURIComponent(String(e.organizationSlug))).replace("{".concat("buildingSlug","}"),encodeURIComponent(String(e.buildingSlug))),method:"GET",headers:n,query:i},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return(0,l.BuildingPublicViewModelFromJSON)(e)}))]}}))}))},t.prototype.getPublicBuildingInfo=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.getPublicBuildingInfoRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t}(s.BaseAPI);t.PublicBuildingControllerApi=u},535:function(e,t,i){var n,r=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function i(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}),o=this&&this.__awaiter||function(e,t,i,n){return new(i||(i=Promise))((function(r,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var i,n,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(i)throw new TypeError("Generator is already executing.");for(;a;)try{if(i=1,n&&(r=2&o[0]?n.return:o[0]?n.throw||((r=n.return)&&r.call(n),0):n.next)&&!(r=r.call(n,o[1])).done)return r;switch(n=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],n=0}finally{i=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.PublicUnsubscribeControllerApi=void 0;var s=i(296),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.unsubscribeFromStateRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.stateId||void 0===e.stateId)throw new s.RequiredError("stateId","Required parameter requestParameters.stateId was null or undefined when calling unsubscribeFromState.");return i={},n={},[4,this.request({path:"/api/unsubscribe/{stateId}".replace("{".concat("stateId","}"),encodeURIComponent(String(e.stateId))),method:"GET",headers:n,query:i},t)];case 1:return r=o.sent(),[2,new s.TextApiResponse(r)]}}))}))},t.prototype.unsubscribeFromState=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.unsubscribeFromStateRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t}(s.BaseAPI);t.PublicUnsubscribeControllerApi=l},4071:function(e,t,i){var n,r=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function i(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}),o=this&&this.__awaiter||function(e,t,i,n){return new(i||(i=Promise))((function(r,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var i,n,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(i)throw new TypeError("Generator is already executing.");for(;a;)try{if(i=1,n&&(r=2&o[0]?n.return:o[0]?n.throw||((r=n.return)&&r.call(n),0):n.next)&&!(r=r.call(n,o[1])).done)return r;switch(n=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],n=0}finally{i=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.RecurringEventsControllerApi=void 0;var s=i(296),l=i(4584),u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.delete1Raw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.id||void 0===e.id)throw new s.RequiredError("id","Required parameter requestParameters.id was null or undefined when calling delete1.");return i={},n={},[4,this.request({path:"/api/v1/recurring_events/{id}".replace("{".concat("id","}"),encodeURIComponent(String(e.id))),method:"DELETE",headers:n,query:i},t)];case 1:return r=o.sent(),[2,new s.TextApiResponse(r)]}}))}))},t.prototype.delete1=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.delete1Raw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t.prototype.get2Raw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.id||void 0===e.id)throw new s.RequiredError("id","Required parameter requestParameters.id was null or undefined when calling get2.");return i={},n={},[4,this.request({path:"/api/v1/recurring_events/{id}".replace("{".concat("id","}"),encodeURIComponent(String(e.id))),method:"GET",headers:n,query:i},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return(0,l.RecurringEventDtoFromJSON)(e)}))]}}))}))},t.prototype.get2=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.get2Raw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t.prototype.saveRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.recurringEventCreateRequestDto||void 0===e.recurringEventCreateRequestDto)throw new s.RequiredError("recurringEventCreateRequestDto","Required parameter requestParameters.recurringEventCreateRequestDto was null or undefined when calling save.");return i={},(n={})["Content-Type"]="application/json",[4,this.request({path:"/api/v1/recurring_events",method:"POST",headers:n,query:i,body:(0,l.RecurringEventCreateRequestDtoToJSON)(e.recurringEventCreateRequestDto)},t)];case 1:return r=o.sent(),[2,new s.TextApiResponse(r)]}}))}))},t.prototype.save=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.saveRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t.prototype.update3Raw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.id||void 0===e.id)throw new s.RequiredError("id","Required parameter requestParameters.id was null or undefined when calling update3.");if(null===e.recurringEventUpdateRequestDto||void 0===e.recurringEventUpdateRequestDto)throw new s.RequiredError("recurringEventUpdateRequestDto","Required parameter requestParameters.recurringEventUpdateRequestDto was null or undefined when calling update3.");return i={},(n={})["Content-Type"]="application/json",[4,this.request({path:"/api/v1/recurring_events/{id}".replace("{".concat("id","}"),encodeURIComponent(String(e.id))),method:"PUT",headers:n,query:i,body:(0,l.RecurringEventUpdateRequestDtoToJSON)(e.recurringEventUpdateRequestDto)},t)];case 1:return r=o.sent(),[2,new s.TextApiResponse(r)]}}))}))},t.prototype.update3=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.update3Raw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t}(s.BaseAPI);t.RecurringEventsControllerApi=u},5834:function(e,t,i){var n,r=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function i(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}),o=this&&this.__awaiter||function(e,t,i,n){return new(i||(i=Promise))((function(r,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var i,n,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(i)throw new TypeError("Generator is already executing.");for(;a;)try{if(i=1,n&&(r=2&o[0]?n.return:o[0]?n.throw||((r=n.return)&&r.call(n),0):n.next)&&!(r=r.call(n,o[1])).done)return r;switch(n=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],n=0}finally{i=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.RenterBuildingControllerApi=void 0;var s=i(296),l=i(4584),u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.findRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.name||void 0===e.name)throw new s.RequiredError("name","Required parameter requestParameters.name was null or undefined when calling find.");if(null===e.address||void 0===e.address)throw new s.RequiredError("address","Required parameter requestParameters.address was null or undefined when calling find.");if(null===e.zip||void 0===e.zip)throw new s.RequiredError("zip","Required parameter requestParameters.zip was null or undefined when calling find.");return i={},void 0!==e.name&&(i.name=e.name),void 0!==e.address&&(i.address=e.address),void 0!==e.zip&&(i.zip=e.zip),n={},[4,this.request({path:"/renterApi/v1/building/find",method:"GET",headers:n,query:i},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return(0,l.BuildingDetailsFromJSON)(e)}))]}}))}))},t.prototype.find=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.findRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t.prototype.findBuildingsManagedByRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.email||void 0===e.email)throw new s.RequiredError("email","Required parameter requestParameters.email was null or undefined when calling findBuildingsManagedBy.");return i={},void 0!==e.email&&(i.email=e.email),n={},[4,this.request({path:"/renterApi/v1/building/managedBy",method:"GET",headers:n,query:i},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return e.map(l.BuildingDetailsFromJSON)}))]}}))}))},t.prototype.findBuildingsManagedBy=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.findBuildingsManagedByRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t.prototype.findByNameRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.id||void 0===e.id)throw new s.RequiredError("id","Required parameter requestParameters.id was null or undefined when calling findByName.");return i={},n={},[4,this.request({path:"/renterApi/v1/building/{id}".replace("{".concat("id","}"),encodeURIComponent(String(e.id))),method:"GET",headers:n,query:i},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return(0,l.BuildingDetailsFromJSON)(e)}))]}}))}))},t.prototype.findByName=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.findByNameRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t.prototype.geocodeLocationRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.address||void 0===e.address)throw new s.RequiredError("address","Required parameter requestParameters.address was null or undefined when calling geocodeLocation.");return i={},void 0!==e.address&&(i.address=e.address),n={},[4,this.request({path:"/renterApi/v1/building/location/geocode",method:"HEAD",headers:n,query:i},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return(0,l.LocationFromJSON)(e)}))]}}))}))},t.prototype.geocodeLocation=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.geocodeLocationRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t.prototype.geocodeLocation1Raw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.address||void 0===e.address)throw new s.RequiredError("address","Required parameter requestParameters.address was null or undefined when calling geocodeLocation1.");return i={},void 0!==e.address&&(i.address=e.address),n={},[4,this.request({path:"/renterApi/v1/building/location/geocode",method:"DELETE",headers:n,query:i},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return(0,l.LocationFromJSON)(e)}))]}}))}))},t.prototype.geocodeLocation1=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.geocodeLocation1Raw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t.prototype.geocodeLocation2Raw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.address||void 0===e.address)throw new s.RequiredError("address","Required parameter requestParameters.address was null or undefined when calling geocodeLocation2.");return i={},void 0!==e.address&&(i.address=e.address),n={},[4,this.request({path:"/renterApi/v1/building/location/geocode",method:"GET",headers:n,query:i},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return(0,l.LocationFromJSON)(e)}))]}}))}))},t.prototype.geocodeLocation2=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.geocodeLocation2Raw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t.prototype.geocodeLocation3Raw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.address||void 0===e.address)throw new s.RequiredError("address","Required parameter requestParameters.address was null or undefined when calling geocodeLocation3.");return i={},void 0!==e.address&&(i.address=e.address),n={},[4,this.request({path:"/renterApi/v1/building/location/geocode",method:"OPTIONS",headers:n,query:i},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return(0,l.LocationFromJSON)(e)}))]}}))}))},t.prototype.geocodeLocation3=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.geocodeLocation3Raw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t.prototype.geocodeLocation4Raw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.address||void 0===e.address)throw new s.RequiredError("address","Required parameter requestParameters.address was null or undefined when calling geocodeLocation4.");return i={},void 0!==e.address&&(i.address=e.address),n={},[4,this.request({path:"/renterApi/v1/building/location/geocode",method:"PUT",headers:n,query:i},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return(0,l.LocationFromJSON)(e)}))]}}))}))},t.prototype.geocodeLocation4=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.geocodeLocation4Raw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t.prototype.geocodeLocation5Raw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.address||void 0===e.address)throw new s.RequiredError("address","Required parameter requestParameters.address was null or undefined when calling geocodeLocation5.");return i={},void 0!==e.address&&(i.address=e.address),n={},[4,this.request({path:"/renterApi/v1/building/location/geocode",method:"PATCH",headers:n,query:i},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return(0,l.LocationFromJSON)(e)}))]}}))}))},t.prototype.geocodeLocation5=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.geocodeLocation5Raw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t.prototype.geocodeLocation6Raw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.address||void 0===e.address)throw new s.RequiredError("address","Required parameter requestParameters.address was null or undefined when calling geocodeLocation6.");return i={},void 0!==e.address&&(i.address=e.address),n={},[4,this.request({path:"/renterApi/v1/building/location/geocode",method:"POST",headers:n,query:i},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return(0,l.LocationFromJSON)(e)}))]}}))}))},t.prototype.geocodeLocation6=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.geocodeLocation6Raw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t.prototype.getAllBuildingPreferencesRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.id||void 0===e.id)throw new s.RequiredError("id","Required parameter requestParameters.id was null or undefined when calling getAllBuildingPreferences.");return i={},n={},[4,this.request({path:"/renterApi/v1/building/{id}/buildingPreferences".replace("{".concat("id","}"),encodeURIComponent(String(e.id))),method:"GET",headers:n,query:i},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r)]}}))}))},t.prototype.getAllBuildingPreferences=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.getAllBuildingPreferencesRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t.prototype.getBuildingNameByIdRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.id||void 0===e.id)throw new s.RequiredError("id","Required parameter requestParameters.id was null or undefined when calling getBuildingNameById.");return i={},n={},[4,this.request({path:"/renterApi/v1/building/{id}/name".replace("{".concat("id","}"),encodeURIComponent(String(e.id))),method:"GET",headers:n,query:i},t)];case 1:return r=o.sent(),[2,new s.TextApiResponse(r)]}}))}))},t.prototype.getBuildingNameById=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.getBuildingNameByIdRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t.prototype.getBuildingOverridesRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.id||void 0===e.id)throw new s.RequiredError("id","Required parameter requestParameters.id was null or undefined when calling getBuildingOverrides.");return i={},n={},[4,this.request({path:"/renterApi/v1/building/{id}/handoffOverrides".replace("{".concat("id","}"),encodeURIComponent(String(e.id))),method:"GET",headers:n,query:i},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return(0,l.BuildingOverrideFromJSON)(e)}))]}}))}))},t.prototype.getBuildingOverrides=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.getBuildingOverridesRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t.prototype.getBuildingUnitsRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.id||void 0===e.id)throw new s.RequiredError("id","Required parameter requestParameters.id was null or undefined when calling getBuildingUnits.");return i={},n={},[4,this.request({path:"/renterApi/v1/building/{id}/units".replace("{".concat("id","}"),encodeURIComponent(String(e.id))),method:"GET",headers:n,query:i},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return e.map(l.UnitDetailsFromJSON)}))]}}))}))},t.prototype.getBuildingUnits=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.getBuildingUnitsRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t.prototype.getBuildingUnitsWithDefaultsRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.id||void 0===e.id)throw new s.RequiredError("id","Required parameter requestParameters.id was null or undefined when calling getBuildingUnitsWithDefaults.");return i={},n={},[4,this.request({path:"/renterApi/v1/building/{id}/allActiveUnitsWithDefaults".replace("{".concat("id","}"),encodeURIComponent(String(e.id))),method:"GET",headers:n,query:i},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return e.map(l.UnitDetailsFromJSON)}))]}}))}))},t.prototype.getBuildingUnitsWithDefaults=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.getBuildingUnitsWithDefaultsRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t.prototype.getBuildingUnitsWithDefaults1Raw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.name||void 0===e.name)throw new s.RequiredError("name","Required parameter requestParameters.name was null or undefined when calling getBuildingUnitsWithDefaults1.");if(null===e.address||void 0===e.address)throw new s.RequiredError("address","Required parameter requestParameters.address was null or undefined when calling getBuildingUnitsWithDefaults1.");if(null===e.zip||void 0===e.zip)throw new s.RequiredError("zip","Required parameter requestParameters.zip was null or undefined when calling getBuildingUnitsWithDefaults1.");return i={},void 0!==e.name&&(i.name=e.name),void 0!==e.address&&(i.address=e.address),void 0!==e.zip&&(i.zip=e.zip),n={},[4,this.request({path:"/renterApi/v1/building/allActiveUnitsWithDefaults",method:"GET",headers:n,query:i},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return e.map(l.UnitDetailsFromJSON)}))]}}))}))},t.prototype.getBuildingUnitsWithDefaults1=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.getBuildingUnitsWithDefaults1Raw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t.prototype.getByIdRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.id||void 0===e.id)throw new s.RequiredError("id","Required parameter requestParameters.id was null or undefined when calling getById.");return i={},n={},[4,this.request({path:"/renterApi/v1/building/byId/{id}".replace("{".concat("id","}"),encodeURIComponent(String(e.id))),method:"GET",headers:n,query:i},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return(0,l.UiBuildingDetailsFromJSON)(e)}))]}}))}))},t.prototype.getById=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.getByIdRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t.prototype.getEntities1Raw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.entityConfig||void 0===e.entityConfig)throw new s.RequiredError("entityConfig","Required parameter requestParameters.entityConfig was null or undefined when calling getEntities1.");return i={},void 0!==e.entityConfig&&(i.entityConfig=e.entityConfig),n={},[4,this.request({path:"/renterApi/v1/building/entities",method:"GET",headers:n,query:i},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return e.map(l.BuildingEntityFromJSON)}))]}}))}))},t.prototype.getEntities1=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.getEntities1Raw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t.prototype.getFollowUpSettingsRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.name||void 0===e.name)throw new s.RequiredError("name","Required parameter requestParameters.name was null or undefined when calling getFollowUpSettings.");if(null===e.address||void 0===e.address)throw new s.RequiredError("address","Required parameter requestParameters.address was null or undefined when calling getFollowUpSettings.");if(null===e.zip||void 0===e.zip)throw new s.RequiredError("zip","Required parameter requestParameters.zip was null or undefined when calling getFollowUpSettings.");return i={},void 0!==e.name&&(i.name=e.name),void 0!==e.address&&(i.address=e.address),void 0!==e.zip&&(i.zip=e.zip),n={},[4,this.request({path:"/renterApi/v1/building/followUpSettings",method:"GET",headers:n,query:i},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return(0,l.FollowUpSettingsFromJSON)(e)}))]}}))}))},t.prototype.getFollowUpSettings=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.getFollowUpSettingsRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t.prototype.getIncentivesRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.id||void 0===e.id)throw new s.RequiredError("id","Required parameter requestParameters.id was null or undefined when calling getIncentives.");return i={},void 0!==e.layout&&(i.layout=e.layout),n={},[4,this.request({path:"/renterApi/v1/building/{id}/incentives".replace("{".concat("id","}"),encodeURIComponent(String(e.id))),method:"GET",headers:n,query:i},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return(0,l.UnitIncentiveResultFromJSON)(e)}))]}}))}))},t.prototype.getIncentives=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.getIncentivesRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t.prototype.getTourPriorityByIdRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.id||void 0===e.id)throw new s.RequiredError("id","Required parameter requestParameters.id was null or undefined when calling getTourPriorityById.");return i={},n={},[4,this.request({path:"/renterApi/v1/building/{id}/tourPriority".replace("{".concat("id","}"),encodeURIComponent(String(e.id))),method:"GET",headers:n,query:i},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r)]}}))}))},t.prototype.getTourPriorityById=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.getTourPriorityByIdRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t.prototype.getV2ConfigurationForBuildingRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.buildingId||void 0===e.buildingId)throw new s.RequiredError("buildingId","Required parameter requestParameters.buildingId was null or undefined when calling getV2ConfigurationForBuilding.");return i={},n={},[4,this.request({path:"/renterApi/v1/building/{buildingId}/v2Configuration".replace("{".concat("buildingId","}"),encodeURIComponent(String(e.buildingId))),method:"GET",headers:n,query:i},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return(0,l.V2BuildingMigrationStatusFromJSON)(e)}))]}}))}))},t.prototype.getV2ConfigurationForBuilding=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.getV2ConfigurationForBuildingRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t.prototype.getVirtualTourPlatformInfoRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.id||void 0===e.id)throw new s.RequiredError("id","Required parameter requestParameters.id was null or undefined when calling getVirtualTourPlatformInfo.");return i={},n={},[4,this.request({path:"/renterApi/v1/building/{id}/preferences".replace("{".concat("id","}"),encodeURIComponent(String(e.id))),method:"GET",headers:n,query:i},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return(0,l.BuildingTourTypePreferencesFromJSON)(e)}))]}}))}))},t.prototype.getVirtualTourPlatformInfo=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.getVirtualTourPlatformInfoRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t.prototype.searchBuildingRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.name||void 0===e.name)throw new s.RequiredError("name","Required parameter requestParameters.name was null or undefined when calling searchBuilding.");if(null===e.address||void 0===e.address)throw new s.RequiredError("address","Required parameter requestParameters.address was null or undefined when calling searchBuilding.");if(null===e.zip||void 0===e.zip)throw new s.RequiredError("zip","Required parameter requestParameters.zip was null or undefined when calling searchBuilding.");if(null===e.startTime||void 0===e.startTime)throw new s.RequiredError("startTime","Required parameter requestParameters.startTime was null or undefined when calling searchBuilding.");if(null===e.endTime||void 0===e.endTime)throw new s.RequiredError("endTime","Required parameter requestParameters.endTime was null or undefined when calling searchBuilding.");return i={},void 0!==e.name&&(i.name=e.name),void 0!==e.address&&(i.address=e.address),void 0!==e.zip&&(i.zip=e.zip),void 0!==e.startTime&&(i.startTime=e.startTime),void 0!==e.endTime&&(i.endTime=e.endTime),n={},[4,this.request({path:"/renterApi/v1/building/search/tour/availabilities",method:"GET",headers:n,query:i},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return(0,l.TourAvailabilityResponseFromJSON)(e)}))]}}))}))},t.prototype.searchBuilding=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.searchBuildingRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t}(s.BaseAPI);t.RenterBuildingControllerApi=u},4797:function(e,t,i){var n,r=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function i(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}),o=this&&this.__awaiter||function(e,t,i,n){return new(i||(i=Promise))((function(r,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var i,n,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(i)throw new TypeError("Generator is already executing.");for(;a;)try{if(i=1,n&&(r=2&o[0]?n.return:o[0]?n.throw||((r=n.return)&&r.call(n),0):n.next)&&!(r=r.call(n,o[1])).done)return r;switch(n=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],n=0}finally{i=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.RenterContextControllerApi=void 0;var s=i(296),l=i(4584),u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.associateLeadRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.contextId||void 0===e.contextId)throw new s.RequiredError("contextId","Required parameter requestParameters.contextId was null or undefined when calling associateLead.");if(null===e.associateLeadRequestDto||void 0===e.associateLeadRequestDto)throw new s.RequiredError("associateLeadRequestDto","Required parameter requestParameters.associateLeadRequestDto was null or undefined when calling associateLead.");return i={},(n={})["Content-Type"]="application/json",[4,this.request({path:"/renterApi/v1/context/associateLead/{contextId}".replace("{".concat("contextId","}"),encodeURIComponent(String(e.contextId))),method:"POST",headers:n,query:i,body:(0,l.AssociateLeadRequestDtoToJSON)(e.associateLeadRequestDto)},t)];case 1:return r=o.sent(),[2,new s.TextApiResponse(r)]}}))}))},t.prototype.associateLead=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.associateLeadRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t.prototype.associateLeadByStateIdRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.stateId||void 0===e.stateId)throw new s.RequiredError("stateId","Required parameter requestParameters.stateId was null or undefined when calling associateLeadByStateId.");if(null===e.associateLeadRequestDto||void 0===e.associateLeadRequestDto)throw new s.RequiredError("associateLeadRequestDto","Required parameter requestParameters.associateLeadRequestDto was null or undefined when calling associateLeadByStateId.");return i={},(n={})["Content-Type"]="application/json",[4,this.request({path:"/renterApi/v1/context/associateLeadByStateId/{stateId}".replace("{".concat("stateId","}"),encodeURIComponent(String(e.stateId))),method:"POST",headers:n,query:i,body:(0,l.AssociateLeadRequestDtoToJSON)(e.associateLeadRequestDto)},t)];case 1:return r=o.sent(),[2,new s.TextApiResponse(r)]}}))}))},t.prototype.associateLeadByStateId=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.associateLeadByStateIdRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t.prototype.getContextByPartyIdRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.partyId||void 0===e.partyId)throw new s.RequiredError("partyId","Required parameter requestParameters.partyId was null or undefined when calling getContextByPartyId.");return i={},n={},[4,this.request({path:"/renterApi/v1/context/partyId/{partyId}".replace("{".concat("partyId","}"),encodeURIComponent(String(e.partyId))),method:"GET",headers:n,query:i},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return(0,l.ContextDtoFromJSON)(e)}))]}}))}))},t.prototype.getContextByPartyId=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.getContextByPartyIdRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t.prototype.getOrCreateContextFromChatRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.id||void 0===e.id)throw new s.RequiredError("id","Required parameter requestParameters.id was null or undefined when calling getOrCreateContextFromChat.");if(null===e.getOrCreateContextDto||void 0===e.getOrCreateContextDto)throw new s.RequiredError("getOrCreateContextDto","Required parameter requestParameters.getOrCreateContextDto was null or undefined when calling getOrCreateContextFromChat.");return i={},(n={})["Content-Type"]="application/json",[4,this.request({path:"/renterApi/v1/context/chat/getOrCreate/{id}".replace("{".concat("id","}"),encodeURIComponent(String(e.id))),method:"POST",headers:n,query:i,body:(0,l.GetOrCreateContextDtoToJSON)(e.getOrCreateContextDto)},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return(0,l.ContextDtoFromJSON)(e)}))]}}))}))},t.prototype.getOrCreateContextFromChat=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.getOrCreateContextFromChatRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t}(s.BaseAPI);t.RenterContextControllerApi=u},9925:function(e,t,i){var n,r=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function i(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}),o=this&&this.__awaiter||function(e,t,i,n){return new(i||(i=Promise))((function(r,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var i,n,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(i)throw new TypeError("Generator is already executing.");for(;a;)try{if(i=1,n&&(r=2&o[0]?n.return:o[0]?n.throw||((r=n.return)&&r.call(n),0):n.next)&&!(r=r.call(n,o[1])).done)return r;switch(n=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],n=0}finally{i=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.RenterLeadSourcesControllerApi=void 0;var s=i(296),l=i(4584),u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.getLeadSourcesIntegrationRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.buildingId||void 0===e.buildingId)throw new s.RequiredError("buildingId","Required parameter requestParameters.buildingId was null or undefined when calling getLeadSourcesIntegration.");return i={},n={},[4,this.request({path:"/renterApi/v1/leadSources/crm/building/{buildingId}".replace("{".concat("buildingId","}"),encodeURIComponent(String(e.buildingId))),method:"GET",headers:n,query:i},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return(0,l.LeadSourceResponseFromJSON)(e)}))]}}))}))},t.prototype.getLeadSourcesIntegration=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.getLeadSourcesIntegrationRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t}(s.BaseAPI);t.RenterLeadSourcesControllerApi=u},9412:function(e,t,i){var n,r=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function i(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}),o=this&&this.__awaiter||function(e,t,i,n){return new(i||(i=Promise))((function(r,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var i,n,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(i)throw new TypeError("Generator is already executing.");for(;a;)try{if(i=1,n&&(r=2&o[0]?n.return:o[0]?n.throw||((r=n.return)&&r.call(n),0):n.next)&&!(r=r.call(n,o[1])).done)return r;switch(n=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],n=0}finally{i=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.RenterPartyControllerApi=void 0;var s=i(296),l=i(4584),u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.updatePartyLeadRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.id||void 0===e.id)throw new s.RequiredError("id","Required parameter requestParameters.id was null or undefined when calling updatePartyLead.");if(null===e.leadInfoUpdateDto||void 0===e.leadInfoUpdateDto)throw new s.RequiredError("leadInfoUpdateDto","Required parameter requestParameters.leadInfoUpdateDto was null or undefined when calling updatePartyLead.");return i={},(n={})["Content-Type"]="application/json",[4,this.request({path:"/renterApi/v1/party/{id}/lead".replace("{".concat("id","}"),encodeURIComponent(String(e.id))),method:"PUT",headers:n,query:i,body:(0,l.LeadInfoUpdateDtoToJSON)(e.leadInfoUpdateDto)},t)];case 1:return r=o.sent(),[2,new s.TextApiResponse(r)]}}))}))},t.prototype.updatePartyLead=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.updatePartyLeadRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t}(s.BaseAPI);t.RenterPartyControllerApi=u},7411:function(e,t,i){var n,r=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function i(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}),o=this&&this.__awaiter||function(e,t,i,n){return new(i||(i=Promise))((function(r,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var i,n,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(i)throw new TypeError("Generator is already executing.");for(;a;)try{if(i=1,n&&(r=2&o[0]?n.return:o[0]?n.throw||((r=n.return)&&r.call(n),0):n.next)&&!(r=r.call(n,o[1])).done)return r;switch(n=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],n=0}finally{i=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.RetrieveQuestionAnswersAcceptEnum=t.RenterQaControllerApi=void 0;var s=i(296),l=i(4584),u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.retrieveQuestionAnswersRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.requestBody||void 0===e.requestBody)throw new s.RequiredError("requestBody","Required parameter requestParameters.requestBody was null or undefined when calling retrieveQuestionAnswers.");return i={},void 0!==e.requestBody&&(i.requestBody=e.requestBody),n={},void 0!==e.accept&&null!==e.accept&&(n.Accept=String(e.accept)),[4,this.request({path:"/renterApi/v1/qa",method:"GET",headers:n,query:i},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return(0,l.ElisePredictedResponseFromJSON)(e)}))]}}))}))},t.prototype.retrieveQuestionAnswers=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.retrieveQuestionAnswersRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t}(s.BaseAPI);t.RenterQaControllerApi=u,(t.RetrieveQuestionAnswersAcceptEnum||(t.RetrieveQuestionAnswersAcceptEnum={})).ApplicationJson="application/json"},1562:function(e,t,i){var n,r=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function i(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}),o=this&&this.__awaiter||function(e,t,i,n){return new(i||(i=Promise))((function(r,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var i,n,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(i)throw new TypeError("Generator is already executing.");for(;a;)try{if(i=1,n&&(r=2&o[0]?n.return:o[0]?n.throw||((r=n.return)&&r.call(n),0):n.next)&&!(r=r.call(n,o[1])).done)return r;switch(n=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],n=0}finally{i=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.RenterTourControllerApi=void 0;var s=i(296),l=i(4584),u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.bookRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.bookTourDto||void 0===e.bookTourDto)throw new s.RequiredError("bookTourDto","Required parameter requestParameters.bookTourDto was null or undefined when calling book.");return i={},(n={})["Content-Type"]="application/json",[4,this.request({path:"/renterApi/v1/tour/book",method:"POST",headers:n,query:i,body:(0,l.BookTourDtoToJSON)(e.bookTourDto)},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return(0,l.EliseCalendarEventFromJSON)(e)}))]}}))}))},t.prototype.book=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.bookRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t.prototype.bookByStateIdRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.bookTourByStateIdDto||void 0===e.bookTourByStateIdDto)throw new s.RequiredError("bookTourByStateIdDto","Required parameter requestParameters.bookTourByStateIdDto was null or undefined when calling bookByStateId.");return i={},(n={})["Content-Type"]="application/json",[4,this.request({path:"/renterApi/v1/tour/bookByStateId",method:"POST",headers:n,query:i,body:(0,l.BookTourByStateIdDtoToJSON)(e.bookTourByStateIdDto)},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return(0,l.EliseCalendarEventFromJSON)(e)}))]}}))}))},t.prototype.bookByStateId=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.bookByStateIdRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t.prototype.cancelAllRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.cancelTourDto||void 0===e.cancelTourDto)throw new s.RequiredError("cancelTourDto","Required parameter requestParameters.cancelTourDto was null or undefined when calling cancelAll.");return i={},(n={})["Content-Type"]="application/json",[4,this.request({path:"/renterApi/v1/tour/cancelAll",method:"POST",headers:n,query:i,body:(0,l.CancelTourDtoToJSON)(e.cancelTourDto)},t)];case 1:return r=o.sent(),[2,new s.TextApiResponse(r)]}}))}))},t.prototype.cancelAll=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.cancelAllRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t.prototype.cancelAllByStateIdRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.cancelTourByStateIdDto||void 0===e.cancelTourByStateIdDto)throw new s.RequiredError("cancelTourByStateIdDto","Required parameter requestParameters.cancelTourByStateIdDto was null or undefined when calling cancelAllByStateId.");return i={},(n={})["Content-Type"]="application/json",[4,this.request({path:"/renterApi/v1/tour/cancelAllByStateId",method:"POST",headers:n,query:i,body:(0,l.CancelTourByStateIdDtoToJSON)(e.cancelTourByStateIdDto)},t)];case 1:return r=o.sent(),[2,new s.TextApiResponse(r)]}}))}))},t.prototype.cancelAllByStateId=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.cancelAllByStateIdRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t}(s.BaseAPI);t.RenterTourControllerApi=u},3195:function(e,t,i){var n,r=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function i(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}),o=this&&this.__awaiter||function(e,t,i,n){return new(i||(i=Promise))((function(r,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var i,n,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(i)throw new TypeError("Generator is already executing.");for(;a;)try{if(i=1,n&&(r=2&o[0]?n.return:o[0]?n.throw||((r=n.return)&&r.call(n),0):n.next)&&!(r=r.call(n,o[1])).done)return r;switch(n=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],n=0}finally{i=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.RenterUnitControllerApi=void 0;var s=i(296),l=i(4584),u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.getAvailableUnitsRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.buildingId||void 0===e.buildingId)throw new s.RequiredError("buildingId","Required parameter requestParameters.buildingId was null or undefined when calling getAvailableUnits.");if(null===e.layouts||void 0===e.layouts)throw new s.RequiredError("layouts","Required parameter requestParameters.layouts was null or undefined when calling getAvailableUnits.");if(null===e.startDate||void 0===e.startDate)throw new s.RequiredError("startDate","Required parameter requestParameters.startDate was null or undefined when calling getAvailableUnits.");if(null===e.endDate||void 0===e.endDate)throw new s.RequiredError("endDate","Required parameter requestParameters.endDate was null or undefined when calling getAvailableUnits.");return i={},void 0!==e.buildingId&&(i.buildingId=e.buildingId),e.layouts&&(i.layouts=e.layouts),void 0!==e.startDate&&(i.startDate=e.startDate.toISOString().substr(0,10)),void 0!==e.endDate&&(i.endDate=e.endDate.toISOString().substr(0,10)),n={},[4,this.request({path:"/renterApi/v1/unit/availability",method:"GET",headers:n,query:i},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return e.map(l.UnitDetailsFromJSON)}))]}}))}))},t.prototype.getAvailableUnits=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.getAvailableUnitsRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t}(s.BaseAPI);t.RenterUnitControllerApi=u},3978:function(e,t,i){var n,r=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function i(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}),o=this&&this.__awaiter||function(e,t,i,n){return new(i||(i=Promise))((function(r,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var i,n,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(i)throw new TypeError("Generator is already executing.");for(;a;)try{if(i=1,n&&(r=2&o[0]?n.return:o[0]?n.throw||((r=n.return)&&r.call(n),0):n.next)&&!(r=r.call(n,o[1])).done)return r;switch(n=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],n=0}finally{i=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.RenterUserControllerApi=void 0;var s=i(296),l=i(4584),u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.findByEmailRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.email||void 0===e.email)throw new s.RequiredError("email","Required parameter requestParameters.email was null or undefined when calling findByEmail.");return i={},n={},[4,this.request({path:"/renterApi/v1/user/email/{email}".replace("{".concat("email","}"),encodeURIComponent(String(e.email))),method:"GET",headers:n,query:i},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return(0,l.XagacityUserFromJSON)(e)}))]}}))}))},t.prototype.findByEmail=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.findByEmailRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t.prototype.findByIdRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.id||void 0===e.id)throw new s.RequiredError("id","Required parameter requestParameters.id was null or undefined when calling findById.");return i={},n={},[4,this.request({path:"/renterApi/v1/user/{id}".replace("{".concat("id","}"),encodeURIComponent(String(e.id))),method:"GET",headers:n,query:i},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return(0,l.XagacityUserFromJSON)(e)}))]}}))}))},t.prototype.findById=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.findByIdRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t.prototype.getEntitiesRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.entityConfig||void 0===e.entityConfig)throw new s.RequiredError("entityConfig","Required parameter requestParameters.entityConfig was null or undefined when calling getEntities.");return i={},void 0!==e.entityConfig&&(i.entityConfig=e.entityConfig),n={},[4,this.request({path:"/renterApi/v1/user/entities",method:"GET",headers:n,query:i},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return e.map(l.InboxEntityFromJSON)}))]}}))}))},t.prototype.getEntities=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.getEntitiesRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t}(s.BaseAPI);t.RenterUserControllerApi=u},7282:function(e,t,i){var n,r=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function i(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}),o=this&&this.__awaiter||function(e,t,i,n){return new(i||(i=Promise))((function(r,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var i,n,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(i)throw new TypeError("Generator is already executing.");for(;a;)try{if(i=1,n&&(r=2&o[0]?n.return:o[0]?n.throw||((r=n.return)&&r.call(n),0):n.next)&&!(r=r.call(n,o[1])).done)return r;switch(n=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],n=0}finally{i=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.ReportingServiceControllerApi=void 0;var s=i(296),l=i(4584),u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.generateAndDownloadExcelReportRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.buildingId||void 0===e.buildingId)throw new s.RequiredError("buildingId","Required parameter requestParameters.buildingId was null or undefined when calling generateAndDownloadExcelReport.");if(null===e.startDate||void 0===e.startDate)throw new s.RequiredError("startDate","Required parameter requestParameters.startDate was null or undefined when calling generateAndDownloadExcelReport.");if(null===e.endDate||void 0===e.endDate)throw new s.RequiredError("endDate","Required parameter requestParameters.endDate was null or undefined when calling generateAndDownloadExcelReport.");return i={},void 0!==e.buildingId&&(i.buildingId=e.buildingId),void 0!==e.startDate&&(i.startDate=e.startDate.toISOString().substr(0,10)),void 0!==e.endDate&&(i.endDate=e.endDate.toISOString().substr(0,10)),n={},[4,this.request({path:"/api/v1/report/excel/generateAndDownload",method:"POST",headers:n,query:i},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r)]}}))}))},t.prototype.generateAndDownloadExcelReport=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.generateAndDownloadExcelReportRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t.prototype.generateAndSendExcelReportsRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.generateAndSendExcelReportsOverrideSettings||void 0===e.generateAndSendExcelReportsOverrideSettings)throw new s.RequiredError("generateAndSendExcelReportsOverrideSettings","Required parameter requestParameters.generateAndSendExcelReportsOverrideSettings was null or undefined when calling generateAndSendExcelReports.");return i={},(n={})["Content-Type"]="application/json",[4,this.request({path:"/api/v1/report/excel/generateAndSend",method:"POST",headers:n,query:i,body:(0,l.GenerateAndSendExcelReportsOverrideSettingsToJSON)(e.generateAndSendExcelReportsOverrideSettings)},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r)]}}))}))},t.prototype.generateAndSendExcelReports=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.generateAndSendExcelReportsRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t.prototype.getBuildingsToReceiveReportsRaw=function(e){return o(this,void 0,void 0,(function(){var t,i,n;return a(this,(function(r){switch(r.label){case 0:return t={},i={},[4,this.request({path:"/api/v1/report/buildingsToReceiveReports",method:"GET",headers:i,query:t},e)];case 1:return n=r.sent(),[2,new s.JSONApiResponse(n)]}}))}))},t.prototype.getBuildingsToReceiveReports=function(e){return o(this,void 0,void 0,(function(){return a(this,(function(t){switch(t.label){case 0:return[4,this.getBuildingsToReceiveReportsRaw(e)];case 1:return[4,t.sent().value()];case 2:return[2,t.sent()]}}))}))},t.prototype.getByBuildingAndDateRangeRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.getReportsForBuildingAndDateRangeDto||void 0===e.getReportsForBuildingAndDateRangeDto)throw new s.RequiredError("getReportsForBuildingAndDateRangeDto","Required parameter requestParameters.getReportsForBuildingAndDateRangeDto was null or undefined when calling getByBuildingAndDateRange.");return i={},(n={})["Content-Type"]="application/json",[4,this.request({path:"/api/v1/report",method:"POST",headers:n,query:i,body:(0,l.GetReportsForBuildingAndDateRangeDtoToJSON)(e.getReportsForBuildingAndDateRangeDto)},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return e.map(l.HourlyReportDtoFromJSON)}))]}}))}))},t.prototype.getByBuildingAndDateRange=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.getByBuildingAndDateRangeRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t.prototype.getByBuildingsAndDateRangeRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.getReportsForBuildingsAndDateRangeDto||void 0===e.getReportsForBuildingsAndDateRangeDto)throw new s.RequiredError("getReportsForBuildingsAndDateRangeDto","Required parameter requestParameters.getReportsForBuildingsAndDateRangeDto was null or undefined when calling getByBuildingsAndDateRange.");return i={},(n={})["Content-Type"]="application/json",[4,this.request({path:"/api/v1/report/getForBuildings",method:"POST",headers:n,query:i,body:(0,l.GetReportsForBuildingsAndDateRangeDtoToJSON)(e.getReportsForBuildingsAndDateRangeDto)},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return(0,l.WebReportingDashboardResponseFromJSON)(e)}))]}}))}))},t.prototype.getByBuildingsAndDateRange=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.getByBuildingsAndDateRangeRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t.prototype.getExcelReportSettingsRaw=function(e){return o(this,void 0,void 0,(function(){var t,i,n;return a(this,(function(r){switch(r.label){case 0:return t={},i={},[4,this.request({path:"/api/v1/report/excel/settings",method:"GET",headers:i,query:t},e)];case 1:return n=r.sent(),[2,new s.JSONApiResponse(n,(function(e){return e.map(l.ReportSettingFromJSON)}))]}}))}))},t.prototype.getExcelReportSettings=function(e){return o(this,void 0,void 0,(function(){return a(this,(function(t){switch(t.label){case 0:return[4,this.getExcelReportSettingsRaw(e)];case 1:return[4,t.sent().value()];case 2:return[2,t.sent()]}}))}))},t.prototype.getRecipientsRaw=function(e){return o(this,void 0,void 0,(function(){var t,i,n;return a(this,(function(r){switch(r.label){case 0:return t={},i={},[4,this.request({path:"/api/v1/report/recipients",method:"GET",headers:i,query:t},e)];case 1:return n=r.sent(),[2,new s.JSONApiResponse(n,(function(e){return e.map(l.WeeklyReportEmailFromJSON)}))]}}))}))},t.prototype.getRecipients=function(e){return o(this,void 0,void 0,(function(){return a(this,(function(t){switch(t.label){case 0:return[4,this.getRecipientsRaw(e)];case 1:return[4,t.sent().value()];case 2:return[2,t.sent()]}}))}))},t.prototype.upsertReportSettingRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.reportSetting||void 0===e.reportSetting)throw new s.RequiredError("reportSetting","Required parameter requestParameters.reportSetting was null or undefined when calling upsertReportSetting.");return i={},(n={})["Content-Type"]="application/json",[4,this.request({path:"/api/v1/report/excel/reportSettings",method:"POST",headers:n,query:i,body:(0,l.ReportSettingToJSON)(e.reportSetting)},t)];case 1:return r=o.sent(),[2,new s.TextApiResponse(r)]}}))}))},t.prototype.upsertReportSetting=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.upsertReportSettingRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t}(s.BaseAPI);t.ReportingServiceControllerApi=u},307:function(e,t,i){var n,r=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function i(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}),o=this&&this.__awaiter||function(e,t,i,n){return new(i||(i=Promise))((function(r,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var i,n,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(i)throw new TypeError("Generator is already executing.");for(;a;)try{if(i=1,n&&(r=2&o[0]?n.return:o[0]?n.throw||((r=n.return)&&r.call(n),0):n.next)&&!(r=r.call(n,o[1])).done)return r;switch(n=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],n=0}finally{i=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.ResponseTemplateControllerApi=void 0;var s=i(296),l=i(4584),u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.resolveBatchRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.resolveScriptsRequest||void 0===e.resolveScriptsRequest)throw new s.RequiredError("resolveScriptsRequest","Required parameter requestParameters.resolveScriptsRequest was null or undefined when calling resolveBatch.");return i={},(n={})["Content-Type"]="application/json",[4,this.request({path:"/renterApi/v1/responseTemplates/resolve",method:"POST",headers:n,query:i,body:(0,l.ResolveScriptsRequestToJSON)(e.resolveScriptsRequest)},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return e.map(l.ScriptFromJSON)}))]}}))}))},t.prototype.resolveBatch=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.resolveBatchRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t}(s.BaseAPI);t.ResponseTemplateControllerApi=u},4968:function(e,t,i){var n,r=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function i(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}),o=this&&this.__awaiter||function(e,t,i,n){return new(i||(i=Promise))((function(r,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var i,n,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(i)throw new TypeError("Generator is already executing.");for(;a;)try{if(i=1,n&&(r=2&o[0]?n.return:o[0]?n.throw||((r=n.return)&&r.call(n),0):n.next)&&!(r=r.call(n,o[1])).done)return r;switch(n=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],n=0}finally{i=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.Update2ScriptTypeEnum=t.GetScriptTypeEnum=t.DeleteScriptTypeEnum=t.ScriptsApiControllerApi=void 0;var s,l,u,d=i(296),c=i(4584),p=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype._deleteRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.id||void 0===e.id)throw new d.RequiredError("id","Required parameter requestParameters.id was null or undefined when calling _delete.");if(null===e.scriptType||void 0===e.scriptType)throw new d.RequiredError("scriptType","Required parameter requestParameters.scriptType was null or undefined when calling _delete.");return i={},n={},[4,this.request({path:"/api/v1/scripts/{id}/type/{scriptType}".replace("{".concat("id","}"),encodeURIComponent(String(e.id))).replace("{".concat("scriptType","}"),encodeURIComponent(String(e.scriptType))),method:"DELETE",headers:n,query:i},t)];case 1:return r=o.sent(),[2,new d.JSONApiResponse(r,(function(e){return(0,c.ScriptFromJSON)(e)}))]}}))}))},t.prototype._delete=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this._deleteRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t.prototype.createRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.createScriptRequest||void 0===e.createScriptRequest)throw new d.RequiredError("createScriptRequest","Required parameter requestParameters.createScriptRequest was null or undefined when calling create.");return i={},(n={})["Content-Type"]="application/json",[4,this.request({path:"/api/v1/scripts/",method:"POST",headers:n,query:i,body:(0,c.CreateScriptRequestToJSON)(e.createScriptRequest)},t)];case 1:return r=o.sent(),[2,new d.JSONApiResponse(r,(function(e){return(0,c.ScriptFromJSON)(e)}))]}}))}))},t.prototype.create=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.createRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t.prototype.getRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.id||void 0===e.id)throw new d.RequiredError("id","Required parameter requestParameters.id was null or undefined when calling get.");if(null===e.scriptType||void 0===e.scriptType)throw new d.RequiredError("scriptType","Required parameter requestParameters.scriptType was null or undefined when calling get.");return i={},n={},[4,this.request({path:"/api/v1/scripts/{id}/type/{scriptType}".replace("{".concat("id","}"),encodeURIComponent(String(e.id))).replace("{".concat("scriptType","}"),encodeURIComponent(String(e.scriptType))),method:"GET",headers:n,query:i},t)];case 1:return r=o.sent(),[2,new d.JSONApiResponse(r,(function(e){return(0,c.ScriptFromJSON)(e)}))]}}))}))},t.prototype.get=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.getRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t.prototype.get1Raw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.query||void 0===e.query)throw new d.RequiredError("query","Required parameter requestParameters.query was null or undefined when calling get1.");return i={},void 0!==e.query&&(i.query=e.query),n={},[4,this.request({path:"/api/v1/scripts/search",method:"GET",headers:n,query:i},t)];case 1:return r=o.sent(),[2,new d.JSONApiResponse(r,(function(e){return(0,c.ScriptSearchResultFromJSON)(e)}))]}}))}))},t.prototype.get1=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.get1Raw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t.prototype.update2Raw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.id||void 0===e.id)throw new d.RequiredError("id","Required parameter requestParameters.id was null or undefined when calling update2.");if(null===e.scriptType||void 0===e.scriptType)throw new d.RequiredError("scriptType","Required parameter requestParameters.scriptType was null or undefined when calling update2.");if(null===e.updateScriptRequest||void 0===e.updateScriptRequest)throw new d.RequiredError("updateScriptRequest","Required parameter requestParameters.updateScriptRequest was null or undefined when calling update2.");return i={},(n={})["Content-Type"]="application/json",[4,this.request({path:"/api/v1/scripts/{id}/type/{scriptType}".replace("{".concat("id","}"),encodeURIComponent(String(e.id))).replace("{".concat("scriptType","}"),encodeURIComponent(String(e.scriptType))),method:"PUT",headers:n,query:i,body:(0,c.UpdateScriptRequestToJSON)(e.updateScriptRequest)},t)];case 1:return r=o.sent(),[2,new d.JSONApiResponse(r,(function(e){return(0,c.ScriptFromJSON)(e)}))]}}))}))},t.prototype.update2=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.update2Raw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t}(d.BaseAPI);t.ScriptsApiControllerApi=p,(u=t.DeleteScriptTypeEnum||(t.DeleteScriptTypeEnum={})).All="ALL",u.Template="TEMPLATE",u.TemplateItem="TEMPLATE_ITEM",(l=t.GetScriptTypeEnum||(t.GetScriptTypeEnum={})).All="ALL",l.Template="TEMPLATE",l.TemplateItem="TEMPLATE_ITEM",(s=t.Update2ScriptTypeEnum||(t.Update2ScriptTypeEnum={})).All="ALL",s.Template="TEMPLATE",s.TemplateItem="TEMPLATE_ITEM"},2760:function(e,t,i){var n,r=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function i(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}),o=this&&this.__awaiter||function(e,t,i,n){return new(i||(i=Promise))((function(r,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var i,n,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(i)throw new TypeError("Generator is already executing.");for(;a;)try{if(i=1,n&&(r=2&o[0]?n.return:o[0]?n.throw||((r=n.return)&&r.call(n),0):n.next)&&!(r=r.call(n,o[1])).done)return r;switch(n=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],n=0}finally{i=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.TaggingControllerApi=void 0;var s=i(296),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.getAttributesRaw=function(e){return o(this,void 0,void 0,(function(){var t,i,n;return a(this,(function(r){switch(r.label){case 0:return t={},i={},[4,this.request({path:"/api/v1/tagging/attributes",method:"GET",headers:i,query:t},e)];case 1:return n=r.sent(),[2,new s.TextApiResponse(n)]}}))}))},t.prototype.getAttributes=function(e){return o(this,void 0,void 0,(function(){return a(this,(function(t){switch(t.label){case 0:return[4,this.getAttributesRaw(e)];case 1:return[4,t.sent().value()];case 2:return[2,t.sent()]}}))}))},t.prototype.getIntentsRaw=function(e){return o(this,void 0,void 0,(function(){var t,i,n;return a(this,(function(r){switch(r.label){case 0:return t={},i={},[4,this.request({path:"/api/v1/tagging/intents",method:"GET",headers:i,query:t},e)];case 1:return n=r.sent(),[2,new s.TextApiResponse(n)]}}))}))},t.prototype.getIntents=function(e){return o(this,void 0,void 0,(function(){return a(this,(function(t){switch(t.label){case 0:return[4,this.getIntentsRaw(e)];case 1:return[4,t.sent().value()];case 2:return[2,t.sent()]}}))}))},t.prototype.getNextStateRaw=function(e){return o(this,void 0,void 0,(function(){var t,i,n;return a(this,(function(r){switch(r.label){case 0:return t={},i={},[4,this.request({path:"/api/v1/tagging",method:"GET",headers:i,query:t},e)];case 1:return n=r.sent(),[2,new s.TextApiResponse(n)]}}))}))},t.prototype.getNextState=function(e){return o(this,void 0,void 0,(function(){return a(this,(function(t){switch(t.label){case 0:return[4,this.getNextStateRaw(e)];case 1:return[4,t.sent().value()];case 2:return[2,t.sent()]}}))}))},t.prototype.replaceRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:return i={},(n={})["Content-Type"]="application/json",[4,this.request({path:"/api/v1/tagging",method:"POST",headers:n,query:i,body:e.body},t)];case 1:return r=o.sent(),[2,new s.TextApiResponse(r)]}}))}))},t.prototype.replace=function(e,t){return void 0===e&&(e={}),o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.replaceRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t}(s.BaseAPI);t.TaggingControllerApi=l},8497:function(e,t,i){var n,r=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function i(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}),o=this&&this.__awaiter||function(e,t,i,n){return new(i||(i=Promise))((function(r,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var i,n,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(i)throw new TypeError("Generator is already executing.");for(;a;)try{if(i=1,n&&(r=2&o[0]?n.return:o[0]?n.throw||((r=n.return)&&r.call(n),0):n.next)&&!(r=r.call(n,o[1])).done)return r;switch(n=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],n=0}finally{i=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.TaggingS3ControllerApi=void 0;var s=i(296),l=i(4584),u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.uploadRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.tagId||void 0===e.tagId)throw new s.RequiredError("tagId","Required parameter requestParameters.tagId was null or undefined when calling upload.");if(null===e.aitId||void 0===e.aitId)throw new s.RequiredError("aitId","Required parameter requestParameters.aitId was null or undefined when calling upload.");if(null===e.env||void 0===e.env)throw new s.RequiredError("env","Required parameter requestParameters.env was null or undefined when calling upload.");return i={},void 0!==e.tagId&&(i.tag_id=e.tagId),void 0!==e.aitId&&(i.ait_id=e.aitId),void 0!==e.env&&(i.env=e.env),(n={})["Content-Type"]="application/json",[4,this.request({path:"/api/taggingS3/uploadState",method:"POST",headers:n,query:i,body:(0,l.InlineObject3ToJSON)(e.inlineObject3)},t)];case 1:return r=o.sent(),[2,new s.TextApiResponse(r)]}}))}))},t.prototype.upload=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.uploadRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t}(s.BaseAPI);t.TaggingS3ControllerApi=u},1270:function(e,t,i){var n,r=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function i(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}),o=this&&this.__awaiter||function(e,t,i,n){return new(i||(i=Promise))((function(r,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var i,n,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(i)throw new TypeError("Generator is already executing.");for(;a;)try{if(i=1,n&&(r=2&o[0]?n.return:o[0]?n.throw||((r=n.return)&&r.call(n),0):n.next)&&!(r=r.call(n,o[1])).done)return r;switch(n=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],n=0}finally{i=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.UnsubscribeControllerApi=void 0;var s=i(296),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.unsubscribeFromThreadRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.msgId||void 0===e.msgId)throw new s.RequiredError("msgId","Required parameter requestParameters.msgId was null or undefined when calling unsubscribeFromThread.");if(null===e.agtId||void 0===e.agtId)throw new s.RequiredError("agtId","Required parameter requestParameters.agtId was null or undefined when calling unsubscribeFromThread.");return i={},void 0!==e.msgId&&(i.msgId=e.msgId),void 0!==e.agtId&&(i.agtId=e.agtId),n={},[4,this.request({path:"/api/pub/unsubscribe",method:"POST",headers:n,query:i},t)];case 1:return r=o.sent(),[2,new s.VoidApiResponse(r)]}}))}))},t.prototype.unsubscribeFromThread=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.unsubscribeFromThreadRaw(e,t)];case 1:return i.sent(),[2]}}))}))},t}(s.BaseAPI);t.UnsubscribeControllerApi=l},6324:function(e,t,i){var n,r=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function i(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}),o=this&&this.__awaiter||function(e,t,i,n){return new(i||(i=Promise))((function(r,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var i,n,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(i)throw new TypeError("Generator is already executing.");for(;a;)try{if(i=1,n&&(r=2&o[0]?n.return:o[0]?n.throw||((r=n.return)&&r.call(n),0):n.next)&&!(r=r.call(n,o[1])).done)return r;switch(n=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],n=0}finally{i=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.UserApiControllerApi=void 0;var s=i(296),l=i(4584),u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.getAllRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:return i={},void 0!==e.active&&(i.active=e.active),n={},[4,this.request({path:"/api/v1/user/",method:"GET",headers:n,query:i},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return e.map(l.XagacityUserFromJSON)}))]}}))}))},t.prototype.getAll=function(e,t){return void 0===e&&(e={}),o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.getAllRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t.prototype.getOne1Raw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.id||void 0===e.id)throw new s.RequiredError("id","Required parameter requestParameters.id was null or undefined when calling getOne1.");return i={},n={},[4,this.request({path:"/api/v1/user/{id}".replace("{".concat("id","}"),encodeURIComponent(String(e.id))),method:"GET",headers:n,query:i},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return(0,l.XagacityUserFromJSON)(e)}))]}}))}))},t.prototype.getOne1=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.getOne1Raw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t.prototype.update1Raw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.id||void 0===e.id)throw new s.RequiredError("id","Required parameter requestParameters.id was null or undefined when calling update1.");if(null===e.xagacityUser||void 0===e.xagacityUser)throw new s.RequiredError("xagacityUser","Required parameter requestParameters.xagacityUser was null or undefined when calling update1.");return i={},(n={})["Content-Type"]="application/json",[4,this.request({path:"/api/v1/user/{id}".replace("{".concat("id","}"),encodeURIComponent(String(e.id))),method:"PUT",headers:n,query:i,body:(0,l.XagacityUserToJSON)(e.xagacityUser)},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return(0,l.XagacityUserFromJSON)(e)}))]}}))}))},t.prototype.update1=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.update1Raw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t}(s.BaseAPI);t.UserApiControllerApi=u},8878:function(e,t,i){var n,r=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function i(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}),o=this&&this.__awaiter||function(e,t,i,n){return new(i||(i=Promise))((function(r,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var i,n,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(i)throw new TypeError("Generator is already executing.");for(;a;)try{if(i=1,n&&(r=2&o[0]?n.return:o[0]?n.throw||((r=n.return)&&r.call(n),0):n.next)&&!(r=r.call(n,o[1])).done)return r;switch(n=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],n=0}finally{i=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.V2BuildingControllerApi=void 0;var s=i(296),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.putChatThemeV2Raw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r,o,l,u;return a(this,(function(a){switch(a.label){case 0:if(null===e.id||void 0===e.id)throw new s.RequiredError("id","Required parameter requestParameters.id was null or undefined when calling putChatThemeV2.");if(null===e.themeId||void 0===e.themeId)throw new s.RequiredError("themeId","Required parameter requestParameters.themeId was null or undefined when calling putChatThemeV2.");if(null===e.subtitle||void 0===e.subtitle)throw new s.RequiredError("subtitle","Required parameter requestParameters.subtitle was null or undefined when calling putChatThemeV2.");if(null===e.avatarType||void 0===e.avatarType)throw new s.RequiredError("avatarType","Required parameter requestParameters.avatarType was null or undefined when calling putChatThemeV2.");return i={},void 0!==e.themeId&&(i.themeId=e.themeId),void 0!==e.subtitle&&(i.subtitle=e.subtitle),void 0!==e.avatarType&&(i.avatarType=e.avatarType),n={},r=[{contentType:"multipart/form-data"}],o=s.canConsumeForm(r),l=o?new FormData:new URLSearchParams,void 0!==e.avatarSrc&&l.append("avatarSrc",e.avatarSrc),[4,this.request({path:"/api/v2/building/{id}/chat-theme".replace("{".concat("id","}"),encodeURIComponent(String(e.id))),method:"POST",headers:n,query:i,body:l},t)];case 1:return u=a.sent(),[2,new s.VoidApiResponse(u)]}}))}))},t.prototype.putChatThemeV2=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.putChatThemeV2Raw(e,t)];case 1:return i.sent(),[2]}}))}))},t}(s.BaseAPI);t.V2BuildingControllerApi=l},5438:function(e,t,i){var n,r=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function i(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}),o=this&&this.__awaiter||function(e,t,i,n){return new(i||(i=Promise))((function(r,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var i,n,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(i)throw new TypeError("Generator is already executing.");for(;a;)try{if(i=1,n&&(r=2&o[0]?n.return:o[0]?n.throw||((r=n.return)&&r.call(n),0):n.next)&&!(r=r.call(n,o[1])).done)return r;switch(n=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],n=0}finally{i=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.V2OracleControllerApi=void 0;var s=i(296),l=i(4584),u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.getUnitAvailabilitiesRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.getUnitAvailabilitiesRequest||void 0===e.getUnitAvailabilitiesRequest)throw new s.RequiredError("getUnitAvailabilitiesRequest","Required parameter requestParameters.getUnitAvailabilitiesRequest was null or undefined when calling getUnitAvailabilities.");return i={},(n={})["Content-Type"]="application/json",[4,this.request({path:"/renterApi/v1/oracleHelper/getUnitAvailabilityDialogue",method:"POST",headers:n,query:i,body:(0,l.GetUnitAvailabilitiesRequestToJSON)(e.getUnitAvailabilitiesRequest)},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return(0,l.GetUnitAvailabilitiesResponseFromJSON)(e)}))]}}))}))},t.prototype.getUnitAvailabilities=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.getUnitAvailabilitiesRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t.prototype.getUnitAvailabilitiesForEntityRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.getUnitAvailabilitiesRequest2||void 0===e.getUnitAvailabilitiesRequest2)throw new s.RequiredError("getUnitAvailabilitiesRequest2","Required parameter requestParameters.getUnitAvailabilitiesRequest2 was null or undefined when calling getUnitAvailabilitiesForEntity.");return i={},(n={})["Content-Type"]="application/json",[4,this.request({path:"/renterApi/v1/oracleHelper/getUnitAvailabilityDialogueForEntity",method:"POST",headers:n,query:i,body:(0,l.GetUnitAvailabilitiesRequest2ToJSON)(e.getUnitAvailabilitiesRequest2)},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return(0,l.GetUnitAvailabilitiesResponseFromJSON)(e)}))]}}))}))},t.prototype.getUnitAvailabilitiesForEntity=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.getUnitAvailabilitiesForEntityRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t}(s.BaseAPI);t.V2OracleControllerApi=u},917:function(e,t,i){var n,r=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function i(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}),o=this&&this.__awaiter||function(e,t,i,n){return new(i||(i=Promise))((function(r,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var i,n,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(i)throw new TypeError("Generator is already executing.");for(;a;)try{if(i=1,n&&(r=2&o[0]?n.return:o[0]?n.throw||((r=n.return)&&r.call(n),0):n.next)&&!(r=r.call(n,o[1])).done)return r;switch(n=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],n=0}finally{i=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.ValidateCredentialsControllerApi=void 0;var s=i(296),l=i(4584),u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.validateCredentialsRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.validateCredentialsRequest||void 0===e.validateCredentialsRequest)throw new s.RequiredError("validateCredentialsRequest","Required parameter requestParameters.validateCredentialsRequest was null or undefined when calling validateCredentials.");return i={},(n={})["Content-Type"]="application/json",[4,this.request({path:"/api/v1/validatecredentials",method:"POST",headers:n,query:i,body:(0,l.ValidateCredentialsRequestToJSON)(e.validateCredentialsRequest)},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return(0,l.ValidateCredentialsResponseFromJSON)(e)}))]}}))}))},t.prototype.validateCredentials=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.validateCredentialsRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t}(s.BaseAPI);t.ValidateCredentialsControllerApi=u},656:function(e,t,i){var n,r=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function i(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}),o=this&&this.__awaiter||function(e,t,i,n){return new(i||(i=Promise))((function(r,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var i,n,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(i)throw new TypeError("Generator is already executing.");for(;a;)try{if(i=1,n&&(r=2&o[0]?n.return:o[0]?n.throw||((r=n.return)&&r.call(n),0):n.next)&&!(r=r.call(n,o[1])).done)return r;switch(n=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],n=0}finally{i=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.GetAdditionalInfoForConfigStepNameEnum=t.WhiteListingControllerApi=void 0;var s,l=i(296),u=i(4584),d=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.continueConfigWithIdRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.configId||void 0===e.configId)throw new l.RequiredError("configId","Required parameter requestParameters.configId was null or undefined when calling continueConfigWithId.");return i={},n={},[4,this.request({path:"/api/v1/whitelisting/continueConfigWithId/{configId}".replace("{".concat("configId","}"),encodeURIComponent(String(e.configId))),method:"GET",headers:n,query:i},t)];case 1:return r=o.sent(),[2,new l.JSONApiResponse(r,(function(e){return(0,u.WhiteListingExecutionResultFromJSON)(e)}))]}}))}))},t.prototype.continueConfigWithId=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.continueConfigWithIdRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t.prototype.continueInProgressRaw=function(e){return o(this,void 0,void 0,(function(){var t,i,n;return a(this,(function(r){switch(r.label){case 0:return t={},i={},[4,this.request({path:"/api/v1/whitelisting/continueInProgress",method:"GET",headers:i,query:t},e)];case 1:return n=r.sent(),[2,new l.TextApiResponse(n)]}}))}))},t.prototype.continueInProgress=function(e){return o(this,void 0,void 0,(function(){return a(this,(function(t){switch(t.label){case 0:return[4,this.continueInProgressRaw(e)];case 1:return[4,t.sent().value()];case 2:return[2,t.sent()]}}))}))},t.prototype.getAdditionalInfoForConfigRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.configId||void 0===e.configId)throw new l.RequiredError("configId","Required parameter requestParameters.configId was null or undefined when calling getAdditionalInfoForConfig.");if(null===e.stepName||void 0===e.stepName)throw new l.RequiredError("stepName","Required parameter requestParameters.stepName was null or undefined when calling getAdditionalInfoForConfig.");return i={},n={},[4,this.request({path:"/api/v1/whitelisting/run_step/{configId}/{stepName}".replace("{".concat("configId","}"),encodeURIComponent(String(e.configId))).replace("{".concat("stepName","}"),encodeURIComponent(String(e.stepName))),method:"POST",headers:n,query:i},t)];case 1:return r=o.sent(),[2,new l.TextApiResponse(r)]}}))}))},t.prototype.getAdditionalInfoForConfig=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.getAdditionalInfoForConfigRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t.prototype.getAdditionalInfoForConfig1Raw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.createWhitelistConfigRequest||void 0===e.createWhitelistConfigRequest)throw new l.RequiredError("createWhitelistConfigRequest","Required parameter requestParameters.createWhitelistConfigRequest was null or undefined when calling getAdditionalInfoForConfig1.");return i={},(n={})["Content-Type"]="application/json",[4,this.request({path:"/api/v1/whitelisting/createConfig",method:"POST",headers:n,query:i,body:(0,u.CreateWhitelistConfigRequestToJSON)(e.createWhitelistConfigRequest)},t)];case 1:return r=o.sent(),[2,new l.JSONApiResponse(r,(function(e){return(0,u.WhiteListConfigFromJSON)(e)}))]}}))}))},t.prototype.getAdditionalInfoForConfig1=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.getAdditionalInfoForConfig1Raw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t.prototype.getAdditionalInfoForConfig2Raw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.configId||void 0===e.configId)throw new l.RequiredError("configId","Required parameter requestParameters.configId was null or undefined when calling getAdditionalInfoForConfig2.");return i={},n={},[4,this.request({path:"/api/v1/whitelisting/additionalInfo/{configId}".replace("{".concat("configId","}"),encodeURIComponent(String(e.configId))),method:"GET",headers:n,query:i},t)];case 1:return r=o.sent(),[2,new l.JSONApiResponse(r,(function(e){return(0,u.WhiteListingAdditionalInfoFromJSON)(e)}))]}}))}))},t.prototype.getAdditionalInfoForConfig2=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.getAdditionalInfoForConfig2Raw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t.prototype.getViewModelsForBuildingsRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.getWhiteListTestsForBuildingsRequest||void 0===e.getWhiteListTestsForBuildingsRequest)throw new l.RequiredError("getWhiteListTestsForBuildingsRequest","Required parameter requestParameters.getWhiteListTestsForBuildingsRequest was null or undefined when calling getViewModelsForBuildings.");return i={},(n={})["Content-Type"]="application/json",[4,this.request({path:"/api/v1/whitelisting/getViewModelsForBuildings",method:"POST",headers:n,query:i,body:(0,u.GetWhiteListTestsForBuildingsRequestToJSON)(e.getWhiteListTestsForBuildingsRequest)},t)];case 1:return r=o.sent(),[2,new l.JSONApiResponse(r,(function(e){return e.map(u.WhiteListTestDtoFromJSON)}))]}}))}))},t.prototype.getViewModelsForBuildings=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.getViewModelsForBuildingsRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t.prototype.initializeWhitelistingRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.initializeWhiteListingConfigRequest||void 0===e.initializeWhiteListingConfigRequest)throw new l.RequiredError("initializeWhiteListingConfigRequest","Required parameter requestParameters.initializeWhiteListingConfigRequest was null or undefined when calling initializeWhitelisting.");return i={},(n={})["Content-Type"]="application/json",[4,this.request({path:"/api/v1/whitelisting/initialize",method:"POST",headers:n,query:i,body:(0,u.InitializeWhiteListingConfigRequestToJSON)(e.initializeWhiteListingConfigRequest)},t)];case 1:return r=o.sent(),[2,new l.JSONApiResponse(r,(function(e){return(0,u.WhiteListingExecutionResultFromJSON)(e)}))]}}))}))},t.prototype.initializeWhitelisting=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.initializeWhitelistingRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t}(l.BaseAPI);t.WhiteListingControllerApi=d,(s=t.GetAdditionalInfoForConfigStepNameEnum||(t.GetAdditionalInfoForConfigStepNameEnum={})).Initiated="INITIATED",s.ConfigureSettings="CONFIGURE_SETTINGS",s.TimeZoneVerification="TIME_ZONE_VERIFICATION",s.ConfirmAndOrFixApiVersion="CONFIRM_AND_OR_FIX_API_VERSION",s.ActivateBuildingAutoSend="ACTIVATE_BUILDING_AUTO_SEND",s.AddAitsToBuilding="ADD_AITS_TO_BUILDING",s.RerunAvailabilities="RERUN_AVAILABILITIES",s.InsertGuestCard="INSERT_GUEST_CARD",s.InitialEmailReceived="INITIAL_EMAIL_RECEIVED",s.RequestTourDayEmailSent="REQUEST_TOUR_DAY_EMAIL_SENT",s.AiSentTimeSuggestion="AI_SENT_TIME_SUGGESTION",s.AcceptTourTimeEmailSent="ACCEPT_TOUR_TIME_EMAIL_SENT",s.AppointmentScheduled="APPOINTMENT_SCHEDULED",s.AppointmentOnGuestCard="APPOINTMENT_ON_GUEST_CARD",s.RequestCancelTour="REQUEST_CANCEL_TOUR",s.AppointmentCanceled="APPOINTMENT_CANCELED",s.AppointmentRemovedFromGuestCard="APPOINTMENT_REMOVED_FROM_GUEST_CARD"},1827:function(e,t,i){var n,r=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function i(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}),o=this&&this.__awaiter||function(e,t,i,n){return new(i||(i=Promise))((function(r,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var i,n,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(i)throw new TypeError("Generator is already executing.");for(;a;)try{if(i=1,n&&(r=2&o[0]?n.return:o[0]?n.throw||((r=n.return)&&r.call(n),0):n.next)&&!(r=r.call(n,o[1])).done)return r;switch(n=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],n=0}finally{i=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.XagacityUserControllerApi=void 0;var s=i(296),l=i(4584),u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.getOneRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.id||void 0===e.id)throw new s.RequiredError("id","Required parameter requestParameters.id was null or undefined when calling getOne.");return i={},n={},[4,this.request({path:"/api/v2/user/{id}".replace("{".concat("id","}"),encodeURIComponent(String(e.id))),method:"GET",headers:n,query:i},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return(0,l.XagacityUserWithCredentialsFromJSON)(e)}))]}}))}))},t.prototype.getOne=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.getOneRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t.prototype.updateRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.id||void 0===e.id)throw new s.RequiredError("id","Required parameter requestParameters.id was null or undefined when calling update.");if(null===e.xagacityUserWithCredentials||void 0===e.xagacityUserWithCredentials)throw new s.RequiredError("xagacityUserWithCredentials","Required parameter requestParameters.xagacityUserWithCredentials was null or undefined when calling update.");return i={},(n={})["Content-Type"]="application/json",[4,this.request({path:"/api/v2/user/{id}".replace("{".concat("id","}"),encodeURIComponent(String(e.id))),method:"PUT",headers:n,query:i,body:(0,l.XagacityUserWithCredentialsToJSON)(e.xagacityUserWithCredentials)},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return(0,l.XagacityUserWithCredentialsFromJSON)(e)}))]}}))}))},t.prototype.update=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.updateRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t}(s.BaseAPI);t.XagacityUserControllerApi=u},8887:function(e,t,i){var n=this&&this.__createBinding||(Object.create?function(e,t,i,n){void 0===n&&(n=i);var r=Object.getOwnPropertyDescriptor(t,i);r&&!("get"in r?!t.__esModule:r.writable||r.configurable)||(r={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,n,r)}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]}),r=this&&this.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||n(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),r(i(8005),t),r(i(2497),t),r(i(8730),t),r(i(9530),t),r(i(8823),t),r(i(4100),t),r(i(1210),t),r(i(3515),t),r(i(5855),t),r(i(4345),t),r(i(2938),t),r(i(5021),t),r(i(9962),t),r(i(8196),t),r(i(5282),t),r(i(4702),t),r(i(683),t),r(i(5977),t),r(i(8242),t),r(i(9714),t),r(i(7659),t),r(i(2311),t),r(i(5827),t),r(i(5334),t),r(i(7043),t),r(i(1092),t),r(i(535),t),r(i(4071),t),r(i(5834),t),r(i(4797),t),r(i(9925),t),r(i(9412),t),r(i(7411),t),r(i(1562),t),r(i(3195),t),r(i(3978),t),r(i(7282),t),r(i(307),t),r(i(4968),t),r(i(2760),t),r(i(8497),t),r(i(1270),t),r(i(6324),t),r(i(8878),t),r(i(5438),t),r(i(917),t),r(i(656),t),r(i(1827),t)},9991:function(e,t,i){var n=this&&this.__createBinding||(Object.create?function(e,t,i,n){void 0===n&&(n=i);var r=Object.getOwnPropertyDescriptor(t,i);r&&!("get"in r?!t.__esModule:r.writable||r.configurable)||(r={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,n,r)}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]}),r=this&&this.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||n(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),r(i(296),t),r(i(8887),t),r(i(4584),t)},6662:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.AdditionalSourceConfiguarionsToJSON=t.AdditionalSourceConfiguarionsFromJSONTyped=t.AdditionalSourceConfiguarionsFromJSON=void 0;var n=i(296);function r(e,t){return null==e?e:{availabilitiesType:(0,n.exists)(e,"availabilitiesType")?e.availabilitiesType:void 0,fieldsToBeEnriched:(0,n.exists)(e,"fieldsToBeEnriched")?e.fieldsToBeEnriched:void 0}}t.AdditionalSourceConfiguarionsFromJSON=function(e){return r(e)},t.AdditionalSourceConfiguarionsFromJSONTyped=r,t.AdditionalSourceConfiguarionsToJSON=function(e){if(void 0!==e)return null===e?null:{availabilitiesType:e.availabilitiesType,fieldsToBeEnriched:e.fieldsToBeEnriched}}},1961:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.AiAssistantStubInfoToJSON=t.AiAssistantStubInfoFromJSONTyped=t.AiAssistantStubInfoFromJSON=void 0;var n=i(296);function r(e,t){return null==e?e:{id:e.id,buildingId:e.buildingId,crmType:e.crmType,email:(0,n.exists)(e,"email")?e.email:void 0,firstName:(0,n.exists)(e,"firstName")?e.firstName:void 0,lastName:(0,n.exists)(e,"lastName")?e.lastName:void 0}}t.AiAssistantStubInfoFromJSON=function(e){return r(e)},t.AiAssistantStubInfoFromJSONTyped=r,t.AiAssistantStubInfoToJSON=function(e){if(void 0!==e)return null===e?null:{id:e.id,buildingId:e.buildingId,crmType:e.crmType,email:e.email,firstName:e.firstName,lastName:e.lastName}}},818:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.AlertQueueInfoToJSON=t.AlertQueueInfoFromJSONTyped=t.AlertQueueInfoFromJSON=t.AlertQueueInfoConversationTypeEnum=void 0;var n,r=i(296);function o(e,t){return null==e?e:{firstName:(0,r.exists)(e,"firstName")?e.firstName:void 0,lastName:(0,r.exists)(e,"lastName")?e.lastName:void 0,email:(0,r.exists)(e,"email")?e.email:void 0,phoneNumber:(0,r.exists)(e,"phoneNumber")?e.phoneNumber:void 0,handoffStatus:(0,r.exists)(e,"handoffStatus")?e.handoffStatus:void 0,dateUpdated:(0,r.exists)(e,"dateUpdated")?new Date(e.dateUpdated):void 0,conversationType:(0,r.exists)(e,"conversationType")?e.conversationType:void 0,alertType:(0,r.exists)(e,"alertType")?e.alertType:void 0,contextId:(0,r.exists)(e,"contextId")?e.contextId:void 0,conversationKey:(0,r.exists)(e,"conversationKey")?e.conversationKey:void 0,failureReason:(0,r.exists)(e,"failureReason")?e.failureReason:void 0}}(n=t.AlertQueueInfoConversationTypeEnum||(t.AlertQueueInfoConversationTypeEnum={})).Email="EMAIL",n.Phone="PHONE",t.AlertQueueInfoFromJSON=function(e){return o(e)},t.AlertQueueInfoFromJSONTyped=o,t.AlertQueueInfoToJSON=function(e){if(void 0!==e)return null===e?null:{firstName:e.firstName,lastName:e.lastName,email:e.email,phoneNumber:e.phoneNumber,handoffStatus:e.handoffStatus,dateUpdated:void 0===e.dateUpdated?void 0:e.dateUpdated.toISOString(),conversationType:e.conversationType,alertType:e.alertType,contextId:e.contextId,conversationKey:e.conversationKey,failureReason:e.failureReason}}},6140:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.AlertQueueMessageToJSON=t.AlertQueueMessageFromJSONTyped=t.AlertQueueMessageFromJSON=void 0;var n=i(296);function r(e,t){return null==e?e:{sender:(0,n.exists)(e,"sender")?e.sender:void 0,message:(0,n.exists)(e,"message")?e.message:void 0,timeSent:(0,n.exists)(e,"timeSent")?new Date(e.timeSent):void 0,sentByElise:(0,n.exists)(e,"sentByElise")?e.sentByElise:void 0}}t.AlertQueueMessageFromJSON=function(e){return r(e)},t.AlertQueueMessageFromJSONTyped=r,t.AlertQueueMessageToJSON=function(e){if(void 0!==e)return null===e?null:{sender:e.sender,message:e.message,timeSent:void 0===e.timeSent?void 0:e.timeSent.toISOString(),sentByElise:e.sentByElise}}},5246:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.AlternativeGeoAddressToJSON=t.AlternativeGeoAddressFromJSONTyped=t.AlternativeGeoAddressFromJSON=void 0;var n=i(296);function r(e,t){return null==e?e:{alternativeIlsAdress:(0,n.exists)(e,"alternativeIlsAdress")?e.alternativeIlsAdress:void 0,alternativeIlsAddressGeoFormat:(0,n.exists)(e,"alternativeIlsAddressGeoFormat")?e.alternativeIlsAddressGeoFormat:void 0}}t.AlternativeGeoAddressFromJSON=function(e){return r(e)},t.AlternativeGeoAddressFromJSONTyped=r,t.AlternativeGeoAddressToJSON=function(e){if(void 0!==e)return null===e?null:{alternativeIlsAdress:e.alternativeIlsAdress,alternativeIlsAddressGeoFormat:e.alternativeIlsAddressGeoFormat}}},5556:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.AlternativeILSAddressGeoFormatToJSON=t.AlternativeILSAddressGeoFormatFromJSONTyped=t.AlternativeILSAddressGeoFormatFromJSON=void 0;var n=i(296),r=i(5246);function o(e,t){return null==e?e:{alternativeGeoAdresses:(0,n.exists)(e,"alternativeGeoAdresses")?e.alternativeGeoAdresses.map(r.AlternativeGeoAddressFromJSON):void 0}}t.AlternativeILSAddressGeoFormatFromJSON=function(e){return o(e)},t.AlternativeILSAddressGeoFormatFromJSONTyped=o,t.AlternativeILSAddressGeoFormatToJSON=function(e){if(void 0!==e)return null===e?null:{alternativeGeoAdresses:void 0===e.alternativeGeoAdresses?void 0:e.alternativeGeoAdresses.map(r.AlternativeGeoAddressToJSON)}}},7455:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.AnyoneHomeCredentialsToJSON=t.AnyoneHomeCredentialsFromJSONTyped=t.AnyoneHomeCredentialsFromJSON=void 0;var n=i(296);function r(e,t){return null==e?e:{id:(0,n.exists)(e,"id")?e.id:void 0,userId:(0,n.exists)(e,"userId")?e.userId:void 0,domain:(0,n.exists)(e,"domain")?e.domain:void 0,userName:(0,n.exists)(e,"userName")?e.userName:void 0,password:(0,n.exists)(e,"password")?e.password:void 0,apiKey:(0,n.exists)(e,"apiKey")?e.apiKey:void 0,leasingAgentId:(0,n.exists)(e,"leasingAgentId")?e.leasingAgentId:void 0}}t.AnyoneHomeCredentialsFromJSON=function(e){return r(e)},t.AnyoneHomeCredentialsFromJSONTyped=r,t.AnyoneHomeCredentialsToJSON=function(e){if(void 0!==e)return null===e?null:{id:e.id,userId:e.userId,domain:e.domain,userName:e.userName,password:e.password,apiKey:e.apiKey,leasingAgentId:e.leasingAgentId}}},3617:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.AppointmentHoursToJSON=t.AppointmentHoursFromJSONTyped=t.AppointmentHoursFromJSON=void 0;var n=i(296);function r(e,t){return null==e?e:{daysOfWeek:(0,n.exists)(e,"daysOfWeek")?e.daysOfWeek:void 0,startTime:(0,n.exists)(e,"startTime")?e.startTime:void 0,endTime:(0,n.exists)(e,"endTime")?e.endTime:void 0,lastAppointmentStartTime:(0,n.exists)(e,"lastAppointmentStartTime")?e.lastAppointmentStartTime:void 0,lastStartTimeForTheSameDay:(0,n.exists)(e,"lastStartTimeForTheSameDay")?e.lastStartTimeForTheSameDay:void 0,daysOfWeekString:(0,n.exists)(e,"daysOfWeekString")?e.daysOfWeekString:void 0,specialAppointmentDuration:(0,n.exists)(e,"specialAppointmentDuration")?e.specialAppointmentDuration:void 0,maxNumberOfAppointments:(0,n.exists)(e,"maxNumberOfAppointments")?e.maxNumberOfAppointments:void 0,openHouseSpecific:(0,n.exists)(e,"openHouseSpecific")?e.openHouseSpecific:void 0,specificDate:(0,n.exists)(e,"specificDate")?new Date(e.specificDate):void 0}}t.AppointmentHoursFromJSON=function(e){return r(e)},t.AppointmentHoursFromJSONTyped=r,t.AppointmentHoursToJSON=function(e){if(void 0!==e)return null===e?null:{daysOfWeek:e.daysOfWeek,startTime:e.startTime,endTime:e.endTime,lastAppointmentStartTime:e.lastAppointmentStartTime,lastStartTimeForTheSameDay:e.lastStartTimeForTheSameDay,daysOfWeekString:e.daysOfWeekString,specialAppointmentDuration:e.specialAppointmentDuration,maxNumberOfAppointments:e.maxNumberOfAppointments,openHouseSpecific:e.openHouseSpecific,specificDate:void 0===e.specificDate?void 0:e.specificDate.toISOString().substr(0,10)}}},67:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.AssociateLeadRequestDtoToJSON=t.AssociateLeadRequestDtoFromJSONTyped=t.AssociateLeadRequestDtoFromJSON=void 0;var n=i(296);function r(e,t){return null==e?e:{buildingId:(0,n.exists)(e,"buildingId")?e.buildingId:void 0,email:(0,n.exists)(e,"email")?e.email:void 0}}t.AssociateLeadRequestDtoFromJSON=function(e){return r(e)},t.AssociateLeadRequestDtoFromJSONTyped=r,t.AssociateLeadRequestDtoToJSON=function(e){if(void 0!==e)return null===e?null:{buildingId:e.buildingId,email:e.email}}},1234:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.AttachmentToJSON=t.AttachmentFromJSONTyped=t.AttachmentFromJSON=void 0;var n=i(296);function r(e,t){return null==e?e:{emailClientName:(0,n.exists)(e,"emailClientName")?e.emailClientName:void 0,rawData:(0,n.exists)(e,"rawData")?e.rawData:void 0,tempFile:(0,n.exists)(e,"tempFile")?e.tempFile:void 0,amazonKeyName:(0,n.exists)(e,"amazonKeyName")?e.amazonKeyName:void 0,fileType:(0,n.exists)(e,"fileType")?e.fileType:void 0,fileName:(0,n.exists)(e,"fileName")?e.fileName:void 0,fileUrl:(0,n.exists)(e,"fileUrl")?e.fileUrl:void 0,attachmentName:(0,n.exists)(e,"attachmentName")?e.attachmentName:void 0}}t.AttachmentFromJSON=function(e){return r(e)},t.AttachmentFromJSONTyped=r,t.AttachmentToJSON=function(e){if(void 0!==e)return null===e?null:{emailClientName:e.emailClientName,rawData:e.rawData,tempFile:e.tempFile,amazonKeyName:e.amazonKeyName,fileType:e.fileType,fileName:e.fileName,fileUrl:e.fileUrl,attachmentName:e.attachmentName}}},1995:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.AvailabilitiesPreferencesToJSON=t.AvailabilitiesPreferencesFromJSONTyped=t.AvailabilitiesPreferencesFromJSON=void 0;var n=i(296),r=i(6662);function o(e,t){return null==e?e:{timesToRunInCronFormat:(0,n.exists)(e,"timesToRunInCronFormat")?e.timesToRunInCronFormat:void 0,additionalSourceConfigurations:(0,n.exists)(e,"additionalSourceConfigurations")?e.additionalSourceConfigurations.map(r.AdditionalSourceConfiguarionsFromJSON):void 0}}t.AvailabilitiesPreferencesFromJSON=function(e){return o(e)},t.AvailabilitiesPreferencesFromJSONTyped=o,t.AvailabilitiesPreferencesToJSON=function(e){if(void 0!==e)return null===e?null:{timesToRunInCronFormat:e.timesToRunInCronFormat,additionalSourceConfigurations:void 0===e.additionalSourceConfigurations?void 0:e.additionalSourceConfigurations.map(r.AdditionalSourceConfiguarionsToJSON)}}},3618:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.BookTourByStateIdDtoToJSON=t.BookTourByStateIdDtoFromJSONTyped=t.BookTourByStateIdDtoFromJSON=t.BookTourByStateIdDtoTourTypeEnum=void 0;var n,r=i(296);function o(e,t){return null==e?e:{mcId:(0,r.exists)(e,"mcId")?e.mcId:void 0,stateId:(0,r.exists)(e,"stateId")?e.stateId:void 0,buildingId:(0,r.exists)(e,"buildingId")?e.buildingId:void 0,tourType:(0,r.exists)(e,"tourType")?e.tourType:void 0,startTime:(0,r.exists)(e,"startTime")?new Date(e.startTime):void 0,endTime:(0,r.exists)(e,"endTime")?new Date(e.endTime):void 0,useLegacyContext:(0,r.exists)(e,"useLegacyContext")?e.useLegacyContext:void 0,sms:(0,r.exists)(e,"sms")?e.sms:void 0}}(n=t.BookTourByStateIdDtoTourTypeEnum||(t.BookTourByStateIdDtoTourTypeEnum={})).Unknown="UNKNOWN",n.SelfGuided="SELF_GUIDED",n.VirtualShowing="VIRTUAL_SHOWING",n.WithAgent="WITH_AGENT",n.MediaTour="MEDIA_TOUR",t.BookTourByStateIdDtoFromJSON=function(e){return o(e)},t.BookTourByStateIdDtoFromJSONTyped=o,t.BookTourByStateIdDtoToJSON=function(e){if(void 0!==e)return null===e?null:{mcId:e.mcId,stateId:e.stateId,buildingId:e.buildingId,tourType:e.tourType,startTime:void 0===e.startTime?void 0:e.startTime.toISOString(),endTime:void 0===e.endTime?void 0:e.endTime.toISOString(),useLegacyContext:e.useLegacyContext,sms:e.sms}}},2160:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.BookTourDtoToJSON=t.BookTourDtoFromJSONTyped=t.BookTourDtoFromJSON=t.BookTourDtoTourTypeEnum=void 0;var n,r=i(296);function o(e,t){return null==e?e:{contextId:(0,r.exists)(e,"contextId")?e.contextId:void 0,buildingId:(0,r.exists)(e,"buildingId")?e.buildingId:void 0,tourType:(0,r.exists)(e,"tourType")?e.tourType:void 0,startTime:(0,r.exists)(e,"startTime")?new Date(e.startTime):void 0,endTime:(0,r.exists)(e,"endTime")?new Date(e.endTime):void 0}}(n=t.BookTourDtoTourTypeEnum||(t.BookTourDtoTourTypeEnum={})).Unknown="UNKNOWN",n.SelfGuided="SELF_GUIDED",n.VirtualShowing="VIRTUAL_SHOWING",n.WithAgent="WITH_AGENT",n.MediaTour="MEDIA_TOUR",t.BookTourDtoFromJSON=function(e){return o(e)},t.BookTourDtoFromJSONTyped=o,t.BookTourDtoToJSON=function(e){if(void 0!==e)return null===e?null:{contextId:e.contextId,buildingId:e.buildingId,tourType:e.tourType,startTime:void 0===e.startTime?void 0:e.startTime.toISOString(),endTime:void 0===e.endTime?void 0:e.endTime.toISOString()}}},5604:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.BuildingDetailsToJSON=t.BuildingDetailsFromJSONTyped=t.BuildingDetailsFromJSON=t.BuildingDetailsTourNotificationEmailsModeEnum=t.BuildingDetailsTourTypePriorityEnum=t.BuildingDetailsVirtualTourTypeEnum=t.BuildingDetailsLeasingOfficeSetupTypeEnum=void 0;var n,r,o,a,s=i(296),l=i(5556);function u(e,t){return null==e?e:{id:(0,s.exists)(e,"id")?e.id:void 0,managementCompanyId:(0,s.exists)(e,"managementCompanyId")?e.managementCompanyId:void 0,organizationId:(0,s.exists)(e,"organizationId")?e.organizationId:void 0,active:(0,s.exists)(e,"active")?e.active:void 0,handoffForwardToEmails:(0,s.exists)(e,"handoffForwardToEmails")?e.handoffForwardToEmails:void 0,responseCcEmails:(0,s.exists)(e,"responseCcEmails")?e.responseCcEmails:void 0,responseBccEmails:(0,s.exists)(e,"responseBccEmails")?e.responseBccEmails:void 0,associateCalendarId:(0,s.exists)(e,"associateCalendarId")?e.associateCalendarId:void 0,buildingName:(0,s.exists)(e,"buildingName")?e.buildingName:void 0,address1:(0,s.exists)(e,"address1")?e.address1:void 0,address2:(0,s.exists)(e,"address2")?e.address2:void 0,address3:(0,s.exists)(e,"address3")?e.address3:void 0,alternativeILSAddresses:(0,s.exists)(e,"alternativeILSAddresses")?e.alternativeILSAddresses:void 0,city:(0,s.exists)(e,"city")?e.city:void 0,state:(0,s.exists)(e,"state")?e.state:void 0,postalCode:(0,s.exists)(e,"postalCode")?e.postalCode:void 0,crossStreets:(0,s.exists)(e,"crossStreets")?e.crossStreets:void 0,neighborhood:(0,s.exists)(e,"neighborhood")?e.neighborhood:void 0,nearbyTransportation:(0,s.exists)(e,"nearbyTransportation")?e.nearbyTransportation:void 0,buildingOwnership:(0,s.exists)(e,"buildingOwnership")?e.buildingOwnership:void 0,buildingType:(0,s.exists)(e,"buildingType")?e.buildingType:void 0,totalUnits:(0,s.exists)(e,"totalUnits")?e.totalUnits:void 0,totalFloors:(0,s.exists)(e,"totalFloors")?e.totalFloors:void 0,yearBuilt:(0,s.exists)(e,"yearBuilt")?e.yearBuilt:void 0,block:(0,s.exists)(e,"block")?e.block:void 0,lot:(0,s.exists)(e,"lot")?e.lot:void 0,schoolDistrict:(0,s.exists)(e,"schoolDistrict")?e.schoolDistrict:void 0,communityDistrict:(0,s.exists)(e,"communityDistrict")?e.communityDistrict:void 0,newConstruction:(0,s.exists)(e,"newConstruction")?e.newConstruction:void 0,preWarBuilding:(0,s.exists)(e,"preWarBuilding")?e.preWarBuilding:void 0,brownstone:(0,s.exists)(e,"brownstone")?e.brownstone:void 0,greenBuilding:(0,s.exists)(e,"greenBuilding")?e.greenBuilding:void 0,elevator:(0,s.exists)(e,"elevator")?e.elevator:void 0,freightElevator:(0,s.exists)(e,"freightElevator")?e.freightElevator:void 0,parking:(0,s.exists)(e,"parking")?e.parking:void 0,petPolicy:(0,s.exists)(e,"petPolicy")?e.petPolicy:void 0,petNumberLimit:(0,s.exists)(e,"petNumberLimit")?e.petNumberLimit:void 0,petWeightLimit:(0,s.exists)(e,"petWeightLimit")?e.petWeightLimit:void 0,petFeeOrDeposit:(0,s.exists)(e,"petFeeOrDeposit")?e.petFeeOrDeposit:void 0,utilitiesIncluded:(0,s.exists)(e,"utilitiesIncluded")?e.utilitiesIncluded:void 0,utilitiesNotIncluded:(0,s.exists)(e,"utilitiesNotIncluded")?e.utilitiesNotIncluded:void 0,leaseTermsAccepted:(0,s.exists)(e,"leaseTermsAccepted")?e.leaseTermsAccepted:void 0,minLeaseTermAccepted:(0,s.exists)(e,"minLeaseTermAccepted")?e.minLeaseTermAccepted:void 0,furnishedOffered:(0,s.exists)(e,"furnishedOffered")?e.furnishedOffered:void 0,furnishedUnitsPolicy:(0,s.exists)(e,"furnishedUnitsPolicy")?e.furnishedUnitsPolicy:void 0,internationalStudentRequirements:(0,s.exists)(e,"internationalStudentRequirements")?e.internationalStudentRequirements:void 0,amenitiesFee:(0,s.exists)(e,"amenitiesFee")?e.amenitiesFee:void 0,nonSmoking:(0,s.exists)(e,"nonSmoking")?e.nonSmoking:void 0,piedATerreAllowed:(0,s.exists)(e,"piedATerreAllowed")?e.piedATerreAllowed:void 0,diplomatsOk:(0,s.exists)(e,"diplomatsOk")?e.diplomatsOk:void 0,corporateLeasesAccepted:(0,s.exists)(e,"corporateLeasesAccepted")?e.corporateLeasesAccepted:void 0,shortTermAllowed:(0,s.exists)(e,"shortTermAllowed")?e.shortTermAllowed:void 0,doorman:(0,s.exists)(e,"doorman")?e.doorman:void 0,intercom:(0,s.exists)(e,"intercom")?e.intercom:void 0,liveInSuper:(0,s.exists)(e,"liveInSuper")?e.liveInSuper:void 0,concierge:(0,s.exists)(e,"concierge")?e.concierge:void 0,laundryInBuilding:(0,s.exists)(e,"laundryInBuilding")?e.laundryInBuilding:void 0,packageReceiving:(0,s.exists)(e,"packageReceiving")?e.packageReceiving:void 0,gym:(0,s.exists)(e,"gym")?e.gym:void 0,storage:(0,s.exists)(e,"storage")?e.storage:void 0,bicycleRoom:(0,s.exists)(e,"bicycleRoom")?e.bicycleRoom:void 0,lounge:(0,s.exists)(e,"lounge")?e.lounge:void 0,clubHouse:(0,s.exists)(e,"clubHouse")?e.clubHouse:void 0,businessCenter:(0,s.exists)(e,"businessCenter")?e.businessCenter:void 0,outdoorSpace:(0,s.exists)(e,"outdoorSpace")?e.outdoorSpace:void 0,roofDeck:(0,s.exists)(e,"roofDeck")?e.roofDeck:void 0,courtyard:(0,s.exists)(e,"courtyard")?e.courtyard:void 0,childrenPlayroom:(0,s.exists)(e,"childrenPlayroom")?e.childrenPlayroom:void 0,nursery:(0,s.exists)(e,"nursery")?e.nursery:void 0,maidService:(0,s.exists)(e,"maidService")?e.maidService:void 0,pool:(0,s.exists)(e,"pool")?e.pool:void 0,wheelchairAccess:(0,s.exists)(e,"wheelchairAccess")?e.wheelchairAccess:void 0,guarantorTypesAccepted:(0,s.exists)(e,"guarantorTypesAccepted")?e.guarantorTypesAccepted:void 0,thirdPartyGuarantorTypesAccepted:(0,s.exists)(e,"thirdPartyGuarantorTypesAccepted")?e.thirdPartyGuarantorTypesAccepted:void 0,noCreditQualificationAlternative:(0,s.exists)(e,"noCreditQualificationAlternative")?e.noCreditQualificationAlternative:void 0,flexWallPolicy:(0,s.exists)(e,"flexWallPolicy")?e.flexWallPolicy:void 0,leaseholderApplicationFee:(0,s.exists)(e,"leaseholderApplicationFee")?e.leaseholderApplicationFee:void 0,occupantApplicationFee:(0,s.exists)(e,"occupantApplicationFee")?e.occupantApplicationFee:void 0,guarantorApplicationFee:(0,s.exists)(e,"guarantorApplicationFee")?e.guarantorApplicationFee:void 0,tenantIncomeRequirementRentMultiplier:(0,s.exists)(e,"tenantIncomeRequirementRentMultiplier")?e.tenantIncomeRequirementRentMultiplier:void 0,guarantorIncomeRequirementRentMultiplier:(0,s.exists)(e,"guarantorIncomeRequirementRentMultiplier")?e.guarantorIncomeRequirementRentMultiplier:void 0,incomeRequirementRentMultiplierTimePeriod:(0,s.exists)(e,"incomeRequirementRentMultiplierTimePeriod")?e.incomeRequirementRentMultiplierTimePeriod:void 0,leaseholderMinimumCreditScoreRequirement:(0,s.exists)(e,"leaseholderMinimumCreditScoreRequirement")?e.leaseholderMinimumCreditScoreRequirement:void 0,guarantorMinimumCreditScoreRequirement:(0,s.exists)(e,"guarantorMinimumCreditScoreRequirement")?e.guarantorMinimumCreditScoreRequirement:void 0,leaseholderApplicationDocumentsRequired:(0,s.exists)(e,"leaseholderApplicationDocumentsRequired")?e.leaseholderApplicationDocumentsRequired:void 0,selfEmployedApplicationDocumentsRequired:(0,s.exists)(e,"selfEmployedApplicationDocumentsRequired")?e.selfEmployedApplicationDocumentsRequired:void 0,guarantorApplicationDocumentsRequired:(0,s.exists)(e,"guarantorApplicationDocumentsRequired")?e.guarantorApplicationDocumentsRequired:void 0,guarantorsAccepted:(0,s.exists)(e,"guarantorsAccepted")?e.guarantorsAccepted:void 0,financialsInsufficientAlternative:(0,s.exists)(e,"financialsInsufficientAlternative")?e.financialsInsufficientAlternative:void 0,prepaymentPolicy:(0,s.exists)(e,"prepaymentPolicy")?e.prepaymentPolicy:void 0,rentRequiredOnLeaseSigning:(0,s.exists)(e,"rentRequiredOnLeaseSigning")?e.rentRequiredOnLeaseSigning:void 0,securityDepositRentMultiplier:(0,s.exists)(e,"securityDepositRentMultiplier")?e.securityDepositRentMultiplier:void 0,paymentFormsAccepted:(0,s.exists)(e,"paymentFormsAccepted")?e.paymentFormsAccepted:void 0,clientEmail:(0,s.exists)(e,"clientEmail")?e.clientEmail:void 0,description:(0,s.exists)(e,"description")?e.description:void 0,notes:(0,s.exists)(e,"notes")?e.notes:void 0,leasingOfficeHours:(0,s.exists)(e,"leasingOfficeHours")?e.leasingOfficeHours:void 0,occupiedUnitsShowingHours:(0,s.exists)(e,"occupiedUnitsShowingHours")?e.occupiedUnitsShowingHours:void 0,internalNotes:(0,s.exists)(e,"internalNotes")?e.internalNotes:void 0,leasingPhoneNumber:(0,s.exists)(e,"leasingPhoneNumber")?e.leasingPhoneNumber:void 0,callCenterNumber:(0,s.exists)(e,"callCenterNumber")?e.callCenterNumber:void 0,buildingWebsiteUrl:(0,s.exists)(e,"buildingWebsiteUrl")?e.buildingWebsiteUrl:void 0,applicationLink:(0,s.exists)(e,"applicationLink")?e.applicationLink:void 0,geoAddress:(0,s.exists)(e,"geoAddress")?e.geoAddress:void 0,googleMapsUrl:(0,s.exists)(e,"googleMapsUrl")?e.googleMapsUrl:void 0,alerts:(0,s.exists)(e,"alerts")?e.alerts:void 0,rentComputeType:(0,s.exists)(e,"rentComputeType")?e.rentComputeType:void 0,autosendActive:(0,s.exists)(e,"autosendActive")?e.autosendActive:void 0,advancedMoveInAllowenceInDays:(0,s.exists)(e,"advancedMoveInAllowenceInDays")?e.advancedMoveInAllowenceInDays:void 0,alternativeBuildingNames:(0,s.exists)(e,"alternativeBuildingNames")?e.alternativeBuildingNames:void 0,externalIds:(0,s.exists)(e,"externalIds")?e.externalIds:void 0,externalCrmId:(0,s.exists)(e,"externalCrmId")?e.externalCrmId:void 0,defaultAvailabilityQuoteMatchMoveInDate:(0,s.exists)(e,"defaultAvailabilityQuoteMatchMoveInDate")?e.defaultAvailabilityQuoteMatchMoveInDate:void 0,leaseRenewalNoticeInDays:(0,s.exists)(e,"leaseRenewalNoticeInDays")?e.leaseRenewalNoticeInDays:void 0,rentQuoteFormat:(0,s.exists)(e,"rentQuoteFormat")?e.rentQuoteFormat:void 0,rentWithIncentivesQuoteFormat:(0,s.exists)(e,"rentWithIncentivesQuoteFormat")?e.rentWithIncentivesQuoteFormat:void 0,isPartOfComplex:(0,s.exists)(e,"isPartOfComplex")?e.isPartOfComplex:void 0,alternativeILSAddressGeoFormat:(0,s.exists)(e,"alternativeILSAddressGeoFormat")?(0,l.AlternativeILSAddressGeoFormatFromJSON)(e.alternativeILSAddressGeoFormat):void 0,effectiveRentComputeType:(0,s.exists)(e,"effectiveRentComputeType")?e.effectiveRentComputeType:void 0,maxLeaseTermAccepted:(0,s.exists)(e,"maxLeaseTermAccepted")?e.maxLeaseTermAccepted:void 0,parkingInformation:(0,s.exists)(e,"parkingInformation")?e.parkingInformation:void 0,storageFee:(0,s.exists)(e,"storageFee")?e.storageFee:void 0,incentivesProperlyConnected:(0,s.exists)(e,"incentivesProperlyConnected")?e.incentivesProperlyConnected:void 0,electricCompany:(0,s.exists)(e,"electricCompany")?e.electricCompany:void 0,gasCompany:(0,s.exists)(e,"gasCompany")?e.gasCompany:void 0,telephoneCompany:(0,s.exists)(e,"telephoneCompany")?e.telephoneCompany:void 0,televisionCompany:(0,s.exists)(e,"televisionCompany")?e.televisionCompany:void 0,waterCompany:(0,s.exists)(e,"waterCompany")?e.waterCompany:void 0,internetCompany:(0,s.exists)(e,"internetCompany")?e.internetCompany:void 0,localHospital:(0,s.exists)(e,"localHospital")?e.localHospital:void 0,localSchoolDistrict:(0,s.exists)(e,"localSchoolDistrict")?e.localSchoolDistrict:void 0,localElementarySchool:(0,s.exists)(e,"localElementarySchool")?e.localElementarySchool:void 0,localMiddleSchool:(0,s.exists)(e,"localMiddleSchool")?e.localMiddleSchool:void 0,localHighSchool:(0,s.exists)(e,"localHighSchool")?e.localHighSchool:void 0,localShoppingCenter:(0,s.exists)(e,"localShoppingCenter")?e.localShoppingCenter:void 0,localGroceryStore:(0,s.exists)(e,"localGroceryStore")?e.localGroceryStore:void 0,closestInterstates:(0,s.exists)(e,"closestInterstates")?e.closestInterstates:void 0,buildingPicturesUrl:(0,s.exists)(e,"buildingPicturesUrl")?e.buildingPicturesUrl:void 0,buildingFloorPlansUrl:(0,s.exists)(e,"buildingFloorPlansUrl")?e.buildingFloorPlansUrl:void 0,nonexistentLayouts:(0,s.exists)(e,"nonexistentLayouts")?e.nonexistentLayouts:void 0,offeredLayouts:(0,s.exists)(e,"offeredLayouts")?e.offeredLayouts:void 0,avoidQuotingPrices:(0,s.exists)(e,"avoidQuotingPrices")?e.avoidQuotingPrices:void 0,excludeNotRentReadyUnit:(0,s.exists)(e,"excludeNotRentReadyUnit")?e.excludeNotRentReadyUnit:void 0,flexWallsAllowed:(0,s.exists)(e,"flexWallsAllowed")?e.flexWallsAllowed:void 0,petsAccepted:(0,s.exists)(e,"petsAccepted")?e.petsAccepted:void 0,guarantorsAcceptedSwitch:(0,s.exists)(e,"guarantorsAcceptedSwitch")?e.guarantorsAcceptedSwitch:void 0,thirdPartyGuarantorsAccepted:(0,s.exists)(e,"thirdPartyGuarantorsAccepted")?e.thirdPartyGuarantorsAccepted:void 0,alwaysScheduleAppointments:(0,s.exists)(e,"alwaysScheduleAppointments")?e.alwaysScheduleAppointments:void 0,leasingOfficeOnsite:(0,s.exists)(e,"leasingOfficeOnsite")?e.leasingOfficeOnsite:void 0,building3dMediaUrl:(0,s.exists)(e,"building3dMediaUrl")?e.building3dMediaUrl:void 0,dailyreport:(0,s.exists)(e,"dailyreport")?e.dailyreport:void 0,dailyReportEmails:(0,s.exists)(e,"dailyReportEmails")?e.dailyReportEmails:void 0,nearbySubways:(0,s.exists)(e,"nearbySubways")?e.nearbySubways:void 0,bedroomTypes:(0,s.exists)(e,"bedroomTypes")?e.bedroomTypes:void 0,leasingBrochureUrl:(0,s.exists)(e,"leasingBrochureUrl")?e.leasingBrochureUrl:void 0,confidenceVariable:(0,s.exists)(e,"confidenceVariable")?e.confidenceVariable:void 0,textForwardToEmails:(0,s.exists)(e,"textForwardToEmails")?e.textForwardToEmails:void 0,synchronizationStatus:(0,s.exists)(e,"synchronizationStatus")?e.synchronizationStatus:void 0,omitDesiredFloorPlan:(0,s.exists)(e,"omitDesiredFloorPlan")?e.omitDesiredFloorPlan:void 0,pickingNewGuestCards:(0,s.exists)(e,"pickingNewGuestCards")?e.pickingNewGuestCards:void 0,showNotRespondingLeadsInReport:(0,s.exists)(e,"showNotRespondingLeadsInReport")?e.showNotRespondingLeadsInReport:void 0,leasingOfficeSetupType:(0,s.exists)(e,"leasingOfficeSetupType")?e.leasingOfficeSetupType:void 0,firstContactReasonRequired:(0,s.exists)(e,"firstContactReasonRequired")?e.firstContactReasonRequired:void 0,firstContactReason:(0,s.exists)(e,"firstContactReason")?e.firstContactReason:void 0,emailSignature:(0,s.exists)(e,"emailSignature")?e.emailSignature:void 0,tourDuration:(0,s.exists)(e,"tourDuration")?e.tourDuration:void 0,inPersonToursAllowed:(0,s.exists)(e,"inPersonToursAllowed")?e.inPersonToursAllowed:void 0,selfGuidedToursEnabled:(0,s.exists)(e,"selfGuidedToursEnabled")?e.selfGuidedToursEnabled:void 0,virtualTourType:(0,s.exists)(e,"virtualTourType")?e.virtualTourType:void 0,virtualTourPlatforms:(0,s.exists)(e,"virtualTourPlatforms")?e.virtualTourPlatforms:void 0,noUnitSelfGuidedTourAllowed:(0,s.exists)(e,"noUnitSelfGuidedTourAllowed")?e.noUnitSelfGuidedTourAllowed:void 0,sgSchedulingBasedOnNormalAppointments:(0,s.exists)(e,"sgSchedulingBasedOnNormalAppointments")?e.sgSchedulingBasedOnNormalAppointments:void 0,tourTypePriority:(0,s.exists)(e,"tourTypePriority")?e.tourTypePriority:void 0,tourNotificationEmailsMode:(0,s.exists)(e,"tourNotificationEmailsMode")?e.tourNotificationEmailsMode:void 0,showByOpenHouseOnly:(0,s.exists)(e,"showByOpenHouseOnly")?e.showByOpenHouseOnly:void 0,showUnitsWithPendingApplication:(0,s.exists)(e,"showUnitsWithPendingApplication")?e.showUnitsWithPendingApplication:void 0,showOccupiedUnitsWithPendingApplication:(0,s.exists)(e,"showOccupiedUnitsWithPendingApplication")?e.showOccupiedUnitsWithPendingApplication:void 0,confirmAppointmentsOccupiedUnits:(0,s.exists)(e,"confirmAppointmentsOccupiedUnits")?e.confirmAppointmentsOccupiedUnits:void 0,confirmAppointmentsRenovatingUnits:(0,s.exists)(e,"confirmAppointmentsRenovatingUnits")?e.confirmAppointmentsRenovatingUnits:void 0,occupiedUnitsAdvancedNoticeInHours:(0,s.exists)(e,"occupiedUnitsAdvancedNoticeInHours")?e.occupiedUnitsAdvancedNoticeInHours:void 0,prioritizeShowingVacantUnits:(0,s.exists)(e,"prioritizeShowingVacantUnits")?e.prioritizeShowingVacantUnits:void 0,showOccupiedUnits:(0,s.exists)(e,"showOccupiedUnits")?e.showOccupiedUnits:void 0,whiteListActivated:(0,s.exists)(e,"whiteListActivated")?e.whiteListActivated:void 0,appointmentMeetingLocation:(0,s.exists)(e,"appointmentMeetingLocation")?e.appointmentMeetingLocation:void 0,appointmentMeetingPointSpecific:(0,s.exists)(e,"appointmentMeetingPointSpecific")?e.appointmentMeetingPointSpecific:void 0,appointmentDirections:(0,s.exists)(e,"appointmentDirections")?e.appointmentDirections:void 0,appointmentAdditionalDirections:(0,s.exists)(e,"appointmentAdditionalDirections")?e.appointmentAdditionalDirections:void 0,launchDateTime:(0,s.exists)(e,"launchDateTime")?new Date(e.launchDateTime):void 0,clientRequiresShowEvent:(0,s.exists)(e,"clientRequiresShowEvent")?e.clientRequiresShowEvent:void 0,tempLeasingOfficeHoursAsJson:(0,s.exists)(e,"tempLeasingOfficeHoursAsJson")?e.tempLeasingOfficeHoursAsJson:void 0,effectiveHandoffForwardToEmails:(0,s.exists)(e,"effectiveHandoffForwardToEmails")?e.effectiveHandoffForwardToEmails:void 0,calendarId:(0,s.exists)(e,"calendarId")?e.calendarId:void 0}}(a=t.BuildingDetailsLeasingOfficeSetupTypeEnum||(t.BuildingDetailsLeasingOfficeSetupTypeEnum={})).SingleBuilding="SINGLE_BUILDING",a.CentralLeasingOfficeAsSingleBuilding="CENTRAL_LEASING_OFFICE_AS_SINGLE_BUILDING",(o=t.BuildingDetailsVirtualTourTypeEnum||(t.BuildingDetailsVirtualTourTypeEnum={})).NotEnabled="NOT_ENABLED",o.SelfManaged="SELF_MANAGED",o.Whereby="WHEREBY",(r=t.BuildingDetailsTourTypePriorityEnum||(t.BuildingDetailsTourTypePriorityEnum={})).Unknown="UNKNOWN",r.SelfGuided="SELF_GUIDED",r.VirtualShowing="VIRTUAL_SHOWING",r.WithAgent="WITH_AGENT",r.MediaTour="MEDIA_TOUR",(n=t.BuildingDetailsTourNotificationEmailsModeEnum||(t.BuildingDetailsTourNotificationEmailsModeEnum={})).NoNotification="NO_NOTIFICATION",n.AllViewings="ALL_VIEWINGS",n.SameDayViewings="SAME_DAY_VIEWINGS",t.BuildingDetailsFromJSON=function(e){return u(e)},t.BuildingDetailsFromJSONTyped=u,t.BuildingDetailsToJSON=function(e){if(void 0!==e)return null===e?null:{id:e.id,managementCompanyId:e.managementCompanyId,organizationId:e.organizationId,active:e.active,handoffForwardToEmails:e.handoffForwardToEmails,responseCcEmails:e.responseCcEmails,responseBccEmails:e.responseBccEmails,associateCalendarId:e.associateCalendarId,buildingName:e.buildingName,address1:e.address1,address2:e.address2,address3:e.address3,alternativeILSAddresses:e.alternativeILSAddresses,city:e.city,state:e.state,postalCode:e.postalCode,crossStreets:e.crossStreets,neighborhood:e.neighborhood,nearbyTransportation:e.nearbyTransportation,buildingOwnership:e.buildingOwnership,buildingType:e.buildingType,totalUnits:e.totalUnits,totalFloors:e.totalFloors,yearBuilt:e.yearBuilt,block:e.block,lot:e.lot,schoolDistrict:e.schoolDistrict,communityDistrict:e.communityDistrict,newConstruction:e.newConstruction,preWarBuilding:e.preWarBuilding,brownstone:e.brownstone,greenBuilding:e.greenBuilding,elevator:e.elevator,freightElevator:e.freightElevator,parking:e.parking,petPolicy:e.petPolicy,petNumberLimit:e.petNumberLimit,petWeightLimit:e.petWeightLimit,petFeeOrDeposit:e.petFeeOrDeposit,utilitiesIncluded:e.utilitiesIncluded,utilitiesNotIncluded:e.utilitiesNotIncluded,leaseTermsAccepted:e.leaseTermsAccepted,minLeaseTermAccepted:e.minLeaseTermAccepted,furnishedOffered:e.furnishedOffered,furnishedUnitsPolicy:e.furnishedUnitsPolicy,internationalStudentRequirements:e.internationalStudentRequirements,amenitiesFee:e.amenitiesFee,nonSmoking:e.nonSmoking,piedATerreAllowed:e.piedATerreAllowed,diplomatsOk:e.diplomatsOk,corporateLeasesAccepted:e.corporateLeasesAccepted,shortTermAllowed:e.shortTermAllowed,doorman:e.doorman,intercom:e.intercom,liveInSuper:e.liveInSuper,concierge:e.concierge,laundryInBuilding:e.laundryInBuilding,packageReceiving:e.packageReceiving,gym:e.gym,storage:e.storage,bicycleRoom:e.bicycleRoom,lounge:e.lounge,clubHouse:e.clubHouse,businessCenter:e.businessCenter,outdoorSpace:e.outdoorSpace,roofDeck:e.roofDeck,courtyard:e.courtyard,childrenPlayroom:e.childrenPlayroom,nursery:e.nursery,maidService:e.maidService,pool:e.pool,wheelchairAccess:e.wheelchairAccess,guarantorTypesAccepted:e.guarantorTypesAccepted,thirdPartyGuarantorTypesAccepted:e.thirdPartyGuarantorTypesAccepted,noCreditQualificationAlternative:e.noCreditQualificationAlternative,flexWallPolicy:e.flexWallPolicy,leaseholderApplicationFee:e.leaseholderApplicationFee,occupantApplicationFee:e.occupantApplicationFee,guarantorApplicationFee:e.guarantorApplicationFee,tenantIncomeRequirementRentMultiplier:e.tenantIncomeRequirementRentMultiplier,guarantorIncomeRequirementRentMultiplier:e.guarantorIncomeRequirementRentMultiplier,incomeRequirementRentMultiplierTimePeriod:e.incomeRequirementRentMultiplierTimePeriod,leaseholderMinimumCreditScoreRequirement:e.leaseholderMinimumCreditScoreRequirement,guarantorMinimumCreditScoreRequirement:e.guarantorMinimumCreditScoreRequirement,leaseholderApplicationDocumentsRequired:e.leaseholderApplicationDocumentsRequired,selfEmployedApplicationDocumentsRequired:e.selfEmployedApplicationDocumentsRequired,guarantorApplicationDocumentsRequired:e.guarantorApplicationDocumentsRequired,guarantorsAccepted:e.guarantorsAccepted,financialsInsufficientAlternative:e.financialsInsufficientAlternative,prepaymentPolicy:e.prepaymentPolicy,rentRequiredOnLeaseSigning:e.rentRequiredOnLeaseSigning,securityDepositRentMultiplier:e.securityDepositRentMultiplier,paymentFormsAccepted:e.paymentFormsAccepted,clientEmail:e.clientEmail,description:e.description,notes:e.notes,leasingOfficeHours:e.leasingOfficeHours,occupiedUnitsShowingHours:e.occupiedUnitsShowingHours,internalNotes:e.internalNotes,leasingPhoneNumber:e.leasingPhoneNumber,callCenterNumber:e.callCenterNumber,buildingWebsiteUrl:e.buildingWebsiteUrl,applicationLink:e.applicationLink,geoAddress:e.geoAddress,googleMapsUrl:e.googleMapsUrl,alerts:e.alerts,rentComputeType:e.rentComputeType,autosendActive:e.autosendActive,advancedMoveInAllowenceInDays:e.advancedMoveInAllowenceInDays,alternativeBuildingNames:e.alternativeBuildingNames,externalIds:e.externalIds,externalCrmId:e.externalCrmId,defaultAvailabilityQuoteMatchMoveInDate:e.defaultAvailabilityQuoteMatchMoveInDate,leaseRenewalNoticeInDays:e.leaseRenewalNoticeInDays,rentQuoteFormat:e.rentQuoteFormat,rentWithIncentivesQuoteFormat:e.rentWithIncentivesQuoteFormat,isPartOfComplex:e.isPartOfComplex,alternativeILSAddressGeoFormat:(0,l.AlternativeILSAddressGeoFormatToJSON)(e.alternativeILSAddressGeoFormat),effectiveRentComputeType:e.effectiveRentComputeType,maxLeaseTermAccepted:e.maxLeaseTermAccepted,parkingInformation:e.parkingInformation,storageFee:e.storageFee,incentivesProperlyConnected:e.incentivesProperlyConnected,electricCompany:e.electricCompany,gasCompany:e.gasCompany,telephoneCompany:e.telephoneCompany,televisionCompany:e.televisionCompany,waterCompany:e.waterCompany,internetCompany:e.internetCompany,localHospital:e.localHospital,localSchoolDistrict:e.localSchoolDistrict,localElementarySchool:e.localElementarySchool,localMiddleSchool:e.localMiddleSchool,localHighSchool:e.localHighSchool,localShoppingCenter:e.localShoppingCenter,localGroceryStore:e.localGroceryStore,closestInterstates:e.closestInterstates,buildingPicturesUrl:e.buildingPicturesUrl,buildingFloorPlansUrl:e.buildingFloorPlansUrl,nonexistentLayouts:e.nonexistentLayouts,offeredLayouts:e.offeredLayouts,avoidQuotingPrices:e.avoidQuotingPrices,excludeNotRentReadyUnit:e.excludeNotRentReadyUnit,flexWallsAllowed:e.flexWallsAllowed,petsAccepted:e.petsAccepted,guarantorsAcceptedSwitch:e.guarantorsAcceptedSwitch,thirdPartyGuarantorsAccepted:e.thirdPartyGuarantorsAccepted,alwaysScheduleAppointments:e.alwaysScheduleAppointments,leasingOfficeOnsite:e.leasingOfficeOnsite,building3dMediaUrl:e.building3dMediaUrl,dailyreport:e.dailyreport,dailyReportEmails:e.dailyReportEmails,nearbySubways:e.nearbySubways,bedroomTypes:e.bedroomTypes,leasingBrochureUrl:e.leasingBrochureUrl,confidenceVariable:e.confidenceVariable,textForwardToEmails:e.textForwardToEmails,synchronizationStatus:e.synchronizationStatus,omitDesiredFloorPlan:e.omitDesiredFloorPlan,pickingNewGuestCards:e.pickingNewGuestCards,showNotRespondingLeadsInReport:e.showNotRespondingLeadsInReport,leasingOfficeSetupType:e.leasingOfficeSetupType,firstContactReasonRequired:e.firstContactReasonRequired,firstContactReason:e.firstContactReason,emailSignature:e.emailSignature,tourDuration:e.tourDuration,inPersonToursAllowed:e.inPersonToursAllowed,selfGuidedToursEnabled:e.selfGuidedToursEnabled,virtualTourType:e.virtualTourType,virtualTourPlatforms:e.virtualTourPlatforms,noUnitSelfGuidedTourAllowed:e.noUnitSelfGuidedTourAllowed,sgSchedulingBasedOnNormalAppointments:e.sgSchedulingBasedOnNormalAppointments,tourTypePriority:e.tourTypePriority,tourNotificationEmailsMode:e.tourNotificationEmailsMode,showByOpenHouseOnly:e.showByOpenHouseOnly,showUnitsWithPendingApplication:e.showUnitsWithPendingApplication,showOccupiedUnitsWithPendingApplication:e.showOccupiedUnitsWithPendingApplication,confirmAppointmentsOccupiedUnits:e.confirmAppointmentsOccupiedUnits,confirmAppointmentsRenovatingUnits:e.confirmAppointmentsRenovatingUnits,occupiedUnitsAdvancedNoticeInHours:e.occupiedUnitsAdvancedNoticeInHours,prioritizeShowingVacantUnits:e.prioritizeShowingVacantUnits,showOccupiedUnits:e.showOccupiedUnits,whiteListActivated:e.whiteListActivated,appointmentMeetingLocation:e.appointmentMeetingLocation,appointmentMeetingPointSpecific:e.appointmentMeetingPointSpecific,appointmentDirections:e.appointmentDirections,appointmentAdditionalDirections:e.appointmentAdditionalDirections,launchDateTime:void 0===e.launchDateTime?void 0:e.launchDateTime.toISOString(),clientRequiresShowEvent:e.clientRequiresShowEvent,tempLeasingOfficeHoursAsJson:e.tempLeasingOfficeHoursAsJson,effectiveHandoffForwardToEmails:e.effectiveHandoffForwardToEmails,calendarId:e.calendarId}}},3477:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.BuildingEntityToJSON=t.BuildingEntityFromJSONTyped=t.BuildingEntityFromJSON=void 0;var n=i(296);function r(e,t){return null==e?e:{id:(0,n.exists)(e,"id")?e.id:void 0}}t.BuildingEntityFromJSON=function(e){return r(e)},t.BuildingEntityFromJSONTyped=r,t.BuildingEntityToJSON=function(e){if(void 0!==e)return null===e?null:{id:e.id}}},4597:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.BuildingFeatureFlagRequestDtoToJSON=t.BuildingFeatureFlagRequestDtoFromJSONTyped=t.BuildingFeatureFlagRequestDtoFromJSON=void 0;var n=i(296);function r(e,t){return null==e?e:{defaultBoolValue:(0,n.exists)(e,"defaultBoolValue")?e.defaultBoolValue:void 0,defaultIntValue:(0,n.exists)(e,"defaultIntValue")?e.defaultIntValue:void 0,defaultStringValue:(0,n.exists)(e,"defaultStringValue")?e.defaultStringValue:void 0,clientEmail:(0,n.exists)(e,"clientEmail")?e.clientEmail:void 0,orgId:(0,n.exists)(e,"orgId")?e.orgId:void 0,buildingId:(0,n.exists)(e,"buildingId")?e.buildingId:void 0,crmType:(0,n.exists)(e,"crmType")?e.crmType:void 0}}t.BuildingFeatureFlagRequestDtoFromJSON=function(e){return r(e)},t.BuildingFeatureFlagRequestDtoFromJSONTyped=r,t.BuildingFeatureFlagRequestDtoToJSON=function(e){if(void 0!==e)return null===e?null:{defaultBoolValue:e.defaultBoolValue,defaultIntValue:e.defaultIntValue,defaultStringValue:e.defaultStringValue,clientEmail:e.clientEmail,orgId:e.orgId,buildingId:e.buildingId,crmType:e.crmType}}},553:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.BuildingOverrideToJSON=t.BuildingOverrideFromJSONTyped=t.BuildingOverrideFromJSON=void 0;var n=i(296);function r(e,t){return null==e?e:{redIntents:(0,n.exists)(e,"redIntents")?e.redIntents:void 0,yellowIntents:(0,n.exists)(e,"yellowIntents")?e.yellowIntents:void 0}}t.BuildingOverrideFromJSON=function(e){return r(e)},t.BuildingOverrideFromJSONTyped=r,t.BuildingOverrideToJSON=function(e){if(void 0!==e)return null===e?null:{redIntents:e.redIntents,yellowIntents:e.yellowIntents}}},6673:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.BuildingPublicViewModelToJSON=t.BuildingPublicViewModelFromJSONTyped=t.BuildingPublicViewModelFromJSON=void 0;var n=i(296),r=i(746),o=i(6330);function a(e,t){return null==e?e:{id:(0,n.exists)(e,"id")?e.id:void 0,orgId:(0,n.exists)(e,"orgId")?e.orgId:void 0,name:(0,n.exists)(e,"name")?e.name:void 0,userId:(0,n.exists)(e,"userId")?e.userId:void 0,userFirstName:(0,n.exists)(e,"userFirstName")?e.userFirstName:void 0,userLastName:(0,n.exists)(e,"userLastName")?e.userLastName:void 0,primaryColor:(0,n.exists)(e,"primaryColor")?e.primaryColor:void 0,backgroundColor:(0,n.exists)(e,"backgroundColor")?e.backgroundColor:void 0,logoSrc:(0,n.exists)(e,"logoSrc")?e.logoSrc:void 0,welcomeMessage:(0,n.exists)(e,"welcomeMessage")?e.welcomeMessage:void 0,chatTitle:(0,n.exists)(e,"chatTitle")?e.chatTitle:void 0,chatSubtitle:(0,n.exists)(e,"chatSubtitle")?e.chatSubtitle:void 0,bannerColor:(0,n.exists)(e,"bannerColor")?e.bannerColor:void 0,bannerTextColor:(0,n.exists)(e,"bannerTextColor")?e.bannerTextColor:void 0,messageColor:(0,n.exists)(e,"messageColor")?e.messageColor:void 0,messageTextColor:(0,n.exists)(e,"messageTextColor")?e.messageTextColor:void 0,launchButtonColor:(0,n.exists)(e,"launchButtonColor")?e.launchButtonColor:void 0,launchButtonIconColor:(0,n.exists)(e,"launchButtonIconColor")?e.launchButtonIconColor:void 0,launchButtonSize:(0,n.exists)(e,"launchButtonSize")?e.launchButtonSize:void 0,avatarType:(0,n.exists)(e,"avatarType")?e.avatarType:void 0,avatarSrc:(0,n.exists)(e,"avatarSrc")?e.avatarSrc:void 0,avatarInitials:(0,n.exists)(e,"avatarInitials")?e.avatarInitials:void 0,themeId:(0,n.exists)(e,"themeId")?e.themeId:void 0,streetAddress:(0,n.exists)(e,"streetAddress")?e.streetAddress:void 0,postalCode:(0,n.exists)(e,"postalCode")?e.postalCode:void 0,state:(0,n.exists)(e,"state")?e.state:void 0,phoneNumber:(0,n.exists)(e,"phoneNumber")?e.phoneNumber:void 0,layoutOptions:(0,n.exists)(e,"layoutOptions")?e.layoutOptions.map(r.LayoutOptionFromJSON):void 0,tourTypeOptions:(0,n.exists)(e,"tourTypeOptions")?e.tourTypeOptions.map(o.TourTypeOptionFromJSON):void 0,conversationMaintenanceMode:(0,n.exists)(e,"conversationMaintenanceMode")?e.conversationMaintenanceMode:void 0}}t.BuildingPublicViewModelFromJSON=function(e){return a(e)},t.BuildingPublicViewModelFromJSONTyped=a,t.BuildingPublicViewModelToJSON=function(e){if(void 0!==e)return null===e?null:{id:e.id,orgId:e.orgId,name:e.name,userId:e.userId,userFirstName:e.userFirstName,userLastName:e.userLastName,primaryColor:e.primaryColor,backgroundColor:e.backgroundColor,logoSrc:e.logoSrc,welcomeMessage:e.welcomeMessage,chatTitle:e.chatTitle,chatSubtitle:e.chatSubtitle,bannerColor:e.bannerColor,bannerTextColor:e.bannerTextColor,messageColor:e.messageColor,messageTextColor:e.messageTextColor,launchButtonColor:e.launchButtonColor,launchButtonIconColor:e.launchButtonIconColor,launchButtonSize:e.launchButtonSize,avatarType:e.avatarType,avatarSrc:e.avatarSrc,avatarInitials:e.avatarInitials,themeId:e.themeId,streetAddress:e.streetAddress,postalCode:e.postalCode,state:e.state,phoneNumber:e.phoneNumber,layoutOptions:void 0===e.layoutOptions?void 0:e.layoutOptions.map(r.LayoutOptionToJSON),tourTypeOptions:void 0===e.tourTypeOptions?void 0:e.tourTypeOptions.map(o.TourTypeOptionToJSON),conversationMaintenanceMode:e.conversationMaintenanceMode}}},6597:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.BuildingRefreshInfoToJSON=t.BuildingRefreshInfoFromJSONTyped=t.BuildingRefreshInfoFromJSON=void 0;var n=i(296);function r(e,t){return null==e?e:{timesToRunInCronFormat:(0,n.exists)(e,"timesToRunInCronFormat")?e.timesToRunInCronFormat:void 0}}t.BuildingRefreshInfoFromJSON=function(e){return r(e)},t.BuildingRefreshInfoFromJSONTyped=r,t.BuildingRefreshInfoToJSON=function(e){if(void 0!==e)return null===e?null:{timesToRunInCronFormat:e.timesToRunInCronFormat}}},7949:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.BuildingTourTypePreferencesToJSON=t.BuildingTourTypePreferencesFromJSONTyped=t.BuildingTourTypePreferencesFromJSON=t.BuildingTourTypePreferencesSelfGuidedToursTypeOfferedEnum=t.BuildingTourTypePreferencesLiveVirtualToursTypeOfferedEnum=t.BuildingTourTypePreferencesMediaToursTypeOfferedEnum=t.BuildingTourTypePreferencesEscortedToursTypeOfferedEnum=void 0;var n,r,o,a,s=i(296);function l(e,t){return null==e?e:{id:(0,s.exists)(e,"id")?e.id:void 0,buildingId:(0,s.exists)(e,"buildingId")?e.buildingId:void 0,escortedToursAllowed:(0,s.exists)(e,"escortedToursAllowed")?e.escortedToursAllowed:void 0,escortedToursTypeOffered:(0,s.exists)(e,"escortedToursTypeOffered")?e.escortedToursTypeOffered:void 0,escortedTourClientName:(0,s.exists)(e,"escortedTourClientName")?e.escortedTourClientName:void 0,escortedToursLink:(0,s.exists)(e,"escortedToursLink")?e.escortedToursLink:void 0,mediaToursAllowed:(0,s.exists)(e,"mediaToursAllowed")?e.mediaToursAllowed:void 0,mediaToursTypeOffered:(0,s.exists)(e,"mediaToursTypeOffered")?e.mediaToursTypeOffered:void 0,mediaTourClientName:(0,s.exists)(e,"mediaTourClientName")?e.mediaTourClientName:void 0,mediaToursLink:(0,s.exists)(e,"mediaToursLink")?e.mediaToursLink:void 0,liveVirtualToursAllowed:(0,s.exists)(e,"liveVirtualToursAllowed")?e.liveVirtualToursAllowed:void 0,liveVirtualToursTypeOffered:(0,s.exists)(e,"liveVirtualToursTypeOffered")?e.liveVirtualToursTypeOffered:void 0,liveVirtualTourClientName:(0,s.exists)(e,"liveVirtualTourClientName")?e.liveVirtualTourClientName:void 0,liveVirtualToursLink:(0,s.exists)(e,"liveVirtualToursLink")?e.liveVirtualToursLink:void 0,selfGuidedToursAllowed:(0,s.exists)(e,"selfGuidedToursAllowed")?e.selfGuidedToursAllowed:void 0,selfGuidedToursTypeOffered:(0,s.exists)(e,"selfGuidedToursTypeOffered")?e.selfGuidedToursTypeOffered:void 0,selfGuidedTourClientName:(0,s.exists)(e,"selfGuidedTourClientName")?e.selfGuidedTourClientName:void 0,selfGuidedToursLink:(0,s.exists)(e,"selfGuidedToursLink")?e.selfGuidedToursLink:void 0}}(a=t.BuildingTourTypePreferencesEscortedToursTypeOfferedEnum||(t.BuildingTourTypePreferencesEscortedToursTypeOfferedEnum={})).Link="LINK",a.ClientScheduled="CLIENT_SCHEDULED",a.ScheduledByMeManagedByMe="SCHEDULED_BY_ME_MANAGED_BY_ME",a.ScheduledByMeManagedByClient="SCHEDULED_BY_ME_MANAGED_BY_CLIENT",a.ScheduledByMeManagedByConcierge="SCHEDULED_BY_ME_MANAGED_BY_CONCIERGE",(o=t.BuildingTourTypePreferencesMediaToursTypeOfferedEnum||(t.BuildingTourTypePreferencesMediaToursTypeOfferedEnum={})).Link="LINK",o.ClientScheduled="CLIENT_SCHEDULED",o.ScheduledByMeManagedByMe="SCHEDULED_BY_ME_MANAGED_BY_ME",o.ScheduledByMeManagedByClient="SCHEDULED_BY_ME_MANAGED_BY_CLIENT",o.ScheduledByMeManagedByConcierge="SCHEDULED_BY_ME_MANAGED_BY_CONCIERGE",(r=t.BuildingTourTypePreferencesLiveVirtualToursTypeOfferedEnum||(t.BuildingTourTypePreferencesLiveVirtualToursTypeOfferedEnum={})).Link="LINK",r.ClientScheduled="CLIENT_SCHEDULED",r.ScheduledByMeManagedByMe="SCHEDULED_BY_ME_MANAGED_BY_ME",r.ScheduledByMeManagedByClient="SCHEDULED_BY_ME_MANAGED_BY_CLIENT",r.ScheduledByMeManagedByConcierge="SCHEDULED_BY_ME_MANAGED_BY_CONCIERGE",(n=t.BuildingTourTypePreferencesSelfGuidedToursTypeOfferedEnum||(t.BuildingTourTypePreferencesSelfGuidedToursTypeOfferedEnum={})).Link="LINK",n.ClientScheduled="CLIENT_SCHEDULED",n.ScheduledByMeManagedByMe="SCHEDULED_BY_ME_MANAGED_BY_ME",n.ScheduledByMeManagedByClient="SCHEDULED_BY_ME_MANAGED_BY_CLIENT",n.ScheduledByMeManagedByConcierge="SCHEDULED_BY_ME_MANAGED_BY_CONCIERGE",t.BuildingTourTypePreferencesFromJSON=function(e){return l(e)},t.BuildingTourTypePreferencesFromJSONTyped=l,t.BuildingTourTypePreferencesToJSON=function(e){if(void 0!==e)return null===e?null:{id:e.id,buildingId:e.buildingId,escortedToursAllowed:e.escortedToursAllowed,escortedToursTypeOffered:e.escortedToursTypeOffered,escortedTourClientName:e.escortedTourClientName,escortedToursLink:e.escortedToursLink,mediaToursAllowed:e.mediaToursAllowed,mediaToursTypeOffered:e.mediaToursTypeOffered,mediaTourClientName:e.mediaTourClientName,mediaToursLink:e.mediaToursLink,liveVirtualToursAllowed:e.liveVirtualToursAllowed,liveVirtualToursTypeOffered:e.liveVirtualToursTypeOffered,liveVirtualTourClientName:e.liveVirtualTourClientName,liveVirtualToursLink:e.liveVirtualToursLink,selfGuidedToursAllowed:e.selfGuidedToursAllowed,selfGuidedToursTypeOffered:e.selfGuidedToursTypeOffered,selfGuidedTourClientName:e.selfGuidedTourClientName,selfGuidedToursLink:e.selfGuidedToursLink}}},2386:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.CalendarEventTourHandlerToJSON=t.CalendarEventTourHandlerFromJSONTyped=t.CalendarEventTourHandlerFromJSON=void 0;var n=i(296);function r(e,t){return null==e?e:{id:e.id,timeCreated:new Date(e.timeCreated),buildingId:(0,n.exists)(e,"buildingId")?e.buildingId:void 0,calendarEventId:e.calendarEventId,leasingAgentId:e.leasingAgentId}}t.CalendarEventTourHandlerFromJSON=function(e){return r(e)},t.CalendarEventTourHandlerFromJSONTyped=r,t.CalendarEventTourHandlerToJSON=function(e){if(void 0!==e)return null===e?null:{id:e.id,timeCreated:e.timeCreated.toISOString(),buildingId:e.buildingId,calendarEventId:e.calendarEventId,leasingAgentId:e.leasingAgentId}}},4853:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.CancelActionDtoToJSON=t.CancelActionDtoFromJSONTyped=t.CancelActionDtoFromJSON=void 0;var n=i(296);function r(e,t){return null==e?e:{contextId:(0,n.exists)(e,"contextId")?e.contextId:void 0,calendarEventId:(0,n.exists)(e,"calendarEventId")?e.calendarEventId:void 0,buildingId:(0,n.exists)(e,"buildingId")?e.buildingId:void 0}}t.CancelActionDtoFromJSON=function(e){return r(e)},t.CancelActionDtoFromJSONTyped=r,t.CancelActionDtoToJSON=function(e){if(void 0!==e)return null===e?null:{contextId:e.contextId,calendarEventId:e.calendarEventId,buildingId:e.buildingId}}},9260:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.CancelTourByStateIdDtoToJSON=t.CancelTourByStateIdDtoFromJSONTyped=t.CancelTourByStateIdDtoFromJSON=void 0;var n=i(296);function r(e,t){return null==e?e:{mcId:(0,n.exists)(e,"mcId")?e.mcId:void 0,stateId:(0,n.exists)(e,"stateId")?e.stateId:void 0,buildingId:(0,n.exists)(e,"buildingId")?e.buildingId:void 0,useLegacyContext:(0,n.exists)(e,"useLegacyContext")?e.useLegacyContext:void 0,sms:(0,n.exists)(e,"sms")?e.sms:void 0}}t.CancelTourByStateIdDtoFromJSON=function(e){return r(e)},t.CancelTourByStateIdDtoFromJSONTyped=r,t.CancelTourByStateIdDtoToJSON=function(e){if(void 0!==e)return null===e?null:{mcId:e.mcId,stateId:e.stateId,buildingId:e.buildingId,useLegacyContext:e.useLegacyContext,sms:e.sms}}},3777:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.CancelTourDtoToJSON=t.CancelTourDtoFromJSONTyped=t.CancelTourDtoFromJSON=void 0;var n=i(296);function r(e,t){return null==e?e:{contextId:(0,n.exists)(e,"contextId")?e.contextId:void 0,buildingId:(0,n.exists)(e,"buildingId")?e.buildingId:void 0}}t.CancelTourDtoFromJSON=function(e){return r(e)},t.CancelTourDtoFromJSONTyped=r,t.CancelTourDtoToJSON=function(e){if(void 0!==e)return null===e?null:{contextId:e.contextId,buildingId:e.buildingId}}},713:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ChatTelemetryDtoToJSON=t.ChatTelemetryDtoFromJSONTyped=t.ChatTelemetryDtoFromJSON=void 0;var n=i(296);function r(e,t){return null==e?e:{eventType:(0,n.exists)(e,"eventType")?e.eventType:void 0,chatId:(0,n.exists)(e,"chatId")?e.chatId:void 0,url:(0,n.exists)(e,"url")?e.url:void 0,org:(0,n.exists)(e,"org")?e.org:void 0,building:(0,n.exists)(e,"building")?e.building:void 0,referrer:(0,n.exists)(e,"referrer")?e.referrer:void 0,featureFlags:(0,n.exists)(e,"featureFlags")?e.featureFlags:void 0}}t.ChatTelemetryDtoFromJSON=function(e){return r(e)},t.ChatTelemetryDtoFromJSONTyped=r,t.ChatTelemetryDtoToJSON=function(e){if(void 0!==e)return null===e?null:{eventType:e.eventType,chatId:e.chatId,url:e.url,org:e.org,building:e.building,referrer:e.referrer,featureFlags:e.featureFlags}}},1172:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.CommunitiesDefaultsToJSON=t.CommunitiesDefaultsFromJSONTyped=t.CommunitiesDefaultsFromJSON=void 0;var n=i(296),r=i(6448),o=i(6161),a=i(6069),s=i(6122);function l(e,t){return null==e?e:{virtualTourType:(0,n.exists)(e,"virtualTourType")?(0,s.SettingVirtualTourTypeFromJSON)(e.virtualTourType):void 0,virtualTourPlatforms:(0,n.exists)(e,"virtualTourPlatforms")?(0,a.SettingStringFromJSON)(e.virtualTourPlatforms):void 0,furnishedOffered:(0,n.exists)(e,"furnishedOffered")?(0,o.SettingIntegerFromJSON)(e.furnishedOffered):void 0,furnishedUnitsPolicy:(0,n.exists)(e,"furnishedUnitsPolicy")?(0,a.SettingStringFromJSON)(e.furnishedUnitsPolicy):void 0,utilitiesIncluded:(0,n.exists)(e,"utilitiesIncluded")?(0,a.SettingStringFromJSON)(e.utilitiesIncluded):void 0,utilitiesNotIncluded:(0,n.exists)(e,"utilitiesNotIncluded")?(0,a.SettingStringFromJSON)(e.utilitiesNotIncluded):void 0,advancedMoveInAllowenceInDays:(0,n.exists)(e,"advancedMoveInAllowenceInDays")?(0,o.SettingIntegerFromJSON)(e.advancedMoveInAllowenceInDays):void 0,occupiedUnits:(0,n.exists)(e,"occupiedUnits")?(0,o.SettingIntegerFromJSON)(e.occupiedUnits):void 0,showUnitsWithPendingApplication:(0,n.exists)(e,"showUnitsWithPendingApplication")?(0,r.SettingBooleanFromJSON)(e.showUnitsWithPendingApplication):void 0,confirmAppointmentsRenovatingUnits:(0,n.exists)(e,"confirmAppointmentsRenovatingUnits")?(0,r.SettingBooleanFromJSON)(e.confirmAppointmentsRenovatingUnits):void 0,occupiedUnitsAdvancedNoticeInHours:(0,n.exists)(e,"occupiedUnitsAdvancedNoticeInHours")?(0,o.SettingIntegerFromJSON)(e.occupiedUnitsAdvancedNoticeInHours):void 0,confirmAppointmentsOccupiedUnits:(0,n.exists)(e,"confirmAppointmentsOccupiedUnits")?(0,r.SettingBooleanFromJSON)(e.confirmAppointmentsOccupiedUnits):void 0,showOccupiedUnitsWithPendingApplication:(0,n.exists)(e,"showOccupiedUnitsWithPendingApplication")?(0,r.SettingBooleanFromJSON)(e.showOccupiedUnitsWithPendingApplication):void 0,leaseholderApplicationDocumentsRequired:(0,n.exists)(e,"leaseholderApplicationDocumentsRequired")?(0,a.SettingStringFromJSON)(e.leaseholderApplicationDocumentsRequired):void 0,leaseholderMinimumCreditScoreRequirement:(0,n.exists)(e,"leaseholderMinimumCreditScoreRequirement")?(0,a.SettingStringFromJSON)(e.leaseholderMinimumCreditScoreRequirement):void 0,noCreditQualificationAlternative:(0,n.exists)(e,"noCreditQualificationAlternative")?(0,a.SettingStringFromJSON)(e.noCreditQualificationAlternative):void 0,incomeRequirementRentMultiplierTimePeriod:(0,n.exists)(e,"incomeRequirementRentMultiplierTimePeriod")?(0,r.SettingBooleanFromJSON)(e.incomeRequirementRentMultiplierTimePeriod):void 0,rentRequiredOnLeaseSigning:(0,n.exists)(e,"rentRequiredOnLeaseSigning")?(0,a.SettingStringFromJSON)(e.rentRequiredOnLeaseSigning):void 0,paymentFormsAccepted:(0,n.exists)(e,"paymentFormsAccepted")?(0,a.SettingStringFromJSON)(e.paymentFormsAccepted):void 0,internationalStudentRequirements:(0,n.exists)(e,"internationalStudentRequirements")?(0,a.SettingStringFromJSON)(e.internationalStudentRequirements):void 0,guarantorMinimumCreditScoreRequirement:(0,n.exists)(e,"guarantorMinimumCreditScoreRequirement")?(0,a.SettingStringFromJSON)(e.guarantorMinimumCreditScoreRequirement):void 0,effectiveRentComputeType:(0,n.exists)(e,"effectiveRentComputeType")?(0,o.SettingIntegerFromJSON)(e.effectiveRentComputeType):void 0,avoidQuotingPrices:(0,n.exists)(e,"avoidQuotingPrices")?(0,r.SettingBooleanFromJSON)(e.avoidQuotingPrices):void 0,defaultAvailabilityQuoteMatchMoveInDate:(0,n.exists)(e,"defaultAvailabilityQuoteMatchMoveInDate")?(0,r.SettingBooleanFromJSON)(e.defaultAvailabilityQuoteMatchMoveInDate):void 0,rentComputeType:(0,n.exists)(e,"rentComputeType")?(0,o.SettingIntegerFromJSON)(e.rentComputeType):void 0,rentWithIncentivesQuoteFormat:(0,n.exists)(e,"rentWithIncentivesQuoteFormat")?(0,a.SettingStringFromJSON)(e.rentWithIncentivesQuoteFormat):void 0,rentQuoteFormat:(0,n.exists)(e,"rentQuoteFormat")?(0,a.SettingStringFromJSON)(e.rentQuoteFormat):void 0}}t.CommunitiesDefaultsFromJSON=function(e){return l(e)},t.CommunitiesDefaultsFromJSONTyped=l,t.CommunitiesDefaultsToJSON=function(e){if(void 0!==e)return null===e?null:{virtualTourType:(0,s.SettingVirtualTourTypeToJSON)(e.virtualTourType),virtualTourPlatforms:(0,a.SettingStringToJSON)(e.virtualTourPlatforms),furnishedOffered:(0,o.SettingIntegerToJSON)(e.furnishedOffered),furnishedUnitsPolicy:(0,a.SettingStringToJSON)(e.furnishedUnitsPolicy),utilitiesIncluded:(0,a.SettingStringToJSON)(e.utilitiesIncluded),utilitiesNotIncluded:(0,a.SettingStringToJSON)(e.utilitiesNotIncluded),advancedMoveInAllowenceInDays:(0,o.SettingIntegerToJSON)(e.advancedMoveInAllowenceInDays),occupiedUnits:(0,o.SettingIntegerToJSON)(e.occupiedUnits),showUnitsWithPendingApplication:(0,r.SettingBooleanToJSON)(e.showUnitsWithPendingApplication),confirmAppointmentsRenovatingUnits:(0,r.SettingBooleanToJSON)(e.confirmAppointmentsRenovatingUnits),occupiedUnitsAdvancedNoticeInHours:(0,o.SettingIntegerToJSON)(e.occupiedUnitsAdvancedNoticeInHours),confirmAppointmentsOccupiedUnits:(0,r.SettingBooleanToJSON)(e.confirmAppointmentsOccupiedUnits),showOccupiedUnitsWithPendingApplication:(0,r.SettingBooleanToJSON)(e.showOccupiedUnitsWithPendingApplication),leaseholderApplicationDocumentsRequired:(0,a.SettingStringToJSON)(e.leaseholderApplicationDocumentsRequired),leaseholderMinimumCreditScoreRequirement:(0,a.SettingStringToJSON)(e.leaseholderMinimumCreditScoreRequirement),noCreditQualificationAlternative:(0,a.SettingStringToJSON)(e.noCreditQualificationAlternative),incomeRequirementRentMultiplierTimePeriod:(0,r.SettingBooleanToJSON)(e.incomeRequirementRentMultiplierTimePeriod),rentRequiredOnLeaseSigning:(0,a.SettingStringToJSON)(e.rentRequiredOnLeaseSigning),paymentFormsAccepted:(0,a.SettingStringToJSON)(e.paymentFormsAccepted),internationalStudentRequirements:(0,a.SettingStringToJSON)(e.internationalStudentRequirements),guarantorMinimumCreditScoreRequirement:(0,a.SettingStringToJSON)(e.guarantorMinimumCreditScoreRequirement),effectiveRentComputeType:(0,o.SettingIntegerToJSON)(e.effectiveRentComputeType),avoidQuotingPrices:(0,r.SettingBooleanToJSON)(e.avoidQuotingPrices),defaultAvailabilityQuoteMatchMoveInDate:(0,r.SettingBooleanToJSON)(e.defaultAvailabilityQuoteMatchMoveInDate),rentComputeType:(0,o.SettingIntegerToJSON)(e.rentComputeType),rentWithIncentivesQuoteFormat:(0,a.SettingStringToJSON)(e.rentWithIncentivesQuoteFormat),rentQuoteFormat:(0,a.SettingStringToJSON)(e.rentQuoteFormat)}}},3077:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.CommunityFormViewToJSON=t.CommunityFormViewFromJSONTyped=t.CommunityFormViewFromJSON=t.CommunityFormViewVirtualTourTypeEnum=t.CommunityFormViewTourNotificationEmailsModeEnum=void 0;var n,r,o=i(296),a=i(3617);function s(e,t){return null==e?e:{id:(0,o.exists)(e,"id")?e.id:void 0,managementCompanyId:(0,o.exists)(e,"managementCompanyId")?e.managementCompanyId:void 0,organizationId:(0,o.exists)(e,"organizationId")?e.organizationId:void 0,active:(0,o.exists)(e,"active")?e.active:void 0,handoffForwardToEmails:(0,o.exists)(e,"handoffForwardToEmails")?e.handoffForwardToEmails:void 0,responseCcEmails:(0,o.exists)(e,"responseCcEmails")?e.responseCcEmails:void 0,responseBccEmails:(0,o.exists)(e,"responseBccEmails")?e.responseBccEmails:void 0,buildingName:(0,o.exists)(e,"buildingName")?e.buildingName:void 0,address1:(0,o.exists)(e,"address1")?e.address1:void 0,address2:(0,o.exists)(e,"address2")?e.address2:void 0,address3:(0,o.exists)(e,"address3")?e.address3:void 0,city:(0,o.exists)(e,"city")?e.city:void 0,state:(0,o.exists)(e,"state")?e.state:void 0,postalCode:(0,o.exists)(e,"postalCode")?e.postalCode:void 0,crossStreets:(0,o.exists)(e,"crossStreets")?e.crossStreets:void 0,neighborhood:(0,o.exists)(e,"neighborhood")?e.neighborhood:void 0,nearbyTransportation:(0,o.exists)(e,"nearbyTransportation")?e.nearbyTransportation:void 0,totalUnits:(0,o.exists)(e,"totalUnits")?e.totalUnits:void 0,totalFloors:(0,o.exists)(e,"totalFloors")?e.totalFloors:void 0,greenBuilding:(0,o.exists)(e,"greenBuilding")?e.greenBuilding:void 0,elevator:(0,o.exists)(e,"elevator")?e.elevator:void 0,freightElevator:(0,o.exists)(e,"freightElevator")?e.freightElevator:void 0,petPolicy:(0,o.exists)(e,"petPolicy")?e.petPolicy:void 0,petFeeOrDeposit:(0,o.exists)(e,"petFeeOrDeposit")?e.petFeeOrDeposit:void 0,utilitiesIncluded:(0,o.exists)(e,"utilitiesIncluded")?e.utilitiesIncluded:void 0,utilitiesNotIncluded:(0,o.exists)(e,"utilitiesNotIncluded")?e.utilitiesNotIncluded:void 0,minLeaseTermAccepted:(0,o.exists)(e,"minLeaseTermAccepted")?e.minLeaseTermAccepted:void 0,furnishedOffered:(0,o.exists)(e,"furnishedOffered")?e.furnishedOffered:void 0,furnishedUnitsPolicy:(0,o.exists)(e,"furnishedUnitsPolicy")?e.furnishedUnitsPolicy:void 0,internationalStudentRequirements:(0,o.exists)(e,"internationalStudentRequirements")?e.internationalStudentRequirements:void 0,amenitiesFee:(0,o.exists)(e,"amenitiesFee")?e.amenitiesFee:void 0,corporateLeasesAccepted:(0,o.exists)(e,"corporateLeasesAccepted")?e.corporateLeasesAccepted:void 0,doorman:(0,o.exists)(e,"doorman")?e.doorman:void 0,intercom:(0,o.exists)(e,"intercom")?e.intercom:void 0,liveInSuper:(0,o.exists)(e,"liveInSuper")?e.liveInSuper:void 0,concierge:(0,o.exists)(e,"concierge")?e.concierge:void 0,laundryInBuilding:(0,o.exists)(e,"laundryInBuilding")?e.laundryInBuilding:void 0,packageReceiving:(0,o.exists)(e,"packageReceiving")?e.packageReceiving:void 0,gym:(0,o.exists)(e,"gym")?e.gym:void 0,storage:(0,o.exists)(e,"storage")?e.storage:void 0,bicycleRoom:(0,o.exists)(e,"bicycleRoom")?e.bicycleRoom:void 0,lounge:(0,o.exists)(e,"lounge")?e.lounge:void 0,clubHouse:(0,o.exists)(e,"clubHouse")?e.clubHouse:void 0,businessCenter:(0,o.exists)(e,"businessCenter")?e.businessCenter:void 0,outdoorSpace:(0,o.exists)(e,"outdoorSpace")?e.outdoorSpace:void 0,roofDeck:(0,o.exists)(e,"roofDeck")?e.roofDeck:void 0,courtyard:(0,o.exists)(e,"courtyard")?e.courtyard:void 0,childrenPlayroom:(0,o.exists)(e,"childrenPlayroom")?e.childrenPlayroom:void 0,nursery:(0,o.exists)(e,"nursery")?e.nursery:void 0,maidService:(0,o.exists)(e,"maidService")?e.maidService:void 0,pool:(0,o.exists)(e,"pool")?e.pool:void 0,wheelchairAccess:(0,o.exists)(e,"wheelchairAccess")?e.wheelchairAccess:void 0,thirdPartyGuarantorTypesAccepted:(0,o.exists)(e,"thirdPartyGuarantorTypesAccepted")?e.thirdPartyGuarantorTypesAccepted:void 0,noCreditQualificationAlternative:(0,o.exists)(e,"noCreditQualificationAlternative")?e.noCreditQualificationAlternative:void 0,virtualTourPlatforms:(0,o.exists)(e,"virtualTourPlatforms")?e.virtualTourPlatforms:void 0,flexWallPolicy:(0,o.exists)(e,"flexWallPolicy")?e.flexWallPolicy:void 0,leaseholderApplicationFee:(0,o.exists)(e,"leaseholderApplicationFee")?e.leaseholderApplicationFee:void 0,guarantorApplicationFee:(0,o.exists)(e,"guarantorApplicationFee")?e.guarantorApplicationFee:void 0,tenantIncomeRequirementRentMultiplier:(0,o.exists)(e,"tenantIncomeRequirementRentMultiplier")?e.tenantIncomeRequirementRentMultiplier:void 0,guarantorIncomeRequirementRentMultiplier:(0,o.exists)(e,"guarantorIncomeRequirementRentMultiplier")?e.guarantorIncomeRequirementRentMultiplier:void 0,leaseholderMinimumCreditScoreRequirement:(0,o.exists)(e,"leaseholderMinimumCreditScoreRequirement")?e.leaseholderMinimumCreditScoreRequirement:void 0,guarantorMinimumCreditScoreRequirement:(0,o.exists)(e,"guarantorMinimumCreditScoreRequirement")?e.guarantorMinimumCreditScoreRequirement:void 0,leaseholderApplicationDocumentsRequired:(0,o.exists)(e,"leaseholderApplicationDocumentsRequired")?e.leaseholderApplicationDocumentsRequired:void 0,guarantorsAccepted:(0,o.exists)(e,"guarantorsAccepted")?e.guarantorsAccepted:void 0,prepaymentPolicy:(0,o.exists)(e,"prepaymentPolicy")?e.prepaymentPolicy:void 0,rentRequiredOnLeaseSigning:(0,o.exists)(e,"rentRequiredOnLeaseSigning")?e.rentRequiredOnLeaseSigning:void 0,paymentFormsAccepted:(0,o.exists)(e,"paymentFormsAccepted")?e.paymentFormsAccepted:void 0,leasingBrochureUrl:(0,o.exists)(e,"leasingBrochureUrl")?e.leasingBrochureUrl:void 0,leasingOfficeHours:(0,o.exists)(e,"leasingOfficeHours")?e.leasingOfficeHours:void 0,appointmentHours:(0,o.exists)(e,"appointmentHours")?e.appointmentHours.map(a.AppointmentHoursFromJSON):void 0,occupiedUnitsShowingHours:(0,o.exists)(e,"occupiedUnitsShowingHours")?e.occupiedUnitsShowingHours:void 0,tourDuration:(0,o.exists)(e,"tourDuration")?e.tourDuration:void 0,leasingPhoneNumber:(0,o.exists)(e,"leasingPhoneNumber")?e.leasingPhoneNumber:void 0,callCenterNumber:(0,o.exists)(e,"callCenterNumber")?e.callCenterNumber:void 0,buildingWebsiteUrl:(0,o.exists)(e,"buildingWebsiteUrl")?e.buildingWebsiteUrl:void 0,applicationLink:(0,o.exists)(e,"applicationLink")?e.applicationLink:void 0,geoAddress:(0,o.exists)(e,"geoAddress")?e.geoAddress:void 0,googleMapsUrl:(0,o.exists)(e,"googleMapsUrl")?e.googleMapsUrl:void 0,appointmentMeetingLocation:(0,o.exists)(e,"appointmentMeetingLocation")?e.appointmentMeetingLocation:void 0,appointmentDirections:(0,o.exists)(e,"appointmentDirections")?e.appointmentDirections:void 0,appointmentAdditionalDirections:(0,o.exists)(e,"appointmentAdditionalDirections")?e.appointmentAdditionalDirections:void 0,rentComputeType:(0,o.exists)(e,"rentComputeType")?e.rentComputeType:void 0,autosendActive:(0,o.exists)(e,"autosendActive")?e.autosendActive:void 0,advancedMoveInAllowenceInDays:(0,o.exists)(e,"advancedMoveInAllowenceInDays")?e.advancedMoveInAllowenceInDays:void 0,showByOpenHouseOnly:(0,o.exists)(e,"showByOpenHouseOnly")?e.showByOpenHouseOnly:void 0,showUnitsWithPendingApplication:(0,o.exists)(e,"showUnitsWithPendingApplication")?e.showUnitsWithPendingApplication:void 0,showOccupiedUnitsWithPendingApplication:(0,o.exists)(e,"showOccupiedUnitsWithPendingApplication")?e.showOccupiedUnitsWithPendingApplication:void 0,confirmAppointmentsOccupiedUnits:(0,o.exists)(e,"confirmAppointmentsOccupiedUnits")?e.confirmAppointmentsOccupiedUnits:void 0,confirmAppointmentsRenovatingUnits:(0,o.exists)(e,"confirmAppointmentsRenovatingUnits")?e.confirmAppointmentsRenovatingUnits:void 0,occupiedUnitsAdvancedNoticeInHours:(0,o.exists)(e,"occupiedUnitsAdvancedNoticeInHours")?e.occupiedUnitsAdvancedNoticeInHours:void 0,alternativeBuildingNames:(0,o.exists)(e,"alternativeBuildingNames")?e.alternativeBuildingNames:void 0,externalIds:(0,o.exists)(e,"externalIds")?e.externalIds:void 0,externalCrmId:(0,o.exists)(e,"externalCrmId")?e.externalCrmId:void 0,defaultAvailabilityQuoteMatchMoveInDate:(0,o.exists)(e,"defaultAvailabilityQuoteMatchMoveInDate")?e.defaultAvailabilityQuoteMatchMoveInDate:void 0,leaseRenewalNoticeInDays:(0,o.exists)(e,"leaseRenewalNoticeInDays")?e.leaseRenewalNoticeInDays:void 0,rentQuoteFormat:(0,o.exists)(e,"rentQuoteFormat")?e.rentQuoteFormat:void 0,rentWithIncentivesQuoteFormat:(0,o.exists)(e,"rentWithIncentivesQuoteFormat")?e.rentWithIncentivesQuoteFormat:void 0,effectiveRentComputeType:(0,o.exists)(e,"effectiveRentComputeType")?e.effectiveRentComputeType:void 0,maxLeaseTermAccepted:(0,o.exists)(e,"maxLeaseTermAccepted")?e.maxLeaseTermAccepted:void 0,parkingInformation:(0,o.exists)(e,"parkingInformation")?e.parkingInformation:void 0,storageFee:(0,o.exists)(e,"storageFee")?e.storageFee:void 0,incentivesProperlyConnected:(0,o.exists)(e,"incentivesProperlyConnected")?e.incentivesProperlyConnected:void 0,prioritizeShowingVacantUnits:(0,o.exists)(e,"prioritizeShowingVacantUnits")?e.prioritizeShowingVacantUnits:void 0,electricCompany:(0,o.exists)(e,"electricCompany")?e.electricCompany:void 0,gasCompany:(0,o.exists)(e,"gasCompany")?e.gasCompany:void 0,telephoneCompany:(0,o.exists)(e,"telephoneCompany")?e.telephoneCompany:void 0,televisionCompany:(0,o.exists)(e,"televisionCompany")?e.televisionCompany:void 0,waterCompany:(0,o.exists)(e,"waterCompany")?e.waterCompany:void 0,internetCompany:(0,o.exists)(e,"internetCompany")?e.internetCompany:void 0,localHospital:(0,o.exists)(e,"localHospital")?e.localHospital:void 0,localSchoolDistrict:(0,o.exists)(e,"localSchoolDistrict")?e.localSchoolDistrict:void 0,localElementarySchool:(0,o.exists)(e,"localElementarySchool")?e.localElementarySchool:void 0,localMiddleSchool:(0,o.exists)(e,"localMiddleSchool")?e.localMiddleSchool:void 0,localHighSchool:(0,o.exists)(e,"localHighSchool")?e.localHighSchool:void 0,localShoppingCenter:(0,o.exists)(e,"localShoppingCenter")?e.localShoppingCenter:void 0,localGroceryStore:(0,o.exists)(e,"localGroceryStore")?e.localGroceryStore:void 0,closestInterstates:(0,o.exists)(e,"closestInterstates")?e.closestInterstates:void 0,buildingPicturesUrl:(0,o.exists)(e,"buildingPicturesUrl")?e.buildingPicturesUrl:void 0,buildingFloorPlansUrl:(0,o.exists)(e,"buildingFloorPlansUrl")?e.buildingFloorPlansUrl:void 0,nonexistentLayouts:(0,o.exists)(e,"nonexistentLayouts")?e.nonexistentLayouts:void 0,avoidQuotingPrices:(0,o.exists)(e,"avoidQuotingPrices")?e.avoidQuotingPrices:void 0,excludeNotRentReadyUnit:(0,o.exists)(e,"excludeNotRentReadyUnit")?e.excludeNotRentReadyUnit:void 0,flexWallsAllowed:(0,o.exists)(e,"flexWallsAllowed")?e.flexWallsAllowed:void 0,petsAccepted:(0,o.exists)(e,"petsAccepted")?e.petsAccepted:void 0,showOccupiedUnits:(0,o.exists)(e,"showOccupiedUnits")?e.showOccupiedUnits:void 0,guarantorsAcceptedSwitch:(0,o.exists)(e,"guarantorsAcceptedSwitch")?e.guarantorsAcceptedSwitch:void 0,thirdPartyGuarantorsAccepted:(0,o.exists)(e,"thirdPartyGuarantorsAccepted")?e.thirdPartyGuarantorsAccepted:void 0,leasingOfficeOnsite:(0,o.exists)(e,"leasingOfficeOnsite")?e.leasingOfficeOnsite:void 0,building3dMediaUrl:(0,o.exists)(e,"building3dMediaUrl")?e.building3dMediaUrl:void 0,inPersonToursAllowed:(0,o.exists)(e,"inPersonToursAllowed")?e.inPersonToursAllowed:void 0,selfGuidedToursEnabled:(0,o.exists)(e,"selfGuidedToursEnabled")?e.selfGuidedToursEnabled:void 0,noUnitSelfGuidedTourAllowed:(0,o.exists)(e,"noUnitSelfGuidedTourAllowed")?e.noUnitSelfGuidedTourAllowed:void 0,textForwardToEmails:(0,o.exists)(e,"textForwardToEmails")?e.textForwardToEmails:void 0,omitDesiredFloorPlan:(0,o.exists)(e,"omitDesiredFloorPlan")?e.omitDesiredFloorPlan:void 0,tourNotificationEmailsMode:(0,o.exists)(e,"tourNotificationEmailsMode")?e.tourNotificationEmailsMode:void 0,virtualTourType:(0,o.exists)(e,"virtualTourType")?e.virtualTourType:void 0,offeredLayouts:(0,o.exists)(e,"offeredLayouts")?e.offeredLayouts:void 0,weeklyReportEmails:(0,o.exists)(e,"weeklyReportEmails")?e.weeklyReportEmails:void 0,dailyReportEmails:(0,o.exists)(e,"dailyReportEmails")?e.dailyReportEmails:void 0,sgtUrl:(0,o.exists)(e,"sgtUrl")?e.sgtUrl:void 0,preRecordedVirtualTourUrl:(0,o.exists)(e,"preRecordedVirtualTourUrl")?e.preRecordedVirtualTourUrl:void 0,liveVirtualToursLink:(0,o.exists)(e,"liveVirtualToursLink")?e.liveVirtualToursLink:void 0,selfGuidedToursLink:(0,o.exists)(e,"selfGuidedToursLink")?e.selfGuidedToursLink:void 0}}(r=t.CommunityFormViewTourNotificationEmailsModeEnum||(t.CommunityFormViewTourNotificationEmailsModeEnum={})).NoNotification="NO_NOTIFICATION",r.AllViewings="ALL_VIEWINGS",r.SameDayViewings="SAME_DAY_VIEWINGS",(n=t.CommunityFormViewVirtualTourTypeEnum||(t.CommunityFormViewVirtualTourTypeEnum={})).NotEnabled="NOT_ENABLED",n.SelfManaged="SELF_MANAGED",n.Whereby="WHEREBY",t.CommunityFormViewFromJSON=function(e){return s(e)},t.CommunityFormViewFromJSONTyped=s,t.CommunityFormViewToJSON=function(e){if(void 0!==e)return null===e?null:{id:e.id,managementCompanyId:e.managementCompanyId,organizationId:e.organizationId,active:e.active,handoffForwardToEmails:e.handoffForwardToEmails,responseCcEmails:e.responseCcEmails,responseBccEmails:e.responseBccEmails,buildingName:e.buildingName,address1:e.address1,address2:e.address2,address3:e.address3,city:e.city,state:e.state,postalCode:e.postalCode,crossStreets:e.crossStreets,neighborhood:e.neighborhood,nearbyTransportation:e.nearbyTransportation,totalUnits:e.totalUnits,totalFloors:e.totalFloors,greenBuilding:e.greenBuilding,elevator:e.elevator,freightElevator:e.freightElevator,petPolicy:e.petPolicy,petFeeOrDeposit:e.petFeeOrDeposit,utilitiesIncluded:e.utilitiesIncluded,utilitiesNotIncluded:e.utilitiesNotIncluded,minLeaseTermAccepted:e.minLeaseTermAccepted,furnishedOffered:e.furnishedOffered,furnishedUnitsPolicy:e.furnishedUnitsPolicy,internationalStudentRequirements:e.internationalStudentRequirements,amenitiesFee:e.amenitiesFee,corporateLeasesAccepted:e.corporateLeasesAccepted,doorman:e.doorman,intercom:e.intercom,liveInSuper:e.liveInSuper,concierge:e.concierge,laundryInBuilding:e.laundryInBuilding,packageReceiving:e.packageReceiving,gym:e.gym,storage:e.storage,bicycleRoom:e.bicycleRoom,lounge:e.lounge,clubHouse:e.clubHouse,businessCenter:e.businessCenter,outdoorSpace:e.outdoorSpace,roofDeck:e.roofDeck,courtyard:e.courtyard,childrenPlayroom:e.childrenPlayroom,nursery:e.nursery,maidService:e.maidService,pool:e.pool,wheelchairAccess:e.wheelchairAccess,thirdPartyGuarantorTypesAccepted:e.thirdPartyGuarantorTypesAccepted,noCreditQualificationAlternative:e.noCreditQualificationAlternative,virtualTourPlatforms:e.virtualTourPlatforms,flexWallPolicy:e.flexWallPolicy,leaseholderApplicationFee:e.leaseholderApplicationFee,guarantorApplicationFee:e.guarantorApplicationFee,tenantIncomeRequirementRentMultiplier:e.tenantIncomeRequirementRentMultiplier,guarantorIncomeRequirementRentMultiplier:e.guarantorIncomeRequirementRentMultiplier,leaseholderMinimumCreditScoreRequirement:e.leaseholderMinimumCreditScoreRequirement,guarantorMinimumCreditScoreRequirement:e.guarantorMinimumCreditScoreRequirement,leaseholderApplicationDocumentsRequired:e.leaseholderApplicationDocumentsRequired,guarantorsAccepted:e.guarantorsAccepted,prepaymentPolicy:e.prepaymentPolicy,rentRequiredOnLeaseSigning:e.rentRequiredOnLeaseSigning,paymentFormsAccepted:e.paymentFormsAccepted,leasingBrochureUrl:e.leasingBrochureUrl,leasingOfficeHours:e.leasingOfficeHours,appointmentHours:void 0===e.appointmentHours?void 0:e.appointmentHours.map(a.AppointmentHoursToJSON),occupiedUnitsShowingHours:e.occupiedUnitsShowingHours,tourDuration:e.tourDuration,leasingPhoneNumber:e.leasingPhoneNumber,callCenterNumber:e.callCenterNumber,buildingWebsiteUrl:e.buildingWebsiteUrl,applicationLink:e.applicationLink,geoAddress:e.geoAddress,googleMapsUrl:e.googleMapsUrl,appointmentMeetingLocation:e.appointmentMeetingLocation,appointmentDirections:e.appointmentDirections,appointmentAdditionalDirections:e.appointmentAdditionalDirections,rentComputeType:e.rentComputeType,autosendActive:e.autosendActive,advancedMoveInAllowenceInDays:e.advancedMoveInAllowenceInDays,showByOpenHouseOnly:e.showByOpenHouseOnly,showUnitsWithPendingApplication:e.showUnitsWithPendingApplication,showOccupiedUnitsWithPendingApplication:e.showOccupiedUnitsWithPendingApplication,confirmAppointmentsOccupiedUnits:e.confirmAppointmentsOccupiedUnits,confirmAppointmentsRenovatingUnits:e.confirmAppointmentsRenovatingUnits,occupiedUnitsAdvancedNoticeInHours:e.occupiedUnitsAdvancedNoticeInHours,alternativeBuildingNames:e.alternativeBuildingNames,externalIds:e.externalIds,externalCrmId:e.externalCrmId,defaultAvailabilityQuoteMatchMoveInDate:e.defaultAvailabilityQuoteMatchMoveInDate,leaseRenewalNoticeInDays:e.leaseRenewalNoticeInDays,rentQuoteFormat:e.rentQuoteFormat,rentWithIncentivesQuoteFormat:e.rentWithIncentivesQuoteFormat,effectiveRentComputeType:e.effectiveRentComputeType,maxLeaseTermAccepted:e.maxLeaseTermAccepted,parkingInformation:e.parkingInformation,storageFee:e.storageFee,incentivesProperlyConnected:e.incentivesProperlyConnected,prioritizeShowingVacantUnits:e.prioritizeShowingVacantUnits,electricCompany:e.electricCompany,gasCompany:e.gasCompany,telephoneCompany:e.telephoneCompany,televisionCompany:e.televisionCompany,waterCompany:e.waterCompany,internetCompany:e.internetCompany,localHospital:e.localHospital,localSchoolDistrict:e.localSchoolDistrict,localElementarySchool:e.localElementarySchool,localMiddleSchool:e.localMiddleSchool,localHighSchool:e.localHighSchool,localShoppingCenter:e.localShoppingCenter,localGroceryStore:e.localGroceryStore,closestInterstates:e.closestInterstates,buildingPicturesUrl:e.buildingPicturesUrl,buildingFloorPlansUrl:e.buildingFloorPlansUrl,nonexistentLayouts:e.nonexistentLayouts,avoidQuotingPrices:e.avoidQuotingPrices,excludeNotRentReadyUnit:e.excludeNotRentReadyUnit,flexWallsAllowed:e.flexWallsAllowed,petsAccepted:e.petsAccepted,showOccupiedUnits:e.showOccupiedUnits,guarantorsAcceptedSwitch:e.guarantorsAcceptedSwitch,thirdPartyGuarantorsAccepted:e.thirdPartyGuarantorsAccepted,leasingOfficeOnsite:e.leasingOfficeOnsite,building3dMediaUrl:e.building3dMediaUrl,inPersonToursAllowed:e.inPersonToursAllowed,selfGuidedToursEnabled:e.selfGuidedToursEnabled,noUnitSelfGuidedTourAllowed:e.noUnitSelfGuidedTourAllowed,textForwardToEmails:e.textForwardToEmails,omitDesiredFloorPlan:e.omitDesiredFloorPlan,tourNotificationEmailsMode:e.tourNotificationEmailsMode,virtualTourType:e.virtualTourType,offeredLayouts:e.offeredLayouts,weeklyReportEmails:e.weeklyReportEmails,dailyReportEmails:e.dailyReportEmails,sgtUrl:e.sgtUrl,preRecordedVirtualTourUrl:e.preRecordedVirtualTourUrl,liveVirtualToursLink:e.liveVirtualToursLink,selfGuidedToursLink:e.selfGuidedToursLink}}},2817:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.CommunityPageBuildingToJSON=t.CommunityPageBuildingFromJSONTyped=t.CommunityPageBuildingFromJSON=void 0;var n=i(296);function r(e,t){return null==e?e:{buildingName:(0,n.exists)(e,"buildingName")?e.buildingName:void 0,launchDate:(0,n.exists)(e,"launchDate")?new Date(e.launchDate):void 0,organizationId:(0,n.exists)(e,"organizationId")?e.organizationId:void 0,organizationName:(0,n.exists)(e,"organizationName")?e.organizationName:void 0,assistantId:(0,n.exists)(e,"assistantId")?e.assistantId:void 0,assistantEmail:(0,n.exists)(e,"assistantEmail")?e.assistantEmail:void 0,externalIds:(0,n.exists)(e,"externalIds")?e.externalIds:void 0,externalCrmId:(0,n.exists)(e,"externalCrmId")?e.externalCrmId:void 0,id:(0,n.exists)(e,"id")?e.id:void 0,totalUnits:(0,n.exists)(e,"totalUnits")?e.totalUnits:void 0,address1:(0,n.exists)(e,"address1")?e.address1:void 0,city:(0,n.exists)(e,"city")?e.city:void 0,state:(0,n.exists)(e,"state")?e.state:void 0,postalCode:(0,n.exists)(e,"postalCode")?e.postalCode:void 0,active:(0,n.exists)(e,"active")?e.active:void 0,calendarId:(0,n.exists)(e,"calendarId")?e.calendarId:void 0}}t.CommunityPageBuildingFromJSON=function(e){return r(e)},t.CommunityPageBuildingFromJSONTyped=r,t.CommunityPageBuildingToJSON=function(e){if(void 0!==e)return null===e?null:{buildingName:e.buildingName,launchDate:void 0===e.launchDate?void 0:e.launchDate.toISOString(),organizationId:e.organizationId,organizationName:e.organizationName,assistantId:e.assistantId,assistantEmail:e.assistantEmail,externalIds:e.externalIds,externalCrmId:e.externalCrmId,id:e.id,totalUnits:e.totalUnits,address1:e.address1,city:e.city,state:e.state,postalCode:e.postalCode,active:e.active,calendarId:e.calendarId}}},9407:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ContextDtoToJSON=t.ContextDtoFromJSONTyped=t.ContextDtoFromJSON=void 0;var n=i(296);function r(e,t){return null==e?e:{id:(0,n.exists)(e,"id")?e.id:void 0,leadId:(0,n.exists)(e,"leadId")?e.leadId:void 0,partyId:(0,n.exists)(e,"partyId")?e.partyId:void 0}}t.ContextDtoFromJSON=function(e){return r(e)},t.ContextDtoFromJSONTyped=r,t.ContextDtoToJSON=function(e){if(void 0!==e)return null===e?null:{id:e.id,leadId:e.leadId,partyId:e.partyId}}},7058:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ConversationToJSON=t.ConversationFromJSONTyped=t.ConversationFromJSON=void 0;var n=i(296),r=i(3531);function o(e,t){return null==e?e:{leadContact:(0,n.exists)(e,"leadContact")?e.leadContact:void 0,conversations:(0,n.exists)(e,"conversations")?e.conversations.map(r.ConversationMessageFromJSON):void 0}}t.ConversationFromJSON=function(e){return o(e)},t.ConversationFromJSONTyped=o,t.ConversationToJSON=function(e){if(void 0!==e)return null===e?null:{leadContact:e.leadContact,conversations:void 0===e.conversations?void 0:e.conversations.map(r.ConversationMessageToJSON)}}},3531:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ConversationMessageToJSON=t.ConversationMessageFromJSONTyped=t.ConversationMessageFromJSON=void 0;var n=i(296);function r(e,t){return null==e?e:{sender:(0,n.exists)(e,"sender")?e.sender:void 0,body:(0,n.exists)(e,"body")?e.body:void 0,timeSent:(0,n.exists)(e,"timeSent")?e.timeSent:void 0}}t.ConversationMessageFromJSON=function(e){return r(e)},t.ConversationMessageFromJSONTyped=r,t.ConversationMessageToJSON=function(e){if(void 0!==e)return null===e?null:{sender:e.sender,body:e.body,timeSent:e.timeSent}}},6613:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ConversationMessageV2ToJSON=t.ConversationMessageV2FromJSONTyped=t.ConversationMessageV2FromJSON=t.ConversationMessageV2TypeEnum=void 0;var n,r=i(296);function o(e,t){return null==e?e:{type:(0,r.exists)(e,"type")?e.type:void 0,id:(0,r.exists)(e,"id")?e.id:void 0,timeSent:(0,r.exists)(e,"timeSent")?new Date(e.timeSent):void 0,body:(0,r.exists)(e,"body")?e.body:void 0,sender:(0,r.exists)(e,"sender")?e.sender:void 0,subject:(0,r.exists)(e,"subject")?e.subject:void 0,threadId:(0,r.exists)(e,"threadId")?e.threadId:void 0}}(n=t.ConversationMessageV2TypeEnum||(t.ConversationMessageV2TypeEnum={})).WebChat="WebChat",n.Email="Email",n.Text="Text",t.ConversationMessageV2FromJSON=function(e){return o(e)},t.ConversationMessageV2FromJSONTyped=o,t.ConversationMessageV2ToJSON=function(e){if(void 0!==e)return null===e?null:{type:e.type,id:e.id,timeSent:void 0===e.timeSent?void 0:e.timeSent.toISOString(),body:e.body,sender:e.sender,subject:e.subject,threadId:e.threadId}}},5040:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ConversationV2ToJSON=t.ConversationV2FromJSONTyped=t.ConversationV2FromJSON=void 0;var n=i(296),r=i(6613),o=i(7662);function a(e,t){return null==e?e:{lead:(0,n.exists)(e,"lead")?(0,o.LeadInfoFromJSON)(e.lead):void 0,conversations:(0,n.exists)(e,"conversations")?e.conversations.map(r.ConversationMessageV2FromJSON):void 0}}t.ConversationV2FromJSON=function(e){return a(e)},t.ConversationV2FromJSONTyped=a,t.ConversationV2ToJSON=function(e){if(void 0!==e)return null===e?null:{lead:(0,o.LeadInfoToJSON)(e.lead),conversations:void 0===e.conversations?void 0:e.conversations.map(r.ConversationMessageV2ToJSON)}}},5111:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.CreateCalendarEventTourHandlerDtoToJSON=t.CreateCalendarEventTourHandlerDtoFromJSONTyped=t.CreateCalendarEventTourHandlerDtoFromJSON=void 0;var n=i(296);function r(e,t){return null==e?e:{buildingId:(0,n.exists)(e,"buildingId")?e.buildingId:void 0,calendarEventId:e.calendarEventId,leasingAgentId:e.leasingAgentId}}t.CreateCalendarEventTourHandlerDtoFromJSON=function(e){return r(e)},t.CreateCalendarEventTourHandlerDtoFromJSONTyped=r,t.CreateCalendarEventTourHandlerDtoToJSON=function(e){if(void 0!==e)return null===e?null:{buildingId:e.buildingId,calendarEventId:e.calendarEventId,leasingAgentId:e.leasingAgentId}}},3202:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.CreateScriptRequestToJSON=t.CreateScriptRequestFromJSONTyped=t.CreateScriptRequestFromJSON=t.CreateScriptRequestHandoffIntentStateEnum=t.CreateScriptRequestTypeEnum=t.CreateScriptRequestMediaEnum=void 0;var n,r,o,a=i(296);function s(e,t){return null==e?e:{organizationId:(0,a.exists)(e,"organizationId")?e.organizationId:void 0,media:e.media,type:e.type,category:e.category,subIntent:(0,a.exists)(e,"subIntent")?e.subIntent:void 0,text:e.text,handoffIntentState:(0,a.exists)(e,"handoffIntentState")?e.handoffIntentState:void 0,communityId:(0,a.exists)(e,"communityId")?e.communityId:void 0}}(o=t.CreateScriptRequestMediaEnum||(t.CreateScriptRequestMediaEnum={})).Both="BOTH",o.Email="EMAIL",o.Sms="SMS",(r=t.CreateScriptRequestTypeEnum||(t.CreateScriptRequestTypeEnum={})).All="ALL",r.Template="TEMPLATE",r.TemplateItem="TEMPLATE_ITEM",(n=t.CreateScriptRequestHandoffIntentStateEnum||(t.CreateScriptRequestHandoffIntentStateEnum={})).None="NONE",n.YellowStatus="YELLOW_STATUS",n.RedAlertSend="RED_ALERT_SEND",n.RedAlertDoNotSend="RED_ALERT_DO_NOT_SEND",t.CreateScriptRequestFromJSON=function(e){return s(e)},t.CreateScriptRequestFromJSONTyped=s,t.CreateScriptRequestToJSON=function(e){if(void 0!==e)return null===e?null:{organizationId:e.organizationId,media:e.media,type:e.type,category:e.category,subIntent:e.subIntent,text:e.text,handoffIntentState:e.handoffIntentState,communityId:e.communityId}}},6058:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.CreateWhitelistConfigRequestToJSON=t.CreateWhitelistConfigRequestFromJSONTyped=t.CreateWhitelistConfigRequestFromJSON=void 0;var n=i(296);function r(e,t){return null==e?e:{buildingId:(0,n.exists)(e,"buildingId")?e.buildingId:void 0,testName:(0,n.exists)(e,"testName")?e.testName:void 0,whitelistingEmail:(0,n.exists)(e,"whitelistingEmail")?e.whitelistingEmail:void 0}}t.CreateWhitelistConfigRequestFromJSON=function(e){return r(e)},t.CreateWhitelistConfigRequestFromJSONTyped=r,t.CreateWhitelistConfigRequestToJSON=function(e){if(void 0!==e)return null===e?null:{buildingId:e.buildingId,testName:e.testName,whitelistingEmail:e.whitelistingEmail}}},3817:(e,t)=>{function i(e,t){return null==e?e:{startOfRange:new Date(e.startOfRange),endOfRange:new Date(e.endOfRange),buildingId:e.buildingId,numAiMessagesSent:e.numAiMessagesSent,numAiSentEmailFollowup:e.numAiSentEmailFollowup,numAiSentTextFollowup:e.numAiSentTextFollowup,averageMessagesPerProspect:e.averageMessagesPerProspect,prospectToTourConversion:e.prospectToTourConversion,numTours:e.numTours,tourBookedByMENoncancelled:e.tourBookedByMENoncancelled,tourAttended:e.tourAttended,aiBookedTourAttended:e.aiBookedTourAttended,newProspectsHandled:e.newProspectsHandled,hoursSavedByAi:e.hoursSavedByAi,numEarlyAgentTakeover:e.numEarlyAgentTakeover,numPassToAgent:e.numPassToAgent,numActionRequiredFromAgent:e.numActionRequiredFromAgent,numberLeadsApplied:e.numberLeadsApplied}}Object.defineProperty(t,"__esModule",{value:!0}),t.DateRangeReportToJSON=t.DateRangeReportFromJSONTyped=t.DateRangeReportFromJSON=void 0,t.DateRangeReportFromJSON=function(e){return i(e)},t.DateRangeReportFromJSONTyped=i,t.DateRangeReportToJSON=function(e){if(void 0!==e)return null===e?null:{startOfRange:e.startOfRange.toISOString(),endOfRange:e.endOfRange.toISOString(),buildingId:e.buildingId,numAiMessagesSent:e.numAiMessagesSent,numAiSentEmailFollowup:e.numAiSentEmailFollowup,numAiSentTextFollowup:e.numAiSentTextFollowup,averageMessagesPerProspect:e.averageMessagesPerProspect,prospectToTourConversion:e.prospectToTourConversion,numTours:e.numTours,tourBookedByMENoncancelled:e.tourBookedByMENoncancelled,tourAttended:e.tourAttended,aiBookedTourAttended:e.aiBookedTourAttended,newProspectsHandled:e.newProspectsHandled,hoursSavedByAi:e.hoursSavedByAi,numEarlyAgentTakeover:e.numEarlyAgentTakeover,numPassToAgent:e.numPassToAgent,numActionRequiredFromAgent:e.numActionRequiredFromAgent,numberLeadsApplied:e.numberLeadsApplied}}},8882:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.DialogueScriptToJSON=t.DialogueScriptFromJSONTyped=t.DialogueScriptFromJSON=void 0;var n=i(296);function r(e,t){return null==e?e:{id:(0,n.exists)(e,"id")?e.id:void 0,deleted:(0,n.exists)(e,"deleted")?e.deleted:void 0,buildingId:(0,n.exists)(e,"buildingId")?e.buildingId:void 0,organizationId:(0,n.exists)(e,"organizationId")?e.organizationId:void 0,name:(0,n.exists)(e,"name")?e.name:void 0,subintent:(0,n.exists)(e,"subintent")?e.subintent:void 0,text:(0,n.exists)(e,"text")?e.text:void 0}}t.DialogueScriptFromJSON=function(e){return r(e)},t.DialogueScriptFromJSONTyped=r,t.DialogueScriptToJSON=function(e){if(void 0!==e)return null===e?null:{id:e.id,deleted:e.deleted,buildingId:e.buildingId,organizationId:e.organizationId,name:e.name,subintent:e.subintent,text:e.text}}},6607:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.EliseCalendarEventToJSON=t.EliseCalendarEventFromJSONTyped=t.EliseCalendarEventFromJSON=t.EliseCalendarEventSmartLockAccessTypeEnum=void 0;var n,r=i(296);function o(e,t){return null==e?e:{id:(0,r.exists)(e,"id")?e.id:void 0,leadId:(0,r.exists)(e,"leadId")?e.leadId:void 0,userId:(0,r.exists)(e,"userId")?e.userId:void 0,calendarId:(0,r.exists)(e,"calendarId")?e.calendarId:void 0,contextId:(0,r.exists)(e,"contextId")?e.contextId:void 0,recurringEventId:(0,r.exists)(e,"recurringEventId")?e.recurringEventId:void 0,timeCreated:(0,r.exists)(e,"timeCreated")?new Date(e.timeCreated):void 0,description:(0,r.exists)(e,"description")?e.description:void 0,status:(0,r.exists)(e,"status")?e.status:void 0,summary:(0,r.exists)(e,"summary")?e.summary:void 0,eventLocation:(0,r.exists)(e,"eventLocation")?e.eventLocation:void 0,startTime:(0,r.exists)(e,"startTime")?new Date(e.startTime):void 0,endTime:(0,r.exists)(e,"endTime")?new Date(e.endTime):void 0,startTimeString:(0,r.exists)(e,"startTimeString")?e.startTimeString:void 0,endTimeString:(0,r.exists)(e,"endTimeString")?e.endTimeString:void 0,startTimeInUtc:(0,r.exists)(e,"startTimeInUtc")?e.startTimeInUtc:void 0,endTimeInUtc:(0,r.exists)(e,"endTimeInUtc")?e.endTimeInUtc:void 0,lastTimeUpdated:(0,r.exists)(e,"lastTimeUpdated")?new Date(e.lastTimeUpdated):void 0,recurringEvent:(0,r.exists)(e,"recurringEvent")?e.recurringEvent:void 0,recurringEventLatestTimestampStoredUntil:(0,r.exists)(e,"recurringEventLatestTimestampStoredUntil")?new Date(e.recurringEventLatestTimestampStoredUntil):void 0,preserveOnReset:(0,r.exists)(e,"preserveOnReset")?e.preserveOnReset:void 0,internalEvent:(0,r.exists)(e,"internalEvent")?e.internalEvent:void 0,skipExternalBooking:(0,r.exists)(e,"skipExternalBooking")?e.skipExternalBooking:void 0,ignoreOtherEvents:(0,r.exists)(e,"ignoreOtherEvents")?e.ignoreOtherEvents:void 0,htmlLink:(0,r.exists)(e,"htmlLink")?e.htmlLink:void 0,geteTag:(0,r.exists)(e,"geteTag")?e.geteTag:void 0,getiCalUID:(0,r.exists)(e,"getiCalUID")?e.getiCalUID:void 0,eventId:(0,r.exists)(e,"eventId")?e.eventId:void 0,creatorName:(0,r.exists)(e,"creatorName")?e.creatorName:void 0,creatorEmail:(0,r.exists)(e,"creatorEmail")?e.creatorEmail:void 0,organizerName:(0,r.exists)(e,"organizerName")?e.organizerName:void 0,organizerEmail:(0,r.exists)(e,"organizerEmail")?e.organizerEmail:void 0,transparency:(0,r.exists)(e,"transparency")?e.transparency:void 0,visibility:(0,r.exists)(e,"visibility")?e.visibility:void 0,colorId:(0,r.exists)(e,"colorId")?e.colorId:void 0,availabilityStatus:(0,r.exists)(e,"availabilityStatus")?e.availabilityStatus:void 0,relevantMessageId:(0,r.exists)(e,"relevantMessageId")?e.relevantMessageId:void 0,isPredicted:(0,r.exists)(e,"isPredicted")?e.isPredicted:void 0,isArchived:(0,r.exists)(e,"isArchived")?e.isArchived:void 0,smartLockAccessType:(0,r.exists)(e,"smartLockAccessType")?e.smartLockAccessType:void 0,traineeEmail:(0,r.exists)(e,"traineeEmail")?e.traineeEmail:void 0,notes:(0,r.exists)(e,"notes")?e.notes:void 0,cancelled:(0,r.exists)(e,"cancelled")?e.cancelled:void 0,_new:(0,r.exists)(e,"new")?e.new:void 0,busy:(0,r.exists)(e,"busy")?e.busy:void 0}}(n=t.EliseCalendarEventSmartLockAccessTypeEnum||(t.EliseCalendarEventSmartLockAccessTypeEnum={})).WithAgent="WITH_AGENT",n.ExternallyManaged="EXTERNALLY_MANAGED",n.SmartKeyAccessManaged="SMART_KEY_ACCESS_MANAGED",t.EliseCalendarEventFromJSON=function(e){return o(e)},t.EliseCalendarEventFromJSONTyped=o,t.EliseCalendarEventToJSON=function(e){if(void 0!==e)return null===e?null:{id:e.id,leadId:e.leadId,userId:e.userId,calendarId:e.calendarId,contextId:e.contextId,recurringEventId:e.recurringEventId,timeCreated:void 0===e.timeCreated?void 0:e.timeCreated.toISOString(),description:e.description,status:e.status,summary:e.summary,eventLocation:e.eventLocation,startTime:void 0===e.startTime?void 0:e.startTime.toISOString(),endTime:void 0===e.endTime?void 0:e.endTime.toISOString(),startTimeString:e.startTimeString,endTimeString:e.endTimeString,startTimeInUtc:e.startTimeInUtc,endTimeInUtc:e.endTimeInUtc,lastTimeUpdated:void 0===e.lastTimeUpdated?void 0:e.lastTimeUpdated.toISOString(),recurringEvent:e.recurringEvent,recurringEventLatestTimestampStoredUntil:void 0===e.recurringEventLatestTimestampStoredUntil?void 0:e.recurringEventLatestTimestampStoredUntil.toISOString(),preserveOnReset:e.preserveOnReset,internalEvent:e.internalEvent,skipExternalBooking:e.skipExternalBooking,ignoreOtherEvents:e.ignoreOtherEvents,htmlLink:e.htmlLink,geteTag:e.geteTag,getiCalUID:e.getiCalUID,eventId:e.eventId,creatorName:e.creatorName,creatorEmail:e.creatorEmail,organizerName:e.organizerName,organizerEmail:e.organizerEmail,transparency:e.transparency,visibility:e.visibility,colorId:e.colorId,availabilityStatus:e.availabilityStatus,relevantMessageId:e.relevantMessageId,isPredicted:e.isPredicted,isArchived:e.isArchived,smartLockAccessType:e.smartLockAccessType,traineeEmail:e.traineeEmail,notes:e.notes,cancelled:e.cancelled,new:e._new,busy:e.busy}}},5007:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.EliseGuestCardDtoToJSON=t.EliseGuestCardDtoFromJSONTyped=t.EliseGuestCardDtoFromJSON=t.EliseGuestCardDtoInitialLeadChannelEnum=t.EliseGuestCardDtoIntegrationSourceEnum=void 0;var n,r,o=i(296);function a(e,t){return null==e?e:{id:(0,o.exists)(e,"id")?e.id:void 0,firstName:(0,o.exists)(e,"firstName")?e.firstName:void 0,lastName:(0,o.exists)(e,"lastName")?e.lastName:void 0,phoneNumber:(0,o.exists)(e,"phoneNumber")?e.phoneNumber:void 0,email:(0,o.exists)(e,"email")?e.email:void 0,source:(0,o.exists)(e,"source")?e.source:void 0,externalClientMarketingSource:(0,o.exists)(e,"externalClientMarketingSource")?e.externalClientMarketingSource:void 0,desiredMoveInDate:(0,o.exists)(e,"desiredMoveInDate")?e.desiredMoveInDate:void 0,comments:(0,o.exists)(e,"comments")?e.comments:void 0,integrationSource:(0,o.exists)(e,"integrationSource")?e.integrationSource:void 0,initialLeadChannel:(0,o.exists)(e,"initialLeadChannel")?e.initialLeadChannel:void 0,layout:(0,o.exists)(e,"layout")?e.layout:void 0,desiredLeaseTerm:(0,o.exists)(e,"desiredLeaseTerm")?e.desiredLeaseTerm:void 0}}(r=t.EliseGuestCardDtoIntegrationSourceEnum||(t.EliseGuestCardDtoIntegrationSourceEnum={})).MeCalendar="ME-Calendar",r.Sst="sst",r.EqrApi="eqr-api",r.Elise="Elise",r.Avb="avb",r.Yardi="yardi",r.Entrata="entrata",r.Anyonehome="anyonehome",r.Realpage="realpage",(n=t.EliseGuestCardDtoInitialLeadChannelEnum||(t.EliseGuestCardDtoInitialLeadChannelEnum={})).WalkIn="WALK_IN",n.CallToProspect="CALL_TO_PROSPECT",n.CallFromProspect="CALL_FROM_PROSPECT",n.Other="OTHER",n.Text="TEXT",n.Email="EMAIL",n.WebService="WEB_SERVICE",n.Chat="CHAT",t.EliseGuestCardDtoFromJSON=function(e){return a(e)},t.EliseGuestCardDtoFromJSONTyped=a,t.EliseGuestCardDtoToJSON=function(e){if(void 0!==e)return null===e?null:{id:e.id,firstName:e.firstName,lastName:e.lastName,phoneNumber:e.phoneNumber,email:e.email,source:e.source,externalClientMarketingSource:e.externalClientMarketingSource,desiredMoveInDate:e.desiredMoveInDate,comments:e.comments,integrationSource:e.integrationSource,initialLeadChannel:e.initialLeadChannel,layout:e.layout,desiredLeaseTerm:e.desiredLeaseTerm}}},1057:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.EliseMessageIntentToJSON=t.EliseMessageIntentFromJSONTyped=t.EliseMessageIntentFromJSON=t.EliseMessageIntentMessageTypeEnum=void 0;var n,r=i(296);function o(e,t){return null==e?e:{id:(0,r.exists)(e,"id")?e.id:void 0,clientEmail:(0,r.exists)(e,"clientEmail")?e.clientEmail:void 0,leadEmail:(0,r.exists)(e,"leadEmail")?e.leadEmail:void 0,leadId:(0,r.exists)(e,"leadId")?e.leadId:void 0,hotMailId:(0,r.exists)(e,"hotMailId")?e.hotMailId:void 0,intentNameClassifiedAuto:(0,r.exists)(e,"intentNameClassifiedAuto")?e.intentNameClassifiedAuto:void 0,intentValue:(0,r.exists)(e,"intentValue")?e.intentValue:void 0,intentClassifer:(0,r.exists)(e,"intentClassifer")?e.intentClassifer:void 0,type:(0,r.exists)(e,"type")?e.type:void 0,verifiedHuman:(0,r.exists)(e,"verifiedHuman")?e.verifiedHuman:void 0,intentNameClassifiedManual:(0,r.exists)(e,"intentNameClassifiedManual")?e.intentNameClassifiedManual:void 0,intentNameSubintentClassifiedManual:(0,r.exists)(e,"intentNameSubintentClassifiedManual")?e.intentNameSubintentClassifiedManual:void 0,responseRequiringApprovalId:(0,r.exists)(e,"responseRequiringApprovalId")?e.responseRequiringApprovalId:void 0,pendingApproval:(0,r.exists)(e,"pendingApproval")?e.pendingApproval:void 0,strippedText:(0,r.exists)(e,"strippedText")?e.strippedText:void 0,isDeleted:(0,r.exists)(e,"isDeleted")?e.isDeleted:void 0,hotMailGmailMessageId:(0,r.exists)(e,"hotMailGmailMessageId")?e.hotMailGmailMessageId:void 0,processed:(0,r.exists)(e,"processed")?e.processed:void 0,getzIndex:(0,r.exists)(e,"getzIndex")?e.getzIndex:void 0,descriptiveNounForUnknownIntent:(0,r.exists)(e,"descriptiveNounForUnknownIntent")?e.descriptiveNounForUnknownIntent:void 0,aiTrainerInstructions:(0,r.exists)(e,"aiTrainerInstructions")?e.aiTrainerInstructions:void 0,messageType:(0,r.exists)(e,"messageType")?e.messageType:void 0,tag:(0,r.exists)(e,"tag")?e.tag:void 0}}(n=t.EliseMessageIntentMessageTypeEnum||(t.EliseMessageIntentMessageTypeEnum={})).EmailIntent="EMAIL_INTENT",n.TextIntent="TEXT_INTENT",t.EliseMessageIntentFromJSON=function(e){return o(e)},t.EliseMessageIntentFromJSONTyped=o,t.EliseMessageIntentToJSON=function(e){if(void 0!==e)return null===e?null:{id:e.id,clientEmail:e.clientEmail,leadEmail:e.leadEmail,leadId:e.leadId,hotMailId:e.hotMailId,intentNameClassifiedAuto:e.intentNameClassifiedAuto,intentValue:e.intentValue,intentClassifer:e.intentClassifer,type:e.type,verifiedHuman:e.verifiedHuman,intentNameClassifiedManual:e.intentNameClassifiedManual,intentNameSubintentClassifiedManual:e.intentNameSubintentClassifiedManual,responseRequiringApprovalId:e.responseRequiringApprovalId,pendingApproval:e.pendingApproval,strippedText:e.strippedText,isDeleted:e.isDeleted,hotMailGmailMessageId:e.hotMailGmailMessageId,processed:e.processed,getzIndex:e.getzIndex,descriptiveNounForUnknownIntent:e.descriptiveNounForUnknownIntent,aiTrainerInstructions:e.aiTrainerInstructions,messageType:e.messageType,tag:e.tag}}},7009:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ElisePredictedResponseToJSON=t.ElisePredictedResponseFromJSONTyped=t.ElisePredictedResponseFromJSON=void 0;var n=i(296),r=i(1234),o=i(1057),a=i(6045),s=i(8385);function l(e,t){return null==e?e:{responseMessageBody:(0,n.exists)(e,"responseMessageBody")?e.responseMessageBody:void 0,responseTemplate:(0,n.exists)(e,"responseTemplate")?e.responseTemplate:void 0,intents:(0,n.exists)(e,"intents")?e.intents.map(o.EliseMessageIntentFromJSON):void 0,attachments:(0,n.exists)(e,"attachments")?e.attachments.map(r.AttachmentFromJSON):void 0,workInProgressMessageBody:(0,n.exists)(e,"workInProgressMessageBody")?e.workInProgressMessageBody:void 0,forcedIntents:(0,n.exists)(e,"forcedIntents")?e.forcedIntents.map(a.ForcedIntentFromJSON):void 0,atomicTemplateIntentMapWithSubIntent:(0,n.exists)(e,"atomicTemplateIntentMapWithSubIntent")?(0,n.mapValues)(e.atomicTemplateIntentMapWithSubIntent,s.ResponseAtomicTemplateFromJSON):void 0}}t.ElisePredictedResponseFromJSON=function(e){return l(e)},t.ElisePredictedResponseFromJSONTyped=l,t.ElisePredictedResponseToJSON=function(e){if(void 0!==e)return null===e?null:{responseMessageBody:e.responseMessageBody,responseTemplate:e.responseTemplate,intents:void 0===e.intents?void 0:e.intents.map(o.EliseMessageIntentToJSON),attachments:void 0===e.attachments?void 0:e.attachments.map(r.AttachmentToJSON),workInProgressMessageBody:e.workInProgressMessageBody,forcedIntents:void 0===e.forcedIntents?void 0:e.forcedIntents.map(a.ForcedIntentToJSON),atomicTemplateIntentMapWithSubIntent:void 0===e.atomicTemplateIntentMapWithSubIntent?void 0:(0,n.mapValues)(e.atomicTemplateIntentMapWithSubIntent,s.ResponseAtomicTemplateToJSON)}}},3694:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.EntityConfigToJSON=t.EntityConfigFromJSONTyped=t.EntityConfigFromJSON=void 0;var n=i(296),r=i(4105);function o(e,t){return null==e?e:{options:(0,n.exists)(e,"options")?(0,r.EntityOptionsFromJSON)(e.options):void 0,entityIds:(0,n.exists)(e,"entity_ids")?e.entity_ids:void 0}}t.EntityConfigFromJSON=function(e){return o(e)},t.EntityConfigFromJSONTyped=o,t.EntityConfigToJSON=function(e){if(void 0!==e)return null===e?null:{options:(0,r.EntityOptionsToJSON)(e.options),entity_ids:e.entityIds}}},4105:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.EntityOptionsToJSON=t.EntityOptionsFromJSONTyped=t.EntityOptionsFromJSON=void 0;var n=i(296);function r(e,t){return null==e?e:{active:(0,n.exists)(e,"active")?e.active:void 0,test:(0,n.exists)(e,"test")?e.test:void 0}}t.EntityOptionsFromJSON=function(e){return r(e)},t.EntityOptionsFromJSONTyped=r,t.EntityOptionsToJSON=function(e){if(void 0!==e)return null===e?null:{active:e.active,test:e.test}}},9861:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.EntrataCredentialsToJSON=t.EntrataCredentialsFromJSONTyped=t.EntrataCredentialsFromJSON=void 0;var n=i(296);function r(e,t){return null==e?e:{id:(0,n.exists)(e,"id")?e.id:void 0,userId:(0,n.exists)(e,"userId")?e.userId:void 0,domain:(0,n.exists)(e,"domain")?e.domain:void 0,userName:(0,n.exists)(e,"userName")?e.userName:void 0,password:(0,n.exists)(e,"password")?e.password:void 0}}t.EntrataCredentialsFromJSON=function(e){return r(e)},t.EntrataCredentialsFromJSONTyped=r,t.EntrataCredentialsToJSON=function(e){if(void 0!==e)return null===e?null:{id:e.id,userId:e.userId,domain:e.domain,userName:e.userName,password:e.password}}},8442:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ExternalBuildingAgentToJSON=t.ExternalBuildingAgentFromJSONTyped=t.ExternalBuildingAgentFromJSON=void 0;var n=i(296);function r(e,t){return null==e?e:{id:(0,n.exists)(e,"id")?e.id:void 0,buildingId:(0,n.exists)(e,"buildingId")?e.buildingId:void 0,externalId:(0,n.exists)(e,"externalId")?e.externalId:void 0,agentFirstName:(0,n.exists)(e,"agentFirstName")?e.agentFirstName:void 0,agentLastName:(0,n.exists)(e,"agentLastName")?e.agentLastName:void 0,isDefaultAgent:(0,n.exists)(e,"isDefaultAgent")?e.isDefaultAgent:void 0,active:(0,n.exists)(e,"active")?e.active:void 0}}t.ExternalBuildingAgentFromJSON=function(e){return r(e)},t.ExternalBuildingAgentFromJSONTyped=r,t.ExternalBuildingAgentToJSON=function(e){if(void 0!==e)return null===e?null:{id:e.id,buildingId:e.buildingId,externalId:e.externalId,agentFirstName:e.agentFirstName,agentLastName:e.agentLastName,isDefaultAgent:e.isDefaultAgent,active:e.active}}},6885:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ExternalBuildingSourceToJSON=t.ExternalBuildingSourceFromJSONTyped=t.ExternalBuildingSourceFromJSON=void 0;var n=i(296);function r(e,t){return null==e?e:{id:(0,n.exists)(e,"id")?e.id:void 0,buildingId:(0,n.exists)(e,"buildingId")?e.buildingId:void 0,source:(0,n.exists)(e,"source")?e.source:void 0,eliseSource:(0,n.exists)(e,"eliseSource")?e.eliseSource:void 0,isDefaultCatchall:(0,n.exists)(e,"isDefaultCatchall")?e.isDefaultCatchall:void 0}}t.ExternalBuildingSourceFromJSON=function(e){return r(e)},t.ExternalBuildingSourceFromJSONTyped=r,t.ExternalBuildingSourceToJSON=function(e){if(void 0!==e)return null===e?null:{id:e.id,buildingId:e.buildingId,source:e.source,eliseSource:e.eliseSource,isDefaultCatchall:e.isDefaultCatchall}}},7934:(e,t)=>{function i(e,t){return null==e?e:{value:e.value,label:e.label}}var n;Object.defineProperty(t,"__esModule",{value:!0}),t.FirstContactOptionToJSON=t.FirstContactOptionFromJSONTyped=t.FirstContactOptionFromJSON=t.FirstContactOptionValueEnum=void 0,(n=t.FirstContactOptionValueEnum||(t.FirstContactOptionValueEnum={})).CallFromProspect="CALL_FROM_PROSPECT",n.CallToProspect="CALL_TO_PROSPECT",n.Email="EMAIL",n.WalkIn="WALK_IN",n.Text="TEXT",n.WebService="WEB_SERVICE",n.Chat="CHAT",n.Other="OTHER",t.FirstContactOptionFromJSON=function(e){return i(e)},t.FirstContactOptionFromJSONTyped=i,t.FirstContactOptionToJSON=function(e){if(void 0!==e)return null===e?null:{value:e.value,label:e.label}}},3905:(e,t)=>{function i(e,t){return null==e?e:{contextId:e.contextId,leadStatus:e.leadStatus}}Object.defineProperty(t,"__esModule",{value:!0}),t.FollowUpParamsToJSON=t.FollowUpParamsFromJSONTyped=t.FollowUpParamsFromJSON=void 0,t.FollowUpParamsFromJSON=function(e){return i(e)},t.FollowUpParamsFromJSONTyped=i,t.FollowUpParamsToJSON=function(e){if(void 0!==e)return null===e?null:{contextId:e.contextId,leadStatus:e.leadStatus}}},3958:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.FollowUpSettingsToJSON=t.FollowUpSettingsFromJSONTyped=t.FollowUpSettingsFromJSON=void 0;var n=i(296),r=i(4401),o=i(3832),a=i(1431),s=i(908),l=i(3231);function u(e,t){return null==e?e:{longTermPostTourFollowUpSettings:(0,n.exists)(e,"longTermPostTourFollowUpSettings")?e.longTermPostTourFollowUpSettings.map(o.LongTermPostTourFollowUpSettingFromJSON):void 0,longTermFollowUpSettings:(0,n.exists)(e,"longTermFollowUpSettings")?e.longTermFollowUpSettings.map(r.LongTermFollowUpSettingFromJSON):void 0,postTourFollowUpSettings:(0,n.exists)(e,"postTourFollowUpSettings")?e.postTourFollowUpSettings.map(s.PostTourFollowUpSettingFromJSON):void 0,preTourFollowUpSettings:(0,n.exists)(e,"preTourFollowUpSettings")?e.preTourFollowUpSettings.map(l.PreTourFollowUpSettingFromJSON):void 0,noShowFollowUpSettings:(0,n.exists)(e,"noShowFollowUpSettings")?e.noShowFollowUpSettings.map(a.NoShowFollowUpSettingFromJSON):void 0}}t.FollowUpSettingsFromJSON=function(e){return u(e)},t.FollowUpSettingsFromJSONTyped=u,t.FollowUpSettingsToJSON=function(e){if(void 0!==e)return null===e?null:{longTermPostTourFollowUpSettings:void 0===e.longTermPostTourFollowUpSettings?void 0:e.longTermPostTourFollowUpSettings.map(o.LongTermPostTourFollowUpSettingToJSON),longTermFollowUpSettings:void 0===e.longTermFollowUpSettings?void 0:e.longTermFollowUpSettings.map(r.LongTermFollowUpSettingToJSON),postTourFollowUpSettings:void 0===e.postTourFollowUpSettings?void 0:e.postTourFollowUpSettings.map(s.PostTourFollowUpSettingToJSON),preTourFollowUpSettings:void 0===e.preTourFollowUpSettings?void 0:e.preTourFollowUpSettings.map(l.PreTourFollowUpSettingToJSON),noShowFollowUpSettings:void 0===e.noShowFollowUpSettings?void 0:e.noShowFollowUpSettings.map(a.NoShowFollowUpSettingToJSON)}}},6045:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ForcedIntentToJSON=t.ForcedIntentFromJSONTyped=t.ForcedIntentFromJSON=void 0;var n=i(296);function r(e,t){return null==e?e:{id:(0,n.exists)(e,"id")?e.id:void 0,gmailMessageId:(0,n.exists)(e,"gmailMessageId")?e.gmailMessageId:void 0,intentName:(0,n.exists)(e,"intentName")?e.intentName:void 0,timeCreated:(0,n.exists)(e,"timeCreated")?new Date(e.timeCreated):void 0}}t.ForcedIntentFromJSON=function(e){return r(e)},t.ForcedIntentFromJSONTyped=r,t.ForcedIntentToJSON=function(e){if(void 0!==e)return null===e?null:{id:e.id,gmailMessageId:e.gmailMessageId,intentName:e.intentName,timeCreated:void 0===e.timeCreated?void 0:e.timeCreated.toISOString()}}},6465:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.GenerateAndSendExcelReportsOverrideSettingsToJSON=t.GenerateAndSendExcelReportsOverrideSettingsFromJSONTyped=t.GenerateAndSendExcelReportsOverrideSettingsFromJSON=void 0;var n=i(296);function r(e,t){return null==e?e:{reportIds:(0,n.exists)(e,"reportIds")?e.reportIds:void 0,recipients:(0,n.exists)(e,"recipients")?e.recipients:void 0,dontSend:(0,n.exists)(e,"dontSend")?e.dontSend:void 0}}t.GenerateAndSendExcelReportsOverrideSettingsFromJSON=function(e){return r(e)},t.GenerateAndSendExcelReportsOverrideSettingsFromJSONTyped=r,t.GenerateAndSendExcelReportsOverrideSettingsToJSON=function(e){if(void 0!==e)return null===e?null:{reportIds:e.reportIds,recipients:e.recipients,dontSend:e.dontSend}}},7895:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.GetMEHomeDashboardInfoDtoToJSON=t.GetMEHomeDashboardInfoDtoFromJSONTyped=t.GetMEHomeDashboardInfoDtoFromJSON=void 0;var n=i(296);function r(e,t){return null==e?e:{buildingId:(0,n.exists)(e,"buildingId")?e.buildingId:void 0,startOfReportRange:(0,n.exists)(e,"startOfReportRange")?e.startOfReportRange:void 0,endOfReportRange:(0,n.exists)(e,"endOfReportRange")?e.endOfReportRange:void 0,startOfCalendarEventRange:(0,n.exists)(e,"startOfCalendarEventRange")?e.startOfCalendarEventRange:void 0,endOfCalendarEventRange:(0,n.exists)(e,"endOfCalendarEventRange")?e.endOfCalendarEventRange:void 0}}t.GetMEHomeDashboardInfoDtoFromJSON=function(e){return r(e)},t.GetMEHomeDashboardInfoDtoFromJSONTyped=r,t.GetMEHomeDashboardInfoDtoToJSON=function(e){if(void 0!==e)return null===e?null:{buildingId:e.buildingId,startOfReportRange:e.startOfReportRange,endOfReportRange:e.endOfReportRange,startOfCalendarEventRange:e.startOfCalendarEventRange,endOfCalendarEventRange:e.endOfCalendarEventRange}}},4326:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.GetOrCreateContextDtoToJSON=t.GetOrCreateContextDtoFromJSONTyped=t.GetOrCreateContextDtoFromJSON=void 0;var n=i(296);function r(e,t){return null==e?e:{userId:(0,n.exists)(e,"userId")?e.userId:void 0,buildingId:(0,n.exists)(e,"buildingId")?e.buildingId:void 0}}t.GetOrCreateContextDtoFromJSON=function(e){return r(e)},t.GetOrCreateContextDtoFromJSONTyped=r,t.GetOrCreateContextDtoToJSON=function(e){if(void 0!==e)return null===e?null:{userId:e.userId,buildingId:e.buildingId}}},2610:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.GetReportsForBuildingAndDateRangeDtoToJSON=t.GetReportsForBuildingAndDateRangeDtoFromJSONTyped=t.GetReportsForBuildingAndDateRangeDtoFromJSON=void 0;var n=i(296);function r(e,t){return null==e?e:{buildingId:(0,n.exists)(e,"buildingId")?e.buildingId:void 0,startTime:(0,n.exists)(e,"startTime")?e.startTime:void 0,endTime:(0,n.exists)(e,"endTime")?e.endTime:void 0}}t.GetReportsForBuildingAndDateRangeDtoFromJSON=function(e){return r(e)},t.GetReportsForBuildingAndDateRangeDtoFromJSONTyped=r,t.GetReportsForBuildingAndDateRangeDtoToJSON=function(e){if(void 0!==e)return null===e?null:{buildingId:e.buildingId,startTime:e.startTime,endTime:e.endTime}}},1960:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.GetReportsForBuildingsAndDateRangeDtoToJSON=t.GetReportsForBuildingsAndDateRangeDtoFromJSONTyped=t.GetReportsForBuildingsAndDateRangeDtoFromJSON=t.GetReportsForBuildingsAndDateRangeDtoTimeFrequencyEnum=void 0;var n,r=i(296);function o(e,t){return null==e?e:{buildingIds:(0,r.exists)(e,"buildingIds")?e.buildingIds:void 0,startTime:(0,r.exists)(e,"startTime")?e.startTime:void 0,endTime:(0,r.exists)(e,"endTime")?e.endTime:void 0,timeFrequency:(0,r.exists)(e,"timeFrequency")?e.timeFrequency:void 0}}(n=t.GetReportsForBuildingsAndDateRangeDtoTimeFrequencyEnum||(t.GetReportsForBuildingsAndDateRangeDtoTimeFrequencyEnum={})).None="NONE",n.Hourly="HOURLY",n.Daily="DAILY",n.Weekly="WEEKLY",n.Monthly="MONTHLY",n.Yearly="YEARLY",t.GetReportsForBuildingsAndDateRangeDtoFromJSON=function(e){return o(e)},t.GetReportsForBuildingsAndDateRangeDtoFromJSONTyped=o,t.GetReportsForBuildingsAndDateRangeDtoToJSON=function(e){if(void 0!==e)return null===e?null:{buildingIds:e.buildingIds,startTime:e.startTime,endTime:e.endTime,timeFrequency:e.timeFrequency}}},9233:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.GetUnitAvailabilitiesRequestToJSON=t.GetUnitAvailabilitiesRequestFromJSONTyped=t.GetUnitAvailabilitiesRequestFromJSON=void 0;var n=i(296);function r(e,t){return null==e?e:{moveInStart:(0,n.exists)(e,"moveInStart")?e.moveInStart:void 0,moveInEnd:(0,n.exists)(e,"moveInEnd")?e.moveInEnd:void 0,buildingName:(0,n.exists)(e,"buildingName")?e.buildingName:void 0,buildingAddress:(0,n.exists)(e,"buildingAddress")?e.buildingAddress:void 0,buildingZip:(0,n.exists)(e,"buildingZip")?e.buildingZip:void 0,preferredUnitNumbers:(0,n.exists)(e,"preferredUnitNumbers")?e.preferredUnitNumbers:void 0,preferredLayoutIds:(0,n.exists)(e,"preferredLayoutIds")?e.preferredLayoutIds:void 0}}t.GetUnitAvailabilitiesRequestFromJSON=function(e){return r(e)},t.GetUnitAvailabilitiesRequestFromJSONTyped=r,t.GetUnitAvailabilitiesRequestToJSON=function(e){if(void 0!==e)return null===e?null:{moveInStart:e.moveInStart,moveInEnd:e.moveInEnd,buildingName:e.buildingName,buildingAddress:e.buildingAddress,buildingZip:e.buildingZip,preferredUnitNumbers:e.preferredUnitNumbers,preferredLayoutIds:e.preferredLayoutIds}}},8055:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.GetUnitAvailabilitiesRequest2ToJSON=t.GetUnitAvailabilitiesRequest2FromJSONTyped=t.GetUnitAvailabilitiesRequest2FromJSON=void 0;var n=i(296);function r(e,t){return null==e?e:{id:(0,n.exists)(e,"id")?e.id:void 0,moveInStart:(0,n.exists)(e,"moveInStart")?e.moveInStart:void 0,moveInEnd:(0,n.exists)(e,"moveInEnd")?e.moveInEnd:void 0,preferredUnitNumbers:(0,n.exists)(e,"preferredUnitNumbers")?e.preferredUnitNumbers:void 0,preferredLayoutIds:(0,n.exists)(e,"preferredLayoutIds")?e.preferredLayoutIds:void 0}}t.GetUnitAvailabilitiesRequest2FromJSON=function(e){return r(e)},t.GetUnitAvailabilitiesRequest2FromJSONTyped=r,t.GetUnitAvailabilitiesRequest2ToJSON=function(e){if(void 0!==e)return null===e?null:{id:e.id,moveInStart:e.moveInStart,moveInEnd:e.moveInEnd,preferredUnitNumbers:e.preferredUnitNumbers,preferredLayoutIds:e.preferredLayoutIds}}},2406:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.GetUnitAvailabilitiesResponseToJSON=t.GetUnitAvailabilitiesResponseFromJSONTyped=t.GetUnitAvailabilitiesResponseFromJSON=void 0;var n=i(296);function r(e,t){return null==e?e:{subIntentMetadataMap:(0,n.exists)(e,"subIntentMetadataMap")?e.subIntentMetadataMap:void 0,dialogue:(0,n.exists)(e,"dialogue")?e.dialogue:void 0}}t.GetUnitAvailabilitiesResponseFromJSON=function(e){return r(e)},t.GetUnitAvailabilitiesResponseFromJSONTyped=r,t.GetUnitAvailabilitiesResponseToJSON=function(e){if(void 0!==e)return null===e?null:{subIntentMetadataMap:e.subIntentMetadataMap,dialogue:e.dialogue}}},1880:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.GetWhiteListTestsForBuildingsRequestToJSON=t.GetWhiteListTestsForBuildingsRequestFromJSONTyped=t.GetWhiteListTestsForBuildingsRequestFromJSON=void 0;var n=i(296);function r(e,t){return null==e?e:{buildingIds:(0,n.exists)(e,"buildingIds")?e.buildingIds:void 0}}t.GetWhiteListTestsForBuildingsRequestFromJSON=function(e){return r(e)},t.GetWhiteListTestsForBuildingsRequestFromJSONTyped=r,t.GetWhiteListTestsForBuildingsRequestToJSON=function(e){if(void 0!==e)return null===e?null:{buildingIds:e.buildingIds}}},7989:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.HourlyReportDtoToJSON=t.HourlyReportDtoFromJSONTyped=t.HourlyReportDtoFromJSON=void 0;var n=i(296);function r(e,t){return null==e?e:{buildingId:(0,n.exists)(e,"buildingId")?e.buildingId:void 0,marketingSource:(0,n.exists)(e,"marketingSource")?e.marketingSource:void 0,hourOfAggregation:(0,n.exists)(e,"hourOfAggregation")?new Date(e.hourOfAggregation):void 0,numMessagesSentByElise:(0,n.exists)(e,"numMessagesSentByElise")?e.numMessagesSentByElise:void 0,numUniqueProspectsInTimePeriod:(0,n.exists)(e,"numUniqueProspectsInTimePeriod")?e.numUniqueProspectsInTimePeriod:void 0,numRepliesPerContext:(0,n.exists)(e,"numRepliesPerContext")?e.numRepliesPerContext:void 0,newUniqueProspectsInTimePeriod:(0,n.exists)(e,"newUniqueProspectsInTimePeriod")?e.newUniqueProspectsInTimePeriod:void 0,hoursSaved:(0,n.exists)(e,"hoursSaved")?e.hoursSaved:void 0,numTours:(0,n.exists)(e,"numTours")?e.numTours:void 0}}t.HourlyReportDtoFromJSON=function(e){return r(e)},t.HourlyReportDtoFromJSONTyped=r,t.HourlyReportDtoToJSON=function(e){if(void 0!==e)return null===e?null:{buildingId:e.buildingId,marketingSource:e.marketingSource,hourOfAggregation:void 0===e.hourOfAggregation?void 0:e.hourOfAggregation.toISOString(),numMessagesSentByElise:e.numMessagesSentByElise,numUniqueProspectsInTimePeriod:e.numUniqueProspectsInTimePeriod,numRepliesPerContext:e.numRepliesPerContext,newUniqueProspectsInTimePeriod:e.newUniqueProspectsInTimePeriod,hoursSaved:e.hoursSaved,numTours:e.numTours}}},4036:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.InboxEntityToJSON=t.InboxEntityFromJSONTyped=t.InboxEntityFromJSON=void 0;var n=i(296);function r(e,t){return null==e?e:{id:(0,n.exists)(e,"id")?e.id:void 0}}t.InboxEntityFromJSON=function(e){return r(e)},t.InboxEntityFromJSONTyped=r,t.InboxEntityToJSON=function(e){if(void 0!==e)return null===e?null:{id:e.id}}},5728:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.InitializeWhiteListingConfigRequestToJSON=t.InitializeWhiteListingConfigRequestFromJSONTyped=t.InitializeWhiteListingConfigRequestFromJSON=void 0;var n=i(296);function r(e,t){return null==e?e:{buildingId:(0,n.exists)(e,"buildingId")?e.buildingId:void 0,emails:(0,n.exists)(e,"emails")?e.emails:void 0}}t.InitializeWhiteListingConfigRequestFromJSON=function(e){return r(e)},t.InitializeWhiteListingConfigRequestFromJSONTyped=r,t.InitializeWhiteListingConfigRequestToJSON=function(e){if(void 0!==e)return null===e?null:{buildingId:e.buildingId,emails:e.emails}}},5131:(e,t)=>{function i(e,t){return null==e?e:{state:e.state}}Object.defineProperty(t,"__esModule",{value:!0}),t.InlineObject3ToJSON=t.InlineObject3FromJSONTyped=t.InlineObject3FromJSON=void 0,t.InlineObject3FromJSON=function(e){return i(e)},t.InlineObject3FromJSONTyped=i,t.InlineObject3ToJSON=function(e){if(void 0!==e)return null===e?null:{state:e.state}}},746:(e,t)=>{function i(e,t){return null==e?e:{value:e.value,label:e.label}}Object.defineProperty(t,"__esModule",{value:!0}),t.LayoutOptionToJSON=t.LayoutOptionFromJSONTyped=t.LayoutOptionFromJSON=void 0,t.LayoutOptionFromJSON=function(e){return i(e)},t.LayoutOptionFromJSONTyped=i,t.LayoutOptionToJSON=function(e){if(void 0!==e)return null===e?null:{value:e.value,label:e.label}}},7662:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.LeadInfoToJSON=t.LeadInfoFromJSONTyped=t.LeadInfoFromJSON=void 0;var n=i(296);function r(e,t){return null==e?e:{contextId:(0,n.exists)(e,"contextId")?e.contextId:void 0,firstName:(0,n.exists)(e,"firstName")?e.firstName:void 0,lastName:(0,n.exists)(e,"lastName")?e.lastName:void 0,email:(0,n.exists)(e,"email")?e.email:void 0,phoneNumber:(0,n.exists)(e,"phoneNumber")?e.phoneNumber:void 0}}t.LeadInfoFromJSON=function(e){return r(e)},t.LeadInfoFromJSONTyped=r,t.LeadInfoToJSON=function(e){if(void 0!==e)return null===e?null:{contextId:e.contextId,firstName:e.firstName,lastName:e.lastName,email:e.email,phoneNumber:e.phoneNumber}}},9132:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.LeadInfoUpdateDtoToJSON=t.LeadInfoUpdateDtoFromJSONTyped=t.LeadInfoUpdateDtoFromJSON=void 0;var n=i(296);function r(e,t){return null==e?e:{buildingId:(0,n.exists)(e,"buildingId")?e.buildingId:void 0,firstName:(0,n.exists)(e,"firstName")?e.firstName:void 0,lastName:(0,n.exists)(e,"lastName")?e.lastName:void 0,email:(0,n.exists)(e,"email")?e.email:void 0,moveIn:(0,n.exists)(e,"moveIn")?new Date(e.moveIn):void 0,moveInRangeEnd:(0,n.exists)(e,"moveInRangeEnd")?new Date(e.moveInRangeEnd):void 0}}t.LeadInfoUpdateDtoFromJSON=function(e){return r(e)},t.LeadInfoUpdateDtoFromJSONTyped=r,t.LeadInfoUpdateDtoToJSON=function(e){if(void 0!==e)return null===e?null:{buildingId:e.buildingId,firstName:e.firstName,lastName:e.lastName,email:e.email,moveIn:void 0===e.moveIn?void 0:e.moveIn.toISOString().substr(0,10),moveInRangeEnd:void 0===e.moveInRangeEnd?void 0:e.moveInRangeEnd.toISOString().substr(0,10)}}},7530:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.LeadSourceResponseToJSON=t.LeadSourceResponseFromJSONTyped=t.LeadSourceResponseFromJSON=void 0;var n=i(296);function r(e,t){return null==e?e:{sources:(0,n.exists)(e,"sources")?e.sources:void 0}}t.LeadSourceResponseFromJSON=function(e){return r(e)},t.LeadSourceResponseFromJSONTyped=r,t.LeadSourceResponseToJSON=function(e){if(void 0!==e)return null===e?null:{sources:e.sources}}},194:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.LeadThreadViewModelToJSON=t.LeadThreadViewModelFromJSONTyped=t.LeadThreadViewModelFromJSON=void 0;var n=i(296);function r(e,t){return null==e?e:{leadName:(0,n.exists)(e,"leadName")?e.leadName:void 0,leadEmail:(0,n.exists)(e,"leadEmail")?e.leadEmail:void 0,contextCreationDate:(0,n.exists)(e,"contextCreationDate")?new Date(e.contextCreationDate):void 0,leadThreadLink:(0,n.exists)(e,"leadThreadLink")?e.leadThreadLink:void 0,buildingName:(0,n.exists)(e,"buildingName")?e.buildingName:void 0,buildingExternalId:(0,n.exists)(e,"buildingExternalId")?e.buildingExternalId:void 0,contextId:(0,n.exists)(e,"contextId")?e.contextId:void 0,buildingIds:(0,n.exists)(e,"buildingIds")?e.buildingIds:void 0,conversationKey:(0,n.exists)(e,"conversationKey")?e.conversationKey:void 0}}t.LeadThreadViewModelFromJSON=function(e){return r(e)},t.LeadThreadViewModelFromJSONTyped=r,t.LeadThreadViewModelToJSON=function(e){if(void 0!==e)return null===e?null:{leadName:e.leadName,leadEmail:e.leadEmail,contextCreationDate:void 0===e.contextCreationDate?void 0:e.contextCreationDate.toISOString(),leadThreadLink:e.leadThreadLink,buildingName:e.buildingName,buildingExternalId:e.buildingExternalId,contextId:e.contextId,buildingIds:e.buildingIds,conversationKey:e.conversationKey}}},1312:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.LeadWithSourceToJSON=t.LeadWithSourceFromJSONTyped=t.LeadWithSourceFromJSON=void 0;var n=i(296);function r(e,t){return null==e?e:{id:(0,n.exists)(e,"id")?e.id:void 0,email:(0,n.exists)(e,"email")?e.email:void 0,marketingSource:(0,n.exists)(e,"marketingSource")?e.marketingSource:void 0}}t.LeadWithSourceFromJSON=function(e){return r(e)},t.LeadWithSourceFromJSONTyped=r,t.LeadWithSourceToJSON=function(e){if(void 0!==e)return null===e?null:{id:e.id,email:e.email,marketingSource:e.marketingSource}}},4549:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.LeasingAgentToJSON=t.LeasingAgentFromJSONTyped=t.LeasingAgentFromJSON=void 0;var n=i(296);function r(e,t){return null==e?e:{id:(0,n.exists)(e,"id")?e.id:void 0,userId:(0,n.exists)(e,"userId")?e.userId:void 0,externalId:(0,n.exists)(e,"externalId")?e.externalId:void 0,agentFirstName:(0,n.exists)(e,"agentFirstName")?e.agentFirstName:void 0,agentLastName:(0,n.exists)(e,"agentLastName")?e.agentLastName:void 0,internal:(0,n.exists)(e,"internal")?e.internal:void 0}}t.LeasingAgentFromJSON=function(e){return r(e)},t.LeasingAgentFromJSONTyped=r,t.LeasingAgentToJSON=function(e){if(void 0!==e)return null===e?null:{id:e.id,userId:e.userId,externalId:e.externalId,agentFirstName:e.agentFirstName,agentLastName:e.agentLastName,internal:e.internal}}},8636:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ListWrapperOrganizationToJSON=t.ListWrapperOrganizationFromJSONTyped=t.ListWrapperOrganizationFromJSON=void 0;var n=i(296),r=i(8792);function o(e,t){return null==e?e:{data:(0,n.exists)(e,"data")?e.data.map(r.OrganizationFromJSON):void 0}}t.ListWrapperOrganizationFromJSON=function(e){return o(e)},t.ListWrapperOrganizationFromJSONTyped=o,t.ListWrapperOrganizationToJSON=function(e){if(void 0!==e)return null===e?null:{data:void 0===e.data?void 0:e.data.map(r.OrganizationToJSON)}}},7399:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.LocalTimeToJSON=t.LocalTimeFromJSONTyped=t.LocalTimeFromJSON=void 0;var n=i(296);function r(e,t){return null==e?e:{hour:(0,n.exists)(e,"hour")?e.hour:void 0,minute:(0,n.exists)(e,"minute")?e.minute:void 0,second:(0,n.exists)(e,"second")?e.second:void 0,nano:(0,n.exists)(e,"nano")?e.nano:void 0}}t.LocalTimeFromJSON=function(e){return r(e)},t.LocalTimeFromJSONTyped=r,t.LocalTimeToJSON=function(e){if(void 0!==e)return null===e?null:{hour:e.hour,minute:e.minute,second:e.second,nano:e.nano}}},8328:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.LocationToJSON=t.LocationFromJSONTyped=t.LocationFromJSON=void 0;var n=i(296);function r(e,t){return null==e?e:{label:(0,n.exists)(e,"label")?e.label:void 0,street:(0,n.exists)(e,"street")?e.street:void 0,addressNumber:(0,n.exists)(e,"addressNumber")?e.addressNumber:void 0,neighborhood:(0,n.exists)(e,"neighborhood")?e.neighborhood:void 0,postalCode:(0,n.exists)(e,"postalCode")?e.postalCode:void 0,municipality:(0,n.exists)(e,"municipality")?e.municipality:void 0,city:(0,n.exists)(e,"city")?e.city:void 0,region:(0,n.exists)(e,"region")?e.region:void 0,subRegion:(0,n.exists)(e,"subRegion")?e.subRegion:void 0,country:(0,n.exists)(e,"country")?e.country:void 0,latitude:(0,n.exists)(e,"latitude")?e.latitude:void 0,longitude:(0,n.exists)(e,"longitude")?e.longitude:void 0,timeZone:(0,n.exists)(e,"timeZone")?e.timeZone:void 0}}t.LocationFromJSON=function(e){return r(e)},t.LocationFromJSONTyped=r,t.LocationToJSON=function(e){if(void 0!==e)return null===e?null:{label:e.label,street:e.street,addressNumber:e.addressNumber,neighborhood:e.neighborhood,postalCode:e.postalCode,municipality:e.municipality,city:e.city,region:e.region,subRegion:e.subRegion,country:e.country,latitude:e.latitude,longitude:e.longitude,timeZone:e.timeZone}}},4401:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.LongTermFollowUpSettingToJSON=t.LongTermFollowUpSettingFromJSONTyped=t.LongTermFollowUpSettingFromJSON=void 0;var n=i(296);function r(e,t){return null==e?e:{id:(0,n.exists)(e,"id")?e.id:void 0,userId:(0,n.exists)(e,"userId")?e.userId:void 0,followUpNumber:(0,n.exists)(e,"followUpNumber")?e.followUpNumber:void 0,clientType:(0,n.exists)(e,"clientType")?e.clientType:void 0,intervalNumber:(0,n.exists)(e,"intervalNumber")?e.intervalNumber:void 0,intervalUnit:(0,n.exists)(e,"intervalUnit")?e.intervalUnit:void 0,intervalNumberOlderThan:(0,n.exists)(e,"intervalNumberOlderThan")?e.intervalNumberOlderThan:void 0,intervalUnitOlderThan:(0,n.exists)(e,"intervalUnitOlderThan")?e.intervalUnitOlderThan:void 0,buildingId:(0,n.exists)(e,"buildingId")?e.buildingId:void 0}}t.LongTermFollowUpSettingFromJSON=function(e){return r(e)},t.LongTermFollowUpSettingFromJSONTyped=r,t.LongTermFollowUpSettingToJSON=function(e){if(void 0!==e)return null===e?null:{id:e.id,userId:e.userId,followUpNumber:e.followUpNumber,clientType:e.clientType,intervalNumber:e.intervalNumber,intervalUnit:e.intervalUnit,intervalNumberOlderThan:e.intervalNumberOlderThan,intervalUnitOlderThan:e.intervalUnitOlderThan,buildingId:e.buildingId}}},3832:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.LongTermPostTourFollowUpSettingToJSON=t.LongTermPostTourFollowUpSettingFromJSONTyped=t.LongTermPostTourFollowUpSettingFromJSON=void 0;var n=i(296);function r(e,t){return null==e?e:{id:(0,n.exists)(e,"id")?e.id:void 0,userId:(0,n.exists)(e,"userId")?e.userId:void 0,followUpNumber:(0,n.exists)(e,"followUpNumber")?e.followUpNumber:void 0,clientType:(0,n.exists)(e,"clientType")?e.clientType:void 0,intervalNumber:(0,n.exists)(e,"intervalNumber")?e.intervalNumber:void 0,intervalUnit:(0,n.exists)(e,"intervalUnit")?e.intervalUnit:void 0,intervalNumberOlderThan:(0,n.exists)(e,"intervalNumberOlderThan")?e.intervalNumberOlderThan:void 0,intervalUnitOlderThan:(0,n.exists)(e,"intervalUnitOlderThan")?e.intervalUnitOlderThan:void 0,buildingId:(0,n.exists)(e,"buildingId")?e.buildingId:void 0}}t.LongTermPostTourFollowUpSettingFromJSON=function(e){return r(e)},t.LongTermPostTourFollowUpSettingFromJSONTyped=r,t.LongTermPostTourFollowUpSettingToJSON=function(e){if(void 0!==e)return null===e?null:{id:e.id,userId:e.userId,followUpNumber:e.followUpNumber,clientType:e.clientType,intervalNumber:e.intervalNumber,intervalUnit:e.intervalUnit,intervalNumberOlderThan:e.intervalNumberOlderThan,intervalUnitOlderThan:e.intervalUnitOlderThan,buildingId:e.buildingId}}},4883:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.MEHomeCalendarEventToJSON=t.MEHomeCalendarEventFromJSONTyped=t.MEHomeCalendarEventFromJSON=t.MEHomeCalendarEventEventTypeEnum=void 0;var n,r=i(296),o=i(9718);function a(e,t){return null==e?e:{id:e.id,aiAssistantId:e.aiAssistantId,startTimeISO:e.startTimeISO,endTimeISO:e.endTimeISO,eventType:e.eventType,tourInfo:(0,r.exists)(e,"tourInfo")?(0,o.MEHomeTourInfoFromJSON)(e.tourInfo):void 0,title:(0,r.exists)(e,"title")?e.title:void 0,conversationKey:(0,r.exists)(e,"conversationKey")?e.conversationKey:void 0,recurringEventId:(0,r.exists)(e,"recurringEventId")?e.recurringEventId:void 0,assignedAgentId:(0,r.exists)(e,"assignedAgentId")?e.assignedAgentId:void 0,canceled:(0,r.exists)(e,"canceled")?e.canceled:void 0}}(n=t.MEHomeCalendarEventEventTypeEnum||(t.MEHomeCalendarEventEventTypeEnum={})).NonBlockingInternal="NON_BLOCKING_INTERNAL",n.Blackout="BLACKOUT",n.Appointment="APPOINTMENT",n.Other="OTHER",t.MEHomeCalendarEventFromJSON=function(e){return a(e)},t.MEHomeCalendarEventFromJSONTyped=a,t.MEHomeCalendarEventToJSON=function(e){if(void 0!==e)return null===e?null:{id:e.id,aiAssistantId:e.aiAssistantId,startTimeISO:e.startTimeISO,endTimeISO:e.endTimeISO,eventType:e.eventType,tourInfo:(0,o.MEHomeTourInfoToJSON)(e.tourInfo),title:e.title,conversationKey:e.conversationKey,recurringEventId:e.recurringEventId,assignedAgentId:e.assignedAgentId,canceled:e.canceled}}},6705:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.MEHomeDashboardInfoToJSON=t.MEHomeDashboardInfoFromJSONTyped=t.MEHomeDashboardInfoFromJSON=void 0;var n=i(296),r=i(3817),o=i(7934),a=i(746),s=i(4549),l=i(4883),u=i(1004),d=i(6330);function c(e,t){return null==e?e:{numEscalations:e.numEscalations,calendarEvents:e.calendarEvents.map(l.MEHomeCalendarEventFromJSON),buildingIds:e.buildingIds,dateRangeReport:(0,n.exists)(e,"dateRangeReport")?(0,r.DateRangeReportFromJSON)(e.dateRangeReport):void 0,leasingAgents:e.leasingAgents.map(s.LeasingAgentFromJSON),units:e.units.map(u.MEHomeUnitFromJSON),tourTypeOptions:e.tourTypeOptions.map(d.TourTypeOptionFromJSON),layoutOptions:e.layoutOptions.map(a.LayoutOptionFromJSON),leadSources:e.leadSources,firstContactOptions:e.firstContactOptions.map(o.FirstContactOptionFromJSON)}}t.MEHomeDashboardInfoFromJSON=function(e){return c(e)},t.MEHomeDashboardInfoFromJSONTyped=c,t.MEHomeDashboardInfoToJSON=function(e){if(void 0!==e)return null===e?null:{numEscalations:e.numEscalations,calendarEvents:e.calendarEvents.map(l.MEHomeCalendarEventToJSON),buildingIds:e.buildingIds,dateRangeReport:(0,r.DateRangeReportToJSON)(e.dateRangeReport),leasingAgents:e.leasingAgents.map(s.LeasingAgentToJSON),units:e.units.map(u.MEHomeUnitToJSON),tourTypeOptions:e.tourTypeOptions.map(d.TourTypeOptionToJSON),layoutOptions:e.layoutOptions.map(a.LayoutOptionToJSON),leadSources:e.leadSources,firstContactOptions:e.firstContactOptions.map(o.FirstContactOptionToJSON)}}},1427:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.MEHomeLeadToJSON=t.MEHomeLeadFromJSONTyped=t.MEHomeLeadFromJSON=void 0;var n=i(296);function r(e,t){return null==e?e:{id:e.id,email:(0,n.exists)(e,"email")?e.email:void 0,firstName:(0,n.exists)(e,"firstName")?e.firstName:void 0,lastName:(0,n.exists)(e,"lastName")?e.lastName:void 0,layouts:(0,n.exists)(e,"layouts")?e.layouts:void 0,leadCreationDateISO:(0,n.exists)(e,"leadCreationDateISO")?e.leadCreationDateISO:void 0,leaseLengthMax:(0,n.exists)(e,"leaseLengthMax")?e.leaseLengthMax:void 0,leaseLengthMin:(0,n.exists)(e,"leaseLengthMin")?e.leaseLengthMin:void 0,marketPlace:(0,n.exists)(e,"marketPlace")?e.marketPlace:void 0,moveInDateISO:(0,n.exists)(e,"moveInDateISO")?e.moveInDateISO:void 0,phoneNumber:(0,n.exists)(e,"phoneNumber")?e.phoneNumber:void 0,preferredSize:(0,n.exists)(e,"preferredSize")?e.preferredSize:void 0,recommendedUnits:(0,n.exists)(e,"recommendedUnits")?e.recommendedUnits:void 0}}t.MEHomeLeadFromJSON=function(e){return r(e)},t.MEHomeLeadFromJSONTyped=r,t.MEHomeLeadToJSON=function(e){if(void 0!==e)return null===e?null:{id:e.id,email:e.email,firstName:e.firstName,lastName:e.lastName,layouts:e.layouts,leadCreationDateISO:e.leadCreationDateISO,leaseLengthMax:e.leaseLengthMax,leaseLengthMin:e.leaseLengthMin,marketPlace:e.marketPlace,moveInDateISO:e.moveInDateISO,phoneNumber:e.phoneNumber,preferredSize:e.preferredSize,recommendedUnits:e.recommendedUnits}}},9718:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.MEHomeTourInfoToJSON=t.MEHomeTourInfoFromJSONTyped=t.MEHomeTourInfoFromJSON=t.MEHomeTourInfoConversationTypeEnum=t.MEHomeTourInfoTourTypeEnum=void 0;var n,r,o=i(296),a=i(1427);function s(e,t){return null==e?e:{lead:(0,a.MEHomeLeadFromJSON)(e.lead),hostVirtualTourUrl:(0,o.exists)(e,"hostVirtualTourUrl")?e.hostVirtualTourUrl:void 0,publicVirtualTourUrl:(0,o.exists)(e,"publicVirtualTourUrl")?e.publicVirtualTourUrl:void 0,tourType:(0,o.exists)(e,"tourType")?e.tourType:void 0,leadStatusForContext:(0,o.exists)(e,"leadStatusForContext")?e.leadStatusForContext:void 0,notes:(0,o.exists)(e,"notes")?e.notes:void 0,conversationType:(0,o.exists)(e,"conversationType")?e.conversationType:void 0}}(r=t.MEHomeTourInfoTourTypeEnum||(t.MEHomeTourInfoTourTypeEnum={})).Unknown="UNKNOWN",r.SelfGuided="SELF_GUIDED",r.VirtualShowing="VIRTUAL_SHOWING",r.WithAgent="WITH_AGENT",r.MediaTour="MEDIA_TOUR",(n=t.MEHomeTourInfoConversationTypeEnum||(t.MEHomeTourInfoConversationTypeEnum={})).Email="EMAIL",n.Phone="PHONE",t.MEHomeTourInfoFromJSON=function(e){return s(e)},t.MEHomeTourInfoFromJSONTyped=s,t.MEHomeTourInfoToJSON=function(e){if(void 0!==e)return null===e?null:{lead:(0,a.MEHomeLeadToJSON)(e.lead),hostVirtualTourUrl:e.hostVirtualTourUrl,publicVirtualTourUrl:e.publicVirtualTourUrl,tourType:e.tourType,leadStatusForContext:e.leadStatusForContext,notes:e.notes,conversationType:e.conversationType}}},1004:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.MEHomeUnitToJSON=t.MEHomeUnitFromJSONTyped=t.MEHomeUnitFromJSON=void 0;var n=i(296);function r(e,t){return null==e?e:{id:e.id,layoutDescription:e.layoutDescription,label:e.label,layout:e.layout,_default:(0,n.exists)(e,"default")?e.default:void 0}}t.MEHomeUnitFromJSON=function(e){return r(e)},t.MEHomeUnitFromJSONTyped=r,t.MEHomeUnitToJSON=function(e){if(void 0!==e)return null===e?null:{id:e.id,layoutDescription:e.layoutDescription,label:e.label,layout:e.layout,default:e._default}}},4240:(e,t)=>{function i(e,t){return null==e?e:{marketingSource:e.marketingSource,startOfRange:new Date(e.startOfRange),endOfRange:new Date(e.endOfRange),buildingId:e.buildingId,numAiMessagesSent:e.numAiMessagesSent,numAiSentEmailFollowup:e.numAiSentEmailFollowup,numAiSentTextFollowup:e.numAiSentTextFollowup,averageMessagesPerProspect:e.averageMessagesPerProspect,prospectToTourConversion:e.prospectToTourConversion,numTours:e.numTours,tourBookedByMENoncancelled:e.tourBookedByMENoncancelled,newProspectsHandled:e.newProspectsHandled,hoursSavedByAi:e.hoursSavedByAi,numEarlyAgentTakeover:e.numEarlyAgentTakeover,numberLeadsApplied:e.numberLeadsApplied,tourAttended:e.tourAttended,numActionRequiredFromAgent:e.numActionRequiredFromAgent,numPassToAgent:e.numPassToAgent,aiBookedTourAttended:e.aiBookedTourAttended}}Object.defineProperty(t,"__esModule",{value:!0}),t.MarketingSourceDateRangeReportToJSON=t.MarketingSourceDateRangeReportFromJSONTyped=t.MarketingSourceDateRangeReportFromJSON=void 0,t.MarketingSourceDateRangeReportFromJSON=function(e){return i(e)},t.MarketingSourceDateRangeReportFromJSONTyped=i,t.MarketingSourceDateRangeReportToJSON=function(e){if(void 0!==e)return null===e?null:{marketingSource:e.marketingSource,startOfRange:e.startOfRange.toISOString(),endOfRange:e.endOfRange.toISOString(),buildingId:e.buildingId,numAiMessagesSent:e.numAiMessagesSent,numAiSentEmailFollowup:e.numAiSentEmailFollowup,numAiSentTextFollowup:e.numAiSentTextFollowup,averageMessagesPerProspect:e.averageMessagesPerProspect,prospectToTourConversion:e.prospectToTourConversion,numTours:e.numTours,tourBookedByMENoncancelled:e.tourBookedByMENoncancelled,newProspectsHandled:e.newProspectsHandled,hoursSavedByAi:e.hoursSavedByAi,numEarlyAgentTakeover:e.numEarlyAgentTakeover,numberLeadsApplied:e.numberLeadsApplied,tourAttended:e.tourAttended,numActionRequiredFromAgent:e.numActionRequiredFromAgent,numPassToAgent:e.numPassToAgent,aiBookedTourAttended:e.aiBookedTourAttended}}},2960:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.NoShowActionDtoToJSON=t.NoShowActionDtoFromJSONTyped=t.NoShowActionDtoFromJSON=void 0;var n=i(296);function r(e,t){return null==e?e:{contextId:(0,n.exists)(e,"contextId")?e.contextId:void 0}}t.NoShowActionDtoFromJSON=function(e){return r(e)},t.NoShowActionDtoFromJSONTyped=r,t.NoShowActionDtoToJSON=function(e){if(void 0!==e)return null===e?null:{contextId:e.contextId}}},1431:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.NoShowFollowUpSettingToJSON=t.NoShowFollowUpSettingFromJSONTyped=t.NoShowFollowUpSettingFromJSON=void 0;var n=i(296);function r(e,t){return null==e?e:{id:(0,n.exists)(e,"id")?e.id:void 0,userId:(0,n.exists)(e,"userId")?e.userId:void 0,followUpNumber:(0,n.exists)(e,"followUpNumber")?e.followUpNumber:void 0,clientType:(0,n.exists)(e,"clientType")?e.clientType:void 0,intervalNumber:(0,n.exists)(e,"intervalNumber")?e.intervalNumber:void 0,intervalUnit:(0,n.exists)(e,"intervalUnit")?e.intervalUnit:void 0,intervalNumberOlderThan:(0,n.exists)(e,"intervalNumberOlderThan")?e.intervalNumberOlderThan:void 0,intervalUnitOlderThan:(0,n.exists)(e,"intervalUnitOlderThan")?e.intervalUnitOlderThan:void 0,buildingId:(0,n.exists)(e,"buildingId")?e.buildingId:void 0}}t.NoShowFollowUpSettingFromJSON=function(e){return r(e)},t.NoShowFollowUpSettingFromJSONTyped=r,t.NoShowFollowUpSettingToJSON=function(e){if(void 0!==e)return null===e?null:{id:e.id,userId:e.userId,followUpNumber:e.followUpNumber,clientType:e.clientType,intervalNumber:e.intervalNumber,intervalUnit:e.intervalUnit,intervalNumberOlderThan:e.intervalNumberOlderThan,intervalUnitOlderThan:e.intervalUnitOlderThan,buildingId:e.buildingId}}},8792:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.OrganizationToJSON=t.OrganizationFromJSONTyped=t.OrganizationFromJSON=void 0;var n=i(296),r=i(1172);function o(e,t){return null==e?e:{id:(0,n.exists)(e,"id")?e.id:void 0,name:(0,n.exists)(e,"name")?e.name:void 0,address1:(0,n.exists)(e,"address1")?e.address1:void 0,address2:(0,n.exists)(e,"address2")?e.address2:void 0,city:(0,n.exists)(e,"city")?e.city:void 0,state:(0,n.exists)(e,"state")?e.state:void 0,zipCode:(0,n.exists)(e,"zipCode")?e.zipCode:void 0,url:(0,n.exists)(e,"url")?e.url:void 0,associatedDomains:(0,n.exists)(e,"associatedDomains")?e.associatedDomains:void 0,communitiesDefaults:(0,n.exists)(e,"communitiesDefaults")?(0,r.CommunitiesDefaultsFromJSON)(e.communitiesDefaults):void 0,organizationId:(0,n.exists)(e,"organizationId")?e.organizationId:void 0}}t.OrganizationFromJSON=function(e){return o(e)},t.OrganizationFromJSONTyped=o,t.OrganizationToJSON=function(e){if(void 0!==e)return null===e?null:{id:e.id,name:e.name,address1:e.address1,address2:e.address2,city:e.city,state:e.state,zipCode:e.zipCode,url:e.url,associatedDomains:e.associatedDomains,communitiesDefaults:(0,r.CommunitiesDefaultsToJSON)(e.communitiesDefaults),organizationId:e.organizationId}}},908:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.PostTourFollowUpSettingToJSON=t.PostTourFollowUpSettingFromJSONTyped=t.PostTourFollowUpSettingFromJSON=void 0;var n=i(296);function r(e,t){return null==e?e:{id:(0,n.exists)(e,"id")?e.id:void 0,userId:(0,n.exists)(e,"userId")?e.userId:void 0,followUpNumber:(0,n.exists)(e,"followUpNumber")?e.followUpNumber:void 0,clientType:(0,n.exists)(e,"clientType")?e.clientType:void 0,intervalNumber:(0,n.exists)(e,"intervalNumber")?e.intervalNumber:void 0,intervalUnit:(0,n.exists)(e,"intervalUnit")?e.intervalUnit:void 0,intervalNumberOlderThan:(0,n.exists)(e,"intervalNumberOlderThan")?e.intervalNumberOlderThan:void 0,intervalUnitOlderThan:(0,n.exists)(e,"intervalUnitOlderThan")?e.intervalUnitOlderThan:void 0,buildingId:(0,n.exists)(e,"buildingId")?e.buildingId:void 0}}t.PostTourFollowUpSettingFromJSON=function(e){return r(e)},t.PostTourFollowUpSettingFromJSONTyped=r,t.PostTourFollowUpSettingToJSON=function(e){if(void 0!==e)return null===e?null:{id:e.id,userId:e.userId,followUpNumber:e.followUpNumber,clientType:e.clientType,intervalNumber:e.intervalNumber,intervalUnit:e.intervalUnit,intervalNumberOlderThan:e.intervalNumberOlderThan,intervalUnitOlderThan:e.intervalUnitOlderThan,buildingId:e.buildingId}}},3231:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.PreTourFollowUpSettingToJSON=t.PreTourFollowUpSettingFromJSONTyped=t.PreTourFollowUpSettingFromJSON=void 0;var n=i(296);function r(e,t){return null==e?e:{id:(0,n.exists)(e,"id")?e.id:void 0,followUpNumber:(0,n.exists)(e,"followUpNumber")?e.followUpNumber:void 0,clientType:(0,n.exists)(e,"clientType")?e.clientType:void 0,intervalNumber:(0,n.exists)(e,"intervalNumber")?e.intervalNumber:void 0,intervalUnit:(0,n.exists)(e,"intervalUnit")?e.intervalUnit:void 0,intervalNumberOlderThan:(0,n.exists)(e,"intervalNumberOlderThan")?e.intervalNumberOlderThan:void 0,intervalUnitOlderThan:(0,n.exists)(e,"intervalUnitOlderThan")?e.intervalUnitOlderThan:void 0,buildingId:(0,n.exists)(e,"buildingId")?e.buildingId:void 0,userId:(0,n.exists)(e,"userId")?e.userId:void 0}}t.PreTourFollowUpSettingFromJSON=function(e){return r(e)},t.PreTourFollowUpSettingFromJSONTyped=r,t.PreTourFollowUpSettingToJSON=function(e){if(void 0!==e)return null===e?null:{id:e.id,followUpNumber:e.followUpNumber,clientType:e.clientType,intervalNumber:e.intervalNumber,intervalUnit:e.intervalUnit,intervalNumberOlderThan:e.intervalNumberOlderThan,intervalUnitOlderThan:e.intervalUnitOlderThan,buildingId:e.buildingId,userId:e.userId}}},8496:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.QaDtoToJSON=t.QaDtoFromJSONTyped=t.QaDtoFromJSON=void 0;var n=i(296);function r(e,t){return null==e?e:{buildingId:(0,n.exists)(e,"buildingId")?e.buildingId:void 0,intentNames:(0,n.exists)(e,"intentNames")?e.intentNames:void 0,unitId:(0,n.exists)(e,"unitId")?e.unitId:void 0,email:(0,n.exists)(e,"email")?e.email:void 0}}t.QaDtoFromJSON=function(e){return r(e)},t.QaDtoFromJSONTyped=r,t.QaDtoToJSON=function(e){if(void 0!==e)return null===e?null:{buildingId:e.buildingId,intentNames:e.intentNames,unitId:e.unitId,email:e.email}}},3538:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.RealPageCredentialsToJSON=t.RealPageCredentialsFromJSONTyped=t.RealPageCredentialsFromJSON=void 0;var n=i(296);function r(e,t){return null==e?e:{id:(0,n.exists)(e,"id")?e.id:void 0,userId:(0,n.exists)(e,"userId")?e.userId:void 0,userName:(0,n.exists)(e,"userName")?e.userName:void 0,password:(0,n.exists)(e,"password")?e.password:void 0,uniqueCompanyIdentifier:(0,n.exists)(e,"uniqueCompanyIdentifier")?e.uniqueCompanyIdentifier:void 0,uniquePropertyIdentifier:(0,n.exists)(e,"uniquePropertyIdentifier")?e.uniquePropertyIdentifier:void 0,hostUrl:(0,n.exists)(e,"hostUrl")?e.hostUrl:void 0,l2LApiKey:(0,n.exists)(e,"l2LApiKey")?e.l2LApiKey:void 0,leasingAgentId:(0,n.exists)(e,"leasingAgentId")?e.leasingAgentId:void 0,handoffAgentId:(0,n.exists)(e,"handoffAgentId")?e.handoffAgentId:void 0}}t.RealPageCredentialsFromJSON=function(e){return r(e)},t.RealPageCredentialsFromJSONTyped=r,t.RealPageCredentialsToJSON=function(e){if(void 0!==e)return null===e?null:{id:e.id,userId:e.userId,userName:e.userName,password:e.password,uniqueCompanyIdentifier:e.uniqueCompanyIdentifier,uniquePropertyIdentifier:e.uniquePropertyIdentifier,hostUrl:e.hostUrl,l2LApiKey:e.l2LApiKey,leasingAgentId:e.leasingAgentId,handoffAgentId:e.handoffAgentId}}},9353:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.RecurringEventCreateRequestDtoToJSON=t.RecurringEventCreateRequestDtoFromJSONTyped=t.RecurringEventCreateRequestDtoFromJSON=t.RecurringEventCreateRequestDtoFrequencyEnum=void 0;var n,r=i(296);function o(e,t){return null==e?e:{calendarId:(0,r.exists)(e,"calendarId")?e.calendarId:void 0,startTime:(0,r.exists)(e,"startTime")?e.startTime:void 0,endTime:(0,r.exists)(e,"endTime")?e.endTime:void 0,daysOfWeek:(0,r.exists)(e,"daysOfWeek")?e.daysOfWeek:void 0,daysOfMonth:(0,r.exists)(e,"daysOfMonth")?e.daysOfMonth:void 0,startOfRecurrence:(0,r.exists)(e,"startOfRecurrence")?e.startOfRecurrence:void 0,endOfRecurrence:(0,r.exists)(e,"endOfRecurrence")?e.endOfRecurrence:void 0,frequency:(0,r.exists)(e,"frequency")?e.frequency:void 0,frequencyMultiplier:(0,r.exists)(e,"frequencyMultiplier")?e.frequencyMultiplier:void 0,createdBy:(0,r.exists)(e,"createdBy")?e.createdBy:void 0,summary:(0,r.exists)(e,"summary")?e.summary:void 0}}(n=t.RecurringEventCreateRequestDtoFrequencyEnum||(t.RecurringEventCreateRequestDtoFrequencyEnum={})).Weekly="WEEKLY",n.Monthly="MONTHLY",t.RecurringEventCreateRequestDtoFromJSON=function(e){return o(e)},t.RecurringEventCreateRequestDtoFromJSONTyped=o,t.RecurringEventCreateRequestDtoToJSON=function(e){if(void 0!==e)return null===e?null:{calendarId:e.calendarId,startTime:e.startTime,endTime:e.endTime,daysOfWeek:e.daysOfWeek,daysOfMonth:e.daysOfMonth,startOfRecurrence:e.startOfRecurrence,endOfRecurrence:e.endOfRecurrence,frequency:e.frequency,frequencyMultiplier:e.frequencyMultiplier,createdBy:e.createdBy,summary:e.summary}}},6343:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.RecurringEventDtoToJSON=t.RecurringEventDtoFromJSONTyped=t.RecurringEventDtoFromJSON=t.RecurringEventDtoFrequencyEnum=void 0;var n,r=i(296);function o(e,t){return null==e?e:{id:(0,r.exists)(e,"id")?e.id:void 0,calendarId:(0,r.exists)(e,"calendarId")?e.calendarId:void 0,startTime:(0,r.exists)(e,"startTime")?e.startTime:void 0,endTime:(0,r.exists)(e,"endTime")?e.endTime:void 0,daysOfWeek:(0,r.exists)(e,"daysOfWeek")?e.daysOfWeek:void 0,daysOfMonth:(0,r.exists)(e,"daysOfMonth")?e.daysOfMonth:void 0,startOfRecurrence:(0,r.exists)(e,"startOfRecurrence")?e.startOfRecurrence:void 0,endOfRecurrence:(0,r.exists)(e,"endOfRecurrence")?e.endOfRecurrence:void 0,frequency:(0,r.exists)(e,"frequency")?e.frequency:void 0,frequencyMultiplier:(0,r.exists)(e,"frequencyMultiplier")?e.frequencyMultiplier:void 0,timeCreated:(0,r.exists)(e,"timeCreated")?e.timeCreated:void 0,timeMostRecentlyUpdated:(0,r.exists)(e,"timeMostRecentlyUpdated")?e.timeMostRecentlyUpdated:void 0,lastEventGeneratedTimestamp:(0,r.exists)(e,"lastEventGeneratedTimestamp")?e.lastEventGeneratedTimestamp:void 0,createdBy:(0,r.exists)(e,"createdBy")?e.createdBy:void 0,summary:(0,r.exists)(e,"summary")?e.summary:void 0,deleted:(0,r.exists)(e,"deleted")?e.deleted:void 0}}(n=t.RecurringEventDtoFrequencyEnum||(t.RecurringEventDtoFrequencyEnum={})).Weekly="WEEKLY",n.Monthly="MONTHLY",t.RecurringEventDtoFromJSON=function(e){return o(e)},t.RecurringEventDtoFromJSONTyped=o,t.RecurringEventDtoToJSON=function(e){if(void 0!==e)return null===e?null:{id:e.id,calendarId:e.calendarId,startTime:e.startTime,endTime:e.endTime,daysOfWeek:e.daysOfWeek,daysOfMonth:e.daysOfMonth,startOfRecurrence:e.startOfRecurrence,endOfRecurrence:e.endOfRecurrence,frequency:e.frequency,frequencyMultiplier:e.frequencyMultiplier,timeCreated:e.timeCreated,timeMostRecentlyUpdated:e.timeMostRecentlyUpdated,lastEventGeneratedTimestamp:e.lastEventGeneratedTimestamp,createdBy:e.createdBy,summary:e.summary,deleted:e.deleted}}},7564:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.RecurringEventUpdateRequestDtoToJSON=t.RecurringEventUpdateRequestDtoFromJSONTyped=t.RecurringEventUpdateRequestDtoFromJSON=t.RecurringEventUpdateRequestDtoFrequencyEnum=void 0;var n,r=i(296);function o(e,t){return null==e?e:{startTime:(0,r.exists)(e,"startTime")?e.startTime:void 0,endTime:(0,r.exists)(e,"endTime")?e.endTime:void 0,daysOfWeek:(0,r.exists)(e,"daysOfWeek")?e.daysOfWeek:void 0,daysOfMonth:(0,r.exists)(e,"daysOfMonth")?e.daysOfMonth:void 0,startOfRecurrence:(0,r.exists)(e,"startOfRecurrence")?e.startOfRecurrence:void 0,endOfRecurrence:(0,r.exists)(e,"endOfRecurrence")?e.endOfRecurrence:void 0,frequency:(0,r.exists)(e,"frequency")?e.frequency:void 0,frequencyMultiplier:(0,r.exists)(e,"frequencyMultiplier")?e.frequencyMultiplier:void 0,summary:(0,r.exists)(e,"summary")?e.summary:void 0}}(n=t.RecurringEventUpdateRequestDtoFrequencyEnum||(t.RecurringEventUpdateRequestDtoFrequencyEnum={})).Weekly="WEEKLY",n.Monthly="MONTHLY",t.RecurringEventUpdateRequestDtoFromJSON=function(e){return o(e)},t.RecurringEventUpdateRequestDtoFromJSONTyped=o,t.RecurringEventUpdateRequestDtoToJSON=function(e){if(void 0!==e)return null===e?null:{startTime:e.startTime,endTime:e.endTime,daysOfWeek:e.daysOfWeek,daysOfMonth:e.daysOfMonth,startOfRecurrence:e.startOfRecurrence,endOfRecurrence:e.endOfRecurrence,frequency:e.frequency,frequencyMultiplier:e.frequencyMultiplier,summary:e.summary}}},4748:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ReportSettingToJSON=t.ReportSettingFromJSONTyped=t.ReportSettingFromJSON=t.ReportSettingSendingMediumEnum=t.ReportSettingTypeEnum=t.ReportSettingSheetIdsEnum=void 0;var n,r,o,a=i(296);function s(e,t){return null==e?e:{active:(0,a.exists)(e,"active")?e.active:void 0,id:(0,a.exists)(e,"id")?e.id:void 0,name:(0,a.exists)(e,"name")?e.name:void 0,reportNamePart1:(0,a.exists)(e,"reportNamePart1")?e.reportNamePart1:void 0,reportNamePart2:(0,a.exists)(e,"reportNamePart2")?e.reportNamePart2:void 0,startDate:(0,a.exists)(e,"startDate")?e.startDate:void 0,endDate:(0,a.exists)(e,"endDate")?e.endDate:void 0,initialReportDate:(0,a.exists)(e,"initialReportDate")?e.initialReportDate:void 0,isOrgLevel:(0,a.exists)(e,"isOrgLevel")?e.isOrgLevel:void 0,organizationIds:(0,a.exists)(e,"organizationIds")?e.organizationIds:void 0,buildingIds:(0,a.exists)(e,"buildingIds")?e.buildingIds:void 0,recipients:(0,a.exists)(e,"recipients")?e.recipients:void 0,sheetIds:(0,a.exists)(e,"sheetIds")?e.sheetIds:void 0,type:(0,a.exists)(e,"type")?e.type:void 0,sendingMedium:(0,a.exists)(e,"sendingMedium")?e.sendingMedium:void 0,htmlEmailMessage:(0,a.exists)(e,"htmlEmailMessage")?e.htmlEmailMessage:void 0,orgLevel:(0,a.exists)(e,"orgLevel")?e.orgLevel:void 0}}(o=t.ReportSettingSheetIdsEnum||(t.ReportSettingSheetIdsEnum={})).A1="A1",o.A1unsub="A1unsub",o.A1ytd="A1ytd",o.A2="A2",o.A3="A3",o.A3wk="A3wk",o.A3ytd="A3ytd",o.A4="A4",o.Bell2="BELL2",o.Bell4="BELL4",o.Boz1="BOZ1",o.Boz2="BOZ2",o.S1="S1",o.S1shows="S1shows",o.S1unsub="S1unsub",o.S1wk="S1wk",o.S2="S2",o.S2org="S2org",o.S2wk="S2wk",o.S3="S3",o.S3org="S3org",o.S3wk="S3wk",o.S4="S4",o.S4org="S4org",o.S5="S5",o.S5org="S5org",o.Sr1ytd="SR1ytd",o.Ivr1="IVR1",o.Ivr2="IVR2",(r=t.ReportSettingTypeEnum||(t.ReportSettingTypeEnum={})).ProspectReport="PROSPECT_REPORT",r.AutomaticReport="AUTOMATIC_REPORT",r.OwnerReport="OWNER_REPORT",r.InternalReport="INTERNAL_REPORT",(n=t.ReportSettingSendingMediumEnum||(t.ReportSettingSendingMediumEnum={})).Sftp="SFTP",n.AutomatedEmail="AUTOMATED_EMAIL",n.ManualEmail="MANUAL_EMAIL",t.ReportSettingFromJSON=function(e){return s(e)},t.ReportSettingFromJSONTyped=s,t.ReportSettingToJSON=function(e){if(void 0!==e)return null===e?null:{active:e.active,id:e.id,name:e.name,reportNamePart1:e.reportNamePart1,reportNamePart2:e.reportNamePart2,startDate:e.startDate,endDate:e.endDate,initialReportDate:e.initialReportDate,isOrgLevel:e.isOrgLevel,organizationIds:e.organizationIds,buildingIds:e.buildingIds,recipients:e.recipients,sheetIds:e.sheetIds,type:e.type,sendingMedium:e.sendingMedium,htmlEmailMessage:e.htmlEmailMessage,orgLevel:e.orgLevel}}},170:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.RescheduleConfirmedDtoToJSON=t.RescheduleConfirmedDtoFromJSONTyped=t.RescheduleConfirmedDtoFromJSON=t.RescheduleConfirmedDtoTourTypeEnum=void 0;var n,r=i(296);function o(e,t){return null==e?e:{contextId:(0,r.exists)(e,"contextId")?e.contextId:void 0,buildingId:(0,r.exists)(e,"buildingId")?e.buildingId:void 0,unitId:(0,r.exists)(e,"unitId")?e.unitId:void 0,tourType:(0,r.exists)(e,"tourType")?e.tourType:void 0,calendarEventId:(0,r.exists)(e,"calendarEventId")?e.calendarEventId:void 0,leasingAgentId:(0,r.exists)(e,"leasingAgentId")?e.leasingAgentId:void 0,newStartTime:(0,r.exists)(e,"newStartTime")?e.newStartTime:void 0,newEndTime:(0,r.exists)(e,"newEndTime")?e.newEndTime:void 0}}(n=t.RescheduleConfirmedDtoTourTypeEnum||(t.RescheduleConfirmedDtoTourTypeEnum={})).Unknown="UNKNOWN",n.SelfGuided="SELF_GUIDED",n.VirtualShowing="VIRTUAL_SHOWING",n.WithAgent="WITH_AGENT",n.MediaTour="MEDIA_TOUR",t.RescheduleConfirmedDtoFromJSON=function(e){return o(e)},t.RescheduleConfirmedDtoFromJSONTyped=o,t.RescheduleConfirmedDtoToJSON=function(e){if(void 0!==e)return null===e?null:{contextId:e.contextId,buildingId:e.buildingId,unitId:e.unitId,tourType:e.tourType,calendarEventId:e.calendarEventId,leasingAgentId:e.leasingAgentId,newStartTime:e.newStartTime,newEndTime:e.newEndTime}}},2298:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.RescheduleProposedDtoToJSON=t.RescheduleProposedDtoFromJSONTyped=t.RescheduleProposedDtoFromJSON=void 0;var n=i(296);function r(e,t){return null==e?e:{contextId:(0,n.exists)(e,"contextId")?e.contextId:void 0,buildingId:(0,n.exists)(e,"buildingId")?e.buildingId:void 0,calendarEventId:(0,n.exists)(e,"calendarEventId")?e.calendarEventId:void 0,suggestedStartTime:(0,n.exists)(e,"suggestedStartTime")?e.suggestedStartTime:void 0}}t.RescheduleProposedDtoFromJSON=function(e){return r(e)},t.RescheduleProposedDtoFromJSONTyped=r,t.RescheduleProposedDtoToJSON=function(e){if(void 0!==e)return null===e?null:{contextId:e.contextId,buildingId:e.buildingId,calendarEventId:e.calendarEventId,suggestedStartTime:e.suggestedStartTime}}},445:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ResolveEscalationDtoToJSON=t.ResolveEscalationDtoFromJSONTyped=t.ResolveEscalationDtoFromJSON=void 0;var n=i(296);function r(e,t){return null==e?e:{contextId:(0,n.exists)(e,"contextId")?e.contextId:void 0,resolutionStatus:(0,n.exists)(e,"resolutionStatus")?e.resolutionStatus:void 0,resolverEmail:(0,n.exists)(e,"resolverEmail")?e.resolverEmail:void 0,resolvedWithMessage:(0,n.exists)(e,"resolvedWithMessage")?e.resolvedWithMessage:void 0}}t.ResolveEscalationDtoFromJSON=function(e){return r(e)},t.ResolveEscalationDtoFromJSONTyped=r,t.ResolveEscalationDtoToJSON=function(e){if(void 0!==e)return null===e?null:{contextId:e.contextId,resolutionStatus:e.resolutionStatus,resolverEmail:e.resolverEmail,resolvedWithMessage:e.resolvedWithMessage}}},1222:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ResolveScriptRequestToJSON=t.ResolveScriptRequestFromJSONTyped=t.ResolveScriptRequestFromJSON=void 0;var n=i(296);function r(e,t){return null==e?e:{intent:(0,n.exists)(e,"intent")?e.intent:void 0,subintent:(0,n.exists)(e,"subintent")?e.subintent:void 0}}t.ResolveScriptRequestFromJSON=function(e){return r(e)},t.ResolveScriptRequestFromJSONTyped=r,t.ResolveScriptRequestToJSON=function(e){if(void 0!==e)return null===e?null:{intent:e.intent,subintent:e.subintent}}},7444:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ResolveScriptsRequestToJSON=t.ResolveScriptsRequestFromJSONTyped=t.ResolveScriptsRequestFromJSON=void 0;var n=i(296),r=i(1222);function o(e,t){return null==e?e:{buildingId:(0,n.exists)(e,"buildingId")?e.buildingId:void 0,organizationId:(0,n.exists)(e,"organizationId")?e.organizationId:void 0,scripts:(0,n.exists)(e,"scripts")?e.scripts.map(r.ResolveScriptRequestFromJSON):void 0}}t.ResolveScriptsRequestFromJSON=function(e){return o(e)},t.ResolveScriptsRequestFromJSONTyped=o,t.ResolveScriptsRequestToJSON=function(e){if(void 0!==e)return null===e?null:{buildingId:e.buildingId,organizationId:e.organizationId,scripts:void 0===e.scripts?void 0:e.scripts.map(r.ResolveScriptRequestToJSON)}}},3815:(e,t)=>{function i(e,t){return null==e?e:{mcId:e.mcId,response:e.response}}Object.defineProperty(t,"__esModule",{value:!0}),t.RespondToMCConversationDTOToJSON=t.RespondToMCConversationDTOFromJSONTyped=t.RespondToMCConversationDTOFromJSON=void 0,t.RespondToMCConversationDTOFromJSON=function(e){return i(e)},t.RespondToMCConversationDTOFromJSONTyped=i,t.RespondToMCConversationDTOToJSON=function(e){if(void 0!==e)return null===e?null:{mcId:e.mcId,response:e.response}}},8385:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ResponseAtomicTemplateToJSON=t.ResponseAtomicTemplateFromJSONTyped=t.ResponseAtomicTemplateFromJSON=t.ResponseAtomicTemplateHandoffIntentStateEnum=void 0;var n,r=i(296),o=i(1234);function a(e){return s(e)}function s(e,t){return null==e?e:{id:(0,r.exists)(e,"id")?e.id:void 0,scriptType:(0,r.exists)(e,"scriptType")?e.scriptType:void 0,organizationId:(0,r.exists)(e,"organizationId")?e.organizationId:void 0,category:(0,r.exists)(e,"category")?e.category:void 0,subIntent:(0,r.exists)(e,"subIntent")?e.subIntent:void 0,categoryReadableName:(0,r.exists)(e,"categoryReadableName")?e.categoryReadableName:void 0,responseText:(0,r.exists)(e,"responseText")?e.responseText:void 0,entity:(0,r.exists)(e,"entity")?e.entity:void 0,parent:(0,r.exists)(e,"parent")?e.parent:void 0,children:(0,r.exists)(e,"children")?e.children.map(a):void 0,attachments:(0,r.exists)(e,"attachments")?e.attachments.map(o.AttachmentFromJSON):void 0,aiTrainerInstructions:(0,r.exists)(e,"aiTrainerInstructions")?e.aiTrainerInstructions:void 0,handoffIntentState:(0,r.exists)(e,"handoffIntentState")?e.handoffIntentState:void 0,superCategory:(0,r.exists)(e,"superCategory")?e.superCategory:void 0,attachmentsFromDatabase:(0,r.exists)(e,"attachmentsFromDatabase")?e.attachmentsFromDatabase:void 0}}(n=t.ResponseAtomicTemplateHandoffIntentStateEnum||(t.ResponseAtomicTemplateHandoffIntentStateEnum={})).None="NONE",n.YellowStatus="YELLOW_STATUS",n.RedAlertSend="RED_ALERT_SEND",n.RedAlertDoNotSend="RED_ALERT_DO_NOT_SEND",t.ResponseAtomicTemplateFromJSON=a,t.ResponseAtomicTemplateFromJSONTyped=s,t.ResponseAtomicTemplateToJSON=function e(t){if(void 0!==t)return null===t?null:{id:t.id,scriptType:t.scriptType,organizationId:t.organizationId,category:t.category,subIntent:t.subIntent,categoryReadableName:t.categoryReadableName,responseText:t.responseText,entity:t.entity,parent:t.parent,children:void 0===t.children?void 0:t.children.map(e),attachments:void 0===t.attachments?void 0:t.attachments.map(o.AttachmentToJSON),aiTrainerInstructions:t.aiTrainerInstructions,handoffIntentState:t.handoffIntentState,superCategory:t.superCategory,attachmentsFromDatabase:t.attachmentsFromDatabase}}},6956:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ScheduleDtoToJSON=t.ScheduleDtoFromJSONTyped=t.ScheduleDtoFromJSON=t.ScheduleDtoTourTypeEnum=void 0;var n,r=i(296),o=i(5007);function a(e,t){return null==e?e:{guestCard:(0,r.exists)(e,"guestCard")?(0,o.EliseGuestCardDtoFromJSON)(e.guestCard):void 0,buildingId:(0,r.exists)(e,"buildingId")?e.buildingId:void 0,tourType:(0,r.exists)(e,"tourType")?e.tourType:void 0,unitId:(0,r.exists)(e,"unitId")?e.unitId:void 0,startTime:(0,r.exists)(e,"startTime")?e.startTime:void 0,endTime:(0,r.exists)(e,"endTime")?e.endTime:void 0,leasingAgentId:(0,r.exists)(e,"leasingAgentId")?e.leasingAgentId:void 0}}(n=t.ScheduleDtoTourTypeEnum||(t.ScheduleDtoTourTypeEnum={})).Unknown="UNKNOWN",n.SelfGuided="SELF_GUIDED",n.VirtualShowing="VIRTUAL_SHOWING",n.WithAgent="WITH_AGENT",n.MediaTour="MEDIA_TOUR",t.ScheduleDtoFromJSON=function(e){return a(e)},t.ScheduleDtoFromJSONTyped=a,t.ScheduleDtoToJSON=function(e){if(void 0!==e)return null===e?null:{guestCard:(0,o.EliseGuestCardDtoToJSON)(e.guestCard),buildingId:e.buildingId,tourType:e.tourType,unitId:e.unitId,startTime:e.startTime,endTime:e.endTime,leasingAgentId:e.leasingAgentId}}},2644:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ScriptToJSON=t.ScriptFromJSONTyped=t.ScriptFromJSON=t.ScriptHandoffIntentStateEnum=t.ScriptTypeEnum=t.ScriptMediaEnum=void 0;var n,r,o,a=i(296);function s(e,t){return null==e?e:{id:(0,a.exists)(e,"id")?e.id:void 0,organizationId:(0,a.exists)(e,"organizationId")?e.organizationId:void 0,media:(0,a.exists)(e,"media")?e.media:void 0,type:(0,a.exists)(e,"type")?e.type:void 0,category:(0,a.exists)(e,"category")?e.category:void 0,subIntent:(0,a.exists)(e,"subIntent")?e.subIntent:void 0,text:(0,a.exists)(e,"text")?e.text:void 0,handoffIntentState:(0,a.exists)(e,"handoffIntentState")?e.handoffIntentState:void 0,communityId:(0,a.exists)(e,"communityId")?e.communityId:void 0}}(o=t.ScriptMediaEnum||(t.ScriptMediaEnum={})).Both="BOTH",o.Email="EMAIL",o.Sms="SMS",(r=t.ScriptTypeEnum||(t.ScriptTypeEnum={})).All="ALL",r.Template="TEMPLATE",r.TemplateItem="TEMPLATE_ITEM",(n=t.ScriptHandoffIntentStateEnum||(t.ScriptHandoffIntentStateEnum={})).None="NONE",n.YellowStatus="YELLOW_STATUS",n.RedAlertSend="RED_ALERT_SEND",n.RedAlertDoNotSend="RED_ALERT_DO_NOT_SEND",t.ScriptFromJSON=function(e){return s(e)},t.ScriptFromJSONTyped=s,t.ScriptToJSON=function(e){if(void 0!==e)return null===e?null:{id:e.id,organizationId:e.organizationId,media:e.media,type:e.type,category:e.category,subIntent:e.subIntent,text:e.text,handoffIntentState:e.handoffIntentState,communityId:e.communityId}}},4192:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ScriptSearchQueryToJSON=t.ScriptSearchQueryFromJSONTyped=t.ScriptSearchQueryFromJSON=t.ScriptSearchQueryMediaEnum=t.ScriptSearchQueryTypeEnum=void 0;var n,r,o=i(296);function a(e,t){return null==e?e:{organizationId:(0,o.exists)(e,"organizationId")?e.organizationId:void 0,communityId:(0,o.exists)(e,"communityId")?e.communityId:void 0,type:e.type,media:e.media,category:(0,o.exists)(e,"category")?e.category:void 0,subIntent:(0,o.exists)(e,"subIntent")?e.subIntent:void 0,searchText:(0,o.exists)(e,"searchText")?e.searchText:void 0}}(r=t.ScriptSearchQueryTypeEnum||(t.ScriptSearchQueryTypeEnum={})).All="ALL",r.Template="TEMPLATE",r.TemplateItem="TEMPLATE_ITEM",(n=t.ScriptSearchQueryMediaEnum||(t.ScriptSearchQueryMediaEnum={})).Both="BOTH",n.Email="EMAIL",n.Sms="SMS",t.ScriptSearchQueryFromJSON=function(e){return a(e)},t.ScriptSearchQueryFromJSONTyped=a,t.ScriptSearchQueryToJSON=function(e){if(void 0!==e)return null===e?null:{organizationId:e.organizationId,communityId:e.communityId,type:e.type,media:e.media,category:e.category,subIntent:e.subIntent,searchText:e.searchText}}},6832:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ScriptSearchResultToJSON=t.ScriptSearchResultFromJSONTyped=t.ScriptSearchResultFromJSON=void 0;var n=i(296),r=i(2644);function o(e,t){return null==e?e:{scripts:(0,n.exists)(e,"scripts")?e.scripts.map(r.ScriptFromJSON):void 0,truncated:(0,n.exists)(e,"truncated")?e.truncated:void 0}}t.ScriptSearchResultFromJSON=function(e){return o(e)},t.ScriptSearchResultFromJSONTyped=o,t.ScriptSearchResultToJSON=function(e){if(void 0!==e)return null===e?null:{scripts:void 0===e.scripts?void 0:e.scripts.map(r.ScriptToJSON),truncated:e.truncated}}},6865:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.SendAgentMessageDtoToJSON=t.SendAgentMessageDtoFromJSONTyped=t.SendAgentMessageDtoFromJSON=void 0;var n=i(296);function r(e,t){return null==e?e:{message:(0,n.exists)(e,"message")?e.message:void 0,contextId:(0,n.exists)(e,"contextId")?e.contextId:void 0}}t.SendAgentMessageDtoFromJSON=function(e){return r(e)},t.SendAgentMessageDtoFromJSONTyped=r,t.SendAgentMessageDtoToJSON=function(e){if(void 0!==e)return null===e?null:{message:e.message,contextId:e.contextId}}},6448:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.SettingBooleanToJSON=t.SettingBooleanFromJSONTyped=t.SettingBooleanFromJSON=void 0;var n=i(296);function r(e,t){return null==e?e:{value:(0,n.exists)(e,"value")?e.value:void 0,enabled:(0,n.exists)(e,"enabled")?e.enabled:void 0,locked:(0,n.exists)(e,"locked")?e.locked:void 0}}t.SettingBooleanFromJSON=function(e){return r(e)},t.SettingBooleanFromJSONTyped=r,t.SettingBooleanToJSON=function(e){if(void 0!==e)return null===e?null:{value:e.value,enabled:e.enabled,locked:e.locked}}},6161:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.SettingIntegerToJSON=t.SettingIntegerFromJSONTyped=t.SettingIntegerFromJSON=void 0;var n=i(296);function r(e,t){return null==e?e:{value:(0,n.exists)(e,"value")?e.value:void 0,enabled:(0,n.exists)(e,"enabled")?e.enabled:void 0,locked:(0,n.exists)(e,"locked")?e.locked:void 0}}t.SettingIntegerFromJSON=function(e){return r(e)},t.SettingIntegerFromJSONTyped=r,t.SettingIntegerToJSON=function(e){if(void 0!==e)return null===e?null:{value:e.value,enabled:e.enabled,locked:e.locked}}},6069:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.SettingStringToJSON=t.SettingStringFromJSONTyped=t.SettingStringFromJSON=void 0;var n=i(296);function r(e,t){return null==e?e:{value:(0,n.exists)(e,"value")?e.value:void 0,enabled:(0,n.exists)(e,"enabled")?e.enabled:void 0,locked:(0,n.exists)(e,"locked")?e.locked:void 0}}t.SettingStringFromJSON=function(e){return r(e)},t.SettingStringFromJSONTyped=r,t.SettingStringToJSON=function(e){if(void 0!==e)return null===e?null:{value:e.value,enabled:e.enabled,locked:e.locked}}},6122:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.SettingVirtualTourTypeToJSON=t.SettingVirtualTourTypeFromJSONTyped=t.SettingVirtualTourTypeFromJSON=t.SettingVirtualTourTypeValueEnum=void 0;var n,r=i(296);function o(e,t){return null==e?e:{value:(0,r.exists)(e,"value")?e.value:void 0,enabled:(0,r.exists)(e,"enabled")?e.enabled:void 0,locked:(0,r.exists)(e,"locked")?e.locked:void 0}}(n=t.SettingVirtualTourTypeValueEnum||(t.SettingVirtualTourTypeValueEnum={})).NotEnabled="NOT_ENABLED",n.SelfManaged="SELF_MANAGED",n.Whereby="WHEREBY",t.SettingVirtualTourTypeFromJSON=function(e){return o(e)},t.SettingVirtualTourTypeFromJSONTyped=o,t.SettingVirtualTourTypeToJSON=function(e){if(void 0!==e)return null===e?null:{value:e.value,enabled:e.enabled,locked:e.locked}}},5687:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ShowActionDtoToJSON=t.ShowActionDtoFromJSONTyped=t.ShowActionDtoFromJSON=void 0;var n=i(296);function r(e,t){return null==e?e:{contextId:(0,n.exists)(e,"contextId")?e.contextId:void 0,buildingId:(0,n.exists)(e,"buildingId")?e.buildingId:void 0}}t.ShowActionDtoFromJSON=function(e){return r(e)},t.ShowActionDtoFromJSONTyped=r,t.ShowActionDtoToJSON=function(e){if(void 0!==e)return null===e?null:{contextId:e.contextId,buildingId:e.buildingId}}},2558:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.SubIntentMetadataToJSON=t.SubIntentMetadataFromJSONTyped=t.SubIntentMetadataFromJSON=void 0;var n=i(296);function r(e,t){return null==e?e:{template:(0,n.exists)(e,"template")?e.template:void 0,filled:(0,n.exists)(e,"filled")?e.filled:void 0}}t.SubIntentMetadataFromJSON=function(e){return r(e)},t.SubIntentMetadataFromJSONTyped=r,t.SubIntentMetadataToJSON=function(e){if(void 0!==e)return null===e?null:{template:e.template,filled:e.filled}}},904:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.TourAvailabilityResponseToJSON=t.TourAvailabilityResponseFromJSONTyped=t.TourAvailabilityResponseFromJSON=t.TourAvailabilityResponseRankOrderedSupportedTourTypesEnum=void 0;var n,r=i(296),o=i(7346),a=i(9374);function s(e,t){return null==e?e:{availability:(0,r.exists)(e,"availability")?(0,r.mapValues)(e.availability,a.TourTypeAvailabilityFromJSON):void 0,calendarTimeZone:(0,r.exists)(e,"calendarTimeZone")?(0,o.TourAvailabilityResponseCalendarTimeZoneFromJSON)(e.calendarTimeZone):void 0,rankOrderedSupportedTourTypes:(0,r.exists)(e,"rankOrderedSupportedTourTypes")?e.rankOrderedSupportedTourTypes:void 0}}(n=t.TourAvailabilityResponseRankOrderedSupportedTourTypesEnum||(t.TourAvailabilityResponseRankOrderedSupportedTourTypesEnum={})).Unknown="UNKNOWN",n.SelfGuided="SELF_GUIDED",n.VirtualShowing="VIRTUAL_SHOWING",n.WithAgent="WITH_AGENT",n.MediaTour="MEDIA_TOUR",t.TourAvailabilityResponseFromJSON=function(e){return s(e)},t.TourAvailabilityResponseFromJSONTyped=s,t.TourAvailabilityResponseToJSON=function(e){if(void 0!==e)return null===e?null:{availability:void 0===e.availability?void 0:(0,r.mapValues)(e.availability,a.TourTypeAvailabilityToJSON),calendarTimeZone:(0,o.TourAvailabilityResponseCalendarTimeZoneToJSON)(e.calendarTimeZone),rankOrderedSupportedTourTypes:e.rankOrderedSupportedTourTypes}}},7346:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.TourAvailabilityResponseCalendarTimeZoneToJSON=t.TourAvailabilityResponseCalendarTimeZoneFromJSONTyped=t.TourAvailabilityResponseCalendarTimeZoneFromJSON=void 0;var n=i(296),r=i(6306);function o(e,t){return null==e?e:{rules:(0,n.exists)(e,"rules")?(0,r.TourAvailabilityResponseCalendarTimeZoneRulesFromJSON)(e.rules):void 0,id:(0,n.exists)(e,"id")?e.id:void 0}}t.TourAvailabilityResponseCalendarTimeZoneFromJSON=function(e){return o(e)},t.TourAvailabilityResponseCalendarTimeZoneFromJSONTyped=o,t.TourAvailabilityResponseCalendarTimeZoneToJSON=function(e){if(void 0!==e)return null===e?null:{rules:(0,r.TourAvailabilityResponseCalendarTimeZoneRulesToJSON)(e.rules),id:e.id}}},6306:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.TourAvailabilityResponseCalendarTimeZoneRulesToJSON=t.TourAvailabilityResponseCalendarTimeZoneRulesFromJSONTyped=t.TourAvailabilityResponseCalendarTimeZoneRulesFromJSON=void 0;var n=i(296),r=i(1155),o=i(8911);function a(e,t){return null==e?e:{fixedOffset:(0,n.exists)(e,"fixedOffset")?e.fixedOffset:void 0,transitionRules:(0,n.exists)(e,"transitionRules")?e.transitionRules.map(r.TourAvailabilityResponseCalendarTimeZoneRulesTransitionRulesFromJSON):void 0,transitions:(0,n.exists)(e,"transitions")?e.transitions.map(o.TourAvailabilityResponseCalendarTimeZoneRulesTransitionsFromJSON):void 0}}t.TourAvailabilityResponseCalendarTimeZoneRulesFromJSON=function(e){return a(e)},t.TourAvailabilityResponseCalendarTimeZoneRulesFromJSONTyped=a,t.TourAvailabilityResponseCalendarTimeZoneRulesToJSON=function(e){if(void 0!==e)return null===e?null:{fixedOffset:e.fixedOffset,transitionRules:void 0===e.transitionRules?void 0:e.transitionRules.map(r.TourAvailabilityResponseCalendarTimeZoneRulesTransitionRulesToJSON),transitions:void 0===e.transitions?void 0:e.transitions.map(o.TourAvailabilityResponseCalendarTimeZoneRulesTransitionsToJSON)}}},2977:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.TourAvailabilityResponseCalendarTimeZoneRulesDurationToJSON=t.TourAvailabilityResponseCalendarTimeZoneRulesDurationFromJSONTyped=t.TourAvailabilityResponseCalendarTimeZoneRulesDurationFromJSON=void 0;var n=i(296),r=i(1124);function o(e,t){return null==e?e:{seconds:(0,n.exists)(e,"seconds")?e.seconds:void 0,nano:(0,n.exists)(e,"nano")?e.nano:void 0,zero:(0,n.exists)(e,"zero")?e.zero:void 0,negative:(0,n.exists)(e,"negative")?e.negative:void 0,units:(0,n.exists)(e,"units")?e.units.map(r.TourAvailabilityResponseCalendarTimeZoneRulesDurationUnitsFromJSON):void 0}}t.TourAvailabilityResponseCalendarTimeZoneRulesDurationFromJSON=function(e){return o(e)},t.TourAvailabilityResponseCalendarTimeZoneRulesDurationFromJSONTyped=o,t.TourAvailabilityResponseCalendarTimeZoneRulesDurationToJSON=function(e){if(void 0!==e)return null===e?null:{seconds:e.seconds,nano:e.nano,zero:e.zero,negative:e.negative,units:void 0===e.units?void 0:e.units.map(r.TourAvailabilityResponseCalendarTimeZoneRulesDurationUnitsToJSON)}}},1124:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.TourAvailabilityResponseCalendarTimeZoneRulesDurationUnitsToJSON=t.TourAvailabilityResponseCalendarTimeZoneRulesDurationUnitsFromJSONTyped=t.TourAvailabilityResponseCalendarTimeZoneRulesDurationUnitsFromJSON=void 0;var n=i(296);function r(e,t){return null==e?e:{dateBased:(0,n.exists)(e,"dateBased")?e.dateBased:void 0,timeBased:(0,n.exists)(e,"timeBased")?e.timeBased:void 0,durationEstimated:(0,n.exists)(e,"durationEstimated")?e.durationEstimated:void 0}}t.TourAvailabilityResponseCalendarTimeZoneRulesDurationUnitsFromJSON=function(e){return r(e)},t.TourAvailabilityResponseCalendarTimeZoneRulesDurationUnitsFromJSONTyped=r,t.TourAvailabilityResponseCalendarTimeZoneRulesDurationUnitsToJSON=function(e){if(void 0!==e)return null===e?null:{dateBased:e.dateBased,timeBased:e.timeBased,durationEstimated:e.durationEstimated}}},3225:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.TourAvailabilityResponseCalendarTimeZoneRulesStandardOffsetToJSON=t.TourAvailabilityResponseCalendarTimeZoneRulesStandardOffsetFromJSONTyped=t.TourAvailabilityResponseCalendarTimeZoneRulesStandardOffsetFromJSON=void 0;var n=i(296);function r(e,t){return null==e?e:{totalSeconds:(0,n.exists)(e,"totalSeconds")?e.totalSeconds:void 0,id:(0,n.exists)(e,"id")?e.id:void 0}}t.TourAvailabilityResponseCalendarTimeZoneRulesStandardOffsetFromJSON=function(e){return r(e)},t.TourAvailabilityResponseCalendarTimeZoneRulesStandardOffsetFromJSONTyped=r,t.TourAvailabilityResponseCalendarTimeZoneRulesStandardOffsetToJSON=function(e){if(void 0!==e)return null===e?null:{totalSeconds:e.totalSeconds,id:e.id}}},1155:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.TourAvailabilityResponseCalendarTimeZoneRulesTransitionRulesToJSON=t.TourAvailabilityResponseCalendarTimeZoneRulesTransitionRulesFromJSONTyped=t.TourAvailabilityResponseCalendarTimeZoneRulesTransitionRulesFromJSON=t.TourAvailabilityResponseCalendarTimeZoneRulesTransitionRulesDayOfWeekEnum=t.TourAvailabilityResponseCalendarTimeZoneRulesTransitionRulesTimeDefinitionEnum=t.TourAvailabilityResponseCalendarTimeZoneRulesTransitionRulesMonthEnum=void 0;var n,r,o,a=i(296),s=i(7399),l=i(3225);function u(e,t){return null==e?e:{month:(0,a.exists)(e,"month")?e.month:void 0,timeDefinition:(0,a.exists)(e,"timeDefinition")?e.timeDefinition:void 0,standardOffset:(0,a.exists)(e,"standardOffset")?(0,l.TourAvailabilityResponseCalendarTimeZoneRulesStandardOffsetFromJSON)(e.standardOffset):void 0,offsetBefore:(0,a.exists)(e,"offsetBefore")?(0,l.TourAvailabilityResponseCalendarTimeZoneRulesStandardOffsetFromJSON)(e.offsetBefore):void 0,offsetAfter:(0,a.exists)(e,"offsetAfter")?(0,l.TourAvailabilityResponseCalendarTimeZoneRulesStandardOffsetFromJSON)(e.offsetAfter):void 0,dayOfWeek:(0,a.exists)(e,"dayOfWeek")?e.dayOfWeek:void 0,dayOfMonthIndicator:(0,a.exists)(e,"dayOfMonthIndicator")?e.dayOfMonthIndicator:void 0,localTime:(0,a.exists)(e,"localTime")?(0,s.LocalTimeFromJSON)(e.localTime):void 0,midnightEndOfDay:(0,a.exists)(e,"midnightEndOfDay")?e.midnightEndOfDay:void 0}}(o=t.TourAvailabilityResponseCalendarTimeZoneRulesTransitionRulesMonthEnum||(t.TourAvailabilityResponseCalendarTimeZoneRulesTransitionRulesMonthEnum={})).January="JANUARY",o.February="FEBRUARY",o.March="MARCH",o.April="APRIL",o.May="MAY",o.June="JUNE",o.July="JULY",o.August="AUGUST",o.September="SEPTEMBER",o.October="OCTOBER",o.November="NOVEMBER",o.December="DECEMBER",(r=t.TourAvailabilityResponseCalendarTimeZoneRulesTransitionRulesTimeDefinitionEnum||(t.TourAvailabilityResponseCalendarTimeZoneRulesTransitionRulesTimeDefinitionEnum={})).Utc="UTC",r.Wall="WALL",r.Standard="STANDARD",(n=t.TourAvailabilityResponseCalendarTimeZoneRulesTransitionRulesDayOfWeekEnum||(t.TourAvailabilityResponseCalendarTimeZoneRulesTransitionRulesDayOfWeekEnum={})).Monday="MONDAY",n.Tuesday="TUESDAY",n.Wednesday="WEDNESDAY",n.Thursday="THURSDAY",n.Friday="FRIDAY",n.Saturday="SATURDAY",n.Sunday="SUNDAY",t.TourAvailabilityResponseCalendarTimeZoneRulesTransitionRulesFromJSON=function(e){return u(e)},t.TourAvailabilityResponseCalendarTimeZoneRulesTransitionRulesFromJSONTyped=u,t.TourAvailabilityResponseCalendarTimeZoneRulesTransitionRulesToJSON=function(e){if(void 0!==e)return null===e?null:{month:e.month,timeDefinition:e.timeDefinition,standardOffset:(0,l.TourAvailabilityResponseCalendarTimeZoneRulesStandardOffsetToJSON)(e.standardOffset),offsetBefore:(0,l.TourAvailabilityResponseCalendarTimeZoneRulesStandardOffsetToJSON)(e.offsetBefore),offsetAfter:(0,l.TourAvailabilityResponseCalendarTimeZoneRulesStandardOffsetToJSON)(e.offsetAfter),dayOfWeek:e.dayOfWeek,dayOfMonthIndicator:e.dayOfMonthIndicator,localTime:(0,s.LocalTimeToJSON)(e.localTime),midnightEndOfDay:e.midnightEndOfDay}}},8911:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.TourAvailabilityResponseCalendarTimeZoneRulesTransitionsToJSON=t.TourAvailabilityResponseCalendarTimeZoneRulesTransitionsFromJSONTyped=t.TourAvailabilityResponseCalendarTimeZoneRulesTransitionsFromJSON=void 0;var n=i(296),r=i(2977),o=i(3225);function a(e,t){return null==e?e:{offsetBefore:(0,n.exists)(e,"offsetBefore")?(0,o.TourAvailabilityResponseCalendarTimeZoneRulesStandardOffsetFromJSON)(e.offsetBefore):void 0,offsetAfter:(0,n.exists)(e,"offsetAfter")?(0,o.TourAvailabilityResponseCalendarTimeZoneRulesStandardOffsetFromJSON)(e.offsetAfter):void 0,duration:(0,n.exists)(e,"duration")?(0,r.TourAvailabilityResponseCalendarTimeZoneRulesDurationFromJSON)(e.duration):void 0,gap:(0,n.exists)(e,"gap")?e.gap:void 0,overlap:(0,n.exists)(e,"overlap")?e.overlap:void 0,dateTimeAfter:(0,n.exists)(e,"dateTimeAfter")?new Date(e.dateTimeAfter):void 0,instant:(0,n.exists)(e,"instant")?new Date(e.instant):void 0,dateTimeBefore:(0,n.exists)(e,"dateTimeBefore")?new Date(e.dateTimeBefore):void 0}}t.TourAvailabilityResponseCalendarTimeZoneRulesTransitionsFromJSON=function(e){return a(e)},t.TourAvailabilityResponseCalendarTimeZoneRulesTransitionsFromJSONTyped=a,t.TourAvailabilityResponseCalendarTimeZoneRulesTransitionsToJSON=function(e){if(void 0!==e)return null===e?null:{offsetBefore:(0,o.TourAvailabilityResponseCalendarTimeZoneRulesStandardOffsetToJSON)(e.offsetBefore),offsetAfter:(0,o.TourAvailabilityResponseCalendarTimeZoneRulesStandardOffsetToJSON)(e.offsetAfter),duration:(0,r.TourAvailabilityResponseCalendarTimeZoneRulesDurationToJSON)(e.duration),gap:e.gap,overlap:e.overlap,dateTimeAfter:void 0===e.dateTimeAfter?void 0:e.dateTimeAfter.toISOString(),instant:void 0===e.instant?void 0:e.instant.toISOString(),dateTimeBefore:void 0===e.dateTimeBefore?void 0:e.dateTimeBefore.toISOString()}}},9374:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.TourTypeAvailabilityToJSON=t.TourTypeAvailabilityFromJSONTyped=t.TourTypeAvailabilityFromJSON=void 0;var n=i(296);function r(e,t){return null==e?e:{tourDurationInMinutes:(0,n.exists)(e,"tourDurationInMinutes")?e.tourDurationInMinutes:void 0,availableTourStartTimes:(0,n.exists)(e,"availableTourStartTimes")?e.availableTourStartTimes:void 0}}t.TourTypeAvailabilityFromJSON=function(e){return r(e)},t.TourTypeAvailabilityFromJSONTyped=r,t.TourTypeAvailabilityToJSON=function(e){if(void 0!==e)return null===e?null:{tourDurationInMinutes:e.tourDurationInMinutes,availableTourStartTimes:e.availableTourStartTimes}}},6330:(e,t)=>{function i(e,t){return null==e?e:{value:e.value,label:e.label}}var n;Object.defineProperty(t,"__esModule",{value:!0}),t.TourTypeOptionToJSON=t.TourTypeOptionFromJSONTyped=t.TourTypeOptionFromJSON=t.TourTypeOptionValueEnum=void 0,(n=t.TourTypeOptionValueEnum||(t.TourTypeOptionValueEnum={})).Unknown="UNKNOWN",n.SelfGuided="SELF_GUIDED",n.VirtualShowing="VIRTUAL_SHOWING",n.WithAgent="WITH_AGENT",n.MediaTour="MEDIA_TOUR",t.TourTypeOptionFromJSON=function(e){return i(e)},t.TourTypeOptionFromJSONTyped=i,t.TourTypeOptionToJSON=function(e){if(void 0!==e)return null===e?null:{value:e.value,label:e.label}}},9275:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.UiBuildingDetailsToJSON=t.UiBuildingDetailsFromJSONTyped=t.UiBuildingDetailsFromJSON=t.UiBuildingDetailsVirtualTourTypeEnum=t.UiBuildingDetailsTourNotificationEmailsModeEnum=void 0;var n,r,o=i(296),a=i(3617);function s(e,t){return null==e?e:{id:(0,o.exists)(e,"id")?e.id:void 0,launchedDate:(0,o.exists)(e,"launchedDate")?new Date(e.launchedDate):void 0,managementCompanyId:(0,o.exists)(e,"managementCompanyId")?e.managementCompanyId:void 0,organizationId:(0,o.exists)(e,"organizationId")?e.organizationId:void 0,active:(0,o.exists)(e,"active")?e.active:void 0,handoffForwardToEmails:(0,o.exists)(e,"handoffForwardToEmails")?e.handoffForwardToEmails:void 0,responseCcEmails:(0,o.exists)(e,"responseCcEmails")?e.responseCcEmails:void 0,responseBccEmails:(0,o.exists)(e,"responseBccEmails")?e.responseBccEmails:void 0,associateCalendarId:(0,o.exists)(e,"associateCalendarId")?e.associateCalendarId:void 0,buildingName:(0,o.exists)(e,"buildingName")?e.buildingName:void 0,address1:(0,o.exists)(e,"address1")?e.address1:void 0,address2:(0,o.exists)(e,"address2")?e.address2:void 0,address3:(0,o.exists)(e,"address3")?e.address3:void 0,alternativeILSAddresses:(0,o.exists)(e,"alternativeILSAddresses")?e.alternativeILSAddresses:void 0,city:(0,o.exists)(e,"city")?e.city:void 0,state:(0,o.exists)(e,"state")?e.state:void 0,postalCode:(0,o.exists)(e,"postalCode")?e.postalCode:void 0,crossStreets:(0,o.exists)(e,"crossStreets")?e.crossStreets:void 0,neighborhood:(0,o.exists)(e,"neighborhood")?e.neighborhood:void 0,nearbyTransportation:(0,o.exists)(e,"nearbyTransportation")?e.nearbyTransportation:void 0,buildingOwnership:(0,o.exists)(e,"buildingOwnership")?e.buildingOwnership:void 0,buildingType:(0,o.exists)(e,"buildingType")?e.buildingType:void 0,totalUnits:(0,o.exists)(e,"totalUnits")?e.totalUnits:void 0,totalFloors:(0,o.exists)(e,"totalFloors")?e.totalFloors:void 0,yearBuilt:(0,o.exists)(e,"yearBuilt")?e.yearBuilt:void 0,block:(0,o.exists)(e,"block")?e.block:void 0,lot:(0,o.exists)(e,"lot")?e.lot:void 0,schoolDistrict:(0,o.exists)(e,"schoolDistrict")?e.schoolDistrict:void 0,communityDistrict:(0,o.exists)(e,"communityDistrict")?e.communityDistrict:void 0,newConstruction:(0,o.exists)(e,"newConstruction")?e.newConstruction:void 0,preWarBuilding:(0,o.exists)(e,"preWarBuilding")?e.preWarBuilding:void 0,brownstone:(0,o.exists)(e,"brownstone")?e.brownstone:void 0,greenBuilding:(0,o.exists)(e,"greenBuilding")?e.greenBuilding:void 0,elevator:(0,o.exists)(e,"elevator")?e.elevator:void 0,freightElevator:(0,o.exists)(e,"freightElevator")?e.freightElevator:void 0,parking:(0,o.exists)(e,"parking")?e.parking:void 0,petPolicy:(0,o.exists)(e,"petPolicy")?e.petPolicy:void 0,petNumberLimit:(0,o.exists)(e,"petNumberLimit")?e.petNumberLimit:void 0,petWeightLimit:(0,o.exists)(e,"petWeightLimit")?e.petWeightLimit:void 0,petFeeOrDeposit:(0,o.exists)(e,"petFeeOrDeposit")?e.petFeeOrDeposit:void 0,utilitiesIncluded:(0,o.exists)(e,"utilitiesIncluded")?e.utilitiesIncluded:void 0,utilitiesNotIncluded:(0,o.exists)(e,"utilitiesNotIncluded")?e.utilitiesNotIncluded:void 0,leaseTermsAccepted:(0,o.exists)(e,"leaseTermsAccepted")?e.leaseTermsAccepted:void 0,minLeaseTermAccepted:(0,o.exists)(e,"minLeaseTermAccepted")?e.minLeaseTermAccepted:void 0,furnishedOffered:(0,o.exists)(e,"furnishedOffered")?e.furnishedOffered:void 0,furnishedUnitsPolicy:(0,o.exists)(e,"furnishedUnitsPolicy")?e.furnishedUnitsPolicy:void 0,internationalStudentRequirements:(0,o.exists)(e,"internationalStudentRequirements")?e.internationalStudentRequirements:void 0,amenitiesFee:(0,o.exists)(e,"amenitiesFee")?e.amenitiesFee:void 0,nonSmoking:(0,o.exists)(e,"nonSmoking")?e.nonSmoking:void 0,piedATerreAllowed:(0,o.exists)(e,"piedATerreAllowed")?e.piedATerreAllowed:void 0,diplomatsOk:(0,o.exists)(e,"diplomatsOk")?e.diplomatsOk:void 0,corporateLeasesAccepted:(0,o.exists)(e,"corporateLeasesAccepted")?e.corporateLeasesAccepted:void 0,shortTermAllowed:(0,o.exists)(e,"shortTermAllowed")?e.shortTermAllowed:void 0,doorman:(0,o.exists)(e,"doorman")?e.doorman:void 0,intercom:(0,o.exists)(e,"intercom")?e.intercom:void 0,liveInSuper:(0,o.exists)(e,"liveInSuper")?e.liveInSuper:void 0,concierge:(0,o.exists)(e,"concierge")?e.concierge:void 0,laundryInBuilding:(0,o.exists)(e,"laundryInBuilding")?e.laundryInBuilding:void 0,packageReceiving:(0,o.exists)(e,"packageReceiving")?e.packageReceiving:void 0,gym:(0,o.exists)(e,"gym")?e.gym:void 0,storage:(0,o.exists)(e,"storage")?e.storage:void 0,bicycleRoom:(0,o.exists)(e,"bicycleRoom")?e.bicycleRoom:void 0,lounge:(0,o.exists)(e,"lounge")?e.lounge:void 0,clubHouse:(0,o.exists)(e,"clubHouse")?e.clubHouse:void 0,businessCenter:(0,o.exists)(e,"businessCenter")?e.businessCenter:void 0,outdoorSpace:(0,o.exists)(e,"outdoorSpace")?e.outdoorSpace:void 0,roofDeck:(0,o.exists)(e,"roofDeck")?e.roofDeck:void 0,courtyard:(0,o.exists)(e,"courtyard")?e.courtyard:void 0,childrenPlayroom:(0,o.exists)(e,"childrenPlayroom")?e.childrenPlayroom:void 0,nursery:(0,o.exists)(e,"nursery")?e.nursery:void 0,maidService:(0,o.exists)(e,"maidService")?e.maidService:void 0,pool:(0,o.exists)(e,"pool")?e.pool:void 0,wheelchairAccess:(0,o.exists)(e,"wheelchairAccess")?e.wheelchairAccess:void 0,guarantorTypesAccepted:(0,o.exists)(e,"guarantorTypesAccepted")?e.guarantorTypesAccepted:void 0,thirdPartyGuarantorTypesAccepted:(0,o.exists)(e,"thirdPartyGuarantorTypesAccepted")?e.thirdPartyGuarantorTypesAccepted:void 0,noCreditQualificationAlternative:(0,o.exists)(e,"noCreditQualificationAlternative")?e.noCreditQualificationAlternative:void 0,virtualTourPlatforms:(0,o.exists)(e,"virtualTourPlatforms")?e.virtualTourPlatforms:void 0,flexWallPolicy:(0,o.exists)(e,"flexWallPolicy")?e.flexWallPolicy:void 0,leaseholderApplicationFee:(0,o.exists)(e,"leaseholderApplicationFee")?e.leaseholderApplicationFee:void 0,occupantApplicationFee:(0,o.exists)(e,"occupantApplicationFee")?e.occupantApplicationFee:void 0,guarantorApplicationFee:(0,o.exists)(e,"guarantorApplicationFee")?e.guarantorApplicationFee:void 0,tenantIncomeRequirementRentMultiplier:(0,o.exists)(e,"tenantIncomeRequirementRentMultiplier")?e.tenantIncomeRequirementRentMultiplier:void 0,guarantorIncomeRequirementRentMultiplier:(0,o.exists)(e,"guarantorIncomeRequirementRentMultiplier")?e.guarantorIncomeRequirementRentMultiplier:void 0,incomeRequirementRentMultiplierTimePeriod:(0,o.exists)(e,"incomeRequirementRentMultiplierTimePeriod")?e.incomeRequirementRentMultiplierTimePeriod:void 0,leaseholderMinimumCreditScoreRequirement:(0,o.exists)(e,"leaseholderMinimumCreditScoreRequirement")?e.leaseholderMinimumCreditScoreRequirement:void 0,guarantorMinimumCreditScoreRequirement:(0,o.exists)(e,"guarantorMinimumCreditScoreRequirement")?e.guarantorMinimumCreditScoreRequirement:void 0,leaseholderApplicationDocumentsRequired:(0,o.exists)(e,"leaseholderApplicationDocumentsRequired")?e.leaseholderApplicationDocumentsRequired:void 0,selfEmployedApplicationDocumentsRequired:(0,o.exists)(e,"selfEmployedApplicationDocumentsRequired")?e.selfEmployedApplicationDocumentsRequired:void 0,guarantorApplicationDocumentsRequired:(0,o.exists)(e,"guarantorApplicationDocumentsRequired")?e.guarantorApplicationDocumentsRequired:void 0,guarantorsAccepted:(0,o.exists)(e,"guarantorsAccepted")?e.guarantorsAccepted:void 0,financialsInsufficientAlternative:(0,o.exists)(e,"financialsInsufficientAlternative")?e.financialsInsufficientAlternative:void 0,prepaymentPolicy:(0,o.exists)(e,"prepaymentPolicy")?e.prepaymentPolicy:void 0,rentRequiredOnLeaseSigning:(0,o.exists)(e,"rentRequiredOnLeaseSigning")?e.rentRequiredOnLeaseSigning:void 0,securityDepositRentMultiplier:(0,o.exists)(e,"securityDepositRentMultiplier")?e.securityDepositRentMultiplier:void 0,paymentFormsAccepted:(0,o.exists)(e,"paymentFormsAccepted")?e.paymentFormsAccepted:void 0,clientEmail:(0,o.exists)(e,"clientEmail")?e.clientEmail:void 0,description:(0,o.exists)(e,"description")?e.description:void 0,notes:(0,o.exists)(e,"notes")?e.notes:void 0,occupiedUnitsShowingHours:(0,o.exists)(e,"occupiedUnitsShowingHours")?e.occupiedUnitsShowingHours:void 0,leasingOfficeHours:(0,o.exists)(e,"leasingOfficeHours")?e.leasingOfficeHours:void 0,appointmentHours:(0,o.exists)(e,"appointmentHours")?e.appointmentHours.map(a.AppointmentHoursFromJSON):void 0,tourDuration:(0,o.exists)(e,"tourDuration")?e.tourDuration:void 0,internalNotes:(0,o.exists)(e,"internalNotes")?e.internalNotes:void 0,leasingPhoneNumber:(0,o.exists)(e,"leasingPhoneNumber")?e.leasingPhoneNumber:void 0,callCenterNumber:(0,o.exists)(e,"callCenterNumber")?e.callCenterNumber:void 0,buildingWebsiteUrl:(0,o.exists)(e,"buildingWebsiteUrl")?e.buildingWebsiteUrl:void 0,applicationLink:(0,o.exists)(e,"applicationLink")?e.applicationLink:void 0,geoAddress:(0,o.exists)(e,"geoAddress")?e.geoAddress:void 0,googleMapsUrl:(0,o.exists)(e,"googleMapsUrl")?e.googleMapsUrl:void 0,appointmentMeetingLocation:(0,o.exists)(e,"appointmentMeetingLocation")?e.appointmentMeetingLocation:void 0,appointmentMeetingPointSpecific:(0,o.exists)(e,"appointmentMeetingPointSpecific")?e.appointmentMeetingPointSpecific:void 0,appointmentDirections:(0,o.exists)(e,"appointmentDirections")?e.appointmentDirections:void 0,appointmentAdditionalDirections:(0,o.exists)(e,"appointmentAdditionalDirections")?e.appointmentAdditionalDirections:void 0,alerts:(0,o.exists)(e,"alerts")?e.alerts:void 0,rentComputeType:(0,o.exists)(e,"rentComputeType")?e.rentComputeType:void 0,autosendActive:(0,o.exists)(e,"autosendActive")?e.autosendActive:void 0,advancedMoveInAllowenceInDays:(0,o.exists)(e,"advancedMoveInAllowenceInDays")?e.advancedMoveInAllowenceInDays:void 0,showByOpenHouseOnly:(0,o.exists)(e,"showByOpenHouseOnly")?e.showByOpenHouseOnly:void 0,showUnitsWithPendingApplication:(0,o.exists)(e,"showUnitsWithPendingApplication")?e.showUnitsWithPendingApplication:void 0,showOccupiedUnitsWithPendingApplication:(0,o.exists)(e,"showOccupiedUnitsWithPendingApplication")?e.showOccupiedUnitsWithPendingApplication:void 0,confirmAppointmentsOccupiedUnits:(0,o.exists)(e,"confirmAppointmentsOccupiedUnits")?e.confirmAppointmentsOccupiedUnits:void 0,confirmAppointmentsRenovatingUnits:(0,o.exists)(e,"confirmAppointmentsRenovatingUnits")?e.confirmAppointmentsRenovatingUnits:void 0,occupiedUnitsAdvancedNoticeInHours:(0,o.exists)(e,"occupiedUnitsAdvancedNoticeInHours")?e.occupiedUnitsAdvancedNoticeInHours:void 0,alternativeBuildingNames:(0,o.exists)(e,"alternativeBuildingNames")?e.alternativeBuildingNames:void 0,externalIds:(0,o.exists)(e,"externalIds")?e.externalIds:void 0,externalCrmId:(0,o.exists)(e,"externalCrmId")?e.externalCrmId:void 0,defaultAvailabilityQuoteMatchMoveInDate:(0,o.exists)(e,"defaultAvailabilityQuoteMatchMoveInDate")?e.defaultAvailabilityQuoteMatchMoveInDate:void 0,leaseRenewalNoticeInDays:(0,o.exists)(e,"leaseRenewalNoticeInDays")?e.leaseRenewalNoticeInDays:void 0,rentQuoteFormat:(0,o.exists)(e,"rentQuoteFormat")?e.rentQuoteFormat:void 0,rentWithIncentivesQuoteFormat:(0,o.exists)(e,"rentWithIncentivesQuoteFormat")?e.rentWithIncentivesQuoteFormat:void 0,isPartOfComplex:(0,o.exists)(e,"isPartOfComplex")?e.isPartOfComplex:void 0,effectiveRentComputeType:(0,o.exists)(e,"effectiveRentComputeType")?e.effectiveRentComputeType:void 0,maxLeaseTermAccepted:(0,o.exists)(e,"maxLeaseTermAccepted")?e.maxLeaseTermAccepted:void 0,parkingInformation:(0,o.exists)(e,"parkingInformation")?e.parkingInformation:void 0,storageFee:(0,o.exists)(e,"storageFee")?e.storageFee:void 0,incentivesProperlyConnected:(0,o.exists)(e,"incentivesProperlyConnected")?e.incentivesProperlyConnected:void 0,prioritizeShowingVacantUnits:(0,o.exists)(e,"prioritizeShowingVacantUnits")?e.prioritizeShowingVacantUnits:void 0,electricCompany:(0,o.exists)(e,"electricCompany")?e.electricCompany:void 0,gasCompany:(0,o.exists)(e,"gasCompany")?e.gasCompany:void 0,telephoneCompany:(0,o.exists)(e,"telephoneCompany")?e.telephoneCompany:void 0,televisionCompany:(0,o.exists)(e,"televisionCompany")?e.televisionCompany:void 0,waterCompany:(0,o.exists)(e,"waterCompany")?e.waterCompany:void 0,internetCompany:(0,o.exists)(e,"internetCompany")?e.internetCompany:void 0,localHospital:(0,o.exists)(e,"localHospital")?e.localHospital:void 0,localSchoolDistrict:(0,o.exists)(e,"localSchoolDistrict")?e.localSchoolDistrict:void 0,localElementarySchool:(0,o.exists)(e,"localElementarySchool")?e.localElementarySchool:void 0,localMiddleSchool:(0,o.exists)(e,"localMiddleSchool")?e.localMiddleSchool:void 0,localHighSchool:(0,o.exists)(e,"localHighSchool")?e.localHighSchool:void 0,localShoppingCenter:(0,o.exists)(e,"localShoppingCenter")?e.localShoppingCenter:void 0,localGroceryStore:(0,o.exists)(e,"localGroceryStore")?e.localGroceryStore:void 0,closestInterstates:(0,o.exists)(e,"closestInterstates")?e.closestInterstates:void 0,buildingPicturesUrl:(0,o.exists)(e,"buildingPicturesUrl")?e.buildingPicturesUrl:void 0,buildingFloorPlansUrl:(0,o.exists)(e,"buildingFloorPlansUrl")?e.buildingFloorPlansUrl:void 0,nonexistentLayouts:(0,o.exists)(e,"nonexistentLayouts")?e.nonexistentLayouts:void 0,offeredLayouts:(0,o.exists)(e,"offeredLayouts")?e.offeredLayouts:void 0,avoidQuotingPrices:(0,o.exists)(e,"avoidQuotingPrices")?e.avoidQuotingPrices:void 0,excludeNotRentReadyUnit:(0,o.exists)(e,"excludeNotRentReadyUnit")?e.excludeNotRentReadyUnit:void 0,flexWallsAllowed:(0,o.exists)(e,"flexWallsAllowed")?e.flexWallsAllowed:void 0,petsAccepted:(0,o.exists)(e,"petsAccepted")?e.petsAccepted:void 0,showOccupiedUnits:(0,o.exists)(e,"showOccupiedUnits")?e.showOccupiedUnits:void 0,guarantorsAcceptedSwitch:(0,o.exists)(e,"guarantorsAcceptedSwitch")?e.guarantorsAcceptedSwitch:void 0,thirdPartyGuarantorsAccepted:(0,o.exists)(e,"thirdPartyGuarantorsAccepted")?e.thirdPartyGuarantorsAccepted:void 0,alwaysScheduleAppointments:(0,o.exists)(e,"alwaysScheduleAppointments")?e.alwaysScheduleAppointments:void 0,leasingOfficeOnsite:(0,o.exists)(e,"leasingOfficeOnsite")?e.leasingOfficeOnsite:void 0,building3dMediaUrl:(0,o.exists)(e,"building3dMediaUrl")?e.building3dMediaUrl:void 0,dailyReportEmails:(0,o.exists)(e,"dailyReportEmails")?e.dailyReportEmails:void 0,weeklyReportEmails:(0,o.exists)(e,"weeklyReportEmails")?e.weeklyReportEmails:void 0,nearbySubways:(0,o.exists)(e,"nearbySubways")?e.nearbySubways:void 0,bedroomTypes:(0,o.exists)(e,"bedroomTypes")?e.bedroomTypes:void 0,inPersonToursAllowed:(0,o.exists)(e,"inPersonToursAllowed")?e.inPersonToursAllowed:void 0,selfGuidedToursEnabled:(0,o.exists)(e,"selfGuidedToursEnabled")?e.selfGuidedToursEnabled:void 0,liveVirtualToursAllowed:(0,o.exists)(e,"liveVirtualToursAllowed")?e.liveVirtualToursAllowed:void 0,noUnitSelfGuidedTourAllowed:(0,o.exists)(e,"noUnitSelfGuidedTourAllowed")?e.noUnitSelfGuidedTourAllowed:void 0,sgSchedulingBasedOnNormalAppointments:(0,o.exists)(e,"sgSchedulingBasedOnNormalAppointments")?e.sgSchedulingBasedOnNormalAppointments:void 0,leasingBrochureUrl:(0,o.exists)(e,"leasingBrochureUrl")?e.leasingBrochureUrl:void 0,textForwardToEmails:(0,o.exists)(e,"textForwardToEmails")?e.textForwardToEmails:void 0,omitDesiredFloorPlan:(0,o.exists)(e,"omitDesiredFloorPlan")?e.omitDesiredFloorPlan:void 0,tourNotificationEmailsMode:(0,o.exists)(e,"tourNotificationEmailsMode")?e.tourNotificationEmailsMode:void 0,virtualTourType:(0,o.exists)(e,"virtualTourType")?e.virtualTourType:void 0,showNotRespondingLeadsInReport:(0,o.exists)(e,"showNotRespondingLeadsInReport")?e.showNotRespondingLeadsInReport:void 0,emailSignature:(0,o.exists)(e,"emailSignature")?e.emailSignature:void 0,sgtUrl:(0,o.exists)(e,"sgtUrl")?e.sgtUrl:void 0,preRecordedVirtualTourUrl:(0,o.exists)(e,"preRecordedVirtualTourUrl")?e.preRecordedVirtualTourUrl:void 0,liveVirtualToursLink:(0,o.exists)(e,"liveVirtualToursLink")?e.liveVirtualToursLink:void 0,selfGuidedToursLink:(0,o.exists)(e,"selfGuidedToursLink")?e.selfGuidedToursLink:void 0}}(r=t.UiBuildingDetailsTourNotificationEmailsModeEnum||(t.UiBuildingDetailsTourNotificationEmailsModeEnum={})).NoNotification="NO_NOTIFICATION",r.AllViewings="ALL_VIEWINGS",r.SameDayViewings="SAME_DAY_VIEWINGS",(n=t.UiBuildingDetailsVirtualTourTypeEnum||(t.UiBuildingDetailsVirtualTourTypeEnum={})).NotEnabled="NOT_ENABLED",n.SelfManaged="SELF_MANAGED",n.Whereby="WHEREBY",t.UiBuildingDetailsFromJSON=function(e){return s(e)},t.UiBuildingDetailsFromJSONTyped=s,t.UiBuildingDetailsToJSON=function(e){if(void 0!==e)return null===e?null:{id:e.id,launchedDate:void 0===e.launchedDate?void 0:e.launchedDate.toISOString(),managementCompanyId:e.managementCompanyId,organizationId:e.organizationId,active:e.active,handoffForwardToEmails:e.handoffForwardToEmails,responseCcEmails:e.responseCcEmails,responseBccEmails:e.responseBccEmails,associateCalendarId:e.associateCalendarId,buildingName:e.buildingName,address1:e.address1,address2:e.address2,address3:e.address3,alternativeILSAddresses:e.alternativeILSAddresses,city:e.city,state:e.state,postalCode:e.postalCode,crossStreets:e.crossStreets,neighborhood:e.neighborhood,nearbyTransportation:e.nearbyTransportation,buildingOwnership:e.buildingOwnership,buildingType:e.buildingType,totalUnits:e.totalUnits,totalFloors:e.totalFloors,yearBuilt:e.yearBuilt,block:e.block,lot:e.lot,schoolDistrict:e.schoolDistrict,communityDistrict:e.communityDistrict,newConstruction:e.newConstruction,preWarBuilding:e.preWarBuilding,brownstone:e.brownstone,greenBuilding:e.greenBuilding,elevator:e.elevator,freightElevator:e.freightElevator,parking:e.parking,petPolicy:e.petPolicy,petNumberLimit:e.petNumberLimit,petWeightLimit:e.petWeightLimit,petFeeOrDeposit:e.petFeeOrDeposit,utilitiesIncluded:e.utilitiesIncluded,utilitiesNotIncluded:e.utilitiesNotIncluded,leaseTermsAccepted:e.leaseTermsAccepted,minLeaseTermAccepted:e.minLeaseTermAccepted,furnishedOffered:e.furnishedOffered,furnishedUnitsPolicy:e.furnishedUnitsPolicy,internationalStudentRequirements:e.internationalStudentRequirements,amenitiesFee:e.amenitiesFee,nonSmoking:e.nonSmoking,piedATerreAllowed:e.piedATerreAllowed,diplomatsOk:e.diplomatsOk,corporateLeasesAccepted:e.corporateLeasesAccepted,shortTermAllowed:e.shortTermAllowed,doorman:e.doorman,intercom:e.intercom,liveInSuper:e.liveInSuper,concierge:e.concierge,laundryInBuilding:e.laundryInBuilding,packageReceiving:e.packageReceiving,gym:e.gym,storage:e.storage,bicycleRoom:e.bicycleRoom,lounge:e.lounge,clubHouse:e.clubHouse,businessCenter:e.businessCenter,outdoorSpace:e.outdoorSpace,roofDeck:e.roofDeck,courtyard:e.courtyard,childrenPlayroom:e.childrenPlayroom,nursery:e.nursery,maidService:e.maidService,pool:e.pool,wheelchairAccess:e.wheelchairAccess,guarantorTypesAccepted:e.guarantorTypesAccepted,thirdPartyGuarantorTypesAccepted:e.thirdPartyGuarantorTypesAccepted,noCreditQualificationAlternative:e.noCreditQualificationAlternative,virtualTourPlatforms:e.virtualTourPlatforms,flexWallPolicy:e.flexWallPolicy,leaseholderApplicationFee:e.leaseholderApplicationFee,occupantApplicationFee:e.occupantApplicationFee,guarantorApplicationFee:e.guarantorApplicationFee,tenantIncomeRequirementRentMultiplier:e.tenantIncomeRequirementRentMultiplier,guarantorIncomeRequirementRentMultiplier:e.guarantorIncomeRequirementRentMultiplier,incomeRequirementRentMultiplierTimePeriod:e.incomeRequirementRentMultiplierTimePeriod,leaseholderMinimumCreditScoreRequirement:e.leaseholderMinimumCreditScoreRequirement,guarantorMinimumCreditScoreRequirement:e.guarantorMinimumCreditScoreRequirement,leaseholderApplicationDocumentsRequired:e.leaseholderApplicationDocumentsRequired,selfEmployedApplicationDocumentsRequired:e.selfEmployedApplicationDocumentsRequired,guarantorApplicationDocumentsRequired:e.guarantorApplicationDocumentsRequired,guarantorsAccepted:e.guarantorsAccepted,financialsInsufficientAlternative:e.financialsInsufficientAlternative,prepaymentPolicy:e.prepaymentPolicy,rentRequiredOnLeaseSigning:e.rentRequiredOnLeaseSigning,securityDepositRentMultiplier:e.securityDepositRentMultiplier,paymentFormsAccepted:e.paymentFormsAccepted,clientEmail:e.clientEmail,description:e.description,notes:e.notes,occupiedUnitsShowingHours:e.occupiedUnitsShowingHours,leasingOfficeHours:e.leasingOfficeHours,appointmentHours:void 0===e.appointmentHours?void 0:e.appointmentHours.map(a.AppointmentHoursToJSON),tourDuration:e.tourDuration,internalNotes:e.internalNotes,leasingPhoneNumber:e.leasingPhoneNumber,callCenterNumber:e.callCenterNumber,buildingWebsiteUrl:e.buildingWebsiteUrl,applicationLink:e.applicationLink,geoAddress:e.geoAddress,googleMapsUrl:e.googleMapsUrl,appointmentMeetingLocation:e.appointmentMeetingLocation,appointmentMeetingPointSpecific:e.appointmentMeetingPointSpecific,appointmentDirections:e.appointmentDirections,appointmentAdditionalDirections:e.appointmentAdditionalDirections,alerts:e.alerts,rentComputeType:e.rentComputeType,autosendActive:e.autosendActive,advancedMoveInAllowenceInDays:e.advancedMoveInAllowenceInDays,showByOpenHouseOnly:e.showByOpenHouseOnly,showUnitsWithPendingApplication:e.showUnitsWithPendingApplication,showOccupiedUnitsWithPendingApplication:e.showOccupiedUnitsWithPendingApplication,confirmAppointmentsOccupiedUnits:e.confirmAppointmentsOccupiedUnits,confirmAppointmentsRenovatingUnits:e.confirmAppointmentsRenovatingUnits,occupiedUnitsAdvancedNoticeInHours:e.occupiedUnitsAdvancedNoticeInHours,alternativeBuildingNames:e.alternativeBuildingNames,externalIds:e.externalIds,externalCrmId:e.externalCrmId,defaultAvailabilityQuoteMatchMoveInDate:e.defaultAvailabilityQuoteMatchMoveInDate,leaseRenewalNoticeInDays:e.leaseRenewalNoticeInDays,rentQuoteFormat:e.rentQuoteFormat,rentWithIncentivesQuoteFormat:e.rentWithIncentivesQuoteFormat,isPartOfComplex:e.isPartOfComplex,effectiveRentComputeType:e.effectiveRentComputeType,maxLeaseTermAccepted:e.maxLeaseTermAccepted,parkingInformation:e.parkingInformation,storageFee:e.storageFee,incentivesProperlyConnected:e.incentivesProperlyConnected,prioritizeShowingVacantUnits:e.prioritizeShowingVacantUnits,electricCompany:e.electricCompany,gasCompany:e.gasCompany,telephoneCompany:e.telephoneCompany,televisionCompany:e.televisionCompany,waterCompany:e.waterCompany,internetCompany:e.internetCompany,localHospital:e.localHospital,localSchoolDistrict:e.localSchoolDistrict,localElementarySchool:e.localElementarySchool,localMiddleSchool:e.localMiddleSchool,localHighSchool:e.localHighSchool,localShoppingCenter:e.localShoppingCenter,localGroceryStore:e.localGroceryStore,closestInterstates:e.closestInterstates,buildingPicturesUrl:e.buildingPicturesUrl,buildingFloorPlansUrl:e.buildingFloorPlansUrl,nonexistentLayouts:e.nonexistentLayouts,offeredLayouts:e.offeredLayouts,avoidQuotingPrices:e.avoidQuotingPrices,excludeNotRentReadyUnit:e.excludeNotRentReadyUnit,flexWallsAllowed:e.flexWallsAllowed,petsAccepted:e.petsAccepted,showOccupiedUnits:e.showOccupiedUnits,guarantorsAcceptedSwitch:e.guarantorsAcceptedSwitch,thirdPartyGuarantorsAccepted:e.thirdPartyGuarantorsAccepted,alwaysScheduleAppointments:e.alwaysScheduleAppointments,leasingOfficeOnsite:e.leasingOfficeOnsite,building3dMediaUrl:e.building3dMediaUrl,dailyReportEmails:e.dailyReportEmails,weeklyReportEmails:e.weeklyReportEmails,nearbySubways:e.nearbySubways,bedroomTypes:e.bedroomTypes,inPersonToursAllowed:e.inPersonToursAllowed,selfGuidedToursEnabled:e.selfGuidedToursEnabled,liveVirtualToursAllowed:e.liveVirtualToursAllowed,noUnitSelfGuidedTourAllowed:e.noUnitSelfGuidedTourAllowed,sgSchedulingBasedOnNormalAppointments:e.sgSchedulingBasedOnNormalAppointments,leasingBrochureUrl:e.leasingBrochureUrl,textForwardToEmails:e.textForwardToEmails,omitDesiredFloorPlan:e.omitDesiredFloorPlan,tourNotificationEmailsMode:e.tourNotificationEmailsMode,virtualTourType:e.virtualTourType,showNotRespondingLeadsInReport:e.showNotRespondingLeadsInReport,emailSignature:e.emailSignature,sgtUrl:e.sgtUrl,preRecordedVirtualTourUrl:e.preRecordedVirtualTourUrl,liveVirtualToursLink:e.liveVirtualToursLink,selfGuidedToursLink:e.selfGuidedToursLink}}},260:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.UnitDetailsToJSON=t.UnitDetailsFromJSONTyped=t.UnitDetailsFromJSON=void 0;var n=i(296),r=i(3617),o=i(5604);function a(e,t){return null==e?e:{id:(0,n.exists)(e,"id")?e.id:void 0,buildingId:(0,n.exists)(e,"buildingId")?e.buildingId:void 0,timeCreated:(0,n.exists)(e,"timeCreated")?new Date(e.timeCreated):void 0,active:(0,n.exists)(e,"active")?e.active:void 0,unitNumber:(0,n.exists)(e,"unitNumber")?e.unitNumber:void 0,description:(0,n.exists)(e,"description")?e.description:void 0,dateAvailable:(0,n.exists)(e,"dateAvailable")?new Date(e.dateAvailable):void 0,firstShowingDate:(0,n.exists)(e,"firstShowingDate")?new Date(e.firstShowingDate):void 0,applicationStatus:(0,n.exists)(e,"applicationStatus")?e.applicationStatus:void 0,availabilityStage:(0,n.exists)(e,"availabilityStage")?e.availabilityStage:void 0,viewingTimes:(0,n.exists)(e,"viewingTimes")?e.viewingTimes:void 0,tenantOccupied:(0,n.exists)(e,"tenantOccupied")?e.tenantOccupied:void 0,openHouse:(0,n.exists)(e,"openHouse")?e.openHouse.map(r.AppointmentHoursFromJSON):void 0,minLeaseTerm:(0,n.exists)(e,"minLeaseTerm")?e.minLeaseTerm:void 0,maxLeaseTerm:(0,n.exists)(e,"maxLeaseTerm")?e.maxLeaseTerm:void 0,floorplanLink:(0,n.exists)(e,"floorplanLink")?e.floorplanLink:void 0,floorplanFileType:(0,n.exists)(e,"floorplanFileType")?e.floorplanFileType:void 0,applicationUrl:(0,n.exists)(e,"applicationUrl")?e.applicationUrl:void 0,numberOfBedrooms:(0,n.exists)(e,"numberOfBedrooms")?e.numberOfBedrooms:void 0,numberOfBathrooms:(0,n.exists)(e,"numberOfBathrooms")?e.numberOfBathrooms:void 0,totalRooms:(0,n.exists)(e,"totalRooms")?e.totalRooms:void 0,layout:(0,n.exists)(e,"layout")?e.layout:void 0,layoutDescription:(0,n.exists)(e,"layoutDescription")?e.layoutDescription:void 0,convertible:(0,n.exists)(e,"convertible")?e.convertible:void 0,partitionTypesAllowed:(0,n.exists)(e,"partitionTypesAllowed")?e.partitionTypesAllowed:void 0,furnished:(0,n.exists)(e,"furnished")?e.furnished:void 0,furnishedAddedPrice:(0,n.exists)(e,"furnishedAddedPrice")?e.furnishedAddedPrice:void 0,laundryInUnit:(0,n.exists)(e,"laundryInUnit")?e.laundryInUnit:void 0,windowAirConditioning:(0,n.exists)(e,"windowAirConditioning")?e.windowAirConditioning:void 0,centralAirConditioning:(0,n.exists)(e,"centralAirConditioning")?e.centralAirConditioning:void 0,ceilingFan:(0,n.exists)(e,"ceilingFan")?e.ceilingFan:void 0,centralHeating:(0,n.exists)(e,"centralHeating")?e.centralHeating:void 0,dishwasher:(0,n.exists)(e,"dishwasher")?e.dishwasher:void 0,walkInCloset:(0,n.exists)(e,"walkInCloset")?e.walkInCloset:void 0,microwave:(0,n.exists)(e,"microwave")?e.microwave:void 0,hardwoodFloors:(0,n.exists)(e,"hardwoodFloors")?e.hardwoodFloors:void 0,carpet:(0,n.exists)(e,"carpet")?e.carpet:void 0,highCeilings:(0,n.exists)(e,"highCeilings")?e.highCeilings:void 0,floorToCeilingWindows:(0,n.exists)(e,"floorToCeilingWindows")?e.floorToCeilingWindows:void 0,fireplace:(0,n.exists)(e,"fireplace")?e.fireplace:void 0,exposure:(0,n.exists)(e,"exposure")?e.exposure:void 0,view:(0,n.exists)(e,"view")?e.view:void 0,viewDescription:(0,n.exists)(e,"viewDescription")?e.viewDescription:void 0,assignedParking:(0,n.exists)(e,"assignedParking")?e.assignedParking:void 0,privateOutDoorSpace:(0,n.exists)(e,"privateOutDoorSpace")?e.privateOutDoorSpace:void 0,incentive:(0,n.exists)(e,"incentive")?e.incentive:void 0,notes:(0,n.exists)(e,"notes")?e.notes:void 0,brokerUnitDescription:(0,n.exists)(e,"brokerUnitDescription")?e.brokerUnitDescription:void 0,brokerFeeStructure:(0,n.exists)(e,"brokerFeeStructure")?e.brokerFeeStructure:void 0,defaultUnitCurrentAvailabilities:(0,n.exists)(e,"defaultUnitCurrentAvailabilities")?e.defaultUnitCurrentAvailabilities:void 0,building:(0,n.exists)(e,"building")?(0,o.BuildingDetailsFromJSON)(e.building):void 0,numberOfAvailableUnits:(0,n.exists)(e,"numberOfAvailableUnits")?e.numberOfAvailableUnits:void 0,rent:(0,n.exists)(e,"rent")?e.rent:void 0,grossRent:(0,n.exists)(e,"grossRent")?e.grossRent:void 0,brokerNetRent:(0,n.exists)(e,"brokerNetRent")?e.brokerNetRent:void 0,squareFootage:(0,n.exists)(e,"squareFootage")?e.squareFootage:void 0,floor:(0,n.exists)(e,"floor")?e.floor:void 0,maxRent:(0,n.exists)(e,"maxRent")?e.maxRent:void 0,maxGrossRent:(0,n.exists)(e,"maxGrossRent")?e.maxGrossRent:void 0,maxBrokerNetRent:(0,n.exists)(e,"maxBrokerNetRent")?e.maxBrokerNetRent:void 0,maxSquareFootage:(0,n.exists)(e,"maxSquareFootage")?e.maxSquareFootage:void 0,maxFloor:(0,n.exists)(e,"maxFloor")?e.maxFloor:void 0,complexId:(0,n.exists)(e,"complexId")?e.complexId:void 0,alternativeUnitNumbers:(0,n.exists)(e,"alternativeUnitNumbers")?e.alternativeUnitNumbers:void 0,externalId:(0,n.exists)(e,"externalId")?e.externalId:void 0,alternativeBuildingCrmId:(0,n.exists)(e,"alternativeBuildingCrmId")?e.alternativeBuildingCrmId:void 0,externalFloorPlanDescriptionId:(0,n.exists)(e,"externalFloorPlanDescriptionId")?e.externalFloorPlanDescriptionId:void 0,walkinUrl:(0,n.exists)(e,"walkinUrl")?e.walkinUrl:void 0,marketRateUnit:(0,n.exists)(e,"marketRateUnit")?e.marketRateUnit:void 0,_new:(0,n.exists)(e,"new")?e.new:void 0}}t.UnitDetailsFromJSON=function(e){return a(e)},t.UnitDetailsFromJSONTyped=a,t.UnitDetailsToJSON=function(e){if(void 0!==e)return null===e?null:{id:e.id,buildingId:e.buildingId,timeCreated:void 0===e.timeCreated?void 0:e.timeCreated.toISOString(),active:e.active,unitNumber:e.unitNumber,description:e.description,dateAvailable:void 0===e.dateAvailable?void 0:e.dateAvailable.toISOString(),firstShowingDate:void 0===e.firstShowingDate?void 0:e.firstShowingDate.toISOString(),applicationStatus:e.applicationStatus,availabilityStage:e.availabilityStage,viewingTimes:e.viewingTimes,tenantOccupied:e.tenantOccupied,openHouse:void 0===e.openHouse?void 0:e.openHouse.map(r.AppointmentHoursToJSON),minLeaseTerm:e.minLeaseTerm,maxLeaseTerm:e.maxLeaseTerm,floorplanLink:e.floorplanLink,floorplanFileType:e.floorplanFileType,applicationUrl:e.applicationUrl,numberOfBedrooms:e.numberOfBedrooms,numberOfBathrooms:e.numberOfBathrooms,totalRooms:e.totalRooms,layout:e.layout,layoutDescription:e.layoutDescription,convertible:e.convertible,partitionTypesAllowed:e.partitionTypesAllowed,furnished:e.furnished,furnishedAddedPrice:e.furnishedAddedPrice,laundryInUnit:e.laundryInUnit,windowAirConditioning:e.windowAirConditioning,centralAirConditioning:e.centralAirConditioning,ceilingFan:e.ceilingFan,centralHeating:e.centralHeating,dishwasher:e.dishwasher,walkInCloset:e.walkInCloset,microwave:e.microwave,hardwoodFloors:e.hardwoodFloors,carpet:e.carpet,highCeilings:e.highCeilings,floorToCeilingWindows:e.floorToCeilingWindows,fireplace:e.fireplace,exposure:e.exposure,view:e.view,viewDescription:e.viewDescription,assignedParking:e.assignedParking,privateOutDoorSpace:e.privateOutDoorSpace,incentive:e.incentive,notes:e.notes,brokerUnitDescription:e.brokerUnitDescription,brokerFeeStructure:e.brokerFeeStructure,defaultUnitCurrentAvailabilities:e.defaultUnitCurrentAvailabilities,building:(0,o.BuildingDetailsToJSON)(e.building),numberOfAvailableUnits:e.numberOfAvailableUnits,rent:e.rent,grossRent:e.grossRent,brokerNetRent:e.brokerNetRent,squareFootage:e.squareFootage,floor:e.floor,maxRent:e.maxRent,maxGrossRent:e.maxGrossRent,maxBrokerNetRent:e.maxBrokerNetRent,maxSquareFootage:e.maxSquareFootage,maxFloor:e.maxFloor,complexId:e.complexId,alternativeUnitNumbers:e.alternativeUnitNumbers,externalId:e.externalId,alternativeBuildingCrmId:e.alternativeBuildingCrmId,externalFloorPlanDescriptionId:e.externalFloorPlanDescriptionId,walkinUrl:e.walkinUrl,marketRateUnit:e.marketRateUnit,new:e._new}}},1161:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.UnitIncentiveToJSON=t.UnitIncentiveFromJSONTyped=t.UnitIncentiveFromJSON=void 0;var n=i(296);function r(e,t){return null==e?e:{id:(0,n.exists)(e,"id")?e.id:void 0,unitId:(0,n.exists)(e,"unitId")?e.unitId:void 0,typeOfIncentive:(0,n.exists)(e,"typeOfIncentive")?e.typeOfIncentive:void 0,noFee:(0,n.exists)(e,"noFee")?e.noFee:void 0,numberFreeMonths:(0,n.exists)(e,"numberFreeMonths")?e.numberFreeMonths:void 0,leaseLength:(0,n.exists)(e,"leaseLength")?e.leaseLength:void 0,typeOfCustomerItAppliesTo:(0,n.exists)(e,"typeOfCustomerItAppliesTo")?e.typeOfCustomerItAppliesTo:void 0,numberOfMonthsOwnerPays:(0,n.exists)(e,"numberOfMonthsOwnerPays")?e.numberOfMonthsOwnerPays:void 0,originalIncentiveString:(0,n.exists)(e,"originalIncentiveString")?e.originalIncentiveString:void 0,active:(0,n.exists)(e,"active")?e.active:void 0,asJson:(0,n.exists)(e,"asJson")?e.asJson:void 0,incentiveInformationString:(0,n.exists)(e,"incentiveInformationString")?e.incentiveInformationString:void 0,valid:(0,n.exists)(e,"valid")?e.valid:void 0}}t.UnitIncentiveFromJSON=function(e){return r(e)},t.UnitIncentiveFromJSONTyped=r,t.UnitIncentiveToJSON=function(e){if(void 0!==e)return null===e?null:{id:e.id,unitId:e.unitId,typeOfIncentive:e.typeOfIncentive,noFee:e.noFee,numberFreeMonths:e.numberFreeMonths,leaseLength:e.leaseLength,typeOfCustomerItAppliesTo:e.typeOfCustomerItAppliesTo,numberOfMonthsOwnerPays:e.numberOfMonthsOwnerPays,originalIncentiveString:e.originalIncentiveString,active:e.active,asJson:e.asJson,incentiveInformationString:e.incentiveInformationString,valid:e.valid}}},5239:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.UnitIncentiveResultToJSON=t.UnitIncentiveResultFromJSONTyped=t.UnitIncentiveResultFromJSON=void 0;var n=i(296),r=i(1161);function o(e,t){return null==e?e:{tenantUnitIncentives:(0,n.exists)(e,"tenantUnitIncentives")?e.tenantUnitIncentives.map(r.UnitIncentiveFromJSON):void 0,brokerUnitIncentives:(0,n.exists)(e,"brokerUnitIncentives")?e.brokerUnitIncentives.map(r.UnitIncentiveFromJSON):void 0}}t.UnitIncentiveResultFromJSON=function(e){return o(e)},t.UnitIncentiveResultFromJSONTyped=o,t.UnitIncentiveResultToJSON=function(e){if(void 0!==e)return null===e?null:{tenantUnitIncentives:void 0===e.tenantUnitIncentives?void 0:e.tenantUnitIncentives.map(r.UnitIncentiveToJSON),brokerUnitIncentives:void 0===e.brokerUnitIncentives?void 0:e.brokerUnitIncentives.map(r.UnitIncentiveToJSON)}}},3842:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.UpdateEmailsRequestToJSON=t.UpdateEmailsRequestFromJSONTyped=t.UpdateEmailsRequestFromJSON=void 0;var n=i(296);function r(e,t){return null==e?e:{emails:(0,n.exists)(e,"emails")?e.emails:void 0}}t.UpdateEmailsRequestFromJSON=function(e){return r(e)},t.UpdateEmailsRequestFromJSONTyped=r,t.UpdateEmailsRequestToJSON=function(e){if(void 0!==e)return null===e?null:{emails:e.emails}}},9908:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.UpdateScriptRequestToJSON=t.UpdateScriptRequestFromJSONTyped=t.UpdateScriptRequestFromJSON=t.UpdateScriptRequestHandoffIntentStateEnum=t.UpdateScriptRequestMediaEnum=void 0;var n,r,o=i(296);function a(e,t){return null==e?e:{organizationId:(0,o.exists)(e,"organizationId")?e.organizationId:void 0,media:e.media,category:e.category,subIntent:(0,o.exists)(e,"subIntent")?e.subIntent:void 0,text:e.text,handoffIntentState:(0,o.exists)(e,"handoffIntentState")?e.handoffIntentState:void 0,communityId:(0,o.exists)(e,"communityId")?e.communityId:void 0}}(r=t.UpdateScriptRequestMediaEnum||(t.UpdateScriptRequestMediaEnum={})).Both="BOTH",r.Email="EMAIL",r.Sms="SMS",(n=t.UpdateScriptRequestHandoffIntentStateEnum||(t.UpdateScriptRequestHandoffIntentStateEnum={})).None="NONE",n.YellowStatus="YELLOW_STATUS",n.RedAlertSend="RED_ALERT_SEND",n.RedAlertDoNotSend="RED_ALERT_DO_NOT_SEND",t.UpdateScriptRequestFromJSON=function(e){return a(e)},t.UpdateScriptRequestFromJSONTyped=a,t.UpdateScriptRequestToJSON=function(e){if(void 0!==e)return null===e?null:{organizationId:e.organizationId,media:e.media,category:e.category,subIntent:e.subIntent,text:e.text,handoffIntentState:e.handoffIntentState,communityId:e.communityId}}},5530:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.UpsertDialogueScriptRequestToJSON=t.UpsertDialogueScriptRequestFromJSONTyped=t.UpsertDialogueScriptRequestFromJSON=void 0;var n=i(296);function r(e,t){return null==e?e:{buildingId:(0,n.exists)(e,"buildingId")?e.buildingId:void 0,organizationId:(0,n.exists)(e,"organizationId")?e.organizationId:void 0,name:(0,n.exists)(e,"name")?e.name:void 0,subintent:(0,n.exists)(e,"subintent")?e.subintent:void 0,text:(0,n.exists)(e,"text")?e.text:void 0}}t.UpsertDialogueScriptRequestFromJSON=function(e){return r(e)},t.UpsertDialogueScriptRequestFromJSONTyped=r,t.UpsertDialogueScriptRequestToJSON=function(e){if(void 0!==e)return null===e?null:{buildingId:e.buildingId,organizationId:e.organizationId,name:e.name,subintent:e.subintent,text:e.text}}},9256:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.V2BuildingMigrationStatusToJSON=t.V2BuildingMigrationStatusFromJSONTyped=t.V2BuildingMigrationStatusFromJSON=void 0;var n=i(296);function r(e,t){return null==e?e:{id:(0,n.exists)(e,"id")?e.id:void 0,buildingId:(0,n.exists)(e,"buildingId")?e.buildingId:void 0,buildingName:(0,n.exists)(e,"buildingName")?e.buildingName:void 0,userId:(0,n.exists)(e,"userId")?e.userId:void 0,organizationId:(0,n.exists)(e,"organizationId")?e.organizationId:void 0,organizationName:(0,n.exists)(e,"organizationName")?e.organizationName:void 0,scope:(0,n.exists)(e,"scope")?e.scope:void 0,timeSeeded:(0,n.exists)(e,"timeSeeded")?new Date(e.timeSeeded):void 0,timeReadyToConfigure:(0,n.exists)(e,"timeReadyToConfigure")?new Date(e.timeReadyToConfigure):void 0,timeConfigured:(0,n.exists)(e,"timeConfigured")?new Date(e.timeConfigured):void 0,timeWentLive:(0,n.exists)(e,"timeWentLive")?new Date(e.timeWentLive):void 0}}t.V2BuildingMigrationStatusFromJSON=function(e){return r(e)},t.V2BuildingMigrationStatusFromJSONTyped=r,t.V2BuildingMigrationStatusToJSON=function(e){if(void 0!==e)return null===e?null:{id:e.id,buildingId:e.buildingId,buildingName:e.buildingName,userId:e.userId,organizationId:e.organizationId,organizationName:e.organizationName,scope:e.scope,timeSeeded:void 0===e.timeSeeded?void 0:e.timeSeeded.toISOString(),timeReadyToConfigure:void 0===e.timeReadyToConfigure?void 0:e.timeReadyToConfigure.toISOString(),timeConfigured:void 0===e.timeConfigured?void 0:e.timeConfigured.toISOString(),timeWentLive:void 0===e.timeWentLive?void 0:e.timeWentLive.toISOString()}}},2288:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ValidateCredentialsRequestToJSON=t.ValidateCredentialsRequestFromJSONTyped=t.ValidateCredentialsRequestFromJSON=void 0;var n=i(296);function r(e,t){return null==e?e:{validationName:e.validationName,integrationId:e.integrationId,username:(0,n.exists)(e,"username")?e.username:void 0,password:(0,n.exists)(e,"password")?e.password:void 0,submitterEmail:e.submitterEmail,submitterOrgId:e.submitterOrgId,marketingApiKey:(0,n.exists)(e,"marketingApiKey")?e.marketingApiKey:void 0,databaseName:(0,n.exists)(e,"databaseName")?e.databaseName:void 0,serverName:(0,n.exists)(e,"serverName")?e.serverName:void 0,voyagerUrl:(0,n.exists)(e,"voyagerUrl")?e.voyagerUrl:void 0,rentCafePropertyCode:(0,n.exists)(e,"rentCafePropertyCode")?e.rentCafePropertyCode:void 0,voyagerPropertyCode:(0,n.exists)(e,"voyagerPropertyCode")?e.voyagerPropertyCode:void 0,companyCode:(0,n.exists)(e,"companyCode")?e.companyCode:void 0,connectionUrl:(0,n.exists)(e,"connectionUrl")?e.connectionUrl:void 0,vendorApiToken:(0,n.exists)(e,"vendorApiToken")?e.vendorApiToken:void 0}}t.ValidateCredentialsRequestFromJSON=function(e){return r(e)},t.ValidateCredentialsRequestFromJSONTyped=r,t.ValidateCredentialsRequestToJSON=function(e){if(void 0!==e)return null===e?null:{validationName:e.validationName,integrationId:e.integrationId,username:e.username,password:e.password,submitterEmail:e.submitterEmail,submitterOrgId:e.submitterOrgId,marketingApiKey:e.marketingApiKey,databaseName:e.databaseName,serverName:e.serverName,voyagerUrl:e.voyagerUrl,rentCafePropertyCode:e.rentCafePropertyCode,voyagerPropertyCode:e.voyagerPropertyCode,companyCode:e.companyCode,connectionUrl:e.connectionUrl,vendorApiToken:e.vendorApiToken}}},3029:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ValidateCredentialsResponseToJSON=t.ValidateCredentialsResponseFromJSONTyped=t.ValidateCredentialsResponseFromJSON=void 0;var n=i(296);function r(e,t){return null==e?e:{message:e.message,failed:e.failed,errorMessages:(0,n.exists)(e,"errorMessages")?e.errorMessages:void 0}}t.ValidateCredentialsResponseFromJSON=function(e){return r(e)},t.ValidateCredentialsResponseFromJSONTyped=r,t.ValidateCredentialsResponseToJSON=function(e){if(void 0!==e)return null===e?null:{message:e.message,failed:e.failed,errorMessages:e.errorMessages}}},5454:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.WalkInAndShowActionDtoToJSON=t.WalkInAndShowActionDtoFromJSONTyped=t.WalkInAndShowActionDtoFromJSON=void 0;var n=i(296),r=i(5007);function o(e,t){return null==e?e:{userId:(0,n.exists)(e,"userId")?e.userId:void 0,buildingId:(0,n.exists)(e,"buildingId")?e.buildingId:void 0,unitId:(0,n.exists)(e,"unitId")?e.unitId:void 0,guestCard:(0,n.exists)(e,"guestCard")?(0,r.EliseGuestCardDtoFromJSON)(e.guestCard):void 0}}t.WalkInAndShowActionDtoFromJSON=function(e){return o(e)},t.WalkInAndShowActionDtoFromJSONTyped=o,t.WalkInAndShowActionDtoToJSON=function(e){if(void 0!==e)return null===e?null:{userId:e.userId,buildingId:e.buildingId,unitId:e.unitId,guestCard:(0,r.EliseGuestCardDtoToJSON)(e.guestCard)}}},2449:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.WalkInOrCallActionDtoToJSON=t.WalkInOrCallActionDtoFromJSONTyped=t.WalkInOrCallActionDtoFromJSON=void 0;var n=i(296),r=i(5007);function o(e,t){return null==e?e:{userId:(0,n.exists)(e,"userId")?e.userId:void 0,buildingId:(0,n.exists)(e,"buildingId")?e.buildingId:void 0,unitId:(0,n.exists)(e,"unitId")?e.unitId:void 0,guestCard:(0,n.exists)(e,"guestCard")?(0,r.EliseGuestCardDtoFromJSON)(e.guestCard):void 0}}t.WalkInOrCallActionDtoFromJSON=function(e){return o(e)},t.WalkInOrCallActionDtoFromJSONTyped=o,t.WalkInOrCallActionDtoToJSON=function(e){if(void 0!==e)return null===e?null:{userId:e.userId,buildingId:e.buildingId,unitId:e.unitId,guestCard:(0,r.EliseGuestCardDtoToJSON)(e.guestCard)}}},2242:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.WebReportingDashboardResponseToJSON=t.WebReportingDashboardResponseFromJSONTyped=t.WebReportingDashboardResponseFromJSON=void 0;var n=i(296),r=i(1961);function o(e,t){return null==e?e:{dataGroupedByTimePeriod:e.dataGroupedByTimePeriod,afterHoursDataGroupedByTimePeriod:e.afterHoursDataGroupedByTimePeriod,marketingSourceDataGroupedByTimePeriod:e.marketingSourceDataGroupedByTimePeriod,afterHoursMarketingSourceDataGroupedByTimePeriod:e.afterHoursMarketingSourceDataGroupedByTimePeriod,buildingNameMap:e.buildingNameMap,aiNameMap:e.aiNameMap,buildingToAiMap:(0,n.mapValues)(e.buildingToAiMap,r.AiAssistantStubInfoFromJSON)}}t.WebReportingDashboardResponseFromJSON=function(e){return o(e)},t.WebReportingDashboardResponseFromJSONTyped=o,t.WebReportingDashboardResponseToJSON=function(e){if(void 0!==e)return null===e?null:{dataGroupedByTimePeriod:e.dataGroupedByTimePeriod,afterHoursDataGroupedByTimePeriod:e.afterHoursDataGroupedByTimePeriod,marketingSourceDataGroupedByTimePeriod:e.marketingSourceDataGroupedByTimePeriod,afterHoursMarketingSourceDataGroupedByTimePeriod:e.afterHoursMarketingSourceDataGroupedByTimePeriod,buildingNameMap:e.buildingNameMap,aiNameMap:e.aiNameMap,buildingToAiMap:(0,n.mapValues)(e.buildingToAiMap,r.AiAssistantStubInfoToJSON)}}},6570:(e,t)=>{function i(e,t){return null==e?e:{id:e.id,buildingId:e.buildingId,email:e.email}}Object.defineProperty(t,"__esModule",{value:!0}),t.WeeklyReportEmailToJSON=t.WeeklyReportEmailFromJSONTyped=t.WeeklyReportEmailFromJSON=void 0,t.WeeklyReportEmailFromJSON=function(e){return i(e)},t.WeeklyReportEmailFromJSONTyped=i,t.WeeklyReportEmailToJSON=function(e){if(void 0!==e)return null===e?null:{id:e.id,buildingId:e.buildingId,email:e.email}}},4675:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.WhiteListConfigToJSON=t.WhiteListConfigFromJSONTyped=t.WhiteListConfigFromJSON=t.WhiteListConfigStatusEnum=t.WhiteListConfigCurrentWhiteListStepEnum=void 0;var n,r,o=i(296);function a(e,t){return null==e?e:{id:(0,o.exists)(e,"id")?e.id:void 0,testingName:(0,o.exists)(e,"testingName")?e.testingName:void 0,buildingId:(0,o.exists)(e,"buildingId")?e.buildingId:void 0,whiteListingEmail:(0,o.exists)(e,"whiteListingEmail")?e.whiteListingEmail:void 0,timeInitiated:(0,o.exists)(e,"timeInitiated")?new Date(e.timeInitiated):void 0,lastUpdated:(0,o.exists)(e,"lastUpdated")?new Date(e.lastUpdated):void 0,currentWhiteListStep:(0,o.exists)(e,"currentWhiteListStep")?e.currentWhiteListStep:void 0,contextId:(0,o.exists)(e,"contextId")?e.contextId:void 0,mcId:(0,o.exists)(e,"mcId")?e.mcId:void 0,status:(0,o.exists)(e,"status")?e.status:void 0,requestedTime:(0,o.exists)(e,"requestedTime")?e.requestedTime:void 0,confirmedTime:(0,o.exists)(e,"confirmedTime")?e.confirmedTime:void 0,eventId:(0,o.exists)(e,"eventId")?e.eventId:void 0,failureReason:(0,o.exists)(e,"failureReason")?e.failureReason:void 0}}(r=t.WhiteListConfigCurrentWhiteListStepEnum||(t.WhiteListConfigCurrentWhiteListStepEnum={})).Initiated="INITIATED",r.ConfigureSettings="CONFIGURE_SETTINGS",r.TimeZoneVerification="TIME_ZONE_VERIFICATION",r.ConfirmAndOrFixApiVersion="CONFIRM_AND_OR_FIX_API_VERSION",r.ActivateBuildingAutoSend="ACTIVATE_BUILDING_AUTO_SEND",r.AddAitsToBuilding="ADD_AITS_TO_BUILDING",r.RerunAvailabilities="RERUN_AVAILABILITIES",r.InsertGuestCard="INSERT_GUEST_CARD",r.InitialEmailReceived="INITIAL_EMAIL_RECEIVED",r.RequestTourDayEmailSent="REQUEST_TOUR_DAY_EMAIL_SENT",r.AiSentTimeSuggestion="AI_SENT_TIME_SUGGESTION",r.AcceptTourTimeEmailSent="ACCEPT_TOUR_TIME_EMAIL_SENT",r.AppointmentScheduled="APPOINTMENT_SCHEDULED",r.AppointmentOnGuestCard="APPOINTMENT_ON_GUEST_CARD",r.RequestCancelTour="REQUEST_CANCEL_TOUR",r.AppointmentCanceled="APPOINTMENT_CANCELED",r.AppointmentRemovedFromGuestCard="APPOINTMENT_REMOVED_FROM_GUEST_CARD",(n=t.WhiteListConfigStatusEnum||(t.WhiteListConfigStatusEnum={})).InProgress="IN_PROGRESS",n.Complete="COMPLETE",n.Error="ERROR",n.Cancelled="CANCELLED",t.WhiteListConfigFromJSON=function(e){return a(e)},t.WhiteListConfigFromJSONTyped=a,t.WhiteListConfigToJSON=function(e){if(void 0!==e)return null===e?null:{id:e.id,testingName:e.testingName,buildingId:e.buildingId,whiteListingEmail:e.whiteListingEmail,timeInitiated:void 0===e.timeInitiated?void 0:e.timeInitiated.toISOString(),lastUpdated:void 0===e.lastUpdated?void 0:e.lastUpdated.toISOString(),currentWhiteListStep:e.currentWhiteListStep,contextId:e.contextId,mcId:e.mcId,status:e.status,requestedTime:e.requestedTime,confirmedTime:e.confirmedTime,eventId:e.eventId,failureReason:e.failureReason}}},3163:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.WhiteListTestDtoToJSON=t.WhiteListTestDtoFromJSONTyped=t.WhiteListTestDtoFromJSON=t.WhiteListTestDtoLastFinishedStepEnum=t.WhiteListTestDtoStatusEnum=void 0;var n,r,o=i(296),a=i(8937);function s(e,t){return null==e?e:{configId:e.configId,buildingId:e.buildingId,buildingName:e.buildingName,timeInitiatedISO:new Date(e.timeInitiatedISO),lastUpdatedISO:new Date(e.lastUpdatedISO),status:e.status,lastFinishedStep:e.lastFinishedStep,whiteListTestStepDtos:e.whiteListTestStepDtos.map(a.WhiteListTestStepDtoFromJSON),emailUsedForTesting:(0,o.exists)(e,"emailUsedForTesting")?e.emailUsedForTesting:void 0,contextId:(0,o.exists)(e,"contextId")?e.contextId:void 0,mcId:(0,o.exists)(e,"mcId")?e.mcId:void 0}}(r=t.WhiteListTestDtoStatusEnum||(t.WhiteListTestDtoStatusEnum={})).InProgress="IN_PROGRESS",r.Complete="COMPLETE",r.Error="ERROR",r.Cancelled="CANCELLED",(n=t.WhiteListTestDtoLastFinishedStepEnum||(t.WhiteListTestDtoLastFinishedStepEnum={})).Initiated="INITIATED",n.ConfigureSettings="CONFIGURE_SETTINGS",n.TimeZoneVerification="TIME_ZONE_VERIFICATION",n.ConfirmAndOrFixApiVersion="CONFIRM_AND_OR_FIX_API_VERSION",n.ActivateBuildingAutoSend="ACTIVATE_BUILDING_AUTO_SEND",n.AddAitsToBuilding="ADD_AITS_TO_BUILDING",n.RerunAvailabilities="RERUN_AVAILABILITIES",n.InsertGuestCard="INSERT_GUEST_CARD",n.InitialEmailReceived="INITIAL_EMAIL_RECEIVED",n.RequestTourDayEmailSent="REQUEST_TOUR_DAY_EMAIL_SENT",n.AiSentTimeSuggestion="AI_SENT_TIME_SUGGESTION",n.AcceptTourTimeEmailSent="ACCEPT_TOUR_TIME_EMAIL_SENT",n.AppointmentScheduled="APPOINTMENT_SCHEDULED",n.AppointmentOnGuestCard="APPOINTMENT_ON_GUEST_CARD",n.RequestCancelTour="REQUEST_CANCEL_TOUR",n.AppointmentCanceled="APPOINTMENT_CANCELED",n.AppointmentRemovedFromGuestCard="APPOINTMENT_REMOVED_FROM_GUEST_CARD",t.WhiteListTestDtoFromJSON=function(e){return s(e)},t.WhiteListTestDtoFromJSONTyped=s,t.WhiteListTestDtoToJSON=function(e){if(void 0!==e)return null===e?null:{configId:e.configId,buildingId:e.buildingId,buildingName:e.buildingName,timeInitiatedISO:e.timeInitiatedISO.toISOString(),lastUpdatedISO:e.lastUpdatedISO.toISOString(),status:e.status,lastFinishedStep:e.lastFinishedStep,whiteListTestStepDtos:e.whiteListTestStepDtos.map(a.WhiteListTestStepDtoToJSON),emailUsedForTesting:e.emailUsedForTesting,contextId:e.contextId,mcId:e.mcId}}},8937:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.WhiteListTestStepDtoToJSON=t.WhiteListTestStepDtoFromJSONTyped=t.WhiteListTestStepDtoFromJSON=t.WhiteListTestStepDtoStepEnum=void 0;var n,r=i(296);function o(e,t){return null==e?e:{displayText:e.displayText,step:e.step,orderInTest:e.orderInTest,failureReason:(0,r.exists)(e,"failureReason")?e.failureReason:void 0,warnings:(0,r.exists)(e,"warnings")?e.warnings:void 0,complete:(0,r.exists)(e,"complete")?e.complete:void 0,nextStep:(0,r.exists)(e,"nextStep")?e.nextStep:void 0}}(n=t.WhiteListTestStepDtoStepEnum||(t.WhiteListTestStepDtoStepEnum={})).Initiated="INITIATED",n.ConfigureSettings="CONFIGURE_SETTINGS",n.TimeZoneVerification="TIME_ZONE_VERIFICATION",n.ConfirmAndOrFixApiVersion="CONFIRM_AND_OR_FIX_API_VERSION",n.ActivateBuildingAutoSend="ACTIVATE_BUILDING_AUTO_SEND",n.AddAitsToBuilding="ADD_AITS_TO_BUILDING",n.RerunAvailabilities="RERUN_AVAILABILITIES",n.InsertGuestCard="INSERT_GUEST_CARD",n.InitialEmailReceived="INITIAL_EMAIL_RECEIVED",n.RequestTourDayEmailSent="REQUEST_TOUR_DAY_EMAIL_SENT",n.AiSentTimeSuggestion="AI_SENT_TIME_SUGGESTION",n.AcceptTourTimeEmailSent="ACCEPT_TOUR_TIME_EMAIL_SENT",n.AppointmentScheduled="APPOINTMENT_SCHEDULED",n.AppointmentOnGuestCard="APPOINTMENT_ON_GUEST_CARD",n.RequestCancelTour="REQUEST_CANCEL_TOUR",n.AppointmentCanceled="APPOINTMENT_CANCELED",n.AppointmentRemovedFromGuestCard="APPOINTMENT_REMOVED_FROM_GUEST_CARD",t.WhiteListTestStepDtoFromJSON=function(e){return o(e)},t.WhiteListTestStepDtoFromJSONTyped=o,t.WhiteListTestStepDtoToJSON=function(e){if(void 0!==e)return null===e?null:{displayText:e.displayText,step:e.step,orderInTest:e.orderInTest,failureReason:e.failureReason,warnings:e.warnings,complete:e.complete,nextStep:e.nextStep}}},2683:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.WhiteListingAdditionalInfoToJSON=t.WhiteListingAdditionalInfoFromJSONTyped=t.WhiteListingAdditionalInfoFromJSON=void 0;var n=i(296),r=i(8442),o=i(7571);function a(e,t){return null==e?e:{leasingAgents:e.leasingAgents.map(r.ExternalBuildingAgentFromJSON),sources:e.sources,rawGuestCard:(0,n.exists)(e,"rawGuestCard")?e.rawGuestCard:void 0,messages:e.messages.map(o.XagacityEmailFromJSON)}}t.WhiteListingAdditionalInfoFromJSON=function(e){return a(e)},t.WhiteListingAdditionalInfoFromJSONTyped=a,t.WhiteListingAdditionalInfoToJSON=function(e){if(void 0!==e)return null===e?null:{leasingAgents:e.leasingAgents.map(r.ExternalBuildingAgentToJSON),sources:e.sources,rawGuestCard:e.rawGuestCard,messages:e.messages.map(o.XagacityEmailToJSON)}}},4145:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.WhiteListingExecutionResultToJSON=t.WhiteListingExecutionResultFromJSONTyped=t.WhiteListingExecutionResultFromJSON=t.WhiteListingExecutionResultStatusAfterStepEnum=t.WhiteListingExecutionResultLastStepCompletedEnum=void 0;var n,r,o=i(296);function a(e,t){return null==e?e:{didFail:e.didFail,failureReason:(0,o.exists)(e,"failureReason")?e.failureReason:void 0,lastStepCompleted:e.lastStepCompleted,statusAfterStep:e.statusAfterStep,configId:e.configId}}(r=t.WhiteListingExecutionResultLastStepCompletedEnum||(t.WhiteListingExecutionResultLastStepCompletedEnum={})).Initiated="INITIATED",r.ConfigureSettings="CONFIGURE_SETTINGS",r.TimeZoneVerification="TIME_ZONE_VERIFICATION",r.ConfirmAndOrFixApiVersion="CONFIRM_AND_OR_FIX_API_VERSION",r.ActivateBuildingAutoSend="ACTIVATE_BUILDING_AUTO_SEND",r.AddAitsToBuilding="ADD_AITS_TO_BUILDING",r.RerunAvailabilities="RERUN_AVAILABILITIES",r.InsertGuestCard="INSERT_GUEST_CARD",r.InitialEmailReceived="INITIAL_EMAIL_RECEIVED",r.RequestTourDayEmailSent="REQUEST_TOUR_DAY_EMAIL_SENT",r.AiSentTimeSuggestion="AI_SENT_TIME_SUGGESTION",r.AcceptTourTimeEmailSent="ACCEPT_TOUR_TIME_EMAIL_SENT",r.AppointmentScheduled="APPOINTMENT_SCHEDULED",r.AppointmentOnGuestCard="APPOINTMENT_ON_GUEST_CARD",r.RequestCancelTour="REQUEST_CANCEL_TOUR",r.AppointmentCanceled="APPOINTMENT_CANCELED",r.AppointmentRemovedFromGuestCard="APPOINTMENT_REMOVED_FROM_GUEST_CARD",(n=t.WhiteListingExecutionResultStatusAfterStepEnum||(t.WhiteListingExecutionResultStatusAfterStepEnum={})).InProgress="IN_PROGRESS",n.Complete="COMPLETE",n.Error="ERROR",n.Cancelled="CANCELLED",t.WhiteListingExecutionResultFromJSON=function(e){return a(e)},t.WhiteListingExecutionResultFromJSONTyped=a,t.WhiteListingExecutionResultToJSON=function(e){if(void 0!==e)return null===e?null:{didFail:e.didFail,failureReason:e.failureReason,lastStepCompleted:e.lastStepCompleted,statusAfterStep:e.statusAfterStep,configId:e.configId}}},7571:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.XagacityEmailToJSON=t.XagacityEmailFromJSONTyped=t.XagacityEmailFromJSON=void 0;var n=i(296),r=i(1234),o=i(1057),a=i(4891);function s(e,t){return null==e?e:{id:(0,n.exists)(e,"id")?e.id:void 0,clientEmail:(0,n.exists)(e,"clientEmail")?e.clientEmail:void 0,leadEmail:(0,n.exists)(e,"leadEmail")?e.leadEmail:void 0,sender:(0,n.exists)(e,"sender")?e.sender:void 0,recipient:(0,n.exists)(e,"recipient")?e.recipient:void 0,marketplace:(0,n.exists)(e,"marketplace")?e.marketplace:void 0,timeSent:(0,n.exists)(e,"timeSent")?new Date(e.timeSent):void 0,leadId:(0,n.exists)(e,"leadId")?e.leadId:void 0,subject:(0,n.exists)(e,"subject")?e.subject:void 0,messageBody:(0,n.exists)(e,"messageBody")?e.messageBody:void 0,messageId:(0,n.exists)(e,"messageId")?e.messageId:void 0,replyTo:(0,n.exists)(e,"replyTo")?e.replyTo:void 0,senderClean:(0,n.exists)(e,"senderClean")?e.senderClean:void 0,recipientClean:(0,n.exists)(e,"recipientClean")?e.recipientClean:void 0,replyToClean:(0,n.exists)(e,"replyToClean")?e.replyToClean:void 0,ccRecipient:(0,n.exists)(e,"ccRecipient")?e.ccRecipient:void 0,bccRecipient:(0,n.exists)(e,"bccRecipient")?e.bccRecipient:void 0,toRecipients:(0,n.exists)(e,"toRecipients")?e.toRecipients:void 0,labels:(0,n.exists)(e,"labels")?e.labels:void 0,unread:(0,n.exists)(e,"unread")?e.unread:void 0,gmailMessageId:(0,n.exists)(e,"gmailMessageId")?e.gmailMessageId:void 0,gmailThreadId:(0,n.exists)(e,"gmailThreadId")?e.gmailThreadId:void 0,isItProcessed:(0,n.exists)(e,"isItProcessed")?e.isItProcessed:void 0,isFalsePositive:(0,n.exists)(e,"isFalsePositive")?e.isFalsePositive:void 0,htmlEmail:(0,n.exists)(e,"htmlEmail")?e.htmlEmail:void 0,strippedMessage:(0,n.exists)(e,"strippedMessage")?e.strippedMessage:void 0,isForward:(0,n.exists)(e,"isForward")?e.isForward:void 0,isFirstContact:(0,n.exists)(e,"isFirstContact")?e.isFirstContact:void 0,followUpCount:(0,n.exists)(e,"followUpCount")?e.followUpCount:void 0,emailPulled:(0,n.exists)(e,"emailPulled")?e.emailPulled:void 0,automatedResponseStatus:(0,n.exists)(e,"automatedResponseStatus")?e.automatedResponseStatus:void 0,attachments:(0,n.exists)(e,"attachments")?e.attachments.map(r.AttachmentFromJSON):void 0,manuallyTagged:(0,n.exists)(e,"manuallyTagged")?e.manuallyTagged:void 0,requestsSpecificViewingTime:(0,n.exists)(e,"requestsSpecificViewingTime")?e.requestsSpecificViewingTime:void 0,mentionsSpecificAddress:(0,n.exists)(e,"mentionsSpecificAddress")?e.mentionsSpecificAddress:void 0,isAddressEntityTagged:(0,n.exists)(e,"isAddressEntityTagged")?e.isAddressEntityTagged:void 0,addressPulledFromComments:(0,n.exists)(e,"addressPulledFromComments")?e.addressPulledFromComments:void 0,mentionsHousingVoucher:(0,n.exists)(e,"mentionsHousingVoucher")?e.mentionsHousingVoucher:void 0,isBrokerLead:(0,n.exists)(e,"isBrokerLead")?e.isBrokerLead:void 0,snippet:(0,n.exists)(e,"snippet")?e.snippet:void 0,newThread:(0,n.exists)(e,"newThread")?e.newThread:void 0,emailHeader:(0,n.exists)(e,"emailHeader")?e.emailHeader:void 0,inReplyToHeader:(0,n.exists)(e,"inReplyToHeader")?e.inReplyToHeader:void 0,intents:(0,n.exists)(e,"intents")?e.intents.map(o.EliseMessageIntentFromJSON):void 0,attachFloorPlan:(0,n.exists)(e,"attachFloorPlan")?e.attachFloorPlan:void 0,attachFiles:(0,n.exists)(e,"attachFiles")?e.attachFiles:void 0,unitId:(0,n.exists)(e,"unitId")?e.unitId:void 0,responseTemplate:(0,n.exists)(e,"responseTemplate")?e.responseTemplate:void 0,shouldCollapseThread:(0,n.exists)(e,"shouldCollapseThread")?e.shouldCollapseThread:void 0,references:(0,n.exists)(e,"references")?e.references:void 0,actualSenderType:(0,n.exists)(e,"actualSenderType")?e.actualSenderType:void 0,tempField:(0,n.exists)(e,"tempField")?e.tempField:void 0,requiresComposingAReply:(0,n.exists)(e,"requiresComposingAReply")?e.requiresComposingAReply:void 0,messageIdWeRespondedTo:(0,n.exists)(e,"messageIdWeRespondedTo")?e.messageIdWeRespondedTo:void 0,externalIdRelatedToEmail:(0,n.exists)(e,"externalIdRelatedToEmail")?e.externalIdRelatedToEmail:void 0,aitWhoReviewed:(0,n.exists)(e,"aitWhoReviewed")?e.aitWhoReviewed:void 0,aitWhoDrafted:(0,n.exists)(e,"aitWhoDrafted")?e.aitWhoDrafted:void 0,draftSubmissionIsIncorrect:(0,n.exists)(e,"draftSubmissionIsIncorrect")?e.draftSubmissionIsIncorrect:void 0,draftedResponseId:(0,n.exists)(e,"draftedResponseId")?e.draftedResponseId:void 0,draftedResponseIncorrectReason:(0,n.exists)(e,"draftedResponseIncorrectReason")?e.draftedResponseIncorrectReason:void 0,aitSelectedIntents:(0,n.exists)(e,"aitSelectedIntents")?e.aitSelectedIntents:void 0,noNeedForNotificationFlag:(0,n.exists)(e,"noNeedForNotificationFlag")?e.noNeedForNotificationFlag:void 0,traineeEmail:(0,n.exists)(e,"traineeEmail")?e.traineeEmail:void 0,mimeMessage:(0,n.exists)(e,"mimeMessage")?(0,a.XagacityEmailMimeMessageFromJSON)(e.mimeMessage):void 0,stopForwarding:(0,n.exists)(e,"stopForwarding")?e.stopForwarding:void 0,cleanMessage:(0,n.exists)(e,"cleanMessage")?e.cleanMessage:void 0,trackExternalId:(0,n.exists)(e,"trackExternalId")?e.trackExternalId:void 0,externalMarketingSource:(0,n.exists)(e,"externalMarketingSource")?e.externalMarketingSource:void 0,contextId:(0,n.exists)(e,"contextId")?e.contextId:void 0,labelsFromDatabase:(0,n.exists)(e,"labelsFromDatabase")?e.labelsFromDatabase:void 0,recipientsList:(0,n.exists)(e,"recipientsList")?e.recipientsList:void 0,ccRecipientsFromString:(0,n.exists)(e,"ccRecipientsFromString")?e.ccRecipientsFromString:void 0,bccRecipientsFromString:(0,n.exists)(e,"bccRecipientsFromString")?e.bccRecipientsFromString:void 0,trashed:(0,n.exists)(e,"trashed")?e.trashed:void 0,torecipientAsString:(0,n.exists)(e,"torecipientAsString")?e.torecipientAsString:void 0,ccrecipientAsString:(0,n.exists)(e,"ccrecipientAsString")?e.ccrecipientAsString:void 0,toRecipientsFromString:(0,n.exists)(e,"toRecipientsFromString")?e.toRecipientsFromString:void 0,draft:(0,n.exists)(e,"draft")?e.draft:void 0,bccrecipientAsString:(0,n.exists)(e,"bccrecipientAsString")?e.bccrecipientAsString:void 0}}t.XagacityEmailFromJSON=function(e){return s(e)},t.XagacityEmailFromJSONTyped=s,t.XagacityEmailToJSON=function(e){if(void 0!==e)return null===e?null:{id:e.id,clientEmail:e.clientEmail,leadEmail:e.leadEmail,sender:e.sender,recipient:e.recipient,marketplace:e.marketplace,timeSent:void 0===e.timeSent?void 0:e.timeSent.toISOString(),leadId:e.leadId,subject:e.subject,messageBody:e.messageBody,messageId:e.messageId,replyTo:e.replyTo,senderClean:e.senderClean,recipientClean:e.recipientClean,replyToClean:e.replyToClean,ccRecipient:e.ccRecipient,bccRecipient:e.bccRecipient,toRecipients:e.toRecipients,labels:e.labels,unread:e.unread,gmailMessageId:e.gmailMessageId,gmailThreadId:e.gmailThreadId,isItProcessed:e.isItProcessed,isFalsePositive:e.isFalsePositive,htmlEmail:e.htmlEmail,strippedMessage:e.strippedMessage,isForward:e.isForward,isFirstContact:e.isFirstContact,followUpCount:e.followUpCount,emailPulled:e.emailPulled,automatedResponseStatus:e.automatedResponseStatus,attachments:void 0===e.attachments?void 0:e.attachments.map(r.AttachmentToJSON),manuallyTagged:e.manuallyTagged,requestsSpecificViewingTime:e.requestsSpecificViewingTime,mentionsSpecificAddress:e.mentionsSpecificAddress,isAddressEntityTagged:e.isAddressEntityTagged,addressPulledFromComments:e.addressPulledFromComments,mentionsHousingVoucher:e.mentionsHousingVoucher,isBrokerLead:e.isBrokerLead,snippet:e.snippet,newThread:e.newThread,emailHeader:e.emailHeader,inReplyToHeader:e.inReplyToHeader,intents:void 0===e.intents?void 0:e.intents.map(o.EliseMessageIntentToJSON),attachFloorPlan:e.attachFloorPlan,attachFiles:e.attachFiles,unitId:e.unitId,responseTemplate:e.responseTemplate,shouldCollapseThread:e.shouldCollapseThread,references:e.references,actualSenderType:e.actualSenderType,tempField:e.tempField,requiresComposingAReply:e.requiresComposingAReply,messageIdWeRespondedTo:e.messageIdWeRespondedTo,externalIdRelatedToEmail:e.externalIdRelatedToEmail,aitWhoReviewed:e.aitWhoReviewed,aitWhoDrafted:e.aitWhoDrafted,draftSubmissionIsIncorrect:e.draftSubmissionIsIncorrect,draftedResponseId:e.draftedResponseId,draftedResponseIncorrectReason:e.draftedResponseIncorrectReason,aitSelectedIntents:e.aitSelectedIntents,noNeedForNotificationFlag:e.noNeedForNotificationFlag,traineeEmail:e.traineeEmail,mimeMessage:(0,a.XagacityEmailMimeMessageToJSON)(e.mimeMessage),stopForwarding:e.stopForwarding,cleanMessage:e.cleanMessage,trackExternalId:e.trackExternalId,externalMarketingSource:e.externalMarketingSource,contextId:e.contextId,labelsFromDatabase:e.labelsFromDatabase,recipientsList:e.recipientsList,ccRecipientsFromString:e.ccRecipientsFromString,bccRecipientsFromString:e.bccRecipientsFromString,trashed:e.trashed,torecipientAsString:e.torecipientAsString,ccrecipientAsString:e.ccrecipientAsString,toRecipientsFromString:e.toRecipientsFromString,draft:e.draft,bccrecipientAsString:e.bccrecipientAsString}}},4891:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.XagacityEmailMimeMessageToJSON=t.XagacityEmailMimeMessageFromJSONTyped=t.XagacityEmailMimeMessageFromJSON=void 0;var n=i(296),r=i(2294),o=i(2653),a=i(4050),s=i(7918),l=i(3645);function u(e,t){return null==e?e:{expunged:(0,n.exists)(e,"expunged")?e.expunged:void 0,folder:(0,n.exists)(e,"folder")?(0,r.XagacityEmailMimeMessageFolderFromJSON)(e.folder):void 0,session:(0,n.exists)(e,"session")?(0,l.XagacityEmailMimeMessageFolderStoreSessionFromJSON)(e.session):void 0,content:(0,n.exists)(e,"content")?e.content:void 0,flags:(0,n.exists)(e,"flags")?(0,a.XagacityEmailMimeMessageFolderStorePermanentFlagsFromJSON)(e.flags):void 0,text:(0,n.exists)(e,"text")?e.text:void 0,description:(0,n.exists)(e,"description")?e.description:void 0,contentType:(0,n.exists)(e,"contentType")?e.contentType:void 0,subject:(0,n.exists)(e,"subject")?e.subject:void 0,sender:(0,n.exists)(e,"sender")?(0,s.XagacityEmailMimeMessageFolderStoreReplyToFromJSON)(e.sender):void 0,replyTo:(0,n.exists)(e,"replyTo")?e.replyTo.map(s.XagacityEmailMimeMessageFolderStoreReplyToFromJSON):void 0,receivedDate:(0,n.exists)(e,"receivedDate")?new Date(e.receivedDate):void 0,lineCount:(0,n.exists)(e,"lineCount")?e.lineCount:void 0,disposition:(0,n.exists)(e,"disposition")?e.disposition:void 0,contentID:(0,n.exists)(e,"contentID")?e.contentID:void 0,contentMD5:(0,n.exists)(e,"contentMD5")?e.contentMD5:void 0,contentLanguage:(0,n.exists)(e,"contentLanguage")?e.contentLanguage:void 0,rawInputStream:(0,n.exists)(e,"rawInputStream")?e.rawInputStream:void 0,dataHandler:(0,n.exists)(e,"dataHandler")?(0,o.XagacityEmailMimeMessageFolderStoreDataHandlerFromJSON)(e.dataHandler):void 0,allHeaders:(0,n.exists)(e,"allHeaders")?e.allHeaders:void 0,allHeaderLines:(0,n.exists)(e,"allHeaderLines")?e.allHeaderLines:void 0,from:(0,n.exists)(e,"from")?e.from.map(s.XagacityEmailMimeMessageFolderStoreReplyToFromJSON):void 0,size:(0,n.exists)(e,"size")?e.size:void 0,inputStream:(0,n.exists)(e,"inputStream")?e.inputStream:void 0,fileName:(0,n.exists)(e,"fileName")?e.fileName:void 0,encoding:(0,n.exists)(e,"encoding")?e.encoding:void 0,sentDate:(0,n.exists)(e,"sentDate")?new Date(e.sentDate):void 0,messageID:(0,n.exists)(e,"messageID")?e.messageID:void 0,allRecipients:(0,n.exists)(e,"allRecipients")?e.allRecipients.map(s.XagacityEmailMimeMessageFolderStoreReplyToFromJSON):void 0,messageNumber:(0,n.exists)(e,"messageNumber")?e.messageNumber:void 0}}t.XagacityEmailMimeMessageFromJSON=function(e){return u(e)},t.XagacityEmailMimeMessageFromJSONTyped=u,t.XagacityEmailMimeMessageToJSON=function(e){if(void 0!==e)return null===e?null:{expunged:e.expunged,folder:(0,r.XagacityEmailMimeMessageFolderToJSON)(e.folder),session:(0,l.XagacityEmailMimeMessageFolderStoreSessionToJSON)(e.session),content:e.content,flags:(0,a.XagacityEmailMimeMessageFolderStorePermanentFlagsToJSON)(e.flags),text:e.text,description:e.description,contentType:e.contentType,subject:e.subject,sender:(0,s.XagacityEmailMimeMessageFolderStoreReplyToToJSON)(e.sender),replyTo:void 0===e.replyTo?void 0:e.replyTo.map(s.XagacityEmailMimeMessageFolderStoreReplyToToJSON),receivedDate:void 0===e.receivedDate?void 0:e.receivedDate.toISOString(),lineCount:e.lineCount,disposition:e.disposition,contentID:e.contentID,contentMD5:e.contentMD5,contentLanguage:e.contentLanguage,rawInputStream:e.rawInputStream,dataHandler:(0,o.XagacityEmailMimeMessageFolderStoreDataHandlerToJSON)(e.dataHandler),allHeaders:e.allHeaders,allHeaderLines:e.allHeaderLines,from:void 0===e.from?void 0:e.from.map(s.XagacityEmailMimeMessageFolderStoreReplyToToJSON),size:e.size,inputStream:e.inputStream,fileName:e.fileName,encoding:e.encoding,sentDate:void 0===e.sentDate?void 0:e.sentDate.toISOString(),messageID:e.messageID,allRecipients:void 0===e.allRecipients?void 0:e.allRecipients.map(s.XagacityEmailMimeMessageFolderStoreReplyToToJSON),messageNumber:e.messageNumber}}},2294:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.XagacityEmailMimeMessageFolderToJSON=t.XagacityEmailMimeMessageFolderFromJSONTyped=t.XagacityEmailMimeMessageFolderFromJSON=void 0;var n=i(296),r=i(2394),o=i(6826),a=i(4050),s=i(3057);function l(e,t){return null==e?e:{store:(0,n.exists)(e,"store")?(0,r.XagacityEmailMimeMessageFolderStoreFromJSON)(e.store):void 0,mode:(0,n.exists)(e,"mode")?e.mode:void 0,urlname:(0,n.exists)(e,"urlname")?(0,s.XagacityEmailMimeMessageFolderStoreUrlnameFromJSON)(e.urlname):void 0,fullName:(0,n.exists)(e,"fullName")?e.fullName:void 0,subscribed:(0,n.exists)(e,"subscribed")?e.subscribed:void 0,permanentFlags:(0,n.exists)(e,"permanentFlags")?(0,a.XagacityEmailMimeMessageFolderStorePermanentFlagsFromJSON)(e.permanentFlags):void 0,messageCount:(0,n.exists)(e,"messageCount")?e.messageCount:void 0,newMessageCount:(0,n.exists)(e,"newMessageCount")?e.newMessageCount:void 0,unreadMessageCount:(0,n.exists)(e,"unreadMessageCount")?e.unreadMessageCount:void 0,deletedMessageCount:(0,n.exists)(e,"deletedMessageCount")?e.deletedMessageCount:void 0,name:(0,n.exists)(e,"name")?e.name:void 0,open:(0,n.exists)(e,"open")?e.open:void 0,type:(0,n.exists)(e,"type")?e.type:void 0,separator:(0,n.exists)(e,"separator")?e.separator:void 0,messages:(0,n.exists)(e,"messages")?e.messages.map(o.XagacityEmailMimeMessageFolderStoreMessagesFromJSON):void 0}}t.XagacityEmailMimeMessageFolderFromJSON=function(e){return l(e)},t.XagacityEmailMimeMessageFolderFromJSONTyped=l,t.XagacityEmailMimeMessageFolderToJSON=function(e){if(void 0!==e)return null===e?null:{store:(0,r.XagacityEmailMimeMessageFolderStoreToJSON)(e.store),mode:e.mode,urlname:(0,s.XagacityEmailMimeMessageFolderStoreUrlnameToJSON)(e.urlname),fullName:e.fullName,subscribed:e.subscribed,permanentFlags:(0,a.XagacityEmailMimeMessageFolderStorePermanentFlagsToJSON)(e.permanentFlags),messageCount:e.messageCount,newMessageCount:e.newMessageCount,unreadMessageCount:e.unreadMessageCount,deletedMessageCount:e.deletedMessageCount,name:e.name,open:e.open,type:e.type,separator:e.separator,messages:void 0===e.messages?void 0:e.messages.map(o.XagacityEmailMimeMessageFolderStoreMessagesToJSON)}}},2394:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.XagacityEmailMimeMessageFolderStoreToJSON=t.XagacityEmailMimeMessageFolderStoreFromJSONTyped=t.XagacityEmailMimeMessageFolderStoreFromJSON=void 0;var n=i(296),r=i(403),o=i(3057);function a(e,t){return null==e?e:{connected:(0,n.exists)(e,"connected")?e.connected:void 0,personalNamespaces:(0,n.exists)(e,"personalNamespaces")?e.personalNamespaces.map(r.XagacityEmailMimeMessageFolderStorePersonalNamespacesFromJSON):void 0,sharedNamespaces:(0,n.exists)(e,"sharedNamespaces")?e.sharedNamespaces.map(r.XagacityEmailMimeMessageFolderStorePersonalNamespacesFromJSON):void 0,urlname:(0,n.exists)(e,"urlname")?(0,o.XagacityEmailMimeMessageFolderStoreUrlnameFromJSON)(e.urlname):void 0}}t.XagacityEmailMimeMessageFolderStoreFromJSON=function(e){return a(e)},t.XagacityEmailMimeMessageFolderStoreFromJSONTyped=a,t.XagacityEmailMimeMessageFolderStoreToJSON=function(e){if(void 0!==e)return null===e?null:{connected:e.connected,personalNamespaces:void 0===e.personalNamespaces?void 0:e.personalNamespaces.map(r.XagacityEmailMimeMessageFolderStorePersonalNamespacesToJSON),sharedNamespaces:void 0===e.sharedNamespaces?void 0:e.sharedNamespaces.map(r.XagacityEmailMimeMessageFolderStorePersonalNamespacesToJSON),urlname:(0,o.XagacityEmailMimeMessageFolderStoreUrlnameToJSON)(e.urlname)}}},2653:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.XagacityEmailMimeMessageFolderStoreDataHandlerToJSON=t.XagacityEmailMimeMessageFolderStoreDataHandlerFromJSONTyped=t.XagacityEmailMimeMessageFolderStoreDataHandlerFromJSON=void 0;var n=i(296),r=i(9046),o=i(8819),a=i(6799),s=i(6228);function l(e,t){return null==e?e:{dataSource:(0,n.exists)(e,"dataSource")?(0,o.XagacityEmailMimeMessageFolderStoreDataHandlerDataSourceFromJSON)(e.dataSource):void 0,contentType:(0,n.exists)(e,"contentType")?e.contentType:void 0,outputStream:(0,n.exists)(e,"outputStream")?e.outputStream:void 0,commandMap:(0,n.exists)(e,"commandMap")?(0,r.XagacityEmailMimeMessageFolderStoreDataHandlerCommandMapFromJSON)(e.commandMap):void 0,transferDataFlavors:(0,n.exists)(e,"transferDataFlavors")?e.transferDataFlavors.map(s.XagacityEmailMimeMessageFolderStoreDataHandlerTransferDataFlavorsFromJSON):void 0,preferredCommands:(0,n.exists)(e,"preferredCommands")?e.preferredCommands.map(a.XagacityEmailMimeMessageFolderStoreDataHandlerPreferredCommandsFromJSON):void 0,allCommands:(0,n.exists)(e,"allCommands")?e.allCommands.map(a.XagacityEmailMimeMessageFolderStoreDataHandlerPreferredCommandsFromJSON):void 0,name:(0,n.exists)(e,"name")?e.name:void 0,content:(0,n.exists)(e,"content")?e.content:void 0,inputStream:(0,n.exists)(e,"inputStream")?e.inputStream:void 0}}t.XagacityEmailMimeMessageFolderStoreDataHandlerFromJSON=function(e){return l(e)},t.XagacityEmailMimeMessageFolderStoreDataHandlerFromJSONTyped=l,t.XagacityEmailMimeMessageFolderStoreDataHandlerToJSON=function(e){if(void 0!==e)return null===e?null:{dataSource:(0,o.XagacityEmailMimeMessageFolderStoreDataHandlerDataSourceToJSON)(e.dataSource),contentType:e.contentType,outputStream:e.outputStream,commandMap:(0,r.XagacityEmailMimeMessageFolderStoreDataHandlerCommandMapToJSON)(e.commandMap),transferDataFlavors:void 0===e.transferDataFlavors?void 0:e.transferDataFlavors.map(s.XagacityEmailMimeMessageFolderStoreDataHandlerTransferDataFlavorsToJSON),preferredCommands:void 0===e.preferredCommands?void 0:e.preferredCommands.map(a.XagacityEmailMimeMessageFolderStoreDataHandlerPreferredCommandsToJSON),allCommands:void 0===e.allCommands?void 0:e.allCommands.map(a.XagacityEmailMimeMessageFolderStoreDataHandlerPreferredCommandsToJSON),name:e.name,content:e.content,inputStream:e.inputStream}}},9046:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.XagacityEmailMimeMessageFolderStoreDataHandlerCommandMapToJSON=t.XagacityEmailMimeMessageFolderStoreDataHandlerCommandMapFromJSONTyped=t.XagacityEmailMimeMessageFolderStoreDataHandlerCommandMapFromJSON=void 0;var n=i(296);function r(e,t){return null==e?e:{mimeTypes:(0,n.exists)(e,"mimeTypes")?e.mimeTypes:void 0}}t.XagacityEmailMimeMessageFolderStoreDataHandlerCommandMapFromJSON=function(e){return r(e)},t.XagacityEmailMimeMessageFolderStoreDataHandlerCommandMapFromJSONTyped=r,t.XagacityEmailMimeMessageFolderStoreDataHandlerCommandMapToJSON=function(e){if(void 0!==e)return null===e?null:{mimeTypes:e.mimeTypes}}},8819:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.XagacityEmailMimeMessageFolderStoreDataHandlerDataSourceToJSON=t.XagacityEmailMimeMessageFolderStoreDataHandlerDataSourceFromJSONTyped=t.XagacityEmailMimeMessageFolderStoreDataHandlerDataSourceFromJSON=void 0;var n=i(296);function r(e,t){return null==e?e:{contentType:(0,n.exists)(e,"contentType")?e.contentType:void 0,outputStream:(0,n.exists)(e,"outputStream")?e.outputStream:void 0,name:(0,n.exists)(e,"name")?e.name:void 0,inputStream:(0,n.exists)(e,"inputStream")?e.inputStream:void 0}}t.XagacityEmailMimeMessageFolderStoreDataHandlerDataSourceFromJSON=function(e){return r(e)},t.XagacityEmailMimeMessageFolderStoreDataHandlerDataSourceFromJSONTyped=r,t.XagacityEmailMimeMessageFolderStoreDataHandlerDataSourceToJSON=function(e){if(void 0!==e)return null===e?null:{contentType:e.contentType,outputStream:e.outputStream,name:e.name,inputStream:e.inputStream}}},6799:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.XagacityEmailMimeMessageFolderStoreDataHandlerPreferredCommandsToJSON=t.XagacityEmailMimeMessageFolderStoreDataHandlerPreferredCommandsFromJSONTyped=t.XagacityEmailMimeMessageFolderStoreDataHandlerPreferredCommandsFromJSON=void 0;var n=i(296);function r(e,t){return null==e?e:{commandName:(0,n.exists)(e,"commandName")?e.commandName:void 0,commandClass:(0,n.exists)(e,"commandClass")?e.commandClass:void 0}}t.XagacityEmailMimeMessageFolderStoreDataHandlerPreferredCommandsFromJSON=function(e){return r(e)},t.XagacityEmailMimeMessageFolderStoreDataHandlerPreferredCommandsFromJSONTyped=r,t.XagacityEmailMimeMessageFolderStoreDataHandlerPreferredCommandsToJSON=function(e){if(void 0!==e)return null===e?null:{commandName:e.commandName,commandClass:e.commandClass}}},6228:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.XagacityEmailMimeMessageFolderStoreDataHandlerTransferDataFlavorsToJSON=t.XagacityEmailMimeMessageFolderStoreDataHandlerTransferDataFlavorsFromJSONTyped=t.XagacityEmailMimeMessageFolderStoreDataHandlerTransferDataFlavorsFromJSON=void 0;var n=i(296);function r(e,t){return null==e?e:{mimeType:(0,n.exists)(e,"mimeType")?e.mimeType:void 0,humanPresentableName:(0,n.exists)(e,"humanPresentableName")?e.humanPresentableName:void 0,subType:(0,n.exists)(e,"subType")?e.subType:void 0,primaryType:(0,n.exists)(e,"primaryType")?e.primaryType:void 0,mimeTypeSerializedObject:(0,n.exists)(e,"mimeTypeSerializedObject")?e.mimeTypeSerializedObject:void 0,defaultRepresentationClassAsString:(0,n.exists)(e,"defaultRepresentationClassAsString")?e.defaultRepresentationClassAsString:void 0,representationClassInputStream:(0,n.exists)(e,"representationClassInputStream")?e.representationClassInputStream:void 0,representationClassReader:(0,n.exists)(e,"representationClassReader")?e.representationClassReader:void 0,representationClassCharBuffer:(0,n.exists)(e,"representationClassCharBuffer")?e.representationClassCharBuffer:void 0,representationClassByteBuffer:(0,n.exists)(e,"representationClassByteBuffer")?e.representationClassByteBuffer:void 0,representationClassSerializable:(0,n.exists)(e,"representationClassSerializable")?e.representationClassSerializable:void 0,representationClassRemote:(0,n.exists)(e,"representationClassRemote")?e.representationClassRemote:void 0,flavorSerializedObjectType:(0,n.exists)(e,"flavorSerializedObjectType")?e.flavorSerializedObjectType:void 0,flavorRemoteObjectType:(0,n.exists)(e,"flavorRemoteObjectType")?e.flavorRemoteObjectType:void 0,flavorJavaFileListType:(0,n.exists)(e,"flavorJavaFileListType")?e.flavorJavaFileListType:void 0,flavorTextType:(0,n.exists)(e,"flavorTextType")?e.flavorTextType:void 0}}t.XagacityEmailMimeMessageFolderStoreDataHandlerTransferDataFlavorsFromJSON=function(e){return r(e)},t.XagacityEmailMimeMessageFolderStoreDataHandlerTransferDataFlavorsFromJSONTyped=r,t.XagacityEmailMimeMessageFolderStoreDataHandlerTransferDataFlavorsToJSON=function(e){if(void 0!==e)return null===e?null:{mimeType:e.mimeType,humanPresentableName:e.humanPresentableName,subType:e.subType,primaryType:e.primaryType,mimeTypeSerializedObject:e.mimeTypeSerializedObject,defaultRepresentationClassAsString:e.defaultRepresentationClassAsString,representationClassInputStream:e.representationClassInputStream,representationClassReader:e.representationClassReader,representationClassCharBuffer:e.representationClassCharBuffer,representationClassByteBuffer:e.representationClassByteBuffer,representationClassSerializable:e.representationClassSerializable,representationClassRemote:e.representationClassRemote,flavorSerializedObjectType:e.flavorSerializedObjectType,flavorRemoteObjectType:e.flavorRemoteObjectType,flavorJavaFileListType:e.flavorJavaFileListType,flavorTextType:e.flavorTextType}}},6826:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.XagacityEmailMimeMessageFolderStoreMessagesToJSON=t.XagacityEmailMimeMessageFolderStoreMessagesFromJSONTyped=t.XagacityEmailMimeMessageFolderStoreMessagesFromJSON=void 0;var n=i(296),r=i(2653),o=i(4050),a=i(7918),s=i(3645);function l(e,t){return null==e?e:{expunged:(0,n.exists)(e,"expunged")?e.expunged:void 0,session:(0,n.exists)(e,"session")?(0,s.XagacityEmailMimeMessageFolderStoreSessionFromJSON)(e.session):void 0,flags:(0,n.exists)(e,"flags")?(0,o.XagacityEmailMimeMessageFolderStorePermanentFlagsFromJSON)(e.flags):void 0,subject:(0,n.exists)(e,"subject")?e.subject:void 0,replyTo:(0,n.exists)(e,"replyTo")?e.replyTo.map(a.XagacityEmailMimeMessageFolderStoreReplyToFromJSON):void 0,receivedDate:(0,n.exists)(e,"receivedDate")?new Date(e.receivedDate):void 0,from:(0,n.exists)(e,"from")?e.from.map(a.XagacityEmailMimeMessageFolderStoreReplyToFromJSON):void 0,messageNumber:(0,n.exists)(e,"messageNumber")?e.messageNumber:void 0,sentDate:(0,n.exists)(e,"sentDate")?new Date(e.sentDate):void 0,allRecipients:(0,n.exists)(e,"allRecipients")?e.allRecipients.map(a.XagacityEmailMimeMessageFolderStoreReplyToFromJSON):void 0,text:(0,n.exists)(e,"text")?e.text:void 0,description:(0,n.exists)(e,"description")?e.description:void 0,contentType:(0,n.exists)(e,"contentType")?e.contentType:void 0,lineCount:(0,n.exists)(e,"lineCount")?e.lineCount:void 0,disposition:(0,n.exists)(e,"disposition")?e.disposition:void 0,dataHandler:(0,n.exists)(e,"dataHandler")?(0,r.XagacityEmailMimeMessageFolderStoreDataHandlerFromJSON)(e.dataHandler):void 0,content:(0,n.exists)(e,"content")?e.content:void 0,allHeaders:(0,n.exists)(e,"allHeaders")?e.allHeaders:void 0,size:(0,n.exists)(e,"size")?e.size:void 0,inputStream:(0,n.exists)(e,"inputStream")?e.inputStream:void 0,fileName:(0,n.exists)(e,"fileName")?e.fileName:void 0}}t.XagacityEmailMimeMessageFolderStoreMessagesFromJSON=function(e){return l(e)},t.XagacityEmailMimeMessageFolderStoreMessagesFromJSONTyped=l,t.XagacityEmailMimeMessageFolderStoreMessagesToJSON=function(e){if(void 0!==e)return null===e?null:{expunged:e.expunged,session:(0,s.XagacityEmailMimeMessageFolderStoreSessionToJSON)(e.session),flags:(0,o.XagacityEmailMimeMessageFolderStorePermanentFlagsToJSON)(e.flags),subject:e.subject,replyTo:void 0===e.replyTo?void 0:e.replyTo.map(a.XagacityEmailMimeMessageFolderStoreReplyToToJSON),receivedDate:void 0===e.receivedDate?void 0:e.receivedDate.toISOString(),from:void 0===e.from?void 0:e.from.map(a.XagacityEmailMimeMessageFolderStoreReplyToToJSON),messageNumber:e.messageNumber,sentDate:void 0===e.sentDate?void 0:e.sentDate.toISOString(),allRecipients:void 0===e.allRecipients?void 0:e.allRecipients.map(a.XagacityEmailMimeMessageFolderStoreReplyToToJSON),text:e.text,description:e.description,contentType:e.contentType,lineCount:e.lineCount,disposition:e.disposition,dataHandler:(0,r.XagacityEmailMimeMessageFolderStoreDataHandlerToJSON)(e.dataHandler),content:e.content,allHeaders:e.allHeaders,size:e.size,inputStream:e.inputStream,fileName:e.fileName}}},4050:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.XagacityEmailMimeMessageFolderStorePermanentFlagsToJSON=t.XagacityEmailMimeMessageFolderStorePermanentFlagsFromJSONTyped=t.XagacityEmailMimeMessageFolderStorePermanentFlagsFromJSON=void 0;var n=i(296);function r(e,t){return null==e?e:{systemFlags:(0,n.exists)(e,"systemFlags")?e.systemFlags:void 0,userFlags:(0,n.exists)(e,"userFlags")?e.userFlags:void 0}}t.XagacityEmailMimeMessageFolderStorePermanentFlagsFromJSON=function(e){return r(e)},t.XagacityEmailMimeMessageFolderStorePermanentFlagsFromJSONTyped=r,t.XagacityEmailMimeMessageFolderStorePermanentFlagsToJSON=function(e){if(void 0!==e)return null===e?null:{systemFlags:e.systemFlags,userFlags:e.userFlags}}},403:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.XagacityEmailMimeMessageFolderStorePersonalNamespacesToJSON=t.XagacityEmailMimeMessageFolderStorePersonalNamespacesFromJSONTyped=t.XagacityEmailMimeMessageFolderStorePersonalNamespacesFromJSON=void 0;var n=i(296),r=i(6826),o=i(4050),a=i(3057);function s(e,t){return null==e?e:{mode:(0,n.exists)(e,"mode")?e.mode:void 0,urlname:(0,n.exists)(e,"urlname")?(0,a.XagacityEmailMimeMessageFolderStoreUrlnameFromJSON)(e.urlname):void 0,fullName:(0,n.exists)(e,"fullName")?e.fullName:void 0,subscribed:(0,n.exists)(e,"subscribed")?e.subscribed:void 0,permanentFlags:(0,n.exists)(e,"permanentFlags")?(0,o.XagacityEmailMimeMessageFolderStorePermanentFlagsFromJSON)(e.permanentFlags):void 0,messageCount:(0,n.exists)(e,"messageCount")?e.messageCount:void 0,newMessageCount:(0,n.exists)(e,"newMessageCount")?e.newMessageCount:void 0,unreadMessageCount:(0,n.exists)(e,"unreadMessageCount")?e.unreadMessageCount:void 0,deletedMessageCount:(0,n.exists)(e,"deletedMessageCount")?e.deletedMessageCount:void 0,name:(0,n.exists)(e,"name")?e.name:void 0,open:(0,n.exists)(e,"open")?e.open:void 0,type:(0,n.exists)(e,"type")?e.type:void 0,separator:(0,n.exists)(e,"separator")?e.separator:void 0,messages:(0,n.exists)(e,"messages")?e.messages.map(r.XagacityEmailMimeMessageFolderStoreMessagesFromJSON):void 0}}t.XagacityEmailMimeMessageFolderStorePersonalNamespacesFromJSON=function(e){return s(e)},t.XagacityEmailMimeMessageFolderStorePersonalNamespacesFromJSONTyped=s,t.XagacityEmailMimeMessageFolderStorePersonalNamespacesToJSON=function(e){if(void 0!==e)return null===e?null:{mode:e.mode,urlname:(0,a.XagacityEmailMimeMessageFolderStoreUrlnameToJSON)(e.urlname),fullName:e.fullName,subscribed:e.subscribed,permanentFlags:(0,o.XagacityEmailMimeMessageFolderStorePermanentFlagsToJSON)(e.permanentFlags),messageCount:e.messageCount,newMessageCount:e.newMessageCount,unreadMessageCount:e.unreadMessageCount,deletedMessageCount:e.deletedMessageCount,name:e.name,open:e.open,type:e.type,separator:e.separator,messages:void 0===e.messages?void 0:e.messages.map(r.XagacityEmailMimeMessageFolderStoreMessagesToJSON)}}},7918:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.XagacityEmailMimeMessageFolderStoreReplyToToJSON=t.XagacityEmailMimeMessageFolderStoreReplyToFromJSONTyped=t.XagacityEmailMimeMessageFolderStoreReplyToFromJSON=void 0;var n=i(296);function r(e,t){return null==e?e:{type:(0,n.exists)(e,"type")?e.type:void 0}}t.XagacityEmailMimeMessageFolderStoreReplyToFromJSON=function(e){return r(e)},t.XagacityEmailMimeMessageFolderStoreReplyToFromJSONTyped=r,t.XagacityEmailMimeMessageFolderStoreReplyToToJSON=function(e){if(void 0!==e)return null===e?null:{type:e.type}}},3645:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.XagacityEmailMimeMessageFolderStoreSessionToJSON=t.XagacityEmailMimeMessageFolderStoreSessionFromJSONTyped=t.XagacityEmailMimeMessageFolderStoreSessionFromJSON=void 0;var n=i(296),r=i(4586),o=i(560),a=i(5108);function s(e,t){return null==e?e:{debug:(0,n.exists)(e,"debug")?e.debug:void 0,providers:(0,n.exists)(e,"providers")?e.providers.map(o.XagacityEmailMimeMessageFolderStoreSessionProvidersFromJSON):void 0,debugOut:(0,n.exists)(e,"debugOut")?e.debugOut:void 0,properties:(0,n.exists)(e,"properties")?e.properties:void 0,provider:(0,n.exists)(e,"provider")?(0,r.XagacityEmailMimeMessageFolderStoreSessionProviderFromJSON)(e.provider):void 0,transport:(0,n.exists)(e,"transport")?(0,a.XagacityEmailMimeMessageFolderStoreSessionTransportFromJSON)(e.transport):void 0}}t.XagacityEmailMimeMessageFolderStoreSessionFromJSON=function(e){return s(e)},t.XagacityEmailMimeMessageFolderStoreSessionFromJSONTyped=s,t.XagacityEmailMimeMessageFolderStoreSessionToJSON=function(e){if(void 0!==e)return null===e?null:{debug:e.debug,providers:void 0===e.providers?void 0:e.providers.map(o.XagacityEmailMimeMessageFolderStoreSessionProvidersToJSON),debugOut:e.debugOut,properties:e.properties,provider:(0,r.XagacityEmailMimeMessageFolderStoreSessionProviderToJSON)(e.provider),transport:(0,a.XagacityEmailMimeMessageFolderStoreSessionTransportToJSON)(e.transport)}}},4586:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.XagacityEmailMimeMessageFolderStoreSessionProviderToJSON=t.XagacityEmailMimeMessageFolderStoreSessionProviderFromJSONTyped=t.XagacityEmailMimeMessageFolderStoreSessionProviderFromJSON=void 0;var n=i(296);function r(e,t){return null==e?e:{type:(0,n.exists)(e,"type")?e.type:void 0,protocol:(0,n.exists)(e,"protocol")?e.protocol:void 0,className:(0,n.exists)(e,"className")?e.className:void 0,vendor:(0,n.exists)(e,"vendor")?e.vendor:void 0,version:(0,n.exists)(e,"version")?e.version:void 0}}t.XagacityEmailMimeMessageFolderStoreSessionProviderFromJSON=function(e){return r(e)},t.XagacityEmailMimeMessageFolderStoreSessionProviderFromJSONTyped=r,t.XagacityEmailMimeMessageFolderStoreSessionProviderToJSON=function(e){if(void 0!==e)return null===e?null:{type:e.type,protocol:e.protocol,className:e.className,vendor:e.vendor,version:e.version}}},560:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.XagacityEmailMimeMessageFolderStoreSessionProvidersToJSON=t.XagacityEmailMimeMessageFolderStoreSessionProvidersFromJSONTyped=t.XagacityEmailMimeMessageFolderStoreSessionProvidersFromJSON=void 0;var n=i(296);function r(e,t){return null==e?e:{type:(0,n.exists)(e,"type")?e.type:void 0,protocol:(0,n.exists)(e,"protocol")?e.protocol:void 0,className:(0,n.exists)(e,"className")?e.className:void 0,vendor:(0,n.exists)(e,"vendor")?e.vendor:void 0,version:(0,n.exists)(e,"version")?e.version:void 0}}t.XagacityEmailMimeMessageFolderStoreSessionProvidersFromJSON=function(e){return r(e)},t.XagacityEmailMimeMessageFolderStoreSessionProvidersFromJSONTyped=r,t.XagacityEmailMimeMessageFolderStoreSessionProvidersToJSON=function(e){if(void 0!==e)return null===e?null:{type:e.type,protocol:e.protocol,className:e.className,vendor:e.vendor,version:e.version}}},5108:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.XagacityEmailMimeMessageFolderStoreSessionTransportToJSON=t.XagacityEmailMimeMessageFolderStoreSessionTransportFromJSONTyped=t.XagacityEmailMimeMessageFolderStoreSessionTransportFromJSON=void 0;var n=i(296),r=i(3057);function o(e,t){return null==e?e:{connected:(0,n.exists)(e,"connected")?e.connected:void 0,urlname:(0,n.exists)(e,"urlname")?(0,r.XagacityEmailMimeMessageFolderStoreUrlnameFromJSON)(e.urlname):void 0}}t.XagacityEmailMimeMessageFolderStoreSessionTransportFromJSON=function(e){return o(e)},t.XagacityEmailMimeMessageFolderStoreSessionTransportFromJSONTyped=o,t.XagacityEmailMimeMessageFolderStoreSessionTransportToJSON=function(e){if(void 0!==e)return null===e?null:{connected:e.connected,urlname:(0,r.XagacityEmailMimeMessageFolderStoreUrlnameToJSON)(e.urlname)}}},3057:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.XagacityEmailMimeMessageFolderStoreUrlnameToJSON=t.XagacityEmailMimeMessageFolderStoreUrlnameFromJSONTyped=t.XagacityEmailMimeMessageFolderStoreUrlnameFromJSON=void 0;var n=i(296);function r(e,t){return null==e?e:{protocol:(0,n.exists)(e,"protocol")?e.protocol:void 0,username:(0,n.exists)(e,"username")?e.username:void 0,password:(0,n.exists)(e,"password")?e.password:void 0,host:(0,n.exists)(e,"host")?e.host:void 0,port:(0,n.exists)(e,"port")?e.port:void 0,file:(0,n.exists)(e,"file")?e.file:void 0,ref:(0,n.exists)(e,"ref")?e.ref:void 0,url:(0,n.exists)(e,"url")?e.url:void 0}}t.XagacityEmailMimeMessageFolderStoreUrlnameFromJSON=function(e){return r(e)},t.XagacityEmailMimeMessageFolderStoreUrlnameFromJSONTyped=r,t.XagacityEmailMimeMessageFolderStoreUrlnameToJSON=function(e){if(void 0!==e)return null===e?null:{protocol:e.protocol,username:e.username,password:e.password,host:e.host,port:e.port,file:e.file,ref:e.ref,url:e.url}}},1283:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.XagacityUserToJSON=t.XagacityUserFromJSONTyped=t.XagacityUserFromJSON=t.XagacityUserIdVerificationProviderEnum=void 0;var n,r=i(296),o=i(1995),a=i(6597);function s(e,t){return null==e?e:{id:(0,r.exists)(e,"id")?e.id:void 0,organizationId:(0,r.exists)(e,"organizationId")?e.organizationId:void 0,clientEmail:(0,r.exists)(e,"clientEmail")?e.clientEmail:void 0,priority:(0,r.exists)(e,"priority")?e.priority:void 0,firstName:(0,r.exists)(e,"firstName")?e.firstName:void 0,active:(0,r.exists)(e,"active")?e.active:void 0,eliseUser:(0,r.exists)(e,"eliseUser")?e.eliseUser:void 0,payingOrTrial:(0,r.exists)(e,"payingOrTrial")?e.payingOrTrial:void 0,emailPushNotificationsActive:(0,r.exists)(e,"emailPushNotificationsActive")?e.emailPushNotificationsActive:void 0,emailPushNotificationsExpiration:(0,r.exists)(e,"emailPushNotificationsExpiration")?e.emailPushNotificationsExpiration:void 0,emailClientType:(0,r.exists)(e,"emailClientType")?e.emailClientType:void 0,textApi:(0,r.exists)(e,"textApi")?e.textApi:void 0,timezone:(0,r.exists)(e,"timezone")?e.timezone:void 0,outlookTimeOfLastSyncedMessage:(0,r.exists)(e,"outlookTimeOfLastSyncedMessage")?e.outlookTimeOfLastSyncedMessage:void 0,outlookIdOfLastSyncedMessage:(0,r.exists)(e,"outlookIdOfLastSyncedMessage")?e.outlookIdOfLastSyncedMessage:void 0,xagacityLabel:(0,r.exists)(e,"xagacityLabel")?e.xagacityLabel:void 0,unreadState:(0,r.exists)(e,"unreadState")?e.unreadState:void 0,agentSignature:(0,r.exists)(e,"agentSignature")?e.agentSignature:void 0,specificGuidlines:(0,r.exists)(e,"specificGuidlines")?e.specificGuidlines:void 0,templates:(0,r.exists)(e,"templates")?e.templates:void 0,agentPhoneNumber:(0,r.exists)(e,"agentPhoneNumber")?e.agentPhoneNumber:void 0,isItProcessed:(0,r.exists)(e,"isItProcessed")?e.isItProcessed:void 0,removeFromInbox:(0,r.exists)(e,"removeFromInbox")?e.removeFromInbox:void 0,draftReply:(0,r.exists)(e,"draftReply")?e.draftReply:void 0,forwardToTeamAgent:(0,r.exists)(e,"forwardToTeamAgent")?e.forwardToTeamAgent:void 0,gmailHistoryId:(0,r.exists)(e,"gmailHistoryId")?e.gmailHistoryId:void 0,collectDataOn:(0,r.exists)(e,"collectDataOn")?e.collectDataOn:void 0,actualAssistant:(0,r.exists)(e,"actualAssistant")?e.actualAssistant:void 0,lastName:(0,r.exists)(e,"lastName")?e.lastName:void 0,subjectPreference:(0,r.exists)(e,"subjectPreference")?e.subjectPreference:void 0,getgSheetId:(0,r.exists)(e,"getgSheetId")?e.getgSheetId:void 0,autoDrafting:(0,r.exists)(e,"autoDrafting")?e.autoDrafting:void 0,followUpsRequired:(0,r.exists)(e,"followUpsRequired")?e.followUpsRequired:void 0,followUpsTemplates:(0,r.exists)(e,"followUpsTemplates")?e.followUpsTemplates:void 0,lockedSheet:(0,r.exists)(e,"lockedSheet")?e.lockedSheet:void 0,smartResponding:(0,r.exists)(e,"smartResponding")?e.smartResponding:void 0,pendingFollowUps:(0,r.exists)(e,"pendingFollowUps")?e.pendingFollowUps:void 0,xagacityNumber:(0,r.exists)(e,"xagacityNumber")?e.xagacityNumber:void 0,password:(0,r.exists)(e,"password")?e.password:void 0,calendarHistoryId:(0,r.exists)(e,"calendarHistoryId")?e.calendarHistoryId:void 0,calendarName:(0,r.exists)(e,"calendarName")?e.calendarName:void 0,hasSalesforce:(0,r.exists)(e,"hasSalesforce")?e.hasSalesforce:void 0,dateActive:(0,r.exists)(e,"dateActive")?new Date(e.dateActive):void 0,leadTrackingEmailForwardingActive:(0,r.exists)(e,"leadTrackingEmailForwardingActive")?e.leadTrackingEmailForwardingActive:void 0,receivesForwardedEmails:(0,r.exists)(e,"receivesForwardedEmails")?e.receivesForwardedEmails:void 0,messageDelayInSeconds:(0,r.exists)(e,"messageDelayInSeconds")?e.messageDelayInSeconds:void 0,crmUsedType:(0,r.exists)(e,"crmUsedType")?e.crmUsedType:void 0,relatedEmailIds:(0,r.exists)(e,"relatedEmailIds")?e.relatedEmailIds:void 0,callsStartingHours:(0,r.exists)(e,"callsStartingHours")?e.callsStartingHours:void 0,callsClosingHours:(0,r.exists)(e,"callsClosingHours")?e.callsClosingHours:void 0,availabilitiesSoftwareType:(0,r.exists)(e,"availabilitiesSoftwareType")?e.availabilitiesSoftwareType:void 0,associatedDomains:(0,r.exists)(e,"associatedDomains")?e.associatedDomains:void 0,lastCrmSyncId:(0,r.exists)(e,"lastCrmSyncId")?e.lastCrmSyncId:void 0,crmSyncType:(0,r.exists)(e,"crmSyncType")?e.crmSyncType:void 0,importingNewLeadsFromCrmActive:(0,r.exists)(e,"importingNewLeadsFromCrmActive")?e.importingNewLeadsFromCrmActive:void 0,followUpDataSource:(0,r.exists)(e,"followUpDataSource")?e.followUpDataSource:void 0,prefersTextsConfirmations:(0,r.exists)(e,"prefersTextsConfirmations")?e.prefersTextsConfirmations:void 0,smsAppointmentReminderEnabled:(0,r.exists)(e,"smsAppointmentReminderEnabled")?e.smsAppointmentReminderEnabled:void 0,smsPreTourFollowUpEnabled:(0,r.exists)(e,"smsPreTourFollowUpEnabled")?e.smsPreTourFollowUpEnabled:void 0,smsPostTourFollowUpEnabled:(0,r.exists)(e,"smsPostTourFollowUpEnabled")?e.smsPostTourFollowUpEnabled:void 0,smsNoShowFollowUpEnabled:(0,r.exists)(e,"smsNoShowFollowUpEnabled")?e.smsNoShowFollowUpEnabled:void 0,eventsLastCrmSyncId:(0,r.exists)(e,"eventsLastCrmSyncId")?e.eventsLastCrmSyncId:void 0,whiteListActivated:(0,r.exists)(e,"whiteListActivated")?e.whiteListActivated:void 0,blackListActivated:(0,r.exists)(e,"blackListActivated")?e.blackListActivated:void 0,availabilitiesPreferences:(0,r.exists)(e,"availabilitiesPreferences")?(0,o.AvailabilitiesPreferencesFromJSON)(e.availabilitiesPreferences):void 0,qaAlertPriority:(0,r.exists)(e,"qaAlertPriority")?e.qaAlertPriority:void 0,useSmtpRelay:(0,r.exists)(e,"useSmtpRelay")?e.useSmtpRelay:void 0,needParseSignature:(0,r.exists)(e,"needParseSignature")?e.needParseSignature:void 0,signaturePattern:(0,r.exists)(e,"signaturePattern")?e.signaturePattern:void 0,spamHistoryId:(0,r.exists)(e,"spamHistoryId")?e.spamHistoryId:void 0,receivesUnsubscribeReport:(0,r.exists)(e,"receivesUnsubscribeReport")?e.receivesUnsubscribeReport:void 0,emailSyncState:(0,r.exists)(e,"emailSyncState")?e.emailSyncState:void 0,buildingRefreshInfo:(0,r.exists)(e,"buildingRefreshInfo")?(0,a.BuildingRefreshInfoFromJSON)(e.buildingRefreshInfo):void 0,idVerificationProvider:(0,r.exists)(e,"idVerificationProvider")?e.idVerificationProvider:void 0}}(n=t.XagacityUserIdVerificationProviderEnum||(t.XagacityUserIdVerificationProviderEnum={})).Unknown="UNKNOWN",n.CognitoHq="COGNITO_HQ",n.AvbScreeningApi="AVB_SCREENING_API",t.XagacityUserFromJSON=function(e){return s(e)},t.XagacityUserFromJSONTyped=s,t.XagacityUserToJSON=function(e){if(void 0!==e)return null===e?null:{id:e.id,organizationId:e.organizationId,clientEmail:e.clientEmail,priority:e.priority,firstName:e.firstName,active:e.active,eliseUser:e.eliseUser,payingOrTrial:e.payingOrTrial,emailPushNotificationsActive:e.emailPushNotificationsActive,emailPushNotificationsExpiration:e.emailPushNotificationsExpiration,emailClientType:e.emailClientType,textApi:e.textApi,timezone:e.timezone,outlookTimeOfLastSyncedMessage:e.outlookTimeOfLastSyncedMessage,outlookIdOfLastSyncedMessage:e.outlookIdOfLastSyncedMessage,xagacityLabel:e.xagacityLabel,unreadState:e.unreadState,agentSignature:e.agentSignature,specificGuidlines:e.specificGuidlines,templates:e.templates,agentPhoneNumber:e.agentPhoneNumber,isItProcessed:e.isItProcessed,removeFromInbox:e.removeFromInbox,draftReply:e.draftReply,forwardToTeamAgent:e.forwardToTeamAgent,gmailHistoryId:e.gmailHistoryId,collectDataOn:e.collectDataOn,actualAssistant:e.actualAssistant,lastName:e.lastName,subjectPreference:e.subjectPreference,getgSheetId:e.getgSheetId,autoDrafting:e.autoDrafting,followUpsRequired:e.followUpsRequired,followUpsTemplates:e.followUpsTemplates,lockedSheet:e.lockedSheet,smartResponding:e.smartResponding,pendingFollowUps:e.pendingFollowUps,xagacityNumber:e.xagacityNumber,password:e.password,calendarHistoryId:e.calendarHistoryId,calendarName:e.calendarName,hasSalesforce:e.hasSalesforce,dateActive:void 0===e.dateActive?void 0:e.dateActive.toISOString(),leadTrackingEmailForwardingActive:e.leadTrackingEmailForwardingActive,receivesForwardedEmails:e.receivesForwardedEmails,messageDelayInSeconds:e.messageDelayInSeconds,crmUsedType:e.crmUsedType,relatedEmailIds:e.relatedEmailIds,callsStartingHours:e.callsStartingHours,callsClosingHours:e.callsClosingHours,availabilitiesSoftwareType:e.availabilitiesSoftwareType,associatedDomains:e.associatedDomains,lastCrmSyncId:e.lastCrmSyncId,crmSyncType:e.crmSyncType,importingNewLeadsFromCrmActive:e.importingNewLeadsFromCrmActive,followUpDataSource:e.followUpDataSource,prefersTextsConfirmations:e.prefersTextsConfirmations,smsAppointmentReminderEnabled:e.smsAppointmentReminderEnabled,smsPreTourFollowUpEnabled:e.smsPreTourFollowUpEnabled,smsPostTourFollowUpEnabled:e.smsPostTourFollowUpEnabled,smsNoShowFollowUpEnabled:e.smsNoShowFollowUpEnabled,eventsLastCrmSyncId:e.eventsLastCrmSyncId,whiteListActivated:e.whiteListActivated,blackListActivated:e.blackListActivated,availabilitiesPreferences:(0,o.AvailabilitiesPreferencesToJSON)(e.availabilitiesPreferences),qaAlertPriority:e.qaAlertPriority,useSmtpRelay:e.useSmtpRelay,needParseSignature:e.needParseSignature,signaturePattern:e.signaturePattern,spamHistoryId:e.spamHistoryId,receivesUnsubscribeReport:e.receivesUnsubscribeReport,emailSyncState:e.emailSyncState,buildingRefreshInfo:(0,a.BuildingRefreshInfoToJSON)(e.buildingRefreshInfo),idVerificationProvider:e.idVerificationProvider}}},1889:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.XagacityUserWithCredentialsToJSON=t.XagacityUserWithCredentialsFromJSONTyped=t.XagacityUserWithCredentialsFromJSON=void 0;var n=i(296),r=i(7455),o=i(9861),a=i(3538),s=i(1283),l=i(3450);function u(e,t){return null==e?e:{user:(0,n.exists)(e,"user")?(0,s.XagacityUserFromJSON)(e.user):void 0,entrataCredentials:(0,n.exists)(e,"entrataCredentials")?(0,o.EntrataCredentialsFromJSON)(e.entrataCredentials):void 0,realPageCredentials:(0,n.exists)(e,"realPageCredentials")?(0,a.RealPageCredentialsFromJSON)(e.realPageCredentials):void 0,yardiCredentials:(0,n.exists)(e,"yardiCredentials")?(0,l.YardiCredentialsFromJSON)(e.yardiCredentials):void 0,anyoneHomeCredentials:(0,n.exists)(e,"anyoneHomeCredentials")?(0,r.AnyoneHomeCredentialsFromJSON)(e.anyoneHomeCredentials):void 0}}t.XagacityUserWithCredentialsFromJSON=function(e){return u(e)},t.XagacityUserWithCredentialsFromJSONTyped=u,t.XagacityUserWithCredentialsToJSON=function(e){if(void 0!==e)return null===e?null:{user:(0,s.XagacityUserToJSON)(e.user),entrataCredentials:(0,o.EntrataCredentialsToJSON)(e.entrataCredentials),realPageCredentials:(0,a.RealPageCredentialsToJSON)(e.realPageCredentials),yardiCredentials:(0,l.YardiCredentialsToJSON)(e.yardiCredentials),anyoneHomeCredentials:(0,r.AnyoneHomeCredentialsToJSON)(e.anyoneHomeCredentials)}}},3450:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.YardiCredentialsToJSON=t.YardiCredentialsFromJSONTyped=t.YardiCredentialsFromJSON=void 0;var n=i(296);function r(e,t){return null==e?e:{id:(0,n.exists)(e,"id")?e.id:void 0,userId:(0,n.exists)(e,"userId")?e.userId:void 0,userName:(0,n.exists)(e,"userName")?e.userName:void 0,password:(0,n.exists)(e,"password")?e.password:void 0,serverName:(0,n.exists)(e,"serverName")?e.serverName:void 0,database:(0,n.exists)(e,"database")?e.database:void 0,platform:(0,n.exists)(e,"platform")?e.platform:void 0,webserviceHost:(0,n.exists)(e,"webserviceHost")?e.webserviceHost:void 0}}t.YardiCredentialsFromJSON=function(e){return r(e)},t.YardiCredentialsFromJSONTyped=r,t.YardiCredentialsToJSON=function(e){if(void 0!==e)return null===e?null:{id:e.id,userId:e.userId,userName:e.userName,password:e.password,serverName:e.serverName,database:e.database,platform:e.platform,webserviceHost:e.webserviceHost}}},4584:function(e,t,i){var n=this&&this.__createBinding||(Object.create?function(e,t,i,n){void 0===n&&(n=i);var r=Object.getOwnPropertyDescriptor(t,i);r&&!("get"in r?!t.__esModule:r.writable||r.configurable)||(r={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,n,r)}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]}),r=this&&this.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||n(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),r(i(6662),t),r(i(1961),t),r(i(818),t),r(i(6140),t),r(i(5246),t),r(i(5556),t),r(i(7455),t),r(i(3617),t),r(i(67),t),r(i(1234),t),r(i(1995),t),r(i(3618),t),r(i(2160),t),r(i(5604),t),r(i(3477),t),r(i(4597),t),r(i(553),t),r(i(6673),t),r(i(6597),t),r(i(7949),t),r(i(2386),t),r(i(4853),t),r(i(9260),t),r(i(3777),t),r(i(713),t),r(i(1172),t),r(i(3077),t),r(i(2817),t),r(i(9407),t),r(i(7058),t),r(i(3531),t),r(i(6613),t),r(i(5040),t),r(i(5111),t),r(i(3202),t),r(i(6058),t),r(i(3817),t),r(i(8882),t),r(i(6607),t),r(i(5007),t),r(i(1057),t),r(i(7009),t),r(i(3694),t),r(i(4105),t),r(i(9861),t),r(i(8442),t),r(i(6885),t),r(i(7934),t),r(i(3905),t),r(i(3958),t),r(i(6045),t),r(i(6465),t),r(i(7895),t),r(i(4326),t),r(i(2610),t),r(i(1960),t),r(i(9233),t),r(i(8055),t),r(i(2406),t),r(i(1880),t),r(i(7989),t),r(i(4036),t),r(i(5728),t),r(i(5131),t),r(i(746),t),r(i(7662),t),r(i(9132),t),r(i(7530),t),r(i(194),t),r(i(1312),t),r(i(4549),t),r(i(8636),t),r(i(7399),t),r(i(8328),t),r(i(4401),t),r(i(3832),t),r(i(4883),t),r(i(6705),t),r(i(1427),t),r(i(9718),t),r(i(1004),t),r(i(4240),t),r(i(2960),t),r(i(1431),t),r(i(8792),t),r(i(908),t),r(i(3231),t),r(i(8496),t),r(i(3538),t),r(i(9353),t),r(i(6343),t),r(i(7564),t),r(i(4748),t),r(i(170),t),r(i(2298),t),r(i(445),t),r(i(1222),t),r(i(7444),t),r(i(3815),t),r(i(8385),t),r(i(6956),t),r(i(2644),t),r(i(4192),t),r(i(6832),t),r(i(6865),t),r(i(6448),t),r(i(6161),t),r(i(6069),t),r(i(6122),t),r(i(5687),t),r(i(2558),t),r(i(904),t),r(i(7346),t),r(i(6306),t),r(i(2977),t),r(i(1124),t),r(i(3225),t),r(i(1155),t),r(i(8911),t),r(i(9374),t),r(i(6330),t),r(i(9275),t),r(i(260),t),r(i(1161),t),r(i(5239),t),r(i(3842),t),r(i(9908),t),r(i(5530),t),r(i(9256),t),r(i(2288),t),r(i(3029),t),r(i(5454),t),r(i(2449),t),r(i(2242),t),r(i(6570),t),r(i(4675),t),r(i(3163),t),r(i(8937),t),r(i(2683),t),r(i(4145),t),r(i(7571),t),r(i(4891),t),r(i(2294),t),r(i(2394),t),r(i(2653),t),r(i(9046),t),r(i(8819),t),r(i(6799),t),r(i(6228),t),r(i(6826),t),r(i(4050),t),r(i(403),t),r(i(7918),t),r(i(3645),t),r(i(4586),t),r(i(560),t),r(i(5108),t),r(i(3057),t),r(i(1283),t),r(i(1889),t),r(i(3450),t)},296:function(e,t){var i,n=this&&this.__extends||(i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])},i(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,i=1,n=arguments.length;i<n;i++)for(var r in t=arguments[i])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},r.apply(this,arguments)},o=this&&this.__awaiter||function(e,t,i,n){return new(i||(i=Promise))((function(r,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var i,n,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(i)throw new TypeError("Generator is already executing.");for(;a;)try{if(i=1,n&&(r=2&o[0]?n.return:o[0]?n.throw||((r=n.return)&&r.call(n),0):n.next)&&!(r=r.call(n,o[1])).done)return r;switch(n=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],n=0}finally{i=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.TextApiResponse=t.BlobApiResponse=t.VoidApiResponse=t.JSONApiResponse=t.canConsumeForm=t.mapValues=t.querystring=t.exists=t.Configuration=t.COLLECTION_FORMATS=t.RequiredError=t.BaseAPI=t.BASE_PATH=void 0,t.BASE_PATH="http://localhost:8080".replace(/\/+$/,"");var s=function(){function e(e){void 0===e&&(e=new u);var t=this;this.configuration=e,this.fetchApi=function(e,i){return o(t,void 0,void 0,(function(){var t,n,o,s,l,u,d;return a(this,(function(a){switch(a.label){case 0:t={url:e,init:i},n=0,o=this.middleware,a.label=1;case 1:return n<o.length?(d=o[n]).pre?[4,d.pre(r({fetch:this.fetchApi},t))]:[3,3]:[3,4];case 2:t=a.sent()||t,a.label=3;case 3:return n++,[3,1];case 4:return[4,(this.configuration.fetchApi||fetch)(t.url,t.init)];case 5:s=a.sent(),l=0,u=this.middleware,a.label=6;case 6:return l<u.length?(d=u[l]).post?[4,d.post({fetch:this.fetchApi,url:t.url,init:t.init,response:s.clone()})]:[3,8]:[3,9];case 7:s=a.sent()||s,a.label=8;case 8:return l++,[3,6];case 9:return[2,s]}}))}))},this.middleware=e.middleware}return e.prototype.withMiddleware=function(){for(var e,t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];var n=this.clone();return n.middleware=(e=n.middleware).concat.apply(e,t),n},e.prototype.withPreMiddleware=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var i=e.map((function(e){return{pre:e}}));return this.withMiddleware.apply(this,i)},e.prototype.withPostMiddleware=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var i=e.map((function(e){return{post:e}}));return this.withMiddleware.apply(this,i)},e.prototype.request=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r,o;return a(this,(function(a){switch(a.label){case 0:return i=this.createFetchParams(e,t),n=i.url,r=i.init,[4,this.fetchApi(n,r)];case 1:if((o=a.sent()).status>=200&&o.status<300)return[2,o];throw o}}))}))},e.prototype.createFetchParams=function(e,t){var i=this.configuration.basePath+e.path;void 0!==e.query&&0!==Object.keys(e.query).length&&(i+="?"+this.configuration.queryParamsStringify(e.query));var n,o="undefined"!=typeof FormData&&e.body instanceof FormData||e.body instanceof URLSearchParams||(n=e.body,"undefined"!=typeof Blob&&n instanceof Blob)?e.body:JSON.stringify(e.body),a=Object.assign({},this.configuration.headers,e.headers);return{url:i,init:r({method:e.method,headers:a,body:o,credentials:this.configuration.credentials},t)}},e.prototype.clone=function(){var e=new(0,this.constructor)(this.configuration);return e.middleware=this.middleware.slice(),e},e}();t.BaseAPI=s;var l=function(e){function t(t,i){var n=e.call(this,i)||this;return n.field=t,n.name="RequiredError",n}return n(t,e),t}(Error);t.RequiredError=l,t.COLLECTION_FORMATS={csv:",",ssv:" ",tsv:"\t",pipes:"|"};var u=function(){function e(e){void 0===e&&(e={}),this.configuration=e}return Object.defineProperty(e.prototype,"basePath",{get:function(){return null!=this.configuration.basePath?this.configuration.basePath:t.BASE_PATH},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"fetchApi",{get:function(){return this.configuration.fetchApi},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"middleware",{get:function(){return this.configuration.middleware||[]},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"queryParamsStringify",{get:function(){return this.configuration.queryParamsStringify||d},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"username",{get:function(){return this.configuration.username},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"password",{get:function(){return this.configuration.password},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"apiKey",{get:function(){var e=this.configuration.apiKey;if(e)return"function"==typeof e?e:function(){return e}},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"accessToken",{get:function(){var e=this,t=this.configuration.accessToken;if(t)return"function"==typeof t?t:function(){return o(e,void 0,void 0,(function(){return a(this,(function(e){return[2,t]}))}))}},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"headers",{get:function(){return this.configuration.headers},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"credentials",{get:function(){return this.configuration.credentials},enumerable:!1,configurable:!0}),e}();function d(e,t){return void 0===t&&(t=""),Object.keys(e).map((function(i){var n=t+(t.length?"[".concat(i,"]"):i),r=e[i];if(r instanceof Array){var o=r.map((function(e){return encodeURIComponent(String(e))})).join("&".concat(encodeURIComponent(n),"="));return"".concat(encodeURIComponent(n),"=").concat(o)}return r instanceof Date?"".concat(encodeURIComponent(n),"=").concat(encodeURIComponent(r.toISOString())):r instanceof Object?d(r,n):"".concat(encodeURIComponent(n),"=").concat(encodeURIComponent(String(r)))})).filter((function(e){return e.length>0})).join("&")}t.Configuration=u,t.exists=function(e,t){return null!=e[t]},t.querystring=d,t.mapValues=function(e,t){return Object.keys(e).reduce((function(i,n){var o;return r(r({},i),((o={})[n]=t(e[n]),o))}),{})},t.canConsumeForm=function(e){for(var t=0,i=e;t<i.length;t++)if("multipart/form-data"===i[t].contentType)return!0;return!1};var c=function(){function e(e,t){void 0===t&&(t=function(e){return e}),this.raw=e,this.transformer=t}return e.prototype.value=function(){return o(this,void 0,void 0,(function(){var e;return a(this,(function(t){switch(t.label){case 0:return e=this.transformer,[4,this.raw.json()];case 1:return[2,e.apply(this,[t.sent()])]}}))}))},e}();t.JSONApiResponse=c;var p=function(){function e(e){this.raw=e}return e.prototype.value=function(){return o(this,void 0,void 0,(function(){return a(this,(function(e){return[2,void 0]}))}))},e}();t.VoidApiResponse=p;var f=function(){function e(e){this.raw=e}return e.prototype.value=function(){return o(this,void 0,void 0,(function(){return a(this,(function(e){switch(e.label){case 0:return[4,this.raw.blob()];case 1:return[2,e.sent()]}}))}))},e}();t.BlobApiResponse=f;var m=function(){function e(e){this.raw=e}return e.prototype.value=function(){return o(this,void 0,void 0,(function(){return a(this,(function(e){switch(e.label){case 0:return[4,this.raw.text()];case 1:return[2,e.sent()]}}))}))},e}();t.TextApiResponse=m},9669:(e,t,i)=>{e.exports=i(1609)},5448:(e,t,i)=>{var n=i(4867),r=i(6026),o=i(4372),a=i(5327),s=i(4097),l=i(4109),u=i(7985),d=i(7874),c=i(2648),p=i(644),f=i(205);e.exports=function(e){return new Promise((function(t,i){var m,h=e.data,v=e.headers,g=e.responseType;function y(){e.cancelToken&&e.cancelToken.unsubscribe(m),e.signal&&e.signal.removeEventListener("abort",m)}n.isFormData(h)&&n.isStandardBrowserEnv()&&delete v["Content-Type"];var w=new XMLHttpRequest;if(e.auth){var S=e.auth.username||"",b=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";v.Authorization="Basic "+btoa(S+":"+b)}var T=s(e.baseURL,e.url);function x(){if(w){var n="getAllResponseHeaders"in w?l(w.getAllResponseHeaders()):null,o={data:g&&"text"!==g&&"json"!==g?w.response:w.responseText,status:w.status,statusText:w.statusText,headers:n,config:e,request:w};r((function(e){t(e),y()}),(function(e){i(e),y()}),o),w=null}}if(w.open(e.method.toUpperCase(),a(T,e.params,e.paramsSerializer),!0),w.timeout=e.timeout,"onloadend"in w?w.onloadend=x:w.onreadystatechange=function(){w&&4===w.readyState&&(0!==w.status||w.responseURL&&0===w.responseURL.indexOf("file:"))&&setTimeout(x)},w.onabort=function(){w&&(i(new c("Request aborted",c.ECONNABORTED,e,w)),w=null)},w.onerror=function(){i(new c("Network Error",c.ERR_NETWORK,e,w,w)),w=null},w.ontimeout=function(){var t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded",n=e.transitional||d;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),i(new c(t,n.clarifyTimeoutError?c.ETIMEDOUT:c.ECONNABORTED,e,w)),w=null},n.isStandardBrowserEnv()){var O=(e.withCredentials||u(T))&&e.xsrfCookieName?o.read(e.xsrfCookieName):void 0;O&&(v[e.xsrfHeaderName]=O)}"setRequestHeader"in w&&n.forEach(v,(function(e,t){void 0===h&&"content-type"===t.toLowerCase()?delete v[t]:w.setRequestHeader(t,e)})),n.isUndefined(e.withCredentials)||(w.withCredentials=!!e.withCredentials),g&&"json"!==g&&(w.responseType=e.responseType),"function"==typeof e.onDownloadProgress&&w.addEventListener("progress",e.onDownloadProgress),"function"==typeof e.onUploadProgress&&w.upload&&w.upload.addEventListener("progress",e.onUploadProgress),(e.cancelToken||e.signal)&&(m=function(e){w&&(i(!e||e&&e.type?new p:e),w.abort(),w=null)},e.cancelToken&&e.cancelToken.subscribe(m),e.signal&&(e.signal.aborted?m():e.signal.addEventListener("abort",m))),h||(h=null);var I=f(T);I&&-1===["http","https","file"].indexOf(I)?i(new c("Unsupported protocol "+I+":",c.ERR_BAD_REQUEST,e)):w.send(h)}))}},1609:(e,t,i)=>{var n=i(4867),r=i(1849),o=i(321),a=i(7185),s=function e(t){var i=new o(t),s=r(o.prototype.request,i);return n.extend(s,o.prototype,i),n.extend(s,i),s.create=function(i){return e(a(t,i))},s}(i(5546));s.Axios=o,s.CanceledError=i(644),s.CancelToken=i(4972),s.isCancel=i(6502),s.VERSION=i(7288).version,s.toFormData=i(7675),s.AxiosError=i(2648),s.Cancel=s.CanceledError,s.all=function(e){return Promise.all(e)},s.spread=i(8713),s.isAxiosError=i(6268),e.exports=s,e.exports.default=s},4972:(e,t,i)=>{var n=i(644);function r(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function(e){t=e}));var i=this;this.promise.then((function(e){if(i._listeners){var t,n=i._listeners.length;for(t=0;t<n;t++)i._listeners[t](e);i._listeners=null}})),this.promise.then=function(e){var t,n=new Promise((function(e){i.subscribe(e),t=e})).then(e);return n.cancel=function(){i.unsubscribe(t)},n},e((function(e){i.reason||(i.reason=new n(e),t(i.reason))}))}r.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},r.prototype.subscribe=function(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]},r.prototype.unsubscribe=function(e){if(this._listeners){var t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}},r.source=function(){var e;return{token:new r((function(t){e=t})),cancel:e}},e.exports=r},644:(e,t,i)=>{var n=i(2648);function r(e){n.call(this,null==e?"canceled":e,n.ERR_CANCELED),this.name="CanceledError"}i(4867).inherits(r,n,{__CANCEL__:!0}),e.exports=r},6502:e=>{e.exports=function(e){return!(!e||!e.__CANCEL__)}},321:(e,t,i)=>{var n=i(4867),r=i(5327),o=i(782),a=i(3572),s=i(7185),l=i(4097),u=i(4875),d=u.validators;function c(e){this.defaults=e,this.interceptors={request:new o,response:new o}}c.prototype.request=function(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{},(t=s(this.defaults,t)).method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var i=t.transitional;void 0!==i&&u.assertOptions(i,{silentJSONParsing:d.transitional(d.boolean),forcedJSONParsing:d.transitional(d.boolean),clarifyTimeoutError:d.transitional(d.boolean)},!1);var n=[],r=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(r=r&&e.synchronous,n.unshift(e.fulfilled,e.rejected))}));var o,l=[];if(this.interceptors.response.forEach((function(e){l.push(e.fulfilled,e.rejected)})),!r){var c=[a,void 0];for(Array.prototype.unshift.apply(c,n),c=c.concat(l),o=Promise.resolve(t);c.length;)o=o.then(c.shift(),c.shift());return o}for(var p=t;n.length;){var f=n.shift(),m=n.shift();try{p=f(p)}catch(e){m(e);break}}try{o=a(p)}catch(e){return Promise.reject(e)}for(;l.length;)o=o.then(l.shift(),l.shift());return o},c.prototype.getUri=function(e){e=s(this.defaults,e);var t=l(e.baseURL,e.url);return r(t,e.params,e.paramsSerializer)},n.forEach(["delete","get","head","options"],(function(e){c.prototype[e]=function(t,i){return this.request(s(i||{},{method:e,url:t,data:(i||{}).data}))}})),n.forEach(["post","put","patch"],(function(e){function t(t){return function(i,n,r){return this.request(s(r||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:i,data:n}))}}c.prototype[e]=t(),c.prototype[e+"Form"]=t(!0)})),e.exports=c},2648:(e,t,i)=>{var n=i(4867);function r(e,t,i,n,r){Error.call(this),this.message=e,this.name="AxiosError",t&&(this.code=t),i&&(this.config=i),n&&(this.request=n),r&&(this.response=r)}n.inherits(r,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}}});var o=r.prototype,a={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED"].forEach((function(e){a[e]={value:e}})),Object.defineProperties(r,a),Object.defineProperty(o,"isAxiosError",{value:!0}),r.from=function(e,t,i,a,s,l){var u=Object.create(o);return n.toFlatObject(e,u,(function(e){return e!==Error.prototype})),r.call(u,e.message,t,i,a,s),u.name=e.name,l&&Object.assign(u,l),u},e.exports=r},782:(e,t,i)=>{var n=i(4867);function r(){this.handlers=[]}r.prototype.use=function(e,t,i){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!i&&i.synchronous,runWhen:i?i.runWhen:null}),this.handlers.length-1},r.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},r.prototype.forEach=function(e){n.forEach(this.handlers,(function(t){null!==t&&e(t)}))},e.exports=r},4097:(e,t,i)=>{var n=i(1793),r=i(7303);e.exports=function(e,t){return e&&!n(t)?r(e,t):t}},3572:(e,t,i)=>{var n=i(4867),r=i(8527),o=i(6502),a=i(5546),s=i(644);function l(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new s}e.exports=function(e){return l(e),e.headers=e.headers||{},e.data=r.call(e,e.data,e.headers,e.transformRequest),e.headers=n.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),n.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]})),(e.adapter||a.adapter)(e).then((function(t){return l(e),t.data=r.call(e,t.data,t.headers,e.transformResponse),t}),(function(t){return o(t)||(l(e),t&&t.response&&(t.response.data=r.call(e,t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))}},7185:(e,t,i)=>{var n=i(4867);e.exports=function(e,t){t=t||{};var i={};function r(e,t){return n.isPlainObject(e)&&n.isPlainObject(t)?n.merge(e,t):n.isPlainObject(t)?n.merge({},t):n.isArray(t)?t.slice():t}function o(i){return n.isUndefined(t[i])?n.isUndefined(e[i])?void 0:r(void 0,e[i]):r(e[i],t[i])}function a(e){if(!n.isUndefined(t[e]))return r(void 0,t[e])}function s(i){return n.isUndefined(t[i])?n.isUndefined(e[i])?void 0:r(void 0,e[i]):r(void 0,t[i])}function l(i){return i in t?r(e[i],t[i]):i in e?r(void 0,e[i]):void 0}var u={url:a,method:a,data:a,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:l};return n.forEach(Object.keys(e).concat(Object.keys(t)),(function(e){var t=u[e]||o,r=t(e);n.isUndefined(r)&&t!==l||(i[e]=r)})),i}},6026:(e,t,i)=>{var n=i(2648);e.exports=function(e,t,i){var r=i.config.validateStatus;i.status&&r&&!r(i.status)?t(new n("Request failed with status code "+i.status,[n.ERR_BAD_REQUEST,n.ERR_BAD_RESPONSE][Math.floor(i.status/100)-4],i.config,i.request,i)):e(i)}},8527:(e,t,i)=>{var n=i(4867),r=i(5546);e.exports=function(e,t,i){var o=this||r;return n.forEach(i,(function(i){e=i.call(o,e,t)})),e}},5546:(e,t,i)=>{var n=i(4867),r=i(6016),o=i(2648),a=i(7874),s=i(7675),l={"Content-Type":"application/x-www-form-urlencoded"};function u(e,t){!n.isUndefined(e)&&n.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var d,c={transitional:a,adapter:(("undefined"!=typeof XMLHttpRequest||"undefined"!=typeof process&&"[object process]"===Object.prototype.toString.call(process))&&(d=i(5448)),d),transformRequest:[function(e,t){if(r(t,"Accept"),r(t,"Content-Type"),n.isFormData(e)||n.isArrayBuffer(e)||n.isBuffer(e)||n.isStream(e)||n.isFile(e)||n.isBlob(e))return e;if(n.isArrayBufferView(e))return e.buffer;if(n.isURLSearchParams(e))return u(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString();var i,o=n.isObject(e),a=t&&t["Content-Type"];if((i=n.isFileList(e))||o&&"multipart/form-data"===a){var l=this.env&&this.env.FormData;return s(i?{"files[]":e}:e,l&&new l)}return o||"application/json"===a?(u(t,"application/json"),function(e,t,i){if(n.isString(e))try{return(0,JSON.parse)(e),n.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(0,JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){var t=this.transitional||c.transitional,i=t&&t.silentJSONParsing,r=t&&t.forcedJSONParsing,a=!i&&"json"===this.responseType;if(a||r&&n.isString(e)&&e.length)try{return JSON.parse(e)}catch(e){if(a){if("SyntaxError"===e.name)throw o.from(e,o.ERR_BAD_RESPONSE,this,null,this.response);throw e}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:i(1623)},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};n.forEach(["delete","get","head"],(function(e){c.headers[e]={}})),n.forEach(["post","put","patch"],(function(e){c.headers[e]=n.merge(l)})),e.exports=c},7874:e=>{e.exports={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1}},7288:e=>{e.exports={version:"0.27.2"}},1849:e=>{e.exports=function(e,t){return function(){for(var i=new Array(arguments.length),n=0;n<i.length;n++)i[n]=arguments[n];return e.apply(t,i)}}},5327:(e,t,i)=>{var n=i(4867);function r(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function(e,t,i){if(!t)return e;var o;if(i)o=i(t);else if(n.isURLSearchParams(t))o=t.toString();else{var a=[];n.forEach(t,(function(e,t){null!=e&&(n.isArray(e)?t+="[]":e=[e],n.forEach(e,(function(e){n.isDate(e)?e=e.toISOString():n.isObject(e)&&(e=JSON.stringify(e)),a.push(r(t)+"="+r(e))})))})),o=a.join("&")}if(o){var s=e.indexOf("#");-1!==s&&(e=e.slice(0,s)),e+=(-1===e.indexOf("?")?"?":"&")+o}return e}},7303:e=>{e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},4372:(e,t,i)=>{var n=i(4867);e.exports=n.isStandardBrowserEnv()?{write:function(e,t,i,r,o,a){var s=[];s.push(e+"="+encodeURIComponent(t)),n.isNumber(i)&&s.push("expires="+new Date(i).toGMTString()),n.isString(r)&&s.push("path="+r),n.isString(o)&&s.push("domain="+o),!0===a&&s.push("secure"),document.cookie=s.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},1793:e=>{e.exports=function(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}},6268:(e,t,i)=>{var n=i(4867);e.exports=function(e){return n.isObject(e)&&!0===e.isAxiosError}},7985:(e,t,i)=>{var n=i(4867);e.exports=n.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),i=document.createElement("a");function r(e){var n=e;return t&&(i.setAttribute("href",n),n=i.href),i.setAttribute("href",n),{href:i.href,protocol:i.protocol?i.protocol.replace(/:$/,""):"",host:i.host,search:i.search?i.search.replace(/^\?/,""):"",hash:i.hash?i.hash.replace(/^#/,""):"",hostname:i.hostname,port:i.port,pathname:"/"===i.pathname.charAt(0)?i.pathname:"/"+i.pathname}}return e=r(window.location.href),function(t){var i=n.isString(t)?r(t):t;return i.protocol===e.protocol&&i.host===e.host}}():function(){return!0}},6016:(e,t,i)=>{var n=i(4867);e.exports=function(e,t){n.forEach(e,(function(i,n){n!==t&&n.toUpperCase()===t.toUpperCase()&&(e[t]=i,delete e[n])}))}},1623:e=>{e.exports=null},4109:(e,t,i)=>{var n=i(4867),r=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];e.exports=function(e){var t,i,o,a={};return e?(n.forEach(e.split("\n"),(function(e){if(o=e.indexOf(":"),t=n.trim(e.substr(0,o)).toLowerCase(),i=n.trim(e.substr(o+1)),t){if(a[t]&&r.indexOf(t)>=0)return;a[t]="set-cookie"===t?(a[t]?a[t]:[]).concat([i]):a[t]?a[t]+", "+i:i}})),a):a}},205:e=>{e.exports=function(e){var t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}},8713:e=>{e.exports=function(e){return function(t){return e.apply(null,t)}}},7675:(e,t,i)=>{var n=i(4867);e.exports=function(e,t){t=t||new FormData;var i=[];function r(e){return null===e?"":n.isDate(e)?e.toISOString():n.isArrayBuffer(e)||n.isTypedArray(e)?"function"==typeof Blob?new Blob([e]):Buffer.from(e):e}return function e(o,a){if(n.isPlainObject(o)||n.isArray(o)){if(-1!==i.indexOf(o))throw Error("Circular reference detected in "+a);i.push(o),n.forEach(o,(function(i,o){if(!n.isUndefined(i)){var s,l=a?a+"."+o:o;if(i&&!a&&"object"==typeof i)if(n.endsWith(o,"{}"))i=JSON.stringify(i);else if(n.endsWith(o,"[]")&&(s=n.toArray(i)))return void s.forEach((function(e){!n.isUndefined(e)&&t.append(l,r(e))}));e(i,l)}})),i.pop()}else t.append(a,r(o))}(e),t}},4875:(e,t,i)=>{var n=i(7288).version,r=i(2648),o={};["object","boolean","number","function","string","symbol"].forEach((function(e,t){o[e]=function(i){return typeof i===e||"a"+(t<1?"n ":" ")+e}}));var a={};o.transitional=function(e,t,i){function o(e,t){return"[Axios v"+n+"] Transitional option '"+e+"'"+t+(i?". "+i:"")}return function(i,n,s){if(!1===e)throw new r(o(n," has been removed"+(t?" in "+t:"")),r.ERR_DEPRECATED);return t&&!a[n]&&(a[n]=!0,console.warn(o(n," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(i,n,s)}},e.exports={assertOptions:function(e,t,i){if("object"!=typeof e)throw new r("options must be an object",r.ERR_BAD_OPTION_VALUE);for(var n=Object.keys(e),o=n.length;o-- >0;){var a=n[o],s=t[a];if(s){var l=e[a],u=void 0===l||s(l,a,e);if(!0!==u)throw new r("option "+a+" must be "+u,r.ERR_BAD_OPTION_VALUE)}else if(!0!==i)throw new r("Unknown option "+a,r.ERR_BAD_OPTION)}},validators:o}},4867:(e,t,i)=>{var n,r=i(1849),o=Object.prototype.toString,a=(n=Object.create(null),function(e){var t=o.call(e);return n[t]||(n[t]=t.slice(8,-1).toLowerCase())});function s(e){return e=e.toLowerCase(),function(t){return a(t)===e}}function l(e){return Array.isArray(e)}function u(e){return void 0===e}var d=s("ArrayBuffer");function c(e){return null!==e&&"object"==typeof e}function p(e){if("object"!==a(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}var f=s("Date"),m=s("File"),h=s("Blob"),v=s("FileList");function g(e){return"[object Function]"===o.call(e)}var y=s("URLSearchParams");function w(e,t){if(null!=e)if("object"!=typeof e&&(e=[e]),l(e))for(var i=0,n=e.length;i<n;i++)t.call(null,e[i],i,e);else for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.call(null,e[r],r,e)}var S,b=(S="undefined"!=typeof Uint8Array&&Object.getPrototypeOf(Uint8Array),function(e){return S&&e instanceof S});e.exports={isArray:l,isArrayBuffer:d,isBuffer:function(e){return null!==e&&!u(e)&&null!==e.constructor&&!u(e.constructor)&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)},isFormData:function(e){var t="[object FormData]";return e&&("function"==typeof FormData&&e instanceof FormData||o.call(e)===t||g(e.toString)&&e.toString()===t)},isArrayBufferView:function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&d(e.buffer)},isString:function(e){return"string"==typeof e},isNumber:function(e){return"number"==typeof e},isObject:c,isPlainObject:p,isUndefined:u,isDate:f,isFile:m,isBlob:h,isFunction:g,isStream:function(e){return c(e)&&g(e.pipe)},isURLSearchParams:y,isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&"undefined"!=typeof window&&"undefined"!=typeof document},forEach:w,merge:function e(){var t={};function i(i,n){p(t[n])&&p(i)?t[n]=e(t[n],i):p(i)?t[n]=e({},i):l(i)?t[n]=i.slice():t[n]=i}for(var n=0,r=arguments.length;n<r;n++)w(arguments[n],i);return t},extend:function(e,t,i){return w(t,(function(t,n){e[n]=i&&"function"==typeof t?r(t,i):t})),e},trim:function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")},stripBOM:function(e){return 65279===e.charCodeAt(0)&&(e=e.slice(1)),e},inherits:function(e,t,i,n){e.prototype=Object.create(t.prototype,n),e.prototype.constructor=e,i&&Object.assign(e.prototype,i)},toFlatObject:function(e,t,i){var n,r,o,a={};t=t||{};do{for(r=(n=Object.getOwnPropertyNames(e)).length;r-- >0;)a[o=n[r]]||(t[o]=e[o],a[o]=!0);e=Object.getPrototypeOf(e)}while(e&&(!i||i(e,t))&&e!==Object.prototype);return t},kindOf:a,kindOfTest:s,endsWith:function(e,t,i){e=String(e),(void 0===i||i>e.length)&&(i=e.length),i-=t.length;var n=e.indexOf(t,i);return-1!==n&&n===i},toArray:function(e){if(!e)return null;var t=e.length;if(u(t))return null;for(var i=new Array(t);t-- >0;)i[t]=e[t];return i},isTypedArray:b,isFileList:v}},4184:(e,t)=>{var i;!function(){var n={}.hasOwnProperty;function r(){for(var e=[],t=0;t<arguments.length;t++){var i=arguments[t];if(i){var o=typeof i;if("string"===o||"number"===o)e.push(i);else if(Array.isArray(i)){if(i.length){var a=r.apply(null,i);a&&e.push(a)}}else if("object"===o)if(i.toString===Object.prototype.toString)for(var s in i)n.call(i,s)&&i[s]&&e.push(s);else e.push(i.toString())}}return e.join(" ")}e.exports?(r.default=r,e.exports=r):void 0===(i=function(){return r}.apply(t,[]))||(e.exports=i)}()},3631:(e,t,i)=>{i.d(t,{Z:()=>s});var n=i(8081),r=i.n(n),o=i(5879),a=i.n(o)()(r());a.push([e.id,"@media screen and (min-width: 767px) {\n .meetelise-chat.pane.launcher__desktop {\n right: -32px;\n }\n}\n",""]);const s=a},5879:e=>{e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var i="",n=void 0!==t[5];return t[4]&&(i+="@supports (".concat(t[4],") {")),t[2]&&(i+="@media ".concat(t[2]," {")),n&&(i+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),i+=e(t),n&&(i+="}"),t[2]&&(i+="}"),t[4]&&(i+="}"),i})).join("")},t.i=function(e,i,n,r,o){"string"==typeof e&&(e=[[null,e,void 0]]);var a={};if(n)for(var s=0;s<this.length;s++){var l=this[s][0];null!=l&&(a[l]=!0)}for(var u=0;u<e.length;u++){var d=[].concat(e[u]);n&&a[d[0]]||(void 0!==o&&(void 0===d[5]||(d[1]="@layer".concat(d[5].length>0?" ".concat(d[5]):""," {").concat(d[1],"}")),d[5]=o),i&&(d[2]?(d[1]="@media ".concat(d[2]," {").concat(d[1],"}"),d[2]=i):d[2]=i),r&&(d[4]?(d[1]="@supports (".concat(d[4],") {").concat(d[1],"}"),d[4]=r):d[4]="".concat(r)),t.push(d))}},t}},8081:e=>{e.exports=function(e){return e[1]}},8552:(e,t,i)=>{var n=i(852)(i(5639),"DataView");e.exports=n},1989:(e,t,i)=>{var n=i(1789),r=i(401),o=i(7667),a=i(1327),s=i(1866);function l(e){var t=-1,i=null==e?0:e.length;for(this.clear();++t<i;){var n=e[t];this.set(n[0],n[1])}}l.prototype.clear=n,l.prototype.delete=r,l.prototype.get=o,l.prototype.has=a,l.prototype.set=s,e.exports=l},8407:(e,t,i)=>{var n=i(7040),r=i(4125),o=i(2117),a=i(7529),s=i(4705);function l(e){var t=-1,i=null==e?0:e.length;for(this.clear();++t<i;){var n=e[t];this.set(n[0],n[1])}}l.prototype.clear=n,l.prototype.delete=r,l.prototype.get=o,l.prototype.has=a,l.prototype.set=s,e.exports=l},7071:(e,t,i)=>{var n=i(852)(i(5639),"Map");e.exports=n},3369:(e,t,i)=>{var n=i(4785),r=i(1285),o=i(6e3),a=i(9916),s=i(5265);function l(e){var t=-1,i=null==e?0:e.length;for(this.clear();++t<i;){var n=e[t];this.set(n[0],n[1])}}l.prototype.clear=n,l.prototype.delete=r,l.prototype.get=o,l.prototype.has=a,l.prototype.set=s,e.exports=l},3818:(e,t,i)=>{var n=i(852)(i(5639),"Promise");e.exports=n},8525:(e,t,i)=>{var n=i(852)(i(5639),"Set");e.exports=n},8668:(e,t,i)=>{var n=i(3369),r=i(619),o=i(2385);function a(e){var t=-1,i=null==e?0:e.length;for(this.__data__=new n;++t<i;)this.add(e[t])}a.prototype.add=a.prototype.push=r,a.prototype.has=o,e.exports=a},6384:(e,t,i)=>{var n=i(8407),r=i(7465),o=i(3779),a=i(7599),s=i(4758),l=i(4309);function u(e){var t=this.__data__=new n(e);this.size=t.size}u.prototype.clear=r,u.prototype.delete=o,u.prototype.get=a,u.prototype.has=s,u.prototype.set=l,e.exports=u},2705:(e,t,i)=>{var n=i(5639).Symbol;e.exports=n},1149:(e,t,i)=>{var n=i(5639).Uint8Array;e.exports=n},577:(e,t,i)=>{var n=i(852)(i(5639),"WeakMap");e.exports=n},4174:e=>{e.exports=function(e,t,i,n){for(var r=-1,o=null==e?0:e.length;++r<o;){var a=e[r];t(n,a,i(a),e)}return n}},4963:e=>{e.exports=function(e,t){for(var i=-1,n=null==e?0:e.length,r=0,o=[];++i<n;){var a=e[i];t(a,i,e)&&(o[r++]=a)}return o}},4636:(e,t,i)=>{var n=i(2545),r=i(5694),o=i(1469),a=i(4144),s=i(5776),l=i(6719),u=Object.prototype.hasOwnProperty;e.exports=function(e,t){var i=o(e),d=!i&&r(e),c=!i&&!d&&a(e),p=!i&&!d&&!c&&l(e),f=i||d||c||p,m=f?n(e.length,String):[],h=m.length;for(var v in e)!t&&!u.call(e,v)||f&&("length"==v||c&&("offset"==v||"parent"==v)||p&&("buffer"==v||"byteLength"==v||"byteOffset"==v)||s(v,h))||m.push(v);return m}},9932:e=>{e.exports=function(e,t){for(var i=-1,n=null==e?0:e.length,r=Array(n);++i<n;)r[i]=t(e[i],i,e);return r}},2488:e=>{e.exports=function(e,t){for(var i=-1,n=t.length,r=e.length;++i<n;)e[r+i]=t[i];return e}},2908:e=>{e.exports=function(e,t){for(var i=-1,n=null==e?0:e.length;++i<n;)if(t(e[i],i,e))return!0;return!1}},8470:(e,t,i)=>{var n=i(7813);e.exports=function(e,t){for(var i=e.length;i--;)if(n(e[i][0],t))return i;return-1}},1119:(e,t,i)=>{var n=i(9881);e.exports=function(e,t,i,r){return n(e,(function(e,n,o){t(r,e,i(e),o)})),r}},9465:(e,t,i)=>{var n=i(8777);e.exports=function(e,t,i){"__proto__"==t&&n?n(e,t,{configurable:!0,enumerable:!0,value:i,writable:!0}):e[t]=i}},9881:(e,t,i)=>{var n=i(7816),r=i(9291)(n);e.exports=r},8483:(e,t,i)=>{var n=i(5063)();e.exports=n},7816:(e,t,i)=>{var n=i(8483),r=i(3674);e.exports=function(e,t){return e&&n(e,t,r)}},7786:(e,t,i)=>{var n=i(1811),r=i(327);e.exports=function(e,t){for(var i=0,o=(t=n(t,e)).length;null!=e&&i<o;)e=e[r(t[i++])];return i&&i==o?e:void 0}},8866:(e,t,i)=>{var n=i(2488),r=i(1469);e.exports=function(e,t,i){var o=t(e);return r(e)?o:n(o,i(e))}},4239:(e,t,i)=>{var n=i(2705),r=i(9607),o=i(2333),a=n?n.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":a&&a in Object(e)?r(e):o(e)}},13:e=>{e.exports=function(e,t){return null!=e&&t in Object(e)}},9454:(e,t,i)=>{var n=i(4239),r=i(7005);e.exports=function(e){return r(e)&&"[object Arguments]"==n(e)}},939:(e,t,i)=>{var n=i(2492),r=i(7005);e.exports=function e(t,i,o,a,s){return t===i||(null==t||null==i||!r(t)&&!r(i)?t!=t&&i!=i:n(t,i,o,a,e,s))}},2492:(e,t,i)=>{var n=i(6384),r=i(7114),o=i(8351),a=i(6096),s=i(4160),l=i(1469),u=i(4144),d=i(6719),c="[object Arguments]",p="[object Array]",f="[object Object]",m=Object.prototype.hasOwnProperty;e.exports=function(e,t,i,h,v,g){var y=l(e),w=l(t),S=y?p:s(e),b=w?p:s(t),T=(S=S==c?f:S)==f,x=(b=b==c?f:b)==f,O=S==b;if(O&&u(e)){if(!u(t))return!1;y=!0,T=!1}if(O&&!T)return g||(g=new n),y||d(e)?r(e,t,i,h,v,g):o(e,t,S,i,h,v,g);if(!(1&i)){var I=T&&m.call(e,"__wrapped__"),R=x&&m.call(t,"__wrapped__");if(I||R){var N=I?e.value():e,C=R?t.value():t;return g||(g=new n),v(N,C,i,h,g)}}return!!O&&(g||(g=new n),a(e,t,i,h,v,g))}},2958:(e,t,i)=>{var n=i(6384),r=i(939);e.exports=function(e,t,i,o){var a=i.length,s=a,l=!o;if(null==e)return!s;for(e=Object(e);a--;){var u=i[a];if(l&&u[2]?u[1]!==e[u[0]]:!(u[0]in e))return!1}for(;++a<s;){var d=(u=i[a])[0],c=e[d],p=u[1];if(l&&u[2]){if(void 0===c&&!(d in e))return!1}else{var f=new n;if(o)var m=o(c,p,d,e,t,f);if(!(void 0===m?r(p,c,3,o,f):m))return!1}}return!0}},8458:(e,t,i)=>{var n=i(3560),r=i(5346),o=i(3218),a=i(346),s=/^\[object .+?Constructor\]$/,l=Function.prototype,u=Object.prototype,d=l.toString,c=u.hasOwnProperty,p=RegExp("^"+d.call(c).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!o(e)||r(e))&&(n(e)?p:s).test(a(e))}},8749:(e,t,i)=>{var n=i(4239),r=i(1780),o=i(7005),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1,e.exports=function(e){return o(e)&&r(e.length)&&!!a[n(e)]}},7206:(e,t,i)=>{var n=i(1573),r=i(6432),o=i(6557),a=i(1469),s=i(9601);e.exports=function(e){return"function"==typeof e?e:null==e?o:"object"==typeof e?a(e)?r(e[0],e[1]):n(e):s(e)}},280:(e,t,i)=>{var n=i(5726),r=i(6916),o=Object.prototype.hasOwnProperty;e.exports=function(e){if(!n(e))return r(e);var t=[];for(var i in Object(e))o.call(e,i)&&"constructor"!=i&&t.push(i);return t}},1573:(e,t,i)=>{var n=i(2958),r=i(1499),o=i(2634);e.exports=function(e){var t=r(e);return 1==t.length&&t[0][2]?o(t[0][0],t[0][1]):function(i){return i===e||n(i,e,t)}}},6432:(e,t,i)=>{var n=i(939),r=i(7361),o=i(9095),a=i(5403),s=i(9162),l=i(2634),u=i(327);e.exports=function(e,t){return a(e)&&s(t)?l(u(e),t):function(i){var a=r(i,e);return void 0===a&&a===t?o(i,e):n(t,a,3)}}},371:e=>{e.exports=function(e){return function(t){return null==t?void 0:t[e]}}},9152:(e,t,i)=>{var n=i(7786);e.exports=function(e){return function(t){return n(t,e)}}},2545:e=>{e.exports=function(e,t){for(var i=-1,n=Array(e);++i<e;)n[i]=t(i);return n}},531:(e,t,i)=>{var n=i(2705),r=i(9932),o=i(1469),a=i(3448),s=n?n.prototype:void 0,l=s?s.toString:void 0;e.exports=function e(t){if("string"==typeof t)return t;if(o(t))return r(t,e)+"";if(a(t))return l?l.call(t):"";var i=t+"";return"0"==i&&1/t==-1/0?"-0":i}},7518:e=>{e.exports=function(e){return function(t){return e(t)}}},4757:e=>{e.exports=function(e,t){return e.has(t)}},1811:(e,t,i)=>{var n=i(1469),r=i(5403),o=i(5514),a=i(9833);e.exports=function(e,t){return n(e)?e:r(e,t)?[e]:o(a(e))}},4429:(e,t,i)=>{var n=i(5639)["__core-js_shared__"];e.exports=n},5189:(e,t,i)=>{var n=i(4174),r=i(1119),o=i(7206),a=i(1469);e.exports=function(e,t){return function(i,s){var l=a(i)?n:r,u=t?t():{};return l(i,e,o(s,2),u)}}},9291:(e,t,i)=>{var n=i(8612);e.exports=function(e,t){return function(i,r){if(null==i)return i;if(!n(i))return e(i,r);for(var o=i.length,a=t?o:-1,s=Object(i);(t?a--:++a<o)&&!1!==r(s[a],a,s););return i}}},5063:e=>{e.exports=function(e){return function(t,i,n){for(var r=-1,o=Object(t),a=n(t),s=a.length;s--;){var l=a[e?s:++r];if(!1===i(o[l],l,o))break}return t}}},8777:(e,t,i)=>{var n=i(852),r=function(){try{var e=n(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();e.exports=r},7114:(e,t,i)=>{var n=i(8668),r=i(2908),o=i(4757);e.exports=function(e,t,i,a,s,l){var u=1&i,d=e.length,c=t.length;if(d!=c&&!(u&&c>d))return!1;var p=l.get(e),f=l.get(t);if(p&&f)return p==t&&f==e;var m=-1,h=!0,v=2&i?new n:void 0;for(l.set(e,t),l.set(t,e);++m<d;){var g=e[m],y=t[m];if(a)var w=u?a(y,g,m,t,e,l):a(g,y,m,e,t,l);if(void 0!==w){if(w)continue;h=!1;break}if(v){if(!r(t,(function(e,t){if(!o(v,t)&&(g===e||s(g,e,i,a,l)))return v.push(t)}))){h=!1;break}}else if(g!==y&&!s(g,y,i,a,l)){h=!1;break}}return l.delete(e),l.delete(t),h}},8351:(e,t,i)=>{var n=i(2705),r=i(1149),o=i(7813),a=i(7114),s=i(8776),l=i(1814),u=n?n.prototype:void 0,d=u?u.valueOf:void 0;e.exports=function(e,t,i,n,u,c,p){switch(i){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!c(new r(e),new r(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return o(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var f=s;case"[object Set]":var m=1&n;if(f||(f=l),e.size!=t.size&&!m)return!1;var h=p.get(e);if(h)return h==t;n|=2,p.set(e,t);var v=a(f(e),f(t),n,u,c,p);return p.delete(e),v;case"[object Symbol]":if(d)return d.call(e)==d.call(t)}return!1}},6096:(e,t,i)=>{var n=i(8234),r=Object.prototype.hasOwnProperty;e.exports=function(e,t,i,o,a,s){var l=1&i,u=n(e),d=u.length;if(d!=n(t).length&&!l)return!1;for(var c=d;c--;){var p=u[c];if(!(l?p in t:r.call(t,p)))return!1}var f=s.get(e),m=s.get(t);if(f&&m)return f==t&&m==e;var h=!0;s.set(e,t),s.set(t,e);for(var v=l;++c<d;){var g=e[p=u[c]],y=t[p];if(o)var w=l?o(y,g,p,t,e,s):o(g,y,p,e,t,s);if(!(void 0===w?g===y||a(g,y,i,o,s):w)){h=!1;break}v||(v="constructor"==p)}if(h&&!v){var S=e.constructor,b=t.constructor;S==b||!("constructor"in e)||!("constructor"in t)||"function"==typeof S&&S instanceof S&&"function"==typeof b&&b instanceof b||(h=!1)}return s.delete(e),s.delete(t),h}},1957:(e,t,i)=>{var n="object"==typeof i.g&&i.g&&i.g.Object===Object&&i.g;e.exports=n},8234:(e,t,i)=>{var n=i(8866),r=i(9551),o=i(3674);e.exports=function(e){return n(e,o,r)}},5050:(e,t,i)=>{var n=i(7019);e.exports=function(e,t){var i=e.__data__;return n(t)?i["string"==typeof t?"string":"hash"]:i.map}},1499:(e,t,i)=>{var n=i(9162),r=i(3674);e.exports=function(e){for(var t=r(e),i=t.length;i--;){var o=t[i],a=e[o];t[i]=[o,a,n(a)]}return t}},852:(e,t,i)=>{var n=i(8458),r=i(7801);e.exports=function(e,t){var i=r(e,t);return n(i)?i:void 0}},9607:(e,t,i)=>{var n=i(2705),r=Object.prototype,o=r.hasOwnProperty,a=r.toString,s=n?n.toStringTag:void 0;e.exports=function(e){var t=o.call(e,s),i=e[s];try{e[s]=void 0;var n=!0}catch(e){}var r=a.call(e);return n&&(t?e[s]=i:delete e[s]),r}},9551:(e,t,i)=>{var n=i(4963),r=i(479),o=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols,s=a?function(e){return null==e?[]:(e=Object(e),n(a(e),(function(t){return o.call(e,t)})))}:r;e.exports=s},4160:(e,t,i)=>{var n=i(8552),r=i(7071),o=i(3818),a=i(8525),s=i(577),l=i(4239),u=i(346),d="[object Map]",c="[object Promise]",p="[object Set]",f="[object WeakMap]",m="[object DataView]",h=u(n),v=u(r),g=u(o),y=u(a),w=u(s),S=l;(n&&S(new n(new ArrayBuffer(1)))!=m||r&&S(new r)!=d||o&&S(o.resolve())!=c||a&&S(new a)!=p||s&&S(new s)!=f)&&(S=function(e){var t=l(e),i="[object Object]"==t?e.constructor:void 0,n=i?u(i):"";if(n)switch(n){case h:return m;case v:return d;case g:return c;case y:return p;case w:return f}return t}),e.exports=S},7801:e=>{e.exports=function(e,t){return null==e?void 0:e[t]}},222:(e,t,i)=>{var n=i(1811),r=i(5694),o=i(1469),a=i(5776),s=i(1780),l=i(327);e.exports=function(e,t,i){for(var u=-1,d=(t=n(t,e)).length,c=!1;++u<d;){var p=l(t[u]);if(!(c=null!=e&&i(e,p)))break;e=e[p]}return c||++u!=d?c:!!(d=null==e?0:e.length)&&s(d)&&a(p,d)&&(o(e)||r(e))}},1789:(e,t,i)=>{var n=i(4536);e.exports=function(){this.__data__=n?n(null):{},this.size=0}},401:e=>{e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},7667:(e,t,i)=>{var n=i(4536),r=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(n){var i=t[e];return"__lodash_hash_undefined__"===i?void 0:i}return r.call(t,e)?t[e]:void 0}},1327:(e,t,i)=>{var n=i(4536),r=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return n?void 0!==t[e]:r.call(t,e)}},1866:(e,t,i)=>{var n=i(4536);e.exports=function(e,t){var i=this.__data__;return this.size+=this.has(e)?0:1,i[e]=n&&void 0===t?"__lodash_hash_undefined__":t,this}},5776:e=>{var t=/^(?:0|[1-9]\d*)$/;e.exports=function(e,i){var n=typeof e;return!!(i=null==i?9007199254740991:i)&&("number"==n||"symbol"!=n&&t.test(e))&&e>-1&&e%1==0&&e<i}},5403:(e,t,i)=>{var n=i(1469),r=i(3448),o=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;e.exports=function(e,t){if(n(e))return!1;var i=typeof e;return!("number"!=i&&"symbol"!=i&&"boolean"!=i&&null!=e&&!r(e))||a.test(e)||!o.test(e)||null!=t&&e in Object(t)}},7019:e=>{e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},5346:(e,t,i)=>{var n,r=i(4429),o=(n=/[^.]+$/.exec(r&&r.keys&&r.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"";e.exports=function(e){return!!o&&o in e}},5726:e=>{var t=Object.prototype;e.exports=function(e){var i=e&&e.constructor;return e===("function"==typeof i&&i.prototype||t)}},9162:(e,t,i)=>{var n=i(3218);e.exports=function(e){return e==e&&!n(e)}},7040:e=>{e.exports=function(){this.__data__=[],this.size=0}},4125:(e,t,i)=>{var n=i(8470),r=Array.prototype.splice;e.exports=function(e){var t=this.__data__,i=n(t,e);return!(i<0||(i==t.length-1?t.pop():r.call(t,i,1),--this.size,0))}},2117:(e,t,i)=>{var n=i(8470);e.exports=function(e){var t=this.__data__,i=n(t,e);return i<0?void 0:t[i][1]}},7529:(e,t,i)=>{var n=i(8470);e.exports=function(e){return n(this.__data__,e)>-1}},4705:(e,t,i)=>{var n=i(8470);e.exports=function(e,t){var i=this.__data__,r=n(i,e);return r<0?(++this.size,i.push([e,t])):i[r][1]=t,this}},4785:(e,t,i)=>{var n=i(1989),r=i(8407),o=i(7071);e.exports=function(){this.size=0,this.__data__={hash:new n,map:new(o||r),string:new n}}},1285:(e,t,i)=>{var n=i(5050);e.exports=function(e){var t=n(this,e).delete(e);return this.size-=t?1:0,t}},6e3:(e,t,i)=>{var n=i(5050);e.exports=function(e){return n(this,e).get(e)}},9916:(e,t,i)=>{var n=i(5050);e.exports=function(e){return n(this,e).has(e)}},5265:(e,t,i)=>{var n=i(5050);e.exports=function(e,t){var i=n(this,e),r=i.size;return i.set(e,t),this.size+=i.size==r?0:1,this}},8776:e=>{e.exports=function(e){var t=-1,i=Array(e.size);return e.forEach((function(e,n){i[++t]=[n,e]})),i}},2634:e=>{e.exports=function(e,t){return function(i){return null!=i&&i[e]===t&&(void 0!==t||e in Object(i))}}},4523:(e,t,i)=>{var n=i(8306);e.exports=function(e){var t=n(e,(function(e){return 500===i.size&&i.clear(),e})),i=t.cache;return t}},4536:(e,t,i)=>{var n=i(852)(Object,"create");e.exports=n},6916:(e,t,i)=>{var n=i(5569)(Object.keys,Object);e.exports=n},1167:(e,t,i)=>{e=i.nmd(e);var n=i(1957),r=t&&!t.nodeType&&t,o=r&&e&&!e.nodeType&&e,a=o&&o.exports===r&&n.process,s=function(){try{return o&&o.require&&o.require("util").types||a&&a.binding&&a.binding("util")}catch(e){}}();e.exports=s},2333:e=>{var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},5569:e=>{e.exports=function(e,t){return function(i){return e(t(i))}}},5639:(e,t,i)=>{var n=i(1957),r="object"==typeof self&&self&&self.Object===Object&&self,o=n||r||Function("return this")();e.exports=o},619:e=>{e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},2385:e=>{e.exports=function(e){return this.__data__.has(e)}},1814:e=>{e.exports=function(e){var t=-1,i=Array(e.size);return e.forEach((function(e){i[++t]=e})),i}},7465:(e,t,i)=>{var n=i(8407);e.exports=function(){this.__data__=new n,this.size=0}},3779:e=>{e.exports=function(e){var t=this.__data__,i=t.delete(e);return this.size=t.size,i}},7599:e=>{e.exports=function(e){return this.__data__.get(e)}},4758:e=>{e.exports=function(e){return this.__data__.has(e)}},4309:(e,t,i)=>{var n=i(8407),r=i(7071),o=i(3369);e.exports=function(e,t){var i=this.__data__;if(i instanceof n){var a=i.__data__;if(!r||a.length<199)return a.push([e,t]),this.size=++i.size,this;i=this.__data__=new o(a)}return i.set(e,t),this.size=i.size,this}},5514:(e,t,i)=>{var n=i(4523),r=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,o=/\\(\\)?/g,a=n((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(r,(function(e,i,n,r){t.push(n?r.replace(o,"$1"):i||e)})),t}));e.exports=a},327:(e,t,i)=>{var n=i(3448);e.exports=function(e){if("string"==typeof e||n(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}},346:e=>{var t=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return t.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},7813:e=>{e.exports=function(e,t){return e===t||e!=e&&t!=t}},7361:(e,t,i)=>{var n=i(7786);e.exports=function(e,t,i){var r=null==e?void 0:n(e,t);return void 0===r?i:r}},7739:(e,t,i)=>{var n=i(9465),r=i(5189),o=Object.prototype.hasOwnProperty,a=r((function(e,t,i){o.call(e,i)?e[i].push(t):n(e,i,[t])}));e.exports=a},9095:(e,t,i)=>{var n=i(13),r=i(222);e.exports=function(e,t){return null!=e&&r(e,t,n)}},6557:e=>{e.exports=function(e){return e}},5694:(e,t,i)=>{var n=i(9454),r=i(7005),o=Object.prototype,a=o.hasOwnProperty,s=o.propertyIsEnumerable,l=n(function(){return arguments}())?n:function(e){return r(e)&&a.call(e,"callee")&&!s.call(e,"callee")};e.exports=l},1469:e=>{var t=Array.isArray;e.exports=t},8612:(e,t,i)=>{var n=i(3560),r=i(1780);e.exports=function(e){return null!=e&&r(e.length)&&!n(e)}},4144:(e,t,i)=>{e=i.nmd(e);var n=i(5639),r=i(5062),o=t&&!t.nodeType&&t,a=o&&e&&!e.nodeType&&e,s=a&&a.exports===o?n.Buffer:void 0,l=(s?s.isBuffer:void 0)||r;e.exports=l},3560:(e,t,i)=>{var n=i(4239),r=i(3218);e.exports=function(e){if(!r(e))return!1;var t=n(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},1780:e=>{e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},3218:e=>{e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},7005:e=>{e.exports=function(e){return null!=e&&"object"==typeof e}},3448:(e,t,i)=>{var n=i(4239),r=i(7005);e.exports=function(e){return"symbol"==typeof e||r(e)&&"[object Symbol]"==n(e)}},6719:(e,t,i)=>{var n=i(8749),r=i(7518),o=i(1167),a=o&&o.isTypedArray,s=a?r(a):n;e.exports=s},3674:(e,t,i)=>{var n=i(4636),r=i(280),o=i(8612);e.exports=function(e){return o(e)?n(e):r(e)}},8306:(e,t,i)=>{var n=i(3369);function r(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var i=function(){var n=arguments,r=t?t.apply(this,n):n[0],o=i.cache;if(o.has(r))return o.get(r);var a=e.apply(this,n);return i.cache=o.set(r,a)||o,a};return i.cache=new(r.Cache||n),i}r.Cache=n,e.exports=r},9601:(e,t,i)=>{var n=i(371),r=i(9152),o=i(5403),a=i(327);e.exports=function(e){return o(e)?n(a(e)):r(e)}},479:e=>{e.exports=function(){return[]}},5062:e=>{e.exports=function(){return!1}},9833:(e,t,i)=>{var n=i(531);e.exports=function(e){return null==e?"":n(e)}},7418:e=>{var t=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable;function r(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},i=0;i<10;i++)t["_"+String.fromCharCode(i)]=i;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var n={};return"abcdefghijklmnopqrst".split("").forEach((function(e){n[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},n)).join("")}catch(e){return!1}}()?Object.assign:function(e,o){for(var a,s,l=r(e),u=1;u<arguments.length;u++){for(var d in a=Object(arguments[u]))i.call(a,d)&&(l[d]=a[d]);if(t){s=t(a);for(var c=0;c<s.length;c++)n.call(a,s[c])&&(l[s[c]]=a[s[c]])}}return l}},2408:(e,t,i)=>{var n=i(7418);if("function"==typeof Symbol&&Symbol.for){var r=Symbol.for;r("react.element"),r("react.portal"),r("react.fragment"),r("react.strict_mode"),r("react.profiler"),r("react.provider"),r("react.context"),r("react.forward_ref"),r("react.suspense"),r("react.memo"),r("react.lazy")}"function"==typeof Symbol&&Symbol.iterator;function o(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,i=1;i<arguments.length;i++)t+="&args[]="+encodeURIComponent(arguments[i]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var a={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},s={};function l(e,t,i){this.props=e,this.context=t,this.refs=s,this.updater=i||a}function u(){}function d(e,t,i){this.props=e,this.context=t,this.refs=s,this.updater=i||a}l.prototype.isReactComponent={},l.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error(o(85));this.updater.enqueueSetState(this,e,t,"setState")},l.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},u.prototype=l.prototype;var c=d.prototype=new u;c.constructor=d,n(c,l.prototype),c.isPureReactComponent=!0;Object.prototype.hasOwnProperty},7294:(e,t,i)=>{i(2408)},3379:e=>{var t=[];function i(e){for(var i=-1,n=0;n<t.length;n++)if(t[n].identifier===e){i=n;break}return i}function n(e,n){for(var o={},a=[],s=0;s<e.length;s++){var l=e[s],u=n.base?l[0]+n.base:l[0],d=o[u]||0,c="".concat(u," ").concat(d);o[u]=d+1;var p=i(c),f={css:l[1],media:l[2],sourceMap:l[3],supports:l[4],layer:l[5]};if(-1!==p)t[p].references++,t[p].updater(f);else{var m=r(f,n);n.byIndex=s,t.splice(s,0,{identifier:c,updater:m,references:1})}a.push(c)}return a}function r(e,t){var i=t.domAPI(t);return i.update(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;i.update(e=t)}else i.remove()}}e.exports=function(e,r){var o=n(e=e||[],r=r||{});return function(e){e=e||[];for(var a=0;a<o.length;a++){var s=i(o[a]);t[s].references--}for(var l=n(e,r),u=0;u<o.length;u++){var d=i(o[u]);0===t[d].references&&(t[d].updater(),t.splice(d,1))}o=l}}},569:e=>{var t={};e.exports=function(e,i){var n=function(e){if(void 0===t[e]){var i=document.querySelector(e);if(window.HTMLIFrameElement&&i instanceof window.HTMLIFrameElement)try{i=i.contentDocument.head}catch(e){i=null}t[e]=i}return t[e]}(e);if(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");n.appendChild(i)}},9216:e=>{e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},3565:(e,t,i)=>{e.exports=function(e){var t=i.nc;t&&e.setAttribute("nonce",t)}},7795:e=>{e.exports=function(e){var t=e.insertStyleElement(e);return{update:function(i){!function(e,t,i){var n="";i.supports&&(n+="@supports (".concat(i.supports,") {")),i.media&&(n+="@media ".concat(i.media," {"));var r=void 0!==i.layer;r&&(n+="@layer".concat(i.layer.length>0?" ".concat(i.layer):""," {")),n+=i.css,r&&(n+="}"),i.media&&(n+="}"),i.supports&&(n+="}");var o=i.sourceMap;o&&"undefined"!=typeof btoa&&(n+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(o))))," */")),t.styleTagTransform(n,e,t.options)}(t,e,i)},remove:function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(t)}}}},4589:e=>{e.exports=function(e,t){if(t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}}},t={};function i(n){var r=t[n];if(void 0!==r)return r.exports;var o=t[n]={id:n,loaded:!1,exports:{}};return e[n].call(o.exports,o,o.exports,i),o.loaded=!0,o.exports}i.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return i.d(t,{a:t}),t},i.d=(e,t)=>{for(var n in t)i.o(t,n)&&!i.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},i.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),i.nmd=e=>(e.paths=[],e.children||(e.children=[]),e);var n={};(()=>{i.d(n,{Z:()=>An});const e=window.ShadowRoot&&(void 0===window.ShadyCSS||window.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,t=Symbol(),r=new Map;class o{constructor(e,i){if(this._$cssResult$=!0,i!==t)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e}get styleSheet(){let t=r.get(this.cssText);return e&&void 0===t&&(r.set(this.cssText,t=new CSSStyleSheet),t.replaceSync(this.cssText)),t}toString(){return this.cssText}}const a=(e,...i)=>{const n=1===e.length?e[0]:i.reduce(((t,i,n)=>t+(e=>{if(!0===e._$cssResult$)return e.cssText;if("number"==typeof e)return e;throw Error("Value passed to 'css' function must be a 'css' function result: "+e+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(i)+e[n+1]),e[0]);return new o(n,t)},s=e?e=>e:e=>e instanceof CSSStyleSheet?(e=>{let i="";for(const t of e.cssRules)i+=t.cssText;return(e=>new o("string"==typeof e?e:e+"",t))(i)})(e):e;var l;const u=window.trustedTypes,d=u?u.emptyScript:"",c=window.reactiveElementPolyfillSupport,p={toAttribute(e,t){switch(t){case Boolean:e=e?d:null;break;case Object:case Array:e=null==e?e:JSON.stringify(e)}return e},fromAttribute(e,t){let i=e;switch(t){case Boolean:i=null!==e;break;case Number:i=null===e?null:Number(e);break;case Object:case Array:try{i=JSON.parse(e)}catch(e){i=null}}return i}},f=(e,t)=>t!==e&&(t==t||e==e),m={attribute:!0,type:String,converter:p,reflect:!1,hasChanged:f};class h extends HTMLElement{constructor(){super(),this._$Et=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Ei=null,this.o()}static addInitializer(e){var t;null!==(t=this.l)&&void 0!==t||(this.l=[]),this.l.push(e)}static get observedAttributes(){this.finalize();const e=[];return this.elementProperties.forEach(((t,i)=>{const n=this._$Eh(i,t);void 0!==n&&(this._$Eu.set(n,i),e.push(n))})),e}static createProperty(e,t=m){if(t.state&&(t.attribute=!1),this.finalize(),this.elementProperties.set(e,t),!t.noAccessor&&!this.prototype.hasOwnProperty(e)){const i="symbol"==typeof e?Symbol():"__"+e,n=this.getPropertyDescriptor(e,i,t);void 0!==n&&Object.defineProperty(this.prototype,e,n)}}static getPropertyDescriptor(e,t,i){return{get(){return this[t]},set(n){const r=this[e];this[t]=n,this.requestUpdate(e,r,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)||m}static finalize(){if(this.hasOwnProperty("finalized"))return!1;this.finalized=!0;const e=Object.getPrototypeOf(this);if(e.finalize(),this.elementProperties=new Map(e.elementProperties),this._$Eu=new Map,this.hasOwnProperty("properties")){const e=this.properties,t=[...Object.getOwnPropertyNames(e),...Object.getOwnPropertySymbols(e)];for(const i of t)this.createProperty(i,e[i])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(e){const t=[];if(Array.isArray(e)){const i=new Set(e.flat(1/0).reverse());for(const e of i)t.unshift(s(e))}else void 0!==e&&t.push(s(e));return t}static _$Eh(e,t){const i=t.attribute;return!1===i?void 0:"string"==typeof i?i:"string"==typeof e?e.toLowerCase():void 0}o(){var e;this._$Ep=new Promise((e=>this.enableUpdating=e)),this._$AL=new Map,this._$Em(),this.requestUpdate(),null===(e=this.constructor.l)||void 0===e||e.forEach((e=>e(this)))}addController(e){var t,i;(null!==(t=this._$Eg)&&void 0!==t?t:this._$Eg=[]).push(e),void 0!==this.renderRoot&&this.isConnected&&(null===(i=e.hostConnected)||void 0===i||i.call(e))}removeController(e){var t;null===(t=this._$Eg)||void 0===t||t.splice(this._$Eg.indexOf(e)>>>0,1)}_$Em(){this.constructor.elementProperties.forEach(((e,t)=>{this.hasOwnProperty(t)&&(this._$Et.set(t,this[t]),delete this[t])}))}createRenderRoot(){var t;const i=null!==(t=this.shadowRoot)&&void 0!==t?t:this.attachShadow(this.constructor.shadowRootOptions);return((t,i)=>{e?t.adoptedStyleSheets=i.map((e=>e instanceof CSSStyleSheet?e:e.styleSheet)):i.forEach((e=>{const i=document.createElement("style"),n=window.litNonce;void 0!==n&&i.setAttribute("nonce",n),i.textContent=e.cssText,t.appendChild(i)}))})(i,this.constructor.elementStyles),i}connectedCallback(){var e;void 0===this.renderRoot&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null===(e=this._$Eg)||void 0===e||e.forEach((e=>{var t;return null===(t=e.hostConnected)||void 0===t?void 0:t.call(e)}))}enableUpdating(e){}disconnectedCallback(){var e;null===(e=this._$Eg)||void 0===e||e.forEach((e=>{var t;return null===(t=e.hostDisconnected)||void 0===t?void 0:t.call(e)}))}attributeChangedCallback(e,t,i){this._$AK(e,i)}_$ES(e,t,i=m){var n,r;const o=this.constructor._$Eh(e,i);if(void 0!==o&&!0===i.reflect){const a=(null!==(r=null===(n=i.converter)||void 0===n?void 0:n.toAttribute)&&void 0!==r?r:p.toAttribute)(t,i.type);this._$Ei=e,null==a?this.removeAttribute(o):this.setAttribute(o,a),this._$Ei=null}}_$AK(e,t){var i,n,r;const o=this.constructor,a=o._$Eu.get(e);if(void 0!==a&&this._$Ei!==a){const e=o.getPropertyOptions(a),s=e.converter,l=null!==(r=null!==(n=null===(i=s)||void 0===i?void 0:i.fromAttribute)&&void 0!==n?n:"function"==typeof s?s:null)&&void 0!==r?r:p.fromAttribute;this._$Ei=a,this[a]=l(t,e.type),this._$Ei=null}}requestUpdate(e,t,i){let n=!0;void 0!==e&&(((i=i||this.constructor.getPropertyOptions(e)).hasChanged||f)(this[e],t)?(this._$AL.has(e)||this._$AL.set(e,t),!0===i.reflect&&this._$Ei!==e&&(void 0===this._$EC&&(this._$EC=new Map),this._$EC.set(e,i))):n=!1),!this.isUpdatePending&&n&&(this._$Ep=this._$E_())}async _$E_(){this.isUpdatePending=!0;try{await this._$Ep}catch(e){Promise.reject(e)}const e=this.scheduleUpdate();return null!=e&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var e;if(!this.isUpdatePending)return;this.hasUpdated,this._$Et&&(this._$Et.forEach(((e,t)=>this[t]=e)),this._$Et=void 0);let t=!1;const i=this._$AL;try{t=this.shouldUpdate(i),t?(this.willUpdate(i),null===(e=this._$Eg)||void 0===e||e.forEach((e=>{var t;return null===(t=e.hostUpdate)||void 0===t?void 0:t.call(e)})),this.update(i)):this._$EU()}catch(e){throw t=!1,this._$EU(),e}t&&this._$AE(i)}willUpdate(e){}_$AE(e){var t;null===(t=this._$Eg)||void 0===t||t.forEach((e=>{var t;return null===(t=e.hostUpdated)||void 0===t?void 0:t.call(e)})),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Ep}shouldUpdate(e){return!0}update(e){void 0!==this._$EC&&(this._$EC.forEach(((e,t)=>this._$ES(t,this[t],e))),this._$EC=void 0),this._$EU()}updated(e){}firstUpdated(e){}}var v;h.finalized=!0,h.elementProperties=new Map,h.elementStyles=[],h.shadowRootOptions={mode:"open"},null==c||c({ReactiveElement:h}),(null!==(l=globalThis.reactiveElementVersions)&&void 0!==l?l:globalThis.reactiveElementVersions=[]).push("1.3.1");const g=globalThis.trustedTypes,y=g?g.createPolicy("lit-html",{createHTML:e=>e}):void 0,w=`lit$${(Math.random()+"").slice(9)}$`,S="?"+w,b=`<${S}>`,T=document,x=(e="")=>T.createComment(e),O=e=>null===e||"object"!=typeof e&&"function"!=typeof e,I=Array.isArray,R=e=>{var t;return I(e)||"function"==typeof(null===(t=e)||void 0===t?void 0:t[Symbol.iterator])},N=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,C=/-->/g,A=/>/g,E=/>|[ \n \r](?:([^\s"'>=/]+)([ \n \r]*=[ \n \r]*(?:[^ \n \r"'`<>=]|("|')|))|$)/g,_=/'/g,F=/"/g,M=/^(?:script|style|textarea|title)$/i,P=e=>(t,...i)=>({_$litType$:e,strings:t,values:i}),D=P(1),q=(P(2),Symbol.for("lit-noChange")),J=Symbol.for("lit-nothing"),U=new WeakMap,k=T.createTreeWalker(T,129,null,!1),L=(e,t)=>{const i=e.length-1,n=[];let r,o=2===t?"<svg>":"",a=N;for(let t=0;t<i;t++){const i=e[t];let s,l,u=-1,d=0;for(;d<i.length&&(a.lastIndex=d,l=a.exec(i),null!==l);)d=a.lastIndex,a===N?"!--"===l[1]?a=C:void 0!==l[1]?a=A:void 0!==l[2]?(M.test(l[2])&&(r=RegExp("</"+l[2],"g")),a=E):void 0!==l[3]&&(a=E):a===E?">"===l[0]?(a=null!=r?r:N,u=-1):void 0===l[1]?u=-2:(u=a.lastIndex-l[2].length,s=l[1],a=void 0===l[3]?E:'"'===l[3]?F:_):a===F||a===_?a=E:a===C||a===A?a=N:(a=E,r=void 0);const c=a===E&&e[t+1].startsWith("/>")?" ":"";o+=a===N?i+b:u>=0?(n.push(s),i.slice(0,u)+"$lit$"+i.slice(u)+w+c):i+w+(-2===u?(n.push(void 0),t):c)}const s=o+(e[i]||"<?>")+(2===t?"</svg>":"");if(!Array.isArray(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==y?y.createHTML(s):s,n]};class B{constructor({strings:e,_$litType$:t},i){let n;this.parts=[];let r=0,o=0;const a=e.length-1,s=this.parts,[l,u]=L(e,t);if(this.el=B.createElement(l,i),k.currentNode=this.el.content,2===t){const e=this.el.content,t=e.firstChild;t.remove(),e.append(...t.childNodes)}for(;null!==(n=k.nextNode())&&s.length<a;){if(1===n.nodeType){if(n.hasAttributes()){const e=[];for(const t of n.getAttributeNames())if(t.endsWith("$lit$")||t.startsWith(w)){const i=u[o++];if(e.push(t),void 0!==i){const e=n.getAttribute(i.toLowerCase()+"$lit$").split(w),t=/([.?@])?(.*)/.exec(i);s.push({type:1,index:r,name:t[2],strings:e,ctor:"."===t[1]?$:"?"===t[1]?V:"@"===t[1]?X:G})}else s.push({type:6,index:r})}for(const t of e)n.removeAttribute(t)}if(M.test(n.tagName)){const e=n.textContent.split(w),t=e.length-1;if(t>0){n.textContent=g?g.emptyScript:"";for(let i=0;i<t;i++)n.append(e[i],x()),k.nextNode(),s.push({type:2,index:++r});n.append(e[t],x())}}}else if(8===n.nodeType)if(n.data===S)s.push({type:2,index:r});else{let e=-1;for(;-1!==(e=n.data.indexOf(w,e+1));)s.push({type:7,index:r}),e+=w.length-1}r++}}static createElement(e,t){const i=T.createElement("template");return i.innerHTML=e,i}}function j(e,t,i=e,n){var r,o,a,s;if(t===q)return t;let l=void 0!==n?null===(r=i._$Cl)||void 0===r?void 0:r[n]:i._$Cu;const u=O(t)?void 0:t._$litDirective$;return(null==l?void 0:l.constructor)!==u&&(null===(o=null==l?void 0:l._$AO)||void 0===o||o.call(l,!1),void 0===u?l=void 0:(l=new u(e),l._$AT(e,i,n)),void 0!==n?(null!==(a=(s=i)._$Cl)&&void 0!==a?a:s._$Cl=[])[n]=l:i._$Cu=l),void 0!==l&&(t=j(e,l._$AS(e,t.values),l,n)),t}class H{constructor(e,t){this.v=[],this._$AN=void 0,this._$AD=e,this._$AM=t}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}p(e){var t;const{el:{content:i},parts:n}=this._$AD,r=(null!==(t=null==e?void 0:e.creationScope)&&void 0!==t?t:T).importNode(i,!0);k.currentNode=r;let o=k.nextNode(),a=0,s=0,l=n[0];for(;void 0!==l;){if(a===l.index){let t;2===l.type?t=new W(o,o.nextSibling,this,e):1===l.type?t=new l.ctor(o,l.name,l.strings,this,e):6===l.type&&(t=new Q(o,this,e)),this.v.push(t),l=n[++s]}a!==(null==l?void 0:l.index)&&(o=k.nextNode(),a++)}return r}m(e){let t=0;for(const i of this.v)void 0!==i&&(void 0!==i.strings?(i._$AI(e,i,t),t+=i.strings.length-2):i._$AI(e[t])),t++}}class W{constructor(e,t,i,n){var r;this.type=2,this._$AH=J,this._$AN=void 0,this._$AA=e,this._$AB=t,this._$AM=i,this.options=n,this._$Cg=null===(r=null==n?void 0:n.isConnected)||void 0===r||r}get _$AU(){var e,t;return null!==(t=null===(e=this._$AM)||void 0===e?void 0:e._$AU)&&void 0!==t?t:this._$Cg}get parentNode(){let e=this._$AA.parentNode;const t=this._$AM;return void 0!==t&&11===e.nodeType&&(e=t.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,t=this){e=j(this,e,t),O(e)?e===J||null==e||""===e?(this._$AH!==J&&this._$AR(),this._$AH=J):e!==this._$AH&&e!==q&&this.$(e):void 0!==e._$litType$?this.T(e):void 0!==e.nodeType?this.k(e):R(e)?this.S(e):this.$(e)}M(e,t=this._$AB){return this._$AA.parentNode.insertBefore(e,t)}k(e){this._$AH!==e&&(this._$AR(),this._$AH=this.M(e))}$(e){this._$AH!==J&&O(this._$AH)?this._$AA.nextSibling.data=e:this.k(T.createTextNode(e)),this._$AH=e}T(e){var t;const{values:i,_$litType$:n}=e,r="number"==typeof n?this._$AC(e):(void 0===n.el&&(n.el=B.createElement(n.h,this.options)),n);if((null===(t=this._$AH)||void 0===t?void 0:t._$AD)===r)this._$AH.m(i);else{const e=new H(r,this),t=e.p(this.options);e.m(i),this.k(t),this._$AH=e}}_$AC(e){let t=U.get(e.strings);return void 0===t&&U.set(e.strings,t=new B(e)),t}S(e){I(this._$AH)||(this._$AH=[],this._$AR());const t=this._$AH;let i,n=0;for(const r of e)n===t.length?t.push(i=new W(this.M(x()),this.M(x()),this,this.options)):i=t[n],i._$AI(r),n++;n<t.length&&(this._$AR(i&&i._$AB.nextSibling,n),t.length=n)}_$AR(e=this._$AA.nextSibling,t){var i;for(null===(i=this._$AP)||void 0===i||i.call(this,!1,!0,t);e&&e!==this._$AB;){const t=e.nextSibling;e.remove(),e=t}}setConnected(e){var t;void 0===this._$AM&&(this._$Cg=e,null===(t=this._$AP)||void 0===t||t.call(this,e))}}class G{constructor(e,t,i,n,r){this.type=1,this._$AH=J,this._$AN=void 0,this.element=e,this.name=t,this._$AM=n,this.options=r,i.length>2||""!==i[0]||""!==i[1]?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=J}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(e,t=this,i,n){const r=this.strings;let o=!1;if(void 0===r)e=j(this,e,t,0),o=!O(e)||e!==this._$AH&&e!==q,o&&(this._$AH=e);else{const n=e;let a,s;for(e=r[0],a=0;a<r.length-1;a++)s=j(this,n[i+a],t,a),s===q&&(s=this._$AH[a]),o||(o=!O(s)||s!==this._$AH[a]),s===J?e=J:e!==J&&(e+=(null!=s?s:"")+r[a+1]),this._$AH[a]=s}o&&!n&&this.C(e)}C(e){e===J?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=e?e:"")}}class $ extends G{constructor(){super(...arguments),this.type=3}C(e){this.element[this.name]=e===J?void 0:e}}const z=g?g.emptyScript:"";class V extends G{constructor(){super(...arguments),this.type=4}C(e){e&&e!==J?this.element.setAttribute(this.name,z):this.element.removeAttribute(this.name)}}class X extends G{constructor(e,t,i,n,r){super(e,t,i,n,r),this.type=5}_$AI(e,t=this){var i;if((e=null!==(i=j(this,e,t,0))&&void 0!==i?i:J)===q)return;const n=this._$AH,r=e===J&&n!==J||e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive,o=e!==J&&(n===J||r);r&&this.element.removeEventListener(this.name,this,n),o&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){var t,i;"function"==typeof this._$AH?this._$AH.call(null!==(i=null===(t=this.options)||void 0===t?void 0:t.host)&&void 0!==i?i:this.element,e):this._$AH.handleEvent(e)}}class Q{constructor(e,t,i){this.element=e,this.type=6,this._$AN=void 0,this._$AM=t,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(e){j(this,e)}}const Z={L:"$lit$",P:w,V:S,I:1,N:L,R:H,j:R,D:j,H:W,F:G,O:V,W:X,B:$,Z:Q},Y=window.litHtmlPolyfillSupport;var K,ee;null==Y||Y(B,W),(null!==(v=globalThis.litHtmlVersions)&&void 0!==v?v:globalThis.litHtmlVersions=[]).push("2.2.2");class te extends h{constructor(){super(...arguments),this.renderOptions={host:this},this._$Dt=void 0}createRenderRoot(){var e,t;const i=super.createRenderRoot();return null!==(e=(t=this.renderOptions).renderBefore)&&void 0!==e||(t.renderBefore=i.firstChild),i}update(e){const t=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(e),this._$Dt=((e,t,i)=>{var n,r;const o=null!==(n=null==i?void 0:i.renderBefore)&&void 0!==n?n:t;let a=o._$litPart$;if(void 0===a){const e=null!==(r=null==i?void 0:i.renderBefore)&&void 0!==r?r:null;o._$litPart$=a=new W(t.insertBefore(x(),e),e,void 0,null!=i?i:{})}return a._$AI(e),a})(t,this.renderRoot,this.renderOptions)}connectedCallback(){var e;super.connectedCallback(),null===(e=this._$Dt)||void 0===e||e.setConnected(!0)}disconnectedCallback(){var e;super.disconnectedCallback(),null===(e=this._$Dt)||void 0===e||e.setConnected(!1)}render(){return q}}te.finalized=!0,te._$litElement$=!0,null===(K=globalThis.litElementHydrateSupport)||void 0===K||K.call(globalThis,{LitElement:te});const ie=globalThis.litElementPolyfillSupport;null==ie||ie({LitElement:te}),(null!==(ee=globalThis.litElementVersions)&&void 0!==ee?ee:globalThis.litElementVersions=[]).push("3.2.0");const ne=e=>t=>"function"==typeof t?((e,t)=>(window.customElements.define(e,t),t))(e,t):((e,t)=>{const{kind:i,elements:n}=t;return{kind:i,elements:n,finisher(t){window.customElements.define(e,t)}}})(e,t),re=(e,t)=>"method"===t.kind&&t.descriptor&&!("value"in t.descriptor)?{...t,finisher(i){i.createProperty(t.key,e)}}:{kind:"field",key:Symbol(),placement:"own",descriptor:{},originalKey:t.key,initializer(){"function"==typeof t.initializer&&(this[t.key]=t.initializer.call(this))},finisher(i){i.createProperty(t.key,e)}};function oe(e){return(t,i)=>void 0!==i?((e,t,i)=>{t.constructor.createProperty(i,e)})(e,t,i):re(e,t)}function ae(e){return oe({...e,state:!0})}function se(e,t){return(({finisher:e,descriptor:t})=>(i,n)=>{var r;if(void 0===n){const n=null!==(r=i.originalKey)&&void 0!==r?r:i.key,o=null!=t?{kind:"method",placement:"prototype",key:n,descriptor:t(i.key)}:{...i,key:n};return null!=e&&(o.finisher=function(t){e(t,n)}),o}{const r=i.constructor;void 0!==t&&Object.defineProperty(i,n,t(n)),null==e||e(r,n)}})({descriptor:i=>{const n={get(){var t,i;return null!==(i=null===(t=this.renderRoot)||void 0===t?void 0:t.querySelector(e))&&void 0!==i?i:null},enumerable:!0,configurable:!0};if(t){const t="symbol"==typeof i?Symbol():"__"+i;n.get=function(){var i,n;return void 0===this[t]&&(this[t]=null!==(n=null===(i=this.renderRoot)||void 0===i?void 0:i.querySelector(e))&&void 0!==n?n:null),this[t]}}return n}})}var le;null===(le=window.HTMLSlotElement)||void 0===le||le.prototype.assignedElements;const ue=e=>(...t)=>({_$litDirective$:e,values:t});class de{constructor(e){}get _$AU(){return this._$AM._$AU}_$AT(e,t,i){this._$Ct=e,this._$AM=t,this._$Ci=i}_$AS(e,t){return this.update(e,t)}update(e,t){return this.render(...t)}}const ce=ue(class extends de{constructor(e){var t;if(super(e),1!==e.type||"class"!==e.name||(null===(t=e.strings)||void 0===t?void 0:t.length)>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(e){return" "+Object.keys(e).filter((t=>e[t])).join(" ")+" "}update(e,[t]){var i,n;if(void 0===this.et){this.et=new Set,void 0!==e.strings&&(this.st=new Set(e.strings.join(" ").split(/\s/).filter((e=>""!==e))));for(const e in t)t[e]&&!(null===(i=this.st)||void 0===i?void 0:i.has(e))&&this.et.add(e);return this.render(t)}const r=e.element.classList;this.et.forEach((e=>{e in t||(r.remove(e),this.et.delete(e))}));for(const e in t){const i=!!t[e];i===this.et.has(e)||(null===(n=this.st)||void 0===n?void 0:n.has(e))||(i?(r.add(e),this.et.add(e)):(r.remove(e),this.et.delete(e)))}return q}}),{H:pe}=Z,fe=(e,t)=>{var i,n;const r=e._$AN;if(void 0===r)return!1;for(const e of r)null===(n=(i=e)._$AO)||void 0===n||n.call(i,t,!1),fe(e,t);return!0},me=e=>{let t,i;do{if(void 0===(t=e._$AM))break;i=t._$AN,i.delete(e),e=t}while(0===(null==i?void 0:i.size))},he=e=>{for(let t;t=e._$AM;e=t){let i=t._$AN;if(void 0===i)t._$AN=i=new Set;else if(i.has(e))break;i.add(e),ye(t)}};function ve(e){void 0!==this._$AN?(me(this),this._$AM=e,he(this)):this._$AM=e}function ge(e,t=!1,i=0){const n=this._$AH,r=this._$AN;if(void 0!==r&&0!==r.size)if(t)if(Array.isArray(n))for(let e=i;e<n.length;e++)fe(n[e],!1),me(n[e]);else null!=n&&(fe(n,!1),me(n));else fe(this,e)}const ye=e=>{var t,i,n,r;2==e.type&&(null!==(t=(n=e)._$AP)&&void 0!==t||(n._$AP=ge),null!==(i=(r=e)._$AQ)&&void 0!==i||(r._$AQ=ve))};class we extends de{constructor(){super(...arguments),this._$AN=void 0}_$AT(e,t,i){super._$AT(e,t,i),he(this),this.isConnected=e._$AU}_$AO(e,t=!0){var i,n;e!==this.isConnected&&(this.isConnected=e,e?null===(i=this.reconnected)||void 0===i||i.call(this):null===(n=this.disconnected)||void 0===n||n.call(this)),t&&(fe(this,e),me(this))}setValue(e){if((e=>void 0===this._$Ct.strings)())this._$Ct._$AI(e,this);else{const t=[...this._$Ct._$AH];t[this._$Ci]=e,this._$Ct._$AI(t,this,0)}}disconnected(){}reconnected(){}}const Se=()=>new be;class be{}const Te=new WeakMap,xe=ue(class extends we{render(e){return J}update(e,[t]){var i;const n=t!==this.U;return n&&void 0!==this.U&&this.ot(void 0),(n||this.rt!==this.lt)&&(this.U=t,this.ht=null===(i=e.options)||void 0===i?void 0:i.host,this.ot(this.lt=e.element)),J}ot(e){var t;if("function"==typeof this.U){const i=null!==(t=this.ht)&&void 0!==t?t:globalThis;let n=Te.get(i);void 0===n&&(n=new WeakMap,Te.set(i,n)),void 0!==n.get(this.U)&&this.U.call(this.ht,void 0),n.set(this.U,e),void 0!==e&&this.U.call(this.ht,e)}else this.U.value=e}get rt(){var e,t,i;return"function"==typeof this.U?null===(t=Te.get(null!==(e=this.ht)&&void 0!==e?e:globalThis))||void 0===t?void 0:t.get(this.U):null===(i=this.U)||void 0===i?void 0:i.value}disconnected(){this.rt===this.lt&&this.ot(void 0)}reconnected(){this.ot(this.lt)}});if("undefined"==typeof window)throw new Error("[TalkJS] The TalkJS JavaScript SDK only works in browsers (and not, for example, in Node.js)");!function(e,t,i,n,r,o){(o=t.createElement("script")).async=1,o.src="https://cdn.talkjs.com/talk.js",t.head.appendChild(o),n=e.Promise,e.Talk={v:3,ready:{then:function(e){if(n)return new n((function(t,n){i.push([e,t,n])}));i.push([e])},catch:function(){return n&&new n},c:i}}}(window,document,[]);const Oe=window.Talk,Ie=e=>{const t=e.replace(/\D/g,"").substring(0,10),i=t.substring(0,3),n=t.substring(3,6),r=t.substring(6,10);return t.length>5?`(${i}) ${n}-${r}`:t.length>2?`(${i}) ${n}`:t.length>0?`(${i}`:""},Re=e=>{const t=e.keyCode;return t>=48&&t<=57||t>=96&&t<=105},Ne=e=>e.altKey||e.ctrlKey||e.metaKey,Ce=e=>{const t=e.keyCode;return e.shiftKey||35===t||36===t||8===t||9===t||13===t||46===t||t>36&&t<41||(e.ctrlKey||e.metaKey)&&(65===t||67===t||76===t||86===t||88===t||90===t)};var Ae=function(e,t,i,n){var r,o=arguments.length,a=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,i,n);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(a=(o<3?r(a):o>3?r(t,i,a):r(t,i))||a);return o>3&&a&&Object.defineProperty(t,i,a),a};let Ee=class extends te{constructor(){super(...arguments),this.tourtype="",this.heading="",this.subtitle="",this.selected=!1}render(){return D`
2
+ var e={8005:function(e,t,i){var n,r=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function i(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}),o=this&&this.__awaiter||function(e,t,i,n){return new(i||(i=Promise))((function(r,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var i,n,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(i)throw new TypeError("Generator is already executing.");for(;a;)try{if(i=1,n&&(r=2&o[0]?n.return:o[0]?n.throw||((r=n.return)&&r.call(n),0):n.next)&&!(r=r.call(n,o[1])).done)return r;switch(n=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],n=0}finally{i=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.ActionConsumerApiControllerApi=void 0;var s=i(296),l=i(4584),u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.cancelRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.cancelActionDto||void 0===e.cancelActionDto)throw new s.RequiredError("cancelActionDto","Required parameter requestParameters.cancelActionDto was null or undefined when calling cancel.");return i={},(n={})["Content-Type"]="application/json",[4,this.request({path:"/api/v1/actions/cancel",method:"POST",headers:n,query:i,body:(0,l.CancelActionDtoToJSON)(e.cancelActionDto)},t)];case 1:return r=o.sent(),[2,new s.TextApiResponse(r)]}}))}))},t.prototype.cancel=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.cancelRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t.prototype.createNoShowActionRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.noShowActionDto||void 0===e.noShowActionDto)throw new s.RequiredError("noShowActionDto","Required parameter requestParameters.noShowActionDto was null or undefined when calling createNoShowAction.");return i={},(n={})["Content-Type"]="application/json",[4,this.request({path:"/api/v1/actions/noShow",method:"POST",headers:n,query:i,body:(0,l.NoShowActionDtoToJSON)(e.noShowActionDto)},t)];case 1:return r=o.sent(),[2,new s.TextApiResponse(r)]}}))}))},t.prototype.createNoShowAction=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.createNoShowActionRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t.prototype.createRescheduleConfirmedActionRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.rescheduleConfirmedDto||void 0===e.rescheduleConfirmedDto)throw new s.RequiredError("rescheduleConfirmedDto","Required parameter requestParameters.rescheduleConfirmedDto was null or undefined when calling createRescheduleConfirmedAction.");return i={},(n={})["Content-Type"]="application/json",[4,this.request({path:"/api/v1/actions/rescheduleConfirmed",method:"POST",headers:n,query:i,body:(0,l.RescheduleConfirmedDtoToJSON)(e.rescheduleConfirmedDto)},t)];case 1:return r=o.sent(),[2,new s.TextApiResponse(r)]}}))}))},t.prototype.createRescheduleConfirmedAction=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.createRescheduleConfirmedActionRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t.prototype.createRescheduleProposedActionRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.rescheduleProposedDto||void 0===e.rescheduleProposedDto)throw new s.RequiredError("rescheduleProposedDto","Required parameter requestParameters.rescheduleProposedDto was null or undefined when calling createRescheduleProposedAction.");return i={},(n={})["Content-Type"]="application/json",[4,this.request({path:"/api/v1/actions/rescheduleProposed",method:"POST",headers:n,query:i,body:(0,l.RescheduleProposedDtoToJSON)(e.rescheduleProposedDto)},t)];case 1:return r=o.sent(),[2,new s.TextApiResponse(r)]}}))}))},t.prototype.createRescheduleProposedAction=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.createRescheduleProposedActionRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t.prototype.createShowActionRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.showActionDto||void 0===e.showActionDto)throw new s.RequiredError("showActionDto","Required parameter requestParameters.showActionDto was null or undefined when calling createShowAction.");return i={},(n={})["Content-Type"]="application/json",[4,this.request({path:"/api/v1/actions/show",method:"POST",headers:n,query:i,body:(0,l.ShowActionDtoToJSON)(e.showActionDto)},t)];case 1:return r=o.sent(),[2,new s.TextApiResponse(r)]}}))}))},t.prototype.createShowAction=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.createShowActionRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t.prototype.scheduleActionRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.scheduleDto||void 0===e.scheduleDto)throw new s.RequiredError("scheduleDto","Required parameter requestParameters.scheduleDto was null or undefined when calling scheduleAction.");return i={},(n={})["Content-Type"]="application/json",[4,this.request({path:"/api/v1/actions/schedule",method:"POST",headers:n,query:i,body:(0,l.ScheduleDtoToJSON)(e.scheduleDto)},t)];case 1:return r=o.sent(),[2,new s.TextApiResponse(r)]}}))}))},t.prototype.scheduleAction=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.scheduleActionRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t.prototype.sendAgentMessageRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.sendAgentMessageDto||void 0===e.sendAgentMessageDto)throw new s.RequiredError("sendAgentMessageDto","Required parameter requestParameters.sendAgentMessageDto was null or undefined when calling sendAgentMessage.");return i={},(n={})["Content-Type"]="application/json",[4,this.request({path:"/api/v1/actions/sendAgentMessage",method:"POST",headers:n,query:i,body:(0,l.SendAgentMessageDtoToJSON)(e.sendAgentMessageDto)},t)];case 1:return r=o.sent(),[2,new s.TextApiResponse(r)]}}))}))},t.prototype.sendAgentMessage=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.sendAgentMessageRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t.prototype.updateAgentOnContextRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.contextId||void 0===e.contextId)throw new s.RequiredError("contextId","Required parameter requestParameters.contextId was null or undefined when calling updateAgentOnContext.");if(null===e.leasingAgentId||void 0===e.leasingAgentId)throw new s.RequiredError("leasingAgentId","Required parameter requestParameters.leasingAgentId was null or undefined when calling updateAgentOnContext.");return i={},n={},[4,this.request({path:"/api/v1/actions/updateAgentOnContext/{contextId}/{leasingAgentId}".replace("{".concat("contextId","}"),encodeURIComponent(String(e.contextId))).replace("{".concat("leasingAgentId","}"),encodeURIComponent(String(e.leasingAgentId))),method:"POST",headers:n,query:i},t)];case 1:return r=o.sent(),[2,new s.TextApiResponse(r)]}}))}))},t.prototype.updateAgentOnContext=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.updateAgentOnContextRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t.prototype.walkInAndShowCreateRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.walkInAndShowActionDto||void 0===e.walkInAndShowActionDto)throw new s.RequiredError("walkInAndShowActionDto","Required parameter requestParameters.walkInAndShowActionDto was null or undefined when calling walkInAndShowCreate.");return i={},(n={})["Content-Type"]="application/json",[4,this.request({path:"/api/v1/actions/walkInAndShow",method:"POST",headers:n,query:i,body:(0,l.WalkInAndShowActionDtoToJSON)(e.walkInAndShowActionDto)},t)];case 1:return r=o.sent(),[2,new s.TextApiResponse(r)]}}))}))},t.prototype.walkInAndShowCreate=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.walkInAndShowCreateRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t.prototype.walkInOrCallCreateRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.walkInOrCallActionDto||void 0===e.walkInOrCallActionDto)throw new s.RequiredError("walkInOrCallActionDto","Required parameter requestParameters.walkInOrCallActionDto was null or undefined when calling walkInOrCallCreate.");return i={},(n={})["Content-Type"]="application/json",[4,this.request({path:"/api/v1/actions/walkInOrCall",method:"POST",headers:n,query:i,body:(0,l.WalkInOrCallActionDtoToJSON)(e.walkInOrCallActionDto)},t)];case 1:return r=o.sent(),[2,new s.TextApiResponse(r)]}}))}))},t.prototype.walkInOrCallCreate=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.walkInOrCallCreateRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t}(s.BaseAPI);t.ActionConsumerApiControllerApi=u},2497:function(e,t,i){var n,r=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function i(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}),o=this&&this.__awaiter||function(e,t,i,n){return new(i||(i=Promise))((function(r,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var i,n,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(i)throw new TypeError("Generator is already executing.");for(;a;)try{if(i=1,n&&(r=2&o[0]?n.return:o[0]?n.throw||((r=n.return)&&r.call(n),0):n.next)&&!(r=r.call(n,o[1])).done)return r;switch(n=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],n=0}finally{i=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.AlertQueueControllerApi=void 0;var s=i(296),l=i(4584),u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.allForBuildingRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.buildingId||void 0===e.buildingId)throw new s.RequiredError("buildingId","Required parameter requestParameters.buildingId was null or undefined when calling allForBuilding.");return i={},n={},[4,this.request({path:"/api/v1/alerts/{buildingId}".replace("{".concat("buildingId","}"),encodeURIComponent(String(e.buildingId))),method:"GET",headers:n,query:i},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return e.map(l.AlertQueueInfoFromJSON)}))]}}))}))},t.prototype.allForBuilding=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.allForBuildingRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t.prototype.emailsForContextRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.contextId||void 0===e.contextId)throw new s.RequiredError("contextId","Required parameter requestParameters.contextId was null or undefined when calling emailsForContext.");return i={},n={},[4,this.request({path:"/api/v1/alerts/{contextId}/emails/".replace("{".concat("contextId","}"),encodeURIComponent(String(e.contextId))),method:"GET",headers:n,query:i},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return e.map(l.AlertQueueMessageFromJSON)}))]}}))}))},t.prototype.emailsForContext=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.emailsForContextRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t.prototype.textsForContextRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.contextId||void 0===e.contextId)throw new s.RequiredError("contextId","Required parameter requestParameters.contextId was null or undefined when calling textsForContext.");return i={},n={},[4,this.request({path:"/api/v1/alerts/{contextId}/texts/".replace("{".concat("contextId","}"),encodeURIComponent(String(e.contextId))),method:"GET",headers:n,query:i},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return e.map(l.AlertQueueMessageFromJSON)}))]}}))}))},t.prototype.textsForContext=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.textsForContextRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t}(s.BaseAPI);t.AlertQueueControllerApi=u},8730:function(e,t,i){var n,r=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function i(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}),o=this&&this.__awaiter||function(e,t,i,n){return new(i||(i=Promise))((function(r,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var i,n,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(i)throw new TypeError("Generator is already executing.");for(;a;)try{if(i=1,n&&(r=2&o[0]?n.return:o[0]?n.throw||((r=n.return)&&r.call(n),0):n.next)&&!(r=r.call(n,o[1])).done)return r;switch(n=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],n=0}finally{i=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.BuildingControllerApi=void 0;var s=i(296),l=i(4584),u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.create2Raw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.communityFormView||void 0===e.communityFormView)throw new s.RequiredError("communityFormView","Required parameter requestParameters.communityFormView was null or undefined when calling create2.");return i={},(n={})["Content-Type"]="application/json",[4,this.request({path:"/api/v1/building/",method:"POST",headers:n,query:i,body:(0,l.CommunityFormViewToJSON)(e.communityFormView)},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return(0,l.UiBuildingDetailsFromJSON)(e)}))]}}))}))},t.prototype.create2=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.create2Raw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t.prototype.deleteAvatarRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.id||void 0===e.id)throw new s.RequiredError("id","Required parameter requestParameters.id was null or undefined when calling deleteAvatar.");return i={},n={},[4,this.request({path:"/api/v1/building/{id}/avatar".replace("{".concat("id","}"),encodeURIComponent(String(e.id))),method:"DELETE",headers:n,query:i},t)];case 1:return r=o.sent(),[2,new s.VoidApiResponse(r)]}}))}))},t.prototype.deleteAvatar=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.deleteAvatarRaw(e,t)];case 1:return i.sent(),[2]}}))}))},t.prototype.deleteLogoRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.id||void 0===e.id)throw new s.RequiredError("id","Required parameter requestParameters.id was null or undefined when calling deleteLogo.");return i={},n={},[4,this.request({path:"/api/v1/building/{id}/logo".replace("{".concat("id","}"),encodeURIComponent(String(e.id))),method:"DELETE",headers:n,query:i},t)];case 1:return r=o.sent(),[2,new s.VoidApiResponse(r)]}}))}))},t.prototype.deleteLogo=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.deleteLogoRaw(e,t)];case 1:return i.sent(),[2]}}))}))},t.prototype.get4Raw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.id||void 0===e.id)throw new s.RequiredError("id","Required parameter requestParameters.id was null or undefined when calling get4.");return i={},n={},[4,this.request({path:"/api/v1/building/{id}".replace("{".concat("id","}"),encodeURIComponent(String(e.id))),method:"GET",headers:n,query:i},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return(0,l.UiBuildingDetailsFromJSON)(e)}))]}}))}))},t.prototype.get4=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.get4Raw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t.prototype.getActiveBuildingsMapRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.requestBody||void 0===e.requestBody)throw new s.RequiredError("requestBody","Required parameter requestParameters.requestBody was null or undefined when calling getActiveBuildingsMap.");return i={},(n={})["Content-Type"]="application/json",[4,this.request({path:"/api/v1/building/buildingStatuses",method:"POST",headers:n,query:i,body:e.requestBody},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r)]}}))}))},t.prototype.getActiveBuildingsMap=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.getActiveBuildingsMapRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t.prototype.getAll1Raw=function(e){return o(this,void 0,void 0,(function(){var t,i,n;return a(this,(function(r){switch(r.label){case 0:return t={},i={},[4,this.request({path:"/api/v1/building/",method:"GET",headers:i,query:t},e)];case 1:return n=r.sent(),[2,new s.JSONApiResponse(n,(function(e){return e.map(l.CommunityPageBuildingFromJSON)}))]}}))}))},t.prototype.getAll1=function(e){return o(this,void 0,void 0,(function(){return a(this,(function(t){switch(t.label){case 0:return[4,this.getAll1Raw(e)];case 1:return[4,t.sent().value()];case 2:return[2,t.sent()]}}))}))},t.prototype.getBuildingAiAgentNameMapRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.requestBody||void 0===e.requestBody)throw new s.RequiredError("requestBody","Required parameter requestParameters.requestBody was null or undefined when calling getBuildingAiAgentNameMap.");return i={},(n={})["Content-Type"]="application/json",[4,this.request({path:"/api/v1/building/buildingAiAgents",method:"POST",headers:n,query:i,body:e.requestBody},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r)]}}))}))},t.prototype.getBuildingAiAgentNameMap=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.getBuildingAiAgentNameMapRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t.prototype.getBuildingNameMapRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.requestBody||void 0===e.requestBody)throw new s.RequiredError("requestBody","Required parameter requestParameters.requestBody was null or undefined when calling getBuildingNameMap.");return i={},(n={})["Content-Type"]="application/json",[4,this.request({path:"/api/v1/building/buildingNames",method:"POST",headers:n,query:i,body:e.requestBody},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r)]}}))}))},t.prototype.getBuildingNameMap=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.getBuildingNameMapRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t.prototype.getBuildingTimezoneMapRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.requestBody||void 0===e.requestBody)throw new s.RequiredError("requestBody","Required parameter requestParameters.requestBody was null or undefined when calling getBuildingTimezoneMap.");return i={},(n={})["Content-Type"]="application/json",[4,this.request({path:"/api/v1/building/buildingTimeZones",method:"POST",headers:n,query:i,body:e.requestBody},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r)]}}))}))},t.prototype.getBuildingTimezoneMap=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.getBuildingTimezoneMapRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t.prototype.putChatThemeRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r,o,l,u;return a(this,(function(a){switch(a.label){case 0:if(null===e.id||void 0===e.id)throw new s.RequiredError("id","Required parameter requestParameters.id was null or undefined when calling putChatTheme.");if(null===e.title||void 0===e.title)throw new s.RequiredError("title","Required parameter requestParameters.title was null or undefined when calling putChatTheme.");if(null===e.subtitle||void 0===e.subtitle)throw new s.RequiredError("subtitle","Required parameter requestParameters.subtitle was null or undefined when calling putChatTheme.");if(null===e.bannerColor||void 0===e.bannerColor)throw new s.RequiredError("bannerColor","Required parameter requestParameters.bannerColor was null or undefined when calling putChatTheme.");if(null===e.bannerTextColor||void 0===e.bannerTextColor)throw new s.RequiredError("bannerTextColor","Required parameter requestParameters.bannerTextColor was null or undefined when calling putChatTheme.");if(null===e.messageColor||void 0===e.messageColor)throw new s.RequiredError("messageColor","Required parameter requestParameters.messageColor was null or undefined when calling putChatTheme.");if(null===e.messageTextColor||void 0===e.messageTextColor)throw new s.RequiredError("messageTextColor","Required parameter requestParameters.messageTextColor was null or undefined when calling putChatTheme.");if(null===e.launchButtonColor||void 0===e.launchButtonColor)throw new s.RequiredError("launchButtonColor","Required parameter requestParameters.launchButtonColor was null or undefined when calling putChatTheme.");if(null===e.launchButtonIconColor||void 0===e.launchButtonIconColor)throw new s.RequiredError("launchButtonIconColor","Required parameter requestParameters.launchButtonIconColor was null or undefined when calling putChatTheme.");if(null===e.launchButtonSize||void 0===e.launchButtonSize)throw new s.RequiredError("launchButtonSize","Required parameter requestParameters.launchButtonSize was null or undefined when calling putChatTheme.");if(null===e.avatarType||void 0===e.avatarType)throw new s.RequiredError("avatarType","Required parameter requestParameters.avatarType was null or undefined when calling putChatTheme.");if(null===e.avatarInitials||void 0===e.avatarInitials)throw new s.RequiredError("avatarInitials","Required parameter requestParameters.avatarInitials was null or undefined when calling putChatTheme.");return i={},void 0!==e.title&&(i.title=e.title),void 0!==e.subtitle&&(i.subtitle=e.subtitle),void 0!==e.bannerColor&&(i.bannerColor=e.bannerColor),void 0!==e.bannerTextColor&&(i.bannerTextColor=e.bannerTextColor),void 0!==e.messageColor&&(i.messageColor=e.messageColor),void 0!==e.messageTextColor&&(i.messageTextColor=e.messageTextColor),void 0!==e.launchButtonColor&&(i.launchButtonColor=e.launchButtonColor),void 0!==e.launchButtonIconColor&&(i.launchButtonIconColor=e.launchButtonIconColor),void 0!==e.launchButtonSize&&(i.launchButtonSize=e.launchButtonSize),void 0!==e.avatarType&&(i.avatarType=e.avatarType),void 0!==e.avatarInitials&&(i.avatarInitials=e.avatarInitials),n={},r=[{contentType:"multipart/form-data"}],o=s.canConsumeForm(r),l=o?new FormData:new URLSearchParams,void 0!==e.avatarSrc&&l.append("avatarSrc",e.avatarSrc),[4,this.request({path:"/api/v1/building/{id}/chat-theme".replace("{".concat("id","}"),encodeURIComponent(String(e.id))),method:"PUT",headers:n,query:i,body:l},t)];case 1:return u=a.sent(),[2,new s.VoidApiResponse(u)]}}))}))},t.prototype.putChatTheme=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.putChatThemeRaw(e,t)];case 1:return i.sent(),[2]}}))}))},t.prototype.putSSTThemeRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r,o,l,u;return a(this,(function(a){switch(a.label){case 0:if(null===e.id||void 0===e.id)throw new s.RequiredError("id","Required parameter requestParameters.id was null or undefined when calling putSSTTheme.");if(null===e.primaryColor||void 0===e.primaryColor)throw new s.RequiredError("primaryColor","Required parameter requestParameters.primaryColor was null or undefined when calling putSSTTheme.");if(null===e.backgroundColor||void 0===e.backgroundColor)throw new s.RequiredError("backgroundColor","Required parameter requestParameters.backgroundColor was null or undefined when calling putSSTTheme.");return i={},void 0!==e.primaryColor&&(i.primaryColor=e.primaryColor),void 0!==e.backgroundColor&&(i.backgroundColor=e.backgroundColor),n={},r=[{contentType:"multipart/form-data"}],o=s.canConsumeForm(r),l=o?new FormData:new URLSearchParams,void 0!==e.logoSrc&&l.append("logoSrc",e.logoSrc),[4,this.request({path:"/api/v1/building/{id}/sst-theme".replace("{".concat("id","}"),encodeURIComponent(String(e.id))),method:"PUT",headers:n,query:i,body:l},t)];case 1:return u=a.sent(),[2,new s.VoidApiResponse(u)]}}))}))},t.prototype.putSSTTheme=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.putSSTThemeRaw(e,t)];case 1:return i.sent(),[2]}}))}))},t.prototype.update5Raw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.id||void 0===e.id)throw new s.RequiredError("id","Required parameter requestParameters.id was null or undefined when calling update5.");if(null===e.communityFormView||void 0===e.communityFormView)throw new s.RequiredError("communityFormView","Required parameter requestParameters.communityFormView was null or undefined when calling update5.");return i={},(n={})["Content-Type"]="application/json",[4,this.request({path:"/api/v1/building/{id}".replace("{".concat("id","}"),encodeURIComponent(String(e.id))),method:"PUT",headers:n,query:i,body:(0,l.CommunityFormViewToJSON)(e.communityFormView)},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return(0,l.UiBuildingDetailsFromJSON)(e)}))]}}))}))},t.prototype.update5=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.update5Raw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t.prototype.updateDailyReportEmailsRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.id||void 0===e.id)throw new s.RequiredError("id","Required parameter requestParameters.id was null or undefined when calling updateDailyReportEmails.");if(null===e.updateEmailsRequest||void 0===e.updateEmailsRequest)throw new s.RequiredError("updateEmailsRequest","Required parameter requestParameters.updateEmailsRequest was null or undefined when calling updateDailyReportEmails.");return i={},(n={})["Content-Type"]="application/json",[4,this.request({path:"/api/v1/building/dailyReportEmails/{id}".replace("{".concat("id","}"),encodeURIComponent(String(e.id))),method:"PUT",headers:n,query:i,body:(0,l.UpdateEmailsRequestToJSON)(e.updateEmailsRequest)},t)];case 1:return r=o.sent(),[2,new s.TextApiResponse(r)]}}))}))},t.prototype.updateDailyReportEmails=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.updateDailyReportEmailsRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t.prototype.updateHandoffForwardEmailsRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.id||void 0===e.id)throw new s.RequiredError("id","Required parameter requestParameters.id was null or undefined when calling updateHandoffForwardEmails.");if(null===e.updateEmailsRequest||void 0===e.updateEmailsRequest)throw new s.RequiredError("updateEmailsRequest","Required parameter requestParameters.updateEmailsRequest was null or undefined when calling updateHandoffForwardEmails.");return i={},(n={})["Content-Type"]="application/json",[4,this.request({path:"/api/v1/building/handoffForwardEmails/{id}".replace("{".concat("id","}"),encodeURIComponent(String(e.id))),method:"PUT",headers:n,query:i,body:(0,l.UpdateEmailsRequestToJSON)(e.updateEmailsRequest)},t)];case 1:return r=o.sent(),[2,new s.TextApiResponse(r)]}}))}))},t.prototype.updateHandoffForwardEmails=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.updateHandoffForwardEmailsRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t.prototype.updateWeeklyReportEmailsRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.id||void 0===e.id)throw new s.RequiredError("id","Required parameter requestParameters.id was null or undefined when calling updateWeeklyReportEmails.");if(null===e.updateEmailsRequest||void 0===e.updateEmailsRequest)throw new s.RequiredError("updateEmailsRequest","Required parameter requestParameters.updateEmailsRequest was null or undefined when calling updateWeeklyReportEmails.");return i={},(n={})["Content-Type"]="application/json",[4,this.request({path:"/api/v1/building/weeklyReportEmails/{id}".replace("{".concat("id","}"),encodeURIComponent(String(e.id))),method:"PUT",headers:n,query:i,body:(0,l.UpdateEmailsRequestToJSON)(e.updateEmailsRequest)},t)];case 1:return r=o.sent(),[2,new s.TextApiResponse(r)]}}))}))},t.prototype.updateWeeklyReportEmails=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.updateWeeklyReportEmailsRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t}(s.BaseAPI);t.BuildingControllerApi=u},9530:function(e,t,i){var n,r=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function i(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}),o=this&&this.__awaiter||function(e,t,i,n){return new(i||(i=Promise))((function(r,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var i,n,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(i)throw new TypeError("Generator is already executing.");for(;a;)try{if(i=1,n&&(r=2&o[0]?n.return:o[0]?n.throw||((r=n.return)&&r.call(n),0):n.next)&&!(r=r.call(n,o[1])).done)return r;switch(n=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],n=0}finally{i=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.BuildingSchedulingControllerApi=void 0;var s=i(296),l=i(4584),u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.getTourAvailabilityRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.buildingId||void 0===e.buildingId)throw new s.RequiredError("buildingId","Required parameter requestParameters.buildingId was null or undefined when calling getTourAvailability.");if(null===e.startTime||void 0===e.startTime)throw new s.RequiredError("startTime","Required parameter requestParameters.startTime was null or undefined when calling getTourAvailability.");if(null===e.endTime||void 0===e.endTime)throw new s.RequiredError("endTime","Required parameter requestParameters.endTime was null or undefined when calling getTourAvailability.");return i={},void 0!==e.startTime&&(i.startTime=e.startTime),void 0!==e.endTime&&(i.endTime=e.endTime),n={},[4,this.request({path:"/api/pub/v1/buildings/{buildingId}/tour/availabilities".replace("{".concat("buildingId","}"),encodeURIComponent(String(e.buildingId))),method:"GET",headers:n,query:i},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return(0,l.TourAvailabilityResponseFromJSON)(e)}))]}}))}))},t.prototype.getTourAvailability=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.getTourAvailabilityRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t}(s.BaseAPI);t.BuildingSchedulingControllerApi=u},8823:function(e,t,i){var n,r=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function i(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}),o=this&&this.__awaiter||function(e,t,i,n){return new(i||(i=Promise))((function(r,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var i,n,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(i)throw new TypeError("Generator is already executing.");for(;a;)try{if(i=1,n&&(r=2&o[0]?n.return:o[0]?n.throw||((r=n.return)&&r.call(n),0):n.next)&&!(r=r.call(n,o[1])).done)return r;switch(n=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],n=0}finally{i=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.BuildingsControllerApi=void 0;var s=i(296),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.listUnitsRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.buildingId||void 0===e.buildingId)throw new s.RequiredError("buildingId","Required parameter requestParameters.buildingId was null or undefined when calling listUnits.");return i={},n={},[4,this.request({path:"/api/buildings/{buildingId}/units".replace("{".concat("buildingId","}"),encodeURIComponent(String(e.buildingId))),method:"GET",headers:n,query:i},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r)]}}))}))},t.prototype.listUnits=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.listUnitsRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t}(s.BaseAPI);t.BuildingsControllerApi=l},4100:function(e,t,i){var n,r=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function i(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}),o=this&&this.__awaiter||function(e,t,i,n){return new(i||(i=Promise))((function(r,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var i,n,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(i)throw new TypeError("Generator is already executing.");for(;a;)try{if(i=1,n&&(r=2&o[0]?n.return:o[0]?n.throw||((r=n.return)&&r.call(n),0):n.next)&&!(r=r.call(n,o[1])).done)return r;switch(n=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],n=0}finally{i=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.CalendarEventTourHandlerControllerApi=void 0;var s=i(296),l=i(4584),u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.createCalendarEventTourHandlerRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.createCalendarEventTourHandlerDto||void 0===e.createCalendarEventTourHandlerDto)throw new s.RequiredError("createCalendarEventTourHandlerDto","Required parameter requestParameters.createCalendarEventTourHandlerDto was null or undefined when calling createCalendarEventTourHandler.");return i={},(n={})["Content-Type"]="application/json",[4,this.request({path:"/api/v1/tourHandler/assign",method:"POST",headers:n,query:i,body:(0,l.CreateCalendarEventTourHandlerDtoToJSON)(e.createCalendarEventTourHandlerDto)},t)];case 1:return r=o.sent(),[2,new s.TextApiResponse(r)]}}))}))},t.prototype.createCalendarEventTourHandler=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.createCalendarEventTourHandlerRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t.prototype.getCurrentTourHandlersForBuildingRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.buildingId||void 0===e.buildingId)throw new s.RequiredError("buildingId","Required parameter requestParameters.buildingId was null or undefined when calling getCurrentTourHandlersForBuilding.");return i={},n={},[4,this.request({path:"/api/v1/tourHandler/getForBuilding/{buildingId}".replace("{".concat("buildingId","}"),encodeURIComponent(String(e.buildingId))),method:"GET",headers:n,query:i},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return s.mapValues(e,l.CalendarEventTourHandlerFromJSON)}))]}}))}))},t.prototype.getCurrentTourHandlersForBuilding=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.getCurrentTourHandlersForBuildingRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t}(s.BaseAPI);t.CalendarEventTourHandlerControllerApi=u},1210:function(e,t,i){var n,r=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function i(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}),o=this&&this.__awaiter||function(e,t,i,n){return new(i||(i=Promise))((function(r,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var i,n,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(i)throw new TypeError("Generator is already executing.");for(;a;)try{if(i=1,n&&(r=2&o[0]?n.return:o[0]?n.throw||((r=n.return)&&r.call(n),0):n.next)&&!(r=r.call(n,o[1])).done)return r;switch(n=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],n=0}finally{i=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.ChatTelemetryControllerApi=void 0;var s=i(296),l=i(4584),u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.postChatEventRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.chatTelemetryDto||void 0===e.chatTelemetryDto)throw new s.RequiredError("chatTelemetryDto","Required parameter requestParameters.chatTelemetryDto was null or undefined when calling postChatEvent.");return i={},(n={})["Content-Type"]="application/json",void 0!==e.userAgent&&null!==e.userAgent&&(n["user-agent"]=String(e.userAgent)),[4,this.request({path:"/api/pub/chat-stats",method:"POST",headers:n,query:i,body:(0,l.ChatTelemetryDtoToJSON)(e.chatTelemetryDto)},t)];case 1:return r=o.sent(),[2,new s.VoidApiResponse(r)]}}))}))},t.prototype.postChatEvent=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.postChatEventRaw(e,t)];case 1:return i.sent(),[2]}}))}))},t}(s.BaseAPI);t.ChatTelemetryControllerApi=u},3515:function(e,t,i){var n,r=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function i(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}),o=this&&this.__awaiter||function(e,t,i,n){return new(i||(i=Promise))((function(r,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var i,n,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(i)throw new TypeError("Generator is already executing.");for(;a;)try{if(i=1,n&&(r=2&o[0]?n.return:o[0]?n.throw||((r=n.return)&&r.call(n),0):n.next)&&!(r=r.call(n,o[1])).done)return r;switch(n=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],n=0}finally{i=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.ContextControllerApi=void 0;var s=i(296),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.getAgentIdFromContextRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.contextId||void 0===e.contextId)throw new s.RequiredError("contextId","Required parameter requestParameters.contextId was null or undefined when calling getAgentIdFromContext.");return i={},n={},[4,this.request({path:"/api/pub/context/{contextId}/getAgentId".replace("{".concat("contextId","}"),encodeURIComponent(String(e.contextId))),method:"GET",headers:n,query:i},t)];case 1:return r=o.sent(),[2,new s.TextApiResponse(r)]}}))}))},t.prototype.getAgentIdFromContext=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.getAgentIdFromContextRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t}(s.BaseAPI);t.ContextControllerApi=l},5855:function(e,t,i){var n,r=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function i(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}),o=this&&this.__awaiter||function(e,t,i,n){return new(i||(i=Promise))((function(r,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var i,n,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(i)throw new TypeError("Generator is already executing.");for(;a;)try{if(i=1,n&&(r=2&o[0]?n.return:o[0]?n.throw||((r=n.return)&&r.call(n),0):n.next)&&!(r=r.call(n,o[1])).done)return r;switch(n=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],n=0}finally{i=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.ConversationControllerApi=void 0;var s=i(296),l=i(4584),u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.getConversationRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.conversationKey||void 0===e.conversationKey)throw new s.RequiredError("conversationKey","Required parameter requestParameters.conversationKey was null or undefined when calling getConversation.");return i={},n={},[4,this.request({path:"/api/pub/conversation/{conversationKey}".replace("{".concat("conversationKey","}"),encodeURIComponent(String(e.conversationKey))),method:"GET",headers:n,query:i},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return(0,l.ConversationFromJSON)(e)}))]}}))}))},t.prototype.getConversation=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.getConversationRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t.prototype.getConversation1Raw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.contextId||void 0===e.contextId)throw new s.RequiredError("contextId","Required parameter requestParameters.contextId was null or undefined when calling getConversation1.");return i={},n={},[4,this.request({path:"/api/pub/conversation/contextId/{contextId}/text".replace("{".concat("contextId","}"),encodeURIComponent(String(e.contextId))),method:"GET",headers:n,query:i},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return(0,l.ConversationFromJSON)(e)}))]}}))}))},t.prototype.getConversation1=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.getConversation1Raw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t.prototype.getConversationV2Raw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.conversationKey||void 0===e.conversationKey)throw new s.RequiredError("conversationKey","Required parameter requestParameters.conversationKey was null or undefined when calling getConversationV2.");return i={},n={},[4,this.request({path:"/api/pub/conversation/v2/{conversationKey}".replace("{".concat("conversationKey","}"),encodeURIComponent(String(e.conversationKey))),method:"GET",headers:n,query:i},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return(0,l.ConversationV2FromJSON)(e)}))]}}))}))},t.prototype.getConversationV2=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.getConversationV2Raw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t}(s.BaseAPI);t.ConversationControllerApi=u},4345:function(e,t,i){var n,r=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function i(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}),o=this&&this.__awaiter||function(e,t,i,n){return new(i||(i=Promise))((function(r,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var i,n,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(i)throw new TypeError("Generator is already executing.");for(;a;)try{if(i=1,n&&(r=2&o[0]?n.return:o[0]?n.throw||((r=n.return)&&r.call(n),0):n.next)&&!(r=r.call(n,o[1])).done)return r;switch(n=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],n=0}finally{i=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.DialogueScriptControllerApi=void 0;var s=i(296),l=i(4584),u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.deleteScriptByIdRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.id||void 0===e.id)throw new s.RequiredError("id","Required parameter requestParameters.id was null or undefined when calling deleteScriptById.");return i={},n={},[4,this.request({path:"/renterApi/v1/dialogueScripts/{id}".replace("{".concat("id","}"),encodeURIComponent(String(e.id))),method:"DELETE",headers:n,query:i},t)];case 1:return r=o.sent(),[2,new s.VoidApiResponse(r)]}}))}))},t.prototype.deleteScriptById=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.deleteScriptByIdRaw(e,t)];case 1:return i.sent(),[2]}}))}))},t.prototype.getDefaultScriptsRaw=function(e){return o(this,void 0,void 0,(function(){var t,i,n;return a(this,(function(r){switch(r.label){case 0:return t={},i={},[4,this.request({path:"/renterApi/v1/dialogueScripts/default",method:"GET",headers:i,query:t},e)];case 1:return n=r.sent(),[2,new s.JSONApiResponse(n,(function(e){return e.map(l.DialogueScriptFromJSON)}))]}}))}))},t.prototype.getDefaultScripts=function(e){return o(this,void 0,void 0,(function(){return a(this,(function(t){switch(t.label){case 0:return[4,this.getDefaultScriptsRaw(e)];case 1:return[4,t.sent().value()];case 2:return[2,t.sent()]}}))}))},t.prototype.getScriptRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.intent||void 0===e.intent)throw new s.RequiredError("intent","Required parameter requestParameters.intent was null or undefined when calling getScript.");if(null===e.organizationId||void 0===e.organizationId)throw new s.RequiredError("organizationId","Required parameter requestParameters.organizationId was null or undefined when calling getScript.");if(null===e.buildingId||void 0===e.buildingId)throw new s.RequiredError("buildingId","Required parameter requestParameters.buildingId was null or undefined when calling getScript.");return i={},void 0!==e.organizationId&&(i.organizationId=e.organizationId),void 0!==e.buildingId&&(i.buildingId=e.buildingId),n={},[4,this.request({path:"/renterApi/v1/dialogueScripts/{intent}".replace("{".concat("intent","}"),encodeURIComponent(String(e.intent))),method:"GET",headers:n,query:i},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return(0,l.DialogueScriptFromJSON)(e)}))]}}))}))},t.prototype.getScript=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.getScriptRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t.prototype.getScriptBySubintentRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.intent||void 0===e.intent)throw new s.RequiredError("intent","Required parameter requestParameters.intent was null or undefined when calling getScriptBySubintent.");if(null===e.subintent||void 0===e.subintent)throw new s.RequiredError("subintent","Required parameter requestParameters.subintent was null or undefined when calling getScriptBySubintent.");if(null===e.organizationId||void 0===e.organizationId)throw new s.RequiredError("organizationId","Required parameter requestParameters.organizationId was null or undefined when calling getScriptBySubintent.");if(null===e.buildingId||void 0===e.buildingId)throw new s.RequiredError("buildingId","Required parameter requestParameters.buildingId was null or undefined when calling getScriptBySubintent.");return i={},void 0!==e.organizationId&&(i.organizationId=e.organizationId),void 0!==e.buildingId&&(i.buildingId=e.buildingId),n={},[4,this.request({path:"/renterApi/v1/dialogueScripts/{intent}/{subintent}".replace("{".concat("intent","}"),encodeURIComponent(String(e.intent))).replace("{".concat("subintent","}"),encodeURIComponent(String(e.subintent))),method:"GET",headers:n,query:i},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return(0,l.DialogueScriptFromJSON)(e)}))]}}))}))},t.prototype.getScriptBySubintent=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.getScriptBySubintentRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t.prototype.getScriptsForBuildingRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.organizationId||void 0===e.organizationId)throw new s.RequiredError("organizationId","Required parameter requestParameters.organizationId was null or undefined when calling getScriptsForBuilding.");if(null===e.buildingId||void 0===e.buildingId)throw new s.RequiredError("buildingId","Required parameter requestParameters.buildingId was null or undefined when calling getScriptsForBuilding.");return i={},void 0!==e.organizationId&&(i.organizationId=e.organizationId),void 0!==e.buildingId&&(i.buildingId=e.buildingId),n={},[4,this.request({path:"/renterApi/v1/dialogueScripts",method:"GET",headers:n,query:i},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return e.map(l.DialogueScriptFromJSON)}))]}}))}))},t.prototype.getScriptsForBuilding=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.getScriptsForBuildingRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t.prototype.putScriptRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.upsertDialogueScriptRequest||void 0===e.upsertDialogueScriptRequest)throw new s.RequiredError("upsertDialogueScriptRequest","Required parameter requestParameters.upsertDialogueScriptRequest was null or undefined when calling putScript.");return i={},(n={})["Content-Type"]="application/json",[4,this.request({path:"/renterApi/v1/dialogueScripts",method:"PUT",headers:n,query:i,body:(0,l.UpsertDialogueScriptRequestToJSON)(e.upsertDialogueScriptRequest)},t)];case 1:return r=o.sent(),[2,new s.VoidApiResponse(r)]}}))}))},t.prototype.putScript=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.putScriptRaw(e,t)];case 1:return i.sent(),[2]}}))}))},t.prototype.putScriptsRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.upsertDialogueScriptRequest||void 0===e.upsertDialogueScriptRequest)throw new s.RequiredError("upsertDialogueScriptRequest","Required parameter requestParameters.upsertDialogueScriptRequest was null or undefined when calling putScripts.");return i={},(n={})["Content-Type"]="application/json",[4,this.request({path:"/renterApi/v1/dialogueScripts/upsertMany",method:"PUT",headers:n,query:i,body:e.upsertDialogueScriptRequest.map(l.UpsertDialogueScriptRequestToJSON)},t)];case 1:return r=o.sent(),[2,new s.VoidApiResponse(r)]}}))}))},t.prototype.putScripts=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.putScriptsRaw(e,t)];case 1:return i.sent(),[2]}}))}))},t}(s.BaseAPI);t.DialogueScriptControllerApi=u},2938:function(e,t,i){var n,r=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function i(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}),o=this&&this.__awaiter||function(e,t,i,n){return new(i||(i=Promise))((function(r,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var i,n,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(i)throw new TypeError("Generator is already executing.");for(;a;)try{if(i=1,n&&(r=2&o[0]?n.return:o[0]?n.throw||((r=n.return)&&r.call(n),0):n.next)&&!(r=r.call(n,o[1])).done)return r;switch(n=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],n=0}finally{i=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.EntrataProxyControllerApi=void 0;var s=i(296),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.getLeadPickListsRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.securityKey||void 0===e.securityKey)throw new s.RequiredError("securityKey","Required parameter requestParameters.securityKey was null or undefined when calling getLeadPickLists.");if(null===e.userId||void 0===e.userId)throw new s.RequiredError("userId","Required parameter requestParameters.userId was null or undefined when calling getLeadPickLists.");if(null===e.propertyId||void 0===e.propertyId)throw new s.RequiredError("propertyId","Required parameter requestParameters.propertyId was null or undefined when calling getLeadPickLists.");return i={},void 0!==e.securityKey&&(i.securityKey=e.securityKey),void 0!==e.userId&&(i.userId=e.userId),void 0!==e.propertyId&&(i.propertyId=e.propertyId),n={},[4,this.request({path:"/api/pub/entrata/getleadpicklists",method:"GET",headers:n,query:i},t)];case 1:return r=o.sent(),[2,new s.TextApiResponse(r)]}}))}))},t.prototype.getLeadPickLists=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.getLeadPickListsRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t.prototype.getMitsLeadsRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.securityKey||void 0===e.securityKey)throw new s.RequiredError("securityKey","Required parameter requestParameters.securityKey was null or undefined when calling getMitsLeads.");if(null===e.leadId||void 0===e.leadId)throw new s.RequiredError("leadId","Required parameter requestParameters.leadId was null or undefined when calling getMitsLeads.");if(null===e.buildingId||void 0===e.buildingId)throw new s.RequiredError("buildingId","Required parameter requestParameters.buildingId was null or undefined when calling getMitsLeads.");return i={},void 0!==e.securityKey&&(i.securityKey=e.securityKey),void 0!==e.leadId&&(i.leadId=e.leadId),void 0!==e.buildingId&&(i.buildingId=e.buildingId),n={},[4,this.request({path:"/api/pub/entrata/getmitsleads",method:"GET",headers:n,query:i},t)];case 1:return r=o.sent(),[2,new s.TextApiResponse(r)]}}))}))},t.prototype.getMitsLeads=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.getMitsLeadsRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t}(s.BaseAPI);t.EntrataProxyControllerApi=l},5021:function(e,t,i){var n,r=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function i(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}),o=this&&this.__awaiter||function(e,t,i,n){return new(i||(i=Promise))((function(r,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var i,n,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(i)throw new TypeError("Generator is already executing.");for(;a;)try{if(i=1,n&&(r=2&o[0]?n.return:o[0]?n.throw||((r=n.return)&&r.call(n),0):n.next)&&!(r=r.call(n,o[1])).done)return r;switch(n=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],n=0}finally{i=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.EscalationsControllerApi=void 0;var s=i(296),l=i(4584),u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.escalationsForBuildingIdRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.buildingId||void 0===e.buildingId)throw new s.RequiredError("buildingId","Required parameter requestParameters.buildingId was null or undefined when calling escalationsForBuildingId.");return i={},n={},[4,this.request({path:"/api/v1/escalations/getByBuildingId/{buildingId}".replace("{".concat("buildingId","}"),encodeURIComponent(String(e.buildingId))),method:"GET",headers:n,query:i},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return e.map(l.AlertQueueInfoFromJSON)}))]}}))}))},t.prototype.escalationsForBuildingId=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.escalationsForBuildingIdRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t.prototype.ignoreMCConversationRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.mcId||void 0===e.mcId)throw new s.RequiredError("mcId","Required parameter requestParameters.mcId was null or undefined when calling ignoreMCConversation.");return i={},n={},[4,this.request({path:"/api/v1/escalations/mc/escalation/ignore/{mcId}".replace("{".concat("mcId","}"),encodeURIComponent(String(e.mcId))),method:"POST",headers:n,query:i},t)];case 1:return r=o.sent(),[2,new s.TextApiResponse(r)]}}))}))},t.prototype.ignoreMCConversation=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.ignoreMCConversationRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t.prototype.resolveEscalationRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.resolveEscalationDto||void 0===e.resolveEscalationDto)throw new s.RequiredError("resolveEscalationDto","Required parameter requestParameters.resolveEscalationDto was null or undefined when calling resolveEscalation.");return i={},(n={})["Content-Type"]="application/json",[4,this.request({path:"/api/v1/escalations/resolve",method:"POST",headers:n,query:i,body:(0,l.ResolveEscalationDtoToJSON)(e.resolveEscalationDto)},t)];case 1:return r=o.sent(),[2,new s.TextApiResponse(r)]}}))}))},t.prototype.resolveEscalation=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.resolveEscalationRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t.prototype.respondToMCConversationRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.respondToMCConversationDTO||void 0===e.respondToMCConversationDTO)throw new s.RequiredError("respondToMCConversationDTO","Required parameter requestParameters.respondToMCConversationDTO was null or undefined when calling respondToMCConversation.");return i={},(n={})["Content-Type"]="application/json",[4,this.request({path:"/api/v1/escalations/mc/escalation/respond",method:"POST",headers:n,query:i,body:(0,l.RespondToMCConversationDTOToJSON)(e.respondToMCConversationDTO)},t)];case 1:return r=o.sent(),[2,new s.TextApiResponse(r)]}}))}))},t.prototype.respondToMCConversation=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.respondToMCConversationRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t}(s.BaseAPI);t.EscalationsControllerApi=u},9962:function(e,t,i){var n,r=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function i(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}),o=this&&this.__awaiter||function(e,t,i,n){return new(i||(i=Promise))((function(r,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var i,n,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(i)throw new TypeError("Generator is already executing.");for(;a;)try{if(i=1,n&&(r=2&o[0]?n.return:o[0]?n.throw||((r=n.return)&&r.call(n),0):n.next)&&!(r=r.call(n,o[1])).done)return r;switch(n=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],n=0}finally{i=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.EventsControllerApi=void 0;var s=i(296),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.getAssignedLeasingAgentIdForEventRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.eventId||void 0===e.eventId)throw new s.RequiredError("eventId","Required parameter requestParameters.eventId was null or undefined when calling getAssignedLeasingAgentIdForEvent.");return i={},n={},[4,this.request({path:"/api/v1/calendar/events/{eventId}/assignedLeasingAgentId".replace("{".concat("eventId","}"),encodeURIComponent(String(e.eventId))),method:"GET",headers:n,query:i},t)];case 1:return r=o.sent(),[2,new s.TextApiResponse(r)]}}))}))},t.prototype.getAssignedLeasingAgentIdForEvent=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.getAssignedLeasingAgentIdForEventRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t}(s.BaseAPI);t.EventsControllerApi=l},8196:function(e,t,i){var n,r=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function i(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}),o=this&&this.__awaiter||function(e,t,i,n){return new(i||(i=Promise))((function(r,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var i,n,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(i)throw new TypeError("Generator is already executing.");for(;a;)try{if(i=1,n&&(r=2&o[0]?n.return:o[0]?n.throw||((r=n.return)&&r.call(n),0):n.next)&&!(r=r.call(n,o[1])).done)return r;switch(n=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],n=0}finally{i=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.FeatureFlagControllerApi=void 0;var s=i(296),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.getBoolFeatureFlagRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.featureKey||void 0===e.featureKey)throw new s.RequiredError("featureKey","Required parameter requestParameters.featureKey was null or undefined when calling getBoolFeatureFlag.");if(null===e.requestDto||void 0===e.requestDto)throw new s.RequiredError("requestDto","Required parameter requestParameters.requestDto was null or undefined when calling getBoolFeatureFlag.");return i={},void 0!==e.requestDto&&(i.requestDto=e.requestDto),n={},[4,this.request({path:"/api/v1/features/bool/{featureKey}".replace("{".concat("featureKey","}"),encodeURIComponent(String(e.featureKey))),method:"GET",headers:n,query:i},t)];case 1:return r=o.sent(),[2,new s.TextApiResponse(r)]}}))}))},t.prototype.getBoolFeatureFlag=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.getBoolFeatureFlagRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t.prototype.getIntFeatureFlagRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.featureKey||void 0===e.featureKey)throw new s.RequiredError("featureKey","Required parameter requestParameters.featureKey was null or undefined when calling getIntFeatureFlag.");if(null===e.requestDto||void 0===e.requestDto)throw new s.RequiredError("requestDto","Required parameter requestParameters.requestDto was null or undefined when calling getIntFeatureFlag.");return i={},void 0!==e.requestDto&&(i.requestDto=e.requestDto),n={},[4,this.request({path:"/api/v1/features/int/{featureKey}".replace("{".concat("featureKey","}"),encodeURIComponent(String(e.featureKey))),method:"GET",headers:n,query:i},t)];case 1:return r=o.sent(),[2,new s.TextApiResponse(r)]}}))}))},t.prototype.getIntFeatureFlag=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.getIntFeatureFlagRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t.prototype.getStringFeatureFlagRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.featureKey||void 0===e.featureKey)throw new s.RequiredError("featureKey","Required parameter requestParameters.featureKey was null or undefined when calling getStringFeatureFlag.");if(null===e.requestDto||void 0===e.requestDto)throw new s.RequiredError("requestDto","Required parameter requestParameters.requestDto was null or undefined when calling getStringFeatureFlag.");return i={},void 0!==e.requestDto&&(i.requestDto=e.requestDto),n={},[4,this.request({path:"/api/v1/features/string/{featureKey}".replace("{".concat("featureKey","}"),encodeURIComponent(String(e.featureKey))),method:"GET",headers:n,query:i},t)];case 1:return r=o.sent(),[2,new s.TextApiResponse(r)]}}))}))},t.prototype.getStringFeatureFlag=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.getStringFeatureFlagRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t}(s.BaseAPI);t.FeatureFlagControllerApi=l},5282:function(e,t,i){var n,r=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function i(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}),o=this&&this.__awaiter||function(e,t,i,n){return new(i||(i=Promise))((function(r,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var i,n,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(i)throw new TypeError("Generator is already executing.");for(;a;)try{if(i=1,n&&(r=2&o[0]?n.return:o[0]?n.throw||((r=n.return)&&r.call(n),0):n.next)&&!(r=r.call(n,o[1])).done)return r;switch(n=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],n=0}finally{i=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.FirstContactControllerApi=void 0;var s=i(296),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.getFirstContactTypeForUserRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.userId||void 0===e.userId)throw new s.RequiredError("userId","Required parameter requestParameters.userId was null or undefined when calling getFirstContactTypeForUser.");return i={},n={},[4,this.request({path:"/api/v1/firstcontact/user_id/{userId}".replace("{".concat("userId","}"),encodeURIComponent(String(e.userId))),method:"GET",headers:n,query:i},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r)]}}))}))},t.prototype.getFirstContactTypeForUser=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.getFirstContactTypeForUserRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t}(s.BaseAPI);t.FirstContactControllerApi=l},4702:function(e,t,i){var n,r=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function i(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}),o=this&&this.__awaiter||function(e,t,i,n){return new(i||(i=Promise))((function(r,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var i,n,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(i)throw new TypeError("Generator is already executing.");for(;a;)try{if(i=1,n&&(r=2&o[0]?n.return:o[0]?n.throw||((r=n.return)&&r.call(n),0):n.next)&&!(r=r.call(n,o[1])).done)return r;switch(n=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],n=0}finally{i=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.FollowUpControllerApi=void 0;var s=i(296),l=i(4584),u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.setFollowupFromCalendarRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.followUpParams||void 0===e.followUpParams)throw new s.RequiredError("followUpParams","Required parameter requestParameters.followUpParams was null or undefined when calling setFollowupFromCalendar.");return i={},(n={})["Content-Type"]="application/json",[4,this.request({path:"/api/v1/followup/",method:"POST",headers:n,query:i,body:(0,l.FollowUpParamsToJSON)(e.followUpParams)},t)];case 1:return r=o.sent(),[2,new s.VoidApiResponse(r)]}}))}))},t.prototype.setFollowupFromCalendar=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.setFollowupFromCalendarRaw(e,t)];case 1:return i.sent(),[2]}}))}))},t}(s.BaseAPI);t.FollowUpControllerApi=u},683:function(e,t,i){var n,r=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function i(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}),o=this&&this.__awaiter||function(e,t,i,n){return new(i||(i=Promise))((function(r,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var i,n,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(i)throw new TypeError("Generator is already executing.");for(;a;)try{if(i=1,n&&(r=2&o[0]?n.return:o[0]?n.throw||((r=n.return)&&r.call(n),0):n.next)&&!(r=r.call(n,o[1])).done)return r;switch(n=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],n=0}finally{i=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.FunnelIntegrationsControllerApi=void 0;var s=i(296),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.knockAppointmentEventsWebhook1Raw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.body||void 0===e.body)throw new s.RequiredError("body","Required parameter requestParameters.body was null or undefined when calling knockAppointmentEventsWebhook1.");return i={},(n={})["Content-Type"]="application/json",[4,this.request({path:"/api/v1/integrations/funnel/events",method:"POST",headers:n,query:i,body:e.body},t)];case 1:return r=o.sent(),[2,new s.TextApiResponse(r)]}}))}))},t.prototype.knockAppointmentEventsWebhook1=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.knockAppointmentEventsWebhook1Raw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t}(s.BaseAPI);t.FunnelIntegrationsControllerApi=l},5977:function(e,t,i){var n,r=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function i(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}),o=this&&this.__awaiter||function(e,t,i,n){return new(i||(i=Promise))((function(r,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var i,n,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(i)throw new TypeError("Generator is already executing.");for(;a;)try{if(i=1,n&&(r=2&o[0]?n.return:o[0]?n.throw||((r=n.return)&&r.call(n),0):n.next)&&!(r=r.call(n,o[1])).done)return r;switch(n=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],n=0}finally{i=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.KnockIntegrationsControllerApi=void 0;var s=i(296),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.knockAppointmentEventsWebhookRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.body||void 0===e.body)throw new s.RequiredError("body","Required parameter requestParameters.body was null or undefined when calling knockAppointmentEventsWebhook.");return i={},(n={})["Content-Type"]="application/json",[4,this.request({path:"/api/v1/integrations/knock/appointment_events",method:"POST",headers:n,query:i,body:e.body},t)];case 1:return r=o.sent(),[2,new s.TextApiResponse(r)]}}))}))},t.prototype.knockAppointmentEventsWebhook=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.knockAppointmentEventsWebhookRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t}(s.BaseAPI);t.KnockIntegrationsControllerApi=l},8242:function(e,t,i){var n,r=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function i(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}),o=this&&this.__awaiter||function(e,t,i,n){return new(i||(i=Promise))((function(r,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var i,n,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(i)throw new TypeError("Generator is already executing.");for(;a;)try{if(i=1,n&&(r=2&o[0]?n.return:o[0]?n.throw||((r=n.return)&&r.call(n),0):n.next)&&!(r=r.call(n,o[1])).done)return r;switch(n=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],n=0}finally{i=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.LeadSourcesControllerApi=void 0;var s=i(296),l=i(4584),u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.getLeadSourcesRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.buildingId||void 0===e.buildingId)throw new s.RequiredError("buildingId","Required parameter requestParameters.buildingId was null or undefined when calling getLeadSources.");return i={},n={},[4,this.request({path:"/api/pub/lead-sources/v1/building/{buildingId}".replace("{".concat("buildingId","}"),encodeURIComponent(String(e.buildingId))),method:"GET",headers:n,query:i},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return(0,l.LeadSourceResponseFromJSON)(e)}))]}}))}))},t.prototype.getLeadSources=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.getLeadSourcesRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t.prototype.getLeadSourcesIntegration1Raw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.buildingId||void 0===e.buildingId)throw new s.RequiredError("buildingId","Required parameter requestParameters.buildingId was null or undefined when calling getLeadSourcesIntegration1.");return i={},n={},[4,this.request({path:"/api/pub/lead-sources/v1/crm/building/{buildingId}".replace("{".concat("buildingId","}"),encodeURIComponent(String(e.buildingId))),method:"GET",headers:n,query:i},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return(0,l.LeadSourceResponseFromJSON)(e)}))]}}))}))},t.prototype.getLeadSourcesIntegration1=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.getLeadSourcesIntegration1Raw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t}(s.BaseAPI);t.LeadSourcesControllerApi=u},9714:function(e,t,i){var n,r=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function i(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}),o=this&&this.__awaiter||function(e,t,i,n){return new(i||(i=Promise))((function(r,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var i,n,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(i)throw new TypeError("Generator is already executing.");for(;a;)try{if(i=1,n&&(r=2&o[0]?n.return:o[0]?n.throw||((r=n.return)&&r.call(n),0):n.next)&&!(r=r.call(n,o[1])).done)return r;switch(n=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],n=0}finally{i=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.LeadsControllerApi=void 0;var s=i(296),l=i(4584),u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.getLeadThreadViewModelsRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:return i={},void 0!==e.leadEmail&&(i.leadEmail=e.leadEmail),void 0!==e.leadPhoneNumber&&(i.leadPhoneNumber=e.leadPhoneNumber),void 0!==e.leadName&&(i.leadName=e.leadName),void 0!==e.buildingId&&(i.buildingId=e.buildingId),n={},[4,this.request({path:"/api/v1/leads",method:"GET",headers:n,query:i},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return e.map(l.LeadThreadViewModelFromJSON)}))]}}))}))},t.prototype.getLeadThreadViewModels=function(e,t){return void 0===e&&(e={}),o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.getLeadThreadViewModelsRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t.prototype.getLeadsWithSourceRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.leadEmail||void 0===e.leadEmail)throw new s.RequiredError("leadEmail","Required parameter requestParameters.leadEmail was null or undefined when calling getLeadsWithSource.");if(null===e.buildingId||void 0===e.buildingId)throw new s.RequiredError("buildingId","Required parameter requestParameters.buildingId was null or undefined when calling getLeadsWithSource.");return i={},void 0!==e.leadEmail&&(i.leadEmail=e.leadEmail),void 0!==e.buildingId&&(i.buildingId=e.buildingId),n={},[4,this.request({path:"/api/v1/leads/leadsWithSource",method:"GET",headers:n,query:i},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return e.map(l.LeadWithSourceFromJSON)}))]}}))}))},t.prototype.getLeadsWithSource=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.getLeadsWithSourceRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t}(s.BaseAPI);t.LeadsControllerApi=u},7659:function(e,t,i){var n,r=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function i(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}),o=this&&this.__awaiter||function(e,t,i,n){return new(i||(i=Promise))((function(r,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var i,n,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(i)throw new TypeError("Generator is already executing.");for(;a;)try{if(i=1,n&&(r=2&o[0]?n.return:o[0]?n.throw||((r=n.return)&&r.call(n),0):n.next)&&!(r=r.call(n,o[1])).done)return r;switch(n=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],n=0}finally{i=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.LeasingAgentsControllerApi=void 0;var s=i(296),l=i(4584),u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.getLeasingAgentsForBuildingRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.buildingId||void 0===e.buildingId)throw new s.RequiredError("buildingId","Required parameter requestParameters.buildingId was null or undefined when calling getLeasingAgentsForBuilding.");return i={},n={},[4,this.request({path:"/api/v1/leasingagents/building/{buildingId}".replace("{".concat("buildingId","}"),encodeURIComponent(String(e.buildingId))),method:"GET",headers:n,query:i},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return e.map(l.LeasingAgentFromJSON)}))]}}))}))},t.prototype.getLeasingAgentsForBuilding=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.getLeasingAgentsForBuildingRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t.prototype.getLeasingAgentsForUserRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.userId||void 0===e.userId)throw new s.RequiredError("userId","Required parameter requestParameters.userId was null or undefined when calling getLeasingAgentsForUser.");return i={},n={},[4,this.request({path:"/api/v1/leasingagents/{userId}".replace("{".concat("userId","}"),encodeURIComponent(String(e.userId))),method:"GET",headers:n,query:i},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return e.map(l.LeasingAgentFromJSON)}))]}}))}))},t.prototype.getLeasingAgentsForUser=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.getLeasingAgentsForUserRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t}(s.BaseAPI);t.LeasingAgentsControllerApi=u},2311:function(e,t,i){var n,r=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function i(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}),o=this&&this.__awaiter||function(e,t,i,n){return new(i||(i=Promise))((function(r,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var i,n,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(i)throw new TypeError("Generator is already executing.");for(;a;)try{if(i=1,n&&(r=2&o[0]?n.return:o[0]?n.throw||((r=n.return)&&r.call(n),0):n.next)&&!(r=r.call(n,o[1])).done)return r;switch(n=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],n=0}finally{i=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.MarketingSourcesControllerApi=void 0;var s=i(296),l=i(4584),u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.initializeWhitelisting1Raw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.buildingId||void 0===e.buildingId)throw new s.RequiredError("buildingId","Required parameter requestParameters.buildingId was null or undefined when calling initializeWhitelisting1.");return i={},n={},[4,this.request({path:"/api/v1/marketingSources/{buildingId}".replace("{".concat("buildingId","}"),encodeURIComponent(String(e.buildingId))),method:"GET",headers:n,query:i},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return e.map(l.ExternalBuildingSourceFromJSON)}))]}}))}))},t.prototype.initializeWhitelisting1=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.initializeWhitelisting1Raw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t}(s.BaseAPI);t.MarketingSourcesControllerApi=u},5827:function(e,t,i){var n,r=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function i(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}),o=this&&this.__awaiter||function(e,t,i,n){return new(i||(i=Promise))((function(r,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var i,n,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(i)throw new TypeError("Generator is already executing.");for(;a;)try{if(i=1,n&&(r=2&o[0]?n.return:o[0]?n.throw||((r=n.return)&&r.call(n),0):n.next)&&!(r=r.call(n,o[1])).done)return r;switch(n=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],n=0}finally{i=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.MeHomeControllerApi=void 0;var s=i(296),l=i(4584),u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.getDashboardInfoRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.getMEHomeDashboardInfoDto||void 0===e.getMEHomeDashboardInfoDto)throw new s.RequiredError("getMEHomeDashboardInfoDto","Required parameter requestParameters.getMEHomeDashboardInfoDto was null or undefined when calling getDashboardInfo.");return i={},(n={})["Content-Type"]="application/json",[4,this.request({path:"/api/v1/mehome/dashboardInfo",method:"POST",headers:n,query:i,body:(0,l.GetMEHomeDashboardInfoDtoToJSON)(e.getMEHomeDashboardInfoDto)},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return(0,l.MEHomeDashboardInfoFromJSON)(e)}))]}}))}))},t.prototype.getDashboardInfo=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.getDashboardInfoRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t}(s.BaseAPI);t.MeHomeControllerApi=u},5334:function(e,t,i){var n,r=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function i(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}),o=this&&this.__awaiter||function(e,t,i,n){return new(i||(i=Promise))((function(r,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var i,n,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(i)throw new TypeError("Generator is already executing.");for(;a;)try{if(i=1,n&&(r=2&o[0]?n.return:o[0]?n.throw||((r=n.return)&&r.call(n),0):n.next)&&!(r=r.call(n,o[1])).done)return r;switch(n=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],n=0}finally{i=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.OfficeHoursControllerApi=void 0;var s=i(296),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.refreshAnyoneHomeOfficeHoursRaw=function(e){return o(this,void 0,void 0,(function(){var t,i,n;return a(this,(function(r){switch(r.label){case 0:return t={},i={},[4,this.request({path:"/api/v1/officehours/refreshAnyoneHomeOfficeHours",method:"GET",headers:i,query:t},e)];case 1:return n=r.sent(),[2,new s.VoidApiResponse(n)]}}))}))},t.prototype.refreshAnyoneHomeOfficeHours=function(e){return o(this,void 0,void 0,(function(){return a(this,(function(t){switch(t.label){case 0:return[4,this.refreshAnyoneHomeOfficeHoursRaw(e)];case 1:return t.sent(),[2]}}))}))},t}(s.BaseAPI);t.OfficeHoursControllerApi=l},7043:function(e,t,i){var n,r=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function i(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}),o=this&&this.__awaiter||function(e,t,i,n){return new(i||(i=Promise))((function(r,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var i,n,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(i)throw new TypeError("Generator is already executing.");for(;a;)try{if(i=1,n&&(r=2&o[0]?n.return:o[0]?n.throw||((r=n.return)&&r.call(n),0):n.next)&&!(r=r.call(n,o[1])).done)return r;switch(n=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],n=0}finally{i=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.OrganizationApiControllerApi=void 0;var s=i(296),l=i(4584),u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.create1Raw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.organization||void 0===e.organization)throw new s.RequiredError("organization","Required parameter requestParameters.organization was null or undefined when calling create1.");return i={},(n={})["Content-Type"]="application/json",[4,this.request({path:"/api/v1/company/",method:"POST",headers:n,query:i,body:(0,l.OrganizationToJSON)(e.organization)},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return(0,l.OrganizationFromJSON)(e)}))]}}))}))},t.prototype.create1=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.create1Raw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t.prototype.get3Raw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.id||void 0===e.id)throw new s.RequiredError("id","Required parameter requestParameters.id was null or undefined when calling get3.");return i={},n={},[4,this.request({path:"/api/v1/company/{id}".replace("{".concat("id","}"),encodeURIComponent(String(e.id))),method:"GET",headers:n,query:i},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return(0,l.OrganizationFromJSON)(e)}))]}}))}))},t.prototype.get3=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.get3Raw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t.prototype.getActiveBuildingNamesRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.requestBody||void 0===e.requestBody)throw new s.RequiredError("requestBody","Required parameter requestParameters.requestBody was null or undefined when calling getActiveBuildingNames.");return i={},(n={})["Content-Type"]="application/json",[4,this.request({path:"/api/v1/company/activeBuildingNames",method:"POST",headers:n,query:i,body:e.requestBody},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r)]}}))}))},t.prototype.getActiveBuildingNames=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.getActiveBuildingNamesRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t.prototype.getOrgsRaw=function(e){return o(this,void 0,void 0,(function(){var t,i,n;return a(this,(function(r){switch(r.label){case 0:return t={},i={},[4,this.request({path:"/api/v1/company/",method:"GET",headers:i,query:t},e)];case 1:return n=r.sent(),[2,new s.JSONApiResponse(n,(function(e){return(0,l.ListWrapperOrganizationFromJSON)(e)}))]}}))}))},t.prototype.getOrgs=function(e){return o(this,void 0,void 0,(function(){return a(this,(function(t){switch(t.label){case 0:return[4,this.getOrgsRaw(e)];case 1:return[4,t.sent().value()];case 2:return[2,t.sent()]}}))}))},t.prototype.update4Raw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.id||void 0===e.id)throw new s.RequiredError("id","Required parameter requestParameters.id was null or undefined when calling update4.");if(null===e.organization||void 0===e.organization)throw new s.RequiredError("organization","Required parameter requestParameters.organization was null or undefined when calling update4.");return i={},(n={})["Content-Type"]="application/json",[4,this.request({path:"/api/v1/company/{id}".replace("{".concat("id","}"),encodeURIComponent(String(e.id))),method:"PUT",headers:n,query:i,body:(0,l.OrganizationToJSON)(e.organization)},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return(0,l.OrganizationFromJSON)(e)}))]}}))}))},t.prototype.update4=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.update4Raw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t}(s.BaseAPI);t.OrganizationApiControllerApi=u},1092:function(e,t,i){var n,r=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function i(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}),o=this&&this.__awaiter||function(e,t,i,n){return new(i||(i=Promise))((function(r,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var i,n,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(i)throw new TypeError("Generator is already executing.");for(;a;)try{if(i=1,n&&(r=2&o[0]?n.return:o[0]?n.throw||((r=n.return)&&r.call(n),0):n.next)&&!(r=r.call(n,o[1])).done)return r;switch(n=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],n=0}finally{i=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.PublicBuildingControllerApi=void 0;var s=i(296),l=i(4584),u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.getOrgIdFromUUIDRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.uuid||void 0===e.uuid)throw new s.RequiredError("uuid","Required parameter requestParameters.uuid was null or undefined when calling getOrgIdFromUUID.");return i={},n={},[4,this.request({path:"/api/pub/v1/organization/{uuid}".replace("{".concat("uuid","}"),encodeURIComponent(String(e.uuid))),method:"GET",headers:n,query:i},t)];case 1:return r=o.sent(),[2,new s.TextApiResponse(r)]}}))}))},t.prototype.getOrgIdFromUUID=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.getOrgIdFromUUIDRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t.prototype.getPublicBuildingInfoRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.organizationSlug||void 0===e.organizationSlug)throw new s.RequiredError("organizationSlug","Required parameter requestParameters.organizationSlug was null or undefined when calling getPublicBuildingInfo.");if(null===e.buildingSlug||void 0===e.buildingSlug)throw new s.RequiredError("buildingSlug","Required parameter requestParameters.buildingSlug was null or undefined when calling getPublicBuildingInfo.");return i={},n={},[4,this.request({path:"/api/pub/v1/organization/{organizationSlug}/building/{buildingSlug}".replace("{".concat("organizationSlug","}"),encodeURIComponent(String(e.organizationSlug))).replace("{".concat("buildingSlug","}"),encodeURIComponent(String(e.buildingSlug))),method:"GET",headers:n,query:i},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return(0,l.BuildingPublicViewModelFromJSON)(e)}))]}}))}))},t.prototype.getPublicBuildingInfo=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.getPublicBuildingInfoRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t}(s.BaseAPI);t.PublicBuildingControllerApi=u},535:function(e,t,i){var n,r=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function i(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}),o=this&&this.__awaiter||function(e,t,i,n){return new(i||(i=Promise))((function(r,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var i,n,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(i)throw new TypeError("Generator is already executing.");for(;a;)try{if(i=1,n&&(r=2&o[0]?n.return:o[0]?n.throw||((r=n.return)&&r.call(n),0):n.next)&&!(r=r.call(n,o[1])).done)return r;switch(n=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],n=0}finally{i=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.PublicUnsubscribeControllerApi=void 0;var s=i(296),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.unsubscribeFromStateRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.stateId||void 0===e.stateId)throw new s.RequiredError("stateId","Required parameter requestParameters.stateId was null or undefined when calling unsubscribeFromState.");return i={},n={},[4,this.request({path:"/api/unsubscribe/{stateId}".replace("{".concat("stateId","}"),encodeURIComponent(String(e.stateId))),method:"GET",headers:n,query:i},t)];case 1:return r=o.sent(),[2,new s.TextApiResponse(r)]}}))}))},t.prototype.unsubscribeFromState=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.unsubscribeFromStateRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t}(s.BaseAPI);t.PublicUnsubscribeControllerApi=l},4071:function(e,t,i){var n,r=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function i(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}),o=this&&this.__awaiter||function(e,t,i,n){return new(i||(i=Promise))((function(r,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var i,n,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(i)throw new TypeError("Generator is already executing.");for(;a;)try{if(i=1,n&&(r=2&o[0]?n.return:o[0]?n.throw||((r=n.return)&&r.call(n),0):n.next)&&!(r=r.call(n,o[1])).done)return r;switch(n=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],n=0}finally{i=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.RecurringEventsControllerApi=void 0;var s=i(296),l=i(4584),u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.delete1Raw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.id||void 0===e.id)throw new s.RequiredError("id","Required parameter requestParameters.id was null or undefined when calling delete1.");return i={},n={},[4,this.request({path:"/api/v1/recurring_events/{id}".replace("{".concat("id","}"),encodeURIComponent(String(e.id))),method:"DELETE",headers:n,query:i},t)];case 1:return r=o.sent(),[2,new s.TextApiResponse(r)]}}))}))},t.prototype.delete1=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.delete1Raw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t.prototype.get2Raw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.id||void 0===e.id)throw new s.RequiredError("id","Required parameter requestParameters.id was null or undefined when calling get2.");return i={},n={},[4,this.request({path:"/api/v1/recurring_events/{id}".replace("{".concat("id","}"),encodeURIComponent(String(e.id))),method:"GET",headers:n,query:i},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return(0,l.RecurringEventDtoFromJSON)(e)}))]}}))}))},t.prototype.get2=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.get2Raw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t.prototype.saveRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.recurringEventCreateRequestDto||void 0===e.recurringEventCreateRequestDto)throw new s.RequiredError("recurringEventCreateRequestDto","Required parameter requestParameters.recurringEventCreateRequestDto was null or undefined when calling save.");return i={},(n={})["Content-Type"]="application/json",[4,this.request({path:"/api/v1/recurring_events",method:"POST",headers:n,query:i,body:(0,l.RecurringEventCreateRequestDtoToJSON)(e.recurringEventCreateRequestDto)},t)];case 1:return r=o.sent(),[2,new s.TextApiResponse(r)]}}))}))},t.prototype.save=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.saveRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t.prototype.update3Raw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.id||void 0===e.id)throw new s.RequiredError("id","Required parameter requestParameters.id was null or undefined when calling update3.");if(null===e.recurringEventUpdateRequestDto||void 0===e.recurringEventUpdateRequestDto)throw new s.RequiredError("recurringEventUpdateRequestDto","Required parameter requestParameters.recurringEventUpdateRequestDto was null or undefined when calling update3.");return i={},(n={})["Content-Type"]="application/json",[4,this.request({path:"/api/v1/recurring_events/{id}".replace("{".concat("id","}"),encodeURIComponent(String(e.id))),method:"PUT",headers:n,query:i,body:(0,l.RecurringEventUpdateRequestDtoToJSON)(e.recurringEventUpdateRequestDto)},t)];case 1:return r=o.sent(),[2,new s.TextApiResponse(r)]}}))}))},t.prototype.update3=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.update3Raw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t}(s.BaseAPI);t.RecurringEventsControllerApi=u},5834:function(e,t,i){var n,r=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function i(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}),o=this&&this.__awaiter||function(e,t,i,n){return new(i||(i=Promise))((function(r,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var i,n,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(i)throw new TypeError("Generator is already executing.");for(;a;)try{if(i=1,n&&(r=2&o[0]?n.return:o[0]?n.throw||((r=n.return)&&r.call(n),0):n.next)&&!(r=r.call(n,o[1])).done)return r;switch(n=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],n=0}finally{i=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.RenterBuildingControllerApi=void 0;var s=i(296),l=i(4584),u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.findRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.name||void 0===e.name)throw new s.RequiredError("name","Required parameter requestParameters.name was null or undefined when calling find.");if(null===e.address||void 0===e.address)throw new s.RequiredError("address","Required parameter requestParameters.address was null or undefined when calling find.");if(null===e.zip||void 0===e.zip)throw new s.RequiredError("zip","Required parameter requestParameters.zip was null or undefined when calling find.");return i={},void 0!==e.name&&(i.name=e.name),void 0!==e.address&&(i.address=e.address),void 0!==e.zip&&(i.zip=e.zip),n={},[4,this.request({path:"/renterApi/v1/building/find",method:"GET",headers:n,query:i},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return(0,l.BuildingDetailsFromJSON)(e)}))]}}))}))},t.prototype.find=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.findRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t.prototype.findBuildingsManagedByRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.email||void 0===e.email)throw new s.RequiredError("email","Required parameter requestParameters.email was null or undefined when calling findBuildingsManagedBy.");return i={},void 0!==e.email&&(i.email=e.email),n={},[4,this.request({path:"/renterApi/v1/building/managedBy",method:"GET",headers:n,query:i},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return e.map(l.BuildingDetailsFromJSON)}))]}}))}))},t.prototype.findBuildingsManagedBy=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.findBuildingsManagedByRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t.prototype.findByNameRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.id||void 0===e.id)throw new s.RequiredError("id","Required parameter requestParameters.id was null or undefined when calling findByName.");return i={},n={},[4,this.request({path:"/renterApi/v1/building/{id}".replace("{".concat("id","}"),encodeURIComponent(String(e.id))),method:"GET",headers:n,query:i},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return(0,l.BuildingDetailsFromJSON)(e)}))]}}))}))},t.prototype.findByName=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.findByNameRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t.prototype.geocodeLocationRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.address||void 0===e.address)throw new s.RequiredError("address","Required parameter requestParameters.address was null or undefined when calling geocodeLocation.");return i={},void 0!==e.address&&(i.address=e.address),n={},[4,this.request({path:"/renterApi/v1/building/location/geocode",method:"HEAD",headers:n,query:i},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return(0,l.LocationFromJSON)(e)}))]}}))}))},t.prototype.geocodeLocation=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.geocodeLocationRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t.prototype.geocodeLocation1Raw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.address||void 0===e.address)throw new s.RequiredError("address","Required parameter requestParameters.address was null or undefined when calling geocodeLocation1.");return i={},void 0!==e.address&&(i.address=e.address),n={},[4,this.request({path:"/renterApi/v1/building/location/geocode",method:"DELETE",headers:n,query:i},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return(0,l.LocationFromJSON)(e)}))]}}))}))},t.prototype.geocodeLocation1=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.geocodeLocation1Raw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t.prototype.geocodeLocation2Raw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.address||void 0===e.address)throw new s.RequiredError("address","Required parameter requestParameters.address was null or undefined when calling geocodeLocation2.");return i={},void 0!==e.address&&(i.address=e.address),n={},[4,this.request({path:"/renterApi/v1/building/location/geocode",method:"GET",headers:n,query:i},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return(0,l.LocationFromJSON)(e)}))]}}))}))},t.prototype.geocodeLocation2=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.geocodeLocation2Raw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t.prototype.geocodeLocation3Raw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.address||void 0===e.address)throw new s.RequiredError("address","Required parameter requestParameters.address was null or undefined when calling geocodeLocation3.");return i={},void 0!==e.address&&(i.address=e.address),n={},[4,this.request({path:"/renterApi/v1/building/location/geocode",method:"OPTIONS",headers:n,query:i},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return(0,l.LocationFromJSON)(e)}))]}}))}))},t.prototype.geocodeLocation3=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.geocodeLocation3Raw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t.prototype.geocodeLocation4Raw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.address||void 0===e.address)throw new s.RequiredError("address","Required parameter requestParameters.address was null or undefined when calling geocodeLocation4.");return i={},void 0!==e.address&&(i.address=e.address),n={},[4,this.request({path:"/renterApi/v1/building/location/geocode",method:"PUT",headers:n,query:i},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return(0,l.LocationFromJSON)(e)}))]}}))}))},t.prototype.geocodeLocation4=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.geocodeLocation4Raw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t.prototype.geocodeLocation5Raw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.address||void 0===e.address)throw new s.RequiredError("address","Required parameter requestParameters.address was null or undefined when calling geocodeLocation5.");return i={},void 0!==e.address&&(i.address=e.address),n={},[4,this.request({path:"/renterApi/v1/building/location/geocode",method:"PATCH",headers:n,query:i},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return(0,l.LocationFromJSON)(e)}))]}}))}))},t.prototype.geocodeLocation5=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.geocodeLocation5Raw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t.prototype.geocodeLocation6Raw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.address||void 0===e.address)throw new s.RequiredError("address","Required parameter requestParameters.address was null or undefined when calling geocodeLocation6.");return i={},void 0!==e.address&&(i.address=e.address),n={},[4,this.request({path:"/renterApi/v1/building/location/geocode",method:"POST",headers:n,query:i},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return(0,l.LocationFromJSON)(e)}))]}}))}))},t.prototype.geocodeLocation6=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.geocodeLocation6Raw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t.prototype.getAllBuildingPreferencesRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.id||void 0===e.id)throw new s.RequiredError("id","Required parameter requestParameters.id was null or undefined when calling getAllBuildingPreferences.");return i={},n={},[4,this.request({path:"/renterApi/v1/building/{id}/buildingPreferences".replace("{".concat("id","}"),encodeURIComponent(String(e.id))),method:"GET",headers:n,query:i},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r)]}}))}))},t.prototype.getAllBuildingPreferences=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.getAllBuildingPreferencesRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t.prototype.getBuildingNameByIdRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.id||void 0===e.id)throw new s.RequiredError("id","Required parameter requestParameters.id was null or undefined when calling getBuildingNameById.");return i={},n={},[4,this.request({path:"/renterApi/v1/building/{id}/name".replace("{".concat("id","}"),encodeURIComponent(String(e.id))),method:"GET",headers:n,query:i},t)];case 1:return r=o.sent(),[2,new s.TextApiResponse(r)]}}))}))},t.prototype.getBuildingNameById=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.getBuildingNameByIdRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t.prototype.getBuildingOverridesRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.id||void 0===e.id)throw new s.RequiredError("id","Required parameter requestParameters.id was null or undefined when calling getBuildingOverrides.");return i={},n={},[4,this.request({path:"/renterApi/v1/building/{id}/handoffOverrides".replace("{".concat("id","}"),encodeURIComponent(String(e.id))),method:"GET",headers:n,query:i},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return(0,l.BuildingOverrideFromJSON)(e)}))]}}))}))},t.prototype.getBuildingOverrides=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.getBuildingOverridesRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t.prototype.getBuildingUnitsRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.id||void 0===e.id)throw new s.RequiredError("id","Required parameter requestParameters.id was null or undefined when calling getBuildingUnits.");return i={},n={},[4,this.request({path:"/renterApi/v1/building/{id}/units".replace("{".concat("id","}"),encodeURIComponent(String(e.id))),method:"GET",headers:n,query:i},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return e.map(l.UnitDetailsFromJSON)}))]}}))}))},t.prototype.getBuildingUnits=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.getBuildingUnitsRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t.prototype.getBuildingUnitsWithDefaultsRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.id||void 0===e.id)throw new s.RequiredError("id","Required parameter requestParameters.id was null or undefined when calling getBuildingUnitsWithDefaults.");return i={},n={},[4,this.request({path:"/renterApi/v1/building/{id}/allActiveUnitsWithDefaults".replace("{".concat("id","}"),encodeURIComponent(String(e.id))),method:"GET",headers:n,query:i},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return e.map(l.UnitDetailsFromJSON)}))]}}))}))},t.prototype.getBuildingUnitsWithDefaults=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.getBuildingUnitsWithDefaultsRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t.prototype.getBuildingUnitsWithDefaults1Raw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.name||void 0===e.name)throw new s.RequiredError("name","Required parameter requestParameters.name was null or undefined when calling getBuildingUnitsWithDefaults1.");if(null===e.address||void 0===e.address)throw new s.RequiredError("address","Required parameter requestParameters.address was null or undefined when calling getBuildingUnitsWithDefaults1.");if(null===e.zip||void 0===e.zip)throw new s.RequiredError("zip","Required parameter requestParameters.zip was null or undefined when calling getBuildingUnitsWithDefaults1.");return i={},void 0!==e.name&&(i.name=e.name),void 0!==e.address&&(i.address=e.address),void 0!==e.zip&&(i.zip=e.zip),n={},[4,this.request({path:"/renterApi/v1/building/allActiveUnitsWithDefaults",method:"GET",headers:n,query:i},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return e.map(l.UnitDetailsFromJSON)}))]}}))}))},t.prototype.getBuildingUnitsWithDefaults1=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.getBuildingUnitsWithDefaults1Raw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t.prototype.getByIdRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.id||void 0===e.id)throw new s.RequiredError("id","Required parameter requestParameters.id was null or undefined when calling getById.");return i={},n={},[4,this.request({path:"/renterApi/v1/building/byId/{id}".replace("{".concat("id","}"),encodeURIComponent(String(e.id))),method:"GET",headers:n,query:i},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return(0,l.UiBuildingDetailsFromJSON)(e)}))]}}))}))},t.prototype.getById=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.getByIdRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t.prototype.getEntities1Raw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.entityConfig||void 0===e.entityConfig)throw new s.RequiredError("entityConfig","Required parameter requestParameters.entityConfig was null or undefined when calling getEntities1.");return i={},void 0!==e.entityConfig&&(i.entityConfig=e.entityConfig),n={},[4,this.request({path:"/renterApi/v1/building/entities",method:"GET",headers:n,query:i},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return e.map(l.BuildingEntityFromJSON)}))]}}))}))},t.prototype.getEntities1=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.getEntities1Raw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t.prototype.getFollowUpSettingsRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.name||void 0===e.name)throw new s.RequiredError("name","Required parameter requestParameters.name was null or undefined when calling getFollowUpSettings.");if(null===e.address||void 0===e.address)throw new s.RequiredError("address","Required parameter requestParameters.address was null or undefined when calling getFollowUpSettings.");if(null===e.zip||void 0===e.zip)throw new s.RequiredError("zip","Required parameter requestParameters.zip was null or undefined when calling getFollowUpSettings.");return i={},void 0!==e.name&&(i.name=e.name),void 0!==e.address&&(i.address=e.address),void 0!==e.zip&&(i.zip=e.zip),n={},[4,this.request({path:"/renterApi/v1/building/followUpSettings",method:"GET",headers:n,query:i},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return(0,l.FollowUpSettingsFromJSON)(e)}))]}}))}))},t.prototype.getFollowUpSettings=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.getFollowUpSettingsRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t.prototype.getIncentivesRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.id||void 0===e.id)throw new s.RequiredError("id","Required parameter requestParameters.id was null or undefined when calling getIncentives.");return i={},void 0!==e.layout&&(i.layout=e.layout),n={},[4,this.request({path:"/renterApi/v1/building/{id}/incentives".replace("{".concat("id","}"),encodeURIComponent(String(e.id))),method:"GET",headers:n,query:i},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return(0,l.UnitIncentiveResultFromJSON)(e)}))]}}))}))},t.prototype.getIncentives=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.getIncentivesRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t.prototype.getTourPriorityByIdRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.id||void 0===e.id)throw new s.RequiredError("id","Required parameter requestParameters.id was null or undefined when calling getTourPriorityById.");return i={},n={},[4,this.request({path:"/renterApi/v1/building/{id}/tourPriority".replace("{".concat("id","}"),encodeURIComponent(String(e.id))),method:"GET",headers:n,query:i},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r)]}}))}))},t.prototype.getTourPriorityById=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.getTourPriorityByIdRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t.prototype.getV2ConfigurationForBuildingRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.buildingId||void 0===e.buildingId)throw new s.RequiredError("buildingId","Required parameter requestParameters.buildingId was null or undefined when calling getV2ConfigurationForBuilding.");return i={},n={},[4,this.request({path:"/renterApi/v1/building/{buildingId}/v2Configuration".replace("{".concat("buildingId","}"),encodeURIComponent(String(e.buildingId))),method:"GET",headers:n,query:i},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return(0,l.V2BuildingMigrationStatusFromJSON)(e)}))]}}))}))},t.prototype.getV2ConfigurationForBuilding=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.getV2ConfigurationForBuildingRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t.prototype.getVirtualTourPlatformInfoRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.id||void 0===e.id)throw new s.RequiredError("id","Required parameter requestParameters.id was null or undefined when calling getVirtualTourPlatformInfo.");return i={},n={},[4,this.request({path:"/renterApi/v1/building/{id}/preferences".replace("{".concat("id","}"),encodeURIComponent(String(e.id))),method:"GET",headers:n,query:i},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return(0,l.BuildingTourTypePreferencesFromJSON)(e)}))]}}))}))},t.prototype.getVirtualTourPlatformInfo=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.getVirtualTourPlatformInfoRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t.prototype.searchBuildingRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.name||void 0===e.name)throw new s.RequiredError("name","Required parameter requestParameters.name was null or undefined when calling searchBuilding.");if(null===e.address||void 0===e.address)throw new s.RequiredError("address","Required parameter requestParameters.address was null or undefined when calling searchBuilding.");if(null===e.zip||void 0===e.zip)throw new s.RequiredError("zip","Required parameter requestParameters.zip was null or undefined when calling searchBuilding.");if(null===e.startTime||void 0===e.startTime)throw new s.RequiredError("startTime","Required parameter requestParameters.startTime was null or undefined when calling searchBuilding.");if(null===e.endTime||void 0===e.endTime)throw new s.RequiredError("endTime","Required parameter requestParameters.endTime was null or undefined when calling searchBuilding.");return i={},void 0!==e.name&&(i.name=e.name),void 0!==e.address&&(i.address=e.address),void 0!==e.zip&&(i.zip=e.zip),void 0!==e.startTime&&(i.startTime=e.startTime),void 0!==e.endTime&&(i.endTime=e.endTime),n={},[4,this.request({path:"/renterApi/v1/building/search/tour/availabilities",method:"GET",headers:n,query:i},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return(0,l.TourAvailabilityResponseFromJSON)(e)}))]}}))}))},t.prototype.searchBuilding=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.searchBuildingRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t}(s.BaseAPI);t.RenterBuildingControllerApi=u},4797:function(e,t,i){var n,r=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function i(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}),o=this&&this.__awaiter||function(e,t,i,n){return new(i||(i=Promise))((function(r,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var i,n,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(i)throw new TypeError("Generator is already executing.");for(;a;)try{if(i=1,n&&(r=2&o[0]?n.return:o[0]?n.throw||((r=n.return)&&r.call(n),0):n.next)&&!(r=r.call(n,o[1])).done)return r;switch(n=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],n=0}finally{i=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.RenterContextControllerApi=void 0;var s=i(296),l=i(4584),u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.associateLeadRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.contextId||void 0===e.contextId)throw new s.RequiredError("contextId","Required parameter requestParameters.contextId was null or undefined when calling associateLead.");if(null===e.associateLeadRequestDto||void 0===e.associateLeadRequestDto)throw new s.RequiredError("associateLeadRequestDto","Required parameter requestParameters.associateLeadRequestDto was null or undefined when calling associateLead.");return i={},(n={})["Content-Type"]="application/json",[4,this.request({path:"/renterApi/v1/context/associateLead/{contextId}".replace("{".concat("contextId","}"),encodeURIComponent(String(e.contextId))),method:"POST",headers:n,query:i,body:(0,l.AssociateLeadRequestDtoToJSON)(e.associateLeadRequestDto)},t)];case 1:return r=o.sent(),[2,new s.TextApiResponse(r)]}}))}))},t.prototype.associateLead=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.associateLeadRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t.prototype.associateLeadByStateIdRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.stateId||void 0===e.stateId)throw new s.RequiredError("stateId","Required parameter requestParameters.stateId was null or undefined when calling associateLeadByStateId.");if(null===e.associateLeadRequestDto||void 0===e.associateLeadRequestDto)throw new s.RequiredError("associateLeadRequestDto","Required parameter requestParameters.associateLeadRequestDto was null or undefined when calling associateLeadByStateId.");return i={},(n={})["Content-Type"]="application/json",[4,this.request({path:"/renterApi/v1/context/associateLeadByStateId/{stateId}".replace("{".concat("stateId","}"),encodeURIComponent(String(e.stateId))),method:"POST",headers:n,query:i,body:(0,l.AssociateLeadRequestDtoToJSON)(e.associateLeadRequestDto)},t)];case 1:return r=o.sent(),[2,new s.TextApiResponse(r)]}}))}))},t.prototype.associateLeadByStateId=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.associateLeadByStateIdRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t.prototype.getContextByPartyIdRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.partyId||void 0===e.partyId)throw new s.RequiredError("partyId","Required parameter requestParameters.partyId was null or undefined when calling getContextByPartyId.");return i={},n={},[4,this.request({path:"/renterApi/v1/context/partyId/{partyId}".replace("{".concat("partyId","}"),encodeURIComponent(String(e.partyId))),method:"GET",headers:n,query:i},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return(0,l.ContextDtoFromJSON)(e)}))]}}))}))},t.prototype.getContextByPartyId=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.getContextByPartyIdRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t.prototype.getOrCreateContextFromChatRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.id||void 0===e.id)throw new s.RequiredError("id","Required parameter requestParameters.id was null or undefined when calling getOrCreateContextFromChat.");if(null===e.getOrCreateContextDto||void 0===e.getOrCreateContextDto)throw new s.RequiredError("getOrCreateContextDto","Required parameter requestParameters.getOrCreateContextDto was null or undefined when calling getOrCreateContextFromChat.");return i={},(n={})["Content-Type"]="application/json",[4,this.request({path:"/renterApi/v1/context/chat/getOrCreate/{id}".replace("{".concat("id","}"),encodeURIComponent(String(e.id))),method:"POST",headers:n,query:i,body:(0,l.GetOrCreateContextDtoToJSON)(e.getOrCreateContextDto)},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return(0,l.ContextDtoFromJSON)(e)}))]}}))}))},t.prototype.getOrCreateContextFromChat=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.getOrCreateContextFromChatRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t}(s.BaseAPI);t.RenterContextControllerApi=u},9925:function(e,t,i){var n,r=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function i(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}),o=this&&this.__awaiter||function(e,t,i,n){return new(i||(i=Promise))((function(r,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var i,n,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(i)throw new TypeError("Generator is already executing.");for(;a;)try{if(i=1,n&&(r=2&o[0]?n.return:o[0]?n.throw||((r=n.return)&&r.call(n),0):n.next)&&!(r=r.call(n,o[1])).done)return r;switch(n=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],n=0}finally{i=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.RenterLeadSourcesControllerApi=void 0;var s=i(296),l=i(4584),u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.getLeadSourcesIntegrationRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.buildingId||void 0===e.buildingId)throw new s.RequiredError("buildingId","Required parameter requestParameters.buildingId was null or undefined when calling getLeadSourcesIntegration.");return i={},n={},[4,this.request({path:"/renterApi/v1/leadSources/crm/building/{buildingId}".replace("{".concat("buildingId","}"),encodeURIComponent(String(e.buildingId))),method:"GET",headers:n,query:i},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return(0,l.LeadSourceResponseFromJSON)(e)}))]}}))}))},t.prototype.getLeadSourcesIntegration=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.getLeadSourcesIntegrationRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t}(s.BaseAPI);t.RenterLeadSourcesControllerApi=u},9412:function(e,t,i){var n,r=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function i(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}),o=this&&this.__awaiter||function(e,t,i,n){return new(i||(i=Promise))((function(r,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var i,n,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(i)throw new TypeError("Generator is already executing.");for(;a;)try{if(i=1,n&&(r=2&o[0]?n.return:o[0]?n.throw||((r=n.return)&&r.call(n),0):n.next)&&!(r=r.call(n,o[1])).done)return r;switch(n=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],n=0}finally{i=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.RenterPartyControllerApi=void 0;var s=i(296),l=i(4584),u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.updatePartyLeadRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.id||void 0===e.id)throw new s.RequiredError("id","Required parameter requestParameters.id was null or undefined when calling updatePartyLead.");if(null===e.leadInfoUpdateDto||void 0===e.leadInfoUpdateDto)throw new s.RequiredError("leadInfoUpdateDto","Required parameter requestParameters.leadInfoUpdateDto was null or undefined when calling updatePartyLead.");return i={},(n={})["Content-Type"]="application/json",[4,this.request({path:"/renterApi/v1/party/{id}/lead".replace("{".concat("id","}"),encodeURIComponent(String(e.id))),method:"PUT",headers:n,query:i,body:(0,l.LeadInfoUpdateDtoToJSON)(e.leadInfoUpdateDto)},t)];case 1:return r=o.sent(),[2,new s.TextApiResponse(r)]}}))}))},t.prototype.updatePartyLead=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.updatePartyLeadRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t}(s.BaseAPI);t.RenterPartyControllerApi=u},7411:function(e,t,i){var n,r=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function i(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}),o=this&&this.__awaiter||function(e,t,i,n){return new(i||(i=Promise))((function(r,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var i,n,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(i)throw new TypeError("Generator is already executing.");for(;a;)try{if(i=1,n&&(r=2&o[0]?n.return:o[0]?n.throw||((r=n.return)&&r.call(n),0):n.next)&&!(r=r.call(n,o[1])).done)return r;switch(n=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],n=0}finally{i=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.RetrieveQuestionAnswersAcceptEnum=t.RenterQaControllerApi=void 0;var s=i(296),l=i(4584),u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.retrieveQuestionAnswersRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.requestBody||void 0===e.requestBody)throw new s.RequiredError("requestBody","Required parameter requestParameters.requestBody was null or undefined when calling retrieveQuestionAnswers.");return i={},void 0!==e.requestBody&&(i.requestBody=e.requestBody),n={},void 0!==e.accept&&null!==e.accept&&(n.Accept=String(e.accept)),[4,this.request({path:"/renterApi/v1/qa",method:"GET",headers:n,query:i},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return(0,l.ElisePredictedResponseFromJSON)(e)}))]}}))}))},t.prototype.retrieveQuestionAnswers=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.retrieveQuestionAnswersRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t}(s.BaseAPI);t.RenterQaControllerApi=u,(t.RetrieveQuestionAnswersAcceptEnum||(t.RetrieveQuestionAnswersAcceptEnum={})).ApplicationJson="application/json"},1562:function(e,t,i){var n,r=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function i(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}),o=this&&this.__awaiter||function(e,t,i,n){return new(i||(i=Promise))((function(r,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var i,n,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(i)throw new TypeError("Generator is already executing.");for(;a;)try{if(i=1,n&&(r=2&o[0]?n.return:o[0]?n.throw||((r=n.return)&&r.call(n),0):n.next)&&!(r=r.call(n,o[1])).done)return r;switch(n=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],n=0}finally{i=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.RenterTourControllerApi=void 0;var s=i(296),l=i(4584),u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.bookRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.bookTourDto||void 0===e.bookTourDto)throw new s.RequiredError("bookTourDto","Required parameter requestParameters.bookTourDto was null or undefined when calling book.");return i={},(n={})["Content-Type"]="application/json",[4,this.request({path:"/renterApi/v1/tour/book",method:"POST",headers:n,query:i,body:(0,l.BookTourDtoToJSON)(e.bookTourDto)},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return(0,l.EliseCalendarEventFromJSON)(e)}))]}}))}))},t.prototype.book=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.bookRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t.prototype.bookByStateIdRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.bookTourByStateIdDto||void 0===e.bookTourByStateIdDto)throw new s.RequiredError("bookTourByStateIdDto","Required parameter requestParameters.bookTourByStateIdDto was null or undefined when calling bookByStateId.");return i={},(n={})["Content-Type"]="application/json",[4,this.request({path:"/renterApi/v1/tour/bookByStateId",method:"POST",headers:n,query:i,body:(0,l.BookTourByStateIdDtoToJSON)(e.bookTourByStateIdDto)},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return(0,l.EliseCalendarEventFromJSON)(e)}))]}}))}))},t.prototype.bookByStateId=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.bookByStateIdRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t.prototype.cancelAllRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.cancelTourDto||void 0===e.cancelTourDto)throw new s.RequiredError("cancelTourDto","Required parameter requestParameters.cancelTourDto was null or undefined when calling cancelAll.");return i={},(n={})["Content-Type"]="application/json",[4,this.request({path:"/renterApi/v1/tour/cancelAll",method:"POST",headers:n,query:i,body:(0,l.CancelTourDtoToJSON)(e.cancelTourDto)},t)];case 1:return r=o.sent(),[2,new s.TextApiResponse(r)]}}))}))},t.prototype.cancelAll=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.cancelAllRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t.prototype.cancelAllByStateIdRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.cancelTourByStateIdDto||void 0===e.cancelTourByStateIdDto)throw new s.RequiredError("cancelTourByStateIdDto","Required parameter requestParameters.cancelTourByStateIdDto was null or undefined when calling cancelAllByStateId.");return i={},(n={})["Content-Type"]="application/json",[4,this.request({path:"/renterApi/v1/tour/cancelAllByStateId",method:"POST",headers:n,query:i,body:(0,l.CancelTourByStateIdDtoToJSON)(e.cancelTourByStateIdDto)},t)];case 1:return r=o.sent(),[2,new s.TextApiResponse(r)]}}))}))},t.prototype.cancelAllByStateId=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.cancelAllByStateIdRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t}(s.BaseAPI);t.RenterTourControllerApi=u},3195:function(e,t,i){var n,r=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function i(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}),o=this&&this.__awaiter||function(e,t,i,n){return new(i||(i=Promise))((function(r,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var i,n,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(i)throw new TypeError("Generator is already executing.");for(;a;)try{if(i=1,n&&(r=2&o[0]?n.return:o[0]?n.throw||((r=n.return)&&r.call(n),0):n.next)&&!(r=r.call(n,o[1])).done)return r;switch(n=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],n=0}finally{i=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.RenterUnitControllerApi=void 0;var s=i(296),l=i(4584),u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.getAvailableUnitsRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.buildingId||void 0===e.buildingId)throw new s.RequiredError("buildingId","Required parameter requestParameters.buildingId was null or undefined when calling getAvailableUnits.");if(null===e.layouts||void 0===e.layouts)throw new s.RequiredError("layouts","Required parameter requestParameters.layouts was null or undefined when calling getAvailableUnits.");if(null===e.startDate||void 0===e.startDate)throw new s.RequiredError("startDate","Required parameter requestParameters.startDate was null or undefined when calling getAvailableUnits.");if(null===e.endDate||void 0===e.endDate)throw new s.RequiredError("endDate","Required parameter requestParameters.endDate was null or undefined when calling getAvailableUnits.");return i={},void 0!==e.buildingId&&(i.buildingId=e.buildingId),e.layouts&&(i.layouts=e.layouts),void 0!==e.startDate&&(i.startDate=e.startDate.toISOString().substr(0,10)),void 0!==e.endDate&&(i.endDate=e.endDate.toISOString().substr(0,10)),n={},[4,this.request({path:"/renterApi/v1/unit/availability",method:"GET",headers:n,query:i},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return e.map(l.UnitDetailsFromJSON)}))]}}))}))},t.prototype.getAvailableUnits=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.getAvailableUnitsRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t}(s.BaseAPI);t.RenterUnitControllerApi=u},3978:function(e,t,i){var n,r=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function i(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}),o=this&&this.__awaiter||function(e,t,i,n){return new(i||(i=Promise))((function(r,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var i,n,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(i)throw new TypeError("Generator is already executing.");for(;a;)try{if(i=1,n&&(r=2&o[0]?n.return:o[0]?n.throw||((r=n.return)&&r.call(n),0):n.next)&&!(r=r.call(n,o[1])).done)return r;switch(n=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],n=0}finally{i=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.RenterUserControllerApi=void 0;var s=i(296),l=i(4584),u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.findByEmailRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.email||void 0===e.email)throw new s.RequiredError("email","Required parameter requestParameters.email was null or undefined when calling findByEmail.");return i={},n={},[4,this.request({path:"/renterApi/v1/user/email/{email}".replace("{".concat("email","}"),encodeURIComponent(String(e.email))),method:"GET",headers:n,query:i},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return(0,l.XagacityUserFromJSON)(e)}))]}}))}))},t.prototype.findByEmail=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.findByEmailRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t.prototype.findByIdRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.id||void 0===e.id)throw new s.RequiredError("id","Required parameter requestParameters.id was null or undefined when calling findById.");return i={},n={},[4,this.request({path:"/renterApi/v1/user/{id}".replace("{".concat("id","}"),encodeURIComponent(String(e.id))),method:"GET",headers:n,query:i},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return(0,l.XagacityUserFromJSON)(e)}))]}}))}))},t.prototype.findById=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.findByIdRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t.prototype.getEntitiesRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.entityConfig||void 0===e.entityConfig)throw new s.RequiredError("entityConfig","Required parameter requestParameters.entityConfig was null or undefined when calling getEntities.");return i={},void 0!==e.entityConfig&&(i.entityConfig=e.entityConfig),n={},[4,this.request({path:"/renterApi/v1/user/entities",method:"GET",headers:n,query:i},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return e.map(l.InboxEntityFromJSON)}))]}}))}))},t.prototype.getEntities=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.getEntitiesRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t}(s.BaseAPI);t.RenterUserControllerApi=u},7282:function(e,t,i){var n,r=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function i(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}),o=this&&this.__awaiter||function(e,t,i,n){return new(i||(i=Promise))((function(r,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var i,n,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(i)throw new TypeError("Generator is already executing.");for(;a;)try{if(i=1,n&&(r=2&o[0]?n.return:o[0]?n.throw||((r=n.return)&&r.call(n),0):n.next)&&!(r=r.call(n,o[1])).done)return r;switch(n=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],n=0}finally{i=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.ReportingServiceControllerApi=void 0;var s=i(296),l=i(4584),u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.generateAndDownloadExcelReportRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.buildingId||void 0===e.buildingId)throw new s.RequiredError("buildingId","Required parameter requestParameters.buildingId was null or undefined when calling generateAndDownloadExcelReport.");if(null===e.startDate||void 0===e.startDate)throw new s.RequiredError("startDate","Required parameter requestParameters.startDate was null or undefined when calling generateAndDownloadExcelReport.");if(null===e.endDate||void 0===e.endDate)throw new s.RequiredError("endDate","Required parameter requestParameters.endDate was null or undefined when calling generateAndDownloadExcelReport.");return i={},void 0!==e.buildingId&&(i.buildingId=e.buildingId),void 0!==e.startDate&&(i.startDate=e.startDate.toISOString().substr(0,10)),void 0!==e.endDate&&(i.endDate=e.endDate.toISOString().substr(0,10)),n={},[4,this.request({path:"/api/v1/report/excel/generateAndDownload",method:"POST",headers:n,query:i},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r)]}}))}))},t.prototype.generateAndDownloadExcelReport=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.generateAndDownloadExcelReportRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t.prototype.generateAndSendExcelReportsRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.generateAndSendExcelReportsOverrideSettings||void 0===e.generateAndSendExcelReportsOverrideSettings)throw new s.RequiredError("generateAndSendExcelReportsOverrideSettings","Required parameter requestParameters.generateAndSendExcelReportsOverrideSettings was null or undefined when calling generateAndSendExcelReports.");return i={},(n={})["Content-Type"]="application/json",[4,this.request({path:"/api/v1/report/excel/generateAndSend",method:"POST",headers:n,query:i,body:(0,l.GenerateAndSendExcelReportsOverrideSettingsToJSON)(e.generateAndSendExcelReportsOverrideSettings)},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r)]}}))}))},t.prototype.generateAndSendExcelReports=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.generateAndSendExcelReportsRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t.prototype.getBuildingsToReceiveReportsRaw=function(e){return o(this,void 0,void 0,(function(){var t,i,n;return a(this,(function(r){switch(r.label){case 0:return t={},i={},[4,this.request({path:"/api/v1/report/buildingsToReceiveReports",method:"GET",headers:i,query:t},e)];case 1:return n=r.sent(),[2,new s.JSONApiResponse(n)]}}))}))},t.prototype.getBuildingsToReceiveReports=function(e){return o(this,void 0,void 0,(function(){return a(this,(function(t){switch(t.label){case 0:return[4,this.getBuildingsToReceiveReportsRaw(e)];case 1:return[4,t.sent().value()];case 2:return[2,t.sent()]}}))}))},t.prototype.getByBuildingAndDateRangeRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.getReportsForBuildingAndDateRangeDto||void 0===e.getReportsForBuildingAndDateRangeDto)throw new s.RequiredError("getReportsForBuildingAndDateRangeDto","Required parameter requestParameters.getReportsForBuildingAndDateRangeDto was null or undefined when calling getByBuildingAndDateRange.");return i={},(n={})["Content-Type"]="application/json",[4,this.request({path:"/api/v1/report",method:"POST",headers:n,query:i,body:(0,l.GetReportsForBuildingAndDateRangeDtoToJSON)(e.getReportsForBuildingAndDateRangeDto)},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return e.map(l.HourlyReportDtoFromJSON)}))]}}))}))},t.prototype.getByBuildingAndDateRange=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.getByBuildingAndDateRangeRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t.prototype.getByBuildingsAndDateRangeRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.getReportsForBuildingsAndDateRangeDto||void 0===e.getReportsForBuildingsAndDateRangeDto)throw new s.RequiredError("getReportsForBuildingsAndDateRangeDto","Required parameter requestParameters.getReportsForBuildingsAndDateRangeDto was null or undefined when calling getByBuildingsAndDateRange.");return i={},(n={})["Content-Type"]="application/json",[4,this.request({path:"/api/v1/report/getForBuildings",method:"POST",headers:n,query:i,body:(0,l.GetReportsForBuildingsAndDateRangeDtoToJSON)(e.getReportsForBuildingsAndDateRangeDto)},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return(0,l.WebReportingDashboardResponseFromJSON)(e)}))]}}))}))},t.prototype.getByBuildingsAndDateRange=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.getByBuildingsAndDateRangeRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t.prototype.getExcelReportSettingsRaw=function(e){return o(this,void 0,void 0,(function(){var t,i,n;return a(this,(function(r){switch(r.label){case 0:return t={},i={},[4,this.request({path:"/api/v1/report/excel/settings",method:"GET",headers:i,query:t},e)];case 1:return n=r.sent(),[2,new s.JSONApiResponse(n,(function(e){return e.map(l.ReportSettingFromJSON)}))]}}))}))},t.prototype.getExcelReportSettings=function(e){return o(this,void 0,void 0,(function(){return a(this,(function(t){switch(t.label){case 0:return[4,this.getExcelReportSettingsRaw(e)];case 1:return[4,t.sent().value()];case 2:return[2,t.sent()]}}))}))},t.prototype.getRecipientsRaw=function(e){return o(this,void 0,void 0,(function(){var t,i,n;return a(this,(function(r){switch(r.label){case 0:return t={},i={},[4,this.request({path:"/api/v1/report/recipients",method:"GET",headers:i,query:t},e)];case 1:return n=r.sent(),[2,new s.JSONApiResponse(n,(function(e){return e.map(l.WeeklyReportEmailFromJSON)}))]}}))}))},t.prototype.getRecipients=function(e){return o(this,void 0,void 0,(function(){return a(this,(function(t){switch(t.label){case 0:return[4,this.getRecipientsRaw(e)];case 1:return[4,t.sent().value()];case 2:return[2,t.sent()]}}))}))},t.prototype.upsertReportSettingRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.reportSetting||void 0===e.reportSetting)throw new s.RequiredError("reportSetting","Required parameter requestParameters.reportSetting was null or undefined when calling upsertReportSetting.");return i={},(n={})["Content-Type"]="application/json",[4,this.request({path:"/api/v1/report/excel/reportSettings",method:"POST",headers:n,query:i,body:(0,l.ReportSettingToJSON)(e.reportSetting)},t)];case 1:return r=o.sent(),[2,new s.TextApiResponse(r)]}}))}))},t.prototype.upsertReportSetting=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.upsertReportSettingRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t}(s.BaseAPI);t.ReportingServiceControllerApi=u},307:function(e,t,i){var n,r=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function i(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}),o=this&&this.__awaiter||function(e,t,i,n){return new(i||(i=Promise))((function(r,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var i,n,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(i)throw new TypeError("Generator is already executing.");for(;a;)try{if(i=1,n&&(r=2&o[0]?n.return:o[0]?n.throw||((r=n.return)&&r.call(n),0):n.next)&&!(r=r.call(n,o[1])).done)return r;switch(n=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],n=0}finally{i=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.ResponseTemplateControllerApi=void 0;var s=i(296),l=i(4584),u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.resolveBatchRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.resolveScriptsRequest||void 0===e.resolveScriptsRequest)throw new s.RequiredError("resolveScriptsRequest","Required parameter requestParameters.resolveScriptsRequest was null or undefined when calling resolveBatch.");return i={},(n={})["Content-Type"]="application/json",[4,this.request({path:"/renterApi/v1/responseTemplates/resolve",method:"POST",headers:n,query:i,body:(0,l.ResolveScriptsRequestToJSON)(e.resolveScriptsRequest)},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return e.map(l.ScriptFromJSON)}))]}}))}))},t.prototype.resolveBatch=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.resolveBatchRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t}(s.BaseAPI);t.ResponseTemplateControllerApi=u},4968:function(e,t,i){var n,r=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function i(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}),o=this&&this.__awaiter||function(e,t,i,n){return new(i||(i=Promise))((function(r,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var i,n,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(i)throw new TypeError("Generator is already executing.");for(;a;)try{if(i=1,n&&(r=2&o[0]?n.return:o[0]?n.throw||((r=n.return)&&r.call(n),0):n.next)&&!(r=r.call(n,o[1])).done)return r;switch(n=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],n=0}finally{i=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.Update2ScriptTypeEnum=t.GetScriptTypeEnum=t.DeleteScriptTypeEnum=t.ScriptsApiControllerApi=void 0;var s,l,u,d=i(296),c=i(4584),p=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype._deleteRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.id||void 0===e.id)throw new d.RequiredError("id","Required parameter requestParameters.id was null or undefined when calling _delete.");if(null===e.scriptType||void 0===e.scriptType)throw new d.RequiredError("scriptType","Required parameter requestParameters.scriptType was null or undefined when calling _delete.");return i={},n={},[4,this.request({path:"/api/v1/scripts/{id}/type/{scriptType}".replace("{".concat("id","}"),encodeURIComponent(String(e.id))).replace("{".concat("scriptType","}"),encodeURIComponent(String(e.scriptType))),method:"DELETE",headers:n,query:i},t)];case 1:return r=o.sent(),[2,new d.JSONApiResponse(r,(function(e){return(0,c.ScriptFromJSON)(e)}))]}}))}))},t.prototype._delete=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this._deleteRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t.prototype.createRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.createScriptRequest||void 0===e.createScriptRequest)throw new d.RequiredError("createScriptRequest","Required parameter requestParameters.createScriptRequest was null or undefined when calling create.");return i={},(n={})["Content-Type"]="application/json",[4,this.request({path:"/api/v1/scripts/",method:"POST",headers:n,query:i,body:(0,c.CreateScriptRequestToJSON)(e.createScriptRequest)},t)];case 1:return r=o.sent(),[2,new d.JSONApiResponse(r,(function(e){return(0,c.ScriptFromJSON)(e)}))]}}))}))},t.prototype.create=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.createRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t.prototype.getRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.id||void 0===e.id)throw new d.RequiredError("id","Required parameter requestParameters.id was null or undefined when calling get.");if(null===e.scriptType||void 0===e.scriptType)throw new d.RequiredError("scriptType","Required parameter requestParameters.scriptType was null or undefined when calling get.");return i={},n={},[4,this.request({path:"/api/v1/scripts/{id}/type/{scriptType}".replace("{".concat("id","}"),encodeURIComponent(String(e.id))).replace("{".concat("scriptType","}"),encodeURIComponent(String(e.scriptType))),method:"GET",headers:n,query:i},t)];case 1:return r=o.sent(),[2,new d.JSONApiResponse(r,(function(e){return(0,c.ScriptFromJSON)(e)}))]}}))}))},t.prototype.get=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.getRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t.prototype.get1Raw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.query||void 0===e.query)throw new d.RequiredError("query","Required parameter requestParameters.query was null or undefined when calling get1.");return i={},void 0!==e.query&&(i.query=e.query),n={},[4,this.request({path:"/api/v1/scripts/search",method:"GET",headers:n,query:i},t)];case 1:return r=o.sent(),[2,new d.JSONApiResponse(r,(function(e){return(0,c.ScriptSearchResultFromJSON)(e)}))]}}))}))},t.prototype.get1=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.get1Raw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t.prototype.update2Raw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.id||void 0===e.id)throw new d.RequiredError("id","Required parameter requestParameters.id was null or undefined when calling update2.");if(null===e.scriptType||void 0===e.scriptType)throw new d.RequiredError("scriptType","Required parameter requestParameters.scriptType was null or undefined when calling update2.");if(null===e.updateScriptRequest||void 0===e.updateScriptRequest)throw new d.RequiredError("updateScriptRequest","Required parameter requestParameters.updateScriptRequest was null or undefined when calling update2.");return i={},(n={})["Content-Type"]="application/json",[4,this.request({path:"/api/v1/scripts/{id}/type/{scriptType}".replace("{".concat("id","}"),encodeURIComponent(String(e.id))).replace("{".concat("scriptType","}"),encodeURIComponent(String(e.scriptType))),method:"PUT",headers:n,query:i,body:(0,c.UpdateScriptRequestToJSON)(e.updateScriptRequest)},t)];case 1:return r=o.sent(),[2,new d.JSONApiResponse(r,(function(e){return(0,c.ScriptFromJSON)(e)}))]}}))}))},t.prototype.update2=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.update2Raw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t}(d.BaseAPI);t.ScriptsApiControllerApi=p,(u=t.DeleteScriptTypeEnum||(t.DeleteScriptTypeEnum={})).All="ALL",u.Template="TEMPLATE",u.TemplateItem="TEMPLATE_ITEM",(l=t.GetScriptTypeEnum||(t.GetScriptTypeEnum={})).All="ALL",l.Template="TEMPLATE",l.TemplateItem="TEMPLATE_ITEM",(s=t.Update2ScriptTypeEnum||(t.Update2ScriptTypeEnum={})).All="ALL",s.Template="TEMPLATE",s.TemplateItem="TEMPLATE_ITEM"},2760:function(e,t,i){var n,r=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function i(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}),o=this&&this.__awaiter||function(e,t,i,n){return new(i||(i=Promise))((function(r,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var i,n,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(i)throw new TypeError("Generator is already executing.");for(;a;)try{if(i=1,n&&(r=2&o[0]?n.return:o[0]?n.throw||((r=n.return)&&r.call(n),0):n.next)&&!(r=r.call(n,o[1])).done)return r;switch(n=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],n=0}finally{i=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.TaggingControllerApi=void 0;var s=i(296),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.getAttributesRaw=function(e){return o(this,void 0,void 0,(function(){var t,i,n;return a(this,(function(r){switch(r.label){case 0:return t={},i={},[4,this.request({path:"/api/v1/tagging/attributes",method:"GET",headers:i,query:t},e)];case 1:return n=r.sent(),[2,new s.TextApiResponse(n)]}}))}))},t.prototype.getAttributes=function(e){return o(this,void 0,void 0,(function(){return a(this,(function(t){switch(t.label){case 0:return[4,this.getAttributesRaw(e)];case 1:return[4,t.sent().value()];case 2:return[2,t.sent()]}}))}))},t.prototype.getIntentsRaw=function(e){return o(this,void 0,void 0,(function(){var t,i,n;return a(this,(function(r){switch(r.label){case 0:return t={},i={},[4,this.request({path:"/api/v1/tagging/intents",method:"GET",headers:i,query:t},e)];case 1:return n=r.sent(),[2,new s.TextApiResponse(n)]}}))}))},t.prototype.getIntents=function(e){return o(this,void 0,void 0,(function(){return a(this,(function(t){switch(t.label){case 0:return[4,this.getIntentsRaw(e)];case 1:return[4,t.sent().value()];case 2:return[2,t.sent()]}}))}))},t.prototype.getNextStateRaw=function(e){return o(this,void 0,void 0,(function(){var t,i,n;return a(this,(function(r){switch(r.label){case 0:return t={},i={},[4,this.request({path:"/api/v1/tagging",method:"GET",headers:i,query:t},e)];case 1:return n=r.sent(),[2,new s.TextApiResponse(n)]}}))}))},t.prototype.getNextState=function(e){return o(this,void 0,void 0,(function(){return a(this,(function(t){switch(t.label){case 0:return[4,this.getNextStateRaw(e)];case 1:return[4,t.sent().value()];case 2:return[2,t.sent()]}}))}))},t.prototype.replaceRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:return i={},(n={})["Content-Type"]="application/json",[4,this.request({path:"/api/v1/tagging",method:"POST",headers:n,query:i,body:e.body},t)];case 1:return r=o.sent(),[2,new s.TextApiResponse(r)]}}))}))},t.prototype.replace=function(e,t){return void 0===e&&(e={}),o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.replaceRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t}(s.BaseAPI);t.TaggingControllerApi=l},8497:function(e,t,i){var n,r=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function i(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}),o=this&&this.__awaiter||function(e,t,i,n){return new(i||(i=Promise))((function(r,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var i,n,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(i)throw new TypeError("Generator is already executing.");for(;a;)try{if(i=1,n&&(r=2&o[0]?n.return:o[0]?n.throw||((r=n.return)&&r.call(n),0):n.next)&&!(r=r.call(n,o[1])).done)return r;switch(n=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],n=0}finally{i=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.TaggingS3ControllerApi=void 0;var s=i(296),l=i(4584),u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.uploadRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.tagId||void 0===e.tagId)throw new s.RequiredError("tagId","Required parameter requestParameters.tagId was null or undefined when calling upload.");if(null===e.aitId||void 0===e.aitId)throw new s.RequiredError("aitId","Required parameter requestParameters.aitId was null or undefined when calling upload.");if(null===e.env||void 0===e.env)throw new s.RequiredError("env","Required parameter requestParameters.env was null or undefined when calling upload.");return i={},void 0!==e.tagId&&(i.tag_id=e.tagId),void 0!==e.aitId&&(i.ait_id=e.aitId),void 0!==e.env&&(i.env=e.env),(n={})["Content-Type"]="application/json",[4,this.request({path:"/api/taggingS3/uploadState",method:"POST",headers:n,query:i,body:(0,l.InlineObject3ToJSON)(e.inlineObject3)},t)];case 1:return r=o.sent(),[2,new s.TextApiResponse(r)]}}))}))},t.prototype.upload=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.uploadRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t}(s.BaseAPI);t.TaggingS3ControllerApi=u},1270:function(e,t,i){var n,r=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function i(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}),o=this&&this.__awaiter||function(e,t,i,n){return new(i||(i=Promise))((function(r,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var i,n,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(i)throw new TypeError("Generator is already executing.");for(;a;)try{if(i=1,n&&(r=2&o[0]?n.return:o[0]?n.throw||((r=n.return)&&r.call(n),0):n.next)&&!(r=r.call(n,o[1])).done)return r;switch(n=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],n=0}finally{i=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.UnsubscribeControllerApi=void 0;var s=i(296),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.unsubscribeFromThreadRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.msgId||void 0===e.msgId)throw new s.RequiredError("msgId","Required parameter requestParameters.msgId was null or undefined when calling unsubscribeFromThread.");if(null===e.agtId||void 0===e.agtId)throw new s.RequiredError("agtId","Required parameter requestParameters.agtId was null or undefined when calling unsubscribeFromThread.");return i={},void 0!==e.msgId&&(i.msgId=e.msgId),void 0!==e.agtId&&(i.agtId=e.agtId),n={},[4,this.request({path:"/api/pub/unsubscribe",method:"POST",headers:n,query:i},t)];case 1:return r=o.sent(),[2,new s.VoidApiResponse(r)]}}))}))},t.prototype.unsubscribeFromThread=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.unsubscribeFromThreadRaw(e,t)];case 1:return i.sent(),[2]}}))}))},t}(s.BaseAPI);t.UnsubscribeControllerApi=l},6324:function(e,t,i){var n,r=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function i(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}),o=this&&this.__awaiter||function(e,t,i,n){return new(i||(i=Promise))((function(r,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var i,n,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(i)throw new TypeError("Generator is already executing.");for(;a;)try{if(i=1,n&&(r=2&o[0]?n.return:o[0]?n.throw||((r=n.return)&&r.call(n),0):n.next)&&!(r=r.call(n,o[1])).done)return r;switch(n=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],n=0}finally{i=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.UserApiControllerApi=void 0;var s=i(296),l=i(4584),u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.getAllRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:return i={},void 0!==e.active&&(i.active=e.active),n={},[4,this.request({path:"/api/v1/user/",method:"GET",headers:n,query:i},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return e.map(l.XagacityUserFromJSON)}))]}}))}))},t.prototype.getAll=function(e,t){return void 0===e&&(e={}),o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.getAllRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t.prototype.getOne1Raw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.id||void 0===e.id)throw new s.RequiredError("id","Required parameter requestParameters.id was null or undefined when calling getOne1.");return i={},n={},[4,this.request({path:"/api/v1/user/{id}".replace("{".concat("id","}"),encodeURIComponent(String(e.id))),method:"GET",headers:n,query:i},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return(0,l.XagacityUserFromJSON)(e)}))]}}))}))},t.prototype.getOne1=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.getOne1Raw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t.prototype.update1Raw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.id||void 0===e.id)throw new s.RequiredError("id","Required parameter requestParameters.id was null or undefined when calling update1.");if(null===e.xagacityUser||void 0===e.xagacityUser)throw new s.RequiredError("xagacityUser","Required parameter requestParameters.xagacityUser was null or undefined when calling update1.");return i={},(n={})["Content-Type"]="application/json",[4,this.request({path:"/api/v1/user/{id}".replace("{".concat("id","}"),encodeURIComponent(String(e.id))),method:"PUT",headers:n,query:i,body:(0,l.XagacityUserToJSON)(e.xagacityUser)},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return(0,l.XagacityUserFromJSON)(e)}))]}}))}))},t.prototype.update1=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.update1Raw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t}(s.BaseAPI);t.UserApiControllerApi=u},8878:function(e,t,i){var n,r=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function i(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}),o=this&&this.__awaiter||function(e,t,i,n){return new(i||(i=Promise))((function(r,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var i,n,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(i)throw new TypeError("Generator is already executing.");for(;a;)try{if(i=1,n&&(r=2&o[0]?n.return:o[0]?n.throw||((r=n.return)&&r.call(n),0):n.next)&&!(r=r.call(n,o[1])).done)return r;switch(n=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],n=0}finally{i=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.V2BuildingControllerApi=void 0;var s=i(296),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.putChatThemeV2Raw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r,o,l,u;return a(this,(function(a){switch(a.label){case 0:if(null===e.id||void 0===e.id)throw new s.RequiredError("id","Required parameter requestParameters.id was null or undefined when calling putChatThemeV2.");if(null===e.themeId||void 0===e.themeId)throw new s.RequiredError("themeId","Required parameter requestParameters.themeId was null or undefined when calling putChatThemeV2.");if(null===e.subtitle||void 0===e.subtitle)throw new s.RequiredError("subtitle","Required parameter requestParameters.subtitle was null or undefined when calling putChatThemeV2.");if(null===e.avatarType||void 0===e.avatarType)throw new s.RequiredError("avatarType","Required parameter requestParameters.avatarType was null or undefined when calling putChatThemeV2.");return i={},void 0!==e.themeId&&(i.themeId=e.themeId),void 0!==e.subtitle&&(i.subtitle=e.subtitle),void 0!==e.avatarType&&(i.avatarType=e.avatarType),n={},r=[{contentType:"multipart/form-data"}],o=s.canConsumeForm(r),l=o?new FormData:new URLSearchParams,void 0!==e.avatarSrc&&l.append("avatarSrc",e.avatarSrc),[4,this.request({path:"/api/v2/building/{id}/chat-theme".replace("{".concat("id","}"),encodeURIComponent(String(e.id))),method:"POST",headers:n,query:i,body:l},t)];case 1:return u=a.sent(),[2,new s.VoidApiResponse(u)]}}))}))},t.prototype.putChatThemeV2=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.putChatThemeV2Raw(e,t)];case 1:return i.sent(),[2]}}))}))},t}(s.BaseAPI);t.V2BuildingControllerApi=l},5438:function(e,t,i){var n,r=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function i(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}),o=this&&this.__awaiter||function(e,t,i,n){return new(i||(i=Promise))((function(r,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var i,n,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(i)throw new TypeError("Generator is already executing.");for(;a;)try{if(i=1,n&&(r=2&o[0]?n.return:o[0]?n.throw||((r=n.return)&&r.call(n),0):n.next)&&!(r=r.call(n,o[1])).done)return r;switch(n=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],n=0}finally{i=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.V2OracleControllerApi=void 0;var s=i(296),l=i(4584),u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.getUnitAvailabilitiesRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.getUnitAvailabilitiesRequest||void 0===e.getUnitAvailabilitiesRequest)throw new s.RequiredError("getUnitAvailabilitiesRequest","Required parameter requestParameters.getUnitAvailabilitiesRequest was null or undefined when calling getUnitAvailabilities.");return i={},(n={})["Content-Type"]="application/json",[4,this.request({path:"/renterApi/v1/oracleHelper/getUnitAvailabilityDialogue",method:"POST",headers:n,query:i,body:(0,l.GetUnitAvailabilitiesRequestToJSON)(e.getUnitAvailabilitiesRequest)},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return(0,l.GetUnitAvailabilitiesResponseFromJSON)(e)}))]}}))}))},t.prototype.getUnitAvailabilities=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.getUnitAvailabilitiesRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t.prototype.getUnitAvailabilitiesForEntityRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.getUnitAvailabilitiesRequest2||void 0===e.getUnitAvailabilitiesRequest2)throw new s.RequiredError("getUnitAvailabilitiesRequest2","Required parameter requestParameters.getUnitAvailabilitiesRequest2 was null or undefined when calling getUnitAvailabilitiesForEntity.");return i={},(n={})["Content-Type"]="application/json",[4,this.request({path:"/renterApi/v1/oracleHelper/getUnitAvailabilityDialogueForEntity",method:"POST",headers:n,query:i,body:(0,l.GetUnitAvailabilitiesRequest2ToJSON)(e.getUnitAvailabilitiesRequest2)},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return(0,l.GetUnitAvailabilitiesResponseFromJSON)(e)}))]}}))}))},t.prototype.getUnitAvailabilitiesForEntity=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.getUnitAvailabilitiesForEntityRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t}(s.BaseAPI);t.V2OracleControllerApi=u},917:function(e,t,i){var n,r=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function i(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}),o=this&&this.__awaiter||function(e,t,i,n){return new(i||(i=Promise))((function(r,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var i,n,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(i)throw new TypeError("Generator is already executing.");for(;a;)try{if(i=1,n&&(r=2&o[0]?n.return:o[0]?n.throw||((r=n.return)&&r.call(n),0):n.next)&&!(r=r.call(n,o[1])).done)return r;switch(n=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],n=0}finally{i=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.ValidateCredentialsControllerApi=void 0;var s=i(296),l=i(4584),u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.validateCredentialsRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.validateCredentialsRequest||void 0===e.validateCredentialsRequest)throw new s.RequiredError("validateCredentialsRequest","Required parameter requestParameters.validateCredentialsRequest was null or undefined when calling validateCredentials.");return i={},(n={})["Content-Type"]="application/json",[4,this.request({path:"/api/v1/validatecredentials",method:"POST",headers:n,query:i,body:(0,l.ValidateCredentialsRequestToJSON)(e.validateCredentialsRequest)},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return(0,l.ValidateCredentialsResponseFromJSON)(e)}))]}}))}))},t.prototype.validateCredentials=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.validateCredentialsRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t}(s.BaseAPI);t.ValidateCredentialsControllerApi=u},656:function(e,t,i){var n,r=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function i(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}),o=this&&this.__awaiter||function(e,t,i,n){return new(i||(i=Promise))((function(r,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var i,n,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(i)throw new TypeError("Generator is already executing.");for(;a;)try{if(i=1,n&&(r=2&o[0]?n.return:o[0]?n.throw||((r=n.return)&&r.call(n),0):n.next)&&!(r=r.call(n,o[1])).done)return r;switch(n=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],n=0}finally{i=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.GetAdditionalInfoForConfigStepNameEnum=t.WhiteListingControllerApi=void 0;var s,l=i(296),u=i(4584),d=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.continueConfigWithIdRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.configId||void 0===e.configId)throw new l.RequiredError("configId","Required parameter requestParameters.configId was null or undefined when calling continueConfigWithId.");return i={},n={},[4,this.request({path:"/api/v1/whitelisting/continueConfigWithId/{configId}".replace("{".concat("configId","}"),encodeURIComponent(String(e.configId))),method:"GET",headers:n,query:i},t)];case 1:return r=o.sent(),[2,new l.JSONApiResponse(r,(function(e){return(0,u.WhiteListingExecutionResultFromJSON)(e)}))]}}))}))},t.prototype.continueConfigWithId=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.continueConfigWithIdRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t.prototype.continueInProgressRaw=function(e){return o(this,void 0,void 0,(function(){var t,i,n;return a(this,(function(r){switch(r.label){case 0:return t={},i={},[4,this.request({path:"/api/v1/whitelisting/continueInProgress",method:"GET",headers:i,query:t},e)];case 1:return n=r.sent(),[2,new l.TextApiResponse(n)]}}))}))},t.prototype.continueInProgress=function(e){return o(this,void 0,void 0,(function(){return a(this,(function(t){switch(t.label){case 0:return[4,this.continueInProgressRaw(e)];case 1:return[4,t.sent().value()];case 2:return[2,t.sent()]}}))}))},t.prototype.getAdditionalInfoForConfigRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.configId||void 0===e.configId)throw new l.RequiredError("configId","Required parameter requestParameters.configId was null or undefined when calling getAdditionalInfoForConfig.");if(null===e.stepName||void 0===e.stepName)throw new l.RequiredError("stepName","Required parameter requestParameters.stepName was null or undefined when calling getAdditionalInfoForConfig.");return i={},n={},[4,this.request({path:"/api/v1/whitelisting/run_step/{configId}/{stepName}".replace("{".concat("configId","}"),encodeURIComponent(String(e.configId))).replace("{".concat("stepName","}"),encodeURIComponent(String(e.stepName))),method:"POST",headers:n,query:i},t)];case 1:return r=o.sent(),[2,new l.TextApiResponse(r)]}}))}))},t.prototype.getAdditionalInfoForConfig=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.getAdditionalInfoForConfigRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t.prototype.getAdditionalInfoForConfig1Raw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.createWhitelistConfigRequest||void 0===e.createWhitelistConfigRequest)throw new l.RequiredError("createWhitelistConfigRequest","Required parameter requestParameters.createWhitelistConfigRequest was null or undefined when calling getAdditionalInfoForConfig1.");return i={},(n={})["Content-Type"]="application/json",[4,this.request({path:"/api/v1/whitelisting/createConfig",method:"POST",headers:n,query:i,body:(0,u.CreateWhitelistConfigRequestToJSON)(e.createWhitelistConfigRequest)},t)];case 1:return r=o.sent(),[2,new l.JSONApiResponse(r,(function(e){return(0,u.WhiteListConfigFromJSON)(e)}))]}}))}))},t.prototype.getAdditionalInfoForConfig1=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.getAdditionalInfoForConfig1Raw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t.prototype.getAdditionalInfoForConfig2Raw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.configId||void 0===e.configId)throw new l.RequiredError("configId","Required parameter requestParameters.configId was null or undefined when calling getAdditionalInfoForConfig2.");return i={},n={},[4,this.request({path:"/api/v1/whitelisting/additionalInfo/{configId}".replace("{".concat("configId","}"),encodeURIComponent(String(e.configId))),method:"GET",headers:n,query:i},t)];case 1:return r=o.sent(),[2,new l.JSONApiResponse(r,(function(e){return(0,u.WhiteListingAdditionalInfoFromJSON)(e)}))]}}))}))},t.prototype.getAdditionalInfoForConfig2=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.getAdditionalInfoForConfig2Raw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t.prototype.getViewModelsForBuildingsRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.getWhiteListTestsForBuildingsRequest||void 0===e.getWhiteListTestsForBuildingsRequest)throw new l.RequiredError("getWhiteListTestsForBuildingsRequest","Required parameter requestParameters.getWhiteListTestsForBuildingsRequest was null or undefined when calling getViewModelsForBuildings.");return i={},(n={})["Content-Type"]="application/json",[4,this.request({path:"/api/v1/whitelisting/getViewModelsForBuildings",method:"POST",headers:n,query:i,body:(0,u.GetWhiteListTestsForBuildingsRequestToJSON)(e.getWhiteListTestsForBuildingsRequest)},t)];case 1:return r=o.sent(),[2,new l.JSONApiResponse(r,(function(e){return e.map(u.WhiteListTestDtoFromJSON)}))]}}))}))},t.prototype.getViewModelsForBuildings=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.getViewModelsForBuildingsRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t.prototype.initializeWhitelistingRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.initializeWhiteListingConfigRequest||void 0===e.initializeWhiteListingConfigRequest)throw new l.RequiredError("initializeWhiteListingConfigRequest","Required parameter requestParameters.initializeWhiteListingConfigRequest was null or undefined when calling initializeWhitelisting.");return i={},(n={})["Content-Type"]="application/json",[4,this.request({path:"/api/v1/whitelisting/initialize",method:"POST",headers:n,query:i,body:(0,u.InitializeWhiteListingConfigRequestToJSON)(e.initializeWhiteListingConfigRequest)},t)];case 1:return r=o.sent(),[2,new l.JSONApiResponse(r,(function(e){return(0,u.WhiteListingExecutionResultFromJSON)(e)}))]}}))}))},t.prototype.initializeWhitelisting=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.initializeWhitelistingRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t}(l.BaseAPI);t.WhiteListingControllerApi=d,(s=t.GetAdditionalInfoForConfigStepNameEnum||(t.GetAdditionalInfoForConfigStepNameEnum={})).Initiated="INITIATED",s.ConfigureSettings="CONFIGURE_SETTINGS",s.TimeZoneVerification="TIME_ZONE_VERIFICATION",s.ConfirmAndOrFixApiVersion="CONFIRM_AND_OR_FIX_API_VERSION",s.ActivateBuildingAutoSend="ACTIVATE_BUILDING_AUTO_SEND",s.AddAitsToBuilding="ADD_AITS_TO_BUILDING",s.RerunAvailabilities="RERUN_AVAILABILITIES",s.InsertGuestCard="INSERT_GUEST_CARD",s.InitialEmailReceived="INITIAL_EMAIL_RECEIVED",s.RequestTourDayEmailSent="REQUEST_TOUR_DAY_EMAIL_SENT",s.AiSentTimeSuggestion="AI_SENT_TIME_SUGGESTION",s.AcceptTourTimeEmailSent="ACCEPT_TOUR_TIME_EMAIL_SENT",s.AppointmentScheduled="APPOINTMENT_SCHEDULED",s.AppointmentOnGuestCard="APPOINTMENT_ON_GUEST_CARD",s.RequestCancelTour="REQUEST_CANCEL_TOUR",s.AppointmentCanceled="APPOINTMENT_CANCELED",s.AppointmentRemovedFromGuestCard="APPOINTMENT_REMOVED_FROM_GUEST_CARD"},1827:function(e,t,i){var n,r=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function i(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}),o=this&&this.__awaiter||function(e,t,i,n){return new(i||(i=Promise))((function(r,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var i,n,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(i)throw new TypeError("Generator is already executing.");for(;a;)try{if(i=1,n&&(r=2&o[0]?n.return:o[0]?n.throw||((r=n.return)&&r.call(n),0):n.next)&&!(r=r.call(n,o[1])).done)return r;switch(n=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],n=0}finally{i=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.XagacityUserControllerApi=void 0;var s=i(296),l=i(4584),u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.getOneRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.id||void 0===e.id)throw new s.RequiredError("id","Required parameter requestParameters.id was null or undefined when calling getOne.");return i={},n={},[4,this.request({path:"/api/v2/user/{id}".replace("{".concat("id","}"),encodeURIComponent(String(e.id))),method:"GET",headers:n,query:i},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return(0,l.XagacityUserWithCredentialsFromJSON)(e)}))]}}))}))},t.prototype.getOne=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.getOneRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t.prototype.updateRaw=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.id||void 0===e.id)throw new s.RequiredError("id","Required parameter requestParameters.id was null or undefined when calling update.");if(null===e.xagacityUserWithCredentials||void 0===e.xagacityUserWithCredentials)throw new s.RequiredError("xagacityUserWithCredentials","Required parameter requestParameters.xagacityUserWithCredentials was null or undefined when calling update.");return i={},(n={})["Content-Type"]="application/json",[4,this.request({path:"/api/v2/user/{id}".replace("{".concat("id","}"),encodeURIComponent(String(e.id))),method:"PUT",headers:n,query:i,body:(0,l.XagacityUserWithCredentialsToJSON)(e.xagacityUserWithCredentials)},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return(0,l.XagacityUserWithCredentialsFromJSON)(e)}))]}}))}))},t.prototype.update=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(i){switch(i.label){case 0:return[4,this.updateRaw(e,t)];case 1:return[4,i.sent().value()];case 2:return[2,i.sent()]}}))}))},t}(s.BaseAPI);t.XagacityUserControllerApi=u},8887:function(e,t,i){var n=this&&this.__createBinding||(Object.create?function(e,t,i,n){void 0===n&&(n=i);var r=Object.getOwnPropertyDescriptor(t,i);r&&!("get"in r?!t.__esModule:r.writable||r.configurable)||(r={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,n,r)}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]}),r=this&&this.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||n(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),r(i(8005),t),r(i(2497),t),r(i(8730),t),r(i(9530),t),r(i(8823),t),r(i(4100),t),r(i(1210),t),r(i(3515),t),r(i(5855),t),r(i(4345),t),r(i(2938),t),r(i(5021),t),r(i(9962),t),r(i(8196),t),r(i(5282),t),r(i(4702),t),r(i(683),t),r(i(5977),t),r(i(8242),t),r(i(9714),t),r(i(7659),t),r(i(2311),t),r(i(5827),t),r(i(5334),t),r(i(7043),t),r(i(1092),t),r(i(535),t),r(i(4071),t),r(i(5834),t),r(i(4797),t),r(i(9925),t),r(i(9412),t),r(i(7411),t),r(i(1562),t),r(i(3195),t),r(i(3978),t),r(i(7282),t),r(i(307),t),r(i(4968),t),r(i(2760),t),r(i(8497),t),r(i(1270),t),r(i(6324),t),r(i(8878),t),r(i(5438),t),r(i(917),t),r(i(656),t),r(i(1827),t)},9991:function(e,t,i){var n=this&&this.__createBinding||(Object.create?function(e,t,i,n){void 0===n&&(n=i);var r=Object.getOwnPropertyDescriptor(t,i);r&&!("get"in r?!t.__esModule:r.writable||r.configurable)||(r={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,n,r)}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]}),r=this&&this.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||n(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),r(i(296),t),r(i(8887),t),r(i(4584),t)},6662:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.AdditionalSourceConfiguarionsToJSON=t.AdditionalSourceConfiguarionsFromJSONTyped=t.AdditionalSourceConfiguarionsFromJSON=void 0;var n=i(296);function r(e,t){return null==e?e:{availabilitiesType:(0,n.exists)(e,"availabilitiesType")?e.availabilitiesType:void 0,fieldsToBeEnriched:(0,n.exists)(e,"fieldsToBeEnriched")?e.fieldsToBeEnriched:void 0}}t.AdditionalSourceConfiguarionsFromJSON=function(e){return r(e)},t.AdditionalSourceConfiguarionsFromJSONTyped=r,t.AdditionalSourceConfiguarionsToJSON=function(e){if(void 0!==e)return null===e?null:{availabilitiesType:e.availabilitiesType,fieldsToBeEnriched:e.fieldsToBeEnriched}}},1961:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.AiAssistantStubInfoToJSON=t.AiAssistantStubInfoFromJSONTyped=t.AiAssistantStubInfoFromJSON=void 0;var n=i(296);function r(e,t){return null==e?e:{id:e.id,buildingId:e.buildingId,crmType:e.crmType,email:(0,n.exists)(e,"email")?e.email:void 0,firstName:(0,n.exists)(e,"firstName")?e.firstName:void 0,lastName:(0,n.exists)(e,"lastName")?e.lastName:void 0}}t.AiAssistantStubInfoFromJSON=function(e){return r(e)},t.AiAssistantStubInfoFromJSONTyped=r,t.AiAssistantStubInfoToJSON=function(e){if(void 0!==e)return null===e?null:{id:e.id,buildingId:e.buildingId,crmType:e.crmType,email:e.email,firstName:e.firstName,lastName:e.lastName}}},818:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.AlertQueueInfoToJSON=t.AlertQueueInfoFromJSONTyped=t.AlertQueueInfoFromJSON=t.AlertQueueInfoConversationTypeEnum=void 0;var n,r=i(296);function o(e,t){return null==e?e:{firstName:(0,r.exists)(e,"firstName")?e.firstName:void 0,lastName:(0,r.exists)(e,"lastName")?e.lastName:void 0,email:(0,r.exists)(e,"email")?e.email:void 0,phoneNumber:(0,r.exists)(e,"phoneNumber")?e.phoneNumber:void 0,handoffStatus:(0,r.exists)(e,"handoffStatus")?e.handoffStatus:void 0,dateUpdated:(0,r.exists)(e,"dateUpdated")?new Date(e.dateUpdated):void 0,conversationType:(0,r.exists)(e,"conversationType")?e.conversationType:void 0,alertType:(0,r.exists)(e,"alertType")?e.alertType:void 0,contextId:(0,r.exists)(e,"contextId")?e.contextId:void 0,conversationKey:(0,r.exists)(e,"conversationKey")?e.conversationKey:void 0,failureReason:(0,r.exists)(e,"failureReason")?e.failureReason:void 0}}(n=t.AlertQueueInfoConversationTypeEnum||(t.AlertQueueInfoConversationTypeEnum={})).Email="EMAIL",n.Phone="PHONE",t.AlertQueueInfoFromJSON=function(e){return o(e)},t.AlertQueueInfoFromJSONTyped=o,t.AlertQueueInfoToJSON=function(e){if(void 0!==e)return null===e?null:{firstName:e.firstName,lastName:e.lastName,email:e.email,phoneNumber:e.phoneNumber,handoffStatus:e.handoffStatus,dateUpdated:void 0===e.dateUpdated?void 0:e.dateUpdated.toISOString(),conversationType:e.conversationType,alertType:e.alertType,contextId:e.contextId,conversationKey:e.conversationKey,failureReason:e.failureReason}}},6140:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.AlertQueueMessageToJSON=t.AlertQueueMessageFromJSONTyped=t.AlertQueueMessageFromJSON=void 0;var n=i(296);function r(e,t){return null==e?e:{sender:(0,n.exists)(e,"sender")?e.sender:void 0,message:(0,n.exists)(e,"message")?e.message:void 0,timeSent:(0,n.exists)(e,"timeSent")?new Date(e.timeSent):void 0,sentByElise:(0,n.exists)(e,"sentByElise")?e.sentByElise:void 0}}t.AlertQueueMessageFromJSON=function(e){return r(e)},t.AlertQueueMessageFromJSONTyped=r,t.AlertQueueMessageToJSON=function(e){if(void 0!==e)return null===e?null:{sender:e.sender,message:e.message,timeSent:void 0===e.timeSent?void 0:e.timeSent.toISOString(),sentByElise:e.sentByElise}}},5246:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.AlternativeGeoAddressToJSON=t.AlternativeGeoAddressFromJSONTyped=t.AlternativeGeoAddressFromJSON=void 0;var n=i(296);function r(e,t){return null==e?e:{alternativeIlsAdress:(0,n.exists)(e,"alternativeIlsAdress")?e.alternativeIlsAdress:void 0,alternativeIlsAddressGeoFormat:(0,n.exists)(e,"alternativeIlsAddressGeoFormat")?e.alternativeIlsAddressGeoFormat:void 0}}t.AlternativeGeoAddressFromJSON=function(e){return r(e)},t.AlternativeGeoAddressFromJSONTyped=r,t.AlternativeGeoAddressToJSON=function(e){if(void 0!==e)return null===e?null:{alternativeIlsAdress:e.alternativeIlsAdress,alternativeIlsAddressGeoFormat:e.alternativeIlsAddressGeoFormat}}},5556:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.AlternativeILSAddressGeoFormatToJSON=t.AlternativeILSAddressGeoFormatFromJSONTyped=t.AlternativeILSAddressGeoFormatFromJSON=void 0;var n=i(296),r=i(5246);function o(e,t){return null==e?e:{alternativeGeoAdresses:(0,n.exists)(e,"alternativeGeoAdresses")?e.alternativeGeoAdresses.map(r.AlternativeGeoAddressFromJSON):void 0}}t.AlternativeILSAddressGeoFormatFromJSON=function(e){return o(e)},t.AlternativeILSAddressGeoFormatFromJSONTyped=o,t.AlternativeILSAddressGeoFormatToJSON=function(e){if(void 0!==e)return null===e?null:{alternativeGeoAdresses:void 0===e.alternativeGeoAdresses?void 0:e.alternativeGeoAdresses.map(r.AlternativeGeoAddressToJSON)}}},7455:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.AnyoneHomeCredentialsToJSON=t.AnyoneHomeCredentialsFromJSONTyped=t.AnyoneHomeCredentialsFromJSON=void 0;var n=i(296);function r(e,t){return null==e?e:{id:(0,n.exists)(e,"id")?e.id:void 0,userId:(0,n.exists)(e,"userId")?e.userId:void 0,domain:(0,n.exists)(e,"domain")?e.domain:void 0,userName:(0,n.exists)(e,"userName")?e.userName:void 0,password:(0,n.exists)(e,"password")?e.password:void 0,apiKey:(0,n.exists)(e,"apiKey")?e.apiKey:void 0,leasingAgentId:(0,n.exists)(e,"leasingAgentId")?e.leasingAgentId:void 0}}t.AnyoneHomeCredentialsFromJSON=function(e){return r(e)},t.AnyoneHomeCredentialsFromJSONTyped=r,t.AnyoneHomeCredentialsToJSON=function(e){if(void 0!==e)return null===e?null:{id:e.id,userId:e.userId,domain:e.domain,userName:e.userName,password:e.password,apiKey:e.apiKey,leasingAgentId:e.leasingAgentId}}},3617:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.AppointmentHoursToJSON=t.AppointmentHoursFromJSONTyped=t.AppointmentHoursFromJSON=void 0;var n=i(296);function r(e,t){return null==e?e:{daysOfWeek:(0,n.exists)(e,"daysOfWeek")?e.daysOfWeek:void 0,startTime:(0,n.exists)(e,"startTime")?e.startTime:void 0,endTime:(0,n.exists)(e,"endTime")?e.endTime:void 0,lastAppointmentStartTime:(0,n.exists)(e,"lastAppointmentStartTime")?e.lastAppointmentStartTime:void 0,lastStartTimeForTheSameDay:(0,n.exists)(e,"lastStartTimeForTheSameDay")?e.lastStartTimeForTheSameDay:void 0,daysOfWeekString:(0,n.exists)(e,"daysOfWeekString")?e.daysOfWeekString:void 0,specialAppointmentDuration:(0,n.exists)(e,"specialAppointmentDuration")?e.specialAppointmentDuration:void 0,maxNumberOfAppointments:(0,n.exists)(e,"maxNumberOfAppointments")?e.maxNumberOfAppointments:void 0,openHouseSpecific:(0,n.exists)(e,"openHouseSpecific")?e.openHouseSpecific:void 0,specificDate:(0,n.exists)(e,"specificDate")?new Date(e.specificDate):void 0}}t.AppointmentHoursFromJSON=function(e){return r(e)},t.AppointmentHoursFromJSONTyped=r,t.AppointmentHoursToJSON=function(e){if(void 0!==e)return null===e?null:{daysOfWeek:e.daysOfWeek,startTime:e.startTime,endTime:e.endTime,lastAppointmentStartTime:e.lastAppointmentStartTime,lastStartTimeForTheSameDay:e.lastStartTimeForTheSameDay,daysOfWeekString:e.daysOfWeekString,specialAppointmentDuration:e.specialAppointmentDuration,maxNumberOfAppointments:e.maxNumberOfAppointments,openHouseSpecific:e.openHouseSpecific,specificDate:void 0===e.specificDate?void 0:e.specificDate.toISOString().substr(0,10)}}},67:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.AssociateLeadRequestDtoToJSON=t.AssociateLeadRequestDtoFromJSONTyped=t.AssociateLeadRequestDtoFromJSON=void 0;var n=i(296);function r(e,t){return null==e?e:{buildingId:(0,n.exists)(e,"buildingId")?e.buildingId:void 0,email:(0,n.exists)(e,"email")?e.email:void 0}}t.AssociateLeadRequestDtoFromJSON=function(e){return r(e)},t.AssociateLeadRequestDtoFromJSONTyped=r,t.AssociateLeadRequestDtoToJSON=function(e){if(void 0!==e)return null===e?null:{buildingId:e.buildingId,email:e.email}}},1234:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.AttachmentToJSON=t.AttachmentFromJSONTyped=t.AttachmentFromJSON=void 0;var n=i(296);function r(e,t){return null==e?e:{emailClientName:(0,n.exists)(e,"emailClientName")?e.emailClientName:void 0,rawData:(0,n.exists)(e,"rawData")?e.rawData:void 0,tempFile:(0,n.exists)(e,"tempFile")?e.tempFile:void 0,amazonKeyName:(0,n.exists)(e,"amazonKeyName")?e.amazonKeyName:void 0,fileType:(0,n.exists)(e,"fileType")?e.fileType:void 0,fileName:(0,n.exists)(e,"fileName")?e.fileName:void 0,fileUrl:(0,n.exists)(e,"fileUrl")?e.fileUrl:void 0,attachmentName:(0,n.exists)(e,"attachmentName")?e.attachmentName:void 0}}t.AttachmentFromJSON=function(e){return r(e)},t.AttachmentFromJSONTyped=r,t.AttachmentToJSON=function(e){if(void 0!==e)return null===e?null:{emailClientName:e.emailClientName,rawData:e.rawData,tempFile:e.tempFile,amazonKeyName:e.amazonKeyName,fileType:e.fileType,fileName:e.fileName,fileUrl:e.fileUrl,attachmentName:e.attachmentName}}},1995:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.AvailabilitiesPreferencesToJSON=t.AvailabilitiesPreferencesFromJSONTyped=t.AvailabilitiesPreferencesFromJSON=void 0;var n=i(296),r=i(6662);function o(e,t){return null==e?e:{timesToRunInCronFormat:(0,n.exists)(e,"timesToRunInCronFormat")?e.timesToRunInCronFormat:void 0,additionalSourceConfigurations:(0,n.exists)(e,"additionalSourceConfigurations")?e.additionalSourceConfigurations.map(r.AdditionalSourceConfiguarionsFromJSON):void 0}}t.AvailabilitiesPreferencesFromJSON=function(e){return o(e)},t.AvailabilitiesPreferencesFromJSONTyped=o,t.AvailabilitiesPreferencesToJSON=function(e){if(void 0!==e)return null===e?null:{timesToRunInCronFormat:e.timesToRunInCronFormat,additionalSourceConfigurations:void 0===e.additionalSourceConfigurations?void 0:e.additionalSourceConfigurations.map(r.AdditionalSourceConfiguarionsToJSON)}}},3618:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.BookTourByStateIdDtoToJSON=t.BookTourByStateIdDtoFromJSONTyped=t.BookTourByStateIdDtoFromJSON=t.BookTourByStateIdDtoTourTypeEnum=void 0;var n,r=i(296);function o(e,t){return null==e?e:{mcId:(0,r.exists)(e,"mcId")?e.mcId:void 0,stateId:(0,r.exists)(e,"stateId")?e.stateId:void 0,buildingId:(0,r.exists)(e,"buildingId")?e.buildingId:void 0,tourType:(0,r.exists)(e,"tourType")?e.tourType:void 0,startTime:(0,r.exists)(e,"startTime")?new Date(e.startTime):void 0,endTime:(0,r.exists)(e,"endTime")?new Date(e.endTime):void 0,useLegacyContext:(0,r.exists)(e,"useLegacyContext")?e.useLegacyContext:void 0,sms:(0,r.exists)(e,"sms")?e.sms:void 0}}(n=t.BookTourByStateIdDtoTourTypeEnum||(t.BookTourByStateIdDtoTourTypeEnum={})).Unknown="UNKNOWN",n.SelfGuided="SELF_GUIDED",n.VirtualShowing="VIRTUAL_SHOWING",n.WithAgent="WITH_AGENT",n.MediaTour="MEDIA_TOUR",t.BookTourByStateIdDtoFromJSON=function(e){return o(e)},t.BookTourByStateIdDtoFromJSONTyped=o,t.BookTourByStateIdDtoToJSON=function(e){if(void 0!==e)return null===e?null:{mcId:e.mcId,stateId:e.stateId,buildingId:e.buildingId,tourType:e.tourType,startTime:void 0===e.startTime?void 0:e.startTime.toISOString(),endTime:void 0===e.endTime?void 0:e.endTime.toISOString(),useLegacyContext:e.useLegacyContext,sms:e.sms}}},2160:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.BookTourDtoToJSON=t.BookTourDtoFromJSONTyped=t.BookTourDtoFromJSON=t.BookTourDtoTourTypeEnum=void 0;var n,r=i(296);function o(e,t){return null==e?e:{contextId:(0,r.exists)(e,"contextId")?e.contextId:void 0,buildingId:(0,r.exists)(e,"buildingId")?e.buildingId:void 0,tourType:(0,r.exists)(e,"tourType")?e.tourType:void 0,startTime:(0,r.exists)(e,"startTime")?new Date(e.startTime):void 0,endTime:(0,r.exists)(e,"endTime")?new Date(e.endTime):void 0}}(n=t.BookTourDtoTourTypeEnum||(t.BookTourDtoTourTypeEnum={})).Unknown="UNKNOWN",n.SelfGuided="SELF_GUIDED",n.VirtualShowing="VIRTUAL_SHOWING",n.WithAgent="WITH_AGENT",n.MediaTour="MEDIA_TOUR",t.BookTourDtoFromJSON=function(e){return o(e)},t.BookTourDtoFromJSONTyped=o,t.BookTourDtoToJSON=function(e){if(void 0!==e)return null===e?null:{contextId:e.contextId,buildingId:e.buildingId,tourType:e.tourType,startTime:void 0===e.startTime?void 0:e.startTime.toISOString(),endTime:void 0===e.endTime?void 0:e.endTime.toISOString()}}},5604:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.BuildingDetailsToJSON=t.BuildingDetailsFromJSONTyped=t.BuildingDetailsFromJSON=t.BuildingDetailsTourNotificationEmailsModeEnum=t.BuildingDetailsTourTypePriorityEnum=t.BuildingDetailsVirtualTourTypeEnum=t.BuildingDetailsLeasingOfficeSetupTypeEnum=void 0;var n,r,o,a,s=i(296),l=i(5556);function u(e,t){return null==e?e:{id:(0,s.exists)(e,"id")?e.id:void 0,managementCompanyId:(0,s.exists)(e,"managementCompanyId")?e.managementCompanyId:void 0,organizationId:(0,s.exists)(e,"organizationId")?e.organizationId:void 0,active:(0,s.exists)(e,"active")?e.active:void 0,handoffForwardToEmails:(0,s.exists)(e,"handoffForwardToEmails")?e.handoffForwardToEmails:void 0,responseCcEmails:(0,s.exists)(e,"responseCcEmails")?e.responseCcEmails:void 0,responseBccEmails:(0,s.exists)(e,"responseBccEmails")?e.responseBccEmails:void 0,associateCalendarId:(0,s.exists)(e,"associateCalendarId")?e.associateCalendarId:void 0,buildingName:(0,s.exists)(e,"buildingName")?e.buildingName:void 0,address1:(0,s.exists)(e,"address1")?e.address1:void 0,address2:(0,s.exists)(e,"address2")?e.address2:void 0,address3:(0,s.exists)(e,"address3")?e.address3:void 0,alternativeILSAddresses:(0,s.exists)(e,"alternativeILSAddresses")?e.alternativeILSAddresses:void 0,city:(0,s.exists)(e,"city")?e.city:void 0,state:(0,s.exists)(e,"state")?e.state:void 0,postalCode:(0,s.exists)(e,"postalCode")?e.postalCode:void 0,crossStreets:(0,s.exists)(e,"crossStreets")?e.crossStreets:void 0,neighborhood:(0,s.exists)(e,"neighborhood")?e.neighborhood:void 0,nearbyTransportation:(0,s.exists)(e,"nearbyTransportation")?e.nearbyTransportation:void 0,buildingOwnership:(0,s.exists)(e,"buildingOwnership")?e.buildingOwnership:void 0,buildingType:(0,s.exists)(e,"buildingType")?e.buildingType:void 0,totalUnits:(0,s.exists)(e,"totalUnits")?e.totalUnits:void 0,totalFloors:(0,s.exists)(e,"totalFloors")?e.totalFloors:void 0,yearBuilt:(0,s.exists)(e,"yearBuilt")?e.yearBuilt:void 0,block:(0,s.exists)(e,"block")?e.block:void 0,lot:(0,s.exists)(e,"lot")?e.lot:void 0,schoolDistrict:(0,s.exists)(e,"schoolDistrict")?e.schoolDistrict:void 0,communityDistrict:(0,s.exists)(e,"communityDistrict")?e.communityDistrict:void 0,newConstruction:(0,s.exists)(e,"newConstruction")?e.newConstruction:void 0,preWarBuilding:(0,s.exists)(e,"preWarBuilding")?e.preWarBuilding:void 0,brownstone:(0,s.exists)(e,"brownstone")?e.brownstone:void 0,greenBuilding:(0,s.exists)(e,"greenBuilding")?e.greenBuilding:void 0,elevator:(0,s.exists)(e,"elevator")?e.elevator:void 0,freightElevator:(0,s.exists)(e,"freightElevator")?e.freightElevator:void 0,parking:(0,s.exists)(e,"parking")?e.parking:void 0,petPolicy:(0,s.exists)(e,"petPolicy")?e.petPolicy:void 0,petNumberLimit:(0,s.exists)(e,"petNumberLimit")?e.petNumberLimit:void 0,petWeightLimit:(0,s.exists)(e,"petWeightLimit")?e.petWeightLimit:void 0,petFeeOrDeposit:(0,s.exists)(e,"petFeeOrDeposit")?e.petFeeOrDeposit:void 0,utilitiesIncluded:(0,s.exists)(e,"utilitiesIncluded")?e.utilitiesIncluded:void 0,utilitiesNotIncluded:(0,s.exists)(e,"utilitiesNotIncluded")?e.utilitiesNotIncluded:void 0,leaseTermsAccepted:(0,s.exists)(e,"leaseTermsAccepted")?e.leaseTermsAccepted:void 0,minLeaseTermAccepted:(0,s.exists)(e,"minLeaseTermAccepted")?e.minLeaseTermAccepted:void 0,furnishedOffered:(0,s.exists)(e,"furnishedOffered")?e.furnishedOffered:void 0,furnishedUnitsPolicy:(0,s.exists)(e,"furnishedUnitsPolicy")?e.furnishedUnitsPolicy:void 0,internationalStudentRequirements:(0,s.exists)(e,"internationalStudentRequirements")?e.internationalStudentRequirements:void 0,amenitiesFee:(0,s.exists)(e,"amenitiesFee")?e.amenitiesFee:void 0,nonSmoking:(0,s.exists)(e,"nonSmoking")?e.nonSmoking:void 0,piedATerreAllowed:(0,s.exists)(e,"piedATerreAllowed")?e.piedATerreAllowed:void 0,diplomatsOk:(0,s.exists)(e,"diplomatsOk")?e.diplomatsOk:void 0,corporateLeasesAccepted:(0,s.exists)(e,"corporateLeasesAccepted")?e.corporateLeasesAccepted:void 0,shortTermAllowed:(0,s.exists)(e,"shortTermAllowed")?e.shortTermAllowed:void 0,doorman:(0,s.exists)(e,"doorman")?e.doorman:void 0,intercom:(0,s.exists)(e,"intercom")?e.intercom:void 0,liveInSuper:(0,s.exists)(e,"liveInSuper")?e.liveInSuper:void 0,concierge:(0,s.exists)(e,"concierge")?e.concierge:void 0,laundryInBuilding:(0,s.exists)(e,"laundryInBuilding")?e.laundryInBuilding:void 0,packageReceiving:(0,s.exists)(e,"packageReceiving")?e.packageReceiving:void 0,gym:(0,s.exists)(e,"gym")?e.gym:void 0,storage:(0,s.exists)(e,"storage")?e.storage:void 0,bicycleRoom:(0,s.exists)(e,"bicycleRoom")?e.bicycleRoom:void 0,lounge:(0,s.exists)(e,"lounge")?e.lounge:void 0,clubHouse:(0,s.exists)(e,"clubHouse")?e.clubHouse:void 0,businessCenter:(0,s.exists)(e,"businessCenter")?e.businessCenter:void 0,outdoorSpace:(0,s.exists)(e,"outdoorSpace")?e.outdoorSpace:void 0,roofDeck:(0,s.exists)(e,"roofDeck")?e.roofDeck:void 0,courtyard:(0,s.exists)(e,"courtyard")?e.courtyard:void 0,childrenPlayroom:(0,s.exists)(e,"childrenPlayroom")?e.childrenPlayroom:void 0,nursery:(0,s.exists)(e,"nursery")?e.nursery:void 0,maidService:(0,s.exists)(e,"maidService")?e.maidService:void 0,pool:(0,s.exists)(e,"pool")?e.pool:void 0,wheelchairAccess:(0,s.exists)(e,"wheelchairAccess")?e.wheelchairAccess:void 0,guarantorTypesAccepted:(0,s.exists)(e,"guarantorTypesAccepted")?e.guarantorTypesAccepted:void 0,thirdPartyGuarantorTypesAccepted:(0,s.exists)(e,"thirdPartyGuarantorTypesAccepted")?e.thirdPartyGuarantorTypesAccepted:void 0,noCreditQualificationAlternative:(0,s.exists)(e,"noCreditQualificationAlternative")?e.noCreditQualificationAlternative:void 0,flexWallPolicy:(0,s.exists)(e,"flexWallPolicy")?e.flexWallPolicy:void 0,leaseholderApplicationFee:(0,s.exists)(e,"leaseholderApplicationFee")?e.leaseholderApplicationFee:void 0,occupantApplicationFee:(0,s.exists)(e,"occupantApplicationFee")?e.occupantApplicationFee:void 0,guarantorApplicationFee:(0,s.exists)(e,"guarantorApplicationFee")?e.guarantorApplicationFee:void 0,tenantIncomeRequirementRentMultiplier:(0,s.exists)(e,"tenantIncomeRequirementRentMultiplier")?e.tenantIncomeRequirementRentMultiplier:void 0,guarantorIncomeRequirementRentMultiplier:(0,s.exists)(e,"guarantorIncomeRequirementRentMultiplier")?e.guarantorIncomeRequirementRentMultiplier:void 0,incomeRequirementRentMultiplierTimePeriod:(0,s.exists)(e,"incomeRequirementRentMultiplierTimePeriod")?e.incomeRequirementRentMultiplierTimePeriod:void 0,leaseholderMinimumCreditScoreRequirement:(0,s.exists)(e,"leaseholderMinimumCreditScoreRequirement")?e.leaseholderMinimumCreditScoreRequirement:void 0,guarantorMinimumCreditScoreRequirement:(0,s.exists)(e,"guarantorMinimumCreditScoreRequirement")?e.guarantorMinimumCreditScoreRequirement:void 0,leaseholderApplicationDocumentsRequired:(0,s.exists)(e,"leaseholderApplicationDocumentsRequired")?e.leaseholderApplicationDocumentsRequired:void 0,selfEmployedApplicationDocumentsRequired:(0,s.exists)(e,"selfEmployedApplicationDocumentsRequired")?e.selfEmployedApplicationDocumentsRequired:void 0,guarantorApplicationDocumentsRequired:(0,s.exists)(e,"guarantorApplicationDocumentsRequired")?e.guarantorApplicationDocumentsRequired:void 0,guarantorsAccepted:(0,s.exists)(e,"guarantorsAccepted")?e.guarantorsAccepted:void 0,financialsInsufficientAlternative:(0,s.exists)(e,"financialsInsufficientAlternative")?e.financialsInsufficientAlternative:void 0,prepaymentPolicy:(0,s.exists)(e,"prepaymentPolicy")?e.prepaymentPolicy:void 0,rentRequiredOnLeaseSigning:(0,s.exists)(e,"rentRequiredOnLeaseSigning")?e.rentRequiredOnLeaseSigning:void 0,securityDepositRentMultiplier:(0,s.exists)(e,"securityDepositRentMultiplier")?e.securityDepositRentMultiplier:void 0,paymentFormsAccepted:(0,s.exists)(e,"paymentFormsAccepted")?e.paymentFormsAccepted:void 0,clientEmail:(0,s.exists)(e,"clientEmail")?e.clientEmail:void 0,description:(0,s.exists)(e,"description")?e.description:void 0,notes:(0,s.exists)(e,"notes")?e.notes:void 0,leasingOfficeHours:(0,s.exists)(e,"leasingOfficeHours")?e.leasingOfficeHours:void 0,occupiedUnitsShowingHours:(0,s.exists)(e,"occupiedUnitsShowingHours")?e.occupiedUnitsShowingHours:void 0,internalNotes:(0,s.exists)(e,"internalNotes")?e.internalNotes:void 0,leasingPhoneNumber:(0,s.exists)(e,"leasingPhoneNumber")?e.leasingPhoneNumber:void 0,callCenterNumber:(0,s.exists)(e,"callCenterNumber")?e.callCenterNumber:void 0,buildingWebsiteUrl:(0,s.exists)(e,"buildingWebsiteUrl")?e.buildingWebsiteUrl:void 0,applicationLink:(0,s.exists)(e,"applicationLink")?e.applicationLink:void 0,geoAddress:(0,s.exists)(e,"geoAddress")?e.geoAddress:void 0,googleMapsUrl:(0,s.exists)(e,"googleMapsUrl")?e.googleMapsUrl:void 0,alerts:(0,s.exists)(e,"alerts")?e.alerts:void 0,rentComputeType:(0,s.exists)(e,"rentComputeType")?e.rentComputeType:void 0,autosendActive:(0,s.exists)(e,"autosendActive")?e.autosendActive:void 0,advancedMoveInAllowenceInDays:(0,s.exists)(e,"advancedMoveInAllowenceInDays")?e.advancedMoveInAllowenceInDays:void 0,alternativeBuildingNames:(0,s.exists)(e,"alternativeBuildingNames")?e.alternativeBuildingNames:void 0,externalIds:(0,s.exists)(e,"externalIds")?e.externalIds:void 0,externalCrmId:(0,s.exists)(e,"externalCrmId")?e.externalCrmId:void 0,defaultAvailabilityQuoteMatchMoveInDate:(0,s.exists)(e,"defaultAvailabilityQuoteMatchMoveInDate")?e.defaultAvailabilityQuoteMatchMoveInDate:void 0,leaseRenewalNoticeInDays:(0,s.exists)(e,"leaseRenewalNoticeInDays")?e.leaseRenewalNoticeInDays:void 0,rentQuoteFormat:(0,s.exists)(e,"rentQuoteFormat")?e.rentQuoteFormat:void 0,rentWithIncentivesQuoteFormat:(0,s.exists)(e,"rentWithIncentivesQuoteFormat")?e.rentWithIncentivesQuoteFormat:void 0,isPartOfComplex:(0,s.exists)(e,"isPartOfComplex")?e.isPartOfComplex:void 0,alternativeILSAddressGeoFormat:(0,s.exists)(e,"alternativeILSAddressGeoFormat")?(0,l.AlternativeILSAddressGeoFormatFromJSON)(e.alternativeILSAddressGeoFormat):void 0,effectiveRentComputeType:(0,s.exists)(e,"effectiveRentComputeType")?e.effectiveRentComputeType:void 0,maxLeaseTermAccepted:(0,s.exists)(e,"maxLeaseTermAccepted")?e.maxLeaseTermAccepted:void 0,parkingInformation:(0,s.exists)(e,"parkingInformation")?e.parkingInformation:void 0,storageFee:(0,s.exists)(e,"storageFee")?e.storageFee:void 0,incentivesProperlyConnected:(0,s.exists)(e,"incentivesProperlyConnected")?e.incentivesProperlyConnected:void 0,electricCompany:(0,s.exists)(e,"electricCompany")?e.electricCompany:void 0,gasCompany:(0,s.exists)(e,"gasCompany")?e.gasCompany:void 0,telephoneCompany:(0,s.exists)(e,"telephoneCompany")?e.telephoneCompany:void 0,televisionCompany:(0,s.exists)(e,"televisionCompany")?e.televisionCompany:void 0,waterCompany:(0,s.exists)(e,"waterCompany")?e.waterCompany:void 0,internetCompany:(0,s.exists)(e,"internetCompany")?e.internetCompany:void 0,localHospital:(0,s.exists)(e,"localHospital")?e.localHospital:void 0,localSchoolDistrict:(0,s.exists)(e,"localSchoolDistrict")?e.localSchoolDistrict:void 0,localElementarySchool:(0,s.exists)(e,"localElementarySchool")?e.localElementarySchool:void 0,localMiddleSchool:(0,s.exists)(e,"localMiddleSchool")?e.localMiddleSchool:void 0,localHighSchool:(0,s.exists)(e,"localHighSchool")?e.localHighSchool:void 0,localShoppingCenter:(0,s.exists)(e,"localShoppingCenter")?e.localShoppingCenter:void 0,localGroceryStore:(0,s.exists)(e,"localGroceryStore")?e.localGroceryStore:void 0,closestInterstates:(0,s.exists)(e,"closestInterstates")?e.closestInterstates:void 0,buildingPicturesUrl:(0,s.exists)(e,"buildingPicturesUrl")?e.buildingPicturesUrl:void 0,buildingFloorPlansUrl:(0,s.exists)(e,"buildingFloorPlansUrl")?e.buildingFloorPlansUrl:void 0,nonexistentLayouts:(0,s.exists)(e,"nonexistentLayouts")?e.nonexistentLayouts:void 0,offeredLayouts:(0,s.exists)(e,"offeredLayouts")?e.offeredLayouts:void 0,avoidQuotingPrices:(0,s.exists)(e,"avoidQuotingPrices")?e.avoidQuotingPrices:void 0,excludeNotRentReadyUnit:(0,s.exists)(e,"excludeNotRentReadyUnit")?e.excludeNotRentReadyUnit:void 0,flexWallsAllowed:(0,s.exists)(e,"flexWallsAllowed")?e.flexWallsAllowed:void 0,petsAccepted:(0,s.exists)(e,"petsAccepted")?e.petsAccepted:void 0,guarantorsAcceptedSwitch:(0,s.exists)(e,"guarantorsAcceptedSwitch")?e.guarantorsAcceptedSwitch:void 0,thirdPartyGuarantorsAccepted:(0,s.exists)(e,"thirdPartyGuarantorsAccepted")?e.thirdPartyGuarantorsAccepted:void 0,alwaysScheduleAppointments:(0,s.exists)(e,"alwaysScheduleAppointments")?e.alwaysScheduleAppointments:void 0,leasingOfficeOnsite:(0,s.exists)(e,"leasingOfficeOnsite")?e.leasingOfficeOnsite:void 0,building3dMediaUrl:(0,s.exists)(e,"building3dMediaUrl")?e.building3dMediaUrl:void 0,dailyreport:(0,s.exists)(e,"dailyreport")?e.dailyreport:void 0,dailyReportEmails:(0,s.exists)(e,"dailyReportEmails")?e.dailyReportEmails:void 0,nearbySubways:(0,s.exists)(e,"nearbySubways")?e.nearbySubways:void 0,bedroomTypes:(0,s.exists)(e,"bedroomTypes")?e.bedroomTypes:void 0,leasingBrochureUrl:(0,s.exists)(e,"leasingBrochureUrl")?e.leasingBrochureUrl:void 0,confidenceVariable:(0,s.exists)(e,"confidenceVariable")?e.confidenceVariable:void 0,textForwardToEmails:(0,s.exists)(e,"textForwardToEmails")?e.textForwardToEmails:void 0,synchronizationStatus:(0,s.exists)(e,"synchronizationStatus")?e.synchronizationStatus:void 0,omitDesiredFloorPlan:(0,s.exists)(e,"omitDesiredFloorPlan")?e.omitDesiredFloorPlan:void 0,pickingNewGuestCards:(0,s.exists)(e,"pickingNewGuestCards")?e.pickingNewGuestCards:void 0,showNotRespondingLeadsInReport:(0,s.exists)(e,"showNotRespondingLeadsInReport")?e.showNotRespondingLeadsInReport:void 0,leasingOfficeSetupType:(0,s.exists)(e,"leasingOfficeSetupType")?e.leasingOfficeSetupType:void 0,firstContactReasonRequired:(0,s.exists)(e,"firstContactReasonRequired")?e.firstContactReasonRequired:void 0,firstContactReason:(0,s.exists)(e,"firstContactReason")?e.firstContactReason:void 0,emailSignature:(0,s.exists)(e,"emailSignature")?e.emailSignature:void 0,tourDuration:(0,s.exists)(e,"tourDuration")?e.tourDuration:void 0,inPersonToursAllowed:(0,s.exists)(e,"inPersonToursAllowed")?e.inPersonToursAllowed:void 0,selfGuidedToursEnabled:(0,s.exists)(e,"selfGuidedToursEnabled")?e.selfGuidedToursEnabled:void 0,virtualTourType:(0,s.exists)(e,"virtualTourType")?e.virtualTourType:void 0,virtualTourPlatforms:(0,s.exists)(e,"virtualTourPlatforms")?e.virtualTourPlatforms:void 0,noUnitSelfGuidedTourAllowed:(0,s.exists)(e,"noUnitSelfGuidedTourAllowed")?e.noUnitSelfGuidedTourAllowed:void 0,sgSchedulingBasedOnNormalAppointments:(0,s.exists)(e,"sgSchedulingBasedOnNormalAppointments")?e.sgSchedulingBasedOnNormalAppointments:void 0,tourTypePriority:(0,s.exists)(e,"tourTypePriority")?e.tourTypePriority:void 0,tourNotificationEmailsMode:(0,s.exists)(e,"tourNotificationEmailsMode")?e.tourNotificationEmailsMode:void 0,showByOpenHouseOnly:(0,s.exists)(e,"showByOpenHouseOnly")?e.showByOpenHouseOnly:void 0,showUnitsWithPendingApplication:(0,s.exists)(e,"showUnitsWithPendingApplication")?e.showUnitsWithPendingApplication:void 0,showOccupiedUnitsWithPendingApplication:(0,s.exists)(e,"showOccupiedUnitsWithPendingApplication")?e.showOccupiedUnitsWithPendingApplication:void 0,confirmAppointmentsOccupiedUnits:(0,s.exists)(e,"confirmAppointmentsOccupiedUnits")?e.confirmAppointmentsOccupiedUnits:void 0,confirmAppointmentsRenovatingUnits:(0,s.exists)(e,"confirmAppointmentsRenovatingUnits")?e.confirmAppointmentsRenovatingUnits:void 0,occupiedUnitsAdvancedNoticeInHours:(0,s.exists)(e,"occupiedUnitsAdvancedNoticeInHours")?e.occupiedUnitsAdvancedNoticeInHours:void 0,prioritizeShowingVacantUnits:(0,s.exists)(e,"prioritizeShowingVacantUnits")?e.prioritizeShowingVacantUnits:void 0,showOccupiedUnits:(0,s.exists)(e,"showOccupiedUnits")?e.showOccupiedUnits:void 0,whiteListActivated:(0,s.exists)(e,"whiteListActivated")?e.whiteListActivated:void 0,appointmentMeetingLocation:(0,s.exists)(e,"appointmentMeetingLocation")?e.appointmentMeetingLocation:void 0,appointmentMeetingPointSpecific:(0,s.exists)(e,"appointmentMeetingPointSpecific")?e.appointmentMeetingPointSpecific:void 0,appointmentDirections:(0,s.exists)(e,"appointmentDirections")?e.appointmentDirections:void 0,appointmentAdditionalDirections:(0,s.exists)(e,"appointmentAdditionalDirections")?e.appointmentAdditionalDirections:void 0,launchDateTime:(0,s.exists)(e,"launchDateTime")?new Date(e.launchDateTime):void 0,clientRequiresShowEvent:(0,s.exists)(e,"clientRequiresShowEvent")?e.clientRequiresShowEvent:void 0,tempLeasingOfficeHoursAsJson:(0,s.exists)(e,"tempLeasingOfficeHoursAsJson")?e.tempLeasingOfficeHoursAsJson:void 0,effectiveHandoffForwardToEmails:(0,s.exists)(e,"effectiveHandoffForwardToEmails")?e.effectiveHandoffForwardToEmails:void 0,calendarId:(0,s.exists)(e,"calendarId")?e.calendarId:void 0}}(a=t.BuildingDetailsLeasingOfficeSetupTypeEnum||(t.BuildingDetailsLeasingOfficeSetupTypeEnum={})).SingleBuilding="SINGLE_BUILDING",a.CentralLeasingOfficeAsSingleBuilding="CENTRAL_LEASING_OFFICE_AS_SINGLE_BUILDING",(o=t.BuildingDetailsVirtualTourTypeEnum||(t.BuildingDetailsVirtualTourTypeEnum={})).NotEnabled="NOT_ENABLED",o.SelfManaged="SELF_MANAGED",o.Whereby="WHEREBY",(r=t.BuildingDetailsTourTypePriorityEnum||(t.BuildingDetailsTourTypePriorityEnum={})).Unknown="UNKNOWN",r.SelfGuided="SELF_GUIDED",r.VirtualShowing="VIRTUAL_SHOWING",r.WithAgent="WITH_AGENT",r.MediaTour="MEDIA_TOUR",(n=t.BuildingDetailsTourNotificationEmailsModeEnum||(t.BuildingDetailsTourNotificationEmailsModeEnum={})).NoNotification="NO_NOTIFICATION",n.AllViewings="ALL_VIEWINGS",n.SameDayViewings="SAME_DAY_VIEWINGS",t.BuildingDetailsFromJSON=function(e){return u(e)},t.BuildingDetailsFromJSONTyped=u,t.BuildingDetailsToJSON=function(e){if(void 0!==e)return null===e?null:{id:e.id,managementCompanyId:e.managementCompanyId,organizationId:e.organizationId,active:e.active,handoffForwardToEmails:e.handoffForwardToEmails,responseCcEmails:e.responseCcEmails,responseBccEmails:e.responseBccEmails,associateCalendarId:e.associateCalendarId,buildingName:e.buildingName,address1:e.address1,address2:e.address2,address3:e.address3,alternativeILSAddresses:e.alternativeILSAddresses,city:e.city,state:e.state,postalCode:e.postalCode,crossStreets:e.crossStreets,neighborhood:e.neighborhood,nearbyTransportation:e.nearbyTransportation,buildingOwnership:e.buildingOwnership,buildingType:e.buildingType,totalUnits:e.totalUnits,totalFloors:e.totalFloors,yearBuilt:e.yearBuilt,block:e.block,lot:e.lot,schoolDistrict:e.schoolDistrict,communityDistrict:e.communityDistrict,newConstruction:e.newConstruction,preWarBuilding:e.preWarBuilding,brownstone:e.brownstone,greenBuilding:e.greenBuilding,elevator:e.elevator,freightElevator:e.freightElevator,parking:e.parking,petPolicy:e.petPolicy,petNumberLimit:e.petNumberLimit,petWeightLimit:e.petWeightLimit,petFeeOrDeposit:e.petFeeOrDeposit,utilitiesIncluded:e.utilitiesIncluded,utilitiesNotIncluded:e.utilitiesNotIncluded,leaseTermsAccepted:e.leaseTermsAccepted,minLeaseTermAccepted:e.minLeaseTermAccepted,furnishedOffered:e.furnishedOffered,furnishedUnitsPolicy:e.furnishedUnitsPolicy,internationalStudentRequirements:e.internationalStudentRequirements,amenitiesFee:e.amenitiesFee,nonSmoking:e.nonSmoking,piedATerreAllowed:e.piedATerreAllowed,diplomatsOk:e.diplomatsOk,corporateLeasesAccepted:e.corporateLeasesAccepted,shortTermAllowed:e.shortTermAllowed,doorman:e.doorman,intercom:e.intercom,liveInSuper:e.liveInSuper,concierge:e.concierge,laundryInBuilding:e.laundryInBuilding,packageReceiving:e.packageReceiving,gym:e.gym,storage:e.storage,bicycleRoom:e.bicycleRoom,lounge:e.lounge,clubHouse:e.clubHouse,businessCenter:e.businessCenter,outdoorSpace:e.outdoorSpace,roofDeck:e.roofDeck,courtyard:e.courtyard,childrenPlayroom:e.childrenPlayroom,nursery:e.nursery,maidService:e.maidService,pool:e.pool,wheelchairAccess:e.wheelchairAccess,guarantorTypesAccepted:e.guarantorTypesAccepted,thirdPartyGuarantorTypesAccepted:e.thirdPartyGuarantorTypesAccepted,noCreditQualificationAlternative:e.noCreditQualificationAlternative,flexWallPolicy:e.flexWallPolicy,leaseholderApplicationFee:e.leaseholderApplicationFee,occupantApplicationFee:e.occupantApplicationFee,guarantorApplicationFee:e.guarantorApplicationFee,tenantIncomeRequirementRentMultiplier:e.tenantIncomeRequirementRentMultiplier,guarantorIncomeRequirementRentMultiplier:e.guarantorIncomeRequirementRentMultiplier,incomeRequirementRentMultiplierTimePeriod:e.incomeRequirementRentMultiplierTimePeriod,leaseholderMinimumCreditScoreRequirement:e.leaseholderMinimumCreditScoreRequirement,guarantorMinimumCreditScoreRequirement:e.guarantorMinimumCreditScoreRequirement,leaseholderApplicationDocumentsRequired:e.leaseholderApplicationDocumentsRequired,selfEmployedApplicationDocumentsRequired:e.selfEmployedApplicationDocumentsRequired,guarantorApplicationDocumentsRequired:e.guarantorApplicationDocumentsRequired,guarantorsAccepted:e.guarantorsAccepted,financialsInsufficientAlternative:e.financialsInsufficientAlternative,prepaymentPolicy:e.prepaymentPolicy,rentRequiredOnLeaseSigning:e.rentRequiredOnLeaseSigning,securityDepositRentMultiplier:e.securityDepositRentMultiplier,paymentFormsAccepted:e.paymentFormsAccepted,clientEmail:e.clientEmail,description:e.description,notes:e.notes,leasingOfficeHours:e.leasingOfficeHours,occupiedUnitsShowingHours:e.occupiedUnitsShowingHours,internalNotes:e.internalNotes,leasingPhoneNumber:e.leasingPhoneNumber,callCenterNumber:e.callCenterNumber,buildingWebsiteUrl:e.buildingWebsiteUrl,applicationLink:e.applicationLink,geoAddress:e.geoAddress,googleMapsUrl:e.googleMapsUrl,alerts:e.alerts,rentComputeType:e.rentComputeType,autosendActive:e.autosendActive,advancedMoveInAllowenceInDays:e.advancedMoveInAllowenceInDays,alternativeBuildingNames:e.alternativeBuildingNames,externalIds:e.externalIds,externalCrmId:e.externalCrmId,defaultAvailabilityQuoteMatchMoveInDate:e.defaultAvailabilityQuoteMatchMoveInDate,leaseRenewalNoticeInDays:e.leaseRenewalNoticeInDays,rentQuoteFormat:e.rentQuoteFormat,rentWithIncentivesQuoteFormat:e.rentWithIncentivesQuoteFormat,isPartOfComplex:e.isPartOfComplex,alternativeILSAddressGeoFormat:(0,l.AlternativeILSAddressGeoFormatToJSON)(e.alternativeILSAddressGeoFormat),effectiveRentComputeType:e.effectiveRentComputeType,maxLeaseTermAccepted:e.maxLeaseTermAccepted,parkingInformation:e.parkingInformation,storageFee:e.storageFee,incentivesProperlyConnected:e.incentivesProperlyConnected,electricCompany:e.electricCompany,gasCompany:e.gasCompany,telephoneCompany:e.telephoneCompany,televisionCompany:e.televisionCompany,waterCompany:e.waterCompany,internetCompany:e.internetCompany,localHospital:e.localHospital,localSchoolDistrict:e.localSchoolDistrict,localElementarySchool:e.localElementarySchool,localMiddleSchool:e.localMiddleSchool,localHighSchool:e.localHighSchool,localShoppingCenter:e.localShoppingCenter,localGroceryStore:e.localGroceryStore,closestInterstates:e.closestInterstates,buildingPicturesUrl:e.buildingPicturesUrl,buildingFloorPlansUrl:e.buildingFloorPlansUrl,nonexistentLayouts:e.nonexistentLayouts,offeredLayouts:e.offeredLayouts,avoidQuotingPrices:e.avoidQuotingPrices,excludeNotRentReadyUnit:e.excludeNotRentReadyUnit,flexWallsAllowed:e.flexWallsAllowed,petsAccepted:e.petsAccepted,guarantorsAcceptedSwitch:e.guarantorsAcceptedSwitch,thirdPartyGuarantorsAccepted:e.thirdPartyGuarantorsAccepted,alwaysScheduleAppointments:e.alwaysScheduleAppointments,leasingOfficeOnsite:e.leasingOfficeOnsite,building3dMediaUrl:e.building3dMediaUrl,dailyreport:e.dailyreport,dailyReportEmails:e.dailyReportEmails,nearbySubways:e.nearbySubways,bedroomTypes:e.bedroomTypes,leasingBrochureUrl:e.leasingBrochureUrl,confidenceVariable:e.confidenceVariable,textForwardToEmails:e.textForwardToEmails,synchronizationStatus:e.synchronizationStatus,omitDesiredFloorPlan:e.omitDesiredFloorPlan,pickingNewGuestCards:e.pickingNewGuestCards,showNotRespondingLeadsInReport:e.showNotRespondingLeadsInReport,leasingOfficeSetupType:e.leasingOfficeSetupType,firstContactReasonRequired:e.firstContactReasonRequired,firstContactReason:e.firstContactReason,emailSignature:e.emailSignature,tourDuration:e.tourDuration,inPersonToursAllowed:e.inPersonToursAllowed,selfGuidedToursEnabled:e.selfGuidedToursEnabled,virtualTourType:e.virtualTourType,virtualTourPlatforms:e.virtualTourPlatforms,noUnitSelfGuidedTourAllowed:e.noUnitSelfGuidedTourAllowed,sgSchedulingBasedOnNormalAppointments:e.sgSchedulingBasedOnNormalAppointments,tourTypePriority:e.tourTypePriority,tourNotificationEmailsMode:e.tourNotificationEmailsMode,showByOpenHouseOnly:e.showByOpenHouseOnly,showUnitsWithPendingApplication:e.showUnitsWithPendingApplication,showOccupiedUnitsWithPendingApplication:e.showOccupiedUnitsWithPendingApplication,confirmAppointmentsOccupiedUnits:e.confirmAppointmentsOccupiedUnits,confirmAppointmentsRenovatingUnits:e.confirmAppointmentsRenovatingUnits,occupiedUnitsAdvancedNoticeInHours:e.occupiedUnitsAdvancedNoticeInHours,prioritizeShowingVacantUnits:e.prioritizeShowingVacantUnits,showOccupiedUnits:e.showOccupiedUnits,whiteListActivated:e.whiteListActivated,appointmentMeetingLocation:e.appointmentMeetingLocation,appointmentMeetingPointSpecific:e.appointmentMeetingPointSpecific,appointmentDirections:e.appointmentDirections,appointmentAdditionalDirections:e.appointmentAdditionalDirections,launchDateTime:void 0===e.launchDateTime?void 0:e.launchDateTime.toISOString(),clientRequiresShowEvent:e.clientRequiresShowEvent,tempLeasingOfficeHoursAsJson:e.tempLeasingOfficeHoursAsJson,effectiveHandoffForwardToEmails:e.effectiveHandoffForwardToEmails,calendarId:e.calendarId}}},3477:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.BuildingEntityToJSON=t.BuildingEntityFromJSONTyped=t.BuildingEntityFromJSON=void 0;var n=i(296);function r(e,t){return null==e?e:{id:(0,n.exists)(e,"id")?e.id:void 0}}t.BuildingEntityFromJSON=function(e){return r(e)},t.BuildingEntityFromJSONTyped=r,t.BuildingEntityToJSON=function(e){if(void 0!==e)return null===e?null:{id:e.id}}},4597:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.BuildingFeatureFlagRequestDtoToJSON=t.BuildingFeatureFlagRequestDtoFromJSONTyped=t.BuildingFeatureFlagRequestDtoFromJSON=void 0;var n=i(296);function r(e,t){return null==e?e:{defaultBoolValue:(0,n.exists)(e,"defaultBoolValue")?e.defaultBoolValue:void 0,defaultIntValue:(0,n.exists)(e,"defaultIntValue")?e.defaultIntValue:void 0,defaultStringValue:(0,n.exists)(e,"defaultStringValue")?e.defaultStringValue:void 0,clientEmail:(0,n.exists)(e,"clientEmail")?e.clientEmail:void 0,orgId:(0,n.exists)(e,"orgId")?e.orgId:void 0,buildingId:(0,n.exists)(e,"buildingId")?e.buildingId:void 0,crmType:(0,n.exists)(e,"crmType")?e.crmType:void 0}}t.BuildingFeatureFlagRequestDtoFromJSON=function(e){return r(e)},t.BuildingFeatureFlagRequestDtoFromJSONTyped=r,t.BuildingFeatureFlagRequestDtoToJSON=function(e){if(void 0!==e)return null===e?null:{defaultBoolValue:e.defaultBoolValue,defaultIntValue:e.defaultIntValue,defaultStringValue:e.defaultStringValue,clientEmail:e.clientEmail,orgId:e.orgId,buildingId:e.buildingId,crmType:e.crmType}}},553:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.BuildingOverrideToJSON=t.BuildingOverrideFromJSONTyped=t.BuildingOverrideFromJSON=void 0;var n=i(296);function r(e,t){return null==e?e:{redIntents:(0,n.exists)(e,"redIntents")?e.redIntents:void 0,yellowIntents:(0,n.exists)(e,"yellowIntents")?e.yellowIntents:void 0}}t.BuildingOverrideFromJSON=function(e){return r(e)},t.BuildingOverrideFromJSONTyped=r,t.BuildingOverrideToJSON=function(e){if(void 0!==e)return null===e?null:{redIntents:e.redIntents,yellowIntents:e.yellowIntents}}},6673:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.BuildingPublicViewModelToJSON=t.BuildingPublicViewModelFromJSONTyped=t.BuildingPublicViewModelFromJSON=void 0;var n=i(296),r=i(746),o=i(6330);function a(e,t){return null==e?e:{id:(0,n.exists)(e,"id")?e.id:void 0,orgId:(0,n.exists)(e,"orgId")?e.orgId:void 0,name:(0,n.exists)(e,"name")?e.name:void 0,userId:(0,n.exists)(e,"userId")?e.userId:void 0,userFirstName:(0,n.exists)(e,"userFirstName")?e.userFirstName:void 0,userLastName:(0,n.exists)(e,"userLastName")?e.userLastName:void 0,primaryColor:(0,n.exists)(e,"primaryColor")?e.primaryColor:void 0,backgroundColor:(0,n.exists)(e,"backgroundColor")?e.backgroundColor:void 0,logoSrc:(0,n.exists)(e,"logoSrc")?e.logoSrc:void 0,welcomeMessage:(0,n.exists)(e,"welcomeMessage")?e.welcomeMessage:void 0,chatTitle:(0,n.exists)(e,"chatTitle")?e.chatTitle:void 0,chatSubtitle:(0,n.exists)(e,"chatSubtitle")?e.chatSubtitle:void 0,bannerColor:(0,n.exists)(e,"bannerColor")?e.bannerColor:void 0,bannerTextColor:(0,n.exists)(e,"bannerTextColor")?e.bannerTextColor:void 0,messageColor:(0,n.exists)(e,"messageColor")?e.messageColor:void 0,messageTextColor:(0,n.exists)(e,"messageTextColor")?e.messageTextColor:void 0,launchButtonColor:(0,n.exists)(e,"launchButtonColor")?e.launchButtonColor:void 0,launchButtonIconColor:(0,n.exists)(e,"launchButtonIconColor")?e.launchButtonIconColor:void 0,launchButtonSize:(0,n.exists)(e,"launchButtonSize")?e.launchButtonSize:void 0,avatarType:(0,n.exists)(e,"avatarType")?e.avatarType:void 0,avatarSrc:(0,n.exists)(e,"avatarSrc")?e.avatarSrc:void 0,avatarInitials:(0,n.exists)(e,"avatarInitials")?e.avatarInitials:void 0,themeId:(0,n.exists)(e,"themeId")?e.themeId:void 0,streetAddress:(0,n.exists)(e,"streetAddress")?e.streetAddress:void 0,postalCode:(0,n.exists)(e,"postalCode")?e.postalCode:void 0,state:(0,n.exists)(e,"state")?e.state:void 0,phoneNumber:(0,n.exists)(e,"phoneNumber")?e.phoneNumber:void 0,layoutOptions:(0,n.exists)(e,"layoutOptions")?e.layoutOptions.map(r.LayoutOptionFromJSON):void 0,tourTypeOptions:(0,n.exists)(e,"tourTypeOptions")?e.tourTypeOptions.map(o.TourTypeOptionFromJSON):void 0,conversationMaintenanceMode:(0,n.exists)(e,"conversationMaintenanceMode")?e.conversationMaintenanceMode:void 0}}t.BuildingPublicViewModelFromJSON=function(e){return a(e)},t.BuildingPublicViewModelFromJSONTyped=a,t.BuildingPublicViewModelToJSON=function(e){if(void 0!==e)return null===e?null:{id:e.id,orgId:e.orgId,name:e.name,userId:e.userId,userFirstName:e.userFirstName,userLastName:e.userLastName,primaryColor:e.primaryColor,backgroundColor:e.backgroundColor,logoSrc:e.logoSrc,welcomeMessage:e.welcomeMessage,chatTitle:e.chatTitle,chatSubtitle:e.chatSubtitle,bannerColor:e.bannerColor,bannerTextColor:e.bannerTextColor,messageColor:e.messageColor,messageTextColor:e.messageTextColor,launchButtonColor:e.launchButtonColor,launchButtonIconColor:e.launchButtonIconColor,launchButtonSize:e.launchButtonSize,avatarType:e.avatarType,avatarSrc:e.avatarSrc,avatarInitials:e.avatarInitials,themeId:e.themeId,streetAddress:e.streetAddress,postalCode:e.postalCode,state:e.state,phoneNumber:e.phoneNumber,layoutOptions:void 0===e.layoutOptions?void 0:e.layoutOptions.map(r.LayoutOptionToJSON),tourTypeOptions:void 0===e.tourTypeOptions?void 0:e.tourTypeOptions.map(o.TourTypeOptionToJSON),conversationMaintenanceMode:e.conversationMaintenanceMode}}},6597:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.BuildingRefreshInfoToJSON=t.BuildingRefreshInfoFromJSONTyped=t.BuildingRefreshInfoFromJSON=void 0;var n=i(296);function r(e,t){return null==e?e:{timesToRunInCronFormat:(0,n.exists)(e,"timesToRunInCronFormat")?e.timesToRunInCronFormat:void 0}}t.BuildingRefreshInfoFromJSON=function(e){return r(e)},t.BuildingRefreshInfoFromJSONTyped=r,t.BuildingRefreshInfoToJSON=function(e){if(void 0!==e)return null===e?null:{timesToRunInCronFormat:e.timesToRunInCronFormat}}},7949:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.BuildingTourTypePreferencesToJSON=t.BuildingTourTypePreferencesFromJSONTyped=t.BuildingTourTypePreferencesFromJSON=t.BuildingTourTypePreferencesSelfGuidedToursTypeOfferedEnum=t.BuildingTourTypePreferencesLiveVirtualToursTypeOfferedEnum=t.BuildingTourTypePreferencesMediaToursTypeOfferedEnum=t.BuildingTourTypePreferencesEscortedToursTypeOfferedEnum=void 0;var n,r,o,a,s=i(296);function l(e,t){return null==e?e:{id:(0,s.exists)(e,"id")?e.id:void 0,buildingId:(0,s.exists)(e,"buildingId")?e.buildingId:void 0,escortedToursAllowed:(0,s.exists)(e,"escortedToursAllowed")?e.escortedToursAllowed:void 0,escortedToursTypeOffered:(0,s.exists)(e,"escortedToursTypeOffered")?e.escortedToursTypeOffered:void 0,escortedTourClientName:(0,s.exists)(e,"escortedTourClientName")?e.escortedTourClientName:void 0,escortedToursLink:(0,s.exists)(e,"escortedToursLink")?e.escortedToursLink:void 0,mediaToursAllowed:(0,s.exists)(e,"mediaToursAllowed")?e.mediaToursAllowed:void 0,mediaToursTypeOffered:(0,s.exists)(e,"mediaToursTypeOffered")?e.mediaToursTypeOffered:void 0,mediaTourClientName:(0,s.exists)(e,"mediaTourClientName")?e.mediaTourClientName:void 0,mediaToursLink:(0,s.exists)(e,"mediaToursLink")?e.mediaToursLink:void 0,liveVirtualToursAllowed:(0,s.exists)(e,"liveVirtualToursAllowed")?e.liveVirtualToursAllowed:void 0,liveVirtualToursTypeOffered:(0,s.exists)(e,"liveVirtualToursTypeOffered")?e.liveVirtualToursTypeOffered:void 0,liveVirtualTourClientName:(0,s.exists)(e,"liveVirtualTourClientName")?e.liveVirtualTourClientName:void 0,liveVirtualToursLink:(0,s.exists)(e,"liveVirtualToursLink")?e.liveVirtualToursLink:void 0,selfGuidedToursAllowed:(0,s.exists)(e,"selfGuidedToursAllowed")?e.selfGuidedToursAllowed:void 0,selfGuidedToursTypeOffered:(0,s.exists)(e,"selfGuidedToursTypeOffered")?e.selfGuidedToursTypeOffered:void 0,selfGuidedTourClientName:(0,s.exists)(e,"selfGuidedTourClientName")?e.selfGuidedTourClientName:void 0,selfGuidedToursLink:(0,s.exists)(e,"selfGuidedToursLink")?e.selfGuidedToursLink:void 0}}(a=t.BuildingTourTypePreferencesEscortedToursTypeOfferedEnum||(t.BuildingTourTypePreferencesEscortedToursTypeOfferedEnum={})).Link="LINK",a.ClientScheduled="CLIENT_SCHEDULED",a.ScheduledByMeManagedByMe="SCHEDULED_BY_ME_MANAGED_BY_ME",a.ScheduledByMeManagedByClient="SCHEDULED_BY_ME_MANAGED_BY_CLIENT",a.ScheduledByMeManagedByConcierge="SCHEDULED_BY_ME_MANAGED_BY_CONCIERGE",(o=t.BuildingTourTypePreferencesMediaToursTypeOfferedEnum||(t.BuildingTourTypePreferencesMediaToursTypeOfferedEnum={})).Link="LINK",o.ClientScheduled="CLIENT_SCHEDULED",o.ScheduledByMeManagedByMe="SCHEDULED_BY_ME_MANAGED_BY_ME",o.ScheduledByMeManagedByClient="SCHEDULED_BY_ME_MANAGED_BY_CLIENT",o.ScheduledByMeManagedByConcierge="SCHEDULED_BY_ME_MANAGED_BY_CONCIERGE",(r=t.BuildingTourTypePreferencesLiveVirtualToursTypeOfferedEnum||(t.BuildingTourTypePreferencesLiveVirtualToursTypeOfferedEnum={})).Link="LINK",r.ClientScheduled="CLIENT_SCHEDULED",r.ScheduledByMeManagedByMe="SCHEDULED_BY_ME_MANAGED_BY_ME",r.ScheduledByMeManagedByClient="SCHEDULED_BY_ME_MANAGED_BY_CLIENT",r.ScheduledByMeManagedByConcierge="SCHEDULED_BY_ME_MANAGED_BY_CONCIERGE",(n=t.BuildingTourTypePreferencesSelfGuidedToursTypeOfferedEnum||(t.BuildingTourTypePreferencesSelfGuidedToursTypeOfferedEnum={})).Link="LINK",n.ClientScheduled="CLIENT_SCHEDULED",n.ScheduledByMeManagedByMe="SCHEDULED_BY_ME_MANAGED_BY_ME",n.ScheduledByMeManagedByClient="SCHEDULED_BY_ME_MANAGED_BY_CLIENT",n.ScheduledByMeManagedByConcierge="SCHEDULED_BY_ME_MANAGED_BY_CONCIERGE",t.BuildingTourTypePreferencesFromJSON=function(e){return l(e)},t.BuildingTourTypePreferencesFromJSONTyped=l,t.BuildingTourTypePreferencesToJSON=function(e){if(void 0!==e)return null===e?null:{id:e.id,buildingId:e.buildingId,escortedToursAllowed:e.escortedToursAllowed,escortedToursTypeOffered:e.escortedToursTypeOffered,escortedTourClientName:e.escortedTourClientName,escortedToursLink:e.escortedToursLink,mediaToursAllowed:e.mediaToursAllowed,mediaToursTypeOffered:e.mediaToursTypeOffered,mediaTourClientName:e.mediaTourClientName,mediaToursLink:e.mediaToursLink,liveVirtualToursAllowed:e.liveVirtualToursAllowed,liveVirtualToursTypeOffered:e.liveVirtualToursTypeOffered,liveVirtualTourClientName:e.liveVirtualTourClientName,liveVirtualToursLink:e.liveVirtualToursLink,selfGuidedToursAllowed:e.selfGuidedToursAllowed,selfGuidedToursTypeOffered:e.selfGuidedToursTypeOffered,selfGuidedTourClientName:e.selfGuidedTourClientName,selfGuidedToursLink:e.selfGuidedToursLink}}},2386:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.CalendarEventTourHandlerToJSON=t.CalendarEventTourHandlerFromJSONTyped=t.CalendarEventTourHandlerFromJSON=void 0;var n=i(296);function r(e,t){return null==e?e:{id:e.id,timeCreated:new Date(e.timeCreated),buildingId:(0,n.exists)(e,"buildingId")?e.buildingId:void 0,calendarEventId:e.calendarEventId,leasingAgentId:e.leasingAgentId}}t.CalendarEventTourHandlerFromJSON=function(e){return r(e)},t.CalendarEventTourHandlerFromJSONTyped=r,t.CalendarEventTourHandlerToJSON=function(e){if(void 0!==e)return null===e?null:{id:e.id,timeCreated:e.timeCreated.toISOString(),buildingId:e.buildingId,calendarEventId:e.calendarEventId,leasingAgentId:e.leasingAgentId}}},4853:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.CancelActionDtoToJSON=t.CancelActionDtoFromJSONTyped=t.CancelActionDtoFromJSON=void 0;var n=i(296);function r(e,t){return null==e?e:{contextId:(0,n.exists)(e,"contextId")?e.contextId:void 0,calendarEventId:(0,n.exists)(e,"calendarEventId")?e.calendarEventId:void 0,buildingId:(0,n.exists)(e,"buildingId")?e.buildingId:void 0}}t.CancelActionDtoFromJSON=function(e){return r(e)},t.CancelActionDtoFromJSONTyped=r,t.CancelActionDtoToJSON=function(e){if(void 0!==e)return null===e?null:{contextId:e.contextId,calendarEventId:e.calendarEventId,buildingId:e.buildingId}}},9260:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.CancelTourByStateIdDtoToJSON=t.CancelTourByStateIdDtoFromJSONTyped=t.CancelTourByStateIdDtoFromJSON=void 0;var n=i(296);function r(e,t){return null==e?e:{mcId:(0,n.exists)(e,"mcId")?e.mcId:void 0,stateId:(0,n.exists)(e,"stateId")?e.stateId:void 0,buildingId:(0,n.exists)(e,"buildingId")?e.buildingId:void 0,useLegacyContext:(0,n.exists)(e,"useLegacyContext")?e.useLegacyContext:void 0,sms:(0,n.exists)(e,"sms")?e.sms:void 0}}t.CancelTourByStateIdDtoFromJSON=function(e){return r(e)},t.CancelTourByStateIdDtoFromJSONTyped=r,t.CancelTourByStateIdDtoToJSON=function(e){if(void 0!==e)return null===e?null:{mcId:e.mcId,stateId:e.stateId,buildingId:e.buildingId,useLegacyContext:e.useLegacyContext,sms:e.sms}}},3777:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.CancelTourDtoToJSON=t.CancelTourDtoFromJSONTyped=t.CancelTourDtoFromJSON=void 0;var n=i(296);function r(e,t){return null==e?e:{contextId:(0,n.exists)(e,"contextId")?e.contextId:void 0,buildingId:(0,n.exists)(e,"buildingId")?e.buildingId:void 0}}t.CancelTourDtoFromJSON=function(e){return r(e)},t.CancelTourDtoFromJSONTyped=r,t.CancelTourDtoToJSON=function(e){if(void 0!==e)return null===e?null:{contextId:e.contextId,buildingId:e.buildingId}}},713:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ChatTelemetryDtoToJSON=t.ChatTelemetryDtoFromJSONTyped=t.ChatTelemetryDtoFromJSON=void 0;var n=i(296);function r(e,t){return null==e?e:{eventType:(0,n.exists)(e,"eventType")?e.eventType:void 0,chatId:(0,n.exists)(e,"chatId")?e.chatId:void 0,url:(0,n.exists)(e,"url")?e.url:void 0,org:(0,n.exists)(e,"org")?e.org:void 0,building:(0,n.exists)(e,"building")?e.building:void 0,referrer:(0,n.exists)(e,"referrer")?e.referrer:void 0,featureFlags:(0,n.exists)(e,"featureFlags")?e.featureFlags:void 0}}t.ChatTelemetryDtoFromJSON=function(e){return r(e)},t.ChatTelemetryDtoFromJSONTyped=r,t.ChatTelemetryDtoToJSON=function(e){if(void 0!==e)return null===e?null:{eventType:e.eventType,chatId:e.chatId,url:e.url,org:e.org,building:e.building,referrer:e.referrer,featureFlags:e.featureFlags}}},1172:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.CommunitiesDefaultsToJSON=t.CommunitiesDefaultsFromJSONTyped=t.CommunitiesDefaultsFromJSON=void 0;var n=i(296),r=i(6448),o=i(6161),a=i(6069),s=i(6122);function l(e,t){return null==e?e:{virtualTourType:(0,n.exists)(e,"virtualTourType")?(0,s.SettingVirtualTourTypeFromJSON)(e.virtualTourType):void 0,virtualTourPlatforms:(0,n.exists)(e,"virtualTourPlatforms")?(0,a.SettingStringFromJSON)(e.virtualTourPlatforms):void 0,furnishedOffered:(0,n.exists)(e,"furnishedOffered")?(0,o.SettingIntegerFromJSON)(e.furnishedOffered):void 0,furnishedUnitsPolicy:(0,n.exists)(e,"furnishedUnitsPolicy")?(0,a.SettingStringFromJSON)(e.furnishedUnitsPolicy):void 0,utilitiesIncluded:(0,n.exists)(e,"utilitiesIncluded")?(0,a.SettingStringFromJSON)(e.utilitiesIncluded):void 0,utilitiesNotIncluded:(0,n.exists)(e,"utilitiesNotIncluded")?(0,a.SettingStringFromJSON)(e.utilitiesNotIncluded):void 0,advancedMoveInAllowenceInDays:(0,n.exists)(e,"advancedMoveInAllowenceInDays")?(0,o.SettingIntegerFromJSON)(e.advancedMoveInAllowenceInDays):void 0,occupiedUnits:(0,n.exists)(e,"occupiedUnits")?(0,o.SettingIntegerFromJSON)(e.occupiedUnits):void 0,showUnitsWithPendingApplication:(0,n.exists)(e,"showUnitsWithPendingApplication")?(0,r.SettingBooleanFromJSON)(e.showUnitsWithPendingApplication):void 0,confirmAppointmentsRenovatingUnits:(0,n.exists)(e,"confirmAppointmentsRenovatingUnits")?(0,r.SettingBooleanFromJSON)(e.confirmAppointmentsRenovatingUnits):void 0,occupiedUnitsAdvancedNoticeInHours:(0,n.exists)(e,"occupiedUnitsAdvancedNoticeInHours")?(0,o.SettingIntegerFromJSON)(e.occupiedUnitsAdvancedNoticeInHours):void 0,confirmAppointmentsOccupiedUnits:(0,n.exists)(e,"confirmAppointmentsOccupiedUnits")?(0,r.SettingBooleanFromJSON)(e.confirmAppointmentsOccupiedUnits):void 0,showOccupiedUnitsWithPendingApplication:(0,n.exists)(e,"showOccupiedUnitsWithPendingApplication")?(0,r.SettingBooleanFromJSON)(e.showOccupiedUnitsWithPendingApplication):void 0,leaseholderApplicationDocumentsRequired:(0,n.exists)(e,"leaseholderApplicationDocumentsRequired")?(0,a.SettingStringFromJSON)(e.leaseholderApplicationDocumentsRequired):void 0,leaseholderMinimumCreditScoreRequirement:(0,n.exists)(e,"leaseholderMinimumCreditScoreRequirement")?(0,a.SettingStringFromJSON)(e.leaseholderMinimumCreditScoreRequirement):void 0,noCreditQualificationAlternative:(0,n.exists)(e,"noCreditQualificationAlternative")?(0,a.SettingStringFromJSON)(e.noCreditQualificationAlternative):void 0,incomeRequirementRentMultiplierTimePeriod:(0,n.exists)(e,"incomeRequirementRentMultiplierTimePeriod")?(0,r.SettingBooleanFromJSON)(e.incomeRequirementRentMultiplierTimePeriod):void 0,rentRequiredOnLeaseSigning:(0,n.exists)(e,"rentRequiredOnLeaseSigning")?(0,a.SettingStringFromJSON)(e.rentRequiredOnLeaseSigning):void 0,paymentFormsAccepted:(0,n.exists)(e,"paymentFormsAccepted")?(0,a.SettingStringFromJSON)(e.paymentFormsAccepted):void 0,internationalStudentRequirements:(0,n.exists)(e,"internationalStudentRequirements")?(0,a.SettingStringFromJSON)(e.internationalStudentRequirements):void 0,guarantorMinimumCreditScoreRequirement:(0,n.exists)(e,"guarantorMinimumCreditScoreRequirement")?(0,a.SettingStringFromJSON)(e.guarantorMinimumCreditScoreRequirement):void 0,effectiveRentComputeType:(0,n.exists)(e,"effectiveRentComputeType")?(0,o.SettingIntegerFromJSON)(e.effectiveRentComputeType):void 0,avoidQuotingPrices:(0,n.exists)(e,"avoidQuotingPrices")?(0,r.SettingBooleanFromJSON)(e.avoidQuotingPrices):void 0,defaultAvailabilityQuoteMatchMoveInDate:(0,n.exists)(e,"defaultAvailabilityQuoteMatchMoveInDate")?(0,r.SettingBooleanFromJSON)(e.defaultAvailabilityQuoteMatchMoveInDate):void 0,rentComputeType:(0,n.exists)(e,"rentComputeType")?(0,o.SettingIntegerFromJSON)(e.rentComputeType):void 0,rentWithIncentivesQuoteFormat:(0,n.exists)(e,"rentWithIncentivesQuoteFormat")?(0,a.SettingStringFromJSON)(e.rentWithIncentivesQuoteFormat):void 0,rentQuoteFormat:(0,n.exists)(e,"rentQuoteFormat")?(0,a.SettingStringFromJSON)(e.rentQuoteFormat):void 0}}t.CommunitiesDefaultsFromJSON=function(e){return l(e)},t.CommunitiesDefaultsFromJSONTyped=l,t.CommunitiesDefaultsToJSON=function(e){if(void 0!==e)return null===e?null:{virtualTourType:(0,s.SettingVirtualTourTypeToJSON)(e.virtualTourType),virtualTourPlatforms:(0,a.SettingStringToJSON)(e.virtualTourPlatforms),furnishedOffered:(0,o.SettingIntegerToJSON)(e.furnishedOffered),furnishedUnitsPolicy:(0,a.SettingStringToJSON)(e.furnishedUnitsPolicy),utilitiesIncluded:(0,a.SettingStringToJSON)(e.utilitiesIncluded),utilitiesNotIncluded:(0,a.SettingStringToJSON)(e.utilitiesNotIncluded),advancedMoveInAllowenceInDays:(0,o.SettingIntegerToJSON)(e.advancedMoveInAllowenceInDays),occupiedUnits:(0,o.SettingIntegerToJSON)(e.occupiedUnits),showUnitsWithPendingApplication:(0,r.SettingBooleanToJSON)(e.showUnitsWithPendingApplication),confirmAppointmentsRenovatingUnits:(0,r.SettingBooleanToJSON)(e.confirmAppointmentsRenovatingUnits),occupiedUnitsAdvancedNoticeInHours:(0,o.SettingIntegerToJSON)(e.occupiedUnitsAdvancedNoticeInHours),confirmAppointmentsOccupiedUnits:(0,r.SettingBooleanToJSON)(e.confirmAppointmentsOccupiedUnits),showOccupiedUnitsWithPendingApplication:(0,r.SettingBooleanToJSON)(e.showOccupiedUnitsWithPendingApplication),leaseholderApplicationDocumentsRequired:(0,a.SettingStringToJSON)(e.leaseholderApplicationDocumentsRequired),leaseholderMinimumCreditScoreRequirement:(0,a.SettingStringToJSON)(e.leaseholderMinimumCreditScoreRequirement),noCreditQualificationAlternative:(0,a.SettingStringToJSON)(e.noCreditQualificationAlternative),incomeRequirementRentMultiplierTimePeriod:(0,r.SettingBooleanToJSON)(e.incomeRequirementRentMultiplierTimePeriod),rentRequiredOnLeaseSigning:(0,a.SettingStringToJSON)(e.rentRequiredOnLeaseSigning),paymentFormsAccepted:(0,a.SettingStringToJSON)(e.paymentFormsAccepted),internationalStudentRequirements:(0,a.SettingStringToJSON)(e.internationalStudentRequirements),guarantorMinimumCreditScoreRequirement:(0,a.SettingStringToJSON)(e.guarantorMinimumCreditScoreRequirement),effectiveRentComputeType:(0,o.SettingIntegerToJSON)(e.effectiveRentComputeType),avoidQuotingPrices:(0,r.SettingBooleanToJSON)(e.avoidQuotingPrices),defaultAvailabilityQuoteMatchMoveInDate:(0,r.SettingBooleanToJSON)(e.defaultAvailabilityQuoteMatchMoveInDate),rentComputeType:(0,o.SettingIntegerToJSON)(e.rentComputeType),rentWithIncentivesQuoteFormat:(0,a.SettingStringToJSON)(e.rentWithIncentivesQuoteFormat),rentQuoteFormat:(0,a.SettingStringToJSON)(e.rentQuoteFormat)}}},3077:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.CommunityFormViewToJSON=t.CommunityFormViewFromJSONTyped=t.CommunityFormViewFromJSON=t.CommunityFormViewVirtualTourTypeEnum=t.CommunityFormViewTourNotificationEmailsModeEnum=void 0;var n,r,o=i(296),a=i(3617);function s(e,t){return null==e?e:{id:(0,o.exists)(e,"id")?e.id:void 0,managementCompanyId:(0,o.exists)(e,"managementCompanyId")?e.managementCompanyId:void 0,organizationId:(0,o.exists)(e,"organizationId")?e.organizationId:void 0,active:(0,o.exists)(e,"active")?e.active:void 0,handoffForwardToEmails:(0,o.exists)(e,"handoffForwardToEmails")?e.handoffForwardToEmails:void 0,responseCcEmails:(0,o.exists)(e,"responseCcEmails")?e.responseCcEmails:void 0,responseBccEmails:(0,o.exists)(e,"responseBccEmails")?e.responseBccEmails:void 0,buildingName:(0,o.exists)(e,"buildingName")?e.buildingName:void 0,address1:(0,o.exists)(e,"address1")?e.address1:void 0,address2:(0,o.exists)(e,"address2")?e.address2:void 0,address3:(0,o.exists)(e,"address3")?e.address3:void 0,city:(0,o.exists)(e,"city")?e.city:void 0,state:(0,o.exists)(e,"state")?e.state:void 0,postalCode:(0,o.exists)(e,"postalCode")?e.postalCode:void 0,crossStreets:(0,o.exists)(e,"crossStreets")?e.crossStreets:void 0,neighborhood:(0,o.exists)(e,"neighborhood")?e.neighborhood:void 0,nearbyTransportation:(0,o.exists)(e,"nearbyTransportation")?e.nearbyTransportation:void 0,totalUnits:(0,o.exists)(e,"totalUnits")?e.totalUnits:void 0,totalFloors:(0,o.exists)(e,"totalFloors")?e.totalFloors:void 0,greenBuilding:(0,o.exists)(e,"greenBuilding")?e.greenBuilding:void 0,elevator:(0,o.exists)(e,"elevator")?e.elevator:void 0,freightElevator:(0,o.exists)(e,"freightElevator")?e.freightElevator:void 0,petPolicy:(0,o.exists)(e,"petPolicy")?e.petPolicy:void 0,petFeeOrDeposit:(0,o.exists)(e,"petFeeOrDeposit")?e.petFeeOrDeposit:void 0,utilitiesIncluded:(0,o.exists)(e,"utilitiesIncluded")?e.utilitiesIncluded:void 0,utilitiesNotIncluded:(0,o.exists)(e,"utilitiesNotIncluded")?e.utilitiesNotIncluded:void 0,minLeaseTermAccepted:(0,o.exists)(e,"minLeaseTermAccepted")?e.minLeaseTermAccepted:void 0,furnishedOffered:(0,o.exists)(e,"furnishedOffered")?e.furnishedOffered:void 0,furnishedUnitsPolicy:(0,o.exists)(e,"furnishedUnitsPolicy")?e.furnishedUnitsPolicy:void 0,internationalStudentRequirements:(0,o.exists)(e,"internationalStudentRequirements")?e.internationalStudentRequirements:void 0,amenitiesFee:(0,o.exists)(e,"amenitiesFee")?e.amenitiesFee:void 0,corporateLeasesAccepted:(0,o.exists)(e,"corporateLeasesAccepted")?e.corporateLeasesAccepted:void 0,doorman:(0,o.exists)(e,"doorman")?e.doorman:void 0,intercom:(0,o.exists)(e,"intercom")?e.intercom:void 0,liveInSuper:(0,o.exists)(e,"liveInSuper")?e.liveInSuper:void 0,concierge:(0,o.exists)(e,"concierge")?e.concierge:void 0,laundryInBuilding:(0,o.exists)(e,"laundryInBuilding")?e.laundryInBuilding:void 0,packageReceiving:(0,o.exists)(e,"packageReceiving")?e.packageReceiving:void 0,gym:(0,o.exists)(e,"gym")?e.gym:void 0,storage:(0,o.exists)(e,"storage")?e.storage:void 0,bicycleRoom:(0,o.exists)(e,"bicycleRoom")?e.bicycleRoom:void 0,lounge:(0,o.exists)(e,"lounge")?e.lounge:void 0,clubHouse:(0,o.exists)(e,"clubHouse")?e.clubHouse:void 0,businessCenter:(0,o.exists)(e,"businessCenter")?e.businessCenter:void 0,outdoorSpace:(0,o.exists)(e,"outdoorSpace")?e.outdoorSpace:void 0,roofDeck:(0,o.exists)(e,"roofDeck")?e.roofDeck:void 0,courtyard:(0,o.exists)(e,"courtyard")?e.courtyard:void 0,childrenPlayroom:(0,o.exists)(e,"childrenPlayroom")?e.childrenPlayroom:void 0,nursery:(0,o.exists)(e,"nursery")?e.nursery:void 0,maidService:(0,o.exists)(e,"maidService")?e.maidService:void 0,pool:(0,o.exists)(e,"pool")?e.pool:void 0,wheelchairAccess:(0,o.exists)(e,"wheelchairAccess")?e.wheelchairAccess:void 0,thirdPartyGuarantorTypesAccepted:(0,o.exists)(e,"thirdPartyGuarantorTypesAccepted")?e.thirdPartyGuarantorTypesAccepted:void 0,noCreditQualificationAlternative:(0,o.exists)(e,"noCreditQualificationAlternative")?e.noCreditQualificationAlternative:void 0,virtualTourPlatforms:(0,o.exists)(e,"virtualTourPlatforms")?e.virtualTourPlatforms:void 0,flexWallPolicy:(0,o.exists)(e,"flexWallPolicy")?e.flexWallPolicy:void 0,leaseholderApplicationFee:(0,o.exists)(e,"leaseholderApplicationFee")?e.leaseholderApplicationFee:void 0,guarantorApplicationFee:(0,o.exists)(e,"guarantorApplicationFee")?e.guarantorApplicationFee:void 0,tenantIncomeRequirementRentMultiplier:(0,o.exists)(e,"tenantIncomeRequirementRentMultiplier")?e.tenantIncomeRequirementRentMultiplier:void 0,guarantorIncomeRequirementRentMultiplier:(0,o.exists)(e,"guarantorIncomeRequirementRentMultiplier")?e.guarantorIncomeRequirementRentMultiplier:void 0,leaseholderMinimumCreditScoreRequirement:(0,o.exists)(e,"leaseholderMinimumCreditScoreRequirement")?e.leaseholderMinimumCreditScoreRequirement:void 0,guarantorMinimumCreditScoreRequirement:(0,o.exists)(e,"guarantorMinimumCreditScoreRequirement")?e.guarantorMinimumCreditScoreRequirement:void 0,leaseholderApplicationDocumentsRequired:(0,o.exists)(e,"leaseholderApplicationDocumentsRequired")?e.leaseholderApplicationDocumentsRequired:void 0,guarantorsAccepted:(0,o.exists)(e,"guarantorsAccepted")?e.guarantorsAccepted:void 0,prepaymentPolicy:(0,o.exists)(e,"prepaymentPolicy")?e.prepaymentPolicy:void 0,rentRequiredOnLeaseSigning:(0,o.exists)(e,"rentRequiredOnLeaseSigning")?e.rentRequiredOnLeaseSigning:void 0,paymentFormsAccepted:(0,o.exists)(e,"paymentFormsAccepted")?e.paymentFormsAccepted:void 0,leasingBrochureUrl:(0,o.exists)(e,"leasingBrochureUrl")?e.leasingBrochureUrl:void 0,leasingOfficeHours:(0,o.exists)(e,"leasingOfficeHours")?e.leasingOfficeHours:void 0,appointmentHours:(0,o.exists)(e,"appointmentHours")?e.appointmentHours.map(a.AppointmentHoursFromJSON):void 0,occupiedUnitsShowingHours:(0,o.exists)(e,"occupiedUnitsShowingHours")?e.occupiedUnitsShowingHours:void 0,tourDuration:(0,o.exists)(e,"tourDuration")?e.tourDuration:void 0,leasingPhoneNumber:(0,o.exists)(e,"leasingPhoneNumber")?e.leasingPhoneNumber:void 0,callCenterNumber:(0,o.exists)(e,"callCenterNumber")?e.callCenterNumber:void 0,buildingWebsiteUrl:(0,o.exists)(e,"buildingWebsiteUrl")?e.buildingWebsiteUrl:void 0,applicationLink:(0,o.exists)(e,"applicationLink")?e.applicationLink:void 0,geoAddress:(0,o.exists)(e,"geoAddress")?e.geoAddress:void 0,googleMapsUrl:(0,o.exists)(e,"googleMapsUrl")?e.googleMapsUrl:void 0,appointmentMeetingLocation:(0,o.exists)(e,"appointmentMeetingLocation")?e.appointmentMeetingLocation:void 0,appointmentDirections:(0,o.exists)(e,"appointmentDirections")?e.appointmentDirections:void 0,appointmentAdditionalDirections:(0,o.exists)(e,"appointmentAdditionalDirections")?e.appointmentAdditionalDirections:void 0,rentComputeType:(0,o.exists)(e,"rentComputeType")?e.rentComputeType:void 0,autosendActive:(0,o.exists)(e,"autosendActive")?e.autosendActive:void 0,advancedMoveInAllowenceInDays:(0,o.exists)(e,"advancedMoveInAllowenceInDays")?e.advancedMoveInAllowenceInDays:void 0,showByOpenHouseOnly:(0,o.exists)(e,"showByOpenHouseOnly")?e.showByOpenHouseOnly:void 0,showUnitsWithPendingApplication:(0,o.exists)(e,"showUnitsWithPendingApplication")?e.showUnitsWithPendingApplication:void 0,showOccupiedUnitsWithPendingApplication:(0,o.exists)(e,"showOccupiedUnitsWithPendingApplication")?e.showOccupiedUnitsWithPendingApplication:void 0,confirmAppointmentsOccupiedUnits:(0,o.exists)(e,"confirmAppointmentsOccupiedUnits")?e.confirmAppointmentsOccupiedUnits:void 0,confirmAppointmentsRenovatingUnits:(0,o.exists)(e,"confirmAppointmentsRenovatingUnits")?e.confirmAppointmentsRenovatingUnits:void 0,occupiedUnitsAdvancedNoticeInHours:(0,o.exists)(e,"occupiedUnitsAdvancedNoticeInHours")?e.occupiedUnitsAdvancedNoticeInHours:void 0,alternativeBuildingNames:(0,o.exists)(e,"alternativeBuildingNames")?e.alternativeBuildingNames:void 0,externalIds:(0,o.exists)(e,"externalIds")?e.externalIds:void 0,externalCrmId:(0,o.exists)(e,"externalCrmId")?e.externalCrmId:void 0,defaultAvailabilityQuoteMatchMoveInDate:(0,o.exists)(e,"defaultAvailabilityQuoteMatchMoveInDate")?e.defaultAvailabilityQuoteMatchMoveInDate:void 0,leaseRenewalNoticeInDays:(0,o.exists)(e,"leaseRenewalNoticeInDays")?e.leaseRenewalNoticeInDays:void 0,rentQuoteFormat:(0,o.exists)(e,"rentQuoteFormat")?e.rentQuoteFormat:void 0,rentWithIncentivesQuoteFormat:(0,o.exists)(e,"rentWithIncentivesQuoteFormat")?e.rentWithIncentivesQuoteFormat:void 0,effectiveRentComputeType:(0,o.exists)(e,"effectiveRentComputeType")?e.effectiveRentComputeType:void 0,maxLeaseTermAccepted:(0,o.exists)(e,"maxLeaseTermAccepted")?e.maxLeaseTermAccepted:void 0,parkingInformation:(0,o.exists)(e,"parkingInformation")?e.parkingInformation:void 0,storageFee:(0,o.exists)(e,"storageFee")?e.storageFee:void 0,incentivesProperlyConnected:(0,o.exists)(e,"incentivesProperlyConnected")?e.incentivesProperlyConnected:void 0,prioritizeShowingVacantUnits:(0,o.exists)(e,"prioritizeShowingVacantUnits")?e.prioritizeShowingVacantUnits:void 0,electricCompany:(0,o.exists)(e,"electricCompany")?e.electricCompany:void 0,gasCompany:(0,o.exists)(e,"gasCompany")?e.gasCompany:void 0,telephoneCompany:(0,o.exists)(e,"telephoneCompany")?e.telephoneCompany:void 0,televisionCompany:(0,o.exists)(e,"televisionCompany")?e.televisionCompany:void 0,waterCompany:(0,o.exists)(e,"waterCompany")?e.waterCompany:void 0,internetCompany:(0,o.exists)(e,"internetCompany")?e.internetCompany:void 0,localHospital:(0,o.exists)(e,"localHospital")?e.localHospital:void 0,localSchoolDistrict:(0,o.exists)(e,"localSchoolDistrict")?e.localSchoolDistrict:void 0,localElementarySchool:(0,o.exists)(e,"localElementarySchool")?e.localElementarySchool:void 0,localMiddleSchool:(0,o.exists)(e,"localMiddleSchool")?e.localMiddleSchool:void 0,localHighSchool:(0,o.exists)(e,"localHighSchool")?e.localHighSchool:void 0,localShoppingCenter:(0,o.exists)(e,"localShoppingCenter")?e.localShoppingCenter:void 0,localGroceryStore:(0,o.exists)(e,"localGroceryStore")?e.localGroceryStore:void 0,closestInterstates:(0,o.exists)(e,"closestInterstates")?e.closestInterstates:void 0,buildingPicturesUrl:(0,o.exists)(e,"buildingPicturesUrl")?e.buildingPicturesUrl:void 0,buildingFloorPlansUrl:(0,o.exists)(e,"buildingFloorPlansUrl")?e.buildingFloorPlansUrl:void 0,nonexistentLayouts:(0,o.exists)(e,"nonexistentLayouts")?e.nonexistentLayouts:void 0,avoidQuotingPrices:(0,o.exists)(e,"avoidQuotingPrices")?e.avoidQuotingPrices:void 0,excludeNotRentReadyUnit:(0,o.exists)(e,"excludeNotRentReadyUnit")?e.excludeNotRentReadyUnit:void 0,flexWallsAllowed:(0,o.exists)(e,"flexWallsAllowed")?e.flexWallsAllowed:void 0,petsAccepted:(0,o.exists)(e,"petsAccepted")?e.petsAccepted:void 0,showOccupiedUnits:(0,o.exists)(e,"showOccupiedUnits")?e.showOccupiedUnits:void 0,guarantorsAcceptedSwitch:(0,o.exists)(e,"guarantorsAcceptedSwitch")?e.guarantorsAcceptedSwitch:void 0,thirdPartyGuarantorsAccepted:(0,o.exists)(e,"thirdPartyGuarantorsAccepted")?e.thirdPartyGuarantorsAccepted:void 0,leasingOfficeOnsite:(0,o.exists)(e,"leasingOfficeOnsite")?e.leasingOfficeOnsite:void 0,building3dMediaUrl:(0,o.exists)(e,"building3dMediaUrl")?e.building3dMediaUrl:void 0,inPersonToursAllowed:(0,o.exists)(e,"inPersonToursAllowed")?e.inPersonToursAllowed:void 0,selfGuidedToursEnabled:(0,o.exists)(e,"selfGuidedToursEnabled")?e.selfGuidedToursEnabled:void 0,noUnitSelfGuidedTourAllowed:(0,o.exists)(e,"noUnitSelfGuidedTourAllowed")?e.noUnitSelfGuidedTourAllowed:void 0,textForwardToEmails:(0,o.exists)(e,"textForwardToEmails")?e.textForwardToEmails:void 0,omitDesiredFloorPlan:(0,o.exists)(e,"omitDesiredFloorPlan")?e.omitDesiredFloorPlan:void 0,tourNotificationEmailsMode:(0,o.exists)(e,"tourNotificationEmailsMode")?e.tourNotificationEmailsMode:void 0,virtualTourType:(0,o.exists)(e,"virtualTourType")?e.virtualTourType:void 0,offeredLayouts:(0,o.exists)(e,"offeredLayouts")?e.offeredLayouts:void 0,weeklyReportEmails:(0,o.exists)(e,"weeklyReportEmails")?e.weeklyReportEmails:void 0,dailyReportEmails:(0,o.exists)(e,"dailyReportEmails")?e.dailyReportEmails:void 0,sgtUrl:(0,o.exists)(e,"sgtUrl")?e.sgtUrl:void 0,preRecordedVirtualTourUrl:(0,o.exists)(e,"preRecordedVirtualTourUrl")?e.preRecordedVirtualTourUrl:void 0,liveVirtualToursLink:(0,o.exists)(e,"liveVirtualToursLink")?e.liveVirtualToursLink:void 0,selfGuidedToursLink:(0,o.exists)(e,"selfGuidedToursLink")?e.selfGuidedToursLink:void 0}}(r=t.CommunityFormViewTourNotificationEmailsModeEnum||(t.CommunityFormViewTourNotificationEmailsModeEnum={})).NoNotification="NO_NOTIFICATION",r.AllViewings="ALL_VIEWINGS",r.SameDayViewings="SAME_DAY_VIEWINGS",(n=t.CommunityFormViewVirtualTourTypeEnum||(t.CommunityFormViewVirtualTourTypeEnum={})).NotEnabled="NOT_ENABLED",n.SelfManaged="SELF_MANAGED",n.Whereby="WHEREBY",t.CommunityFormViewFromJSON=function(e){return s(e)},t.CommunityFormViewFromJSONTyped=s,t.CommunityFormViewToJSON=function(e){if(void 0!==e)return null===e?null:{id:e.id,managementCompanyId:e.managementCompanyId,organizationId:e.organizationId,active:e.active,handoffForwardToEmails:e.handoffForwardToEmails,responseCcEmails:e.responseCcEmails,responseBccEmails:e.responseBccEmails,buildingName:e.buildingName,address1:e.address1,address2:e.address2,address3:e.address3,city:e.city,state:e.state,postalCode:e.postalCode,crossStreets:e.crossStreets,neighborhood:e.neighborhood,nearbyTransportation:e.nearbyTransportation,totalUnits:e.totalUnits,totalFloors:e.totalFloors,greenBuilding:e.greenBuilding,elevator:e.elevator,freightElevator:e.freightElevator,petPolicy:e.petPolicy,petFeeOrDeposit:e.petFeeOrDeposit,utilitiesIncluded:e.utilitiesIncluded,utilitiesNotIncluded:e.utilitiesNotIncluded,minLeaseTermAccepted:e.minLeaseTermAccepted,furnishedOffered:e.furnishedOffered,furnishedUnitsPolicy:e.furnishedUnitsPolicy,internationalStudentRequirements:e.internationalStudentRequirements,amenitiesFee:e.amenitiesFee,corporateLeasesAccepted:e.corporateLeasesAccepted,doorman:e.doorman,intercom:e.intercom,liveInSuper:e.liveInSuper,concierge:e.concierge,laundryInBuilding:e.laundryInBuilding,packageReceiving:e.packageReceiving,gym:e.gym,storage:e.storage,bicycleRoom:e.bicycleRoom,lounge:e.lounge,clubHouse:e.clubHouse,businessCenter:e.businessCenter,outdoorSpace:e.outdoorSpace,roofDeck:e.roofDeck,courtyard:e.courtyard,childrenPlayroom:e.childrenPlayroom,nursery:e.nursery,maidService:e.maidService,pool:e.pool,wheelchairAccess:e.wheelchairAccess,thirdPartyGuarantorTypesAccepted:e.thirdPartyGuarantorTypesAccepted,noCreditQualificationAlternative:e.noCreditQualificationAlternative,virtualTourPlatforms:e.virtualTourPlatforms,flexWallPolicy:e.flexWallPolicy,leaseholderApplicationFee:e.leaseholderApplicationFee,guarantorApplicationFee:e.guarantorApplicationFee,tenantIncomeRequirementRentMultiplier:e.tenantIncomeRequirementRentMultiplier,guarantorIncomeRequirementRentMultiplier:e.guarantorIncomeRequirementRentMultiplier,leaseholderMinimumCreditScoreRequirement:e.leaseholderMinimumCreditScoreRequirement,guarantorMinimumCreditScoreRequirement:e.guarantorMinimumCreditScoreRequirement,leaseholderApplicationDocumentsRequired:e.leaseholderApplicationDocumentsRequired,guarantorsAccepted:e.guarantorsAccepted,prepaymentPolicy:e.prepaymentPolicy,rentRequiredOnLeaseSigning:e.rentRequiredOnLeaseSigning,paymentFormsAccepted:e.paymentFormsAccepted,leasingBrochureUrl:e.leasingBrochureUrl,leasingOfficeHours:e.leasingOfficeHours,appointmentHours:void 0===e.appointmentHours?void 0:e.appointmentHours.map(a.AppointmentHoursToJSON),occupiedUnitsShowingHours:e.occupiedUnitsShowingHours,tourDuration:e.tourDuration,leasingPhoneNumber:e.leasingPhoneNumber,callCenterNumber:e.callCenterNumber,buildingWebsiteUrl:e.buildingWebsiteUrl,applicationLink:e.applicationLink,geoAddress:e.geoAddress,googleMapsUrl:e.googleMapsUrl,appointmentMeetingLocation:e.appointmentMeetingLocation,appointmentDirections:e.appointmentDirections,appointmentAdditionalDirections:e.appointmentAdditionalDirections,rentComputeType:e.rentComputeType,autosendActive:e.autosendActive,advancedMoveInAllowenceInDays:e.advancedMoveInAllowenceInDays,showByOpenHouseOnly:e.showByOpenHouseOnly,showUnitsWithPendingApplication:e.showUnitsWithPendingApplication,showOccupiedUnitsWithPendingApplication:e.showOccupiedUnitsWithPendingApplication,confirmAppointmentsOccupiedUnits:e.confirmAppointmentsOccupiedUnits,confirmAppointmentsRenovatingUnits:e.confirmAppointmentsRenovatingUnits,occupiedUnitsAdvancedNoticeInHours:e.occupiedUnitsAdvancedNoticeInHours,alternativeBuildingNames:e.alternativeBuildingNames,externalIds:e.externalIds,externalCrmId:e.externalCrmId,defaultAvailabilityQuoteMatchMoveInDate:e.defaultAvailabilityQuoteMatchMoveInDate,leaseRenewalNoticeInDays:e.leaseRenewalNoticeInDays,rentQuoteFormat:e.rentQuoteFormat,rentWithIncentivesQuoteFormat:e.rentWithIncentivesQuoteFormat,effectiveRentComputeType:e.effectiveRentComputeType,maxLeaseTermAccepted:e.maxLeaseTermAccepted,parkingInformation:e.parkingInformation,storageFee:e.storageFee,incentivesProperlyConnected:e.incentivesProperlyConnected,prioritizeShowingVacantUnits:e.prioritizeShowingVacantUnits,electricCompany:e.electricCompany,gasCompany:e.gasCompany,telephoneCompany:e.telephoneCompany,televisionCompany:e.televisionCompany,waterCompany:e.waterCompany,internetCompany:e.internetCompany,localHospital:e.localHospital,localSchoolDistrict:e.localSchoolDistrict,localElementarySchool:e.localElementarySchool,localMiddleSchool:e.localMiddleSchool,localHighSchool:e.localHighSchool,localShoppingCenter:e.localShoppingCenter,localGroceryStore:e.localGroceryStore,closestInterstates:e.closestInterstates,buildingPicturesUrl:e.buildingPicturesUrl,buildingFloorPlansUrl:e.buildingFloorPlansUrl,nonexistentLayouts:e.nonexistentLayouts,avoidQuotingPrices:e.avoidQuotingPrices,excludeNotRentReadyUnit:e.excludeNotRentReadyUnit,flexWallsAllowed:e.flexWallsAllowed,petsAccepted:e.petsAccepted,showOccupiedUnits:e.showOccupiedUnits,guarantorsAcceptedSwitch:e.guarantorsAcceptedSwitch,thirdPartyGuarantorsAccepted:e.thirdPartyGuarantorsAccepted,leasingOfficeOnsite:e.leasingOfficeOnsite,building3dMediaUrl:e.building3dMediaUrl,inPersonToursAllowed:e.inPersonToursAllowed,selfGuidedToursEnabled:e.selfGuidedToursEnabled,noUnitSelfGuidedTourAllowed:e.noUnitSelfGuidedTourAllowed,textForwardToEmails:e.textForwardToEmails,omitDesiredFloorPlan:e.omitDesiredFloorPlan,tourNotificationEmailsMode:e.tourNotificationEmailsMode,virtualTourType:e.virtualTourType,offeredLayouts:e.offeredLayouts,weeklyReportEmails:e.weeklyReportEmails,dailyReportEmails:e.dailyReportEmails,sgtUrl:e.sgtUrl,preRecordedVirtualTourUrl:e.preRecordedVirtualTourUrl,liveVirtualToursLink:e.liveVirtualToursLink,selfGuidedToursLink:e.selfGuidedToursLink}}},2817:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.CommunityPageBuildingToJSON=t.CommunityPageBuildingFromJSONTyped=t.CommunityPageBuildingFromJSON=void 0;var n=i(296);function r(e,t){return null==e?e:{buildingName:(0,n.exists)(e,"buildingName")?e.buildingName:void 0,launchDate:(0,n.exists)(e,"launchDate")?new Date(e.launchDate):void 0,organizationId:(0,n.exists)(e,"organizationId")?e.organizationId:void 0,organizationName:(0,n.exists)(e,"organizationName")?e.organizationName:void 0,assistantId:(0,n.exists)(e,"assistantId")?e.assistantId:void 0,assistantEmail:(0,n.exists)(e,"assistantEmail")?e.assistantEmail:void 0,externalIds:(0,n.exists)(e,"externalIds")?e.externalIds:void 0,externalCrmId:(0,n.exists)(e,"externalCrmId")?e.externalCrmId:void 0,id:(0,n.exists)(e,"id")?e.id:void 0,totalUnits:(0,n.exists)(e,"totalUnits")?e.totalUnits:void 0,address1:(0,n.exists)(e,"address1")?e.address1:void 0,city:(0,n.exists)(e,"city")?e.city:void 0,state:(0,n.exists)(e,"state")?e.state:void 0,postalCode:(0,n.exists)(e,"postalCode")?e.postalCode:void 0,active:(0,n.exists)(e,"active")?e.active:void 0,calendarId:(0,n.exists)(e,"calendarId")?e.calendarId:void 0}}t.CommunityPageBuildingFromJSON=function(e){return r(e)},t.CommunityPageBuildingFromJSONTyped=r,t.CommunityPageBuildingToJSON=function(e){if(void 0!==e)return null===e?null:{buildingName:e.buildingName,launchDate:void 0===e.launchDate?void 0:e.launchDate.toISOString(),organizationId:e.organizationId,organizationName:e.organizationName,assistantId:e.assistantId,assistantEmail:e.assistantEmail,externalIds:e.externalIds,externalCrmId:e.externalCrmId,id:e.id,totalUnits:e.totalUnits,address1:e.address1,city:e.city,state:e.state,postalCode:e.postalCode,active:e.active,calendarId:e.calendarId}}},9407:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ContextDtoToJSON=t.ContextDtoFromJSONTyped=t.ContextDtoFromJSON=void 0;var n=i(296);function r(e,t){return null==e?e:{id:(0,n.exists)(e,"id")?e.id:void 0,leadId:(0,n.exists)(e,"leadId")?e.leadId:void 0,partyId:(0,n.exists)(e,"partyId")?e.partyId:void 0}}t.ContextDtoFromJSON=function(e){return r(e)},t.ContextDtoFromJSONTyped=r,t.ContextDtoToJSON=function(e){if(void 0!==e)return null===e?null:{id:e.id,leadId:e.leadId,partyId:e.partyId}}},7058:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ConversationToJSON=t.ConversationFromJSONTyped=t.ConversationFromJSON=void 0;var n=i(296),r=i(3531);function o(e,t){return null==e?e:{leadContact:(0,n.exists)(e,"leadContact")?e.leadContact:void 0,conversations:(0,n.exists)(e,"conversations")?e.conversations.map(r.ConversationMessageFromJSON):void 0}}t.ConversationFromJSON=function(e){return o(e)},t.ConversationFromJSONTyped=o,t.ConversationToJSON=function(e){if(void 0!==e)return null===e?null:{leadContact:e.leadContact,conversations:void 0===e.conversations?void 0:e.conversations.map(r.ConversationMessageToJSON)}}},3531:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ConversationMessageToJSON=t.ConversationMessageFromJSONTyped=t.ConversationMessageFromJSON=void 0;var n=i(296);function r(e,t){return null==e?e:{sender:(0,n.exists)(e,"sender")?e.sender:void 0,body:(0,n.exists)(e,"body")?e.body:void 0,timeSent:(0,n.exists)(e,"timeSent")?e.timeSent:void 0}}t.ConversationMessageFromJSON=function(e){return r(e)},t.ConversationMessageFromJSONTyped=r,t.ConversationMessageToJSON=function(e){if(void 0!==e)return null===e?null:{sender:e.sender,body:e.body,timeSent:e.timeSent}}},6613:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ConversationMessageV2ToJSON=t.ConversationMessageV2FromJSONTyped=t.ConversationMessageV2FromJSON=t.ConversationMessageV2TypeEnum=void 0;var n,r=i(296);function o(e,t){return null==e?e:{type:(0,r.exists)(e,"type")?e.type:void 0,id:(0,r.exists)(e,"id")?e.id:void 0,timeSent:(0,r.exists)(e,"timeSent")?new Date(e.timeSent):void 0,body:(0,r.exists)(e,"body")?e.body:void 0,sender:(0,r.exists)(e,"sender")?e.sender:void 0,subject:(0,r.exists)(e,"subject")?e.subject:void 0,threadId:(0,r.exists)(e,"threadId")?e.threadId:void 0}}(n=t.ConversationMessageV2TypeEnum||(t.ConversationMessageV2TypeEnum={})).WebChat="WebChat",n.Email="Email",n.Text="Text",t.ConversationMessageV2FromJSON=function(e){return o(e)},t.ConversationMessageV2FromJSONTyped=o,t.ConversationMessageV2ToJSON=function(e){if(void 0!==e)return null===e?null:{type:e.type,id:e.id,timeSent:void 0===e.timeSent?void 0:e.timeSent.toISOString(),body:e.body,sender:e.sender,subject:e.subject,threadId:e.threadId}}},5040:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ConversationV2ToJSON=t.ConversationV2FromJSONTyped=t.ConversationV2FromJSON=void 0;var n=i(296),r=i(6613),o=i(7662);function a(e,t){return null==e?e:{lead:(0,n.exists)(e,"lead")?(0,o.LeadInfoFromJSON)(e.lead):void 0,conversations:(0,n.exists)(e,"conversations")?e.conversations.map(r.ConversationMessageV2FromJSON):void 0}}t.ConversationV2FromJSON=function(e){return a(e)},t.ConversationV2FromJSONTyped=a,t.ConversationV2ToJSON=function(e){if(void 0!==e)return null===e?null:{lead:(0,o.LeadInfoToJSON)(e.lead),conversations:void 0===e.conversations?void 0:e.conversations.map(r.ConversationMessageV2ToJSON)}}},5111:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.CreateCalendarEventTourHandlerDtoToJSON=t.CreateCalendarEventTourHandlerDtoFromJSONTyped=t.CreateCalendarEventTourHandlerDtoFromJSON=void 0;var n=i(296);function r(e,t){return null==e?e:{buildingId:(0,n.exists)(e,"buildingId")?e.buildingId:void 0,calendarEventId:e.calendarEventId,leasingAgentId:e.leasingAgentId}}t.CreateCalendarEventTourHandlerDtoFromJSON=function(e){return r(e)},t.CreateCalendarEventTourHandlerDtoFromJSONTyped=r,t.CreateCalendarEventTourHandlerDtoToJSON=function(e){if(void 0!==e)return null===e?null:{buildingId:e.buildingId,calendarEventId:e.calendarEventId,leasingAgentId:e.leasingAgentId}}},3202:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.CreateScriptRequestToJSON=t.CreateScriptRequestFromJSONTyped=t.CreateScriptRequestFromJSON=t.CreateScriptRequestHandoffIntentStateEnum=t.CreateScriptRequestTypeEnum=t.CreateScriptRequestMediaEnum=void 0;var n,r,o,a=i(296);function s(e,t){return null==e?e:{organizationId:(0,a.exists)(e,"organizationId")?e.organizationId:void 0,media:e.media,type:e.type,category:e.category,subIntent:(0,a.exists)(e,"subIntent")?e.subIntent:void 0,text:e.text,handoffIntentState:(0,a.exists)(e,"handoffIntentState")?e.handoffIntentState:void 0,communityId:(0,a.exists)(e,"communityId")?e.communityId:void 0}}(o=t.CreateScriptRequestMediaEnum||(t.CreateScriptRequestMediaEnum={})).Both="BOTH",o.Email="EMAIL",o.Sms="SMS",(r=t.CreateScriptRequestTypeEnum||(t.CreateScriptRequestTypeEnum={})).All="ALL",r.Template="TEMPLATE",r.TemplateItem="TEMPLATE_ITEM",(n=t.CreateScriptRequestHandoffIntentStateEnum||(t.CreateScriptRequestHandoffIntentStateEnum={})).None="NONE",n.YellowStatus="YELLOW_STATUS",n.RedAlertSend="RED_ALERT_SEND",n.RedAlertDoNotSend="RED_ALERT_DO_NOT_SEND",t.CreateScriptRequestFromJSON=function(e){return s(e)},t.CreateScriptRequestFromJSONTyped=s,t.CreateScriptRequestToJSON=function(e){if(void 0!==e)return null===e?null:{organizationId:e.organizationId,media:e.media,type:e.type,category:e.category,subIntent:e.subIntent,text:e.text,handoffIntentState:e.handoffIntentState,communityId:e.communityId}}},6058:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.CreateWhitelistConfigRequestToJSON=t.CreateWhitelistConfigRequestFromJSONTyped=t.CreateWhitelistConfigRequestFromJSON=void 0;var n=i(296);function r(e,t){return null==e?e:{buildingId:(0,n.exists)(e,"buildingId")?e.buildingId:void 0,testName:(0,n.exists)(e,"testName")?e.testName:void 0,whitelistingEmail:(0,n.exists)(e,"whitelistingEmail")?e.whitelistingEmail:void 0}}t.CreateWhitelistConfigRequestFromJSON=function(e){return r(e)},t.CreateWhitelistConfigRequestFromJSONTyped=r,t.CreateWhitelistConfigRequestToJSON=function(e){if(void 0!==e)return null===e?null:{buildingId:e.buildingId,testName:e.testName,whitelistingEmail:e.whitelistingEmail}}},3817:(e,t)=>{function i(e,t){return null==e?e:{startOfRange:new Date(e.startOfRange),endOfRange:new Date(e.endOfRange),buildingId:e.buildingId,numAiMessagesSent:e.numAiMessagesSent,numAiSentEmailFollowup:e.numAiSentEmailFollowup,numAiSentTextFollowup:e.numAiSentTextFollowup,averageMessagesPerProspect:e.averageMessagesPerProspect,prospectToTourConversion:e.prospectToTourConversion,numTours:e.numTours,tourBookedByMENoncancelled:e.tourBookedByMENoncancelled,tourAttended:e.tourAttended,aiBookedTourAttended:e.aiBookedTourAttended,newProspectsHandled:e.newProspectsHandled,hoursSavedByAi:e.hoursSavedByAi,numEarlyAgentTakeover:e.numEarlyAgentTakeover,numPassToAgent:e.numPassToAgent,numActionRequiredFromAgent:e.numActionRequiredFromAgent,numberLeadsApplied:e.numberLeadsApplied}}Object.defineProperty(t,"__esModule",{value:!0}),t.DateRangeReportToJSON=t.DateRangeReportFromJSONTyped=t.DateRangeReportFromJSON=void 0,t.DateRangeReportFromJSON=function(e){return i(e)},t.DateRangeReportFromJSONTyped=i,t.DateRangeReportToJSON=function(e){if(void 0!==e)return null===e?null:{startOfRange:e.startOfRange.toISOString(),endOfRange:e.endOfRange.toISOString(),buildingId:e.buildingId,numAiMessagesSent:e.numAiMessagesSent,numAiSentEmailFollowup:e.numAiSentEmailFollowup,numAiSentTextFollowup:e.numAiSentTextFollowup,averageMessagesPerProspect:e.averageMessagesPerProspect,prospectToTourConversion:e.prospectToTourConversion,numTours:e.numTours,tourBookedByMENoncancelled:e.tourBookedByMENoncancelled,tourAttended:e.tourAttended,aiBookedTourAttended:e.aiBookedTourAttended,newProspectsHandled:e.newProspectsHandled,hoursSavedByAi:e.hoursSavedByAi,numEarlyAgentTakeover:e.numEarlyAgentTakeover,numPassToAgent:e.numPassToAgent,numActionRequiredFromAgent:e.numActionRequiredFromAgent,numberLeadsApplied:e.numberLeadsApplied}}},8882:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.DialogueScriptToJSON=t.DialogueScriptFromJSONTyped=t.DialogueScriptFromJSON=void 0;var n=i(296);function r(e,t){return null==e?e:{id:(0,n.exists)(e,"id")?e.id:void 0,deleted:(0,n.exists)(e,"deleted")?e.deleted:void 0,buildingId:(0,n.exists)(e,"buildingId")?e.buildingId:void 0,organizationId:(0,n.exists)(e,"organizationId")?e.organizationId:void 0,name:(0,n.exists)(e,"name")?e.name:void 0,subintent:(0,n.exists)(e,"subintent")?e.subintent:void 0,text:(0,n.exists)(e,"text")?e.text:void 0}}t.DialogueScriptFromJSON=function(e){return r(e)},t.DialogueScriptFromJSONTyped=r,t.DialogueScriptToJSON=function(e){if(void 0!==e)return null===e?null:{id:e.id,deleted:e.deleted,buildingId:e.buildingId,organizationId:e.organizationId,name:e.name,subintent:e.subintent,text:e.text}}},6607:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.EliseCalendarEventToJSON=t.EliseCalendarEventFromJSONTyped=t.EliseCalendarEventFromJSON=t.EliseCalendarEventSmartLockAccessTypeEnum=void 0;var n,r=i(296);function o(e,t){return null==e?e:{id:(0,r.exists)(e,"id")?e.id:void 0,leadId:(0,r.exists)(e,"leadId")?e.leadId:void 0,userId:(0,r.exists)(e,"userId")?e.userId:void 0,calendarId:(0,r.exists)(e,"calendarId")?e.calendarId:void 0,contextId:(0,r.exists)(e,"contextId")?e.contextId:void 0,recurringEventId:(0,r.exists)(e,"recurringEventId")?e.recurringEventId:void 0,timeCreated:(0,r.exists)(e,"timeCreated")?new Date(e.timeCreated):void 0,description:(0,r.exists)(e,"description")?e.description:void 0,status:(0,r.exists)(e,"status")?e.status:void 0,summary:(0,r.exists)(e,"summary")?e.summary:void 0,eventLocation:(0,r.exists)(e,"eventLocation")?e.eventLocation:void 0,startTime:(0,r.exists)(e,"startTime")?new Date(e.startTime):void 0,endTime:(0,r.exists)(e,"endTime")?new Date(e.endTime):void 0,startTimeString:(0,r.exists)(e,"startTimeString")?e.startTimeString:void 0,endTimeString:(0,r.exists)(e,"endTimeString")?e.endTimeString:void 0,startTimeInUtc:(0,r.exists)(e,"startTimeInUtc")?e.startTimeInUtc:void 0,endTimeInUtc:(0,r.exists)(e,"endTimeInUtc")?e.endTimeInUtc:void 0,lastTimeUpdated:(0,r.exists)(e,"lastTimeUpdated")?new Date(e.lastTimeUpdated):void 0,recurringEvent:(0,r.exists)(e,"recurringEvent")?e.recurringEvent:void 0,recurringEventLatestTimestampStoredUntil:(0,r.exists)(e,"recurringEventLatestTimestampStoredUntil")?new Date(e.recurringEventLatestTimestampStoredUntil):void 0,preserveOnReset:(0,r.exists)(e,"preserveOnReset")?e.preserveOnReset:void 0,internalEvent:(0,r.exists)(e,"internalEvent")?e.internalEvent:void 0,skipExternalBooking:(0,r.exists)(e,"skipExternalBooking")?e.skipExternalBooking:void 0,ignoreOtherEvents:(0,r.exists)(e,"ignoreOtherEvents")?e.ignoreOtherEvents:void 0,htmlLink:(0,r.exists)(e,"htmlLink")?e.htmlLink:void 0,geteTag:(0,r.exists)(e,"geteTag")?e.geteTag:void 0,getiCalUID:(0,r.exists)(e,"getiCalUID")?e.getiCalUID:void 0,eventId:(0,r.exists)(e,"eventId")?e.eventId:void 0,creatorName:(0,r.exists)(e,"creatorName")?e.creatorName:void 0,creatorEmail:(0,r.exists)(e,"creatorEmail")?e.creatorEmail:void 0,organizerName:(0,r.exists)(e,"organizerName")?e.organizerName:void 0,organizerEmail:(0,r.exists)(e,"organizerEmail")?e.organizerEmail:void 0,transparency:(0,r.exists)(e,"transparency")?e.transparency:void 0,visibility:(0,r.exists)(e,"visibility")?e.visibility:void 0,colorId:(0,r.exists)(e,"colorId")?e.colorId:void 0,availabilityStatus:(0,r.exists)(e,"availabilityStatus")?e.availabilityStatus:void 0,relevantMessageId:(0,r.exists)(e,"relevantMessageId")?e.relevantMessageId:void 0,isPredicted:(0,r.exists)(e,"isPredicted")?e.isPredicted:void 0,isArchived:(0,r.exists)(e,"isArchived")?e.isArchived:void 0,smartLockAccessType:(0,r.exists)(e,"smartLockAccessType")?e.smartLockAccessType:void 0,traineeEmail:(0,r.exists)(e,"traineeEmail")?e.traineeEmail:void 0,notes:(0,r.exists)(e,"notes")?e.notes:void 0,cancelled:(0,r.exists)(e,"cancelled")?e.cancelled:void 0,_new:(0,r.exists)(e,"new")?e.new:void 0,busy:(0,r.exists)(e,"busy")?e.busy:void 0}}(n=t.EliseCalendarEventSmartLockAccessTypeEnum||(t.EliseCalendarEventSmartLockAccessTypeEnum={})).WithAgent="WITH_AGENT",n.ExternallyManaged="EXTERNALLY_MANAGED",n.SmartKeyAccessManaged="SMART_KEY_ACCESS_MANAGED",t.EliseCalendarEventFromJSON=function(e){return o(e)},t.EliseCalendarEventFromJSONTyped=o,t.EliseCalendarEventToJSON=function(e){if(void 0!==e)return null===e?null:{id:e.id,leadId:e.leadId,userId:e.userId,calendarId:e.calendarId,contextId:e.contextId,recurringEventId:e.recurringEventId,timeCreated:void 0===e.timeCreated?void 0:e.timeCreated.toISOString(),description:e.description,status:e.status,summary:e.summary,eventLocation:e.eventLocation,startTime:void 0===e.startTime?void 0:e.startTime.toISOString(),endTime:void 0===e.endTime?void 0:e.endTime.toISOString(),startTimeString:e.startTimeString,endTimeString:e.endTimeString,startTimeInUtc:e.startTimeInUtc,endTimeInUtc:e.endTimeInUtc,lastTimeUpdated:void 0===e.lastTimeUpdated?void 0:e.lastTimeUpdated.toISOString(),recurringEvent:e.recurringEvent,recurringEventLatestTimestampStoredUntil:void 0===e.recurringEventLatestTimestampStoredUntil?void 0:e.recurringEventLatestTimestampStoredUntil.toISOString(),preserveOnReset:e.preserveOnReset,internalEvent:e.internalEvent,skipExternalBooking:e.skipExternalBooking,ignoreOtherEvents:e.ignoreOtherEvents,htmlLink:e.htmlLink,geteTag:e.geteTag,getiCalUID:e.getiCalUID,eventId:e.eventId,creatorName:e.creatorName,creatorEmail:e.creatorEmail,organizerName:e.organizerName,organizerEmail:e.organizerEmail,transparency:e.transparency,visibility:e.visibility,colorId:e.colorId,availabilityStatus:e.availabilityStatus,relevantMessageId:e.relevantMessageId,isPredicted:e.isPredicted,isArchived:e.isArchived,smartLockAccessType:e.smartLockAccessType,traineeEmail:e.traineeEmail,notes:e.notes,cancelled:e.cancelled,new:e._new,busy:e.busy}}},5007:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.EliseGuestCardDtoToJSON=t.EliseGuestCardDtoFromJSONTyped=t.EliseGuestCardDtoFromJSON=t.EliseGuestCardDtoInitialLeadChannelEnum=t.EliseGuestCardDtoIntegrationSourceEnum=void 0;var n,r,o=i(296);function a(e,t){return null==e?e:{id:(0,o.exists)(e,"id")?e.id:void 0,firstName:(0,o.exists)(e,"firstName")?e.firstName:void 0,lastName:(0,o.exists)(e,"lastName")?e.lastName:void 0,phoneNumber:(0,o.exists)(e,"phoneNumber")?e.phoneNumber:void 0,email:(0,o.exists)(e,"email")?e.email:void 0,source:(0,o.exists)(e,"source")?e.source:void 0,externalClientMarketingSource:(0,o.exists)(e,"externalClientMarketingSource")?e.externalClientMarketingSource:void 0,desiredMoveInDate:(0,o.exists)(e,"desiredMoveInDate")?e.desiredMoveInDate:void 0,comments:(0,o.exists)(e,"comments")?e.comments:void 0,integrationSource:(0,o.exists)(e,"integrationSource")?e.integrationSource:void 0,initialLeadChannel:(0,o.exists)(e,"initialLeadChannel")?e.initialLeadChannel:void 0,layout:(0,o.exists)(e,"layout")?e.layout:void 0,desiredLeaseTerm:(0,o.exists)(e,"desiredLeaseTerm")?e.desiredLeaseTerm:void 0}}(r=t.EliseGuestCardDtoIntegrationSourceEnum||(t.EliseGuestCardDtoIntegrationSourceEnum={})).MeCalendar="ME-Calendar",r.Sst="sst",r.EqrApi="eqr-api",r.Elise="Elise",r.Avb="avb",r.Yardi="yardi",r.Entrata="entrata",r.Anyonehome="anyonehome",r.Realpage="realpage",(n=t.EliseGuestCardDtoInitialLeadChannelEnum||(t.EliseGuestCardDtoInitialLeadChannelEnum={})).WalkIn="WALK_IN",n.CallToProspect="CALL_TO_PROSPECT",n.CallFromProspect="CALL_FROM_PROSPECT",n.Other="OTHER",n.Text="TEXT",n.Email="EMAIL",n.WebService="WEB_SERVICE",n.Chat="CHAT",t.EliseGuestCardDtoFromJSON=function(e){return a(e)},t.EliseGuestCardDtoFromJSONTyped=a,t.EliseGuestCardDtoToJSON=function(e){if(void 0!==e)return null===e?null:{id:e.id,firstName:e.firstName,lastName:e.lastName,phoneNumber:e.phoneNumber,email:e.email,source:e.source,externalClientMarketingSource:e.externalClientMarketingSource,desiredMoveInDate:e.desiredMoveInDate,comments:e.comments,integrationSource:e.integrationSource,initialLeadChannel:e.initialLeadChannel,layout:e.layout,desiredLeaseTerm:e.desiredLeaseTerm}}},1057:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.EliseMessageIntentToJSON=t.EliseMessageIntentFromJSONTyped=t.EliseMessageIntentFromJSON=t.EliseMessageIntentMessageTypeEnum=void 0;var n,r=i(296);function o(e,t){return null==e?e:{id:(0,r.exists)(e,"id")?e.id:void 0,clientEmail:(0,r.exists)(e,"clientEmail")?e.clientEmail:void 0,leadEmail:(0,r.exists)(e,"leadEmail")?e.leadEmail:void 0,leadId:(0,r.exists)(e,"leadId")?e.leadId:void 0,hotMailId:(0,r.exists)(e,"hotMailId")?e.hotMailId:void 0,intentNameClassifiedAuto:(0,r.exists)(e,"intentNameClassifiedAuto")?e.intentNameClassifiedAuto:void 0,intentValue:(0,r.exists)(e,"intentValue")?e.intentValue:void 0,intentClassifer:(0,r.exists)(e,"intentClassifer")?e.intentClassifer:void 0,type:(0,r.exists)(e,"type")?e.type:void 0,verifiedHuman:(0,r.exists)(e,"verifiedHuman")?e.verifiedHuman:void 0,intentNameClassifiedManual:(0,r.exists)(e,"intentNameClassifiedManual")?e.intentNameClassifiedManual:void 0,intentNameSubintentClassifiedManual:(0,r.exists)(e,"intentNameSubintentClassifiedManual")?e.intentNameSubintentClassifiedManual:void 0,responseRequiringApprovalId:(0,r.exists)(e,"responseRequiringApprovalId")?e.responseRequiringApprovalId:void 0,pendingApproval:(0,r.exists)(e,"pendingApproval")?e.pendingApproval:void 0,strippedText:(0,r.exists)(e,"strippedText")?e.strippedText:void 0,isDeleted:(0,r.exists)(e,"isDeleted")?e.isDeleted:void 0,hotMailGmailMessageId:(0,r.exists)(e,"hotMailGmailMessageId")?e.hotMailGmailMessageId:void 0,processed:(0,r.exists)(e,"processed")?e.processed:void 0,getzIndex:(0,r.exists)(e,"getzIndex")?e.getzIndex:void 0,descriptiveNounForUnknownIntent:(0,r.exists)(e,"descriptiveNounForUnknownIntent")?e.descriptiveNounForUnknownIntent:void 0,aiTrainerInstructions:(0,r.exists)(e,"aiTrainerInstructions")?e.aiTrainerInstructions:void 0,messageType:(0,r.exists)(e,"messageType")?e.messageType:void 0,tag:(0,r.exists)(e,"tag")?e.tag:void 0}}(n=t.EliseMessageIntentMessageTypeEnum||(t.EliseMessageIntentMessageTypeEnum={})).EmailIntent="EMAIL_INTENT",n.TextIntent="TEXT_INTENT",t.EliseMessageIntentFromJSON=function(e){return o(e)},t.EliseMessageIntentFromJSONTyped=o,t.EliseMessageIntentToJSON=function(e){if(void 0!==e)return null===e?null:{id:e.id,clientEmail:e.clientEmail,leadEmail:e.leadEmail,leadId:e.leadId,hotMailId:e.hotMailId,intentNameClassifiedAuto:e.intentNameClassifiedAuto,intentValue:e.intentValue,intentClassifer:e.intentClassifer,type:e.type,verifiedHuman:e.verifiedHuman,intentNameClassifiedManual:e.intentNameClassifiedManual,intentNameSubintentClassifiedManual:e.intentNameSubintentClassifiedManual,responseRequiringApprovalId:e.responseRequiringApprovalId,pendingApproval:e.pendingApproval,strippedText:e.strippedText,isDeleted:e.isDeleted,hotMailGmailMessageId:e.hotMailGmailMessageId,processed:e.processed,getzIndex:e.getzIndex,descriptiveNounForUnknownIntent:e.descriptiveNounForUnknownIntent,aiTrainerInstructions:e.aiTrainerInstructions,messageType:e.messageType,tag:e.tag}}},7009:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ElisePredictedResponseToJSON=t.ElisePredictedResponseFromJSONTyped=t.ElisePredictedResponseFromJSON=void 0;var n=i(296),r=i(1234),o=i(1057),a=i(6045),s=i(8385);function l(e,t){return null==e?e:{responseMessageBody:(0,n.exists)(e,"responseMessageBody")?e.responseMessageBody:void 0,responseTemplate:(0,n.exists)(e,"responseTemplate")?e.responseTemplate:void 0,intents:(0,n.exists)(e,"intents")?e.intents.map(o.EliseMessageIntentFromJSON):void 0,attachments:(0,n.exists)(e,"attachments")?e.attachments.map(r.AttachmentFromJSON):void 0,workInProgressMessageBody:(0,n.exists)(e,"workInProgressMessageBody")?e.workInProgressMessageBody:void 0,forcedIntents:(0,n.exists)(e,"forcedIntents")?e.forcedIntents.map(a.ForcedIntentFromJSON):void 0,atomicTemplateIntentMapWithSubIntent:(0,n.exists)(e,"atomicTemplateIntentMapWithSubIntent")?(0,n.mapValues)(e.atomicTemplateIntentMapWithSubIntent,s.ResponseAtomicTemplateFromJSON):void 0}}t.ElisePredictedResponseFromJSON=function(e){return l(e)},t.ElisePredictedResponseFromJSONTyped=l,t.ElisePredictedResponseToJSON=function(e){if(void 0!==e)return null===e?null:{responseMessageBody:e.responseMessageBody,responseTemplate:e.responseTemplate,intents:void 0===e.intents?void 0:e.intents.map(o.EliseMessageIntentToJSON),attachments:void 0===e.attachments?void 0:e.attachments.map(r.AttachmentToJSON),workInProgressMessageBody:e.workInProgressMessageBody,forcedIntents:void 0===e.forcedIntents?void 0:e.forcedIntents.map(a.ForcedIntentToJSON),atomicTemplateIntentMapWithSubIntent:void 0===e.atomicTemplateIntentMapWithSubIntent?void 0:(0,n.mapValues)(e.atomicTemplateIntentMapWithSubIntent,s.ResponseAtomicTemplateToJSON)}}},3694:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.EntityConfigToJSON=t.EntityConfigFromJSONTyped=t.EntityConfigFromJSON=void 0;var n=i(296),r=i(4105);function o(e,t){return null==e?e:{options:(0,n.exists)(e,"options")?(0,r.EntityOptionsFromJSON)(e.options):void 0,entityIds:(0,n.exists)(e,"entity_ids")?e.entity_ids:void 0}}t.EntityConfigFromJSON=function(e){return o(e)},t.EntityConfigFromJSONTyped=o,t.EntityConfigToJSON=function(e){if(void 0!==e)return null===e?null:{options:(0,r.EntityOptionsToJSON)(e.options),entity_ids:e.entityIds}}},4105:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.EntityOptionsToJSON=t.EntityOptionsFromJSONTyped=t.EntityOptionsFromJSON=void 0;var n=i(296);function r(e,t){return null==e?e:{active:(0,n.exists)(e,"active")?e.active:void 0,test:(0,n.exists)(e,"test")?e.test:void 0}}t.EntityOptionsFromJSON=function(e){return r(e)},t.EntityOptionsFromJSONTyped=r,t.EntityOptionsToJSON=function(e){if(void 0!==e)return null===e?null:{active:e.active,test:e.test}}},9861:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.EntrataCredentialsToJSON=t.EntrataCredentialsFromJSONTyped=t.EntrataCredentialsFromJSON=void 0;var n=i(296);function r(e,t){return null==e?e:{id:(0,n.exists)(e,"id")?e.id:void 0,userId:(0,n.exists)(e,"userId")?e.userId:void 0,domain:(0,n.exists)(e,"domain")?e.domain:void 0,userName:(0,n.exists)(e,"userName")?e.userName:void 0,password:(0,n.exists)(e,"password")?e.password:void 0}}t.EntrataCredentialsFromJSON=function(e){return r(e)},t.EntrataCredentialsFromJSONTyped=r,t.EntrataCredentialsToJSON=function(e){if(void 0!==e)return null===e?null:{id:e.id,userId:e.userId,domain:e.domain,userName:e.userName,password:e.password}}},8442:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ExternalBuildingAgentToJSON=t.ExternalBuildingAgentFromJSONTyped=t.ExternalBuildingAgentFromJSON=void 0;var n=i(296);function r(e,t){return null==e?e:{id:(0,n.exists)(e,"id")?e.id:void 0,buildingId:(0,n.exists)(e,"buildingId")?e.buildingId:void 0,externalId:(0,n.exists)(e,"externalId")?e.externalId:void 0,agentFirstName:(0,n.exists)(e,"agentFirstName")?e.agentFirstName:void 0,agentLastName:(0,n.exists)(e,"agentLastName")?e.agentLastName:void 0,isDefaultAgent:(0,n.exists)(e,"isDefaultAgent")?e.isDefaultAgent:void 0,active:(0,n.exists)(e,"active")?e.active:void 0}}t.ExternalBuildingAgentFromJSON=function(e){return r(e)},t.ExternalBuildingAgentFromJSONTyped=r,t.ExternalBuildingAgentToJSON=function(e){if(void 0!==e)return null===e?null:{id:e.id,buildingId:e.buildingId,externalId:e.externalId,agentFirstName:e.agentFirstName,agentLastName:e.agentLastName,isDefaultAgent:e.isDefaultAgent,active:e.active}}},6885:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ExternalBuildingSourceToJSON=t.ExternalBuildingSourceFromJSONTyped=t.ExternalBuildingSourceFromJSON=void 0;var n=i(296);function r(e,t){return null==e?e:{id:(0,n.exists)(e,"id")?e.id:void 0,buildingId:(0,n.exists)(e,"buildingId")?e.buildingId:void 0,source:(0,n.exists)(e,"source")?e.source:void 0,eliseSource:(0,n.exists)(e,"eliseSource")?e.eliseSource:void 0,isDefaultCatchall:(0,n.exists)(e,"isDefaultCatchall")?e.isDefaultCatchall:void 0}}t.ExternalBuildingSourceFromJSON=function(e){return r(e)},t.ExternalBuildingSourceFromJSONTyped=r,t.ExternalBuildingSourceToJSON=function(e){if(void 0!==e)return null===e?null:{id:e.id,buildingId:e.buildingId,source:e.source,eliseSource:e.eliseSource,isDefaultCatchall:e.isDefaultCatchall}}},7934:(e,t)=>{function i(e,t){return null==e?e:{value:e.value,label:e.label}}var n;Object.defineProperty(t,"__esModule",{value:!0}),t.FirstContactOptionToJSON=t.FirstContactOptionFromJSONTyped=t.FirstContactOptionFromJSON=t.FirstContactOptionValueEnum=void 0,(n=t.FirstContactOptionValueEnum||(t.FirstContactOptionValueEnum={})).CallFromProspect="CALL_FROM_PROSPECT",n.CallToProspect="CALL_TO_PROSPECT",n.Email="EMAIL",n.WalkIn="WALK_IN",n.Text="TEXT",n.WebService="WEB_SERVICE",n.Chat="CHAT",n.Other="OTHER",t.FirstContactOptionFromJSON=function(e){return i(e)},t.FirstContactOptionFromJSONTyped=i,t.FirstContactOptionToJSON=function(e){if(void 0!==e)return null===e?null:{value:e.value,label:e.label}}},3905:(e,t)=>{function i(e,t){return null==e?e:{contextId:e.contextId,leadStatus:e.leadStatus}}Object.defineProperty(t,"__esModule",{value:!0}),t.FollowUpParamsToJSON=t.FollowUpParamsFromJSONTyped=t.FollowUpParamsFromJSON=void 0,t.FollowUpParamsFromJSON=function(e){return i(e)},t.FollowUpParamsFromJSONTyped=i,t.FollowUpParamsToJSON=function(e){if(void 0!==e)return null===e?null:{contextId:e.contextId,leadStatus:e.leadStatus}}},3958:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.FollowUpSettingsToJSON=t.FollowUpSettingsFromJSONTyped=t.FollowUpSettingsFromJSON=void 0;var n=i(296),r=i(4401),o=i(3832),a=i(1431),s=i(908),l=i(3231);function u(e,t){return null==e?e:{longTermPostTourFollowUpSettings:(0,n.exists)(e,"longTermPostTourFollowUpSettings")?e.longTermPostTourFollowUpSettings.map(o.LongTermPostTourFollowUpSettingFromJSON):void 0,longTermFollowUpSettings:(0,n.exists)(e,"longTermFollowUpSettings")?e.longTermFollowUpSettings.map(r.LongTermFollowUpSettingFromJSON):void 0,postTourFollowUpSettings:(0,n.exists)(e,"postTourFollowUpSettings")?e.postTourFollowUpSettings.map(s.PostTourFollowUpSettingFromJSON):void 0,preTourFollowUpSettings:(0,n.exists)(e,"preTourFollowUpSettings")?e.preTourFollowUpSettings.map(l.PreTourFollowUpSettingFromJSON):void 0,noShowFollowUpSettings:(0,n.exists)(e,"noShowFollowUpSettings")?e.noShowFollowUpSettings.map(a.NoShowFollowUpSettingFromJSON):void 0}}t.FollowUpSettingsFromJSON=function(e){return u(e)},t.FollowUpSettingsFromJSONTyped=u,t.FollowUpSettingsToJSON=function(e){if(void 0!==e)return null===e?null:{longTermPostTourFollowUpSettings:void 0===e.longTermPostTourFollowUpSettings?void 0:e.longTermPostTourFollowUpSettings.map(o.LongTermPostTourFollowUpSettingToJSON),longTermFollowUpSettings:void 0===e.longTermFollowUpSettings?void 0:e.longTermFollowUpSettings.map(r.LongTermFollowUpSettingToJSON),postTourFollowUpSettings:void 0===e.postTourFollowUpSettings?void 0:e.postTourFollowUpSettings.map(s.PostTourFollowUpSettingToJSON),preTourFollowUpSettings:void 0===e.preTourFollowUpSettings?void 0:e.preTourFollowUpSettings.map(l.PreTourFollowUpSettingToJSON),noShowFollowUpSettings:void 0===e.noShowFollowUpSettings?void 0:e.noShowFollowUpSettings.map(a.NoShowFollowUpSettingToJSON)}}},6045:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ForcedIntentToJSON=t.ForcedIntentFromJSONTyped=t.ForcedIntentFromJSON=void 0;var n=i(296);function r(e,t){return null==e?e:{id:(0,n.exists)(e,"id")?e.id:void 0,gmailMessageId:(0,n.exists)(e,"gmailMessageId")?e.gmailMessageId:void 0,intentName:(0,n.exists)(e,"intentName")?e.intentName:void 0,timeCreated:(0,n.exists)(e,"timeCreated")?new Date(e.timeCreated):void 0}}t.ForcedIntentFromJSON=function(e){return r(e)},t.ForcedIntentFromJSONTyped=r,t.ForcedIntentToJSON=function(e){if(void 0!==e)return null===e?null:{id:e.id,gmailMessageId:e.gmailMessageId,intentName:e.intentName,timeCreated:void 0===e.timeCreated?void 0:e.timeCreated.toISOString()}}},6465:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.GenerateAndSendExcelReportsOverrideSettingsToJSON=t.GenerateAndSendExcelReportsOverrideSettingsFromJSONTyped=t.GenerateAndSendExcelReportsOverrideSettingsFromJSON=void 0;var n=i(296);function r(e,t){return null==e?e:{reportIds:(0,n.exists)(e,"reportIds")?e.reportIds:void 0,recipients:(0,n.exists)(e,"recipients")?e.recipients:void 0,dontSend:(0,n.exists)(e,"dontSend")?e.dontSend:void 0}}t.GenerateAndSendExcelReportsOverrideSettingsFromJSON=function(e){return r(e)},t.GenerateAndSendExcelReportsOverrideSettingsFromJSONTyped=r,t.GenerateAndSendExcelReportsOverrideSettingsToJSON=function(e){if(void 0!==e)return null===e?null:{reportIds:e.reportIds,recipients:e.recipients,dontSend:e.dontSend}}},7895:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.GetMEHomeDashboardInfoDtoToJSON=t.GetMEHomeDashboardInfoDtoFromJSONTyped=t.GetMEHomeDashboardInfoDtoFromJSON=void 0;var n=i(296);function r(e,t){return null==e?e:{buildingId:(0,n.exists)(e,"buildingId")?e.buildingId:void 0,startOfReportRange:(0,n.exists)(e,"startOfReportRange")?e.startOfReportRange:void 0,endOfReportRange:(0,n.exists)(e,"endOfReportRange")?e.endOfReportRange:void 0,startOfCalendarEventRange:(0,n.exists)(e,"startOfCalendarEventRange")?e.startOfCalendarEventRange:void 0,endOfCalendarEventRange:(0,n.exists)(e,"endOfCalendarEventRange")?e.endOfCalendarEventRange:void 0}}t.GetMEHomeDashboardInfoDtoFromJSON=function(e){return r(e)},t.GetMEHomeDashboardInfoDtoFromJSONTyped=r,t.GetMEHomeDashboardInfoDtoToJSON=function(e){if(void 0!==e)return null===e?null:{buildingId:e.buildingId,startOfReportRange:e.startOfReportRange,endOfReportRange:e.endOfReportRange,startOfCalendarEventRange:e.startOfCalendarEventRange,endOfCalendarEventRange:e.endOfCalendarEventRange}}},4326:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.GetOrCreateContextDtoToJSON=t.GetOrCreateContextDtoFromJSONTyped=t.GetOrCreateContextDtoFromJSON=void 0;var n=i(296);function r(e,t){return null==e?e:{userId:(0,n.exists)(e,"userId")?e.userId:void 0,buildingId:(0,n.exists)(e,"buildingId")?e.buildingId:void 0}}t.GetOrCreateContextDtoFromJSON=function(e){return r(e)},t.GetOrCreateContextDtoFromJSONTyped=r,t.GetOrCreateContextDtoToJSON=function(e){if(void 0!==e)return null===e?null:{userId:e.userId,buildingId:e.buildingId}}},2610:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.GetReportsForBuildingAndDateRangeDtoToJSON=t.GetReportsForBuildingAndDateRangeDtoFromJSONTyped=t.GetReportsForBuildingAndDateRangeDtoFromJSON=void 0;var n=i(296);function r(e,t){return null==e?e:{buildingId:(0,n.exists)(e,"buildingId")?e.buildingId:void 0,startTime:(0,n.exists)(e,"startTime")?e.startTime:void 0,endTime:(0,n.exists)(e,"endTime")?e.endTime:void 0}}t.GetReportsForBuildingAndDateRangeDtoFromJSON=function(e){return r(e)},t.GetReportsForBuildingAndDateRangeDtoFromJSONTyped=r,t.GetReportsForBuildingAndDateRangeDtoToJSON=function(e){if(void 0!==e)return null===e?null:{buildingId:e.buildingId,startTime:e.startTime,endTime:e.endTime}}},1960:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.GetReportsForBuildingsAndDateRangeDtoToJSON=t.GetReportsForBuildingsAndDateRangeDtoFromJSONTyped=t.GetReportsForBuildingsAndDateRangeDtoFromJSON=t.GetReportsForBuildingsAndDateRangeDtoTimeFrequencyEnum=void 0;var n,r=i(296);function o(e,t){return null==e?e:{buildingIds:(0,r.exists)(e,"buildingIds")?e.buildingIds:void 0,startTime:(0,r.exists)(e,"startTime")?e.startTime:void 0,endTime:(0,r.exists)(e,"endTime")?e.endTime:void 0,timeFrequency:(0,r.exists)(e,"timeFrequency")?e.timeFrequency:void 0}}(n=t.GetReportsForBuildingsAndDateRangeDtoTimeFrequencyEnum||(t.GetReportsForBuildingsAndDateRangeDtoTimeFrequencyEnum={})).None="NONE",n.Hourly="HOURLY",n.Daily="DAILY",n.Weekly="WEEKLY",n.Monthly="MONTHLY",n.Yearly="YEARLY",t.GetReportsForBuildingsAndDateRangeDtoFromJSON=function(e){return o(e)},t.GetReportsForBuildingsAndDateRangeDtoFromJSONTyped=o,t.GetReportsForBuildingsAndDateRangeDtoToJSON=function(e){if(void 0!==e)return null===e?null:{buildingIds:e.buildingIds,startTime:e.startTime,endTime:e.endTime,timeFrequency:e.timeFrequency}}},9233:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.GetUnitAvailabilitiesRequestToJSON=t.GetUnitAvailabilitiesRequestFromJSONTyped=t.GetUnitAvailabilitiesRequestFromJSON=void 0;var n=i(296);function r(e,t){return null==e?e:{moveInStart:(0,n.exists)(e,"moveInStart")?e.moveInStart:void 0,moveInEnd:(0,n.exists)(e,"moveInEnd")?e.moveInEnd:void 0,buildingName:(0,n.exists)(e,"buildingName")?e.buildingName:void 0,buildingAddress:(0,n.exists)(e,"buildingAddress")?e.buildingAddress:void 0,buildingZip:(0,n.exists)(e,"buildingZip")?e.buildingZip:void 0,preferredUnitNumbers:(0,n.exists)(e,"preferredUnitNumbers")?e.preferredUnitNumbers:void 0,preferredLayoutIds:(0,n.exists)(e,"preferredLayoutIds")?e.preferredLayoutIds:void 0}}t.GetUnitAvailabilitiesRequestFromJSON=function(e){return r(e)},t.GetUnitAvailabilitiesRequestFromJSONTyped=r,t.GetUnitAvailabilitiesRequestToJSON=function(e){if(void 0!==e)return null===e?null:{moveInStart:e.moveInStart,moveInEnd:e.moveInEnd,buildingName:e.buildingName,buildingAddress:e.buildingAddress,buildingZip:e.buildingZip,preferredUnitNumbers:e.preferredUnitNumbers,preferredLayoutIds:e.preferredLayoutIds}}},8055:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.GetUnitAvailabilitiesRequest2ToJSON=t.GetUnitAvailabilitiesRequest2FromJSONTyped=t.GetUnitAvailabilitiesRequest2FromJSON=void 0;var n=i(296);function r(e,t){return null==e?e:{id:(0,n.exists)(e,"id")?e.id:void 0,moveInStart:(0,n.exists)(e,"moveInStart")?e.moveInStart:void 0,moveInEnd:(0,n.exists)(e,"moveInEnd")?e.moveInEnd:void 0,preferredUnitNumbers:(0,n.exists)(e,"preferredUnitNumbers")?e.preferredUnitNumbers:void 0,preferredLayoutIds:(0,n.exists)(e,"preferredLayoutIds")?e.preferredLayoutIds:void 0}}t.GetUnitAvailabilitiesRequest2FromJSON=function(e){return r(e)},t.GetUnitAvailabilitiesRequest2FromJSONTyped=r,t.GetUnitAvailabilitiesRequest2ToJSON=function(e){if(void 0!==e)return null===e?null:{id:e.id,moveInStart:e.moveInStart,moveInEnd:e.moveInEnd,preferredUnitNumbers:e.preferredUnitNumbers,preferredLayoutIds:e.preferredLayoutIds}}},2406:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.GetUnitAvailabilitiesResponseToJSON=t.GetUnitAvailabilitiesResponseFromJSONTyped=t.GetUnitAvailabilitiesResponseFromJSON=void 0;var n=i(296);function r(e,t){return null==e?e:{subIntentMetadataMap:(0,n.exists)(e,"subIntentMetadataMap")?e.subIntentMetadataMap:void 0,dialogue:(0,n.exists)(e,"dialogue")?e.dialogue:void 0}}t.GetUnitAvailabilitiesResponseFromJSON=function(e){return r(e)},t.GetUnitAvailabilitiesResponseFromJSONTyped=r,t.GetUnitAvailabilitiesResponseToJSON=function(e){if(void 0!==e)return null===e?null:{subIntentMetadataMap:e.subIntentMetadataMap,dialogue:e.dialogue}}},1880:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.GetWhiteListTestsForBuildingsRequestToJSON=t.GetWhiteListTestsForBuildingsRequestFromJSONTyped=t.GetWhiteListTestsForBuildingsRequestFromJSON=void 0;var n=i(296);function r(e,t){return null==e?e:{buildingIds:(0,n.exists)(e,"buildingIds")?e.buildingIds:void 0}}t.GetWhiteListTestsForBuildingsRequestFromJSON=function(e){return r(e)},t.GetWhiteListTestsForBuildingsRequestFromJSONTyped=r,t.GetWhiteListTestsForBuildingsRequestToJSON=function(e){if(void 0!==e)return null===e?null:{buildingIds:e.buildingIds}}},7989:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.HourlyReportDtoToJSON=t.HourlyReportDtoFromJSONTyped=t.HourlyReportDtoFromJSON=void 0;var n=i(296);function r(e,t){return null==e?e:{buildingId:(0,n.exists)(e,"buildingId")?e.buildingId:void 0,marketingSource:(0,n.exists)(e,"marketingSource")?e.marketingSource:void 0,hourOfAggregation:(0,n.exists)(e,"hourOfAggregation")?new Date(e.hourOfAggregation):void 0,numMessagesSentByElise:(0,n.exists)(e,"numMessagesSentByElise")?e.numMessagesSentByElise:void 0,numUniqueProspectsInTimePeriod:(0,n.exists)(e,"numUniqueProspectsInTimePeriod")?e.numUniqueProspectsInTimePeriod:void 0,numRepliesPerContext:(0,n.exists)(e,"numRepliesPerContext")?e.numRepliesPerContext:void 0,newUniqueProspectsInTimePeriod:(0,n.exists)(e,"newUniqueProspectsInTimePeriod")?e.newUniqueProspectsInTimePeriod:void 0,hoursSaved:(0,n.exists)(e,"hoursSaved")?e.hoursSaved:void 0,numTours:(0,n.exists)(e,"numTours")?e.numTours:void 0}}t.HourlyReportDtoFromJSON=function(e){return r(e)},t.HourlyReportDtoFromJSONTyped=r,t.HourlyReportDtoToJSON=function(e){if(void 0!==e)return null===e?null:{buildingId:e.buildingId,marketingSource:e.marketingSource,hourOfAggregation:void 0===e.hourOfAggregation?void 0:e.hourOfAggregation.toISOString(),numMessagesSentByElise:e.numMessagesSentByElise,numUniqueProspectsInTimePeriod:e.numUniqueProspectsInTimePeriod,numRepliesPerContext:e.numRepliesPerContext,newUniqueProspectsInTimePeriod:e.newUniqueProspectsInTimePeriod,hoursSaved:e.hoursSaved,numTours:e.numTours}}},4036:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.InboxEntityToJSON=t.InboxEntityFromJSONTyped=t.InboxEntityFromJSON=void 0;var n=i(296);function r(e,t){return null==e?e:{id:(0,n.exists)(e,"id")?e.id:void 0}}t.InboxEntityFromJSON=function(e){return r(e)},t.InboxEntityFromJSONTyped=r,t.InboxEntityToJSON=function(e){if(void 0!==e)return null===e?null:{id:e.id}}},5728:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.InitializeWhiteListingConfigRequestToJSON=t.InitializeWhiteListingConfigRequestFromJSONTyped=t.InitializeWhiteListingConfigRequestFromJSON=void 0;var n=i(296);function r(e,t){return null==e?e:{buildingId:(0,n.exists)(e,"buildingId")?e.buildingId:void 0,emails:(0,n.exists)(e,"emails")?e.emails:void 0}}t.InitializeWhiteListingConfigRequestFromJSON=function(e){return r(e)},t.InitializeWhiteListingConfigRequestFromJSONTyped=r,t.InitializeWhiteListingConfigRequestToJSON=function(e){if(void 0!==e)return null===e?null:{buildingId:e.buildingId,emails:e.emails}}},5131:(e,t)=>{function i(e,t){return null==e?e:{state:e.state}}Object.defineProperty(t,"__esModule",{value:!0}),t.InlineObject3ToJSON=t.InlineObject3FromJSONTyped=t.InlineObject3FromJSON=void 0,t.InlineObject3FromJSON=function(e){return i(e)},t.InlineObject3FromJSONTyped=i,t.InlineObject3ToJSON=function(e){if(void 0!==e)return null===e?null:{state:e.state}}},746:(e,t)=>{function i(e,t){return null==e?e:{value:e.value,label:e.label}}Object.defineProperty(t,"__esModule",{value:!0}),t.LayoutOptionToJSON=t.LayoutOptionFromJSONTyped=t.LayoutOptionFromJSON=void 0,t.LayoutOptionFromJSON=function(e){return i(e)},t.LayoutOptionFromJSONTyped=i,t.LayoutOptionToJSON=function(e){if(void 0!==e)return null===e?null:{value:e.value,label:e.label}}},7662:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.LeadInfoToJSON=t.LeadInfoFromJSONTyped=t.LeadInfoFromJSON=void 0;var n=i(296);function r(e,t){return null==e?e:{contextId:(0,n.exists)(e,"contextId")?e.contextId:void 0,firstName:(0,n.exists)(e,"firstName")?e.firstName:void 0,lastName:(0,n.exists)(e,"lastName")?e.lastName:void 0,email:(0,n.exists)(e,"email")?e.email:void 0,phoneNumber:(0,n.exists)(e,"phoneNumber")?e.phoneNumber:void 0}}t.LeadInfoFromJSON=function(e){return r(e)},t.LeadInfoFromJSONTyped=r,t.LeadInfoToJSON=function(e){if(void 0!==e)return null===e?null:{contextId:e.contextId,firstName:e.firstName,lastName:e.lastName,email:e.email,phoneNumber:e.phoneNumber}}},9132:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.LeadInfoUpdateDtoToJSON=t.LeadInfoUpdateDtoFromJSONTyped=t.LeadInfoUpdateDtoFromJSON=void 0;var n=i(296);function r(e,t){return null==e?e:{buildingId:(0,n.exists)(e,"buildingId")?e.buildingId:void 0,firstName:(0,n.exists)(e,"firstName")?e.firstName:void 0,lastName:(0,n.exists)(e,"lastName")?e.lastName:void 0,email:(0,n.exists)(e,"email")?e.email:void 0,moveIn:(0,n.exists)(e,"moveIn")?new Date(e.moveIn):void 0,moveInRangeEnd:(0,n.exists)(e,"moveInRangeEnd")?new Date(e.moveInRangeEnd):void 0}}t.LeadInfoUpdateDtoFromJSON=function(e){return r(e)},t.LeadInfoUpdateDtoFromJSONTyped=r,t.LeadInfoUpdateDtoToJSON=function(e){if(void 0!==e)return null===e?null:{buildingId:e.buildingId,firstName:e.firstName,lastName:e.lastName,email:e.email,moveIn:void 0===e.moveIn?void 0:e.moveIn.toISOString().substr(0,10),moveInRangeEnd:void 0===e.moveInRangeEnd?void 0:e.moveInRangeEnd.toISOString().substr(0,10)}}},7530:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.LeadSourceResponseToJSON=t.LeadSourceResponseFromJSONTyped=t.LeadSourceResponseFromJSON=void 0;var n=i(296);function r(e,t){return null==e?e:{sources:(0,n.exists)(e,"sources")?e.sources:void 0}}t.LeadSourceResponseFromJSON=function(e){return r(e)},t.LeadSourceResponseFromJSONTyped=r,t.LeadSourceResponseToJSON=function(e){if(void 0!==e)return null===e?null:{sources:e.sources}}},194:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.LeadThreadViewModelToJSON=t.LeadThreadViewModelFromJSONTyped=t.LeadThreadViewModelFromJSON=void 0;var n=i(296);function r(e,t){return null==e?e:{leadName:(0,n.exists)(e,"leadName")?e.leadName:void 0,leadEmail:(0,n.exists)(e,"leadEmail")?e.leadEmail:void 0,contextCreationDate:(0,n.exists)(e,"contextCreationDate")?new Date(e.contextCreationDate):void 0,leadThreadLink:(0,n.exists)(e,"leadThreadLink")?e.leadThreadLink:void 0,buildingName:(0,n.exists)(e,"buildingName")?e.buildingName:void 0,buildingExternalId:(0,n.exists)(e,"buildingExternalId")?e.buildingExternalId:void 0,contextId:(0,n.exists)(e,"contextId")?e.contextId:void 0,buildingIds:(0,n.exists)(e,"buildingIds")?e.buildingIds:void 0,conversationKey:(0,n.exists)(e,"conversationKey")?e.conversationKey:void 0}}t.LeadThreadViewModelFromJSON=function(e){return r(e)},t.LeadThreadViewModelFromJSONTyped=r,t.LeadThreadViewModelToJSON=function(e){if(void 0!==e)return null===e?null:{leadName:e.leadName,leadEmail:e.leadEmail,contextCreationDate:void 0===e.contextCreationDate?void 0:e.contextCreationDate.toISOString(),leadThreadLink:e.leadThreadLink,buildingName:e.buildingName,buildingExternalId:e.buildingExternalId,contextId:e.contextId,buildingIds:e.buildingIds,conversationKey:e.conversationKey}}},1312:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.LeadWithSourceToJSON=t.LeadWithSourceFromJSONTyped=t.LeadWithSourceFromJSON=void 0;var n=i(296);function r(e,t){return null==e?e:{id:(0,n.exists)(e,"id")?e.id:void 0,email:(0,n.exists)(e,"email")?e.email:void 0,marketingSource:(0,n.exists)(e,"marketingSource")?e.marketingSource:void 0}}t.LeadWithSourceFromJSON=function(e){return r(e)},t.LeadWithSourceFromJSONTyped=r,t.LeadWithSourceToJSON=function(e){if(void 0!==e)return null===e?null:{id:e.id,email:e.email,marketingSource:e.marketingSource}}},4549:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.LeasingAgentToJSON=t.LeasingAgentFromJSONTyped=t.LeasingAgentFromJSON=void 0;var n=i(296);function r(e,t){return null==e?e:{id:(0,n.exists)(e,"id")?e.id:void 0,userId:(0,n.exists)(e,"userId")?e.userId:void 0,externalId:(0,n.exists)(e,"externalId")?e.externalId:void 0,agentFirstName:(0,n.exists)(e,"agentFirstName")?e.agentFirstName:void 0,agentLastName:(0,n.exists)(e,"agentLastName")?e.agentLastName:void 0,internal:(0,n.exists)(e,"internal")?e.internal:void 0}}t.LeasingAgentFromJSON=function(e){return r(e)},t.LeasingAgentFromJSONTyped=r,t.LeasingAgentToJSON=function(e){if(void 0!==e)return null===e?null:{id:e.id,userId:e.userId,externalId:e.externalId,agentFirstName:e.agentFirstName,agentLastName:e.agentLastName,internal:e.internal}}},8636:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ListWrapperOrganizationToJSON=t.ListWrapperOrganizationFromJSONTyped=t.ListWrapperOrganizationFromJSON=void 0;var n=i(296),r=i(8792);function o(e,t){return null==e?e:{data:(0,n.exists)(e,"data")?e.data.map(r.OrganizationFromJSON):void 0}}t.ListWrapperOrganizationFromJSON=function(e){return o(e)},t.ListWrapperOrganizationFromJSONTyped=o,t.ListWrapperOrganizationToJSON=function(e){if(void 0!==e)return null===e?null:{data:void 0===e.data?void 0:e.data.map(r.OrganizationToJSON)}}},7399:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.LocalTimeToJSON=t.LocalTimeFromJSONTyped=t.LocalTimeFromJSON=void 0;var n=i(296);function r(e,t){return null==e?e:{hour:(0,n.exists)(e,"hour")?e.hour:void 0,minute:(0,n.exists)(e,"minute")?e.minute:void 0,second:(0,n.exists)(e,"second")?e.second:void 0,nano:(0,n.exists)(e,"nano")?e.nano:void 0}}t.LocalTimeFromJSON=function(e){return r(e)},t.LocalTimeFromJSONTyped=r,t.LocalTimeToJSON=function(e){if(void 0!==e)return null===e?null:{hour:e.hour,minute:e.minute,second:e.second,nano:e.nano}}},8328:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.LocationToJSON=t.LocationFromJSONTyped=t.LocationFromJSON=void 0;var n=i(296);function r(e,t){return null==e?e:{label:(0,n.exists)(e,"label")?e.label:void 0,street:(0,n.exists)(e,"street")?e.street:void 0,addressNumber:(0,n.exists)(e,"addressNumber")?e.addressNumber:void 0,neighborhood:(0,n.exists)(e,"neighborhood")?e.neighborhood:void 0,postalCode:(0,n.exists)(e,"postalCode")?e.postalCode:void 0,municipality:(0,n.exists)(e,"municipality")?e.municipality:void 0,city:(0,n.exists)(e,"city")?e.city:void 0,region:(0,n.exists)(e,"region")?e.region:void 0,subRegion:(0,n.exists)(e,"subRegion")?e.subRegion:void 0,country:(0,n.exists)(e,"country")?e.country:void 0,latitude:(0,n.exists)(e,"latitude")?e.latitude:void 0,longitude:(0,n.exists)(e,"longitude")?e.longitude:void 0,timeZone:(0,n.exists)(e,"timeZone")?e.timeZone:void 0}}t.LocationFromJSON=function(e){return r(e)},t.LocationFromJSONTyped=r,t.LocationToJSON=function(e){if(void 0!==e)return null===e?null:{label:e.label,street:e.street,addressNumber:e.addressNumber,neighborhood:e.neighborhood,postalCode:e.postalCode,municipality:e.municipality,city:e.city,region:e.region,subRegion:e.subRegion,country:e.country,latitude:e.latitude,longitude:e.longitude,timeZone:e.timeZone}}},4401:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.LongTermFollowUpSettingToJSON=t.LongTermFollowUpSettingFromJSONTyped=t.LongTermFollowUpSettingFromJSON=void 0;var n=i(296);function r(e,t){return null==e?e:{id:(0,n.exists)(e,"id")?e.id:void 0,userId:(0,n.exists)(e,"userId")?e.userId:void 0,followUpNumber:(0,n.exists)(e,"followUpNumber")?e.followUpNumber:void 0,clientType:(0,n.exists)(e,"clientType")?e.clientType:void 0,intervalNumber:(0,n.exists)(e,"intervalNumber")?e.intervalNumber:void 0,intervalUnit:(0,n.exists)(e,"intervalUnit")?e.intervalUnit:void 0,intervalNumberOlderThan:(0,n.exists)(e,"intervalNumberOlderThan")?e.intervalNumberOlderThan:void 0,intervalUnitOlderThan:(0,n.exists)(e,"intervalUnitOlderThan")?e.intervalUnitOlderThan:void 0,buildingId:(0,n.exists)(e,"buildingId")?e.buildingId:void 0}}t.LongTermFollowUpSettingFromJSON=function(e){return r(e)},t.LongTermFollowUpSettingFromJSONTyped=r,t.LongTermFollowUpSettingToJSON=function(e){if(void 0!==e)return null===e?null:{id:e.id,userId:e.userId,followUpNumber:e.followUpNumber,clientType:e.clientType,intervalNumber:e.intervalNumber,intervalUnit:e.intervalUnit,intervalNumberOlderThan:e.intervalNumberOlderThan,intervalUnitOlderThan:e.intervalUnitOlderThan,buildingId:e.buildingId}}},3832:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.LongTermPostTourFollowUpSettingToJSON=t.LongTermPostTourFollowUpSettingFromJSONTyped=t.LongTermPostTourFollowUpSettingFromJSON=void 0;var n=i(296);function r(e,t){return null==e?e:{id:(0,n.exists)(e,"id")?e.id:void 0,userId:(0,n.exists)(e,"userId")?e.userId:void 0,followUpNumber:(0,n.exists)(e,"followUpNumber")?e.followUpNumber:void 0,clientType:(0,n.exists)(e,"clientType")?e.clientType:void 0,intervalNumber:(0,n.exists)(e,"intervalNumber")?e.intervalNumber:void 0,intervalUnit:(0,n.exists)(e,"intervalUnit")?e.intervalUnit:void 0,intervalNumberOlderThan:(0,n.exists)(e,"intervalNumberOlderThan")?e.intervalNumberOlderThan:void 0,intervalUnitOlderThan:(0,n.exists)(e,"intervalUnitOlderThan")?e.intervalUnitOlderThan:void 0,buildingId:(0,n.exists)(e,"buildingId")?e.buildingId:void 0}}t.LongTermPostTourFollowUpSettingFromJSON=function(e){return r(e)},t.LongTermPostTourFollowUpSettingFromJSONTyped=r,t.LongTermPostTourFollowUpSettingToJSON=function(e){if(void 0!==e)return null===e?null:{id:e.id,userId:e.userId,followUpNumber:e.followUpNumber,clientType:e.clientType,intervalNumber:e.intervalNumber,intervalUnit:e.intervalUnit,intervalNumberOlderThan:e.intervalNumberOlderThan,intervalUnitOlderThan:e.intervalUnitOlderThan,buildingId:e.buildingId}}},4883:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.MEHomeCalendarEventToJSON=t.MEHomeCalendarEventFromJSONTyped=t.MEHomeCalendarEventFromJSON=t.MEHomeCalendarEventEventTypeEnum=void 0;var n,r=i(296),o=i(9718);function a(e,t){return null==e?e:{id:e.id,aiAssistantId:e.aiAssistantId,startTimeISO:e.startTimeISO,endTimeISO:e.endTimeISO,eventType:e.eventType,tourInfo:(0,r.exists)(e,"tourInfo")?(0,o.MEHomeTourInfoFromJSON)(e.tourInfo):void 0,title:(0,r.exists)(e,"title")?e.title:void 0,conversationKey:(0,r.exists)(e,"conversationKey")?e.conversationKey:void 0,recurringEventId:(0,r.exists)(e,"recurringEventId")?e.recurringEventId:void 0,assignedAgentId:(0,r.exists)(e,"assignedAgentId")?e.assignedAgentId:void 0,canceled:(0,r.exists)(e,"canceled")?e.canceled:void 0}}(n=t.MEHomeCalendarEventEventTypeEnum||(t.MEHomeCalendarEventEventTypeEnum={})).NonBlockingInternal="NON_BLOCKING_INTERNAL",n.Blackout="BLACKOUT",n.Appointment="APPOINTMENT",n.Other="OTHER",t.MEHomeCalendarEventFromJSON=function(e){return a(e)},t.MEHomeCalendarEventFromJSONTyped=a,t.MEHomeCalendarEventToJSON=function(e){if(void 0!==e)return null===e?null:{id:e.id,aiAssistantId:e.aiAssistantId,startTimeISO:e.startTimeISO,endTimeISO:e.endTimeISO,eventType:e.eventType,tourInfo:(0,o.MEHomeTourInfoToJSON)(e.tourInfo),title:e.title,conversationKey:e.conversationKey,recurringEventId:e.recurringEventId,assignedAgentId:e.assignedAgentId,canceled:e.canceled}}},6705:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.MEHomeDashboardInfoToJSON=t.MEHomeDashboardInfoFromJSONTyped=t.MEHomeDashboardInfoFromJSON=void 0;var n=i(296),r=i(3817),o=i(7934),a=i(746),s=i(4549),l=i(4883),u=i(1004),d=i(6330);function c(e,t){return null==e?e:{numEscalations:e.numEscalations,calendarEvents:e.calendarEvents.map(l.MEHomeCalendarEventFromJSON),buildingIds:e.buildingIds,dateRangeReport:(0,n.exists)(e,"dateRangeReport")?(0,r.DateRangeReportFromJSON)(e.dateRangeReport):void 0,leasingAgents:e.leasingAgents.map(s.LeasingAgentFromJSON),units:e.units.map(u.MEHomeUnitFromJSON),tourTypeOptions:e.tourTypeOptions.map(d.TourTypeOptionFromJSON),layoutOptions:e.layoutOptions.map(a.LayoutOptionFromJSON),leadSources:e.leadSources,firstContactOptions:e.firstContactOptions.map(o.FirstContactOptionFromJSON)}}t.MEHomeDashboardInfoFromJSON=function(e){return c(e)},t.MEHomeDashboardInfoFromJSONTyped=c,t.MEHomeDashboardInfoToJSON=function(e){if(void 0!==e)return null===e?null:{numEscalations:e.numEscalations,calendarEvents:e.calendarEvents.map(l.MEHomeCalendarEventToJSON),buildingIds:e.buildingIds,dateRangeReport:(0,r.DateRangeReportToJSON)(e.dateRangeReport),leasingAgents:e.leasingAgents.map(s.LeasingAgentToJSON),units:e.units.map(u.MEHomeUnitToJSON),tourTypeOptions:e.tourTypeOptions.map(d.TourTypeOptionToJSON),layoutOptions:e.layoutOptions.map(a.LayoutOptionToJSON),leadSources:e.leadSources,firstContactOptions:e.firstContactOptions.map(o.FirstContactOptionToJSON)}}},1427:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.MEHomeLeadToJSON=t.MEHomeLeadFromJSONTyped=t.MEHomeLeadFromJSON=void 0;var n=i(296);function r(e,t){return null==e?e:{id:e.id,email:(0,n.exists)(e,"email")?e.email:void 0,firstName:(0,n.exists)(e,"firstName")?e.firstName:void 0,lastName:(0,n.exists)(e,"lastName")?e.lastName:void 0,layouts:(0,n.exists)(e,"layouts")?e.layouts:void 0,leadCreationDateISO:(0,n.exists)(e,"leadCreationDateISO")?e.leadCreationDateISO:void 0,leaseLengthMax:(0,n.exists)(e,"leaseLengthMax")?e.leaseLengthMax:void 0,leaseLengthMin:(0,n.exists)(e,"leaseLengthMin")?e.leaseLengthMin:void 0,marketPlace:(0,n.exists)(e,"marketPlace")?e.marketPlace:void 0,moveInDateISO:(0,n.exists)(e,"moveInDateISO")?e.moveInDateISO:void 0,phoneNumber:(0,n.exists)(e,"phoneNumber")?e.phoneNumber:void 0,preferredSize:(0,n.exists)(e,"preferredSize")?e.preferredSize:void 0,recommendedUnits:(0,n.exists)(e,"recommendedUnits")?e.recommendedUnits:void 0}}t.MEHomeLeadFromJSON=function(e){return r(e)},t.MEHomeLeadFromJSONTyped=r,t.MEHomeLeadToJSON=function(e){if(void 0!==e)return null===e?null:{id:e.id,email:e.email,firstName:e.firstName,lastName:e.lastName,layouts:e.layouts,leadCreationDateISO:e.leadCreationDateISO,leaseLengthMax:e.leaseLengthMax,leaseLengthMin:e.leaseLengthMin,marketPlace:e.marketPlace,moveInDateISO:e.moveInDateISO,phoneNumber:e.phoneNumber,preferredSize:e.preferredSize,recommendedUnits:e.recommendedUnits}}},9718:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.MEHomeTourInfoToJSON=t.MEHomeTourInfoFromJSONTyped=t.MEHomeTourInfoFromJSON=t.MEHomeTourInfoConversationTypeEnum=t.MEHomeTourInfoTourTypeEnum=void 0;var n,r,o=i(296),a=i(1427);function s(e,t){return null==e?e:{lead:(0,a.MEHomeLeadFromJSON)(e.lead),hostVirtualTourUrl:(0,o.exists)(e,"hostVirtualTourUrl")?e.hostVirtualTourUrl:void 0,publicVirtualTourUrl:(0,o.exists)(e,"publicVirtualTourUrl")?e.publicVirtualTourUrl:void 0,tourType:(0,o.exists)(e,"tourType")?e.tourType:void 0,leadStatusForContext:(0,o.exists)(e,"leadStatusForContext")?e.leadStatusForContext:void 0,notes:(0,o.exists)(e,"notes")?e.notes:void 0,conversationType:(0,o.exists)(e,"conversationType")?e.conversationType:void 0}}(r=t.MEHomeTourInfoTourTypeEnum||(t.MEHomeTourInfoTourTypeEnum={})).Unknown="UNKNOWN",r.SelfGuided="SELF_GUIDED",r.VirtualShowing="VIRTUAL_SHOWING",r.WithAgent="WITH_AGENT",r.MediaTour="MEDIA_TOUR",(n=t.MEHomeTourInfoConversationTypeEnum||(t.MEHomeTourInfoConversationTypeEnum={})).Email="EMAIL",n.Phone="PHONE",t.MEHomeTourInfoFromJSON=function(e){return s(e)},t.MEHomeTourInfoFromJSONTyped=s,t.MEHomeTourInfoToJSON=function(e){if(void 0!==e)return null===e?null:{lead:(0,a.MEHomeLeadToJSON)(e.lead),hostVirtualTourUrl:e.hostVirtualTourUrl,publicVirtualTourUrl:e.publicVirtualTourUrl,tourType:e.tourType,leadStatusForContext:e.leadStatusForContext,notes:e.notes,conversationType:e.conversationType}}},1004:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.MEHomeUnitToJSON=t.MEHomeUnitFromJSONTyped=t.MEHomeUnitFromJSON=void 0;var n=i(296);function r(e,t){return null==e?e:{id:e.id,layoutDescription:e.layoutDescription,label:e.label,layout:e.layout,_default:(0,n.exists)(e,"default")?e.default:void 0}}t.MEHomeUnitFromJSON=function(e){return r(e)},t.MEHomeUnitFromJSONTyped=r,t.MEHomeUnitToJSON=function(e){if(void 0!==e)return null===e?null:{id:e.id,layoutDescription:e.layoutDescription,label:e.label,layout:e.layout,default:e._default}}},4240:(e,t)=>{function i(e,t){return null==e?e:{marketingSource:e.marketingSource,startOfRange:new Date(e.startOfRange),endOfRange:new Date(e.endOfRange),buildingId:e.buildingId,numAiMessagesSent:e.numAiMessagesSent,numAiSentEmailFollowup:e.numAiSentEmailFollowup,numAiSentTextFollowup:e.numAiSentTextFollowup,averageMessagesPerProspect:e.averageMessagesPerProspect,prospectToTourConversion:e.prospectToTourConversion,numTours:e.numTours,tourBookedByMENoncancelled:e.tourBookedByMENoncancelled,newProspectsHandled:e.newProspectsHandled,hoursSavedByAi:e.hoursSavedByAi,numEarlyAgentTakeover:e.numEarlyAgentTakeover,numberLeadsApplied:e.numberLeadsApplied,tourAttended:e.tourAttended,numActionRequiredFromAgent:e.numActionRequiredFromAgent,numPassToAgent:e.numPassToAgent,aiBookedTourAttended:e.aiBookedTourAttended}}Object.defineProperty(t,"__esModule",{value:!0}),t.MarketingSourceDateRangeReportToJSON=t.MarketingSourceDateRangeReportFromJSONTyped=t.MarketingSourceDateRangeReportFromJSON=void 0,t.MarketingSourceDateRangeReportFromJSON=function(e){return i(e)},t.MarketingSourceDateRangeReportFromJSONTyped=i,t.MarketingSourceDateRangeReportToJSON=function(e){if(void 0!==e)return null===e?null:{marketingSource:e.marketingSource,startOfRange:e.startOfRange.toISOString(),endOfRange:e.endOfRange.toISOString(),buildingId:e.buildingId,numAiMessagesSent:e.numAiMessagesSent,numAiSentEmailFollowup:e.numAiSentEmailFollowup,numAiSentTextFollowup:e.numAiSentTextFollowup,averageMessagesPerProspect:e.averageMessagesPerProspect,prospectToTourConversion:e.prospectToTourConversion,numTours:e.numTours,tourBookedByMENoncancelled:e.tourBookedByMENoncancelled,newProspectsHandled:e.newProspectsHandled,hoursSavedByAi:e.hoursSavedByAi,numEarlyAgentTakeover:e.numEarlyAgentTakeover,numberLeadsApplied:e.numberLeadsApplied,tourAttended:e.tourAttended,numActionRequiredFromAgent:e.numActionRequiredFromAgent,numPassToAgent:e.numPassToAgent,aiBookedTourAttended:e.aiBookedTourAttended}}},2960:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.NoShowActionDtoToJSON=t.NoShowActionDtoFromJSONTyped=t.NoShowActionDtoFromJSON=void 0;var n=i(296);function r(e,t){return null==e?e:{contextId:(0,n.exists)(e,"contextId")?e.contextId:void 0}}t.NoShowActionDtoFromJSON=function(e){return r(e)},t.NoShowActionDtoFromJSONTyped=r,t.NoShowActionDtoToJSON=function(e){if(void 0!==e)return null===e?null:{contextId:e.contextId}}},1431:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.NoShowFollowUpSettingToJSON=t.NoShowFollowUpSettingFromJSONTyped=t.NoShowFollowUpSettingFromJSON=void 0;var n=i(296);function r(e,t){return null==e?e:{id:(0,n.exists)(e,"id")?e.id:void 0,userId:(0,n.exists)(e,"userId")?e.userId:void 0,followUpNumber:(0,n.exists)(e,"followUpNumber")?e.followUpNumber:void 0,clientType:(0,n.exists)(e,"clientType")?e.clientType:void 0,intervalNumber:(0,n.exists)(e,"intervalNumber")?e.intervalNumber:void 0,intervalUnit:(0,n.exists)(e,"intervalUnit")?e.intervalUnit:void 0,intervalNumberOlderThan:(0,n.exists)(e,"intervalNumberOlderThan")?e.intervalNumberOlderThan:void 0,intervalUnitOlderThan:(0,n.exists)(e,"intervalUnitOlderThan")?e.intervalUnitOlderThan:void 0,buildingId:(0,n.exists)(e,"buildingId")?e.buildingId:void 0}}t.NoShowFollowUpSettingFromJSON=function(e){return r(e)},t.NoShowFollowUpSettingFromJSONTyped=r,t.NoShowFollowUpSettingToJSON=function(e){if(void 0!==e)return null===e?null:{id:e.id,userId:e.userId,followUpNumber:e.followUpNumber,clientType:e.clientType,intervalNumber:e.intervalNumber,intervalUnit:e.intervalUnit,intervalNumberOlderThan:e.intervalNumberOlderThan,intervalUnitOlderThan:e.intervalUnitOlderThan,buildingId:e.buildingId}}},8792:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.OrganizationToJSON=t.OrganizationFromJSONTyped=t.OrganizationFromJSON=void 0;var n=i(296),r=i(1172);function o(e,t){return null==e?e:{id:(0,n.exists)(e,"id")?e.id:void 0,name:(0,n.exists)(e,"name")?e.name:void 0,address1:(0,n.exists)(e,"address1")?e.address1:void 0,address2:(0,n.exists)(e,"address2")?e.address2:void 0,city:(0,n.exists)(e,"city")?e.city:void 0,state:(0,n.exists)(e,"state")?e.state:void 0,zipCode:(0,n.exists)(e,"zipCode")?e.zipCode:void 0,url:(0,n.exists)(e,"url")?e.url:void 0,associatedDomains:(0,n.exists)(e,"associatedDomains")?e.associatedDomains:void 0,communitiesDefaults:(0,n.exists)(e,"communitiesDefaults")?(0,r.CommunitiesDefaultsFromJSON)(e.communitiesDefaults):void 0,organizationId:(0,n.exists)(e,"organizationId")?e.organizationId:void 0}}t.OrganizationFromJSON=function(e){return o(e)},t.OrganizationFromJSONTyped=o,t.OrganizationToJSON=function(e){if(void 0!==e)return null===e?null:{id:e.id,name:e.name,address1:e.address1,address2:e.address2,city:e.city,state:e.state,zipCode:e.zipCode,url:e.url,associatedDomains:e.associatedDomains,communitiesDefaults:(0,r.CommunitiesDefaultsToJSON)(e.communitiesDefaults),organizationId:e.organizationId}}},908:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.PostTourFollowUpSettingToJSON=t.PostTourFollowUpSettingFromJSONTyped=t.PostTourFollowUpSettingFromJSON=void 0;var n=i(296);function r(e,t){return null==e?e:{id:(0,n.exists)(e,"id")?e.id:void 0,userId:(0,n.exists)(e,"userId")?e.userId:void 0,followUpNumber:(0,n.exists)(e,"followUpNumber")?e.followUpNumber:void 0,clientType:(0,n.exists)(e,"clientType")?e.clientType:void 0,intervalNumber:(0,n.exists)(e,"intervalNumber")?e.intervalNumber:void 0,intervalUnit:(0,n.exists)(e,"intervalUnit")?e.intervalUnit:void 0,intervalNumberOlderThan:(0,n.exists)(e,"intervalNumberOlderThan")?e.intervalNumberOlderThan:void 0,intervalUnitOlderThan:(0,n.exists)(e,"intervalUnitOlderThan")?e.intervalUnitOlderThan:void 0,buildingId:(0,n.exists)(e,"buildingId")?e.buildingId:void 0}}t.PostTourFollowUpSettingFromJSON=function(e){return r(e)},t.PostTourFollowUpSettingFromJSONTyped=r,t.PostTourFollowUpSettingToJSON=function(e){if(void 0!==e)return null===e?null:{id:e.id,userId:e.userId,followUpNumber:e.followUpNumber,clientType:e.clientType,intervalNumber:e.intervalNumber,intervalUnit:e.intervalUnit,intervalNumberOlderThan:e.intervalNumberOlderThan,intervalUnitOlderThan:e.intervalUnitOlderThan,buildingId:e.buildingId}}},3231:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.PreTourFollowUpSettingToJSON=t.PreTourFollowUpSettingFromJSONTyped=t.PreTourFollowUpSettingFromJSON=void 0;var n=i(296);function r(e,t){return null==e?e:{id:(0,n.exists)(e,"id")?e.id:void 0,followUpNumber:(0,n.exists)(e,"followUpNumber")?e.followUpNumber:void 0,clientType:(0,n.exists)(e,"clientType")?e.clientType:void 0,intervalNumber:(0,n.exists)(e,"intervalNumber")?e.intervalNumber:void 0,intervalUnit:(0,n.exists)(e,"intervalUnit")?e.intervalUnit:void 0,intervalNumberOlderThan:(0,n.exists)(e,"intervalNumberOlderThan")?e.intervalNumberOlderThan:void 0,intervalUnitOlderThan:(0,n.exists)(e,"intervalUnitOlderThan")?e.intervalUnitOlderThan:void 0,buildingId:(0,n.exists)(e,"buildingId")?e.buildingId:void 0,userId:(0,n.exists)(e,"userId")?e.userId:void 0}}t.PreTourFollowUpSettingFromJSON=function(e){return r(e)},t.PreTourFollowUpSettingFromJSONTyped=r,t.PreTourFollowUpSettingToJSON=function(e){if(void 0!==e)return null===e?null:{id:e.id,followUpNumber:e.followUpNumber,clientType:e.clientType,intervalNumber:e.intervalNumber,intervalUnit:e.intervalUnit,intervalNumberOlderThan:e.intervalNumberOlderThan,intervalUnitOlderThan:e.intervalUnitOlderThan,buildingId:e.buildingId,userId:e.userId}}},8496:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.QaDtoToJSON=t.QaDtoFromJSONTyped=t.QaDtoFromJSON=void 0;var n=i(296);function r(e,t){return null==e?e:{buildingId:(0,n.exists)(e,"buildingId")?e.buildingId:void 0,intentNames:(0,n.exists)(e,"intentNames")?e.intentNames:void 0,unitId:(0,n.exists)(e,"unitId")?e.unitId:void 0,email:(0,n.exists)(e,"email")?e.email:void 0}}t.QaDtoFromJSON=function(e){return r(e)},t.QaDtoFromJSONTyped=r,t.QaDtoToJSON=function(e){if(void 0!==e)return null===e?null:{buildingId:e.buildingId,intentNames:e.intentNames,unitId:e.unitId,email:e.email}}},3538:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.RealPageCredentialsToJSON=t.RealPageCredentialsFromJSONTyped=t.RealPageCredentialsFromJSON=void 0;var n=i(296);function r(e,t){return null==e?e:{id:(0,n.exists)(e,"id")?e.id:void 0,userId:(0,n.exists)(e,"userId")?e.userId:void 0,userName:(0,n.exists)(e,"userName")?e.userName:void 0,password:(0,n.exists)(e,"password")?e.password:void 0,uniqueCompanyIdentifier:(0,n.exists)(e,"uniqueCompanyIdentifier")?e.uniqueCompanyIdentifier:void 0,uniquePropertyIdentifier:(0,n.exists)(e,"uniquePropertyIdentifier")?e.uniquePropertyIdentifier:void 0,hostUrl:(0,n.exists)(e,"hostUrl")?e.hostUrl:void 0,l2LApiKey:(0,n.exists)(e,"l2LApiKey")?e.l2LApiKey:void 0,leasingAgentId:(0,n.exists)(e,"leasingAgentId")?e.leasingAgentId:void 0,handoffAgentId:(0,n.exists)(e,"handoffAgentId")?e.handoffAgentId:void 0}}t.RealPageCredentialsFromJSON=function(e){return r(e)},t.RealPageCredentialsFromJSONTyped=r,t.RealPageCredentialsToJSON=function(e){if(void 0!==e)return null===e?null:{id:e.id,userId:e.userId,userName:e.userName,password:e.password,uniqueCompanyIdentifier:e.uniqueCompanyIdentifier,uniquePropertyIdentifier:e.uniquePropertyIdentifier,hostUrl:e.hostUrl,l2LApiKey:e.l2LApiKey,leasingAgentId:e.leasingAgentId,handoffAgentId:e.handoffAgentId}}},9353:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.RecurringEventCreateRequestDtoToJSON=t.RecurringEventCreateRequestDtoFromJSONTyped=t.RecurringEventCreateRequestDtoFromJSON=t.RecurringEventCreateRequestDtoFrequencyEnum=void 0;var n,r=i(296);function o(e,t){return null==e?e:{calendarId:(0,r.exists)(e,"calendarId")?e.calendarId:void 0,startTime:(0,r.exists)(e,"startTime")?e.startTime:void 0,endTime:(0,r.exists)(e,"endTime")?e.endTime:void 0,daysOfWeek:(0,r.exists)(e,"daysOfWeek")?e.daysOfWeek:void 0,daysOfMonth:(0,r.exists)(e,"daysOfMonth")?e.daysOfMonth:void 0,startOfRecurrence:(0,r.exists)(e,"startOfRecurrence")?e.startOfRecurrence:void 0,endOfRecurrence:(0,r.exists)(e,"endOfRecurrence")?e.endOfRecurrence:void 0,frequency:(0,r.exists)(e,"frequency")?e.frequency:void 0,frequencyMultiplier:(0,r.exists)(e,"frequencyMultiplier")?e.frequencyMultiplier:void 0,createdBy:(0,r.exists)(e,"createdBy")?e.createdBy:void 0,summary:(0,r.exists)(e,"summary")?e.summary:void 0}}(n=t.RecurringEventCreateRequestDtoFrequencyEnum||(t.RecurringEventCreateRequestDtoFrequencyEnum={})).Weekly="WEEKLY",n.Monthly="MONTHLY",t.RecurringEventCreateRequestDtoFromJSON=function(e){return o(e)},t.RecurringEventCreateRequestDtoFromJSONTyped=o,t.RecurringEventCreateRequestDtoToJSON=function(e){if(void 0!==e)return null===e?null:{calendarId:e.calendarId,startTime:e.startTime,endTime:e.endTime,daysOfWeek:e.daysOfWeek,daysOfMonth:e.daysOfMonth,startOfRecurrence:e.startOfRecurrence,endOfRecurrence:e.endOfRecurrence,frequency:e.frequency,frequencyMultiplier:e.frequencyMultiplier,createdBy:e.createdBy,summary:e.summary}}},6343:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.RecurringEventDtoToJSON=t.RecurringEventDtoFromJSONTyped=t.RecurringEventDtoFromJSON=t.RecurringEventDtoFrequencyEnum=void 0;var n,r=i(296);function o(e,t){return null==e?e:{id:(0,r.exists)(e,"id")?e.id:void 0,calendarId:(0,r.exists)(e,"calendarId")?e.calendarId:void 0,startTime:(0,r.exists)(e,"startTime")?e.startTime:void 0,endTime:(0,r.exists)(e,"endTime")?e.endTime:void 0,daysOfWeek:(0,r.exists)(e,"daysOfWeek")?e.daysOfWeek:void 0,daysOfMonth:(0,r.exists)(e,"daysOfMonth")?e.daysOfMonth:void 0,startOfRecurrence:(0,r.exists)(e,"startOfRecurrence")?e.startOfRecurrence:void 0,endOfRecurrence:(0,r.exists)(e,"endOfRecurrence")?e.endOfRecurrence:void 0,frequency:(0,r.exists)(e,"frequency")?e.frequency:void 0,frequencyMultiplier:(0,r.exists)(e,"frequencyMultiplier")?e.frequencyMultiplier:void 0,timeCreated:(0,r.exists)(e,"timeCreated")?e.timeCreated:void 0,timeMostRecentlyUpdated:(0,r.exists)(e,"timeMostRecentlyUpdated")?e.timeMostRecentlyUpdated:void 0,lastEventGeneratedTimestamp:(0,r.exists)(e,"lastEventGeneratedTimestamp")?e.lastEventGeneratedTimestamp:void 0,createdBy:(0,r.exists)(e,"createdBy")?e.createdBy:void 0,summary:(0,r.exists)(e,"summary")?e.summary:void 0,deleted:(0,r.exists)(e,"deleted")?e.deleted:void 0}}(n=t.RecurringEventDtoFrequencyEnum||(t.RecurringEventDtoFrequencyEnum={})).Weekly="WEEKLY",n.Monthly="MONTHLY",t.RecurringEventDtoFromJSON=function(e){return o(e)},t.RecurringEventDtoFromJSONTyped=o,t.RecurringEventDtoToJSON=function(e){if(void 0!==e)return null===e?null:{id:e.id,calendarId:e.calendarId,startTime:e.startTime,endTime:e.endTime,daysOfWeek:e.daysOfWeek,daysOfMonth:e.daysOfMonth,startOfRecurrence:e.startOfRecurrence,endOfRecurrence:e.endOfRecurrence,frequency:e.frequency,frequencyMultiplier:e.frequencyMultiplier,timeCreated:e.timeCreated,timeMostRecentlyUpdated:e.timeMostRecentlyUpdated,lastEventGeneratedTimestamp:e.lastEventGeneratedTimestamp,createdBy:e.createdBy,summary:e.summary,deleted:e.deleted}}},7564:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.RecurringEventUpdateRequestDtoToJSON=t.RecurringEventUpdateRequestDtoFromJSONTyped=t.RecurringEventUpdateRequestDtoFromJSON=t.RecurringEventUpdateRequestDtoFrequencyEnum=void 0;var n,r=i(296);function o(e,t){return null==e?e:{startTime:(0,r.exists)(e,"startTime")?e.startTime:void 0,endTime:(0,r.exists)(e,"endTime")?e.endTime:void 0,daysOfWeek:(0,r.exists)(e,"daysOfWeek")?e.daysOfWeek:void 0,daysOfMonth:(0,r.exists)(e,"daysOfMonth")?e.daysOfMonth:void 0,startOfRecurrence:(0,r.exists)(e,"startOfRecurrence")?e.startOfRecurrence:void 0,endOfRecurrence:(0,r.exists)(e,"endOfRecurrence")?e.endOfRecurrence:void 0,frequency:(0,r.exists)(e,"frequency")?e.frequency:void 0,frequencyMultiplier:(0,r.exists)(e,"frequencyMultiplier")?e.frequencyMultiplier:void 0,summary:(0,r.exists)(e,"summary")?e.summary:void 0}}(n=t.RecurringEventUpdateRequestDtoFrequencyEnum||(t.RecurringEventUpdateRequestDtoFrequencyEnum={})).Weekly="WEEKLY",n.Monthly="MONTHLY",t.RecurringEventUpdateRequestDtoFromJSON=function(e){return o(e)},t.RecurringEventUpdateRequestDtoFromJSONTyped=o,t.RecurringEventUpdateRequestDtoToJSON=function(e){if(void 0!==e)return null===e?null:{startTime:e.startTime,endTime:e.endTime,daysOfWeek:e.daysOfWeek,daysOfMonth:e.daysOfMonth,startOfRecurrence:e.startOfRecurrence,endOfRecurrence:e.endOfRecurrence,frequency:e.frequency,frequencyMultiplier:e.frequencyMultiplier,summary:e.summary}}},4748:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ReportSettingToJSON=t.ReportSettingFromJSONTyped=t.ReportSettingFromJSON=t.ReportSettingSendingMediumEnum=t.ReportSettingTypeEnum=t.ReportSettingSheetIdsEnum=void 0;var n,r,o,a=i(296);function s(e,t){return null==e?e:{active:(0,a.exists)(e,"active")?e.active:void 0,id:(0,a.exists)(e,"id")?e.id:void 0,name:(0,a.exists)(e,"name")?e.name:void 0,reportNamePart1:(0,a.exists)(e,"reportNamePart1")?e.reportNamePart1:void 0,reportNamePart2:(0,a.exists)(e,"reportNamePart2")?e.reportNamePart2:void 0,startDate:(0,a.exists)(e,"startDate")?e.startDate:void 0,endDate:(0,a.exists)(e,"endDate")?e.endDate:void 0,initialReportDate:(0,a.exists)(e,"initialReportDate")?e.initialReportDate:void 0,isOrgLevel:(0,a.exists)(e,"isOrgLevel")?e.isOrgLevel:void 0,organizationIds:(0,a.exists)(e,"organizationIds")?e.organizationIds:void 0,buildingIds:(0,a.exists)(e,"buildingIds")?e.buildingIds:void 0,recipients:(0,a.exists)(e,"recipients")?e.recipients:void 0,sheetIds:(0,a.exists)(e,"sheetIds")?e.sheetIds:void 0,type:(0,a.exists)(e,"type")?e.type:void 0,sendingMedium:(0,a.exists)(e,"sendingMedium")?e.sendingMedium:void 0,htmlEmailMessage:(0,a.exists)(e,"htmlEmailMessage")?e.htmlEmailMessage:void 0,orgLevel:(0,a.exists)(e,"orgLevel")?e.orgLevel:void 0}}(o=t.ReportSettingSheetIdsEnum||(t.ReportSettingSheetIdsEnum={})).A1="A1",o.A1unsub="A1unsub",o.A1ytd="A1ytd",o.A2="A2",o.A3="A3",o.A3wk="A3wk",o.A3ytd="A3ytd",o.A4="A4",o.Bell2="BELL2",o.Bell4="BELL4",o.Boz1="BOZ1",o.Boz2="BOZ2",o.S1="S1",o.S1shows="S1shows",o.S1unsub="S1unsub",o.S1wk="S1wk",o.S2="S2",o.S2org="S2org",o.S2wk="S2wk",o.S3="S3",o.S3org="S3org",o.S3wk="S3wk",o.S4="S4",o.S4org="S4org",o.S5="S5",o.S5org="S5org",o.Sr1ytd="SR1ytd",o.Ivr1="IVR1",o.Ivr2="IVR2",(r=t.ReportSettingTypeEnum||(t.ReportSettingTypeEnum={})).ProspectReport="PROSPECT_REPORT",r.AutomaticReport="AUTOMATIC_REPORT",r.OwnerReport="OWNER_REPORT",r.InternalReport="INTERNAL_REPORT",(n=t.ReportSettingSendingMediumEnum||(t.ReportSettingSendingMediumEnum={})).Sftp="SFTP",n.AutomatedEmail="AUTOMATED_EMAIL",n.ManualEmail="MANUAL_EMAIL",t.ReportSettingFromJSON=function(e){return s(e)},t.ReportSettingFromJSONTyped=s,t.ReportSettingToJSON=function(e){if(void 0!==e)return null===e?null:{active:e.active,id:e.id,name:e.name,reportNamePart1:e.reportNamePart1,reportNamePart2:e.reportNamePart2,startDate:e.startDate,endDate:e.endDate,initialReportDate:e.initialReportDate,isOrgLevel:e.isOrgLevel,organizationIds:e.organizationIds,buildingIds:e.buildingIds,recipients:e.recipients,sheetIds:e.sheetIds,type:e.type,sendingMedium:e.sendingMedium,htmlEmailMessage:e.htmlEmailMessage,orgLevel:e.orgLevel}}},170:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.RescheduleConfirmedDtoToJSON=t.RescheduleConfirmedDtoFromJSONTyped=t.RescheduleConfirmedDtoFromJSON=t.RescheduleConfirmedDtoTourTypeEnum=void 0;var n,r=i(296);function o(e,t){return null==e?e:{contextId:(0,r.exists)(e,"contextId")?e.contextId:void 0,buildingId:(0,r.exists)(e,"buildingId")?e.buildingId:void 0,unitId:(0,r.exists)(e,"unitId")?e.unitId:void 0,tourType:(0,r.exists)(e,"tourType")?e.tourType:void 0,calendarEventId:(0,r.exists)(e,"calendarEventId")?e.calendarEventId:void 0,leasingAgentId:(0,r.exists)(e,"leasingAgentId")?e.leasingAgentId:void 0,newStartTime:(0,r.exists)(e,"newStartTime")?e.newStartTime:void 0,newEndTime:(0,r.exists)(e,"newEndTime")?e.newEndTime:void 0}}(n=t.RescheduleConfirmedDtoTourTypeEnum||(t.RescheduleConfirmedDtoTourTypeEnum={})).Unknown="UNKNOWN",n.SelfGuided="SELF_GUIDED",n.VirtualShowing="VIRTUAL_SHOWING",n.WithAgent="WITH_AGENT",n.MediaTour="MEDIA_TOUR",t.RescheduleConfirmedDtoFromJSON=function(e){return o(e)},t.RescheduleConfirmedDtoFromJSONTyped=o,t.RescheduleConfirmedDtoToJSON=function(e){if(void 0!==e)return null===e?null:{contextId:e.contextId,buildingId:e.buildingId,unitId:e.unitId,tourType:e.tourType,calendarEventId:e.calendarEventId,leasingAgentId:e.leasingAgentId,newStartTime:e.newStartTime,newEndTime:e.newEndTime}}},2298:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.RescheduleProposedDtoToJSON=t.RescheduleProposedDtoFromJSONTyped=t.RescheduleProposedDtoFromJSON=void 0;var n=i(296);function r(e,t){return null==e?e:{contextId:(0,n.exists)(e,"contextId")?e.contextId:void 0,buildingId:(0,n.exists)(e,"buildingId")?e.buildingId:void 0,calendarEventId:(0,n.exists)(e,"calendarEventId")?e.calendarEventId:void 0,suggestedStartTime:(0,n.exists)(e,"suggestedStartTime")?e.suggestedStartTime:void 0}}t.RescheduleProposedDtoFromJSON=function(e){return r(e)},t.RescheduleProposedDtoFromJSONTyped=r,t.RescheduleProposedDtoToJSON=function(e){if(void 0!==e)return null===e?null:{contextId:e.contextId,buildingId:e.buildingId,calendarEventId:e.calendarEventId,suggestedStartTime:e.suggestedStartTime}}},445:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ResolveEscalationDtoToJSON=t.ResolveEscalationDtoFromJSONTyped=t.ResolveEscalationDtoFromJSON=void 0;var n=i(296);function r(e,t){return null==e?e:{contextId:(0,n.exists)(e,"contextId")?e.contextId:void 0,resolutionStatus:(0,n.exists)(e,"resolutionStatus")?e.resolutionStatus:void 0,resolverEmail:(0,n.exists)(e,"resolverEmail")?e.resolverEmail:void 0,resolvedWithMessage:(0,n.exists)(e,"resolvedWithMessage")?e.resolvedWithMessage:void 0}}t.ResolveEscalationDtoFromJSON=function(e){return r(e)},t.ResolveEscalationDtoFromJSONTyped=r,t.ResolveEscalationDtoToJSON=function(e){if(void 0!==e)return null===e?null:{contextId:e.contextId,resolutionStatus:e.resolutionStatus,resolverEmail:e.resolverEmail,resolvedWithMessage:e.resolvedWithMessage}}},1222:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ResolveScriptRequestToJSON=t.ResolveScriptRequestFromJSONTyped=t.ResolveScriptRequestFromJSON=void 0;var n=i(296);function r(e,t){return null==e?e:{intent:(0,n.exists)(e,"intent")?e.intent:void 0,subintent:(0,n.exists)(e,"subintent")?e.subintent:void 0}}t.ResolveScriptRequestFromJSON=function(e){return r(e)},t.ResolveScriptRequestFromJSONTyped=r,t.ResolveScriptRequestToJSON=function(e){if(void 0!==e)return null===e?null:{intent:e.intent,subintent:e.subintent}}},7444:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ResolveScriptsRequestToJSON=t.ResolveScriptsRequestFromJSONTyped=t.ResolveScriptsRequestFromJSON=void 0;var n=i(296),r=i(1222);function o(e,t){return null==e?e:{buildingId:(0,n.exists)(e,"buildingId")?e.buildingId:void 0,organizationId:(0,n.exists)(e,"organizationId")?e.organizationId:void 0,scripts:(0,n.exists)(e,"scripts")?e.scripts.map(r.ResolveScriptRequestFromJSON):void 0}}t.ResolveScriptsRequestFromJSON=function(e){return o(e)},t.ResolveScriptsRequestFromJSONTyped=o,t.ResolveScriptsRequestToJSON=function(e){if(void 0!==e)return null===e?null:{buildingId:e.buildingId,organizationId:e.organizationId,scripts:void 0===e.scripts?void 0:e.scripts.map(r.ResolveScriptRequestToJSON)}}},3815:(e,t)=>{function i(e,t){return null==e?e:{mcId:e.mcId,response:e.response}}Object.defineProperty(t,"__esModule",{value:!0}),t.RespondToMCConversationDTOToJSON=t.RespondToMCConversationDTOFromJSONTyped=t.RespondToMCConversationDTOFromJSON=void 0,t.RespondToMCConversationDTOFromJSON=function(e){return i(e)},t.RespondToMCConversationDTOFromJSONTyped=i,t.RespondToMCConversationDTOToJSON=function(e){if(void 0!==e)return null===e?null:{mcId:e.mcId,response:e.response}}},8385:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ResponseAtomicTemplateToJSON=t.ResponseAtomicTemplateFromJSONTyped=t.ResponseAtomicTemplateFromJSON=t.ResponseAtomicTemplateHandoffIntentStateEnum=void 0;var n,r=i(296),o=i(1234);function a(e){return s(e)}function s(e,t){return null==e?e:{id:(0,r.exists)(e,"id")?e.id:void 0,scriptType:(0,r.exists)(e,"scriptType")?e.scriptType:void 0,organizationId:(0,r.exists)(e,"organizationId")?e.organizationId:void 0,category:(0,r.exists)(e,"category")?e.category:void 0,subIntent:(0,r.exists)(e,"subIntent")?e.subIntent:void 0,categoryReadableName:(0,r.exists)(e,"categoryReadableName")?e.categoryReadableName:void 0,responseText:(0,r.exists)(e,"responseText")?e.responseText:void 0,entity:(0,r.exists)(e,"entity")?e.entity:void 0,parent:(0,r.exists)(e,"parent")?e.parent:void 0,children:(0,r.exists)(e,"children")?e.children.map(a):void 0,attachments:(0,r.exists)(e,"attachments")?e.attachments.map(o.AttachmentFromJSON):void 0,aiTrainerInstructions:(0,r.exists)(e,"aiTrainerInstructions")?e.aiTrainerInstructions:void 0,handoffIntentState:(0,r.exists)(e,"handoffIntentState")?e.handoffIntentState:void 0,superCategory:(0,r.exists)(e,"superCategory")?e.superCategory:void 0,attachmentsFromDatabase:(0,r.exists)(e,"attachmentsFromDatabase")?e.attachmentsFromDatabase:void 0}}(n=t.ResponseAtomicTemplateHandoffIntentStateEnum||(t.ResponseAtomicTemplateHandoffIntentStateEnum={})).None="NONE",n.YellowStatus="YELLOW_STATUS",n.RedAlertSend="RED_ALERT_SEND",n.RedAlertDoNotSend="RED_ALERT_DO_NOT_SEND",t.ResponseAtomicTemplateFromJSON=a,t.ResponseAtomicTemplateFromJSONTyped=s,t.ResponseAtomicTemplateToJSON=function e(t){if(void 0!==t)return null===t?null:{id:t.id,scriptType:t.scriptType,organizationId:t.organizationId,category:t.category,subIntent:t.subIntent,categoryReadableName:t.categoryReadableName,responseText:t.responseText,entity:t.entity,parent:t.parent,children:void 0===t.children?void 0:t.children.map(e),attachments:void 0===t.attachments?void 0:t.attachments.map(o.AttachmentToJSON),aiTrainerInstructions:t.aiTrainerInstructions,handoffIntentState:t.handoffIntentState,superCategory:t.superCategory,attachmentsFromDatabase:t.attachmentsFromDatabase}}},6956:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ScheduleDtoToJSON=t.ScheduleDtoFromJSONTyped=t.ScheduleDtoFromJSON=t.ScheduleDtoTourTypeEnum=void 0;var n,r=i(296),o=i(5007);function a(e,t){return null==e?e:{guestCard:(0,r.exists)(e,"guestCard")?(0,o.EliseGuestCardDtoFromJSON)(e.guestCard):void 0,buildingId:(0,r.exists)(e,"buildingId")?e.buildingId:void 0,tourType:(0,r.exists)(e,"tourType")?e.tourType:void 0,unitId:(0,r.exists)(e,"unitId")?e.unitId:void 0,startTime:(0,r.exists)(e,"startTime")?e.startTime:void 0,endTime:(0,r.exists)(e,"endTime")?e.endTime:void 0,leasingAgentId:(0,r.exists)(e,"leasingAgentId")?e.leasingAgentId:void 0}}(n=t.ScheduleDtoTourTypeEnum||(t.ScheduleDtoTourTypeEnum={})).Unknown="UNKNOWN",n.SelfGuided="SELF_GUIDED",n.VirtualShowing="VIRTUAL_SHOWING",n.WithAgent="WITH_AGENT",n.MediaTour="MEDIA_TOUR",t.ScheduleDtoFromJSON=function(e){return a(e)},t.ScheduleDtoFromJSONTyped=a,t.ScheduleDtoToJSON=function(e){if(void 0!==e)return null===e?null:{guestCard:(0,o.EliseGuestCardDtoToJSON)(e.guestCard),buildingId:e.buildingId,tourType:e.tourType,unitId:e.unitId,startTime:e.startTime,endTime:e.endTime,leasingAgentId:e.leasingAgentId}}},2644:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ScriptToJSON=t.ScriptFromJSONTyped=t.ScriptFromJSON=t.ScriptHandoffIntentStateEnum=t.ScriptTypeEnum=t.ScriptMediaEnum=void 0;var n,r,o,a=i(296);function s(e,t){return null==e?e:{id:(0,a.exists)(e,"id")?e.id:void 0,organizationId:(0,a.exists)(e,"organizationId")?e.organizationId:void 0,media:(0,a.exists)(e,"media")?e.media:void 0,type:(0,a.exists)(e,"type")?e.type:void 0,category:(0,a.exists)(e,"category")?e.category:void 0,subIntent:(0,a.exists)(e,"subIntent")?e.subIntent:void 0,text:(0,a.exists)(e,"text")?e.text:void 0,handoffIntentState:(0,a.exists)(e,"handoffIntentState")?e.handoffIntentState:void 0,communityId:(0,a.exists)(e,"communityId")?e.communityId:void 0}}(o=t.ScriptMediaEnum||(t.ScriptMediaEnum={})).Both="BOTH",o.Email="EMAIL",o.Sms="SMS",(r=t.ScriptTypeEnum||(t.ScriptTypeEnum={})).All="ALL",r.Template="TEMPLATE",r.TemplateItem="TEMPLATE_ITEM",(n=t.ScriptHandoffIntentStateEnum||(t.ScriptHandoffIntentStateEnum={})).None="NONE",n.YellowStatus="YELLOW_STATUS",n.RedAlertSend="RED_ALERT_SEND",n.RedAlertDoNotSend="RED_ALERT_DO_NOT_SEND",t.ScriptFromJSON=function(e){return s(e)},t.ScriptFromJSONTyped=s,t.ScriptToJSON=function(e){if(void 0!==e)return null===e?null:{id:e.id,organizationId:e.organizationId,media:e.media,type:e.type,category:e.category,subIntent:e.subIntent,text:e.text,handoffIntentState:e.handoffIntentState,communityId:e.communityId}}},4192:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ScriptSearchQueryToJSON=t.ScriptSearchQueryFromJSONTyped=t.ScriptSearchQueryFromJSON=t.ScriptSearchQueryMediaEnum=t.ScriptSearchQueryTypeEnum=void 0;var n,r,o=i(296);function a(e,t){return null==e?e:{organizationId:(0,o.exists)(e,"organizationId")?e.organizationId:void 0,communityId:(0,o.exists)(e,"communityId")?e.communityId:void 0,type:e.type,media:e.media,category:(0,o.exists)(e,"category")?e.category:void 0,subIntent:(0,o.exists)(e,"subIntent")?e.subIntent:void 0,searchText:(0,o.exists)(e,"searchText")?e.searchText:void 0}}(r=t.ScriptSearchQueryTypeEnum||(t.ScriptSearchQueryTypeEnum={})).All="ALL",r.Template="TEMPLATE",r.TemplateItem="TEMPLATE_ITEM",(n=t.ScriptSearchQueryMediaEnum||(t.ScriptSearchQueryMediaEnum={})).Both="BOTH",n.Email="EMAIL",n.Sms="SMS",t.ScriptSearchQueryFromJSON=function(e){return a(e)},t.ScriptSearchQueryFromJSONTyped=a,t.ScriptSearchQueryToJSON=function(e){if(void 0!==e)return null===e?null:{organizationId:e.organizationId,communityId:e.communityId,type:e.type,media:e.media,category:e.category,subIntent:e.subIntent,searchText:e.searchText}}},6832:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ScriptSearchResultToJSON=t.ScriptSearchResultFromJSONTyped=t.ScriptSearchResultFromJSON=void 0;var n=i(296),r=i(2644);function o(e,t){return null==e?e:{scripts:(0,n.exists)(e,"scripts")?e.scripts.map(r.ScriptFromJSON):void 0,truncated:(0,n.exists)(e,"truncated")?e.truncated:void 0}}t.ScriptSearchResultFromJSON=function(e){return o(e)},t.ScriptSearchResultFromJSONTyped=o,t.ScriptSearchResultToJSON=function(e){if(void 0!==e)return null===e?null:{scripts:void 0===e.scripts?void 0:e.scripts.map(r.ScriptToJSON),truncated:e.truncated}}},6865:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.SendAgentMessageDtoToJSON=t.SendAgentMessageDtoFromJSONTyped=t.SendAgentMessageDtoFromJSON=void 0;var n=i(296);function r(e,t){return null==e?e:{message:(0,n.exists)(e,"message")?e.message:void 0,contextId:(0,n.exists)(e,"contextId")?e.contextId:void 0}}t.SendAgentMessageDtoFromJSON=function(e){return r(e)},t.SendAgentMessageDtoFromJSONTyped=r,t.SendAgentMessageDtoToJSON=function(e){if(void 0!==e)return null===e?null:{message:e.message,contextId:e.contextId}}},6448:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.SettingBooleanToJSON=t.SettingBooleanFromJSONTyped=t.SettingBooleanFromJSON=void 0;var n=i(296);function r(e,t){return null==e?e:{value:(0,n.exists)(e,"value")?e.value:void 0,enabled:(0,n.exists)(e,"enabled")?e.enabled:void 0,locked:(0,n.exists)(e,"locked")?e.locked:void 0}}t.SettingBooleanFromJSON=function(e){return r(e)},t.SettingBooleanFromJSONTyped=r,t.SettingBooleanToJSON=function(e){if(void 0!==e)return null===e?null:{value:e.value,enabled:e.enabled,locked:e.locked}}},6161:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.SettingIntegerToJSON=t.SettingIntegerFromJSONTyped=t.SettingIntegerFromJSON=void 0;var n=i(296);function r(e,t){return null==e?e:{value:(0,n.exists)(e,"value")?e.value:void 0,enabled:(0,n.exists)(e,"enabled")?e.enabled:void 0,locked:(0,n.exists)(e,"locked")?e.locked:void 0}}t.SettingIntegerFromJSON=function(e){return r(e)},t.SettingIntegerFromJSONTyped=r,t.SettingIntegerToJSON=function(e){if(void 0!==e)return null===e?null:{value:e.value,enabled:e.enabled,locked:e.locked}}},6069:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.SettingStringToJSON=t.SettingStringFromJSONTyped=t.SettingStringFromJSON=void 0;var n=i(296);function r(e,t){return null==e?e:{value:(0,n.exists)(e,"value")?e.value:void 0,enabled:(0,n.exists)(e,"enabled")?e.enabled:void 0,locked:(0,n.exists)(e,"locked")?e.locked:void 0}}t.SettingStringFromJSON=function(e){return r(e)},t.SettingStringFromJSONTyped=r,t.SettingStringToJSON=function(e){if(void 0!==e)return null===e?null:{value:e.value,enabled:e.enabled,locked:e.locked}}},6122:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.SettingVirtualTourTypeToJSON=t.SettingVirtualTourTypeFromJSONTyped=t.SettingVirtualTourTypeFromJSON=t.SettingVirtualTourTypeValueEnum=void 0;var n,r=i(296);function o(e,t){return null==e?e:{value:(0,r.exists)(e,"value")?e.value:void 0,enabled:(0,r.exists)(e,"enabled")?e.enabled:void 0,locked:(0,r.exists)(e,"locked")?e.locked:void 0}}(n=t.SettingVirtualTourTypeValueEnum||(t.SettingVirtualTourTypeValueEnum={})).NotEnabled="NOT_ENABLED",n.SelfManaged="SELF_MANAGED",n.Whereby="WHEREBY",t.SettingVirtualTourTypeFromJSON=function(e){return o(e)},t.SettingVirtualTourTypeFromJSONTyped=o,t.SettingVirtualTourTypeToJSON=function(e){if(void 0!==e)return null===e?null:{value:e.value,enabled:e.enabled,locked:e.locked}}},5687:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ShowActionDtoToJSON=t.ShowActionDtoFromJSONTyped=t.ShowActionDtoFromJSON=void 0;var n=i(296);function r(e,t){return null==e?e:{contextId:(0,n.exists)(e,"contextId")?e.contextId:void 0,buildingId:(0,n.exists)(e,"buildingId")?e.buildingId:void 0}}t.ShowActionDtoFromJSON=function(e){return r(e)},t.ShowActionDtoFromJSONTyped=r,t.ShowActionDtoToJSON=function(e){if(void 0!==e)return null===e?null:{contextId:e.contextId,buildingId:e.buildingId}}},2558:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.SubIntentMetadataToJSON=t.SubIntentMetadataFromJSONTyped=t.SubIntentMetadataFromJSON=void 0;var n=i(296);function r(e,t){return null==e?e:{template:(0,n.exists)(e,"template")?e.template:void 0,filled:(0,n.exists)(e,"filled")?e.filled:void 0}}t.SubIntentMetadataFromJSON=function(e){return r(e)},t.SubIntentMetadataFromJSONTyped=r,t.SubIntentMetadataToJSON=function(e){if(void 0!==e)return null===e?null:{template:e.template,filled:e.filled}}},904:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.TourAvailabilityResponseToJSON=t.TourAvailabilityResponseFromJSONTyped=t.TourAvailabilityResponseFromJSON=t.TourAvailabilityResponseRankOrderedSupportedTourTypesEnum=void 0;var n,r=i(296),o=i(7346),a=i(9374);function s(e,t){return null==e?e:{availability:(0,r.exists)(e,"availability")?(0,r.mapValues)(e.availability,a.TourTypeAvailabilityFromJSON):void 0,calendarTimeZone:(0,r.exists)(e,"calendarTimeZone")?(0,o.TourAvailabilityResponseCalendarTimeZoneFromJSON)(e.calendarTimeZone):void 0,rankOrderedSupportedTourTypes:(0,r.exists)(e,"rankOrderedSupportedTourTypes")?e.rankOrderedSupportedTourTypes:void 0}}(n=t.TourAvailabilityResponseRankOrderedSupportedTourTypesEnum||(t.TourAvailabilityResponseRankOrderedSupportedTourTypesEnum={})).Unknown="UNKNOWN",n.SelfGuided="SELF_GUIDED",n.VirtualShowing="VIRTUAL_SHOWING",n.WithAgent="WITH_AGENT",n.MediaTour="MEDIA_TOUR",t.TourAvailabilityResponseFromJSON=function(e){return s(e)},t.TourAvailabilityResponseFromJSONTyped=s,t.TourAvailabilityResponseToJSON=function(e){if(void 0!==e)return null===e?null:{availability:void 0===e.availability?void 0:(0,r.mapValues)(e.availability,a.TourTypeAvailabilityToJSON),calendarTimeZone:(0,o.TourAvailabilityResponseCalendarTimeZoneToJSON)(e.calendarTimeZone),rankOrderedSupportedTourTypes:e.rankOrderedSupportedTourTypes}}},7346:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.TourAvailabilityResponseCalendarTimeZoneToJSON=t.TourAvailabilityResponseCalendarTimeZoneFromJSONTyped=t.TourAvailabilityResponseCalendarTimeZoneFromJSON=void 0;var n=i(296),r=i(6306);function o(e,t){return null==e?e:{rules:(0,n.exists)(e,"rules")?(0,r.TourAvailabilityResponseCalendarTimeZoneRulesFromJSON)(e.rules):void 0,id:(0,n.exists)(e,"id")?e.id:void 0}}t.TourAvailabilityResponseCalendarTimeZoneFromJSON=function(e){return o(e)},t.TourAvailabilityResponseCalendarTimeZoneFromJSONTyped=o,t.TourAvailabilityResponseCalendarTimeZoneToJSON=function(e){if(void 0!==e)return null===e?null:{rules:(0,r.TourAvailabilityResponseCalendarTimeZoneRulesToJSON)(e.rules),id:e.id}}},6306:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.TourAvailabilityResponseCalendarTimeZoneRulesToJSON=t.TourAvailabilityResponseCalendarTimeZoneRulesFromJSONTyped=t.TourAvailabilityResponseCalendarTimeZoneRulesFromJSON=void 0;var n=i(296),r=i(1155),o=i(8911);function a(e,t){return null==e?e:{fixedOffset:(0,n.exists)(e,"fixedOffset")?e.fixedOffset:void 0,transitionRules:(0,n.exists)(e,"transitionRules")?e.transitionRules.map(r.TourAvailabilityResponseCalendarTimeZoneRulesTransitionRulesFromJSON):void 0,transitions:(0,n.exists)(e,"transitions")?e.transitions.map(o.TourAvailabilityResponseCalendarTimeZoneRulesTransitionsFromJSON):void 0}}t.TourAvailabilityResponseCalendarTimeZoneRulesFromJSON=function(e){return a(e)},t.TourAvailabilityResponseCalendarTimeZoneRulesFromJSONTyped=a,t.TourAvailabilityResponseCalendarTimeZoneRulesToJSON=function(e){if(void 0!==e)return null===e?null:{fixedOffset:e.fixedOffset,transitionRules:void 0===e.transitionRules?void 0:e.transitionRules.map(r.TourAvailabilityResponseCalendarTimeZoneRulesTransitionRulesToJSON),transitions:void 0===e.transitions?void 0:e.transitions.map(o.TourAvailabilityResponseCalendarTimeZoneRulesTransitionsToJSON)}}},2977:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.TourAvailabilityResponseCalendarTimeZoneRulesDurationToJSON=t.TourAvailabilityResponseCalendarTimeZoneRulesDurationFromJSONTyped=t.TourAvailabilityResponseCalendarTimeZoneRulesDurationFromJSON=void 0;var n=i(296),r=i(1124);function o(e,t){return null==e?e:{seconds:(0,n.exists)(e,"seconds")?e.seconds:void 0,nano:(0,n.exists)(e,"nano")?e.nano:void 0,zero:(0,n.exists)(e,"zero")?e.zero:void 0,negative:(0,n.exists)(e,"negative")?e.negative:void 0,units:(0,n.exists)(e,"units")?e.units.map(r.TourAvailabilityResponseCalendarTimeZoneRulesDurationUnitsFromJSON):void 0}}t.TourAvailabilityResponseCalendarTimeZoneRulesDurationFromJSON=function(e){return o(e)},t.TourAvailabilityResponseCalendarTimeZoneRulesDurationFromJSONTyped=o,t.TourAvailabilityResponseCalendarTimeZoneRulesDurationToJSON=function(e){if(void 0!==e)return null===e?null:{seconds:e.seconds,nano:e.nano,zero:e.zero,negative:e.negative,units:void 0===e.units?void 0:e.units.map(r.TourAvailabilityResponseCalendarTimeZoneRulesDurationUnitsToJSON)}}},1124:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.TourAvailabilityResponseCalendarTimeZoneRulesDurationUnitsToJSON=t.TourAvailabilityResponseCalendarTimeZoneRulesDurationUnitsFromJSONTyped=t.TourAvailabilityResponseCalendarTimeZoneRulesDurationUnitsFromJSON=void 0;var n=i(296);function r(e,t){return null==e?e:{dateBased:(0,n.exists)(e,"dateBased")?e.dateBased:void 0,timeBased:(0,n.exists)(e,"timeBased")?e.timeBased:void 0,durationEstimated:(0,n.exists)(e,"durationEstimated")?e.durationEstimated:void 0}}t.TourAvailabilityResponseCalendarTimeZoneRulesDurationUnitsFromJSON=function(e){return r(e)},t.TourAvailabilityResponseCalendarTimeZoneRulesDurationUnitsFromJSONTyped=r,t.TourAvailabilityResponseCalendarTimeZoneRulesDurationUnitsToJSON=function(e){if(void 0!==e)return null===e?null:{dateBased:e.dateBased,timeBased:e.timeBased,durationEstimated:e.durationEstimated}}},3225:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.TourAvailabilityResponseCalendarTimeZoneRulesStandardOffsetToJSON=t.TourAvailabilityResponseCalendarTimeZoneRulesStandardOffsetFromJSONTyped=t.TourAvailabilityResponseCalendarTimeZoneRulesStandardOffsetFromJSON=void 0;var n=i(296);function r(e,t){return null==e?e:{totalSeconds:(0,n.exists)(e,"totalSeconds")?e.totalSeconds:void 0,id:(0,n.exists)(e,"id")?e.id:void 0}}t.TourAvailabilityResponseCalendarTimeZoneRulesStandardOffsetFromJSON=function(e){return r(e)},t.TourAvailabilityResponseCalendarTimeZoneRulesStandardOffsetFromJSONTyped=r,t.TourAvailabilityResponseCalendarTimeZoneRulesStandardOffsetToJSON=function(e){if(void 0!==e)return null===e?null:{totalSeconds:e.totalSeconds,id:e.id}}},1155:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.TourAvailabilityResponseCalendarTimeZoneRulesTransitionRulesToJSON=t.TourAvailabilityResponseCalendarTimeZoneRulesTransitionRulesFromJSONTyped=t.TourAvailabilityResponseCalendarTimeZoneRulesTransitionRulesFromJSON=t.TourAvailabilityResponseCalendarTimeZoneRulesTransitionRulesDayOfWeekEnum=t.TourAvailabilityResponseCalendarTimeZoneRulesTransitionRulesTimeDefinitionEnum=t.TourAvailabilityResponseCalendarTimeZoneRulesTransitionRulesMonthEnum=void 0;var n,r,o,a=i(296),s=i(7399),l=i(3225);function u(e,t){return null==e?e:{month:(0,a.exists)(e,"month")?e.month:void 0,timeDefinition:(0,a.exists)(e,"timeDefinition")?e.timeDefinition:void 0,standardOffset:(0,a.exists)(e,"standardOffset")?(0,l.TourAvailabilityResponseCalendarTimeZoneRulesStandardOffsetFromJSON)(e.standardOffset):void 0,offsetBefore:(0,a.exists)(e,"offsetBefore")?(0,l.TourAvailabilityResponseCalendarTimeZoneRulesStandardOffsetFromJSON)(e.offsetBefore):void 0,offsetAfter:(0,a.exists)(e,"offsetAfter")?(0,l.TourAvailabilityResponseCalendarTimeZoneRulesStandardOffsetFromJSON)(e.offsetAfter):void 0,dayOfWeek:(0,a.exists)(e,"dayOfWeek")?e.dayOfWeek:void 0,dayOfMonthIndicator:(0,a.exists)(e,"dayOfMonthIndicator")?e.dayOfMonthIndicator:void 0,localTime:(0,a.exists)(e,"localTime")?(0,s.LocalTimeFromJSON)(e.localTime):void 0,midnightEndOfDay:(0,a.exists)(e,"midnightEndOfDay")?e.midnightEndOfDay:void 0}}(o=t.TourAvailabilityResponseCalendarTimeZoneRulesTransitionRulesMonthEnum||(t.TourAvailabilityResponseCalendarTimeZoneRulesTransitionRulesMonthEnum={})).January="JANUARY",o.February="FEBRUARY",o.March="MARCH",o.April="APRIL",o.May="MAY",o.June="JUNE",o.July="JULY",o.August="AUGUST",o.September="SEPTEMBER",o.October="OCTOBER",o.November="NOVEMBER",o.December="DECEMBER",(r=t.TourAvailabilityResponseCalendarTimeZoneRulesTransitionRulesTimeDefinitionEnum||(t.TourAvailabilityResponseCalendarTimeZoneRulesTransitionRulesTimeDefinitionEnum={})).Utc="UTC",r.Wall="WALL",r.Standard="STANDARD",(n=t.TourAvailabilityResponseCalendarTimeZoneRulesTransitionRulesDayOfWeekEnum||(t.TourAvailabilityResponseCalendarTimeZoneRulesTransitionRulesDayOfWeekEnum={})).Monday="MONDAY",n.Tuesday="TUESDAY",n.Wednesday="WEDNESDAY",n.Thursday="THURSDAY",n.Friday="FRIDAY",n.Saturday="SATURDAY",n.Sunday="SUNDAY",t.TourAvailabilityResponseCalendarTimeZoneRulesTransitionRulesFromJSON=function(e){return u(e)},t.TourAvailabilityResponseCalendarTimeZoneRulesTransitionRulesFromJSONTyped=u,t.TourAvailabilityResponseCalendarTimeZoneRulesTransitionRulesToJSON=function(e){if(void 0!==e)return null===e?null:{month:e.month,timeDefinition:e.timeDefinition,standardOffset:(0,l.TourAvailabilityResponseCalendarTimeZoneRulesStandardOffsetToJSON)(e.standardOffset),offsetBefore:(0,l.TourAvailabilityResponseCalendarTimeZoneRulesStandardOffsetToJSON)(e.offsetBefore),offsetAfter:(0,l.TourAvailabilityResponseCalendarTimeZoneRulesStandardOffsetToJSON)(e.offsetAfter),dayOfWeek:e.dayOfWeek,dayOfMonthIndicator:e.dayOfMonthIndicator,localTime:(0,s.LocalTimeToJSON)(e.localTime),midnightEndOfDay:e.midnightEndOfDay}}},8911:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.TourAvailabilityResponseCalendarTimeZoneRulesTransitionsToJSON=t.TourAvailabilityResponseCalendarTimeZoneRulesTransitionsFromJSONTyped=t.TourAvailabilityResponseCalendarTimeZoneRulesTransitionsFromJSON=void 0;var n=i(296),r=i(2977),o=i(3225);function a(e,t){return null==e?e:{offsetBefore:(0,n.exists)(e,"offsetBefore")?(0,o.TourAvailabilityResponseCalendarTimeZoneRulesStandardOffsetFromJSON)(e.offsetBefore):void 0,offsetAfter:(0,n.exists)(e,"offsetAfter")?(0,o.TourAvailabilityResponseCalendarTimeZoneRulesStandardOffsetFromJSON)(e.offsetAfter):void 0,duration:(0,n.exists)(e,"duration")?(0,r.TourAvailabilityResponseCalendarTimeZoneRulesDurationFromJSON)(e.duration):void 0,gap:(0,n.exists)(e,"gap")?e.gap:void 0,overlap:(0,n.exists)(e,"overlap")?e.overlap:void 0,dateTimeAfter:(0,n.exists)(e,"dateTimeAfter")?new Date(e.dateTimeAfter):void 0,instant:(0,n.exists)(e,"instant")?new Date(e.instant):void 0,dateTimeBefore:(0,n.exists)(e,"dateTimeBefore")?new Date(e.dateTimeBefore):void 0}}t.TourAvailabilityResponseCalendarTimeZoneRulesTransitionsFromJSON=function(e){return a(e)},t.TourAvailabilityResponseCalendarTimeZoneRulesTransitionsFromJSONTyped=a,t.TourAvailabilityResponseCalendarTimeZoneRulesTransitionsToJSON=function(e){if(void 0!==e)return null===e?null:{offsetBefore:(0,o.TourAvailabilityResponseCalendarTimeZoneRulesStandardOffsetToJSON)(e.offsetBefore),offsetAfter:(0,o.TourAvailabilityResponseCalendarTimeZoneRulesStandardOffsetToJSON)(e.offsetAfter),duration:(0,r.TourAvailabilityResponseCalendarTimeZoneRulesDurationToJSON)(e.duration),gap:e.gap,overlap:e.overlap,dateTimeAfter:void 0===e.dateTimeAfter?void 0:e.dateTimeAfter.toISOString(),instant:void 0===e.instant?void 0:e.instant.toISOString(),dateTimeBefore:void 0===e.dateTimeBefore?void 0:e.dateTimeBefore.toISOString()}}},9374:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.TourTypeAvailabilityToJSON=t.TourTypeAvailabilityFromJSONTyped=t.TourTypeAvailabilityFromJSON=void 0;var n=i(296);function r(e,t){return null==e?e:{tourDurationInMinutes:(0,n.exists)(e,"tourDurationInMinutes")?e.tourDurationInMinutes:void 0,availableTourStartTimes:(0,n.exists)(e,"availableTourStartTimes")?e.availableTourStartTimes:void 0}}t.TourTypeAvailabilityFromJSON=function(e){return r(e)},t.TourTypeAvailabilityFromJSONTyped=r,t.TourTypeAvailabilityToJSON=function(e){if(void 0!==e)return null===e?null:{tourDurationInMinutes:e.tourDurationInMinutes,availableTourStartTimes:e.availableTourStartTimes}}},6330:(e,t)=>{function i(e,t){return null==e?e:{value:e.value,label:e.label}}var n;Object.defineProperty(t,"__esModule",{value:!0}),t.TourTypeOptionToJSON=t.TourTypeOptionFromJSONTyped=t.TourTypeOptionFromJSON=t.TourTypeOptionValueEnum=void 0,(n=t.TourTypeOptionValueEnum||(t.TourTypeOptionValueEnum={})).Unknown="UNKNOWN",n.SelfGuided="SELF_GUIDED",n.VirtualShowing="VIRTUAL_SHOWING",n.WithAgent="WITH_AGENT",n.MediaTour="MEDIA_TOUR",t.TourTypeOptionFromJSON=function(e){return i(e)},t.TourTypeOptionFromJSONTyped=i,t.TourTypeOptionToJSON=function(e){if(void 0!==e)return null===e?null:{value:e.value,label:e.label}}},9275:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.UiBuildingDetailsToJSON=t.UiBuildingDetailsFromJSONTyped=t.UiBuildingDetailsFromJSON=t.UiBuildingDetailsVirtualTourTypeEnum=t.UiBuildingDetailsTourNotificationEmailsModeEnum=void 0;var n,r,o=i(296),a=i(3617);function s(e,t){return null==e?e:{id:(0,o.exists)(e,"id")?e.id:void 0,launchedDate:(0,o.exists)(e,"launchedDate")?new Date(e.launchedDate):void 0,managementCompanyId:(0,o.exists)(e,"managementCompanyId")?e.managementCompanyId:void 0,organizationId:(0,o.exists)(e,"organizationId")?e.organizationId:void 0,active:(0,o.exists)(e,"active")?e.active:void 0,handoffForwardToEmails:(0,o.exists)(e,"handoffForwardToEmails")?e.handoffForwardToEmails:void 0,responseCcEmails:(0,o.exists)(e,"responseCcEmails")?e.responseCcEmails:void 0,responseBccEmails:(0,o.exists)(e,"responseBccEmails")?e.responseBccEmails:void 0,associateCalendarId:(0,o.exists)(e,"associateCalendarId")?e.associateCalendarId:void 0,buildingName:(0,o.exists)(e,"buildingName")?e.buildingName:void 0,address1:(0,o.exists)(e,"address1")?e.address1:void 0,address2:(0,o.exists)(e,"address2")?e.address2:void 0,address3:(0,o.exists)(e,"address3")?e.address3:void 0,alternativeILSAddresses:(0,o.exists)(e,"alternativeILSAddresses")?e.alternativeILSAddresses:void 0,city:(0,o.exists)(e,"city")?e.city:void 0,state:(0,o.exists)(e,"state")?e.state:void 0,postalCode:(0,o.exists)(e,"postalCode")?e.postalCode:void 0,crossStreets:(0,o.exists)(e,"crossStreets")?e.crossStreets:void 0,neighborhood:(0,o.exists)(e,"neighborhood")?e.neighborhood:void 0,nearbyTransportation:(0,o.exists)(e,"nearbyTransportation")?e.nearbyTransportation:void 0,buildingOwnership:(0,o.exists)(e,"buildingOwnership")?e.buildingOwnership:void 0,buildingType:(0,o.exists)(e,"buildingType")?e.buildingType:void 0,totalUnits:(0,o.exists)(e,"totalUnits")?e.totalUnits:void 0,totalFloors:(0,o.exists)(e,"totalFloors")?e.totalFloors:void 0,yearBuilt:(0,o.exists)(e,"yearBuilt")?e.yearBuilt:void 0,block:(0,o.exists)(e,"block")?e.block:void 0,lot:(0,o.exists)(e,"lot")?e.lot:void 0,schoolDistrict:(0,o.exists)(e,"schoolDistrict")?e.schoolDistrict:void 0,communityDistrict:(0,o.exists)(e,"communityDistrict")?e.communityDistrict:void 0,newConstruction:(0,o.exists)(e,"newConstruction")?e.newConstruction:void 0,preWarBuilding:(0,o.exists)(e,"preWarBuilding")?e.preWarBuilding:void 0,brownstone:(0,o.exists)(e,"brownstone")?e.brownstone:void 0,greenBuilding:(0,o.exists)(e,"greenBuilding")?e.greenBuilding:void 0,elevator:(0,o.exists)(e,"elevator")?e.elevator:void 0,freightElevator:(0,o.exists)(e,"freightElevator")?e.freightElevator:void 0,parking:(0,o.exists)(e,"parking")?e.parking:void 0,petPolicy:(0,o.exists)(e,"petPolicy")?e.petPolicy:void 0,petNumberLimit:(0,o.exists)(e,"petNumberLimit")?e.petNumberLimit:void 0,petWeightLimit:(0,o.exists)(e,"petWeightLimit")?e.petWeightLimit:void 0,petFeeOrDeposit:(0,o.exists)(e,"petFeeOrDeposit")?e.petFeeOrDeposit:void 0,utilitiesIncluded:(0,o.exists)(e,"utilitiesIncluded")?e.utilitiesIncluded:void 0,utilitiesNotIncluded:(0,o.exists)(e,"utilitiesNotIncluded")?e.utilitiesNotIncluded:void 0,leaseTermsAccepted:(0,o.exists)(e,"leaseTermsAccepted")?e.leaseTermsAccepted:void 0,minLeaseTermAccepted:(0,o.exists)(e,"minLeaseTermAccepted")?e.minLeaseTermAccepted:void 0,furnishedOffered:(0,o.exists)(e,"furnishedOffered")?e.furnishedOffered:void 0,furnishedUnitsPolicy:(0,o.exists)(e,"furnishedUnitsPolicy")?e.furnishedUnitsPolicy:void 0,internationalStudentRequirements:(0,o.exists)(e,"internationalStudentRequirements")?e.internationalStudentRequirements:void 0,amenitiesFee:(0,o.exists)(e,"amenitiesFee")?e.amenitiesFee:void 0,nonSmoking:(0,o.exists)(e,"nonSmoking")?e.nonSmoking:void 0,piedATerreAllowed:(0,o.exists)(e,"piedATerreAllowed")?e.piedATerreAllowed:void 0,diplomatsOk:(0,o.exists)(e,"diplomatsOk")?e.diplomatsOk:void 0,corporateLeasesAccepted:(0,o.exists)(e,"corporateLeasesAccepted")?e.corporateLeasesAccepted:void 0,shortTermAllowed:(0,o.exists)(e,"shortTermAllowed")?e.shortTermAllowed:void 0,doorman:(0,o.exists)(e,"doorman")?e.doorman:void 0,intercom:(0,o.exists)(e,"intercom")?e.intercom:void 0,liveInSuper:(0,o.exists)(e,"liveInSuper")?e.liveInSuper:void 0,concierge:(0,o.exists)(e,"concierge")?e.concierge:void 0,laundryInBuilding:(0,o.exists)(e,"laundryInBuilding")?e.laundryInBuilding:void 0,packageReceiving:(0,o.exists)(e,"packageReceiving")?e.packageReceiving:void 0,gym:(0,o.exists)(e,"gym")?e.gym:void 0,storage:(0,o.exists)(e,"storage")?e.storage:void 0,bicycleRoom:(0,o.exists)(e,"bicycleRoom")?e.bicycleRoom:void 0,lounge:(0,o.exists)(e,"lounge")?e.lounge:void 0,clubHouse:(0,o.exists)(e,"clubHouse")?e.clubHouse:void 0,businessCenter:(0,o.exists)(e,"businessCenter")?e.businessCenter:void 0,outdoorSpace:(0,o.exists)(e,"outdoorSpace")?e.outdoorSpace:void 0,roofDeck:(0,o.exists)(e,"roofDeck")?e.roofDeck:void 0,courtyard:(0,o.exists)(e,"courtyard")?e.courtyard:void 0,childrenPlayroom:(0,o.exists)(e,"childrenPlayroom")?e.childrenPlayroom:void 0,nursery:(0,o.exists)(e,"nursery")?e.nursery:void 0,maidService:(0,o.exists)(e,"maidService")?e.maidService:void 0,pool:(0,o.exists)(e,"pool")?e.pool:void 0,wheelchairAccess:(0,o.exists)(e,"wheelchairAccess")?e.wheelchairAccess:void 0,guarantorTypesAccepted:(0,o.exists)(e,"guarantorTypesAccepted")?e.guarantorTypesAccepted:void 0,thirdPartyGuarantorTypesAccepted:(0,o.exists)(e,"thirdPartyGuarantorTypesAccepted")?e.thirdPartyGuarantorTypesAccepted:void 0,noCreditQualificationAlternative:(0,o.exists)(e,"noCreditQualificationAlternative")?e.noCreditQualificationAlternative:void 0,virtualTourPlatforms:(0,o.exists)(e,"virtualTourPlatforms")?e.virtualTourPlatforms:void 0,flexWallPolicy:(0,o.exists)(e,"flexWallPolicy")?e.flexWallPolicy:void 0,leaseholderApplicationFee:(0,o.exists)(e,"leaseholderApplicationFee")?e.leaseholderApplicationFee:void 0,occupantApplicationFee:(0,o.exists)(e,"occupantApplicationFee")?e.occupantApplicationFee:void 0,guarantorApplicationFee:(0,o.exists)(e,"guarantorApplicationFee")?e.guarantorApplicationFee:void 0,tenantIncomeRequirementRentMultiplier:(0,o.exists)(e,"tenantIncomeRequirementRentMultiplier")?e.tenantIncomeRequirementRentMultiplier:void 0,guarantorIncomeRequirementRentMultiplier:(0,o.exists)(e,"guarantorIncomeRequirementRentMultiplier")?e.guarantorIncomeRequirementRentMultiplier:void 0,incomeRequirementRentMultiplierTimePeriod:(0,o.exists)(e,"incomeRequirementRentMultiplierTimePeriod")?e.incomeRequirementRentMultiplierTimePeriod:void 0,leaseholderMinimumCreditScoreRequirement:(0,o.exists)(e,"leaseholderMinimumCreditScoreRequirement")?e.leaseholderMinimumCreditScoreRequirement:void 0,guarantorMinimumCreditScoreRequirement:(0,o.exists)(e,"guarantorMinimumCreditScoreRequirement")?e.guarantorMinimumCreditScoreRequirement:void 0,leaseholderApplicationDocumentsRequired:(0,o.exists)(e,"leaseholderApplicationDocumentsRequired")?e.leaseholderApplicationDocumentsRequired:void 0,selfEmployedApplicationDocumentsRequired:(0,o.exists)(e,"selfEmployedApplicationDocumentsRequired")?e.selfEmployedApplicationDocumentsRequired:void 0,guarantorApplicationDocumentsRequired:(0,o.exists)(e,"guarantorApplicationDocumentsRequired")?e.guarantorApplicationDocumentsRequired:void 0,guarantorsAccepted:(0,o.exists)(e,"guarantorsAccepted")?e.guarantorsAccepted:void 0,financialsInsufficientAlternative:(0,o.exists)(e,"financialsInsufficientAlternative")?e.financialsInsufficientAlternative:void 0,prepaymentPolicy:(0,o.exists)(e,"prepaymentPolicy")?e.prepaymentPolicy:void 0,rentRequiredOnLeaseSigning:(0,o.exists)(e,"rentRequiredOnLeaseSigning")?e.rentRequiredOnLeaseSigning:void 0,securityDepositRentMultiplier:(0,o.exists)(e,"securityDepositRentMultiplier")?e.securityDepositRentMultiplier:void 0,paymentFormsAccepted:(0,o.exists)(e,"paymentFormsAccepted")?e.paymentFormsAccepted:void 0,clientEmail:(0,o.exists)(e,"clientEmail")?e.clientEmail:void 0,description:(0,o.exists)(e,"description")?e.description:void 0,notes:(0,o.exists)(e,"notes")?e.notes:void 0,occupiedUnitsShowingHours:(0,o.exists)(e,"occupiedUnitsShowingHours")?e.occupiedUnitsShowingHours:void 0,leasingOfficeHours:(0,o.exists)(e,"leasingOfficeHours")?e.leasingOfficeHours:void 0,appointmentHours:(0,o.exists)(e,"appointmentHours")?e.appointmentHours.map(a.AppointmentHoursFromJSON):void 0,tourDuration:(0,o.exists)(e,"tourDuration")?e.tourDuration:void 0,internalNotes:(0,o.exists)(e,"internalNotes")?e.internalNotes:void 0,leasingPhoneNumber:(0,o.exists)(e,"leasingPhoneNumber")?e.leasingPhoneNumber:void 0,callCenterNumber:(0,o.exists)(e,"callCenterNumber")?e.callCenterNumber:void 0,buildingWebsiteUrl:(0,o.exists)(e,"buildingWebsiteUrl")?e.buildingWebsiteUrl:void 0,applicationLink:(0,o.exists)(e,"applicationLink")?e.applicationLink:void 0,geoAddress:(0,o.exists)(e,"geoAddress")?e.geoAddress:void 0,googleMapsUrl:(0,o.exists)(e,"googleMapsUrl")?e.googleMapsUrl:void 0,appointmentMeetingLocation:(0,o.exists)(e,"appointmentMeetingLocation")?e.appointmentMeetingLocation:void 0,appointmentMeetingPointSpecific:(0,o.exists)(e,"appointmentMeetingPointSpecific")?e.appointmentMeetingPointSpecific:void 0,appointmentDirections:(0,o.exists)(e,"appointmentDirections")?e.appointmentDirections:void 0,appointmentAdditionalDirections:(0,o.exists)(e,"appointmentAdditionalDirections")?e.appointmentAdditionalDirections:void 0,alerts:(0,o.exists)(e,"alerts")?e.alerts:void 0,rentComputeType:(0,o.exists)(e,"rentComputeType")?e.rentComputeType:void 0,autosendActive:(0,o.exists)(e,"autosendActive")?e.autosendActive:void 0,advancedMoveInAllowenceInDays:(0,o.exists)(e,"advancedMoveInAllowenceInDays")?e.advancedMoveInAllowenceInDays:void 0,showByOpenHouseOnly:(0,o.exists)(e,"showByOpenHouseOnly")?e.showByOpenHouseOnly:void 0,showUnitsWithPendingApplication:(0,o.exists)(e,"showUnitsWithPendingApplication")?e.showUnitsWithPendingApplication:void 0,showOccupiedUnitsWithPendingApplication:(0,o.exists)(e,"showOccupiedUnitsWithPendingApplication")?e.showOccupiedUnitsWithPendingApplication:void 0,confirmAppointmentsOccupiedUnits:(0,o.exists)(e,"confirmAppointmentsOccupiedUnits")?e.confirmAppointmentsOccupiedUnits:void 0,confirmAppointmentsRenovatingUnits:(0,o.exists)(e,"confirmAppointmentsRenovatingUnits")?e.confirmAppointmentsRenovatingUnits:void 0,occupiedUnitsAdvancedNoticeInHours:(0,o.exists)(e,"occupiedUnitsAdvancedNoticeInHours")?e.occupiedUnitsAdvancedNoticeInHours:void 0,alternativeBuildingNames:(0,o.exists)(e,"alternativeBuildingNames")?e.alternativeBuildingNames:void 0,externalIds:(0,o.exists)(e,"externalIds")?e.externalIds:void 0,externalCrmId:(0,o.exists)(e,"externalCrmId")?e.externalCrmId:void 0,defaultAvailabilityQuoteMatchMoveInDate:(0,o.exists)(e,"defaultAvailabilityQuoteMatchMoveInDate")?e.defaultAvailabilityQuoteMatchMoveInDate:void 0,leaseRenewalNoticeInDays:(0,o.exists)(e,"leaseRenewalNoticeInDays")?e.leaseRenewalNoticeInDays:void 0,rentQuoteFormat:(0,o.exists)(e,"rentQuoteFormat")?e.rentQuoteFormat:void 0,rentWithIncentivesQuoteFormat:(0,o.exists)(e,"rentWithIncentivesQuoteFormat")?e.rentWithIncentivesQuoteFormat:void 0,isPartOfComplex:(0,o.exists)(e,"isPartOfComplex")?e.isPartOfComplex:void 0,effectiveRentComputeType:(0,o.exists)(e,"effectiveRentComputeType")?e.effectiveRentComputeType:void 0,maxLeaseTermAccepted:(0,o.exists)(e,"maxLeaseTermAccepted")?e.maxLeaseTermAccepted:void 0,parkingInformation:(0,o.exists)(e,"parkingInformation")?e.parkingInformation:void 0,storageFee:(0,o.exists)(e,"storageFee")?e.storageFee:void 0,incentivesProperlyConnected:(0,o.exists)(e,"incentivesProperlyConnected")?e.incentivesProperlyConnected:void 0,prioritizeShowingVacantUnits:(0,o.exists)(e,"prioritizeShowingVacantUnits")?e.prioritizeShowingVacantUnits:void 0,electricCompany:(0,o.exists)(e,"electricCompany")?e.electricCompany:void 0,gasCompany:(0,o.exists)(e,"gasCompany")?e.gasCompany:void 0,telephoneCompany:(0,o.exists)(e,"telephoneCompany")?e.telephoneCompany:void 0,televisionCompany:(0,o.exists)(e,"televisionCompany")?e.televisionCompany:void 0,waterCompany:(0,o.exists)(e,"waterCompany")?e.waterCompany:void 0,internetCompany:(0,o.exists)(e,"internetCompany")?e.internetCompany:void 0,localHospital:(0,o.exists)(e,"localHospital")?e.localHospital:void 0,localSchoolDistrict:(0,o.exists)(e,"localSchoolDistrict")?e.localSchoolDistrict:void 0,localElementarySchool:(0,o.exists)(e,"localElementarySchool")?e.localElementarySchool:void 0,localMiddleSchool:(0,o.exists)(e,"localMiddleSchool")?e.localMiddleSchool:void 0,localHighSchool:(0,o.exists)(e,"localHighSchool")?e.localHighSchool:void 0,localShoppingCenter:(0,o.exists)(e,"localShoppingCenter")?e.localShoppingCenter:void 0,localGroceryStore:(0,o.exists)(e,"localGroceryStore")?e.localGroceryStore:void 0,closestInterstates:(0,o.exists)(e,"closestInterstates")?e.closestInterstates:void 0,buildingPicturesUrl:(0,o.exists)(e,"buildingPicturesUrl")?e.buildingPicturesUrl:void 0,buildingFloorPlansUrl:(0,o.exists)(e,"buildingFloorPlansUrl")?e.buildingFloorPlansUrl:void 0,nonexistentLayouts:(0,o.exists)(e,"nonexistentLayouts")?e.nonexistentLayouts:void 0,offeredLayouts:(0,o.exists)(e,"offeredLayouts")?e.offeredLayouts:void 0,avoidQuotingPrices:(0,o.exists)(e,"avoidQuotingPrices")?e.avoidQuotingPrices:void 0,excludeNotRentReadyUnit:(0,o.exists)(e,"excludeNotRentReadyUnit")?e.excludeNotRentReadyUnit:void 0,flexWallsAllowed:(0,o.exists)(e,"flexWallsAllowed")?e.flexWallsAllowed:void 0,petsAccepted:(0,o.exists)(e,"petsAccepted")?e.petsAccepted:void 0,showOccupiedUnits:(0,o.exists)(e,"showOccupiedUnits")?e.showOccupiedUnits:void 0,guarantorsAcceptedSwitch:(0,o.exists)(e,"guarantorsAcceptedSwitch")?e.guarantorsAcceptedSwitch:void 0,thirdPartyGuarantorsAccepted:(0,o.exists)(e,"thirdPartyGuarantorsAccepted")?e.thirdPartyGuarantorsAccepted:void 0,alwaysScheduleAppointments:(0,o.exists)(e,"alwaysScheduleAppointments")?e.alwaysScheduleAppointments:void 0,leasingOfficeOnsite:(0,o.exists)(e,"leasingOfficeOnsite")?e.leasingOfficeOnsite:void 0,building3dMediaUrl:(0,o.exists)(e,"building3dMediaUrl")?e.building3dMediaUrl:void 0,dailyReportEmails:(0,o.exists)(e,"dailyReportEmails")?e.dailyReportEmails:void 0,weeklyReportEmails:(0,o.exists)(e,"weeklyReportEmails")?e.weeklyReportEmails:void 0,nearbySubways:(0,o.exists)(e,"nearbySubways")?e.nearbySubways:void 0,bedroomTypes:(0,o.exists)(e,"bedroomTypes")?e.bedroomTypes:void 0,inPersonToursAllowed:(0,o.exists)(e,"inPersonToursAllowed")?e.inPersonToursAllowed:void 0,selfGuidedToursEnabled:(0,o.exists)(e,"selfGuidedToursEnabled")?e.selfGuidedToursEnabled:void 0,liveVirtualToursAllowed:(0,o.exists)(e,"liveVirtualToursAllowed")?e.liveVirtualToursAllowed:void 0,noUnitSelfGuidedTourAllowed:(0,o.exists)(e,"noUnitSelfGuidedTourAllowed")?e.noUnitSelfGuidedTourAllowed:void 0,sgSchedulingBasedOnNormalAppointments:(0,o.exists)(e,"sgSchedulingBasedOnNormalAppointments")?e.sgSchedulingBasedOnNormalAppointments:void 0,leasingBrochureUrl:(0,o.exists)(e,"leasingBrochureUrl")?e.leasingBrochureUrl:void 0,textForwardToEmails:(0,o.exists)(e,"textForwardToEmails")?e.textForwardToEmails:void 0,omitDesiredFloorPlan:(0,o.exists)(e,"omitDesiredFloorPlan")?e.omitDesiredFloorPlan:void 0,tourNotificationEmailsMode:(0,o.exists)(e,"tourNotificationEmailsMode")?e.tourNotificationEmailsMode:void 0,virtualTourType:(0,o.exists)(e,"virtualTourType")?e.virtualTourType:void 0,showNotRespondingLeadsInReport:(0,o.exists)(e,"showNotRespondingLeadsInReport")?e.showNotRespondingLeadsInReport:void 0,emailSignature:(0,o.exists)(e,"emailSignature")?e.emailSignature:void 0,sgtUrl:(0,o.exists)(e,"sgtUrl")?e.sgtUrl:void 0,preRecordedVirtualTourUrl:(0,o.exists)(e,"preRecordedVirtualTourUrl")?e.preRecordedVirtualTourUrl:void 0,liveVirtualToursLink:(0,o.exists)(e,"liveVirtualToursLink")?e.liveVirtualToursLink:void 0,selfGuidedToursLink:(0,o.exists)(e,"selfGuidedToursLink")?e.selfGuidedToursLink:void 0}}(r=t.UiBuildingDetailsTourNotificationEmailsModeEnum||(t.UiBuildingDetailsTourNotificationEmailsModeEnum={})).NoNotification="NO_NOTIFICATION",r.AllViewings="ALL_VIEWINGS",r.SameDayViewings="SAME_DAY_VIEWINGS",(n=t.UiBuildingDetailsVirtualTourTypeEnum||(t.UiBuildingDetailsVirtualTourTypeEnum={})).NotEnabled="NOT_ENABLED",n.SelfManaged="SELF_MANAGED",n.Whereby="WHEREBY",t.UiBuildingDetailsFromJSON=function(e){return s(e)},t.UiBuildingDetailsFromJSONTyped=s,t.UiBuildingDetailsToJSON=function(e){if(void 0!==e)return null===e?null:{id:e.id,launchedDate:void 0===e.launchedDate?void 0:e.launchedDate.toISOString(),managementCompanyId:e.managementCompanyId,organizationId:e.organizationId,active:e.active,handoffForwardToEmails:e.handoffForwardToEmails,responseCcEmails:e.responseCcEmails,responseBccEmails:e.responseBccEmails,associateCalendarId:e.associateCalendarId,buildingName:e.buildingName,address1:e.address1,address2:e.address2,address3:e.address3,alternativeILSAddresses:e.alternativeILSAddresses,city:e.city,state:e.state,postalCode:e.postalCode,crossStreets:e.crossStreets,neighborhood:e.neighborhood,nearbyTransportation:e.nearbyTransportation,buildingOwnership:e.buildingOwnership,buildingType:e.buildingType,totalUnits:e.totalUnits,totalFloors:e.totalFloors,yearBuilt:e.yearBuilt,block:e.block,lot:e.lot,schoolDistrict:e.schoolDistrict,communityDistrict:e.communityDistrict,newConstruction:e.newConstruction,preWarBuilding:e.preWarBuilding,brownstone:e.brownstone,greenBuilding:e.greenBuilding,elevator:e.elevator,freightElevator:e.freightElevator,parking:e.parking,petPolicy:e.petPolicy,petNumberLimit:e.petNumberLimit,petWeightLimit:e.petWeightLimit,petFeeOrDeposit:e.petFeeOrDeposit,utilitiesIncluded:e.utilitiesIncluded,utilitiesNotIncluded:e.utilitiesNotIncluded,leaseTermsAccepted:e.leaseTermsAccepted,minLeaseTermAccepted:e.minLeaseTermAccepted,furnishedOffered:e.furnishedOffered,furnishedUnitsPolicy:e.furnishedUnitsPolicy,internationalStudentRequirements:e.internationalStudentRequirements,amenitiesFee:e.amenitiesFee,nonSmoking:e.nonSmoking,piedATerreAllowed:e.piedATerreAllowed,diplomatsOk:e.diplomatsOk,corporateLeasesAccepted:e.corporateLeasesAccepted,shortTermAllowed:e.shortTermAllowed,doorman:e.doorman,intercom:e.intercom,liveInSuper:e.liveInSuper,concierge:e.concierge,laundryInBuilding:e.laundryInBuilding,packageReceiving:e.packageReceiving,gym:e.gym,storage:e.storage,bicycleRoom:e.bicycleRoom,lounge:e.lounge,clubHouse:e.clubHouse,businessCenter:e.businessCenter,outdoorSpace:e.outdoorSpace,roofDeck:e.roofDeck,courtyard:e.courtyard,childrenPlayroom:e.childrenPlayroom,nursery:e.nursery,maidService:e.maidService,pool:e.pool,wheelchairAccess:e.wheelchairAccess,guarantorTypesAccepted:e.guarantorTypesAccepted,thirdPartyGuarantorTypesAccepted:e.thirdPartyGuarantorTypesAccepted,noCreditQualificationAlternative:e.noCreditQualificationAlternative,virtualTourPlatforms:e.virtualTourPlatforms,flexWallPolicy:e.flexWallPolicy,leaseholderApplicationFee:e.leaseholderApplicationFee,occupantApplicationFee:e.occupantApplicationFee,guarantorApplicationFee:e.guarantorApplicationFee,tenantIncomeRequirementRentMultiplier:e.tenantIncomeRequirementRentMultiplier,guarantorIncomeRequirementRentMultiplier:e.guarantorIncomeRequirementRentMultiplier,incomeRequirementRentMultiplierTimePeriod:e.incomeRequirementRentMultiplierTimePeriod,leaseholderMinimumCreditScoreRequirement:e.leaseholderMinimumCreditScoreRequirement,guarantorMinimumCreditScoreRequirement:e.guarantorMinimumCreditScoreRequirement,leaseholderApplicationDocumentsRequired:e.leaseholderApplicationDocumentsRequired,selfEmployedApplicationDocumentsRequired:e.selfEmployedApplicationDocumentsRequired,guarantorApplicationDocumentsRequired:e.guarantorApplicationDocumentsRequired,guarantorsAccepted:e.guarantorsAccepted,financialsInsufficientAlternative:e.financialsInsufficientAlternative,prepaymentPolicy:e.prepaymentPolicy,rentRequiredOnLeaseSigning:e.rentRequiredOnLeaseSigning,securityDepositRentMultiplier:e.securityDepositRentMultiplier,paymentFormsAccepted:e.paymentFormsAccepted,clientEmail:e.clientEmail,description:e.description,notes:e.notes,occupiedUnitsShowingHours:e.occupiedUnitsShowingHours,leasingOfficeHours:e.leasingOfficeHours,appointmentHours:void 0===e.appointmentHours?void 0:e.appointmentHours.map(a.AppointmentHoursToJSON),tourDuration:e.tourDuration,internalNotes:e.internalNotes,leasingPhoneNumber:e.leasingPhoneNumber,callCenterNumber:e.callCenterNumber,buildingWebsiteUrl:e.buildingWebsiteUrl,applicationLink:e.applicationLink,geoAddress:e.geoAddress,googleMapsUrl:e.googleMapsUrl,appointmentMeetingLocation:e.appointmentMeetingLocation,appointmentMeetingPointSpecific:e.appointmentMeetingPointSpecific,appointmentDirections:e.appointmentDirections,appointmentAdditionalDirections:e.appointmentAdditionalDirections,alerts:e.alerts,rentComputeType:e.rentComputeType,autosendActive:e.autosendActive,advancedMoveInAllowenceInDays:e.advancedMoveInAllowenceInDays,showByOpenHouseOnly:e.showByOpenHouseOnly,showUnitsWithPendingApplication:e.showUnitsWithPendingApplication,showOccupiedUnitsWithPendingApplication:e.showOccupiedUnitsWithPendingApplication,confirmAppointmentsOccupiedUnits:e.confirmAppointmentsOccupiedUnits,confirmAppointmentsRenovatingUnits:e.confirmAppointmentsRenovatingUnits,occupiedUnitsAdvancedNoticeInHours:e.occupiedUnitsAdvancedNoticeInHours,alternativeBuildingNames:e.alternativeBuildingNames,externalIds:e.externalIds,externalCrmId:e.externalCrmId,defaultAvailabilityQuoteMatchMoveInDate:e.defaultAvailabilityQuoteMatchMoveInDate,leaseRenewalNoticeInDays:e.leaseRenewalNoticeInDays,rentQuoteFormat:e.rentQuoteFormat,rentWithIncentivesQuoteFormat:e.rentWithIncentivesQuoteFormat,isPartOfComplex:e.isPartOfComplex,effectiveRentComputeType:e.effectiveRentComputeType,maxLeaseTermAccepted:e.maxLeaseTermAccepted,parkingInformation:e.parkingInformation,storageFee:e.storageFee,incentivesProperlyConnected:e.incentivesProperlyConnected,prioritizeShowingVacantUnits:e.prioritizeShowingVacantUnits,electricCompany:e.electricCompany,gasCompany:e.gasCompany,telephoneCompany:e.telephoneCompany,televisionCompany:e.televisionCompany,waterCompany:e.waterCompany,internetCompany:e.internetCompany,localHospital:e.localHospital,localSchoolDistrict:e.localSchoolDistrict,localElementarySchool:e.localElementarySchool,localMiddleSchool:e.localMiddleSchool,localHighSchool:e.localHighSchool,localShoppingCenter:e.localShoppingCenter,localGroceryStore:e.localGroceryStore,closestInterstates:e.closestInterstates,buildingPicturesUrl:e.buildingPicturesUrl,buildingFloorPlansUrl:e.buildingFloorPlansUrl,nonexistentLayouts:e.nonexistentLayouts,offeredLayouts:e.offeredLayouts,avoidQuotingPrices:e.avoidQuotingPrices,excludeNotRentReadyUnit:e.excludeNotRentReadyUnit,flexWallsAllowed:e.flexWallsAllowed,petsAccepted:e.petsAccepted,showOccupiedUnits:e.showOccupiedUnits,guarantorsAcceptedSwitch:e.guarantorsAcceptedSwitch,thirdPartyGuarantorsAccepted:e.thirdPartyGuarantorsAccepted,alwaysScheduleAppointments:e.alwaysScheduleAppointments,leasingOfficeOnsite:e.leasingOfficeOnsite,building3dMediaUrl:e.building3dMediaUrl,dailyReportEmails:e.dailyReportEmails,weeklyReportEmails:e.weeklyReportEmails,nearbySubways:e.nearbySubways,bedroomTypes:e.bedroomTypes,inPersonToursAllowed:e.inPersonToursAllowed,selfGuidedToursEnabled:e.selfGuidedToursEnabled,liveVirtualToursAllowed:e.liveVirtualToursAllowed,noUnitSelfGuidedTourAllowed:e.noUnitSelfGuidedTourAllowed,sgSchedulingBasedOnNormalAppointments:e.sgSchedulingBasedOnNormalAppointments,leasingBrochureUrl:e.leasingBrochureUrl,textForwardToEmails:e.textForwardToEmails,omitDesiredFloorPlan:e.omitDesiredFloorPlan,tourNotificationEmailsMode:e.tourNotificationEmailsMode,virtualTourType:e.virtualTourType,showNotRespondingLeadsInReport:e.showNotRespondingLeadsInReport,emailSignature:e.emailSignature,sgtUrl:e.sgtUrl,preRecordedVirtualTourUrl:e.preRecordedVirtualTourUrl,liveVirtualToursLink:e.liveVirtualToursLink,selfGuidedToursLink:e.selfGuidedToursLink}}},260:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.UnitDetailsToJSON=t.UnitDetailsFromJSONTyped=t.UnitDetailsFromJSON=void 0;var n=i(296),r=i(3617),o=i(5604);function a(e,t){return null==e?e:{id:(0,n.exists)(e,"id")?e.id:void 0,buildingId:(0,n.exists)(e,"buildingId")?e.buildingId:void 0,timeCreated:(0,n.exists)(e,"timeCreated")?new Date(e.timeCreated):void 0,active:(0,n.exists)(e,"active")?e.active:void 0,unitNumber:(0,n.exists)(e,"unitNumber")?e.unitNumber:void 0,description:(0,n.exists)(e,"description")?e.description:void 0,dateAvailable:(0,n.exists)(e,"dateAvailable")?new Date(e.dateAvailable):void 0,firstShowingDate:(0,n.exists)(e,"firstShowingDate")?new Date(e.firstShowingDate):void 0,applicationStatus:(0,n.exists)(e,"applicationStatus")?e.applicationStatus:void 0,availabilityStage:(0,n.exists)(e,"availabilityStage")?e.availabilityStage:void 0,viewingTimes:(0,n.exists)(e,"viewingTimes")?e.viewingTimes:void 0,tenantOccupied:(0,n.exists)(e,"tenantOccupied")?e.tenantOccupied:void 0,openHouse:(0,n.exists)(e,"openHouse")?e.openHouse.map(r.AppointmentHoursFromJSON):void 0,minLeaseTerm:(0,n.exists)(e,"minLeaseTerm")?e.minLeaseTerm:void 0,maxLeaseTerm:(0,n.exists)(e,"maxLeaseTerm")?e.maxLeaseTerm:void 0,floorplanLink:(0,n.exists)(e,"floorplanLink")?e.floorplanLink:void 0,floorplanFileType:(0,n.exists)(e,"floorplanFileType")?e.floorplanFileType:void 0,applicationUrl:(0,n.exists)(e,"applicationUrl")?e.applicationUrl:void 0,numberOfBedrooms:(0,n.exists)(e,"numberOfBedrooms")?e.numberOfBedrooms:void 0,numberOfBathrooms:(0,n.exists)(e,"numberOfBathrooms")?e.numberOfBathrooms:void 0,totalRooms:(0,n.exists)(e,"totalRooms")?e.totalRooms:void 0,layout:(0,n.exists)(e,"layout")?e.layout:void 0,layoutDescription:(0,n.exists)(e,"layoutDescription")?e.layoutDescription:void 0,convertible:(0,n.exists)(e,"convertible")?e.convertible:void 0,partitionTypesAllowed:(0,n.exists)(e,"partitionTypesAllowed")?e.partitionTypesAllowed:void 0,furnished:(0,n.exists)(e,"furnished")?e.furnished:void 0,furnishedAddedPrice:(0,n.exists)(e,"furnishedAddedPrice")?e.furnishedAddedPrice:void 0,laundryInUnit:(0,n.exists)(e,"laundryInUnit")?e.laundryInUnit:void 0,windowAirConditioning:(0,n.exists)(e,"windowAirConditioning")?e.windowAirConditioning:void 0,centralAirConditioning:(0,n.exists)(e,"centralAirConditioning")?e.centralAirConditioning:void 0,ceilingFan:(0,n.exists)(e,"ceilingFan")?e.ceilingFan:void 0,centralHeating:(0,n.exists)(e,"centralHeating")?e.centralHeating:void 0,dishwasher:(0,n.exists)(e,"dishwasher")?e.dishwasher:void 0,walkInCloset:(0,n.exists)(e,"walkInCloset")?e.walkInCloset:void 0,microwave:(0,n.exists)(e,"microwave")?e.microwave:void 0,hardwoodFloors:(0,n.exists)(e,"hardwoodFloors")?e.hardwoodFloors:void 0,carpet:(0,n.exists)(e,"carpet")?e.carpet:void 0,highCeilings:(0,n.exists)(e,"highCeilings")?e.highCeilings:void 0,floorToCeilingWindows:(0,n.exists)(e,"floorToCeilingWindows")?e.floorToCeilingWindows:void 0,fireplace:(0,n.exists)(e,"fireplace")?e.fireplace:void 0,exposure:(0,n.exists)(e,"exposure")?e.exposure:void 0,view:(0,n.exists)(e,"view")?e.view:void 0,viewDescription:(0,n.exists)(e,"viewDescription")?e.viewDescription:void 0,assignedParking:(0,n.exists)(e,"assignedParking")?e.assignedParking:void 0,privateOutDoorSpace:(0,n.exists)(e,"privateOutDoorSpace")?e.privateOutDoorSpace:void 0,incentive:(0,n.exists)(e,"incentive")?e.incentive:void 0,notes:(0,n.exists)(e,"notes")?e.notes:void 0,brokerUnitDescription:(0,n.exists)(e,"brokerUnitDescription")?e.brokerUnitDescription:void 0,brokerFeeStructure:(0,n.exists)(e,"brokerFeeStructure")?e.brokerFeeStructure:void 0,defaultUnitCurrentAvailabilities:(0,n.exists)(e,"defaultUnitCurrentAvailabilities")?e.defaultUnitCurrentAvailabilities:void 0,building:(0,n.exists)(e,"building")?(0,o.BuildingDetailsFromJSON)(e.building):void 0,numberOfAvailableUnits:(0,n.exists)(e,"numberOfAvailableUnits")?e.numberOfAvailableUnits:void 0,rent:(0,n.exists)(e,"rent")?e.rent:void 0,grossRent:(0,n.exists)(e,"grossRent")?e.grossRent:void 0,brokerNetRent:(0,n.exists)(e,"brokerNetRent")?e.brokerNetRent:void 0,squareFootage:(0,n.exists)(e,"squareFootage")?e.squareFootage:void 0,floor:(0,n.exists)(e,"floor")?e.floor:void 0,maxRent:(0,n.exists)(e,"maxRent")?e.maxRent:void 0,maxGrossRent:(0,n.exists)(e,"maxGrossRent")?e.maxGrossRent:void 0,maxBrokerNetRent:(0,n.exists)(e,"maxBrokerNetRent")?e.maxBrokerNetRent:void 0,maxSquareFootage:(0,n.exists)(e,"maxSquareFootage")?e.maxSquareFootage:void 0,maxFloor:(0,n.exists)(e,"maxFloor")?e.maxFloor:void 0,complexId:(0,n.exists)(e,"complexId")?e.complexId:void 0,alternativeUnitNumbers:(0,n.exists)(e,"alternativeUnitNumbers")?e.alternativeUnitNumbers:void 0,externalId:(0,n.exists)(e,"externalId")?e.externalId:void 0,alternativeBuildingCrmId:(0,n.exists)(e,"alternativeBuildingCrmId")?e.alternativeBuildingCrmId:void 0,externalFloorPlanDescriptionId:(0,n.exists)(e,"externalFloorPlanDescriptionId")?e.externalFloorPlanDescriptionId:void 0,walkinUrl:(0,n.exists)(e,"walkinUrl")?e.walkinUrl:void 0,marketRateUnit:(0,n.exists)(e,"marketRateUnit")?e.marketRateUnit:void 0,_new:(0,n.exists)(e,"new")?e.new:void 0}}t.UnitDetailsFromJSON=function(e){return a(e)},t.UnitDetailsFromJSONTyped=a,t.UnitDetailsToJSON=function(e){if(void 0!==e)return null===e?null:{id:e.id,buildingId:e.buildingId,timeCreated:void 0===e.timeCreated?void 0:e.timeCreated.toISOString(),active:e.active,unitNumber:e.unitNumber,description:e.description,dateAvailable:void 0===e.dateAvailable?void 0:e.dateAvailable.toISOString(),firstShowingDate:void 0===e.firstShowingDate?void 0:e.firstShowingDate.toISOString(),applicationStatus:e.applicationStatus,availabilityStage:e.availabilityStage,viewingTimes:e.viewingTimes,tenantOccupied:e.tenantOccupied,openHouse:void 0===e.openHouse?void 0:e.openHouse.map(r.AppointmentHoursToJSON),minLeaseTerm:e.minLeaseTerm,maxLeaseTerm:e.maxLeaseTerm,floorplanLink:e.floorplanLink,floorplanFileType:e.floorplanFileType,applicationUrl:e.applicationUrl,numberOfBedrooms:e.numberOfBedrooms,numberOfBathrooms:e.numberOfBathrooms,totalRooms:e.totalRooms,layout:e.layout,layoutDescription:e.layoutDescription,convertible:e.convertible,partitionTypesAllowed:e.partitionTypesAllowed,furnished:e.furnished,furnishedAddedPrice:e.furnishedAddedPrice,laundryInUnit:e.laundryInUnit,windowAirConditioning:e.windowAirConditioning,centralAirConditioning:e.centralAirConditioning,ceilingFan:e.ceilingFan,centralHeating:e.centralHeating,dishwasher:e.dishwasher,walkInCloset:e.walkInCloset,microwave:e.microwave,hardwoodFloors:e.hardwoodFloors,carpet:e.carpet,highCeilings:e.highCeilings,floorToCeilingWindows:e.floorToCeilingWindows,fireplace:e.fireplace,exposure:e.exposure,view:e.view,viewDescription:e.viewDescription,assignedParking:e.assignedParking,privateOutDoorSpace:e.privateOutDoorSpace,incentive:e.incentive,notes:e.notes,brokerUnitDescription:e.brokerUnitDescription,brokerFeeStructure:e.brokerFeeStructure,defaultUnitCurrentAvailabilities:e.defaultUnitCurrentAvailabilities,building:(0,o.BuildingDetailsToJSON)(e.building),numberOfAvailableUnits:e.numberOfAvailableUnits,rent:e.rent,grossRent:e.grossRent,brokerNetRent:e.brokerNetRent,squareFootage:e.squareFootage,floor:e.floor,maxRent:e.maxRent,maxGrossRent:e.maxGrossRent,maxBrokerNetRent:e.maxBrokerNetRent,maxSquareFootage:e.maxSquareFootage,maxFloor:e.maxFloor,complexId:e.complexId,alternativeUnitNumbers:e.alternativeUnitNumbers,externalId:e.externalId,alternativeBuildingCrmId:e.alternativeBuildingCrmId,externalFloorPlanDescriptionId:e.externalFloorPlanDescriptionId,walkinUrl:e.walkinUrl,marketRateUnit:e.marketRateUnit,new:e._new}}},1161:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.UnitIncentiveToJSON=t.UnitIncentiveFromJSONTyped=t.UnitIncentiveFromJSON=void 0;var n=i(296);function r(e,t){return null==e?e:{id:(0,n.exists)(e,"id")?e.id:void 0,unitId:(0,n.exists)(e,"unitId")?e.unitId:void 0,typeOfIncentive:(0,n.exists)(e,"typeOfIncentive")?e.typeOfIncentive:void 0,noFee:(0,n.exists)(e,"noFee")?e.noFee:void 0,numberFreeMonths:(0,n.exists)(e,"numberFreeMonths")?e.numberFreeMonths:void 0,leaseLength:(0,n.exists)(e,"leaseLength")?e.leaseLength:void 0,typeOfCustomerItAppliesTo:(0,n.exists)(e,"typeOfCustomerItAppliesTo")?e.typeOfCustomerItAppliesTo:void 0,numberOfMonthsOwnerPays:(0,n.exists)(e,"numberOfMonthsOwnerPays")?e.numberOfMonthsOwnerPays:void 0,originalIncentiveString:(0,n.exists)(e,"originalIncentiveString")?e.originalIncentiveString:void 0,active:(0,n.exists)(e,"active")?e.active:void 0,asJson:(0,n.exists)(e,"asJson")?e.asJson:void 0,incentiveInformationString:(0,n.exists)(e,"incentiveInformationString")?e.incentiveInformationString:void 0,valid:(0,n.exists)(e,"valid")?e.valid:void 0}}t.UnitIncentiveFromJSON=function(e){return r(e)},t.UnitIncentiveFromJSONTyped=r,t.UnitIncentiveToJSON=function(e){if(void 0!==e)return null===e?null:{id:e.id,unitId:e.unitId,typeOfIncentive:e.typeOfIncentive,noFee:e.noFee,numberFreeMonths:e.numberFreeMonths,leaseLength:e.leaseLength,typeOfCustomerItAppliesTo:e.typeOfCustomerItAppliesTo,numberOfMonthsOwnerPays:e.numberOfMonthsOwnerPays,originalIncentiveString:e.originalIncentiveString,active:e.active,asJson:e.asJson,incentiveInformationString:e.incentiveInformationString,valid:e.valid}}},5239:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.UnitIncentiveResultToJSON=t.UnitIncentiveResultFromJSONTyped=t.UnitIncentiveResultFromJSON=void 0;var n=i(296),r=i(1161);function o(e,t){return null==e?e:{tenantUnitIncentives:(0,n.exists)(e,"tenantUnitIncentives")?e.tenantUnitIncentives.map(r.UnitIncentiveFromJSON):void 0,brokerUnitIncentives:(0,n.exists)(e,"brokerUnitIncentives")?e.brokerUnitIncentives.map(r.UnitIncentiveFromJSON):void 0}}t.UnitIncentiveResultFromJSON=function(e){return o(e)},t.UnitIncentiveResultFromJSONTyped=o,t.UnitIncentiveResultToJSON=function(e){if(void 0!==e)return null===e?null:{tenantUnitIncentives:void 0===e.tenantUnitIncentives?void 0:e.tenantUnitIncentives.map(r.UnitIncentiveToJSON),brokerUnitIncentives:void 0===e.brokerUnitIncentives?void 0:e.brokerUnitIncentives.map(r.UnitIncentiveToJSON)}}},3842:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.UpdateEmailsRequestToJSON=t.UpdateEmailsRequestFromJSONTyped=t.UpdateEmailsRequestFromJSON=void 0;var n=i(296);function r(e,t){return null==e?e:{emails:(0,n.exists)(e,"emails")?e.emails:void 0}}t.UpdateEmailsRequestFromJSON=function(e){return r(e)},t.UpdateEmailsRequestFromJSONTyped=r,t.UpdateEmailsRequestToJSON=function(e){if(void 0!==e)return null===e?null:{emails:e.emails}}},9908:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.UpdateScriptRequestToJSON=t.UpdateScriptRequestFromJSONTyped=t.UpdateScriptRequestFromJSON=t.UpdateScriptRequestHandoffIntentStateEnum=t.UpdateScriptRequestMediaEnum=void 0;var n,r,o=i(296);function a(e,t){return null==e?e:{organizationId:(0,o.exists)(e,"organizationId")?e.organizationId:void 0,media:e.media,category:e.category,subIntent:(0,o.exists)(e,"subIntent")?e.subIntent:void 0,text:e.text,handoffIntentState:(0,o.exists)(e,"handoffIntentState")?e.handoffIntentState:void 0,communityId:(0,o.exists)(e,"communityId")?e.communityId:void 0}}(r=t.UpdateScriptRequestMediaEnum||(t.UpdateScriptRequestMediaEnum={})).Both="BOTH",r.Email="EMAIL",r.Sms="SMS",(n=t.UpdateScriptRequestHandoffIntentStateEnum||(t.UpdateScriptRequestHandoffIntentStateEnum={})).None="NONE",n.YellowStatus="YELLOW_STATUS",n.RedAlertSend="RED_ALERT_SEND",n.RedAlertDoNotSend="RED_ALERT_DO_NOT_SEND",t.UpdateScriptRequestFromJSON=function(e){return a(e)},t.UpdateScriptRequestFromJSONTyped=a,t.UpdateScriptRequestToJSON=function(e){if(void 0!==e)return null===e?null:{organizationId:e.organizationId,media:e.media,category:e.category,subIntent:e.subIntent,text:e.text,handoffIntentState:e.handoffIntentState,communityId:e.communityId}}},5530:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.UpsertDialogueScriptRequestToJSON=t.UpsertDialogueScriptRequestFromJSONTyped=t.UpsertDialogueScriptRequestFromJSON=void 0;var n=i(296);function r(e,t){return null==e?e:{buildingId:(0,n.exists)(e,"buildingId")?e.buildingId:void 0,organizationId:(0,n.exists)(e,"organizationId")?e.organizationId:void 0,name:(0,n.exists)(e,"name")?e.name:void 0,subintent:(0,n.exists)(e,"subintent")?e.subintent:void 0,text:(0,n.exists)(e,"text")?e.text:void 0}}t.UpsertDialogueScriptRequestFromJSON=function(e){return r(e)},t.UpsertDialogueScriptRequestFromJSONTyped=r,t.UpsertDialogueScriptRequestToJSON=function(e){if(void 0!==e)return null===e?null:{buildingId:e.buildingId,organizationId:e.organizationId,name:e.name,subintent:e.subintent,text:e.text}}},9256:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.V2BuildingMigrationStatusToJSON=t.V2BuildingMigrationStatusFromJSONTyped=t.V2BuildingMigrationStatusFromJSON=void 0;var n=i(296);function r(e,t){return null==e?e:{id:(0,n.exists)(e,"id")?e.id:void 0,buildingId:(0,n.exists)(e,"buildingId")?e.buildingId:void 0,buildingName:(0,n.exists)(e,"buildingName")?e.buildingName:void 0,userId:(0,n.exists)(e,"userId")?e.userId:void 0,organizationId:(0,n.exists)(e,"organizationId")?e.organizationId:void 0,organizationName:(0,n.exists)(e,"organizationName")?e.organizationName:void 0,scope:(0,n.exists)(e,"scope")?e.scope:void 0,timeSeeded:(0,n.exists)(e,"timeSeeded")?new Date(e.timeSeeded):void 0,timeReadyToConfigure:(0,n.exists)(e,"timeReadyToConfigure")?new Date(e.timeReadyToConfigure):void 0,timeConfigured:(0,n.exists)(e,"timeConfigured")?new Date(e.timeConfigured):void 0,timeWentLive:(0,n.exists)(e,"timeWentLive")?new Date(e.timeWentLive):void 0}}t.V2BuildingMigrationStatusFromJSON=function(e){return r(e)},t.V2BuildingMigrationStatusFromJSONTyped=r,t.V2BuildingMigrationStatusToJSON=function(e){if(void 0!==e)return null===e?null:{id:e.id,buildingId:e.buildingId,buildingName:e.buildingName,userId:e.userId,organizationId:e.organizationId,organizationName:e.organizationName,scope:e.scope,timeSeeded:void 0===e.timeSeeded?void 0:e.timeSeeded.toISOString(),timeReadyToConfigure:void 0===e.timeReadyToConfigure?void 0:e.timeReadyToConfigure.toISOString(),timeConfigured:void 0===e.timeConfigured?void 0:e.timeConfigured.toISOString(),timeWentLive:void 0===e.timeWentLive?void 0:e.timeWentLive.toISOString()}}},2288:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ValidateCredentialsRequestToJSON=t.ValidateCredentialsRequestFromJSONTyped=t.ValidateCredentialsRequestFromJSON=void 0;var n=i(296);function r(e,t){return null==e?e:{validationName:e.validationName,integrationId:e.integrationId,username:(0,n.exists)(e,"username")?e.username:void 0,password:(0,n.exists)(e,"password")?e.password:void 0,submitterEmail:e.submitterEmail,submitterOrgId:e.submitterOrgId,marketingApiKey:(0,n.exists)(e,"marketingApiKey")?e.marketingApiKey:void 0,databaseName:(0,n.exists)(e,"databaseName")?e.databaseName:void 0,serverName:(0,n.exists)(e,"serverName")?e.serverName:void 0,voyagerUrl:(0,n.exists)(e,"voyagerUrl")?e.voyagerUrl:void 0,rentCafePropertyCode:(0,n.exists)(e,"rentCafePropertyCode")?e.rentCafePropertyCode:void 0,voyagerPropertyCode:(0,n.exists)(e,"voyagerPropertyCode")?e.voyagerPropertyCode:void 0,companyCode:(0,n.exists)(e,"companyCode")?e.companyCode:void 0,connectionUrl:(0,n.exists)(e,"connectionUrl")?e.connectionUrl:void 0,vendorApiToken:(0,n.exists)(e,"vendorApiToken")?e.vendorApiToken:void 0}}t.ValidateCredentialsRequestFromJSON=function(e){return r(e)},t.ValidateCredentialsRequestFromJSONTyped=r,t.ValidateCredentialsRequestToJSON=function(e){if(void 0!==e)return null===e?null:{validationName:e.validationName,integrationId:e.integrationId,username:e.username,password:e.password,submitterEmail:e.submitterEmail,submitterOrgId:e.submitterOrgId,marketingApiKey:e.marketingApiKey,databaseName:e.databaseName,serverName:e.serverName,voyagerUrl:e.voyagerUrl,rentCafePropertyCode:e.rentCafePropertyCode,voyagerPropertyCode:e.voyagerPropertyCode,companyCode:e.companyCode,connectionUrl:e.connectionUrl,vendorApiToken:e.vendorApiToken}}},3029:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ValidateCredentialsResponseToJSON=t.ValidateCredentialsResponseFromJSONTyped=t.ValidateCredentialsResponseFromJSON=void 0;var n=i(296);function r(e,t){return null==e?e:{message:e.message,failed:e.failed,errorMessages:(0,n.exists)(e,"errorMessages")?e.errorMessages:void 0}}t.ValidateCredentialsResponseFromJSON=function(e){return r(e)},t.ValidateCredentialsResponseFromJSONTyped=r,t.ValidateCredentialsResponseToJSON=function(e){if(void 0!==e)return null===e?null:{message:e.message,failed:e.failed,errorMessages:e.errorMessages}}},5454:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.WalkInAndShowActionDtoToJSON=t.WalkInAndShowActionDtoFromJSONTyped=t.WalkInAndShowActionDtoFromJSON=void 0;var n=i(296),r=i(5007);function o(e,t){return null==e?e:{userId:(0,n.exists)(e,"userId")?e.userId:void 0,buildingId:(0,n.exists)(e,"buildingId")?e.buildingId:void 0,unitId:(0,n.exists)(e,"unitId")?e.unitId:void 0,guestCard:(0,n.exists)(e,"guestCard")?(0,r.EliseGuestCardDtoFromJSON)(e.guestCard):void 0}}t.WalkInAndShowActionDtoFromJSON=function(e){return o(e)},t.WalkInAndShowActionDtoFromJSONTyped=o,t.WalkInAndShowActionDtoToJSON=function(e){if(void 0!==e)return null===e?null:{userId:e.userId,buildingId:e.buildingId,unitId:e.unitId,guestCard:(0,r.EliseGuestCardDtoToJSON)(e.guestCard)}}},2449:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.WalkInOrCallActionDtoToJSON=t.WalkInOrCallActionDtoFromJSONTyped=t.WalkInOrCallActionDtoFromJSON=void 0;var n=i(296),r=i(5007);function o(e,t){return null==e?e:{userId:(0,n.exists)(e,"userId")?e.userId:void 0,buildingId:(0,n.exists)(e,"buildingId")?e.buildingId:void 0,unitId:(0,n.exists)(e,"unitId")?e.unitId:void 0,guestCard:(0,n.exists)(e,"guestCard")?(0,r.EliseGuestCardDtoFromJSON)(e.guestCard):void 0}}t.WalkInOrCallActionDtoFromJSON=function(e){return o(e)},t.WalkInOrCallActionDtoFromJSONTyped=o,t.WalkInOrCallActionDtoToJSON=function(e){if(void 0!==e)return null===e?null:{userId:e.userId,buildingId:e.buildingId,unitId:e.unitId,guestCard:(0,r.EliseGuestCardDtoToJSON)(e.guestCard)}}},2242:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.WebReportingDashboardResponseToJSON=t.WebReportingDashboardResponseFromJSONTyped=t.WebReportingDashboardResponseFromJSON=void 0;var n=i(296),r=i(1961);function o(e,t){return null==e?e:{dataGroupedByTimePeriod:e.dataGroupedByTimePeriod,afterHoursDataGroupedByTimePeriod:e.afterHoursDataGroupedByTimePeriod,marketingSourceDataGroupedByTimePeriod:e.marketingSourceDataGroupedByTimePeriod,afterHoursMarketingSourceDataGroupedByTimePeriod:e.afterHoursMarketingSourceDataGroupedByTimePeriod,buildingNameMap:e.buildingNameMap,aiNameMap:e.aiNameMap,buildingToAiMap:(0,n.mapValues)(e.buildingToAiMap,r.AiAssistantStubInfoFromJSON)}}t.WebReportingDashboardResponseFromJSON=function(e){return o(e)},t.WebReportingDashboardResponseFromJSONTyped=o,t.WebReportingDashboardResponseToJSON=function(e){if(void 0!==e)return null===e?null:{dataGroupedByTimePeriod:e.dataGroupedByTimePeriod,afterHoursDataGroupedByTimePeriod:e.afterHoursDataGroupedByTimePeriod,marketingSourceDataGroupedByTimePeriod:e.marketingSourceDataGroupedByTimePeriod,afterHoursMarketingSourceDataGroupedByTimePeriod:e.afterHoursMarketingSourceDataGroupedByTimePeriod,buildingNameMap:e.buildingNameMap,aiNameMap:e.aiNameMap,buildingToAiMap:(0,n.mapValues)(e.buildingToAiMap,r.AiAssistantStubInfoToJSON)}}},6570:(e,t)=>{function i(e,t){return null==e?e:{id:e.id,buildingId:e.buildingId,email:e.email}}Object.defineProperty(t,"__esModule",{value:!0}),t.WeeklyReportEmailToJSON=t.WeeklyReportEmailFromJSONTyped=t.WeeklyReportEmailFromJSON=void 0,t.WeeklyReportEmailFromJSON=function(e){return i(e)},t.WeeklyReportEmailFromJSONTyped=i,t.WeeklyReportEmailToJSON=function(e){if(void 0!==e)return null===e?null:{id:e.id,buildingId:e.buildingId,email:e.email}}},4675:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.WhiteListConfigToJSON=t.WhiteListConfigFromJSONTyped=t.WhiteListConfigFromJSON=t.WhiteListConfigStatusEnum=t.WhiteListConfigCurrentWhiteListStepEnum=void 0;var n,r,o=i(296);function a(e,t){return null==e?e:{id:(0,o.exists)(e,"id")?e.id:void 0,testingName:(0,o.exists)(e,"testingName")?e.testingName:void 0,buildingId:(0,o.exists)(e,"buildingId")?e.buildingId:void 0,whiteListingEmail:(0,o.exists)(e,"whiteListingEmail")?e.whiteListingEmail:void 0,timeInitiated:(0,o.exists)(e,"timeInitiated")?new Date(e.timeInitiated):void 0,lastUpdated:(0,o.exists)(e,"lastUpdated")?new Date(e.lastUpdated):void 0,currentWhiteListStep:(0,o.exists)(e,"currentWhiteListStep")?e.currentWhiteListStep:void 0,contextId:(0,o.exists)(e,"contextId")?e.contextId:void 0,mcId:(0,o.exists)(e,"mcId")?e.mcId:void 0,status:(0,o.exists)(e,"status")?e.status:void 0,requestedTime:(0,o.exists)(e,"requestedTime")?e.requestedTime:void 0,confirmedTime:(0,o.exists)(e,"confirmedTime")?e.confirmedTime:void 0,eventId:(0,o.exists)(e,"eventId")?e.eventId:void 0,failureReason:(0,o.exists)(e,"failureReason")?e.failureReason:void 0}}(r=t.WhiteListConfigCurrentWhiteListStepEnum||(t.WhiteListConfigCurrentWhiteListStepEnum={})).Initiated="INITIATED",r.ConfigureSettings="CONFIGURE_SETTINGS",r.TimeZoneVerification="TIME_ZONE_VERIFICATION",r.ConfirmAndOrFixApiVersion="CONFIRM_AND_OR_FIX_API_VERSION",r.ActivateBuildingAutoSend="ACTIVATE_BUILDING_AUTO_SEND",r.AddAitsToBuilding="ADD_AITS_TO_BUILDING",r.RerunAvailabilities="RERUN_AVAILABILITIES",r.InsertGuestCard="INSERT_GUEST_CARD",r.InitialEmailReceived="INITIAL_EMAIL_RECEIVED",r.RequestTourDayEmailSent="REQUEST_TOUR_DAY_EMAIL_SENT",r.AiSentTimeSuggestion="AI_SENT_TIME_SUGGESTION",r.AcceptTourTimeEmailSent="ACCEPT_TOUR_TIME_EMAIL_SENT",r.AppointmentScheduled="APPOINTMENT_SCHEDULED",r.AppointmentOnGuestCard="APPOINTMENT_ON_GUEST_CARD",r.RequestCancelTour="REQUEST_CANCEL_TOUR",r.AppointmentCanceled="APPOINTMENT_CANCELED",r.AppointmentRemovedFromGuestCard="APPOINTMENT_REMOVED_FROM_GUEST_CARD",(n=t.WhiteListConfigStatusEnum||(t.WhiteListConfigStatusEnum={})).InProgress="IN_PROGRESS",n.Complete="COMPLETE",n.Error="ERROR",n.Cancelled="CANCELLED",t.WhiteListConfigFromJSON=function(e){return a(e)},t.WhiteListConfigFromJSONTyped=a,t.WhiteListConfigToJSON=function(e){if(void 0!==e)return null===e?null:{id:e.id,testingName:e.testingName,buildingId:e.buildingId,whiteListingEmail:e.whiteListingEmail,timeInitiated:void 0===e.timeInitiated?void 0:e.timeInitiated.toISOString(),lastUpdated:void 0===e.lastUpdated?void 0:e.lastUpdated.toISOString(),currentWhiteListStep:e.currentWhiteListStep,contextId:e.contextId,mcId:e.mcId,status:e.status,requestedTime:e.requestedTime,confirmedTime:e.confirmedTime,eventId:e.eventId,failureReason:e.failureReason}}},3163:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.WhiteListTestDtoToJSON=t.WhiteListTestDtoFromJSONTyped=t.WhiteListTestDtoFromJSON=t.WhiteListTestDtoLastFinishedStepEnum=t.WhiteListTestDtoStatusEnum=void 0;var n,r,o=i(296),a=i(8937);function s(e,t){return null==e?e:{configId:e.configId,buildingId:e.buildingId,buildingName:e.buildingName,timeInitiatedISO:new Date(e.timeInitiatedISO),lastUpdatedISO:new Date(e.lastUpdatedISO),status:e.status,lastFinishedStep:e.lastFinishedStep,whiteListTestStepDtos:e.whiteListTestStepDtos.map(a.WhiteListTestStepDtoFromJSON),emailUsedForTesting:(0,o.exists)(e,"emailUsedForTesting")?e.emailUsedForTesting:void 0,contextId:(0,o.exists)(e,"contextId")?e.contextId:void 0,mcId:(0,o.exists)(e,"mcId")?e.mcId:void 0}}(r=t.WhiteListTestDtoStatusEnum||(t.WhiteListTestDtoStatusEnum={})).InProgress="IN_PROGRESS",r.Complete="COMPLETE",r.Error="ERROR",r.Cancelled="CANCELLED",(n=t.WhiteListTestDtoLastFinishedStepEnum||(t.WhiteListTestDtoLastFinishedStepEnum={})).Initiated="INITIATED",n.ConfigureSettings="CONFIGURE_SETTINGS",n.TimeZoneVerification="TIME_ZONE_VERIFICATION",n.ConfirmAndOrFixApiVersion="CONFIRM_AND_OR_FIX_API_VERSION",n.ActivateBuildingAutoSend="ACTIVATE_BUILDING_AUTO_SEND",n.AddAitsToBuilding="ADD_AITS_TO_BUILDING",n.RerunAvailabilities="RERUN_AVAILABILITIES",n.InsertGuestCard="INSERT_GUEST_CARD",n.InitialEmailReceived="INITIAL_EMAIL_RECEIVED",n.RequestTourDayEmailSent="REQUEST_TOUR_DAY_EMAIL_SENT",n.AiSentTimeSuggestion="AI_SENT_TIME_SUGGESTION",n.AcceptTourTimeEmailSent="ACCEPT_TOUR_TIME_EMAIL_SENT",n.AppointmentScheduled="APPOINTMENT_SCHEDULED",n.AppointmentOnGuestCard="APPOINTMENT_ON_GUEST_CARD",n.RequestCancelTour="REQUEST_CANCEL_TOUR",n.AppointmentCanceled="APPOINTMENT_CANCELED",n.AppointmentRemovedFromGuestCard="APPOINTMENT_REMOVED_FROM_GUEST_CARD",t.WhiteListTestDtoFromJSON=function(e){return s(e)},t.WhiteListTestDtoFromJSONTyped=s,t.WhiteListTestDtoToJSON=function(e){if(void 0!==e)return null===e?null:{configId:e.configId,buildingId:e.buildingId,buildingName:e.buildingName,timeInitiatedISO:e.timeInitiatedISO.toISOString(),lastUpdatedISO:e.lastUpdatedISO.toISOString(),status:e.status,lastFinishedStep:e.lastFinishedStep,whiteListTestStepDtos:e.whiteListTestStepDtos.map(a.WhiteListTestStepDtoToJSON),emailUsedForTesting:e.emailUsedForTesting,contextId:e.contextId,mcId:e.mcId}}},8937:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.WhiteListTestStepDtoToJSON=t.WhiteListTestStepDtoFromJSONTyped=t.WhiteListTestStepDtoFromJSON=t.WhiteListTestStepDtoStepEnum=void 0;var n,r=i(296);function o(e,t){return null==e?e:{displayText:e.displayText,step:e.step,orderInTest:e.orderInTest,failureReason:(0,r.exists)(e,"failureReason")?e.failureReason:void 0,warnings:(0,r.exists)(e,"warnings")?e.warnings:void 0,complete:(0,r.exists)(e,"complete")?e.complete:void 0,nextStep:(0,r.exists)(e,"nextStep")?e.nextStep:void 0}}(n=t.WhiteListTestStepDtoStepEnum||(t.WhiteListTestStepDtoStepEnum={})).Initiated="INITIATED",n.ConfigureSettings="CONFIGURE_SETTINGS",n.TimeZoneVerification="TIME_ZONE_VERIFICATION",n.ConfirmAndOrFixApiVersion="CONFIRM_AND_OR_FIX_API_VERSION",n.ActivateBuildingAutoSend="ACTIVATE_BUILDING_AUTO_SEND",n.AddAitsToBuilding="ADD_AITS_TO_BUILDING",n.RerunAvailabilities="RERUN_AVAILABILITIES",n.InsertGuestCard="INSERT_GUEST_CARD",n.InitialEmailReceived="INITIAL_EMAIL_RECEIVED",n.RequestTourDayEmailSent="REQUEST_TOUR_DAY_EMAIL_SENT",n.AiSentTimeSuggestion="AI_SENT_TIME_SUGGESTION",n.AcceptTourTimeEmailSent="ACCEPT_TOUR_TIME_EMAIL_SENT",n.AppointmentScheduled="APPOINTMENT_SCHEDULED",n.AppointmentOnGuestCard="APPOINTMENT_ON_GUEST_CARD",n.RequestCancelTour="REQUEST_CANCEL_TOUR",n.AppointmentCanceled="APPOINTMENT_CANCELED",n.AppointmentRemovedFromGuestCard="APPOINTMENT_REMOVED_FROM_GUEST_CARD",t.WhiteListTestStepDtoFromJSON=function(e){return o(e)},t.WhiteListTestStepDtoFromJSONTyped=o,t.WhiteListTestStepDtoToJSON=function(e){if(void 0!==e)return null===e?null:{displayText:e.displayText,step:e.step,orderInTest:e.orderInTest,failureReason:e.failureReason,warnings:e.warnings,complete:e.complete,nextStep:e.nextStep}}},2683:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.WhiteListingAdditionalInfoToJSON=t.WhiteListingAdditionalInfoFromJSONTyped=t.WhiteListingAdditionalInfoFromJSON=void 0;var n=i(296),r=i(8442),o=i(7571);function a(e,t){return null==e?e:{leasingAgents:e.leasingAgents.map(r.ExternalBuildingAgentFromJSON),sources:e.sources,rawGuestCard:(0,n.exists)(e,"rawGuestCard")?e.rawGuestCard:void 0,messages:e.messages.map(o.XagacityEmailFromJSON)}}t.WhiteListingAdditionalInfoFromJSON=function(e){return a(e)},t.WhiteListingAdditionalInfoFromJSONTyped=a,t.WhiteListingAdditionalInfoToJSON=function(e){if(void 0!==e)return null===e?null:{leasingAgents:e.leasingAgents.map(r.ExternalBuildingAgentToJSON),sources:e.sources,rawGuestCard:e.rawGuestCard,messages:e.messages.map(o.XagacityEmailToJSON)}}},4145:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.WhiteListingExecutionResultToJSON=t.WhiteListingExecutionResultFromJSONTyped=t.WhiteListingExecutionResultFromJSON=t.WhiteListingExecutionResultStatusAfterStepEnum=t.WhiteListingExecutionResultLastStepCompletedEnum=void 0;var n,r,o=i(296);function a(e,t){return null==e?e:{didFail:e.didFail,failureReason:(0,o.exists)(e,"failureReason")?e.failureReason:void 0,lastStepCompleted:e.lastStepCompleted,statusAfterStep:e.statusAfterStep,configId:e.configId}}(r=t.WhiteListingExecutionResultLastStepCompletedEnum||(t.WhiteListingExecutionResultLastStepCompletedEnum={})).Initiated="INITIATED",r.ConfigureSettings="CONFIGURE_SETTINGS",r.TimeZoneVerification="TIME_ZONE_VERIFICATION",r.ConfirmAndOrFixApiVersion="CONFIRM_AND_OR_FIX_API_VERSION",r.ActivateBuildingAutoSend="ACTIVATE_BUILDING_AUTO_SEND",r.AddAitsToBuilding="ADD_AITS_TO_BUILDING",r.RerunAvailabilities="RERUN_AVAILABILITIES",r.InsertGuestCard="INSERT_GUEST_CARD",r.InitialEmailReceived="INITIAL_EMAIL_RECEIVED",r.RequestTourDayEmailSent="REQUEST_TOUR_DAY_EMAIL_SENT",r.AiSentTimeSuggestion="AI_SENT_TIME_SUGGESTION",r.AcceptTourTimeEmailSent="ACCEPT_TOUR_TIME_EMAIL_SENT",r.AppointmentScheduled="APPOINTMENT_SCHEDULED",r.AppointmentOnGuestCard="APPOINTMENT_ON_GUEST_CARD",r.RequestCancelTour="REQUEST_CANCEL_TOUR",r.AppointmentCanceled="APPOINTMENT_CANCELED",r.AppointmentRemovedFromGuestCard="APPOINTMENT_REMOVED_FROM_GUEST_CARD",(n=t.WhiteListingExecutionResultStatusAfterStepEnum||(t.WhiteListingExecutionResultStatusAfterStepEnum={})).InProgress="IN_PROGRESS",n.Complete="COMPLETE",n.Error="ERROR",n.Cancelled="CANCELLED",t.WhiteListingExecutionResultFromJSON=function(e){return a(e)},t.WhiteListingExecutionResultFromJSONTyped=a,t.WhiteListingExecutionResultToJSON=function(e){if(void 0!==e)return null===e?null:{didFail:e.didFail,failureReason:e.failureReason,lastStepCompleted:e.lastStepCompleted,statusAfterStep:e.statusAfterStep,configId:e.configId}}},7571:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.XagacityEmailToJSON=t.XagacityEmailFromJSONTyped=t.XagacityEmailFromJSON=void 0;var n=i(296),r=i(1234),o=i(1057),a=i(4891);function s(e,t){return null==e?e:{id:(0,n.exists)(e,"id")?e.id:void 0,clientEmail:(0,n.exists)(e,"clientEmail")?e.clientEmail:void 0,leadEmail:(0,n.exists)(e,"leadEmail")?e.leadEmail:void 0,sender:(0,n.exists)(e,"sender")?e.sender:void 0,recipient:(0,n.exists)(e,"recipient")?e.recipient:void 0,marketplace:(0,n.exists)(e,"marketplace")?e.marketplace:void 0,timeSent:(0,n.exists)(e,"timeSent")?new Date(e.timeSent):void 0,leadId:(0,n.exists)(e,"leadId")?e.leadId:void 0,subject:(0,n.exists)(e,"subject")?e.subject:void 0,messageBody:(0,n.exists)(e,"messageBody")?e.messageBody:void 0,messageId:(0,n.exists)(e,"messageId")?e.messageId:void 0,replyTo:(0,n.exists)(e,"replyTo")?e.replyTo:void 0,senderClean:(0,n.exists)(e,"senderClean")?e.senderClean:void 0,recipientClean:(0,n.exists)(e,"recipientClean")?e.recipientClean:void 0,replyToClean:(0,n.exists)(e,"replyToClean")?e.replyToClean:void 0,ccRecipient:(0,n.exists)(e,"ccRecipient")?e.ccRecipient:void 0,bccRecipient:(0,n.exists)(e,"bccRecipient")?e.bccRecipient:void 0,toRecipients:(0,n.exists)(e,"toRecipients")?e.toRecipients:void 0,labels:(0,n.exists)(e,"labels")?e.labels:void 0,unread:(0,n.exists)(e,"unread")?e.unread:void 0,gmailMessageId:(0,n.exists)(e,"gmailMessageId")?e.gmailMessageId:void 0,gmailThreadId:(0,n.exists)(e,"gmailThreadId")?e.gmailThreadId:void 0,isItProcessed:(0,n.exists)(e,"isItProcessed")?e.isItProcessed:void 0,isFalsePositive:(0,n.exists)(e,"isFalsePositive")?e.isFalsePositive:void 0,htmlEmail:(0,n.exists)(e,"htmlEmail")?e.htmlEmail:void 0,strippedMessage:(0,n.exists)(e,"strippedMessage")?e.strippedMessage:void 0,isForward:(0,n.exists)(e,"isForward")?e.isForward:void 0,isFirstContact:(0,n.exists)(e,"isFirstContact")?e.isFirstContact:void 0,followUpCount:(0,n.exists)(e,"followUpCount")?e.followUpCount:void 0,emailPulled:(0,n.exists)(e,"emailPulled")?e.emailPulled:void 0,automatedResponseStatus:(0,n.exists)(e,"automatedResponseStatus")?e.automatedResponseStatus:void 0,attachments:(0,n.exists)(e,"attachments")?e.attachments.map(r.AttachmentFromJSON):void 0,manuallyTagged:(0,n.exists)(e,"manuallyTagged")?e.manuallyTagged:void 0,requestsSpecificViewingTime:(0,n.exists)(e,"requestsSpecificViewingTime")?e.requestsSpecificViewingTime:void 0,mentionsSpecificAddress:(0,n.exists)(e,"mentionsSpecificAddress")?e.mentionsSpecificAddress:void 0,isAddressEntityTagged:(0,n.exists)(e,"isAddressEntityTagged")?e.isAddressEntityTagged:void 0,addressPulledFromComments:(0,n.exists)(e,"addressPulledFromComments")?e.addressPulledFromComments:void 0,mentionsHousingVoucher:(0,n.exists)(e,"mentionsHousingVoucher")?e.mentionsHousingVoucher:void 0,isBrokerLead:(0,n.exists)(e,"isBrokerLead")?e.isBrokerLead:void 0,snippet:(0,n.exists)(e,"snippet")?e.snippet:void 0,newThread:(0,n.exists)(e,"newThread")?e.newThread:void 0,emailHeader:(0,n.exists)(e,"emailHeader")?e.emailHeader:void 0,inReplyToHeader:(0,n.exists)(e,"inReplyToHeader")?e.inReplyToHeader:void 0,intents:(0,n.exists)(e,"intents")?e.intents.map(o.EliseMessageIntentFromJSON):void 0,attachFloorPlan:(0,n.exists)(e,"attachFloorPlan")?e.attachFloorPlan:void 0,attachFiles:(0,n.exists)(e,"attachFiles")?e.attachFiles:void 0,unitId:(0,n.exists)(e,"unitId")?e.unitId:void 0,responseTemplate:(0,n.exists)(e,"responseTemplate")?e.responseTemplate:void 0,shouldCollapseThread:(0,n.exists)(e,"shouldCollapseThread")?e.shouldCollapseThread:void 0,references:(0,n.exists)(e,"references")?e.references:void 0,actualSenderType:(0,n.exists)(e,"actualSenderType")?e.actualSenderType:void 0,tempField:(0,n.exists)(e,"tempField")?e.tempField:void 0,requiresComposingAReply:(0,n.exists)(e,"requiresComposingAReply")?e.requiresComposingAReply:void 0,messageIdWeRespondedTo:(0,n.exists)(e,"messageIdWeRespondedTo")?e.messageIdWeRespondedTo:void 0,externalIdRelatedToEmail:(0,n.exists)(e,"externalIdRelatedToEmail")?e.externalIdRelatedToEmail:void 0,aitWhoReviewed:(0,n.exists)(e,"aitWhoReviewed")?e.aitWhoReviewed:void 0,aitWhoDrafted:(0,n.exists)(e,"aitWhoDrafted")?e.aitWhoDrafted:void 0,draftSubmissionIsIncorrect:(0,n.exists)(e,"draftSubmissionIsIncorrect")?e.draftSubmissionIsIncorrect:void 0,draftedResponseId:(0,n.exists)(e,"draftedResponseId")?e.draftedResponseId:void 0,draftedResponseIncorrectReason:(0,n.exists)(e,"draftedResponseIncorrectReason")?e.draftedResponseIncorrectReason:void 0,aitSelectedIntents:(0,n.exists)(e,"aitSelectedIntents")?e.aitSelectedIntents:void 0,noNeedForNotificationFlag:(0,n.exists)(e,"noNeedForNotificationFlag")?e.noNeedForNotificationFlag:void 0,traineeEmail:(0,n.exists)(e,"traineeEmail")?e.traineeEmail:void 0,mimeMessage:(0,n.exists)(e,"mimeMessage")?(0,a.XagacityEmailMimeMessageFromJSON)(e.mimeMessage):void 0,stopForwarding:(0,n.exists)(e,"stopForwarding")?e.stopForwarding:void 0,cleanMessage:(0,n.exists)(e,"cleanMessage")?e.cleanMessage:void 0,trackExternalId:(0,n.exists)(e,"trackExternalId")?e.trackExternalId:void 0,externalMarketingSource:(0,n.exists)(e,"externalMarketingSource")?e.externalMarketingSource:void 0,contextId:(0,n.exists)(e,"contextId")?e.contextId:void 0,labelsFromDatabase:(0,n.exists)(e,"labelsFromDatabase")?e.labelsFromDatabase:void 0,recipientsList:(0,n.exists)(e,"recipientsList")?e.recipientsList:void 0,ccRecipientsFromString:(0,n.exists)(e,"ccRecipientsFromString")?e.ccRecipientsFromString:void 0,bccRecipientsFromString:(0,n.exists)(e,"bccRecipientsFromString")?e.bccRecipientsFromString:void 0,trashed:(0,n.exists)(e,"trashed")?e.trashed:void 0,torecipientAsString:(0,n.exists)(e,"torecipientAsString")?e.torecipientAsString:void 0,ccrecipientAsString:(0,n.exists)(e,"ccrecipientAsString")?e.ccrecipientAsString:void 0,toRecipientsFromString:(0,n.exists)(e,"toRecipientsFromString")?e.toRecipientsFromString:void 0,draft:(0,n.exists)(e,"draft")?e.draft:void 0,bccrecipientAsString:(0,n.exists)(e,"bccrecipientAsString")?e.bccrecipientAsString:void 0}}t.XagacityEmailFromJSON=function(e){return s(e)},t.XagacityEmailFromJSONTyped=s,t.XagacityEmailToJSON=function(e){if(void 0!==e)return null===e?null:{id:e.id,clientEmail:e.clientEmail,leadEmail:e.leadEmail,sender:e.sender,recipient:e.recipient,marketplace:e.marketplace,timeSent:void 0===e.timeSent?void 0:e.timeSent.toISOString(),leadId:e.leadId,subject:e.subject,messageBody:e.messageBody,messageId:e.messageId,replyTo:e.replyTo,senderClean:e.senderClean,recipientClean:e.recipientClean,replyToClean:e.replyToClean,ccRecipient:e.ccRecipient,bccRecipient:e.bccRecipient,toRecipients:e.toRecipients,labels:e.labels,unread:e.unread,gmailMessageId:e.gmailMessageId,gmailThreadId:e.gmailThreadId,isItProcessed:e.isItProcessed,isFalsePositive:e.isFalsePositive,htmlEmail:e.htmlEmail,strippedMessage:e.strippedMessage,isForward:e.isForward,isFirstContact:e.isFirstContact,followUpCount:e.followUpCount,emailPulled:e.emailPulled,automatedResponseStatus:e.automatedResponseStatus,attachments:void 0===e.attachments?void 0:e.attachments.map(r.AttachmentToJSON),manuallyTagged:e.manuallyTagged,requestsSpecificViewingTime:e.requestsSpecificViewingTime,mentionsSpecificAddress:e.mentionsSpecificAddress,isAddressEntityTagged:e.isAddressEntityTagged,addressPulledFromComments:e.addressPulledFromComments,mentionsHousingVoucher:e.mentionsHousingVoucher,isBrokerLead:e.isBrokerLead,snippet:e.snippet,newThread:e.newThread,emailHeader:e.emailHeader,inReplyToHeader:e.inReplyToHeader,intents:void 0===e.intents?void 0:e.intents.map(o.EliseMessageIntentToJSON),attachFloorPlan:e.attachFloorPlan,attachFiles:e.attachFiles,unitId:e.unitId,responseTemplate:e.responseTemplate,shouldCollapseThread:e.shouldCollapseThread,references:e.references,actualSenderType:e.actualSenderType,tempField:e.tempField,requiresComposingAReply:e.requiresComposingAReply,messageIdWeRespondedTo:e.messageIdWeRespondedTo,externalIdRelatedToEmail:e.externalIdRelatedToEmail,aitWhoReviewed:e.aitWhoReviewed,aitWhoDrafted:e.aitWhoDrafted,draftSubmissionIsIncorrect:e.draftSubmissionIsIncorrect,draftedResponseId:e.draftedResponseId,draftedResponseIncorrectReason:e.draftedResponseIncorrectReason,aitSelectedIntents:e.aitSelectedIntents,noNeedForNotificationFlag:e.noNeedForNotificationFlag,traineeEmail:e.traineeEmail,mimeMessage:(0,a.XagacityEmailMimeMessageToJSON)(e.mimeMessage),stopForwarding:e.stopForwarding,cleanMessage:e.cleanMessage,trackExternalId:e.trackExternalId,externalMarketingSource:e.externalMarketingSource,contextId:e.contextId,labelsFromDatabase:e.labelsFromDatabase,recipientsList:e.recipientsList,ccRecipientsFromString:e.ccRecipientsFromString,bccRecipientsFromString:e.bccRecipientsFromString,trashed:e.trashed,torecipientAsString:e.torecipientAsString,ccrecipientAsString:e.ccrecipientAsString,toRecipientsFromString:e.toRecipientsFromString,draft:e.draft,bccrecipientAsString:e.bccrecipientAsString}}},4891:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.XagacityEmailMimeMessageToJSON=t.XagacityEmailMimeMessageFromJSONTyped=t.XagacityEmailMimeMessageFromJSON=void 0;var n=i(296),r=i(2294),o=i(2653),a=i(4050),s=i(7918),l=i(3645);function u(e,t){return null==e?e:{expunged:(0,n.exists)(e,"expunged")?e.expunged:void 0,folder:(0,n.exists)(e,"folder")?(0,r.XagacityEmailMimeMessageFolderFromJSON)(e.folder):void 0,session:(0,n.exists)(e,"session")?(0,l.XagacityEmailMimeMessageFolderStoreSessionFromJSON)(e.session):void 0,content:(0,n.exists)(e,"content")?e.content:void 0,flags:(0,n.exists)(e,"flags")?(0,a.XagacityEmailMimeMessageFolderStorePermanentFlagsFromJSON)(e.flags):void 0,text:(0,n.exists)(e,"text")?e.text:void 0,description:(0,n.exists)(e,"description")?e.description:void 0,contentType:(0,n.exists)(e,"contentType")?e.contentType:void 0,subject:(0,n.exists)(e,"subject")?e.subject:void 0,sender:(0,n.exists)(e,"sender")?(0,s.XagacityEmailMimeMessageFolderStoreReplyToFromJSON)(e.sender):void 0,replyTo:(0,n.exists)(e,"replyTo")?e.replyTo.map(s.XagacityEmailMimeMessageFolderStoreReplyToFromJSON):void 0,receivedDate:(0,n.exists)(e,"receivedDate")?new Date(e.receivedDate):void 0,lineCount:(0,n.exists)(e,"lineCount")?e.lineCount:void 0,disposition:(0,n.exists)(e,"disposition")?e.disposition:void 0,contentID:(0,n.exists)(e,"contentID")?e.contentID:void 0,contentMD5:(0,n.exists)(e,"contentMD5")?e.contentMD5:void 0,contentLanguage:(0,n.exists)(e,"contentLanguage")?e.contentLanguage:void 0,rawInputStream:(0,n.exists)(e,"rawInputStream")?e.rawInputStream:void 0,dataHandler:(0,n.exists)(e,"dataHandler")?(0,o.XagacityEmailMimeMessageFolderStoreDataHandlerFromJSON)(e.dataHandler):void 0,allHeaders:(0,n.exists)(e,"allHeaders")?e.allHeaders:void 0,allHeaderLines:(0,n.exists)(e,"allHeaderLines")?e.allHeaderLines:void 0,from:(0,n.exists)(e,"from")?e.from.map(s.XagacityEmailMimeMessageFolderStoreReplyToFromJSON):void 0,size:(0,n.exists)(e,"size")?e.size:void 0,inputStream:(0,n.exists)(e,"inputStream")?e.inputStream:void 0,fileName:(0,n.exists)(e,"fileName")?e.fileName:void 0,encoding:(0,n.exists)(e,"encoding")?e.encoding:void 0,sentDate:(0,n.exists)(e,"sentDate")?new Date(e.sentDate):void 0,messageID:(0,n.exists)(e,"messageID")?e.messageID:void 0,allRecipients:(0,n.exists)(e,"allRecipients")?e.allRecipients.map(s.XagacityEmailMimeMessageFolderStoreReplyToFromJSON):void 0,messageNumber:(0,n.exists)(e,"messageNumber")?e.messageNumber:void 0}}t.XagacityEmailMimeMessageFromJSON=function(e){return u(e)},t.XagacityEmailMimeMessageFromJSONTyped=u,t.XagacityEmailMimeMessageToJSON=function(e){if(void 0!==e)return null===e?null:{expunged:e.expunged,folder:(0,r.XagacityEmailMimeMessageFolderToJSON)(e.folder),session:(0,l.XagacityEmailMimeMessageFolderStoreSessionToJSON)(e.session),content:e.content,flags:(0,a.XagacityEmailMimeMessageFolderStorePermanentFlagsToJSON)(e.flags),text:e.text,description:e.description,contentType:e.contentType,subject:e.subject,sender:(0,s.XagacityEmailMimeMessageFolderStoreReplyToToJSON)(e.sender),replyTo:void 0===e.replyTo?void 0:e.replyTo.map(s.XagacityEmailMimeMessageFolderStoreReplyToToJSON),receivedDate:void 0===e.receivedDate?void 0:e.receivedDate.toISOString(),lineCount:e.lineCount,disposition:e.disposition,contentID:e.contentID,contentMD5:e.contentMD5,contentLanguage:e.contentLanguage,rawInputStream:e.rawInputStream,dataHandler:(0,o.XagacityEmailMimeMessageFolderStoreDataHandlerToJSON)(e.dataHandler),allHeaders:e.allHeaders,allHeaderLines:e.allHeaderLines,from:void 0===e.from?void 0:e.from.map(s.XagacityEmailMimeMessageFolderStoreReplyToToJSON),size:e.size,inputStream:e.inputStream,fileName:e.fileName,encoding:e.encoding,sentDate:void 0===e.sentDate?void 0:e.sentDate.toISOString(),messageID:e.messageID,allRecipients:void 0===e.allRecipients?void 0:e.allRecipients.map(s.XagacityEmailMimeMessageFolderStoreReplyToToJSON),messageNumber:e.messageNumber}}},2294:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.XagacityEmailMimeMessageFolderToJSON=t.XagacityEmailMimeMessageFolderFromJSONTyped=t.XagacityEmailMimeMessageFolderFromJSON=void 0;var n=i(296),r=i(2394),o=i(6826),a=i(4050),s=i(3057);function l(e,t){return null==e?e:{store:(0,n.exists)(e,"store")?(0,r.XagacityEmailMimeMessageFolderStoreFromJSON)(e.store):void 0,mode:(0,n.exists)(e,"mode")?e.mode:void 0,urlname:(0,n.exists)(e,"urlname")?(0,s.XagacityEmailMimeMessageFolderStoreUrlnameFromJSON)(e.urlname):void 0,fullName:(0,n.exists)(e,"fullName")?e.fullName:void 0,subscribed:(0,n.exists)(e,"subscribed")?e.subscribed:void 0,permanentFlags:(0,n.exists)(e,"permanentFlags")?(0,a.XagacityEmailMimeMessageFolderStorePermanentFlagsFromJSON)(e.permanentFlags):void 0,messageCount:(0,n.exists)(e,"messageCount")?e.messageCount:void 0,newMessageCount:(0,n.exists)(e,"newMessageCount")?e.newMessageCount:void 0,unreadMessageCount:(0,n.exists)(e,"unreadMessageCount")?e.unreadMessageCount:void 0,deletedMessageCount:(0,n.exists)(e,"deletedMessageCount")?e.deletedMessageCount:void 0,name:(0,n.exists)(e,"name")?e.name:void 0,open:(0,n.exists)(e,"open")?e.open:void 0,type:(0,n.exists)(e,"type")?e.type:void 0,separator:(0,n.exists)(e,"separator")?e.separator:void 0,messages:(0,n.exists)(e,"messages")?e.messages.map(o.XagacityEmailMimeMessageFolderStoreMessagesFromJSON):void 0}}t.XagacityEmailMimeMessageFolderFromJSON=function(e){return l(e)},t.XagacityEmailMimeMessageFolderFromJSONTyped=l,t.XagacityEmailMimeMessageFolderToJSON=function(e){if(void 0!==e)return null===e?null:{store:(0,r.XagacityEmailMimeMessageFolderStoreToJSON)(e.store),mode:e.mode,urlname:(0,s.XagacityEmailMimeMessageFolderStoreUrlnameToJSON)(e.urlname),fullName:e.fullName,subscribed:e.subscribed,permanentFlags:(0,a.XagacityEmailMimeMessageFolderStorePermanentFlagsToJSON)(e.permanentFlags),messageCount:e.messageCount,newMessageCount:e.newMessageCount,unreadMessageCount:e.unreadMessageCount,deletedMessageCount:e.deletedMessageCount,name:e.name,open:e.open,type:e.type,separator:e.separator,messages:void 0===e.messages?void 0:e.messages.map(o.XagacityEmailMimeMessageFolderStoreMessagesToJSON)}}},2394:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.XagacityEmailMimeMessageFolderStoreToJSON=t.XagacityEmailMimeMessageFolderStoreFromJSONTyped=t.XagacityEmailMimeMessageFolderStoreFromJSON=void 0;var n=i(296),r=i(403),o=i(3057);function a(e,t){return null==e?e:{connected:(0,n.exists)(e,"connected")?e.connected:void 0,personalNamespaces:(0,n.exists)(e,"personalNamespaces")?e.personalNamespaces.map(r.XagacityEmailMimeMessageFolderStorePersonalNamespacesFromJSON):void 0,sharedNamespaces:(0,n.exists)(e,"sharedNamespaces")?e.sharedNamespaces.map(r.XagacityEmailMimeMessageFolderStorePersonalNamespacesFromJSON):void 0,urlname:(0,n.exists)(e,"urlname")?(0,o.XagacityEmailMimeMessageFolderStoreUrlnameFromJSON)(e.urlname):void 0}}t.XagacityEmailMimeMessageFolderStoreFromJSON=function(e){return a(e)},t.XagacityEmailMimeMessageFolderStoreFromJSONTyped=a,t.XagacityEmailMimeMessageFolderStoreToJSON=function(e){if(void 0!==e)return null===e?null:{connected:e.connected,personalNamespaces:void 0===e.personalNamespaces?void 0:e.personalNamespaces.map(r.XagacityEmailMimeMessageFolderStorePersonalNamespacesToJSON),sharedNamespaces:void 0===e.sharedNamespaces?void 0:e.sharedNamespaces.map(r.XagacityEmailMimeMessageFolderStorePersonalNamespacesToJSON),urlname:(0,o.XagacityEmailMimeMessageFolderStoreUrlnameToJSON)(e.urlname)}}},2653:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.XagacityEmailMimeMessageFolderStoreDataHandlerToJSON=t.XagacityEmailMimeMessageFolderStoreDataHandlerFromJSONTyped=t.XagacityEmailMimeMessageFolderStoreDataHandlerFromJSON=void 0;var n=i(296),r=i(9046),o=i(8819),a=i(6799),s=i(6228);function l(e,t){return null==e?e:{dataSource:(0,n.exists)(e,"dataSource")?(0,o.XagacityEmailMimeMessageFolderStoreDataHandlerDataSourceFromJSON)(e.dataSource):void 0,contentType:(0,n.exists)(e,"contentType")?e.contentType:void 0,outputStream:(0,n.exists)(e,"outputStream")?e.outputStream:void 0,commandMap:(0,n.exists)(e,"commandMap")?(0,r.XagacityEmailMimeMessageFolderStoreDataHandlerCommandMapFromJSON)(e.commandMap):void 0,transferDataFlavors:(0,n.exists)(e,"transferDataFlavors")?e.transferDataFlavors.map(s.XagacityEmailMimeMessageFolderStoreDataHandlerTransferDataFlavorsFromJSON):void 0,preferredCommands:(0,n.exists)(e,"preferredCommands")?e.preferredCommands.map(a.XagacityEmailMimeMessageFolderStoreDataHandlerPreferredCommandsFromJSON):void 0,allCommands:(0,n.exists)(e,"allCommands")?e.allCommands.map(a.XagacityEmailMimeMessageFolderStoreDataHandlerPreferredCommandsFromJSON):void 0,name:(0,n.exists)(e,"name")?e.name:void 0,content:(0,n.exists)(e,"content")?e.content:void 0,inputStream:(0,n.exists)(e,"inputStream")?e.inputStream:void 0}}t.XagacityEmailMimeMessageFolderStoreDataHandlerFromJSON=function(e){return l(e)},t.XagacityEmailMimeMessageFolderStoreDataHandlerFromJSONTyped=l,t.XagacityEmailMimeMessageFolderStoreDataHandlerToJSON=function(e){if(void 0!==e)return null===e?null:{dataSource:(0,o.XagacityEmailMimeMessageFolderStoreDataHandlerDataSourceToJSON)(e.dataSource),contentType:e.contentType,outputStream:e.outputStream,commandMap:(0,r.XagacityEmailMimeMessageFolderStoreDataHandlerCommandMapToJSON)(e.commandMap),transferDataFlavors:void 0===e.transferDataFlavors?void 0:e.transferDataFlavors.map(s.XagacityEmailMimeMessageFolderStoreDataHandlerTransferDataFlavorsToJSON),preferredCommands:void 0===e.preferredCommands?void 0:e.preferredCommands.map(a.XagacityEmailMimeMessageFolderStoreDataHandlerPreferredCommandsToJSON),allCommands:void 0===e.allCommands?void 0:e.allCommands.map(a.XagacityEmailMimeMessageFolderStoreDataHandlerPreferredCommandsToJSON),name:e.name,content:e.content,inputStream:e.inputStream}}},9046:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.XagacityEmailMimeMessageFolderStoreDataHandlerCommandMapToJSON=t.XagacityEmailMimeMessageFolderStoreDataHandlerCommandMapFromJSONTyped=t.XagacityEmailMimeMessageFolderStoreDataHandlerCommandMapFromJSON=void 0;var n=i(296);function r(e,t){return null==e?e:{mimeTypes:(0,n.exists)(e,"mimeTypes")?e.mimeTypes:void 0}}t.XagacityEmailMimeMessageFolderStoreDataHandlerCommandMapFromJSON=function(e){return r(e)},t.XagacityEmailMimeMessageFolderStoreDataHandlerCommandMapFromJSONTyped=r,t.XagacityEmailMimeMessageFolderStoreDataHandlerCommandMapToJSON=function(e){if(void 0!==e)return null===e?null:{mimeTypes:e.mimeTypes}}},8819:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.XagacityEmailMimeMessageFolderStoreDataHandlerDataSourceToJSON=t.XagacityEmailMimeMessageFolderStoreDataHandlerDataSourceFromJSONTyped=t.XagacityEmailMimeMessageFolderStoreDataHandlerDataSourceFromJSON=void 0;var n=i(296);function r(e,t){return null==e?e:{contentType:(0,n.exists)(e,"contentType")?e.contentType:void 0,outputStream:(0,n.exists)(e,"outputStream")?e.outputStream:void 0,name:(0,n.exists)(e,"name")?e.name:void 0,inputStream:(0,n.exists)(e,"inputStream")?e.inputStream:void 0}}t.XagacityEmailMimeMessageFolderStoreDataHandlerDataSourceFromJSON=function(e){return r(e)},t.XagacityEmailMimeMessageFolderStoreDataHandlerDataSourceFromJSONTyped=r,t.XagacityEmailMimeMessageFolderStoreDataHandlerDataSourceToJSON=function(e){if(void 0!==e)return null===e?null:{contentType:e.contentType,outputStream:e.outputStream,name:e.name,inputStream:e.inputStream}}},6799:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.XagacityEmailMimeMessageFolderStoreDataHandlerPreferredCommandsToJSON=t.XagacityEmailMimeMessageFolderStoreDataHandlerPreferredCommandsFromJSONTyped=t.XagacityEmailMimeMessageFolderStoreDataHandlerPreferredCommandsFromJSON=void 0;var n=i(296);function r(e,t){return null==e?e:{commandName:(0,n.exists)(e,"commandName")?e.commandName:void 0,commandClass:(0,n.exists)(e,"commandClass")?e.commandClass:void 0}}t.XagacityEmailMimeMessageFolderStoreDataHandlerPreferredCommandsFromJSON=function(e){return r(e)},t.XagacityEmailMimeMessageFolderStoreDataHandlerPreferredCommandsFromJSONTyped=r,t.XagacityEmailMimeMessageFolderStoreDataHandlerPreferredCommandsToJSON=function(e){if(void 0!==e)return null===e?null:{commandName:e.commandName,commandClass:e.commandClass}}},6228:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.XagacityEmailMimeMessageFolderStoreDataHandlerTransferDataFlavorsToJSON=t.XagacityEmailMimeMessageFolderStoreDataHandlerTransferDataFlavorsFromJSONTyped=t.XagacityEmailMimeMessageFolderStoreDataHandlerTransferDataFlavorsFromJSON=void 0;var n=i(296);function r(e,t){return null==e?e:{mimeType:(0,n.exists)(e,"mimeType")?e.mimeType:void 0,humanPresentableName:(0,n.exists)(e,"humanPresentableName")?e.humanPresentableName:void 0,subType:(0,n.exists)(e,"subType")?e.subType:void 0,primaryType:(0,n.exists)(e,"primaryType")?e.primaryType:void 0,mimeTypeSerializedObject:(0,n.exists)(e,"mimeTypeSerializedObject")?e.mimeTypeSerializedObject:void 0,defaultRepresentationClassAsString:(0,n.exists)(e,"defaultRepresentationClassAsString")?e.defaultRepresentationClassAsString:void 0,representationClassInputStream:(0,n.exists)(e,"representationClassInputStream")?e.representationClassInputStream:void 0,representationClassReader:(0,n.exists)(e,"representationClassReader")?e.representationClassReader:void 0,representationClassCharBuffer:(0,n.exists)(e,"representationClassCharBuffer")?e.representationClassCharBuffer:void 0,representationClassByteBuffer:(0,n.exists)(e,"representationClassByteBuffer")?e.representationClassByteBuffer:void 0,representationClassSerializable:(0,n.exists)(e,"representationClassSerializable")?e.representationClassSerializable:void 0,representationClassRemote:(0,n.exists)(e,"representationClassRemote")?e.representationClassRemote:void 0,flavorSerializedObjectType:(0,n.exists)(e,"flavorSerializedObjectType")?e.flavorSerializedObjectType:void 0,flavorRemoteObjectType:(0,n.exists)(e,"flavorRemoteObjectType")?e.flavorRemoteObjectType:void 0,flavorJavaFileListType:(0,n.exists)(e,"flavorJavaFileListType")?e.flavorJavaFileListType:void 0,flavorTextType:(0,n.exists)(e,"flavorTextType")?e.flavorTextType:void 0}}t.XagacityEmailMimeMessageFolderStoreDataHandlerTransferDataFlavorsFromJSON=function(e){return r(e)},t.XagacityEmailMimeMessageFolderStoreDataHandlerTransferDataFlavorsFromJSONTyped=r,t.XagacityEmailMimeMessageFolderStoreDataHandlerTransferDataFlavorsToJSON=function(e){if(void 0!==e)return null===e?null:{mimeType:e.mimeType,humanPresentableName:e.humanPresentableName,subType:e.subType,primaryType:e.primaryType,mimeTypeSerializedObject:e.mimeTypeSerializedObject,defaultRepresentationClassAsString:e.defaultRepresentationClassAsString,representationClassInputStream:e.representationClassInputStream,representationClassReader:e.representationClassReader,representationClassCharBuffer:e.representationClassCharBuffer,representationClassByteBuffer:e.representationClassByteBuffer,representationClassSerializable:e.representationClassSerializable,representationClassRemote:e.representationClassRemote,flavorSerializedObjectType:e.flavorSerializedObjectType,flavorRemoteObjectType:e.flavorRemoteObjectType,flavorJavaFileListType:e.flavorJavaFileListType,flavorTextType:e.flavorTextType}}},6826:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.XagacityEmailMimeMessageFolderStoreMessagesToJSON=t.XagacityEmailMimeMessageFolderStoreMessagesFromJSONTyped=t.XagacityEmailMimeMessageFolderStoreMessagesFromJSON=void 0;var n=i(296),r=i(2653),o=i(4050),a=i(7918),s=i(3645);function l(e,t){return null==e?e:{expunged:(0,n.exists)(e,"expunged")?e.expunged:void 0,session:(0,n.exists)(e,"session")?(0,s.XagacityEmailMimeMessageFolderStoreSessionFromJSON)(e.session):void 0,flags:(0,n.exists)(e,"flags")?(0,o.XagacityEmailMimeMessageFolderStorePermanentFlagsFromJSON)(e.flags):void 0,subject:(0,n.exists)(e,"subject")?e.subject:void 0,replyTo:(0,n.exists)(e,"replyTo")?e.replyTo.map(a.XagacityEmailMimeMessageFolderStoreReplyToFromJSON):void 0,receivedDate:(0,n.exists)(e,"receivedDate")?new Date(e.receivedDate):void 0,from:(0,n.exists)(e,"from")?e.from.map(a.XagacityEmailMimeMessageFolderStoreReplyToFromJSON):void 0,messageNumber:(0,n.exists)(e,"messageNumber")?e.messageNumber:void 0,sentDate:(0,n.exists)(e,"sentDate")?new Date(e.sentDate):void 0,allRecipients:(0,n.exists)(e,"allRecipients")?e.allRecipients.map(a.XagacityEmailMimeMessageFolderStoreReplyToFromJSON):void 0,text:(0,n.exists)(e,"text")?e.text:void 0,description:(0,n.exists)(e,"description")?e.description:void 0,contentType:(0,n.exists)(e,"contentType")?e.contentType:void 0,lineCount:(0,n.exists)(e,"lineCount")?e.lineCount:void 0,disposition:(0,n.exists)(e,"disposition")?e.disposition:void 0,dataHandler:(0,n.exists)(e,"dataHandler")?(0,r.XagacityEmailMimeMessageFolderStoreDataHandlerFromJSON)(e.dataHandler):void 0,content:(0,n.exists)(e,"content")?e.content:void 0,allHeaders:(0,n.exists)(e,"allHeaders")?e.allHeaders:void 0,size:(0,n.exists)(e,"size")?e.size:void 0,inputStream:(0,n.exists)(e,"inputStream")?e.inputStream:void 0,fileName:(0,n.exists)(e,"fileName")?e.fileName:void 0}}t.XagacityEmailMimeMessageFolderStoreMessagesFromJSON=function(e){return l(e)},t.XagacityEmailMimeMessageFolderStoreMessagesFromJSONTyped=l,t.XagacityEmailMimeMessageFolderStoreMessagesToJSON=function(e){if(void 0!==e)return null===e?null:{expunged:e.expunged,session:(0,s.XagacityEmailMimeMessageFolderStoreSessionToJSON)(e.session),flags:(0,o.XagacityEmailMimeMessageFolderStorePermanentFlagsToJSON)(e.flags),subject:e.subject,replyTo:void 0===e.replyTo?void 0:e.replyTo.map(a.XagacityEmailMimeMessageFolderStoreReplyToToJSON),receivedDate:void 0===e.receivedDate?void 0:e.receivedDate.toISOString(),from:void 0===e.from?void 0:e.from.map(a.XagacityEmailMimeMessageFolderStoreReplyToToJSON),messageNumber:e.messageNumber,sentDate:void 0===e.sentDate?void 0:e.sentDate.toISOString(),allRecipients:void 0===e.allRecipients?void 0:e.allRecipients.map(a.XagacityEmailMimeMessageFolderStoreReplyToToJSON),text:e.text,description:e.description,contentType:e.contentType,lineCount:e.lineCount,disposition:e.disposition,dataHandler:(0,r.XagacityEmailMimeMessageFolderStoreDataHandlerToJSON)(e.dataHandler),content:e.content,allHeaders:e.allHeaders,size:e.size,inputStream:e.inputStream,fileName:e.fileName}}},4050:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.XagacityEmailMimeMessageFolderStorePermanentFlagsToJSON=t.XagacityEmailMimeMessageFolderStorePermanentFlagsFromJSONTyped=t.XagacityEmailMimeMessageFolderStorePermanentFlagsFromJSON=void 0;var n=i(296);function r(e,t){return null==e?e:{systemFlags:(0,n.exists)(e,"systemFlags")?e.systemFlags:void 0,userFlags:(0,n.exists)(e,"userFlags")?e.userFlags:void 0}}t.XagacityEmailMimeMessageFolderStorePermanentFlagsFromJSON=function(e){return r(e)},t.XagacityEmailMimeMessageFolderStorePermanentFlagsFromJSONTyped=r,t.XagacityEmailMimeMessageFolderStorePermanentFlagsToJSON=function(e){if(void 0!==e)return null===e?null:{systemFlags:e.systemFlags,userFlags:e.userFlags}}},403:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.XagacityEmailMimeMessageFolderStorePersonalNamespacesToJSON=t.XagacityEmailMimeMessageFolderStorePersonalNamespacesFromJSONTyped=t.XagacityEmailMimeMessageFolderStorePersonalNamespacesFromJSON=void 0;var n=i(296),r=i(6826),o=i(4050),a=i(3057);function s(e,t){return null==e?e:{mode:(0,n.exists)(e,"mode")?e.mode:void 0,urlname:(0,n.exists)(e,"urlname")?(0,a.XagacityEmailMimeMessageFolderStoreUrlnameFromJSON)(e.urlname):void 0,fullName:(0,n.exists)(e,"fullName")?e.fullName:void 0,subscribed:(0,n.exists)(e,"subscribed")?e.subscribed:void 0,permanentFlags:(0,n.exists)(e,"permanentFlags")?(0,o.XagacityEmailMimeMessageFolderStorePermanentFlagsFromJSON)(e.permanentFlags):void 0,messageCount:(0,n.exists)(e,"messageCount")?e.messageCount:void 0,newMessageCount:(0,n.exists)(e,"newMessageCount")?e.newMessageCount:void 0,unreadMessageCount:(0,n.exists)(e,"unreadMessageCount")?e.unreadMessageCount:void 0,deletedMessageCount:(0,n.exists)(e,"deletedMessageCount")?e.deletedMessageCount:void 0,name:(0,n.exists)(e,"name")?e.name:void 0,open:(0,n.exists)(e,"open")?e.open:void 0,type:(0,n.exists)(e,"type")?e.type:void 0,separator:(0,n.exists)(e,"separator")?e.separator:void 0,messages:(0,n.exists)(e,"messages")?e.messages.map(r.XagacityEmailMimeMessageFolderStoreMessagesFromJSON):void 0}}t.XagacityEmailMimeMessageFolderStorePersonalNamespacesFromJSON=function(e){return s(e)},t.XagacityEmailMimeMessageFolderStorePersonalNamespacesFromJSONTyped=s,t.XagacityEmailMimeMessageFolderStorePersonalNamespacesToJSON=function(e){if(void 0!==e)return null===e?null:{mode:e.mode,urlname:(0,a.XagacityEmailMimeMessageFolderStoreUrlnameToJSON)(e.urlname),fullName:e.fullName,subscribed:e.subscribed,permanentFlags:(0,o.XagacityEmailMimeMessageFolderStorePermanentFlagsToJSON)(e.permanentFlags),messageCount:e.messageCount,newMessageCount:e.newMessageCount,unreadMessageCount:e.unreadMessageCount,deletedMessageCount:e.deletedMessageCount,name:e.name,open:e.open,type:e.type,separator:e.separator,messages:void 0===e.messages?void 0:e.messages.map(r.XagacityEmailMimeMessageFolderStoreMessagesToJSON)}}},7918:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.XagacityEmailMimeMessageFolderStoreReplyToToJSON=t.XagacityEmailMimeMessageFolderStoreReplyToFromJSONTyped=t.XagacityEmailMimeMessageFolderStoreReplyToFromJSON=void 0;var n=i(296);function r(e,t){return null==e?e:{type:(0,n.exists)(e,"type")?e.type:void 0}}t.XagacityEmailMimeMessageFolderStoreReplyToFromJSON=function(e){return r(e)},t.XagacityEmailMimeMessageFolderStoreReplyToFromJSONTyped=r,t.XagacityEmailMimeMessageFolderStoreReplyToToJSON=function(e){if(void 0!==e)return null===e?null:{type:e.type}}},3645:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.XagacityEmailMimeMessageFolderStoreSessionToJSON=t.XagacityEmailMimeMessageFolderStoreSessionFromJSONTyped=t.XagacityEmailMimeMessageFolderStoreSessionFromJSON=void 0;var n=i(296),r=i(4586),o=i(560),a=i(5108);function s(e,t){return null==e?e:{debug:(0,n.exists)(e,"debug")?e.debug:void 0,providers:(0,n.exists)(e,"providers")?e.providers.map(o.XagacityEmailMimeMessageFolderStoreSessionProvidersFromJSON):void 0,debugOut:(0,n.exists)(e,"debugOut")?e.debugOut:void 0,properties:(0,n.exists)(e,"properties")?e.properties:void 0,provider:(0,n.exists)(e,"provider")?(0,r.XagacityEmailMimeMessageFolderStoreSessionProviderFromJSON)(e.provider):void 0,transport:(0,n.exists)(e,"transport")?(0,a.XagacityEmailMimeMessageFolderStoreSessionTransportFromJSON)(e.transport):void 0}}t.XagacityEmailMimeMessageFolderStoreSessionFromJSON=function(e){return s(e)},t.XagacityEmailMimeMessageFolderStoreSessionFromJSONTyped=s,t.XagacityEmailMimeMessageFolderStoreSessionToJSON=function(e){if(void 0!==e)return null===e?null:{debug:e.debug,providers:void 0===e.providers?void 0:e.providers.map(o.XagacityEmailMimeMessageFolderStoreSessionProvidersToJSON),debugOut:e.debugOut,properties:e.properties,provider:(0,r.XagacityEmailMimeMessageFolderStoreSessionProviderToJSON)(e.provider),transport:(0,a.XagacityEmailMimeMessageFolderStoreSessionTransportToJSON)(e.transport)}}},4586:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.XagacityEmailMimeMessageFolderStoreSessionProviderToJSON=t.XagacityEmailMimeMessageFolderStoreSessionProviderFromJSONTyped=t.XagacityEmailMimeMessageFolderStoreSessionProviderFromJSON=void 0;var n=i(296);function r(e,t){return null==e?e:{type:(0,n.exists)(e,"type")?e.type:void 0,protocol:(0,n.exists)(e,"protocol")?e.protocol:void 0,className:(0,n.exists)(e,"className")?e.className:void 0,vendor:(0,n.exists)(e,"vendor")?e.vendor:void 0,version:(0,n.exists)(e,"version")?e.version:void 0}}t.XagacityEmailMimeMessageFolderStoreSessionProviderFromJSON=function(e){return r(e)},t.XagacityEmailMimeMessageFolderStoreSessionProviderFromJSONTyped=r,t.XagacityEmailMimeMessageFolderStoreSessionProviderToJSON=function(e){if(void 0!==e)return null===e?null:{type:e.type,protocol:e.protocol,className:e.className,vendor:e.vendor,version:e.version}}},560:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.XagacityEmailMimeMessageFolderStoreSessionProvidersToJSON=t.XagacityEmailMimeMessageFolderStoreSessionProvidersFromJSONTyped=t.XagacityEmailMimeMessageFolderStoreSessionProvidersFromJSON=void 0;var n=i(296);function r(e,t){return null==e?e:{type:(0,n.exists)(e,"type")?e.type:void 0,protocol:(0,n.exists)(e,"protocol")?e.protocol:void 0,className:(0,n.exists)(e,"className")?e.className:void 0,vendor:(0,n.exists)(e,"vendor")?e.vendor:void 0,version:(0,n.exists)(e,"version")?e.version:void 0}}t.XagacityEmailMimeMessageFolderStoreSessionProvidersFromJSON=function(e){return r(e)},t.XagacityEmailMimeMessageFolderStoreSessionProvidersFromJSONTyped=r,t.XagacityEmailMimeMessageFolderStoreSessionProvidersToJSON=function(e){if(void 0!==e)return null===e?null:{type:e.type,protocol:e.protocol,className:e.className,vendor:e.vendor,version:e.version}}},5108:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.XagacityEmailMimeMessageFolderStoreSessionTransportToJSON=t.XagacityEmailMimeMessageFolderStoreSessionTransportFromJSONTyped=t.XagacityEmailMimeMessageFolderStoreSessionTransportFromJSON=void 0;var n=i(296),r=i(3057);function o(e,t){return null==e?e:{connected:(0,n.exists)(e,"connected")?e.connected:void 0,urlname:(0,n.exists)(e,"urlname")?(0,r.XagacityEmailMimeMessageFolderStoreUrlnameFromJSON)(e.urlname):void 0}}t.XagacityEmailMimeMessageFolderStoreSessionTransportFromJSON=function(e){return o(e)},t.XagacityEmailMimeMessageFolderStoreSessionTransportFromJSONTyped=o,t.XagacityEmailMimeMessageFolderStoreSessionTransportToJSON=function(e){if(void 0!==e)return null===e?null:{connected:e.connected,urlname:(0,r.XagacityEmailMimeMessageFolderStoreUrlnameToJSON)(e.urlname)}}},3057:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.XagacityEmailMimeMessageFolderStoreUrlnameToJSON=t.XagacityEmailMimeMessageFolderStoreUrlnameFromJSONTyped=t.XagacityEmailMimeMessageFolderStoreUrlnameFromJSON=void 0;var n=i(296);function r(e,t){return null==e?e:{protocol:(0,n.exists)(e,"protocol")?e.protocol:void 0,username:(0,n.exists)(e,"username")?e.username:void 0,password:(0,n.exists)(e,"password")?e.password:void 0,host:(0,n.exists)(e,"host")?e.host:void 0,port:(0,n.exists)(e,"port")?e.port:void 0,file:(0,n.exists)(e,"file")?e.file:void 0,ref:(0,n.exists)(e,"ref")?e.ref:void 0,url:(0,n.exists)(e,"url")?e.url:void 0}}t.XagacityEmailMimeMessageFolderStoreUrlnameFromJSON=function(e){return r(e)},t.XagacityEmailMimeMessageFolderStoreUrlnameFromJSONTyped=r,t.XagacityEmailMimeMessageFolderStoreUrlnameToJSON=function(e){if(void 0!==e)return null===e?null:{protocol:e.protocol,username:e.username,password:e.password,host:e.host,port:e.port,file:e.file,ref:e.ref,url:e.url}}},1283:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.XagacityUserToJSON=t.XagacityUserFromJSONTyped=t.XagacityUserFromJSON=t.XagacityUserIdVerificationProviderEnum=void 0;var n,r=i(296),o=i(1995),a=i(6597);function s(e,t){return null==e?e:{id:(0,r.exists)(e,"id")?e.id:void 0,organizationId:(0,r.exists)(e,"organizationId")?e.organizationId:void 0,clientEmail:(0,r.exists)(e,"clientEmail")?e.clientEmail:void 0,priority:(0,r.exists)(e,"priority")?e.priority:void 0,firstName:(0,r.exists)(e,"firstName")?e.firstName:void 0,active:(0,r.exists)(e,"active")?e.active:void 0,eliseUser:(0,r.exists)(e,"eliseUser")?e.eliseUser:void 0,payingOrTrial:(0,r.exists)(e,"payingOrTrial")?e.payingOrTrial:void 0,emailPushNotificationsActive:(0,r.exists)(e,"emailPushNotificationsActive")?e.emailPushNotificationsActive:void 0,emailPushNotificationsExpiration:(0,r.exists)(e,"emailPushNotificationsExpiration")?e.emailPushNotificationsExpiration:void 0,emailClientType:(0,r.exists)(e,"emailClientType")?e.emailClientType:void 0,textApi:(0,r.exists)(e,"textApi")?e.textApi:void 0,timezone:(0,r.exists)(e,"timezone")?e.timezone:void 0,outlookTimeOfLastSyncedMessage:(0,r.exists)(e,"outlookTimeOfLastSyncedMessage")?e.outlookTimeOfLastSyncedMessage:void 0,outlookIdOfLastSyncedMessage:(0,r.exists)(e,"outlookIdOfLastSyncedMessage")?e.outlookIdOfLastSyncedMessage:void 0,xagacityLabel:(0,r.exists)(e,"xagacityLabel")?e.xagacityLabel:void 0,unreadState:(0,r.exists)(e,"unreadState")?e.unreadState:void 0,agentSignature:(0,r.exists)(e,"agentSignature")?e.agentSignature:void 0,specificGuidlines:(0,r.exists)(e,"specificGuidlines")?e.specificGuidlines:void 0,templates:(0,r.exists)(e,"templates")?e.templates:void 0,agentPhoneNumber:(0,r.exists)(e,"agentPhoneNumber")?e.agentPhoneNumber:void 0,isItProcessed:(0,r.exists)(e,"isItProcessed")?e.isItProcessed:void 0,removeFromInbox:(0,r.exists)(e,"removeFromInbox")?e.removeFromInbox:void 0,draftReply:(0,r.exists)(e,"draftReply")?e.draftReply:void 0,forwardToTeamAgent:(0,r.exists)(e,"forwardToTeamAgent")?e.forwardToTeamAgent:void 0,gmailHistoryId:(0,r.exists)(e,"gmailHistoryId")?e.gmailHistoryId:void 0,collectDataOn:(0,r.exists)(e,"collectDataOn")?e.collectDataOn:void 0,actualAssistant:(0,r.exists)(e,"actualAssistant")?e.actualAssistant:void 0,lastName:(0,r.exists)(e,"lastName")?e.lastName:void 0,subjectPreference:(0,r.exists)(e,"subjectPreference")?e.subjectPreference:void 0,getgSheetId:(0,r.exists)(e,"getgSheetId")?e.getgSheetId:void 0,autoDrafting:(0,r.exists)(e,"autoDrafting")?e.autoDrafting:void 0,followUpsRequired:(0,r.exists)(e,"followUpsRequired")?e.followUpsRequired:void 0,followUpsTemplates:(0,r.exists)(e,"followUpsTemplates")?e.followUpsTemplates:void 0,lockedSheet:(0,r.exists)(e,"lockedSheet")?e.lockedSheet:void 0,smartResponding:(0,r.exists)(e,"smartResponding")?e.smartResponding:void 0,pendingFollowUps:(0,r.exists)(e,"pendingFollowUps")?e.pendingFollowUps:void 0,xagacityNumber:(0,r.exists)(e,"xagacityNumber")?e.xagacityNumber:void 0,password:(0,r.exists)(e,"password")?e.password:void 0,calendarHistoryId:(0,r.exists)(e,"calendarHistoryId")?e.calendarHistoryId:void 0,calendarName:(0,r.exists)(e,"calendarName")?e.calendarName:void 0,hasSalesforce:(0,r.exists)(e,"hasSalesforce")?e.hasSalesforce:void 0,dateActive:(0,r.exists)(e,"dateActive")?new Date(e.dateActive):void 0,leadTrackingEmailForwardingActive:(0,r.exists)(e,"leadTrackingEmailForwardingActive")?e.leadTrackingEmailForwardingActive:void 0,receivesForwardedEmails:(0,r.exists)(e,"receivesForwardedEmails")?e.receivesForwardedEmails:void 0,messageDelayInSeconds:(0,r.exists)(e,"messageDelayInSeconds")?e.messageDelayInSeconds:void 0,crmUsedType:(0,r.exists)(e,"crmUsedType")?e.crmUsedType:void 0,relatedEmailIds:(0,r.exists)(e,"relatedEmailIds")?e.relatedEmailIds:void 0,callsStartingHours:(0,r.exists)(e,"callsStartingHours")?e.callsStartingHours:void 0,callsClosingHours:(0,r.exists)(e,"callsClosingHours")?e.callsClosingHours:void 0,availabilitiesSoftwareType:(0,r.exists)(e,"availabilitiesSoftwareType")?e.availabilitiesSoftwareType:void 0,associatedDomains:(0,r.exists)(e,"associatedDomains")?e.associatedDomains:void 0,lastCrmSyncId:(0,r.exists)(e,"lastCrmSyncId")?e.lastCrmSyncId:void 0,crmSyncType:(0,r.exists)(e,"crmSyncType")?e.crmSyncType:void 0,importingNewLeadsFromCrmActive:(0,r.exists)(e,"importingNewLeadsFromCrmActive")?e.importingNewLeadsFromCrmActive:void 0,followUpDataSource:(0,r.exists)(e,"followUpDataSource")?e.followUpDataSource:void 0,prefersTextsConfirmations:(0,r.exists)(e,"prefersTextsConfirmations")?e.prefersTextsConfirmations:void 0,smsAppointmentReminderEnabled:(0,r.exists)(e,"smsAppointmentReminderEnabled")?e.smsAppointmentReminderEnabled:void 0,smsPreTourFollowUpEnabled:(0,r.exists)(e,"smsPreTourFollowUpEnabled")?e.smsPreTourFollowUpEnabled:void 0,smsPostTourFollowUpEnabled:(0,r.exists)(e,"smsPostTourFollowUpEnabled")?e.smsPostTourFollowUpEnabled:void 0,smsNoShowFollowUpEnabled:(0,r.exists)(e,"smsNoShowFollowUpEnabled")?e.smsNoShowFollowUpEnabled:void 0,eventsLastCrmSyncId:(0,r.exists)(e,"eventsLastCrmSyncId")?e.eventsLastCrmSyncId:void 0,whiteListActivated:(0,r.exists)(e,"whiteListActivated")?e.whiteListActivated:void 0,blackListActivated:(0,r.exists)(e,"blackListActivated")?e.blackListActivated:void 0,availabilitiesPreferences:(0,r.exists)(e,"availabilitiesPreferences")?(0,o.AvailabilitiesPreferencesFromJSON)(e.availabilitiesPreferences):void 0,qaAlertPriority:(0,r.exists)(e,"qaAlertPriority")?e.qaAlertPriority:void 0,useSmtpRelay:(0,r.exists)(e,"useSmtpRelay")?e.useSmtpRelay:void 0,needParseSignature:(0,r.exists)(e,"needParseSignature")?e.needParseSignature:void 0,signaturePattern:(0,r.exists)(e,"signaturePattern")?e.signaturePattern:void 0,spamHistoryId:(0,r.exists)(e,"spamHistoryId")?e.spamHistoryId:void 0,receivesUnsubscribeReport:(0,r.exists)(e,"receivesUnsubscribeReport")?e.receivesUnsubscribeReport:void 0,emailSyncState:(0,r.exists)(e,"emailSyncState")?e.emailSyncState:void 0,buildingRefreshInfo:(0,r.exists)(e,"buildingRefreshInfo")?(0,a.BuildingRefreshInfoFromJSON)(e.buildingRefreshInfo):void 0,idVerificationProvider:(0,r.exists)(e,"idVerificationProvider")?e.idVerificationProvider:void 0}}(n=t.XagacityUserIdVerificationProviderEnum||(t.XagacityUserIdVerificationProviderEnum={})).Unknown="UNKNOWN",n.CognitoHq="COGNITO_HQ",n.AvbScreeningApi="AVB_SCREENING_API",t.XagacityUserFromJSON=function(e){return s(e)},t.XagacityUserFromJSONTyped=s,t.XagacityUserToJSON=function(e){if(void 0!==e)return null===e?null:{id:e.id,organizationId:e.organizationId,clientEmail:e.clientEmail,priority:e.priority,firstName:e.firstName,active:e.active,eliseUser:e.eliseUser,payingOrTrial:e.payingOrTrial,emailPushNotificationsActive:e.emailPushNotificationsActive,emailPushNotificationsExpiration:e.emailPushNotificationsExpiration,emailClientType:e.emailClientType,textApi:e.textApi,timezone:e.timezone,outlookTimeOfLastSyncedMessage:e.outlookTimeOfLastSyncedMessage,outlookIdOfLastSyncedMessage:e.outlookIdOfLastSyncedMessage,xagacityLabel:e.xagacityLabel,unreadState:e.unreadState,agentSignature:e.agentSignature,specificGuidlines:e.specificGuidlines,templates:e.templates,agentPhoneNumber:e.agentPhoneNumber,isItProcessed:e.isItProcessed,removeFromInbox:e.removeFromInbox,draftReply:e.draftReply,forwardToTeamAgent:e.forwardToTeamAgent,gmailHistoryId:e.gmailHistoryId,collectDataOn:e.collectDataOn,actualAssistant:e.actualAssistant,lastName:e.lastName,subjectPreference:e.subjectPreference,getgSheetId:e.getgSheetId,autoDrafting:e.autoDrafting,followUpsRequired:e.followUpsRequired,followUpsTemplates:e.followUpsTemplates,lockedSheet:e.lockedSheet,smartResponding:e.smartResponding,pendingFollowUps:e.pendingFollowUps,xagacityNumber:e.xagacityNumber,password:e.password,calendarHistoryId:e.calendarHistoryId,calendarName:e.calendarName,hasSalesforce:e.hasSalesforce,dateActive:void 0===e.dateActive?void 0:e.dateActive.toISOString(),leadTrackingEmailForwardingActive:e.leadTrackingEmailForwardingActive,receivesForwardedEmails:e.receivesForwardedEmails,messageDelayInSeconds:e.messageDelayInSeconds,crmUsedType:e.crmUsedType,relatedEmailIds:e.relatedEmailIds,callsStartingHours:e.callsStartingHours,callsClosingHours:e.callsClosingHours,availabilitiesSoftwareType:e.availabilitiesSoftwareType,associatedDomains:e.associatedDomains,lastCrmSyncId:e.lastCrmSyncId,crmSyncType:e.crmSyncType,importingNewLeadsFromCrmActive:e.importingNewLeadsFromCrmActive,followUpDataSource:e.followUpDataSource,prefersTextsConfirmations:e.prefersTextsConfirmations,smsAppointmentReminderEnabled:e.smsAppointmentReminderEnabled,smsPreTourFollowUpEnabled:e.smsPreTourFollowUpEnabled,smsPostTourFollowUpEnabled:e.smsPostTourFollowUpEnabled,smsNoShowFollowUpEnabled:e.smsNoShowFollowUpEnabled,eventsLastCrmSyncId:e.eventsLastCrmSyncId,whiteListActivated:e.whiteListActivated,blackListActivated:e.blackListActivated,availabilitiesPreferences:(0,o.AvailabilitiesPreferencesToJSON)(e.availabilitiesPreferences),qaAlertPriority:e.qaAlertPriority,useSmtpRelay:e.useSmtpRelay,needParseSignature:e.needParseSignature,signaturePattern:e.signaturePattern,spamHistoryId:e.spamHistoryId,receivesUnsubscribeReport:e.receivesUnsubscribeReport,emailSyncState:e.emailSyncState,buildingRefreshInfo:(0,a.BuildingRefreshInfoToJSON)(e.buildingRefreshInfo),idVerificationProvider:e.idVerificationProvider}}},1889:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.XagacityUserWithCredentialsToJSON=t.XagacityUserWithCredentialsFromJSONTyped=t.XagacityUserWithCredentialsFromJSON=void 0;var n=i(296),r=i(7455),o=i(9861),a=i(3538),s=i(1283),l=i(3450);function u(e,t){return null==e?e:{user:(0,n.exists)(e,"user")?(0,s.XagacityUserFromJSON)(e.user):void 0,entrataCredentials:(0,n.exists)(e,"entrataCredentials")?(0,o.EntrataCredentialsFromJSON)(e.entrataCredentials):void 0,realPageCredentials:(0,n.exists)(e,"realPageCredentials")?(0,a.RealPageCredentialsFromJSON)(e.realPageCredentials):void 0,yardiCredentials:(0,n.exists)(e,"yardiCredentials")?(0,l.YardiCredentialsFromJSON)(e.yardiCredentials):void 0,anyoneHomeCredentials:(0,n.exists)(e,"anyoneHomeCredentials")?(0,r.AnyoneHomeCredentialsFromJSON)(e.anyoneHomeCredentials):void 0}}t.XagacityUserWithCredentialsFromJSON=function(e){return u(e)},t.XagacityUserWithCredentialsFromJSONTyped=u,t.XagacityUserWithCredentialsToJSON=function(e){if(void 0!==e)return null===e?null:{user:(0,s.XagacityUserToJSON)(e.user),entrataCredentials:(0,o.EntrataCredentialsToJSON)(e.entrataCredentials),realPageCredentials:(0,a.RealPageCredentialsToJSON)(e.realPageCredentials),yardiCredentials:(0,l.YardiCredentialsToJSON)(e.yardiCredentials),anyoneHomeCredentials:(0,r.AnyoneHomeCredentialsToJSON)(e.anyoneHomeCredentials)}}},3450:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.YardiCredentialsToJSON=t.YardiCredentialsFromJSONTyped=t.YardiCredentialsFromJSON=void 0;var n=i(296);function r(e,t){return null==e?e:{id:(0,n.exists)(e,"id")?e.id:void 0,userId:(0,n.exists)(e,"userId")?e.userId:void 0,userName:(0,n.exists)(e,"userName")?e.userName:void 0,password:(0,n.exists)(e,"password")?e.password:void 0,serverName:(0,n.exists)(e,"serverName")?e.serverName:void 0,database:(0,n.exists)(e,"database")?e.database:void 0,platform:(0,n.exists)(e,"platform")?e.platform:void 0,webserviceHost:(0,n.exists)(e,"webserviceHost")?e.webserviceHost:void 0}}t.YardiCredentialsFromJSON=function(e){return r(e)},t.YardiCredentialsFromJSONTyped=r,t.YardiCredentialsToJSON=function(e){if(void 0!==e)return null===e?null:{id:e.id,userId:e.userId,userName:e.userName,password:e.password,serverName:e.serverName,database:e.database,platform:e.platform,webserviceHost:e.webserviceHost}}},4584:function(e,t,i){var n=this&&this.__createBinding||(Object.create?function(e,t,i,n){void 0===n&&(n=i);var r=Object.getOwnPropertyDescriptor(t,i);r&&!("get"in r?!t.__esModule:r.writable||r.configurable)||(r={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,n,r)}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]}),r=this&&this.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||n(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),r(i(6662),t),r(i(1961),t),r(i(818),t),r(i(6140),t),r(i(5246),t),r(i(5556),t),r(i(7455),t),r(i(3617),t),r(i(67),t),r(i(1234),t),r(i(1995),t),r(i(3618),t),r(i(2160),t),r(i(5604),t),r(i(3477),t),r(i(4597),t),r(i(553),t),r(i(6673),t),r(i(6597),t),r(i(7949),t),r(i(2386),t),r(i(4853),t),r(i(9260),t),r(i(3777),t),r(i(713),t),r(i(1172),t),r(i(3077),t),r(i(2817),t),r(i(9407),t),r(i(7058),t),r(i(3531),t),r(i(6613),t),r(i(5040),t),r(i(5111),t),r(i(3202),t),r(i(6058),t),r(i(3817),t),r(i(8882),t),r(i(6607),t),r(i(5007),t),r(i(1057),t),r(i(7009),t),r(i(3694),t),r(i(4105),t),r(i(9861),t),r(i(8442),t),r(i(6885),t),r(i(7934),t),r(i(3905),t),r(i(3958),t),r(i(6045),t),r(i(6465),t),r(i(7895),t),r(i(4326),t),r(i(2610),t),r(i(1960),t),r(i(9233),t),r(i(8055),t),r(i(2406),t),r(i(1880),t),r(i(7989),t),r(i(4036),t),r(i(5728),t),r(i(5131),t),r(i(746),t),r(i(7662),t),r(i(9132),t),r(i(7530),t),r(i(194),t),r(i(1312),t),r(i(4549),t),r(i(8636),t),r(i(7399),t),r(i(8328),t),r(i(4401),t),r(i(3832),t),r(i(4883),t),r(i(6705),t),r(i(1427),t),r(i(9718),t),r(i(1004),t),r(i(4240),t),r(i(2960),t),r(i(1431),t),r(i(8792),t),r(i(908),t),r(i(3231),t),r(i(8496),t),r(i(3538),t),r(i(9353),t),r(i(6343),t),r(i(7564),t),r(i(4748),t),r(i(170),t),r(i(2298),t),r(i(445),t),r(i(1222),t),r(i(7444),t),r(i(3815),t),r(i(8385),t),r(i(6956),t),r(i(2644),t),r(i(4192),t),r(i(6832),t),r(i(6865),t),r(i(6448),t),r(i(6161),t),r(i(6069),t),r(i(6122),t),r(i(5687),t),r(i(2558),t),r(i(904),t),r(i(7346),t),r(i(6306),t),r(i(2977),t),r(i(1124),t),r(i(3225),t),r(i(1155),t),r(i(8911),t),r(i(9374),t),r(i(6330),t),r(i(9275),t),r(i(260),t),r(i(1161),t),r(i(5239),t),r(i(3842),t),r(i(9908),t),r(i(5530),t),r(i(9256),t),r(i(2288),t),r(i(3029),t),r(i(5454),t),r(i(2449),t),r(i(2242),t),r(i(6570),t),r(i(4675),t),r(i(3163),t),r(i(8937),t),r(i(2683),t),r(i(4145),t),r(i(7571),t),r(i(4891),t),r(i(2294),t),r(i(2394),t),r(i(2653),t),r(i(9046),t),r(i(8819),t),r(i(6799),t),r(i(6228),t),r(i(6826),t),r(i(4050),t),r(i(403),t),r(i(7918),t),r(i(3645),t),r(i(4586),t),r(i(560),t),r(i(5108),t),r(i(3057),t),r(i(1283),t),r(i(1889),t),r(i(3450),t)},296:function(e,t){var i,n=this&&this.__extends||(i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])},i(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,i=1,n=arguments.length;i<n;i++)for(var r in t=arguments[i])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},r.apply(this,arguments)},o=this&&this.__awaiter||function(e,t,i,n){return new(i||(i=Promise))((function(r,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var i,n,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(i)throw new TypeError("Generator is already executing.");for(;a;)try{if(i=1,n&&(r=2&o[0]?n.return:o[0]?n.throw||((r=n.return)&&r.call(n),0):n.next)&&!(r=r.call(n,o[1])).done)return r;switch(n=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],n=0}finally{i=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.TextApiResponse=t.BlobApiResponse=t.VoidApiResponse=t.JSONApiResponse=t.canConsumeForm=t.mapValues=t.querystring=t.exists=t.Configuration=t.COLLECTION_FORMATS=t.RequiredError=t.BaseAPI=t.BASE_PATH=void 0,t.BASE_PATH="http://localhost:8080".replace(/\/+$/,"");var s=function(){function e(e){void 0===e&&(e=new u);var t=this;this.configuration=e,this.fetchApi=function(e,i){return o(t,void 0,void 0,(function(){var t,n,o,s,l,u,d;return a(this,(function(a){switch(a.label){case 0:t={url:e,init:i},n=0,o=this.middleware,a.label=1;case 1:return n<o.length?(d=o[n]).pre?[4,d.pre(r({fetch:this.fetchApi},t))]:[3,3]:[3,4];case 2:t=a.sent()||t,a.label=3;case 3:return n++,[3,1];case 4:return[4,(this.configuration.fetchApi||fetch)(t.url,t.init)];case 5:s=a.sent(),l=0,u=this.middleware,a.label=6;case 6:return l<u.length?(d=u[l]).post?[4,d.post({fetch:this.fetchApi,url:t.url,init:t.init,response:s.clone()})]:[3,8]:[3,9];case 7:s=a.sent()||s,a.label=8;case 8:return l++,[3,6];case 9:return[2,s]}}))}))},this.middleware=e.middleware}return e.prototype.withMiddleware=function(){for(var e,t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];var n=this.clone();return n.middleware=(e=n.middleware).concat.apply(e,t),n},e.prototype.withPreMiddleware=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var i=e.map((function(e){return{pre:e}}));return this.withMiddleware.apply(this,i)},e.prototype.withPostMiddleware=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var i=e.map((function(e){return{post:e}}));return this.withMiddleware.apply(this,i)},e.prototype.request=function(e,t){return o(this,void 0,void 0,(function(){var i,n,r,o;return a(this,(function(a){switch(a.label){case 0:return i=this.createFetchParams(e,t),n=i.url,r=i.init,[4,this.fetchApi(n,r)];case 1:if((o=a.sent()).status>=200&&o.status<300)return[2,o];throw o}}))}))},e.prototype.createFetchParams=function(e,t){var i=this.configuration.basePath+e.path;void 0!==e.query&&0!==Object.keys(e.query).length&&(i+="?"+this.configuration.queryParamsStringify(e.query));var n,o="undefined"!=typeof FormData&&e.body instanceof FormData||e.body instanceof URLSearchParams||(n=e.body,"undefined"!=typeof Blob&&n instanceof Blob)?e.body:JSON.stringify(e.body),a=Object.assign({},this.configuration.headers,e.headers);return{url:i,init:r({method:e.method,headers:a,body:o,credentials:this.configuration.credentials},t)}},e.prototype.clone=function(){var e=new(0,this.constructor)(this.configuration);return e.middleware=this.middleware.slice(),e},e}();t.BaseAPI=s;var l=function(e){function t(t,i){var n=e.call(this,i)||this;return n.field=t,n.name="RequiredError",n}return n(t,e),t}(Error);t.RequiredError=l,t.COLLECTION_FORMATS={csv:",",ssv:" ",tsv:"\t",pipes:"|"};var u=function(){function e(e){void 0===e&&(e={}),this.configuration=e}return Object.defineProperty(e.prototype,"basePath",{get:function(){return null!=this.configuration.basePath?this.configuration.basePath:t.BASE_PATH},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"fetchApi",{get:function(){return this.configuration.fetchApi},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"middleware",{get:function(){return this.configuration.middleware||[]},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"queryParamsStringify",{get:function(){return this.configuration.queryParamsStringify||d},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"username",{get:function(){return this.configuration.username},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"password",{get:function(){return this.configuration.password},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"apiKey",{get:function(){var e=this.configuration.apiKey;if(e)return"function"==typeof e?e:function(){return e}},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"accessToken",{get:function(){var e=this,t=this.configuration.accessToken;if(t)return"function"==typeof t?t:function(){return o(e,void 0,void 0,(function(){return a(this,(function(e){return[2,t]}))}))}},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"headers",{get:function(){return this.configuration.headers},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"credentials",{get:function(){return this.configuration.credentials},enumerable:!1,configurable:!0}),e}();function d(e,t){return void 0===t&&(t=""),Object.keys(e).map((function(i){var n=t+(t.length?"[".concat(i,"]"):i),r=e[i];if(r instanceof Array){var o=r.map((function(e){return encodeURIComponent(String(e))})).join("&".concat(encodeURIComponent(n),"="));return"".concat(encodeURIComponent(n),"=").concat(o)}return r instanceof Date?"".concat(encodeURIComponent(n),"=").concat(encodeURIComponent(r.toISOString())):r instanceof Object?d(r,n):"".concat(encodeURIComponent(n),"=").concat(encodeURIComponent(String(r)))})).filter((function(e){return e.length>0})).join("&")}t.Configuration=u,t.exists=function(e,t){return null!=e[t]},t.querystring=d,t.mapValues=function(e,t){return Object.keys(e).reduce((function(i,n){var o;return r(r({},i),((o={})[n]=t(e[n]),o))}),{})},t.canConsumeForm=function(e){for(var t=0,i=e;t<i.length;t++)if("multipart/form-data"===i[t].contentType)return!0;return!1};var c=function(){function e(e,t){void 0===t&&(t=function(e){return e}),this.raw=e,this.transformer=t}return e.prototype.value=function(){return o(this,void 0,void 0,(function(){var e;return a(this,(function(t){switch(t.label){case 0:return e=this.transformer,[4,this.raw.json()];case 1:return[2,e.apply(this,[t.sent()])]}}))}))},e}();t.JSONApiResponse=c;var p=function(){function e(e){this.raw=e}return e.prototype.value=function(){return o(this,void 0,void 0,(function(){return a(this,(function(e){return[2,void 0]}))}))},e}();t.VoidApiResponse=p;var f=function(){function e(e){this.raw=e}return e.prototype.value=function(){return o(this,void 0,void 0,(function(){return a(this,(function(e){switch(e.label){case 0:return[4,this.raw.blob()];case 1:return[2,e.sent()]}}))}))},e}();t.BlobApiResponse=f;var m=function(){function e(e){this.raw=e}return e.prototype.value=function(){return o(this,void 0,void 0,(function(){return a(this,(function(e){switch(e.label){case 0:return[4,this.raw.text()];case 1:return[2,e.sent()]}}))}))},e}();t.TextApiResponse=m},9669:(e,t,i)=>{e.exports=i(1609)},5448:(e,t,i)=>{var n=i(4867),r=i(6026),o=i(4372),a=i(5327),s=i(4097),l=i(4109),u=i(7985),d=i(7874),c=i(2648),p=i(644),f=i(205);e.exports=function(e){return new Promise((function(t,i){var m,h=e.data,v=e.headers,g=e.responseType;function y(){e.cancelToken&&e.cancelToken.unsubscribe(m),e.signal&&e.signal.removeEventListener("abort",m)}n.isFormData(h)&&n.isStandardBrowserEnv()&&delete v["Content-Type"];var w=new XMLHttpRequest;if(e.auth){var S=e.auth.username||"",b=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";v.Authorization="Basic "+btoa(S+":"+b)}var T=s(e.baseURL,e.url);function x(){if(w){var n="getAllResponseHeaders"in w?l(w.getAllResponseHeaders()):null,o={data:g&&"text"!==g&&"json"!==g?w.response:w.responseText,status:w.status,statusText:w.statusText,headers:n,config:e,request:w};r((function(e){t(e),y()}),(function(e){i(e),y()}),o),w=null}}if(w.open(e.method.toUpperCase(),a(T,e.params,e.paramsSerializer),!0),w.timeout=e.timeout,"onloadend"in w?w.onloadend=x:w.onreadystatechange=function(){w&&4===w.readyState&&(0!==w.status||w.responseURL&&0===w.responseURL.indexOf("file:"))&&setTimeout(x)},w.onabort=function(){w&&(i(new c("Request aborted",c.ECONNABORTED,e,w)),w=null)},w.onerror=function(){i(new c("Network Error",c.ERR_NETWORK,e,w,w)),w=null},w.ontimeout=function(){var t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded",n=e.transitional||d;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),i(new c(t,n.clarifyTimeoutError?c.ETIMEDOUT:c.ECONNABORTED,e,w)),w=null},n.isStandardBrowserEnv()){var O=(e.withCredentials||u(T))&&e.xsrfCookieName?o.read(e.xsrfCookieName):void 0;O&&(v[e.xsrfHeaderName]=O)}"setRequestHeader"in w&&n.forEach(v,(function(e,t){void 0===h&&"content-type"===t.toLowerCase()?delete v[t]:w.setRequestHeader(t,e)})),n.isUndefined(e.withCredentials)||(w.withCredentials=!!e.withCredentials),g&&"json"!==g&&(w.responseType=e.responseType),"function"==typeof e.onDownloadProgress&&w.addEventListener("progress",e.onDownloadProgress),"function"==typeof e.onUploadProgress&&w.upload&&w.upload.addEventListener("progress",e.onUploadProgress),(e.cancelToken||e.signal)&&(m=function(e){w&&(i(!e||e&&e.type?new p:e),w.abort(),w=null)},e.cancelToken&&e.cancelToken.subscribe(m),e.signal&&(e.signal.aborted?m():e.signal.addEventListener("abort",m))),h||(h=null);var I=f(T);I&&-1===["http","https","file"].indexOf(I)?i(new c("Unsupported protocol "+I+":",c.ERR_BAD_REQUEST,e)):w.send(h)}))}},1609:(e,t,i)=>{var n=i(4867),r=i(1849),o=i(321),a=i(7185),s=function e(t){var i=new o(t),s=r(o.prototype.request,i);return n.extend(s,o.prototype,i),n.extend(s,i),s.create=function(i){return e(a(t,i))},s}(i(5546));s.Axios=o,s.CanceledError=i(644),s.CancelToken=i(4972),s.isCancel=i(6502),s.VERSION=i(7288).version,s.toFormData=i(7675),s.AxiosError=i(2648),s.Cancel=s.CanceledError,s.all=function(e){return Promise.all(e)},s.spread=i(8713),s.isAxiosError=i(6268),e.exports=s,e.exports.default=s},4972:(e,t,i)=>{var n=i(644);function r(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function(e){t=e}));var i=this;this.promise.then((function(e){if(i._listeners){var t,n=i._listeners.length;for(t=0;t<n;t++)i._listeners[t](e);i._listeners=null}})),this.promise.then=function(e){var t,n=new Promise((function(e){i.subscribe(e),t=e})).then(e);return n.cancel=function(){i.unsubscribe(t)},n},e((function(e){i.reason||(i.reason=new n(e),t(i.reason))}))}r.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},r.prototype.subscribe=function(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]},r.prototype.unsubscribe=function(e){if(this._listeners){var t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}},r.source=function(){var e;return{token:new r((function(t){e=t})),cancel:e}},e.exports=r},644:(e,t,i)=>{var n=i(2648);function r(e){n.call(this,null==e?"canceled":e,n.ERR_CANCELED),this.name="CanceledError"}i(4867).inherits(r,n,{__CANCEL__:!0}),e.exports=r},6502:e=>{e.exports=function(e){return!(!e||!e.__CANCEL__)}},321:(e,t,i)=>{var n=i(4867),r=i(5327),o=i(782),a=i(3572),s=i(7185),l=i(4097),u=i(4875),d=u.validators;function c(e){this.defaults=e,this.interceptors={request:new o,response:new o}}c.prototype.request=function(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{},(t=s(this.defaults,t)).method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var i=t.transitional;void 0!==i&&u.assertOptions(i,{silentJSONParsing:d.transitional(d.boolean),forcedJSONParsing:d.transitional(d.boolean),clarifyTimeoutError:d.transitional(d.boolean)},!1);var n=[],r=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(r=r&&e.synchronous,n.unshift(e.fulfilled,e.rejected))}));var o,l=[];if(this.interceptors.response.forEach((function(e){l.push(e.fulfilled,e.rejected)})),!r){var c=[a,void 0];for(Array.prototype.unshift.apply(c,n),c=c.concat(l),o=Promise.resolve(t);c.length;)o=o.then(c.shift(),c.shift());return o}for(var p=t;n.length;){var f=n.shift(),m=n.shift();try{p=f(p)}catch(e){m(e);break}}try{o=a(p)}catch(e){return Promise.reject(e)}for(;l.length;)o=o.then(l.shift(),l.shift());return o},c.prototype.getUri=function(e){e=s(this.defaults,e);var t=l(e.baseURL,e.url);return r(t,e.params,e.paramsSerializer)},n.forEach(["delete","get","head","options"],(function(e){c.prototype[e]=function(t,i){return this.request(s(i||{},{method:e,url:t,data:(i||{}).data}))}})),n.forEach(["post","put","patch"],(function(e){function t(t){return function(i,n,r){return this.request(s(r||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:i,data:n}))}}c.prototype[e]=t(),c.prototype[e+"Form"]=t(!0)})),e.exports=c},2648:(e,t,i)=>{var n=i(4867);function r(e,t,i,n,r){Error.call(this),this.message=e,this.name="AxiosError",t&&(this.code=t),i&&(this.config=i),n&&(this.request=n),r&&(this.response=r)}n.inherits(r,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}}});var o=r.prototype,a={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED"].forEach((function(e){a[e]={value:e}})),Object.defineProperties(r,a),Object.defineProperty(o,"isAxiosError",{value:!0}),r.from=function(e,t,i,a,s,l){var u=Object.create(o);return n.toFlatObject(e,u,(function(e){return e!==Error.prototype})),r.call(u,e.message,t,i,a,s),u.name=e.name,l&&Object.assign(u,l),u},e.exports=r},782:(e,t,i)=>{var n=i(4867);function r(){this.handlers=[]}r.prototype.use=function(e,t,i){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!i&&i.synchronous,runWhen:i?i.runWhen:null}),this.handlers.length-1},r.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},r.prototype.forEach=function(e){n.forEach(this.handlers,(function(t){null!==t&&e(t)}))},e.exports=r},4097:(e,t,i)=>{var n=i(1793),r=i(7303);e.exports=function(e,t){return e&&!n(t)?r(e,t):t}},3572:(e,t,i)=>{var n=i(4867),r=i(8527),o=i(6502),a=i(5546),s=i(644);function l(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new s}e.exports=function(e){return l(e),e.headers=e.headers||{},e.data=r.call(e,e.data,e.headers,e.transformRequest),e.headers=n.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),n.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]})),(e.adapter||a.adapter)(e).then((function(t){return l(e),t.data=r.call(e,t.data,t.headers,e.transformResponse),t}),(function(t){return o(t)||(l(e),t&&t.response&&(t.response.data=r.call(e,t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))}},7185:(e,t,i)=>{var n=i(4867);e.exports=function(e,t){t=t||{};var i={};function r(e,t){return n.isPlainObject(e)&&n.isPlainObject(t)?n.merge(e,t):n.isPlainObject(t)?n.merge({},t):n.isArray(t)?t.slice():t}function o(i){return n.isUndefined(t[i])?n.isUndefined(e[i])?void 0:r(void 0,e[i]):r(e[i],t[i])}function a(e){if(!n.isUndefined(t[e]))return r(void 0,t[e])}function s(i){return n.isUndefined(t[i])?n.isUndefined(e[i])?void 0:r(void 0,e[i]):r(void 0,t[i])}function l(i){return i in t?r(e[i],t[i]):i in e?r(void 0,e[i]):void 0}var u={url:a,method:a,data:a,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:l};return n.forEach(Object.keys(e).concat(Object.keys(t)),(function(e){var t=u[e]||o,r=t(e);n.isUndefined(r)&&t!==l||(i[e]=r)})),i}},6026:(e,t,i)=>{var n=i(2648);e.exports=function(e,t,i){var r=i.config.validateStatus;i.status&&r&&!r(i.status)?t(new n("Request failed with status code "+i.status,[n.ERR_BAD_REQUEST,n.ERR_BAD_RESPONSE][Math.floor(i.status/100)-4],i.config,i.request,i)):e(i)}},8527:(e,t,i)=>{var n=i(4867),r=i(5546);e.exports=function(e,t,i){var o=this||r;return n.forEach(i,(function(i){e=i.call(o,e,t)})),e}},5546:(e,t,i)=>{var n=i(4867),r=i(6016),o=i(2648),a=i(7874),s=i(7675),l={"Content-Type":"application/x-www-form-urlencoded"};function u(e,t){!n.isUndefined(e)&&n.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var d,c={transitional:a,adapter:(("undefined"!=typeof XMLHttpRequest||"undefined"!=typeof process&&"[object process]"===Object.prototype.toString.call(process))&&(d=i(5448)),d),transformRequest:[function(e,t){if(r(t,"Accept"),r(t,"Content-Type"),n.isFormData(e)||n.isArrayBuffer(e)||n.isBuffer(e)||n.isStream(e)||n.isFile(e)||n.isBlob(e))return e;if(n.isArrayBufferView(e))return e.buffer;if(n.isURLSearchParams(e))return u(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString();var i,o=n.isObject(e),a=t&&t["Content-Type"];if((i=n.isFileList(e))||o&&"multipart/form-data"===a){var l=this.env&&this.env.FormData;return s(i?{"files[]":e}:e,l&&new l)}return o||"application/json"===a?(u(t,"application/json"),function(e,t,i){if(n.isString(e))try{return(0,JSON.parse)(e),n.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(0,JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){var t=this.transitional||c.transitional,i=t&&t.silentJSONParsing,r=t&&t.forcedJSONParsing,a=!i&&"json"===this.responseType;if(a||r&&n.isString(e)&&e.length)try{return JSON.parse(e)}catch(e){if(a){if("SyntaxError"===e.name)throw o.from(e,o.ERR_BAD_RESPONSE,this,null,this.response);throw e}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:i(1623)},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};n.forEach(["delete","get","head"],(function(e){c.headers[e]={}})),n.forEach(["post","put","patch"],(function(e){c.headers[e]=n.merge(l)})),e.exports=c},7874:e=>{e.exports={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1}},7288:e=>{e.exports={version:"0.27.2"}},1849:e=>{e.exports=function(e,t){return function(){for(var i=new Array(arguments.length),n=0;n<i.length;n++)i[n]=arguments[n];return e.apply(t,i)}}},5327:(e,t,i)=>{var n=i(4867);function r(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function(e,t,i){if(!t)return e;var o;if(i)o=i(t);else if(n.isURLSearchParams(t))o=t.toString();else{var a=[];n.forEach(t,(function(e,t){null!=e&&(n.isArray(e)?t+="[]":e=[e],n.forEach(e,(function(e){n.isDate(e)?e=e.toISOString():n.isObject(e)&&(e=JSON.stringify(e)),a.push(r(t)+"="+r(e))})))})),o=a.join("&")}if(o){var s=e.indexOf("#");-1!==s&&(e=e.slice(0,s)),e+=(-1===e.indexOf("?")?"?":"&")+o}return e}},7303:e=>{e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},4372:(e,t,i)=>{var n=i(4867);e.exports=n.isStandardBrowserEnv()?{write:function(e,t,i,r,o,a){var s=[];s.push(e+"="+encodeURIComponent(t)),n.isNumber(i)&&s.push("expires="+new Date(i).toGMTString()),n.isString(r)&&s.push("path="+r),n.isString(o)&&s.push("domain="+o),!0===a&&s.push("secure"),document.cookie=s.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},1793:e=>{e.exports=function(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}},6268:(e,t,i)=>{var n=i(4867);e.exports=function(e){return n.isObject(e)&&!0===e.isAxiosError}},7985:(e,t,i)=>{var n=i(4867);e.exports=n.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),i=document.createElement("a");function r(e){var n=e;return t&&(i.setAttribute("href",n),n=i.href),i.setAttribute("href",n),{href:i.href,protocol:i.protocol?i.protocol.replace(/:$/,""):"",host:i.host,search:i.search?i.search.replace(/^\?/,""):"",hash:i.hash?i.hash.replace(/^#/,""):"",hostname:i.hostname,port:i.port,pathname:"/"===i.pathname.charAt(0)?i.pathname:"/"+i.pathname}}return e=r(window.location.href),function(t){var i=n.isString(t)?r(t):t;return i.protocol===e.protocol&&i.host===e.host}}():function(){return!0}},6016:(e,t,i)=>{var n=i(4867);e.exports=function(e,t){n.forEach(e,(function(i,n){n!==t&&n.toUpperCase()===t.toUpperCase()&&(e[t]=i,delete e[n])}))}},1623:e=>{e.exports=null},4109:(e,t,i)=>{var n=i(4867),r=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];e.exports=function(e){var t,i,o,a={};return e?(n.forEach(e.split("\n"),(function(e){if(o=e.indexOf(":"),t=n.trim(e.substr(0,o)).toLowerCase(),i=n.trim(e.substr(o+1)),t){if(a[t]&&r.indexOf(t)>=0)return;a[t]="set-cookie"===t?(a[t]?a[t]:[]).concat([i]):a[t]?a[t]+", "+i:i}})),a):a}},205:e=>{e.exports=function(e){var t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}},8713:e=>{e.exports=function(e){return function(t){return e.apply(null,t)}}},7675:(e,t,i)=>{var n=i(4867);e.exports=function(e,t){t=t||new FormData;var i=[];function r(e){return null===e?"":n.isDate(e)?e.toISOString():n.isArrayBuffer(e)||n.isTypedArray(e)?"function"==typeof Blob?new Blob([e]):Buffer.from(e):e}return function e(o,a){if(n.isPlainObject(o)||n.isArray(o)){if(-1!==i.indexOf(o))throw Error("Circular reference detected in "+a);i.push(o),n.forEach(o,(function(i,o){if(!n.isUndefined(i)){var s,l=a?a+"."+o:o;if(i&&!a&&"object"==typeof i)if(n.endsWith(o,"{}"))i=JSON.stringify(i);else if(n.endsWith(o,"[]")&&(s=n.toArray(i)))return void s.forEach((function(e){!n.isUndefined(e)&&t.append(l,r(e))}));e(i,l)}})),i.pop()}else t.append(a,r(o))}(e),t}},4875:(e,t,i)=>{var n=i(7288).version,r=i(2648),o={};["object","boolean","number","function","string","symbol"].forEach((function(e,t){o[e]=function(i){return typeof i===e||"a"+(t<1?"n ":" ")+e}}));var a={};o.transitional=function(e,t,i){function o(e,t){return"[Axios v"+n+"] Transitional option '"+e+"'"+t+(i?". "+i:"")}return function(i,n,s){if(!1===e)throw new r(o(n," has been removed"+(t?" in "+t:"")),r.ERR_DEPRECATED);return t&&!a[n]&&(a[n]=!0,console.warn(o(n," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(i,n,s)}},e.exports={assertOptions:function(e,t,i){if("object"!=typeof e)throw new r("options must be an object",r.ERR_BAD_OPTION_VALUE);for(var n=Object.keys(e),o=n.length;o-- >0;){var a=n[o],s=t[a];if(s){var l=e[a],u=void 0===l||s(l,a,e);if(!0!==u)throw new r("option "+a+" must be "+u,r.ERR_BAD_OPTION_VALUE)}else if(!0!==i)throw new r("Unknown option "+a,r.ERR_BAD_OPTION)}},validators:o}},4867:(e,t,i)=>{var n,r=i(1849),o=Object.prototype.toString,a=(n=Object.create(null),function(e){var t=o.call(e);return n[t]||(n[t]=t.slice(8,-1).toLowerCase())});function s(e){return e=e.toLowerCase(),function(t){return a(t)===e}}function l(e){return Array.isArray(e)}function u(e){return void 0===e}var d=s("ArrayBuffer");function c(e){return null!==e&&"object"==typeof e}function p(e){if("object"!==a(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}var f=s("Date"),m=s("File"),h=s("Blob"),v=s("FileList");function g(e){return"[object Function]"===o.call(e)}var y=s("URLSearchParams");function w(e,t){if(null!=e)if("object"!=typeof e&&(e=[e]),l(e))for(var i=0,n=e.length;i<n;i++)t.call(null,e[i],i,e);else for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.call(null,e[r],r,e)}var S,b=(S="undefined"!=typeof Uint8Array&&Object.getPrototypeOf(Uint8Array),function(e){return S&&e instanceof S});e.exports={isArray:l,isArrayBuffer:d,isBuffer:function(e){return null!==e&&!u(e)&&null!==e.constructor&&!u(e.constructor)&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)},isFormData:function(e){var t="[object FormData]";return e&&("function"==typeof FormData&&e instanceof FormData||o.call(e)===t||g(e.toString)&&e.toString()===t)},isArrayBufferView:function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&d(e.buffer)},isString:function(e){return"string"==typeof e},isNumber:function(e){return"number"==typeof e},isObject:c,isPlainObject:p,isUndefined:u,isDate:f,isFile:m,isBlob:h,isFunction:g,isStream:function(e){return c(e)&&g(e.pipe)},isURLSearchParams:y,isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&"undefined"!=typeof window&&"undefined"!=typeof document},forEach:w,merge:function e(){var t={};function i(i,n){p(t[n])&&p(i)?t[n]=e(t[n],i):p(i)?t[n]=e({},i):l(i)?t[n]=i.slice():t[n]=i}for(var n=0,r=arguments.length;n<r;n++)w(arguments[n],i);return t},extend:function(e,t,i){return w(t,(function(t,n){e[n]=i&&"function"==typeof t?r(t,i):t})),e},trim:function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")},stripBOM:function(e){return 65279===e.charCodeAt(0)&&(e=e.slice(1)),e},inherits:function(e,t,i,n){e.prototype=Object.create(t.prototype,n),e.prototype.constructor=e,i&&Object.assign(e.prototype,i)},toFlatObject:function(e,t,i){var n,r,o,a={};t=t||{};do{for(r=(n=Object.getOwnPropertyNames(e)).length;r-- >0;)a[o=n[r]]||(t[o]=e[o],a[o]=!0);e=Object.getPrototypeOf(e)}while(e&&(!i||i(e,t))&&e!==Object.prototype);return t},kindOf:a,kindOfTest:s,endsWith:function(e,t,i){e=String(e),(void 0===i||i>e.length)&&(i=e.length),i-=t.length;var n=e.indexOf(t,i);return-1!==n&&n===i},toArray:function(e){if(!e)return null;var t=e.length;if(u(t))return null;for(var i=new Array(t);t-- >0;)i[t]=e[t];return i},isTypedArray:b,isFileList:v}},4184:(e,t)=>{var i;!function(){var n={}.hasOwnProperty;function r(){for(var e=[],t=0;t<arguments.length;t++){var i=arguments[t];if(i){var o=typeof i;if("string"===o||"number"===o)e.push(i);else if(Array.isArray(i)){if(i.length){var a=r.apply(null,i);a&&e.push(a)}}else if("object"===o)if(i.toString===Object.prototype.toString)for(var s in i)n.call(i,s)&&i[s]&&e.push(s);else e.push(i.toString())}}return e.join(" ")}e.exports?(r.default=r,e.exports=r):void 0===(i=function(){return r}.apply(t,[]))||(e.exports=i)}()},3631:(e,t,i)=>{i.d(t,{Z:()=>s});var n=i(8081),r=i.n(n),o=i(5879),a=i.n(o)()(r());a.push([e.id,"@media screen and (min-width: 767px) {\n .meetelise-chat.pane.launcher__desktop {\n right: -32px;\n }\n}\n",""]);const s=a},5879:e=>{e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var i="",n=void 0!==t[5];return t[4]&&(i+="@supports (".concat(t[4],") {")),t[2]&&(i+="@media ".concat(t[2]," {")),n&&(i+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),i+=e(t),n&&(i+="}"),t[2]&&(i+="}"),t[4]&&(i+="}"),i})).join("")},t.i=function(e,i,n,r,o){"string"==typeof e&&(e=[[null,e,void 0]]);var a={};if(n)for(var s=0;s<this.length;s++){var l=this[s][0];null!=l&&(a[l]=!0)}for(var u=0;u<e.length;u++){var d=[].concat(e[u]);n&&a[d[0]]||(void 0!==o&&(void 0===d[5]||(d[1]="@layer".concat(d[5].length>0?" ".concat(d[5]):""," {").concat(d[1],"}")),d[5]=o),i&&(d[2]?(d[1]="@media ".concat(d[2]," {").concat(d[1],"}"),d[2]=i):d[2]=i),r&&(d[4]?(d[1]="@supports (".concat(d[4],") {").concat(d[1],"}"),d[4]=r):d[4]="".concat(r)),t.push(d))}},t}},8081:e=>{e.exports=function(e){return e[1]}},8552:(e,t,i)=>{var n=i(852)(i(5639),"DataView");e.exports=n},1989:(e,t,i)=>{var n=i(1789),r=i(401),o=i(7667),a=i(1327),s=i(1866);function l(e){var t=-1,i=null==e?0:e.length;for(this.clear();++t<i;){var n=e[t];this.set(n[0],n[1])}}l.prototype.clear=n,l.prototype.delete=r,l.prototype.get=o,l.prototype.has=a,l.prototype.set=s,e.exports=l},8407:(e,t,i)=>{var n=i(7040),r=i(4125),o=i(2117),a=i(7529),s=i(4705);function l(e){var t=-1,i=null==e?0:e.length;for(this.clear();++t<i;){var n=e[t];this.set(n[0],n[1])}}l.prototype.clear=n,l.prototype.delete=r,l.prototype.get=o,l.prototype.has=a,l.prototype.set=s,e.exports=l},7071:(e,t,i)=>{var n=i(852)(i(5639),"Map");e.exports=n},3369:(e,t,i)=>{var n=i(4785),r=i(1285),o=i(6e3),a=i(9916),s=i(5265);function l(e){var t=-1,i=null==e?0:e.length;for(this.clear();++t<i;){var n=e[t];this.set(n[0],n[1])}}l.prototype.clear=n,l.prototype.delete=r,l.prototype.get=o,l.prototype.has=a,l.prototype.set=s,e.exports=l},3818:(e,t,i)=>{var n=i(852)(i(5639),"Promise");e.exports=n},8525:(e,t,i)=>{var n=i(852)(i(5639),"Set");e.exports=n},8668:(e,t,i)=>{var n=i(3369),r=i(619),o=i(2385);function a(e){var t=-1,i=null==e?0:e.length;for(this.__data__=new n;++t<i;)this.add(e[t])}a.prototype.add=a.prototype.push=r,a.prototype.has=o,e.exports=a},6384:(e,t,i)=>{var n=i(8407),r=i(7465),o=i(3779),a=i(7599),s=i(4758),l=i(4309);function u(e){var t=this.__data__=new n(e);this.size=t.size}u.prototype.clear=r,u.prototype.delete=o,u.prototype.get=a,u.prototype.has=s,u.prototype.set=l,e.exports=u},2705:(e,t,i)=>{var n=i(5639).Symbol;e.exports=n},1149:(e,t,i)=>{var n=i(5639).Uint8Array;e.exports=n},577:(e,t,i)=>{var n=i(852)(i(5639),"WeakMap");e.exports=n},4174:e=>{e.exports=function(e,t,i,n){for(var r=-1,o=null==e?0:e.length;++r<o;){var a=e[r];t(n,a,i(a),e)}return n}},4963:e=>{e.exports=function(e,t){for(var i=-1,n=null==e?0:e.length,r=0,o=[];++i<n;){var a=e[i];t(a,i,e)&&(o[r++]=a)}return o}},4636:(e,t,i)=>{var n=i(2545),r=i(5694),o=i(1469),a=i(4144),s=i(5776),l=i(6719),u=Object.prototype.hasOwnProperty;e.exports=function(e,t){var i=o(e),d=!i&&r(e),c=!i&&!d&&a(e),p=!i&&!d&&!c&&l(e),f=i||d||c||p,m=f?n(e.length,String):[],h=m.length;for(var v in e)!t&&!u.call(e,v)||f&&("length"==v||c&&("offset"==v||"parent"==v)||p&&("buffer"==v||"byteLength"==v||"byteOffset"==v)||s(v,h))||m.push(v);return m}},9932:e=>{e.exports=function(e,t){for(var i=-1,n=null==e?0:e.length,r=Array(n);++i<n;)r[i]=t(e[i],i,e);return r}},2488:e=>{e.exports=function(e,t){for(var i=-1,n=t.length,r=e.length;++i<n;)e[r+i]=t[i];return e}},2908:e=>{e.exports=function(e,t){for(var i=-1,n=null==e?0:e.length;++i<n;)if(t(e[i],i,e))return!0;return!1}},8470:(e,t,i)=>{var n=i(7813);e.exports=function(e,t){for(var i=e.length;i--;)if(n(e[i][0],t))return i;return-1}},1119:(e,t,i)=>{var n=i(9881);e.exports=function(e,t,i,r){return n(e,(function(e,n,o){t(r,e,i(e),o)})),r}},9465:(e,t,i)=>{var n=i(8777);e.exports=function(e,t,i){"__proto__"==t&&n?n(e,t,{configurable:!0,enumerable:!0,value:i,writable:!0}):e[t]=i}},9881:(e,t,i)=>{var n=i(7816),r=i(9291)(n);e.exports=r},8483:(e,t,i)=>{var n=i(5063)();e.exports=n},7816:(e,t,i)=>{var n=i(8483),r=i(3674);e.exports=function(e,t){return e&&n(e,t,r)}},7786:(e,t,i)=>{var n=i(1811),r=i(327);e.exports=function(e,t){for(var i=0,o=(t=n(t,e)).length;null!=e&&i<o;)e=e[r(t[i++])];return i&&i==o?e:void 0}},8866:(e,t,i)=>{var n=i(2488),r=i(1469);e.exports=function(e,t,i){var o=t(e);return r(e)?o:n(o,i(e))}},4239:(e,t,i)=>{var n=i(2705),r=i(9607),o=i(2333),a=n?n.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":a&&a in Object(e)?r(e):o(e)}},13:e=>{e.exports=function(e,t){return null!=e&&t in Object(e)}},9454:(e,t,i)=>{var n=i(4239),r=i(7005);e.exports=function(e){return r(e)&&"[object Arguments]"==n(e)}},939:(e,t,i)=>{var n=i(2492),r=i(7005);e.exports=function e(t,i,o,a,s){return t===i||(null==t||null==i||!r(t)&&!r(i)?t!=t&&i!=i:n(t,i,o,a,e,s))}},2492:(e,t,i)=>{var n=i(6384),r=i(7114),o=i(8351),a=i(6096),s=i(4160),l=i(1469),u=i(4144),d=i(6719),c="[object Arguments]",p="[object Array]",f="[object Object]",m=Object.prototype.hasOwnProperty;e.exports=function(e,t,i,h,v,g){var y=l(e),w=l(t),S=y?p:s(e),b=w?p:s(t),T=(S=S==c?f:S)==f,x=(b=b==c?f:b)==f,O=S==b;if(O&&u(e)){if(!u(t))return!1;y=!0,T=!1}if(O&&!T)return g||(g=new n),y||d(e)?r(e,t,i,h,v,g):o(e,t,S,i,h,v,g);if(!(1&i)){var I=T&&m.call(e,"__wrapped__"),R=x&&m.call(t,"__wrapped__");if(I||R){var N=I?e.value():e,C=R?t.value():t;return g||(g=new n),v(N,C,i,h,g)}}return!!O&&(g||(g=new n),a(e,t,i,h,v,g))}},2958:(e,t,i)=>{var n=i(6384),r=i(939);e.exports=function(e,t,i,o){var a=i.length,s=a,l=!o;if(null==e)return!s;for(e=Object(e);a--;){var u=i[a];if(l&&u[2]?u[1]!==e[u[0]]:!(u[0]in e))return!1}for(;++a<s;){var d=(u=i[a])[0],c=e[d],p=u[1];if(l&&u[2]){if(void 0===c&&!(d in e))return!1}else{var f=new n;if(o)var m=o(c,p,d,e,t,f);if(!(void 0===m?r(p,c,3,o,f):m))return!1}}return!0}},8458:(e,t,i)=>{var n=i(3560),r=i(5346),o=i(3218),a=i(346),s=/^\[object .+?Constructor\]$/,l=Function.prototype,u=Object.prototype,d=l.toString,c=u.hasOwnProperty,p=RegExp("^"+d.call(c).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!o(e)||r(e))&&(n(e)?p:s).test(a(e))}},8749:(e,t,i)=>{var n=i(4239),r=i(1780),o=i(7005),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1,e.exports=function(e){return o(e)&&r(e.length)&&!!a[n(e)]}},7206:(e,t,i)=>{var n=i(1573),r=i(6432),o=i(6557),a=i(1469),s=i(9601);e.exports=function(e){return"function"==typeof e?e:null==e?o:"object"==typeof e?a(e)?r(e[0],e[1]):n(e):s(e)}},280:(e,t,i)=>{var n=i(5726),r=i(6916),o=Object.prototype.hasOwnProperty;e.exports=function(e){if(!n(e))return r(e);var t=[];for(var i in Object(e))o.call(e,i)&&"constructor"!=i&&t.push(i);return t}},1573:(e,t,i)=>{var n=i(2958),r=i(1499),o=i(2634);e.exports=function(e){var t=r(e);return 1==t.length&&t[0][2]?o(t[0][0],t[0][1]):function(i){return i===e||n(i,e,t)}}},6432:(e,t,i)=>{var n=i(939),r=i(7361),o=i(9095),a=i(5403),s=i(9162),l=i(2634),u=i(327);e.exports=function(e,t){return a(e)&&s(t)?l(u(e),t):function(i){var a=r(i,e);return void 0===a&&a===t?o(i,e):n(t,a,3)}}},371:e=>{e.exports=function(e){return function(t){return null==t?void 0:t[e]}}},9152:(e,t,i)=>{var n=i(7786);e.exports=function(e){return function(t){return n(t,e)}}},2545:e=>{e.exports=function(e,t){for(var i=-1,n=Array(e);++i<e;)n[i]=t(i);return n}},531:(e,t,i)=>{var n=i(2705),r=i(9932),o=i(1469),a=i(3448),s=n?n.prototype:void 0,l=s?s.toString:void 0;e.exports=function e(t){if("string"==typeof t)return t;if(o(t))return r(t,e)+"";if(a(t))return l?l.call(t):"";var i=t+"";return"0"==i&&1/t==-1/0?"-0":i}},7518:e=>{e.exports=function(e){return function(t){return e(t)}}},4757:e=>{e.exports=function(e,t){return e.has(t)}},1811:(e,t,i)=>{var n=i(1469),r=i(5403),o=i(5514),a=i(9833);e.exports=function(e,t){return n(e)?e:r(e,t)?[e]:o(a(e))}},4429:(e,t,i)=>{var n=i(5639)["__core-js_shared__"];e.exports=n},5189:(e,t,i)=>{var n=i(4174),r=i(1119),o=i(7206),a=i(1469);e.exports=function(e,t){return function(i,s){var l=a(i)?n:r,u=t?t():{};return l(i,e,o(s,2),u)}}},9291:(e,t,i)=>{var n=i(8612);e.exports=function(e,t){return function(i,r){if(null==i)return i;if(!n(i))return e(i,r);for(var o=i.length,a=t?o:-1,s=Object(i);(t?a--:++a<o)&&!1!==r(s[a],a,s););return i}}},5063:e=>{e.exports=function(e){return function(t,i,n){for(var r=-1,o=Object(t),a=n(t),s=a.length;s--;){var l=a[e?s:++r];if(!1===i(o[l],l,o))break}return t}}},8777:(e,t,i)=>{var n=i(852),r=function(){try{var e=n(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();e.exports=r},7114:(e,t,i)=>{var n=i(8668),r=i(2908),o=i(4757);e.exports=function(e,t,i,a,s,l){var u=1&i,d=e.length,c=t.length;if(d!=c&&!(u&&c>d))return!1;var p=l.get(e),f=l.get(t);if(p&&f)return p==t&&f==e;var m=-1,h=!0,v=2&i?new n:void 0;for(l.set(e,t),l.set(t,e);++m<d;){var g=e[m],y=t[m];if(a)var w=u?a(y,g,m,t,e,l):a(g,y,m,e,t,l);if(void 0!==w){if(w)continue;h=!1;break}if(v){if(!r(t,(function(e,t){if(!o(v,t)&&(g===e||s(g,e,i,a,l)))return v.push(t)}))){h=!1;break}}else if(g!==y&&!s(g,y,i,a,l)){h=!1;break}}return l.delete(e),l.delete(t),h}},8351:(e,t,i)=>{var n=i(2705),r=i(1149),o=i(7813),a=i(7114),s=i(8776),l=i(1814),u=n?n.prototype:void 0,d=u?u.valueOf:void 0;e.exports=function(e,t,i,n,u,c,p){switch(i){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!c(new r(e),new r(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return o(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var f=s;case"[object Set]":var m=1&n;if(f||(f=l),e.size!=t.size&&!m)return!1;var h=p.get(e);if(h)return h==t;n|=2,p.set(e,t);var v=a(f(e),f(t),n,u,c,p);return p.delete(e),v;case"[object Symbol]":if(d)return d.call(e)==d.call(t)}return!1}},6096:(e,t,i)=>{var n=i(8234),r=Object.prototype.hasOwnProperty;e.exports=function(e,t,i,o,a,s){var l=1&i,u=n(e),d=u.length;if(d!=n(t).length&&!l)return!1;for(var c=d;c--;){var p=u[c];if(!(l?p in t:r.call(t,p)))return!1}var f=s.get(e),m=s.get(t);if(f&&m)return f==t&&m==e;var h=!0;s.set(e,t),s.set(t,e);for(var v=l;++c<d;){var g=e[p=u[c]],y=t[p];if(o)var w=l?o(y,g,p,t,e,s):o(g,y,p,e,t,s);if(!(void 0===w?g===y||a(g,y,i,o,s):w)){h=!1;break}v||(v="constructor"==p)}if(h&&!v){var S=e.constructor,b=t.constructor;S==b||!("constructor"in e)||!("constructor"in t)||"function"==typeof S&&S instanceof S&&"function"==typeof b&&b instanceof b||(h=!1)}return s.delete(e),s.delete(t),h}},1957:(e,t,i)=>{var n="object"==typeof i.g&&i.g&&i.g.Object===Object&&i.g;e.exports=n},8234:(e,t,i)=>{var n=i(8866),r=i(9551),o=i(3674);e.exports=function(e){return n(e,o,r)}},5050:(e,t,i)=>{var n=i(7019);e.exports=function(e,t){var i=e.__data__;return n(t)?i["string"==typeof t?"string":"hash"]:i.map}},1499:(e,t,i)=>{var n=i(9162),r=i(3674);e.exports=function(e){for(var t=r(e),i=t.length;i--;){var o=t[i],a=e[o];t[i]=[o,a,n(a)]}return t}},852:(e,t,i)=>{var n=i(8458),r=i(7801);e.exports=function(e,t){var i=r(e,t);return n(i)?i:void 0}},9607:(e,t,i)=>{var n=i(2705),r=Object.prototype,o=r.hasOwnProperty,a=r.toString,s=n?n.toStringTag:void 0;e.exports=function(e){var t=o.call(e,s),i=e[s];try{e[s]=void 0;var n=!0}catch(e){}var r=a.call(e);return n&&(t?e[s]=i:delete e[s]),r}},9551:(e,t,i)=>{var n=i(4963),r=i(479),o=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols,s=a?function(e){return null==e?[]:(e=Object(e),n(a(e),(function(t){return o.call(e,t)})))}:r;e.exports=s},4160:(e,t,i)=>{var n=i(8552),r=i(7071),o=i(3818),a=i(8525),s=i(577),l=i(4239),u=i(346),d="[object Map]",c="[object Promise]",p="[object Set]",f="[object WeakMap]",m="[object DataView]",h=u(n),v=u(r),g=u(o),y=u(a),w=u(s),S=l;(n&&S(new n(new ArrayBuffer(1)))!=m||r&&S(new r)!=d||o&&S(o.resolve())!=c||a&&S(new a)!=p||s&&S(new s)!=f)&&(S=function(e){var t=l(e),i="[object Object]"==t?e.constructor:void 0,n=i?u(i):"";if(n)switch(n){case h:return m;case v:return d;case g:return c;case y:return p;case w:return f}return t}),e.exports=S},7801:e=>{e.exports=function(e,t){return null==e?void 0:e[t]}},222:(e,t,i)=>{var n=i(1811),r=i(5694),o=i(1469),a=i(5776),s=i(1780),l=i(327);e.exports=function(e,t,i){for(var u=-1,d=(t=n(t,e)).length,c=!1;++u<d;){var p=l(t[u]);if(!(c=null!=e&&i(e,p)))break;e=e[p]}return c||++u!=d?c:!!(d=null==e?0:e.length)&&s(d)&&a(p,d)&&(o(e)||r(e))}},1789:(e,t,i)=>{var n=i(4536);e.exports=function(){this.__data__=n?n(null):{},this.size=0}},401:e=>{e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},7667:(e,t,i)=>{var n=i(4536),r=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(n){var i=t[e];return"__lodash_hash_undefined__"===i?void 0:i}return r.call(t,e)?t[e]:void 0}},1327:(e,t,i)=>{var n=i(4536),r=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return n?void 0!==t[e]:r.call(t,e)}},1866:(e,t,i)=>{var n=i(4536);e.exports=function(e,t){var i=this.__data__;return this.size+=this.has(e)?0:1,i[e]=n&&void 0===t?"__lodash_hash_undefined__":t,this}},5776:e=>{var t=/^(?:0|[1-9]\d*)$/;e.exports=function(e,i){var n=typeof e;return!!(i=null==i?9007199254740991:i)&&("number"==n||"symbol"!=n&&t.test(e))&&e>-1&&e%1==0&&e<i}},5403:(e,t,i)=>{var n=i(1469),r=i(3448),o=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;e.exports=function(e,t){if(n(e))return!1;var i=typeof e;return!("number"!=i&&"symbol"!=i&&"boolean"!=i&&null!=e&&!r(e))||a.test(e)||!o.test(e)||null!=t&&e in Object(t)}},7019:e=>{e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},5346:(e,t,i)=>{var n,r=i(4429),o=(n=/[^.]+$/.exec(r&&r.keys&&r.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"";e.exports=function(e){return!!o&&o in e}},5726:e=>{var t=Object.prototype;e.exports=function(e){var i=e&&e.constructor;return e===("function"==typeof i&&i.prototype||t)}},9162:(e,t,i)=>{var n=i(3218);e.exports=function(e){return e==e&&!n(e)}},7040:e=>{e.exports=function(){this.__data__=[],this.size=0}},4125:(e,t,i)=>{var n=i(8470),r=Array.prototype.splice;e.exports=function(e){var t=this.__data__,i=n(t,e);return!(i<0||(i==t.length-1?t.pop():r.call(t,i,1),--this.size,0))}},2117:(e,t,i)=>{var n=i(8470);e.exports=function(e){var t=this.__data__,i=n(t,e);return i<0?void 0:t[i][1]}},7529:(e,t,i)=>{var n=i(8470);e.exports=function(e){return n(this.__data__,e)>-1}},4705:(e,t,i)=>{var n=i(8470);e.exports=function(e,t){var i=this.__data__,r=n(i,e);return r<0?(++this.size,i.push([e,t])):i[r][1]=t,this}},4785:(e,t,i)=>{var n=i(1989),r=i(8407),o=i(7071);e.exports=function(){this.size=0,this.__data__={hash:new n,map:new(o||r),string:new n}}},1285:(e,t,i)=>{var n=i(5050);e.exports=function(e){var t=n(this,e).delete(e);return this.size-=t?1:0,t}},6e3:(e,t,i)=>{var n=i(5050);e.exports=function(e){return n(this,e).get(e)}},9916:(e,t,i)=>{var n=i(5050);e.exports=function(e){return n(this,e).has(e)}},5265:(e,t,i)=>{var n=i(5050);e.exports=function(e,t){var i=n(this,e),r=i.size;return i.set(e,t),this.size+=i.size==r?0:1,this}},8776:e=>{e.exports=function(e){var t=-1,i=Array(e.size);return e.forEach((function(e,n){i[++t]=[n,e]})),i}},2634:e=>{e.exports=function(e,t){return function(i){return null!=i&&i[e]===t&&(void 0!==t||e in Object(i))}}},4523:(e,t,i)=>{var n=i(8306);e.exports=function(e){var t=n(e,(function(e){return 500===i.size&&i.clear(),e})),i=t.cache;return t}},4536:(e,t,i)=>{var n=i(852)(Object,"create");e.exports=n},6916:(e,t,i)=>{var n=i(5569)(Object.keys,Object);e.exports=n},1167:(e,t,i)=>{e=i.nmd(e);var n=i(1957),r=t&&!t.nodeType&&t,o=r&&e&&!e.nodeType&&e,a=o&&o.exports===r&&n.process,s=function(){try{return o&&o.require&&o.require("util").types||a&&a.binding&&a.binding("util")}catch(e){}}();e.exports=s},2333:e=>{var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},5569:e=>{e.exports=function(e,t){return function(i){return e(t(i))}}},5639:(e,t,i)=>{var n=i(1957),r="object"==typeof self&&self&&self.Object===Object&&self,o=n||r||Function("return this")();e.exports=o},619:e=>{e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},2385:e=>{e.exports=function(e){return this.__data__.has(e)}},1814:e=>{e.exports=function(e){var t=-1,i=Array(e.size);return e.forEach((function(e){i[++t]=e})),i}},7465:(e,t,i)=>{var n=i(8407);e.exports=function(){this.__data__=new n,this.size=0}},3779:e=>{e.exports=function(e){var t=this.__data__,i=t.delete(e);return this.size=t.size,i}},7599:e=>{e.exports=function(e){return this.__data__.get(e)}},4758:e=>{e.exports=function(e){return this.__data__.has(e)}},4309:(e,t,i)=>{var n=i(8407),r=i(7071),o=i(3369);e.exports=function(e,t){var i=this.__data__;if(i instanceof n){var a=i.__data__;if(!r||a.length<199)return a.push([e,t]),this.size=++i.size,this;i=this.__data__=new o(a)}return i.set(e,t),this.size=i.size,this}},5514:(e,t,i)=>{var n=i(4523),r=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,o=/\\(\\)?/g,a=n((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(r,(function(e,i,n,r){t.push(n?r.replace(o,"$1"):i||e)})),t}));e.exports=a},327:(e,t,i)=>{var n=i(3448);e.exports=function(e){if("string"==typeof e||n(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}},346:e=>{var t=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return t.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},7813:e=>{e.exports=function(e,t){return e===t||e!=e&&t!=t}},7361:(e,t,i)=>{var n=i(7786);e.exports=function(e,t,i){var r=null==e?void 0:n(e,t);return void 0===r?i:r}},7739:(e,t,i)=>{var n=i(9465),r=i(5189),o=Object.prototype.hasOwnProperty,a=r((function(e,t,i){o.call(e,i)?e[i].push(t):n(e,i,[t])}));e.exports=a},9095:(e,t,i)=>{var n=i(13),r=i(222);e.exports=function(e,t){return null!=e&&r(e,t,n)}},6557:e=>{e.exports=function(e){return e}},5694:(e,t,i)=>{var n=i(9454),r=i(7005),o=Object.prototype,a=o.hasOwnProperty,s=o.propertyIsEnumerable,l=n(function(){return arguments}())?n:function(e){return r(e)&&a.call(e,"callee")&&!s.call(e,"callee")};e.exports=l},1469:e=>{var t=Array.isArray;e.exports=t},8612:(e,t,i)=>{var n=i(3560),r=i(1780);e.exports=function(e){return null!=e&&r(e.length)&&!n(e)}},4144:(e,t,i)=>{e=i.nmd(e);var n=i(5639),r=i(5062),o=t&&!t.nodeType&&t,a=o&&e&&!e.nodeType&&e,s=a&&a.exports===o?n.Buffer:void 0,l=(s?s.isBuffer:void 0)||r;e.exports=l},3560:(e,t,i)=>{var n=i(4239),r=i(3218);e.exports=function(e){if(!r(e))return!1;var t=n(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},1780:e=>{e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},3218:e=>{e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},7005:e=>{e.exports=function(e){return null!=e&&"object"==typeof e}},3448:(e,t,i)=>{var n=i(4239),r=i(7005);e.exports=function(e){return"symbol"==typeof e||r(e)&&"[object Symbol]"==n(e)}},6719:(e,t,i)=>{var n=i(8749),r=i(7518),o=i(1167),a=o&&o.isTypedArray,s=a?r(a):n;e.exports=s},3674:(e,t,i)=>{var n=i(4636),r=i(280),o=i(8612);e.exports=function(e){return o(e)?n(e):r(e)}},8306:(e,t,i)=>{var n=i(3369);function r(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var i=function(){var n=arguments,r=t?t.apply(this,n):n[0],o=i.cache;if(o.has(r))return o.get(r);var a=e.apply(this,n);return i.cache=o.set(r,a)||o,a};return i.cache=new(r.Cache||n),i}r.Cache=n,e.exports=r},9601:(e,t,i)=>{var n=i(371),r=i(9152),o=i(5403),a=i(327);e.exports=function(e){return o(e)?n(a(e)):r(e)}},479:e=>{e.exports=function(){return[]}},5062:e=>{e.exports=function(){return!1}},9833:(e,t,i)=>{var n=i(531);e.exports=function(e){return null==e?"":n(e)}},7418:e=>{var t=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable;function r(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},i=0;i<10;i++)t["_"+String.fromCharCode(i)]=i;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var n={};return"abcdefghijklmnopqrst".split("").forEach((function(e){n[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},n)).join("")}catch(e){return!1}}()?Object.assign:function(e,o){for(var a,s,l=r(e),u=1;u<arguments.length;u++){for(var d in a=Object(arguments[u]))i.call(a,d)&&(l[d]=a[d]);if(t){s=t(a);for(var c=0;c<s.length;c++)n.call(a,s[c])&&(l[s[c]]=a[s[c]])}}return l}},2408:(e,t,i)=>{var n=i(7418);if("function"==typeof Symbol&&Symbol.for){var r=Symbol.for;r("react.element"),r("react.portal"),r("react.fragment"),r("react.strict_mode"),r("react.profiler"),r("react.provider"),r("react.context"),r("react.forward_ref"),r("react.suspense"),r("react.memo"),r("react.lazy")}"function"==typeof Symbol&&Symbol.iterator;function o(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,i=1;i<arguments.length;i++)t+="&args[]="+encodeURIComponent(arguments[i]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var a={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},s={};function l(e,t,i){this.props=e,this.context=t,this.refs=s,this.updater=i||a}function u(){}function d(e,t,i){this.props=e,this.context=t,this.refs=s,this.updater=i||a}l.prototype.isReactComponent={},l.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error(o(85));this.updater.enqueueSetState(this,e,t,"setState")},l.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},u.prototype=l.prototype;var c=d.prototype=new u;c.constructor=d,n(c,l.prototype),c.isPureReactComponent=!0;Object.prototype.hasOwnProperty},7294:(e,t,i)=>{i(2408)},3379:e=>{var t=[];function i(e){for(var i=-1,n=0;n<t.length;n++)if(t[n].identifier===e){i=n;break}return i}function n(e,n){for(var o={},a=[],s=0;s<e.length;s++){var l=e[s],u=n.base?l[0]+n.base:l[0],d=o[u]||0,c="".concat(u," ").concat(d);o[u]=d+1;var p=i(c),f={css:l[1],media:l[2],sourceMap:l[3],supports:l[4],layer:l[5]};if(-1!==p)t[p].references++,t[p].updater(f);else{var m=r(f,n);n.byIndex=s,t.splice(s,0,{identifier:c,updater:m,references:1})}a.push(c)}return a}function r(e,t){var i=t.domAPI(t);return i.update(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;i.update(e=t)}else i.remove()}}e.exports=function(e,r){var o=n(e=e||[],r=r||{});return function(e){e=e||[];for(var a=0;a<o.length;a++){var s=i(o[a]);t[s].references--}for(var l=n(e,r),u=0;u<o.length;u++){var d=i(o[u]);0===t[d].references&&(t[d].updater(),t.splice(d,1))}o=l}}},569:e=>{var t={};e.exports=function(e,i){var n=function(e){if(void 0===t[e]){var i=document.querySelector(e);if(window.HTMLIFrameElement&&i instanceof window.HTMLIFrameElement)try{i=i.contentDocument.head}catch(e){i=null}t[e]=i}return t[e]}(e);if(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");n.appendChild(i)}},9216:e=>{e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},3565:(e,t,i)=>{e.exports=function(e){var t=i.nc;t&&e.setAttribute("nonce",t)}},7795:e=>{e.exports=function(e){var t=e.insertStyleElement(e);return{update:function(i){!function(e,t,i){var n="";i.supports&&(n+="@supports (".concat(i.supports,") {")),i.media&&(n+="@media ".concat(i.media," {"));var r=void 0!==i.layer;r&&(n+="@layer".concat(i.layer.length>0?" ".concat(i.layer):""," {")),n+=i.css,r&&(n+="}"),i.media&&(n+="}"),i.supports&&(n+="}");var o=i.sourceMap;o&&"undefined"!=typeof btoa&&(n+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(o))))," */")),t.styleTagTransform(n,e,t.options)}(t,e,i)},remove:function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(t)}}}},4589:e=>{e.exports=function(e,t){if(t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}}},t={};function i(n){var r=t[n];if(void 0!==r)return r.exports;var o=t[n]={id:n,loaded:!1,exports:{}};return e[n].call(o.exports,o,o.exports,i),o.loaded=!0,o.exports}i.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return i.d(t,{a:t}),t},i.d=(e,t)=>{for(var n in t)i.o(t,n)&&!i.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},i.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),i.nmd=e=>(e.paths=[],e.children||(e.children=[]),e);var n={};(()=>{i.d(n,{Z:()=>En});const e=window.ShadowRoot&&(void 0===window.ShadyCSS||window.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,t=Symbol(),r=new Map;class o{constructor(e,i){if(this._$cssResult$=!0,i!==t)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e}get styleSheet(){let t=r.get(this.cssText);return e&&void 0===t&&(r.set(this.cssText,t=new CSSStyleSheet),t.replaceSync(this.cssText)),t}toString(){return this.cssText}}const a=(e,...i)=>{const n=1===e.length?e[0]:i.reduce(((t,i,n)=>t+(e=>{if(!0===e._$cssResult$)return e.cssText;if("number"==typeof e)return e;throw Error("Value passed to 'css' function must be a 'css' function result: "+e+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(i)+e[n+1]),e[0]);return new o(n,t)},s=e?e=>e:e=>e instanceof CSSStyleSheet?(e=>{let i="";for(const t of e.cssRules)i+=t.cssText;return(e=>new o("string"==typeof e?e:e+"",t))(i)})(e):e;var l;const u=window.trustedTypes,d=u?u.emptyScript:"",c=window.reactiveElementPolyfillSupport,p={toAttribute(e,t){switch(t){case Boolean:e=e?d:null;break;case Object:case Array:e=null==e?e:JSON.stringify(e)}return e},fromAttribute(e,t){let i=e;switch(t){case Boolean:i=null!==e;break;case Number:i=null===e?null:Number(e);break;case Object:case Array:try{i=JSON.parse(e)}catch(e){i=null}}return i}},f=(e,t)=>t!==e&&(t==t||e==e),m={attribute:!0,type:String,converter:p,reflect:!1,hasChanged:f};class h extends HTMLElement{constructor(){super(),this._$Et=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Ei=null,this.o()}static addInitializer(e){var t;null!==(t=this.l)&&void 0!==t||(this.l=[]),this.l.push(e)}static get observedAttributes(){this.finalize();const e=[];return this.elementProperties.forEach(((t,i)=>{const n=this._$Eh(i,t);void 0!==n&&(this._$Eu.set(n,i),e.push(n))})),e}static createProperty(e,t=m){if(t.state&&(t.attribute=!1),this.finalize(),this.elementProperties.set(e,t),!t.noAccessor&&!this.prototype.hasOwnProperty(e)){const i="symbol"==typeof e?Symbol():"__"+e,n=this.getPropertyDescriptor(e,i,t);void 0!==n&&Object.defineProperty(this.prototype,e,n)}}static getPropertyDescriptor(e,t,i){return{get(){return this[t]},set(n){const r=this[e];this[t]=n,this.requestUpdate(e,r,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)||m}static finalize(){if(this.hasOwnProperty("finalized"))return!1;this.finalized=!0;const e=Object.getPrototypeOf(this);if(e.finalize(),this.elementProperties=new Map(e.elementProperties),this._$Eu=new Map,this.hasOwnProperty("properties")){const e=this.properties,t=[...Object.getOwnPropertyNames(e),...Object.getOwnPropertySymbols(e)];for(const i of t)this.createProperty(i,e[i])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(e){const t=[];if(Array.isArray(e)){const i=new Set(e.flat(1/0).reverse());for(const e of i)t.unshift(s(e))}else void 0!==e&&t.push(s(e));return t}static _$Eh(e,t){const i=t.attribute;return!1===i?void 0:"string"==typeof i?i:"string"==typeof e?e.toLowerCase():void 0}o(){var e;this._$Ep=new Promise((e=>this.enableUpdating=e)),this._$AL=new Map,this._$Em(),this.requestUpdate(),null===(e=this.constructor.l)||void 0===e||e.forEach((e=>e(this)))}addController(e){var t,i;(null!==(t=this._$Eg)&&void 0!==t?t:this._$Eg=[]).push(e),void 0!==this.renderRoot&&this.isConnected&&(null===(i=e.hostConnected)||void 0===i||i.call(e))}removeController(e){var t;null===(t=this._$Eg)||void 0===t||t.splice(this._$Eg.indexOf(e)>>>0,1)}_$Em(){this.constructor.elementProperties.forEach(((e,t)=>{this.hasOwnProperty(t)&&(this._$Et.set(t,this[t]),delete this[t])}))}createRenderRoot(){var t;const i=null!==(t=this.shadowRoot)&&void 0!==t?t:this.attachShadow(this.constructor.shadowRootOptions);return((t,i)=>{e?t.adoptedStyleSheets=i.map((e=>e instanceof CSSStyleSheet?e:e.styleSheet)):i.forEach((e=>{const i=document.createElement("style"),n=window.litNonce;void 0!==n&&i.setAttribute("nonce",n),i.textContent=e.cssText,t.appendChild(i)}))})(i,this.constructor.elementStyles),i}connectedCallback(){var e;void 0===this.renderRoot&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null===(e=this._$Eg)||void 0===e||e.forEach((e=>{var t;return null===(t=e.hostConnected)||void 0===t?void 0:t.call(e)}))}enableUpdating(e){}disconnectedCallback(){var e;null===(e=this._$Eg)||void 0===e||e.forEach((e=>{var t;return null===(t=e.hostDisconnected)||void 0===t?void 0:t.call(e)}))}attributeChangedCallback(e,t,i){this._$AK(e,i)}_$ES(e,t,i=m){var n,r;const o=this.constructor._$Eh(e,i);if(void 0!==o&&!0===i.reflect){const a=(null!==(r=null===(n=i.converter)||void 0===n?void 0:n.toAttribute)&&void 0!==r?r:p.toAttribute)(t,i.type);this._$Ei=e,null==a?this.removeAttribute(o):this.setAttribute(o,a),this._$Ei=null}}_$AK(e,t){var i,n,r;const o=this.constructor,a=o._$Eu.get(e);if(void 0!==a&&this._$Ei!==a){const e=o.getPropertyOptions(a),s=e.converter,l=null!==(r=null!==(n=null===(i=s)||void 0===i?void 0:i.fromAttribute)&&void 0!==n?n:"function"==typeof s?s:null)&&void 0!==r?r:p.fromAttribute;this._$Ei=a,this[a]=l(t,e.type),this._$Ei=null}}requestUpdate(e,t,i){let n=!0;void 0!==e&&(((i=i||this.constructor.getPropertyOptions(e)).hasChanged||f)(this[e],t)?(this._$AL.has(e)||this._$AL.set(e,t),!0===i.reflect&&this._$Ei!==e&&(void 0===this._$EC&&(this._$EC=new Map),this._$EC.set(e,i))):n=!1),!this.isUpdatePending&&n&&(this._$Ep=this._$E_())}async _$E_(){this.isUpdatePending=!0;try{await this._$Ep}catch(e){Promise.reject(e)}const e=this.scheduleUpdate();return null!=e&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var e;if(!this.isUpdatePending)return;this.hasUpdated,this._$Et&&(this._$Et.forEach(((e,t)=>this[t]=e)),this._$Et=void 0);let t=!1;const i=this._$AL;try{t=this.shouldUpdate(i),t?(this.willUpdate(i),null===(e=this._$Eg)||void 0===e||e.forEach((e=>{var t;return null===(t=e.hostUpdate)||void 0===t?void 0:t.call(e)})),this.update(i)):this._$EU()}catch(e){throw t=!1,this._$EU(),e}t&&this._$AE(i)}willUpdate(e){}_$AE(e){var t;null===(t=this._$Eg)||void 0===t||t.forEach((e=>{var t;return null===(t=e.hostUpdated)||void 0===t?void 0:t.call(e)})),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Ep}shouldUpdate(e){return!0}update(e){void 0!==this._$EC&&(this._$EC.forEach(((e,t)=>this._$ES(t,this[t],e))),this._$EC=void 0),this._$EU()}updated(e){}firstUpdated(e){}}var v;h.finalized=!0,h.elementProperties=new Map,h.elementStyles=[],h.shadowRootOptions={mode:"open"},null==c||c({ReactiveElement:h}),(null!==(l=globalThis.reactiveElementVersions)&&void 0!==l?l:globalThis.reactiveElementVersions=[]).push("1.3.1");const g=globalThis.trustedTypes,y=g?g.createPolicy("lit-html",{createHTML:e=>e}):void 0,w=`lit$${(Math.random()+"").slice(9)}$`,S="?"+w,b=`<${S}>`,T=document,x=(e="")=>T.createComment(e),O=e=>null===e||"object"!=typeof e&&"function"!=typeof e,I=Array.isArray,R=e=>{var t;return I(e)||"function"==typeof(null===(t=e)||void 0===t?void 0:t[Symbol.iterator])},N=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,C=/-->/g,A=/>/g,E=/>|[ \n \r](?:([^\s"'>=/]+)([ \n \r]*=[ \n \r]*(?:[^ \n \r"'`<>=]|("|')|))|$)/g,_=/'/g,F=/"/g,M=/^(?:script|style|textarea|title)$/i,P=e=>(t,...i)=>({_$litType$:e,strings:t,values:i}),D=P(1),q=(P(2),Symbol.for("lit-noChange")),J=Symbol.for("lit-nothing"),U=new WeakMap,k=T.createTreeWalker(T,129,null,!1),L=(e,t)=>{const i=e.length-1,n=[];let r,o=2===t?"<svg>":"",a=N;for(let t=0;t<i;t++){const i=e[t];let s,l,u=-1,d=0;for(;d<i.length&&(a.lastIndex=d,l=a.exec(i),null!==l);)d=a.lastIndex,a===N?"!--"===l[1]?a=C:void 0!==l[1]?a=A:void 0!==l[2]?(M.test(l[2])&&(r=RegExp("</"+l[2],"g")),a=E):void 0!==l[3]&&(a=E):a===E?">"===l[0]?(a=null!=r?r:N,u=-1):void 0===l[1]?u=-2:(u=a.lastIndex-l[2].length,s=l[1],a=void 0===l[3]?E:'"'===l[3]?F:_):a===F||a===_?a=E:a===C||a===A?a=N:(a=E,r=void 0);const c=a===E&&e[t+1].startsWith("/>")?" ":"";o+=a===N?i+b:u>=0?(n.push(s),i.slice(0,u)+"$lit$"+i.slice(u)+w+c):i+w+(-2===u?(n.push(void 0),t):c)}const s=o+(e[i]||"<?>")+(2===t?"</svg>":"");if(!Array.isArray(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==y?y.createHTML(s):s,n]};class B{constructor({strings:e,_$litType$:t},i){let n;this.parts=[];let r=0,o=0;const a=e.length-1,s=this.parts,[l,u]=L(e,t);if(this.el=B.createElement(l,i),k.currentNode=this.el.content,2===t){const e=this.el.content,t=e.firstChild;t.remove(),e.append(...t.childNodes)}for(;null!==(n=k.nextNode())&&s.length<a;){if(1===n.nodeType){if(n.hasAttributes()){const e=[];for(const t of n.getAttributeNames())if(t.endsWith("$lit$")||t.startsWith(w)){const i=u[o++];if(e.push(t),void 0!==i){const e=n.getAttribute(i.toLowerCase()+"$lit$").split(w),t=/([.?@])?(.*)/.exec(i);s.push({type:1,index:r,name:t[2],strings:e,ctor:"."===t[1]?$:"?"===t[1]?V:"@"===t[1]?X:G})}else s.push({type:6,index:r})}for(const t of e)n.removeAttribute(t)}if(M.test(n.tagName)){const e=n.textContent.split(w),t=e.length-1;if(t>0){n.textContent=g?g.emptyScript:"";for(let i=0;i<t;i++)n.append(e[i],x()),k.nextNode(),s.push({type:2,index:++r});n.append(e[t],x())}}}else if(8===n.nodeType)if(n.data===S)s.push({type:2,index:r});else{let e=-1;for(;-1!==(e=n.data.indexOf(w,e+1));)s.push({type:7,index:r}),e+=w.length-1}r++}}static createElement(e,t){const i=T.createElement("template");return i.innerHTML=e,i}}function j(e,t,i=e,n){var r,o,a,s;if(t===q)return t;let l=void 0!==n?null===(r=i._$Cl)||void 0===r?void 0:r[n]:i._$Cu;const u=O(t)?void 0:t._$litDirective$;return(null==l?void 0:l.constructor)!==u&&(null===(o=null==l?void 0:l._$AO)||void 0===o||o.call(l,!1),void 0===u?l=void 0:(l=new u(e),l._$AT(e,i,n)),void 0!==n?(null!==(a=(s=i)._$Cl)&&void 0!==a?a:s._$Cl=[])[n]=l:i._$Cu=l),void 0!==l&&(t=j(e,l._$AS(e,t.values),l,n)),t}class H{constructor(e,t){this.v=[],this._$AN=void 0,this._$AD=e,this._$AM=t}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}p(e){var t;const{el:{content:i},parts:n}=this._$AD,r=(null!==(t=null==e?void 0:e.creationScope)&&void 0!==t?t:T).importNode(i,!0);k.currentNode=r;let o=k.nextNode(),a=0,s=0,l=n[0];for(;void 0!==l;){if(a===l.index){let t;2===l.type?t=new W(o,o.nextSibling,this,e):1===l.type?t=new l.ctor(o,l.name,l.strings,this,e):6===l.type&&(t=new Q(o,this,e)),this.v.push(t),l=n[++s]}a!==(null==l?void 0:l.index)&&(o=k.nextNode(),a++)}return r}m(e){let t=0;for(const i of this.v)void 0!==i&&(void 0!==i.strings?(i._$AI(e,i,t),t+=i.strings.length-2):i._$AI(e[t])),t++}}class W{constructor(e,t,i,n){var r;this.type=2,this._$AH=J,this._$AN=void 0,this._$AA=e,this._$AB=t,this._$AM=i,this.options=n,this._$Cg=null===(r=null==n?void 0:n.isConnected)||void 0===r||r}get _$AU(){var e,t;return null!==(t=null===(e=this._$AM)||void 0===e?void 0:e._$AU)&&void 0!==t?t:this._$Cg}get parentNode(){let e=this._$AA.parentNode;const t=this._$AM;return void 0!==t&&11===e.nodeType&&(e=t.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,t=this){e=j(this,e,t),O(e)?e===J||null==e||""===e?(this._$AH!==J&&this._$AR(),this._$AH=J):e!==this._$AH&&e!==q&&this.$(e):void 0!==e._$litType$?this.T(e):void 0!==e.nodeType?this.k(e):R(e)?this.S(e):this.$(e)}M(e,t=this._$AB){return this._$AA.parentNode.insertBefore(e,t)}k(e){this._$AH!==e&&(this._$AR(),this._$AH=this.M(e))}$(e){this._$AH!==J&&O(this._$AH)?this._$AA.nextSibling.data=e:this.k(T.createTextNode(e)),this._$AH=e}T(e){var t;const{values:i,_$litType$:n}=e,r="number"==typeof n?this._$AC(e):(void 0===n.el&&(n.el=B.createElement(n.h,this.options)),n);if((null===(t=this._$AH)||void 0===t?void 0:t._$AD)===r)this._$AH.m(i);else{const e=new H(r,this),t=e.p(this.options);e.m(i),this.k(t),this._$AH=e}}_$AC(e){let t=U.get(e.strings);return void 0===t&&U.set(e.strings,t=new B(e)),t}S(e){I(this._$AH)||(this._$AH=[],this._$AR());const t=this._$AH;let i,n=0;for(const r of e)n===t.length?t.push(i=new W(this.M(x()),this.M(x()),this,this.options)):i=t[n],i._$AI(r),n++;n<t.length&&(this._$AR(i&&i._$AB.nextSibling,n),t.length=n)}_$AR(e=this._$AA.nextSibling,t){var i;for(null===(i=this._$AP)||void 0===i||i.call(this,!1,!0,t);e&&e!==this._$AB;){const t=e.nextSibling;e.remove(),e=t}}setConnected(e){var t;void 0===this._$AM&&(this._$Cg=e,null===(t=this._$AP)||void 0===t||t.call(this,e))}}class G{constructor(e,t,i,n,r){this.type=1,this._$AH=J,this._$AN=void 0,this.element=e,this.name=t,this._$AM=n,this.options=r,i.length>2||""!==i[0]||""!==i[1]?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=J}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(e,t=this,i,n){const r=this.strings;let o=!1;if(void 0===r)e=j(this,e,t,0),o=!O(e)||e!==this._$AH&&e!==q,o&&(this._$AH=e);else{const n=e;let a,s;for(e=r[0],a=0;a<r.length-1;a++)s=j(this,n[i+a],t,a),s===q&&(s=this._$AH[a]),o||(o=!O(s)||s!==this._$AH[a]),s===J?e=J:e!==J&&(e+=(null!=s?s:"")+r[a+1]),this._$AH[a]=s}o&&!n&&this.C(e)}C(e){e===J?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=e?e:"")}}class $ extends G{constructor(){super(...arguments),this.type=3}C(e){this.element[this.name]=e===J?void 0:e}}const z=g?g.emptyScript:"";class V extends G{constructor(){super(...arguments),this.type=4}C(e){e&&e!==J?this.element.setAttribute(this.name,z):this.element.removeAttribute(this.name)}}class X extends G{constructor(e,t,i,n,r){super(e,t,i,n,r),this.type=5}_$AI(e,t=this){var i;if((e=null!==(i=j(this,e,t,0))&&void 0!==i?i:J)===q)return;const n=this._$AH,r=e===J&&n!==J||e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive,o=e!==J&&(n===J||r);r&&this.element.removeEventListener(this.name,this,n),o&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){var t,i;"function"==typeof this._$AH?this._$AH.call(null!==(i=null===(t=this.options)||void 0===t?void 0:t.host)&&void 0!==i?i:this.element,e):this._$AH.handleEvent(e)}}class Q{constructor(e,t,i){this.element=e,this.type=6,this._$AN=void 0,this._$AM=t,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(e){j(this,e)}}const Z={L:"$lit$",P:w,V:S,I:1,N:L,R:H,j:R,D:j,H:W,F:G,O:V,W:X,B:$,Z:Q},Y=window.litHtmlPolyfillSupport;var K,ee;null==Y||Y(B,W),(null!==(v=globalThis.litHtmlVersions)&&void 0!==v?v:globalThis.litHtmlVersions=[]).push("2.2.2");class te extends h{constructor(){super(...arguments),this.renderOptions={host:this},this._$Dt=void 0}createRenderRoot(){var e,t;const i=super.createRenderRoot();return null!==(e=(t=this.renderOptions).renderBefore)&&void 0!==e||(t.renderBefore=i.firstChild),i}update(e){const t=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(e),this._$Dt=((e,t,i)=>{var n,r;const o=null!==(n=null==i?void 0:i.renderBefore)&&void 0!==n?n:t;let a=o._$litPart$;if(void 0===a){const e=null!==(r=null==i?void 0:i.renderBefore)&&void 0!==r?r:null;o._$litPart$=a=new W(t.insertBefore(x(),e),e,void 0,null!=i?i:{})}return a._$AI(e),a})(t,this.renderRoot,this.renderOptions)}connectedCallback(){var e;super.connectedCallback(),null===(e=this._$Dt)||void 0===e||e.setConnected(!0)}disconnectedCallback(){var e;super.disconnectedCallback(),null===(e=this._$Dt)||void 0===e||e.setConnected(!1)}render(){return q}}te.finalized=!0,te._$litElement$=!0,null===(K=globalThis.litElementHydrateSupport)||void 0===K||K.call(globalThis,{LitElement:te});const ie=globalThis.litElementPolyfillSupport;null==ie||ie({LitElement:te}),(null!==(ee=globalThis.litElementVersions)&&void 0!==ee?ee:globalThis.litElementVersions=[]).push("3.2.0");const ne=e=>t=>"function"==typeof t?((e,t)=>(window.customElements.define(e,t),t))(e,t):((e,t)=>{const{kind:i,elements:n}=t;return{kind:i,elements:n,finisher(t){window.customElements.define(e,t)}}})(e,t),re=(e,t)=>"method"===t.kind&&t.descriptor&&!("value"in t.descriptor)?{...t,finisher(i){i.createProperty(t.key,e)}}:{kind:"field",key:Symbol(),placement:"own",descriptor:{},originalKey:t.key,initializer(){"function"==typeof t.initializer&&(this[t.key]=t.initializer.call(this))},finisher(i){i.createProperty(t.key,e)}};function oe(e){return(t,i)=>void 0!==i?((e,t,i)=>{t.constructor.createProperty(i,e)})(e,t,i):re(e,t)}function ae(e){return oe({...e,state:!0})}function se(e,t){return(({finisher:e,descriptor:t})=>(i,n)=>{var r;if(void 0===n){const n=null!==(r=i.originalKey)&&void 0!==r?r:i.key,o=null!=t?{kind:"method",placement:"prototype",key:n,descriptor:t(i.key)}:{...i,key:n};return null!=e&&(o.finisher=function(t){e(t,n)}),o}{const r=i.constructor;void 0!==t&&Object.defineProperty(i,n,t(n)),null==e||e(r,n)}})({descriptor:i=>{const n={get(){var t,i;return null!==(i=null===(t=this.renderRoot)||void 0===t?void 0:t.querySelector(e))&&void 0!==i?i:null},enumerable:!0,configurable:!0};if(t){const t="symbol"==typeof i?Symbol():"__"+i;n.get=function(){var i,n;return void 0===this[t]&&(this[t]=null!==(n=null===(i=this.renderRoot)||void 0===i?void 0:i.querySelector(e))&&void 0!==n?n:null),this[t]}}return n}})}var le;null===(le=window.HTMLSlotElement)||void 0===le||le.prototype.assignedElements;const ue=e=>(...t)=>({_$litDirective$:e,values:t});class de{constructor(e){}get _$AU(){return this._$AM._$AU}_$AT(e,t,i){this._$Ct=e,this._$AM=t,this._$Ci=i}_$AS(e,t){return this.update(e,t)}update(e,t){return this.render(...t)}}const ce=ue(class extends de{constructor(e){var t;if(super(e),1!==e.type||"class"!==e.name||(null===(t=e.strings)||void 0===t?void 0:t.length)>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(e){return" "+Object.keys(e).filter((t=>e[t])).join(" ")+" "}update(e,[t]){var i,n;if(void 0===this.et){this.et=new Set,void 0!==e.strings&&(this.st=new Set(e.strings.join(" ").split(/\s/).filter((e=>""!==e))));for(const e in t)t[e]&&!(null===(i=this.st)||void 0===i?void 0:i.has(e))&&this.et.add(e);return this.render(t)}const r=e.element.classList;this.et.forEach((e=>{e in t||(r.remove(e),this.et.delete(e))}));for(const e in t){const i=!!t[e];i===this.et.has(e)||(null===(n=this.st)||void 0===n?void 0:n.has(e))||(i?(r.add(e),this.et.add(e)):(r.remove(e),this.et.delete(e)))}return q}}),{H:pe}=Z,fe=(e,t)=>{var i,n;const r=e._$AN;if(void 0===r)return!1;for(const e of r)null===(n=(i=e)._$AO)||void 0===n||n.call(i,t,!1),fe(e,t);return!0},me=e=>{let t,i;do{if(void 0===(t=e._$AM))break;i=t._$AN,i.delete(e),e=t}while(0===(null==i?void 0:i.size))},he=e=>{for(let t;t=e._$AM;e=t){let i=t._$AN;if(void 0===i)t._$AN=i=new Set;else if(i.has(e))break;i.add(e),ye(t)}};function ve(e){void 0!==this._$AN?(me(this),this._$AM=e,he(this)):this._$AM=e}function ge(e,t=!1,i=0){const n=this._$AH,r=this._$AN;if(void 0!==r&&0!==r.size)if(t)if(Array.isArray(n))for(let e=i;e<n.length;e++)fe(n[e],!1),me(n[e]);else null!=n&&(fe(n,!1),me(n));else fe(this,e)}const ye=e=>{var t,i,n,r;2==e.type&&(null!==(t=(n=e)._$AP)&&void 0!==t||(n._$AP=ge),null!==(i=(r=e)._$AQ)&&void 0!==i||(r._$AQ=ve))};class we extends de{constructor(){super(...arguments),this._$AN=void 0}_$AT(e,t,i){super._$AT(e,t,i),he(this),this.isConnected=e._$AU}_$AO(e,t=!0){var i,n;e!==this.isConnected&&(this.isConnected=e,e?null===(i=this.reconnected)||void 0===i||i.call(this):null===(n=this.disconnected)||void 0===n||n.call(this)),t&&(fe(this,e),me(this))}setValue(e){if((e=>void 0===this._$Ct.strings)())this._$Ct._$AI(e,this);else{const t=[...this._$Ct._$AH];t[this._$Ci]=e,this._$Ct._$AI(t,this,0)}}disconnected(){}reconnected(){}}const Se=()=>new be;class be{}const Te=new WeakMap,xe=ue(class extends we{render(e){return J}update(e,[t]){var i;const n=t!==this.U;return n&&void 0!==this.U&&this.ot(void 0),(n||this.rt!==this.lt)&&(this.U=t,this.ht=null===(i=e.options)||void 0===i?void 0:i.host,this.ot(this.lt=e.element)),J}ot(e){var t;if("function"==typeof this.U){const i=null!==(t=this.ht)&&void 0!==t?t:globalThis;let n=Te.get(i);void 0===n&&(n=new WeakMap,Te.set(i,n)),void 0!==n.get(this.U)&&this.U.call(this.ht,void 0),n.set(this.U,e),void 0!==e&&this.U.call(this.ht,e)}else this.U.value=e}get rt(){var e,t,i;return"function"==typeof this.U?null===(t=Te.get(null!==(e=this.ht)&&void 0!==e?e:globalThis))||void 0===t?void 0:t.get(this.U):null===(i=this.U)||void 0===i?void 0:i.value}disconnected(){this.rt===this.lt&&this.ot(void 0)}reconnected(){this.ot(this.lt)}});if("undefined"==typeof window)throw new Error("[TalkJS] The TalkJS JavaScript SDK only works in browsers (and not, for example, in Node.js)");!function(e,t,i,n,r,o){(o=t.createElement("script")).async=1,o.src="https://cdn.talkjs.com/talk.js",t.head.appendChild(o),n=e.Promise,e.Talk={v:3,ready:{then:function(e){if(n)return new n((function(t,n){i.push([e,t,n])}));i.push([e])},catch:function(){return n&&new n},c:i}}}(window,document,[]);const Oe=window.Talk,Ie=e=>{const t=e.replace(/\D/g,"").substring(0,10),i=t.substring(0,3),n=t.substring(3,6),r=t.substring(6,10);return t.length>5?`(${i}) ${n}-${r}`:t.length>2?`(${i}) ${n}`:t.length>0?`(${i}`:""},Re=e=>{const t=e.keyCode;return t>=48&&t<=57||t>=96&&t<=105},Ne=e=>e.altKey||e.ctrlKey||e.metaKey,Ce=e=>{const t=e.keyCode;return e.shiftKey||35===t||36===t||8===t||9===t||13===t||46===t||t>36&&t<41||(e.ctrlKey||e.metaKey)&&(65===t||67===t||76===t||86===t||88===t||90===t)};var Ae=function(e,t,i,n){var r,o=arguments.length,a=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,i,n);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(a=(o<3?r(a):o>3?r(t,i,a):r(t,i))||a);return o>3&&a&&Object.defineProperty(t,i,a),a};let Ee=class extends te{constructor(){super(...arguments),this.tourtype="",this.heading="",this.subtitle="",this.selected=!1}render(){return D`
3
3
  <div class="tour-type-option" tabindex="0">
4
4
  <div class="content">
5
5
  <slot name="icon"></slot>
@@ -942,7 +942,7 @@ var e={8005:function(e,t,i){var n,r=this&&this.__extends||(n=function(e,t){retur
942
942
  margin-top: 37px;
943
943
  }
944
944
  }
945
- `,gi([oe({attribute:!1})],yi.prototype,"layoutOptions",void 0),gi([oe({attribute:!1})],yi.prototype,"tourTypeOptions",void 0),gi([oe({type:Number})],yi.prototype,"buildingId",void 0),gi([oe({attribute:!1})],yi.prototype,"onCloseClicked",void 0),gi([ae()],yi.prototype,"tourType",void 0),gi([ae()],yi.prototype,"email",void 0),gi([ae()],yi.prototype,"phoneNumber",void 0),gi([ae()],yi.prototype,"availabilitiesGroupedByDay",void 0),gi([ae()],yi.prototype,"selectedDate",void 0),gi([ae()],yi.prototype,"selectedTime",void 0),gi([ae()],yi.prototype,"mobilePageIndex",void 0),gi([ae()],yi.prototype,"tourIsBooked",void 0),gi([se("input#name")],yi.prototype,"nameInput",void 0),gi([se("input#email")],yi.prototype,"emailInput",void 0),gi([se("input#phone")],yi.prototype,"phoneInput",void 0),gi([se("me-select#unitType")],yi.prototype,"unitTypeSelect",void 0),yi=gi([ne("tour-scheduler")],yi),function(e){e[e.Guided=0]="Guided",e[e.Self=1]="Self",e[e.Virtual=2]="Virtual"}(wi||(wi={}));const Si={[wi.Guided]:hi.TourAvailabilityResponseRankOrderedSupportedTourTypesEnum.WithAgent,[wi.Self]:hi.TourAvailabilityResponseRankOrderedSupportedTourTypesEnum.SelfGuided,[wi.Virtual]:hi.TourAvailabilityResponseRankOrderedSupportedTourTypesEnum.VirtualShowing},bi={[wi.Guided]:"escorted-tour",[wi.Self]:"self-guided-tour",[wi.Virtual]:"live-virtual-tour"};var Ti,xi=new Uint8Array(16);function Oi(){if(!Ti&&!(Ti="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto)))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return Ti(xi)}const Ii=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i,Ri=function(e){return"string"==typeof e&&Ii.test(e)};for(var Ni=[],Ci=0;Ci<256;++Ci)Ni.push((Ci+256).toString(16).substr(1));const Ai=function(e,t,i){var n=(e=e||{}).random||(e.rng||Oi)();if(n[6]=15&n[6]|64,n[8]=63&n[8]|128,t){i=i||0;for(var r=0;r<16;++r)t[i+r]=n[r];return t}return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,i=(Ni[e[t+0]]+Ni[e[t+1]]+Ni[e[t+2]]+Ni[e[t+3]]+"-"+Ni[e[t+4]]+Ni[e[t+5]]+"-"+Ni[e[t+6]]+Ni[e[t+7]]+"-"+Ni[e[t+8]]+Ni[e[t+9]]+"-"+Ni[e[t+10]]+Ni[e[t+11]]+Ni[e[t+12]]+Ni[e[t+13]]+Ni[e[t+14]]+Ni[e[t+15]]).toLowerCase();if(!Ri(i))throw TypeError("Stringified UUID is invalid");return i}(n)};function Ei(e,t){const i=Fi(e,t),n=Ai();return localStorage.setItem(i,n),_i(e,t),n}function _i(e,t){const i=Mi(e,t),n=(new Date).toISOString();return localStorage.setItem(i,n),n}function Fi(e,t){return`com.meetelise.chatID-${e}-${t}`}function Mi(e,t){return`com.meetelise.chatIDIssueTime-${e}-${t}`}const Pi="#FFFFFF",Di="#202020",qi={user:{textColor:Pi,backgroundColor:"#1990FF"},agent:{textColor:Pi,backgroundColor:"#1E1E1E"}},Ji={user:{textColor:Pi,backgroundColor:"#83818E"},agent:{textColor:Pi,backgroundColor:Di}},Ui={Light:{chatHeader:{backgroundColor:Pi,textColor:Di},chatPaneBackgroundColor:"rgba(255, 255, 255, 0.9)",message:qi},Dark:{chatHeader:{backgroundColor:Di,textColor:Pi},chatPaneBackgroundColor:"rgba(32, 32, 32, 0.9)",message:qi},Purple:{chatHeader:{backgroundColor:"#550098",textColor:Pi},chatPaneBackgroundColor:"rgba(85, 0, 152, 0.6)",message:qi},Blue:{chatHeader:{backgroundColor:"#0814E5",textColor:Pi},chatPaneBackgroundColor:"rgba(4, 17, 245, 0.6)",message:qi},Teal:{chatHeader:{backgroundColor:"#6EE7ED",textColor:Di},chatPaneBackgroundColor:"rgba(115, 247, 253, 0.8)",message:Ji},Green:{chatHeader:{backgroundColor:"#147B0E",textColor:Pi},chatPaneBackgroundColor:"rgba(13, 141, 5, 0.6)",message:qi},Yellow:{chatHeader:{backgroundColor:"#F1E54F",textColor:Di},chatPaneBackgroundColor:"rgba(251, 239, 80, 0.9)",message:Ji},Orange:{chatHeader:{backgroundColor:"#C06C31",textColor:Pi},chatPaneBackgroundColor:"rgba(238, 126, 49, 0.7)",message:qi},Pink:{chatHeader:{backgroundColor:"#A24599",textColor:Pi},chatPaneBackgroundColor:"rgba(167, 70, 157, 0.8)",message:qi}},ki=e=>Ui[e&&Object.keys(Ui).includes(e)?e:"Light"];function Li(e,t,i,n,r,o){var a;const s=new Oe.User({id:`building_${t.id}`,name:t.userFirstName,email:null,role:"Default",welcomeMessage:t.welcomeMessage}),l=e.getOrCreateConversation(r);return l.setParticipant(e.me),l.setParticipant(s),l.subject=null!==(a=t.chatTitle)&&void 0!==a?a:t.userFirstName,l.custom={buildingId:t.id.toString(),userId:t.userId.toString(),orgId:t.orgId.toString(),subtitle:t.chatSubtitle,url:location.href,buildingName:t.name,isMobile:o.toString(),chatHeaderBackgroundColor:i.chatHeader.backgroundColor,chatHeaderTextColor:i.chatHeader.textColor,chatPaneBackgroundColor:i.chatPaneBackgroundColor,userMessageTextColor:i.message.user.textColor,userMessageBackgroundColor:i.message.user.backgroundColor,agentMessageTextColor:i.message.agent.textColor,agentMessageBackgroundColor:i.message.agent.backgroundColor,isLightTheme:(i.message===Ji).toString(),avatarUrl:"image"===t.avatarType&&t.avatarSrc?n:"https://s3.us-west-2.amazonaws.com/meetelise.com/looping-gradient.gif"},l}var Bi=i(4184),ji=i.n(Bi);const Hi=a`
945
+ `,gi([oe({attribute:!1})],yi.prototype,"layoutOptions",void 0),gi([oe({attribute:!1})],yi.prototype,"tourTypeOptions",void 0),gi([oe({type:Number})],yi.prototype,"buildingId",void 0),gi([oe({attribute:!1})],yi.prototype,"onCloseClicked",void 0),gi([ae()],yi.prototype,"tourType",void 0),gi([ae()],yi.prototype,"email",void 0),gi([ae()],yi.prototype,"phoneNumber",void 0),gi([ae()],yi.prototype,"availabilitiesGroupedByDay",void 0),gi([ae()],yi.prototype,"selectedDate",void 0),gi([ae()],yi.prototype,"selectedTime",void 0),gi([ae()],yi.prototype,"mobilePageIndex",void 0),gi([ae()],yi.prototype,"tourIsBooked",void 0),gi([se("input#name")],yi.prototype,"nameInput",void 0),gi([se("input#email")],yi.prototype,"emailInput",void 0),gi([se("input#phone")],yi.prototype,"phoneInput",void 0),gi([se("me-select#unitType")],yi.prototype,"unitTypeSelect",void 0),yi=gi([ne("tour-scheduler")],yi),function(e){e[e.Guided=0]="Guided",e[e.Self=1]="Self",e[e.Virtual=2]="Virtual"}(wi||(wi={}));const Si={[wi.Guided]:hi.TourAvailabilityResponseRankOrderedSupportedTourTypesEnum.WithAgent,[wi.Self]:hi.TourAvailabilityResponseRankOrderedSupportedTourTypesEnum.SelfGuided,[wi.Virtual]:hi.TourAvailabilityResponseRankOrderedSupportedTourTypesEnum.VirtualShowing},bi={[wi.Guided]:"escorted-tour",[wi.Self]:"self-guided-tour",[wi.Virtual]:"live-virtual-tour"};class Ti{constructor(e,t,i){this.org=e,this.building=t,this.chatId=i,this.featureFlags={}}setFeatureFlags(e){this.featureFlags={...this.featureFlags,...e}}campaignSources(){var e,t,i;const n=new URL(window.location.href).searchParams,r=null!==(i=null===(t=null===(e=window.RCTPCampaign)||void 0===e?void 0:e.CampaignDetails)||void 0===t?void 0:t.Source)&&void 0!==i?i:null;return{entrataCampaignSource:n.get("switch_cls[id]"),realpageCampaignSource:n.get("ilm"),utmCampaignSource:n.get("utm_source"),yardiCampaignSource:r}}ping(e){fetch("https://app.meetelise.com/platformApi/connectors/talk_js/analytics",{method:"POST",credentials:"omit",keepalive:!0,headers:{"content-type":"application/json; charset=UTF-8"},body:JSON.stringify({eventType:e,chatId:this.chatId,url:location.href,org:this.org,building:this.building,referrer:document.referrer,featureFlags:this.featureFlags,campaignSources:this.campaignSources()})})}}var xi,Oi=new Uint8Array(16);function Ii(){if(!xi&&!(xi="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto)))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return xi(Oi)}const Ri=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i,Ni=function(e){return"string"==typeof e&&Ri.test(e)};for(var Ci=[],Ai=0;Ai<256;++Ai)Ci.push((Ai+256).toString(16).substr(1));const Ei=function(e,t,i){var n=(e=e||{}).random||(e.rng||Ii)();if(n[6]=15&n[6]|64,n[8]=63&n[8]|128,t){i=i||0;for(var r=0;r<16;++r)t[i+r]=n[r];return t}return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,i=(Ci[e[t+0]]+Ci[e[t+1]]+Ci[e[t+2]]+Ci[e[t+3]]+"-"+Ci[e[t+4]]+Ci[e[t+5]]+"-"+Ci[e[t+6]]+Ci[e[t+7]]+"-"+Ci[e[t+8]]+Ci[e[t+9]]+"-"+Ci[e[t+10]]+Ci[e[t+11]]+Ci[e[t+12]]+Ci[e[t+13]]+Ci[e[t+14]]+Ci[e[t+15]]).toLowerCase();if(!Ni(i))throw TypeError("Stringified UUID is invalid");return i}(n)};function _i(e,t){const i=Mi(e,t),n=Ei();return localStorage.setItem(i,n),Fi(e,t),n}function Fi(e,t){const i=Pi(e,t),n=(new Date).toISOString();return localStorage.setItem(i,n),n}function Mi(e,t){return`com.meetelise.chatID-${e}-${t}`}function Pi(e,t){return`com.meetelise.chatIDIssueTime-${e}-${t}`}const Di="#FFFFFF",qi="#202020",Ji={user:{textColor:Di,backgroundColor:"#1990FF"},agent:{textColor:Di,backgroundColor:"#1E1E1E"}},Ui={user:{textColor:Di,backgroundColor:"#83818E"},agent:{textColor:Di,backgroundColor:qi}},ki={Light:{chatHeader:{backgroundColor:Di,textColor:qi},chatPaneBackgroundColor:"rgba(255, 255, 255, 0.9)",message:Ji},Dark:{chatHeader:{backgroundColor:qi,textColor:Di},chatPaneBackgroundColor:"rgba(32, 32, 32, 0.9)",message:Ji},Purple:{chatHeader:{backgroundColor:"#550098",textColor:Di},chatPaneBackgroundColor:"rgba(85, 0, 152, 0.6)",message:Ji},Blue:{chatHeader:{backgroundColor:"#0814E5",textColor:Di},chatPaneBackgroundColor:"rgba(4, 17, 245, 0.6)",message:Ji},Teal:{chatHeader:{backgroundColor:"#6EE7ED",textColor:qi},chatPaneBackgroundColor:"rgba(115, 247, 253, 0.8)",message:Ui},Green:{chatHeader:{backgroundColor:"#147B0E",textColor:Di},chatPaneBackgroundColor:"rgba(13, 141, 5, 0.6)",message:Ji},Yellow:{chatHeader:{backgroundColor:"#F1E54F",textColor:qi},chatPaneBackgroundColor:"rgba(251, 239, 80, 0.9)",message:Ui},Orange:{chatHeader:{backgroundColor:"#C06C31",textColor:Di},chatPaneBackgroundColor:"rgba(238, 126, 49, 0.7)",message:Ji},Pink:{chatHeader:{backgroundColor:"#A24599",textColor:Di},chatPaneBackgroundColor:"rgba(167, 70, 157, 0.8)",message:Ji}},Li=e=>ki[e&&Object.keys(ki).includes(e)?e:"Light"];function Bi(e,t,i,n,r,o){var a;const s=new Oe.User({id:`building_${t.id}`,name:t.userFirstName,email:null,role:"Default",welcomeMessage:t.welcomeMessage}),l=e.getOrCreateConversation(r);return l.setParticipant(e.me),l.setParticipant(s),l.subject=null!==(a=t.chatTitle)&&void 0!==a?a:t.userFirstName,l.custom={buildingId:t.id.toString(),userId:t.userId.toString(),orgId:t.orgId.toString(),subtitle:t.chatSubtitle,url:location.href,buildingName:t.name,isMobile:o.toString(),chatHeaderBackgroundColor:i.chatHeader.backgroundColor,chatHeaderTextColor:i.chatHeader.textColor,chatPaneBackgroundColor:i.chatPaneBackgroundColor,userMessageTextColor:i.message.user.textColor,userMessageBackgroundColor:i.message.user.backgroundColor,agentMessageTextColor:i.message.agent.textColor,agentMessageBackgroundColor:i.message.agent.backgroundColor,isLightTheme:(i.message===Ui).toString(),avatarUrl:"image"===t.avatarType&&t.avatarSrc?n:"https://s3.us-west-2.amazonaws.com/meetelise.com/looping-gradient.gif"},l}var ji=i(4184),Hi=i.n(ji);const Wi=a`
946
946
  :host {
947
947
  --glowBarHeight: 11.2px;
948
948
  --enterAnimationDuration: 0.5s;
@@ -1244,14 +1244,14 @@ var e={8005:function(e,t,i){var n,r=this&&this.__extends||(n=function(e,t){retur
1244
1244
  bottom: 0;
1245
1245
  }
1246
1246
  }
1247
- `;var Wi=function(e,t,i,n){var r,o=arguments.length,a=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,i,n);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(a=(o<3?r(a):o>3?r(t,i,a):r(t,i))||a);return o>3&&a&&Object.defineProperty(t,i,a),a};let Gi=class extends te{constructor(){super(...arguments),this.text="Submit",this.isLoading=!1,this.render=()=>D`<button class="action-confirm-button" @click=${this.onClick}>
1247
+ `;var Gi=function(e,t,i,n){var r,o=arguments.length,a=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,i,n);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(a=(o<3?r(a):o>3?r(t,i,a):r(t,i))||a);return o>3&&a&&Object.defineProperty(t,i,a),a};let $i=class extends te{constructor(){super(...arguments),this.text="Submit",this.isLoading=!1,this.render=()=>D`<button class="action-confirm-button" @click=${this.onClick}>
1248
1248
  ${this.isLoading?D`<div class="lds-ring">
1249
1249
  <div></div>
1250
1250
  <div></div>
1251
1251
  <div></div>
1252
1252
  <div></div>
1253
1253
  </div>`:this.text}
1254
- </button>`}};Gi.styles=[a`
1254
+ </button>`}};$i.styles=[a`
1255
1255
  .action-confirm-button {
1256
1256
  background: #1e1e1e;
1257
1257
  border: 2px solid #ffffff;
@@ -1310,10 +1310,10 @@ var e={8005:function(e,t,i){var n,r=this&&this.__extends||(n=function(e,t){retur
1310
1310
  transform: rotate(360deg);
1311
1311
  }
1312
1312
  }
1313
- `],Wi([oe()],Gi.prototype,"onClick",void 0),Wi([oe()],Gi.prototype,"text",void 0),Wi([oe({attribute:!1})],Gi.prototype,"isLoading",void 0),Gi=Wi([ne("action-confirm-button")],Gi);const $i=()=>{window.customElements.get("action-confirm-button")||window.customElements.define("action-confirm-button",Gi)},zi=ue(class extends de{constructor(e){var t;if(super(e),1!==e.type||"style"!==e.name||(null===(t=e.strings)||void 0===t?void 0:t.length)>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(e){return Object.keys(e).reduce(((t,i)=>{const n=e[i];return null==n?t:t+`${i=i.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${n};`}),"")}update(e,[t]){const{style:i}=e.element;if(void 0===this.ct){this.ct=new Set;for(const e in t)this.ct.add(e);return this.render(t)}this.ct.forEach((e=>{null==t[e]&&(this.ct.delete(e),e.includes("-")?i.removeProperty(e):i[e]="")}));for(const e in t){const n=t[e];null!=n&&(this.ct.add(e),e.includes("-")?i.setProperty(e,n):i[e]=n)}return q}});var Vi=function(e,t,i,n){var r,o=arguments.length,a=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,i,n);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(a=(o<3?r(a):o>3?r(t,i,a):r(t,i))||a);return o>3&&a&&Object.defineProperty(t,i,a),a};let Xi=class extends te{constructor(){super(...arguments),this.height="425px",this.width="326px",this.useRoundedBorders=!0,this.headerText="",this.isMobileSized=!1}async firstUpdated(){await new Promise((e=>setTimeout(e,0))),this.isMobileSized=vi(),window.addEventListener("resize",(()=>{this.isMobileSized=vi()}))}render(){return D`
1313
+ `],Gi([oe()],$i.prototype,"onClick",void 0),Gi([oe()],$i.prototype,"text",void 0),Gi([oe({attribute:!1})],$i.prototype,"isLoading",void 0),$i=Gi([ne("action-confirm-button")],$i);const zi=()=>{window.customElements.get("action-confirm-button")||window.customElements.define("action-confirm-button",$i)},Vi=ue(class extends de{constructor(e){var t;if(super(e),1!==e.type||"style"!==e.name||(null===(t=e.strings)||void 0===t?void 0:t.length)>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(e){return Object.keys(e).reduce(((t,i)=>{const n=e[i];return null==n?t:t+`${i=i.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${n};`}),"")}update(e,[t]){const{style:i}=e.element;if(void 0===this.ct){this.ct=new Set;for(const e in t)this.ct.add(e);return this.render(t)}this.ct.forEach((e=>{null==t[e]&&(this.ct.delete(e),e.includes("-")?i.removeProperty(e):i[e]="")}));for(const e in t){const n=t[e];null!=n&&(this.ct.add(e),e.includes("-")?i.setProperty(e,n):i[e]=n)}return q}});var Xi=function(e,t,i,n){var r,o=arguments.length,a=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,i,n);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(a=(o<3?r(a):o>3?r(t,i,a):r(t,i))||a);return o>3&&a&&Object.defineProperty(t,i,a),a};let Qi=class extends te{constructor(){super(...arguments),this.height="425px",this.width="326px",this.useRoundedBorders=!0,this.headerText="",this.isMobileSized=!1}async firstUpdated(){await new Promise((e=>setTimeout(e,0))),this.isMobileSized=vi(),window.addEventListener("resize",(()=>{this.isMobileSized=vi()}))}render(){return D`
1314
1314
  <div
1315
1315
  class="details-window-wrapper"
1316
- style=${zi({height:this.height,width:this.isMobileSized?"-webkit-fill-available":this.width})}
1316
+ style=${Vi({height:this.height,width:this.isMobileSized?"-webkit-fill-available":this.width})}
1317
1317
  >
1318
1318
  <div class="details-window-header">
1319
1319
  <div>${this.headerText}</div>
@@ -1343,7 +1343,7 @@ var e={8005:function(e,t,i){var n,r=this&&this.__extends||(n=function(e,t){retur
1343
1343
  </div>
1344
1344
  <slot class="details-window__slot-content"></slot>
1345
1345
  </div>
1346
- `}};Xi.styles=a`
1346
+ `}};Qi.styles=a`
1347
1347
  .details-window-wrapper {
1348
1348
  background: rgba(255, 255, 255, 0.75);
1349
1349
  box-shadow: 0px 0px 14px 5px rgba(0, 0, 0, 0.25);
@@ -1368,14 +1368,13 @@ var e={8005:function(e,t,i){var n,r=this&&this.__extends||(n=function(e,t){retur
1368
1368
  border-radius: 0px 0px 0px 0px;
1369
1369
  }
1370
1370
  }
1371
- `,Vi([oe({type:String})],Xi.prototype,"height",void 0),Vi([oe({type:String})],Xi.prototype,"width",void 0),Vi([oe({type:Boolean})],Xi.prototype,"useRoundedBorders",void 0),Vi([oe({type:String})],Xi.prototype,"headerText",void 0),Vi([oe({attribute:!1})],Xi.prototype,"onCloseClick",void 0),Vi([ae()],Xi.prototype,"isMobileSized",void 0),Xi=Vi([ne("details-window")],Xi);const Qi=()=>{window.customElements.get("details-window")||window.customElements.define("details-window",Xi)},Zi=a`
1371
+ `,Xi([oe({type:String})],Qi.prototype,"height",void 0),Xi([oe({type:String})],Qi.prototype,"width",void 0),Xi([oe({type:Boolean})],Qi.prototype,"useRoundedBorders",void 0),Xi([oe({type:String})],Qi.prototype,"headerText",void 0),Xi([oe({attribute:!1})],Qi.prototype,"onCloseClick",void 0),Xi([ae()],Qi.prototype,"isMobileSized",void 0),Qi=Xi([ne("details-window")],Qi);const Zi=()=>{window.customElements.get("details-window")||window.customElements.define("details-window",Qi)},Yi=a`
1372
1372
  .webchat-input {
1373
1373
  border: 1px solid #83818e;
1374
1374
  outline: none;
1375
- font-size: 14px;
1376
1375
  color: #202020;
1377
1376
  font-weight: 400;
1378
- font-size: 14px;
1377
+ font-size: 16px;
1379
1378
  line-height: 22px;
1380
1379
  font-family: "Poppins";
1381
1380
  padding-left: 12px;
@@ -1393,9 +1392,9 @@ var e={8005:function(e,t,i){var n,r=this&&this.__extends||(n=function(e,t){retur
1393
1392
  .webchat-input::placeholder {
1394
1393
  color: #202020;
1395
1394
  font-family: "Poppins";
1396
- font-size: 14px;
1395
+ font-size: 16px;
1397
1396
  }
1398
- `;var Yi=function(e,t,i,n){var r,o=arguments.length,a=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,i,n);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(a=(o<3?r(a):o>3?r(t,i,a):r(t,i))||a);return o>3&&a&&Object.defineProperty(t,i,a),a};let Ki=class extends te{constructor(){super(...arguments),this.buildingId=0,this.phoneNumberInputRef=Se(),this.privatePolicyUrl="https://www.meetelise.com/privacy",this.termsOfServiceUrl="_blank",this.firstName="",this.lastName="",this.email="",this.phoneNumber="",this.message="",this.hasNameError=!1,this.hasEmailError=!1,this.hasPhoneNumberError=!1,this.hasMessageError=!1,this.hasSubmittedForm=!1,this.windowHeight=525,this.hasSubmissionError=!1,this.isSubmitting=!1,this.onChangeFirstName=e=>{e.target&&(this.firstName=e.target.value)},this.onChangeLastName=e=>{e.target&&(this.lastName=e.target.value)},this.onChangeEmail=e=>{e.target&&(this.email=e.target.value)},this.onChangePhoneNumber=e=>{if(!e.target||!this.phoneNumberInputRef.value)return;if(Ce(e))return;const t=e.target;this.phoneNumber=Ie(t.value),this.phoneNumberInputRef.value.value=this.phoneNumber},this.onChangeMessage=e=>{e.target&&(this.message=e.target.value)},this.enforceFormat=e=>{Re(e)||Ce(e)||e.preventDefault()},this.validateFormFields=()=>{this.hasNameError=!1,this.hasEmailError=!1,this.hasPhoneNumberError=!1,this.hasMessageError=!1,this.hasSubmissionError=!1,this.firstName&&this.lastName||(this.hasNameError=!0),this.email&&this.email.includes("@")||(this.hasEmailError=!0),this.phoneNumber&&14===this.phoneNumber.length||(this.hasPhoneNumberError=!0),this.message||(this.hasMessageError=!0),this.windowHeight=525+30*this.getNumErrors()},this.onClick=async()=>{if(!(this.isSubmitting||(this.validateFormFields(),this.hasNameError||this.hasEmailError||this.hasPhoneNumberError||this.hasMessageError)))try{this.isSubmitting=!0,this.windowHeight=585,await en(this.firstName,this.lastName,this.email,this.phoneNumber,this.message,this.buildingId),this.hasSubmittedForm=!0,this.isSubmitting=!1,this.windowHeight=525}catch(e){this.hasSubmissionError=!0,this.isSubmitting=!1,this.windowHeight=525}},this.getNumErrors=()=>[this.hasNameError,this.hasEmailError,this.hasPhoneNumberError,this.hasMessageError,this.hasSubmissionError].filter((e=>e)).length,this.render=()=>(Qi(),$i(),this.hasSubmittedForm?D`
1397
+ `;var Ki=function(e,t,i,n){var r,o=arguments.length,a=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,i,n);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(a=(o<3?r(a):o>3?r(t,i,a):r(t,i))||a);return o>3&&a&&Object.defineProperty(t,i,a),a};let en=class extends te{constructor(){super(...arguments),this.buildingId=0,this.phoneNumberInputRef=Se(),this.privatePolicyUrl="https://www.meetelise.com/privacy",this.termsOfServiceUrl="_blank",this.firstName="",this.lastName="",this.email="",this.phoneNumber="",this.message="",this.hasNameError=!1,this.hasEmailError=!1,this.hasPhoneNumberError=!1,this.hasMessageError=!1,this.hasSubmittedForm=!1,this.windowHeight=525,this.hasSubmissionError=!1,this.isSubmitting=!1,this.onChangeFirstName=e=>{e.target&&(this.firstName=e.target.value)},this.onChangeLastName=e=>{e.target&&(this.lastName=e.target.value)},this.onChangeEmail=e=>{e.target&&(this.email=e.target.value)},this.onChangePhoneNumber=e=>{if(!e.target||!this.phoneNumberInputRef.value)return;if(Ce(e))return;const t=e.target;this.phoneNumber=Ie(t.value),this.phoneNumberInputRef.value.value=this.phoneNumber},this.onChangeMessage=e=>{e.target&&(this.message=e.target.value)},this.enforceFormat=e=>{Re(e)||Ce(e)||e.preventDefault()},this.validateFormFields=()=>{this.hasNameError=!1,this.hasEmailError=!1,this.hasPhoneNumberError=!1,this.hasMessageError=!1,this.hasSubmissionError=!1,this.firstName&&this.lastName||(this.hasNameError=!0),this.email&&this.email.includes("@")||(this.hasEmailError=!0),this.phoneNumber&&14===this.phoneNumber.length||(this.hasPhoneNumberError=!0),this.message||(this.hasMessageError=!0),this.windowHeight=525+30*this.getNumErrors()},this.onClick=async()=>{if(!(this.isSubmitting||(this.validateFormFields(),this.hasNameError||this.hasEmailError||this.hasPhoneNumberError||this.hasMessageError)))try{this.isSubmitting=!0,this.windowHeight=585,await tn(this.firstName,this.lastName,this.email,this.phoneNumber,this.message,this.buildingId),this.hasSubmittedForm=!0,this.isSubmitting=!1,this.windowHeight=525}catch(e){this.hasSubmissionError=!0,this.isSubmitting=!1,this.windowHeight=525}},this.getNumErrors=()=>[this.hasNameError,this.hasEmailError,this.hasPhoneNumberError,this.hasMessageError,this.hasSubmissionError].filter((e=>e)).length,this.render=()=>(Zi(),zi(),this.hasSubmittedForm?D`
1399
1398
  <details-window
1400
1399
  headerText="Email us"
1401
1400
  .onCloseClick=${this.onCloseClicked}
@@ -1505,7 +1504,7 @@ var e={8005:function(e,t,i){var n,r=this&&this.__extends||(n=function(e,t){retur
1505
1504
  </div>
1506
1505
  </div>
1507
1506
  </details-window>
1508
- `)}};Ki.styles=[a`
1507
+ `)}};en.styles=[a`
1509
1508
  .email-us__name-input {
1510
1509
  width: 134px;
1511
1510
  height: 49px;
@@ -1569,7 +1568,7 @@ var e={8005:function(e,t,i){var n,r=this&&this.__extends||(n=function(e,t){retur
1569
1568
  width: -webkit-fill-available;
1570
1569
  }
1571
1570
  }
1572
- `,Zi],Yi([oe({attribute:!1})],Ki.prototype,"onCloseClicked",void 0),Yi([oe({attribute:!1})],Ki.prototype,"buildingId",void 0),Yi([oe()],Ki.prototype,"privatePolicyUrl",void 0),Yi([oe()],Ki.prototype,"termsOfServiceUrl",void 0),Yi([ae()],Ki.prototype,"firstName",void 0),Yi([ae()],Ki.prototype,"lastName",void 0),Yi([ae()],Ki.prototype,"email",void 0),Yi([ae()],Ki.prototype,"phoneNumber",void 0),Yi([ae()],Ki.prototype,"message",void 0),Yi([ae()],Ki.prototype,"hasNameError",void 0),Yi([ae()],Ki.prototype,"hasEmailError",void 0),Yi([ae()],Ki.prototype,"hasPhoneNumberError",void 0),Yi([ae()],Ki.prototype,"hasMessageError",void 0),Yi([ae()],Ki.prototype,"hasSubmittedForm",void 0),Yi([ae()],Ki.prototype,"windowHeight",void 0),Yi([ae()],Ki.prototype,"hasSubmissionError",void 0),Yi([ae()],Ki.prototype,"isSubmitting",void 0),Ki=Yi([ne("email-us-window")],Ki);const en=async(e,t,i,n,r,o)=>{const a={email_address:i,building_id:o,lead_source:"property-website",first_message:r,first_name:e,last_name:t,phone_number:"+1"+n.replace("(","").replace(")","").replace(" ","").replace("-","")};await ui().post("https://app.meetelise.com/platformApi/state/create/emailMe",a,{headers:{"X-SecurityKey":"JRL8jV4VcSCwOSir5gWkpgNLfKghmhBG"}})};var tn=function(e,t,i,n){var r,o=arguments.length,a=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,i,n);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(a=(o<3?r(a):o>3?r(t,i,a):r(t,i))||a);return o>3&&a&&Object.defineProperty(t,i,a),a};let nn=class extends te{constructor(){super(...arguments),this.buildingId=0,this.phoneNumberInputRef=Se(),this.phoneNumber="",this.hasSubmittedForm=!1,this.hasPhoneNumberError=!1,this.hasSubmissionError=!1,this.isSubmitting=!1,this.onChangePhoneNumber=e=>{if(!e.target||!this.phoneNumberInputRef.value)return;if(Ce(e))return;const t=e.target;this.phoneNumber=Ie(t.value),this.phoneNumberInputRef.value.value=this.phoneNumber},this.enforceFormat=e=>{Re(e)||Ce(e)||e.preventDefault()},this.validateFormFields=()=>{this.hasPhoneNumberError=!1,this.hasSubmissionError=!1,this.phoneNumber&&14===this.phoneNumber.length||(this.hasPhoneNumberError=!0)},this.onClick=async()=>{if(this.validateFormFields(),!this.hasPhoneNumberError)try{this.isSubmitting=!0,await rn(this.phoneNumber,this.buildingId),this.hasSubmittedForm=!0,this.isSubmitting=!1}catch(e){this.isSubmitting=!1,this.hasSubmissionError=!0}},this.render=()=>(Qi(),$i(),this.hasSubmittedForm?D`
1571
+ `,Yi],Ki([oe({attribute:!1})],en.prototype,"onCloseClicked",void 0),Ki([oe({attribute:!1})],en.prototype,"buildingId",void 0),Ki([oe()],en.prototype,"privatePolicyUrl",void 0),Ki([oe()],en.prototype,"termsOfServiceUrl",void 0),Ki([ae()],en.prototype,"firstName",void 0),Ki([ae()],en.prototype,"lastName",void 0),Ki([ae()],en.prototype,"email",void 0),Ki([ae()],en.prototype,"phoneNumber",void 0),Ki([ae()],en.prototype,"message",void 0),Ki([ae()],en.prototype,"hasNameError",void 0),Ki([ae()],en.prototype,"hasEmailError",void 0),Ki([ae()],en.prototype,"hasPhoneNumberError",void 0),Ki([ae()],en.prototype,"hasMessageError",void 0),Ki([ae()],en.prototype,"hasSubmittedForm",void 0),Ki([ae()],en.prototype,"windowHeight",void 0),Ki([ae()],en.prototype,"hasSubmissionError",void 0),Ki([ae()],en.prototype,"isSubmitting",void 0),en=Ki([ne("email-us-window")],en);const tn=async(e,t,i,n,r,o)=>{const a={email_address:i,building_id:o,lead_source:"property-website",first_message:r,first_name:e,last_name:t,phone_number:"+1"+n.replace("(","").replace(")","").replace(" ","").replace("-","")};await ui().post("https://app.meetelise.com/platformApi/state/create/emailMe",a,{headers:{"X-SecurityKey":"JRL8jV4VcSCwOSir5gWkpgNLfKghmhBG"}})};var nn=function(e,t,i,n){var r,o=arguments.length,a=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,i,n);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(a=(o<3?r(a):o>3?r(t,i,a):r(t,i))||a);return o>3&&a&&Object.defineProperty(t,i,a),a};let rn=class extends te{constructor(){super(...arguments),this.buildingId=0,this.phoneNumberInputRef=Se(),this.phoneNumber="",this.hasSubmittedForm=!1,this.hasPhoneNumberError=!1,this.hasSubmissionError=!1,this.isSubmitting=!1,this.onChangePhoneNumber=e=>{if(!e.target||!this.phoneNumberInputRef.value)return;if(Ce(e))return;const t=e.target;this.phoneNumber=Ie(t.value),this.phoneNumberInputRef.value.value=this.phoneNumber},this.enforceFormat=e=>{Re(e)||Ce(e)||e.preventDefault()},this.validateFormFields=()=>{this.hasPhoneNumberError=!1,this.hasSubmissionError=!1,this.phoneNumber&&14===this.phoneNumber.length||(this.hasPhoneNumberError=!0)},this.onClick=async()=>{if(this.validateFormFields(),!this.hasPhoneNumberError)try{this.isSubmitting=!0,await on(this.phoneNumber,this.buildingId),this.hasSubmittedForm=!0,this.isSubmitting=!1}catch(e){this.isSubmitting=!1,this.hasSubmissionError=!0}},this.render=()=>(Zi(),zi(),this.hasSubmittedForm?D`
1573
1572
  <details-window
1574
1573
  headerText="Text us"
1575
1574
  .onCloseClick=${this.onCloseClicked}
@@ -1637,7 +1636,7 @@ var e={8005:function(e,t,i){var n,r=this&&this.__extends||(n=function(e,t){retur
1637
1636
  </div>
1638
1637
  </div>
1639
1638
  </details-window>
1640
- `)}};nn.styles=[a`
1639
+ `)}};rn.styles=[a`
1641
1640
  .text-us-wrapper {
1642
1641
  font-family: "Poppins";
1643
1642
  color: #202020;
@@ -1668,7 +1667,7 @@ var e={8005:function(e,t,i){var n,r=this&&this.__extends||(n=function(e,t){retur
1668
1667
  line-height: 22px;
1669
1668
  margin-top: 8px;
1670
1669
  }
1671
- `,Zi],tn([oe({attribute:!1})],nn.prototype,"onCloseClicked",void 0),tn([oe({attribute:!1})],nn.prototype,"buildingId",void 0),tn([ae()],nn.prototype,"phoneNumber",void 0),tn([ae()],nn.prototype,"hasSubmittedForm",void 0),tn([ae()],nn.prototype,"hasPhoneNumberError",void 0),tn([ae()],nn.prototype,"hasSubmissionError",void 0),tn([ae()],nn.prototype,"isSubmitting",void 0),nn=tn([ne("text-us-window")],nn);const rn=async(e,t)=>{const i={building_id:t,lead_source:"property-website",phone_number:"+1"+e.replace("(","").replace(")","").replace(" ","").replace("-","")};await ui().post("https://app.meetelise.com/platformApi/state/create/textMe",i,{headers:{"X-SecurityKey":"JRL8jV4VcSCwOSir5gWkpgNLfKghmhBG"}})},on={},an=["monday","tuesday","wednesday","thursday","friday","saturday","sunday"];var sn=function(e,t,i,n){var r,o=arguments.length,a=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,i,n);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(a=(o<3?r(a):o>3?r(t,i,a):r(t,i))||a);return o>3&&a&&Object.defineProperty(t,i,a),a};let ln=class extends te{constructor(){super(...arguments),this.phoneNumber="1-855-531-5131",this.buildingId=0,this.firstUpdated=async()=>{this.buildingId&&(this.officeHoursTextInfo=await(async e=>{const t=await(async e=>{if(on[e])return on[e];const t=`https://app.meetelise.com/platformApi/connectors/talk_js/leasing_office_hours/${e}`,i=await ui().get(t);return on[e]=i.data,i.data})(e);return an.map((e=>{const i=t[e];return i?{dayOfWeek:e,startTime:i.start,endTime:i.end}:e}))})(this.buildingId))},this.officeHoursTextInfo=[],this.getCallLink=e=>{const t=(e.match(/\d+/g)||[]).join(""),i=t.length<11?`1${t}`:t,n=`+${i[0]}-${i.slice(1,4)}-${i.slice(4,7)}-${i.slice(7)}`;return D`<a href="tel:${n}"
1670
+ `,Yi],nn([oe({attribute:!1})],rn.prototype,"onCloseClicked",void 0),nn([oe({attribute:!1})],rn.prototype,"buildingId",void 0),nn([ae()],rn.prototype,"phoneNumber",void 0),nn([ae()],rn.prototype,"hasSubmittedForm",void 0),nn([ae()],rn.prototype,"hasPhoneNumberError",void 0),nn([ae()],rn.prototype,"hasSubmissionError",void 0),nn([ae()],rn.prototype,"isSubmitting",void 0),rn=nn([ne("text-us-window")],rn);const on=async(e,t)=>{const i={building_id:t,lead_source:"property-website",phone_number:"+1"+e.replace("(","").replace(")","").replace(" ","").replace("-","")};await ui().post("https://app.meetelise.com/platformApi/state/create/textMe",i,{headers:{"X-SecurityKey":"JRL8jV4VcSCwOSir5gWkpgNLfKghmhBG"}})},an={},sn=["monday","tuesday","wednesday","thursday","friday","saturday","sunday"];var ln=function(e,t,i,n){var r,o=arguments.length,a=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,i,n);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(a=(o<3?r(a):o>3?r(t,i,a):r(t,i))||a);return o>3&&a&&Object.defineProperty(t,i,a),a};let un=class extends te{constructor(){super(...arguments),this.phoneNumber="1-855-531-5131",this.buildingId=0,this.firstUpdated=async()=>{this.buildingId&&(this.officeHoursTextInfo=await(async e=>{const t=await(async e=>{if(an[e])return an[e];const t=`https://app.meetelise.com/platformApi/connectors/talk_js/leasing_office_hours/${e}`,i=await ui().get(t);return an[e]=i.data,i.data})(e);return sn.map((e=>{const i=t[e];return i?{dayOfWeek:e,startTime:i.start,endTime:i.end}:e}))})(this.buildingId))},this.officeHoursTextInfo=[],this.getCallLink=e=>{const t=(e.match(/\d+/g)||[]).join(""),i=t.length<11?`1${t}`:t,n=`+${i[0]}-${i.slice(1,4)}-${i.slice(4,7)}-${i.slice(7)}`;return D`<a href="tel:${n}"
1672
1671
  >${e}</a
1673
1672
  >`},this.render=()=>D`
1674
1673
  <details-window
@@ -1698,7 +1697,7 @@ var e={8005:function(e,t,i){var n,r=this&&this.__extends||(n=function(e,t){retur
1698
1697
  `))}
1699
1698
  </div>
1700
1699
  </details-window>
1701
- `}};ln.styles=[a`
1700
+ `}};un.styles=[a`
1702
1701
  .call-us-window__content-wrapper {
1703
1702
  font-family: Poppins;
1704
1703
  color: 11ee1e;
@@ -1738,7 +1737,7 @@ var e={8005:function(e,t,i){var n,r=this&&this.__extends||(n=function(e,t){retur
1738
1737
  .call-us-window__open-times {
1739
1738
  text-transform: lowercase;
1740
1739
  }
1741
- `],sn([oe({attribute:!1})],ln.prototype,"onCloseClicked",void 0),sn([oe()],ln.prototype,"phoneNumber",void 0),sn([oe({attribute:!1})],ln.prototype,"buildingId",void 0),sn([oe({attribute:!1})],ln.prototype,"officeHoursTextInfo",void 0),ln=sn([ne("call-us-window")],ln);const un={};var dn=function(e,t,i,n){var r,o=arguments.length,a=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,i,n);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(a=(o<3?r(a):o>3?r(t,i,a):r(t,i))||a);return o>3&&a&&Object.defineProperty(t,i,a),a};let cn=class extends te{constructor(){super(...arguments),this.isMobile=!1,this.isFirstMount=!1,this.backgroundColor="rgba(255, 255, 255, 0.75)",this.textColor="#202020",this.isMini=!0,this.phoneNumber="",this.buildingId=0,this.hasEmailEnabled=!0,this.hasSSTEnabled=!1,this.hasTextUsEnabled=!1,this.layoutOptions=[],this.tourTypeOptions=[],this.onChatTapped=()=>{},this.isEmailWindowOpen=!1,this.isCallUsWindowOpen=!1,this.isSSTWindowOpen=!1,this.isTextUsWindowOpen=!1,this.getNumCallToActions=()=>[this.hasEmailEnabled,!!this.phoneNumber,this.hasTextUsEnabled].filter((e=>e)).length,this.emailUsWindowRef=Se(),this.textUsWindowRef=Se(),this.tourSchedulerRef=Se(),this.updated=async()=>{if(this.attachOnClickToEmailUsWindow(),this.attachOnClickToTextUsWindow(),this.attachOnClickToSSTWindow(),this.buildingId){const e=await(async e=>{if(un[e])return un[e];const t=`http://ivr.internal-meetelise.com/sms_management_numbers/webchat/building/${e}/numbers`,i=await ui().get(t);return un[e]=i.data,i.data})(this.buildingId);this.hasTextUsEnabled=e.length>0&&4895!==this.buildingId}},this.attachOnClickToEmailUsWindow=()=>{const e=this.emailUsWindowRef.value;e&&(e.onCloseClicked=this.onCloseEmailWindow)},this.attachOnClickToTextUsWindow=()=>{const e=this.textUsWindowRef.value;e&&(e.onCloseClicked=this.onCloseTextUsWindow)},this.attachOnClickToSSTWindow=()=>{const e=this.tourSchedulerRef.value;e&&(e.onCloseClicked=this.onCloseSSTWindow)},this.onClickEmailOption=e=>{e.preventDefault(),e.stopPropagation(),this.isEmailWindowOpen=!0},this.onCloseEmailWindow=()=>{this.isEmailWindowOpen=!1},this.renderEmailOption=()=>{const e=this.getNumCallToActions()>2?"Email":"Email us";return D`
1740
+ `],ln([oe({attribute:!1})],un.prototype,"onCloseClicked",void 0),ln([oe()],un.prototype,"phoneNumber",void 0),ln([oe({attribute:!1})],un.prototype,"buildingId",void 0),ln([oe({attribute:!1})],un.prototype,"officeHoursTextInfo",void 0),un=ln([ne("call-us-window")],un);const dn={};var cn=function(e,t,i,n){var r,o=arguments.length,a=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,i,n);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(a=(o<3?r(a):o>3?r(t,i,a):r(t,i))||a);return o>3&&a&&Object.defineProperty(t,i,a),a};let pn=class extends te{constructor(){super(...arguments),this.isMobile=!1,this.isFirstMount=!1,this.backgroundColor="rgba(255, 255, 255, 0.75)",this.textColor="#202020",this.isMini=!0,this.phoneNumber="",this.buildingId=0,this.hasEmailEnabled=!0,this.hasSSTEnabled=!1,this.hasTextUsEnabled=!1,this.layoutOptions=[],this.tourTypeOptions=[],this.onChatTapped=()=>{},this.launcherStyles={},this.isEmailWindowOpen=!1,this.isCallUsWindowOpen=!1,this.isSSTWindowOpen=!1,this.isTextUsWindowOpen=!1,this.getNumCallToActions=()=>[this.hasEmailEnabled,!!this.phoneNumber,this.hasTextUsEnabled].filter((e=>e)).length,this.emailUsWindowRef=Se(),this.textUsWindowRef=Se(),this.tourSchedulerRef=Se(),this.updated=async()=>{if(this.attachOnClickToEmailUsWindow(),this.attachOnClickToTextUsWindow(),this.attachOnClickToSSTWindow(),this.buildingId){const e=await(async e=>{if(dn[e])return dn[e];const t=`http://ivr.internal-meetelise.com/sms_management_numbers/webchat/building/${e}/numbers`,i=await ui().get(t);return dn[e]=i.data,i.data})(this.buildingId);this.hasTextUsEnabled=e.length>0&&4895!==this.buildingId}},this.attachOnClickToEmailUsWindow=()=>{const e=this.emailUsWindowRef.value;e&&(e.onCloseClicked=this.onCloseEmailWindow)},this.attachOnClickToTextUsWindow=()=>{const e=this.textUsWindowRef.value;e&&(e.onCloseClicked=this.onCloseTextUsWindow)},this.attachOnClickToSSTWindow=()=>{const e=this.tourSchedulerRef.value;e&&(e.onCloseClicked=this.onCloseSSTWindow)},this.onClickEmailOption=e=>{e.preventDefault(),e.stopPropagation(),this.isEmailWindowOpen=!0},this.onCloseEmailWindow=()=>{this.isEmailWindowOpen=!1},this.renderEmailOption=()=>{const e=this.getNumCallToActions()>2?"Email":"Email us";return D`
1742
1741
  <div
1743
1742
  @click=${this.onClickEmailOption}
1744
1743
  class="launcher__call-to-action-option"
@@ -1777,7 +1776,10 @@ var e={8005:function(e,t,i){var n,r=this&&this.__extends||(n=function(e,t){retur
1777
1776
  </div>
1778
1777
  </div>
1779
1778
  `,this.renderMiniLauncher=()=>D`
1780
- <div class="launcher__mini-launcher-wrapper">
1779
+ <div
1780
+ class="launcher__mini-launcher-wrapper"
1781
+ style=${Vi(this.launcherStyles)}
1782
+ >
1781
1783
  ${this.isEmailWindowOpen?D`<div class="launcher__window-wrapper">
1782
1784
  <email-us-window
1783
1785
  ${xe(this.emailUsWindowRef)}
@@ -1880,7 +1882,7 @@ var e={8005:function(e,t,i){var n,r=this&&this.__extends||(n=function(e,t){retur
1880
1882
  </svg>
1881
1883
  `,this.onClickTextUsOption,!0):""}
1882
1884
  </div>
1883
- `}render(){return window.customElements.get("email-us-window")||window.customElements.define("email-us-window",Ki),window.customElements.get("text-us-window")||window.customElements.define("text-us-window",nn),window.customElements.get("call-us-window")||window.customElements.define("call-us-window",ln),this.isMini?this.renderMiniLauncher():D`
1885
+ `}render(){return window.customElements.get("email-us-window")||window.customElements.define("email-us-window",en),window.customElements.get("text-us-window")||window.customElements.define("text-us-window",rn),window.customElements.get("call-us-window")||window.customElements.define("call-us-window",un),this.isMini?this.renderMiniLauncher():D`
1884
1886
  <div>
1885
1887
  ${this.isEmailWindowOpen?D`<div class="launcher__window-wrapper">
1886
1888
  <email-us-window
@@ -1915,11 +1917,11 @@ var e={8005:function(e,t,i){var n,r=this&&this.__extends||(n=function(e,t){retur
1915
1917
  ${this.isCallToActionWindowOpen()?"":D`
1916
1918
  <div
1917
1919
  @click=${this.onChatTapped}
1918
- class="${ji()("launcher",this.isMobile?"launcher__mobile":"launcher__desktop",{firstMount:this.isFirstMount})}"
1920
+ class="${Hi()("launcher",this.isMobile?"launcher__mobile":"launcher__desktop",{firstMount:this.isFirstMount})}"
1919
1921
  style="background-color: ${this.backgroundColor}; color: ${this.textColor};"
1920
1922
  >
1921
1923
  <div
1922
- style=${zi({position:"absolute"})}
1924
+ style=${Vi({position:"absolute"})}
1923
1925
  ></div>
1924
1926
  <video class="glowBar" autoplay loop muted playsinline>
1925
1927
  <source src="${"https://s3.us-west-2.amazonaws.com/meetelise.com/HorizontalBar-Shadow.webm"}" type="video/webm" />
@@ -1953,7 +1955,7 @@ var e={8005:function(e,t,i){var n,r=this&&this.__extends||(n=function(e,t){retur
1953
1955
  </div>
1954
1956
  `}
1955
1957
  </div>
1956
- `}};cn.styles=Hi,dn([oe({type:Boolean})],cn.prototype,"isMobile",void 0),dn([oe({type:Boolean})],cn.prototype,"isFirstMount",void 0),dn([oe()],cn.prototype,"backgroundColor",void 0),dn([oe()],cn.prototype,"textColor",void 0),dn([oe({type:Boolean})],cn.prototype,"isMini",void 0),dn([oe()],cn.prototype,"phoneNumber",void 0),dn([oe({attribute:!1})],cn.prototype,"buildingId",void 0),dn([oe({type:Boolean})],cn.prototype,"hasEmailEnabled",void 0),dn([oe({type:Boolean})],cn.prototype,"hasSSTEnabled",void 0),dn([oe({type:Boolean})],cn.prototype,"hasTextUsEnabled",void 0),dn([oe({attribute:!1})],cn.prototype,"layoutOptions",void 0),dn([oe({attribute:!1})],cn.prototype,"tourTypeOptions",void 0),dn([oe({attribute:!1})],cn.prototype,"onChatTapped",void 0),dn([ae()],cn.prototype,"isEmailWindowOpen",void 0),dn([ae()],cn.prototype,"isCallUsWindowOpen",void 0),dn([ae()],cn.prototype,"isSSTWindowOpen",void 0),dn([ae()],cn.prototype,"isTextUsWindowOpen",void 0),cn=dn([ne("meetelise-launcher")],cn);var pn=i(3379),fn=i.n(pn),mn=i(7795),hn=i.n(mn),vn=i(569),gn=i.n(vn),yn=i(3565),wn=i.n(yn),Sn=i(9216),bn=i.n(Sn),Tn=i(4589),xn=i.n(Tn),On=i(3631),In={};In.styleTagTransform=xn(),In.setAttributes=wn(),In.insert=gn().bind(null,"head"),In.domAPI=hn(),In.insertStyleElement=bn(),fn()(On.Z,In),On.Z&&On.Z.locals&&On.Z.locals;var Rn,Nn=function(e,t,i,n){var r,o=arguments.length,a=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,i,n);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(a=(o<3?r(a):o>3?r(t,i,a):r(t,i))||a);return o>3&&a&&Object.defineProperty(t,i,a),a};let Cn=Rn=class extends te{constructor(){super(...arguments),this.buildingSlug="",this.orgSlug="",this.useMiniWidget=!0,this.popup=null,this.theme=ki(),this.chatId="",this.analytics=null,this.isMobile=vi(),this.launcher=null,this.building=null,this.hasMounted=!1,this.hideLauncher=!1,this.yardiDNIScriptInterval=null,this.launcherRef=Se(),this.initializeInstanceVariables=async()=>{await this.setBuildingDerivedInfo(),await this.initializeLaunchJS(),this.attachOnClickToLauncher()},this.setBuildingDerivedInfo=async()=>{var e;this.buildingSlug&&this.orgSlug&&(this.building=await async function(e,t){const i=`https://app.meetelise.com/api/pub/v1/organization/${e}/building/${t}`,n=await fetch(i);return await n.json()}(this.orgSlug,this.buildingSlug),fi(this.building.id),this.chatId=function(e,t){const i=Fi(e,t),n=localStorage.getItem(i);return n&&!function(e,t){const i=Mi(e,t),n=localStorage.getItem(i)||_i(e,t),r=new Date(new Date(n).getTime()+864e5);return new Date>r}(e,t)?n:Ei(e,t)}(this.orgSlug,this.buildingSlug),this.avatarSrc=this.avatarSrc||this.building.avatarSrc,this.theme=ki(null!==(e=this.themeId)&&void 0!==e?e:this.building.themeId))},this.initializeLaunchJS=async()=>{if(!this.building||!this.theme)return;if(this.popup&&this.launcher)return;const[e,t,i,n]=await Promise.all([this.building,this.theme,this.avatarSrc,Rn.session]);if(e.conversationMaintenanceMode)return new Promise((()=>{console.warn("MeetElise Chat is in maintenance mode. Chat icon will not appear.")}));await this.configureTalkJSPopup(e,t,n,i),this.configureLauncherElement(),this.yardiDNIScriptInterval=setInterval((()=>this.pollForYardiCampaignSource()),1e3),setTimeout(clearInterval,15e3,this.yardiDNIScriptInterval)},this.configureLauncherElement=()=>{this.popup&&this.launcherRef.value&&(this.launcher=this.launcherRef.value)},this.configureTalkJSPopup=async(e,t,i,n)=>{const r=i.createPopup(Li(i,e,t,n||e.avatarSrc,this.chatId,this.isMobile),{launcher:"never",showCloseInHeader:!0,messageField:{placeholder:"Ask a question..."}});await r.mount({show:!1}),r.on("close",(()=>{this.hideLauncher=!1}));const o=document.querySelector(".__talkjs_popup");if(!o)throw new Error("Failed to find chat window");o.classList.add("meetelise-chat","pane"),this.isMobile||o.classList.add("launcher__desktop"),o.style.zIndex="99999999999",this.popup=r},this.firstUpdated=()=>{this.initializeInstanceVariables()},this.attachOnClickToLauncher=()=>{const e=this.launcherRef.value;e&&(e.onChatTapped=async()=>{var e;this.popup&&(this.popup.show(),null===(e=this.analytics)||void 0===e||e.ping("open"),this.hideLauncher=!0,this.hasMounted=!0)})}}pollForYardiCampaignSource(){var e,t,i;(null===(t=null===(e=window.RCTPCampaign)||void 0===e?void 0:e.CampaignDetails)||void 0===t?void 0:t.Source)&&(null===(i=this.analytics)||void 0===i||i.ping("yardi-DNI-init"),this.yardiDNIScriptInterval&&clearInterval(this.yardiDNIScriptInterval))}async restartConversation(){if(!(this.analytics&&this.analytics.chatId&&this.building&&this.theme&&this.popup&&Rn.session))return;this.chatId=Ei(this.orgSlug,this.buildingSlug);const e=await Rn.session;this.analytics.chatId=this.chatId,this.popup.select(Li(e,this.building,this.theme,this.avatarSrc||this.building.avatarSrc,this.chatId,this.isMobile))}remove(){var e;null===(e=this.popup)||void 0===e||e.destroy()}open(){var e;null===(e=this.popup)||void 0===e||e.show()}close(){var e;null===(e=this.popup)||void 0===e||e.hide()}show(){this.launcher&&(this.launcher.style.display="")}hide(){this.launcher&&(this.launcher.style.display="none")}render(){var e,t,i,n,r,o,a,s;return window.customElements.get("meetelise-launcher")||window.customElements.define("meetelise-launcher",cn),D`
1958
+ `}};pn.styles=Wi,cn([oe({type:Boolean})],pn.prototype,"isMobile",void 0),cn([oe({type:Boolean})],pn.prototype,"isFirstMount",void 0),cn([oe()],pn.prototype,"backgroundColor",void 0),cn([oe()],pn.prototype,"textColor",void 0),cn([oe({type:Boolean})],pn.prototype,"isMini",void 0),cn([oe()],pn.prototype,"phoneNumber",void 0),cn([oe({attribute:!1})],pn.prototype,"buildingId",void 0),cn([oe({type:Boolean})],pn.prototype,"hasEmailEnabled",void 0),cn([oe({type:Boolean})],pn.prototype,"hasSSTEnabled",void 0),cn([oe({type:Boolean})],pn.prototype,"hasTextUsEnabled",void 0),cn([oe({attribute:!1})],pn.prototype,"layoutOptions",void 0),cn([oe({attribute:!1})],pn.prototype,"tourTypeOptions",void 0),cn([oe({attribute:!1})],pn.prototype,"onChatTapped",void 0),cn([oe()],pn.prototype,"launcherStyles",void 0),cn([ae()],pn.prototype,"isEmailWindowOpen",void 0),cn([ae()],pn.prototype,"isCallUsWindowOpen",void 0),cn([ae()],pn.prototype,"isSSTWindowOpen",void 0),cn([ae()],pn.prototype,"isTextUsWindowOpen",void 0),pn=cn([ne("meetelise-launcher")],pn);var fn=i(3379),mn=i.n(fn),hn=i(7795),vn=i.n(hn),gn=i(569),yn=i.n(gn),wn=i(3565),Sn=i.n(wn),bn=i(9216),Tn=i.n(bn),xn=i(4589),On=i.n(xn),In=i(3631),Rn={};Rn.styleTagTransform=On(),Rn.setAttributes=Sn(),Rn.insert=yn().bind(null,"head"),Rn.domAPI=vn(),Rn.insertStyleElement=Tn(),mn()(In.Z,Rn),In.Z&&In.Z.locals&&In.Z.locals;var Nn,Cn=function(e,t,i,n){var r,o=arguments.length,a=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,i,n);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(a=(o<3?r(a):o>3?r(t,i,a):r(t,i))||a);return o>3&&a&&Object.defineProperty(t,i,a),a};let An=Nn=class extends te{constructor(){super(...arguments),this.buildingSlug="",this.orgSlug="",this.useMiniWidget=!0,this.launcherStyles={},this.popup=null,this.theme=Li(),this.chatId="",this.analytics=null,this.isMobile=vi(),this.launcher=null,this.building=null,this.hasMounted=!1,this.hideLauncher=!1,this.yardiDNIScriptInterval=null,this.launcherRef=Se(),this.initializeInstanceVariables=async()=>{await this.setBuildingDerivedInfo(),await this.initializeLaunchJS(),this.attachOnClickToLauncher()},this.setBuildingDerivedInfo=async()=>{var e;this.buildingSlug&&this.orgSlug&&(this.building=await async function(e,t){const i=`https://app.meetelise.com/api/pub/v1/organization/${e}/building/${t}`,n=await fetch(i);return await n.json()}(this.orgSlug,this.buildingSlug),fi(this.building.id),this.chatId=function(e,t){const i=Mi(e,t),n=localStorage.getItem(i);return n&&!function(e,t){const i=Pi(e,t),n=localStorage.getItem(i)||Fi(e,t),r=new Date(new Date(n).getTime()+864e5);return new Date>r}(e,t)?n:_i(e,t)}(this.orgSlug,this.buildingSlug),this.avatarSrc=this.avatarSrc||this.building.avatarSrc,this.theme=Li(null!==(e=this.themeId)&&void 0!==e?e:this.building.themeId),this.analytics=new Ti(this.orgSlug,this.buildingSlug,this.chatId))},this.initializeLaunchJS=async()=>{if(!this.building||!this.theme)return;if(this.popup&&this.launcher)return;const[e,t,i,n]=await Promise.all([this.building,this.theme,this.avatarSrc,Nn.session]);if(e.conversationMaintenanceMode)return new Promise((()=>{console.warn("MeetElise Chat is in maintenance mode. Chat icon will not appear.")}));await this.configureTalkJSPopup(e,t,n,i),this.configureLauncherElement(),this.yardiDNIScriptInterval=setInterval((()=>this.pollForYardiCampaignSource()),1e3),setTimeout(clearInterval,15e3,this.yardiDNIScriptInterval)},this.configureLauncherElement=()=>{this.popup&&this.launcherRef.value&&(this.launcher=this.launcherRef.value)},this.configureTalkJSPopup=async(e,t,i,n)=>{const r=i.createPopup(Bi(i,e,t,n||e.avatarSrc,this.chatId,this.isMobile),{launcher:"never",showCloseInHeader:!0,messageField:{placeholder:"Ask a question..."}});await r.mount({show:!1}),r.on("close",(()=>{this.hideLauncher=!1}));const o=document.querySelector(".__talkjs_popup");if(!o)throw new Error("Failed to find chat window");o.classList.add("meetelise-chat","pane"),this.isMobile||o.classList.add("launcher__desktop"),o.style.zIndex="99999999999",this.popup=r},this.firstUpdated=()=>{this.initializeInstanceVariables()},this.attachOnClickToLauncher=()=>{const e=this.launcherRef.value;e&&(e.onChatTapped=async()=>{var e;this.popup&&(this.popup.show(),null===(e=this.analytics)||void 0===e||e.ping("open"),this.hideLauncher=!0,this.hasMounted=!0)})}}pollForYardiCampaignSource(){var e,t,i;(null===(t=null===(e=window.RCTPCampaign)||void 0===e?void 0:e.CampaignDetails)||void 0===t?void 0:t.Source)&&(null===(i=this.analytics)||void 0===i||i.ping("yardi-DNI-init"),this.yardiDNIScriptInterval&&clearInterval(this.yardiDNIScriptInterval))}async restartConversation(){if(!(this.analytics&&this.analytics.chatId&&this.building&&this.popup&&Nn.session))return;this.chatId=_i(this.orgSlug,this.buildingSlug);const e=await Nn.session;this.analytics.chatId=this.chatId,this.popup.select(Bi(e,this.building,this.theme,this.avatarSrc||this.building.avatarSrc,this.chatId,this.isMobile))}remove(){var e;null===(e=this.popup)||void 0===e||e.destroy()}open(){var e;null===(e=this.popup)||void 0===e||e.show()}close(){var e;null===(e=this.popup)||void 0===e||e.hide()}show(){this.launcher&&(this.launcher.style.display="")}hide(){this.launcher&&(this.launcher.style.display="none")}render(){var e,t,i,n,r,o,a,s;return window.customElements.get("meetelise-launcher")||window.customElements.define("meetelise-launcher",pn),D`
1957
1959
  <div
1958
1960
  class=${ce({launcherContainer:!0,launcher__mobile:this.isMobile,launcher__desktop:!this.isMobile,"meetelise-chat":!0,launcher:!0,shouldBeVisible:!0})}
1959
1961
  >
@@ -1965,6 +1967,7 @@ var e={8005:function(e,t,i){var n,r=this&&this.__extends||(n=function(e,t){retur
1965
1967
  .buildingId=${null!==(t=null===(e=this.building)||void 0===e?void 0:e.id)&&void 0!==t?t:0}
1966
1968
  .layoutOptions=${null!==(n=null===(i=this.building)||void 0===i?void 0:i.layoutOptions)&&void 0!==n?n:[]}
1967
1969
  .tourTypeOptions=${null!==(o=null===(r=this.building)||void 0===r?void 0:r.tourTypeOptions)&&void 0!==o?o:[]}
1970
+ .launcherStyles=${this.launcherStyles}
1968
1971
  phoneNumber="${null!==(s=null===(a=this.building)||void 0===a?void 0:a.phoneNumber)&&void 0!==s?s:""}"
1969
1972
  textColor="${this.theme.chatHeader.textColor}"
1970
1973
  backgroundColor="${this.theme.chatPaneBackgroundColor}"
@@ -1972,7 +1975,7 @@ var e={8005:function(e,t,i){var n,r=this&&this.__extends||(n=function(e,t){retur
1972
1975
  >
1973
1976
  </meetelise-launcher>
1974
1977
  </div>
1975
- `}};Cn.styles=a`
1978
+ `}};An.styles=a`
1976
1979
  :host {
1977
1980
  all: initial;
1978
1981
  }
@@ -1985,4 +1988,4 @@ var e={8005:function(e,t,i){var n,r=this&&this.__extends||(n=function(e,t){retur
1985
1988
  width: 100%;
1986
1989
  height: 100px;
1987
1990
  }
1988
- `,Cn.session=Oe.ready.then((()=>{const e=new Oe.User({id:"anonymous",name:"Me",email:null,role:"Default"});return new Oe.Session({appId:"ogKIvCor",me:e})})),Nn([oe({type:String})],Cn.prototype,"buildingSlug",void 0),Nn([oe({type:String})],Cn.prototype,"orgSlug",void 0),Nn([oe({type:String})],Cn.prototype,"themeId",void 0),Nn([oe({attribute:!1})],Cn.prototype,"avatarSrc",void 0),Nn([oe({type:Boolean})],Cn.prototype,"useMiniWidget",void 0),Nn([ae()],Cn.prototype,"popup",void 0),Nn([ae()],Cn.prototype,"theme",void 0),Nn([ae()],Cn.prototype,"chatId",void 0),Nn([ae()],Cn.prototype,"analytics",void 0),Nn([ae()],Cn.prototype,"isMobile",void 0),Nn([ae()],Cn.prototype,"launcher",void 0),Nn([ae()],Cn.prototype,"building",void 0),Nn([ae()],Cn.prototype,"hasMounted",void 0),Nn([ae()],Cn.prototype,"hideLauncher",void 0),Cn=Rn=Nn([ne("me-chat")],Cn);class An{static start(e){En();const t=document.createElement("me-chat");t.setAttribute("orgSlug",e.organization),t.setAttribute("buildingSlug",e.building),t.setAttribute("class","meetelise-chat"),e.themeId&&t.setAttribute("themeId",e.themeId),e.avatarSrc&&t.setAttribute("avatarSrc",e.avatarSrc),void 0!==e.mini&&(t.useMiniWidget=e.mini),document.body.appendChild(t),An.meChat=t}static async restartConversation(){this.meChat&&await this.meChat.restartConversation()}}An.meChat=null;const En=()=>{const e=document.createElement("link");e.setAttribute("rel","stylesheet"),e.setAttribute("type","text/css"),e.setAttribute("href","https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700;900&display=swap"),document.head.appendChild(e)}})();var r=n.Z;export{r as default};
1991
+ `,An.session=Oe.ready.then((()=>{const e=new Oe.User({id:"anonymous",name:"Me",email:null,role:"Default"});return new Oe.Session({appId:"ogKIvCor",me:e})})),Cn([oe({type:String})],An.prototype,"buildingSlug",void 0),Cn([oe({type:String})],An.prototype,"orgSlug",void 0),Cn([oe({type:String})],An.prototype,"themeId",void 0),Cn([oe({attribute:!1})],An.prototype,"avatarSrc",void 0),Cn([oe({type:Boolean})],An.prototype,"useMiniWidget",void 0),Cn([oe()],An.prototype,"launcherStyles",void 0),Cn([ae()],An.prototype,"popup",void 0),Cn([ae()],An.prototype,"theme",void 0),Cn([ae()],An.prototype,"chatId",void 0),Cn([ae()],An.prototype,"analytics",void 0),Cn([ae()],An.prototype,"isMobile",void 0),Cn([ae()],An.prototype,"launcher",void 0),Cn([ae()],An.prototype,"building",void 0),Cn([ae()],An.prototype,"hasMounted",void 0),Cn([ae()],An.prototype,"hideLauncher",void 0),An=Nn=Cn([ne("me-chat")],An);class En{static start(e){_n();const t=document.createElement("me-chat");t.setAttribute("orgSlug",e.organization),t.setAttribute("buildingSlug",e.building),t.setAttribute("class","meetelise-chat"),e.themeId&&t.setAttribute("themeId",e.themeId),e.avatarSrc&&t.setAttribute("avatarSrc",e.avatarSrc),void 0!==e.mini&&(t.useMiniWidget=e.mini),e.launcherStyles&&(t.launcherStyles=e.launcherStyles),document.body.appendChild(t),En.meChat=t}static async restartConversation(){this.meChat&&await this.meChat.restartConversation()}}En.meChat=null;const _n=()=>{const e=document.createElement("link");e.setAttribute("rel","stylesheet"),e.setAttribute("type","text/css"),e.setAttribute("href","https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700;900&display=swap"),document.head.appendChild(e)}})();var r=n.Z;export{r as default};