(this["webpackJsonpcem-react-app"]=this["webpackJsonpcem-react-app"]||[]).push([[0],{104:function(e,t,n){"use strict";n.d(t,"e",(function(){return a})),n.d(t,"c",(function(){return r})),n.d(t,"f",(function(){return o})),n.d(t,"g",(function(){return s})),n.d(t,"a",(function(){return l})),n.d(t,"d",(function(){return c})),n.d(t,"b",(function(){return d}));var i=n(208),a=function(e){return{type:i.d,payload:e}},r=function(e){return{type:i.b,payload:e}},o=function(e){return{type:i.f,payload:e}},s=function(e){return{type:i.g,payload:e}},l=function(e){return{type:i.a,payload:e}},c=function(e){return{type:i.c,payload:e}},d=function(e){return{type:i.e,payload:e}}},105:function(e,t,n){"use strict";n.d(t,"f",(function(){return s})),n.d(t,"d",(function(){return l})),n.d(t,"e",(function(){return c})),n.d(t,"h",(function(){return d})),n.d(t,"b",(function(){return u})),n.d(t,"a",(function(){return m})),n.d(t,"g",(function(){return v})),n.d(t,"j",(function(){return f})),n.d(t,"i",(function(){return p})),n.d(t,"c",(function(){return h}));var i=n(13),a=n(2),r=n(12),o=n(81),s=function(e,t){var n=new a.Ag({filterBy:[],searchCriteria:["Active"],sortBy:"name",page:1,pageSize:-1});return function(r,s){var l=s().levels,c=l.requestBody,d=l.selectedLevels,u=l.statusFilter;return t||(r(o.a(null)),r(o.f(""))),i.Y.getAll(void 0,a.Ag.fromJS(void 0!==e?e?n:c:{sortBy:"name"})).then((function(i){return t||(r(o.a(i.levels)),r(o.b(i.recordCount)),r(o.e(e?[]:d)),r(o.c(void 0!==e?e?n:c:{sortBy:"name"})),r(o.f(e?"Active":void 0!==u&&null!==u?u:"Active"))),i})).catch((function(){r(o.a())}))}},l=function(e){return function(t){return i.Y.getAll(void 0,a.Ag.fromJS(e)).then((function(e){return e.levels})).catch((function(){t(o.a())}))}},c=function(e){return function(t){return i.Y.getLeveListById(void 0,new a.pi({levelId:e})).then((function(e){return e})).catch((function(e){return t(Object(r.b)(e)),null}))}},d=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return function(t,n){var o=n().levels.selectedLevel;return(e?i.Y.create("v1",a.Ic.fromJS(o)):i.Y.update("v1",a.zn.fromJS(o))).then((function(){t(Object(r.a)({message:"Save successful",variant:"success"})),t(s(!0))})).catch((function(e){t(Object(r.b)(e))}))}},u=function(e){var t=new a.ae({levelIdList:e});return function(n){return i.Y.delete(void 0,t).then((function(t){return n(s(!0)),t.length===e.length?(n(Object(r.a)({message:"None of the selected levels are valid for deletion.",variant:"warning"})),null):(n(Object(r.a)({message:"".concat(e.length>1?"Levels successfully deleted.":"Level successfully deleted."),variant:"success"})),t)})).catch((function(e){n(Object(r.a)({message:e.detail,variant:"error"}))}))}},m=function(e,t,n,l){var c=new a.S({levelIdList:e,isArchive:t,isSelectedAll:null!==n&&void 0!==n&&n,exemptedIdList:null!==l&&void 0!==l?l:[]});return function(n){return i.Y.archive(void 0,c).then((function(){n(o.e([])),n(Object(r.a)({message:"".concat(e.length>1?"Records":"Record"," ").concat(t?"deactivated.":"activated."),variant:"success"})),n(s(!0))})).catch((function(e){n(Object(r.a)({message:e.detail,variant:"error"}))}))}},v=function(e){return function(t){return i.Y.merge(void 0,a.yk.fromJS(e)).then((function(){t(o.e([])),t(Object(r.a)({message:"Levels merged",variant:"success"})),t(s(!0))})).catch((function(e){t(o.e([])),t(Object(r.a)({message:e.detail,variant:"error"}))}))}},f=function(e,t){return function(n){return i.Y.validateLevelName(void 0,a.yp.fromJS(new a.yp({levelIds:e,name:t}))).then((function(e){return e})).catch((function(e){n(Object(r.b)(e))}))}},p=function(e,t){return function(n){return i.Y.validateLevelCode(void 0,a.xp.fromJS(new a.xp({levelIds:e,code:t}))).then((function(e){return e})).catch((function(e){n(Object(r.b)(e))}))}},h=function(e,t){return function(n){return("csv"===t?i.Y.exportCsv(void 0,a.Ag.fromJS(e)):i.Y.exportExcel(void 0,a.Ag.fromJS(e))).then((function(e){var n=window.URL.createObjectURL(new Blob([e.data])),i=document.createElement("a");i.href=n,i.setAttribute("download",e.fileName||"levels.".concat(t)),document.body.appendChild(i),i.click(),i.remove()})).catch((function(e){n(Object(r.b)(e))}))}}},108:function(e,t,n){"use strict";n.d(t,"d",(function(){return i})),n.d(t,"c",(function(){return a})),n.d(t,"k",(function(){return r})),n.d(t,"l",(function(){return o})),n.d(t,"o",(function(){return s})),n.d(t,"g",(function(){return l})),n.d(t,"e",(function(){return c})),n.d(t,"f",(function(){return d})),n.d(t,"b",(function(){return u})),n.d(t,"a",(function(){return m})),n.d(t,"i",(function(){return v})),n.d(t,"j",(function(){return f})),n.d(t,"h",(function(){return p})),n.d(t,"p",(function(){return h})),n.d(t,"m",(function(){return y})),n.d(t,"n",(function(){return b}));var i="GET_COURSES",a="SAVE_COURSES",r="SET_SELECTED_COURSE",o="SET_SELECTED_COURSES",s="SET_VALID_SELECTED_COURSES",l="SET_LOADING_COURSES",c="SET_COURSES_PAGE_NAVIGATION",d="SET_COURSES_REQUEST_BODY",u="DELETE_COURSE",m="ADD_SAVED_FILTER_COURSE",v="SET_SAVED_FILTER_COURSE",f="SET_SAVED_FILTER_COURSE_ID",p="SET_SAVED_FILTERS_COURSE",h="UPDATE_SAVED_FILTER_COURSE",y="SET_SELECTED_COURSE_FILTERS",b="SET_SELECTED_SESSION_IDS"},11:function(e,t,n){"use strict";n.d(t,"h",(function(){return i.a})),n.d(t,"a",(function(){return a.d})),n.d(t,"b",(function(){return a.e})),n.d(t,"d",(function(){return a.h})),n.d(t,"c",(function(){return a.g})),n.d(t,"i",(function(){return a.q})),n.d(t,"e",(function(){return a.i})),n.d(t,"f",(function(){return a.k})),n.d(t,"g",(function(){return a.m})),n.d(t,"k",(function(){return r.a})),n.d(t,"j",(function(){return o})),n.d(t,"l",(function(){return s.a})),n.d(t,"m",(function(){return l.a}));var i=n(274),a=n(24),r=n(247),o=function(e){switch(e.toLowerCase()){case".jpg":case".jpeg":case".png":case".gif":case".svg":case".blob":return"FileImage";case".doc":case".docx":return"FileWord";case".csv":case".xls":case".xlsx":return"FileExcel";case".ppt":case".pptx":return"FilePowerpoint";case".pdf":return"FilePdf";case".zip":return"FileArchive";case".txt":return"FileTxt";default:return"File"}},s=(n(363),n(0),n(1),n(26)),l=n(170)},110:function(e,t,n){"use strict";n(663);var i=n(104);n.d(t,"h",(function(){return i.a})),n.d(t,"i",(function(){return i.c})),n.d(t,"j",(function(){return i.e})),n.d(t,"k",(function(){return i.f}));n(208);var a=n(115);n.d(t,"a",(function(){return a.c})),n.d(t,"b",(function(){return a.d})),n.d(t,"c",(function(){return a.f})),n.d(t,"d",(function(){return a.g})),n.d(t,"e",(function(){return a.i})),n.d(t,"f",(function(){return a.j})),n.d(t,"g",(function(){return a.l}))},113:function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return r})),n.d(t,"c",(function(){return o})),n.d(t,"d",(function(){return s})),n.d(t,"e",(function(){return l}));var i=n(207),a=function(e){return{type:i.a,payload:e}},r=function(e){return{type:i.d,payload:e}},o=function(e){return{type:i.e,payload:e}},s=function(e){return{type:i.f,payload:e}},l=function(e){return{type:i.g,payload:e}}},115:function(e,t,n){"use strict";n.d(t,"h",(function(){return d})),n.d(t,"j",(function(){return u})),n.d(t,"g",(function(){return m})),n.d(t,"i",(function(){return v})),n.d(t,"f",(function(){return f})),n.d(t,"l",(function(){return p})),n.d(t,"n",(function(){return h})),n.d(t,"c",(function(){return y})),n.d(t,"d",(function(){return b})),n.d(t,"m",(function(){return g})),n.d(t,"b",(function(){return E})),n.d(t,"k",(function(){return I})),n.d(t,"a",(function(){return S})),n.d(t,"e",(function(){return O}));var i=n(13),a=n(2),r=n(12),o=n(26),s=n(189),l=n(51),c=n(104),d=function(e){return function(t){var n=new a.Mg({filterBy:[],searchCriteria:["Active","type:1,2,3"],sortBy:"name",page:1,pageSize:10});return i.pb.getRolesDetailed(void 0,e?a.Mg.fromJS(e):n).then((function(e){return e})).catch((function(e){throw t(Object(r.b)(e)),e}))}},u=function(e){var t=new a.Mg({sortBy:"-isDefault,name",searchCriteria:["type:1,2,3"],pageSize:-1});return function(n,o){var s=o().roles,l=s.requestBody,d=s.selectedRoles;return n(c.e(null)),i.pb.getRolesDetailed(void 0,a.Mg.fromJS(e?t:l)).then((function(t){return n(c.e(t.roles)),n(c.g(e?null:d)),n(c.b(t.recordCount)),t.roles})).catch((function(e){n(Object(r.b)(e))}))}},m=function(e){return function(t){return t(c.e(null)),i.pb.getRolesDetailed(void 0,a.Mg.fromJS(e)).then((function(e){return e.roles})).catch((function(e){t(Object(r.b)(e))}))}},v=function(e){return function(t){return i.pb.getRolesListById(void 0,new a.Gi({roleId:e})).then((function(e){return e.roles})).catch((function(e){return t(Object(r.b)(e)),null}))}},f=function(e,t){return function(n){return("csv"===t?i.pb.exportCsv(void 0,a.Mg.fromJS(e)):i.pb.exportExcel(void 0,a.Mg.fromJS(e))).then((function(e){var n=window.URL.createObjectURL(new Blob([e.data])),i=document.createElement("a");i.href=n,i.setAttribute("download",e.fileName||"roles.".concat(t)),document.body.appendChild(i),i.click(),i.remove()})).catch((function(e){n(Object(r.b)(e))}))}},p=function(e){var t=new a.Ng({sortBy:"-isDefault,name",filterBy:["type:".concat(e),"isActive:true"],pageSize:-1});return function(e){return e(c.e(null)),i.pb.getRoles(void 0,a.Mg.fromJS(t)).then((function(t){return e(c.e(t.roles)),t.roles})).catch((function(t){e(Object(r.b)(t))}))}},h=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return function(t,n){var o,c,d=n().roles.selectedRole,m=new a.Qn({roleId:null===d||void 0===d?void 0:d.roleId,name:null!==(o=null===d||void 0===d?void 0:d.name)&&void 0!==o?o:"",rolePermissionSets:null===d||void 0===d||null===(c=d.rolePermissionSets)||void 0===c?void 0:c.flatMap((function(e){return e.permissionSetId})),description:null===d||void 0===d?void 0:d.description,isActive:null===d||void 0===d?void 0:d.isActive,isDefault:null===d||void 0===d?void 0:d.isDefault,roleTypeId:null===d||void 0===d?void 0:d.type});return i.pb.updateRole(void 0,m).then((function(){t(Object(r.a)({message:"Save successful",variant:"success"})),t(u(!e)),t(Object(s.b)()),t(Object(l.e)())})).catch((function(e){t(Object(r.b)(e))}))}},y=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return function(n){return i.pb.createRole(void 0,a.Qc.fromJS(e)).then((function(e){return n(Object(r.a)({message:"Role created.",variant:"success"})),n(u(!t)),n(Object(s.b)()),n(Object(l.e)()),e})).catch((function(e){throw n(Object(r.b)(e)),e}))}},b=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return function(n){i.pb.deleteRole(void 0,a.ge.fromJS({roleIdList:e})).then((function(){n(Object(r.a)({message:"Successfully deleted ".concat(e.length," ").concat(1===e.length?"record":"records","."),variant:"success"})),n(u(!t))})).catch((function(e){throw n(Object(r.b)(e)),e}))}},g=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return function(n){return i.pb.mergeRole(void 0,a.Dk.fromJS(e)).then((function(){n(Object(r.a)({message:"Roles merged",variant:"success"})),n(u(!t)),n(Object(s.b)()),n(Object(l.e)())})).catch((function(e){n(c.g(null)),n(Object(r.b)(e))}))}},E=function(e){var t,n="".concat(1===(null===(t=e.roleUserIds)||void 0===t?void 0:t.length)?"User":"Users"," successfully assigned to role.");return function(t){return i.pb.assignUserToRole(void 0,e).then((function(e){t(c.d(e)),t(Object(r.a)({message:n,variant:"success"})),t(Object(s.b)()),t(Object(l.e)()),t(u())})).catch((function(e){t(Object(r.b)(e))}))}},I=function(e,t,n,o,s){var l=new a.Fi({roleId:e,filterBy:[],searchCriteria:void 0!==s?s:[],sortBy:t,page:n,pageSize:o});return function(e){return i.pb.getRolesByRoleId(void 0,a.Fi.fromJS(l)).then((function(e){return e})).catch((function(t){e(Object(r.b)(t))}))}},S=function(e){var t,n="License ".concat(1===(null===(t=e.licenseIds)||void 0===t?void 0:t.length)?"limitation":"limitations"," successfully added to role.");return function(t){return i.pb.addRoleLicenseLimitation(void 0,e).then((function(e){t(c.d(e)),t(Object(r.a)({message:n,variant:"success"})),t(Object(l.e)())})).catch((function(e){t(Object(r.b)(e))}))}},O=function(e){var t,n="License ".concat(1===(null===(t=e.licenseIds)||void 0===t?void 0:t.length)?"limitation":"limitations"," successfully removed from role.");return function(t,a){var s=a().roles.selectedRole;i.pb.deleteRoleLicenseLimitation(void 0,e).then((function(){var i,a=Object(o.a)(s,{roleLicenseLimitations:null===s||void 0===s||null===(i=s.roleLicenseLimitations)||void 0===i?void 0:i.filter((function(t){var n;return!(null===(n=e.licenseIds)||void 0===n?void 0:n.includes(t.licenseId))}))});t(c.d(a)),t(Object(r.a)({message:n,variant:"success"})),t(Object(l.e)())})).catch((function(e){t(Object(r.a)({message:e.detail,variant:"error"}))}))}}},117:function(e,t,n){"use strict";n.d(t,"f",(function(){return s})),n.d(t,"d",(function(){return l})),n.d(t,"e",(function(){return c})),n.d(t,"h",(function(){return d})),n.d(t,"b",(function(){return u})),n.d(t,"a",(function(){return m})),n.d(t,"g",(function(){return v})),n.d(t,"j",(function(){return f})),n.d(t,"i",(function(){return p})),n.d(t,"c",(function(){return h}));var i=n(13),a=n(2),r=n(12),o=n(86),s=function(e,t){var n=new a.fg({filterBy:[],searchCriteria:["Active"],sortBy:"name",page:1,pageSize:-1});return function(r,s){var l=s().departments,c=l.requestBody,d=l.selectedDepartments,u=l.statusFilter;return t||(r(o.a(null)),r(o.f(""))),i.y.getAll(void 0,a.fg.fromJS(void 0!==e?e?n:c:{sortBy:"name"})).then((function(i){return t||(r(o.a(i.departments)),r(o.b(i.recordCount)),r(o.e(e?[]:d)),r(o.c(void 0!==e?e?n:c:{sortBy:"name"})),r(o.f(e?"Active":void 0!==u&&null!==u?u:"Active"))),i})).catch((function(){r(o.a())}))}},l=function(e){return function(t){return i.y.getAll(void 0,a.fg.fromJS(e)).then((function(e){return e.departments})).catch((function(){t(o.a())}))}},c=function(e){return function(t){return i.y.getDepartmentListById(void 0,new a.Uh({departmentId:e})).then((function(e){return e})).catch((function(e){return t(Object(r.b)(e)),null}))}},d=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return function(t,n){var o=n().departments.selectedDepartment;return(e?i.y.create("v1",a.tc.fromJS(o)):i.y.update("v1",a.cn.fromJS(o))).then((function(){t(Object(r.a)({message:"Save successful",variant:"success"})),t(s(!0))})).catch((function(e){t(Object(r.b)(e))}))}},u=function(e){var t=new a.Md({departmentIdList:e});return function(n){return i.y.delete(void 0,t).then((function(t){return n(s(!0)),t.length===e.length?(n(Object(r.a)({message:"None of the selected departments are valid for deletion.",variant:"warning"})),null):(n(Object(r.a)({message:"".concat(e.length>1?"Departments successfully deleted.":"Department successfully deleted."),variant:"success"})),t)})).catch((function(e){n(Object(r.a)({message:e.detail,variant:"error"}))}))}},m=function(e,t,n,l){var c=new a.J({departmentIdList:e,isArchive:t,isSelectedAll:null!==n&&void 0!==n&&n,exemptedIdList:null!==l&&void 0!==l?l:[]});return function(n){return i.y.archive(void 0,c).then((function(){n(o.e([])),n(Object(r.a)({message:"".concat(e.length>1?"Records":"Record"," ").concat(t?"deactivated.":"activated."),variant:"success"})),n(s(!0))})).catch((function(e){n(Object(r.a)({message:e.detail,variant:"error"}))}))}},v=function(e){return function(t){return i.y.merge(void 0,a.uk.fromJS(e)).then((function(){t(o.e([])),t(Object(r.a)({message:"Departments merged",variant:"success"})),t(s(!0))})).catch((function(e){t(o.e([])),t(Object(r.a)({message:e.detail,variant:"error"}))}))}},f=function(e,t){return function(n){return i.y.validateDepartmentName(void 0,a.op.fromJS(new a.op({departmentIds:e,name:t}))).then((function(e){return e})).catch((function(e){n(Object(r.b)(e))}))}},p=function(e,t){return function(n){return i.y.validateDepartmentCode(void 0,a.np.fromJS(new a.np({departmentIds:e,code:t}))).then((function(e){return e})).catch((function(e){n(Object(r.b)(e))}))}},h=function(e,t){return function(n){return("csv"===t?i.y.exportCsv(void 0,a.fg.fromJS(e)):i.y.exportExcel(void 0,a.fg.fromJS(e))).then((function(e){var n=window.URL.createObjectURL(new Blob([e.data])),i=document.createElement("a");i.href=n,i.setAttribute("download",e.fileName||"departments.".concat(t)),document.body.appendChild(i),i.click(),i.remove()})).catch((function(e){n(Object(r.b)(e))}))}}},118:function(e,t,n){"use strict";n.d(t,"f",(function(){return s})),n.d(t,"d",(function(){return l})),n.d(t,"e",(function(){return c})),n.d(t,"h",(function(){return d})),n.d(t,"b",(function(){return u})),n.d(t,"a",(function(){return m})),n.d(t,"g",(function(){return v})),n.d(t,"j",(function(){return f})),n.d(t,"i",(function(){return p})),n.d(t,"c",(function(){return h}));var i=n(13),a=n(2),r=n(12),o=n(83),s=function(e,t){var n=new a.Ig({filterBy:[],searchCriteria:["Active"],sortBy:"name",page:1,pageSize:-1});return function(r,s){var l=s().practiceAreas,c=l.requestBody,d=l.selectedPracticeAreas,u=l.statusFilter;return t||(r(o.b(null)),r(o.f(""))),i.kb.getAll(void 0,a.Ig.fromJS(void 0!==e?e?n:c:{sortBy:"name"})).then((function(i){return t||(r(o.b(i.practiceAreas)),r(o.a(i.recordCount)),r(o.e(e?[]:d)),r(o.c(void 0!==e?e?n:c:{sortBy:"name"})),r(o.f(e?"Active":void 0!==u&&null!==u?u:"Active"))),i})).catch((function(){r(o.b())}))}},l=function(e){return function(t){return i.kb.getAll(void 0,a.Ig.fromJS(e)).then((function(e){return e.practiceAreas})).catch((function(){t(o.b())}))}},c=function(e){return function(t){return i.kb.getPracticeAreaListById(void 0,new a.Ai({practiceAreaId:e})).then((function(e){return e})).catch((function(e){return t(Object(r.b)(e)),null}))}},d=function(e){return function(t,n){var o=n().practiceAreas.selectedPracticeArea;return(e?i.kb.create("v1",a.Nc.fromJS(o)):i.kb.update("v1",a.Mn.fromJS(o))).then((function(){t(Object(r.a)({message:"Save successful",variant:"success"})),t(s(!0))})).catch((function(e){t(Object(r.b)(e))}))}},u=function(e){var t=new a.ee({practiceAreaIdList:e});return function(n){return i.kb.delete(void 0,t).then((function(t){return n(s(!0)),t.length===e.length?(n(Object(r.a)({message:"None of the selected practice areas are valid for deletion.",variant:"warning"})),null):(n(Object(r.a)({message:"".concat(e.length>1?"Practice Areas successfully deleted.":"Practice Area successfully deleted."),variant:"success"})),t)})).catch((function(e){n(Object(r.a)({message:e.detail,variant:"error"}))}))}},m=function(e,t,n,l){var c=new a.V({practiceAreaIdList:e,isArchive:t,isSelectedAll:null!==n&&void 0!==n&&n,exemptedIdList:null!==l&&void 0!==l?l:[]});return function(n){return i.kb.archive(void 0,c).then((function(){n(o.e([])),n(Object(r.a)({message:"".concat(e.length>1?"Records":"Record"," ").concat(t?"deactivated.":"activated."),variant:"success"})),n(s(!0))})).catch((function(e){n(Object(r.a)({message:e.detail,variant:"error"}))}))}},v=function(e){return function(t){return i.kb.merge(void 0,a.Bk.fromJS(e)).then((function(){t(o.e([])),t(Object(r.a)({message:"Practice Areas merged",variant:"success"})),t(s(!0))})).catch((function(e){t(o.e([])),t(Object(r.a)({message:e.detail,variant:"error"}))}))}},f=function(e,t){return function(n){return i.kb.validatePracticeAreaName(void 0,a.Dp.fromJS(new a.Dp({practiceAreaIds:e,name:t}))).then((function(e){return e})).catch((function(e){n(Object(r.b)(e))}))}},p=function(e,t){return function(n){return i.kb.validatePracticeAreaCode(void 0,a.Cp.fromJS(new a.Cp({practiceAreaIds:e,code:t}))).then((function(e){return e})).catch((function(e){n(Object(r.b)(e))}))}},h=function(e,t){return function(n){return("csv"===t?i.kb.exportCsv(void 0,a.Ig.fromJS(e)):i.kb.exportExcel(void 0,a.Ig.fromJS(e))).then((function(e){var n=window.URL.createObjectURL(new Blob([e.data])),i=document.createElement("a");i.href=n,i.setAttribute("download",e.fileName||"practiceAreas.".concat(t)),document.body.appendChild(i),i.click(),i.remove()})).catch((function(e){n(Object(r.b)(e))}))}}},12:function(e,t,n){"use strict";n.d(t,"c",(function(){return a})),n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return o}));var i=n(334),a=function(){return{type:i.b,payload:null}},r=function(e){return{type:i.a,payload:e}},o=function(e){var t,n=[],a={variant:"error",message:"",autoHideDuration:1e4};if(void 0===e)a.message="Error 500";else if(400===e.status)e.errors?(Object.keys(e.errors).forEach((function(t){n.push(e.errors[t])})),a.message=n.join(", ")):a.message=e.title;else{var r;a.message=null!==(r=e.detail)&&void 0!==r?r:""}return""===(null!==(t=null===a||void 0===a?void 0:a.message)&&void 0!==t?t:"")&&(a.message="The application has encountered an unknown error.",a.detail="Help us improve your experience by sending an error report to cemsupport@micronsystems.com"),{type:i.a,payload:a}}},120:function(e,t,n){"use strict";n.d(t,"k",(function(){return i})),n.d(t,"c",(function(){return a})),n.d(t,"d",(function(){return r})),n.d(t,"j",(function(){return o})),n.d(t,"g",(function(){return s})),n.d(t,"b",(function(){return l})),n.d(t,"n",(function(){return c})),n.d(t,"m",(function(){return d})),n.d(t,"h",(function(){return u})),n.d(t,"f",(function(){return m})),n.d(t,"e",(function(){return v})),n.d(t,"i",(function(){return f})),n.d(t,"l",(function(){return p})),n.d(t,"a",(function(){return h}));var i="SET_MAINT_PROVIDERS",a="SET_MAINT_COMPETENCIES",r="SET_MAINT_DEPARTMENTS",o="SET_MAINT_PRACTICEAREAS",s="SET_MAINT_LEVELS",l="SET_MAINT_CLASSYEARS",c="SET_MAINT_TAGS",d="SET_MAINT_ROOMS",u="SET_MAINT_LOCATIONS",m="SET_MAINT_GENDERS",v="SET_MAINT_ETHNICITIES",f="SET_MAINT_POSITIONS",p="SET_MAINT_ROLES",h="SET_MAINT_AFFILIATIONS"},121:function(e,t,n){"use strict";n.d(t,"d",(function(){return i})),n.d(t,"h",(function(){return a})),n.d(t,"k",(function(){return r})),n.d(t,"l",(function(){return o})),n.d(t,"m",(function(){return s})),n.d(t,"i",(function(){return l})),n.d(t,"j",(function(){return c})),n.d(t,"n",(function(){return d})),n.d(t,"c",(function(){return u})),n.d(t,"b",(function(){return m})),n.d(t,"g",(function(){return v})),n.d(t,"e",(function(){return f})),n.d(t,"f",(function(){return p})),n.d(t,"a",(function(){return h})),n.d(t,"o",(function(){return y}));var i="SET_REQUEST_BODY_SECURITYUSERS",a="SET_SECURITYUSERS",r="SET_SELECTED_SECURITYUSER",o="SET_SELECTED_SECURITYUSERS",s="SET_UPDATE_SECURITYUSER",l="SET_SECURITYUSER_ROLES",c="SET_SECURITYUSER_SECURITYGROUPS",d="SET_USERTYPES",u="SET_IS_ENABLED_SAVING",m="SET_APPLIED_FILTER_USER",v="SET_SAVED_FILTER_USER_ID",f="SET_SAVED_FILTERS_USER",p="SET_SAVED_FILTER_USER",h="ADD_SAVED_FILTER_USER",y="UPDATE_SAVED_FILTER_USER"},1212:function(e,t){},1246:function(e){e.exports=JSON.parse('{"Introduction":"\u7b80\u4ecb","Home":"\u5bb6","System Users":"\u7cfb\u7edf\u7528\u6237","Learning":"\u5b66\u4e60","Courses":"\u8bfe\u7a0b","Activities":"\u6d3b\u52a8\u9879\u76ee","Learning Plans":"\u5b66\u4e60\u8ba1\u5212","Compliance":"\u5408\u89c4","Reports":"\u62a5\u544a","Standard Reports":"\u6807\u51c6\u62a5\u544a","Custom Reports":"\u81ea\u5b9a\u4e49\u62a5\u544a","Regulator Reports":"\u76d1\u7ba1\u673a\u6784\u62a5\u544a","Library":"\u56fe\u4e66\u9986","Recorded Programs":"\u5f55\u5236\u8282\u76ee","Learning Packages":"\u5b66\u4e60\u5305","Materials":"\u7528\u6599","Regulator Summaries":"\u76d1\u7ba1\u673a\u6784\u6458\u8981","System Configuration":"\u7cfb\u7edf\u914d\u7f6e","Add User":"\u6dfb\u52a0\u7528\u6237","Setting":"\u8bbe\u7f6e","Settings":"\u8bbe\u7f6e","Language":"\u8bed\u8a00","Profile":"\u8f6e\u5ed3","Preferences":"\u4f18\u5148","Security":"\u5b89\u5168","Permissions":"\u6743\u9650","Templates":"\u8303\u672c","Data Management":"\u6570\u636e\u7ba1\u7406","Logs":"\u65e5\u5fd7"}')},1247:function(e){e.exports=JSON.parse('{"Introduction":"Introduction","Home":"Dashboard","System Users":"Accountants","Learning":"Learning","Courses":"Courses","Activities":"Tasks","Learning Plans":"Learning Plans","Compliance":"Compliance","Reports":"Reports","Standard Reports":"Standard Reports","Custom Reports":"Custom Reports","Regulator Reports":"Auditor Reports","Library":"Library","Recorded Programs":"Recorded Programs","Learning Packages":"Learning Packages","Materials":"Materials","Regulator Summaries":"Auditor Summaries","System Configuration":"System Configuration","Add User":"Add User","Setting":"Setting","Language":"Language","Profile":"Profile","Preferences":"Preferences","Security":"Security","Permissions":"Permissions","Templates":"Templates","Data Management":"Data Management","Logs":"Logs"}')},1248:function(e){e.exports=JSON.parse('{"Introduction":"Introduction","Home":"Home","System Users":"System Users","Learning":"Learning","Courses":"Courses","Activities":"Activities","Learning Plans":"Learning Plans","Compliance":"Compliance","Reports":"Reports","Standard Reports":"Standard Reports","Custom Reports":"Custom Reports","Regulator Reports":"Regulator Reports","Library":"Library","Recorded Programs":"Recorded Programs","Learning Packages":"Learning Packages","Materials":"Materials","Regulator Summaries":"Regulator Summaries","System Configuration":"System Configuration","Add User":"Add User","Setting":"Setting","Settings":"Settings","Default Language":"Default Language","Language":"Language","Profile":"Profile","Preferences":"Preferences","Security":"Security","Permissions":"Permissions","Templates":"Templates","Data Management":"Data Management","Logs":"Logs","General":"General","Password Policy":"Password Policy"}')},1249:function(e){e.exports=JSON.parse('{"Introduction":"Introduction","Home":"Home","System Users":"Lawyers","Learning":"Learning","Courses":"Courses","Activities":"Activities","Learning Plans":"Learning Plans","Compliance":"Compliance","Reports":"Reports","Standard Reports":"Standard Reports","Custom Reports":"Custom Reports","Regulator Reports":"Regulator Reports","Library":"Library","Recorded Programs":"Recorded Programs","Learning Packages":"Learning Packages","Materials":"Materials","Regulator Summaries":"Regulator Summaries","System Configuration":"System Configuration","Add User":"Add User","Setting":"Setting","Language":"Language","Profile":"Profile","Preferences":"Preferences","Security":"Security","Permissions":"Permissions","Templates":"Templates","Data Management":"Data Management","Logs":"Logs"}')},1250:function(e){e.exports=JSON.parse('{"Home":"Maison","System Users":"Utilisateurs syst\xe8me","Learning":"Apprentissage","Compliance":"Conformit\xe9","Reports":"Rapports","Library":"Biblioth\xe8que","System Configuration":"Configuration syst\xe8me","Add User":"Add User","Setting":"Setting","Language":"Langue"}')},126:function(e,t,n){"use strict";n.d(t,"f",(function(){return s})),n.d(t,"d",(function(){return l})),n.d(t,"e",(function(){return c})),n.d(t,"h",(function(){return d})),n.d(t,"b",(function(){return u})),n.d(t,"a",(function(){return m})),n.d(t,"g",(function(){return v})),n.d(t,"i",(function(){return f})),n.d(t,"c",(function(){return p}));var i=n(13),a=n(2),r=n(12),o=n(88),s=function(e,t){var n=new a.Hg({filterBy:[],searchCriteria:["Active"],sortBy:"name",page:1,pageSize:10});return function(r,s){var l=s().positions,c=l.requestBody,d=l.selectedPositions,u=l.statusFilter;return t||(r(o.b(null)),r(o.f(""))),i.jb.getAll(void 0,a.Hg.fromJS(void 0!==e?e?n:c:{sortBy:"name"})).then((function(i){return t||(r(o.b(i.positions)),r(o.e(e?[]:d)),r(o.c(void 0!==e?e?n:c:{sortBy:"name"})),r(o.a(i.recordCount)),r(o.f(e?"Active":void 0!==u&&null!==u?u:"Active"))),i})).catch((function(){r(o.b())}))}},l=function(e){return function(t){return i.jb.getAll(void 0,a.Hg.fromJS(e)).then((function(e){return e.positions})).catch((function(){t(o.b())}))}},c=function(e){return function(t){return i.jb.getPositionListById(void 0,new a.zi({positionId:e})).then((function(e){return e})).catch((function(e){return t(Object(r.b)(e)),null}))}},d=function(e){return function(t,n){var o=n().positions.selectedPosition;return(e?i.jb.create("v1",a.Mc.fromJS(o)):i.jb.update("v1",a.Ln.fromJS(o))).then((function(){t(Object(r.a)({message:"Save successful",variant:"success"})),t(s(!0))})).catch((function(e){t(Object(r.b)(e))}))}},u=function(e){var t=new a.de({positionIdList:e});return function(n){return i.jb.delete(void 0,t).then((function(t){return n(s(!0)),t.length===e.length?(n(Object(r.a)({message:"None of the selected positions are valid for deletion.",variant:"warning"})),null):(n(Object(r.a)({message:"".concat(e.length>1?"Positions successfully deleted.":"Position successfully deleted."),variant:"success"})),t)})).catch((function(e){n(Object(r.a)({message:e.detail,variant:"error"}))}))}},m=function(e,t,n,l){var c=new a.U({positionIdList:e,isArchive:t,isSelectedAll:null!==n&&void 0!==n&&n,exemptedIdList:null!==l&&void 0!==l?l:[]});return function(n){return i.jb.archive(void 0,c).then((function(){n(o.e([])),n(Object(r.a)({message:"".concat(e.length>1?"Records":"Record"," ").concat(t?"deactivated.":"activated."),variant:"success"})),n(s(!0))})).catch((function(e){n(Object(r.a)({message:e.detail,variant:"error"}))}))}},v=function(e){return function(t){return i.jb.merge(void 0,a.Ak.fromJS(e)).then((function(){t(o.e([])),t(Object(r.a)({message:"Positions merged",variant:"success"})),t(s(!0))})).catch((function(e){t(o.e([])),t(Object(r.a)({message:e.detail,variant:"error"}))}))}},f=function(e,t){return function(n){return i.jb.validatePositionCode(void 0,a.Bp.fromJS(new a.Bp({positionIds:e,code:t}))).then((function(e){return e})).catch((function(e){n(Object(r.b)(e))}))}},p=function(e,t){return function(n){return("csv"===t?i.jb.exportCsv(void 0,a.Hg.fromJS(e)):i.jb.exportExcel(void 0,a.Hg.fromJS(e))).then((function(e){var n=window.URL.createObjectURL(new Blob([e.data])),i=document.createElement("a");i.href=n,i.setAttribute("download",e.fileName||"positions.".concat(t)),document.body.appendChild(i),i.click(),i.remove()})).catch((function(e){n(Object(r.b)(e))}))}}},1260:function(e,t,n){"use strict";(function(e){var i=n(5),a=n(0),r=n.n(a),o=n(1),s=n(1261);t.a=function(t){var n=t.open,l=t.isLoading,c=t.reportData,d=t.reportingYear,u=t.onClose,m=Object(a.useState)(!1),v=Object(i.a)(m,2),f=v[0],p=v[1],h=Object(s.a)(),y=0,b=0,g=0,E=0,I=0,S=0,O=0,C=0,j=0,x=0,A=0,T=function(){return r.a.createElement(r.a.Fragment,null,c.map((function(e){return y=e.courseList&&e.courseList.length>0&&e.courseList.map((function(e){return e.earned})).reduce((function(e,t){return e+t}))||0,b=e.courseList&&e.courseList.length>0&&e.courseList.map((function(e){return e.fCredits})).reduce((function(e,t){return e+t}))||0,g=e.courseList&&e.courseList.length>0&&e.courseList.map((function(e){return e.pdCredits})).reduce((function(e,t){return e+t}))||0,E=e.courseList&&e.courseList.length>0&&e.courseList.map((function(e){return e.sCredits})).reduce((function(e,t){return e+t}))||0,I=e.courseList&&e.courseList.length>0&&e.courseList.map((function(e){return e.cCredits})).reduce((function(e,t){return e+t}))||0,S=e.courseList&&e.courseList.length>0&&e.courseList.map((function(e){return e.tcCredits})).reduce((function(e,t){return e+t}))||0,O=e.courseList&&e.courseList.length>0&&e.courseList.map((function(e){return e.iCredits})).reduce((function(e,t){return e+t}))||0,C=e.courseList&&e.courseList.length>0&&e.courseList.map((function(e){return e.pCredits})).reduce((function(e,t){return e+t}))||0,j=e.courseList&&e.courseList.length>0&&e.courseList.map((function(e){return e.eCredits})).reduce((function(e,t){return e+t}))||0,x=e.yearOnePDCredits+e.yearTwoPDCredits>16?16:e.yearOnePDCredits+e.yearTwoPDCredits,A=b+x+E+S+I+O+C+j,r.a.createElement(o.Box,{style:{width:"80%",margin:"0 auto"},key:"reportData"},r.a.createElement(o.Table,{style:{backgroundColor:f?"#FFFFFF":"#FAFAFA"},className:h.coursesTable},r.a.createElement(o.TableRow,null,r.a.createElement(o.TableCell,{colSpan:12,style:{textAlign:"center",borderStyle:"solid",borderWidth:"thin",borderBottom:"none"}},r.a.createElement(o.Typography,{variant:"body1",style:{fontWeight:"bold",fontSize:"21px"}},"REPORT OF CONTINUING EDUCATION ATTENDANCE"),r.a.createElement(o.Typography,{variant:"body1",style:{fontWeight:"bold",fontSize:"21px"}},"FOR CALENDAR YEAR"," ".concat(d)))),r.a.createElement(o.TableRow,null,r.a.createElement(o.TableCell,{colSpan:7,style:{textAlign:"left",borderLeftStyle:"solid",borderLeftWidth:"thin",borderRight:"none",borderTop:"none",borderBottom:"none"}},r.a.createElement(o.Typography,{variant:"body1",style:{fontWeight:"bold",fontSize:"16px"}},"MAIL TO: Nebraska Board of Public Accountancy (NBPA)"),r.a.createElement(o.Typography,{variant:"body1",style:{fontWeight:"bold",fontSize:"16px"}},"\xa0\xa0\xa0\xa0\xa0\xa0\xa0\xa0\xa0\xa0\xa0\xa0\xa0\xa0\xa0\xa0PO Box 94725, Lincoln, NE 68509")),r.a.createElement(o.TableCell,{colSpan:5,style:{textAlign:"left",borderRightStyle:"solid",borderRightWidth:"thin",borderTop:"none",borderLeft:"none",borderBottom:"none"}},r.a.createElement(o.Typography,{variant:"body1",style:{fontWeight:"bold",fontSize:"16px"}},"DEADLINE: JANUARY 31"),r.a.createElement(o.Typography,{variant:"body1"},"\xa0"))),r.a.createElement(o.TableRow,null,r.a.createElement(o.TableCell,{colSpan:12,style:{textAlign:"center",borderStyle:"solid",borderWidth:"thin",borderTop:"none",borderBottom:"none"}},r.a.createElement(o.Typography,{variant:"body1",style:{fontWeight:"bold",fontSize:"16px"}},"You must use this form or report your continuing education hours online by January 31st of each year."),r.a.createElement(o.Typography,{variant:"body1",style:{fontWeight:"bold",fontSize:"16px"}},"Failure to comply with the instructions may delay the processing and recording of your CPE hours."))),r.a.createElement(o.TableRow,null,r.a.createElement(o.TableCell,{colSpan:12,style:{borderStyle:"solid",borderWidth:"thin",borderTop:"none",borderBottom:"none"}})),r.a.createElement(o.TableRow,null,r.a.createElement(o.TableCell,{colSpan:5,style:{borderLeft:"solid",borderTop:"solid",borderBottom:"solid",textAlign:"left"}},r.a.createElement(o.Typography,{variant:"body1",style:{fontWeight:"bold",fontSize:"16px"}},"Certificate #:"),r.a.createElement("br",null),r.a.createElement(o.Typography,{variant:"body1",style:{fontWeight:"bold",fontSize:"16px"}},"Name:"," ".concat(e.name)),r.a.createElement(o.Typography,{variant:"body1",style:{fontWeight:"bold",fontSize:"16px"}},"Address:"," ".concat(e.address)),r.a.createElement("br",null),r.a.createElement("br",null),r.a.createElement(o.Typography,{variant:"body1",style:{fontWeight:"bold",fontSize:"16px"}},"Email:"," ".concat(e.email))),r.a.createElement(o.TableCell,{colSpan:7,style:{borderRight:"solid",borderTop:"solid",borderBottom:"solid",textAlign:"left"}},r.a.createElement("br",null),"\xa0",r.a.createElement("br",null),"\xa0",r.a.createElement("br",null),r.a.createElement(o.Typography,{variant:"body1",style:{fontWeight:"bold",fontSize:"16px"}},"Employer:"," ".concat(e.firmName)),r.a.createElement(o.Typography,{variant:"body1",style:{fontWeight:"bold",fontSize:"16px"}},"Phone:"," ".concat(e.phone)),r.a.createElement("br",null),r.a.createElement(o.Typography,{variant:"body1",style:{fontWeight:"bold",fontSize:"16px"}},"BIRTH YEAR:"," ".concat(e.birthYear)))),r.a.createElement(o.TableRow,null,r.a.createElement(o.TableCell,{colSpan:12,style:{textAlign:"left",borderStyle:"solid",borderWidth:"thin",borderTop:"none",borderBottom:"none"}},r.a.createElement(o.Typography,{variant:"body1",style:{fontWeight:"bold",fontSize:"16px"}},e&&e.courseList&&e.courseList.length>0?String.fromCharCode(9744):String.fromCharCode(9745),"I have not taken any continuing education hours in the above calendar year."),r.a.createElement(o.Typography,{variant:"body1",weight:"light",style:{fontWeight:"lighter",fontSize:"13px"}},"\xa0\xa0\xa0\xa0(Check this box if this applies to you: make any mailing address corrections above, sign, date, and return this form to the Board by January 31.)"))),r.a.createElement(o.TableRow,null,r.a.createElement(o.TableCell,{colSpan:2,style:{borderLeftStyle:"solid",borderLeftWidth:"thin",borderTop:"none",borderRight:"none",borderBottom:"none"}}),r.a.createElement(o.TableCell,{colSpan:10,style:{textAlign:"left",borderRightStyle:"solid",borderRightWidth:"thin",borderTop:"none",borderLeft:"none",borderBottom:"none"}},r.a.createElement(o.Typography,{variant:"body1",weight:"regular",style:{textDecoration:"underline",fontSize:"14px"}},"*Approved by the NBPA via Program Qualification"),r.a.createElement(o.Typography,{variant:"body1",weight:"regular",style:{textDecoration:"underline",fontSize:"14px"}},"Form or NASBA Approved Sponsor - www.nasba.org"))),r.a.createElement(o.TableRow,{className:h.coursesTableHead},r.a.createElement(o.TableCell,{align:"left",style:{borderStyle:"solid",borderWidth:"thin",padding:"2px 2px",verticalAlign:"top",backgroundColor:"#EDEDED",width:"1.32in"}},r.a.createElement(o.Typography,{variant:"body1",style:{fontWeight:"bold",textAlign:"center",fontSize:"13px"}},"PROGRAM SPONSOR")),r.a.createElement(o.TableCell,{align:"left",style:{borderStyle:"solid",borderWidth:"thin",padding:"2px 2px",verticalAlign:"top",backgroundColor:"#EDEDED",width:"2.1in"}},r.a.createElement(o.Typography,{variant:"body1",style:{fontWeight:"bold",textAlign:"center",fontSize:"13px"}},"TITLE")),r.a.createElement(o.TableCell,{align:"left",style:{borderStyle:"solid",borderWidth:"thin",padding:"2px 2px",verticalAlign:"top",backgroundColor:"#EDEDED",width:"0.88in"}},r.a.createElement(o.Typography,{variant:"body1",style:{fontWeight:"bold",textAlign:"center",fontSize:"13px"}},"DATES")),r.a.createElement(o.TableCell,{colSpan:2,align:"center",style:{borderStyle:"solid",borderWidth:"thin",padding:"2px 2px",verticalAlign:"top",backgroundColor:"#EDEDED"}},r.a.createElement(o.Typography,{variant:"body1",style:{fontWeight:"bold",textAlign:"center",fontSize:"13px"}},"FORMAL HOURS")),r.a.createElement(o.TableCell,{colSpan:6,align:"center",style:{borderStyle:"solid",borderWidth:"thin",padding:"2px 2px",verticalAlign:"top",backgroundColor:"#EDEDED"}},r.a.createElement(o.Typography,{variant:"body1",style:{fontWeight:"bold",textAlign:"center",fontSize:"13px"}},"HOURS")),r.a.createElement(o.TableCell,{align:"center",style:{borderStyle:"solid",borderWidth:"thin",padding:"2px 2px",verticalAlign:"top",backgroundColor:"#EDEDED",width:"0.83in"}},r.a.createElement(o.Typography,{variant:"body1",style:{fontWeight:"bold",textAlign:"center",fontSize:"13px"}},"Total Earned"))),r.a.createElement(o.TableRow,{className:h.coursesTableHead},r.a.createElement(o.TableCell,{style:{borderStyle:"solid",borderWidth:"thin",backgroundColor:"#DDEBF7",width:"1.32in"}}),r.a.createElement(o.TableCell,{style:{borderStyle:"solid",borderWidth:"thin",backgroundColor:"#DDEBF7",width:"2.1in"}}),r.a.createElement(o.TableCell,{style:{borderStyle:"solid",borderWidth:"thin",backgroundColor:"#DDEBF7",width:"0.88in"}}),r.a.createElement(o.TableCell,{align:"center",style:{borderStyle:"solid",borderWidth:"thin",padding:"2px 2px",verticalAlign:"top",backgroundColor:"#DDEBF7",width:"0.46in"}},r.a.createElement(o.Typography,{variant:"body1",style:{fontWeight:"bold",textAlign:"center",fontSize:"13px"}},"F")),r.a.createElement(o.TableCell,{align:"center",style:{borderStyle:"solid",borderWidth:"thin",padding:"2px 2px",verticalAlign:"top",backgroundColor:"#DDEBF7",width:"0.51in"}},r.a.createElement(o.Typography,{variant:"body1",style:{fontWeight:"bold",textAlign:"center",fontSize:"13px"}},"PD")),r.a.createElement(o.TableCell,{align:"center",style:{borderStyle:"solid",borderWidth:"thin",padding:"2px 2px",verticalAlign:"top",backgroundColor:"#DDEBF7",width:"0.45in"}},r.a.createElement(o.Typography,{variant:"body1",style:{fontWeight:"bold",textAlign:"center",fontSize:"13px"}},"S")),r.a.createElement(o.TableCell,{align:"center",style:{borderStyle:"solid",borderWidth:"thin",padding:"2px 2px",verticalAlign:"top",backgroundColor:"#DDEBF7",width:"0.45in"}},r.a.createElement(o.Typography,{variant:"body1",style:{fontWeight:"bold",textAlign:"center",fontSize:"13px"}},"C")),r.a.createElement(o.TableCell,{align:"center",style:{borderStyle:"solid",borderWidth:"thin",padding:"2px 2px",verticalAlign:"top",backgroundColor:"#DDEBF7",width:"0.45in"}},r.a.createElement(o.Typography,{variant:"body1",style:{fontWeight:"bold",textAlign:"center",fontSize:"13px"}},"TC")),r.a.createElement(o.TableCell,{align:"center",style:{borderStyle:"solid",borderWidth:"thin",padding:"2px 2px",verticalAlign:"top",backgroundColor:"#DDEBF7",width:"0.45in"}},r.a.createElement(o.Typography,{variant:"body1",style:{fontWeight:"bold",textAlign:"center",fontSize:"13px"}},"I")),r.a.createElement(o.TableCell,{align:"center",style:{borderStyle:"solid",borderWidth:"thin",padding:"2px 2px",verticalAlign:"top",backgroundColor:"#DDEBF7",width:"0.45in"}},r.a.createElement(o.Typography,{variant:"body1",style:{fontWeight:"bold",textAlign:"center",fontSize:"13px"}},"P")),r.a.createElement(o.TableCell,{align:"center",style:{borderStyle:"solid",borderWidth:"thin",padding:"2px 2px",verticalAlign:"top",backgroundColor:"#DDEBF7",width:"0.45in"}},r.a.createElement(o.Typography,{variant:"body1",style:{fontWeight:"bold",textAlign:"center",fontSize:"13px"}},"E")),r.a.createElement(o.TableCell,{style:{borderStyle:"solid",borderWidth:"thin",backgroundColor:"#DDEBF7",width:"0.83in"}})),e.courseList&&e.courseList.length>0?e.courseList.map((function(e){return r.a.createElement(o.TableRow,{key:e.sessionId},r.a.createElement(o.TableCell,{style:{borderStyle:"solid",borderWidth:"thin",padding:"2px 2px",verticalAlign:"top",width:"1.32in"}},r.a.createElement(o.Typography,{variant:"body1",weight:"regular",style:{fontSize:"13px"}},e.providerName)),r.a.createElement(o.TableCell,{style:{borderStyle:"solid",borderWidth:"thin",padding:"2px 2px",verticalAlign:"top",width:"2.1in"}},r.a.createElement(o.Typography,{variant:"body1",weight:"regular",style:{fontSize:"13px"}},"".concat(e.title).concat(e.isNasbaApproved?"*":""))),r.a.createElement(o.TableCell,{style:{borderStyle:"solid",borderWidth:"thin",padding:"2px 2px",verticalAlign:"center",width:"0.88in"}},r.a.createElement(o.Typography,{variant:"body1",weight:"regular",style:{fontSize:"13px"}},e.completionDate)),r.a.createElement(o.TableCell,{style:{borderStyle:"solid",borderWidth:"thin",padding:"2px 2px",verticalAlign:"center"}},r.a.createElement(o.Typography,{variant:"body1",weight:"regular",style:{textAlign:"right",fontSize:"13px"}},e.fCredits)),r.a.createElement(o.TableCell,{style:{borderStyle:"solid",borderWidth:"thin",padding:"2px 2px",verticalAlign:"center"}},r.a.createElement(o.Typography,{variant:"body1",weight:"regular",style:{textAlign:"right",fontSize:"13px"}},e.pdCredits)),r.a.createElement(o.TableCell,{style:{borderStyle:"solid",borderWidth:"thin",padding:"2px 2px",verticalAlign:"center"}},r.a.createElement(o.Typography,{variant:"body1",weight:"regular",style:{textAlign:"right",fontSize:"13px"}},e.sCredits)),r.a.createElement(o.TableCell,{style:{borderStyle:"solid",borderWidth:"thin",padding:"2px 2px",verticalAlign:"center"}},r.a.createElement(o.Typography,{variant:"body1",weight:"regular",style:{textAlign:"right",fontSize:"13px"}},e.cCredits)),r.a.createElement(o.TableCell,{style:{borderStyle:"solid",borderWidth:"thin",padding:"2px 2px",verticalAlign:"center"}},r.a.createElement(o.Typography,{variant:"body1",weight:"regular",style:{textAlign:"right",fontSize:"13px"}},e.tcCredits)),r.a.createElement(o.TableCell,{style:{borderStyle:"solid",borderWidth:"thin",padding:"2px 2px",verticalAlign:"center"}},r.a.createElement(o.Typography,{variant:"body1",weight:"regular",style:{textAlign:"right",fontSize:"13px"}},e.iCredits)),r.a.createElement(o.TableCell,{style:{borderStyle:"solid",borderWidth:"thin",padding:"2px 2px",verticalAlign:"center"}},r.a.createElement(o.Typography,{variant:"body1",weight:"regular",style:{textAlign:"right",fontSize:"13px"}},e.pCredits)),r.a.createElement(o.TableCell,{style:{borderStyle:"solid",borderWidth:"thin",padding:"2px 2px",verticalAlign:"center"}},r.a.createElement(o.Typography,{variant:"body1",weight:"regular",style:{textAlign:"right",fontSize:"13px"}},e.eCredits)),r.a.createElement(o.TableCell,{style:{borderStyle:"solid",borderWidth:"thin",padding:"2px 2px",verticalAlign:"center",width:"0.83in"}},r.a.createElement(o.Typography,{variant:"body1",weight:"regular",style:{textAlign:"right",fontSize:"13px"}},e.earned)))})):r.a.createElement(o.TableRow,null,r.a.createElement(o.TableCell,{style:{borderStyle:"solid",borderWidth:"thin",width:"1.32in"}}),r.a.createElement(o.TableCell,{style:{borderStyle:"solid",borderWidth:"thin",width:"2.1in"}}),r.a.createElement(o.TableCell,{style:{borderStyle:"solid",borderWidth:"thin",width:"0.88in"}}),r.a.createElement(o.TableCell,{style:{borderStyle:"solid",borderWidth:"thin"}}),r.a.createElement(o.TableCell,{style:{borderStyle:"solid",borderWidth:"thin"}}),r.a.createElement(o.TableCell,{style:{borderStyle:"solid",borderWidth:"thin"}}),r.a.createElement(o.TableCell,{style:{borderStyle:"solid",borderWidth:"thin"}}),r.a.createElement(o.TableCell,{style:{borderStyle:"solid",borderWidth:"thin"}}),r.a.createElement(o.TableCell,{style:{borderStyle:"solid",borderWidth:"thin"}}),r.a.createElement(o.TableCell,{style:{borderStyle:"solid",borderWidth:"thin"}}),r.a.createElement(o.TableCell,{style:{borderStyle:"solid",borderWidth:"thin"}}),r.a.createElement(o.TableCell,{style:{borderStyle:"solid",borderWidth:"thin",width:"0.83in"}})),r.a.createElement(o.TableRow,null,r.a.createElement(o.TableCell,{style:{borderStyle:"solid",borderWidth:"thin",backgroundColor:"#EDEDED",width:"1.32in"}}),r.a.createElement(o.TableCell,{colSpan:2,align:"left",style:{borderStyle:"solid",borderWidth:"thin",padding:"2px 2px",verticalAlign:"top",backgroundColor:"#EDEDED"}},r.a.createElement(o.Typography,{variant:"body1",style:{fontWeight:"bold",fontSize:"13px"}},"TOTAL")),r.a.createElement(o.TableCell,{align:"left",style:{borderStyle:"solid",borderWidth:"thin",padding:"2px 2px",verticalAlign:"top",textAlign:"right",backgroundColor:"#EDEDED"}},r.a.createElement(o.Typography,{variant:"body1",style:{fontWeight:"bold",textAlign:"right",fontSize:"13px",backgroundColor:"#EDEDED"}},b)),r.a.createElement(o.TableCell,{align:"left",style:{borderStyle:"solid",borderWidth:"thin",padding:"2px 2px",verticalAlign:"top",textAlign:"right",backgroundColor:"#EDEDED"}},r.a.createElement(o.Typography,{variant:"body1",style:{fontWeight:"bold",textAlign:"right",fontSize:"13px",backgroundColor:"#EDEDED"}},g)),r.a.createElement(o.TableCell,{align:"left",style:{borderStyle:"solid",borderWidth:"thin",padding:"2px 2px",verticalAlign:"top",textAlign:"right",backgroundColor:"#EDEDED"}},r.a.createElement(o.Typography,{variant:"body1",style:{fontWeight:"bold",textAlign:"right",fontSize:"13px",backgroundColor:"#EDEDED"}},E)),r.a.createElement(o.TableCell,{align:"left",style:{borderStyle:"solid",borderWidth:"thin",padding:"2px 2px",verticalAlign:"top",textAlign:"right",backgroundColor:"#EDEDED"}},r.a.createElement(o.Typography,{variant:"body1",style:{fontWeight:"bold",textAlign:"right",fontSize:"13px",backgroundColor:"#EDEDED"}},I)),r.a.createElement(o.TableCell,{align:"left",style:{borderStyle:"solid",borderWidth:"thin",padding:"2px 2px",verticalAlign:"top",textAlign:"right",backgroundColor:"#EDEDED"}},r.a.createElement(o.Typography,{variant:"body1",style:{fontWeight:"bold",textAlign:"right",fontSize:"13px",backgroundColor:"#EDEDED"}},S)),r.a.createElement(o.TableCell,{align:"left",style:{borderStyle:"solid",borderWidth:"thin",padding:"2px 2px",verticalAlign:"top",textAlign:"right",backgroundColor:"#EDEDED"}},r.a.createElement(o.Typography,{variant:"body1",style:{fontWeight:"bold",textAlign:"right",fontSize:"13px",backgroundColor:"#EDEDED"}},O)),r.a.createElement(o.TableCell,{align:"left",style:{borderStyle:"solid",borderWidth:"thin",padding:"2px 2px",verticalAlign:"top",textAlign:"right",backgroundColor:"#EDEDED"}},r.a.createElement(o.Typography,{variant:"body1",style:{fontWeight:"bold",textAlign:"right",fontSize:"13px",backgroundColor:"#EDEDED"}},C)),r.a.createElement(o.TableCell,{align:"left",style:{borderStyle:"solid",borderWidth:"thin",padding:"2px 2px",verticalAlign:"top",textAlign:"right",backgroundColor:"#EDEDED"}},r.a.createElement(o.Typography,{variant:"body1",style:{fontWeight:"bold",textAlign:"right",fontSize:"13px",backgroundColor:"#EDEDED"}},j)),r.a.createElement(o.TableCell,{align:"left",style:{borderStyle:"solid",borderWidth:"thin",padding:"2px 2px",verticalAlign:"top",textAlign:"right",backgroundColor:"#EDEDED",width:"0.83in"}},r.a.createElement(o.Typography,{variant:"body1",style:{fontWeight:"bold",textAlign:"right",fontSize:"13px",backgroundColor:"#EDEDED"}},y))),r.a.createElement(o.TableRow,null,r.a.createElement(o.TableCell,{style:{borderStyle:"solid",borderWidth:"thin",width:"1.32in"}}),r.a.createElement(o.TableCell,{colSpan:2,align:"left",style:{borderStyle:"solid",borderWidth:"thin",padding:"2px 2px",verticalAlign:"top"}},r.a.createElement(o.Typography,{variant:"body1",weight:"regular",style:{fontSize:"13px"}},"Personal Development Allowed")),r.a.createElement(o.TableCell,{align:"left",style:{borderStyle:"solid",borderWidth:"thin",borderBottom:"none"}}),r.a.createElement(o.TableCell,{align:"left",style:{borderStyle:"solid",borderWidth:"thin",borderBottom:"none",padding:"2px 2px",verticalAlign:"top",textAlign:"right"}},r.a.createElement(o.Typography,{variant:"body1",weight:"regular",style:{textAlign:"right",fontSize:"13px"}},"16")),r.a.createElement(o.TableCell,{align:"left",style:{borderStyle:"solid",borderWidth:"thin",borderBottom:"none"}}),r.a.createElement(o.TableCell,{align:"left",style:{borderStyle:"solid",borderWidth:"thin",borderBottom:"none"}}),r.a.createElement(o.TableCell,{align:"left",style:{borderStyle:"solid",borderWidth:"thin",borderBottom:"none"}}),r.a.createElement(o.TableCell,{align:"left",style:{borderStyle:"solid",borderWidth:"thin",borderBottom:"none"}}),r.a.createElement(o.TableCell,{align:"left",style:{borderStyle:"solid",borderWidth:"thin",borderBottom:"none"}}),r.a.createElement(o.TableCell,{align:"left",style:{borderStyle:"solid",borderWidth:"thin",borderBottom:"none"}}),r.a.createElement(o.TableCell,{align:"left",style:{borderStyle:"solid",borderWidth:"thin",borderBottom:"none",width:"0.83in"}})),r.a.createElement(o.TableRow,null,r.a.createElement(o.TableCell,{style:{borderStyle:"solid",borderWidth:"thin",borderBottom:"none",width:"1.32in"}}),r.a.createElement(o.TableCell,{colSpan:2,align:"left",style:{borderStyle:"solid",borderWidth:"thin",padding:"2px 2px",verticalAlign:"top"}},r.a.createElement(o.Typography,{variant:"body1",weight:"regular",style:{fontSize:"13px"}},"Personal Development in YR 1")),r.a.createElement(o.TableCell,{align:"left",style:{borderStyle:"solid",borderWidth:"thin",borderBottom:"none"}}),r.a.createElement(o.TableCell,{align:"left",style:{borderStyle:"solid",borderWidth:"thin",borderBottom:"none",padding:"2px 2px",verticalAlign:"top",textAlign:"right"}},r.a.createElement(o.Typography,{variant:"body1",weight:"regular",style:{textAlign:"right",fontSize:"13px"}},e.yearOnePDCredits)),r.a.createElement(o.TableCell,{align:"left",style:{borderStyle:"solid",borderWidth:"thin",borderBottom:"none"}}),r.a.createElement(o.TableCell,{align:"left",style:{borderStyle:"solid",borderWidth:"thin",borderBottom:"none"}}),r.a.createElement(o.TableCell,{align:"left",style:{borderStyle:"solid",borderWidth:"thin",borderBottom:"none"}}),r.a.createElement(o.TableCell,{align:"left",style:{borderStyle:"solid",borderWidth:"thin",borderBottom:"none"}}),r.a.createElement(o.TableCell,{align:"left",style:{borderStyle:"solid",borderWidth:"thin",borderBottom:"none"}}),r.a.createElement(o.TableCell,{align:"left",style:{borderStyle:"solid",borderWidth:"thin",borderBottom:"none"}}),r.a.createElement(o.TableCell,{align:"left",style:{borderStyle:"solid",borderWidth:"thin",borderBottom:"none",width:"0.83in"}})),r.a.createElement(o.TableRow,null,r.a.createElement(o.TableCell,{style:{borderStyle:"solid",borderWidth:"thin",borderBottom:"none",width:"1.32in"}}),r.a.createElement(o.TableCell,{colSpan:2,align:"left",style:{borderStyle:"solid",borderWidth:"thin",borderBottom:"none",padding:"2px 2px",verticalAlign:"top"}},r.a.createElement(o.Typography,{variant:"body1",weight:"regular",style:{fontSize:"13px"}},"Personal Development in YR 2")),r.a.createElement(o.TableCell,{align:"left",style:{borderStyle:"solid",borderWidth:"thin",borderBottom:"none"}}),r.a.createElement(o.TableCell,{align:"left",style:{borderStyle:"solid",borderWidth:"thin",borderBottom:"none",padding:"2px 2px",verticalAlign:"top",textAlign:"right"}},r.a.createElement(o.Typography,{variant:"body1",weight:"regular",style:{textAlign:"right",fontSize:"13px"}},e.yearTwoPDCredits)),r.a.createElement(o.TableCell,{align:"left",style:{borderStyle:"solid",borderWidth:"thin",borderBottom:"none"}}),r.a.createElement(o.TableCell,{align:"left",style:{borderStyle:"solid",borderWidth:"thin",borderBottom:"none"}}),r.a.createElement(o.TableCell,{align:"left",style:{borderStyle:"solid",borderWidth:"thin",borderBottom:"none"}}),r.a.createElement(o.TableCell,{align:"left",style:{borderStyle:"solid",borderWidth:"thin",borderBottom:"none"}}),r.a.createElement(o.TableCell,{align:"left",style:{borderStyle:"solid",borderWidth:"thin",borderBottom:"none"}}),r.a.createElement(o.TableCell,{align:"left",style:{borderStyle:"solid",borderWidth:"thin",borderBottom:"none"}}),r.a.createElement(o.TableCell,{align:"left",style:{borderStyle:"solid",borderWidth:"thin",borderBottom:"none",width:"0.83in"}})),r.a.createElement(o.TableRow,null,r.a.createElement(o.TableCell,{style:{borderStyle:"solid",borderWidth:"thin",borderBottom:"none",backgroundColor:"#EDEDED",width:"1.32in"}}),r.a.createElement(o.TableCell,{colSpan:2,align:"left",style:{borderStyle:"solid",borderWidth:"thin",borderBottom:"none",padding:"2px 2px",verticalAlign:"top",backgroundColor:"#EDEDED"}},r.a.createElement(o.Typography,{variant:"body1",style:{fontWeight:"bold",fontSize:"13px"}},"TOTAL REPORTABLE HOURS")),r.a.createElement(o.TableCell,{align:"left",style:{borderStyle:"solid",borderWidth:"thin",borderBottom:"none",padding:"2px 2px",verticalAlign:"top",textAlign:"right",backgroundColor:"#EDEDED"}},r.a.createElement(o.Typography,{variant:"body1",style:{fontWeight:"bold",textAlign:"right",fontSize:"13px"}},b)),r.a.createElement(o.TableCell,{align:"left",style:{borderStyle:"solid",borderWidth:"thin",borderBottom:"none",padding:"2px 2px",verticalAlign:"top",textAlign:"right",backgroundColor:"#EDEDED"}},r.a.createElement(o.Typography,{variant:"body1",style:{fontWeight:"bold",fontSize:"13px"}},x)),r.a.createElement(o.TableCell,{align:"left",style:{borderStyle:"solid",borderWidth:"thin",borderBottom:"none",padding:"2px 2px",verticalAlign:"top",textAlign:"right",backgroundColor:"#EDEDED"}},r.a.createElement(o.Typography,{variant:"body1",style:{fontWeight:"bold",textAlign:"right",fontSize:"13px"}},E)),r.a.createElement(o.TableCell,{align:"left",style:{borderStyle:"solid",borderWidth:"thin",borderBottom:"none",padding:"2px 2px",verticalAlign:"top",textAlign:"right",backgroundColor:"#EDEDED"}},r.a.createElement(o.Typography,{variant:"body1",style:{fontWeight:"bold",textAlign:"right",fontSize:"13px"}},I)),r.a.createElement(o.TableCell,{align:"left",style:{borderStyle:"solid",borderWidth:"thin",borderBottom:"none",padding:"2px 2px",verticalAlign:"top",textAlign:"right",backgroundColor:"#EDEDED"}},r.a.createElement(o.Typography,{variant:"body1",style:{fontWeight:"bold",textAlign:"right",fontSize:"13px"}},S)),r.a.createElement(o.TableCell,{align:"left",style:{borderStyle:"solid",borderWidth:"thin",borderBottom:"none",padding:"2px 2px",verticalAlign:"top",textAlign:"right",backgroundColor:"#EDEDED"}},r.a.createElement(o.Typography,{variant:"body1",style:{fontWeight:"bold",textAlign:"right",fontSize:"13px"}},O)),r.a.createElement(o.TableCell,{align:"left",style:{borderStyle:"solid",borderWidth:"thin",borderBottom:"none",padding:"2px 2px",verticalAlign:"top",textAlign:"right",backgroundColor:"#EDEDED"}},r.a.createElement(o.Typography,{variant:"body1",style:{fontWeight:"bold",textAlign:"right",fontSize:"13px"}},C)),r.a.createElement(o.TableCell,{align:"left",style:{borderStyle:"solid",borderWidth:"thin",borderBottom:"none",padding:"2px 2px",verticalAlign:"top",textAlign:"right",backgroundColor:"#EDEDED"}},r.a.createElement(o.Typography,{variant:"body1",style:{fontWeight:"bold",textAlign:"right",fontSize:"13px"}},j)),r.a.createElement(o.TableCell,{align:"left",style:{borderStyle:"solid",borderWidth:"thin",borderBottom:"none",padding:"2px 2px",verticalAlign:"top",textAlign:"right",backgroundColor:"#EDEDED",width:"0.83in"}},r.a.createElement(o.Typography,{variant:"body1",style:{fontWeight:"bold",textAlign:"right",fontSize:"13px"}},A))),r.a.createElement(o.TableRow,null,r.a.createElement(o.TableCell,{style:{borderStyle:"solid",borderWidth:"thin",width:"1.32in"}}),r.a.createElement(o.TableCell,{style:{borderStyle:"solid",borderWidth:"thin",width:"2.1in"}}),r.a.createElement(o.TableCell,{style:{borderStyle:"solid",borderWidth:"thin",width:"0.88in"}}),r.a.createElement(o.TableCell,{style:{borderStyle:"solid",borderWidth:"thin"}}),r.a.createElement(o.TableCell,{style:{borderStyle:"solid",borderWidth:"thin"}}),r.a.createElement(o.TableCell,{style:{borderStyle:"solid",borderWidth:"thin"}}),r.a.createElement(o.TableCell,{style:{borderStyle:"solid",borderWidth:"thin"}}),r.a.createElement(o.TableCell,{style:{borderStyle:"solid",borderWidth:"thin"}}),r.a.createElement(o.TableCell,{style:{borderStyle:"solid",borderWidth:"thin"}}),r.a.createElement(o.TableCell,{colSpan:2,align:"left",style:{borderStyle:"solid",borderWidth:"thin",padding:"2px 2px",verticalAlign:"top"}},r.a.createElement(o.Typography,{variant:"body1",style:{fontWeight:"bold",fontSize:"13px"}},"TOTAL HOURS")),r.a.createElement(o.TableCell,{align:"left",style:{borderStyle:"solid",borderWidth:"thin",padding:"2px 2px",verticalAlign:"top",width:"0.83in"}},r.a.createElement(o.Typography,{variant:"body1",style:{fontWeight:"bold",textAlign:"right",fontSize:"13px"}},y))),r.a.createElement(o.TableRow,null,r.a.createElement(o.TableCell,{colSpan:12,style:{textAlign:"left",borderWidth:"thin",borderStyle:"solid",borderTop:"none",borderBottom:"none",wordWrap:"break-word"}},r.a.createElement(o.Typography,{variant:"body1",weight:"regular",style:{fontSize:"14px"}},"I certify that the above provided information is true and correct. I understand that all credits are subject to the Board's review for",r.a.createElement("br",null),"approval or disapproval. I agree to retain all documentation relating to the above programs and to maintain records substantiating the",r.a.createElement("br",null),"continuing education credit claims for six years. I understand that providing false or misleading information on this report could be",r.a.createElement("br",null),"grounds for disciplinary action under Section 1.137 of the Public Accountancy Act."))),r.a.createElement(o.TableRow,null,r.a.createElement(o.TableCell,{colSpan:4,style:{textAlign:"left",borderLeftWidth:"thin",borderLeftStyle:"solid",borderTop:"none",borderBottom:"none",borderRight:"none"}},r.a.createElement(o.Typography,{variant:"body1",weight:"regular"},"_______________________________________"),r.a.createElement(o.Typography,{variant:"body1",weight:"regular",style:{fontSize:"14px"}},"Date")),r.a.createElement(o.TableCell,{colSpan:8,style:{textAlign:"right",borderRightWidth:"thin",borderRightStyle:"solid",borderTop:"none",borderBottom:"none",borderLeft:"none"}},r.a.createElement(o.Typography,{variant:"body1",weight:"regular"},"_______________________________________"),r.a.createElement(o.Box,{mr:6.375},r.a.createElement(o.Typography,{variant:"body1",weight:"regular",style:{fontSize:"14px"}},"Signature of Applicant for Permit")))),r.a.createElement(o.TableRow,null,r.a.createElement(o.TableCell,{colSpan:12,style:{textAlign:"center",borderWidth:"thin",borderStyle:"solid",borderTop:"none"}},r.a.createElement(o.Typography,{variant:"body1",weight:"bold",style:{textDecoration:"underline",fontWeight:"bold",fontSize:"14px"}},"Permit Holders will not receive notification of hours received unless more information is needed.")))),r.a.createElement("br",null))})))};return r.a.createElement(r.a.Fragment,null,l?r.a.createElement(o.Backdrop,{open:l},r.a.createElement(o.CircularProgress,{color:"secondary"})):c&&c.length>0&&r.a.createElement(o.Dialog,{open:n,onClose:u,maxWidth:"lg",fullWidth:!0},r.a.createElement(o.Grid,{container:!0,spacing:"form",style:{marginLeft:"-16px"}},r.a.createElement(o.Grid,{item:!0,xs:10}),r.a.createElement(o.Grid,{item:!0,xs:2,alignment:"center-right",stretchContent:!0},r.a.createElement(o.Box,{mt:5,mr:5},r.a.createElement(o.Button,{loading:f,fullWidth:!0,onClick:function(){return function(){var t;p(!0);var n=null===(t=document.getElementById("report"))||void 0===t?void 0:t.innerHTML,i='\n
\n \x3c!--[if gte mso 9]>\n \n \n \n \n Nebraska CPE Continuing Education Attendance\n \n \n \n \n \n \n \n \n \n \n \n "),a=document.createElement("a");a.download="Nebraska CPE - Continuing Education Attendance.xls",a.href="data:application/vnd.ms-excel;base64,"+e.from("\ufeff".concat(i)).toString("base64"),a.click(),p(!1)}()},variant:"contained",color:"primary",size:"small"},"Download"))),r.a.createElement(o.Grid,{item:!0,xs:12}),r.a.createElement(o.Grid,{item:!0,xs:12,stretchContent:!0,id:"report",style:{width:"100px",margin:"0 auto"}},r.a.createElement(o.Box,{ml:4,mr:3},r.a.createElement(T,null))))))}}).call(this,n(68).Buffer)},1261:function(e,t,n){"use strict";var i=n(32),a=Object(i.makeStyles)((function(){return Object(i.createStyles)({coursesTable:{"& td":{borderBottom:"1px solid #000000"}},coursesTableHead:{"& th":{backgroundColor:"#FAFAFA",height:"10px !important",color:"black"}},reportTextCenter:{textAlign:"center"},reportUserHeader:{border:"solid",margin:"10px"}})}));t.a=a},1267:function(e,t,n){"use strict";(function(e){var i=n(5),a=n(0),r=n.n(a),o=n(10),s=n(1),l=n(39),c=n(18),d=n(2),u=n(33),m=n(43),v=n(240),f=n(175),p=n(38),h=Object(o.b)((function(e){return{activeConfigurations:e.importFile.activeConfigurations,activeImport:e.importFile.activeImport}}),(function(e){return{submitImport:function(t,n,i){return e(Object(f.j)(t,n,i))},addNotification:function(t){return e(Object(u.a)({message:t,variant:"error"}))},getImport:function(t){return e(Object(f.h)(t))},setActiveImport:function(t){return e(Object(v.b)(t))}}}));t.a=h((function(t){var n,o,u,v,f,h,y,b,g,E=t.activeConfigurations,I=t.activeImport,S=t.submitImport,O=t.onSubmit,C=t.addNotification,j=t.moduleName,x=t.getImport,A=t.setActiveImport,T=t.onClose,w=Object(c.useWizardDialogContext)().goBack,k=Object(l.useDataGridContext)(),P=k.setSelectedIdList,N=k.selectedIdList,D=Object(a.useState)(!1),L=Object(i.a)(D,2),F=L[0],B=L[1],R=Object(a.useState)(!1),J=Object(i.a)(R,2),G=J[0],U=J[1],z=Object(a.useState)(!1),q=Object(i.a)(z,2),M=q[0],W=q[1],V=Object(m.a)(N),_=["nonclientuser","clientuser"].includes(null!==(n=null===I||void 0===I||null===(o=I.moduleName)||void 0===o?void 0:o.toLocaleLowerCase())&&void 0!==n?n:"")?"xl":"lg";Object(a.useEffect)((function(){j===p.d.SessionParticipant&&(U(!0),W(!1),(null===I||void 0===I?void 0:I.importStatusId)!==d.xj.PartiallySuccessful&&(null===I||void 0===I?void 0:I.importStatusId)!==d.xj.Success&&(null===I||void 0===I?void 0:I.importStatusId)!==d.xj.Error?setTimeout((function(){return x((null===I||void 0===I?void 0:I.importId)||0).then((function(e){A(e)}))}),5e3):(W(!0),U(!1)))}),[j,I,x,A,U,W]);var Y=Object(a.useMemo)((function(){var e;return null===I||void 0===I||null===(e=I.importRows)||void 0===e?void 0:e.filter((function(e){return e.isValid}))}),[I]),H=function(e,t,n){var a,r=JSON.parse(null!==(a=(null===e||void 0===e?void 0:e.adjustedValues)||(null===e||void 0===e?void 0:e.jsonData))&&void 0!==a?a:"");if(r){var o=Object.keys(r).map((function(e){return{id:e.toLowerCase(),name:e}})).filter((function(e){return e.id===t.toLowerCase()})),s=Object(i.a)(o,1)[0],l=r[null===s||void 0===s?void 0:s.name];return Object(p.h)(l,n)}return" - "},$=null!==(u=null===I||void 0===I||null===(v=I.importRows)||void 0===v?void 0:v.filter((function(e){return!e.isValid})).length)&&void 0!==u?u:0;return r.a.createElement(r.a.Fragment,null,r.a.createElement(c.WizardDialogBody,{maxWidth:_,bgColor:"white"},r.a.createElement(s.Card,{variant:"outlined"},r.a.createElement(s.CardContent,null,r.a.createElement(s.Container,{maxWidth:_},r.a.createElement(s.Grid,{container:!0,justifyContent:"center",alignItems:"center"},r.a.createElement(s.Grid,{item:!0,md:4,lg:3},r.a.createElement(s.Box,{mx:2},r.a.createElement("img",{alt:"Select file",height:"150px",src:"/images/undraw_review.svg"}))),r.a.createElement(s.Grid,{item:!0,md:8,lg:9},j!==p.d.SessionParticipant?r.a.createElement(r.a.Fragment,null,r.a.createElement(s.Typography,{variant:"h6"},"Ready to import"," ".concat((null===I||void 0===I||null===(f=I.importRows)||void 0===f?void 0:f.filter((function(e){return e.isValid})).length)||"No"," "),"valid records?"),r.a.createElement(s.Typography,{variant:"body1",color:"textSecondary"},$>0?"".concat($," invalid record").concat($>1?"s":""," will not be imported."):"No invalid record will be imported.")):r.a.createElement(r.a.Fragment,null,r.a.createElement(s.Typography,{variant:"h6"},G?"Importing".concat(I&&I.importRows&&I.importRows.length>0?" ".concat(I.importRows.length):""," records"):"Imported ".concat((null===I||void 0===I||null===(h=I.importRows)||void 0===h?void 0:h.filter((function(e){return null===e.resultText})).length)||"No"," records.")),r.a.createElement(s.Typography,{variant:"body1",color:"textSecondary"},M&&((null===I||void 0===I?void 0:I.importRows)&&(null===I||void 0===I?void 0:I.importRows.filter((function(e){return null!==e.resultText})).length)>0?"".concat((null===I||void 0===I?void 0:I.importRows)&&(null===I||void 0===I?void 0:I.importRows.filter((function(e){return null!==e.resultText})).length)," invalid record").concat((null===I||void 0===I?void 0:I.importRows)&&(null===I||void 0===I?void 0:I.importRows.filter((function(e){return null!==e.resultText})).length)>1?"s":""," was not imported."):"No invalid record was imported.")))))))),r.a.createElement(s.Box,{mt:2},r.a.createElement(s.DataGrid,{id:"importRowId",columns:function(){var e=null===E||void 0===E?void 0:E.map((function(e){return{Header:e.Label,accessor:e.FieldId,disableSortBy:!0,Cell:function(t){var n=t.row.original;return H(n,e.FieldId,e.FieldType)}}}));if(j===p.d.SessionParticipant){var t={Header:"",accessor:"importRows",disableSortBy:!0,Cell:function(e){var t,n,i=e.row.original,a=null===i||void 0===i||null===(t=i.resultText)||void 0===t||null===(n=t.replace(",",";"))||void 0===n?void 0:n.split(";").map((function(e){return e.split(":")[1]}));return G&&!M?r.a.createElement(s.Row,null,r.a.createElement(s.Box,{display:"flex",justifyContent:"flex-start",alignSelf:"center",pr:1},r.a.createElement(s.SystemIcon,{icon:"Loading",size:"sm",spin:!0,color:"primary"})),r.a.createElement(s.Box,{display:"flex"},r.a.createElement(s.Typography,{variant:"body1"},"Importing..."))):i.resultText?r.a.createElement(s.Row,null,r.a.createElement(s.Box,{display:"flex",justifyContent:"flex-start",alignSelf:"center",pr:1},r.a.createElement(s.SystemIcon,{icon:"Warning",size:"sm",color:"error"})),r.a.createElement(s.Column,null,null===a||void 0===a?void 0:a.map((function(e,t){return r.a.createElement(s.Box,{key:"".concat(t),display:"flex"},r.a.createElement(s.Typography,{variant:"body1"},e))})))):r.a.createElement(s.Row,null,r.a.createElement(s.Box,{display:"flex",justifyContent:"flex-start",alignSelf:"center",pr:1},r.a.createElement(s.SystemIcon,{icon:"Success",size:"sm",color:"success"})),r.a.createElement(s.Box,{display:"flex"},r.a.createElement(s.Typography,{variant:"body1"},"Import successful.")))}};(e||[]).push(t)}return e||[]}(),loading:!Y||0===Y.length,data:(j!==p.d.SessionParticipant?Y:null===I||void 0===I?void 0:I.importRows)||[],advanced:!0,withRowSelection:j!==p.d.SessionParticipant,onSelectAll:function(){var e,t;return null!==(e=j===p.d.SessionParticipant?[]:null===I||void 0===I||null===(t=I.importRows)||void 0===t?void 0:t.filter((function(e){return e.isValid})).map((function(e){return e.importRowId})))&&void 0!==e?e:[]},totalRecords:j!==p.d.SessionParticipant?null===I||void 0===I||null===(y=I.importRows)||void 0===y?void 0:y.filter((function(e){return e.isValid})).length:null!==(b=null===I||void 0===I||null===(g=I.importRows)||void 0===g?void 0:g.length)&&void 0!==b?b:0})),j===p.d.SessionParticipant&&r.a.createElement(s.Table,{style:{display:"none"},id:"importTable"},r.a.createElement(s.TableRow,null,null===E||void 0===E?void 0:E.map((function(e){return r.a.createElement(s.TableCell,{key:e.Label,style:{padding:"2px 2px",verticalAlign:"center"}},r.a.createElement(s.Typography,{variant:"body1",style:{textAlign:"left",fontSize:"16px"}},e.Label))})),r.a.createElement(s.TableCell,{style:{padding:"2px 2px",verticalAlign:"center"}},r.a.createElement(s.Typography,{variant:"body1",style:{textAlign:"center",fontSize:"16px"}}))),I&&I.importRows&&I.importRows.map((function(e){var t,n;return r.a.createElement(s.TableRow,{key:e.importRowId},null===E||void 0===E?void 0:E.map((function(t){return r.a.createElement(s.TableCell,{style:{padding:"2px 2px",verticalAlign:"center"},key:"".concat(H(e,"email",t.FieldType))},r.a.createElement(s.Typography,{variant:"body1",style:{textAlign:"left",fontSize:"16px"}},H(e,t.FieldId,t.FieldType)))})),r.a.createElement(s.TableCell,{style:{padding:"2px 2px",verticalAlign:"center"},key:"".concat(H(e,"email",p.a.Email))},(null===e||void 0===e?void 0:e.resultText)?null===e||void 0===e||null===(t=e.resultText)||void 0===t||null===(n=t.replace(",",";"))||void 0===n?void 0:n.split(";").map((function(e){return e.split(":")[1]})).map((function(e,t){return r.a.createElement(s.Box,{key:"".concat(t),display:"flex"},r.a.createElement(s.Typography,{variant:"body1",style:{textAlign:"left",fontSize:"16px"}},e))})):r.a.createElement(s.Box,{display:"flex"},r.a.createElement(s.Typography,{variant:"body1",style:{textAlign:"left",fontSize:"16px"}},"Import successful."))))})))),r.a.createElement(c.WizardDialogFooter,{buttons:"custom",bgColor:"white"},j!==p.d.SessionParticipant?r.a.createElement(s.Grid,{container:!0,justify:"center",spacing:"form"},r.a.createElement(s.Grid,{item:!0,xs:4}),r.a.createElement(s.Grid,{item:!0,xs:2,stretchContent:!0},r.a.createElement(s.Button,{onClick:function(){w(1)},variant:"outlined",color:"default",disabled:F},"Back")),r.a.createElement(s.Grid,{item:!0,xs:2,stretchContent:!0},r.a.createElement(s.Button,{color:"primary",variant:"contained",type:"submit",onClick:function(){return e=(null===I||void 0===I?void 0:I.importId)||0,void(0!==V.selectedIds.length?(B(!0),S(j,e,V.selectedIds).then((function(){B(!1),P({}),O()}))):C("Can not import 0 records. Please select records to import."));var e},loading:F},"Import")),r.a.createElement(s.Grid,{item:!0,xs:4})):r.a.createElement(s.Grid,{container:!0,justify:"center",spacing:"form"},r.a.createElement(s.Grid,{item:!0,xs:4}),r.a.createElement(s.Grid,{item:!0,xs:2,stretchContent:!0},r.a.createElement(s.Button,{onClick:function(){return T&&T()},variant:"outlined",color:"default",disabled:!M},"Close")),r.a.createElement(s.Grid,{item:!0,xs:2,stretchContent:!0},r.a.createElement(s.Button,{onClick:function(){return function(){var t,n=null===(t=document.getElementById("importTable"))||void 0===t?void 0:t.innerHTML,i='\n \n \x3c!--[if gte mso 9]>\n \n \n \n \n Session Participant Import Results\n \n \n \n \n \n \n \n \n \n \n \n "),a=document.createElement("a");a.download="Session Participant Import Results.xls",a.href="data:application/vnd.ms-excel;base64,"+e.from("\ufeff".concat(i)).toString("base64"),a.click()}()},color:"primary",variant:"contained",type:"submit",disabled:!M},"Export")),r.a.createElement(s.Grid,{item:!0,xs:4}))))}))}).call(this,n(68).Buffer)},1268:function(e,t,n){"use strict";(function(e){var i=n(25),a=n(0),r=n.n(a),o=n(1);t.a=function(t){var n=t.reportData,a=t.dateFrom,s=t.dateTo,l=t.formikRef,c={initialValues:{},validationSchema:{},onSubmit:function(){!function(){var t,n=null===(t=document.getElementById("report"))||void 0===t?void 0:t.innerHTML,i='\n \n \x3c!--[if gte mso 9]>\n \n \n \n \n Evaluation Summary Report\n \n \n \n \n \n \n \n \n \n \n \n "),a=document.createElement("a");a.download="Evaluation Summary Report.xls",a.href="data:application/vnd.ms-excel;base64,"+e.from("\ufeff".concat(i)).toString("base64"),a.click()}()}},d=function(){return r.a.createElement(o.Box,{style:{width:"100%",margin:"0 auto",zoom:"90%"},key:"reportData"},r.a.createElement(o.Table,null,r.a.createElement(o.TableRow,null,r.a.createElement(o.TableCell,{colSpan:6,style:{padding:"2px 2px",border:"0"}},r.a.createElement(o.Typography,{variant:"body1",style:{fontWeight:"bold",fontSize:"16px"}},"Evaluation Summary Report ",a," - ",s))),r.a.createElement(o.TableRow,null,r.a.createElement(o.TableCell,{colSpan:6,style:{borderBottom:"black 1px solid"}})),n.map((function(e,t,n){var i,a,s;return r.a.createElement(r.a.Fragment,null,n.length>1&&n.length===t+1&&r.a.createElement(o.TableRow,null,r.a.createElement(o.TableCell,{colSpan:6})),r.a.createElement(o.TableRow,{key:"".concat(e.title,"_evaluation_summary")},r.a.createElement(o.TableCell,{style:{border:"thin solid #000",padding:"2px 2px",borderTop:"black 1px solid",backgroundColor:"#EDEDED"}},r.a.createElement(o.Typography,{variant:"body1",style:{fontWeight:"bold",fontSize:"16px"}},e.title)),e.questions&&(null===(i=e.questions[0].responses)||void 0===i?void 0:i.map((function(e,t,n){return r.a.createElement(o.TableCell,{key:e.questionId,style:{border:"thin solid #000",padding:"2px 2px",verticalAlign:"center",borderTop:"black 1px solid",borderRight:n.length===t+1?"black 1px solid":"none",backgroundColor:"#EDEDED"}},r.a.createElement(o.Typography,{variant:"body1",style:{fontWeight:"bold",textAlign:"center",fontSize:"16px"}},e.text))})))),null===(a=e.questions)||void 0===a?void 0:a.map((function(e){var t;return r.a.createElement(o.TableRow,{key:e.questionId},r.a.createElement(o.TableCell,{style:{border:"thin solid #000",padding:"2px 2px",borderTop:"black 1px solid"},colSpan:"essay"===e.questionType?6:1},r.a.createElement(o.Typography,{variant:"body1",style:{fontSize:"16px"}},e.name)),null===(t=e.responses)||void 0===t?void 0:t.map((function(e){return r.a.createElement(o.TableCell,{key:e.answerId,style:{border:"thin solid #000",padding:"2px 2px",verticalAlign:"center",borderTop:"black 1px solid",borderRight:"black 1px solid"}},r.a.createElement(o.Typography,{variant:"body1",style:{fontWeight:"bold",textAlign:"center",fontSize:"16px"}},e.count))})))})),e.questions&&(null===(s=e.questions.filter((function(e){return"essay"===e.questionType}))[0].texts)||void 0===s?void 0:s.map((function(e,n,i){return r.a.createElement(o.TableRow,{key:e},r.a.createElement(o.TableCell,{style:{padding:"2px 2px",borderLeft:"black 1px solid",borderRight:"black 1px solid",borderTop:0===t?"black 1px solid":"none",borderBottom:i.length===n+1?"black 1px solid":"none"},colSpan:6},r.a.createElement(o.Typography,{variant:"body1",style:{fontSize:"16px"}},"".concat(n+1,". ").concat(e))))}))))}))))};return r.a.createElement(r.a.Fragment,null,n&&n.length>0&&r.a.createElement(o.Grid,{item:!0,xs:12,stretchContent:!0,id:"report",style:{width:"100px",margin:"0 auto"}},r.a.createElement(o.Box,null,r.a.createElement(i.Formik,{initialValues:c.initialValues,onSubmit:c.onSubmit,enableReinitialize:!0,innerRef:l},r.a.createElement(d,null)))))}}).call(this,n(68).Buffer)},1269:function(e,t,n){"use strict";(function(e){var i=n(5),a=n(25),r=n(0),o=n.n(r),s=n(1);t.a=function(t){var n,l,c,d=t.reportData,u=t.formikRef,m=Object(r.useState)(null!==(n=null===d||void 0===d?void 0:d.slice(0,10))&&void 0!==n?n:[]),v=Object(i.a)(m,2),f=v[0],p=v[1],h=Object(r.useState)(0),y=Object(i.a)(h,2),b=y[0],g=y[1],E=Object(r.useRef)(null!==(l=null===d||void 0===d?void 0:d.slice(0,10))&&void 0!==l?l:[]),I=Object(r.useCallback)((function(e,t){g(t);var n=10*t;E.current=d.slice(n,n+10),f&&p(E.current)}),[f,d]),S={initialValues:{},validationSchema:{},onSubmit:function(){!function(){var t,n=null===(t=document.getElementById("report"))||void 0===t?void 0:t.innerHTML,i='\n \n \x3c!--[if gte mso 9]>\n \n \n \n \n HR Export\n \n \n \n \n \n \n \n \n \n \n \n "),a=document.createElement("a");a.download="HR Export.xls",a.href="data:application/vnd.ms-excel;base64,"+e.from("\ufeff".concat(i)).toString("base64"),a.click()}()}},O=function(){return o.a.createElement(s.Box,{style:{width:"100%",margin:"0 auto",zoom:"90%",display:"none"},key:"reportData"},o.a.createElement(s.Table,null,o.a.createElement(s.TableRow,null,o.a.createElement(s.TableCell,{colSpan:39,style:{padding:"2px 2px",border:"0"}},o.a.createElement(s.Typography,{variant:"h4",style:{fontWeight:"bold",fontSize:"28px"}},"Micron Systems, Inc."))),o.a.createElement(s.TableRow,null,o.a.createElement(s.TableCell,{colSpan:39,style:{padding:"2px 2px",border:"0"}},o.a.createElement(s.Typography,{variant:"h4",style:{fontWeight:"bold",fontSize:"28px"}},"HR Export"))),o.a.createElement(s.TableRow,null,o.a.createElement(s.TableCell,{colSpan:1,style:{border:"thin solid #000000",padding:"6px",backgroundColor:"#f6f8fa",color:"#45525c",overflowWrap:"break-word",width:"130px",height:"55px"}},o.a.createElement(s.Typography,{variant:"body1",style:{textAlign:"left",fontSize:"16px",fontWeight:"bold",verticalAlign:"middle"}},"Personnel ID")),o.a.createElement(s.TableCell,{colSpan:1,style:{border:"thin solid #000000",padding:"6px",backgroundColor:"#f6f8fa",color:"#45525c",overflowWrap:"break-word",width:"130px",height:"55px"}},o.a.createElement(s.Typography,{variant:"body1",style:{textAlign:"left",fontSize:"16px",fontWeight:"bold",verticalAlign:"middle"}},"Client ID")),o.a.createElement(s.TableCell,{colSpan:1,style:{border:"thin solid #000000",padding:"6px",backgroundColor:"#f6f8fa",color:"#45525c",overflowWrap:"break-word",width:"130px",height:"55px"}},o.a.createElement(s.Typography,{variant:"body1",style:{textAlign:"left",fontSize:"16px",fontWeight:"bold",verticalAlign:"middle"}},"Status")),o.a.createElement(s.TableCell,{colSpan:1,style:{border:"thin solid #000000",padding:"6px",backgroundColor:"#f6f8fa",color:"#45525c",overflowWrap:"break-word",width:"130px",height:"55px"}},o.a.createElement(s.Typography,{variant:"body1",style:{textAlign:"left",fontSize:"16px",fontWeight:"bold",verticalAlign:"middle"}},"Type")),o.a.createElement(s.TableCell,{colSpan:1,style:{border:"thin solid #000000",padding:"6px",backgroundColor:"#f6f8fa",color:"#45525c",overflowWrap:"break-word",width:"130px",height:"55px"}},o.a.createElement(s.Typography,{variant:"body1",style:{textAlign:"left",fontSize:"16px",fontWeight:"bold",verticalAlign:"middle"}},"Last Name")),o.a.createElement(s.TableCell,{colSpan:1,style:{border:"thin solid #000000",padding:"6px",backgroundColor:"#f6f8fa",color:"#45525c",overflowWrap:"break-word",width:"130px",height:"55px"}},o.a.createElement(s.Typography,{variant:"body1",style:{textAlign:"left",fontSize:"16px",fontWeight:"bold",verticalAlign:"middle"}},"First Name")),o.a.createElement(s.TableCell,{colSpan:1,style:{border:"thin solid #000000",padding:"6px",backgroundColor:"#f6f8fa",color:"#45525c",overflowWrap:"break-word",width:"130px",height:"55px"}},o.a.createElement(s.Typography,{variant:"body1",style:{textAlign:"left",fontSize:"16px",fontWeight:"bold",verticalAlign:"middle"}},"Middle Name")),o.a.createElement(s.TableCell,{colSpan:1,style:{border:"thin solid #000000",padding:"6px",backgroundColor:"#f6f8fa",color:"#45525c",overflowWrap:"break-word",width:"130px",height:"55px"}},o.a.createElement(s.Typography,{variant:"body1",style:{textAlign:"left",fontSize:"16px",fontWeight:"bold",verticalAlign:"middle"}},"Preferred Name")),o.a.createElement(s.TableCell,{colSpan:1,style:{border:"thin solid #000000",padding:"6px",backgroundColor:"#f6f8fa",color:"#45525c",overflowWrap:"break-word",width:"130px",height:"55px"}},o.a.createElement(s.Typography,{variant:"body1",style:{textAlign:"left",fontSize:"16px",fontWeight:"bold",verticalAlign:"middle"}},"Login ID")),o.a.createElement(s.TableCell,{colSpan:1,style:{border:"thin solid #000000",padding:"6px",backgroundColor:"#f6f8fa",color:"#45525c",overflowWrap:"break-word",width:"130px",height:"55px"}},o.a.createElement(s.Typography,{variant:"body1",style:{textAlign:"left",fontSize:"16px",fontWeight:"bold",verticalAlign:"middle"}},"Email")),o.a.createElement(s.TableCell,{colSpan:1,style:{border:"thin solid #000000",padding:"6px",backgroundColor:"#f6f8fa",color:"#45525c",overflowWrap:"break-word",width:"130px",height:"55px"}},o.a.createElement(s.Typography,{variant:"body1",style:{textAlign:"left",fontSize:"16px",fontWeight:"bold",verticalAlign:"middle"}},"Location")),o.a.createElement(s.TableCell,{colSpan:1,style:{border:"thin solid #000000",padding:"6px",backgroundColor:"#f6f8fa",color:"#45525c",overflowWrap:"break-word",width:"130px",height:"55px"}},o.a.createElement(s.Typography,{variant:"body1",style:{textAlign:"left",fontSize:"16px",fontWeight:"bold",verticalAlign:"middle"}},"Administrative Assistant")),o.a.createElement(s.TableCell,{colSpan:1,style:{border:"thin solid #000000",padding:"6px",backgroundColor:"#f6f8fa",color:"#45525c",overflowWrap:"break-word",width:"130px",height:"55px"}},o.a.createElement(s.Typography,{variant:"body1",style:{textAlign:"left",fontSize:"16px",fontWeight:"bold",verticalAlign:"middle"}},"Supervisor")),o.a.createElement(s.TableCell,{colSpan:1,style:{border:"thin solid #000000",padding:"6px",backgroundColor:"#f6f8fa",color:"#45525c",overflowWrap:"break-word",width:"130px",height:"55px"}},o.a.createElement(s.Typography,{variant:"body1",style:{textAlign:"left",fontSize:"16px",fontWeight:"bold",verticalAlign:"middle"}},"Position")),o.a.createElement(s.TableCell,{colSpan:1,style:{border:"thin solid #000000",padding:"6px",backgroundColor:"#f6f8fa",color:"#45525c",overflowWrap:"break-word",width:"130px",height:"55px"}},o.a.createElement(s.Typography,{variant:"body1",style:{textAlign:"left",fontSize:"16px",fontWeight:"bold",verticalAlign:"middle"}},"Department")),o.a.createElement(s.TableCell,{colSpan:1,style:{border:"thin solid #000000",padding:"6px",backgroundColor:"#f6f8fa",color:"#45525c",overflowWrap:"break-word",width:"130px",height:"55px"}},o.a.createElement(s.Typography,{variant:"body1",style:{textAlign:"left",fontSize:"16px",fontWeight:"bold",verticalAlign:"middle"}},"Practice Area")),o.a.createElement(s.TableCell,{colSpan:1,style:{border:"thin solid #000000",padding:"6px",backgroundColor:"#f6f8fa",color:"#45525c",overflowWrap:"break-word",width:"130px",height:"55px"}},o.a.createElement(s.Typography,{variant:"body1",style:{textAlign:"left",fontSize:"16px",fontWeight:"bold",verticalAlign:"middle"}},"Level")),o.a.createElement(s.TableCell,{colSpan:1,style:{border:"thin solid #000000",padding:"6px",backgroundColor:"#f6f8fa",color:"#45525c",overflowWrap:"break-word",width:"130px",height:"55px"}},o.a.createElement(s.Typography,{variant:"body1",style:{textAlign:"left",fontSize:"16px",fontWeight:"bold",verticalAlign:"middle"}},"Class Year")),o.a.createElement(s.TableCell,{colSpan:1,style:{border:"thin solid #000000",padding:"6px",backgroundColor:"#f6f8fa",color:"#45525c",overflowWrap:"break-word",width:"130px",height:"55px"}},o.a.createElement(s.Typography,{variant:"body1",style:{textAlign:"left",fontSize:"16px",fontWeight:"bold",verticalAlign:"middle"}},"Ethnicity")),o.a.createElement(s.TableCell,{colSpan:1,style:{border:"thin solid #000000",padding:"6px",backgroundColor:"#f6f8fa",color:"#45525c",overflowWrap:"break-word",width:"130px",height:"55px"}},o.a.createElement(s.Typography,{variant:"body1",style:{textAlign:"left",fontSize:"16px",fontWeight:"bold",verticalAlign:"middle"}},"Gender")),o.a.createElement(s.TableCell,{colSpan:1,style:{border:"thin solid #000000",padding:"6px",backgroundColor:"#f6f8fa",color:"#45525c",overflowWrap:"break-word",width:"130px",height:"55px"}},o.a.createElement(s.Typography,{variant:"body1",style:{textAlign:"left",fontSize:"16px",fontWeight:"bold",verticalAlign:"middle"}},"Creation Date")),o.a.createElement(s.TableCell,{colSpan:1,style:{border:"thin solid #000000",padding:"6px",backgroundColor:"#f6f8fa",color:"#45525c",overflowWrap:"break-word",width:"130px",height:"55px"}},o.a.createElement(s.Typography,{variant:"body1",style:{textAlign:"left",fontSize:"16px",fontWeight:"bold",verticalAlign:"middle"}},"Hire Date")),o.a.createElement(s.TableCell,{colSpan:1,style:{border:"thin solid #000000",padding:"6px",backgroundColor:"#f6f8fa",color:"#45525c",overflowWrap:"break-word",width:"130px",height:"55px"}},o.a.createElement(s.Typography,{variant:"body1",style:{textAlign:"left",fontSize:"16px",fontWeight:"bold",verticalAlign:"middle"}},"Termination Date")),o.a.createElement(s.TableCell,{colSpan:1,style:{border:"thin solid #000000",padding:"6px",backgroundColor:"#f6f8fa",color:"#45525c",overflowWrap:"break-word",width:"130px",height:"55px"}},o.a.createElement(s.Typography,{variant:"body1",style:{textAlign:"left",fontSize:"16px",fontWeight:"bold",verticalAlign:"middle"}},"Inactivation Date")),o.a.createElement(s.TableCell,{colSpan:1,style:{border:"thin solid #000000",padding:"6px",backgroundColor:"#f6f8fa",color:"#45525c",overflowWrap:"break-word",width:"130px",height:"55px"}},o.a.createElement(s.Typography,{variant:"body1",style:{textAlign:"left",fontSize:"16px",fontWeight:"bold",verticalAlign:"middle"}},"Role")),o.a.createElement(s.TableCell,{colSpan:1,style:{border:"thin solid #000000",padding:"6px",backgroundColor:"#f6f8fa",color:"#45525c",overflowWrap:"break-word",width:"130px",height:"55px"}},o.a.createElement(s.Typography,{variant:"body1",style:{textAlign:"left",fontSize:"16px",fontWeight:"bold",verticalAlign:"middle"}},"Group")),o.a.createElement(s.TableCell,{colSpan:1,style:{border:"thin solid #000000",padding:"6px",backgroundColor:"#f6f8fa",color:"#45525c",overflowWrap:"break-word",width:"130px",height:"55px"}},o.a.createElement(s.Typography,{variant:"body1",style:{textAlign:"left",fontSize:"16px",fontWeight:"bold",verticalAlign:"middle"}},"Private Administrator Notes")),o.a.createElement(s.TableCell,{colSpan:1,style:{border:"thin solid #000000",padding:"6px",backgroundColor:"#f6f8fa",color:"#45525c",overflowWrap:"break-word",width:"130px",height:"55px"}},o.a.createElement(s.Typography,{variant:"body1",style:{textAlign:"left",fontSize:"16px",fontWeight:"bold",verticalAlign:"middle"}},"Client Affiliation")),o.a.createElement(s.TableCell,{colSpan:1,style:{border:"thin solid #000000",padding:"6px",backgroundColor:"#f6f8fa",color:"#45525c",overflowWrap:"break-word",width:"130px",height:"55px"}},o.a.createElement(s.Typography,{variant:"body1",style:{textAlign:"left",fontSize:"16px",fontWeight:"bold",verticalAlign:"middle"}},"Title")),o.a.createElement(s.TableCell,{colSpan:1,style:{border:"thin solid #000000",padding:"6px",backgroundColor:"#f6f8fa",color:"#45525c",overflowWrap:"break-word",width:"130px",height:"55px"}},o.a.createElement(s.Typography,{variant:"body1",style:{textAlign:"left",fontSize:"16px",fontWeight:"bold",verticalAlign:"middle"}},"Street")),o.a.createElement(s.TableCell,{colSpan:1,style:{border:"thin solid #000000",padding:"6px",backgroundColor:"#f6f8fa",color:"#45525c",overflowWrap:"break-word",width:"130px",height:"55px"}},o.a.createElement(s.Typography,{variant:"body1",style:{textAlign:"left",fontSize:"16px",fontWeight:"bold",verticalAlign:"middle"}},"City")),o.a.createElement(s.TableCell,{colSpan:1,style:{border:"thin solid #000000",padding:"6px",backgroundColor:"#f6f8fa",color:"#45525c",overflowWrap:"break-word",width:"130px",height:"55px"}},o.a.createElement(s.Typography,{variant:"body1",style:{textAlign:"left",fontSize:"16px",fontWeight:"bold",verticalAlign:"middle"}},"State")),o.a.createElement(s.TableCell,{colSpan:1,style:{border:"thin solid #000000",padding:"6px",backgroundColor:"#f6f8fa",color:"#45525c",overflowWrap:"break-word",width:"130px",height:"55px"}},o.a.createElement(s.Typography,{variant:"body1",style:{textAlign:"left",fontSize:"16px",fontWeight:"bold",verticalAlign:"middle"}},"Zip")),o.a.createElement(s.TableCell,{colSpan:1,style:{border:"thin solid #000000",padding:"6px",backgroundColor:"#f6f8fa",color:"#45525c",overflowWrap:"break-word",width:"130px",height:"55px"}},o.a.createElement(s.Typography,{variant:"body1",style:{textAlign:"left",fontSize:"16px",fontWeight:"bold",verticalAlign:"middle"}},"Country")),o.a.createElement(s.TableCell,{colSpan:1,style:{border:"thin solid #000000",padding:"6px",backgroundColor:"#f6f8fa",color:"#45525c",overflowWrap:"break-word",width:"130px",height:"55px"}},o.a.createElement(s.Typography,{variant:"body1",style:{textAlign:"left",fontSize:"16px",fontWeight:"bold",verticalAlign:"middle"}},"License")),o.a.createElement(s.TableCell,{colSpan:1,style:{border:"thin solid #000000",padding:"6px",backgroundColor:"#f6f8fa",color:"#45525c",overflowWrap:"break-word",width:"130px",height:"55px"}},o.a.createElement(s.Typography,{variant:"body1",style:{textAlign:"left",fontSize:"16px",fontWeight:"bold",verticalAlign:"middle"}},"Bar Admission Date")),o.a.createElement(s.TableCell,{colSpan:1,style:{border:"thin solid #000000",padding:"6px",backgroundColor:"#f6f8fa",color:"#45525c",overflowWrap:"break-word",width:"130px",height:"55px"}},o.a.createElement(s.Typography,{variant:"body1",style:{textAlign:"left",fontSize:"16px",fontWeight:"bold",verticalAlign:"middle"}},"Bar Number")),o.a.createElement(s.TableCell,{colSpan:1,style:{border:"thin solid #000000",padding:"6px",backgroundColor:"#f6f8fa",color:"#45525c",overflowWrap:"break-word",width:"130px",height:"55px"}},o.a.createElement(s.Typography,{variant:"body1",style:{textAlign:"left",fontSize:"16px",fontWeight:"bold",verticalAlign:"middle"}},"Birth Date")),o.a.createElement(s.TableCell,{colSpan:1,style:{border:"thin solid #000000",padding:"6px",backgroundColor:"#f6f8fa",color:"#45525c",overflowWrap:"break-word",width:"130px",height:"55px"}},o.a.createElement(s.Typography,{variant:"body1",style:{textAlign:"left",fontSize:"16px",fontWeight:"bold",verticalAlign:"middle"}},"Graduation Date"))),o.a.createElement(o.a.Fragment,null,d.map((function(e){return o.a.createElement(o.a.Fragment,null,o.a.createElement(s.TableRow,{key:"".concat(e.personnelId)},o.a.createElement(s.TableCell,{colSpan:1,style:{border:"thin solid #000000",padding:"6px",overflowWrap:"break-word",width:"130px",minWidth:"130px",maxWidth:"130px",height:"auto"}},o.a.createElement(s.Typography,{variant:"body1",style:{textAlign:"left",fontSize:"16px"}},e.personnelId)),o.a.createElement(s.TableCell,{colSpan:1,style:{border:"thin solid #000000",padding:"6px",overflowWrap:"break-word",width:"130px",minWidth:"130px",maxWidth:"130px",height:"auto"}},o.a.createElement(s.Typography,{variant:"body1",style:{textAlign:"left",fontSize:"16px"}},e.clientId)),o.a.createElement(s.TableCell,{colSpan:1,style:{border:"thin solid #000000",padding:"6px",overflowWrap:"break-word",width:"130px",minWidth:"130px",maxWidth:"130px",height:"auto"}},o.a.createElement(s.Typography,{variant:"body1",style:{textAlign:"left",fontSize:"16px"}},e.status)),o.a.createElement(s.TableCell,{colSpan:1,style:{border:"thin solid #000000",padding:"6px",overflowWrap:"break-word",width:"130px",minWidth:"130px",maxWidth:"130px",height:"auto"}},o.a.createElement(s.Typography,{variant:"body1",style:{textAlign:"left",fontSize:"16px"}},e.type)),o.a.createElement(s.TableCell,{colSpan:1,style:{border:"thin solid #000000",padding:"6px",overflowWrap:"break-word",width:"130px",minWidth:"130px",maxWidth:"130px",height:"auto"}},o.a.createElement(s.Typography,{variant:"body1",style:{textAlign:"left",fontSize:"16px"}},e.lastName)),o.a.createElement(s.TableCell,{colSpan:1,style:{border:"thin solid #000000",padding:"6px",overflowWrap:"break-word",width:"130px",minWidth:"130px",maxWidth:"130px",height:"auto"}},o.a.createElement(s.Typography,{variant:"body1",style:{textAlign:"left",fontSize:"16px"}},e.firstName)),o.a.createElement(s.TableCell,{colSpan:1,style:{border:"thin solid #000000",padding:"6px",overflowWrap:"break-word",width:"130px",minWidth:"130px",maxWidth:"130px",height:"auto"}},o.a.createElement(s.Typography,{variant:"body1",style:{textAlign:"left",fontSize:"16px"}},e.middleName)),o.a.createElement(s.TableCell,{colSpan:1,style:{border:"thin solid #000000",padding:"6px",overflowWrap:"break-word",width:"130px",minWidth:"130px",maxWidth:"130px",height:"auto"}},o.a.createElement(s.Typography,{variant:"body1",style:{textAlign:"left",fontSize:"16px"}},e.preferredName)),o.a.createElement(s.TableCell,{colSpan:1,style:{border:"thin solid #000000",padding:"6px",overflowWrap:"break-word",width:"130px",minWidth:"130px",maxWidth:"130px",height:"auto"}},o.a.createElement(s.Typography,{variant:"body1",style:{textAlign:"left",fontSize:"16px"}},e.loginId)),o.a.createElement(s.TableCell,{colSpan:1,style:{border:"thin solid #000000",padding:"6px",overflowWrap:"break-word",width:"130px",minWidth:"130px",maxWidth:"130px",height:"auto"}},o.a.createElement(s.Typography,{variant:"body1",style:{textAlign:"left",fontSize:"16px"}},e.email)),o.a.createElement(s.TableCell,{colSpan:1,style:{border:"thin solid #000000",padding:"6px",overflowWrap:"break-word",width:"130px",minWidth:"130px",maxWidth:"130px",height:"auto"}},o.a.createElement(s.Typography,{variant:"body1",style:{textAlign:"left",fontSize:"16px"}},e.location)),o.a.createElement(s.TableCell,{colSpan:1,style:{border:"thin solid #000000",padding:"6px",overflowWrap:"break-word",width:"130px",minWidth:"130px",maxWidth:"130px",height:"auto"}},o.a.createElement(s.Typography,{variant:"body1",style:{textAlign:"left",fontSize:"16px"}},e.administrativeAssistant)),o.a.createElement(s.TableCell,{colSpan:1,style:{border:"thin solid #000000",padding:"6px",overflowWrap:"break-word",width:"130px",minWidth:"130px",maxWidth:"130px",height:"auto"}},o.a.createElement(s.Typography,{variant:"body1",style:{textAlign:"left",fontSize:"16px"}},e.supervisor)),o.a.createElement(s.TableCell,{colSpan:1,style:{border:"thin solid #000000",padding:"6px",overflowWrap:"break-word",width:"130px",minWidth:"130px",maxWidth:"130px",height:"auto"}},o.a.createElement(s.Typography,{variant:"body1",style:{textAlign:"left",fontSize:"16px"}},e.position)),o.a.createElement(s.TableCell,{colSpan:1,style:{border:"thin solid #000000",padding:"6px",overflowWrap:"break-word",width:"130px",minWidth:"130px",maxWidth:"130px",height:"auto"}},o.a.createElement(s.Typography,{variant:"body1",style:{textAlign:"left",fontSize:"16px"}},e.department)),o.a.createElement(s.TableCell,{colSpan:1,style:{border:"thin solid #000000",padding:"6px",overflowWrap:"break-word",width:"130px",minWidth:"130px",maxWidth:"130px",height:"auto"}},o.a.createElement(s.Typography,{variant:"body1",style:{textAlign:"left",fontSize:"16px"}},e.practiceArea)),o.a.createElement(s.TableCell,{colSpan:1,style:{border:"thin solid #000000",padding:"6px",overflowWrap:"break-word",width:"130px",minWidth:"130px",maxWidth:"130px",height:"auto"}},o.a.createElement(s.Typography,{variant:"body1",style:{textAlign:"left",fontSize:"16px"}},e.level)),o.a.createElement(s.TableCell,{colSpan:1,style:{border:"thin solid #000000",padding:"6px",overflowWrap:"break-word",width:"130px",minWidth:"130px",maxWidth:"130px",height:"auto"}},o.a.createElement(s.Typography,{variant:"body1",style:{textAlign:"left",fontSize:"16px"}},e.classYear)),o.a.createElement(s.TableCell,{colSpan:1,style:{border:"thin solid #000000",padding:"6px",overflowWrap:"break-word",width:"130px",minWidth:"130px",maxWidth:"130px",height:"auto"}},o.a.createElement(s.Typography,{variant:"body1",style:{textAlign:"left",fontSize:"16px"}},e.ethnicity)),o.a.createElement(s.TableCell,{colSpan:1,style:{border:"thin solid #000000",padding:"6px",overflowWrap:"break-word",width:"130px",minWidth:"130px",maxWidth:"130px",height:"auto"}},o.a.createElement(s.Typography,{variant:"body1",style:{textAlign:"left",fontSize:"16px"}},e.gender)),o.a.createElement(s.TableCell,{colSpan:1,style:{border:"thin solid #000000",padding:"6px",overflowWrap:"break-word",width:"130px",minWidth:"130px",maxWidth:"130px",height:"auto"}},o.a.createElement(s.Typography,{variant:"body1",style:{textAlign:"left",fontSize:"16px"}},e.creationDate)),o.a.createElement(s.TableCell,{colSpan:1,style:{border:"thin solid #000000",padding:"6px",overflowWrap:"break-word",width:"130px",minWidth:"130px",maxWidth:"130px",height:"auto"}},o.a.createElement(s.Typography,{variant:"body1",style:{textAlign:"left",fontSize:"16px"}},e.hireDate)),o.a.createElement(s.TableCell,{colSpan:1,style:{border:"thin solid #000000",padding:"6px",overflowWrap:"break-word",width:"130px",minWidth:"130px",maxWidth:"130px",height:"auto"}},o.a.createElement(s.Typography,{variant:"body1",style:{textAlign:"left",fontSize:"16px"}},e.terminationDate)),o.a.createElement(s.TableCell,{colSpan:1,style:{border:"thin solid #000000",padding:"6px",overflowWrap:"break-word",width:"130px",minWidth:"130px",maxWidth:"130px",height:"auto"}},o.a.createElement(s.Typography,{variant:"body1",style:{textAlign:"left",fontSize:"16px"}},e.inactivationDate)),o.a.createElement(s.TableCell,{colSpan:1,style:{border:"thin solid #000000",padding:"6px",overflowWrap:"break-word",width:"130px",minWidth:"130px",maxWidth:"130px",height:"auto"}},o.a.createElement(s.Typography,{variant:"body1",style:{textAlign:"left",fontSize:"16px"}},e.role)),o.a.createElement(s.TableCell,{colSpan:1,style:{border:"thin solid #000000",padding:"6px",overflowWrap:"break-word",width:"130px",minWidth:"130px",maxWidth:"130px",height:"auto"}},o.a.createElement(s.Typography,{variant:"body1",style:{textAlign:"left",fontSize:"16px"}},e.group)),o.a.createElement(s.TableCell,{colSpan:1,style:{border:"thin solid #000000",padding:"6px",overflowWrap:"break-word",width:"130px",minWidth:"130px",maxWidth:"130px",height:"auto"}},o.a.createElement(s.Typography,{variant:"body1",style:{textAlign:"left",fontSize:"16px"}},e.privateAdministratorNotes)),o.a.createElement(s.TableCell,{colSpan:1,style:{border:"thin solid #000000",padding:"6px",overflowWrap:"break-word",width:"130px",minWidth:"130px",maxWidth:"130px",height:"auto"}},o.a.createElement(s.Typography,{variant:"body1",style:{textAlign:"left",fontSize:"16px"}},e.clientAffiliation)),o.a.createElement(s.TableCell,{colSpan:1,style:{border:"thin solid #000000",padding:"6px",overflowWrap:"break-word",width:"130px",minWidth:"130px",maxWidth:"130px",height:"auto"}},o.a.createElement(s.Typography,{variant:"body1",style:{textAlign:"left",fontSize:"16px"}},e.title)),o.a.createElement(s.TableCell,{colSpan:1,style:{border:"thin solid #000000",padding:"6px",overflowWrap:"break-word",width:"130px",minWidth:"130px",maxWidth:"130px",height:"auto"}},o.a.createElement(s.Typography,{variant:"body1",style:{textAlign:"left",fontSize:"16px"}},e.street)),o.a.createElement(s.TableCell,{colSpan:1,style:{border:"thin solid #000000",padding:"6px",overflowWrap:"break-word",width:"130px",minWidth:"130px",maxWidth:"130px",height:"auto"}},o.a.createElement(s.Typography,{variant:"body1",style:{textAlign:"left",fontSize:"16px"}},e.city)),o.a.createElement(s.TableCell,{colSpan:1,style:{border:"thin solid #000000",padding:"6px",overflowWrap:"break-word",width:"130px",minWidth:"130px",maxWidth:"130px",height:"auto"}},o.a.createElement(s.Typography,{variant:"body1",style:{textAlign:"left",fontSize:"16px"}},e.state)),o.a.createElement(s.TableCell,{colSpan:1,style:{border:"thin solid #000000",padding:"6px",overflowWrap:"break-word",width:"130px",minWidth:"130px",maxWidth:"130px",height:"auto"}},o.a.createElement(s.Typography,{variant:"body1",style:{textAlign:"left",fontSize:"16px"}},e.zip)),o.a.createElement(s.TableCell,{colSpan:1,style:{border:"thin solid #000000",padding:"6px",overflowWrap:"break-word",width:"130px",minWidth:"130px",maxWidth:"130px",height:"auto"}},o.a.createElement(s.Typography,{variant:"body1",style:{textAlign:"left",fontSize:"16px"}},e.country)),o.a.createElement(s.TableCell,{colSpan:1,style:{border:"thin solid #000000",padding:"6px",overflowWrap:"break-word",width:"130px",minWidth:"130px",maxWidth:"130px",height:"auto"}},o.a.createElement(s.Typography,{variant:"body1",style:{textAlign:"left",fontSize:"16px"}},e.license)),o.a.createElement(s.TableCell,{colSpan:1,style:{border:"thin solid #000000",padding:"6px",overflowWrap:"break-word",width:"130px",minWidth:"130px",maxWidth:"130px",height:"auto"}},o.a.createElement(s.Typography,{variant:"body1",style:{textAlign:"left",fontSize:"16px"}},e.barAdmissionDate)),o.a.createElement(s.TableCell,{colSpan:1,style:{border:"thin solid #000000",padding:"6px",overflowWrap:"break-word",width:"130px",minWidth:"130px",maxWidth:"130px",height:"auto"}},o.a.createElement(s.Typography,{variant:"body1",style:{textAlign:"left",fontSize:"16px"}},e.barNumber)),o.a.createElement(s.TableCell,{colSpan:1,style:{border:"thin solid #000000",padding:"6px",overflowWrap:"break-word",width:"130px",minWidth:"130px",maxWidth:"130px",height:"auto"}},o.a.createElement(s.Typography,{variant:"body1",style:{textAlign:"left",fontSize:"16px"}},e.birthDate)),o.a.createElement(s.TableCell,{colSpan:1,style:{border:"thin solid #000000",padding:"6px",overflowWrap:"break-word",width:"130px",minWidth:"130px",maxWidth:"130px",height:"auto"}},o.a.createElement(s.Typography,{variant:"body1",style:{textAlign:"left",fontSize:"16px"}},e.graduationDate))))})))))},C=function(){return o.a.createElement(s.Box,{style:{width:"100%",margin:"0 auto",zoom:"90%",display:"grid"}},o.a.createElement(s.Table,null,o.a.createElement(s.TableRow,null,o.a.createElement(s.TableCell,{colSpan:39,style:{padding:"2px 2px",border:"0"}},o.a.createElement(s.Typography,{variant:"h4",style:{fontWeight:"bold",fontSize:"28px"}},"Micron Systems, Inc."))),o.a.createElement(s.TableRow,null,o.a.createElement(s.TableCell,{colSpan:39,style:{padding:"2px 2px",border:"0"}},o.a.createElement(s.Typography,{variant:"h4",style:{fontWeight:"bold",fontSize:"28px"}},"HR Export"))),o.a.createElement(s.TableRow,null,o.a.createElement(s.TableCell,{colSpan:1,style:{border:"thin solid #000000",padding:"6px",backgroundColor:"#f6f8fa",color:"#45525c",overflowWrap:"break-word",width:"130px",height:"55px"}},o.a.createElement(s.Typography,{variant:"body1",style:{textAlign:"left",fontSize:"16px",fontWeight:"bold",verticalAlign:"middle"}},"Personnel ID")),o.a.createElement(s.TableCell,{colSpan:1,style:{border:"thin solid #000000",padding:"6px",backgroundColor:"#f6f8fa",color:"#45525c",overflowWrap:"break-word",width:"130px",height:"55px"}},o.a.createElement(s.Typography,{variant:"body1",style:{textAlign:"left",fontSize:"16px",fontWeight:"bold",verticalAlign:"middle"}},"Client ID")),o.a.createElement(s.TableCell,{colSpan:1,style:{border:"thin solid #000000",padding:"6px",backgroundColor:"#f6f8fa",color:"#45525c",overflowWrap:"break-word",width:"130px",height:"55px"}},o.a.createElement(s.Typography,{variant:"body1",style:{textAlign:"left",fontSize:"16px",fontWeight:"bold",verticalAlign:"middle"}},"Status")),o.a.createElement(s.TableCell,{colSpan:1,style:{border:"thin solid #000000",padding:"6px",backgroundColor:"#f6f8fa",color:"#45525c",overflowWrap:"break-word",width:"130px",height:"55px"}},o.a.createElement(s.Typography,{variant:"body1",style:{textAlign:"left",fontSize:"16px",fontWeight:"bold",verticalAlign:"middle"}},"Type")),o.a.createElement(s.TableCell,{colSpan:1,style:{border:"thin solid #000000",padding:"6px",backgroundColor:"#f6f8fa",color:"#45525c",overflowWrap:"break-word",width:"130px",height:"55px"}},o.a.createElement(s.Typography,{variant:"body1",style:{textAlign:"left",fontSize:"16px",fontWeight:"bold",verticalAlign:"middle"}},"Last Name")),o.a.createElement(s.TableCell,{colSpan:1,style:{border:"thin solid #000000",padding:"6px",backgroundColor:"#f6f8fa",color:"#45525c",overflowWrap:"break-word",width:"130px",height:"55px"}},o.a.createElement(s.Typography,{variant:"body1",style:{textAlign:"left",fontSize:"16px",fontWeight:"bold",verticalAlign:"middle"}},"First Name")),o.a.createElement(s.TableCell,{colSpan:1,style:{border:"thin solid #000000",padding:"6px",backgroundColor:"#f6f8fa",color:"#45525c",overflowWrap:"break-word",width:"130px",height:"55px"}},o.a.createElement(s.Typography,{variant:"body1",style:{textAlign:"left",fontSize:"16px",fontWeight:"bold",verticalAlign:"middle"}},"Middle Name")),o.a.createElement(s.TableCell,{colSpan:1,style:{border:"thin solid #000000",padding:"6px",backgroundColor:"#f6f8fa",color:"#45525c",overflowWrap:"break-word",width:"130px",height:"55px"}},o.a.createElement(s.Typography,{variant:"body1",style:{textAlign:"left",fontSize:"16px",fontWeight:"bold",verticalAlign:"middle"}},"Preferred Name")),o.a.createElement(s.TableCell,{colSpan:1,style:{border:"thin solid #000000",padding:"6px",backgroundColor:"#f6f8fa",color:"#45525c",overflowWrap:"break-word",width:"130px",height:"55px"}},o.a.createElement(s.Typography,{variant:"body1",style:{textAlign:"left",fontSize:"16px",fontWeight:"bold",verticalAlign:"middle"}},"Login ID")),o.a.createElement(s.TableCell,{colSpan:1,style:{border:"thin solid #000000",padding:"6px",backgroundColor:"#f6f8fa",color:"#45525c",overflowWrap:"break-word",width:"130px",height:"55px"}},o.a.createElement(s.Typography,{variant:"body1",style:{textAlign:"left",fontSize:"16px",fontWeight:"bold",verticalAlign:"middle"}},"Email")),o.a.createElement(s.TableCell,{colSpan:1,style:{border:"thin solid #000000",padding:"6px",backgroundColor:"#f6f8fa",color:"#45525c",overflowWrap:"break-word",width:"130px",height:"55px"}},o.a.createElement(s.Typography,{variant:"body1",style:{textAlign:"left",fontSize:"16px",fontWeight:"bold",verticalAlign:"middle"}},"Location")),o.a.createElement(s.TableCell,{colSpan:1,style:{border:"thin solid #000000",padding:"6px",backgroundColor:"#f6f8fa",color:"#45525c",overflowWrap:"break-word",width:"130px",height:"55px"}},o.a.createElement(s.Typography,{variant:"body1",style:{textAlign:"left",fontSize:"16px",fontWeight:"bold",verticalAlign:"middle"}},"Administrative Assistant")),o.a.createElement(s.TableCell,{colSpan:1,style:{border:"thin solid #000000",padding:"6px",backgroundColor:"#f6f8fa",color:"#45525c",overflowWrap:"break-word",width:"130px",height:"55px"}},o.a.createElement(s.Typography,{variant:"body1",style:{textAlign:"left",fontSize:"16px",fontWeight:"bold",verticalAlign:"middle"}},"Supervisor")),o.a.createElement(s.TableCell,{colSpan:1,style:{border:"thin solid #000000",padding:"6px",backgroundColor:"#f6f8fa",color:"#45525c",overflowWrap:"break-word",width:"130px",height:"55px"}},o.a.createElement(s.Typography,{variant:"body1",style:{textAlign:"left",fontSize:"16px",fontWeight:"bold",verticalAlign:"middle"}},"Position")),o.a.createElement(s.TableCell,{colSpan:1,style:{border:"thin solid #000000",padding:"6px",backgroundColor:"#f6f8fa",color:"#45525c",overflowWrap:"break-word",width:"130px",height:"55px"}},o.a.createElement(s.Typography,{variant:"body1",style:{textAlign:"left",fontSize:"16px",fontWeight:"bold",verticalAlign:"middle"}},"Department")),o.a.createElement(s.TableCell,{colSpan:1,style:{border:"thin solid #000000",padding:"6px",backgroundColor:"#f6f8fa",color:"#45525c",overflowWrap:"break-word",width:"130px",height:"55px"}},o.a.createElement(s.Typography,{variant:"body1",style:{textAlign:"left",fontSize:"16px",fontWeight:"bold",verticalAlign:"middle"}},"Practice Area")),o.a.createElement(s.TableCell,{colSpan:1,style:{border:"thin solid #000000",padding:"6px",backgroundColor:"#f6f8fa",color:"#45525c",overflowWrap:"break-word",width:"130px",height:"55px"}},o.a.createElement(s.Typography,{variant:"body1",style:{textAlign:"left",fontSize:"16px",fontWeight:"bold",verticalAlign:"middle"}},"Level")),o.a.createElement(s.TableCell,{colSpan:1,style:{border:"thin solid #000000",padding:"6px",backgroundColor:"#f6f8fa",color:"#45525c",overflowWrap:"break-word",width:"130px",height:"55px"}},o.a.createElement(s.Typography,{variant:"body1",style:{textAlign:"left",fontSize:"16px",fontWeight:"bold",verticalAlign:"middle"}},"Class Year")),o.a.createElement(s.TableCell,{colSpan:1,style:{border:"thin solid #000000",padding:"6px",backgroundColor:"#f6f8fa",color:"#45525c",overflowWrap:"break-word",width:"130px",height:"55px"}},o.a.createElement(s.Typography,{variant:"body1",style:{textAlign:"left",fontSize:"16px",fontWeight:"bold",verticalAlign:"middle"}},"Ethnicity")),o.a.createElement(s.TableCell,{colSpan:1,style:{border:"thin solid #000000",padding:"6px",backgroundColor:"#f6f8fa",color:"#45525c",overflowWrap:"break-word",width:"130px",height:"55px"}},o.a.createElement(s.Typography,{variant:"body1",style:{textAlign:"left",fontSize:"16px",fontWeight:"bold",verticalAlign:"middle"}},"Gender")),o.a.createElement(s.TableCell,{colSpan:1,style:{border:"thin solid #000000",padding:"6px",backgroundColor:"#f6f8fa",color:"#45525c",overflowWrap:"break-word",width:"130px",height:"55px"}},o.a.createElement(s.Typography,{variant:"body1",style:{textAlign:"left",fontSize:"16px",fontWeight:"bold",verticalAlign:"middle"}},"Creation Date")),o.a.createElement(s.TableCell,{colSpan:1,style:{border:"thin solid #000000",padding:"6px",backgroundColor:"#f6f8fa",color:"#45525c",overflowWrap:"break-word",width:"130px",height:"55px"}},o.a.createElement(s.Typography,{variant:"body1",style:{textAlign:"left",fontSize:"16px",fontWeight:"bold",verticalAlign:"middle"}},"Hire Date")),o.a.createElement(s.TableCell,{colSpan:1,style:{border:"thin solid #000000",padding:"6px",backgroundColor:"#f6f8fa",color:"#45525c",overflowWrap:"break-word",width:"130px",height:"55px"}},o.a.createElement(s.Typography,{variant:"body1",style:{textAlign:"left",fontSize:"16px",fontWeight:"bold",verticalAlign:"middle"}},"Termination Date")),o.a.createElement(s.TableCell,{colSpan:1,style:{border:"thin solid #000000",padding:"6px",backgroundColor:"#f6f8fa",color:"#45525c",overflowWrap:"break-word",width:"130px",height:"55px"}},o.a.createElement(s.Typography,{variant:"body1",style:{textAlign:"left",fontSize:"16px",fontWeight:"bold",verticalAlign:"middle"}},"Inactivation Date")),o.a.createElement(s.TableCell,{colSpan:1,style:{border:"thin solid #000000",padding:"6px",backgroundColor:"#f6f8fa",color:"#45525c",overflowWrap:"break-word",width:"130px",height:"55px"}},o.a.createElement(s.Typography,{variant:"body1",style:{textAlign:"left",fontSize:"16px",fontWeight:"bold",verticalAlign:"middle"}},"Role")),o.a.createElement(s.TableCell,{colSpan:1,style:{border:"thin solid #000000",padding:"6px",backgroundColor:"#f6f8fa",color:"#45525c",overflowWrap:"break-word",width:"130px",height:"55px"}},o.a.createElement(s.Typography,{variant:"body1",style:{textAlign:"left",fontSize:"16px",fontWeight:"bold",verticalAlign:"middle"}},"Group")),o.a.createElement(s.TableCell,{colSpan:1,style:{border:"thin solid #000000",padding:"6px",backgroundColor:"#f6f8fa",color:"#45525c",overflowWrap:"break-word",width:"130px",height:"55px"}},o.a.createElement(s.Typography,{variant:"body1",style:{textAlign:"left",fontSize:"16px",fontWeight:"bold",verticalAlign:"middle"}},"Private Administrator Notes")),o.a.createElement(s.TableCell,{colSpan:1,style:{border:"thin solid #000000",padding:"6px",backgroundColor:"#f6f8fa",color:"#45525c",overflowWrap:"break-word",width:"130px",height:"55px"}},o.a.createElement(s.Typography,{variant:"body1",style:{textAlign:"left",fontSize:"16px",fontWeight:"bold",verticalAlign:"middle"}},"Client Affiliation")),o.a.createElement(s.TableCell,{colSpan:1,style:{border:"thin solid #000000",padding:"6px",backgroundColor:"#f6f8fa",color:"#45525c",overflowWrap:"break-word",width:"130px",height:"55px"}},o.a.createElement(s.Typography,{variant:"body1",style:{textAlign:"left",fontSize:"16px",fontWeight:"bold",verticalAlign:"middle"}},"Title")),o.a.createElement(s.TableCell,{colSpan:1,style:{border:"thin solid #000000",padding:"6px",backgroundColor:"#f6f8fa",color:"#45525c",overflowWrap:"break-word",width:"130px",height:"55px"}},o.a.createElement(s.Typography,{variant:"body1",style:{textAlign:"left",fontSize:"16px",fontWeight:"bold",verticalAlign:"middle"}},"Street")),o.a.createElement(s.TableCell,{colSpan:1,style:{border:"thin solid #000000",padding:"6px",backgroundColor:"#f6f8fa",color:"#45525c",overflowWrap:"break-word",width:"130px",height:"55px"}},o.a.createElement(s.Typography,{variant:"body1",style:{textAlign:"left",fontSize:"16px",fontWeight:"bold",verticalAlign:"middle"}},"City")),o.a.createElement(s.TableCell,{colSpan:1,style:{border:"thin solid #000000",padding:"6px",backgroundColor:"#f6f8fa",color:"#45525c",overflowWrap:"break-word",width:"130px",height:"55px"}},o.a.createElement(s.Typography,{variant:"body1",style:{textAlign:"left",fontSize:"16px",fontWeight:"bold",verticalAlign:"middle"}},"State")),o.a.createElement(s.TableCell,{colSpan:1,style:{border:"thin solid #000000",padding:"6px",backgroundColor:"#f6f8fa",color:"#45525c",overflowWrap:"break-word",width:"130px",height:"55px"}},o.a.createElement(s.Typography,{variant:"body1",style:{textAlign:"left",fontSize:"16px",fontWeight:"bold",verticalAlign:"middle"}},"Zip")),o.a.createElement(s.TableCell,{colSpan:1,style:{border:"thin solid #000000",padding:"6px",backgroundColor:"#f6f8fa",color:"#45525c",overflowWrap:"break-word",width:"130px",height:"55px"}},o.a.createElement(s.Typography,{variant:"body1",style:{textAlign:"left",fontSize:"16px",fontWeight:"bold",verticalAlign:"middle"}},"Country")),o.a.createElement(s.TableCell,{colSpan:1,style:{border:"thin solid #000000",padding:"6px",backgroundColor:"#f6f8fa",color:"#45525c",overflowWrap:"break-word",width:"130px",height:"55px"}},o.a.createElement(s.Typography,{variant:"body1",style:{textAlign:"left",fontSize:"16px",fontWeight:"bold",verticalAlign:"middle"}},"License")),o.a.createElement(s.TableCell,{colSpan:1,style:{border:"thin solid #000000",padding:"6px",backgroundColor:"#f6f8fa",color:"#45525c",overflowWrap:"break-word",width:"130px",height:"55px"}},o.a.createElement(s.Typography,{variant:"body1",style:{textAlign:"left",fontSize:"16px",fontWeight:"bold",verticalAlign:"middle"}},"Bar Admission Date")),o.a.createElement(s.TableCell,{colSpan:1,style:{border:"thin solid #000000",padding:"6px",backgroundColor:"#f6f8fa",color:"#45525c",overflowWrap:"break-word",width:"130px",height:"55px"}},o.a.createElement(s.Typography,{variant:"body1",style:{textAlign:"left",fontSize:"16px",fontWeight:"bold",verticalAlign:"middle"}},"Bar Number")),o.a.createElement(s.TableCell,{colSpan:1,style:{border:"thin solid #000000",padding:"6px",backgroundColor:"#f6f8fa",color:"#45525c",overflowWrap:"break-word",width:"130px",height:"55px"}},o.a.createElement(s.Typography,{variant:"body1",style:{textAlign:"left",fontSize:"16px",fontWeight:"bold",verticalAlign:"middle"}},"Birth Date")),o.a.createElement(s.TableCell,{colSpan:1,style:{border:"thin solid #000000",padding:"6px",backgroundColor:"#f6f8fa",color:"#45525c",overflowWrap:"break-word",width:"130px",height:"55px"}},o.a.createElement(s.Typography,{variant:"body1",style:{textAlign:"left",fontSize:"16px",fontWeight:"bold",verticalAlign:"middle"}},"Graduation Date"))),o.a.createElement(o.a.Fragment,null,f.map((function(e){return o.a.createElement(o.a.Fragment,null,o.a.createElement(s.TableRow,{key:"".concat(e.personnelId)},o.a.createElement(s.TableCell,{colSpan:1,style:{border:"thin solid #000000",padding:"6px",overflowWrap:"break-word",width:"130px",minWidth:"130px",maxWidth:"130px",height:"auto"}},o.a.createElement(s.Typography,{variant:"body1",style:{textAlign:"left",fontSize:"16px"}},e.personnelId)),o.a.createElement(s.TableCell,{colSpan:1,style:{border:"thin solid #000000",padding:"6px",overflowWrap:"break-word",width:"130px",minWidth:"130px",maxWidth:"130px",height:"auto"}},o.a.createElement(s.Typography,{variant:"body1",style:{textAlign:"left",fontSize:"16px"}},e.clientId)),o.a.createElement(s.TableCell,{colSpan:1,style:{border:"thin solid #000000",padding:"6px",overflowWrap:"break-word",width:"130px",minWidth:"130px",maxWidth:"130px",height:"auto"}},o.a.createElement(s.Typography,{variant:"body1",style:{textAlign:"left",fontSize:"16px"}},e.status)),o.a.createElement(s.TableCell,{colSpan:1,style:{border:"thin solid #000000",padding:"6px",overflowWrap:"break-word",width:"130px",minWidth:"130px",maxWidth:"130px",height:"auto"}},o.a.createElement(s.Typography,{variant:"body1",style:{textAlign:"left",fontSize:"16px"}},e.type)),o.a.createElement(s.TableCell,{colSpan:1,style:{border:"thin solid #000000",padding:"6px",overflowWrap:"break-word",width:"130px",minWidth:"130px",maxWidth:"130px",height:"auto"}},o.a.createElement(s.Typography,{variant:"body1",style:{textAlign:"left",fontSize:"16px"}},e.lastName)),o.a.createElement(s.TableCell,{colSpan:1,style:{border:"thin solid #000000",padding:"6px",overflowWrap:"break-word",width:"130px",minWidth:"130px",maxWidth:"130px",height:"auto"}},o.a.createElement(s.Typography,{variant:"body1",style:{textAlign:"left",fontSize:"16px"}},e.firstName)),o.a.createElement(s.TableCell,{colSpan:1,style:{border:"thin solid #000000",padding:"6px",overflowWrap:"break-word",width:"130px",minWidth:"130px",maxWidth:"130px",height:"auto"}},o.a.createElement(s.Typography,{variant:"body1",style:{textAlign:"left",fontSize:"16px"}},e.middleName)),o.a.createElement(s.TableCell,{colSpan:1,style:{border:"thin solid #000000",padding:"6px",overflowWrap:"break-word",width:"130px",minWidth:"130px",maxWidth:"130px",height:"auto"}},o.a.createElement(s.Typography,{variant:"body1",style:{textAlign:"left",fontSize:"16px"}},e.preferredName)),o.a.createElement(s.TableCell,{colSpan:1,style:{border:"thin solid #000000",padding:"6px",overflowWrap:"break-word",width:"130px",minWidth:"130px",maxWidth:"130px",height:"auto"}},o.a.createElement(s.Typography,{variant:"body1",style:{textAlign:"left",fontSize:"16px"}},e.loginId)),o.a.createElement(s.TableCell,{colSpan:1,style:{border:"thin solid #000000",padding:"6px",overflowWrap:"break-word",width:"130px",minWidth:"130px",maxWidth:"130px",height:"auto"}},o.a.createElement(s.Typography,{variant:"body1",style:{textAlign:"left",fontSize:"16px"}},e.email)),o.a.createElement(s.TableCell,{colSpan:1,style:{border:"thin solid #000000",padding:"6px",overflowWrap:"break-word",width:"130px",minWidth:"130px",maxWidth:"130px",height:"auto"}},o.a.createElement(s.Typography,{variant:"body1",style:{textAlign:"left",fontSize:"16px"}},e.location)),o.a.createElement(s.TableCell,{colSpan:1,style:{border:"thin solid #000000",padding:"6px",overflowWrap:"break-word",width:"130px",minWidth:"130px",maxWidth:"130px",height:"auto"}},o.a.createElement(s.Typography,{variant:"body1",style:{textAlign:"left",fontSize:"16px"}},e.administrativeAssistant)),o.a.createElement(s.TableCell,{colSpan:1,style:{border:"thin solid #000000",padding:"6px",overflowWrap:"break-word",width:"130px",minWidth:"130px",maxWidth:"130px",height:"auto"}},o.a.createElement(s.Typography,{variant:"body1",style:{textAlign:"left",fontSize:"16px"}},e.supervisor)),o.a.createElement(s.TableCell,{colSpan:1,style:{border:"thin solid #000000",padding:"6px",overflowWrap:"break-word",width:"130px",minWidth:"130px",maxWidth:"130px",height:"auto"}},o.a.createElement(s.Typography,{variant:"body1",style:{textAlign:"left",fontSize:"16px"}},e.position)),o.a.createElement(s.TableCell,{colSpan:1,style:{border:"thin solid #000000",padding:"6px",overflowWrap:"break-word",width:"130px",minWidth:"130px",maxWidth:"130px",height:"auto"}},o.a.createElement(s.Typography,{variant:"body1",style:{textAlign:"left",fontSize:"16px"}},e.department)),o.a.createElement(s.TableCell,{colSpan:1,style:{border:"thin solid #000000",padding:"6px",overflowWrap:"break-word",width:"130px",minWidth:"130px",maxWidth:"130px",height:"auto"}},o.a.createElement(s.Typography,{variant:"body1",style:{textAlign:"left",fontSize:"16px"}},e.practiceArea)),o.a.createElement(s.TableCell,{colSpan:1,style:{border:"thin solid #000000",padding:"6px",overflowWrap:"break-word",width:"130px",minWidth:"130px",maxWidth:"130px",height:"auto"}},o.a.createElement(s.Typography,{variant:"body1",style:{textAlign:"left",fontSize:"16px"}},e.level)),o.a.createElement(s.TableCell,{colSpan:1,style:{border:"thin solid #000000",padding:"6px",overflowWrap:"break-word",width:"130px",minWidth:"130px",maxWidth:"130px",height:"auto"}},o.a.createElement(s.Typography,{variant:"body1",style:{textAlign:"left",fontSize:"16px"}},e.classYear)),o.a.createElement(s.TableCell,{colSpan:1,style:{border:"thin solid #000000",padding:"6px",overflowWrap:"break-word",width:"130px",minWidth:"130px",maxWidth:"130px",height:"auto"}},o.a.createElement(s.Typography,{variant:"body1",style:{textAlign:"left",fontSize:"16px"}},e.ethnicity)),o.a.createElement(s.TableCell,{colSpan:1,style:{border:"thin solid #000000",padding:"6px",overflowWrap:"break-word",width:"130px",minWidth:"130px",maxWidth:"130px",height:"auto"}},o.a.createElement(s.Typography,{variant:"body1",style:{textAlign:"left",fontSize:"16px"}},e.gender)),o.a.createElement(s.TableCell,{colSpan:1,style:{border:"thin solid #000000",padding:"6px",overflowWrap:"break-word",width:"130px",minWidth:"130px",maxWidth:"130px",height:"auto"}},o.a.createElement(s.Typography,{variant:"body1",style:{textAlign:"left",fontSize:"16px"}},e.creationDate)),o.a.createElement(s.TableCell,{colSpan:1,style:{border:"thin solid #000000",padding:"6px",overflowWrap:"break-word",width:"130px",minWidth:"130px",maxWidth:"130px",height:"auto"}},o.a.createElement(s.Typography,{variant:"body1",style:{textAlign:"left",fontSize:"16px"}},e.hireDate)),o.a.createElement(s.TableCell,{colSpan:1,style:{border:"thin solid #000000",padding:"6px",overflowWrap:"break-word",width:"130px",minWidth:"130px",maxWidth:"130px",height:"auto"}},o.a.createElement(s.Typography,{variant:"body1",style:{textAlign:"left",fontSize:"16px"}},e.terminationDate)),o.a.createElement(s.TableCell,{colSpan:1,style:{border:"thin solid #000000",padding:"6px",overflowWrap:"break-word",width:"130px",minWidth:"130px",maxWidth:"130px",height:"auto"}},o.a.createElement(s.Typography,{variant:"body1",style:{textAlign:"left",fontSize:"16px"}},e.inactivationDate)),o.a.createElement(s.TableCell,{colSpan:1,style:{border:"thin solid #000000",padding:"6px",overflowWrap:"break-word",width:"130px",minWidth:"130px",maxWidth:"130px",height:"auto"}},o.a.createElement(s.Typography,{variant:"body1",style:{textAlign:"left",fontSize:"16px"}},e.role)),o.a.createElement(s.TableCell,{colSpan:1,style:{border:"thin solid #000000",padding:"6px",overflowWrap:"break-word",width:"130px",minWidth:"130px",maxWidth:"130px",height:"auto"}},o.a.createElement(s.Typography,{variant:"body1",style:{textAlign:"left",fontSize:"16px"}},e.group)),o.a.createElement(s.TableCell,{colSpan:1,style:{border:"thin solid #000000",padding:"6px",overflowWrap:"break-word",width:"130px",minWidth:"130px",maxWidth:"130px",height:"auto"}},o.a.createElement(s.Typography,{variant:"body1",style:{textAlign:"left",fontSize:"16px"}},e.privateAdministratorNotes)),o.a.createElement(s.TableCell,{colSpan:1,style:{border:"thin solid #000000",padding:"6px",overflowWrap:"break-word",width:"130px",minWidth:"130px",maxWidth:"130px",height:"auto"}},o.a.createElement(s.Typography,{variant:"body1",style:{textAlign:"left",fontSize:"16px"}},e.clientAffiliation)),o.a.createElement(s.TableCell,{colSpan:1,style:{border:"thin solid #000000",padding:"6px",overflowWrap:"break-word",width:"130px",minWidth:"130px",maxWidth:"130px",height:"auto"}},o.a.createElement(s.Typography,{variant:"body1",style:{textAlign:"left",fontSize:"16px"}},e.title)),o.a.createElement(s.TableCell,{colSpan:1,style:{border:"thin solid #000000",padding:"6px",overflowWrap:"break-word",width:"130px",minWidth:"130px",maxWidth:"130px",height:"auto"}},o.a.createElement(s.Typography,{variant:"body1",style:{textAlign:"left",fontSize:"16px"}},e.street)),o.a.createElement(s.TableCell,{colSpan:1,style:{border:"thin solid #000000",padding:"6px",overflowWrap:"break-word",width:"130px",minWidth:"130px",maxWidth:"130px",height:"auto"}},o.a.createElement(s.Typography,{variant:"body1",style:{textAlign:"left",fontSize:"16px"}},e.city)),o.a.createElement(s.TableCell,{colSpan:1,style:{border:"thin solid #000000",padding:"6px",overflowWrap:"break-word",width:"130px",minWidth:"130px",maxWidth:"130px",height:"auto"}},o.a.createElement(s.Typography,{variant:"body1",style:{textAlign:"left",fontSize:"16px"}},e.state)),o.a.createElement(s.TableCell,{colSpan:1,style:{border:"thin solid #000000",padding:"6px",overflowWrap:"break-word",width:"130px",minWidth:"130px",maxWidth:"130px",height:"auto"}},o.a.createElement(s.Typography,{variant:"body1",style:{textAlign:"left",fontSize:"16px"}},e.zip)),o.a.createElement(s.TableCell,{colSpan:1,style:{border:"thin solid #000000",padding:"6px",overflowWrap:"break-word",width:"130px",minWidth:"130px",maxWidth:"130px",height:"auto"}},o.a.createElement(s.Typography,{variant:"body1",style:{textAlign:"left",fontSize:"16px"}},e.country)),o.a.createElement(s.TableCell,{colSpan:1,style:{border:"thin solid #000000",padding:"6px",overflowWrap:"break-word",width:"130px",minWidth:"130px",maxWidth:"130px",height:"auto"}},o.a.createElement(s.Typography,{variant:"body1",style:{textAlign:"left",fontSize:"16px"}},e.license)),o.a.createElement(s.TableCell,{colSpan:1,style:{border:"thin solid #000000",padding:"6px",overflowWrap:"break-word",width:"130px",minWidth:"130px",maxWidth:"130px",height:"auto"}},o.a.createElement(s.Typography,{variant:"body1",style:{textAlign:"left",fontSize:"16px"}},e.barAdmissionDate)),o.a.createElement(s.TableCell,{colSpan:1,style:{border:"thin solid #000000",padding:"6px",overflowWrap:"break-word",width:"130px",minWidth:"130px",maxWidth:"130px",height:"auto"}},o.a.createElement(s.Typography,{variant:"body1",style:{textAlign:"left",fontSize:"16px"}},e.barNumber)),o.a.createElement(s.TableCell,{colSpan:1,style:{border:"thin solid #000000",padding:"6px",overflowWrap:"break-word",width:"130px",minWidth:"130px",maxWidth:"130px",height:"auto"}},o.a.createElement(s.Typography,{variant:"body1",style:{textAlign:"left",fontSize:"16px"}},e.birthDate)),o.a.createElement(s.TableCell,{colSpan:1,style:{border:"thin solid #000000",padding:"6px",overflowWrap:"break-word",width:"130px",minWidth:"130px",maxWidth:"130px",height:"auto"}},o.a.createElement(s.Typography,{variant:"body1",style:{textAlign:"left",fontSize:"16px"}},e.graduationDate))))})))))};return o.a.createElement(o.a.Fragment,null,d&&d.length>0&&o.a.createElement(o.a.Fragment,null,o.a.createElement(s.Grid,{item:!0,xs:12,stretchContent:!0,style:{width:"100px",margin:"0 auto"}},o.a.createElement(s.Box,{id:"reportBox"},o.a.createElement(a.Formik,{initialValues:S.initialValues,onSubmit:S.onSubmit,enableReinitialize:!0,innerRef:u},o.a.createElement(o.a.Fragment,null,o.a.createElement(s.Box,{id:"report"},o.a.createElement(O,null)),o.a.createElement(C,null))))),o.a.createElement(s.Grid,{item:!0,xs:3},o.a.createElement(s.TablePagination,{count:null!==(c=d.length)&&void 0!==c?c:0,page:b,onPageChange:I,rowsPerPage:10,rowsPerPageOptions:[]})),o.a.createElement(s.Grid,{item:!0,xs:9})))}}).call(this,n(68).Buffer)},127:function(e,t,n){"use strict";n.d(t,"f",(function(){return s})),n.d(t,"d",(function(){return l})),n.d(t,"e",(function(){return c})),n.d(t,"h",(function(){return d})),n.d(t,"a",(function(){return u})),n.d(t,"b",(function(){return m})),n.d(t,"g",(function(){return v})),n.d(t,"j",(function(){return f})),n.d(t,"i",(function(){return p})),n.d(t,"c",(function(){return h}));var i=n(13),a=n(2),r=n(12),o=n(85),s=function(e,t){var n=new a.Uf({filterBy:[],searchCriteria:["Active"],sortBy:"name",page:1,pageSize:10});return function(r,s){var l=s().classYears,c=l.requestBody,d=l.selectedClassYears,u=l.statusFilter;return t||(r(o.a(null)),r(o.f(""))),i.m.getAll(void 0,a.Uf.fromJS(void 0!==e?e?n:c:{sortBy:"name"})).then((function(i){return t||(r(o.a(i.classYears)),r(o.b(i.recordCount)),r(o.e(e?[]:d)),r(o.c(void 0!==e?e?n:c:{sortBy:"name"})),r(o.f(e?"Active":void 0!==u&&null!==u?u:"Active"))),i})).catch((function(){r(o.a())}))}},l=function(e){return function(t){return i.m.getAll(void 0,a.Uf.fromJS(e)).then((function(e){return e.classYears})).catch((function(){t(o.a())}))}},c=function(e){return function(t){return i.m.getClassYearListById(void 0,new a.Ih({classYearId:e})).then((function(e){return e})).catch((function(e){return t(Object(r.b)(e)),null}))}},d=function(e){return function(t,n){var o=n().classYears.selectedClassYear;return(e?i.m.create("v1",a.hc.fromJS(o)):i.m.update("v1",a.Um.fromJS(o))).then((function(){t(Object(r.a)({message:"Save successful",variant:"success"})),t(s(!0))})).catch((function(e){t(Object(r.b)(e))}))}},u=function(e,t,n,l){var c=new a.F({classYearIdList:e,isArchive:t,isSelectedAll:null!==n&&void 0!==n&&n,exemptedIdList:null!==l&&void 0!==l?l:[]});return function(n){return i.m.archive(void 0,c).then((function(){n(o.e([])),n(Object(r.a)({message:"".concat(e.length>1?"Records":"Record"," ").concat(t?"deactivated.":"activated."),variant:"success"})),n(s(!0))})).catch((function(e){n(Object(r.a)({message:e.detail,variant:"error"}))}))}},m=function(e){var t=new a.Gd({classYearIdList:e});return function(n){return i.m.delete(void 0,t).then((function(t){return n(s(!0)),t.length===e.length?(n(Object(r.a)({message:"None of the selected class years are valid for deletion.",variant:"warning"})),null):(n(Object(r.a)({message:"".concat(e.length>1?"Class Years successfully deleted.":"Class Year successfully deleted."),variant:"success"})),t)})).catch((function(e){n(Object(r.a)({message:e.detail,variant:"error"}))}))}},v=function(e){return function(t){return i.m.merge(void 0,a.qk.fromJS(e)).then((function(){t(o.e([])),t(Object(r.a)({message:"Class Years merged",variant:"success"})),t(s(!0))})).catch((function(e){t(o.e([])),t(Object(r.a)({message:e.detail,variant:"error"}))}))}},f=function(e,t){return function(n){return i.m.validateClassYearName(void 0,a.bp.fromJS(new a.bp({classYearIds:e,name:t}))).then((function(e){return e})).catch((function(e){n(Object(r.b)(e))}))}},p=function(e,t){return function(n){return i.m.validateClassYearCode(void 0,a.ap.fromJS(new a.ap({classYearIds:e,code:t}))).then((function(e){return e})).catch((function(e){n(Object(r.b)(e))}))}},h=function(e,t){return function(n){return("csv"===t?i.m.exportCsv(void 0,a.Uf.fromJS(e)):i.m.exportExcel(void 0,a.Uf.fromJS(e))).then((function(e){var n=window.URL.createObjectURL(new Blob([e.data])),i=document.createElement("a");i.href=n,i.setAttribute("download",e.fileName||"classYears.".concat(t)),document.body.appendChild(i),i.click(),i.remove()})).catch((function(e){n(Object(r.b)(e))}))}}},1270:function(e,t,n){"use strict";(function(e){var i=n(5),a=n(25),r=n(16),o=n.n(r),s=n(0),l=n.n(s),c=n(1),d=n(54);t.a=function(t){var n,r,u=t.reportData,m=t.formikRef,v=t.firmData,f=t.providerNumber,p=Object(s.useState)(!1),h=Object(i.a)(p,2),y=h[0],b=h[1],g=(null!==(n=v.name)&&void 0!==n?n:"").replace(/[a-z ,.]/g,""),E=null!==(r=v.firmId)&&void 0!==r?r:0,I=o()().format("YYYYMMDD"),S=Math.floor(1e3+9e3*Math.random()),O=function(){var t,n=null===(t=document.getElementById("report"))||void 0===t?void 0:t.innerHTML,i=null===n||void 0===n||n.replaceAll("opacity: 1","mso-number-format:0.00");i=null===n||void 0===n?void 0:n.replaceAll("opacity: 2","mso-number-format:\\@");var a='\n \n \x3c!--[if gte mso 9]>\n \n \n \n \n Illinois Law PCAM Batch Processing - Attendance Records\n \n \n \n \n \n \n \n \n \n '.concat(i,"\n \n "),r=document.createElement("a");r.download="Illinois Law PCAM Batch Processing - Attendance Records.xls",r.href="".concat("data:application/vnd.ms-excel;base64,"+e.from("\ufeff".concat(a)).toString("base64")),r.click()},C=function(e){switch(e){case"csv":!function(){for(var e="",t=[],n=document.getElementsByTagName("tr"),i=0;i0&&l.a.createElement(c.Grid,{item:!0,xs:12,stretchContent:!0,id:"report",style:{width:"100px",margin:"0 auto"}},l.a.createElement(c.Box,null,l.a.createElement(a.Formik,{initialValues:j.initialValues,onSubmit:j.onSubmit,enableReinitialize:!0,innerRef:m},l.a.createElement(x,null)))),y&&l.a.createElement(d.a,{open:y,exportToCsv:function(){return C("csv")},exportToXls:function(){return C("xls")},onClose:function(){b(!1)}}))}}).call(this,n(68).Buffer)},1271:function(e,t,n){"use strict";(function(e){var i=n(5),a=n(25),r=n(16),o=n.n(r),s=n(0),l=n.n(s),c=n(1),d=n(54);t.a=function(t){var n,r=t.reportData,u=t.formikRef,m=t.firmData,v=t.providerNumber,f=Object(s.useState)(!1),p=Object(i.a)(f,2),h=p[0],y=p[1],b=null!==(n=m.name)&&void 0!==n?n:"",g=o()().format("YYYYMMDD"),E=Array.from({length:21},(function(e,t){return t+1})),I=function(){var t,n,i,a,r=null===(t=document.getElementById("report"))||void 0===t?void 0:t.innerHTML,o=document.getElementsByClassName("session-description");o&&Array.from(o).forEach((function(e){if(e.innerHTML&&e.textContent){var t,n=e.innerHTML;r=null===(t=r)||void 0===t?void 0:t.replace(n,e.textContent)}}));var s=null===(n=r)||void 0===n||n.replaceAll("font-size: 16px","font-size: 21px");s=null===(i=r)||void 0===i?void 0:i.replaceAll("opacity: 2","mso-number-format:\\@");var l='\n \n \x3c!--[if gte mso 9]>\n \n \n \n \n Illinois Law PCAM Batch Processing - Course Records\n \n \n \n \n \n \n \n \n \n '.concat(null===(a=s)||void 0===a?void 0:a.replaceAll("opacity: 1","mso-number-format:0.00"),"\n \n "),c=document.createElement("a");c.download="Illinois Law PCAM Batch Processing - Course Records.xls",c.href="".concat("data:application/vnd.ms-excel;base64,"+e.from("\ufeff".concat(l)).toString("base64")),c.click()},S=function(e){switch(e){case"csv":!function(){for(var e="",t=[],n=document.getElementsByTagName("tr"),i=0;i0&&l.a.createElement(c.Grid,{item:!0,xs:12,stretchContent:!0,id:"report",style:{width:"100px",margin:"0 auto"}},l.a.createElement(c.Box,{overflow:"auto"},l.a.createElement(a.Formik,{initialValues:O.initialValues,onSubmit:O.onSubmit,enableReinitialize:!0,innerRef:u},l.a.createElement(C,null)))),h&&l.a.createElement(d.a,{open:h,exportToCsv:function(){return S("csv")},exportToXls:function(){return S("xls")},onClose:function(){y(!1)}}))}}).call(this,n(68).Buffer)},1272:function(e,t,n){"use strict";(function(e){var i=n(25),a=n(0),r=n.n(a),o=n(490),s=n(1);t.a=function(t){var n=t.reportData,a=t.dateFrom,l=t.dateTo,c=t.providers,d=t.formikRef,u={initialValues:{},validationSchema:{},onSubmit:function(){!function(){var t,n=null===(t=document.getElementById("report"))||void 0===t?void 0:t.innerHTML,i='\n \n \x3c!--[if gte mso 9]>\n \n \n \n \n Program List for NASBA National Registry Renewal\n \n \n \n \n \n \n \n \n \n \n \n "),a=document.createElement("a");a.download="Program List for NASBA National Registry Renewal.xls",a.href="data:application/vnd.ms-excel;base64,"+e.from("\ufeff".concat(i)).toString("base64"),a.click()}()}},m=function(){return r.a.createElement(s.Box,{style:{width:"100%",margin:"0 auto",zoom:"90%"},key:"reportData"},r.a.createElement(s.Table,null,r.a.createElement(o.a,null,r.a.createElement(s.TableCell,{colSpan:2,style:{padding:"2px 2px",border:"0"}},r.a.createElement(s.Typography,{variant:"body1",style:{fontWeight:"bold",fontSize:"16px"}},"National Registry of CPE Sponsors Program List")),r.a.createElement(s.TableCell,{style:{padding:"2px 2px",border:"0"}}),r.a.createElement(s.TableCell,{style:{padding:"2px 2px",border:"0"}},r.a.createElement(s.Typography,{variant:"body1",style:{fontWeight:"bold",fontSize:"16px"}},"Date Range:"),r.a.createElement(s.Typography,{variant:"body1",style:{fontSize:"16px"}},a," - ",l)),r.a.createElement(s.TableCell,{style:{padding:"2px 2px",border:"0"}},r.a.createElement(s.Typography,{variant:"body1",style:{fontWeight:"bold",fontSize:"16px"}},"Sponsor Name:"),r.a.createElement(s.Typography,{variant:"body1",style:{fontSize:"16px"}},c)),r.a.createElement(s.TableCell,{style:{padding:"2px 2px",border:"0"}}),r.a.createElement(s.TableCell,{style:{padding:"2px 2px",border:"0"}})),r.a.createElement(o.a,null,r.a.createElement(s.TableCell,{colSpan:7,style:{border:"thin solid #000",borderTop:"black 1px solid",padding:"2px 2px"}},r.a.createElement(s.Box,null,r.a.createElement(s.Typography,{variant:"body1",style:{fontSize:"16px"}},r.a.createElement("span",{style:{fontWeight:"bold",fontSize:"16px"}},"Instructions:"),"(1) List all CPE programs for which your organization will award NASBA-approved CPE credits. For the program title, please list the program title exactly as it is advertised or promoted to participants. (2) The number of CPE credits are measured by program length with one 50-minute period equal to one CPE credit. (3) Please select a delivery method from the drop down menu: group live; group internet based; QAS self study; nano learning; or blended learning. (4) Date: Please include the date that the program(s) was or will be offered. For QAS self study and nano learning programs, include the date that the program(s) was made available to participants. (5) Please select field(s) of study areas from the drop-down menu. If a program contains more than one field of study, provide the break down for the number of credits earned in each field.")))),r.a.createElement(o.a,null,r.a.createElement(s.TableCell,{colSpan:7,style:{borderTop:"black 1px solid",border:"0"}})),r.a.createElement(o.a,null,r.a.createElement(s.TableCell,{style:{border:"thin solid #000",padding:"2px 2px",verticalAlign:"center",borderTop:"black 1px solid"}},r.a.createElement(s.Typography,{variant:"body1",style:{fontWeight:"bold",textAlign:"center",fontSize:"16px"}},"Program Title")),r.a.createElement(s.TableCell,{style:{border:"thin solid #000",padding:"2px 2px",verticalAlign:"center",borderTop:"black 1px solid"}},r.a.createElement(s.Typography,{variant:"body1",style:{fontWeight:"bold",textAlign:"center",fontSize:"16px"}},"Delivery Method")),r.a.createElement(s.TableCell,{style:{border:"thin solid #000",padding:"2px 2px",verticalAlign:"center",borderTop:"black 1px solid"}},r.a.createElement(s.Typography,{variant:"body1",style:{fontWeight:"bold",textAlign:"center",fontSize:"16px"}},"Number of Recommended CPE credits")),r.a.createElement(s.TableCell,{style:{border:"thin solid #000",padding:"2px 2px",verticalAlign:"center",borderTop:"black 1px solid"}},r.a.createElement(s.Typography,{variant:"body1",style:{fontWeight:"bold",textAlign:"center",fontSize:"16px"}},"Date of Program")),r.a.createElement(s.TableCell,{colSpan:2,style:{border:"thin solid #000",padding:"2px 2px",verticalAlign:"center",borderTop:"black 1px solid"}},r.a.createElement(s.Typography,{variant:"body1",style:{fontWeight:"bold",textAlign:"center",fontSize:"16px"}},"Fields of Study")),r.a.createElement(s.TableCell,{style:{border:"thin solid #000",padding:"2px 2px",verticalAlign:"center",borderTop:"black 1px solid"}},r.a.createElement(s.Typography,{variant:"body1",style:{fontWeight:"bold",textAlign:"center",fontSize:"16px"}},"Location"))),n&&n.programList&&n.programList.map((function(e){var t,n,i=e.fosCreditList&&e.fosCreditList[0],a=null===(t=e.fosCreditList)||void 0===t?void 0:t.reduce((function(e,t){return e+(t.creditValue||0)}),0);return null===(n=e.fosCreditList)||void 0===n?void 0:n.map((function(t){var n,l=i&&i.creditName===t.creditName&&i&&i.creditValue===t.creditValue&&i&&i.sessionId===t.sessionId;return(null!==(n=t.creditValue)&&void 0!==n?n:0)>0&&r.a.createElement(o.a,{key:"".concat(e.sessionId,"_").concat(t.creditName,"_").concat(t.creditValue)},r.a.createElement(s.TableCell,{style:{border:"thin solid #000",padding:"2px 2px",verticalAlign:"center",borderTop:"black 1px solid"}},r.a.createElement(s.Typography,{variant:"body1",style:{fontWeight:"bold",textAlign:"left",fontSize:"16px",fontStyle:"italic",color:"#0070c0"}},l&&e.title)),r.a.createElement(s.TableCell,{style:{border:"thin solid #000",padding:"2px 2px",verticalAlign:"center",borderTop:"black 1px solid"}},r.a.createElement(s.Typography,{variant:"body1",style:{fontWeight:"bold",textAlign:"left",fontSize:"16px",color:"#0070c0"}},l&&e.deliveryMethod)),r.a.createElement(s.TableCell,{style:{border:"thin solid #000",padding:"2px 2px",verticalAlign:"center",borderTop:"black 1px solid"}},r.a.createElement(s.Typography,{variant:"body1",style:{textAlign:"right",fontSize:"16px"}},l&&a)),r.a.createElement(s.TableCell,{style:{border:"thin solid #000",padding:"2px 2px",verticalAlign:"center",borderTop:"black 1px solid"}},r.a.createElement(s.Typography,{variant:"body1",style:{fontWeight:"bold",textAlign:"center",fontSize:"16px",color:"#0070c0"}},l&&e.date)),r.a.createElement(s.TableCell,{style:{border:"thin solid #000",padding:"2px 2px",verticalAlign:"center",borderTop:"black 1px solid"}},r.a.createElement(s.Typography,{variant:"body1",style:{fontWeight:"bold",textAlign:"left",fontSize:"16px",color:"#0070c0"}},t.creditName)),r.a.createElement(s.TableCell,{style:{border:"thin solid #000",padding:"2px 2px",verticalAlign:"center",borderTop:"black 1px solid"}},r.a.createElement(s.Typography,{variant:"body1",style:{textAlign:"right",fontSize:"16px"}},t.creditValue)),r.a.createElement(s.TableCell,{style:{border:"thin solid #000",padding:"2px 2px",verticalAlign:"center",borderTop:"black 1px solid"}},r.a.createElement(s.Typography,{variant:"body1",style:{fontWeight:"bold",textAlign:"left",fontSize:"16px",color:"#0070c0"}},l&&e.location)))}))})),r.a.createElement(o.a,null,r.a.createElement(s.TableCell,{style:{border:"0",borderTop:"black 1px solid"}},r.a.createElement(s.Typography,{variant:"body1",style:{fontWeight:"bold",textAlign:"left",fontSize:"16px"}},"Total Number of Courses")),r.a.createElement(s.TableCell,{style:{border:"0",borderTop:"black 1px solid"}},r.a.createElement(s.Typography,{variant:"body1",style:{textAlign:"right",fontSize:"16px"}},n&&n.programCount)),r.a.createElement(s.TableCell,{colSpan:5,style:{border:"0",borderTop:"black 1px solid"}}))))};return r.a.createElement(r.a.Fragment,null,n&&n.programList&&n.programList.length>0&&r.a.createElement(s.Grid,{item:!0,xs:12,stretchContent:!0,id:"report",style:{width:"100px",margin:"0 auto"}},r.a.createElement(s.Box,null,r.a.createElement(i.Formik,{initialValues:u.initialValues,onSubmit:u.onSubmit,enableReinitialize:!0,innerRef:d},r.a.createElement(m,null)))))}}).call(this,n(68).Buffer)},128:function(e,t,n){"use strict";n.d(t,"e",(function(){return s})),n.d(t,"d",(function(){return l})),n.d(t,"f",(function(){return c})),n.d(t,"h",(function(){return d})),n.d(t,"b",(function(){return u})),n.d(t,"a",(function(){return m})),n.d(t,"g",(function(){return v})),n.d(t,"j",(function(){return f})),n.d(t,"i",(function(){return p})),n.d(t,"c",(function(){return h}));var i=n(13),a=n(2),r=n(12),o=n(87),s=function(e,t){var n=new a.kg({filterBy:[],searchCriteria:["Active"],sortBy:"name",page:1,pageSize:10});return function(r,s){var l=s().ethnicities,c=l.requestBody,d=l.selectedEthnicities,u=l.statusFilter;return t||(r(o.a(null)),r(o.f(""))),i.C.getAll(void 0,a.kg.fromJS(void 0!==e?e?n:c:{sortBy:"name"})).then((function(i){return t||(r(o.a(i.ethnicities)),r(o.b(i.recordCount)),r(o.d(e?[]:d)),r(o.c(void 0!==e?e?n:c:{sortBy:"name"})),r(o.f(e?"Active":void 0!==u&&null!==u?u:"Active"))),i})).catch((function(){r(o.a())}))}},l=function(e){return function(t){return i.C.getAll(void 0,a.kg.fromJS(e)).then((function(e){return e.ethnicities})).catch((function(){t(o.a())}))}},c=function(e){return function(t){return i.C.getEthnicityListById(void 0,new a.Zh({ethnicityId:e})).then((function(e){return e})).catch((function(e){return t(Object(r.b)(e)),null}))}},d=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return function(t,n){var o=n().ethnicities.selectedEthnicity;return(e?i.C.create("v1",a.xc.fromJS(o)):i.C.update("v1",a.fn.fromJS(o))).then((function(){t(Object(r.a)({message:"Save successful",variant:"success"})),t(s(!0))})).catch((function(e){t(Object(r.b)(e))}))}},u=function(e){var t=new a.Od({ethnicityIdList:e});return function(n){return i.C.delete(void 0,t).then((function(t){return n(s(!0)),t.length===e.length?(n(Object(r.a)({message:"None of the selected ethnicities are valid for deletion.",variant:"warning"})),null):(n(Object(r.a)({message:"".concat(e.length>1?"Ethnicities successfully deleted.":"Ethnicity successfully deleted."),variant:"success"})),t)})).catch((function(e){n(Object(r.a)({message:e.detail,variant:"error"}))}))}},m=function(e,t,n,l){var c=new a.L({ethnicityIdList:e,isArchive:t,isSelectedAll:null!==n&&void 0!==n&&n,exemptedIdList:null!==l&&void 0!==l?l:[]});return function(n){return i.C.archive(void 0,c).then((function(){n(o.d([])),n(Object(r.a)({message:"".concat(e.length>1?"Records":"Record"," ").concat(t?"deactivated.":"activated."),variant:"success"})),n(s(!0))})).catch((function(e){n(Object(r.a)({message:e.detail,variant:"error"}))}))}},v=function(e){return function(t){return i.C.merge(void 0,a.vk.fromJS(e)).then((function(){t(o.d([])),t(Object(r.a)({message:"Ethnicities merged",variant:"success"})),t(s(!0))})).catch((function(e){t(o.d([])),t(Object(r.a)({message:e.detail,variant:"error"}))}))}},f=function(e,t){return function(n){return i.C.validateEthnicityName(void 0,a.qp.fromJS(new a.qp({ethnicityIds:e,name:t}))).then((function(e){return e})).catch((function(e){n(Object(r.b)(e))}))}},p=function(e,t){return function(n){return i.C.validateEthnicityCode(void 0,a.pp.fromJS(new a.pp({ethnicityIds:e,code:t}))).then((function(e){return e})).catch((function(e){n(Object(r.b)(e))}))}},h=function(e,t){return function(n){return("csv"===t?i.C.exportCsv(void 0,a.kg.fromJS(e)):i.C.exportExcel(void 0,a.kg.fromJS(e))).then((function(e){var n=window.URL.createObjectURL(new Blob([e.data])),i=document.createElement("a");i.href=n,i.setAttribute("download",e.fileName||"ethnicities.".concat(t)),document.body.appendChild(i),i.click(),i.remove()})).catch((function(e){n(Object(r.b)(e))}))}}},1294:function(e,t,n){e.exports=n(2173)},1299:function(e,t,n){},13:function(e,t,n){"use strict";n.d(t,"b",(function(){return h})),n.d(t,"c",(function(){return y})),n.d(t,"d",(function(){return b})),n.d(t,"f",(function(){return g})),n.d(t,"g",(function(){return E})),n.d(t,"h",(function(){return I})),n.d(t,"i",(function(){return S})),n.d(t,"k",(function(){return O})),n.d(t,"m",(function(){return C})),n.d(t,"o",(function(){return j})),n.d(t,"p",(function(){return x})),n.d(t,"q",(function(){return A})),n.d(t,"s",(function(){return T})),n.d(t,"r",(function(){return w})),n.d(t,"t",(function(){return k})),n.d(t,"u",(function(){return P})),n.d(t,"v",(function(){return N})),n.d(t,"w",(function(){return D})),n.d(t,"x",(function(){return L})),n.d(t,"y",(function(){return F})),n.d(t,"z",(function(){return B})),n.d(t,"B",(function(){return R})),n.d(t,"C",(function(){return J})),n.d(t,"D",(function(){return G})),n.d(t,"E",(function(){return U})),n.d(t,"F",(function(){return z})),n.d(t,"G",(function(){return q})),n.d(t,"H",(function(){return M})),n.d(t,"I",(function(){return W})),n.d(t,"J",(function(){return V})),n.d(t,"K",(function(){return _})),n.d(t,"L",(function(){return Y})),n.d(t,"M",(function(){return H})),n.d(t,"O",(function(){return $})),n.d(t,"P",(function(){return Q})),n.d(t,"Q",(function(){return Z})),n.d(t,"W",(function(){return X})),n.d(t,"R",(function(){return K})),n.d(t,"T",(function(){return ee})),n.d(t,"U",(function(){return te})),n.d(t,"S",(function(){return ne})),n.d(t,"V",(function(){return ie})),n.d(t,"X",(function(){return ae})),n.d(t,"Y",(function(){return re})),n.d(t,"Z",(function(){return oe})),n.d(t,"ab",(function(){return se})),n.d(t,"cb",(function(){return le})),n.d(t,"bb",(function(){return ce})),n.d(t,"db",(function(){return de})),n.d(t,"eb",(function(){return ue})),n.d(t,"fb",(function(){return me})),n.d(t,"gb",(function(){return ve})),n.d(t,"hb",(function(){return fe})),n.d(t,"kb",(function(){return pe})),n.d(t,"lb",(function(){return he})),n.d(t,"pb",(function(){return ye})),n.d(t,"qb",(function(){return be})),n.d(t,"rb",(function(){return ge})),n.d(t,"sb",(function(){return Ee})),n.d(t,"tb",(function(){return Ie})),n.d(t,"wb",(function(){return Se})),n.d(t,"vb",(function(){return Oe})),n.d(t,"yb",(function(){return Ce})),n.d(t,"zb",(function(){return je})),n.d(t,"Ab",(function(){return xe})),n.d(t,"Bb",(function(){return Ae})),n.d(t,"Db",(function(){return Te})),n.d(t,"Eb",(function(){return we})),n.d(t,"Fb",(function(){return ke})),n.d(t,"jb",(function(){return Pe})),n.d(t,"Ib",(function(){return Ne})),n.d(t,"Jb",(function(){return De})),n.d(t,"a",(function(){return Le})),n.d(t,"xb",(function(){return Fe})),n.d(t,"l",(function(){return Be})),n.d(t,"j",(function(){return Re})),n.d(t,"e",(function(){return Je})),n.d(t,"ob",(function(){return Ge})),n.d(t,"nb",(function(){return Ue})),n.d(t,"ub",(function(){return ze})),n.d(t,"Gb",(function(){return qe})),n.d(t,"Hb",(function(){return Me})),n.d(t,"ib",(function(){return We})),n.d(t,"n",(function(){return Ve})),n.d(t,"Cb",(function(){return _e})),n.d(t,"mb",(function(){return Ye})),n.d(t,"A",(function(){return He})),n.d(t,"N",(function(){return $e}));var i=n(15),a=n.n(i),r=n(28),o=n(244),s=n(476),l=n(50),c=n.n(l),d=n(253),u=n(201),m=n(368),v=c.a.create();v.interceptors.request.use(function(){var e=Object(r.a)(a.a.mark((function e(t){var n,i,r;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(d.b)();case 2:return n=e.sent,o.default.configure(n),e.next=6,s.a.currentAuthenticatedUser().catch((function(){return"/signout"!==window.location.pathname&&"/login"!==window.location.pathname&&"/signin"!==window.location.pathname&&"/activate"!==window.location.pathname&&"/logout"!==window.location.pathname&&(window.location.href="/signout?expire=true"),null}));case 6:return i=e.sent,r="multipart/form-data"===t.headers["Content-Type"],null!=i&&(m.a.dispatch(Object(u.f)(i.signInUserSession.accessToken)),m.a.dispatch(Object(u.b)(1e3*i.signInUserSession.accessToken.getExpiration())),t.headers={"content-type":r?"multipart/form-data":"application/json",Authorization:"Bearer ".concat(i.signInUserSession.accessToken.jwtToken)}),e.abrupt("return",t);case 10:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()),v.interceptors.response.use(void 0,(function(e){var t=e;return t.originalMessage=e.message,t.response}));var f=v,p=n(2),h=new p.d("https://api.cem.micronapps.com",f),y=new p.e("https://api.cem.micronapps.com",f),b=new p.f("https://api.cem.micronapps.com",f),g=new p.t("https://api.cem.micronapps.com",f),E=new p.v("https://api.cem.micronapps.com",f),I=new p.w("https://api.cem.micronapps.com",f),S=new p.x("https://api.cem.micronapps.com",f),O=new p.nb("https://api.cem.micronapps.com",f),C=new p.ub("https://api.cem.micronapps.com",f),j=new p.Bb("https://api.cem.micronapps.com",f),x=new p.Cb("https://api.cem.micronapps.com",f),A=new p.Db("https://api.cem.micronapps.com",f),T=new p.Ib("https://api.cem.micronapps.com",f),w=new p.Hb("https://api.cem.micronapps.com",f),k=(new p.Jb("https://api.cem.micronapps.com",f),new p.Mb("https://api.cem.micronapps.com",f),new p.Tb("https://api.cem.micronapps.com",f)),P=new p.Ub("https://api.cem.micronapps.com",f),N=new p.rd("https://api.cem.micronapps.com",f),D=new p.sd("https://api.cem.micronapps.com",f),L=new p.ud("https://api.cem.micronapps.com",f),F=new p.Be("https://api.cem.micronapps.com",f),B=new p.Ce("https://api.cem.micronapps.com",f),R=new p.Qe("https://api.cem.micronapps.com",f),J=new p.Ue("https://api.cem.micronapps.com",f),G=new p.Xe("https://api.cem.micronapps.com",f),U=new p.Ye("https://api.cem.micronapps.com",f),z=new p.bf("https://api.cem.micronapps.com",f),q=new p.cf("https://api.cem.micronapps.com",f),M=new p.if("https://api.cem.micronapps.com",f),W=(new p.jf("https://api.cem.micronapps.com",f),new p.mf("https://api.cem.micronapps.com",f),new p.of("https://api.cem.micronapps.com",f)),V=new p.pf("https://api.cem.micronapps.com",f),_=new p.rf("https://api.cem.micronapps.com",f),Y=new p.Qb("https://api.cem.micronapps.com",f),H=(new p.sf("https://api.cem.micronapps.com",f),new p.uf("https://api.cem.micronapps.com",f)),$=new p.yj("https://api.cem.micronapps.com",f),Q=new p.Aj("https://api.cem.micronapps.com",f),Z=new p.Bj("https://api.cem.micronapps.com",f),X=new p.Oj("https://api.cem.micronapps.com",f),K=new p.Gj("https://api.cem.micronapps.com",f),ee=new p.Kj("https://api.cem.micronapps.com",f),te=new p.Mj("https://api.cem.micronapps.com",f),ne=new p.Ij("https://api.cem.micronapps.com",f),ie=new p.Nj("https://api.cem.micronapps.com",f),ae=new p.Sj("https://api.cem.micronapps.com",f),re=new p.Vj("https://api.cem.micronapps.com",f),oe=new p.Xj("https://api.cem.micronapps.com",f),se=new p.ak("https://api.cem.micronapps.com",f),le=new p.ek("https://api.cem.micronapps.com",f),ce=new p.ck("https://api.cem.micronapps.com",f),de=new p.gk("https://api.cem.micronapps.com",f),ue=new p.ik("https://api.cem.micronapps.com",f),me=(new p.lb("https://api.cem.micronapps.com",f),new p.Gk("https://api.cem.micronapps.com",f)),ve=new p.Kk("https://api.cem.micronapps.com",f),fe=new p.Nk("https://api.cem.micronapps.com",f),pe=new p.Sk("https://api.cem.micronapps.com",f),he=new p.Vk("https://api.cem.micronapps.com",f),ye=new p.ql("https://api.cem.micronapps.com",f),be=new p.ul("https://api.cem.micronapps.com",f),ge=new p.vl("https://api.cem.micronapps.com",f),Ee=new p.Bl("https://api.cem.micronapps.com",f),Ie=new p.El("https://api.cem.micronapps.com",f),Se=new p.Hl("https://api.cem.micronapps.com",f),Oe=new p.Gl("https://api.cem.micronapps.com",f),Ce=new p.Ll("https://api.cem.micronapps.com",f),je=new p.km("https://api.cem.micronapps.com",f),xe=new p.pm("https://api.cem.micronapps.com",f),Ae=new p.tm("https://api.cem.micronapps.com",f),Te=new p.wm("https://api.cem.micronapps.com",f),we=new p.Am("https://api.cem.micronapps.com",f),ke=new p.Cm("https://api.cem.micronapps.com",f),Pe=new p.Qk("https://api.cem.micronapps.com",f),Ne=new p.Qo("https://api.cem.micronapps.com",f),De=new p.Ro("https://api.cem.micronapps.com",f),Le=new p.a("https://api.cem.micronapps.com",f),Fe=new p.Kl("https://api.cem.micronapps.com",f),Be=new p.qb("https://api.cem.micronapps.com",f),Re=new p.kb("https://api.cem.micronapps.com",f),Je=new p.r("https://api.cem.micronapps.com",f),Ge=new p.ll("https://api.cem.micronapps.com",f),Ue=new p.kl("https://api.cem.micronapps.com",f),ze=new p.Fl("https://api.cem.micronapps.com",f),qe=new p.xo("https://api.cem.micronapps.com",f),Me=(new p.Ao("https://api.cem.micronapps.com",f),new p.Fo("https://api.cem.micronapps.com",f)),We=new p.Ok("https://api.cem.micronapps.com",f),Ve=(new p.u("https://api.cem.micronapps.com",f),new p.zb("https://api.cem.micronapps.com",f)),_e=new p.um("https://api.cem.micronapps.com",f),Ye=new p.Yk("https://api.cem.micronapps.com",f),He=new p.Ee("https://api.cem.micronapps.com",f),$e=new p.wj("https://api.cem.micronapps.com",f)},131:function(e,t,n){"use strict";n.d(t,"k",(function(){return i})),n.d(t,"l",(function(){return a})),n.d(t,"a",(function(){return r})),n.d(t,"j",(function(){return o})),n.d(t,"b",(function(){return s})),n.d(t,"h",(function(){return l})),n.d(t,"i",(function(){return c})),n.d(t,"g",(function(){return d})),n.d(t,"e",(function(){return u})),n.d(t,"c",(function(){return m})),n.d(t,"f",(function(){return v})),n.d(t,"d",(function(){return f}));var i="SIGNIN",a="SIGNOUT",r="INITIALIZE",o="SET_TOKEN",s="SET_GUID",l="SET_REDIRECTION_TYPE",c="SET_REDIRECTURL",d="SET_PAGELOADEDDATETIME",u="SET_JWTEXPIRATION",m="SET_ISEXPIRED",v="SET_LOGINALERT",f="SET_IS_USER_ACCESS_TOKEN_ADDED"},132:function(e,t,n){"use strict";n.d(t,"i",(function(){return i})),n.d(t,"j",(function(){return a})),n.d(t,"l",(function(){return r})),n.d(t,"b",(function(){return o})),n.d(t,"c",(function(){return s})),n.d(t,"d",(function(){return l})),n.d(t,"k",(function(){return c})),n.d(t,"a",(function(){return d})),n.d(t,"m",(function(){return u})),n.d(t,"e",(function(){return m})),n.d(t,"f",(function(){return v})),n.d(t,"g",(function(){return f})),n.d(t,"h",(function(){return p}));var i="SET_REGULATOR_SUMMARIES",a="SET_REGULATOR_SUMMARIES_REQUEST_BODY",r="SET_SELECTED_REGULATOR_SUMMARY",o="SET_LICENSEES",s="SET_LICENSEES_COUNT",l="SET_LICENSEES_REQUEST_BODY",c="SET_SELECTED_LICENSEES",d="ADD_LICENSEES_SAVED_FILTER",u="UPDATE_LICENSEES_SAVED_FILTER",m="SET_LICENSEES_SAVED_FILTER",v="SET_LICENSEES_SAVED_FILTERS",f="SET_LICENSEES_SAVED_FILTER_ID",p="SET_LICENSEES_SELECTED_FILTERS"},137:function(e,t,n){"use strict";n(657);var i=n(86);n.d(t,"c",(function(){return i.a})),n.d(t,"d",(function(){return i.c}));n(149);var a=n(117);n.d(t,"a",(function(){return a.d})),n.d(t,"b",(function(){return a.f}))},138:function(e,t,n){"use strict";n(659);var i=n(81);n.d(t,"c",(function(){return i.a})),n.d(t,"d",(function(){return i.c}));n(152);var a=n(105);n.d(t,"a",(function(){return a.d})),n.d(t,"b",(function(){return a.f}))},139:function(e,t,n){"use strict";n(662);var i=n(83);n.d(t,"c",(function(){return i.b})),n.d(t,"d",(function(){return i.c}));n(155);var a=n(118);n.d(t,"a",(function(){return a.d})),n.d(t,"b",(function(){return a.f}))},143:function(e,t,n){"use strict";n.d(t,"e",(function(){return l})),n.d(t,"f",(function(){return c})),n.d(t,"d",(function(){return d})),n.d(t,"i",(function(){return u})),n.d(t,"b",(function(){return m})),n.d(t,"a",(function(){return v})),n.d(t,"h",(function(){return f})),n.d(t,"k",(function(){return p})),n.d(t,"j",(function(){return h})),n.d(t,"g",(function(){return y})),n.d(t,"c",(function(){return b}));var i=n(13),a=n(2),r=n(12),o=n(67),s=n(98),l=function(e,t){var n=new a.Hf({filterBy:[],searchCriteria:["Active"],sortBy:"name",page:1,pageSize:10});return function(r,o){var l=o().affiliations,c=l.requestBody,d=l.selectedAffiliations,u=l.statusFilter;return t||(r(s.a(null)),r(s.f(""))),i.f.getAll(void 0,a.Hf.fromJS(void 0!==e?e?n:c:{sortBy:"name"})).then((function(i){return t||(r(s.a(i.affiliations)),r(s.b(i.recordCount)),r(s.e(e?[]:d)),r(s.c(void 0!==e?e?n:c:{sortBy:"name"})),r(s.f(e?"Active":void 0!==u&&null!==u?u:"Active"))),i})).catch((function(){r(s.a())}))}},c=function(e){return function(t){return i.f.getAll(void 0,a.Hf.fromJS(e)).then((function(e){return e.affiliations})).catch((function(){t(s.a())}))}},d=function(e){return function(t){return i.f.getAffiliationListById(void 0,new a.Af({affiliationId:e})).then((function(e){return e})).catch((function(e){return t(Object(r.b)(e)),null}))}},u=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return function(t,n){var o=n().affiliations.selectedAffiliation;return(e?i.f.create("v1",a.bc.fromJS(o)):i.f.update("v1",a.Nm.fromJS(o))).then((function(){t(Object(r.a)({message:"Save successful",variant:"success"})),t(l(!0))})).catch((function(e){t(Object(r.b)(e))}))}},m=function(e){var t=new a.Bd({affiliationIdList:e});return function(n){return i.f.delete(void 0,t).then((function(t){return n(l(!0)),t.length===e.length?(n(Object(r.a)({message:"None of the selected affiliations are valid for deletion.",variant:"warning"})),null):(n(Object(r.a)({message:"".concat(e.length>1?"Affiliations successfully deleted.":"Affiliation successfully deleted."),variant:"success"})),t)})).catch((function(e){n(Object(r.a)({message:e.detail,variant:"error"}))}))}},v=function(e,t,n,o){var c=new a.C({affiliationIdList:e,isArchive:t,isSelectedAll:null!==n&&void 0!==n&&n,exemptedIdList:null!==o&&void 0!==o?o:[]});return function(n){return i.f.archive(void 0,c).then((function(){n(s.e([])),n(Object(r.a)({message:"".concat(e.length>1?"Records":"Record"," ").concat(t?"deactivated.":"activated."),variant:"success"})),n(l(!0))})).catch((function(e){n(Object(r.a)({message:e.detail,variant:"error"}))}))}},f=function(e){return function(t){return i.f.merge(void 0,a.ok.fromJS(e)).then((function(){t(s.e([])),t(Object(r.a)({message:"Affiliations merged",variant:"success"})),t(l(!0))})).catch((function(e){t(s.e([])),t(Object(r.a)({message:e.detail,variant:"error"}))}))}},p=function(e,t){return function(n){return i.f.validateAffiliationName(void 0,a.Wo.fromJS(new a.Wo({affiliationIds:e,name:t}))).then((function(e){return e})).catch((function(e){n(Object(r.b)(e))}))}},h=function(e,t){return function(n){return i.f.validateAffiliationCode(void 0,a.Vo.fromJS(new a.Vo({affiliationIds:e,code:t}))).then((function(e){return e})).catch((function(e){n(Object(r.b)(e))}))}},y=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return function(t){t(Object(o.c)()),t(Object(o.f)()),e||t(Object(o.g)())}},b=function(e,t){return function(n){return("csv"===t?i.f.exportCsv(void 0,a.Hf.fromJS(e)):i.f.exportExcel(void 0,a.Hf.fromJS(e))).then((function(e){var n=window.URL.createObjectURL(new Blob([e.data])),i=document.createElement("a");i.href=n,i.setAttribute("download",e.fileName||"affiliations.".concat(t)),document.body.appendChild(i),i.click(),i.remove()})).catch((function(e){n(Object(r.b)(e))}))}}},146:function(e,t,n){"use strict";n(660);var i=n(74);n.d(t,"c",(function(){return i.a})),n.d(t,"d",(function(){return i.c}));n(153);var a=n(96);n.d(t,"a",(function(){return a.e})),n.d(t,"b",(function(){return a.g}))},147:function(e,t,n){"use strict";n.d(t,"d",(function(){return i})),n.d(t,"g",(function(){return a})),n.d(t,"h",(function(){return r})),n.d(t,"a",(function(){return o})),n.d(t,"j",(function(){return s})),n.d(t,"c",(function(){return l})),n.d(t,"b",(function(){return c})),n.d(t,"e",(function(){return d})),n.d(t,"f",(function(){return u})),n.d(t,"i",(function(){return m}));var i="SET_AFFILIATIONS",a="SET_SELECTED_AFFILIATION",r="SET_SELECTED_AFFILIATIONS",o="ADD_AFFILIATION",s="UPDATE_AFFILIATION",l="REMOVE_AFFILIATION",c="ARCHIVE_AFFILIATION",d="SET_PAGE_NAVIGATION_AFFILIATION",u="SET_REQUEST_BODY_AFFILIATION",m="SET_STATUS_FILTER_AFFILIATION"},148:function(e,t,n){"use strict";n.d(t,"d",(function(){return i})),n.d(t,"g",(function(){return a})),n.d(t,"h",(function(){return r})),n.d(t,"a",(function(){return o})),n.d(t,"j",(function(){return s})),n.d(t,"b",(function(){return l})),n.d(t,"c",(function(){return c})),n.d(t,"e",(function(){return d})),n.d(t,"f",(function(){return u})),n.d(t,"i",(function(){return m}));var i="SET_CLASS_YEARS",a="SET_SELECTED_CLASS_YEAR",r="SET_SELECTED_CLASS_YEARS",o="ADD_CLASS_YEAR",s="UPDATE_CLASS_YEAR",l="ARCHIVE_CLASS_YEAR",c="REMOVE_CLASS_YEAR",d="SET_PAGE_NAVIGATION_CLASS_YEAR",u="SET_REQUEST_BODY_CLASS_YEAR",m="SET_STATUS_FILTER_CLASS_YEAR"},149:function(e,t,n){"use strict";n.d(t,"d",(function(){return i})),n.d(t,"g",(function(){return a})),n.d(t,"h",(function(){return r})),n.d(t,"a",(function(){return o})),n.d(t,"j",(function(){return s})),n.d(t,"c",(function(){return l})),n.d(t,"b",(function(){return c})),n.d(t,"e",(function(){return d})),n.d(t,"f",(function(){return u})),n.d(t,"i",(function(){return m}));var i="SET_DEPARTMENTS",a="SET_SELECTED_DEPARTMENT",r="SET_SELECTED_DEPARTMENTS",o="ADD_DEPARTMENT",s="UPDATE_DEPARTMENT",l="REMOVE_DEPARTMENT",c="ARCHIVE_DEPARTMENT",d="SET_PAGE_NAVIGATION_DEPARTMENT",u="SET_REQUEST_BODY_DEPARTMENT",m="SET_STATUS_FILTER_DEPARTMENT"},150:function(e,t,n){"use strict";n.d(t,"d",(function(){return i})),n.d(t,"h",(function(){return a})),n.d(t,"g",(function(){return r})),n.d(t,"a",(function(){return o})),n.d(t,"j",(function(){return s})),n.d(t,"c",(function(){return l})),n.d(t,"b",(function(){return c})),n.d(t,"e",(function(){return d})),n.d(t,"f",(function(){return u})),n.d(t,"i",(function(){return m}));var i="SET_ETHNICITIES",a="SET_SELECTED_ETHNICITY",r="SET_SELECTED_ETHNICITIES",o="ADD_ETHNICITY",s="UPDATE_ETHNICITY",l="REMOVE_ETHNICITY",c="ARCHIVE_ETHNICITY",d="SET_PAGE_NAVIGATION_ETHNICITY",u="SET_REQUEST_BODY_ETHNICITY",m="SET_STATUS_FILTER_ETHNICITY"},151:function(e,t,n){"use strict";n.d(t,"d",(function(){return i})),n.d(t,"g",(function(){return a})),n.d(t,"h",(function(){return r})),n.d(t,"a",(function(){return o})),n.d(t,"j",(function(){return s})),n.d(t,"b",(function(){return l})),n.d(t,"c",(function(){return c})),n.d(t,"e",(function(){return d})),n.d(t,"f",(function(){return u})),n.d(t,"i",(function(){return m}));var i="SET_GENDERS",a="SET_SELECTED_GENDER",r="SET_SELECTED_GENDERS",o="ADD_GENDER",s="UPDATE_GENDER",l="ARCHIVE_GENDER",c="REMOVE_GENDER",d="SET_PAGE_NAVIGATION_GENDER",u="SET_REQUEST_BODY_GENDER",m="SET_STATUS_FILTER_GENDER"},152:function(e,t,n){"use strict";n.d(t,"d",(function(){return i})),n.d(t,"g",(function(){return a})),n.d(t,"h",(function(){return r})),n.d(t,"a",(function(){return o})),n.d(t,"j",(function(){return s})),n.d(t,"b",(function(){return l})),n.d(t,"c",(function(){return c})),n.d(t,"e",(function(){return d})),n.d(t,"f",(function(){return u})),n.d(t,"i",(function(){return m}));var i="SET_LEVELS",a="SET_SELECTED_LEVEL",r="SET_SELECTED_LEVELS",o="ADD_LEVEL",s="UPDATE_LEVEL",l="ARCHIVE_LEVEL",c="REMOVE_LEVEL",d="SET_PAGE_NAVIGATION_LEVEL",u="SET_REQUEST_BODY_LEVEL",m="SET_STATUS_FILTER_LEVEL"},153:function(e,t,n){"use strict";n.d(t,"d",(function(){return i})),n.d(t,"g",(function(){return a})),n.d(t,"a",(function(){return r})),n.d(t,"j",(function(){return o})),n.d(t,"c",(function(){return s})),n.d(t,"b",(function(){return l})),n.d(t,"h",(function(){return c})),n.d(t,"e",(function(){return d})),n.d(t,"f",(function(){return u})),n.d(t,"i",(function(){return m}));var i="SET_LOCATIONS",a="SET_SELECTED_LOCATION",r="ADD_LOCATION",o="UPDATE_LOCATION",s="REMOVE_LOCATION",l="ARCHIVE_LOCATION",c="SET_SELECTED_LOCATIONS",d="SET_PAGE_NAVIGATION_LOCATION",u="SET_REQUEST_BODY_LOCATION",m="SET_STATUS_FILTER_LOCATION"},154:function(e,t,n){"use strict";n.d(t,"e",(function(){return i})),n.d(t,"g",(function(){return a})),n.d(t,"h",(function(){return r})),n.d(t,"a",(function(){return o})),n.d(t,"j",(function(){return s})),n.d(t,"b",(function(){return l})),n.d(t,"c",(function(){return c})),n.d(t,"d",(function(){return d})),n.d(t,"f",(function(){return u})),n.d(t,"i",(function(){return m}));var i="SET_POSITIONS",a="SET_SELECTED_POSITION",r="SET_SELECTED_POSITIONS",o="ADD_POSITION",s="UPDATE_POSITION",l="ARCHIVE_POSITION",c="REMOVE_POSITION",d="SET_PAGE_NAVIGATION_POSITION",u="SET_REQUEST_BODY_POSITION",m="SET_STATUS_FILTER_POSITION"},155:function(e,t,n){"use strict";n.d(t,"e",(function(){return i})),n.d(t,"g",(function(){return a})),n.d(t,"h",(function(){return r})),n.d(t,"a",(function(){return o})),n.d(t,"j",(function(){return s})),n.d(t,"b",(function(){return l})),n.d(t,"c",(function(){return c})),n.d(t,"d",(function(){return d})),n.d(t,"f",(function(){return u})),n.d(t,"i",(function(){return m}));var i="SET_PRACTICE_AREAS",a="SET_SELECTED_PRACTICE_AREA",r="SET_SELECTED_PRACTICE_AREAS",o="ADD_PRACTICE_AREA",s="UPDATE_PRACTICE_AREA",l="ARCHIVE_PRACTICE_AREA",c="REMOVE_PRACTICE_AREA",d="SET_PAGE_NAVIGATION_PRACTICE_AREA",u="SET_REQUEST_BODY_PRACTICE_AREA",m="SET_STATUS_FILTER_PRACTICE_AREA"},156:function(e,t,n){"use strict";n.d(t,"d",(function(){return i})),n.d(t,"h",(function(){return a})),n.d(t,"g",(function(){return r})),n.d(t,"a",(function(){return o})),n.d(t,"j",(function(){return s})),n.d(t,"b",(function(){return l})),n.d(t,"c",(function(){return c})),n.d(t,"e",(function(){return d})),n.d(t,"f",(function(){return u})),n.d(t,"i",(function(){return m}));var i="SET_COMPETENCIES",a="SET_SELECTED_COMPETENCY",r="SET_SELECTED_COMPETENCIES",o="ADD_COMPETENCY",s="UPDATE_COMPETENCY",l="ARCHIVE_COMPETENCY",c="REMOVE_COMPETENCY",d="SET_PAGE_NAVIGATION_COMPETENCY",u="SET_REQUEST_BODY_COMPETENCY",m="SET_STATUS_FILTER_COMPETENCY"},157:function(e,t,n){"use strict";n.d(t,"e",(function(){return i})),n.d(t,"g",(function(){return a})),n.d(t,"c",(function(){return r})),n.d(t,"a",(function(){return o})),n.d(t,"j",(function(){return s})),n.d(t,"b",(function(){return l})),n.d(t,"h",(function(){return c})),n.d(t,"d",(function(){return d})),n.d(t,"f",(function(){return u})),n.d(t,"i",(function(){return m}));var i="SET_PROVIDERS",a="SET_SELECTED_PROVIDER",r="REMOVE_PROVIDER",o="ADD_PROVIDER",s="UPDATE_PROVIDER",l="ARCHIVE_PROVIDER",c="SET_SELECTED_PROVIDERS",d="SET_PAGE_NAVIGATION_PROVIDER",u="SET_REQUEST_BODY_PROVIDER",m="SET_STATUS_FILTER_PROVIDER"},158:function(e,t,n){"use strict";n.d(t,"f",(function(){return i})),n.d(t,"g",(function(){return a})),n.d(t,"h",(function(){return r})),n.d(t,"a",(function(){return o})),n.d(t,"j",(function(){return s})),n.d(t,"b",(function(){return l})),n.d(t,"c",(function(){return c})),n.d(t,"d",(function(){return d})),n.d(t,"e",(function(){return u})),n.d(t,"i",(function(){return m}));var i="SET_ROOMS",a="SET_SELECTED_ROOM",r="SET_SELECTED_ROOMS",o="ADD_ROOM",s="UPDATE_ROOM",l="ARCHIVE_ROOM",c="REMOVE_ROOM",d="SET_PAGE_NAVIGATION_ROOM",u="SET_REQUEST_BODY_ROOM",m="SET_STATUS_FILTER_ROOM"},159:function(e,t,n){"use strict";n.d(t,"i",(function(){return i})),n.d(t,"f",(function(){return a})),n.d(t,"g",(function(){return r})),n.d(t,"a",(function(){return o})),n.d(t,"j",(function(){return s})),n.d(t,"b",(function(){return l})),n.d(t,"c",(function(){return c})),n.d(t,"d",(function(){return d})),n.d(t,"e",(function(){return u})),n.d(t,"h",(function(){return m}));var i="SET_TAGS",a="SET_SELECTED_TAG",r="SET_SELECTED_TAGS",o="ADD_TAG",s="UPDATE_TAG",l="ARCHIVE_TAG",c="REMOVE_TAG",d="SET_PAGE_NAVIGATION_TAG",u="SET_REQUEST_BODY_TAG",m="SET_STATUS_FILTER_TAG"},165:function(e,t,n){"use strict";n(651);var i=n(98);n.d(t,"c",(function(){return i.a})),n.d(t,"d",(function(){return i.c}));n(147);var a=n(143);n.d(t,"a",(function(){return a.e})),n.d(t,"b",(function(){return a.f}))},166:function(e,t,n){"use strict";n.d(t,"f",(function(){return s})),n.d(t,"d",(function(){return l})),n.d(t,"e",(function(){return c})),n.d(t,"h",(function(){return d})),n.d(t,"b",(function(){return u})),n.d(t,"a",(function(){return m})),n.d(t,"g",(function(){return v})),n.d(t,"j",(function(){return f})),n.d(t,"i",(function(){return p})),n.d(t,"c",(function(){return h}));var i=n(13),a=n(2),r=n(12),o=n(97),s=function(e,t){var n=new a.qg({filterBy:[],searchCriteria:["Active"],sortBy:"name",page:1,pageSize:10});return function(r,s){var l=s().genders,c=l.requestBody,d=l.selectedGenders,u=l.statusFilter;return t||(r(o.a(null)),r(o.f(""))),i.M.getAll(void 0,a.qg.fromJS(void 0!==e?e?n:c:{sortBy:"name"})).then((function(i){return t||(r(o.a(i.genders)),r(o.b(i.recordCount)),r(o.e(e?[]:d)),r(o.c(void 0!==e?e?n:c:{sortBy:"name"})),r(o.f(e?"Active":void 0!==u&&null!==u?u:"Active"))),i})).catch((function(){r(o.a())}))}},l=function(e){return function(t){return i.M.getAll(void 0,a.qg.fromJS(e)).then((function(e){return e.genders})).catch((function(){t(o.a())}))}},c=function(e){return function(t){return i.M.getGenderListById(void 0,new a.fi({genderId:e})).then((function(e){return e})).catch((function(e){return t(Object(r.b)(e)),null}))}},d=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return function(t,n){var o=n().genders.selectedGender;return(e?i.M.create("v1",a.Dc.fromJS(o)):i.M.update("v1",a.qn.fromJS(o))).then((function(){t(Object(r.a)({message:"Save successful",variant:"success"})),t(s(!0))})).catch((function(e){t(Object(r.b)(e))}))}},u=function(e){var t=new a.Wd({genderIdList:e});return function(n){return i.M.delete(void 0,t).then((function(t){return n(s(!0)),t.length===e.length?(n(Object(r.a)({message:"None of the selected genders are valid for deletion.",variant:"warning"})),null):(n(Object(r.a)({message:"".concat(e.length>1?"Genders successfully deleted.":"Gender successfully deleted."),variant:"success"})),t)})).catch((function(e){n(Object(r.a)({message:e.detail,variant:"error"}))}))}},m=function(e,t,n,l){var c=new a.P({genderIdList:e,isArchive:t,isSelectedAll:null!==n&&void 0!==n&&n,exemptedIdList:null!==l&&void 0!==l?l:[]}),d=i.M.archive(void 0,c);return function(n){return d.then((function(){n(o.e([])),n(Object(r.a)({message:"".concat(e.length>1?"Records":"Record"," ").concat(t?"deactivated.":"activated."),variant:"success"})),n(s(!0))})).catch((function(e){n(Object(r.a)({message:e.detail,variant:"error"}))}))}},v=function(e){return function(t){return i.M.merge(void 0,a.xk.fromJS(e)).then((function(){t(o.e([])),t(Object(r.a)({message:"Genders merged",variant:"success"})),t(s(!0))})).catch((function(e){t(o.e([])),t(Object(r.a)({message:e.detail,variant:"error"}))}))}},f=function(e,t){return function(n){return i.M.validateGenderName(void 0,a.up.fromJS(new a.up({genderIds:e,name:t}))).then((function(e){return e})).catch((function(e){n(Object(r.b)(e))}))}},p=function(e,t){return function(n){return i.M.validateGenderCode(void 0,a.tp.fromJS(new a.tp({genderIds:e,code:t}))).then((function(e){return e})).catch((function(e){n(Object(r.b)(e))}))}},h=function(e,t){return function(n){return("csv"===t?i.M.exportCsv(void 0,a.qg.fromJS(e)):i.M.exportExcel(void 0,a.qg.fromJS(e))).then((function(e){var n=window.URL.createObjectURL(new Blob([e.data])),i=document.createElement("a");i.href=n,i.setAttribute("download",e.fileName||"genders.".concat(t)),document.body.appendChild(i),i.click(),i.remove()})).catch((function(e){n(Object(r.b)(e))}))}}},167:function(e,t,n){"use strict";n.d(t,"b",(function(){return a})),n.d(t,"f",(function(){return r})),n.d(t,"g",(function(){return o})),n.d(t,"a",(function(){return s})),n.d(t,"d",(function(){return l})),n.d(t,"c",(function(){return c})),n.d(t,"e",(function(){return d}));var i=n(206),a=function(e){return{type:i.b,payload:e}},r=function(e){return{type:i.f,payload:e}},o=function(e){return{type:i.g,payload:e}},s=function(e){return{type:i.a,payload:e}},l=function(e){return{type:i.d,payload:e}},c=function(e){return{type:i.c,payload:e}},d=function(e){return{type:i.e,payload:e}}},168:function(e,t,n){"use strict";n.d(t,"d",(function(){return i})),n.d(t,"g",(function(){return a})),n.d(t,"h",(function(){return r})),n.d(t,"a",(function(){return o})),n.d(t,"j",(function(){return s})),n.d(t,"c",(function(){return l})),n.d(t,"b",(function(){return c})),n.d(t,"e",(function(){return d})),n.d(t,"f",(function(){return u})),n.d(t,"i",(function(){return m}));var i="SET_EXCUSES",a="SET_SELECTED_EXCUSE",r="SET_SELECTED_EXCUSES",o="ADD_EXCUSE",s="UPDATE_EXCUSE",l="REMOVE_EXCUSE",c="ARCHIVE_EXCUSE",d="SET_PAGE_NAVIGATION_EXCUSE",u="SET_REQUEST_BODY_EXCUSE",m="SET_STATUS_FILTER_EXCUSE"},170:function(e,t,n){"use strict";var i=n(0),a=n(19);t.a=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:500;return Object(i.useCallback)(Object(a.debounce)(e,t),[e,t])}},171:function(e,t,n){"use strict";n(664),n(241),n(229);var i=n(223);n.d(t,"a",(function(){return i.a})),n.d(t,"b",(function(){return i.b})),n.d(t,"c",(function(){return i.d}))},174:function(e,t,n){"use strict";n.d(t,"i",(function(){return a})),n.d(t,"j",(function(){return r})),n.d(t,"h",(function(){return o})),n.d(t,"d",(function(){return s})),n.d(t,"g",(function(){return l})),n.d(t,"f",(function(){return c})),n.d(t,"b",(function(){return d})),n.d(t,"a",(function(){return u})),n.d(t,"c",(function(){return m})),n.d(t,"e",(function(){return v}));var i=n(131),a=function(e){return{type:i.k,payload:e}},r=function(){return{type:i.l,payload:null}},o=function(e){return{type:i.j,payload:e}},s=function(e){return{type:i.b,payload:e}},l=function(e){return{type:i.h,payload:e}},c=function(e){return{type:i.i,payload:e}},d=function(e){return{type:i.e,payload:e}},u=function(e){return{type:i.c,payload:e}},m=function(e){return{type:i.f,payload:e}},v=function(e){return{type:i.d,payload:e}}},175:function(e,t,n){"use strict";n.d(t,"a",(function(){return m})),n.d(t,"c",(function(){return v})),n.d(t,"b",(function(){return f})),n.d(t,"d",(function(){return p})),n.d(t,"k",(function(){return h})),n.d(t,"l",(function(){return y})),n.d(t,"j",(function(){return b})),n.d(t,"f",(function(){return g})),n.d(t,"i",(function(){return E})),n.d(t,"g",(function(){return I})),n.d(t,"h",(function(){return S})),n.d(t,"e",(function(){return O}));var i=n(15),a=n.n(i),r=n(28),o=n(13),s=n(2),l=n(33),c=n(165),d=n(222),u=n(38),m=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return function(){var n=Object(r.a)(a.a.mark((function n(i){var r,s;return a.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return r={data:e,fileName:e.name},n.prev=1,n.next=4,o.g.attachFile(t,void 0,r);case 4:return s=n.sent,n.abrupt("return",s);case 8:return n.prev=8,n.t0=n.catch(1),i(Object(l.b)(n.t0)),n.abrupt("return",null);case 12:case"end":return n.stop()}}),n,null,[[1,8]])})));return function(e){return n.apply(this,arguments)}}()},v=function(e){return function(){var t=Object(r.a)(a.a.mark((function t(n){var i;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,o.g.deleteFile(void 0,e);case 3:return i=t.sent,t.abrupt("return",i);case 7:return t.prev=7,t.t0=t.catch(0),n(Object(l.b)(t.t0)),t.abrupt("return",null);case 11:case"end":return t.stop()}}),t,null,[[0,7]])})));return function(e){return t.apply(this,arguments)}}()},f=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return function(){var i=Object(r.a)(a.a.mark((function i(r){var s,c,d;return a.a.wrap((function(i){for(;;)switch(i.prev=i.next){case 0:s={data:t,fileName:t.name},c=!1,i.t0=e,i.next=i.t0===u.d.ClientUser||i.t0===u.d.NonClientUser?5:i.t0===u.d.SessionParticipant?7:9;break;case 5:return d=o.N.createUserImportFromScreen(c,e===u.d.ClientUser,void 0,s),i.abrupt("break",10);case 7:return d=o.N.createSessionParticipantImportFromScreen(!0,n,void 0,s),i.abrupt("break",10);case 9:return i.abrupt("return",null);case 10:return i.abrupt("return",d.then((function(e){return e})).catch((function(e){return r(Object(l.b)(e)),null})));case 11:case"end":return i.stop()}}),i)})));return function(e){return i.apply(this,arguments)}}()},p=function(e){return function(){var t=Object(r.a)(a.a.mark((function t(n){var i;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return i=o.N.deleteImport(void 0,s.Xd.fromJS({importId:e})),t.abrupt("return",i.catch((function(e){n(Object(l.b)(e))})));case 2:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()},h=function(e,t){return function(){var n=Object(r.a)(a.a.mark((function n(i){var r;return a.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:n.t0=e,n.next=n.t0===u.d.NonClientUser||n.t0===u.d.ClientUser?3:5;break;case 3:return r=o.N.updateUserImportConfiguration(void 0,t),n.abrupt("break",6);case 5:return n.abrupt("return",null);case 6:return n.abrupt("return",r.then((function(e){return e})).catch((function(e){return i(Object(l.b)(e)),null})));case 7:case"end":return n.stop()}}),n)})));return function(e){return n.apply(this,arguments)}}()},y=function(e,t,n){return function(){var i=Object(r.a)(a.a.mark((function i(r){var c;return a.a.wrap((function(i){for(;;)switch(i.prev=i.next){case 0:i.t0=e,i.next=i.t0===u.d.NonClientUser||i.t0===u.d.ClientUser?3:5;break;case 3:return c=o.N.updateUserImportRowConfiguration(void 0,s.po.fromJS({importData:t,importRowIds:n})),i.abrupt("break",6);case 5:return i.abrupt("return",null);case 6:return i.abrupt("return",c.then((function(e){return e})).catch((function(e){return r(Object(l.b)(e)),null})));case 7:case"end":return i.stop()}}),i)})));return function(e){return i.apply(this,arguments)}}()},b=function(e,t,n){return function(){var i=Object(r.a)(a.a.mark((function i(r){var c;return a.a.wrap((function(i){for(;;)switch(i.prev=i.next){case 0:i.t0=e,i.next=i.t0===u.d.NonClientUser||i.t0===u.d.ClientUser?3:5;break;case 3:return c=o.N.submitUserImport(void 0,s.xm.fromJS({importId:t,selectedImportRowIds:n})),i.abrupt("break",6);case 5:return i.abrupt("return",null);case 6:return i.abrupt("return",c.then((function(e){return e})).catch((function(e){return r(Object(l.b)(e)),null})));case 7:case"end":return i.stop()}}),i)})));return function(e){return i.apply(this,arguments)}}()},g=function(){return function(e){return Object(c.c)(void 0),o.f.getAll(void 0,s.Hf.fromJS({filterBy:[],searchCriteria:["Active"],sortBy:"name",pageSize:-1})).then((function(t){return e(Object(c.c)(t.affiliations)),t.affiliations})).catch((function(t){return e(Object(l.b)(t)),[]}))}},E=function(){return function(e){return o.eb.getAllFirmOffice(void 0).then((function(e){return e})).catch((function(t){return e(Object(l.b)(t)),[]}))}},I=function(){return function(e){return Object(d.c)(void 0),o.M.getAll(void 0,s.qg.fromJS({filterBy:[],searchCriteria:["Active"],sortBy:"name",pageSize:-1})).then((function(t){return e(Object(d.c)(t.genders)),t.genders})).catch((function(t){return e(Object(l.b)(t)),[]}))}},S=function(e){return function(t){return o.N.getImport(e,void 0).then((function(e){return e})).catch((function(e){return t(Object(l.b)(e)),[]}))}},O=function(e){return function(t){var n=e.replace(/([A-Z])/g," $1").trim().toString();return e===u.d.NonClientUser?n="Employee User":e===u.d.ClientUser&&(n="Client User"),o.N.exportTemplateCsv(n,void 0).then((function(e){var t=window.URL.createObjectURL(new Blob([e.data])),i=document.createElement("a");i.href=t,i.setAttribute("download","".concat(n," - Sample Import.csv")),document.body.appendChild(i),i.click(),i.remove()})).catch((function(e){t(Object(l.b)(e))}))}}},1751:function(e,t){},1753:function(e,t){},1763:function(e,t){},1765:function(e,t){},1791:function(e,t){},1793:function(e,t){},1794:function(e,t){},1799:function(e,t){},180:function(e,t,n){"use strict";n.d(t,"d",(function(){return i})),n.d(t,"g",(function(){return a})),n.d(t,"h",(function(){return r})),n.d(t,"a",(function(){return o})),n.d(t,"j",(function(){return s})),n.d(t,"b",(function(){return l})),n.d(t,"c",(function(){return c})),n.d(t,"e",(function(){return d})),n.d(t,"f",(function(){return u})),n.d(t,"i",(function(){return m}));var i="SET_DECLINE_CODES",a="SET_SELECTED_DECLINE_CODE",r="SET_SELECTED_DECLINE_CODES",o="ADD_DECLINE_CODE",s="UPDATE_DECLINE_CODE",l="ARCHIVE_DECLINE_CODE",c="REMOVE_DECLINE_CODE",d="SET_PAGE_NAVIGATION_DECLINE_CODE",u="SET_REQUEST_BODY_DECLINE_CODE",m="SET_STATUS_FILTER_DECLINE_CODE"},1801:function(e,t){},181:function(e,t,n){"use strict";n.d(t,"f",(function(){return i})),n.d(t,"c",(function(){return a})),n.d(t,"e",(function(){return r})),n.d(t,"g",(function(){return o})),n.d(t,"h",(function(){return s})),n.d(t,"i",(function(){return l})),n.d(t,"d",(function(){return c})),n.d(t,"b",(function(){return d})),n.d(t,"a",(function(){return u}));var i="SET_REPORT_TOKEN",a="SET_REPORT_FILTER",r="SET_REPORT_SAVED_FILTERS",o="SET_SELECTED_REPORT",s="SET_SELECTED_REPORT_SAVED_FILTER",l="SET_USER_FAVORITE_REPORT",c="SET_REPORT_PREVIOUS_PAGE",d="SET_COMPLIANCE_REPORT_REQUEST",u="SET_COMPLIANCE_AUDIT_REPORT_REQUEST"},1820:function(e,t){},1832:function(e,t){},1835:function(e,t){},189:function(e,t,n){"use strict";n.d(t,"c",(function(){return s})),n.d(t,"a",(function(){return l})),n.d(t,"b",(function(){return c}));var i=n(13),a=n(2),r=n(12),o=n(315),s=[a.Jk.ViewApiLogs,a.Jk.ViewImportLogs,a.Jk.ImportCourses,a.Jk.ImportDataManagement,a.Jk.ImportEvaluation,a.Jk.ImportLearningPlan,a.Jk.ImportLibrary,a.Jk.ImportSessions,a.Jk.ManageImportLogs],l=function(e){return function(t,n){var l,c,d,u=!1,m=n().generalSettings.firmSettings;return m&&(u=null!==(l="false"===(null===m||void 0===m||null===(c=m.filter((function(e){return"EnableApiClient"===e.key}))[0])||void 0===c||null===(d=c.value)||void 0===d?void 0:d.toLowerCase()))&&void 0!==l&&l),t(o.a(null)),i.gb.get(e,void 0).then((function(e){var n=e.permissionSets;return n&&(n=n.filter((function(e){var t;return!s.includes(null!==(t=e.permissionSetId)&&void 0!==t?t:0)})),u&&(n=n.filter((function(e){return e.permissionSetId!==a.Jk.ViewApiClients}))),e.permissionSets=n),t(o.a(n)),e})).catch((function(e){t(Object(r.b)(e))}))}},c=function(){return function(e){e(o.b(null)),i.gb.getUserPermissionSets(void 0,void 0).then((function(t){e(o.b(t))})).catch((function(t){e(o.b([])),e(Object(r.b)(t))}))}}},1930:function(e,t){},2:function(e,t,n){"use strict";n.d(t,"a",(function(){return m})),n.d(t,"f",(function(){return v})),n.d(t,"d",(function(){return f})),n.d(t,"e",(function(){return p})),n.d(t,"r",(function(){return h})),n.d(t,"t",(function(){return y})),n.d(t,"u",(function(){return b})),n.d(t,"v",(function(){return g})),n.d(t,"w",(function(){return E})),n.d(t,"x",(function(){return I})),n.d(t,"kb",(function(){return S})),n.d(t,"lb",(function(){return O})),n.d(t,"nb",(function(){return C})),n.d(t,"qb",(function(){return j})),n.d(t,"ub",(function(){return x})),n.d(t,"Bb",(function(){return A})),n.d(t,"zb",(function(){return T})),n.d(t,"Db",(function(){return w})),n.d(t,"Cb",(function(){return k})),n.d(t,"Hb",(function(){return P})),n.d(t,"Ib",(function(){return N})),n.d(t,"Ub",(function(){return D})),n.d(t,"Jb",(function(){return L})),n.d(t,"Mb",(function(){return F})),n.d(t,"Qb",(function(){return B})),n.d(t,"Tb",(function(){return R})),n.d(t,"rd",(function(){return J})),n.d(t,"sd",(function(){return G})),n.d(t,"ud",(function(){return U})),n.d(t,"Be",(function(){return z})),n.d(t,"Ce",(function(){return q})),n.d(t,"Ee",(function(){return M})),n.d(t,"Qe",(function(){return W})),n.d(t,"Ue",(function(){return V})),n.d(t,"cf",(function(){return _})),n.d(t,"Xe",(function(){return Y})),n.d(t,"Ye",(function(){return H})),n.d(t,"bf",(function(){return $})),n.d(t,"if",(function(){return Q})),n.d(t,"jf",(function(){return Z})),n.d(t,"of",(function(){return X})),n.d(t,"mf",(function(){return K})),n.d(t,"pf",(function(){return ee})),n.d(t,"rf",(function(){return te})),n.d(t,"sf",(function(){return ne})),n.d(t,"uf",(function(){return ie})),n.d(t,"wj",(function(){return ae})),n.d(t,"yj",(function(){return re})),n.d(t,"Aj",(function(){return oe})),n.d(t,"Bj",(function(){return se})),n.d(t,"Oj",(function(){return le})),n.d(t,"Gj",(function(){return ce})),n.d(t,"Ij",(function(){return de})),n.d(t,"Kj",(function(){return ue})),n.d(t,"Mj",(function(){return me})),n.d(t,"Nj",(function(){return ve})),n.d(t,"Sj",(function(){return fe})),n.d(t,"Vj",(function(){return pe})),n.d(t,"Xj",(function(){return he})),n.d(t,"ak",(function(){return ye})),n.d(t,"ek",(function(){return be})),n.d(t,"ck",(function(){return ge})),n.d(t,"gk",(function(){return Ee})),n.d(t,"ik",(function(){return Ie})),n.d(t,"Gk",(function(){return Se})),n.d(t,"Kk",(function(){return Oe})),n.d(t,"Nk",(function(){return Ce})),n.d(t,"Ok",(function(){return je})),n.d(t,"Qk",(function(){return xe})),n.d(t,"Sk",(function(){return Ae})),n.d(t,"Vk",(function(){return Te})),n.d(t,"Yk",(function(){return we})),n.d(t,"ll",(function(){return ke})),n.d(t,"kl",(function(){return Pe})),n.d(t,"ql",(function(){return Ne})),n.d(t,"ul",(function(){return De})),n.d(t,"vl",(function(){return Le})),n.d(t,"Bl",(function(){return Fe})),n.d(t,"El",(function(){return Be})),n.d(t,"Fl",(function(){return Re})),n.d(t,"Hl",(function(){return Je})),n.d(t,"Gl",(function(){return Ge})),n.d(t,"Ll",(function(){return Ue})),n.d(t,"Kl",(function(){return ze})),n.d(t,"pm",(function(){return qe})),n.d(t,"km",(function(){return Me})),n.d(t,"tm",(function(){return We})),n.d(t,"um",(function(){return Ve})),n.d(t,"wm",(function(){return _e})),n.d(t,"Am",(function(){return Ye})),n.d(t,"Cm",(function(){return He})),n.d(t,"Ro",(function(){return $e})),n.d(t,"xo",(function(){return Qe})),n.d(t,"Ao",(function(){return Ze})),n.d(t,"Fo",(function(){return Xe})),n.d(t,"Qo",(function(){return Ke})),n.d(t,"b",(function(){return rt})),n.d(t,"c",(function(){return lt})),n.d(t,"g",(function(){return ft})),n.d(t,"h",(function(){return pt})),n.d(t,"i",(function(){return ht})),n.d(t,"j",(function(){return yt})),n.d(t,"k",(function(){return bt})),n.d(t,"l",(function(){return gt})),n.d(t,"m",(function(){return Et})),n.d(t,"n",(function(){return It})),n.d(t,"o",(function(){return St})),n.d(t,"p",(function(){return Ot})),n.d(t,"q",(function(){return Ct})),n.d(t,"s",(function(){return At})),n.d(t,"y",(function(){return Jt})),n.d(t,"z",(function(){return Gt})),n.d(t,"A",(function(){return Ut})),n.d(t,"B",(function(){return zt})),n.d(t,"C",(function(){return qt})),n.d(t,"D",(function(){return Mt})),n.d(t,"E",(function(){return Wt})),n.d(t,"F",(function(){return Vt})),n.d(t,"G",(function(){return _t})),n.d(t,"H",(function(){return Yt})),n.d(t,"I",(function(){return Ht})),n.d(t,"J",(function(){return $t})),n.d(t,"K",(function(){return Qt})),n.d(t,"L",(function(){return Zt})),n.d(t,"M",(function(){return Xt})),n.d(t,"N",(function(){return Kt})),n.d(t,"O",(function(){return en})),n.d(t,"P",(function(){return tn})),n.d(t,"Q",(function(){return nn})),n.d(t,"R",(function(){return an})),n.d(t,"S",(function(){return rn})),n.d(t,"T",(function(){return on})),n.d(t,"U",(function(){return sn})),n.d(t,"V",(function(){return ln})),n.d(t,"W",(function(){return cn})),n.d(t,"X",(function(){return dn})),n.d(t,"Y",(function(){return un})),n.d(t,"Z",(function(){return mn})),n.d(t,"ab",(function(){return vn})),n.d(t,"bb",(function(){return fn})),n.d(t,"cb",(function(){return pn})),n.d(t,"db",(function(){return hn})),n.d(t,"eb",(function(){return yn})),n.d(t,"fb",(function(){return i})),n.d(t,"gb",(function(){return In})),n.d(t,"hb",(function(){return bn})),n.d(t,"ib",(function(){return Sn})),n.d(t,"jb",(function(){return On})),n.d(t,"mb",(function(){return Rn})),n.d(t,"ob",(function(){return qn})),n.d(t,"pb",(function(){return jn})),n.d(t,"rb",(function(){return Hn})),n.d(t,"sb",(function(){return $n})),n.d(t,"tb",(function(){return Qn})),n.d(t,"vb",(function(){return Xn})),n.d(t,"wb",(function(){return ei})),n.d(t,"xb",(function(){return ni})),n.d(t,"yb",(function(){return oi})),n.d(t,"Ab",(function(){return ci})),n.d(t,"Eb",(function(){return Wn})),n.d(t,"Fb",(function(){return Ji})),n.d(t,"Gb",(function(){return Gi})),n.d(t,"Kb",(function(){return Zi})),n.d(t,"Lb",(function(){return Xi})),n.d(t,"Nb",(function(){return ta})),n.d(t,"Ob",(function(){return na})),n.d(t,"Pb",(function(){return ra})),n.d(t,"Rb",(function(){return sa})),n.d(t,"Sb",(function(){return ca})),n.d(t,"Vb",(function(){return ha})),n.d(t,"Wb",(function(){return ba})),n.d(t,"Xb",(function(){return Ea})),n.d(t,"Yb",(function(){return Ia})),n.d(t,"Zb",(function(){return Sa})),n.d(t,"ac",(function(){return Oa})),n.d(t,"bc",(function(){return Ca})),n.d(t,"cc",(function(){return ja})),n.d(t,"dc",(function(){return xa})),n.d(t,"ec",(function(){return Aa})),n.d(t,"fc",(function(){return Ta})),n.d(t,"gc",(function(){return wa})),n.d(t,"hc",(function(){return ka})),n.d(t,"ic",(function(){return Pa})),n.d(t,"jc",(function(){return Na})),n.d(t,"kc",(function(){return Da})),n.d(t,"lc",(function(){return La})),n.d(t,"mc",(function(){return Fa})),n.d(t,"nc",(function(){return Ba})),n.d(t,"oc",(function(){return Ra})),n.d(t,"rc",(function(){return Ja})),n.d(t,"pc",(function(){return Ga})),n.d(t,"qc",(function(){return Ua})),n.d(t,"sc",(function(){return za})),n.d(t,"tc",(function(){return qa})),n.d(t,"uc",(function(){return Ma})),n.d(t,"vc",(function(){return Wa})),n.d(t,"wc",(function(){return Va})),n.d(t,"xc",(function(){return _a})),n.d(t,"yc",(function(){return Ya})),n.d(t,"zc",(function(){return Ha})),n.d(t,"Ac",(function(){return $a})),n.d(t,"Bc",(function(){return Qa})),n.d(t,"Cc",(function(){return Za})),n.d(t,"Dc",(function(){return Xa})),n.d(t,"Ec",(function(){return Ka})),n.d(t,"Fc",(function(){return er})),n.d(t,"Gc",(function(){return tr})),n.d(t,"Hc",(function(){return nr})),n.d(t,"Ic",(function(){return ir})),n.d(t,"Jc",(function(){return ar})),n.d(t,"Kc",(function(){return rr})),n.d(t,"Lc",(function(){return or})),n.d(t,"Mc",(function(){return sr})),n.d(t,"Nc",(function(){return lr})),n.d(t,"Oc",(function(){return cr})),n.d(t,"Pc",(function(){return dr})),n.d(t,"Qc",(function(){return ur})),n.d(t,"Rc",(function(){return mr})),n.d(t,"Sc",(function(){return vr})),n.d(t,"Tc",(function(){return fr})),n.d(t,"Uc",(function(){return pr})),n.d(t,"Vc",(function(){return hr})),n.d(t,"Wc",(function(){return yr})),n.d(t,"Xc",(function(){return br})),n.d(t,"Yc",(function(){return gr})),n.d(t,"Zc",(function(){return Er})),n.d(t,"ad",(function(){return Ir})),n.d(t,"bd",(function(){return Sr})),n.d(t,"cd",(function(){return Or})),n.d(t,"dd",(function(){return Cr})),n.d(t,"ed",(function(){return jr})),n.d(t,"fd",(function(){return xr})),n.d(t,"gd",(function(){return Ar})),n.d(t,"hd",(function(){return Tr})),n.d(t,"id",(function(){return wr})),n.d(t,"jd",(function(){return kr})),n.d(t,"kd",(function(){return Pr})),n.d(t,"ld",(function(){return Nr})),n.d(t,"md",(function(){return Dr})),n.d(t,"nd",(function(){return Lr})),n.d(t,"od",(function(){return Fr})),n.d(t,"pd",(function(){return Br})),n.d(t,"qd",(function(){return Bi})),n.d(t,"td",(function(){return Hr})),n.d(t,"vd",(function(){return Qr})),n.d(t,"wd",(function(){return Zr})),n.d(t,"xd",(function(){return Xr})),n.d(t,"yd",(function(){return Kr})),n.d(t,"zd",(function(){return eo})),n.d(t,"Ad",(function(){return to})),n.d(t,"Bd",(function(){return no})),n.d(t,"Cd",(function(){return io})),n.d(t,"Dd",(function(){return ao})),n.d(t,"Ed",(function(){return ro})),n.d(t,"Fd",(function(){return oo})),n.d(t,"Gd",(function(){return so})),n.d(t,"Hd",(function(){return lo})),n.d(t,"Id",(function(){return co})),n.d(t,"Jd",(function(){return uo})),n.d(t,"Kd",(function(){return mo})),n.d(t,"Ld",(function(){return vo})),n.d(t,"Md",(function(){return fo})),n.d(t,"Nd",(function(){return po})),n.d(t,"Od",(function(){return ho})),n.d(t,"Pd",(function(){return yo})),n.d(t,"Qd",(function(){return bo})),n.d(t,"Rd",(function(){return go})),n.d(t,"Sd",(function(){return Eo})),n.d(t,"Td",(function(){return Io})),n.d(t,"Ud",(function(){return So})),n.d(t,"Vd",(function(){return Oo})),n.d(t,"Wd",(function(){return Co})),n.d(t,"Xd",(function(){return jo})),n.d(t,"Yd",(function(){return xo})),n.d(t,"Zd",(function(){return Ao})),n.d(t,"ae",(function(){return To})),n.d(t,"be",(function(){return wo})),n.d(t,"ce",(function(){return ko})),n.d(t,"de",(function(){return Po})),n.d(t,"ee",(function(){return No})),n.d(t,"fe",(function(){return Do})),n.d(t,"ge",(function(){return Lo})),n.d(t,"he",(function(){return Fo})),n.d(t,"ie",(function(){return Bo})),n.d(t,"je",(function(){return Ro})),n.d(t,"ke",(function(){return Jo})),n.d(t,"le",(function(){return Go})),n.d(t,"me",(function(){return Uo})),n.d(t,"ne",(function(){return zo})),n.d(t,"oe",(function(){return qo})),n.d(t,"pe",(function(){return Mo})),n.d(t,"qe",(function(){return Wo})),n.d(t,"re",(function(){return Vo})),n.d(t,"se",(function(){return _o})),n.d(t,"te",(function(){return Yo})),n.d(t,"ue",(function(){return Ho})),n.d(t,"ve",(function(){return $o})),n.d(t,"we",(function(){return Qo})),n.d(t,"xe",(function(){return Zo})),n.d(t,"ye",(function(){return Xo})),n.d(t,"ze",(function(){return es})),n.d(t,"Ae",(function(){return ts})),n.d(t,"De",(function(){return cs})),n.d(t,"Fe",(function(){return is})),n.d(t,"Ge",(function(){return vs})),n.d(t,"He",(function(){return ms})),n.d(t,"Ie",(function(){return ps})),n.d(t,"Je",(function(){return ys})),n.d(t,"Ke",(function(){return bs})),n.d(t,"Le",(function(){return Es})),n.d(t,"Me",(function(){return Is})),n.d(t,"Ne",(function(){return Ss})),n.d(t,"Oe",(function(){return Os})),n.d(t,"Pe",(function(){return Cs})),n.d(t,"Re",(function(){return xs})),n.d(t,"Se",(function(){return fs})),n.d(t,"Te",(function(){return Us})),n.d(t,"Ve",(function(){return Ws})),n.d(t,"We",(function(){return _s})),n.d(t,"Ze",(function(){return qs})),n.d(t,"af",(function(){return Zs})),n.d(t,"df",(function(){return Xs})),n.d(t,"ef",(function(){return Ks})),n.d(t,"ff",(function(){return el})),n.d(t,"gf",(function(){return tl})),n.d(t,"hf",(function(){return nl})),n.d(t,"kf",(function(){return al})),n.d(t,"lf",(function(){return rl})),n.d(t,"nf",(function(){return ml})),n.d(t,"qf",(function(){return Sl})),n.d(t,"tf",(function(){return Cl})),n.d(t,"vf",(function(){return xl})),n.d(t,"wf",(function(){return Al})),n.d(t,"xf",(function(){return Tl})),n.d(t,"yf",(function(){return wl})),n.d(t,"zf",(function(){return kl})),n.d(t,"Af",(function(){return Pl})),n.d(t,"Bf",(function(){return Nl})),n.d(t,"Cf",(function(){return Dl})),n.d(t,"Df",(function(){return Ll})),n.d(t,"Ef",(function(){return Fl})),n.d(t,"Ff",(function(){return Bl})),n.d(t,"Gf",(function(){return Rl})),n.d(t,"Hf",(function(){return Jl})),n.d(t,"If",(function(){return Gl})),n.d(t,"Jf",(function(){return Ul})),n.d(t,"Kf",(function(){return zl})),n.d(t,"Lf",(function(){return ql})),n.d(t,"Mf",(function(){return Ml})),n.d(t,"Nf",(function(){return Wl})),n.d(t,"Of",(function(){return Vl})),n.d(t,"Pf",(function(){return _l})),n.d(t,"Qf",(function(){return Yl})),n.d(t,"Rf",(function(){return Hl})),n.d(t,"Sf",(function(){return $l})),n.d(t,"Tf",(function(){return Ql})),n.d(t,"Uf",(function(){return Zl})),n.d(t,"Vf",(function(){return Xl})),n.d(t,"Wf",(function(){return Kl})),n.d(t,"Xf",(function(){return ec})),n.d(t,"Yf",(function(){return tc})),n.d(t,"Zf",(function(){return nc})),n.d(t,"ag",(function(){return ic})),n.d(t,"bg",(function(){return ac})),n.d(t,"cg",(function(){return rc})),n.d(t,"dg",(function(){return oc})),n.d(t,"eg",(function(){return sc})),n.d(t,"fg",(function(){return lc})),n.d(t,"gg",(function(){return cc})),n.d(t,"hg",(function(){return dc})),n.d(t,"ig",(function(){return uc})),n.d(t,"jg",(function(){return mc})),n.d(t,"kg",(function(){return vc})),n.d(t,"lg",(function(){return fc})),n.d(t,"mg",(function(){return pc})),n.d(t,"ng",(function(){return hc})),n.d(t,"og",(function(){return yc})),n.d(t,"pg",(function(){return bc})),n.d(t,"qg",(function(){return gc})),n.d(t,"rg",(function(){return Ec})),n.d(t,"sg",(function(){return Ic})),n.d(t,"tg",(function(){return Sc})),n.d(t,"ug",(function(){return Oc})),n.d(t,"vg",(function(){return Cc})),n.d(t,"wg",(function(){return jc})),n.d(t,"xg",(function(){return xc})),n.d(t,"yg",(function(){return Ac})),n.d(t,"zg",(function(){return Tc})),n.d(t,"Ag",(function(){return wc})),n.d(t,"Bg",(function(){return kc})),n.d(t,"Cg",(function(){return Pc})),n.d(t,"Eg",(function(){return Nc})),n.d(t,"Dg",(function(){return Dc})),n.d(t,"Fg",(function(){return Lc})),n.d(t,"Gg",(function(){return Fc})),n.d(t,"Hg",(function(){return Bc})),n.d(t,"Ig",(function(){return Rc})),n.d(t,"Jg",(function(){return Jc})),n.d(t,"Kg",(function(){return Gc})),n.d(t,"Lg",(function(){return Uc})),n.d(t,"Mg",(function(){return zc})),n.d(t,"Ng",(function(){return qc})),n.d(t,"Og",(function(){return Mc})),n.d(t,"Pg",(function(){return Wc})),n.d(t,"Qg",(function(){return Vc})),n.d(t,"Rg",(function(){return _c})),n.d(t,"Sg",(function(){return Yc})),n.d(t,"Tg",(function(){return Hc})),n.d(t,"Ug",(function(){return $c})),n.d(t,"Vg",(function(){return Qc})),n.d(t,"Wg",(function(){return Zc})),n.d(t,"Xg",(function(){return Xc})),n.d(t,"Yg",(function(){return Kc})),n.d(t,"Zg",(function(){return ed})),n.d(t,"ah",(function(){return td})),n.d(t,"bh",(function(){return nd})),n.d(t,"ch",(function(){return id})),n.d(t,"dh",(function(){return ad})),n.d(t,"eh",(function(){return rd})),n.d(t,"fh",(function(){return od})),n.d(t,"jh",(function(){return sd})),n.d(t,"gh",(function(){return ld})),n.d(t,"hh",(function(){return cd})),n.d(t,"ih",(function(){return dd})),n.d(t,"kh",(function(){return ud})),n.d(t,"lh",(function(){return md})),n.d(t,"mh",(function(){return vd})),n.d(t,"nh",(function(){return fd})),n.d(t,"oh",(function(){return pd})),n.d(t,"ph",(function(){return hd})),n.d(t,"qh",(function(){return yd})),n.d(t,"th",(function(){return bd})),n.d(t,"uh",(function(){return gd})),n.d(t,"vh",(function(){return Ed})),n.d(t,"wh",(function(){return Id})),n.d(t,"rh",(function(){return Sd})),n.d(t,"sh",(function(){return Od})),n.d(t,"xh",(function(){return Cd})),n.d(t,"yh",(function(){return jd})),n.d(t,"zh",(function(){return xd})),n.d(t,"Ah",(function(){return Ad})),n.d(t,"Bh",(function(){return Td})),n.d(t,"Ch",(function(){return wd})),n.d(t,"Dh",(function(){return kd})),n.d(t,"Eh",(function(){return Pd})),n.d(t,"Fh",(function(){return Nd})),n.d(t,"Gh",(function(){return Dd})),n.d(t,"Hh",(function(){return Ld})),n.d(t,"Ih",(function(){return Fd})),n.d(t,"Jh",(function(){return Bd})),n.d(t,"Kh",(function(){return Rd})),n.d(t,"Lh",(function(){return Jd})),n.d(t,"Mh",(function(){return Gd})),n.d(t,"Nh",(function(){return Ud})),n.d(t,"Oh",(function(){return zd})),n.d(t,"Ph",(function(){return qd})),n.d(t,"Qh",(function(){return Md})),n.d(t,"Rh",(function(){return Wd})),n.d(t,"Sh",(function(){return Vd})),n.d(t,"Th",(function(){return _d})),n.d(t,"Uh",(function(){return Yd})),n.d(t,"Vh",(function(){return Hd})),n.d(t,"Wh",(function(){return $d})),n.d(t,"Xh",(function(){return Qd})),n.d(t,"Yh",(function(){return Zd})),n.d(t,"Zh",(function(){return Xd})),n.d(t,"ai",(function(){return Kd})),n.d(t,"bi",(function(){return eu})),n.d(t,"ci",(function(){return tu})),n.d(t,"di",(function(){return nu})),n.d(t,"ei",(function(){return iu})),n.d(t,"fi",(function(){return au})),n.d(t,"gi",(function(){return ru})),n.d(t,"hi",(function(){return ou})),n.d(t,"ii",(function(){return su})),n.d(t,"ji",(function(){return lu})),n.d(t,"ki",(function(){return cu})),n.d(t,"li",(function(){return du})),n.d(t,"mi",(function(){return uu})),n.d(t,"ni",(function(){return mu})),n.d(t,"oi",(function(){return vu})),n.d(t,"pi",(function(){return fu})),n.d(t,"qi",(function(){return pu})),n.d(t,"ri",(function(){return hu})),n.d(t,"si",(function(){return yu})),n.d(t,"ti",(function(){return bu})),n.d(t,"vi",(function(){return gu})),n.d(t,"wi",(function(){return Eu})),n.d(t,"xi",(function(){return Iu})),n.d(t,"ui",(function(){return Su})),n.d(t,"yi",(function(){return Ou})),n.d(t,"zi",(function(){return Cu})),n.d(t,"Ai",(function(){return ju})),n.d(t,"Bi",(function(){return xu})),n.d(t,"Ci",(function(){return Au})),n.d(t,"Di",(function(){return Tu})),n.d(t,"Ei",(function(){return wu})),n.d(t,"Fi",(function(){return ku})),n.d(t,"Gi",(function(){return Pu})),n.d(t,"Hi",(function(){return Nu})),n.d(t,"Ii",(function(){return Du})),n.d(t,"Ji",(function(){return Lu})),n.d(t,"Ki",(function(){return Fu})),n.d(t,"Li",(function(){return Bu})),n.d(t,"Mi",(function(){return Ru})),n.d(t,"Ni",(function(){return Ju})),n.d(t,"Oi",(function(){return Gu})),n.d(t,"Pi",(function(){return Uu})),n.d(t,"Qi",(function(){return zu})),n.d(t,"Ri",(function(){return qu})),n.d(t,"Si",(function(){return Mu})),n.d(t,"Ti",(function(){return Wu})),n.d(t,"Ui",(function(){return Vu})),n.d(t,"Vi",(function(){return _u})),n.d(t,"Wi",(function(){return Yu})),n.d(t,"Xi",(function(){return Hu})),n.d(t,"Yi",(function(){return $u})),n.d(t,"Zi",(function(){return Qu})),n.d(t,"bj",(function(){return Zu})),n.d(t,"aj",(function(){return Xu})),n.d(t,"cj",(function(){return Ku})),n.d(t,"dj",(function(){return em})),n.d(t,"ej",(function(){return tm})),n.d(t,"fj",(function(){return nm})),n.d(t,"gj",(function(){return im})),n.d(t,"hj",(function(){return am})),n.d(t,"ij",(function(){return rm})),n.d(t,"jj",(function(){return om})),n.d(t,"kj",(function(){return sm})),n.d(t,"lj",(function(){return lm})),n.d(t,"mj",(function(){return cm})),n.d(t,"nj",(function(){return dm})),n.d(t,"oj",(function(){return um})),n.d(t,"pj",(function(){return mm})),n.d(t,"qj",(function(){return vm})),n.d(t,"rj",(function(){return fm})),n.d(t,"tj",(function(){return pm})),n.d(t,"sj",(function(){return hm})),n.d(t,"uj",(function(){return ym})),n.d(t,"vj",(function(){return Bm})),n.d(t,"xj",(function(){return Fm})),n.d(t,"zj",(function(){return ev})),n.d(t,"Cj",(function(){return bv})),n.d(t,"Dj",(function(){return Iv})),n.d(t,"Ej",(function(){return Sv})),n.d(t,"Fj",(function(){return Cv})),n.d(t,"Hj",(function(){return wv})),n.d(t,"Jj",(function(){return Rv})),n.d(t,"Lj",(function(){return iv})),n.d(t,"Pj",(function(){return Kv})),n.d(t,"Qj",(function(){return Wv})),n.d(t,"Rj",(function(){return tf})),n.d(t,"Tj",(function(){return ef})),n.d(t,"Uj",(function(){return af})),n.d(t,"Wj",(function(){return lf})),n.d(t,"Yj",(function(){return pf})),n.d(t,"Zj",(function(){return nf})),n.d(t,"bk",(function(){return yf})),n.d(t,"dk",(function(){return Sf})),n.d(t,"fk",(function(){return hf})),n.d(t,"hk",(function(){return Rf})),n.d(t,"jk",(function(){return Uf})),n.d(t,"kk",(function(){return zf})),n.d(t,"lk",(function(){return qf})),n.d(t,"mk",(function(){return Mf})),n.d(t,"nk",(function(){return Lf})),n.d(t,"ok",(function(){return Vf})),n.d(t,"pk",(function(){return _f})),n.d(t,"qk",(function(){return Yf})),n.d(t,"rk",(function(){return Hf})),n.d(t,"sk",(function(){return $f})),n.d(t,"tk",(function(){return Qf})),n.d(t,"uk",(function(){return Zf})),n.d(t,"vk",(function(){return Xf})),n.d(t,"wk",(function(){return Kf})),n.d(t,"xk",(function(){return ep})),n.d(t,"yk",(function(){return tp})),n.d(t,"zk",(function(){return np})),n.d(t,"Ak",(function(){return ip})),n.d(t,"Bk",(function(){return ap})),n.d(t,"Ck",(function(){return rp})),n.d(t,"Dk",(function(){return op})),n.d(t,"Ek",(function(){return sp})),n.d(t,"Fk",(function(){return lp})),n.d(t,"Hk",(function(){return hp})),n.d(t,"Ik",(function(){return Sp})),n.d(t,"Jk",(function(){return Ep})),n.d(t,"Lk",(function(){return Op})),n.d(t,"Mk",(function(){return Lp})),n.d(t,"Pk",(function(){return Vp})),n.d(t,"Rk",(function(){return Yp})),n.d(t,"Tk",(function(){return $p})),n.d(t,"Uk",(function(){return Kp})),n.d(t,"Wk",(function(){return th})),n.d(t,"Xk",(function(){return Dp})),n.d(t,"Zk",(function(){return rh})),n.d(t,"al",(function(){return oh})),n.d(t,"bl",(function(){return sh})),n.d(t,"cl",(function(){return lh})),n.d(t,"dl",(function(){return dh})),n.d(t,"el",(function(){return nh})),n.d(t,"fl",(function(){return yh})),n.d(t,"gl",(function(){return Th})),n.d(t,"hl",(function(){return kh})),n.d(t,"il",(function(){return Nh})),n.d(t,"jl",(function(){return Jh})),n.d(t,"ml",(function(){return uh})),n.d(t,"nl",(function(){return Yh})),n.d(t,"ol",(function(){return Hh})),n.d(t,"pl",(function(){return ey})),n.d(t,"rl",(function(){return _h})),n.d(t,"sl",(function(){return ny})),n.d(t,"tl",(function(){return ay})),n.d(t,"wl",(function(){return sy})),n.d(t,"xl",(function(){return vy})),n.d(t,"yl",(function(){return fy})),n.d(t,"zl",(function(){return py})),n.d(t,"Al",(function(){return hy})),n.d(t,"Cl",(function(){return Cy})),n.d(t,"Dl",(function(){return wy})),n.d(t,"Il",(function(){return Vy})),n.d(t,"Jl",(function(){return $y})),n.d(t,"Ml",(function(){return tb})),n.d(t,"Nl",(function(){return nb})),n.d(t,"Ol",(function(){return ib})),n.d(t,"Pl",(function(){return ab})),n.d(t,"Ql",(function(){return rb})),n.d(t,"Rl",(function(){return ob})),n.d(t,"Sl",(function(){return sb})),n.d(t,"Tl",(function(){return lb})),n.d(t,"Ul",(function(){return cb})),n.d(t,"Vl",(function(){return db})),n.d(t,"Wl",(function(){return ty})),n.d(t,"Xl",(function(){return mb})),n.d(t,"Yl",(function(){return vb})),n.d(t,"Zl",(function(){return pb})),n.d(t,"am",(function(){return Db})),n.d(t,"bm",(function(){return Lb})),n.d(t,"cm",(function(){return Fb})),n.d(t,"dm",(function(){return Rb})),n.d(t,"em",(function(){return Jb})),n.d(t,"fm",(function(){return zb})),n.d(t,"gm",(function(){return qb})),n.d(t,"hm",(function(){return Mb})),n.d(t,"im",(function(){return Zb})),n.d(t,"jm",(function(){return Xb})),n.d(t,"lm",(function(){return ub})),n.d(t,"mm",(function(){return dg})),n.d(t,"nm",(function(){return ug})),n.d(t,"om",(function(){return mg})),n.d(t,"qm",(function(){return sg})),n.d(t,"rm",(function(){return Sg})),n.d(t,"sm",(function(){return Og})),n.d(t,"xm",(function(){return zg})),n.d(t,"vm",(function(){return yg})),n.d(t,"ym",(function(){return Mg})),n.d(t,"zm",(function(){return Wg})),n.d(t,"Bm",(function(){return Yg})),n.d(t,"Dm",(function(){return $g})),n.d(t,"Em",(function(){return Qg})),n.d(t,"Fm",(function(){return qg})),n.d(t,"Gm",(function(){return Kg})),n.d(t,"Hm",(function(){return iE})),n.d(t,"Im",(function(){return aE})),n.d(t,"Jm",(function(){return rE})),n.d(t,"Km",(function(){return oE})),n.d(t,"Lm",(function(){return sE})),n.d(t,"Mm",(function(){return lE})),n.d(t,"Nm",(function(){return cE})),n.d(t,"Om",(function(){return dE})),n.d(t,"Pm",(function(){return uE})),n.d(t,"Qm",(function(){return mE})),n.d(t,"Rm",(function(){return vE})),n.d(t,"Sm",(function(){return fE})),n.d(t,"Tm",(function(){return pE})),n.d(t,"Um",(function(){return hE})),n.d(t,"Vm",(function(){return yE})),n.d(t,"Wm",(function(){return bE})),n.d(t,"Xm",(function(){return gE})),n.d(t,"Ym",(function(){return EE})),n.d(t,"Zm",(function(){return IE})),n.d(t,"an",(function(){return SE})),n.d(t,"bn",(function(){return OE})),n.d(t,"cn",(function(){return CE})),n.d(t,"dn",(function(){return jE})),n.d(t,"en",(function(){return xE})),n.d(t,"fn",(function(){return AE})),n.d(t,"gn",(function(){return TE})),n.d(t,"hn",(function(){return wE})),n.d(t,"in",(function(){return kE})),n.d(t,"jn",(function(){return PE})),n.d(t,"kn",(function(){return NE})),n.d(t,"ln",(function(){return DE})),n.d(t,"mn",(function(){return LE})),n.d(t,"nn",(function(){return FE})),n.d(t,"on",(function(){return BE})),n.d(t,"pn",(function(){return RE})),n.d(t,"qn",(function(){return JE})),n.d(t,"rn",(function(){return GE})),n.d(t,"sn",(function(){return UE})),n.d(t,"tn",(function(){return qE})),n.d(t,"un",(function(){return ME})),n.d(t,"vn",(function(){return WE})),n.d(t,"wn",(function(){return _E})),n.d(t,"xn",(function(){return YE})),n.d(t,"yn",(function(){return HE})),n.d(t,"zn",(function(){return $E})),n.d(t,"An",(function(){return QE})),n.d(t,"Bn",(function(){return ZE})),n.d(t,"Cn",(function(){return XE})),n.d(t,"Dn",(function(){return KE})),n.d(t,"En",(function(){return eI})),n.d(t,"Hn",(function(){return tI})),n.d(t,"Fn",(function(){return nI})),n.d(t,"Gn",(function(){return iI})),n.d(t,"In",(function(){return aI})),n.d(t,"Jn",(function(){return rI})),n.d(t,"Kn",(function(){return oI})),n.d(t,"Ln",(function(){return sI})),n.d(t,"Mn",(function(){return lI})),n.d(t,"Nn",(function(){return cI})),n.d(t,"On",(function(){return dI})),n.d(t,"Pn",(function(){return uI})),n.d(t,"Qn",(function(){return mI})),n.d(t,"Rn",(function(){return vI})),n.d(t,"Sn",(function(){return fI})),n.d(t,"Tn",(function(){return pI})),n.d(t,"Un",(function(){return hI})),n.d(t,"Vn",(function(){return yI})),n.d(t,"Wn",(function(){return bI})),n.d(t,"Xn",(function(){return gI})),n.d(t,"Yn",(function(){return EI})),n.d(t,"Zn",(function(){return II})),n.d(t,"ao",(function(){return SI})),n.d(t,"bo",(function(){return OI})),n.d(t,"co",(function(){return CI})),n.d(t,"do",(function(){return jI})),n.d(t,"eo",(function(){return xI})),n.d(t,"fo",(function(){return AI})),n.d(t,"go",(function(){return TI})),n.d(t,"ho",(function(){return wI})),n.d(t,"io",(function(){return kI})),n.d(t,"jo",(function(){return PI})),n.d(t,"ko",(function(){return NI})),n.d(t,"lo",(function(){return DI})),n.d(t,"mo",(function(){return LI})),n.d(t,"no",(function(){return FI})),n.d(t,"oo",(function(){return BI})),n.d(t,"po",(function(){return RI})),n.d(t,"qo",(function(){return JI})),n.d(t,"ro",(function(){return GI})),n.d(t,"so",(function(){return UI})),n.d(t,"to",(function(){return zI})),n.d(t,"uo",(function(){return qI})),n.d(t,"vo",(function(){return MI})),n.d(t,"wo",(function(){return WI})),n.d(t,"yo",(function(){return HI})),n.d(t,"zo",(function(){return KI})),n.d(t,"Bo",(function(){return sS})),n.d(t,"Co",(function(){return lS})),n.d(t,"Do",(function(){return dS})),n.d(t,"Eo",(function(){return IS})),n.d(t,"Go",(function(){return xS})),n.d(t,"Ho",(function(){return AS})),n.d(t,"Io",(function(){return TS})),n.d(t,"Jo",(function(){return kS})),n.d(t,"Ko",(function(){return PS})),n.d(t,"Lo",(function(){return JS})),n.d(t,"Mo",(function(){return GS})),n.d(t,"No",(function(){return zS})),n.d(t,"Oo",(function(){return qS})),n.d(t,"Po",(function(){return MS})),n.d(t,"So",(function(){return vS})),n.d(t,"To",(function(){return lO})),n.d(t,"Uo",(function(){return cO})),n.d(t,"Vo",(function(){return dO})),n.d(t,"Wo",(function(){return uO})),n.d(t,"Xo",(function(){return mO})),n.d(t,"Yo",(function(){return vO})),n.d(t,"Zo",(function(){return fO})),n.d(t,"ap",(function(){return pO})),n.d(t,"bp",(function(){return hO})),n.d(t,"cp",(function(){return yO})),n.d(t,"dp",(function(){return bO})),n.d(t,"ep",(function(){return gO})),n.d(t,"fp",(function(){return EO})),n.d(t,"gp",(function(){return IO})),n.d(t,"hp",(function(){return SO})),n.d(t,"ip",(function(){return OO})),n.d(t,"jp",(function(){return jO})),n.d(t,"kp",(function(){return xO})),n.d(t,"lp",(function(){return AO})),n.d(t,"mp",(function(){return TO})),n.d(t,"np",(function(){return wO})),n.d(t,"op",(function(){return kO})),n.d(t,"pp",(function(){return PO})),n.d(t,"qp",(function(){return NO})),n.d(t,"rp",(function(){return DO})),n.d(t,"sp",(function(){return LO})),n.d(t,"tp",(function(){return FO}));n.d(t,"up",(function(){return BO})),n.d(t,"vp",(function(){return RO})),n.d(t,"wp",(function(){return JO})),n.d(t,"xp",(function(){return GO})),n.d(t,"yp",(function(){return UO})),n.d(t,"zp",(function(){return zO})),n.d(t,"Ap",(function(){return qO})),n.d(t,"Bp",(function(){return MO})),n.d(t,"Cp",(function(){return WO})),n.d(t,"Dp",(function(){return VO})),n.d(t,"Ep",(function(){return _O})),n.d(t,"Fp",(function(){return YO})),n.d(t,"Gp",(function(){return HO})),n.d(t,"Hp",(function(){return $O})),n.d(t,"Ip",(function(){return QO})),n.d(t,"Jp",(function(){return ZO})),n.d(t,"Kp",(function(){return XO})),n.d(t,"Lp",(function(){return KO})),n.d(t,"Mp",(function(){return eC})),n.d(t,"Np",(function(){return tC})),n.d(t,"Op",(function(){return nC})),n.d(t,"Pp",(function(){return iC})),n.d(t,"Qp",(function(){return rC}));var i,a=n(197),r=n(198),o=n(721),s=n(4),l=n(8),c=n(9),d=n(50),u=n.n(d),m=function(){function e(t,n){Object(l.a)(this,e),this.instance=void 0,this.baseUrl=void 0,this.jsonParseReviver=void 0,this.instance=n||u.a.create(),this.baseUrl=void 0!==t&&null!==t?t:""}return Object(c.a)(e,[{key:"getAll",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/AccreditationForm/GetAll";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetAll(e)}))}},{key:"processGetAll",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=tt.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"getById",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/AccreditationForm/GetById?";if(null===e)throw new Error("The parameter 'accreditationFormId' cannot be null.");void 0!==e&&(a+="accreditationFormId="+encodeURIComponent(""+e)+"&");var r={method:"GET",url:a=a.replace(/[?&]$/,""),headers:{"x-api-version":void 0!==t&&null!==t?""+t:"",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetById(e)}))}},{key:"processGetById",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=et.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"getByLicenseIds",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/AccreditationForm/GetByLicenseIds";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetByLicenseIds(e)}))}},{key:"processGetByLicenseIds",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=tt.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"archive",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/AccreditationForm/Archive";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"PUT",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processArchive(e)}))}},{key:"processArchive",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){e.data;return Promise.resolve(null)}if(204===t){e.data;return Promise.resolve(null)}if(400===t){var a=e.data,r=a;return sC("Bad Request",t,a,n,aC.fromJS(r))}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"create",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/AccreditationForm/Create";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processCreate(e)}))}},{key:"processCreate",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=et.fromJS(r),Promise.resolve(a)}if(201===t){var o,s=e.data;return o=et.fromJS(s),Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"update",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/AccreditationForm/Update";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"PUT",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processUpdate(e)}))}},{key:"processUpdate",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=et.fromJS(r),Promise.resolve(a)}if(201===t){var o,s=e.data;return o=et.fromJS(s),Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"delete",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/AccreditationForm/Delete";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"DELETE",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processDelete(e)}))}},{key:"processDelete",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){e.data;return Promise.resolve(null)}if(204===t){e.data;return Promise.resolve(null)}if(400===t){var a=e.data,r=a;return sC("Bad Request",t,a,n,aC.fromJS(r))}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"validateAccreditationName",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/AccreditationForm/ValidateAccreditationName";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processValidateAccreditationName(e)}))}},{key:"processValidateAccreditationName",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=void 0!==r?r:null,Promise.resolve(a)}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"uploadFile",value:function(e,t,n,i){var a=this,r=this.baseUrl+"/api/AccreditationForm/UploadFile?";if(null===e)throw new Error("The parameter 'isPublic' cannot be null.");void 0!==e&&(r+="isPublic="+encodeURIComponent(""+e)+"&"),r=r.replace(/[?&]$/,"");var o=new FormData;if(null===n||void 0===n)throw new Error("The parameter 'file' cannot be null.");o.append("file",n.data,n.fileName?n.fileName:"file");var s={data:o,method:"POST",url:r,headers:{"x-api-version":void 0!==t&&null!==t?""+t:"",Accept:"application/json"},cancelToken:i};return this.instance.request(s).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return a.processUploadFile(e)}))}},{key:"processUploadFile",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=lf.fromJS(r),Promise.resolve(a)}if(201===t){var o,s=e.data;return o=lf.fromJS(s),Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"getLibraryFileById",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/AccreditationForm/GetLibraryFileById?";if(null===e)throw new Error("The parameter 'libraryFileId' cannot be null.");void 0!==e&&(a+="libraryFileId="+encodeURIComponent(""+e)+"&");var r={method:"GET",url:a=a.replace(/[?&]$/,""),headers:{"x-api-version":void 0!==t&&null!==t?""+t:"",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetLibraryFileById(e)}))}},{key:"processGetLibraryFileById",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=lf.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}}]),e}(),v=function(){function e(t,n){Object(l.a)(this,e),this.instance=void 0,this.baseUrl=void 0,this.jsonParseReviver=void 0,this.instance=n||u.a.create(),this.baseUrl=void 0!==t&&null!==t?t:""}return Object(c.a)(e,[{key:"getAll",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Activity/GetAll";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetAll(e)}))}},{key:"processGetAll",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=st.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"exportCsv",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Activity/ExportCsv";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),responseType:"blob",method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/octet-stream"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processExportCsv(e)}))}},{key:"processExportCsv",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t||206===t){var a=e.headers?e.headers["content-disposition"]:void 0,r=a?/filename\*=(?:(\\?['"])(.*?)\1|(?:[^\s]+'.*?')?([^;\n]*))/g.exec(a):void 0,o=r&&r.length>1?r[3]||r[2]:void 0;return o=o?decodeURIComponent(o):(r=a?/filename="?([^"]*?)"?(;|$)/g.exec(a):void 0)&&r.length>1?r[1]:void 0,Promise.resolve({fileName:o,status:t,data:new Blob([e.data],{type:e.headers["content-type"]}),headers:n})}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"exportExcel",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Activity/ExportExcel";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),responseType:"blob",method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/octet-stream"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processExportExcel(e)}))}},{key:"processExportExcel",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t||206===t){var a=e.headers?e.headers["content-disposition"]:void 0,r=a?/filename\*=(?:(\\?['"])(.*?)\1|(?:[^\s]+'.*?')?([^;\n]*))/g.exec(a):void 0,o=r&&r.length>1?r[3]||r[2]:void 0;return o=o?decodeURIComponent(o):(r=a?/filename="?([^"]*?)"?(;|$)/g.exec(a):void 0)&&r.length>1?r[1]:void 0,Promise.resolve({fileName:o,status:t,data:new Blob([e.data],{type:e.headers["content-type"]}),headers:n})}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"get",value:function(e,t,n,i){var a=this,r=this.baseUrl+"/api/Activity/Get/{activityId}?";if(void 0===e||null===e)throw new Error("The parameter 'activityId' must be defined.");if(r=r.replace("{activityId}",encodeURIComponent(""+e)),null===t)throw new Error("The parameter 'userId' cannot be null.");void 0!==t&&(r+="userId="+encodeURIComponent(""+t)+"&");var o={method:"GET",url:r=r.replace(/[?&]$/,""),headers:{"x-api-version":void 0!==n&&null!==n?""+n:"",Accept:"application/json"},cancelToken:i};return this.instance.request(o).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return a.processGet(e)}))}},{key:"processGet",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=rt.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"create",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Activity/Create";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processCreate(e)}))}},{key:"processCreate",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=rt.fromJS(r),Promise.resolve(a)}if(201===t){var o,s=e.data;return o=rt.fromJS(s),Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"update",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Activity/Update";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"PUT",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processUpdate(e)}))}},{key:"processUpdate",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=rt.fromJS(r),Promise.resolve(a)}if(201===t){var o,s=e.data;return o=rt.fromJS(s),Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"delete",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Activity/Delete";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"DELETE",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processDelete(e)}))}},{key:"processDelete",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a=null,r=e.data;if(Array.isArray(r)){a=[];var o,l=Object(s.a)(r);try{for(l.s();!(o=l.n()).done;){var c=o.value;a.push(rt.fromJS(c))}}catch(h){l.e(h)}finally{l.f()}}else a=null;return Promise.resolve(a)}if(204===t)return sC("Success",t,e.data,n);if(400===t){var d=e.data,u=d;return sC("Bad Request",t,d,n,aC.fromJS(u))}if(404===t){var m=e.data,v=m;return sC("Not Found",t,m,n,wg.fromJS(v))}var f=e.data,p=f;return sC("Error",t,f,n,wg.fromJS(p))}},{key:"archive",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Activity/Archive";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"PUT",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processArchive(e)}))}},{key:"processArchive",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){e.data;return Promise.resolve(null)}if(204===t){e.data;return Promise.resolve(null)}if(400===t){var a=e.data,r=a;return sC("Bad Request",t,a,n,aC.fromJS(r))}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"validateActivityTitle",value:function(e,t,n,i){var a=this,r=this.baseUrl+"/api/Activity/ValidateActivityTitle?";if(null===e)throw new Error("The parameter 'activityId' cannot be null.");if(void 0!==e&&(r+="activityId="+encodeURIComponent(""+e)+"&"),null===t)throw new Error("The parameter 'name' cannot be null.");void 0!==t&&(r+="name="+encodeURIComponent(""+t)+"&");var o={method:"POST",url:r=r.replace(/[?&]$/,""),headers:{"x-api-version":void 0!==n&&null!==n?""+n:"",Accept:"application/json"},cancelToken:i};return this.instance.request(o).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return a.processValidateActivityTitle(e)}))}},{key:"processValidateActivityTitle",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=void 0!==r?r:null,Promise.resolve(a)}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"getActivityDevelopmentRecordCredit",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Activity/GetActivityDevelopmentRecordCredit";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetActivityDevelopmentRecordCredit(e)}))}},{key:"processGetActivityDevelopmentRecordCredit",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a=null,r=e.data;if(Array.isArray(r)){a=[];var o,l=Object(s.a)(r);try{for(l.s();!(o=l.n()).done;){var c=o.value;a.push(at.fromJS(c))}}catch(f){l.e(f)}finally{l.f()}}else a=null;return Promise.resolve(a)}if(404===t){var d=e.data,u=d;return sC("Not Found",t,d,n,wg.fromJS(u))}var m=e.data,v=m;return sC("Error",t,m,n,wg.fromJS(v))}}]),e}(),f=function(){function e(t,n){Object(l.a)(this,e),this.instance=void 0,this.baseUrl=void 0,this.jsonParseReviver=void 0,this.instance=n||u.a.create(),this.baseUrl=void 0!==t&&null!==t?t:""}return Object(c.a)(e,[{key:"getAll",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/ActivityParticipant/GetAll";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetAll(e)}))}},{key:"processGetAll",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=dt.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"exportCsv",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/ActivityParticipant/ExportCsv";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),responseType:"blob",method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/octet-stream"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processExportCsv(e)}))}},{key:"processExportCsv",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t||206===t){var a=e.headers?e.headers["content-disposition"]:void 0,r=a?/filename\*=(?:(\\?['"])(.*?)\1|(?:[^\s]+'.*?')?([^;\n]*))/g.exec(a):void 0,o=r&&r.length>1?r[3]||r[2]:void 0;return o=o?decodeURIComponent(o):(r=a?/filename="?([^"]*?)"?(;|$)/g.exec(a):void 0)&&r.length>1?r[1]:void 0,Promise.resolve({fileName:o,status:t,data:new Blob([e.data],{type:e.headers["content-type"]}),headers:n})}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"exportExcel",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/ActivityParticipant/ExportExcel";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),responseType:"blob",method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/octet-stream"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processExportExcel(e)}))}},{key:"processExportExcel",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t||206===t){var a=e.headers?e.headers["content-disposition"]:void 0,r=a?/filename\*=(?:(\\?['"])(.*?)\1|(?:[^\s]+'.*?')?([^;\n]*))/g.exec(a):void 0,o=r&&r.length>1?r[3]||r[2]:void 0;return o=o?decodeURIComponent(o):(r=a?/filename="?([^"]*?)"?(;|$)/g.exec(a):void 0)&&r.length>1?r[1]:void 0,Promise.resolve({fileName:o,status:t,data:new Blob([e.data],{type:e.headers["content-type"]}),headers:n})}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"getAllAvailableActivityParticipants",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/ActivityParticipant/GetAllAvailableActivityParticipants";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetAllAvailableActivityParticipants(e)}))}},{key:"processGetAllAvailableActivityParticipants",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=FS.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"add",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/ActivityParticipant/Add";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processAdd(e)}))}},{key:"processAdd",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a=null,r=e.data;if(Array.isArray(r)){a=[];var o,l=Object(s.a)(r);try{for(l.s();!(o=l.n()).done;){var c=o.value;a.push(ct.fromJS(c))}}catch(d){l.e(d)}finally{l.f()}}else a=null;return Promise.resolve(a)}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"update",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/ActivityParticipant/Update";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"PUT",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processUpdate(e)}))}},{key:"processUpdate",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a=null,r=e.data;if(Array.isArray(r)){a=[];var o,l=Object(s.a)(r);try{for(l.s();!(o=l.n()).done;){var c=o.value;a.push(ct.fromJS(c))}}catch(g){l.e(g)}finally{l.f()}}else a=null;return Promise.resolve(a)}if(201===t){var d=null,u=e.data;if(Array.isArray(u)){d=[];var m,v=Object(s.a)(u);try{for(v.s();!(m=v.n()).done;){var f=m.value;d.push(ct.fromJS(f))}}catch(g){v.e(g)}finally{v.f()}}else d=null;return Promise.resolve(d)}if(400===t){var p=e.data,h=p;return sC("Bad Request",t,p,n,aC.fromJS(h))}var y=e.data,b=y;return sC("Error",t,y,n,wg.fromJS(b))}},{key:"delete",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/ActivityParticipant/Delete";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"DELETE",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processDelete(e)}))}},{key:"processDelete",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){e.data;return Promise.resolve(null)}if(204===t){e.data;return Promise.resolve(null)}if(400===t){var a=e.data,r=a;return sC("Bad Request",t,a,n,aC.fromJS(r))}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}}]),e}(),p=function(){function e(t,n){Object(l.a)(this,e),this.instance=void 0,this.baseUrl=void 0,this.jsonParseReviver=void 0,this.instance=n||u.a.create(),this.baseUrl=void 0!==t&&null!==t?t:""}return Object(c.a)(e,[{key:"getAll",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/ActivitySavedFilter/GetAll";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetAll(e)}))}},{key:"processGetAll",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=mt.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"get",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/ActivitySavedFilter/Get";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGet(e)}))}},{key:"processGet",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=ut.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"create",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/ActivitySavedFilter/Create";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processCreate(e)}))}},{key:"processCreate",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=ut.fromJS(r),Promise.resolve(a)}if(201===t){var o,s=e.data;return o=ut.fromJS(s),Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"update",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/ActivitySavedFilter/Update";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"PUT",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processUpdate(e)}))}},{key:"processUpdate",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=ut.fromJS(r),Promise.resolve(a)}if(201===t){var o,s=e.data;return o=ut.fromJS(s),Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"delete",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/ActivitySavedFilter/Delete";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"DELETE",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processDelete(e)}))}},{key:"processDelete",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){e.data;return Promise.resolve(null)}if(204===t){e.data;return Promise.resolve(null)}if(400===t){var a=e.data,r=a;return sC("Bad Request",t,a,n,aC.fromJS(r))}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"validateActivitySavedFilterName",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/ActivitySavedFilter/ValidateActivitySavedFilterName";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processValidateActivitySavedFilterName(e)}))}},{key:"processValidateActivitySavedFilterName",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=void 0!==r?r:null,Promise.resolve(a)}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}}]),e}(),h=function(){function e(t,n){Object(l.a)(this,e),this.instance=void 0,this.baseUrl=void 0,this.jsonParseReviver=void 0,this.instance=n||u.a.create(),this.baseUrl=void 0!==t&&null!==t?t:""}return Object(c.a)(e,[{key:"getAll",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/AffidavitForm/GetAll";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetAll(e)}))}},{key:"processGetAll",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=xt.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"getById",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/AffidavitForm/GetById?";if(null===e)throw new Error("The parameter 'affidavitFormId' cannot be null.");void 0!==e&&(a+="affidavitFormId="+encodeURIComponent(""+e)+"&");var r={method:"GET",url:a=a.replace(/[?&]$/,""),headers:{"x-api-version":void 0!==t&&null!==t?""+t:"",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetById(e)}))}},{key:"processGetById",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=jt.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"archive",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/AffidavitForm/Archive";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"PUT",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processArchive(e)}))}},{key:"processArchive",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){e.data;return Promise.resolve(null)}if(204===t){e.data;return Promise.resolve(null)}if(400===t){var a=e.data,r=a;return sC("Bad Request",t,a,n,aC.fromJS(r))}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"create",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/AffidavitForm/Create";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processCreate(e)}))}},{key:"processCreate",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=jt.fromJS(r),Promise.resolve(a)}if(201===t){var o,s=e.data;return o=jt.fromJS(s),Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"update",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/AffidavitForm/Update";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"PUT",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processUpdate(e)}))}},{key:"processUpdate",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=jt.fromJS(r),Promise.resolve(a)}if(201===t){var o,s=e.data;return o=jt.fromJS(s),Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}}]),e}(),y=function(){function e(t,n){Object(l.a)(this,e),this.instance=void 0,this.baseUrl=void 0,this.jsonParseReviver=void 0,this.instance=n||u.a.create(),this.baseUrl=void 0!==t&&null!==t?t:""}return Object(c.a)(e,[{key:"getAll",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Affiliation/GetAll";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetAll(e)}))}},{key:"processGetAll",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Tt.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"exportCsv",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Affiliation/ExportCsv";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),responseType:"blob",method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/octet-stream"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processExportCsv(e)}))}},{key:"processExportCsv",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t||206===t){var a=e.headers?e.headers["content-disposition"]:void 0,r=a?/filename\*=(?:(\\?['"])(.*?)\1|(?:[^\s]+'.*?')?([^;\n]*))/g.exec(a):void 0,o=r&&r.length>1?r[3]||r[2]:void 0;return o=o?decodeURIComponent(o):(r=a?/filename="?([^"]*?)"?(;|$)/g.exec(a):void 0)&&r.length>1?r[1]:void 0,Promise.resolve({fileName:o,status:t,data:new Blob([e.data],{type:e.headers["content-type"]}),headers:n})}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"exportExcel",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Affiliation/ExportExcel";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),responseType:"blob",method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/octet-stream"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processExportExcel(e)}))}},{key:"processExportExcel",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t||206===t){var a=e.headers?e.headers["content-disposition"]:void 0,r=a?/filename\*=(?:(\\?['"])(.*?)\1|(?:[^\s]+'.*?')?([^;\n]*))/g.exec(a):void 0,o=r&&r.length>1?r[3]||r[2]:void 0;return o=o?decodeURIComponent(o):(r=a?/filename="?([^"]*?)"?(;|$)/g.exec(a):void 0)&&r.length>1?r[1]:void 0,Promise.resolve({fileName:o,status:t,data:new Blob([e.data],{type:e.headers["content-type"]}),headers:n})}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"getAffiliationListById",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Affiliation/GetAffiliationListById";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetAffiliationListById(e)}))}},{key:"processGetAffiliationListById",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a=null,r=e.data;if(Array.isArray(r)){a=[];var o,l=Object(s.a)(r);try{for(l.s();!(o=l.n()).done;){var c=o.value;a.push(At.fromJS(c))}}catch(f){l.e(f)}finally{l.f()}}else a=null;return Promise.resolve(a)}if(404===t){var d=e.data,u=d;return sC("Not Found",t,d,n,wg.fromJS(u))}var m=e.data,v=m;return sC("Error",t,m,n,wg.fromJS(v))}},{key:"getById",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Affiliation/GetById/{affiliationId}";if(void 0===e||null===e)throw new Error("The parameter 'affiliationId' must be defined.");var r={method:"GET",url:a=(a=a.replace("{affiliationId}",encodeURIComponent(""+e))).replace(/[?&]$/,""),headers:{"x-api-version":void 0!==t&&null!==t?""+t:"",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetById(e)}))}},{key:"processGetById",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=At.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"getByCode",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Affiliation/GetByCode/{affiliationCode}";if(void 0===e||null===e)throw new Error("The parameter 'affiliationCode' must be defined.");var r={method:"GET",url:a=(a=a.replace("{affiliationCode}",encodeURIComponent(""+e))).replace(/[?&]$/,""),headers:{"x-api-version":void 0!==t&&null!==t?""+t:"",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetByCode(e)}))}},{key:"processGetByCode",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=At.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"create",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Affiliation/Create";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processCreate(e)}))}},{key:"processCreate",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=At.fromJS(r),Promise.resolve(a)}if(201===t){var o,s=e.data;return o=At.fromJS(s),Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"update",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Affiliation/Update";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"PUT",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processUpdate(e)}))}},{key:"processUpdate",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=At.fromJS(r),Promise.resolve(a)}if(201===t){var o,s=e.data;return o=At.fromJS(s),Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"delete",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Affiliation/Delete";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"DELETE",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processDelete(e)}))}},{key:"processDelete",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a=null,r=e.data;if(Array.isArray(r)){a=[];var o,l=Object(s.a)(r);try{for(l.s();!(o=l.n()).done;){var c=o.value;a.push(At.fromJS(c))}}catch(h){l.e(h)}finally{l.f()}}else a=null;return Promise.resolve(a)}if(204===t)return sC("Success",t,e.data,n);if(400===t){var d=e.data,u=d;return sC("Bad Request",t,d,n,aC.fromJS(u))}if(404===t){var m=e.data,v=m;return sC("Not Found",t,m,n,wg.fromJS(v))}var f=e.data,p=f;return sC("Error",t,f,n,wg.fromJS(p))}},{key:"archive",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Affiliation/Archive";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"PUT",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processArchive(e)}))}},{key:"processArchive",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){e.data;return Promise.resolve(null)}if(204===t){e.data;return Promise.resolve(null)}if(400===t){var a=e.data,r=a;return sC("Bad Request",t,a,n,aC.fromJS(r))}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"merge",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Affiliation/Merge";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processMerge(e)}))}},{key:"processMerge",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){e.data;return Promise.resolve(null)}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"validateAffiliationName",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Affiliation/ValidateAffiliationName";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processValidateAffiliationName(e)}))}},{key:"processValidateAffiliationName",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=void 0!==r?r:null,Promise.resolve(a)}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"validateAffiliationCode",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Affiliation/ValidateAffiliationCode";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processValidateAffiliationCode(e)}))}},{key:"processValidateAffiliationCode",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=void 0!==r?r:null,Promise.resolve(a)}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}}]),e}(),b=function(){function e(t,n){Object(l.a)(this,e),this.instance=void 0,this.baseUrl=void 0,this.jsonParseReviver=void 0,this.instance=n||u.a.create(),this.baseUrl=void 0!==t&&null!==t?t:""}return Object(c.a)(e,[{key:"getAll",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/AffirmationForm/GetAll";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetAll(e)}))}},{key:"processGetAll",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=kt.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"getById",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/AffirmationForm/GetById?";if(null===e)throw new Error("The parameter 'affirmationFormId' cannot be null.");void 0!==e&&(a+="affirmationFormId="+encodeURIComponent(""+e)+"&");var r={method:"GET",url:a=a.replace(/[?&]$/,""),headers:{"x-api-version":void 0!==t&&null!==t?""+t:"",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetById(e)}))}},{key:"processGetById",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=wt.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"archive",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/AffirmationForm/Archive";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"PUT",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processArchive(e)}))}},{key:"processArchive",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){e.data;return Promise.resolve(null)}if(204===t){e.data;return Promise.resolve(null)}if(400===t){var a=e.data,r=a;return sC("Bad Request",t,a,n,aC.fromJS(r))}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"create",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/AffirmationForm/Create";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processCreate(e)}))}},{key:"processCreate",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=wt.fromJS(r),Promise.resolve(a)}if(201===t){var o,s=e.data;return o=wt.fromJS(s),Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"update",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/AffirmationForm/Update";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"PUT",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processUpdate(e)}))}},{key:"processUpdate",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=wt.fromJS(r),Promise.resolve(a)}if(201===t){var o,s=e.data;return o=wt.fromJS(s),Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"delete",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/AffirmationForm/Delete";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"DELETE",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processDelete(e)}))}},{key:"processDelete",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){e.data;return Promise.resolve(null)}if(204===t){e.data;return Promise.resolve(null)}if(400===t){var a=e.data,r=a;return sC("Bad Request",t,a,n,aC.fromJS(r))}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}}]),e}(),g=function(){function e(t,n){Object(l.a)(this,e),this.instance=void 0,this.baseUrl=void 0,this.jsonParseReviver=void 0,this.instance=n||u.a.create(),this.baseUrl=void 0!==t&&null!==t?t:""}return Object(c.a)(e,[{key:"uploadFile",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/AmazonS3/UploadFile";a=a.replace(/[?&]$/,"");var r=new FormData;if(null===t||void 0===t)throw new Error("The parameter 'file' cannot be null.");r.append("file",t.data,t.fileName?t.fileName:"file");var o={data:r,method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:""},cancelToken:n};return this.instance.request(o).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processUploadFile(e)}))}},{key:"processUploadFile",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){e.data;return Promise.resolve(null)}if(201===t){e.data;return Promise.resolve(null)}if(400===t){var a=e.data,r=a;return sC("Bad Request",t,a,n,aC.fromJS(r))}var o=e.data,s=o;return sC("Error",t,o,n,wg.fromJS(s))}},{key:"attachFile",value:function(e,t,n,i){var a=this,r=this.baseUrl+"/api/AmazonS3/AttachFile?";if(null===e)throw new Error("The parameter 'isPublic' cannot be null.");void 0!==e&&(r+="isPublic="+encodeURIComponent(""+e)+"&"),r=r.replace(/[?&]$/,"");var o=new FormData;if(null===n||void 0===n)throw new Error("The parameter 'file' cannot be null.");o.append("file",n.data,n.fileName?n.fileName:"file");var s={data:o,method:"POST",url:r,headers:{"x-api-version":void 0!==t&&null!==t?""+t:"",Accept:"application/json"},cancelToken:i};return this.instance.request(s).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return a.processAttachFile(e)}))}},{key:"processAttachFile",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=lf.fromJS(r),Promise.resolve(a)}if(201===t){var o,s=e.data;return o=lf.fromJS(s),Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"uploadMedia",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/AmazonS3/UploadMedia";a=a.replace(/[?&]$/,"");var r=new FormData;if(null===t||void 0===t)throw new Error("The parameter 'file' cannot be null.");r.append("file",t.data,t.fileName?t.fileName:"file");var o={data:r,method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"",Accept:"application/json"},cancelToken:n};return this.instance.request(o).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processUploadMedia(e)}))}},{key:"processUploadMedia",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=lf.fromJS(r),Promise.resolve(a)}if(201===t){var o,s=e.data;return o=lf.fromJS(s),Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"uploadPublicFile",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/AmazonS3/UploadPublicFile";a=a.replace(/[?&]$/,"");var r=new FormData;if(null===t||void 0===t)throw new Error("The parameter 'files' cannot be null.");t.forEach((function(e){return r.append("files",e.data,e.fileName?e.fileName:"files")}));var o={data:r,method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:""},cancelToken:n};return this.instance.request(o).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processUploadPublicFile(e)}))}},{key:"processUploadPublicFile",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){e.data;return Promise.resolve(null)}if(201===t){e.data;return Promise.resolve(null)}if(400===t){var a=e.data,r=a;return sC("Bad Request",t,a,n,aC.fromJS(r))}var o=e.data,s=o;return sC("Error",t,o,n,wg.fromJS(s))}},{key:"deleteFile",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/AmazonS3/DeleteFile";a=a.replace(/[?&]$/,"");var r=new FormData;if(null===t||void 0===t)throw new Error("The parameter 'src' cannot be null.");r.append("src",t.toString());var o={data:r,method:"DELETE",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:""},cancelToken:n};return this.instance.request(o).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processDeleteFile(e)}))}},{key:"processDeleteFile",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){e.data;return Promise.resolve(null)}if(204===t){e.data;return Promise.resolve(null)}if(400===t){var a=e.data,r=a;return sC("Bad Request",t,a,n,aC.fromJS(r))}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"getAllImages",value:function(e,t){var n=this,i=this.baseUrl+"/api/AmazonS3/GetAllImages",a={method:"GET",url:i=i.replace(/[?&]$/,""),headers:{"x-api-version":void 0!==e&&null!==e?""+e:"",Accept:"application/json"},cancelToken:t};return this.instance.request(a).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return n.processGetAllImages(e)}))}},{key:"processGetAllImages",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a=null,r=e.data;if(Array.isArray(r)){a=[];var o,l=Object(s.a)(r);try{for(l.s();!(o=l.n()).done;){var c=o.value;a.push(Lm.fromJS(c))}}catch(f){l.e(f)}finally{l.f()}}else a=null;return Promise.resolve(a)}if(404===t){var d=e.data,u=d;return sC("Not Found",t,d,n,wg.fromJS(u))}var m=e.data,v=m;return sC("Error",t,m,n,wg.fromJS(v))}}]),e}(),E=function(){function e(t,n){Object(l.a)(this,e),this.instance=void 0,this.baseUrl=void 0,this.jsonParseReviver=void 0,this.instance=n||u.a.create(),this.baseUrl=void 0!==t&&null!==t?t:""}return Object(c.a)(e,[{key:"getAll",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/ApiClient/GetAll";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetAll(e)}))}},{key:"processGetAll",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Dt.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"create",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/ApiClient/Create";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processCreate(e)}))}},{key:"processCreate",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Nt.fromJS(r),Promise.resolve(a)}if(201===t){var o,s=e.data;return o=Nt.fromJS(s),Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"update",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/ApiClient/Update";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processUpdate(e)}))}},{key:"processUpdate",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Nt.fromJS(r),Promise.resolve(a)}if(201===t){var o,s=e.data;return o=Nt.fromJS(s),Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"delete",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/ApiClient/Delete";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"DELETE",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processDelete(e)}))}},{key:"processDelete",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Nt.fromJS(r),Promise.resolve(a)}if(204===t)return sC("Success",t,e.data,n);if(400===t){var o=e.data,s=o;return sC("Bad Request",t,o,n,aC.fromJS(s))}if(404===t){var l=e.data,c=l;return sC("Not Found",t,l,n,wg.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}}]),e}(),I=function(){function e(t,n){Object(l.a)(this,e),this.instance=void 0,this.baseUrl=void 0,this.jsonParseReviver=void 0,this.instance=n||u.a.create(),this.baseUrl=void 0!==t&&null!==t?t:""}return Object(c.a)(e,[{key:"getAll",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/ApiSessionLog/GetAll";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetAll(e)}))}},{key:"processGetAll",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Bt.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"update",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/ApiSessionLog/Update";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"PUT",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processUpdate(e)}))}},{key:"processUpdate",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){e.data;return Promise.resolve(null)}if(201===t){e.data;return Promise.resolve(null)}if(400===t){var a=e.data,r=a;return sC("Bad Request",t,a,n,aC.fromJS(r))}var o=e.data,s=o;return sC("Error",t,o,n,wg.fromJS(s))}},{key:"exportCsv",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/ApiSessionLog/ExportCsv";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),responseType:"blob",method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/octet-stream"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processExportCsv(e)}))}},{key:"processExportCsv",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t||206===t){var a=e.headers?e.headers["content-disposition"]:void 0,r=a?/filename\*=(?:(\\?['"])(.*?)\1|(?:[^\s]+'.*?')?([^;\n]*))/g.exec(a):void 0,o=r&&r.length>1?r[3]||r[2]:void 0;return o=o?decodeURIComponent(o):(r=a?/filename="?([^"]*?)"?(;|$)/g.exec(a):void 0)&&r.length>1?r[1]:void 0,Promise.resolve({fileName:o,status:t,data:new Blob([e.data],{type:e.headers["content-type"]}),headers:n})}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"exportExcel",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/ApiSessionLog/ExportExcel";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),responseType:"blob",method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/octet-stream"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processExportExcel(e)}))}},{key:"processExportExcel",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t||206===t){var a=e.headers?e.headers["content-disposition"]:void 0,r=a?/filename\*=(?:(\\?['"])(.*?)\1|(?:[^\s]+'.*?')?([^;\n]*))/g.exec(a):void 0,o=r&&r.length>1?r[3]||r[2]:void 0;return o=o?decodeURIComponent(o):(r=a?/filename="?([^"]*?)"?(;|$)/g.exec(a):void 0)&&r.length>1?r[1]:void 0,Promise.resolve({fileName:o,status:t,data:new Blob([e.data],{type:e.headers["content-type"]}),headers:n})}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}}]),e}(),S=function(){function e(t,n){Object(l.a)(this,e),this.instance=void 0,this.baseUrl=void 0,this.jsonParseReviver=void 0,this.instance=n||u.a.create(),this.baseUrl=void 0!==t&&null!==t?t:""}return Object(c.a)(e,[{key:"getAll",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/AttendanceForm/GetAll";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetAll(e)}))}},{key:"processGetAll",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Cn.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"getById",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/AttendanceForm/GetById?";if(null===e)throw new Error("The parameter 'attendanceFormId' cannot be null.");void 0!==e&&(a+="attendanceFormId="+encodeURIComponent(""+e)+"&");var r={method:"GET",url:a=a.replace(/[?&]$/,""),headers:{"x-api-version":void 0!==t&&null!==t?""+t:"",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetById(e)}))}},{key:"processGetById",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=gn.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"archive",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/AttendanceForm/Archive";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"PUT",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processArchive(e)}))}},{key:"processArchive",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a=null,r=e.data;if(Array.isArray(r)){a=[];var o,l=Object(s.a)(r);try{for(l.s();!(o=l.n()).done;){var c=o.value;a.push(En.fromJS(c))}}catch(h){l.e(h)}finally{l.f()}}else a=null;return Promise.resolve(a)}if(204===t)return sC("Success",t,e.data,n);if(400===t){var d=e.data,u=d;return sC("Bad Request",t,d,n,aC.fromJS(u))}if(404===t){var m=e.data,v=m;return sC("Not Found",t,m,n,wg.fromJS(v))}var f=e.data,p=f;return sC("Error",t,f,n,wg.fromJS(p))}},{key:"create",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/AttendanceForm/Create";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processCreate(e)}))}},{key:"processCreate",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=En.fromJS(r),Promise.resolve(a)}if(201===t){var o,s=e.data;return o=En.fromJS(s),Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"update",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/AttendanceForm/Update";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"PUT",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processUpdate(e)}))}},{key:"processUpdate",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=gn.fromJS(r),Promise.resolve(a)}if(201===t){var o,s=e.data;return o=gn.fromJS(s),Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"setAsDefault",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/AttendanceForm/SetAsDefault";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"PUT",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processSetAsDefault(e)}))}},{key:"processSetAsDefault",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=En.fromJS(r),Promise.resolve(a)}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"delete",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/AttendanceForm/Delete";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"DELETE",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processDelete(e)}))}},{key:"processDelete",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a=null,r=e.data;if(Array.isArray(r)){a=[];var o,l=Object(s.a)(r);try{for(l.s();!(o=l.n()).done;){var c=o.value;a.push(En.fromJS(c))}}catch(h){l.e(h)}finally{l.f()}}else a=null;return Promise.resolve(a)}if(204===t)return sC("Success",t,e.data,n);if(400===t){var d=e.data,u=d;return sC("Bad Request",t,d,n,aC.fromJS(u))}if(404===t){var m=e.data,v=m;return sC("Not Found",t,m,n,wg.fromJS(v))}var f=e.data,p=f;return sC("Error",t,f,n,wg.fromJS(p))}},{key:"validateAttendanceFormName",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/AttendanceForm/ValidateAttendanceFormName";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processValidateAttendanceFormName(e)}))}},{key:"processValidateAttendanceFormName",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=void 0!==r?r:null,Promise.resolve(a)}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"getSessionFormDetails",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/AttendanceForm/GetSessionFormDetails/{sessionId}";if(void 0===e||null===e)throw new Error("The parameter 'sessionId' must be defined.");var r={method:"GET",url:a=(a=a.replace("{sessionId}",encodeURIComponent(""+e))).replace(/[?&]$/,""),headers:{"x-api-version":void 0!==t&&null!==t?""+t:"",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetSessionFormDetails(e)}))}},{key:"processGetSessionFormDetails",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=wb.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"getScheduleSessionFormDetails",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/AttendanceForm/GetScheduleSessionFormDetails";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetScheduleSessionFormDetails(e)}))}},{key:"processGetScheduleSessionFormDetails",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a=null,r=e.data;if(Array.isArray(r)){a=[];var o,l=Object(s.a)(r);try{for(l.s();!(o=l.n()).done;){var c=o.value;a.push(wb.fromJS(c))}}catch(f){l.e(f)}finally{l.f()}}else a=null;return Promise.resolve(a)}if(404===t){var d=e.data,u=d;return sC("Not Found",t,d,n,wg.fromJS(u))}var m=e.data,v=m;return sC("Error",t,m,n,wg.fromJS(v))}},{key:"getAttendanceFormDetailsByGuid",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/AttendanceForm/GetAttendanceFormDetailsByGuid?";if(null===e)throw new Error("The parameter 'guid' cannot be null.");void 0!==e&&(a+="guid="+encodeURIComponent(""+e)+"&");var r={method:"POST",url:a=a.replace(/[?&]$/,""),headers:{"x-api-version":void 0!==t&&null!==t?""+t:"",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetAttendanceFormDetailsByGuid(e)}))}},{key:"processGetAttendanceFormDetailsByGuid",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=xn.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}}]),e}(),O=function(){function e(t,n){Object(l.a)(this,e),this.instance=void 0,this.baseUrl=void 0,this.jsonParseReviver=void 0,this.instance=n||u.a.create(),this.baseUrl=void 0!==t&&null!==t?t:""}return Object(c.a)(e,[{key:"getAll",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/AuditLog/GetAll";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetAll(e)}))}},{key:"processGetAll",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Tn.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"getById",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/AuditLog/GetById/{auditId}";if(void 0===e||null===e)throw new Error("The parameter 'auditId' must be defined.");var r={method:"GET",url:a=(a=a.replace("{auditId}",encodeURIComponent(""+e))).replace(/[?&]$/,""),headers:{"x-api-version":void 0!==t&&null!==t?""+t:"",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetById(e)}))}},{key:"processGetById",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=An.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}}]),e}(),C=function(){function e(t,n){Object(l.a)(this,e),this.instance=void 0,this.baseUrl=void 0,this.jsonParseReviver=void 0,this.instance=n||u.a.create(),this.baseUrl=void 0!==t&&null!==t?t:""}return Object(c.a)(e,[{key:"getAll",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/CalendarSavedFilter/GetAll";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetAll(e)}))}},{key:"processGetAll",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Gn.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"get",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/CalendarSavedFilter/Get";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGet(e)}))}},{key:"processGet",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Jn.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"create",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/CalendarSavedFilter/Create";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processCreate(e)}))}},{key:"processCreate",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Jn.fromJS(r),Promise.resolve(a)}if(201===t){var o,s=e.data;return o=Jn.fromJS(s),Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"update",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/CalendarSavedFilter/Update";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"PUT",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processUpdate(e)}))}},{key:"processUpdate",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Jn.fromJS(r),Promise.resolve(a)}if(201===t){var o,s=e.data;return o=Jn.fromJS(s),Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"delete",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/CalendarSavedFilter/Delete";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"DELETE",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processDelete(e)}))}},{key:"processDelete",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){e.data;return Promise.resolve(null)}if(204===t){e.data;return Promise.resolve(null)}if(400===t){var a=e.data,r=a;return sC("Bad Request",t,a,n,aC.fromJS(r))}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"validateCalendarSavedFilterName",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/CalendarSavedFilter/ValidateCalendarSavedFilterName";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processValidateCalendarSavedFilterName(e)}))}},{key:"processValidateCalendarSavedFilterName",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=void 0!==r?r:null,Promise.resolve(a)}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}}]),e}(),j=function(){function e(t,n){Object(l.a)(this,e),this.instance=void 0,this.baseUrl=void 0,this.jsonParseReviver=void 0,this.instance=n||u.a.create(),this.baseUrl=void 0!==t&&null!==t?t:""}return Object(c.a)(e,[{key:"getAll",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Certificate/GetAll";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetAll(e)}))}},{key:"processGetAll",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=_n.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"getById",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Certificate/GetById?";if(null===e)throw new Error("The parameter 'certificateId' cannot be null.");void 0!==e&&(a+="certificateId="+encodeURIComponent(""+e)+"&");var r={method:"GET",url:a=a.replace(/[?&]$/,""),headers:{"x-api-version":void 0!==t&&null!==t?""+t:"",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetById(e)}))}},{key:"processGetById",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Mn.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"getByLicense",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Certificate/GetByLicense";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetByLicense(e)}))}},{key:"processGetByLicense",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Mn.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"getByMultipleLicense",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Certificate/GetByMultipleLicense";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetByMultipleLicense(e)}))}},{key:"processGetByMultipleLicense",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a=null,r=e.data;if(Array.isArray(r)){a=[];var o,l=Object(s.a)(r);try{for(l.s();!(o=l.n()).done;){var c=o.value;a.push(up.fromJS(c))}}catch(f){l.e(f)}finally{l.f()}}else a=null;return Promise.resolve(a)}if(404===t){var d=e.data,u=d;return sC("Not Found",t,d,n,wg.fromJS(u))}var m=e.data,v=m;return sC("Error",t,m,n,wg.fromJS(v))}},{key:"archive",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Certificate/Archive";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"PUT",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processArchive(e)}))}},{key:"processArchive",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a=null,r=e.data;if(Array.isArray(r)){a=[];var o,l=Object(s.a)(r);try{for(l.s();!(o=l.n()).done;){var c=o.value;a.push(Vn.fromJS(c))}}catch(h){l.e(h)}finally{l.f()}}else a=null;return Promise.resolve(a)}if(204===t)return sC("Success",t,e.data,n);if(400===t){var d=e.data,u=d;return sC("Bad Request",t,d,n,aC.fromJS(u))}if(404===t){var m=e.data,v=m;return sC("Not Found",t,m,n,wg.fromJS(v))}var f=e.data,p=f;return sC("Error",t,f,n,wg.fromJS(p))}},{key:"delete",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Certificate/Delete";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"PUT",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processDelete(e)}))}},{key:"processDelete",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a=null,r=e.data;if(Array.isArray(r)){a=[];var o,l=Object(s.a)(r);try{for(l.s();!(o=l.n()).done;){var c=o.value;a.push(Vn.fromJS(c))}}catch(h){l.e(h)}finally{l.f()}}else a=null;return Promise.resolve(a)}if(204===t)return sC("Success",t,e.data,n);if(400===t){var d=e.data,u=d;return sC("Bad Request",t,d,n,aC.fromJS(u))}if(404===t){var m=e.data,v=m;return sC("Not Found",t,m,n,wg.fromJS(v))}var f=e.data,p=f;return sC("Error",t,f,n,wg.fromJS(p))}},{key:"create",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Certificate/Create";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processCreate(e)}))}},{key:"processCreate",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Vn.fromJS(r),Promise.resolve(a)}if(201===t){var o,s=e.data;return o=Vn.fromJS(s),Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"update",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Certificate/Update";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"PUT",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processUpdate(e)}))}},{key:"processUpdate",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Vn.fromJS(r),Promise.resolve(a)}if(201===t){var o,s=e.data;return o=Vn.fromJS(s),Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"validateCertificateName",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Certificate/ValidateCertificateName";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processValidateCertificateName(e)}))}},{key:"processValidateCertificateName",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=void 0!==r?r:null,Promise.resolve(a)}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"getSessionTemplateDetails",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Certificate/GetSessionTemplateDetails";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetSessionTemplateDetails(e)}))}},{key:"processGetSessionTemplateDetails",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=pg.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"getMultipleSessionTemplateDetails",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Certificate/GetMultipleSessionTemplateDetails";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetMultipleSessionTemplateDetails(e)}))}},{key:"processGetMultipleSessionTemplateDetails",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a=null,r=e.data;if(Array.isArray(r)){a=[];var o,l=Object(s.a)(r);try{for(l.s();!(o=l.n()).done;){var c=o.value;a.push(mp.fromJS(c))}}catch(f){l.e(f)}finally{l.f()}}else a=null;return Promise.resolve(a)}if(404===t){var d=e.data,u=d;return sC("Not Found",t,d,n,wg.fromJS(u))}var m=e.data,v=m;return sC("Error",t,m,n,wg.fromJS(v))}},{key:"getSessionTemplateDetailsByGuid",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Certificate/GetSessionTemplateDetailsByGuid?";if(null===e)throw new Error("The parameter 'guid' cannot be null.");void 0!==e&&(a+="guid="+encodeURIComponent(""+e)+"&");var r={method:"POST",url:a=a.replace(/[?&]$/,""),headers:{"x-api-version":void 0!==t&&null!==t?""+t:"",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetSessionTemplateDetailsByGuid(e)}))}},{key:"processGetSessionTemplateDetailsByGuid",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=hg.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}}]),e}(),x=function(){function e(t,n){Object(l.a)(this,e),this.instance=void 0,this.baseUrl=void 0,this.jsonParseReviver=void 0,this.instance=n||u.a.create(),this.baseUrl=void 0!==t&&null!==t?t:""}return Object(c.a)(e,[{key:"getAll",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/ClassYear/GetAll";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetAll(e)}))}},{key:"processGetAll",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Zn.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"exportCsv",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/ClassYear/ExportCsv";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),responseType:"blob",method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/octet-stream"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processExportCsv(e)}))}},{key:"processExportCsv",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t||206===t){var a=e.headers?e.headers["content-disposition"]:void 0,r=a?/filename\*=(?:(\\?['"])(.*?)\1|(?:[^\s]+'.*?')?([^;\n]*))/g.exec(a):void 0,o=r&&r.length>1?r[3]||r[2]:void 0;return o=o?decodeURIComponent(o):(r=a?/filename="?([^"]*?)"?(;|$)/g.exec(a):void 0)&&r.length>1?r[1]:void 0,Promise.resolve({fileName:o,status:t,data:new Blob([e.data],{type:e.headers["content-type"]}),headers:n})}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"exportExcel",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/ClassYear/ExportExcel";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),responseType:"blob",method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/octet-stream"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processExportExcel(e)}))}},{key:"processExportExcel",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t||206===t){var a=e.headers?e.headers["content-disposition"]:void 0,r=a?/filename\*=(?:(\\?['"])(.*?)\1|(?:[^\s]+'.*?')?([^;\n]*))/g.exec(a):void 0,o=r&&r.length>1?r[3]||r[2]:void 0;return o=o?decodeURIComponent(o):(r=a?/filename="?([^"]*?)"?(;|$)/g.exec(a):void 0)&&r.length>1?r[1]:void 0,Promise.resolve({fileName:o,status:t,data:new Blob([e.data],{type:e.headers["content-type"]}),headers:n})}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"getClassYearListById",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/ClassYear/GetClassYearListById";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetClassYearListById(e)}))}},{key:"processGetClassYearListById",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a=null,r=e.data;if(Array.isArray(r)){a=[];var o,l=Object(s.a)(r);try{for(l.s();!(o=l.n()).done;){var c=o.value;a.push(Qn.fromJS(c))}}catch(f){l.e(f)}finally{l.f()}}else a=null;return Promise.resolve(a)}if(404===t){var d=e.data,u=d;return sC("Not Found",t,d,n,wg.fromJS(u))}var m=e.data,v=m;return sC("Error",t,m,n,wg.fromJS(v))}},{key:"get",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/ClassYear/Get/{classYearId}";if(void 0===e||null===e)throw new Error("The parameter 'classYearId' must be defined.");var r={method:"GET",url:a=(a=a.replace("{classYearId}",encodeURIComponent(""+e))).replace(/[?&]$/,""),headers:{"x-api-version":void 0!==t&&null!==t?""+t:"",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGet(e)}))}},{key:"processGet",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Qn.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"create",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/ClassYear/Create";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processCreate(e)}))}},{key:"processCreate",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Qn.fromJS(r),Promise.resolve(a)}if(201===t){var o,s=e.data;return o=Qn.fromJS(s),Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"update",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/ClassYear/Update";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"PUT",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processUpdate(e)}))}},{key:"processUpdate",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Qn.fromJS(r),Promise.resolve(a)}if(201===t){var o,s=e.data;return o=Qn.fromJS(s),Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"delete",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/ClassYear/Delete";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"DELETE",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processDelete(e)}))}},{key:"processDelete",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a=null,r=e.data;if(Array.isArray(r)){a=[];var o,l=Object(s.a)(r);try{for(l.s();!(o=l.n()).done;){var c=o.value;a.push(Qn.fromJS(c))}}catch(h){l.e(h)}finally{l.f()}}else a=null;return Promise.resolve(a)}if(204===t)return sC("Success",t,e.data,n);if(400===t){var d=e.data,u=d;return sC("Bad Request",t,d,n,aC.fromJS(u))}if(404===t){var m=e.data,v=m;return sC("Not Found",t,m,n,wg.fromJS(v))}var f=e.data,p=f;return sC("Error",t,f,n,wg.fromJS(p))}},{key:"archive",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/ClassYear/Archive";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"PUT",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processArchive(e)}))}},{key:"processArchive",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){e.data;return Promise.resolve(null)}if(204===t){e.data;return Promise.resolve(null)}if(400===t){var a=e.data,r=a;return sC("Bad Request",t,a,n,aC.fromJS(r))}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"merge",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/ClassYear/Merge";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processMerge(e)}))}},{key:"processMerge",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){e.data;return Promise.resolve(null)}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"validateClassYearName",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/ClassYear/ValidateClassYearName";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processValidateClassYearName(e)}))}},{key:"processValidateClassYearName",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=void 0!==r?r:null,Promise.resolve(a)}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"validateClassYearCode",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/ClassYear/ValidateClassYearCode";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processValidateClassYearCode(e)}))}},{key:"processValidateClassYearCode",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=void 0!==r?r:null,Promise.resolve(a)}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}}]),e}(),A=function(){function e(t,n){Object(l.a)(this,e),this.instance=void 0,this.baseUrl=void 0,this.jsonParseReviver=void 0,this.instance=n||u.a.create(),this.baseUrl=void 0!==t&&null!==t?t:""}return Object(c.a)(e,[{key:"getAll",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Competency/GetAll";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetAll(e)}))}},{key:"processGetAll",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=di.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"exportCsv",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Competency/ExportCsv";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),responseType:"blob",method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/octet-stream"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processExportCsv(e)}))}},{key:"processExportCsv",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t||206===t){var a=e.headers?e.headers["content-disposition"]:void 0,r=a?/filename\*=(?:(\\?['"])(.*?)\1|(?:[^\s]+'.*?')?([^;\n]*))/g.exec(a):void 0,o=r&&r.length>1?r[3]||r[2]:void 0;return o=o?decodeURIComponent(o):(r=a?/filename="?([^"]*?)"?(;|$)/g.exec(a):void 0)&&r.length>1?r[1]:void 0,Promise.resolve({fileName:o,status:t,data:new Blob([e.data],{type:e.headers["content-type"]}),headers:n})}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"exportExcel",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Competency/ExportExcel";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),responseType:"blob",method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/octet-stream"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processExportExcel(e)}))}},{key:"processExportExcel",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t||206===t){var a=e.headers?e.headers["content-disposition"]:void 0,r=a?/filename\*=(?:(\\?['"])(.*?)\1|(?:[^\s]+'.*?')?([^;\n]*))/g.exec(a):void 0,o=r&&r.length>1?r[3]||r[2]:void 0;return o=o?decodeURIComponent(o):(r=a?/filename="?([^"]*?)"?(;|$)/g.exec(a):void 0)&&r.length>1?r[1]:void 0,Promise.resolve({fileName:o,status:t,data:new Blob([e.data],{type:e.headers["content-type"]}),headers:n})}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"getCompetencyListById",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Competency/GetCompetencyListById";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetCompetencyListById(e)}))}},{key:"processGetCompetencyListById",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a=null,r=e.data;if(Array.isArray(r)){a=[];var o,l=Object(s.a)(r);try{for(l.s();!(o=l.n()).done;){var c=o.value;a.push(ei.fromJS(c))}}catch(f){l.e(f)}finally{l.f()}}else a=null;return Promise.resolve(a)}if(404===t){var d=e.data,u=d;return sC("Not Found",t,d,n,wg.fromJS(u))}var m=e.data,v=m;return sC("Error",t,m,n,wg.fromJS(v))}},{key:"get",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Competency/Get/{competencyId}";if(void 0===e||null===e)throw new Error("The parameter 'competencyId' must be defined.");var r={method:"GET",url:a=(a=a.replace("{competencyId}",encodeURIComponent(""+e))).replace(/[?&]$/,""),headers:{"x-api-version":void 0!==t&&null!==t?""+t:"",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGet(e)}))}},{key:"processGet",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=ei.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"create",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Competency/Create";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processCreate(e)}))}},{key:"processCreate",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=ei.fromJS(r),Promise.resolve(a)}if(201===t){var o,s=e.data;return o=ei.fromJS(s),Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"update",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Competency/Update";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"PUT",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processUpdate(e)}))}},{key:"processUpdate",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=ei.fromJS(r),Promise.resolve(a)}if(201===t){var o,s=e.data;return o=ei.fromJS(s),Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"delete",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Competency/Delete";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"DELETE",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processDelete(e)}))}},{key:"processDelete",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a=null,r=e.data;if(Array.isArray(r)){a=[];var o,l=Object(s.a)(r);try{for(l.s();!(o=l.n()).done;){var c=o.value;a.push(ei.fromJS(c))}}catch(h){l.e(h)}finally{l.f()}}else a=null;return Promise.resolve(a)}if(204===t)return sC("Success",t,e.data,n);if(400===t){var d=e.data,u=d;return sC("Bad Request",t,d,n,aC.fromJS(u))}if(404===t){var m=e.data,v=m;return sC("Not Found",t,m,n,wg.fromJS(v))}var f=e.data,p=f;return sC("Error",t,f,n,wg.fromJS(p))}},{key:"archive",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Competency/Archive";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"PUT",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processArchive(e)}))}},{key:"processArchive",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){e.data;return Promise.resolve(null)}if(204===t){e.data;return Promise.resolve(null)}if(400===t){var a=e.data,r=a;return sC("Bad Request",t,a,n,aC.fromJS(r))}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"merge",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Competency/Merge";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processMerge(e)}))}},{key:"processMerge",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){e.data;return Promise.resolve(null)}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"validateCompetencyName",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Competency/ValidateCompetencyName";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processValidateCompetencyName(e)}))}},{key:"processValidateCompetencyName",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=void 0!==r?r:null,Promise.resolve(a)}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"validateCompetencyCode",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Competency/ValidateCompetencyCode";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processValidateCompetencyCode(e)}))}},{key:"processValidateCompetencyCode",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=void 0!==r?r:null,Promise.resolve(a)}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"getAllActiveCompetencies",value:function(e,t){var n=this,i=this.baseUrl+"/api/Competency/GetAllActiveCompetencies",a={method:"GET",url:i=i.replace(/[?&]$/,""),headers:{"x-api-version":void 0!==e&&null!==e?""+e:"",Accept:"application/json"},cancelToken:t};return this.instance.request(a).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return n.processGetAllActiveCompetencies(e)}))}},{key:"processGetAllActiveCompetencies",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a=null,r=e.data;if(Array.isArray(r)){a=[];var o,l=Object(s.a)(r);try{for(l.s();!(o=l.n()).done;){var c=o.value;a.push(ii.fromJS(c))}}catch(f){l.e(f)}finally{l.f()}}else a=null;return Promise.resolve(a)}if(404===t){var d=e.data,u=d;return sC("Not Found",t,d,n,wg.fromJS(u))}var m=e.data,v=m;return sC("Error",t,m,n,wg.fromJS(v))}}]),e}(),T=function(){function e(t,n){Object(l.a)(this,e),this.instance=void 0,this.baseUrl=void 0,this.jsonParseReviver=void 0,this.instance=n||u.a.create(),this.baseUrl=void 0!==t&&null!==t?t:""}return Object(c.a)(e,[{key:"getAllCompetencyFramework",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/CompetencyFramework/GetAllCompetencyFramework";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetAllCompetencyFramework(e)}))}},{key:"processGetAllCompetencyFramework",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=li.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"delete",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/CompetencyFramework/Delete";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"DELETE",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processDelete(e)}))}},{key:"processDelete",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){e.data;return Promise.resolve(null)}if(204===t){e.data;return Promise.resolve(null)}if(400===t){var a=e.data,r=a;return sC("Bad Request",t,a,n,aC.fromJS(r))}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"getUkLicenseList",value:function(e,t){var n=this,i=this.baseUrl+"/api/CompetencyFramework/GetUkLicenseList",a={method:"GET",url:i=i.replace(/[?&]$/,""),headers:{"x-api-version":void 0!==e&&null!==e?""+e:"",Accept:"application/json"},cancelToken:t};return this.instance.request(a).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return n.processGetUkLicenseList(e)}))}},{key:"processGetUkLicenseList",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a=null,r=e.data;if(Array.isArray(r)){a=[];var o,l=Object(s.a)(r);try{for(l.s();!(o=l.n()).done;){var c=o.value;a.push(eE.fromJS(c))}}catch(f){l.e(f)}finally{l.f()}}else a=null;return Promise.resolve(a)}if(404===t){var d=e.data,u=d;return sC("Not Found",t,d,n,wg.fromJS(u))}var m=e.data,v=m;return sC("Error",t,m,n,wg.fromJS(v))}},{key:"create",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/CompetencyFramework/Create";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processCreate(e)}))}},{key:"processCreate",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=void 0!==r?r:null,Promise.resolve(a)}if(201===t){var o,s=e.data;return o=void 0!==s?s:null,Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"validateCompetencyFrameworkLicense",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/CompetencyFramework/ValidateCompetencyFrameworkLicense";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processValidateCompetencyFrameworkLicense(e)}))}},{key:"processValidateCompetencyFrameworkLicense",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=void 0!==r?r:null,Promise.resolve(a)}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"validateCompetencyFrameworkTitle",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/CompetencyFramework/ValidateCompetencyFrameworkTitle";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processValidateCompetencyFrameworkTitle(e)}))}},{key:"processValidateCompetencyFrameworkTitle",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=void 0!==r?r:null,Promise.resolve(a)}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"update",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/CompetencyFramework/Update";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"PUT",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processUpdate(e)}))}},{key:"processUpdate",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=ai.fromJS(r),Promise.resolve(a)}if(201===t){var o,s=e.data;return o=ai.fromJS(s),Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"getCompetencyFrameworkDetails",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/CompetencyFramework/GetCompetencyFrameworkDetails/{competencyFrameworkId}";if(void 0===e||null===e)throw new Error("The parameter 'competencyFrameworkId' must be defined.");var r={method:"GET",url:a=(a=a.replace("{competencyFrameworkId}",encodeURIComponent(""+e))).replace(/[?&]$/,""),headers:{"x-api-version":void 0!==t&&null!==t?""+t:"",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetCompetencyFrameworkDetails(e)}))}},{key:"processGetCompetencyFrameworkDetails",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=ai.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}}]),e}(),w=function(){function e(t,n){Object(l.a)(this,e),this.instance=void 0,this.baseUrl=void 0,this.jsonParseReviver=void 0,this.instance=n||u.a.create(),this.baseUrl=void 0!==t&&null!==t?t:""}return Object(c.a)(e,[{key:"getAll",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Compliance/GetAll";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetAll(e)}))}},{key:"processGetAll",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=mi.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"getAllUsersWithCompliance",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Compliance/GetAllUsersWithCompliance";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetAllUsersWithCompliance(e)}))}},{key:"processGetAllUsersWithCompliance",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=mi.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"exportCsv",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Compliance/ExportCsv";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),responseType:"blob",method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/octet-stream"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processExportCsv(e)}))}},{key:"processExportCsv",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t||206===t){var a=e.headers?e.headers["content-disposition"]:void 0,r=a?/filename\*=(?:(\\?['"])(.*?)\1|(?:[^\s]+'.*?')?([^;\n]*))/g.exec(a):void 0,o=r&&r.length>1?r[3]||r[2]:void 0;return o=o?decodeURIComponent(o):(r=a?/filename="?([^"]*?)"?(;|$)/g.exec(a):void 0)&&r.length>1?r[1]:void 0,Promise.resolve({fileName:o,status:t,data:new Blob([e.data],{type:e.headers["content-type"]}),headers:n})}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"exportExcel",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Compliance/ExportExcel";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),responseType:"blob",method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/octet-stream"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processExportExcel(e)}))}},{key:"processExportExcel",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t||206===t){var a=e.headers?e.headers["content-disposition"]:void 0,r=a?/filename\*=(?:(\\?['"])(.*?)\1|(?:[^\s]+'.*?')?([^;\n]*))/g.exec(a):void 0,o=r&&r.length>1?r[3]||r[2]:void 0;return o=o?decodeURIComponent(o):(r=a?/filename="?([^"]*?)"?(;|$)/g.exec(a):void 0)&&r.length>1?r[1]:void 0,Promise.resolve({fileName:o,status:t,data:new Blob([e.data],{type:e.headers["content-type"]}),headers:n})}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"getStatistics",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Compliance/GetStatistics";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetStatistics(e)}))}},{key:"processGetStatistics",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Fi.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"exportStatisticsCsv",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Compliance/ExportStatisticsCsv";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),responseType:"blob",method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/octet-stream"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processExportStatisticsCsv(e)}))}},{key:"processExportStatisticsCsv",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t||206===t){var a=e.headers?e.headers["content-disposition"]:void 0,r=a?/filename\*=(?:(\\?['"])(.*?)\1|(?:[^\s]+'.*?')?([^;\n]*))/g.exec(a):void 0,o=r&&r.length>1?r[3]||r[2]:void 0;return o=o?decodeURIComponent(o):(r=a?/filename="?([^"]*?)"?(;|$)/g.exec(a):void 0)&&r.length>1?r[1]:void 0,Promise.resolve({fileName:o,status:t,data:new Blob([e.data],{type:e.headers["content-type"]}),headers:n})}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"exportStatisticsExcel",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Compliance/ExportStatisticsExcel";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),responseType:"blob",method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/octet-stream"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processExportStatisticsExcel(e)}))}},{key:"processExportStatisticsExcel",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t||206===t){var a=e.headers?e.headers["content-disposition"]:void 0,r=a?/filename\*=(?:(\\?['"])(.*?)\1|(?:[^\s]+'.*?')?([^;\n]*))/g.exec(a):void 0,o=r&&r.length>1?r[3]||r[2]:void 0;return o=o?decodeURIComponent(o):(r=a?/filename="?([^"]*?)"?(;|$)/g.exec(a):void 0)&&r.length>1?r[1]:void 0,Promise.resolve({fileName:o,status:t,data:new Blob([e.data],{type:e.headers["content-type"]}),headers:n})}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"getLicenseStatusUserStatistics",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Compliance/GetLicenseStatusUserStatistics";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetLicenseStatusUserStatistics(e)}))}},{key:"processGetLicenseStatusUserStatistics",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=hi.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}}]),e}(),k=function(){function e(t,n){Object(l.a)(this,e),this.instance=void 0,this.baseUrl=void 0,this.jsonParseReviver=void 0,this.instance=n||u.a.create(),this.baseUrl=void 0!==t&&null!==t?t:""}return Object(c.a)(e,[{key:"getAll",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/ComplianceLicenseeSavedFilter/GetAll";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetAll(e)}))}},{key:"processGetAll",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=fi.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"get",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/ComplianceLicenseeSavedFilter/Get";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGet(e)}))}},{key:"processGet",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=vi.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"create",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/ComplianceLicenseeSavedFilter/Create";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processCreate(e)}))}},{key:"processCreate",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=vi.fromJS(r),Promise.resolve(a)}if(201===t){var o,s=e.data;return o=vi.fromJS(s),Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"update",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/ComplianceLicenseeSavedFilter/Update";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"PUT",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processUpdate(e)}))}},{key:"processUpdate",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=vi.fromJS(r),Promise.resolve(a)}if(201===t){var o,s=e.data;return o=vi.fromJS(s),Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"delete",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/ComplianceLicenseeSavedFilter/Delete";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"DELETE",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processDelete(e)}))}},{key:"processDelete",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){e.data;return Promise.resolve(null)}if(204===t){e.data;return Promise.resolve(null)}if(400===t){var a=e.data,r=a;return sC("Bad Request",t,a,n,aC.fromJS(r))}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"validateComplianceLicenseeSavedFilterName",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/ComplianceLicenseeSavedFilter/ValidateComplianceLicenseeSavedFilterName";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processValidateComplianceLicenseeSavedFilterName(e)}))}},{key:"processValidateComplianceLicenseeSavedFilterName",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=void 0!==r?r:null,Promise.resolve(a)}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}}]),e}(),P=function(){function e(t,n){Object(l.a)(this,e),this.instance=void 0,this.baseUrl=void 0,this.jsonParseReviver=void 0,this.instance=n||u.a.create(),this.baseUrl=void 0!==t&&null!==t?t:""}return Object(c.a)(e,[{key:"getAll",value:function(e,t){var n=this,i=this.baseUrl+"/api/Country/GetAll",a={method:"GET",url:i=i.replace(/[?&]$/,""),headers:{"x-api-version":void 0!==e&&null!==e?""+e:"",Accept:"application/json"},cancelToken:t};return this.instance.request(a).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return n.processGetAll(e)}))}},{key:"processGetAll",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=zi.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}}]),e}(),N=function(){function e(t,n){Object(l.a)(this,e),this.instance=void 0,this.baseUrl=void 0,this.jsonParseReviver=void 0,this.instance=n||u.a.create(),this.baseUrl=void 0!==t&&null!==t?t:""}return Object(c.a)(e,[{key:"getAll",value:function(e,t){var n=this,i=this.baseUrl+"/api/County/GetAll",a={method:"GET",url:i=i.replace(/[?&]$/,""),headers:{"x-api-version":void 0!==e&&null!==e?""+e:"",Accept:"application/json"},cancelToken:t};return this.instance.request(a).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return n.processGetAll(e)}))}},{key:"processGetAll",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Wi.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}}]),e}(),D=function(){function e(t,n){Object(l.a)(this,e),this.instance=void 0,this.baseUrl=void 0,this.jsonParseReviver=void 0,this.instance=n||u.a.create(),this.baseUrl=void 0!==t&&null!==t?t:""}return Object(c.a)(e,[{key:"getAll",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Course/GetAll";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetAll(e)}))}},{key:"processGetAll",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=la.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"exportCsv",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Course/ExportCsv";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),responseType:"blob",method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/octet-stream"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processExportCsv(e)}))}},{key:"processExportCsv",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t||206===t){var a=e.headers?e.headers["content-disposition"]:void 0,r=a?/filename\*=(?:(\\?['"])(.*?)\1|(?:[^\s]+'.*?')?([^;\n]*))/g.exec(a):void 0,o=r&&r.length>1?r[3]||r[2]:void 0;return o=o?decodeURIComponent(o):(r=a?/filename="?([^"]*?)"?(;|$)/g.exec(a):void 0)&&r.length>1?r[1]:void 0,Promise.resolve({fileName:o,status:t,data:new Blob([e.data],{type:e.headers["content-type"]}),headers:n})}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"exportExcel",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Course/ExportExcel";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),responseType:"blob",method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/octet-stream"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processExportExcel(e)}))}},{key:"processExportExcel",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t||206===t){var a=e.headers?e.headers["content-disposition"]:void 0,r=a?/filename\*=(?:(\\?['"])(.*?)\1|(?:[^\s]+'.*?')?([^;\n]*))/g.exec(a):void 0,o=r&&r.length>1?r[3]||r[2]:void 0;return o=o?decodeURIComponent(o):(r=a?/filename="?([^"]*?)"?(;|$)/g.exec(a):void 0)&&r.length>1?r[1]:void 0,Promise.resolve({fileName:o,status:t,data:new Blob([e.data],{type:e.headers["content-type"]}),headers:n})}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"get",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Course/Get/{courseId}";if(void 0===e||null===e)throw new Error("The parameter 'courseId' must be defined.");var r={method:"GET",url:a=(a=a.replace("{courseId}",encodeURIComponent(""+e))).replace(/[?&]$/,""),headers:{"x-api-version":void 0!==t&&null!==t?""+t:"",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGet(e)}))}},{key:"processGet",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=ga.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"getCourseWithCategories",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Course/GetCourseWithCategories/{courseId}";if(void 0===e||null===e)throw new Error("The parameter 'courseId' must be defined.");var r={method:"GET",url:a=(a=a.replace("{courseId}",encodeURIComponent(""+e))).replace(/[?&]$/,""),headers:{"x-api-version":void 0!==t&&null!==t?""+t:"",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetCourseWithCategories(e)}))}},{key:"processGetCourseWithCategories",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Zi.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"getCourseDetails",value:function(e,t,n,i){var a=this,r=this.baseUrl+"/api/Course/GetCourseDetails/{courseId}?";if(void 0===e||null===e)throw new Error("The parameter 'courseId' must be defined.");if(r=r.replace("{courseId}",encodeURIComponent(""+e)),null===t)throw new Error("The parameter 'scheduleId' cannot be null.");void 0!==t&&(r+="scheduleId="+encodeURIComponent(""+t)+"&");var o={method:"GET",url:r=r.replace(/[?&]$/,""),headers:{"x-api-version":void 0!==n&&null!==n?""+n:"",Accept:"application/json"},cancelToken:i};return this.instance.request(o).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return a.processGetCourseDetails(e)}))}},{key:"processGetCourseDetails",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=ia.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"getCourseSessions",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Course/GetCourseSessions";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetCourseSessions(e)}))}},{key:"processGetCourseSessions",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=ya.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"getCourseSessionGroup",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Course/GetCourseSessionGroup";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetCourseSessionGroup(e)}))}},{key:"processGetCourseSessionGroup",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=fa.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"getPortalCourseSessions",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Course/GetPortalCourseSessions";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetPortalCourseSessions(e)}))}},{key:"processGetPortalCourseSessions",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Pp.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"create",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Course/Create";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processCreate(e)}))}},{key:"processCreate",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=void 0!==r?r:null,Promise.resolve(a)}if(201===t){var o,s=e.data;return o=void 0!==s?s:null,Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"createThirdParty",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Course/CreateThirdParty";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processCreateThirdParty(e)}))}},{key:"processCreateThirdParty",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=void 0!==r?r:null,Promise.resolve(a)}if(201===t){var o,s=e.data;return o=void 0!==s?s:null,Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"createThirdPartySession",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Course/CreateThirdPartySession";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processCreateThirdPartySession(e)}))}},{key:"processCreateThirdPartySession",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=void 0!==r?r:null,Promise.resolve(a)}if(201===t){var o,s=e.data;return o=void 0!==s?s:null,Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"update",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Course/Update";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"PUT",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processUpdate(e)}))}},{key:"processUpdate",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=void 0!==r?r:null,Promise.resolve(a)}if(201===t){var o,s=e.data;return o=void 0!==s?s:null,Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"toggleCourseFavorite",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Course/ToggleCourseFavorite";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"PUT",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processToggleCourseFavorite(e)}))}},{key:"processToggleCourseFavorite",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=void 0!==r?r:null,Promise.resolve(a)}if(201===t){var o,s=e.data;return o=void 0!==s?s:null,Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"delete",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Course/Delete";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"DELETE",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processDelete(e)}))}},{key:"processDelete",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a=null,r=e.data;if(Array.isArray(r)){a=[];var o,l=Object(s.a)(r);try{for(l.s();!(o=l.n()).done;){var c=o.value;a.push(aa.fromJS(c))}}catch(h){l.e(h)}finally{l.f()}}else a=null;return Promise.resolve(a)}if(204===t)return sC("Success",t,e.data,n);if(400===t){var d=e.data,u=d;return sC("Bad Request",t,d,n,aC.fromJS(u))}if(404===t){var m=e.data,v=m;return sC("Not Found",t,m,n,wg.fromJS(v))}var f=e.data,p=f;return sC("Error",t,f,n,wg.fromJS(p))}},{key:"archive",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Course/Archive";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"PUT",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processArchive(e)}))}},{key:"processArchive",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){e.data;return Promise.resolve(null)}if(204===t){e.data;return Promise.resolve(null)}if(400===t){var a=e.data,r=a;return sC("Bad Request",t,a,n,aC.fromJS(r))}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"merge",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Course/Merge";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processMerge(e)}))}},{key:"processMerge",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=void 0!==r?r:null,Promise.resolve(a)}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"validateCourse",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Course/ValidateCourse";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processValidateCourse(e)}))}},{key:"processValidateCourse",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=CO.fromJS(r),Promise.resolve(a)}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"validateCourseMerge",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Course/ValidateCourseMerge";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processValidateCourseMerge(e)}))}},{key:"processValidateCourseMerge",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=void 0!==r?r:null,Promise.resolve(a)}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}}]),e}(),L=function(){function e(t,n){Object(l.a)(this,e),this.instance=void 0,this.baseUrl=void 0,this.jsonParseReviver=void 0,this.instance=n||u.a.create(),this.baseUrl=void 0!==t&&null!==t?t:""}return Object(c.a)(e,[{key:"getAll",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/CourseCatalog/GetAll";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetAll(e)}))}},{key:"processGetAll",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Yi.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"getAllWithMultiSessions",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/CourseCatalog/GetAllWithMultiSessions";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetAllWithMultiSessions(e)}))}},{key:"processGetAllWithMultiSessions",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Qi.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"getCourseDetail",value:function(e,t,n,i){var a=this,r=this.baseUrl+"/api/CourseCatalog/GetCourseDetail/{courseId}?";if(void 0===e||null===e)throw new Error("The parameter 'courseId' must be defined.");if(r=r.replace("{courseId}",encodeURIComponent(""+e)),null===t)throw new Error("The parameter 'userId' cannot be null.");void 0!==t&&(r+="userId="+encodeURIComponent(""+t)+"&");var o={method:"GET",url:r=r.replace(/[?&]$/,""),headers:{"x-api-version":void 0!==n&&null!==n?""+n:"",Accept:"application/json"},cancelToken:i};return this.instance.request(o).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return a.processGetCourseDetail(e)}))}},{key:"processGetCourseDetail",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Vi.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"getCourseSessions",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/CourseCatalog/GetCourseSessions";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetCourseSessions(e)}))}},{key:"processGetCourseSessions",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a=null,r=e.data;if(Array.isArray(r)){a=[];var o,l=Object(s.a)(r);try{for(l.s();!(o=l.n()).done;){var c=o.value;a.push(Hi.fromJS(c))}}catch(f){l.e(f)}finally{l.f()}}else a=null;return Promise.resolve(a)}if(404===t){var d=e.data,u=d;return sC("Not Found",t,d,n,wg.fromJS(u))}var m=e.data,v=m;return sC("Error",t,m,n,wg.fromJS(v))}},{key:"getCourseDetailByGuid",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/CourseCatalog/GetCourseDetailByGuid";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetCourseDetailByGuid(e)}))}},{key:"processGetCourseDetailByGuid",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Vi.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"getCourseSessionsByGuid",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/CourseCatalog/GetCourseSessionsByGuid";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetCourseSessionsByGuid(e)}))}},{key:"processGetCourseSessionsByGuid",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a=null,r=e.data;if(Array.isArray(r)){a=[];var o,l=Object(s.a)(r);try{for(l.s();!(o=l.n()).done;){var c=o.value;a.push(Hi.fromJS(c))}}catch(f){l.e(f)}finally{l.f()}}else a=null;return Promise.resolve(a)}if(404===t){var d=e.data,u=d;return sC("Not Found",t,d,n,wg.fromJS(u))}var m=e.data,v=m;return sC("Error",t,m,n,wg.fromJS(v))}},{key:"getRegistrationCourseDetailByGuid",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/CourseCatalog/GetRegistrationCourseDetailByGuid";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetRegistrationCourseDetailByGuid(e)}))}},{key:"processGetRegistrationCourseDetailByGuid",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Vi.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"getCourseSessionRegistrationLinkByGuid",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/CourseCatalog/GetCourseSessionRegistrationLinkByGuid";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetCourseSessionRegistrationLinkByGuid(e)}))}},{key:"processGetCourseSessionRegistrationLinkByGuid",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a=null,r=e.data;if(Array.isArray(r)){a=[];var o,l=Object(s.a)(r);try{for(l.s();!(o=l.n()).done;){var c=o.value;a.push(Hi.fromJS(c))}}catch(f){l.e(f)}finally{l.f()}}else a=null;return Promise.resolve(a)}if(404===t){var d=e.data,u=d;return sC("Not Found",t,d,n,wg.fromJS(u))}var m=e.data,v=m;return sC("Error",t,m,n,wg.fromJS(v))}},{key:"getRegistrationCourseDetailByScheduleGuid",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/CourseCatalog/GetRegistrationCourseDetailByScheduleGuid";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetRegistrationCourseDetailByScheduleGuid(e)}))}},{key:"processGetRegistrationCourseDetailByScheduleGuid",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Vi.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"getCourseSessionRegistrationLinkByScheduleyGuid",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/CourseCatalog/GetCourseSessionRegistrationLinkByScheduleyGuid";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetCourseSessionRegistrationLinkByScheduleyGuid(e)}))}},{key:"processGetCourseSessionRegistrationLinkByScheduleyGuid",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a=null,r=e.data;if(Array.isArray(r)){a=[];var o,l=Object(s.a)(r);try{for(l.s();!(o=l.n()).done;){var c=o.value;a.push(Hi.fromJS(c))}}catch(f){l.e(f)}finally{l.f()}}else a=null;return Promise.resolve(a)}if(404===t){var d=e.data,u=d;return sC("Not Found",t,d,n,wg.fromJS(u))}var m=e.data,v=m;return sC("Error",t,m,n,wg.fromJS(v))}}]),e}(),F=function(){function e(t,n){Object(l.a)(this,e),this.instance=void 0,this.baseUrl=void 0,this.jsonParseReviver=void 0,this.instance=n||u.a.create(),this.baseUrl=void 0!==t&&null!==t?t:""}return Object(c.a)(e,[{key:"create",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/CourseCollection/Create";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processCreate(e)}))}},{key:"processCreate",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Kn.fromJS(r),Promise.resolve(a)}if(201===t){var o,s=e.data;return o=Kn.fromJS(s),Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"addToCollection",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/CourseCollection/AddToCollection";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processAddToCollection(e)}))}},{key:"processAddToCollection",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Ki.fromJS(r),Promise.resolve(a)}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"getAllUserCollections",value:function(e,t,n,i){var a=this,r=this.baseUrl+"/api/CourseCollection/GetAllUserCollections?";if(null===e)throw new Error("The parameter 'userId' cannot be null.");if(void 0!==e&&(r+="userId="+encodeURIComponent(""+e)+"&"),null===t)throw new Error("The parameter 'courseId' cannot be null.");void 0!==t&&(r+="courseId="+encodeURIComponent(""+t)+"&");var o={method:"GET",url:r=r.replace(/[?&]$/,""),headers:{"x-api-version":void 0!==n&&null!==n?""+n:"",Accept:"application/json"},cancelToken:i};return this.instance.request(o).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return a.processGetAllUserCollections(e)}))}},{key:"processGetAllUserCollections",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a=null,r=e.data;if(Array.isArray(r)){a=[];var o,l=Object(s.a)(r);try{for(l.s();!(o=l.n()).done;){var c=o.value;a.push(Kn.fromJS(c))}}catch(f){l.e(f)}finally{l.f()}}else a=null;return Promise.resolve(a)}if(404===t){var d=e.data,u=d;return sC("Not Found",t,d,n,wg.fromJS(u))}var m=e.data,v=m;return sC("Error",t,m,n,wg.fromJS(v))}},{key:"getCourseCollectionById",value:function(e,t,n,i,a){var r=this,o=this.baseUrl+"/api/CourseCollection/GetCourseCollectionById?";if(null===e)throw new Error("The parameter 'userId' cannot be null.");if(void 0!==e&&(o+="userId="+encodeURIComponent(""+e)+"&"),null===t)throw new Error("The parameter 'collectionId' cannot be null.");if(void 0!==t&&(o+="collectionId="+encodeURIComponent(""+t)+"&"),null===n)throw new Error("The parameter 'courseId' cannot be null.");void 0!==n&&(o+="courseId="+encodeURIComponent(""+n)+"&");var s={method:"GET",url:o=o.replace(/[?&]$/,""),headers:{"x-api-version":void 0!==i&&null!==i?""+i:"",Accept:"application/json"},cancelToken:a};return this.instance.request(s).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return r.processGetCourseCollectionById(e)}))}},{key:"processGetCourseCollectionById",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=ea.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"getUserCourseCollectionByCourseId",value:function(e,t,n,i){var a=this,r=this.baseUrl+"/api/CourseCollection/GetUserCourseCollectionByCourseId?";if(null===e)throw new Error("The parameter 'userId' cannot be null.");if(void 0!==e&&(r+="userId="+encodeURIComponent(""+e)+"&"),null===t)throw new Error("The parameter 'courseId' cannot be null.");void 0!==t&&(r+="courseId="+encodeURIComponent(""+t)+"&");var o={method:"GET",url:r=r.replace(/[?&]$/,""),headers:{"x-api-version":void 0!==n&&null!==n?""+n:"",Accept:"application/json"},cancelToken:i};return this.instance.request(o).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return a.processGetUserCourseCollectionByCourseId(e)}))}},{key:"processGetUserCourseCollectionByCourseId",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=ea.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"getUserCourseCollection",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/CourseCollection/GetUserCourseCollection?";if(null===e)throw new Error("The parameter 'userId' cannot be null.");void 0!==e&&(a+="userId="+encodeURIComponent(""+e)+"&");var r={method:"GET",url:a=a.replace(/[?&]$/,""),headers:{"x-api-version":void 0!==t&&null!==t?""+t:"",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetUserCourseCollection(e)}))}},{key:"processGetUserCourseCollection",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a=null,r=e.data;if(Array.isArray(r)){a=[];var o,l=Object(s.a)(r);try{for(l.s();!(o=l.n()).done;){var c=o.value;a.push(eS.fromJS(c))}}catch(f){l.e(f)}finally{l.f()}}else a=null;return Promise.resolve(a)}if(404===t){var d=e.data,u=d;return sC("Not Found",t,d,n,wg.fromJS(u))}var m=e.data,v=m;return sC("Error",t,m,n,wg.fromJS(v))}},{key:"getCollection",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/CourseCollection/GetCollection?";if(null===e)throw new Error("The parameter 'collectionId' cannot be null.");void 0!==e&&(a+="collectionId="+encodeURIComponent(""+e)+"&");var r={method:"GET",url:a=a.replace(/[?&]$/,""),headers:{"x-api-version":void 0!==t&&null!==t?""+t:"",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetCollection(e)}))}},{key:"processGetCollection",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Kn.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"removeCourseFromCollection",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/CourseCollection/RemoveCourseFromCollection";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"DELETE",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processRemoveCourseFromCollection(e)}))}},{key:"processRemoveCourseFromCollection",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){e.data;return Promise.resolve(null)}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"getAllCourseCollectionByCollectionId",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/CourseCollection/GetAllCourseCollectionByCollectionId";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetAllCourseCollectionByCollectionId(e)}))}},{key:"processGetAllCourseCollectionByCollectionId",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=aS.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"updateCollection",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/CourseCollection/UpdateCollection";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"PUT",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processUpdateCollection(e)}))}},{key:"processUpdateCollection",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Kn.fromJS(r),Promise.resolve(a)}if(201===t){var o,s=e.data;return o=Kn.fromJS(s),Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"validateCollection",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/CourseCollection/ValidateCollection";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processValidateCollection(e)}))}},{key:"processValidateCollection",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=void 0!==r?r:null,Promise.resolve(a)}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"deleteCollection",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/CourseCollection/DeleteCollection";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"DELETE",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processDeleteCollection(e)}))}},{key:"processDeleteCollection",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){e.data;return Promise.resolve(null)}if(204===t){e.data;return Promise.resolve(null)}if(400===t){var a=e.data,r=a;return sC("Bad Request",t,a,n,aC.fromJS(r))}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}}]),e}(),B=function(){function e(t,n){Object(l.a)(this,e),this.instance=void 0,this.baseUrl=void 0,this.jsonParseReviver=void 0,this.instance=n||u.a.create(),this.baseUrl=void 0!==t&&null!==t?t:""}return Object(c.a)(e,[{key:"getAll",value:function(e,t){var n=this,i=this.baseUrl+"/api/CourseFormat/GetAll",a={method:"GET",url:i=i.replace(/[?&]$/,""),headers:{"x-api-version":void 0!==e&&null!==e?""+e:"",Accept:"application/json"},cancelToken:t};return this.instance.request(a).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return n.processGetAll(e)}))}},{key:"processGetAll",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=oa.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"getAllActive",value:function(e,t){var n=this,i=this.baseUrl+"/api/CourseFormat/GetAllActive",a={method:"GET",url:i=i.replace(/[?&]$/,""),headers:{"x-api-version":void 0!==e&&null!==e?""+e:"",Accept:"application/json"},cancelToken:t};return this.instance.request(a).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return n.processGetAllActive(e)}))}},{key:"processGetAllActive",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=oa.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"get",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/CourseFormat/Get/{courseFormatId}";if(void 0===e||null===e)throw new Error("The parameter 'courseFormatId' must be defined.");var r={method:"GET",url:a=(a=a.replace("{courseFormatId}",encodeURIComponent(""+e))).replace(/[?&]$/,""),headers:{"x-api-version":void 0!==t&&null!==t?""+t:"",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGet(e)}))}},{key:"processGet",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=ra.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"archive",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/CourseFormat/Archive";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"PUT",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processArchive(e)}))}},{key:"processArchive",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){e.data;return Promise.resolve(null)}if(204===t){e.data;return Promise.resolve(null)}if(400===t){var a=e.data,r=a;return sC("Bad Request",t,a,n,aC.fromJS(r))}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}}]),e}(),R=function(){function e(t,n){Object(l.a)(this,e),this.instance=void 0,this.baseUrl=void 0,this.jsonParseReviver=void 0,this.instance=n||u.a.create(),this.baseUrl=void 0!==t&&null!==t?t:""}return Object(c.a)(e,[{key:"getAll",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/CourseSavedFilter/GetAll";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetAll(e)}))}},{key:"processGetAll",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=ua.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"get",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/CourseSavedFilter/Get";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGet(e)}))}},{key:"processGet",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=da.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"create",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/CourseSavedFilter/Create";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processCreate(e)}))}},{key:"processCreate",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=da.fromJS(r),Promise.resolve(a)}if(201===t){var o,s=e.data;return o=da.fromJS(s),Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"update",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/CourseSavedFilter/Update";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"PUT",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processUpdate(e)}))}},{key:"processUpdate",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=da.fromJS(r),Promise.resolve(a)}if(201===t){var o,s=e.data;return o=da.fromJS(s),Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"delete",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/CourseSavedFilter/Delete";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"DELETE",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processDelete(e)}))}},{key:"processDelete",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){e.data;return Promise.resolve(null)}if(204===t){e.data;return Promise.resolve(null)}if(400===t){var a=e.data,r=a;return sC("Bad Request",t,a,n,aC.fromJS(r))}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"validateCourseSavedFilterName",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/CourseSavedFilter/ValidateCourseSavedFilterName";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processValidateCourseSavedFilterName(e)}))}},{key:"processValidateCourseSavedFilterName",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=void 0!==r?r:null,Promise.resolve(a)}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}}]),e}(),J=function(){function e(t,n){Object(l.a)(this,e),this.instance=void 0,this.baseUrl=void 0,this.jsonParseReviver=void 0,this.instance=n||u.a.create(),this.baseUrl=void 0!==t&&null!==t?t:""}return Object(c.a)(e,[{key:"getAllSessions",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Dashboard/GetAllSessions";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetAllSessions(e)}))}},{key:"processGetAllSessions",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Wr.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"getReportingPeriodStatistics",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Dashboard/GetReportingPeriodStatistics";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetReportingPeriodStatistics(e)}))}},{key:"processGetReportingPeriodStatistics",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=qr.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"getMarketingEmails",value:function(e,t){var n=this,i=this.baseUrl+"/api/Dashboard/GetMarketingEmails",a={method:"POST",url:i=i.replace(/[?&]$/,""),headers:{"x-api-version":void 0!==e&&null!==e?""+e:"",Accept:"application/json"},cancelToken:t};return this.instance.request(a).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return n.processGetMarketingEmails(e)}))}},{key:"processGetMarketingEmails",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a=null,r=e.data;if(Array.isArray(r)){a=[];var o,l=Object(s.a)(r);try{for(l.s();!(o=l.n()).done;){var c=o.value;a.push(Dm.fromJS(c))}}catch(f){l.e(f)}finally{l.f()}}else a=null;return Promise.resolve(a)}if(404===t){var d=e.data,u=d;return sC("Not Found",t,d,n,wg.fromJS(u))}var m=e.data,v=m;return sC("Error",t,m,n,wg.fromJS(v))}},{key:"getUserFavoriteReports",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Dashboard/GetUserFavoriteReports";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetUserFavoriteReports(e)}))}},{key:"processGetUserFavoriteReports",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=_r.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}}]),e}(),G=function(){function e(t,n){Object(l.a)(this,e),this.instance=void 0,this.baseUrl=void 0,this.jsonParseReviver=void 0,this.instance=n||u.a.create(),this.baseUrl=void 0!==t&&null!==t?t:""}return Object(c.a)(e,[{key:"getAll",value:function(e,t){var n=this,i=this.baseUrl+"/api/DateFormat/GetAll",a={method:"GET",url:i=i.replace(/[?&]$/,""),headers:{"x-api-version":void 0!==e&&null!==e?""+e:"",Accept:"application/json"},cancelToken:t};return this.instance.request(a).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return n.processGetAll(e)}))}},{key:"processGetAll",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a=null,r=e.data;if(Array.isArray(r)){a=[];var o,l=Object(s.a)(r);try{for(l.s();!(o=l.n()).done;){var c=o.value;a.push(Yr.fromJS(c))}}catch(f){l.e(f)}finally{l.f()}}else a=null;return Promise.resolve(a)}if(404===t){var d=e.data,u=d;return sC("Not Found",t,d,n,wg.fromJS(u))}var m=e.data,v=m;return sC("Error",t,m,n,wg.fromJS(v))}}]),e}(),U=function(){function e(t,n){Object(l.a)(this,e),this.instance=void 0,this.baseUrl=void 0,this.jsonParseReviver=void 0,this.instance=n||u.a.create(),this.baseUrl=void 0!==t&&null!==t?t:""}return Object(c.a)(e,[{key:"getAll",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/DeclineCode/GetAll";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetAll(e)}))}},{key:"processGetAll",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=$r.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"exportCsv",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/DeclineCode/ExportCsv";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),responseType:"blob",method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/octet-stream"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processExportCsv(e)}))}},{key:"processExportCsv",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t||206===t){var a=e.headers?e.headers["content-disposition"]:void 0,r=a?/filename\*=(?:(\\?['"])(.*?)\1|(?:[^\s]+'.*?')?([^;\n]*))/g.exec(a):void 0,o=r&&r.length>1?r[3]||r[2]:void 0;return o=o?decodeURIComponent(o):(r=a?/filename="?([^"]*?)"?(;|$)/g.exec(a):void 0)&&r.length>1?r[1]:void 0,Promise.resolve({fileName:o,status:t,data:new Blob([e.data],{type:e.headers["content-type"]}),headers:n})}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"exportExcel",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/DeclineCode/ExportExcel";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),responseType:"blob",method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/octet-stream"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processExportExcel(e)}))}},{key:"processExportExcel",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t||206===t){var a=e.headers?e.headers["content-disposition"]:void 0,r=a?/filename\*=(?:(\\?['"])(.*?)\1|(?:[^\s]+'.*?')?([^;\n]*))/g.exec(a):void 0,o=r&&r.length>1?r[3]||r[2]:void 0;return o=o?decodeURIComponent(o):(r=a?/filename="?([^"]*?)"?(;|$)/g.exec(a):void 0)&&r.length>1?r[1]:void 0,Promise.resolve({fileName:o,status:t,data:new Blob([e.data],{type:e.headers["content-type"]}),headers:n})}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"getDeclineListById",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/DeclineCode/GetDeclineListById";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetDeclineListById(e)}))}},{key:"processGetDeclineListById",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a=null,r=e.data;if(Array.isArray(r)){a=[];var o,l=Object(s.a)(r);try{for(l.s();!(o=l.n()).done;){var c=o.value;a.push(Hr.fromJS(c))}}catch(f){l.e(f)}finally{l.f()}}else a=null;return Promise.resolve(a)}if(404===t){var d=e.data,u=d;return sC("Not Found",t,d,n,wg.fromJS(u))}var m=e.data,v=m;return sC("Error",t,m,n,wg.fromJS(v))}},{key:"get",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/DeclineCode/Get/{declineCodeId}";if(void 0===e||null===e)throw new Error("The parameter 'declineCodeId' must be defined.");var r={method:"GET",url:a=(a=a.replace("{declineCodeId}",encodeURIComponent(""+e))).replace(/[?&]$/,""),headers:{"x-api-version":void 0!==t&&null!==t?""+t:"",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGet(e)}))}},{key:"processGet",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Hr.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"create",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/DeclineCode/Create";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processCreate(e)}))}},{key:"processCreate",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Hr.fromJS(r),Promise.resolve(a)}if(201===t){var o,s=e.data;return o=Hr.fromJS(s),Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"update",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/DeclineCode/Update";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"PUT",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processUpdate(e)}))}},{key:"processUpdate",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Hr.fromJS(r),Promise.resolve(a)}if(201===t){var o,s=e.data;return o=Hr.fromJS(s),Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"delete",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/DeclineCode/Delete";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"DELETE",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processDelete(e)}))}},{key:"processDelete",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a=null,r=e.data;if(Array.isArray(r)){a=[];var o,l=Object(s.a)(r);try{for(l.s();!(o=l.n()).done;){var c=o.value;a.push(Hr.fromJS(c))}}catch(h){l.e(h)}finally{l.f()}}else a=null;return Promise.resolve(a)}if(204===t)return sC("Success",t,e.data,n);if(400===t){var d=e.data,u=d;return sC("Bad Request",t,d,n,aC.fromJS(u))}if(404===t){var m=e.data,v=m;return sC("Not Found",t,m,n,wg.fromJS(v))}var f=e.data,p=f;return sC("Error",t,f,n,wg.fromJS(p))}},{key:"archive",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/DeclineCode/Archive";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"PUT",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processArchive(e)}))}},{key:"processArchive",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){e.data;return Promise.resolve(null)}if(204===t){e.data;return Promise.resolve(null)}if(400===t){var a=e.data,r=a;return sC("Bad Request",t,a,n,aC.fromJS(r))}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"merge",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/DeclineCode/Merge";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processMerge(e)}))}},{key:"processMerge",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){e.data;return Promise.resolve(null)}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"validateDeclineCodeName",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/DeclineCode/ValidateDeclineCodeName";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processValidateDeclineCodeName(e)}))}},{key:"processValidateDeclineCodeName",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=void 0!==r?r:null,Promise.resolve(a)}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"validateDeclineCodeCode",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/DeclineCode/ValidateDeclineCodeCode";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processValidateDeclineCodeCode(e)}))}},{key:"processValidateDeclineCodeCode",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=void 0!==r?r:null,Promise.resolve(a)}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}}]),e}(),z=function(){function e(t,n){Object(l.a)(this,e),this.instance=void 0,this.baseUrl=void 0,this.jsonParseReviver=void 0,this.instance=n||u.a.create(),this.baseUrl=void 0!==t&&null!==t?t:""}return Object(c.a)(e,[{key:"getAll",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Department/GetAll";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetAll(e)}))}},{key:"processGetAll",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=ns.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"exportCsv",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Department/ExportCsv";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),responseType:"blob",method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/octet-stream"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processExportCsv(e)}))}},{key:"processExportCsv",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t||206===t){var a=e.headers?e.headers["content-disposition"]:void 0,r=a?/filename\*=(?:(\\?['"])(.*?)\1|(?:[^\s]+'.*?')?([^;\n]*))/g.exec(a):void 0,o=r&&r.length>1?r[3]||r[2]:void 0;return o=o?decodeURIComponent(o):(r=a?/filename="?([^"]*?)"?(;|$)/g.exec(a):void 0)&&r.length>1?r[1]:void 0,Promise.resolve({fileName:o,status:t,data:new Blob([e.data],{type:e.headers["content-type"]}),headers:n})}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"exportExcel",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Department/ExportExcel";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),responseType:"blob",method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/octet-stream"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processExportExcel(e)}))}},{key:"processExportExcel",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t||206===t){var a=e.headers?e.headers["content-disposition"]:void 0,r=a?/filename\*=(?:(\\?['"])(.*?)\1|(?:[^\s]+'.*?')?([^;\n]*))/g.exec(a):void 0,o=r&&r.length>1?r[3]||r[2]:void 0;return o=o?decodeURIComponent(o):(r=a?/filename="?([^"]*?)"?(;|$)/g.exec(a):void 0)&&r.length>1?r[1]:void 0,Promise.resolve({fileName:o,status:t,data:new Blob([e.data],{type:e.headers["content-type"]}),headers:n})}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"getDepartmentListById",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Department/GetDepartmentListById";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetDepartmentListById(e)}))}},{key:"processGetDepartmentListById",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a=null,r=e.data;if(Array.isArray(r)){a=[];var o,l=Object(s.a)(r);try{for(l.s();!(o=l.n()).done;){var c=o.value;a.push(ts.fromJS(c))}}catch(f){l.e(f)}finally{l.f()}}else a=null;return Promise.resolve(a)}if(404===t){var d=e.data,u=d;return sC("Not Found",t,d,n,wg.fromJS(u))}var m=e.data,v=m;return sC("Error",t,m,n,wg.fromJS(v))}},{key:"get",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Department/Get/{departmentId}";if(void 0===e||null===e)throw new Error("The parameter 'departmentId' must be defined.");var r={method:"GET",url:a=(a=a.replace("{departmentId}",encodeURIComponent(""+e))).replace(/[?&]$/,""),headers:{"x-api-version":void 0!==t&&null!==t?""+t:"",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGet(e)}))}},{key:"processGet",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=ts.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"create",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Department/Create";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processCreate(e)}))}},{key:"processCreate",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=ts.fromJS(r),Promise.resolve(a)}if(201===t){var o,s=e.data;return o=ts.fromJS(s),Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"update",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Department/Update";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"PUT",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processUpdate(e)}))}},{key:"processUpdate",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=ts.fromJS(r),Promise.resolve(a)}if(201===t){var o,s=e.data;return o=ts.fromJS(s),Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"delete",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Department/Delete";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"DELETE",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processDelete(e)}))}},{key:"processDelete",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a=null,r=e.data;if(Array.isArray(r)){a=[];var o,l=Object(s.a)(r);try{for(l.s();!(o=l.n()).done;){var c=o.value;a.push(ts.fromJS(c))}}catch(h){l.e(h)}finally{l.f()}}else a=null;return Promise.resolve(a)}if(204===t)return sC("Success",t,e.data,n);if(400===t){var d=e.data,u=d;return sC("Bad Request",t,d,n,aC.fromJS(u))}if(404===t){var m=e.data,v=m;return sC("Not Found",t,m,n,wg.fromJS(v))}var f=e.data,p=f;return sC("Error",t,f,n,wg.fromJS(p))}},{key:"archive",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Department/Archive";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"PUT",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processArchive(e)}))}},{key:"processArchive",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){e.data;return Promise.resolve(null)}if(204===t){e.data;return Promise.resolve(null)}if(400===t){var a=e.data,r=a;return sC("Bad Request",t,a,n,aC.fromJS(r))}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"merge",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Department/Merge";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processMerge(e)}))}},{key:"processMerge",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){e.data;return Promise.resolve(null)}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"validateDepartmentName",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Department/ValidateDepartmentName";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processValidateDepartmentName(e)}))}},{key:"processValidateDepartmentName",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=void 0!==r?r:null,Promise.resolve(a)}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"validateDepartmentCode",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Department/ValidateDepartmentCode";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processValidateDepartmentCode(e)}))}},{key:"processValidateDepartmentCode",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=void 0!==r?r:null,Promise.resolve(a)}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}}]),e}(),q=function(){function e(t,n){Object(l.a)(this,e),this.instance=void 0,this.baseUrl=void 0,this.jsonParseReviver=void 0,this.instance=n||u.a.create(),this.baseUrl=void 0!==t&&null!==t?t:""}return Object(c.a)(e,[{key:"createCourseDevelopmentRecord",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/DevelopmentRecord/CreateCourseDevelopmentRecord";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processCreateCourseDevelopmentRecord(e)}))}},{key:"processCreateCourseDevelopmentRecord",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=void 0!==r?r:null,Promise.resolve(a)}if(201===t){var o,s=e.data;return o=void 0!==s?s:null,Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"deleteCourseDevelopmentRecord",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/DevelopmentRecord/DeleteCourseDevelopmentRecord";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"DELETE",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processDeleteCourseDevelopmentRecord(e)}))}},{key:"processDeleteCourseDevelopmentRecord",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){e.data;return Promise.resolve(null)}if(204===t){e.data;return Promise.resolve(null)}if(400===t){var a=e.data,r=a;return sC("Bad Request",t,a,n,aC.fromJS(r))}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"getAllUserUkLicenses",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/DevelopmentRecord/GetAllUserUkLicenses";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetAllUserUkLicenses(e)}))}},{key:"processGetAllUserUkLicenses",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a=null,r=e.data;if(Array.isArray(r)){a=[];var o,l=Object(s.a)(r);try{for(l.s();!(o=l.n()).done;){var c=o.value;a.push(aO.fromJS(c))}}catch(f){l.e(f)}finally{l.f()}}else a=null;return Promise.resolve(a)}if(404===t){var d=e.data,u=d;return sC("Not Found",t,d,n,wg.fromJS(u))}var m=e.data,v=m;return sC("Error",t,m,n,wg.fromJS(v))}},{key:"createActivityDevelopmentRecord",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/DevelopmentRecord/CreateActivityDevelopmentRecord";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processCreateActivityDevelopmentRecord(e)}))}},{key:"processCreateActivityDevelopmentRecord",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=void 0!==r?r:null,Promise.resolve(a)}if(201===t){var o,s=e.data;return o=void 0!==s?s:null,Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"getAllDevelopmentRecords",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/DevelopmentRecord/GetAllDevelopmentRecords";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetAllDevelopmentRecords(e)}))}},{key:"processGetAllDevelopmentRecords",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=ss.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"createDevelopmentRecordReflection",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/DevelopmentRecord/CreateDevelopmentRecordReflection";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processCreateDevelopmentRecordReflection(e)}))}},{key:"processCreateDevelopmentRecordReflection",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){e.data;return Promise.resolve(null)}if(201===t){e.data;return Promise.resolve(null)}if(400===t){var a=e.data,r=a;return sC("Bad Request",t,a,n,aC.fromJS(r))}var o=e.data,s=o;return sC("Error",t,o,n,wg.fromJS(s))}},{key:"deleteActivityDevelopmentRecord",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/DevelopmentRecord/DeleteActivityDevelopmentRecord";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"DELETE",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processDeleteActivityDevelopmentRecord(e)}))}},{key:"processDeleteActivityDevelopmentRecord",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){e.data;return Promise.resolve(null)}if(204===t){e.data;return Promise.resolve(null)}if(400===t){var a=e.data,r=a;return sC("Bad Request",t,a,n,aC.fromJS(r))}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"deleteLearningNeedDevelopmentRecord",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/DevelopmentRecord/DeleteLearningNeedDevelopmentRecord";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"DELETE",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processDeleteLearningNeedDevelopmentRecord(e)}))}},{key:"processDeleteLearningNeedDevelopmentRecord",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){e.data;return Promise.resolve(null)}if(204===t){e.data;return Promise.resolve(null)}if(400===t){var a=e.data,r=a;return sC("Bad Request",t,a,n,aC.fromJS(r))}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"getAllDevelopmentRecordLearningNeeds",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/DevelopmentRecord/GetAllDevelopmentRecordLearningNeeds";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetAllDevelopmentRecordLearningNeeds(e)}))}},{key:"processGetAllDevelopmentRecordLearningNeeds",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=os.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"createLearningNeedDevelopmentRecord",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/DevelopmentRecord/CreateLearningNeedDevelopmentRecord";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processCreateLearningNeedDevelopmentRecord(e)}))}},{key:"processCreateLearningNeedDevelopmentRecord",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){e.data;return Promise.resolve(null)}if(201===t){e.data;return Promise.resolve(null)}if(400===t){var a=e.data,r=a;return sC("Bad Request",t,a,n,aC.fromJS(r))}var o=e.data,s=o;return sC("Error",t,o,n,wg.fromJS(s))}},{key:"updateDevelopmentRecordCredits",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/DevelopmentRecord/UpdateDevelopmentRecordCredits";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"PUT",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processUpdateDevelopmentRecordCredits(e)}))}},{key:"processUpdateDevelopmentRecordCredits",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){e.data;return Promise.resolve(null)}if(201===t){e.data;return Promise.resolve(null)}if(400===t){var a=e.data,r=a;return sC("Bad Request",t,a,n,aC.fromJS(r))}var o=e.data,s=o;return sC("Error",t,o,n,wg.fromJS(s))}},{key:"getAllDevelopmentRecordByLicenseIdList",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/DevelopmentRecord/GetAllDevelopmentRecordByLicenseIdList";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetAllDevelopmentRecordByLicenseIdList(e)}))}},{key:"processGetAllDevelopmentRecordByLicenseIdList",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=ss.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"validateCourseDevelopmentRecord",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/DevelopmentRecord/ValidateCourseDevelopmentRecord";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processValidateCourseDevelopmentRecord(e)}))}},{key:"processValidateCourseDevelopmentRecord",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=CO.fromJS(r),Promise.resolve(a)}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}}]),e}(),M=function(){function e(t,n){Object(l.a)(this,e),this.instance=void 0,this.baseUrl=void 0,this.jsonParseReviver=void 0,this.instance=n||u.a.create(),this.baseUrl=void 0!==t&&null!==t?t:""}return Object(c.a)(e,[{key:"excludeUsers",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/DueToReportSchedule/ExcludeUsers";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processExcludeUsers(e)}))}},{key:"processExcludeUsers",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){e.data;return Promise.resolve(null)}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"getAvailableDueToReportScheduleUsersToExclude",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/DueToReportSchedule/GetAvailableDueToReportScheduleUsersToExclude";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetAvailableDueToReportScheduleUsersToExclude(e)}))}},{key:"processGetAvailableDueToReportScheduleUsersToExclude",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=FS.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"getDueToReportScheduleExcludedUsers",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/DueToReportSchedule/GetDueToReportScheduleExcludedUsers";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetDueToReportScheduleExcludedUsers(e)}))}},{key:"processGetDueToReportScheduleExcludedUsers",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=yl.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"removeDueToReportScheduleExcludedUser",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/DueToReportSchedule/RemoveDueToReportScheduleExcludedUser";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processRemoveDueToReportScheduleExcludedUser(e)}))}},{key:"processRemoveDueToReportScheduleExcludedUser",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){e.data;return Promise.resolve(null)}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}}]),e}(),W=function(){function e(t,n){Object(l.a)(this,e),this.instance=void 0,this.baseUrl=void 0,this.jsonParseReviver=void 0,this.instance=n||u.a.create(),this.baseUrl=void 0!==t&&null!==t?t:""}return Object(c.a)(e,[{key:"getAllEmail",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Email/GetAllEmail";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetAllEmail(e)}))}},{key:"processGetAllEmail",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=gs.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"getEmailById",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Email/GetEmailById?";if(null===e)throw new Error("The parameter 'emailId' cannot be null.");void 0!==e&&(a+="emailId="+encodeURIComponent(""+e)+"&");var r={method:"GET",url:a=a.replace(/[?&]$/,""),headers:{"x-api-version":void 0!==t&&null!==t?""+t:"",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetEmailById(e)}))}},{key:"processGetEmailById",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=hs.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"getAllEmailTransactionById",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Email/GetAllEmailTransactionById";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetAllEmailTransactionById(e)}))}},{key:"processGetAllEmailTransactionById",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Fs.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"getEmailTokenById",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Email/GetEmailTokenById?";if(null===e)throw new Error("The parameter 'emailTypeId' cannot be null.");void 0!==e&&(a+="emailTypeId="+encodeURIComponent(""+e)+"&");var r={method:"GET",url:a=a.replace(/[?&]$/,""),headers:{"x-api-version":void 0!==t&&null!==t?""+t:"",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetEmailTokenById(e)}))}},{key:"processGetEmailTokenById",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Ds.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"getAllEmailType",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Email/GetAllEmailType";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetAllEmailType(e)}))}},{key:"processGetAllEmailType",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Gs.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"getEmailTypeById",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Email/GetEmailTypeById/{EmailTypeId}";if(void 0===e||null===e)throw new Error("The parameter 'emailTypeId' must be defined.");var r={method:"GET",url:a=(a=a.replace("{EmailTypeId}",encodeURIComponent(""+e))).replace(/[?&]$/,""),headers:{"x-api-version":void 0!==t&&null!==t?""+t:"",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetEmailTypeById(e)}))}},{key:"processGetEmailTypeById",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Rs.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"getAllEmailTemplate",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Email/GetAllEmailTemplate";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetAllEmailTemplate(e)}))}},{key:"processGetAllEmailTemplate",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=ks.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"getEmailTemplate",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Email/GetEmailTemplate/{EmailTemplateId}";if(void 0===e||null===e)throw new Error("The parameter 'emailTemplateId' must be defined.");var r={method:"GET",url:a=(a=a.replace("{EmailTemplateId}",encodeURIComponent(""+e))).replace(/[?&]$/,""),headers:{"x-api-version":void 0!==t&&null!==t?""+t:"",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetEmailTemplate(e)}))}},{key:"processGetEmailTemplate",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=ws.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"getEmailRecipientsBySessionIds",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Email/GetEmailRecipientsBySessionIds";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetEmailRecipientsBySessionIds(e)}))}},{key:"processGetEmailRecipientsBySessionIds",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a=null,r=e.data;if(Array.isArray(r)){a=[];var o,l=Object(s.a)(r);try{for(l.s();!(o=l.n()).done;){var c=o.value;a.push(As.fromJS(c))}}catch(f){l.e(f)}finally{l.f()}}else a=null;return Promise.resolve(a)}if(404===t){var d=e.data,u=d;return sC("Not Found",t,d,n,wg.fromJS(u))}var m=e.data,v=m;return sC("Error",t,m,n,wg.fromJS(v))}},{key:"archiveEmail",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Email/ArchiveEmail";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"PUT",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processArchiveEmail(e)}))}},{key:"processArchiveEmail",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){e.data;return Promise.resolve(null)}if(204===t){e.data;return Promise.resolve(null)}if(400===t){var a=e.data,r=a;return sC("Bad Request",t,a,n,aC.fromJS(r))}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"createEmailCommand",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Email/CreateEmailCommand";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processCreateEmailCommand(e)}))}},{key:"processCreateEmailCommand",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=hs.fromJS(r),Promise.resolve(a)}if(201===t){var o,s=e.data;return o=hs.fromJS(s),Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"createEmailByRecipient",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Email/CreateEmailByRecipient";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processCreateEmailByRecipient(e)}))}},{key:"processCreateEmailByRecipient",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){e.data;return Promise.resolve(null)}if(201===t){e.data;return Promise.resolve(null)}if(400===t){var a=e.data,r=a;return sC("Bad Request",t,a,n,aC.fromJS(r))}var o=e.data,s=o;return sC("Error",t,o,n,wg.fromJS(s))}},{key:"previewEmailCommand",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Email/PreviewEmailCommand";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processPreviewEmailCommand(e)}))}},{key:"processPreviewEmailCommand",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=void 0!==r?r:null,Promise.resolve(a)}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"reprocessEmailCommand",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Email/ReprocessEmailCommand";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processReprocessEmailCommand(e)}))}},{key:"processReprocessEmailCommand",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=hs.fromJS(r),Promise.resolve(a)}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"createEmailTemplate",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Email/CreateEmailTemplate";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processCreateEmailTemplate(e)}))}},{key:"processCreateEmailTemplate",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=ws.fromJS(r),Promise.resolve(a)}if(201===t){var o,s=e.data;return o=ws.fromJS(s),Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"updateEmailTemplate",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Email/UpdateEmailTemplate";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"PUT",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processUpdateEmailTemplate(e)}))}},{key:"processUpdateEmailTemplate",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=ws.fromJS(r),Promise.resolve(a)}if(201===t){var o,s=e.data;return o=ws.fromJS(s),Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"assignTemplate",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Email/AssignTemplate";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"PUT",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processAssignTemplate(e)}))}},{key:"processAssignTemplate",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Rs.fromJS(r),Promise.resolve(a)}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"updateEmailStatus",value:function(e,t){var n=this,i=this.baseUrl+"/api/Email/UpdateEmailStatus",a={method:"POST",url:i=i.replace(/[?&]$/,""),headers:{"x-api-version":void 0!==e&&null!==e?""+e:"",Accept:"application/json"},cancelToken:t};return this.instance.request(a).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return n.processUpdateEmailStatus(e)}))}},{key:"processUpdateEmailStatus",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=void 0!==r?r:null,Promise.resolve(a)}if(201===t){var o,s=e.data;return o=void 0!==s?s:null,Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"deleteEmailTemplate",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Email/DeleteEmailTemplate";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"DELETE",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processDeleteEmailTemplate(e)}))}},{key:"processDeleteEmailTemplate",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){e.data;return Promise.resolve(null)}if(204===t){e.data;return Promise.resolve(null)}if(400===t){var a=e.data,r=a;return sC("Bad Request",t,a,n,aC.fromJS(r))}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"getSavedEmailTemplateById",value:function(e,t,n,i){var a=this,r=this.baseUrl+"/api/Email/GetSavedEmailTemplateById?";if(null===e)throw new Error("The parameter 'key' cannot be null.");if(void 0!==e&&(r+="key="+encodeURIComponent(""+e)+"&"),null===t)throw new Error("The parameter 'emailTypeId' cannot be null.");void 0!==t&&(r+="emailTypeId="+encodeURIComponent(""+t)+"&");var o={method:"GET",url:r=r.replace(/[?&]$/,""),headers:{"x-api-version":void 0!==n&&null!==n?""+n:"",Accept:"application/json"},cancelToken:i};return this.instance.request(o).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return a.processGetSavedEmailTemplateById(e)}))}},{key:"processGetSavedEmailTemplateById",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=cy.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"saveSessionEmail",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Email/SaveSessionEmail";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processSaveSessionEmail(e)}))}},{key:"processSaveSessionEmail",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=my.fromJS(r),Promise.resolve(a)}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"getSessionSavedEmail",value:function(e,t,n,i){var a=this,r=this.baseUrl+"/api/Email/GetSessionSavedEmail?";if(null===e)throw new Error("The parameter 'sessionId' cannot be null.");if(void 0!==e&&(r+="sessionId="+encodeURIComponent(""+e)+"&"),null===t)throw new Error("The parameter 'emailTypeId' cannot be null.");void 0!==t&&(r+="emailTypeId="+encodeURIComponent(""+t)+"&");var o={method:"GET",url:r=r.replace(/[?&]$/,""),headers:{"x-api-version":void 0!==n&&null!==n?""+n:"",Accept:"application/json"},cancelToken:i};return this.instance.request(o).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return a.processGetSessionSavedEmail(e)}))}},{key:"processGetSessionSavedEmail",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=my.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"updateSavedSessionEmail",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Email/UpdateSavedSessionEmail";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"PUT",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processUpdateSavedSessionEmail(e)}))}},{key:"processUpdateSavedSessionEmail",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=my.fromJS(r),Promise.resolve(a)}if(201===t){var o,s=e.data;return o=my.fromJS(s),Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"deleteSavedSessionEmail",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Email/DeleteSavedSessionEmail";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"DELETE",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processDeleteSavedSessionEmail(e)}))}},{key:"processDeleteSavedSessionEmail",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){e.data;return Promise.resolve(null)}if(204===t){e.data;return Promise.resolve(null)}if(400===t){var a=e.data,r=a;return sC("Bad Request",t,a,n,aC.fromJS(r))}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"saveScheduleEmail",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Email/SaveScheduleEmail";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processSaveScheduleEmail(e)}))}},{key:"processSaveScheduleEmail",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=uy.fromJS(r),Promise.resolve(a)}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"getScheduleSavedEmail",value:function(e,t,n,i){var a=this,r=this.baseUrl+"/api/Email/GetScheduleSavedEmail?";if(null===e)throw new Error("The parameter 'scheduleId' cannot be null.");if(void 0!==e&&(r+="scheduleId="+encodeURIComponent(""+e)+"&"),null===t)throw new Error("The parameter 'emailTypeId' cannot be null.");void 0!==t&&(r+="emailTypeId="+encodeURIComponent(""+t)+"&");var o={method:"GET",url:r=r.replace(/[?&]$/,""),headers:{"x-api-version":void 0!==n&&null!==n?""+n:"",Accept:"application/json"},cancelToken:i};return this.instance.request(o).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return a.processGetScheduleSavedEmail(e)}))}},{key:"processGetScheduleSavedEmail",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=uy.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"updateSavedScheduleEmail",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Email/UpdateSavedScheduleEmail";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"PUT",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processUpdateSavedScheduleEmail(e)}))}},{key:"processUpdateSavedScheduleEmail",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=uy.fromJS(r),Promise.resolve(a)}if(201===t){var o,s=e.data;return o=uy.fromJS(s),Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"deleteSavedScheduleEmail",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Email/DeleteSavedScheduleEmail";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"DELETE",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processDeleteSavedScheduleEmail(e)}))}},{key:"processDeleteSavedScheduleEmail",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){e.data;return Promise.resolve(null)}if(204===t){e.data;return Promise.resolve(null)}if(400===t){var a=e.data,r=a;return sC("Bad Request",t,a,n,aC.fromJS(r))}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"saveCourseEmail",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Email/SaveCourseEmail";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processSaveCourseEmail(e)}))}},{key:"processSaveCourseEmail",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=ly.fromJS(r),Promise.resolve(a)}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"getCourseSavedEmail",value:function(e,t,n,i){var a=this,r=this.baseUrl+"/api/Email/GetCourseSavedEmail?";if(null===e)throw new Error("The parameter 'courseId' cannot be null.");if(void 0!==e&&(r+="courseId="+encodeURIComponent(""+e)+"&"),null===t)throw new Error("The parameter 'emailTypeId' cannot be null.");void 0!==t&&(r+="emailTypeId="+encodeURIComponent(""+t)+"&");var o={method:"GET",url:r=r.replace(/[?&]$/,""),headers:{"x-api-version":void 0!==n&&null!==n?""+n:"",Accept:"application/json"},cancelToken:i};return this.instance.request(o).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return a.processGetCourseSavedEmail(e)}))}},{key:"processGetCourseSavedEmail",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=ly.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"updateSavedCourseEmail",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Email/UpdateSavedCourseEmail";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"PUT",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processUpdateSavedCourseEmail(e)}))}},{key:"processUpdateSavedCourseEmail",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=ly.fromJS(r),Promise.resolve(a)}if(201===t){var o,s=e.data;return o=ly.fromJS(s),Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"deleteSavedCourseEmail",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Email/DeleteSavedCourseEmail";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"DELETE",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processDeleteSavedCourseEmail(e)}))}},{key:"processDeleteSavedCourseEmail",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){e.data;return Promise.resolve(null)}if(204===t){e.data;return Promise.resolve(null)}if(400===t){var a=e.data,r=a;return sC("Bad Request",t,a,n,aC.fromJS(r))}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"sendSessionParticipantRegistrationEmail",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Email/SendSessionParticipantRegistrationEmail";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processSendSessionParticipantRegistrationEmail(e)}))}},{key:"processSendSessionParticipantRegistrationEmail",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){e.data;return Promise.resolve(null)}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"sendSessionParticipantRegistrationUpdateEmail",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Email/SendSessionParticipantRegistrationUpdateEmail";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processSendSessionParticipantRegistrationUpdateEmail(e)}))}},{key:"processSendSessionParticipantRegistrationUpdateEmail",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){e.data;return Promise.resolve(null)}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"sendSessionParticipantRegistrationCancellationEmail",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Email/SendSessionParticipantRegistrationCancellationEmail";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processSendSessionParticipantRegistrationCancellationEmail(e)}))}},{key:"processSendSessionParticipantRegistrationCancellationEmail",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){e.data;return Promise.resolve(null)}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"sendScheduleParticipantRegistrationEmail",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Email/SendScheduleParticipantRegistrationEmail";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processSendScheduleParticipantRegistrationEmail(e)}))}},{key:"processSendScheduleParticipantRegistrationEmail",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){e.data;return Promise.resolve(null)}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"sendScheduleParticipantRegistrationUpdateEmail",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Email/SendScheduleParticipantRegistrationUpdateEmail";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processSendScheduleParticipantRegistrationUpdateEmail(e)}))}},{key:"processSendScheduleParticipantRegistrationUpdateEmail",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){e.data;return Promise.resolve(null)}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"sendScheduleParticipantRegistrationCancellationEmail",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Email/SendScheduleParticipantRegistrationCancellationEmail";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processSendScheduleParticipantRegistrationCancellationEmail(e)}))}},{key:"processSendScheduleParticipantRegistrationCancellationEmail",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){e.data;return Promise.resolve(null)}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"sendSessionParticipantWaitlistConfirmationEmail",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Email/SendSessionParticipantWaitlistConfirmationEmail";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processSendSessionParticipantWaitlistConfirmationEmail(e)}))}},{key:"processSendSessionParticipantWaitlistConfirmationEmail",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){e.data;return Promise.resolve(null)}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"sendSessionParticipantWaitlistCancellationEmail",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Email/SendSessionParticipantWaitlistCancellationEmail";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processSendSessionParticipantWaitlistCancellationEmail(e)}))}},{key:"processSendSessionParticipantWaitlistCancellationEmail",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){e.data;return Promise.resolve(null)}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"sendSessionCancellationEmail",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Email/SendSessionCancellationEmail";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processSendSessionCancellationEmail(e)}))}},{key:"processSendSessionCancellationEmail",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){e.data;return Promise.resolve(null)}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"getDuplicateEmailRecipient",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Email/GetDuplicateEmailRecipient";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetDuplicateEmailRecipient(e)}))}},{key:"processGetDuplicateEmailRecipient",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a=null,r=e.data;if(Array.isArray(r)){a=[];var o,l=Object(s.a)(r);try{for(l.s();!(o=l.n()).done;){var c=o.value;a.push(lS.fromJS(c))}}catch(f){l.e(f)}finally{l.f()}}else a=null;return Promise.resolve(a)}if(404===t){var d=e.data,u=d;return sC("Not Found",t,d,n,wg.fromJS(u))}var m=e.data,v=m;return sC("Error",t,m,n,wg.fromJS(v))}}]),e}(),V=function(){function e(t,n){Object(l.a)(this,e),this.instance=void 0,this.baseUrl=void 0,this.jsonParseReviver=void 0,this.instance=n||u.a.create(),this.baseUrl=void 0!==t&&null!==t?t:""}return Object(c.a)(e,[{key:"getAll",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Ethnicity/GetAll";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetAll(e)}))}},{key:"processGetAll",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=zs.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"exportCsv",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Ethnicity/ExportCsv";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),responseType:"blob",method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/octet-stream"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processExportCsv(e)}))}},{key:"processExportCsv",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t||206===t){var a=e.headers?e.headers["content-disposition"]:void 0,r=a?/filename\*=(?:(\\?['"])(.*?)\1|(?:[^\s]+'.*?')?([^;\n]*))/g.exec(a):void 0,o=r&&r.length>1?r[3]||r[2]:void 0;return o=o?decodeURIComponent(o):(r=a?/filename="?([^"]*?)"?(;|$)/g.exec(a):void 0)&&r.length>1?r[1]:void 0,Promise.resolve({fileName:o,status:t,data:new Blob([e.data],{type:e.headers["content-type"]}),headers:n})}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"exportExcel",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Ethnicity/ExportExcel";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),responseType:"blob",method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/octet-stream"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processExportExcel(e)}))}},{key:"processExportExcel",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t||206===t){var a=e.headers?e.headers["content-disposition"]:void 0,r=a?/filename\*=(?:(\\?['"])(.*?)\1|(?:[^\s]+'.*?')?([^;\n]*))/g.exec(a):void 0,o=r&&r.length>1?r[3]||r[2]:void 0;return o=o?decodeURIComponent(o):(r=a?/filename="?([^"]*?)"?(;|$)/g.exec(a):void 0)&&r.length>1?r[1]:void 0,Promise.resolve({fileName:o,status:t,data:new Blob([e.data],{type:e.headers["content-type"]}),headers:n})}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"getEthnicityListById",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Ethnicity/GetEthnicityListById";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetEthnicityListById(e)}))}},{key:"processGetEthnicityListById",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a=null,r=e.data;if(Array.isArray(r)){a=[];var o,l=Object(s.a)(r);try{for(l.s();!(o=l.n()).done;){var c=o.value;a.push(Us.fromJS(c))}}catch(f){l.e(f)}finally{l.f()}}else a=null;return Promise.resolve(a)}if(404===t){var d=e.data,u=d;return sC("Not Found",t,d,n,wg.fromJS(u))}var m=e.data,v=m;return sC("Error",t,m,n,wg.fromJS(v))}},{key:"get",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Ethnicity/Get/{ethnicityId}";if(void 0===e||null===e)throw new Error("The parameter 'ethnicityId' must be defined.");var r={method:"GET",url:a=(a=a.replace("{ethnicityId}",encodeURIComponent(""+e))).replace(/[?&]$/,""),headers:{"x-api-version":void 0!==t&&null!==t?""+t:"",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGet(e)}))}},{key:"processGet",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Us.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"create",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Ethnicity/Create";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processCreate(e)}))}},{key:"processCreate",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Us.fromJS(r),Promise.resolve(a)}if(201===t){var o,s=e.data;return o=Us.fromJS(s),Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"update",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Ethnicity/Update";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"PUT",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processUpdate(e)}))}},{key:"processUpdate",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Us.fromJS(r),Promise.resolve(a)}if(201===t){var o,s=e.data;return o=Us.fromJS(s),Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"delete",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Ethnicity/Delete";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"DELETE",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processDelete(e)}))}},{key:"processDelete",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a=null,r=e.data;if(Array.isArray(r)){a=[];var o,l=Object(s.a)(r);try{for(l.s();!(o=l.n()).done;){var c=o.value;a.push(Us.fromJS(c))}}catch(h){l.e(h)}finally{l.f()}}else a=null;return Promise.resolve(a)}if(204===t)return sC("Success",t,e.data,n);if(400===t){var d=e.data,u=d;return sC("Bad Request",t,d,n,aC.fromJS(u))}if(404===t){var m=e.data,v=m;return sC("Not Found",t,m,n,wg.fromJS(v))}var f=e.data,p=f;return sC("Error",t,f,n,wg.fromJS(p))}},{key:"archive",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Ethnicity/Archive";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"PUT",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processArchive(e)}))}},{key:"processArchive",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){e.data;return Promise.resolve(null)}if(204===t){e.data;return Promise.resolve(null)}if(400===t){var a=e.data,r=a;return sC("Bad Request",t,a,n,aC.fromJS(r))}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"merge",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Ethnicity/Merge";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processMerge(e)}))}},{key:"processMerge",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){e.data;return Promise.resolve(null)}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"validateEthnicityName",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Ethnicity/ValidateEthnicityName";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processValidateEthnicityName(e)}))}},{key:"processValidateEthnicityName",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=void 0!==r?r:null,Promise.resolve(a)}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"validateEthnicityCode",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Ethnicity/ValidateEthnicityCode";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processValidateEthnicityCode(e)}))}},{key:"processValidateEthnicityCode",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=void 0!==r?r:null,Promise.resolve(a)}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}}]),e}(),_=function(){function e(t,n){Object(l.a)(this,e),this.instance=void 0,this.baseUrl=void 0,this.jsonParseReviver=void 0,this.instance=n||u.a.create(),this.baseUrl=void 0!==t&&null!==t?t:""}return Object(c.a)(e,[{key:"getAll",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Evaluation/GetAll";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetAll(e)}))}},{key:"processGetAll",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Vs.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"getById",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Evaluation/GetById";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetById(e)}))}},{key:"processGetById",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a=null,r=e.data;if(Array.isArray(r)){a=[];var o,l=Object(s.a)(r);try{for(l.s();!(o=l.n()).done;){var c=o.value;a.push(Ms.fromJS(c))}}catch(f){l.e(f)}finally{l.f()}}else a=null;return Promise.resolve(a)}if(404===t){var d=e.data,u=d;return sC("Not Found",t,d,n,wg.fromJS(u))}var m=e.data,v=m;return sC("Error",t,m,n,wg.fromJS(v))}},{key:"archive",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Evaluation/Archive";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"PUT",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processArchive(e)}))}},{key:"processArchive",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){e.data;return Promise.resolve(null)}if(204===t){e.data;return Promise.resolve(null)}if(400===t){var a=e.data,r=a;return sC("Bad Request",t,a,n,aC.fromJS(r))}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"create",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Evaluation/Create";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processCreate(e)}))}},{key:"processCreate",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Ms.fromJS(r),Promise.resolve(a)}if(201===t){var o,s=e.data;return o=Ms.fromJS(s),Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"update",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Evaluation/Update";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"PUT",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processUpdate(e)}))}},{key:"processUpdate",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Ms.fromJS(r),Promise.resolve(a)}if(201===t){var o,s=e.data;return o=Ms.fromJS(s),Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"delete",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Evaluation/Delete";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"DELETE",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processDelete(e)}))}},{key:"processDelete",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a=null,r=e.data;if(Array.isArray(r)){a=[];var o,l=Object(s.a)(r);try{for(l.s();!(o=l.n()).done;){var c=o.value;a.push(Ms.fromJS(c))}}catch(h){l.e(h)}finally{l.f()}}else a=null;return Promise.resolve(a)}if(204===t)return sC("Success",t,e.data,n);if(400===t){var d=e.data,u=d;return sC("Bad Request",t,d,n,aC.fromJS(u))}if(404===t){var m=e.data,v=m;return sC("Not Found",t,m,n,wg.fromJS(v))}var f=e.data,p=f;return sC("Error",t,f,n,wg.fromJS(p))}}]),e}(),Y=function(){function e(t,n){Object(l.a)(this,e),this.instance=void 0,this.baseUrl=void 0,this.jsonParseReviver=void 0,this.instance=n||u.a.create(),this.baseUrl=void 0!==t&&null!==t?t:""}return Object(c.a)(e,[{key:"create",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/EvaluationQuestion/Create";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processCreate(e)}))}},{key:"processCreate",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){e.data;return Promise.resolve(null)}if(201===t){e.data;return Promise.resolve(null)}if(400===t){var a=e.data,r=a;return sC("Bad Request",t,a,n,aC.fromJS(r))}var o=e.data,s=o;return sC("Error",t,o,n,wg.fromJS(s))}},{key:"update",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/EvaluationQuestion/Update";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"PUT",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processUpdate(e)}))}},{key:"processUpdate",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){e.data;return Promise.resolve(null)}if(201===t){e.data;return Promise.resolve(null)}if(400===t){var a=e.data,r=a;return sC("Bad Request",t,a,n,aC.fromJS(r))}var o=e.data,s=o;return sC("Error",t,o,n,wg.fromJS(s))}},{key:"delete",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/EvaluationQuestion/Delete";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"DELETE",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processDelete(e)}))}},{key:"processDelete",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){e.data;return Promise.resolve(null)}if(204===t){e.data;return Promise.resolve(null)}if(400===t){var a=e.data,r=a;return sC("Bad Request",t,a,n,aC.fromJS(r))}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"copy",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/EvaluationQuestion/Copy";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processCopy(e)}))}},{key:"processCopy",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){e.data;return Promise.resolve(null)}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}}]),e}(),H=function(){function e(t,n){Object(l.a)(this,e),this.instance=void 0,this.baseUrl=void 0,this.jsonParseReviver=void 0,this.instance=n||u.a.create(),this.baseUrl=void 0!==t&&null!==t?t:""}return Object(c.a)(e,[{key:"getAll",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/EvaluationQuestionType/GetAll";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetAll(e)}))}},{key:"processGetAll",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Hs.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}}]),e}(),$=function(){function e(t,n){Object(l.a)(this,e),this.instance=void 0,this.baseUrl=void 0,this.jsonParseReviver=void 0,this.instance=n||u.a.create(),this.baseUrl=void 0!==t&&null!==t?t:""}return Object(c.a)(e,[{key:"create",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/EvaluationSection/Create";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processCreate(e)}))}},{key:"processCreate",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){e.data;return Promise.resolve(null)}if(201===t){e.data;return Promise.resolve(null)}if(400===t){var a=e.data,r=a;return sC("Bad Request",t,a,n,aC.fromJS(r))}var o=e.data,s=o;return sC("Error",t,o,n,wg.fromJS(s))}},{key:"update",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/EvaluationSection/Update";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"PUT",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processUpdate(e)}))}},{key:"processUpdate",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){e.data;return Promise.resolve(null)}if(201===t){e.data;return Promise.resolve(null)}if(400===t){var a=e.data,r=a;return sC("Bad Request",t,a,n,aC.fromJS(r))}var o=e.data,s=o;return sC("Error",t,o,n,wg.fromJS(s))}},{key:"delete",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/EvaluationSection/Delete";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"DELETE",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processDelete(e)}))}},{key:"processDelete",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){e.data;return Promise.resolve(null)}if(204===t){e.data;return Promise.resolve(null)}if(400===t){var a=e.data,r=a;return sC("Bad Request",t,a,n,aC.fromJS(r))}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"copy",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/EvaluationSection/Copy";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processCopy(e)}))}},{key:"processCopy",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){e.data;return Promise.resolve(null)}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}}]),e}(),Q=function(){function e(t,n){Object(l.a)(this,e),this.instance=void 0,this.baseUrl=void 0,this.jsonParseReviver=void 0,this.instance=n||u.a.create(),this.baseUrl=void 0!==t&&null!==t?t:""}return Object(c.a)(e,[{key:"getAll",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Excuse/GetAll";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetAll(e)}))}},{key:"processGetAll",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=il.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"exportCsv",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Excuse/ExportCsv";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),responseType:"blob",method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/octet-stream"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processExportCsv(e)}))}},{key:"processExportCsv",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t||206===t){var a=e.headers?e.headers["content-disposition"]:void 0,r=a?/filename\*=(?:(\\?['"])(.*?)\1|(?:[^\s]+'.*?')?([^;\n]*))/g.exec(a):void 0,o=r&&r.length>1?r[3]||r[2]:void 0;return o=o?decodeURIComponent(o):(r=a?/filename="?([^"]*?)"?(;|$)/g.exec(a):void 0)&&r.length>1?r[1]:void 0,Promise.resolve({fileName:o,status:t,data:new Blob([e.data],{type:e.headers["content-type"]}),headers:n})}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"exportExcel",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Excuse/ExportExcel";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),responseType:"blob",method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/octet-stream"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processExportExcel(e)}))}},{key:"processExportExcel",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t||206===t){var a=e.headers?e.headers["content-disposition"]:void 0,r=a?/filename\*=(?:(\\?['"])(.*?)\1|(?:[^\s]+'.*?')?([^;\n]*))/g.exec(a):void 0,o=r&&r.length>1?r[3]||r[2]:void 0;return o=o?decodeURIComponent(o):(r=a?/filename="?([^"]*?)"?(;|$)/g.exec(a):void 0)&&r.length>1?r[1]:void 0,Promise.resolve({fileName:o,status:t,data:new Blob([e.data],{type:e.headers["content-type"]}),headers:n})}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"getExcuseListById",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Excuse/GetExcuseListById";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetExcuseListById(e)}))}},{key:"processGetExcuseListById",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a=null,r=e.data;if(Array.isArray(r)){a=[];var o,l=Object(s.a)(r);try{for(l.s();!(o=l.n()).done;){var c=o.value;a.push(nl.fromJS(c))}}catch(f){l.e(f)}finally{l.f()}}else a=null;return Promise.resolve(a)}if(404===t){var d=e.data,u=d;return sC("Not Found",t,d,n,wg.fromJS(u))}var m=e.data,v=m;return sC("Error",t,m,n,wg.fromJS(v))}},{key:"get",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Excuse/Get/{excuseId}";if(void 0===e||null===e)throw new Error("The parameter 'excuseId' must be defined.");var r={method:"GET",url:a=(a=a.replace("{excuseId}",encodeURIComponent(""+e))).replace(/[?&]$/,""),headers:{"x-api-version":void 0!==t&&null!==t?""+t:"",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGet(e)}))}},{key:"processGet",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=nl.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"create",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Excuse/Create";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processCreate(e)}))}},{key:"processCreate",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=nl.fromJS(r),Promise.resolve(a)}if(201===t){var o,s=e.data;return o=nl.fromJS(s),Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"update",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Excuse/Update";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"PUT",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processUpdate(e)}))}},{key:"processUpdate",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=nl.fromJS(r),Promise.resolve(a)}if(201===t){var o,s=e.data;return o=nl.fromJS(s),Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"delete",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Excuse/Delete";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"DELETE",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processDelete(e)}))}},{key:"processDelete",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a=null,r=e.data;if(Array.isArray(r)){a=[];var o,l=Object(s.a)(r);try{for(l.s();!(o=l.n()).done;){var c=o.value;a.push(nl.fromJS(c))}}catch(h){l.e(h)}finally{l.f()}}else a=null;return Promise.resolve(a)}if(204===t)return sC("Success",t,e.data,n);if(400===t){var d=e.data,u=d;return sC("Bad Request",t,d,n,aC.fromJS(u))}if(404===t){var m=e.data,v=m;return sC("Not Found",t,m,n,wg.fromJS(v))}var f=e.data,p=f;return sC("Error",t,f,n,wg.fromJS(p))}},{key:"archive",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Excuse/Archive";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"PUT",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processArchive(e)}))}},{key:"processArchive",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){e.data;return Promise.resolve(null)}if(204===t){e.data;return Promise.resolve(null)}if(400===t){var a=e.data,r=a;return sC("Bad Request",t,a,n,aC.fromJS(r))}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"merge",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Excuse/Merge";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processMerge(e)}))}},{key:"processMerge",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){e.data;return Promise.resolve(null)}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"validateExcuseName",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Excuse/ValidateExcuseName";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processValidateExcuseName(e)}))}},{key:"processValidateExcuseName",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=void 0!==r?r:null,Promise.resolve(a)}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"validateExcuseCode",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Excuse/ValidateExcuseCode";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processValidateExcuseCode(e)}))}},{key:"processValidateExcuseCode",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=void 0!==r?r:null,Promise.resolve(a)}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}}]),e}(),Z=function(){function e(t,n){Object(l.a)(this,e),this.instance=void 0,this.baseUrl=void 0,this.jsonParseReviver=void 0,this.instance=n||u.a.create(),this.baseUrl=void 0!==t&&null!==t?t:""}return Object(c.a)(e,[{key:"exportCoursesToCsv",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Export/ExportCoursesToCsv";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processExportCoursesToCsv(e)}))}},{key:"processExportCoursesToCsv",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=void 0!==r?r:null,Promise.resolve(a)}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}}]),e}(),X=function(){function e(t,n){Object(l.a)(this,e),this.instance=void 0,this.baseUrl=void 0,this.jsonParseReviver=void 0,this.instance=n||u.a.create(),this.baseUrl=void 0!==t&&null!==t?t:""}return Object(c.a)(e,[{key:"get",value:function(e,t){var n=this,i=this.baseUrl+"/api/Firm/Get",a={method:"GET",url:i=i.replace(/[?&]$/,""),headers:{"x-api-version":void 0!==e&&null!==e?""+e:"",Accept:"application/json"},cancelToken:t};return this.instance.request(a).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return n.processGet(e)}))}},{key:"processGet",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=cl.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"getSettings",value:function(e,t){var n=this,i=this.baseUrl+"/api/Firm/GetSettings",a={method:"GET",url:i=i.replace(/[?&]$/,""),headers:{"x-api-version":void 0!==e&&null!==e?""+e:"",Accept:"application/json"},cancelToken:t};return this.instance.request(a).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return n.processGetSettings(e)}))}},{key:"processGetSettings",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a=null,r=e.data;if(Array.isArray(r)){a=[];var o,l=Object(s.a)(r);try{for(l.s();!(o=l.n()).done;){var c=o.value;a.push(bl.fromJS(c))}}catch(f){l.e(f)}finally{l.f()}}else a=null;return Promise.resolve(a)}if(404===t){var d=e.data,u=d;return sC("Not Found",t,d,n,wg.fromJS(u))}var m=e.data,v=m;return sC("Error",t,m,n,wg.fromJS(v))}},{key:"update",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Firm/Update";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"PUT",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processUpdate(e)}))}},{key:"processUpdate",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=cl.fromJS(r),Promise.resolve(a)}if(201===t){var o,s=e.data;return o=cl.fromJS(s),Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"updateSettings",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Firm/UpdateSettings";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"PUT",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processUpdateSettings(e)}))}},{key:"processUpdateSettings",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){e.data;return Promise.resolve(null)}if(201===t){e.data;return Promise.resolve(null)}if(400===t){var a=e.data,r=a;return sC("Bad Request",t,a,n,aC.fromJS(r))}var o=e.data,s=o;return sC("Error",t,o,n,wg.fromJS(s))}},{key:"getFirmLoginScreenDetails",value:function(e,t){var n=this,i=this.baseUrl+"/api/Firm/GetFirmLoginScreenDetails",a={method:"GET",url:i=i.replace(/[?&]$/,""),headers:{"x-api-version":void 0!==e&&null!==e?""+e:"",Accept:"application/json"},cancelToken:t};return this.instance.request(a).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return n.processGetFirmLoginScreenDetails(e)}))}},{key:"processGetFirmLoginScreenDetails",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=ml.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"getFirmNotification",value:function(e,t){var n=this,i=this.baseUrl+"/api/Firm/GetFirmNotification",a={method:"GET",url:i=i.replace(/[?&]$/,""),headers:{"x-api-version":void 0!==e&&null!==e?""+e:"",Accept:"application/json"},cancelToken:t};return this.instance.request(a).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return n.processGetFirmNotification(e)}))}},{key:"processGetFirmNotification",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=pl.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"updateFirmNotification",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Firm/UpdateFirmNotification";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processUpdateFirmNotification(e)}))}},{key:"processUpdateFirmNotification",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=pl.fromJS(r),Promise.resolve(a)}if(201===t){var o,s=e.data;return o=pl.fromJS(s),Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"getFirmNotificationBasicDetails",value:function(e,t){var n=this,i=this.baseUrl+"/api/Firm/GetFirmNotificationBasicDetails",a={method:"GET",url:i=i.replace(/[?&]$/,""),headers:{"x-api-version":void 0!==e&&null!==e?""+e:"",Accept:"application/json"},cancelToken:t};return this.instance.request(a).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return n.processGetFirmNotificationBasicDetails(e)}))}},{key:"processGetFirmNotificationBasicDetails",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=fl.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"getStatementSchedule",value:function(e,t){var n=this,i=this.baseUrl+"/api/Firm/GetStatementSchedule",a={method:"GET",url:i=i.replace(/[?&]$/,""),headers:{"x-api-version":void 0!==e&&null!==e?""+e:"",Accept:"application/json"},cancelToken:t};return this.instance.request(a).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return n.processGetStatementSchedule(e)}))}},{key:"processGetStatementSchedule",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Tg.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"getReminderSchedule",value:function(e,t){var n=this,i=this.baseUrl+"/api/Firm/GetReminderSchedule",a={method:"GET",url:i=i.replace(/[?&]$/,""),headers:{"x-api-version":void 0!==e&&null!==e?""+e:"",Accept:"application/json"},cancelToken:t};return this.instance.request(a).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return n.processGetReminderSchedule(e)}))}},{key:"processGetReminderSchedule",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=ah.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"getDueToReportSchedule",value:function(e,t){var n=this,i=this.baseUrl+"/api/Firm/GetDueToReportSchedule",a={method:"GET",url:i=i.replace(/[?&]$/,""),headers:{"x-api-version":void 0!==e&&null!==e?""+e:"",Accept:"application/json"},cancelToken:t};return this.instance.request(a).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return n.processGetDueToReportSchedule(e)}))}},{key:"processGetDueToReportSchedule",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=us.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"updateFirmNotificationStatus",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Firm/UpdateFirmNotificationStatus";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processUpdateFirmNotificationStatus(e)}))}},{key:"processUpdateFirmNotificationStatus",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){e.data;return Promise.resolve(null)}if(201===t){e.data;return Promise.resolve(null)}if(400===t){var a=e.data,r=a;return sC("Bad Request",t,a,n,aC.fromJS(r))}var o=e.data,s=o;return sC("Error",t,o,n,wg.fromJS(s))}},{key:"getTenantLoginEnabled",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Firm/GetTenantLoginEnabled/{hostName}";if(void 0===e||null===e)throw new Error("The parameter 'hostName' must be defined.");var r={method:"GET",url:a=(a=a.replace("{hostName}",encodeURIComponent(""+e))).replace(/[?&]$/,""),headers:{"x-api-version":void 0!==t&&null!==t?""+t:"",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetTenantLoginEnabled(e)}))}},{key:"processGetTenantLoginEnabled",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=void 0!==r?r:null,Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"getFirmUsageReport",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Firm/GetFirmUsageReport";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetFirmUsageReport(e)}))}},{key:"processGetFirmUsageReport",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=gl.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"exportCsv",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Firm/ExportCsv";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),responseType:"blob",method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/octet-stream"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processExportCsv(e)}))}},{key:"processExportCsv",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t||206===t){var a=e.headers?e.headers["content-disposition"]:void 0,r=a?/filename\*=(?:(\\?['"])(.*?)\1|(?:[^\s]+'.*?')?([^;\n]*))/g.exec(a):void 0,o=r&&r.length>1?r[3]||r[2]:void 0;return o=o?decodeURIComponent(o):(r=a?/filename="?([^"]*?)"?(;|$)/g.exec(a):void 0)&&r.length>1?r[1]:void 0,Promise.resolve({fileName:o,status:t,data:new Blob([e.data],{type:e.headers["content-type"]}),headers:n})}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"exportExcel",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Firm/ExportExcel";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),responseType:"blob",method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/octet-stream"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processExportExcel(e)}))}},{key:"processExportExcel",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t||206===t){var a=e.headers?e.headers["content-disposition"]:void 0,r=a?/filename\*=(?:(\\?['"])(.*?)\1|(?:[^\s]+'.*?')?([^;\n]*))/g.exec(a):void 0,o=r&&r.length>1?r[3]||r[2]:void 0;return o=o?decodeURIComponent(o):(r=a?/filename="?([^"]*?)"?(;|$)/g.exec(a):void 0)&&r.length>1?r[1]:void 0,Promise.resolve({fileName:o,status:t,data:new Blob([e.data],{type:e.headers["content-type"]}),headers:n})}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"exportFileCsv",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Firm/ExportFileCsv";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),responseType:"blob",method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/octet-stream"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processExportFileCsv(e)}))}},{key:"processExportFileCsv",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t||206===t){var a=e.headers?e.headers["content-disposition"]:void 0,r=a?/filename\*=(?:(\\?['"])(.*?)\1|(?:[^\s]+'.*?')?([^;\n]*))/g.exec(a):void 0,o=r&&r.length>1?r[3]||r[2]:void 0;return o=o?decodeURIComponent(o):(r=a?/filename="?([^"]*?)"?(;|$)/g.exec(a):void 0)&&r.length>1?r[1]:void 0,Promise.resolve({fileName:o,status:t,data:new Blob([e.data],{type:e.headers["content-type"]}),headers:n})}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"exportFileExcel",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Firm/ExportFileExcel";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),responseType:"blob",method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/octet-stream"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processExportFileExcel(e)}))}},{key:"processExportFileExcel",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t||206===t){var a=e.headers?e.headers["content-disposition"]:void 0,r=a?/filename\*=(?:(\\?['"])(.*?)\1|(?:[^\s]+'.*?')?([^;\n]*))/g.exec(a):void 0,o=r&&r.length>1?r[3]||r[2]:void 0;return o=o?decodeURIComponent(o):(r=a?/filename="?([^"]*?)"?(;|$)/g.exec(a):void 0)&&r.length>1?r[1]:void 0,Promise.resolve({fileName:o,status:t,data:new Blob([e.data],{type:e.headers["content-type"]}),headers:n})}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}}]),e}(),K=function(){function e(t,n){Object(l.a)(this,e),this.instance=void 0,this.baseUrl=void 0,this.jsonParseReviver=void 0,this.instance=n||u.a.create(),this.baseUrl=void 0!==t&&null!==t?t:""}return Object(c.a)(e,[{key:"get",value:function(e,t){var n=this,i=this.baseUrl+"/api/FirmAnnouncement/Get",a={method:"GET",url:i=i.replace(/[?&]$/,""),headers:{"x-api-version":void 0!==e&&null!==e?""+e:"",Accept:"application/json"},cancelToken:t};return this.instance.request(a).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return n.processGet(e)}))}},{key:"processGet",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a=null,r=e.data;if(Array.isArray(r)){a=[];var o,l=Object(s.a)(r);try{for(l.s();!(o=l.n()).done;){var c=o.value;a.push(sl.fromJS(c))}}catch(f){l.e(f)}finally{l.f()}}else a=null;return Promise.resolve(a)}if(404===t){var d=e.data,u=d;return sC("Not Found",t,d,n,wg.fromJS(u))}var m=e.data,v=m;return sC("Error",t,m,n,wg.fromJS(v))}},{key:"update",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/FirmAnnouncement/Update";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"PUT",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processUpdate(e)}))}},{key:"processUpdate",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a=null,r=e.data;if(Array.isArray(r)){a=[];var o,l=Object(s.a)(r);try{for(l.s();!(o=l.n()).done;){var c=o.value;a.push(sl.fromJS(c))}}catch(g){l.e(g)}finally{l.f()}}else a=null;return Promise.resolve(a)}if(201===t){var d=null,u=e.data;if(Array.isArray(u)){d=[];var m,v=Object(s.a)(u);try{for(v.s();!(m=v.n()).done;){var f=m.value;d.push(sl.fromJS(f))}}catch(g){v.e(g)}finally{v.f()}}else d=null;return Promise.resolve(d)}if(400===t){var p=e.data,h=p;return sC("Bad Request",t,p,n,aC.fromJS(h))}var y=e.data,b=y;return sC("Error",t,y,n,wg.fromJS(b))}}]),e}(),ee=function(){function e(t,n){Object(l.a)(this,e),this.instance=void 0,this.baseUrl=void 0,this.jsonParseReviver=void 0,this.instance=n||u.a.create(),this.baseUrl=void 0!==t&&null!==t?t:""}return Object(c.a)(e,[{key:"getAll",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/FormNumberExclude/GetAll";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetAll(e)}))}},{key:"processGetAll",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Il.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}}]),e}(),te=function(){function e(t,n){Object(l.a)(this,e),this.instance=void 0,this.baseUrl=void 0,this.jsonParseReviver=void 0,this.instance=n||u.a.create(),this.baseUrl=void 0!==t&&null!==t?t:""}return Object(c.a)(e,[{key:"getAll",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/FormNumberStyle/GetAll";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetAll(e)}))}},{key:"processGetAll",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Ol.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}}]),e}(),ne=function(){function e(t,n){Object(l.a)(this,e),this.instance=void 0,this.baseUrl=void 0,this.jsonParseReviver=void 0,this.instance=n||u.a.create(),this.baseUrl=void 0!==t&&null!==t?t:""}return Object(c.a)(e,[{key:"getFreshdeskJWT",value:function(e,t){var n=this,i=this.baseUrl+"/api/Freshdesk/GetFreshdeskJWT",a={method:"GET",url:i=i.replace(/[?&]$/,""),headers:{"x-api-version":void 0!==e&&null!==e?""+e:"",Accept:"application/json"},cancelToken:t};return this.instance.request(a).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return n.processGetFreshdeskJWT(e)}))}},{key:"processGetFreshdeskJWT",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=void 0!==r?r:null,Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}}]),e}(),ie=function(){function e(t,n){Object(l.a)(this,e),this.instance=void 0,this.baseUrl=void 0,this.jsonParseReviver=void 0,this.instance=n||u.a.create(),this.baseUrl=void 0!==t&&null!==t?t:""}return Object(c.a)(e,[{key:"getAll",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Gender/GetAll";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetAll(e)}))}},{key:"processGetAll",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=jl.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"exportCsv",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Gender/ExportCsv";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),responseType:"blob",method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/octet-stream"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processExportCsv(e)}))}},{key:"processExportCsv",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t||206===t){var a=e.headers?e.headers["content-disposition"]:void 0,r=a?/filename\*=(?:(\\?['"])(.*?)\1|(?:[^\s]+'.*?')?([^;\n]*))/g.exec(a):void 0,o=r&&r.length>1?r[3]||r[2]:void 0;return o=o?decodeURIComponent(o):(r=a?/filename="?([^"]*?)"?(;|$)/g.exec(a):void 0)&&r.length>1?r[1]:void 0,Promise.resolve({fileName:o,status:t,data:new Blob([e.data],{type:e.headers["content-type"]}),headers:n})}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"exportExcel",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Gender/ExportExcel";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),responseType:"blob",method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/octet-stream"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processExportExcel(e)}))}},{key:"processExportExcel",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t||206===t){var a=e.headers?e.headers["content-disposition"]:void 0,r=a?/filename\*=(?:(\\?['"])(.*?)\1|(?:[^\s]+'.*?')?([^;\n]*))/g.exec(a):void 0,o=r&&r.length>1?r[3]||r[2]:void 0;return o=o?decodeURIComponent(o):(r=a?/filename="?([^"]*?)"?(;|$)/g.exec(a):void 0)&&r.length>1?r[1]:void 0,Promise.resolve({fileName:o,status:t,data:new Blob([e.data],{type:e.headers["content-type"]}),headers:n})}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"getGenderListById",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Gender/GetGenderListById";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetGenderListById(e)}))}},{key:"processGetGenderListById",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a=null,r=e.data;if(Array.isArray(r)){a=[];var o,l=Object(s.a)(r);try{for(l.s();!(o=l.n()).done;){var c=o.value;a.push(Cl.fromJS(c))}}catch(f){l.e(f)}finally{l.f()}}else a=null;return Promise.resolve(a)}if(404===t){var d=e.data,u=d;return sC("Not Found",t,d,n,wg.fromJS(u))}var m=e.data,v=m;return sC("Error",t,m,n,wg.fromJS(v))}},{key:"get",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Gender/Get/{genderId}";if(void 0===e||null===e)throw new Error("The parameter 'genderId' must be defined.");var r={method:"GET",url:a=(a=a.replace("{genderId}",encodeURIComponent(""+e))).replace(/[?&]$/,""),headers:{"x-api-version":void 0!==t&&null!==t?""+t:"",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGet(e)}))}},{key:"processGet",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Cl.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"create",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Gender/Create";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processCreate(e)}))}},{key:"processCreate",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Cl.fromJS(r),Promise.resolve(a)}if(201===t){var o,s=e.data;return o=Cl.fromJS(s),Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"update",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Gender/Update";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"PUT",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processUpdate(e)}))}},{key:"processUpdate",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Cl.fromJS(r),Promise.resolve(a)}if(201===t){var o,s=e.data;return o=Cl.fromJS(s),Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"delete",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Gender/Delete";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"DELETE",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processDelete(e)}))}},{key:"processDelete",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a=null,r=e.data;if(Array.isArray(r)){a=[];var o,l=Object(s.a)(r);try{for(l.s();!(o=l.n()).done;){var c=o.value;a.push(Cl.fromJS(c))}}catch(h){l.e(h)}finally{l.f()}}else a=null;return Promise.resolve(a)}if(204===t)return sC("Success",t,e.data,n);if(400===t){var d=e.data,u=d;return sC("Bad Request",t,d,n,aC.fromJS(u))}if(404===t){var m=e.data,v=m;return sC("Not Found",t,m,n,wg.fromJS(v))}var f=e.data,p=f;return sC("Error",t,f,n,wg.fromJS(p))}},{key:"archive",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Gender/Archive";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"PUT",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processArchive(e)}))}},{key:"processArchive",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){e.data;return Promise.resolve(null)}if(204===t){e.data;return Promise.resolve(null)}if(400===t){var a=e.data,r=a;return sC("Bad Request",t,a,n,aC.fromJS(r))}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"merge",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Gender/Merge";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processMerge(e)}))}},{key:"processMerge",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){e.data;return Promise.resolve(null)}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"validateGenderName",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Gender/ValidateGenderName";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processValidateGenderName(e)}))}},{key:"processValidateGenderName",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=void 0!==r?r:null,Promise.resolve(a)}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"validateGenderCode",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Gender/ValidateGenderCode";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processValidateGenderCode(e)}))}},{key:"processValidateGenderCode",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=void 0!==r?r:null,Promise.resolve(a)}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}}]),e}(),ae=function(){function e(t,n){Object(l.a)(this,e),this.instance=void 0,this.baseUrl=void 0,this.jsonParseReviver=void 0,this.instance=n||u.a.create(),this.baseUrl=void 0!==t&&null!==t?t:""}return Object(c.a)(e,[{key:"getImport",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Import/GetImport/{importId}";if(void 0===e||null===e)throw new Error("The parameter 'importId' must be defined.");var r={method:"GET",url:a=(a=a.replace("{importId}",encodeURIComponent(""+e))).replace(/[?&]$/,""),headers:{"x-api-version":void 0!==t&&null!==t?""+t:"",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetImport(e)}))}},{key:"processGetImport",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Bm.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"deleteImport",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Import/DeleteImport";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"DELETE",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processDeleteImport(e)}))}},{key:"processDeleteImport",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){e.data;return Promise.resolve(null)}if(204===t){e.data;return Promise.resolve(null)}if(400===t){var a=e.data,r=a;return sC("Bad Request",t,a,n,aC.fromJS(r))}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"createMaintenanceTableImport",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Import/CreateMaintenanceTableImport";a=a.replace(/[?&]$/,"");var r=new FormData;if(null===t||void 0===t)throw new Error("The parameter 'importFile' cannot be null.");r.append("importFile",t.data,t.fileName?t.fileName:"importFile");var o={data:r,method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"",Accept:"application/json"},cancelToken:n};return this.instance.request(o).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processCreateMaintenanceTableImport(e)}))}},{key:"processCreateMaintenanceTableImport",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Bm.fromJS(r),Promise.resolve(a)}if(201===t){var o,s=e.data;return o=Bm.fromJS(s),Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"createProviderImport",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Import/CreateProviderImport";a=a.replace(/[?&]$/,"");var r=new FormData;if(null===t||void 0===t)throw new Error("The parameter 'importFile' cannot be null.");r.append("importFile",t.data,t.fileName?t.fileName:"importFile");var o={data:r,method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"",Accept:"application/json"},cancelToken:n};return this.instance.request(o).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processCreateProviderImport(e)}))}},{key:"processCreateProviderImport",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Bm.fromJS(r),Promise.resolve(a)}if(201===t){var o,s=e.data;return o=Bm.fromJS(s),Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"createLocationImport",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Import/CreateLocationImport";a=a.replace(/[?&]$/,"");var r=new FormData;if(null===t||void 0===t)throw new Error("The parameter 'importFile' cannot be null.");r.append("importFile",t.data,t.fileName?t.fileName:"importFile");var o={data:r,method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"",Accept:"application/json"},cancelToken:n};return this.instance.request(o).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processCreateLocationImport(e)}))}},{key:"processCreateLocationImport",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Bm.fromJS(r),Promise.resolve(a)}if(201===t){var o,s=e.data;return o=Bm.fromJS(s),Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"createAffiliationImport",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Import/CreateAffiliationImport";a=a.replace(/[?&]$/,"");var r=new FormData;if(null===t||void 0===t)throw new Error("The parameter 'importFile' cannot be null.");r.append("importFile",t.data,t.fileName?t.fileName:"importFile");var o={data:r,method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"",Accept:"application/json"},cancelToken:n};return this.instance.request(o).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processCreateAffiliationImport(e)}))}},{key:"processCreateAffiliationImport",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Bm.fromJS(r),Promise.resolve(a)}if(201===t){var o,s=e.data;return o=Bm.fromJS(s),Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"createUserImport",value:function(e,t,n,i){var a=this,r=this.baseUrl+"/api/Import/CreateUserImport?";if(null===e)throw new Error("The parameter 'useDummyEmail' cannot be null.");void 0!==e&&(r+="useDummyEmail="+encodeURIComponent(""+e)+"&"),r=r.replace(/[?&]$/,"");var o=new FormData;if(null===n||void 0===n)throw new Error("The parameter 'importFile' cannot be null.");o.append("importFile",n.data,n.fileName?n.fileName:"importFile");var s={data:o,method:"POST",url:r,headers:{"x-api-version":void 0!==t&&null!==t?""+t:"",Accept:"application/json"},cancelToken:i};return this.instance.request(s).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return a.processCreateUserImport(e)}))}},{key:"processCreateUserImport",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Bm.fromJS(r),Promise.resolve(a)}if(201===t){var o,s=e.data;return o=Bm.fromJS(s),Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"createUserImportFromScreen",value:function(e,t,n,i,a){var r=this,o=this.baseUrl+"/api/Import/CreateUserImportFromScreen?";if(null===e)throw new Error("The parameter 'useDummyEmail' cannot be null.");if(void 0!==e&&(o+="useDummyEmail="+encodeURIComponent(""+e)+"&"),null===t)throw new Error("The parameter 'clientUserType' cannot be null.");void 0!==t&&(o+="clientUserType="+encodeURIComponent(""+t)+"&"),o=o.replace(/[?&]$/,"");var s=new FormData;if(null===i||void 0===i)throw new Error("The parameter 'importFile' cannot be null.");s.append("importFile",i.data,i.fileName?i.fileName:"importFile");var l={data:s,method:"POST",url:o,headers:{"x-api-version":void 0!==n&&null!==n?""+n:"",Accept:"application/json"},cancelToken:a};return this.instance.request(l).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return r.processCreateUserImportFromScreen(e)}))}},{key:"processCreateUserImportFromScreen",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Bm.fromJS(r),Promise.resolve(a)}if(201===t){var o,s=e.data;return o=Bm.fromJS(s),Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"updateUserImportConfiguration",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Import/UpdateUserImportConfiguration";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processUpdateUserImportConfiguration(e)}))}},{key:"processUpdateUserImportConfiguration",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Bm.fromJS(r),Promise.resolve(a)}if(201===t){var o,s=e.data;return o=Bm.fromJS(s),Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"updateUserImportRowConfiguration",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Import/UpdateUserImportRowConfiguration";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processUpdateUserImportRowConfiguration(e)}))}},{key:"processUpdateUserImportRowConfiguration",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Bm.fromJS(r),Promise.resolve(a)}if(201===t){var o,s=e.data;return o=Bm.fromJS(s),Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"submitUserImport",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Import/SubmitUserImport";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processSubmitUserImport(e)}))}},{key:"processSubmitUserImport",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){e.data;return Promise.resolve(null)}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"createUserPropertyImport",value:function(e,t,n,i){var a=this,r=this.baseUrl+"/api/Import/CreateUserPropertyImport?";if(null===e)throw new Error("The parameter 'overwrite' cannot be null.");void 0!==e&&(r+="overwrite="+encodeURIComponent(""+e)+"&"),r=r.replace(/[?&]$/,"");var o=new FormData;if(null===n||void 0===n)throw new Error("The parameter 'importFile' cannot be null.");o.append("importFile",n.data,n.fileName?n.fileName:"importFile");var s={data:o,method:"POST",url:r,headers:{"x-api-version":void 0!==t&&null!==t?""+t:"",Accept:"application/json"},cancelToken:i};return this.instance.request(s).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return a.processCreateUserPropertyImport(e)}))}},{key:"processCreateUserPropertyImport",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Bm.fromJS(r),Promise.resolve(a)}if(201===t){var o,s=e.data;return o=Bm.fromJS(s),Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"createUserAdministrativeAssistantImport",value:function(e,t,n,i){var a=this,r=this.baseUrl+"/api/Import/CreateUserAdministrativeAssistantImport?";if(null===e)throw new Error("The parameter 'overwrite' cannot be null.");void 0!==e&&(r+="overwrite="+encodeURIComponent(""+e)+"&"),r=r.replace(/[?&]$/,"");var o=new FormData;if(null===n||void 0===n)throw new Error("The parameter 'importFile' cannot be null.");o.append("importFile",n.data,n.fileName?n.fileName:"importFile");var s={data:o,method:"POST",url:r,headers:{"x-api-version":void 0!==t&&null!==t?""+t:"",Accept:"application/json"},cancelToken:i};return this.instance.request(s).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return a.processCreateUserAdministrativeAssistantImport(e)}))}},{key:"processCreateUserAdministrativeAssistantImport",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Bm.fromJS(r),Promise.resolve(a)}if(201===t){var o,s=e.data;return o=Bm.fromJS(s),Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"createUserSupervisorImport",value:function(e,t,n,i){var a=this,r=this.baseUrl+"/api/Import/CreateUserSupervisorImport?";if(null===e)throw new Error("The parameter 'overwrite' cannot be null.");void 0!==e&&(r+="overwrite="+encodeURIComponent(""+e)+"&"),r=r.replace(/[?&]$/,"");var o=new FormData;if(null===n||void 0===n)throw new Error("The parameter 'importFile' cannot be null.");o.append("importFile",n.data,n.fileName?n.fileName:"importFile");var s={data:o,method:"POST",url:r,headers:{"x-api-version":void 0!==t&&null!==t?""+t:"",Accept:"application/json"},cancelToken:i};return this.instance.request(s).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return a.processCreateUserSupervisorImport(e)}))}},{key:"processCreateUserSupervisorImport",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Bm.fromJS(r),Promise.resolve(a)}if(201===t){var o,s=e.data;return o=Bm.fromJS(s),Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"createUserLicenseImport",value:function(e,t,n,i){var a=this,r=this.baseUrl+"/api/Import/CreateUserLicenseImport?";if(null===e)throw new Error("The parameter 'recalculateUsers' cannot be null.");void 0!==e&&(r+="recalculateUsers="+encodeURIComponent(""+e)+"&"),r=r.replace(/[?&]$/,"");var o=new FormData;if(null===n||void 0===n)throw new Error("The parameter 'importFile' cannot be null.");o.append("importFile",n.data,n.fileName?n.fileName:"importFile");var s={data:o,method:"POST",url:r,headers:{"x-api-version":void 0!==t&&null!==t?""+t:"",Accept:"application/json"},cancelToken:i};return this.instance.request(s).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return a.processCreateUserLicenseImport(e)}))}},{key:"processCreateUserLicenseImport",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Bm.fromJS(r),Promise.resolve(a)}if(201===t){var o,s=e.data;return o=Bm.fromJS(s),Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"createCourseImport",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Import/CreateCourseImport";a=a.replace(/[?&]$/,"");var r=new FormData;if(null===t||void 0===t)throw new Error("The parameter 'importFile' cannot be null.");r.append("importFile",t.data,t.fileName?t.fileName:"importFile");var o={data:r,method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"",Accept:"application/json"},cancelToken:n};return this.instance.request(o).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processCreateCourseImport(e)}))}},{key:"processCreateCourseImport",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Bm.fromJS(r),Promise.resolve(a)}if(201===t){var o,s=e.data;return o=Bm.fromJS(s),Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"createCoursePropertyImport",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Import/CreateCoursePropertyImport";a=a.replace(/[?&]$/,"");var r=new FormData;if(null===t||void 0===t)throw new Error("The parameter 'importFile' cannot be null.");r.append("importFile",t.data,t.fileName?t.fileName:"importFile");var o={data:r,method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"",Accept:"application/json"},cancelToken:n};return this.instance.request(o).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processCreateCoursePropertyImport(e)}))}},{key:"processCreateCoursePropertyImport",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Bm.fromJS(r),Promise.resolve(a)}if(201===t){var o,s=e.data;return o=Bm.fromJS(s),Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"createSessionImport",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Import/CreateSessionImport";a=a.replace(/[?&]$/,"");var r=new FormData;if(null===t||void 0===t)throw new Error("The parameter 'importFile' cannot be null.");r.append("importFile",t.data,t.fileName?t.fileName:"importFile");var o={data:r,method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"",Accept:"application/json"},cancelToken:n};return this.instance.request(o).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processCreateSessionImport(e)}))}},{key:"processCreateSessionImport",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Bm.fromJS(r),Promise.resolve(a)}if(201===t){var o,s=e.data;return o=Bm.fromJS(s),Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"createSessionLicenseImport",value:function(e,t,n,i){var a=this,r=this.baseUrl+"/api/Import/CreateSessionLicenseImport?";if(null===e)throw new Error("The parameter 'isFirmFromCEM' cannot be null.");void 0!==e&&(r+="isFirmFromCEM="+encodeURIComponent(""+e)+"&"),r=r.replace(/[?&]$/,"");var o=new FormData;if(null===n||void 0===n)throw new Error("The parameter 'importFile' cannot be null.");o.append("importFile",n.data,n.fileName?n.fileName:"importFile");var s={data:o,method:"POST",url:r,headers:{"x-api-version":void 0!==t&&null!==t?""+t:"",Accept:"application/json"},cancelToken:i};return this.instance.request(s).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return a.processCreateSessionLicenseImport(e)}))}},{key:"processCreateSessionLicenseImport",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Bm.fromJS(r),Promise.resolve(a)}if(201===t){var o,s=e.data;return o=Bm.fromJS(s),Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"createSessionParticipantImport",value:function(e,t,n,i){var a=this,r=this.baseUrl+"/api/Import/CreateSessionParticipantImport?";if(null===e)throw new Error("The parameter 'overwriteCredit' cannot be null.");void 0!==e&&(r+="overwriteCredit="+encodeURIComponent(""+e)+"&"),r=r.replace(/[?&]$/,"");var o=new FormData;if(null===n||void 0===n)throw new Error("The parameter 'importFile' cannot be null.");o.append("importFile",n.data,n.fileName?n.fileName:"importFile");var s={data:o,method:"POST",url:r,headers:{"x-api-version":void 0!==t&&null!==t?""+t:"",Accept:"application/json"},cancelToken:i};return this.instance.request(s).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return a.processCreateSessionParticipantImport(e)}))}},{key:"processCreateSessionParticipantImport",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Bm.fromJS(r),Promise.resolve(a)}if(201===t){var o,s=e.data;return o=Bm.fromJS(s),Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"createSessionParticipantImportFromScreen",value:function(e,t,n,i,a){var r=this,o=this.baseUrl+"/api/Import/CreateSessionParticipantImportFromScreen?";if(null===e)throw new Error("The parameter 'fromScreen' cannot be null.");if(void 0!==e&&(o+="fromScreen="+encodeURIComponent(""+e)+"&"),null===t)throw new Error("The parameter 'sessionId' cannot be null.");void 0!==t&&(o+="sessionId="+encodeURIComponent(""+t)+"&"),o=o.replace(/[?&]$/,"");var s=new FormData;if(null===i||void 0===i)throw new Error("The parameter 'importFile' cannot be null.");s.append("importFile",i.data,i.fileName?i.fileName:"importFile");var l={data:s,method:"POST",url:o,headers:{"x-api-version":void 0!==n&&null!==n?""+n:"",Accept:"application/json"},cancelToken:a};return this.instance.request(l).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return r.processCreateSessionParticipantImportFromScreen(e)}))}},{key:"processCreateSessionParticipantImportFromScreen",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Bm.fromJS(r),Promise.resolve(a)}if(201===t){var o,s=e.data;return o=Bm.fromJS(s),Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"createUserRetroactiveCreditImport",value:function(e,t,n,i){var a=this,r=this.baseUrl+"/api/Import/CreateUserRetroactiveCreditImport?";if(null===e)throw new Error("The parameter 'recalculateUsers' cannot be null.");void 0!==e&&(r+="recalculateUsers="+encodeURIComponent(""+e)+"&"),r=r.replace(/[?&]$/,"");var o=new FormData;if(null===n||void 0===n)throw new Error("The parameter 'importFile' cannot be null.");o.append("importFile",n.data,n.fileName?n.fileName:"importFile");var s={data:o,method:"POST",url:r,headers:{"x-api-version":void 0!==t&&null!==t?""+t:"",Accept:"application/json"},cancelToken:i};return this.instance.request(s).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return a.processCreateUserRetroactiveCreditImport(e)}))}},{key:"processCreateUserRetroactiveCreditImport",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Bm.fromJS(r),Promise.resolve(a)}if(201===t){var o,s=e.data;return o=Bm.fromJS(s),Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"createUserLicenseExemptionImport",value:function(e,t,n,i){var a=this,r=this.baseUrl+"/api/Import/CreateUserLicenseExemptionImport?";if(null===e)throw new Error("The parameter 'recalculateUsers' cannot be null.");void 0!==e&&(r+="recalculateUsers="+encodeURIComponent(""+e)+"&"),r=r.replace(/[?&]$/,"");var o=new FormData;if(null===n||void 0===n)throw new Error("The parameter 'importFile' cannot be null.");o.append("importFile",n.data,n.fileName?n.fileName:"importFile");var s={data:o,method:"POST",url:r,headers:{"x-api-version":void 0!==t&&null!==t?""+t:"",Accept:"application/json"},cancelToken:i};return this.instance.request(s).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return a.processCreateUserLicenseExemptionImport(e)}))}},{key:"processCreateUserLicenseExemptionImport",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Bm.fromJS(r),Promise.resolve(a)}if(201===t){var o,s=e.data;return o=Bm.fromJS(s),Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"createFirmLicenseSubjectAreaLinkImportCommand",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Import/CreateFirmLicenseSubjectAreaLinkImportCommand";a=a.replace(/[?&]$/,"");var r=new FormData;if(null===t||void 0===t)throw new Error("The parameter 'importFile' cannot be null.");r.append("importFile",t.data,t.fileName?t.fileName:"importFile");var o={data:r,method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"",Accept:"application/json"},cancelToken:n};return this.instance.request(o).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processCreateFirmLicenseSubjectAreaLinkImportCommand(e)}))}},{key:"processCreateFirmLicenseSubjectAreaLinkImportCommand",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Bm.fromJS(r),Promise.resolve(a)}if(201===t){var o,s=e.data;return o=Bm.fromJS(s),Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"createFirmSubjectAreaMappingImportCommand",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Import/CreateFirmSubjectAreaMappingImportCommand";a=a.replace(/[?&]$/,"");var r=new FormData;if(null===t||void 0===t)throw new Error("The parameter 'importFile' cannot be null.");r.append("importFile",t.data,t.fileName?t.fileName:"importFile");var o={data:r,method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"",Accept:"application/json"},cancelToken:n};return this.instance.request(o).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processCreateFirmSubjectAreaMappingImportCommand(e)}))}},{key:"processCreateFirmSubjectAreaMappingImportCommand",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Bm.fromJS(r),Promise.resolve(a)}if(201===t){var o,s=e.data;return o=Bm.fromJS(s),Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"createSessionLicenseSubjectAreaMappingImportCommand",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Import/CreateSessionLicenseSubjectAreaMappingImportCommand";a=a.replace(/[?&]$/,"");var r=new FormData;if(null===t||void 0===t)throw new Error("The parameter 'importFile' cannot be null.");r.append("importFile",t.data,t.fileName?t.fileName:"importFile");var o={data:r,method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"",Accept:"application/json"},cancelToken:n};return this.instance.request(o).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processCreateSessionLicenseSubjectAreaMappingImportCommand(e)}))}},{key:"processCreateSessionLicenseSubjectAreaMappingImportCommand",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Bm.fromJS(r),Promise.resolve(a)}if(201===t){var o,s=e.data;return o=Bm.fromJS(s),Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"createSessionLicenseSubjectAreaLinkImportCommand",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Import/CreateSessionLicenseSubjectAreaLinkImportCommand";a=a.replace(/[?&]$/,"");var r=new FormData;if(null===t||void 0===t)throw new Error("The parameter 'importFile' cannot be null.");r.append("importFile",t.data,t.fileName?t.fileName:"importFile");var o={data:r,method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"",Accept:"application/json"},cancelToken:n};return this.instance.request(o).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processCreateSessionLicenseSubjectAreaLinkImportCommand(e)}))}},{key:"processCreateSessionLicenseSubjectAreaLinkImportCommand",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Bm.fromJS(r),Promise.resolve(a)}if(201===t){var o,s=e.data;return o=Bm.fromJS(s),Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"createEvaluationImport",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Import/CreateEvaluationImport";a=a.replace(/[?&]$/,"");var r=new FormData;if(null===t||void 0===t)throw new Error("The parameter 'importFile' cannot be null.");r.append("importFile",t.data,t.fileName?t.fileName:"importFile");var o={data:r,method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"",Accept:"application/json"},cancelToken:n};return this.instance.request(o).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processCreateEvaluationImport(e)}))}},{key:"processCreateEvaluationImport",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Bm.fromJS(r),Promise.resolve(a)}if(201===t){var o,s=e.data;return o=Bm.fromJS(s),Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"createLearningPlanImportCommand",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Import/CreateLearningPlanImportCommand";a=a.replace(/[?&]$/,"");var r=new FormData;if(null===t||void 0===t)throw new Error("The parameter 'importFile' cannot be null.");r.append("importFile",t.data,t.fileName?t.fileName:"importFile");var o={data:r,method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"",Accept:"application/json"},cancelToken:n};return this.instance.request(o).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processCreateLearningPlanImportCommand(e)}))}},{key:"processCreateLearningPlanImportCommand",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Bm.fromJS(r),Promise.resolve(a)}if(201===t){var o,s=e.data;return o=Bm.fromJS(s),Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"createFirmLogoImport",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Import/CreateFirmLogoImport";a=a.replace(/[?&]$/,"");var r=new FormData;if(null===t||void 0===t)throw new Error("The parameter 'importFile' cannot be null.");r.append("importFile",t.data,t.fileName?t.fileName:"importFile");var o={data:r,method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"",Accept:"application/json"},cancelToken:n};return this.instance.request(o).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processCreateFirmLogoImport(e)}))}},{key:"processCreateFirmLogoImport",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Bm.fromJS(r),Promise.resolve(a)}if(201===t){var o,s=e.data;return o=Bm.fromJS(s),Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"createSignatureImport",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Import/CreateSignatureImport";a=a.replace(/[?&]$/,"");var r=new FormData;if(null===t||void 0===t)throw new Error("The parameter 'importFile' cannot be null.");r.append("importFile",t.data,t.fileName?t.fileName:"importFile");var o={data:r,method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"",Accept:"application/json"},cancelToken:n};return this.instance.request(o).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processCreateSignatureImport(e)}))}},{key:"processCreateSignatureImport",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Bm.fromJS(r),Promise.resolve(a)}if(201===t){var o,s=e.data;return o=Bm.fromJS(s),Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"createSessionParticipantCertificateImport",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Import/CreateSessionParticipantCertificateImport";a=a.replace(/[?&]$/,"");var r=new FormData;if(null===t||void 0===t)throw new Error("The parameter 'importFile' cannot be null.");r.append("importFile",t.data,t.fileName?t.fileName:"importFile");var o={data:r,method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"",Accept:"application/json"},cancelToken:n};return this.instance.request(o).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processCreateSessionParticipantCertificateImport(e)}))}},{key:"processCreateSessionParticipantCertificateImport",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Bm.fromJS(r),Promise.resolve(a)}if(201===t){var o,s=e.data;return o=Bm.fromJS(s),Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"createMaterialImport",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Import/CreateMaterialImport";a=a.replace(/[?&]$/,"");var r=new FormData;if(null===t||void 0===t)throw new Error("The parameter 'importFile' cannot be null.");r.append("importFile",t.data,t.fileName?t.fileName:"importFile");var o={data:r,method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"",Accept:"application/json"},cancelToken:n};return this.instance.request(o).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processCreateMaterialImport(e)}))}},{key:"processCreateMaterialImport",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Bm.fromJS(r),Promise.resolve(a)}if(201===t){var o,s=e.data;return o=Bm.fromJS(s),Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"createEvaluationQuestionImport",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Import/CreateEvaluationQuestionImport";a=a.replace(/[?&]$/,"");var r=new FormData;if(null===t||void 0===t)throw new Error("The parameter 'importFile' cannot be null.");r.append("importFile",t.data,t.fileName?t.fileName:"importFile");var o={data:r,method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"",Accept:"application/json"},cancelToken:n};return this.instance.request(o).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processCreateEvaluationQuestionImport(e)}))}},{key:"processCreateEvaluationQuestionImport",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Bm.fromJS(r),Promise.resolve(a)}if(201===t){var o,s=e.data;return o=Bm.fromJS(s),Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"createUserLearningImport",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Import/CreateUserLearningImport";a=a.replace(/[?&]$/,"");var r=new FormData;if(null===t||void 0===t)throw new Error("The parameter 'importFile' cannot be null.");r.append("importFile",t.data,t.fileName?t.fileName:"importFile");var o={data:r,method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"",Accept:"application/json"},cancelToken:n};return this.instance.request(o).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processCreateUserLearningImport(e)}))}},{key:"processCreateUserLearningImport",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Bm.fromJS(r),Promise.resolve(a)}if(201===t){var o,s=e.data;return o=Bm.fromJS(s),Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"createVideoAudioImport",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Import/CreateVideoAudioImport";a=a.replace(/[?&]$/,"");var r=new FormData;if(null===t||void 0===t)throw new Error("The parameter 'importFile' cannot be null.");r.append("importFile",t.data,t.fileName?t.fileName:"importFile");var o={data:r,method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"",Accept:"application/json"},cancelToken:n};return this.instance.request(o).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processCreateVideoAudioImport(e)}))}},{key:"processCreateVideoAudioImport",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Bm.fromJS(r),Promise.resolve(a)}if(201===t){var o,s=e.data;return o=Bm.fromJS(s),Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"createSessionVideoImport",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Import/CreateSessionVideoImport";a=a.replace(/[?&]$/,"");var r=new FormData;if(null===t||void 0===t)throw new Error("The parameter 'importFile' cannot be null.");r.append("importFile",t.data,t.fileName?t.fileName:"importFile");var o={data:r,method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"",Accept:"application/json"},cancelToken:n};return this.instance.request(o).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processCreateSessionVideoImport(e)}))}},{key:"processCreateSessionVideoImport",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Bm.fromJS(r),Promise.resolve(a)}if(201===t){var o,s=e.data;return o=Bm.fromJS(s),Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"createSessionEvaluationImport",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Import/CreateSessionEvaluationImport";a=a.replace(/[?&]$/,"");var r=new FormData;if(null===t||void 0===t)throw new Error("The parameter 'importFile' cannot be null.");r.append("importFile",t.data,t.fileName?t.fileName:"importFile");var o={data:r,method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"",Accept:"application/json"},cancelToken:n};return this.instance.request(o).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processCreateSessionEvaluationImport(e)}))}},{key:"processCreateSessionEvaluationImport",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Bm.fromJS(r),Promise.resolve(a)}if(201===t){var o,s=e.data;return o=Bm.fromJS(s),Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"createSessionMaterialImport",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Import/CreateSessionMaterialImport";a=a.replace(/[?&]$/,"");var r=new FormData;if(null===t||void 0===t)throw new Error("The parameter 'importFile' cannot be null.");r.append("importFile",t.data,t.fileName?t.fileName:"importFile");var o={data:r,method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"",Accept:"application/json"},cancelToken:n};return this.instance.request(o).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processCreateSessionMaterialImport(e)}))}},{key:"processCreateSessionMaterialImport",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Bm.fromJS(r),Promise.resolve(a)}if(201===t){var o,s=e.data;return o=Bm.fromJS(s),Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"createSessionParticipantEvaluationImport",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Import/CreateSessionParticipantEvaluationImport";a=a.replace(/[?&]$/,"");var r=new FormData;if(null===t||void 0===t)throw new Error("The parameter 'importFile' cannot be null.");r.append("importFile",t.data,t.fileName?t.fileName:"importFile");var o={data:r,method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"",Accept:"application/json"},cancelToken:n};return this.instance.request(o).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processCreateSessionParticipantEvaluationImport(e)}))}},{key:"processCreateSessionParticipantEvaluationImport",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Bm.fromJS(r),Promise.resolve(a)}if(201===t){var o,s=e.data;return o=Bm.fromJS(s),Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"createUserVideoImport",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Import/CreateUserVideoImport";a=a.replace(/[?&]$/,"");var r=new FormData;if(null===t||void 0===t)throw new Error("The parameter 'importFile' cannot be null.");r.append("importFile",t.data,t.fileName?t.fileName:"importFile");var o={data:r,method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"",Accept:"application/json"},cancelToken:n};return this.instance.request(o).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processCreateUserVideoImport(e)}))}},{key:"processCreateUserVideoImport",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Bm.fromJS(r),Promise.resolve(a)}if(201===t){var o,s=e.data;return o=Bm.fromJS(s),Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"createRoomImport",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Import/CreateRoomImport";a=a.replace(/[?&]$/,"");var r=new FormData;if(null===t||void 0===t)throw new Error("The parameter 'importFile' cannot be null.");r.append("importFile",t.data,t.fileName?t.fileName:"importFile");var o={data:r,method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"",Accept:"application/json"},cancelToken:n};return this.instance.request(o).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processCreateRoomImport(e)}))}},{key:"processCreateRoomImport",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Bm.fromJS(r),Promise.resolve(a)}if(201===t){var o,s=e.data;return o=Bm.fromJS(s),Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"createLearningPlanCourseImport",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Import/CreateLearningPlanCourseImport";a=a.replace(/[?&]$/,"");var r=new FormData;if(null===t||void 0===t)throw new Error("The parameter 'importFile' cannot be null.");r.append("importFile",t.data,t.fileName?t.fileName:"importFile");var o={data:r,method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"",Accept:"application/json"},cancelToken:n};return this.instance.request(o).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processCreateLearningPlanCourseImport(e)}))}},{key:"processCreateLearningPlanCourseImport",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Bm.fromJS(r),Promise.resolve(a)}if(201===t){var o,s=e.data;return o=Bm.fromJS(s),Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"createScormImport",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Import/CreateScormImport";a=a.replace(/[?&]$/,"");var r=new FormData;if(null===t||void 0===t)throw new Error("The parameter 'importFile' cannot be null.");r.append("importFile",t.data,t.fileName?t.fileName:"importFile");var o={data:r,method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"",Accept:"application/json"},cancelToken:n};return this.instance.request(o).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processCreateScormImport(e)}))}},{key:"processCreateScormImport",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Bm.fromJS(r),Promise.resolve(a)}if(201===t){var o,s=e.data;return o=Bm.fromJS(s),Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"createSecurityGroupImport",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Import/CreateSecurityGroupImport";a=a.replace(/[?&]$/,"");var r=new FormData;if(null===t||void 0===t)throw new Error("The parameter 'importFile' cannot be null.");r.append("importFile",t.data,t.fileName?t.fileName:"importFile");var o={data:r,method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"",Accept:"application/json"},cancelToken:n};return this.instance.request(o).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processCreateSecurityGroupImport(e)}))}},{key:"processCreateSecurityGroupImport",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Bm.fromJS(r),Promise.resolve(a)}if(201===t){var o,s=e.data;return o=Bm.fromJS(s),Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"createSecurityGroupUserImport",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Import/CreateSecurityGroupUserImport";a=a.replace(/[?&]$/,"");var r=new FormData;if(null===t||void 0===t)throw new Error("The parameter 'importFile' cannot be null.");r.append("importFile",t.data,t.fileName?t.fileName:"importFile");var o={data:r,method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"",Accept:"application/json"},cancelToken:n};return this.instance.request(o).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processCreateSecurityGroupUserImport(e)}))}},{key:"processCreateSecurityGroupUserImport",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Bm.fromJS(r),Promise.resolve(a)}if(201===t){var o,s=e.data;return o=Bm.fromJS(s),Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"createSessionInviteImport",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Import/CreateSessionInviteImport";a=a.replace(/[?&]$/,"");var r=new FormData;if(null===t||void 0===t)throw new Error("The parameter 'importFile' cannot be null.");r.append("importFile",t.data,t.fileName?t.fileName:"importFile");var o={data:r,method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"",Accept:"application/json"},cancelToken:n};return this.instance.request(o).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processCreateSessionInviteImport(e)}))}},{key:"processCreateSessionInviteImport",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Bm.fromJS(r),Promise.resolve(a)}if(201===t){var o,s=e.data;return o=Bm.fromJS(s),Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"createSessionParticipantEvaluationAnswerImport",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Import/CreateSessionParticipantEvaluationAnswerImport";a=a.replace(/[?&]$/,"");var r=new FormData;if(null===t||void 0===t)throw new Error("The parameter 'importFile' cannot be null.");r.append("importFile",t.data,t.fileName?t.fileName:"importFile");var o={data:r,method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"",Accept:"application/json"},cancelToken:n};return this.instance.request(o).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processCreateSessionParticipantEvaluationAnswerImport(e)}))}},{key:"processCreateSessionParticipantEvaluationAnswerImport",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Bm.fromJS(r),Promise.resolve(a)}if(201===t){var o,s=e.data;return o=Bm.fromJS(s),Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"createSessionEvaluationStatisticImport",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Import/CreateSessionEvaluationStatisticImport";a=a.replace(/[?&]$/,"");var r=new FormData;if(null===t||void 0===t)throw new Error("The parameter 'importFile' cannot be null.");r.append("importFile",t.data,t.fileName?t.fileName:"importFile");var o={data:r,method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"",Accept:"application/json"},cancelToken:n};return this.instance.request(o).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processCreateSessionEvaluationStatisticImport(e)}))}},{key:"processCreateSessionEvaluationStatisticImport",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Bm.fromJS(r),Promise.resolve(a)}if(201===t){var o,s=e.data;return o=Bm.fromJS(s),Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"createSessionParticipantLearningPackageProgressImport",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Import/CreateSessionParticipantLearningPackageProgressImport";a=a.replace(/[?&]$/,"");var r=new FormData;if(null===t||void 0===t)throw new Error("The parameter 'importFile' cannot be null.");r.append("importFile",t.data,t.fileName?t.fileName:"importFile");var o={data:r,method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"",Accept:"application/json"},cancelToken:n};return this.instance.request(o).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processCreateSessionParticipantLearningPackageProgressImport(e)}))}},{key:"processCreateSessionParticipantLearningPackageProgressImport",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Bm.fromJS(r),Promise.resolve(a)}if(201===t){var o,s=e.data;return o=Bm.fromJS(s),Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"createCompetencyFrameworkImport",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Import/CreateCompetencyFrameworkImport";a=a.replace(/[?&]$/,"");var r=new FormData;if(null===t||void 0===t)throw new Error("The parameter 'importFile' cannot be null.");r.append("importFile",t.data,t.fileName?t.fileName:"importFile");var o={data:r,method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"",Accept:"application/json"},cancelToken:n};return this.instance.request(o).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processCreateCompetencyFrameworkImport(e)}))}},{key:"processCreateCompetencyFrameworkImport",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Bm.fromJS(r),Promise.resolve(a)}if(201===t){var o,s=e.data;return o=Bm.fromJS(s),Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"createCompetencyFrameworkLicenseImport",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Import/CreateCompetencyFrameworkLicenseImport";a=a.replace(/[?&]$/,"");var r=new FormData;if(null===t||void 0===t)throw new Error("The parameter 'importFile' cannot be null.");r.append("importFile",t.data,t.fileName?t.fileName:"importFile");var o={data:r,method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"",Accept:"application/json"},cancelToken:n};return this.instance.request(o).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processCreateCompetencyFrameworkLicenseImport(e)}))}},{key:"processCreateCompetencyFrameworkLicenseImport",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Bm.fromJS(r),Promise.resolve(a)}if(201===t){var o,s=e.data;return o=Bm.fromJS(s),Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"createCompetencyFrameworkCompetencyImport",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Import/CreateCompetencyFrameworkCompetencyImport";a=a.replace(/[?&]$/,"");var r=new FormData;if(null===t||void 0===t)throw new Error("The parameter 'importFile' cannot be null.");r.append("importFile",t.data,t.fileName?t.fileName:"importFile");var o={data:r,method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"",Accept:"application/json"},cancelToken:n};return this.instance.request(o).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processCreateCompetencyFrameworkCompetencyImport(e)}))}},{key:"processCreateCompetencyFrameworkCompetencyImport",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Bm.fromJS(r),Promise.resolve(a)}if(201===t){var o,s=e.data;return o=Bm.fromJS(s),Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"createCompetencyFrameworkCategoryImport",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Import/CreateCompetencyFrameworkCategoryImport";a=a.replace(/[?&]$/,"");var r=new FormData;if(null===t||void 0===t)throw new Error("The parameter 'importFile' cannot be null.");r.append("importFile",t.data,t.fileName?t.fileName:"importFile");var o={data:r,method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"",Accept:"application/json"},cancelToken:n};return this.instance.request(o).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processCreateCompetencyFrameworkCategoryImport(e)}))}},{key:"processCreateCompetencyFrameworkCategoryImport",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Bm.fromJS(r),Promise.resolve(a)}if(201===t){var o,s=e.data;return o=Bm.fromJS(s),Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"createCompetencyFrameworkSubCategoryImport",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Import/CreateCompetencyFrameworkSubCategoryImport";a=a.replace(/[?&]$/,"");var r=new FormData;if(null===t||void 0===t)throw new Error("The parameter 'importFile' cannot be null.");r.append("importFile",t.data,t.fileName?t.fileName:"importFile");var o={data:r,method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"",Accept:"application/json"},cancelToken:n};return this.instance.request(o).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processCreateCompetencyFrameworkSubCategoryImport(e)}))}},{key:"processCreateCompetencyFrameworkSubCategoryImport",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Bm.fromJS(r),Promise.resolve(a)}if(201===t){var o,s=e.data;return o=Bm.fromJS(s),Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"createDevelopmentPlanImport",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Import/CreateDevelopmentPlanImport";a=a.replace(/[?&]$/,"");var r=new FormData;if(null===t||void 0===t)throw new Error("The parameter 'importFile' cannot be null.");r.append("importFile",t.data,t.fileName?t.fileName:"importFile");var o={data:r,method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"",Accept:"application/json"},cancelToken:n};return this.instance.request(o).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processCreateDevelopmentPlanImport(e)}))}},{key:"processCreateDevelopmentPlanImport",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Bm.fromJS(r),Promise.resolve(a)}if(201===t){var o,s=e.data;return o=Bm.fromJS(s),Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"createDevelopmentRecordImport",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Import/CreateDevelopmentRecordImport";a=a.replace(/[?&]$/,"");var r=new FormData;if(null===t||void 0===t)throw new Error("The parameter 'importFile' cannot be null.");r.append("importFile",t.data,t.fileName?t.fileName:"importFile");var o={data:r,method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"",Accept:"application/json"},cancelToken:n};return this.instance.request(o).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processCreateDevelopmentRecordImport(e)}))}},{key:"processCreateDevelopmentRecordImport",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Bm.fromJS(r),Promise.resolve(a)}if(201===t){var o,s=e.data;return o=Bm.fromJS(s),Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"createDevelopmentRecordLearningNeedImport",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Import/CreateDevelopmentRecordLearningNeedImport";a=a.replace(/[?&]$/,"");var r=new FormData;if(null===t||void 0===t)throw new Error("The parameter 'importFile' cannot be null.");r.append("importFile",t.data,t.fileName?t.fileName:"importFile");var o={data:r,method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"",Accept:"application/json"},cancelToken:n};return this.instance.request(o).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processCreateDevelopmentRecordLearningNeedImport(e)}))}},{key:"processCreateDevelopmentRecordLearningNeedImport",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Bm.fromJS(r),Promise.resolve(a)}if(201===t){var o,s=e.data;return o=Bm.fromJS(s),Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"createDevelopmentPlanOverallReflectionAndPeriodDeclarationImport",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Import/CreateDevelopmentPlanOverallReflectionAndPeriodDeclarationImport";a=a.replace(/[?&]$/,"");var r=new FormData;if(null===t||void 0===t)throw new Error("The parameter 'importFile' cannot be null.");r.append("importFile",t.data,t.fileName?t.fileName:"importFile");var o={data:r,method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"",Accept:"application/json"},cancelToken:n};return this.instance.request(o).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processCreateDevelopmentPlanOverallReflectionAndPeriodDeclarationImport(e)}))}},{key:"processCreateDevelopmentPlanOverallReflectionAndPeriodDeclarationImport",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Bm.fromJS(r),Promise.resolve(a)}if(201===t){var o,s=e.data;return o=Bm.fromJS(s),Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"exportTemplateCsv",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Import/ExportTemplateCsv?";if(null===e)throw new Error("The parameter 'moduleName' cannot be null.");void 0!==e&&(a+="moduleName="+encodeURIComponent(""+e)+"&");var r={responseType:"blob",method:"POST",url:a=a.replace(/[?&]$/,""),headers:{"x-api-version":void 0!==t&&null!==t?""+t:"",Accept:"application/octet-stream"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processExportTemplateCsv(e)}))}},{key:"processExportTemplateCsv",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t||206===t){var a=e.headers?e.headers["content-disposition"]:void 0,r=a?/filename\*=(?:(\\?['"])(.*?)\1|(?:[^\s]+'.*?')?([^;\n]*))/g.exec(a):void 0,o=r&&r.length>1?r[3]||r[2]:void 0;return o=o?decodeURIComponent(o):(r=a?/filename="?([^"]*?)"?(;|$)/g.exec(a):void 0)&&r.length>1?r[1]:void 0,Promise.resolve({fileName:o,status:t,data:new Blob([e.data],{type:e.headers["content-type"]}),headers:n})}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}}]),e}(),re=function(){function e(t,n){Object(l.a)(this,e),this.instance=void 0,this.baseUrl=void 0,this.jsonParseReviver=void 0,this.instance=n||u.a.create(),this.baseUrl=void 0!==t&&null!==t?t:""}return Object(c.a)(e,[{key:"getAll",value:function(e,t){var n=this,i=this.baseUrl+"/api/Integration/GetAll",a={method:"GET",url:i=i.replace(/[?&]$/,""),headers:{"x-api-version":void 0!==e&&null!==e?""+e:"",Accept:"application/json"},cancelToken:t};return this.instance.request(a).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return n.processGetAll(e)}))}},{key:"processGetAll",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Zm.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"getAllIntegrationJob",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Integration/GetAllIntegrationJob";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetAllIntegrationJob(e)}))}},{key:"processGetAllIntegrationJob",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Hm.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"getIntegrationJobById",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Integration/GetIntegrationJobById?";if(null===e)throw new Error("The parameter 'integrationJobId' cannot be null.");void 0!==e&&(a+="IntegrationJobId="+encodeURIComponent(""+e)+"&");var r={method:"GET",url:a=a.replace(/[?&]$/,""),headers:{"x-api-version":void 0!==t&&null!==t?""+t:"",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetIntegrationJobById(e)}))}},{key:"processGetIntegrationJobById",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=_m.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"getIntegrationLogsById",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Integration/GetIntegrationLogsById?";if(null===e)throw new Error("The parameter 'integrationJobId' cannot be null.");void 0!==e&&(a+="IntegrationJobId="+encodeURIComponent(""+e)+"&");var r={method:"GET",url:a=a.replace(/[?&]$/,""),headers:{"x-api-version":void 0!==t&&null!==t?""+t:"",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetIntegrationLogsById(e)}))}},{key:"processGetIntegrationLogsById",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Km.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"getAllIntegrationTags",value:function(e,t){var n=this,i=this.baseUrl+"/api/Integration/GetAllIntegrationTags",a={method:"GET",url:i=i.replace(/[?&]$/,""),headers:{"x-api-version":void 0!==e&&null!==e?""+e:"",Accept:"application/json"},cancelToken:t};return this.instance.request(a).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return n.processGetAllIntegrationTags(e)}))}},{key:"processGetAllIntegrationTags",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a=null,r=e.data;if(Array.isArray(r)){a=[];var o,l=Object(s.a)(r);try{for(l.s();!(o=l.n()).done;){var c=o.value;a.push(c)}}catch(f){l.e(f)}finally{l.f()}}else a=null;return Promise.resolve(a)}if(404===t){var d=e.data,u=d;return sC("Not Found",t,d,n,wg.fromJS(u))}var m=e.data,v=m;return sC("Error",t,m,n,wg.fromJS(v))}},{key:"getIntegrationJobCoursesById",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Integration/GetIntegrationJobCoursesById";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetIntegrationJobCoursesById(e)}))}},{key:"processGetIntegrationJobCoursesById",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Vm.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"getIntegrationJobSessionsById",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Integration/GetIntegrationJobSessionsById";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetIntegrationJobSessionsById(e)}))}},{key:"processGetIntegrationJobSessionsById",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Qm.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"getIntegrationJobAttendeesById",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Integration/GetIntegrationJobAttendeesById";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetIntegrationJobAttendeesById(e)}))}},{key:"processGetIntegrationJobAttendeesById",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Mm.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"archiveIntegrationJob",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Integration/ArchiveIntegrationJob";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"PUT",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processArchiveIntegrationJob(e)}))}},{key:"processArchiveIntegrationJob",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){e.data;return Promise.resolve(null)}if(204===t){e.data;return Promise.resolve(null)}if(400===t){var a=e.data,r=a;return sC("Bad Request",t,a,n,aC.fromJS(r))}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"downloadIntegrationJobFeed",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Integration/DownloadIntegrationJobFeed?";if(null===e)throw new Error("The parameter 'integrationJobId' cannot be null.");void 0!==e&&(a+="IntegrationJobId="+encodeURIComponent(""+e)+"&");var r={responseType:"blob",method:"GET",url:a=a.replace(/[?&]$/,""),headers:{"x-api-version":void 0!==t&&null!==t?""+t:"",Accept:"application/octet-stream"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processDownloadIntegrationJobFeed(e)}))}},{key:"processDownloadIntegrationJobFeed",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t||206===t){var a=e.headers?e.headers["content-disposition"]:void 0,r=a?/filename\*=(?:(\\?['"])(.*?)\1|(?:[^\s]+'.*?')?([^;\n]*))/g.exec(a):void 0,o=r&&r.length>1?r[3]||r[2]:void 0;return o=o?decodeURIComponent(o):(r=a?/filename="?([^"]*?)"?(;|$)/g.exec(a):void 0)&&r.length>1?r[1]:void 0,Promise.resolve({fileName:o,status:t,data:new Blob([e.data],{type:e.headers["content-type"]}),headers:n})}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"getById",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Integration/GetById?";if(null===e)throw new Error("The parameter 'integrationId' cannot be null.");void 0!==e&&(a+="integrationId="+encodeURIComponent(""+e)+"&");var r={method:"GET",url:a=a.replace(/[?&]$/,""),headers:{"x-api-version":void 0!==t&&null!==t?""+t:"",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetById(e)}))}},{key:"processGetById",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=zm.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"update",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Integration/Update";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"PUT",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processUpdate(e)}))}},{key:"processUpdate",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=zm.fromJS(r),Promise.resolve(a)}if(201===t){var o,s=e.data;return o=zm.fromJS(s),Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"trigger",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Integration/Trigger";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"PUT",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processTrigger(e)}))}},{key:"processTrigger",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=_m.fromJS(r),Promise.resolve(a)}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"downloadPLICertificate",value:function(e,t,n,i){var a=this,r=this.baseUrl+"/api/Integration/DownloadPLICertificate?";if(null===e)throw new Error("The parameter 'sessionParticipantId' cannot be null.");if(void 0!==e&&(r+="sessionParticipantId="+encodeURIComponent(""+e)+"&"),null===t)throw new Error("The parameter 'integraionSessionParticipantCertificateId' cannot be null.");void 0!==t&&(r+="integraionSessionParticipantCertificateId="+encodeURIComponent(""+t)+"&");var o={responseType:"blob",method:"GET",url:r=r.replace(/[?&]$/,""),headers:{"x-api-version":void 0!==n&&null!==n?""+n:"",Accept:"application/octet-stream"},cancelToken:i};return this.instance.request(o).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return a.processDownloadPLICertificate(e)}))}},{key:"processDownloadPLICertificate",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t||206===t){var a=e.headers?e.headers["content-disposition"]:void 0,r=a?/filename\*=(?:(\\?['"])(.*?)\1|(?:[^\s]+'.*?')?([^;\n]*))/g.exec(a):void 0,o=r&&r.length>1?r[3]||r[2]:void 0;return o=o?decodeURIComponent(o):(r=a?/filename="?([^"]*?)"?(;|$)/g.exec(a):void 0)&&r.length>1?r[1]:void 0,Promise.resolve({fileName:o,status:t,data:new Blob([e.data],{type:e.headers["content-type"]}),headers:n})}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}}]),e}(),oe=function(){function e(t,n){Object(l.a)(this,e),this.instance=void 0,this.baseUrl=void 0,this.jsonParseReviver=void 0,this.instance=n||u.a.create(),this.baseUrl=void 0!==t&&null!==t?t:""}return Object(c.a)(e,[{key:"generate",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/JurisdictionReport/Generate";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),responseType:"blob",method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/octet-stream"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGenerate(e)}))}},{key:"processGenerate",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t||206===t){var a=e.headers?e.headers["content-disposition"]:void 0,r=a?/filename\*=(?:(\\?['"])(.*?)\1|(?:[^\s]+'.*?')?([^;\n]*))/g.exec(a):void 0,o=r&&r.length>1?r[3]||r[2]:void 0;return o=o?decodeURIComponent(o):(r=a?/filename="?([^"]*?)"?(;|$)/g.exec(a):void 0)&&r.length>1?r[1]:void 0,Promise.resolve({fileName:o,status:t,data:new Blob([e.data],{type:e.headers["content-type"]}),headers:n})}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}}]),e}(),se=function(){function e(t,n){Object(l.a)(this,e),this.instance=void 0,this.baseUrl=void 0,this.jsonParseReviver=void 0,this.instance=n||u.a.create(),this.baseUrl=void 0!==t&&null!==t?t:""}return Object(c.a)(e,[{key:"getAll",value:function(e,t){var n=this,i=this.baseUrl+"/api/Language/GetAll",a={method:"GET",url:i=i.replace(/[?&]$/,""),headers:{"x-api-version":void 0!==e&&null!==e?""+e:"",Accept:"application/json"},cancelToken:t};return this.instance.request(a).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return n.processGetAll(e)}))}},{key:"processGetAll",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a=null,r=e.data;if(Array.isArray(r)){a=[];var o,l=Object(s.a)(r);try{for(l.s();!(o=l.n()).done;){var c=o.value;a.push(nv.fromJS(c))}}catch(f){l.e(f)}finally{l.f()}}else a=null;return Promise.resolve(a)}if(404===t){var d=e.data,u=d;return sC("Not Found",t,d,n,wg.fromJS(u))}var m=e.data,v=m;return sC("Error",t,m,n,wg.fromJS(v))}}]),e}(),le=function(){function e(t,n){Object(l.a)(this,e),this.instance=void 0,this.baseUrl=void 0,this.jsonParseReviver=void 0,this.instance=n||u.a.create(),this.baseUrl=void 0!==t&&null!==t?t:""}return Object(c.a)(e,[{key:"get",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/LearningPlan/Get/{learningPlanId}";if(void 0===e||null===e)throw new Error("The parameter 'learningPlanId' must be defined.");var r={method:"GET",url:a=(a=a.replace("{learningPlanId}",encodeURIComponent(""+e))).replace(/[?&]$/,""),headers:{"x-api-version":void 0!==t&&null!==t?""+t:"",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGet(e)}))}},{key:"processGet",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Fv.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"getByGuid",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/LearningPlan/GetByGuid?";if(null===e)throw new Error("The parameter 'guid' cannot be null.");void 0!==e&&(a+="guid="+encodeURIComponent(""+e)+"&");var r={method:"POST",url:a=a.replace(/[?&]$/,""),headers:{"x-api-version":void 0!==t&&null!==t?""+t:"",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetByGuid(e)}))}},{key:"processGetByGuid",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=_v.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"getAll",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/LearningPlan/GetAll";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetAll(e)}))}},{key:"processGetAll",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Xv.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"getAllDashboard",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/LearningPlan/GetAllDashboard";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetAllDashboard(e)}))}},{key:"processGetAllDashboard",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Tv.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"getAllId",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/LearningPlan/GetAllId";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetAllId(e)}))}},{key:"processGetAllId",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Lv.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"getLearningPlanListById",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/LearningPlan/GetLearningPlanListById";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetLearningPlanListById(e)}))}},{key:"processGetLearningPlanListById",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Xv.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"create",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/LearningPlan/Create";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processCreate(e)}))}},{key:"processCreate",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=wv.fromJS(r),Promise.resolve(a)}if(201===t){var o,s=e.data;return o=wv.fromJS(s),Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"update",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/LearningPlan/Update";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"PUT",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processUpdate(e)}))}},{key:"processUpdate",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=zE.fromJS(r),Promise.resolve(a)}if(201===t){var o,s=e.data;return o=zE.fromJS(s),Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"delete",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/LearningPlan/Delete";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"DELETE",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processDelete(e)}))}},{key:"processDelete",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){e.data;return Promise.resolve(null)}if(204===t){e.data;return Promise.resolve(null)}if(400===t){var a=e.data,r=a;return sC("Bad Request",t,a,n,aC.fromJS(r))}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"archive",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/LearningPlan/Archive";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"PUT",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processArchive(e)}))}},{key:"processArchive",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){e.data;return Promise.resolve(null)}if(204===t){e.data;return Promise.resolve(null)}if(400===t){var a=e.data,r=a;return sC("Bad Request",t,a,n,aC.fromJS(r))}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"getLearningPlanFilterList",value:function(e,t){var n=this,i=this.baseUrl+"/api/LearningPlan/GetLearningPlanFilterList",a={method:"GET",url:i=i.replace(/[?&]$/,""),headers:{"x-api-version":void 0!==e&&null!==e?""+e:"",Accept:"application/json"},cancelToken:t};return this.instance.request(a).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return n.processGetLearningPlanFilterList(e)}))}},{key:"processGetLearningPlanFilterList",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Dv.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"getAllActiveLearningPlanNames",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/LearningPlan/GetAllActiveLearningPlanNames";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetAllActiveLearningPlanNames(e)}))}},{key:"processGetAllActiveLearningPlanNames",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a=null,r=e.data;if(Array.isArray(r)){a=[];var o,l=Object(s.a)(r);try{for(l.s();!(o=l.n()).done;){var c=o.value;a.push(nt.fromJS(c))}}catch(f){l.e(f)}finally{l.f()}}else a=null;return Promise.resolve(a)}if(404===t){var d=e.data,u=d;return sC("Not Found",t,d,n,wg.fromJS(u))}var m=e.data,v=m;return sC("Error",t,m,n,wg.fromJS(v))}},{key:"validate",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/LearningPlan/Validate";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processValidate(e)}))}},{key:"processValidate",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=void 0!==r?r:null,Promise.resolve(a)}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"getLearningPlanCatalog",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/LearningPlan/GetLearningPlanCatalog";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetLearningPlanCatalog(e)}))}},{key:"processGetLearningPlanCatalog",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Ev.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"generateLearningPlanLinkGuid",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/LearningPlan/GenerateLearningPlanLinkGuid";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGenerateLearningPlanLinkGuid(e)}))}},{key:"processGenerateLearningPlanLinkGuid",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Bv.fromJS(r),Promise.resolve(a)}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"getLearningPlanRegistrationLinkDetailsByGuid",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/LearningPlan/GetLearningPlanRegistrationLinkDetailsByGuid";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetLearningPlanRegistrationLinkDetailsByGuid(e)}))}},{key:"processGetLearningPlanRegistrationLinkDetailsByGuid",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Vv.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"updateLearningPlanEmailSetting",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/LearningPlan/UpdateLearningPlanEmailSetting";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processUpdateLearningPlanEmailSetting(e)}))}},{key:"processUpdateLearningPlanEmailSetting",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){e.data;return Promise.resolve(null)}if(201===t){e.data;return Promise.resolve(null)}if(400===t){var a=e.data,r=a;return sC("Bad Request",t,a,n,aC.fromJS(r))}var o=e.data,s=o;return sC("Error",t,o,n,wg.fromJS(s))}},{key:"createLearningPlanNotificationEmailSetting",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/LearningPlan/CreateLearningPlanNotificationEmailSetting";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processCreateLearningPlanNotificationEmailSetting(e)}))}},{key:"processCreateLearningPlanNotificationEmailSetting",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Jv.fromJS(r),Promise.resolve(a)}if(201===t){var o,s=e.data;return o=Jv.fromJS(s),Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"updateLearningPlanNotificationEmailSetting",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/LearningPlan/UpdateLearningPlanNotificationEmailSetting";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processUpdateLearningPlanNotificationEmailSetting(e)}))}},{key:"processUpdateLearningPlanNotificationEmailSetting",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Jv.fromJS(r),Promise.resolve(a)}if(201===t){var o,s=e.data;return o=Jv.fromJS(s),Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"getLearningPlanNotificationEmailSetting",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/LearningPlan/GetLearningPlanNotificationEmailSetting";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetLearningPlanNotificationEmailSetting(e)}))}},{key:"processGetLearningPlanNotificationEmailSetting",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Gv.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}}]),e}(),ce=function(){function e(t,n){Object(l.a)(this,e),this.instance=void 0,this.baseUrl=void 0,this.jsonParseReviver=void 0,this.instance=n||u.a.create(),this.baseUrl=void 0!==t&&null!==t?t:""}return Object(c.a)(e,[{key:"get",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/LearningPlanCriteria/Get";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGet(e)}))}},{key:"processGet",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Gr.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"getUsers",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/LearningPlanCriteria/GetUsers";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetUsers(e)}))}},{key:"processGetUsers",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=jv.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"create",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/LearningPlanCriteria/Create";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processCreate(e)}))}},{key:"processCreate",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){e.data;return Promise.resolve(null)}if(201===t){e.data;return Promise.resolve(null)}if(400===t){var a=e.data,r=a;return sC("Bad Request",t,a,n,aC.fromJS(r))}var o=e.data,s=o;return sC("Error",t,o,n,wg.fromJS(s))}}]),e}(),de=function(){function e(t,n){Object(l.a)(this,e),this.instance=void 0,this.baseUrl=void 0,this.jsonParseReviver=void 0,this.instance=n||u.a.create(),this.baseUrl=void 0!==t&&null!==t?t:""}return Object(c.a)(e,[{key:"exportCsv",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/LearningPlanExport/ExportCsv";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),responseType:"blob",method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/octet-stream"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processExportCsv(e)}))}},{key:"processExportCsv",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t||206===t){var a=e.headers?e.headers["content-disposition"]:void 0,r=a?/filename\*=(?:(\\?['"])(.*?)\1|(?:[^\s]+'.*?')?([^;\n]*))/g.exec(a):void 0,o=r&&r.length>1?r[3]||r[2]:void 0;return o=o?decodeURIComponent(o):(r=a?/filename="?([^"]*?)"?(;|$)/g.exec(a):void 0)&&r.length>1?r[1]:void 0,Promise.resolve({fileName:o,status:t,data:new Blob([e.data],{type:e.headers["content-type"]}),headers:n})}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"exportExcel",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/LearningPlanExport/ExportExcel";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),responseType:"blob",method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/octet-stream"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processExportExcel(e)}))}},{key:"processExportExcel",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t||206===t){var a=e.headers?e.headers["content-disposition"]:void 0,r=a?/filename\*=(?:(\\?['"])(.*?)\1|(?:[^\s]+'.*?')?([^;\n]*))/g.exec(a):void 0,o=r&&r.length>1?r[3]||r[2]:void 0;return o=o?decodeURIComponent(o):(r=a?/filename="?([^"]*?)"?(;|$)/g.exec(a):void 0)&&r.length>1?r[1]:void 0,Promise.resolve({fileName:o,status:t,data:new Blob([e.data],{type:e.headers["content-type"]}),headers:n})}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"exportParticipantsCsv",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/LearningPlanExport/ExportParticipantsCsv";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),responseType:"blob",method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/octet-stream"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processExportParticipantsCsv(e)}))}},{key:"processExportParticipantsCsv",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t||206===t){var a=e.headers?e.headers["content-disposition"]:void 0,r=a?/filename\*=(?:(\\?['"])(.*?)\1|(?:[^\s]+'.*?')?([^;\n]*))/g.exec(a):void 0,o=r&&r.length>1?r[3]||r[2]:void 0;return o=o?decodeURIComponent(o):(r=a?/filename="?([^"]*?)"?(;|$)/g.exec(a):void 0)&&r.length>1?r[1]:void 0,Promise.resolve({fileName:o,status:t,data:new Blob([e.data],{type:e.headers["content-type"]}),headers:n})}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"exportParticipantsExcel",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/LearningPlanExport/ExportParticipantsExcel";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),responseType:"blob",method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/octet-stream"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processExportParticipantsExcel(e)}))}},{key:"processExportParticipantsExcel",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t||206===t){var a=e.headers?e.headers["content-disposition"]:void 0,r=a?/filename\*=(?:(\\?['"])(.*?)\1|(?:[^\s]+'.*?')?([^;\n]*))/g.exec(a):void 0,o=r&&r.length>1?r[3]||r[2]:void 0;return o=o?decodeURIComponent(o):(r=a?/filename="?([^"]*?)"?(;|$)/g.exec(a):void 0)&&r.length>1?r[1]:void 0,Promise.resolve({fileName:o,status:t,data:new Blob([e.data],{type:e.headers["content-type"]}),headers:n})}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}}]),e}(),ue=function(){function e(t,n){Object(l.a)(this,e),this.instance=void 0,this.baseUrl=void 0,this.jsonParseReviver=void 0,this.instance=n||u.a.create(),this.baseUrl=void 0!==t&&null!==t?t:""}return Object(c.a)(e,[{key:"getAll",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/LearningPlanParticipant/GetAll";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetAll(e)}))}},{key:"processGetAll",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=zv.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"add",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/LearningPlanParticipant/Add";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processAdd(e)}))}},{key:"processAdd",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a=null,r=e.data;if(Array.isArray(r)){a=[];var o,l=Object(s.a)(r);try{for(l.s();!(o=l.n()).done;){var c=o.value;a.push(Uv.fromJS(c))}}catch(d){l.e(d)}finally{l.f()}}else a=null;return Promise.resolve(a)}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"delete",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/LearningPlanParticipant/Delete";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"DELETE",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processDelete(e)}))}},{key:"processDelete",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a=null,r=e.data;if(Array.isArray(r)){a=[];var o,l=Object(s.a)(r);try{for(l.s();!(o=l.n()).done;){var c=o.value;a.push(Uv.fromJS(c))}}catch(h){l.e(h)}finally{l.f()}}else a=null;return Promise.resolve(a)}if(204===t)return sC("Success",t,e.data,n);if(400===t){var d=e.data,u=d;return sC("Bad Request",t,d,n,aC.fromJS(u))}if(404===t){var m=e.data,v=m;return sC("Not Found",t,m,n,wg.fromJS(v))}var f=e.data,p=f;return sC("Error",t,f,n,wg.fromJS(p))}},{key:"update",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/LearningPlanParticipant/Update";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processUpdate(e)}))}},{key:"processUpdate",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=void 0!==r?r:null,Promise.resolve(a)}if(201===t){var o,s=e.data;return o=void 0!==s?s:null,Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"getAllAvailableUsers",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/LearningPlanParticipant/GetAllAvailableUsers";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetAllAvailableUsers(e)}))}},{key:"processGetAllAvailableUsers",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=FS.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"getAllLearningPlanParticipantRequirements",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/LearningPlanParticipant/GetAllLearningPlanParticipantRequirements";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetAllLearningPlanParticipantRequirements(e)}))}},{key:"processGetAllLearningPlanParticipantRequirements",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Mv.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"exclude",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/LearningPlanParticipant/Exclude";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"PUT",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processExclude(e)}))}},{key:"processExclude",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a=null,r=e.data;if(Array.isArray(r)){a=[];var o,l=Object(s.a)(r);try{for(l.s();!(o=l.n()).done;){var c=o.value;a.push(Uv.fromJS(c))}}catch(d){l.e(d)}finally{l.f()}}else a=null;return Promise.resolve(a)}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}}]),e}(),me=function(){function e(t,n){Object(l.a)(this,e),this.instance=void 0,this.baseUrl=void 0,this.jsonParseReviver=void 0,this.instance=n||u.a.create(),this.baseUrl=void 0!==t&&null!==t?t:""}return Object(c.a)(e,[{key:"get",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/LearningPlanRequirement/Get";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGet(e)}))}},{key:"processGet",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Yv.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"update",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/LearningPlanRequirement/Update";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"PUT",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processUpdate(e)}))}},{key:"processUpdate",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=wv.fromJS(r),Promise.resolve(a)}if(201===t){var o,s=e.data;return o=wv.fromJS(s),Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"getAvailableLearningPlanCourses",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/LearningPlanRequirement/GetAvailableLearningPlanCourses";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetAvailableLearningPlanCourses(e)}))}},{key:"processGetAvailableLearningPlanCourses",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Ln.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"getAvailableLearningPlanCoursesById",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/LearningPlanRequirement/GetAvailableLearningPlanCoursesById";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetAvailableLearningPlanCoursesById(e)}))}},{key:"processGetAvailableLearningPlanCoursesById",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a=null,r=e.data;if(Array.isArray(r)){a=[];var o,l=Object(s.a)(r);try{for(l.s();!(o=l.n()).done;){var c=o.value;a.push(Dn.fromJS(c))}}catch(f){l.e(f)}finally{l.f()}}else a=null;return Promise.resolve(a)}if(404===t){var d=e.data,u=d;return sC("Not Found",t,d,n,wg.fromJS(u))}var m=e.data,v=m;return sC("Error",t,m,n,wg.fromJS(v))}},{key:"getAvailableLearningPlanActivities",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/LearningPlanRequirement/GetAvailableLearningPlanActivities";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetAvailableLearningPlanActivities(e)}))}},{key:"processGetAvailableLearningPlanActivities",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Nn.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"getAvailableLearningPlanActivitiesById",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/LearningPlanRequirement/GetAvailableLearningPlanActivitiesById";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetAvailableLearningPlanActivitiesById(e)}))}},{key:"processGetAvailableLearningPlanActivitiesById",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a=null,r=e.data;if(Array.isArray(r)){a=[];var o,l=Object(s.a)(r);try{for(l.s();!(o=l.n()).done;){var c=o.value;a.push(Pn.fromJS(c))}}catch(f){l.e(f)}finally{l.f()}}else a=null;return Promise.resolve(a)}if(404===t){var d=e.data,u=d;return sC("Not Found",t,d,n,wg.fromJS(u))}var m=e.data,v=m;return sC("Error",t,m,n,wg.fromJS(v))}},{key:"getRequirementSessions",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/LearningPlanRequirement/GetRequirementSessions";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetRequirementSessions(e)}))}},{key:"processGetRequirementSessions",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a=null,r=e.data;if(Array.isArray(r)){a=[];var o,l=Object(s.a)(r);try{for(l.s();!(o=l.n()).done;){var c=o.value;a.push(Hv.fromJS(c))}}catch(f){l.e(f)}finally{l.f()}}else a=null;return Promise.resolve(a)}if(404===t){var d=e.data,u=d;return sC("Not Found",t,d,n,wg.fromJS(u))}var m=e.data,v=m;return sC("Error",t,m,n,wg.fromJS(v))}}]),e}(),ve=function(){function e(t,n){Object(l.a)(this,e),this.instance=void 0,this.baseUrl=void 0,this.jsonParseReviver=void 0,this.instance=n||u.a.create(),this.baseUrl=void 0!==t&&null!==t?t:""}return Object(c.a)(e,[{key:"getAll",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/LearningPlanSavedFilter/GetAll";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetAll(e)}))}},{key:"processGetAll",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Qv.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"get",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/LearningPlanSavedFilter/Get";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGet(e)}))}},{key:"processGet",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=$v.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"create",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/LearningPlanSavedFilter/Create";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processCreate(e)}))}},{key:"processCreate",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=$v.fromJS(r),Promise.resolve(a)}if(201===t){var o,s=e.data;return o=$v.fromJS(s),Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"update",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/LearningPlanSavedFilter/Update";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"PUT",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processUpdate(e)}))}},{key:"processUpdate",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=$v.fromJS(r),Promise.resolve(a)}if(201===t){var o,s=e.data;return o=$v.fromJS(s),Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"delete",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/LearningPlanSavedFilter/Delete";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"DELETE",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processDelete(e)}))}},{key:"processDelete",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){e.data;return Promise.resolve(null)}if(204===t){e.data;return Promise.resolve(null)}if(400===t){var a=e.data,r=a;return sC("Bad Request",t,a,n,aC.fromJS(r))}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"validateLearningPlanSavedFilterName",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/LearningPlanSavedFilter/ValidateLearningPlanSavedFilterName";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processValidateLearningPlanSavedFilterName(e)}))}},{key:"processValidateLearningPlanSavedFilterName",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=void 0!==r?r:null,Promise.resolve(a)}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}}]),e}(),fe=function(){function e(t,n){Object(l.a)(this,e),this.instance=void 0,this.baseUrl=void 0,this.jsonParseReviver=void 0,this.instance=n||u.a.create(),this.baseUrl=void 0!==t&&null!==t?t:""}return Object(c.a)(e,[{key:"getAll",value:function(e,t){var n=this,i=this.baseUrl+"/api/LearningSetting/GetAll",a={method:"GET",url:i=i.replace(/[?&]$/,""),headers:{"x-api-version":void 0!==e&&null!==e?""+e:"",Accept:"application/json"},cancelToken:t};return this.instance.request(a).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return n.processGetAll(e)}))}},{key:"processGetAll",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a=null,r=e.data;if(Array.isArray(r)){a=[];var o,l=Object(s.a)(r);try{for(l.s();!(o=l.n()).done;){var c=o.value;a.push(tf.fromJS(c))}}catch(f){l.e(f)}finally{l.f()}}else a=null;return Promise.resolve(a)}if(404===t){var d=e.data,u=d;return sC("Not Found",t,d,n,wg.fromJS(u))}var m=e.data,v=m;return sC("Error",t,m,n,wg.fromJS(v))}},{key:"updateLearningSettings",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/LearningSetting/UpdateLearningSettings";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"PUT",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processUpdateLearningSettings(e)}))}},{key:"processUpdateLearningSettings",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a=null,r=e.data;if(Array.isArray(r)){a=[];var o,l=Object(s.a)(r);try{for(l.s();!(o=l.n()).done;){var c=o.value;a.push(tf.fromJS(c))}}catch(g){l.e(g)}finally{l.f()}}else a=null;return Promise.resolve(a)}if(201===t){var d=null,u=e.data;if(Array.isArray(u)){d=[];var m,v=Object(s.a)(u);try{for(v.s();!(m=v.n()).done;){var f=m.value;d.push(tf.fromJS(f))}}catch(g){v.e(g)}finally{v.f()}}else d=null;return Promise.resolve(d)}if(400===t){var p=e.data,h=p;return sC("Bad Request",t,p,n,aC.fromJS(h))}var y=e.data,b=y;return sC("Error",t,y,n,wg.fromJS(b))}}]),e}(),pe=function(){function e(t,n){Object(l.a)(this,e),this.instance=void 0,this.baseUrl=void 0,this.jsonParseReviver=void 0,this.instance=n||u.a.create(),this.baseUrl=void 0!==t&&null!==t?t:""}return Object(c.a)(e,[{key:"getAll",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Level/GetAll";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetAll(e)}))}},{key:"processGetAll",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=rf.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"exportCsv",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Level/ExportCsv";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),responseType:"blob",method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/octet-stream"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processExportCsv(e)}))}},{key:"processExportCsv",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t||206===t){var a=e.headers?e.headers["content-disposition"]:void 0,r=a?/filename\*=(?:(\\?['"])(.*?)\1|(?:[^\s]+'.*?')?([^;\n]*))/g.exec(a):void 0,o=r&&r.length>1?r[3]||r[2]:void 0;return o=o?decodeURIComponent(o):(r=a?/filename="?([^"]*?)"?(;|$)/g.exec(a):void 0)&&r.length>1?r[1]:void 0,Promise.resolve({fileName:o,status:t,data:new Blob([e.data],{type:e.headers["content-type"]}),headers:n})}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"exportExcel",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Level/ExportExcel";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),responseType:"blob",method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/octet-stream"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processExportExcel(e)}))}},{key:"processExportExcel",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t||206===t){var a=e.headers?e.headers["content-disposition"]:void 0,r=a?/filename\*=(?:(\\?['"])(.*?)\1|(?:[^\s]+'.*?')?([^;\n]*))/g.exec(a):void 0,o=r&&r.length>1?r[3]||r[2]:void 0;return o=o?decodeURIComponent(o):(r=a?/filename="?([^"]*?)"?(;|$)/g.exec(a):void 0)&&r.length>1?r[1]:void 0,Promise.resolve({fileName:o,status:t,data:new Blob([e.data],{type:e.headers["content-type"]}),headers:n})}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"getLeveListById",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Level/GetLeveListById";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetLeveListById(e)}))}},{key:"processGetLeveListById",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a=null,r=e.data;if(Array.isArray(r)){a=[];var o,l=Object(s.a)(r);try{for(l.s();!(o=l.n()).done;){var c=o.value;a.push(af.fromJS(c))}}catch(f){l.e(f)}finally{l.f()}}else a=null;return Promise.resolve(a)}if(404===t){var d=e.data,u=d;return sC("Not Found",t,d,n,wg.fromJS(u))}var m=e.data,v=m;return sC("Error",t,m,n,wg.fromJS(v))}},{key:"get",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Level/Get/{levelId}";if(void 0===e||null===e)throw new Error("The parameter 'levelId' must be defined.");var r={method:"GET",url:a=(a=a.replace("{levelId}",encodeURIComponent(""+e))).replace(/[?&]$/,""),headers:{"x-api-version":void 0!==t&&null!==t?""+t:"",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGet(e)}))}},{key:"processGet",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=af.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"create",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Level/Create";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processCreate(e)}))}},{key:"processCreate",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=af.fromJS(r),Promise.resolve(a)}if(201===t){var o,s=e.data;return o=af.fromJS(s),Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"update",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Level/Update";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"PUT",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processUpdate(e)}))}},{key:"processUpdate",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=af.fromJS(r),Promise.resolve(a)}if(201===t){var o,s=e.data;return o=af.fromJS(s),Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"delete",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Level/Delete";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"DELETE",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processDelete(e)}))}},{key:"processDelete",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a=null,r=e.data;if(Array.isArray(r)){a=[];var o,l=Object(s.a)(r);try{for(l.s();!(o=l.n()).done;){var c=o.value;a.push(af.fromJS(c))}}catch(h){l.e(h)}finally{l.f()}}else a=null;return Promise.resolve(a)}if(204===t)return sC("Success",t,e.data,n);if(400===t){var d=e.data,u=d;return sC("Bad Request",t,d,n,aC.fromJS(u))}if(404===t){var m=e.data,v=m;return sC("Not Found",t,m,n,wg.fromJS(v))}var f=e.data,p=f;return sC("Error",t,f,n,wg.fromJS(p))}},{key:"archive",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Level/Archive";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"PUT",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processArchive(e)}))}},{key:"processArchive",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){e.data;return Promise.resolve(null)}if(204===t){e.data;return Promise.resolve(null)}if(400===t){var a=e.data,r=a;return sC("Bad Request",t,a,n,aC.fromJS(r))}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"merge",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Level/Merge";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processMerge(e)}))}},{key:"processMerge",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){e.data;return Promise.resolve(null)}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"validateLevelName",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Level/ValidateLevelName";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processValidateLevelName(e)}))}},{key:"processValidateLevelName",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=void 0!==r?r:null,Promise.resolve(a)}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"validateLevelCode",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Level/ValidateLevelCode";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processValidateLevelCode(e)}))}},{key:"processValidateLevelCode",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=void 0!==r?r:null,Promise.resolve(a)}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}}]),e}(),he=function(){function e(t,n){Object(l.a)(this,e),this.instance=void 0,this.baseUrl=void 0,this.jsonParseReviver=void 0,this.instance=n||u.a.create(),this.baseUrl=void 0!==t&&null!==t?t:""}return Object(c.a)(e,[{key:"getAll",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/LibraryFile/GetAll";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetAll(e)}))}},{key:"processGetAll",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=df.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"exportCsv",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/LibraryFile/ExportCsv";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),responseType:"blob",method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/octet-stream"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processExportCsv(e)}))}},{key:"processExportCsv",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t||206===t){var a=e.headers?e.headers["content-disposition"]:void 0,r=a?/filename\*=(?:(\\?['"])(.*?)\1|(?:[^\s]+'.*?')?([^;\n]*))/g.exec(a):void 0,o=r&&r.length>1?r[3]||r[2]:void 0;return o=o?decodeURIComponent(o):(r=a?/filename="?([^"]*?)"?(;|$)/g.exec(a):void 0)&&r.length>1?r[1]:void 0,Promise.resolve({fileName:o,status:t,data:new Blob([e.data],{type:e.headers["content-type"]}),headers:n})}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"exportExcel",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/LibraryFile/ExportExcel";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),responseType:"blob",method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/octet-stream"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processExportExcel(e)}))}},{key:"processExportExcel",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t||206===t){var a=e.headers?e.headers["content-disposition"]:void 0,r=a?/filename\*=(?:(\\?['"])(.*?)\1|(?:[^\s]+'.*?')?([^;\n]*))/g.exec(a):void 0,o=r&&r.length>1?r[3]||r[2]:void 0;return o=o?decodeURIComponent(o):(r=a?/filename="?([^"]*?)"?(;|$)/g.exec(a):void 0)&&r.length>1?r[1]:void 0,Promise.resolve({fileName:o,status:t,data:new Blob([e.data],{type:e.headers["content-type"]}),headers:n})}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"getLibraryFileListById",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/LibraryFile/GetLibraryFileListById";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetLibraryFileListById(e)}))}},{key:"processGetLibraryFileListById",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=df.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"getSessionsByLibraryFileId",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/LibraryFile/GetSessionsByLibraryFileId";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetSessionsByLibraryFileId(e)}))}},{key:"processGetSessionsByLibraryFileId",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=ya.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"getAllMaterials",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/LibraryFile/GetAllMaterials";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetAllMaterials(e)}))}},{key:"processGetAllMaterials",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=df.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"getAllFirmLogos",value:function(e,t){var n=this,i=this.baseUrl+"/api/LibraryFile/GetAllFirmLogos",a={method:"GET",url:i=i.replace(/[?&]$/,""),headers:{"x-api-version":void 0!==e&&null!==e?""+e:"",Accept:"application/json"},cancelToken:t};return this.instance.request(a).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return n.processGetAllFirmLogos(e)}))}},{key:"processGetAllFirmLogos",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a=null,r=e.data;if(Array.isArray(r)){a=[];var o,l=Object(s.a)(r);try{for(l.s();!(o=l.n()).done;){var c=o.value;a.push(vl.fromJS(c))}}catch(f){l.e(f)}finally{l.f()}}else a=null;return Promise.resolve(a)}if(404===t){var d=e.data,u=d;return sC("Not Found",t,d,n,wg.fromJS(u))}var m=e.data,v=m;return sC("Error",t,m,n,wg.fromJS(v))}},{key:"createFile",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/LibraryFile/CreateFile";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processCreateFile(e)}))}},{key:"processCreateFile",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=lf.fromJS(r),Promise.resolve(a)}if(201===t){var o,s=e.data;return o=lf.fromJS(s),Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"createLink",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/LibraryFile/CreateLink";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processCreateLink(e)}))}},{key:"processCreateLink",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a=null,r=e.data;if(Array.isArray(r)){a=[];var o,l=Object(s.a)(r);try{for(l.s();!(o=l.n()).done;){var c=o.value;a.push(lf.fromJS(c))}}catch(g){l.e(g)}finally{l.f()}}else a=null;return Promise.resolve(a)}if(201===t){var d=null,u=e.data;if(Array.isArray(u)){d=[];var m,v=Object(s.a)(u);try{for(v.s();!(m=v.n()).done;){var f=m.value;d.push(lf.fromJS(f))}}catch(g){v.e(g)}finally{v.f()}}else d=null;return Promise.resolve(d)}if(400===t){var p=e.data,h=p;return sC("Bad Request",t,p,n,aC.fromJS(h))}var y=e.data,b=y;return sC("Error",t,y,n,wg.fromJS(b))}},{key:"uploadFile",value:function(e,t,n,i){var a=this,r=this.baseUrl+"/api/LibraryFile/UploadFile?";if(null===e)throw new Error("The parameter 'isPublic' cannot be null.");void 0!==e&&(r+="isPublic="+encodeURIComponent(""+e)+"&"),r=r.replace(/[?&]$/,"");var o=new FormData;if(null===n||void 0===n)throw new Error("The parameter 'file' cannot be null.");o.append("file",n.data,n.fileName?n.fileName:"file");var s={data:o,method:"POST",url:r,headers:{"x-api-version":void 0!==t&&null!==t?""+t:"",Accept:"application/json"},cancelToken:i};return this.instance.request(s).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return a.processUploadFile(e)}))}},{key:"processUploadFile",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=lf.fromJS(r),Promise.resolve(a)}if(201===t){var o,s=e.data;return o=lf.fromJS(s),Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"uploadAudio",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/LibraryFile/UploadAudio",r={data:t,method:"POST",url:a=a.replace(/[?&]$/,""),headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"multipart/form-data",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processUploadAudio(e)}))}},{key:"processUploadAudio",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=lf.fromJS(r),Promise.resolve(a)}if(201===t){var o,s=e.data;return o=lf.fromJS(s),Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"uploadCertificateSignature",value:function(e,t,n,i){var a=this,r=this.baseUrl+"/api/LibraryFile/UploadCertificateSignature?";if(null===e)throw new Error("The parameter 'certificateId' cannot be null.");void 0!==e&&(r+="certificateId="+encodeURIComponent(""+e)+"&"),r=r.replace(/[?&]$/,"");var o=new FormData;if(null===n||void 0===n)throw new Error("The parameter 'file' cannot be null.");o.append("file",n.data,n.fileName?n.fileName:"file");var s={data:o,method:"POST",url:r,headers:{"x-api-version":void 0!==t&&null!==t?""+t:"",Accept:"application/json"},cancelToken:i};return this.instance.request(s).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return a.processUploadCertificateSignature(e)}))}},{key:"processUploadCertificateSignature",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Yn.fromJS(r),Promise.resolve(a)}if(201===t){var o,s=e.data;return o=Yn.fromJS(s),Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"deleteCertificateSignature",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/LibraryFile/DeleteCertificateSignature";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"DELETE",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processDeleteCertificateSignature(e)}))}},{key:"processDeleteCertificateSignature",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){e.data;return Promise.resolve(null)}if(204===t){e.data;return Promise.resolve(null)}if(400===t){var a=e.data,r=a;return sC("Bad Request",t,a,n,aC.fromJS(r))}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"uploadUserAvatar",value:function(e,t,n,i){var a=this,r=this.baseUrl+"/api/LibraryFile/UploadUserAvatar?";if(null===e)throw new Error("The parameter 'userId' cannot be null.");void 0!==e&&(r+="userId="+encodeURIComponent(""+e)+"&"),r=r.replace(/[?&]$/,"");var o=new FormData;if(null===n||void 0===n)throw new Error("The parameter 'file' cannot be null.");o.append("file",n.data,n.fileName?n.fileName:"file");var s={data:o,method:"POST",url:r,headers:{"x-api-version":void 0!==t&&null!==t?""+t:"",Accept:"application/json"},cancelToken:i};return this.instance.request(s).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return a.processUploadUserAvatar(e)}))}},{key:"processUploadUserAvatar",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=QI.fromJS(r),Promise.resolve(a)}if(201===t){var o,s=e.data;return o=QI.fromJS(s),Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"deleteUserAvatar",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/LibraryFile/DeleteUserAvatar";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"DELETE",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processDeleteUserAvatar(e)}))}},{key:"processDeleteUserAvatar",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){e.data;return Promise.resolve(null)}if(204===t){e.data;return Promise.resolve(null)}if(400===t){var a=e.data,r=a;return sC("Bad Request",t,a,n,aC.fromJS(r))}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"uploadUsersignature",value:function(e,t,n,i){var a=this,r=this.baseUrl+"/api/LibraryFile/UploadUsersignature?";if(null===e)throw new Error("The parameter 'userId' cannot be null.");void 0!==e&&(r+="userId="+encodeURIComponent(""+e)+"&"),r=r.replace(/[?&]$/,"");var o=new FormData;if(null===n||void 0===n)throw new Error("The parameter 'file' cannot be null.");o.append("file",n.data,n.fileName?n.fileName:"file");var s={data:o,method:"POST",url:r,headers:{"x-api-version":void 0!==t&&null!==t?""+t:"",Accept:"application/json"},cancelToken:i};return this.instance.request(s).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return a.processUploadUsersignature(e)}))}},{key:"processUploadUsersignature",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=QS.fromJS(r),Promise.resolve(a)}if(201===t){var o,s=e.data;return o=QS.fromJS(s),Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"deleteUserSignature",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/LibraryFile/DeleteUserSignature";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"DELETE",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processDeleteUserSignature(e)}))}},{key:"processDeleteUserSignature",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){e.data;return Promise.resolve(null)}if(204===t){e.data;return Promise.resolve(null)}if(400===t){var a=e.data,r=a;return sC("Bad Request",t,a,n,aC.fromJS(r))}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"uploadFirmLogo",value:function(e,t,n,i,a){var r=this,o=this.baseUrl+"/api/LibraryFile/UploadFirmLogo?";if(null===e)throw new Error("The parameter 'isPortalLogo' cannot be null.");if(void 0!==e&&(o+="isPortalLogo="+encodeURIComponent(""+e)+"&"),null===t)throw new Error("The parameter 'roleId' cannot be null.");void 0!==t&&(o+="roleId="+encodeURIComponent(""+t)+"&"),o=o.replace(/[?&]$/,"");var s=new FormData;if(null===i||void 0===i)throw new Error("The parameter 'file' cannot be null.");s.append("file",i.data,i.fileName?i.fileName:"file");var l={data:s,method:"POST",url:o,headers:{"x-api-version":void 0!==n&&null!==n?""+n:"",Accept:"application/json"},cancelToken:a};return this.instance.request(l).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return r.processUploadFirmLogo(e)}))}},{key:"processUploadFirmLogo",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=void 0!==r?r:null,Promise.resolve(a)}if(201===t){var o,s=e.data;return o=void 0!==s?s:null,Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"deleteFirmLogo",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/LibraryFile/DeleteFirmLogo";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"DELETE",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processDeleteFirmLogo(e)}))}},{key:"processDeleteFirmLogo",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){e.data;return Promise.resolve(null)}if(204===t){e.data;return Promise.resolve(null)}if(400===t){var a=e.data,r=a;return sC("Bad Request",t,a,n,aC.fromJS(r))}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"updateFile",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/LibraryFile/UpdateFile";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"PUT",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processUpdateFile(e)}))}},{key:"processUpdateFile",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=lf.fromJS(r),Promise.resolve(a)}if(201===t){var o,s=e.data;return o=lf.fromJS(s),Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"updateFiles",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/LibraryFile/UpdateFiles";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"PUT",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processUpdateFiles(e)}))}},{key:"processUpdateFiles",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a=null,r=e.data;if(Array.isArray(r)){a=[];var o,l=Object(s.a)(r);try{for(l.s();!(o=l.n()).done;){var c=o.value;a.push(lf.fromJS(c))}}catch(g){l.e(g)}finally{l.f()}}else a=null;return Promise.resolve(a)}if(201===t){var d=null,u=e.data;if(Array.isArray(u)){d=[];var m,v=Object(s.a)(u);try{for(v.s();!(m=v.n()).done;){var f=m.value;d.push(lf.fromJS(f))}}catch(g){v.e(g)}finally{v.f()}}else d=null;return Promise.resolve(d)}if(400===t){var p=e.data,h=p;return sC("Bad Request",t,p,n,aC.fromJS(h))}var y=e.data,b=y;return sC("Error",t,y,n,wg.fromJS(b))}},{key:"createCourses",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/LibraryFile/CreateCourses";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"PUT",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processCreateCourses(e)}))}},{key:"processCreateCourses",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a=null,r=e.data;if(Array.isArray(r)){a=[];var o,l=Object(s.a)(r);try{for(l.s();!(o=l.n()).done;){var c=o.value;a.push(aa.fromJS(c))}}catch(g){l.e(g)}finally{l.f()}}else a=null;return Promise.resolve(a)}if(201===t){var d=null,u=e.data;if(Array.isArray(u)){d=[];var m,v=Object(s.a)(u);try{for(v.s();!(m=v.n()).done;){var f=m.value;d.push(aa.fromJS(f))}}catch(g){v.e(g)}finally{v.f()}}else d=null;return Promise.resolve(d)}if(400===t){var p=e.data,h=p;return sC("Bad Request",t,p,n,aC.fromJS(h))}var y=e.data,b=y;return sC("Error",t,y,n,wg.fromJS(b))}},{key:"deleteFiles",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/LibraryFile/DeleteFiles";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"DELETE",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processDeleteFiles(e)}))}},{key:"processDeleteFiles",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a=null,r=e.data;if(Array.isArray(r)){a=[];var o,l=Object(s.a)(r);try{for(l.s();!(o=l.n()).done;){var c=o.value;a.push(lf.fromJS(c))}}catch(h){l.e(h)}finally{l.f()}}else a=null;return Promise.resolve(a)}if(204===t)return sC("Success",t,e.data,n);if(400===t){var d=e.data,u=d;return sC("Bad Request",t,d,n,aC.fromJS(u))}if(404===t){var m=e.data,v=m;return sC("Not Found",t,m,n,wg.fromJS(v))}var f=e.data,p=f;return sC("Error",t,f,n,wg.fromJS(p))}},{key:"archiveFiles",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/LibraryFile/ArchiveFiles";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"DELETE",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processArchiveFiles(e)}))}},{key:"processArchiveFiles",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){e.data;return Promise.resolve(null)}if(204===t){e.data;return Promise.resolve(null)}if(400===t){var a=e.data,r=a;return sC("Bad Request",t,a,n,aC.fromJS(r))}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"downloadFile",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/LibraryFile/DownloadFile";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),responseType:"blob",method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/octet-stream"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processDownloadFile(e)}))}},{key:"processDownloadFile",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t||206===t){var a=e.headers?e.headers["content-disposition"]:void 0,r=a?/filename\*=(?:(\\?['"])(.*?)\1|(?:[^\s]+'.*?')?([^;\n]*))/g.exec(a):void 0,o=r&&r.length>1?r[3]||r[2]:void 0;return o=o?decodeURIComponent(o):(r=a?/filename="?([^"]*?)"?(;|$)/g.exec(a):void 0)&&r.length>1?r[1]:void 0,Promise.resolve({fileName:o,status:t,data:new Blob([e.data],{type:e.headers["content-type"]}),headers:n})}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"downloadFileFromInvite",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/LibraryFile/DownloadFileFromInvite?";if(null===e)throw new Error("The parameter 'fileId' cannot be null.");void 0!==e&&(a+="fileId="+encodeURIComponent(""+e)+"&");var r={responseType:"blob",method:"GET",url:a=a.replace(/[?&]$/,""),headers:{"x-api-version":void 0!==t&&null!==t?""+t:"",Accept:"application/octet-stream"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processDownloadFileFromInvite(e)}))}},{key:"processDownloadFileFromInvite",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t||206===t){var a=e.headers?e.headers["content-disposition"]:void 0,r=a?/filename\*=(?:(\\?['"])(.*?)\1|(?:[^\s]+'.*?')?([^;\n]*))/g.exec(a):void 0,o=r&&r.length>1?r[3]||r[2]:void 0;return o=o?decodeURIComponent(o):(r=a?/filename="?([^"]*?)"?(;|$)/g.exec(a):void 0)&&r.length>1?r[1]:void 0,Promise.resolve({fileName:o,status:t,data:new Blob([e.data],{type:e.headers["content-type"]}),headers:n})}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"downloadFileByGuid",value:function(e,t,n,i){var a=this,r=this.baseUrl+"/api/LibraryFile/DownloadFileByGuid?";if(null===e)throw new Error("The parameter 'fileId' cannot be null.");void 0!==e&&(r+="fileId="+encodeURIComponent(""+e)+"&"),r=r.replace(/[?&]$/,"");var o={data:JSON.stringify(n),responseType:"blob",method:"POST",url:r,headers:{"x-api-version":void 0!==t&&null!==t?""+t:"","Content-Type":"application/json",Accept:"application/octet-stream"},cancelToken:i};return this.instance.request(o).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return a.processDownloadFileByGuid(e)}))}},{key:"processDownloadFileByGuid",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t||206===t){var a=e.headers?e.headers["content-disposition"]:void 0,r=a?/filename\*=(?:(\\?['"])(.*?)\1|(?:[^\s]+'.*?')?([^;\n]*))/g.exec(a):void 0,o=r&&r.length>1?r[3]||r[2]:void 0;return o=o?decodeURIComponent(o):(r=a?/filename="?([^"]*?)"?(;|$)/g.exec(a):void 0)&&r.length>1?r[1]:void 0,Promise.resolve({fileName:o,status:t,data:new Blob([e.data],{type:e.headers["content-type"]}),headers:n})}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"getFileByGuid",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/LibraryFile/GetFileByGuid?";if(null===e)throw new Error("The parameter 'guid' cannot be null.");void 0!==e&&(a+="guid="+encodeURIComponent(""+e)+"&");var r={method:"GET",url:a=a.replace(/[?&]$/,""),headers:{"x-api-version":void 0!==t&&null!==t?""+t:"",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetFileByGuid(e)}))}},{key:"processGetFileByGuid",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=mf.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}}]),e}(),ye=function(){function e(t,n){Object(l.a)(this,e),this.instance=void 0,this.baseUrl=void 0,this.jsonParseReviver=void 0,this.instance=n||u.a.create(),this.baseUrl=void 0!==t&&null!==t?t:""}return Object(c.a)(e,[{key:"get",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/LibraryFileSetting/Get/{libraryFileId}";if(void 0===e||null===e)throw new Error("The parameter 'libraryFileId' must be defined.");var r={method:"GET",url:a=(a=a.replace("{libraryFileId}",encodeURIComponent(""+e))).replace(/[?&]$/,""),headers:{"x-api-version":void 0!==t&&null!==t?""+t:"",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGet(e)}))}},{key:"processGet",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a=null,r=e.data;if(Array.isArray(r)){a=[];var o,l=Object(s.a)(r);try{for(l.s();!(o=l.n()).done;){var c=o.value;a.push(pf.fromJS(c))}}catch(f){l.e(f)}finally{l.f()}}else a=null;return Promise.resolve(a)}if(404===t){var d=e.data,u=d;return sC("Not Found",t,d,n,wg.fromJS(u))}var m=e.data,v=m;return sC("Error",t,m,n,wg.fromJS(v))}},{key:"updateLibraryFileSettings",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/LibraryFileSetting/UpdateLibraryFileSettings";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"PUT",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processUpdateLibraryFileSettings(e)}))}},{key:"processUpdateLibraryFileSettings",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a=null,r=e.data;if(Array.isArray(r)){a=[];var o,l=Object(s.a)(r);try{for(l.s();!(o=l.n()).done;){var c=o.value;a.push(pf.fromJS(c))}}catch(g){l.e(g)}finally{l.f()}}else a=null;return Promise.resolve(a)}if(201===t){var d=null,u=e.data;if(Array.isArray(u)){d=[];var m,v=Object(s.a)(u);try{for(v.s();!(m=v.n()).done;){var f=m.value;d.push(pf.fromJS(f))}}catch(g){v.e(g)}finally{v.f()}}else d=null;return Promise.resolve(d)}if(400===t){var p=e.data,h=p;return sC("Bad Request",t,p,n,aC.fromJS(h))}var y=e.data,b=y;return sC("Error",t,y,n,wg.fromJS(b))}}]),e}(),be=function(){function e(t,n){Object(l.a)(this,e),this.instance=void 0,this.baseUrl=void 0,this.jsonParseReviver=void 0,this.instance=n||u.a.create(),this.baseUrl=void 0!==t&&null!==t?t:""}return Object(c.a)(e,[{key:"getAll",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/License/GetAll";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetAll(e)}))}},{key:"processGetAll",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Tf.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"getAllActive",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/License/GetAllActive";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetAllActive(e)}))}},{key:"processGetAllActive",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Tf.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"getAllFirmLicenses",value:function(e,t){var n=this,i=this.baseUrl+"/api/License/GetAllFirmLicenses",a={method:"GET",url:i=i.replace(/[?&]$/,""),headers:{"x-api-version":void 0!==e&&null!==e?""+e:"",Accept:"application/json"},cancelToken:t};return this.instance.request(a).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return n.processGetAllFirmLicenses(e)}))}},{key:"processGetAllFirmLicenses",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Tf.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"getLicense",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/License/GetLicense?";if(null===e)throw new Error("The parameter 'licenseId' cannot be null.");void 0!==e&&(a+="licenseId="+encodeURIComponent(""+e)+"&");var r={method:"GET",url:a=a.replace(/[?&]$/,""),headers:{"x-api-version":void 0!==t&&null!==t?""+t:"",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetLicense(e)}))}},{key:"processGetLicense",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Sf.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"getUserLicenseLimitation",value:function(e,t){var n=this,i=this.baseUrl+"/api/License/GetUserLicenseLimitation",a={method:"GET",url:i=i.replace(/[?&]$/,""),headers:{"x-api-version":void 0!==e&&null!==e?""+e:"",Accept:"application/json"},cancelToken:t};return this.instance.request(a).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return n.processGetUserLicenseLimitation(e)}))}},{key:"processGetUserLicenseLimitation",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a=null,r=e.data;if(Array.isArray(r)){a=[];var o,l=Object(s.a)(r);try{for(l.s();!(o=l.n()).done;){var c=o.value;a.push(c)}}catch(f){l.e(f)}finally{l.f()}}else a=null;return Promise.resolve(a)}if(404===t){var d=e.data,u=d;return sC("Not Found",t,d,n,wg.fromJS(u))}var m=e.data,v=m;return sC("Error",t,m,n,wg.fromJS(v))}},{key:"getLicensePropertyFields",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/License/GetLicensePropertyFields/{licenseId}";if(void 0===e||null===e)throw new Error("The parameter 'licenseId' must be defined.");var r={method:"GET",url:a=(a=a.replace("{licenseId}",encodeURIComponent(""+e))).replace(/[?&]$/,""),headers:{"x-api-version":void 0!==t&&null!==t?""+t:"",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetLicensePropertyFields(e)}))}},{key:"processGetLicensePropertyFields",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=jf.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"getLicenseSubfilters",value:function(e,t){var n=this,i=this.baseUrl+"/api/License/GetLicenseSubfilters",a={method:"GET",url:i=i.replace(/[?&]$/,""),headers:{"x-api-version":void 0!==e&&null!==e?""+e:"",Accept:"application/json"},cancelToken:t};return this.instance.request(a).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return n.processGetLicenseSubfilters(e)}))}},{key:"processGetLicenseSubfilters",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Nf.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"create",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/License/Create";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processCreate(e)}))}},{key:"processCreate",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=dl.fromJS(r),Promise.resolve(a)}if(201===t){var o,s=e.data;return o=dl.fromJS(s),Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"update",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/License/Update";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"PUT",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processUpdate(e)}))}},{key:"processUpdate",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=dl.fromJS(r),Promise.resolve(a)}if(201===t){var o,s=e.data;return o=dl.fromJS(s),Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"delete",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/License/Delete";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"DELETE",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processDelete(e)}))}},{key:"processDelete",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){e.data;return Promise.resolve(null)}if(204===t){e.data;return Promise.resolve(null)}if(400===t){var a=e.data,r=a;return sC("Bad Request",t,a,n,aC.fromJS(r))}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"archive",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/License/Archive";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"PUT",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processArchive(e)}))}},{key:"processArchive",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){e.data;return Promise.resolve(null)}if(204===t){e.data;return Promise.resolve(null)}if(400===t){var a=e.data,r=a;return sC("Bad Request",t,a,n,aC.fromJS(r))}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"favorite",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/License/Favorite";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"PUT",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processFavorite(e)}))}},{key:"processFavorite",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){e.data;return Promise.resolve(null)}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"assignCertificate",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/License/AssignCertificate";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"PUT",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processAssignCertificate(e)}))}},{key:"processAssignCertificate",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){e.data;return Promise.resolve(null)}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}}]),e}(),ge=function(){function e(t,n){Object(l.a)(this,e),this.instance=void 0,this.baseUrl=void 0,this.jsonParseReviver=void 0,this.instance=n||u.a.create(),this.baseUrl=void 0!==t&&null!==t?t:""}return Object(c.a)(e,[{key:"getAllCertificates",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/LicenseCertificate/GetAllCertificates";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetAllCertificates(e)}))}},{key:"processGetAllCertificates",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=bf.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"createLicenseCertificate",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/LicenseCertificate/CreateLicenseCertificate";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processCreateLicenseCertificate(e)}))}},{key:"processCreateLicenseCertificate",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a=null,r=e.data;if(Array.isArray(r)){a=[];var o,l=Object(s.a)(r);try{for(l.s();!(o=l.n()).done;){var c=o.value;a.push(c)}}catch(g){l.e(g)}finally{l.f()}}else a=null;return Promise.resolve(a)}if(201===t){var d=null,u=e.data;if(Array.isArray(u)){d=[];var m,v=Object(s.a)(u);try{for(v.s();!(m=v.n()).done;){var f=m.value;d.push(f)}}catch(g){v.e(g)}finally{v.f()}}else d=null;return Promise.resolve(d)}if(400===t){var p=e.data,h=p;return sC("Bad Request",t,p,n,aC.fromJS(h))}var y=e.data,b=y;return sC("Error",t,y,n,wg.fromJS(b))}},{key:"deleteLicenseCertificate",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/LicenseCertificate/DeleteLicenseCertificate";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processDeleteLicenseCertificate(e)}))}},{key:"processDeleteLicenseCertificate",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a=null,r=e.data;if(Array.isArray(r)){a=[];var o,l=Object(s.a)(r);try{for(l.s();!(o=l.n()).done;){var c=o.value;a.push(c)}}catch(h){l.e(h)}finally{l.f()}}else a=null;return Promise.resolve(a)}if(204===t)return sC("Success",t,e.data,n);if(400===t){var d=e.data,u=d;return sC("Bad Request",t,d,n,aC.fromJS(u))}if(404===t){var m=e.data,v=m;return sC("Not Found",t,m,n,wg.fromJS(v))}var f=e.data,p=f;return sC("Error",t,f,n,wg.fromJS(p))}},{key:"updateLicenseCertificate",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/LicenseCertificate/UpdateLicenseCertificate";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processUpdateLicenseCertificate(e)}))}},{key:"processUpdateLicenseCertificate",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=yf.fromJS(r),Promise.resolve(a)}if(201===t){var o,s=e.data;return o=yf.fromJS(s),Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"getAvailableCertificates",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/LicenseCertificate/GetAvailableCertificates";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetAvailableCertificates(e)}))}},{key:"processGetAvailableCertificates",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=_n.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"getAllCertificatesByLicenseIds",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/LicenseCertificate/GetAllCertificatesByLicenseIds";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetAllCertificatesByLicenseIds(e)}))}},{key:"processGetAllCertificatesByLicenseIds",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=bf.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}}]),e}(),Ee=function(){function e(t,n){Object(l.a)(this,e),this.instance=void 0,this.baseUrl=void 0,this.jsonParseReviver=void 0,this.instance=n||u.a.create(),this.baseUrl=void 0!==t&&null!==t?t:""}return Object(c.a)(e,[{key:"getAll",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/LicenseSummary/GetAll";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetAll(e)}))}},{key:"processGetAll",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Bf.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"get",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/LicenseSummary/Get/{licenseId}";if(void 0===e||null===e)throw new Error("The parameter 'licenseId' must be defined.");var r={method:"GET",url:a=(a=a.replace("{licenseId}",encodeURIComponent(""+e))).replace(/[?&]$/,""),headers:{"x-api-version":void 0!==t&&null!==t?""+t:"",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGet(e)}))}},{key:"processGet",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Ff.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}}]),e}(),Ie=function(){function e(t,n){Object(l.a)(this,e),this.instance=void 0,this.baseUrl=void 0,this.jsonParseReviver=void 0,this.instance=n||u.a.create(),this.baseUrl=void 0!==t&&null!==t?t:""}return Object(c.a)(e,[{key:"getAll",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Location/GetAll";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetAll(e)}))}},{key:"processGetAll",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Jf.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"getAllFirmOffice",value:function(e,t){var n=this,i=this.baseUrl+"/api/Location/GetAllFirmOffice",a={method:"GET",url:i=i.replace(/[?&]$/,""),headers:{"x-api-version":void 0!==e&&null!==e?""+e:"",Accept:"application/json"},cancelToken:t};return this.instance.request(a).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return n.processGetAllFirmOffice(e)}))}},{key:"processGetAllFirmOffice",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a=null,r=e.data;if(Array.isArray(r)){a=[];var o,l=Object(s.a)(r);try{for(l.s();!(o=l.n()).done;){var c=o.value;a.push(ul.fromJS(c))}}catch(f){l.e(f)}finally{l.f()}}else a=null;return Promise.resolve(a)}if(404===t){var d=e.data,u=d;return sC("Not Found",t,d,n,wg.fromJS(u))}var m=e.data,v=m;return sC("Error",t,m,n,wg.fromJS(v))}},{key:"exportCsv",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Location/ExportCsv";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),responseType:"blob",method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/octet-stream"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processExportCsv(e)}))}},{key:"processExportCsv",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t||206===t){var a=e.headers?e.headers["content-disposition"]:void 0,r=a?/filename\*=(?:(\\?['"])(.*?)\1|(?:[^\s]+'.*?')?([^;\n]*))/g.exec(a):void 0,o=r&&r.length>1?r[3]||r[2]:void 0;return o=o?decodeURIComponent(o):(r=a?/filename="?([^"]*?)"?(;|$)/g.exec(a):void 0)&&r.length>1?r[1]:void 0,Promise.resolve({fileName:o,status:t,data:new Blob([e.data],{type:e.headers["content-type"]}),headers:n})}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"exportExcel",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Location/ExportExcel";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),responseType:"blob",method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/octet-stream"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processExportExcel(e)}))}},{key:"processExportExcel",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t||206===t){var a=e.headers?e.headers["content-disposition"]:void 0,r=a?/filename\*=(?:(\\?['"])(.*?)\1|(?:[^\s]+'.*?')?([^;\n]*))/g.exec(a):void 0,o=r&&r.length>1?r[3]||r[2]:void 0;return o=o?decodeURIComponent(o):(r=a?/filename="?([^"]*?)"?(;|$)/g.exec(a):void 0)&&r.length>1?r[1]:void 0,Promise.resolve({fileName:o,status:t,data:new Blob([e.data],{type:e.headers["content-type"]}),headers:n})}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"getLocationListById",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Location/GetLocationListById";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetLocationListById(e)}))}},{key:"processGetLocationListById",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a=null,r=e.data;if(Array.isArray(r)){a=[];var o,l=Object(s.a)(r);try{for(l.s();!(o=l.n()).done;){var c=o.value;a.push(Rf.fromJS(c))}}catch(f){l.e(f)}finally{l.f()}}else a=null;return Promise.resolve(a)}if(404===t){var d=e.data,u=d;return sC("Not Found",t,d,n,wg.fromJS(u))}var m=e.data,v=m;return sC("Error",t,m,n,wg.fromJS(v))}},{key:"get",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Location/Get/{locationId}";if(void 0===e||null===e)throw new Error("The parameter 'locationId' must be defined.");var r={method:"GET",url:a=(a=a.replace("{locationId}",encodeURIComponent(""+e))).replace(/[?&]$/,""),headers:{"x-api-version":void 0!==t&&null!==t?""+t:"",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGet(e)}))}},{key:"processGet",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Rf.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"create",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Location/Create";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processCreate(e)}))}},{key:"processCreate",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Rf.fromJS(r),Promise.resolve(a)}if(201===t){var o,s=e.data;return o=Rf.fromJS(s),Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"update",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Location/Update";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"PUT",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processUpdate(e)}))}},{key:"processUpdate",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Rf.fromJS(r),Promise.resolve(a)}if(201===t){var o,s=e.data;return o=Rf.fromJS(s),Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"delete",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Location/Delete";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"DELETE",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processDelete(e)}))}},{key:"processDelete",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a=null,r=e.data;if(Array.isArray(r)){a=[];var o,l=Object(s.a)(r);try{for(l.s();!(o=l.n()).done;){var c=o.value;a.push(Rf.fromJS(c))}}catch(h){l.e(h)}finally{l.f()}}else a=null;return Promise.resolve(a)}if(204===t)return sC("Success",t,e.data,n);if(400===t){var d=e.data,u=d;return sC("Bad Request",t,d,n,aC.fromJS(u))}if(404===t){var m=e.data,v=m;return sC("Not Found",t,m,n,wg.fromJS(v))}var f=e.data,p=f;return sC("Error",t,f,n,wg.fromJS(p))}},{key:"archive",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Location/Archive";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"PUT",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processArchive(e)}))}},{key:"processArchive",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){e.data;return Promise.resolve(null)}if(204===t){e.data;return Promise.resolve(null)}if(400===t){var a=e.data,r=a;return sC("Bad Request",t,a,n,aC.fromJS(r))}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"merge",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Location/Merge";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processMerge(e)}))}},{key:"processMerge",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){e.data;return Promise.resolve(null)}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"validateLocationName",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Location/ValidateLocationName";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processValidateLocationName(e)}))}},{key:"processValidateLocationName",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=void 0!==r?r:null,Promise.resolve(a)}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"validateLocationCode",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Location/ValidateLocationCode";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processValidateLocationCode(e)}))}},{key:"processValidateLocationCode",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=void 0!==r?r:null,Promise.resolve(a)}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}}]),e}(),Se=function(){function e(t,n){Object(l.a)(this,e),this.instance=void 0,this.baseUrl=void 0,this.jsonParseReviver=void 0,this.instance=n||u.a.create(),this.baseUrl=void 0!==t&&null!==t?t:""}return Object(c.a)(e,[{key:"getPasswordPolicy",value:function(e,t){var n=this,i=this.baseUrl+"/api/PasswordPolicy/GetPasswordPolicy",a={method:"GET",url:i=i.replace(/[?&]$/,""),headers:{"x-api-version":void 0!==e&&null!==e?""+e:"",Accept:"application/json"},cancelToken:t};return this.instance.request(a).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return n.processGetPasswordPolicy(e)}))}},{key:"processGetPasswordPolicy",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Pt.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"updatePasswordPolicy",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/PasswordPolicy/UpdatePasswordPolicy";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processUpdatePasswordPolicy(e)}))}},{key:"processUpdatePasswordPolicy",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){e.data;return Promise.resolve(null)}if(201===t){e.data;return Promise.resolve(null)}if(400===t){var a=e.data,r=a;return sC("Bad Request",t,a,n,aC.fromJS(r))}var o=e.data,s=o;return sC("Error",t,o,n,wg.fromJS(s))}}]),e}(),Oe=function(){function e(t,n){Object(l.a)(this,e),this.instance=void 0,this.baseUrl=void 0,this.jsonParseReviver=void 0,this.instance=n||u.a.create(),this.baseUrl=void 0!==t&&null!==t?t:""}return Object(c.a)(e,[{key:"getUserPermissionSets",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/PermissionSet/GetUserPermissionSets?";if(null===e)throw new Error("The parameter 'idpId' cannot be null.");void 0!==e&&(a+="idpId="+encodeURIComponent(""+e)+"&");var r={method:"GET",url:a=a.replace(/[?&]$/,""),headers:{"x-api-version":void 0!==t&&null!==t?""+t:"",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetUserPermissionSets(e)}))}},{key:"processGetUserPermissionSets",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a=null,r=e.data;if(Array.isArray(r)){a=[];var o,l=Object(s.a)(r);try{for(l.s();!(o=l.n()).done;){var c=o.value;a.push(c)}}catch(f){l.e(f)}finally{l.f()}}else a=null;return Promise.resolve(a)}if(404===t){var d=e.data,u=d;return sC("Not Found",t,d,n,wg.fromJS(u))}var m=e.data,v=m;return sC("Error",t,m,n,wg.fromJS(v))}},{key:"get",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/PermissionSet/Get/{roleTypeId}";if(void 0===e||null===e)throw new Error("The parameter 'roleTypeId' must be defined.");var r={method:"GET",url:a=(a=a.replace("{roleTypeId}",encodeURIComponent(""+e))).replace(/[?&]$/,""),headers:{"x-api-version":void 0!==t&&null!==t?""+t:"",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGet(e)}))}},{key:"processGet",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Cp.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}}]),e}(),Ce=function(){function e(t,n){Object(l.a)(this,e),this.instance=void 0,this.baseUrl=void 0,this.jsonParseReviver=void 0,this.instance=n||u.a.create(),this.baseUrl=void 0!==t&&null!==t?t:""}return Object(c.a)(e,[{key:"getBrandingSetting",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/PortalSetting/GetBrandingSetting/{roleId}";if(void 0===e||null===e)throw new Error("The parameter 'roleId' must be defined.");var r={method:"GET",url:a=(a=a.replace("{roleId}",encodeURIComponent(""+e))).replace(/[?&]$/,""),headers:{"x-api-version":void 0!==t&&null!==t?""+t:"",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetBrandingSetting(e)}))}},{key:"processGetBrandingSetting",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=xp.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"getElearningSetting",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/PortalSetting/GetElearningSetting/{roleId}";if(void 0===e||null===e)throw new Error("The parameter 'roleId' must be defined.");var r={method:"GET",url:a=(a=a.replace("{roleId}",encodeURIComponent(""+e))).replace(/[?&]$/,""),headers:{"x-api-version":void 0!==t&&null!==t?""+t:"",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetElearningSetting(e)}))}},{key:"processGetElearningSetting",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Np.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"getRoleElearningSetting",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/PortalSetting/GetRoleElearningSetting";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetRoleElearningSetting(e)}))}},{key:"processGetRoleElearningSetting",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Np.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"getScreenInformation",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/PortalSetting/GetScreenInformation";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetScreenInformation(e)}))}},{key:"processGetScreenInformation",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Lp.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"updateBranding",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/PortalSetting/UpdateBranding";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"PUT",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processUpdateBranding(e)}))}},{key:"processUpdateBranding",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=xp.fromJS(r),Promise.resolve(a)}if(201===t){var o,s=e.data;return o=xp.fromJS(s),Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"updateSetting",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/PortalSetting/UpdateSetting";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"PUT",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processUpdateSetting(e)}))}},{key:"processUpdateSetting",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Np.fromJS(r),Promise.resolve(a)}if(201===t){var o,s=e.data;return o=Np.fromJS(s),Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"getPortalBranding",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/PortalSetting/GetPortalBranding/{idpId}";if(void 0===e||null===e)throw new Error("The parameter 'idpId' must be defined.");var r={method:"GET",url:a=(a=a.replace("{idpId}",encodeURIComponent(""+e))).replace(/[?&]$/,""),headers:{"x-api-version":void 0!==t&&null!==t?""+t:"",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetPortalBranding(e)}))}},{key:"processGetPortalBranding",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=jp.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}}]),e}(),je=function(){function e(t,n){Object(l.a)(this,e),this.instance=void 0,this.baseUrl=void 0,this.jsonParseReviver=void 0,this.instance=n||u.a.create(),this.baseUrl=void 0!==t&&null!==t?t:""}return Object(c.a)(e,[{key:"getAll",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/PortalTeamView/GetAll";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetAll(e)}))}},{key:"processGetAll",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Jp.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"getTeamByUserId",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/PortalTeamView/GetTeamByUserId";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetTeamByUserId(e)}))}},{key:"processGetTeamByUserId",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Jp.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}}]),e}(),xe=function(){function e(t,n){Object(l.a)(this,e),this.instance=void 0,this.baseUrl=void 0,this.jsonParseReviver=void 0,this.instance=n||u.a.create(),this.baseUrl=void 0!==t&&null!==t?t:""}return Object(c.a)(e,[{key:"getAll",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Position/GetAll";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetAll(e)}))}},{key:"processGetAll",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=_p.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"exportCsv",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Position/ExportCsv";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),responseType:"blob",method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/octet-stream"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processExportCsv(e)}))}},{key:"processExportCsv",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t||206===t){var a=e.headers?e.headers["content-disposition"]:void 0,r=a?/filename\*=(?:(\\?['"])(.*?)\1|(?:[^\s]+'.*?')?([^;\n]*))/g.exec(a):void 0,o=r&&r.length>1?r[3]||r[2]:void 0;return o=o?decodeURIComponent(o):(r=a?/filename="?([^"]*?)"?(;|$)/g.exec(a):void 0)&&r.length>1?r[1]:void 0,Promise.resolve({fileName:o,status:t,data:new Blob([e.data],{type:e.headers["content-type"]}),headers:n})}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"exportExcel",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Position/ExportExcel";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),responseType:"blob",method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/octet-stream"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processExportExcel(e)}))}},{key:"processExportExcel",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t||206===t){var a=e.headers?e.headers["content-disposition"]:void 0,r=a?/filename\*=(?:(\\?['"])(.*?)\1|(?:[^\s]+'.*?')?([^;\n]*))/g.exec(a):void 0,o=r&&r.length>1?r[3]||r[2]:void 0;return o=o?decodeURIComponent(o):(r=a?/filename="?([^"]*?)"?(;|$)/g.exec(a):void 0)&&r.length>1?r[1]:void 0,Promise.resolve({fileName:o,status:t,data:new Blob([e.data],{type:e.headers["content-type"]}),headers:n})}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"getPositionListById",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Position/GetPositionListById";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetPositionListById(e)}))}},{key:"processGetPositionListById",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a=null,r=e.data;if(Array.isArray(r)){a=[];var o,l=Object(s.a)(r);try{for(l.s();!(o=l.n()).done;){var c=o.value;a.push(Vp.fromJS(c))}}catch(f){l.e(f)}finally{l.f()}}else a=null;return Promise.resolve(a)}if(404===t){var d=e.data,u=d;return sC("Not Found",t,d,n,wg.fromJS(u))}var m=e.data,v=m;return sC("Error",t,m,n,wg.fromJS(v))}},{key:"get",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Position/Get/{positionId}";if(void 0===e||null===e)throw new Error("The parameter 'positionId' must be defined.");var r={method:"GET",url:a=(a=a.replace("{positionId}",encodeURIComponent(""+e))).replace(/[?&]$/,""),headers:{"x-api-version":void 0!==t&&null!==t?""+t:"",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGet(e)}))}},{key:"processGet",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Vp.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"create",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Position/Create";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processCreate(e)}))}},{key:"processCreate",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Vp.fromJS(r),Promise.resolve(a)}if(201===t){var o,s=e.data;return o=Vp.fromJS(s),Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"update",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Position/Update";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"PUT",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processUpdate(e)}))}},{key:"processUpdate",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Vp.fromJS(r),Promise.resolve(a)}if(201===t){var o,s=e.data;return o=Vp.fromJS(s),Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"delete",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Position/Delete";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"DELETE",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processDelete(e)}))}},{key:"processDelete",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a=null,r=e.data;if(Array.isArray(r)){a=[];var o,l=Object(s.a)(r);try{for(l.s();!(o=l.n()).done;){var c=o.value;a.push(Vp.fromJS(c))}}catch(h){l.e(h)}finally{l.f()}}else a=null;return Promise.resolve(a)}if(204===t)return sC("Success",t,e.data,n);if(400===t){var d=e.data,u=d;return sC("Bad Request",t,d,n,aC.fromJS(u))}if(404===t){var m=e.data,v=m;return sC("Not Found",t,m,n,wg.fromJS(v))}var f=e.data,p=f;return sC("Error",t,f,n,wg.fromJS(p))}},{key:"archive",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Position/Archive";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"PUT",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processArchive(e)}))}},{key:"processArchive",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){e.data;return Promise.resolve(null)}if(204===t){e.data;return Promise.resolve(null)}if(400===t){var a=e.data,r=a;return sC("Bad Request",t,a,n,aC.fromJS(r))}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"merge",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Position/Merge";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processMerge(e)}))}},{key:"processMerge",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){e.data;return Promise.resolve(null)}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"validatePositionCode",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Position/ValidatePositionCode";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processValidatePositionCode(e)}))}},{key:"processValidatePositionCode",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=void 0!==r?r:null,Promise.resolve(a)}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}}]),e}(),Ae=function(){function e(t,n){Object(l.a)(this,e),this.instance=void 0,this.baseUrl=void 0,this.jsonParseReviver=void 0,this.instance=n||u.a.create(),this.baseUrl=void 0!==t&&null!==t?t:""}return Object(c.a)(e,[{key:"getAll",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/PracticeArea/GetAll";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetAll(e)}))}},{key:"processGetAll",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Hp.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"exportCsv",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/PracticeArea/ExportCsv";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),responseType:"blob",method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/octet-stream"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processExportCsv(e)}))}},{key:"processExportCsv",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t||206===t){var a=e.headers?e.headers["content-disposition"]:void 0,r=a?/filename\*=(?:(\\?['"])(.*?)\1|(?:[^\s]+'.*?')?([^;\n]*))/g.exec(a):void 0,o=r&&r.length>1?r[3]||r[2]:void 0;return o=o?decodeURIComponent(o):(r=a?/filename="?([^"]*?)"?(;|$)/g.exec(a):void 0)&&r.length>1?r[1]:void 0,Promise.resolve({fileName:o,status:t,data:new Blob([e.data],{type:e.headers["content-type"]}),headers:n})}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"exportExcel",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/PracticeArea/ExportExcel";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),responseType:"blob",method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/octet-stream"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processExportExcel(e)}))}},{key:"processExportExcel",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t||206===t){var a=e.headers?e.headers["content-disposition"]:void 0,r=a?/filename\*=(?:(\\?['"])(.*?)\1|(?:[^\s]+'.*?')?([^;\n]*))/g.exec(a):void 0,o=r&&r.length>1?r[3]||r[2]:void 0;return o=o?decodeURIComponent(o):(r=a?/filename="?([^"]*?)"?(;|$)/g.exec(a):void 0)&&r.length>1?r[1]:void 0,Promise.resolve({fileName:o,status:t,data:new Blob([e.data],{type:e.headers["content-type"]}),headers:n})}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"getPracticeAreaListById",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/PracticeArea/GetPracticeAreaListById";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetPracticeAreaListById(e)}))}},{key:"processGetPracticeAreaListById",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a=null,r=e.data;if(Array.isArray(r)){a=[];var o,l=Object(s.a)(r);try{for(l.s();!(o=l.n()).done;){var c=o.value;a.push(Yp.fromJS(c))}}catch(f){l.e(f)}finally{l.f()}}else a=null;return Promise.resolve(a)}if(404===t){var d=e.data,u=d;return sC("Not Found",t,d,n,wg.fromJS(u))}var m=e.data,v=m;return sC("Error",t,m,n,wg.fromJS(v))}},{key:"get",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/PracticeArea/Get/{practiceAreaId}";if(void 0===e||null===e)throw new Error("The parameter 'practiceAreaId' must be defined.");var r={method:"GET",url:a=(a=a.replace("{practiceAreaId}",encodeURIComponent(""+e))).replace(/[?&]$/,""),headers:{"x-api-version":void 0!==t&&null!==t?""+t:"",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGet(e)}))}},{key:"processGet",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Yp.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"create",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/PracticeArea/Create";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processCreate(e)}))}},{key:"processCreate",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Yp.fromJS(r),Promise.resolve(a)}if(201===t){var o,s=e.data;return o=Yp.fromJS(s),Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"update",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/PracticeArea/Update";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"PUT",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processUpdate(e)}))}},{key:"processUpdate",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Yp.fromJS(r),Promise.resolve(a)}if(201===t){var o,s=e.data;return o=Yp.fromJS(s),Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"delete",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/PracticeArea/Delete";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"DELETE",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processDelete(e)}))}},{key:"processDelete",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a=null,r=e.data;if(Array.isArray(r)){a=[];var o,l=Object(s.a)(r);try{for(l.s();!(o=l.n()).done;){var c=o.value;a.push(Yp.fromJS(c))}}catch(h){l.e(h)}finally{l.f()}}else a=null;return Promise.resolve(a)}if(204===t)return sC("Success",t,e.data,n);if(400===t){var d=e.data,u=d;return sC("Bad Request",t,d,n,aC.fromJS(u))}if(404===t){var m=e.data,v=m;return sC("Not Found",t,m,n,wg.fromJS(v))}var f=e.data,p=f;return sC("Error",t,f,n,wg.fromJS(p))}},{key:"archive",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/PracticeArea/Archive";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"PUT",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processArchive(e)}))}},{key:"processArchive",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){e.data;return Promise.resolve(null)}if(204===t){e.data;return Promise.resolve(null)}if(400===t){var a=e.data,r=a;return sC("Bad Request",t,a,n,aC.fromJS(r))}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"merge",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/PracticeArea/Merge";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processMerge(e)}))}},{key:"processMerge",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){e.data;return Promise.resolve(null)}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"validatePracticeAreaName",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/PracticeArea/ValidatePracticeAreaName";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processValidatePracticeAreaName(e)}))}},{key:"processValidatePracticeAreaName",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=void 0!==r?r:null,Promise.resolve(a)}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"validatePracticeAreaCode",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/PracticeArea/ValidatePracticeAreaCode";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processValidatePracticeAreaCode(e)}))}},{key:"processValidatePracticeAreaCode",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=void 0!==r?r:null,Promise.resolve(a)}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}}]),e}(),Te=function(){function e(t,n){Object(l.a)(this,e),this.instance=void 0,this.baseUrl=void 0,this.jsonParseReviver=void 0,this.instance=n||u.a.create(),this.baseUrl=void 0!==t&&null!==t?t:""}return Object(c.a)(e,[{key:"getAll",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Provider/GetAll";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetAll(e)}))}},{key:"processGetAll",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=eh.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"exportCsv",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Provider/ExportCsv";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),responseType:"blob",method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/octet-stream"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processExportCsv(e)}))}},{key:"processExportCsv",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t||206===t){var a=e.headers?e.headers["content-disposition"]:void 0,r=a?/filename\*=(?:(\\?['"])(.*?)\1|(?:[^\s]+'.*?')?([^;\n]*))/g.exec(a):void 0,o=r&&r.length>1?r[3]||r[2]:void 0;return o=o?decodeURIComponent(o):(r=a?/filename="?([^"]*?)"?(;|$)/g.exec(a):void 0)&&r.length>1?r[1]:void 0,Promise.resolve({fileName:o,status:t,data:new Blob([e.data],{type:e.headers["content-type"]}),headers:n})}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"exportExcel",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Provider/ExportExcel";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),responseType:"blob",method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/octet-stream"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processExportExcel(e)}))}},{key:"processExportExcel",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t||206===t){var a=e.headers?e.headers["content-disposition"]:void 0,r=a?/filename\*=(?:(\\?['"])(.*?)\1|(?:[^\s]+'.*?')?([^;\n]*))/g.exec(a):void 0,o=r&&r.length>1?r[3]||r[2]:void 0;return o=o?decodeURIComponent(o):(r=a?/filename="?([^"]*?)"?(;|$)/g.exec(a):void 0)&&r.length>1?r[1]:void 0,Promise.resolve({fileName:o,status:t,data:new Blob([e.data],{type:e.headers["content-type"]}),headers:n})}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"getProviderListById",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Provider/GetProviderListById";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetProviderListById(e)}))}},{key:"processGetProviderListById",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a=null,r=e.data;if(Array.isArray(r)){a=[];var o,l=Object(s.a)(r);try{for(l.s();!(o=l.n()).done;){var c=o.value;a.push(Kp.fromJS(c))}}catch(f){l.e(f)}finally{l.f()}}else a=null;return Promise.resolve(a)}if(404===t){var d=e.data,u=d;return sC("Not Found",t,d,n,wg.fromJS(u))}var m=e.data,v=m;return sC("Error",t,m,n,wg.fromJS(v))}},{key:"get",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Provider/Get/{providerId}";if(void 0===e||null===e)throw new Error("The parameter 'providerId' must be defined.");var r={method:"GET",url:a=(a=a.replace("{providerId}",encodeURIComponent(""+e))).replace(/[?&]$/,""),headers:{"x-api-version":void 0!==t&&null!==t?""+t:"",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGet(e)}))}},{key:"processGet",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Kp.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"create",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Provider/Create";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processCreate(e)}))}},{key:"processCreate",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Kp.fromJS(r),Promise.resolve(a)}if(201===t){var o,s=e.data;return o=Kp.fromJS(s),Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"update",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Provider/Update";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"PUT",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processUpdate(e)}))}},{key:"processUpdate",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Kp.fromJS(r),Promise.resolve(a)}if(201===t){var o,s=e.data;return o=Kp.fromJS(s),Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"delete",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Provider/Delete";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"DELETE",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processDelete(e)}))}},{key:"processDelete",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a=null,r=e.data;if(Array.isArray(r)){a=[];var o,l=Object(s.a)(r);try{for(l.s();!(o=l.n()).done;){var c=o.value;a.push(Kp.fromJS(c))}}catch(h){l.e(h)}finally{l.f()}}else a=null;return Promise.resolve(a)}if(204===t)return sC("Success",t,e.data,n);if(400===t){var d=e.data,u=d;return sC("Bad Request",t,d,n,aC.fromJS(u))}if(404===t){var m=e.data,v=m;return sC("Not Found",t,m,n,wg.fromJS(v))}var f=e.data,p=f;return sC("Error",t,f,n,wg.fromJS(p))}},{key:"archive",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Provider/Archive";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"PUT",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processArchive(e)}))}},{key:"processArchive",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){e.data;return Promise.resolve(null)}if(204===t){e.data;return Promise.resolve(null)}if(400===t){var a=e.data,r=a;return sC("Bad Request",t,a,n,aC.fromJS(r))}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"merge",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Provider/Merge";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processMerge(e)}))}},{key:"processMerge",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){e.data;return Promise.resolve(null)}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"validateProviderName",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Provider/ValidateProviderName";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processValidateProviderName(e)}))}},{key:"processValidateProviderName",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=void 0!==r?r:null,Promise.resolve(a)}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"validateProviderCode",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Provider/ValidateProviderCode";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processValidateProviderCode(e)}))}},{key:"processValidateProviderCode",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=void 0!==r?r:null,Promise.resolve(a)}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}}]),e}(),we=function(){function e(t,n){Object(l.a)(this,e),this.instance=void 0,this.baseUrl=void 0,this.jsonParseReviver=void 0,this.instance=n||u.a.create(),this.baseUrl=void 0!==t&&null!==t?t:""}return Object(c.a)(e,[{key:"excludeUsers",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/ReminderSchedule/ExcludeUsers";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processExcludeUsers(e)}))}},{key:"processExcludeUsers",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){e.data;return Promise.resolve(null)}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"getAvailableReminderScheduleUsersToExclude",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/ReminderSchedule/GetAvailableReminderScheduleUsersToExclude";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetAvailableReminderScheduleUsersToExclude(e)}))}},{key:"processGetAvailableReminderScheduleUsersToExclude",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=FS.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"getReminderScheduleExcludedUsers",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/ReminderSchedule/GetReminderScheduleExcludedUsers";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetReminderScheduleExcludedUsers(e)}))}},{key:"processGetReminderScheduleExcludedUsers",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=yl.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"removeReminderScheduleExcludedUser",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/ReminderSchedule/RemoveReminderScheduleExcludedUser";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processRemoveReminderScheduleExcludedUser(e)}))}},{key:"processRemoveReminderScheduleExcludedUser",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){e.data;return Promise.resolve(null)}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}}]),e}(),ke=function(){function e(t,n){Object(l.a)(this,e),this.instance=void 0,this.baseUrl=void 0,this.jsonParseReviver=void 0,this.instance=n||u.a.create(),this.baseUrl=void 0!==t&&null!==t?t:""}return Object(c.a)(e,[{key:"getAll",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Report/GetAll";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetAll(e)}))}},{key:"processGetAll",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Lh.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"get",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Report/Get";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGet(e)}))}},{key:"processGet",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Eh.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"getUserFavoriteReports",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Report/GetUserFavoriteReports";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetUserFavoriteReports(e)}))}},{key:"processGetUserFavoriteReports",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a=null,r=e.data;if(Array.isArray(r)){a=[];var o,l=Object(s.a)(r);try{for(l.s();!(o=l.n()).done;){var c=o.value;a.push(mS.fromJS(c))}}catch(f){l.e(f)}finally{l.f()}}else a=null;return Promise.resolve(a)}if(404===t){var d=e.data,u=d;return sC("Not Found",t,d,n,wg.fromJS(u))}var m=e.data,v=m;return sC("Error",t,m,n,wg.fromJS(v))}},{key:"toggleUserFavoriteReport",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Report/ToggleUserFavoriteReport";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"PUT",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processToggleUserFavoriteReport(e)}))}},{key:"processToggleUserFavoriteReport",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){e.data;return Promise.resolve(null)}if(201===t){e.data;return Promise.resolve(null)}if(400===t){var a=e.data,r=a;return sC("Bad Request",t,a,n,aC.fromJS(r))}var o=e.data,s=o;return sC("Error",t,o,n,wg.fromJS(s))}},{key:"createUserReportLog",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Report/CreateUserReportLog";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"PUT",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processCreateUserReportLog(e)}))}},{key:"processCreateUserReportLog",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){e.data;return Promise.resolve(null)}if(201===t){e.data;return Promise.resolve(null)}if(400===t){var a=e.data,r=a;return sC("Bad Request",t,a,n,aC.fromJS(r))}var o=e.data,s=o;return sC("Error",t,o,n,wg.fromJS(s))}},{key:"getToken",value:function(e,t,n,i){var a=this,r=this.baseUrl+"/api/Report/GetToken?";if(null===e)throw new Error("The parameter 'userName' cannot be null.");if(void 0!==e&&(r+="userName="+encodeURIComponent(""+e)+"&"),null===t)throw new Error("The parameter 'tenantUniqueName' cannot be null.");void 0!==t&&(r+="tenantUniqueName="+encodeURIComponent(""+t)+"&");var o={method:"GET",url:r=r.replace(/[?&]$/,""),headers:{"x-api-version":void 0!==n&&null!==n?""+n:"",Accept:"application/json"},cancelToken:i};return this.instance.request(o).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return a.processGetToken(e)}))}},{key:"processGetToken",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Vh.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"getNewYorkLawYearEndReport",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Report/GetNewYorkLawYearEndReport";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetNewYorkLawYearEndReport(e)}))}},{key:"processGetNewYorkLawYearEndReport",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Gh.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"updateNewYorkReportContactProfile",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Report/UpdateNewYorkReportContactProfile";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"PUT",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processUpdateNewYorkReportContactProfile(e)}))}},{key:"processUpdateNewYorkReportContactProfile",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){e.data;return Promise.resolve(null)}if(201===t){e.data;return Promise.resolve(null)}if(400===t){var a=e.data,r=a;return sC("Bad Request",t,a,n,aC.fromJS(r))}var o=e.data,s=o;return sC("Error",t,o,n,wg.fromJS(s))}},{key:"getNewYorkLawActivityTable",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Report/GetNewYorkLawActivityTable";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetNewYorkLawActivityTable(e)}))}},{key:"processGetNewYorkLawActivityTable",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Gh.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"getComplianceReport",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Report/GetComplianceReport";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetComplianceReport(e)}))}},{key:"processGetComplianceReport",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=gh.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"getComplianceAuditReport",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Report/GetComplianceAuditReport";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetComplianceAuditReport(e)}))}},{key:"processGetComplianceAuditReport",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=yh.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"getMultimediaUsageReport",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Report/GetMultimediaUsageReport";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetMultimediaUsageReport(e)}))}},{key:"processGetMultimediaUsageReport",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=dp.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"getNebraskaCPEReportData",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Report/GetNebraskaCPEReportData";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetNebraskaCPEReportData(e)}))}},{key:"processGetNebraskaCPEReportData",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Rh.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"getProgramListNasbaReportData",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Report/GetProgramListNasbaReportData";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetProgramListNasbaReportData(e)}))}},{key:"processGetProgramListNasbaReportData",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=qh.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"getEvaluationSummaryReportData",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Report/GetEvaluationSummaryReportData";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetEvaluationSummaryReportData(e)}))}},{key:"processGetEvaluationSummaryReportData",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Sh.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"getIllinoisLawData",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Report/GetIllinoisLawData";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetIllinoisLawData(e)}))}},{key:"processGetIllinoisLawData",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Th.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"getIllinoisLawAttendanceReportData",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Report/GetIllinoisLawAttendanceReportData";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetIllinoisLawAttendanceReportData(e)}))}},{key:"processGetIllinoisLawAttendanceReportData",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=kh.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"getIllinoisLawCourseReportData",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Report/GetIllinoisLawCourseReportData";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetIllinoisLawCourseReportData(e)}))}},{key:"processGetIllinoisLawCourseReportData",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Nh.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"getHRExportReportData",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Report/GetHRExportReportData";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetHRExportReportData(e)}))}},{key:"processGetHRExportReportData",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=jh.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"exportMultimediaUsageReportCsv",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Report/ExportMultimediaUsageReportCsv";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),responseType:"blob",method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/octet-stream"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processExportMultimediaUsageReportCsv(e)}))}},{key:"processExportMultimediaUsageReportCsv",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t||206===t){var a=e.headers?e.headers["content-disposition"]:void 0,r=a?/filename\*=(?:(\\?['"])(.*?)\1|(?:[^\s]+'.*?')?([^;\n]*))/g.exec(a):void 0,o=r&&r.length>1?r[3]||r[2]:void 0;return o=o?decodeURIComponent(o):(r=a?/filename="?([^"]*?)"?(;|$)/g.exec(a):void 0)&&r.length>1?r[1]:void 0,Promise.resolve({fileName:o,status:t,data:new Blob([e.data],{type:e.headers["content-type"]}),headers:n})}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"exportMultimediaUsageReportExcel",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Report/ExportMultimediaUsageReportExcel";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),responseType:"blob",method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/octet-stream"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processExportMultimediaUsageReportExcel(e)}))}},{key:"processExportMultimediaUsageReportExcel",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t||206===t){var a=e.headers?e.headers["content-disposition"]:void 0,r=a?/filename\*=(?:(\\?['"])(.*?)\1|(?:[^\s]+'.*?')?([^;\n]*))/g.exec(a):void 0,o=r&&r.length>1?r[3]||r[2]:void 0;return o=o?decodeURIComponent(o):(r=a?/filename="?([^"]*?)"?(;|$)/g.exec(a):void 0)&&r.length>1?r[1]:void 0,Promise.resolve({fileName:o,status:t,data:new Blob([e.data],{type:e.headers["content-type"]}),headers:n})}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"getCaliforniaLawData",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Report/GetCaliforniaLawData";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetCaliforniaLawData(e)}))}},{key:"processGetCaliforniaLawData",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=dh.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}}]),e}(),Pe=function(){function e(t,n){Object(l.a)(this,e),this.instance=void 0,this.baseUrl=void 0,this.jsonParseReviver=void 0,this.instance=n||u.a.create(),this.baseUrl=void 0!==t&&null!==t?t:""}return Object(c.a)(e,[{key:"getAll",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/ReportSavedFilter/GetAll";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetAll(e)}))}},{key:"processGetAll",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Wh.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"create",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/ReportSavedFilter/Create";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processCreate(e)}))}},{key:"processCreate",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Mh.fromJS(r),Promise.resolve(a)}if(201===t){var o,s=e.data;return o=Mh.fromJS(s),Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"update",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/ReportSavedFilter/Update";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"PUT",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processUpdate(e)}))}},{key:"processUpdate",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Mh.fromJS(r),Promise.resolve(a)}if(201===t){var o,s=e.data;return o=Mh.fromJS(s),Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"delete",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/ReportSavedFilter/Delete";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"DELETE",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processDelete(e)}))}},{key:"processDelete",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){e.data;return Promise.resolve(null)}if(204===t){e.data;return Promise.resolve(null)}if(400===t){var a=e.data,r=a;return sC("Bad Request",t,a,n,aC.fromJS(r))}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"validateReportSavedFilterName",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/ReportSavedFilter/ValidateReportSavedFilterName";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processValidateReportSavedFilterName(e)}))}},{key:"processValidateReportSavedFilterName",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=void 0!==r?r:null,Promise.resolve(a)}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}}]),e}(),Ne=function(){function e(t,n){Object(l.a)(this,e),this.instance=void 0,this.baseUrl=void 0,this.jsonParseReviver=void 0,this.instance=n||u.a.create(),this.baseUrl=void 0!==t&&null!==t?t:""}return Object(c.a)(e,[{key:"getRoles",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Role/GetRoles";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetRoles(e)}))}},{key:"processGetRoles",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Kh.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"getRolesDetailed",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Role/GetRolesDetailed";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetRolesDetailed(e)}))}},{key:"processGetRolesDetailed",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Kh.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"getRolesListById",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Role/GetRolesListById";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetRolesListById(e)}))}},{key:"processGetRolesListById",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Kh.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"exportCsv",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Role/ExportCsv";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),responseType:"blob",method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/octet-stream"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processExportCsv(e)}))}},{key:"processExportCsv",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t||206===t){var a=e.headers?e.headers["content-disposition"]:void 0,r=a?/filename\*=(?:(\\?['"])(.*?)\1|(?:[^\s]+'.*?')?([^;\n]*))/g.exec(a):void 0,o=r&&r.length>1?r[3]||r[2]:void 0;return o=o?decodeURIComponent(o):(r=a?/filename="?([^"]*?)"?(;|$)/g.exec(a):void 0)&&r.length>1?r[1]:void 0,Promise.resolve({fileName:o,status:t,data:new Blob([e.data],{type:e.headers["content-type"]}),headers:n})}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"exportExcel",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Role/ExportExcel";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),responseType:"blob",method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/octet-stream"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processExportExcel(e)}))}},{key:"processExportExcel",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t||206===t){var a=e.headers?e.headers["content-disposition"]:void 0,r=a?/filename\*=(?:(\\?['"])(.*?)\1|(?:[^\s]+'.*?')?([^;\n]*))/g.exec(a):void 0,o=r&&r.length>1?r[3]||r[2]:void 0;return o=o?decodeURIComponent(o):(r=a?/filename="?([^"]*?)"?(;|$)/g.exec(a):void 0)&&r.length>1?r[1]:void 0,Promise.resolve({fileName:o,status:t,data:new Blob([e.data],{type:e.headers["content-type"]}),headers:n})}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"createRole",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Role/CreateRole";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processCreateRole(e)}))}},{key:"processCreateRole",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Zh.fromJS(r),Promise.resolve(a)}if(201===t){var o,s=e.data;return o=Zh.fromJS(s),Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"updateRole",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Role/UpdateRole";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"PUT",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processUpdateRole(e)}))}},{key:"processUpdateRole",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Zh.fromJS(r),Promise.resolve(a)}if(201===t){var o,s=e.data;return o=Zh.fromJS(s),Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"deleteRole",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Role/DeleteRole";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"DELETE",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processDeleteRole(e)}))}},{key:"processDeleteRole",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){e.data;return Promise.resolve(null)}if(204===t){e.data;return Promise.resolve(null)}if(400===t){var a=e.data,r=a;return sC("Bad Request",t,a,n,aC.fromJS(r))}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"mergeRole",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Role/MergeRole";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processMergeRole(e)}))}},{key:"processMergeRole",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){e.data;return Promise.resolve(null)}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"assignUserToRole",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Role/AssignUserToRole";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processAssignUserToRole(e)}))}},{key:"processAssignUserToRole",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Zh.fromJS(r),Promise.resolve(a)}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"unassignUserFromRole",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Role/UnassignUserFromRole";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"DELETE",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processUnassignUserFromRole(e)}))}},{key:"processUnassignUserFromRole",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){e.data;return Promise.resolve(null)}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"assignApiClientToRole",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Role/AssignApiClientToRole";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processAssignApiClientToRole(e)}))}},{key:"processAssignApiClientToRole",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Zh.fromJS(r),Promise.resolve(a)}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"addRoleLicenseLimitation",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Role/AddRoleLicenseLimitation";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"PUT",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processAddRoleLicenseLimitation(e)}))}},{key:"processAddRoleLicenseLimitation",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Zh.fromJS(r),Promise.resolve(a)}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"deleteRoleLicenseLimitation",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Role/DeleteRoleLicenseLimitation";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"DELETE",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processDeleteRoleLicenseLimitation(e)}))}},{key:"processDeleteRoleLicenseLimitation",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Zh.fromJS(r),Promise.resolve(a)}if(204===t)return sC("Success",t,e.data,n);if(400===t){var o=e.data,s=o;return sC("Bad Request",t,o,n,aC.fromJS(s))}if(404===t){var l=e.data,c=l;return sC("Not Found",t,l,n,wg.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"getRolesByRoleId",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Role/GetRolesByRoleId";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetRolesByRoleId(e)}))}},{key:"processGetRolesByRoleId",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=iy.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}}]),e}(),De=function(){function e(t,n){Object(l.a)(this,e),this.instance=void 0,this.baseUrl=void 0,this.jsonParseReviver=void 0,this.instance=n||u.a.create(),this.baseUrl=void 0!==t&&null!==t?t:""}return Object(c.a)(e,[{key:"getAll",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Room/GetAll";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetAll(e)}))}},{key:"processGetAll",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=ry.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"getAllByLocationId",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Room/GetAllByLocationId";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetAllByLocationId(e)}))}},{key:"processGetAllByLocationId",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=ry.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"exportCsv",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Room/ExportCsv";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),responseType:"blob",method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/octet-stream"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processExportCsv(e)}))}},{key:"processExportCsv",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t||206===t){var a=e.headers?e.headers["content-disposition"]:void 0,r=a?/filename\*=(?:(\\?['"])(.*?)\1|(?:[^\s]+'.*?')?([^;\n]*))/g.exec(a):void 0,o=r&&r.length>1?r[3]||r[2]:void 0;return o=o?decodeURIComponent(o):(r=a?/filename="?([^"]*?)"?(;|$)/g.exec(a):void 0)&&r.length>1?r[1]:void 0,Promise.resolve({fileName:o,status:t,data:new Blob([e.data],{type:e.headers["content-type"]}),headers:n})}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"exportExcel",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Room/ExportExcel";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),responseType:"blob",method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/octet-stream"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processExportExcel(e)}))}},{key:"processExportExcel",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t||206===t){var a=e.headers?e.headers["content-disposition"]:void 0,r=a?/filename\*=(?:(\\?['"])(.*?)\1|(?:[^\s]+'.*?')?([^;\n]*))/g.exec(a):void 0,o=r&&r.length>1?r[3]||r[2]:void 0;return o=o?decodeURIComponent(o):(r=a?/filename="?([^"]*?)"?(;|$)/g.exec(a):void 0)&&r.length>1?r[1]:void 0,Promise.resolve({fileName:o,status:t,data:new Blob([e.data],{type:e.headers["content-type"]}),headers:n})}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"getRoomListById",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Room/GetRoomListById";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetRoomListById(e)}))}},{key:"processGetRoomListById",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a=null,r=e.data;if(Array.isArray(r)){a=[];var o,l=Object(s.a)(r);try{for(l.s();!(o=l.n()).done;){var c=o.value;a.push(ay.fromJS(c))}}catch(f){l.e(f)}finally{l.f()}}else a=null;return Promise.resolve(a)}if(404===t){var d=e.data,u=d;return sC("Not Found",t,d,n,wg.fromJS(u))}var m=e.data,v=m;return sC("Error",t,m,n,wg.fromJS(v))}},{key:"get",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Room/Get/{roomId}";if(void 0===e||null===e)throw new Error("The parameter 'roomId' must be defined.");var r={method:"GET",url:a=(a=a.replace("{roomId}",encodeURIComponent(""+e))).replace(/[?&]$/,""),headers:{"x-api-version":void 0!==t&&null!==t?""+t:"",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGet(e)}))}},{key:"processGet",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=ay.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"create",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Room/Create";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processCreate(e)}))}},{key:"processCreate",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=ay.fromJS(r),Promise.resolve(a)}if(201===t){var o,s=e.data;return o=ay.fromJS(s),Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"update",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Room/Update";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"PUT",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processUpdate(e)}))}},{key:"processUpdate",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=ay.fromJS(r),Promise.resolve(a)}if(201===t){var o,s=e.data;return o=ay.fromJS(s),Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"delete",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Room/Delete";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"DELETE",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processDelete(e)}))}},{key:"processDelete",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a=null,r=e.data;if(Array.isArray(r)){a=[];var o,l=Object(s.a)(r);try{for(l.s();!(o=l.n()).done;){var c=o.value;a.push(ay.fromJS(c))}}catch(h){l.e(h)}finally{l.f()}}else a=null;return Promise.resolve(a)}if(204===t)return sC("Success",t,e.data,n);if(400===t){var d=e.data,u=d;return sC("Bad Request",t,d,n,aC.fromJS(u))}if(404===t){var m=e.data,v=m;return sC("Not Found",t,m,n,wg.fromJS(v))}var f=e.data,p=f;return sC("Error",t,f,n,wg.fromJS(p))}},{key:"archive",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Room/Archive";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"PUT",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processArchive(e)}))}},{key:"processArchive",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){e.data;return Promise.resolve(null)}if(204===t){e.data;return Promise.resolve(null)}if(400===t){var a=e.data,r=a;return sC("Bad Request",t,a,n,aC.fromJS(r))}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"merge",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Room/Merge";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processMerge(e)}))}},{key:"processMerge",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){e.data;return Promise.resolve(null)}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"validateRoomName",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Room/ValidateRoomName";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processValidateRoomName(e)}))}},{key:"processValidateRoomName",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=void 0!==r?r:null,Promise.resolve(a)}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"validateRoomCode",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Room/ValidateRoomCode";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processValidateRoomCode(e)}))}},{key:"processValidateRoomCode",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=void 0!==r?r:null,Promise.resolve(a)}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}}]),e}(),Le=function(){function e(t,n){Object(l.a)(this,e),this.instance=void 0,this.baseUrl=void 0,this.jsonParseReviver=void 0,this.instance=n||u.a.create(),this.baseUrl=void 0!==t&&null!==t?t:""}return Object(c.a)(e,[{key:"recalculate",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Rules/Recalculate";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processRecalculate(e)}))}},{key:"processRecalculate",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=void 0!==r?r:null,Promise.resolve(a)}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"recalculateOnDemand",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Rules/RecalculateOnDemand";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processRecalculateOnDemand(e)}))}},{key:"processRecalculateOnDemand",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=void 0!==r?r:null,Promise.resolve(a)}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}}]),e}(),Fe=function(){function e(t,n){Object(l.a)(this,e),this.instance=void 0,this.baseUrl=void 0,this.jsonParseReviver=void 0,this.instance=n||u.a.create(),this.baseUrl=void 0!==t&&null!==t?t:""}return Object(c.a)(e,[{key:"setSavedFilterDefault",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/SavedFilterDefault/SetSavedFilterDefault";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processSetSavedFilterDefault(e)}))}},{key:"processSetSavedFilterDefault",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=dy.fromJS(r),Promise.resolve(a)}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}}]),e}(),Be=function(){function e(t,n){Object(l.a)(this,e),this.instance=void 0,this.baseUrl=void 0,this.jsonParseReviver=void 0,this.instance=n||u.a.create(),this.baseUrl=void 0!==t&&null!==t?t:""}return Object(c.a)(e,[{key:"getType",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Schedule/GetType?";if(null===e)throw new Error("The parameter 'scheduleId' cannot be null.");void 0!==e&&(a+="scheduleId="+encodeURIComponent(""+e)+"&");var r={method:"GET",url:a=a.replace(/[?&]$/,""),headers:{"x-api-version":void 0!==t&&null!==t?""+t:"",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetType(e)}))}},{key:"processGetType",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=void 0!==r?r:null,Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"getAllScheduleInvites",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Schedule/GetAllScheduleInvites";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetAllScheduleInvites(e)}))}},{key:"processGetAllScheduleInvites",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Ay.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"exportInvitesCsv",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Schedule/ExportInvitesCsv";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),responseType:"blob",method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/octet-stream"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processExportInvitesCsv(e)}))}},{key:"processExportInvitesCsv",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t||206===t){var a=e.headers?e.headers["content-disposition"]:void 0,r=a?/filename\*=(?:(\\?['"])(.*?)\1|(?:[^\s]+'.*?')?([^;\n]*))/g.exec(a):void 0,o=r&&r.length>1?r[3]||r[2]:void 0;return o=o?decodeURIComponent(o):(r=a?/filename="?([^"]*?)"?(;|$)/g.exec(a):void 0)&&r.length>1?r[1]:void 0,Promise.resolve({fileName:o,status:t,data:new Blob([e.data],{type:e.headers["content-type"]}),headers:n})}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"exportInvitesExcel",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Schedule/ExportInvitesExcel";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),responseType:"blob",method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/octet-stream"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processExportInvitesExcel(e)}))}},{key:"processExportInvitesExcel",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t||206===t){var a=e.headers?e.headers["content-disposition"]:void 0,r=a?/filename\*=(?:(\\?['"])(.*?)\1|(?:[^\s]+'.*?')?([^;\n]*))/g.exec(a):void 0,o=r&&r.length>1?r[3]||r[2]:void 0;return o=o?decodeURIComponent(o):(r=a?/filename="?([^"]*?)"?(;|$)/g.exec(a):void 0)&&r.length>1?r[1]:void 0,Promise.resolve({fileName:o,status:t,data:new Blob([e.data],{type:e.headers["content-type"]}),headers:n})}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"declineScheduleInvites",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Schedule/DeclineScheduleInvites";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processDeclineScheduleInvites(e)}))}},{key:"processDeclineScheduleInvites",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){e.data;return Promise.resolve(null)}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"deleteScheduleInvites",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Schedule/DeleteScheduleInvites";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"DELETE",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processDeleteScheduleInvites(e)}))}},{key:"processDeleteScheduleInvites",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){e.data;return Promise.resolve(null)}if(204===t){e.data;return Promise.resolve(null)}if(400===t){var a=e.data,r=a;return sC("Bad Request",t,a,n,aC.fromJS(r))}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"create",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Schedule/Create";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processCreate(e)}))}},{key:"processCreate",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a=null,r=e.data;if(Array.isArray(r)){a=[];var o,l=Object(s.a)(r);try{for(l.s();!(o=l.n()).done;){var c=o.value;a.push(Qb.fromJS(c))}}catch(g){l.e(g)}finally{l.f()}}else a=null;return Promise.resolve(a)}if(201===t){var d=null,u=e.data;if(Array.isArray(u)){d=[];var m,v=Object(s.a)(u);try{for(v.s();!(m=v.n()).done;){var f=m.value;d.push(Qb.fromJS(f))}}catch(g){v.e(g)}finally{v.f()}}else d=null;return Promise.resolve(d)}if(400===t){var p=e.data,h=p;return sC("Bad Request",t,p,n,aC.fromJS(h))}var y=e.data,b=y;return sC("Error",t,y,n,wg.fromJS(b))}},{key:"getAllScheduleEvaluations",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Schedule/GetAllScheduleEvaluations";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetAllScheduleEvaluations(e)}))}},{key:"processGetAllScheduleEvaluations",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Oy.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"exportEvaluationsCsv",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Schedule/ExportEvaluationsCsv";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),responseType:"blob",method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/octet-stream"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processExportEvaluationsCsv(e)}))}},{key:"processExportEvaluationsCsv",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t||206===t){var a=e.headers?e.headers["content-disposition"]:void 0,r=a?/filename\*=(?:(\\?['"])(.*?)\1|(?:[^\s]+'.*?')?([^;\n]*))/g.exec(a):void 0,o=r&&r.length>1?r[3]||r[2]:void 0;return o=o?decodeURIComponent(o):(r=a?/filename="?([^"]*?)"?(;|$)/g.exec(a):void 0)&&r.length>1?r[1]:void 0,Promise.resolve({fileName:o,status:t,data:new Blob([e.data],{type:e.headers["content-type"]}),headers:n})}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"exportEvaluationsExcel",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Schedule/ExportEvaluationsExcel";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),responseType:"blob",method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/octet-stream"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processExportEvaluationsExcel(e)}))}},{key:"processExportEvaluationsExcel",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t||206===t){var a=e.headers?e.headers["content-disposition"]:void 0,r=a?/filename\*=(?:(\\?['"])(.*?)\1|(?:[^\s]+'.*?')?([^;\n]*))/g.exec(a):void 0,o=r&&r.length>1?r[3]||r[2]:void 0;return o=o?decodeURIComponent(o):(r=a?/filename="?([^"]*?)"?(;|$)/g.exec(a):void 0)&&r.length>1?r[1]:void 0,Promise.resolve({fileName:o,status:t,data:new Blob([e.data],{type:e.headers["content-type"]}),headers:n})}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"getScheduleEmailSetting",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Schedule/GetScheduleEmailSetting";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetScheduleEmailSetting(e)}))}},{key:"processGetScheduleEmailSetting",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=by.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"createScheduleEmailSetting",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Schedule/CreateScheduleEmailSetting";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processCreateScheduleEmailSetting(e)}))}},{key:"processCreateScheduleEmailSetting",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){e.data;return Promise.resolve(null)}if(201===t){e.data;return Promise.resolve(null)}if(400===t){var a=e.data,r=a;return sC("Bad Request",t,a,n,aC.fromJS(r))}var o=e.data,s=o;return sC("Error",t,o,n,wg.fromJS(s))}},{key:"updateScheduleEmailSetting",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Schedule/UpdateScheduleEmailSetting";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processUpdateScheduleEmailSetting(e)}))}},{key:"processUpdateScheduleEmailSetting",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=yy.fromJS(r),Promise.resolve(a)}if(201===t){var o,s=e.data;return o=yy.fromJS(s),Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"getScheduleSessionList",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Schedule/GetScheduleSessionList";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetScheduleSessionList(e)}))}},{key:"processGetScheduleSessionList",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Dy.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"getScheduleComputedEvaluationStatistics",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Schedule/GetScheduleComputedEvaluationStatistics";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetScheduleComputedEvaluationStatistics(e)}))}},{key:"processGetScheduleComputedEvaluationStatistics",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a=null,r=e.data;if(Array.isArray(r)){a=[];var o,l=Object(s.a)(r);try{for(l.s();!(o=l.n()).done;){var c=o.value;a.push(Iy.fromJS(c))}}catch(f){l.e(f)}finally{l.f()}}else a=null;return Promise.resolve(a)}if(404===t){var d=e.data,u=d;return sC("Not Found",t,d,n,wg.fromJS(u))}var m=e.data,v=m;return sC("Error",t,m,n,wg.fromJS(v))}},{key:"getScheduleSelection",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Schedule/GetScheduleSelection?";if(null===e)throw new Error("The parameter 'scheduleId' cannot be null.");void 0!==e&&(a+="scheduleId="+encodeURIComponent(""+e)+"&");var r={method:"GET",url:a=a.replace(/[?&]$/,""),headers:{"x-api-version":void 0!==t&&null!==t?""+t:"",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetScheduleSelection(e)}))}},{key:"processGetScheduleSelection",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a=null,r=e.data;if(Array.isArray(r)){a=[];var o,l=Object(s.a)(r);try{for(l.s();!(o=l.n()).done;){var c=o.value;a.push(ky.fromJS(c))}}catch(f){l.e(f)}finally{l.f()}}else a=null;return Promise.resolve(a)}if(404===t){var d=e.data,u=d;return sC("Not Found",t,d,n,wg.fromJS(u))}var m=e.data,v=m;return sC("Error",t,m,n,wg.fromJS(v))}},{key:"getAllScheduleInstructors",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Schedule/GetAllScheduleInstructors";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetAllScheduleInstructors(e)}))}},{key:"processGetAllScheduleInstructors",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a=null,r=e.data;if(Array.isArray(r)){a=[];var o,l=Object(s.a)(r);try{for(l.s();!(o=l.n()).done;){var c=o.value;a.push(Qb.fromJS(c))}}catch(f){l.e(f)}finally{l.f()}}else a=null;return Promise.resolve(a)}if(404===t){var d=e.data,u=d;return sC("Not Found",t,d,n,wg.fromJS(u))}var m=e.data,v=m;return sC("Error",t,m,n,wg.fromJS(v))}},{key:"generateScheduleLinkGuid",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Schedule/GenerateScheduleLinkGuid";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGenerateScheduleLinkGuid(e)}))}},{key:"processGenerateScheduleLinkGuid",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Ty.fromJS(r),Promise.resolve(a)}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"getScheduleGuid",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Schedule/GetScheduleGuid";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetScheduleGuid(e)}))}},{key:"processGetScheduleGuid",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=void 0!==r?r:null,Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}}]),e}(),Re=function(){function e(t,n){Object(l.a)(this,e),this.instance=void 0,this.baseUrl=void 0,this.jsonParseReviver=void 0,this.instance=n||u.a.create(),this.baseUrl=void 0!==t&&null!==t?t:""}return Object(c.a)(e,[{key:"createScormRegistration",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Scorm/CreateScormRegistration";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processCreateScormRegistration(e)}))}},{key:"processCreateScormRegistration",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){e.data;return Promise.resolve(null)}if(201===t){e.data;return Promise.resolve(null)}if(400===t){var a=e.data,r=a;return sC("Bad Request",t,a,n,aC.fromJS(r))}var o=e.data,s=o;return sC("Error",t,o,n,wg.fromJS(s))}},{key:"createScormRegistrationProgress",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Scorm/CreateScormRegistrationProgress";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processCreateScormRegistrationProgress(e)}))}},{key:"processCreateScormRegistrationProgress",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=_S.fromJS(r),Promise.resolve(a)}if(201===t){var o,s=e.data;return o=_S.fromJS(s),Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"deleteScormRegistration",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Scorm/DeleteScormRegistration";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"DELETE",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processDeleteScormRegistration(e)}))}},{key:"processDeleteScormRegistration",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=void 0!==r?r:null,Promise.resolve(a)}if(204===t)return sC("Success",t,e.data,n);if(400===t){var o=e.data,s=o;return sC("Bad Request",t,o,n,aC.fromJS(s))}if(404===t){var l=e.data,c=l;return sC("Not Found",t,l,n,wg.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"deleteScormRegistrationProgress",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Scorm/DeleteScormRegistrationProgress";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"DELETE",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processDeleteScormRegistrationProgress(e)}))}},{key:"processDeleteScormRegistrationProgress",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=void 0!==r?r:null,Promise.resolve(a)}if(204===t)return sC("Success",t,e.data,n);if(400===t){var o=e.data,s=o;return sC("Bad Request",t,o,n,aC.fromJS(s))}if(404===t){var l=e.data,c=l;return sC("Not Found",t,l,n,wg.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"getToken",value:function(e,t){var n=this,i=this.baseUrl+"/api/Scorm/GetToken",a={method:"POST",url:i=i.replace(/[?&]$/,""),headers:{"x-api-version":void 0!==e&&null!==e?""+e:"",Accept:"application/json"},cancelToken:t};return this.instance.request(a).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return n.processGetToken(e)}))}},{key:"processGetToken",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=void 0!==r?r:null,Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"getScormRegistrationLaunchLink",value:function(e,t,n,i){var a=this,r=this.baseUrl+"/api/Scorm/GetScormRegistrationLaunchLink?";if(null===e)throw new Error("The parameter 'sessionParticipantId' cannot be null.");if(void 0!==e&&(r+="sessionParticipantId="+encodeURIComponent(""+e)+"&"),null===t)throw new Error("The parameter 'redirectOnExitUrl' cannot be null.");void 0!==t&&(r+="redirectOnExitUrl="+encodeURIComponent(""+t)+"&");var o={method:"GET",url:r=r.replace(/[?&]$/,""),headers:{"x-api-version":void 0!==n&&null!==n?""+n:"",Accept:"application/json"},cancelToken:i};return this.instance.request(o).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return a.processGetScormRegistrationLaunchLink(e)}))}},{key:"processGetScormRegistrationLaunchLink",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=void 0!==r?r:null,Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"getScormRegistration",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Scorm/GetScormRegistration?";if(null===e)throw new Error("The parameter 'sessionParticipantId' cannot be null.");void 0!==e&&(a+="sessionParticipantId="+encodeURIComponent(""+e)+"&");var r={method:"GET",url:a=a.replace(/[?&]$/,""),headers:{"x-api-version":void 0!==t&&null!==t?""+t:"",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetScormRegistration(e)}))}},{key:"processGetScormRegistration",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=void 0!==r?r:null,Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"getScormRegistrationByParticipantId",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Scorm/GetScormRegistrationByParticipantId?";if(null===e)throw new Error("The parameter 'sessionParticipantId' cannot be null.");void 0!==e&&(a+="sessionParticipantId="+encodeURIComponent(""+e)+"&");var r={method:"GET",url:a=a.replace(/[?&]$/,""),headers:{"x-api-version":void 0!==t&&null!==t?""+t:"",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetScormRegistrationByParticipantId(e)}))}},{key:"processGetScormRegistrationByParticipantId",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=void 0!==r?r:null,Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"getScormRegistrationProgress",value:function(e,t,n,i){var a=this,r=this.baseUrl+"/api/Scorm/GetScormRegistrationProgress?";if(null===e)throw new Error("The parameter 'sessionParticipantId' cannot be null.");if(void 0!==e&&(r+="sessionParticipantId="+encodeURIComponent(""+e)+"&"),null===t)throw new Error("The parameter 'fromScormCloud' cannot be null.");void 0!==t&&(r+="fromScormCloud="+encodeURIComponent(""+t)+"&");var o={method:"GET",url:r=r.replace(/[?&]$/,""),headers:{"x-api-version":void 0!==n&&null!==n?""+n:"",Accept:"application/json"},cancelToken:i};return this.instance.request(o).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return a.processGetScormRegistrationProgress(e)}))}},{key:"processGetScormRegistrationProgress",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Ly.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"setApplicationConfiguration",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Scorm/SetApplicationConfiguration";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processSetApplicationConfiguration(e)}))}},{key:"processSetApplicationConfiguration",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=void 0!==r?r:null,Promise.resolve(a)}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"postBackRegistration",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Scorm/PostBackRegistration";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processPostBackRegistration(e)}))}},{key:"processPostBackRegistration",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){e.data;return Promise.resolve(null)}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"syncParticipantProgress",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Scorm/SyncParticipantProgress";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processSyncParticipantProgress(e)}))}},{key:"processSyncParticipantProgress",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){e.data;return Promise.resolve(null)}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}}]),e}(),Je=function(){function e(t,n){Object(l.a)(this,e),this.instance=void 0,this.baseUrl=void 0,this.jsonParseReviver=void 0,this.instance=n||u.a.create(),this.baseUrl=void 0!==t&&null!==t?t:""}return Object(c.a)(e,[{key:"getAllSecurityGroups",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/SecurityGroup/GetAllSecurityGroups";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetAllSecurityGroups(e)}))}},{key:"processGetAllSecurityGroups",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Wy.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"getAllSecurityGroupsForFilter",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/SecurityGroup/GetAllSecurityGroupsForFilter";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetAllSecurityGroupsForFilter(e)}))}},{key:"processGetAllSecurityGroupsForFilter",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=My.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"exportCsv",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/SecurityGroup/ExportCsv";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),responseType:"blob",method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/octet-stream"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processExportCsv(e)}))}},{key:"processExportCsv",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t||206===t){var a=e.headers?e.headers["content-disposition"]:void 0,r=a?/filename\*=(?:(\\?['"])(.*?)\1|(?:[^\s]+'.*?')?([^;\n]*))/g.exec(a):void 0,o=r&&r.length>1?r[3]||r[2]:void 0;return o=o?decodeURIComponent(o):(r=a?/filename="?([^"]*?)"?(;|$)/g.exec(a):void 0)&&r.length>1?r[1]:void 0,Promise.resolve({fileName:o,status:t,data:new Blob([e.data],{type:e.headers["content-type"]}),headers:n})}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"exportExcel",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/SecurityGroup/ExportExcel";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),responseType:"blob",method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/octet-stream"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processExportExcel(e)}))}},{key:"processExportExcel",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t||206===t){var a=e.headers?e.headers["content-disposition"]:void 0,r=a?/filename\*=(?:(\\?['"])(.*?)\1|(?:[^\s]+'.*?')?([^;\n]*))/g.exec(a):void 0,o=r&&r.length>1?r[3]||r[2]:void 0;return o=o?decodeURIComponent(o):(r=a?/filename="?([^"]*?)"?(;|$)/g.exec(a):void 0)&&r.length>1?r[1]:void 0,Promise.resolve({fileName:o,status:t,data:new Blob([e.data],{type:e.headers["content-type"]}),headers:n})}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"getSecurityGroupListById",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/SecurityGroup/GetSecurityGroupListById";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetSecurityGroupListById(e)}))}},{key:"processGetSecurityGroupListById",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Wy.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"createSecurityGroup",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/SecurityGroup/CreateSecurityGroup";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processCreateSecurityGroup(e)}))}},{key:"processCreateSecurityGroup",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=zy.fromJS(r),Promise.resolve(a)}if(201===t){var o,s=e.data;return o=zy.fromJS(s),Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"updateSecurityGroup",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/SecurityGroup/UpdateSecurityGroup";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"PUT",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processUpdateSecurityGroup(e)}))}},{key:"processUpdateSecurityGroup",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=zy.fromJS(r),Promise.resolve(a)}if(201===t){var o,s=e.data;return o=zy.fromJS(s),Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"deleteSecurityGroup",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/SecurityGroup/DeleteSecurityGroup";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"DELETE",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processDeleteSecurityGroup(e)}))}},{key:"processDeleteSecurityGroup",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){e.data;return Promise.resolve(null)}if(204===t){e.data;return Promise.resolve(null)}if(400===t){var a=e.data,r=a;return sC("Bad Request",t,a,n,aC.fromJS(r))}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"assignUserToSecurityGroup",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/SecurityGroup/AssignUserToSecurityGroup";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processAssignUserToSecurityGroup(e)}))}},{key:"processAssignUserToSecurityGroup",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=zy.fromJS(r),Promise.resolve(a)}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"assignCriteriaUserToSecurityGroup",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/SecurityGroup/AssignCriteriaUserToSecurityGroup";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processAssignCriteriaUserToSecurityGroup(e)}))}},{key:"processAssignCriteriaUserToSecurityGroup",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){e.data;return Promise.resolve(null)}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"unassignUserFromSecurityGroup",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/SecurityGroup/UnassignUserFromSecurityGroup";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"DELETE",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processUnassignUserFromSecurityGroup(e)}))}},{key:"processUnassignUserFromSecurityGroup",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){e.data;return Promise.resolve(null)}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"validateSecurityGroupName",value:function(e,t,n,i){var a=this,r=this.baseUrl+"/api/SecurityGroup/ValidateSecurityGroupName?";if(null===e)throw new Error("The parameter 'securityGroupId' cannot be null.");if(void 0!==e&&(r+="securityGroupId="+encodeURIComponent(""+e)+"&"),null===t)throw new Error("The parameter 'name' cannot be null.");void 0!==t&&(r+="name="+encodeURIComponent(""+t)+"&");var o={method:"GET",url:r=r.replace(/[?&]$/,""),headers:{"x-api-version":void 0!==n&&null!==n?""+n:"",Accept:"application/json"},cancelToken:i};return this.instance.request(o).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return a.processValidateSecurityGroupName(e)}))}},{key:"processValidateSecurityGroupName",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=void 0!==r?r:null,Promise.resolve(a)}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"getSecurityGroupUsersByGroupId",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/SecurityGroup/GetSecurityGroupUsersByGroupId";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetSecurityGroupUsersByGroupId(e)}))}},{key:"processGetSecurityGroupUsersByGroupId",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=_y.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"getAllAvailableSecurityGroupUsers",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/SecurityGroup/GetAllAvailableSecurityGroupUsers";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetAllAvailableSecurityGroupUsers(e)}))}},{key:"processGetAllAvailableSecurityGroupUsers",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=FS.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}}]),e}(),Ge=function(){function e(t,n){Object(l.a)(this,e),this.instance=void 0,this.baseUrl=void 0,this.jsonParseReviver=void 0,this.instance=n||u.a.create(),this.baseUrl=void 0!==t&&null!==t?t:""}return Object(c.a)(e,[{key:"get",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/SecurityGroupCriteria/Get";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGet(e)}))}},{key:"processGet",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Jy.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"getUsers",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/SecurityGroupCriteria/GetUsers";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetUsers(e)}))}},{key:"processGetUsers",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Uy.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"create",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/SecurityGroupCriteria/Create";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processCreate(e)}))}},{key:"processCreate",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){e.data;return Promise.resolve(null)}if(201===t){e.data;return Promise.resolve(null)}if(400===t){var a=e.data,r=a;return sC("Bad Request",t,a,n,aC.fromJS(r))}var o=e.data,s=o;return sC("Error",t,o,n,wg.fromJS(s))}}]),e}(),Ue=function(){function e(t,n){Object(l.a)(this,e),this.instance=void 0,this.baseUrl=void 0,this.jsonParseReviver=void 0,this.instance=n||u.a.create(),this.baseUrl=void 0!==t&&null!==t?t:""}return Object(c.a)(e,[{key:"getAllSecurityUsers",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/SecurityUser/GetAllSecurityUsers";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetAllSecurityUsers(e)}))}},{key:"processGetAllSecurityUsers",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Qy.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"getSecurityGroupListById",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/SecurityUser/GetSecurityGroupListById";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetSecurityGroupListById(e)}))}},{key:"processGetSecurityGroupListById",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a=null,r=e.data;if(Array.isArray(r)){a=[];var o,l=Object(s.a)(r);try{for(l.s();!(o=l.n()).done;){var c=o.value;a.push($y.fromJS(c))}}catch(f){l.e(f)}finally{l.f()}}else a=null;return Promise.resolve(a)}if(404===t){var d=e.data,u=d;return sC("Not Found",t,d,n,wg.fromJS(u))}var m=e.data,v=m;return sC("Error",t,m,n,wg.fromJS(v))}},{key:"exportCsv",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/SecurityUser/ExportCsv";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),responseType:"blob",method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/octet-stream"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processExportCsv(e)}))}},{key:"processExportCsv",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t||206===t){var a=e.headers?e.headers["content-disposition"]:void 0,r=a?/filename\*=(?:(\\?['"])(.*?)\1|(?:[^\s]+'.*?')?([^;\n]*))/g.exec(a):void 0,o=r&&r.length>1?r[3]||r[2]:void 0;return o=o?decodeURIComponent(o):(r=a?/filename="?([^"]*?)"?(;|$)/g.exec(a):void 0)&&r.length>1?r[1]:void 0,Promise.resolve({fileName:o,status:t,data:new Blob([e.data],{type:e.headers["content-type"]}),headers:n})}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"exportExcel",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/SecurityUser/ExportExcel";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),responseType:"blob",method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/octet-stream"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processExportExcel(e)}))}},{key:"processExportExcel",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t||206===t){var a=e.headers?e.headers["content-disposition"]:void 0,r=a?/filename\*=(?:(\\?['"])(.*?)\1|(?:[^\s]+'.*?')?([^;\n]*))/g.exec(a):void 0,o=r&&r.length>1?r[3]||r[2]:void 0;return o=o?decodeURIComponent(o):(r=a?/filename="?([^"]*?)"?(;|$)/g.exec(a):void 0)&&r.length>1?r[1]:void 0,Promise.resolve({fileName:o,status:t,data:new Blob([e.data],{type:e.headers["content-type"]}),headers:n})}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"get",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/SecurityUser/Get/{userId}";if(void 0===e||null===e)throw new Error("The parameter 'userId' must be defined.");var r={method:"GET",url:a=(a=a.replace("{userId}",encodeURIComponent(""+e))).replace(/[?&]$/,""),headers:{"x-api-version":void 0!==t&&null!==t?""+t:"",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGet(e)}))}},{key:"processGet",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Hy.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"updateSecurityUser",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/SecurityUser/UpdateSecurityUser";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processUpdateSecurityUser(e)}))}},{key:"processUpdateSecurityUser",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=$y.fromJS(r),Promise.resolve(a)}if(201===t){var o,s=e.data;return o=$y.fromJS(s),Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"resetSecurityUserPassword",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/SecurityUser/ResetSecurityUserPassword";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processResetSecurityUserPassword(e)}))}},{key:"processResetSecurityUserPassword",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){e.data;return Promise.resolve(null)}if(204===t){e.data;return Promise.resolve(null)}if(400===t){var a=e.data,r=a;return sC("Bad Request",t,a,n,aC.fromJS(r))}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"addRoleToSecurityUser",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/SecurityUser/AddRoleToSecurityUser";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processAddRoleToSecurityUser(e)}))}},{key:"processAddRoleToSecurityUser",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=$y.fromJS(r),Promise.resolve(a)}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"massAddRoleToSecurityUser",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/SecurityUser/MassAddRoleToSecurityUser";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processMassAddRoleToSecurityUser(e)}))}},{key:"processMassAddRoleToSecurityUser",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){e.data;return Promise.resolve(null)}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"deleteRoleFromSecurityUser",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/SecurityUser/DeleteRoleFromSecurityUser";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"DELETE",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processDeleteRoleFromSecurityUser(e)}))}},{key:"processDeleteRoleFromSecurityUser",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){e.data;return Promise.resolve(null)}if(204===t){e.data;return Promise.resolve(null)}if(400===t){var a=e.data,r=a;return sC("Bad Request",t,a,n,aC.fromJS(r))}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"addSecurityGroupToSecurityUser",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/SecurityUser/AddSecurityGroupToSecurityUser";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processAddSecurityGroupToSecurityUser(e)}))}},{key:"processAddSecurityGroupToSecurityUser",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=$y.fromJS(r),Promise.resolve(a)}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"massAddSecurityGroupToSecurityUser",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/SecurityUser/MassAddSecurityGroupToSecurityUser";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processMassAddSecurityGroupToSecurityUser(e)}))}},{key:"processMassAddSecurityGroupToSecurityUser",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){e.data;return Promise.resolve(null)}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"deleteSecurityGroupFromSecurityUser",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/SecurityUser/DeleteSecurityGroupFromSecurityUser";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"DELETE",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processDeleteSecurityGroupFromSecurityUser(e)}))}},{key:"processDeleteSecurityGroupFromSecurityUser",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){e.data;return Promise.resolve(null)}if(204===t){e.data;return Promise.resolve(null)}if(400===t){var a=e.data,r=a;return sC("Bad Request",t,a,n,aC.fromJS(r))}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"updateSecurityUserPassword",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/SecurityUser/UpdateSecurityUserPassword";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processUpdateSecurityUserPassword(e)}))}},{key:"processUpdateSecurityUserPassword",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){e.data;return Promise.resolve(null)}if(201===t){e.data;return Promise.resolve(null)}if(400===t){var a=e.data,r=a;return sC("Bad Request",t,a,n,aC.fromJS(r))}var o=e.data,s=o;return sC("Error",t,o,n,wg.fromJS(s))}},{key:"updateBulkSecurityUserPassword",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/SecurityUser/UpdateBulkSecurityUserPassword";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processUpdateBulkSecurityUserPassword(e)}))}},{key:"processUpdateBulkSecurityUserPassword",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){e.data;return Promise.resolve(null)}if(201===t){e.data;return Promise.resolve(null)}if(400===t){var a=e.data,r=a;return sC("Bad Request",t,a,n,aC.fromJS(r))}var o=e.data,s=o;return sC("Error",t,o,n,wg.fromJS(s))}},{key:"toggleSecurityUserApplicationAccess",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/SecurityUser/ToggleSecurityUserApplicationAccess";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"PUT",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processToggleSecurityUserApplicationAccess(e)}))}},{key:"processToggleSecurityUserApplicationAccess",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){e.data;return Promise.resolve(null)}if(201===t){e.data;return Promise.resolve(null)}if(400===t){var a=e.data,r=a;return sC("Bad Request",t,a,n,aC.fromJS(r))}var o=e.data,s=o;return sC("Error",t,o,n,wg.fromJS(s))}},{key:"updateSecurityUserEmailVerification",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/SecurityUser/UpdateSecurityUserEmailVerification";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"PUT",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processUpdateSecurityUserEmailVerification(e)}))}},{key:"processUpdateSecurityUserEmailVerification",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){e.data;return Promise.resolve(null)}if(201===t){e.data;return Promise.resolve(null)}if(400===t){var a=e.data,r=a;return sC("Bad Request",t,a,n,aC.fromJS(r))}var o=e.data,s=o;return sC("Error",t,o,n,wg.fromJS(s))}},{key:"sendUserVerificationEmail",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/SecurityUser/SendUserVerificationEmail";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"PUT",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processSendUserVerificationEmail(e)}))}},{key:"processSendUserVerificationEmail",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){e.data;return Promise.resolve(null)}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}}]),e}(),ze=function(){function e(t,n){Object(l.a)(this,e),this.instance=void 0,this.baseUrl=void 0,this.jsonParseReviver=void 0,this.instance=n||u.a.create(),this.baseUrl=void 0!==t&&null!==t?t:""}return Object(c.a)(e,[{key:"getAll",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/SecurityUserSavedFilter/GetAll";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetAll(e)}))}},{key:"processGetAll",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Ky.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"get",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/SecurityUserSavedFilter/Get";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGet(e)}))}},{key:"processGet",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Xy.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"create",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/SecurityUserSavedFilter/Create";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processCreate(e)}))}},{key:"processCreate",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Xy.fromJS(r),Promise.resolve(a)}if(201===t){var o,s=e.data;return o=Xy.fromJS(s),Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"update",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/SecurityUserSavedFilter/Update";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"PUT",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processUpdate(e)}))}},{key:"processUpdate",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Xy.fromJS(r),Promise.resolve(a)}if(201===t){var o,s=e.data;return o=Xy.fromJS(s),Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"delete",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/SecurityUserSavedFilter/Delete";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"DELETE",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processDelete(e)}))}},{key:"processDelete",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){e.data;return Promise.resolve(null)}if(204===t){e.data;return Promise.resolve(null)}if(400===t){var a=e.data,r=a;return sC("Bad Request",t,a,n,aC.fromJS(r))}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"validateSecurityUserSavedFilterName",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/SecurityUserSavedFilter/ValidateSecurityUserSavedFilterName";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processValidateSecurityUserSavedFilterName(e)}))}},{key:"processValidateSecurityUserSavedFilterName",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=void 0!==r?r:null,Promise.resolve(a)}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}}]),e}(),qe=function(){function e(t,n){Object(l.a)(this,e),this.instance=void 0,this.baseUrl=void 0,this.jsonParseReviver=void 0,this.instance=n||u.a.create(),this.baseUrl=void 0!==t&&null!==t?t:""}return Object(c.a)(e,[{key:"getAll",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Session/GetAll";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetAll(e)}))}},{key:"processGetAll",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Ub.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"exportCsv",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Session/ExportCsv";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),responseType:"blob",method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/octet-stream"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processExportCsv(e)}))}},{key:"processExportCsv",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t||206===t){var a=e.headers?e.headers["content-disposition"]:void 0,r=a?/filename\*=(?:(\\?['"])(.*?)\1|(?:[^\s]+'.*?')?([^;\n]*))/g.exec(a):void 0,o=r&&r.length>1?r[3]||r[2]:void 0;return o=o?decodeURIComponent(o):(r=a?/filename="?([^"]*?)"?(;|$)/g.exec(a):void 0)&&r.length>1?r[1]:void 0,Promise.resolve({fileName:o,status:t,data:new Blob([e.data],{type:e.headers["content-type"]}),headers:n})}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"exportExcel",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Session/ExportExcel";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),responseType:"blob",method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/octet-stream"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processExportExcel(e)}))}},{key:"processExportExcel",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t||206===t){var a=e.headers?e.headers["content-disposition"]:void 0,r=a?/filename\*=(?:(\\?['"])(.*?)\1|(?:[^\s]+'.*?')?([^;\n]*))/g.exec(a):void 0,o=r&&r.length>1?r[3]||r[2]:void 0;return o=o?decodeURIComponent(o):(r=a?/filename="?([^"]*?)"?(;|$)/g.exec(a):void 0)&&r.length>1?r[1]:void 0,Promise.resolve({fileName:o,status:t,data:new Blob([e.data],{type:e.headers["content-type"]}),headers:n})}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"getAllSessionByMonth",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Session/GetAllSessionByMonth";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetAllSessionByMonth(e)}))}},{key:"processGetAllSessionByMonth",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=zn.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"getAllPortalSessionByMonth",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Session/GetAllPortalSessionByMonth";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetAllPortalSessionByMonth(e)}))}},{key:"processGetAllPortalSessionByMonth",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Tp.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"getAllSessions",value:function(e,t){var n=this,i=this.baseUrl+"/api/Session/GetAllSessions",a={method:"GET",url:i=i.replace(/[?&]$/,""),headers:{"x-api-version":void 0!==e&&null!==e?""+e:"",Accept:"application/json"},cancelToken:t};return this.instance.request(a).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return n.processGetAllSessions(e)}))}},{key:"processGetAllSessions",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Ub.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"getAllSessionsByScheduleId",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Session/GetAllSessionsByScheduleId?";if(null===e)throw new Error("The parameter 'scheduleId' cannot be null.");void 0!==e&&(a+="scheduleId="+encodeURIComponent(""+e)+"&");var r={method:"GET",url:a=a.replace(/[?&]$/,""),headers:{"x-api-version":void 0!==t&&null!==t?""+t:"",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetAllSessionsByScheduleId(e)}))}},{key:"processGetAllSessionsByScheduleId",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Ub.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"get",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Session/Get/{sessionId}";if(void 0===e||null===e)throw new Error("The parameter 'sessionId' must be defined.");var r={method:"GET",url:a=(a=a.replace("{sessionId}",encodeURIComponent(""+e))).replace(/[?&]$/,""),headers:{"x-api-version":void 0!==t&&null!==t?""+t:"",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGet(e)}))}},{key:"processGet",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=fb.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"getSessionLicenseWithAdjustedParticipant",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Session/GetSessionLicenseWithAdjustedParticipant?";if(null===e)throw new Error("The parameter 'sessionId' cannot be null.");void 0!==e&&(a+="sessionId="+encodeURIComponent(""+e)+"&");var r={method:"GET",url:a=a.replace(/[?&]$/,""),headers:{"x-api-version":void 0!==t&&null!==t?""+t:"",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetSessionLicenseWithAdjustedParticipant(e)}))}},{key:"processGetSessionLicenseWithAdjustedParticipant",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a=null,r=e.data;if(Array.isArray(r)){a=[];var o,l=Object(s.a)(r);try{for(l.s();!(o=l.n()).done;){var c=o.value;a.push(c)}}catch(f){l.e(f)}finally{l.f()}}else a=null;return Promise.resolve(a)}if(404===t){var d=e.data,u=d;return sC("Not Found",t,d,n,wg.fromJS(u))}var m=e.data,v=m;return sC("Error",t,m,n,wg.fromJS(v))}},{key:"getSessionLicensePCAMIDList",value:function(e,t){var n=this,i=this.baseUrl+"/api/Session/GetSessionLicensePCAMIDList",a={method:"GET",url:i=i.replace(/[?&]$/,""),headers:{"x-api-version":void 0!==e&&null!==e?""+e:"",Accept:"application/json"},cancelToken:t};return this.instance.request(a).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return n.processGetSessionLicensePCAMIDList(e)}))}},{key:"processGetSessionLicensePCAMIDList",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a=null,r=e.data;if(Array.isArray(r)){a=[];var o,l=Object(s.a)(r);try{for(l.s();!(o=l.n()).done;){var c=o.value;a.push(c)}}catch(f){l.e(f)}finally{l.f()}}else a=null;return Promise.resolve(a)}if(404===t){var d=e.data,u=d;return sC("Not Found",t,d,n,wg.fromJS(u))}var m=e.data,v=m;return sC("Error",t,m,n,wg.fromJS(v))}},{key:"create",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Session/Create";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processCreate(e)}))}},{key:"processCreate",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=pb.fromJS(r),Promise.resolve(a)}if(201===t){var o,s=e.data;return o=pb.fromJS(s),Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"update",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Session/Update";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"PUT",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processUpdate(e)}))}},{key:"processUpdate",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=pb.fromJS(r),Promise.resolve(a)}if(201===t){var o,s=e.data;return o=pb.fromJS(s),Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"updateSessionAndLicenses",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Session/UpdateSessionAndLicenses";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"PUT",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processUpdateSessionAndLicenses(e)}))}},{key:"processUpdateSessionAndLicenses",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=fb.fromJS(r),Promise.resolve(a)}if(201===t){var o,s=e.data;return o=fb.fromJS(s),Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"updateSessionLicenseProperties",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Session/UpdateSessionLicenseProperties";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"PUT",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processUpdateSessionLicenseProperties(e)}))}},{key:"processUpdateSessionLicenseProperties",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=void 0!==r?r:null,Promise.resolve(a)}if(201===t){var o,s=e.data;return o=void 0!==s?s:null,Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"updatePublishSetting",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Session/UpdatePublishSetting";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"PUT",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processUpdatePublishSetting(e)}))}},{key:"processUpdatePublishSetting",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=ha.fromJS(r),Promise.resolve(a)}if(201===t){var o,s=e.data;return o=ha.fromJS(s),Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"updateSessionEvaluation",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Session/UpdateSessionEvaluation";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"PUT",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processUpdateSessionEvaluation(e)}))}},{key:"processUpdateSessionEvaluation",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=void 0!==r?r:null,Promise.resolve(a)}if(201===t){var o,s=e.data;return o=void 0!==s?s:null,Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"cancelSession",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Session/CancelSession";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"PUT",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processCancelSession(e)}))}},{key:"processCancelSession",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=ha.fromJS(r),Promise.resolve(a)}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"updateSessionLicenses",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Session/UpdateSessionLicenses";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"PUT",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processUpdateSessionLicenses(e)}))}},{key:"processUpdateSessionLicenses",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Fb.fromJS(r),Promise.resolve(a)}if(201===t){var o,s=e.data;return o=Fb.fromJS(s),Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"sendUpdateEmail",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Session/SendUpdateEmail";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"PUT",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processSendUpdateEmail(e)}))}},{key:"processSendUpdateEmail",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a=null,r=e.data;if(Array.isArray(r)){a=[];var o,l=Object(s.a)(r);try{for(l.s();!(o=l.n()).done;){var c=o.value;a.push(hs.fromJS(c))}}catch(d){l.e(d)}finally{l.f()}}else a=null;return Promise.resolve(a)}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"delete",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Session/Delete";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"DELETE",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processDelete(e)}))}},{key:"processDelete",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a=null,r=e.data;if(Array.isArray(r)){a=[];var o,l=Object(s.a)(r);try{for(l.s();!(o=l.n()).done;){var c=o.value;a.push(ha.fromJS(c))}}catch(h){l.e(h)}finally{l.f()}}else a=null;return Promise.resolve(a)}if(204===t)return sC("Success",t,e.data,n);if(400===t){var d=e.data,u=d;return sC("Bad Request",t,d,n,aC.fromJS(u))}if(404===t){var m=e.data,v=m;return sC("Not Found",t,m,n,wg.fromJS(v))}var f=e.data,p=f;return sC("Error",t,f,n,wg.fromJS(p))}},{key:"getAllSessionWaitlistedUsers",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Session/GetAllSessionWaitlistedUsers";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetAllSessionWaitlistedUsers(e)}))}},{key:"processGetAllSessionWaitlistedUsers",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Ig.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"getAllSessionInstructors",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Session/GetAllSessionInstructors";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetAllSessionInstructors(e)}))}},{key:"processGetAllSessionInstructors",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a=null,r=e.data;if(Array.isArray(r)){a=[];var o,l=Object(s.a)(r);try{for(l.s();!(o=l.n()).done;){var c=o.value;a.push(Qb.fromJS(c))}}catch(f){l.e(f)}finally{l.f()}}else a=null;return Promise.resolve(a)}if(404===t){var d=e.data,u=d;return sC("Not Found",t,d,n,wg.fromJS(u))}var m=e.data,v=m;return sC("Error",t,m,n,wg.fromJS(v))}},{key:"exportWaitlistsCsv",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Session/ExportWaitlistsCsv";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),responseType:"blob",method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/octet-stream"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processExportWaitlistsCsv(e)}))}},{key:"processExportWaitlistsCsv",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t||206===t){var a=e.headers?e.headers["content-disposition"]:void 0,r=a?/filename\*=(?:(\\?['"])(.*?)\1|(?:[^\s]+'.*?')?([^;\n]*))/g.exec(a):void 0,o=r&&r.length>1?r[3]||r[2]:void 0;return o=o?decodeURIComponent(o):(r=a?/filename="?([^"]*?)"?(;|$)/g.exec(a):void 0)&&r.length>1?r[1]:void 0,Promise.resolve({fileName:o,status:t,data:new Blob([e.data],{type:e.headers["content-type"]}),headers:n})}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"exportWaitlistsExcel",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Session/ExportWaitlistsExcel";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),responseType:"blob",method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/octet-stream"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processExportWaitlistsExcel(e)}))}},{key:"processExportWaitlistsExcel",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t||206===t){var a=e.headers?e.headers["content-disposition"]:void 0,r=a?/filename\*=(?:(\\?['"])(.*?)\1|(?:[^\s]+'.*?')?([^;\n]*))/g.exec(a):void 0,o=r&&r.length>1?r[3]||r[2]:void 0;return o=o?decodeURIComponent(o):(r=a?/filename="?([^"]*?)"?(;|$)/g.exec(a):void 0)&&r.length>1?r[1]:void 0,Promise.resolve({fileName:o,status:t,data:new Blob([e.data],{type:e.headers["content-type"]}),headers:n})}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"addToSessionWaitlist",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Session/AddToSessionWaitlist";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processAddToSessionWaitlist(e)}))}},{key:"processAddToSessionWaitlist",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Eg.fromJS(r),Promise.resolve(a)}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"updateSessionWaitlist",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Session/UpdateSessionWaitlist";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"PUT",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processUpdateSessionWaitlist(e)}))}},{key:"processUpdateSessionWaitlist",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Eg.fromJS(r),Promise.resolve(a)}if(201===t){var o,s=e.data;return o=Eg.fromJS(s),Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"deleteFromSessionWaitlist",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Session/DeleteFromSessionWaitlist";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"DELETE",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processDeleteFromSessionWaitlist(e)}))}},{key:"processDeleteFromSessionWaitlist",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){e.data;return Promise.resolve(null)}if(204===t){e.data;return Promise.resolve(null)}if(400===t){var a=e.data,r=a;return sC("Bad Request",t,a,n,aC.fromJS(r))}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"getAllSessionInvites",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Session/GetAllSessionInvites";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetAllSessionInvites(e)}))}},{key:"processGetAllSessionInvites",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Nb.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"exportInvitesCsv",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Session/ExportInvitesCsv";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),responseType:"blob",method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/octet-stream"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processExportInvitesCsv(e)}))}},{key:"processExportInvitesCsv",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t||206===t){var a=e.headers?e.headers["content-disposition"]:void 0,r=a?/filename\*=(?:(\\?['"])(.*?)\1|(?:[^\s]+'.*?')?([^;\n]*))/g.exec(a):void 0,o=r&&r.length>1?r[3]||r[2]:void 0;return o=o?decodeURIComponent(o):(r=a?/filename="?([^"]*?)"?(;|$)/g.exec(a):void 0)&&r.length>1?r[1]:void 0,Promise.resolve({fileName:o,status:t,data:new Blob([e.data],{type:e.headers["content-type"]}),headers:n})}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"exportInvitesExcel",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Session/ExportInvitesExcel";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),responseType:"blob",method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/octet-stream"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processExportInvitesExcel(e)}))}},{key:"processExportInvitesExcel",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t||206===t){var a=e.headers?e.headers["content-disposition"]:void 0,r=a?/filename\*=(?:(\\?['"])(.*?)\1|(?:[^\s]+'.*?')?([^;\n]*))/g.exec(a):void 0,o=r&&r.length>1?r[3]||r[2]:void 0;return o=o?decodeURIComponent(o):(r=a?/filename="?([^"]*?)"?(;|$)/g.exec(a):void 0)&&r.length>1?r[1]:void 0,Promise.resolve({fileName:o,status:t,data:new Blob([e.data],{type:e.headers["content-type"]}),headers:n})}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"deleteSessionInvites",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Session/DeleteSessionInvites";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"DELETE",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processDeleteSessionInvites(e)}))}},{key:"processDeleteSessionInvites",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){e.data;return Promise.resolve(null)}if(204===t){e.data;return Promise.resolve(null)}if(400===t){var a=e.data,r=a;return sC("Bad Request",t,a,n,aC.fromJS(r))}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"declineSessionInvites",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Session/DeclineSessionInvites";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processDeclineSessionInvites(e)}))}},{key:"processDeclineSessionInvites",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){e.data;return Promise.resolve(null)}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"getAllSessionEvaluations",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Session/GetAllSessionEvaluations";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetAllSessionEvaluations(e)}))}},{key:"processGetAllSessionEvaluations",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=xb.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"exportEvaluationsCsv",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Session/ExportEvaluationsCsv";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),responseType:"blob",method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/octet-stream"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processExportEvaluationsCsv(e)}))}},{key:"processExportEvaluationsCsv",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t||206===t){var a=e.headers?e.headers["content-disposition"]:void 0,r=a?/filename\*=(?:(\\?['"])(.*?)\1|(?:[^\s]+'.*?')?([^;\n]*))/g.exec(a):void 0,o=r&&r.length>1?r[3]||r[2]:void 0;return o=o?decodeURIComponent(o):(r=a?/filename="?([^"]*?)"?(;|$)/g.exec(a):void 0)&&r.length>1?r[1]:void 0,Promise.resolve({fileName:o,status:t,data:new Blob([e.data],{type:e.headers["content-type"]}),headers:n})}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"exportEvaluationsExcel",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Session/ExportEvaluationsExcel";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),responseType:"blob",method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/octet-stream"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processExportEvaluationsExcel(e)}))}},{key:"processExportEvaluationsExcel",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t||206===t){var a=e.headers?e.headers["content-disposition"]:void 0,r=a?/filename\*=(?:(\\?['"])(.*?)\1|(?:[^\s]+'.*?')?([^;\n]*))/g.exec(a):void 0,o=r&&r.length>1?r[3]||r[2]:void 0;return o=o?decodeURIComponent(o):(r=a?/filename="?([^"]*?)"?(;|$)/g.exec(a):void 0)&&r.length>1?r[1]:void 0,Promise.resolve({fileName:o,status:t,data:new Blob([e.data],{type:e.headers["content-type"]}),headers:n})}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"getSessionEmailSetting",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Session/GetSessionEmailSetting";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetSessionEmailSetting(e)}))}},{key:"processGetSessionEmailSetting",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=yb.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"createSessionEmailSetting",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Session/CreateSessionEmailSetting";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processCreateSessionEmailSetting(e)}))}},{key:"processCreateSessionEmailSetting",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=hb.fromJS(r),Promise.resolve(a)}if(201===t){var o,s=e.data;return o=hb.fromJS(s),Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"updateSessionEmailSetting",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Session/UpdateSessionEmailSetting";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processUpdateSessionEmailSetting(e)}))}},{key:"processUpdateSessionEmailSetting",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=hb.fromJS(r),Promise.resolve(a)}if(201===t){var o,s=e.data;return o=hb.fromJS(s),Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"getAllSessionMedia",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Session/GetAllSessionMedia";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetAllSessionMedia(e)}))}},{key:"processGetAllSessionMedia",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Wb.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"deleteSessionMediaFile",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Session/DeleteSessionMediaFile?";if(null===e)throw new Error("The parameter 'sessionMediaFileId' cannot be null.");void 0!==e&&(a+="sessionMediaFileId="+encodeURIComponent(""+e)+"&");var r={method:"DELETE",url:a=a.replace(/[?&]$/,""),headers:{"x-api-version":void 0!==t&&null!==t?""+t:""},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processDeleteSessionMediaFile(e)}))}},{key:"processDeleteSessionMediaFile",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){e.data;return Promise.resolve(null)}if(204===t){e.data;return Promise.resolve(null)}if(400===t){var a=e.data,r=a;return sC("Bad Request",t,a,n,aC.fromJS(r))}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"updateSessionMediaFile",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Session/UpdateSessionMediaFile";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processUpdateSessionMediaFile(e)}))}},{key:"processUpdateSessionMediaFile",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Mb.fromJS(r),Promise.resolve(a)}if(201===t){var o,s=e.data;return o=Mb.fromJS(s),Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"updateSessionMediaFiles",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Session/UpdateSessionMediaFiles";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processUpdateSessionMediaFiles(e)}))}},{key:"processUpdateSessionMediaFiles",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a=null,r=e.data;if(Array.isArray(r)){a=[];var o,l=Object(s.a)(r);try{for(l.s();!(o=l.n()).done;){var c=o.value;a.push(Mb.fromJS(c))}}catch(g){l.e(g)}finally{l.f()}}else a=null;return Promise.resolve(a)}if(201===t){var d=null,u=e.data;if(Array.isArray(u)){d=[];var m,v=Object(s.a)(u);try{for(v.s();!(m=v.n()).done;){var f=m.value;d.push(Mb.fromJS(f))}}catch(g){v.e(g)}finally{v.f()}}else d=null;return Promise.resolve(d)}if(400===t){var p=e.data,h=p;return sC("Bad Request",t,p,n,aC.fromJS(h))}var y=e.data,b=y;return sC("Error",t,y,n,wg.fromJS(b))}},{key:"createUserFavoriteReport",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Session/CreateUserFavoriteReport";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"PUT",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processCreateUserFavoriteReport(e)}))}},{key:"processCreateUserFavoriteReport",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=ol.fromJS(r),Promise.resolve(a)}if(201===t){var o,s=e.data;return o=ol.fromJS(s),Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"deleteUserFavoriteSession",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Session/DeleteUserFavoriteSession";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"DELETE",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processDeleteUserFavoriteSession(e)}))}},{key:"processDeleteUserFavoriteSession",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){e.data;return Promise.resolve(null)}if(204===t){e.data;return Promise.resolve(null)}if(400===t){var a=e.data,r=a;return sC("Bad Request",t,a,n,aC.fromJS(r))}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"getUserFavoriteSession",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Session/GetUserFavoriteSession";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetUserFavoriteSession(e)}))}},{key:"processGetUserFavoriteSession",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=ol.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"getInstructorSessions",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Session/GetInstructorSessions";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetInstructorSessions(e)}))}},{key:"processGetInstructorSessions",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=ya.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"getInstructorSessionById",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Session/GetInstructorSessionById/{sessionId}";if(void 0===e||null===e)throw new Error("The parameter 'sessionId' must be defined.");var r={method:"GET",url:a=(a=a.replace("{sessionId}",encodeURIComponent(""+e))).replace(/[?&]$/,""),headers:{"x-api-version":void 0!==t&&null!==t?""+t:"",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetInstructorSessionById(e)}))}},{key:"processGetInstructorSessionById",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Um.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"addInstructorSessionMaterials",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Session/AddInstructorSessionMaterials";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processAddInstructorSessionMaterials(e)}))}},{key:"processAddInstructorSessionMaterials",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){e.data;return Promise.resolve(null)}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"getAllSessionSubjectAreaRegulatoryMappings",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Session/GetAllSessionSubjectAreaRegulatoryMappings";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetAllSessionSubjectAreaRegulatoryMappings(e)}))}},{key:"processGetAllSessionSubjectAreaRegulatoryMappings",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a=null,r=e.data;if(Array.isArray(r)){a=[];var o,l=Object(s.a)(r);try{for(l.s();!(o=l.n()).done;){var c=o.value;a.push(fg.fromJS(c))}}catch(f){l.e(f)}finally{l.f()}}else a=null;return Promise.resolve(a)}if(404===t){var d=e.data,u=d;return sC("Not Found",t,d,n,wg.fromJS(u))}var m=e.data,v=m;return sC("Error",t,m,n,wg.fromJS(v))}},{key:"getAllSessionUnapprovedSubjectAreaCredits",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Session/GetAllSessionUnapprovedSubjectAreaCredits";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetAllSessionUnapprovedSubjectAreaCredits(e)}))}},{key:"processGetAllSessionUnapprovedSubjectAreaCredits",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a=null,r=e.data;if(Array.isArray(r)){a=[];var o,l=Object(s.a)(r);try{for(l.s();!(o=l.n()).done;){var c=o.value;a.push(tE.fromJS(c))}}catch(f){l.e(f)}finally{l.f()}}else a=null;return Promise.resolve(a)}if(404===t){var d=e.data,u=d;return sC("Not Found",t,d,n,wg.fromJS(u))}var m=e.data,v=m;return sC("Error",t,m,n,wg.fromJS(v))}},{key:"approveSessionSubjectAreaCredits",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Session/ApproveSessionSubjectAreaCredits";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"PUT",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processApproveSessionSubjectAreaCredits(e)}))}},{key:"processApproveSessionSubjectAreaCredits",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){e.data;return Promise.resolve(null)}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"saveSessionEvaluationStatistics",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Session/SaveSessionEvaluationStatistics";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"PUT",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processSaveSessionEvaluationStatistics(e)}))}},{key:"processSaveSessionEvaluationStatistics",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a=null,r=e.data;if(Array.isArray(r)){a=[];var o,l=Object(s.a)(r);try{for(l.s();!(o=l.n()).done;){var c=o.value;a.push(Tb.fromJS(c))}}catch(d){l.e(d)}finally{l.f()}}else a=null;return Promise.resolve(a)}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"getComputedEvaluationStatistics",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Session/GetComputedEvaluationStatistics";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetComputedEvaluationStatistics(e)}))}},{key:"processGetComputedEvaluationStatistics",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Ib.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"getEvaluationStatisticsBySessionId",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Session/GetEvaluationStatisticsBySessionId/{sessionId}";if(void 0===e||null===e)throw new Error("The parameter 'sessionId' must be defined.");var r={method:"GET",url:a=(a=a.replace("{sessionId}",encodeURIComponent(""+e))).replace(/[?&]$/,""),headers:{"x-api-version":void 0!==t&&null!==t?""+t:"",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetEvaluationStatisticsBySessionId(e)}))}},{key:"processGetEvaluationStatisticsBySessionId",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a=null,r=e.data;if(Array.isArray(r)){a=[];var o,l=Object(s.a)(r);try{for(l.s();!(o=l.n()).done;){var c=o.value;a.push(Tb.fromJS(c))}}catch(f){l.e(f)}finally{l.f()}}else a=null;return Promise.resolve(a)}if(404===t){var d=e.data,u=d;return sC("Not Found",t,d,n,wg.fromJS(u))}var m=e.data,v=m;return sC("Error",t,m,n,wg.fromJS(v))}},{key:"getEvaluationStatisticsByQuestionId",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Session/GetEvaluationStatisticsByQuestionId/{questionId}";if(void 0===e||null===e)throw new Error("The parameter 'questionId' must be defined.");var r={method:"GET",url:a=(a=a.replace("{questionId}",encodeURIComponent(""+e))).replace(/[?&]$/,""),headers:{"x-api-version":void 0!==t&&null!==t?""+t:"",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetEvaluationStatisticsByQuestionId(e)}))}},{key:"processGetEvaluationStatisticsByQuestionId",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Tb.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"getSessionLicenses",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Session/GetSessionLicenses";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetSessionLicenses(e)}))}},{key:"processGetSessionLicenses",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a=null,r=e.data;if(Array.isArray(r)){a=[];var o,l=Object(s.a)(r);try{for(l.s();!(o=l.n()).done;){var c=o.value;a.push(Fb.fromJS(c))}}catch(f){l.e(f)}finally{l.f()}}else a=null;return Promise.resolve(a)}if(404===t){var d=e.data,u=d;return sC("Not Found",t,d,n,wg.fromJS(u))}var m=e.data,v=m;return sC("Error",t,m,n,wg.fromJS(v))}},{key:"getAllNYCounty",value:function(e,t){var n=this,i=this.baseUrl+"/api/Session/GetAllNYCounty",a={method:"GET",url:i=i.replace(/[?&]$/,""),headers:{"x-api-version":void 0!==e&&null!==e?""+e:"",Accept:"application/json"},cancelToken:t};return this.instance.request(a).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return n.processGetAllNYCounty(e)}))}},{key:"processGetAllNYCounty",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a=null,r=e.data;if(Array.isArray(r)){a=[];var o,l=Object(s.a)(r);try{for(l.s();!(o=l.n()).done;){var c=o.value;a.push(pp.fromJS(c))}}catch(f){l.e(f)}finally{l.f()}}else a=null;return Promise.resolve(a)}if(404===t){var d=e.data,u=d;return sC("Not Found",t,d,n,wg.fromJS(u))}var m=e.data,v=m;return sC("Error",t,m,n,wg.fromJS(v))}},{key:"getNYLocation",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Session/GetNYLocation";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetNYLocation(e)}))}},{key:"processGetNYLocation",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a=null,r=e.data;if(Array.isArray(r)){a=[];var o,l=Object(s.a)(r);try{for(l.s();!(o=l.n()).done;){var c=o.value;a.push(c)}}catch(f){l.e(f)}finally{l.f()}}else a=null;return Promise.resolve(a)}if(404===t){var d=e.data,u=d;return sC("Not Found",t,d,n,wg.fromJS(u))}var m=e.data,v=m;return sC("Error",t,m,n,wg.fromJS(v))}},{key:"generateSessionLinkGuid",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Session/GenerateSessionLinkGuid";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGenerateSessionLinkGuid(e)}))}},{key:"processGenerateSessionLinkGuid",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Gb.fromJS(r),Promise.resolve(a)}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"clone",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Session/Clone";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processClone(e)}))}},{key:"processClone",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=void 0!==r?r:null,Promise.resolve(a)}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"updateSessionSettings",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Session/UpdateSessionSettings";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processUpdateSessionSettings(e)}))}},{key:"processUpdateSessionSettings",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=ha.fromJS(r),Promise.resolve(a)}if(201===t){var o,s=e.data;return o=ha.fromJS(s),Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"getSessionSettings",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Session/GetSessionSettings";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetSessionSettings(e)}))}},{key:"processGetSessionSettings",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a=null,r=e.data;if(Array.isArray(r)){a=[];var o,l=Object(s.a)(r);try{for(l.s();!(o=l.n()).done;){var c=o.value;a.push(Db.fromJS(c))}}catch(f){l.e(f)}finally{l.f()}}else a=null;return Promise.resolve(a)}if(404===t){var d=e.data,u=d;return sC("Not Found",t,d,n,wg.fromJS(u))}var m=e.data,v=m;return sC("Error",t,m,n,wg.fromJS(v))}},{key:"getCourseSessionDetailsById",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Session/GetCourseSessionDetailsById/{sessionId}";if(void 0===e||null===e)throw new Error("The parameter 'sessionId' must be defined.");var r={method:"GET",url:a=(a=a.replace("{sessionId}",encodeURIComponent(""+e))).replace(/[?&]$/,""),headers:{"x-api-version":void 0!==t&&null!==t?""+t:"",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetCourseSessionDetailsById(e)}))}},{key:"processGetCourseSessionDetailsById",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=ma.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"getCourseSessionsDetails",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Session/GetCourseSessionsDetails";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetCourseSessionsDetails(e)}))}},{key:"processGetCourseSessionsDetails",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a=null,r=e.data;if(Array.isArray(r)){a=[];var o,l=Object(s.a)(r);try{for(l.s();!(o=l.n()).done;){var c=o.value;a.push(ma.fromJS(c))}}catch(f){l.e(f)}finally{l.f()}}else a=null;return Promise.resolve(a)}if(404===t){var d=e.data,u=d;return sC("Not Found",t,d,n,wg.fromJS(u))}var m=e.data,v=m;return sC("Error",t,m,n,wg.fromJS(v))}},{key:"updateMultiSession",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Session/UpdateMultiSession";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processUpdateMultiSession(e)}))}},{key:"processUpdateMultiSession",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a=null,r=e.data;if(Array.isArray(r)){a=[];var o,l=Object(s.a)(r);try{for(l.s();!(o=l.n()).done;){var c=o.value;a.push(c)}}catch(g){l.e(g)}finally{l.f()}}else a=null;return Promise.resolve(a)}if(201===t){var d=null,u=e.data;if(Array.isArray(u)){d=[];var m,v=Object(s.a)(u);try{for(v.s();!(m=v.n()).done;){var f=m.value;d.push(f)}}catch(g){v.e(g)}finally{v.f()}}else d=null;return Promise.resolve(d)}if(400===t){var p=e.data,h=p;return sC("Bad Request",t,p,n,aC.fromJS(h))}var y=e.data,b=y;return sC("Error",t,y,n,wg.fromJS(b))}},{key:"getAllSessionsByScheduleIdOrSessionId",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Session/GetAllSessionsByScheduleIdOrSessionId";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetAllSessionsByScheduleIdOrSessionId(e)}))}},{key:"processGetAllSessionsByScheduleIdOrSessionId",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Ub.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"addSessionAttendanceSheets",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Session/AddSessionAttendanceSheets";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processAddSessionAttendanceSheets(e)}))}},{key:"processAddSessionAttendanceSheets",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=fb.fromJS(r),Promise.resolve(a)}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"addToMultiSession",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Session/AddToMultiSession";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processAddToMultiSession(e)}))}},{key:"processAddToMultiSession",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){e.data;return Promise.resolve(null)}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"removeFromMultiSession",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Session/RemoveFromMultiSession";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processRemoveFromMultiSession(e)}))}},{key:"processRemoveFromMultiSession",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){e.data;return Promise.resolve(null)}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"createMultiSession",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Session/CreateMultiSession";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processCreateMultiSession(e)}))}},{key:"processCreateMultiSession",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=void 0!==r?r:null,Promise.resolve(a)}if(201===t){var o,s=e.data;return o=void 0!==s?s:null,Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"getMultiSessionLicenses",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Session/GetMultiSessionLicenses";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetMultiSessionLicenses(e)}))}},{key:"processGetMultiSessionLicenses",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=fp.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"updateMultiSessionLicenses",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Session/UpdateMultiSessionLicenses";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processUpdateMultiSessionLicenses(e)}))}},{key:"processUpdateMultiSessionLicenses",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a=null,r=e.data;if(Array.isArray(r)){a=[];var o,l=Object(s.a)(r);try{for(l.s();!(o=l.n()).done;){var c=o.value;a.push(c)}}catch(g){l.e(g)}finally{l.f()}}else a=null;return Promise.resolve(a)}if(201===t){var d=null,u=e.data;if(Array.isArray(u)){d=[];var m,v=Object(s.a)(u);try{for(v.s();!(m=v.n()).done;){var f=m.value;d.push(f)}}catch(g){v.e(g)}finally{v.f()}}else d=null;return Promise.resolve(d)}if(400===t){var p=e.data,h=p;return sC("Bad Request",t,p,n,aC.fromJS(h))}var y=e.data,b=y;return sC("Error",t,y,n,wg.fromJS(b))}},{key:"addSessionInviteUsers",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Session/AddSessionInviteUsers";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processAddSessionInviteUsers(e)}))}},{key:"processAddSessionInviteUsers",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){e.data;return Promise.resolve(null)}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"addBulkSessionMaterials",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Session/AddBulkSessionMaterials";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processAddBulkSessionMaterials(e)}))}},{key:"processAddBulkSessionMaterials",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){e.data;return Promise.resolve(null)}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"updateSessionAttendanceValidated",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Session/UpdateSessionAttendanceValidated";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processUpdateSessionAttendanceValidated(e)}))}},{key:"processUpdateSessionAttendanceValidated",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=void 0!==r?r:null,Promise.resolve(a)}if(201===t){var o,s=e.data;return o=void 0!==s?s:null,Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}}]),e}(),Me=function(){function e(t,n){Object(l.a)(this,e),this.instance=void 0,this.baseUrl=void 0,this.jsonParseReviver=void 0,this.instance=n||u.a.create(),this.baseUrl=void 0!==t&&null!==t?t:""}return Object(c.a)(e,[{key:"getAll",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/SessionParticipant/GetAll";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetAll(e)}))}},{key:"processGetAll",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=ng.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"getAllSessionParticipantIds",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/SessionParticipant/GetAllSessionParticipantIds";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetAllSessionParticipantIds(e)}))}},{key:"processGetAllSessionParticipantIds",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a=null,r=e.data;if(Array.isArray(r)){a=[];var o,l=Object(s.a)(r);try{for(l.s();!(o=l.n()).done;){var c=o.value;a.push(c)}}catch(f){l.e(f)}finally{l.f()}}else a=null;return Promise.resolve(a)}if(404===t){var d=e.data,u=d;return sC("Not Found",t,d,n,wg.fromJS(u))}var m=e.data,v=m;return sC("Error",t,m,n,wg.fromJS(v))}},{key:"exportCsv",value:function(e,t,n,i){var a=this,r=this.baseUrl+"/api/SessionParticipant/ExportCsv?";if(null===e)throw new Error("The parameter 'isSimultaneous' cannot be null.");void 0!==e&&(r+="isSimultaneous="+encodeURIComponent(""+e)+"&"),r=r.replace(/[?&]$/,"");var o={data:JSON.stringify(n),responseType:"blob",method:"POST",url:r,headers:{"x-api-version":void 0!==t&&null!==t?""+t:"","Content-Type":"application/json",Accept:"application/octet-stream"},cancelToken:i};return this.instance.request(o).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return a.processExportCsv(e)}))}},{key:"processExportCsv",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t||206===t){var a=e.headers?e.headers["content-disposition"]:void 0,r=a?/filename\*=(?:(\\?['"])(.*?)\1|(?:[^\s]+'.*?')?([^;\n]*))/g.exec(a):void 0,o=r&&r.length>1?r[3]||r[2]:void 0;return o=o?decodeURIComponent(o):(r=a?/filename="?([^"]*?)"?(;|$)/g.exec(a):void 0)&&r.length>1?r[1]:void 0,Promise.resolve({fileName:o,status:t,data:new Blob([e.data],{type:e.headers["content-type"]}),headers:n})}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"exportExcel",value:function(e,t,n,i){var a=this,r=this.baseUrl+"/api/SessionParticipant/ExportExcel?";if(null===e)throw new Error("The parameter 'isSimultaneous' cannot be null.");void 0!==e&&(r+="isSimultaneous="+encodeURIComponent(""+e)+"&"),r=r.replace(/[?&]$/,"");var o={data:JSON.stringify(n),responseType:"blob",method:"POST",url:r,headers:{"x-api-version":void 0!==t&&null!==t?""+t:"","Content-Type":"application/json",Accept:"application/octet-stream"},cancelToken:i};return this.instance.request(o).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return a.processExportExcel(e)}))}},{key:"processExportExcel",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t||206===t){var a=e.headers?e.headers["content-disposition"]:void 0,r=a?/filename\*=(?:(\\?['"])(.*?)\1|(?:[^\s]+'.*?')?([^;\n]*))/g.exec(a):void 0,o=r&&r.length>1?r[3]||r[2]:void 0;return o=o?decodeURIComponent(o):(r=a?/filename="?([^"]*?)"?(;|$)/g.exec(a):void 0)&&r.length>1?r[1]:void 0,Promise.resolve({fileName:o,status:t,data:new Blob([e.data],{type:e.headers["content-type"]}),headers:n})}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"update",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/SessionParticipant/Update";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"PUT",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processUpdate(e)}))}},{key:"processUpdate",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Qb.fromJS(r),Promise.resolve(a)}if(201===t){var o,s=e.data;return o=Qb.fromJS(s),Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"decline",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/SessionParticipant/Decline";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processDecline(e)}))}},{key:"processDecline",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){e.data;return Promise.resolve(null)}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"validate",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/SessionParticipant/Validate";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"PUT",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processValidate(e)}))}},{key:"processValidate",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){e.data;return Promise.resolve(null)}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"updateCompletionDate",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/SessionParticipant/UpdateCompletionDate";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"PUT",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processUpdateCompletionDate(e)}))}},{key:"processUpdateCompletionDate",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){e.data;return Promise.resolve(null)}if(201===t){e.data;return Promise.resolve(null)}if(400===t){var a=e.data,r=a;return sC("Bad Request",t,a,n,aC.fromJS(r))}var o=e.data,s=o;return sC("Error",t,o,n,wg.fromJS(s))}},{key:"updateParticipantAndLicense",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/SessionParticipant/UpdateParticipantAndLicense";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"PUT",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processUpdateParticipantAndLicense(e)}))}},{key:"processUpdateParticipantAndLicense",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=void 0!==r?r:null,Promise.resolve(a)}if(201===t){var o,s=e.data;return o=void 0!==s?s:null,Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"updateParticipantLicenseCredits",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/SessionParticipant/UpdateParticipantLicenseCredits";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"PUT",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processUpdateParticipantLicenseCredits(e)}))}},{key:"processUpdateParticipantLicenseCredits",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=lg.fromJS(r),Promise.resolve(a)}if(201===t){var o,s=e.data;return o=lg.fromJS(s),Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"updateParticipantLicenseProperties",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/SessionParticipant/UpdateParticipantLicenseProperties";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"PUT",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processUpdateParticipantLicenseProperties(e)}))}},{key:"processUpdateParticipantLicenseProperties",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=cg.fromJS(r),Promise.resolve(a)}if(201===t){var o,s=e.data;return o=cg.fromJS(s),Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"createParticipantLicenseCredits",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/SessionParticipant/CreateParticipantLicenseCredits";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processCreateParticipantLicenseCredits(e)}))}},{key:"processCreateParticipantLicenseCredits",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=xS.fromJS(r),Promise.resolve(a)}if(201===t){var o,s=e.data;return o=xS.fromJS(s),Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"createParticipantLicenseProperties",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/SessionParticipant/CreateParticipantLicenseProperties";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processCreateParticipantLicenseProperties(e)}))}},{key:"processCreateParticipantLicenseProperties",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=PS.fromJS(r),Promise.resolve(a)}if(201===t){var o,s=e.data;return o=PS.fromJS(s),Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"deleteParticipantLicenseCredits",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/SessionParticipant/DeleteParticipantLicenseCredits";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"DELETE",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processDeleteParticipantLicenseCredits(e)}))}},{key:"processDeleteParticipantLicenseCredits",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){e.data;return Promise.resolve(null)}if(204===t){e.data;return Promise.resolve(null)}if(400===t){var a=e.data,r=a;return sC("Bad Request",t,a,n,aC.fromJS(r))}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"deleteParticipantLicenseProperties",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/SessionParticipant/DeleteParticipantLicenseProperties";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"DELETE",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processDeleteParticipantLicenseProperties(e)}))}},{key:"processDeleteParticipantLicenseProperties",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){e.data;return Promise.resolve(null)}if(204===t){e.data;return Promise.resolve(null)}if(400===t){var a=e.data,r=a;return sC("Bad Request",t,a,n,aC.fromJS(r))}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"delete",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/SessionParticipant/Delete";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"DELETE",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processDelete(e)}))}},{key:"processDelete",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){e.data;return Promise.resolve(null)}if(204===t){e.data;return Promise.resolve(null)}if(400===t){var a=e.data,r=a;return sC("Bad Request",t,a,n,aC.fromJS(r))}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"create",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/SessionParticipant/Create";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processCreate(e)}))}},{key:"processCreate",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Qb.fromJS(r),Promise.resolve(a)}if(201===t){var o,s=e.data;return o=Qb.fromJS(s),Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"createByGuid",value:function(e,t,n,i,a,r){var o=this,s=this.baseUrl+"/api/SessionParticipant/CreateByGuid?";if(null===e)throw new Error("The parameter 'sessionId' cannot be null.");if(void 0!==e&&(s+="sessionId="+encodeURIComponent(""+e)+"&"),null===t)throw new Error("The parameter 'isTentative' cannot be null.");if(void 0!==t&&(s+="isTentative="+encodeURIComponent(""+t)+"&"),null===n)throw new Error("The parameter 'isInstructor' cannot be null.");void 0!==n&&(s+="isInstructor="+encodeURIComponent(""+n)+"&"),s=s.replace(/[?&]$/,"");var l={data:JSON.stringify(a),method:"POST",url:s,headers:{"x-api-version":void 0!==i&&null!==i?""+i:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:r};return this.instance.request(l).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return o.processCreateByGuid(e)}))}},{key:"processCreateByGuid",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Qb.fromJS(r),Promise.resolve(a)}if(201===t){var o,s=e.data;return o=Qb.fromJS(s),Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"updateByGuid",value:function(e,t,n,i,a,r,o,s){var l=this,c=this.baseUrl+"/api/SessionParticipant/UpdateByGuid?";if(null===e)throw new Error("The parameter 'sessionId' cannot be null.");if(void 0!==e&&(c+="sessionId="+encodeURIComponent(""+e)+"&"),null===t)throw new Error("The parameter 'participantId' cannot be null.");if(void 0!==t&&(c+="participantId="+encodeURIComponent(""+t)+"&"),null===n)throw new Error("The parameter 'statusId' cannot be null.");if(void 0!==n&&(c+="statusId="+encodeURIComponent(""+n)+"&"),null===i)throw new Error("The parameter 'isApproval' cannot be null.");if(void 0!==i&&(c+="isApproval="+encodeURIComponent(""+i)+"&"),null===a)throw new Error("The parameter 'isUnvalidate' cannot be null.");void 0!==a&&(c+="isUnvalidate="+encodeURIComponent(""+a)+"&"),c=c.replace(/[?&]$/,"");var d={data:JSON.stringify(o),method:"PUT",url:c,headers:{"x-api-version":void 0!==r&&null!==r?""+r:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:s};return this.instance.request(d).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return l.processUpdateByGuid(e)}))}},{key:"processUpdateByGuid",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Qb.fromJS(r),Promise.resolve(a)}if(201===t){var o,s=e.data;return o=Qb.fromJS(s),Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"deleteByGuid",value:function(e,t,n,i,a){var r=this,o=this.baseUrl+"/api/SessionParticipant/DeleteByGuid?";if(null===e)throw new Error("The parameter 'sessionId' cannot be null.");if(void 0!==e&&(o+="sessionId="+encodeURIComponent(""+e)+"&"),null===t)throw new Error("The parameter 'participantId' cannot be null.");void 0!==t&&(o+="participantId="+encodeURIComponent(""+t)+"&"),o=o.replace(/[?&]$/,"");var s={data:JSON.stringify(i),method:"DELETE",url:o,headers:{"x-api-version":void 0!==n&&null!==n?""+n:"","Content-Type":"application/json"},cancelToken:a};return this.instance.request(s).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return r.processDeleteByGuid(e)}))}},{key:"processDeleteByGuid",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){e.data;return Promise.resolve(null)}if(204===t){e.data;return Promise.resolve(null)}if(400===t){var a=e.data,r=a;return sC("Bad Request",t,a,n,aC.fromJS(r))}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"addToWaitlistByGuid",value:function(e,t,n,i){var a=this,r=this.baseUrl+"/api/SessionParticipant/AddToWaitlistByGuid?";if(null===e)throw new Error("The parameter 'sessionId' cannot be null.");void 0!==e&&(r+="sessionId="+encodeURIComponent(""+e)+"&"),r=r.replace(/[?&]$/,"");var o={data:JSON.stringify(n),method:"POST",url:r,headers:{"x-api-version":void 0!==t&&null!==t?""+t:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:i};return this.instance.request(o).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return a.processAddToWaitlistByGuid(e)}))}},{key:"processAddToWaitlistByGuid",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Eg.fromJS(r),Promise.resolve(a)}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"deleteFromWaitlist",value:function(e,t,n,i){var a=this,r=this.baseUrl+"/api/SessionParticipant/DeleteFromWaitlist?";if(null===e)throw new Error("The parameter 'sessionId' cannot be null.");void 0!==e&&(r+="sessionId="+encodeURIComponent(""+e)+"&"),r=r.replace(/[?&]$/,"");var o={data:JSON.stringify(n),method:"DELETE",url:r,headers:{"x-api-version":void 0!==t&&null!==t?""+t:"","Content-Type":"application/json"},cancelToken:i};return this.instance.request(o).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return a.processDeleteFromWaitlist(e)}))}},{key:"processDeleteFromWaitlist",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){e.data;return Promise.resolve(null)}if(204===t){e.data;return Promise.resolve(null)}if(400===t){var a=e.data,r=a;return sC("Bad Request",t,a,n,aC.fromJS(r))}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"declineInviteByGuid",value:function(e,t,n,i){var a=this,r=this.baseUrl+"/api/SessionParticipant/DeclineInviteByGuid?";if(null===e)throw new Error("The parameter 'sessionId' cannot be null.");void 0!==e&&(r+="sessionId="+encodeURIComponent(""+e)+"&"),r=r.replace(/[?&]$/,"");var o={data:JSON.stringify(n),method:"POST",url:r,headers:{"x-api-version":void 0!==t&&null!==t?""+t:"","Content-Type":"application/json"},cancelToken:i};return this.instance.request(o).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return a.processDeclineInviteByGuid(e)}))}},{key:"processDeclineInviteByGuid",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){e.data;return Promise.resolve(null)}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"updateInviteByGuid",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/SessionParticipant/UpdateInviteByGuid";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processUpdateInviteByGuid(e)}))}},{key:"processUpdateInviteByGuid",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){e.data;return Promise.resolve(null)}if(201===t){e.data;return Promise.resolve(null)}if(400===t){var a=e.data,r=a;return sC("Bad Request",t,a,n,aC.fromJS(r))}var o=e.data,s=o;return sC("Error",t,o,n,wg.fromJS(s))}},{key:"getAllAvailableSessionParticipants",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/SessionParticipant/GetAllAvailableSessionParticipants";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetAllAvailableSessionParticipants(e)}))}},{key:"processGetAllAvailableSessionParticipants",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Bn.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"getScheduleInstructors",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/SessionParticipant/GetScheduleInstructors";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetScheduleInstructors(e)}))}},{key:"processGetScheduleInstructors",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a=null,r=e.data;if(Array.isArray(r)){a=[];var o,l=Object(s.a)(r);try{for(l.s();!(o=l.n()).done;){var c=o.value;a.push(Qb.fromJS(c))}}catch(f){l.e(f)}finally{l.f()}}else a=null;return Promise.resolve(a)}if(404===t){var d=e.data,u=d;return sC("Not Found",t,d,n,wg.fromJS(u))}var m=e.data,v=m;return sC("Error",t,m,n,wg.fromJS(v))}},{key:"getSessionParticipantCertificates",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/SessionParticipant/GetSessionParticipantCertificates";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetSessionParticipantCertificates(e)}))}},{key:"processGetSessionParticipantCertificates",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Hb.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"getPortalSessionParticipantCertificates",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/SessionParticipant/GetPortalSessionParticipantCertificates";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetPortalSessionParticipantCertificates(e)}))}},{key:"processGetPortalSessionParticipantCertificates",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Bp.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"uploadCertificate",value:function(e,t,n,i){var a=this,r=this.baseUrl+"/api/SessionParticipant/UploadCertificate?";if(null===e)throw new Error("The parameter 'sessionParticipantId' cannot be null.");void 0!==e&&(r+="sessionParticipantId="+encodeURIComponent(""+e)+"&"),r=r.replace(/[?&]$/,"");var o=new FormData;if(null===n||void 0===n)throw new Error("The parameter 'files' cannot be null.");n.forEach((function(e){return o.append("files",e.data,e.fileName?e.fileName:"files")}));var s={data:o,method:"POST",url:r,headers:{"x-api-version":void 0!==t&&null!==t?""+t:"",Accept:"application/json"},cancelToken:i};return this.instance.request(s).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return a.processUploadCertificate(e)}))}},{key:"processUploadCertificate",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a=null,r=e.data;if(Array.isArray(r)){a=[];var o,l=Object(s.a)(r);try{for(l.s();!(o=l.n()).done;){var c=o.value;a.push(Hb.fromJS(c))}}catch(g){l.e(g)}finally{l.f()}}else a=null;return Promise.resolve(a)}if(201===t){var d=null,u=e.data;if(Array.isArray(u)){d=[];var m,v=Object(s.a)(u);try{for(v.s();!(m=v.n()).done;){var f=m.value;d.push(Hb.fromJS(f))}}catch(g){v.e(g)}finally{v.f()}}else d=null;return Promise.resolve(d)}if(400===t){var p=e.data,h=p;return sC("Bad Request",t,p,n,aC.fromJS(h))}var y=e.data,b=y;return sC("Error",t,y,n,wg.fromJS(b))}},{key:"uploadCertificateV2",value:function(e,t,n,i){var a=this,r=this.baseUrl+"/api/SessionParticipant/UploadCertificateV2?";if(null===e)throw new Error("The parameter 'participantIndex' cannot be null.");void 0!==e&&(r+="participantIndex="+encodeURIComponent(""+e)+"&"),r=r.replace(/[?&]$/,"");var o=new FormData;if(null===n||void 0===n)throw new Error("The parameter 'files' cannot be null.");n.forEach((function(e){return o.append("files",e.data,e.fileName?e.fileName:"files")}));var s={data:o,method:"POST",url:r,headers:{"x-api-version":void 0!==t&&null!==t?""+t:"",Accept:"application/json"},cancelToken:i};return this.instance.request(s).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return a.processUploadCertificateV2(e)}))}},{key:"processUploadCertificateV2",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a=null,r=e.data;if(Array.isArray(r)){a=[];var o,l=Object(s.a)(r);try{for(l.s();!(o=l.n()).done;){var c=o.value;a.push(Yb.fromJS(c))}}catch(g){l.e(g)}finally{l.f()}}else a=null;return Promise.resolve(a)}if(201===t){var d=null,u=e.data;if(Array.isArray(u)){d=[];var m,v=Object(s.a)(u);try{for(v.s();!(m=v.n()).done;){var f=m.value;d.push(Yb.fromJS(f))}}catch(g){v.e(g)}finally{v.f()}}else d=null;return Promise.resolve(d)}if(400===t){var p=e.data,h=p;return sC("Bad Request",t,p,n,aC.fromJS(h))}var y=e.data,b=y;return sC("Error",t,y,n,wg.fromJS(b))}},{key:"mergeCertificate",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/SessionParticipant/MergeCertificate";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),responseType:"blob",method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/octet-stream"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processMergeCertificate(e)}))}},{key:"processMergeCertificate",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t||206===t){var a=e.headers?e.headers["content-disposition"]:void 0,r=a?/filename\*=(?:(\\?['"])(.*?)\1|(?:[^\s]+'.*?')?([^;\n]*))/g.exec(a):void 0,o=r&&r.length>1?r[3]||r[2]:void 0;return o=o?decodeURIComponent(o):(r=a?/filename="?([^"]*?)"?(;|$)/g.exec(a):void 0)&&r.length>1?r[1]:void 0,Promise.resolve({fileName:o,status:t,data:new Blob([e.data],{type:e.headers["content-type"]}),headers:n})}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"deleteCertificate",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/SessionParticipant/DeleteCertificate";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processDeleteCertificate(e)}))}},{key:"processDeleteCertificate",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a=null,r=e.data;if(Array.isArray(r)){a=[];var o,l=Object(s.a)(r);try{for(l.s();!(o=l.n()).done;){var c=o.value;a.push(Hb.fromJS(c))}}catch(h){l.e(h)}finally{l.f()}}else a=null;return Promise.resolve(a)}if(204===t)return sC("Success",t,e.data,n);if(400===t){var d=e.data,u=d;return sC("Bad Request",t,d,n,aC.fromJS(u))}if(404===t){var m=e.data,v=m;return sC("Not Found",t,m,n,wg.fromJS(v))}var f=e.data,p=f;return sC("Error",t,f,n,wg.fromJS(p))}},{key:"downloadCertificate",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/SessionParticipant/DownloadCertificate?";if(null===e)throw new Error("The parameter 'sessionParticipantCertificateId' cannot be null.");void 0!==e&&(a+="sessionParticipantCertificateId="+encodeURIComponent(""+e)+"&");var r={responseType:"blob",method:"GET",url:a=a.replace(/[?&]$/,""),headers:{"x-api-version":void 0!==t&&null!==t?""+t:"",Accept:"application/octet-stream"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processDownloadCertificate(e)}))}},{key:"processDownloadCertificate",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t||206===t){var a=e.headers?e.headers["content-disposition"]:void 0,r=a?/filename\*=(?:(\\?['"])(.*?)\1|(?:[^\s]+'.*?')?([^;\n]*))/g.exec(a):void 0,o=r&&r.length>1?r[3]||r[2]:void 0;return o=o?decodeURIComponent(o):(r=a?/filename="?([^"]*?)"?(;|$)/g.exec(a):void 0)&&r.length>1?r[1]:void 0,Promise.resolve({fileName:o,status:t,data:new Blob([e.data],{type:e.headers["content-type"]}),headers:n})}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"downloadCertificateV2",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/SessionParticipant/DownloadCertificateV2?";if(null===e)throw new Error("The parameter 'fileId' cannot be null.");void 0!==e&&(a+="fileId="+encodeURIComponent(""+e)+"&");var r={responseType:"blob",method:"GET",url:a=a.replace(/[?&]$/,""),headers:{"x-api-version":void 0!==t&&null!==t?""+t:"",Accept:"application/octet-stream"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processDownloadCertificateV2(e)}))}},{key:"processDownloadCertificateV2",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t||206===t){var a=e.headers?e.headers["content-disposition"]:void 0,r=a?/filename\*=(?:(\\?['"])(.*?)\1|(?:[^\s]+'.*?')?([^;\n]*))/g.exec(a):void 0,o=r&&r.length>1?r[3]||r[2]:void 0;return o=o?decodeURIComponent(o):(r=a?/filename="?([^"]*?)"?(;|$)/g.exec(a):void 0)&&r.length>1?r[1]:void 0,Promise.resolve({fileName:o,status:t,data:new Blob([e.data],{type:e.headers["content-type"]}),headers:n})}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"getSessionParticipant",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/SessionParticipant/GetSessionParticipant";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetSessionParticipant(e)}))}},{key:"processGetSessionParticipant",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=ng.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"getAttendanceSheet",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/SessionParticipant/GetAttendanceSheet";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),responseType:"blob",method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/octet-stream"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetAttendanceSheet(e)}))}},{key:"processGetAttendanceSheet",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t||206===t){var a=e.headers?e.headers["content-disposition"]:void 0,r=a?/filename\*=(?:(\\?['"])(.*?)\1|(?:[^\s]+'.*?')?([^;\n]*))/g.exec(a):void 0,o=r&&r.length>1?r[3]||r[2]:void 0;return o=o?decodeURIComponent(o):(r=a?/filename="?([^"]*?)"?(;|$)/g.exec(a):void 0)&&r.length>1?r[1]:void 0,Promise.resolve({fileName:o,status:t,data:new Blob([e.data],{type:e.headers["content-type"]}),headers:n})}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"saveSessionEvaluation",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/SessionParticipant/SaveSessionEvaluation";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"PUT",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processSaveSessionEvaluation(e)}))}},{key:"processSaveSessionEvaluation",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){e.data;return Promise.resolve(null)}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"getSessionEvaluationById",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/SessionParticipant/GetSessionEvaluationById";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetSessionEvaluationById(e)}))}},{key:"processGetSessionEvaluationById",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Cb.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"saveSessionEvaluationAnswers",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/SessionParticipant/SaveSessionEvaluationAnswers";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processSaveSessionEvaluationAnswers(e)}))}},{key:"processSaveSessionEvaluationAnswers",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a=null,r=e.data;if(Array.isArray(r)){a=[];var o,l=Object(s.a)(r);try{for(l.s();!(o=l.n()).done;){var c=o.value;a.push(Eb.fromJS(c))}}catch(d){l.e(d)}finally{l.f()}}else a=null;return Promise.resolve(a)}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"getSessionEvaluationByGuid",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/SessionParticipant/GetSessionEvaluationByGuid?";if(null===e)throw new Error("The parameter 'guid' cannot be null.");void 0!==e&&(a+="guid="+encodeURIComponent(""+e)+"&");var r={method:"POST",url:a=a.replace(/[?&]$/,""),headers:{"x-api-version":void 0!==t&&null!==t?""+t:"",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetSessionEvaluationByGuid(e)}))}},{key:"processGetSessionEvaluationByGuid",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Cb.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"declineSessionEvaluationByGuid",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/SessionParticipant/DeclineSessionEvaluationByGuid?";if(null===e)throw new Error("The parameter 'guid' cannot be null.");void 0!==e&&(a+="guid="+encodeURIComponent(""+e)+"&");var r={method:"POST",url:a=a.replace(/[?&]$/,""),headers:{"x-api-version":void 0!==t&&null!==t?""+t:"",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processDeclineSessionEvaluationByGuid(e)}))}},{key:"processDeclineSessionEvaluationByGuid",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Cb.fromJS(r),Promise.resolve(a)}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"saveSupportingPageSessionEvaluationAnswers",value:function(e,t,n,i){var a=this,r=this.baseUrl+"/api/SessionParticipant/SaveSupportingPageSessionEvaluationAnswers?";if(null===e)throw new Error("The parameter 'guid' cannot be null.");void 0!==e&&(r+="guid="+encodeURIComponent(""+e)+"&"),r=r.replace(/[?&]$/,"");var o={data:JSON.stringify(n),method:"POST",url:r,headers:{"x-api-version":void 0!==t&&null!==t?""+t:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:i};return this.instance.request(o).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return a.processSaveSupportingPageSessionEvaluationAnswers(e)}))}},{key:"processSaveSupportingPageSessionEvaluationAnswers",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a=null,r=e.data;if(Array.isArray(r)){a=[];var o,l=Object(s.a)(r);try{for(l.s();!(o=l.n()).done;){var c=o.value;a.push(Eb.fromJS(c))}}catch(d){l.e(d)}finally{l.f()}}else a=null;return Promise.resolve(a)}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"updateRegistration",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/SessionParticipant/UpdateRegistration";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processUpdateRegistration(e)}))}},{key:"processUpdateRegistration",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){e.data;return Promise.resolve(null)}if(201===t){e.data;return Promise.resolve(null)}if(400===t){var a=e.data,r=a;return sC("Bad Request",t,a,n,aC.fromJS(r))}var o=e.data,s=o;return sC("Error",t,o,n,wg.fromJS(s))}},{key:"getSessionParticipantAdjustedCredit",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/SessionParticipant/GetSessionParticipantAdjustedCredit";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetSessionParticipantAdjustedCredit(e)}))}},{key:"processGetSessionParticipantAdjustedCredit",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=_b.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"hasSessionParticipants",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/SessionParticipant/HasSessionParticipants?";if(null===e)throw new Error("The parameter 'sessionId' cannot be null.");void 0!==e&&(a+="sessionId="+encodeURIComponent(""+e)+"&");var r={method:"GET",url:a=a.replace(/[?&]$/,""),headers:{"x-api-version":void 0!==t&&null!==t?""+t:"",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processHasSessionParticipants(e)}))}},{key:"processHasSessionParticipants",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=void 0!==r?r:null,Promise.resolve(a)}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"getExistingSessionParticipants",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/SessionParticipant/GetExistingSessionParticipants";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetExistingSessionParticipants(e)}))}},{key:"processGetExistingSessionParticipants",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a=null,r=e.data;if(Array.isArray(r)){a=[];var o,l=Object(s.a)(r);try{for(l.s();!(o=l.n()).done;){var c=o.value;a.push(og.fromJS(c))}}catch(f){l.e(f)}finally{l.f()}}else a=null;return Promise.resolve(a)}if(404===t){var d=e.data,u=d;return sC("Not Found",t,d,n,wg.fromJS(u))}var m=e.data,v=m;return sC("Error",t,m,n,wg.fromJS(v))}},{key:"getSessionParticipantLocation",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/SessionParticipant/GetSessionParticipantLocation";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetSessionParticipantLocation(e)}))}},{key:"processGetSessionParticipantLocation",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=ig.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"getAllSessionParticipantLicense",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/SessionParticipant/GetAllSessionParticipantLicense";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetAllSessionParticipantLicense(e)}))}},{key:"processGetAllSessionParticipantLicense",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a=null,r=e.data;if(Array.isArray(r)){a=[];var o,l=Object(s.a)(r);try{for(l.s();!(o=l.n()).done;){var c=o.value;a.push(Kb.fromJS(c))}}catch(f){l.e(f)}finally{l.f()}}else a=null;return Promise.resolve(a)}if(404===t){var d=e.data,u=d;return sC("Not Found",t,d,n,wg.fromJS(u))}var m=e.data,v=m;return sC("Error",t,m,n,wg.fromJS(v))}},{key:"getUserLicensePropertyValueByParticipant",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/SessionParticipant/GetUserLicensePropertyValueByParticipant";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetUserLicensePropertyValueByParticipant(e)}))}},{key:"processGetUserLicensePropertyValueByParticipant",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a=null,r=e.data;if(Array.isArray(r)){a=[];var o,l=Object(s.a)(r);try{for(l.s();!(o=l.n()).done;){var c=o.value;a.push(PS.fromJS(c))}}catch(f){l.e(f)}finally{l.f()}}else a=null;return Promise.resolve(a)}if(404===t){var d=e.data,u=d;return sC("Not Found",t,d,n,wg.fromJS(u))}var m=e.data,v=m;return sC("Error",t,m,n,wg.fromJS(v))}}]),e}(),We=function(){function e(t,n){Object(l.a)(this,e),this.instance=void 0,this.baseUrl=void 0,this.jsonParseReviver=void 0,this.instance=n||u.a.create(),this.baseUrl=void 0!==t&&null!==t?t:""}return Object(c.a)(e,[{key:"getAll",value:function(e,t){var n=this,i=this.baseUrl+"/api/State/GetAll",a={method:"GET",url:i=i.replace(/[?&]$/,""),headers:{"x-api-version":void 0!==e&&null!==e?""+e:"",Accept:"application/json"},cancelToken:t};return this.instance.request(a).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return n.processGetAll(e)}))}},{key:"processGetAll",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=xg.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}}]),e}(),Ve=function(){function e(t,n){Object(l.a)(this,e),this.instance=void 0,this.baseUrl=void 0,this.jsonParseReviver=void 0,this.instance=n||u.a.create(),this.baseUrl=void 0!==t&&null!==t?t:""}return Object(c.a)(e,[{key:"excludeUsers",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/StatementSchedule/ExcludeUsers";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processExcludeUsers(e)}))}},{key:"processExcludeUsers",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){e.data;return Promise.resolve(null)}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"getAvailableStatementScheduleUsersToExclude",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/StatementSchedule/GetAvailableStatementScheduleUsersToExclude";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetAvailableStatementScheduleUsersToExclude(e)}))}},{key:"processGetAvailableStatementScheduleUsersToExclude",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=FS.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"getStatementScheduleExcludedUsers",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/StatementSchedule/GetStatementScheduleExcludedUsers";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetStatementScheduleExcludedUsers(e)}))}},{key:"processGetStatementScheduleExcludedUsers",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=yl.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"removeStatementScheduleExcludedUser",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/StatementSchedule/RemoveStatementScheduleExcludedUser";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processRemoveStatementScheduleExcludedUser(e)}))}},{key:"processRemoveStatementScheduleExcludedUser",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){e.data;return Promise.resolve(null)}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}}]),e}(),_e=function(){function e(t,n){Object(l.a)(this,e),this.instance=void 0,this.baseUrl=void 0,this.jsonParseReviver=void 0,this.instance=n||u.a.create(),this.baseUrl=void 0!==t&&null!==t?t:""}return Object(c.a)(e,[{key:"getSubjectAreaMappingByLicenseId",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/SubjectArea/GetSubjectAreaMappingByLicenseId/{licenseId}";if(void 0===e||null===e)throw new Error("The parameter 'licenseId' must be defined.");var r={method:"GET",url:a=(a=a.replace("{licenseId}",encodeURIComponent(""+e))).replace(/[?&]$/,""),headers:{"x-api-version":void 0!==t&&null!==t?""+t:"",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetSubjectAreaMappingByLicenseId(e)}))}},{key:"processGetSubjectAreaMappingByLicenseId",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Bg.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"getUnmappedCredits",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/SubjectArea/GetUnmappedCredits";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetUnmappedCredits(e)}))}},{key:"processGetUnmappedCredits",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Pg.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"updateSubjectAreaMapping",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/SubjectArea/UpdateSubjectAreaMapping";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processUpdateSubjectAreaMapping(e)}))}},{key:"processUpdateSubjectAreaMapping",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){e.data;return Promise.resolve(null)}if(201===t){e.data;return Promise.resolve(null)}if(400===t){var a=e.data,r=a;return sC("Bad Request",t,a,n,aC.fromJS(r))}var o=e.data,s=o;return sC("Error",t,o,n,wg.fromJS(s))}},{key:"getLicensesMappedToSubjectArea",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/SubjectArea/GetLicensesMappedToSubjectArea";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetLicensesMappedToSubjectArea(e)}))}},{key:"processGetLicensesMappedToSubjectArea",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Dg.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"getAllLicensesMappedToSubjectArea",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/SubjectArea/GetAllLicensesMappedToSubjectArea";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetAllLicensesMappedToSubjectArea(e)}))}},{key:"processGetAllLicensesMappedToSubjectArea",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Dg.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"getSubjectAreaIsEnabled",value:function(e,t){var n=this,i=this.baseUrl+"/api/SubjectArea/GetSubjectAreaIsEnabled",a={method:"GET",url:i=i.replace(/[?&]$/,""),headers:{"x-api-version":void 0!==e&&null!==e?""+e:"",Accept:"application/json"},cancelToken:t};return this.instance.request(a).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return n.processGetSubjectAreaIsEnabled(e)}))}},{key:"processGetSubjectAreaIsEnabled",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=void 0!==r?r:null,Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}}]),e}(),Ye=function(){function e(t,n){Object(l.a)(this,e),this.instance=void 0,this.baseUrl=void 0,this.jsonParseReviver=void 0,this.instance=n||u.a.create(),this.baseUrl=void 0!==t&&null!==t?t:""}return Object(c.a)(e,[{key:"getAll",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Tag/GetAll";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetAll(e)}))}},{key:"processGetAll",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Vg.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"exportCsv",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Tag/ExportCsv";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),responseType:"blob",method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/octet-stream"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processExportCsv(e)}))}},{key:"processExportCsv",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t||206===t){var a=e.headers?e.headers["content-disposition"]:void 0,r=a?/filename\*=(?:(\\?['"])(.*?)\1|(?:[^\s]+'.*?')?([^;\n]*))/g.exec(a):void 0,o=r&&r.length>1?r[3]||r[2]:void 0;return o=o?decodeURIComponent(o):(r=a?/filename="?([^"]*?)"?(;|$)/g.exec(a):void 0)&&r.length>1?r[1]:void 0,Promise.resolve({fileName:o,status:t,data:new Blob([e.data],{type:e.headers["content-type"]}),headers:n})}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"exportExcel",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Tag/ExportExcel";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),responseType:"blob",method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/octet-stream"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processExportExcel(e)}))}},{key:"processExportExcel",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t||206===t){var a=e.headers?e.headers["content-disposition"]:void 0,r=a?/filename\*=(?:(\\?['"])(.*?)\1|(?:[^\s]+'.*?')?([^;\n]*))/g.exec(a):void 0,o=r&&r.length>1?r[3]||r[2]:void 0;return o=o?decodeURIComponent(o):(r=a?/filename="?([^"]*?)"?(;|$)/g.exec(a):void 0)&&r.length>1?r[1]:void 0,Promise.resolve({fileName:o,status:t,data:new Blob([e.data],{type:e.headers["content-type"]}),headers:n})}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"getTagListById",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Tag/GetTagListById";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetTagListById(e)}))}},{key:"processGetTagListById",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a=null,r=e.data;if(Array.isArray(r)){a=[];var o,l=Object(s.a)(r);try{for(l.s();!(o=l.n()).done;){var c=o.value;a.push(Wg.fromJS(c))}}catch(f){l.e(f)}finally{l.f()}}else a=null;return Promise.resolve(a)}if(404===t){var d=e.data,u=d;return sC("Not Found",t,d,n,wg.fromJS(u))}var m=e.data,v=m;return sC("Error",t,m,n,wg.fromJS(v))}},{key:"get",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Tag/Get/{tagId}";if(void 0===e||null===e)throw new Error("The parameter 'tagId' must be defined.");var r={method:"GET",url:a=(a=a.replace("{tagId}",encodeURIComponent(""+e))).replace(/[?&]$/,""),headers:{"x-api-version":void 0!==t&&null!==t?""+t:"",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGet(e)}))}},{key:"processGet",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Wg.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"create",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Tag/Create";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processCreate(e)}))}},{key:"processCreate",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Wg.fromJS(r),Promise.resolve(a)}if(201===t){var o,s=e.data;return o=Wg.fromJS(s),Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"update",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Tag/Update";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"PUT",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processUpdate(e)}))}},{key:"processUpdate",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Wg.fromJS(r),Promise.resolve(a)}if(201===t){var o,s=e.data;return o=Wg.fromJS(s),Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"delete",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Tag/Delete";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"DELETE",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processDelete(e)}))}},{key:"processDelete",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a=null,r=e.data;if(Array.isArray(r)){a=[];var o,l=Object(s.a)(r);try{for(l.s();!(o=l.n()).done;){var c=o.value;a.push(Wg.fromJS(c))}}catch(h){l.e(h)}finally{l.f()}}else a=null;return Promise.resolve(a)}if(204===t)return sC("Success",t,e.data,n);if(400===t){var d=e.data,u=d;return sC("Bad Request",t,d,n,aC.fromJS(u))}if(404===t){var m=e.data,v=m;return sC("Not Found",t,m,n,wg.fromJS(v))}var f=e.data,p=f;return sC("Error",t,f,n,wg.fromJS(p))}},{key:"archive",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Tag/Archive";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"PUT",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processArchive(e)}))}},{key:"processArchive",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){e.data;return Promise.resolve(null)}if(204===t){e.data;return Promise.resolve(null)}if(400===t){var a=e.data,r=a;return sC("Bad Request",t,a,n,aC.fromJS(r))}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"merge",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Tag/Merge";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processMerge(e)}))}},{key:"processMerge",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){e.data;return Promise.resolve(null)}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"validateTagName",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Tag/ValidateTagName";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processValidateTagName(e)}))}},{key:"processValidateTagName",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=void 0!==r?r:null,Promise.resolve(a)}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"validateTagCode",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/Tag/ValidateTagCode";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processValidateTagCode(e)}))}},{key:"processValidateTagCode",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=void 0!==r?r:null,Promise.resolve(a)}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}}]),e}(),He=function(){function e(t,n){Object(l.a)(this,e),this.instance=void 0,this.baseUrl=void 0,this.jsonParseReviver=void 0,this.instance=n||u.a.create(),this.baseUrl=void 0!==t&&null!==t?t:""}return Object(c.a)(e,[{key:"getAll",value:function(e,t){var n=this,i=this.baseUrl+"/api/Timezone/GetAll",a={method:"GET",url:i=i.replace(/[?&]$/,""),headers:{"x-api-version":void 0!==e&&null!==e?""+e:"",Accept:"application/json"},cancelToken:t};return this.instance.request(a).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return n.processGetAll(e)}))}},{key:"processGetAll",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Hg.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}}]),e}(),$e=function(){function e(t,n){Object(l.a)(this,e),this.instance=void 0,this.baseUrl=void 0,this.jsonParseReviver=void 0,this.instance=n||u.a.create(),this.baseUrl=void 0!==t&&null!==t?t:""}return Object(c.a)(e,[{key:"getAll",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/User/GetAll";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetAll(e)}))}},{key:"processGetAll",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=FS.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"exportCsv",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/User/ExportCsv";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),responseType:"blob",method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/octet-stream"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processExportCsv(e)}))}},{key:"processExportCsv",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t||206===t){var a=e.headers?e.headers["content-disposition"]:void 0,r=a?/filename\*=(?:(\\?['"])(.*?)\1|(?:[^\s]+'.*?')?([^;\n]*))/g.exec(a):void 0,o=r&&r.length>1?r[3]||r[2]:void 0;return o=o?decodeURIComponent(o):(r=a?/filename="?([^"]*?)"?(;|$)/g.exec(a):void 0)&&r.length>1?r[1]:void 0,Promise.resolve({fileName:o,status:t,data:new Blob([e.data],{type:e.headers["content-type"]}),headers:n})}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"exportExcel",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/User/ExportExcel";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),responseType:"blob",method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/octet-stream"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processExportExcel(e)}))}},{key:"processExportExcel",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t||206===t){var a=e.headers?e.headers["content-disposition"]:void 0,r=a?/filename\*=(?:(\\?['"])(.*?)\1|(?:[^\s]+'.*?')?([^;\n]*))/g.exec(a):void 0,o=r&&r.length>1?r[3]||r[2]:void 0;return o=o?decodeURIComponent(o):(r=a?/filename="?([^"]*?)"?(;|$)/g.exec(a):void 0)&&r.length>1?r[1]:void 0,Promise.resolve({fileName:o,status:t,data:new Blob([e.data],{type:e.headers["content-type"]}),headers:n})}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"getAllUserType",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/User/GetAllUserType";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetAllUserType(e)}))}},{key:"processGetAllUserType",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=iO.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"getAllAdmin",value:function(e,t){var n=this,i=this.baseUrl+"/api/User/GetAllAdmin",a={method:"GET",url:i=i.replace(/[?&]$/,""),headers:{"x-api-version":void 0!==e&&null!==e?""+e:"",Accept:"application/json"},cancelToken:t};return this.instance.request(a).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return n.processGetAllAdmin(e)}))}},{key:"processGetAllAdmin",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=FS.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"getAllUserLicensesCurrentPeriod",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/User/GetAllUserLicensesCurrentPeriod";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetAllUserLicensesCurrentPeriod(e)}))}},{key:"processGetAllUserLicensesCurrentPeriod",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=CS.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"getAllUserLicensesPortal",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/User/GetAllUserLicensesPortal";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetAllUserLicensesPortal(e)}))}},{key:"processGetAllUserLicensesPortal",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a=null,r=e.data;if(Array.isArray(r)){a=[];var o,l=Object(s.a)(r);try{for(l.s();!(o=l.n()).done;){var c=o.value;a.push(DS.fromJS(c))}}catch(f){l.e(f)}finally{l.f()}}else a=null;return Promise.resolve(a)}if(404===t){var d=e.data,u=d;return sC("Not Found",t,d,n,wg.fromJS(u))}var m=e.data,v=m;return sC("Error",t,m,n,wg.fromJS(v))}},{key:"getAllUserLicenses",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/User/GetAllUserLicenses";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetAllUserLicenses(e)}))}},{key:"processGetAllUserLicenses",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a=null,r=e.data;if(Array.isArray(r)){a=[];var o,l=Object(s.a)(r);try{for(l.s();!(o=l.n()).done;){var c=o.value;a.push(NS.fromJS(c))}}catch(f){l.e(f)}finally{l.f()}}else a=null;return Promise.resolve(a)}if(404===t){var d=e.data,u=d;return sC("Not Found",t,d,n,wg.fromJS(u))}var m=e.data,v=m;return sC("Error",t,m,n,wg.fromJS(v))}},{key:"getGlobalWorkUserCompliance",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/User/GetGlobalWorkUserCompliance";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetGlobalWorkUserCompliance(e)}))}},{key:"processGetGlobalWorkUserCompliance",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=xm.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"getAllUserCompletedTranscripts",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/User/GetAllUserCompletedTranscripts";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetAllUserCompletedTranscripts(e)}))}},{key:"processGetAllUserCompletedTranscripts",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=KS.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"getGlobalWorkUserCompletedTranscripts",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/User/GetGlobalWorkUserCompletedTranscripts";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetGlobalWorkUserCompletedTranscripts(e)}))}},{key:"processGetGlobalWorkUserCompletedTranscripts",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=km.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"exportUserTranscriptCsv",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/User/ExportUserTranscriptCsv";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),responseType:"blob",method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/octet-stream"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processExportUserTranscriptCsv(e)}))}},{key:"processExportUserTranscriptCsv",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t||206===t){var a=e.headers?e.headers["content-disposition"]:void 0,r=a?/filename\*=(?:(\\?['"])(.*?)\1|(?:[^\s]+'.*?')?([^;\n]*))/g.exec(a):void 0,o=r&&r.length>1?r[3]||r[2]:void 0;return o=o?decodeURIComponent(o):(r=a?/filename="?([^"]*?)"?(;|$)/g.exec(a):void 0)&&r.length>1?r[1]:void 0,Promise.resolve({fileName:o,status:t,data:new Blob([e.data],{type:e.headers["content-type"]}),headers:n})}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"exportUserTranscriptExcel",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/User/ExportUserTranscriptExcel";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),responseType:"blob",method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/octet-stream"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processExportUserTranscriptExcel(e)}))}},{key:"processExportUserTranscriptExcel",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t||206===t){var a=e.headers?e.headers["content-disposition"]:void 0,r=a?/filename\*=(?:(\\?['"])(.*?)\1|(?:[^\s]+'.*?')?([^;\n]*))/g.exec(a):void 0,o=r&&r.length>1?r[3]||r[2]:void 0;return o=o?decodeURIComponent(o):(r=a?/filename="?([^"]*?)"?(;|$)/g.exec(a):void 0)&&r.length>1?r[1]:void 0,Promise.resolve({fileName:o,status:t,data:new Blob([e.data],{type:e.headers["content-type"]}),headers:n})}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"getTranscriptListById",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/User/GetTranscriptListById";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetTranscriptListById(e)}))}},{key:"processGetTranscriptListById",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=KS.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"getAllPortalUserCompletedTranscriptSummary",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/User/GetAllPortalUserCompletedTranscriptSummary";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetAllPortalUserCompletedTranscriptSummary(e)}))}},{key:"processGetAllPortalUserCompletedTranscriptSummary",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Wp.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"getAllPortalUserCompletedTranscriptSummaryByGuid",value:function(e,t,n,i){var a=this,r=this.baseUrl+"/api/User/GetAllPortalUserCompletedTranscriptSummaryByGuid?";if(null===e)throw new Error("The parameter 'guid' cannot be null.");if(void 0!==e&&(r+="guid="+encodeURIComponent(""+e)+"&"),null===t)throw new Error("The parameter 'licenseId' cannot be null.");void 0!==t&&(r+="licenseId="+encodeURIComponent(""+t)+"&");var o={method:"POST",url:r=r.replace(/[?&]$/,""),headers:{"x-api-version":void 0!==n&&null!==n?""+n:"",Accept:"application/json"},cancelToken:i};return this.instance.request(o).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return a.processGetAllPortalUserCompletedTranscriptSummaryByGuid(e)}))}},{key:"processGetAllPortalUserCompletedTranscriptSummaryByGuid",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=eO.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"getAllUserUpcomingTranscripts",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/User/GetAllUserUpcomingTranscripts";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetAllUserUpcomingTranscripts(e)}))}},{key:"processGetAllUserUpcomingTranscripts",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=$S.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"getAllUserLearningPlans",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/User/GetAllUserLearningPlans";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetAllUserLearningPlans(e)}))}},{key:"processGetAllUserLearningPlans",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=yS.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"getAllUserLearningPlansPrint",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/User/GetAllUserLearningPlansPrint";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetAllUserLearningPlansPrint(e)}))}},{key:"processGetAllUserLearningPlansPrint",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=ES.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"getAllUserUnregisteredLearningPlans",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/User/GetAllUserUnregisteredLearningPlans/{userId}";if(void 0===e||null===e)throw new Error("The parameter 'userId' must be defined.");var r={method:"GET",url:a=(a=a.replace("{userId}",encodeURIComponent(""+e))).replace(/[?&]$/,""),headers:{"x-api-version":void 0!==t&&null!==t?""+t:"",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetAllUserUnregisteredLearningPlans(e)}))}},{key:"processGetAllUserUnregisteredLearningPlans",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=oO.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"getGlobalWorkUserLearningPlans",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/User/GetGlobalWorkUserLearningPlans";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetGlobalWorkUserLearningPlans(e)}))}},{key:"processGetGlobalWorkUserLearningPlans",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Om.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"getGlobalWorkUserLearningPlanDrawer",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/User/GetGlobalWorkUserLearningPlanDrawer";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetGlobalWorkUserLearningPlanDrawer(e)}))}},{key:"processGetGlobalWorkUserLearningPlanDrawer",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Im.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"getGlobalWorkUserLearningPlanRequirement",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/User/GetGlobalWorkUserLearningPlanRequirement";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetGlobalWorkUserLearningPlanRequirement(e)}))}},{key:"processGetGlobalWorkUserLearningPlanRequirement",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=jm.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"get",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/User/Get/{userId}";if(void 0===e||null===e)throw new Error("The parameter 'userId' must be defined.");var r={method:"GET",url:a=(a=a.replace("{userId}",encodeURIComponent(""+e))).replace(/[?&]$/,""),headers:{"x-api-version":void 0!==t&&null!==t?""+t:"",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGet(e)}))}},{key:"processGet",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=lS.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"getByIdpId",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/User/GetByIdpId/{idpId}";if(void 0===e||null===e)throw new Error("The parameter 'idpId' must be defined.");var r={method:"GET",url:a=(a=a.replace("{idpId}",encodeURIComponent(""+e))).replace(/[?&]$/,""),headers:{"x-api-version":void 0!==t&&null!==t?""+t:"",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetByIdpId(e)}))}},{key:"processGetByIdpId",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=lS.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"getUserApplicationByIdpId",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/User/GetUserApplicationByIdpId/{idpId}";if(void 0===e||null===e)throw new Error("The parameter 'idpId' must be defined.");var r={method:"GET",url:a=(a=a.replace("{idpId}",encodeURIComponent(""+e))).replace(/[?&]$/,""),headers:{"x-api-version":void 0!==t&&null!==t?""+t:"",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetUserApplicationByIdpId(e)}))}},{key:"processGetUserApplicationByIdpId",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=$I.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"getUserPreferences",value:function(e,t){var n=this,i=this.baseUrl+"/api/User/GetUserPreferences",a={method:"POST",url:i=i.replace(/[?&]$/,""),headers:{"x-api-version":void 0!==e&&null!==e?""+e:"",Accept:"application/json"},cancelToken:t};return this.instance.request(a).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return n.processGetUserPreferences(e)}))}},{key:"processGetUserPreferences",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=US.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"addUserLearningPlanParticipation",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/User/AddUserLearningPlanParticipation";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processAddUserLearningPlanParticipation(e)}))}},{key:"processAddUserLearningPlanParticipation",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=void 0!==r?r:null,Promise.resolve(a)}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"create",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/User/Create";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processCreate(e)}))}},{key:"processCreate",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=lS.fromJS(r),Promise.resolve(a)}if(201===t){var o,s=e.data;return o=lS.fromJS(s),Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"update",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/User/Update";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"PUT",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processUpdate(e)}))}},{key:"processUpdate",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=lS.fromJS(r),Promise.resolve(a)}if(201===t){var o,s=e.data;return o=lS.fromJS(s),Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"updateLoginId",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/User/UpdateLoginId";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"PUT",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processUpdateLoginId(e)}))}},{key:"processUpdateLoginId",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=lS.fromJS(r),Promise.resolve(a)}if(201===t){var o,s=e.data;return o=lS.fromJS(s),Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"massUpdate",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/User/MassUpdate";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"PUT",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processMassUpdate(e)}))}},{key:"processMassUpdate",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){e.data;return Promise.resolve(null)}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"massUpdateRole",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/User/MassUpdateRole";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"PUT",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processMassUpdateRole(e)}))}},{key:"processMassUpdateRole",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){e.data;return Promise.resolve(null)}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"updatePreferences",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/User/UpdatePreferences";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processUpdatePreferences(e)}))}},{key:"processUpdatePreferences",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=US.fromJS(r),Promise.resolve(a)}if(201===t){var o,s=e.data;return o=US.fromJS(s),Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"deleteUserRelationship",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/User/DeleteUserRelationship";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"PUT",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processDeleteUserRelationship(e)}))}},{key:"processDeleteUserRelationship",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a=null,r=e.data;if(Array.isArray(r)){a=[];var o,l=Object(s.a)(r);try{for(l.s();!(o=l.n()).done;){var c=o.value;a.push(zS.fromJS(c))}}catch(h){l.e(h)}finally{l.f()}}else a=null;return Promise.resolve(a)}if(204===t)return sC("Success",t,e.data,n);if(400===t){var d=e.data,u=d;return sC("Bad Request",t,d,n,aC.fromJS(u))}if(404===t){var m=e.data,v=m;return sC("Not Found",t,m,n,wg.fromJS(v))}var f=e.data,p=f;return sC("Error",t,f,n,wg.fromJS(p))}},{key:"changePassword",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/User/ChangePassword";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processChangePassword(e)}))}},{key:"processChangePassword",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){e.data;return Promise.resolve(null)}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"changeStatus",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/User/ChangeStatus";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"PUT",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processChangeStatus(e)}))}},{key:"processChangeStatus",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){e.data;return Promise.resolve(null)}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"validateUserEmail",value:function(e,t,n,i){var a=this,r=this.baseUrl+"/api/User/ValidateUserEmail?";if(null===e)throw new Error("The parameter 'userId' cannot be null.");if(void 0!==e&&(r+="userId="+encodeURIComponent(""+e)+"&"),null===t)throw new Error("The parameter 'email' cannot be null.");void 0!==t&&(r+="email="+encodeURIComponent(""+t)+"&");var o={method:"POST",url:r=r.replace(/[?&]$/,""),headers:{"x-api-version":void 0!==n&&null!==n?""+n:"",Accept:"application/json"},cancelToken:i};return this.instance.request(o).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return a.processValidateUserEmail(e)}))}},{key:"processValidateUserEmail",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=void 0!==r?r:null,Promise.resolve(a)}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"validateUserLoginId",value:function(e,t,n,i){var a=this,r=this.baseUrl+"/api/User/ValidateUserLoginId?";if(null===e)throw new Error("The parameter 'userId' cannot be null.");if(void 0!==e&&(r+="userId="+encodeURIComponent(""+e)+"&"),null===t)throw new Error("The parameter 'loginId' cannot be null.");void 0!==t&&(r+="loginId="+encodeURIComponent(""+t)+"&");var o={method:"POST",url:r=r.replace(/[?&]$/,""),headers:{"x-api-version":void 0!==n&&null!==n?""+n:"",Accept:"application/json"},cancelToken:i};return this.instance.request(o).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return a.processValidateUserLoginId(e)}))}},{key:"processValidateUserLoginId",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=void 0!==r?r:null,Promise.resolve(a)}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"validateUserPersonnedlId",value:function(e,t,n,i){var a=this,r=this.baseUrl+"/api/User/ValidateUserPersonnedlId?";if(null===e)throw new Error("The parameter 'userId' cannot be null.");if(void 0!==e&&(r+="userId="+encodeURIComponent(""+e)+"&"),null===t)throw new Error("The parameter 'personnelId' cannot be null.");void 0!==t&&(r+="personnelId="+encodeURIComponent(""+t)+"&");var o={method:"POST",url:r=r.replace(/[?&]$/,""),headers:{"x-api-version":void 0!==n&&null!==n?""+n:"",Accept:"application/json"},cancelToken:i};return this.instance.request(o).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return a.processValidateUserPersonnedlId(e)}))}},{key:"processValidateUserPersonnedlId",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=void 0!==r?r:null,Promise.resolve(a)}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"validateUserPhoneNumber",value:function(e,t,n,i,a){var r=this,o=this.baseUrl+"/api/User/ValidateUserPhoneNumber?";if(null===e)throw new Error("The parameter 'userId' cannot be null.");if(void 0!==e&&(o+="userId="+encodeURIComponent(""+e)+"&"),null===t)throw new Error("The parameter 'phoneNumber' cannot be null.");if(void 0!==t&&(o+="phoneNumber="+encodeURIComponent(""+t)+"&"),null===n)throw new Error("The parameter 'email' cannot be null.");void 0!==n&&(o+="email="+encodeURIComponent(""+n)+"&");var s={method:"POST",url:o=o.replace(/[?&]$/,""),headers:{"x-api-version":void 0!==i&&null!==i?""+i:"",Accept:"application/json"},cancelToken:a};return this.instance.request(s).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return r.processValidateUserPhoneNumber(e)}))}},{key:"processValidateUserPhoneNumber",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=void 0!==r?r:null,Promise.resolve(a)}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"validateUserAndLicenseDetails",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/User/ValidateUserAndLicenseDetails";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processValidateUserAndLicenseDetails(e)}))}},{key:"processValidateUserAndLicenseDetails",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=sO.fromJS(r),Promise.resolve(a)}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"validateUserDetails",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/User/ValidateUserDetails";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processValidateUserDetails(e)}))}},{key:"processValidateUserDetails",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=sO.fromJS(r),Promise.resolve(a)}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"delete",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/User/Delete";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"DELETE",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processDelete(e)}))}},{key:"processDelete",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){e.data;return Promise.resolve(null)}if(204===t){e.data;return Promise.resolve(null)}if(400===t){var a=e.data,r=a;return sC("Bad Request",t,a,n,aC.fromJS(r))}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"deleteUserLicense",value:function(e,t,n,i){var a=this,r=this.baseUrl+"/api/User/DeleteUserLicense?";if(null===e)throw new Error("The parameter 'userId' cannot be null.");void 0!==e&&(r+="userId="+encodeURIComponent(""+e)+"&"),r=r.replace(/[?&]$/,"");var o={data:JSON.stringify(n),method:"DELETE",url:r,headers:{"x-api-version":void 0!==t&&null!==t?""+t:"","Content-Type":"application/json"},cancelToken:i};return this.instance.request(o).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return a.processDeleteUserLicense(e)}))}},{key:"processDeleteUserLicense",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){e.data;return Promise.resolve(null)}if(204===t){e.data;return Promise.resolve(null)}if(400===t){var a=e.data,r=a;return sC("Bad Request",t,a,n,aC.fromJS(r))}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"deleteUserFromCognito",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/User/DeleteUserFromCognito";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"DELETE",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processDeleteUserFromCognito(e)}))}},{key:"processDeleteUserFromCognito",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){e.data;return Promise.resolve(null)}if(204===t){e.data;return Promise.resolve(null)}if(400===t){var a=e.data,r=a;return sC("Bad Request",t,a,n,aC.fromJS(r))}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"deleteCompletedUserTranscript",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/User/DeleteCompletedUserTranscript";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"DELETE",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processDeleteCompletedUserTranscript(e)}))}},{key:"processDeleteCompletedUserTranscript",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){e.data;return Promise.resolve(null)}if(204===t){e.data;return Promise.resolve(null)}if(400===t){var a=e.data,r=a;return sC("Bad Request",t,a,n,aC.fromJS(r))}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"deleteUserLearningPlan",value:function(e,t,n,i){var a=this,r=this.baseUrl+"/api/User/DeleteUserLearningPlan?";if(null===e)throw new Error("The parameter 'userId' cannot be null.");void 0!==e&&(r+="userId="+encodeURIComponent(""+e)+"&"),r=r.replace(/[?&]$/,"");var o={data:JSON.stringify(n),method:"DELETE",url:r,headers:{"x-api-version":void 0!==t&&null!==t?""+t:"","Content-Type":"application/json"},cancelToken:i};return this.instance.request(o).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return a.processDeleteUserLearningPlan(e)}))}},{key:"processDeleteUserLearningPlan",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){e.data;return Promise.resolve(null)}if(204===t){e.data;return Promise.resolve(null)}if(400===t){var a=e.data,r=a;return sC("Bad Request",t,a,n,aC.fromJS(r))}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"getAllUsersByRole",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/User/GetAllUsersByRole";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetAllUsersByRole(e)}))}},{key:"processGetAllUsersByRole",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a=null,r=e.data;if(Array.isArray(r)){a=[];var o,l=Object(s.a)(r);try{for(l.s();!(o=l.n()).done;){var c=o.value;a.push(ZI.fromJS(c))}}catch(f){l.e(f)}finally{l.f()}}else a=null;return Promise.resolve(a)}if(404===t){var d=e.data,u=d;return sC("Not Found",t,d,n,wg.fromJS(u))}var m=e.data,v=m;return sC("Error",t,m,n,wg.fromJS(v))}},{key:"getUserLicensesWithRetro",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/User/GetUserLicensesWithRetro";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetUserLicensesWithRetro(e)}))}},{key:"processGetUserLicensesWithRetro",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a=null,r=e.data;if(Array.isArray(r)){a=[];var o,l=Object(s.a)(r);try{for(l.s();!(o=l.n()).done;){var c=o.value;a.push(c)}}catch(f){l.e(f)}finally{l.f()}}else a=null;return Promise.resolve(a)}if(404===t){var d=e.data,u=d;return sC("Not Found",t,d,n,wg.fromJS(u))}var m=e.data,v=m;return sC("Error",t,m,n,wg.fromJS(v))}},{key:"updateUserLicenses",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/User/UpdateUserLicenses";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"PUT",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processUpdateUserLicenses(e)}))}},{key:"processUpdateUserLicenses",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){e.data;return Promise.resolve(null)}if(201===t){e.data;return Promise.resolve(null)}if(400===t){var a=e.data,r=a;return sC("Bad Request",t,a,n,aC.fromJS(r))}var o=e.data,s=o;return sC("Error",t,o,n,wg.fromJS(s))}},{key:"batchUpdateUserPassword",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/User/BatchUpdateUserPassword";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processBatchUpdateUserPassword(e)}))}},{key:"processBatchUpdateUserPassword",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){e.data;return Promise.resolve(null)}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"updateEmail",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/User/UpdateEmail";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"PUT",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processUpdateEmail(e)}))}},{key:"processUpdateEmail",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){e.data;return Promise.resolve(null)}if(201===t){e.data;return Promise.resolve(null)}if(400===t){var a=e.data,r=a;return sC("Bad Request",t,a,n,aC.fromJS(r))}var o=e.data,s=o;return sC("Error",t,o,n,wg.fromJS(s))}},{key:"getLcbcUserCompletedTranscripts",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/User/GetLcbcUserCompletedTranscripts";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetLcbcUserCompletedTranscripts(e)}))}},{key:"processGetLcbcUserCompletedTranscripts",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=hv.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"getLcbcUserCompliance",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/User/GetLcbcUserCompliance";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetLcbcUserCompliance(e)}))}},{key:"processGetLcbcUserCompliance",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=mv.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"getLcbcUserLearningPlanDrawer",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/User/GetLcbcUserLearningPlanDrawer";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetLcbcUserLearningPlanDrawer(e)}))}},{key:"processGetLcbcUserLearningPlanDrawer",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=sv.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"getLcbcUserLearningPlanRequirement",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/User/GetLcbcUserLearningPlanRequirement";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetLcbcUserLearningPlanRequirement(e)}))}},{key:"processGetLcbcUserLearningPlanRequirement",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=uv.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"getLcbcUserLearningPlans",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/User/GetLcbcUserLearningPlans";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetLcbcUserLearningPlans(e)}))}},{key:"processGetLcbcUserLearningPlans",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=cv.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"getDuplicateRecordByName",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/User/GetDuplicateRecordByName";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetDuplicateRecordByName(e)}))}},{key:"processGetDuplicateRecordByName",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a=null,r=e.data;if(Array.isArray(r)){a=[];var o,l=Object(s.a)(r);try{for(l.s();!(o=l.n()).done;){var c=o.value;a.push(cS.fromJS(c))}}catch(f){l.e(f)}finally{l.f()}}else a=null;return Promise.resolve(a)}if(404===t){var d=e.data,u=d;return sC("Not Found",t,d,n,wg.fromJS(u))}var m=e.data,v=m;return sC("Error",t,m,n,wg.fromJS(v))}},{key:"updateUserIdpIdAndUsername",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/User/UpdateUserIdpIdAndUsername";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"PUT",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processUpdateUserIdpIdAndUsername(e)}))}},{key:"processUpdateUserIdpIdAndUsername",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=void 0!==r?r:null,Promise.resolve(a)}if(201===t){var o,s=e.data;return o=void 0!==s?s:null,Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}}]),e}(),Qe=function(){function e(t,n){Object(l.a)(this,e),this.instance=void 0,this.baseUrl=void 0,this.jsonParseReviver=void 0,this.instance=n||u.a.create(),this.baseUrl=void 0!==t&&null!==t?t:""}return Object(c.a)(e,[{key:"get",value:function(e,t,n,i){var a=this,r=this.baseUrl+"/api/UserAccessTokenStore/Get/{userLoginSessionId}?";if(void 0===e||null===e)throw new Error("The parameter 'userLoginSessionId' must be defined.");if(r=r.replace("{userLoginSessionId}",encodeURIComponent(""+e)),null===t)throw new Error("The parameter 'cognitoClientId' cannot be null.");void 0!==t&&(r+="cognitoClientId="+encodeURIComponent(""+t)+"&");var o={method:"GET",url:r=r.replace(/[?&]$/,""),headers:{"x-api-version":void 0!==n&&null!==n?""+n:"",Accept:"application/json"},cancelToken:i};return this.instance.request(o).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return a.processGet(e)}))}},{key:"processGet",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=_I.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"check",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/UserAccessTokenStore/Check/{userLoginSessionId}";if(void 0===e||null===e)throw new Error("The parameter 'userLoginSessionId' must be defined.");var r={method:"GET",url:a=(a=a.replace("{userLoginSessionId}",encodeURIComponent(""+e))).replace(/[?&]$/,""),headers:{"x-api-version":void 0!==t&&null!==t?""+t:"",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processCheck(e)}))}},{key:"processCheck",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=void 0!==r?r:null,Promise.resolve(a)}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"set",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/UserAccessTokenStore/Set";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processSet(e)}))}},{key:"processSet",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){e.data;return Promise.resolve(null)}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"delete",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/UserAccessTokenStore/Delete?";if(null===e)throw new Error("The parameter 'userLoginSessionId' cannot be null.");void 0!==e&&(a+="userLoginSessionId="+encodeURIComponent(""+e)+"&");var r={method:"DELETE",url:a=a.replace(/[?&]$/,""),headers:{"x-api-version":void 0!==t&&null!==t?""+t:""},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processDelete(e)}))}},{key:"processDelete",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){e.data;return Promise.resolve(null)}if(204===t){e.data;return Promise.resolve(null)}if(400===t){var a=e.data,r=a;return sC("Bad Request",t,a,n,aC.fromJS(r))}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"clear",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/UserAccessTokenStore/Clear?";if(null===e)throw new Error("The parameter 'userLoginSessionId' cannot be null.");void 0!==e&&(a+="userLoginSessionId="+encodeURIComponent(""+e)+"&");var r={method:"DELETE",url:a=a.replace(/[?&]$/,""),headers:{"x-api-version":void 0!==t&&null!==t?""+t:""},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processClear(e)}))}},{key:"processClear",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){e.data;return Promise.resolve(null)}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}},{key:"clearAllUserLoginSession",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/UserAccessTokenStore/ClearAllUserLoginSession?";if(null===e)throw new Error("The parameter 'userName' cannot be null.");void 0!==e&&(a+="userName="+encodeURIComponent(""+e)+"&");var r={method:"DELETE",url:a=a.replace(/[?&]$/,""),headers:{"x-api-version":void 0!==t&&null!==t?""+t:""},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processClearAllUserLoginSession(e)}))}},{key:"processClearAllUserLoginSession",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){e.data;return Promise.resolve(null)}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}}]),e}(),Ze=function(){function e(t,n){Object(l.a)(this,e),this.instance=void 0,this.baseUrl=void 0,this.jsonParseReviver=void 0,this.instance=n||u.a.create(),this.baseUrl=void 0!==t&&null!==t?t:""}return Object(c.a)(e,[{key:"getAllUserCourseSessions",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/UserCourseSession/GetAllUserCourseSessions";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetAllUserCourseSessions(e)}))}},{key:"processGetAllUserCourseSessions",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=oS.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"getCourseSessionByParticipant",value:function(e,t,n,i){var a=this,r=this.baseUrl+"/api/UserCourseSession/GetCourseSessionByParticipant/{sessionId}?";if(void 0===e||null===e)throw new Error("The parameter 'sessionId' must be defined.");if(r=r.replace("{sessionId}",encodeURIComponent(""+e)),null===t)throw new Error("The parameter 'userId' cannot be null.");void 0!==t&&(r+="userId="+encodeURIComponent(""+t)+"&");var o={method:"GET",url:r=r.replace(/[?&]$/,""),headers:{"x-api-version":void 0!==n&&null!==n?""+n:"",Accept:"application/json"},cancelToken:i};return this.instance.request(o).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return a.processGetCourseSessionByParticipant(e)}))}},{key:"processGetCourseSessionByParticipant",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=pa.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}}]),e}(),Xe=function(){function e(t,n){Object(l.a)(this,e),this.instance=void 0,this.baseUrl=void 0,this.jsonParseReviver=void 0,this.instance=n||u.a.create(),this.baseUrl=void 0!==t&&null!==t?t:""}return Object(c.a)(e,[{key:"getUserLicenseComplianceReport",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/UserLicenseCompliance/GetUserLicenseComplianceReport";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetUserLicenseComplianceReport(e)}))}},{key:"processGetUserLicenseComplianceReport",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=OS.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"getUserLicenseComplianceSubPeriod",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/UserLicenseCompliance/GetUserLicenseComplianceSubPeriod";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetUserLicenseComplianceSubPeriod(e)}))}},{key:"processGetUserLicenseComplianceSubPeriod",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a=null,r=e.data;if(Array.isArray(r)){a=[];var o,l=Object(s.a)(r);try{for(l.s();!(o=l.n()).done;){var c=o.value;a.push(xi.fromJS(c))}}catch(f){l.e(f)}finally{l.f()}}else a=null;return Promise.resolve(a)}if(404===t){var d=e.data,u=d;return sC("Not Found",t,d,n,wg.fromJS(u))}var m=e.data,v=m;return sC("Error",t,m,n,wg.fromJS(v))}},{key:"getUserLicenseComplianceMainPeriods",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/UserLicenseCompliance/GetUserLicenseComplianceMainPeriods";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetUserLicenseComplianceMainPeriods(e)}))}},{key:"processGetUserLicenseComplianceMainPeriods",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a=null,r=e.data;if(Array.isArray(r)){a=[];var o,l=Object(s.a)(r);try{for(l.s();!(o=l.n()).done;){var c=o.value;a.push(xi.fromJS(c))}}catch(f){l.e(f)}finally{l.f()}}else a=null;return Promise.resolve(a)}if(404===t){var d=e.data,u=d;return sC("Not Found",t,d,n,wg.fromJS(u))}var m=e.data,v=m;return sC("Error",t,m,n,wg.fromJS(v))}},{key:"getUserLicenseComplianceCourseListing",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/UserLicenseCompliance/GetUserLicenseComplianceCourseListing";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetUserLicenseComplianceCourseListing(e)}))}},{key:"processGetUserLicenseComplianceCourseListing",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Ii.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"getUserLicenseComplianceCourseSummary",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/UserLicenseCompliance/GetUserLicenseComplianceCourseSummary";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetUserLicenseComplianceCourseSummary(e)}))}},{key:"processGetUserLicenseComplianceCourseSummary",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=ji.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"getUserLicenseCompliancePeriodExemptions",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/UserLicenseCompliance/GetUserLicenseCompliancePeriodExemptions";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetUserLicenseCompliancePeriodExemptions(e)}))}},{key:"processGetUserLicenseCompliancePeriodExemptions",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a=null,r=e.data;if(Array.isArray(r)){a=[];var o,l=Object(s.a)(r);try{for(l.s();!(o=l.n()).done;){var c=o.value;a.push(Ti.fromJS(c))}}catch(f){l.e(f)}finally{l.f()}}else a=null;return Promise.resolve(a)}if(404===t){var d=e.data,u=d;return sC("Not Found",t,d,n,wg.fromJS(u))}var m=e.data,v=m;return sC("Error",t,m,n,wg.fromJS(v))}},{key:"createUserLicenseExemptionValue",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/UserLicenseCompliance/CreateUserLicenseExemptionValue";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processCreateUserLicenseExemptionValue(e)}))}},{key:"processCreateUserLicenseExemptionValue",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){e.data;return Promise.resolve(null)}if(201===t){e.data;return Promise.resolve(null)}if(400===t){var a=e.data,r=a;return sC("Bad Request",t,a,n,aC.fromJS(r))}var o=e.data,s=o;return sC("Error",t,o,n,wg.fromJS(s))}},{key:"getUserLicenseList",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/UserLicenseCompliance/GetUserLicenseList";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetUserLicenseList(e)}))}},{key:"processGetUserLicenseList",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Af.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"getPeriodRemainingRequirements",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/UserLicenseCompliance/GetPeriodRemainingRequirements";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetPeriodRemainingRequirements(e)}))}},{key:"processGetPeriodRemainingRequirements",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a=null,r=e.data;if(Array.isArray(r)){a=[];var o,l=Object(s.a)(r);try{for(l.s();!(o=l.n()).done;){var c=o.value;a.push(Ai.fromJS(c))}}catch(f){l.e(f)}finally{l.f()}}else a=null;return Promise.resolve(a)}if(404===t){var d=e.data,u=d;return sC("Not Found",t,d,n,wg.fromJS(u))}var m=e.data,v=m;return sC("Error",t,m,n,wg.fromJS(v))}},{key:"createUserRetroactiveCredit",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/UserLicenseCompliance/CreateUserRetroactiveCredit";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processCreateUserRetroactiveCredit(e)}))}},{key:"processCreateUserRetroactiveCredit",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){e.data;return Promise.resolve(null)}if(201===t){e.data;return Promise.resolve(null)}if(400===t){var a=e.data,r=a;return sC("Bad Request",t,a,n,aC.fromJS(r))}var o=e.data,s=o;return sC("Error",t,o,n,wg.fromJS(s))}},{key:"getFuturePeriodsAvailableCredits",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/UserLicenseCompliance/GetFuturePeriodsAvailableCredits";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetFuturePeriodsAvailableCredits(e)}))}},{key:"processGetFuturePeriodsAvailableCredits",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a=null,r=e.data;if(Array.isArray(r)){a=[];var o,l=Object(s.a)(r);try{for(l.s();!(o=l.n()).done;){var c=o.value;a.push(kn.fromJS(c))}}catch(f){l.e(f)}finally{l.f()}}else a=null;return Promise.resolve(a)}if(404===t){var d=e.data,u=d;return sC("Not Found",t,d,n,wg.fromJS(u))}var m=e.data,v=m;return sC("Error",t,m,n,wg.fromJS(v))}},{key:"deleteUserRetroactiveCredit",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/UserLicenseCompliance/DeleteUserRetroactiveCredit";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"DELETE",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processDeleteUserRetroactiveCredit(e)}))}},{key:"processDeleteUserRetroactiveCredit",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){e.data;return Promise.resolve(null)}if(204===t){e.data;return Promise.resolve(null)}if(400===t){var a=e.data,r=a;return sC("Bad Request",t,a,n,aC.fromJS(r))}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"getComplianceReportToPrint",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/UserLicenseCompliance/GetComplianceReportToPrint";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetComplianceReportToPrint(e)}))}},{key:"processGetComplianceReportToPrint",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Qp.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"getComplianceReportCourseListingToPrint",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/UserLicenseCompliance/GetComplianceReportCourseListingToPrint";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetComplianceReportCourseListingToPrint(e)}))}},{key:"processGetComplianceReportCourseListingToPrint",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a=null,r=e.data;if(Array.isArray(r)){a=[];var o,l=Object(s.a)(r);try{for(l.s();!(o=l.n()).done;){var c=o.value;a.push(Zp.fromJS(c))}}catch(f){l.e(f)}finally{l.f()}}else a=null;return Promise.resolve(a)}if(404===t){var d=e.data,u=d;return sC("Not Found",t,d,n,wg.fromJS(u))}var m=e.data,v=m;return sC("Error",t,m,n,wg.fromJS(v))}},{key:"getPortalComplianceReport",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/UserLicenseCompliance/GetPortalComplianceReport";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetPortalComplianceReport(e)}))}},{key:"processGetPortalComplianceReport",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Di.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"getPortalComplianceReportByGuid",value:function(e,t,n,i){var a=this,r=this.baseUrl+"/api/UserLicenseCompliance/GetPortalComplianceReportByGuid?";if(null===e)throw new Error("The parameter 'guid' cannot be null.");if(void 0!==e&&(r+="guid="+encodeURIComponent(""+e)+"&"),null===t)throw new Error("The parameter 'isCurrentPeriod' cannot be null.");void 0!==t&&(r+="isCurrentPeriod="+encodeURIComponent(""+t)+"&");var o={method:"POST",url:r=r.replace(/[?&]$/,""),headers:{"x-api-version":void 0!==n&&null!==n?""+n:"",Accept:"application/json"},cancelToken:i};return this.instance.request(o).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return a.processGetPortalComplianceReportByGuid(e)}))}},{key:"processGetPortalComplianceReportByGuid",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=Di.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"getPortalComplianceSubPeriods",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/UserLicenseCompliance/GetPortalComplianceSubPeriods";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetPortalComplianceSubPeriods(e)}))}},{key:"processGetPortalComplianceSubPeriods",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a=null,r=e.data;if(Array.isArray(r)){a=[];var o,l=Object(s.a)(r);try{for(l.s();!(o=l.n()).done;){var c=o.value;a.push(wp.fromJS(c))}}catch(f){l.e(f)}finally{l.f()}}else a=null;return Promise.resolve(a)}if(404===t){var d=e.data,u=d;return sC("Not Found",t,d,n,wg.fromJS(u))}var m=e.data,v=m;return sC("Error",t,m,n,wg.fromJS(v))}},{key:"getPortalComplianceMainPeriods",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/UserLicenseCompliance/GetPortalComplianceMainPeriods";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetPortalComplianceMainPeriods(e)}))}},{key:"processGetPortalComplianceMainPeriods",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a=null,r=e.data;if(Array.isArray(r)){a=[];var o,l=Object(s.a)(r);try{for(l.s();!(o=l.n()).done;){var c=o.value;a.push(wp.fromJS(c))}}catch(f){l.e(f)}finally{l.f()}}else a=null;return Promise.resolve(a)}if(404===t){var d=e.data,u=d;return sC("Not Found",t,d,n,wg.fromJS(u))}var m=e.data,v=m;return sC("Error",t,m,n,wg.fromJS(v))}},{key:"getSessionUsersWithRetro",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/UserLicenseCompliance/GetSessionUsersWithRetro";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetSessionUsersWithRetro(e)}))}},{key:"processGetSessionUsersWithRetro",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a=null,r=e.data;if(Array.isArray(r)){a=[];var o,l=Object(s.a)(r);try{for(l.s();!(o=l.n()).done;){var c=o.value;a.push(gg.fromJS(c))}}catch(f){l.e(f)}finally{l.f()}}else a=null;return Promise.resolve(a)}if(404===t){var d=e.data,u=d;return sC("Not Found",t,d,n,wg.fromJS(u))}var m=e.data,v=m;return sC("Error",t,m,n,wg.fromJS(v))}},{key:"getUserTranscriptsWithRetro",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/UserLicenseCompliance/GetUserTranscriptsWithRetro";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetUserTranscriptsWithRetro(e)}))}},{key:"processGetUserTranscriptsWithRetro",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a=null,r=e.data;if(Array.isArray(r)){a=[];var o,l=Object(s.a)(r);try{for(l.s();!(o=l.n()).done;){var c=o.value;a.push(c)}}catch(f){l.e(f)}finally{l.f()}}else a=null;return Promise.resolve(a)}if(404===t){var d=e.data,u=d;return sC("Not Found",t,d,n,wg.fromJS(u))}var m=e.data,v=m;return sC("Error",t,m,n,wg.fromJS(v))}},{key:"updateNYLawCourseApproval",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/UserLicenseCompliance/UpdateNYLawCourseApproval";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"PUT",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processUpdateNYLawCourseApproval(e)}))}},{key:"processUpdateNYLawCourseApproval",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){e.data;return Promise.resolve(null)}if(201===t){e.data;return Promise.resolve(null)}if(400===t){var a=e.data,r=a;return sC("Bad Request",t,a,n,aC.fromJS(r))}var o=e.data,s=o;return sC("Error",t,o,n,wg.fromJS(s))}},{key:"getUserCompliancePeriods",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/UserLicenseCompliance/GetUserCompliancePeriods";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetUserCompliancePeriods(e)}))}},{key:"processGetUserCompliancePeriods",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a=null,r=e.data;if(Array.isArray(r)){a=[];var o,l=Object(s.a)(r);try{for(l.s();!(o=l.n()).done;){var c=o.value;a.push(tS.fromJS(c))}}catch(f){l.e(f)}finally{l.f()}}else a=null;return Promise.resolve(a)}if(404===t){var d=e.data,u=d;return sC("Not Found",t,d,n,wg.fromJS(u))}var m=e.data,v=m;return sC("Error",t,m,n,wg.fromJS(v))}},{key:"getLicensesWithRetroRecords",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/UserLicenseCompliance/GetLicensesWithRetroRecords";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetLicensesWithRetroRecords(e)}))}},{key:"processGetLicensesWithRetroRecords",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a=null,r=e.data;if(Array.isArray(r)){a=[];var o,l=Object(s.a)(r);try{for(l.s();!(o=l.n()).done;){var c=o.value;a.push(c)}}catch(f){l.e(f)}finally{l.f()}}else a=null;return Promise.resolve(a)}if(404===t){var d=e.data,u=d;return sC("Not Found",t,d,n,wg.fromJS(u))}var m=e.data,v=m;return sC("Error",t,m,n,wg.fromJS(v))}},{key:"updateNYLawCourseApprovalViaCovidWaiver",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/UserLicenseCompliance/UpdateNYLawCourseApprovalViaCovidWaiver";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"PUT",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processUpdateNYLawCourseApprovalViaCovidWaiver(e)}))}},{key:"processUpdateNYLawCourseApprovalViaCovidWaiver",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){e.data;return Promise.resolve(null)}if(201===t){e.data;return Promise.resolve(null)}if(400===t){var a=e.data,r=a;return sC("Bad Request",t,a,n,aC.fromJS(r))}var o=e.data,s=o;return sC("Error",t,o,n,wg.fromJS(s))}},{key:"bulkDeleteUserRetroactiveCredit",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/UserLicenseCompliance/BulkDeleteUserRetroactiveCredit";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"DELETE",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processBulkDeleteUserRetroactiveCredit(e)}))}},{key:"processBulkDeleteUserRetroactiveCredit",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){e.data;return Promise.resolve(null)}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}}]),e}(),Ke=function(){function e(t,n){Object(l.a)(this,e),this.instance=void 0,this.baseUrl=void 0,this.jsonParseReviver=void 0,this.instance=n||u.a.create(),this.baseUrl=void 0!==t&&null!==t?t:""}return Object(c.a)(e,[{key:"getAll",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/UserSavedFilter/GetAll";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGetAll(e)}))}},{key:"processGetAll",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=VS.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"get",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/UserSavedFilter/Get";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processGet(e)}))}},{key:"processGet",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=WS.fromJS(r),Promise.resolve(a)}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"create",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/UserSavedFilter/Create";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processCreate(e)}))}},{key:"processCreate",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=WS.fromJS(r),Promise.resolve(a)}if(201===t){var o,s=e.data;return o=WS.fromJS(s),Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"update",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/UserSavedFilter/Update";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"PUT",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processUpdate(e)}))}},{key:"processUpdate",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=WS.fromJS(r),Promise.resolve(a)}if(201===t){var o,s=e.data;return o=WS.fromJS(s),Promise.resolve(o)}if(400===t){var l=e.data,c=l;return sC("Bad Request",t,l,n,aC.fromJS(c))}var d=e.data,u=d;return sC("Error",t,d,n,wg.fromJS(u))}},{key:"delete",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/UserSavedFilter/Delete";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"DELETE",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processDelete(e)}))}},{key:"processDelete",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){e.data;return Promise.resolve(null)}if(204===t){e.data;return Promise.resolve(null)}if(400===t){var a=e.data,r=a;return sC("Bad Request",t,a,n,aC.fromJS(r))}if(404===t){var o=e.data,s=o;return sC("Not Found",t,o,n,wg.fromJS(s))}var l=e.data,c=l;return sC("Error",t,l,n,wg.fromJS(c))}},{key:"validateUserSavedFilterName",value:function(e,t,n){var i=this,a=this.baseUrl+"/api/UserSavedFilter/ValidateUserSavedFilterName";a=a.replace(/[?&]$/,"");var r={data:JSON.stringify(t),method:"POST",url:a,headers:{"x-api-version":void 0!==e&&null!==e?""+e:"","Content-Type":"application/json",Accept:"application/json"},cancelToken:n};return this.instance.request(r).catch((function(e){if(lC(e)&&e.response)return e.response;throw e})).then((function(e){return i.processValidateUserSavedFilterName(e)}))}},{key:"processValidateUserSavedFilterName",value:function(e){var t=e.status,n={};if(e.headers&&"object"===typeof e.headers)for(var i in e.headers)e.headers.hasOwnProperty(i)&&(n[i]=e.headers[i]);if(200===t){var a,r=e.data;return a=void 0!==r?r:null,Promise.resolve(a)}return 200!==t&&204!==t?sC("An unexpected server error occurred.",t,e.data,n):Promise.resolve(null)}}]),e}(),et=function(){function e(t){if(Object(l.a)(this,e),this.accreditationFormId=void 0,this.name=void 0,this.description=void 0,this.isActive=void 0,this.licenseId=void 0,this.licenseName=void 0,this.libraryFieldId=void 0,this.libraryFileName=void 0,this.url=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.accreditationFormId=e.accreditationFormId,this.name=e.name,this.description=e.description,this.isActive=e.isActive,this.licenseId=e.licenseId,this.licenseName=e.licenseName,this.libraryFieldId=e.libraryFieldId,this.libraryFileName=e.libraryFileName,this.url=e.url)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).accreditationFormId=this.accreditationFormId,e.name=this.name,e.description=this.description,e.isActive=this.isActive,e.licenseId=this.licenseId,e.licenseName=this.licenseName,e.libraryFieldId=this.libraryFieldId,e.libraryFileName=this.libraryFileName,e.url=this.url,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),tt=function(){function e(t){if(Object(l.a)(this,e),this.accreditationForms=void 0,this.recordCount=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.accreditationForms)){this.accreditationForms=[];var t,n=Object(s.a)(e.accreditationForms);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.accreditationForms.push(et.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}this.recordCount=e.recordCount}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.accreditationForms)){e.accreditationForms=[];var t,n=Object(s.a)(this.accreditationForms);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.accreditationForms.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e.recordCount=this.recordCount,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),nt=function(){function e(t){if(Object(l.a)(this,e),this.learningPlanId=void 0,this.name=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.learningPlanId=e.learningPlanId,this.name=e.name)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).learningPlanId=this.learningPlanId,e.name=this.name,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),it=function(){function e(t){if(Object(l.a)(this,e),this.competencyId=void 0,this.name=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.competencyId=e.competencyId,this.name=e.name)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).competencyId=this.competencyId,e.name=this.name,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),at=function(){function e(t){if(Object(l.a)(this,e),this.licenseId=void 0,this.licenseName=void 0,this.creditId=void 0,this.creditName=void 0,this.value=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.licenseId=e.licenseId,this.licenseName=e.licenseName,this.creditId=e.creditId,this.creditName=e.creditName,this.value=e.value)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).licenseId=this.licenseId,e.licenseName=this.licenseName,e.creditId=this.creditId,e.creditName=this.creditName,e.value=this.value,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),rt=function(){function e(t){if(Object(l.a)(this,e),this.activityId=void 0,this.title=void 0,this.description=void 0,this.note=void 0,this.participantCount=void 0,this.isSelfValidateAllowed=void 0,this.archivedDate=void 0,this.activityCompetencies=void 0,this.activityTags=void 0,this.activityParticipants=void 0,this.activityLearningPlans=void 0,this.activityMaterials=void 0,this.activityCredits=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.activityId=e.activityId,this.title=e.title,this.description=e.description,this.note=e.note,this.participantCount=e.participantCount,this.isSelfValidateAllowed=e.isSelfValidateAllowed,this.archivedDate=e.archivedDate?new Date(e.archivedDate.toString()):void 0,Array.isArray(e.activityCompetencies)){this.activityCompetencies=[];var t,n=Object(s.a)(e.activityCompetencies);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.activityCompetencies.push(it.fromJS(i))}}catch(E){n.e(E)}finally{n.f()}}if(Array.isArray(e.activityTags)){this.activityTags=[];var a,r=Object(s.a)(e.activityTags);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.activityTags.push(vt.fromJS(o))}}catch(E){r.e(E)}finally{r.f()}}if(Array.isArray(e.activityParticipants)){this.activityParticipants=[];var l,c=Object(s.a)(e.activityParticipants);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.activityParticipants.push(ct.fromJS(d))}}catch(E){c.e(E)}finally{c.f()}}if(Array.isArray(e.activityLearningPlans)){this.activityLearningPlans=[];var u,m=Object(s.a)(e.activityLearningPlans);try{for(m.s();!(u=m.n()).done;){var v=u.value;this.activityLearningPlans.push(ot.fromJS(v))}}catch(E){m.e(E)}finally{m.f()}}if(Array.isArray(e.activityMaterials)){this.activityMaterials=[];var f,p=Object(s.a)(e.activityMaterials);try{for(p.s();!(f=p.n()).done;){var h=f.value;this.activityMaterials.push(lt.fromJS(h))}}catch(E){p.e(E)}finally{p.f()}}if(Array.isArray(e.activityCredits)){this.activityCredits=[];var y,b=Object(s.a)(e.activityCredits);try{for(b.s();!(y=b.n()).done;){var g=y.value;this.activityCredits.push(at.fromJS(g))}}catch(E){b.e(E)}finally{b.f()}}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).activityId=this.activityId,e.title=this.title,e.description=this.description,e.note=this.note,e.participantCount=this.participantCount,e.isSelfValidateAllowed=this.isSelfValidateAllowed,e.archivedDate=this.archivedDate?this.archivedDate.toISOString():void 0,Array.isArray(this.activityCompetencies)){e.activityCompetencies=[];var t,n=Object(s.a)(this.activityCompetencies);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.activityCompetencies.push(i.toJSON())}}catch(E){n.e(E)}finally{n.f()}}if(Array.isArray(this.activityTags)){e.activityTags=[];var a,r=Object(s.a)(this.activityTags);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.activityTags.push(o.toJSON())}}catch(E){r.e(E)}finally{r.f()}}if(Array.isArray(this.activityParticipants)){e.activityParticipants=[];var l,c=Object(s.a)(this.activityParticipants);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.activityParticipants.push(d.toJSON())}}catch(E){c.e(E)}finally{c.f()}}if(Array.isArray(this.activityLearningPlans)){e.activityLearningPlans=[];var u,m=Object(s.a)(this.activityLearningPlans);try{for(m.s();!(u=m.n()).done;){var v=u.value;e.activityLearningPlans.push(v.toJSON())}}catch(E){m.e(E)}finally{m.f()}}if(Array.isArray(this.activityMaterials)){e.activityMaterials=[];var f,p=Object(s.a)(this.activityMaterials);try{for(p.s();!(f=p.n()).done;){var h=f.value;e.activityMaterials.push(h.toJSON())}}catch(E){p.e(E)}finally{p.f()}}if(Array.isArray(this.activityCredits)){e.activityCredits=[];var y,b=Object(s.a)(this.activityCredits);try{for(b.s();!(y=b.n()).done;){var g=y.value;e.activityCredits.push(g.toJSON())}}catch(E){b.e(E)}finally{b.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),ot=function(){function e(t){if(Object(l.a)(this,e),this.learningPlanId=void 0,this.name=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.learningPlanId=e.learningPlanId,this.name=e.name)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).learningPlanId=this.learningPlanId,e.name=this.name,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),st=function(){function e(t){if(Object(l.a)(this,e),this.activities=void 0,this.recordCount=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.activities)){this.activities=[];var t,n=Object(s.a)(e.activities);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.activities.push(rt.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}this.recordCount=e.recordCount}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.activities)){e.activities=[];var t,n=Object(s.a)(this.activities);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.activities.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e.recordCount=this.recordCount,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),lt=function(){function e(t){if(Object(l.a)(this,e),this.activityMaterialId=void 0,this.activityId=void 0,this.fileId=void 0,this.isPublic=void 0,this.fileType=void 0,this.fileName=void 0,this.fileSize=void 0,this.fileExtension=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.activityMaterialId=e.activityMaterialId,this.activityId=e.activityId,this.fileId=e.fileId,this.isPublic=e.isPublic,this.fileType=e.fileType,this.fileName=e.fileName,this.fileSize=e.fileSize,this.fileExtension=e.fileExtension)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).activityMaterialId=this.activityMaterialId,e.activityId=this.activityId,e.fileId=this.fileId,e.isPublic=this.isPublic,e.fileType=this.fileType,e.fileName=this.fileName,e.fileSize=this.fileSize,e.fileExtension=this.fileExtension,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),ct=function(){function e(t){if(Object(l.a)(this,e),this.activityParticipantId=void 0,this.activityId=void 0,this.userId=void 0,this.firstName=void 0,this.middleName=void 0,this.lastName=void 0,this.completionDate=void 0,this.locationName=void 0,this.avatar=void 0,this.userType=void 0,this.validatedBy=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.activityParticipantId=e.activityParticipantId,this.activityId=e.activityId,this.userId=e.userId,this.firstName=e.firstName,this.middleName=e.middleName,this.lastName=e.lastName,this.completionDate=e.completionDate?new Date(e.completionDate.toString()):void 0,this.locationName=e.locationName,this.avatar=e.avatar,this.userType=e.userType,this.validatedBy=e.validatedBy)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).activityParticipantId=this.activityParticipantId,e.activityId=this.activityId,e.userId=this.userId,e.firstName=this.firstName,e.middleName=this.middleName,e.lastName=this.lastName,e.completionDate=this.completionDate?this.completionDate.toISOString():void 0,e.locationName=this.locationName,e.avatar=this.avatar,e.userType=this.userType,e.validatedBy=this.validatedBy,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),dt=function(){function e(t){if(Object(l.a)(this,e),this.activityParticipants=void 0,this.recordCount=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.activityParticipants)){this.activityParticipants=[];var t,n=Object(s.a)(e.activityParticipants);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.activityParticipants.push(ct.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}this.recordCount=e.recordCount}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.activityParticipants)){e.activityParticipants=[];var t,n=Object(s.a)(this.activityParticipants);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.activityParticipants.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e.recordCount=this.recordCount,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),ut=function(){function e(t){if(Object(l.a)(this,e),this.activitySavedFilterId=void 0,this.name=void 0,this.isPublic=void 0,this.isReadOnly=void 0,this.isDefault=void 0,this.filter=void 0,this.createdBy=void 0,this.isSystem=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.activitySavedFilterId=e.activitySavedFilterId,this.name=e.name,this.isPublic=e.isPublic,this.isReadOnly=e.isReadOnly,this.isDefault=e.isDefault,this.filter=e.filter,this.createdBy=e.createdBy,this.isSystem=e.isSystem)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).activitySavedFilterId=this.activitySavedFilterId,e.name=this.name,e.isPublic=this.isPublic,e.isReadOnly=this.isReadOnly,e.isDefault=this.isDefault,e.filter=this.filter,e.createdBy=this.createdBy,e.isSystem=this.isSystem,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),mt=function(){function e(t){if(Object(l.a)(this,e),this.activitySavedFilters=void 0,this.recordCount=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.activitySavedFilters)){this.activitySavedFilters=[];var t,n=Object(s.a)(e.activitySavedFilters);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.activitySavedFilters.push(ut.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}this.recordCount=e.recordCount}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.activitySavedFilters)){e.activitySavedFilters=[];var t,n=Object(s.a)(this.activitySavedFilters);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.activitySavedFilters.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e.recordCount=this.recordCount,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),vt=function(){function e(t){if(Object(l.a)(this,e),this.tagId=void 0,this.name=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.tagId=e.tagId,this.name=e.name)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).tagId=this.tagId,e.name=this.name,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),ft=function(){function e(t){if(Object(l.a)(this,e),this.activityId=void 0,this.userIdList=void 0,this.completionDate=void 0,this.validatedBy=void 0,this.hoursSpent=void 0,this.learningPlanId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.activityId=e.activityId,Array.isArray(e.userIdList)){this.userIdList=[];var t,n=Object(s.a)(e.userIdList);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.userIdList.push(i)}}catch(a){n.e(a)}finally{n.f()}}this.completionDate=e.completionDate?new Date(e.completionDate.toString()):void 0,this.validatedBy=e.validatedBy,this.hoursSpent=e.hoursSpent,this.learningPlanId=e.learningPlanId}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).activityId=this.activityId,Array.isArray(this.userIdList)){e.userIdList=[];var t,n=Object(s.a)(this.userIdList);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.userIdList.push(i)}}catch(a){n.e(a)}finally{n.f()}}return e.completionDate=this.completionDate?this.completionDate.toISOString():void 0,e.validatedBy=this.validatedBy,e.hoursSpent=this.hoursSpent,e.learningPlanId=this.learningPlanId,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),pt=function(){function e(t){if(Object(l.a)(this,e),this.sessionIdList=void 0,this.sessionMaterials=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.sessionIdList)){this.sessionIdList=[];var t,n=Object(s.a)(e.sessionIdList);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.sessionIdList.push(i)}}catch(l){n.e(l)}finally{n.f()}}if(Array.isArray(e.sessionMaterials)){this.sessionMaterials=[];var a,r=Object(s.a)(e.sessionMaterials);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.sessionMaterials.push(qb.fromJS(o))}}catch(l){r.e(l)}finally{r.f()}}}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.sessionIdList)){e.sessionIdList=[];var t,n=Object(s.a)(this.sessionIdList);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.sessionIdList.push(i)}}catch(l){n.e(l)}finally{n.f()}}if(Array.isArray(this.sessionMaterials)){e.sessionMaterials=[];var a,r=Object(s.a)(this.sessionMaterials);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.sessionMaterials.push(o.toJSON())}}catch(l){r.e(l)}finally{r.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),ht=function(){function e(t){if(Object(l.a)(this,e),this.learningPlanId=void 0,this.validatedBy=void 0,this.participantList=void 0,this.sendEmailConfirmation=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n]);t||(this.participantList=[])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.learningPlanId=e.learningPlanId,this.validatedBy=e.validatedBy,Array.isArray(e.participantList)){this.participantList=[];var t,n=Object(s.a)(e.participantList);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.participantList.push(Cv.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}this.sendEmailConfirmation=e.sendEmailConfirmation}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).learningPlanId=this.learningPlanId,e.validatedBy=this.validatedBy,Array.isArray(this.participantList)){e.participantList=[];var t,n=Object(s.a)(this.participantList);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.participantList.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e.sendEmailConfirmation=this.sendEmailConfirmation,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),yt=function(){function e(t){if(Object(l.a)(this,e),this.roleId=void 0,this.licenseIds=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n]);t||(this.licenseIds=[])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&(this.roleId=e.roleId,Array.isArray(e.licenseIds))){this.licenseIds=[];var t,n=Object(s.a)(e.licenseIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.licenseIds.push(i)}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).roleId=this.roleId,Array.isArray(this.licenseIds)){e.licenseIds=[];var t,n=Object(s.a)(this.licenseIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.licenseIds.push(i)}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),bt=function(){function e(t){if(Object(l.a)(this,e),this.userId=void 0,this.roleIds=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n]);t||(this.roleIds=[])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&(this.userId=e.userId,Array.isArray(e.roleIds))){this.roleIds=[];var t,n=Object(s.a)(e.roleIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.roleIds.push(i)}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).userId=this.userId,Array.isArray(this.roleIds)){e.roleIds=[];var t,n=Object(s.a)(this.roleIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.roleIds.push(i)}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),gt=function(){function e(t){if(Object(l.a)(this,e),this.userId=void 0,this.securityGroupIds=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n]);t||(this.securityGroupIds=[])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&(this.userId=e.userId,Array.isArray(e.securityGroupIds))){this.securityGroupIds=[];var t,n=Object(s.a)(e.securityGroupIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.securityGroupIds.push(i)}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).userId=this.userId,Array.isArray(this.securityGroupIds)){e.securityGroupIds=[];var t,n=Object(s.a)(this.securityGroupIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.securityGroupIds.push(i)}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Et=function(){function e(t){if(Object(l.a)(this,e),this.sessionId=void 0,this.sessionMaterials=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&(this.sessionId=e.sessionId,Array.isArray(e.sessionMaterials))){this.sessionMaterials=[];var t,n=Object(s.a)(e.sessionMaterials);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.sessionMaterials.push(qb.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).sessionId=this.sessionId,Array.isArray(this.sessionMaterials)){e.sessionMaterials=[];var t,n=Object(s.a)(this.sessionMaterials);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.sessionMaterials.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),It=function(){function e(t){if(Object(l.a)(this,e),this.sessionIdList=void 0,this.scheduleId=void 0,this.courseId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.sessionIdList)){this.sessionIdList=[];var t,n=Object(s.a)(e.sessionIdList);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.sessionIdList.push(i)}}catch(a){n.e(a)}finally{n.f()}}this.scheduleId=e.scheduleId,this.courseId=e.courseId}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.sessionIdList)){e.sessionIdList=[];var t,n=Object(s.a)(this.sessionIdList);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.sessionIdList.push(i)}}catch(a){n.e(a)}finally{n.f()}}return e.scheduleId=this.scheduleId,e.courseId=this.courseId,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),St=function(){function e(t){if(Object(l.a)(this,e),this.exemptedIdList=void 0,this.isSelectedAll=void 0,this.sessionId=void 0,this.userIds=void 0,this.sendEmailConfirmation=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n]);t||(this.userIds=[])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.exemptedIdList)){this.exemptedIdList=[];var t,n=Object(s.a)(e.exemptedIdList);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.exemptedIdList.push(i)}}catch(l){n.e(l)}finally{n.f()}}if(this.isSelectedAll=e.isSelectedAll,this.sessionId=e.sessionId,Array.isArray(e.userIds)){this.userIds=[];var a,r=Object(s.a)(e.userIds);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.userIds.push(o)}}catch(l){r.e(l)}finally{r.f()}}this.sendEmailConfirmation=e.sendEmailConfirmation}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.exemptedIdList)){e.exemptedIdList=[];var t,n=Object(s.a)(this.exemptedIdList);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.exemptedIdList.push(i)}}catch(l){n.e(l)}finally{n.f()}}if(e.isSelectedAll=this.isSelectedAll,e.sessionId=this.sessionId,Array.isArray(this.userIds)){e.userIds=[];var a,r=Object(s.a)(this.userIds);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.userIds.push(o)}}catch(l){r.e(l)}finally{r.f()}}return e.sendEmailConfirmation=this.sendEmailConfirmation,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Ot=function(){function e(t){if(Object(l.a)(this,e),this.userLoginSessionId=void 0,this.localStorageJson=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.userLoginSessionId=e.userLoginSessionId,this.localStorageJson=e.localStorageJson)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).userLoginSessionId=this.userLoginSessionId,e.localStorageJson=this.localStorageJson,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Ct=function(){function e(t){if(Object(l.a)(this,e),this.user=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.user=e.user?bS.fromJS(e.user):void 0)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).user=this.user?this.user.toJSON():void 0,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),jt=function(){function e(t){if(Object(l.a)(this,e),this.affidavitFormId=void 0,this.name=void 0,this.description=void 0,this.isActive=void 0,this.htmlBody=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.affidavitFormId=e.affidavitFormId,this.name=e.name,this.description=e.description,this.isActive=e.isActive,this.htmlBody=e.htmlBody)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).affidavitFormId=this.affidavitFormId,e.name=this.name,e.description=this.description,e.isActive=this.isActive,e.htmlBody=this.htmlBody,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),xt=function(){function e(t){if(Object(l.a)(this,e),this.affidavitForms=void 0,this.recordCount=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.affidavitForms)){this.affidavitForms=[];var t,n=Object(s.a)(e.affidavitForms);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.affidavitForms.push(jt.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}this.recordCount=e.recordCount}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.affidavitForms)){e.affidavitForms=[];var t,n=Object(s.a)(this.affidavitForms);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.affidavitForms.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e.recordCount=this.recordCount,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),At=function(){function e(t){if(Object(l.a)(this,e),this.affiliationId=void 0,this.name=void 0,this.address=void 0,this.city=void 0,this.countryId=void 0,this.stateId=void 0,this.zip=void 0,this.phone=void 0,this.timezoneId=void 0,this.isActive=void 0,this.code=void 0,this.userCount=void 0,this.country=void 0,this.state=void 0,this.timezone=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.affiliationId=e.affiliationId,this.name=e.name,this.address=e.address,this.city=e.city,this.countryId=e.countryId,this.stateId=e.stateId,this.zip=e.zip,this.phone=e.phone,this.timezoneId=e.timezoneId,this.isActive=e.isActive,this.code=e.code,this.userCount=e.userCount,this.country=e.country,this.state=e.state,this.timezone=e.timezone)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).affiliationId=this.affiliationId,e.name=this.name,e.address=this.address,e.city=this.city,e.countryId=this.countryId,e.stateId=this.stateId,e.zip=this.zip,e.phone=this.phone,e.timezoneId=this.timezoneId,e.isActive=this.isActive,e.code=this.code,e.userCount=this.userCount,e.country=this.country,e.state=this.state,e.timezone=this.timezone,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Tt=function(){function e(t){if(Object(l.a)(this,e),this.affiliations=void 0,this.recordCount=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.affiliations)){this.affiliations=[];var t,n=Object(s.a)(e.affiliations);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.affiliations.push(At.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}this.recordCount=e.recordCount}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.affiliations)){e.affiliations=[];var t,n=Object(s.a)(this.affiliations);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.affiliations.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e.recordCount=this.recordCount,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),wt=function(){function e(t){if(Object(l.a)(this,e),this.affirmationFormId=void 0,this.name=void 0,this.description=void 0,this.isActive=void 0,this.htmlBody=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.affirmationFormId=e.affirmationFormId,this.name=e.name,this.description=e.description,this.isActive=e.isActive,this.htmlBody=e.htmlBody)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).affirmationFormId=this.affirmationFormId,e.name=this.name,e.description=this.description,e.isActive=this.isActive,e.htmlBody=this.htmlBody,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),kt=function(){function e(t){if(Object(l.a)(this,e),this.affirmationForms=void 0,this.recordCount=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.affirmationForms)){this.affirmationForms=[];var t,n=Object(s.a)(e.affirmationForms);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.affirmationForms.push(wt.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}this.recordCount=e.recordCount}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.affirmationForms)){e.affirmationForms=[];var t,n=Object(s.a)(this.affirmationForms);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.affirmationForms.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e.recordCount=this.recordCount,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Pt=function(){function e(t){if(Object(l.a)(this,e),this.minimumLength=void 0,this.requireLowercase=void 0,this.requireNumbers=void 0,this.requireSymbols=void 0,this.requireUppercase=void 0,this.temporaryPasswordValidityDays=void 0,this.accessTokenValidity=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.minimumLength=e.minimumLength,this.requireLowercase=e.requireLowercase,this.requireNumbers=e.requireNumbers,this.requireSymbols=e.requireSymbols,this.requireUppercase=e.requireUppercase,this.temporaryPasswordValidityDays=e.temporaryPasswordValidityDays,this.accessTokenValidity=e.accessTokenValidity)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).minimumLength=this.minimumLength,e.requireLowercase=this.requireLowercase,e.requireNumbers=this.requireNumbers,e.requireSymbols=this.requireSymbols,e.requireUppercase=this.requireUppercase,e.temporaryPasswordValidityDays=this.temporaryPasswordValidityDays,e.accessTokenValidity=this.accessTokenValidity,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Nt=function(){function e(t){if(Object(l.a)(this,e),this.apiClientId=void 0,this.name=void 0,this.description=void 0,this.appClientId=void 0,this.appClientSecret=void 0,this.appTokenUrl=void 0,this.isActive=void 0,this.apiClientRole=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.apiClientId=e.apiClientId,this.name=e.name,this.description=e.description,this.appClientId=e.appClientId,this.appClientSecret=e.appClientSecret,this.appTokenUrl=e.appTokenUrl,this.isActive=e.isActive,this.apiClientRole=e.apiClientRole?Lt.fromJS(e.apiClientRole):void 0)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).apiClientId=this.apiClientId,e.name=this.name,e.description=this.description,e.appClientId=this.appClientId,e.appClientSecret=this.appClientSecret,e.appTokenUrl=this.appTokenUrl,e.isActive=this.isActive,e.apiClientRole=this.apiClientRole?this.apiClientRole.toJSON():void 0,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Dt=function(){function e(t){if(Object(l.a)(this,e),this.apiClients=void 0,this.recordCount=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.apiClients)){this.apiClients=[];var t,n=Object(s.a)(e.apiClients);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.apiClients.push(Nt.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}this.recordCount=e.recordCount}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.apiClients)){e.apiClients=[];var t,n=Object(s.a)(this.apiClients);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.apiClients.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e.recordCount=this.recordCount,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Lt=function(){function e(t){if(Object(l.a)(this,e),this.roleId=void 0,this.name=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.roleId=e.roleId,this.name=e.name)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).roleId=this.roleId,e.name=this.name,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Ft=function(){function e(t){if(Object(l.a)(this,e),this.apiSessionLogId=void 0,this.courseId=void 0,this.courseTitle=void 0,this.createdBy=void 0,this.dateCreated=void 0,this.endDate=void 0,this.isVerified=void 0,this.provider=void 0,this.sessionId=void 0,this.startDate=void 0,this.courseFormat=void 0,this.location=void 0,this.room=void 0,this.startTime=void 0,this.endTime=void 0,this.status=void 0,this.sessionLicenses=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&(this.apiSessionLogId=e.apiSessionLogId,this.courseId=e.courseId,this.courseTitle=e.courseTitle,this.createdBy=e.createdBy,this.dateCreated=e.dateCreated?new Date(e.dateCreated.toString()):void 0,this.endDate=e.endDate?new Date(e.endDate.toString()):void 0,this.isVerified=e.isVerified,this.provider=e.provider,this.sessionId=e.sessionId,this.startDate=e.startDate?new Date(e.startDate.toString()):void 0,this.courseFormat=e.courseFormat,this.location=e.location,this.room=e.room,this.startTime=e.startTime,this.endTime=e.endTime,this.status=e.status,Array.isArray(e.sessionLicenses))){this.sessionLicenses=[];var t,n=Object(s.a)(e.sessionLicenses);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.sessionLicenses.push(Fb.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).apiSessionLogId=this.apiSessionLogId,e.courseId=this.courseId,e.courseTitle=this.courseTitle,e.createdBy=this.createdBy,e.dateCreated=this.dateCreated?this.dateCreated.toISOString():void 0,e.endDate=this.endDate?this.endDate.toISOString():void 0,e.isVerified=this.isVerified,e.provider=this.provider,e.sessionId=this.sessionId,e.startDate=this.startDate?this.startDate.toISOString():void 0,e.courseFormat=this.courseFormat,e.location=this.location,e.room=this.room,e.startTime=this.startTime,e.endTime=this.endTime,e.status=this.status,Array.isArray(this.sessionLicenses)){e.sessionLicenses=[];var t,n=Object(s.a)(this.sessionLicenses);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.sessionLicenses.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Bt=function(){function e(t){if(Object(l.a)(this,e),this.apiSessionLogs=void 0,this.recordCount=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.apiSessionLogs)){this.apiSessionLogs=[];var t,n=Object(s.a)(e.apiSessionLogs);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.apiSessionLogs.push(Ft.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}this.recordCount=e.recordCount}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.apiSessionLogs)){e.apiSessionLogs=[];var t,n=Object(s.a)(this.apiSessionLogs);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.apiSessionLogs.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e.recordCount=this.recordCount,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Rt=function(){function e(t){if(Object(l.a)(this,e),this.app=void 0,this.hasAccess=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.app=e.app?_g.fromJS(e.app):void 0,this.hasAccess=e.hasAccess)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).app=this.app?this.app.toJSON():void 0,e.hasAccess=this.hasAccess,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Jt=function(){function e(t){if(Object(l.a)(this,e),this.sessionLicenseSubjectAreaMappingIds=void 0,this.isApproved=void 0,this.sessionId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.sessionLicenseSubjectAreaMappingIds)){this.sessionLicenseSubjectAreaMappingIds=[];var t,n=Object(s.a)(e.sessionLicenseSubjectAreaMappingIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.sessionLicenseSubjectAreaMappingIds.push(i)}}catch(a){n.e(a)}finally{n.f()}}this.isApproved=e.isApproved,this.sessionId=e.sessionId}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.sessionLicenseSubjectAreaMappingIds)){e.sessionLicenseSubjectAreaMappingIds=[];var t,n=Object(s.a)(this.sessionLicenseSubjectAreaMappingIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.sessionLicenseSubjectAreaMappingIds.push(i)}}catch(a){n.e(a)}finally{n.f()}}return e.isApproved=this.isApproved,e.sessionId=this.sessionId,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Gt=function(){function e(t){if(Object(l.a)(this,e),this.idList=void 0,this.isActive=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.idList)){this.idList=[];var t,n=Object(s.a)(e.idList);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.idList.push(i)}}catch(a){n.e(a)}finally{n.f()}}this.isActive=e.isActive}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.idList)){e.idList=[];var t,n=Object(s.a)(this.idList);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.idList.push(i)}}catch(a){n.e(a)}finally{n.f()}}return e.isActive=this.isActive,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Ut=function(){function e(t){if(Object(l.a)(this,e),this.activityIdList=void 0,this.isArchive=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.activityIdList)){this.activityIdList=[];var t,n=Object(s.a)(e.activityIdList);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.activityIdList.push(i)}}catch(a){n.e(a)}finally{n.f()}}this.isArchive=e.isArchive}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.activityIdList)){e.activityIdList=[];var t,n=Object(s.a)(this.activityIdList);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.activityIdList.push(i)}}catch(a){n.e(a)}finally{n.f()}}return e.isArchive=this.isArchive,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),zt=function(){function e(t){if(Object(l.a)(this,e),this.idList=void 0,this.isActive=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.idList)){this.idList=[];var t,n=Object(s.a)(e.idList);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.idList.push(i)}}catch(a){n.e(a)}finally{n.f()}}this.isActive=e.isActive}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.idList)){e.idList=[];var t,n=Object(s.a)(this.idList);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.idList.push(i)}}catch(a){n.e(a)}finally{n.f()}}return e.isActive=this.isActive,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),qt=function(){function e(t){if(Object(l.a)(this,e),this.affiliationIdList=void 0,this.isArchive=void 0,this.isSelectedAll=void 0,this.exemptedIdList=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.affiliationIdList)){this.affiliationIdList=[];var t,n=Object(s.a)(e.affiliationIdList);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.affiliationIdList.push(i)}}catch(l){n.e(l)}finally{n.f()}}if(this.isArchive=e.isArchive,this.isSelectedAll=e.isSelectedAll,Array.isArray(e.exemptedIdList)){this.exemptedIdList=[];var a,r=Object(s.a)(e.exemptedIdList);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.exemptedIdList.push(o)}}catch(l){r.e(l)}finally{r.f()}}}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.affiliationIdList)){e.affiliationIdList=[];var t,n=Object(s.a)(this.affiliationIdList);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.affiliationIdList.push(i)}}catch(l){n.e(l)}finally{n.f()}}if(e.isArchive=this.isArchive,e.isSelectedAll=this.isSelectedAll,Array.isArray(this.exemptedIdList)){e.exemptedIdList=[];var a,r=Object(s.a)(this.exemptedIdList);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.exemptedIdList.push(o)}}catch(l){r.e(l)}finally{r.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Mt=function(){function e(t){if(Object(l.a)(this,e),this.idList=void 0,this.isActive=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.idList)){this.idList=[];var t,n=Object(s.a)(e.idList);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.idList.push(i)}}catch(a){n.e(a)}finally{n.f()}}this.isActive=e.isActive}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.idList)){e.idList=[];var t,n=Object(s.a)(this.idList);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.idList.push(i)}}catch(a){n.e(a)}finally{n.f()}}return e.isActive=this.isActive,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Wt=function(){function e(t){if(Object(l.a)(this,e),this.idList=void 0,this.isActive=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.idList)){this.idList=[];var t,n=Object(s.a)(e.idList);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.idList.push(i)}}catch(a){n.e(a)}finally{n.f()}}this.isActive=e.isActive}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.idList)){e.idList=[];var t,n=Object(s.a)(this.idList);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.idList.push(i)}}catch(a){n.e(a)}finally{n.f()}}return e.isActive=this.isActive,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Vt=function(){function e(t){if(Object(l.a)(this,e),this.classYearIdList=void 0,this.isArchive=void 0,this.isSelectedAll=void 0,this.exemptedIdList=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.classYearIdList)){this.classYearIdList=[];var t,n=Object(s.a)(e.classYearIdList);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.classYearIdList.push(i)}}catch(l){n.e(l)}finally{n.f()}}if(this.isArchive=e.isArchive,this.isSelectedAll=e.isSelectedAll,Array.isArray(e.exemptedIdList)){this.exemptedIdList=[];var a,r=Object(s.a)(e.exemptedIdList);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.exemptedIdList.push(o)}}catch(l){r.e(l)}finally{r.f()}}}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.classYearIdList)){e.classYearIdList=[];var t,n=Object(s.a)(this.classYearIdList);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.classYearIdList.push(i)}}catch(l){n.e(l)}finally{n.f()}}if(e.isArchive=this.isArchive,e.isSelectedAll=this.isSelectedAll,Array.isArray(this.exemptedIdList)){e.exemptedIdList=[];var a,r=Object(s.a)(this.exemptedIdList);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.exemptedIdList.push(o)}}catch(l){r.e(l)}finally{r.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),_t=function(){function e(t){if(Object(l.a)(this,e),this.competencyIdList=void 0,this.isArchive=void 0,this.isSelectedAll=void 0,this.exemptedIdList=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.competencyIdList)){this.competencyIdList=[];var t,n=Object(s.a)(e.competencyIdList);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.competencyIdList.push(i)}}catch(l){n.e(l)}finally{n.f()}}if(this.isArchive=e.isArchive,this.isSelectedAll=e.isSelectedAll,Array.isArray(e.exemptedIdList)){this.exemptedIdList=[];var a,r=Object(s.a)(e.exemptedIdList);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.exemptedIdList.push(o)}}catch(l){r.e(l)}finally{r.f()}}}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.competencyIdList)){e.competencyIdList=[];var t,n=Object(s.a)(this.competencyIdList);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.competencyIdList.push(i)}}catch(l){n.e(l)}finally{n.f()}}if(e.isArchive=this.isArchive,e.isSelectedAll=this.isSelectedAll,Array.isArray(this.exemptedIdList)){e.exemptedIdList=[];var a,r=Object(s.a)(this.exemptedIdList);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.exemptedIdList.push(o)}}catch(l){r.e(l)}finally{r.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Yt=function(){function e(t){if(Object(l.a)(this,e),this.courseIdList=void 0,this.isArchive=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.courseIdList)){this.courseIdList=[];var t,n=Object(s.a)(e.courseIdList);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.courseIdList.push(i)}}catch(a){n.e(a)}finally{n.f()}}this.isArchive=e.isArchive}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.courseIdList)){e.courseIdList=[];var t,n=Object(s.a)(this.courseIdList);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.courseIdList.push(i)}}catch(a){n.e(a)}finally{n.f()}}return e.isArchive=this.isArchive,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Ht=function(){function e(t){if(Object(l.a)(this,e),this.declineCodeIdList=void 0,this.isArchive=void 0,this.isSelectedAll=void 0,this.exemptedIdList=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.declineCodeIdList)){this.declineCodeIdList=[];var t,n=Object(s.a)(e.declineCodeIdList);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.declineCodeIdList.push(i)}}catch(l){n.e(l)}finally{n.f()}}if(this.isArchive=e.isArchive,this.isSelectedAll=e.isSelectedAll,Array.isArray(e.exemptedIdList)){this.exemptedIdList=[];var a,r=Object(s.a)(e.exemptedIdList);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.exemptedIdList.push(o)}}catch(l){r.e(l)}finally{r.f()}}}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.declineCodeIdList)){e.declineCodeIdList=[];var t,n=Object(s.a)(this.declineCodeIdList);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.declineCodeIdList.push(i)}}catch(l){n.e(l)}finally{n.f()}}if(e.isArchive=this.isArchive,e.isSelectedAll=this.isSelectedAll,Array.isArray(this.exemptedIdList)){e.exemptedIdList=[];var a,r=Object(s.a)(this.exemptedIdList);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.exemptedIdList.push(o)}}catch(l){r.e(l)}finally{r.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),$t=function(){function e(t){if(Object(l.a)(this,e),this.departmentIdList=void 0,this.isArchive=void 0,this.isSelectedAll=void 0,this.exemptedIdList=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.departmentIdList)){this.departmentIdList=[];var t,n=Object(s.a)(e.departmentIdList);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.departmentIdList.push(i)}}catch(l){n.e(l)}finally{n.f()}}if(this.isArchive=e.isArchive,this.isSelectedAll=e.isSelectedAll,Array.isArray(e.exemptedIdList)){this.exemptedIdList=[];var a,r=Object(s.a)(e.exemptedIdList);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.exemptedIdList.push(o)}}catch(l){r.e(l)}finally{r.f()}}}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.departmentIdList)){e.departmentIdList=[];var t,n=Object(s.a)(this.departmentIdList);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.departmentIdList.push(i)}}catch(l){n.e(l)}finally{n.f()}}if(e.isArchive=this.isArchive,e.isSelectedAll=this.isSelectedAll,Array.isArray(this.exemptedIdList)){e.exemptedIdList=[];var a,r=Object(s.a)(this.exemptedIdList);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.exemptedIdList.push(o)}}catch(l){r.e(l)}finally{r.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Qt=function(){function e(t){if(Object(l.a)(this,e),this.emailIdList=void 0,this.isArchived=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.emailIdList)){this.emailIdList=[];var t,n=Object(s.a)(e.emailIdList);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.emailIdList.push(i)}}catch(a){n.e(a)}finally{n.f()}}this.isArchived=e.isArchived}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.emailIdList)){e.emailIdList=[];var t,n=Object(s.a)(this.emailIdList);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.emailIdList.push(i)}}catch(a){n.e(a)}finally{n.f()}}return e.isArchived=this.isArchived,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Zt=function(){function e(t){if(Object(l.a)(this,e),this.ethnicityIdList=void 0,this.isArchive=void 0,this.isSelectedAll=void 0,this.exemptedIdList=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.ethnicityIdList)){this.ethnicityIdList=[];var t,n=Object(s.a)(e.ethnicityIdList);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.ethnicityIdList.push(i)}}catch(l){n.e(l)}finally{n.f()}}if(this.isArchive=e.isArchive,this.isSelectedAll=e.isSelectedAll,Array.isArray(e.exemptedIdList)){this.exemptedIdList=[];var a,r=Object(s.a)(e.exemptedIdList);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.exemptedIdList.push(o)}}catch(l){r.e(l)}finally{r.f()}}}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.ethnicityIdList)){e.ethnicityIdList=[];var t,n=Object(s.a)(this.ethnicityIdList);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.ethnicityIdList.push(i)}}catch(l){n.e(l)}finally{n.f()}}if(e.isArchive=this.isArchive,e.isSelectedAll=this.isSelectedAll,Array.isArray(this.exemptedIdList)){e.exemptedIdList=[];var a,r=Object(s.a)(this.exemptedIdList);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.exemptedIdList.push(o)}}catch(l){r.e(l)}finally{r.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Xt=function(){function e(t){if(Object(l.a)(this,e),this.idList=void 0,this.isActive=void 0,this.isSelectedAll=void 0,this.exemptedIdList=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.idList)){this.idList=[];var t,n=Object(s.a)(e.idList);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.idList.push(i)}}catch(l){n.e(l)}finally{n.f()}}if(this.isActive=e.isActive,this.isSelectedAll=e.isSelectedAll,Array.isArray(e.exemptedIdList)){this.exemptedIdList=[];var a,r=Object(s.a)(e.exemptedIdList);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.exemptedIdList.push(o)}}catch(l){r.e(l)}finally{r.f()}}}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.idList)){e.idList=[];var t,n=Object(s.a)(this.idList);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.idList.push(i)}}catch(l){n.e(l)}finally{n.f()}}if(e.isActive=this.isActive,e.isSelectedAll=this.isSelectedAll,Array.isArray(this.exemptedIdList)){e.exemptedIdList=[];var a,r=Object(s.a)(this.exemptedIdList);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.exemptedIdList.push(o)}}catch(l){r.e(l)}finally{r.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Kt=function(){function e(t){if(Object(l.a)(this,e),this.excuseIdList=void 0,this.isArchive=void 0,this.isSelectedAll=void 0,this.exemptedIdList=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.excuseIdList)){this.excuseIdList=[];var t,n=Object(s.a)(e.excuseIdList);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.excuseIdList.push(i)}}catch(l){n.e(l)}finally{n.f()}}if(this.isArchive=e.isArchive,this.isSelectedAll=e.isSelectedAll,Array.isArray(e.exemptedIdList)){this.exemptedIdList=[];var a,r=Object(s.a)(e.exemptedIdList);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.exemptedIdList.push(o)}}catch(l){r.e(l)}finally{r.f()}}}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.excuseIdList)){e.excuseIdList=[];var t,n=Object(s.a)(this.excuseIdList);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.excuseIdList.push(i)}}catch(l){n.e(l)}finally{n.f()}}if(e.isArchive=this.isArchive,e.isSelectedAll=this.isSelectedAll,Array.isArray(this.exemptedIdList)){e.exemptedIdList=[];var a,r=Object(s.a)(this.exemptedIdList);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.exemptedIdList.push(o)}}catch(l){r.e(l)}finally{r.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),en=function(){function e(t){if(Object(l.a)(this,e),this.fileIdList=void 0,this.isActive=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.fileIdList)){this.fileIdList=[];var t,n=Object(s.a)(e.fileIdList);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.fileIdList.push(i)}}catch(a){n.e(a)}finally{n.f()}}this.isActive=e.isActive}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.fileIdList)){e.fileIdList=[];var t,n=Object(s.a)(this.fileIdList);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.fileIdList.push(i)}}catch(a){n.e(a)}finally{n.f()}}return e.isActive=this.isActive,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),tn=function(){function e(t){if(Object(l.a)(this,e),this.genderIdList=void 0,this.isArchive=void 0,this.isSelectedAll=void 0,this.exemptedIdList=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.genderIdList)){this.genderIdList=[];var t,n=Object(s.a)(e.genderIdList);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.genderIdList.push(i)}}catch(l){n.e(l)}finally{n.f()}}if(this.isArchive=e.isArchive,this.isSelectedAll=e.isSelectedAll,Array.isArray(e.exemptedIdList)){this.exemptedIdList=[];var a,r=Object(s.a)(e.exemptedIdList);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.exemptedIdList.push(o)}}catch(l){r.e(l)}finally{r.f()}}}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.genderIdList)){e.genderIdList=[];var t,n=Object(s.a)(this.genderIdList);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.genderIdList.push(i)}}catch(l){n.e(l)}finally{n.f()}}if(e.isArchive=this.isArchive,e.isSelectedAll=this.isSelectedAll,Array.isArray(this.exemptedIdList)){e.exemptedIdList=[];var a,r=Object(s.a)(this.exemptedIdList);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.exemptedIdList.push(o)}}catch(l){r.e(l)}finally{r.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),nn=function(){function e(t){if(Object(l.a)(this,e),this.integrationJobIdList=void 0,this.isArchive=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.integrationJobIdList)){this.integrationJobIdList=[];var t,n=Object(s.a)(e.integrationJobIdList);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.integrationJobIdList.push(i)}}catch(a){n.e(a)}finally{n.f()}}this.isArchive=e.isArchive}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.integrationJobIdList)){e.integrationJobIdList=[];var t,n=Object(s.a)(this.integrationJobIdList);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.integrationJobIdList.push(i)}}catch(a){n.e(a)}finally{n.f()}}return e.isArchive=this.isArchive,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),an=function(){function e(t){if(Object(l.a)(this,e),this.learningPlanIdList=void 0,this.isArchived=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.learningPlanIdList)){this.learningPlanIdList=[];var t,n=Object(s.a)(e.learningPlanIdList);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.learningPlanIdList.push(i)}}catch(a){n.e(a)}finally{n.f()}}this.isArchived=e.isArchived}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.learningPlanIdList)){e.learningPlanIdList=[];var t,n=Object(s.a)(this.learningPlanIdList);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.learningPlanIdList.push(i)}}catch(a){n.e(a)}finally{n.f()}}return e.isArchived=this.isArchived,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),rn=function(){function e(t){if(Object(l.a)(this,e),this.levelIdList=void 0,this.isArchive=void 0,this.isSelectedAll=void 0,this.exemptedIdList=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.levelIdList)){this.levelIdList=[];var t,n=Object(s.a)(e.levelIdList);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.levelIdList.push(i)}}catch(l){n.e(l)}finally{n.f()}}if(this.isArchive=e.isArchive,this.isSelectedAll=e.isSelectedAll,Array.isArray(e.exemptedIdList)){this.exemptedIdList=[];var a,r=Object(s.a)(e.exemptedIdList);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.exemptedIdList.push(o)}}catch(l){r.e(l)}finally{r.f()}}}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.levelIdList)){e.levelIdList=[];var t,n=Object(s.a)(this.levelIdList);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.levelIdList.push(i)}}catch(l){n.e(l)}finally{n.f()}}if(e.isArchive=this.isArchive,e.isSelectedAll=this.isSelectedAll,Array.isArray(this.exemptedIdList)){e.exemptedIdList=[];var a,r=Object(s.a)(this.exemptedIdList);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.exemptedIdList.push(o)}}catch(l){r.e(l)}finally{r.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),on=function(){function e(t){if(Object(l.a)(this,e),this.locationIdList=void 0,this.isArchive=void 0,this.isSelectedAll=void 0,this.exemptedIdList=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.locationIdList)){this.locationIdList=[];var t,n=Object(s.a)(e.locationIdList);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.locationIdList.push(i)}}catch(l){n.e(l)}finally{n.f()}}if(this.isArchive=e.isArchive,this.isSelectedAll=e.isSelectedAll,Array.isArray(e.exemptedIdList)){this.exemptedIdList=[];var a,r=Object(s.a)(e.exemptedIdList);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.exemptedIdList.push(o)}}catch(l){r.e(l)}finally{r.f()}}}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.locationIdList)){e.locationIdList=[];var t,n=Object(s.a)(this.locationIdList);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.locationIdList.push(i)}}catch(l){n.e(l)}finally{n.f()}}if(e.isArchive=this.isArchive,e.isSelectedAll=this.isSelectedAll,Array.isArray(this.exemptedIdList)){e.exemptedIdList=[];var a,r=Object(s.a)(this.exemptedIdList);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.exemptedIdList.push(o)}}catch(l){r.e(l)}finally{r.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),sn=function(){function e(t){if(Object(l.a)(this,e),this.positionIdList=void 0,this.isArchive=void 0,this.isSelectedAll=void 0,this.exemptedIdList=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.positionIdList)){this.positionIdList=[];var t,n=Object(s.a)(e.positionIdList);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.positionIdList.push(i)}}catch(l){n.e(l)}finally{n.f()}}if(this.isArchive=e.isArchive,this.isSelectedAll=e.isSelectedAll,Array.isArray(e.exemptedIdList)){this.exemptedIdList=[];var a,r=Object(s.a)(e.exemptedIdList);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.exemptedIdList.push(o)}}catch(l){r.e(l)}finally{r.f()}}}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.positionIdList)){e.positionIdList=[];var t,n=Object(s.a)(this.positionIdList);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.positionIdList.push(i)}}catch(l){n.e(l)}finally{n.f()}}if(e.isArchive=this.isArchive,e.isSelectedAll=this.isSelectedAll,Array.isArray(this.exemptedIdList)){e.exemptedIdList=[];var a,r=Object(s.a)(this.exemptedIdList);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.exemptedIdList.push(o)}}catch(l){r.e(l)}finally{r.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),ln=function(){function e(t){if(Object(l.a)(this,e),this.practiceAreaIdList=void 0,this.isArchive=void 0,this.isSelectedAll=void 0,this.exemptedIdList=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.practiceAreaIdList)){this.practiceAreaIdList=[];var t,n=Object(s.a)(e.practiceAreaIdList);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.practiceAreaIdList.push(i)}}catch(l){n.e(l)}finally{n.f()}}if(this.isArchive=e.isArchive,this.isSelectedAll=e.isSelectedAll,Array.isArray(e.exemptedIdList)){this.exemptedIdList=[];var a,r=Object(s.a)(e.exemptedIdList);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.exemptedIdList.push(o)}}catch(l){r.e(l)}finally{r.f()}}}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.practiceAreaIdList)){e.practiceAreaIdList=[];var t,n=Object(s.a)(this.practiceAreaIdList);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.practiceAreaIdList.push(i)}}catch(l){n.e(l)}finally{n.f()}}if(e.isArchive=this.isArchive,e.isSelectedAll=this.isSelectedAll,Array.isArray(this.exemptedIdList)){e.exemptedIdList=[];var a,r=Object(s.a)(this.exemptedIdList);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.exemptedIdList.push(o)}}catch(l){r.e(l)}finally{r.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),cn=function(){function e(t){if(Object(l.a)(this,e),this.providerIdList=void 0,this.isArchive=void 0,this.isSelectedAll=void 0,this.exemptedIdList=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.providerIdList)){this.providerIdList=[];var t,n=Object(s.a)(e.providerIdList);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.providerIdList.push(i)}}catch(l){n.e(l)}finally{n.f()}}if(this.isArchive=e.isArchive,this.isSelectedAll=e.isSelectedAll,Array.isArray(e.exemptedIdList)){this.exemptedIdList=[];var a,r=Object(s.a)(e.exemptedIdList);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.exemptedIdList.push(o)}}catch(l){r.e(l)}finally{r.f()}}}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.providerIdList)){e.providerIdList=[];var t,n=Object(s.a)(this.providerIdList);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.providerIdList.push(i)}}catch(l){n.e(l)}finally{n.f()}}if(e.isArchive=this.isArchive,e.isSelectedAll=this.isSelectedAll,Array.isArray(this.exemptedIdList)){e.exemptedIdList=[];var a,r=Object(s.a)(this.exemptedIdList);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.exemptedIdList.push(o)}}catch(l){r.e(l)}finally{r.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),dn=function(){function e(t){if(Object(l.a)(this,e),this.roomIdList=void 0,this.isArchive=void 0,this.isSelectedAll=void 0,this.exemptedIdList=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.roomIdList)){this.roomIdList=[];var t,n=Object(s.a)(e.roomIdList);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.roomIdList.push(i)}}catch(l){n.e(l)}finally{n.f()}}if(this.isArchive=e.isArchive,this.isSelectedAll=e.isSelectedAll,Array.isArray(e.exemptedIdList)){this.exemptedIdList=[];var a,r=Object(s.a)(e.exemptedIdList);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.exemptedIdList.push(o)}}catch(l){r.e(l)}finally{r.f()}}}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.roomIdList)){e.roomIdList=[];var t,n=Object(s.a)(this.roomIdList);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.roomIdList.push(i)}}catch(l){n.e(l)}finally{n.f()}}if(e.isArchive=this.isArchive,e.isSelectedAll=this.isSelectedAll,Array.isArray(this.exemptedIdList)){e.exemptedIdList=[];var a,r=Object(s.a)(this.exemptedIdList);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.exemptedIdList.push(o)}}catch(l){r.e(l)}finally{r.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),un=function(){function e(t){if(Object(l.a)(this,e),this.tagIdList=void 0,this.isArchive=void 0,this.isSelectedAll=void 0,this.exemptedIdList=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.tagIdList)){this.tagIdList=[];var t,n=Object(s.a)(e.tagIdList);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.tagIdList.push(i)}}catch(l){n.e(l)}finally{n.f()}}if(this.isArchive=e.isArchive,this.isSelectedAll=e.isSelectedAll,Array.isArray(e.exemptedIdList)){this.exemptedIdList=[];var a,r=Object(s.a)(e.exemptedIdList);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.exemptedIdList.push(o)}}catch(l){r.e(l)}finally{r.f()}}}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.tagIdList)){e.tagIdList=[];var t,n=Object(s.a)(this.tagIdList);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.tagIdList.push(i)}}catch(l){n.e(l)}finally{n.f()}}if(e.isArchive=this.isArchive,e.isSelectedAll=this.isSelectedAll,Array.isArray(this.exemptedIdList)){e.exemptedIdList=[];var a,r=Object(s.a)(this.exemptedIdList);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.exemptedIdList.push(o)}}catch(l){r.e(l)}finally{r.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),mn=function(){function e(t){if(Object(l.a)(this,e),this.licenseId=void 0,this.certificateId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.licenseId=e.licenseId,this.certificateId=e.certificateId)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).licenseId=this.licenseId,e.certificateId=this.certificateId,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),vn=function(){function e(t){if(Object(l.a)(this,e),this.securityGroupId=void 0,this.securityGroupUsers=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&(this.securityGroupId=e.securityGroupId,Array.isArray(e.securityGroupUsers))){this.securityGroupUsers=[];var t,n=Object(s.a)(e.securityGroupUsers);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.securityGroupUsers.push(Vy.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).securityGroupId=this.securityGroupId,Array.isArray(this.securityGroupUsers)){e.securityGroupUsers=[];var t,n=Object(s.a)(this.securityGroupUsers);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.securityGroupUsers.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),fn=function(){function e(t){if(Object(l.a)(this,e),this.emailTypeId=void 0,this.emailTemplateId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.emailTypeId=e.emailTypeId,this.emailTemplateId=e.emailTemplateId)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).emailTypeId=this.emailTypeId,e.emailTemplateId=this.emailTemplateId,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),pn=function(){function e(t){if(Object(l.a)(this,e),this.roleId=void 0,this.roleUserIds=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n]);t||(this.roleUserIds=[])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&(this.roleId=e.roleId,Array.isArray(e.roleUserIds))){this.roleUserIds=[];var t,n=Object(s.a)(e.roleUserIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.roleUserIds.push(i)}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).roleId=this.roleId,Array.isArray(this.roleUserIds)){e.roleUserIds=[];var t,n=Object(s.a)(this.roleUserIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.roleUserIds.push(i)}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),hn=function(){function e(t){if(Object(l.a)(this,e),this.securityGroupId=void 0,this.securityGroupUserIds=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n]);t||(this.securityGroupUserIds=[])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&(this.securityGroupId=e.securityGroupId,Array.isArray(e.securityGroupUserIds))){this.securityGroupUserIds=[];var t,n=Object(s.a)(e.securityGroupUserIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.securityGroupUserIds.push(i)}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).securityGroupId=this.securityGroupId,Array.isArray(this.securityGroupUserIds)){e.securityGroupUserIds=[];var t,n=Object(s.a)(this.securityGroupUserIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.securityGroupUserIds.push(i)}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),yn=function(){function e(t){if(Object(l.a)(this,e),this.attendanceFormId=void 0,this.type=void 0,this.sequence=void 0,this.includeForDisplay=void 0,this.label=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.attendanceFormId=e.attendanceFormId,this.type=e.type,this.sequence=e.sequence,this.includeForDisplay=e.includeForDisplay,this.label=e.label)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).attendanceFormId=this.attendanceFormId,e.type=this.type,e.sequence=this.sequence,e.includeForDisplay=this.includeForDisplay,e.label=this.label,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}();!function(e){e[e.Name=1]="Name",e[e.LicenseDetails=2]="LicenseDetails",e[e.Email=3]="Email",e[e.CustomColumn1=4]="CustomColumn1",e[e.CustomColumn2=5]="CustomColumn2",e[e.CustomColumn3=6]="CustomColumn3"}(i||(i={}));var bn,gn=function(){function e(t){if(Object(l.a)(this,e),this.attendanceFormId=void 0,this.name=void 0,this.isActive=void 0,this.isSystem=void 0,this.isDefault=void 0,this.headerIncludeFirmLogo=void 0,this.headerTitle=void 0,this.headerFirmName=void 0,this.headerOptions=void 0,this.headerText=void 0,this.footerOptions=void 0,this.footerText=void 0,this.blankSignatureLinesNumber=void 0,this.includeInstructorSignatureOnFirstRow=void 0,this.includeMiddleName=void 0,this.columns=void 0,this.information=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.attendanceFormId=e.attendanceFormId,this.name=e.name,this.isActive=e.isActive,this.isSystem=e.isSystem,this.isDefault=e.isDefault,this.headerIncludeFirmLogo=e.headerIncludeFirmLogo,this.headerTitle=e.headerTitle,this.headerFirmName=e.headerFirmName,this.headerOptions=e.headerOptions,this.headerText=e.headerText,this.footerOptions=e.footerOptions,this.footerText=e.footerText,this.blankSignatureLinesNumber=e.blankSignatureLinesNumber,this.includeInstructorSignatureOnFirstRow=e.includeInstructorSignatureOnFirstRow,this.includeMiddleName=e.includeMiddleName,Array.isArray(e.columns)){this.columns=[];var t,n=Object(s.a)(e.columns);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.columns.push(yn.fromJS(i))}}catch(l){n.e(l)}finally{n.f()}}if(Array.isArray(e.information)){this.information=[];var a,r=Object(s.a)(e.information);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.information.push(In.fromJS(o))}}catch(l){r.e(l)}finally{r.f()}}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).attendanceFormId=this.attendanceFormId,e.name=this.name,e.isActive=this.isActive,e.isSystem=this.isSystem,e.isDefault=this.isDefault,e.headerIncludeFirmLogo=this.headerIncludeFirmLogo,e.headerTitle=this.headerTitle,e.headerFirmName=this.headerFirmName,e.headerOptions=this.headerOptions,e.headerText=this.headerText,e.footerOptions=this.footerOptions,e.footerText=this.footerText,e.blankSignatureLinesNumber=this.blankSignatureLinesNumber,e.includeInstructorSignatureOnFirstRow=this.includeInstructorSignatureOnFirstRow,e.includeMiddleName=this.includeMiddleName,Array.isArray(this.columns)){e.columns=[];var t,n=Object(s.a)(this.columns);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.columns.push(i.toJSON())}}catch(l){n.e(l)}finally{n.f()}}if(Array.isArray(this.information)){e.information=[];var a,r=Object(s.a)(this.information);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.information.push(o.toJSON())}}catch(l){r.e(l)}finally{r.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),En=function(){function e(t){if(Object(l.a)(this,e),this.attendanceFormId=void 0,this.name=void 0,this.isActive=void 0,this.isSystem=void 0,this.isDefault=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.attendanceFormId=e.attendanceFormId,this.name=e.name,this.isActive=e.isActive,this.isSystem=e.isSystem,this.isDefault=e.isDefault)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).attendanceFormId=this.attendanceFormId,e.name=this.name,e.isActive=this.isActive,e.isSystem=this.isSystem,e.isDefault=this.isDefault,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),In=function(){function e(t){if(Object(l.a)(this,e),this.attendanceFormId=void 0,this.type=void 0,this.column=void 0,this.sequence=void 0,this.includeForDisplay=void 0,this.label=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.attendanceFormId=e.attendanceFormId,this.type=e.type,this.column=e.column,this.sequence=e.sequence,this.includeForDisplay=e.includeForDisplay,this.label=e.label)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).attendanceFormId=this.attendanceFormId,e.type=this.type,e.column=this.column,e.sequence=this.sequence,e.includeForDisplay=this.includeForDisplay,e.label=this.label,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}();!function(e){e[e.Title=1]="Title",e[e.Format=2]="Format",e[e.Instructor=3]="Instructor",e[e.Credits=4]="Credits",e[e.Date=5]="Date",e[e.Time=6]="Time",e[e.Location=7]="Location",e[e.Room=8]="Room"}(bn||(bn={}));var Sn,On,Cn=function(){function e(t){if(Object(l.a)(this,e),this.attendanceForms=void 0,this.recordCount=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.attendanceForms)){this.attendanceForms=[];var t,n=Object(s.a)(e.attendanceForms);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.attendanceForms.push(En.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}this.recordCount=e.recordCount}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.attendanceForms)){e.attendanceForms=[];var t,n=Object(s.a)(this.attendanceForms);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.attendanceForms.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e.recordCount=this.recordCount,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}();!function(e){e[e.DoNotShow=1]="DoNotShow",e[e.FirstPageOnly=2]="FirstPageOnly",e[e.LastPageOnly=3]="LastPageOnly",e[e.EachPage=4]="EachPage"}(Sn||(Sn={})),function(e){e[e.PrintSeparately=1]="PrintSeparately",e[e.PrintCombined=2]="PrintCombined",e[e.PrintBlank=3]="PrintBlank"}(On||(On={}));var jn,xn=function(){function e(t){if(Object(l.a)(this,e),this.attendanceForm=void 0,this.sessionRecords=void 0,this.printOption=void 0,this.sessionTemplateId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.attendanceForm=e.attendanceForm?gn.fromJS(e.attendanceForm):void 0,Array.isArray(e.sessionRecords)){this.sessionRecords=[];var t,n=Object(s.a)(e.sessionRecords);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.sessionRecords.push(wb.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}this.printOption=e.printOption,this.sessionTemplateId=e.sessionTemplateId}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).attendanceForm=this.attendanceForm?this.attendanceForm.toJSON():void 0,Array.isArray(this.sessionRecords)){e.sessionRecords=[];var t,n=Object(s.a)(this.sessionRecords);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.sessionRecords.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e.printOption=this.printOption,e.sessionTemplateId=this.sessionTemplateId,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),An=function(){function e(t){if(Object(l.a)(this,e),this.auditId=void 0,this.tableName=void 0,this.dateTime=void 0,this.keyValues=void 0,this.oldValues=void 0,this.newValues=void 0,this.userId=void 0,this.userName=void 0,this.page=void 0,this.endpoint=void 0,this.mode=void 0,this.batchId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.auditId=e.auditId,this.tableName=e.tableName,this.dateTime=e.dateTime?new Date(e.dateTime.toString()):void 0,this.keyValues=e.keyValues,this.oldValues=e.oldValues,this.newValues=e.newValues,this.userId=e.userId,this.userName=e.userName,this.page=e.page,this.endpoint=e.endpoint,this.mode=e.mode,this.batchId=e.batchId)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).auditId=this.auditId,e.tableName=this.tableName,e.dateTime=this.dateTime?this.dateTime.toISOString():void 0,e.keyValues=this.keyValues,e.oldValues=this.oldValues,e.newValues=this.newValues,e.userId=this.userId,e.userName=this.userName,e.page=this.page,e.endpoint=this.endpoint,e.mode=this.mode,e.batchId=this.batchId,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Tn=function(){function e(t){if(Object(l.a)(this,e),this.auditLogs=void 0,this.recordCount=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.auditLogs)){this.auditLogs=[];var t,n=Object(s.a)(e.auditLogs);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.auditLogs.push(An.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}this.recordCount=e.recordCount}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.auditLogs)){e.auditLogs=[];var t,n=Object(s.a)(this.auditLogs);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.auditLogs.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e.recordCount=this.recordCount,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),wn=function(){function e(t){if(Object(l.a)(this,e),this.licenseId=void 0,this.creditId=void 0,this.creditName=void 0,this.earned=void 0,this.appliedRetroToSelectedPeriod=void 0,this.sequenceNumber=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.licenseId=e.licenseId,this.creditId=e.creditId,this.creditName=e.creditName,this.earned=e.earned,this.appliedRetroToSelectedPeriod=e.appliedRetroToSelectedPeriod,this.sequenceNumber=e.sequenceNumber)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).licenseId=this.licenseId,e.creditId=this.creditId,e.creditName=this.creditName,e.earned=this.earned,e.appliedRetroToSelectedPeriod=this.appliedRetroToSelectedPeriod,e.sequenceNumber=this.sequenceNumber,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),kn=function(){function e(t){if(Object(l.a)(this,e),this.userLicenseComplianceId=void 0,this.periodFrom=void 0,this.periodTo=void 0,this.periodToDisplay=void 0,this.periodNumber=void 0,this.complianceStatusId=void 0,this.periodLabel=void 0,this.periodTypeId=void 0,this.availableCredits=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&(this.userLicenseComplianceId=e.userLicenseComplianceId,this.periodFrom=e.periodFrom?new Date(e.periodFrom.toString()):void 0,this.periodTo=e.periodTo?new Date(e.periodTo.toString()):void 0,this.periodToDisplay=e.periodToDisplay?new Date(e.periodToDisplay.toString()):void 0,this.periodNumber=e.periodNumber,this.complianceStatusId=e.complianceStatusId,this.periodLabel=e.periodLabel,this.periodTypeId=e.periodTypeId,Array.isArray(e.availableCredits))){this.availableCredits=[];var t,n=Object(s.a)(e.availableCredits);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.availableCredits.push(yp.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).userLicenseComplianceId=this.userLicenseComplianceId,e.periodFrom=this.periodFrom?this.periodFrom.toISOString():void 0,e.periodTo=this.periodTo?this.periodTo.toISOString():void 0,e.periodToDisplay=this.periodToDisplay?this.periodToDisplay.toISOString():void 0,e.periodNumber=this.periodNumber,e.complianceStatusId=this.complianceStatusId,e.periodLabel=this.periodLabel,e.periodTypeId=this.periodTypeId,Array.isArray(this.availableCredits)){e.availableCredits=[];var t,n=Object(s.a)(this.availableCredits);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.availableCredits.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Pn=function(){function e(t){if(Object(l.a)(this,e),this.activityId=void 0,this.title=void 0,this.activityTags=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&(this.activityId=e.activityId,this.title=e.title,Array.isArray(e.activityTags))){this.activityTags=[];var t,n=Object(s.a)(e.activityTags);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.activityTags.push(vt.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).activityId=this.activityId,e.title=this.title,Array.isArray(this.activityTags)){e.activityTags=[];var t,n=Object(s.a)(this.activityTags);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.activityTags.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Nn=function(){function e(t){if(Object(l.a)(this,e),this.activities=void 0,this.recordCount=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.activities)){this.activities=[];var t,n=Object(s.a)(e.activities);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.activities.push(Pn.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}this.recordCount=e.recordCount}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.activities)){e.activities=[];var t,n=Object(s.a)(this.activities);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.activities.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e.recordCount=this.recordCount,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Dn=function(){function e(t){if(Object(l.a)(this,e),this.courseId=void 0,this.title=void 0,this.providerId=void 0,this.providerName=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.courseId=e.courseId,this.title=e.title,this.providerId=e.providerId,this.providerName=e.providerName)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).courseId=this.courseId,e.title=this.title,e.providerId=this.providerId,e.providerName=this.providerName,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Ln=function(){function e(t){if(Object(l.a)(this,e),this.courses=void 0,this.recordCount=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.courses)){this.courses=[];var t,n=Object(s.a)(e.courses);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.courses.push(Dn.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}this.recordCount=e.recordCount}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.courses)){e.courses=[];var t,n=Object(s.a)(this.courses);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.courses.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e.recordCount=this.recordCount,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Fn=function(){function e(t){if(Object(l.a)(this,e),this.userId=void 0,this.userType=void 0,this.value=void 0,this.firstName=void 0,this.middleName=void 0,this.lastName=void 0,this.locationId=void 0,this.location=void 0,this.email=void 0,this.userAvatarId=void 0,this.userAvatar=void 0,this.userLicense=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&(this.userId=e.userId,this.userType=e.userType,this.value=e.value,this.firstName=e.firstName,this.middleName=e.middleName,this.lastName=e.lastName,this.locationId=e.locationId,this.location=e.location?Rf.fromJS(e.location):void 0,this.email=e.email,this.userAvatarId=e.userAvatarId,this.userAvatar=e.userAvatar?QI.fromJS(e.userAvatar):void 0,Array.isArray(e.userLicense))){this.userLicense=[];var t,n=Object(s.a)(e.userLicense);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.userLicense.push(AS.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).userId=this.userId,e.userType=this.userType,e.value=this.value,e.firstName=this.firstName,e.middleName=this.middleName,e.lastName=this.lastName,e.locationId=this.locationId,e.location=this.location?this.location.toJSON():void 0,e.email=this.email,e.userAvatarId=this.userAvatarId,e.userAvatar=this.userAvatar?this.userAvatar.toJSON():void 0,Array.isArray(this.userLicense)){e.userLicense=[];var t,n=Object(s.a)(this.userLicense);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.userLicense.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Bn=function(){function e(t){if(Object(l.a)(this,e),this.sessionParticipants=void 0,this.recordCount=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.sessionParticipants)){this.sessionParticipants=[];var t,n=Object(s.a)(e.sessionParticipants);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.sessionParticipants.push(Fn.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}this.recordCount=e.recordCount}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.sessionParticipants)){e.sessionParticipants=[];var t,n=Object(s.a)(this.sessionParticipants);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.sessionParticipants.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e.recordCount=this.recordCount,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Rn=function(){function e(t){if(Object(l.a)(this,e),this.usersRetroactiveCredits=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&Array.isArray(e.usersRetroactiveCredits)){this.usersRetroactiveCredits=[];var t,n=Object(s.a)(e.usersRetroactiveCredits);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.usersRetroactiveCredits.push(Ko.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.usersRetroactiveCredits)){e.usersRetroactiveCredits=[];var t,n=Object(s.a)(this.usersRetroactiveCredits);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.usersRetroactiveCredits.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Jn=function(){function e(t){if(Object(l.a)(this,e),this.calendarSavedFilterId=void 0,this.name=void 0,this.isPublic=void 0,this.isReadOnly=void 0,this.isSystem=void 0,this.isDefault=void 0,this.filter=void 0,this.createdBy=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.calendarSavedFilterId=e.calendarSavedFilterId,this.name=e.name,this.isPublic=e.isPublic,this.isReadOnly=e.isReadOnly,this.isSystem=e.isSystem,this.isDefault=e.isDefault,this.filter=e.filter,this.createdBy=e.createdBy)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).calendarSavedFilterId=this.calendarSavedFilterId,e.name=this.name,e.isPublic=this.isPublic,e.isReadOnly=this.isReadOnly,e.isSystem=this.isSystem,e.isDefault=this.isDefault,e.filter=this.filter,e.createdBy=this.createdBy,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Gn=function(){function e(t){if(Object(l.a)(this,e),this.calendarSavedFilters=void 0,this.recordCount=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.calendarSavedFilters)){this.calendarSavedFilters=[];var t,n=Object(s.a)(e.calendarSavedFilters);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.calendarSavedFilters.push(Jn.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}this.recordCount=e.recordCount}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.calendarSavedFilters)){e.calendarSavedFilters=[];var t,n=Object(s.a)(this.calendarSavedFilters);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.calendarSavedFilters.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e.recordCount=this.recordCount,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Un=function(){function e(t){if(Object(l.a)(this,e),this.sessionId=void 0,this.courseId=void 0,this.scheduleId=void 0,this.sessionTypeId=void 0,this.mediaTypeId=void 0,this.title=void 0,this.courseFormatId=void 0,this.courseFormat=void 0,this.courseFormatPortalCategory=void 0,this.isOnlineLearning=void 0,this.courseTitle=void 0,this.provider=void 0,this.startDate=void 0,this.endDate=void 0,this.startTime=void 0,this.endTime=void 0,this.timeZone=void 0,this.locationId=void 0,this.location=void 0,this.room=void 0,this.instructors=void 0,this.participantCount=void 0,this.validatedCount=void 0,this.registeredCount=void 0,this.tentativeCount=void 0,this.pendingCount=void 0,this.inProgressCount=void 0,this.disqualifiedCount=void 0,this.failedCount=void 0,this.cancelledSession=void 0,this.sessionLicenses=void 0,this.isPublished=void 0,this.note=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.sessionId=e.sessionId,this.courseId=e.courseId,this.scheduleId=e.scheduleId,this.sessionTypeId=e.sessionTypeId,this.mediaTypeId=e.mediaTypeId,this.title=e.title,this.courseFormatId=e.courseFormatId,this.courseFormat=e.courseFormat,this.courseFormatPortalCategory=e.courseFormatPortalCategory,this.isOnlineLearning=e.isOnlineLearning,this.courseTitle=e.courseTitle,this.provider=e.provider,this.startDate=e.startDate?new Date(e.startDate.toString()):void 0,this.endDate=e.endDate?new Date(e.endDate.toString()):void 0,this.startTime=e.startTime,this.endTime=e.endTime,this.timeZone=e.timeZone,this.locationId=e.locationId,this.location=e.location,this.room=e.room,Array.isArray(e.instructors)){this.instructors=[];var t,n=Object(s.a)(e.instructors);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.instructors.push(i)}}catch(l){n.e(l)}finally{n.f()}}if(this.participantCount=e.participantCount,this.validatedCount=e.validatedCount,this.registeredCount=e.registeredCount,this.tentativeCount=e.tentativeCount,this.pendingCount=e.pendingCount,this.inProgressCount=e.inProgressCount,this.disqualifiedCount=e.disqualifiedCount,this.failedCount=e.failedCount,this.cancelledSession=e.cancelledSession,Array.isArray(e.sessionLicenses)){this.sessionLicenses=[];var a,r=Object(s.a)(e.sessionLicenses);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.sessionLicenses.push(Fb.fromJS(o))}}catch(l){r.e(l)}finally{r.f()}}this.isPublished=e.isPublished,this.note=e.note}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).sessionId=this.sessionId,e.courseId=this.courseId,e.scheduleId=this.scheduleId,e.sessionTypeId=this.sessionTypeId,e.mediaTypeId=this.mediaTypeId,e.title=this.title,e.courseFormatId=this.courseFormatId,e.courseFormat=this.courseFormat,e.courseFormatPortalCategory=this.courseFormatPortalCategory,e.isOnlineLearning=this.isOnlineLearning,e.courseTitle=this.courseTitle,e.provider=this.provider,e.startDate=this.startDate?this.startDate.toISOString():void 0,e.endDate=this.endDate?this.endDate.toISOString():void 0,e.startTime=this.startTime,e.endTime=this.endTime,e.timeZone=this.timeZone,e.locationId=this.locationId,e.location=this.location,e.room=this.room,Array.isArray(this.instructors)){e.instructors=[];var t,n=Object(s.a)(this.instructors);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.instructors.push(i)}}catch(l){n.e(l)}finally{n.f()}}if(e.participantCount=this.participantCount,e.validatedCount=this.validatedCount,e.registeredCount=this.registeredCount,e.tentativeCount=this.tentativeCount,e.pendingCount=this.pendingCount,e.inProgressCount=this.inProgressCount,e.disqualifiedCount=this.disqualifiedCount,e.failedCount=this.failedCount,e.cancelledSession=this.cancelledSession,Array.isArray(this.sessionLicenses)){e.sessionLicenses=[];var a,r=Object(s.a)(this.sessionLicenses);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.sessionLicenses.push(o.toJSON())}}catch(l){r.e(l)}finally{r.f()}}return e.isPublished=this.isPublished,e.note=this.note,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),zn=function(){function e(t){if(Object(l.a)(this,e),this.sessions=void 0,this.recordCount=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.sessions)){this.sessions=[];var t,n=Object(s.a)(e.sessions);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.sessions.push(Un.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}this.recordCount=e.recordCount}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.sessions)){e.sessions=[];var t,n=Object(s.a)(this.sessions);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.sessions.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e.recordCount=this.recordCount,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),qn=function(){function e(t){if(Object(l.a)(this,e),this.sessionIds=void 0,this.sendEmailConfirmation=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n]);t||(this.sessionIds=[])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.sessionIds)){this.sessionIds=[];var t,n=Object(s.a)(e.sessionIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.sessionIds.push(i)}}catch(a){n.e(a)}finally{n.f()}}this.sendEmailConfirmation=e.sendEmailConfirmation}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.sessionIds)){e.sessionIds=[];var t,n=Object(s.a)(this.sessionIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.sessionIds.push(i)}}catch(a){n.e(a)}finally{n.f()}}return e.sendEmailConfirmation=this.sendEmailConfirmation,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Mn=function(){function e(t){if(Object(l.a)(this,e),this.certificateId=void 0,this.name=void 0,this.description=void 0,this.licenseId=void 0,this.templateId=void 0,this.isActive=void 0,this.includeFirmLogo=void 0,this.firmLogoId=void 0,this.firmLogoUrl=void 0,this.includeFirmName=void 0,this.firmName=void 0,this.locationId=void 0,this.locationValue=void 0,this.phoneNumber=void 0,this.includeBarNumber=void 0,this.includeMiddleName=void 0,this.includeInstructorName=void 0,this.includeLocation=void 0,this.includeCity=void 0,this.includeState=void 0,this.includeTime=void 0,this.includeApprovalCode=void 0,this.includeParticipantSignature=void 0,this.includeValidatorSignatureLine=void 0,this.validatorName=void 0,this.validatorTitle=void 0,this.validatorPhoneNumber=void 0,this.validatorEmail=void 0,this.validatorSignatureId=void 0,this.signatureUrl=void 0,this.thumbnailUrl=void 0,this.accreditedProvider=void 0,this.additionalText=void 0,this.isSystem=void 0,this.htmlBody=void 0,this.cleProviderValue=void 0,this.cleProviderDate=void 0,this.licenseProviderNumber=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.certificateId=e.certificateId,this.name=e.name,this.description=e.description,this.licenseId=e.licenseId,this.templateId=e.templateId,this.isActive=e.isActive,this.includeFirmLogo=e.includeFirmLogo,this.firmLogoId=e.firmLogoId,this.firmLogoUrl=e.firmLogoUrl,this.includeFirmName=e.includeFirmName,this.firmName=e.firmName,this.locationId=e.locationId,this.locationValue=e.locationValue,this.phoneNumber=e.phoneNumber,this.includeBarNumber=e.includeBarNumber,this.includeMiddleName=e.includeMiddleName,this.includeInstructorName=e.includeInstructorName,this.includeLocation=e.includeLocation,this.includeCity=e.includeCity,this.includeState=e.includeState,this.includeTime=e.includeTime,this.includeApprovalCode=e.includeApprovalCode,this.includeParticipantSignature=e.includeParticipantSignature,this.includeValidatorSignatureLine=e.includeValidatorSignatureLine,this.validatorName=e.validatorName,this.validatorTitle=e.validatorTitle,this.validatorPhoneNumber=e.validatorPhoneNumber,this.validatorEmail=e.validatorEmail,this.validatorSignatureId=e.validatorSignatureId,this.signatureUrl=e.signatureUrl,this.thumbnailUrl=e.thumbnailUrl,this.accreditedProvider=e.accreditedProvider,this.additionalText=e.additionalText,this.isSystem=e.isSystem,this.htmlBody=e.htmlBody,this.cleProviderValue=e.cleProviderValue,this.cleProviderDate=e.cleProviderDate?new Date(e.cleProviderDate.toString()):void 0,this.licenseProviderNumber=e.licenseProviderNumber)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).certificateId=this.certificateId,e.name=this.name,e.description=this.description,e.licenseId=this.licenseId,e.templateId=this.templateId,e.isActive=this.isActive,e.includeFirmLogo=this.includeFirmLogo,e.firmLogoId=this.firmLogoId,e.firmLogoUrl=this.firmLogoUrl,e.includeFirmName=this.includeFirmName,e.firmName=this.firmName,e.locationId=this.locationId,e.locationValue=this.locationValue,e.phoneNumber=this.phoneNumber,e.includeBarNumber=this.includeBarNumber,e.includeMiddleName=this.includeMiddleName,e.includeInstructorName=this.includeInstructorName,e.includeLocation=this.includeLocation,e.includeCity=this.includeCity,e.includeState=this.includeState,e.includeTime=this.includeTime,e.includeApprovalCode=this.includeApprovalCode,e.includeParticipantSignature=this.includeParticipantSignature,e.includeValidatorSignatureLine=this.includeValidatorSignatureLine,e.validatorName=this.validatorName,e.validatorTitle=this.validatorTitle,e.validatorPhoneNumber=this.validatorPhoneNumber,e.validatorEmail=this.validatorEmail,e.validatorSignatureId=this.validatorSignatureId,e.signatureUrl=this.signatureUrl,e.thumbnailUrl=this.thumbnailUrl,e.accreditedProvider=this.accreditedProvider,e.additionalText=this.additionalText,e.isSystem=this.isSystem,e.htmlBody=this.htmlBody,e.cleProviderValue=this.cleProviderValue,e.cleProviderDate=this.cleProviderDate?this.cleProviderDate.toISOString():void 0,e.licenseProviderNumber=this.licenseProviderNumber,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}();!function(e){e[e.Print=1]="Print",e[e.Certificate=2]="Certificate",e[e.Upload=3]="Upload",e[e.NotApplicable=4]="NotApplicable"}(jn||(jn={}));var Wn,Vn=function(){function e(t){if(Object(l.a)(this,e),this.certificateId=void 0,this.name=void 0,this.description=void 0,this.isActive=void 0,this.isSystem=void 0,this.licenseId=void 0,this.isUsedByLicense=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.certificateId=e.certificateId,this.name=e.name,this.description=e.description,this.isActive=e.isActive,this.isSystem=e.isSystem,this.licenseId=e.licenseId,this.isUsedByLicense=e.isUsedByLicense)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).certificateId=this.certificateId,e.name=this.name,e.description=this.description,e.isActive=this.isActive,e.isSystem=this.isSystem,e.licenseId=this.licenseId,e.isUsedByLicense=this.isUsedByLicense,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),_n=function(){function e(t){if(Object(l.a)(this,e),this.certificates=void 0,this.recordCount=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.certificates)){this.certificates=[];var t,n=Object(s.a)(e.certificates);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.certificates.push(Vn.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}this.recordCount=e.recordCount}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.certificates)){e.certificates=[];var t,n=Object(s.a)(this.certificates);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.certificates.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e.recordCount=this.recordCount,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Yn=function(){function e(t){if(Object(l.a)(this,e),this.certificateId=void 0,this.fileId=void 0,this.signatureUrl=void 0,this.thumbnailUrl=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.certificateId=e.certificateId,this.fileId=e.fileId,this.signatureUrl=e.signatureUrl,this.thumbnailUrl=e.thumbnailUrl)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).certificateId=this.certificateId,e.fileId=this.fileId,e.signatureUrl=this.signatureUrl,e.thumbnailUrl=this.thumbnailUrl,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Hn=function(){function e(t){if(Object(l.a)(this,e),this.oldPassword=void 0,this.newPassword=void 0,this.confirmPassword=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.oldPassword=e.oldPassword,this.newPassword=e.newPassword,this.confirmPassword=e.confirmPassword)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).oldPassword=this.oldPassword,e.newPassword=this.newPassword,e.confirmPassword=this.confirmPassword,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),$n=function(){function e(t){if(Object(l.a)(this,e),this.userIdList=void 0,this.isActive=void 0,this.fireDate=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.userIdList)){this.userIdList=[];var t,n=Object(s.a)(e.userIdList);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.userIdList.push(i)}}catch(a){n.e(a)}finally{n.f()}}this.isActive=e.isActive,this.fireDate=e.fireDate?new Date(e.fireDate.toString()):void 0}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.userIdList)){e.userIdList=[];var t,n=Object(s.a)(this.userIdList);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.userIdList.push(i)}}catch(a){n.e(a)}finally{n.f()}}return e.isActive=this.isActive,e.fireDate=this.fireDate?this.fireDate.toISOString():void 0,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Qn=function(){function e(t){if(Object(l.a)(this,e),this.classYearId=void 0,this.name=void 0,this.isActive=void 0,this.code=void 0,this.userCount=void 0,this.courseCount=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.classYearId=e.classYearId,this.name=e.name,this.isActive=e.isActive,this.code=e.code,this.userCount=e.userCount,this.courseCount=e.courseCount)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).classYearId=this.classYearId,e.name=this.name,e.isActive=this.isActive,e.code=this.code,e.userCount=this.userCount,e.courseCount=this.courseCount,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Zn=function(){function e(t){if(Object(l.a)(this,e),this.classYears=void 0,this.recordCount=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.classYears)){this.classYears=[];var t,n=Object(s.a)(e.classYears);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.classYears.push(Qn.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}this.recordCount=e.recordCount}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.classYears)){e.classYears=[];var t,n=Object(s.a)(this.classYears);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.classYears.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e.recordCount=this.recordCount,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Xn=function(){function e(t){if(Object(l.a)(this,e),this.sessionId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.sessionId=e.sessionId)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).sessionId=this.sessionId,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Kn=function(){function e(t){if(Object(l.a)(this,e),this.collectionId=void 0,this.title=void 0,this.description=void 0,this.courseCount=void 0,this.isAssigned=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.collectionId=e.collectionId,this.title=e.title,this.description=e.description,this.courseCount=e.courseCount,this.isAssigned=e.isAssigned)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).collectionId=this.collectionId,e.title=this.title,e.description=this.description,e.courseCount=this.courseCount,e.isAssigned=this.isAssigned,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),ei=function(){function e(t){if(Object(l.a)(this,e),this.competencyId=void 0,this.name=void 0,this.isActive=void 0,this.code=void 0,this.courseCount=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.competencyId=e.competencyId,this.name=e.name,this.isActive=e.isActive,this.code=e.code,this.courseCount=e.courseCount)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).competencyId=this.competencyId,e.name=this.name,e.isActive=this.isActive,e.code=this.code,e.courseCount=this.courseCount,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),ti=function(){function e(t){if(Object(l.a)(this,e),this.competencyFrameworkId=void 0,this.competencyId=void 0,this.competencyName=void 0,this.sequenceNumber=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.competencyFrameworkId=e.competencyFrameworkId,this.competencyId=e.competencyId,this.competencyName=e.competencyName,this.sequenceNumber=e.sequenceNumber)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).competencyFrameworkId=this.competencyFrameworkId,e.competencyId=this.competencyId,e.competencyName=this.competencyName,e.sequenceNumber=this.sequenceNumber,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),ni=function(){function e(t){if(Object(l.a)(this,e),this.competencyId=void 0,this.sequenceNumber=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.competencyId=e.competencyId,this.sequenceNumber=e.sequenceNumber)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).competencyId=this.competencyId,e.sequenceNumber=this.sequenceNumber,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),ii=function(){function e(t){if(Object(l.a)(this,e),this.competencyId=void 0,this.name=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.competencyId=e.competencyId,this.name=e.name)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).competencyId=this.competencyId,e.name=this.name,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),ai=function(){function e(t){if(Object(l.a)(this,e),this.competencyFrameworkId=void 0,this.title=void 0,this.userInstruction=void 0,this.hasUsers=void 0,this.competencyFrameworkLicenses=void 0,this.competencyFrameworkCategories=void 0,this.competencyFrameworkSubCategories=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.competencyFrameworkId=e.competencyFrameworkId,this.title=e.title,this.userInstruction=e.userInstruction,this.hasUsers=e.hasUsers,Array.isArray(e.competencyFrameworkLicenses)){this.competencyFrameworkLicenses=[];var t,n=Object(s.a)(e.competencyFrameworkLicenses);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.competencyFrameworkLicenses.push(oi.fromJS(i))}}catch(u){n.e(u)}finally{n.f()}}if(Array.isArray(e.competencyFrameworkCategories)){this.competencyFrameworkCategories=[];var a,r=Object(s.a)(e.competencyFrameworkCategories);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.competencyFrameworkCategories.push(ti.fromJS(o))}}catch(u){r.e(u)}finally{r.f()}}if(Array.isArray(e.competencyFrameworkSubCategories)){this.competencyFrameworkSubCategories=[];var l,c=Object(s.a)(e.competencyFrameworkSubCategories);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.competencyFrameworkSubCategories.push(ci.fromJS(d))}}catch(u){c.e(u)}finally{c.f()}}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).competencyFrameworkId=this.competencyFrameworkId,e.title=this.title,e.userInstruction=this.userInstruction,e.hasUsers=this.hasUsers,Array.isArray(this.competencyFrameworkLicenses)){e.competencyFrameworkLicenses=[];var t,n=Object(s.a)(this.competencyFrameworkLicenses);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.competencyFrameworkLicenses.push(i.toJSON())}}catch(u){n.e(u)}finally{n.f()}}if(Array.isArray(this.competencyFrameworkCategories)){e.competencyFrameworkCategories=[];var a,r=Object(s.a)(this.competencyFrameworkCategories);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.competencyFrameworkCategories.push(o.toJSON())}}catch(u){r.e(u)}finally{r.f()}}if(Array.isArray(this.competencyFrameworkSubCategories)){e.competencyFrameworkSubCategories=[];var l,c=Object(s.a)(this.competencyFrameworkSubCategories);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.competencyFrameworkSubCategories.push(d.toJSON())}}catch(u){c.e(u)}finally{c.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),ri=function(){function e(t){if(Object(l.a)(this,e),this.competencyFrameworkId=void 0,this.title=void 0,this.startDate=void 0,this.isActive=void 0,this.developmentPlanCount=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.competencyFrameworkId=e.competencyFrameworkId,this.title=e.title,this.startDate=e.startDate?new Date(e.startDate.toString()):void 0,this.isActive=e.isActive,this.developmentPlanCount=e.developmentPlanCount)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).competencyFrameworkId=this.competencyFrameworkId,e.title=this.title,e.startDate=this.startDate?this.startDate.toISOString():void 0,e.isActive=this.isActive,e.developmentPlanCount=this.developmentPlanCount,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),oi=function(){function e(t){if(Object(l.a)(this,e),this.licenseId=void 0,this.licenseName=void 0,this.startDate=void 0,this.startYear=void 0,this.isActive=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.licenseId=e.licenseId,this.licenseName=e.licenseName,this.startDate=e.startDate,this.startYear=e.startYear,this.isActive=e.isActive)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).licenseId=this.licenseId,e.licenseName=this.licenseName,e.startDate=this.startDate,e.startYear=this.startYear,e.isActive=this.isActive,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),si=function(){function e(t){if(Object(l.a)(this,e),this.licenseId=void 0,this.licenseName=void 0,this.competencyFramework=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&(this.licenseId=e.licenseId,this.licenseName=e.licenseName,Array.isArray(e.competencyFramework))){this.competencyFramework=[];var t,n=Object(s.a)(e.competencyFramework);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.competencyFramework.push(ri.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).licenseId=this.licenseId,e.licenseName=this.licenseName,Array.isArray(this.competencyFramework)){e.competencyFramework=[];var t,n=Object(s.a)(this.competencyFramework);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.competencyFramework.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),li=function(){function e(t){if(Object(l.a)(this,e),this.competencyFrameworks=void 0,this.recordCount=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.competencyFrameworks)){this.competencyFrameworks=[];var t,n=Object(s.a)(e.competencyFrameworks);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.competencyFrameworks.push(si.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}this.recordCount=e.recordCount}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.competencyFrameworks)){e.competencyFrameworks=[];var t,n=Object(s.a)(this.competencyFrameworks);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.competencyFrameworks.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e.recordCount=this.recordCount,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),ci=function(){function e(t){if(Object(l.a)(this,e),this.subCategoryId=void 0,this.competencyId=void 0,this.description=void 0,this.sequenceNumber=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.subCategoryId=e.subCategoryId,this.competencyId=e.competencyId,this.description=e.description,this.sequenceNumber=e.sequenceNumber)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).subCategoryId=this.subCategoryId,e.competencyId=this.competencyId,e.description=this.description,e.sequenceNumber=this.sequenceNumber,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),di=function(){function e(t){if(Object(l.a)(this,e),this.competencies=void 0,this.recordCount=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.competencies)){this.competencies=[];var t,n=Object(s.a)(e.competencies);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.competencies.push(ei.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}this.recordCount=e.recordCount}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.competencies)){e.competencies=[];var t,n=Object(s.a)(this.competencies);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.competencies.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e.recordCount=this.recordCount,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),ui=function(){function e(t){if(Object(l.a)(this,e),this.userId=void 0,this.userType=void 0,this.value=void 0,this.firstName=void 0,this.middleName=void 0,this.lastName=void 0,this.preferredName=void 0,this.location=void 0,this.status=void 0,this.email=void 0,this.userAvatarThumbnailURl=void 0,this.userLicenseCompliancePeriods=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&(this.userId=e.userId,this.userType=e.userType,this.value=e.value,this.firstName=e.firstName,this.middleName=e.middleName,this.lastName=e.lastName,this.preferredName=e.preferredName,this.location=e.location,this.status=e.status,this.email=e.email,this.userAvatarThumbnailURl=e.userAvatarThumbnailURl,Array.isArray(e.userLicenseCompliancePeriods))){this.userLicenseCompliancePeriods=[];var t,n=Object(s.a)(e.userLicenseCompliancePeriods);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.userLicenseCompliancePeriods.push(gf.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).userId=this.userId,e.userType=this.userType,e.value=this.value,e.firstName=this.firstName,e.middleName=this.middleName,e.lastName=this.lastName,e.preferredName=this.preferredName,e.location=this.location,e.status=this.status,e.email=this.email,e.userAvatarThumbnailURl=this.userAvatarThumbnailURl,Array.isArray(this.userLicenseCompliancePeriods)){e.userLicenseCompliancePeriods=[];var t,n=Object(s.a)(this.userLicenseCompliancePeriods);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.userLicenseCompliancePeriods.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),mi=function(){function e(t){if(Object(l.a)(this,e),this.complianceLicensees=void 0,this.recordCount=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.complianceLicensees)){this.complianceLicensees=[];var t,n=Object(s.a)(e.complianceLicensees);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.complianceLicensees.push(ui.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}this.recordCount=e.recordCount}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.complianceLicensees)){e.complianceLicensees=[];var t,n=Object(s.a)(this.complianceLicensees);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.complianceLicensees.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e.recordCount=this.recordCount,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),vi=function(){function e(t){if(Object(l.a)(this,e),this.complianceLicenseeSavedFilterId=void 0,this.name=void 0,this.isPublic=void 0,this.isReadOnly=void 0,this.isDefault=void 0,this.isSystem=void 0,this.filter=void 0,this.createdBy=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.complianceLicenseeSavedFilterId=e.complianceLicenseeSavedFilterId,this.name=e.name,this.isPublic=e.isPublic,this.isReadOnly=e.isReadOnly,this.isDefault=e.isDefault,this.isSystem=e.isSystem,this.filter=e.filter,this.createdBy=e.createdBy)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).complianceLicenseeSavedFilterId=this.complianceLicenseeSavedFilterId,e.name=this.name,e.isPublic=this.isPublic,e.isReadOnly=this.isReadOnly,e.isDefault=this.isDefault,e.isSystem=this.isSystem,e.filter=this.filter,e.createdBy=this.createdBy,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),fi=function(){function e(t){if(Object(l.a)(this,e),this.complianceLicenseeSavedFilters=void 0,this.recordCount=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.complianceLicenseeSavedFilters)){this.complianceLicenseeSavedFilters=[];var t,n=Object(s.a)(e.complianceLicenseeSavedFilters);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.complianceLicenseeSavedFilters.push(vi.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}this.recordCount=e.recordCount}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.complianceLicenseeSavedFilters)){e.complianceLicenseeSavedFilters=[];var t,n=Object(s.a)(this.complianceLicenseeSavedFilters);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.complianceLicenseeSavedFilters.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e.recordCount=this.recordCount,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),pi=function(){function e(t){if(Object(l.a)(this,e),this.userId=void 0,this.userType=void 0,this.firstName=void 0,this.middleName=void 0,this.lastName=void 0,this.email=void 0,this.userAvatar=void 0,this.location=void 0,this.userDepartment=void 0,this.userPracticeArea=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.userId=e.userId,this.userType=e.userType,this.firstName=e.firstName,this.middleName=e.middleName,this.lastName=e.lastName,this.email=e.email,this.userAvatar=e.userAvatar?QI.fromJS(e.userAvatar):void 0,this.location=e.location?Rf.fromJS(e.location):void 0,Array.isArray(e.userDepartment)){this.userDepartment=[];var t,n=Object(s.a)(e.userDepartment);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.userDepartment.push(sS.fromJS(i))}}catch(l){n.e(l)}finally{n.f()}}if(Array.isArray(e.userPracticeArea)){this.userPracticeArea=[];var a,r=Object(s.a)(e.userPracticeArea);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.userPracticeArea.push(GS.fromJS(o))}}catch(l){r.e(l)}finally{r.f()}}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).userId=this.userId,e.userType=this.userType,e.firstName=this.firstName,e.middleName=this.middleName,e.lastName=this.lastName,e.email=this.email,e.userAvatar=this.userAvatar?this.userAvatar.toJSON():void 0,e.location=this.location?this.location.toJSON():void 0,Array.isArray(this.userDepartment)){e.userDepartment=[];var t,n=Object(s.a)(this.userDepartment);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.userDepartment.push(i.toJSON())}}catch(l){n.e(l)}finally{n.f()}}if(Array.isArray(this.userPracticeArea)){e.userPracticeArea=[];var a,r=Object(s.a)(this.userPracticeArea);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.userPracticeArea.push(o.toJSON())}}catch(l){r.e(l)}finally{r.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),hi=function(){function e(t){if(Object(l.a)(this,e),this.users=void 0,this.recordCount=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.users)){this.users=[];var t,n=Object(s.a)(e.users);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.users.push(pi.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}this.recordCount=e.recordCount}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.users)){e.users=[];var t,n=Object(s.a)(this.users);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.users.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e.recordCount=this.recordCount,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),yi=function(){function e(t){if(Object(l.a)(this,e),this.description=void 0,this.statusId=void 0,this.statusDescription=void 0,this.carriedOver=void 0,this.earned=void 0,this.carryOver=void 0,this.grace=void 0,this.previousGrace=void 0,this.retroactiveCredit=void 0,this.retroactiveDebit=void 0,this.sequenceNumber=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.description=e.description,this.statusId=e.statusId,this.statusDescription=e.statusDescription,this.carriedOver=e.carriedOver,this.earned=e.earned,this.carryOver=e.carryOver,this.grace=e.grace,this.previousGrace=e.previousGrace,this.retroactiveCredit=e.retroactiveCredit,this.retroactiveDebit=e.retroactiveDebit,this.sequenceNumber=e.sequenceNumber)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).description=this.description,e.statusId=this.statusId,e.statusDescription=this.statusDescription,e.carriedOver=this.carriedOver,e.earned=this.earned,e.carryOver=this.carryOver,e.grace=this.grace,e.previousGrace=this.previousGrace,e.retroactiveCredit=this.retroactiveCredit,e.retroactiveDebit=this.retroactiveDebit,e.sequenceNumber=this.sequenceNumber,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),bi=function(){function e(t){if(Object(l.a)(this,e),this.note=void 0,this.sequenceNumber=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.note=e.note,this.sequenceNumber=e.sequenceNumber)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).note=this.note,e.sequenceNumber=this.sequenceNumber,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),gi=function(){function e(t){if(Object(l.a)(this,e),this.creditId=void 0,this.creditName=void 0,this.sequenceNumber=void 0,this.overlap=void 0,this.carriedOver=void 0,this.previousGrace=void 0,this.currentGrace=void 0,this.earned=void 0,this.grace=void 0,this.retroactiveCredit=void 0,this.retroactiveDebit=void 0,this.applied=void 0,this.carryOver=void 0,this.extra=void 0,this.unused=void 0,this.available=void 0,this.previousAvailable=void 0,this.unusedGrace=void 0,this.unusedRetroactiveCredit=void 0,this.total=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.creditId=e.creditId,this.creditName=e.creditName,this.sequenceNumber=e.sequenceNumber,this.overlap=e.overlap,this.carriedOver=e.carriedOver,this.previousGrace=e.previousGrace,this.currentGrace=e.currentGrace,this.earned=e.earned,this.grace=e.grace,this.retroactiveCredit=e.retroactiveCredit,this.retroactiveDebit=e.retroactiveDebit,this.applied=e.applied,this.carryOver=e.carryOver,this.extra=e.extra,this.unused=e.unused,this.available=e.available,this.previousAvailable=e.previousAvailable,this.unusedGrace=e.unusedGrace,this.unusedRetroactiveCredit=e.unusedRetroactiveCredit,this.total=e.total)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).creditId=this.creditId,e.creditName=this.creditName,e.sequenceNumber=this.sequenceNumber,e.overlap=this.overlap,e.carriedOver=this.carriedOver,e.previousGrace=this.previousGrace,e.currentGrace=this.currentGrace,e.earned=this.earned,e.grace=this.grace,e.retroactiveCredit=this.retroactiveCredit,e.retroactiveDebit=this.retroactiveDebit,e.applied=this.applied,e.carryOver=this.carryOver,e.extra=this.extra,e.unused=this.unused,e.available=this.available,e.previousAvailable=this.previousAvailable,e.unusedGrace=this.unusedGrace,e.unusedRetroactiveCredit=this.unusedRetroactiveCredit,e.total=this.total,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Ei=function(){function e(t){if(Object(l.a)(this,e),this.listId=void 0,this.sessionParticipantId=void 0,this.sessionId=void 0,this.sessionTitle=void 0,this.sessionTypeId=void 0,this.title=void 0,this.provider=void 0,this.courseFormat=void 0,this.dateTaken=void 0,this.startDate=void 0,this.endDate=void 0,this.shouldDisplayDateRange=void 0,this.isInstructed=void 0,this.isCreditAdjusted=void 0,this.isWithinGracePeriod=void 0,this.isWithinPrevGracePeriod=void 0,this.isNYNAApproved=void 0,this.isFromActivity=void 0,this.sessionLicenses=void 0,this.userLicenseCreditValues=void 0,this.userLicensePropertyValues=void 0,this.userRetroCreditValues=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.listId=e.listId,this.sessionParticipantId=e.sessionParticipantId,this.sessionId=e.sessionId,this.sessionTitle=e.sessionTitle,this.sessionTypeId=e.sessionTypeId,this.title=e.title,this.provider=e.provider,this.courseFormat=e.courseFormat,this.dateTaken=e.dateTaken?new Date(e.dateTaken.toString()):void 0,this.startDate=e.startDate?new Date(e.startDate.toString()):void 0,this.endDate=e.endDate?new Date(e.endDate.toString()):void 0,this.shouldDisplayDateRange=e.shouldDisplayDateRange,this.isInstructed=e.isInstructed,this.isCreditAdjusted=e.isCreditAdjusted,this.isWithinGracePeriod=e.isWithinGracePeriod,this.isWithinPrevGracePeriod=e.isWithinPrevGracePeriod,this.isNYNAApproved=e.isNYNAApproved,this.isFromActivity=e.isFromActivity,Array.isArray(e.sessionLicenses)){this.sessionLicenses=[];var t,n=Object(s.a)(e.sessionLicenses);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.sessionLicenses.push(Fb.fromJS(i))}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(e.userLicenseCreditValues)){this.userLicenseCreditValues=[];var a,r=Object(s.a)(e.userLicenseCreditValues);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.userLicenseCreditValues.push(xS.fromJS(o))}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(e.userLicensePropertyValues)){this.userLicensePropertyValues=[];var l,c=Object(s.a)(e.userLicensePropertyValues);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.userLicensePropertyValues.push(PS.fromJS(d))}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(e.userRetroCreditValues)){this.userRetroCreditValues=[];var u,m=Object(s.a)(e.userRetroCreditValues);try{for(m.s();!(u=m.n()).done;){var v=u.value;this.userRetroCreditValues.push(Oi.fromJS(v))}}catch(f){m.e(f)}finally{m.f()}}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).listId=this.listId,e.sessionParticipantId=this.sessionParticipantId,e.sessionId=this.sessionId,e.sessionTitle=this.sessionTitle,e.sessionTypeId=this.sessionTypeId,e.title=this.title,e.provider=this.provider,e.courseFormat=this.courseFormat,e.dateTaken=this.dateTaken?this.dateTaken.toISOString():void 0,e.startDate=this.startDate?this.startDate.toISOString():void 0,e.endDate=this.endDate?this.endDate.toISOString():void 0,e.shouldDisplayDateRange=this.shouldDisplayDateRange,e.isInstructed=this.isInstructed,e.isCreditAdjusted=this.isCreditAdjusted,e.isWithinGracePeriod=this.isWithinGracePeriod,e.isWithinPrevGracePeriod=this.isWithinPrevGracePeriod,e.isNYNAApproved=this.isNYNAApproved,e.isFromActivity=this.isFromActivity,Array.isArray(this.sessionLicenses)){e.sessionLicenses=[];var t,n=Object(s.a)(this.sessionLicenses);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.sessionLicenses.push(i.toJSON())}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(this.userLicenseCreditValues)){e.userLicenseCreditValues=[];var a,r=Object(s.a)(this.userLicenseCreditValues);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.userLicenseCreditValues.push(o.toJSON())}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(this.userLicensePropertyValues)){e.userLicensePropertyValues=[];var l,c=Object(s.a)(this.userLicensePropertyValues);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.userLicensePropertyValues.push(d.toJSON())}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(this.userRetroCreditValues)){e.userRetroCreditValues=[];var u,m=Object(s.a)(this.userRetroCreditValues);try{for(m.s();!(u=m.n()).done;){var v=u.value;e.userRetroCreditValues.push(v.toJSON())}}catch(f){m.e(f)}finally{m.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Ii=function(){function e(t){if(Object(l.a)(this,e),this.compliancePeriodCourses=void 0,this.barAdmissionDate=void 0,this.recordCount=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.compliancePeriodCourses)){this.compliancePeriodCourses=[];var t,n=Object(s.a)(e.compliancePeriodCourses);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.compliancePeriodCourses.push(Ei.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}this.barAdmissionDate=e.barAdmissionDate?new Date(e.barAdmissionDate.toString()):void 0,this.recordCount=e.recordCount}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.compliancePeriodCourses)){e.compliancePeriodCourses=[];var t,n=Object(s.a)(this.compliancePeriodCourses);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.compliancePeriodCourses.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e.barAdmissionDate=this.barAdmissionDate?this.barAdmissionDate.toISOString():void 0,e.recordCount=this.recordCount,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Si=function(){function e(t){if(Object(l.a)(this,e),this.propertyId=void 0,this.typeId=void 0,this.licensePropertyGroupId=void 0,this.propertyName=void 0,this.sequenceNumber=void 0,this.value=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.propertyId=e.propertyId,this.typeId=e.typeId,this.licensePropertyGroupId=e.licensePropertyGroupId,this.propertyName=e.propertyName,this.sequenceNumber=e.sequenceNumber,this.value=e.value)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).propertyId=this.propertyId,e.typeId=this.typeId,e.licensePropertyGroupId=this.licensePropertyGroupId,e.propertyName=this.propertyName,e.sequenceNumber=this.sequenceNumber,e.value=this.value,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Oi=function(){function e(t){if(Object(l.a)(this,e),this.sessionParticipantId=void 0,this.licenseId=void 0,this.creditId=void 0,this.creditName=void 0,this.applyTo=void 0,this.applyToPeriodNumber=void 0,this.value=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.sessionParticipantId=e.sessionParticipantId,this.licenseId=e.licenseId,this.creditId=e.creditId,this.creditName=e.creditName,this.applyTo=e.applyTo?new Date(e.applyTo.toString()):void 0,this.applyToPeriodNumber=e.applyToPeriodNumber,this.value=e.value)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).sessionParticipantId=this.sessionParticipantId,e.licenseId=this.licenseId,e.creditId=this.creditId,e.creditName=this.creditName,e.applyTo=this.applyTo?this.applyTo.toISOString():void 0,e.applyToPeriodNumber=this.applyToPeriodNumber,e.value=this.value,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Ci=function(){function e(t){if(Object(l.a)(this,e),this.sessionParticipantId=void 0,this.sessionId=void 0,this.activityId=void 0,this.title=void 0,this.sessionTitle=void 0,this.sessionTypeId=void 0,this.provider=void 0,this.courseFormat=void 0,this.courseFormatPortalCategory=void 0,this.dateTaken=void 0,this.startDate=void 0,this.endDate=void 0,this.shouldDisplayDateRange=void 0,this.isInstructed=void 0,this.compliancePeriodCourseCredits=void 0,this.compliancePeriodCourseProperties=void 0,this.courseCreditTotal=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.sessionParticipantId=e.sessionParticipantId,this.sessionId=e.sessionId,this.activityId=e.activityId,this.title=e.title,this.sessionTitle=e.sessionTitle,this.sessionTypeId=e.sessionTypeId,this.provider=e.provider,this.courseFormat=e.courseFormat,this.courseFormatPortalCategory=e.courseFormatPortalCategory,this.dateTaken=e.dateTaken?new Date(e.dateTaken.toString()):void 0,this.startDate=e.startDate?new Date(e.startDate.toString()):void 0,this.endDate=e.endDate?new Date(e.endDate.toString()):void 0,this.shouldDisplayDateRange=e.shouldDisplayDateRange,this.isInstructed=e.isInstructed,Array.isArray(e.compliancePeriodCourseCredits)){this.compliancePeriodCourseCredits=[];var t,n=Object(s.a)(e.compliancePeriodCourseCredits);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.compliancePeriodCourseCredits.push(gi.fromJS(i))}}catch(l){n.e(l)}finally{n.f()}}if(Array.isArray(e.compliancePeriodCourseProperties)){this.compliancePeriodCourseProperties=[];var a,r=Object(s.a)(e.compliancePeriodCourseProperties);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.compliancePeriodCourseProperties.push(Si.fromJS(o))}}catch(l){r.e(l)}finally{r.f()}}this.courseCreditTotal=e.courseCreditTotal?gi.fromJS(e.courseCreditTotal):void 0}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).sessionParticipantId=this.sessionParticipantId,e.sessionId=this.sessionId,e.activityId=this.activityId,e.title=this.title,e.sessionTitle=this.sessionTitle,e.sessionTypeId=this.sessionTypeId,e.provider=this.provider,e.courseFormat=this.courseFormat,e.courseFormatPortalCategory=this.courseFormatPortalCategory,e.dateTaken=this.dateTaken?this.dateTaken.toISOString():void 0,e.startDate=this.startDate?this.startDate.toISOString():void 0,e.endDate=this.endDate?this.endDate.toISOString():void 0,e.shouldDisplayDateRange=this.shouldDisplayDateRange,e.isInstructed=this.isInstructed,Array.isArray(this.compliancePeriodCourseCredits)){e.compliancePeriodCourseCredits=[];var t,n=Object(s.a)(this.compliancePeriodCourseCredits);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.compliancePeriodCourseCredits.push(i.toJSON())}}catch(l){n.e(l)}finally{n.f()}}if(Array.isArray(this.compliancePeriodCourseProperties)){e.compliancePeriodCourseProperties=[];var a,r=Object(s.a)(this.compliancePeriodCourseProperties);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.compliancePeriodCourseProperties.push(o.toJSON())}}catch(l){r.e(l)}finally{r.f()}}return e.courseCreditTotal=this.courseCreditTotal?this.courseCreditTotal.toJSON():void 0,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),ji=function(){function e(t){if(Object(l.a)(this,e),this.compliancePeriodCourses=void 0,this.hasCarryOver=void 0,this.hasRetro=void 0,this.hasGrace=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.compliancePeriodCourses)){this.compliancePeriodCourses=[];var t,n=Object(s.a)(e.compliancePeriodCourses);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.compliancePeriodCourses.push(Ci.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}this.hasCarryOver=e.hasCarryOver,this.hasRetro=e.hasRetro,this.hasGrace=e.hasGrace}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.compliancePeriodCourses)){e.compliancePeriodCourses=[];var t,n=Object(s.a)(this.compliancePeriodCourses);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.compliancePeriodCourses.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e.hasCarryOver=this.hasCarryOver,e.hasRetro=this.hasRetro,e.hasGrace=this.hasGrace,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),xi=function(){function e(t){if(Object(l.a)(this,e),this.userLicenseComplianceId=void 0,this.userId=void 0,this.licenseId=void 0,this.periodFrom=void 0,this.periodFromCourse=void 0,this.periodTo=void 0,this.periodToDisplay=void 0,this.periodLabel=void 0,this.periodNumber=void 0,this.periodTypeId=void 0,this.complianceStatusId=void 0,this.isSubLicensePeriod=void 0,this.isPriorPeriodDeficient=void 0,this.compliancePeriodTotals=void 0,this.compliancePeriodAdditionalRequirements=void 0,this.compliancePeriodChartNotes=void 0,this.compliancePeriodRestrictions=void 0,this.compliancePeriodSubjectAreas=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.userLicenseComplianceId=e.userLicenseComplianceId,this.userId=e.userId,this.licenseId=e.licenseId,this.periodFrom=e.periodFrom?new Date(e.periodFrom.toString()):void 0,this.periodFromCourse=e.periodFromCourse?new Date(e.periodFromCourse.toString()):void 0,this.periodTo=e.periodTo?new Date(e.periodTo.toString()):void 0,this.periodToDisplay=e.periodToDisplay?new Date(e.periodToDisplay.toString()):void 0,this.periodLabel=e.periodLabel,this.periodNumber=e.periodNumber,this.periodTypeId=e.periodTypeId,this.complianceStatusId=e.complianceStatusId,this.isSubLicensePeriod=e.isSubLicensePeriod,this.isPriorPeriodDeficient=e.isPriorPeriodDeficient,Array.isArray(e.compliancePeriodTotals)){this.compliancePeriodTotals=[];var t,n=Object(s.a)(e.compliancePeriodTotals);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.compliancePeriodTotals.push(Ni.fromJS(i))}}catch(y){n.e(y)}finally{n.f()}}if(Array.isArray(e.compliancePeriodAdditionalRequirements)){this.compliancePeriodAdditionalRequirements=[];var a,r=Object(s.a)(e.compliancePeriodAdditionalRequirements);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.compliancePeriodAdditionalRequirements.push(yi.fromJS(o))}}catch(y){r.e(y)}finally{r.f()}}if(Array.isArray(e.compliancePeriodChartNotes)){this.compliancePeriodChartNotes=[];var l,c=Object(s.a)(e.compliancePeriodChartNotes);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.compliancePeriodChartNotes.push(bi.fromJS(d))}}catch(y){c.e(y)}finally{c.f()}}if(Array.isArray(e.compliancePeriodRestrictions)){this.compliancePeriodRestrictions=[];var u,m=Object(s.a)(e.compliancePeriodRestrictions);try{for(m.s();!(u=m.n()).done;){var v=u.value;this.compliancePeriodRestrictions.push(ki.fromJS(v))}}catch(y){m.e(y)}finally{m.f()}}if(Array.isArray(e.compliancePeriodSubjectAreas)){this.compliancePeriodSubjectAreas=[];var f,p=Object(s.a)(e.compliancePeriodSubjectAreas);try{for(p.s();!(f=p.n()).done;){var h=f.value;this.compliancePeriodSubjectAreas.push(Pi.fromJS(h))}}catch(y){p.e(y)}finally{p.f()}}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).userLicenseComplianceId=this.userLicenseComplianceId,e.userId=this.userId,e.licenseId=this.licenseId,e.periodFrom=this.periodFrom?this.periodFrom.toISOString():void 0,e.periodFromCourse=this.periodFromCourse?this.periodFromCourse.toISOString():void 0,e.periodTo=this.periodTo?this.periodTo.toISOString():void 0,e.periodToDisplay=this.periodToDisplay?this.periodToDisplay.toISOString():void 0,e.periodLabel=this.periodLabel,e.periodNumber=this.periodNumber,e.periodTypeId=this.periodTypeId,e.complianceStatusId=this.complianceStatusId,e.isSubLicensePeriod=this.isSubLicensePeriod,e.isPriorPeriodDeficient=this.isPriorPeriodDeficient,Array.isArray(this.compliancePeriodTotals)){e.compliancePeriodTotals=[];var t,n=Object(s.a)(this.compliancePeriodTotals);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.compliancePeriodTotals.push(i.toJSON())}}catch(y){n.e(y)}finally{n.f()}}if(Array.isArray(this.compliancePeriodAdditionalRequirements)){e.compliancePeriodAdditionalRequirements=[];var a,r=Object(s.a)(this.compliancePeriodAdditionalRequirements);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.compliancePeriodAdditionalRequirements.push(o.toJSON())}}catch(y){r.e(y)}finally{r.f()}}if(Array.isArray(this.compliancePeriodChartNotes)){e.compliancePeriodChartNotes=[];var l,c=Object(s.a)(this.compliancePeriodChartNotes);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.compliancePeriodChartNotes.push(d.toJSON())}}catch(y){c.e(y)}finally{c.f()}}if(Array.isArray(this.compliancePeriodRestrictions)){e.compliancePeriodRestrictions=[];var u,m=Object(s.a)(this.compliancePeriodRestrictions);try{for(m.s();!(u=m.n()).done;){var v=u.value;e.compliancePeriodRestrictions.push(v.toJSON())}}catch(y){m.e(y)}finally{m.f()}}if(Array.isArray(this.compliancePeriodSubjectAreas)){e.compliancePeriodSubjectAreas=[];var f,p=Object(s.a)(this.compliancePeriodSubjectAreas);try{for(p.s();!(f=p.n()).done;){var h=f.value;e.compliancePeriodSubjectAreas.push(h.toJSON())}}catch(y){p.e(y)}finally{p.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Ai=function(){function e(t){if(Object(l.a)(this,e),this.userLicenseComplianceId=void 0,this.periodFrom=void 0,this.periodTo=void 0,this.periodToDisplay=void 0,this.periodNumber=void 0,this.complianceStatusId=void 0,this.periodLabel=void 0,this.isGracePeriodGranted=void 0,this.periodRemainingRequirements=void 0,this.appliedRetroCourseCredits=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.userLicenseComplianceId=e.userLicenseComplianceId,this.periodFrom=e.periodFrom?new Date(e.periodFrom.toString()):void 0,this.periodTo=e.periodTo?new Date(e.periodTo.toString()):void 0,this.periodToDisplay=e.periodToDisplay?new Date(e.periodToDisplay.toString()):void 0,this.periodNumber=e.periodNumber,this.complianceStatusId=e.complianceStatusId,this.periodLabel=e.periodLabel,this.isGracePeriodGranted=e.isGracePeriodGranted,Array.isArray(e.periodRemainingRequirements)){this.periodRemainingRequirements=[];var t,n=Object(s.a)(e.periodRemainingRequirements);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.periodRemainingRequirements.push(bp.fromJS(i))}}catch(l){n.e(l)}finally{n.f()}}if(Array.isArray(e.appliedRetroCourseCredits)){this.appliedRetroCourseCredits=[];var a,r=Object(s.a)(e.appliedRetroCourseCredits);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.appliedRetroCourseCredits.push(gp.fromJS(o))}}catch(l){r.e(l)}finally{r.f()}}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).userLicenseComplianceId=this.userLicenseComplianceId,e.periodFrom=this.periodFrom?this.periodFrom.toISOString():void 0,e.periodTo=this.periodTo?this.periodTo.toISOString():void 0,e.periodToDisplay=this.periodToDisplay?this.periodToDisplay.toISOString():void 0,e.periodNumber=this.periodNumber,e.complianceStatusId=this.complianceStatusId,e.periodLabel=this.periodLabel,e.isGracePeriodGranted=this.isGracePeriodGranted,Array.isArray(this.periodRemainingRequirements)){e.periodRemainingRequirements=[];var t,n=Object(s.a)(this.periodRemainingRequirements);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.periodRemainingRequirements.push(i.toJSON())}}catch(l){n.e(l)}finally{n.f()}}if(Array.isArray(this.appliedRetroCourseCredits)){e.appliedRetroCourseCredits=[];var a,r=Object(s.a)(this.appliedRetroCourseCredits);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.appliedRetroCourseCredits.push(o.toJSON())}}catch(l){r.e(l)}finally{r.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Ti=function(){function e(t){if(Object(l.a)(this,e),this.periodFrom=void 0,this.periodTo=void 0,this.periodNumber=void 0,this.complianceStatusId=void 0,this.periodLabel=void 0,this.licenseExemptions=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&(this.periodFrom=e.periodFrom?new Date(e.periodFrom.toString()):void 0,this.periodTo=e.periodTo?new Date(e.periodTo.toString()):void 0,this.periodNumber=e.periodNumber,this.complianceStatusId=e.complianceStatusId,this.periodLabel=e.periodLabel,Array.isArray(e.licenseExemptions))){this.licenseExemptions=[];var t,n=Object(s.a)(e.licenseExemptions);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.licenseExemptions.push(Of.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).periodFrom=this.periodFrom?this.periodFrom.toISOString():void 0,e.periodTo=this.periodTo?this.periodTo.toISOString():void 0,e.periodNumber=this.periodNumber,e.complianceStatusId=this.complianceStatusId,e.periodLabel=this.periodLabel,Array.isArray(this.licenseExemptions)){e.licenseExemptions=[];var t,n=Object(s.a)(this.licenseExemptions);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.licenseExemptions.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),wi=function(){function e(t){if(Object(l.a)(this,e),this.sessionParticipantId=void 0,this.sessionId=void 0,this.title=void 0,this.sessionTitle=void 0,this.provider=void 0,this.courseFormat=void 0,this.location=void 0,this.dateTaken=void 0,this.isInstructed=void 0,this.isCreditAdjusted=void 0,this.isWithinGracePeriod=void 0,this.isWithinPrevGracePeriod=void 0,this.periodNumber=void 0,this.sessionLicenses=void 0,this.userLicenseCreditValues=void 0,this.userLicensePropertyValues=void 0,this.userRetroCreditValues=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.sessionParticipantId=e.sessionParticipantId,this.sessionId=e.sessionId,this.title=e.title,this.sessionTitle=e.sessionTitle,this.provider=e.provider,this.courseFormat=e.courseFormat,this.location=e.location,this.dateTaken=e.dateTaken?new Date(e.dateTaken.toString()):void 0,this.isInstructed=e.isInstructed,this.isCreditAdjusted=e.isCreditAdjusted,this.isWithinGracePeriod=e.isWithinGracePeriod,this.isWithinPrevGracePeriod=e.isWithinPrevGracePeriod,this.periodNumber=e.periodNumber,Array.isArray(e.sessionLicenses)){this.sessionLicenses=[];var t,n=Object(s.a)(e.sessionLicenses);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.sessionLicenses.push(Fb.fromJS(i))}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(e.userLicenseCreditValues)){this.userLicenseCreditValues=[];var a,r=Object(s.a)(e.userLicenseCreditValues);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.userLicenseCreditValues.push(xS.fromJS(o))}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(e.userLicensePropertyValues)){this.userLicensePropertyValues=[];var l,c=Object(s.a)(e.userLicensePropertyValues);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.userLicensePropertyValues.push(PS.fromJS(d))}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(e.userRetroCreditValues)){this.userRetroCreditValues=[];var u,m=Object(s.a)(e.userRetroCreditValues);try{for(m.s();!(u=m.n()).done;){var v=u.value;this.userRetroCreditValues.push(Oi.fromJS(v))}}catch(f){m.e(f)}finally{m.f()}}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).sessionParticipantId=this.sessionParticipantId,e.sessionId=this.sessionId,e.title=this.title,e.sessionTitle=this.sessionTitle,e.provider=this.provider,e.courseFormat=this.courseFormat,e.location=this.location,e.dateTaken=this.dateTaken?this.dateTaken.toISOString():void 0,e.isInstructed=this.isInstructed,e.isCreditAdjusted=this.isCreditAdjusted,e.isWithinGracePeriod=this.isWithinGracePeriod,e.isWithinPrevGracePeriod=this.isWithinPrevGracePeriod,e.periodNumber=this.periodNumber,Array.isArray(this.sessionLicenses)){e.sessionLicenses=[];var t,n=Object(s.a)(this.sessionLicenses);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.sessionLicenses.push(i.toJSON())}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(this.userLicenseCreditValues)){e.userLicenseCreditValues=[];var a,r=Object(s.a)(this.userLicenseCreditValues);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.userLicenseCreditValues.push(o.toJSON())}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(this.userLicensePropertyValues)){e.userLicensePropertyValues=[];var l,c=Object(s.a)(this.userLicensePropertyValues);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.userLicensePropertyValues.push(d.toJSON())}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(this.userRetroCreditValues)){e.userRetroCreditValues=[];var u,m=Object(s.a)(this.userRetroCreditValues);try{for(m.s();!(u=m.n()).done;){var v=u.value;e.userRetroCreditValues.push(v.toJSON())}}catch(f){m.e(f)}finally{m.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),ki=function(){function e(t){if(Object(l.a)(this,e),this.description=void 0,this.earned=void 0,this.sequenceNumber=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.description=e.description,this.earned=e.earned,this.sequenceNumber=e.sequenceNumber)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).description=this.description,e.earned=this.earned,e.sequenceNumber=this.sequenceNumber,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Pi=function(){function e(t){if(Object(l.a)(this,e),this.subjectAreaCreditId=void 0,this.subjectAreaName=void 0,this.earned=void 0,this.licenseId=void 0,this.creditId=void 0,this.creditName=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.subjectAreaCreditId=e.subjectAreaCreditId,this.subjectAreaName=e.subjectAreaName,this.earned=e.earned,this.licenseId=e.licenseId,this.creditId=e.creditId,this.creditName=e.creditName)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).subjectAreaCreditId=this.subjectAreaCreditId,e.subjectAreaName=this.subjectAreaName,e.earned=this.earned,e.licenseId=this.licenseId,e.creditId=this.creditId,e.creditName=this.creditName,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Ni=function(){function e(t){if(Object(l.a)(this,e),this.creditId=void 0,this.creditName=void 0,this.parentCreditId=void 0,this.level=void 0,this.groupLabel=void 0,this.sequenceNumber=void 0,this.required=void 0,this.overlap=void 0,this.carriedOver=void 0,this.previousGrace=void 0,this.currentGrace=void 0,this.earned=void 0,this.grace=void 0,this.retroactiveCredit=void 0,this.retroactiveDebit=void 0,this.applied=void 0,this.carryOver=void 0,this.extra=void 0,this.unused=void 0,this.available=void 0,this.previousAvailable=void 0,this.unusedGrace=void 0,this.unusedRetroactiveCredit=void 0,this.creditsNeeded=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.creditId=e.creditId,this.creditName=e.creditName,this.parentCreditId=e.parentCreditId,this.level=e.level,this.groupLabel=e.groupLabel,this.sequenceNumber=e.sequenceNumber,this.required=e.required,this.overlap=e.overlap,this.carriedOver=e.carriedOver,this.previousGrace=e.previousGrace,this.currentGrace=e.currentGrace,this.earned=e.earned,this.grace=e.grace,this.retroactiveCredit=e.retroactiveCredit,this.retroactiveDebit=e.retroactiveDebit,this.applied=e.applied,this.carryOver=e.carryOver,this.extra=e.extra,this.unused=e.unused,this.available=e.available,this.previousAvailable=e.previousAvailable,this.unusedGrace=e.unusedGrace,this.unusedRetroactiveCredit=e.unusedRetroactiveCredit,this.creditsNeeded=e.creditsNeeded)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).creditId=this.creditId,e.creditName=this.creditName,e.parentCreditId=this.parentCreditId,e.level=this.level,e.groupLabel=this.groupLabel,e.sequenceNumber=this.sequenceNumber,e.required=this.required,e.overlap=this.overlap,e.carriedOver=this.carriedOver,e.previousGrace=this.previousGrace,e.currentGrace=this.currentGrace,e.earned=this.earned,e.grace=this.grace,e.retroactiveCredit=this.retroactiveCredit,e.retroactiveDebit=this.retroactiveDebit,e.applied=this.applied,e.carryOver=this.carryOver,e.extra=this.extra,e.unused=this.unused,e.available=this.available,e.previousAvailable=this.previousAvailable,e.unusedGrace=this.unusedGrace,e.unusedRetroactiveCredit=this.unusedRetroactiveCredit,e.creditsNeeded=this.creditsNeeded,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Di=function(){function e(t){if(Object(l.a)(this,e),this.portalUserLicenseCompliance=void 0,this.subLicensePeriods=void 0,this.mainLicensePeriods=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.portalUserLicenseCompliance=e.portalUserLicenseCompliance?Gp.fromJS(e.portalUserLicenseCompliance):void 0,Array.isArray(e.subLicensePeriods)){this.subLicensePeriods=[];var t,n=Object(s.a)(e.subLicensePeriods);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.subLicensePeriods.push(wp.fromJS(i))}}catch(l){n.e(l)}finally{n.f()}}if(Array.isArray(e.mainLicensePeriods)){this.mainLicensePeriods=[];var a,r=Object(s.a)(e.mainLicensePeriods);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.mainLicensePeriods.push(wp.fromJS(o))}}catch(l){r.e(l)}finally{r.f()}}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).portalUserLicenseCompliance=this.portalUserLicenseCompliance?this.portalUserLicenseCompliance.toJSON():void 0,Array.isArray(this.subLicensePeriods)){e.subLicensePeriods=[];var t,n=Object(s.a)(this.subLicensePeriods);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.subLicensePeriods.push(i.toJSON())}}catch(l){n.e(l)}finally{n.f()}}if(Array.isArray(this.mainLicensePeriods)){e.mainLicensePeriods=[];var a,r=Object(s.a)(this.mainLicensePeriods);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.mainLicensePeriods.push(o.toJSON())}}catch(l){r.e(l)}finally{r.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Li=function(){function e(t){if(Object(l.a)(this,e),this.licenseId=void 0,this.licenseName=void 0,this.isSubLicense=void 0,this.industryId=void 0,this.reportingPeriodEnds=void 0,this.inComplianceCount=void 0,this.gracePeriodCount=void 0,this.inProgressCount=void 0,this.notInComplianceCount=void 0,this.priorPeriodDeficiencyCount=void 0,this.inactiveCount=void 0,this.notTrackedCount=void 0,this.nonMandatoryCount=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.licenseId=e.licenseId,this.licenseName=e.licenseName,this.isSubLicense=e.isSubLicense,this.industryId=e.industryId,this.reportingPeriodEnds=e.reportingPeriodEnds,this.inComplianceCount=e.inComplianceCount,this.gracePeriodCount=e.gracePeriodCount,this.inProgressCount=e.inProgressCount,this.notInComplianceCount=e.notInComplianceCount,this.priorPeriodDeficiencyCount=e.priorPeriodDeficiencyCount,this.inactiveCount=e.inactiveCount,this.notTrackedCount=e.notTrackedCount,this.nonMandatoryCount=e.nonMandatoryCount)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).licenseId=this.licenseId,e.licenseName=this.licenseName,e.isSubLicense=this.isSubLicense,e.industryId=this.industryId,e.reportingPeriodEnds=this.reportingPeriodEnds,e.inComplianceCount=this.inComplianceCount,e.gracePeriodCount=this.gracePeriodCount,e.inProgressCount=this.inProgressCount,e.notInComplianceCount=this.notInComplianceCount,e.priorPeriodDeficiencyCount=this.priorPeriodDeficiencyCount,e.inactiveCount=this.inactiveCount,e.notTrackedCount=this.notTrackedCount,e.nonMandatoryCount=this.nonMandatoryCount,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Fi=function(){function e(t){if(Object(l.a)(this,e),this.complianceStatistics=void 0,this.recordCount=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.complianceStatistics)){this.complianceStatistics=[];var t,n=Object(s.a)(e.complianceStatistics);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.complianceStatistics.push(Li.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}this.recordCount=e.recordCount}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.complianceStatistics)){e.complianceStatistics=[];var t,n=Object(s.a)(this.complianceStatistics);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.complianceStatistics.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e.recordCount=this.recordCount,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}();!function(e){e[e.NotInCompliance=0]="NotInCompliance",e[e.InCompliance=1]="InCompliance",e[e.InProgress=2]="InProgress",e[e.Extension=3]="Extension",e[e.NonMandatory=4]="NonMandatory",e[e.NotTracked=5]="NotTracked",e[e.Pending=6]="Pending",e[e.Inactive=7]="Inactive"}(Wn||(Wn={}));var Bi,Ri=function(){function e(t){if(Object(l.a)(this,e),this.questionId=void 0,this.instructorId=void 0,this.choices=void 0,this.comments=void 0,this.texts=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.questionId=e.questionId,this.instructorId=e.instructorId,Array.isArray(e.choices)){this.choices=[];var t,n=Object(s.a)(e.choices);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.choices.push(i)}}catch(u){n.e(u)}finally{n.f()}}if(Array.isArray(e.comments)){this.comments=[];var a,r=Object(s.a)(e.comments);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.comments.push(o)}}catch(u){r.e(u)}finally{r.f()}}if(Array.isArray(e.texts)){this.texts=[];var l,c=Object(s.a)(e.texts);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.texts.push(d)}}catch(u){c.e(u)}finally{c.f()}}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).questionId=this.questionId,e.instructorId=this.instructorId,Array.isArray(this.choices)){e.choices=[];var t,n=Object(s.a)(this.choices);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.choices.push(i)}}catch(u){n.e(u)}finally{n.f()}}if(Array.isArray(this.comments)){e.comments=[];var a,r=Object(s.a)(this.comments);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.comments.push(o)}}catch(u){r.e(u)}finally{r.f()}}if(Array.isArray(this.texts)){e.texts=[];var l,c=Object(s.a)(this.texts);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.texts.push(d)}}catch(u){c.e(u)}finally{c.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Ji=function(){function e(t){if(Object(l.a)(this,e),this.questionId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.questionId=e.questionId)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).questionId=this.questionId,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Gi=function(){function e(t){if(Object(l.a)(this,e),this.evaluationId=void 0,this.sectionId=void 0,this.includeQuestions=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.evaluationId=e.evaluationId,this.sectionId=e.sectionId,this.includeQuestions=e.includeQuestions)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).evaluationId=this.evaluationId,e.sectionId=this.sectionId,e.includeQuestions=this.includeQuestions,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Ui=function(){function e(t){if(Object(l.a)(this,e),this.countryId=void 0,this.name=void 0,this.abbreviation=void 0,this.dateFormat=void 0,this.isActive=void 0,this.code=void 0,this.countryTimezone=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&(this.countryId=e.countryId,this.name=e.name,this.abbreviation=e.abbreviation,this.dateFormat=e.dateFormat,this.isActive=e.isActive,this.code=e.code,Array.isArray(e.countryTimezone))){this.countryTimezone=[];var t,n=Object(s.a)(e.countryTimezone);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.countryTimezone.push(qi.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).countryId=this.countryId,e.name=this.name,e.abbreviation=this.abbreviation,e.dateFormat=this.dateFormat,e.isActive=this.isActive,e.code=this.code,Array.isArray(this.countryTimezone)){e.countryTimezone=[];var t,n=Object(s.a)(this.countryTimezone);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.countryTimezone.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),zi=function(){function e(t){if(Object(l.a)(this,e),this.countries=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&Array.isArray(e.countries)){this.countries=[];var t,n=Object(s.a)(e.countries);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.countries.push(Ui.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.countries)){e.countries=[];var t,n=Object(s.a)(this.countries);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.countries.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),qi=function(){function e(t){if(Object(l.a)(this,e),this.timezoneId=void 0,this.name=void 0,this.abbreviation=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.timezoneId=e.timezoneId,this.name=e.name,this.abbreviation=e.abbreviation)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).timezoneId=this.timezoneId,e.name=this.name,e.abbreviation=this.abbreviation,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Mi=function(){function e(t){if(Object(l.a)(this,e),this.countyId=void 0,this.name=void 0,this.countryId=void 0,this.stateId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.countyId=e.countyId,this.name=e.name,this.countryId=e.countryId,this.stateId=e.stateId)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).countyId=this.countyId,e.name=this.name,e.countryId=this.countryId,e.stateId=this.stateId,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Wi=function(){function e(t){if(Object(l.a)(this,e),this.counties=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&Array.isArray(e.counties)){this.counties=[];var t,n=Object(s.a)(e.counties);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.counties.push(Mi.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.counties)){e.counties=[];var t,n=Object(s.a)(this.counties);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.counties.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Vi=function(){function e(t){if(Object(l.a)(this,e),this.courseId=void 0,this.courseIdLabel=void 0,this.title=void 0,this.provider=void 0,this.description=void 0,this.userFavorite=void 0,this.courseClassYears=void 0,this.courseCompetencies=void 0,this.courseDepartments=void 0,this.courseLevels=void 0,this.coursePracticeAreas=void 0,this.courseTags=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.courseId=e.courseId,this.courseIdLabel=e.courseIdLabel,this.title=e.title,this.provider=e.provider,this.description=e.description,this.userFavorite=e.userFavorite,Array.isArray(e.courseClassYears)){this.courseClassYears=[];var t,n=Object(s.a)(e.courseClassYears);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.courseClassYears.push(Xi.fromJS(i))}}catch(E){n.e(E)}finally{n.f()}}if(Array.isArray(e.courseCompetencies)){this.courseCompetencies=[];var a,r=Object(s.a)(e.courseCompetencies);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.courseCompetencies.push(ta.fromJS(o))}}catch(E){r.e(E)}finally{r.f()}}if(Array.isArray(e.courseDepartments)){this.courseDepartments=[];var l,c=Object(s.a)(e.courseDepartments);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.courseDepartments.push(na.fromJS(d))}}catch(E){c.e(E)}finally{c.f()}}if(Array.isArray(e.courseLevels)){this.courseLevels=[];var u,m=Object(s.a)(e.courseLevels);try{for(m.s();!(u=m.n()).done;){var v=u.value;this.courseLevels.push(sa.fromJS(v))}}catch(E){m.e(E)}finally{m.f()}}if(Array.isArray(e.coursePracticeAreas)){this.coursePracticeAreas=[];var f,p=Object(s.a)(e.coursePracticeAreas);try{for(p.s();!(f=p.n()).done;){var h=f.value;this.coursePracticeAreas.push(ca.fromJS(h))}}catch(E){p.e(E)}finally{p.f()}}if(Array.isArray(e.courseTags)){this.courseTags=[];var y,b=Object(s.a)(e.courseTags);try{for(b.s();!(y=b.n()).done;){var g=y.value;this.courseTags.push(ba.fromJS(g))}}catch(E){b.e(E)}finally{b.f()}}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).courseId=this.courseId,e.courseIdLabel=this.courseIdLabel,e.title=this.title,e.provider=this.provider,e.description=this.description,e.userFavorite=this.userFavorite,Array.isArray(this.courseClassYears)){e.courseClassYears=[];var t,n=Object(s.a)(this.courseClassYears);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.courseClassYears.push(i.toJSON())}}catch(E){n.e(E)}finally{n.f()}}if(Array.isArray(this.courseCompetencies)){e.courseCompetencies=[];var a,r=Object(s.a)(this.courseCompetencies);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.courseCompetencies.push(o.toJSON())}}catch(E){r.e(E)}finally{r.f()}}if(Array.isArray(this.courseDepartments)){e.courseDepartments=[];var l,c=Object(s.a)(this.courseDepartments);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.courseDepartments.push(d.toJSON())}}catch(E){c.e(E)}finally{c.f()}}if(Array.isArray(this.courseLevels)){e.courseLevels=[];var u,m=Object(s.a)(this.courseLevels);try{for(m.s();!(u=m.n()).done;){var v=u.value;e.courseLevels.push(v.toJSON())}}catch(E){m.e(E)}finally{m.f()}}if(Array.isArray(this.coursePracticeAreas)){e.coursePracticeAreas=[];var f,p=Object(s.a)(this.coursePracticeAreas);try{for(p.s();!(f=p.n()).done;){var h=f.value;e.coursePracticeAreas.push(h.toJSON())}}catch(E){p.e(E)}finally{p.f()}}if(Array.isArray(this.courseTags)){e.courseTags=[];var y,b=Object(s.a)(this.courseTags);try{for(b.s();!(y=b.n()).done;){var g=y.value;e.courseTags.push(g.toJSON())}}catch(E){b.e(E)}finally{b.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),_i=function(){function e(t){if(Object(l.a)(this,e),this.courseId=void 0,this.courseIdLabel=void 0,this.title=void 0,this.provider=void 0,this.description=void 0,this.courseFormatCategories=void 0,this.userFavorite=void 0,this.userCollection=void 0,this.courseTags=void 0,this.label=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.courseId=e.courseId,this.courseIdLabel=e.courseIdLabel,this.title=e.title,this.provider=e.provider,this.description=e.description,Array.isArray(e.courseFormatCategories)){this.courseFormatCategories=[];var t,n=Object(s.a)(e.courseFormatCategories);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.courseFormatCategories.push(i)}}catch(u){n.e(u)}finally{n.f()}}if(this.userFavorite=e.userFavorite,Array.isArray(e.userCollection)){this.userCollection=[];var a,r=Object(s.a)(e.userCollection);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.userCollection.push(nS.fromJS(o))}}catch(u){r.e(u)}finally{r.f()}}if(Array.isArray(e.courseTags)){this.courseTags=[];var l,c=Object(s.a)(e.courseTags);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.courseTags.push(ba.fromJS(d))}}catch(u){c.e(u)}finally{c.f()}}this.label=e.label}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).courseId=this.courseId,e.courseIdLabel=this.courseIdLabel,e.title=this.title,e.provider=this.provider,e.description=this.description,Array.isArray(this.courseFormatCategories)){e.courseFormatCategories=[];var t,n=Object(s.a)(this.courseFormatCategories);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.courseFormatCategories.push(i)}}catch(u){n.e(u)}finally{n.f()}}if(e.userFavorite=this.userFavorite,Array.isArray(this.userCollection)){e.userCollection=[];var a,r=Object(s.a)(this.userCollection);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.userCollection.push(o.toJSON())}}catch(u){r.e(u)}finally{r.f()}}if(Array.isArray(this.courseTags)){e.courseTags=[];var l,c=Object(s.a)(this.courseTags);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.courseTags.push(d.toJSON())}}catch(u){c.e(u)}finally{c.f()}}return e.label=this.label,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Yi=function(){function e(t){if(Object(l.a)(this,e),this.catalog=void 0,this.recordCount=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.catalog)){this.catalog=[];var t,n=Object(s.a)(e.catalog);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.catalog.push(_i.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}this.recordCount=e.recordCount}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.catalog)){e.catalog=[];var t,n=Object(s.a)(this.catalog);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.catalog.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e.recordCount=this.recordCount,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Hi=function(){function e(t){if(Object(l.a)(this,e),this.sessionId=void 0,this.courseId=void 0,this.scheduleId=void 0,this.sessionTypeId=void 0,this.mediaTypeId=void 0,this.title=void 0,this.courseFormatId=void 0,this.courseFormat=void 0,this.courseFormatPortalCategory=void 0,this.courseTitle=void 0,this.provider=void 0,this.startDate=void 0,this.endDate=void 0,this.startTime=void 0,this.endTime=void 0,this.timezoneId=void 0,this.timeZone=void 0,this.locationId=void 0,this.location=void 0,this.roomId=void 0,this.room=void 0,this.cost=void 0,this.detail=void 0,this.duration=void 0,this.isOnlineLearning=void 0,this.isRegistrationApprovalNeeded=void 0,this.registrationLimit=void 0,this.isWaitlistingAllowed=void 0,this.evaluationId=void 0,this.evaluation=void 0,this.areQuestionsAllowed=void 0,this.launchUrl=void 0,this.url=void 0,this.note=void 0,this.isOpenToClient=void 0,this.isIndividualSessionDateAllowed=void 0,this.isPublished=void 0,this.isInHouse=void 0,this.cancelledDate=void 0,this.participantCount=void 0,this.sessionApprovers=void 0,this.sessionLicenses=void 0,this.sessionParticipant=void 0,this.sessionInstructors=void 0,this.sessionWaitlist=void 0,this.sessionMaterials=void 0,this.sessionMediaFiles=void 0,this.guid=void 0,this.isAlreadyRegisteredToTheSameSchedule=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.sessionId=e.sessionId,this.courseId=e.courseId,this.scheduleId=e.scheduleId,this.sessionTypeId=e.sessionTypeId,this.mediaTypeId=e.mediaTypeId,this.title=e.title,this.courseFormatId=e.courseFormatId,this.courseFormat=e.courseFormat,this.courseFormatPortalCategory=e.courseFormatPortalCategory,this.courseTitle=e.courseTitle,this.provider=e.provider,this.startDate=e.startDate?new Date(e.startDate.toString()):void 0,this.endDate=e.endDate?new Date(e.endDate.toString()):void 0,this.startTime=e.startTime,this.endTime=e.endTime,this.timezoneId=e.timezoneId,this.timeZone=e.timeZone,this.locationId=e.locationId,this.location=e.location,this.roomId=e.roomId,this.room=e.room,this.cost=e.cost,this.detail=e.detail,this.duration=e.duration,this.isOnlineLearning=e.isOnlineLearning,this.isRegistrationApprovalNeeded=e.isRegistrationApprovalNeeded,this.registrationLimit=e.registrationLimit,this.isWaitlistingAllowed=e.isWaitlistingAllowed,this.evaluationId=e.evaluationId,this.evaluation=e.evaluation,this.areQuestionsAllowed=e.areQuestionsAllowed,this.launchUrl=e.launchUrl,this.url=e.url,this.note=e.note,this.isOpenToClient=e.isOpenToClient,this.isIndividualSessionDateAllowed=e.isIndividualSessionDateAllowed,this.isPublished=e.isPublished,this.isInHouse=e.isInHouse,this.cancelledDate=e.cancelledDate?new Date(e.cancelledDate.toString()):void 0,this.participantCount=e.participantCount,Array.isArray(e.sessionApprovers)){this.sessionApprovers=[];var t,n=Object(s.a)(e.sessionApprovers);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.sessionApprovers.push(vb.fromJS(i))}}catch(O){n.e(O)}finally{n.f()}}if(Array.isArray(e.sessionLicenses)){this.sessionLicenses=[];var a,r=Object(s.a)(e.sessionLicenses);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.sessionLicenses.push(Fb.fromJS(o))}}catch(O){r.e(O)}finally{r.f()}}if(Array.isArray(e.sessionParticipant)){this.sessionParticipant=[];var l,c=Object(s.a)(e.sessionParticipant);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.sessionParticipant.push(Qb.fromJS(d))}}catch(O){c.e(O)}finally{c.f()}}if(Array.isArray(e.sessionInstructors)){this.sessionInstructors=[];var u,m=Object(s.a)(e.sessionInstructors);try{for(m.s();!(u=m.n()).done;){var v=u.value;this.sessionInstructors.push(Qb.fromJS(v))}}catch(O){m.e(O)}finally{m.f()}}if(Array.isArray(e.sessionWaitlist)){this.sessionWaitlist=[];var f,p=Object(s.a)(e.sessionWaitlist);try{for(p.s();!(f=p.n()).done;){var h=f.value;this.sessionWaitlist.push(Eg.fromJS(h))}}catch(O){p.e(O)}finally{p.f()}}if(Array.isArray(e.sessionMaterials)){this.sessionMaterials=[];var y,b=Object(s.a)(e.sessionMaterials);try{for(b.s();!(y=b.n()).done;){var g=y.value;this.sessionMaterials.push(qb.fromJS(g))}}catch(O){b.e(O)}finally{b.f()}}if(Array.isArray(e.sessionMediaFiles)){this.sessionMediaFiles=[];var E,I=Object(s.a)(e.sessionMediaFiles);try{for(I.s();!(E=I.n()).done;){var S=E.value;this.sessionMediaFiles.push(Mb.fromJS(S))}}catch(O){I.e(O)}finally{I.f()}}this.guid=e.guid,this.isAlreadyRegisteredToTheSameSchedule=e.isAlreadyRegisteredToTheSameSchedule}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).sessionId=this.sessionId,e.courseId=this.courseId,e.scheduleId=this.scheduleId,e.sessionTypeId=this.sessionTypeId,e.mediaTypeId=this.mediaTypeId,e.title=this.title,e.courseFormatId=this.courseFormatId,e.courseFormat=this.courseFormat,e.courseFormatPortalCategory=this.courseFormatPortalCategory,e.courseTitle=this.courseTitle,e.provider=this.provider,e.startDate=this.startDate?this.startDate.toISOString():void 0,e.endDate=this.endDate?this.endDate.toISOString():void 0,e.startTime=this.startTime,e.endTime=this.endTime,e.timezoneId=this.timezoneId,e.timeZone=this.timeZone,e.locationId=this.locationId,e.location=this.location,e.roomId=this.roomId,e.room=this.room,e.cost=this.cost,e.detail=this.detail,e.duration=this.duration,e.isOnlineLearning=this.isOnlineLearning,e.isRegistrationApprovalNeeded=this.isRegistrationApprovalNeeded,e.registrationLimit=this.registrationLimit,e.isWaitlistingAllowed=this.isWaitlistingAllowed,e.evaluationId=this.evaluationId,e.evaluation=this.evaluation,e.areQuestionsAllowed=this.areQuestionsAllowed,e.launchUrl=this.launchUrl,e.url=this.url,e.note=this.note,e.isOpenToClient=this.isOpenToClient,e.isIndividualSessionDateAllowed=this.isIndividualSessionDateAllowed,e.isPublished=this.isPublished,e.isInHouse=this.isInHouse,e.cancelledDate=this.cancelledDate?this.cancelledDate.toISOString():void 0,e.participantCount=this.participantCount,Array.isArray(this.sessionApprovers)){e.sessionApprovers=[];var t,n=Object(s.a)(this.sessionApprovers);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.sessionApprovers.push(i.toJSON())}}catch(O){n.e(O)}finally{n.f()}}if(Array.isArray(this.sessionLicenses)){e.sessionLicenses=[];var a,r=Object(s.a)(this.sessionLicenses);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.sessionLicenses.push(o.toJSON())}}catch(O){r.e(O)}finally{r.f()}}if(Array.isArray(this.sessionParticipant)){e.sessionParticipant=[];var l,c=Object(s.a)(this.sessionParticipant);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.sessionParticipant.push(d.toJSON())}}catch(O){c.e(O)}finally{c.f()}}if(Array.isArray(this.sessionInstructors)){e.sessionInstructors=[];var u,m=Object(s.a)(this.sessionInstructors);try{for(m.s();!(u=m.n()).done;){var v=u.value;e.sessionInstructors.push(v.toJSON())}}catch(O){m.e(O)}finally{m.f()}}if(Array.isArray(this.sessionWaitlist)){e.sessionWaitlist=[];var f,p=Object(s.a)(this.sessionWaitlist);try{for(p.s();!(f=p.n()).done;){var h=f.value;e.sessionWaitlist.push(h.toJSON())}}catch(O){p.e(O)}finally{p.f()}}if(Array.isArray(this.sessionMaterials)){e.sessionMaterials=[];var y,b=Object(s.a)(this.sessionMaterials);try{for(b.s();!(y=b.n()).done;){var g=y.value;e.sessionMaterials.push(g.toJSON())}}catch(O){b.e(O)}finally{b.f()}}if(Array.isArray(this.sessionMediaFiles)){e.sessionMediaFiles=[];var E,I=Object(s.a)(this.sessionMediaFiles);try{for(I.s();!(E=I.n()).done;){var S=E.value;e.sessionMediaFiles.push(S.toJSON())}}catch(O){I.e(O)}finally{I.f()}}return e.guid=this.guid,e.isAlreadyRegisteredToTheSameSchedule=this.isAlreadyRegisteredToTheSameSchedule,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),$i=function(){function e(t){if(Object(l.a)(this,e),this.courseId=void 0,this.courseIdLabel=void 0,this.title=void 0,this.provider=void 0,this.description=void 0,this.courseFormatCategories=void 0,this.scheduleId=void 0,this.sessionId=void 0,this.sessionTypeId=void 0,this.sessionTitle=void 0,this.userFavorite=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.courseId=e.courseId,this.courseIdLabel=e.courseIdLabel,this.title=e.title,this.provider=e.provider,this.description=e.description,Array.isArray(e.courseFormatCategories)){this.courseFormatCategories=[];var t,n=Object(s.a)(e.courseFormatCategories);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.courseFormatCategories.push(i)}}catch(a){n.e(a)}finally{n.f()}}this.scheduleId=e.scheduleId,this.sessionId=e.sessionId,this.sessionTypeId=e.sessionTypeId,this.sessionTitle=e.sessionTitle,this.userFavorite=e.userFavorite}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).courseId=this.courseId,e.courseIdLabel=this.courseIdLabel,e.title=this.title,e.provider=this.provider,e.description=this.description,Array.isArray(this.courseFormatCategories)){e.courseFormatCategories=[];var t,n=Object(s.a)(this.courseFormatCategories);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.courseFormatCategories.push(i)}}catch(a){n.e(a)}finally{n.f()}}return e.scheduleId=this.scheduleId,e.sessionId=this.sessionId,e.sessionTypeId=this.sessionTypeId,e.sessionTitle=this.sessionTitle,e.userFavorite=this.userFavorite,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Qi=function(){function e(t){if(Object(l.a)(this,e),this.catalog=void 0,this.recordCount=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.catalog)){this.catalog=[];var t,n=Object(s.a)(e.catalog);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.catalog.push($i.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}this.recordCount=e.recordCount}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.catalog)){e.catalog=[];var t,n=Object(s.a)(this.catalog);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.catalog.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e.recordCount=this.recordCount,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Zi=function(){function e(t){if(Object(l.a)(this,e),this.courseId=void 0,this.title=void 0,this.courseIdLabel=void 0,this.providerId=void 0,this.providerName=void 0,this.note=void 0,this.description=void 0,this.archivedDate=void 0,this.isArchived=void 0,this.isInHouseProvider=void 0,this.courseClassYear=void 0,this.courseCompetency=void 0,this.courseDepartment=void 0,this.courseLevel=void 0,this.coursePracticeArea=void 0,this.courseTag=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.courseId=e.courseId,this.title=e.title,this.courseIdLabel=e.courseIdLabel,this.providerId=e.providerId,this.providerName=e.providerName,this.note=e.note,this.description=e.description,this.archivedDate=e.archivedDate?new Date(e.archivedDate.toString()):void 0,this.isArchived=e.isArchived,this.isInHouseProvider=e.isInHouseProvider,Array.isArray(e.courseClassYear)){this.courseClassYear=[];var t,n=Object(s.a)(e.courseClassYear);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.courseClassYear.push(Xi.fromJS(i))}}catch(E){n.e(E)}finally{n.f()}}if(Array.isArray(e.courseCompetency)){this.courseCompetency=[];var a,r=Object(s.a)(e.courseCompetency);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.courseCompetency.push(ta.fromJS(o))}}catch(E){r.e(E)}finally{r.f()}}if(Array.isArray(e.courseDepartment)){this.courseDepartment=[];var l,c=Object(s.a)(e.courseDepartment);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.courseDepartment.push(na.fromJS(d))}}catch(E){c.e(E)}finally{c.f()}}if(Array.isArray(e.courseLevel)){this.courseLevel=[];var u,m=Object(s.a)(e.courseLevel);try{for(m.s();!(u=m.n()).done;){var v=u.value;this.courseLevel.push(sa.fromJS(v))}}catch(E){m.e(E)}finally{m.f()}}if(Array.isArray(e.coursePracticeArea)){this.coursePracticeArea=[];var f,p=Object(s.a)(e.coursePracticeArea);try{for(p.s();!(f=p.n()).done;){var h=f.value;this.coursePracticeArea.push(ca.fromJS(h))}}catch(E){p.e(E)}finally{p.f()}}if(Array.isArray(e.courseTag)){this.courseTag=[];var y,b=Object(s.a)(e.courseTag);try{for(b.s();!(y=b.n()).done;){var g=y.value;this.courseTag.push(ba.fromJS(g))}}catch(E){b.e(E)}finally{b.f()}}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).courseId=this.courseId,e.title=this.title,e.courseIdLabel=this.courseIdLabel,e.providerId=this.providerId,e.providerName=this.providerName,e.note=this.note,e.description=this.description,e.archivedDate=this.archivedDate?this.archivedDate.toISOString():void 0,e.isArchived=this.isArchived,e.isInHouseProvider=this.isInHouseProvider,Array.isArray(this.courseClassYear)){e.courseClassYear=[];var t,n=Object(s.a)(this.courseClassYear);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.courseClassYear.push(i.toJSON())}}catch(E){n.e(E)}finally{n.f()}}if(Array.isArray(this.courseCompetency)){e.courseCompetency=[];var a,r=Object(s.a)(this.courseCompetency);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.courseCompetency.push(o.toJSON())}}catch(E){r.e(E)}finally{r.f()}}if(Array.isArray(this.courseDepartment)){e.courseDepartment=[];var l,c=Object(s.a)(this.courseDepartment);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.courseDepartment.push(d.toJSON())}}catch(E){c.e(E)}finally{c.f()}}if(Array.isArray(this.courseLevel)){e.courseLevel=[];var u,m=Object(s.a)(this.courseLevel);try{for(m.s();!(u=m.n()).done;){var v=u.value;e.courseLevel.push(v.toJSON())}}catch(E){m.e(E)}finally{m.f()}}if(Array.isArray(this.coursePracticeArea)){e.coursePracticeArea=[];var f,p=Object(s.a)(this.coursePracticeArea);try{for(p.s();!(f=p.n()).done;){var h=f.value;e.coursePracticeArea.push(h.toJSON())}}catch(E){p.e(E)}finally{p.f()}}if(Array.isArray(this.courseTag)){e.courseTag=[];var y,b=Object(s.a)(this.courseTag);try{for(b.s();!(y=b.n()).done;){var g=y.value;e.courseTag.push(g.toJSON())}}catch(E){b.e(E)}finally{b.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Xi=function(){function e(t){if(Object(l.a)(this,e),this.classYearId=void 0,this.name=void 0,this.code=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.classYearId=e.classYearId,this.name=e.name,this.code=e.code)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).classYearId=this.classYearId,e.name=this.name,e.code=this.code,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Ki=function(){function e(t){if(Object(l.a)(this,e),this.collectionId=void 0,this.courseId=void 0,this.title=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.collectionId=e.collectionId,this.courseId=e.courseId,this.title=e.title)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).collectionId=this.collectionId,e.courseId=this.courseId,e.title=this.title,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),ea=function(){function e(t){if(Object(l.a)(this,e),this.courseCollections=void 0,this.recordCount=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.courseCollections)){this.courseCollections=[];var t,n=Object(s.a)(e.courseCollections);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.courseCollections.push(Ki.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}this.recordCount=e.recordCount}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.courseCollections)){e.courseCollections=[];var t,n=Object(s.a)(this.courseCollections);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.courseCollections.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e.recordCount=this.recordCount,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),ta=function(){function e(t){if(Object(l.a)(this,e),this.competencyId=void 0,this.name=void 0,this.code=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.competencyId=e.competencyId,this.name=e.name,this.code=e.code)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).competencyId=this.competencyId,e.name=this.name,e.code=this.code,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),na=function(){function e(t){if(Object(l.a)(this,e),this.departmentId=void 0,this.name=void 0,this.code=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.departmentId=e.departmentId,this.name=e.name,this.code=e.code)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).departmentId=this.departmentId,e.name=this.name,e.code=this.code,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),ia=function(){function e(t){if(Object(l.a)(this,e),this.courseId=void 0,this.title=void 0,this.courseIdLabel=void 0,this.providerId=void 0,this.providerName=void 0,this.isArchived=void 0,this.isInHouseProvider=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.courseId=e.courseId,this.title=e.title,this.courseIdLabel=e.courseIdLabel,this.providerId=e.providerId,this.providerName=e.providerName,this.isArchived=e.isArchived,this.isInHouseProvider=e.isInHouseProvider)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).courseId=this.courseId,e.title=this.title,e.courseIdLabel=this.courseIdLabel,e.providerId=this.providerId,e.providerName=this.providerName,e.isArchived=this.isArchived,e.isInHouseProvider=this.isInHouseProvider,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),aa=function(){function e(t){if(Object(l.a)(this,e),this.courseId=void 0,this.title=void 0,this.courseCode=void 0,this.providerId=void 0,this.providerName=void 0,this.note=void 0,this.description=void 0,this.archivedDate=void 0,this.courseClassYear=void 0,this.courseCompetency=void 0,this.courseDepartment=void 0,this.courseLevel=void 0,this.coursePracticeArea=void 0,this.courseTag=void 0,this.courseLearningPlan=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.courseId=e.courseId,this.title=e.title,this.courseCode=e.courseCode,this.providerId=e.providerId,this.providerName=e.providerName,this.note=e.note,this.description=e.description,this.archivedDate=e.archivedDate?new Date(e.archivedDate.toString()):void 0,Array.isArray(e.courseClassYear)){this.courseClassYear=[];var t,n=Object(s.a)(e.courseClassYear);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.courseClassYear.push(Xi.fromJS(i))}}catch(O){n.e(O)}finally{n.f()}}if(Array.isArray(e.courseCompetency)){this.courseCompetency=[];var a,r=Object(s.a)(e.courseCompetency);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.courseCompetency.push(ta.fromJS(o))}}catch(O){r.e(O)}finally{r.f()}}if(Array.isArray(e.courseDepartment)){this.courseDepartment=[];var l,c=Object(s.a)(e.courseDepartment);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.courseDepartment.push(na.fromJS(d))}}catch(O){c.e(O)}finally{c.f()}}if(Array.isArray(e.courseLevel)){this.courseLevel=[];var u,m=Object(s.a)(e.courseLevel);try{for(m.s();!(u=m.n()).done;){var v=u.value;this.courseLevel.push(sa.fromJS(v))}}catch(O){m.e(O)}finally{m.f()}}if(Array.isArray(e.coursePracticeArea)){this.coursePracticeArea=[];var f,p=Object(s.a)(e.coursePracticeArea);try{for(p.s();!(f=p.n()).done;){var h=f.value;this.coursePracticeArea.push(ca.fromJS(h))}}catch(O){p.e(O)}finally{p.f()}}if(Array.isArray(e.courseTag)){this.courseTag=[];var y,b=Object(s.a)(e.courseTag);try{for(b.s();!(y=b.n()).done;){var g=y.value;this.courseTag.push(ba.fromJS(g))}}catch(O){b.e(O)}finally{b.f()}}if(Array.isArray(e.courseLearningPlan)){this.courseLearningPlan=[];var E,I=Object(s.a)(e.courseLearningPlan);try{for(I.s();!(E=I.n()).done;){var S=E.value;this.courseLearningPlan.push(Sv.fromJS(S))}}catch(O){I.e(O)}finally{I.f()}}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).courseId=this.courseId,e.title=this.title,e.courseCode=this.courseCode,e.providerId=this.providerId,e.providerName=this.providerName,e.note=this.note,e.description=this.description,e.archivedDate=this.archivedDate?this.archivedDate.toISOString():void 0,Array.isArray(this.courseClassYear)){e.courseClassYear=[];var t,n=Object(s.a)(this.courseClassYear);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.courseClassYear.push(i.toJSON())}}catch(O){n.e(O)}finally{n.f()}}if(Array.isArray(this.courseCompetency)){e.courseCompetency=[];var a,r=Object(s.a)(this.courseCompetency);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.courseCompetency.push(o.toJSON())}}catch(O){r.e(O)}finally{r.f()}}if(Array.isArray(this.courseDepartment)){e.courseDepartment=[];var l,c=Object(s.a)(this.courseDepartment);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.courseDepartment.push(d.toJSON())}}catch(O){c.e(O)}finally{c.f()}}if(Array.isArray(this.courseLevel)){e.courseLevel=[];var u,m=Object(s.a)(this.courseLevel);try{for(m.s();!(u=m.n()).done;){var v=u.value;e.courseLevel.push(v.toJSON())}}catch(O){m.e(O)}finally{m.f()}}if(Array.isArray(this.coursePracticeArea)){e.coursePracticeArea=[];var f,p=Object(s.a)(this.coursePracticeArea);try{for(p.s();!(f=p.n()).done;){var h=f.value;e.coursePracticeArea.push(h.toJSON())}}catch(O){p.e(O)}finally{p.f()}}if(Array.isArray(this.courseTag)){e.courseTag=[];var y,b=Object(s.a)(this.courseTag);try{for(b.s();!(y=b.n()).done;){var g=y.value;e.courseTag.push(g.toJSON())}}catch(O){b.e(O)}finally{b.f()}}if(Array.isArray(this.courseLearningPlan)){e.courseLearningPlan=[];var E,I=Object(s.a)(this.courseLearningPlan);try{for(I.s();!(E=I.n()).done;){var S=E.value;e.courseLearningPlan.push(S.toJSON())}}catch(O){I.e(O)}finally{I.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),ra=function(){function e(t){if(Object(l.a)(this,e),this.courseFormatId=void 0,this.name=void 0,this.abbreviation=void 0,this.isActive=void 0,this.isEnabled=void 0,this.isOnlineLearning=void 0,this.isIndividualSessionAllowed=void 0,this.portalCategory=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.courseFormatId=e.courseFormatId,this.name=e.name,this.abbreviation=e.abbreviation,this.isActive=e.isActive,this.isEnabled=e.isEnabled,this.isOnlineLearning=e.isOnlineLearning,this.isIndividualSessionAllowed=e.isIndividualSessionAllowed,this.portalCategory=e.portalCategory)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).courseFormatId=this.courseFormatId,e.name=this.name,e.abbreviation=this.abbreviation,e.isActive=this.isActive,e.isEnabled=this.isEnabled,e.isOnlineLearning=this.isOnlineLearning,e.isIndividualSessionAllowed=this.isIndividualSessionAllowed,e.portalCategory=this.portalCategory,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),oa=function(){function e(t){if(Object(l.a)(this,e),this.courseFormats=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&Array.isArray(e.courseFormats)){this.courseFormats=[];var t,n=Object(s.a)(e.courseFormats);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.courseFormats.push(ra.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.courseFormats)){e.courseFormats=[];var t,n=Object(s.a)(this.courseFormats);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.courseFormats.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),sa=function(){function e(t){if(Object(l.a)(this,e),this.levelId=void 0,this.name=void 0,this.code=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.levelId=e.levelId,this.name=e.name,this.code=e.code)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).levelId=this.levelId,e.name=this.name,e.code=this.code,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),la=function(){function e(t){if(Object(l.a)(this,e),this.courses=void 0,this.recordCount=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.courses)){this.courses=[];var t,n=Object(s.a)(e.courses);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.courses.push(Fy.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}this.recordCount=e.recordCount}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.courses)){e.courses=[];var t,n=Object(s.a)(this.courses);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.courses.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e.recordCount=this.recordCount,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),ca=function(){function e(t){if(Object(l.a)(this,e),this.practiceAreaId=void 0,this.name=void 0,this.code=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.practiceAreaId=e.practiceAreaId,this.name=e.name,this.code=e.code)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).practiceAreaId=this.practiceAreaId,e.name=this.name,e.code=this.code,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),da=function(){function e(t){if(Object(l.a)(this,e),this.courseSavedFilterId=void 0,this.name=void 0,this.isPublic=void 0,this.isReadOnly=void 0,this.isSystem=void 0,this.isDefault=void 0,this.filter=void 0,this.createdBy=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.courseSavedFilterId=e.courseSavedFilterId,this.name=e.name,this.isPublic=e.isPublic,this.isReadOnly=e.isReadOnly,this.isSystem=e.isSystem,this.isDefault=e.isDefault,this.filter=e.filter,this.createdBy=e.createdBy)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).courseSavedFilterId=this.courseSavedFilterId,e.name=this.name,e.isPublic=this.isPublic,e.isReadOnly=this.isReadOnly,e.isSystem=this.isSystem,e.isDefault=this.isDefault,e.filter=this.filter,e.createdBy=this.createdBy,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),ua=function(){function e(t){if(Object(l.a)(this,e),this.courseSavedFilters=void 0,this.recordCount=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.courseSavedFilters)){this.courseSavedFilters=[];var t,n=Object(s.a)(e.courseSavedFilters);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.courseSavedFilters.push(da.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}this.recordCount=e.recordCount}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.courseSavedFilters)){e.courseSavedFilters=[];var t,n=Object(s.a)(this.courseSavedFilters);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.courseSavedFilters.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e.recordCount=this.recordCount,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),ma=function(){function e(t){if(Object(l.a)(this,e),this.sessionId=void 0,this.courseId=void 0,this.sessionTitle=void 0,this.courseTitle=void 0,this.providerName=void 0,this.startDate=void 0,this.endDate=void 0,this.startTime=void 0,this.endTime=void 0,this.timeZone=void 0,this.location=void 0,this.room=void 0,this.courseFormatPortalCategory=void 0,this.courseFormat=void 0,this.detail=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.sessionId=e.sessionId,this.courseId=e.courseId,this.sessionTitle=e.sessionTitle,this.courseTitle=e.courseTitle,this.providerName=e.providerName,this.startDate=e.startDate?new Date(e.startDate.toString()):void 0,this.endDate=e.endDate?new Date(e.endDate.toString()):void 0,this.startTime=e.startTime,this.endTime=e.endTime,this.timeZone=e.timeZone,this.location=e.location,this.room=e.room,this.courseFormatPortalCategory=e.courseFormatPortalCategory,this.courseFormat=e.courseFormat,this.detail=e.detail)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).sessionId=this.sessionId,e.courseId=this.courseId,e.sessionTitle=this.sessionTitle,e.courseTitle=this.courseTitle,e.providerName=this.providerName,e.startDate=this.startDate?this.startDate.toISOString():void 0,e.endDate=this.endDate?this.endDate.toISOString():void 0,e.startTime=this.startTime,e.endTime=this.endTime,e.timeZone=this.timeZone,e.location=this.location,e.room=this.room,e.courseFormatPortalCategory=this.courseFormatPortalCategory,e.courseFormat=this.courseFormat,e.detail=this.detail,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),va=function(){function e(t){if(Object(l.a)(this,e),this.scheduleId=void 0,this.scheduleLink=void 0,this.sessionTypeId=void 0,this.startDate=void 0,this.endDate=void 0,this.count=void 0,this.sessions=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&(this.scheduleId=e.scheduleId,this.scheduleLink=e.scheduleLink,this.sessionTypeId=e.sessionTypeId,this.startDate=e.startDate?new Date(e.startDate.toString()):void 0,this.endDate=e.endDate?new Date(e.endDate.toString()):void 0,this.count=e.count,Array.isArray(e.sessions))){this.sessions=[];var t,n=Object(s.a)(e.sessions);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.sessions.push(ha.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).scheduleId=this.scheduleId,e.scheduleLink=this.scheduleLink,e.sessionTypeId=this.sessionTypeId,e.startDate=this.startDate?this.startDate.toISOString():void 0,e.endDate=this.endDate?this.endDate.toISOString():void 0,e.count=this.count,Array.isArray(this.sessions)){e.sessions=[];var t,n=Object(s.a)(this.sessions);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.sessions.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),fa=function(){function e(t){if(Object(l.a)(this,e),this.groups=void 0,this.recordCount=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.groups)){this.groups=[];var t,n=Object(s.a)(e.groups);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.groups.push(va.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}this.recordCount=e.recordCount}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.groups)){e.groups=[];var t,n=Object(s.a)(this.groups);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.groups.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e.recordCount=this.recordCount,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),pa=function(){function e(t){if(Object(l.a)(this,e),this.sessionId=void 0,this.courseId=void 0,this.scheduleId=void 0,this.sessionTypeId=void 0,this.mediaTypeId=void 0,this.title=void 0,this.courseFormatId=void 0,this.courseFormat=void 0,this.courseFormatPortalCategory=void 0,this.courseTitle=void 0,this.provider=void 0,this.startDate=void 0,this.endDate=void 0,this.startTime=void 0,this.endTime=void 0,this.timezoneId=void 0,this.timeZone=void 0,this.locationId=void 0,this.location=void 0,this.roomId=void 0,this.room=void 0,this.cost=void 0,this.detail=void 0,this.duration=void 0,this.isOnlineLearning=void 0,this.isRegistrationApprovalNeeded=void 0,this.registrationLimit=void 0,this.isWaitlistingAllowed=void 0,this.evaluationId=void 0,this.evaluation=void 0,this.areQuestionsAllowed=void 0,this.launchUrl=void 0,this.url=void 0,this.note=void 0,this.isOpenToClient=void 0,this.isIndividualSessionDateAllowed=void 0,this.isPublished=void 0,this.isInHouse=void 0,this.cancelledDate=void 0,this.participantCount=void 0,this.scormCourseId=void 0,this.sessionApprovers=void 0,this.sessionLicenses=void 0,this.sessionParticipant=void 0,this.sessionInstructors=void 0,this.sessionWaitlist=void 0,this.sessionMaterials=void 0,this.sessionMediaFiles=void 0,this.guid=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.sessionId=e.sessionId,this.courseId=e.courseId,this.scheduleId=e.scheduleId,this.sessionTypeId=e.sessionTypeId,this.mediaTypeId=e.mediaTypeId,this.title=e.title,this.courseFormatId=e.courseFormatId,this.courseFormat=e.courseFormat,this.courseFormatPortalCategory=e.courseFormatPortalCategory,this.courseTitle=e.courseTitle,this.provider=e.provider,this.startDate=e.startDate?new Date(e.startDate.toString()):void 0,this.endDate=e.endDate?new Date(e.endDate.toString()):void 0,this.startTime=e.startTime,this.endTime=e.endTime,this.timezoneId=e.timezoneId,this.timeZone=e.timeZone,this.locationId=e.locationId,this.location=e.location,this.roomId=e.roomId,this.room=e.room,this.cost=e.cost,this.detail=e.detail,this.duration=e.duration,this.isOnlineLearning=e.isOnlineLearning,this.isRegistrationApprovalNeeded=e.isRegistrationApprovalNeeded,this.registrationLimit=e.registrationLimit,this.isWaitlistingAllowed=e.isWaitlistingAllowed,this.evaluationId=e.evaluationId,this.evaluation=e.evaluation,this.areQuestionsAllowed=e.areQuestionsAllowed,this.launchUrl=e.launchUrl,this.url=e.url,this.note=e.note,this.isOpenToClient=e.isOpenToClient,this.isIndividualSessionDateAllowed=e.isIndividualSessionDateAllowed,this.isPublished=e.isPublished,this.isInHouse=e.isInHouse,this.cancelledDate=e.cancelledDate?new Date(e.cancelledDate.toString()):void 0,this.participantCount=e.participantCount,this.scormCourseId=e.scormCourseId,Array.isArray(e.sessionApprovers)){this.sessionApprovers=[];var t,n=Object(s.a)(e.sessionApprovers);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.sessionApprovers.push(vb.fromJS(i))}}catch(O){n.e(O)}finally{n.f()}}if(Array.isArray(e.sessionLicenses)){this.sessionLicenses=[];var a,r=Object(s.a)(e.sessionLicenses);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.sessionLicenses.push(Fb.fromJS(o))}}catch(O){r.e(O)}finally{r.f()}}if(Array.isArray(e.sessionParticipant)){this.sessionParticipant=[];var l,c=Object(s.a)(e.sessionParticipant);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.sessionParticipant.push(Qb.fromJS(d))}}catch(O){c.e(O)}finally{c.f()}}if(Array.isArray(e.sessionInstructors)){this.sessionInstructors=[];var u,m=Object(s.a)(e.sessionInstructors);try{for(m.s();!(u=m.n()).done;){var v=u.value;this.sessionInstructors.push(Qb.fromJS(v))}}catch(O){m.e(O)}finally{m.f()}}if(Array.isArray(e.sessionWaitlist)){this.sessionWaitlist=[];var f,p=Object(s.a)(e.sessionWaitlist);try{for(p.s();!(f=p.n()).done;){var h=f.value;this.sessionWaitlist.push(Eg.fromJS(h))}}catch(O){p.e(O)}finally{p.f()}}if(Array.isArray(e.sessionMaterials)){this.sessionMaterials=[];var y,b=Object(s.a)(e.sessionMaterials);try{for(b.s();!(y=b.n()).done;){var g=y.value;this.sessionMaterials.push(qb.fromJS(g))}}catch(O){b.e(O)}finally{b.f()}}if(Array.isArray(e.sessionMediaFiles)){this.sessionMediaFiles=[];var E,I=Object(s.a)(e.sessionMediaFiles);try{for(I.s();!(E=I.n()).done;){var S=E.value;this.sessionMediaFiles.push(Mb.fromJS(S))}}catch(O){I.e(O)}finally{I.f()}}this.guid=e.guid}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).sessionId=this.sessionId,e.courseId=this.courseId,e.scheduleId=this.scheduleId,e.sessionTypeId=this.sessionTypeId,e.mediaTypeId=this.mediaTypeId,e.title=this.title,e.courseFormatId=this.courseFormatId,e.courseFormat=this.courseFormat,e.courseFormatPortalCategory=this.courseFormatPortalCategory,e.courseTitle=this.courseTitle,e.provider=this.provider,e.startDate=this.startDate?this.startDate.toISOString():void 0,e.endDate=this.endDate?this.endDate.toISOString():void 0,e.startTime=this.startTime,e.endTime=this.endTime,e.timezoneId=this.timezoneId,e.timeZone=this.timeZone,e.locationId=this.locationId,e.location=this.location,e.roomId=this.roomId,e.room=this.room,e.cost=this.cost,e.detail=this.detail,e.duration=this.duration,e.isOnlineLearning=this.isOnlineLearning,e.isRegistrationApprovalNeeded=this.isRegistrationApprovalNeeded,e.registrationLimit=this.registrationLimit,e.isWaitlistingAllowed=this.isWaitlistingAllowed,e.evaluationId=this.evaluationId,e.evaluation=this.evaluation,e.areQuestionsAllowed=this.areQuestionsAllowed,e.launchUrl=this.launchUrl,e.url=this.url,e.note=this.note,e.isOpenToClient=this.isOpenToClient,e.isIndividualSessionDateAllowed=this.isIndividualSessionDateAllowed,e.isPublished=this.isPublished,e.isInHouse=this.isInHouse,e.cancelledDate=this.cancelledDate?this.cancelledDate.toISOString():void 0,e.participantCount=this.participantCount,e.scormCourseId=this.scormCourseId,Array.isArray(this.sessionApprovers)){e.sessionApprovers=[];var t,n=Object(s.a)(this.sessionApprovers);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.sessionApprovers.push(i.toJSON())}}catch(O){n.e(O)}finally{n.f()}}if(Array.isArray(this.sessionLicenses)){e.sessionLicenses=[];var a,r=Object(s.a)(this.sessionLicenses);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.sessionLicenses.push(o.toJSON())}}catch(O){r.e(O)}finally{r.f()}}if(Array.isArray(this.sessionParticipant)){e.sessionParticipant=[];var l,c=Object(s.a)(this.sessionParticipant);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.sessionParticipant.push(d.toJSON())}}catch(O){c.e(O)}finally{c.f()}}if(Array.isArray(this.sessionInstructors)){e.sessionInstructors=[];var u,m=Object(s.a)(this.sessionInstructors);try{for(m.s();!(u=m.n()).done;){var v=u.value;e.sessionInstructors.push(v.toJSON())}}catch(O){m.e(O)}finally{m.f()}}if(Array.isArray(this.sessionWaitlist)){e.sessionWaitlist=[];var f,p=Object(s.a)(this.sessionWaitlist);try{for(p.s();!(f=p.n()).done;){var h=f.value;e.sessionWaitlist.push(h.toJSON())}}catch(O){p.e(O)}finally{p.f()}}if(Array.isArray(this.sessionMaterials)){e.sessionMaterials=[];var y,b=Object(s.a)(this.sessionMaterials);try{for(b.s();!(y=b.n()).done;){var g=y.value;e.sessionMaterials.push(g.toJSON())}}catch(O){b.e(O)}finally{b.f()}}if(Array.isArray(this.sessionMediaFiles)){e.sessionMediaFiles=[];var E,I=Object(s.a)(this.sessionMediaFiles);try{for(I.s();!(E=I.n()).done;){var S=E.value;e.sessionMediaFiles.push(S.toJSON())}}catch(O){I.e(O)}finally{I.f()}}return e.guid=this.guid,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),ha=function(){function e(t){if(Object(l.a)(this,e),this.sessionId=void 0,this.scheduleId=void 0,this.courseId=void 0,this.title=void 0,this.sessionTypeId=void 0,this.startDate=void 0,this.endDate=void 0,this.startTime=void 0,this.endTime=void 0,this.timezoneId=void 0,this.timezone=void 0,this.locationId=void 0,this.location=void 0,this.roomId=void 0,this.room=void 0,this.courseFormatId=void 0,this.courseFormat=void 0,this.courseFormatPortalCategory=void 0,this.isOnlineLearning=void 0,this.hasScormPackage=void 0,this.mediaTypeId=void 0,this.courseTitle=void 0,this.isPublished=void 0,this.cancelledDate=void 0,this.sessionInstructors=void 0,this.evaluationId=void 0,this.registeredParticipantCount=void 0,this.tentativeParticipantCount=void 0,this.validatedParticipantCount=void 0,this.pendingParticipantCount=void 0,this.inProgressParticipantCount=void 0,this.disqualifiedParticipantCount=void 0,this.failedParticipantCount=void 0,this.unexcusedParticipantCount=void 0,this.waitlistParticipantCount=void 0,this.sessionLicenses=void 0,this.guid=void 0,this.isIndividualSessionDateAllowed=void 0,this.isOpenToClient=void 0,this.isRegistrationApprovalNeeded=void 0,this.isWaitlistingAllowed=void 0,this.registrationLimit=void 0,this.sessionParticipantCount=void 0,this.sessionWaitlistedParticipantCount=void 0,this.evaluationName=void 0,this.withAnsweredEvaluation=void 0,this.isSessionAttendanceValidated=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.sessionId=e.sessionId,this.scheduleId=e.scheduleId,this.courseId=e.courseId,this.title=e.title,this.sessionTypeId=e.sessionTypeId,this.startDate=e.startDate?new Date(e.startDate.toString()):void 0,this.endDate=e.endDate?new Date(e.endDate.toString()):void 0,this.startTime=e.startTime,this.endTime=e.endTime,this.timezoneId=e.timezoneId,this.timezone=e.timezone,this.locationId=e.locationId,this.location=e.location,this.roomId=e.roomId,this.room=e.room,this.courseFormatId=e.courseFormatId,this.courseFormat=e.courseFormat,this.courseFormatPortalCategory=e.courseFormatPortalCategory,this.isOnlineLearning=e.isOnlineLearning,this.hasScormPackage=e.hasScormPackage,this.mediaTypeId=e.mediaTypeId,this.courseTitle=e.courseTitle,this.isPublished=e.isPublished,this.cancelledDate=e.cancelledDate?new Date(e.cancelledDate.toString()):void 0,Array.isArray(e.sessionInstructors)){this.sessionInstructors=[];var t,n=Object(s.a)(e.sessionInstructors);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.sessionInstructors.push(i)}}catch(l){n.e(l)}finally{n.f()}}if(this.evaluationId=e.evaluationId,this.registeredParticipantCount=e.registeredParticipantCount,this.tentativeParticipantCount=e.tentativeParticipantCount,this.validatedParticipantCount=e.validatedParticipantCount,this.pendingParticipantCount=e.pendingParticipantCount,this.inProgressParticipantCount=e.inProgressParticipantCount,this.disqualifiedParticipantCount=e.disqualifiedParticipantCount,this.failedParticipantCount=e.failedParticipantCount,this.unexcusedParticipantCount=e.unexcusedParticipantCount,this.waitlistParticipantCount=e.waitlistParticipantCount,Array.isArray(e.sessionLicenses)){this.sessionLicenses=[];var a,r=Object(s.a)(e.sessionLicenses);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.sessionLicenses.push(Fb.fromJS(o))}}catch(l){r.e(l)}finally{r.f()}}this.guid=e.guid,this.isIndividualSessionDateAllowed=e.isIndividualSessionDateAllowed,this.isOpenToClient=e.isOpenToClient,this.isRegistrationApprovalNeeded=e.isRegistrationApprovalNeeded,this.isWaitlistingAllowed=e.isWaitlistingAllowed,this.registrationLimit=e.registrationLimit,this.sessionParticipantCount=e.sessionParticipantCount,this.sessionWaitlistedParticipantCount=e.sessionWaitlistedParticipantCount,this.evaluationName=e.evaluationName,this.withAnsweredEvaluation=e.withAnsweredEvaluation,this.isSessionAttendanceValidated=e.isSessionAttendanceValidated}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).sessionId=this.sessionId,e.scheduleId=this.scheduleId,e.courseId=this.courseId,e.title=this.title,e.sessionTypeId=this.sessionTypeId,e.startDate=this.startDate?this.startDate.toISOString():void 0,e.endDate=this.endDate?this.endDate.toISOString():void 0,e.startTime=this.startTime,e.endTime=this.endTime,e.timezoneId=this.timezoneId,e.timezone=this.timezone,e.locationId=this.locationId,e.location=this.location,e.roomId=this.roomId,e.room=this.room,e.courseFormatId=this.courseFormatId,e.courseFormat=this.courseFormat,e.courseFormatPortalCategory=this.courseFormatPortalCategory,e.isOnlineLearning=this.isOnlineLearning,e.hasScormPackage=this.hasScormPackage,e.mediaTypeId=this.mediaTypeId,e.courseTitle=this.courseTitle,e.isPublished=this.isPublished,e.cancelledDate=this.cancelledDate?this.cancelledDate.toISOString():void 0,Array.isArray(this.sessionInstructors)){e.sessionInstructors=[];var t,n=Object(s.a)(this.sessionInstructors);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.sessionInstructors.push(i)}}catch(l){n.e(l)}finally{n.f()}}if(e.evaluationId=this.evaluationId,e.registeredParticipantCount=this.registeredParticipantCount,e.tentativeParticipantCount=this.tentativeParticipantCount,e.validatedParticipantCount=this.validatedParticipantCount,e.pendingParticipantCount=this.pendingParticipantCount,e.inProgressParticipantCount=this.inProgressParticipantCount,e.disqualifiedParticipantCount=this.disqualifiedParticipantCount,e.failedParticipantCount=this.failedParticipantCount,e.unexcusedParticipantCount=this.unexcusedParticipantCount,e.waitlistParticipantCount=this.waitlistParticipantCount,Array.isArray(this.sessionLicenses)){e.sessionLicenses=[];var a,r=Object(s.a)(this.sessionLicenses);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.sessionLicenses.push(o.toJSON())}}catch(l){r.e(l)}finally{r.f()}}return e.guid=this.guid,e.isIndividualSessionDateAllowed=this.isIndividualSessionDateAllowed,e.isOpenToClient=this.isOpenToClient,e.isRegistrationApprovalNeeded=this.isRegistrationApprovalNeeded,e.isWaitlistingAllowed=this.isWaitlistingAllowed,e.registrationLimit=this.registrationLimit,e.sessionParticipantCount=this.sessionParticipantCount,e.sessionWaitlistedParticipantCount=this.sessionWaitlistedParticipantCount,e.evaluationName=this.evaluationName,e.withAnsweredEvaluation=this.withAnsweredEvaluation,e.isSessionAttendanceValidated=this.isSessionAttendanceValidated,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),ya=function(){function e(t){if(Object(l.a)(this,e),this.sessions=void 0,this.recordCount=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.sessions)){this.sessions=[];var t,n=Object(s.a)(e.sessions);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.sessions.push(ha.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}this.recordCount=e.recordCount}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.sessions)){e.sessions=[];var t,n=Object(s.a)(this.sessions);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.sessions.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e.recordCount=this.recordCount,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),ba=function(){function e(t){if(Object(l.a)(this,e),this.tagId=void 0,this.name=void 0,this.code=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.tagId=e.tagId,this.name=e.name,this.code=e.code)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).tagId=this.tagId,e.name=this.name,e.code=this.code,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),ga=function(){function e(t){if(Object(l.a)(this,e),this.courseId=void 0,this.title=void 0,this.courseIdLabel=void 0,this.providerId=void 0,this.providerName=void 0,this.note=void 0,this.description=void 0,this.isArchived=void 0,this.courseClassYear=void 0,this.courseCompetency=void 0,this.courseDepartment=void 0,this.courseLevel=void 0,this.coursePracticeArea=void 0,this.courseTag=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.courseId=e.courseId,this.title=e.title,this.courseIdLabel=e.courseIdLabel,this.providerId=e.providerId,this.providerName=e.providerName,this.note=e.note,this.description=e.description,this.isArchived=e.isArchived,Array.isArray(e.courseClassYear)){this.courseClassYear=[];var t,n=Object(s.a)(e.courseClassYear);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.courseClassYear.push(i)}}catch(E){n.e(E)}finally{n.f()}}if(Array.isArray(e.courseCompetency)){this.courseCompetency=[];var a,r=Object(s.a)(e.courseCompetency);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.courseCompetency.push(o)}}catch(E){r.e(E)}finally{r.f()}}if(Array.isArray(e.courseDepartment)){this.courseDepartment=[];var l,c=Object(s.a)(e.courseDepartment);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.courseDepartment.push(d)}}catch(E){c.e(E)}finally{c.f()}}if(Array.isArray(e.courseLevel)){this.courseLevel=[];var u,m=Object(s.a)(e.courseLevel);try{for(m.s();!(u=m.n()).done;){var v=u.value;this.courseLevel.push(v)}}catch(E){m.e(E)}finally{m.f()}}if(Array.isArray(e.coursePracticeArea)){this.coursePracticeArea=[];var f,p=Object(s.a)(e.coursePracticeArea);try{for(p.s();!(f=p.n()).done;){var h=f.value;this.coursePracticeArea.push(h)}}catch(E){p.e(E)}finally{p.f()}}if(Array.isArray(e.courseTag)){this.courseTag=[];var y,b=Object(s.a)(e.courseTag);try{for(b.s();!(y=b.n()).done;){var g=y.value;this.courseTag.push(g)}}catch(E){b.e(E)}finally{b.f()}}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).courseId=this.courseId,e.title=this.title,e.courseIdLabel=this.courseIdLabel,e.providerId=this.providerId,e.providerName=this.providerName,e.note=this.note,e.description=this.description,e.isArchived=this.isArchived,Array.isArray(this.courseClassYear)){e.courseClassYear=[];var t,n=Object(s.a)(this.courseClassYear);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.courseClassYear.push(i)}}catch(E){n.e(E)}finally{n.f()}}if(Array.isArray(this.courseCompetency)){e.courseCompetency=[];var a,r=Object(s.a)(this.courseCompetency);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.courseCompetency.push(o)}}catch(E){r.e(E)}finally{r.f()}}if(Array.isArray(this.courseDepartment)){e.courseDepartment=[];var l,c=Object(s.a)(this.courseDepartment);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.courseDepartment.push(d)}}catch(E){c.e(E)}finally{c.f()}}if(Array.isArray(this.courseLevel)){e.courseLevel=[];var u,m=Object(s.a)(this.courseLevel);try{for(m.s();!(u=m.n()).done;){var v=u.value;e.courseLevel.push(v)}}catch(E){m.e(E)}finally{m.f()}}if(Array.isArray(this.coursePracticeArea)){e.coursePracticeArea=[];var f,p=Object(s.a)(this.coursePracticeArea);try{for(p.s();!(f=p.n()).done;){var h=f.value;e.coursePracticeArea.push(h)}}catch(E){p.e(E)}finally{p.f()}}if(Array.isArray(this.courseTag)){e.courseTag=[];var y,b=Object(s.a)(this.courseTag);try{for(b.s();!(y=b.n()).done;){var g=y.value;e.courseTag.push(g)}}catch(E){b.e(E)}finally{b.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Ea=function(){function e(t){if(Object(l.a)(this,e),this.name=void 0,this.description=void 0,this.isActive=void 0,this.licenseId=void 0,this.libraryFieldId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.name=e.name,this.description=e.description,this.isActive=e.isActive,this.licenseId=e.licenseId,this.libraryFieldId=e.libraryFieldId)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).name=this.name,e.description=this.description,e.isActive=this.isActive,e.licenseId=this.licenseId,e.libraryFieldId=this.libraryFieldId,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Ia=function(){function e(t){if(Object(l.a)(this,e),this.title=void 0,this.description=void 0,this.note=void 0,this.isSelfValidateAllowed=void 0,this.activityCompetencies=void 0,this.activityTags=void 0,this.activityMaterials=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.title=e.title,this.description=e.description,this.note=e.note,this.isSelfValidateAllowed=e.isSelfValidateAllowed,Array.isArray(e.activityCompetencies)){this.activityCompetencies=[];var t,n=Object(s.a)(e.activityCompetencies);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.activityCompetencies.push(it.fromJS(i))}}catch(u){n.e(u)}finally{n.f()}}if(Array.isArray(e.activityTags)){this.activityTags=[];var a,r=Object(s.a)(e.activityTags);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.activityTags.push(vt.fromJS(o))}}catch(u){r.e(u)}finally{r.f()}}if(Array.isArray(e.activityMaterials)){this.activityMaterials=[];var l,c=Object(s.a)(e.activityMaterials);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.activityMaterials.push(lt.fromJS(d))}}catch(u){c.e(u)}finally{c.f()}}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).title=this.title,e.description=this.description,e.note=this.note,e.isSelfValidateAllowed=this.isSelfValidateAllowed,Array.isArray(this.activityCompetencies)){e.activityCompetencies=[];var t,n=Object(s.a)(this.activityCompetencies);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.activityCompetencies.push(i.toJSON())}}catch(u){n.e(u)}finally{n.f()}}if(Array.isArray(this.activityTags)){e.activityTags=[];var a,r=Object(s.a)(this.activityTags);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.activityTags.push(o.toJSON())}}catch(u){r.e(u)}finally{r.f()}}if(Array.isArray(this.activityMaterials)){e.activityMaterials=[];var l,c=Object(s.a)(this.activityMaterials);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.activityMaterials.push(d.toJSON())}}catch(u){c.e(u)}finally{c.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Sa=function(){function e(t){if(Object(l.a)(this,e),this.name=void 0,this.isPublic=void 0,this.isReadOnly=void 0,this.filter=void 0,this.createdBy=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.name=e.name,this.isPublic=e.isPublic,this.isReadOnly=e.isReadOnly,this.filter=e.filter,this.createdBy=e.createdBy)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).name=this.name,e.isPublic=this.isPublic,e.isReadOnly=this.isReadOnly,e.filter=this.filter,e.createdBy=this.createdBy,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Oa=function(){function e(t){if(Object(l.a)(this,e),this.name=void 0,this.description=void 0,this.isActive=void 0,this.htmlBody=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.name=e.name,this.description=e.description,this.isActive=e.isActive,this.htmlBody=e.htmlBody)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).name=this.name,e.description=this.description,e.isActive=this.isActive,e.htmlBody=this.htmlBody,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Ca=function(){function e(t){if(Object(l.a)(this,e),this.name=void 0,this.address=void 0,this.city=void 0,this.countryId=void 0,this.stateId=void 0,this.zip=void 0,this.phone=void 0,this.timezoneId=void 0,this.isActive=void 0,this.code=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.name=e.name,this.address=e.address,this.city=e.city,this.countryId=e.countryId,this.stateId=e.stateId,this.zip=e.zip,this.phone=e.phone,this.timezoneId=e.timezoneId,this.isActive=e.isActive,this.code=e.code)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).name=this.name,e.address=this.address,e.city=this.city,e.countryId=this.countryId,e.stateId=this.stateId,e.zip=this.zip,e.phone=this.phone,e.timezoneId=this.timezoneId,e.isActive=this.isActive,e.code=this.code,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),ja=function(){function e(t){if(Object(l.a)(this,e),this.attendanceForm=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.attendanceForm=e.attendanceForm?xa.fromJS(e.attendanceForm):void 0)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).attendanceForm=this.attendanceForm?this.attendanceForm.toJSON():void 0,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),xa=function(){function e(t){if(Object(l.a)(this,e),this.name=void 0,this.isActive=void 0,this.isSystem=void 0,this.isDefault=void 0,this.headerIncludeFirmLogo=void 0,this.headerTitle=void 0,this.headerFirmName=void 0,this.headerOptions=void 0,this.headerText=void 0,this.footerOptions=void 0,this.footerText=void 0,this.blankSignatureLinesNumber=void 0,this.includeInstructorSignatureOnFirstRow=void 0,this.includeMiddleName=void 0,this.columns=void 0,this.information=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.name=e.name,this.isActive=e.isActive,this.isSystem=e.isSystem,this.isDefault=e.isDefault,this.headerIncludeFirmLogo=e.headerIncludeFirmLogo,this.headerTitle=e.headerTitle,this.headerFirmName=e.headerFirmName,this.headerOptions=e.headerOptions,this.headerText=e.headerText,this.footerOptions=e.footerOptions,this.footerText=e.footerText,this.blankSignatureLinesNumber=e.blankSignatureLinesNumber,this.includeInstructorSignatureOnFirstRow=e.includeInstructorSignatureOnFirstRow,this.includeMiddleName=e.includeMiddleName,Array.isArray(e.columns)){this.columns=[];var t,n=Object(s.a)(e.columns);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.columns.push(yn.fromJS(i))}}catch(l){n.e(l)}finally{n.f()}}if(Array.isArray(e.information)){this.information=[];var a,r=Object(s.a)(e.information);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.information.push(In.fromJS(o))}}catch(l){r.e(l)}finally{r.f()}}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).name=this.name,e.isActive=this.isActive,e.isSystem=this.isSystem,e.isDefault=this.isDefault,e.headerIncludeFirmLogo=this.headerIncludeFirmLogo,e.headerTitle=this.headerTitle,e.headerFirmName=this.headerFirmName,e.headerOptions=this.headerOptions,e.headerText=this.headerText,e.footerOptions=this.footerOptions,e.footerText=this.footerText,e.blankSignatureLinesNumber=this.blankSignatureLinesNumber,e.includeInstructorSignatureOnFirstRow=this.includeInstructorSignatureOnFirstRow,e.includeMiddleName=this.includeMiddleName,Array.isArray(this.columns)){e.columns=[];var t,n=Object(s.a)(this.columns);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.columns.push(i.toJSON())}}catch(l){n.e(l)}finally{n.f()}}if(Array.isArray(this.information)){e.information=[];var a,r=Object(s.a)(this.information);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.information.push(o.toJSON())}}catch(l){r.e(l)}finally{r.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Aa=function(){function e(t){if(Object(l.a)(this,e),this.name=void 0,this.isPublic=void 0,this.isReadOnly=void 0,this.filter=void 0,this.createdBy=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.name=e.name,this.isPublic=e.isPublic,this.isReadOnly=e.isReadOnly,this.filter=e.filter,this.createdBy=e.createdBy)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).name=this.name,e.isPublic=this.isPublic,e.isReadOnly=this.isReadOnly,e.filter=this.filter,e.createdBy=this.createdBy,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Ta=function(){function e(t){if(Object(l.a)(this,e),this.certificate=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.certificate=e.certificate?wa.fromJS(e.certificate):void 0)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).certificate=this.certificate?this.certificate.toJSON():void 0,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),wa=function(){function e(t){if(Object(l.a)(this,e),this.name=void 0,this.description=void 0,this.licenseId=void 0,this.templateId=void 0,this.isActive=void 0,this.includeFirmLogo=void 0,this.firmLogoId=void 0,this.includeFirmName=void 0,this.firmName=void 0,this.locationId=void 0,this.includeBarNumber=void 0,this.includeMiddleName=void 0,this.includeInstructorName=void 0,this.includeLocation=void 0,this.includeCity=void 0,this.includeState=void 0,this.includeTime=void 0,this.includeApprovalCode=void 0,this.includeParticipantSignature=void 0,this.includeValidatorSignatureLine=void 0,this.validatorName=void 0,this.validatorTitle=void 0,this.validatorPhoneNumber=void 0,this.validatorEmail=void 0,this.validatorSignatureId=void 0,this.accreditedProvider=void 0,this.additionalText=void 0,this.isSystem=void 0,this.htmlBody=void 0,this.cleProviderValue=void 0,this.cleProviderDate=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.name=e.name,this.description=e.description,this.licenseId=e.licenseId,this.templateId=e.templateId,this.isActive=e.isActive,this.includeFirmLogo=e.includeFirmLogo,this.firmLogoId=e.firmLogoId,this.includeFirmName=e.includeFirmName,this.firmName=e.firmName,this.locationId=e.locationId,this.includeBarNumber=e.includeBarNumber,this.includeMiddleName=e.includeMiddleName,this.includeInstructorName=e.includeInstructorName,this.includeLocation=e.includeLocation,this.includeCity=e.includeCity,this.includeState=e.includeState,this.includeTime=e.includeTime,this.includeApprovalCode=e.includeApprovalCode,this.includeParticipantSignature=e.includeParticipantSignature,this.includeValidatorSignatureLine=e.includeValidatorSignatureLine,this.validatorName=e.validatorName,this.validatorTitle=e.validatorTitle,this.validatorPhoneNumber=e.validatorPhoneNumber,this.validatorEmail=e.validatorEmail,this.validatorSignatureId=e.validatorSignatureId,this.accreditedProvider=e.accreditedProvider,this.additionalText=e.additionalText,this.isSystem=e.isSystem,this.htmlBody=e.htmlBody,this.cleProviderValue=e.cleProviderValue,this.cleProviderDate=e.cleProviderDate?new Date(e.cleProviderDate.toString()):void 0)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).name=this.name,e.description=this.description,e.licenseId=this.licenseId,e.templateId=this.templateId,e.isActive=this.isActive,e.includeFirmLogo=this.includeFirmLogo,e.firmLogoId=this.firmLogoId,e.includeFirmName=this.includeFirmName,e.firmName=this.firmName,e.locationId=this.locationId,e.includeBarNumber=this.includeBarNumber,e.includeMiddleName=this.includeMiddleName,e.includeInstructorName=this.includeInstructorName,e.includeLocation=this.includeLocation,e.includeCity=this.includeCity,e.includeState=this.includeState,e.includeTime=this.includeTime,e.includeApprovalCode=this.includeApprovalCode,e.includeParticipantSignature=this.includeParticipantSignature,e.includeValidatorSignatureLine=this.includeValidatorSignatureLine,e.validatorName=this.validatorName,e.validatorTitle=this.validatorTitle,e.validatorPhoneNumber=this.validatorPhoneNumber,e.validatorEmail=this.validatorEmail,e.validatorSignatureId=this.validatorSignatureId,e.accreditedProvider=this.accreditedProvider,e.additionalText=this.additionalText,e.isSystem=this.isSystem,e.htmlBody=this.htmlBody,e.cleProviderValue=this.cleProviderValue,e.cleProviderDate=this.cleProviderDate?this.cleProviderDate.toISOString():void 0,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),ka=function(){function e(t){if(Object(l.a)(this,e),this.name=void 0,this.isActive=void 0,this.code=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.name=e.name,this.isActive=e.isActive,this.code=e.code)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).name=this.name,e.isActive=this.isActive,e.code=this.code,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Pa=function(){function e(t){if(Object(l.a)(this,e),this.name=void 0,this.isActive=void 0,this.code=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.name=e.name,this.isActive=e.isActive,this.code=e.code)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).name=this.name,e.isActive=this.isActive,e.code=this.code,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Na=function(){function e(t){if(Object(l.a)(this,e),this.title=void 0,this.userInstruction=void 0,this.competencyFrameworkLicenses=void 0,this.categories=void 0,this.subCategories=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.title=e.title,this.userInstruction=e.userInstruction,Array.isArray(e.competencyFrameworkLicenses)){this.competencyFrameworkLicenses=[];var t,n=Object(s.a)(e.competencyFrameworkLicenses);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.competencyFrameworkLicenses.push(oi.fromJS(i))}}catch(u){n.e(u)}finally{n.f()}}if(Array.isArray(e.categories)){this.categories=[];var a,r=Object(s.a)(e.categories);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.categories.push(ni.fromJS(o))}}catch(u){r.e(u)}finally{r.f()}}if(Array.isArray(e.subCategories)){this.subCategories=[];var l,c=Object(s.a)(e.subCategories);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.subCategories.push(ci.fromJS(d))}}catch(u){c.e(u)}finally{c.f()}}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).title=this.title,e.userInstruction=this.userInstruction,Array.isArray(this.competencyFrameworkLicenses)){e.competencyFrameworkLicenses=[];var t,n=Object(s.a)(this.competencyFrameworkLicenses);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.competencyFrameworkLicenses.push(i.toJSON())}}catch(u){n.e(u)}finally{n.f()}}if(Array.isArray(this.categories)){e.categories=[];var a,r=Object(s.a)(this.categories);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.categories.push(o.toJSON())}}catch(u){r.e(u)}finally{r.f()}}if(Array.isArray(this.subCategories)){e.subCategories=[];var l,c=Object(s.a)(this.subCategories);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.subCategories.push(d.toJSON())}}catch(u){c.e(u)}finally{c.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Da=function(){function e(t){if(Object(l.a)(this,e),this.name=void 0,this.isPublic=void 0,this.isReadOnly=void 0,this.filter=void 0,this.createdBy=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.name=e.name,this.isPublic=e.isPublic,this.isReadOnly=e.isReadOnly,this.filter=e.filter,this.createdBy=e.createdBy)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).name=this.name,e.isPublic=this.isPublic,e.isReadOnly=this.isReadOnly,e.filter=this.filter,e.createdBy=this.createdBy,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),La=function(){function e(t){if(Object(l.a)(this,e),this.title=void 0,this.courseCode=void 0,this.providerId=void 0,this.note=void 0,this.description=void 0,this.courseClassYear=void 0,this.courseCompetency=void 0,this.courseDepartment=void 0,this.courseLevel=void 0,this.coursePracticeArea=void 0,this.courseTag=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.title=e.title,this.courseCode=e.courseCode,this.providerId=e.providerId,this.note=e.note,this.description=e.description,Array.isArray(e.courseClassYear)){this.courseClassYear=[];var t,n=Object(s.a)(e.courseClassYear);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.courseClassYear.push(i)}}catch(E){n.e(E)}finally{n.f()}}if(Array.isArray(e.courseCompetency)){this.courseCompetency=[];var a,r=Object(s.a)(e.courseCompetency);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.courseCompetency.push(o)}}catch(E){r.e(E)}finally{r.f()}}if(Array.isArray(e.courseDepartment)){this.courseDepartment=[];var l,c=Object(s.a)(e.courseDepartment);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.courseDepartment.push(d)}}catch(E){c.e(E)}finally{c.f()}}if(Array.isArray(e.courseLevel)){this.courseLevel=[];var u,m=Object(s.a)(e.courseLevel);try{for(m.s();!(u=m.n()).done;){var v=u.value;this.courseLevel.push(v)}}catch(E){m.e(E)}finally{m.f()}}if(Array.isArray(e.coursePracticeArea)){this.coursePracticeArea=[];var f,p=Object(s.a)(e.coursePracticeArea);try{for(p.s();!(f=p.n()).done;){var h=f.value;this.coursePracticeArea.push(h)}}catch(E){p.e(E)}finally{p.f()}}if(Array.isArray(e.courseTag)){this.courseTag=[];var y,b=Object(s.a)(e.courseTag);try{for(b.s();!(y=b.n()).done;){var g=y.value;this.courseTag.push(g)}}catch(E){b.e(E)}finally{b.f()}}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).title=this.title,e.courseCode=this.courseCode,e.providerId=this.providerId,e.note=this.note,e.description=this.description,Array.isArray(this.courseClassYear)){e.courseClassYear=[];var t,n=Object(s.a)(this.courseClassYear);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.courseClassYear.push(i)}}catch(E){n.e(E)}finally{n.f()}}if(Array.isArray(this.courseCompetency)){e.courseCompetency=[];var a,r=Object(s.a)(this.courseCompetency);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.courseCompetency.push(o)}}catch(E){r.e(E)}finally{r.f()}}if(Array.isArray(this.courseDepartment)){e.courseDepartment=[];var l,c=Object(s.a)(this.courseDepartment);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.courseDepartment.push(d)}}catch(E){c.e(E)}finally{c.f()}}if(Array.isArray(this.courseLevel)){e.courseLevel=[];var u,m=Object(s.a)(this.courseLevel);try{for(m.s();!(u=m.n()).done;){var v=u.value;e.courseLevel.push(v)}}catch(E){m.e(E)}finally{m.f()}}if(Array.isArray(this.coursePracticeArea)){e.coursePracticeArea=[];var f,p=Object(s.a)(this.coursePracticeArea);try{for(p.s();!(f=p.n()).done;){var h=f.value;e.coursePracticeArea.push(h)}}catch(E){p.e(E)}finally{p.f()}}if(Array.isArray(this.courseTag)){e.courseTag=[];var y,b=Object(s.a)(this.courseTag);try{for(b.s();!(y=b.n()).done;){var g=y.value;e.courseTag.push(g)}}catch(E){b.e(E)}finally{b.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Fa=function(){function e(t){if(Object(l.a)(this,e),this.title=void 0,this.courseIdLabel=void 0,this.providerId=void 0,this.note=void 0,this.description=void 0,this.courseClassYear=void 0,this.courseCompetency=void 0,this.courseDepartment=void 0,this.courseLevel=void 0,this.coursePracticeArea=void 0,this.courseTag=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.title=e.title,this.courseIdLabel=e.courseIdLabel,this.providerId=e.providerId,this.note=e.note,this.description=e.description,Array.isArray(e.courseClassYear)){this.courseClassYear=[];var t,n=Object(s.a)(e.courseClassYear);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.courseClassYear.push(i)}}catch(E){n.e(E)}finally{n.f()}}if(Array.isArray(e.courseCompetency)){this.courseCompetency=[];var a,r=Object(s.a)(e.courseCompetency);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.courseCompetency.push(o)}}catch(E){r.e(E)}finally{r.f()}}if(Array.isArray(e.courseDepartment)){this.courseDepartment=[];var l,c=Object(s.a)(e.courseDepartment);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.courseDepartment.push(d)}}catch(E){c.e(E)}finally{c.f()}}if(Array.isArray(e.courseLevel)){this.courseLevel=[];var u,m=Object(s.a)(e.courseLevel);try{for(m.s();!(u=m.n()).done;){var v=u.value;this.courseLevel.push(v)}}catch(E){m.e(E)}finally{m.f()}}if(Array.isArray(e.coursePracticeArea)){this.coursePracticeArea=[];var f,p=Object(s.a)(e.coursePracticeArea);try{for(p.s();!(f=p.n()).done;){var h=f.value;this.coursePracticeArea.push(h)}}catch(E){p.e(E)}finally{p.f()}}if(Array.isArray(e.courseTag)){this.courseTag=[];var y,b=Object(s.a)(e.courseTag);try{for(b.s();!(y=b.n()).done;){var g=y.value;this.courseTag.push(g)}}catch(E){b.e(E)}finally{b.f()}}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).title=this.title,e.courseIdLabel=this.courseIdLabel,e.providerId=this.providerId,e.note=this.note,e.description=this.description,Array.isArray(this.courseClassYear)){e.courseClassYear=[];var t,n=Object(s.a)(this.courseClassYear);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.courseClassYear.push(i)}}catch(E){n.e(E)}finally{n.f()}}if(Array.isArray(this.courseCompetency)){e.courseCompetency=[];var a,r=Object(s.a)(this.courseCompetency);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.courseCompetency.push(o)}}catch(E){r.e(E)}finally{r.f()}}if(Array.isArray(this.courseDepartment)){e.courseDepartment=[];var l,c=Object(s.a)(this.courseDepartment);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.courseDepartment.push(d)}}catch(E){c.e(E)}finally{c.f()}}if(Array.isArray(this.courseLevel)){e.courseLevel=[];var u,m=Object(s.a)(this.courseLevel);try{for(m.s();!(u=m.n()).done;){var v=u.value;e.courseLevel.push(v)}}catch(E){m.e(E)}finally{m.f()}}if(Array.isArray(this.coursePracticeArea)){e.coursePracticeArea=[];var f,p=Object(s.a)(this.coursePracticeArea);try{for(p.s();!(f=p.n()).done;){var h=f.value;e.coursePracticeArea.push(h)}}catch(E){p.e(E)}finally{p.f()}}if(Array.isArray(this.courseTag)){e.courseTag=[];var y,b=Object(s.a)(this.courseTag);try{for(b.s();!(y=b.n()).done;){var g=y.value;e.courseTag.push(g)}}catch(E){b.e(E)}finally{b.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Ba=function(){function e(t){if(Object(l.a)(this,e),this.fileId=void 0,this.title=void 0,this.providerId=void 0,this.originalLiveDate=void 0,this.courseFormatId=void 0,this.mediaTypeId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.fileId=e.fileId,this.title=e.title,this.providerId=e.providerId,this.originalLiveDate=e.originalLiveDate?new Date(e.originalLiveDate.toString()):void 0,this.courseFormatId=e.courseFormatId,this.mediaTypeId=e.mediaTypeId)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).fileId=this.fileId,e.title=this.title,e.providerId=this.providerId,e.originalLiveDate=this.originalLiveDate?this.originalLiveDate.toISOString():void 0,e.courseFormatId=this.courseFormatId,e.mediaTypeId=this.mediaTypeId,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Ra=function(){function e(t){if(Object(l.a)(this,e),this.name=void 0,this.isPublic=void 0,this.isReadOnly=void 0,this.filter=void 0,this.createdBy=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.name=e.name,this.isPublic=e.isPublic,this.isReadOnly=e.isReadOnly,this.filter=e.filter,this.createdBy=e.createdBy)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).name=this.name,e.isPublic=this.isPublic,e.isReadOnly=this.isReadOnly,e.filter=this.filter,e.createdBy=this.createdBy,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Ja=function(){function e(t){if(Object(l.a)(this,e),this.courses=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&Array.isArray(e.courses)){this.courses=[];var t,n=Object(s.a)(e.courses);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.courses.push(Ba.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.courses)){e.courses=[];var t,n=Object(s.a)(this.courses);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.courses.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Ga=function(){function e(t){if(Object(l.a)(this,e),this.sessions=void 0,this.sessionRecurrencePattern=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.sessions)){this.sessions=[];var t,n=Object(s.a)(e.sessions);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.sessions.push(Ir.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}this.sessionRecurrencePattern=e.sessionRecurrencePattern?ug.fromJS(e.sessionRecurrencePattern):void 0}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.sessions)){e.sessions=[];var t,n=Object(s.a)(this.sessions);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.sessions.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e.sessionRecurrencePattern=this.sessionRecurrencePattern?this.sessionRecurrencePattern.toJSON():void 0,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Ua=function(){function e(t){if(Object(l.a)(this,e),this.userId=void 0,this.isInstructor=void 0,this.certificateFileId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.userId=e.userId,this.isInstructor=e.isInstructor,this.certificateFileId=e.certificateFileId)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).userId=this.userId,e.isInstructor=this.isInstructor,e.certificateFileId=this.certificateFileId,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),za=function(){function e(t){if(Object(l.a)(this,e),this.name=void 0,this.isActive=void 0,this.code=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.name=e.name,this.isActive=e.isActive,this.code=e.code)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).name=this.name,e.isActive=this.isActive,e.code=this.code,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),qa=function(){function e(t){if(Object(l.a)(this,e),this.name=void 0,this.isActive=void 0,this.code=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.name=e.name,this.isActive=e.isActive,this.code=e.code)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).name=this.name,e.isActive=this.isActive,e.code=this.code,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Ma=function(){function e(t){if(Object(l.a)(this,e),this.subject=void 0,this.htmlBody=void 0,this.textBody=void 0,this.replyToUserId=void 0,this.senderId=void 0,this.emailTemplateId=void 0,this.emailTemplate=void 0,this.emailTypeId=void 0,this.emailType=void 0,this.emailAlias=void 0,this.emailParameterId=void 0,this.key=void 0,this.sendSeparateCCCopy=void 0,this.emailParameter=void 0,this.licenses=void 0,this.courses=void 0,this.learningPlans=void 0,this.to=void 0,this.cc=void 0,this.bcc=void 0,this.attachments=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.subject=e.subject,this.htmlBody=e.htmlBody,this.textBody=e.textBody,this.replyToUserId=e.replyToUserId,this.senderId=e.senderId,this.emailTemplateId=e.emailTemplateId,this.emailTemplate=e.emailTemplate?ws.fromJS(e.emailTemplate):void 0,this.emailTypeId=e.emailTypeId,this.emailType=e.emailType?Rs.fromJS(e.emailType):void 0,this.emailAlias=e.emailAlias,this.emailParameterId=e.emailParameterId,this.key=e.key,this.sendSeparateCCCopy=e.sendSeparateCCCopy,this.emailParameter=e.emailParameter?Es.fromJS(e.emailParameter):void 0,Array.isArray(e.licenses)){this.licenses=[];var t,n=Object(s.a)(e.licenses);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.licenses.push(bs.fromJS(i))}}catch(O){n.e(O)}finally{n.f()}}if(Array.isArray(e.courses)){this.courses=[];var a,r=Object(s.a)(e.courses);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.courses.push(ps.fromJS(o))}}catch(O){r.e(O)}finally{r.f()}}if(Array.isArray(e.learningPlans)){this.learningPlans=[];var l,c=Object(s.a)(e.learningPlans);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.learningPlans.push(ys.fromJS(d))}}catch(O){c.e(O)}finally{c.f()}}if(Array.isArray(e.to)){this.to=[];var u,m=Object(s.a)(e.to);try{for(m.s();!(u=m.n()).done;){var v=u.value;this.to.push(Is.fromJS(v))}}catch(O){m.e(O)}finally{m.f()}}if(Array.isArray(e.cc)){this.cc=[];var f,p=Object(s.a)(e.cc);try{for(p.s();!(f=p.n()).done;){var h=f.value;this.cc.push(Ss.fromJS(h))}}catch(O){p.e(O)}finally{p.f()}}if(Array.isArray(e.bcc)){this.bcc=[];var y,b=Object(s.a)(e.bcc);try{for(b.s();!(y=b.n()).done;){var g=y.value;this.bcc.push(Ss.fromJS(g))}}catch(O){b.e(O)}finally{b.f()}}if(Array.isArray(e.attachments)){this.attachments=[];var E,I=Object(s.a)(e.attachments);try{for(I.s();!(E=I.n()).done;){var S=E.value;this.attachments.push(vs.fromJS(S))}}catch(O){I.e(O)}finally{I.f()}}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).subject=this.subject,e.htmlBody=this.htmlBody,e.textBody=this.textBody,e.replyToUserId=this.replyToUserId,e.senderId=this.senderId,e.emailTemplateId=this.emailTemplateId,e.emailTemplate=this.emailTemplate?this.emailTemplate.toJSON():void 0,e.emailTypeId=this.emailTypeId,e.emailType=this.emailType?this.emailType.toJSON():void 0,e.emailAlias=this.emailAlias,e.emailParameterId=this.emailParameterId,e.key=this.key,e.sendSeparateCCCopy=this.sendSeparateCCCopy,e.emailParameter=this.emailParameter?this.emailParameter.toJSON():void 0,Array.isArray(this.licenses)){e.licenses=[];var t,n=Object(s.a)(this.licenses);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.licenses.push(i.toJSON())}}catch(O){n.e(O)}finally{n.f()}}if(Array.isArray(this.courses)){e.courses=[];var a,r=Object(s.a)(this.courses);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.courses.push(o.toJSON())}}catch(O){r.e(O)}finally{r.f()}}if(Array.isArray(this.learningPlans)){e.learningPlans=[];var l,c=Object(s.a)(this.learningPlans);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.learningPlans.push(d.toJSON())}}catch(O){c.e(O)}finally{c.f()}}if(Array.isArray(this.to)){e.to=[];var u,m=Object(s.a)(this.to);try{for(m.s();!(u=m.n()).done;){var v=u.value;e.to.push(v.toJSON())}}catch(O){m.e(O)}finally{m.f()}}if(Array.isArray(this.cc)){e.cc=[];var f,p=Object(s.a)(this.cc);try{for(p.s();!(f=p.n()).done;){var h=f.value;e.cc.push(h.toJSON())}}catch(O){p.e(O)}finally{p.f()}}if(Array.isArray(this.bcc)){e.bcc=[];var y,b=Object(s.a)(this.bcc);try{for(b.s();!(y=b.n()).done;){var g=y.value;e.bcc.push(g.toJSON())}}catch(O){b.e(O)}finally{b.f()}}if(Array.isArray(this.attachments)){e.attachments=[];var E,I=Object(s.a)(this.attachments);try{for(I.s();!(E=I.n()).done;){var S=E.value;e.attachments.push(S.toJSON())}}catch(O){I.e(O)}finally{I.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Wa=function(){function e(t){if(Object(l.a)(this,e),this.subject=void 0,this.htmlBody=void 0,this.textBody=void 0,this.replyToUserId=void 0,this.senderId=void 0,this.emailTemplateId=void 0,this.emailTemplate=void 0,this.emailTypeId=void 0,this.emailType=void 0,this.emailAlias=void 0,this.emailParameterId=void 0,this.key=void 0,this.sendSeparateCCCopy=void 0,this.emailParameter=void 0,this.licenses=void 0,this.courses=void 0,this.sessions=void 0,this.learningPlans=void 0,this.to=void 0,this.cc=void 0,this.bcc=void 0,this.attachments=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.subject=e.subject,this.htmlBody=e.htmlBody,this.textBody=e.textBody,this.replyToUserId=e.replyToUserId,this.senderId=e.senderId,this.emailTemplateId=e.emailTemplateId,this.emailTemplate=e.emailTemplate?ws.fromJS(e.emailTemplate):void 0,this.emailTypeId=e.emailTypeId,this.emailType=e.emailType?Rs.fromJS(e.emailType):void 0,this.emailAlias=e.emailAlias,this.emailParameterId=e.emailParameterId,this.key=e.key,this.sendSeparateCCCopy=e.sendSeparateCCCopy,this.emailParameter=e.emailParameter?Es.fromJS(e.emailParameter):void 0,Array.isArray(e.licenses)){this.licenses=[];var t,n=Object(s.a)(e.licenses);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.licenses.push(bs.fromJS(i))}}catch(x){n.e(x)}finally{n.f()}}if(Array.isArray(e.courses)){this.courses=[];var a,r=Object(s.a)(e.courses);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.courses.push(ps.fromJS(o))}}catch(x){r.e(x)}finally{r.f()}}if(Array.isArray(e.sessions)){this.sessions=[];var l,c=Object(s.a)(e.sessions);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.sessions.push(xs.fromJS(d))}}catch(x){c.e(x)}finally{c.f()}}if(Array.isArray(e.learningPlans)){this.learningPlans=[];var u,m=Object(s.a)(e.learningPlans);try{for(m.s();!(u=m.n()).done;){var v=u.value;this.learningPlans.push(ys.fromJS(v))}}catch(x){m.e(x)}finally{m.f()}}if(Array.isArray(e.to)){this.to=[];var f,p=Object(s.a)(e.to);try{for(p.s();!(f=p.n()).done;){var h=f.value;this.to.push(Ss.fromJS(h))}}catch(x){p.e(x)}finally{p.f()}}if(Array.isArray(e.cc)){this.cc=[];var y,b=Object(s.a)(e.cc);try{for(b.s();!(y=b.n()).done;){var g=y.value;this.cc.push(Ss.fromJS(g))}}catch(x){b.e(x)}finally{b.f()}}if(Array.isArray(e.bcc)){this.bcc=[];var E,I=Object(s.a)(e.bcc);try{for(I.s();!(E=I.n()).done;){var S=E.value;this.bcc.push(Ss.fromJS(S))}}catch(x){I.e(x)}finally{I.f()}}if(Array.isArray(e.attachments)){this.attachments=[];var O,C=Object(s.a)(e.attachments);try{for(C.s();!(O=C.n()).done;){var j=O.value;this.attachments.push(vs.fromJS(j))}}catch(x){C.e(x)}finally{C.f()}}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).subject=this.subject,e.htmlBody=this.htmlBody,e.textBody=this.textBody,e.replyToUserId=this.replyToUserId,e.senderId=this.senderId,e.emailTemplateId=this.emailTemplateId,e.emailTemplate=this.emailTemplate?this.emailTemplate.toJSON():void 0,e.emailTypeId=this.emailTypeId,e.emailType=this.emailType?this.emailType.toJSON():void 0,e.emailAlias=this.emailAlias,e.emailParameterId=this.emailParameterId,e.key=this.key,e.sendSeparateCCCopy=this.sendSeparateCCCopy,e.emailParameter=this.emailParameter?this.emailParameter.toJSON():void 0,Array.isArray(this.licenses)){e.licenses=[];var t,n=Object(s.a)(this.licenses);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.licenses.push(i.toJSON())}}catch(x){n.e(x)}finally{n.f()}}if(Array.isArray(this.courses)){e.courses=[];var a,r=Object(s.a)(this.courses);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.courses.push(o.toJSON())}}catch(x){r.e(x)}finally{r.f()}}if(Array.isArray(this.sessions)){e.sessions=[];var l,c=Object(s.a)(this.sessions);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.sessions.push(d.toJSON())}}catch(x){c.e(x)}finally{c.f()}}if(Array.isArray(this.learningPlans)){e.learningPlans=[];var u,m=Object(s.a)(this.learningPlans);try{for(m.s();!(u=m.n()).done;){var v=u.value;e.learningPlans.push(v.toJSON())}}catch(x){m.e(x)}finally{m.f()}}if(Array.isArray(this.to)){e.to=[];var f,p=Object(s.a)(this.to);try{for(p.s();!(f=p.n()).done;){var h=f.value;e.to.push(h.toJSON())}}catch(x){p.e(x)}finally{p.f()}}if(Array.isArray(this.cc)){e.cc=[];var y,b=Object(s.a)(this.cc);try{for(b.s();!(y=b.n()).done;){var g=y.value;e.cc.push(g.toJSON())}}catch(x){b.e(x)}finally{b.f()}}if(Array.isArray(this.bcc)){e.bcc=[];var E,I=Object(s.a)(this.bcc);try{for(I.s();!(E=I.n()).done;){var S=E.value;e.bcc.push(S.toJSON())}}catch(x){I.e(x)}finally{I.f()}}if(Array.isArray(this.attachments)){e.attachments=[];var O,C=Object(s.a)(this.attachments);try{for(C.s();!(O=C.n()).done;){var j=O.value;e.attachments.push(j.toJSON())}}catch(x){C.e(x)}finally{C.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Va=function(){function e(t){if(Object(l.a)(this,e),this.name=void 0,this.description=void 0,this.subject=void 0,this.body=void 0,this.emailTypeId=void 0,this.emailAlias=void 0,this.replyToUserId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.name=e.name,this.description=e.description,this.subject=e.subject,this.body=e.body,this.emailTypeId=e.emailTypeId,this.emailAlias=e.emailAlias,this.replyToUserId=e.replyToUserId)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).name=this.name,e.description=this.description,e.subject=this.subject,e.body=this.body,e.emailTypeId=this.emailTypeId,e.emailAlias=this.emailAlias,e.replyToUserId=this.replyToUserId,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),_a=function(){function e(t){if(Object(l.a)(this,e),this.name=void 0,this.isActive=void 0,this.code=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.name=e.name,this.isActive=e.isActive,this.code=e.code)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).name=this.name,e.isActive=this.isActive,e.code=this.code,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Ya=function(){function e(t){if(Object(l.a)(this,e),this.evaluationId=void 0,this.name=void 0,this.instructions=void 0,this.isActive=void 0,this.sectionFormNumberStyleCode=void 0,this.questionFormNumberStyleCode=void 0,this.gridQuestionFormNumberStyleCode=void 0,this.evaluationFormNumberExcludes=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&(this.evaluationId=e.evaluationId,this.name=e.name,this.instructions=e.instructions,this.isActive=e.isActive,this.sectionFormNumberStyleCode=e.sectionFormNumberStyleCode,this.questionFormNumberStyleCode=e.questionFormNumberStyleCode,this.gridQuestionFormNumberStyleCode=e.gridQuestionFormNumberStyleCode,Array.isArray(e.evaluationFormNumberExcludes))){this.evaluationFormNumberExcludes=[];var t,n=Object(s.a)(e.evaluationFormNumberExcludes);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.evaluationFormNumberExcludes.push(Ws.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).evaluationId=this.evaluationId,e.name=this.name,e.instructions=this.instructions,e.isActive=this.isActive,e.sectionFormNumberStyleCode=this.sectionFormNumberStyleCode,e.questionFormNumberStyleCode=this.questionFormNumberStyleCode,e.gridQuestionFormNumberStyleCode=this.gridQuestionFormNumberStyleCode,Array.isArray(this.evaluationFormNumberExcludes)){e.evaluationFormNumberExcludes=[];var t,n=Object(s.a)(this.evaluationFormNumberExcludes);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.evaluationFormNumberExcludes.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Ha=function(){function e(t){if(Object(l.a)(this,e),this.evaluationId=void 0,this.sectionId=void 0,this.questionTypeCode=void 0,this.name=void 0,this.text=void 0,this.sequence=void 0,this.required=void 0,this.instructor=void 0,this.enableComments=void 0,this.requiredComments=void 0,this.commentTitle=void 0,this.content=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.evaluationId=e.evaluationId,this.sectionId=e.sectionId,this.questionTypeCode=e.questionTypeCode,this.name=e.name,this.text=e.text,this.sequence=e.sequence,this.required=e.required,this.instructor=e.instructor,this.enableComments=e.enableComments,this.requiredComments=e.requiredComments,this.commentTitle=e.commentTitle,this.content=e.content)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).evaluationId=this.evaluationId,e.sectionId=this.sectionId,e.questionTypeCode=this.questionTypeCode,e.name=this.name,e.text=this.text,e.sequence=this.sequence,e.required=this.required,e.instructor=this.instructor,e.enableComments=this.enableComments,e.requiredComments=this.requiredComments,e.commentTitle=this.commentTitle,e.content=this.content,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),$a=function(){function e(t){if(Object(l.a)(this,e),this.evaluationId=void 0,this.name=void 0,this.text=void 0,this.sequence=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.evaluationId=e.evaluationId,this.name=e.name,this.text=e.text,this.sequence=e.sequence)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).evaluationId=this.evaluationId,e.name=this.name,e.text=this.text,e.sequence=this.sequence,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Qa=function(){function e(t){if(Object(l.a)(this,e),this.name=void 0,this.isActive=void 0,this.code=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.name=e.name,this.isActive=e.isActive,this.code=e.code)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).name=this.name,e.isActive=this.isActive,e.code=this.code,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Za=function(){function e(t){if(Object(l.a)(this,e),this.title=void 0,this.size=void 0,this.fileName=void 0,this.type=void 0,this.key=void 0,this.status=void 0,this.scormCourseId=void 0,this.url=void 0,this.duration=void 0,this.scormType=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.title=e.title,this.size=e.size,this.fileName=e.fileName,this.type=e.type,this.key=e.key,this.status=e.status,this.scormCourseId=e.scormCourseId,this.url=e.url,this.duration=e.duration,this.scormType=e.scormType)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).title=this.title,e.size=this.size,e.fileName=this.fileName,e.type=this.type,e.key=this.key,e.status=this.status,e.scormCourseId=this.scormCourseId,e.url=this.url,e.duration=this.duration,e.scormType=this.scormType,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Xa=function(){function e(t){if(Object(l.a)(this,e),this.name=void 0,this.isActive=void 0,this.code=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.name=e.name,this.isActive=e.isActive,this.code=e.code)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).name=this.name,e.isActive=this.isActive,e.code=this.code,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Ka=function(){function e(t){if(Object(l.a)(this,e),this.title=void 0,this.description=void 0,this.notes=void 0,this.type=void 0,this.timeframeOfCompletion=void 0,this.startDate=void 0,this.endDate=void 0,this.duration=void 0,this.durationType=void 0,this.requiredCourses=void 0,this.isSelfEnrolled=void 0,this.addParticipantEmail=void 0,this.deleteParticipantEmail=void 0,this.updateParticipantStatusEmail=void 0,this.learningPlanActivities=void 0,this.learningPlanCompetencies=void 0,this.learningPlanCourses=void 0,this.learningPlanTags=void 0,this.learningPlanMaterials=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.title=e.title,this.description=e.description,this.notes=e.notes,this.type=e.type,this.timeframeOfCompletion=e.timeframeOfCompletion,this.startDate=e.startDate?new Date(e.startDate.toString()):void 0,this.endDate=e.endDate?new Date(e.endDate.toString()):void 0,this.duration=e.duration,this.durationType=e.durationType,this.requiredCourses=e.requiredCourses,this.isSelfEnrolled=e.isSelfEnrolled,this.addParticipantEmail=e.addParticipantEmail,this.deleteParticipantEmail=e.deleteParticipantEmail,this.updateParticipantStatusEmail=e.updateParticipantStatusEmail,Array.isArray(e.learningPlanActivities)){this.learningPlanActivities=[];var t,n=Object(s.a)(e.learningPlanActivities);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.learningPlanActivities.push(bv.fromJS(i))}}catch(y){n.e(y)}finally{n.f()}}if(Array.isArray(e.learningPlanCompetencies)){this.learningPlanCompetencies=[];var a,r=Object(s.a)(e.learningPlanCompetencies);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.learningPlanCompetencies.push(Iv.fromJS(o))}}catch(y){r.e(y)}finally{r.f()}}if(Array.isArray(e.learningPlanCourses)){this.learningPlanCourses=[];var l,c=Object(s.a)(e.learningPlanCourses);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.learningPlanCourses.push(Sv.fromJS(d))}}catch(y){c.e(y)}finally{c.f()}}if(Array.isArray(e.learningPlanTags)){this.learningPlanTags=[];var u,m=Object(s.a)(e.learningPlanTags);try{for(m.s();!(u=m.n()).done;){var v=u.value;this.learningPlanTags.push(Kv.fromJS(v))}}catch(y){m.e(y)}finally{m.f()}}if(Array.isArray(e.learningPlanMaterials)){this.learningPlanMaterials=[];var f,p=Object(s.a)(e.learningPlanMaterials);try{for(p.s();!(f=p.n()).done;){var h=f.value;this.learningPlanMaterials.push(Rv.fromJS(h))}}catch(y){p.e(y)}finally{p.f()}}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).title=this.title,e.description=this.description,e.notes=this.notes,e.type=this.type,e.timeframeOfCompletion=this.timeframeOfCompletion,e.startDate=this.startDate?this.startDate.toISOString():void 0,e.endDate=this.endDate?this.endDate.toISOString():void 0,e.duration=this.duration,e.durationType=this.durationType,e.requiredCourses=this.requiredCourses,e.isSelfEnrolled=this.isSelfEnrolled,e.addParticipantEmail=this.addParticipantEmail,e.deleteParticipantEmail=this.deleteParticipantEmail,e.updateParticipantStatusEmail=this.updateParticipantStatusEmail,Array.isArray(this.learningPlanActivities)){e.learningPlanActivities=[];var t,n=Object(s.a)(this.learningPlanActivities);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.learningPlanActivities.push(i.toJSON())}}catch(y){n.e(y)}finally{n.f()}}if(Array.isArray(this.learningPlanCompetencies)){e.learningPlanCompetencies=[];var a,r=Object(s.a)(this.learningPlanCompetencies);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.learningPlanCompetencies.push(o.toJSON())}}catch(y){r.e(y)}finally{r.f()}}if(Array.isArray(this.learningPlanCourses)){e.learningPlanCourses=[];var l,c=Object(s.a)(this.learningPlanCourses);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.learningPlanCourses.push(d.toJSON())}}catch(y){c.e(y)}finally{c.f()}}if(Array.isArray(this.learningPlanTags)){e.learningPlanTags=[];var u,m=Object(s.a)(this.learningPlanTags);try{for(m.s();!(u=m.n()).done;){var v=u.value;e.learningPlanTags.push(v.toJSON())}}catch(y){m.e(y)}finally{m.f()}}if(Array.isArray(this.learningPlanMaterials)){e.learningPlanMaterials=[];var f,p=Object(s.a)(this.learningPlanMaterials);try{for(p.s();!(f=p.n()).done;){var h=f.value;e.learningPlanMaterials.push(h.toJSON())}}catch(y){p.e(y)}finally{p.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),er=function(){function e(t){if(Object(l.a)(this,e),this.learningPlanId=void 0,this.content=void 0,this.exemptIfNotMetCriteria=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.learningPlanId=e.learningPlanId,Array.isArray(e.content)){this.content=[];var t,n=Object(s.a)(e.content);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.content.push(i)}}catch(a){n.e(a)}finally{n.f()}}this.exemptIfNotMetCriteria=e.exemptIfNotMetCriteria}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).learningPlanId=this.learningPlanId,Array.isArray(this.content)){e.content=[];var t,n=Object(s.a)(this.content);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.content.push(i)}}catch(a){n.e(a)}finally{n.f()}}return e.exemptIfNotMetCriteria=this.exemptIfNotMetCriteria,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),tr=function(){function e(t){if(Object(l.a)(this,e),this.learningPlanId=void 0,this.emailTypeId=void 0,this.scheduleOption=void 0,this.emailTemplateId=void 0,this.subject=void 0,this.replyToUserId=void 0,this.senderId=void 0,this.emailAlias=void 0,this.body=void 0,this.sendToAdminAssistant=void 0,this.sendSeparateCCCopy=void 0,this.includeMaterials=void 0,this.learningPlanEmailSettingRecurrenceId=void 0,this.schedules=void 0,this.recurrence=void 0,this.recipients=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.learningPlanId=e.learningPlanId,this.emailTypeId=e.emailTypeId,this.scheduleOption=e.scheduleOption,this.emailTemplateId=e.emailTemplateId,this.subject=e.subject,this.replyToUserId=e.replyToUserId,this.senderId=e.senderId,this.emailAlias=e.emailAlias,this.body=e.body,this.sendToAdminAssistant=e.sendToAdminAssistant,this.sendSeparateCCCopy=e.sendSeparateCCCopy,this.includeMaterials=e.includeMaterials,this.learningPlanEmailSettingRecurrenceId=e.learningPlanEmailSettingRecurrenceId,Array.isArray(e.schedules)){this.schedules=[];var t,n=Object(s.a)(e.schedules);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.schedules.push(Pv.fromJS(i))}}catch(l){n.e(l)}finally{n.f()}}if(this.recurrence=e.recurrence?kv.fromJS(e.recurrence):void 0,Array.isArray(e.recipients)){this.recipients=[];var a,r=Object(s.a)(e.recipients);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.recipients.push(Ss.fromJS(o))}}catch(l){r.e(l)}finally{r.f()}}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).learningPlanId=this.learningPlanId,e.emailTypeId=this.emailTypeId,e.scheduleOption=this.scheduleOption,e.emailTemplateId=this.emailTemplateId,e.subject=this.subject,e.replyToUserId=this.replyToUserId,e.senderId=this.senderId,e.emailAlias=this.emailAlias,e.body=this.body,e.sendToAdminAssistant=this.sendToAdminAssistant,e.sendSeparateCCCopy=this.sendSeparateCCCopy,e.includeMaterials=this.includeMaterials,e.learningPlanEmailSettingRecurrenceId=this.learningPlanEmailSettingRecurrenceId,Array.isArray(this.schedules)){e.schedules=[];var t,n=Object(s.a)(this.schedules);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.schedules.push(i.toJSON())}}catch(l){n.e(l)}finally{n.f()}}if(e.recurrence=this.recurrence?this.recurrence.toJSON():void 0,Array.isArray(this.recipients)){e.recipients=[];var a,r=Object(s.a)(this.recipients);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.recipients.push(o.toJSON())}}catch(l){r.e(l)}finally{r.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),nr=function(){function e(t){if(Object(l.a)(this,e),this.name=void 0,this.isPublic=void 0,this.isReadOnly=void 0,this.filter=void 0,this.createdBy=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.name=e.name,this.isPublic=e.isPublic,this.isReadOnly=e.isReadOnly,this.filter=e.filter,this.createdBy=e.createdBy)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).name=this.name,e.isPublic=this.isPublic,e.isReadOnly=this.isReadOnly,e.filter=this.filter,e.createdBy=this.createdBy,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),ir=function(){function e(t){if(Object(l.a)(this,e),this.name=void 0,this.isActive=void 0,this.code=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.name=e.name,this.isActive=e.isActive,this.code=e.code)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).name=this.name,e.isActive=this.isActive,e.code=this.code,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),ar=function(){function e(t){if(Object(l.a)(this,e),this.licenseCertificateList=void 0,this.licenseId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n]);t||(this.licenseCertificateList=[])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.licenseCertificateList)){this.licenseCertificateList=[];var t,n=Object(s.a)(e.licenseCertificateList);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.licenseCertificateList.push(yf.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}this.licenseId=e.licenseId}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.licenseCertificateList)){e.licenseCertificateList=[];var t,n=Object(s.a)(this.licenseCertificateList);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.licenseCertificateList.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e.licenseId=this.licenseId,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),rr=function(){function e(t){if(Object(l.a)(this,e),this.name=void 0,this.address=void 0,this.code=void 0,this.city=void 0,this.countryId=void 0,this.stateId=void 0,this.zip=void 0,this.telephone=void 0,this.timezoneId=void 0,this.isActive=void 0,this.countyId=void 0,this.isFirmOffice=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.name=e.name,this.address=e.address,this.code=e.code,this.city=e.city,this.countryId=e.countryId,this.stateId=e.stateId,this.zip=e.zip,this.telephone=e.telephone,this.timezoneId=e.timezoneId,this.isActive=e.isActive,this.countyId=e.countyId,this.isFirmOffice=e.isFirmOffice)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).name=this.name,e.address=this.address,e.code=this.code,e.city=this.city,e.countryId=this.countryId,e.stateId=this.stateId,e.zip=this.zip,e.telephone=this.telephone,e.timezoneId=this.timezoneId,e.isActive=this.isActive,e.countyId=this.countyId,e.isFirmOffice=this.isFirmOffice,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),or=function(){function e(t){if(Object(l.a)(this,e),this.sessionIdList=void 0,this.courseId=void 0,this.sessionTypeId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.sessionIdList)){this.sessionIdList=[];var t,n=Object(s.a)(e.sessionIdList);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.sessionIdList.push(i)}}catch(a){n.e(a)}finally{n.f()}}this.courseId=e.courseId,this.sessionTypeId=e.sessionTypeId}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.sessionIdList)){e.sessionIdList=[];var t,n=Object(s.a)(this.sessionIdList);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.sessionIdList.push(i)}}catch(a){n.e(a)}finally{n.f()}}return e.courseId=this.courseId,e.sessionTypeId=this.sessionTypeId,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),sr=function(){function e(t){if(Object(l.a)(this,e),this.name=void 0,this.isActive=void 0,this.code=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.name=e.name,this.isActive=e.isActive,this.code=e.code)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).name=this.name,e.isActive=this.isActive,e.code=this.code,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),lr=function(){function e(t){if(Object(l.a)(this,e),this.name=void 0,this.isActive=void 0,this.code=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.name=e.name,this.isActive=e.isActive,this.code=e.code)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).name=this.name,e.isActive=this.isActive,e.code=this.code,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),cr=function(){function e(t){if(Object(l.a)(this,e),this.name=void 0,this.isInHouse=void 0,this.isActive=void 0,this.code=void 0,this.url=void 0,this.isScheduleAllowed=void 0,this.isRegistrationAllowed=void 0,this.isCertificateAllowed=void 0,this.isReportingAllowed=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.name=e.name,this.isInHouse=e.isInHouse,this.isActive=e.isActive,this.code=e.code,this.url=e.url,this.isScheduleAllowed=e.isScheduleAllowed,this.isRegistrationAllowed=e.isRegistrationAllowed,this.isCertificateAllowed=e.isCertificateAllowed,this.isReportingAllowed=e.isReportingAllowed)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).name=this.name,e.isInHouse=this.isInHouse,e.isActive=this.isActive,e.code=this.code,e.url=this.url,e.isScheduleAllowed=this.isScheduleAllowed,e.isRegistrationAllowed=this.isRegistrationAllowed,e.isCertificateAllowed=this.isCertificateAllowed,e.isReportingAllowed=this.isReportingAllowed,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),dr=function(){function e(t){if(Object(l.a)(this,e),this.userId=void 0,this.reportName=void 0,this.name=void 0,this.filter=void 0,this.isDefault=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.userId=e.userId,this.reportName=e.reportName,this.name=e.name,this.filter=e.filter,this.isDefault=e.isDefault)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).userId=this.userId,e.reportName=this.reportName,e.name=this.name,e.filter=this.filter,e.isDefault=this.isDefault,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),ur=function(){function e(t){if(Object(l.a)(this,e),this.name=void 0,this.description=void 0,this.isActive=void 0,this.isDefault=void 0,this.isClonedFromSettings=void 0,this.clonedRoleId=void 0,this.type=void 0,this.subRoleType=void 0,this.rolePermissionSets=void 0,this.roleUsers=void 0,this.roleApiClients=void 0,this.roleLicenseLimitations=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.name=e.name,this.description=e.description,this.isActive=e.isActive,this.isDefault=e.isDefault,this.isClonedFromSettings=e.isClonedFromSettings,this.clonedRoleId=e.clonedRoleId,this.type=e.type,this.subRoleType=e.subRoleType,Array.isArray(e.rolePermissionSets)){this.rolePermissionSets=[];var t,n=Object(s.a)(e.rolePermissionSets);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.rolePermissionSets.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(e.roleUsers)){this.roleUsers=[];var a,r=Object(s.a)(e.roleUsers);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.roleUsers.push(ny.fromJS(o))}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(e.roleApiClients)){this.roleApiClients=[];var l,c=Object(s.a)(e.roleApiClients);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.roleApiClients.push(Qh.fromJS(d))}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(e.roleLicenseLimitations)){this.roleLicenseLimitations=[];var u,m=Object(s.a)(e.roleLicenseLimitations);try{for(m.s();!(u=m.n()).done;){var v=u.value;this.roleLicenseLimitations.push(Sf.fromJS(v))}}catch(f){m.e(f)}finally{m.f()}}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).name=this.name,e.description=this.description,e.isActive=this.isActive,e.isDefault=this.isDefault,e.isClonedFromSettings=this.isClonedFromSettings,e.clonedRoleId=this.clonedRoleId,e.type=this.type,e.subRoleType=this.subRoleType,Array.isArray(this.rolePermissionSets)){e.rolePermissionSets=[];var t,n=Object(s.a)(this.rolePermissionSets);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.rolePermissionSets.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(this.roleUsers)){e.roleUsers=[];var a,r=Object(s.a)(this.roleUsers);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.roleUsers.push(o.toJSON())}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(this.roleApiClients)){e.roleApiClients=[];var l,c=Object(s.a)(this.roleApiClients);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.roleApiClients.push(d.toJSON())}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(this.roleLicenseLimitations)){e.roleLicenseLimitations=[];var u,m=Object(s.a)(this.roleLicenseLimitations);try{for(m.s();!(u=m.n()).done;){var v=u.value;e.roleLicenseLimitations.push(v.toJSON())}}catch(f){m.e(f)}finally{m.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),mr=function(){function e(t){if(Object(l.a)(this,e),this.locationId=void 0,this.name=void 0,this.capacity=void 0,this.isActive=void 0,this.code=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.locationId=e.locationId,this.name=e.name,this.capacity=e.capacity,this.isActive=e.isActive,this.code=e.code)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).locationId=this.locationId,e.name=this.name,e.capacity=this.capacity,e.isActive=this.isActive,e.code=this.code,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),vr=function(){function e(t){if(Object(l.a)(this,e),this.scheduleId=void 0,this.sessionIds=void 0,this.emailTypeId=void 0,this.scheduleOption=void 0,this.emailTemplateId=void 0,this.subject=void 0,this.replyToUserId=void 0,this.senderId=void 0,this.emailAlias=void 0,this.body=void 0,this.sendToAdminAssistant=void 0,this.sendSeparateCCCopy=void 0,this.includeMaterials=void 0,this.includeMatchedSessionsOnly=void 0,this.scheduleEmailSettingRecurrenceId=void 0,this.schedules=void 0,this.recurrence=void 0,this.recipients=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.scheduleId=e.scheduleId,Array.isArray(e.sessionIds)){this.sessionIds=[];var t,n=Object(s.a)(e.sessionIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.sessionIds.push(i)}}catch(u){n.e(u)}finally{n.f()}}if(this.emailTypeId=e.emailTypeId,this.scheduleOption=e.scheduleOption,this.emailTemplateId=e.emailTemplateId,this.subject=e.subject,this.replyToUserId=e.replyToUserId,this.senderId=e.senderId,this.emailAlias=e.emailAlias,this.body=e.body,this.sendToAdminAssistant=e.sendToAdminAssistant,this.sendSeparateCCCopy=e.sendSeparateCCCopy,this.includeMaterials=e.includeMaterials,this.includeMatchedSessionsOnly=e.includeMatchedSessionsOnly,this.scheduleEmailSettingRecurrenceId=e.scheduleEmailSettingRecurrenceId,Array.isArray(e.schedules)){this.schedules=[];var a,r=Object(s.a)(e.schedules);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.schedules.push(Ey.fromJS(o))}}catch(u){r.e(u)}finally{r.f()}}if(this.recurrence=e.recurrence?gy.fromJS(e.recurrence):void 0,Array.isArray(e.recipients)){this.recipients=[];var l,c=Object(s.a)(e.recipients);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.recipients.push(Ss.fromJS(d))}}catch(u){c.e(u)}finally{c.f()}}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).scheduleId=this.scheduleId,Array.isArray(this.sessionIds)){e.sessionIds=[];var t,n=Object(s.a)(this.sessionIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.sessionIds.push(i)}}catch(u){n.e(u)}finally{n.f()}}if(e.emailTypeId=this.emailTypeId,e.scheduleOption=this.scheduleOption,e.emailTemplateId=this.emailTemplateId,e.subject=this.subject,e.replyToUserId=this.replyToUserId,e.senderId=this.senderId,e.emailAlias=this.emailAlias,e.body=this.body,e.sendToAdminAssistant=this.sendToAdminAssistant,e.sendSeparateCCCopy=this.sendSeparateCCCopy,e.includeMaterials=this.includeMaterials,e.includeMatchedSessionsOnly=this.includeMatchedSessionsOnly,e.scheduleEmailSettingRecurrenceId=this.scheduleEmailSettingRecurrenceId,Array.isArray(this.schedules)){e.schedules=[];var a,r=Object(s.a)(this.schedules);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.schedules.push(o.toJSON())}}catch(u){r.e(u)}finally{r.f()}}if(e.recurrence=this.recurrence?this.recurrence.toJSON():void 0,Array.isArray(this.recipients)){e.recipients=[];var l,c=Object(s.a)(this.recipients);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.recipients.push(d.toJSON())}}catch(u){c.e(u)}finally{c.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),fr=function(){function e(t){if(Object(l.a)(this,e),this.body=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n]);t||(this.body=[])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&Array.isArray(e.body)){this.body=[];var t,n=Object(s.a)(e.body);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.body.push(pr.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.body)){e.body=[];var t,n=Object(s.a)(this.body);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.body.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),pr=function(){function e(t){if(Object(l.a)(this,e),this.sessionId=void 0,this.users=void 0,this.sendEmailConfirmation=void 0,this.isInstructor=void 0,this.isTentative=void 0,this.isWaitlist=void 0,this.skipWaitlisting=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n]);t||(this.users=[])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.sessionId=e.sessionId,Array.isArray(e.users)){this.users=[];var t,n=Object(s.a)(e.users);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.users.push(wy.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}this.sendEmailConfirmation=e.sendEmailConfirmation,this.isInstructor=e.isInstructor,this.isTentative=e.isTentative,this.isWaitlist=e.isWaitlist,this.skipWaitlisting=e.skipWaitlisting}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).sessionId=this.sessionId,Array.isArray(this.users)){e.users=[];var t,n=Object(s.a)(this.users);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.users.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e.sendEmailConfirmation=this.sendEmailConfirmation,e.isInstructor=this.isInstructor,e.isTentative=this.isTentative,e.isWaitlist=this.isWaitlist,e.skipWaitlisting=this.skipWaitlisting,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),hr=function(){function e(t){if(Object(l.a)(this,e),this.userLearningPackageDetailId=void 0,this.duration=void 0,this.score=void 0,this.status=void 0,this.userLearningPackageProgressId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.userLearningPackageDetailId=e.userLearningPackageDetailId,this.duration=e.duration,this.score=e.score,this.status=e.status,this.userLearningPackageProgressId=e.userLearningPackageProgressId)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).userLearningPackageDetailId=this.userLearningPackageDetailId,e.duration=this.duration,e.score=this.score,e.status=this.status,e.userLearningPackageProgressId=this.userLearningPackageProgressId,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),yr=function(){function e(t){if(Object(l.a)(this,e),this.name=void 0,this.description=void 0,this.isActive=void 0,this.securityGroupUsers=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&(this.name=e.name,this.description=e.description,this.isActive=e.isActive,Array.isArray(e.securityGroupUsers))){this.securityGroupUsers=[];var t,n=Object(s.a)(e.securityGroupUsers);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.securityGroupUsers.push(Vy.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).name=this.name,e.description=this.description,e.isActive=this.isActive,Array.isArray(this.securityGroupUsers)){e.securityGroupUsers=[];var t,n=Object(s.a)(this.securityGroupUsers);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.securityGroupUsers.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),br=function(){function e(t){if(Object(l.a)(this,e),this.securityGroupId=void 0,this.content=void 0,this.removeIfNotMetCriteria=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.securityGroupId=e.securityGroupId,Array.isArray(e.content)){this.content=[];var t,n=Object(s.a)(e.content);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.content.push(i)}}catch(a){n.e(a)}finally{n.f()}}this.removeIfNotMetCriteria=e.removeIfNotMetCriteria}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).securityGroupId=this.securityGroupId,Array.isArray(this.content)){e.content=[];var t,n=Object(s.a)(this.content);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.content.push(i)}}catch(a){n.e(a)}finally{n.f()}}return e.removeIfNotMetCriteria=this.removeIfNotMetCriteria,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),gr=function(){function e(t){if(Object(l.a)(this,e),this.name=void 0,this.isPublic=void 0,this.isReadOnly=void 0,this.filter=void 0,this.createdBy=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.name=e.name,this.isPublic=e.isPublic,this.isReadOnly=e.isReadOnly,this.filter=e.filter,this.createdBy=e.createdBy)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).name=this.name,e.isPublic=this.isPublic,e.isReadOnly=this.isReadOnly,e.filter=this.filter,e.createdBy=this.createdBy,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Er=function(){function e(t){if(Object(l.a)(this,e),this.sessions=void 0,this.sessionRecurrencePattern=void 0,this.scheduleId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.sessions)){this.sessions=[];var t,n=Object(s.a)(e.sessions);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.sessions.push(Ir.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}this.sessionRecurrencePattern=e.sessionRecurrencePattern?ug.fromJS(e.sessionRecurrencePattern):void 0,this.scheduleId=e.scheduleId}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.sessions)){e.sessions=[];var t,n=Object(s.a)(this.sessions);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.sessions.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e.sessionRecurrencePattern=this.sessionRecurrencePattern?this.sessionRecurrencePattern.toJSON():void 0,e.scheduleId=this.scheduleId,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Ir=function(){function e(t){if(Object(l.a)(this,e),this.courseId=void 0,this.title=void 0,this.code=void 0,this.sessionTypeId=void 0,this.mediaTypeId=void 0,this.courseFormatId=void 0,this.startDate=void 0,this.endDate=void 0,this.startTime=void 0,this.endTime=void 0,this.locationId=void 0,this.timezoneId=void 0,this.isRegistrationApprovalNeeded=void 0,this.roomId=void 0,this.cost=void 0,this.duration=void 0,this.registrationLimit=void 0,this.isWaitlistingAllowed=void 0,this.evaluationId=void 0,this.areQuestionsAllowed=void 0,this.launchUrl=void 0,this.url=void 0,this.note=void 0,this.detail=void 0,this.isOpenToClient=void 0,this.isIndividualSessionDateAllowed=void 0,this.isPublished=void 0,this.sessionApprovers=void 0,this.sessionLicenses=void 0,this.sessionMaterials=void 0,this.sessionMediaFiles=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.courseId=e.courseId,this.title=e.title,this.code=e.code,this.sessionTypeId=e.sessionTypeId,this.mediaTypeId=e.mediaTypeId,this.courseFormatId=e.courseFormatId,this.startDate=e.startDate?new Date(e.startDate.toString()):void 0,this.endDate=e.endDate?new Date(e.endDate.toString()):void 0,this.startTime=e.startTime,this.endTime=e.endTime,this.locationId=e.locationId,this.timezoneId=e.timezoneId,this.isRegistrationApprovalNeeded=e.isRegistrationApprovalNeeded,this.roomId=e.roomId,this.cost=e.cost,this.duration=e.duration,this.registrationLimit=e.registrationLimit,this.isWaitlistingAllowed=e.isWaitlistingAllowed,this.evaluationId=e.evaluationId,this.areQuestionsAllowed=e.areQuestionsAllowed,this.launchUrl=e.launchUrl,this.url=e.url,this.note=e.note,this.detail=e.detail,this.isOpenToClient=e.isOpenToClient,this.isIndividualSessionDateAllowed=e.isIndividualSessionDateAllowed,this.isPublished=e.isPublished,Array.isArray(e.sessionApprovers)){this.sessionApprovers=[];var t,n=Object(s.a)(e.sessionApprovers);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.sessionApprovers.push(vb.fromJS(i))}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(e.sessionLicenses)){this.sessionLicenses=[];var a,r=Object(s.a)(e.sessionLicenses);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.sessionLicenses.push(Fb.fromJS(o))}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(e.sessionMaterials)){this.sessionMaterials=[];var l,c=Object(s.a)(e.sessionMaterials);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.sessionMaterials.push(qb.fromJS(d))}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(e.sessionMediaFiles)){this.sessionMediaFiles=[];var u,m=Object(s.a)(e.sessionMediaFiles);try{for(m.s();!(u=m.n()).done;){var v=u.value;this.sessionMediaFiles.push(Mb.fromJS(v))}}catch(f){m.e(f)}finally{m.f()}}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).courseId=this.courseId,e.title=this.title,e.code=this.code,e.sessionTypeId=this.sessionTypeId,e.mediaTypeId=this.mediaTypeId,e.courseFormatId=this.courseFormatId,e.startDate=this.startDate?this.startDate.toISOString():void 0,e.endDate=this.endDate?this.endDate.toISOString():void 0,e.startTime=this.startTime,e.endTime=this.endTime,e.locationId=this.locationId,e.timezoneId=this.timezoneId,e.isRegistrationApprovalNeeded=this.isRegistrationApprovalNeeded,e.roomId=this.roomId,e.cost=this.cost,e.duration=this.duration,e.registrationLimit=this.registrationLimit,e.isWaitlistingAllowed=this.isWaitlistingAllowed,e.evaluationId=this.evaluationId,e.areQuestionsAllowed=this.areQuestionsAllowed,e.launchUrl=this.launchUrl,e.url=this.url,e.note=this.note,e.detail=this.detail,e.isOpenToClient=this.isOpenToClient,e.isIndividualSessionDateAllowed=this.isIndividualSessionDateAllowed,e.isPublished=this.isPublished,Array.isArray(this.sessionApprovers)){e.sessionApprovers=[];var t,n=Object(s.a)(this.sessionApprovers);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.sessionApprovers.push(i.toJSON())}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(this.sessionLicenses)){e.sessionLicenses=[];var a,r=Object(s.a)(this.sessionLicenses);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.sessionLicenses.push(o.toJSON())}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(this.sessionMaterials)){e.sessionMaterials=[];var l,c=Object(s.a)(this.sessionMaterials);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.sessionMaterials.push(d.toJSON())}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(this.sessionMediaFiles)){e.sessionMediaFiles=[];var u,m=Object(s.a)(this.sessionMediaFiles);try{for(m.s();!(u=m.n()).done;){var v=u.value;e.sessionMediaFiles.push(v.toJSON())}}catch(f){m.e(f)}finally{m.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Sr=function(){function e(t){if(Object(l.a)(this,e),this.sessionId=void 0,this.emailTypeId=void 0,this.scheduleOption=void 0,this.emailTemplateId=void 0,this.subject=void 0,this.replyToUserId=void 0,this.senderId=void 0,this.emailAlias=void 0,this.body=void 0,this.sendToAdminAssistant=void 0,this.sendSeparateCCCopy=void 0,this.includeMaterials=void 0,this.includeMatchedSessionsOnly=void 0,this.sessionEmailSettingRecurrenceId=void 0,this.schedules=void 0,this.recurrence=void 0,this.recipients=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.sessionId=e.sessionId,this.emailTypeId=e.emailTypeId,this.scheduleOption=e.scheduleOption,this.emailTemplateId=e.emailTemplateId,this.subject=e.subject,this.replyToUserId=e.replyToUserId,this.senderId=e.senderId,this.emailAlias=e.emailAlias,this.body=e.body,this.sendToAdminAssistant=e.sendToAdminAssistant,this.sendSeparateCCCopy=e.sendSeparateCCCopy,this.includeMaterials=e.includeMaterials,this.includeMatchedSessionsOnly=e.includeMatchedSessionsOnly,this.sessionEmailSettingRecurrenceId=e.sessionEmailSettingRecurrenceId,Array.isArray(e.schedules)){this.schedules=[];var t,n=Object(s.a)(e.schedules);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.schedules.push(gb.fromJS(i))}}catch(l){n.e(l)}finally{n.f()}}if(this.recurrence=e.recurrence?bb.fromJS(e.recurrence):void 0,Array.isArray(e.recipients)){this.recipients=[];var a,r=Object(s.a)(e.recipients);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.recipients.push(Ss.fromJS(o))}}catch(l){r.e(l)}finally{r.f()}}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).sessionId=this.sessionId,e.emailTypeId=this.emailTypeId,e.scheduleOption=this.scheduleOption,e.emailTemplateId=this.emailTemplateId,e.subject=this.subject,e.replyToUserId=this.replyToUserId,e.senderId=this.senderId,e.emailAlias=this.emailAlias,e.body=this.body,e.sendToAdminAssistant=this.sendToAdminAssistant,e.sendSeparateCCCopy=this.sendSeparateCCCopy,e.includeMaterials=this.includeMaterials,e.includeMatchedSessionsOnly=this.includeMatchedSessionsOnly,e.sessionEmailSettingRecurrenceId=this.sessionEmailSettingRecurrenceId,Array.isArray(this.schedules)){e.schedules=[];var t,n=Object(s.a)(this.schedules);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.schedules.push(i.toJSON())}}catch(l){n.e(l)}finally{n.f()}}if(e.recurrence=this.recurrence?this.recurrence.toJSON():void 0,Array.isArray(this.recipients)){e.recipients=[];var a,r=Object(s.a)(this.recipients);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.recipients.push(o.toJSON())}}catch(l){r.e(l)}finally{r.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Or=function(){function e(t){if(Object(l.a)(this,e),this.sessionIdList=void 0,this.userIdList=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.sessionIdList)){this.sessionIdList=[];var t,n=Object(s.a)(e.sessionIdList);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.sessionIdList.push(i)}}catch(l){n.e(l)}finally{n.f()}}if(Array.isArray(e.userIdList)){this.userIdList=[];var a,r=Object(s.a)(e.userIdList);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.userIdList.push(o)}}catch(l){r.e(l)}finally{r.f()}}}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.sessionIdList)){e.sessionIdList=[];var t,n=Object(s.a)(this.sessionIdList);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.sessionIdList.push(i)}}catch(l){n.e(l)}finally{n.f()}}if(Array.isArray(this.userIdList)){e.userIdList=[];var a,r=Object(s.a)(this.userIdList);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.userIdList.push(o)}}catch(l){r.e(l)}finally{r.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Cr=function(){function e(t){if(Object(l.a)(this,e),this.userIdList=void 0,this.sessionId=void 0,this.extraSessionIds=void 0,this.isInstructor=void 0,this.isTentative=void 0,this.sendEmailConfirmation=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n]);t||(this.userIdList=[])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.userIdList)){this.userIdList=[];var t,n=Object(s.a)(e.userIdList);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.userIdList.push(i)}}catch(l){n.e(l)}finally{n.f()}}if(this.sessionId=e.sessionId,Array.isArray(e.extraSessionIds)){this.extraSessionIds=[];var a,r=Object(s.a)(e.extraSessionIds);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.extraSessionIds.push(o)}}catch(l){r.e(l)}finally{r.f()}}this.isInstructor=e.isInstructor,this.isTentative=e.isTentative,this.sendEmailConfirmation=e.sendEmailConfirmation}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.userIdList)){e.userIdList=[];var t,n=Object(s.a)(this.userIdList);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.userIdList.push(i)}}catch(l){n.e(l)}finally{n.f()}}if(e.sessionId=this.sessionId,Array.isArray(this.extraSessionIds)){e.extraSessionIds=[];var a,r=Object(s.a)(this.extraSessionIds);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.extraSessionIds.push(o)}}catch(l){r.e(l)}finally{r.f()}}return e.isInstructor=this.isInstructor,e.isTentative=this.isTentative,e.sendEmailConfirmation=this.sendEmailConfirmation,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),jr=function(){function e(t){if(Object(l.a)(this,e),this.name=void 0,this.isActive=void 0,this.code=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.name=e.name,this.isActive=e.isActive,this.code=e.code)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).name=this.name,e.isActive=this.isActive,e.code=this.code,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),xr=function(){function e(t){if(Object(l.a)(this,e),this.courseDto=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.courseDto=e.courseDto?Ar.fromJS(e.courseDto):void 0)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).courseDto=this.courseDto?this.courseDto.toJSON():void 0,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Ar=function(){function e(t){if(Object(l.a)(this,e),this.course=void 0,this.session=void 0,this.sessionParticipants=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&(this.course=e.course?Fa.fromJS(e.course):void 0,this.session=e.session?Ga.fromJS(e.session):void 0,Array.isArray(e.sessionParticipants))){this.sessionParticipants=[];var t,n=Object(s.a)(e.sessionParticipants);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.sessionParticipants.push(Ua.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).course=this.course?this.course.toJSON():void 0,e.session=this.session?this.session.toJSON():void 0,Array.isArray(this.sessionParticipants)){e.sessionParticipants=[];var t,n=Object(s.a)(this.sessionParticipants);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.sessionParticipants.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Tr=function(){function e(t){if(Object(l.a)(this,e),this.courseDto=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.courseDto=e.courseDto?wr.fromJS(e.courseDto):void 0)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).courseDto=this.courseDto?this.courseDto.toJSON():void 0,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),wr=function(){function e(t){if(Object(l.a)(this,e),this.courseTitle=void 0,this.courseProviderId=void 0,this.courseCode=void 0,this.session=void 0,this.sessionParticipants=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&(this.courseTitle=e.courseTitle,this.courseProviderId=e.courseProviderId,this.courseCode=e.courseCode,this.session=e.session?Ga.fromJS(e.session):void 0,Array.isArray(e.sessionParticipants))){this.sessionParticipants=[];var t,n=Object(s.a)(e.sessionParticipants);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.sessionParticipants.push(Ua.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).courseTitle=this.courseTitle,e.courseProviderId=this.courseProviderId,e.courseCode=this.courseCode,e.session=this.session?this.session.toJSON():void 0,Array.isArray(this.sessionParticipants)){e.sessionParticipants=[];var t,n=Object(s.a)(this.sessionParticipants);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.sessionParticipants.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),kr=function(){function e(t){if(Object(l.a)(this,e),this.firstName=void 0,this.middleName=void 0,this.lastName=void 0,this.nickname=void 0,this.email=void 0,this.userName=void 0,this.personnelId=void 0,this.genderId=void 0,this.inactiveDate=void 0,this.userType=void 0,this.birthDate=void 0,this.graduationDate=void 0,this.hireDate=void 0,this.fireDate=void 0,this.locationId=void 0,this.street=void 0,this.city=void 0,this.stateId=void 0,this.countryId=void 0,this.zip=void 0,this.phone=void 0,this.emailSecretary=void 0,this.emailPracticeLeader=void 0,this.note=void 0,this.affiliationId=void 0,this.portalAccessEnabled=void 0,this.position=void 0,this.userAvatarId=void 0,this.supressEmail=void 0,this.userRole=void 0,this.userLicense=void 0,this.userPosition=void 0,this.userClassYear=void 0,this.userDepartment=void 0,this.userEthnicity=void 0,this.userGroup=void 0,this.userLevel=void 0,this.userPracticeArea=void 0,this.userRelationship=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.firstName=e.firstName,this.middleName=e.middleName,this.lastName=e.lastName,this.nickname=e.nickname,this.email=e.email,this.userName=e.userName,this.personnelId=e.personnelId,this.genderId=e.genderId,this.inactiveDate=e.inactiveDate?new Date(e.inactiveDate.toString()):void 0,this.userType=e.userType,this.birthDate=e.birthDate?new Date(e.birthDate.toString()):void 0,this.graduationDate=e.graduationDate?new Date(e.graduationDate.toString()):void 0,this.hireDate=e.hireDate?new Date(e.hireDate.toString()):void 0,this.fireDate=e.fireDate?new Date(e.fireDate.toString()):void 0,this.locationId=e.locationId,this.street=e.street,this.city=e.city,this.stateId=e.stateId,this.countryId=e.countryId,this.zip=e.zip,this.phone=e.phone,this.emailSecretary=e.emailSecretary,this.emailPracticeLeader=e.emailPracticeLeader,this.note=e.note,this.affiliationId=e.affiliationId,this.portalAccessEnabled=e.portalAccessEnabled,this.position=e.position,this.userAvatarId=e.userAvatarId,this.supressEmail=e.supressEmail,Array.isArray(e.userRole)){this.userRole=[];var t,n=Object(s.a)(e.userRole);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.userRole.push(MS.fromJS(i))}}catch(N){n.e(N)}finally{n.f()}}if(Array.isArray(e.userLicense)){this.userLicense=[];var a,r=Object(s.a)(e.userLicense);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.userLicense.push(AS.fromJS(o))}}catch(N){r.e(N)}finally{r.f()}}if(Array.isArray(e.userPosition)){this.userPosition=[];var l,c=Object(s.a)(e.userPosition);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.userPosition.push(JS.fromJS(d))}}catch(N){c.e(N)}finally{c.f()}}if(Array.isArray(e.userClassYear)){this.userClassYear=[];var u,m=Object(s.a)(e.userClassYear);try{for(m.s();!(u=m.n()).done;){var v=u.value;this.userClassYear.push(KI.fromJS(v))}}catch(N){m.e(N)}finally{m.f()}}if(Array.isArray(e.userDepartment)){this.userDepartment=[];var f,p=Object(s.a)(e.userDepartment);try{for(p.s();!(f=p.n()).done;){var h=f.value;this.userDepartment.push(sS.fromJS(h))}}catch(N){p.e(N)}finally{p.f()}}if(Array.isArray(e.userEthnicity)){this.userEthnicity=[];var y,b=Object(s.a)(e.userEthnicity);try{for(b.s();!(y=b.n()).done;){var g=y.value;this.userEthnicity.push(dS.fromJS(g))}}catch(N){b.e(N)}finally{b.f()}}if(Array.isArray(e.userGroup)){this.userGroup=[];var E,I=Object(s.a)(e.userGroup);try{for(I.s();!(E=I.n()).done;){var S=E.value;this.userGroup.push(eb.fromJS(S))}}catch(N){I.e(N)}finally{I.f()}}if(Array.isArray(e.userLevel)){this.userLevel=[];var O,C=Object(s.a)(e.userLevel);try{for(C.s();!(O=C.n()).done;){var j=O.value;this.userLevel.push(IS.fromJS(j))}}catch(N){C.e(N)}finally{C.f()}}if(Array.isArray(e.userPracticeArea)){this.userPracticeArea=[];var x,A=Object(s.a)(e.userPracticeArea);try{for(A.s();!(x=A.n()).done;){var T=x.value;this.userPracticeArea.push(GS.fromJS(T))}}catch(N){A.e(N)}finally{A.f()}}if(Array.isArray(e.userRelationship)){this.userRelationship=[];var w,k=Object(s.a)(e.userRelationship);try{for(k.s();!(w=k.n()).done;){var P=w.value;this.userRelationship.push(zS.fromJS(P))}}catch(N){k.e(N)}finally{k.f()}}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).firstName=this.firstName,e.middleName=this.middleName,e.lastName=this.lastName,e.nickname=this.nickname,e.email=this.email,e.userName=this.userName,e.personnelId=this.personnelId,e.genderId=this.genderId,e.inactiveDate=this.inactiveDate?this.inactiveDate.toISOString():void 0,e.userType=this.userType,e.birthDate=this.birthDate?this.birthDate.toISOString():void 0,e.graduationDate=this.graduationDate?this.graduationDate.toISOString():void 0,e.hireDate=this.hireDate?this.hireDate.toISOString():void 0,e.fireDate=this.fireDate?this.fireDate.toISOString():void 0,e.locationId=this.locationId,e.street=this.street,e.city=this.city,e.stateId=this.stateId,e.countryId=this.countryId,e.zip=this.zip,e.phone=this.phone,e.emailSecretary=this.emailSecretary,e.emailPracticeLeader=this.emailPracticeLeader,e.note=this.note,e.affiliationId=this.affiliationId,e.portalAccessEnabled=this.portalAccessEnabled,e.position=this.position,e.userAvatarId=this.userAvatarId,e.supressEmail=this.supressEmail,Array.isArray(this.userRole)){e.userRole=[];var t,n=Object(s.a)(this.userRole);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.userRole.push(i.toJSON())}}catch(N){n.e(N)}finally{n.f()}}if(Array.isArray(this.userLicense)){e.userLicense=[];var a,r=Object(s.a)(this.userLicense);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.userLicense.push(o.toJSON())}}catch(N){r.e(N)}finally{r.f()}}if(Array.isArray(this.userPosition)){e.userPosition=[];var l,c=Object(s.a)(this.userPosition);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.userPosition.push(d.toJSON())}}catch(N){c.e(N)}finally{c.f()}}if(Array.isArray(this.userClassYear)){e.userClassYear=[];var u,m=Object(s.a)(this.userClassYear);try{for(m.s();!(u=m.n()).done;){var v=u.value;e.userClassYear.push(v.toJSON())}}catch(N){m.e(N)}finally{m.f()}}if(Array.isArray(this.userDepartment)){e.userDepartment=[];var f,p=Object(s.a)(this.userDepartment);try{for(p.s();!(f=p.n()).done;){var h=f.value;e.userDepartment.push(h.toJSON())}}catch(N){p.e(N)}finally{p.f()}}if(Array.isArray(this.userEthnicity)){e.userEthnicity=[];var y,b=Object(s.a)(this.userEthnicity);try{for(b.s();!(y=b.n()).done;){var g=y.value;e.userEthnicity.push(g.toJSON())}}catch(N){b.e(N)}finally{b.f()}}if(Array.isArray(this.userGroup)){e.userGroup=[];var E,I=Object(s.a)(this.userGroup);try{for(I.s();!(E=I.n()).done;){var S=E.value;e.userGroup.push(S.toJSON())}}catch(N){I.e(N)}finally{I.f()}}if(Array.isArray(this.userLevel)){e.userLevel=[];var O,C=Object(s.a)(this.userLevel);try{for(C.s();!(O=C.n()).done;){var j=O.value;e.userLevel.push(j.toJSON())}}catch(N){C.e(N)}finally{C.f()}}if(Array.isArray(this.userPracticeArea)){e.userPracticeArea=[];var x,A=Object(s.a)(this.userPracticeArea);try{for(A.s();!(x=A.n()).done;){var T=x.value;e.userPracticeArea.push(T.toJSON())}}catch(N){A.e(N)}finally{A.f()}}if(Array.isArray(this.userRelationship)){e.userRelationship=[];var w,k=Object(s.a)(this.userRelationship);try{for(k.s();!(w=k.n()).done;){var P=w.value;e.userRelationship.push(P.toJSON())}}catch(N){k.e(N)}finally{k.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Pr=function(){function e(t){if(Object(l.a)(this,e),this.sessionId=void 0,this.sessionParticipantIds=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&(this.sessionId=e.sessionId,Array.isArray(e.sessionParticipantIds))){this.sessionParticipantIds=[];var t,n=Object(s.a)(e.sessionParticipantIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.sessionParticipantIds.push(i)}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).sessionId=this.sessionId,Array.isArray(this.sessionParticipantIds)){e.sessionParticipantIds=[];var t,n=Object(s.a)(this.sessionParticipantIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.sessionParticipantIds.push(i)}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Nr=function(){function e(t){if(Object(l.a)(this,e),this.userId=void 0,this.licenseId=void 0,this.exemptionValues=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&(this.userId=e.userId,this.licenseId=e.licenseId,Array.isArray(e.exemptionValues))){this.exemptionValues=[];var t,n=Object(s.a)(e.exemptionValues);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.exemptionValues.push(TS.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).userId=this.userId,e.licenseId=this.licenseId,Array.isArray(this.exemptionValues)){e.exemptionValues=[];var t,n=Object(s.a)(this.exemptionValues);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.exemptionValues.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Dr=function(){function e(t){if(Object(l.a)(this,e),this.sessionId=void 0,this.sessionParticipantIds=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n]);t||(this.sessionParticipantIds=[])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&(this.sessionId=e.sessionId,Array.isArray(e.sessionParticipantIds))){this.sessionParticipantIds=[];var t,n=Object(s.a)(e.sessionParticipantIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.sessionParticipantIds.push(i)}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).sessionId=this.sessionId,Array.isArray(this.sessionParticipantIds)){e.sessionParticipantIds=[];var t,n=Object(s.a)(this.sessionParticipantIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.sessionParticipantIds.push(i)}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Lr=function(){function e(t){if(Object(l.a)(this,e),this.userId=void 0,this.reportName=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.userId=e.userId,this.reportName=e.reportName)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).userId=this.userId,e.reportName=this.reportName,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Fr=function(){function e(t){if(Object(l.a)(this,e),this.userId=void 0,this.licenseId=void 0,this.applyTo=void 0,this.userRetroactiveCredits=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&(this.userId=e.userId,this.licenseId=e.licenseId,this.applyTo=e.applyTo?new Date(e.applyTo.toString()):void 0,Array.isArray(e.userRetroactiveCredits))){this.userRetroactiveCredits=[];var t,n=Object(s.a)(e.userRetroactiveCredits);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.userRetroactiveCredits.push(qS.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).userId=this.userId,e.licenseId=this.licenseId,e.applyTo=this.applyTo?this.applyTo.toISOString():void 0,Array.isArray(this.userRetroactiveCredits)){e.userRetroactiveCredits=[];var t,n=Object(s.a)(this.userRetroactiveCredits);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.userRetroactiveCredits.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Br=function(){function e(t){if(Object(l.a)(this,e),this.name=void 0,this.isPublic=void 0,this.isReadOnly=void 0,this.filter=void 0,this.createdBy=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.name=e.name,this.isPublic=e.isPublic,this.isReadOnly=e.isReadOnly,this.filter=e.filter,this.createdBy=e.createdBy)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).name=this.name,e.isPublic=this.isPublic,e.isReadOnly=this.isReadOnly,e.filter=this.filter,e.createdBy=this.createdBy,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Rr=function(){function e(t){if(Object(l.a)(this,e),this.attribute=void 0,this.comparison=void 0,this.filter=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&(this.attribute=e.attribute,this.comparison=e.comparison,Array.isArray(e.filter))){this.filter=[];var t,n=Object(s.a)(e.filter);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.filter.push(Gf.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).attribute=this.attribute,e.comparison=this.comparison,Array.isArray(this.filter)){e.filter=[];var t,n=Object(s.a)(this.filter);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.filter.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Jr=function(){function e(t){if(Object(l.a)(this,e),this.title=void 0,this.criteriaFieldId=void 0,this.comparison=void 0,this.criteriaField=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&(this.title=e.title,this.criteriaFieldId=e.criteriaFieldId,this.comparison=e.comparison,Array.isArray(e.criteriaField))){this.criteriaField=[];var t,n=Object(s.a)(e.criteriaField);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.criteriaField.push(Rr.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).title=this.title,e.criteriaFieldId=this.criteriaFieldId,e.comparison=this.comparison,Array.isArray(this.criteriaField)){e.criteriaField=[];var t,n=Object(s.a)(this.criteriaField);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.criteriaField.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Gr=function(){function e(t){if(Object(l.a)(this,e),this.exemptIfNotMetCriteria=void 0,this.criteria=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&(this.exemptIfNotMetCriteria=e.exemptIfNotMetCriteria,Array.isArray(e.criteria))){this.criteria=[];var t,n=Object(s.a)(e.criteria);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.criteria.push(Jr.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).exemptIfNotMetCriteria=this.exemptIfNotMetCriteria,Array.isArray(this.criteria)){e.criteria=[];var t,n=Object(s.a)(this.criteria);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.criteria.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}();!function(e){e[e.ManuallyAdded=0]="ManuallyAdded",e[e.MetCriteria=1]="MetCriteria",e[e.NoLongerMeetsCriteria=2]="NoLongerMeetsCriteria",e[e.SelfRegistered=3]="SelfRegistered"}(Bi||(Bi={}));var Ur,zr=function(){function e(t){if(Object(l.a)(this,e),this.licenseId=void 0,this.licenseName=void 0,this.industryId=void 0,this.reportingPeriodEndDate=void 0,this.inComplianceCount=void 0,this.inProgressCount=void 0,this.priorPeriodDeficiencyCount=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.licenseId=e.licenseId,this.licenseName=e.licenseName,this.industryId=e.industryId,this.reportingPeriodEndDate=e.reportingPeriodEndDate?new Date(e.reportingPeriodEndDate.toString()):void 0,this.inComplianceCount=e.inComplianceCount,this.inProgressCount=e.inProgressCount,this.priorPeriodDeficiencyCount=e.priorPeriodDeficiencyCount)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).licenseId=this.licenseId,e.licenseName=this.licenseName,e.industryId=this.industryId,e.reportingPeriodEndDate=this.reportingPeriodEndDate?this.reportingPeriodEndDate.toISOString():void 0,e.inComplianceCount=this.inComplianceCount,e.inProgressCount=this.inProgressCount,e.priorPeriodDeficiencyCount=this.priorPeriodDeficiencyCount,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),qr=function(){function e(t){if(Object(l.a)(this,e),this.dashboardReportingPeriods=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&Array.isArray(e.dashboardReportingPeriods)){this.dashboardReportingPeriods=[];var t,n=Object(s.a)(e.dashboardReportingPeriods);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.dashboardReportingPeriods.push(zr.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.dashboardReportingPeriods)){e.dashboardReportingPeriods=[];var t,n=Object(s.a)(this.dashboardReportingPeriods);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.dashboardReportingPeriods.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Mr=function(){function e(t){if(Object(l.a)(this,e),this.sessionId=void 0,this.scheduleId=void 0,this.sessionTypeId=void 0,this.mediaTypeId=void 0,this.title=void 0,this.courseFormatPortalCategory=void 0,this.isOnlineLearning=void 0,this.courseTitle=void 0,this.startDate=void 0,this.startTime=void 0,this.endTime=void 0,this.timezoneId=void 0,this.timeZone=void 0,this.locationId=void 0,this.location=void 0,this.validatedCount=void 0,this.registeredCount=void 0,this.tentativeCount=void 0,this.pendingCount=void 0,this.inProgressCount=void 0,this.disqualifiedCount=void 0,this.failedCount=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.sessionId=e.sessionId,this.scheduleId=e.scheduleId,this.sessionTypeId=e.sessionTypeId,this.mediaTypeId=e.mediaTypeId,this.title=e.title,this.courseFormatPortalCategory=e.courseFormatPortalCategory,this.isOnlineLearning=e.isOnlineLearning,this.courseTitle=e.courseTitle,this.startDate=e.startDate?new Date(e.startDate.toString()):void 0,this.startTime=e.startTime,this.endTime=e.endTime,this.timezoneId=e.timezoneId,this.timeZone=e.timeZone,this.locationId=e.locationId,this.location=e.location,this.validatedCount=e.validatedCount,this.registeredCount=e.registeredCount,this.tentativeCount=e.tentativeCount,this.pendingCount=e.pendingCount,this.inProgressCount=e.inProgressCount,this.disqualifiedCount=e.disqualifiedCount,this.failedCount=e.failedCount)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).sessionId=this.sessionId,e.scheduleId=this.scheduleId,e.sessionTypeId=this.sessionTypeId,e.mediaTypeId=this.mediaTypeId,e.title=this.title,e.courseFormatPortalCategory=this.courseFormatPortalCategory,e.isOnlineLearning=this.isOnlineLearning,e.courseTitle=this.courseTitle,e.startDate=this.startDate?this.startDate.toISOString():void 0,e.startTime=this.startTime,e.endTime=this.endTime,e.timezoneId=this.timezoneId,e.timeZone=this.timeZone,e.locationId=this.locationId,e.location=this.location,e.validatedCount=this.validatedCount,e.registeredCount=this.registeredCount,e.tentativeCount=this.tentativeCount,e.pendingCount=this.pendingCount,e.inProgressCount=this.inProgressCount,e.disqualifiedCount=this.disqualifiedCount,e.failedCount=this.failedCount,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Wr=function(){function e(t){if(Object(l.a)(this,e),this.dashboardSessions=void 0,this.recordCount=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.dashboardSessions)){this.dashboardSessions=[];var t,n=Object(s.a)(e.dashboardSessions);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.dashboardSessions.push(Mr.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}this.recordCount=e.recordCount}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.dashboardSessions)){e.dashboardSessions=[];var t,n=Object(s.a)(this.dashboardSessions);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.dashboardSessions.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e.recordCount=this.recordCount,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Vr=function(){function e(t){if(Object(l.a)(this,e),this.userId=void 0,this.reportId=void 0,this.reportGuid=void 0,this.reportName=void 0,this.categoryName=void 0,this.reportType=void 0,this.lastViewDate=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.userId=e.userId,this.reportId=e.reportId,this.reportGuid=e.reportGuid,this.reportName=e.reportName,this.categoryName=e.categoryName,this.reportType=e.reportType,this.lastViewDate=e.lastViewDate?new Date(e.lastViewDate.toString()):void 0)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).userId=this.userId,e.reportId=this.reportId,e.reportGuid=this.reportGuid,e.reportName=this.reportName,e.categoryName=this.categoryName,e.reportType=this.reportType,e.lastViewDate=this.lastViewDate?this.lastViewDate.toISOString():void 0,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),_r=function(){function e(t){if(Object(l.a)(this,e),this.dashboardUserFavoriteReports=void 0,this.recordCount=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.dashboardUserFavoriteReports)){this.dashboardUserFavoriteReports=[];var t,n=Object(s.a)(e.dashboardUserFavoriteReports);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.dashboardUserFavoriteReports.push(Vr.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}this.recordCount=e.recordCount}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.dashboardUserFavoriteReports)){e.dashboardUserFavoriteReports=[];var t,n=Object(s.a)(this.dashboardUserFavoriteReports);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.dashboardUserFavoriteReports.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e.recordCount=this.recordCount,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Yr=function(){function e(t){if(Object(l.a)(this,e),this.dateFormatId=void 0,this.name=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.dateFormatId=e.dateFormatId,this.name=e.name)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).dateFormatId=this.dateFormatId,e.name=this.name,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Hr=function(){function e(t){if(Object(l.a)(this,e),this.declineCodeId=void 0,this.name=void 0,this.isActive=void 0,this.code=void 0,this.scheduleDeclineCount=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.declineCodeId=e.declineCodeId,this.name=e.name,this.isActive=e.isActive,this.code=e.code,this.scheduleDeclineCount=e.scheduleDeclineCount)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).declineCodeId=this.declineCodeId,e.name=this.name,e.isActive=this.isActive,e.code=this.code,e.scheduleDeclineCount=this.scheduleDeclineCount,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),$r=function(){function e(t){if(Object(l.a)(this,e),this.declineCodes=void 0,this.recordCount=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.declineCodes)){this.declineCodes=[];var t,n=Object(s.a)(e.declineCodes);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.declineCodes.push(Hr.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}this.recordCount=e.recordCount}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.declineCodes)){e.declineCodes=[];var t,n=Object(s.a)(this.declineCodes);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.declineCodes.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e.recordCount=this.recordCount,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Qr=function(){function e(t){if(Object(l.a)(this,e),this.sessionInviteIdList=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n]);t||(this.sessionInviteIdList=[])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&Array.isArray(e.sessionInviteIdList)){this.sessionInviteIdList=[];var t,n=Object(s.a)(e.sessionInviteIdList);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.sessionInviteIdList.push(i)}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.sessionInviteIdList)){e.sessionInviteIdList=[];var t,n=Object(s.a)(this.sessionInviteIdList);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.sessionInviteIdList.push(i)}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Zr=function(){function e(t){if(Object(l.a)(this,e),this.sessionId=void 0,this.userIds=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&(this.sessionId=e.sessionId,Array.isArray(e.userIds))){this.userIds=[];var t,n=Object(s.a)(e.userIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.userIds.push(i)}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).sessionId=this.sessionId,Array.isArray(this.userIds)){e.userIds=[];var t,n=Object(s.a)(this.userIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.userIds.push(i)}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Xr=function(){function e(t){if(Object(l.a)(this,e),this.idList=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&Array.isArray(e.idList)){this.idList=[];var t,n=Object(s.a)(e.idList);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.idList.push(i)}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.idList)){e.idList=[];var t,n=Object(s.a)(this.idList);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.idList.push(i)}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Kr=function(){function e(t){if(Object(l.a)(this,e),this.activityIdList=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&Array.isArray(e.activityIdList)){this.activityIdList=[];var t,n=Object(s.a)(e.activityIdList);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.activityIdList.push(i)}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.activityIdList)){e.activityIdList=[];var t,n=Object(s.a)(this.activityIdList);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.activityIdList.push(i)}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),eo=function(){function e(t){if(Object(l.a)(this,e),this.activityParticipantId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.activityParticipantId=e.activityParticipantId)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).activityParticipantId=this.activityParticipantId,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),to=function(){function e(t){if(Object(l.a)(this,e),this.activityId=void 0,this.activityParticipantIdList=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&(this.activityId=e.activityId,Array.isArray(e.activityParticipantIdList))){this.activityParticipantIdList=[];var t,n=Object(s.a)(e.activityParticipantIdList);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.activityParticipantIdList.push(i)}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).activityId=this.activityId,Array.isArray(this.activityParticipantIdList)){e.activityParticipantIdList=[];var t,n=Object(s.a)(this.activityParticipantIdList);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.activityParticipantIdList.push(i)}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),no=function(){function e(t){if(Object(l.a)(this,e),this.affiliationIdList=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&Array.isArray(e.affiliationIdList)){this.affiliationIdList=[];var t,n=Object(s.a)(e.affiliationIdList);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.affiliationIdList.push(i)}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.affiliationIdList)){e.affiliationIdList=[];var t,n=Object(s.a)(this.affiliationIdList);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.affiliationIdList.push(i)}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),io=function(){function e(t){if(Object(l.a)(this,e),this.idList=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&Array.isArray(e.idList)){this.idList=[];var t,n=Object(s.a)(e.idList);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.idList.push(i)}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.idList)){e.idList=[];var t,n=Object(s.a)(this.idList);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.idList.push(i)}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),ao=function(){function e(t){if(Object(l.a)(this,e),this.sessionParticipantCertificateIdList=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&Array.isArray(e.sessionParticipantCertificateIdList)){this.sessionParticipantCertificateIdList=[];var t,n=Object(s.a)(e.sessionParticipantCertificateIdList);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.sessionParticipantCertificateIdList.push(i)}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.sessionParticipantCertificateIdList)){e.sessionParticipantCertificateIdList=[];var t,n=Object(s.a)(this.sessionParticipantCertificateIdList);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.sessionParticipantCertificateIdList.push(i)}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),ro=function(){function e(t){if(Object(l.a)(this,e),this.idList=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&Array.isArray(e.idList)){this.idList=[];var t,n=Object(s.a)(e.idList);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.idList.push(i)}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.idList)){e.idList=[];var t,n=Object(s.a)(this.idList);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.idList.push(i)}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),oo=function(){function e(t){if(Object(l.a)(this,e),this.certificateId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.certificateId=e.certificateId)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).certificateId=this.certificateId,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),so=function(){function e(t){if(Object(l.a)(this,e),this.classYearIdList=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&Array.isArray(e.classYearIdList)){this.classYearIdList=[];var t,n=Object(s.a)(e.classYearIdList);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.classYearIdList.push(i)}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.classYearIdList)){e.classYearIdList=[];var t,n=Object(s.a)(this.classYearIdList);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.classYearIdList.push(i)}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),lo=function(){function e(t){if(Object(l.a)(this,e),this.competencyIdList=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&Array.isArray(e.competencyIdList)){this.competencyIdList=[];var t,n=Object(s.a)(e.competencyIdList);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.competencyIdList.push(i)}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.competencyIdList)){e.competencyIdList=[];var t,n=Object(s.a)(this.competencyIdList);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.competencyIdList.push(i)}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),co=function(){function e(t){if(Object(l.a)(this,e),this.competencyFrameworkId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.competencyFrameworkId=e.competencyFrameworkId)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).competencyFrameworkId=this.competencyFrameworkId,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),uo=function(){function e(t){if(Object(l.a)(this,e),this.userId=void 0,this.sessionTranscriptIdList=void 0,this.activityTranscriptIdList=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.userId=e.userId,Array.isArray(e.sessionTranscriptIdList)){this.sessionTranscriptIdList=[];var t,n=Object(s.a)(e.sessionTranscriptIdList);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.sessionTranscriptIdList.push(i)}}catch(l){n.e(l)}finally{n.f()}}if(Array.isArray(e.activityTranscriptIdList)){this.activityTranscriptIdList=[];var a,r=Object(s.a)(e.activityTranscriptIdList);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.activityTranscriptIdList.push(o)}}catch(l){r.e(l)}finally{r.f()}}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).userId=this.userId,Array.isArray(this.sessionTranscriptIdList)){e.sessionTranscriptIdList=[];var t,n=Object(s.a)(this.sessionTranscriptIdList);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.sessionTranscriptIdList.push(i)}}catch(l){n.e(l)}finally{n.f()}}if(Array.isArray(this.activityTranscriptIdList)){e.activityTranscriptIdList=[];var a,r=Object(s.a)(this.activityTranscriptIdList);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.activityTranscriptIdList.push(o)}}catch(l){r.e(l)}finally{r.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),mo=function(){function e(t){if(Object(l.a)(this,e),this.courseIdList=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n]);t||(this.courseIdList=[])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&Array.isArray(e.courseIdList)){this.courseIdList=[];var t,n=Object(s.a)(e.courseIdList);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.courseIdList.push(i)}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.courseIdList)){e.courseIdList=[];var t,n=Object(s.a)(this.courseIdList);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.courseIdList.push(i)}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),vo=function(){function e(t){if(Object(l.a)(this,e),this.declineCodeIdList=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&Array.isArray(e.declineCodeIdList)){this.declineCodeIdList=[];var t,n=Object(s.a)(e.declineCodeIdList);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.declineCodeIdList.push(i)}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.declineCodeIdList)){e.declineCodeIdList=[];var t,n=Object(s.a)(this.declineCodeIdList);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.declineCodeIdList.push(i)}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),fo=function(){function e(t){if(Object(l.a)(this,e),this.departmentIdList=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n]);t||(this.departmentIdList=[])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&Array.isArray(e.departmentIdList)){this.departmentIdList=[];var t,n=Object(s.a)(e.departmentIdList);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.departmentIdList.push(i)}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.departmentIdList)){e.departmentIdList=[];var t,n=Object(s.a)(this.departmentIdList);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.departmentIdList.push(i)}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),po=function(){function e(t){if(Object(l.a)(this,e),this.emailTemplateIds=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&Array.isArray(e.emailTemplateIds)){this.emailTemplateIds=[];var t,n=Object(s.a)(e.emailTemplateIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.emailTemplateIds.push(i)}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.emailTemplateIds)){e.emailTemplateIds=[];var t,n=Object(s.a)(this.emailTemplateIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.emailTemplateIds.push(i)}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),ho=function(){function e(t){if(Object(l.a)(this,e),this.ethnicityIdList=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&Array.isArray(e.ethnicityIdList)){this.ethnicityIdList=[];var t,n=Object(s.a)(e.ethnicityIdList);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.ethnicityIdList.push(i)}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.ethnicityIdList)){e.ethnicityIdList=[];var t,n=Object(s.a)(this.ethnicityIdList);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.ethnicityIdList.push(i)}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),yo=function(){function e(t){if(Object(l.a)(this,e),this.evaluationIdList=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&Array.isArray(e.evaluationIdList)){this.evaluationIdList=[];var t,n=Object(s.a)(e.evaluationIdList);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.evaluationIdList.push(i)}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.evaluationIdList)){e.evaluationIdList=[];var t,n=Object(s.a)(this.evaluationIdList);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.evaluationIdList.push(i)}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),bo=function(){function e(t){if(Object(l.a)(this,e),this.questionId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.questionId=e.questionId)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).questionId=this.questionId,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),go=function(){function e(t){if(Object(l.a)(this,e),this.sectionId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.sectionId=e.sectionId)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).sectionId=this.sectionId,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Eo=function(){function e(t){if(Object(l.a)(this,e),this.excuseIdList=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&Array.isArray(e.excuseIdList)){this.excuseIdList=[];var t,n=Object(s.a)(e.excuseIdList);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.excuseIdList.push(i)}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.excuseIdList)){e.excuseIdList=[];var t,n=Object(s.a)(this.excuseIdList);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.excuseIdList.push(i)}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Io=function(){function e(t){if(Object(l.a)(this,e),this.fileIdList=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&Array.isArray(e.fileIdList)){this.fileIdList=[];var t,n=Object(s.a)(e.fileIdList);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.fileIdList.push(i)}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.fileIdList)){e.fileIdList=[];var t,n=Object(s.a)(this.fileIdList);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.fileIdList.push(i)}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),So=function(){function e(t){if(Object(l.a)(this,e),this.isPortalLogo=void 0,this.roleId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.isPortalLogo=e.isPortalLogo,this.roleId=e.roleId)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).isPortalLogo=this.isPortalLogo,e.roleId=this.roleId,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Oo=function(){function e(t){if(Object(l.a)(this,e),this.userIdList=void 0,this.sessionId=void 0,this.sendEmailConfirmation=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.userIdList)){this.userIdList=[];var t,n=Object(s.a)(e.userIdList);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.userIdList.push(i)}}catch(a){n.e(a)}finally{n.f()}}this.sessionId=e.sessionId,this.sendEmailConfirmation=e.sendEmailConfirmation}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.userIdList)){e.userIdList=[];var t,n=Object(s.a)(this.userIdList);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.userIdList.push(i)}}catch(a){n.e(a)}finally{n.f()}}return e.sessionId=this.sessionId,e.sendEmailConfirmation=this.sendEmailConfirmation,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Co=function(){function e(t){if(Object(l.a)(this,e),this.genderIdList=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&Array.isArray(e.genderIdList)){this.genderIdList=[];var t,n=Object(s.a)(e.genderIdList);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.genderIdList.push(i)}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.genderIdList)){e.genderIdList=[];var t,n=Object(s.a)(this.genderIdList);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.genderIdList.push(i)}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),jo=function(){function e(t){if(Object(l.a)(this,e),this.importId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.importId=e.importId)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).importId=this.importId,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),xo=function(){function e(t){if(Object(l.a)(this,e),this.learningPlanIdList=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&Array.isArray(e.learningPlanIdList)){this.learningPlanIdList=[];var t,n=Object(s.a)(e.learningPlanIdList);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.learningPlanIdList.push(i)}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.learningPlanIdList)){e.learningPlanIdList=[];var t,n=Object(s.a)(this.learningPlanIdList);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.learningPlanIdList.push(i)}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Ao=function(){function e(t){if(Object(l.a)(this,e),this.learningPlanId=void 0,this.participantIdList=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&(this.learningPlanId=e.learningPlanId,Array.isArray(e.participantIdList))){this.participantIdList=[];var t,n=Object(s.a)(e.participantIdList);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.participantIdList.push(i)}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).learningPlanId=this.learningPlanId,Array.isArray(this.participantIdList)){e.participantIdList=[];var t,n=Object(s.a)(this.participantIdList);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.participantIdList.push(i)}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),To=function(){function e(t){if(Object(l.a)(this,e),this.levelIdList=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&Array.isArray(e.levelIdList)){this.levelIdList=[];var t,n=Object(s.a)(e.levelIdList);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.levelIdList.push(i)}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.levelIdList)){e.levelIdList=[];var t,n=Object(s.a)(this.levelIdList);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.levelIdList.push(i)}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),wo=function(){function e(t){if(Object(l.a)(this,e),this.licenseCertificateIds=void 0,this.licenseId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n]);t||(this.licenseCertificateIds=[])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.licenseCertificateIds)){this.licenseCertificateIds=[];var t,n=Object(s.a)(e.licenseCertificateIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.licenseCertificateIds.push(i)}}catch(a){n.e(a)}finally{n.f()}}this.licenseId=e.licenseId}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.licenseCertificateIds)){e.licenseCertificateIds=[];var t,n=Object(s.a)(this.licenseCertificateIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.licenseCertificateIds.push(i)}}catch(a){n.e(a)}finally{n.f()}}return e.licenseId=this.licenseId,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),ko=function(){function e(t){if(Object(l.a)(this,e),this.locationIdList=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&Array.isArray(e.locationIdList)){this.locationIdList=[];var t,n=Object(s.a)(e.locationIdList);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.locationIdList.push(i)}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.locationIdList)){e.locationIdList=[];var t,n=Object(s.a)(this.locationIdList);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.locationIdList.push(i)}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Po=function(){function e(t){if(Object(l.a)(this,e),this.positionIdList=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&Array.isArray(e.positionIdList)){this.positionIdList=[];var t,n=Object(s.a)(e.positionIdList);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.positionIdList.push(i)}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.positionIdList)){e.positionIdList=[];var t,n=Object(s.a)(this.positionIdList);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.positionIdList.push(i)}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),No=function(){function e(t){if(Object(l.a)(this,e),this.practiceAreaIdList=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&Array.isArray(e.practiceAreaIdList)){this.practiceAreaIdList=[];var t,n=Object(s.a)(e.practiceAreaIdList);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.practiceAreaIdList.push(i)}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.practiceAreaIdList)){e.practiceAreaIdList=[];var t,n=Object(s.a)(this.practiceAreaIdList);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.practiceAreaIdList.push(i)}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Do=function(){function e(t){if(Object(l.a)(this,e),this.providerIdList=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&Array.isArray(e.providerIdList)){this.providerIdList=[];var t,n=Object(s.a)(e.providerIdList);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.providerIdList.push(i)}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.providerIdList)){e.providerIdList=[];var t,n=Object(s.a)(this.providerIdList);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.providerIdList.push(i)}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Lo=function(){function e(t){if(Object(l.a)(this,e),this.roleIdList=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n]);t||(this.roleIdList=[])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&Array.isArray(e.roleIdList)){this.roleIdList=[];var t,n=Object(s.a)(e.roleIdList);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.roleIdList.push(i)}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.roleIdList)){e.roleIdList=[];var t,n=Object(s.a)(this.roleIdList);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.roleIdList.push(i)}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Fo=function(){function e(t){if(Object(l.a)(this,e),this.roleId=void 0,this.licenseIds=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n]);t||(this.licenseIds=[])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&(this.roleId=e.roleId,Array.isArray(e.licenseIds))){this.licenseIds=[];var t,n=Object(s.a)(e.licenseIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.licenseIds.push(i)}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).roleId=this.roleId,Array.isArray(this.licenseIds)){e.licenseIds=[];var t,n=Object(s.a)(this.licenseIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.licenseIds.push(i)}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Bo=function(){function e(t){if(Object(l.a)(this,e),this.roomIdList=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&Array.isArray(e.roomIdList)){this.roomIdList=[];var t,n=Object(s.a)(e.roomIdList);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.roomIdList.push(i)}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.roomIdList)){e.roomIdList=[];var t,n=Object(s.a)(this.roomIdList);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.roomIdList.push(i)}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Ro=function(){function e(t){if(Object(l.a)(this,e),this.courseId=void 0,this.emailTypeId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.courseId=e.courseId,this.emailTypeId=e.emailTypeId)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).courseId=this.courseId,e.emailTypeId=this.emailTypeId,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Jo=function(){function e(t){if(Object(l.a)(this,e),this.scheduleId=void 0,this.emailTypeId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.scheduleId=e.scheduleId,this.emailTypeId=e.emailTypeId)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).scheduleId=this.scheduleId,e.emailTypeId=this.emailTypeId,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Go=function(){function e(t){if(Object(l.a)(this,e),this.sessionId=void 0,this.emailTypeId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.sessionId=e.sessionId,this.emailTypeId=e.emailTypeId)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).sessionId=this.sessionId,e.emailTypeId=this.emailTypeId,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Uo=function(){function e(t){if(Object(l.a)(this,e),this.sessionInviteIdList=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n]);t||(this.sessionInviteIdList=[])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&Array.isArray(e.sessionInviteIdList)){this.sessionInviteIdList=[];var t,n=Object(s.a)(e.sessionInviteIdList);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.sessionInviteIdList.push(i)}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.sessionInviteIdList)){e.sessionInviteIdList=[];var t,n=Object(s.a)(this.sessionInviteIdList);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.sessionInviteIdList.push(i)}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),zo=function(){function e(t){if(Object(l.a)(this,e),this.securityGroupIdList=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&Array.isArray(e.securityGroupIdList)){this.securityGroupIdList=[];var t,n=Object(s.a)(e.securityGroupIdList);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.securityGroupIdList.push(i)}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.securityGroupIdList)){e.securityGroupIdList=[];var t,n=Object(s.a)(this.securityGroupIdList);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.securityGroupIdList.push(i)}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),qo=function(){function e(t){if(Object(l.a)(this,e),this.userId=void 0,this.securityGroupIds=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n]);t||(this.securityGroupIds=[])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&(this.userId=e.userId,Array.isArray(e.securityGroupIds))){this.securityGroupIds=[];var t,n=Object(s.a)(e.securityGroupIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.securityGroupIds.push(i)}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).userId=this.userId,Array.isArray(this.securityGroupIds)){e.securityGroupIds=[];var t,n=Object(s.a)(this.securityGroupIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.securityGroupIds.push(i)}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Mo=function(){function e(t){if(Object(l.a)(this,e),this.sessionIdList=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n]);t||(this.sessionIdList=[])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&Array.isArray(e.sessionIdList)){this.sessionIdList=[];var t,n=Object(s.a)(e.sessionIdList);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.sessionIdList.push(i)}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.sessionIdList)){e.sessionIdList=[];var t,n=Object(s.a)(this.sessionIdList);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.sessionIdList.push(i)}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Wo=function(){function e(t){if(Object(l.a)(this,e),this.sessionId=void 0,this.sessionInviteIdList=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n]);t||(this.sessionInviteIdList=[])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&(this.sessionId=e.sessionId,Array.isArray(e.sessionInviteIdList))){this.sessionInviteIdList=[];var t,n=Object(s.a)(e.sessionInviteIdList);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.sessionInviteIdList.push(i)}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).sessionId=this.sessionId,Array.isArray(this.sessionInviteIdList)){e.sessionInviteIdList=[];var t,n=Object(s.a)(this.sessionInviteIdList);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.sessionInviteIdList.push(i)}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Vo=function(){function e(t){if(Object(l.a)(this,e),this.sessionId=void 0,this.sessionParticipantIdList=void 0,this.sendEmailConfirmation=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n]);t||(this.sessionParticipantIdList=[])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.sessionId=e.sessionId,Array.isArray(e.sessionParticipantIdList)){this.sessionParticipantIdList=[];var t,n=Object(s.a)(e.sessionParticipantIdList);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.sessionParticipantIdList.push(i)}}catch(a){n.e(a)}finally{n.f()}}this.sendEmailConfirmation=e.sendEmailConfirmation}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).sessionId=this.sessionId,Array.isArray(this.sessionParticipantIdList)){e.sessionParticipantIdList=[];var t,n=Object(s.a)(this.sessionParticipantIdList);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.sessionParticipantIdList.push(i)}}catch(a){n.e(a)}finally{n.f()}}return e.sendEmailConfirmation=this.sendEmailConfirmation,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),_o=function(){function e(t){if(Object(l.a)(this,e),this.tagIdList=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&Array.isArray(e.tagIdList)){this.tagIdList=[];var t,n=Object(s.a)(e.tagIdList);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.tagIdList.push(i)}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.tagIdList)){e.tagIdList=[];var t,n=Object(s.a)(this.tagIdList);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.tagIdList.push(i)}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Yo=function(){function e(t){if(Object(l.a)(this,e),this.userId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.userId=e.userId)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).userId=this.userId,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Ho=function(){function e(t){if(Object(l.a)(this,e),this.userIdList=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n]);t||(this.userIdList=[])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&Array.isArray(e.userIdList)){this.userIdList=[];var t,n=Object(s.a)(e.userIdList);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.userIdList.push(i)}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.userIdList)){e.userIdList=[];var t,n=Object(s.a)(this.userIdList);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.userIdList.push(i)}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),$o=function(){function e(t){if(Object(l.a)(this,e),this.sessionId=void 0,this.sessionParticipantIdList=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&(this.sessionId=e.sessionId,Array.isArray(e.sessionParticipantIdList))){this.sessionParticipantIdList=[];var t,n=Object(s.a)(e.sessionParticipantIdList);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.sessionParticipantIdList.push(i)}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).sessionId=this.sessionId,Array.isArray(this.sessionParticipantIdList)){e.sessionParticipantIdList=[];var t,n=Object(s.a)(this.sessionParticipantIdList);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.sessionParticipantIdList.push(i)}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Qo=function(){function e(t){if(Object(l.a)(this,e),this.sessionId=void 0,this.sessionParticipantIdList=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n]);t||(this.sessionParticipantIdList=[])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&(this.sessionId=e.sessionId,Array.isArray(e.sessionParticipantIdList))){this.sessionParticipantIdList=[];var t,n=Object(s.a)(e.sessionParticipantIdList);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.sessionParticipantIdList.push(i)}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).sessionId=this.sessionId,Array.isArray(this.sessionParticipantIdList)){e.sessionParticipantIdList=[];var t,n=Object(s.a)(this.sessionParticipantIdList);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.sessionParticipantIdList.push(i)}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Zo=function(){function e(t){if(Object(l.a)(this,e),this.sourceUserId=void 0,this.targetUserId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.sourceUserId=e.sourceUserId,this.targetUserId=e.targetUserId)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).sourceUserId=this.sourceUserId,e.targetUserId=this.targetUserId,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Xo=function(){function e(t){if(Object(l.a)(this,e),this.userId=void 0,this.licenseId=void 0,this.subjectAreaJurisdictionLicenseId=void 0,this.sessionParticipantId=void 0,this.applyTo=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.userId=e.userId,this.licenseId=e.licenseId,this.subjectAreaJurisdictionLicenseId=e.subjectAreaJurisdictionLicenseId,this.sessionParticipantId=e.sessionParticipantId,this.applyTo=e.applyTo?new Date(e.applyTo.toString()):void 0)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).userId=this.userId,e.licenseId=this.licenseId,e.subjectAreaJurisdictionLicenseId=this.subjectAreaJurisdictionLicenseId,e.sessionParticipantId=this.sessionParticipantId,e.applyTo=this.applyTo?this.applyTo.toISOString():void 0,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Ko=function(){function e(t){if(Object(l.a)(this,e),this.userId=void 0,this.licenseId=void 0,this.subjectAreaJurisdictionLicenseId=void 0,this.sessionParticipantId=void 0,this.applyTo=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.userId=e.userId,this.licenseId=e.licenseId,this.subjectAreaJurisdictionLicenseId=e.subjectAreaJurisdictionLicenseId,this.sessionParticipantId=e.sessionParticipantId,this.applyTo=e.applyTo?new Date(e.applyTo.toString()):void 0)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).userId=this.userId,e.licenseId=this.licenseId,e.subjectAreaJurisdictionLicenseId=this.subjectAreaJurisdictionLicenseId,e.sessionParticipantId=this.sessionParticipantId,e.applyTo=this.applyTo?this.applyTo.toISOString():void 0,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),es=function(){function e(t){if(Object(l.a)(this,e),this.userId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.userId=e.userId)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).userId=this.userId,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),ts=function(){function e(t){if(Object(l.a)(this,e),this.departmentId=void 0,this.name=void 0,this.isActive=void 0,this.code=void 0,this.courseCount=void 0,this.userCount=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.departmentId=e.departmentId,this.name=e.name,this.isActive=e.isActive,this.code=e.code,this.courseCount=e.courseCount,this.userCount=e.userCount)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).departmentId=this.departmentId,e.name=this.name,e.isActive=this.isActive,e.code=this.code,e.courseCount=this.courseCount,e.userCount=this.userCount,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),ns=function(){function e(t){if(Object(l.a)(this,e),this.departments=void 0,this.recordCount=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.departments)){this.departments=[];var t,n=Object(s.a)(e.departments);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.departments.push(ts.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}this.recordCount=e.recordCount}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.departments)){e.departments=[];var t,n=Object(s.a)(this.departments);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.departments.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e.recordCount=this.recordCount,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}();!function(e){e[e.InProgress=1]="InProgress",e[e.Complete=2]="Complete"}(Ur||(Ur={}));var is,as=function(){function e(t){if(Object(l.a)(this,e),this.developmentRecordId=void 0,this.sessionActivityParticipantId=void 0,this.courseActivityTitle=void 0,this.courseActivityDate=void 0,this.courseFormat=void 0,this.hours=void 0,this.isCourse=void 0,this.canUpdateDelete=void 0,this.reflection=void 0,this.licenseName=void 0,this.creditName=void 0,this.isPending=void 0,this.action=void 0,this.learningNeeds=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&(this.developmentRecordId=e.developmentRecordId,this.sessionActivityParticipantId=e.sessionActivityParticipantId,this.courseActivityTitle=e.courseActivityTitle,this.courseActivityDate=e.courseActivityDate?new Date(e.courseActivityDate.toString()):void 0,this.courseFormat=e.courseFormat,this.hours=e.hours,this.isCourse=e.isCourse,this.canUpdateDelete=e.canUpdateDelete,this.reflection=e.reflection,this.licenseName=e.licenseName,this.creditName=e.creditName,this.isPending=e.isPending,this.action=e.action,Array.isArray(e.learningNeeds))){this.learningNeeds=[];var t,n=Object(s.a)(e.learningNeeds);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.learningNeeds.push(rs.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).developmentRecordId=this.developmentRecordId,e.sessionActivityParticipantId=this.sessionActivityParticipantId,e.courseActivityTitle=this.courseActivityTitle,e.courseActivityDate=this.courseActivityDate?this.courseActivityDate.toISOString():void 0,e.courseFormat=this.courseFormat,e.hours=this.hours,e.isCourse=this.isCourse,e.canUpdateDelete=this.canUpdateDelete,e.reflection=this.reflection,e.licenseName=this.licenseName,e.creditName=this.creditName,e.isPending=this.isPending,e.action=this.action,Array.isArray(this.learningNeeds)){e.learningNeeds=[];var t,n=Object(s.a)(this.learningNeeds);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.learningNeeds.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),rs=function(){function e(t){if(Object(l.a)(this,e),this.developmentRecordLearningNeedId=void 0,this.competencyId=void 0,this.competencyName=void 0,this.competencySequence=void 0,this.subCategoryId=void 0,this.subCategoryName=void 0,this.subCategorySequence=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.developmentRecordLearningNeedId=e.developmentRecordLearningNeedId,this.competencyId=e.competencyId,this.competencyName=e.competencyName,this.competencySequence=e.competencySequence,this.subCategoryId=e.subCategoryId,this.subCategoryName=e.subCategoryName,this.subCategorySequence=e.subCategorySequence)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).developmentRecordLearningNeedId=this.developmentRecordLearningNeedId,e.competencyId=this.competencyId,e.competencyName=this.competencyName,e.competencySequence=this.competencySequence,e.subCategoryId=this.subCategoryId,e.subCategoryName=this.subCategoryName,e.subCategorySequence=this.subCategorySequence,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),os=function(){function e(t){if(Object(l.a)(this,e),this.developmentRecordLearningNeeds=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&Array.isArray(e.developmentRecordLearningNeeds)){this.developmentRecordLearningNeeds=[];var t,n=Object(s.a)(e.developmentRecordLearningNeeds);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.developmentRecordLearningNeeds.push(ls.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.developmentRecordLearningNeeds)){e.developmentRecordLearningNeeds=[];var t,n=Object(s.a)(this.developmentRecordLearningNeeds);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.developmentRecordLearningNeeds.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),ss=function(){function e(t){if(Object(l.a)(this,e),this.developmentRecord=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&Array.isArray(e.developmentRecord)){this.developmentRecord=[];var t,n=Object(s.a)(e.developmentRecord);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.developmentRecord.push(as.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.developmentRecord)){e.developmentRecord=[];var t,n=Object(s.a)(this.developmentRecord);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.developmentRecord.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),ls=function(){function e(t){if(Object(l.a)(this,e),this.developmentRecordId=void 0,this.competencyFrameworkId=void 0,this.competencyId=void 0,this.name=void 0,this.developmentPlanId=void 0,this.isCustomNeed=void 0,this.isSelected=void 0,this.subCategories=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&(this.developmentRecordId=e.developmentRecordId,this.competencyFrameworkId=e.competencyFrameworkId,this.competencyId=e.competencyId,this.name=e.name,this.developmentPlanId=e.developmentPlanId,this.isCustomNeed=e.isCustomNeed,this.isSelected=e.isSelected,Array.isArray(e.subCategories))){this.subCategories=[];var t,n=Object(s.a)(e.subCategories);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.subCategories.push(yv.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).developmentRecordId=this.developmentRecordId,e.competencyFrameworkId=this.competencyFrameworkId,e.competencyId=this.competencyId,e.name=this.name,e.developmentPlanId=this.developmentPlanId,e.isCustomNeed=this.isCustomNeed,e.isSelected=this.isSelected,Array.isArray(this.subCategories)){e.subCategories=[];var t,n=Object(s.a)(this.subCategories);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.subCategories.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),cs=function(){function e(t){if(Object(l.a)(this,e),this.fileId=void 0,this.file=void 0,this.sessionId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.fileId=e.fileId,this.file=e.file,this.sessionId=e.sessionId)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).fileId=this.fileId,e.file=this.file,e.sessionId=this.sessionId,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),ds=function(){function e(t){if(Object(l.a)(this,e),this.dueToReportScheduleId=void 0,this.isActive=void 0,this.frequency=void 0,this.jobId=void 0,this.lastEmailSent=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.dueToReportScheduleId=e.dueToReportScheduleId,this.isActive=e.isActive,this.frequency=e.frequency,this.jobId=e.jobId,this.lastEmailSent=e.lastEmailSent?new Date(e.lastEmailSent.toString()):void 0)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).dueToReportScheduleId=this.dueToReportScheduleId,e.isActive=this.isActive,e.frequency=this.frequency,e.jobId=this.jobId,e.lastEmailSent=this.lastEmailSent?this.lastEmailSent.toISOString():void 0,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),us=function(){function e(t){if(Object(l.a)(this,e),this.dueToReportScheduleId=void 0,this.minimumMonth=void 0,this.isActive=void 0,this.licenseIds=void 0,this.emailTemplateId=void 0,this.template=void 0,this.frequency=void 0,this.time=void 0,this.timezoneId=void 0,this.timezone=void 0,this.recurDayOfWeek=void 0,this.monthlyOption=void 0,this.monthlyDay=void 0,this.monthlyDayOfMonth=void 0,this.monthlyDayOfWeek=void 0,this.numberOfMonths=void 0,this.monthlyDayWithInterval=void 0,this.numberOfMonthsInterval=void 0,this.dayOfMonthWithInterval=void 0,this.dayOfWeekWithInterval=void 0,this.jobId=void 0,this.sendToAdmin=void 0,this.sendToAdminAssistant=void 0,this.sendSeparateCCCopy=void 0,this.recipients=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.dueToReportScheduleId=e.dueToReportScheduleId,this.minimumMonth=e.minimumMonth,this.isActive=e.isActive,this.licenseIds=e.licenseIds,this.emailTemplateId=e.emailTemplateId,this.template=e.template?Ts.fromJS(e.template):void 0,this.frequency=e.frequency,this.time=e.time,this.timezoneId=e.timezoneId,this.timezone=e.timezone?Yg.fromJS(e.timezone):void 0,Array.isArray(e.recurDayOfWeek)){this.recurDayOfWeek=[];var t,n=Object(s.a)(e.recurDayOfWeek);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.recurDayOfWeek.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(this.monthlyOption=e.monthlyOption,Array.isArray(e.monthlyDay)){this.monthlyDay=[];var a,r=Object(s.a)(e.monthlyDay);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.monthlyDay.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(this.monthlyDayOfMonth=e.monthlyDayOfMonth,this.monthlyDayOfWeek=e.monthlyDayOfWeek,this.numberOfMonths=e.numberOfMonths,Array.isArray(e.monthlyDayWithInterval)){this.monthlyDayWithInterval=[];var l,c=Object(s.a)(e.monthlyDayWithInterval);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.monthlyDayWithInterval.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(this.numberOfMonthsInterval=e.numberOfMonthsInterval,this.dayOfMonthWithInterval=e.dayOfMonthWithInterval,this.dayOfWeekWithInterval=e.dayOfWeekWithInterval,this.jobId=e.jobId,this.sendToAdmin=e.sendToAdmin,this.sendToAdminAssistant=e.sendToAdminAssistant,this.sendSeparateCCCopy=e.sendSeparateCCCopy,Array.isArray(e.recipients)){this.recipients=[];var u,m=Object(s.a)(e.recipients);try{for(m.s();!(u=m.n()).done;){var v=u.value;this.recipients.push(Ss.fromJS(v))}}catch(f){m.e(f)}finally{m.f()}}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).dueToReportScheduleId=this.dueToReportScheduleId,e.minimumMonth=this.minimumMonth,e.isActive=this.isActive,e.licenseIds=this.licenseIds,e.emailTemplateId=this.emailTemplateId,e.template=this.template?this.template.toJSON():void 0,e.frequency=this.frequency,e.time=this.time,e.timezoneId=this.timezoneId,e.timezone=this.timezone?this.timezone.toJSON():void 0,Array.isArray(this.recurDayOfWeek)){e.recurDayOfWeek=[];var t,n=Object(s.a)(this.recurDayOfWeek);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.recurDayOfWeek.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(e.monthlyOption=this.monthlyOption,Array.isArray(this.monthlyDay)){e.monthlyDay=[];var a,r=Object(s.a)(this.monthlyDay);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.monthlyDay.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(e.monthlyDayOfMonth=this.monthlyDayOfMonth,e.monthlyDayOfWeek=this.monthlyDayOfWeek,e.numberOfMonths=this.numberOfMonths,Array.isArray(this.monthlyDayWithInterval)){e.monthlyDayWithInterval=[];var l,c=Object(s.a)(this.monthlyDayWithInterval);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.monthlyDayWithInterval.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(e.numberOfMonthsInterval=this.numberOfMonthsInterval,e.dayOfMonthWithInterval=this.dayOfMonthWithInterval,e.dayOfWeekWithInterval=this.dayOfWeekWithInterval,e.jobId=this.jobId,e.sendToAdmin=this.sendToAdmin,e.sendToAdminAssistant=this.sendToAdminAssistant,e.sendSeparateCCCopy=this.sendSeparateCCCopy,Array.isArray(this.recipients)){e.recipients=[];var u,m=Object(s.a)(this.recipients);try{for(m.s();!(u=m.n()).done;){var v=u.value;e.recipients.push(v.toJSON())}}catch(f){m.e(f)}finally{m.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}();!function(e){e[e.Days=1]="Days",e[e.Weeks=2]="Weeks",e[e.Months=3]="Months"}(is||(is={}));var ms,vs=function(){function e(t){if(Object(l.a)(this,e),this.emailAttachmentId=void 0,this.fileId=void 0,this.name=void 0,this.type=void 0,this.extension=void 0,this.createdDate=void 0,this.fileName=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.emailAttachmentId=e.emailAttachmentId,this.fileId=e.fileId,this.name=e.name,this.type=e.type,this.extension=e.extension,this.createdDate=e.createdDate?new Date(e.createdDate.toString()):void 0,this.fileName=e.fileName)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).emailAttachmentId=this.emailAttachmentId,e.fileId=this.fileId,e.name=this.name,e.type=this.type,e.extension=this.extension,e.createdDate=this.createdDate?this.createdDate.toISOString():void 0,e.fileName=this.fileName,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}();!function(e){e[e.Default=0]="Default",e[e.Confirmation=1]="Confirmation",e[e.Notification=2]="Notification",e[e.Reminder=3]="Reminder",e[e.Announcement=4]="Announcement",e[e.Report=5]="Report",e[e.Newsletter=6]="Newsletter",e[e.Invite=7]="Invite"}(ms||(ms={}));var fs,ps=function(){function e(t){if(Object(l.a)(this,e),this.emailCourseId=void 0,this.courseId=void 0,this.course=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.emailCourseId=e.emailCourseId,this.courseId=e.courseId,this.course=e.course?aa.fromJS(e.course):void 0)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).emailCourseId=this.emailCourseId,e.courseId=this.courseId,e.course=this.course?this.course.toJSON():void 0,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),hs=function(){function e(t){if(Object(l.a)(this,e),this.emailId=void 0,this.subject=void 0,this.htmlBody=void 0,this.textBody=void 0,this.status=void 0,this.processDate=void 0,this.sentDate=void 0,this.createdDate=void 0,this.replyToUserId=void 0,this.replyToUser=void 0,this.senderId=void 0,this.sender=void 0,this.isArchived=void 0,this.emailTemplate=void 0,this.emailTypeId=void 0,this.emailAlias=void 0,this.emailType=void 0,this.emailParameter=void 0,this.licenses=void 0,this.sessions=void 0,this.courses=void 0,this.learningPlans=void 0,this.recipients=void 0,this.transactions=void 0,this.attachments=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.emailId=e.emailId,this.subject=e.subject,this.htmlBody=e.htmlBody,this.textBody=e.textBody,this.status=e.status,this.processDate=e.processDate?new Date(e.processDate.toString()):void 0,this.sentDate=e.sentDate?new Date(e.sentDate.toString()):void 0,this.createdDate=e.createdDate?new Date(e.createdDate.toString()):void 0,this.replyToUserId=e.replyToUserId,this.replyToUser=e.replyToUser?lS.fromJS(e.replyToUser):void 0,this.senderId=e.senderId,this.sender=e.sender?lS.fromJS(e.sender):void 0,this.isArchived=e.isArchived,this.emailTemplate=e.emailTemplate?ws.fromJS(e.emailTemplate):void 0,this.emailTypeId=e.emailTypeId,this.emailAlias=e.emailAlias,this.emailType=e.emailType?Rs.fromJS(e.emailType):void 0,this.emailParameter=e.emailParameter?Es.fromJS(e.emailParameter):void 0,Array.isArray(e.licenses)){this.licenses=[];var t,n=Object(s.a)(e.licenses);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.licenses.push(bs.fromJS(i))}}catch(O){n.e(O)}finally{n.f()}}if(Array.isArray(e.sessions)){this.sessions=[];var a,r=Object(s.a)(e.sessions);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.sessions.push(xs.fromJS(o))}}catch(O){r.e(O)}finally{r.f()}}if(Array.isArray(e.courses)){this.courses=[];var l,c=Object(s.a)(e.courses);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.courses.push(ps.fromJS(d))}}catch(O){c.e(O)}finally{c.f()}}if(Array.isArray(e.learningPlans)){this.learningPlans=[];var u,m=Object(s.a)(e.learningPlans);try{for(m.s();!(u=m.n()).done;){var v=u.value;this.learningPlans.push(ys.fromJS(v))}}catch(O){m.e(O)}finally{m.f()}}if(Array.isArray(e.recipients)){this.recipients=[];var f,p=Object(s.a)(e.recipients);try{for(p.s();!(f=p.n()).done;){var h=f.value;this.recipients.push(Ss.fromJS(h))}}catch(O){p.e(O)}finally{p.f()}}if(Array.isArray(e.transactions)){this.transactions=[];var y,b=Object(s.a)(e.transactions);try{for(b.s();!(y=b.n()).done;){var g=y.value;this.transactions.push(Ls.fromJS(g))}}catch(O){b.e(O)}finally{b.f()}}if(Array.isArray(e.attachments)){this.attachments=[];var E,I=Object(s.a)(e.attachments);try{for(I.s();!(E=I.n()).done;){var S=E.value;this.attachments.push(vs.fromJS(S))}}catch(O){I.e(O)}finally{I.f()}}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).emailId=this.emailId,e.subject=this.subject,e.htmlBody=this.htmlBody,e.textBody=this.textBody,e.status=this.status,e.processDate=this.processDate?this.processDate.toISOString():void 0,e.sentDate=this.sentDate?this.sentDate.toISOString():void 0,e.createdDate=this.createdDate?this.createdDate.toISOString():void 0,e.replyToUserId=this.replyToUserId,e.replyToUser=this.replyToUser?this.replyToUser.toJSON():void 0,e.senderId=this.senderId,e.sender=this.sender?this.sender.toJSON():void 0,e.isArchived=this.isArchived,e.emailTemplate=this.emailTemplate?this.emailTemplate.toJSON():void 0,e.emailTypeId=this.emailTypeId,e.emailAlias=this.emailAlias,e.emailType=this.emailType?this.emailType.toJSON():void 0,e.emailParameter=this.emailParameter?this.emailParameter.toJSON():void 0,Array.isArray(this.licenses)){e.licenses=[];var t,n=Object(s.a)(this.licenses);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.licenses.push(i.toJSON())}}catch(O){n.e(O)}finally{n.f()}}if(Array.isArray(this.sessions)){e.sessions=[];var a,r=Object(s.a)(this.sessions);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.sessions.push(o.toJSON())}}catch(O){r.e(O)}finally{r.f()}}if(Array.isArray(this.courses)){e.courses=[];var l,c=Object(s.a)(this.courses);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.courses.push(d.toJSON())}}catch(O){c.e(O)}finally{c.f()}}if(Array.isArray(this.learningPlans)){e.learningPlans=[];var u,m=Object(s.a)(this.learningPlans);try{for(m.s();!(u=m.n()).done;){var v=u.value;e.learningPlans.push(v.toJSON())}}catch(O){m.e(O)}finally{m.f()}}if(Array.isArray(this.recipients)){e.recipients=[];var f,p=Object(s.a)(this.recipients);try{for(p.s();!(f=p.n()).done;){var h=f.value;e.recipients.push(h.toJSON())}}catch(O){p.e(O)}finally{p.f()}}if(Array.isArray(this.transactions)){e.transactions=[];var y,b=Object(s.a)(this.transactions);try{for(b.s();!(y=b.n()).done;){var g=y.value;e.transactions.push(g.toJSON())}}catch(O){b.e(O)}finally{b.f()}}if(Array.isArray(this.attachments)){e.attachments=[];var E,I=Object(s.a)(this.attachments);try{for(I.s();!(E=I.n()).done;){var S=E.value;e.attachments.push(S.toJSON())}}catch(O){I.e(O)}finally{I.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),ys=function(){function e(t){if(Object(l.a)(this,e),this.emailLearningPlanId=void 0,this.learningPlanId=void 0,this.learningPlan=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.emailLearningPlanId=e.emailLearningPlanId,this.learningPlanId=e.learningPlanId,this.learningPlan=e.learningPlan?wv.fromJS(e.learningPlan):void 0)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).emailLearningPlanId=this.emailLearningPlanId,e.learningPlanId=this.learningPlanId,e.learningPlan=this.learningPlan?this.learningPlan.toJSON():void 0,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),bs=function(){function e(t){if(Object(l.a)(this,e),this.emailLicenseId=void 0,this.licenseId=void 0,this.license=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.emailLicenseId=e.emailLicenseId,this.licenseId=e.licenseId,this.license=e.license?Sf.fromJS(e.license):void 0)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).emailLicenseId=this.emailLicenseId,e.licenseId=this.licenseId,e.license=this.license?this.license.toJSON():void 0,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),gs=function(){function e(t){if(Object(l.a)(this,e),this.emails=void 0,this.recordCount=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.emails)){this.emails=[];var t,n=Object(s.a)(e.emails);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.emails.push(hs.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}this.recordCount=e.recordCount}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.emails)){e.emails=[];var t,n=Object(s.a)(this.emails);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.emails.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e.recordCount=this.recordCount,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Es=function(){function e(t){if(Object(l.a)(this,e),this.emailParameterId=void 0,this.sendToAdmin=void 0,this.sendToAdminAssistant=void 0,this.includeMaterials=void 0,this.includeLicensesHeldOnly=void 0,this.includeMatchedSessionsOnly=void 0,this.attendanceSheetDetail=void 0,this.additionalLocations=void 0,this.excludeNoCreditsEarned=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.emailParameterId=e.emailParameterId,this.sendToAdmin=e.sendToAdmin,this.sendToAdminAssistant=e.sendToAdminAssistant,this.includeMaterials=e.includeMaterials,this.includeLicensesHeldOnly=e.includeLicensesHeldOnly,this.includeMatchedSessionsOnly=e.includeMatchedSessionsOnly,this.attendanceSheetDetail=e.attendanceSheetDetail,this.additionalLocations=e.additionalLocations,this.excludeNoCreditsEarned=e.excludeNoCreditsEarned)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).emailParameterId=this.emailParameterId,e.sendToAdmin=this.sendToAdmin,e.sendToAdminAssistant=this.sendToAdminAssistant,e.includeMaterials=this.includeMaterials,e.includeLicensesHeldOnly=this.includeLicensesHeldOnly,e.includeMatchedSessionsOnly=this.includeMatchedSessionsOnly,e.attendanceSheetDetail=this.attendanceSheetDetail,e.additionalLocations=this.additionalLocations,e.excludeNoCreditsEarned=this.excludeNoCreditsEarned,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Is=function(){function e(t){if(Object(l.a)(this,e),this.emailRecipientId=void 0,this.name=void 0,this.email=void 0,this.type=void 0,this.sessionId=void 0,this.sessionParticipantId=void 0,this.userId=void 0,this.user=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.emailRecipientId=e.emailRecipientId,this.name=e.name,this.email=e.email,this.type=e.type,this.sessionId=e.sessionId,this.sessionParticipantId=e.sessionParticipantId,this.userId=e.userId,this.user=e.user?lS.fromJS(e.user):void 0)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).emailRecipientId=this.emailRecipientId,e.name=this.name,e.email=this.email,e.type=this.type,e.sessionId=this.sessionId,e.sessionParticipantId=this.sessionParticipantId,e.userId=this.userId,e.user=this.user?this.user.toJSON():void 0,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Ss=function(){function e(t){if(Object(l.a)(this,e),this.emailRecipientId=void 0,this.name=void 0,this.email=void 0,this.type=void 0,this.userId=void 0,this.user=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.emailRecipientId=e.emailRecipientId,this.name=e.name,this.email=e.email,this.type=e.type,this.userId=e.userId,this.user=e.user?lS.fromJS(e.user):void 0)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).emailRecipientId=this.emailRecipientId,e.name=this.name,e.email=this.email,e.type=this.type,e.userId=this.userId,e.user=this.user?this.user.toJSON():void 0,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Os=function(){function e(t){if(Object(l.a)(this,e),this.sessionId=void 0,this.sessionParticipants=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&(this.sessionId=e.sessionId,Array.isArray(e.sessionParticipants))){this.sessionParticipants=[];var t,n=Object(s.a)(e.sessionParticipants);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.sessionParticipants.push(Qb.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).sessionId=this.sessionId,Array.isArray(this.sessionParticipants)){e.sessionParticipants=[];var t,n=Object(s.a)(this.sessionParticipants);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.sessionParticipants.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Cs=function(){function e(t){if(Object(l.a)(this,e),this.userIds=void 0,this.sessionId=void 0,this.isInstructor=void 0,this.isTentative=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.userIds)){this.userIds=[];var t,n=Object(s.a)(e.userIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.userIds.push(i)}}catch(a){n.e(a)}finally{n.f()}}this.sessionId=e.sessionId,this.isInstructor=e.isInstructor,this.isTentative=e.isTentative}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.userIds)){e.userIds=[];var t,n=Object(s.a)(this.userIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.userIds.push(i)}}catch(a){n.e(a)}finally{n.f()}}return e.sessionId=this.sessionId,e.isInstructor=this.isInstructor,e.isTentative=this.isTentative,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),js=function(){function e(t){if(Object(l.a)(this,e),this.sessionId=void 0,this.sessionParticipantIds=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&(this.sessionId=e.sessionId,Array.isArray(e.sessionParticipantIds))){this.sessionParticipantIds=[];var t,n=Object(s.a)(e.sessionParticipantIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.sessionParticipantIds.push(i)}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).sessionId=this.sessionId,Array.isArray(this.sessionParticipantIds)){e.sessionParticipantIds=[];var t,n=Object(s.a)(this.sessionParticipantIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.sessionParticipantIds.push(i)}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),xs=function(){function e(t){if(Object(l.a)(this,e),this.emailSessionId=void 0,this.sessionId=void 0,this.session=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.emailSessionId=e.emailSessionId,this.sessionId=e.sessionId,this.session=e.session?pb.fromJS(e.session):void 0)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).emailSessionId=this.emailSessionId,e.sessionId=this.sessionId,e.session=this.session?this.session.toJSON():void 0,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),As=function(){function e(t){if(Object(l.a)(this,e),this.userId=void 0,this.name=void 0,this.email=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.userId=e.userId,this.name=e.name,this.email=e.email)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).userId=this.userId,e.name=this.name,e.email=this.email,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Ts=function(){function e(t){if(Object(l.a)(this,e),this.createdBy=void 0,this.createdDate=void 0,this.lastModifiedBy=void 0,this.lastModifiedDate=void 0,this.emailTemplateId=void 0,this.name=void 0,this.description=void 0,this.isActive=void 0,this.isSystem=void 0,this.isDefault=void 0,this.subject=void 0,this.body=void 0,this.emailAlias=void 0,this.emailTypeId=void 0,this.emailType=void 0,this.replyToUserId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.createdBy=e.createdBy,this.createdDate=e.createdDate?new Date(e.createdDate.toString()):void 0,this.lastModifiedBy=e.lastModifiedBy,this.lastModifiedDate=e.lastModifiedDate?new Date(e.lastModifiedDate.toString()):void 0,this.emailTemplateId=e.emailTemplateId,this.name=e.name,this.description=e.description,this.isActive=e.isActive,this.isSystem=e.isSystem,this.isDefault=e.isDefault,this.subject=e.subject,this.body=e.body,this.emailAlias=e.emailAlias,this.emailTypeId=e.emailTypeId,this.emailType=e.emailType?Bs.fromJS(e.emailType):void 0,this.replyToUserId=e.replyToUserId)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).createdBy=this.createdBy,e.createdDate=this.createdDate?this.createdDate.toISOString():void 0,e.lastModifiedBy=this.lastModifiedBy,e.lastModifiedDate=this.lastModifiedDate?this.lastModifiedDate.toISOString():void 0,e.emailTemplateId=this.emailTemplateId,e.name=this.name,e.description=this.description,e.isActive=this.isActive,e.isSystem=this.isSystem,e.isDefault=this.isDefault,e.subject=this.subject,e.body=this.body,e.emailAlias=this.emailAlias,e.emailTypeId=this.emailTypeId,e.emailType=this.emailType?this.emailType.toJSON():void 0,e.replyToUserId=this.replyToUserId,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),ws=function(){function e(t){if(Object(l.a)(this,e),this.emailTemplateId=void 0,this.name=void 0,this.description=void 0,this.isActive=void 0,this.isSystem=void 0,this.isDefault=void 0,this.subject=void 0,this.body=void 0,this.emailTypeId=void 0,this.replyToUserId=void 0,this.emailAlias=void 0,this.emailType=void 0,this.replyTo=void 0,this.isUsed=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.emailTemplateId=e.emailTemplateId,this.name=e.name,this.description=e.description,this.isActive=e.isActive,this.isSystem=e.isSystem,this.isDefault=e.isDefault,this.subject=e.subject,this.body=e.body,this.emailTypeId=e.emailTypeId,this.replyToUserId=e.replyToUserId,this.emailAlias=e.emailAlias,this.emailType=e.emailType?Rs.fromJS(e.emailType):void 0,this.replyTo=e.replyTo?lS.fromJS(e.replyTo):void 0,this.isUsed=e.isUsed)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).emailTemplateId=this.emailTemplateId,e.name=this.name,e.description=this.description,e.isActive=this.isActive,e.isSystem=this.isSystem,e.isDefault=this.isDefault,e.subject=this.subject,e.body=this.body,e.emailTypeId=this.emailTypeId,e.replyToUserId=this.replyToUserId,e.emailAlias=this.emailAlias,e.emailType=this.emailType?this.emailType.toJSON():void 0,e.replyTo=this.replyTo?this.replyTo.toJSON():void 0,e.isUsed=this.isUsed,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),ks=function(){function e(t){if(Object(l.a)(this,e),this.emailTemplates=void 0,this.recordCount=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.emailTemplates)){this.emailTemplates=[];var t,n=Object(s.a)(e.emailTemplates);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.emailTemplates.push(ws.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}this.recordCount=e.recordCount}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.emailTemplates)){e.emailTemplates=[];var t,n=Object(s.a)(this.emailTemplates);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.emailTemplates.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e.recordCount=this.recordCount,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Ps=function(){function e(t){if(Object(l.a)(this,e),this.emailTokenId=void 0,this.emailTypeId=void 0,this.tokenId=void 0,this.token=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.emailTokenId=e.emailTokenId,this.emailTypeId=e.emailTypeId,this.tokenId=e.tokenId,this.token=e.token?Zg.fromJS(e.token):void 0)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).emailTokenId=this.emailTokenId,e.emailTypeId=this.emailTypeId,e.tokenId=this.tokenId,e.token=this.token?this.token.toJSON():void 0,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Ns=function(){function e(t){if(Object(l.a)(this,e),this.emailTokenId=void 0,this.emailTypeId=void 0,this.tokenId=void 0,this.token=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.emailTokenId=e.emailTokenId,this.emailTypeId=e.emailTypeId,this.tokenId=e.tokenId,this.token=e.token?Zg.fromJS(e.token):void 0)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).emailTokenId=this.emailTokenId,e.emailTypeId=this.emailTypeId,e.tokenId=this.tokenId,e.token=this.token?this.token.toJSON():void 0,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Ds=function(){function e(t){if(Object(l.a)(this,e),this.tokens=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&Array.isArray(e.tokens)){this.tokens=[];var t,n=Object(s.a)(e.tokens);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.tokens.push(Ns.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.tokens)){e.tokens=[];var t,n=Object(s.a)(this.tokens);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.tokens.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Ls=function(){function e(t){if(Object(l.a)(this,e),this.emailTransactionId=void 0,this.emailKey=void 0,this.subject=void 0,this.htmlContent=void 0,this.textContent=void 0,this.to=void 0,this.cc=void 0,this.bcc=void 0,this.type=void 0,this.createdDate=void 0,this.sentDate=void 0,this.status=void 0,this.message=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.emailTransactionId=e.emailTransactionId,this.emailKey=e.emailKey,this.subject=e.subject,this.htmlContent=e.htmlContent,this.textContent=e.textContent,this.to=e.to,this.cc=e.cc,this.bcc=e.bcc,this.type=e.type,this.createdDate=e.createdDate?new Date(e.createdDate.toString()):void 0,this.sentDate=e.sentDate?new Date(e.sentDate.toString()):void 0,this.status=e.status,this.message=e.message)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).emailTransactionId=this.emailTransactionId,e.emailKey=this.emailKey,e.subject=this.subject,e.htmlContent=this.htmlContent,e.textContent=this.textContent,e.to=this.to,e.cc=this.cc,e.bcc=this.bcc,e.type=this.type,e.createdDate=this.createdDate?this.createdDate.toISOString():void 0,e.sentDate=this.sentDate?this.sentDate.toISOString():void 0,e.status=this.status,e.message=this.message,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Fs=function(){function e(t){if(Object(l.a)(this,e),this.emailTransaction=void 0,this.recordCount=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.emailTransaction)){this.emailTransaction=[];var t,n=Object(s.a)(e.emailTransaction);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.emailTransaction.push(Ls.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}this.recordCount=e.recordCount}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.emailTransaction)){e.emailTransaction=[];var t,n=Object(s.a)(this.emailTransaction);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.emailTransaction.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e.recordCount=this.recordCount,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Bs=function(){function e(t){if(Object(l.a)(this,e),this.emailTypeId=void 0,this.name=void 0,this.description=void 0,this.categoryId=void 0,this.defaultEmailTemplateId=void 0,this.defaultEmailTemplate=void 0,this.emailTokens=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&(this.emailTypeId=e.emailTypeId,this.name=e.name,this.description=e.description,this.categoryId=e.categoryId,this.defaultEmailTemplateId=e.defaultEmailTemplateId,this.defaultEmailTemplate=e.defaultEmailTemplate?Ts.fromJS(e.defaultEmailTemplate):void 0,Array.isArray(e.emailTokens))){this.emailTokens=[];var t,n=Object(s.a)(e.emailTokens);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.emailTokens.push(Ps.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).emailTypeId=this.emailTypeId,e.name=this.name,e.description=this.description,e.categoryId=this.categoryId,e.defaultEmailTemplateId=this.defaultEmailTemplateId,e.defaultEmailTemplate=this.defaultEmailTemplate?this.defaultEmailTemplate.toJSON():void 0,Array.isArray(this.emailTokens)){e.emailTokens=[];var t,n=Object(s.a)(this.emailTokens);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.emailTokens.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Rs=function(){function e(t){if(Object(l.a)(this,e),this.emailTypeId=void 0,this.name=void 0,this.code=void 0,this.description=void 0,this.categoryId=void 0,this.defaultEmailTemplateId=void 0,this.defaultEmailTemplate=void 0,this.emailTokens=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&(this.emailTypeId=e.emailTypeId,this.name=e.name,this.code=e.code,this.description=e.description,this.categoryId=e.categoryId,this.defaultEmailTemplateId=e.defaultEmailTemplateId,this.defaultEmailTemplate=e.defaultEmailTemplate?ws.fromJS(e.defaultEmailTemplate):void 0,Array.isArray(e.emailTokens))){this.emailTokens=[];var t,n=Object(s.a)(e.emailTokens);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.emailTokens.push(Ns.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).emailTypeId=this.emailTypeId,e.name=this.name,e.code=this.code,e.description=this.description,e.categoryId=this.categoryId,e.defaultEmailTemplateId=this.defaultEmailTemplateId,e.defaultEmailTemplate=this.defaultEmailTemplate?this.defaultEmailTemplate.toJSON():void 0,Array.isArray(this.emailTokens)){e.emailTokens=[];var t,n=Object(s.a)(this.emailTokens);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.emailTokens.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}();!function(e){e[e.Direct_Email=1]="Direct_Email",e[e.Course_Update=2]="Course_Update",e[e.Course_Cancellation=3]="Course_Cancellation",e[e.Course_Invitation=4]="Course_Invitation",e[e.Course_Reminder=5]="Course_Reminder",e[e.Tentative_Registration_Confirmation=6]="Tentative_Registration_Confirmation",e[e.Tentative_Registration_Cancellation=7]="Tentative_Registration_Cancellation",e[e.Wait_list_Confirmation=8]="Wait_list_Confirmation",e[e.Wait_list_Registration=9]="Wait_list_Registration",e[e.Wait_list_Cancellation=10]="Wait_list_Cancellation",e[e.Registration_Confirmation=11]="Registration_Confirmation",e[e.Registration_Cancellation=12]="Registration_Cancellation",e[e.Compliance_Report=13]="Compliance_Report",e[e.Evaluation_Request=14]="Evaluation_Request",e[e.Transcript_Report=15]="Transcript_Report",e[e.Course_Announcement=16]="Course_Announcement",e[e.Certificate=17]="Certificate",e[e.Learning_Plan=18]="Learning_Plan",e[e.Compliance_Reminder=19]="Compliance_Reminder",e[e.Compliance_Due_to_Report=20]="Compliance_Due_to_Report",e[e.Compliance_Statement=21]="Compliance_Statement",e[e.Registration_Confirmation_Instructor=28]="Registration_Confirmation_Instructor",e[e.Learning_Plan_Add_Participant=29]="Learning_Plan_Add_Participant",e[e.Learning_Plan_Exclude_Participant=30]="Learning_Plan_Exclude_Participant",e[e.Learning_Plan_Include_Participant=31]="Learning_Plan_Include_Participant",e[e.Learning_Plan_Delete_Participant=32]="Learning_Plan_Delete_Participant",e[e.Learning_Plan_Reminder=33]="Learning_Plan_Reminder",e[e.Attendance_Sheet=34]="Attendance_Sheet"}(fs||(fs={}));var Js,Gs=function(){function e(t){if(Object(l.a)(this,e),this.emailTypes=void 0,this.recordCount=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.emailTypes)){this.emailTypes=[];var t,n=Object(s.a)(e.emailTypes);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.emailTypes.push(Rs.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}this.recordCount=e.recordCount}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.emailTypes)){e.emailTypes=[];var t,n=Object(s.a)(this.emailTypes);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.emailTypes.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e.recordCount=this.recordCount,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Us=function(){function e(t){if(Object(l.a)(this,e),this.ethnicityId=void 0,this.name=void 0,this.isActive=void 0,this.code=void 0,this.userCount=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.ethnicityId=e.ethnicityId,this.name=e.name,this.isActive=e.isActive,this.code=e.code,this.userCount=e.userCount)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).ethnicityId=this.ethnicityId,e.name=this.name,e.isActive=this.isActive,e.code=this.code,e.userCount=this.userCount,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),zs=function(){function e(t){if(Object(l.a)(this,e),this.ethnicities=void 0,this.recordCount=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.ethnicities)){this.ethnicities=[];var t,n=Object(s.a)(e.ethnicities);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.ethnicities.push(Us.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}this.recordCount=e.recordCount}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.ethnicities)){e.ethnicities=[];var t,n=Object(s.a)(this.ethnicities);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.ethnicities.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e.recordCount=this.recordCount,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}();!function(e){e[e.Evaluate=1]="Evaluate",e[e.ViewEvaluation=2]="ViewEvaluation",e[e.NotApplicable=3]="NotApplicable"}(Js||(Js={}));var qs,Ms=function(){function e(t){if(Object(l.a)(this,e),this.evaluationId=void 0,this.name=void 0,this.instructions=void 0,this.isActive=void 0,this.sectionFormNumberStyleCode=void 0,this.questionFormNumberStyleCode=void 0,this.gridQuestionFormNumberStyleCode=void 0,this.isInUse=void 0,this.evaluationFormNumberExcludes=void 0,this.questions=void 0,this.sections=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.evaluationId=e.evaluationId,this.name=e.name,this.instructions=e.instructions,this.isActive=e.isActive,this.sectionFormNumberStyleCode=e.sectionFormNumberStyleCode,this.questionFormNumberStyleCode=e.questionFormNumberStyleCode,this.gridQuestionFormNumberStyleCode=e.gridQuestionFormNumberStyleCode,this.isInUse=e.isInUse,Array.isArray(e.evaluationFormNumberExcludes)){this.evaluationFormNumberExcludes=[];var t,n=Object(s.a)(e.evaluationFormNumberExcludes);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.evaluationFormNumberExcludes.push(Ws.fromJS(i))}}catch(u){n.e(u)}finally{n.f()}}if(Array.isArray(e.questions)){this.questions=[];var a,r=Object(s.a)(e.questions);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.questions.push(_s.fromJS(o))}}catch(u){r.e(u)}finally{r.f()}}if(Array.isArray(e.sections)){this.sections=[];var l,c=Object(s.a)(e.sections);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.sections.push(Zs.fromJS(d))}}catch(u){c.e(u)}finally{c.f()}}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).evaluationId=this.evaluationId,e.name=this.name,e.instructions=this.instructions,e.isActive=this.isActive,e.sectionFormNumberStyleCode=this.sectionFormNumberStyleCode,e.questionFormNumberStyleCode=this.questionFormNumberStyleCode,e.gridQuestionFormNumberStyleCode=this.gridQuestionFormNumberStyleCode,e.isInUse=this.isInUse,Array.isArray(this.evaluationFormNumberExcludes)){e.evaluationFormNumberExcludes=[];var t,n=Object(s.a)(this.evaluationFormNumberExcludes);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.evaluationFormNumberExcludes.push(i.toJSON())}}catch(u){n.e(u)}finally{n.f()}}if(Array.isArray(this.questions)){e.questions=[];var a,r=Object(s.a)(this.questions);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.questions.push(o.toJSON())}}catch(u){r.e(u)}finally{r.f()}}if(Array.isArray(this.sections)){e.sections=[];var l,c=Object(s.a)(this.sections);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.sections.push(d.toJSON())}}catch(u){c.e(u)}finally{c.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Ws=function(){function e(t){if(Object(l.a)(this,e),this.evaluationId=void 0,this.formNumberExcludeCode=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.evaluationId=e.evaluationId,this.formNumberExcludeCode=e.formNumberExcludeCode)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).evaluationId=this.evaluationId,e.formNumberExcludeCode=this.formNumberExcludeCode,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Vs=function(){function e(t){if(Object(l.a)(this,e),this.evaluations=void 0,this.recordCount=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.evaluations)){this.evaluations=[];var t,n=Object(s.a)(e.evaluations);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.evaluations.push(Ms.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}this.recordCount=e.recordCount}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.evaluations)){e.evaluations=[];var t,n=Object(s.a)(this.evaluations);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.evaluations.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e.recordCount=this.recordCount,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),_s=function(){function e(t){if(Object(l.a)(this,e),this.questionId=void 0,this.sectionId=void 0,this.questionTypeCode=void 0,this.questionTypeName=void 0,this.questionTypeSecondaryName=void 0,this.name=void 0,this.text=void 0,this.sequence=void 0,this.required=void 0,this.instructor=void 0,this.enableComments=void 0,this.requiredComments=void 0,this.commentTitle=void 0,this.content=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.questionId=e.questionId,this.sectionId=e.sectionId,this.questionTypeCode=e.questionTypeCode,this.questionTypeName=e.questionTypeName,this.questionTypeSecondaryName=e.questionTypeSecondaryName,this.name=e.name,this.text=e.text,this.sequence=e.sequence,this.required=e.required,this.instructor=e.instructor,this.enableComments=e.enableComments,this.requiredComments=e.requiredComments,this.commentTitle=e.commentTitle,this.content=e.content)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).questionId=this.questionId,e.sectionId=this.sectionId,e.questionTypeCode=this.questionTypeCode,e.questionTypeName=this.questionTypeName,e.questionTypeSecondaryName=this.questionTypeSecondaryName,e.name=this.name,e.text=this.text,e.sequence=this.sequence,e.required=this.required,e.instructor=this.instructor,e.enableComments=this.enableComments,e.requiredComments=this.requiredComments,e.commentTitle=this.commentTitle,e.content=this.content,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Ys=function(){function e(t){if(Object(l.a)(this,e),this.questionTypeCode=void 0,this.name=void 0,this.secondaryName=void 0,this.icon=void 0,this.description=void 0,this.example=void 0,this.isActive=void 0,this.sequence=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.questionTypeCode=e.questionTypeCode,this.name=e.name,this.secondaryName=e.secondaryName,this.icon=e.icon,this.description=e.description,this.example=e.example,this.isActive=e.isActive,this.sequence=e.sequence)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).questionTypeCode=this.questionTypeCode,e.name=this.name,e.secondaryName=this.secondaryName,e.icon=this.icon,e.description=this.description,e.example=this.example,e.isActive=this.isActive,e.sequence=this.sequence,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Hs=function(){function e(t){if(Object(l.a)(this,e),this.evaluationQuestionTypes=void 0,this.recordCount=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.evaluationQuestionTypes)){this.evaluationQuestionTypes=[];var t,n=Object(s.a)(e.evaluationQuestionTypes);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.evaluationQuestionTypes.push(Ys.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}this.recordCount=e.recordCount}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.evaluationQuestionTypes)){e.evaluationQuestionTypes=[];var t,n=Object(s.a)(this.evaluationQuestionTypes);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.evaluationQuestionTypes.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e.recordCount=this.recordCount,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}();!function(e){e[e.PrintSeparately=1]="PrintSeparately",e[e.PrintCombined=2]="PrintCombined"}(qs||(qs={}));var $s,Qs,Zs=function(){function e(t){if(Object(l.a)(this,e),this.sectionId=void 0,this.evaluationId=void 0,this.name=void 0,this.text=void 0,this.sequence=void 0,this.questions=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&(this.sectionId=e.sectionId,this.evaluationId=e.evaluationId,this.name=e.name,this.text=e.text,this.sequence=e.sequence,Array.isArray(e.questions))){this.questions=[];var t,n=Object(s.a)(e.questions);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.questions.push(_s.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).sectionId=this.sectionId,e.evaluationId=this.evaluationId,e.name=this.name,e.text=this.text,e.sequence=this.sequence,Array.isArray(this.questions)){e.questions=[];var t,n=Object(s.a)(this.questions);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.questions.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Xs=function(){function e(t){if(Object(l.a)(this,e),this.userIdList=void 0,this.dueToReportScheduleId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.userIdList)){this.userIdList=[];var t,n=Object(s.a)(e.userIdList);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.userIdList.push(i)}}catch(a){n.e(a)}finally{n.f()}}this.dueToReportScheduleId=e.dueToReportScheduleId}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.userIdList)){e.userIdList=[];var t,n=Object(s.a)(this.userIdList);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.userIdList.push(i)}}catch(a){n.e(a)}finally{n.f()}}return e.dueToReportScheduleId=this.dueToReportScheduleId,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Ks=function(){function e(t){if(Object(l.a)(this,e),this.learningPlanId=void 0,this.participantIdList=void 0,this.isIncluded=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.learningPlanId=e.learningPlanId,Array.isArray(e.participantIdList)){this.participantIdList=[];var t,n=Object(s.a)(e.participantIdList);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.participantIdList.push(i)}}catch(a){n.e(a)}finally{n.f()}}this.isIncluded=e.isIncluded}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).learningPlanId=this.learningPlanId,Array.isArray(this.participantIdList)){e.participantIdList=[];var t,n=Object(s.a)(this.participantIdList);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.participantIdList.push(i)}}catch(a){n.e(a)}finally{n.f()}}return e.isIncluded=this.isIncluded,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),el=function(){function e(t){if(Object(l.a)(this,e),this.userIdList=void 0,this.reminderScheduleId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.userIdList)){this.userIdList=[];var t,n=Object(s.a)(e.userIdList);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.userIdList.push(i)}}catch(a){n.e(a)}finally{n.f()}}this.reminderScheduleId=e.reminderScheduleId}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.userIdList)){e.userIdList=[];var t,n=Object(s.a)(this.userIdList);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.userIdList.push(i)}}catch(a){n.e(a)}finally{n.f()}}return e.reminderScheduleId=this.reminderScheduleId,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),tl=function(){function e(t){if(Object(l.a)(this,e),this.userIdList=void 0,this.statementScheduleId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.userIdList)){this.userIdList=[];var t,n=Object(s.a)(e.userIdList);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.userIdList.push(i)}}catch(a){n.e(a)}finally{n.f()}}this.statementScheduleId=e.statementScheduleId}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.userIdList)){e.userIdList=[];var t,n=Object(s.a)(this.userIdList);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.userIdList.push(i)}}catch(a){n.e(a)}finally{n.f()}}return e.statementScheduleId=this.statementScheduleId,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),nl=function(){function e(t){if(Object(l.a)(this,e),this.excuseId=void 0,this.name=void 0,this.isActive=void 0,this.code=void 0,this.attendanceExcuseCount=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.excuseId=e.excuseId,this.name=e.name,this.isActive=e.isActive,this.code=e.code,this.attendanceExcuseCount=e.attendanceExcuseCount)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).excuseId=this.excuseId,e.name=this.name,e.isActive=this.isActive,e.code=this.code,e.attendanceExcuseCount=this.attendanceExcuseCount,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),il=function(){function e(t){if(Object(l.a)(this,e),this.excuses=void 0,this.recordCount=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.excuses)){this.excuses=[];var t,n=Object(s.a)(e.excuses);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.excuses.push(nl.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}this.recordCount=e.recordCount}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.excuses)){e.excuses=[];var t,n=Object(s.a)(this.excuses);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.excuses.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e.recordCount=this.recordCount,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),al=function(){function e(t){if(Object(l.a)(this,e),this.page=void 0,this.pageSize=void 0,this.exemptedIds=void 0,this.includeIds=void 0,this.courseId=void 0,this.filterBy=void 0,this.searchCriteria=void 0,this.sortBy=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.page=e.page,this.pageSize=e.pageSize,Array.isArray(e.exemptedIds)){this.exemptedIds=[];var t,n=Object(s.a)(e.exemptedIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.exemptedIds.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(e.includeIds)){this.includeIds=[];var a,r=Object(s.a)(e.includeIds);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.includeIds.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(this.courseId=e.courseId,Array.isArray(e.filterBy)){this.filterBy=[];var l,c=Object(s.a)(e.filterBy);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.filterBy.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(e.searchCriteria)){this.searchCriteria=[];var u,m=Object(s.a)(e.searchCriteria);try{for(m.s();!(u=m.n()).done;){var v=u.value;this.searchCriteria.push(v)}}catch(f){m.e(f)}finally{m.f()}}this.sortBy=e.sortBy}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).page=this.page,e.pageSize=this.pageSize,Array.isArray(this.exemptedIds)){e.exemptedIds=[];var t,n=Object(s.a)(this.exemptedIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.exemptedIds.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(this.includeIds)){e.includeIds=[];var a,r=Object(s.a)(this.includeIds);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.includeIds.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(e.courseId=this.courseId,Array.isArray(this.filterBy)){e.filterBy=[];var l,c=Object(s.a)(this.filterBy);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.filterBy.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(this.searchCriteria)){e.searchCriteria=[];var u,m=Object(s.a)(this.searchCriteria);try{for(m.s();!(u=m.n()).done;){var v=u.value;e.searchCriteria.push(v)}}catch(f){m.e(f)}finally{m.f()}}return e.sortBy=this.sortBy,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),rl=function(){function e(t){if(Object(l.a)(this,e),this.licenseIdList=void 0,this.isFavorite=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.licenseIdList)){this.licenseIdList=[];var t,n=Object(s.a)(e.licenseIdList);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.licenseIdList.push(i)}}catch(a){n.e(a)}finally{n.f()}}this.isFavorite=e.isFavorite}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.licenseIdList)){e.licenseIdList=[];var t,n=Object(s.a)(this.licenseIdList);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.licenseIdList.push(i)}}catch(a){n.e(a)}finally{n.f()}}return e.isFavorite=this.isFavorite,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),ol=function(){function e(t){if(Object(l.a)(this,e),this.userFavoriteSessionId=void 0,this.userId=void 0,this.sessionId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.userFavoriteSessionId=e.userFavoriteSessionId,this.userId=e.userId,this.sessionId=e.sessionId)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).userFavoriteSessionId=this.userFavoriteSessionId,e.userId=this.userId,e.sessionId=this.sessionId,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),sl=function(){function e(t){if(Object(l.a)(this,e),this.firmAnnouncementId=void 0,this.announcement=void 0,this.isAdmin=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.firmAnnouncementId=e.firmAnnouncementId,this.announcement=e.announcement,this.isAdmin=e.isAdmin)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).firmAnnouncementId=this.firmAnnouncementId,e.announcement=this.announcement,e.isAdmin=this.isAdmin,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),ll=function(){function e(t){if(Object(l.a)(this,e),this.app=void 0,this.hasAccess=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.app=e.app?_g.fromJS(e.app):void 0,this.hasAccess=e.hasAccess)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).app=this.app?this.app.toJSON():void 0,e.hasAccess=this.hasAccess,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),cl=function(){function e(t){if(Object(l.a)(this,e),this.firmId=void 0,this.name=void 0,this.firmGroupId=void 0,this.locationId=void 0,this.address=void 0,this.telephone=void 0,this.fax=void 0,this.city=void 0,this.stateId=void 0,this.countryId=void 0,this.zipCode=void 0,this.renewalDate=void 0,this.language=void 0,this.dateFormat=void 0,this.timezone=void 0,this.logoUrl=void 0,this.thumbnailUrl=void 0,this.isLoginScreenEnabled=void 0,this.hasIdentityProviderEnabled=void 0,this.signInLabels=void 0,this.firmSettings=void 0,this.firmApplications=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.firmId=e.firmId,this.name=e.name,this.firmGroupId=e.firmGroupId,this.locationId=e.locationId,this.address=e.address,this.telephone=e.telephone,this.fax=e.fax,this.city=e.city,this.stateId=e.stateId,this.countryId=e.countryId,this.zipCode=e.zipCode,this.renewalDate=e.renewalDate?new Date(e.renewalDate.toString()):void 0,this.language=e.language,this.dateFormat=e.dateFormat,this.timezone=e.timezone,this.logoUrl=e.logoUrl,this.thumbnailUrl=e.thumbnailUrl,this.isLoginScreenEnabled=e.isLoginScreenEnabled,this.hasIdentityProviderEnabled=e.hasIdentityProviderEnabled,this.signInLabels=e.signInLabels,Array.isArray(e.firmSettings)){this.firmSettings=[];var t,n=Object(s.a)(e.firmSettings);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.firmSettings.push(bl.fromJS(i))}}catch(l){n.e(l)}finally{n.f()}}if(Array.isArray(e.firmApplications)){this.firmApplications=[];var a,r=Object(s.a)(e.firmApplications);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.firmApplications.push(ll.fromJS(o))}}catch(l){r.e(l)}finally{r.f()}}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).firmId=this.firmId,e.name=this.name,e.firmGroupId=this.firmGroupId,e.locationId=this.locationId,e.address=this.address,e.telephone=this.telephone,e.fax=this.fax,e.city=this.city,e.stateId=this.stateId,e.countryId=this.countryId,e.zipCode=this.zipCode,e.renewalDate=this.renewalDate?this.renewalDate.toISOString():void 0,e.language=this.language,e.dateFormat=this.dateFormat,e.timezone=this.timezone,e.logoUrl=this.logoUrl,e.thumbnailUrl=this.thumbnailUrl,e.isLoginScreenEnabled=this.isLoginScreenEnabled,e.hasIdentityProviderEnabled=this.hasIdentityProviderEnabled,e.signInLabels=this.signInLabels,Array.isArray(this.firmSettings)){e.firmSettings=[];var t,n=Object(s.a)(this.firmSettings);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.firmSettings.push(i.toJSON())}}catch(l){n.e(l)}finally{n.f()}}if(Array.isArray(this.firmApplications)){e.firmApplications=[];var a,r=Object(s.a)(this.firmApplications);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.firmApplications.push(o.toJSON())}}catch(l){r.e(l)}finally{r.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),dl=function(){function e(t){if(Object(l.a)(this,e),this.firmLicenseId=void 0,this.licenseId=void 0,this.certificateId=void 0,this.certificate=void 0,this.reportingCycle=void 0,this.shouldShowAllPeriods=void 0,this.isAccreditedProvider=void 0,this.shouldAllowSearch=void 0,this.isEnabled=void 0,this.isFavorite=void 0,this.providerNumber=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.firmLicenseId=e.firmLicenseId,this.licenseId=e.licenseId,this.certificateId=e.certificateId,this.certificate=e.certificate,this.reportingCycle=e.reportingCycle,this.shouldShowAllPeriods=e.shouldShowAllPeriods,this.isAccreditedProvider=e.isAccreditedProvider,this.shouldAllowSearch=e.shouldAllowSearch,this.isEnabled=e.isEnabled,this.isFavorite=e.isFavorite,this.providerNumber=e.providerNumber)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).firmLicenseId=this.firmLicenseId,e.licenseId=this.licenseId,e.certificateId=this.certificateId,e.certificate=this.certificate,e.reportingCycle=this.reportingCycle,e.shouldShowAllPeriods=this.shouldShowAllPeriods,e.isAccreditedProvider=this.isAccreditedProvider,e.shouldAllowSearch=this.shouldAllowSearch,e.isEnabled=this.isEnabled,e.isFavorite=this.isFavorite,e.providerNumber=this.providerNumber,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),ul=function(){function e(t){if(Object(l.a)(this,e),this.locationId=void 0,this.name=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.locationId=e.locationId,this.name=e.name)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).locationId=this.locationId,e.name=this.name,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),ml=function(){function e(t){if(Object(l.a)(this,e),this.headerText=void 0,this.logoUrl=void 0,this.isLoginScreenEnabled=void 0,this.signInLabels=void 0,this.industryId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.headerText=e.headerText,this.logoUrl=e.logoUrl,this.isLoginScreenEnabled=e.isLoginScreenEnabled,this.signInLabels=e.signInLabels,this.industryId=e.industryId)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).headerText=this.headerText,e.logoUrl=this.logoUrl,e.isLoginScreenEnabled=this.isLoginScreenEnabled,e.signInLabels=this.signInLabels,e.industryId=this.industryId,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),vl=function(){function e(t){if(Object(l.a)(this,e),this.fileId=void 0,this.logoUrl=void 0,this.name=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.fileId=e.fileId,this.logoUrl=e.logoUrl,this.name=e.name)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).fileId=this.fileId,e.logoUrl=this.logoUrl,e.name=this.name,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),fl=function(){function e(t){if(Object(l.a)(this,e),this.firmNotificationId=void 0,this.statement=void 0,this.dueToReport=void 0,this.reminder=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.firmNotificationId=e.firmNotificationId,this.statement=e.statement?Ag.fromJS(e.statement):void 0,this.dueToReport=e.dueToReport?ds.fromJS(e.dueToReport):void 0,this.reminder=e.reminder?ih.fromJS(e.reminder):void 0)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).firmNotificationId=this.firmNotificationId,e.statement=this.statement?this.statement.toJSON():void 0,e.dueToReport=this.dueToReport?this.dueToReport.toJSON():void 0,e.reminder=this.reminder?this.reminder.toJSON():void 0,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),pl=function(){function e(t){if(Object(l.a)(this,e),this.firmNotificationId=void 0,this.statement=void 0,this.dueToReport=void 0,this.reminder=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.firmNotificationId=e.firmNotificationId,this.statement=e.statement?Tg.fromJS(e.statement):void 0,this.dueToReport=e.dueToReport?us.fromJS(e.dueToReport):void 0,this.reminder=e.reminder?ah.fromJS(e.reminder):void 0)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).firmNotificationId=this.firmNotificationId,e.statement=this.statement?this.statement.toJSON():void 0,e.dueToReport=this.dueToReport?this.dueToReport.toJSON():void 0,e.reminder=this.reminder?this.reminder.toJSON():void 0,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),hl=function(){function e(t){if(Object(l.a)(this,e),this.firmNotificationTypeId=void 0,this.userId=void 0,this.userType=void 0,this.firstName=void 0,this.middleName=void 0,this.lastName=void 0,this.email=void 0,this.userAvatar=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.firmNotificationTypeId=e.firmNotificationTypeId,this.userId=e.userId,this.userType=e.userType,this.firstName=e.firstName,this.middleName=e.middleName,this.lastName=e.lastName,this.email=e.email,this.userAvatar=e.userAvatar?QI.fromJS(e.userAvatar):void 0)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).firmNotificationTypeId=this.firmNotificationTypeId,e.userId=this.userId,e.userType=this.userType,e.firstName=this.firstName,e.middleName=this.middleName,e.lastName=this.lastName,e.email=this.email,e.userAvatar=this.userAvatar?this.userAvatar.toJSON():void 0,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),yl=function(){function e(t){if(Object(l.a)(this,e),this.users=void 0,this.recordCount=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.users)){this.users=[];var t,n=Object(s.a)(e.users);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.users.push(hl.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}this.recordCount=e.recordCount}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.users)){e.users=[];var t,n=Object(s.a)(this.users);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.users.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e.recordCount=this.recordCount,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),bl=function(){function e(t){if(Object(l.a)(this,e),this.key=void 0,this.value=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.key=e.key,this.value=e.value)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).key=this.key,e.value=this.value,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),gl=function(){function e(t){if(Object(l.a)(this,e),this.firmName=void 0,this.firmId=void 0,this.renewalDate=void 0,this.tenantGroupId=void 0,this.allUsers=void 0,this.allLearningPackages=void 0,this.activeLearningPackages=void 0,this.archivedLearningPackages=void 0,this.allAudios=void 0,this.activeAudios=void 0,this.archivedAudios=void 0,this.allVideos=void 0,this.activeVideos=void 0,this.archivedVideos=void 0,this.courses=void 0,this.activeEmployees=void 0,this.inactiveEmployees=void 0,this.activeEmployeesWithLicenses=void 0,this.inactiveEmployeesWithLicenses=void 0,this.activeEmployeesWithoutLicenses=void 0,this.inactiveStaffWithoutLicenses=void 0,this.activeClients=void 0,this.inactiveClients=void 0,this.activeClientsWithLicenses=void 0,this.inactiveClientsWithLicenses=void 0,this.activeClientsWithoutLicenses=void 0,this.inactiveClientsWithoutLicenses=void 0,this.activeAdministrators=void 0,this.inactiveAdministrators=void 0,this.activeAdministratorsWithLicenses=void 0,this.inactiveAdministratorsWithLicenses=void 0,this.activeAdministratorsWithoutLicenses=void 0,this.inactiveAdministratorsWithoutLicenses=void 0,this.activeEmployeesWithMandatoryLicenses=void 0,this.inactiveEmployeesWithMandatoryLicenses=void 0,this.activeClientsWithMandatoryLicenses=void 0,this.inactiveClientsWithMandatoryLicenses=void 0,this.activeAdministratorsWithMandatoryLicenses=void 0,this.inactiveAdministratorsWithMandatoryLicenses=void 0,this.activeEmployeesWithNonMandatoryLicenses=void 0,this.inactiveEmployeesWithNonMandatoryLicenses=void 0,this.activeStaffWithNonMandatoryLicenses=void 0,this.inactiveStaffWithNonMandatoryLicenses=void 0,this.activeClientsWithNonMandatoryLicenses=void 0,this.inactiveClientsWithNonMandatoryLicenses=void 0,this.activeAdministratorsWithNonMandatoryLicenses=void 0,this.inactiveAdministratorsWithNonMandatoryLicenses=void 0,this.activeEmployeesWithVideoAudioActivity=void 0,this.activeClientsWithVideoAudioActivity=void 0,this.activeAdministratorsWithVideoAudioActivity=void 0,this.activeEmployeesWithLearningPackageActivity=void 0,this.activeClientsWithLearningPackageActivity=void 0,this.activeAdministratorsWithLearningPackageActivity=void 0,this.users=void 0,this.files=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.firmName=e.firmName,this.firmId=e.firmId,this.renewalDate=e.renewalDate,this.tenantGroupId=e.tenantGroupId,this.allUsers=e.allUsers,this.allLearningPackages=e.allLearningPackages,this.activeLearningPackages=e.activeLearningPackages,this.archivedLearningPackages=e.archivedLearningPackages,this.allAudios=e.allAudios,this.activeAudios=e.activeAudios,this.archivedAudios=e.archivedAudios,this.allVideos=e.allVideos,this.activeVideos=e.activeVideos,this.archivedVideos=e.archivedVideos,this.courses=e.courses,this.activeEmployees=e.activeEmployees,this.inactiveEmployees=e.inactiveEmployees,this.activeEmployeesWithLicenses=e.activeEmployeesWithLicenses,this.inactiveEmployeesWithLicenses=e.inactiveEmployeesWithLicenses,this.activeEmployeesWithoutLicenses=e.activeEmployeesWithoutLicenses,this.inactiveStaffWithoutLicenses=e.inactiveStaffWithoutLicenses,this.activeClients=e.activeClients,this.inactiveClients=e.inactiveClients,this.activeClientsWithLicenses=e.activeClientsWithLicenses,this.inactiveClientsWithLicenses=e.inactiveClientsWithLicenses,this.activeClientsWithoutLicenses=e.activeClientsWithoutLicenses,this.inactiveClientsWithoutLicenses=e.inactiveClientsWithoutLicenses,this.activeAdministrators=e.activeAdministrators,this.inactiveAdministrators=e.inactiveAdministrators,this.activeAdministratorsWithLicenses=e.activeAdministratorsWithLicenses,this.inactiveAdministratorsWithLicenses=e.inactiveAdministratorsWithLicenses,this.activeAdministratorsWithoutLicenses=e.activeAdministratorsWithoutLicenses,this.inactiveAdministratorsWithoutLicenses=e.inactiveAdministratorsWithoutLicenses,this.activeEmployeesWithMandatoryLicenses=e.activeEmployeesWithMandatoryLicenses,this.inactiveEmployeesWithMandatoryLicenses=e.inactiveEmployeesWithMandatoryLicenses,this.activeClientsWithMandatoryLicenses=e.activeClientsWithMandatoryLicenses,this.inactiveClientsWithMandatoryLicenses=e.inactiveClientsWithMandatoryLicenses,this.activeAdministratorsWithMandatoryLicenses=e.activeAdministratorsWithMandatoryLicenses,this.inactiveAdministratorsWithMandatoryLicenses=e.inactiveAdministratorsWithMandatoryLicenses,this.activeEmployeesWithNonMandatoryLicenses=e.activeEmployeesWithNonMandatoryLicenses,this.inactiveEmployeesWithNonMandatoryLicenses=e.inactiveEmployeesWithNonMandatoryLicenses,this.activeStaffWithNonMandatoryLicenses=e.activeStaffWithNonMandatoryLicenses,this.inactiveStaffWithNonMandatoryLicenses=e.inactiveStaffWithNonMandatoryLicenses,this.activeClientsWithNonMandatoryLicenses=e.activeClientsWithNonMandatoryLicenses,this.inactiveClientsWithNonMandatoryLicenses=e.inactiveClientsWithNonMandatoryLicenses,this.activeAdministratorsWithNonMandatoryLicenses=e.activeAdministratorsWithNonMandatoryLicenses,this.inactiveAdministratorsWithNonMandatoryLicenses=e.inactiveAdministratorsWithNonMandatoryLicenses,this.activeEmployeesWithVideoAudioActivity=e.activeEmployeesWithVideoAudioActivity,this.activeClientsWithVideoAudioActivity=e.activeClientsWithVideoAudioActivity,this.activeAdministratorsWithVideoAudioActivity=e.activeAdministratorsWithVideoAudioActivity,this.activeEmployeesWithLearningPackageActivity=e.activeEmployeesWithLearningPackageActivity,this.activeClientsWithLearningPackageActivity=e.activeClientsWithLearningPackageActivity,this.activeAdministratorsWithLearningPackageActivity=e.activeAdministratorsWithLearningPackageActivity,Array.isArray(e.users)){this.users=[];var t,n=Object(s.a)(e.users);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.users.push(lS.fromJS(i))}}catch(l){n.e(l)}finally{n.f()}}if(Array.isArray(e.files)){this.files=[];var a,r=Object(s.a)(e.files);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.files.push(lf.fromJS(o))}}catch(l){r.e(l)}finally{r.f()}}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).firmName=this.firmName,e.firmId=this.firmId,e.renewalDate=this.renewalDate,e.tenantGroupId=this.tenantGroupId,e.allUsers=this.allUsers,e.allLearningPackages=this.allLearningPackages,e.activeLearningPackages=this.activeLearningPackages,e.archivedLearningPackages=this.archivedLearningPackages,e.allAudios=this.allAudios,e.activeAudios=this.activeAudios,e.archivedAudios=this.archivedAudios,e.allVideos=this.allVideos,e.activeVideos=this.activeVideos,e.archivedVideos=this.archivedVideos,e.courses=this.courses,e.activeEmployees=this.activeEmployees,e.inactiveEmployees=this.inactiveEmployees,e.activeEmployeesWithLicenses=this.activeEmployeesWithLicenses,e.inactiveEmployeesWithLicenses=this.inactiveEmployeesWithLicenses,e.activeEmployeesWithoutLicenses=this.activeEmployeesWithoutLicenses,e.inactiveStaffWithoutLicenses=this.inactiveStaffWithoutLicenses,e.activeClients=this.activeClients,e.inactiveClients=this.inactiveClients,e.activeClientsWithLicenses=this.activeClientsWithLicenses,e.inactiveClientsWithLicenses=this.inactiveClientsWithLicenses,e.activeClientsWithoutLicenses=this.activeClientsWithoutLicenses,e.inactiveClientsWithoutLicenses=this.inactiveClientsWithoutLicenses,e.activeAdministrators=this.activeAdministrators,e.inactiveAdministrators=this.inactiveAdministrators,e.activeAdministratorsWithLicenses=this.activeAdministratorsWithLicenses,e.inactiveAdministratorsWithLicenses=this.inactiveAdministratorsWithLicenses,e.activeAdministratorsWithoutLicenses=this.activeAdministratorsWithoutLicenses,e.inactiveAdministratorsWithoutLicenses=this.inactiveAdministratorsWithoutLicenses,e.activeEmployeesWithMandatoryLicenses=this.activeEmployeesWithMandatoryLicenses,e.inactiveEmployeesWithMandatoryLicenses=this.inactiveEmployeesWithMandatoryLicenses,e.activeClientsWithMandatoryLicenses=this.activeClientsWithMandatoryLicenses,e.inactiveClientsWithMandatoryLicenses=this.inactiveClientsWithMandatoryLicenses,e.activeAdministratorsWithMandatoryLicenses=this.activeAdministratorsWithMandatoryLicenses,e.inactiveAdministratorsWithMandatoryLicenses=this.inactiveAdministratorsWithMandatoryLicenses,e.activeEmployeesWithNonMandatoryLicenses=this.activeEmployeesWithNonMandatoryLicenses,e.inactiveEmployeesWithNonMandatoryLicenses=this.inactiveEmployeesWithNonMandatoryLicenses,e.activeStaffWithNonMandatoryLicenses=this.activeStaffWithNonMandatoryLicenses,e.inactiveStaffWithNonMandatoryLicenses=this.inactiveStaffWithNonMandatoryLicenses,e.activeClientsWithNonMandatoryLicenses=this.activeClientsWithNonMandatoryLicenses,e.inactiveClientsWithNonMandatoryLicenses=this.inactiveClientsWithNonMandatoryLicenses,e.activeAdministratorsWithNonMandatoryLicenses=this.activeAdministratorsWithNonMandatoryLicenses,e.inactiveAdministratorsWithNonMandatoryLicenses=this.inactiveAdministratorsWithNonMandatoryLicenses,e.activeEmployeesWithVideoAudioActivity=this.activeEmployeesWithVideoAudioActivity,e.activeClientsWithVideoAudioActivity=this.activeClientsWithVideoAudioActivity,e.activeAdministratorsWithVideoAudioActivity=this.activeAdministratorsWithVideoAudioActivity,e.activeEmployeesWithLearningPackageActivity=this.activeEmployeesWithLearningPackageActivity,e.activeClientsWithLearningPackageActivity=this.activeClientsWithLearningPackageActivity,e.activeAdministratorsWithLearningPackageActivity=this.activeAdministratorsWithLearningPackageActivity,Array.isArray(this.users)){e.users=[];var t,n=Object(s.a)(this.users);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.users.push(i.toJSON())}}catch(l){n.e(l)}finally{n.f()}}if(Array.isArray(this.files)){e.files=[];var a,r=Object(s.a)(this.files);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.files.push(o.toJSON())}}catch(l){r.e(l)}finally{r.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),El=function(){function e(t){if(Object(l.a)(this,e),this.formNumberExcludeCode=void 0,this.name=void 0,this.isActive=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.formNumberExcludeCode=e.formNumberExcludeCode,this.name=e.name,this.isActive=e.isActive)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).formNumberExcludeCode=this.formNumberExcludeCode,e.name=this.name,e.isActive=this.isActive,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Il=function(){function e(t){if(Object(l.a)(this,e),this.formNumberExcludes=void 0,this.recordCount=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.formNumberExcludes)){this.formNumberExcludes=[];var t,n=Object(s.a)(e.formNumberExcludes);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.formNumberExcludes.push(El.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}this.recordCount=e.recordCount}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.formNumberExcludes)){e.formNumberExcludes=[];var t,n=Object(s.a)(this.formNumberExcludes);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.formNumberExcludes.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e.recordCount=this.recordCount,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Sl=function(){function e(t){if(Object(l.a)(this,e),this.formNumberStyleCode=void 0,this.name=void 0,this.isActive=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.formNumberStyleCode=e.formNumberStyleCode,this.name=e.name,this.isActive=e.isActive)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).formNumberStyleCode=this.formNumberStyleCode,e.name=this.name,e.isActive=this.isActive,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Ol=function(){function e(t){if(Object(l.a)(this,e),this.formNumberStyles=void 0,this.recordCount=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.formNumberStyles)){this.formNumberStyles=[];var t,n=Object(s.a)(e.formNumberStyles);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.formNumberStyles.push(Sl.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}this.recordCount=e.recordCount}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.formNumberStyles)){e.formNumberStyles=[];var t,n=Object(s.a)(this.formNumberStyles);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.formNumberStyles.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e.recordCount=this.recordCount,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Cl=function(){function e(t){if(Object(l.a)(this,e),this.genderId=void 0,this.name=void 0,this.code=void 0,this.isActive=void 0,this.userCount=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.genderId=e.genderId,this.name=e.name,this.code=e.code,this.isActive=e.isActive,this.userCount=e.userCount)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).genderId=this.genderId,e.name=this.name,e.code=this.code,e.isActive=this.isActive,e.userCount=this.userCount,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),jl=function(){function e(t){if(Object(l.a)(this,e),this.genders=void 0,this.recordCount=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.genders)){this.genders=[];var t,n=Object(s.a)(e.genders);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.genders.push(Cl.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}this.recordCount=e.recordCount}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.genders)){e.genders=[];var t,n=Object(s.a)(this.genders);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.genders.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e.recordCount=this.recordCount,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),xl=function(){function e(t){if(Object(l.a)(this,e),this.learningPlanId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.learningPlanId=e.learningPlanId)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).learningPlanId=this.learningPlanId,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Al=function(){function e(t){if(Object(l.a)(this,e),this.scheduleId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.scheduleId=e.scheduleId)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).scheduleId=this.scheduleId,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Tl=function(){function e(t){if(Object(l.a)(this,e),this.courseId=void 0,this.sessionId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.courseId=e.courseId,this.sessionId=e.sessionId)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).courseId=this.courseId,e.sessionId=this.sessionId,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),wl=function(){function e(t){if(Object(l.a)(this,e),this.licenseIds=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&Array.isArray(e.licenseIds)){this.licenseIds=[];var t,n=Object(s.a)(e.licenseIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.licenseIds.push(i)}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.licenseIds)){e.licenseIds=[];var t,n=Object(s.a)(this.licenseIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.licenseIds.push(i)}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),kl=function(){function e(t){if(Object(l.a)(this,e),this.activityId=void 0,this.userId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.activityId=e.activityId,this.userId=e.userId)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).activityId=this.activityId,e.userId=this.userId,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Pl=function(){function e(t){if(Object(l.a)(this,e),this.page=void 0,this.pageSize=void 0,this.sortBy=void 0,this.filterBy=void 0,this.searchCriteria=void 0,this.exemptedIds=void 0,this.includeIds=void 0,this.affiliationId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.page=e.page,this.pageSize=e.pageSize,this.sortBy=e.sortBy,Array.isArray(e.filterBy)){this.filterBy=[];var t,n=Object(s.a)(e.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.filterBy.push(i)}}catch(y){n.e(y)}finally{n.f()}}if(Array.isArray(e.searchCriteria)){this.searchCriteria=[];var a,r=Object(s.a)(e.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.searchCriteria.push(o)}}catch(y){r.e(y)}finally{r.f()}}if(Array.isArray(e.exemptedIds)){this.exemptedIds=[];var l,c=Object(s.a)(e.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.exemptedIds.push(d)}}catch(y){c.e(y)}finally{c.f()}}if(Array.isArray(e.includeIds)){this.includeIds=[];var u,m=Object(s.a)(e.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;this.includeIds.push(v)}}catch(y){m.e(y)}finally{m.f()}}if(Array.isArray(e.affiliationId)){this.affiliationId=[];var f,p=Object(s.a)(e.affiliationId);try{for(p.s();!(f=p.n()).done;){var h=f.value;this.affiliationId.push(h)}}catch(y){p.e(y)}finally{p.f()}}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).page=this.page,e.pageSize=this.pageSize,e.sortBy=this.sortBy,Array.isArray(this.filterBy)){e.filterBy=[];var t,n=Object(s.a)(this.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.filterBy.push(i)}}catch(y){n.e(y)}finally{n.f()}}if(Array.isArray(this.searchCriteria)){e.searchCriteria=[];var a,r=Object(s.a)(this.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.searchCriteria.push(o)}}catch(y){r.e(y)}finally{r.f()}}if(Array.isArray(this.exemptedIds)){e.exemptedIds=[];var l,c=Object(s.a)(this.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.exemptedIds.push(d)}}catch(y){c.e(y)}finally{c.f()}}if(Array.isArray(this.includeIds)){e.includeIds=[];var u,m=Object(s.a)(this.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;e.includeIds.push(v)}}catch(y){m.e(y)}finally{m.f()}}if(Array.isArray(this.affiliationId)){e.affiliationId=[];var f,p=Object(s.a)(this.affiliationId);try{for(p.s();!(f=p.n()).done;){var h=f.value;e.affiliationId.push(h)}}catch(y){p.e(y)}finally{p.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Nl=function(){function e(t){if(Object(l.a)(this,e),this.page=void 0,this.pageSize=void 0,this.sortBy=void 0,this.filterBy=void 0,this.searchCriteria=void 0,this.exemptedIds=void 0,this.includeIds=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.page=e.page,this.pageSize=e.pageSize,this.sortBy=e.sortBy,Array.isArray(e.filterBy)){this.filterBy=[];var t,n=Object(s.a)(e.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.filterBy.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(e.searchCriteria)){this.searchCriteria=[];var a,r=Object(s.a)(e.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.searchCriteria.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(e.exemptedIds)){this.exemptedIds=[];var l,c=Object(s.a)(e.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.exemptedIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(e.includeIds)){this.includeIds=[];var u,m=Object(s.a)(e.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;this.includeIds.push(v)}}catch(f){m.e(f)}finally{m.f()}}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).page=this.page,e.pageSize=this.pageSize,e.sortBy=this.sortBy,Array.isArray(this.filterBy)){e.filterBy=[];var t,n=Object(s.a)(this.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.filterBy.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(this.searchCriteria)){e.searchCriteria=[];var a,r=Object(s.a)(this.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.searchCriteria.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(this.exemptedIds)){e.exemptedIds=[];var l,c=Object(s.a)(this.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.exemptedIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(this.includeIds)){e.includeIds=[];var u,m=Object(s.a)(this.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;e.includeIds.push(v)}}catch(f){m.e(f)}finally{m.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Dl=function(){function e(t){if(Object(l.a)(this,e),this.page=void 0,this.pageSize=void 0,this.sortBy=void 0,this.filterBy=void 0,this.searchCriteria=void 0,this.exemptedIds=void 0,this.includeIds=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.page=e.page,this.pageSize=e.pageSize,this.sortBy=e.sortBy,Array.isArray(e.filterBy)){this.filterBy=[];var t,n=Object(s.a)(e.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.filterBy.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(e.searchCriteria)){this.searchCriteria=[];var a,r=Object(s.a)(e.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.searchCriteria.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(e.exemptedIds)){this.exemptedIds=[];var l,c=Object(s.a)(e.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.exemptedIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(e.includeIds)){this.includeIds=[];var u,m=Object(s.a)(e.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;this.includeIds.push(v)}}catch(f){m.e(f)}finally{m.f()}}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).page=this.page,e.pageSize=this.pageSize,e.sortBy=this.sortBy,Array.isArray(this.filterBy)){e.filterBy=[];var t,n=Object(s.a)(this.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.filterBy.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(this.searchCriteria)){e.searchCriteria=[];var a,r=Object(s.a)(this.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.searchCriteria.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(this.exemptedIds)){e.exemptedIds=[];var l,c=Object(s.a)(this.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.exemptedIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(this.includeIds)){e.includeIds=[];var u,m=Object(s.a)(this.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;e.includeIds.push(v)}}catch(f){m.e(f)}finally{m.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Ll=function(){function e(t){if(Object(l.a)(this,e),this.page=void 0,this.pageSize=void 0,this.sortBy=void 0,this.filterBy=void 0,this.searchCriteria=void 0,this.exemptedIds=void 0,this.includeIds=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.page=e.page,this.pageSize=e.pageSize,this.sortBy=e.sortBy,Array.isArray(e.filterBy)){this.filterBy=[];var t,n=Object(s.a)(e.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.filterBy.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(e.searchCriteria)){this.searchCriteria=[];var a,r=Object(s.a)(e.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.searchCriteria.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(e.exemptedIds)){this.exemptedIds=[];var l,c=Object(s.a)(e.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.exemptedIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(e.includeIds)){this.includeIds=[];var u,m=Object(s.a)(e.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;this.includeIds.push(v)}}catch(f){m.e(f)}finally{m.f()}}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).page=this.page,e.pageSize=this.pageSize,e.sortBy=this.sortBy,Array.isArray(this.filterBy)){e.filterBy=[];var t,n=Object(s.a)(this.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.filterBy.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(this.searchCriteria)){e.searchCriteria=[];var a,r=Object(s.a)(this.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.searchCriteria.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(this.exemptedIds)){e.exemptedIds=[];var l,c=Object(s.a)(this.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.exemptedIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(this.includeIds)){e.includeIds=[];var u,m=Object(s.a)(this.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;e.includeIds.push(v)}}catch(f){m.e(f)}finally{m.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Fl=function(){function e(t){if(Object(l.a)(this,e),this.page=void 0,this.pageSize=void 0,this.sortBy=void 0,this.filterBy=void 0,this.searchCriteria=void 0,this.exemptedIds=void 0,this.includeIds=void 0,this.activityId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.page=e.page,this.pageSize=e.pageSize,this.sortBy=e.sortBy,Array.isArray(e.filterBy)){this.filterBy=[];var t,n=Object(s.a)(e.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.filterBy.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(e.searchCriteria)){this.searchCriteria=[];var a,r=Object(s.a)(e.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.searchCriteria.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(e.exemptedIds)){this.exemptedIds=[];var l,c=Object(s.a)(e.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.exemptedIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(e.includeIds)){this.includeIds=[];var u,m=Object(s.a)(e.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;this.includeIds.push(v)}}catch(f){m.e(f)}finally{m.f()}}this.activityId=e.activityId}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).page=this.page,e.pageSize=this.pageSize,e.sortBy=this.sortBy,Array.isArray(this.filterBy)){e.filterBy=[];var t,n=Object(s.a)(this.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.filterBy.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(this.searchCriteria)){e.searchCriteria=[];var a,r=Object(s.a)(this.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.searchCriteria.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(this.exemptedIds)){e.exemptedIds=[];var l,c=Object(s.a)(this.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.exemptedIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(this.includeIds)){e.includeIds=[];var u,m=Object(s.a)(this.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;e.includeIds.push(v)}}catch(f){m.e(f)}finally{m.f()}}return e.activityId=this.activityId,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Bl=function(){function e(t){if(Object(l.a)(this,e),this.page=void 0,this.pageSize=void 0,this.sortBy=void 0,this.filterBy=void 0,this.searchCriteria=void 0,this.exemptedIds=void 0,this.includeIds=void 0,this.createdBy=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.page=e.page,this.pageSize=e.pageSize,this.sortBy=e.sortBy,Array.isArray(e.filterBy)){this.filterBy=[];var t,n=Object(s.a)(e.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.filterBy.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(e.searchCriteria)){this.searchCriteria=[];var a,r=Object(s.a)(e.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.searchCriteria.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(e.exemptedIds)){this.exemptedIds=[];var l,c=Object(s.a)(e.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.exemptedIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(e.includeIds)){this.includeIds=[];var u,m=Object(s.a)(e.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;this.includeIds.push(v)}}catch(f){m.e(f)}finally{m.f()}}this.createdBy=e.createdBy}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).page=this.page,e.pageSize=this.pageSize,e.sortBy=this.sortBy,Array.isArray(this.filterBy)){e.filterBy=[];var t,n=Object(s.a)(this.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.filterBy.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(this.searchCriteria)){e.searchCriteria=[];var a,r=Object(s.a)(this.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.searchCriteria.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(this.exemptedIds)){e.exemptedIds=[];var l,c=Object(s.a)(this.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.exemptedIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(this.includeIds)){e.includeIds=[];var u,m=Object(s.a)(this.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;e.includeIds.push(v)}}catch(f){m.e(f)}finally{m.f()}}return e.createdBy=this.createdBy,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Rl=function(){function e(t){if(Object(l.a)(this,e),this.page=void 0,this.pageSize=void 0,this.sortBy=void 0,this.filterBy=void 0,this.searchCriteria=void 0,this.exemptedIds=void 0,this.includeIds=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.page=e.page,this.pageSize=e.pageSize,this.sortBy=e.sortBy,Array.isArray(e.filterBy)){this.filterBy=[];var t,n=Object(s.a)(e.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.filterBy.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(e.searchCriteria)){this.searchCriteria=[];var a,r=Object(s.a)(e.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.searchCriteria.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(e.exemptedIds)){this.exemptedIds=[];var l,c=Object(s.a)(e.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.exemptedIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(e.includeIds)){this.includeIds=[];var u,m=Object(s.a)(e.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;this.includeIds.push(v)}}catch(f){m.e(f)}finally{m.f()}}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).page=this.page,e.pageSize=this.pageSize,e.sortBy=this.sortBy,Array.isArray(this.filterBy)){e.filterBy=[];var t,n=Object(s.a)(this.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.filterBy.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(this.searchCriteria)){e.searchCriteria=[];var a,r=Object(s.a)(this.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.searchCriteria.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(this.exemptedIds)){e.exemptedIds=[];var l,c=Object(s.a)(this.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.exemptedIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(this.includeIds)){e.includeIds=[];var u,m=Object(s.a)(this.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;e.includeIds.push(v)}}catch(f){m.e(f)}finally{m.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Jl=function(){function e(t){if(Object(l.a)(this,e),this.page=void 0,this.pageSize=void 0,this.sortBy=void 0,this.searchCriteria=void 0,this.exemptedIds=void 0,this.includeIds=void 0,this.filterBy=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.page=e.page,this.pageSize=e.pageSize,this.sortBy=e.sortBy,Array.isArray(e.searchCriteria)){this.searchCriteria=[];var t,n=Object(s.a)(e.searchCriteria);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.searchCriteria.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(e.exemptedIds)){this.exemptedIds=[];var a,r=Object(s.a)(e.exemptedIds);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.exemptedIds.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(e.includeIds)){this.includeIds=[];var l,c=Object(s.a)(e.includeIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.includeIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(e.filterBy)){this.filterBy=[];var u,m=Object(s.a)(e.filterBy);try{for(m.s();!(u=m.n()).done;){var v=u.value;this.filterBy.push(v)}}catch(f){m.e(f)}finally{m.f()}}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).page=this.page,e.pageSize=this.pageSize,e.sortBy=this.sortBy,Array.isArray(this.searchCriteria)){e.searchCriteria=[];var t,n=Object(s.a)(this.searchCriteria);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.searchCriteria.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(this.exemptedIds)){e.exemptedIds=[];var a,r=Object(s.a)(this.exemptedIds);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.exemptedIds.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(this.includeIds)){e.includeIds=[];var l,c=Object(s.a)(this.includeIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.includeIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(this.filterBy)){e.filterBy=[];var u,m=Object(s.a)(this.filterBy);try{for(m.s();!(u=m.n()).done;){var v=u.value;e.filterBy.push(v)}}catch(f){m.e(f)}finally{m.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Gl=function(){function e(t){if(Object(l.a)(this,e),this.page=void 0,this.pageSize=void 0,this.sortBy=void 0,this.filterBy=void 0,this.searchCriteria=void 0,this.exemptedIds=void 0,this.includeIds=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.page=e.page,this.pageSize=e.pageSize,this.sortBy=e.sortBy,Array.isArray(e.filterBy)){this.filterBy=[];var t,n=Object(s.a)(e.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.filterBy.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(e.searchCriteria)){this.searchCriteria=[];var a,r=Object(s.a)(e.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.searchCriteria.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(e.exemptedIds)){this.exemptedIds=[];var l,c=Object(s.a)(e.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.exemptedIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(e.includeIds)){this.includeIds=[];var u,m=Object(s.a)(e.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;this.includeIds.push(v)}}catch(f){m.e(f)}finally{m.f()}}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).page=this.page,e.pageSize=this.pageSize,e.sortBy=this.sortBy,Array.isArray(this.filterBy)){e.filterBy=[];var t,n=Object(s.a)(this.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.filterBy.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(this.searchCriteria)){e.searchCriteria=[];var a,r=Object(s.a)(this.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.searchCriteria.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(this.exemptedIds)){e.exemptedIds=[];var l,c=Object(s.a)(this.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.exemptedIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(this.includeIds)){e.includeIds=[];var u,m=Object(s.a)(this.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;e.includeIds.push(v)}}catch(f){m.e(f)}finally{m.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Ul=function(){function e(t){if(Object(l.a)(this,e),this.page=void 0,this.pageSize=void 0,this.sortBy=void 0,this.filterBy=void 0,this.searchCriteria=void 0,this.exemptedIds=void 0,this.includeIds=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.page=e.page,this.pageSize=e.pageSize,this.sortBy=e.sortBy,Array.isArray(e.filterBy)){this.filterBy=[];var t,n=Object(s.a)(e.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.filterBy.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(e.searchCriteria)){this.searchCriteria=[];var a,r=Object(s.a)(e.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.searchCriteria.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(e.exemptedIds)){this.exemptedIds=[];var l,c=Object(s.a)(e.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.exemptedIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(e.includeIds)){this.includeIds=[];var u,m=Object(s.a)(e.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;this.includeIds.push(v)}}catch(f){m.e(f)}finally{m.f()}}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).page=this.page,e.pageSize=this.pageSize,e.sortBy=this.sortBy,Array.isArray(this.filterBy)){e.filterBy=[];var t,n=Object(s.a)(this.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.filterBy.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(this.searchCriteria)){e.searchCriteria=[];var a,r=Object(s.a)(this.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.searchCriteria.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(this.exemptedIds)){e.exemptedIds=[];var l,c=Object(s.a)(this.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.exemptedIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(this.includeIds)){e.includeIds=[];var u,m=Object(s.a)(this.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;e.includeIds.push(v)}}catch(f){m.e(f)}finally{m.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),zl=function(){function e(t){if(Object(l.a)(this,e),this.page=void 0,this.pageSize=void 0,this.sortBy=void 0,this.filterBy=void 0,this.searchCriteria=void 0,this.exemptedIds=void 0,this.includeIds=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.page=e.page,this.pageSize=e.pageSize,this.sortBy=e.sortBy,Array.isArray(e.filterBy)){this.filterBy=[];var t,n=Object(s.a)(e.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.filterBy.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(e.searchCriteria)){this.searchCriteria=[];var a,r=Object(s.a)(e.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.searchCriteria.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(e.exemptedIds)){this.exemptedIds=[];var l,c=Object(s.a)(e.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.exemptedIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(e.includeIds)){this.includeIds=[];var u,m=Object(s.a)(e.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;this.includeIds.push(v)}}catch(f){m.e(f)}finally{m.f()}}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).page=this.page,e.pageSize=this.pageSize,e.sortBy=this.sortBy,Array.isArray(this.filterBy)){e.filterBy=[];var t,n=Object(s.a)(this.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.filterBy.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(this.searchCriteria)){e.searchCriteria=[];var a,r=Object(s.a)(this.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.searchCriteria.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(this.exemptedIds)){e.exemptedIds=[];var l,c=Object(s.a)(this.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.exemptedIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(this.includeIds)){e.includeIds=[];var u,m=Object(s.a)(this.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;e.includeIds.push(v)}}catch(f){m.e(f)}finally{m.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),ql=function(){function e(t){if(Object(l.a)(this,e),this.page=void 0,this.pageSize=void 0,this.sortBy=void 0,this.filterBy=void 0,this.searchCriteria=void 0,this.exemptedIds=void 0,this.includeIds=void 0,this.activityId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.page=e.page,this.pageSize=e.pageSize,this.sortBy=e.sortBy,Array.isArray(e.filterBy)){this.filterBy=[];var t,n=Object(s.a)(e.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.filterBy.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(e.searchCriteria)){this.searchCriteria=[];var a,r=Object(s.a)(e.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.searchCriteria.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(e.exemptedIds)){this.exemptedIds=[];var l,c=Object(s.a)(e.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.exemptedIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(e.includeIds)){this.includeIds=[];var u,m=Object(s.a)(e.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;this.includeIds.push(v)}}catch(f){m.e(f)}finally{m.f()}}this.activityId=e.activityId}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).page=this.page,e.pageSize=this.pageSize,e.sortBy=this.sortBy,Array.isArray(this.filterBy)){e.filterBy=[];var t,n=Object(s.a)(this.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.filterBy.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(this.searchCriteria)){e.searchCriteria=[];var a,r=Object(s.a)(this.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.searchCriteria.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(this.exemptedIds)){e.exemptedIds=[];var l,c=Object(s.a)(this.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.exemptedIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(this.includeIds)){e.includeIds=[];var u,m=Object(s.a)(this.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;e.includeIds.push(v)}}catch(f){m.e(f)}finally{m.f()}}return e.activityId=this.activityId,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Ml=function(){function e(t){if(Object(l.a)(this,e),this.page=void 0,this.pageSize=void 0,this.sortBy=void 0,this.filterBy=void 0,this.searchCriteria=void 0,this.exemptedIds=void 0,this.includeIds=void 0,this.licenseId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.page=e.page,this.pageSize=e.pageSize,this.sortBy=e.sortBy,Array.isArray(e.filterBy)){this.filterBy=[];var t,n=Object(s.a)(e.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.filterBy.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(e.searchCriteria)){this.searchCriteria=[];var a,r=Object(s.a)(e.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.searchCriteria.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(e.exemptedIds)){this.exemptedIds=[];var l,c=Object(s.a)(e.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.exemptedIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(e.includeIds)){this.includeIds=[];var u,m=Object(s.a)(e.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;this.includeIds.push(v)}}catch(f){m.e(f)}finally{m.f()}}this.licenseId=e.licenseId}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).page=this.page,e.pageSize=this.pageSize,e.sortBy=this.sortBy,Array.isArray(this.filterBy)){e.filterBy=[];var t,n=Object(s.a)(this.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.filterBy.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(this.searchCriteria)){e.searchCriteria=[];var a,r=Object(s.a)(this.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.searchCriteria.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(this.exemptedIds)){e.exemptedIds=[];var l,c=Object(s.a)(this.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.exemptedIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(this.includeIds)){e.includeIds=[];var u,m=Object(s.a)(this.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;e.includeIds.push(v)}}catch(f){m.e(f)}finally{m.f()}}return e.licenseId=this.licenseId,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Wl=function(){function e(t){if(Object(l.a)(this,e),this.page=void 0,this.pageSize=void 0,this.sortBy=void 0,this.filterBy=void 0,this.searchCriteria=void 0,this.exemptedIds=void 0,this.includeIds=void 0,this.securityGroupId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.page=e.page,this.pageSize=e.pageSize,this.sortBy=e.sortBy,Array.isArray(e.filterBy)){this.filterBy=[];var t,n=Object(s.a)(e.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.filterBy.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(e.searchCriteria)){this.searchCriteria=[];var a,r=Object(s.a)(e.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.searchCriteria.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(e.exemptedIds)){this.exemptedIds=[];var l,c=Object(s.a)(e.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.exemptedIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(e.includeIds)){this.includeIds=[];var u,m=Object(s.a)(e.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;this.includeIds.push(v)}}catch(f){m.e(f)}finally{m.f()}}this.securityGroupId=e.securityGroupId}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).page=this.page,e.pageSize=this.pageSize,e.sortBy=this.sortBy,Array.isArray(this.filterBy)){e.filterBy=[];var t,n=Object(s.a)(this.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.filterBy.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(this.searchCriteria)){e.searchCriteria=[];var a,r=Object(s.a)(this.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.searchCriteria.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(this.exemptedIds)){e.exemptedIds=[];var l,c=Object(s.a)(this.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.exemptedIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(this.includeIds)){e.includeIds=[];var u,m=Object(s.a)(this.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;e.includeIds.push(v)}}catch(f){m.e(f)}finally{m.f()}}return e.securityGroupId=this.securityGroupId,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Vl=function(){function e(t){if(Object(l.a)(this,e),this.page=void 0,this.pageSize=void 0,this.sortBy=void 0,this.filterBy=void 0,this.searchCriteria=void 0,this.exemptedIds=void 0,this.includeIds=void 0,this.sessionId=void 0,this.scheduleId=void 0,this.registerAsInstructor=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.page=e.page,this.pageSize=e.pageSize,this.sortBy=e.sortBy,Array.isArray(e.filterBy)){this.filterBy=[];var t,n=Object(s.a)(e.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.filterBy.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(e.searchCriteria)){this.searchCriteria=[];var a,r=Object(s.a)(e.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.searchCriteria.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(e.exemptedIds)){this.exemptedIds=[];var l,c=Object(s.a)(e.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.exemptedIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(e.includeIds)){this.includeIds=[];var u,m=Object(s.a)(e.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;this.includeIds.push(v)}}catch(f){m.e(f)}finally{m.f()}}this.sessionId=e.sessionId,this.scheduleId=e.scheduleId,this.registerAsInstructor=e.registerAsInstructor}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).page=this.page,e.pageSize=this.pageSize,e.sortBy=this.sortBy,Array.isArray(this.filterBy)){e.filterBy=[];var t,n=Object(s.a)(this.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.filterBy.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(this.searchCriteria)){e.searchCriteria=[];var a,r=Object(s.a)(this.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.searchCriteria.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(this.exemptedIds)){e.exemptedIds=[];var l,c=Object(s.a)(this.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.exemptedIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(this.includeIds)){e.includeIds=[];var u,m=Object(s.a)(this.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;e.includeIds.push(v)}}catch(f){m.e(f)}finally{m.f()}}return e.sessionId=this.sessionId,e.scheduleId=this.scheduleId,e.registerAsInstructor=this.registerAsInstructor,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),_l=function(){function e(t){if(Object(l.a)(this,e),this.page=void 0,this.pageSize=void 0,this.sortBy=void 0,this.filterBy=void 0,this.searchCriteria=void 0,this.exemptedIds=void 0,this.includeIds=void 0,this.learningPlanId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.page=e.page,this.pageSize=e.pageSize,this.sortBy=e.sortBy,Array.isArray(e.filterBy)){this.filterBy=[];var t,n=Object(s.a)(e.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.filterBy.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(e.searchCriteria)){this.searchCriteria=[];var a,r=Object(s.a)(e.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.searchCriteria.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(e.exemptedIds)){this.exemptedIds=[];var l,c=Object(s.a)(e.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.exemptedIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(e.includeIds)){this.includeIds=[];var u,m=Object(s.a)(e.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;this.includeIds.push(v)}}catch(f){m.e(f)}finally{m.f()}}this.learningPlanId=e.learningPlanId}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).page=this.page,e.pageSize=this.pageSize,e.sortBy=this.sortBy,Array.isArray(this.filterBy)){e.filterBy=[];var t,n=Object(s.a)(this.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.filterBy.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(this.searchCriteria)){e.searchCriteria=[];var a,r=Object(s.a)(this.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.searchCriteria.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(this.exemptedIds)){e.exemptedIds=[];var l,c=Object(s.a)(this.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.exemptedIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(this.includeIds)){e.includeIds=[];var u,m=Object(s.a)(this.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;e.includeIds.push(v)}}catch(f){m.e(f)}finally{m.f()}}return e.learningPlanId=this.learningPlanId,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Yl=function(){function e(t){if(Object(l.a)(this,e),this.page=void 0,this.pageSize=void 0,this.sortBy=void 0,this.filterBy=void 0,this.searchCriteria=void 0,this.exemptedIds=void 0,this.includeIds=void 0,this.createdBy=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.page=e.page,this.pageSize=e.pageSize,this.sortBy=e.sortBy,Array.isArray(e.filterBy)){this.filterBy=[];var t,n=Object(s.a)(e.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.filterBy.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(e.searchCriteria)){this.searchCriteria=[];var a,r=Object(s.a)(e.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.searchCriteria.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(e.exemptedIds)){this.exemptedIds=[];var l,c=Object(s.a)(e.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.exemptedIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(e.includeIds)){this.includeIds=[];var u,m=Object(s.a)(e.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;this.includeIds.push(v)}}catch(f){m.e(f)}finally{m.f()}}this.createdBy=e.createdBy}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).page=this.page,e.pageSize=this.pageSize,e.sortBy=this.sortBy,Array.isArray(this.filterBy)){e.filterBy=[];var t,n=Object(s.a)(this.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.filterBy.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(this.searchCriteria)){e.searchCriteria=[];var a,r=Object(s.a)(this.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.searchCriteria.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(this.exemptedIds)){e.exemptedIds=[];var l,c=Object(s.a)(this.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.exemptedIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(this.includeIds)){e.includeIds=[];var u,m=Object(s.a)(this.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;e.includeIds.push(v)}}catch(f){m.e(f)}finally{m.f()}}return e.createdBy=this.createdBy,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Hl=function(){function e(t){if(Object(l.a)(this,e),this.page=void 0,this.pageSize=void 0,this.sortBy=void 0,this.filterBy=void 0,this.searchCriteria=void 0,this.exemptedIds=void 0,this.includeIds=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.page=e.page,this.pageSize=e.pageSize,this.sortBy=e.sortBy,Array.isArray(e.filterBy)){this.filterBy=[];var t,n=Object(s.a)(e.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.filterBy.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(e.searchCriteria)){this.searchCriteria=[];var a,r=Object(s.a)(e.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.searchCriteria.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(e.exemptedIds)){this.exemptedIds=[];var l,c=Object(s.a)(e.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.exemptedIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(e.includeIds)){this.includeIds=[];var u,m=Object(s.a)(e.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;this.includeIds.push(v)}}catch(f){m.e(f)}finally{m.f()}}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).page=this.page,e.pageSize=this.pageSize,e.sortBy=this.sortBy,Array.isArray(this.filterBy)){e.filterBy=[];var t,n=Object(s.a)(this.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.filterBy.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(this.searchCriteria)){e.searchCriteria=[];var a,r=Object(s.a)(this.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.searchCriteria.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(this.exemptedIds)){e.exemptedIds=[];var l,c=Object(s.a)(this.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.exemptedIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(this.includeIds)){e.includeIds=[];var u,m=Object(s.a)(this.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;e.includeIds.push(v)}}catch(f){m.e(f)}finally{m.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),$l=function(){function e(t){if(Object(l.a)(this,e),this.licenseIds=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&Array.isArray(e.licenseIds)){this.licenseIds=[];var t,n=Object(s.a)(e.licenseIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.licenseIds.push(i)}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.licenseIds)){e.licenseIds=[];var t,n=Object(s.a)(this.licenseIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.licenseIds.push(i)}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Ql=function(){function e(t){if(Object(l.a)(this,e),this.page=void 0,this.pageSize=void 0,this.sortBy=void 0,this.filterBy=void 0,this.searchCriteria=void 0,this.exemptedIds=void 0,this.includeIds=void 0,this.licenseId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.page=e.page,this.pageSize=e.pageSize,this.sortBy=e.sortBy,Array.isArray(e.filterBy)){this.filterBy=[];var t,n=Object(s.a)(e.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.filterBy.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(e.searchCriteria)){this.searchCriteria=[];var a,r=Object(s.a)(e.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.searchCriteria.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(e.exemptedIds)){this.exemptedIds=[];var l,c=Object(s.a)(e.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.exemptedIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(e.includeIds)){this.includeIds=[];var u,m=Object(s.a)(e.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;this.includeIds.push(v)}}catch(f){m.e(f)}finally{m.f()}}this.licenseId=e.licenseId}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).page=this.page,e.pageSize=this.pageSize,e.sortBy=this.sortBy,Array.isArray(this.filterBy)){e.filterBy=[];var t,n=Object(s.a)(this.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.filterBy.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(this.searchCriteria)){e.searchCriteria=[];var a,r=Object(s.a)(this.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.searchCriteria.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(this.exemptedIds)){e.exemptedIds=[];var l,c=Object(s.a)(this.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.exemptedIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(this.includeIds)){e.includeIds=[];var u,m=Object(s.a)(this.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;e.includeIds.push(v)}}catch(f){m.e(f)}finally{m.f()}}return e.licenseId=this.licenseId,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Zl=function(){function e(t){if(Object(l.a)(this,e),this.page=void 0,this.pageSize=void 0,this.sortBy=void 0,this.searchCriteria=void 0,this.exemptedIds=void 0,this.includeIds=void 0,this.filterBy=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.page=e.page,this.pageSize=e.pageSize,this.sortBy=e.sortBy,Array.isArray(e.searchCriteria)){this.searchCriteria=[];var t,n=Object(s.a)(e.searchCriteria);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.searchCriteria.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(e.exemptedIds)){this.exemptedIds=[];var a,r=Object(s.a)(e.exemptedIds);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.exemptedIds.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(e.includeIds)){this.includeIds=[];var l,c=Object(s.a)(e.includeIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.includeIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(e.filterBy)){this.filterBy=[];var u,m=Object(s.a)(e.filterBy);try{for(m.s();!(u=m.n()).done;){var v=u.value;this.filterBy.push(v)}}catch(f){m.e(f)}finally{m.f()}}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).page=this.page,e.pageSize=this.pageSize,e.sortBy=this.sortBy,Array.isArray(this.searchCriteria)){e.searchCriteria=[];var t,n=Object(s.a)(this.searchCriteria);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.searchCriteria.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(this.exemptedIds)){e.exemptedIds=[];var a,r=Object(s.a)(this.exemptedIds);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.exemptedIds.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(this.includeIds)){e.includeIds=[];var l,c=Object(s.a)(this.includeIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.includeIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(this.filterBy)){e.filterBy=[];var u,m=Object(s.a)(this.filterBy);try{for(m.s();!(u=m.n()).done;){var v=u.value;e.filterBy.push(v)}}catch(f){m.e(f)}finally{m.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Xl=function(){function e(t){if(Object(l.a)(this,e),this.page=void 0,this.pageSize=void 0,this.sortBy=void 0,this.searchCriteria=void 0,this.exemptedIds=void 0,this.includeIds=void 0,this.filterBy=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.page=e.page,this.pageSize=e.pageSize,this.sortBy=e.sortBy,Array.isArray(e.searchCriteria)){this.searchCriteria=[];var t,n=Object(s.a)(e.searchCriteria);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.searchCriteria.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(e.exemptedIds)){this.exemptedIds=[];var a,r=Object(s.a)(e.exemptedIds);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.exemptedIds.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(e.includeIds)){this.includeIds=[];var l,c=Object(s.a)(e.includeIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.includeIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(e.filterBy)){this.filterBy=[];var u,m=Object(s.a)(e.filterBy);try{for(m.s();!(u=m.n()).done;){var v=u.value;this.filterBy.push(v)}}catch(f){m.e(f)}finally{m.f()}}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).page=this.page,e.pageSize=this.pageSize,e.sortBy=this.sortBy,Array.isArray(this.searchCriteria)){e.searchCriteria=[];var t,n=Object(s.a)(this.searchCriteria);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.searchCriteria.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(this.exemptedIds)){e.exemptedIds=[];var a,r=Object(s.a)(this.exemptedIds);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.exemptedIds.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(this.includeIds)){e.includeIds=[];var l,c=Object(s.a)(this.includeIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.includeIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(this.filterBy)){e.filterBy=[];var u,m=Object(s.a)(this.filterBy);try{for(m.s();!(u=m.n()).done;){var v=u.value;e.filterBy.push(v)}}catch(f){m.e(f)}finally{m.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Kl=function(){function e(t){if(Object(l.a)(this,e),this.page=void 0,this.pageSize=void 0,this.sortBy=void 0,this.filterBy=void 0,this.searchCriteria=void 0,this.exemptedIds=void 0,this.includeIds=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.page=e.page,this.pageSize=e.pageSize,this.sortBy=e.sortBy,Array.isArray(e.filterBy)){this.filterBy=[];var t,n=Object(s.a)(e.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.filterBy.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(e.searchCriteria)){this.searchCriteria=[];var a,r=Object(s.a)(e.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.searchCriteria.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(e.exemptedIds)){this.exemptedIds=[];var l,c=Object(s.a)(e.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.exemptedIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(e.includeIds)){this.includeIds=[];var u,m=Object(s.a)(e.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;this.includeIds.push(v)}}catch(f){m.e(f)}finally{m.f()}}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).page=this.page,e.pageSize=this.pageSize,e.sortBy=this.sortBy,Array.isArray(this.filterBy)){e.filterBy=[];var t,n=Object(s.a)(this.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.filterBy.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(this.searchCriteria)){e.searchCriteria=[];var a,r=Object(s.a)(this.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.searchCriteria.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(this.exemptedIds)){e.exemptedIds=[];var l,c=Object(s.a)(this.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.exemptedIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(this.includeIds)){e.includeIds=[];var u,m=Object(s.a)(this.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;e.includeIds.push(v)}}catch(f){m.e(f)}finally{m.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),ec=function(){function e(t){if(Object(l.a)(this,e),this.page=void 0,this.pageSize=void 0,this.sortBy=void 0,this.filterBy=void 0,this.searchCriteria=void 0,this.exemptedIds=void 0,this.includeIds=void 0,this.createdBy=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.page=e.page,this.pageSize=e.pageSize,this.sortBy=e.sortBy,Array.isArray(e.filterBy)){this.filterBy=[];var t,n=Object(s.a)(e.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.filterBy.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(e.searchCriteria)){this.searchCriteria=[];var a,r=Object(s.a)(e.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.searchCriteria.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(e.exemptedIds)){this.exemptedIds=[];var l,c=Object(s.a)(e.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.exemptedIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(e.includeIds)){this.includeIds=[];var u,m=Object(s.a)(e.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;this.includeIds.push(v)}}catch(f){m.e(f)}finally{m.f()}}this.createdBy=e.createdBy}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).page=this.page,e.pageSize=this.pageSize,e.sortBy=this.sortBy,Array.isArray(this.filterBy)){e.filterBy=[];var t,n=Object(s.a)(this.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.filterBy.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(this.searchCriteria)){e.searchCriteria=[];var a,r=Object(s.a)(this.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.searchCriteria.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(this.exemptedIds)){e.exemptedIds=[];var l,c=Object(s.a)(this.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.exemptedIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(this.includeIds)){e.includeIds=[];var u,m=Object(s.a)(this.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;e.includeIds.push(v)}}catch(f){m.e(f)}finally{m.f()}}return e.createdBy=this.createdBy,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),tc=function(){function e(t){if(Object(l.a)(this,e),this.page=void 0,this.pageSize=void 0,this.sortBy=void 0,this.filterBy=void 0,this.searchCriteria=void 0,this.exemptedIds=void 0,this.includeIds=void 0,this.createdBy=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.page=e.page,this.pageSize=e.pageSize,this.sortBy=e.sortBy,Array.isArray(e.filterBy)){this.filterBy=[];var t,n=Object(s.a)(e.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.filterBy.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(e.searchCriteria)){this.searchCriteria=[];var a,r=Object(s.a)(e.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.searchCriteria.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(e.exemptedIds)){this.exemptedIds=[];var l,c=Object(s.a)(e.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.exemptedIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(e.includeIds)){this.includeIds=[];var u,m=Object(s.a)(e.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;this.includeIds.push(v)}}catch(f){m.e(f)}finally{m.f()}}this.createdBy=e.createdBy}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).page=this.page,e.pageSize=this.pageSize,e.sortBy=this.sortBy,Array.isArray(this.filterBy)){e.filterBy=[];var t,n=Object(s.a)(this.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.filterBy.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(this.searchCriteria)){e.searchCriteria=[];var a,r=Object(s.a)(this.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.searchCriteria.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(this.exemptedIds)){e.exemptedIds=[];var l,c=Object(s.a)(this.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.exemptedIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(this.includeIds)){e.includeIds=[];var u,m=Object(s.a)(this.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;e.includeIds.push(v)}}catch(f){m.e(f)}finally{m.f()}}return e.createdBy=this.createdBy,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),nc=function(){function e(t){if(Object(l.a)(this,e),this.page=void 0,this.pageSize=void 0,this.sortBy=void 0,this.filterBy=void 0,this.searchCriteria=void 0,this.exemptedIds=void 0,this.includeIds=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.page=e.page,this.pageSize=e.pageSize,this.sortBy=e.sortBy,Array.isArray(e.filterBy)){this.filterBy=[];var t,n=Object(s.a)(e.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.filterBy.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(e.searchCriteria)){this.searchCriteria=[];var a,r=Object(s.a)(e.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.searchCriteria.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(e.exemptedIds)){this.exemptedIds=[];var l,c=Object(s.a)(e.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.exemptedIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(e.includeIds)){this.includeIds=[];var u,m=Object(s.a)(e.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;this.includeIds.push(v)}}catch(f){m.e(f)}finally{m.f()}}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).page=this.page,e.pageSize=this.pageSize,e.sortBy=this.sortBy,Array.isArray(this.filterBy)){e.filterBy=[];var t,n=Object(s.a)(this.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.filterBy.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(this.searchCriteria)){e.searchCriteria=[];var a,r=Object(s.a)(this.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.searchCriteria.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(this.exemptedIds)){e.exemptedIds=[];var l,c=Object(s.a)(this.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.exemptedIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(this.includeIds)){e.includeIds=[];var u,m=Object(s.a)(this.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;e.includeIds.push(v)}}catch(f){m.e(f)}finally{m.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),ic=function(){function e(t){if(Object(l.a)(this,e),this.page=void 0,this.pageSize=void 0,this.sortBy=void 0,this.filterBy=void 0,this.searchCriteria=void 0,this.exemptedIds=void 0,this.includeIds=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.page=e.page,this.pageSize=e.pageSize,this.sortBy=e.sortBy,Array.isArray(e.filterBy)){this.filterBy=[];var t,n=Object(s.a)(e.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.filterBy.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(e.searchCriteria)){this.searchCriteria=[];var a,r=Object(s.a)(e.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.searchCriteria.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(e.exemptedIds)){this.exemptedIds=[];var l,c=Object(s.a)(e.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.exemptedIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(e.includeIds)){this.includeIds=[];var u,m=Object(s.a)(e.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;this.includeIds.push(v)}}catch(f){m.e(f)}finally{m.f()}}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).page=this.page,e.pageSize=this.pageSize,e.sortBy=this.sortBy,Array.isArray(this.filterBy)){e.filterBy=[];var t,n=Object(s.a)(this.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.filterBy.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(this.searchCriteria)){e.searchCriteria=[];var a,r=Object(s.a)(this.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.searchCriteria.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(this.exemptedIds)){e.exemptedIds=[];var l,c=Object(s.a)(this.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.exemptedIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(this.includeIds)){e.includeIds=[];var u,m=Object(s.a)(this.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;e.includeIds.push(v)}}catch(f){m.e(f)}finally{m.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),ac=function(){function e(t){if(Object(l.a)(this,e),t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){}},{key:"toJSON",value:function(e){return e="object"===typeof e?e:{}}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),rc=function(){function e(t){if(Object(l.a)(this,e),this.selectedDate=void 0,this.selectedLocation=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.selectedDate=e.selectedDate?new Date(e.selectedDate.toString()):void 0,this.selectedLocation=e.selectedLocation)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).selectedDate=this.selectedDate?this.selectedDate.toISOString():void 0,e.selectedLocation=this.selectedLocation,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),oc=function(){function e(t){if(Object(l.a)(this,e),this.userId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.userId=e.userId)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).userId=this.userId,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),sc=function(){function e(t){if(Object(l.a)(this,e),this.page=void 0,this.pageSize=void 0,this.sortBy=void 0,this.filterBy=void 0,this.searchCriteria=void 0,this.exemptedIds=void 0,this.includeIds=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.page=e.page,this.pageSize=e.pageSize,this.sortBy=e.sortBy,Array.isArray(e.filterBy)){this.filterBy=[];var t,n=Object(s.a)(e.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.filterBy.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(e.searchCriteria)){this.searchCriteria=[];var a,r=Object(s.a)(e.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.searchCriteria.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(e.exemptedIds)){this.exemptedIds=[];var l,c=Object(s.a)(e.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.exemptedIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(e.includeIds)){this.includeIds=[];var u,m=Object(s.a)(e.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;this.includeIds.push(v)}}catch(f){m.e(f)}finally{m.f()}}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).page=this.page,e.pageSize=this.pageSize,e.sortBy=this.sortBy,Array.isArray(this.filterBy)){e.filterBy=[];var t,n=Object(s.a)(this.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.filterBy.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(this.searchCriteria)){e.searchCriteria=[];var a,r=Object(s.a)(this.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.searchCriteria.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(this.exemptedIds)){e.exemptedIds=[];var l,c=Object(s.a)(this.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.exemptedIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(this.includeIds)){e.includeIds=[];var u,m=Object(s.a)(this.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;e.includeIds.push(v)}}catch(f){m.e(f)}finally{m.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),lc=function(){function e(t){if(Object(l.a)(this,e),this.page=void 0,this.pageSize=void 0,this.sortBy=void 0,this.searchCriteria=void 0,this.exemptedIds=void 0,this.includeIds=void 0,this.filterBy=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.page=e.page,this.pageSize=e.pageSize,this.sortBy=e.sortBy,Array.isArray(e.searchCriteria)){this.searchCriteria=[];var t,n=Object(s.a)(e.searchCriteria);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.searchCriteria.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(e.exemptedIds)){this.exemptedIds=[];var a,r=Object(s.a)(e.exemptedIds);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.exemptedIds.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(e.includeIds)){this.includeIds=[];var l,c=Object(s.a)(e.includeIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.includeIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(e.filterBy)){this.filterBy=[];var u,m=Object(s.a)(e.filterBy);try{for(m.s();!(u=m.n()).done;){var v=u.value;this.filterBy.push(v)}}catch(f){m.e(f)}finally{m.f()}}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).page=this.page,e.pageSize=this.pageSize,e.sortBy=this.sortBy,Array.isArray(this.searchCriteria)){e.searchCriteria=[];var t,n=Object(s.a)(this.searchCriteria);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.searchCriteria.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(this.exemptedIds)){e.exemptedIds=[];var a,r=Object(s.a)(this.exemptedIds);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.exemptedIds.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(this.includeIds)){e.includeIds=[];var l,c=Object(s.a)(this.includeIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.includeIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(this.filterBy)){e.filterBy=[];var u,m=Object(s.a)(this.filterBy);try{for(m.s();!(u=m.n()).done;){var v=u.value;e.filterBy.push(v)}}catch(f){m.e(f)}finally{m.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),cc=function(){function e(t){if(Object(l.a)(this,e),this.page=void 0,this.pageSize=void 0,this.sortBy=void 0,this.filterBy=void 0,this.searchCriteria=void 0,this.exemptedIds=void 0,this.includeIds=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.page=e.page,this.pageSize=e.pageSize,this.sortBy=e.sortBy,Array.isArray(e.filterBy)){this.filterBy=[];var t,n=Object(s.a)(e.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.filterBy.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(e.searchCriteria)){this.searchCriteria=[];var a,r=Object(s.a)(e.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.searchCriteria.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(e.exemptedIds)){this.exemptedIds=[];var l,c=Object(s.a)(e.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.exemptedIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(e.includeIds)){this.includeIds=[];var u,m=Object(s.a)(e.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;this.includeIds.push(v)}}catch(f){m.e(f)}finally{m.f()}}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).page=this.page,e.pageSize=this.pageSize,e.sortBy=this.sortBy,Array.isArray(this.filterBy)){e.filterBy=[];var t,n=Object(s.a)(this.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.filterBy.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(this.searchCriteria)){e.searchCriteria=[];var a,r=Object(s.a)(this.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.searchCriteria.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(this.exemptedIds)){e.exemptedIds=[];var l,c=Object(s.a)(this.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.exemptedIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(this.includeIds)){e.includeIds=[];var u,m=Object(s.a)(this.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;e.includeIds.push(v)}}catch(f){m.e(f)}finally{m.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),dc=function(){function e(t){if(Object(l.a)(this,e),this.page=void 0,this.pageSize=void 0,this.sortBy=void 0,this.filterBy=void 0,this.searchCriteria=void 0,this.exemptedIds=void 0,this.includeIds=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.page=e.page,this.pageSize=e.pageSize,this.sortBy=e.sortBy,Array.isArray(e.filterBy)){this.filterBy=[];var t,n=Object(s.a)(e.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.filterBy.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(e.searchCriteria)){this.searchCriteria=[];var a,r=Object(s.a)(e.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.searchCriteria.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(e.exemptedIds)){this.exemptedIds=[];var l,c=Object(s.a)(e.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.exemptedIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(e.includeIds)){this.includeIds=[];var u,m=Object(s.a)(e.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;this.includeIds.push(v)}}catch(f){m.e(f)}finally{m.f()}}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).page=this.page,e.pageSize=this.pageSize,e.sortBy=this.sortBy,Array.isArray(this.filterBy)){e.filterBy=[];var t,n=Object(s.a)(this.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.filterBy.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(this.searchCriteria)){e.searchCriteria=[];var a,r=Object(s.a)(this.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.searchCriteria.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(this.exemptedIds)){e.exemptedIds=[];var l,c=Object(s.a)(this.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.exemptedIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(this.includeIds)){e.includeIds=[];var u,m=Object(s.a)(this.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;e.includeIds.push(v)}}catch(f){m.e(f)}finally{m.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),uc=function(){function e(t){if(Object(l.a)(this,e),this.page=void 0,this.pageSize=void 0,this.sortBy=void 0,this.filterBy=void 0,this.searchCriteria=void 0,this.exemptedIds=void 0,this.includeIds=void 0,this.emailId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.page=e.page,this.pageSize=e.pageSize,this.sortBy=e.sortBy,Array.isArray(e.filterBy)){this.filterBy=[];var t,n=Object(s.a)(e.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.filterBy.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(e.searchCriteria)){this.searchCriteria=[];var a,r=Object(s.a)(e.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.searchCriteria.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(e.exemptedIds)){this.exemptedIds=[];var l,c=Object(s.a)(e.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.exemptedIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(e.includeIds)){this.includeIds=[];var u,m=Object(s.a)(e.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;this.includeIds.push(v)}}catch(f){m.e(f)}finally{m.f()}}this.emailId=e.emailId}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).page=this.page,e.pageSize=this.pageSize,e.sortBy=this.sortBy,Array.isArray(this.filterBy)){e.filterBy=[];var t,n=Object(s.a)(this.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.filterBy.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(this.searchCriteria)){e.searchCriteria=[];var a,r=Object(s.a)(this.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.searchCriteria.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(this.exemptedIds)){e.exemptedIds=[];var l,c=Object(s.a)(this.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.exemptedIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(this.includeIds)){e.includeIds=[];var u,m=Object(s.a)(this.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;e.includeIds.push(v)}}catch(f){m.e(f)}finally{m.f()}}return e.emailId=this.emailId,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),mc=function(){function e(t){if(Object(l.a)(this,e),this.page=void 0,this.pageSize=void 0,this.sortBy=void 0,this.filterBy=void 0,this.searchCriteria=void 0,this.exemptedIds=void 0,this.includeIds=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.page=e.page,this.pageSize=e.pageSize,this.sortBy=e.sortBy,Array.isArray(e.filterBy)){this.filterBy=[];var t,n=Object(s.a)(e.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.filterBy.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(e.searchCriteria)){this.searchCriteria=[];var a,r=Object(s.a)(e.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.searchCriteria.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(e.exemptedIds)){this.exemptedIds=[];var l,c=Object(s.a)(e.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.exemptedIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(e.includeIds)){this.includeIds=[];var u,m=Object(s.a)(e.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;this.includeIds.push(v)}}catch(f){m.e(f)}finally{m.f()}}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).page=this.page,e.pageSize=this.pageSize,e.sortBy=this.sortBy,Array.isArray(this.filterBy)){e.filterBy=[];var t,n=Object(s.a)(this.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.filterBy.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(this.searchCriteria)){e.searchCriteria=[];var a,r=Object(s.a)(this.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.searchCriteria.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(this.exemptedIds)){e.exemptedIds=[];var l,c=Object(s.a)(this.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.exemptedIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(this.includeIds)){e.includeIds=[];var u,m=Object(s.a)(this.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;e.includeIds.push(v)}}catch(f){m.e(f)}finally{m.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),vc=function(){function e(t){if(Object(l.a)(this,e),this.page=void 0,this.pageSize=void 0,this.sortBy=void 0,this.searchCriteria=void 0,this.exemptedIds=void 0,this.includeIds=void 0,this.filterBy=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.page=e.page,this.pageSize=e.pageSize,this.sortBy=e.sortBy,Array.isArray(e.searchCriteria)){this.searchCriteria=[];var t,n=Object(s.a)(e.searchCriteria);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.searchCriteria.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(e.exemptedIds)){this.exemptedIds=[];var a,r=Object(s.a)(e.exemptedIds);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.exemptedIds.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(e.includeIds)){this.includeIds=[];var l,c=Object(s.a)(e.includeIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.includeIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(e.filterBy)){this.filterBy=[];var u,m=Object(s.a)(e.filterBy);try{for(m.s();!(u=m.n()).done;){var v=u.value;this.filterBy.push(v)}}catch(f){m.e(f)}finally{m.f()}}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).page=this.page,e.pageSize=this.pageSize,e.sortBy=this.sortBy,Array.isArray(this.searchCriteria)){e.searchCriteria=[];var t,n=Object(s.a)(this.searchCriteria);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.searchCriteria.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(this.exemptedIds)){e.exemptedIds=[];var a,r=Object(s.a)(this.exemptedIds);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.exemptedIds.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(this.includeIds)){e.includeIds=[];var l,c=Object(s.a)(this.includeIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.includeIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(this.filterBy)){e.filterBy=[];var u,m=Object(s.a)(this.filterBy);try{for(m.s();!(u=m.n()).done;){var v=u.value;e.filterBy.push(v)}}catch(f){m.e(f)}finally{m.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),fc=function(){function e(t){if(Object(l.a)(this,e),this.page=void 0,this.pageSize=void 0,this.sortBy=void 0,this.filterBy=void 0,this.searchCriteria=void 0,this.exemptedIds=void 0,this.includeIds=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.page=e.page,this.pageSize=e.pageSize,this.sortBy=e.sortBy,Array.isArray(e.filterBy)){this.filterBy=[];var t,n=Object(s.a)(e.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.filterBy.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(e.searchCriteria)){this.searchCriteria=[];var a,r=Object(s.a)(e.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.searchCriteria.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(e.exemptedIds)){this.exemptedIds=[];var l,c=Object(s.a)(e.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.exemptedIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(e.includeIds)){this.includeIds=[];var u,m=Object(s.a)(e.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;this.includeIds.push(v)}}catch(f){m.e(f)}finally{m.f()}}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).page=this.page,e.pageSize=this.pageSize,e.sortBy=this.sortBy,Array.isArray(this.filterBy)){e.filterBy=[];var t,n=Object(s.a)(this.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.filterBy.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(this.searchCriteria)){e.searchCriteria=[];var a,r=Object(s.a)(this.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.searchCriteria.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(this.exemptedIds)){e.exemptedIds=[];var l,c=Object(s.a)(this.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.exemptedIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(this.includeIds)){e.includeIds=[];var u,m=Object(s.a)(this.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;e.includeIds.push(v)}}catch(f){m.e(f)}finally{m.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),pc=function(){function e(t){if(Object(l.a)(this,e),this.page=void 0,this.pageSize=void 0,this.sortBy=void 0,this.filterBy=void 0,this.searchCriteria=void 0,this.exemptedIds=void 0,this.includeIds=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.page=e.page,this.pageSize=e.pageSize,this.sortBy=e.sortBy,Array.isArray(e.filterBy)){this.filterBy=[];var t,n=Object(s.a)(e.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.filterBy.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(e.searchCriteria)){this.searchCriteria=[];var a,r=Object(s.a)(e.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.searchCriteria.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(e.exemptedIds)){this.exemptedIds=[];var l,c=Object(s.a)(e.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.exemptedIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(e.includeIds)){this.includeIds=[];var u,m=Object(s.a)(e.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;this.includeIds.push(v)}}catch(f){m.e(f)}finally{m.f()}}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).page=this.page,e.pageSize=this.pageSize,e.sortBy=this.sortBy,Array.isArray(this.filterBy)){e.filterBy=[];var t,n=Object(s.a)(this.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.filterBy.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(this.searchCriteria)){e.searchCriteria=[];var a,r=Object(s.a)(this.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.searchCriteria.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(this.exemptedIds)){e.exemptedIds=[];var l,c=Object(s.a)(this.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.exemptedIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(this.includeIds)){e.includeIds=[];var u,m=Object(s.a)(this.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;e.includeIds.push(v)}}catch(f){m.e(f)}finally{m.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),hc=function(){function e(t){if(Object(l.a)(this,e),this.page=void 0,this.pageSize=void 0,this.sortBy=void 0,this.filterBy=void 0,this.searchCriteria=void 0,this.exemptedIds=void 0,this.includeIds=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.page=e.page,this.pageSize=e.pageSize,this.sortBy=e.sortBy,Array.isArray(e.filterBy)){this.filterBy=[];var t,n=Object(s.a)(e.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.filterBy.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(e.searchCriteria)){this.searchCriteria=[];var a,r=Object(s.a)(e.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.searchCriteria.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(e.exemptedIds)){this.exemptedIds=[];var l,c=Object(s.a)(e.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.exemptedIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(e.includeIds)){this.includeIds=[];var u,m=Object(s.a)(e.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;this.includeIds.push(v)}}catch(f){m.e(f)}finally{m.f()}}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).page=this.page,e.pageSize=this.pageSize,e.sortBy=this.sortBy,Array.isArray(this.filterBy)){e.filterBy=[];var t,n=Object(s.a)(this.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.filterBy.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(this.searchCriteria)){e.searchCriteria=[];var a,r=Object(s.a)(this.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.searchCriteria.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(this.exemptedIds)){e.exemptedIds=[];var l,c=Object(s.a)(this.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.exemptedIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(this.includeIds)){e.includeIds=[];var u,m=Object(s.a)(this.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;e.includeIds.push(v)}}catch(f){m.e(f)}finally{m.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),yc=function(){function e(t){if(Object(l.a)(this,e),this.page=void 0,this.pageSize=void 0,this.sortBy=void 0,this.filterBy=void 0,this.searchCriteria=void 0,this.exemptedIds=void 0,this.includeIds=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.page=e.page,this.pageSize=e.pageSize,this.sortBy=e.sortBy,Array.isArray(e.filterBy)){this.filterBy=[];var t,n=Object(s.a)(e.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.filterBy.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(e.searchCriteria)){this.searchCriteria=[];var a,r=Object(s.a)(e.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.searchCriteria.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(e.exemptedIds)){this.exemptedIds=[];var l,c=Object(s.a)(e.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.exemptedIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(e.includeIds)){this.includeIds=[];var u,m=Object(s.a)(e.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;this.includeIds.push(v)}}catch(f){m.e(f)}finally{m.f()}}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).page=this.page,e.pageSize=this.pageSize,e.sortBy=this.sortBy,Array.isArray(this.filterBy)){e.filterBy=[];var t,n=Object(s.a)(this.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.filterBy.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(this.searchCriteria)){e.searchCriteria=[];var a,r=Object(s.a)(this.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.searchCriteria.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(this.exemptedIds)){e.exemptedIds=[];var l,c=Object(s.a)(this.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.exemptedIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(this.includeIds)){e.includeIds=[];var u,m=Object(s.a)(this.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;e.includeIds.push(v)}}catch(f){m.e(f)}finally{m.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),bc=function(){function e(t){if(Object(l.a)(this,e),this.page=void 0,this.pageSize=void 0,this.sortBy=void 0,this.filterBy=void 0,this.searchCriteria=void 0,this.exemptedIds=void 0,this.includeIds=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.page=e.page,this.pageSize=e.pageSize,this.sortBy=e.sortBy,Array.isArray(e.filterBy)){this.filterBy=[];var t,n=Object(s.a)(e.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.filterBy.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(e.searchCriteria)){this.searchCriteria=[];var a,r=Object(s.a)(e.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.searchCriteria.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(e.exemptedIds)){this.exemptedIds=[];var l,c=Object(s.a)(e.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.exemptedIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(e.includeIds)){this.includeIds=[];var u,m=Object(s.a)(e.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;this.includeIds.push(v)}}catch(f){m.e(f)}finally{m.f()}}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).page=this.page,e.pageSize=this.pageSize,e.sortBy=this.sortBy,Array.isArray(this.filterBy)){e.filterBy=[];var t,n=Object(s.a)(this.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.filterBy.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(this.searchCriteria)){e.searchCriteria=[];var a,r=Object(s.a)(this.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.searchCriteria.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(this.exemptedIds)){e.exemptedIds=[];var l,c=Object(s.a)(this.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.exemptedIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(this.includeIds)){e.includeIds=[];var u,m=Object(s.a)(this.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;e.includeIds.push(v)}}catch(f){m.e(f)}finally{m.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),gc=function(){function e(t){if(Object(l.a)(this,e),this.page=void 0,this.pageSize=void 0,this.sortBy=void 0,this.searchCriteria=void 0,this.exemptedIds=void 0,this.includeIds=void 0,this.filterBy=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.page=e.page,this.pageSize=e.pageSize,this.sortBy=e.sortBy,Array.isArray(e.searchCriteria)){this.searchCriteria=[];var t,n=Object(s.a)(e.searchCriteria);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.searchCriteria.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(e.exemptedIds)){this.exemptedIds=[];var a,r=Object(s.a)(e.exemptedIds);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.exemptedIds.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(e.includeIds)){this.includeIds=[];var l,c=Object(s.a)(e.includeIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.includeIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(e.filterBy)){this.filterBy=[];var u,m=Object(s.a)(e.filterBy);try{for(m.s();!(u=m.n()).done;){var v=u.value;this.filterBy.push(v)}}catch(f){m.e(f)}finally{m.f()}}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).page=this.page,e.pageSize=this.pageSize,e.sortBy=this.sortBy,Array.isArray(this.searchCriteria)){e.searchCriteria=[];var t,n=Object(s.a)(this.searchCriteria);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.searchCriteria.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(this.exemptedIds)){e.exemptedIds=[];var a,r=Object(s.a)(this.exemptedIds);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.exemptedIds.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(this.includeIds)){e.includeIds=[];var l,c=Object(s.a)(this.includeIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.includeIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(this.filterBy)){e.filterBy=[];var u,m=Object(s.a)(this.filterBy);try{for(m.s();!(u=m.n()).done;){var v=u.value;e.filterBy.push(v)}}catch(f){m.e(f)}finally{m.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Ec=function(){function e(t){if(Object(l.a)(this,e),this.page=void 0,this.pageSize=void 0,this.sortBy=void 0,this.filterBy=void 0,this.searchCriteria=void 0,this.exemptedIds=void 0,this.includeIds=void 0,this.integrationJobId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.page=e.page,this.pageSize=e.pageSize,this.sortBy=e.sortBy,Array.isArray(e.filterBy)){this.filterBy=[];var t,n=Object(s.a)(e.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.filterBy.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(e.searchCriteria)){this.searchCriteria=[];var a,r=Object(s.a)(e.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.searchCriteria.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(e.exemptedIds)){this.exemptedIds=[];var l,c=Object(s.a)(e.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.exemptedIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(e.includeIds)){this.includeIds=[];var u,m=Object(s.a)(e.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;this.includeIds.push(v)}}catch(f){m.e(f)}finally{m.f()}}this.integrationJobId=e.integrationJobId}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).page=this.page,e.pageSize=this.pageSize,e.sortBy=this.sortBy,Array.isArray(this.filterBy)){e.filterBy=[];var t,n=Object(s.a)(this.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.filterBy.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(this.searchCriteria)){e.searchCriteria=[];var a,r=Object(s.a)(this.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.searchCriteria.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(this.exemptedIds)){e.exemptedIds=[];var l,c=Object(s.a)(this.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.exemptedIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(this.includeIds)){e.includeIds=[];var u,m=Object(s.a)(this.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;e.includeIds.push(v)}}catch(f){m.e(f)}finally{m.f()}}return e.integrationJobId=this.integrationJobId,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Ic=function(){function e(t){if(Object(l.a)(this,e),this.page=void 0,this.pageSize=void 0,this.sortBy=void 0,this.filterBy=void 0,this.searchCriteria=void 0,this.exemptedIds=void 0,this.includeIds=void 0,this.integrationJobId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.page=e.page,this.pageSize=e.pageSize,this.sortBy=e.sortBy,Array.isArray(e.filterBy)){this.filterBy=[];var t,n=Object(s.a)(e.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.filterBy.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(e.searchCriteria)){this.searchCriteria=[];var a,r=Object(s.a)(e.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.searchCriteria.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(e.exemptedIds)){this.exemptedIds=[];var l,c=Object(s.a)(e.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.exemptedIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(e.includeIds)){this.includeIds=[];var u,m=Object(s.a)(e.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;this.includeIds.push(v)}}catch(f){m.e(f)}finally{m.f()}}this.integrationJobId=e.integrationJobId}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).page=this.page,e.pageSize=this.pageSize,e.sortBy=this.sortBy,Array.isArray(this.filterBy)){e.filterBy=[];var t,n=Object(s.a)(this.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.filterBy.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(this.searchCriteria)){e.searchCriteria=[];var a,r=Object(s.a)(this.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.searchCriteria.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(this.exemptedIds)){e.exemptedIds=[];var l,c=Object(s.a)(this.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.exemptedIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(this.includeIds)){e.includeIds=[];var u,m=Object(s.a)(this.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;e.includeIds.push(v)}}catch(f){m.e(f)}finally{m.f()}}return e.integrationJobId=this.integrationJobId,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Sc=function(){function e(t){if(Object(l.a)(this,e),this.integrationJobId=void 0,this.courseId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.integrationJobId=e.integrationJobId,this.courseId=e.courseId)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).integrationJobId=this.integrationJobId,e.courseId=this.courseId,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Oc=function(){function e(t){if(Object(l.a)(this,e),this.page=void 0,this.pageSize=void 0,this.sortBy=void 0,this.filterBy=void 0,this.searchCriteria=void 0,this.exemptedIds=void 0,this.includeIds=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.page=e.page,this.pageSize=e.pageSize,this.sortBy=e.sortBy,Array.isArray(e.filterBy)){this.filterBy=[];var t,n=Object(s.a)(e.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.filterBy.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(e.searchCriteria)){this.searchCriteria=[];var a,r=Object(s.a)(e.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.searchCriteria.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(e.exemptedIds)){this.exemptedIds=[];var l,c=Object(s.a)(e.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.exemptedIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(e.includeIds)){this.includeIds=[];var u,m=Object(s.a)(e.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;this.includeIds.push(v)}}catch(f){m.e(f)}finally{m.f()}}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).page=this.page,e.pageSize=this.pageSize,e.sortBy=this.sortBy,Array.isArray(this.filterBy)){e.filterBy=[];var t,n=Object(s.a)(this.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.filterBy.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(this.searchCriteria)){e.searchCriteria=[];var a,r=Object(s.a)(this.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.searchCriteria.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(this.exemptedIds)){e.exemptedIds=[];var l,c=Object(s.a)(this.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.exemptedIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(this.includeIds)){e.includeIds=[];var u,m=Object(s.a)(this.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;e.includeIds.push(v)}}catch(f){m.e(f)}finally{m.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Cc=function(){function e(t){if(Object(l.a)(this,e),this.page=void 0,this.pageSize=void 0,this.sortBy=void 0,this.filterBy=void 0,this.searchCriteria=void 0,this.exemptedIds=void 0,this.includeIds=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.page=e.page,this.pageSize=e.pageSize,this.sortBy=e.sortBy,Array.isArray(e.filterBy)){this.filterBy=[];var t,n=Object(s.a)(e.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.filterBy.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(e.searchCriteria)){this.searchCriteria=[];var a,r=Object(s.a)(e.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.searchCriteria.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(e.exemptedIds)){this.exemptedIds=[];var l,c=Object(s.a)(e.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.exemptedIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(e.includeIds)){this.includeIds=[];var u,m=Object(s.a)(e.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;this.includeIds.push(v)}}catch(f){m.e(f)}finally{m.f()}}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).page=this.page,e.pageSize=this.pageSize,e.sortBy=this.sortBy,Array.isArray(this.filterBy)){e.filterBy=[];var t,n=Object(s.a)(this.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.filterBy.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(this.searchCriteria)){e.searchCriteria=[];var a,r=Object(s.a)(this.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.searchCriteria.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(this.exemptedIds)){e.exemptedIds=[];var l,c=Object(s.a)(this.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.exemptedIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(this.includeIds)){e.includeIds=[];var u,m=Object(s.a)(this.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;e.includeIds.push(v)}}catch(f){m.e(f)}finally{m.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),jc=function(){function e(t){if(Object(l.a)(this,e),this.page=void 0,this.pageSize=void 0,this.sortBy=void 0,this.filterBy=void 0,this.searchCriteria=void 0,this.exemptedIds=void 0,this.includeIds=void 0,this.learningPlanId=void 0,this.participantId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.page=e.page,this.pageSize=e.pageSize,this.sortBy=e.sortBy,Array.isArray(e.filterBy)){this.filterBy=[];var t,n=Object(s.a)(e.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.filterBy.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(e.searchCriteria)){this.searchCriteria=[];var a,r=Object(s.a)(e.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.searchCriteria.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(e.exemptedIds)){this.exemptedIds=[];var l,c=Object(s.a)(e.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.exemptedIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(e.includeIds)){this.includeIds=[];var u,m=Object(s.a)(e.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;this.includeIds.push(v)}}catch(f){m.e(f)}finally{m.f()}}this.learningPlanId=e.learningPlanId,this.participantId=e.participantId}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).page=this.page,e.pageSize=this.pageSize,e.sortBy=this.sortBy,Array.isArray(this.filterBy)){e.filterBy=[];var t,n=Object(s.a)(this.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.filterBy.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(this.searchCriteria)){e.searchCriteria=[];var a,r=Object(s.a)(this.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.searchCriteria.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(this.exemptedIds)){e.exemptedIds=[];var l,c=Object(s.a)(this.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.exemptedIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(this.includeIds)){e.includeIds=[];var u,m=Object(s.a)(this.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;e.includeIds.push(v)}}catch(f){m.e(f)}finally{m.f()}}return e.learningPlanId=this.learningPlanId,e.participantId=this.participantId,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),xc=function(){function e(t){if(Object(l.a)(this,e),this.page=void 0,this.pageSize=void 0,this.sortBy=void 0,this.filterBy=void 0,this.searchCriteria=void 0,this.exemptedIds=void 0,this.includeIds=void 0,this.learningPlanId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.page=e.page,this.pageSize=e.pageSize,this.sortBy=e.sortBy,Array.isArray(e.filterBy)){this.filterBy=[];var t,n=Object(s.a)(e.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.filterBy.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(e.searchCriteria)){this.searchCriteria=[];var a,r=Object(s.a)(e.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.searchCriteria.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(e.exemptedIds)){this.exemptedIds=[];var l,c=Object(s.a)(e.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.exemptedIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(e.includeIds)){this.includeIds=[];var u,m=Object(s.a)(e.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;this.includeIds.push(v)}}catch(f){m.e(f)}finally{m.f()}}this.learningPlanId=e.learningPlanId}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).page=this.page,e.pageSize=this.pageSize,e.sortBy=this.sortBy,Array.isArray(this.filterBy)){e.filterBy=[];var t,n=Object(s.a)(this.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.filterBy.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(this.searchCriteria)){e.searchCriteria=[];var a,r=Object(s.a)(this.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.searchCriteria.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(this.exemptedIds)){e.exemptedIds=[];var l,c=Object(s.a)(this.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.exemptedIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(this.includeIds)){e.includeIds=[];var u,m=Object(s.a)(this.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;e.includeIds.push(v)}}catch(f){m.e(f)}finally{m.f()}}return e.learningPlanId=this.learningPlanId,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Ac=function(){function e(t){if(Object(l.a)(this,e),this.page=void 0,this.pageSize=void 0,this.sortBy=void 0,this.filterBy=void 0,this.searchCriteria=void 0,this.exemptedIds=void 0,this.includeIds=void 0,this.createdBy=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.page=e.page,this.pageSize=e.pageSize,this.sortBy=e.sortBy,Array.isArray(e.filterBy)){this.filterBy=[];var t,n=Object(s.a)(e.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.filterBy.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(e.searchCriteria)){this.searchCriteria=[];var a,r=Object(s.a)(e.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.searchCriteria.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(e.exemptedIds)){this.exemptedIds=[];var l,c=Object(s.a)(e.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.exemptedIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(e.includeIds)){this.includeIds=[];var u,m=Object(s.a)(e.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;this.includeIds.push(v)}}catch(f){m.e(f)}finally{m.f()}}this.createdBy=e.createdBy}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).page=this.page,e.pageSize=this.pageSize,e.sortBy=this.sortBy,Array.isArray(this.filterBy)){e.filterBy=[];var t,n=Object(s.a)(this.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.filterBy.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(this.searchCriteria)){e.searchCriteria=[];var a,r=Object(s.a)(this.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.searchCriteria.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(this.exemptedIds)){e.exemptedIds=[];var l,c=Object(s.a)(this.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.exemptedIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(this.includeIds)){e.includeIds=[];var u,m=Object(s.a)(this.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;e.includeIds.push(v)}}catch(f){m.e(f)}finally{m.f()}}return e.createdBy=this.createdBy,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Tc=function(){function e(t){if(Object(l.a)(this,e),this.page=void 0,this.pageSize=void 0,this.sortBy=void 0,this.filterBy=void 0,this.searchCriteria=void 0,this.exemptedIds=void 0,this.includeIds=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.page=e.page,this.pageSize=e.pageSize,this.sortBy=e.sortBy,Array.isArray(e.filterBy)){this.filterBy=[];var t,n=Object(s.a)(e.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.filterBy.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(e.searchCriteria)){this.searchCriteria=[];var a,r=Object(s.a)(e.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.searchCriteria.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(e.exemptedIds)){this.exemptedIds=[];var l,c=Object(s.a)(e.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.exemptedIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(e.includeIds)){this.includeIds=[];var u,m=Object(s.a)(e.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;this.includeIds.push(v)}}catch(f){m.e(f)}finally{m.f()}}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).page=this.page,e.pageSize=this.pageSize,e.sortBy=this.sortBy,Array.isArray(this.filterBy)){e.filterBy=[];var t,n=Object(s.a)(this.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.filterBy.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(this.searchCriteria)){e.searchCriteria=[];var a,r=Object(s.a)(this.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.searchCriteria.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(this.exemptedIds)){e.exemptedIds=[];var l,c=Object(s.a)(this.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.exemptedIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(this.includeIds)){e.includeIds=[];var u,m=Object(s.a)(this.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;e.includeIds.push(v)}}catch(f){m.e(f)}finally{m.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),wc=function(){function e(t){if(Object(l.a)(this,e),this.page=void 0,this.pageSize=void 0,this.sortBy=void 0,this.searchCriteria=void 0,this.exemptedIds=void 0,this.includeIds=void 0,this.filterBy=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.page=e.page,this.pageSize=e.pageSize,this.sortBy=e.sortBy,Array.isArray(e.searchCriteria)){this.searchCriteria=[];var t,n=Object(s.a)(e.searchCriteria);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.searchCriteria.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(e.exemptedIds)){this.exemptedIds=[];var a,r=Object(s.a)(e.exemptedIds);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.exemptedIds.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(e.includeIds)){this.includeIds=[];var l,c=Object(s.a)(e.includeIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.includeIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(e.filterBy)){this.filterBy=[];var u,m=Object(s.a)(e.filterBy);try{for(m.s();!(u=m.n()).done;){var v=u.value;this.filterBy.push(v)}}catch(f){m.e(f)}finally{m.f()}}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).page=this.page,e.pageSize=this.pageSize,e.sortBy=this.sortBy,Array.isArray(this.searchCriteria)){e.searchCriteria=[];var t,n=Object(s.a)(this.searchCriteria);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.searchCriteria.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(this.exemptedIds)){e.exemptedIds=[];var a,r=Object(s.a)(this.exemptedIds);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.exemptedIds.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(this.includeIds)){e.includeIds=[];var l,c=Object(s.a)(this.includeIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.includeIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(this.filterBy)){e.filterBy=[];var u,m=Object(s.a)(this.filterBy);try{for(m.s();!(u=m.n()).done;){var v=u.value;e.filterBy.push(v)}}catch(f){m.e(f)}finally{m.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),kc=function(){function e(t){if(Object(l.a)(this,e),this.page=void 0,this.pageSize=void 0,this.sortBy=void 0,this.filterBy=void 0,this.searchCriteria=void 0,this.exemptedIds=void 0,this.includeIds=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.page=e.page,this.pageSize=e.pageSize,this.sortBy=e.sortBy,Array.isArray(e.filterBy)){this.filterBy=[];var t,n=Object(s.a)(e.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.filterBy.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(e.searchCriteria)){this.searchCriteria=[];var a,r=Object(s.a)(e.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.searchCriteria.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(e.exemptedIds)){this.exemptedIds=[];var l,c=Object(s.a)(e.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.exemptedIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(e.includeIds)){this.includeIds=[];var u,m=Object(s.a)(e.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;this.includeIds.push(v)}}catch(f){m.e(f)}finally{m.f()}}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).page=this.page,e.pageSize=this.pageSize,e.sortBy=this.sortBy,Array.isArray(this.filterBy)){e.filterBy=[];var t,n=Object(s.a)(this.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.filterBy.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(this.searchCriteria)){e.searchCriteria=[];var a,r=Object(s.a)(this.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.searchCriteria.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(this.exemptedIds)){e.exemptedIds=[];var l,c=Object(s.a)(this.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.exemptedIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(this.includeIds)){e.includeIds=[];var u,m=Object(s.a)(this.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;e.includeIds.push(v)}}catch(f){m.e(f)}finally{m.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Pc=function(){function e(t){if(Object(l.a)(this,e),this.page=void 0,this.pageSize=void 0,this.sortBy=void 0,this.filterBy=void 0,this.searchCriteria=void 0,this.exemptedIds=void 0,this.includeIds=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.page=e.page,this.pageSize=e.pageSize,this.sortBy=e.sortBy,Array.isArray(e.filterBy)){this.filterBy=[];var t,n=Object(s.a)(e.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.filterBy.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(e.searchCriteria)){this.searchCriteria=[];var a,r=Object(s.a)(e.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.searchCriteria.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(e.exemptedIds)){this.exemptedIds=[];var l,c=Object(s.a)(e.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.exemptedIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(e.includeIds)){this.includeIds=[];var u,m=Object(s.a)(e.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;this.includeIds.push(v)}}catch(f){m.e(f)}finally{m.f()}}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).page=this.page,e.pageSize=this.pageSize,e.sortBy=this.sortBy,Array.isArray(this.filterBy)){e.filterBy=[];var t,n=Object(s.a)(this.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.filterBy.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(this.searchCriteria)){e.searchCriteria=[];var a,r=Object(s.a)(this.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.searchCriteria.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(this.exemptedIds)){e.exemptedIds=[];var l,c=Object(s.a)(this.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.exemptedIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(this.includeIds)){e.includeIds=[];var u,m=Object(s.a)(this.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;e.includeIds.push(v)}}catch(f){m.e(f)}finally{m.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Nc=function(){function e(t){if(Object(l.a)(this,e),this.page=void 0,this.pageSize=void 0,this.sortBy=void 0,this.filterBy=void 0,this.searchCriteria=void 0,this.exemptedIds=void 0,this.includeIds=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.page=e.page,this.pageSize=e.pageSize,this.sortBy=e.sortBy,Array.isArray(e.filterBy)){this.filterBy=[];var t,n=Object(s.a)(e.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.filterBy.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(e.searchCriteria)){this.searchCriteria=[];var a,r=Object(s.a)(e.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.searchCriteria.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(e.exemptedIds)){this.exemptedIds=[];var l,c=Object(s.a)(e.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.exemptedIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(e.includeIds)){this.includeIds=[];var u,m=Object(s.a)(e.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;this.includeIds.push(v)}}catch(f){m.e(f)}finally{m.f()}}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).page=this.page,e.pageSize=this.pageSize,e.sortBy=this.sortBy,Array.isArray(this.filterBy)){e.filterBy=[];var t,n=Object(s.a)(this.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.filterBy.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(this.searchCriteria)){e.searchCriteria=[];var a,r=Object(s.a)(this.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.searchCriteria.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(this.exemptedIds)){e.exemptedIds=[];var l,c=Object(s.a)(this.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.exemptedIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(this.includeIds)){e.includeIds=[];var u,m=Object(s.a)(this.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;e.includeIds.push(v)}}catch(f){m.e(f)}finally{m.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Dc=function(){function e(t){if(Object(l.a)(this,e),this.page=void 0,this.pageSize=void 0,this.sortBy=void 0,this.filterBy=void 0,this.searchCriteria=void 0,this.exemptedIds=void 0,this.includeIds=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.page=e.page,this.pageSize=e.pageSize,this.sortBy=e.sortBy,Array.isArray(e.filterBy)){this.filterBy=[];var t,n=Object(s.a)(e.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.filterBy.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(e.searchCriteria)){this.searchCriteria=[];var a,r=Object(s.a)(e.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.searchCriteria.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(e.exemptedIds)){this.exemptedIds=[];var l,c=Object(s.a)(e.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.exemptedIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(e.includeIds)){this.includeIds=[];var u,m=Object(s.a)(e.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;this.includeIds.push(v)}}catch(f){m.e(f)}finally{m.f()}}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).page=this.page,e.pageSize=this.pageSize,e.sortBy=this.sortBy,Array.isArray(this.filterBy)){e.filterBy=[];var t,n=Object(s.a)(this.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.filterBy.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(this.searchCriteria)){e.searchCriteria=[];var a,r=Object(s.a)(this.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.searchCriteria.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(this.exemptedIds)){e.exemptedIds=[];var l,c=Object(s.a)(this.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.exemptedIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(this.includeIds)){e.includeIds=[];var u,m=Object(s.a)(this.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;e.includeIds.push(v)}}catch(f){m.e(f)}finally{m.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Lc=function(){function e(t){if(Object(l.a)(this,e),this.page=void 0,this.pageSize=void 0,this.sortBy=void 0,this.searchCriteria=void 0,this.exemptedIds=void 0,this.includeIds=void 0,this.filterBy=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.page=e.page,this.pageSize=e.pageSize,this.sortBy=e.sortBy,Array.isArray(e.searchCriteria)){this.searchCriteria=[];var t,n=Object(s.a)(e.searchCriteria);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.searchCriteria.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(e.exemptedIds)){this.exemptedIds=[];var a,r=Object(s.a)(e.exemptedIds);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.exemptedIds.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(e.includeIds)){this.includeIds=[];var l,c=Object(s.a)(e.includeIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.includeIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(e.filterBy)){this.filterBy=[];var u,m=Object(s.a)(e.filterBy);try{for(m.s();!(u=m.n()).done;){var v=u.value;this.filterBy.push(v)}}catch(f){m.e(f)}finally{m.f()}}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).page=this.page,e.pageSize=this.pageSize,e.sortBy=this.sortBy,Array.isArray(this.searchCriteria)){e.searchCriteria=[];var t,n=Object(s.a)(this.searchCriteria);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.searchCriteria.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(this.exemptedIds)){e.exemptedIds=[];var a,r=Object(s.a)(this.exemptedIds);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.exemptedIds.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(this.includeIds)){e.includeIds=[];var l,c=Object(s.a)(this.includeIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.includeIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(this.filterBy)){e.filterBy=[];var u,m=Object(s.a)(this.filterBy);try{for(m.s();!(u=m.n()).done;){var v=u.value;e.filterBy.push(v)}}catch(f){m.e(f)}finally{m.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Fc=function(){function e(t){if(Object(l.a)(this,e),this.scheduleId=void 0,this.sessionIds=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&(this.scheduleId=e.scheduleId,Array.isArray(e.sessionIds))){this.sessionIds=[];var t,n=Object(s.a)(e.sessionIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.sessionIds.push(i)}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).scheduleId=this.scheduleId,Array.isArray(this.sessionIds)){e.sessionIds=[];var t,n=Object(s.a)(this.sessionIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.sessionIds.push(i)}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Bc=function(){function e(t){if(Object(l.a)(this,e),this.page=void 0,this.pageSize=void 0,this.sortBy=void 0,this.searchCriteria=void 0,this.exemptedIds=void 0,this.includeIds=void 0,this.filterBy=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.page=e.page,this.pageSize=e.pageSize,this.sortBy=e.sortBy,Array.isArray(e.searchCriteria)){this.searchCriteria=[];var t,n=Object(s.a)(e.searchCriteria);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.searchCriteria.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(e.exemptedIds)){this.exemptedIds=[];var a,r=Object(s.a)(e.exemptedIds);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.exemptedIds.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(e.includeIds)){this.includeIds=[];var l,c=Object(s.a)(e.includeIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.includeIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(e.filterBy)){this.filterBy=[];var u,m=Object(s.a)(e.filterBy);try{for(m.s();!(u=m.n()).done;){var v=u.value;this.filterBy.push(v)}}catch(f){m.e(f)}finally{m.f()}}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).page=this.page,e.pageSize=this.pageSize,e.sortBy=this.sortBy,Array.isArray(this.searchCriteria)){e.searchCriteria=[];var t,n=Object(s.a)(this.searchCriteria);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.searchCriteria.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(this.exemptedIds)){e.exemptedIds=[];var a,r=Object(s.a)(this.exemptedIds);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.exemptedIds.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(this.includeIds)){e.includeIds=[];var l,c=Object(s.a)(this.includeIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.includeIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(this.filterBy)){e.filterBy=[];var u,m=Object(s.a)(this.filterBy);try{for(m.s();!(u=m.n()).done;){var v=u.value;e.filterBy.push(v)}}catch(f){m.e(f)}finally{m.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Rc=function(){function e(t){if(Object(l.a)(this,e),this.page=void 0,this.pageSize=void 0,this.sortBy=void 0,this.searchCriteria=void 0,this.exemptedIds=void 0,this.includeIds=void 0,this.filterBy=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.page=e.page,this.pageSize=e.pageSize,this.sortBy=e.sortBy,Array.isArray(e.searchCriteria)){this.searchCriteria=[];var t,n=Object(s.a)(e.searchCriteria);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.searchCriteria.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(e.exemptedIds)){this.exemptedIds=[];var a,r=Object(s.a)(e.exemptedIds);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.exemptedIds.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(e.includeIds)){this.includeIds=[];var l,c=Object(s.a)(e.includeIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.includeIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(e.filterBy)){this.filterBy=[];var u,m=Object(s.a)(e.filterBy);try{for(m.s();!(u=m.n()).done;){var v=u.value;this.filterBy.push(v)}}catch(f){m.e(f)}finally{m.f()}}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).page=this.page,e.pageSize=this.pageSize,e.sortBy=this.sortBy,Array.isArray(this.searchCriteria)){e.searchCriteria=[];var t,n=Object(s.a)(this.searchCriteria);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.searchCriteria.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(this.exemptedIds)){e.exemptedIds=[];var a,r=Object(s.a)(this.exemptedIds);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.exemptedIds.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(this.includeIds)){e.includeIds=[];var l,c=Object(s.a)(this.includeIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.includeIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(this.filterBy)){e.filterBy=[];var u,m=Object(s.a)(this.filterBy);try{for(m.s();!(u=m.n()).done;){var v=u.value;e.filterBy.push(v)}}catch(f){m.e(f)}finally{m.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Jc=function(){function e(t){if(Object(l.a)(this,e),this.page=void 0,this.pageSize=void 0,this.sortBy=void 0,this.searchCriteria=void 0,this.exemptedIds=void 0,this.includeIds=void 0,this.filterBy=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.page=e.page,this.pageSize=e.pageSize,this.sortBy=e.sortBy,Array.isArray(e.searchCriteria)){this.searchCriteria=[];var t,n=Object(s.a)(e.searchCriteria);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.searchCriteria.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(e.exemptedIds)){this.exemptedIds=[];var a,r=Object(s.a)(e.exemptedIds);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.exemptedIds.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(e.includeIds)){this.includeIds=[];var l,c=Object(s.a)(e.includeIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.includeIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(e.filterBy)){this.filterBy=[];var u,m=Object(s.a)(e.filterBy);try{for(m.s();!(u=m.n()).done;){var v=u.value;this.filterBy.push(v)}}catch(f){m.e(f)}finally{m.f()}}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).page=this.page,e.pageSize=this.pageSize,e.sortBy=this.sortBy,Array.isArray(this.searchCriteria)){e.searchCriteria=[];var t,n=Object(s.a)(this.searchCriteria);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.searchCriteria.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(this.exemptedIds)){e.exemptedIds=[];var a,r=Object(s.a)(this.exemptedIds);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.exemptedIds.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(this.includeIds)){e.includeIds=[];var l,c=Object(s.a)(this.includeIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.includeIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(this.filterBy)){e.filterBy=[];var u,m=Object(s.a)(this.filterBy);try{for(m.s();!(u=m.n()).done;){var v=u.value;e.filterBy.push(v)}}catch(f){m.e(f)}finally{m.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Gc=function(){function e(t){if(Object(l.a)(this,e),this.page=void 0,this.pageSize=void 0,this.sortBy=void 0,this.filterBy=void 0,this.searchCriteria=void 0,this.exemptedIds=void 0,this.includeIds=void 0,this.userId=void 0,this.reportName=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.page=e.page,this.pageSize=e.pageSize,this.sortBy=e.sortBy,Array.isArray(e.filterBy)){this.filterBy=[];var t,n=Object(s.a)(e.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.filterBy.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(e.searchCriteria)){this.searchCriteria=[];var a,r=Object(s.a)(e.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.searchCriteria.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(e.exemptedIds)){this.exemptedIds=[];var l,c=Object(s.a)(e.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.exemptedIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(e.includeIds)){this.includeIds=[];var u,m=Object(s.a)(e.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;this.includeIds.push(v)}}catch(f){m.e(f)}finally{m.f()}}this.userId=e.userId,this.reportName=e.reportName}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).page=this.page,e.pageSize=this.pageSize,e.sortBy=this.sortBy,Array.isArray(this.filterBy)){e.filterBy=[];var t,n=Object(s.a)(this.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.filterBy.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(this.searchCriteria)){e.searchCriteria=[];var a,r=Object(s.a)(this.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.searchCriteria.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(this.exemptedIds)){e.exemptedIds=[];var l,c=Object(s.a)(this.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.exemptedIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(this.includeIds)){e.includeIds=[];var u,m=Object(s.a)(this.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;e.includeIds.push(v)}}catch(f){m.e(f)}finally{m.f()}}return e.userId=this.userId,e.reportName=this.reportName,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Uc=function(){function e(t){if(Object(l.a)(this,e),this.reportNames=void 0,this.reportCategories=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.reportNames)){this.reportNames=[];var t,n=Object(s.a)(e.reportNames);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.reportNames.push(i)}}catch(l){n.e(l)}finally{n.f()}}if(Array.isArray(e.reportCategories)){this.reportCategories=[];var a,r=Object(s.a)(e.reportCategories);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.reportCategories.push(o)}}catch(l){r.e(l)}finally{r.f()}}}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.reportNames)){e.reportNames=[];var t,n=Object(s.a)(this.reportNames);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.reportNames.push(i)}}catch(l){n.e(l)}finally{n.f()}}if(Array.isArray(this.reportCategories)){e.reportCategories=[];var a,r=Object(s.a)(this.reportCategories);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.reportCategories.push(o)}}catch(l){r.e(l)}finally{r.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),zc=function(){function e(t){if(Object(l.a)(this,e),this.page=void 0,this.pageSize=void 0,this.sortBy=void 0,this.filterBy=void 0,this.searchCriteria=void 0,this.exemptedIds=void 0,this.includeIds=void 0,this.isFromSettings=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.page=e.page,this.pageSize=e.pageSize,this.sortBy=e.sortBy,Array.isArray(e.filterBy)){this.filterBy=[];var t,n=Object(s.a)(e.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.filterBy.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(e.searchCriteria)){this.searchCriteria=[];var a,r=Object(s.a)(e.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.searchCriteria.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(e.exemptedIds)){this.exemptedIds=[];var l,c=Object(s.a)(e.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.exemptedIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(e.includeIds)){this.includeIds=[];var u,m=Object(s.a)(e.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;this.includeIds.push(v)}}catch(f){m.e(f)}finally{m.f()}}this.isFromSettings=e.isFromSettings}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).page=this.page,e.pageSize=this.pageSize,e.sortBy=this.sortBy,Array.isArray(this.filterBy)){e.filterBy=[];var t,n=Object(s.a)(this.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.filterBy.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(this.searchCriteria)){e.searchCriteria=[];var a,r=Object(s.a)(this.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.searchCriteria.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(this.exemptedIds)){e.exemptedIds=[];var l,c=Object(s.a)(this.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.exemptedIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(this.includeIds)){e.includeIds=[];var u,m=Object(s.a)(this.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;e.includeIds.push(v)}}catch(f){m.e(f)}finally{m.f()}}return e.isFromSettings=this.isFromSettings,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),qc=function(){function e(t){if(Object(l.a)(this,e),this.page=void 0,this.pageSize=void 0,this.sortBy=void 0,this.filterBy=void 0,this.searchCriteria=void 0,this.exemptedIds=void 0,this.includeIds=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.page=e.page,this.pageSize=e.pageSize,this.sortBy=e.sortBy,Array.isArray(e.filterBy)){this.filterBy=[];var t,n=Object(s.a)(e.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.filterBy.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(e.searchCriteria)){this.searchCriteria=[];var a,r=Object(s.a)(e.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.searchCriteria.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(e.exemptedIds)){this.exemptedIds=[];var l,c=Object(s.a)(e.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.exemptedIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(e.includeIds)){this.includeIds=[];var u,m=Object(s.a)(e.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;this.includeIds.push(v)}}catch(f){m.e(f)}finally{m.f()}}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).page=this.page,e.pageSize=this.pageSize,e.sortBy=this.sortBy,Array.isArray(this.filterBy)){e.filterBy=[];var t,n=Object(s.a)(this.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.filterBy.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(this.searchCriteria)){e.searchCriteria=[];var a,r=Object(s.a)(this.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.searchCriteria.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(this.exemptedIds)){e.exemptedIds=[];var l,c=Object(s.a)(this.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.exemptedIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(this.includeIds)){e.includeIds=[];var u,m=Object(s.a)(this.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;e.includeIds.push(v)}}catch(f){m.e(f)}finally{m.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Mc=function(){function e(t){if(Object(l.a)(this,e),this.locationId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.locationId=e.locationId)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).locationId=this.locationId,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Wc=function(){function e(t){if(Object(l.a)(this,e),this.page=void 0,this.pageSize=void 0,this.sortBy=void 0,this.searchCriteria=void 0,this.exemptedIds=void 0,this.includeIds=void 0,this.filterBy=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.page=e.page,this.pageSize=e.pageSize,this.sortBy=e.sortBy,Array.isArray(e.searchCriteria)){this.searchCriteria=[];var t,n=Object(s.a)(e.searchCriteria);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.searchCriteria.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(e.exemptedIds)){this.exemptedIds=[];var a,r=Object(s.a)(e.exemptedIds);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.exemptedIds.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(e.includeIds)){this.includeIds=[];var l,c=Object(s.a)(e.includeIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.includeIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(e.filterBy)){this.filterBy=[];var u,m=Object(s.a)(e.filterBy);try{for(m.s();!(u=m.n()).done;){var v=u.value;this.filterBy.push(v)}}catch(f){m.e(f)}finally{m.f()}}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).page=this.page,e.pageSize=this.pageSize,e.sortBy=this.sortBy,Array.isArray(this.searchCriteria)){e.searchCriteria=[];var t,n=Object(s.a)(this.searchCriteria);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.searchCriteria.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(this.exemptedIds)){e.exemptedIds=[];var a,r=Object(s.a)(this.exemptedIds);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.exemptedIds.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(this.includeIds)){e.includeIds=[];var l,c=Object(s.a)(this.includeIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.includeIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(this.filterBy)){e.filterBy=[];var u,m=Object(s.a)(this.filterBy);try{for(m.s();!(u=m.n()).done;){var v=u.value;e.filterBy.push(v)}}catch(f){m.e(f)}finally{m.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Vc=function(){function e(t){if(Object(l.a)(this,e),this.page=void 0,this.pageSize=void 0,this.exemptedIds=void 0,this.includeIds=void 0,this.scheduleId=void 0,this.filterBy=void 0,this.searchCriteria=void 0,this.sortBy=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.page=e.page,this.pageSize=e.pageSize,Array.isArray(e.exemptedIds)){this.exemptedIds=[];var t,n=Object(s.a)(e.exemptedIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.exemptedIds.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(e.includeIds)){this.includeIds=[];var a,r=Object(s.a)(e.includeIds);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.includeIds.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(this.scheduleId=e.scheduleId,Array.isArray(e.filterBy)){this.filterBy=[];var l,c=Object(s.a)(e.filterBy);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.filterBy.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(e.searchCriteria)){this.searchCriteria=[];var u,m=Object(s.a)(e.searchCriteria);try{for(m.s();!(u=m.n()).done;){var v=u.value;this.searchCriteria.push(v)}}catch(f){m.e(f)}finally{m.f()}}this.sortBy=e.sortBy}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).page=this.page,e.pageSize=this.pageSize,Array.isArray(this.exemptedIds)){e.exemptedIds=[];var t,n=Object(s.a)(this.exemptedIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.exemptedIds.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(this.includeIds)){e.includeIds=[];var a,r=Object(s.a)(this.includeIds);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.includeIds.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(e.scheduleId=this.scheduleId,Array.isArray(this.filterBy)){e.filterBy=[];var l,c=Object(s.a)(this.filterBy);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.filterBy.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(this.searchCriteria)){e.searchCriteria=[];var u,m=Object(s.a)(this.searchCriteria);try{for(m.s();!(u=m.n()).done;){var v=u.value;e.searchCriteria.push(v)}}catch(f){m.e(f)}finally{m.f()}}return e.sortBy=this.sortBy,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),_c=function(){function e(t){if(Object(l.a)(this,e),this.page=void 0,this.pageSize=void 0,this.sortBy=void 0,this.filterBy=void 0,this.searchCriteria=void 0,this.exemptedIds=void 0,this.includeIds=void 0,this.scheduleId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.page=e.page,this.pageSize=e.pageSize,this.sortBy=e.sortBy,Array.isArray(e.filterBy)){this.filterBy=[];var t,n=Object(s.a)(e.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.filterBy.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(e.searchCriteria)){this.searchCriteria=[];var a,r=Object(s.a)(e.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.searchCriteria.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(e.exemptedIds)){this.exemptedIds=[];var l,c=Object(s.a)(e.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.exemptedIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(e.includeIds)){this.includeIds=[];var u,m=Object(s.a)(e.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;this.includeIds.push(v)}}catch(f){m.e(f)}finally{m.f()}}this.scheduleId=e.scheduleId}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).page=this.page,e.pageSize=this.pageSize,e.sortBy=this.sortBy,Array.isArray(this.filterBy)){e.filterBy=[];var t,n=Object(s.a)(this.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.filterBy.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(this.searchCriteria)){e.searchCriteria=[];var a,r=Object(s.a)(this.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.searchCriteria.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(this.exemptedIds)){e.exemptedIds=[];var l,c=Object(s.a)(this.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.exemptedIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(this.includeIds)){e.includeIds=[];var u,m=Object(s.a)(this.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;e.includeIds.push(v)}}catch(f){m.e(f)}finally{m.f()}}return e.scheduleId=this.scheduleId,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Yc=function(){function e(t){if(Object(l.a)(this,e),this.page=void 0,this.pageSize=void 0,this.sortBy=void 0,this.filterBy=void 0,this.searchCriteria=void 0,this.exemptedIds=void 0,this.includeIds=void 0,this.groupId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.page=e.page,this.pageSize=e.pageSize,this.sortBy=e.sortBy,Array.isArray(e.filterBy)){this.filterBy=[];var t,n=Object(s.a)(e.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.filterBy.push(i)}}catch(y){n.e(y)}finally{n.f()}}if(Array.isArray(e.searchCriteria)){this.searchCriteria=[];var a,r=Object(s.a)(e.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.searchCriteria.push(o)}}catch(y){r.e(y)}finally{r.f()}}if(Array.isArray(e.exemptedIds)){this.exemptedIds=[];var l,c=Object(s.a)(e.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.exemptedIds.push(d)}}catch(y){c.e(y)}finally{c.f()}}if(Array.isArray(e.includeIds)){this.includeIds=[];var u,m=Object(s.a)(e.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;this.includeIds.push(v)}}catch(y){m.e(y)}finally{m.f()}}if(Array.isArray(e.groupId)){this.groupId=[];var f,p=Object(s.a)(e.groupId);try{for(p.s();!(f=p.n()).done;){var h=f.value;this.groupId.push(h)}}catch(y){p.e(y)}finally{p.f()}}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).page=this.page,e.pageSize=this.pageSize,e.sortBy=this.sortBy,Array.isArray(this.filterBy)){e.filterBy=[];var t,n=Object(s.a)(this.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.filterBy.push(i)}}catch(y){n.e(y)}finally{n.f()}}if(Array.isArray(this.searchCriteria)){e.searchCriteria=[];var a,r=Object(s.a)(this.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.searchCriteria.push(o)}}catch(y){r.e(y)}finally{r.f()}}if(Array.isArray(this.exemptedIds)){e.exemptedIds=[];var l,c=Object(s.a)(this.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.exemptedIds.push(d)}}catch(y){c.e(y)}finally{c.f()}}if(Array.isArray(this.includeIds)){e.includeIds=[];var u,m=Object(s.a)(this.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;e.includeIds.push(v)}}catch(y){m.e(y)}finally{m.f()}}if(Array.isArray(this.groupId)){e.groupId=[];var f,p=Object(s.a)(this.groupId);try{for(p.s();!(f=p.n()).done;){var h=f.value;e.groupId.push(h)}}catch(y){p.e(y)}finally{p.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Hc=function(){function e(t){if(Object(l.a)(this,e),this.page=void 0,this.pageSize=void 0,this.sortBy=void 0,this.filterBy=void 0,this.searchCriteria=void 0,this.exemptedIds=void 0,this.includeIds=void 0,this.excludeSecurityGroupId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.page=e.page,this.pageSize=e.pageSize,this.sortBy=e.sortBy,Array.isArray(e.filterBy)){this.filterBy=[];var t,n=Object(s.a)(e.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.filterBy.push(i)}}catch(y){n.e(y)}finally{n.f()}}if(Array.isArray(e.searchCriteria)){this.searchCriteria=[];var a,r=Object(s.a)(e.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.searchCriteria.push(o)}}catch(y){r.e(y)}finally{r.f()}}if(Array.isArray(e.exemptedIds)){this.exemptedIds=[];var l,c=Object(s.a)(e.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.exemptedIds.push(d)}}catch(y){c.e(y)}finally{c.f()}}if(Array.isArray(e.includeIds)){this.includeIds=[];var u,m=Object(s.a)(e.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;this.includeIds.push(v)}}catch(y){m.e(y)}finally{m.f()}}if(Array.isArray(e.excludeSecurityGroupId)){this.excludeSecurityGroupId=[];var f,p=Object(s.a)(e.excludeSecurityGroupId);try{for(p.s();!(f=p.n()).done;){var h=f.value;this.excludeSecurityGroupId.push(h)}}catch(y){p.e(y)}finally{p.f()}}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).page=this.page,e.pageSize=this.pageSize,e.sortBy=this.sortBy,Array.isArray(this.filterBy)){e.filterBy=[];var t,n=Object(s.a)(this.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.filterBy.push(i)}}catch(y){n.e(y)}finally{n.f()}}if(Array.isArray(this.searchCriteria)){e.searchCriteria=[];var a,r=Object(s.a)(this.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.searchCriteria.push(o)}}catch(y){r.e(y)}finally{r.f()}}if(Array.isArray(this.exemptedIds)){e.exemptedIds=[];var l,c=Object(s.a)(this.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.exemptedIds.push(d)}}catch(y){c.e(y)}finally{c.f()}}if(Array.isArray(this.includeIds)){e.includeIds=[];var u,m=Object(s.a)(this.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;e.includeIds.push(v)}}catch(y){m.e(y)}finally{m.f()}}if(Array.isArray(this.excludeSecurityGroupId)){e.excludeSecurityGroupId=[];var f,p=Object(s.a)(this.excludeSecurityGroupId);try{for(p.s();!(f=p.n()).done;){var h=f.value;e.excludeSecurityGroupId.push(h)}}catch(y){p.e(y)}finally{p.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),$c=function(){function e(t){if(Object(l.a)(this,e),this.page=void 0,this.pageSize=void 0,this.sortBy=void 0,this.filterBy=void 0,this.searchCriteria=void 0,this.exemptedIds=void 0,this.includeIds=void 0,this.createdBy=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.page=e.page,this.pageSize=e.pageSize,this.sortBy=e.sortBy,Array.isArray(e.filterBy)){this.filterBy=[];var t,n=Object(s.a)(e.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.filterBy.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(e.searchCriteria)){this.searchCriteria=[];var a,r=Object(s.a)(e.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.searchCriteria.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(e.exemptedIds)){this.exemptedIds=[];var l,c=Object(s.a)(e.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.exemptedIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(e.includeIds)){this.includeIds=[];var u,m=Object(s.a)(e.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;this.includeIds.push(v)}}catch(f){m.e(f)}finally{m.f()}}this.createdBy=e.createdBy}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).page=this.page,e.pageSize=this.pageSize,e.sortBy=this.sortBy,Array.isArray(this.filterBy)){e.filterBy=[];var t,n=Object(s.a)(this.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.filterBy.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(this.searchCriteria)){e.searchCriteria=[];var a,r=Object(s.a)(this.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.searchCriteria.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(this.exemptedIds)){e.exemptedIds=[];var l,c=Object(s.a)(this.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.exemptedIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(this.includeIds)){e.includeIds=[];var u,m=Object(s.a)(this.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;e.includeIds.push(v)}}catch(f){m.e(f)}finally{m.f()}}return e.createdBy=this.createdBy,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Qc=function(){function e(t){if(Object(l.a)(this,e),this.page=void 0,this.pageSize=void 0,this.sortBy=void 0,this.filterBy=void 0,this.searchCriteria=void 0,this.exemptedIds=void 0,this.includeIds=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.page=e.page,this.pageSize=e.pageSize,this.sortBy=e.sortBy,Array.isArray(e.filterBy)){this.filterBy=[];var t,n=Object(s.a)(e.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.filterBy.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(e.searchCriteria)){this.searchCriteria=[];var a,r=Object(s.a)(e.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.searchCriteria.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(e.exemptedIds)){this.exemptedIds=[];var l,c=Object(s.a)(e.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.exemptedIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(e.includeIds)){this.includeIds=[];var u,m=Object(s.a)(e.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;this.includeIds.push(v)}}catch(f){m.e(f)}finally{m.f()}}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).page=this.page,e.pageSize=this.pageSize,e.sortBy=this.sortBy,Array.isArray(this.filterBy)){e.filterBy=[];var t,n=Object(s.a)(this.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.filterBy.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(this.searchCriteria)){e.searchCriteria=[];var a,r=Object(s.a)(this.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.searchCriteria.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(this.exemptedIds)){e.exemptedIds=[];var l,c=Object(s.a)(this.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.exemptedIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(this.includeIds)){e.includeIds=[];var u,m=Object(s.a)(this.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;e.includeIds.push(v)}}catch(f){m.e(f)}finally{m.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Zc=function(){function e(t){if(Object(l.a)(this,e),this.page=void 0,this.pageSize=void 0,this.exemptedIds=void 0,this.includeIds=void 0,this.courseId=void 0,this.filterBy=void 0,this.searchCriteria=void 0,this.sortBy=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.page=e.page,this.pageSize=e.pageSize,Array.isArray(e.exemptedIds)){this.exemptedIds=[];var t,n=Object(s.a)(e.exemptedIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.exemptedIds.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(e.includeIds)){this.includeIds=[];var a,r=Object(s.a)(e.includeIds);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.includeIds.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(this.courseId=e.courseId,Array.isArray(e.filterBy)){this.filterBy=[];var l,c=Object(s.a)(e.filterBy);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.filterBy.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(e.searchCriteria)){this.searchCriteria=[];var u,m=Object(s.a)(e.searchCriteria);try{for(m.s();!(u=m.n()).done;){var v=u.value;this.searchCriteria.push(v)}}catch(f){m.e(f)}finally{m.f()}}this.sortBy=e.sortBy}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).page=this.page,e.pageSize=this.pageSize,Array.isArray(this.exemptedIds)){e.exemptedIds=[];var t,n=Object(s.a)(this.exemptedIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.exemptedIds.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(this.includeIds)){e.includeIds=[];var a,r=Object(s.a)(this.includeIds);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.includeIds.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(e.courseId=this.courseId,Array.isArray(this.filterBy)){e.filterBy=[];var l,c=Object(s.a)(this.filterBy);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.filterBy.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(this.searchCriteria)){e.searchCriteria=[];var u,m=Object(s.a)(this.searchCriteria);try{for(m.s();!(u=m.n()).done;){var v=u.value;e.searchCriteria.push(v)}}catch(f){m.e(f)}finally{m.f()}}return e.sortBy=this.sortBy,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Xc=function(){function e(t){if(Object(l.a)(this,e),this.page=void 0,this.pageSize=void 0,this.sortBy=void 0,this.filterBy=void 0,this.searchCriteria=void 0,this.exemptedIds=void 0,this.includeIds=void 0,this.startDate=void 0,this.endDate=void 0,this.showPublishedSessionsOnly=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.page=e.page,this.pageSize=e.pageSize,this.sortBy=e.sortBy,Array.isArray(e.filterBy)){this.filterBy=[];var t,n=Object(s.a)(e.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.filterBy.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(e.searchCriteria)){this.searchCriteria=[];var a,r=Object(s.a)(e.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.searchCriteria.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(e.exemptedIds)){this.exemptedIds=[];var l,c=Object(s.a)(e.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.exemptedIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(e.includeIds)){this.includeIds=[];var u,m=Object(s.a)(e.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;this.includeIds.push(v)}}catch(f){m.e(f)}finally{m.f()}}this.startDate=e.startDate?new Date(e.startDate.toString()):void 0,this.endDate=e.endDate?new Date(e.endDate.toString()):void 0,this.showPublishedSessionsOnly=e.showPublishedSessionsOnly}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).page=this.page,e.pageSize=this.pageSize,e.sortBy=this.sortBy,Array.isArray(this.filterBy)){e.filterBy=[];var t,n=Object(s.a)(this.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.filterBy.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(this.searchCriteria)){e.searchCriteria=[];var a,r=Object(s.a)(this.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.searchCriteria.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(this.exemptedIds)){e.exemptedIds=[];var l,c=Object(s.a)(this.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.exemptedIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(this.includeIds)){e.includeIds=[];var u,m=Object(s.a)(this.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;e.includeIds.push(v)}}catch(f){m.e(f)}finally{m.f()}}return e.startDate=this.startDate?this.startDate.toISOString():void 0,e.endDate=this.endDate?this.endDate.toISOString():void 0,e.showPublishedSessionsOnly=this.showPublishedSessionsOnly,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Kc=function(){function e(t){if(Object(l.a)(this,e),this.page=void 0,this.pageSize=void 0,this.exemptedIds=void 0,this.includeIds=void 0,this.sessionId=void 0,this.filterBy=void 0,this.searchCriteria=void 0,this.sortBy=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.page=e.page,this.pageSize=e.pageSize,Array.isArray(e.exemptedIds)){this.exemptedIds=[];var t,n=Object(s.a)(e.exemptedIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.exemptedIds.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(e.includeIds)){this.includeIds=[];var a,r=Object(s.a)(e.includeIds);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.includeIds.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(this.sessionId=e.sessionId,Array.isArray(e.filterBy)){this.filterBy=[];var l,c=Object(s.a)(e.filterBy);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.filterBy.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(e.searchCriteria)){this.searchCriteria=[];var u,m=Object(s.a)(e.searchCriteria);try{for(m.s();!(u=m.n()).done;){var v=u.value;this.searchCriteria.push(v)}}catch(f){m.e(f)}finally{m.f()}}this.sortBy=e.sortBy}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).page=this.page,e.pageSize=this.pageSize,Array.isArray(this.exemptedIds)){e.exemptedIds=[];var t,n=Object(s.a)(this.exemptedIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.exemptedIds.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(this.includeIds)){e.includeIds=[];var a,r=Object(s.a)(this.includeIds);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.includeIds.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(e.sessionId=this.sessionId,Array.isArray(this.filterBy)){e.filterBy=[];var l,c=Object(s.a)(this.filterBy);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.filterBy.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(this.searchCriteria)){e.searchCriteria=[];var u,m=Object(s.a)(this.searchCriteria);try{for(m.s();!(u=m.n()).done;){var v=u.value;e.searchCriteria.push(v)}}catch(f){m.e(f)}finally{m.f()}}return e.sortBy=this.sortBy,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),ed=function(){function e(t){if(Object(l.a)(this,e),this.page=void 0,this.pageSize=void 0,this.sortBy=void 0,this.filterBy=void 0,this.searchCriteria=void 0,this.exemptedIds=void 0,this.includeIds=void 0,this.sessionId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.page=e.page,this.pageSize=e.pageSize,this.sortBy=e.sortBy,Array.isArray(e.filterBy)){this.filterBy=[];var t,n=Object(s.a)(e.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.filterBy.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(e.searchCriteria)){this.searchCriteria=[];var a,r=Object(s.a)(e.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.searchCriteria.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(e.exemptedIds)){this.exemptedIds=[];var l,c=Object(s.a)(e.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.exemptedIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(e.includeIds)){this.includeIds=[];var u,m=Object(s.a)(e.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;this.includeIds.push(v)}}catch(f){m.e(f)}finally{m.f()}}this.sessionId=e.sessionId}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).page=this.page,e.pageSize=this.pageSize,e.sortBy=this.sortBy,Array.isArray(this.filterBy)){e.filterBy=[];var t,n=Object(s.a)(this.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.filterBy.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(this.searchCriteria)){e.searchCriteria=[];var a,r=Object(s.a)(this.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.searchCriteria.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(this.exemptedIds)){e.exemptedIds=[];var l,c=Object(s.a)(this.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.exemptedIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(this.includeIds)){e.includeIds=[];var u,m=Object(s.a)(this.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;e.includeIds.push(v)}}catch(f){m.e(f)}finally{m.f()}}return e.sessionId=this.sessionId,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),td=function(){function e(t){if(Object(l.a)(this,e),this.sessionId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.sessionId=e.sessionId)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).sessionId=this.sessionId,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),nd=function(){function e(t){if(Object(l.a)(this,e),this.page=void 0,this.pageSize=void 0,this.sortBy=void 0,this.filterBy=void 0,this.searchCriteria=void 0,this.exemptedIds=void 0,this.includeIds=void 0,this.sessionId=void 0,this.userId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.page=e.page,this.pageSize=e.pageSize,this.sortBy=e.sortBy,Array.isArray(e.filterBy)){this.filterBy=[];var t,n=Object(s.a)(e.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.filterBy.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(e.searchCriteria)){this.searchCriteria=[];var a,r=Object(s.a)(e.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.searchCriteria.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(e.exemptedIds)){this.exemptedIds=[];var l,c=Object(s.a)(e.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.exemptedIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(e.includeIds)){this.includeIds=[];var u,m=Object(s.a)(e.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;this.includeIds.push(v)}}catch(f){m.e(f)}finally{m.f()}}this.sessionId=e.sessionId,this.userId=e.userId}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).page=this.page,e.pageSize=this.pageSize,e.sortBy=this.sortBy,Array.isArray(this.filterBy)){e.filterBy=[];var t,n=Object(s.a)(this.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.filterBy.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(this.searchCriteria)){e.searchCriteria=[];var a,r=Object(s.a)(this.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.searchCriteria.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(this.exemptedIds)){e.exemptedIds=[];var l,c=Object(s.a)(this.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.exemptedIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(this.includeIds)){e.includeIds=[];var u,m=Object(s.a)(this.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;e.includeIds.push(v)}}catch(f){m.e(f)}finally{m.f()}}return e.sessionId=this.sessionId,e.userId=this.userId,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),id=function(){function e(t){if(Object(l.a)(this,e),this.page=void 0,this.pageSize=void 0,this.sortBy=void 0,this.filterBy=void 0,this.searchCriteria=void 0,this.exemptedIds=void 0,this.includeIds=void 0,this.sessionId=void 0,this.scheduleId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.page=e.page,this.pageSize=e.pageSize,this.sortBy=e.sortBy,Array.isArray(e.filterBy)){this.filterBy=[];var t,n=Object(s.a)(e.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.filterBy.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(e.searchCriteria)){this.searchCriteria=[];var a,r=Object(s.a)(e.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.searchCriteria.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(e.exemptedIds)){this.exemptedIds=[];var l,c=Object(s.a)(e.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.exemptedIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(e.includeIds)){this.includeIds=[];var u,m=Object(s.a)(e.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;this.includeIds.push(v)}}catch(f){m.e(f)}finally{m.f()}}this.sessionId=e.sessionId,this.scheduleId=e.scheduleId}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).page=this.page,e.pageSize=this.pageSize,e.sortBy=this.sortBy,Array.isArray(this.filterBy)){e.filterBy=[];var t,n=Object(s.a)(this.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.filterBy.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(this.searchCriteria)){e.searchCriteria=[];var a,r=Object(s.a)(this.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.searchCriteria.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(this.exemptedIds)){e.exemptedIds=[];var l,c=Object(s.a)(this.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.exemptedIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(this.includeIds)){e.includeIds=[];var u,m=Object(s.a)(this.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;e.includeIds.push(v)}}catch(f){m.e(f)}finally{m.f()}}return e.sessionId=this.sessionId,e.scheduleId=this.scheduleId,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),ad=function(){function e(t){if(Object(l.a)(this,e),this.sessionIds=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&Array.isArray(e.sessionIds)){this.sessionIds=[];var t,n=Object(s.a)(e.sessionIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.sessionIds.push(i)}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.sessionIds)){e.sessionIds=[];var t,n=Object(s.a)(this.sessionIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.sessionIds.push(i)}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),rd=function(){function e(t){if(Object(l.a)(this,e),this.page=void 0,this.pageSize=void 0,this.sortBy=void 0,this.filterBy=void 0,this.searchCriteria=void 0,this.exemptedIds=void 0,this.includeIds=void 0,this.sessionId=void 0,this.scheduleId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.page=e.page,this.pageSize=e.pageSize,this.sortBy=e.sortBy,Array.isArray(e.filterBy)){this.filterBy=[];var t,n=Object(s.a)(e.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.filterBy.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(e.searchCriteria)){this.searchCriteria=[];var a,r=Object(s.a)(e.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.searchCriteria.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(e.exemptedIds)){this.exemptedIds=[];var l,c=Object(s.a)(e.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.exemptedIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(e.includeIds)){this.includeIds=[];var u,m=Object(s.a)(e.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;this.includeIds.push(v)}}catch(f){m.e(f)}finally{m.f()}}this.sessionId=e.sessionId,this.scheduleId=e.scheduleId}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).page=this.page,e.pageSize=this.pageSize,e.sortBy=this.sortBy,Array.isArray(this.filterBy)){e.filterBy=[];var t,n=Object(s.a)(this.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.filterBy.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(this.searchCriteria)){e.searchCriteria=[];var a,r=Object(s.a)(this.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.searchCriteria.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(this.exemptedIds)){e.exemptedIds=[];var l,c=Object(s.a)(this.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.exemptedIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(this.includeIds)){e.includeIds=[];var u,m=Object(s.a)(this.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;e.includeIds.push(v)}}catch(f){m.e(f)}finally{m.f()}}return e.sessionId=this.sessionId,e.scheduleId=this.scheduleId,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),od=function(){function e(t){if(Object(l.a)(this,e),this.page=void 0,this.pageSize=void 0,this.exemptedIds=void 0,this.includeIds=void 0,this.sessionId=void 0,this.scheduleId=void 0,this.filterBy=void 0,this.searchCriteria=void 0,this.sortBy=void 0,this.hideUserLicenseValues=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.page=e.page,this.pageSize=e.pageSize,Array.isArray(e.exemptedIds)){this.exemptedIds=[];var t,n=Object(s.a)(e.exemptedIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.exemptedIds.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(e.includeIds)){this.includeIds=[];var a,r=Object(s.a)(e.includeIds);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.includeIds.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(this.sessionId=e.sessionId,this.scheduleId=e.scheduleId,Array.isArray(e.filterBy)){this.filterBy=[];var l,c=Object(s.a)(e.filterBy);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.filterBy.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(e.searchCriteria)){this.searchCriteria=[];var u,m=Object(s.a)(e.searchCriteria);try{for(m.s();!(u=m.n()).done;){var v=u.value;this.searchCriteria.push(v)}}catch(f){m.e(f)}finally{m.f()}}this.sortBy=e.sortBy,this.hideUserLicenseValues=e.hideUserLicenseValues}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).page=this.page,e.pageSize=this.pageSize,Array.isArray(this.exemptedIds)){e.exemptedIds=[];var t,n=Object(s.a)(this.exemptedIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.exemptedIds.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(this.includeIds)){e.includeIds=[];var a,r=Object(s.a)(this.includeIds);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.includeIds.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(e.sessionId=this.sessionId,e.scheduleId=this.scheduleId,Array.isArray(this.filterBy)){e.filterBy=[];var l,c=Object(s.a)(this.filterBy);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.filterBy.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(this.searchCriteria)){e.searchCriteria=[];var u,m=Object(s.a)(this.searchCriteria);try{for(m.s();!(u=m.n()).done;){var v=u.value;e.searchCriteria.push(v)}}catch(f){m.e(f)}finally{m.f()}}return e.sortBy=this.sortBy,e.hideUserLicenseValues=this.hideUserLicenseValues,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),sd=function(){function e(t){if(Object(l.a)(this,e),this.page=void 0,this.pageSize=void 0,this.sortBy=void 0,this.filterBy=void 0,this.searchCriteria=void 0,this.exemptedIds=void 0,this.includeIds=void 0,this.scheduleId=void 0,this.sessionIds=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.page=e.page,this.pageSize=e.pageSize,this.sortBy=e.sortBy,Array.isArray(e.filterBy)){this.filterBy=[];var t,n=Object(s.a)(e.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.filterBy.push(i)}}catch(y){n.e(y)}finally{n.f()}}if(Array.isArray(e.searchCriteria)){this.searchCriteria=[];var a,r=Object(s.a)(e.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.searchCriteria.push(o)}}catch(y){r.e(y)}finally{r.f()}}if(Array.isArray(e.exemptedIds)){this.exemptedIds=[];var l,c=Object(s.a)(e.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.exemptedIds.push(d)}}catch(y){c.e(y)}finally{c.f()}}if(Array.isArray(e.includeIds)){this.includeIds=[];var u,m=Object(s.a)(e.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;this.includeIds.push(v)}}catch(y){m.e(y)}finally{m.f()}}if(this.scheduleId=e.scheduleId,Array.isArray(e.sessionIds)){this.sessionIds=[];var f,p=Object(s.a)(e.sessionIds);try{for(p.s();!(f=p.n()).done;){var h=f.value;this.sessionIds.push(h)}}catch(y){p.e(y)}finally{p.f()}}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).page=this.page,e.pageSize=this.pageSize,e.sortBy=this.sortBy,Array.isArray(this.filterBy)){e.filterBy=[];var t,n=Object(s.a)(this.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.filterBy.push(i)}}catch(y){n.e(y)}finally{n.f()}}if(Array.isArray(this.searchCriteria)){e.searchCriteria=[];var a,r=Object(s.a)(this.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.searchCriteria.push(o)}}catch(y){r.e(y)}finally{r.f()}}if(Array.isArray(this.exemptedIds)){e.exemptedIds=[];var l,c=Object(s.a)(this.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.exemptedIds.push(d)}}catch(y){c.e(y)}finally{c.f()}}if(Array.isArray(this.includeIds)){e.includeIds=[];var u,m=Object(s.a)(this.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;e.includeIds.push(v)}}catch(y){m.e(y)}finally{m.f()}}if(e.scheduleId=this.scheduleId,Array.isArray(this.sessionIds)){e.sessionIds=[];var f,p=Object(s.a)(this.sessionIds);try{for(p.s();!(f=p.n()).done;){var h=f.value;e.sessionIds.push(h)}}catch(y){p.e(y)}finally{p.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),ld=function(){function e(t){if(Object(l.a)(this,e),this.sessionId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.sessionId=e.sessionId)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).sessionId=this.sessionId,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),cd=function(){function e(t){if(Object(l.a)(this,e),this.sessionId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.sessionId=e.sessionId)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).sessionId=this.sessionId,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),dd=function(){function e(t){if(Object(l.a)(this,e),this.page=void 0,this.pageSize=void 0,this.sortBy=void 0,this.filterBy=void 0,this.searchCriteria=void 0,this.exemptedIds=void 0,this.includeIds=void 0,this.sessionId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.page=e.page,this.pageSize=e.pageSize,this.sortBy=e.sortBy,Array.isArray(e.filterBy)){this.filterBy=[];var t,n=Object(s.a)(e.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.filterBy.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(e.searchCriteria)){this.searchCriteria=[];var a,r=Object(s.a)(e.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.searchCriteria.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(e.exemptedIds)){this.exemptedIds=[];var l,c=Object(s.a)(e.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.exemptedIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(e.includeIds)){this.includeIds=[];var u,m=Object(s.a)(e.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;this.includeIds.push(v)}}catch(f){m.e(f)}finally{m.f()}}this.sessionId=e.sessionId}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).page=this.page,e.pageSize=this.pageSize,e.sortBy=this.sortBy,Array.isArray(this.filterBy)){e.filterBy=[];var t,n=Object(s.a)(this.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.filterBy.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(this.searchCriteria)){e.searchCriteria=[];var a,r=Object(s.a)(this.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.searchCriteria.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(this.exemptedIds)){e.exemptedIds=[];var l,c=Object(s.a)(this.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.exemptedIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(this.includeIds)){e.includeIds=[];var u,m=Object(s.a)(this.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;e.includeIds.push(v)}}catch(f){m.e(f)}finally{m.f()}}return e.sessionId=this.sessionId,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),ud=function(){function e(t){if(Object(l.a)(this,e),this.page=void 0,this.pageSize=void 0,this.sortBy=void 0,this.searchCriteria=void 0,this.exemptedIds=void 0,this.includeIds=void 0,this.filterBy=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.page=e.page,this.pageSize=e.pageSize,this.sortBy=e.sortBy,Array.isArray(e.searchCriteria)){this.searchCriteria=[];var t,n=Object(s.a)(e.searchCriteria);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.searchCriteria.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(e.exemptedIds)){this.exemptedIds=[];var a,r=Object(s.a)(e.exemptedIds);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.exemptedIds.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(e.includeIds)){this.includeIds=[];var l,c=Object(s.a)(e.includeIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.includeIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(e.filterBy)){this.filterBy=[];var u,m=Object(s.a)(e.filterBy);try{for(m.s();!(u=m.n()).done;){var v=u.value;this.filterBy.push(v)}}catch(f){m.e(f)}finally{m.f()}}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).page=this.page,e.pageSize=this.pageSize,e.sortBy=this.sortBy,Array.isArray(this.searchCriteria)){e.searchCriteria=[];var t,n=Object(s.a)(this.searchCriteria);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.searchCriteria.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(this.exemptedIds)){e.exemptedIds=[];var a,r=Object(s.a)(this.exemptedIds);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.exemptedIds.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(this.includeIds)){e.includeIds=[];var l,c=Object(s.a)(this.includeIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.includeIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(this.filterBy)){e.filterBy=[];var u,m=Object(s.a)(this.filterBy);try{for(m.s();!(u=m.n()).done;){var v=u.value;e.filterBy.push(v)}}catch(f){m.e(f)}finally{m.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),md=function(){function e(t){if(Object(l.a)(this,e),this.page=void 0,this.pageSize=void 0,this.sortBy=void 0,this.filterBy=void 0,this.searchCriteria=void 0,this.exemptedIds=void 0,this.includeIds=void 0,this.userId=void 0,this.export=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.page=e.page,this.pageSize=e.pageSize,this.sortBy=e.sortBy,Array.isArray(e.filterBy)){this.filterBy=[];var t,n=Object(s.a)(e.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.filterBy.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(e.searchCriteria)){this.searchCriteria=[];var a,r=Object(s.a)(e.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.searchCriteria.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(e.exemptedIds)){this.exemptedIds=[];var l,c=Object(s.a)(e.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.exemptedIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(e.includeIds)){this.includeIds=[];var u,m=Object(s.a)(e.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;this.includeIds.push(v)}}catch(f){m.e(f)}finally{m.f()}}this.userId=e.userId,this.export=e.export}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).page=this.page,e.pageSize=this.pageSize,e.sortBy=this.sortBy,Array.isArray(this.filterBy)){e.filterBy=[];var t,n=Object(s.a)(this.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.filterBy.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(this.searchCriteria)){e.searchCriteria=[];var a,r=Object(s.a)(this.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.searchCriteria.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(this.exemptedIds)){e.exemptedIds=[];var l,c=Object(s.a)(this.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.exemptedIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(this.includeIds)){e.includeIds=[];var u,m=Object(s.a)(this.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;e.includeIds.push(v)}}catch(f){m.e(f)}finally{m.f()}}return e.userId=this.userId,e.export=this.export,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),vd=function(){function e(t){if(Object(l.a)(this,e),this.page=void 0,this.pageSize=void 0,this.sortBy=void 0,this.filterBy=void 0,this.searchCriteria=void 0,this.exemptedIds=void 0,this.includeIds=void 0,this.userId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.page=e.page,this.pageSize=e.pageSize,this.sortBy=e.sortBy,Array.isArray(e.filterBy)){this.filterBy=[];var t,n=Object(s.a)(e.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.filterBy.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(e.searchCriteria)){this.searchCriteria=[];var a,r=Object(s.a)(e.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.searchCriteria.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(e.exemptedIds)){this.exemptedIds=[];var l,c=Object(s.a)(e.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.exemptedIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(e.includeIds)){this.includeIds=[];var u,m=Object(s.a)(e.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;this.includeIds.push(v)}}catch(f){m.e(f)}finally{m.f()}}this.userId=e.userId}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).page=this.page,e.pageSize=this.pageSize,e.sortBy=this.sortBy,Array.isArray(this.filterBy)){e.filterBy=[];var t,n=Object(s.a)(this.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.filterBy.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(this.searchCriteria)){e.searchCriteria=[];var a,r=Object(s.a)(this.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.searchCriteria.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(this.exemptedIds)){e.exemptedIds=[];var l,c=Object(s.a)(this.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.exemptedIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(this.includeIds)){e.includeIds=[];var u,m=Object(s.a)(this.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;e.includeIds.push(v)}}catch(f){m.e(f)}finally{m.f()}}return e.userId=this.userId,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),fd=function(){function e(t){if(Object(l.a)(this,e),this.page=void 0,this.pageSize=void 0,this.sortBy=void 0,this.filterBy=void 0,this.searchCriteria=void 0,this.exemptedIds=void 0,this.includeIds=void 0,this.userId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.page=e.page,this.pageSize=e.pageSize,this.sortBy=e.sortBy,Array.isArray(e.filterBy)){this.filterBy=[];var t,n=Object(s.a)(e.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.filterBy.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(e.searchCriteria)){this.searchCriteria=[];var a,r=Object(s.a)(e.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.searchCriteria.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(e.exemptedIds)){this.exemptedIds=[];var l,c=Object(s.a)(e.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.exemptedIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(e.includeIds)){this.includeIds=[];var u,m=Object(s.a)(e.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;this.includeIds.push(v)}}catch(f){m.e(f)}finally{m.f()}}this.userId=e.userId}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).page=this.page,e.pageSize=this.pageSize,e.sortBy=this.sortBy,Array.isArray(this.filterBy)){e.filterBy=[];var t,n=Object(s.a)(this.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.filterBy.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(this.searchCriteria)){e.searchCriteria=[];var a,r=Object(s.a)(this.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.searchCriteria.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(this.exemptedIds)){e.exemptedIds=[];var l,c=Object(s.a)(this.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.exemptedIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(this.includeIds)){e.includeIds=[];var u,m=Object(s.a)(this.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;e.includeIds.push(v)}}catch(f){m.e(f)}finally{m.f()}}return e.userId=this.userId,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),pd=function(){function e(t){if(Object(l.a)(this,e),this.page=void 0,this.pageSize=void 0,this.sortBy=void 0,this.filterBy=void 0,this.searchCriteria=void 0,this.exemptedIds=void 0,this.includeIds=void 0,this.userId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.page=e.page,this.pageSize=e.pageSize,this.sortBy=e.sortBy,Array.isArray(e.filterBy)){this.filterBy=[];var t,n=Object(s.a)(e.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.filterBy.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(e.searchCriteria)){this.searchCriteria=[];var a,r=Object(s.a)(e.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.searchCriteria.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(e.exemptedIds)){this.exemptedIds=[];var l,c=Object(s.a)(e.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.exemptedIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(e.includeIds)){this.includeIds=[];var u,m=Object(s.a)(e.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;this.includeIds.push(v)}}catch(f){m.e(f)}finally{m.f()}}this.userId=e.userId}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).page=this.page,e.pageSize=this.pageSize,e.sortBy=this.sortBy,Array.isArray(this.filterBy)){e.filterBy=[];var t,n=Object(s.a)(this.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.filterBy.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(this.searchCriteria)){e.searchCriteria=[];var a,r=Object(s.a)(this.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.searchCriteria.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(this.exemptedIds)){e.exemptedIds=[];var l,c=Object(s.a)(this.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.exemptedIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(this.includeIds)){e.includeIds=[];var u,m=Object(s.a)(this.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;e.includeIds.push(v)}}catch(f){m.e(f)}finally{m.f()}}return e.userId=this.userId,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),hd=function(){function e(t){if(Object(l.a)(this,e),this.userId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.userId=e.userId)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).userId=this.userId,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),yd=function(){function e(t){if(Object(l.a)(this,e),this.page=void 0,this.pageSize=void 0,this.sortBy=void 0,this.filterBy=void 0,this.searchCriteria=void 0,this.exemptedIds=void 0,this.includeIds=void 0,this.createdBy=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.page=e.page,this.pageSize=e.pageSize,this.sortBy=e.sortBy,Array.isArray(e.filterBy)){this.filterBy=[];var t,n=Object(s.a)(e.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.filterBy.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(e.searchCriteria)){this.searchCriteria=[];var a,r=Object(s.a)(e.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.searchCriteria.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(e.exemptedIds)){this.exemptedIds=[];var l,c=Object(s.a)(e.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.exemptedIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(e.includeIds)){this.includeIds=[];var u,m=Object(s.a)(e.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;this.includeIds.push(v)}}catch(f){m.e(f)}finally{m.f()}}this.createdBy=e.createdBy}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).page=this.page,e.pageSize=this.pageSize,e.sortBy=this.sortBy,Array.isArray(this.filterBy)){e.filterBy=[];var t,n=Object(s.a)(this.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.filterBy.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(this.searchCriteria)){e.searchCriteria=[];var a,r=Object(s.a)(this.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.searchCriteria.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(this.exemptedIds)){e.exemptedIds=[];var l,c=Object(s.a)(this.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.exemptedIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(this.includeIds)){e.includeIds=[];var u,m=Object(s.a)(this.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;e.includeIds.push(v)}}catch(f){m.e(f)}finally{m.f()}}return e.createdBy=this.createdBy,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),bd=function(){function e(t){if(Object(l.a)(this,e),this.page=void 0,this.pageSize=void 0,this.sortBy=void 0,this.filterBy=void 0,this.searchCriteria=void 0,this.exemptedIds=void 0,this.includeIds=void 0,this.learningPlanId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.page=e.page,this.pageSize=e.pageSize,this.sortBy=e.sortBy,Array.isArray(e.filterBy)){this.filterBy=[];var t,n=Object(s.a)(e.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.filterBy.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(e.searchCriteria)){this.searchCriteria=[];var a,r=Object(s.a)(e.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.searchCriteria.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(e.exemptedIds)){this.exemptedIds=[];var l,c=Object(s.a)(e.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.exemptedIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(e.includeIds)){this.includeIds=[];var u,m=Object(s.a)(e.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;this.includeIds.push(v)}}catch(f){m.e(f)}finally{m.f()}}this.learningPlanId=e.learningPlanId}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).page=this.page,e.pageSize=this.pageSize,e.sortBy=this.sortBy,Array.isArray(this.filterBy)){e.filterBy=[];var t,n=Object(s.a)(this.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.filterBy.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(this.searchCriteria)){e.searchCriteria=[];var a,r=Object(s.a)(this.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.searchCriteria.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(this.exemptedIds)){e.exemptedIds=[];var l,c=Object(s.a)(this.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.exemptedIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(this.includeIds)){e.includeIds=[];var u,m=Object(s.a)(this.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;e.includeIds.push(v)}}catch(f){m.e(f)}finally{m.f()}}return e.learningPlanId=this.learningPlanId,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),gd=function(){function e(t){if(Object(l.a)(this,e),this.page=void 0,this.pageSize=void 0,this.sortBy=void 0,this.filterBy=void 0,this.searchCriteria=void 0,this.exemptedIds=void 0,this.includeIds=void 0,this.securityGroupId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.page=e.page,this.pageSize=e.pageSize,this.sortBy=e.sortBy,Array.isArray(e.filterBy)){this.filterBy=[];var t,n=Object(s.a)(e.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.filterBy.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(e.searchCriteria)){this.searchCriteria=[];var a,r=Object(s.a)(e.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.searchCriteria.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(e.exemptedIds)){this.exemptedIds=[];var l,c=Object(s.a)(e.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.exemptedIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(e.includeIds)){this.includeIds=[];var u,m=Object(s.a)(e.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;this.includeIds.push(v)}}catch(f){m.e(f)}finally{m.f()}}this.securityGroupId=e.securityGroupId}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).page=this.page,e.pageSize=this.pageSize,e.sortBy=this.sortBy,Array.isArray(this.filterBy)){e.filterBy=[];var t,n=Object(s.a)(this.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.filterBy.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(this.searchCriteria)){e.searchCriteria=[];var a,r=Object(s.a)(this.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.searchCriteria.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(this.exemptedIds)){e.exemptedIds=[];var l,c=Object(s.a)(this.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.exemptedIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(this.includeIds)){e.includeIds=[];var u,m=Object(s.a)(this.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;e.includeIds.push(v)}}catch(f){m.e(f)}finally{m.f()}}return e.securityGroupId=this.securityGroupId,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Ed=function(){function e(t){if(Object(l.a)(this,e),this.page=void 0,this.pageSize=void 0,this.exemptedIds=void 0,this.includeIds=void 0,this.sortBy=void 0,this.searchCriteria=void 0,this.filterBy=void 0,this.displayClient=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.page=e.page,this.pageSize=e.pageSize,Array.isArray(e.exemptedIds)){this.exemptedIds=[];var t,n=Object(s.a)(e.exemptedIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.exemptedIds.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(e.includeIds)){this.includeIds=[];var a,r=Object(s.a)(e.includeIds);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.includeIds.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(this.sortBy=e.sortBy,Array.isArray(e.searchCriteria)){this.searchCriteria=[];var l,c=Object(s.a)(e.searchCriteria);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.searchCriteria.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(e.filterBy)){this.filterBy=[];var u,m=Object(s.a)(e.filterBy);try{for(m.s();!(u=m.n()).done;){var v=u.value;this.filterBy.push(v)}}catch(f){m.e(f)}finally{m.f()}}this.displayClient=e.displayClient}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).page=this.page,e.pageSize=this.pageSize,Array.isArray(this.exemptedIds)){e.exemptedIds=[];var t,n=Object(s.a)(this.exemptedIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.exemptedIds.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(this.includeIds)){e.includeIds=[];var a,r=Object(s.a)(this.includeIds);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.includeIds.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(e.sortBy=this.sortBy,Array.isArray(this.searchCriteria)){e.searchCriteria=[];var l,c=Object(s.a)(this.searchCriteria);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.searchCriteria.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(this.filterBy)){e.filterBy=[];var u,m=Object(s.a)(this.filterBy);try{for(m.s();!(u=m.n()).done;){var v=u.value;e.filterBy.push(v)}}catch(f){m.e(f)}finally{m.f()}}return e.displayClient=this.displayClient,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Id=function(){function e(t){if(Object(l.a)(this,e),this.page=void 0,this.pageSize=void 0,this.exemptedIds=void 0,this.includeIds=void 0,this.filterBy=void 0,this.searchCriteria=void 0,this.sortBy=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.page=e.page,this.pageSize=e.pageSize,Array.isArray(e.exemptedIds)){this.exemptedIds=[];var t,n=Object(s.a)(e.exemptedIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.exemptedIds.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(e.includeIds)){this.includeIds=[];var a,r=Object(s.a)(e.includeIds);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.includeIds.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(e.filterBy)){this.filterBy=[];var l,c=Object(s.a)(e.filterBy);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.filterBy.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(e.searchCriteria)){this.searchCriteria=[];var u,m=Object(s.a)(e.searchCriteria);try{for(m.s();!(u=m.n()).done;){var v=u.value;this.searchCriteria.push(v)}}catch(f){m.e(f)}finally{m.f()}}this.sortBy=e.sortBy}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).page=this.page,e.pageSize=this.pageSize,Array.isArray(this.exemptedIds)){e.exemptedIds=[];var t,n=Object(s.a)(this.exemptedIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.exemptedIds.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(this.includeIds)){e.includeIds=[];var a,r=Object(s.a)(this.includeIds);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.includeIds.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(this.filterBy)){e.filterBy=[];var l,c=Object(s.a)(this.filterBy);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.filterBy.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(this.searchCriteria)){e.searchCriteria=[];var u,m=Object(s.a)(this.searchCriteria);try{for(m.s();!(u=m.n()).done;){var v=u.value;e.searchCriteria.push(v)}}catch(f){m.e(f)}finally{m.f()}}return e.sortBy=this.sortBy,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Sd=function(){function e(t){if(Object(l.a)(this,e),t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){}},{key:"toJSON",value:function(e){return e="object"===typeof e?e:{}}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Od=function(){function e(t){if(Object(l.a)(this,e),this.userId=void 0,this.pageOffset=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.userId=e.userId,this.pageOffset=e.pageOffset)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).userId=this.userId,e.pageOffset=this.pageOffset,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Cd=function(){function e(t){if(Object(l.a)(this,e),this.page=void 0,this.pageSize=void 0,this.sortBy=void 0,this.filterBy=void 0,this.searchCriteria=void 0,this.exemptedIds=void 0,this.includeIds=void 0,this.dueToReportScheduleId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.page=e.page,this.pageSize=e.pageSize,this.sortBy=e.sortBy,Array.isArray(e.filterBy)){this.filterBy=[];var t,n=Object(s.a)(e.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.filterBy.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(e.searchCriteria)){this.searchCriteria=[];var a,r=Object(s.a)(e.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.searchCriteria.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(e.exemptedIds)){this.exemptedIds=[];var l,c=Object(s.a)(e.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.exemptedIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(e.includeIds)){this.includeIds=[];var u,m=Object(s.a)(e.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;this.includeIds.push(v)}}catch(f){m.e(f)}finally{m.f()}}this.dueToReportScheduleId=e.dueToReportScheduleId}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).page=this.page,e.pageSize=this.pageSize,e.sortBy=this.sortBy,Array.isArray(this.filterBy)){e.filterBy=[];var t,n=Object(s.a)(this.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.filterBy.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(this.searchCriteria)){e.searchCriteria=[];var a,r=Object(s.a)(this.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.searchCriteria.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(this.exemptedIds)){e.exemptedIds=[];var l,c=Object(s.a)(this.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.exemptedIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(this.includeIds)){e.includeIds=[];var u,m=Object(s.a)(this.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;e.includeIds.push(v)}}catch(f){m.e(f)}finally{m.f()}}return e.dueToReportScheduleId=this.dueToReportScheduleId,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),jd=function(){function e(t){if(Object(l.a)(this,e),this.page=void 0,this.pageSize=void 0,this.sortBy=void 0,this.filterBy=void 0,this.searchCriteria=void 0,this.exemptedIds=void 0,this.includeIds=void 0,this.learningPlanActivityId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.page=e.page,this.pageSize=e.pageSize,this.sortBy=e.sortBy,Array.isArray(e.filterBy)){this.filterBy=[];var t,n=Object(s.a)(e.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.filterBy.push(i)}}catch(y){n.e(y)}finally{n.f()}}if(Array.isArray(e.searchCriteria)){this.searchCriteria=[];var a,r=Object(s.a)(e.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.searchCriteria.push(o)}}catch(y){r.e(y)}finally{r.f()}}if(Array.isArray(e.exemptedIds)){this.exemptedIds=[];var l,c=Object(s.a)(e.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.exemptedIds.push(d)}}catch(y){c.e(y)}finally{c.f()}}if(Array.isArray(e.includeIds)){this.includeIds=[];var u,m=Object(s.a)(e.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;this.includeIds.push(v)}}catch(y){m.e(y)}finally{m.f()}}if(Array.isArray(e.learningPlanActivityId)){this.learningPlanActivityId=[];var f,p=Object(s.a)(e.learningPlanActivityId);try{for(p.s();!(f=p.n()).done;){var h=f.value;this.learningPlanActivityId.push(h)}}catch(y){p.e(y)}finally{p.f()}}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).page=this.page,e.pageSize=this.pageSize,e.sortBy=this.sortBy,Array.isArray(this.filterBy)){e.filterBy=[];var t,n=Object(s.a)(this.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.filterBy.push(i)}}catch(y){n.e(y)}finally{n.f()}}if(Array.isArray(this.searchCriteria)){e.searchCriteria=[];var a,r=Object(s.a)(this.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.searchCriteria.push(o)}}catch(y){r.e(y)}finally{r.f()}}if(Array.isArray(this.exemptedIds)){e.exemptedIds=[];var l,c=Object(s.a)(this.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.exemptedIds.push(d)}}catch(y){c.e(y)}finally{c.f()}}if(Array.isArray(this.includeIds)){e.includeIds=[];var u,m=Object(s.a)(this.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;e.includeIds.push(v)}}catch(y){m.e(y)}finally{m.f()}}if(Array.isArray(this.learningPlanActivityId)){e.learningPlanActivityId=[];var f,p=Object(s.a)(this.learningPlanActivityId);try{for(p.s();!(f=p.n()).done;){var h=f.value;e.learningPlanActivityId.push(h)}}catch(y){p.e(y)}finally{p.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),xd=function(){function e(t){if(Object(l.a)(this,e),this.page=void 0,this.pageSize=void 0,this.sortBy=void 0,this.filterBy=void 0,this.searchCriteria=void 0,this.exemptedIds=void 0,this.includeIds=void 0,this.learningPlanId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.page=e.page,this.pageSize=e.pageSize,this.sortBy=e.sortBy,Array.isArray(e.filterBy)){this.filterBy=[];var t,n=Object(s.a)(e.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.filterBy.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(e.searchCriteria)){this.searchCriteria=[];var a,r=Object(s.a)(e.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.searchCriteria.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(e.exemptedIds)){this.exemptedIds=[];var l,c=Object(s.a)(e.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.exemptedIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(e.includeIds)){this.includeIds=[];var u,m=Object(s.a)(e.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;this.includeIds.push(v)}}catch(f){m.e(f)}finally{m.f()}}this.learningPlanId=e.learningPlanId}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).page=this.page,e.pageSize=this.pageSize,e.sortBy=this.sortBy,Array.isArray(this.filterBy)){e.filterBy=[];var t,n=Object(s.a)(this.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.filterBy.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(this.searchCriteria)){e.searchCriteria=[];var a,r=Object(s.a)(this.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.searchCriteria.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(this.exemptedIds)){e.exemptedIds=[];var l,c=Object(s.a)(this.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.exemptedIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(this.includeIds)){e.includeIds=[];var u,m=Object(s.a)(this.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;e.includeIds.push(v)}}catch(f){m.e(f)}finally{m.f()}}return e.learningPlanId=this.learningPlanId,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Ad=function(){function e(t){if(Object(l.a)(this,e),this.page=void 0,this.pageSize=void 0,this.sortBy=void 0,this.filterBy=void 0,this.searchCriteria=void 0,this.exemptedIds=void 0,this.includeIds=void 0,this.learningPlanCourseId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.page=e.page,this.pageSize=e.pageSize,this.sortBy=e.sortBy,Array.isArray(e.filterBy)){this.filterBy=[];var t,n=Object(s.a)(e.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.filterBy.push(i)}}catch(y){n.e(y)}finally{n.f()}}if(Array.isArray(e.searchCriteria)){this.searchCriteria=[];var a,r=Object(s.a)(e.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.searchCriteria.push(o)}}catch(y){r.e(y)}finally{r.f()}}if(Array.isArray(e.exemptedIds)){this.exemptedIds=[];var l,c=Object(s.a)(e.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.exemptedIds.push(d)}}catch(y){c.e(y)}finally{c.f()}}if(Array.isArray(e.includeIds)){this.includeIds=[];var u,m=Object(s.a)(e.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;this.includeIds.push(v)}}catch(y){m.e(y)}finally{m.f()}}if(Array.isArray(e.learningPlanCourseId)){this.learningPlanCourseId=[];var f,p=Object(s.a)(e.learningPlanCourseId);try{for(p.s();!(f=p.n()).done;){var h=f.value;this.learningPlanCourseId.push(h)}}catch(y){p.e(y)}finally{p.f()}}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).page=this.page,e.pageSize=this.pageSize,e.sortBy=this.sortBy,Array.isArray(this.filterBy)){e.filterBy=[];var t,n=Object(s.a)(this.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.filterBy.push(i)}}catch(y){n.e(y)}finally{n.f()}}if(Array.isArray(this.searchCriteria)){e.searchCriteria=[];var a,r=Object(s.a)(this.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.searchCriteria.push(o)}}catch(y){r.e(y)}finally{r.f()}}if(Array.isArray(this.exemptedIds)){e.exemptedIds=[];var l,c=Object(s.a)(this.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.exemptedIds.push(d)}}catch(y){c.e(y)}finally{c.f()}}if(Array.isArray(this.includeIds)){e.includeIds=[];var u,m=Object(s.a)(this.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;e.includeIds.push(v)}}catch(y){m.e(y)}finally{m.f()}}if(Array.isArray(this.learningPlanCourseId)){e.learningPlanCourseId=[];var f,p=Object(s.a)(this.learningPlanCourseId);try{for(p.s();!(f=p.n()).done;){var h=f.value;e.learningPlanCourseId.push(h)}}catch(y){p.e(y)}finally{p.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Td=function(){function e(t){if(Object(l.a)(this,e),this.page=void 0,this.pageSize=void 0,this.sortBy=void 0,this.filterBy=void 0,this.searchCriteria=void 0,this.exemptedIds=void 0,this.includeIds=void 0,this.learningPlanId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.page=e.page,this.pageSize=e.pageSize,this.sortBy=e.sortBy,Array.isArray(e.filterBy)){this.filterBy=[];var t,n=Object(s.a)(e.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.filterBy.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(e.searchCriteria)){this.searchCriteria=[];var a,r=Object(s.a)(e.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.searchCriteria.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(e.exemptedIds)){this.exemptedIds=[];var l,c=Object(s.a)(e.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.exemptedIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(e.includeIds)){this.includeIds=[];var u,m=Object(s.a)(e.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;this.includeIds.push(v)}}catch(f){m.e(f)}finally{m.f()}}this.learningPlanId=e.learningPlanId}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).page=this.page,e.pageSize=this.pageSize,e.sortBy=this.sortBy,Array.isArray(this.filterBy)){e.filterBy=[];var t,n=Object(s.a)(this.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.filterBy.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(this.searchCriteria)){e.searchCriteria=[];var a,r=Object(s.a)(this.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.searchCriteria.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(this.exemptedIds)){e.exemptedIds=[];var l,c=Object(s.a)(this.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.exemptedIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(this.includeIds)){e.includeIds=[];var u,m=Object(s.a)(this.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;e.includeIds.push(v)}}catch(f){m.e(f)}finally{m.f()}}return e.learningPlanId=this.learningPlanId,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),wd=function(){function e(t){if(Object(l.a)(this,e),this.page=void 0,this.pageSize=void 0,this.sortBy=void 0,this.filterBy=void 0,this.searchCriteria=void 0,this.exemptedIds=void 0,this.includeIds=void 0,this.reminderScheduleId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.page=e.page,this.pageSize=e.pageSize,this.sortBy=e.sortBy,Array.isArray(e.filterBy)){this.filterBy=[];var t,n=Object(s.a)(e.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.filterBy.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(e.searchCriteria)){this.searchCriteria=[];var a,r=Object(s.a)(e.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.searchCriteria.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(e.exemptedIds)){this.exemptedIds=[];var l,c=Object(s.a)(e.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.exemptedIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(e.includeIds)){this.includeIds=[];var u,m=Object(s.a)(e.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;this.includeIds.push(v)}}catch(f){m.e(f)}finally{m.f()}}this.reminderScheduleId=e.reminderScheduleId}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).page=this.page,e.pageSize=this.pageSize,e.sortBy=this.sortBy,Array.isArray(this.filterBy)){e.filterBy=[];var t,n=Object(s.a)(this.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.filterBy.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(this.searchCriteria)){e.searchCriteria=[];var a,r=Object(s.a)(this.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.searchCriteria.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(this.exemptedIds)){e.exemptedIds=[];var l,c=Object(s.a)(this.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.exemptedIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(this.includeIds)){e.includeIds=[];var u,m=Object(s.a)(this.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;e.includeIds.push(v)}}catch(f){m.e(f)}finally{m.f()}}return e.reminderScheduleId=this.reminderScheduleId,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),kd=function(){function e(t){if(Object(l.a)(this,e),this.page=void 0,this.pageSize=void 0,this.sortBy=void 0,this.filterBy=void 0,this.searchCriteria=void 0,this.exemptedIds=void 0,this.includeIds=void 0,this.statementScheduleId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.page=e.page,this.pageSize=e.pageSize,this.sortBy=e.sortBy,Array.isArray(e.filterBy)){this.filterBy=[];var t,n=Object(s.a)(e.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.filterBy.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(e.searchCriteria)){this.searchCriteria=[];var a,r=Object(s.a)(e.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.searchCriteria.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(e.exemptedIds)){this.exemptedIds=[];var l,c=Object(s.a)(e.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.exemptedIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(e.includeIds)){this.includeIds=[];var u,m=Object(s.a)(e.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;this.includeIds.push(v)}}catch(f){m.e(f)}finally{m.f()}}this.statementScheduleId=e.statementScheduleId}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).page=this.page,e.pageSize=this.pageSize,e.sortBy=this.sortBy,Array.isArray(this.filterBy)){e.filterBy=[];var t,n=Object(s.a)(this.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.filterBy.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(this.searchCriteria)){e.searchCriteria=[];var a,r=Object(s.a)(this.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.searchCriteria.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(this.exemptedIds)){e.exemptedIds=[];var l,c=Object(s.a)(this.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.exemptedIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(this.includeIds)){e.includeIds=[];var u,m=Object(s.a)(this.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;e.includeIds.push(v)}}catch(f){m.e(f)}finally{m.f()}}return e.statementScheduleId=this.statementScheduleId,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Pd=function(){function e(t){if(Object(l.a)(this,e),this.calendarSavedFilterId=void 0,this.userId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.calendarSavedFilterId=e.calendarSavedFilterId,this.userId=e.userId)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).calendarSavedFilterId=this.calendarSavedFilterId,e.userId=this.userId,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Nd=function(){function e(t){if(Object(l.a)(this,e),this.page=void 0,this.pageSize=void 0,this.sortBy=void 0,this.filterBy=void 0,this.searchCriteria=void 0,this.exemptedIds=void 0,this.includeIds=void 0,this.startDate=void 0,this.endDate=void 0,this.includeCoursesWithCALicensedParticipant=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.page=e.page,this.pageSize=e.pageSize,this.sortBy=e.sortBy,Array.isArray(e.filterBy)){this.filterBy=[];var t,n=Object(s.a)(e.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.filterBy.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(e.searchCriteria)){this.searchCriteria=[];var a,r=Object(s.a)(e.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.searchCriteria.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(e.exemptedIds)){this.exemptedIds=[];var l,c=Object(s.a)(e.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.exemptedIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(e.includeIds)){this.includeIds=[];var u,m=Object(s.a)(e.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;this.includeIds.push(v)}}catch(f){m.e(f)}finally{m.f()}}this.startDate=e.startDate?new Date(e.startDate.toString()):void 0,this.endDate=e.endDate?new Date(e.endDate.toString()):void 0,this.includeCoursesWithCALicensedParticipant=e.includeCoursesWithCALicensedParticipant}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).page=this.page,e.pageSize=this.pageSize,e.sortBy=this.sortBy,Array.isArray(this.filterBy)){e.filterBy=[];var t,n=Object(s.a)(this.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.filterBy.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(this.searchCriteria)){e.searchCriteria=[];var a,r=Object(s.a)(this.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.searchCriteria.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(this.exemptedIds)){e.exemptedIds=[];var l,c=Object(s.a)(this.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.exemptedIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(this.includeIds)){e.includeIds=[];var u,m=Object(s.a)(this.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;e.includeIds.push(v)}}catch(f){m.e(f)}finally{m.f()}}return e.startDate=this.startDate?this.startDate.toISOString():void 0,e.endDate=this.endDate?this.endDate.toISOString():void 0,e.includeCoursesWithCALicensedParticipant=this.includeCoursesWithCALicensedParticipant,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Dd=function(){function e(t){if(Object(l.a)(this,e),this.licenseId=void 0,this.sessionId=void 0,this.userId=void 0,this.isInstructor=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.licenseId=e.licenseId,this.sessionId=e.sessionId,this.userId=e.userId,this.isInstructor=e.isInstructor)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).licenseId=this.licenseId,e.sessionId=this.sessionId,e.userId=this.userId,e.isInstructor=this.isInstructor,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Ld=function(){function e(t){if(Object(l.a)(this,e),this.licenseIds=void 0,this.sessionDetails=void 0,this.sessionUsers=void 0,this.userId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.licenseIds)){this.licenseIds=[];var t,n=Object(s.a)(e.licenseIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.licenseIds.push(i)}}catch(u){n.e(u)}finally{n.f()}}if(Array.isArray(e.sessionDetails)){this.sessionDetails=[];var a,r=Object(s.a)(e.sessionDetails);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.sessionDetails.push(mg.fromJS(o))}}catch(u){r.e(u)}finally{r.f()}}if(Array.isArray(e.sessionUsers)){this.sessionUsers=[];var l,c=Object(s.a)(e.sessionUsers);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.sessionUsers.push(vg.fromJS(d))}}catch(u){c.e(u)}finally{c.f()}}this.userId=e.userId}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.licenseIds)){e.licenseIds=[];var t,n=Object(s.a)(this.licenseIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.licenseIds.push(i)}}catch(u){n.e(u)}finally{n.f()}}if(Array.isArray(this.sessionDetails)){e.sessionDetails=[];var a,r=Object(s.a)(this.sessionDetails);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.sessionDetails.push(o.toJSON())}}catch(u){r.e(u)}finally{r.f()}}if(Array.isArray(this.sessionUsers)){e.sessionUsers=[];var l,c=Object(s.a)(this.sessionUsers);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.sessionUsers.push(d.toJSON())}}catch(u){c.e(u)}finally{c.f()}}return e.userId=this.userId,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Fd=function(){function e(t){if(Object(l.a)(this,e),this.page=void 0,this.pageSize=void 0,this.sortBy=void 0,this.filterBy=void 0,this.searchCriteria=void 0,this.exemptedIds=void 0,this.includeIds=void 0,this.classYearId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.page=e.page,this.pageSize=e.pageSize,this.sortBy=e.sortBy,Array.isArray(e.filterBy)){this.filterBy=[];var t,n=Object(s.a)(e.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.filterBy.push(i)}}catch(y){n.e(y)}finally{n.f()}}if(Array.isArray(e.searchCriteria)){this.searchCriteria=[];var a,r=Object(s.a)(e.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.searchCriteria.push(o)}}catch(y){r.e(y)}finally{r.f()}}if(Array.isArray(e.exemptedIds)){this.exemptedIds=[];var l,c=Object(s.a)(e.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.exemptedIds.push(d)}}catch(y){c.e(y)}finally{c.f()}}if(Array.isArray(e.includeIds)){this.includeIds=[];var u,m=Object(s.a)(e.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;this.includeIds.push(v)}}catch(y){m.e(y)}finally{m.f()}}if(Array.isArray(e.classYearId)){this.classYearId=[];var f,p=Object(s.a)(e.classYearId);try{for(p.s();!(f=p.n()).done;){var h=f.value;this.classYearId.push(h)}}catch(y){p.e(y)}finally{p.f()}}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).page=this.page,e.pageSize=this.pageSize,e.sortBy=this.sortBy,Array.isArray(this.filterBy)){e.filterBy=[];var t,n=Object(s.a)(this.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.filterBy.push(i)}}catch(y){n.e(y)}finally{n.f()}}if(Array.isArray(this.searchCriteria)){e.searchCriteria=[];var a,r=Object(s.a)(this.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.searchCriteria.push(o)}}catch(y){r.e(y)}finally{r.f()}}if(Array.isArray(this.exemptedIds)){e.exemptedIds=[];var l,c=Object(s.a)(this.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.exemptedIds.push(d)}}catch(y){c.e(y)}finally{c.f()}}if(Array.isArray(this.includeIds)){e.includeIds=[];var u,m=Object(s.a)(this.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;e.includeIds.push(v)}}catch(y){m.e(y)}finally{m.f()}}if(Array.isArray(this.classYearId)){e.classYearId=[];var f,p=Object(s.a)(this.classYearId);try{for(p.s();!(f=p.n()).done;){var h=f.value;e.classYearId.push(h)}}catch(y){p.e(y)}finally{p.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Bd=function(){function e(t){if(Object(l.a)(this,e),this.page=void 0,this.pageSize=void 0,this.sortBy=void 0,this.filterBy=void 0,this.searchCriteria=void 0,this.exemptedIds=void 0,this.includeIds=void 0,this.competencyId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.page=e.page,this.pageSize=e.pageSize,this.sortBy=e.sortBy,Array.isArray(e.filterBy)){this.filterBy=[];var t,n=Object(s.a)(e.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.filterBy.push(i)}}catch(y){n.e(y)}finally{n.f()}}if(Array.isArray(e.searchCriteria)){this.searchCriteria=[];var a,r=Object(s.a)(e.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.searchCriteria.push(o)}}catch(y){r.e(y)}finally{r.f()}}if(Array.isArray(e.exemptedIds)){this.exemptedIds=[];var l,c=Object(s.a)(e.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.exemptedIds.push(d)}}catch(y){c.e(y)}finally{c.f()}}if(Array.isArray(e.includeIds)){this.includeIds=[];var u,m=Object(s.a)(e.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;this.includeIds.push(v)}}catch(y){m.e(y)}finally{m.f()}}if(Array.isArray(e.competencyId)){this.competencyId=[];var f,p=Object(s.a)(e.competencyId);try{for(p.s();!(f=p.n()).done;){var h=f.value;this.competencyId.push(h)}}catch(y){p.e(y)}finally{p.f()}}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).page=this.page,e.pageSize=this.pageSize,e.sortBy=this.sortBy,Array.isArray(this.filterBy)){e.filterBy=[];var t,n=Object(s.a)(this.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.filterBy.push(i)}}catch(y){n.e(y)}finally{n.f()}}if(Array.isArray(this.searchCriteria)){e.searchCriteria=[];var a,r=Object(s.a)(this.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.searchCriteria.push(o)}}catch(y){r.e(y)}finally{r.f()}}if(Array.isArray(this.exemptedIds)){e.exemptedIds=[];var l,c=Object(s.a)(this.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.exemptedIds.push(d)}}catch(y){c.e(y)}finally{c.f()}}if(Array.isArray(this.includeIds)){e.includeIds=[];var u,m=Object(s.a)(this.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;e.includeIds.push(v)}}catch(y){m.e(y)}finally{m.f()}}if(Array.isArray(this.competencyId)){e.competencyId=[];var f,p=Object(s.a)(this.competencyId);try{for(p.s();!(f=p.n()).done;){var h=f.value;e.competencyId.push(h)}}catch(y){p.e(y)}finally{p.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Rd=function(){function e(t){if(Object(l.a)(this,e),this.userIds=void 0,this.licenseIds=void 0,this.startDate=void 0,this.endDate=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.userIds)){this.userIds=[];var t,n=Object(s.a)(e.userIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.userIds.push(i)}}catch(l){n.e(l)}finally{n.f()}}if(Array.isArray(e.licenseIds)){this.licenseIds=[];var a,r=Object(s.a)(e.licenseIds);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.licenseIds.push(o)}}catch(l){r.e(l)}finally{r.f()}}this.startDate=e.startDate?new Date(e.startDate.toString()):void 0,this.endDate=e.endDate?new Date(e.endDate.toString()):void 0}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.userIds)){e.userIds=[];var t,n=Object(s.a)(this.userIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.userIds.push(i)}}catch(l){n.e(l)}finally{n.f()}}if(Array.isArray(this.licenseIds)){e.licenseIds=[];var a,r=Object(s.a)(this.licenseIds);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.licenseIds.push(o)}}catch(l){r.e(l)}finally{r.f()}}return e.startDate=this.startDate?this.startDate.toISOString():void 0,e.endDate=this.endDate?this.endDate.toISOString():void 0,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Jd=function(){function e(t){if(Object(l.a)(this,e),this.page=void 0,this.pageSize=void 0,this.sortBy=void 0,this.filterBy=void 0,this.searchCriteria=void 0,this.exemptedIds=void 0,this.includeIds=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.page=e.page,this.pageSize=e.pageSize,this.sortBy=e.sortBy,Array.isArray(e.filterBy)){this.filterBy=[];var t,n=Object(s.a)(e.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.filterBy.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(e.searchCriteria)){this.searchCriteria=[];var a,r=Object(s.a)(e.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.searchCriteria.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(e.exemptedIds)){this.exemptedIds=[];var l,c=Object(s.a)(e.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.exemptedIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(e.includeIds)){this.includeIds=[];var u,m=Object(s.a)(e.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;this.includeIds.push(v)}}catch(f){m.e(f)}finally{m.f()}}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).page=this.page,e.pageSize=this.pageSize,e.sortBy=this.sortBy,Array.isArray(this.filterBy)){e.filterBy=[];var t,n=Object(s.a)(this.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.filterBy.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(this.searchCriteria)){e.searchCriteria=[];var a,r=Object(s.a)(this.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.searchCriteria.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(this.exemptedIds)){e.exemptedIds=[];var l,c=Object(s.a)(this.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.exemptedIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(this.includeIds)){e.includeIds=[];var u,m=Object(s.a)(this.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;e.includeIds.push(v)}}catch(f){m.e(f)}finally{m.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Gd=function(){function e(t){if(Object(l.a)(this,e),this.userId=void 0,this.licenseId=void 0,this.complianceIdList=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&(this.userId=e.userId,this.licenseId=e.licenseId,Array.isArray(e.complianceIdList))){this.complianceIdList=[];var t,n=Object(s.a)(e.complianceIdList);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.complianceIdList.push(i)}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).userId=this.userId,e.licenseId=this.licenseId,Array.isArray(this.complianceIdList)){e.complianceIdList=[];var t,n=Object(s.a)(this.complianceIdList);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.complianceIdList.push(i)}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Ud=function(){function e(t){if(Object(l.a)(this,e),this.userList=void 0,this.licenseId=void 0,this.periodsIncluded=void 0,this.userStatus=void 0,this.sortBy=void 0,this.includeCourseHistory=void 0,this.pageOffset=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.userList)){this.userList=[];var t,n=Object(s.a)(e.userList);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.userList.push(i)}}catch(a){n.e(a)}finally{n.f()}}this.licenseId=e.licenseId,this.periodsIncluded=e.periodsIncluded,this.userStatus=e.userStatus,this.sortBy=e.sortBy,this.includeCourseHistory=e.includeCourseHistory,this.pageOffset=e.pageOffset}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.userList)){e.userList=[];var t,n=Object(s.a)(this.userList);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.userList.push(i)}}catch(a){n.e(a)}finally{n.f()}}return e.licenseId=this.licenseId,e.periodsIncluded=this.periodsIncluded,e.userStatus=this.userStatus,e.sortBy=this.sortBy,e.includeCourseHistory=this.includeCourseHistory,e.pageOffset=this.pageOffset,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),zd=function(){function e(t){if(Object(l.a)(this,e),this.userId=void 0,this.licenseId=void 0,this.subLicenseId=void 0,this.isSublicenseRolling=void 0,this.periodsIncluded=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.userId=e.userId,this.licenseId=e.licenseId,this.subLicenseId=e.subLicenseId,this.isSublicenseRolling=e.isSublicenseRolling,this.periodsIncluded=e.periodsIncluded)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).userId=this.userId,e.licenseId=this.licenseId,e.subLicenseId=this.subLicenseId,e.isSublicenseRolling=this.isSublicenseRolling,e.periodsIncluded=this.periodsIncluded,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),qd=function(){function e(t){if(Object(l.a)(this,e),this.page=void 0,this.pageSize=void 0,this.exemptedIds=void 0,this.includeIds=void 0,this.isCurrentPeriod=void 0,this.filterBy=void 0,this.sortBy=void 0,this.searchCriteria=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.page=e.page,this.pageSize=e.pageSize,Array.isArray(e.exemptedIds)){this.exemptedIds=[];var t,n=Object(s.a)(e.exemptedIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.exemptedIds.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(e.includeIds)){this.includeIds=[];var a,r=Object(s.a)(e.includeIds);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.includeIds.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(this.isCurrentPeriod=e.isCurrentPeriod,Array.isArray(e.filterBy)){this.filterBy=[];var l,c=Object(s.a)(e.filterBy);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.filterBy.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(this.sortBy=e.sortBy,Array.isArray(e.searchCriteria)){this.searchCriteria=[];var u,m=Object(s.a)(e.searchCriteria);try{for(m.s();!(u=m.n()).done;){var v=u.value;this.searchCriteria.push(v)}}catch(f){m.e(f)}finally{m.f()}}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).page=this.page,e.pageSize=this.pageSize,Array.isArray(this.exemptedIds)){e.exemptedIds=[];var t,n=Object(s.a)(this.exemptedIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.exemptedIds.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(this.includeIds)){e.includeIds=[];var a,r=Object(s.a)(this.includeIds);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.includeIds.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(e.isCurrentPeriod=this.isCurrentPeriod,Array.isArray(this.filterBy)){e.filterBy=[];var l,c=Object(s.a)(this.filterBy);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.filterBy.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(e.sortBy=this.sortBy,Array.isArray(this.searchCriteria)){e.searchCriteria=[];var u,m=Object(s.a)(this.searchCriteria);try{for(m.s();!(u=m.n()).done;){var v=u.value;e.searchCriteria.push(v)}}catch(f){m.e(f)}finally{m.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Md=function(){function e(t){if(Object(l.a)(this,e),this.page=void 0,this.pageSize=void 0,this.sortBy=void 0,this.filterBy=void 0,this.searchCriteria=void 0,this.exemptedIds=void 0,this.includeIds=void 0,this.sessionId=void 0,this.evaluationId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.page=e.page,this.pageSize=e.pageSize,this.sortBy=e.sortBy,Array.isArray(e.filterBy)){this.filterBy=[];var t,n=Object(s.a)(e.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.filterBy.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(e.searchCriteria)){this.searchCriteria=[];var a,r=Object(s.a)(e.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.searchCriteria.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(e.exemptedIds)){this.exemptedIds=[];var l,c=Object(s.a)(e.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.exemptedIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(e.includeIds)){this.includeIds=[];var u,m=Object(s.a)(e.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;this.includeIds.push(v)}}catch(f){m.e(f)}finally{m.f()}}this.sessionId=e.sessionId,this.evaluationId=e.evaluationId}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).page=this.page,e.pageSize=this.pageSize,e.sortBy=this.sortBy,Array.isArray(this.filterBy)){e.filterBy=[];var t,n=Object(s.a)(this.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.filterBy.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(this.searchCriteria)){e.searchCriteria=[];var a,r=Object(s.a)(this.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.searchCriteria.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(this.exemptedIds)){e.exemptedIds=[];var l,c=Object(s.a)(this.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.exemptedIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(this.includeIds)){e.includeIds=[];var u,m=Object(s.a)(this.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;e.includeIds.push(v)}}catch(f){m.e(f)}finally{m.f()}}return e.sessionId=this.sessionId,e.evaluationId=this.evaluationId,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Wd=function(){function e(t){if(Object(l.a)(this,e),this.courseId=void 0,this.pageOffset=void 0,this.sessionTypeId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&(this.courseId=e.courseId,this.pageOffset=e.pageOffset,Array.isArray(e.sessionTypeId))){this.sessionTypeId=[];var t,n=Object(s.a)(e.sessionTypeId);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.sessionTypeId.push(i)}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).courseId=this.courseId,e.pageOffset=this.pageOffset,Array.isArray(this.sessionTypeId)){e.sessionTypeId=[];var t,n=Object(s.a)(this.sessionTypeId);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.sessionTypeId.push(i)}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Vd=function(){function e(t){if(Object(l.a)(this,e),this.page=void 0,this.pageSize=void 0,this.sortBy=void 0,this.filterBy=void 0,this.searchCriteria=void 0,this.exemptedIds=void 0,this.includeIds=void 0,this.courseId=void 0,this.scheduleId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.page=e.page,this.pageSize=e.pageSize,this.sortBy=e.sortBy,Array.isArray(e.filterBy)){this.filterBy=[];var t,n=Object(s.a)(e.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.filterBy.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(e.searchCriteria)){this.searchCriteria=[];var a,r=Object(s.a)(e.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.searchCriteria.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(e.exemptedIds)){this.exemptedIds=[];var l,c=Object(s.a)(e.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.exemptedIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(e.includeIds)){this.includeIds=[];var u,m=Object(s.a)(e.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;this.includeIds.push(v)}}catch(f){m.e(f)}finally{m.f()}}this.courseId=e.courseId,this.scheduleId=e.scheduleId}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).page=this.page,e.pageSize=this.pageSize,e.sortBy=this.sortBy,Array.isArray(this.filterBy)){e.filterBy=[];var t,n=Object(s.a)(this.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.filterBy.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(this.searchCriteria)){e.searchCriteria=[];var a,r=Object(s.a)(this.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.searchCriteria.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(this.exemptedIds)){e.exemptedIds=[];var l,c=Object(s.a)(this.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.exemptedIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(this.includeIds)){e.includeIds=[];var u,m=Object(s.a)(this.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;e.includeIds.push(v)}}catch(f){m.e(f)}finally{m.f()}}return e.courseId=this.courseId,e.scheduleId=this.scheduleId,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),_d=function(){function e(t){if(Object(l.a)(this,e),this.page=void 0,this.pageSize=void 0,this.sortBy=void 0,this.filterBy=void 0,this.searchCriteria=void 0,this.exemptedIds=void 0,this.includeIds=void 0,this.declineCodeId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.page=e.page,this.pageSize=e.pageSize,this.sortBy=e.sortBy,Array.isArray(e.filterBy)){this.filterBy=[];var t,n=Object(s.a)(e.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.filterBy.push(i)}}catch(y){n.e(y)}finally{n.f()}}if(Array.isArray(e.searchCriteria)){this.searchCriteria=[];var a,r=Object(s.a)(e.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.searchCriteria.push(o)}}catch(y){r.e(y)}finally{r.f()}}if(Array.isArray(e.exemptedIds)){this.exemptedIds=[];var l,c=Object(s.a)(e.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.exemptedIds.push(d)}}catch(y){c.e(y)}finally{c.f()}}if(Array.isArray(e.includeIds)){this.includeIds=[];var u,m=Object(s.a)(e.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;this.includeIds.push(v)}}catch(y){m.e(y)}finally{m.f()}}if(Array.isArray(e.declineCodeId)){this.declineCodeId=[];var f,p=Object(s.a)(e.declineCodeId);try{for(p.s();!(f=p.n()).done;){var h=f.value;this.declineCodeId.push(h)}}catch(y){p.e(y)}finally{p.f()}}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).page=this.page,e.pageSize=this.pageSize,e.sortBy=this.sortBy,Array.isArray(this.filterBy)){e.filterBy=[];var t,n=Object(s.a)(this.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.filterBy.push(i)}}catch(y){n.e(y)}finally{n.f()}}if(Array.isArray(this.searchCriteria)){e.searchCriteria=[];var a,r=Object(s.a)(this.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.searchCriteria.push(o)}}catch(y){r.e(y)}finally{r.f()}}if(Array.isArray(this.exemptedIds)){e.exemptedIds=[];var l,c=Object(s.a)(this.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.exemptedIds.push(d)}}catch(y){c.e(y)}finally{c.f()}}if(Array.isArray(this.includeIds)){e.includeIds=[];var u,m=Object(s.a)(this.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;e.includeIds.push(v)}}catch(y){m.e(y)}finally{m.f()}}if(Array.isArray(this.declineCodeId)){e.declineCodeId=[];var f,p=Object(s.a)(this.declineCodeId);try{for(p.s();!(f=p.n()).done;){var h=f.value;e.declineCodeId.push(h)}}catch(y){p.e(y)}finally{p.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Yd=function(){function e(t){if(Object(l.a)(this,e),this.page=void 0,this.pageSize=void 0,this.sortBy=void 0,this.filterBy=void 0,this.searchCriteria=void 0,this.exemptedIds=void 0,this.includeIds=void 0,this.departmentId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.page=e.page,this.pageSize=e.pageSize,this.sortBy=e.sortBy,Array.isArray(e.filterBy)){this.filterBy=[];var t,n=Object(s.a)(e.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.filterBy.push(i)}}catch(y){n.e(y)}finally{n.f()}}if(Array.isArray(e.searchCriteria)){this.searchCriteria=[];var a,r=Object(s.a)(e.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.searchCriteria.push(o)}}catch(y){r.e(y)}finally{r.f()}}if(Array.isArray(e.exemptedIds)){this.exemptedIds=[];var l,c=Object(s.a)(e.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.exemptedIds.push(d)}}catch(y){c.e(y)}finally{c.f()}}if(Array.isArray(e.includeIds)){this.includeIds=[];var u,m=Object(s.a)(e.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;this.includeIds.push(v)}}catch(y){m.e(y)}finally{m.f()}}if(Array.isArray(e.departmentId)){this.departmentId=[];var f,p=Object(s.a)(e.departmentId);try{for(p.s();!(f=p.n()).done;){var h=f.value;this.departmentId.push(h)}}catch(y){p.e(y)}finally{p.f()}}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).page=this.page,e.pageSize=this.pageSize,e.sortBy=this.sortBy,Array.isArray(this.filterBy)){e.filterBy=[];var t,n=Object(s.a)(this.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.filterBy.push(i)}}catch(y){n.e(y)}finally{n.f()}}if(Array.isArray(this.searchCriteria)){e.searchCriteria=[];var a,r=Object(s.a)(this.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.searchCriteria.push(o)}}catch(y){r.e(y)}finally{r.f()}}if(Array.isArray(this.exemptedIds)){e.exemptedIds=[];var l,c=Object(s.a)(this.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.exemptedIds.push(d)}}catch(y){c.e(y)}finally{c.f()}}if(Array.isArray(this.includeIds)){e.includeIds=[];var u,m=Object(s.a)(this.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;e.includeIds.push(v)}}catch(y){m.e(y)}finally{m.f()}}if(Array.isArray(this.departmentId)){e.departmentId=[];var f,p=Object(s.a)(this.departmentId);try{for(p.s();!(f=p.n()).done;){var h=f.value;e.departmentId.push(h)}}catch(y){p.e(y)}finally{p.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Hd=function(){function e(t){if(Object(l.a)(this,e),this.page=void 0,this.pageSize=void 0,this.sortBy=void 0,this.filterBy=void 0,this.searchCriteria=void 0,this.exemptedIds=void 0,this.includeIds=void 0,this.dueToReportScheduleId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.page=e.page,this.pageSize=e.pageSize,this.sortBy=e.sortBy,Array.isArray(e.filterBy)){this.filterBy=[];var t,n=Object(s.a)(e.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.filterBy.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(e.searchCriteria)){this.searchCriteria=[];var a,r=Object(s.a)(e.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.searchCriteria.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(e.exemptedIds)){this.exemptedIds=[];var l,c=Object(s.a)(e.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.exemptedIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(e.includeIds)){this.includeIds=[];var u,m=Object(s.a)(e.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;this.includeIds.push(v)}}catch(f){m.e(f)}finally{m.f()}}this.dueToReportScheduleId=e.dueToReportScheduleId}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).page=this.page,e.pageSize=this.pageSize,e.sortBy=this.sortBy,Array.isArray(this.filterBy)){e.filterBy=[];var t,n=Object(s.a)(this.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.filterBy.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(this.searchCriteria)){e.searchCriteria=[];var a,r=Object(s.a)(this.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.searchCriteria.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(this.exemptedIds)){e.exemptedIds=[];var l,c=Object(s.a)(this.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.exemptedIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(this.includeIds)){e.includeIds=[];var u,m=Object(s.a)(this.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;e.includeIds.push(v)}}catch(f){m.e(f)}finally{m.f()}}return e.dueToReportScheduleId=this.dueToReportScheduleId,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),$d=function(){function e(t){if(Object(l.a)(this,e),this.recipientUserIds=void 0,this.sessionIds=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.recipientUserIds)){this.recipientUserIds=[];var t,n=Object(s.a)(e.recipientUserIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.recipientUserIds.push(i)}}catch(l){n.e(l)}finally{n.f()}}if(Array.isArray(e.sessionIds)){this.sessionIds=[];var a,r=Object(s.a)(e.sessionIds);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.sessionIds.push(o)}}catch(l){r.e(l)}finally{r.f()}}}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.recipientUserIds)){e.recipientUserIds=[];var t,n=Object(s.a)(this.recipientUserIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.recipientUserIds.push(i)}}catch(l){n.e(l)}finally{n.f()}}if(Array.isArray(this.sessionIds)){e.sessionIds=[];var a,r=Object(s.a)(this.sessionIds);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.sessionIds.push(o)}}catch(l){r.e(l)}finally{r.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Qd=function(){function e(t){if(Object(l.a)(this,e),this.firstName=void 0,this.middleName=void 0,this.lastName=void 0,this.email=void 0,this.username=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.firstName=e.firstName,this.middleName=e.middleName,this.lastName=e.lastName,this.email=e.email,this.username=e.username)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).firstName=this.firstName,e.middleName=this.middleName,e.lastName=this.lastName,e.email=this.email,e.username=this.username,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Zd=function(){function e(t){if(Object(l.a)(this,e),this.sessionIds=void 0,this.emailType=void 0,this.sendToOption=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.sessionIds)){this.sessionIds=[];var t,n=Object(s.a)(e.sessionIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.sessionIds.push(i)}}catch(a){n.e(a)}finally{n.f()}}this.emailType=e.emailType,this.sendToOption=e.sendToOption}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.sessionIds)){e.sessionIds=[];var t,n=Object(s.a)(this.sessionIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.sessionIds.push(i)}}catch(a){n.e(a)}finally{n.f()}}return e.emailType=this.emailType,e.sendToOption=this.sendToOption,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Xd=function(){function e(t){if(Object(l.a)(this,e),this.page=void 0,this.pageSize=void 0,this.sortBy=void 0,this.filterBy=void 0,this.searchCriteria=void 0,this.exemptedIds=void 0,this.includeIds=void 0,this.ethnicityId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.page=e.page,this.pageSize=e.pageSize,this.sortBy=e.sortBy,Array.isArray(e.filterBy)){this.filterBy=[];var t,n=Object(s.a)(e.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.filterBy.push(i)}}catch(y){n.e(y)}finally{n.f()}}if(Array.isArray(e.searchCriteria)){this.searchCriteria=[];var a,r=Object(s.a)(e.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.searchCriteria.push(o)}}catch(y){r.e(y)}finally{r.f()}}if(Array.isArray(e.exemptedIds)){this.exemptedIds=[];var l,c=Object(s.a)(e.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.exemptedIds.push(d)}}catch(y){c.e(y)}finally{c.f()}}if(Array.isArray(e.includeIds)){this.includeIds=[];var u,m=Object(s.a)(e.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;this.includeIds.push(v)}}catch(y){m.e(y)}finally{m.f()}}if(Array.isArray(e.ethnicityId)){this.ethnicityId=[];var f,p=Object(s.a)(e.ethnicityId);try{for(p.s();!(f=p.n()).done;){var h=f.value;this.ethnicityId.push(h)}}catch(y){p.e(y)}finally{p.f()}}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).page=this.page,e.pageSize=this.pageSize,e.sortBy=this.sortBy,Array.isArray(this.filterBy)){e.filterBy=[];var t,n=Object(s.a)(this.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.filterBy.push(i)}}catch(y){n.e(y)}finally{n.f()}}if(Array.isArray(this.searchCriteria)){e.searchCriteria=[];var a,r=Object(s.a)(this.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.searchCriteria.push(o)}}catch(y){r.e(y)}finally{r.f()}}if(Array.isArray(this.exemptedIds)){e.exemptedIds=[];var l,c=Object(s.a)(this.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.exemptedIds.push(d)}}catch(y){c.e(y)}finally{c.f()}}if(Array.isArray(this.includeIds)){e.includeIds=[];var u,m=Object(s.a)(this.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;e.includeIds.push(v)}}catch(y){m.e(y)}finally{m.f()}}if(Array.isArray(this.ethnicityId)){e.ethnicityId=[];var f,p=Object(s.a)(this.ethnicityId);try{for(p.s();!(f=p.n()).done;){var h=f.value;e.ethnicityId.push(h)}}catch(y){p.e(y)}finally{p.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Kd=function(){function e(t){if(Object(l.a)(this,e),this.evaluationId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&Array.isArray(e.evaluationId)){this.evaluationId=[];var t,n=Object(s.a)(e.evaluationId);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.evaluationId.push(i)}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.evaluationId)){e.evaluationId=[];var t,n=Object(s.a)(this.evaluationId);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.evaluationId.push(i)}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),eu=function(){function e(t){if(Object(l.a)(this,e),this.guid=void 0,this.params=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.guid=e.guid,this.params=e.params)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).guid=this.guid,e.params=this.params,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),tu=function(){function e(t){if(Object(l.a)(this,e),this.page=void 0,this.pageSize=void 0,this.sortBy=void 0,this.filterBy=void 0,this.searchCriteria=void 0,this.exemptedIds=void 0,this.includeIds=void 0,this.excuseId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.page=e.page,this.pageSize=e.pageSize,this.sortBy=e.sortBy,Array.isArray(e.filterBy)){this.filterBy=[];var t,n=Object(s.a)(e.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.filterBy.push(i)}}catch(y){n.e(y)}finally{n.f()}}if(Array.isArray(e.searchCriteria)){this.searchCriteria=[];var a,r=Object(s.a)(e.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.searchCriteria.push(o)}}catch(y){r.e(y)}finally{r.f()}}if(Array.isArray(e.exemptedIds)){this.exemptedIds=[];var l,c=Object(s.a)(e.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.exemptedIds.push(d)}}catch(y){c.e(y)}finally{c.f()}}if(Array.isArray(e.includeIds)){this.includeIds=[];var u,m=Object(s.a)(e.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;this.includeIds.push(v)}}catch(y){m.e(y)}finally{m.f()}}if(Array.isArray(e.excuseId)){this.excuseId=[];var f,p=Object(s.a)(e.excuseId);try{for(p.s();!(f=p.n()).done;){var h=f.value;this.excuseId.push(h)}}catch(y){p.e(y)}finally{p.f()}}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).page=this.page,e.pageSize=this.pageSize,e.sortBy=this.sortBy,Array.isArray(this.filterBy)){e.filterBy=[];var t,n=Object(s.a)(this.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.filterBy.push(i)}}catch(y){n.e(y)}finally{n.f()}}if(Array.isArray(this.searchCriteria)){e.searchCriteria=[];var a,r=Object(s.a)(this.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.searchCriteria.push(o)}}catch(y){r.e(y)}finally{r.f()}}if(Array.isArray(this.exemptedIds)){e.exemptedIds=[];var l,c=Object(s.a)(this.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.exemptedIds.push(d)}}catch(y){c.e(y)}finally{c.f()}}if(Array.isArray(this.includeIds)){e.includeIds=[];var u,m=Object(s.a)(this.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;e.includeIds.push(v)}}catch(y){m.e(y)}finally{m.f()}}if(Array.isArray(this.excuseId)){e.excuseId=[];var f,p=Object(s.a)(this.excuseId);try{for(p.s();!(f=p.n()).done;){var h=f.value;e.excuseId.push(h)}}catch(y){p.e(y)}finally{p.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),nu=function(){function e(t){if(Object(l.a)(this,e),this.userIds=void 0,this.courseId=void 0,this.sessionId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.userIds)){this.userIds=[];var t,n=Object(s.a)(e.userIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.userIds.push(i)}}catch(a){n.e(a)}finally{n.f()}}this.courseId=e.courseId,this.sessionId=e.sessionId}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.userIds)){e.userIds=[];var t,n=Object(s.a)(this.userIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.userIds.push(i)}}catch(a){n.e(a)}finally{n.f()}}return e.courseId=this.courseId,e.sessionId=this.sessionId,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),iu=function(){function e(t){if(Object(l.a)(this,e),this.userId=void 0,this.licenseId=void 0,this.periodNumber=void 0,this.selectedPeriodStart=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.userId=e.userId,this.licenseId=e.licenseId,this.periodNumber=e.periodNumber,this.selectedPeriodStart=e.selectedPeriodStart?new Date(e.selectedPeriodStart.toString()):void 0)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).userId=this.userId,e.licenseId=this.licenseId,e.periodNumber=this.periodNumber,e.selectedPeriodStart=this.selectedPeriodStart?this.selectedPeriodStart.toISOString():void 0,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),au=function(){function e(t){if(Object(l.a)(this,e),this.page=void 0,this.pageSize=void 0,this.sortBy=void 0,this.filterBy=void 0,this.searchCriteria=void 0,this.exemptedIds=void 0,this.includeIds=void 0,this.genderId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.page=e.page,this.pageSize=e.pageSize,this.sortBy=e.sortBy,Array.isArray(e.filterBy)){this.filterBy=[];var t,n=Object(s.a)(e.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.filterBy.push(i)}}catch(y){n.e(y)}finally{n.f()}}if(Array.isArray(e.searchCriteria)){this.searchCriteria=[];var a,r=Object(s.a)(e.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.searchCriteria.push(o)}}catch(y){r.e(y)}finally{r.f()}}if(Array.isArray(e.exemptedIds)){this.exemptedIds=[];var l,c=Object(s.a)(e.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.exemptedIds.push(d)}}catch(y){c.e(y)}finally{c.f()}}if(Array.isArray(e.includeIds)){this.includeIds=[];var u,m=Object(s.a)(e.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;this.includeIds.push(v)}}catch(y){m.e(y)}finally{m.f()}}if(Array.isArray(e.genderId)){this.genderId=[];var f,p=Object(s.a)(e.genderId);try{for(p.s();!(f=p.n()).done;){var h=f.value;this.genderId.push(h)}}catch(y){p.e(y)}finally{p.f()}}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).page=this.page,e.pageSize=this.pageSize,e.sortBy=this.sortBy,Array.isArray(this.filterBy)){e.filterBy=[];var t,n=Object(s.a)(this.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.filterBy.push(i)}}catch(y){n.e(y)}finally{n.f()}}if(Array.isArray(this.searchCriteria)){e.searchCriteria=[];var a,r=Object(s.a)(this.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.searchCriteria.push(o)}}catch(y){r.e(y)}finally{r.f()}}if(Array.isArray(this.exemptedIds)){e.exemptedIds=[];var l,c=Object(s.a)(this.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.exemptedIds.push(d)}}catch(y){c.e(y)}finally{c.f()}}if(Array.isArray(this.includeIds)){e.includeIds=[];var u,m=Object(s.a)(this.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;e.includeIds.push(v)}}catch(y){m.e(y)}finally{m.f()}}if(Array.isArray(this.genderId)){e.genderId=[];var f,p=Object(s.a)(this.genderId);try{for(p.s();!(f=p.n()).done;){var h=f.value;e.genderId.push(h)}}catch(y){p.e(y)}finally{p.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),ru=function(){function e(t){if(Object(l.a)(this,e),this.params=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.params=e.params)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).params=this.params,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),ou=function(){function e(t){if(Object(l.a)(this,e),this.sessionIdList=void 0,this.startDate=void 0,this.endDate=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.sessionIdList)){this.sessionIdList=[];var t,n=Object(s.a)(e.sessionIdList);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.sessionIdList.push(i)}}catch(a){n.e(a)}finally{n.f()}}this.startDate=e.startDate?new Date(e.startDate.toString()):void 0,this.endDate=e.endDate?new Date(e.endDate.toString()):void 0}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.sessionIdList)){e.sessionIdList=[];var t,n=Object(s.a)(this.sessionIdList);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.sessionIdList.push(i)}}catch(a){n.e(a)}finally{n.f()}}return e.startDate=this.startDate?this.startDate.toISOString():void 0,e.endDate=this.endDate?this.endDate.toISOString():void 0,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),su=function(){function e(t){if(Object(l.a)(this,e),this.sessionIdList=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&Array.isArray(e.sessionIdList)){this.sessionIdList=[];var t,n=Object(s.a)(e.sessionIdList);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.sessionIdList.push(i)}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.sessionIdList)){e.sessionIdList=[];var t,n=Object(s.a)(this.sessionIdList);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.sessionIdList.push(i)}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),lu=function(){function e(t){if(Object(l.a)(this,e),this.page=void 0,this.pageSize=void 0,this.sortBy=void 0,this.filterBy=void 0,this.searchCriteria=void 0,this.exemptedIds=void 0,this.includeIds=void 0,this.startDate=void 0,this.endDate=void 0,this.reportType=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.page=e.page,this.pageSize=e.pageSize,this.sortBy=e.sortBy,Array.isArray(e.filterBy)){this.filterBy=[];var t,n=Object(s.a)(e.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.filterBy.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(e.searchCriteria)){this.searchCriteria=[];var a,r=Object(s.a)(e.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.searchCriteria.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(e.exemptedIds)){this.exemptedIds=[];var l,c=Object(s.a)(e.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.exemptedIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(e.includeIds)){this.includeIds=[];var u,m=Object(s.a)(e.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;this.includeIds.push(v)}}catch(f){m.e(f)}finally{m.f()}}this.startDate=e.startDate?new Date(e.startDate.toString()):void 0,this.endDate=e.endDate?new Date(e.endDate.toString()):void 0,this.reportType=e.reportType}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).page=this.page,e.pageSize=this.pageSize,e.sortBy=this.sortBy,Array.isArray(this.filterBy)){e.filterBy=[];var t,n=Object(s.a)(this.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.filterBy.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(this.searchCriteria)){e.searchCriteria=[];var a,r=Object(s.a)(this.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.searchCriteria.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(this.exemptedIds)){e.exemptedIds=[];var l,c=Object(s.a)(this.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.exemptedIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(this.includeIds)){e.includeIds=[];var u,m=Object(s.a)(this.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;e.includeIds.push(v)}}catch(f){m.e(f)}finally{m.f()}}return e.startDate=this.startDate?this.startDate.toISOString():void 0,e.endDate=this.endDate?this.endDate.toISOString():void 0,e.reportType=this.reportType,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),cu=function(){function e(t){if(Object(l.a)(this,e),this.guid=void 0,this.params=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.guid=e.guid,this.params=e.params)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).guid=this.guid,e.params=this.params,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),du=function(){function e(t){if(Object(l.a)(this,e),this.learningPlanId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.learningPlanId=e.learningPlanId)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).learningPlanId=this.learningPlanId,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),uu=function(){function e(t){if(Object(l.a)(this,e),this.page=void 0,this.pageSize=void 0,this.sortBy=void 0,this.filterBy=void 0,this.searchCriteria=void 0,this.exemptedIds=void 0,this.includeIds=void 0,this.learningPlanId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.page=e.page,this.pageSize=e.pageSize,this.sortBy=e.sortBy,Array.isArray(e.filterBy)){this.filterBy=[];var t,n=Object(s.a)(e.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.filterBy.push(i)}}catch(y){n.e(y)}finally{n.f()}}if(Array.isArray(e.searchCriteria)){this.searchCriteria=[];var a,r=Object(s.a)(e.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.searchCriteria.push(o)}}catch(y){r.e(y)}finally{r.f()}}if(Array.isArray(e.exemptedIds)){this.exemptedIds=[];var l,c=Object(s.a)(e.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.exemptedIds.push(d)}}catch(y){c.e(y)}finally{c.f()}}if(Array.isArray(e.includeIds)){this.includeIds=[];var u,m=Object(s.a)(e.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;this.includeIds.push(v)}}catch(y){m.e(y)}finally{m.f()}}if(Array.isArray(e.learningPlanId)){this.learningPlanId=[];var f,p=Object(s.a)(e.learningPlanId);try{for(p.s();!(f=p.n()).done;){var h=f.value;this.learningPlanId.push(h)}}catch(y){p.e(y)}finally{p.f()}}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).page=this.page,e.pageSize=this.pageSize,e.sortBy=this.sortBy,Array.isArray(this.filterBy)){e.filterBy=[];var t,n=Object(s.a)(this.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.filterBy.push(i)}}catch(y){n.e(y)}finally{n.f()}}if(Array.isArray(this.searchCriteria)){e.searchCriteria=[];var a,r=Object(s.a)(this.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.searchCriteria.push(o)}}catch(y){r.e(y)}finally{r.f()}}if(Array.isArray(this.exemptedIds)){e.exemptedIds=[];var l,c=Object(s.a)(this.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.exemptedIds.push(d)}}catch(y){c.e(y)}finally{c.f()}}if(Array.isArray(this.includeIds)){e.includeIds=[];var u,m=Object(s.a)(this.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;e.includeIds.push(v)}}catch(y){m.e(y)}finally{m.f()}}if(Array.isArray(this.learningPlanId)){e.learningPlanId=[];var f,p=Object(s.a)(this.learningPlanId);try{for(p.s();!(f=p.n()).done;){var h=f.value;e.learningPlanId.push(h)}}catch(y){p.e(y)}finally{p.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),mu=function(){function e(t){if(Object(l.a)(this,e),this.learningPlanId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.learningPlanId=e.learningPlanId)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).learningPlanId=this.learningPlanId,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),vu=function(){function e(t){if(Object(l.a)(this,e),this.page=void 0,this.pageSize=void 0,this.sortBy=void 0,this.filterBy=void 0,this.searchCriteria=void 0,this.exemptedIds=void 0,this.includeIds=void 0,this.learningPlanId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.page=e.page,this.pageSize=e.pageSize,this.sortBy=e.sortBy,Array.isArray(e.filterBy)){this.filterBy=[];var t,n=Object(s.a)(e.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.filterBy.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(e.searchCriteria)){this.searchCriteria=[];var a,r=Object(s.a)(e.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.searchCriteria.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(e.exemptedIds)){this.exemptedIds=[];var l,c=Object(s.a)(e.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.exemptedIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(e.includeIds)){this.includeIds=[];var u,m=Object(s.a)(e.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;this.includeIds.push(v)}}catch(f){m.e(f)}finally{m.f()}}this.learningPlanId=e.learningPlanId}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).page=this.page,e.pageSize=this.pageSize,e.sortBy=this.sortBy,Array.isArray(this.filterBy)){e.filterBy=[];var t,n=Object(s.a)(this.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.filterBy.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(this.searchCriteria)){e.searchCriteria=[];var a,r=Object(s.a)(this.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.searchCriteria.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(this.exemptedIds)){e.exemptedIds=[];var l,c=Object(s.a)(this.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.exemptedIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(this.includeIds)){e.includeIds=[];var u,m=Object(s.a)(this.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;e.includeIds.push(v)}}catch(f){m.e(f)}finally{m.f()}}return e.learningPlanId=this.learningPlanId,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),fu=function(){function e(t){if(Object(l.a)(this,e),this.page=void 0,this.pageSize=void 0,this.sortBy=void 0,this.filterBy=void 0,this.searchCriteria=void 0,this.exemptedIds=void 0,this.includeIds=void 0,this.levelId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.page=e.page,this.pageSize=e.pageSize,this.sortBy=e.sortBy,Array.isArray(e.filterBy)){this.filterBy=[];var t,n=Object(s.a)(e.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.filterBy.push(i)}}catch(y){n.e(y)}finally{n.f()}}if(Array.isArray(e.searchCriteria)){this.searchCriteria=[];var a,r=Object(s.a)(e.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.searchCriteria.push(o)}}catch(y){r.e(y)}finally{r.f()}}if(Array.isArray(e.exemptedIds)){this.exemptedIds=[];var l,c=Object(s.a)(e.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.exemptedIds.push(d)}}catch(y){c.e(y)}finally{c.f()}}if(Array.isArray(e.includeIds)){this.includeIds=[];var u,m=Object(s.a)(e.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;this.includeIds.push(v)}}catch(y){m.e(y)}finally{m.f()}}if(Array.isArray(e.levelId)){this.levelId=[];var f,p=Object(s.a)(e.levelId);try{for(p.s();!(f=p.n()).done;){var h=f.value;this.levelId.push(h)}}catch(y){p.e(y)}finally{p.f()}}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).page=this.page,e.pageSize=this.pageSize,e.sortBy=this.sortBy,Array.isArray(this.filterBy)){e.filterBy=[];var t,n=Object(s.a)(this.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.filterBy.push(i)}}catch(y){n.e(y)}finally{n.f()}}if(Array.isArray(this.searchCriteria)){e.searchCriteria=[];var a,r=Object(s.a)(this.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.searchCriteria.push(o)}}catch(y){r.e(y)}finally{r.f()}}if(Array.isArray(this.exemptedIds)){e.exemptedIds=[];var l,c=Object(s.a)(this.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.exemptedIds.push(d)}}catch(y){c.e(y)}finally{c.f()}}if(Array.isArray(this.includeIds)){e.includeIds=[];var u,m=Object(s.a)(this.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;e.includeIds.push(v)}}catch(y){m.e(y)}finally{m.f()}}if(Array.isArray(this.levelId)){e.levelId=[];var f,p=Object(s.a)(this.levelId);try{for(p.s();!(f=p.n()).done;){var h=f.value;e.levelId.push(h)}}catch(y){p.e(y)}finally{p.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),pu=function(){function e(t){if(Object(l.a)(this,e),this.page=void 0,this.pageSize=void 0,this.sortBy=void 0,this.filterBy=void 0,this.searchCriteria=void 0,this.exemptedIds=void 0,this.includeIds=void 0,this.libraryFileId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.page=e.page,this.pageSize=e.pageSize,this.sortBy=e.sortBy,Array.isArray(e.filterBy)){this.filterBy=[];var t,n=Object(s.a)(e.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.filterBy.push(i)}}catch(y){n.e(y)}finally{n.f()}}if(Array.isArray(e.searchCriteria)){this.searchCriteria=[];var a,r=Object(s.a)(e.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.searchCriteria.push(o)}}catch(y){r.e(y)}finally{r.f()}}if(Array.isArray(e.exemptedIds)){this.exemptedIds=[];var l,c=Object(s.a)(e.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.exemptedIds.push(d)}}catch(y){c.e(y)}finally{c.f()}}if(Array.isArray(e.includeIds)){this.includeIds=[];var u,m=Object(s.a)(e.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;this.includeIds.push(v)}}catch(y){m.e(y)}finally{m.f()}}if(Array.isArray(e.libraryFileId)){this.libraryFileId=[];var f,p=Object(s.a)(e.libraryFileId);try{for(p.s();!(f=p.n()).done;){var h=f.value;this.libraryFileId.push(h)}}catch(y){p.e(y)}finally{p.f()}}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).page=this.page,e.pageSize=this.pageSize,e.sortBy=this.sortBy,Array.isArray(this.filterBy)){e.filterBy=[];var t,n=Object(s.a)(this.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.filterBy.push(i)}}catch(y){n.e(y)}finally{n.f()}}if(Array.isArray(this.searchCriteria)){e.searchCriteria=[];var a,r=Object(s.a)(this.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.searchCriteria.push(o)}}catch(y){r.e(y)}finally{r.f()}}if(Array.isArray(this.exemptedIds)){e.exemptedIds=[];var l,c=Object(s.a)(this.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.exemptedIds.push(d)}}catch(y){c.e(y)}finally{c.f()}}if(Array.isArray(this.includeIds)){e.includeIds=[];var u,m=Object(s.a)(this.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;e.includeIds.push(v)}}catch(y){m.e(y)}finally{m.f()}}if(Array.isArray(this.libraryFileId)){e.libraryFileId=[];var f,p=Object(s.a)(this.libraryFileId);try{for(p.s();!(f=p.n()).done;){var h=f.value;e.libraryFileId.push(h)}}catch(y){p.e(y)}finally{p.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),hu=function(){function e(t){if(Object(l.a)(this,e),this.page=void 0,this.pageSize=void 0,this.sortBy=void 0,this.filterBy=void 0,this.searchCriteria=void 0,this.exemptedIds=void 0,this.includeIds=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.page=e.page,this.pageSize=e.pageSize,this.sortBy=e.sortBy,Array.isArray(e.filterBy)){this.filterBy=[];var t,n=Object(s.a)(e.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.filterBy.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(e.searchCriteria)){this.searchCriteria=[];var a,r=Object(s.a)(e.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.searchCriteria.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(e.exemptedIds)){this.exemptedIds=[];var l,c=Object(s.a)(e.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.exemptedIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(e.includeIds)){this.includeIds=[];var u,m=Object(s.a)(e.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;this.includeIds.push(v)}}catch(f){m.e(f)}finally{m.f()}}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).page=this.page,e.pageSize=this.pageSize,e.sortBy=this.sortBy,Array.isArray(this.filterBy)){e.filterBy=[];var t,n=Object(s.a)(this.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.filterBy.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(this.searchCriteria)){e.searchCriteria=[];var a,r=Object(s.a)(this.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.searchCriteria.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(this.exemptedIds)){e.exemptedIds=[];var l,c=Object(s.a)(this.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.exemptedIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(this.includeIds)){e.includeIds=[];var u,m=Object(s.a)(this.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;e.includeIds.push(v)}}catch(f){m.e(f)}finally{m.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),yu=function(){function e(t){if(Object(l.a)(this,e),this.userId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.userId=e.userId)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).userId=this.userId,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),bu=function(){function e(t){if(Object(l.a)(this,e),this.page=void 0,this.pageSize=void 0,this.sortBy=void 0,this.filterBy=void 0,this.searchCriteria=void 0,this.exemptedIds=void 0,this.includeIds=void 0,this.locationId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.page=e.page,this.pageSize=e.pageSize,this.sortBy=e.sortBy,Array.isArray(e.filterBy)){this.filterBy=[];var t,n=Object(s.a)(e.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.filterBy.push(i)}}catch(y){n.e(y)}finally{n.f()}}if(Array.isArray(e.searchCriteria)){this.searchCriteria=[];var a,r=Object(s.a)(e.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.searchCriteria.push(o)}}catch(y){r.e(y)}finally{r.f()}}if(Array.isArray(e.exemptedIds)){this.exemptedIds=[];var l,c=Object(s.a)(e.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.exemptedIds.push(d)}}catch(y){c.e(y)}finally{c.f()}}if(Array.isArray(e.includeIds)){this.includeIds=[];var u,m=Object(s.a)(e.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;this.includeIds.push(v)}}catch(y){m.e(y)}finally{m.f()}}if(Array.isArray(e.locationId)){this.locationId=[];var f,p=Object(s.a)(e.locationId);try{for(p.s();!(f=p.n()).done;){var h=f.value;this.locationId.push(h)}}catch(y){p.e(y)}finally{p.f()}}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).page=this.page,e.pageSize=this.pageSize,e.sortBy=this.sortBy,Array.isArray(this.filterBy)){e.filterBy=[];var t,n=Object(s.a)(this.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.filterBy.push(i)}}catch(y){n.e(y)}finally{n.f()}}if(Array.isArray(this.searchCriteria)){e.searchCriteria=[];var a,r=Object(s.a)(this.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.searchCriteria.push(o)}}catch(y){r.e(y)}finally{r.f()}}if(Array.isArray(this.exemptedIds)){e.exemptedIds=[];var l,c=Object(s.a)(this.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.exemptedIds.push(d)}}catch(y){c.e(y)}finally{c.f()}}if(Array.isArray(this.includeIds)){e.includeIds=[];var u,m=Object(s.a)(this.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;e.includeIds.push(v)}}catch(y){m.e(y)}finally{m.f()}}if(Array.isArray(this.locationId)){e.locationId=[];var f,p=Object(s.a)(this.locationId);try{for(p.s();!(f=p.n()).done;){var h=f.value;e.locationId.push(h)}}catch(y){p.e(y)}finally{p.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),gu=function(){function e(t){if(Object(l.a)(this,e),this.guid=void 0,this.params=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.guid=e.guid,this.params=e.params)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).guid=this.guid,e.params=this.params,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Eu=function(){function e(t){if(Object(l.a)(this,e),this.reportingYear=void 0,this.includeOnlyNYParticipants=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.reportingYear=e.reportingYear,this.includeOnlyNYParticipants=e.includeOnlyNYParticipants)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).reportingYear=this.reportingYear,e.includeOnlyNYParticipants=this.includeOnlyNYParticipants,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Iu=function(){function e(t){if(Object(l.a)(this,e),this.reportingYear=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.reportingYear=e.reportingYear)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).reportingYear=this.reportingYear,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Su=function(){function e(t){if(Object(l.a)(this,e),this.locationIds=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&Array.isArray(e.locationIds)){this.locationIds=[];var t,n=Object(s.a)(e.locationIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.locationIds.push(i)}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.locationIds)){e.locationIds=[];var t,n=Object(s.a)(this.locationIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.locationIds.push(i)}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Ou=function(){function e(t){if(Object(l.a)(this,e),this.userId=void 0,this.licenseId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.userId=e.userId,this.licenseId=e.licenseId)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).userId=this.userId,e.licenseId=this.licenseId,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Cu=function(){function e(t){if(Object(l.a)(this,e),this.page=void 0,this.pageSize=void 0,this.sortBy=void 0,this.filterBy=void 0,this.searchCriteria=void 0,this.exemptedIds=void 0,this.includeIds=void 0,this.positionId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.page=e.page,this.pageSize=e.pageSize,this.sortBy=e.sortBy,Array.isArray(e.filterBy)){this.filterBy=[];var t,n=Object(s.a)(e.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.filterBy.push(i)}}catch(y){n.e(y)}finally{n.f()}}if(Array.isArray(e.searchCriteria)){this.searchCriteria=[];var a,r=Object(s.a)(e.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.searchCriteria.push(o)}}catch(y){r.e(y)}finally{r.f()}}if(Array.isArray(e.exemptedIds)){this.exemptedIds=[];var l,c=Object(s.a)(e.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.exemptedIds.push(d)}}catch(y){c.e(y)}finally{c.f()}}if(Array.isArray(e.includeIds)){this.includeIds=[];var u,m=Object(s.a)(e.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;this.includeIds.push(v)}}catch(y){m.e(y)}finally{m.f()}}if(Array.isArray(e.positionId)){this.positionId=[];var f,p=Object(s.a)(e.positionId);try{for(p.s();!(f=p.n()).done;){var h=f.value;this.positionId.push(h)}}catch(y){p.e(y)}finally{p.f()}}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).page=this.page,e.pageSize=this.pageSize,e.sortBy=this.sortBy,Array.isArray(this.filterBy)){e.filterBy=[];var t,n=Object(s.a)(this.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.filterBy.push(i)}}catch(y){n.e(y)}finally{n.f()}}if(Array.isArray(this.searchCriteria)){e.searchCriteria=[];var a,r=Object(s.a)(this.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.searchCriteria.push(o)}}catch(y){r.e(y)}finally{r.f()}}if(Array.isArray(this.exemptedIds)){e.exemptedIds=[];var l,c=Object(s.a)(this.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.exemptedIds.push(d)}}catch(y){c.e(y)}finally{c.f()}}if(Array.isArray(this.includeIds)){e.includeIds=[];var u,m=Object(s.a)(this.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;e.includeIds.push(v)}}catch(y){m.e(y)}finally{m.f()}}if(Array.isArray(this.positionId)){e.positionId=[];var f,p=Object(s.a)(this.positionId);try{for(p.s();!(f=p.n()).done;){var h=f.value;e.positionId.push(h)}}catch(y){p.e(y)}finally{p.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),ju=function(){function e(t){if(Object(l.a)(this,e),this.page=void 0,this.pageSize=void 0,this.sortBy=void 0,this.filterBy=void 0,this.searchCriteria=void 0,this.exemptedIds=void 0,this.includeIds=void 0,this.practiceAreaId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.page=e.page,this.pageSize=e.pageSize,this.sortBy=e.sortBy,Array.isArray(e.filterBy)){this.filterBy=[];var t,n=Object(s.a)(e.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.filterBy.push(i)}}catch(y){n.e(y)}finally{n.f()}}if(Array.isArray(e.searchCriteria)){this.searchCriteria=[];var a,r=Object(s.a)(e.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.searchCriteria.push(o)}}catch(y){r.e(y)}finally{r.f()}}if(Array.isArray(e.exemptedIds)){this.exemptedIds=[];var l,c=Object(s.a)(e.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.exemptedIds.push(d)}}catch(y){c.e(y)}finally{c.f()}}if(Array.isArray(e.includeIds)){this.includeIds=[];var u,m=Object(s.a)(e.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;this.includeIds.push(v)}}catch(y){m.e(y)}finally{m.f()}}if(Array.isArray(e.practiceAreaId)){this.practiceAreaId=[];var f,p=Object(s.a)(e.practiceAreaId);try{for(p.s();!(f=p.n()).done;){var h=f.value;this.practiceAreaId.push(h)}}catch(y){p.e(y)}finally{p.f()}}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).page=this.page,e.pageSize=this.pageSize,e.sortBy=this.sortBy,Array.isArray(this.filterBy)){e.filterBy=[];var t,n=Object(s.a)(this.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.filterBy.push(i)}}catch(y){n.e(y)}finally{n.f()}}if(Array.isArray(this.searchCriteria)){e.searchCriteria=[];var a,r=Object(s.a)(this.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.searchCriteria.push(o)}}catch(y){r.e(y)}finally{r.f()}}if(Array.isArray(this.exemptedIds)){e.exemptedIds=[];var l,c=Object(s.a)(this.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.exemptedIds.push(d)}}catch(y){c.e(y)}finally{c.f()}}if(Array.isArray(this.includeIds)){e.includeIds=[];var u,m=Object(s.a)(this.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;e.includeIds.push(v)}}catch(y){m.e(y)}finally{m.f()}}if(Array.isArray(this.practiceAreaId)){e.practiceAreaId=[];var f,p=Object(s.a)(this.practiceAreaId);try{for(p.s();!(f=p.n()).done;){var h=f.value;e.practiceAreaId.push(h)}}catch(y){p.e(y)}finally{p.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),xu=function(){function e(t){if(Object(l.a)(this,e),this.guid=void 0,this.params=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.guid=e.guid,this.params=e.params)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).guid=this.guid,e.params=this.params,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Au=function(){function e(t){if(Object(l.a)(this,e),this.page=void 0,this.pageSize=void 0,this.sortBy=void 0,this.filterBy=void 0,this.searchCriteria=void 0,this.exemptedIds=void 0,this.includeIds=void 0,this.providerId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.page=e.page,this.pageSize=e.pageSize,this.sortBy=e.sortBy,Array.isArray(e.filterBy)){this.filterBy=[];var t,n=Object(s.a)(e.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.filterBy.push(i)}}catch(y){n.e(y)}finally{n.f()}}if(Array.isArray(e.searchCriteria)){this.searchCriteria=[];var a,r=Object(s.a)(e.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.searchCriteria.push(o)}}catch(y){r.e(y)}finally{r.f()}}if(Array.isArray(e.exemptedIds)){this.exemptedIds=[];var l,c=Object(s.a)(e.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.exemptedIds.push(d)}}catch(y){c.e(y)}finally{c.f()}}if(Array.isArray(e.includeIds)){this.includeIds=[];var u,m=Object(s.a)(e.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;this.includeIds.push(v)}}catch(y){m.e(y)}finally{m.f()}}if(Array.isArray(e.providerId)){this.providerId=[];var f,p=Object(s.a)(e.providerId);try{for(p.s();!(f=p.n()).done;){var h=f.value;this.providerId.push(h)}}catch(y){p.e(y)}finally{p.f()}}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).page=this.page,e.pageSize=this.pageSize,e.sortBy=this.sortBy,Array.isArray(this.filterBy)){e.filterBy=[];var t,n=Object(s.a)(this.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.filterBy.push(i)}}catch(y){n.e(y)}finally{n.f()}}if(Array.isArray(this.searchCriteria)){e.searchCriteria=[];var a,r=Object(s.a)(this.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.searchCriteria.push(o)}}catch(y){r.e(y)}finally{r.f()}}if(Array.isArray(this.exemptedIds)){e.exemptedIds=[];var l,c=Object(s.a)(this.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.exemptedIds.push(d)}}catch(y){c.e(y)}finally{c.f()}}if(Array.isArray(this.includeIds)){e.includeIds=[];var u,m=Object(s.a)(this.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;e.includeIds.push(v)}}catch(y){m.e(y)}finally{m.f()}}if(Array.isArray(this.providerId)){e.providerId=[];var f,p=Object(s.a)(this.providerId);try{for(p.s();!(f=p.n()).done;){var h=f.value;e.providerId.push(h)}}catch(y){p.e(y)}finally{p.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Tu=function(){function e(t){if(Object(l.a)(this,e),this.page=void 0,this.pageSize=void 0,this.sortBy=void 0,this.filterBy=void 0,this.searchCriteria=void 0,this.exemptedIds=void 0,this.includeIds=void 0,this.reminderScheduleId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.page=e.page,this.pageSize=e.pageSize,this.sortBy=e.sortBy,Array.isArray(e.filterBy)){this.filterBy=[];var t,n=Object(s.a)(e.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.filterBy.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(e.searchCriteria)){this.searchCriteria=[];var a,r=Object(s.a)(e.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.searchCriteria.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(e.exemptedIds)){this.exemptedIds=[];var l,c=Object(s.a)(e.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.exemptedIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(e.includeIds)){this.includeIds=[];var u,m=Object(s.a)(e.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;this.includeIds.push(v)}}catch(f){m.e(f)}finally{m.f()}}this.reminderScheduleId=e.reminderScheduleId}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).page=this.page,e.pageSize=this.pageSize,e.sortBy=this.sortBy,Array.isArray(this.filterBy)){e.filterBy=[];var t,n=Object(s.a)(this.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.filterBy.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(this.searchCriteria)){e.searchCriteria=[];var a,r=Object(s.a)(this.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.searchCriteria.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(this.exemptedIds)){e.exemptedIds=[];var l,c=Object(s.a)(this.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.exemptedIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(this.includeIds)){e.includeIds=[];var u,m=Object(s.a)(this.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;e.includeIds.push(v)}}catch(f){m.e(f)}finally{m.f()}}return e.reminderScheduleId=this.reminderScheduleId,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),wu=function(){function e(t){if(Object(l.a)(this,e),this.reportGuid=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.reportGuid=e.reportGuid)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).reportGuid=this.reportGuid,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),ku=function(){function e(t){if(Object(l.a)(this,e),this.page=void 0,this.pageSize=void 0,this.sortBy=void 0,this.filterBy=void 0,this.searchCriteria=void 0,this.exemptedIds=void 0,this.includeIds=void 0,this.roleId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.page=e.page,this.pageSize=e.pageSize,this.sortBy=e.sortBy,Array.isArray(e.filterBy)){this.filterBy=[];var t,n=Object(s.a)(e.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.filterBy.push(i)}}catch(y){n.e(y)}finally{n.f()}}if(Array.isArray(e.searchCriteria)){this.searchCriteria=[];var a,r=Object(s.a)(e.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.searchCriteria.push(o)}}catch(y){r.e(y)}finally{r.f()}}if(Array.isArray(e.exemptedIds)){this.exemptedIds=[];var l,c=Object(s.a)(e.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.exemptedIds.push(d)}}catch(y){c.e(y)}finally{c.f()}}if(Array.isArray(e.includeIds)){this.includeIds=[];var u,m=Object(s.a)(e.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;this.includeIds.push(v)}}catch(y){m.e(y)}finally{m.f()}}if(Array.isArray(e.roleId)){this.roleId=[];var f,p=Object(s.a)(e.roleId);try{for(p.s();!(f=p.n()).done;){var h=f.value;this.roleId.push(h)}}catch(y){p.e(y)}finally{p.f()}}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).page=this.page,e.pageSize=this.pageSize,e.sortBy=this.sortBy,Array.isArray(this.filterBy)){e.filterBy=[];var t,n=Object(s.a)(this.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.filterBy.push(i)}}catch(y){n.e(y)}finally{n.f()}}if(Array.isArray(this.searchCriteria)){e.searchCriteria=[];var a,r=Object(s.a)(this.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.searchCriteria.push(o)}}catch(y){r.e(y)}finally{r.f()}}if(Array.isArray(this.exemptedIds)){e.exemptedIds=[];var l,c=Object(s.a)(this.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.exemptedIds.push(d)}}catch(y){c.e(y)}finally{c.f()}}if(Array.isArray(this.includeIds)){e.includeIds=[];var u,m=Object(s.a)(this.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;e.includeIds.push(v)}}catch(y){m.e(y)}finally{m.f()}}if(Array.isArray(this.roleId)){e.roleId=[];var f,p=Object(s.a)(this.roleId);try{for(p.s();!(f=p.n()).done;){var h=f.value;e.roleId.push(h)}}catch(y){p.e(y)}finally{p.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Pu=function(){function e(t){if(Object(l.a)(this,e),this.page=void 0,this.pageSize=void 0,this.sortBy=void 0,this.filterBy=void 0,this.searchCriteria=void 0,this.exemptedIds=void 0,this.includeIds=void 0,this.roleId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.page=e.page,this.pageSize=e.pageSize,this.sortBy=e.sortBy,Array.isArray(e.filterBy)){this.filterBy=[];var t,n=Object(s.a)(e.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.filterBy.push(i)}}catch(y){n.e(y)}finally{n.f()}}if(Array.isArray(e.searchCriteria)){this.searchCriteria=[];var a,r=Object(s.a)(e.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.searchCriteria.push(o)}}catch(y){r.e(y)}finally{r.f()}}if(Array.isArray(e.exemptedIds)){this.exemptedIds=[];var l,c=Object(s.a)(e.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.exemptedIds.push(d)}}catch(y){c.e(y)}finally{c.f()}}if(Array.isArray(e.includeIds)){this.includeIds=[];var u,m=Object(s.a)(e.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;this.includeIds.push(v)}}catch(y){m.e(y)}finally{m.f()}}if(Array.isArray(e.roleId)){this.roleId=[];var f,p=Object(s.a)(e.roleId);try{for(p.s();!(f=p.n()).done;){var h=f.value;this.roleId.push(h)}}catch(y){p.e(y)}finally{p.f()}}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).page=this.page,e.pageSize=this.pageSize,e.sortBy=this.sortBy,Array.isArray(this.filterBy)){e.filterBy=[];var t,n=Object(s.a)(this.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.filterBy.push(i)}}catch(y){n.e(y)}finally{n.f()}}if(Array.isArray(this.searchCriteria)){e.searchCriteria=[];var a,r=Object(s.a)(this.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.searchCriteria.push(o)}}catch(y){r.e(y)}finally{r.f()}}if(Array.isArray(this.exemptedIds)){e.exemptedIds=[];var l,c=Object(s.a)(this.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.exemptedIds.push(d)}}catch(y){c.e(y)}finally{c.f()}}if(Array.isArray(this.includeIds)){e.includeIds=[];var u,m=Object(s.a)(this.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;e.includeIds.push(v)}}catch(y){m.e(y)}finally{m.f()}}if(Array.isArray(this.roleId)){e.roleId=[];var f,p=Object(s.a)(this.roleId);try{for(p.s();!(f=p.n()).done;){var h=f.value;e.roleId.push(h)}}catch(y){p.e(y)}finally{p.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Nu=function(){function e(t){if(Object(l.a)(this,e),this.page=void 0,this.pageSize=void 0,this.sortBy=void 0,this.filterBy=void 0,this.searchCriteria=void 0,this.exemptedIds=void 0,this.includeIds=void 0,this.roomId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.page=e.page,this.pageSize=e.pageSize,this.sortBy=e.sortBy,Array.isArray(e.filterBy)){this.filterBy=[];var t,n=Object(s.a)(e.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.filterBy.push(i)}}catch(y){n.e(y)}finally{n.f()}}if(Array.isArray(e.searchCriteria)){this.searchCriteria=[];var a,r=Object(s.a)(e.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.searchCriteria.push(o)}}catch(y){r.e(y)}finally{r.f()}}if(Array.isArray(e.exemptedIds)){this.exemptedIds=[];var l,c=Object(s.a)(e.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.exemptedIds.push(d)}}catch(y){c.e(y)}finally{c.f()}}if(Array.isArray(e.includeIds)){this.includeIds=[];var u,m=Object(s.a)(e.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;this.includeIds.push(v)}}catch(y){m.e(y)}finally{m.f()}}if(Array.isArray(e.roomId)){this.roomId=[];var f,p=Object(s.a)(e.roomId);try{for(p.s();!(f=p.n()).done;){var h=f.value;this.roomId.push(h)}}catch(y){p.e(y)}finally{p.f()}}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).page=this.page,e.pageSize=this.pageSize,e.sortBy=this.sortBy,Array.isArray(this.filterBy)){e.filterBy=[];var t,n=Object(s.a)(this.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.filterBy.push(i)}}catch(y){n.e(y)}finally{n.f()}}if(Array.isArray(this.searchCriteria)){e.searchCriteria=[];var a,r=Object(s.a)(this.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.searchCriteria.push(o)}}catch(y){r.e(y)}finally{r.f()}}if(Array.isArray(this.exemptedIds)){e.exemptedIds=[];var l,c=Object(s.a)(this.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.exemptedIds.push(d)}}catch(y){c.e(y)}finally{c.f()}}if(Array.isArray(this.includeIds)){e.includeIds=[];var u,m=Object(s.a)(this.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;e.includeIds.push(v)}}catch(y){m.e(y)}finally{m.f()}}if(Array.isArray(this.roomId)){e.roomId=[];var f,p=Object(s.a)(this.roomId);try{for(p.s();!(f=p.n()).done;){var h=f.value;e.roomId.push(h)}}catch(y){p.e(y)}finally{p.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Du=function(){function e(t){if(Object(l.a)(this,e),this.param=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&Array.isArray(e.param)){this.param=[];var t,n=Object(s.a)(e.param);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.param.push(Cy.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.param)){e.param=[];var t,n=Object(s.a)(this.param);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.param.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Lu=function(){function e(t){if(Object(l.a)(this,e),this.scheduleId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.scheduleId=e.scheduleId)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).scheduleId=this.scheduleId,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Fu=function(){function e(t){if(Object(l.a)(this,e),this.scheduleId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.scheduleId=e.scheduleId)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).scheduleId=this.scheduleId,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Bu=function(){function e(t){if(Object(l.a)(this,e),this.scheduleId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.scheduleId=e.scheduleId)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).scheduleId=this.scheduleId,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Ru=function(){function e(t){if(Object(l.a)(this,e),this.sessionIds=void 0,this.printingType=void 0,this.templateSessionId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.sessionIds)){this.sessionIds=[];var t,n=Object(s.a)(e.sessionIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.sessionIds.push(i)}}catch(a){n.e(a)}finally{n.f()}}this.printingType=e.printingType,this.templateSessionId=e.templateSessionId}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.sessionIds)){e.sessionIds=[];var t,n=Object(s.a)(this.sessionIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.sessionIds.push(i)}}catch(a){n.e(a)}finally{n.f()}}return e.printingType=this.printingType,e.templateSessionId=this.templateSessionId,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Ju=function(){function e(t){if(Object(l.a)(this,e),this.page=void 0,this.pageSize=void 0,this.sortBy=void 0,this.filterBy=void 0,this.searchCriteria=void 0,this.exemptedIds=void 0,this.includeIds=void 0,this.scheduleId=void 0,this.emailTypeId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.page=e.page,this.pageSize=e.pageSize,this.sortBy=e.sortBy,Array.isArray(e.filterBy)){this.filterBy=[];var t,n=Object(s.a)(e.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.filterBy.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(e.searchCriteria)){this.searchCriteria=[];var a,r=Object(s.a)(e.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.searchCriteria.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(e.exemptedIds)){this.exemptedIds=[];var l,c=Object(s.a)(e.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.exemptedIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(e.includeIds)){this.includeIds=[];var u,m=Object(s.a)(e.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;this.includeIds.push(v)}}catch(f){m.e(f)}finally{m.f()}}this.scheduleId=e.scheduleId,this.emailTypeId=e.emailTypeId}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).page=this.page,e.pageSize=this.pageSize,e.sortBy=this.sortBy,Array.isArray(this.filterBy)){e.filterBy=[];var t,n=Object(s.a)(this.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.filterBy.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(this.searchCriteria)){e.searchCriteria=[];var a,r=Object(s.a)(this.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.searchCriteria.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(this.exemptedIds)){e.exemptedIds=[];var l,c=Object(s.a)(this.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.exemptedIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(this.includeIds)){e.includeIds=[];var u,m=Object(s.a)(this.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;e.includeIds.push(v)}}catch(f){m.e(f)}finally{m.f()}}return e.scheduleId=this.scheduleId,e.emailTypeId=this.emailTypeId,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Gu=function(){function e(t){if(Object(l.a)(this,e),this.securityGroupId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.securityGroupId=e.securityGroupId)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).securityGroupId=this.securityGroupId,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Uu=function(){function e(t){if(Object(l.a)(this,e),this.securityUserId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&Array.isArray(e.securityUserId)){this.securityUserId=[];var t,n=Object(s.a)(e.securityUserId);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.securityUserId.push(i)}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.securityUserId)){e.securityUserId=[];var t,n=Object(s.a)(this.securityUserId);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.securityUserId.push(i)}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),zu=function(){function e(t){if(Object(l.a)(this,e),this.page=void 0,this.pageSize=void 0,this.sortBy=void 0,this.filterBy=void 0,this.searchCriteria=void 0,this.exemptedIds=void 0,this.includeIds=void 0,this.securityGroupIds=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.page=e.page,this.pageSize=e.pageSize,this.sortBy=e.sortBy,Array.isArray(e.filterBy)){this.filterBy=[];var t,n=Object(s.a)(e.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.filterBy.push(i)}}catch(y){n.e(y)}finally{n.f()}}if(Array.isArray(e.searchCriteria)){this.searchCriteria=[];var a,r=Object(s.a)(e.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.searchCriteria.push(o)}}catch(y){r.e(y)}finally{r.f()}}if(Array.isArray(e.exemptedIds)){this.exemptedIds=[];var l,c=Object(s.a)(e.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.exemptedIds.push(d)}}catch(y){c.e(y)}finally{c.f()}}if(Array.isArray(e.includeIds)){this.includeIds=[];var u,m=Object(s.a)(e.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;this.includeIds.push(v)}}catch(y){m.e(y)}finally{m.f()}}if(Array.isArray(e.securityGroupIds)){this.securityGroupIds=[];var f,p=Object(s.a)(e.securityGroupIds);try{for(p.s();!(f=p.n()).done;){var h=f.value;this.securityGroupIds.push(h)}}catch(y){p.e(y)}finally{p.f()}}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).page=this.page,e.pageSize=this.pageSize,e.sortBy=this.sortBy,Array.isArray(this.filterBy)){e.filterBy=[];var t,n=Object(s.a)(this.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.filterBy.push(i)}}catch(y){n.e(y)}finally{n.f()}}if(Array.isArray(this.searchCriteria)){e.searchCriteria=[];var a,r=Object(s.a)(this.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.searchCriteria.push(o)}}catch(y){r.e(y)}finally{r.f()}}if(Array.isArray(this.exemptedIds)){e.exemptedIds=[];var l,c=Object(s.a)(this.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.exemptedIds.push(d)}}catch(y){c.e(y)}finally{c.f()}}if(Array.isArray(this.includeIds)){e.includeIds=[];var u,m=Object(s.a)(this.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;e.includeIds.push(v)}}catch(y){m.e(y)}finally{m.f()}}if(Array.isArray(this.securityGroupIds)){e.securityGroupIds=[];var f,p=Object(s.a)(this.securityGroupIds);try{for(p.s();!(f=p.n()).done;){var h=f.value;e.securityGroupIds.push(h)}}catch(y){p.e(y)}finally{p.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),qu=function(){function e(t){if(Object(l.a)(this,e),this.securityUserSavedFilterId=void 0,this.userId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.securityUserSavedFilterId=e.securityUserSavedFilterId,this.userId=e.userId)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).securityUserSavedFilterId=this.securityUserSavedFilterId,e.userId=this.userId,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Mu=function(){function e(t){if(Object(l.a)(this,e),this.sessionId=void 0,this.userId=void 0,this.licenseId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.sessionId=e.sessionId,this.userId=e.userId,this.licenseId=e.licenseId)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).sessionId=this.sessionId,e.userId=this.userId,e.licenseId=this.licenseId,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Wu=function(){function e(t){if(Object(l.a)(this,e),this.sessionIds=void 0,this.userId=void 0,this.sessionUsers=void 0,this.licenseIds=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.sessionIds)){this.sessionIds=[];var t,n=Object(s.a)(e.sessionIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.sessionIds.push(i)}}catch(u){n.e(u)}finally{n.f()}}if(this.userId=e.userId,Array.isArray(e.sessionUsers)){this.sessionUsers=[];var a,r=Object(s.a)(e.sessionUsers);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.sessionUsers.push(vg.fromJS(o))}}catch(u){r.e(u)}finally{r.f()}}if(Array.isArray(e.licenseIds)){this.licenseIds=[];var l,c=Object(s.a)(e.licenseIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.licenseIds.push(d)}}catch(u){c.e(u)}finally{c.f()}}}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.sessionIds)){e.sessionIds=[];var t,n=Object(s.a)(this.sessionIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.sessionIds.push(i)}}catch(u){n.e(u)}finally{n.f()}}if(e.userId=this.userId,Array.isArray(this.sessionUsers)){e.sessionUsers=[];var a,r=Object(s.a)(this.sessionUsers);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.sessionUsers.push(o.toJSON())}}catch(u){r.e(u)}finally{r.f()}}if(Array.isArray(this.licenseIds)){e.licenseIds=[];var l,c=Object(s.a)(this.licenseIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.licenseIds.push(d)}}catch(u){c.e(u)}finally{c.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Vu=function(){function e(t){if(Object(l.a)(this,e),this.sessionId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.sessionId=e.sessionId)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).sessionId=this.sessionId,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),_u=function(){function e(t){if(Object(l.a)(this,e),this.page=void 0,this.pageSize=void 0,this.sortBy=void 0,this.filterBy=void 0,this.searchCriteria=void 0,this.exemptedIds=void 0,this.includeIds=void 0,this.sessionEvaluationId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.page=e.page,this.pageSize=e.pageSize,this.sortBy=e.sortBy,Array.isArray(e.filterBy)){this.filterBy=[];var t,n=Object(s.a)(e.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.filterBy.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(e.searchCriteria)){this.searchCriteria=[];var a,r=Object(s.a)(e.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.searchCriteria.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(e.exemptedIds)){this.exemptedIds=[];var l,c=Object(s.a)(e.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.exemptedIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(e.includeIds)){this.includeIds=[];var u,m=Object(s.a)(e.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;this.includeIds.push(v)}}catch(f){m.e(f)}finally{m.f()}}this.sessionEvaluationId=e.sessionEvaluationId}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).page=this.page,e.pageSize=this.pageSize,e.sortBy=this.sortBy,Array.isArray(this.filterBy)){e.filterBy=[];var t,n=Object(s.a)(this.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.filterBy.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(this.searchCriteria)){e.searchCriteria=[];var a,r=Object(s.a)(this.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.searchCriteria.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(this.exemptedIds)){e.exemptedIds=[];var l,c=Object(s.a)(this.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.exemptedIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(this.includeIds)){e.includeIds=[];var u,m=Object(s.a)(this.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;e.includeIds.push(v)}}catch(f){m.e(f)}finally{m.f()}}return e.sessionEvaluationId=this.sessionEvaluationId,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Yu=function(){function e(t){if(Object(l.a)(this,e),this.sessionId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.sessionId=e.sessionId)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).sessionId=this.sessionId,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Hu=function(){function e(t){if(Object(l.a)(this,e),this.sessionId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&Array.isArray(e.sessionId)){this.sessionId=[];var t,n=Object(s.a)(e.sessionId);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.sessionId.push(i)}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.sessionId)){e.sessionId=[];var t,n=Object(s.a)(this.sessionId);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.sessionId.push(i)}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),$u=function(){function e(t){if(Object(l.a)(this,e),this.sessionParticipantId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.sessionParticipantId=e.sessionParticipantId)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).sessionParticipantId=this.sessionParticipantId,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Qu=function(){function e(t){if(Object(l.a)(this,e),this.page=void 0,this.pageSize=void 0,this.sortBy=void 0,this.filterBy=void 0,this.searchCriteria=void 0,this.exemptedIds=void 0,this.includeIds=void 0,this.sessionParticipantId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.page=e.page,this.pageSize=e.pageSize,this.sortBy=e.sortBy,Array.isArray(e.filterBy)){this.filterBy=[];var t,n=Object(s.a)(e.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.filterBy.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(e.searchCriteria)){this.searchCriteria=[];var a,r=Object(s.a)(e.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.searchCriteria.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(e.exemptedIds)){this.exemptedIds=[];var l,c=Object(s.a)(e.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.exemptedIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(e.includeIds)){this.includeIds=[];var u,m=Object(s.a)(e.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;this.includeIds.push(v)}}catch(f){m.e(f)}finally{m.f()}}this.sessionParticipantId=e.sessionParticipantId}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).page=this.page,e.pageSize=this.pageSize,e.sortBy=this.sortBy,Array.isArray(this.filterBy)){e.filterBy=[];var t,n=Object(s.a)(this.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.filterBy.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(this.searchCriteria)){e.searchCriteria=[];var a,r=Object(s.a)(this.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.searchCriteria.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(this.exemptedIds)){e.exemptedIds=[];var l,c=Object(s.a)(this.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.exemptedIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(this.includeIds)){e.includeIds=[];var u,m=Object(s.a)(this.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;e.includeIds.push(v)}}catch(f){m.e(f)}finally{m.f()}}return e.sessionParticipantId=this.sessionParticipantId,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Zu=function(){function e(t){if(Object(l.a)(this,e),this.page=void 0,this.pageSize=void 0,this.sortBy=void 0,this.filterBy=void 0,this.searchCriteria=void 0,this.exemptedIds=void 0,this.includeIds=void 0,this.libraryFileId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.page=e.page,this.pageSize=e.pageSize,this.sortBy=e.sortBy,Array.isArray(e.filterBy)){this.filterBy=[];var t,n=Object(s.a)(e.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.filterBy.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(e.searchCriteria)){this.searchCriteria=[];var a,r=Object(s.a)(e.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.searchCriteria.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(e.exemptedIds)){this.exemptedIds=[];var l,c=Object(s.a)(e.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.exemptedIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(e.includeIds)){this.includeIds=[];var u,m=Object(s.a)(e.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;this.includeIds.push(v)}}catch(f){m.e(f)}finally{m.f()}}this.libraryFileId=e.libraryFileId}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).page=this.page,e.pageSize=this.pageSize,e.sortBy=this.sortBy,Array.isArray(this.filterBy)){e.filterBy=[];var t,n=Object(s.a)(this.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.filterBy.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(this.searchCriteria)){e.searchCriteria=[];var a,r=Object(s.a)(this.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.searchCriteria.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(this.exemptedIds)){e.exemptedIds=[];var l,c=Object(s.a)(this.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.exemptedIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(this.includeIds)){e.includeIds=[];var u,m=Object(s.a)(this.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;e.includeIds.push(v)}}catch(f){m.e(f)}finally{m.f()}}return e.libraryFileId=this.libraryFileId,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Xu=function(){function e(t){if(Object(l.a)(this,e),this.sessionId=void 0,this.scheduleId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.sessionId=e.sessionId,this.scheduleId=e.scheduleId)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).sessionId=this.sessionId,e.scheduleId=this.scheduleId,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Ku=function(){function e(t){if(Object(l.a)(this,e),this.page=void 0,this.pageSize=void 0,this.sortBy=void 0,this.filterBy=void 0,this.searchCriteria=void 0,this.exemptedIds=void 0,this.includeIds=void 0,this.statementScheduleId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.page=e.page,this.pageSize=e.pageSize,this.sortBy=e.sortBy,Array.isArray(e.filterBy)){this.filterBy=[];var t,n=Object(s.a)(e.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.filterBy.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(e.searchCriteria)){this.searchCriteria=[];var a,r=Object(s.a)(e.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.searchCriteria.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(e.exemptedIds)){this.exemptedIds=[];var l,c=Object(s.a)(e.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.exemptedIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(e.includeIds)){this.includeIds=[];var u,m=Object(s.a)(e.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;this.includeIds.push(v)}}catch(f){m.e(f)}finally{m.f()}}this.statementScheduleId=e.statementScheduleId}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).page=this.page,e.pageSize=this.pageSize,e.sortBy=this.sortBy,Array.isArray(this.filterBy)){e.filterBy=[];var t,n=Object(s.a)(this.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.filterBy.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(this.searchCriteria)){e.searchCriteria=[];var a,r=Object(s.a)(this.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.searchCriteria.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(this.exemptedIds)){e.exemptedIds=[];var l,c=Object(s.a)(this.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.exemptedIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(this.includeIds)){e.includeIds=[];var u,m=Object(s.a)(this.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;e.includeIds.push(v)}}catch(f){m.e(f)}finally{m.f()}}return e.statementScheduleId=this.statementScheduleId,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),em=function(){function e(t){if(Object(l.a)(this,e),this.page=void 0,this.pageSize=void 0,this.sortBy=void 0,this.filterBy=void 0,this.searchCriteria=void 0,this.exemptedIds=void 0,this.includeIds=void 0,this.tagId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.page=e.page,this.pageSize=e.pageSize,this.sortBy=e.sortBy,Array.isArray(e.filterBy)){this.filterBy=[];var t,n=Object(s.a)(e.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.filterBy.push(i)}}catch(y){n.e(y)}finally{n.f()}}if(Array.isArray(e.searchCriteria)){this.searchCriteria=[];var a,r=Object(s.a)(e.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.searchCriteria.push(o)}}catch(y){r.e(y)}finally{r.f()}}if(Array.isArray(e.exemptedIds)){this.exemptedIds=[];var l,c=Object(s.a)(e.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.exemptedIds.push(d)}}catch(y){c.e(y)}finally{c.f()}}if(Array.isArray(e.includeIds)){this.includeIds=[];var u,m=Object(s.a)(e.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;this.includeIds.push(v)}}catch(y){m.e(y)}finally{m.f()}}if(Array.isArray(e.tagId)){this.tagId=[];var f,p=Object(s.a)(e.tagId);try{for(p.s();!(f=p.n()).done;){var h=f.value;this.tagId.push(h)}}catch(y){p.e(y)}finally{p.f()}}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).page=this.page,e.pageSize=this.pageSize,e.sortBy=this.sortBy,Array.isArray(this.filterBy)){e.filterBy=[];var t,n=Object(s.a)(this.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.filterBy.push(i)}}catch(y){n.e(y)}finally{n.f()}}if(Array.isArray(this.searchCriteria)){e.searchCriteria=[];var a,r=Object(s.a)(this.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.searchCriteria.push(o)}}catch(y){r.e(y)}finally{r.f()}}if(Array.isArray(this.exemptedIds)){e.exemptedIds=[];var l,c=Object(s.a)(this.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.exemptedIds.push(d)}}catch(y){c.e(y)}finally{c.f()}}if(Array.isArray(this.includeIds)){e.includeIds=[];var u,m=Object(s.a)(this.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;e.includeIds.push(v)}}catch(y){m.e(y)}finally{m.f()}}if(Array.isArray(this.tagId)){e.tagId=[];var f,p=Object(s.a)(this.tagId);try{for(p.s();!(f=p.n()).done;){var h=f.value;e.tagId.push(h)}}catch(y){p.e(y)}finally{p.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),tm=function(){function e(t){if(Object(l.a)(this,e),this.page=void 0,this.pageSize=void 0,this.sortBy=void 0,this.filterBy=void 0,this.searchCriteria=void 0,this.exemptedIds=void 0,this.includeIds=void 0,this.userId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.page=e.page,this.pageSize=e.pageSize,this.sortBy=e.sortBy,Array.isArray(e.filterBy)){this.filterBy=[];var t,n=Object(s.a)(e.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.filterBy.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(e.searchCriteria)){this.searchCriteria=[];var a,r=Object(s.a)(e.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.searchCriteria.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(e.exemptedIds)){this.exemptedIds=[];var l,c=Object(s.a)(e.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.exemptedIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(e.includeIds)){this.includeIds=[];var u,m=Object(s.a)(e.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;this.includeIds.push(v)}}catch(f){m.e(f)}finally{m.f()}}this.userId=e.userId}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).page=this.page,e.pageSize=this.pageSize,e.sortBy=this.sortBy,Array.isArray(this.filterBy)){e.filterBy=[];var t,n=Object(s.a)(this.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.filterBy.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(this.searchCriteria)){e.searchCriteria=[];var a,r=Object(s.a)(this.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.searchCriteria.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(this.exemptedIds)){e.exemptedIds=[];var l,c=Object(s.a)(this.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.exemptedIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(this.includeIds)){e.includeIds=[];var u,m=Object(s.a)(this.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;e.includeIds.push(v)}}catch(f){m.e(f)}finally{m.f()}}return e.userId=this.userId,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),nm=function(){function e(t){if(Object(l.a)(this,e),this.page=void 0,this.pageSize=void 0,this.sortBy=void 0,this.filterBy=void 0,this.searchCriteria=void 0,this.exemptedIds=void 0,this.includeIds=void 0,this.transcriptId=void 0,this.userId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.page=e.page,this.pageSize=e.pageSize,this.sortBy=e.sortBy,Array.isArray(e.filterBy)){this.filterBy=[];var t,n=Object(s.a)(e.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.filterBy.push(i)}}catch(y){n.e(y)}finally{n.f()}}if(Array.isArray(e.searchCriteria)){this.searchCriteria=[];var a,r=Object(s.a)(e.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.searchCriteria.push(o)}}catch(y){r.e(y)}finally{r.f()}}if(Array.isArray(e.exemptedIds)){this.exemptedIds=[];var l,c=Object(s.a)(e.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.exemptedIds.push(d)}}catch(y){c.e(y)}finally{c.f()}}if(Array.isArray(e.includeIds)){this.includeIds=[];var u,m=Object(s.a)(e.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;this.includeIds.push(v)}}catch(y){m.e(y)}finally{m.f()}}if(Array.isArray(e.transcriptId)){this.transcriptId=[];var f,p=Object(s.a)(e.transcriptId);try{for(p.s();!(f=p.n()).done;){var h=f.value;this.transcriptId.push(h)}}catch(y){p.e(y)}finally{p.f()}}this.userId=e.userId}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).page=this.page,e.pageSize=this.pageSize,e.sortBy=this.sortBy,Array.isArray(this.filterBy)){e.filterBy=[];var t,n=Object(s.a)(this.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.filterBy.push(i)}}catch(y){n.e(y)}finally{n.f()}}if(Array.isArray(this.searchCriteria)){e.searchCriteria=[];var a,r=Object(s.a)(this.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.searchCriteria.push(o)}}catch(y){r.e(y)}finally{r.f()}}if(Array.isArray(this.exemptedIds)){e.exemptedIds=[];var l,c=Object(s.a)(this.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.exemptedIds.push(d)}}catch(y){c.e(y)}finally{c.f()}}if(Array.isArray(this.includeIds)){e.includeIds=[];var u,m=Object(s.a)(this.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;e.includeIds.push(v)}}catch(y){m.e(y)}finally{m.f()}}if(Array.isArray(this.transcriptId)){e.transcriptId=[];var f,p=Object(s.a)(this.transcriptId);try{for(p.s();!(f=p.n()).done;){var h=f.value;e.transcriptId.push(h)}}catch(y){p.e(y)}finally{p.f()}}return e.userId=this.userId,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),im=function(){function e(t){if(Object(l.a)(this,e),this.userId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.userId=e.userId)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).userId=this.userId,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),am=function(){function e(t){if(Object(l.a)(this,e),this.page=void 0,this.pageSize=void 0,this.sortBy=void 0,this.filterBy=void 0,this.searchCriteria=void 0,this.exemptedIds=void 0,this.includeIds=void 0,this.userId=void 0,this.licenseId=void 0,this.periodNumber=void 0,this.forPreAdmission=void 0,this.isNYOverlapPeriod=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.page=e.page,this.pageSize=e.pageSize,this.sortBy=e.sortBy,Array.isArray(e.filterBy)){this.filterBy=[];var t,n=Object(s.a)(e.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.filterBy.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(e.searchCriteria)){this.searchCriteria=[];var a,r=Object(s.a)(e.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.searchCriteria.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(e.exemptedIds)){this.exemptedIds=[];var l,c=Object(s.a)(e.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.exemptedIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(e.includeIds)){this.includeIds=[];var u,m=Object(s.a)(e.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;this.includeIds.push(v)}}catch(f){m.e(f)}finally{m.f()}}this.userId=e.userId,this.licenseId=e.licenseId,this.periodNumber=e.periodNumber,this.forPreAdmission=e.forPreAdmission,this.isNYOverlapPeriod=e.isNYOverlapPeriod}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).page=this.page,e.pageSize=this.pageSize,e.sortBy=this.sortBy,Array.isArray(this.filterBy)){e.filterBy=[];var t,n=Object(s.a)(this.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.filterBy.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(this.searchCriteria)){e.searchCriteria=[];var a,r=Object(s.a)(this.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.searchCriteria.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(this.exemptedIds)){e.exemptedIds=[];var l,c=Object(s.a)(this.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.exemptedIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(this.includeIds)){e.includeIds=[];var u,m=Object(s.a)(this.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;e.includeIds.push(v)}}catch(f){m.e(f)}finally{m.f()}}return e.userId=this.userId,e.licenseId=this.licenseId,e.periodNumber=this.periodNumber,e.forPreAdmission=this.forPreAdmission,e.isNYOverlapPeriod=this.isNYOverlapPeriod,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),rm=function(){function e(t){if(Object(l.a)(this,e),this.userId=void 0,this.licenseId=void 0,this.periodNumber=void 0,this.groupingName=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.userId=e.userId,this.licenseId=e.licenseId,this.periodNumber=e.periodNumber,this.groupingName=e.groupingName)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).userId=this.userId,e.licenseId=this.licenseId,e.periodNumber=this.periodNumber,e.groupingName=this.groupingName,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),om=function(){function e(t){if(Object(l.a)(this,e),this.userId=void 0,this.licenseId=void 0,this.periodFrom=void 0,this.periodTo=void 0,this.allPeriods=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.userId=e.userId,this.licenseId=e.licenseId,this.periodFrom=e.periodFrom?new Date(e.periodFrom.toString()):void 0,this.periodTo=e.periodTo?new Date(e.periodTo.toString()):void 0,this.allPeriods=e.allPeriods)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).userId=this.userId,e.licenseId=this.licenseId,e.periodFrom=this.periodFrom?this.periodFrom.toISOString():void 0,e.periodTo=this.periodTo?this.periodTo.toISOString():void 0,e.allPeriods=this.allPeriods,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),sm=function(){function e(t){if(Object(l.a)(this,e),this.userId=void 0,this.licenseId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.userId=e.userId,this.licenseId=e.licenseId)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).userId=this.userId,e.licenseId=this.licenseId,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),lm=function(){function e(t){if(Object(l.a)(this,e),this.userIdList=void 0,this.licenseId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.userIdList)){this.userIdList=[];var t,n=Object(s.a)(e.userIdList);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.userIdList.push(i)}}catch(a){n.e(a)}finally{n.f()}}this.licenseId=e.licenseId}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.userIdList)){e.userIdList=[];var t,n=Object(s.a)(this.userIdList);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.userIdList.push(i)}}catch(a){n.e(a)}finally{n.f()}}return e.licenseId=this.licenseId,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),cm=function(){function e(t){if(Object(l.a)(this,e),this.userId=void 0,this.licenseId=void 0,this.isCurrentPeriod=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.userId=e.userId,this.licenseId=e.licenseId,this.isCurrentPeriod=e.isCurrentPeriod)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).userId=this.userId,e.licenseId=this.licenseId,e.isCurrentPeriod=this.isCurrentPeriod,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),dm=function(){function e(t){if(Object(l.a)(this,e),this.userId=void 0,this.licenseId=void 0,this.isCurrentPeriod=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.userId=e.userId,this.licenseId=e.licenseId,this.isCurrentPeriod=e.isCurrentPeriod)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).userId=this.userId,e.licenseId=this.licenseId,e.isCurrentPeriod=this.isCurrentPeriod,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),um=function(){function e(t){if(Object(l.a)(this,e),this.userId=void 0,this.licenseId=void 0,this.isRequestFromPortal=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.userId=e.userId,this.licenseId=e.licenseId,this.isRequestFromPortal=e.isRequestFromPortal)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).userId=this.userId,e.licenseId=this.licenseId,e.isRequestFromPortal=this.isRequestFromPortal,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),mm=function(){function e(t){if(Object(l.a)(this,e),this.sessionParticipantId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.sessionParticipantId=e.sessionParticipantId)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).sessionParticipantId=this.sessionParticipantId,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),vm=function(){function e(t){if(Object(l.a)(this,e),this.userId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.userId=e.userId)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).userId=this.userId,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),fm=function(){function e(t){if(Object(l.a)(this,e),this.userSavedFilterId=void 0,this.userId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.userSavedFilterId=e.userSavedFilterId,this.userId=e.userId)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).userSavedFilterId=this.userSavedFilterId,e.userId=this.userId,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),pm=function(){function e(t){if(Object(l.a)(this,e),this.page=void 0,this.pageSize=void 0,this.sortBy=void 0,this.filterBy=void 0,this.searchCriteria=void 0,this.exemptedIds=void 0,this.includeIds=void 0,this.licenseId=void 0,this.statusId=void 0,this.isCurrentPeriod=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.page=e.page,this.pageSize=e.pageSize,this.sortBy=e.sortBy,Array.isArray(e.filterBy)){this.filterBy=[];var t,n=Object(s.a)(e.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.filterBy.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(e.searchCriteria)){this.searchCriteria=[];var a,r=Object(s.a)(e.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.searchCriteria.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(e.exemptedIds)){this.exemptedIds=[];var l,c=Object(s.a)(e.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.exemptedIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(e.includeIds)){this.includeIds=[];var u,m=Object(s.a)(e.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;this.includeIds.push(v)}}catch(f){m.e(f)}finally{m.f()}}this.licenseId=e.licenseId,this.statusId=e.statusId,this.isCurrentPeriod=e.isCurrentPeriod}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).page=this.page,e.pageSize=this.pageSize,e.sortBy=this.sortBy,Array.isArray(this.filterBy)){e.filterBy=[];var t,n=Object(s.a)(this.filterBy);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.filterBy.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(this.searchCriteria)){e.searchCriteria=[];var a,r=Object(s.a)(this.searchCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.searchCriteria.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(this.exemptedIds)){e.exemptedIds=[];var l,c=Object(s.a)(this.exemptedIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.exemptedIds.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(this.includeIds)){e.includeIds=[];var u,m=Object(s.a)(this.includeIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;e.includeIds.push(v)}}catch(f){m.e(f)}finally{m.f()}}return e.licenseId=this.licenseId,e.statusId=this.statusId,e.isCurrentPeriod=this.isCurrentPeriod,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),hm=function(){function e(t){if(Object(l.a)(this,e),this.userId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.userId=e.userId)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).userId=this.userId,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}();!function(e){e[e.Days=1]="Days",e[e.Weeks=2]="Weeks",e[e.Months=3]="Months"}($s||($s={})),function(e){e[e.CalendarBased=1]="CalendarBased",e[e.TimeToComplete=2]="TimeToComplete",e[e.NoneSpecified=3]="NoneSpecified"}(Qs||(Qs={}));var ym,bm=function(){function e(t){if(Object(l.a)(this,e),this.activityId=void 0,this.name=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.activityId=e.activityId,this.name=e.name)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).activityId=this.activityId,e.name=this.name,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),gm=function(){function e(t){if(Object(l.a)(this,e),this.courseId=void 0,this.displayOrder=void 0,this.name=void 0,this.type=void 0,this.providerName=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.courseId=e.courseId,this.displayOrder=e.displayOrder,this.name=e.name,this.type=e.type,this.providerName=e.providerName)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).courseId=this.courseId,e.displayOrder=this.displayOrder,e.name=this.name,e.type=this.type,e.providerName=this.providerName,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Em=function(){function e(t){if(Object(l.a)(this,e),this.learningPlanId=void 0,this.title=void 0,this.description=void 0,this.type=void 0,this.startDate=void 0,this.endDate=void 0,this.createdDate=void 0,this.lastModifiedDate=void 0,this.completedDate=void 0,this.timeframeOfCompletion=void 0,this.timeframOfCompletionId=void 0,this.duration=void 0,this.durationType=void 0,this.durationTypeId=void 0,this.requiredCourses=void 0,this.mandatoryCount=void 0,this.learnersChoiceCount=void 0,this.activityCount=void 0,this.incompleteCount=void 0,this.isIncluded=void 0,this.status=void 0,this.activityStatus=void 0,this.learnersChoiceStatus=void 0,this.mandatoryStatus=void 0,this.learningPlanCourses=void 0,this.learningPlanActivities=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.learningPlanId=e.learningPlanId,this.title=e.title,this.description=e.description,this.type=e.type,this.startDate=e.startDate?new Date(e.startDate.toString()):void 0,this.endDate=e.endDate?new Date(e.endDate.toString()):void 0,this.createdDate=e.createdDate?new Date(e.createdDate.toString()):void 0,this.lastModifiedDate=e.lastModifiedDate?new Date(e.lastModifiedDate.toString()):void 0,this.completedDate=e.completedDate?new Date(e.completedDate.toString()):void 0,this.timeframeOfCompletion=e.timeframeOfCompletion,this.timeframOfCompletionId=e.timeframOfCompletionId,this.duration=e.duration,this.durationType=e.durationType,this.durationTypeId=e.durationTypeId,this.requiredCourses=e.requiredCourses,this.mandatoryCount=e.mandatoryCount,this.learnersChoiceCount=e.learnersChoiceCount,this.activityCount=e.activityCount,this.incompleteCount=e.incompleteCount,this.isIncluded=e.isIncluded,this.status=e.status,this.activityStatus=e.activityStatus,this.learnersChoiceStatus=e.learnersChoiceStatus,this.mandatoryStatus=e.mandatoryStatus,Array.isArray(e.learningPlanCourses)){this.learningPlanCourses=[];var t,n=Object(s.a)(e.learningPlanCourses);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.learningPlanCourses.push(gm.fromJS(i))}}catch(l){n.e(l)}finally{n.f()}}if(Array.isArray(e.learningPlanActivities)){this.learningPlanActivities=[];var a,r=Object(s.a)(e.learningPlanActivities);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.learningPlanActivities.push(bm.fromJS(o))}}catch(l){r.e(l)}finally{r.f()}}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).learningPlanId=this.learningPlanId,e.title=this.title,e.description=this.description,e.type=this.type,e.startDate=this.startDate?this.startDate.toISOString():void 0,e.endDate=this.endDate?this.endDate.toISOString():void 0,e.createdDate=this.createdDate?this.createdDate.toISOString():void 0,e.lastModifiedDate=this.lastModifiedDate?this.lastModifiedDate.toISOString():void 0,e.completedDate=this.completedDate?this.completedDate.toISOString():void 0,e.timeframeOfCompletion=this.timeframeOfCompletion,e.timeframOfCompletionId=this.timeframOfCompletionId,e.duration=this.duration,e.durationType=this.durationType,e.durationTypeId=this.durationTypeId,e.requiredCourses=this.requiredCourses,e.mandatoryCount=this.mandatoryCount,e.learnersChoiceCount=this.learnersChoiceCount,e.activityCount=this.activityCount,e.incompleteCount=this.incompleteCount,e.isIncluded=this.isIncluded,e.status=this.status,e.activityStatus=this.activityStatus,e.learnersChoiceStatus=this.learnersChoiceStatus,e.mandatoryStatus=this.mandatoryStatus,Array.isArray(this.learningPlanCourses)){e.learningPlanCourses=[];var t,n=Object(s.a)(this.learningPlanCourses);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.learningPlanCourses.push(i.toJSON())}}catch(l){n.e(l)}finally{n.f()}}if(Array.isArray(this.learningPlanActivities)){e.learningPlanActivities=[];var a,r=Object(s.a)(this.learningPlanActivities);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.learningPlanActivities.push(o.toJSON())}}catch(l){r.e(l)}finally{r.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Im=function(){function e(t){if(Object(l.a)(this,e),this.learningPlans=void 0,this.recordCount=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.learningPlans)){this.learningPlans=[];var t,n=Object(s.a)(e.learningPlans);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.learningPlans.push(Em.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}this.recordCount=e.recordCount}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.learningPlans)){e.learningPlans=[];var t,n=Object(s.a)(this.learningPlans);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.learningPlans.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e.recordCount=this.recordCount,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Sm=function(){function e(t){if(Object(l.a)(this,e),this.learningPlanId=void 0,this.participantId=void 0,this.title=void 0,this.status=void 0,this.isIncluded=void 0,this.activityStatus=void 0,this.learnersChoiceStatus=void 0,this.mandatoryStatus=void 0,this.mandatoryCount=void 0,this.learnersChoiceCount=void 0,this.activityCount=void 0,this.learningPlanCourses=void 0,this.learningPlanActivities=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.learningPlanId=e.learningPlanId,this.participantId=e.participantId,this.title=e.title,this.status=e.status,this.isIncluded=e.isIncluded,this.activityStatus=e.activityStatus,this.learnersChoiceStatus=e.learnersChoiceStatus,this.mandatoryStatus=e.mandatoryStatus,this.mandatoryCount=e.mandatoryCount,this.learnersChoiceCount=e.learnersChoiceCount,this.activityCount=e.activityCount,Array.isArray(e.learningPlanCourses)){this.learningPlanCourses=[];var t,n=Object(s.a)(e.learningPlanCourses);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.learningPlanCourses.push(gm.fromJS(i))}}catch(l){n.e(l)}finally{n.f()}}if(Array.isArray(e.learningPlanActivities)){this.learningPlanActivities=[];var a,r=Object(s.a)(e.learningPlanActivities);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.learningPlanActivities.push(bm.fromJS(o))}}catch(l){r.e(l)}finally{r.f()}}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).learningPlanId=this.learningPlanId,e.participantId=this.participantId,e.title=this.title,e.status=this.status,e.isIncluded=this.isIncluded,e.activityStatus=this.activityStatus,e.learnersChoiceStatus=this.learnersChoiceStatus,e.mandatoryStatus=this.mandatoryStatus,e.mandatoryCount=this.mandatoryCount,e.learnersChoiceCount=this.learnersChoiceCount,e.activityCount=this.activityCount,Array.isArray(this.learningPlanCourses)){e.learningPlanCourses=[];var t,n=Object(s.a)(this.learningPlanCourses);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.learningPlanCourses.push(i.toJSON())}}catch(l){n.e(l)}finally{n.f()}}if(Array.isArray(this.learningPlanActivities)){e.learningPlanActivities=[];var a,r=Object(s.a)(this.learningPlanActivities);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.learningPlanActivities.push(o.toJSON())}}catch(l){r.e(l)}finally{r.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Om=function(){function e(t){if(Object(l.a)(this,e),this.userLearningPlans=void 0,this.recordCount=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.userLearningPlans)){this.userLearningPlans=[];var t,n=Object(s.a)(e.userLearningPlans);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.userLearningPlans.push(Sm.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}this.recordCount=e.recordCount}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.userLearningPlans)){e.userLearningPlans=[];var t,n=Object(s.a)(this.userLearningPlans);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.userLearningPlans.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e.recordCount=this.recordCount,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Cm=function(){function e(t){if(Object(l.a)(this,e),this.learningPlanParticipantId=void 0,this.learningPlanId=void 0,this.requirementId=void 0,this.courseTitle=void 0,this.specificRequirementId=void 0,this.requirementType=void 0,this.name=void 0,this.startDate=void 0,this.endDate=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.learningPlanParticipantId=e.learningPlanParticipantId,this.learningPlanId=e.learningPlanId,this.requirementId=e.requirementId,this.courseTitle=e.courseTitle,this.specificRequirementId=e.specificRequirementId,this.requirementType=e.requirementType,this.name=e.name,this.startDate=e.startDate?new Date(e.startDate.toString()):void 0,this.endDate=e.endDate?new Date(e.endDate.toString()):void 0)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).learningPlanParticipantId=this.learningPlanParticipantId,e.learningPlanId=this.learningPlanId,e.requirementId=this.requirementId,e.courseTitle=this.courseTitle,e.specificRequirementId=this.specificRequirementId,e.requirementType=this.requirementType,e.name=this.name,e.startDate=this.startDate?this.startDate.toISOString():void 0,e.endDate=this.endDate?this.endDate.toISOString():void 0,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),jm=function(){function e(t){if(Object(l.a)(this,e),this.learningPlanParticipantRequirements=void 0,this.recordCount=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.learningPlanParticipantRequirements)){this.learningPlanParticipantRequirements=[];var t,n=Object(s.a)(e.learningPlanParticipantRequirements);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.learningPlanParticipantRequirements.push(Cm.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}this.recordCount=e.recordCount}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.learningPlanParticipantRequirements)){e.learningPlanParticipantRequirements=[];var t,n=Object(s.a)(this.learningPlanParticipantRequirements);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.learningPlanParticipantRequirements.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e.recordCount=this.recordCount,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),xm=function(){function e(t){if(Object(l.a)(this,e),this.userLicenseCompliancePeriods=void 0,this.recordCount=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.userLicenseCompliancePeriods)){this.userLicenseCompliancePeriods=[];var t,n=Object(s.a)(e.userLicenseCompliancePeriods);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.userLicenseCompliancePeriods.push(Am.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}this.recordCount=e.recordCount}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.userLicenseCompliancePeriods)){e.userLicenseCompliancePeriods=[];var t,n=Object(s.a)(this.userLicenseCompliancePeriods);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.userLicenseCompliancePeriods.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e.recordCount=this.recordCount,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Am=function(){function e(t){if(Object(l.a)(this,e),this.userLicenseComplianceId=void 0,this.userId=void 0,this.licenseId=void 0,this.licenseName=void 0,this.periodTypeId=void 0,this.periodFrom=void 0,this.periodTo=void 0,this.complianceStatusId=void 0,this.complianceStatus=void 0,this.periodToDisplay=void 0,this.priorPeriodDeficiency=void 0,this.totalCreditsNeeded=void 0,this.additionalRequirementStatus=void 0,this.renewalDate=void 0,this.userSubLicenseCompliancePeriod=void 0,this.industry=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.userLicenseComplianceId=e.userLicenseComplianceId,this.userId=e.userId,this.licenseId=e.licenseId,this.licenseName=e.licenseName,this.periodTypeId=e.periodTypeId,this.periodFrom=e.periodFrom?new Date(e.periodFrom.toString()):void 0,this.periodTo=e.periodTo?new Date(e.periodTo.toString()):void 0,this.complianceStatusId=e.complianceStatusId,this.complianceStatus=e.complianceStatus,this.periodToDisplay=e.periodToDisplay?new Date(e.periodToDisplay.toString()):void 0,this.priorPeriodDeficiency=e.priorPeriodDeficiency,this.totalCreditsNeeded=e.totalCreditsNeeded,this.additionalRequirementStatus=e.additionalRequirementStatus,this.renewalDate=e.renewalDate?new Date(e.renewalDate.toString()):void 0,this.userSubLicenseCompliancePeriod=e.userSubLicenseCompliancePeriod?Tm.fromJS(e.userSubLicenseCompliancePeriod):void 0,this.industry=e.industry)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).userLicenseComplianceId=this.userLicenseComplianceId,e.userId=this.userId,e.licenseId=this.licenseId,e.licenseName=this.licenseName,e.periodTypeId=this.periodTypeId,e.periodFrom=this.periodFrom?this.periodFrom.toISOString():void 0,e.periodTo=this.periodTo?this.periodTo.toISOString():void 0,e.complianceStatusId=this.complianceStatusId,e.complianceStatus=this.complianceStatus,e.periodToDisplay=this.periodToDisplay?this.periodToDisplay.toISOString():void 0,e.priorPeriodDeficiency=this.priorPeriodDeficiency,e.totalCreditsNeeded=this.totalCreditsNeeded,e.additionalRequirementStatus=this.additionalRequirementStatus,e.renewalDate=this.renewalDate?this.renewalDate.toISOString():void 0,e.userSubLicenseCompliancePeriod=this.userSubLicenseCompliancePeriod?this.userSubLicenseCompliancePeriod.toJSON():void 0,e.industry=this.industry,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Tm=function(){function e(t){if(Object(l.a)(this,e),this.userLicenseComplianceId=void 0,this.userId=void 0,this.licenseId=void 0,this.licenseName=void 0,this.periodTypeId=void 0,this.periodFrom=void 0,this.periodTo=void 0,this.complianceStatusId=void 0,this.complianceStatus=void 0,this.periodToDisplay=void 0,this.parentLicenseId=void 0,this.priorPeriodDeficiency=void 0,this.totalCreditsNeeded=void 0,this.additionalRequirementStatus=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.userLicenseComplianceId=e.userLicenseComplianceId,this.userId=e.userId,this.licenseId=e.licenseId,this.licenseName=e.licenseName,this.periodTypeId=e.periodTypeId,this.periodFrom=e.periodFrom?new Date(e.periodFrom.toString()):void 0,this.periodTo=e.periodTo?new Date(e.periodTo.toString()):void 0,this.complianceStatusId=e.complianceStatusId,this.complianceStatus=e.complianceStatus,this.periodToDisplay=e.periodToDisplay?new Date(e.periodToDisplay.toString()):void 0,this.parentLicenseId=e.parentLicenseId,this.priorPeriodDeficiency=e.priorPeriodDeficiency,this.totalCreditsNeeded=e.totalCreditsNeeded,this.additionalRequirementStatus=e.additionalRequirementStatus)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).userLicenseComplianceId=this.userLicenseComplianceId,e.userId=this.userId,e.licenseId=this.licenseId,e.licenseName=this.licenseName,e.periodTypeId=this.periodTypeId,e.periodFrom=this.periodFrom?this.periodFrom.toISOString():void 0,e.periodTo=this.periodTo?this.periodTo.toISOString():void 0,e.complianceStatusId=this.complianceStatusId,e.complianceStatus=this.complianceStatus,e.periodToDisplay=this.periodToDisplay?this.periodToDisplay.toISOString():void 0,e.parentLicenseId=this.parentLicenseId,e.priorPeriodDeficiency=this.priorPeriodDeficiency,e.totalCreditsNeeded=this.totalCreditsNeeded,e.additionalRequirementStatus=this.additionalRequirementStatus,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),wm=function(){function e(t){if(Object(l.a)(this,e),this.sessionParticipantId=void 0,this.sessionId=void 0,this.userId=void 0,this.isInstructor=void 0,this.completionDate=void 0,this.startDate=void 0,this.endDate=void 0,this.courseId=void 0,this.title=void 0,this.providerId=void 0,this.providerName=void 0,this.formatId=void 0,this.format=void 0,this.formatPortalCategory=void 0,this.isValidated=void 0,this.shouldDisplayDateRange=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.sessionParticipantId=e.sessionParticipantId,this.sessionId=e.sessionId,this.userId=e.userId,this.isInstructor=e.isInstructor,this.completionDate=e.completionDate?new Date(e.completionDate.toString()):void 0,this.startDate=e.startDate?new Date(e.startDate.toString()):void 0,this.endDate=e.endDate?new Date(e.endDate.toString()):void 0,this.courseId=e.courseId,this.title=e.title,this.providerId=e.providerId,this.providerName=e.providerName,this.formatId=e.formatId,this.format=e.format,this.formatPortalCategory=e.formatPortalCategory,this.isValidated=e.isValidated,this.shouldDisplayDateRange=e.shouldDisplayDateRange)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).sessionParticipantId=this.sessionParticipantId,e.sessionId=this.sessionId,e.userId=this.userId,e.isInstructor=this.isInstructor,e.completionDate=this.completionDate?this.completionDate.toISOString():void 0,e.startDate=this.startDate?this.startDate.toISOString():void 0,e.endDate=this.endDate?this.endDate.toISOString():void 0,e.courseId=this.courseId,e.title=this.title,e.providerId=this.providerId,e.providerName=this.providerName,e.formatId=this.formatId,e.format=this.format,e.formatPortalCategory=this.formatPortalCategory,e.isValidated=this.isValidated,e.shouldDisplayDateRange=this.shouldDisplayDateRange,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),km=function(){function e(t){if(Object(l.a)(this,e),this.userTranscripts=void 0,this.recordCount=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.userTranscripts)){this.userTranscripts=[];var t,n=Object(s.a)(e.userTranscripts);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.userTranscripts.push(wm.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}this.recordCount=e.recordCount}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.userTranscripts)){e.userTranscripts=[];var t,n=Object(s.a)(this.userTranscripts);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.userTranscripts.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e.recordCount=this.recordCount,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Pm=function(){function e(t){if(Object(l.a)(this,e),this.attribute=void 0,this.comparison=void 0,this.filter=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&(this.attribute=e.attribute,this.comparison=e.comparison,Array.isArray(e.filter))){this.filter=[];var t,n=Object(s.a)(e.filter);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.filter.push(Nm.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).attribute=this.attribute,e.comparison=this.comparison,Array.isArray(this.filter)){e.filter=[];var t,n=Object(s.a)(this.filter);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.filter.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Nm=function(){function e(t){if(Object(l.a)(this,e),this.classYearId=void 0,this.departmentId=void 0,this.ethnicityId=void 0,this.genderId=void 0,this.levelId=void 0,this.locationId=void 0,this.positionId=void 0,this.practiceAreaId=void 0,this.licenseId=void 0,this.userTypeId=void 0,this.affiliationId=void 0,this.name=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.classYearId=e.classYearId,this.departmentId=e.departmentId,this.ethnicityId=e.ethnicityId,this.genderId=e.genderId,this.levelId=e.levelId,this.locationId=e.locationId,this.positionId=e.positionId,this.practiceAreaId=e.practiceAreaId,this.licenseId=e.licenseId,this.userTypeId=e.userTypeId,this.affiliationId=e.affiliationId,this.name=e.name)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).classYearId=this.classYearId,e.departmentId=this.departmentId,e.ethnicityId=this.ethnicityId,e.genderId=this.genderId,e.levelId=this.levelId,e.locationId=this.locationId,e.positionId=this.positionId,e.practiceAreaId=this.practiceAreaId,e.licenseId=this.licenseId,e.userTypeId=this.userTypeId,e.affiliationId=this.affiliationId,e.name=this.name,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Dm=function(){function e(t){if(Object(l.a)(this,e),this.emailName=void 0,this.id=void 0,this.emailSubject=void 0,this.liveDomain=void 0,this.portalId=void 0,this.previewKey=void 0,this.previewUrl=void 0,this.publishDate=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.emailName=e.emailName,this.id=e.id,this.emailSubject=e.emailSubject,this.liveDomain=e.liveDomain,this.portalId=e.portalId,this.previewKey=e.previewKey,this.previewUrl=e.previewUrl,this.publishDate=e.publishDate?new Date(e.publishDate.toString()):void 0)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).emailName=this.emailName,e.id=this.id,e.emailSubject=this.emailSubject,e.liveDomain=this.liveDomain,e.portalId=this.portalId,e.previewKey=this.previewKey,e.previewUrl=this.previewUrl,e.publishDate=this.publishDate?this.publishDate.toISOString():void 0,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Lm=function(){function e(t){if(Object(l.a)(this,e),this.id=void 0,this.url=void 0,this.thumb=void 0,this.tag=void 0,this.name=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.id=e.id,this.url=e.url,this.thumb=e.thumb,this.tag=e.tag,this.name=e.name)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).id=this.id,e.url=this.url,e.thumb=this.thumb,e.tag=this.tag,e.name=this.name,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}();!function(e){e[e.Insert=1]="Insert",e[e.Update=2]="Update",e[e.Exclude=3]="Exclude",e[e.Error=4]="Error",e[e.Duplicate=5]="Duplicate"}(ym||(ym={}));var Fm,Bm=function(){function e(t){if(Object(l.a)(this,e),this.importId=void 0,this.moduleName=void 0,this.fileName=void 0,this.startDateTime=void 0,this.endDateTime=void 0,this.importStatusId=void 0,this.importStatusDescription=void 0,this.resultText=void 0,this.tableConfiguration=void 0,this.importRows=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&(this.importId=e.importId,this.moduleName=e.moduleName,this.fileName=e.fileName,this.startDateTime=e.startDateTime?new Date(e.startDateTime.toString()):void 0,this.endDateTime=e.endDateTime?new Date(e.endDateTime.toString()):void 0,this.importStatusId=e.importStatusId,this.importStatusDescription=e.importStatusDescription,this.resultText=e.resultText,this.tableConfiguration=e.tableConfiguration,Array.isArray(e.importRows))){this.importRows=[];var t,n=Object(s.a)(e.importRows);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.importRows.push(Rm.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).importId=this.importId,e.moduleName=this.moduleName,e.fileName=this.fileName,e.startDateTime=this.startDateTime?this.startDateTime.toISOString():void 0,e.endDateTime=this.endDateTime?this.endDateTime.toISOString():void 0,e.importStatusId=this.importStatusId,e.importStatusDescription=this.importStatusDescription,e.resultText=this.resultText,e.tableConfiguration=this.tableConfiguration,Array.isArray(this.importRows)){e.importRows=[];var t,n=Object(s.a)(this.importRows);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.importRows.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Rm=function(){function e(t){if(Object(l.a)(this,e),this.importRowId=void 0,this.rowIndex=void 0,this.content=void 0,this.isValid=void 0,this.importStatusId=void 0,this.importStatusDescription=void 0,this.resultText=void 0,this.jsonData=void 0,this.adjustedValues=void 0,this.importAction=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.importRowId=e.importRowId,this.rowIndex=e.rowIndex,this.content=e.content,this.isValid=e.isValid,this.importStatusId=e.importStatusId,this.importStatusDescription=e.importStatusDescription,this.resultText=e.resultText,this.jsonData=e.jsonData,this.adjustedValues=e.adjustedValues,this.importAction=e.importAction)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).importRowId=this.importRowId,e.rowIndex=this.rowIndex,e.content=this.content,e.isValid=this.isValid,e.importStatusId=this.importStatusId,e.importStatusDescription=this.importStatusDescription,e.resultText=this.resultText,e.jsonData=this.jsonData,e.adjustedValues=this.adjustedValues,e.importAction=this.importAction,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}();!function(e){e[e.Configuring=0]="Configuring",e[e.Scheduled=1]="Scheduled",e[e.Processing=2]="Processing",e[e.PartiallySuccessful=3]="PartiallySuccessful",e[e.Success=4]="Success",e[e.Error=5]="Error",e[e.Skipped=6]="Skipped",e[e.Validated=7]="Validated"}(Fm||(Fm={}));var Jm,Gm,Um=function(){function e(t){if(Object(l.a)(this,e),this.sessionId=void 0,this.courseId=void 0,this.title=void 0,this.courseFormat=void 0,this.courseFormatPortalCategory=void 0,this.courseTitle=void 0,this.courseIdLabel=void 0,this.provider=void 0,this.startDate=void 0,this.endDate=void 0,this.startTime=void 0,this.endTime=void 0,this.timeZone=void 0,this.location=void 0,this.room=void 0,this.cost=void 0,this.detail=void 0,this.duration=void 0,this.isRegistrationApprovalNeeded=void 0,this.registrationLimit=void 0,this.isWaitlistingAllowed=void 0,this.evaluationId=void 0,this.evaluation=void 0,this.areQuestionsAllowed=void 0,this.url=void 0,this.note=void 0,this.isOpenToClient=void 0,this.isIndividualSessionDateAllowed=void 0,this.isPublished=void 0,this.isOnlineLearning=void 0,this.validatedCount=void 0,this.tentativeCount=void 0,this.registeredCount=void 0,this.pendingCount=void 0,this.inProgressCount=void 0,this.disqualifiedCount=void 0,this.cancelledDate=void 0,this.sessionApprovers=void 0,this.sessionLicenses=void 0,this.sessionMaterials=void 0,this.sessionInstructors=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.sessionId=e.sessionId,this.courseId=e.courseId,this.title=e.title,this.courseFormat=e.courseFormat,this.courseFormatPortalCategory=e.courseFormatPortalCategory,this.courseTitle=e.courseTitle,this.courseIdLabel=e.courseIdLabel,this.provider=e.provider,this.startDate=e.startDate?new Date(e.startDate.toString()):void 0,this.endDate=e.endDate?new Date(e.endDate.toString()):void 0,this.startTime=e.startTime,this.endTime=e.endTime,this.timeZone=e.timeZone,this.location=e.location,this.room=e.room,this.cost=e.cost,this.detail=e.detail,this.duration=e.duration,this.isRegistrationApprovalNeeded=e.isRegistrationApprovalNeeded,this.registrationLimit=e.registrationLimit,this.isWaitlistingAllowed=e.isWaitlistingAllowed,this.evaluationId=e.evaluationId,this.evaluation=e.evaluation,this.areQuestionsAllowed=e.areQuestionsAllowed,this.url=e.url,this.note=e.note,this.isOpenToClient=e.isOpenToClient,this.isIndividualSessionDateAllowed=e.isIndividualSessionDateAllowed,this.isPublished=e.isPublished,this.isOnlineLearning=e.isOnlineLearning,this.validatedCount=e.validatedCount,this.tentativeCount=e.tentativeCount,this.registeredCount=e.registeredCount,this.pendingCount=e.pendingCount,this.inProgressCount=e.inProgressCount,this.disqualifiedCount=e.disqualifiedCount,this.cancelledDate=e.cancelledDate?new Date(e.cancelledDate.toString()):void 0,Array.isArray(e.sessionApprovers)){this.sessionApprovers=[];var t,n=Object(s.a)(e.sessionApprovers);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.sessionApprovers.push(vb.fromJS(i))}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(e.sessionLicenses)){this.sessionLicenses=[];var a,r=Object(s.a)(e.sessionLicenses);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.sessionLicenses.push(Fb.fromJS(o))}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(e.sessionMaterials)){this.sessionMaterials=[];var l,c=Object(s.a)(e.sessionMaterials);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.sessionMaterials.push(qb.fromJS(d))}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(e.sessionInstructors)){this.sessionInstructors=[];var u,m=Object(s.a)(e.sessionInstructors);try{for(m.s();!(u=m.n()).done;){var v=u.value;this.sessionInstructors.push(v)}}catch(f){m.e(f)}finally{m.f()}}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).sessionId=this.sessionId,e.courseId=this.courseId,e.title=this.title,e.courseFormat=this.courseFormat,e.courseFormatPortalCategory=this.courseFormatPortalCategory,e.courseTitle=this.courseTitle,e.courseIdLabel=this.courseIdLabel,e.provider=this.provider,e.startDate=this.startDate?this.startDate.toISOString():void 0,e.endDate=this.endDate?this.endDate.toISOString():void 0,e.startTime=this.startTime,e.endTime=this.endTime,e.timeZone=this.timeZone,e.location=this.location,e.room=this.room,e.cost=this.cost,e.detail=this.detail,e.duration=this.duration,e.isRegistrationApprovalNeeded=this.isRegistrationApprovalNeeded,e.registrationLimit=this.registrationLimit,e.isWaitlistingAllowed=this.isWaitlistingAllowed,e.evaluationId=this.evaluationId,e.evaluation=this.evaluation,e.areQuestionsAllowed=this.areQuestionsAllowed,e.url=this.url,e.note=this.note,e.isOpenToClient=this.isOpenToClient,e.isIndividualSessionDateAllowed=this.isIndividualSessionDateAllowed,e.isPublished=this.isPublished,e.isOnlineLearning=this.isOnlineLearning,e.validatedCount=this.validatedCount,e.tentativeCount=this.tentativeCount,e.registeredCount=this.registeredCount,e.pendingCount=this.pendingCount,e.inProgressCount=this.inProgressCount,e.disqualifiedCount=this.disqualifiedCount,e.cancelledDate=this.cancelledDate?this.cancelledDate.toISOString():void 0,Array.isArray(this.sessionApprovers)){e.sessionApprovers=[];var t,n=Object(s.a)(this.sessionApprovers);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.sessionApprovers.push(i.toJSON())}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(this.sessionLicenses)){e.sessionLicenses=[];var a,r=Object(s.a)(this.sessionLicenses);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.sessionLicenses.push(o.toJSON())}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(this.sessionMaterials)){e.sessionMaterials=[];var l,c=Object(s.a)(this.sessionMaterials);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.sessionMaterials.push(d.toJSON())}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(this.sessionInstructors)){e.sessionInstructors=[];var u,m=Object(s.a)(this.sessionInstructors);try{for(m.s();!(u=m.n()).done;){var v=u.value;e.sessionInstructors.push(v)}}catch(f){m.e(f)}finally{m.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),zm=function(){function e(t){if(Object(l.a)(this,e),this.integrationId=void 0,this.name=void 0,this.description=void 0,this.url=void 0,this.logo=void 0,this.isEnabled=void 0,this.isVisible=void 0,this.allowManualRun=void 0,this.allowSchedule=void 0,this.allowEdit=void 0,this.schedule=void 0,this.timezoneId=void 0,this.timezone=void 0,this.recurrence=void 0,this.nextOccurrence=void 0,this.tags=void 0,this.settings=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.integrationId=e.integrationId,this.name=e.name,this.description=e.description,this.url=e.url,this.logo=e.logo,this.isEnabled=e.isEnabled,this.isVisible=e.isVisible,this.allowManualRun=e.allowManualRun,this.allowSchedule=e.allowSchedule,this.allowEdit=e.allowEdit,this.schedule=e.schedule,this.timezoneId=e.timezoneId,this.timezone=e.timezone?Yg.fromJS(e.timezone):void 0,this.recurrence=e.recurrence,this.nextOccurrence=e.nextOccurrence?new Date(e.nextOccurrence.toString()):void 0,Array.isArray(e.tags)){this.tags=[];var t,n=Object(s.a)(e.tags);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.tags.push(tv.fromJS(i))}}catch(l){n.e(l)}finally{n.f()}}if(Array.isArray(e.settings)){this.settings=[];var a,r=Object(s.a)(e.settings);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.settings.push(ev.fromJS(o))}}catch(l){r.e(l)}finally{r.f()}}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).integrationId=this.integrationId,e.name=this.name,e.description=this.description,e.url=this.url,e.logo=this.logo,e.isEnabled=this.isEnabled,e.isVisible=this.isVisible,e.allowManualRun=this.allowManualRun,e.allowSchedule=this.allowSchedule,e.allowEdit=this.allowEdit,e.schedule=this.schedule,e.timezoneId=this.timezoneId,e.timezone=this.timezone?this.timezone.toJSON():void 0,e.recurrence=this.recurrence,e.nextOccurrence=this.nextOccurrence?this.nextOccurrence.toISOString():void 0,Array.isArray(this.tags)){e.tags=[];var t,n=Object(s.a)(this.tags);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.tags.push(i.toJSON())}}catch(l){n.e(l)}finally{n.f()}}if(Array.isArray(this.settings)){e.settings=[];var a,r=Object(s.a)(this.settings);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.settings.push(o.toJSON())}}catch(l){r.e(l)}finally{r.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),qm=function(){function e(t){if(Object(l.a)(this,e),this.integrationJobAttendeeId=void 0,this.integrationJobId=void 0,this.integrationJob=void 0,this.userId=void 0,this.firstName=void 0,this.lastName=void 0,this.name=void 0,this.email=void 0,this.details=void 0,this.status=void 0,this.courseId=void 0,this.courseTitle=void 0,this.sessionId=void 0,this.completedDate=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.integrationJobAttendeeId=e.integrationJobAttendeeId,this.integrationJobId=e.integrationJobId,this.integrationJob=e.integrationJob?_m.fromJS(e.integrationJob):void 0,this.userId=e.userId,this.firstName=e.firstName,this.lastName=e.lastName,this.name=e.name,this.email=e.email,this.details=e.details,this.status=e.status,this.courseId=e.courseId,this.courseTitle=e.courseTitle,this.sessionId=e.sessionId,this.completedDate=e.completedDate?new Date(e.completedDate.toString()):void 0)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).integrationJobAttendeeId=this.integrationJobAttendeeId,e.integrationJobId=this.integrationJobId,e.integrationJob=this.integrationJob?this.integrationJob.toJSON():void 0,e.userId=this.userId,e.firstName=this.firstName,e.lastName=this.lastName,e.name=this.name,e.email=this.email,e.details=this.details,e.status=this.status,e.courseId=this.courseId,e.courseTitle=this.courseTitle,e.sessionId=this.sessionId,e.completedDate=this.completedDate?this.completedDate.toISOString():void 0,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Mm=function(){function e(t){if(Object(l.a)(this,e),this.integrationJobAttendees=void 0,this.recordCount=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.integrationJobAttendees)){this.integrationJobAttendees=[];var t,n=Object(s.a)(e.integrationJobAttendees);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.integrationJobAttendees.push(qm.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}this.recordCount=e.recordCount}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.integrationJobAttendees)){e.integrationJobAttendees=[];var t,n=Object(s.a)(this.integrationJobAttendees);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.integrationJobAttendees.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e.recordCount=this.recordCount,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Wm=function(){function e(t){if(Object(l.a)(this,e),this.integrationJobCourseId=void 0,this.details=void 0,this.status=void 0,this.createdDate=void 0,this.courseId=void 0,this.course=void 0,this.title=void 0,this.integrationJobId=void 0,this.integrationJob=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.integrationJobCourseId=e.integrationJobCourseId,this.details=e.details,this.status=e.status,this.createdDate=e.createdDate?new Date(e.createdDate.toString()):void 0,this.courseId=e.courseId,this.course=e.course?aa.fromJS(e.course):void 0,this.title=e.title,this.integrationJobId=e.integrationJobId,this.integrationJob=e.integrationJob?_m.fromJS(e.integrationJob):void 0)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).integrationJobCourseId=this.integrationJobCourseId,e.details=this.details,e.status=this.status,e.createdDate=this.createdDate?this.createdDate.toISOString():void 0,e.courseId=this.courseId,e.course=this.course?this.course.toJSON():void 0,e.title=this.title,e.integrationJobId=this.integrationJobId,e.integrationJob=this.integrationJob?this.integrationJob.toJSON():void 0,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Vm=function(){function e(t){if(Object(l.a)(this,e),this.integrationJobCourses=void 0,this.recordCount=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.integrationJobCourses)){this.integrationJobCourses=[];var t,n=Object(s.a)(e.integrationJobCourses);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.integrationJobCourses.push(Wm.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}this.recordCount=e.recordCount}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.integrationJobCourses)){e.integrationJobCourses=[];var t,n=Object(s.a)(this.integrationJobCourses);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.integrationJobCourses.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e.recordCount=this.recordCount,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),_m=function(){function e(t){if(Object(l.a)(this,e),this.integrationJobId=void 0,this.title=void 0,this.message=void 0,this.status=void 0,this.isManual=void 0,this.isArchive=void 0,this.startDateTime=void 0,this.endDateTime=void 0,this.duration=void 0,this.integrationId=void 0,this.integration=void 0,this.logs=void 0,this.files=void 0,this.courses=void 0,this.attendees=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.integrationJobId=e.integrationJobId,this.title=e.title,this.message=e.message,this.status=e.status,this.isManual=e.isManual,this.isArchive=e.isArchive,this.startDateTime=e.startDateTime?new Date(e.startDateTime.toString()):void 0,this.endDateTime=e.endDateTime?new Date(e.endDateTime.toString()):void 0,this.duration=e.duration,this.integrationId=e.integrationId,this.integration=e.integration?zm.fromJS(e.integration):void 0,Array.isArray(e.logs)){this.logs=[];var t,n=Object(s.a)(e.logs);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.logs.push(Xm.fromJS(i))}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(e.files)){this.files=[];var a,r=Object(s.a)(e.files);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.files.push(Ym.fromJS(o))}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(e.courses)){this.courses=[];var l,c=Object(s.a)(e.courses);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.courses.push(Wm.fromJS(d))}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(e.attendees)){this.attendees=[];var u,m=Object(s.a)(e.attendees);try{for(m.s();!(u=m.n()).done;){var v=u.value;this.attendees.push(qm.fromJS(v))}}catch(f){m.e(f)}finally{m.f()}}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).integrationJobId=this.integrationJobId,e.title=this.title,e.message=this.message,e.status=this.status,e.isManual=this.isManual,e.isArchive=this.isArchive,e.startDateTime=this.startDateTime?this.startDateTime.toISOString():void 0,e.endDateTime=this.endDateTime?this.endDateTime.toISOString():void 0,e.duration=this.duration,e.integrationId=this.integrationId,e.integration=this.integration?this.integration.toJSON():void 0,Array.isArray(this.logs)){e.logs=[];var t,n=Object(s.a)(this.logs);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.logs.push(i.toJSON())}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(this.files)){e.files=[];var a,r=Object(s.a)(this.files);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.files.push(o.toJSON())}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(this.courses)){e.courses=[];var l,c=Object(s.a)(this.courses);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.courses.push(d.toJSON())}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(this.attendees)){e.attendees=[];var u,m=Object(s.a)(this.attendees);try{for(m.s();!(u=m.n()).done;){var v=u.value;e.attendees.push(v.toJSON())}}catch(f){m.e(f)}finally{m.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Ym=function(){function e(t){if(Object(l.a)(this,e),this.integrationJobFileId=void 0,this.integrationJobId=void 0,this.key=void 0,this.url=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.integrationJobFileId=e.integrationJobFileId,this.integrationJobId=e.integrationJobId,this.key=e.key,this.url=e.url)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).integrationJobFileId=this.integrationJobFileId,e.integrationJobId=this.integrationJobId,e.key=this.key,e.url=this.url,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Hm=function(){function e(t){if(Object(l.a)(this,e),this.integrationJobs=void 0,this.recordCount=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.integrationJobs)){this.integrationJobs=[];var t,n=Object(s.a)(e.integrationJobs);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.integrationJobs.push(_m.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}this.recordCount=e.recordCount}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.integrationJobs)){e.integrationJobs=[];var t,n=Object(s.a)(this.integrationJobs);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.integrationJobs.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e.recordCount=this.recordCount,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),$m=function(){function e(t){if(Object(l.a)(this,e),this.integrationJobSessionId=void 0,this.status=void 0,this.title=void 0,this.details=void 0,this.createdDate=void 0,this.sessionId=void 0,this.integrationJobId=void 0,this.integrationJob=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.integrationJobSessionId=e.integrationJobSessionId,this.status=e.status,this.title=e.title,this.details=e.details,this.createdDate=e.createdDate?new Date(e.createdDate.toString()):void 0,this.sessionId=e.sessionId,this.integrationJobId=e.integrationJobId,this.integrationJob=e.integrationJob?_m.fromJS(e.integrationJob):void 0)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).integrationJobSessionId=this.integrationJobSessionId,e.status=this.status,e.title=this.title,e.details=this.details,e.createdDate=this.createdDate?this.createdDate.toISOString():void 0,e.sessionId=this.sessionId,e.integrationJobId=this.integrationJobId,e.integrationJob=this.integrationJob?this.integrationJob.toJSON():void 0,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Qm=function(){function e(t){if(Object(l.a)(this,e),this.sessions=void 0,this.attendees=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.sessions)){this.sessions=[];var t,n=Object(s.a)(e.sessions);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.sessions.push($m.fromJS(i))}}catch(l){n.e(l)}finally{n.f()}}if(Array.isArray(e.attendees)){this.attendees=[];var a,r=Object(s.a)(e.attendees);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.attendees.push(qm.fromJS(o))}}catch(l){r.e(l)}finally{r.f()}}}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.sessions)){e.sessions=[];var t,n=Object(s.a)(this.sessions);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.sessions.push(i.toJSON())}}catch(l){n.e(l)}finally{n.f()}}if(Array.isArray(this.attendees)){e.attendees=[];var a,r=Object(s.a)(this.attendees);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.attendees.push(o.toJSON())}}catch(l){r.e(l)}finally{r.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Zm=function(){function e(t){if(Object(l.a)(this,e),this.integrations=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&Array.isArray(e.integrations)){this.integrations=[];var t,n=Object(s.a)(e.integrations);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.integrations.push(zm.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.integrations)){e.integrations=[];var t,n=Object(s.a)(this.integrations);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.integrations.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Xm=function(){function e(t){if(Object(l.a)(this,e),this.integrationJobId=void 0,this.integrationLogId=void 0,this.message=void 0,this.details=void 0,this.createdDate=void 0,this.duration=void 0,this.isError=void 0,this.parentId=void 0,this.children=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(t){if(t&&(this.integrationJobId=t.integrationJobId,this.integrationLogId=t.integrationLogId,this.message=t.message,this.details=t.details,this.createdDate=t.createdDate?new Date(t.createdDate.toString()):void 0,this.duration=t.duration,this.isError=t.isError,this.parentId=t.parentId,Array.isArray(t.children))){this.children=[];var n,i=Object(s.a)(t.children);try{for(i.s();!(n=i.n()).done;){var a=n.value;this.children.push(e.fromJS(a))}}catch(r){i.e(r)}finally{i.f()}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).integrationJobId=this.integrationJobId,e.integrationLogId=this.integrationLogId,e.message=this.message,e.details=this.details,e.createdDate=this.createdDate?this.createdDate.toISOString():void 0,e.duration=this.duration,e.isError=this.isError,e.parentId=this.parentId,Array.isArray(this.children)){e.children=[];var t,n=Object(s.a)(this.children);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.children.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Km=function(){function e(t){if(Object(l.a)(this,e),this.integrationLogs=void 0,this.recordCount=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.integrationLogs)){this.integrationLogs=[];var t,n=Object(s.a)(e.integrationLogs);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.integrationLogs.push(Xm.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}this.recordCount=e.recordCount}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.integrationLogs)){e.integrationLogs=[];var t,n=Object(s.a)(this.integrationLogs);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.integrationLogs.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e.recordCount=this.recordCount,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),ev=function(){function e(t){if(Object(l.a)(this,e),this.integrationSettingId=void 0,this.key=void 0,this.name=void 0,this.value=void 0,this.type=void 0,this.validation=void 0,this.isEditable=void 0,this.isVisible=void 0,this.integrationId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.integrationSettingId=e.integrationSettingId,this.key=e.key,this.name=e.name,this.value=e.value,this.type=e.type,this.validation=e.validation,this.isEditable=e.isEditable,this.isVisible=e.isVisible,this.integrationId=e.integrationId)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).integrationSettingId=this.integrationSettingId,e.key=this.key,e.name=this.name,e.value=this.value,e.type=this.type,e.validation=this.validation,e.isEditable=this.isEditable,e.isVisible=this.isVisible,e.integrationId=this.integrationId,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),tv=function(){function e(t){if(Object(l.a)(this,e),this.integrationTagId=void 0,this.name=void 0,this.integrationId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.integrationTagId=e.integrationTagId,this.name=e.name,this.integrationId=e.integrationId)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).integrationTagId=this.integrationTagId,e.name=this.name,e.integrationId=this.integrationId,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),nv=function(){function e(t){if(Object(l.a)(this,e),this.languageId=void 0,this.name=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.languageId=e.languageId,this.name=e.name)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).languageId=this.languageId,e.name=this.name,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}();!function(e){e[e.Days=1]="Days",e[e.Weeks=2]="Weeks",e[e.Months=3]="Months"}(Jm||(Jm={})),function(e){e[e.CalendarBased=1]="CalendarBased",e[e.TimeToComplete=2]="TimeToComplete",e[e.NoneSpecified=3]="NoneSpecified"}(Gm||(Gm={}));var iv,av=function(){function e(t){if(Object(l.a)(this,e),this.activityId=void 0,this.name=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.activityId=e.activityId,this.name=e.name)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).activityId=this.activityId,e.name=this.name,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),rv=function(){function e(t){if(Object(l.a)(this,e),this.courseId=void 0,this.displayOrder=void 0,this.name=void 0,this.type=void 0,this.providerName=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.courseId=e.courseId,this.displayOrder=e.displayOrder,this.name=e.name,this.type=e.type,this.providerName=e.providerName)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).courseId=this.courseId,e.displayOrder=this.displayOrder,e.name=this.name,e.type=this.type,e.providerName=this.providerName,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),ov=function(){function e(t){if(Object(l.a)(this,e),this.learningPlanId=void 0,this.title=void 0,this.description=void 0,this.type=void 0,this.startDate=void 0,this.endDate=void 0,this.createdDate=void 0,this.lastModifiedDate=void 0,this.completedDate=void 0,this.timeframeOfCompletion=void 0,this.timeframOfCompletionId=void 0,this.duration=void 0,this.durationType=void 0,this.durationTypeId=void 0,this.requiredCourses=void 0,this.mandatoryCount=void 0,this.learnersChoiceCount=void 0,this.activityCount=void 0,this.incompleteCount=void 0,this.isIncluded=void 0,this.status=void 0,this.activityStatus=void 0,this.learnersChoiceStatus=void 0,this.mandatoryStatus=void 0,this.learningPlanCourses=void 0,this.learningPlanActivities=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.learningPlanId=e.learningPlanId,this.title=e.title,this.description=e.description,this.type=e.type,this.startDate=e.startDate?new Date(e.startDate.toString()):void 0,this.endDate=e.endDate?new Date(e.endDate.toString()):void 0,this.createdDate=e.createdDate?new Date(e.createdDate.toString()):void 0,this.lastModifiedDate=e.lastModifiedDate?new Date(e.lastModifiedDate.toString()):void 0,this.completedDate=e.completedDate?new Date(e.completedDate.toString()):void 0,this.timeframeOfCompletion=e.timeframeOfCompletion,this.timeframOfCompletionId=e.timeframOfCompletionId,this.duration=e.duration,this.durationType=e.durationType,this.durationTypeId=e.durationTypeId,this.requiredCourses=e.requiredCourses,this.mandatoryCount=e.mandatoryCount,this.learnersChoiceCount=e.learnersChoiceCount,this.activityCount=e.activityCount,this.incompleteCount=e.incompleteCount,this.isIncluded=e.isIncluded,this.status=e.status,this.activityStatus=e.activityStatus,this.learnersChoiceStatus=e.learnersChoiceStatus,this.mandatoryStatus=e.mandatoryStatus,Array.isArray(e.learningPlanCourses)){this.learningPlanCourses=[];var t,n=Object(s.a)(e.learningPlanCourses);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.learningPlanCourses.push(rv.fromJS(i))}}catch(l){n.e(l)}finally{n.f()}}if(Array.isArray(e.learningPlanActivities)){this.learningPlanActivities=[];var a,r=Object(s.a)(e.learningPlanActivities);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.learningPlanActivities.push(av.fromJS(o))}}catch(l){r.e(l)}finally{r.f()}}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).learningPlanId=this.learningPlanId,e.title=this.title,e.description=this.description,e.type=this.type,e.startDate=this.startDate?this.startDate.toISOString():void 0,e.endDate=this.endDate?this.endDate.toISOString():void 0,e.createdDate=this.createdDate?this.createdDate.toISOString():void 0,e.lastModifiedDate=this.lastModifiedDate?this.lastModifiedDate.toISOString():void 0,e.completedDate=this.completedDate?this.completedDate.toISOString():void 0,e.timeframeOfCompletion=this.timeframeOfCompletion,e.timeframOfCompletionId=this.timeframOfCompletionId,e.duration=this.duration,e.durationType=this.durationType,e.durationTypeId=this.durationTypeId,e.requiredCourses=this.requiredCourses,e.mandatoryCount=this.mandatoryCount,e.learnersChoiceCount=this.learnersChoiceCount,e.activityCount=this.activityCount,e.incompleteCount=this.incompleteCount,e.isIncluded=this.isIncluded,e.status=this.status,e.activityStatus=this.activityStatus,e.learnersChoiceStatus=this.learnersChoiceStatus,e.mandatoryStatus=this.mandatoryStatus,Array.isArray(this.learningPlanCourses)){e.learningPlanCourses=[];var t,n=Object(s.a)(this.learningPlanCourses);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.learningPlanCourses.push(i.toJSON())}}catch(l){n.e(l)}finally{n.f()}}if(Array.isArray(this.learningPlanActivities)){e.learningPlanActivities=[];var a,r=Object(s.a)(this.learningPlanActivities);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.learningPlanActivities.push(o.toJSON())}}catch(l){r.e(l)}finally{r.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),sv=function(){function e(t){if(Object(l.a)(this,e),this.learningPlans=void 0,this.recordCount=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.learningPlans)){this.learningPlans=[];var t,n=Object(s.a)(e.learningPlans);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.learningPlans.push(ov.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}this.recordCount=e.recordCount}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.learningPlans)){e.learningPlans=[];var t,n=Object(s.a)(this.learningPlans);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.learningPlans.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e.recordCount=this.recordCount,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),lv=function(){function e(t){if(Object(l.a)(this,e),this.learningPlanId=void 0,this.participantId=void 0,this.title=void 0,this.status=void 0,this.isIncluded=void 0,this.activityStatus=void 0,this.learnersChoiceStatus=void 0,this.mandatoryStatus=void 0,this.mandatoryCount=void 0,this.learnersChoiceCount=void 0,this.activityCount=void 0,this.learningPlanCourses=void 0,this.learningPlanActivities=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.learningPlanId=e.learningPlanId,this.participantId=e.participantId,this.title=e.title,this.status=e.status,this.isIncluded=e.isIncluded,this.activityStatus=e.activityStatus,this.learnersChoiceStatus=e.learnersChoiceStatus,this.mandatoryStatus=e.mandatoryStatus,this.mandatoryCount=e.mandatoryCount,this.learnersChoiceCount=e.learnersChoiceCount,this.activityCount=e.activityCount,Array.isArray(e.learningPlanCourses)){this.learningPlanCourses=[];var t,n=Object(s.a)(e.learningPlanCourses);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.learningPlanCourses.push(rv.fromJS(i))}}catch(l){n.e(l)}finally{n.f()}}if(Array.isArray(e.learningPlanActivities)){this.learningPlanActivities=[];var a,r=Object(s.a)(e.learningPlanActivities);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.learningPlanActivities.push(av.fromJS(o))}}catch(l){r.e(l)}finally{r.f()}}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).learningPlanId=this.learningPlanId,e.participantId=this.participantId,e.title=this.title,e.status=this.status,e.isIncluded=this.isIncluded,e.activityStatus=this.activityStatus,e.learnersChoiceStatus=this.learnersChoiceStatus,e.mandatoryStatus=this.mandatoryStatus,e.mandatoryCount=this.mandatoryCount,e.learnersChoiceCount=this.learnersChoiceCount,e.activityCount=this.activityCount,Array.isArray(this.learningPlanCourses)){e.learningPlanCourses=[];var t,n=Object(s.a)(this.learningPlanCourses);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.learningPlanCourses.push(i.toJSON())}}catch(l){n.e(l)}finally{n.f()}}if(Array.isArray(this.learningPlanActivities)){e.learningPlanActivities=[];var a,r=Object(s.a)(this.learningPlanActivities);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.learningPlanActivities.push(o.toJSON())}}catch(l){r.e(l)}finally{r.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),cv=function(){function e(t){if(Object(l.a)(this,e),this.userLearningPlans=void 0,this.recordCount=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.userLearningPlans)){this.userLearningPlans=[];var t,n=Object(s.a)(e.userLearningPlans);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.userLearningPlans.push(lv.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}this.recordCount=e.recordCount}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.userLearningPlans)){e.userLearningPlans=[];var t,n=Object(s.a)(this.userLearningPlans);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.userLearningPlans.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e.recordCount=this.recordCount,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),dv=function(){function e(t){if(Object(l.a)(this,e),this.learningPlanParticipantId=void 0,this.learningPlanId=void 0,this.requirementId=void 0,this.courseTitle=void 0,this.specificRequirementId=void 0,this.requirementType=void 0,this.name=void 0,this.startDate=void 0,this.endDate=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.learningPlanParticipantId=e.learningPlanParticipantId,this.learningPlanId=e.learningPlanId,this.requirementId=e.requirementId,this.courseTitle=e.courseTitle,this.specificRequirementId=e.specificRequirementId,this.requirementType=e.requirementType,this.name=e.name,this.startDate=e.startDate?new Date(e.startDate.toString()):void 0,this.endDate=e.endDate?new Date(e.endDate.toString()):void 0)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).learningPlanParticipantId=this.learningPlanParticipantId,e.learningPlanId=this.learningPlanId,e.requirementId=this.requirementId,e.courseTitle=this.courseTitle,e.specificRequirementId=this.specificRequirementId,e.requirementType=this.requirementType,e.name=this.name,e.startDate=this.startDate?this.startDate.toISOString():void 0,e.endDate=this.endDate?this.endDate.toISOString():void 0,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),uv=function(){function e(t){if(Object(l.a)(this,e),this.learningPlanParticipantRequirements=void 0,this.recordCount=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.learningPlanParticipantRequirements)){this.learningPlanParticipantRequirements=[];var t,n=Object(s.a)(e.learningPlanParticipantRequirements);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.learningPlanParticipantRequirements.push(dv.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}this.recordCount=e.recordCount}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.learningPlanParticipantRequirements)){e.learningPlanParticipantRequirements=[];var t,n=Object(s.a)(this.learningPlanParticipantRequirements);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.learningPlanParticipantRequirements.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e.recordCount=this.recordCount,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),mv=function(){function e(t){if(Object(l.a)(this,e),this.userLicenseCompliancePeriods=void 0,this.recordCount=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.userLicenseCompliancePeriods)){this.userLicenseCompliancePeriods=[];var t,n=Object(s.a)(e.userLicenseCompliancePeriods);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.userLicenseCompliancePeriods.push(vv.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}this.recordCount=e.recordCount}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.userLicenseCompliancePeriods)){e.userLicenseCompliancePeriods=[];var t,n=Object(s.a)(this.userLicenseCompliancePeriods);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.userLicenseCompliancePeriods.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e.recordCount=this.recordCount,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),vv=function(){function e(t){if(Object(l.a)(this,e),this.userLicenseComplianceId=void 0,this.userId=void 0,this.licenseId=void 0,this.licenseName=void 0,this.periodTypeId=void 0,this.periodFrom=void 0,this.periodTo=void 0,this.complianceStatusId=void 0,this.complianceStatus=void 0,this.periodToDisplay=void 0,this.priorPeriodDeficiency=void 0,this.totalCreditsNeeded=void 0,this.additionalRequirementStatus=void 0,this.renewalDate=void 0,this.userSubLicenseCompliancePeriod=void 0,this.industry=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.userLicenseComplianceId=e.userLicenseComplianceId,this.userId=e.userId,this.licenseId=e.licenseId,this.licenseName=e.licenseName,this.periodTypeId=e.periodTypeId,this.periodFrom=e.periodFrom?new Date(e.periodFrom.toString()):void 0,this.periodTo=e.periodTo?new Date(e.periodTo.toString()):void 0,this.complianceStatusId=e.complianceStatusId,this.complianceStatus=e.complianceStatus,this.periodToDisplay=e.periodToDisplay?new Date(e.periodToDisplay.toString()):void 0,this.priorPeriodDeficiency=e.priorPeriodDeficiency,this.totalCreditsNeeded=e.totalCreditsNeeded,this.additionalRequirementStatus=e.additionalRequirementStatus,this.renewalDate=e.renewalDate?new Date(e.renewalDate.toString()):void 0,this.userSubLicenseCompliancePeriod=e.userSubLicenseCompliancePeriod?fv.fromJS(e.userSubLicenseCompliancePeriod):void 0,this.industry=e.industry)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).userLicenseComplianceId=this.userLicenseComplianceId,e.userId=this.userId,e.licenseId=this.licenseId,e.licenseName=this.licenseName,e.periodTypeId=this.periodTypeId,e.periodFrom=this.periodFrom?this.periodFrom.toISOString():void 0,e.periodTo=this.periodTo?this.periodTo.toISOString():void 0,e.complianceStatusId=this.complianceStatusId,e.complianceStatus=this.complianceStatus,e.periodToDisplay=this.periodToDisplay?this.periodToDisplay.toISOString():void 0,e.priorPeriodDeficiency=this.priorPeriodDeficiency,e.totalCreditsNeeded=this.totalCreditsNeeded,e.additionalRequirementStatus=this.additionalRequirementStatus,e.renewalDate=this.renewalDate?this.renewalDate.toISOString():void 0,e.userSubLicenseCompliancePeriod=this.userSubLicenseCompliancePeriod?this.userSubLicenseCompliancePeriod.toJSON():void 0,e.industry=this.industry,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),fv=function(){function e(t){if(Object(l.a)(this,e),this.userLicenseComplianceId=void 0,this.userId=void 0,this.licenseId=void 0,this.licenseName=void 0,this.periodTypeId=void 0,this.periodFrom=void 0,this.periodTo=void 0,this.complianceStatusId=void 0,this.complianceStatus=void 0,this.periodToDisplay=void 0,this.parentLicenseId=void 0,this.priorPeriodDeficiency=void 0,this.totalCreditsNeeded=void 0,this.additionalRequirementStatus=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.userLicenseComplianceId=e.userLicenseComplianceId,this.userId=e.userId,this.licenseId=e.licenseId,this.licenseName=e.licenseName,this.periodTypeId=e.periodTypeId,this.periodFrom=e.periodFrom?new Date(e.periodFrom.toString()):void 0,this.periodTo=e.periodTo?new Date(e.periodTo.toString()):void 0,this.complianceStatusId=e.complianceStatusId,this.complianceStatus=e.complianceStatus,this.periodToDisplay=e.periodToDisplay?new Date(e.periodToDisplay.toString()):void 0,this.parentLicenseId=e.parentLicenseId,this.priorPeriodDeficiency=e.priorPeriodDeficiency,this.totalCreditsNeeded=e.totalCreditsNeeded,this.additionalRequirementStatus=e.additionalRequirementStatus)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).userLicenseComplianceId=this.userLicenseComplianceId,e.userId=this.userId,e.licenseId=this.licenseId,e.licenseName=this.licenseName,e.periodTypeId=this.periodTypeId,e.periodFrom=this.periodFrom?this.periodFrom.toISOString():void 0,e.periodTo=this.periodTo?this.periodTo.toISOString():void 0,e.complianceStatusId=this.complianceStatusId,e.complianceStatus=this.complianceStatus,e.periodToDisplay=this.periodToDisplay?this.periodToDisplay.toISOString():void 0,e.parentLicenseId=this.parentLicenseId,e.priorPeriodDeficiency=this.priorPeriodDeficiency,e.totalCreditsNeeded=this.totalCreditsNeeded,e.additionalRequirementStatus=this.additionalRequirementStatus,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),pv=function(){function e(t){if(Object(l.a)(this,e),this.sessionParticipantId=void 0,this.sessionId=void 0,this.userId=void 0,this.isInstructor=void 0,this.completionDate=void 0,this.startDate=void 0,this.endDate=void 0,this.courseId=void 0,this.title=void 0,this.providerId=void 0,this.providerName=void 0,this.formatId=void 0,this.format=void 0,this.formatPortalCategory=void 0,this.isValidated=void 0,this.shouldDisplayDateRange=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.sessionParticipantId=e.sessionParticipantId,this.sessionId=e.sessionId,this.userId=e.userId,this.isInstructor=e.isInstructor,this.completionDate=e.completionDate?new Date(e.completionDate.toString()):void 0,this.startDate=e.startDate?new Date(e.startDate.toString()):void 0,this.endDate=e.endDate?new Date(e.endDate.toString()):void 0,this.courseId=e.courseId,this.title=e.title,this.providerId=e.providerId,this.providerName=e.providerName,this.formatId=e.formatId,this.format=e.format,this.formatPortalCategory=e.formatPortalCategory,this.isValidated=e.isValidated,this.shouldDisplayDateRange=e.shouldDisplayDateRange)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).sessionParticipantId=this.sessionParticipantId,e.sessionId=this.sessionId,e.userId=this.userId,e.isInstructor=this.isInstructor,e.completionDate=this.completionDate?this.completionDate.toISOString():void 0,e.startDate=this.startDate?this.startDate.toISOString():void 0,e.endDate=this.endDate?this.endDate.toISOString():void 0,e.courseId=this.courseId,e.title=this.title,e.providerId=this.providerId,e.providerName=this.providerName,e.formatId=this.formatId,e.format=this.format,e.formatPortalCategory=this.formatPortalCategory,e.isValidated=this.isValidated,e.shouldDisplayDateRange=this.shouldDisplayDateRange,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),hv=function(){function e(t){if(Object(l.a)(this,e),this.userTranscripts=void 0,this.recordCount=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.userTranscripts)){this.userTranscripts=[];var t,n=Object(s.a)(e.userTranscripts);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.userTranscripts.push(pv.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}this.recordCount=e.recordCount}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.userTranscripts)){e.userTranscripts=[];var t,n=Object(s.a)(this.userTranscripts);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.userTranscripts.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e.recordCount=this.recordCount,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),yv=function(){function e(t){if(Object(l.a)(this,e),this.subCategoryId=void 0,this.competencyFrameworkId=void 0,this.competencyId=void 0,this.description=void 0,this.sequenceNumber=void 0,this.isSelected=void 0,this.developmentPlanId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.subCategoryId=e.subCategoryId,this.competencyFrameworkId=e.competencyFrameworkId,this.competencyId=e.competencyId,this.description=e.description,this.sequenceNumber=e.sequenceNumber,this.isSelected=e.isSelected,this.developmentPlanId=e.developmentPlanId)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).subCategoryId=this.subCategoryId,e.competencyFrameworkId=this.competencyFrameworkId,e.competencyId=this.competencyId,e.description=this.description,e.sequenceNumber=this.sequenceNumber,e.isSelected=this.isSelected,e.developmentPlanId=this.developmentPlanId,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),bv=function(){function e(t){if(Object(l.a)(this,e),this.activityId=void 0,this.name=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.activityId=e.activityId,this.name=e.name)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).activityId=this.activityId,e.name=this.name,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),gv=function(){function e(t){if(Object(l.a)(this,e),this.learningPlanId=void 0,this.title=void 0,this.description=void 0,this.type=void 0,this.timeframeOfCompletion=void 0,this.startDate=void 0,this.endDate=void 0,this.duration=void 0,this.durationType=void 0,this.requiredCourses=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.learningPlanId=e.learningPlanId,this.title=e.title,this.description=e.description,this.type=e.type,this.timeframeOfCompletion=e.timeframeOfCompletion,this.startDate=e.startDate?new Date(e.startDate.toString()):void 0,this.endDate=e.endDate?new Date(e.endDate.toString()):void 0,this.duration=e.duration,this.durationType=e.durationType,this.requiredCourses=e.requiredCourses)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).learningPlanId=this.learningPlanId,e.title=this.title,e.description=this.description,e.type=this.type,e.timeframeOfCompletion=this.timeframeOfCompletion,e.startDate=this.startDate?this.startDate.toISOString():void 0,e.endDate=this.endDate?this.endDate.toISOString():void 0,e.duration=this.duration,e.durationType=this.durationType,e.requiredCourses=this.requiredCourses,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Ev=function(){function e(t){if(Object(l.a)(this,e),this.learningPlanCatalog=void 0,this.recordCount=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.learningPlanCatalog)){this.learningPlanCatalog=[];var t,n=Object(s.a)(e.learningPlanCatalog);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.learningPlanCatalog.push(gv.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}this.recordCount=e.recordCount}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.learningPlanCatalog)){e.learningPlanCatalog=[];var t,n=Object(s.a)(this.learningPlanCatalog);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.learningPlanCatalog.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e.recordCount=this.recordCount,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Iv=function(){function e(t){if(Object(l.a)(this,e),this.competencyId=void 0,this.name=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.competencyId=e.competencyId,this.name=e.name)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).competencyId=this.competencyId,e.name=this.name,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Sv=function(){function e(t){if(Object(l.a)(this,e),this.courseId=void 0,this.name=void 0,this.displayOrder=void 0,this.type=void 0,this.isRequired=void 0,this.providerName=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.courseId=e.courseId,this.name=e.name,this.displayOrder=e.displayOrder,this.type=e.type,this.isRequired=e.isRequired,this.providerName=e.providerName)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).courseId=this.courseId,e.name=this.name,e.displayOrder=this.displayOrder,e.type=this.type,e.isRequired=this.isRequired,e.providerName=this.providerName,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Ov=function(){function e(t){if(Object(l.a)(this,e),this.criterionId=void 0,this.criteriaFieldId=void 0,this.title=void 0,this.content=void 0,this.comparison=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.criterionId=e.criterionId,this.criteriaFieldId=e.criteriaFieldId,this.title=e.title,this.content=e.content,this.comparison=e.comparison)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).criterionId=this.criterionId,e.criteriaFieldId=this.criteriaFieldId,e.title=this.title,e.content=this.content,e.comparison=this.comparison,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Cv=function(){function e(t){if(Object(l.a)(this,e),this.userId=void 0,this.name=void 0,this.firstName=void 0,this.middleName=void 0,this.lastName=void 0,this.location=void 0,this.userType=void 0,this.isIncluded=void 0,this.participantCriteriaStatus=void 0,this.criteriaMet=void 0,this.userAvatar=void 0,this.isNewUser=void 0,this.learningPlanStartDate=void 0,this.learningPlanEndDate=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.userId=e.userId,this.name=e.name,this.firstName=e.firstName,this.middleName=e.middleName,this.lastName=e.lastName,this.location=e.location,this.userType=e.userType,this.isIncluded=e.isIncluded,this.participantCriteriaStatus=e.participantCriteriaStatus,Array.isArray(e.criteriaMet)){this.criteriaMet=[];var t,n=Object(s.a)(e.criteriaMet);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.criteriaMet.push(Ov.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}this.userAvatar=e.userAvatar?QI.fromJS(e.userAvatar):void 0,this.isNewUser=e.isNewUser,this.learningPlanStartDate=e.learningPlanStartDate?new Date(e.learningPlanStartDate.toString()):void 0,this.learningPlanEndDate=e.learningPlanEndDate?new Date(e.learningPlanEndDate.toString()):void 0}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).userId=this.userId,e.name=this.name,e.firstName=this.firstName,e.middleName=this.middleName,e.lastName=this.lastName,e.location=this.location,e.userType=this.userType,e.isIncluded=this.isIncluded,e.participantCriteriaStatus=this.participantCriteriaStatus,Array.isArray(this.criteriaMet)){e.criteriaMet=[];var t,n=Object(s.a)(this.criteriaMet);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.criteriaMet.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e.userAvatar=this.userAvatar?this.userAvatar.toJSON():void 0,e.isNewUser=this.isNewUser,e.learningPlanStartDate=this.learningPlanStartDate?this.learningPlanStartDate.toISOString():void 0,e.learningPlanEndDate=this.learningPlanEndDate?this.learningPlanEndDate.toISOString():void 0,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),jv=function(){function e(t){if(Object(l.a)(this,e),this.participants=void 0,this.exemptIfNotMetCriteria=void 0,this.recordCount=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.participants)){this.participants=[];var t,n=Object(s.a)(e.participants);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.participants.push(Cv.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}this.exemptIfNotMetCriteria=e.exemptIfNotMetCriteria,this.recordCount=e.recordCount}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.participants)){e.participants=[];var t,n=Object(s.a)(this.participants);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.participants.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e.exemptIfNotMetCriteria=this.exemptIfNotMetCriteria,e.recordCount=this.recordCount,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),xv=function(){function e(t){if(Object(l.a)(this,e),this.criterionId=void 0,this.learningPlanId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.criterionId=e.criterionId,this.learningPlanId=e.learningPlanId)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).criterionId=this.criterionId,e.learningPlanId=this.learningPlanId,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Av=function(){function e(t){if(Object(l.a)(this,e),this.learningPlanId=void 0,this.title=void 0,this.lastModifiedDate=void 0,this.requiredCourses=void 0,this.mandatoryCount=void 0,this.learnersChoiceCount=void 0,this.activityCount=void 0,this.completeCount=void 0,this.incompleteCount=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.learningPlanId=e.learningPlanId,this.title=e.title,this.lastModifiedDate=e.lastModifiedDate?new Date(e.lastModifiedDate.toString()):void 0,this.requiredCourses=e.requiredCourses,this.mandatoryCount=e.mandatoryCount,this.learnersChoiceCount=e.learnersChoiceCount,this.activityCount=e.activityCount,this.completeCount=e.completeCount,this.incompleteCount=e.incompleteCount)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).learningPlanId=this.learningPlanId,e.title=this.title,e.lastModifiedDate=this.lastModifiedDate?this.lastModifiedDate.toISOString():void 0,e.requiredCourses=this.requiredCourses,e.mandatoryCount=this.mandatoryCount,e.learnersChoiceCount=this.learnersChoiceCount,e.activityCount=this.activityCount,e.completeCount=this.completeCount,e.incompleteCount=this.incompleteCount,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Tv=function(){function e(t){if(Object(l.a)(this,e),this.learningPlans=void 0,this.recordCount=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.learningPlans)){this.learningPlans=[];var t,n=Object(s.a)(e.learningPlans);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.learningPlans.push(Av.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}this.recordCount=e.recordCount}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.learningPlans)){e.learningPlans=[];var t,n=Object(s.a)(this.learningPlans);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.learningPlans.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e.recordCount=this.recordCount,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),wv=function(){function e(t){if(Object(l.a)(this,e),this.learningPlanId=void 0,this.title=void 0,this.description=void 0,this.notes=void 0,this.type=void 0,this.timeframeOfCompletion=void 0,this.startDate=void 0,this.endDate=void 0,this.createdDate=void 0,this.lastModifiedDate=void 0,this.duration=void 0,this.durationType=void 0,this.requiredCourses=void 0,this.activityCount=void 0,this.learnersChoiceCount=void 0,this.mandatoryCount=void 0,this.isSelfEnrolled=void 0,this.archivedDate=void 0,this.learningPlanActivities=void 0,this.learningPlanCompetencies=void 0,this.learningPlanCourses=void 0,this.learningPlanCriteria=void 0,this.learningPlanParticipants=void 0,this.learningPlanTags=void 0,this.learningPlanMaterials=void 0,this.guid=void 0,this.addParticipantEmail=void 0,this.deleteParticipantEmail=void 0,this.updateParticipantStatusEmail=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.learningPlanId=e.learningPlanId,this.title=e.title,this.description=e.description,this.notes=e.notes,this.type=e.type,this.timeframeOfCompletion=e.timeframeOfCompletion,this.startDate=e.startDate?new Date(e.startDate.toString()):void 0,this.endDate=e.endDate?new Date(e.endDate.toString()):void 0,this.createdDate=e.createdDate?new Date(e.createdDate.toString()):void 0,this.lastModifiedDate=e.lastModifiedDate?new Date(e.lastModifiedDate.toString()):void 0,this.duration=e.duration,this.durationType=e.durationType,this.requiredCourses=e.requiredCourses,this.activityCount=e.activityCount,this.learnersChoiceCount=e.learnersChoiceCount,this.mandatoryCount=e.mandatoryCount,this.isSelfEnrolled=e.isSelfEnrolled,this.archivedDate=e.archivedDate?new Date(e.archivedDate.toString()):void 0,Array.isArray(e.learningPlanActivities)){this.learningPlanActivities=[];var t,n=Object(s.a)(e.learningPlanActivities);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.learningPlanActivities.push(bv.fromJS(i))}}catch(O){n.e(O)}finally{n.f()}}if(Array.isArray(e.learningPlanCompetencies)){this.learningPlanCompetencies=[];var a,r=Object(s.a)(e.learningPlanCompetencies);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.learningPlanCompetencies.push(Iv.fromJS(o))}}catch(O){r.e(O)}finally{r.f()}}if(Array.isArray(e.learningPlanCourses)){this.learningPlanCourses=[];var l,c=Object(s.a)(e.learningPlanCourses);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.learningPlanCourses.push(Sv.fromJS(d))}}catch(O){c.e(O)}finally{c.f()}}if(Array.isArray(e.learningPlanCriteria)){this.learningPlanCriteria=[];var u,m=Object(s.a)(e.learningPlanCriteria);try{for(m.s();!(u=m.n()).done;){var v=u.value;this.learningPlanCriteria.push(xv.fromJS(v))}}catch(O){m.e(O)}finally{m.f()}}if(Array.isArray(e.learningPlanParticipants)){this.learningPlanParticipants=[];var f,p=Object(s.a)(e.learningPlanParticipants);try{for(p.s();!(f=p.n()).done;){var h=f.value;this.learningPlanParticipants.push(Uv.fromJS(h))}}catch(O){p.e(O)}finally{p.f()}}if(Array.isArray(e.learningPlanTags)){this.learningPlanTags=[];var y,b=Object(s.a)(e.learningPlanTags);try{for(b.s();!(y=b.n()).done;){var g=y.value;this.learningPlanTags.push(Kv.fromJS(g))}}catch(O){b.e(O)}finally{b.f()}}if(Array.isArray(e.learningPlanMaterials)){this.learningPlanMaterials=[];var E,I=Object(s.a)(e.learningPlanMaterials);try{for(I.s();!(E=I.n()).done;){var S=E.value;this.learningPlanMaterials.push(Rv.fromJS(S))}}catch(O){I.e(O)}finally{I.f()}}this.guid=e.guid,this.addParticipantEmail=e.addParticipantEmail,this.deleteParticipantEmail=e.deleteParticipantEmail,this.updateParticipantStatusEmail=e.updateParticipantStatusEmail}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).learningPlanId=this.learningPlanId,e.title=this.title,e.description=this.description,e.notes=this.notes,e.type=this.type,e.timeframeOfCompletion=this.timeframeOfCompletion,e.startDate=this.startDate?this.startDate.toISOString():void 0,e.endDate=this.endDate?this.endDate.toISOString():void 0,e.createdDate=this.createdDate?this.createdDate.toISOString():void 0,e.lastModifiedDate=this.lastModifiedDate?this.lastModifiedDate.toISOString():void 0,e.duration=this.duration,e.durationType=this.durationType,e.requiredCourses=this.requiredCourses,e.activityCount=this.activityCount,e.learnersChoiceCount=this.learnersChoiceCount,e.mandatoryCount=this.mandatoryCount,e.isSelfEnrolled=this.isSelfEnrolled,e.archivedDate=this.archivedDate?this.archivedDate.toISOString():void 0,Array.isArray(this.learningPlanActivities)){e.learningPlanActivities=[];var t,n=Object(s.a)(this.learningPlanActivities);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.learningPlanActivities.push(i.toJSON())}}catch(O){n.e(O)}finally{n.f()}}if(Array.isArray(this.learningPlanCompetencies)){e.learningPlanCompetencies=[];var a,r=Object(s.a)(this.learningPlanCompetencies);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.learningPlanCompetencies.push(o.toJSON())}}catch(O){r.e(O)}finally{r.f()}}if(Array.isArray(this.learningPlanCourses)){e.learningPlanCourses=[];var l,c=Object(s.a)(this.learningPlanCourses);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.learningPlanCourses.push(d.toJSON())}}catch(O){c.e(O)}finally{c.f()}}if(Array.isArray(this.learningPlanCriteria)){e.learningPlanCriteria=[];var u,m=Object(s.a)(this.learningPlanCriteria);try{for(m.s();!(u=m.n()).done;){var v=u.value;e.learningPlanCriteria.push(v.toJSON())}}catch(O){m.e(O)}finally{m.f()}}if(Array.isArray(this.learningPlanParticipants)){e.learningPlanParticipants=[];var f,p=Object(s.a)(this.learningPlanParticipants);try{for(p.s();!(f=p.n()).done;){var h=f.value;e.learningPlanParticipants.push(h.toJSON())}}catch(O){p.e(O)}finally{p.f()}}if(Array.isArray(this.learningPlanTags)){e.learningPlanTags=[];var y,b=Object(s.a)(this.learningPlanTags);try{for(b.s();!(y=b.n()).done;){var g=y.value;e.learningPlanTags.push(g.toJSON())}}catch(O){b.e(O)}finally{b.f()}}if(Array.isArray(this.learningPlanMaterials)){e.learningPlanMaterials=[];var E,I=Object(s.a)(this.learningPlanMaterials);try{for(I.s();!(E=I.n()).done;){var S=E.value;e.learningPlanMaterials.push(S.toJSON())}}catch(O){I.e(O)}finally{I.f()}}return e.guid=this.guid,e.addParticipantEmail=this.addParticipantEmail,e.deleteParticipantEmail=this.deleteParticipantEmail,e.updateParticipantStatusEmail=this.updateParticipantStatusEmail,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),kv=function(){function e(t){if(Object(l.a)(this,e),this.learningPlanEmailSettingRecurrenceId=void 0,this.learningPlanEmailSettingId=void 0,this.frequency=void 0,this.startDate=void 0,this.endDate=void 0,this.time=void 0,this.timezoneId=void 0,this.timezoneCode=void 0,this.recurDayOfWeek=void 0,this.recurDay=void 0,this.monthlyOption=void 0,this.monthlyDay=void 0,this.monthlyDayOfMonth=void 0,this.monthlyDayOfWeek=void 0,this.jobId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.learningPlanEmailSettingRecurrenceId=e.learningPlanEmailSettingRecurrenceId,this.learningPlanEmailSettingId=e.learningPlanEmailSettingId,this.frequency=e.frequency,this.startDate=e.startDate?new Date(e.startDate.toString()):void 0,this.endDate=e.endDate?new Date(e.endDate.toString()):void 0,this.time=e.time,this.timezoneId=e.timezoneId,this.timezoneCode=e.timezoneCode,this.recurDayOfWeek=e.recurDayOfWeek,this.recurDay=e.recurDay,this.monthlyOption=e.monthlyOption,this.monthlyDay=e.monthlyDay,this.monthlyDayOfMonth=e.monthlyDayOfMonth,this.monthlyDayOfWeek=e.monthlyDayOfWeek,this.jobId=e.jobId)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).learningPlanEmailSettingRecurrenceId=this.learningPlanEmailSettingRecurrenceId,e.learningPlanEmailSettingId=this.learningPlanEmailSettingId,e.frequency=this.frequency,e.startDate=this.startDate?this.startDate.toISOString():void 0,e.endDate=this.endDate?this.endDate.toISOString():void 0,e.time=this.time,e.timezoneId=this.timezoneId,e.timezoneCode=this.timezoneCode,e.recurDayOfWeek=this.recurDayOfWeek,e.recurDay=this.recurDay,e.monthlyOption=this.monthlyOption,e.monthlyDay=this.monthlyDay,e.monthlyDayOfMonth=this.monthlyDayOfMonth,e.monthlyDayOfWeek=this.monthlyDayOfWeek,e.jobId=this.jobId,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Pv=function(){function e(t){if(Object(l.a)(this,e),this.learningPlanEmailSettingScheduleId=void 0,this.learningPlanEmailSettingId=void 0,this.processDate=void 0,this.processTime=void 0,this.timezoneId=void 0,this.timezoneCode=void 0,this.jobId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.learningPlanEmailSettingScheduleId=e.learningPlanEmailSettingScheduleId,this.learningPlanEmailSettingId=e.learningPlanEmailSettingId,this.processDate=e.processDate?new Date(e.processDate.toString()):void 0,this.processTime=e.processTime,this.timezoneId=e.timezoneId,this.timezoneCode=e.timezoneCode,this.jobId=e.jobId)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).learningPlanEmailSettingScheduleId=this.learningPlanEmailSettingScheduleId,e.learningPlanEmailSettingId=this.learningPlanEmailSettingId,e.processDate=this.processDate?this.processDate.toISOString():void 0,e.processTime=this.processTime,e.timezoneId=this.timezoneId,e.timezoneCode=this.timezoneCode,e.jobId=this.jobId,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Nv=function(){function e(t){if(Object(l.a)(this,e),this.learningPlanId=void 0,this.title=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.learningPlanId=e.learningPlanId,this.title=e.title)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).learningPlanId=this.learningPlanId,e.title=this.title,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Dv=function(){function e(t){if(Object(l.a)(this,e),this.learningPlans=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&Array.isArray(e.learningPlans)){this.learningPlans=[];var t,n=Object(s.a)(e.learningPlans);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.learningPlans.push(Nv.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.learningPlans)){e.learningPlans=[];var t,n=Object(s.a)(this.learningPlans);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.learningPlans.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Lv=function(){function e(t){if(Object(l.a)(this,e),this.learningPlanIdList=void 0,this.recordCount=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.learningPlanIdList)){this.learningPlanIdList=[];var t,n=Object(s.a)(e.learningPlanIdList);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.learningPlanIdList.push(i)}}catch(a){n.e(a)}finally{n.f()}}this.recordCount=e.recordCount}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.learningPlanIdList)){e.learningPlanIdList=[];var t,n=Object(s.a)(this.learningPlanIdList);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.learningPlanIdList.push(i)}}catch(a){n.e(a)}finally{n.f()}}return e.recordCount=this.recordCount,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Fv=function(){function e(t){if(Object(l.a)(this,e),this.learningPlanId=void 0,this.title=void 0,this.description=void 0,this.notes=void 0,this.type=void 0,this.timeframeOfCompletion=void 0,this.startDate=void 0,this.endDate=void 0,this.createdDate=void 0,this.lastModifiedDate=void 0,this.duration=void 0,this.durationType=void 0,this.requiredCourses=void 0,this.activityCount=void 0,this.learnersChoiceCount=void 0,this.mandatoryCount=void 0,this.isSelfEnrolled=void 0,this.archivedDate=void 0,this.learningPlanCompetencies=void 0,this.learningPlanTags=void 0,this.learningPlanMaterials=void 0,this.guid=void 0,this.addParticipantEmail=void 0,this.deleteParticipantEmail=void 0,this.updateParticipantStatusEmail=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.learningPlanId=e.learningPlanId,this.title=e.title,this.description=e.description,this.notes=e.notes,this.type=e.type,this.timeframeOfCompletion=e.timeframeOfCompletion,this.startDate=e.startDate?new Date(e.startDate.toString()):void 0,this.endDate=e.endDate?new Date(e.endDate.toString()):void 0,this.createdDate=e.createdDate?new Date(e.createdDate.toString()):void 0,this.lastModifiedDate=e.lastModifiedDate?new Date(e.lastModifiedDate.toString()):void 0,this.duration=e.duration,this.durationType=e.durationType,this.requiredCourses=e.requiredCourses,this.activityCount=e.activityCount,this.learnersChoiceCount=e.learnersChoiceCount,this.mandatoryCount=e.mandatoryCount,this.isSelfEnrolled=e.isSelfEnrolled,this.archivedDate=e.archivedDate?new Date(e.archivedDate.toString()):void 0,Array.isArray(e.learningPlanCompetencies)){this.learningPlanCompetencies=[];var t,n=Object(s.a)(e.learningPlanCompetencies);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.learningPlanCompetencies.push(Iv.fromJS(i))}}catch(u){n.e(u)}finally{n.f()}}if(Array.isArray(e.learningPlanTags)){this.learningPlanTags=[];var a,r=Object(s.a)(e.learningPlanTags);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.learningPlanTags.push(Kv.fromJS(o))}}catch(u){r.e(u)}finally{r.f()}}if(Array.isArray(e.learningPlanMaterials)){this.learningPlanMaterials=[];var l,c=Object(s.a)(e.learningPlanMaterials);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.learningPlanMaterials.push(Rv.fromJS(d))}}catch(u){c.e(u)}finally{c.f()}}this.guid=e.guid,this.addParticipantEmail=e.addParticipantEmail,this.deleteParticipantEmail=e.deleteParticipantEmail,this.updateParticipantStatusEmail=e.updateParticipantStatusEmail}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).learningPlanId=this.learningPlanId,e.title=this.title,e.description=this.description,e.notes=this.notes,e.type=this.type,e.timeframeOfCompletion=this.timeframeOfCompletion,e.startDate=this.startDate?this.startDate.toISOString():void 0,e.endDate=this.endDate?this.endDate.toISOString():void 0,e.createdDate=this.createdDate?this.createdDate.toISOString():void 0,e.lastModifiedDate=this.lastModifiedDate?this.lastModifiedDate.toISOString():void 0,e.duration=this.duration,e.durationType=this.durationType,e.requiredCourses=this.requiredCourses,e.activityCount=this.activityCount,e.learnersChoiceCount=this.learnersChoiceCount,e.mandatoryCount=this.mandatoryCount,e.isSelfEnrolled=this.isSelfEnrolled,e.archivedDate=this.archivedDate?this.archivedDate.toISOString():void 0,Array.isArray(this.learningPlanCompetencies)){e.learningPlanCompetencies=[];var t,n=Object(s.a)(this.learningPlanCompetencies);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.learningPlanCompetencies.push(i.toJSON())}}catch(u){n.e(u)}finally{n.f()}}if(Array.isArray(this.learningPlanTags)){e.learningPlanTags=[];var a,r=Object(s.a)(this.learningPlanTags);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.learningPlanTags.push(o.toJSON())}}catch(u){r.e(u)}finally{r.f()}}if(Array.isArray(this.learningPlanMaterials)){e.learningPlanMaterials=[];var l,c=Object(s.a)(this.learningPlanMaterials);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.learningPlanMaterials.push(d.toJSON())}}catch(u){c.e(u)}finally{c.f()}}return e.guid=this.guid,e.addParticipantEmail=this.addParticipantEmail,e.deleteParticipantEmail=this.deleteParticipantEmail,e.updateParticipantStatusEmail=this.updateParticipantStatusEmail,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Bv=function(){function e(t){if(Object(l.a)(this,e),this.learningPlanId=void 0,this.userId=void 0,this.guid=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.learningPlanId=e.learningPlanId,this.userId=e.userId,this.guid=e.guid)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).learningPlanId=this.learningPlanId,e.userId=this.userId,e.guid=this.guid,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Rv=function(){function e(t){if(Object(l.a)(this,e),this.learningPlanMaterialId=void 0,this.learningPlanId=void 0,this.fileId=void 0,this.isPublic=void 0,this.libraryFile=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.learningPlanMaterialId=e.learningPlanMaterialId,this.learningPlanId=e.learningPlanId,this.fileId=e.fileId,this.isPublic=e.isPublic,this.libraryFile=e.libraryFile?lf.fromJS(e.libraryFile):void 0)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).learningPlanMaterialId=this.learningPlanMaterialId,e.learningPlanId=this.learningPlanId,e.fileId=this.fileId,e.isPublic=this.isPublic,e.libraryFile=this.libraryFile?this.libraryFile.toJSON():void 0,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Jv=function(){function e(t){if(Object(l.a)(this,e),this.learningPlanEmailSettingId=void 0,this.learningPlanId=void 0,this.emailTypeId=void 0,this.scheduleOption=void 0,this.emailTemplateId=void 0,this.subject=void 0,this.replyToUserId=void 0,this.senderId=void 0,this.emailAlias=void 0,this.body=void 0,this.sendToAdminAssistant=void 0,this.sendSeparateCCCopy=void 0,this.includeMaterials=void 0,this.lastSent=void 0,this.learningPlanEmailSettingRecurrenceId=void 0,this.schedules=void 0,this.recurrence=void 0,this.recipients=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.learningPlanEmailSettingId=e.learningPlanEmailSettingId,this.learningPlanId=e.learningPlanId,this.emailTypeId=e.emailTypeId,this.scheduleOption=e.scheduleOption,this.emailTemplateId=e.emailTemplateId,this.subject=e.subject,this.replyToUserId=e.replyToUserId,this.senderId=e.senderId,this.emailAlias=e.emailAlias,this.body=e.body,this.sendToAdminAssistant=e.sendToAdminAssistant,this.sendSeparateCCCopy=e.sendSeparateCCCopy,this.includeMaterials=e.includeMaterials,this.lastSent=e.lastSent?new Date(e.lastSent.toString()):void 0,this.learningPlanEmailSettingRecurrenceId=e.learningPlanEmailSettingRecurrenceId,Array.isArray(e.schedules)){this.schedules=[];var t,n=Object(s.a)(e.schedules);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.schedules.push(Pv.fromJS(i))}}catch(l){n.e(l)}finally{n.f()}}if(this.recurrence=e.recurrence?kv.fromJS(e.recurrence):void 0,Array.isArray(e.recipients)){this.recipients=[];var a,r=Object(s.a)(e.recipients);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.recipients.push(Ss.fromJS(o))}}catch(l){r.e(l)}finally{r.f()}}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).learningPlanEmailSettingId=this.learningPlanEmailSettingId,e.learningPlanId=this.learningPlanId,e.emailTypeId=this.emailTypeId,e.scheduleOption=this.scheduleOption,e.emailTemplateId=this.emailTemplateId,e.subject=this.subject,e.replyToUserId=this.replyToUserId,e.senderId=this.senderId,e.emailAlias=this.emailAlias,e.body=this.body,e.sendToAdminAssistant=this.sendToAdminAssistant,e.sendSeparateCCCopy=this.sendSeparateCCCopy,e.includeMaterials=this.includeMaterials,e.lastSent=this.lastSent?this.lastSent.toISOString():void 0,e.learningPlanEmailSettingRecurrenceId=this.learningPlanEmailSettingRecurrenceId,Array.isArray(this.schedules)){e.schedules=[];var t,n=Object(s.a)(this.schedules);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.schedules.push(i.toJSON())}}catch(l){n.e(l)}finally{n.f()}}if(e.recurrence=this.recurrence?this.recurrence.toJSON():void 0,Array.isArray(this.recipients)){e.recipients=[];var a,r=Object(s.a)(this.recipients);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.recipients.push(o.toJSON())}}catch(l){r.e(l)}finally{r.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Gv=function(){function e(t){if(Object(l.a)(this,e),this.settings=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&Array.isArray(e.settings)){this.settings=[];var t,n=Object(s.a)(e.settings);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.settings.push(Jv.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.settings)){e.settings=[];var t,n=Object(s.a)(this.settings);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.settings.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Uv=function(){function e(t){if(Object(l.a)(this,e),this.learningPlanId=void 0,this.participantId=void 0,this.userId=void 0,this.firstName=void 0,this.middleName=void 0,this.lastName=void 0,this.name=void 0,this.email=void 0,this.location=void 0,this.userType=void 0,this.timeframeOfCompletion=void 0,this.startDate=void 0,this.endDate=void 0,this.duration=void 0,this.durationType=void 0,this.activityStatus=void 0,this.learnersChoiceStatus=void 0,this.mandatoryStatus=void 0,this.criteriaStatus=void 0,this.criteriaMet=void 0,this.status=void 0,this.userAvatar=void 0,this.isIncluded=void 0,this.validatedBy=void 0,this.dateAdded=void 0,this.completedDate=void 0,this.isActive=void 0,this.isRecentlyAdded=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.learningPlanId=e.learningPlanId,this.participantId=e.participantId,this.userId=e.userId,this.firstName=e.firstName,this.middleName=e.middleName,this.lastName=e.lastName,this.name=e.name,this.email=e.email,this.location=e.location,this.userType=e.userType,this.timeframeOfCompletion=e.timeframeOfCompletion,this.startDate=e.startDate?new Date(e.startDate.toString()):void 0,this.endDate=e.endDate?new Date(e.endDate.toString()):void 0,this.duration=e.duration,this.durationType=e.durationType,this.activityStatus=e.activityStatus,this.learnersChoiceStatus=e.learnersChoiceStatus,this.mandatoryStatus=e.mandatoryStatus,this.criteriaStatus=e.criteriaStatus,Array.isArray(e.criteriaMet)){this.criteriaMet=[];var t,n=Object(s.a)(e.criteriaMet);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.criteriaMet.push(Ov.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}this.status=e.status,this.userAvatar=e.userAvatar?QI.fromJS(e.userAvatar):void 0,this.isIncluded=e.isIncluded,this.validatedBy=e.validatedBy,this.dateAdded=e.dateAdded?new Date(e.dateAdded.toString()):void 0,this.completedDate=e.completedDate?new Date(e.completedDate.toString()):void 0,this.isActive=e.isActive,this.isRecentlyAdded=e.isRecentlyAdded}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).learningPlanId=this.learningPlanId,e.participantId=this.participantId,e.userId=this.userId,e.firstName=this.firstName,e.middleName=this.middleName,e.lastName=this.lastName,e.name=this.name,e.email=this.email,e.location=this.location,e.userType=this.userType,e.timeframeOfCompletion=this.timeframeOfCompletion,e.startDate=this.startDate?this.startDate.toISOString():void 0,e.endDate=this.endDate?this.endDate.toISOString():void 0,e.duration=this.duration,e.durationType=this.durationType,e.activityStatus=this.activityStatus,e.learnersChoiceStatus=this.learnersChoiceStatus,e.mandatoryStatus=this.mandatoryStatus,e.criteriaStatus=this.criteriaStatus,Array.isArray(this.criteriaMet)){e.criteriaMet=[];var t,n=Object(s.a)(this.criteriaMet);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.criteriaMet.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e.status=this.status,e.userAvatar=this.userAvatar?this.userAvatar.toJSON():void 0,e.isIncluded=this.isIncluded,e.validatedBy=this.validatedBy,e.dateAdded=this.dateAdded?this.dateAdded.toISOString():void 0,e.completedDate=this.completedDate?this.completedDate.toISOString():void 0,e.isActive=this.isActive,e.isRecentlyAdded=this.isRecentlyAdded,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),zv=function(){function e(t){if(Object(l.a)(this,e),this.learningPlanParticipants=void 0,this.recordCount=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.learningPlanParticipants)){this.learningPlanParticipants=[];var t,n=Object(s.a)(e.learningPlanParticipants);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.learningPlanParticipants.push(Uv.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}this.recordCount=e.recordCount}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.learningPlanParticipants)){e.learningPlanParticipants=[];var t,n=Object(s.a)(this.learningPlanParticipants);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.learningPlanParticipants.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e.recordCount=this.recordCount,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),qv=function(){function e(t){if(Object(l.a)(this,e),this.learningPlanParticipantId=void 0,this.learningPlanId=void 0,this.requirementId=void 0,this.courseTitle=void 0,this.specificRequirementId=void 0,this.requirementType=void 0,this.name=void 0,this.startDate=void 0,this.endDate=void 0,this.isCompletedWithinRequiredDate=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.learningPlanParticipantId=e.learningPlanParticipantId,this.learningPlanId=e.learningPlanId,this.requirementId=e.requirementId,this.courseTitle=e.courseTitle,this.specificRequirementId=e.specificRequirementId,this.requirementType=e.requirementType,this.name=e.name,this.startDate=e.startDate?new Date(e.startDate.toString()):void 0,this.endDate=e.endDate?new Date(e.endDate.toString()):void 0,this.isCompletedWithinRequiredDate=e.isCompletedWithinRequiredDate)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).learningPlanParticipantId=this.learningPlanParticipantId,e.learningPlanId=this.learningPlanId,e.requirementId=this.requirementId,e.courseTitle=this.courseTitle,e.specificRequirementId=this.specificRequirementId,e.requirementType=this.requirementType,e.name=this.name,e.startDate=this.startDate?this.startDate.toISOString():void 0,e.endDate=this.endDate?this.endDate.toISOString():void 0,e.isCompletedWithinRequiredDate=this.isCompletedWithinRequiredDate,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Mv=function(){function e(t){if(Object(l.a)(this,e),this.learningPlanParticipantRequirements=void 0,this.recordCount=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.learningPlanParticipantRequirements)){this.learningPlanParticipantRequirements=[];var t,n=Object(s.a)(e.learningPlanParticipantRequirements);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.learningPlanParticipantRequirements.push(qv.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}this.recordCount=e.recordCount}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.learningPlanParticipantRequirements)){e.learningPlanParticipantRequirements=[];var t,n=Object(s.a)(this.learningPlanParticipantRequirements);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.learningPlanParticipantRequirements.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e.recordCount=this.recordCount,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}();!function(e){e[e.NotStarted=0]="NotStarted",e[e.InProgress=1]="InProgress",e[e.Completed=2]="Completed",e[e.PastDue=3]="PastDue",e[e.Excluded=4]="Excluded"}(iv||(iv={}));var Wv,Vv=function(){function e(t){if(Object(l.a)(this,e),this.learningPlanId=void 0,this.title=void 0,this.description=void 0,this.type=void 0,this.timeframeOfCompletion=void 0,this.startDate=void 0,this.endDate=void 0,this.duration=void 0,this.durationType=void 0,this.requiredCourses=void 0,this.activityCount=void 0,this.learnersChoiceCount=void 0,this.mandatoryCount=void 0,this.isSelfEnrolled=void 0,this.archivedDate=void 0,this.learningPlanCompetencies=void 0,this.learningPlanTags=void 0,this.learningPlanActivities=void 0,this.learningPlanCourses=void 0,this.learningPlanParticipants=void 0,this.learningPlanMaterials=void 0,this.status=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.learningPlanId=e.learningPlanId,this.title=e.title,this.description=e.description,this.type=e.type,this.timeframeOfCompletion=e.timeframeOfCompletion,this.startDate=e.startDate?new Date(e.startDate.toString()):void 0,this.endDate=e.endDate?new Date(e.endDate.toString()):void 0,this.duration=e.duration,this.durationType=e.durationType,this.requiredCourses=e.requiredCourses,this.activityCount=e.activityCount,this.learnersChoiceCount=e.learnersChoiceCount,this.mandatoryCount=e.mandatoryCount,this.isSelfEnrolled=e.isSelfEnrolled,this.archivedDate=e.archivedDate?new Date(e.archivedDate.toString()):void 0,Array.isArray(e.learningPlanCompetencies)){this.learningPlanCompetencies=[];var t,n=Object(s.a)(e.learningPlanCompetencies);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.learningPlanCompetencies.push(Iv.fromJS(i))}}catch(E){n.e(E)}finally{n.f()}}if(Array.isArray(e.learningPlanTags)){this.learningPlanTags=[];var a,r=Object(s.a)(e.learningPlanTags);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.learningPlanTags.push(Kv.fromJS(o))}}catch(E){r.e(E)}finally{r.f()}}if(Array.isArray(e.learningPlanActivities)){this.learningPlanActivities=[];var l,c=Object(s.a)(e.learningPlanActivities);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.learningPlanActivities.push(bv.fromJS(d))}}catch(E){c.e(E)}finally{c.f()}}if(Array.isArray(e.learningPlanCourses)){this.learningPlanCourses=[];var u,m=Object(s.a)(e.learningPlanCourses);try{for(m.s();!(u=m.n()).done;){var v=u.value;this.learningPlanCourses.push(Sv.fromJS(v))}}catch(E){m.e(E)}finally{m.f()}}if(Array.isArray(e.learningPlanParticipants)){this.learningPlanParticipants=[];var f,p=Object(s.a)(e.learningPlanParticipants);try{for(p.s();!(f=p.n()).done;){var h=f.value;this.learningPlanParticipants.push(Uv.fromJS(h))}}catch(E){p.e(E)}finally{p.f()}}if(Array.isArray(e.learningPlanMaterials)){this.learningPlanMaterials=[];var y,b=Object(s.a)(e.learningPlanMaterials);try{for(b.s();!(y=b.n()).done;){var g=y.value;this.learningPlanMaterials.push(Rv.fromJS(g))}}catch(E){b.e(E)}finally{b.f()}}this.status=e.status}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).learningPlanId=this.learningPlanId,e.title=this.title,e.description=this.description,e.type=this.type,e.timeframeOfCompletion=this.timeframeOfCompletion,e.startDate=this.startDate?this.startDate.toISOString():void 0,e.endDate=this.endDate?this.endDate.toISOString():void 0,e.duration=this.duration,e.durationType=this.durationType,e.requiredCourses=this.requiredCourses,e.activityCount=this.activityCount,e.learnersChoiceCount=this.learnersChoiceCount,e.mandatoryCount=this.mandatoryCount,e.isSelfEnrolled=this.isSelfEnrolled,e.archivedDate=this.archivedDate?this.archivedDate.toISOString():void 0,Array.isArray(this.learningPlanCompetencies)){e.learningPlanCompetencies=[];var t,n=Object(s.a)(this.learningPlanCompetencies);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.learningPlanCompetencies.push(i.toJSON())}}catch(E){n.e(E)}finally{n.f()}}if(Array.isArray(this.learningPlanTags)){e.learningPlanTags=[];var a,r=Object(s.a)(this.learningPlanTags);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.learningPlanTags.push(o.toJSON())}}catch(E){r.e(E)}finally{r.f()}}if(Array.isArray(this.learningPlanActivities)){e.learningPlanActivities=[];var l,c=Object(s.a)(this.learningPlanActivities);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.learningPlanActivities.push(d.toJSON())}}catch(E){c.e(E)}finally{c.f()}}if(Array.isArray(this.learningPlanCourses)){e.learningPlanCourses=[];var u,m=Object(s.a)(this.learningPlanCourses);try{for(m.s();!(u=m.n()).done;){var v=u.value;e.learningPlanCourses.push(v.toJSON())}}catch(E){m.e(E)}finally{m.f()}}if(Array.isArray(this.learningPlanParticipants)){e.learningPlanParticipants=[];var f,p=Object(s.a)(this.learningPlanParticipants);try{for(p.s();!(f=p.n()).done;){var h=f.value;e.learningPlanParticipants.push(h.toJSON())}}catch(E){p.e(E)}finally{p.f()}}if(Array.isArray(this.learningPlanMaterials)){e.learningPlanMaterials=[];var y,b=Object(s.a)(this.learningPlanMaterials);try{for(b.s();!(y=b.n()).done;){var g=y.value;e.learningPlanMaterials.push(g.toJSON())}}catch(E){b.e(E)}finally{b.f()}}return e.status=this.status,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),_v=function(){function e(t){if(Object(l.a)(this,e),this.userLearningPlan=void 0,this.learningPlanParticipantRequirementList=void 0,this.user=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.userLearningPlan=e.userLearningPlan?hS.fromJS(e.userLearningPlan):void 0,this.learningPlanParticipantRequirementList=e.learningPlanParticipantRequirementList?Mv.fromJS(e.learningPlanParticipantRequirementList):void 0,this.user=e.user?lS.fromJS(e.user):void 0)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).userLearningPlan=this.userLearningPlan?this.userLearningPlan.toJSON():void 0,e.learningPlanParticipantRequirementList=this.learningPlanParticipantRequirementList?this.learningPlanParticipantRequirementList.toJSON():void 0,e.user=this.user?this.user.toJSON():void 0,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Yv=function(){function e(t){if(Object(l.a)(this,e),this.learningPlanId=void 0,this.requiredCourses=void 0,this.learningPlanActivities=void 0,this.learningPlanCourses=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.learningPlanId=e.learningPlanId,this.requiredCourses=e.requiredCourses,Array.isArray(e.learningPlanActivities)){this.learningPlanActivities=[];var t,n=Object(s.a)(e.learningPlanActivities);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.learningPlanActivities.push(bv.fromJS(i))}}catch(l){n.e(l)}finally{n.f()}}if(Array.isArray(e.learningPlanCourses)){this.learningPlanCourses=[];var a,r=Object(s.a)(e.learningPlanCourses);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.learningPlanCourses.push(Sv.fromJS(o))}}catch(l){r.e(l)}finally{r.f()}}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).learningPlanId=this.learningPlanId,e.requiredCourses=this.requiredCourses,Array.isArray(this.learningPlanActivities)){e.learningPlanActivities=[];var t,n=Object(s.a)(this.learningPlanActivities);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.learningPlanActivities.push(i.toJSON())}}catch(l){n.e(l)}finally{n.f()}}if(Array.isArray(this.learningPlanCourses)){e.learningPlanCourses=[];var a,r=Object(s.a)(this.learningPlanCourses);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.learningPlanCourses.push(o.toJSON())}}catch(l){r.e(l)}finally{r.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Hv=function(){function e(t){if(Object(l.a)(this,e),this.sessionId=void 0,this.courseId=void 0,this.scheduleId=void 0,this.sessionTypeId=void 0,this.mediaTypeId=void 0,this.title=void 0,this.courseFormatId=void 0,this.courseFormat=void 0,this.courseFormatPortalCategory=void 0,this.courseTitle=void 0,this.provider=void 0,this.startDate=void 0,this.endDate=void 0,this.startTime=void 0,this.endTime=void 0,this.timezoneId=void 0,this.timeZone=void 0,this.locationId=void 0,this.location=void 0,this.roomId=void 0,this.room=void 0,this.cost=void 0,this.detail=void 0,this.duration=void 0,this.isOnlineLearning=void 0,this.isRegistrationApprovalNeeded=void 0,this.registrationLimit=void 0,this.isWaitlistingAllowed=void 0,this.evaluationId=void 0,this.evaluation=void 0,this.areQuestionsAllowed=void 0,this.launchUrl=void 0,this.url=void 0,this.note=void 0,this.isOpenToClient=void 0,this.isIndividualSessionDateAllowed=void 0,this.isPublished=void 0,this.isInHouse=void 0,this.cancelledDate=void 0,this.participantCount=void 0,this.sessionApprovers=void 0,this.sessionLicenses=void 0,this.sessionParticipant=void 0,this.sessionInstructors=void 0,this.sessionWaitlist=void 0,this.sessionMaterials=void 0,this.sessionMediaFiles=void 0,this.guid=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.sessionId=e.sessionId,this.courseId=e.courseId,this.scheduleId=e.scheduleId,this.sessionTypeId=e.sessionTypeId,this.mediaTypeId=e.mediaTypeId,this.title=e.title,this.courseFormatId=e.courseFormatId,this.courseFormat=e.courseFormat,this.courseFormatPortalCategory=e.courseFormatPortalCategory,this.courseTitle=e.courseTitle,this.provider=e.provider,this.startDate=e.startDate?new Date(e.startDate.toString()):void 0,this.endDate=e.endDate?new Date(e.endDate.toString()):void 0,this.startTime=e.startTime,this.endTime=e.endTime,this.timezoneId=e.timezoneId,this.timeZone=e.timeZone,this.locationId=e.locationId,this.location=e.location,this.roomId=e.roomId,this.room=e.room,this.cost=e.cost,this.detail=e.detail,this.duration=e.duration,this.isOnlineLearning=e.isOnlineLearning,this.isRegistrationApprovalNeeded=e.isRegistrationApprovalNeeded,this.registrationLimit=e.registrationLimit,this.isWaitlistingAllowed=e.isWaitlistingAllowed,this.evaluationId=e.evaluationId,this.evaluation=e.evaluation,this.areQuestionsAllowed=e.areQuestionsAllowed,this.launchUrl=e.launchUrl,this.url=e.url,this.note=e.note,this.isOpenToClient=e.isOpenToClient,this.isIndividualSessionDateAllowed=e.isIndividualSessionDateAllowed,this.isPublished=e.isPublished,this.isInHouse=e.isInHouse,this.cancelledDate=e.cancelledDate?new Date(e.cancelledDate.toString()):void 0,this.participantCount=e.participantCount,Array.isArray(e.sessionApprovers)){this.sessionApprovers=[];var t,n=Object(s.a)(e.sessionApprovers);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.sessionApprovers.push(vb.fromJS(i))}}catch(O){n.e(O)}finally{n.f()}}if(Array.isArray(e.sessionLicenses)){this.sessionLicenses=[];var a,r=Object(s.a)(e.sessionLicenses);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.sessionLicenses.push(Fb.fromJS(o))}}catch(O){r.e(O)}finally{r.f()}}if(Array.isArray(e.sessionParticipant)){this.sessionParticipant=[];var l,c=Object(s.a)(e.sessionParticipant);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.sessionParticipant.push(Qb.fromJS(d))}}catch(O){c.e(O)}finally{c.f()}}if(Array.isArray(e.sessionInstructors)){this.sessionInstructors=[];var u,m=Object(s.a)(e.sessionInstructors);try{for(m.s();!(u=m.n()).done;){var v=u.value;this.sessionInstructors.push(Qb.fromJS(v))}}catch(O){m.e(O)}finally{m.f()}}if(Array.isArray(e.sessionWaitlist)){this.sessionWaitlist=[];var f,p=Object(s.a)(e.sessionWaitlist);try{for(p.s();!(f=p.n()).done;){var h=f.value;this.sessionWaitlist.push(Eg.fromJS(h))}}catch(O){p.e(O)}finally{p.f()}}if(Array.isArray(e.sessionMaterials)){this.sessionMaterials=[];var y,b=Object(s.a)(e.sessionMaterials);try{for(b.s();!(y=b.n()).done;){var g=y.value;this.sessionMaterials.push(qb.fromJS(g))}}catch(O){b.e(O)}finally{b.f()}}if(Array.isArray(e.sessionMediaFiles)){this.sessionMediaFiles=[];var E,I=Object(s.a)(e.sessionMediaFiles);try{for(I.s();!(E=I.n()).done;){var S=E.value;this.sessionMediaFiles.push(Mb.fromJS(S))}}catch(O){I.e(O)}finally{I.f()}}this.guid=e.guid}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).sessionId=this.sessionId,e.courseId=this.courseId,e.scheduleId=this.scheduleId,e.sessionTypeId=this.sessionTypeId,e.mediaTypeId=this.mediaTypeId,e.title=this.title,e.courseFormatId=this.courseFormatId,e.courseFormat=this.courseFormat,e.courseFormatPortalCategory=this.courseFormatPortalCategory,e.courseTitle=this.courseTitle,e.provider=this.provider,e.startDate=this.startDate?this.startDate.toISOString():void 0,e.endDate=this.endDate?this.endDate.toISOString():void 0,e.startTime=this.startTime,e.endTime=this.endTime,e.timezoneId=this.timezoneId,e.timeZone=this.timeZone,e.locationId=this.locationId,e.location=this.location,e.roomId=this.roomId,e.room=this.room,e.cost=this.cost,e.detail=this.detail,e.duration=this.duration,e.isOnlineLearning=this.isOnlineLearning,e.isRegistrationApprovalNeeded=this.isRegistrationApprovalNeeded,e.registrationLimit=this.registrationLimit,e.isWaitlistingAllowed=this.isWaitlistingAllowed,e.evaluationId=this.evaluationId,e.evaluation=this.evaluation,e.areQuestionsAllowed=this.areQuestionsAllowed,e.launchUrl=this.launchUrl,e.url=this.url,e.note=this.note,e.isOpenToClient=this.isOpenToClient,e.isIndividualSessionDateAllowed=this.isIndividualSessionDateAllowed,e.isPublished=this.isPublished,e.isInHouse=this.isInHouse,e.cancelledDate=this.cancelledDate?this.cancelledDate.toISOString():void 0,e.participantCount=this.participantCount,Array.isArray(this.sessionApprovers)){e.sessionApprovers=[];var t,n=Object(s.a)(this.sessionApprovers);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.sessionApprovers.push(i.toJSON())}}catch(O){n.e(O)}finally{n.f()}}if(Array.isArray(this.sessionLicenses)){e.sessionLicenses=[];var a,r=Object(s.a)(this.sessionLicenses);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.sessionLicenses.push(o.toJSON())}}catch(O){r.e(O)}finally{r.f()}}if(Array.isArray(this.sessionParticipant)){e.sessionParticipant=[];var l,c=Object(s.a)(this.sessionParticipant);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.sessionParticipant.push(d.toJSON())}}catch(O){c.e(O)}finally{c.f()}}if(Array.isArray(this.sessionInstructors)){e.sessionInstructors=[];var u,m=Object(s.a)(this.sessionInstructors);try{for(m.s();!(u=m.n()).done;){var v=u.value;e.sessionInstructors.push(v.toJSON())}}catch(O){m.e(O)}finally{m.f()}}if(Array.isArray(this.sessionWaitlist)){e.sessionWaitlist=[];var f,p=Object(s.a)(this.sessionWaitlist);try{for(p.s();!(f=p.n()).done;){var h=f.value;e.sessionWaitlist.push(h.toJSON())}}catch(O){p.e(O)}finally{p.f()}}if(Array.isArray(this.sessionMaterials)){e.sessionMaterials=[];var y,b=Object(s.a)(this.sessionMaterials);try{for(b.s();!(y=b.n()).done;){var g=y.value;e.sessionMaterials.push(g.toJSON())}}catch(O){b.e(O)}finally{b.f()}}if(Array.isArray(this.sessionMediaFiles)){e.sessionMediaFiles=[];var E,I=Object(s.a)(this.sessionMediaFiles);try{for(I.s();!(E=I.n()).done;){var S=E.value;e.sessionMediaFiles.push(S.toJSON())}}catch(O){I.e(O)}finally{I.f()}}return e.guid=this.guid,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),$v=function(){function e(t){if(Object(l.a)(this,e),this.learningPlanSavedFilterId=void 0,this.name=void 0,this.isPublic=void 0,this.isReadOnly=void 0,this.isDefault=void 0,this.filter=void 0,this.createdBy=void 0,this.isSystem=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.learningPlanSavedFilterId=e.learningPlanSavedFilterId,this.name=e.name,this.isPublic=e.isPublic,this.isReadOnly=e.isReadOnly,this.isDefault=e.isDefault,this.filter=e.filter,this.createdBy=e.createdBy,this.isSystem=e.isSystem)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).learningPlanSavedFilterId=this.learningPlanSavedFilterId,e.name=this.name,e.isPublic=this.isPublic,e.isReadOnly=this.isReadOnly,e.isDefault=this.isDefault,e.filter=this.filter,e.createdBy=this.createdBy,e.isSystem=this.isSystem,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Qv=function(){function e(t){if(Object(l.a)(this,e),this.learningPlanSavedFilters=void 0,this.recordCount=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.learningPlanSavedFilters)){this.learningPlanSavedFilters=[];var t,n=Object(s.a)(e.learningPlanSavedFilters);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.learningPlanSavedFilters.push($v.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}this.recordCount=e.recordCount}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.learningPlanSavedFilters)){e.learningPlanSavedFilters=[];var t,n=Object(s.a)(this.learningPlanSavedFilters);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.learningPlanSavedFilters.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e.recordCount=this.recordCount,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Zv=function(){function e(t){if(Object(l.a)(this,e),this.learningPlanId=void 0,this.title=void 0,this.description=void 0,this.notes=void 0,this.type=void 0,this.timeframeOfCompletion=void 0,this.startDate=void 0,this.endDate=void 0,this.createdDate=void 0,this.lastModifiedDate=void 0,this.duration=void 0,this.durationType=void 0,this.requiredCourses=void 0,this.mandatoryCount=void 0,this.learnersChoiceCount=void 0,this.activityCount=void 0,this.isSelfEnrolled=void 0,this.archivedDate=void 0,this.completeCount=void 0,this.incompleteCount=void 0,this.learningPlanCompetencies=void 0,this.learningPlanTags=void 0,this.learningPlanMaterials=void 0,this.guid=void 0,this.addParticipantEmail=void 0,this.deleteParticipantEmail=void 0,this.updateParticipantStatusEmail=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.learningPlanId=e.learningPlanId,this.title=e.title,this.description=e.description,this.notes=e.notes,this.type=e.type,this.timeframeOfCompletion=e.timeframeOfCompletion,this.startDate=e.startDate?new Date(e.startDate.toString()):void 0,this.endDate=e.endDate?new Date(e.endDate.toString()):void 0,this.createdDate=e.createdDate?new Date(e.createdDate.toString()):void 0,this.lastModifiedDate=e.lastModifiedDate?new Date(e.lastModifiedDate.toString()):void 0,this.duration=e.duration,this.durationType=e.durationType,this.requiredCourses=e.requiredCourses,this.mandatoryCount=e.mandatoryCount,this.learnersChoiceCount=e.learnersChoiceCount,this.activityCount=e.activityCount,this.isSelfEnrolled=e.isSelfEnrolled,this.archivedDate=e.archivedDate?new Date(e.archivedDate.toString()):void 0,this.completeCount=e.completeCount,this.incompleteCount=e.incompleteCount,Array.isArray(e.learningPlanCompetencies)){this.learningPlanCompetencies=[];var t,n=Object(s.a)(e.learningPlanCompetencies);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.learningPlanCompetencies.push(Iv.fromJS(i))}}catch(u){n.e(u)}finally{n.f()}}if(Array.isArray(e.learningPlanTags)){this.learningPlanTags=[];var a,r=Object(s.a)(e.learningPlanTags);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.learningPlanTags.push(Kv.fromJS(o))}}catch(u){r.e(u)}finally{r.f()}}if(Array.isArray(e.learningPlanMaterials)){this.learningPlanMaterials=[];var l,c=Object(s.a)(e.learningPlanMaterials);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.learningPlanMaterials.push(Rv.fromJS(d))}}catch(u){c.e(u)}finally{c.f()}}this.guid=e.guid,this.addParticipantEmail=e.addParticipantEmail,this.deleteParticipantEmail=e.deleteParticipantEmail,this.updateParticipantStatusEmail=e.updateParticipantStatusEmail}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).learningPlanId=this.learningPlanId,e.title=this.title,e.description=this.description,e.notes=this.notes,e.type=this.type,e.timeframeOfCompletion=this.timeframeOfCompletion,e.startDate=this.startDate?this.startDate.toISOString():void 0,e.endDate=this.endDate?this.endDate.toISOString():void 0,e.createdDate=this.createdDate?this.createdDate.toISOString():void 0,e.lastModifiedDate=this.lastModifiedDate?this.lastModifiedDate.toISOString():void 0,e.duration=this.duration,e.durationType=this.durationType,e.requiredCourses=this.requiredCourses,e.mandatoryCount=this.mandatoryCount,e.learnersChoiceCount=this.learnersChoiceCount,e.activityCount=this.activityCount,e.isSelfEnrolled=this.isSelfEnrolled,e.archivedDate=this.archivedDate?this.archivedDate.toISOString():void 0,e.completeCount=this.completeCount,e.incompleteCount=this.incompleteCount,Array.isArray(this.learningPlanCompetencies)){e.learningPlanCompetencies=[];var t,n=Object(s.a)(this.learningPlanCompetencies);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.learningPlanCompetencies.push(i.toJSON())}}catch(u){n.e(u)}finally{n.f()}}if(Array.isArray(this.learningPlanTags)){e.learningPlanTags=[];var a,r=Object(s.a)(this.learningPlanTags);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.learningPlanTags.push(o.toJSON())}}catch(u){r.e(u)}finally{r.f()}}if(Array.isArray(this.learningPlanMaterials)){e.learningPlanMaterials=[];var l,c=Object(s.a)(this.learningPlanMaterials);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.learningPlanMaterials.push(d.toJSON())}}catch(u){c.e(u)}finally{c.f()}}return e.guid=this.guid,e.addParticipantEmail=this.addParticipantEmail,e.deleteParticipantEmail=this.deleteParticipantEmail,e.updateParticipantStatusEmail=this.updateParticipantStatusEmail,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Xv=function(){function e(t){if(Object(l.a)(this,e),this.learningPlans=void 0,this.recordCount=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.learningPlans)){this.learningPlans=[];var t,n=Object(s.a)(e.learningPlans);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.learningPlans.push(Zv.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}this.recordCount=e.recordCount}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.learningPlans)){e.learningPlans=[];var t,n=Object(s.a)(this.learningPlans);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.learningPlans.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e.recordCount=this.recordCount,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Kv=function(){function e(t){if(Object(l.a)(this,e),this.tagId=void 0,this.name=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.tagId=e.tagId,this.name=e.name)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).tagId=this.tagId,e.name=this.name,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}();!function(e){e[e.CalendarBased=1]="CalendarBased",e[e.TimeToComplete=2]="TimeToComplete",e[e.NoneSpecified=3]="NoneSpecified"}(Wv||(Wv={}));var ef,tf=function(){function e(t){if(Object(l.a)(this,e),this.learningSettingId=void 0,this.learningSettingEnumType=void 0,this.valueBit=void 0,this.valueInt=void 0,this.valueDecimal=void 0,this.valueChar=void 0,this.valueOption=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.learningSettingId=e.learningSettingId,this.learningSettingEnumType=e.learningSettingEnumType,this.valueBit=e.valueBit,this.valueInt=e.valueInt,this.valueDecimal=e.valueDecimal,this.valueChar=e.valueChar,this.valueOption=e.valueOption)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).learningSettingId=this.learningSettingId,e.learningSettingEnumType=this.learningSettingEnumType,e.valueBit=this.valueBit,e.valueInt=this.valueInt,e.valueDecimal=this.valueDecimal,e.valueChar=this.valueChar,e.valueOption=this.valueOption,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}();!function(e){e[e.OpenToClients=1]="OpenToClients",e[e.AllowSendEval=2]="AllowSendEval",e[e.AllowTentativeReg=3]="AllowTentativeReg"}(ef||(ef={}));var nf,af=function(){function e(t){if(Object(l.a)(this,e),this.levelId=void 0,this.name=void 0,this.isActive=void 0,this.code=void 0,this.userCount=void 0,this.courseCount=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.levelId=e.levelId,this.name=e.name,this.isActive=e.isActive,this.code=e.code,this.userCount=e.userCount,this.courseCount=e.courseCount)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).levelId=this.levelId,e.name=this.name,e.isActive=this.isActive,e.code=this.code,e.userCount=this.userCount,e.courseCount=this.courseCount,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),rf=function(){function e(t){if(Object(l.a)(this,e),this.levels=void 0,this.recordCount=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.levels)){this.levels=[];var t,n=Object(s.a)(e.levels);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.levels.push(af.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}this.recordCount=e.recordCount}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.levels)){e.levels=[];var t,n=Object(s.a)(this.levels);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.levels.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e.recordCount=this.recordCount,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),of=function(){function e(t){if(Object(l.a)(this,e),this.affiliationId=void 0,this.name=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.affiliationId=e.affiliationId,this.name=e.name)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).affiliationId=this.affiliationId,e.name=this.name,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),sf=function(){function e(t){if(Object(l.a)(this,e),this.departmentId=void 0,this.name=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.departmentId=e.departmentId,this.name=e.name)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).departmentId=this.departmentId,e.name=this.name,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),lf=function(){function e(t){if(Object(l.a)(this,e),this.fileId=void 0,this.type=void 0,this.title=void 0,this.name=void 0,this.shortDescription=void 0,this.description=void 0,this.isActive=void 0,this.isAttendanceSheet=void 0,this.archivedDate=void 0,this.url=void 0,this.access=void 0,this.key=void 0,this.extension=void 0,this.size=void 0,this.duration=void 0,this.createdDate=void 0,this.scormCourseId=void 0,this.status=void 0,this.learningPlanCount=void 0,this.sessionMaterialCount=void 0,this.sessionMediaFileCount=void 0,this.scormType=void 0,this.libraryFileAffiliations=void 0,this.libraryFileDepartments=void 0,this.libraryFileLevels=void 0,this.libraryFileLocations=void 0,this.libraryFilePositions=void 0,this.libraryFilePracticeAreas=void 0,this.settings=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.fileId=e.fileId,this.type=e.type,this.title=e.title,this.name=e.name,this.shortDescription=e.shortDescription,this.description=e.description,this.isActive=e.isActive,this.isAttendanceSheet=e.isAttendanceSheet,this.archivedDate=e.archivedDate?new Date(e.archivedDate.toString()):void 0,this.url=e.url,this.access=e.access,this.key=e.key,this.extension=e.extension,this.size=e.size,this.duration=e.duration,this.createdDate=e.createdDate?new Date(e.createdDate.toString()):void 0,this.scormCourseId=e.scormCourseId,this.status=e.status,this.learningPlanCount=e.learningPlanCount,this.sessionMaterialCount=e.sessionMaterialCount,this.sessionMediaFileCount=e.sessionMediaFileCount,this.scormType=e.scormType,Array.isArray(e.libraryFileAffiliations)){this.libraryFileAffiliations=[];var t,n=Object(s.a)(e.libraryFileAffiliations);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.libraryFileAffiliations.push(of.fromJS(i))}}catch(O){n.e(O)}finally{n.f()}}if(Array.isArray(e.libraryFileDepartments)){this.libraryFileDepartments=[];var a,r=Object(s.a)(e.libraryFileDepartments);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.libraryFileDepartments.push(sf.fromJS(o))}}catch(O){r.e(O)}finally{r.f()}}if(Array.isArray(e.libraryFileLevels)){this.libraryFileLevels=[];var l,c=Object(s.a)(e.libraryFileLevels);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.libraryFileLevels.push(cf.fromJS(d))}}catch(O){c.e(O)}finally{c.f()}}if(Array.isArray(e.libraryFileLocations)){this.libraryFileLocations=[];var u,m=Object(s.a)(e.libraryFileLocations);try{for(m.s();!(u=m.n()).done;){var v=u.value;this.libraryFileLocations.push(uf.fromJS(v))}}catch(O){m.e(O)}finally{m.f()}}if(Array.isArray(e.libraryFilePositions)){this.libraryFilePositions=[];var f,p=Object(s.a)(e.libraryFilePositions);try{for(p.s();!(f=p.n()).done;){var h=f.value;this.libraryFilePositions.push(vf.fromJS(h))}}catch(O){p.e(O)}finally{p.f()}}if(Array.isArray(e.libraryFilePracticeAreas)){this.libraryFilePracticeAreas=[];var y,b=Object(s.a)(e.libraryFilePracticeAreas);try{for(b.s();!(y=b.n()).done;){var g=y.value;this.libraryFilePracticeAreas.push(ff.fromJS(g))}}catch(O){b.e(O)}finally{b.f()}}if(Array.isArray(e.settings)){this.settings=[];var E,I=Object(s.a)(e.settings);try{for(I.s();!(E=I.n()).done;){var S=E.value;this.settings.push(pf.fromJS(S))}}catch(O){I.e(O)}finally{I.f()}}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).fileId=this.fileId,e.type=this.type,e.title=this.title,e.name=this.name,e.shortDescription=this.shortDescription,e.description=this.description,e.isActive=this.isActive,e.isAttendanceSheet=this.isAttendanceSheet,e.archivedDate=this.archivedDate?this.archivedDate.toISOString():void 0,e.url=this.url,e.access=this.access,e.key=this.key,e.extension=this.extension,e.size=this.size,e.duration=this.duration,e.createdDate=this.createdDate?this.createdDate.toISOString():void 0,e.scormCourseId=this.scormCourseId,e.status=this.status,e.learningPlanCount=this.learningPlanCount,e.sessionMaterialCount=this.sessionMaterialCount,e.sessionMediaFileCount=this.sessionMediaFileCount,e.scormType=this.scormType,Array.isArray(this.libraryFileAffiliations)){e.libraryFileAffiliations=[];var t,n=Object(s.a)(this.libraryFileAffiliations);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.libraryFileAffiliations.push(i.toJSON())}}catch(O){n.e(O)}finally{n.f()}}if(Array.isArray(this.libraryFileDepartments)){e.libraryFileDepartments=[];var a,r=Object(s.a)(this.libraryFileDepartments);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.libraryFileDepartments.push(o.toJSON())}}catch(O){r.e(O)}finally{r.f()}}if(Array.isArray(this.libraryFileLevels)){e.libraryFileLevels=[];var l,c=Object(s.a)(this.libraryFileLevels);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.libraryFileLevels.push(d.toJSON())}}catch(O){c.e(O)}finally{c.f()}}if(Array.isArray(this.libraryFileLocations)){e.libraryFileLocations=[];var u,m=Object(s.a)(this.libraryFileLocations);try{for(m.s();!(u=m.n()).done;){var v=u.value;e.libraryFileLocations.push(v.toJSON())}}catch(O){m.e(O)}finally{m.f()}}if(Array.isArray(this.libraryFilePositions)){e.libraryFilePositions=[];var f,p=Object(s.a)(this.libraryFilePositions);try{for(p.s();!(f=p.n()).done;){var h=f.value;e.libraryFilePositions.push(h.toJSON())}}catch(O){p.e(O)}finally{p.f()}}if(Array.isArray(this.libraryFilePracticeAreas)){e.libraryFilePracticeAreas=[];var y,b=Object(s.a)(this.libraryFilePracticeAreas);try{for(b.s();!(y=b.n()).done;){var g=y.value;e.libraryFilePracticeAreas.push(g.toJSON())}}catch(O){b.e(O)}finally{b.f()}}if(Array.isArray(this.settings)){e.settings=[];var E,I=Object(s.a)(this.settings);try{for(I.s();!(E=I.n()).done;){var S=E.value;e.settings.push(S.toJSON())}}catch(O){I.e(O)}finally{I.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),cf=function(){function e(t){if(Object(l.a)(this,e),this.levelId=void 0,this.name=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.levelId=e.levelId,this.name=e.name)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).levelId=this.levelId,e.name=this.name,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),df=function(){function e(t){if(Object(l.a)(this,e),this.files=void 0,this.recordCount=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.files)){this.files=[];var t,n=Object(s.a)(e.files);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.files.push(lf.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}this.recordCount=e.recordCount}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.files)){e.files=[];var t,n=Object(s.a)(this.files);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.files.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e.recordCount=this.recordCount,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),uf=function(){function e(t){if(Object(l.a)(this,e),this.locationId=void 0,this.name=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.locationId=e.locationId,this.name=e.name)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).locationId=this.locationId,e.name=this.name,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),mf=function(){function e(t){if(Object(l.a)(this,e),this.files=void 0,this.recordCount=void 0,this.activeFile=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.files)){this.files=[];var t,n=Object(s.a)(e.files);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.files.push(lf.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}this.recordCount=e.recordCount,this.activeFile=e.activeFile}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.files)){e.files=[];var t,n=Object(s.a)(this.files);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.files.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e.recordCount=this.recordCount,e.activeFile=this.activeFile,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),vf=function(){function e(t){if(Object(l.a)(this,e),this.positionId=void 0,this.name=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.positionId=e.positionId,this.name=e.name)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).positionId=this.positionId,e.name=this.name,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),ff=function(){function e(t){if(Object(l.a)(this,e),this.practiceAreaId=void 0,this.name=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.practiceAreaId=e.practiceAreaId,this.name=e.name)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).practiceAreaId=this.practiceAreaId,e.name=this.name,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),pf=function(){function e(t){if(Object(l.a)(this,e),this.libraryFileSettingId=void 0,this.libraryFileSettingType=void 0,this.valueBit=void 0,this.valueInt=void 0,this.valueDecimal=void 0,this.valueChar=void 0,this.valueOption=void 0,this.libraryFileId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.libraryFileSettingId=e.libraryFileSettingId,this.libraryFileSettingType=e.libraryFileSettingType,this.valueBit=e.valueBit,this.valueInt=e.valueInt,this.valueDecimal=e.valueDecimal,this.valueChar=e.valueChar,this.valueOption=e.valueOption,this.libraryFileId=e.libraryFileId)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).libraryFileSettingId=this.libraryFileSettingId,e.libraryFileSettingType=this.libraryFileSettingType,e.valueBit=this.valueBit,e.valueInt=this.valueInt,e.valueDecimal=this.valueDecimal,e.valueChar=this.valueChar,e.valueOption=this.valueOption,e.libraryFileId=this.libraryFileId,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}();!function(e){e[e.EnableCustomVideoSetting=1]="EnableCustomVideoSetting",e[e.EnableSeekbar=2]="EnableSeekbar",e[e.EnableRewind=3]="EnableRewind",e[e.EnableFastForward=4]="EnableFastForward"}(nf||(nf={}));var hf,yf=function(){function e(t){if(Object(l.a)(this,e),this.licenseCertificateId=void 0,this.name=void 0,this.startDate=void 0,this.endDate=void 0,this.isActive=void 0,this.licenseId=void 0,this.certificateId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.licenseCertificateId=e.licenseCertificateId,this.name=e.name,this.startDate=e.startDate?new Date(e.startDate.toString()):void 0,this.endDate=e.endDate?new Date(e.endDate.toString()):void 0,this.isActive=e.isActive,this.licenseId=e.licenseId,this.certificateId=e.certificateId)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).licenseCertificateId=this.licenseCertificateId,e.name=this.name,e.startDate=this.startDate?this.startDate.toISOString():void 0,e.endDate=this.endDate?this.endDate.toISOString():void 0,e.isActive=this.isActive,e.licenseId=this.licenseId,e.certificateId=this.certificateId,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),bf=function(){function e(t){if(Object(l.a)(this,e),this.licenseCertificates=void 0,this.recordCount=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.licenseCertificates)){this.licenseCertificates=[];var t,n=Object(s.a)(e.licenseCertificates);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.licenseCertificates.push(yf.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}this.recordCount=e.recordCount}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.licenseCertificates)){e.licenseCertificates=[];var t,n=Object(s.a)(this.licenseCertificates);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.licenseCertificates.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e.recordCount=this.recordCount,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),gf=function(){function e(t){if(Object(l.a)(this,e),this.userLicenseComplianceId=void 0,this.userId=void 0,this.licenseId=void 0,this.licenseName=void 0,this.periodNumber=void 0,this.periodTypeId=void 0,this.periodFrom=void 0,this.periodTo=void 0,this.complianceStatusId=void 0,this.complianceStatus=void 0,this.complianceStatusValue=void 0,this.periodLabel=void 0,this.isLocked=void 0,this.lockedBy=void 0,this.periodFromCourse=void 0,this.periodToDisplay=void 0,this.priorPeriodDeficiency=void 0,this.totalCreditsNeeded=void 0,this.additionalRequirementStatus=void 0,this.stateBarOrganization=void 0,this.reportURL=void 0,this.userSubLicenseCompliancePeriod=void 0,this.complianceStatusEnum=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.userLicenseComplianceId=e.userLicenseComplianceId,this.userId=e.userId,this.licenseId=e.licenseId,this.licenseName=e.licenseName,this.periodNumber=e.periodNumber,this.periodTypeId=e.periodTypeId,this.periodFrom=e.periodFrom?new Date(e.periodFrom.toString()):void 0,this.periodTo=e.periodTo?new Date(e.periodTo.toString()):void 0,this.complianceStatusId=e.complianceStatusId,this.complianceStatus=e.complianceStatus,this.complianceStatusValue=e.complianceStatusValue,this.periodLabel=e.periodLabel,this.isLocked=e.isLocked,this.lockedBy=e.lockedBy,this.periodFromCourse=e.periodFromCourse?new Date(e.periodFromCourse.toString()):void 0,this.periodToDisplay=e.periodToDisplay?new Date(e.periodToDisplay.toString()):void 0,this.priorPeriodDeficiency=e.priorPeriodDeficiency,this.totalCreditsNeeded=e.totalCreditsNeeded,this.additionalRequirementStatus=e.additionalRequirementStatus,this.stateBarOrganization=e.stateBarOrganization,this.reportURL=e.reportURL,this.userSubLicenseCompliancePeriod=e.userSubLicenseCompliancePeriod?Gg.fromJS(e.userSubLicenseCompliancePeriod):void 0,this.complianceStatusEnum=e.complianceStatusEnum)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).userLicenseComplianceId=this.userLicenseComplianceId,e.userId=this.userId,e.licenseId=this.licenseId,e.licenseName=this.licenseName,e.periodNumber=this.periodNumber,e.periodTypeId=this.periodTypeId,e.periodFrom=this.periodFrom?this.periodFrom.toISOString():void 0,e.periodTo=this.periodTo?this.periodTo.toISOString():void 0,e.complianceStatusId=this.complianceStatusId,e.complianceStatus=this.complianceStatus,e.complianceStatusValue=this.complianceStatusValue,e.periodLabel=this.periodLabel,e.isLocked=this.isLocked,e.lockedBy=this.lockedBy,e.periodFromCourse=this.periodFromCourse?this.periodFromCourse.toISOString():void 0,e.periodToDisplay=this.periodToDisplay?this.periodToDisplay.toISOString():void 0,e.priorPeriodDeficiency=this.priorPeriodDeficiency,e.totalCreditsNeeded=this.totalCreditsNeeded,e.additionalRequirementStatus=this.additionalRequirementStatus,e.stateBarOrganization=this.stateBarOrganization,e.reportURL=this.reportURL,e.userSubLicenseCompliancePeriod=this.userSubLicenseCompliancePeriod?this.userSubLicenseCompliancePeriod.toJSON():void 0,e.complianceStatusEnum=this.complianceStatusEnum,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Ef=function(){function e(t){if(Object(l.a)(this,e),this.creditId=void 0,this.name=void 0,this.isArchived=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.creditId=e.creditId,this.name=e.name,this.isArchived=e.isArchived)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).creditId=this.creditId,e.name=this.name,e.isArchived=this.isArchived,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),If=function(){function e(t){if(Object(l.a)(this,e),this.licenseId=void 0,this.creditId=void 0,this.name=void 0,this.shortName=void 0,this.sequenceNumber=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.licenseId=e.licenseId,this.creditId=e.creditId,this.name=e.name,this.shortName=e.shortName,this.sequenceNumber=e.sequenceNumber)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).licenseId=this.licenseId,e.creditId=this.creditId,e.name=this.name,e.shortName=this.shortName,e.sequenceNumber=this.sequenceNumber,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Sf=function(){function e(t){if(Object(l.a)(this,e),this.licenseId=void 0,this.name=void 0,this.shortName=void 0,this.originalName=void 0,this.originalState=void 0,this.accreditationTypeId=void 0,this.industryId=void 0,this.isInFirm=void 0,this.link=void 0,this.parentLicenseId=void 0,this.isPlaceholder=void 0,this.isNonMandatory=void 0,this.isNasbaMappingAllowed=void 0,this.jurisdictionReportGuid=void 0,this.firmLicense=void 0,this.fields=void 0,this.licenseCredits=void 0,this.licenseProperties=void 0,this.licenseProfileSettings=void 0,this.rulesHistory=void 0,this.subLicense=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.licenseId=e.licenseId,this.name=e.name,this.shortName=e.shortName,this.originalName=e.originalName,this.originalState=e.originalState,this.accreditationTypeId=e.accreditationTypeId,this.industryId=e.industryId,this.isInFirm=e.isInFirm,this.link=e.link,this.parentLicenseId=e.parentLicenseId,this.isPlaceholder=e.isPlaceholder,this.isNonMandatory=e.isNonMandatory,this.isNasbaMappingAllowed=e.isNasbaMappingAllowed,this.jurisdictionReportGuid=e.jurisdictionReportGuid,this.firmLicense=e.firmLicense?dl.fromJS(e.firmLicense):void 0,Array.isArray(e.fields)){this.fields=[];var t,n=Object(s.a)(e.fields);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.fields.push(Cf.fromJS(i))}}catch(y){n.e(y)}finally{n.f()}}if(Array.isArray(e.licenseCredits)){this.licenseCredits=[];var a,r=Object(s.a)(e.licenseCredits);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.licenseCredits.push(Ef.fromJS(o))}}catch(y){r.e(y)}finally{r.f()}}if(Array.isArray(e.licenseProperties)){this.licenseProperties=[];var l,c=Object(s.a)(e.licenseProperties);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.licenseProperties.push(kf.fromJS(d))}}catch(y){c.e(y)}finally{c.f()}}if(Array.isArray(e.licenseProfileSettings)){this.licenseProfileSettings=[];var u,m=Object(s.a)(e.licenseProfileSettings);try{for(m.s();!(u=m.n()).done;){var v=u.value;this.licenseProfileSettings.push(wf.fromJS(v))}}catch(y){m.e(y)}finally{m.f()}}if(Array.isArray(e.rulesHistory)){this.rulesHistory=[];var f,p=Object(s.a)(e.rulesHistory);try{for(p.s();!(f=p.n()).done;){var h=f.value;this.rulesHistory.push(oy.fromJS(h))}}catch(y){p.e(y)}finally{p.f()}}this.subLicense=e.subLicense?Ug.fromJS(e.subLicense):void 0}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).licenseId=this.licenseId,e.name=this.name,e.shortName=this.shortName,e.originalName=this.originalName,e.originalState=this.originalState,e.accreditationTypeId=this.accreditationTypeId,e.industryId=this.industryId,e.isInFirm=this.isInFirm,e.link=this.link,e.parentLicenseId=this.parentLicenseId,e.isPlaceholder=this.isPlaceholder,e.isNonMandatory=this.isNonMandatory,e.isNasbaMappingAllowed=this.isNasbaMappingAllowed,e.jurisdictionReportGuid=this.jurisdictionReportGuid,e.firmLicense=this.firmLicense?this.firmLicense.toJSON():void 0,Array.isArray(this.fields)){e.fields=[];var t,n=Object(s.a)(this.fields);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.fields.push(i.toJSON())}}catch(y){n.e(y)}finally{n.f()}}if(Array.isArray(this.licenseCredits)){e.licenseCredits=[];var a,r=Object(s.a)(this.licenseCredits);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.licenseCredits.push(o.toJSON())}}catch(y){r.e(y)}finally{r.f()}}if(Array.isArray(this.licenseProperties)){e.licenseProperties=[];var l,c=Object(s.a)(this.licenseProperties);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.licenseProperties.push(d.toJSON())}}catch(y){c.e(y)}finally{c.f()}}if(Array.isArray(this.licenseProfileSettings)){e.licenseProfileSettings=[];var u,m=Object(s.a)(this.licenseProfileSettings);try{for(m.s();!(u=m.n()).done;){var v=u.value;e.licenseProfileSettings.push(v.toJSON())}}catch(y){m.e(y)}finally{m.f()}}if(Array.isArray(this.rulesHistory)){e.rulesHistory=[];var f,p=Object(s.a)(this.rulesHistory);try{for(p.s();!(f=p.n()).done;){var h=f.value;e.rulesHistory.push(h.toJSON())}}catch(y){p.e(y)}finally{p.f()}}return e.subLicense=this.subLicense?this.subLicense.toJSON():void 0,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Of=function(){function e(t){if(Object(l.a)(this,e),this.label=void 0,this.fieldId=void 0,this.fieldType=void 0,this.valueBit=void 0,this.valueInt=void 0,this.valueDecimal=void 0,this.valueDate=void 0,this.valueChar=void 0,this.valueDateRangeStart=void 0,this.valueDateRangeEnd=void 0,this.sequenceNumber=void 0,this.listId=void 0,this.isCascading=void 0,this.groupName=void 0,this.specializationOptions=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&(this.label=e.label,this.fieldId=e.fieldId,this.fieldType=e.fieldType,this.valueBit=e.valueBit,this.valueInt=e.valueInt,this.valueDecimal=e.valueDecimal,this.valueDate=e.valueDate?new Date(e.valueDate.toString()):void 0,this.valueChar=e.valueChar,this.valueDateRangeStart=e.valueDateRangeStart?new Date(e.valueDateRangeStart.toString()):void 0,this.valueDateRangeEnd=e.valueDateRangeEnd?new Date(e.valueDateRangeEnd.toString()):void 0,this.sequenceNumber=e.sequenceNumber,this.listId=e.listId,this.isCascading=e.isCascading,this.groupName=e.groupName,Array.isArray(e.specializationOptions))){this.specializationOptions=[];var t,n=Object(s.a)(e.specializationOptions);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.specializationOptions.push(Cg.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).label=this.label,e.fieldId=this.fieldId,e.fieldType=this.fieldType,e.valueBit=this.valueBit,e.valueInt=this.valueInt,e.valueDecimal=this.valueDecimal,e.valueDate=this.valueDate?this.valueDate.toISOString():void 0,e.valueChar=this.valueChar,e.valueDateRangeStart=this.valueDateRangeStart?this.valueDateRangeStart.toISOString():void 0,e.valueDateRangeEnd=this.valueDateRangeEnd?this.valueDateRangeEnd.toISOString():void 0,e.sequenceNumber=this.sequenceNumber,e.listId=this.listId,e.isCascading=this.isCascading,e.groupName=this.groupName,Array.isArray(this.specializationOptions)){e.specializationOptions=[];var t,n=Object(s.a)(this.specializationOptions);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.specializationOptions.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Cf=function(){function e(t){if(Object(l.a)(this,e),this.licenseId=void 0,this.fieldName=void 0,this.fieldDescription=void 0,this.fieldLabel=void 0,this.sequenceNumber=void 0,this.profileId=void 0,this.typeId=void 0,this.isRequired=void 0,this.fieldCode=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.licenseId=e.licenseId,this.fieldName=e.fieldName,this.fieldDescription=e.fieldDescription,this.fieldLabel=e.fieldLabel,this.sequenceNumber=e.sequenceNumber,this.profileId=e.profileId,this.typeId=e.typeId,this.isRequired=e.isRequired,this.fieldCode=e.fieldCode)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).licenseId=this.licenseId,e.fieldName=this.fieldName,e.fieldDescription=this.fieldDescription,e.fieldLabel=this.fieldLabel,e.sequenceNumber=this.sequenceNumber,e.profileId=this.profileId,e.typeId=this.typeId,e.isRequired=this.isRequired,e.fieldCode=this.fieldCode,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),jf=function(){function e(t){if(Object(l.a)(this,e),this.licenseFields=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&Array.isArray(e.licenseFields)){this.licenseFields=[];var t,n=Object(s.a)(e.licenseFields);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.licenseFields.push(Cf.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.licenseFields)){e.licenseFields=[];var t,n=Object(s.a)(this.licenseFields);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.licenseFields.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),xf=function(){function e(t){if(Object(l.a)(this,e),this.licenseId=void 0,this.name=void 0,this.isSubLicense=void 0,this.isLicenseNotDisplayed=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.licenseId=e.licenseId,this.name=e.name,this.isSubLicense=e.isSubLicense,this.isLicenseNotDisplayed=e.isLicenseNotDisplayed)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).licenseId=this.licenseId,e.name=this.name,e.isSubLicense=this.isSubLicense,e.isLicenseNotDisplayed=this.isLicenseNotDisplayed,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Af=function(){function e(t){if(Object(l.a)(this,e),this.licenseIndex=void 0,this.licenseList=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&(this.licenseIndex=e.licenseIndex,Array.isArray(e.licenseList))){this.licenseList=[];var t,n=Object(s.a)(e.licenseList);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.licenseList.push(xf.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).licenseIndex=this.licenseIndex,Array.isArray(this.licenseList)){e.licenseList=[];var t,n=Object(s.a)(this.licenseList);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.licenseList.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Tf=function(){function e(t){if(Object(l.a)(this,e),this.licenses=void 0,this.recordCount=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.licenses)){this.licenses=[];var t,n=Object(s.a)(e.licenses);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.licenses.push(Sf.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}this.recordCount=e.recordCount}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.licenses)){e.licenses=[];var t,n=Object(s.a)(this.licenses);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.licenses.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e.recordCount=this.recordCount,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),wf=function(){function e(t){if(Object(l.a)(this,e),this.licenseProfileSettingId=void 0,this.licenseId=void 0,this.profileId=void 0,this.typeId=void 0,this.key=void 0,this.name=void 0,this.type=void 0,this.validation=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.licenseProfileSettingId=e.licenseProfileSettingId,this.licenseId=e.licenseId,this.profileId=e.profileId,this.typeId=e.typeId,this.key=e.key,this.name=e.name,this.type=e.type,this.validation=e.validation)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).licenseProfileSettingId=this.licenseProfileSettingId,e.licenseId=this.licenseId,e.profileId=this.profileId,e.typeId=this.typeId,e.key=this.key,e.name=this.name,e.type=this.type,e.validation=this.validation,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),kf=function(){function e(t){if(Object(l.a)(this,e),this.propertyId=void 0,this.label=void 0,this.typeId=void 0,this.licensePropertyGroupId=void 0,this.licensePropertyGroupLabel=void 0,this.isUserLevelAdjustable=void 0,this.isForInstructorValidation=void 0,this.isDisplayedInThirdPartyCourse=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.propertyId=e.propertyId,this.label=e.label,this.typeId=e.typeId,this.licensePropertyGroupId=e.licensePropertyGroupId,this.licensePropertyGroupLabel=e.licensePropertyGroupLabel,this.isUserLevelAdjustable=e.isUserLevelAdjustable,this.isForInstructorValidation=e.isForInstructorValidation,this.isDisplayedInThirdPartyCourse=e.isDisplayedInThirdPartyCourse)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).propertyId=this.propertyId,e.label=this.label,e.typeId=this.typeId,e.licensePropertyGroupId=this.licensePropertyGroupId,e.licensePropertyGroupLabel=this.licensePropertyGroupLabel,e.isUserLevelAdjustable=this.isUserLevelAdjustable,e.isForInstructorValidation=this.isForInstructorValidation,e.isDisplayedInThirdPartyCourse=this.isDisplayedInThirdPartyCourse,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Pf=function(){function e(t){if(Object(l.a)(this,e),this.licenseId=void 0,this.criteriaFieldId=void 0,this.fieldTypeId=void 0,this.label=void 0,this.optionListId=void 0,this.sequenceNumber=void 0,this.searchCriteriaOptions=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&(this.licenseId=e.licenseId,this.criteriaFieldId=e.criteriaFieldId,this.fieldTypeId=e.fieldTypeId,this.label=e.label,this.optionListId=e.optionListId,this.sequenceNumber=e.sequenceNumber,Array.isArray(e.searchCriteriaOptions))){this.searchCriteriaOptions=[];var t,n=Object(s.a)(e.searchCriteriaOptions);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.searchCriteriaOptions.push(Df.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).licenseId=this.licenseId,e.criteriaFieldId=this.criteriaFieldId,e.fieldTypeId=this.fieldTypeId,e.label=this.label,e.optionListId=this.optionListId,e.sequenceNumber=this.sequenceNumber,Array.isArray(this.searchCriteriaOptions)){e.searchCriteriaOptions=[];var t,n=Object(s.a)(this.searchCriteriaOptions);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.searchCriteriaOptions.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Nf=function(){function e(t){if(Object(l.a)(this,e),this.licenseSubfilters=void 0,this.recordCount=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.licenseSubfilters)){this.licenseSubfilters=[];var t,n=Object(s.a)(e.licenseSubfilters);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.licenseSubfilters.push(Pf.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}this.recordCount=e.recordCount}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.licenseSubfilters)){e.licenseSubfilters=[];var t,n=Object(s.a)(this.licenseSubfilters);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.licenseSubfilters.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e.recordCount=this.recordCount,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Df=function(){function e(t){if(Object(l.a)(this,e),this.optionListId=void 0,this.optionId=void 0,this.label=void 0,this.value=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.optionListId=e.optionListId,this.optionId=e.optionId,this.label=e.label,this.value=e.value)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).optionListId=this.optionListId,e.optionId=this.optionId,e.label=this.label,e.value=this.value,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}();!function(e){e[e.Approved=1]="Approved",e[e.Pending=2]="Pending",e[e.Denied=3]="Denied"}(hf||(hf={}));var Lf,Ff=function(){function e(t){if(Object(l.a)(this,e),this.licenseId=void 0,this.licenseName=void 0,this.industryId=void 0,this.summary=void 0,this.stateBarOrganization=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.licenseId=e.licenseId,this.licenseName=e.licenseName,this.industryId=e.industryId,this.summary=e.summary,this.stateBarOrganization=e.stateBarOrganization)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).licenseId=this.licenseId,e.licenseName=this.licenseName,e.industryId=this.industryId,e.summary=this.summary,e.stateBarOrganization=this.stateBarOrganization,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Bf=function(){function e(t){if(Object(l.a)(this,e),this.licenseSummaries=void 0,this.recordCount=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.licenseSummaries)){this.licenseSummaries=[];var t,n=Object(s.a)(e.licenseSummaries);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.licenseSummaries.push(Ff.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}this.recordCount=e.recordCount}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.licenseSummaries)){e.licenseSummaries=[];var t,n=Object(s.a)(this.licenseSummaries);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.licenseSummaries.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e.recordCount=this.recordCount,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Rf=function(){function e(t){if(Object(l.a)(this,e),this.locationId=void 0,this.name=void 0,this.address=void 0,this.code=void 0,this.city=void 0,this.countryId=void 0,this.stateId=void 0,this.zip=void 0,this.telephone=void 0,this.timezoneId=void 0,this.isActive=void 0,this.isFirmOffice=void 0,this.userCount=void 0,this.sessionCount=void 0,this.countyId=void 0,this.country=void 0,this.state=void 0,this.timezone=void 0,this.rooms=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&(this.locationId=e.locationId,this.name=e.name,this.address=e.address,this.code=e.code,this.city=e.city,this.countryId=e.countryId,this.stateId=e.stateId,this.zip=e.zip,this.telephone=e.telephone,this.timezoneId=e.timezoneId,this.isActive=e.isActive,this.isFirmOffice=e.isFirmOffice,this.userCount=e.userCount,this.sessionCount=e.sessionCount,this.countyId=e.countyId,this.country=e.country,this.state=e.state,this.timezone=e.timezone,Array.isArray(e.rooms))){this.rooms=[];var t,n=Object(s.a)(e.rooms);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.rooms.push(ay.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).locationId=this.locationId,e.name=this.name,e.address=this.address,e.code=this.code,e.city=this.city,e.countryId=this.countryId,e.stateId=this.stateId,e.zip=this.zip,e.telephone=this.telephone,e.timezoneId=this.timezoneId,e.isActive=this.isActive,e.isFirmOffice=this.isFirmOffice,e.userCount=this.userCount,e.sessionCount=this.sessionCount,e.countyId=this.countyId,e.country=this.country,e.state=this.state,e.timezone=this.timezone,Array.isArray(this.rooms)){e.rooms=[];var t,n=Object(s.a)(this.rooms);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.rooms.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Jf=function(){function e(t){if(Object(l.a)(this,e),this.locations=void 0,this.recordCount=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.locations)){this.locations=[];var t,n=Object(s.a)(e.locations);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.locations.push(Rf.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}this.recordCount=e.recordCount}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.locations)){e.locations=[];var t,n=Object(s.a)(this.locations);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.locations.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e.recordCount=this.recordCount,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Gf=function(){function e(t){if(Object(l.a)(this,e),this.classYearId=void 0,this.departmentId=void 0,this.ethnicityId=void 0,this.genderId=void 0,this.levelId=void 0,this.locationId=void 0,this.positionId=void 0,this.practiceAreaId=void 0,this.licenseId=void 0,this.name=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.classYearId=e.classYearId,this.departmentId=e.departmentId,this.ethnicityId=e.ethnicityId,this.genderId=e.genderId,this.levelId=e.levelId,this.locationId=e.locationId,this.positionId=e.positionId,this.practiceAreaId=e.practiceAreaId,this.licenseId=e.licenseId,this.name=e.name)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).classYearId=this.classYearId,e.departmentId=this.departmentId,e.ethnicityId=this.ethnicityId,e.genderId=this.genderId,e.levelId=this.levelId,e.locationId=this.locationId,e.positionId=this.positionId,e.practiceAreaId=this.practiceAreaId,e.licenseId=this.licenseId,e.name=this.name,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Uf=function(){function e(t){if(Object(l.a)(this,e),this.userIds=void 0,this.roleIds=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n]);t||(this.userIds=[],this.roleIds=[])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.userIds)){this.userIds=[];var t,n=Object(s.a)(e.userIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.userIds.push(i)}}catch(l){n.e(l)}finally{n.f()}}if(Array.isArray(e.roleIds)){this.roleIds=[];var a,r=Object(s.a)(e.roleIds);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.roleIds.push(o)}}catch(l){r.e(l)}finally{r.f()}}}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.userIds)){e.userIds=[];var t,n=Object(s.a)(this.userIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.userIds.push(i)}}catch(l){n.e(l)}finally{n.f()}}if(Array.isArray(this.roleIds)){e.roleIds=[];var a,r=Object(s.a)(this.roleIds);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.roleIds.push(o)}}catch(l){r.e(l)}finally{r.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),zf=function(){function e(t){if(Object(l.a)(this,e),this.userIds=void 0,this.securityGroupIds=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n]);t||(this.userIds=[],this.securityGroupIds=[])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.userIds)){this.userIds=[];var t,n=Object(s.a)(e.userIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.userIds.push(i)}}catch(l){n.e(l)}finally{n.f()}}if(Array.isArray(e.securityGroupIds)){this.securityGroupIds=[];var a,r=Object(s.a)(e.securityGroupIds);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.securityGroupIds.push(o)}}catch(l){r.e(l)}finally{r.f()}}}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.userIds)){e.userIds=[];var t,n=Object(s.a)(this.userIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.userIds.push(i)}}catch(l){n.e(l)}finally{n.f()}}if(Array.isArray(this.securityGroupIds)){e.securityGroupIds=[];var a,r=Object(s.a)(this.securityGroupIds);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.securityGroupIds.push(o)}}catch(l){r.e(l)}finally{r.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),qf=function(){function e(t){if(Object(l.a)(this,e),this.usersForUpdate=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&Array.isArray(e.usersForUpdate)){this.usersForUpdate=[];var t,n=Object(s.a)(e.usersForUpdate);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.usersForUpdate.push(BS.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.usersForUpdate)){e.usersForUpdate=[];var t,n=Object(s.a)(this.usersForUpdate);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.usersForUpdate.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Mf=function(){function e(t){if(Object(l.a)(this,e),this.usersForUpdate=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&Array.isArray(e.usersForUpdate)){this.usersForUpdate=[];var t,n=Object(s.a)(e.usersForUpdate);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.usersForUpdate.push(RS.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.usersForUpdate)){e.usersForUpdate=[];var t,n=Object(s.a)(this.usersForUpdate);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.usersForUpdate.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}();!function(e){e[e.None=0]="None",e[e.Video=1]="Video",e[e.Audio=2]="Audio",e[e.LearningPackage=3]="LearningPackage",e[e.Url=4]="Url"}(Lf||(Lf={}));var Wf,Vf=function(){function e(t){if(Object(l.a)(this,e),this.affiliationId=void 0,this.name=void 0,this.address=void 0,this.city=void 0,this.countryId=void 0,this.stateId=void 0,this.zip=void 0,this.phone=void 0,this.timezoneId=void 0,this.isActive=void 0,this.code=void 0,this.mergeAffiliationIds=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&(this.affiliationId=e.affiliationId,this.name=e.name,this.address=e.address,this.city=e.city,this.countryId=e.countryId,this.stateId=e.stateId,this.zip=e.zip,this.phone=e.phone,this.timezoneId=e.timezoneId,this.isActive=e.isActive,this.code=e.code,Array.isArray(e.mergeAffiliationIds))){this.mergeAffiliationIds=[];var t,n=Object(s.a)(e.mergeAffiliationIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.mergeAffiliationIds.push(i)}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).affiliationId=this.affiliationId,e.name=this.name,e.address=this.address,e.city=this.city,e.countryId=this.countryId,e.stateId=this.stateId,e.zip=this.zip,e.phone=this.phone,e.timezoneId=this.timezoneId,e.isActive=this.isActive,e.code=this.code,Array.isArray(this.mergeAffiliationIds)){e.mergeAffiliationIds=[];var t,n=Object(s.a)(this.mergeAffiliationIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.mergeAffiliationIds.push(i)}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),_f=function(){function e(t){if(Object(l.a)(this,e),this.sessionParticipantDetails=void 0,this.userId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.sessionParticipantDetails)){this.sessionParticipantDetails=[];var t,n=Object(s.a)(e.sessionParticipantDetails);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.sessionParticipantDetails.push(i)}}catch(a){n.e(a)}finally{n.f()}}this.userId=e.userId}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.sessionParticipantDetails)){e.sessionParticipantDetails=[];var t,n=Object(s.a)(this.sessionParticipantDetails);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.sessionParticipantDetails.push(i)}}catch(a){n.e(a)}finally{n.f()}}return e.userId=this.userId,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Yf=function(){function e(t){if(Object(l.a)(this,e),this.classYearId=void 0,this.name=void 0,this.isActive=void 0,this.code=void 0,this.mergeClassYearIds=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&(this.classYearId=e.classYearId,this.name=e.name,this.isActive=e.isActive,this.code=e.code,Array.isArray(e.mergeClassYearIds))){this.mergeClassYearIds=[];var t,n=Object(s.a)(e.mergeClassYearIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.mergeClassYearIds.push(i)}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).classYearId=this.classYearId,e.name=this.name,e.isActive=this.isActive,e.code=this.code,Array.isArray(this.mergeClassYearIds)){e.mergeClassYearIds=[];var t,n=Object(s.a)(this.mergeClassYearIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.mergeClassYearIds.push(i)}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Hf=function(){function e(t){if(Object(l.a)(this,e),this.competencyId=void 0,this.name=void 0,this.isActive=void 0,this.code=void 0,this.mergeCompetencyIds=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&(this.competencyId=e.competencyId,this.name=e.name,this.isActive=e.isActive,this.code=e.code,Array.isArray(e.mergeCompetencyIds))){this.mergeCompetencyIds=[];var t,n=Object(s.a)(e.mergeCompetencyIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.mergeCompetencyIds.push(i)}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).competencyId=this.competencyId,e.name=this.name,e.isActive=this.isActive,e.code=this.code,Array.isArray(this.mergeCompetencyIds)){e.mergeCompetencyIds=[];var t,n=Object(s.a)(this.mergeCompetencyIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.mergeCompetencyIds.push(i)}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),$f=function(){function e(t){if(Object(l.a)(this,e),this.courseId=void 0,this.title=void 0,this.courseIdLabel=void 0,this.providerId=void 0,this.note=void 0,this.description=void 0,this.archivedDate=void 0,this.mergeCourseIds=void 0,this.courseLevel=void 0,this.courseClassYear=void 0,this.courseCompetency=void 0,this.courseDepartment=void 0,this.coursePracticeArea=void 0,this.courseTag=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.courseId=e.courseId,this.title=e.title,this.courseIdLabel=e.courseIdLabel,this.providerId=e.providerId,this.note=e.note,this.description=e.description,this.archivedDate=e.archivedDate?new Date(e.archivedDate.toString()):void 0,Array.isArray(e.mergeCourseIds)){this.mergeCourseIds=[];var t,n=Object(s.a)(e.mergeCourseIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.mergeCourseIds.push(i)}}catch(O){n.e(O)}finally{n.f()}}if(Array.isArray(e.courseLevel)){this.courseLevel=[];var a,r=Object(s.a)(e.courseLevel);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.courseLevel.push(sa.fromJS(o))}}catch(O){r.e(O)}finally{r.f()}}if(Array.isArray(e.courseClassYear)){this.courseClassYear=[];var l,c=Object(s.a)(e.courseClassYear);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.courseClassYear.push(Xi.fromJS(d))}}catch(O){c.e(O)}finally{c.f()}}if(Array.isArray(e.courseCompetency)){this.courseCompetency=[];var u,m=Object(s.a)(e.courseCompetency);try{for(m.s();!(u=m.n()).done;){var v=u.value;this.courseCompetency.push(ta.fromJS(v))}}catch(O){m.e(O)}finally{m.f()}}if(Array.isArray(e.courseDepartment)){this.courseDepartment=[];var f,p=Object(s.a)(e.courseDepartment);try{for(p.s();!(f=p.n()).done;){var h=f.value;this.courseDepartment.push(na.fromJS(h))}}catch(O){p.e(O)}finally{p.f()}}if(Array.isArray(e.coursePracticeArea)){this.coursePracticeArea=[];var y,b=Object(s.a)(e.coursePracticeArea);try{for(b.s();!(y=b.n()).done;){var g=y.value;this.coursePracticeArea.push(ca.fromJS(g))}}catch(O){b.e(O)}finally{b.f()}}if(Array.isArray(e.courseTag)){this.courseTag=[];var E,I=Object(s.a)(e.courseTag);try{for(I.s();!(E=I.n()).done;){var S=E.value;this.courseTag.push(ba.fromJS(S))}}catch(O){I.e(O)}finally{I.f()}}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).courseId=this.courseId,e.title=this.title,e.courseIdLabel=this.courseIdLabel,e.providerId=this.providerId,e.note=this.note,e.description=this.description,e.archivedDate=this.archivedDate?this.archivedDate.toISOString():void 0,Array.isArray(this.mergeCourseIds)){e.mergeCourseIds=[];var t,n=Object(s.a)(this.mergeCourseIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.mergeCourseIds.push(i)}}catch(O){n.e(O)}finally{n.f()}}if(Array.isArray(this.courseLevel)){e.courseLevel=[];var a,r=Object(s.a)(this.courseLevel);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.courseLevel.push(o.toJSON())}}catch(O){r.e(O)}finally{r.f()}}if(Array.isArray(this.courseClassYear)){e.courseClassYear=[];var l,c=Object(s.a)(this.courseClassYear);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.courseClassYear.push(d.toJSON())}}catch(O){c.e(O)}finally{c.f()}}if(Array.isArray(this.courseCompetency)){e.courseCompetency=[];var u,m=Object(s.a)(this.courseCompetency);try{for(m.s();!(u=m.n()).done;){var v=u.value;e.courseCompetency.push(v.toJSON())}}catch(O){m.e(O)}finally{m.f()}}if(Array.isArray(this.courseDepartment)){e.courseDepartment=[];var f,p=Object(s.a)(this.courseDepartment);try{for(p.s();!(f=p.n()).done;){var h=f.value;e.courseDepartment.push(h.toJSON())}}catch(O){p.e(O)}finally{p.f()}}if(Array.isArray(this.coursePracticeArea)){e.coursePracticeArea=[];var y,b=Object(s.a)(this.coursePracticeArea);try{for(b.s();!(y=b.n()).done;){var g=y.value;e.coursePracticeArea.push(g.toJSON())}}catch(O){b.e(O)}finally{b.f()}}if(Array.isArray(this.courseTag)){e.courseTag=[];var E,I=Object(s.a)(this.courseTag);try{for(I.s();!(E=I.n()).done;){var S=E.value;e.courseTag.push(S.toJSON())}}catch(O){I.e(O)}finally{I.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Qf=function(){function e(t){if(Object(l.a)(this,e),this.declineCodeId=void 0,this.name=void 0,this.isActive=void 0,this.code=void 0,this.mergeDeclineCodeIds=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&(this.declineCodeId=e.declineCodeId,this.name=e.name,this.isActive=e.isActive,this.code=e.code,Array.isArray(e.mergeDeclineCodeIds))){this.mergeDeclineCodeIds=[];var t,n=Object(s.a)(e.mergeDeclineCodeIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.mergeDeclineCodeIds.push(i)}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).declineCodeId=this.declineCodeId,e.name=this.name,e.isActive=this.isActive,e.code=this.code,Array.isArray(this.mergeDeclineCodeIds)){e.mergeDeclineCodeIds=[];var t,n=Object(s.a)(this.mergeDeclineCodeIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.mergeDeclineCodeIds.push(i)}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Zf=function(){function e(t){if(Object(l.a)(this,e),this.departmentId=void 0,this.name=void 0,this.isActive=void 0,this.code=void 0,this.mergeDepartmentIds=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&(this.departmentId=e.departmentId,this.name=e.name,this.isActive=e.isActive,this.code=e.code,Array.isArray(e.mergeDepartmentIds))){this.mergeDepartmentIds=[];var t,n=Object(s.a)(e.mergeDepartmentIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.mergeDepartmentIds.push(i)}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).departmentId=this.departmentId,e.name=this.name,e.isActive=this.isActive,e.code=this.code,Array.isArray(this.mergeDepartmentIds)){e.mergeDepartmentIds=[];var t,n=Object(s.a)(this.mergeDepartmentIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.mergeDepartmentIds.push(i)}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Xf=function(){function e(t){if(Object(l.a)(this,e),this.ethnicityId=void 0,this.name=void 0,this.isActive=void 0,this.code=void 0,this.mergeEthnicityIds=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&(this.ethnicityId=e.ethnicityId,this.name=e.name,this.isActive=e.isActive,this.code=e.code,Array.isArray(e.mergeEthnicityIds))){this.mergeEthnicityIds=[];var t,n=Object(s.a)(e.mergeEthnicityIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.mergeEthnicityIds.push(i)}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).ethnicityId=this.ethnicityId,e.name=this.name,e.isActive=this.isActive,e.code=this.code,Array.isArray(this.mergeEthnicityIds)){e.mergeEthnicityIds=[];var t,n=Object(s.a)(this.mergeEthnicityIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.mergeEthnicityIds.push(i)}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Kf=function(){function e(t){if(Object(l.a)(this,e),this.excuseId=void 0,this.name=void 0,this.isActive=void 0,this.code=void 0,this.mergeExcuseIds=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&(this.excuseId=e.excuseId,this.name=e.name,this.isActive=e.isActive,this.code=e.code,Array.isArray(e.mergeExcuseIds))){this.mergeExcuseIds=[];var t,n=Object(s.a)(e.mergeExcuseIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.mergeExcuseIds.push(i)}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).excuseId=this.excuseId,e.name=this.name,e.isActive=this.isActive,e.code=this.code,Array.isArray(this.mergeExcuseIds)){e.mergeExcuseIds=[];var t,n=Object(s.a)(this.mergeExcuseIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.mergeExcuseIds.push(i)}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),ep=function(){function e(t){if(Object(l.a)(this,e),this.genderId=void 0,this.name=void 0,this.isActive=void 0,this.code=void 0,this.mergeGenderIds=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&(this.genderId=e.genderId,this.name=e.name,this.isActive=e.isActive,this.code=e.code,Array.isArray(e.mergeGenderIds))){this.mergeGenderIds=[];var t,n=Object(s.a)(e.mergeGenderIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.mergeGenderIds.push(i)}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).genderId=this.genderId,e.name=this.name,e.isActive=this.isActive,e.code=this.code,Array.isArray(this.mergeGenderIds)){e.mergeGenderIds=[];var t,n=Object(s.a)(this.mergeGenderIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.mergeGenderIds.push(i)}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),tp=function(){function e(t){if(Object(l.a)(this,e),this.levelId=void 0,this.name=void 0,this.isActive=void 0,this.code=void 0,this.mergeLevelIds=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&(this.levelId=e.levelId,this.name=e.name,this.isActive=e.isActive,this.code=e.code,Array.isArray(e.mergeLevelIds))){this.mergeLevelIds=[];var t,n=Object(s.a)(e.mergeLevelIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.mergeLevelIds.push(i)}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).levelId=this.levelId,e.name=this.name,e.isActive=this.isActive,e.code=this.code,Array.isArray(this.mergeLevelIds)){e.mergeLevelIds=[];var t,n=Object(s.a)(this.mergeLevelIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.mergeLevelIds.push(i)}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),np=function(){function e(t){if(Object(l.a)(this,e),this.locationId=void 0,this.name=void 0,this.address=void 0,this.code=void 0,this.city=void 0,this.countryId=void 0,this.stateId=void 0,this.zip=void 0,this.telephone=void 0,this.timezoneId=void 0,this.isActive=void 0,this.isFirmOffice=void 0,this.countyId=void 0,this.mergeLocationIds=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&(this.locationId=e.locationId,this.name=e.name,this.address=e.address,this.code=e.code,this.city=e.city,this.countryId=e.countryId,this.stateId=e.stateId,this.zip=e.zip,this.telephone=e.telephone,this.timezoneId=e.timezoneId,this.isActive=e.isActive,this.isFirmOffice=e.isFirmOffice,this.countyId=e.countyId,Array.isArray(e.mergeLocationIds))){this.mergeLocationIds=[];var t,n=Object(s.a)(e.mergeLocationIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.mergeLocationIds.push(i)}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).locationId=this.locationId,e.name=this.name,e.address=this.address,e.code=this.code,e.city=this.city,e.countryId=this.countryId,e.stateId=this.stateId,e.zip=this.zip,e.telephone=this.telephone,e.timezoneId=this.timezoneId,e.isActive=this.isActive,e.isFirmOffice=this.isFirmOffice,e.countyId=this.countyId,Array.isArray(this.mergeLocationIds)){e.mergeLocationIds=[];var t,n=Object(s.a)(this.mergeLocationIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.mergeLocationIds.push(i)}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),ip=function(){function e(t){if(Object(l.a)(this,e),this.positionId=void 0,this.name=void 0,this.isActive=void 0,this.code=void 0,this.mergePositionIds=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&(this.positionId=e.positionId,this.name=e.name,this.isActive=e.isActive,this.code=e.code,Array.isArray(e.mergePositionIds))){this.mergePositionIds=[];var t,n=Object(s.a)(e.mergePositionIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.mergePositionIds.push(i)}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).positionId=this.positionId,e.name=this.name,e.isActive=this.isActive,e.code=this.code,Array.isArray(this.mergePositionIds)){e.mergePositionIds=[];var t,n=Object(s.a)(this.mergePositionIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.mergePositionIds.push(i)}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),ap=function(){function e(t){if(Object(l.a)(this,e),this.practiceAreaId=void 0,this.name=void 0,this.isActive=void 0,this.code=void 0,this.mergePracticeAreaIds=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&(this.practiceAreaId=e.practiceAreaId,this.name=e.name,this.isActive=e.isActive,this.code=e.code,Array.isArray(e.mergePracticeAreaIds))){this.mergePracticeAreaIds=[];var t,n=Object(s.a)(e.mergePracticeAreaIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.mergePracticeAreaIds.push(i)}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).practiceAreaId=this.practiceAreaId,e.name=this.name,e.isActive=this.isActive,e.code=this.code,Array.isArray(this.mergePracticeAreaIds)){e.mergePracticeAreaIds=[];var t,n=Object(s.a)(this.mergePracticeAreaIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.mergePracticeAreaIds.push(i)}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),rp=function(){function e(t){if(Object(l.a)(this,e),this.providerId=void 0,this.name=void 0,this.isInHouse=void 0,this.isActive=void 0,this.code=void 0,this.url=void 0,this.isScheduleAllowed=void 0,this.isRegistrationAllowed=void 0,this.isCertificateAllowed=void 0,this.isReportingAllowed=void 0,this.mergeProviderIds=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&(this.providerId=e.providerId,this.name=e.name,this.isInHouse=e.isInHouse,this.isActive=e.isActive,this.code=e.code,this.url=e.url,this.isScheduleAllowed=e.isScheduleAllowed,this.isRegistrationAllowed=e.isRegistrationAllowed,this.isCertificateAllowed=e.isCertificateAllowed,this.isReportingAllowed=e.isReportingAllowed,Array.isArray(e.mergeProviderIds))){this.mergeProviderIds=[];var t,n=Object(s.a)(e.mergeProviderIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.mergeProviderIds.push(i)}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).providerId=this.providerId,e.name=this.name,e.isInHouse=this.isInHouse,e.isActive=this.isActive,e.code=this.code,e.url=this.url,e.isScheduleAllowed=this.isScheduleAllowed,e.isRegistrationAllowed=this.isRegistrationAllowed,e.isCertificateAllowed=this.isCertificateAllowed,e.isReportingAllowed=this.isReportingAllowed,Array.isArray(this.mergeProviderIds)){e.mergeProviderIds=[];var t,n=Object(s.a)(this.mergeProviderIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.mergeProviderIds.push(i)}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),op=function(){function e(t){if(Object(l.a)(this,e),this.roleId=void 0,this.name=void 0,this.description=void 0,this.isDefault=void 0,this.mergeRoleIds=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&(this.roleId=e.roleId,this.name=e.name,this.description=e.description,this.isDefault=e.isDefault,Array.isArray(e.mergeRoleIds))){this.mergeRoleIds=[];var t,n=Object(s.a)(e.mergeRoleIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.mergeRoleIds.push(i)}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).roleId=this.roleId,e.name=this.name,e.description=this.description,e.isDefault=this.isDefault,Array.isArray(this.mergeRoleIds)){e.mergeRoleIds=[];var t,n=Object(s.a)(this.mergeRoleIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.mergeRoleIds.push(i)}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),sp=function(){function e(t){if(Object(l.a)(this,e),this.roomId=void 0,this.locationId=void 0,this.name=void 0,this.capacity=void 0,this.isActive=void 0,this.code=void 0,this.mergeRoomIds=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&(this.roomId=e.roomId,this.locationId=e.locationId,this.name=e.name,this.capacity=e.capacity,this.isActive=e.isActive,this.code=e.code,Array.isArray(e.mergeRoomIds))){this.mergeRoomIds=[];var t,n=Object(s.a)(e.mergeRoomIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.mergeRoomIds.push(i)}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).roomId=this.roomId,e.locationId=this.locationId,e.name=this.name,e.capacity=this.capacity,e.isActive=this.isActive,e.code=this.code,Array.isArray(this.mergeRoomIds)){e.mergeRoomIds=[];var t,n=Object(s.a)(this.mergeRoomIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.mergeRoomIds.push(i)}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),lp=function(){function e(t){if(Object(l.a)(this,e),this.tagId=void 0,this.name=void 0,this.code=void 0,this.isActive=void 0,this.mergeTagIds=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&(this.tagId=e.tagId,this.name=e.name,this.code=e.code,this.isActive=e.isActive,Array.isArray(e.mergeTagIds))){this.mergeTagIds=[];var t,n=Object(s.a)(e.mergeTagIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.mergeTagIds.push(i)}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).tagId=this.tagId,e.name=this.name,e.code=this.code,e.isActive=this.isActive,Array.isArray(this.mergeTagIds)){e.mergeTagIds=[];var t,n=Object(s.a)(this.mergeTagIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.mergeTagIds.push(i)}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),cp=function(){function e(t){if(Object(l.a)(this,e),this.firmName=void 0,this.reportName=void 0,this.courseId=void 0,this.sessionId=void 0,this.sessionParticipantId=void 0,this.userOnDemandSessionId=void 0,this.sessionMediaFileId=void 0,this.userId=void 0,this.lastName=void 0,this.firstName=void 0,this.userLicenses=void 0,this.courseTitle=void 0,this.multimediaTitle=void 0,this.duration=void 0,this.viewStartDate=void 0,this.viewStartTime=void 0,this.viewEndDate=void 0,this.viewEndTime=void 0,this.viewEndSortBy=void 0,this.viewStatus=void 0,this.credits=void 0,this.registeredBy=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.firmName=e.firmName,this.reportName=e.reportName,this.courseId=e.courseId,this.sessionId=e.sessionId,this.sessionParticipantId=e.sessionParticipantId,this.userOnDemandSessionId=e.userOnDemandSessionId,this.sessionMediaFileId=e.sessionMediaFileId,this.userId=e.userId,this.lastName=e.lastName,this.firstName=e.firstName,this.userLicenses=e.userLicenses,this.courseTitle=e.courseTitle,this.multimediaTitle=e.multimediaTitle,this.duration=e.duration,this.viewStartDate=e.viewStartDate,this.viewStartTime=e.viewStartTime,this.viewEndDate=e.viewEndDate,this.viewEndTime=e.viewEndTime,this.viewEndSortBy=e.viewEndSortBy,this.viewStatus=e.viewStatus,this.credits=e.credits,this.registeredBy=e.registeredBy)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).firmName=this.firmName,e.reportName=this.reportName,e.courseId=this.courseId,e.sessionId=this.sessionId,e.sessionParticipantId=this.sessionParticipantId,e.userOnDemandSessionId=this.userOnDemandSessionId,e.sessionMediaFileId=this.sessionMediaFileId,e.userId=this.userId,e.lastName=this.lastName,e.firstName=this.firstName,e.userLicenses=this.userLicenses,e.courseTitle=this.courseTitle,e.multimediaTitle=this.multimediaTitle,e.duration=this.duration,e.viewStartDate=this.viewStartDate,e.viewStartTime=this.viewStartTime,e.viewEndDate=this.viewEndDate,e.viewEndTime=this.viewEndTime,e.viewEndSortBy=this.viewEndSortBy,e.viewStatus=this.viewStatus,e.credits=this.credits,e.registeredBy=this.registeredBy,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),dp=function(){function e(t){if(Object(l.a)(this,e),this.reports=void 0,this.recordCount=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.reports)){this.reports=[];var t,n=Object(s.a)(e.reports);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.reports.push(cp.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}this.recordCount=e.recordCount}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.reports)){e.reports=[];var t,n=Object(s.a)(this.reports);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.reports.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e.recordCount=this.recordCount,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),up=function(){function e(t){if(Object(l.a)(this,e),this.certificateDetails=void 0,this.licenseId=void 0,this.sessionId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.certificateDetails=e.certificateDetails?Mn.fromJS(e.certificateDetails):void 0,this.licenseId=e.licenseId,this.sessionId=e.sessionId)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).certificateDetails=this.certificateDetails?this.certificateDetails.toJSON():void 0,e.licenseId=this.licenseId,e.sessionId=this.sessionId,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),mp=function(){function e(t){if(Object(l.a)(this,e),this.sessionDetails=void 0,this.licenseId=void 0,this.sessionId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.sessionDetails=e.sessionDetails?pg.fromJS(e.sessionDetails):void 0,this.licenseId=e.licenseId,this.sessionId=e.sessionId)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).sessionDetails=this.sessionDetails?this.sessionDetails.toJSON():void 0,e.licenseId=this.licenseId,e.sessionId=this.sessionId,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),vp=function(){function e(t){if(Object(l.a)(this,e),this.licenseId=void 0,this.name=void 0,this.expirationDate=void 0,this.licenseStatus=void 0,this.sessionLicenseCredits=void 0,this.sessionLicenseProperties=void 0,this.sessionUsersWithRetro=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.licenseId=e.licenseId,this.name=e.name,this.expirationDate=e.expirationDate?new Date(e.expirationDate.toString()):void 0,this.licenseStatus=e.licenseStatus,Array.isArray(e.sessionLicenseCredits)){this.sessionLicenseCredits=[];var t,n=Object(s.a)(e.sessionLicenseCredits);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.sessionLicenseCredits.push(Lb.fromJS(i))}}catch(u){n.e(u)}finally{n.f()}}if(Array.isArray(e.sessionLicenseProperties)){this.sessionLicenseProperties=[];var a,r=Object(s.a)(e.sessionLicenseProperties);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.sessionLicenseProperties.push(Rb.fromJS(o))}}catch(u){r.e(u)}finally{r.f()}}if(Array.isArray(e.sessionUsersWithRetro)){this.sessionUsersWithRetro=[];var l,c=Object(s.a)(e.sessionUsersWithRetro);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.sessionUsersWithRetro.push(gg.fromJS(d))}}catch(u){c.e(u)}finally{c.f()}}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).licenseId=this.licenseId,e.name=this.name,e.expirationDate=this.expirationDate?this.expirationDate.toISOString():void 0,e.licenseStatus=this.licenseStatus,Array.isArray(this.sessionLicenseCredits)){e.sessionLicenseCredits=[];var t,n=Object(s.a)(this.sessionLicenseCredits);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.sessionLicenseCredits.push(i.toJSON())}}catch(u){n.e(u)}finally{n.f()}}if(Array.isArray(this.sessionLicenseProperties)){e.sessionLicenseProperties=[];var a,r=Object(s.a)(this.sessionLicenseProperties);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.sessionLicenseProperties.push(o.toJSON())}}catch(u){r.e(u)}finally{r.f()}}if(Array.isArray(this.sessionUsersWithRetro)){e.sessionUsersWithRetro=[];var l,c=Object(s.a)(this.sessionUsersWithRetro);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.sessionUsersWithRetro.push(d.toJSON())}}catch(u){c.e(u)}finally{c.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),fp=function(){function e(t){if(Object(l.a)(this,e),this.multiSessionLicense=void 0,this.showWarningMessage=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.multiSessionLicense)){this.multiSessionLicense=[];var t,n=Object(s.a)(e.multiSessionLicense);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.multiSessionLicense.push(vp.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}this.showWarningMessage=e.showWarningMessage}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.multiSessionLicense)){e.multiSessionLicense=[];var t,n=Object(s.a)(this.multiSessionLicense);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.multiSessionLicense.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e.showWarningMessage=this.showWarningMessage,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),pp=function(){function e(t){if(Object(l.a)(this,e),this.countyId=void 0,this.name=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.countyId=e.countyId,this.name=e.name)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).countyId=this.countyId,e.name=this.name,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}();!function(e){e[e.InProgress=1]="InProgress",e[e.Done=2]="Done",e[e.Disqualified=3]="Disqualified"}(Wf||(Wf={}));var hp,yp=function(){function e(t){if(Object(l.a)(this,e),this.dateTaken=void 0,this.title=void 0,this.sessionTitle=void 0,this.sessionTypeId=void 0,this.courseFormat=void 0,this.courseFormatPortalCategory=void 0,this.sessionParticipantId=void 0,this.availableCredits=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&(this.dateTaken=e.dateTaken?new Date(e.dateTaken.toString()):void 0,this.title=e.title,this.sessionTitle=e.sessionTitle,this.sessionTypeId=e.sessionTypeId,this.courseFormat=e.courseFormat,this.courseFormatPortalCategory=e.courseFormatPortalCategory,this.sessionParticipantId=e.sessionParticipantId,Array.isArray(e.availableCredits))){this.availableCredits=[];var t,n=Object(s.a)(e.availableCredits);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.availableCredits.push(wn.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).dateTaken=this.dateTaken?this.dateTaken.toISOString():void 0,e.title=this.title,e.sessionTitle=this.sessionTitle,e.sessionTypeId=this.sessionTypeId,e.courseFormat=this.courseFormat,e.courseFormatPortalCategory=this.courseFormatPortalCategory,e.sessionParticipantId=this.sessionParticipantId,Array.isArray(this.availableCredits)){e.availableCredits=[];var t,n=Object(s.a)(this.availableCredits);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.availableCredits.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),bp=function(){function e(t){if(Object(l.a)(this,e),this.creditId=void 0,this.creditName=void 0,this.parentCreditId=void 0,this.level=void 0,this.sequenceNumber=void 0,this.creditsNeeded=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.creditId=e.creditId,this.creditName=e.creditName,this.parentCreditId=e.parentCreditId,this.level=e.level,this.sequenceNumber=e.sequenceNumber,this.creditsNeeded=e.creditsNeeded)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).creditId=this.creditId,e.creditName=this.creditName,e.parentCreditId=this.parentCreditId,e.level=this.level,e.sequenceNumber=this.sequenceNumber,e.creditsNeeded=this.creditsNeeded,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),gp=function(){function e(t){if(Object(l.a)(this,e),this.dateTaken=void 0,this.title=void 0,this.sessionTitle=void 0,this.sessionTypeId=void 0,this.courseFormat=void 0,this.courseFormatPortalCategory=void 0,this.sessionParticipantId=void 0,this.retroCredits=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&(this.dateTaken=e.dateTaken?new Date(e.dateTaken.toString()):void 0,this.title=e.title,this.sessionTitle=e.sessionTitle,this.sessionTypeId=e.sessionTypeId,this.courseFormat=e.courseFormat,this.courseFormatPortalCategory=e.courseFormatPortalCategory,this.sessionParticipantId=e.sessionParticipantId,Array.isArray(e.retroCredits))){this.retroCredits=[];var t,n=Object(s.a)(e.retroCredits);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.retroCredits.push($h.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).dateTaken=this.dateTaken?this.dateTaken.toISOString():void 0,e.title=this.title,e.sessionTitle=this.sessionTitle,e.sessionTypeId=this.sessionTypeId,e.courseFormat=this.courseFormat,e.courseFormatPortalCategory=this.courseFormatPortalCategory,e.sessionParticipantId=this.sessionParticipantId,Array.isArray(this.retroCredits)){e.retroCredits=[];var t,n=Object(s.a)(this.retroCredits);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.retroCredits.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}();!function(e){e[e.Dashboard=1e3]="Dashboard",e[e.Users=2e3]="Users",e[e.Courses=3e3]="Courses",e[e.Sessions=4e3]="Sessions",e[e.Activities=5e3]="Activities",e[e.LearningPlans=6e3]="LearningPlans",e[e.Compliance=7e3]="Compliance",e[e.Reports=8e3]="Reports",e[e.Library=9e3]="Library",e[e.ConfigurationsSettings=1e4]="ConfigurationsSettings",e[e.ConfigurationsTemplates=11e3]="ConfigurationsTemplates",e[e.ConfigurationsDataManagement=12e3]="ConfigurationsDataManagement",e[e.ConfigurationsSecurity=13e3]="ConfigurationsSecurity",e[e.ConfigurationsLogs=14e3]="ConfigurationsLogs",e[e.PortalCourses=14001]="PortalCourses",e[e.PortalCompliance=14002]="PortalCompliance",e[e.PortalLearningPlans=14003]="PortalLearningPlans",e[e.PortalTranscripts=14004]="PortalTranscripts",e[e.PortalSettings=14005]="PortalSettings",e[e.PortalInstructorView=14006]="PortalInstructorView",e[e.PortalTeamView=14007]="PortalTeamView",e[e.PortalDevelopmentPlans=14100]="PortalDevelopmentPlans",e[e.PortalDevelopmentRecords=14101]="PortalDevelopmentRecords",e[e.PortalDevelopmentRecordLearningNeeds=14102]="PortalDevelopmentRecordLearningNeeds",e[e.PortalDevelopmentOverallReflections=14103]="PortalDevelopmentOverallReflections",e[e.Evaluations=15e3]="Evaluations"}(hp||(hp={}));var Ep,Ip=function(){function e(t){if(Object(l.a)(this,e),this.targetPermissionSetId=void 0,this.targetValue=void 0,this.sourceValue=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.targetPermissionSetId=e.targetPermissionSetId,this.targetValue=e.targetValue,this.sourceValue=e.sourceValue)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).targetPermissionSetId=this.targetPermissionSetId,e.targetValue=this.targetValue,e.sourceValue=this.sourceValue,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Sp=function(){function e(t){if(Object(l.a)(this,e),this.permissionSetId=void 0,this.name=void 0,this.description=void 0,this.category=void 0,this.dependencies=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&(this.permissionSetId=e.permissionSetId,this.name=e.name,this.description=e.description,this.category=e.category,Array.isArray(e.dependencies))){this.dependencies=[];var t,n=Object(s.a)(e.dependencies);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.dependencies.push(Ip.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).permissionSetId=this.permissionSetId,e.name=this.name,e.description=this.description,e.category=this.category,Array.isArray(this.dependencies)){e.dependencies=[];var t,n=Object(s.a)(this.dependencies);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.dependencies.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}();!function(e){e[e.NotSet=0]="NotSet",e[e.ViewUsers=2001]="ViewUsers",e[e.ManageUsers=2002]="ManageUsers",e[e.DeleteUsers=2003]="DeleteUsers",e[e.ExportUsers=2005]="ExportUsers",e[e.ViewCourses=3001]="ViewCourses",e[e.ManageCourses=3002]="ManageCourses",e[e.DeleteCourses=3003]="DeleteCourses",e[e.ExportCourses=3005]="ExportCourses",e[e.ViewSessions=4001]="ViewSessions",e[e.ManageSessions=4002]="ManageSessions",e[e.DeleteSessions=4003]="DeleteSessions",e[e.ExportSessions=4005]="ExportSessions",e[e.ViewActivities=5001]="ViewActivities",e[e.ManageActivities=5002]="ManageActivities",e[e.DeleteActivities=5003]="DeleteActivities",e[e.ExportActivities=5004]="ExportActivities",e[e.ViewLearningPlans=6001]="ViewLearningPlans",e[e.ManageLearningPlans=6002]="ManageLearningPlans",e[e.DeleteLearningPlans=6003]="DeleteLearningPlans",e[e.ExportLearningPlans=6007]="ExportLearningPlans",e[e.ViewLibrary=9001]="ViewLibrary",e[e.ManageLibrary=9002]="ManageLibrary",e[e.DeleteLibrary=9003]="DeleteLibrary",e[e.ExportLibrary=9004]="ExportLibrary",e[e.DownloadVideo=9005]="DownloadVideo",e[e.ViewSettings=10001]="ViewSettings",e[e.ManageSettings=10002]="ManageSettings",e[e.ViewTemplates=11001]="ViewTemplates",e[e.ManageTemplates=11002]="ManageTemplates",e[e.DeleteTemplates=11003]="DeleteTemplates",e[e.ViewDataManagement=12001]="ViewDataManagement",e[e.ManageDataManagement=12002]="ManageDataManagement",e[e.DeleteDataManagement=12003]="DeleteDataManagement",e[e.ExportDataManagement=12005]="ExportDataManagement",e[e.ViewSecurityUser=13001]="ViewSecurityUser",e[e.ManageSecurityUser=13002]="ManageSecurityUser",e[e.ExportSecurityUsers=13007]="ExportSecurityUsers",e[e.ViewRoles=13101]="ViewRoles",e[e.ManageRoles=13102]="ManageRoles",e[e.DeleteRoles=13103]="DeleteRoles",e[e.ExportRoles=13110]="ExportRoles",e[e.ViewSecurityGroups=13201]="ViewSecurityGroups",e[e.ManageSecurityGroups=13202]="ManageSecurityGroups",e[e.DeleteSecurityGroups=13203]="DeleteSecurityGroups",e[e.ExportSecurityGroups=13206]="ExportSecurityGroups",e[e.ViewApiClients=13301]="ViewApiClients",e[e.ManageApiClients=13302]="ManageApiClients",e[e.DeleteApiClients=13303]="DeleteApiClients",e[e.ViewEmailLogs=14001]="ViewEmailLogs",e[e.ManageEmailLogs=14002]="ManageEmailLogs",e[e.ViewIntegrationLogs=14003]="ViewIntegrationLogs",e[e.ManageIntegrationLogs=14004]="ManageIntegrationLogs",e[e.ViewApplicationLogs=14005]="ViewApplicationLogs",e[e.ViewApiLogs=14007]="ViewApiLogs",e[e.ViewImportLogs=14008]="ViewImportLogs",e[e.ManageImportLogs=14009]="ManageImportLogs",e[e.ViewPortalCourseCatalog=14010]="ViewPortalCourseCatalog",e[e.ViewPortalCourseCalendar=14011]="ViewPortalCourseCalendar",e[e.ViewPortalUserCourses=14012]="ViewPortalUserCourses",e[e.ViewPortalUserCompliance=14013]="ViewPortalUserCompliance",e[e.ViewPortalLearningPlans=14014]="ViewPortalLearningPlans",e[e.ViewPortalTranscripts=14015]="ViewPortalTranscripts",e[e.ViewPortalUserPreference=14016]="ViewPortalUserPreference",e[e.ViewPortalMyCourses=14017]="ViewPortalMyCourses",e[e.ViewPortalInstructorView=14018]="ViewPortalInstructorView",e[e.ViewPortalTeamView=14019]="ViewPortalTeamView",e[e.ManagePortalTeam=14020]="ManagePortalTeam",e[e.ImportUsers=15e3]="ImportUsers",e[e.ImportSessions=15001]="ImportSessions",e[e.ImportDataManagement=15002]="ImportDataManagement",e[e.ImportCourses=15003]="ImportCourses",e[e.ImportLearningPlan=15004]="ImportLearningPlan",e[e.ImportLibrary=15005]="ImportLibrary",e[e.ImportEvaluation=15006]="ImportEvaluation",e[e.ViewCompetencyFrameworks=16e3]="ViewCompetencyFrameworks",e[e.ManageCompetencyFrameworks=16001]="ManageCompetencyFrameworks",e[e.DeleteCompetencyFrameworks=16002]="DeleteCompetencyFrameworks",e[e.ViewPortalDevelopmentPlans=17100]="ViewPortalDevelopmentPlans",e[e.ManagePortalDevelopmentPlans=17101]="ManagePortalDevelopmentPlans",e[e.DeletePortalDevelopmentPlans=17102]="DeletePortalDevelopmentPlans",e[e.ViewPortalDevelopmentRecords=18e3]="ViewPortalDevelopmentRecords",e[e.ManagePortalDevelopmentRecords=18001]="ManagePortalDevelopmentRecords",e[e.DeletePortalDevelopmentRecords=18002]="DeletePortalDevelopmentRecords",e[e.ViewPortalDevelopmentRecordLearningNeeds=19e3]="ViewPortalDevelopmentRecordLearningNeeds",e[e.ManagePortalDevelopmentRecordLearningNeeds=19001]="ManagePortalDevelopmentRecordLearningNeeds",e[e.DeletePortalDevelopmentRecordLearningNeeds=19002]="DeletePortalDevelopmentRecordLearningNeeds",e[e.ManagePortalLearningPlans=19003]="ManagePortalLearningPlans",e[e.DeletePortalLearningPlans=19004]="DeletePortalLearningPlans",e[e.ViewPortalDevelopmentOverallReflections=2e4]="ViewPortalDevelopmentOverallReflections",e[e.ManagePortalDevelopmentOverallReflections=20001]="ManagePortalDevelopmentOverallReflections"}(Ep||(Ep={}));var Op,Cp=function(){function e(t){if(Object(l.a)(this,e),this.permissionSets=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&Array.isArray(e.permissionSets)){this.permissionSets=[];var t,n=Object(s.a)(e.permissionSets);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.permissionSets.push(Sp.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.permissionSets)){e.permissionSets=[];var t,n=Object(s.a)(this.permissionSets);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.permissionSets.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),jp=function(){function e(t){if(Object(l.a)(this,e),this.headerType=void 0,this.headerText=void 0,this.color=void 0,this.logoUrl=void 0,this.defaultLandingScreen=void 0,this.forLicensesHeldOnly=void 0,this.industryId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.headerType=e.headerType,this.headerText=e.headerText,this.color=e.color,this.logoUrl=e.logoUrl,this.defaultLandingScreen=e.defaultLandingScreen,this.forLicensesHeldOnly=e.forLicensesHeldOnly,this.industryId=e.industryId)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).headerType=this.headerType,e.headerText=this.headerText,e.color=this.color,e.logoUrl=this.logoUrl,e.defaultLandingScreen=this.defaultLandingScreen,e.forLicensesHeldOnly=this.forLicensesHeldOnly,e.industryId=this.industryId,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),xp=function(){function e(t){if(Object(l.a)(this,e),this.roleId=void 0,this.headerType=void 0,this.headerText=void 0,this.color=void 0,this.logoUrl=void 0,this.thumbnailUrl=void 0,this.isEnabled=void 0,this.defaultLandingScreen=void 0,this.forLicensesHeldOnly=void 0,this.industryId=void 0,this.portalScreenInformations=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&(this.roleId=e.roleId,this.headerType=e.headerType,this.headerText=e.headerText,this.color=e.color,this.logoUrl=e.logoUrl,this.thumbnailUrl=e.thumbnailUrl,this.isEnabled=e.isEnabled,this.defaultLandingScreen=e.defaultLandingScreen,this.forLicensesHeldOnly=e.forLicensesHeldOnly,this.industryId=e.industryId,Array.isArray(e.portalScreenInformations))){this.portalScreenInformations=[];var t,n=Object(s.a)(e.portalScreenInformations);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.portalScreenInformations.push(Lp.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).roleId=this.roleId,e.headerType=this.headerType,e.headerText=this.headerText,e.color=this.color,e.logoUrl=this.logoUrl,e.thumbnailUrl=this.thumbnailUrl,e.isEnabled=this.isEnabled,e.defaultLandingScreen=this.defaultLandingScreen,e.forLicensesHeldOnly=this.forLicensesHeldOnly,e.industryId=this.industryId,Array.isArray(this.portalScreenInformations)){e.portalScreenInformations=[];var t,n=Object(s.a)(this.portalScreenInformations);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.portalScreenInformations.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Ap=function(){function e(t){if(Object(l.a)(this,e),this.sessionId=void 0,this.courseId=void 0,this.scheduleId=void 0,this.sessionTypeId=void 0,this.title=void 0,this.courseFormat=void 0,this.courseFormatPortalCategory=void 0,this.courseTitle=void 0,this.provider=void 0,this.startDate=void 0,this.endDate=void 0,this.startTime=void 0,this.endTime=void 0,this.timeZone=void 0,this.location=void 0,this.room=void 0,this.sessionParticipantStatusId=void 0,this.isWaitlisted=void 0,this.isInstructor=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.sessionId=e.sessionId,this.courseId=e.courseId,this.scheduleId=e.scheduleId,this.sessionTypeId=e.sessionTypeId,this.title=e.title,this.courseFormat=e.courseFormat,this.courseFormatPortalCategory=e.courseFormatPortalCategory,this.courseTitle=e.courseTitle,this.provider=e.provider,this.startDate=e.startDate?new Date(e.startDate.toString()):void 0,this.endDate=e.endDate?new Date(e.endDate.toString()):void 0,this.startTime=e.startTime,this.endTime=e.endTime,this.timeZone=e.timeZone,this.location=e.location,this.room=e.room,this.sessionParticipantStatusId=e.sessionParticipantStatusId,this.isWaitlisted=e.isWaitlisted,this.isInstructor=e.isInstructor)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).sessionId=this.sessionId,e.courseId=this.courseId,e.scheduleId=this.scheduleId,e.sessionTypeId=this.sessionTypeId,e.title=this.title,e.courseFormat=this.courseFormat,e.courseFormatPortalCategory=this.courseFormatPortalCategory,e.courseTitle=this.courseTitle,e.provider=this.provider,e.startDate=this.startDate?this.startDate.toISOString():void 0,e.endDate=this.endDate?this.endDate.toISOString():void 0,e.startTime=this.startTime,e.endTime=this.endTime,e.timeZone=this.timeZone,e.location=this.location,e.room=this.room,e.sessionParticipantStatusId=this.sessionParticipantStatusId,e.isWaitlisted=this.isWaitlisted,e.isInstructor=this.isInstructor,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Tp=function(){function e(t){if(Object(l.a)(this,e),this.sessions=void 0,this.recordCount=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.sessions)){this.sessions=[];var t,n=Object(s.a)(e.sessions);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.sessions.push(Ap.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}this.recordCount=e.recordCount}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.sessions)){e.sessions=[];var t,n=Object(s.a)(this.sessions);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.sessions.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e.recordCount=this.recordCount,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),wp=function(){function e(t){if(Object(l.a)(this,e),this.userLicenseComplianceId=void 0,this.periodFrom=void 0,this.periodFromCourse=void 0,this.periodTo=void 0,this.periodToDisplay=void 0,this.periodLabel=void 0,this.periodNumber=void 0,this.periodTypeId=void 0,this.complianceStatusId=void 0,this.isSubLicensePeriod=void 0,this.isPriorPeriodDeficient=void 0,this.compliancePeriodTotals=void 0,this.compliancePeriodAdditionalRequirements=void 0,this.compliancePeriodChartNotes=void 0,this.compliancePeriodRestrictions=void 0,this.compliancePeriodSubjectAreas=void 0,this.compliancePeriodCourseHistory=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.userLicenseComplianceId=e.userLicenseComplianceId,this.periodFrom=e.periodFrom?new Date(e.periodFrom.toString()):void 0,this.periodFromCourse=e.periodFromCourse?new Date(e.periodFromCourse.toString()):void 0,this.periodTo=e.periodTo?new Date(e.periodTo.toString()):void 0,this.periodToDisplay=e.periodToDisplay?new Date(e.periodToDisplay.toString()):void 0,this.periodLabel=e.periodLabel,this.periodNumber=e.periodNumber,this.periodTypeId=e.periodTypeId,this.complianceStatusId=e.complianceStatusId,this.isSubLicensePeriod=e.isSubLicensePeriod,this.isPriorPeriodDeficient=e.isPriorPeriodDeficient,Array.isArray(e.compliancePeriodTotals)){this.compliancePeriodTotals=[];var t,n=Object(s.a)(e.compliancePeriodTotals);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.compliancePeriodTotals.push(Ni.fromJS(i))}}catch(E){n.e(E)}finally{n.f()}}if(Array.isArray(e.compliancePeriodAdditionalRequirements)){this.compliancePeriodAdditionalRequirements=[];var a,r=Object(s.a)(e.compliancePeriodAdditionalRequirements);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.compliancePeriodAdditionalRequirements.push(yi.fromJS(o))}}catch(E){r.e(E)}finally{r.f()}}if(Array.isArray(e.compliancePeriodChartNotes)){this.compliancePeriodChartNotes=[];var l,c=Object(s.a)(e.compliancePeriodChartNotes);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.compliancePeriodChartNotes.push(bi.fromJS(d))}}catch(E){c.e(E)}finally{c.f()}}if(Array.isArray(e.compliancePeriodRestrictions)){this.compliancePeriodRestrictions=[];var u,m=Object(s.a)(e.compliancePeriodRestrictions);try{for(m.s();!(u=m.n()).done;){var v=u.value;this.compliancePeriodRestrictions.push(ki.fromJS(v))}}catch(E){m.e(E)}finally{m.f()}}if(Array.isArray(e.compliancePeriodSubjectAreas)){this.compliancePeriodSubjectAreas=[];var f,p=Object(s.a)(e.compliancePeriodSubjectAreas);try{for(p.s();!(f=p.n()).done;){var h=f.value;this.compliancePeriodSubjectAreas.push(Pi.fromJS(h))}}catch(E){p.e(E)}finally{p.f()}}if(Array.isArray(e.compliancePeriodCourseHistory)){this.compliancePeriodCourseHistory=[];var y,b=Object(s.a)(e.compliancePeriodCourseHistory);try{for(b.s();!(y=b.n()).done;){var g=y.value;this.compliancePeriodCourseHistory.push(wi.fromJS(g))}}catch(E){b.e(E)}finally{b.f()}}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).userLicenseComplianceId=this.userLicenseComplianceId,e.periodFrom=this.periodFrom?this.periodFrom.toISOString():void 0,e.periodFromCourse=this.periodFromCourse?this.periodFromCourse.toISOString():void 0,e.periodTo=this.periodTo?this.periodTo.toISOString():void 0,e.periodToDisplay=this.periodToDisplay?this.periodToDisplay.toISOString():void 0,e.periodLabel=this.periodLabel,e.periodNumber=this.periodNumber,e.periodTypeId=this.periodTypeId,e.complianceStatusId=this.complianceStatusId,e.isSubLicensePeriod=this.isSubLicensePeriod,e.isPriorPeriodDeficient=this.isPriorPeriodDeficient,Array.isArray(this.compliancePeriodTotals)){e.compliancePeriodTotals=[];var t,n=Object(s.a)(this.compliancePeriodTotals);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.compliancePeriodTotals.push(i.toJSON())}}catch(E){n.e(E)}finally{n.f()}}if(Array.isArray(this.compliancePeriodAdditionalRequirements)){e.compliancePeriodAdditionalRequirements=[];var a,r=Object(s.a)(this.compliancePeriodAdditionalRequirements);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.compliancePeriodAdditionalRequirements.push(o.toJSON())}}catch(E){r.e(E)}finally{r.f()}}if(Array.isArray(this.compliancePeriodChartNotes)){e.compliancePeriodChartNotes=[];var l,c=Object(s.a)(this.compliancePeriodChartNotes);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.compliancePeriodChartNotes.push(d.toJSON())}}catch(E){c.e(E)}finally{c.f()}}if(Array.isArray(this.compliancePeriodRestrictions)){e.compliancePeriodRestrictions=[];var u,m=Object(s.a)(this.compliancePeriodRestrictions);try{for(m.s();!(u=m.n()).done;){var v=u.value;e.compliancePeriodRestrictions.push(v.toJSON())}}catch(E){m.e(E)}finally{m.f()}}if(Array.isArray(this.compliancePeriodSubjectAreas)){e.compliancePeriodSubjectAreas=[];var f,p=Object(s.a)(this.compliancePeriodSubjectAreas);try{for(p.s();!(f=p.n()).done;){var h=f.value;e.compliancePeriodSubjectAreas.push(h.toJSON())}}catch(E){p.e(E)}finally{p.f()}}if(Array.isArray(this.compliancePeriodCourseHistory)){e.compliancePeriodCourseHistory=[];var y,b=Object(s.a)(this.compliancePeriodCourseHistory);try{for(b.s();!(y=b.n()).done;){var g=y.value;e.compliancePeriodCourseHistory.push(g.toJSON())}}catch(E){b.e(E)}finally{b.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),kp=function(){function e(t){if(Object(l.a)(this,e),this.sessionId=void 0,this.scheduleId=void 0,this.title=void 0,this.sessionTypeId=void 0,this.startDate=void 0,this.endDate=void 0,this.startTime=void 0,this.endTime=void 0,this.timezoneId=void 0,this.timezone=void 0,this.location=void 0,this.room=void 0,this.courseFormat=void 0,this.courseFormatPortalCategory=void 0,this.isOnlineLearning=void 0,this.courseTitle=void 0,this.isPublished=void 0,this.cancelledDate=void 0,this.detail=void 0,this.duration=void 0,this.sessionInstructors=void 0,this.registeredParticipantCount=void 0,this.tentativeParticipantCount=void 0,this.validatedParticipantCount=void 0,this.pendingParticipantCount=void 0,this.inProgressParticipantCount=void 0,this.disqualifiedParticipantCount=void 0,this.sessionLicenses=void 0,this.sessionMaterials=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.sessionId=e.sessionId,this.scheduleId=e.scheduleId,this.title=e.title,this.sessionTypeId=e.sessionTypeId,this.startDate=e.startDate?new Date(e.startDate.toString()):void 0,this.endDate=e.endDate?new Date(e.endDate.toString()):void 0,this.startTime=e.startTime,this.endTime=e.endTime,this.timezoneId=e.timezoneId,this.timezone=e.timezone,this.location=e.location,this.room=e.room,this.courseFormat=e.courseFormat,this.courseFormatPortalCategory=e.courseFormatPortalCategory,this.isOnlineLearning=e.isOnlineLearning,this.courseTitle=e.courseTitle,this.isPublished=e.isPublished,this.cancelledDate=e.cancelledDate?new Date(e.cancelledDate.toString()):void 0,this.detail=e.detail,this.duration=e.duration,Array.isArray(e.sessionInstructors)){this.sessionInstructors=[];var t,n=Object(s.a)(e.sessionInstructors);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.sessionInstructors.push(i)}}catch(u){n.e(u)}finally{n.f()}}if(this.registeredParticipantCount=e.registeredParticipantCount,this.tentativeParticipantCount=e.tentativeParticipantCount,this.validatedParticipantCount=e.validatedParticipantCount,this.pendingParticipantCount=e.pendingParticipantCount,this.inProgressParticipantCount=e.inProgressParticipantCount,this.disqualifiedParticipantCount=e.disqualifiedParticipantCount,Array.isArray(e.sessionLicenses)){this.sessionLicenses=[];var a,r=Object(s.a)(e.sessionLicenses);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.sessionLicenses.push(Fb.fromJS(o))}}catch(u){r.e(u)}finally{r.f()}}if(Array.isArray(e.sessionMaterials)){this.sessionMaterials=[];var l,c=Object(s.a)(e.sessionMaterials);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.sessionMaterials.push(qb.fromJS(d))}}catch(u){c.e(u)}finally{c.f()}}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).sessionId=this.sessionId,e.scheduleId=this.scheduleId,e.title=this.title,e.sessionTypeId=this.sessionTypeId,e.startDate=this.startDate?this.startDate.toISOString():void 0,e.endDate=this.endDate?this.endDate.toISOString():void 0,e.startTime=this.startTime,e.endTime=this.endTime,e.timezoneId=this.timezoneId,e.timezone=this.timezone,e.location=this.location,e.room=this.room,e.courseFormat=this.courseFormat,e.courseFormatPortalCategory=this.courseFormatPortalCategory,e.isOnlineLearning=this.isOnlineLearning,e.courseTitle=this.courseTitle,e.isPublished=this.isPublished,e.cancelledDate=this.cancelledDate?this.cancelledDate.toISOString():void 0,e.detail=this.detail,e.duration=this.duration,Array.isArray(this.sessionInstructors)){e.sessionInstructors=[];var t,n=Object(s.a)(this.sessionInstructors);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.sessionInstructors.push(i)}}catch(u){n.e(u)}finally{n.f()}}if(e.registeredParticipantCount=this.registeredParticipantCount,e.tentativeParticipantCount=this.tentativeParticipantCount,e.validatedParticipantCount=this.validatedParticipantCount,e.pendingParticipantCount=this.pendingParticipantCount,e.inProgressParticipantCount=this.inProgressParticipantCount,e.disqualifiedParticipantCount=this.disqualifiedParticipantCount,Array.isArray(this.sessionLicenses)){e.sessionLicenses=[];var a,r=Object(s.a)(this.sessionLicenses);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.sessionLicenses.push(o.toJSON())}}catch(u){r.e(u)}finally{r.f()}}if(Array.isArray(this.sessionMaterials)){e.sessionMaterials=[];var l,c=Object(s.a)(this.sessionMaterials);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.sessionMaterials.push(d.toJSON())}}catch(u){c.e(u)}finally{c.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Pp=function(){function e(t){if(Object(l.a)(this,e),this.sessions=void 0,this.recordCount=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.sessions)){this.sessions=[];var t,n=Object(s.a)(e.sessions);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.sessions.push(kp.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}this.recordCount=e.recordCount}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.sessions)){e.sessions=[];var t,n=Object(s.a)(this.sessions);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.sessions.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e.recordCount=this.recordCount,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Np=function(){function e(t){if(Object(l.a)(this,e),this.roleId=void 0,this.enableSeekBar=void 0,this.enableMakeupDisqualifiedVideo=void 0,this.enableMakeupDisqualifiedScorm=void 0,this.enableRewind=void 0,this.enableFastForward=void 0,this.forLicensesHeldOnly=void 0,this.portalDepartmentFilterIds=void 0,this.portalLevelFilterIds=void 0,this.portalLocationFilterIds=void 0,this.portalPracticeAreaFilterIds=void 0,this.portalProviderFilterIds=void 0,this.defaultLandingScreen=void 0,this.portalCompetencyFilterIds=void 0,this.portalClassYearFilterIds=void 0,this.portalTagFilterIds=void 0,this.portalCourseFormatFilterIds=void 0,this.portalCalendarCourseFormatFilterIds=void 0,this.portalCalendarDepartmentFilterIds=void 0,this.portalCalendarLevelFilterIds=void 0,this.portalCalendarLocationFilterIds=void 0,this.portalCalendarPracticeAreaFilterIds=void 0,this.portalCalendarProviderFilterIds=void 0,this.portalCalendarCompetencyFilterIds=void 0,this.portalCalendarClassYearFilterIds=void 0,this.portalCalendarTagFilterIds=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.roleId=e.roleId,this.enableSeekBar=e.enableSeekBar,this.enableMakeupDisqualifiedVideo=e.enableMakeupDisqualifiedVideo,this.enableMakeupDisqualifiedScorm=e.enableMakeupDisqualifiedScorm,this.enableRewind=e.enableRewind,this.enableFastForward=e.enableFastForward,this.forLicensesHeldOnly=e.forLicensesHeldOnly,Array.isArray(e.portalDepartmentFilterIds)){this.portalDepartmentFilterIds=[];var t,n=Object(s.a)(e.portalDepartmentFilterIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.portalDepartmentFilterIds.push(i)}}catch(ne){n.e(ne)}finally{n.f()}}if(Array.isArray(e.portalLevelFilterIds)){this.portalLevelFilterIds=[];var a,r=Object(s.a)(e.portalLevelFilterIds);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.portalLevelFilterIds.push(o)}}catch(ne){r.e(ne)}finally{r.f()}}if(Array.isArray(e.portalLocationFilterIds)){this.portalLocationFilterIds=[];var l,c=Object(s.a)(e.portalLocationFilterIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.portalLocationFilterIds.push(d)}}catch(ne){c.e(ne)}finally{c.f()}}if(Array.isArray(e.portalPracticeAreaFilterIds)){this.portalPracticeAreaFilterIds=[];var u,m=Object(s.a)(e.portalPracticeAreaFilterIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;this.portalPracticeAreaFilterIds.push(v)}}catch(ne){m.e(ne)}finally{m.f()}}if(Array.isArray(e.portalProviderFilterIds)){this.portalProviderFilterIds=[];var f,p=Object(s.a)(e.portalProviderFilterIds);try{for(p.s();!(f=p.n()).done;){var h=f.value;this.portalProviderFilterIds.push(h)}}catch(ne){p.e(ne)}finally{p.f()}}if(this.defaultLandingScreen=e.defaultLandingScreen,Array.isArray(e.portalCompetencyFilterIds)){this.portalCompetencyFilterIds=[];var y,b=Object(s.a)(e.portalCompetencyFilterIds);try{for(b.s();!(y=b.n()).done;){var g=y.value;this.portalCompetencyFilterIds.push(g)}}catch(ne){b.e(ne)}finally{b.f()}}if(Array.isArray(e.portalClassYearFilterIds)){this.portalClassYearFilterIds=[];var E,I=Object(s.a)(e.portalClassYearFilterIds);try{for(I.s();!(E=I.n()).done;){var S=E.value;this.portalClassYearFilterIds.push(S)}}catch(ne){I.e(ne)}finally{I.f()}}if(Array.isArray(e.portalTagFilterIds)){this.portalTagFilterIds=[];var O,C=Object(s.a)(e.portalTagFilterIds);try{for(C.s();!(O=C.n()).done;){var j=O.value;this.portalTagFilterIds.push(j)}}catch(ne){C.e(ne)}finally{C.f()}}if(Array.isArray(e.portalCourseFormatFilterIds)){this.portalCourseFormatFilterIds=[];var x,A=Object(s.a)(e.portalCourseFormatFilterIds);try{for(A.s();!(x=A.n()).done;){var T=x.value;this.portalCourseFormatFilterIds.push(T)}}catch(ne){A.e(ne)}finally{A.f()}}if(Array.isArray(e.portalCalendarCourseFormatFilterIds)){this.portalCalendarCourseFormatFilterIds=[];var w,k=Object(s.a)(e.portalCalendarCourseFormatFilterIds);try{for(k.s();!(w=k.n()).done;){var P=w.value;this.portalCalendarCourseFormatFilterIds.push(P)}}catch(ne){k.e(ne)}finally{k.f()}}if(Array.isArray(e.portalCalendarDepartmentFilterIds)){this.portalCalendarDepartmentFilterIds=[];var N,D=Object(s.a)(e.portalCalendarDepartmentFilterIds);try{for(D.s();!(N=D.n()).done;){var L=N.value;this.portalCalendarDepartmentFilterIds.push(L)}}catch(ne){D.e(ne)}finally{D.f()}}if(Array.isArray(e.portalCalendarLevelFilterIds)){this.portalCalendarLevelFilterIds=[];var F,B=Object(s.a)(e.portalCalendarLevelFilterIds);try{for(B.s();!(F=B.n()).done;){var R=F.value;this.portalCalendarLevelFilterIds.push(R)}}catch(ne){B.e(ne)}finally{B.f()}}if(Array.isArray(e.portalCalendarLocationFilterIds)){this.portalCalendarLocationFilterIds=[];var J,G=Object(s.a)(e.portalCalendarLocationFilterIds);try{for(G.s();!(J=G.n()).done;){var U=J.value;this.portalCalendarLocationFilterIds.push(U)}}catch(ne){G.e(ne)}finally{G.f()}}if(Array.isArray(e.portalCalendarPracticeAreaFilterIds)){this.portalCalendarPracticeAreaFilterIds=[];var z,q=Object(s.a)(e.portalCalendarPracticeAreaFilterIds);try{for(q.s();!(z=q.n()).done;){var M=z.value;this.portalCalendarPracticeAreaFilterIds.push(M)}}catch(ne){q.e(ne)}finally{q.f()}}if(Array.isArray(e.portalCalendarProviderFilterIds)){this.portalCalendarProviderFilterIds=[];var W,V=Object(s.a)(e.portalCalendarProviderFilterIds);try{for(V.s();!(W=V.n()).done;){var _=W.value;this.portalCalendarProviderFilterIds.push(_)}}catch(ne){V.e(ne)}finally{V.f()}}if(Array.isArray(e.portalCalendarCompetencyFilterIds)){this.portalCalendarCompetencyFilterIds=[];var Y,H=Object(s.a)(e.portalCalendarCompetencyFilterIds);try{for(H.s();!(Y=H.n()).done;){var $=Y.value;this.portalCalendarCompetencyFilterIds.push($)}}catch(ne){H.e(ne)}finally{H.f()}}if(Array.isArray(e.portalCalendarClassYearFilterIds)){this.portalCalendarClassYearFilterIds=[];var Q,Z=Object(s.a)(e.portalCalendarClassYearFilterIds);try{for(Z.s();!(Q=Z.n()).done;){var X=Q.value;this.portalCalendarClassYearFilterIds.push(X)}}catch(ne){Z.e(ne)}finally{Z.f()}}if(Array.isArray(e.portalCalendarTagFilterIds)){this.portalCalendarTagFilterIds=[];var K,ee=Object(s.a)(e.portalCalendarTagFilterIds);try{for(ee.s();!(K=ee.n()).done;){var te=K.value;this.portalCalendarTagFilterIds.push(te)}}catch(ne){ee.e(ne)}finally{ee.f()}}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).roleId=this.roleId,e.enableSeekBar=this.enableSeekBar,e.enableMakeupDisqualifiedVideo=this.enableMakeupDisqualifiedVideo,e.enableMakeupDisqualifiedScorm=this.enableMakeupDisqualifiedScorm,e.enableRewind=this.enableRewind,e.enableFastForward=this.enableFastForward,e.forLicensesHeldOnly=this.forLicensesHeldOnly,Array.isArray(this.portalDepartmentFilterIds)){e.portalDepartmentFilterIds=[];var t,n=Object(s.a)(this.portalDepartmentFilterIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.portalDepartmentFilterIds.push(i)}}catch(ne){n.e(ne)}finally{n.f()}}if(Array.isArray(this.portalLevelFilterIds)){e.portalLevelFilterIds=[];var a,r=Object(s.a)(this.portalLevelFilterIds);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.portalLevelFilterIds.push(o)}}catch(ne){r.e(ne)}finally{r.f()}}if(Array.isArray(this.portalLocationFilterIds)){e.portalLocationFilterIds=[];var l,c=Object(s.a)(this.portalLocationFilterIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.portalLocationFilterIds.push(d)}}catch(ne){c.e(ne)}finally{c.f()}}if(Array.isArray(this.portalPracticeAreaFilterIds)){e.portalPracticeAreaFilterIds=[];var u,m=Object(s.a)(this.portalPracticeAreaFilterIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;e.portalPracticeAreaFilterIds.push(v)}}catch(ne){m.e(ne)}finally{m.f()}}if(Array.isArray(this.portalProviderFilterIds)){e.portalProviderFilterIds=[];var f,p=Object(s.a)(this.portalProviderFilterIds);try{for(p.s();!(f=p.n()).done;){var h=f.value;e.portalProviderFilterIds.push(h)}}catch(ne){p.e(ne)}finally{p.f()}}if(e.defaultLandingScreen=this.defaultLandingScreen,Array.isArray(this.portalCompetencyFilterIds)){e.portalCompetencyFilterIds=[];var y,b=Object(s.a)(this.portalCompetencyFilterIds);try{for(b.s();!(y=b.n()).done;){var g=y.value;e.portalCompetencyFilterIds.push(g)}}catch(ne){b.e(ne)}finally{b.f()}}if(Array.isArray(this.portalClassYearFilterIds)){e.portalClassYearFilterIds=[];var E,I=Object(s.a)(this.portalClassYearFilterIds);try{for(I.s();!(E=I.n()).done;){var S=E.value;e.portalClassYearFilterIds.push(S)}}catch(ne){I.e(ne)}finally{I.f()}}if(Array.isArray(this.portalTagFilterIds)){e.portalTagFilterIds=[];var O,C=Object(s.a)(this.portalTagFilterIds);try{for(C.s();!(O=C.n()).done;){var j=O.value;e.portalTagFilterIds.push(j)}}catch(ne){C.e(ne)}finally{C.f()}}if(Array.isArray(this.portalCourseFormatFilterIds)){e.portalCourseFormatFilterIds=[];var x,A=Object(s.a)(this.portalCourseFormatFilterIds);try{for(A.s();!(x=A.n()).done;){var T=x.value;e.portalCourseFormatFilterIds.push(T)}}catch(ne){A.e(ne)}finally{A.f()}}if(Array.isArray(this.portalCalendarCourseFormatFilterIds)){e.portalCalendarCourseFormatFilterIds=[];var w,k=Object(s.a)(this.portalCalendarCourseFormatFilterIds);try{for(k.s();!(w=k.n()).done;){var P=w.value;e.portalCalendarCourseFormatFilterIds.push(P)}}catch(ne){k.e(ne)}finally{k.f()}}if(Array.isArray(this.portalCalendarDepartmentFilterIds)){e.portalCalendarDepartmentFilterIds=[];var N,D=Object(s.a)(this.portalCalendarDepartmentFilterIds);try{for(D.s();!(N=D.n()).done;){var L=N.value;e.portalCalendarDepartmentFilterIds.push(L)}}catch(ne){D.e(ne)}finally{D.f()}}if(Array.isArray(this.portalCalendarLevelFilterIds)){e.portalCalendarLevelFilterIds=[];var F,B=Object(s.a)(this.portalCalendarLevelFilterIds);try{for(B.s();!(F=B.n()).done;){var R=F.value;e.portalCalendarLevelFilterIds.push(R)}}catch(ne){B.e(ne)}finally{B.f()}}if(Array.isArray(this.portalCalendarLocationFilterIds)){e.portalCalendarLocationFilterIds=[];var J,G=Object(s.a)(this.portalCalendarLocationFilterIds);try{for(G.s();!(J=G.n()).done;){var U=J.value;e.portalCalendarLocationFilterIds.push(U)}}catch(ne){G.e(ne)}finally{G.f()}}if(Array.isArray(this.portalCalendarPracticeAreaFilterIds)){e.portalCalendarPracticeAreaFilterIds=[];var z,q=Object(s.a)(this.portalCalendarPracticeAreaFilterIds);try{for(q.s();!(z=q.n()).done;){var M=z.value;e.portalCalendarPracticeAreaFilterIds.push(M)}}catch(ne){q.e(ne)}finally{q.f()}}if(Array.isArray(this.portalCalendarProviderFilterIds)){e.portalCalendarProviderFilterIds=[];var W,V=Object(s.a)(this.portalCalendarProviderFilterIds);try{for(V.s();!(W=V.n()).done;){var _=W.value;e.portalCalendarProviderFilterIds.push(_)}}catch(ne){V.e(ne)}finally{V.f()}}if(Array.isArray(this.portalCalendarCompetencyFilterIds)){e.portalCalendarCompetencyFilterIds=[];var Y,H=Object(s.a)(this.portalCalendarCompetencyFilterIds);try{for(H.s();!(Y=H.n()).done;){var $=Y.value;e.portalCalendarCompetencyFilterIds.push($)}}catch(ne){H.e(ne)}finally{H.f()}}if(Array.isArray(this.portalCalendarClassYearFilterIds)){e.portalCalendarClassYearFilterIds=[];var Q,Z=Object(s.a)(this.portalCalendarClassYearFilterIds);try{for(Z.s();!(Q=Z.n()).done;){var X=Q.value;e.portalCalendarClassYearFilterIds.push(X)}}catch(ne){Z.e(ne)}finally{Z.f()}}if(Array.isArray(this.portalCalendarTagFilterIds)){e.portalCalendarTagFilterIds=[];var K,ee=Object(s.a)(this.portalCalendarTagFilterIds);try{for(ee.s();!(K=ee.n()).done;){var te=K.value;e.portalCalendarTagFilterIds.push(te)}}catch(ne){ee.e(ne)}finally{ee.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}();!function(e){e[e.Home=1]="Home",e[e.CourseCatalog=2]="CourseCatalog",e[e.CourseCalendar=3]="CourseCalendar",e[e.UserCourses=4]="UserCourses",e[e.Compliance=5]="Compliance",e[e.LearningPlans=6]="LearningPlans",e[e.Transcripts=7]="Transcripts",e[e.InstructorView=8]="InstructorView",e[e.TeamView=9]="TeamView"}(Op||(Op={}));var Dp,Lp=function(){function e(t){if(Object(l.a)(this,e),this.roleId=void 0,this.portalScreen=void 0,this.shortDescription=void 0,this.text=void 0,this.title=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.roleId=e.roleId,this.portalScreen=e.portalScreen,this.shortDescription=e.shortDescription,this.text=e.text,this.title=e.title)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).roleId=this.roleId,e.portalScreen=this.portalScreen,e.shortDescription=this.shortDescription,e.text=this.text,e.title=this.title,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Fp=function(){function e(t){if(Object(l.a)(this,e),this.sessionParticipantCertificateId=void 0,this.sessionParticipantId=void 0,this.fileId=void 0,this.fileName=void 0,this.fileType=void 0,this.fileExt=void 0,this.uploadDate=void 0,this.createdBy=void 0,this.createdByUserType=void 0,this.integrationId=void 0,this.integrationSessionParticipantCertificateId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.sessionParticipantCertificateId=e.sessionParticipantCertificateId,this.sessionParticipantId=e.sessionParticipantId,this.fileId=e.fileId,this.fileName=e.fileName,this.fileType=e.fileType,this.fileExt=e.fileExt,this.uploadDate=e.uploadDate?new Date(e.uploadDate.toString()):void 0,this.createdBy=e.createdBy,this.createdByUserType=e.createdByUserType,this.integrationId=e.integrationId,this.integrationSessionParticipantCertificateId=e.integrationSessionParticipantCertificateId)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).sessionParticipantCertificateId=this.sessionParticipantCertificateId,e.sessionParticipantId=this.sessionParticipantId,e.fileId=this.fileId,e.fileName=this.fileName,e.fileType=this.fileType,e.fileExt=this.fileExt,e.uploadDate=this.uploadDate?this.uploadDate.toISOString():void 0,e.createdBy=this.createdBy,e.createdByUserType=this.createdByUserType,e.integrationId=this.integrationId,e.integrationSessionParticipantCertificateId=this.integrationSessionParticipantCertificateId,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Bp=function(){function e(t){if(Object(l.a)(this,e),this.certificates=void 0,this.recordCount=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.certificates)){this.certificates=[];var t,n=Object(s.a)(e.certificates);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.certificates.push(Fp.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}this.recordCount=e.recordCount}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.certificates)){e.certificates=[];var t,n=Object(s.a)(this.certificates);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.certificates.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e.recordCount=this.recordCount,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Rp=function(){function e(t){if(Object(l.a)(this,e),this.userId=void 0,this.name=void 0,this.initials=void 0,this.email=void 0,this.location=void 0,this.userType=void 0,this.value=void 0,this.userName=void 0,this.portalAccessEnabled=void 0,this.idpId=void 0,this.hasUKLicense=void 0,this.hasPortalDevelopmentPlanAccess=void 0,this.userAvatar=void 0,this.userDepartment=void 0,this.userPosition=void 0,this.userRole=void 0,this.userLicense=void 0,this.sourceRelationShips=void 0,this.targetRelationShips=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.userId=e.userId,this.name=e.name,this.initials=e.initials,this.email=e.email,this.location=e.location,this.userType=e.userType,this.value=e.value,this.userName=e.userName,this.portalAccessEnabled=e.portalAccessEnabled,this.idpId=e.idpId,this.hasUKLicense=e.hasUKLicense,this.hasPortalDevelopmentPlanAccess=e.hasPortalDevelopmentPlanAccess,this.userAvatar=e.userAvatar?QI.fromJS(e.userAvatar):void 0,Array.isArray(e.userDepartment)){this.userDepartment=[];var t,n=Object(s.a)(e.userDepartment);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.userDepartment.push(sS.fromJS(i))}}catch(E){n.e(E)}finally{n.f()}}if(Array.isArray(e.userPosition)){this.userPosition=[];var a,r=Object(s.a)(e.userPosition);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.userPosition.push(JS.fromJS(o))}}catch(E){r.e(E)}finally{r.f()}}if(Array.isArray(e.userRole)){this.userRole=[];var l,c=Object(s.a)(e.userRole);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.userRole.push(MS.fromJS(d))}}catch(E){c.e(E)}finally{c.f()}}if(Array.isArray(e.userLicense)){this.userLicense=[];var u,m=Object(s.a)(e.userLicense);try{for(m.s();!(u=m.n()).done;){var v=u.value;this.userLicense.push(AS.fromJS(v))}}catch(E){m.e(E)}finally{m.f()}}if(Array.isArray(e.sourceRelationShips)){this.sourceRelationShips=[];var f,p=Object(s.a)(e.sourceRelationShips);try{for(p.s();!(f=p.n()).done;){var h=f.value;this.sourceRelationShips.push(zS.fromJS(h))}}catch(E){p.e(E)}finally{p.f()}}if(Array.isArray(e.targetRelationShips)){this.targetRelationShips=[];var y,b=Object(s.a)(e.targetRelationShips);try{for(b.s();!(y=b.n()).done;){var g=y.value;this.targetRelationShips.push(zS.fromJS(g))}}catch(E){b.e(E)}finally{b.f()}}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).userId=this.userId,e.name=this.name,e.initials=this.initials,e.email=this.email,e.location=this.location,e.userType=this.userType,e.value=this.value,e.userName=this.userName,e.portalAccessEnabled=this.portalAccessEnabled,e.idpId=this.idpId,e.hasUKLicense=this.hasUKLicense,e.hasPortalDevelopmentPlanAccess=this.hasPortalDevelopmentPlanAccess,e.userAvatar=this.userAvatar?this.userAvatar.toJSON():void 0,Array.isArray(this.userDepartment)){e.userDepartment=[];var t,n=Object(s.a)(this.userDepartment);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.userDepartment.push(i.toJSON())}}catch(E){n.e(E)}finally{n.f()}}if(Array.isArray(this.userPosition)){e.userPosition=[];var a,r=Object(s.a)(this.userPosition);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.userPosition.push(o.toJSON())}}catch(E){r.e(E)}finally{r.f()}}if(Array.isArray(this.userRole)){e.userRole=[];var l,c=Object(s.a)(this.userRole);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.userRole.push(d.toJSON())}}catch(E){c.e(E)}finally{c.f()}}if(Array.isArray(this.userLicense)){e.userLicense=[];var u,m=Object(s.a)(this.userLicense);try{for(m.s();!(u=m.n()).done;){var v=u.value;e.userLicense.push(v.toJSON())}}catch(E){m.e(E)}finally{m.f()}}if(Array.isArray(this.sourceRelationShips)){e.sourceRelationShips=[];var f,p=Object(s.a)(this.sourceRelationShips);try{for(p.s();!(f=p.n()).done;){var h=f.value;e.sourceRelationShips.push(h.toJSON())}}catch(E){p.e(E)}finally{p.f()}}if(Array.isArray(this.targetRelationShips)){e.targetRelationShips=[];var y,b=Object(s.a)(this.targetRelationShips);try{for(b.s();!(y=b.n()).done;){var g=y.value;e.targetRelationShips.push(g.toJSON())}}catch(E){b.e(E)}finally{b.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Jp=function(){function e(t){if(Object(l.a)(this,e),this.users=void 0,this.recordCount=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.users)){this.users=[];var t,n=Object(s.a)(e.users);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.users.push(Rp.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}this.recordCount=e.recordCount}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.users)){e.users=[];var t,n=Object(s.a)(this.users);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.users.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e.recordCount=this.recordCount,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Gp=function(){function e(t){if(Object(l.a)(this,e),this.userId=void 0,this.firstName=void 0,this.middleName=void 0,this.lastName=void 0,this.userType=void 0,this.userAvatarThumbnailURl=void 0,this.licenseId=void 0,this.licenseName=void 0,this.subLicenseId=void 0,this.isSubLicenseRolling=void 0,this.complianceStatusId=void 0,this.isCarryOverAllowed=void 0,this.isSubLicenseCarryOverAllowed=void 0,this.isRetroAllowed=void 0,this.totalPeriodCount=void 0,this.userLicenseProfile=void 0,this.compliancePeriods=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.userId=e.userId,this.firstName=e.firstName,this.middleName=e.middleName,this.lastName=e.lastName,this.userType=e.userType,this.userAvatarThumbnailURl=e.userAvatarThumbnailURl,this.licenseId=e.licenseId,this.licenseName=e.licenseName,this.subLicenseId=e.subLicenseId,this.isSubLicenseRolling=e.isSubLicenseRolling,this.complianceStatusId=e.complianceStatusId,this.isCarryOverAllowed=e.isCarryOverAllowed,this.isSubLicenseCarryOverAllowed=e.isSubLicenseCarryOverAllowed,this.isRetroAllowed=e.isRetroAllowed,this.totalPeriodCount=e.totalPeriodCount,Array.isArray(e.userLicenseProfile)){this.userLicenseProfile=[];var t,n=Object(s.a)(e.userLicenseProfile);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.userLicenseProfile.push(wS.fromJS(i))}}catch(l){n.e(l)}finally{n.f()}}if(Array.isArray(e.compliancePeriods)){this.compliancePeriods=[];var a,r=Object(s.a)(e.compliancePeriods);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.compliancePeriods.push(wp.fromJS(o))}}catch(l){r.e(l)}finally{r.f()}}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).userId=this.userId,e.firstName=this.firstName,e.middleName=this.middleName,e.lastName=this.lastName,e.userType=this.userType,e.userAvatarThumbnailURl=this.userAvatarThumbnailURl,e.licenseId=this.licenseId,e.licenseName=this.licenseName,e.subLicenseId=this.subLicenseId,e.isSubLicenseRolling=this.isSubLicenseRolling,e.complianceStatusId=this.complianceStatusId,e.isCarryOverAllowed=this.isCarryOverAllowed,e.isSubLicenseCarryOverAllowed=this.isSubLicenseCarryOverAllowed,e.isRetroAllowed=this.isRetroAllowed,e.totalPeriodCount=this.totalPeriodCount,Array.isArray(this.userLicenseProfile)){e.userLicenseProfile=[];var t,n=Object(s.a)(this.userLicenseProfile);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.userLicenseProfile.push(i.toJSON())}}catch(l){n.e(l)}finally{n.f()}}if(Array.isArray(this.compliancePeriods)){e.compliancePeriods=[];var a,r=Object(s.a)(this.compliancePeriods);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.compliancePeriods.push(o.toJSON())}}catch(l){r.e(l)}finally{r.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Up=function(){function e(t){if(Object(l.a)(this,e),this.sessionParticipantId=void 0,this.licenseId=void 0,this.licenseFullName=void 0,this.licenseStatus=void 0,this.expirationDate=void 0,this.licenseName=void 0,this.creditId=void 0,this.creditName=void 0,this.creditShortName=void 0,this.value=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.sessionParticipantId=e.sessionParticipantId,this.licenseId=e.licenseId,this.licenseFullName=e.licenseFullName,this.licenseStatus=e.licenseStatus,this.expirationDate=e.expirationDate?new Date(e.expirationDate.toString()):void 0,this.licenseName=e.licenseName,this.creditId=e.creditId,this.creditName=e.creditName,this.creditShortName=e.creditShortName,this.value=e.value)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).sessionParticipantId=this.sessionParticipantId,e.licenseId=this.licenseId,e.licenseFullName=this.licenseFullName,e.licenseStatus=this.licenseStatus,e.expirationDate=this.expirationDate?this.expirationDate.toISOString():void 0,e.licenseName=this.licenseName,e.creditId=this.creditId,e.creditName=this.creditName,e.creditShortName=this.creditShortName,e.value=this.value,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),zp=function(){function e(t){if(Object(l.a)(this,e),this.transcriptId=void 0,this.sessionParticipantId=void 0,this.sessionId=void 0,this.userId=void 0,this.isInstructor=void 0,this.isValidated=void 0,this.registrationDate=void 0,this.registeredBy=void 0,this.validationDate=void 0,this.validatedBy=void 0,this.completionDate=void 0,this.startDate=void 0,this.endDate=void 0,this.shouldDisplayDateRange=void 0,this.tentativeDate=void 0,this.isCreditAdjusted=void 0,this.sessionParticipantStatusId=void 0,this.previousStatusId=void 0,this.courseId=void 0,this.title=void 0,this.sessionTitle=void 0,this.providerId=void 0,this.providerName=void 0,this.formatId=void 0,this.format=void 0,this.formatPortalCategory=void 0,this.locationId=void 0,this.location=void 0,this.sessionLicenses=void 0,this.sessionMaterials=void 0,this.userLicenseCreditValues=void 0,this.userLicensePropertyValues=void 0,this.evaluation=void 0,this.evaluationDisplayStatusId=void 0,this.evaluationDisplayStatus=void 0,this.certificates=void 0,this.certificateDisplayStatusId=void 0,this.certificateDisplayStatus=void 0,this.activityParticipantId=void 0,this.activityId=void 0,this.hoursSpent=void 0,this.yearGrouping=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.transcriptId=e.transcriptId,this.sessionParticipantId=e.sessionParticipantId,this.sessionId=e.sessionId,this.userId=e.userId,this.isInstructor=e.isInstructor,this.isValidated=e.isValidated,this.registrationDate=e.registrationDate?new Date(e.registrationDate.toString()):void 0,this.registeredBy=e.registeredBy,this.validationDate=e.validationDate?new Date(e.validationDate.toString()):void 0,this.validatedBy=e.validatedBy,this.completionDate=e.completionDate?new Date(e.completionDate.toString()):void 0,this.startDate=e.startDate?new Date(e.startDate.toString()):void 0,this.endDate=e.endDate?new Date(e.endDate.toString()):void 0,this.shouldDisplayDateRange=e.shouldDisplayDateRange,this.tentativeDate=e.tentativeDate?new Date(e.tentativeDate.toString()):void 0,this.isCreditAdjusted=e.isCreditAdjusted,this.sessionParticipantStatusId=e.sessionParticipantStatusId,this.previousStatusId=e.previousStatusId,this.courseId=e.courseId,this.title=e.title,this.sessionTitle=e.sessionTitle,this.providerId=e.providerId,this.providerName=e.providerName,this.formatId=e.formatId,this.format=e.format,this.formatPortalCategory=e.formatPortalCategory,this.locationId=e.locationId,this.location=e.location,Array.isArray(e.sessionLicenses)){this.sessionLicenses=[];var t,n=Object(s.a)(e.sessionLicenses);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.sessionLicenses.push(Fb.fromJS(i))}}catch(y){n.e(y)}finally{n.f()}}if(Array.isArray(e.sessionMaterials)){this.sessionMaterials=[];var a,r=Object(s.a)(e.sessionMaterials);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.sessionMaterials.push(qb.fromJS(o))}}catch(y){r.e(y)}finally{r.f()}}if(Array.isArray(e.userLicenseCreditValues)){this.userLicenseCreditValues=[];var l,c=Object(s.a)(e.userLicenseCreditValues);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.userLicenseCreditValues.push(Up.fromJS(d))}}catch(y){c.e(y)}finally{c.f()}}if(Array.isArray(e.userLicensePropertyValues)){this.userLicensePropertyValues=[];var u,m=Object(s.a)(e.userLicensePropertyValues);try{for(m.s();!(u=m.n()).done;){var v=u.value;this.userLicensePropertyValues.push(PS.fromJS(v))}}catch(y){m.e(y)}finally{m.f()}}if(this.evaluation=e.evaluation?uS.fromJS(e.evaluation):void 0,this.evaluationDisplayStatusId=e.evaluationDisplayStatusId,this.evaluationDisplayStatus=e.evaluationDisplayStatus,Array.isArray(e.certificates)){this.certificates=[];var f,p=Object(s.a)(e.certificates);try{for(p.s();!(f=p.n()).done;){var h=f.value;this.certificates.push(XI.fromJS(h))}}catch(y){p.e(y)}finally{p.f()}}this.certificateDisplayStatusId=e.certificateDisplayStatusId,this.certificateDisplayStatus=e.certificateDisplayStatus,this.activityParticipantId=e.activityParticipantId,this.activityId=e.activityId,this.hoursSpent=e.hoursSpent,this.yearGrouping=e.yearGrouping}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).transcriptId=this.transcriptId,e.sessionParticipantId=this.sessionParticipantId,e.sessionId=this.sessionId,e.userId=this.userId,e.isInstructor=this.isInstructor,e.isValidated=this.isValidated,e.registrationDate=this.registrationDate?this.registrationDate.toISOString():void 0,e.registeredBy=this.registeredBy,e.validationDate=this.validationDate?this.validationDate.toISOString():void 0,e.validatedBy=this.validatedBy,e.completionDate=this.completionDate?this.completionDate.toISOString():void 0,e.startDate=this.startDate?this.startDate.toISOString():void 0,e.endDate=this.endDate?this.endDate.toISOString():void 0,e.shouldDisplayDateRange=this.shouldDisplayDateRange,e.tentativeDate=this.tentativeDate?this.tentativeDate.toISOString():void 0,e.isCreditAdjusted=this.isCreditAdjusted,e.sessionParticipantStatusId=this.sessionParticipantStatusId,e.previousStatusId=this.previousStatusId,e.courseId=this.courseId,e.title=this.title,e.sessionTitle=this.sessionTitle,e.providerId=this.providerId,e.providerName=this.providerName,e.formatId=this.formatId,e.format=this.format,e.formatPortalCategory=this.formatPortalCategory,e.locationId=this.locationId,e.location=this.location,Array.isArray(this.sessionLicenses)){e.sessionLicenses=[];var t,n=Object(s.a)(this.sessionLicenses);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.sessionLicenses.push(i.toJSON())}}catch(y){n.e(y)}finally{n.f()}}if(Array.isArray(this.sessionMaterials)){e.sessionMaterials=[];var a,r=Object(s.a)(this.sessionMaterials);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.sessionMaterials.push(o.toJSON())}}catch(y){r.e(y)}finally{r.f()}}if(Array.isArray(this.userLicenseCreditValues)){e.userLicenseCreditValues=[];var l,c=Object(s.a)(this.userLicenseCreditValues);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.userLicenseCreditValues.push(d.toJSON())}}catch(y){c.e(y)}finally{c.f()}}if(Array.isArray(this.userLicensePropertyValues)){e.userLicensePropertyValues=[];var u,m=Object(s.a)(this.userLicensePropertyValues);try{for(m.s();!(u=m.n()).done;){var v=u.value;e.userLicensePropertyValues.push(v.toJSON())}}catch(y){m.e(y)}finally{m.f()}}if(e.evaluation=this.evaluation?this.evaluation.toJSON():void 0,e.evaluationDisplayStatusId=this.evaluationDisplayStatusId,e.evaluationDisplayStatus=this.evaluationDisplayStatus,Array.isArray(this.certificates)){e.certificates=[];var f,p=Object(s.a)(this.certificates);try{for(p.s();!(f=p.n()).done;){var h=f.value;e.certificates.push(h.toJSON())}}catch(y){p.e(y)}finally{p.f()}}return e.certificateDisplayStatusId=this.certificateDisplayStatusId,e.certificateDisplayStatus=this.certificateDisplayStatus,e.activityParticipantId=this.activityParticipantId,e.activityId=this.activityId,e.hoursSpent=this.hoursSpent,e.yearGrouping=this.yearGrouping,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),qp=function(){function e(t){if(Object(l.a)(this,e),this.userTranscripts=void 0,this.yearGrouping=void 0,this.recordCount=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.userTranscripts)){this.userTranscripts=[];var t,n=Object(s.a)(e.userTranscripts);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.userTranscripts.push(zp.fromJS(i))}}catch(l){n.e(l)}finally{n.f()}}if(Array.isArray(e.yearGrouping)){this.yearGrouping=[];var a,r=Object(s.a)(e.yearGrouping);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.yearGrouping.push(o)}}catch(l){r.e(l)}finally{r.f()}}this.recordCount=e.recordCount}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.userTranscripts)){e.userTranscripts=[];var t,n=Object(s.a)(this.userTranscripts);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.userTranscripts.push(i.toJSON())}}catch(l){n.e(l)}finally{n.f()}}if(Array.isArray(this.yearGrouping)){e.yearGrouping=[];var a,r=Object(s.a)(this.yearGrouping);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.yearGrouping.push(o)}}catch(l){r.e(l)}finally{r.f()}}return e.recordCount=this.recordCount,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Mp=function(){function e(t){if(Object(l.a)(this,e),this.transcriptId=void 0,this.sessionParticipantId=void 0,this.sessionId=void 0,this.userId=void 0,this.isInstructor=void 0,this.isValidated=void 0,this.cancelledDate=void 0,this.completionDate=void 0,this.startDate=void 0,this.endDate=void 0,this.shouldDisplayDateRange=void 0,this.isIndividualSessionDateAllowed=void 0,this.courseId=void 0,this.title=void 0,this.sessionTitle=void 0,this.providerId=void 0,this.providerName=void 0,this.isInHouse=void 0,this.formatId=void 0,this.format=void 0,this.formatPortalCategory=void 0,this.locationId=void 0,this.location=void 0,this.sessionLicenses=void 0,this.sessionMaterials=void 0,this.userLicenseCreditValues=void 0,this.userLicensePropertyValues=void 0,this.sessionParticipantStatusId=void 0,this.withRetro=void 0,this.evaluation=void 0,this.evaluationDisplayStatusId=void 0,this.evaluationDisplayStatus=void 0,this.certificates=void 0,this.certificateDisplayStatusId=void 0,this.certificateDisplayStatus=void 0,this.createdby=void 0,this.activityParticipantId=void 0,this.activityId=void 0,this.hoursSpent=void 0,this.yearGrouping=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.transcriptId=e.transcriptId,this.sessionParticipantId=e.sessionParticipantId,this.sessionId=e.sessionId,this.userId=e.userId,this.isInstructor=e.isInstructor,this.isValidated=e.isValidated,this.cancelledDate=e.cancelledDate?new Date(e.cancelledDate.toString()):void 0,this.completionDate=e.completionDate?new Date(e.completionDate.toString()):void 0,this.startDate=e.startDate?new Date(e.startDate.toString()):void 0,this.endDate=e.endDate?new Date(e.endDate.toString()):void 0,this.shouldDisplayDateRange=e.shouldDisplayDateRange,this.isIndividualSessionDateAllowed=e.isIndividualSessionDateAllowed,this.courseId=e.courseId,this.title=e.title,this.sessionTitle=e.sessionTitle,this.providerId=e.providerId,this.providerName=e.providerName,this.isInHouse=e.isInHouse,this.formatId=e.formatId,this.format=e.format,this.formatPortalCategory=e.formatPortalCategory,this.locationId=e.locationId,this.location=e.location,Array.isArray(e.sessionLicenses)){this.sessionLicenses=[];var t,n=Object(s.a)(e.sessionLicenses);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.sessionLicenses.push(Fb.fromJS(i))}}catch(y){n.e(y)}finally{n.f()}}if(Array.isArray(e.sessionMaterials)){this.sessionMaterials=[];var a,r=Object(s.a)(e.sessionMaterials);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.sessionMaterials.push(qb.fromJS(o))}}catch(y){r.e(y)}finally{r.f()}}if(Array.isArray(e.userLicenseCreditValues)){this.userLicenseCreditValues=[];var l,c=Object(s.a)(e.userLicenseCreditValues);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.userLicenseCreditValues.push(Up.fromJS(d))}}catch(y){c.e(y)}finally{c.f()}}if(Array.isArray(e.userLicensePropertyValues)){this.userLicensePropertyValues=[];var u,m=Object(s.a)(e.userLicensePropertyValues);try{for(m.s();!(u=m.n()).done;){var v=u.value;this.userLicensePropertyValues.push(PS.fromJS(v))}}catch(y){m.e(y)}finally{m.f()}}if(this.sessionParticipantStatusId=e.sessionParticipantStatusId,this.withRetro=e.withRetro,this.evaluation=e.evaluation?uS.fromJS(e.evaluation):void 0,this.evaluationDisplayStatusId=e.evaluationDisplayStatusId,this.evaluationDisplayStatus=e.evaluationDisplayStatus,Array.isArray(e.certificates)){this.certificates=[];var f,p=Object(s.a)(e.certificates);try{for(p.s();!(f=p.n()).done;){var h=f.value;this.certificates.push(XI.fromJS(h))}}catch(y){p.e(y)}finally{p.f()}}this.certificateDisplayStatusId=e.certificateDisplayStatusId,this.certificateDisplayStatus=e.certificateDisplayStatus,this.createdby=e.createdby,this.activityParticipantId=e.activityParticipantId,this.activityId=e.activityId,this.hoursSpent=e.hoursSpent,this.yearGrouping=e.yearGrouping}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).transcriptId=this.transcriptId,e.sessionParticipantId=this.sessionParticipantId,e.sessionId=this.sessionId,e.userId=this.userId,e.isInstructor=this.isInstructor,e.isValidated=this.isValidated,e.cancelledDate=this.cancelledDate?this.cancelledDate.toISOString():void 0,e.completionDate=this.completionDate?this.completionDate.toISOString():void 0,e.startDate=this.startDate?this.startDate.toISOString():void 0,e.endDate=this.endDate?this.endDate.toISOString():void 0,e.shouldDisplayDateRange=this.shouldDisplayDateRange,e.isIndividualSessionDateAllowed=this.isIndividualSessionDateAllowed,e.courseId=this.courseId,e.title=this.title,e.sessionTitle=this.sessionTitle,e.providerId=this.providerId,e.providerName=this.providerName,e.isInHouse=this.isInHouse,e.formatId=this.formatId,e.format=this.format,e.formatPortalCategory=this.formatPortalCategory,e.locationId=this.locationId,e.location=this.location,Array.isArray(this.sessionLicenses)){e.sessionLicenses=[];var t,n=Object(s.a)(this.sessionLicenses);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.sessionLicenses.push(i.toJSON())}}catch(y){n.e(y)}finally{n.f()}}if(Array.isArray(this.sessionMaterials)){e.sessionMaterials=[];var a,r=Object(s.a)(this.sessionMaterials);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.sessionMaterials.push(o.toJSON())}}catch(y){r.e(y)}finally{r.f()}}if(Array.isArray(this.userLicenseCreditValues)){e.userLicenseCreditValues=[];var l,c=Object(s.a)(this.userLicenseCreditValues);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.userLicenseCreditValues.push(d.toJSON())}}catch(y){c.e(y)}finally{c.f()}}if(Array.isArray(this.userLicensePropertyValues)){e.userLicensePropertyValues=[];var u,m=Object(s.a)(this.userLicensePropertyValues);try{for(m.s();!(u=m.n()).done;){var v=u.value;e.userLicensePropertyValues.push(v.toJSON())}}catch(y){m.e(y)}finally{m.f()}}if(e.sessionParticipantStatusId=this.sessionParticipantStatusId,e.withRetro=this.withRetro,e.evaluation=this.evaluation?this.evaluation.toJSON():void 0,e.evaluationDisplayStatusId=this.evaluationDisplayStatusId,e.evaluationDisplayStatus=this.evaluationDisplayStatus,Array.isArray(this.certificates)){e.certificates=[];var f,p=Object(s.a)(this.certificates);try{for(p.s();!(f=p.n()).done;){var h=f.value;e.certificates.push(h.toJSON())}}catch(y){p.e(y)}finally{p.f()}}return e.certificateDisplayStatusId=this.certificateDisplayStatusId,e.certificateDisplayStatus=this.certificateDisplayStatus,e.createdby=this.createdby,e.activityParticipantId=this.activityParticipantId,e.activityId=this.activityId,e.hoursSpent=this.hoursSpent,e.yearGrouping=this.yearGrouping,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Wp=function(){function e(t){if(Object(l.a)(this,e),this.userTranscripts=void 0,this.yearGrouping=void 0,this.recordCount=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.userTranscripts)){this.userTranscripts=[];var t,n=Object(s.a)(e.userTranscripts);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.userTranscripts.push(Mp.fromJS(i))}}catch(l){n.e(l)}finally{n.f()}}if(Array.isArray(e.yearGrouping)){this.yearGrouping=[];var a,r=Object(s.a)(e.yearGrouping);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.yearGrouping.push(o)}}catch(l){r.e(l)}finally{r.f()}}this.recordCount=e.recordCount}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.userTranscripts)){e.userTranscripts=[];var t,n=Object(s.a)(this.userTranscripts);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.userTranscripts.push(i.toJSON())}}catch(l){n.e(l)}finally{n.f()}}if(Array.isArray(this.yearGrouping)){e.yearGrouping=[];var a,r=Object(s.a)(this.yearGrouping);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.yearGrouping.push(o)}}catch(l){r.e(l)}finally{r.f()}}return e.recordCount=this.recordCount,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Vp=function(){function e(t){if(Object(l.a)(this,e),this.positionId=void 0,this.name=void 0,this.isActive=void 0,this.code=void 0,this.userCount=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.positionId=e.positionId,this.name=e.name,this.isActive=e.isActive,this.code=e.code,this.userCount=e.userCount)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).positionId=this.positionId,e.name=this.name,e.isActive=this.isActive,e.code=this.code,e.userCount=this.userCount,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),_p=function(){function e(t){if(Object(l.a)(this,e),this.positions=void 0,this.recordCount=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.positions)){this.positions=[];var t,n=Object(s.a)(e.positions);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.positions.push(Vp.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}this.recordCount=e.recordCount}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.positions)){e.positions=[];var t,n=Object(s.a)(this.positions);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.positions.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e.recordCount=this.recordCount,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Yp=function(){function e(t){if(Object(l.a)(this,e),this.practiceAreaId=void 0,this.name=void 0,this.isActive=void 0,this.code=void 0,this.courseCount=void 0,this.userCount=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.practiceAreaId=e.practiceAreaId,this.name=e.name,this.isActive=e.isActive,this.code=e.code,this.courseCount=e.courseCount,this.userCount=e.userCount)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).practiceAreaId=this.practiceAreaId,e.name=this.name,e.isActive=this.isActive,e.code=this.code,e.courseCount=this.courseCount,e.userCount=this.userCount,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Hp=function(){function e(t){if(Object(l.a)(this,e),this.practiceAreas=void 0,this.recordCount=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.practiceAreas)){this.practiceAreas=[];var t,n=Object(s.a)(e.practiceAreas);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.practiceAreas.push(Yp.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}this.recordCount=e.recordCount}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.practiceAreas)){e.practiceAreas=[];var t,n=Object(s.a)(this.practiceAreas);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.practiceAreas.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e.recordCount=this.recordCount,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),$p=function(){function e(t){if(Object(l.a)(this,e),this.subject=void 0,this.htmlBody=void 0,this.textBody=void 0,this.replyToUserId=void 0,this.senderId=void 0,this.emailTemplateId=void 0,this.emailTemplate=void 0,this.emailTypeId=void 0,this.emailType=void 0,this.emailAlias=void 0,this.emailParameterId=void 0,this.key=void 0,this.emailParameter=void 0,this.licenses=void 0,this.courses=void 0,this.sessions=void 0,this.learningPlans=void 0,this.to=void 0,this.cc=void 0,this.bcc=void 0,this.attachments=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.subject=e.subject,this.htmlBody=e.htmlBody,this.textBody=e.textBody,this.replyToUserId=e.replyToUserId,this.senderId=e.senderId,this.emailTemplateId=e.emailTemplateId,this.emailTemplate=e.emailTemplate?ws.fromJS(e.emailTemplate):void 0,this.emailTypeId=e.emailTypeId,this.emailType=e.emailType?Rs.fromJS(e.emailType):void 0,this.emailAlias=e.emailAlias,this.emailParameterId=e.emailParameterId,this.key=e.key,this.emailParameter=e.emailParameter?Es.fromJS(e.emailParameter):void 0,Array.isArray(e.licenses)){this.licenses=[];var t,n=Object(s.a)(e.licenses);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.licenses.push(bs.fromJS(i))}}catch(x){n.e(x)}finally{n.f()}}if(Array.isArray(e.courses)){this.courses=[];var a,r=Object(s.a)(e.courses);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.courses.push(ps.fromJS(o))}}catch(x){r.e(x)}finally{r.f()}}if(Array.isArray(e.sessions)){this.sessions=[];var l,c=Object(s.a)(e.sessions);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.sessions.push(xs.fromJS(d))}}catch(x){c.e(x)}finally{c.f()}}if(Array.isArray(e.learningPlans)){this.learningPlans=[];var u,m=Object(s.a)(e.learningPlans);try{for(m.s();!(u=m.n()).done;){var v=u.value;this.learningPlans.push(ys.fromJS(v))}}catch(x){m.e(x)}finally{m.f()}}if(Array.isArray(e.to)){this.to=[];var f,p=Object(s.a)(e.to);try{for(p.s();!(f=p.n()).done;){var h=f.value;this.to.push(Ss.fromJS(h))}}catch(x){p.e(x)}finally{p.f()}}if(Array.isArray(e.cc)){this.cc=[];var y,b=Object(s.a)(e.cc);try{for(b.s();!(y=b.n()).done;){var g=y.value;this.cc.push(Ss.fromJS(g))}}catch(x){b.e(x)}finally{b.f()}}if(Array.isArray(e.bcc)){this.bcc=[];var E,I=Object(s.a)(e.bcc);try{for(I.s();!(E=I.n()).done;){var S=E.value;this.bcc.push(Ss.fromJS(S))}}catch(x){I.e(x)}finally{I.f()}}if(Array.isArray(e.attachments)){this.attachments=[];var O,C=Object(s.a)(e.attachments);try{for(C.s();!(O=C.n()).done;){var j=O.value;this.attachments.push(vs.fromJS(j))}}catch(x){C.e(x)}finally{C.f()}}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).subject=this.subject,e.htmlBody=this.htmlBody,e.textBody=this.textBody,e.replyToUserId=this.replyToUserId,e.senderId=this.senderId,e.emailTemplateId=this.emailTemplateId,e.emailTemplate=this.emailTemplate?this.emailTemplate.toJSON():void 0,e.emailTypeId=this.emailTypeId,e.emailType=this.emailType?this.emailType.toJSON():void 0,e.emailAlias=this.emailAlias,e.emailParameterId=this.emailParameterId,e.key=this.key,e.emailParameter=this.emailParameter?this.emailParameter.toJSON():void 0,Array.isArray(this.licenses)){e.licenses=[];var t,n=Object(s.a)(this.licenses);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.licenses.push(i.toJSON())}}catch(x){n.e(x)}finally{n.f()}}if(Array.isArray(this.courses)){e.courses=[];var a,r=Object(s.a)(this.courses);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.courses.push(o.toJSON())}}catch(x){r.e(x)}finally{r.f()}}if(Array.isArray(this.sessions)){e.sessions=[];var l,c=Object(s.a)(this.sessions);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.sessions.push(d.toJSON())}}catch(x){c.e(x)}finally{c.f()}}if(Array.isArray(this.learningPlans)){e.learningPlans=[];var u,m=Object(s.a)(this.learningPlans);try{for(m.s();!(u=m.n()).done;){var v=u.value;e.learningPlans.push(v.toJSON())}}catch(x){m.e(x)}finally{m.f()}}if(Array.isArray(this.to)){e.to=[];var f,p=Object(s.a)(this.to);try{for(p.s();!(f=p.n()).done;){var h=f.value;e.to.push(h.toJSON())}}catch(x){p.e(x)}finally{p.f()}}if(Array.isArray(this.cc)){e.cc=[];var y,b=Object(s.a)(this.cc);try{for(b.s();!(y=b.n()).done;){var g=y.value;e.cc.push(g.toJSON())}}catch(x){b.e(x)}finally{b.f()}}if(Array.isArray(this.bcc)){e.bcc=[];var E,I=Object(s.a)(this.bcc);try{for(I.s();!(E=I.n()).done;){var S=E.value;e.bcc.push(S.toJSON())}}catch(x){I.e(x)}finally{I.f()}}if(Array.isArray(this.attachments)){e.attachments=[];var O,C=Object(s.a)(this.attachments);try{for(C.s();!(O=C.n()).done;){var j=O.value;e.attachments.push(j.toJSON())}}catch(x){C.e(x)}finally{C.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Qp=function(){function e(t){if(Object(l.a)(this,e),this.userId=void 0,this.firstName=void 0,this.middleName=void 0,this.lastName=void 0,this.userType=void 0,this.userAvatarThumbnailURl=void 0,this.licenseId=void 0,this.licenseName=void 0,this.subLicenseId=void 0,this.isSubLicenseRolling=void 0,this.complianceStatusId=void 0,this.isCarryOverAllowed=void 0,this.isSubLicenseCarryOverAllowed=void 0,this.isRetroAllowed=void 0,this.userLicenseProfile=void 0,this.periodsList=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.userId=e.userId,this.firstName=e.firstName,this.middleName=e.middleName,this.lastName=e.lastName,this.userType=e.userType,this.userAvatarThumbnailURl=e.userAvatarThumbnailURl,this.licenseId=e.licenseId,this.licenseName=e.licenseName,this.subLicenseId=e.subLicenseId,this.isSubLicenseRolling=e.isSubLicenseRolling,this.complianceStatusId=e.complianceStatusId,this.isCarryOverAllowed=e.isCarryOverAllowed,this.isSubLicenseCarryOverAllowed=e.isSubLicenseCarryOverAllowed,this.isRetroAllowed=e.isRetroAllowed,Array.isArray(e.userLicenseProfile)){this.userLicenseProfile=[];var t,n=Object(s.a)(e.userLicenseProfile);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.userLicenseProfile.push(wS.fromJS(i))}}catch(l){n.e(l)}finally{n.f()}}if(Array.isArray(e.periodsList)){this.periodsList=[];var a,r=Object(s.a)(e.periodsList);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.periodsList.push(Xp.fromJS(o))}}catch(l){r.e(l)}finally{r.f()}}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).userId=this.userId,e.firstName=this.firstName,e.middleName=this.middleName,e.lastName=this.lastName,e.userType=this.userType,e.userAvatarThumbnailURl=this.userAvatarThumbnailURl,e.licenseId=this.licenseId,e.licenseName=this.licenseName,e.subLicenseId=this.subLicenseId,e.isSubLicenseRolling=this.isSubLicenseRolling,e.complianceStatusId=this.complianceStatusId,e.isCarryOverAllowed=this.isCarryOverAllowed,e.isSubLicenseCarryOverAllowed=this.isSubLicenseCarryOverAllowed,e.isRetroAllowed=this.isRetroAllowed,Array.isArray(this.userLicenseProfile)){e.userLicenseProfile=[];var t,n=Object(s.a)(this.userLicenseProfile);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.userLicenseProfile.push(i.toJSON())}}catch(l){n.e(l)}finally{n.f()}}if(Array.isArray(this.periodsList)){e.periodsList=[];var a,r=Object(s.a)(this.periodsList);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.periodsList.push(o.toJSON())}}catch(l){r.e(l)}finally{r.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Zp=function(){function e(t){if(Object(l.a)(this,e),this.listId=void 0,this.userLicenseComplianceId=void 0,this.sessionParticipantId=void 0,this.sessionId=void 0,this.title=void 0,this.sessionTitle=void 0,this.provider=void 0,this.courseFormat=void 0,this.dateTaken=void 0,this.startDate=void 0,this.endDate=void 0,this.shouldDisplayDateRange=void 0,this.isInstructed=void 0,this.isCreditAdjusted=void 0,this.isWithinGracePeriod=void 0,this.isWithinPrevGracePeriod=void 0,this.periodNumber=void 0,this.location=void 0,this.userRetroactiveCredits=void 0,this.sessionLicenses=void 0,this.userLicenseCreditValues=void 0,this.userLicensePropertyValues=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.listId=e.listId,this.userLicenseComplianceId=e.userLicenseComplianceId,this.sessionParticipantId=e.sessionParticipantId,this.sessionId=e.sessionId,this.title=e.title,this.sessionTitle=e.sessionTitle,this.provider=e.provider,this.courseFormat=e.courseFormat,this.dateTaken=e.dateTaken?new Date(e.dateTaken.toString()):void 0,this.startDate=e.startDate?new Date(e.startDate.toString()):void 0,this.endDate=e.endDate?new Date(e.endDate.toString()):void 0,this.shouldDisplayDateRange=e.shouldDisplayDateRange,this.isInstructed=e.isInstructed,this.isCreditAdjusted=e.isCreditAdjusted,this.isWithinGracePeriod=e.isWithinGracePeriod,this.isWithinPrevGracePeriod=e.isWithinPrevGracePeriod,this.periodNumber=e.periodNumber,this.location=e.location,Array.isArray(e.userRetroactiveCredits)){this.userRetroactiveCredits=[];var t,n=Object(s.a)(e.userRetroactiveCredits);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.userRetroactiveCredits.push(Oi.fromJS(i))}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(e.sessionLicenses)){this.sessionLicenses=[];var a,r=Object(s.a)(e.sessionLicenses);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.sessionLicenses.push(Fb.fromJS(o))}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(e.userLicenseCreditValues)){this.userLicenseCreditValues=[];var l,c=Object(s.a)(e.userLicenseCreditValues);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.userLicenseCreditValues.push(xS.fromJS(d))}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(e.userLicensePropertyValues)){this.userLicensePropertyValues=[];var u,m=Object(s.a)(e.userLicensePropertyValues);try{for(m.s();!(u=m.n()).done;){var v=u.value;this.userLicensePropertyValues.push(PS.fromJS(v))}}catch(f){m.e(f)}finally{m.f()}}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).listId=this.listId,e.userLicenseComplianceId=this.userLicenseComplianceId,e.sessionParticipantId=this.sessionParticipantId,e.sessionId=this.sessionId,e.title=this.title,e.sessionTitle=this.sessionTitle,e.provider=this.provider,e.courseFormat=this.courseFormat,e.dateTaken=this.dateTaken?this.dateTaken.toISOString():void 0,e.startDate=this.startDate?this.startDate.toISOString():void 0,e.endDate=this.endDate?this.endDate.toISOString():void 0,e.shouldDisplayDateRange=this.shouldDisplayDateRange,e.isInstructed=this.isInstructed,e.isCreditAdjusted=this.isCreditAdjusted,e.isWithinGracePeriod=this.isWithinGracePeriod,e.isWithinPrevGracePeriod=this.isWithinPrevGracePeriod,e.periodNumber=this.periodNumber,e.location=this.location,Array.isArray(this.userRetroactiveCredits)){e.userRetroactiveCredits=[];var t,n=Object(s.a)(this.userRetroactiveCredits);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.userRetroactiveCredits.push(i.toJSON())}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(this.sessionLicenses)){e.sessionLicenses=[];var a,r=Object(s.a)(this.sessionLicenses);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.sessionLicenses.push(o.toJSON())}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(this.userLicenseCreditValues)){e.userLicenseCreditValues=[];var l,c=Object(s.a)(this.userLicenseCreditValues);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.userLicenseCreditValues.push(d.toJSON())}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(this.userLicensePropertyValues)){e.userLicensePropertyValues=[];var u,m=Object(s.a)(this.userLicensePropertyValues);try{for(m.s();!(u=m.n()).done;){var v=u.value;e.userLicensePropertyValues.push(v.toJSON())}}catch(f){m.e(f)}finally{m.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Xp=function(){function e(t){if(Object(l.a)(this,e),this.userLicenseComplianceId=void 0,this.licenseId=void 0,this.periodFrom=void 0,this.periodTo=void 0,this.periodToDisplay=void 0,this.periodLabel=void 0,this.periodNumber=void 0,this.periodTypeId=void 0,this.complianceStatusId=void 0,this.isSubLicensePeriod=void 0,this.isPriorPeriodDeficient=void 0,this.compliancePeriodTotals=void 0,this.compliancePeriodAdditionalRequirements=void 0,this.compliancePeriodChartNotes=void 0,this.compliancePeriodRestrictions=void 0,this.compliancePeriodSubjectAreas=void 0,this.compliancePeriodCourseHistory=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.userLicenseComplianceId=e.userLicenseComplianceId,this.licenseId=e.licenseId,this.periodFrom=e.periodFrom?new Date(e.periodFrom.toString()):void 0,this.periodTo=e.periodTo?new Date(e.periodTo.toString()):void 0,this.periodToDisplay=e.periodToDisplay?new Date(e.periodToDisplay.toString()):void 0,this.periodLabel=e.periodLabel,this.periodNumber=e.periodNumber,this.periodTypeId=e.periodTypeId,this.complianceStatusId=e.complianceStatusId,this.isSubLicensePeriod=e.isSubLicensePeriod,this.isPriorPeriodDeficient=e.isPriorPeriodDeficient,Array.isArray(e.compliancePeriodTotals)){this.compliancePeriodTotals=[];var t,n=Object(s.a)(e.compliancePeriodTotals);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.compliancePeriodTotals.push(Ni.fromJS(i))}}catch(E){n.e(E)}finally{n.f()}}if(Array.isArray(e.compliancePeriodAdditionalRequirements)){this.compliancePeriodAdditionalRequirements=[];var a,r=Object(s.a)(e.compliancePeriodAdditionalRequirements);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.compliancePeriodAdditionalRequirements.push(yi.fromJS(o))}}catch(E){r.e(E)}finally{r.f()}}if(Array.isArray(e.compliancePeriodChartNotes)){this.compliancePeriodChartNotes=[];var l,c=Object(s.a)(e.compliancePeriodChartNotes);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.compliancePeriodChartNotes.push(bi.fromJS(d))}}catch(E){c.e(E)}finally{c.f()}}if(Array.isArray(e.compliancePeriodRestrictions)){this.compliancePeriodRestrictions=[];var u,m=Object(s.a)(e.compliancePeriodRestrictions);try{for(m.s();!(u=m.n()).done;){var v=u.value;this.compliancePeriodRestrictions.push(ki.fromJS(v))}}catch(E){m.e(E)}finally{m.f()}}if(Array.isArray(e.compliancePeriodSubjectAreas)){this.compliancePeriodSubjectAreas=[];var f,p=Object(s.a)(e.compliancePeriodSubjectAreas);try{for(p.s();!(f=p.n()).done;){var h=f.value;this.compliancePeriodSubjectAreas.push(Pi.fromJS(h))}}catch(E){p.e(E)}finally{p.f()}}if(Array.isArray(e.compliancePeriodCourseHistory)){this.compliancePeriodCourseHistory=[];var y,b=Object(s.a)(e.compliancePeriodCourseHistory);try{for(b.s();!(y=b.n()).done;){var g=y.value;this.compliancePeriodCourseHistory.push(wi.fromJS(g))}}catch(E){b.e(E)}finally{b.f()}}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).userLicenseComplianceId=this.userLicenseComplianceId,e.licenseId=this.licenseId,e.periodFrom=this.periodFrom?this.periodFrom.toISOString():void 0,e.periodTo=this.periodTo?this.periodTo.toISOString():void 0,e.periodToDisplay=this.periodToDisplay?this.periodToDisplay.toISOString():void 0,e.periodLabel=this.periodLabel,e.periodNumber=this.periodNumber,e.periodTypeId=this.periodTypeId,e.complianceStatusId=this.complianceStatusId,e.isSubLicensePeriod=this.isSubLicensePeriod,e.isPriorPeriodDeficient=this.isPriorPeriodDeficient,Array.isArray(this.compliancePeriodTotals)){e.compliancePeriodTotals=[];var t,n=Object(s.a)(this.compliancePeriodTotals);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.compliancePeriodTotals.push(i.toJSON())}}catch(E){n.e(E)}finally{n.f()}}if(Array.isArray(this.compliancePeriodAdditionalRequirements)){e.compliancePeriodAdditionalRequirements=[];var a,r=Object(s.a)(this.compliancePeriodAdditionalRequirements);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.compliancePeriodAdditionalRequirements.push(o.toJSON())}}catch(E){r.e(E)}finally{r.f()}}if(Array.isArray(this.compliancePeriodChartNotes)){e.compliancePeriodChartNotes=[];var l,c=Object(s.a)(this.compliancePeriodChartNotes);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.compliancePeriodChartNotes.push(d.toJSON())}}catch(E){c.e(E)}finally{c.f()}}if(Array.isArray(this.compliancePeriodRestrictions)){e.compliancePeriodRestrictions=[];var u,m=Object(s.a)(this.compliancePeriodRestrictions);try{for(m.s();!(u=m.n()).done;){var v=u.value;e.compliancePeriodRestrictions.push(v.toJSON())}}catch(E){m.e(E)}finally{m.f()}}if(Array.isArray(this.compliancePeriodSubjectAreas)){e.compliancePeriodSubjectAreas=[];var f,p=Object(s.a)(this.compliancePeriodSubjectAreas);try{for(p.s();!(f=p.n()).done;){var h=f.value;e.compliancePeriodSubjectAreas.push(h.toJSON())}}catch(E){p.e(E)}finally{p.f()}}if(Array.isArray(this.compliancePeriodCourseHistory)){e.compliancePeriodCourseHistory=[];var y,b=Object(s.a)(this.compliancePeriodCourseHistory);try{for(b.s();!(y=b.n()).done;){var g=y.value;e.compliancePeriodCourseHistory.push(g.toJSON())}}catch(E){b.e(E)}finally{b.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Kp=function(){function e(t){if(Object(l.a)(this,e),this.providerId=void 0,this.name=void 0,this.isInHouse=void 0,this.isActive=void 0,this.code=void 0,this.url=void 0,this.isScheduleAllowed=void 0,this.isRegistrationAllowed=void 0,this.isCertificateAllowed=void 0,this.isReportingAllowed=void 0,this.courseCount=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.providerId=e.providerId,this.name=e.name,this.isInHouse=e.isInHouse,this.isActive=e.isActive,this.code=e.code,this.url=e.url,this.isScheduleAllowed=e.isScheduleAllowed,this.isRegistrationAllowed=e.isRegistrationAllowed,this.isCertificateAllowed=e.isCertificateAllowed,this.isReportingAllowed=e.isReportingAllowed,this.courseCount=e.courseCount)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).providerId=this.providerId,e.name=this.name,e.isInHouse=this.isInHouse,e.isActive=this.isActive,e.code=this.code,e.url=this.url,e.isScheduleAllowed=this.isScheduleAllowed,e.isRegistrationAllowed=this.isRegistrationAllowed,e.isCertificateAllowed=this.isCertificateAllowed,e.isReportingAllowed=this.isReportingAllowed,e.courseCount=this.courseCount,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),eh=function(){function e(t){if(Object(l.a)(this,e),this.providers=void 0,this.recordCount=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.providers)){this.providers=[];var t,n=Object(s.a)(e.providers);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.providers.push(Kp.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}this.recordCount=e.recordCount}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.providers)){e.providers=[];var t,n=Object(s.a)(this.providers);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.providers.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e.recordCount=this.recordCount,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),th=function(){function e(t){if(Object(l.a)(this,e),this.recalculateByTenant=void 0,this.sessionId=void 0,this.userId=void 0,this.licenseId=void 0,this.startDate=void 0,this.participantIds=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&(this.recalculateByTenant=e.recalculateByTenant,this.sessionId=e.sessionId,this.userId=e.userId,this.licenseId=e.licenseId,this.startDate=e.startDate?new Date(e.startDate.toString()):void 0,Array.isArray(e.participantIds))){this.participantIds=[];var t,n=Object(s.a)(e.participantIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.participantIds.push(i)}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).recalculateByTenant=this.recalculateByTenant,e.sessionId=this.sessionId,e.userId=this.userId,e.licenseId=this.licenseId,e.startDate=this.startDate?this.startDate.toISOString():void 0,Array.isArray(this.participantIds)){e.participantIds=[];var t,n=Object(s.a)(this.participantIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.participantIds.push(i)}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}();!function(e){e[e.AdministrativeAssistant=1]="AdministrativeAssistant",e[e.Supervisor=2]="Supervisor",e[e.Coach=3]="Coach",e[e.Mentor=4]="Mentor",e[e.MatrixManager=5]="MatrixManager",e[e.PracticeGroupLeader=6]="PracticeGroupLeader"}(Dp||(Dp={}));var nh,ih=function(){function e(t){if(Object(l.a)(this,e),this.reminderScheduleId=void 0,this.isActive=void 0,this.frequency=void 0,this.jobId=void 0,this.lastEmailSent=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.reminderScheduleId=e.reminderScheduleId,this.isActive=e.isActive,this.frequency=e.frequency,this.jobId=e.jobId,this.lastEmailSent=e.lastEmailSent?new Date(e.lastEmailSent.toString()):void 0)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).reminderScheduleId=this.reminderScheduleId,e.isActive=this.isActive,e.frequency=this.frequency,e.jobId=this.jobId,e.lastEmailSent=this.lastEmailSent?this.lastEmailSent.toISOString():void 0,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),ah=function(){function e(t){if(Object(l.a)(this,e),this.reminderScheduleId=void 0,this.isActive=void 0,this.minimumCredit=void 0,this.reminderPeriod=void 0,this.licenseIds=void 0,this.emailTemplateId=void 0,this.template=void 0,this.frequency=void 0,this.time=void 0,this.timezoneId=void 0,this.timezone=void 0,this.recurDayOfWeek=void 0,this.monthlyOption=void 0,this.monthlyDay=void 0,this.monthlyDayOfMonth=void 0,this.monthlyDayOfWeek=void 0,this.numberOfMonths=void 0,this.monthlyDayWithInterval=void 0,this.numberOfMonthsInterval=void 0,this.dayOfMonthWithInterval=void 0,this.dayOfWeekWithInterval=void 0,this.jobId=void 0,this.sendToAdmin=void 0,this.sendToAdminAssistant=void 0,this.sendSeparateCCCopy=void 0,this.recipients=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.reminderScheduleId=e.reminderScheduleId,this.isActive=e.isActive,this.minimumCredit=e.minimumCredit,this.reminderPeriod=e.reminderPeriod,this.licenseIds=e.licenseIds,this.emailTemplateId=e.emailTemplateId,this.template=e.template?ws.fromJS(e.template):void 0,this.frequency=e.frequency,this.time=e.time,this.timezoneId=e.timezoneId,this.timezone=e.timezone?Yg.fromJS(e.timezone):void 0,Array.isArray(e.recurDayOfWeek)){this.recurDayOfWeek=[];var t,n=Object(s.a)(e.recurDayOfWeek);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.recurDayOfWeek.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(this.monthlyOption=e.monthlyOption,Array.isArray(e.monthlyDay)){this.monthlyDay=[];var a,r=Object(s.a)(e.monthlyDay);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.monthlyDay.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(this.monthlyDayOfMonth=e.monthlyDayOfMonth,this.monthlyDayOfWeek=e.monthlyDayOfWeek,this.numberOfMonths=e.numberOfMonths,Array.isArray(e.monthlyDayWithInterval)){this.monthlyDayWithInterval=[];var l,c=Object(s.a)(e.monthlyDayWithInterval);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.monthlyDayWithInterval.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(this.numberOfMonthsInterval=e.numberOfMonthsInterval,this.dayOfMonthWithInterval=e.dayOfMonthWithInterval,this.dayOfWeekWithInterval=e.dayOfWeekWithInterval,this.jobId=e.jobId,this.sendToAdmin=e.sendToAdmin,this.sendToAdminAssistant=e.sendToAdminAssistant,this.sendSeparateCCCopy=e.sendSeparateCCCopy,Array.isArray(e.recipients)){this.recipients=[];var u,m=Object(s.a)(e.recipients);try{for(m.s();!(u=m.n()).done;){var v=u.value;this.recipients.push(Ss.fromJS(v))}}catch(f){m.e(f)}finally{m.f()}}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).reminderScheduleId=this.reminderScheduleId,e.isActive=this.isActive,e.minimumCredit=this.minimumCredit,e.reminderPeriod=this.reminderPeriod,e.licenseIds=this.licenseIds,e.emailTemplateId=this.emailTemplateId,e.template=this.template?this.template.toJSON():void 0,e.frequency=this.frequency,e.time=this.time,e.timezoneId=this.timezoneId,e.timezone=this.timezone?this.timezone.toJSON():void 0,Array.isArray(this.recurDayOfWeek)){e.recurDayOfWeek=[];var t,n=Object(s.a)(this.recurDayOfWeek);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.recurDayOfWeek.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(e.monthlyOption=this.monthlyOption,Array.isArray(this.monthlyDay)){e.monthlyDay=[];var a,r=Object(s.a)(this.monthlyDay);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.monthlyDay.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(e.monthlyDayOfMonth=this.monthlyDayOfMonth,e.monthlyDayOfWeek=this.monthlyDayOfWeek,e.numberOfMonths=this.numberOfMonths,Array.isArray(this.monthlyDayWithInterval)){e.monthlyDayWithInterval=[];var l,c=Object(s.a)(this.monthlyDayWithInterval);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.monthlyDayWithInterval.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(e.numberOfMonthsInterval=this.numberOfMonthsInterval,e.dayOfMonthWithInterval=this.dayOfMonthWithInterval,e.dayOfWeekWithInterval=this.dayOfWeekWithInterval,e.jobId=this.jobId,e.sendToAdmin=this.sendToAdmin,e.sendToAdminAssistant=this.sendToAdminAssistant,e.sendSeparateCCCopy=this.sendSeparateCCCopy,Array.isArray(this.recipients)){e.recipients=[];var u,m=Object(s.a)(this.recipients);try{for(m.s();!(u=m.n()).done;){var v=u.value;e.recipients.push(v.toJSON())}}catch(f){m.e(f)}finally{m.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),rh=function(){function e(t){if(Object(l.a)(this,e),this.userIdList=void 0,this.dueToReportScheduleId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.userIdList)){this.userIdList=[];var t,n=Object(s.a)(e.userIdList);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.userIdList.push(i)}}catch(a){n.e(a)}finally{n.f()}}this.dueToReportScheduleId=e.dueToReportScheduleId}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.userIdList)){e.userIdList=[];var t,n=Object(s.a)(this.userIdList);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.userIdList.push(i)}}catch(a){n.e(a)}finally{n.f()}}return e.dueToReportScheduleId=this.dueToReportScheduleId,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),oh=function(){function e(t){if(Object(l.a)(this,e),this.sessionIdList=void 0,this.courseId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.sessionIdList)){this.sessionIdList=[];var t,n=Object(s.a)(e.sessionIdList);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.sessionIdList.push(i)}}catch(a){n.e(a)}finally{n.f()}}this.courseId=e.courseId}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.sessionIdList)){e.sessionIdList=[];var t,n=Object(s.a)(this.sessionIdList);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.sessionIdList.push(i)}}catch(a){n.e(a)}finally{n.f()}}return e.courseId=this.courseId,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),sh=function(){function e(t){if(Object(l.a)(this,e),this.userIdList=void 0,this.reminderScheduleId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.userIdList)){this.userIdList=[];var t,n=Object(s.a)(e.userIdList);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.userIdList.push(i)}}catch(a){n.e(a)}finally{n.f()}}this.reminderScheduleId=e.reminderScheduleId}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.userIdList)){e.userIdList=[];var t,n=Object(s.a)(this.userIdList);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.userIdList.push(i)}}catch(a){n.e(a)}finally{n.f()}}return e.reminderScheduleId=this.reminderScheduleId,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),lh=function(){function e(t){if(Object(l.a)(this,e),this.userIdList=void 0,this.statementScheduleId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.userIdList)){this.userIdList=[];var t,n=Object(s.a)(e.userIdList);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.userIdList.push(i)}}catch(a){n.e(a)}finally{n.f()}}this.statementScheduleId=e.statementScheduleId}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.userIdList)){e.userIdList=[];var t,n=Object(s.a)(this.userIdList);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.userIdList.push(i)}}catch(a){n.e(a)}finally{n.f()}}return e.statementScheduleId=this.statementScheduleId,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),ch=function(){function e(t){if(Object(l.a)(this,e),this.sessionId=void 0,this.title=void 0,this.startDate=void 0,this.endDate=void 0,this.startTime=void 0,this.endTime=void 0,this.timezone=void 0,this.location=void 0,this.room=void 0,this.courseFormat=void 0,this.courseFormatPortalCategory=void 0,this.isPublished=void 0,this.sessionInstructors=void 0,this.courseTitle=void 0,this.cancelledDate=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.sessionId=e.sessionId,this.title=e.title,this.startDate=e.startDate?new Date(e.startDate.toString()):void 0,this.endDate=e.endDate?new Date(e.endDate.toString()):void 0,this.startTime=e.startTime,this.endTime=e.endTime,this.timezone=e.timezone,this.location=e.location,this.room=e.room,this.courseFormat=e.courseFormat,this.courseFormatPortalCategory=e.courseFormatPortalCategory,this.isPublished=e.isPublished,Array.isArray(e.sessionInstructors)){this.sessionInstructors=[];var t,n=Object(s.a)(e.sessionInstructors);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.sessionInstructors.push(i)}}catch(a){n.e(a)}finally{n.f()}}this.courseTitle=e.courseTitle,this.cancelledDate=e.cancelledDate?new Date(e.cancelledDate.toString()):void 0}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).sessionId=this.sessionId,e.title=this.title,e.startDate=this.startDate?this.startDate.toISOString():void 0,e.endDate=this.endDate?this.endDate.toISOString():void 0,e.startTime=this.startTime,e.endTime=this.endTime,e.timezone=this.timezone,e.location=this.location,e.room=this.room,e.courseFormat=this.courseFormat,e.courseFormatPortalCategory=this.courseFormatPortalCategory,e.isPublished=this.isPublished,Array.isArray(this.sessionInstructors)){e.sessionInstructors=[];var t,n=Object(s.a)(this.sessionInstructors);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.sessionInstructors.push(i)}}catch(a){n.e(a)}finally{n.f()}}return e.courseTitle=this.courseTitle,e.cancelledDate=this.cancelledDate?this.cancelledDate.toISOString():void 0,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),dh=function(){function e(t){if(Object(l.a)(this,e),this.resultList=void 0,this.count=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.resultList)){this.resultList=[];var t,n=Object(s.a)(e.resultList);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.resultList.push(ch.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}this.count=e.count}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.resultList)){e.resultList=[];var t,n=Object(s.a)(this.resultList);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.resultList.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e.count=this.count,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}();!function(e){e[e.SystemUsers=1]="SystemUsers",e[e.ComplianceReports=2]="ComplianceReports",e[e.CoursesAndActivities=3]="CoursesAndActivities",e[e.LearningPlans=4]="LearningPlans",e[e.ProviderReports=5]="ProviderReports",e[e.MaterialAndELearning=6]="MaterialAndELearning",e[e.CustomReports=7]="CustomReports"}(nh||(nh={}));var uh,mh=function(){function e(t){if(Object(l.a)(this,e),this.listId=void 0,this.userLicenseComplianceId=void 0,this.sessionParticipantId=void 0,this.sessionId=void 0,this.title=void 0,this.sessionTitle=void 0,this.provider=void 0,this.courseFormat=void 0,this.dateTaken=void 0,this.startDate=void 0,this.endDate=void 0,this.shouldDisplayDateRange=void 0,this.isInstructed=void 0,this.periodNumber=void 0,this.location=void 0,this.userLicenseCreditValues=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&(this.listId=e.listId,this.userLicenseComplianceId=e.userLicenseComplianceId,this.sessionParticipantId=e.sessionParticipantId,this.sessionId=e.sessionId,this.title=e.title,this.sessionTitle=e.sessionTitle,this.provider=e.provider,this.courseFormat=e.courseFormat,this.dateTaken=e.dateTaken?new Date(e.dateTaken.toString()):void 0,this.startDate=e.startDate?new Date(e.startDate.toString()):void 0,this.endDate=e.endDate?new Date(e.endDate.toString()):void 0,this.shouldDisplayDateRange=e.shouldDisplayDateRange,this.isInstructed=e.isInstructed,this.periodNumber=e.periodNumber,this.location=e.location,Array.isArray(e.userLicenseCreditValues))){this.userLicenseCreditValues=[];var t,n=Object(s.a)(e.userLicenseCreditValues);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.userLicenseCreditValues.push(xS.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).listId=this.listId,e.userLicenseComplianceId=this.userLicenseComplianceId,e.sessionParticipantId=this.sessionParticipantId,e.sessionId=this.sessionId,e.title=this.title,e.sessionTitle=this.sessionTitle,e.provider=this.provider,e.courseFormat=this.courseFormat,e.dateTaken=this.dateTaken?this.dateTaken.toISOString():void 0,e.startDate=this.startDate?this.startDate.toISOString():void 0,e.endDate=this.endDate?this.endDate.toISOString():void 0,e.shouldDisplayDateRange=this.shouldDisplayDateRange,e.isInstructed=this.isInstructed,e.periodNumber=this.periodNumber,e.location=this.location,Array.isArray(this.userLicenseCreditValues)){e.userLicenseCreditValues=[];var t,n=Object(s.a)(this.userLicenseCreditValues);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.userLicenseCreditValues.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),vh=function(){function e(t){if(Object(l.a)(this,e),this.userId=void 0,this.firstName=void 0,this.lastName=void 0,this.licenseDetails=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&(this.userId=e.userId,this.firstName=e.firstName,this.lastName=e.lastName,Array.isArray(e.licenseDetails))){this.licenseDetails=[];var t,n=Object(s.a)(e.licenseDetails);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.licenseDetails.push(ph.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).userId=this.userId,e.firstName=this.firstName,e.lastName=this.lastName,Array.isArray(this.licenseDetails)){e.licenseDetails=[];var t,n=Object(s.a)(this.licenseDetails);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.licenseDetails.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),fh=function(){function e(t){if(Object(l.a)(this,e),this.userLicenseComplianceId=void 0,this.creditId=void 0,this.required=void 0,this.earned=void 0,this.creditsNeeded=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.userLicenseComplianceId=e.userLicenseComplianceId,this.creditId=e.creditId,this.required=e.required,this.earned=e.earned,this.creditsNeeded=e.creditsNeeded)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).userLicenseComplianceId=this.userLicenseComplianceId,e.creditId=this.creditId,e.required=this.required,e.earned=this.earned,e.creditsNeeded=this.creditsNeeded,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),ph=function(){function e(t){if(Object(l.a)(this,e),this.licenseId=void 0,this.licenseName=void 0,this.admissionDate=void 0,this.barAdmissionNumber=void 0,this.periods=void 0,this.creditRequirements=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.licenseId=e.licenseId,this.licenseName=e.licenseName,this.admissionDate=e.admissionDate,this.barAdmissionNumber=e.barAdmissionNumber,Array.isArray(e.periods)){this.periods=[];var t,n=Object(s.a)(e.periods);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.periods.push(hh.fromJS(i))}}catch(l){n.e(l)}finally{n.f()}}if(Array.isArray(e.creditRequirements)){this.creditRequirements=[];var a,r=Object(s.a)(e.creditRequirements);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.creditRequirements.push(Ef.fromJS(o))}}catch(l){r.e(l)}finally{r.f()}}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).licenseId=this.licenseId,e.licenseName=this.licenseName,e.admissionDate=this.admissionDate,e.barAdmissionNumber=this.barAdmissionNumber,Array.isArray(this.periods)){e.periods=[];var t,n=Object(s.a)(this.periods);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.periods.push(i.toJSON())}}catch(l){n.e(l)}finally{n.f()}}if(Array.isArray(this.creditRequirements)){e.creditRequirements=[];var a,r=Object(s.a)(this.creditRequirements);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.creditRequirements.push(o.toJSON())}}catch(l){r.e(l)}finally{r.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),hh=function(){function e(t){if(Object(l.a)(this,e),this.userLicenseComplianceId=void 0,this.userId=void 0,this.licenseId=void 0,this.periodNumber=void 0,this.periodTypeId=void 0,this.periodFrom=void 0,this.periodTo=void 0,this.periodFromCourse=void 0,this.periodToDisplay=void 0,this.courseHistory=void 0,this.totals=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.userLicenseComplianceId=e.userLicenseComplianceId,this.userId=e.userId,this.licenseId=e.licenseId,this.periodNumber=e.periodNumber,this.periodTypeId=e.periodTypeId,this.periodFrom=e.periodFrom?new Date(e.periodFrom.toString()):void 0,this.periodTo=e.periodTo?new Date(e.periodTo.toString()):void 0,this.periodFromCourse=e.periodFromCourse?new Date(e.periodFromCourse.toString()):void 0,this.periodToDisplay=e.periodToDisplay?new Date(e.periodToDisplay.toString()):void 0,Array.isArray(e.courseHistory)){this.courseHistory=[];var t,n=Object(s.a)(e.courseHistory);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.courseHistory.push(mh.fromJS(i))}}catch(l){n.e(l)}finally{n.f()}}if(Array.isArray(e.totals)){this.totals=[];var a,r=Object(s.a)(e.totals);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.totals.push(fh.fromJS(o))}}catch(l){r.e(l)}finally{r.f()}}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).userLicenseComplianceId=this.userLicenseComplianceId,e.userId=this.userId,e.licenseId=this.licenseId,e.periodNumber=this.periodNumber,e.periodTypeId=this.periodTypeId,e.periodFrom=this.periodFrom?this.periodFrom.toISOString():void 0,e.periodTo=this.periodTo?this.periodTo.toISOString():void 0,e.periodFromCourse=this.periodFromCourse?this.periodFromCourse.toISOString():void 0,e.periodToDisplay=this.periodToDisplay?this.periodToDisplay.toISOString():void 0,Array.isArray(this.courseHistory)){e.courseHistory=[];var t,n=Object(s.a)(this.courseHistory);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.courseHistory.push(i.toJSON())}}catch(l){n.e(l)}finally{n.f()}}if(Array.isArray(this.totals)){e.totals=[];var a,r=Object(s.a)(this.totals);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.totals.push(o.toJSON())}}catch(l){r.e(l)}finally{r.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),yh=function(){function e(t){if(Object(l.a)(this,e),this.firmName=void 0,this.complianceAuditSummary=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&(this.firmName=e.firmName,Array.isArray(e.complianceAuditSummary))){this.complianceAuditSummary=[];var t,n=Object(s.a)(e.complianceAuditSummary);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.complianceAuditSummary.push(vh.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).firmName=this.firmName,Array.isArray(this.complianceAuditSummary)){e.complianceAuditSummary=[];var t,n=Object(s.a)(this.complianceAuditSummary);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.complianceAuditSummary.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),bh=function(){function e(t){if(Object(l.a)(this,e),this.userId=void 0,this.loginName=void 0,this.userStatus=void 0,this.location=void 0,this.complianceReports=void 0,this.courseHistory=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&(this.userId=e.userId,this.loginName=e.loginName,this.userStatus=e.userStatus,this.location=e.location,this.complianceReports=e.complianceReports?Qp.fromJS(e.complianceReports):void 0,Array.isArray(e.courseHistory))){this.courseHistory=[];var t,n=Object(s.a)(e.courseHistory);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.courseHistory.push(Zp.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).userId=this.userId,e.loginName=this.loginName,e.userStatus=this.userStatus,e.location=this.location,e.complianceReports=this.complianceReports?this.complianceReports.toJSON():void 0,Array.isArray(this.courseHistory)){e.courseHistory=[];var t,n=Object(s.a)(this.courseHistory);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.courseHistory.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),gh=function(){function e(t){if(Object(l.a)(this,e),this.reportComplianceList=void 0,this.totalRecords=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.reportComplianceList)){this.reportComplianceList=[];var t,n=Object(s.a)(e.reportComplianceList);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.reportComplianceList.push(bh.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}this.totalRecords=e.totalRecords}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.reportComplianceList)){e.reportComplianceList=[];var t,n=Object(s.a)(this.reportComplianceList);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.reportComplianceList.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e.totalRecords=this.totalRecords,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Eh=function(){function e(t){if(Object(l.a)(this,e),this.reportGuid=void 0,this.name=void 0,this.description=void 0,this.categoryId=void 0,this.categoryName=void 0,this.reportType=void 0,this.licenseId=void 0,this.isEnabled=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.reportGuid=e.reportGuid,this.name=e.name,this.description=e.description,this.categoryId=e.categoryId,this.categoryName=e.categoryName,this.reportType=e.reportType,this.licenseId=e.licenseId,this.isEnabled=e.isEnabled)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).reportGuid=this.reportGuid,e.name=this.name,e.description=this.description,e.categoryId=this.categoryId,e.categoryName=this.categoryName,e.reportType=this.reportType,e.licenseId=this.licenseId,e.isEnabled=this.isEnabled,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Ih=function(){function e(t){if(Object(l.a)(this,e),this.title=void 0,this.questions=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&(this.title=e.title,Array.isArray(e.questions))){this.questions=[];var t,n=Object(s.a)(e.questions);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.questions.push(Oh.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).title=this.title,Array.isArray(this.questions)){e.questions=[];var t,n=Object(s.a)(this.questions);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.questions.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Sh=function(){function e(t){if(Object(l.a)(this,e),this.evaluationSummary=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&Array.isArray(e.evaluationSummary)){this.evaluationSummary=[];var t,n=Object(s.a)(e.evaluationSummary);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.evaluationSummary.push(Ih.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.evaluationSummary)){e.evaluationSummary=[];var t,n=Object(s.a)(this.evaluationSummary);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.evaluationSummary.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Oh=function(){function e(t){if(Object(l.a)(this,e),this.sessionId=void 0,this.questionId=void 0,this.name=void 0,this.questionType=void 0,this.texts=void 0,this.responses=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.sessionId=e.sessionId,this.questionId=e.questionId,this.name=e.name,this.questionType=e.questionType,Array.isArray(e.texts)){this.texts=[];var t,n=Object(s.a)(e.texts);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.texts.push(i)}}catch(l){n.e(l)}finally{n.f()}}if(Array.isArray(e.responses)){this.responses=[];var a,r=Object(s.a)(e.responses);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.responses.push(Ch.fromJS(o))}}catch(l){r.e(l)}finally{r.f()}}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).sessionId=this.sessionId,e.questionId=this.questionId,e.name=this.name,e.questionType=this.questionType,Array.isArray(this.texts)){e.texts=[];var t,n=Object(s.a)(this.texts);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.texts.push(i)}}catch(l){n.e(l)}finally{n.f()}}if(Array.isArray(this.responses)){e.responses=[];var a,r=Object(s.a)(this.responses);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.responses.push(o.toJSON())}}catch(l){r.e(l)}finally{r.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Ch=function(){function e(t){if(Object(l.a)(this,e),this.answerId=void 0,this.questionId=void 0,this.text=void 0,this.count=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.answerId=e.answerId,this.questionId=e.questionId,this.text=e.text,this.count=e.count)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).answerId=this.answerId,e.questionId=this.questionId,e.text=this.text,e.count=this.count,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),jh=function(){function e(t){if(Object(l.a)(this,e),this.users=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&Array.isArray(e.users)){this.users=[];var t,n=Object(s.a)(e.users);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.users.push(xh.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.users)){e.users=[];var t,n=Object(s.a)(this.users);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.users.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),xh=function(){function e(t){if(Object(l.a)(this,e),this.userId=void 0,this.personnelId=void 0,this.clientId=void 0,this.status=void 0,this.type=void 0,this.lastName=void 0,this.firstName=void 0,this.middleName=void 0,this.preferredName=void 0,this.loginId=void 0,this.email=void 0,this.location=void 0,this.administrativeAssistant=void 0,this.supervisor=void 0,this.position=void 0,this.department=void 0,this.practiceArea=void 0,this.level=void 0,this.classYear=void 0,this.ethnicity=void 0,this.gender=void 0,this.creationDate=void 0,this.hireDate=void 0,this.terminationDate=void 0,this.inactivationDate=void 0,this.role=void 0,this.group=void 0,this.privateAdministratorNotes=void 0,this.clientAffiliation=void 0,this.title=void 0,this.street=void 0,this.city=void 0,this.state=void 0,this.zip=void 0,this.country=void 0,this.license=void 0,this.barAdmissionDate=void 0,this.barNumber=void 0,this.birthDate=void 0,this.graduationDate=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.userId=e.userId,this.personnelId=e.personnelId,this.clientId=e.clientId,this.status=e.status,this.type=e.type,this.lastName=e.lastName,this.firstName=e.firstName,this.middleName=e.middleName,this.preferredName=e.preferredName,this.loginId=e.loginId,this.email=e.email,this.location=e.location,this.administrativeAssistant=e.administrativeAssistant,this.supervisor=e.supervisor,this.position=e.position,this.department=e.department,this.practiceArea=e.practiceArea,this.level=e.level,this.classYear=e.classYear,this.ethnicity=e.ethnicity,this.gender=e.gender,this.creationDate=e.creationDate,this.hireDate=e.hireDate,this.terminationDate=e.terminationDate,this.inactivationDate=e.inactivationDate,this.role=e.role,this.group=e.group,this.privateAdministratorNotes=e.privateAdministratorNotes,this.clientAffiliation=e.clientAffiliation,this.title=e.title,this.street=e.street,this.city=e.city,this.state=e.state,this.zip=e.zip,this.country=e.country,this.license=e.license,this.barAdmissionDate=e.barAdmissionDate,this.barNumber=e.barNumber,this.birthDate=e.birthDate,this.graduationDate=e.graduationDate)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).userId=this.userId,e.personnelId=this.personnelId,e.clientId=this.clientId,e.status=this.status,e.type=this.type,e.lastName=this.lastName,e.firstName=this.firstName,e.middleName=this.middleName,e.preferredName=this.preferredName,e.loginId=this.loginId,e.email=this.email,e.location=this.location,e.administrativeAssistant=this.administrativeAssistant,e.supervisor=this.supervisor,e.position=this.position,e.department=this.department,e.practiceArea=this.practiceArea,e.level=this.level,e.classYear=this.classYear,e.ethnicity=this.ethnicity,e.gender=this.gender,e.creationDate=this.creationDate,e.hireDate=this.hireDate,e.terminationDate=this.terminationDate,e.inactivationDate=this.inactivationDate,e.role=this.role,e.group=this.group,e.privateAdministratorNotes=this.privateAdministratorNotes,e.clientAffiliation=this.clientAffiliation,e.title=this.title,e.street=this.street,e.city=this.city,e.state=this.state,e.zip=this.zip,e.country=this.country,e.license=this.license,e.barAdmissionDate=this.barAdmissionDate,e.barNumber=this.barNumber,e.birthDate=this.birthDate,e.graduationDate=this.graduationDate,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Ah=function(){function e(t){if(Object(l.a)(this,e),this.sessionId=void 0,this.scheduleId=void 0,this.courseId=void 0,this.title=void 0,this.sessionTypeId=void 0,this.startDate=void 0,this.endDate=void 0,this.startTime=void 0,this.endTime=void 0,this.timezone=void 0,this.location=void 0,this.room=void 0,this.courseFormat=void 0,this.courseFormatPortalCategory=void 0,this.isInHouse=void 0,this.isPublished=void 0,this.pcamId=void 0,this.sessionInstructors=void 0,this.courseTitle=void 0,this.cancelledDate=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.sessionId=e.sessionId,this.scheduleId=e.scheduleId,this.courseId=e.courseId,this.title=e.title,this.sessionTypeId=e.sessionTypeId,this.startDate=e.startDate?new Date(e.startDate.toString()):void 0,this.endDate=e.endDate?new Date(e.endDate.toString()):void 0,this.startTime=e.startTime,this.endTime=e.endTime,this.timezone=e.timezone,this.location=e.location,this.room=e.room,this.courseFormat=e.courseFormat,this.courseFormatPortalCategory=e.courseFormatPortalCategory,this.isInHouse=e.isInHouse,this.isPublished=e.isPublished,this.pcamId=e.pcamId,Array.isArray(e.sessionInstructors)){this.sessionInstructors=[];var t,n=Object(s.a)(e.sessionInstructors);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.sessionInstructors.push(i)}}catch(a){n.e(a)}finally{n.f()}}this.courseTitle=e.courseTitle,this.cancelledDate=e.cancelledDate?new Date(e.cancelledDate.toString()):void 0}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).sessionId=this.sessionId,e.scheduleId=this.scheduleId,e.courseId=this.courseId,e.title=this.title,e.sessionTypeId=this.sessionTypeId,e.startDate=this.startDate?this.startDate.toISOString():void 0,e.endDate=this.endDate?this.endDate.toISOString():void 0,e.startTime=this.startTime,e.endTime=this.endTime,e.timezone=this.timezone,e.location=this.location,e.room=this.room,e.courseFormat=this.courseFormat,e.courseFormatPortalCategory=this.courseFormatPortalCategory,e.isInHouse=this.isInHouse,e.isPublished=this.isPublished,e.pcamId=this.pcamId,Array.isArray(this.sessionInstructors)){e.sessionInstructors=[];var t,n=Object(s.a)(this.sessionInstructors);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.sessionInstructors.push(i)}}catch(a){n.e(a)}finally{n.f()}}return e.courseTitle=this.courseTitle,e.cancelledDate=this.cancelledDate?this.cancelledDate.toISOString():void 0,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Th=function(){function e(t){if(Object(l.a)(this,e),this.resultList=void 0,this.count=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.resultList)){this.resultList=[];var t,n=Object(s.a)(e.resultList);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.resultList.push(Ah.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}this.count=e.count}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.resultList)){e.resultList=[];var t,n=Object(s.a)(this.resultList);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.resultList.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e.count=this.count,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),wh=function(){function e(t){if(Object(l.a)(this,e),this.sessionParticipantId=void 0,this.recordType=void 0,this.pcamCourseId=void 0,this.attendanceDate=void 0,this.attendanceMethod=void 0,this.ardcNumber=void 0,this.firstName=void 0,this.lastName=void 0,this.hardshipIndicator=void 0,this.deleteIndicator=void 0,this.totalCreditHours=void 0,this.prMhsa=void 0,this.prDiv=void 0,this.prOther=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.sessionParticipantId=e.sessionParticipantId,this.recordType=e.recordType,this.pcamCourseId=e.pcamCourseId,this.attendanceDate=e.attendanceDate,this.attendanceMethod=e.attendanceMethod,this.ardcNumber=e.ardcNumber,this.firstName=e.firstName,this.lastName=e.lastName,this.hardshipIndicator=e.hardshipIndicator,this.deleteIndicator=e.deleteIndicator,this.totalCreditHours=e.totalCreditHours,this.prMhsa=e.prMhsa,this.prDiv=e.prDiv,this.prOther=e.prOther)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).sessionParticipantId=this.sessionParticipantId,e.recordType=this.recordType,e.pcamCourseId=this.pcamCourseId,e.attendanceDate=this.attendanceDate,e.attendanceMethod=this.attendanceMethod,e.ardcNumber=this.ardcNumber,e.firstName=this.firstName,e.lastName=this.lastName,e.hardshipIndicator=this.hardshipIndicator,e.deleteIndicator=this.deleteIndicator,e.totalCreditHours=this.totalCreditHours,e.prMhsa=this.prMhsa,e.prDiv=this.prDiv,e.prOther=this.prOther,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),kh=function(){function e(t){if(Object(l.a)(this,e),this.attendanceList=void 0,this.count=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.attendanceList)){this.attendanceList=[];var t,n=Object(s.a)(e.attendanceList);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.attendanceList.push(wh.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}this.count=e.count}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.attendanceList)){e.attendanceList=[];var t,n=Object(s.a)(this.attendanceList);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.attendanceList.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e.count=this.count,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Ph=function(){function e(t){if(Object(l.a)(this,e),this.sessionId=void 0,this.sessionTitle=void 0,this.courseTitle=void 0,this.courseNumber=void 0,this.rowData=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&(this.sessionId=e.sessionId,this.sessionTitle=e.sessionTitle,this.courseTitle=e.courseTitle,this.courseNumber=e.courseNumber,Array.isArray(e.rowData))){this.rowData=[];var t,n=Object(s.a)(e.rowData);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.rowData.push(Dh.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).sessionId=this.sessionId,e.sessionTitle=this.sessionTitle,e.courseTitle=this.courseTitle,e.courseNumber=this.courseNumber,Array.isArray(this.rowData)){e.rowData=[];var t,n=Object(s.a)(this.rowData);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.rowData.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Nh=function(){function e(t){if(Object(l.a)(this,e),this.courseList=void 0,this.count=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.courseList)){this.courseList=[];var t,n=Object(s.a)(e.courseList);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.courseList.push(Ph.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}this.count=e.count}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.courseList)){e.courseList=[];var t,n=Object(s.a)(this.courseList);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.courseList.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e.count=this.count,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Dh=function(){function e(t){if(Object(l.a)(this,e),this.rowNumber=void 0,this.pcamIdNumber=void 0,this.sessionTitle=void 0,this.sessionDescription=void 0,this.sessionId=void 0,this.isInHouse=void 0,this.isBasicSkills=void 0,this.cost=void 0,this.credits=void 0,this.valAllLic=void 0,this.methodTypeDesc=void 0,this.locationName=void 0,this.isInternational=void 0,this.stateAbbreviation=void 0,this.address=void 0,this.zip=void 0,this.city=void 0,this.countryName=void 0,this.startDate=void 0,this.endDate=void 0,this.licenseList=void 0,this.sessionUrl=void 0,this.evalMethod=void 0,this.distributedMaterials=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.rowNumber=e.rowNumber,this.pcamIdNumber=e.pcamIdNumber,this.sessionTitle=e.sessionTitle,this.sessionDescription=e.sessionDescription,this.sessionId=e.sessionId,this.isInHouse=e.isInHouse,this.isBasicSkills=e.isBasicSkills,this.cost=e.cost,this.credits=e.credits,this.valAllLic=e.valAllLic,this.methodTypeDesc=e.methodTypeDesc,this.locationName=e.locationName,this.isInternational=e.isInternational,this.stateAbbreviation=e.stateAbbreviation,this.address=e.address,this.zip=e.zip,this.city=e.city,this.countryName=e.countryName,this.startDate=e.startDate,this.endDate=e.endDate,this.licenseList=e.licenseList,this.sessionUrl=e.sessionUrl,this.evalMethod=e.evalMethod,this.distributedMaterials=e.distributedMaterials)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).rowNumber=this.rowNumber,e.pcamIdNumber=this.pcamIdNumber,e.sessionTitle=this.sessionTitle,e.sessionDescription=this.sessionDescription,e.sessionId=this.sessionId,e.isInHouse=this.isInHouse,e.isBasicSkills=this.isBasicSkills,e.cost=this.cost,e.credits=this.credits,e.valAllLic=this.valAllLic,e.methodTypeDesc=this.methodTypeDesc,e.locationName=this.locationName,e.isInternational=this.isInternational,e.stateAbbreviation=this.stateAbbreviation,e.address=this.address,e.zip=this.zip,e.city=this.city,e.countryName=this.countryName,e.startDate=this.startDate,e.endDate=this.endDate,e.licenseList=this.licenseList,e.sessionUrl=this.sessionUrl,e.evalMethod=this.evalMethod,e.distributedMaterials=this.distributedMaterials,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Lh=function(){function e(t){if(Object(l.a)(this,e),this.reports=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&Array.isArray(e.reports)){this.reports=[];var t,n=Object(s.a)(e.reports);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.reports.push(Eh.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.reports)){e.reports=[];var t,n=Object(s.a)(this.reports);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.reports.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Fh=function(){function e(t){if(Object(l.a)(this,e),this.sessionId=void 0,this.userId=void 0,this.providerName=void 0,this.title=void 0,this.completionDate=void 0,this.isInstructor=void 0,this.courseFormatId=void 0,this.earned=void 0,this.fCredits=void 0,this.pdCredits=void 0,this.sCredits=void 0,this.cCredits=void 0,this.tcCredits=void 0,this.iCredits=void 0,this.pCredits=void 0,this.eCredits=void 0,this.isNasbaApproved=void 0,this.isSelfStudyAdjusted=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.sessionId=e.sessionId,this.userId=e.userId,this.providerName=e.providerName,this.title=e.title,this.completionDate=e.completionDate,this.isInstructor=e.isInstructor,this.courseFormatId=e.courseFormatId,this.earned=e.earned,this.fCredits=e.fCredits,this.pdCredits=e.pdCredits,this.sCredits=e.sCredits,this.cCredits=e.cCredits,this.tcCredits=e.tcCredits,this.iCredits=e.iCredits,this.pCredits=e.pCredits,this.eCredits=e.eCredits,this.isNasbaApproved=e.isNasbaApproved,this.isSelfStudyAdjusted=e.isSelfStudyAdjusted)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).sessionId=this.sessionId,e.userId=this.userId,e.providerName=this.providerName,e.title=this.title,e.completionDate=this.completionDate,e.isInstructor=this.isInstructor,e.courseFormatId=this.courseFormatId,e.earned=this.earned,e.fCredits=this.fCredits,e.pdCredits=this.pdCredits,e.sCredits=this.sCredits,e.cCredits=this.cCredits,e.tcCredits=this.tcCredits,e.iCredits=this.iCredits,e.pCredits=this.pCredits,e.eCredits=this.eCredits,e.isNasbaApproved=this.isNasbaApproved,e.isSelfStudyAdjusted=this.isSelfStudyAdjusted,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Bh=function(){function e(t){if(Object(l.a)(this,e),this.name=void 0,this.address=void 0,this.email=void 0,this.firmName=void 0,this.phone=void 0,this.birthYear=void 0,this.yearOnePDCredits=void 0,this.yearTwoPDCredits=void 0,this.courseList=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&(this.name=e.name,this.address=e.address,this.email=e.email,this.firmName=e.firmName,this.phone=e.phone,this.birthYear=e.birthYear,this.yearOnePDCredits=e.yearOnePDCredits,this.yearTwoPDCredits=e.yearTwoPDCredits,Array.isArray(e.courseList))){this.courseList=[];var t,n=Object(s.a)(e.courseList);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.courseList.push(Fh.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).name=this.name,e.address=this.address,e.email=this.email,e.firmName=this.firmName,e.phone=this.phone,e.birthYear=this.birthYear,e.yearOnePDCredits=this.yearOnePDCredits,e.yearTwoPDCredits=this.yearTwoPDCredits,Array.isArray(this.courseList)){e.courseList=[];var t,n=Object(s.a)(this.courseList);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.courseList.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Rh=function(){function e(t){if(Object(l.a)(this,e),this.userReports=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&Array.isArray(e.userReports)){this.userReports=[];var t,n=Object(s.a)(e.userReports);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.userReports.push(Bh.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.userReports)){e.userReports=[];var t,n=Object(s.a)(this.userReports);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.userReports.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Jh=function(){function e(t){if(Object(l.a)(this,e),this.title=void 0,this.sessionTitle=void 0,this.isAppropriateForNewlyAdmittedAttorneys=void 0,this.hasEthicsCredits=void 0,this.hasDiversityCredits=void 0,this.hasCybersecurityEthicsCredits=void 0,this.hasCybersecurityGeneralCredits=void 0,this.sessionDate=void 0,this.countyName=void 0,this.averageFeeLiveFormat=void 0,this.averageFeeRecordedFormat=void 0,this.averageFeeOtherFormat=void 0,this.totalCreditHours=void 0,this.financialAidRequests=void 0,this.financialAidRequestsGranted=void 0,this.format1=void 0,this.format2=void 0,this.format3=void 0,this.format4=void 0,this.format5=void 0,this.format6=void 0,this.format=void 0,this.otherFormats=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.title=e.title,this.sessionTitle=e.sessionTitle,this.isAppropriateForNewlyAdmittedAttorneys=e.isAppropriateForNewlyAdmittedAttorneys,this.hasEthicsCredits=e.hasEthicsCredits,this.hasDiversityCredits=e.hasDiversityCredits,this.hasCybersecurityEthicsCredits=e.hasCybersecurityEthicsCredits,this.hasCybersecurityGeneralCredits=e.hasCybersecurityGeneralCredits,this.sessionDate=e.sessionDate?new Date(e.sessionDate.toString()):void 0,this.countyName=e.countyName,this.averageFeeLiveFormat=e.averageFeeLiveFormat,this.averageFeeRecordedFormat=e.averageFeeRecordedFormat,this.averageFeeOtherFormat=e.averageFeeOtherFormat,this.totalCreditHours=e.totalCreditHours,this.financialAidRequests=e.financialAidRequests,this.financialAidRequestsGranted=e.financialAidRequestsGranted,this.format1=e.format1,this.format2=e.format2,this.format3=e.format3,this.format4=e.format4,this.format5=e.format5,this.format6=e.format6,this.format=e.format,this.otherFormats=e.otherFormats)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).title=this.title,e.sessionTitle=this.sessionTitle,e.isAppropriateForNewlyAdmittedAttorneys=this.isAppropriateForNewlyAdmittedAttorneys,e.hasEthicsCredits=this.hasEthicsCredits,e.hasDiversityCredits=this.hasDiversityCredits,e.hasCybersecurityEthicsCredits=this.hasCybersecurityEthicsCredits,e.hasCybersecurityGeneralCredits=this.hasCybersecurityGeneralCredits,e.sessionDate=this.sessionDate?this.sessionDate.toISOString():void 0,e.countyName=this.countyName,e.averageFeeLiveFormat=this.averageFeeLiveFormat,e.averageFeeRecordedFormat=this.averageFeeRecordedFormat,e.averageFeeOtherFormat=this.averageFeeOtherFormat,e.totalCreditHours=this.totalCreditHours,e.financialAidRequests=this.financialAidRequests,e.financialAidRequestsGranted=this.financialAidRequestsGranted,e.format1=this.format1,e.format2=this.format2,e.format3=this.format3,e.format4=this.format4,e.format5=this.format5,e.format6=this.format6,e.format=this.format,e.otherFormats=this.otherFormats,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Gh=function(){function e(t){if(Object(l.a)(this,e),this.providerName=void 0,this.address=void 0,this.contactPerson=void 0,this.telephone=void 0,this.email=void 0,this.format1InsideNYCount=void 0,this.format1OutsideNYCount=void 0,this.format2Count=void 0,this.format3Count=void 0,this.format4Count=void 0,this.format5Count=void 0,this.format6Count=void 0,this.otherFormats=void 0,this.ethicsCount=void 0,this.diversityCount=void 0,this.cybersecurityEthicsCount=void 0,this.cybersecurityGeneralCount=void 0,this.financialAidRequestsCount=void 0,this.financialAidRequestsGrantedCount=void 0,this.activityTableRows=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&(this.providerName=e.providerName,this.address=e.address,this.contactPerson=e.contactPerson,this.telephone=e.telephone,this.email=e.email,this.format1InsideNYCount=e.format1InsideNYCount,this.format1OutsideNYCount=e.format1OutsideNYCount,this.format2Count=e.format2Count,this.format3Count=e.format3Count,this.format4Count=e.format4Count,this.format5Count=e.format5Count,this.format6Count=e.format6Count,this.otherFormats=e.otherFormats,this.ethicsCount=e.ethicsCount,this.diversityCount=e.diversityCount,this.cybersecurityEthicsCount=e.cybersecurityEthicsCount,this.cybersecurityGeneralCount=e.cybersecurityGeneralCount,this.financialAidRequestsCount=e.financialAidRequestsCount,this.financialAidRequestsGrantedCount=e.financialAidRequestsGrantedCount,Array.isArray(e.activityTableRows))){this.activityTableRows=[];var t,n=Object(s.a)(e.activityTableRows);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.activityTableRows.push(Jh.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).providerName=this.providerName,e.address=this.address,e.contactPerson=this.contactPerson,e.telephone=this.telephone,e.email=this.email,e.format1InsideNYCount=this.format1InsideNYCount,e.format1OutsideNYCount=this.format1OutsideNYCount,e.format2Count=this.format2Count,e.format3Count=this.format3Count,e.format4Count=this.format4Count,e.format5Count=this.format5Count,e.format6Count=this.format6Count,e.otherFormats=this.otherFormats,e.ethicsCount=this.ethicsCount,e.diversityCount=this.diversityCount,e.cybersecurityEthicsCount=this.cybersecurityEthicsCount,e.cybersecurityGeneralCount=this.cybersecurityGeneralCount,e.financialAidRequestsCount=this.financialAidRequestsCount,e.financialAidRequestsGrantedCount=this.financialAidRequestsGrantedCount,Array.isArray(this.activityTableRows)){e.activityTableRows=[];var t,n=Object(s.a)(this.activityTableRows);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.activityTableRows.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Uh=function(){function e(t){if(Object(l.a)(this,e),this.courseId=void 0,this.sessionId=void 0,this.title=void 0,this.deliveryMethod=void 0,this.cpeCredits=void 0,this.date=void 0,this.fosCreditList=void 0,this.location=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.courseId=e.courseId,this.sessionId=e.sessionId,this.title=e.title,this.deliveryMethod=e.deliveryMethod,this.cpeCredits=e.cpeCredits,this.date=e.date,Array.isArray(e.fosCreditList)){this.fosCreditList=[];var t,n=Object(s.a)(e.fosCreditList);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.fosCreditList.push(zh.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}this.location=e.location}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).courseId=this.courseId,e.sessionId=this.sessionId,e.title=this.title,e.deliveryMethod=this.deliveryMethod,e.cpeCredits=this.cpeCredits,e.date=this.date,Array.isArray(this.fosCreditList)){e.fosCreditList=[];var t,n=Object(s.a)(this.fosCreditList);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.fosCreditList.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e.location=this.location,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),zh=function(){function e(t){if(Object(l.a)(this,e),this.sessionId=void 0,this.creditName=void 0,this.creditValue=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.sessionId=e.sessionId,this.creditName=e.creditName,this.creditValue=e.creditValue)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).sessionId=this.sessionId,e.creditName=this.creditName,e.creditValue=this.creditValue,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),qh=function(){function e(t){if(Object(l.a)(this,e),this.programList=void 0,this.programCount=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.programList)){this.programList=[];var t,n=Object(s.a)(e.programList);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.programList.push(Uh.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}this.programCount=e.programCount}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.programList)){e.programList=[];var t,n=Object(s.a)(this.programList);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.programList.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e.programCount=this.programCount,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Mh=function(){function e(t){if(Object(l.a)(this,e),this.userReportSavedFilterId=void 0,this.reportName=void 0,this.name=void 0,this.filter=void 0,this.isDefault=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.userReportSavedFilterId=e.userReportSavedFilterId,this.reportName=e.reportName,this.name=e.name,this.filter=e.filter,this.isDefault=e.isDefault)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).userReportSavedFilterId=this.userReportSavedFilterId,e.reportName=this.reportName,e.name=this.name,e.filter=this.filter,e.isDefault=this.isDefault,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Wh=function(){function e(t){if(Object(l.a)(this,e),this.reportSavedFilters=void 0,this.recordCount=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.reportSavedFilters)){this.reportSavedFilters=[];var t,n=Object(s.a)(e.reportSavedFilters);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.reportSavedFilters.push(Mh.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}this.recordCount=e.recordCount}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.reportSavedFilters)){e.reportSavedFilters=[];var t,n=Object(s.a)(this.reportSavedFilters);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.reportSavedFilters.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e.recordCount=this.recordCount,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Vh=function(){function e(t){if(Object(l.a)(this,e),this.tenantId=void 0,this.tenantName=void 0,this.token=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.tenantId=e.tenantId,this.tenantName=e.tenantName,this.token=e.token)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).tenantId=this.tenantId,e.tenantName=this.tenantName,e.token=this.token,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}();!function(e){e[e.Izenda=1]="Izenda",e[e.Html=2]="Html"}(uh||(uh={}));var _h,Yh=function(){function e(t){if(Object(l.a)(this,e),this.emailId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.emailId=e.emailId)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).emailId=this.emailId,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Hh=function(){function e(t){if(Object(l.a)(this,e),this.securityUserList=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n]);t||(this.securityUserList=[])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&Array.isArray(e.securityUserList)){this.securityUserList=[];var t,n=Object(s.a)(e.securityUserList);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.securityUserList.push($y.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.securityUserList)){e.securityUserList=[];var t,n=Object(s.a)(this.securityUserList);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.securityUserList.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),$h=function(){function e(t){if(Object(l.a)(this,e),this.licenseId=void 0,this.creditId=void 0,this.creditName=void 0,this.retroactiveCredit=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.licenseId=e.licenseId,this.creditId=e.creditId,this.creditName=e.creditName,this.retroactiveCredit=e.retroactiveCredit)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).licenseId=this.licenseId,e.creditId=this.creditId,e.creditName=this.creditName,e.retroactiveCredit=this.retroactiveCredit,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Qh=function(){function e(t){if(Object(l.a)(this,e),this.roleId=void 0,this.apiClientId=void 0,this.name=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.roleId=e.roleId,this.apiClientId=e.apiClientId,this.name=e.name)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).roleId=this.roleId,e.apiClientId=this.apiClientId,e.name=this.name,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Zh=function(){function e(t){if(Object(l.a)(this,e),this.roleId=void 0,this.name=void 0,this.description=void 0,this.isActive=void 0,this.isDefault=void 0,this.isSystem=void 0,this.type=void 0,this.subRoleType=void 0,this.lastModifiedDate=void 0,this.createdDate=void 0,this.roleApiClients=void 0,this.rolePermissionSets=void 0,this.roleLicenseLimitations=void 0,this.userCount=void 0,this.isRoleSettingsEnabled=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.roleId=e.roleId,this.name=e.name,this.description=e.description,this.isActive=e.isActive,this.isDefault=e.isDefault,this.isSystem=e.isSystem,this.type=e.type,this.subRoleType=e.subRoleType,this.lastModifiedDate=e.lastModifiedDate?new Date(e.lastModifiedDate.toString()):void 0,this.createdDate=e.createdDate?new Date(e.createdDate.toString()):void 0,Array.isArray(e.roleApiClients)){this.roleApiClients=[];var t,n=Object(s.a)(e.roleApiClients);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.roleApiClients.push(Qh.fromJS(i))}}catch(u){n.e(u)}finally{n.f()}}if(Array.isArray(e.rolePermissionSets)){this.rolePermissionSets=[];var a,r=Object(s.a)(e.rolePermissionSets);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.rolePermissionSets.push(ey.fromJS(o))}}catch(u){r.e(u)}finally{r.f()}}if(Array.isArray(e.roleLicenseLimitations)){this.roleLicenseLimitations=[];var l,c=Object(s.a)(e.roleLicenseLimitations);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.roleLicenseLimitations.push(Xh.fromJS(d))}}catch(u){c.e(u)}finally{c.f()}}this.userCount=e.userCount,this.isRoleSettingsEnabled=e.isRoleSettingsEnabled}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).roleId=this.roleId,e.name=this.name,e.description=this.description,e.isActive=this.isActive,e.isDefault=this.isDefault,e.isSystem=this.isSystem,e.type=this.type,e.subRoleType=this.subRoleType,e.lastModifiedDate=this.lastModifiedDate?this.lastModifiedDate.toISOString():void 0,e.createdDate=this.createdDate?this.createdDate.toISOString():void 0,Array.isArray(this.roleApiClients)){e.roleApiClients=[];var t,n=Object(s.a)(this.roleApiClients);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.roleApiClients.push(i.toJSON())}}catch(u){n.e(u)}finally{n.f()}}if(Array.isArray(this.rolePermissionSets)){e.rolePermissionSets=[];var a,r=Object(s.a)(this.rolePermissionSets);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.rolePermissionSets.push(o.toJSON())}}catch(u){r.e(u)}finally{r.f()}}if(Array.isArray(this.roleLicenseLimitations)){e.roleLicenseLimitations=[];var l,c=Object(s.a)(this.roleLicenseLimitations);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.roleLicenseLimitations.push(d.toJSON())}}catch(u){c.e(u)}finally{c.f()}}return e.userCount=this.userCount,e.isRoleSettingsEnabled=this.isRoleSettingsEnabled,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Xh=function(){function e(t){if(Object(l.a)(this,e),this.roleId=void 0,this.licenseId=void 0,this.name=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.roleId=e.roleId,this.licenseId=e.licenseId,this.name=e.name)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).roleId=this.roleId,e.licenseId=this.licenseId,e.name=this.name,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Kh=function(){function e(t){if(Object(l.a)(this,e),this.roles=void 0,this.recordCount=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.roles)){this.roles=[];var t,n=Object(s.a)(e.roles);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.roles.push(Zh.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}this.recordCount=e.recordCount}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.roles)){e.roles=[];var t,n=Object(s.a)(this.roles);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.roles.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e.recordCount=this.recordCount,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),ey=function(){function e(t){if(Object(l.a)(this,e),this.permissionSetId=void 0,this.name=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.permissionSetId=e.permissionSetId,this.name=e.name)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).permissionSetId=this.permissionSetId,e.name=this.name,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}();!function(e){e[e.Administrator=1]="Administrator",e[e.Client=2]="Client",e[e.Employee=3]="Employee",e[e.GlobalWorkAdministrator=4]="GlobalWorkAdministrator",e[e.GlobalWorkManager=5]="GlobalWorkManager",e[e.GlobalWorkEmployee=6]="GlobalWorkEmployee",e[e.ApiClient=7]="ApiClient",e[e.LawCruitBizCruitAdministrator=8]="LawCruitBizCruitAdministrator",e[e.LawCruitBizCruitEmployee=9]="LawCruitBizCruitEmployee",e[e.LawCruitBizCruitInterviewer=10]="LawCruitBizCruitInterviewer",e[e.LawCruitBizCruitHiringManager=11]="LawCruitBizCruitHiringManager",e[e.LawCruitBizCruitSummerAssociate=12]="LawCruitBizCruitSummerAssociate"}(_h||(_h={}));var ty,ny=function(){function e(t){if(Object(l.a)(this,e),this.roleId=void 0,this.userId=void 0,this.canBeDeleted=void 0,this.firstName=void 0,this.middleName=void 0,this.lastName=void 0,this.email=void 0,this.avatar=void 0,this.isActive=void 0,this.userType=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.roleId=e.roleId,this.userId=e.userId,this.canBeDeleted=e.canBeDeleted,this.firstName=e.firstName,this.middleName=e.middleName,this.lastName=e.lastName,this.email=e.email,this.avatar=e.avatar,this.isActive=e.isActive,this.userType=e.userType)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).roleId=this.roleId,e.userId=this.userId,e.canBeDeleted=this.canBeDeleted,e.firstName=this.firstName,e.middleName=this.middleName,e.lastName=this.lastName,e.email=this.email,e.avatar=this.avatar,e.isActive=this.isActive,e.userType=this.userType,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),iy=function(){function e(t){if(Object(l.a)(this,e),this.userRoles=void 0,this.recordCount=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.userRoles)){this.userRoles=[];var t,n=Object(s.a)(e.userRoles);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.userRoles.push(ny.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}this.recordCount=e.recordCount}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.userRoles)){e.userRoles=[];var t,n=Object(s.a)(this.userRoles);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.userRoles.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e.recordCount=this.recordCount,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),ay=function(){function e(t){if(Object(l.a)(this,e),this.roomId=void 0,this.locationId=void 0,this.location=void 0,this.name=void 0,this.capacity=void 0,this.isActive=void 0,this.code=void 0,this.sessionCount=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.roomId=e.roomId,this.locationId=e.locationId,this.location=e.location,this.name=e.name,this.capacity=e.capacity,this.isActive=e.isActive,this.code=e.code,this.sessionCount=e.sessionCount)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).roomId=this.roomId,e.locationId=this.locationId,e.location=this.location,e.name=this.name,e.capacity=this.capacity,e.isActive=this.isActive,e.code=this.code,e.sessionCount=this.sessionCount,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),ry=function(){function e(t){if(Object(l.a)(this,e),this.rooms=void 0,this.recordCount=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.rooms)){this.rooms=[];var t,n=Object(s.a)(e.rooms);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.rooms.push(ay.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}this.recordCount=e.recordCount}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.rooms)){e.rooms=[];var t,n=Object(s.a)(this.rooms);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.rooms.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e.recordCount=this.recordCount,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),oy=function(){function e(t){if(Object(l.a)(this,e),this.rulesHistoryTimelineId=void 0,this.licenseId=void 0,this.licenseName=void 0,this.programmedDate=void 0,this.description=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.rulesHistoryTimelineId=e.rulesHistoryTimelineId,this.licenseId=e.licenseId,this.licenseName=e.licenseName,this.programmedDate=e.programmedDate?new Date(e.programmedDate.toString()):void 0,this.description=e.description)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).rulesHistoryTimelineId=this.rulesHistoryTimelineId,e.licenseId=this.licenseId,e.licenseName=this.licenseName,e.programmedDate=this.programmedDate?this.programmedDate.toISOString():void 0,e.description=this.description,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),sy=function(){function e(t){if(Object(l.a)(this,e),this.courseId=void 0,this.emailTemplateId=void 0,this.sendAsUserId=void 0,this.replyToUserId=void 0,this.emailAlias=void 0,this.subject=void 0,this.sendToAdmin=void 0,this.sendToAdminAssistant=void 0,this.includeMaterials=void 0,this.sendSeparateCCCopy=void 0,this.includeMatchedSessionsOnly=void 0,this.body=void 0,this.emailTypeId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.courseId=e.courseId,this.emailTemplateId=e.emailTemplateId,this.sendAsUserId=e.sendAsUserId,this.replyToUserId=e.replyToUserId,this.emailAlias=e.emailAlias,this.subject=e.subject,this.sendToAdmin=e.sendToAdmin,this.sendToAdminAssistant=e.sendToAdminAssistant,this.includeMaterials=e.includeMaterials,this.sendSeparateCCCopy=e.sendSeparateCCCopy,this.includeMatchedSessionsOnly=e.includeMatchedSessionsOnly,this.body=e.body,this.emailTypeId=e.emailTypeId)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).courseId=this.courseId,e.emailTemplateId=this.emailTemplateId,e.sendAsUserId=this.sendAsUserId,e.replyToUserId=this.replyToUserId,e.emailAlias=this.emailAlias,e.subject=this.subject,e.sendToAdmin=this.sendToAdmin,e.sendToAdminAssistant=this.sendToAdminAssistant,e.includeMaterials=this.includeMaterials,e.sendSeparateCCCopy=this.sendSeparateCCCopy,e.includeMatchedSessionsOnly=this.includeMatchedSessionsOnly,e.body=this.body,e.emailTypeId=this.emailTypeId,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),ly=function(){function e(t){if(Object(l.a)(this,e),this.courseId=void 0,this.emailTemplateId=void 0,this.sendAsUserId=void 0,this.replyToUserId=void 0,this.emailAlias=void 0,this.subject=void 0,this.sendToAdmin=void 0,this.sendToAdminAssistant=void 0,this.includeMaterials=void 0,this.sendSeparateCCCopy=void 0,this.includeMatchedSessionsOnly=void 0,this.body=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.courseId=e.courseId,this.emailTemplateId=e.emailTemplateId,this.sendAsUserId=e.sendAsUserId,this.replyToUserId=e.replyToUserId,this.emailAlias=e.emailAlias,this.subject=e.subject,this.sendToAdmin=e.sendToAdmin,this.sendToAdminAssistant=e.sendToAdminAssistant,this.includeMaterials=e.includeMaterials,this.sendSeparateCCCopy=e.sendSeparateCCCopy,this.includeMatchedSessionsOnly=e.includeMatchedSessionsOnly,this.body=e.body)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).courseId=this.courseId,e.emailTemplateId=this.emailTemplateId,e.sendAsUserId=this.sendAsUserId,e.replyToUserId=this.replyToUserId,e.emailAlias=this.emailAlias,e.subject=this.subject,e.sendToAdmin=this.sendToAdmin,e.sendToAdminAssistant=this.sendToAdminAssistant,e.includeMaterials=this.includeMaterials,e.sendSeparateCCCopy=this.sendSeparateCCCopy,e.includeMatchedSessionsOnly=this.includeMatchedSessionsOnly,e.body=this.body,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),cy=function(){function e(t){if(Object(l.a)(this,e),this.savedEmailTemplateId=void 0,this.key=void 0,this.emailTemplateId=void 0,this.sendAsUserId=void 0,this.replyToUserId=void 0,this.emailAlias=void 0,this.subject=void 0,this.sendToAdmin=void 0,this.sendToAdminAssistant=void 0,this.includeMaterials=void 0,this.includeMatchedSessionsOnly=void 0,this.includeLicensesHeldOnly=void 0,this.body=void 0,this.emailTemplate=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.savedEmailTemplateId=e.savedEmailTemplateId,this.key=e.key,this.emailTemplateId=e.emailTemplateId,this.sendAsUserId=e.sendAsUserId,this.replyToUserId=e.replyToUserId,this.emailAlias=e.emailAlias,this.subject=e.subject,this.sendToAdmin=e.sendToAdmin,this.sendToAdminAssistant=e.sendToAdminAssistant,this.includeMaterials=e.includeMaterials,this.includeMatchedSessionsOnly=e.includeMatchedSessionsOnly,this.includeLicensesHeldOnly=e.includeLicensesHeldOnly,this.body=e.body,this.emailTemplate=e.emailTemplate?Ts.fromJS(e.emailTemplate):void 0)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).savedEmailTemplateId=this.savedEmailTemplateId,e.key=this.key,e.emailTemplateId=this.emailTemplateId,e.sendAsUserId=this.sendAsUserId,e.replyToUserId=this.replyToUserId,e.emailAlias=this.emailAlias,e.subject=this.subject,e.sendToAdmin=this.sendToAdmin,e.sendToAdminAssistant=this.sendToAdminAssistant,e.includeMaterials=this.includeMaterials,e.includeMatchedSessionsOnly=this.includeMatchedSessionsOnly,e.includeLicensesHeldOnly=this.includeLicensesHeldOnly,e.body=this.body,e.emailTemplate=this.emailTemplate?this.emailTemplate.toJSON():void 0,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),dy=function(){function e(t){if(Object(l.a)(this,e),this.userId=void 0,this.userSavedFilterId=void 0,this.courseSavedFilterId=void 0,this.calendarSavedFilterId=void 0,this.activitySavedFilterId=void 0,this.complianceLicenseeSavedFilterId=void 0,this.learningPlanSavedFilterId=void 0,this.securityUserSavedFilterId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.userId=e.userId,this.userSavedFilterId=e.userSavedFilterId,this.courseSavedFilterId=e.courseSavedFilterId,this.calendarSavedFilterId=e.calendarSavedFilterId,this.activitySavedFilterId=e.activitySavedFilterId,this.complianceLicenseeSavedFilterId=e.complianceLicenseeSavedFilterId,this.learningPlanSavedFilterId=e.learningPlanSavedFilterId,this.securityUserSavedFilterId=e.securityUserSavedFilterId)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).userId=this.userId,e.userSavedFilterId=this.userSavedFilterId,e.courseSavedFilterId=this.courseSavedFilterId,e.calendarSavedFilterId=this.calendarSavedFilterId,e.activitySavedFilterId=this.activitySavedFilterId,e.complianceLicenseeSavedFilterId=this.complianceLicenseeSavedFilterId,e.learningPlanSavedFilterId=this.learningPlanSavedFilterId,e.securityUserSavedFilterId=this.securityUserSavedFilterId,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),uy=function(){function e(t){if(Object(l.a)(this,e),this.scheduleId=void 0,this.emailTemplateId=void 0,this.sendAsUserId=void 0,this.replyToUserId=void 0,this.emailAlias=void 0,this.subject=void 0,this.sendToAdmin=void 0,this.sendToAdminAssistant=void 0,this.includeMaterials=void 0,this.sendSeparateCCCopy=void 0,this.includeMatchedSessionsOnly=void 0,this.body=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.scheduleId=e.scheduleId,this.emailTemplateId=e.emailTemplateId,this.sendAsUserId=e.sendAsUserId,this.replyToUserId=e.replyToUserId,this.emailAlias=e.emailAlias,this.subject=e.subject,this.sendToAdmin=e.sendToAdmin,this.sendToAdminAssistant=e.sendToAdminAssistant,this.includeMaterials=e.includeMaterials,this.sendSeparateCCCopy=e.sendSeparateCCCopy,this.includeMatchedSessionsOnly=e.includeMatchedSessionsOnly,this.body=e.body)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).scheduleId=this.scheduleId,e.emailTemplateId=this.emailTemplateId,e.sendAsUserId=this.sendAsUserId,e.replyToUserId=this.replyToUserId,e.emailAlias=this.emailAlias,e.subject=this.subject,e.sendToAdmin=this.sendToAdmin,e.sendToAdminAssistant=this.sendToAdminAssistant,e.includeMaterials=this.includeMaterials,e.sendSeparateCCCopy=this.sendSeparateCCCopy,e.includeMatchedSessionsOnly=this.includeMatchedSessionsOnly,e.body=this.body,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),my=function(){function e(t){if(Object(l.a)(this,e),this.sessionId=void 0,this.emailTemplateId=void 0,this.sendAsUserId=void 0,this.replyToUserId=void 0,this.emailAlias=void 0,this.subject=void 0,this.sendToAdmin=void 0,this.sendToAdminAssistant=void 0,this.includeMaterials=void 0,this.sendSeparateCCCopy=void 0,this.includeMatchedSessionsOnly=void 0,this.body=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.sessionId=e.sessionId,this.emailTemplateId=e.emailTemplateId,this.sendAsUserId=e.sendAsUserId,this.replyToUserId=e.replyToUserId,this.emailAlias=e.emailAlias,this.subject=e.subject,this.sendToAdmin=e.sendToAdmin,this.sendToAdminAssistant=e.sendToAdminAssistant,this.includeMaterials=e.includeMaterials,this.sendSeparateCCCopy=e.sendSeparateCCCopy,this.includeMatchedSessionsOnly=e.includeMatchedSessionsOnly,this.body=e.body)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).sessionId=this.sessionId,e.emailTemplateId=this.emailTemplateId,e.sendAsUserId=this.sendAsUserId,e.replyToUserId=this.replyToUserId,e.emailAlias=this.emailAlias,e.subject=this.subject,e.sendToAdmin=this.sendToAdmin,e.sendToAdminAssistant=this.sendToAdminAssistant,e.includeMaterials=this.includeMaterials,e.sendSeparateCCCopy=this.sendSeparateCCCopy,e.includeMatchedSessionsOnly=this.includeMatchedSessionsOnly,e.body=this.body,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),vy=function(){function e(t){if(Object(l.a)(this,e),this.scheduleId=void 0,this.emailTemplateId=void 0,this.sendAsUserId=void 0,this.replyToUserId=void 0,this.emailAlias=void 0,this.subject=void 0,this.sendToAdmin=void 0,this.sendToAdminAssistant=void 0,this.includeMaterials=void 0,this.sendSeparateCCCopy=void 0,this.includeMatchedSessionsOnly=void 0,this.body=void 0,this.emailTypeId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.scheduleId=e.scheduleId,this.emailTemplateId=e.emailTemplateId,this.sendAsUserId=e.sendAsUserId,this.replyToUserId=e.replyToUserId,this.emailAlias=e.emailAlias,this.subject=e.subject,this.sendToAdmin=e.sendToAdmin,this.sendToAdminAssistant=e.sendToAdminAssistant,this.includeMaterials=e.includeMaterials,this.sendSeparateCCCopy=e.sendSeparateCCCopy,this.includeMatchedSessionsOnly=e.includeMatchedSessionsOnly,this.body=e.body,this.emailTypeId=e.emailTypeId)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).scheduleId=this.scheduleId,e.emailTemplateId=this.emailTemplateId,e.sendAsUserId=this.sendAsUserId,e.replyToUserId=this.replyToUserId,e.emailAlias=this.emailAlias,e.subject=this.subject,e.sendToAdmin=this.sendToAdmin,e.sendToAdminAssistant=this.sendToAdminAssistant,e.includeMaterials=this.includeMaterials,e.sendSeparateCCCopy=this.sendSeparateCCCopy,e.includeMatchedSessionsOnly=this.includeMatchedSessionsOnly,e.body=this.body,e.emailTypeId=this.emailTypeId,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),fy=function(){function e(t){if(Object(l.a)(this,e),this.sessionId=void 0,this.emailTemplateId=void 0,this.sendAsUserId=void 0,this.replyToUserId=void 0,this.emailAlias=void 0,this.subject=void 0,this.sendToAdmin=void 0,this.sendToAdminAssistant=void 0,this.includeMaterials=void 0,this.sendSeparateCCCopy=void 0,this.body=void 0,this.emailTypeId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.sessionId=e.sessionId,this.emailTemplateId=e.emailTemplateId,this.sendAsUserId=e.sendAsUserId,this.replyToUserId=e.replyToUserId,this.emailAlias=e.emailAlias,this.subject=e.subject,this.sendToAdmin=e.sendToAdmin,this.sendToAdminAssistant=e.sendToAdminAssistant,this.includeMaterials=e.includeMaterials,this.sendSeparateCCCopy=e.sendSeparateCCCopy,this.body=e.body,this.emailTypeId=e.emailTypeId)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).sessionId=this.sessionId,e.emailTemplateId=this.emailTemplateId,e.sendAsUserId=this.sendAsUserId,e.replyToUserId=this.replyToUserId,e.emailAlias=this.emailAlias,e.subject=this.subject,e.sendToAdmin=this.sendToAdmin,e.sendToAdminAssistant=this.sendToAdminAssistant,e.includeMaterials=this.includeMaterials,e.sendSeparateCCCopy=this.sendSeparateCCCopy,e.body=this.body,e.emailTypeId=this.emailTypeId,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),py=function(){function e(t){if(Object(l.a)(this,e),this.sessionEvaluationId=void 0,this.answers=void 0,this.isSubmit=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.sessionEvaluationId=e.sessionEvaluationId,Array.isArray(e.answers)){this.answers=[];var t,n=Object(s.a)(e.answers);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.answers.push(Eb.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}this.isSubmit=e.isSubmit}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).sessionEvaluationId=this.sessionEvaluationId,Array.isArray(this.answers)){e.answers=[];var t,n=Object(s.a)(this.answers);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.answers.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e.isSubmit=this.isSubmit,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),hy=function(){function e(t){if(Object(l.a)(this,e),this.sessionEvaluationStatisticId=void 0,this.sessionId=void 0,this.questionId=void 0,this.instructorId=void 0,this.responses=void 0,this.comments=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.sessionEvaluationStatisticId=e.sessionEvaluationStatisticId,this.sessionId=e.sessionId,this.questionId=e.questionId,this.instructorId=e.instructorId,this.responses=e.responses,this.comments=e.comments)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).sessionEvaluationStatisticId=this.sessionEvaluationStatisticId,e.sessionId=this.sessionId,e.questionId=this.questionId,e.instructorId=this.instructorId,e.responses=this.responses,e.comments=this.comments,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),yy=function(){function e(t){if(Object(l.a)(this,e),this.scheduleEmailSettingId=void 0,this.scheduleId=void 0,this.emailTypeId=void 0,this.scheduleOption=void 0,this.emailTemplateId=void 0,this.subject=void 0,this.replyToUserId=void 0,this.senderId=void 0,this.emailAlias=void 0,this.body=void 0,this.sendToAdminAssistant=void 0,this.sendSeparateCCCopy=void 0,this.includeMaterials=void 0,this.includeMatchedSessionsOnly=void 0,this.additionalLocations=void 0,this.lastSent=void 0,this.scheduleEmailSettingRecurrenceId=void 0,this.sessionIdList=void 0,this.schedules=void 0,this.recurrence=void 0,this.recipients=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.scheduleEmailSettingId=e.scheduleEmailSettingId,this.scheduleId=e.scheduleId,this.emailTypeId=e.emailTypeId,this.scheduleOption=e.scheduleOption,this.emailTemplateId=e.emailTemplateId,this.subject=e.subject,this.replyToUserId=e.replyToUserId,this.senderId=e.senderId,this.emailAlias=e.emailAlias,this.body=e.body,this.sendToAdminAssistant=e.sendToAdminAssistant,this.sendSeparateCCCopy=e.sendSeparateCCCopy,this.includeMaterials=e.includeMaterials,this.includeMatchedSessionsOnly=e.includeMatchedSessionsOnly,this.additionalLocations=e.additionalLocations,this.lastSent=e.lastSent?new Date(e.lastSent.toString()):void 0,this.scheduleEmailSettingRecurrenceId=e.scheduleEmailSettingRecurrenceId,this.sessionIdList=e.sessionIdList,Array.isArray(e.schedules)){this.schedules=[];var t,n=Object(s.a)(e.schedules);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.schedules.push(Ey.fromJS(i))}}catch(l){n.e(l)}finally{n.f()}}if(this.recurrence=e.recurrence?gy.fromJS(e.recurrence):void 0,Array.isArray(e.recipients)){this.recipients=[];var a,r=Object(s.a)(e.recipients);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.recipients.push(Ss.fromJS(o))}}catch(l){r.e(l)}finally{r.f()}}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).scheduleEmailSettingId=this.scheduleEmailSettingId,e.scheduleId=this.scheduleId,e.emailTypeId=this.emailTypeId,e.scheduleOption=this.scheduleOption,e.emailTemplateId=this.emailTemplateId,e.subject=this.subject,e.replyToUserId=this.replyToUserId,e.senderId=this.senderId,e.emailAlias=this.emailAlias,e.body=this.body,e.sendToAdminAssistant=this.sendToAdminAssistant,e.sendSeparateCCCopy=this.sendSeparateCCCopy,e.includeMaterials=this.includeMaterials,e.includeMatchedSessionsOnly=this.includeMatchedSessionsOnly,e.additionalLocations=this.additionalLocations,e.lastSent=this.lastSent?this.lastSent.toISOString():void 0,e.scheduleEmailSettingRecurrenceId=this.scheduleEmailSettingRecurrenceId,e.sessionIdList=this.sessionIdList,Array.isArray(this.schedules)){e.schedules=[];var t,n=Object(s.a)(this.schedules);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.schedules.push(i.toJSON())}}catch(l){n.e(l)}finally{n.f()}}if(e.recurrence=this.recurrence?this.recurrence.toJSON():void 0,Array.isArray(this.recipients)){e.recipients=[];var a,r=Object(s.a)(this.recipients);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.recipients.push(o.toJSON())}}catch(l){r.e(l)}finally{r.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),by=function(){function e(t){if(Object(l.a)(this,e),this.settings=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&Array.isArray(e.settings)){this.settings=[];var t,n=Object(s.a)(e.settings);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.settings.push(yy.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.settings)){e.settings=[];var t,n=Object(s.a)(this.settings);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.settings.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),gy=function(){function e(t){if(Object(l.a)(this,e),this.sessionEmailSettingRecurrenceId=void 0,this.scheduleEmailSettingId=void 0,this.frequency=void 0,this.startDate=void 0,this.endDate=void 0,this.time=void 0,this.timezoneId=void 0,this.timezoneCode=void 0,this.recurDayOfWeek=void 0,this.recurDay=void 0,this.monthlyOption=void 0,this.monthlyDay=void 0,this.monthlyDayOfMonth=void 0,this.monthlyDayOfWeek=void 0,this.jobId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.sessionEmailSettingRecurrenceId=e.sessionEmailSettingRecurrenceId,this.scheduleEmailSettingId=e.scheduleEmailSettingId,this.frequency=e.frequency,this.startDate=e.startDate?new Date(e.startDate.toString()):void 0,this.endDate=e.endDate?new Date(e.endDate.toString()):void 0,this.time=e.time,this.timezoneId=e.timezoneId,this.timezoneCode=e.timezoneCode,this.recurDayOfWeek=e.recurDayOfWeek,this.recurDay=e.recurDay,this.monthlyOption=e.monthlyOption,this.monthlyDay=e.monthlyDay,this.monthlyDayOfMonth=e.monthlyDayOfMonth,this.monthlyDayOfWeek=e.monthlyDayOfWeek,this.jobId=e.jobId)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).sessionEmailSettingRecurrenceId=this.sessionEmailSettingRecurrenceId,e.scheduleEmailSettingId=this.scheduleEmailSettingId,e.frequency=this.frequency,e.startDate=this.startDate?this.startDate.toISOString():void 0,e.endDate=this.endDate?this.endDate.toISOString():void 0,e.time=this.time,e.timezoneId=this.timezoneId,e.timezoneCode=this.timezoneCode,e.recurDayOfWeek=this.recurDayOfWeek,e.recurDay=this.recurDay,e.monthlyOption=this.monthlyOption,e.monthlyDay=this.monthlyDay,e.monthlyDayOfMonth=this.monthlyDayOfMonth,e.monthlyDayOfWeek=this.monthlyDayOfWeek,e.jobId=this.jobId,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Ey=function(){function e(t){if(Object(l.a)(this,e),this.scheduleEmailSettingScheduleId=void 0,this.scheduleEmailSettingId=void 0,this.processDate=void 0,this.processTime=void 0,this.timezoneId=void 0,this.timezoneCode=void 0,this.jobId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.scheduleEmailSettingScheduleId=e.scheduleEmailSettingScheduleId,this.scheduleEmailSettingId=e.scheduleEmailSettingId,this.processDate=e.processDate?new Date(e.processDate.toString()):void 0,this.processTime=e.processTime,this.timezoneId=e.timezoneId,this.timezoneCode=e.timezoneCode,this.jobId=e.jobId)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).scheduleEmailSettingScheduleId=this.scheduleEmailSettingScheduleId,e.scheduleEmailSettingId=this.scheduleEmailSettingId,e.processDate=this.processDate?this.processDate.toISOString():void 0,e.processTime=this.processTime,e.timezoneId=this.timezoneId,e.timezoneCode=this.timezoneCode,e.jobId=this.jobId,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Iy=function(){function e(t){if(Object(l.a)(this,e),this.evaluation=void 0,this.statistics=void 0,this.sessionIds=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.evaluation=e.evaluation?Ms.fromJS(e.evaluation):void 0,Array.isArray(e.statistics)){this.statistics=[];var t,n=Object(s.a)(e.statistics);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.statistics.push(Ri.fromJS(i))}}catch(l){n.e(l)}finally{n.f()}}if(Array.isArray(e.sessionIds)){this.sessionIds=[];var a,r=Object(s.a)(e.sessionIds);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.sessionIds.push(o)}}catch(l){r.e(l)}finally{r.f()}}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).evaluation=this.evaluation?this.evaluation.toJSON():void 0,Array.isArray(this.statistics)){e.statistics=[];var t,n=Object(s.a)(this.statistics);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.statistics.push(i.toJSON())}}catch(l){n.e(l)}finally{n.f()}}if(Array.isArray(this.sessionIds)){e.sessionIds=[];var a,r=Object(s.a)(this.sessionIds);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.sessionIds.push(o)}}catch(l){r.e(l)}finally{r.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Sy=function(){function e(t){if(Object(l.a)(this,e),this.sessionParticipantId=void 0,this.userId=void 0,this.firstName=void 0,this.lastName=void 0,this.middleName=void 0,this.avatar=void 0,this.email=void 0,this.isInstructor=void 0,this.validatedDate=void 0,this.requestDate=void 0,this.requestedBy=void 0,this.evaluationDate=void 0,this.declinedDate=void 0,this.userTypeId=void 0,this.userType=void 0,this.location=void 0,this.sessionId=void 0,this.emails=void 0,this.session=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.sessionParticipantId=e.sessionParticipantId,this.userId=e.userId,this.firstName=e.firstName,this.lastName=e.lastName,this.middleName=e.middleName,this.avatar=e.avatar,this.email=e.email,this.isInstructor=e.isInstructor,this.validatedDate=e.validatedDate?new Date(e.validatedDate.toString()):void 0,this.requestDate=e.requestDate?new Date(e.requestDate.toString()):void 0,this.requestedBy=e.requestedBy,this.evaluationDate=e.evaluationDate?new Date(e.evaluationDate.toString()):void 0,this.declinedDate=e.declinedDate?new Date(e.declinedDate.toString()):void 0,this.userTypeId=e.userTypeId,this.userType=e.userType,this.location=e.location,this.sessionId=e.sessionId,Array.isArray(e.emails)){this.emails=[];var t,n=Object(s.a)(e.emails);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.emails.push(jb.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}this.session=e.session?jy.fromJS(e.session):void 0}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).sessionParticipantId=this.sessionParticipantId,e.userId=this.userId,e.firstName=this.firstName,e.lastName=this.lastName,e.middleName=this.middleName,e.avatar=this.avatar,e.email=this.email,e.isInstructor=this.isInstructor,e.validatedDate=this.validatedDate?this.validatedDate.toISOString():void 0,e.requestDate=this.requestDate?this.requestDate.toISOString():void 0,e.requestedBy=this.requestedBy,e.evaluationDate=this.evaluationDate?this.evaluationDate.toISOString():void 0,e.declinedDate=this.declinedDate?this.declinedDate.toISOString():void 0,e.userTypeId=this.userTypeId,e.userType=this.userType,e.location=this.location,e.sessionId=this.sessionId,Array.isArray(this.emails)){e.emails=[];var t,n=Object(s.a)(this.emails);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.emails.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e.session=this.session?this.session.toJSON():void 0,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Oy=function(){function e(t){if(Object(l.a)(this,e),this.participants=void 0,this.recordCount=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.participants)){this.participants=[];var t,n=Object(s.a)(e.participants);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.participants.push(Sy.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}this.recordCount=e.recordCount}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.participants)){e.participants=[];var t,n=Object(s.a)(this.participants);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.participants.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e.recordCount=this.recordCount,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Cy=function(){function e(t){if(Object(l.a)(this,e),this.sessionIds=void 0,this.evaluationId=void 0,this.printType=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.sessionIds)){this.sessionIds=[];var t,n=Object(s.a)(e.sessionIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.sessionIds.push(i)}}catch(a){n.e(a)}finally{n.f()}}this.evaluationId=e.evaluationId,this.printType=e.printType}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.sessionIds)){e.sessionIds=[];var t,n=Object(s.a)(this.sessionIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.sessionIds.push(i)}}catch(a){n.e(a)}finally{n.f()}}return e.evaluationId=this.evaluationId,e.printType=this.printType,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),jy=function(){function e(t){if(Object(l.a)(this,e),this.sessionId=void 0,this.startDate=void 0,this.endDate=void 0,this.startTime=void 0,this.endTime=void 0,this.courseFormat=void 0,this.location=void 0,this.room=void 0,this.timezone=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.sessionId=e.sessionId,this.startDate=e.startDate?new Date(e.startDate.toString()):void 0,this.endDate=e.endDate?new Date(e.endDate.toString()):void 0,this.startTime=e.startTime,this.endTime=e.endTime,this.courseFormat=e.courseFormat,this.location=e.location,this.room=e.room,this.timezone=e.timezone)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).sessionId=this.sessionId,e.startDate=this.startDate?this.startDate.toISOString():void 0,e.endDate=this.endDate?this.endDate.toISOString():void 0,e.startTime=this.startTime,e.endTime=this.endTime,e.courseFormat=this.courseFormat,e.location=this.location,e.room=this.room,e.timezone=this.timezone,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),xy=function(){function e(t){if(Object(l.a)(this,e),this.userId=void 0,this.firstName=void 0,this.lastName=void 0,this.middleName=void 0,this.avatar=void 0,this.email=void 0,this.location=void 0,this.userTypeId=void 0,this.userType=void 0,this.registeredDate=void 0,this.declinedDate=void 0,this.lastInviteDate=void 0,this.sessionInviteIds=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&(this.userId=e.userId,this.firstName=e.firstName,this.lastName=e.lastName,this.middleName=e.middleName,this.avatar=e.avatar,this.email=e.email,this.location=e.location,this.userTypeId=e.userTypeId,this.userType=e.userType,this.registeredDate=e.registeredDate?new Date(e.registeredDate.toString()):void 0,this.declinedDate=e.declinedDate?new Date(e.declinedDate.toString()):void 0,this.lastInviteDate=e.lastInviteDate?new Date(e.lastInviteDate.toString()):void 0,Array.isArray(e.sessionInviteIds))){this.sessionInviteIds=[];var t,n=Object(s.a)(e.sessionInviteIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.sessionInviteIds.push(i)}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).userId=this.userId,e.firstName=this.firstName,e.lastName=this.lastName,e.middleName=this.middleName,e.avatar=this.avatar,e.email=this.email,e.location=this.location,e.userTypeId=this.userTypeId,e.userType=this.userType,e.registeredDate=this.registeredDate?this.registeredDate.toISOString():void 0,e.declinedDate=this.declinedDate?this.declinedDate.toISOString():void 0,e.lastInviteDate=this.lastInviteDate?this.lastInviteDate.toISOString():void 0,Array.isArray(this.sessionInviteIds)){e.sessionInviteIds=[];var t,n=Object(s.a)(this.sessionInviteIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.sessionInviteIds.push(i)}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Ay=function(){function e(t){if(Object(l.a)(this,e),this.records=void 0,this.recordCount=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.records)){this.records=[];var t,n=Object(s.a)(e.records);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.records.push(xy.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}this.recordCount=e.recordCount}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.records)){e.records=[];var t,n=Object(s.a)(this.records);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.records.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e.recordCount=this.recordCount,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Ty=function(){function e(t){if(Object(l.a)(this,e),this.scheduleId=void 0,this.courseId=void 0,this.guid=void 0,this.userId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.scheduleId=e.scheduleId,this.courseId=e.courseId,this.guid=e.guid,this.userId=e.userId)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).scheduleId=this.scheduleId,e.courseId=this.courseId,e.guid=this.guid,e.userId=this.userId,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),wy=function(){function e(t){if(Object(l.a)(this,e),this.userId=void 0,this.forDisplayOnly=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.userId=e.userId,this.forDisplayOnly=e.forDisplayOnly)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).userId=this.userId,e.forDisplayOnly=this.forDisplayOnly,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),ky=function(){function e(t){if(Object(l.a)(this,e),this.evaluationId=void 0,this.evaluationName=void 0,this.sessions=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&(this.evaluationId=e.evaluationId,this.evaluationName=e.evaluationName,Array.isArray(e.sessions))){this.sessions=[];var t,n=Object(s.a)(e.sessions);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.sessions.push(Py.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).evaluationId=this.evaluationId,e.evaluationName=this.evaluationName,Array.isArray(this.sessions)){e.sessions=[];var t,n=Object(s.a)(this.sessions);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.sessions.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Py=function(){function e(t){if(Object(l.a)(this,e),this.sessionId=void 0,this.scheduleId=void 0,this.courseFormatId=void 0,this.courseFormat=void 0,this.startDate=void 0,this.endDate=void 0,this.startTime=void 0,this.endTime=void 0,this.timezoneId=void 0,this.timeZone=void 0,this.locationId=void 0,this.location=void 0,this.roomId=void 0,this.room=void 0,this.evaluationId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.sessionId=e.sessionId,this.scheduleId=e.scheduleId,this.courseFormatId=e.courseFormatId,this.courseFormat=e.courseFormat,this.startDate=e.startDate?new Date(e.startDate.toString()):void 0,this.endDate=e.endDate?new Date(e.endDate.toString()):void 0,this.startTime=e.startTime,this.endTime=e.endTime,this.timezoneId=e.timezoneId,this.timeZone=e.timeZone,this.locationId=e.locationId,this.location=e.location,this.roomId=e.roomId,this.room=e.room,this.evaluationId=e.evaluationId)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).sessionId=this.sessionId,e.scheduleId=this.scheduleId,e.courseFormatId=this.courseFormatId,e.courseFormat=this.courseFormat,e.startDate=this.startDate?this.startDate.toISOString():void 0,e.endDate=this.endDate?this.endDate.toISOString():void 0,e.startTime=this.startTime,e.endTime=this.endTime,e.timezoneId=this.timezoneId,e.timeZone=this.timeZone,e.locationId=this.locationId,e.location=this.location,e.roomId=this.roomId,e.room=this.room,e.evaluationId=this.evaluationId,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Ny=function(){function e(t){if(Object(l.a)(this,e),this.sessionId=void 0,this.sessionTypeId=void 0,this.title=void 0,this.courseTitle=void 0,this.startDate=void 0,this.endDate=void 0,this.startTime=void 0,this.endTime=void 0,this.timezone=void 0,this.location=void 0,this.room=void 0,this.courseFormat=void 0,this.courseFormatPortalCategory=void 0,this.isPublished=void 0,this.evaluationId=void 0,this.registeredParticipantCount=void 0,this.tentativeParticipantCount=void 0,this.validatedParticipantCount=void 0,this.pendingParticipantCount=void 0,this.inProgressParticipantCount=void 0,this.disqualifiedParticipantCount=void 0,this.failedParticipantCount=void 0,this.isOnlineLearning=void 0,this.mediaTypeId=void 0,this.sessionLicenses=void 0,this.sessionInstructors=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.sessionId=e.sessionId,this.sessionTypeId=e.sessionTypeId,this.title=e.title,this.courseTitle=e.courseTitle,this.startDate=e.startDate?new Date(e.startDate.toString()):void 0,this.endDate=e.endDate?new Date(e.endDate.toString()):void 0,this.startTime=e.startTime,this.endTime=e.endTime,this.timezone=e.timezone,this.location=e.location,this.room=e.room,this.courseFormat=e.courseFormat,this.courseFormatPortalCategory=e.courseFormatPortalCategory,this.isPublished=e.isPublished,this.evaluationId=e.evaluationId,this.registeredParticipantCount=e.registeredParticipantCount,this.tentativeParticipantCount=e.tentativeParticipantCount,this.validatedParticipantCount=e.validatedParticipantCount,this.pendingParticipantCount=e.pendingParticipantCount,this.inProgressParticipantCount=e.inProgressParticipantCount,this.disqualifiedParticipantCount=e.disqualifiedParticipantCount,this.failedParticipantCount=e.failedParticipantCount,this.isOnlineLearning=e.isOnlineLearning,this.mediaTypeId=e.mediaTypeId,Array.isArray(e.sessionLicenses)){this.sessionLicenses=[];var t,n=Object(s.a)(e.sessionLicenses);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.sessionLicenses.push(Fb.fromJS(i))}}catch(l){n.e(l)}finally{n.f()}}if(Array.isArray(e.sessionInstructors)){this.sessionInstructors=[];var a,r=Object(s.a)(e.sessionInstructors);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.sessionInstructors.push(o)}}catch(l){r.e(l)}finally{r.f()}}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).sessionId=this.sessionId,e.sessionTypeId=this.sessionTypeId,e.title=this.title,e.courseTitle=this.courseTitle,e.startDate=this.startDate?this.startDate.toISOString():void 0,e.endDate=this.endDate?this.endDate.toISOString():void 0,e.startTime=this.startTime,e.endTime=this.endTime,e.timezone=this.timezone,e.location=this.location,e.room=this.room,e.courseFormat=this.courseFormat,e.courseFormatPortalCategory=this.courseFormatPortalCategory,e.isPublished=this.isPublished,e.evaluationId=this.evaluationId,e.registeredParticipantCount=this.registeredParticipantCount,e.tentativeParticipantCount=this.tentativeParticipantCount,e.validatedParticipantCount=this.validatedParticipantCount,e.pendingParticipantCount=this.pendingParticipantCount,e.inProgressParticipantCount=this.inProgressParticipantCount,e.disqualifiedParticipantCount=this.disqualifiedParticipantCount,e.failedParticipantCount=this.failedParticipantCount,e.isOnlineLearning=this.isOnlineLearning,e.mediaTypeId=this.mediaTypeId,Array.isArray(this.sessionLicenses)){e.sessionLicenses=[];var t,n=Object(s.a)(this.sessionLicenses);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.sessionLicenses.push(i.toJSON())}}catch(l){n.e(l)}finally{n.f()}}if(Array.isArray(this.sessionInstructors)){e.sessionInstructors=[];var a,r=Object(s.a)(this.sessionInstructors);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.sessionInstructors.push(o)}}catch(l){r.e(l)}finally{r.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Dy=function(){function e(t){if(Object(l.a)(this,e),this.scheduleSessionList=void 0,this.allSessionIds=void 0,this.recordCount=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.scheduleSessionList)){this.scheduleSessionList=[];var t,n=Object(s.a)(e.scheduleSessionList);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.scheduleSessionList.push(Ny.fromJS(i))}}catch(l){n.e(l)}finally{n.f()}}if(Array.isArray(e.allSessionIds)){this.allSessionIds=[];var a,r=Object(s.a)(e.allSessionIds);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.allSessionIds.push(o)}}catch(l){r.e(l)}finally{r.f()}}this.recordCount=e.recordCount}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.scheduleSessionList)){e.scheduleSessionList=[];var t,n=Object(s.a)(this.scheduleSessionList);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.scheduleSessionList.push(i.toJSON())}}catch(l){n.e(l)}finally{n.f()}}if(Array.isArray(this.allSessionIds)){e.allSessionIds=[];var a,r=Object(s.a)(this.allSessionIds);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.allSessionIds.push(o)}}catch(l){r.e(l)}finally{r.f()}}return e.recordCount=this.recordCount,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Ly=function(){function e(t){if(Object(l.a)(this,e),this.title=void 0,this.scormCourseId=void 0,this.score=void 0,this.duration=void 0,this.status=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.title=e.title,this.scormCourseId=e.scormCourseId,this.score=e.score,this.duration=e.duration,this.status=e.status)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).title=this.title,e.scormCourseId=this.scormCourseId,e.score=this.score,e.duration=this.duration,e.status=this.status,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Fy=function(){function e(t){if(Object(l.a)(this,e),this.courseId=void 0,this.title=void 0,this.providerName=void 0,this.providerId=void 0,this.isArchived=void 0,this.sessionCount=void 0,this.courseIdLabel=void 0,this.sessionFormats=void 0,this.coursePracticeArea=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.courseId=e.courseId,this.title=e.title,this.providerName=e.providerName,this.providerId=e.providerId,this.isArchived=e.isArchived,this.sessionCount=e.sessionCount,this.courseIdLabel=e.courseIdLabel,Array.isArray(e.sessionFormats)){this.sessionFormats=[];var t,n=Object(s.a)(e.sessionFormats);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.sessionFormats.push(ra.fromJS(i))}}catch(l){n.e(l)}finally{n.f()}}if(Array.isArray(e.coursePracticeArea)){this.coursePracticeArea=[];var a,r=Object(s.a)(e.coursePracticeArea);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.coursePracticeArea.push(ca.fromJS(o))}}catch(l){r.e(l)}finally{r.f()}}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).courseId=this.courseId,e.title=this.title,e.providerName=this.providerName,e.providerId=this.providerId,e.isArchived=this.isArchived,e.sessionCount=this.sessionCount,e.courseIdLabel=this.courseIdLabel,Array.isArray(this.sessionFormats)){e.sessionFormats=[];var t,n=Object(s.a)(this.sessionFormats);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.sessionFormats.push(i.toJSON())}}catch(l){n.e(l)}finally{n.f()}}if(Array.isArray(this.coursePracticeArea)){e.coursePracticeArea=[];var a,r=Object(s.a)(this.coursePracticeArea);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.coursePracticeArea.push(o.toJSON())}}catch(l){r.e(l)}finally{r.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),By=function(){function e(t){if(Object(l.a)(this,e),this.criterionId=void 0,this.criteriaFieldId=void 0,this.title=void 0,this.content=void 0,this.comparison=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.criterionId=e.criterionId,this.criteriaFieldId=e.criteriaFieldId,this.title=e.title,this.content=e.content,this.comparison=e.comparison)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).criterionId=this.criterionId,e.criteriaFieldId=this.criteriaFieldId,e.title=this.title,e.content=this.content,e.comparison=this.comparison,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Ry=function(){function e(t){if(Object(l.a)(this,e),this.title=void 0,this.criteriaFieldId=void 0,this.comparison=void 0,this.criteriaField=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&(this.title=e.title,this.criteriaFieldId=e.criteriaFieldId,this.comparison=e.comparison,Array.isArray(e.criteriaField))){this.criteriaField=[];var t,n=Object(s.a)(e.criteriaField);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.criteriaField.push(Pm.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).title=this.title,e.criteriaFieldId=this.criteriaFieldId,e.comparison=this.comparison,Array.isArray(this.criteriaField)){e.criteriaField=[];var t,n=Object(s.a)(this.criteriaField);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.criteriaField.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Jy=function(){function e(t){if(Object(l.a)(this,e),this.criteria=void 0,this.removeIfNotMetCriteria=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.criteria)){this.criteria=[];var t,n=Object(s.a)(e.criteria);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.criteria.push(Ry.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}this.removeIfNotMetCriteria=e.removeIfNotMetCriteria}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.criteria)){e.criteria=[];var t,n=Object(s.a)(this.criteria);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.criteria.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e.removeIfNotMetCriteria=this.removeIfNotMetCriteria,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Gy=function(){function e(t){if(Object(l.a)(this,e),this.userId=void 0,this.firstName=void 0,this.middleName=void 0,this.lastName=void 0,this.location=void 0,this.userType=void 0,this.isIncluded=void 0,this.criteriaStatus=void 0,this.criteriaMet=void 0,this.userAvatar=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.userId=e.userId,this.firstName=e.firstName,this.middleName=e.middleName,this.lastName=e.lastName,this.location=e.location,this.userType=e.userType,this.isIncluded=e.isIncluded,this.criteriaStatus=e.criteriaStatus,Array.isArray(e.criteriaMet)){this.criteriaMet=[];var t,n=Object(s.a)(e.criteriaMet);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.criteriaMet.push(By.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}this.userAvatar=e.userAvatar}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).userId=this.userId,e.firstName=this.firstName,e.middleName=this.middleName,e.lastName=this.lastName,e.location=this.location,e.userType=this.userType,e.isIncluded=this.isIncluded,e.criteriaStatus=this.criteriaStatus,Array.isArray(this.criteriaMet)){e.criteriaMet=[];var t,n=Object(s.a)(this.criteriaMet);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.criteriaMet.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e.userAvatar=this.userAvatar,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Uy=function(){function e(t){if(Object(l.a)(this,e),this.participants=void 0,this.recordCount=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.participants)){this.participants=[];var t,n=Object(s.a)(e.participants);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.participants.push(Gy.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}this.recordCount=e.recordCount}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.participants)){e.participants=[];var t,n=Object(s.a)(this.participants);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.participants.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e.recordCount=this.recordCount,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),zy=function(){function e(t){if(Object(l.a)(this,e),this.securityGroupId=void 0,this.name=void 0,this.description=void 0,this.isActive=void 0,this.lastModifiedDate=void 0,this.createdDate=void 0,this.createdBy=void 0,this.lastModifiedBy=void 0,this.userCount=void 0,this.removeIfNotMetCriteria=void 0,this.securityGroupUsers=void 0,this.securityGroupCriteria=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.securityGroupId=e.securityGroupId,this.name=e.name,this.description=e.description,this.isActive=e.isActive,this.lastModifiedDate=e.lastModifiedDate?new Date(e.lastModifiedDate.toString()):void 0,this.createdDate=e.createdDate?new Date(e.createdDate.toString()):void 0,this.createdBy=e.createdBy,this.lastModifiedBy=e.lastModifiedBy,this.userCount=e.userCount,this.removeIfNotMetCriteria=e.removeIfNotMetCriteria,Array.isArray(e.securityGroupUsers)){this.securityGroupUsers=[];var t,n=Object(s.a)(e.securityGroupUsers);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.securityGroupUsers.push(Vy.fromJS(i))}}catch(l){n.e(l)}finally{n.f()}}if(Array.isArray(e.securityGroupCriteria)){this.securityGroupCriteria=[];var a,r=Object(s.a)(e.securityGroupCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.securityGroupCriteria.push(By.fromJS(o))}}catch(l){r.e(l)}finally{r.f()}}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).securityGroupId=this.securityGroupId,e.name=this.name,e.description=this.description,e.isActive=this.isActive,e.lastModifiedDate=this.lastModifiedDate?this.lastModifiedDate.toISOString():void 0,e.createdDate=this.createdDate?this.createdDate.toISOString():void 0,e.createdBy=this.createdBy,e.lastModifiedBy=this.lastModifiedBy,e.userCount=this.userCount,e.removeIfNotMetCriteria=this.removeIfNotMetCriteria,Array.isArray(this.securityGroupUsers)){e.securityGroupUsers=[];var t,n=Object(s.a)(this.securityGroupUsers);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.securityGroupUsers.push(i.toJSON())}}catch(l){n.e(l)}finally{n.f()}}if(Array.isArray(this.securityGroupCriteria)){e.securityGroupCriteria=[];var a,r=Object(s.a)(this.securityGroupCriteria);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.securityGroupCriteria.push(o.toJSON())}}catch(l){r.e(l)}finally{r.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),qy=function(){function e(t){if(Object(l.a)(this,e),this.securityGroupId=void 0,this.name=void 0,this.description=void 0,this.isActive=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.securityGroupId=e.securityGroupId,this.name=e.name,this.description=e.description,this.isActive=e.isActive)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).securityGroupId=this.securityGroupId,e.name=this.name,e.description=this.description,e.isActive=this.isActive,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),My=function(){function e(t){if(Object(l.a)(this,e),this.securityGroups=void 0,this.recordCount=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.securityGroups)){this.securityGroups=[];var t,n=Object(s.a)(e.securityGroups);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.securityGroups.push(qy.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}this.recordCount=e.recordCount}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.securityGroups)){e.securityGroups=[];var t,n=Object(s.a)(this.securityGroups);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.securityGroups.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e.recordCount=this.recordCount,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Wy=function(){function e(t){if(Object(l.a)(this,e),this.securityGroups=void 0,this.recordCount=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.securityGroups)){this.securityGroups=[];var t,n=Object(s.a)(e.securityGroups);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.securityGroups.push(zy.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}this.recordCount=e.recordCount}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.securityGroups)){e.securityGroups=[];var t,n=Object(s.a)(this.securityGroups);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.securityGroups.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e.recordCount=this.recordCount,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Vy=function(){function e(t){if(Object(l.a)(this,e),this.securityGroupId=void 0,this.userId=void 0,this.firstName=void 0,this.middleName=void 0,this.lastName=void 0,this.email=void 0,this.avatar=void 0,this.isIncluded=void 0,this.personnelId=void 0,this.inactiveDate=void 0,this.criteriaStatus=void 0,this.userType=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.securityGroupId=e.securityGroupId,this.userId=e.userId,this.firstName=e.firstName,this.middleName=e.middleName,this.lastName=e.lastName,this.email=e.email,this.avatar=e.avatar,this.isIncluded=e.isIncluded,this.personnelId=e.personnelId,this.inactiveDate=e.inactiveDate?new Date(e.inactiveDate.toString()):void 0,this.criteriaStatus=e.criteriaStatus,this.userType=e.userType)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).securityGroupId=this.securityGroupId,e.userId=this.userId,e.firstName=this.firstName,e.middleName=this.middleName,e.lastName=this.lastName,e.email=this.email,e.avatar=this.avatar,e.isIncluded=this.isIncluded,e.personnelId=this.personnelId,e.inactiveDate=this.inactiveDate?this.inactiveDate.toISOString():void 0,e.criteriaStatus=this.criteriaStatus,e.userType=this.userType,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),_y=function(){function e(t){if(Object(l.a)(this,e),this.securityGroupUser=void 0,this.recordCount=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.securityGroupUser)){this.securityGroupUser=[];var t,n=Object(s.a)(e.securityGroupUser);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.securityGroupUser.push(Vy.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}this.recordCount=e.recordCount}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.securityGroupUser)){e.securityGroupUser=[];var t,n=Object(s.a)(this.securityGroupUser);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.securityGroupUser.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e.recordCount=this.recordCount,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Yy=function(){function e(t){if(Object(l.a)(this,e),this.app=void 0,this.hasAccess=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.app=e.app?_g.fromJS(e.app):void 0,this.hasAccess=e.hasAccess)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).app=this.app?this.app.toJSON():void 0,e.hasAccess=this.hasAccess,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Hy=function(){function e(t){if(Object(l.a)(this,e),this.userId=void 0,this.userType=void 0,this.userName=void 0,this.idpId=void 0,this.firstName=void 0,this.middleName=void 0,this.lastName=void 0,this.email=void 0,this.phone=void 0,this.isActive=void 0,this.portalAccessEnabled=void 0,this.emailVerified=void 0,this.smsMfaEnabled=void 0,this.inactiveDate=void 0,this.passwordAge=void 0,this.lastActivityDate=void 0,this.createdDate=void 0,this.createdBy=void 0,this.lastModifiedDate=void 0,this.lastModifiedBy=void 0,this.userSecurityGroups=void 0,this.userRoles=void 0,this.userApplicationAccess=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.userId=e.userId,this.userType=e.userType,this.userName=e.userName,this.idpId=e.idpId,this.firstName=e.firstName,this.middleName=e.middleName,this.lastName=e.lastName,this.email=e.email,this.phone=e.phone,this.isActive=e.isActive,this.portalAccessEnabled=e.portalAccessEnabled,this.emailVerified=e.emailVerified,this.smsMfaEnabled=e.smsMfaEnabled,this.inactiveDate=e.inactiveDate?new Date(e.inactiveDate.toString()):void 0,this.passwordAge=e.passwordAge?new Date(e.passwordAge.toString()):void 0,this.lastActivityDate=e.lastActivityDate?new Date(e.lastActivityDate.toString()):void 0,this.createdDate=e.createdDate?new Date(e.createdDate.toString()):void 0,this.createdBy=e.createdBy,this.lastModifiedDate=e.lastModifiedDate?new Date(e.lastModifiedDate.toString()):void 0,this.lastModifiedBy=e.lastModifiedBy,Array.isArray(e.userSecurityGroups)){this.userSecurityGroups=[];var t,n=Object(s.a)(e.userSecurityGroups);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.userSecurityGroups.push(eb.fromJS(i))}}catch(u){n.e(u)}finally{n.f()}}if(Array.isArray(e.userRoles)){this.userRoles=[];var a,r=Object(s.a)(e.userRoles);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.userRoles.push(Zy.fromJS(o))}}catch(u){r.e(u)}finally{r.f()}}if(Array.isArray(e.userApplicationAccess)){this.userApplicationAccess=[];var l,c=Object(s.a)(e.userApplicationAccess);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.userApplicationAccess.push(Yy.fromJS(d))}}catch(u){c.e(u)}finally{c.f()}}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).userId=this.userId,e.userType=this.userType,e.userName=this.userName,e.idpId=this.idpId,e.firstName=this.firstName,e.middleName=this.middleName,e.lastName=this.lastName,e.email=this.email,e.phone=this.phone,e.isActive=this.isActive,e.portalAccessEnabled=this.portalAccessEnabled,e.emailVerified=this.emailVerified,e.smsMfaEnabled=this.smsMfaEnabled,e.inactiveDate=this.inactiveDate?this.inactiveDate.toISOString():void 0,e.passwordAge=this.passwordAge?this.passwordAge.toISOString():void 0,e.lastActivityDate=this.lastActivityDate?this.lastActivityDate.toISOString():void 0,e.createdDate=this.createdDate?this.createdDate.toISOString():void 0,e.createdBy=this.createdBy,e.lastModifiedDate=this.lastModifiedDate?this.lastModifiedDate.toISOString():void 0,e.lastModifiedBy=this.lastModifiedBy,Array.isArray(this.userSecurityGroups)){e.userSecurityGroups=[];var t,n=Object(s.a)(this.userSecurityGroups);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.userSecurityGroups.push(i.toJSON())}}catch(u){n.e(u)}finally{n.f()}}if(Array.isArray(this.userRoles)){e.userRoles=[];var a,r=Object(s.a)(this.userRoles);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.userRoles.push(o.toJSON())}}catch(u){r.e(u)}finally{r.f()}}if(Array.isArray(this.userApplicationAccess)){e.userApplicationAccess=[];var l,c=Object(s.a)(this.userApplicationAccess);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.userApplicationAccess.push(d.toJSON())}}catch(u){c.e(u)}finally{c.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),$y=function(){function e(t){if(Object(l.a)(this,e),this.userId=void 0,this.userType=void 0,this.userName=void 0,this.firstName=void 0,this.middleName=void 0,this.lastName=void 0,this.email=void 0,this.isActive=void 0,this.emailVerified=void 0,this.inactiveDate=void 0,this.userAvatarThumbnailURl=void 0,this.userSecurityGroups=void 0,this.userRoles=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.userId=e.userId,this.userType=e.userType,this.userName=e.userName,this.firstName=e.firstName,this.middleName=e.middleName,this.lastName=e.lastName,this.email=e.email,this.isActive=e.isActive,this.emailVerified=e.emailVerified,this.inactiveDate=e.inactiveDate?new Date(e.inactiveDate.toString()):void 0,this.userAvatarThumbnailURl=e.userAvatarThumbnailURl,Array.isArray(e.userSecurityGroups)){this.userSecurityGroups=[];var t,n=Object(s.a)(e.userSecurityGroups);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.userSecurityGroups.push(eb.fromJS(i))}}catch(l){n.e(l)}finally{n.f()}}if(Array.isArray(e.userRoles)){this.userRoles=[];var a,r=Object(s.a)(e.userRoles);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.userRoles.push(Zy.fromJS(o))}}catch(l){r.e(l)}finally{r.f()}}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).userId=this.userId,e.userType=this.userType,e.userName=this.userName,e.firstName=this.firstName,e.middleName=this.middleName,e.lastName=this.lastName,e.email=this.email,e.isActive=this.isActive,e.emailVerified=this.emailVerified,e.inactiveDate=this.inactiveDate?this.inactiveDate.toISOString():void 0,e.userAvatarThumbnailURl=this.userAvatarThumbnailURl,Array.isArray(this.userSecurityGroups)){e.userSecurityGroups=[];var t,n=Object(s.a)(this.userSecurityGroups);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.userSecurityGroups.push(i.toJSON())}}catch(l){n.e(l)}finally{n.f()}}if(Array.isArray(this.userRoles)){e.userRoles=[];var a,r=Object(s.a)(this.userRoles);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.userRoles.push(o.toJSON())}}catch(l){r.e(l)}finally{r.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Qy=function(){function e(t){if(Object(l.a)(this,e),this.securityUsers=void 0,this.recordCount=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.securityUsers)){this.securityUsers=[];var t,n=Object(s.a)(e.securityUsers);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.securityUsers.push($y.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}this.recordCount=e.recordCount}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.securityUsers)){e.securityUsers=[];var t,n=Object(s.a)(this.securityUsers);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.securityUsers.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e.recordCount=this.recordCount,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Zy=function(){function e(t){if(Object(l.a)(this,e),this.userId=void 0,this.roleId=void 0,this.name=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.userId=e.userId,this.roleId=e.roleId,this.name=e.name)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).userId=this.userId,e.roleId=this.roleId,e.name=this.name,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Xy=function(){function e(t){if(Object(l.a)(this,e),this.securityUserSavedFilterId=void 0,this.name=void 0,this.isPublic=void 0,this.isReadOnly=void 0,this.isSystem=void 0,this.isDefault=void 0,this.filter=void 0,this.createdBy=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.securityUserSavedFilterId=e.securityUserSavedFilterId,this.name=e.name,this.isPublic=e.isPublic,this.isReadOnly=e.isReadOnly,this.isSystem=e.isSystem,this.isDefault=e.isDefault,this.filter=e.filter,this.createdBy=e.createdBy)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).securityUserSavedFilterId=this.securityUserSavedFilterId,e.name=this.name,e.isPublic=this.isPublic,e.isReadOnly=this.isReadOnly,e.isSystem=this.isSystem,e.isDefault=this.isDefault,e.filter=this.filter,e.createdBy=this.createdBy,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Ky=function(){function e(t){if(Object(l.a)(this,e),this.securityUserSavedFilters=void 0,this.recordCount=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.securityUserSavedFilters)){this.securityUserSavedFilters=[];var t,n=Object(s.a)(e.securityUserSavedFilters);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.securityUserSavedFilters.push(Xy.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}this.recordCount=e.recordCount}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.securityUserSavedFilters)){e.securityUserSavedFilters=[];var t,n=Object(s.a)(this.securityUserSavedFilters);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.securityUserSavedFilters.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e.recordCount=this.recordCount,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),eb=function(){function e(t){if(Object(l.a)(this,e),this.userId=void 0,this.securityGroupId=void 0,this.name=void 0,this.criteriaStatus=void 0,this.isIncluded=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.userId=e.userId,this.securityGroupId=e.securityGroupId,this.name=e.name,this.criteriaStatus=e.criteriaStatus,this.isIncluded=e.isIncluded)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).userId=this.userId,e.securityGroupId=this.securityGroupId,e.name=this.name,e.criteriaStatus=this.criteriaStatus,e.isIncluded=this.isIncluded,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),tb=function(){function e(t){if(Object(l.a)(this,e),this.userId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.userId=e.userId)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).userId=this.userId,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),nb=function(){function e(t){if(Object(l.a)(this,e),this.records=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&Array.isArray(e.records)){this.records=[];var t,n=Object(s.a)(e.records);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.records.push(Os.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.records)){e.records=[];var t,n=Object(s.a)(this.records);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.records.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),ib=function(){function e(t){if(Object(l.a)(this,e),this.records=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&Array.isArray(e.records)){this.records=[];var t,n=Object(s.a)(e.records);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.records.push(Cs.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.records)){e.records=[];var t,n=Object(s.a)(this.records);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.records.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),ab=function(){function e(t){if(Object(l.a)(this,e),this.records=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&Array.isArray(e.records)){this.records=[];var t,n=Object(s.a)(e.records);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.records.push(js.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.records)){e.records=[];var t,n=Object(s.a)(this.records);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.records.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),rb=function(){function e(t){if(Object(l.a)(this,e),this.sessionIds=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&Array.isArray(e.sessionIds)){this.sessionIds=[];var t,n=Object(s.a)(e.sessionIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.sessionIds.push(i)}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.sessionIds)){e.sessionIds=[];var t,n=Object(s.a)(this.sessionIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.sessionIds.push(i)}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),ob=function(){function e(t){if(Object(l.a)(this,e),this.sessionId=void 0,this.sessionParticipants=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&(this.sessionId=e.sessionId,Array.isArray(e.sessionParticipants))){this.sessionParticipants=[];var t,n=Object(s.a)(e.sessionParticipants);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.sessionParticipants.push(Qb.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).sessionId=this.sessionId,Array.isArray(this.sessionParticipants)){e.sessionParticipants=[];var t,n=Object(s.a)(this.sessionParticipants);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.sessionParticipants.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),sb=function(){function e(t){if(Object(l.a)(this,e),this.userIds=void 0,this.sessionId=void 0,this.isInstructor=void 0,this.isTentative=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.userIds)){this.userIds=[];var t,n=Object(s.a)(e.userIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.userIds.push(i)}}catch(a){n.e(a)}finally{n.f()}}this.sessionId=e.sessionId,this.isInstructor=e.isInstructor,this.isTentative=e.isTentative}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.userIds)){e.userIds=[];var t,n=Object(s.a)(this.userIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.userIds.push(i)}}catch(a){n.e(a)}finally{n.f()}}return e.sessionId=this.sessionId,e.isInstructor=this.isInstructor,e.isTentative=this.isTentative,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),lb=function(){function e(t){if(Object(l.a)(this,e),this.sessionId=void 0,this.sessionParticipantIds=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&(this.sessionId=e.sessionId,Array.isArray(e.sessionParticipantIds))){this.sessionParticipantIds=[];var t,n=Object(s.a)(e.sessionParticipantIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.sessionParticipantIds.push(i)}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).sessionId=this.sessionId,Array.isArray(this.sessionParticipantIds)){e.sessionParticipantIds=[];var t,n=Object(s.a)(this.sessionParticipantIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.sessionParticipantIds.push(i)}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),cb=function(){function e(t){if(Object(l.a)(this,e),this.sessionId=void 0,this.userIds=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&(this.sessionId=e.sessionId,Array.isArray(e.userIds))){this.userIds=[];var t,n=Object(s.a)(e.userIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.userIds.push(i)}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).sessionId=this.sessionId,Array.isArray(this.userIds)){e.userIds=[];var t,n=Object(s.a)(this.userIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.userIds.push(i)}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),db=function(){function e(t){if(Object(l.a)(this,e),this.sessionId=void 0,this.userIds=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&(this.sessionId=e.sessionId,Array.isArray(e.userIds))){this.userIds=[];var t,n=Object(s.a)(e.userIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.userIds.push(i)}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).sessionId=this.sessionId,Array.isArray(this.userIds)){e.userIds=[];var t,n=Object(s.a)(this.userIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.userIds.push(i)}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}();!function(e){e[e.DoNotSendToResponded=0]="DoNotSendToResponded",e[e.SendToAll=1]="SendToAll"}(ty||(ty={}));var ub,mb=function(){function e(t){if(Object(l.a)(this,e),this.sessionIds=void 0,this.sendToParticipant=void 0,this.sendToInvited=void 0,this.sendToWaitlisted=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.sessionIds)){this.sessionIds=[];var t,n=Object(s.a)(e.sessionIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.sessionIds.push(i)}}catch(a){n.e(a)}finally{n.f()}}this.sendToParticipant=e.sendToParticipant,this.sendToInvited=e.sendToInvited,this.sendToWaitlisted=e.sendToWaitlisted}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.sessionIds)){e.sessionIds=[];var t,n=Object(s.a)(this.sessionIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.sessionIds.push(i)}}catch(a){n.e(a)}finally{n.f()}}return e.sendToParticipant=this.sendToParticipant,e.sendToInvited=this.sendToInvited,e.sendToWaitlisted=this.sendToWaitlisted,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),vb=function(){function e(t){if(Object(l.a)(this,e),this.sessionId=void 0,this.userId=void 0,this.name=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.sessionId=e.sessionId,this.userId=e.userId,this.name=e.name)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).sessionId=this.sessionId,e.userId=this.userId,e.name=this.name,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),fb=function(){function e(t){if(Object(l.a)(this,e),this.sessionId=void 0,this.courseId=void 0,this.scheduleId=void 0,this.sessionTypeId=void 0,this.mediaTypeId=void 0,this.title=void 0,this.code=void 0,this.courseFormatId=void 0,this.courseFormat=void 0,this.courseFormatPortalCategory=void 0,this.courseTitle=void 0,this.courseIdLabel=void 0,this.providerId=void 0,this.provider=void 0,this.isCourseArchived=void 0,this.startDate=void 0,this.endDate=void 0,this.startTime=void 0,this.endTime=void 0,this.timezoneId=void 0,this.timeZone=void 0,this.locationId=void 0,this.location=void 0,this.roomId=void 0,this.room=void 0,this.cost=void 0,this.detail=void 0,this.duration=void 0,this.isRegistrationApprovalNeeded=void 0,this.registrationLimit=void 0,this.isWaitlistingAllowed=void 0,this.evaluationId=void 0,this.attendanceFormId=void 0,this.evaluation=void 0,this.areQuestionsAllowed=void 0,this.launchUrl=void 0,this.url=void 0,this.note=void 0,this.isOpenToClient=void 0,this.isIndividualSessionDateAllowed=void 0,this.isPublished=void 0,this.isInHouse=void 0,this.isOnlineLearning=void 0,this.cancelledDate=void 0,this.withAnsweredEvaluation=void 0,this.isSessionSettingsEnabled=void 0,this.sessionInstructors=void 0,this.sessionApprovers=void 0,this.sessionLicenses=void 0,this.sessionParticipant=void 0,this.sessionMaterials=void 0,this.sessionMediaFiles=void 0,this.guid=void 0,this.registeredParticipantCount=void 0,this.tentativeParticipantCount=void 0,this.validatedParticipantCount=void 0,this.inProgressParticipantCount=void 0,this.disqualifiedParticipantCount=void 0,this.failedParticipantCount=void 0,this.unexcusedParticipantCount=void 0,this.waitlistParticipantCount=void 0,this.sessionLink=void 0,this.isSessionAttendanceValidated=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.sessionId=e.sessionId,this.courseId=e.courseId,this.scheduleId=e.scheduleId,this.sessionTypeId=e.sessionTypeId,this.mediaTypeId=e.mediaTypeId,this.title=e.title,this.code=e.code,this.courseFormatId=e.courseFormatId,this.courseFormat=e.courseFormat,this.courseFormatPortalCategory=e.courseFormatPortalCategory,this.courseTitle=e.courseTitle,this.courseIdLabel=e.courseIdLabel,this.providerId=e.providerId,this.provider=e.provider,this.isCourseArchived=e.isCourseArchived,this.startDate=e.startDate?new Date(e.startDate.toString()):void 0,this.endDate=e.endDate?new Date(e.endDate.toString()):void 0,this.startTime=e.startTime,this.endTime=e.endTime,this.timezoneId=e.timezoneId,this.timeZone=e.timeZone,this.locationId=e.locationId,this.location=e.location,this.roomId=e.roomId,this.room=e.room,this.cost=e.cost,this.detail=e.detail,this.duration=e.duration,this.isRegistrationApprovalNeeded=e.isRegistrationApprovalNeeded,this.registrationLimit=e.registrationLimit,this.isWaitlistingAllowed=e.isWaitlistingAllowed,this.evaluationId=e.evaluationId,this.attendanceFormId=e.attendanceFormId,this.evaluation=e.evaluation,this.areQuestionsAllowed=e.areQuestionsAllowed,this.launchUrl=e.launchUrl,this.url=e.url,this.note=e.note,this.isOpenToClient=e.isOpenToClient,this.isIndividualSessionDateAllowed=e.isIndividualSessionDateAllowed,this.isPublished=e.isPublished,this.isInHouse=e.isInHouse,this.isOnlineLearning=e.isOnlineLearning,this.cancelledDate=e.cancelledDate?new Date(e.cancelledDate.toString()):void 0,this.withAnsweredEvaluation=e.withAnsweredEvaluation,this.isSessionSettingsEnabled=e.isSessionSettingsEnabled,Array.isArray(e.sessionInstructors)){this.sessionInstructors=[];var t,n=Object(s.a)(e.sessionInstructors);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.sessionInstructors.push(i)}}catch(E){n.e(E)}finally{n.f()}}if(Array.isArray(e.sessionApprovers)){this.sessionApprovers=[];var a,r=Object(s.a)(e.sessionApprovers);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.sessionApprovers.push(vb.fromJS(o))}}catch(E){r.e(E)}finally{r.f()}}if(Array.isArray(e.sessionLicenses)){this.sessionLicenses=[];var l,c=Object(s.a)(e.sessionLicenses);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.sessionLicenses.push(Fb.fromJS(d))}}catch(E){c.e(E)}finally{c.f()}}if(Array.isArray(e.sessionParticipant)){this.sessionParticipant=[];var u,m=Object(s.a)(e.sessionParticipant);try{for(m.s();!(u=m.n()).done;){var v=u.value;this.sessionParticipant.push($b.fromJS(v))}}catch(E){m.e(E)}finally{m.f()}}if(Array.isArray(e.sessionMaterials)){this.sessionMaterials=[];var f,p=Object(s.a)(e.sessionMaterials);try{for(p.s();!(f=p.n()).done;){var h=f.value;this.sessionMaterials.push(qb.fromJS(h))}}catch(E){p.e(E)}finally{p.f()}}if(Array.isArray(e.sessionMediaFiles)){this.sessionMediaFiles=[];var y,b=Object(s.a)(e.sessionMediaFiles);try{for(b.s();!(y=b.n()).done;){var g=y.value;this.sessionMediaFiles.push(Mb.fromJS(g))}}catch(E){b.e(E)}finally{b.f()}}this.guid=e.guid,this.registeredParticipantCount=e.registeredParticipantCount,this.tentativeParticipantCount=e.tentativeParticipantCount,this.validatedParticipantCount=e.validatedParticipantCount,this.inProgressParticipantCount=e.inProgressParticipantCount,this.disqualifiedParticipantCount=e.disqualifiedParticipantCount,this.failedParticipantCount=e.failedParticipantCount,this.unexcusedParticipantCount=e.unexcusedParticipantCount,this.waitlistParticipantCount=e.waitlistParticipantCount,this.sessionLink=e.sessionLink,this.isSessionAttendanceValidated=e.isSessionAttendanceValidated}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).sessionId=this.sessionId,e.courseId=this.courseId,e.scheduleId=this.scheduleId,e.sessionTypeId=this.sessionTypeId,e.mediaTypeId=this.mediaTypeId,e.title=this.title,e.code=this.code,e.courseFormatId=this.courseFormatId,e.courseFormat=this.courseFormat,e.courseFormatPortalCategory=this.courseFormatPortalCategory,e.courseTitle=this.courseTitle,e.courseIdLabel=this.courseIdLabel,e.providerId=this.providerId,e.provider=this.provider,e.isCourseArchived=this.isCourseArchived,e.startDate=this.startDate?this.startDate.toISOString():void 0,e.endDate=this.endDate?this.endDate.toISOString():void 0,e.startTime=this.startTime,e.endTime=this.endTime,e.timezoneId=this.timezoneId,e.timeZone=this.timeZone,e.locationId=this.locationId,e.location=this.location,e.roomId=this.roomId,e.room=this.room,e.cost=this.cost,e.detail=this.detail,e.duration=this.duration,e.isRegistrationApprovalNeeded=this.isRegistrationApprovalNeeded,e.registrationLimit=this.registrationLimit,e.isWaitlistingAllowed=this.isWaitlistingAllowed,e.evaluationId=this.evaluationId,e.attendanceFormId=this.attendanceFormId,e.evaluation=this.evaluation,e.areQuestionsAllowed=this.areQuestionsAllowed,e.launchUrl=this.launchUrl,e.url=this.url,e.note=this.note,e.isOpenToClient=this.isOpenToClient,e.isIndividualSessionDateAllowed=this.isIndividualSessionDateAllowed,e.isPublished=this.isPublished,e.isInHouse=this.isInHouse,e.isOnlineLearning=this.isOnlineLearning,e.cancelledDate=this.cancelledDate?this.cancelledDate.toISOString():void 0,e.withAnsweredEvaluation=this.withAnsweredEvaluation,e.isSessionSettingsEnabled=this.isSessionSettingsEnabled,Array.isArray(this.sessionInstructors)){e.sessionInstructors=[];var t,n=Object(s.a)(this.sessionInstructors);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.sessionInstructors.push(i)}}catch(E){n.e(E)}finally{n.f()}}if(Array.isArray(this.sessionApprovers)){e.sessionApprovers=[];var a,r=Object(s.a)(this.sessionApprovers);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.sessionApprovers.push(o.toJSON())}}catch(E){r.e(E)}finally{r.f()}}if(Array.isArray(this.sessionLicenses)){e.sessionLicenses=[];var l,c=Object(s.a)(this.sessionLicenses);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.sessionLicenses.push(d.toJSON())}}catch(E){c.e(E)}finally{c.f()}}if(Array.isArray(this.sessionParticipant)){e.sessionParticipant=[];var u,m=Object(s.a)(this.sessionParticipant);try{for(m.s();!(u=m.n()).done;){var v=u.value;e.sessionParticipant.push(v.toJSON())}}catch(E){m.e(E)}finally{m.f()}}if(Array.isArray(this.sessionMaterials)){e.sessionMaterials=[];var f,p=Object(s.a)(this.sessionMaterials);try{for(p.s();!(f=p.n()).done;){var h=f.value;e.sessionMaterials.push(h.toJSON())}}catch(E){p.e(E)}finally{p.f()}}if(Array.isArray(this.sessionMediaFiles)){e.sessionMediaFiles=[];var y,b=Object(s.a)(this.sessionMediaFiles);try{for(b.s();!(y=b.n()).done;){var g=y.value;e.sessionMediaFiles.push(g.toJSON())}}catch(E){b.e(E)}finally{b.f()}}return e.guid=this.guid,e.registeredParticipantCount=this.registeredParticipantCount,e.tentativeParticipantCount=this.tentativeParticipantCount,e.validatedParticipantCount=this.validatedParticipantCount,e.inProgressParticipantCount=this.inProgressParticipantCount,e.disqualifiedParticipantCount=this.disqualifiedParticipantCount,e.failedParticipantCount=this.failedParticipantCount,e.unexcusedParticipantCount=this.unexcusedParticipantCount,e.waitlistParticipantCount=this.waitlistParticipantCount,e.sessionLink=this.sessionLink,e.isSessionAttendanceValidated=this.isSessionAttendanceValidated,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),pb=function(){function e(t){if(Object(l.a)(this,e),this.sessionId=void 0,this.courseId=void 0,this.scheduleId=void 0,this.sessionTypeId=void 0,this.mediaTypeId=void 0,this.title=void 0,this.code=void 0,this.courseFormatId=void 0,this.courseFormat=void 0,this.courseFormatPortalCategory=void 0,this.courseTitle=void 0,this.courseIdLabel=void 0,this.providerId=void 0,this.provider=void 0,this.startDate=void 0,this.endDate=void 0,this.startTime=void 0,this.endTime=void 0,this.timezoneId=void 0,this.timeZone=void 0,this.locationId=void 0,this.location=void 0,this.roomId=void 0,this.room=void 0,this.cost=void 0,this.detail=void 0,this.duration=void 0,this.isRegistrationApprovalNeeded=void 0,this.registrationLimit=void 0,this.isWaitlistingAllowed=void 0,this.evaluationId=void 0,this.evaluation=void 0,this.areQuestionsAllowed=void 0,this.launchUrl=void 0,this.url=void 0,this.note=void 0,this.isOpenToClient=void 0,this.isIndividualSessionDateAllowed=void 0,this.isPublished=void 0,this.isInHouse=void 0,this.isOnlineLearning=void 0,this.cancelledDate=void 0,this.withAnsweredEvaluation=void 0,this.sessionApprovers=void 0,this.sessionLicenses=void 0,this.sessionParticipant=void 0,this.sessionMaterials=void 0,this.sessionMediaFiles=void 0,this.sessionUsersWithRetro=void 0,this.guid=void 0,this.registeredParticipantCount=void 0,this.tentativeParticipantCount=void 0,this.validatedParticipantCount=void 0,this.inProgressParticipantCount=void 0,this.disqualifiedParticipantCount=void 0,this.failedParticipantCount=void 0,this.unexcusedParticipantCount=void 0,this.waitlistParticipantCount=void 0,this.sessionLink=void 0,this.isCourseArchived=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.sessionId=e.sessionId,this.courseId=e.courseId,this.scheduleId=e.scheduleId,this.sessionTypeId=e.sessionTypeId,this.mediaTypeId=e.mediaTypeId,this.title=e.title,this.code=e.code,this.courseFormatId=e.courseFormatId,this.courseFormat=e.courseFormat,this.courseFormatPortalCategory=e.courseFormatPortalCategory,this.courseTitle=e.courseTitle,this.courseIdLabel=e.courseIdLabel,this.providerId=e.providerId,this.provider=e.provider,this.startDate=e.startDate?new Date(e.startDate.toString()):void 0,this.endDate=e.endDate?new Date(e.endDate.toString()):void 0,this.startTime=e.startTime,this.endTime=e.endTime,this.timezoneId=e.timezoneId,this.timeZone=e.timeZone,this.locationId=e.locationId,this.location=e.location,this.roomId=e.roomId,this.room=e.room,this.cost=e.cost,this.detail=e.detail,this.duration=e.duration,this.isRegistrationApprovalNeeded=e.isRegistrationApprovalNeeded,this.registrationLimit=e.registrationLimit,this.isWaitlistingAllowed=e.isWaitlistingAllowed,this.evaluationId=e.evaluationId,this.evaluation=e.evaluation,this.areQuestionsAllowed=e.areQuestionsAllowed,this.launchUrl=e.launchUrl,this.url=e.url,this.note=e.note,this.isOpenToClient=e.isOpenToClient,this.isIndividualSessionDateAllowed=e.isIndividualSessionDateAllowed,this.isPublished=e.isPublished,this.isInHouse=e.isInHouse,this.isOnlineLearning=e.isOnlineLearning,this.cancelledDate=e.cancelledDate?new Date(e.cancelledDate.toString()):void 0,this.withAnsweredEvaluation=e.withAnsweredEvaluation,Array.isArray(e.sessionApprovers)){this.sessionApprovers=[];var t,n=Object(s.a)(e.sessionApprovers);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.sessionApprovers.push(vb.fromJS(i))}}catch(E){n.e(E)}finally{n.f()}}if(Array.isArray(e.sessionLicenses)){this.sessionLicenses=[];var a,r=Object(s.a)(e.sessionLicenses);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.sessionLicenses.push(Fb.fromJS(o))}}catch(E){r.e(E)}finally{r.f()}}if(Array.isArray(e.sessionParticipant)){this.sessionParticipant=[];var l,c=Object(s.a)(e.sessionParticipant);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.sessionParticipant.push(Qb.fromJS(d))}}catch(E){c.e(E)}finally{c.f()}}if(Array.isArray(e.sessionMaterials)){this.sessionMaterials=[];var u,m=Object(s.a)(e.sessionMaterials);try{for(m.s();!(u=m.n()).done;){var v=u.value;this.sessionMaterials.push(qb.fromJS(v))}}catch(E){m.e(E)}finally{m.f()}}if(Array.isArray(e.sessionMediaFiles)){this.sessionMediaFiles=[];var f,p=Object(s.a)(e.sessionMediaFiles);try{for(p.s();!(f=p.n()).done;){var h=f.value;this.sessionMediaFiles.push(Mb.fromJS(h))}}catch(E){p.e(E)}finally{p.f()}}if(Array.isArray(e.sessionUsersWithRetro)){this.sessionUsersWithRetro=[];var y,b=Object(s.a)(e.sessionUsersWithRetro);try{for(b.s();!(y=b.n()).done;){var g=y.value;this.sessionUsersWithRetro.push(gg.fromJS(g))}}catch(E){b.e(E)}finally{b.f()}}this.guid=e.guid,this.registeredParticipantCount=e.registeredParticipantCount,this.tentativeParticipantCount=e.tentativeParticipantCount,this.validatedParticipantCount=e.validatedParticipantCount,this.inProgressParticipantCount=e.inProgressParticipantCount,this.disqualifiedParticipantCount=e.disqualifiedParticipantCount,this.failedParticipantCount=e.failedParticipantCount,this.unexcusedParticipantCount=e.unexcusedParticipantCount,this.waitlistParticipantCount=e.waitlistParticipantCount,this.sessionLink=e.sessionLink,this.isCourseArchived=e.isCourseArchived}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).sessionId=this.sessionId,e.courseId=this.courseId,e.scheduleId=this.scheduleId,e.sessionTypeId=this.sessionTypeId,e.mediaTypeId=this.mediaTypeId,e.title=this.title,e.code=this.code,e.courseFormatId=this.courseFormatId,e.courseFormat=this.courseFormat,e.courseFormatPortalCategory=this.courseFormatPortalCategory,e.courseTitle=this.courseTitle,e.courseIdLabel=this.courseIdLabel,e.providerId=this.providerId,e.provider=this.provider,e.startDate=this.startDate?this.startDate.toISOString():void 0,e.endDate=this.endDate?this.endDate.toISOString():void 0,e.startTime=this.startTime,e.endTime=this.endTime,e.timezoneId=this.timezoneId,e.timeZone=this.timeZone,e.locationId=this.locationId,e.location=this.location,e.roomId=this.roomId,e.room=this.room,e.cost=this.cost,e.detail=this.detail,e.duration=this.duration,e.isRegistrationApprovalNeeded=this.isRegistrationApprovalNeeded,e.registrationLimit=this.registrationLimit,e.isWaitlistingAllowed=this.isWaitlistingAllowed,e.evaluationId=this.evaluationId,e.evaluation=this.evaluation,e.areQuestionsAllowed=this.areQuestionsAllowed,e.launchUrl=this.launchUrl,e.url=this.url,e.note=this.note,e.isOpenToClient=this.isOpenToClient,e.isIndividualSessionDateAllowed=this.isIndividualSessionDateAllowed,e.isPublished=this.isPublished,e.isInHouse=this.isInHouse,e.isOnlineLearning=this.isOnlineLearning,e.cancelledDate=this.cancelledDate?this.cancelledDate.toISOString():void 0,e.withAnsweredEvaluation=this.withAnsweredEvaluation,Array.isArray(this.sessionApprovers)){e.sessionApprovers=[];var t,n=Object(s.a)(this.sessionApprovers);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.sessionApprovers.push(i.toJSON())}}catch(E){n.e(E)}finally{n.f()}}if(Array.isArray(this.sessionLicenses)){e.sessionLicenses=[];var a,r=Object(s.a)(this.sessionLicenses);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.sessionLicenses.push(o.toJSON())}}catch(E){r.e(E)}finally{r.f()}}if(Array.isArray(this.sessionParticipant)){e.sessionParticipant=[];var l,c=Object(s.a)(this.sessionParticipant);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.sessionParticipant.push(d.toJSON())}}catch(E){c.e(E)}finally{c.f()}}if(Array.isArray(this.sessionMaterials)){e.sessionMaterials=[];var u,m=Object(s.a)(this.sessionMaterials);try{for(m.s();!(u=m.n()).done;){var v=u.value;e.sessionMaterials.push(v.toJSON())}}catch(E){m.e(E)}finally{m.f()}}if(Array.isArray(this.sessionMediaFiles)){e.sessionMediaFiles=[];var f,p=Object(s.a)(this.sessionMediaFiles);try{for(p.s();!(f=p.n()).done;){var h=f.value;e.sessionMediaFiles.push(h.toJSON())}}catch(E){p.e(E)}finally{p.f()}}if(Array.isArray(this.sessionUsersWithRetro)){e.sessionUsersWithRetro=[];var y,b=Object(s.a)(this.sessionUsersWithRetro);try{for(b.s();!(y=b.n()).done;){var g=y.value;e.sessionUsersWithRetro.push(g.toJSON())}}catch(E){b.e(E)}finally{b.f()}}return e.guid=this.guid,e.registeredParticipantCount=this.registeredParticipantCount,e.tentativeParticipantCount=this.tentativeParticipantCount,e.validatedParticipantCount=this.validatedParticipantCount,e.inProgressParticipantCount=this.inProgressParticipantCount,e.disqualifiedParticipantCount=this.disqualifiedParticipantCount,e.failedParticipantCount=this.failedParticipantCount,e.unexcusedParticipantCount=this.unexcusedParticipantCount,e.waitlistParticipantCount=this.waitlistParticipantCount,e.sessionLink=this.sessionLink,e.isCourseArchived=this.isCourseArchived,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),hb=function(){function e(t){if(Object(l.a)(this,e),this.sessionEmailSettingId=void 0,this.sessionId=void 0,this.emailTypeId=void 0,this.scheduleOption=void 0,this.emailTemplateId=void 0,this.subject=void 0,this.replyToUserId=void 0,this.senderId=void 0,this.emailAlias=void 0,this.body=void 0,this.sendToAdminAssistant=void 0,this.sendSeparateCCCopy=void 0,this.includeMaterials=void 0,this.includeMatchedSessionsOnly=void 0,this.lastSent=void 0,this.sessionEmailSettingRecurrenceId=void 0,this.schedules=void 0,this.recurrence=void 0,this.recipients=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.sessionEmailSettingId=e.sessionEmailSettingId,this.sessionId=e.sessionId,this.emailTypeId=e.emailTypeId,this.scheduleOption=e.scheduleOption,this.emailTemplateId=e.emailTemplateId,this.subject=e.subject,this.replyToUserId=e.replyToUserId,this.senderId=e.senderId,this.emailAlias=e.emailAlias,this.body=e.body,this.sendToAdminAssistant=e.sendToAdminAssistant,this.sendSeparateCCCopy=e.sendSeparateCCCopy,this.includeMaterials=e.includeMaterials,this.includeMatchedSessionsOnly=e.includeMatchedSessionsOnly,this.lastSent=e.lastSent?new Date(e.lastSent.toString()):void 0,this.sessionEmailSettingRecurrenceId=e.sessionEmailSettingRecurrenceId,Array.isArray(e.schedules)){this.schedules=[];var t,n=Object(s.a)(e.schedules);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.schedules.push(gb.fromJS(i))}}catch(l){n.e(l)}finally{n.f()}}if(this.recurrence=e.recurrence?bb.fromJS(e.recurrence):void 0,Array.isArray(e.recipients)){this.recipients=[];var a,r=Object(s.a)(e.recipients);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.recipients.push(Ss.fromJS(o))}}catch(l){r.e(l)}finally{r.f()}}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).sessionEmailSettingId=this.sessionEmailSettingId,e.sessionId=this.sessionId,e.emailTypeId=this.emailTypeId,e.scheduleOption=this.scheduleOption,e.emailTemplateId=this.emailTemplateId,e.subject=this.subject,e.replyToUserId=this.replyToUserId,e.senderId=this.senderId,e.emailAlias=this.emailAlias,e.body=this.body,e.sendToAdminAssistant=this.sendToAdminAssistant,e.sendSeparateCCCopy=this.sendSeparateCCCopy,e.includeMaterials=this.includeMaterials,e.includeMatchedSessionsOnly=this.includeMatchedSessionsOnly,e.lastSent=this.lastSent?this.lastSent.toISOString():void 0,e.sessionEmailSettingRecurrenceId=this.sessionEmailSettingRecurrenceId,Array.isArray(this.schedules)){e.schedules=[];var t,n=Object(s.a)(this.schedules);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.schedules.push(i.toJSON())}}catch(l){n.e(l)}finally{n.f()}}if(e.recurrence=this.recurrence?this.recurrence.toJSON():void 0,Array.isArray(this.recipients)){e.recipients=[];var a,r=Object(s.a)(this.recipients);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.recipients.push(o.toJSON())}}catch(l){r.e(l)}finally{r.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),yb=function(){function e(t){if(Object(l.a)(this,e),this.settings=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&Array.isArray(e.settings)){this.settings=[];var t,n=Object(s.a)(e.settings);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.settings.push(hb.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.settings)){e.settings=[];var t,n=Object(s.a)(this.settings);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.settings.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),bb=function(){function e(t){if(Object(l.a)(this,e),this.sessionEmailSettingRecurrenceId=void 0,this.sessionEmailSettingId=void 0,this.frequency=void 0,this.startDate=void 0,this.endDate=void 0,this.time=void 0,this.timezoneId=void 0,this.timezoneCode=void 0,this.recurDayOfWeek=void 0,this.recurDay=void 0,this.monthlyOption=void 0,this.monthlyDay=void 0,this.monthlyDayOfMonth=void 0,this.monthlyDayOfWeek=void 0,this.jobId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.sessionEmailSettingRecurrenceId=e.sessionEmailSettingRecurrenceId,this.sessionEmailSettingId=e.sessionEmailSettingId,this.frequency=e.frequency,this.startDate=e.startDate?new Date(e.startDate.toString()):void 0,this.endDate=e.endDate?new Date(e.endDate.toString()):void 0,this.time=e.time,this.timezoneId=e.timezoneId,this.timezoneCode=e.timezoneCode,this.recurDayOfWeek=e.recurDayOfWeek,this.recurDay=e.recurDay,this.monthlyOption=e.monthlyOption,this.monthlyDay=e.monthlyDay,this.monthlyDayOfMonth=e.monthlyDayOfMonth,this.monthlyDayOfWeek=e.monthlyDayOfWeek,this.jobId=e.jobId)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).sessionEmailSettingRecurrenceId=this.sessionEmailSettingRecurrenceId,e.sessionEmailSettingId=this.sessionEmailSettingId,e.frequency=this.frequency,e.startDate=this.startDate?this.startDate.toISOString():void 0,e.endDate=this.endDate?this.endDate.toISOString():void 0,e.time=this.time,e.timezoneId=this.timezoneId,e.timezoneCode=this.timezoneCode,e.recurDayOfWeek=this.recurDayOfWeek,e.recurDay=this.recurDay,e.monthlyOption=this.monthlyOption,e.monthlyDay=this.monthlyDay,e.monthlyDayOfMonth=this.monthlyDayOfMonth,e.monthlyDayOfWeek=this.monthlyDayOfWeek,e.jobId=this.jobId,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),gb=function(){function e(t){if(Object(l.a)(this,e),this.sessionEmailSettingScheduleId=void 0,this.sessionEmailSettingId=void 0,this.processDate=void 0,this.processTime=void 0,this.timezoneId=void 0,this.timezoneCode=void 0,this.jobId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.sessionEmailSettingScheduleId=e.sessionEmailSettingScheduleId,this.sessionEmailSettingId=e.sessionEmailSettingId,this.processDate=e.processDate?new Date(e.processDate.toString()):void 0,this.processTime=e.processTime,this.timezoneId=e.timezoneId,this.timezoneCode=e.timezoneCode,this.jobId=e.jobId)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).sessionEmailSettingScheduleId=this.sessionEmailSettingScheduleId,e.sessionEmailSettingId=this.sessionEmailSettingId,e.processDate=this.processDate?this.processDate.toISOString():void 0,e.processTime=this.processTime,e.timezoneId=this.timezoneId,e.timezoneCode=this.timezoneCode,e.jobId=this.jobId,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Eb=function(){function e(t){if(Object(l.a)(this,e),this.sessionEvaluationAnswerId=void 0,this.sessionEvaluationId=void 0,this.instructorId=void 0,this.questionId=void 0,this.answer=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.sessionEvaluationAnswerId=e.sessionEvaluationAnswerId,this.sessionEvaluationId=e.sessionEvaluationId,this.instructorId=e.instructorId,this.questionId=e.questionId,this.answer=e.answer)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).sessionEvaluationAnswerId=this.sessionEvaluationAnswerId,e.sessionEvaluationId=this.sessionEvaluationId,e.instructorId=this.instructorId,e.questionId=this.questionId,e.answer=this.answer,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Ib=function(){function e(t){if(Object(l.a)(this,e),this.evaluation=void 0,this.statistics=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&(this.evaluation=e.evaluation?Ms.fromJS(e.evaluation):void 0,Array.isArray(e.statistics))){this.statistics=[];var t,n=Object(s.a)(e.statistics);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.statistics.push(Ri.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).evaluation=this.evaluation?this.evaluation.toJSON():void 0,Array.isArray(this.statistics)){e.statistics=[];var t,n=Object(s.a)(this.statistics);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.statistics.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Sb=function(){function e(t){if(Object(l.a)(this,e),this.courseId=void 0,this.courseIdLabel=void 0,this.title=void 0,this.provider=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.courseId=e.courseId,this.courseIdLabel=e.courseIdLabel,this.title=e.title,this.provider=e.provider)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).courseId=this.courseId,e.courseIdLabel=this.courseIdLabel,e.title=this.title,e.provider=this.provider,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Ob=function(){function e(t){if(Object(l.a)(this,e),this.courseFormatId=void 0,this.name=void 0,this.portalCategory=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.courseFormatId=e.courseFormatId,this.name=e.name,this.portalCategory=e.portalCategory)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).courseFormatId=this.courseFormatId,e.name=this.name,e.portalCategory=this.portalCategory,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Cb=function(){function e(t){if(Object(l.a)(this,e),this.sessionEvaluationId=void 0,this.sessionId=void 0,this.userId=void 0,this.personnelId=void 0,this.firstName=void 0,this.lastName=void 0,this.middleName=void 0,this.avatar=void 0,this.email=void 0,this.validatedDate=void 0,this.requestDate=void 0,this.requestedBy=void 0,this.evaluationDate=void 0,this.declinedDate=void 0,this.status=void 0,this.location=void 0,this.userTypeId=void 0,this.userType=void 0,this.emails=void 0,this.sessionEvaluationAnswers=void 0,this.evaluation=void 0,this.departments=void 0,this.course=void 0,this.session=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.sessionEvaluationId=e.sessionEvaluationId,this.sessionId=e.sessionId,this.userId=e.userId,this.personnelId=e.personnelId,this.firstName=e.firstName,this.lastName=e.lastName,this.middleName=e.middleName,this.avatar=e.avatar,this.email=e.email,this.validatedDate=e.validatedDate?new Date(e.validatedDate.toString()):void 0,this.requestDate=e.requestDate?new Date(e.requestDate.toString()):void 0,this.requestedBy=e.requestedBy,this.evaluationDate=e.evaluationDate?new Date(e.evaluationDate.toString()):void 0,this.declinedDate=e.declinedDate?new Date(e.declinedDate.toString()):void 0,this.status=e.status,this.location=e.location,this.userTypeId=e.userTypeId,this.userType=e.userType,Array.isArray(e.emails)){this.emails=[];var t,n=Object(s.a)(e.emails);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.emails.push(jb.fromJS(i))}}catch(u){n.e(u)}finally{n.f()}}if(Array.isArray(e.sessionEvaluationAnswers)){this.sessionEvaluationAnswers=[];var a,r=Object(s.a)(e.sessionEvaluationAnswers);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.sessionEvaluationAnswers.push(Eb.fromJS(o))}}catch(u){r.e(u)}finally{r.f()}}if(this.evaluation=e.evaluation?Ms.fromJS(e.evaluation):void 0,Array.isArray(e.departments)){this.departments=[];var l,c=Object(s.a)(e.departments);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.departments.push(bg.fromJS(d))}}catch(u){c.e(u)}finally{c.f()}}this.course=e.course?Sb.fromJS(e.course):void 0,this.session=e.session?Ab.fromJS(e.session):void 0}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).sessionEvaluationId=this.sessionEvaluationId,e.sessionId=this.sessionId,e.userId=this.userId,e.personnelId=this.personnelId,e.firstName=this.firstName,e.lastName=this.lastName,e.middleName=this.middleName,e.avatar=this.avatar,e.email=this.email,e.validatedDate=this.validatedDate?this.validatedDate.toISOString():void 0,e.requestDate=this.requestDate?this.requestDate.toISOString():void 0,e.requestedBy=this.requestedBy,e.evaluationDate=this.evaluationDate?this.evaluationDate.toISOString():void 0,e.declinedDate=this.declinedDate?this.declinedDate.toISOString():void 0,e.status=this.status,e.location=this.location,e.userTypeId=this.userTypeId,e.userType=this.userType,Array.isArray(this.emails)){e.emails=[];var t,n=Object(s.a)(this.emails);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.emails.push(i.toJSON())}}catch(u){n.e(u)}finally{n.f()}}if(Array.isArray(this.sessionEvaluationAnswers)){e.sessionEvaluationAnswers=[];var a,r=Object(s.a)(this.sessionEvaluationAnswers);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.sessionEvaluationAnswers.push(o.toJSON())}}catch(u){r.e(u)}finally{r.f()}}if(e.evaluation=this.evaluation?this.evaluation.toJSON():void 0,Array.isArray(this.departments)){e.departments=[];var l,c=Object(s.a)(this.departments);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.departments.push(d.toJSON())}}catch(u){c.e(u)}finally{c.f()}}return e.course=this.course?this.course.toJSON():void 0,e.session=this.session?this.session.toJSON():void 0,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),jb=function(){function e(t){if(Object(l.a)(this,e),this.sessionEvaluationEmailId=void 0,this.sessionEvaluationId=void 0,this.emailTransactionId=void 0,this.emailTransaction=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.sessionEvaluationEmailId=e.sessionEvaluationEmailId,this.sessionEvaluationId=e.sessionEvaluationId,this.emailTransactionId=e.emailTransactionId,this.emailTransaction=e.emailTransaction?Ls.fromJS(e.emailTransaction):void 0)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).sessionEvaluationEmailId=this.sessionEvaluationEmailId,e.sessionEvaluationId=this.sessionEvaluationId,e.emailTransactionId=this.emailTransactionId,e.emailTransaction=this.emailTransaction?this.emailTransaction.toJSON():void 0,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),xb=function(){function e(t){if(Object(l.a)(this,e),this.evaluations=void 0,this.recordCount=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.evaluations)){this.evaluations=[];var t,n=Object(s.a)(e.evaluations);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.evaluations.push(Cb.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}this.recordCount=e.recordCount}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.evaluations)){e.evaluations=[];var t,n=Object(s.a)(this.evaluations);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.evaluations.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e.recordCount=this.recordCount,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Ab=function(){function e(t){if(Object(l.a)(this,e),this.sessionId=void 0,this.title=void 0,this.courseFormat=void 0,this.detail=void 0,this.location=void 0,this.room=void 0,this.startDate=void 0,this.startTime=void 0,this.endDate=void 0,this.endTime=void 0,this.timezone=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.sessionId=e.sessionId,this.title=e.title,this.courseFormat=e.courseFormat?Ob.fromJS(e.courseFormat):void 0,this.detail=e.detail,this.location=e.location,this.room=e.room,this.startDate=e.startDate?new Date(e.startDate.toString()):void 0,this.startTime=e.startTime,this.endDate=e.endDate?new Date(e.endDate.toString()):void 0,this.endTime=e.endTime,this.timezone=e.timezone)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).sessionId=this.sessionId,e.title=this.title,e.courseFormat=this.courseFormat?this.courseFormat.toJSON():void 0,e.detail=this.detail,e.location=this.location,e.room=this.room,e.startDate=this.startDate?this.startDate.toISOString():void 0,e.startTime=this.startTime,e.endDate=this.endDate?this.endDate.toISOString():void 0,e.endTime=this.endTime,e.timezone=this.timezone,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Tb=function(){function e(t){if(Object(l.a)(this,e),this.sessionEvaluationStatisticId=void 0,this.sessionId=void 0,this.questionId=void 0,this.instructorId=void 0,this.responses=void 0,this.comments=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.sessionEvaluationStatisticId=e.sessionEvaluationStatisticId,this.sessionId=e.sessionId,this.questionId=e.questionId,this.instructorId=e.instructorId,this.responses=e.responses,this.comments=e.comments)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).sessionEvaluationStatisticId=this.sessionEvaluationStatisticId,e.sessionId=this.sessionId,e.questionId=this.questionId,e.instructorId=this.instructorId,e.responses=this.responses,e.comments=this.comments,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),wb=function(){function e(t){if(Object(l.a)(this,e),this.sessionId=void 0,this.title=void 0,this.courseFormat=void 0,this.courseTitle=void 0,this.startDate=void 0,this.endDate=void 0,this.startTime=void 0,this.endTime=void 0,this.timeZone=void 0,this.location=void 0,this.room=void 0,this.isSessionSettingsEnabled=void 0,this.attendanceFormId=void 0,this.sessionLicenses=void 0,this.sessionParticipants=void 0,this.sessionInstructors=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.sessionId=e.sessionId,this.title=e.title,this.courseFormat=e.courseFormat,this.courseTitle=e.courseTitle,this.startDate=e.startDate?new Date(e.startDate.toString()):void 0,this.endDate=e.endDate?new Date(e.endDate.toString()):void 0,this.startTime=e.startTime,this.endTime=e.endTime,this.timeZone=e.timeZone,this.location=e.location,this.room=e.room,this.isSessionSettingsEnabled=e.isSessionSettingsEnabled,this.attendanceFormId=e.attendanceFormId,Array.isArray(e.sessionLicenses)){this.sessionLicenses=[];var t,n=Object(s.a)(e.sessionLicenses);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.sessionLicenses.push(Bb.fromJS(i))}}catch(u){n.e(u)}finally{n.f()}}if(Array.isArray(e.sessionParticipants)){this.sessionParticipants=[];var a,r=Object(s.a)(e.sessionParticipants);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.sessionParticipants.push(Zb.fromJS(o))}}catch(u){r.e(u)}finally{r.f()}}if(Array.isArray(e.sessionInstructors)){this.sessionInstructors=[];var l,c=Object(s.a)(e.sessionInstructors);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.sessionInstructors.push(Zb.fromJS(d))}}catch(u){c.e(u)}finally{c.f()}}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).sessionId=this.sessionId,e.title=this.title,e.courseFormat=this.courseFormat,e.courseTitle=this.courseTitle,e.startDate=this.startDate?this.startDate.toISOString():void 0,e.endDate=this.endDate?this.endDate.toISOString():void 0,e.startTime=this.startTime,e.endTime=this.endTime,e.timeZone=this.timeZone,e.location=this.location,e.room=this.room,e.isSessionSettingsEnabled=this.isSessionSettingsEnabled,e.attendanceFormId=this.attendanceFormId,Array.isArray(this.sessionLicenses)){e.sessionLicenses=[];var t,n=Object(s.a)(this.sessionLicenses);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.sessionLicenses.push(i.toJSON())}}catch(u){n.e(u)}finally{n.f()}}if(Array.isArray(this.sessionParticipants)){e.sessionParticipants=[];var a,r=Object(s.a)(this.sessionParticipants);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.sessionParticipants.push(o.toJSON())}}catch(u){r.e(u)}finally{r.f()}}if(Array.isArray(this.sessionInstructors)){e.sessionInstructors=[];var l,c=Object(s.a)(this.sessionInstructors);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.sessionInstructors.push(d.toJSON())}}catch(u){c.e(u)}finally{c.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),kb=function(){function e(t){if(Object(l.a)(this,e),this.sessionInviteId=void 0,this.sessionId=void 0,this.userId=void 0,this.firstName=void 0,this.lastName=void 0,this.middleName=void 0,this.avatar=void 0,this.email=void 0,this.inviteDate=void 0,this.invitedBy=void 0,this.responseDate=void 0,this.declineDate=void 0,this.status=void 0,this.registeredBy=void 0,this.waitlistedDate=void 0,this.location=void 0,this.userTypeId=void 0,this.userType=void 0,this.emails=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&(this.sessionInviteId=e.sessionInviteId,this.sessionId=e.sessionId,this.userId=e.userId,this.firstName=e.firstName,this.lastName=e.lastName,this.middleName=e.middleName,this.avatar=e.avatar,this.email=e.email,this.inviteDate=e.inviteDate?new Date(e.inviteDate.toString()):void 0,this.invitedBy=e.invitedBy,this.responseDate=e.responseDate?new Date(e.responseDate.toString()):void 0,this.declineDate=e.declineDate?new Date(e.declineDate.toString()):void 0,this.status=e.status,this.registeredBy=e.registeredBy,this.waitlistedDate=e.waitlistedDate?new Date(e.waitlistedDate.toString()):void 0,this.location=e.location,this.userTypeId=e.userTypeId,this.userType=e.userType,Array.isArray(e.emails))){this.emails=[];var t,n=Object(s.a)(e.emails);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.emails.push(Pb.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).sessionInviteId=this.sessionInviteId,e.sessionId=this.sessionId,e.userId=this.userId,e.firstName=this.firstName,e.lastName=this.lastName,e.middleName=this.middleName,e.avatar=this.avatar,e.email=this.email,e.inviteDate=this.inviteDate?this.inviteDate.toISOString():void 0,e.invitedBy=this.invitedBy,e.responseDate=this.responseDate?this.responseDate.toISOString():void 0,e.declineDate=this.declineDate?this.declineDate.toISOString():void 0,e.status=this.status,e.registeredBy=this.registeredBy,e.waitlistedDate=this.waitlistedDate?this.waitlistedDate.toISOString():void 0,e.location=this.location,e.userTypeId=this.userTypeId,e.userType=this.userType,Array.isArray(this.emails)){e.emails=[];var t,n=Object(s.a)(this.emails);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.emails.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Pb=function(){function e(t){if(Object(l.a)(this,e),this.sessionInviteEmailId=void 0,this.sessionInviteId=void 0,this.emailTransactionId=void 0,this.emailTransaction=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.sessionInviteEmailId=e.sessionInviteEmailId,this.sessionInviteId=e.sessionInviteId,this.emailTransactionId=e.emailTransactionId,this.emailTransaction=e.emailTransaction?Ls.fromJS(e.emailTransaction):void 0)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).sessionInviteEmailId=this.sessionInviteEmailId,e.sessionInviteId=this.sessionInviteId,e.emailTransactionId=this.emailTransactionId,e.emailTransaction=this.emailTransaction?this.emailTransaction.toJSON():void 0,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Nb=function(){function e(t){if(Object(l.a)(this,e),this.invites=void 0,this.recordCount=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.invites)){this.invites=[];var t,n=Object(s.a)(e.invites);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.invites.push(kb.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}this.recordCount=e.recordCount}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.invites)){e.invites=[];var t,n=Object(s.a)(this.invites);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.invites.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e.recordCount=this.recordCount,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Db=function(){function e(t){if(Object(l.a)(this,e),this.sessionId=void 0,this.licenseCertificateId=void 0,this.licenseId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.sessionId=e.sessionId,this.licenseCertificateId=e.licenseCertificateId,this.licenseId=e.licenseId)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).sessionId=this.sessionId,e.licenseCertificateId=this.licenseCertificateId,e.licenseId=this.licenseId,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Lb=function(){function e(t){if(Object(l.a)(this,e),this.creditId=void 0,this.creditName=void 0,this.creditValue=void 0,this.isArchived=void 0,this.isFieldsOfStudyApproved=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.creditId=e.creditId,this.creditName=e.creditName,this.creditValue=e.creditValue,this.isArchived=e.isArchived,this.isFieldsOfStudyApproved=e.isFieldsOfStudyApproved)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).creditId=this.creditId,e.creditName=this.creditName,e.creditValue=this.creditValue,e.isArchived=this.isArchived,e.isFieldsOfStudyApproved=this.isFieldsOfStudyApproved,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Fb=function(){function e(t){if(Object(l.a)(this,e),this.sessionId=void 0,this.licenseId=void 0,this.name=void 0,this.expirationDate=void 0,this.licenseStatus=void 0,this.sessionLicenseCredits=void 0,this.sessionLicenseProperties=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.sessionId=e.sessionId,this.licenseId=e.licenseId,this.name=e.name,this.expirationDate=e.expirationDate?new Date(e.expirationDate.toString()):void 0,this.licenseStatus=e.licenseStatus,Array.isArray(e.sessionLicenseCredits)){this.sessionLicenseCredits=[];var t,n=Object(s.a)(e.sessionLicenseCredits);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.sessionLicenseCredits.push(Lb.fromJS(i))}}catch(l){n.e(l)}finally{n.f()}}if(Array.isArray(e.sessionLicenseProperties)){this.sessionLicenseProperties=[];var a,r=Object(s.a)(e.sessionLicenseProperties);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.sessionLicenseProperties.push(Rb.fromJS(o))}}catch(l){r.e(l)}finally{r.f()}}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).sessionId=this.sessionId,e.licenseId=this.licenseId,e.name=this.name,e.expirationDate=this.expirationDate?this.expirationDate.toISOString():void 0,e.licenseStatus=this.licenseStatus,Array.isArray(this.sessionLicenseCredits)){e.sessionLicenseCredits=[];var t,n=Object(s.a)(this.sessionLicenseCredits);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.sessionLicenseCredits.push(i.toJSON())}}catch(l){n.e(l)}finally{n.f()}}if(Array.isArray(this.sessionLicenseProperties)){e.sessionLicenseProperties=[];var a,r=Object(s.a)(this.sessionLicenseProperties);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.sessionLicenseProperties.push(o.toJSON())}}catch(l){r.e(l)}finally{r.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Bb=function(){function e(t){if(Object(l.a)(this,e),this.sessionId=void 0,this.licenseId=void 0,this.name=void 0,this.licenseStatus=void 0,this.sessionLicenseCredits=void 0,this.sessionLicenseProperties=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.sessionId=e.sessionId,this.licenseId=e.licenseId,this.name=e.name,this.licenseStatus=e.licenseStatus,Array.isArray(e.sessionLicenseCredits)){this.sessionLicenseCredits=[];var t,n=Object(s.a)(e.sessionLicenseCredits);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.sessionLicenseCredits.push(Lb.fromJS(i))}}catch(l){n.e(l)}finally{n.f()}}if(Array.isArray(e.sessionLicenseProperties)){this.sessionLicenseProperties=[];var a,r=Object(s.a)(e.sessionLicenseProperties);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.sessionLicenseProperties.push(Rb.fromJS(o))}}catch(l){r.e(l)}finally{r.f()}}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).sessionId=this.sessionId,e.licenseId=this.licenseId,e.name=this.name,e.licenseStatus=this.licenseStatus,Array.isArray(this.sessionLicenseCredits)){e.sessionLicenseCredits=[];var t,n=Object(s.a)(this.sessionLicenseCredits);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.sessionLicenseCredits.push(i.toJSON())}}catch(l){n.e(l)}finally{n.f()}}if(Array.isArray(this.sessionLicenseProperties)){e.sessionLicenseProperties=[];var a,r=Object(s.a)(this.sessionLicenseProperties);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.sessionLicenseProperties.push(o.toJSON())}}catch(l){r.e(l)}finally{r.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Rb=function(){function e(t){if(Object(l.a)(this,e),this.propertyId=void 0,this.propertyLabel=void 0,this.propertyValue=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.propertyId=e.propertyId,this.propertyLabel=e.propertyLabel,this.propertyValue=e.propertyValue)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).propertyId=this.propertyId,e.propertyLabel=this.propertyLabel,e.propertyValue=this.propertyValue,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Jb=function(){function e(t){if(Object(l.a)(this,e),this.licenseId=void 0,this.propertyId=void 0,this.propertyLabel=void 0,this.propertyValue=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.licenseId=e.licenseId,this.propertyId=e.propertyId,this.propertyLabel=e.propertyLabel,this.propertyValue=e.propertyValue)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).licenseId=this.licenseId,e.propertyId=this.propertyId,e.propertyLabel=this.propertyLabel,e.propertyValue=this.propertyValue,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Gb=function(){function e(t){if(Object(l.a)(this,e),this.sessionId=void 0,this.courseId=void 0,this.guid=void 0,this.userId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.sessionId=e.sessionId,this.courseId=e.courseId,this.guid=e.guid,this.userId=e.userId)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).sessionId=this.sessionId,e.courseId=this.courseId,e.guid=this.guid,e.userId=this.userId,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Ub=function(){function e(t){if(Object(l.a)(this,e),this.sessions=void 0,this.recordCount=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.sessions)){this.sessions=[];var t,n=Object(s.a)(e.sessions);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.sessions.push(pb.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}this.recordCount=e.recordCount}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.sessions)){e.sessions=[];var t,n=Object(s.a)(this.sessions);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.sessions.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e.recordCount=this.recordCount,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),zb=function(){function e(t){if(Object(l.a)(this,e),this.locationId=void 0,this.name=void 0,this.address=void 0,this.code=void 0,this.city=void 0,this.countryId=void 0,this.stateId=void 0,this.zip=void 0,this.telephone=void 0,this.timezoneId=void 0,this.isActive=void 0,this.isFirmOffice=void 0,this.countyId=void 0,this.country=void 0,this.state=void 0,this.timezone=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.locationId=e.locationId,this.name=e.name,this.address=e.address,this.code=e.code,this.city=e.city,this.countryId=e.countryId,this.stateId=e.stateId,this.zip=e.zip,this.telephone=e.telephone,this.timezoneId=e.timezoneId,this.isActive=e.isActive,this.isFirmOffice=e.isFirmOffice,this.countyId=e.countyId,this.country=e.country,this.state=e.state,this.timezone=e.timezone)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).locationId=this.locationId,e.name=this.name,e.address=this.address,e.code=this.code,e.city=this.city,e.countryId=this.countryId,e.stateId=this.stateId,e.zip=this.zip,e.telephone=this.telephone,e.timezoneId=this.timezoneId,e.isActive=this.isActive,e.isFirmOffice=this.isFirmOffice,e.countyId=this.countyId,e.country=this.country,e.state=this.state,e.timezone=this.timezone,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),qb=function(){function e(t){if(Object(l.a)(this,e),this.sessionMaterialId=void 0,this.sessionId=void 0,this.fileId=void 0,this.isPublic=void 0,this.isAttendanceSheet=void 0,this.libraryFile=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.sessionMaterialId=e.sessionMaterialId,this.sessionId=e.sessionId,this.fileId=e.fileId,this.isPublic=e.isPublic,this.isAttendanceSheet=e.isAttendanceSheet,this.libraryFile=e.libraryFile?lf.fromJS(e.libraryFile):void 0)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).sessionMaterialId=this.sessionMaterialId,e.sessionId=this.sessionId,e.fileId=this.fileId,e.isPublic=this.isPublic,e.isAttendanceSheet=this.isAttendanceSheet,e.libraryFile=this.libraryFile?this.libraryFile.toJSON():void 0,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Mb=function(){function e(t){if(Object(l.a)(this,e),this.sessionMediaFileId=void 0,this.sessionId=void 0,this.fileId=void 0,this.isRequired=void 0,this.displayOrder=void 0,this.verificationDisplayDuration=void 0,this.verificationCodeEnabled=void 0,this.viewingVerificationEnabled=void 0,this.viewingVerificationDisplayLimit=void 0,this.viewingVerificationDisplayDuration=void 0,this.allowedToBeViewed=void 0,this.libraryFile=void 0,this.sessionMediaFileVerificationCodes=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&(this.sessionMediaFileId=e.sessionMediaFileId,this.sessionId=e.sessionId,this.fileId=e.fileId,this.isRequired=e.isRequired,this.displayOrder=e.displayOrder,this.verificationDisplayDuration=e.verificationDisplayDuration,this.verificationCodeEnabled=e.verificationCodeEnabled,this.viewingVerificationEnabled=e.viewingVerificationEnabled,this.viewingVerificationDisplayLimit=e.viewingVerificationDisplayLimit,this.viewingVerificationDisplayDuration=e.viewingVerificationDisplayDuration,this.allowedToBeViewed=e.allowedToBeViewed,this.libraryFile=e.libraryFile?lf.fromJS(e.libraryFile):void 0,Array.isArray(e.sessionMediaFileVerificationCodes))){this.sessionMediaFileVerificationCodes=[];var t,n=Object(s.a)(e.sessionMediaFileVerificationCodes);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.sessionMediaFileVerificationCodes.push(Vb.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).sessionMediaFileId=this.sessionMediaFileId,e.sessionId=this.sessionId,e.fileId=this.fileId,e.isRequired=this.isRequired,e.displayOrder=this.displayOrder,e.verificationDisplayDuration=this.verificationDisplayDuration,e.verificationCodeEnabled=this.verificationCodeEnabled,e.viewingVerificationEnabled=this.viewingVerificationEnabled,e.viewingVerificationDisplayLimit=this.viewingVerificationDisplayLimit,e.viewingVerificationDisplayDuration=this.viewingVerificationDisplayDuration,e.allowedToBeViewed=this.allowedToBeViewed,e.libraryFile=this.libraryFile?this.libraryFile.toJSON():void 0,Array.isArray(this.sessionMediaFileVerificationCodes)){e.sessionMediaFileVerificationCodes=[];var t,n=Object(s.a)(this.sessionMediaFileVerificationCodes);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.sessionMediaFileVerificationCodes.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Wb=function(){function e(t){if(Object(l.a)(this,e),this.mediaFiles=void 0,this.recordCount=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.mediaFiles)){this.mediaFiles=[];var t,n=Object(s.a)(e.mediaFiles);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.mediaFiles.push(Mb.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}this.recordCount=e.recordCount}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.mediaFiles)){e.mediaFiles=[];var t,n=Object(s.a)(this.mediaFiles);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.mediaFiles.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e.recordCount=this.recordCount,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Vb=function(){function e(t){if(Object(l.a)(this,e),this.sessionMediaFileVerificationCodeId=void 0,this.sessionMediaFileId=void 0,this.sequence=void 0,this.verificationCode=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.sessionMediaFileVerificationCodeId=e.sessionMediaFileVerificationCodeId,this.sessionMediaFileId=e.sessionMediaFileId,this.sequence=e.sequence,this.verificationCode=e.verificationCode)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).sessionMediaFileVerificationCodeId=this.sessionMediaFileVerificationCodeId,e.sessionMediaFileId=this.sessionMediaFileId,e.sequence=this.sequence,e.verificationCode=this.verificationCode,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),_b=function(){function e(t){if(Object(l.a)(this,e),this.sessionParticipantId=void 0,this.sessionId=void 0,this.userId=void 0,this.isInstructor=void 0,this.isCreditAdjusted=void 0,this.userLicenseCreditValues=void 0,this.userLicensePropertyValues=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.sessionParticipantId=e.sessionParticipantId,this.sessionId=e.sessionId,this.userId=e.userId,this.isInstructor=e.isInstructor,this.isCreditAdjusted=e.isCreditAdjusted,Array.isArray(e.userLicenseCreditValues)){this.userLicenseCreditValues=[];var t,n=Object(s.a)(e.userLicenseCreditValues);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.userLicenseCreditValues.push(xS.fromJS(i))}}catch(l){n.e(l)}finally{n.f()}}if(Array.isArray(e.userLicensePropertyValues)){this.userLicensePropertyValues=[];var a,r=Object(s.a)(e.userLicensePropertyValues);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.userLicensePropertyValues.push(PS.fromJS(o))}}catch(l){r.e(l)}finally{r.f()}}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).sessionParticipantId=this.sessionParticipantId,e.sessionId=this.sessionId,e.userId=this.userId,e.isInstructor=this.isInstructor,e.isCreditAdjusted=this.isCreditAdjusted,Array.isArray(this.userLicenseCreditValues)){e.userLicenseCreditValues=[];var t,n=Object(s.a)(this.userLicenseCreditValues);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.userLicenseCreditValues.push(i.toJSON())}}catch(l){n.e(l)}finally{n.f()}}if(Array.isArray(this.userLicensePropertyValues)){e.userLicensePropertyValues=[];var a,r=Object(s.a)(this.userLicensePropertyValues);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.userLicensePropertyValues.push(o.toJSON())}}catch(l){r.e(l)}finally{r.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Yb=function(){function e(t){if(Object(l.a)(this,e),this.sessionParticipantCertificateId=void 0,this.sessionParticipantId=void 0,this.fileId=void 0,this.fileName=void 0,this.fileType=void 0,this.fileExt=void 0,this.uploadDate=void 0,this.integrationId=void 0,this.integrationSessionParticipantCertificateId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.sessionParticipantCertificateId=e.sessionParticipantCertificateId,this.sessionParticipantId=e.sessionParticipantId,this.fileId=e.fileId,this.fileName=e.fileName,this.fileType=e.fileType,this.fileExt=e.fileExt,this.uploadDate=e.uploadDate?new Date(e.uploadDate.toString()):void 0,this.integrationId=e.integrationId,this.integrationSessionParticipantCertificateId=e.integrationSessionParticipantCertificateId)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).sessionParticipantCertificateId=this.sessionParticipantCertificateId,e.sessionParticipantId=this.sessionParticipantId,e.fileId=this.fileId,e.fileName=this.fileName,e.fileType=this.fileType,e.fileExt=this.fileExt,e.uploadDate=this.uploadDate?this.uploadDate.toISOString():void 0,e.integrationId=this.integrationId,e.integrationSessionParticipantCertificateId=this.integrationSessionParticipantCertificateId,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Hb=function(){function e(t){if(Object(l.a)(this,e),this.certificates=void 0,this.recordCount=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.certificates)){this.certificates=[];var t,n=Object(s.a)(e.certificates);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.certificates.push(Yb.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}this.recordCount=e.recordCount}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.certificates)){e.certificates=[];var t,n=Object(s.a)(this.certificates);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.certificates.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e.recordCount=this.recordCount,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),$b=function(){function e(t){if(Object(l.a)(this,e),this.sessionParticipantId=void 0,this.sessionId=void 0,this.userId=void 0,this.userType=void 0,this.userTypeId=void 0,this.personnelId=void 0,this.isInstructor=void 0,this.fullName=void 0,this.firstName=void 0,this.middleName=void 0,this.lastName=void 0,this.avatar=void 0,this.email=void 0,this.locationId=void 0,this.location=void 0,this.isValidated=void 0,this.isCreditAdjusted=void 0,this.registrationDate=void 0,this.completionDate=void 0,this.tentativeDate=void 0,this.validationDate=void 0,this.userLearningPackageDetailId=void 0,this.userLearningPackackageOverallStatus=void 0,this.userLearningPackageProgressId=void 0,this.sessionParticipantStatusId=void 0,this.previousStatusId=void 0,this.isParticipantUnvalidated=void 0,this.certificateDisplayStatusId=void 0,this.calApptId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.sessionParticipantId=e.sessionParticipantId,this.sessionId=e.sessionId,this.userId=e.userId,this.userType=e.userType,this.userTypeId=e.userTypeId,this.personnelId=e.personnelId,this.isInstructor=e.isInstructor,this.fullName=e.fullName,this.firstName=e.firstName,this.middleName=e.middleName,this.lastName=e.lastName,this.avatar=e.avatar,this.email=e.email,this.locationId=e.locationId,this.location=e.location,this.isValidated=e.isValidated,this.isCreditAdjusted=e.isCreditAdjusted,this.registrationDate=e.registrationDate?new Date(e.registrationDate.toString()):void 0,this.completionDate=e.completionDate?new Date(e.completionDate.toString()):void 0,this.tentativeDate=e.tentativeDate?new Date(e.tentativeDate.toString()):void 0,this.validationDate=e.validationDate?new Date(e.validationDate.toString()):void 0,this.userLearningPackageDetailId=e.userLearningPackageDetailId,this.userLearningPackackageOverallStatus=e.userLearningPackackageOverallStatus,this.userLearningPackageProgressId=e.userLearningPackageProgressId,this.sessionParticipantStatusId=e.sessionParticipantStatusId,this.previousStatusId=e.previousStatusId,this.isParticipantUnvalidated=e.isParticipantUnvalidated,this.certificateDisplayStatusId=e.certificateDisplayStatusId,this.calApptId=e.calApptId)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).sessionParticipantId=this.sessionParticipantId,e.sessionId=this.sessionId,e.userId=this.userId,e.userType=this.userType,e.userTypeId=this.userTypeId,e.personnelId=this.personnelId,e.isInstructor=this.isInstructor,e.fullName=this.fullName,e.firstName=this.firstName,e.middleName=this.middleName,e.lastName=this.lastName,e.avatar=this.avatar,e.email=this.email,e.locationId=this.locationId,e.location=this.location,e.isValidated=this.isValidated,e.isCreditAdjusted=this.isCreditAdjusted,e.registrationDate=this.registrationDate?this.registrationDate.toISOString():void 0,e.completionDate=this.completionDate?this.completionDate.toISOString():void 0,e.tentativeDate=this.tentativeDate?this.tentativeDate.toISOString():void 0,e.validationDate=this.validationDate?this.validationDate.toISOString():void 0,e.userLearningPackageDetailId=this.userLearningPackageDetailId,e.userLearningPackackageOverallStatus=this.userLearningPackackageOverallStatus,e.userLearningPackageProgressId=this.userLearningPackageProgressId,e.sessionParticipantStatusId=this.sessionParticipantStatusId,e.previousStatusId=this.previousStatusId,e.isParticipantUnvalidated=this.isParticipantUnvalidated,e.certificateDisplayStatusId=this.certificateDisplayStatusId,e.calApptId=this.calApptId,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Qb=function(){function e(t){if(Object(l.a)(this,e),this.sessionParticipantId=void 0,this.sessionId=void 0,this.userId=void 0,this.userType=void 0,this.userTypeId=void 0,this.personnelId=void 0,this.isInstructor=void 0,this.fullName=void 0,this.firstName=void 0,this.middleName=void 0,this.lastName=void 0,this.avatar=void 0,this.email=void 0,this.locationId=void 0,this.location=void 0,this.isValidated=void 0,this.isCreditAdjusted=void 0,this.registrationDate=void 0,this.completionDate=void 0,this.tentativeDate=void 0,this.validationDate=void 0,this.inactiveDate=void 0,this.sessionDate=void 0,this.userLearningPackageDetailId=void 0,this.userLearningPackackageOverallStatus=void 0,this.userLearningPackageProgressId=void 0,this.sessionParticipantStatusId=void 0,this.previousStatusId=void 0,this.isParticipantUnvalidated=void 0,this.certificateDisplayStatusId=void 0,this.sessionTime=void 0,this.sessionFormat=void 0,this.userLicensesAndBarNumbers=void 0,this.userLicenseCreditValues=void 0,this.userLicensePropertyValues=void 0,this.calApptId=void 0,this.sessionTitle=void 0,this.sessionFormatCategory=void 0,this.isOnlineLearning=void 0,this.hasScormPackage=void 0,this.isIndividualSessionDateAllowed=void 0,this.sessionLocation=void 0,this.sessionStartDate=void 0,this.sessionEndDate=void 0,this.sessionStartTime=void 0,this.sessionEndTime=void 0,this.sessionCancelled=void 0,this.sessionTimezone=void 0,this.certificateURL=void 0,this.clientPosition=void 0,this.departments=void 0,this.positions=void 0,this.practiceAreas=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.sessionParticipantId=e.sessionParticipantId,this.sessionId=e.sessionId,this.userId=e.userId,this.userType=e.userType,this.userTypeId=e.userTypeId,this.personnelId=e.personnelId,this.isInstructor=e.isInstructor,this.fullName=e.fullName,this.firstName=e.firstName,this.middleName=e.middleName,this.lastName=e.lastName,this.avatar=e.avatar,this.email=e.email,this.locationId=e.locationId,this.location=e.location,this.isValidated=e.isValidated,this.isCreditAdjusted=e.isCreditAdjusted,this.registrationDate=e.registrationDate?new Date(e.registrationDate.toString()):void 0,this.completionDate=e.completionDate?new Date(e.completionDate.toString()):void 0,this.tentativeDate=e.tentativeDate?new Date(e.tentativeDate.toString()):void 0,this.validationDate=e.validationDate?new Date(e.validationDate.toString()):void 0,this.inactiveDate=e.inactiveDate?new Date(e.inactiveDate.toString()):void 0,this.sessionDate=e.sessionDate?new Date(e.sessionDate.toString()):void 0,this.userLearningPackageDetailId=e.userLearningPackageDetailId,this.userLearningPackackageOverallStatus=e.userLearningPackackageOverallStatus,this.userLearningPackageProgressId=e.userLearningPackageProgressId,this.sessionParticipantStatusId=e.sessionParticipantStatusId,this.previousStatusId=e.previousStatusId,this.isParticipantUnvalidated=e.isParticipantUnvalidated,this.certificateDisplayStatusId=e.certificateDisplayStatusId,this.sessionTime=e.sessionTime,this.sessionFormat=e.sessionFormat,Array.isArray(e.userLicensesAndBarNumbers)){this.userLicensesAndBarNumbers=[];var t,n=Object(s.a)(e.userLicensesAndBarNumbers);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.userLicensesAndBarNumbers.push(SS.fromJS(i))}}catch(E){n.e(E)}finally{n.f()}}if(Array.isArray(e.userLicenseCreditValues)){this.userLicenseCreditValues=[];var a,r=Object(s.a)(e.userLicenseCreditValues);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.userLicenseCreditValues.push(xS.fromJS(o))}}catch(E){r.e(E)}finally{r.f()}}if(Array.isArray(e.userLicensePropertyValues)){this.userLicensePropertyValues=[];var l,c=Object(s.a)(e.userLicensePropertyValues);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.userLicensePropertyValues.push(PS.fromJS(d))}}catch(E){c.e(E)}finally{c.f()}}if(this.calApptId=e.calApptId,this.sessionTitle=e.sessionTitle,this.sessionFormatCategory=e.sessionFormatCategory,this.isOnlineLearning=e.isOnlineLearning,this.hasScormPackage=e.hasScormPackage,this.isIndividualSessionDateAllowed=e.isIndividualSessionDateAllowed,this.sessionLocation=e.sessionLocation,this.sessionStartDate=e.sessionStartDate?new Date(e.sessionStartDate.toString()):void 0,this.sessionEndDate=e.sessionEndDate?new Date(e.sessionEndDate.toString()):void 0,this.sessionStartTime=e.sessionStartTime,this.sessionEndTime=e.sessionEndTime,this.sessionCancelled=e.sessionCancelled,this.sessionTimezone=e.sessionTimezone,this.certificateURL=e.certificateURL,this.clientPosition=e.clientPosition,Array.isArray(e.departments)){this.departments=[];var u,m=Object(s.a)(e.departments);try{for(m.s();!(u=m.n()).done;){var v=u.value;this.departments.push(sS.fromJS(v))}}catch(E){m.e(E)}finally{m.f()}}if(Array.isArray(e.positions)){this.positions=[];var f,p=Object(s.a)(e.positions);try{for(p.s();!(f=p.n()).done;){var h=f.value;this.positions.push(JS.fromJS(h))}}catch(E){p.e(E)}finally{p.f()}}if(Array.isArray(e.practiceAreas)){this.practiceAreas=[];var y,b=Object(s.a)(e.practiceAreas);try{for(b.s();!(y=b.n()).done;){var g=y.value;this.practiceAreas.push(GS.fromJS(g))}}catch(E){b.e(E)}finally{b.f()}}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).sessionParticipantId=this.sessionParticipantId,e.sessionId=this.sessionId,e.userId=this.userId,e.userType=this.userType,e.userTypeId=this.userTypeId,e.personnelId=this.personnelId,e.isInstructor=this.isInstructor,e.fullName=this.fullName,e.firstName=this.firstName,e.middleName=this.middleName,e.lastName=this.lastName,e.avatar=this.avatar,e.email=this.email,e.locationId=this.locationId,e.location=this.location,e.isValidated=this.isValidated,e.isCreditAdjusted=this.isCreditAdjusted,e.registrationDate=this.registrationDate?this.registrationDate.toISOString():void 0,e.completionDate=this.completionDate?this.completionDate.toISOString():void 0,e.tentativeDate=this.tentativeDate?this.tentativeDate.toISOString():void 0,e.validationDate=this.validationDate?this.validationDate.toISOString():void 0,e.inactiveDate=this.inactiveDate?this.inactiveDate.toISOString():void 0,e.sessionDate=this.sessionDate?this.sessionDate.toISOString():void 0,e.userLearningPackageDetailId=this.userLearningPackageDetailId,e.userLearningPackackageOverallStatus=this.userLearningPackackageOverallStatus,e.userLearningPackageProgressId=this.userLearningPackageProgressId,e.sessionParticipantStatusId=this.sessionParticipantStatusId,e.previousStatusId=this.previousStatusId,e.isParticipantUnvalidated=this.isParticipantUnvalidated,e.certificateDisplayStatusId=this.certificateDisplayStatusId,e.sessionTime=this.sessionTime,e.sessionFormat=this.sessionFormat,Array.isArray(this.userLicensesAndBarNumbers)){e.userLicensesAndBarNumbers=[];var t,n=Object(s.a)(this.userLicensesAndBarNumbers);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.userLicensesAndBarNumbers.push(i.toJSON())}}catch(E){n.e(E)}finally{n.f()}}if(Array.isArray(this.userLicenseCreditValues)){e.userLicenseCreditValues=[];var a,r=Object(s.a)(this.userLicenseCreditValues);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.userLicenseCreditValues.push(o.toJSON())}}catch(E){r.e(E)}finally{r.f()}}if(Array.isArray(this.userLicensePropertyValues)){e.userLicensePropertyValues=[];var l,c=Object(s.a)(this.userLicensePropertyValues);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.userLicensePropertyValues.push(d.toJSON())}}catch(E){c.e(E)}finally{c.f()}}if(e.calApptId=this.calApptId,e.sessionTitle=this.sessionTitle,e.sessionFormatCategory=this.sessionFormatCategory,e.isOnlineLearning=this.isOnlineLearning,e.hasScormPackage=this.hasScormPackage,e.isIndividualSessionDateAllowed=this.isIndividualSessionDateAllowed,e.sessionLocation=this.sessionLocation,e.sessionStartDate=this.sessionStartDate?this.sessionStartDate.toISOString():void 0,e.sessionEndDate=this.sessionEndDate?this.sessionEndDate.toISOString():void 0,e.sessionStartTime=this.sessionStartTime,e.sessionEndTime=this.sessionEndTime,e.sessionCancelled=this.sessionCancelled,e.sessionTimezone=this.sessionTimezone,e.certificateURL=this.certificateURL,e.clientPosition=this.clientPosition,Array.isArray(this.departments)){e.departments=[];var u,m=Object(s.a)(this.departments);try{for(m.s();!(u=m.n()).done;){var v=u.value;e.departments.push(v.toJSON())}}catch(E){m.e(E)}finally{m.f()}}if(Array.isArray(this.positions)){e.positions=[];var f,p=Object(s.a)(this.positions);try{for(p.s();!(f=p.n()).done;){var h=f.value;e.positions.push(h.toJSON())}}catch(E){p.e(E)}finally{p.f()}}if(Array.isArray(this.practiceAreas)){e.practiceAreas=[];var y,b=Object(s.a)(this.practiceAreas);try{for(b.s();!(y=b.n()).done;){var g=y.value;e.practiceAreas.push(g.toJSON())}}catch(E){b.e(E)}finally{b.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Zb=function(){function e(t){if(Object(l.a)(this,e),this.sessionParticipantId=void 0,this.sessionId=void 0,this.userId=void 0,this.isInstructor=void 0,this.firstName=void 0,this.middleName=void 0,this.lastName=void 0,this.email=void 0,this.sessionParticipantStatusId=void 0,this.userLicenseDetails=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&(this.sessionParticipantId=e.sessionParticipantId,this.sessionId=e.sessionId,this.userId=e.userId,this.isInstructor=e.isInstructor,this.firstName=e.firstName,this.middleName=e.middleName,this.lastName=e.lastName,this.email=e.email,this.sessionParticipantStatusId=e.sessionParticipantStatusId,Array.isArray(e.userLicenseDetails))){this.userLicenseDetails=[];var t,n=Object(s.a)(e.userLicenseDetails);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.userLicenseDetails.push(eg.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).sessionParticipantId=this.sessionParticipantId,e.sessionId=this.sessionId,e.userId=this.userId,e.isInstructor=this.isInstructor,e.firstName=this.firstName,e.middleName=this.middleName,e.lastName=this.lastName,e.email=this.email,e.sessionParticipantStatusId=this.sessionParticipantStatusId,Array.isArray(this.userLicenseDetails)){e.userLicenseDetails=[];var t,n=Object(s.a)(this.userLicenseDetails);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.userLicenseDetails.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Xb=function(){function e(t){if(Object(l.a)(this,e),this.sessionParticipantId=void 0,this.licenseId=void 0,this.licenseName=void 0,this.creditId=void 0,this.creditName=void 0,this.value=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.sessionParticipantId=e.sessionParticipantId,this.licenseId=e.licenseId,this.licenseName=e.licenseName,this.creditId=e.creditId,this.creditName=e.creditName,this.value=e.value)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).sessionParticipantId=this.sessionParticipantId,e.licenseId=this.licenseId,e.licenseName=this.licenseName,e.creditId=this.creditId,e.creditName=this.creditName,e.value=this.value,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Kb=function(){function e(t){if(Object(l.a)(this,e),this.licenseId=void 0,this.name=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.licenseId=e.licenseId,this.name=e.name)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).licenseId=this.licenseId,e.name=this.name,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),eg=function(){function e(t){if(Object(l.a)(this,e),this.licenseId=void 0,this.licenseName=void 0,this.barNumber=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.licenseId=e.licenseId,this.licenseName=e.licenseName,this.barNumber=e.barNumber)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).licenseId=this.licenseId,e.licenseName=this.licenseName,e.barNumber=this.barNumber,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),tg=function(){function e(t){if(Object(l.a)(this,e),this.sessionParticipantId=void 0,this.licenseId=void 0,this.propertyId=void 0,this.propertyLabel=void 0,this.propertyValue=void 0,this.valueBit=void 0,this.valueInt=void 0,this.valueDecimal=void 0,this.valueDate=void 0,this.valueChar=void 0,this.valueOption=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.sessionParticipantId=e.sessionParticipantId,this.licenseId=e.licenseId,this.propertyId=e.propertyId,this.propertyLabel=e.propertyLabel,this.propertyValue=e.propertyValue,this.valueBit=e.valueBit,this.valueInt=e.valueInt,this.valueDecimal=e.valueDecimal,this.valueDate=e.valueDate?new Date(e.valueDate.toString()):void 0,this.valueChar=e.valueChar,this.valueOption=e.valueOption)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).sessionParticipantId=this.sessionParticipantId,e.licenseId=this.licenseId,e.propertyId=this.propertyId,e.propertyLabel=this.propertyLabel,e.propertyValue=this.propertyValue,e.valueBit=this.valueBit,e.valueInt=this.valueInt,e.valueDecimal=this.valueDecimal,e.valueDate=this.valueDate?this.valueDate.toISOString():void 0,e.valueChar=this.valueChar,e.valueOption=this.valueOption,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),ng=function(){function e(t){if(Object(l.a)(this,e),this.sessionParticipants=void 0,this.recordCount=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.sessionParticipants)){this.sessionParticipants=[];var t,n=Object(s.a)(e.sessionParticipants);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.sessionParticipants.push(Qb.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}this.recordCount=e.recordCount}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.sessionParticipants)){e.sessionParticipants=[];var t,n=Object(s.a)(this.sessionParticipants);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.sessionParticipants.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e.recordCount=this.recordCount,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),ig=function(){function e(t){if(Object(l.a)(this,e),this.sessionParticipantsLocation=void 0,this.recordCount=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.sessionParticipantsLocation)){this.sessionParticipantsLocation=[];var t,n=Object(s.a)(e.sessionParticipantsLocation);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.sessionParticipantsLocation.push(ag.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}this.recordCount=e.recordCount}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.sessionParticipantsLocation)){e.sessionParticipantsLocation=[];var t,n=Object(s.a)(this.sessionParticipantsLocation);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.sessionParticipantsLocation.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e.recordCount=this.recordCount,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),ag=function(){function e(t){if(Object(l.a)(this,e),this.locationId=void 0,this.name=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.locationId=e.locationId,this.name=e.name)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).locationId=this.locationId,e.name=this.name,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),rg=function(){function e(t){if(Object(l.a)(this,e),this.programFormat=void 0,this.participationMethod=void 0,this.difficultyLevel=void 0,this.facultyParticipation=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&(this.programFormat=e.programFormat,this.participationMethod=e.participationMethod,this.difficultyLevel=e.difficultyLevel,Array.isArray(e.facultyParticipation))){this.facultyParticipation=[];var t,n=Object(s.a)(e.facultyParticipation);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.facultyParticipation.push(i)}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).programFormat=this.programFormat,e.participationMethod=this.participationMethod,e.difficultyLevel=this.difficultyLevel,Array.isArray(this.facultyParticipation)){e.facultyParticipation=[];var t,n=Object(s.a)(this.facultyParticipation);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.facultyParticipation.push(i)}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),og=function(){function e(t){if(Object(l.a)(this,e),this.sessionParticipantId=void 0,this.sessionId=void 0,this.userId=void 0,this.userType=void 0,this.userTypeId=void 0,this.isInstructor=void 0,this.firstName=void 0,this.middleName=void 0,this.lastName=void 0,this.avatar=void 0,this.locationId=void 0,this.location=void 0,this.isValidated=void 0,this.sessionTime=void 0,this.sessionFormat=void 0,this.completionDate=void 0,this.sessionDate=void 0,this.sessionParticipantStatusId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.sessionParticipantId=e.sessionParticipantId,this.sessionId=e.sessionId,this.userId=e.userId,this.userType=e.userType,this.userTypeId=e.userTypeId,this.isInstructor=e.isInstructor,this.firstName=e.firstName,this.middleName=e.middleName,this.lastName=e.lastName,this.avatar=e.avatar,this.locationId=e.locationId,this.location=e.location,this.isValidated=e.isValidated,this.sessionTime=e.sessionTime,this.sessionFormat=e.sessionFormat,this.completionDate=e.completionDate?new Date(e.completionDate.toString()):void 0,this.sessionDate=e.sessionDate?new Date(e.sessionDate.toString()):void 0,this.sessionParticipantStatusId=e.sessionParticipantStatusId)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).sessionParticipantId=this.sessionParticipantId,e.sessionId=this.sessionId,e.userId=this.userId,e.userType=this.userType,e.userTypeId=this.userTypeId,e.isInstructor=this.isInstructor,e.firstName=this.firstName,e.middleName=this.middleName,e.lastName=this.lastName,e.avatar=this.avatar,e.locationId=this.locationId,e.location=this.location,e.isValidated=this.isValidated,e.sessionTime=this.sessionTime,e.sessionFormat=this.sessionFormat,e.completionDate=this.completionDate?this.completionDate.toISOString():void 0,e.sessionDate=this.sessionDate?this.sessionDate.toISOString():void 0,e.sessionParticipantStatusId=this.sessionParticipantStatusId,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}();!function(e){e[e.Registered=1]="Registered",e[e.Validated=2]="Validated",e[e.Tentative=3]="Tentative",e[e.Pending=4]="Pending",e[e.Excused=5]="Excused",e[e.Unexcused=6]="Unexcused",e[e.InProgress=7]="InProgress",e[e.Disqualified=8]="Disqualified",e[e.Declined=9]="Declined",e[e.Failed=10]="Failed",e[e.DisplayOnly=11]="DisplayOnly"}(ub||(ub={}));var sg,lg=function(){function e(t){if(Object(l.a)(this,e),this.sessionParticipantId=void 0,this.licenseId=void 0,this.creditId=void 0,this.creditName=void 0,this.value=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.sessionParticipantId=e.sessionParticipantId,this.licenseId=e.licenseId,this.creditId=e.creditId,this.creditName=e.creditName,this.value=e.value)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).sessionParticipantId=this.sessionParticipantId,e.licenseId=this.licenseId,e.creditId=this.creditId,e.creditName=this.creditName,e.value=this.value,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),cg=function(){function e(t){if(Object(l.a)(this,e),this.sessionParticipantId=void 0,this.licenseId=void 0,this.propertyId=void 0,this.propertyLabel=void 0,this.propertyValue=void 0,this.valueBit=void 0,this.valueInt=void 0,this.valueDecimal=void 0,this.valueDate=void 0,this.valueChar=void 0,this.valueOption=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.sessionParticipantId=e.sessionParticipantId,this.licenseId=e.licenseId,this.propertyId=e.propertyId,this.propertyLabel=e.propertyLabel,this.propertyValue=e.propertyValue,this.valueBit=e.valueBit,this.valueInt=e.valueInt,this.valueDecimal=e.valueDecimal,this.valueDate=e.valueDate?new Date(e.valueDate.toString()):void 0,this.valueChar=e.valueChar,this.valueOption=e.valueOption)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).sessionParticipantId=this.sessionParticipantId,e.licenseId=this.licenseId,e.propertyId=this.propertyId,e.propertyLabel=this.propertyLabel,e.propertyValue=this.propertyValue,e.valueBit=this.valueBit,e.valueInt=this.valueInt,e.valueDecimal=this.valueDecimal,e.valueDate=this.valueDate?this.valueDate.toISOString():void 0,e.valueChar=this.valueChar,e.valueOption=this.valueOption,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),dg=function(){function e(t){if(Object(l.a)(this,e),this.sessionParticipantId=void 0,this.sessionId=void 0,this.userId=void 0,this.firstName=void 0,this.middleName=void 0,this.lastName=void 0,this.phone=void 0,this.email=void 0,this.licenseBarNumber=void 0,this.completionDate=void 0,this.caLawParticipatory=void 0,this.signatureUrl=void 0,this.ilLawParticipationMethod=void 0,this.njLawProgramFormat=void 0,this.vaLawDeliveryMethod=void 0,this.nyLawProperties=void 0,this.userLicenseCreditValues=void 0,this.userLicensePropertyValues=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.sessionParticipantId=e.sessionParticipantId,this.sessionId=e.sessionId,this.userId=e.userId,this.firstName=e.firstName,this.middleName=e.middleName,this.lastName=e.lastName,this.phone=e.phone,this.email=e.email,this.licenseBarNumber=e.licenseBarNumber,this.completionDate=e.completionDate?new Date(e.completionDate.toString()):void 0,this.caLawParticipatory=e.caLawParticipatory,this.signatureUrl=e.signatureUrl,this.ilLawParticipationMethod=e.ilLawParticipationMethod,this.njLawProgramFormat=e.njLawProgramFormat,this.vaLawDeliveryMethod=e.vaLawDeliveryMethod,this.nyLawProperties=e.nyLawProperties?rg.fromJS(e.nyLawProperties):void 0,Array.isArray(e.userLicenseCreditValues)){this.userLicenseCreditValues=[];var t,n=Object(s.a)(e.userLicenseCreditValues);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.userLicenseCreditValues.push(Xb.fromJS(i))}}catch(l){n.e(l)}finally{n.f()}}if(Array.isArray(e.userLicensePropertyValues)){this.userLicensePropertyValues=[];var a,r=Object(s.a)(e.userLicensePropertyValues);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.userLicensePropertyValues.push(tg.fromJS(o))}}catch(l){r.e(l)}finally{r.f()}}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).sessionParticipantId=this.sessionParticipantId,e.sessionId=this.sessionId,e.userId=this.userId,e.firstName=this.firstName,e.middleName=this.middleName,e.lastName=this.lastName,e.phone=this.phone,e.email=this.email,e.licenseBarNumber=this.licenseBarNumber,e.completionDate=this.completionDate?this.completionDate.toISOString():void 0,e.caLawParticipatory=this.caLawParticipatory,e.signatureUrl=this.signatureUrl,e.ilLawParticipationMethod=this.ilLawParticipationMethod,e.njLawProgramFormat=this.njLawProgramFormat,e.vaLawDeliveryMethod=this.vaLawDeliveryMethod,e.nyLawProperties=this.nyLawProperties?this.nyLawProperties.toJSON():void 0,Array.isArray(this.userLicenseCreditValues)){e.userLicenseCreditValues=[];var t,n=Object(s.a)(this.userLicenseCreditValues);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.userLicenseCreditValues.push(i.toJSON())}}catch(l){n.e(l)}finally{n.f()}}if(Array.isArray(this.userLicensePropertyValues)){e.userLicensePropertyValues=[];var a,r=Object(s.a)(this.userLicensePropertyValues);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.userLicensePropertyValues.push(o.toJSON())}}catch(l){r.e(l)}finally{r.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),ug=function(){function e(t){if(Object(l.a)(this,e),this.frequency=void 0,this.interval=void 0,this.day=void 0,this.dayOfWeek=void 0,this.week=void 0,this.daysOfWeek=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&(this.frequency=e.frequency,this.interval=e.interval,this.day=e.day,this.dayOfWeek=e.dayOfWeek,this.week=e.week,Array.isArray(e.daysOfWeek))){this.daysOfWeek=[];var t,n=Object(s.a)(e.daysOfWeek);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.daysOfWeek.push(i)}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).frequency=this.frequency,e.interval=this.interval,e.day=this.day,e.dayOfWeek=this.dayOfWeek,e.week=this.week,Array.isArray(this.daysOfWeek)){e.daysOfWeek=[];var t,n=Object(s.a)(this.daysOfWeek);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.daysOfWeek.push(i)}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),mg=function(){function e(t){if(Object(l.a)(this,e),this.sessionId=void 0,this.sessionIds=void 0,this.isInstructor=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.sessionId=e.sessionId,Array.isArray(e.sessionIds)){this.sessionIds=[];var t,n=Object(s.a)(e.sessionIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.sessionIds.push(i)}}catch(a){n.e(a)}finally{n.f()}}this.isInstructor=e.isInstructor}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).sessionId=this.sessionId,Array.isArray(this.sessionIds)){e.sessionIds=[];var t,n=Object(s.a)(this.sessionIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.sessionIds.push(i)}}catch(a){n.e(a)}finally{n.f()}}return e.isInstructor=this.isInstructor,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),vg=function(){function e(t){if(Object(l.a)(this,e),this.sessionId=void 0,this.sessionParticipantId=void 0,this.userId=void 0,this.isInstructor=void 0,this.isValidated=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.sessionId=e.sessionId,this.sessionParticipantId=e.sessionParticipantId,this.userId=e.userId,this.isInstructor=e.isInstructor,this.isValidated=e.isValidated)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).sessionId=this.sessionId,e.sessionParticipantId=this.sessionParticipantId,e.userId=this.userId,e.isInstructor=this.isInstructor,e.isValidated=this.isValidated,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),fg=function(){function e(t){if(Object(l.a)(this,e),this.licenseId=void 0,this.licenseName=void 0,this.isLinked=void 0,this.subjectAreaRegulatoryCredits=void 0,this.subjectAreaRegulatoryProperties=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.licenseId=e.licenseId,this.licenseName=e.licenseName,this.isLinked=e.isLinked,Array.isArray(e.subjectAreaRegulatoryCredits)){this.subjectAreaRegulatoryCredits=[];var t,n=Object(s.a)(e.subjectAreaRegulatoryCredits);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.subjectAreaRegulatoryCredits.push(Rg.fromJS(i))}}catch(l){n.e(l)}finally{n.f()}}if(Array.isArray(e.subjectAreaRegulatoryProperties)){this.subjectAreaRegulatoryProperties=[];var a,r=Object(s.a)(e.subjectAreaRegulatoryProperties);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.subjectAreaRegulatoryProperties.push(Jg.fromJS(o))}}catch(l){r.e(l)}finally{r.f()}}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).licenseId=this.licenseId,e.licenseName=this.licenseName,e.isLinked=this.isLinked,Array.isArray(this.subjectAreaRegulatoryCredits)){e.subjectAreaRegulatoryCredits=[];var t,n=Object(s.a)(this.subjectAreaRegulatoryCredits);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.subjectAreaRegulatoryCredits.push(i.toJSON())}}catch(l){n.e(l)}finally{n.f()}}if(Array.isArray(this.subjectAreaRegulatoryProperties)){e.subjectAreaRegulatoryProperties=[];var a,r=Object(s.a)(this.subjectAreaRegulatoryProperties);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.subjectAreaRegulatoryProperties.push(o.toJSON())}}catch(l){r.e(l)}finally{r.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),pg=function(){function e(t){if(Object(l.a)(this,e),this.sessionId=void 0,this.title=void 0,this.provider=void 0,this.courseFormatId=void 0,this.courseFormat=void 0,this.formatCategory=void 0,this.courseTitle=void 0,this.startDate=void 0,this.endDate=void 0,this.startTime=void 0,this.endTime=void 0,this.timeZone=void 0,this.isIndividualSessionDateAllowed=void 0,this.areQuestionsAllowed=void 0,this.location=void 0,this.approvalCodes=void 0,this.sessionInstructors=void 0,this.sessionParticipants=void 0,this.sessionLicenses=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.sessionId=e.sessionId,this.title=e.title,this.provider=e.provider,this.courseFormatId=e.courseFormatId,this.courseFormat=e.courseFormat,this.formatCategory=e.formatCategory,this.courseTitle=e.courseTitle,this.startDate=e.startDate?new Date(e.startDate.toString()):void 0,this.endDate=e.endDate?new Date(e.endDate.toString()):void 0,this.startTime=e.startTime,this.endTime=e.endTime,this.timeZone=e.timeZone,this.isIndividualSessionDateAllowed=e.isIndividualSessionDateAllowed,this.areQuestionsAllowed=e.areQuestionsAllowed,this.location=e.location?zb.fromJS(e.location):void 0,Array.isArray(e.approvalCodes)){this.approvalCodes=[];var t,n=Object(s.a)(e.approvalCodes);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.approvalCodes.push(Jb.fromJS(i))}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(e.sessionInstructors)){this.sessionInstructors=[];var a,r=Object(s.a)(e.sessionInstructors);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.sessionInstructors.push(dg.fromJS(o))}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(e.sessionParticipants)){this.sessionParticipants=[];var l,c=Object(s.a)(e.sessionParticipants);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.sessionParticipants.push(dg.fromJS(d))}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(e.sessionLicenses)){this.sessionLicenses=[];var u,m=Object(s.a)(e.sessionLicenses);try{for(m.s();!(u=m.n()).done;){var v=u.value;this.sessionLicenses.push(Fb.fromJS(v))}}catch(f){m.e(f)}finally{m.f()}}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).sessionId=this.sessionId,e.title=this.title,e.provider=this.provider,e.courseFormatId=this.courseFormatId,e.courseFormat=this.courseFormat,e.formatCategory=this.formatCategory,e.courseTitle=this.courseTitle,e.startDate=this.startDate?this.startDate.toISOString():void 0,e.endDate=this.endDate?this.endDate.toISOString():void 0,e.startTime=this.startTime,e.endTime=this.endTime,e.timeZone=this.timeZone,e.isIndividualSessionDateAllowed=this.isIndividualSessionDateAllowed,e.areQuestionsAllowed=this.areQuestionsAllowed,e.location=this.location?this.location.toJSON():void 0,Array.isArray(this.approvalCodes)){e.approvalCodes=[];var t,n=Object(s.a)(this.approvalCodes);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.approvalCodes.push(i.toJSON())}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(this.sessionInstructors)){e.sessionInstructors=[];var a,r=Object(s.a)(this.sessionInstructors);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.sessionInstructors.push(o.toJSON())}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(this.sessionParticipants)){e.sessionParticipants=[];var l,c=Object(s.a)(this.sessionParticipants);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.sessionParticipants.push(d.toJSON())}}catch(f){c.e(f)}finally{c.f()}}if(Array.isArray(this.sessionLicenses)){e.sessionLicenses=[];var u,m=Object(s.a)(this.sessionLicenses);try{for(m.s();!(u=m.n()).done;){var v=u.value;e.sessionLicenses.push(v.toJSON())}}catch(f){m.e(f)}finally{m.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),hg=function(){function e(t){if(Object(l.a)(this,e),this.certificateTemplate=void 0,this.sessionDetails=void 0,this.licenseId=void 0,this.userId=void 0,this.isInstructor=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.certificateTemplate=e.certificateTemplate?Mn.fromJS(e.certificateTemplate):void 0,this.sessionDetails=e.sessionDetails?pg.fromJS(e.sessionDetails):void 0,this.licenseId=e.licenseId,this.userId=e.userId,this.isInstructor=e.isInstructor)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).certificateTemplate=this.certificateTemplate?this.certificateTemplate.toJSON():void 0,e.sessionDetails=this.sessionDetails?this.sessionDetails.toJSON():void 0,e.licenseId=this.licenseId,e.userId=this.userId,e.isInstructor=this.isInstructor,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}();!function(e){e[e.Single=1]="Single",e[e.Simultaneous=2]="Simultaneous",e[e.Multipart=3]="Multipart",e[e.Recurring=4]="Recurring"}(sg||(sg={}));var yg,bg=function(){function e(t){if(Object(l.a)(this,e),this.departmentId=void 0,this.name=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.departmentId=e.departmentId,this.name=e.name)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).departmentId=this.departmentId,e.name=this.name,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),gg=function(){function e(t){if(Object(l.a)(this,e),this.sessionId=void 0,this.userId=void 0,this.sessionParticipantId=void 0,this.firstName=void 0,this.middleName=void 0,this.lastName=void 0,this.licenseId=void 0,this.licenseName=void 0,this.applyTo=void 0,this.applyToPeriodEndDate=void 0,this.sessionStartDate=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.sessionId=e.sessionId,this.userId=e.userId,this.sessionParticipantId=e.sessionParticipantId,this.firstName=e.firstName,this.middleName=e.middleName,this.lastName=e.lastName,this.licenseId=e.licenseId,this.licenseName=e.licenseName,this.applyTo=e.applyTo?new Date(e.applyTo.toString()):void 0,this.applyToPeriodEndDate=e.applyToPeriodEndDate,this.sessionStartDate=e.sessionStartDate?new Date(e.sessionStartDate.toString()):void 0)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).sessionId=this.sessionId,e.userId=this.userId,e.sessionParticipantId=this.sessionParticipantId,e.firstName=this.firstName,e.middleName=this.middleName,e.lastName=this.lastName,e.licenseId=this.licenseId,e.licenseName=this.licenseName,e.applyTo=this.applyTo?this.applyTo.toISOString():void 0,e.applyToPeriodEndDate=this.applyToPeriodEndDate,e.sessionStartDate=this.sessionStartDate?this.sessionStartDate.toISOString():void 0,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Eg=function(){function e(t){if(Object(l.a)(this,e),this.userId=void 0,this.firstName=void 0,this.lastName=void 0,this.middleName=void 0,this.avatar=void 0,this.email=void 0,this.priorityNumber=void 0,this.waitlistDate=void 0,this.location=void 0,this.userTypeId=void 0,this.userType=void 0,this.sessionId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.userId=e.userId,this.firstName=e.firstName,this.lastName=e.lastName,this.middleName=e.middleName,this.avatar=e.avatar,this.email=e.email,this.priorityNumber=e.priorityNumber,this.waitlistDate=e.waitlistDate?new Date(e.waitlistDate.toString()):void 0,this.location=e.location,this.userTypeId=e.userTypeId,this.userType=e.userType,this.sessionId=e.sessionId)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).userId=this.userId,e.firstName=this.firstName,e.lastName=this.lastName,e.middleName=this.middleName,e.avatar=this.avatar,e.email=this.email,e.priorityNumber=this.priorityNumber,e.waitlistDate=this.waitlistDate?this.waitlistDate.toISOString():void 0,e.location=this.location,e.userTypeId=this.userTypeId,e.userType=this.userType,e.sessionId=this.sessionId,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Ig=function(){function e(t){if(Object(l.a)(this,e),this.sessionWaitlistedUsers=void 0,this.recordCount=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.sessionWaitlistedUsers)){this.sessionWaitlistedUsers=[];var t,n=Object(s.a)(e.sessionWaitlistedUsers);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.sessionWaitlistedUsers.push(Eg.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}this.recordCount=e.recordCount}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.sessionWaitlistedUsers)){e.sessionWaitlistedUsers=[];var t,n=Object(s.a)(this.sessionWaitlistedUsers);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.sessionWaitlistedUsers.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e.recordCount=this.recordCount,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Sg=function(){function e(t){if(Object(l.a)(this,e),this.attendanceFormId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.attendanceFormId=e.attendanceFormId)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).attendanceFormId=this.attendanceFormId,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Og=function(){function e(t){if(Object(l.a)(this,e),this.userId=void 0,this.userSavedFilterId=void 0,this.courseSavedFilterId=void 0,this.calendarSavedFilterId=void 0,this.catalogSavedFilterId=void 0,this.activitySavedFilterId=void 0,this.complianceLicenseeSavedFilterId=void 0,this.learningPlanSavedFilterId=void 0,this.securityUserSavedFilterId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.userId=e.userId,this.userSavedFilterId=e.userSavedFilterId,this.courseSavedFilterId=e.courseSavedFilterId,this.calendarSavedFilterId=e.calendarSavedFilterId,this.catalogSavedFilterId=e.catalogSavedFilterId,this.activitySavedFilterId=e.activitySavedFilterId,this.complianceLicenseeSavedFilterId=e.complianceLicenseeSavedFilterId,this.learningPlanSavedFilterId=e.learningPlanSavedFilterId,this.securityUserSavedFilterId=e.securityUserSavedFilterId)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).userId=this.userId,e.userSavedFilterId=this.userSavedFilterId,e.courseSavedFilterId=this.courseSavedFilterId,e.calendarSavedFilterId=this.calendarSavedFilterId,e.catalogSavedFilterId=this.catalogSavedFilterId,e.activitySavedFilterId=this.activitySavedFilterId,e.complianceLicenseeSavedFilterId=this.complianceLicenseeSavedFilterId,e.learningPlanSavedFilterId=this.learningPlanSavedFilterId,e.securityUserSavedFilterId=this.securityUserSavedFilterId,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Cg=function(){function e(t){if(Object(l.a)(this,e),this.label=void 0,this.value=void 0,this.sequenceNumber=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.label=e.label,this.value=e.value,this.sequenceNumber=e.sequenceNumber)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).label=this.label,e.value=this.value,e.sequenceNumber=this.sequenceNumber,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),jg=function(){function e(t){if(Object(l.a)(this,e),this.countryId=void 0,this.stateId=void 0,this.name=void 0,this.defaultTimezoneId=void 0,this.isActive=void 0,this.code=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.countryId=e.countryId,this.stateId=e.stateId,this.name=e.name,this.defaultTimezoneId=e.defaultTimezoneId,this.isActive=e.isActive,this.code=e.code)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).countryId=this.countryId,e.stateId=this.stateId,e.name=this.name,e.defaultTimezoneId=this.defaultTimezoneId,e.isActive=this.isActive,e.code=this.code,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),xg=function(){function e(t){if(Object(l.a)(this,e),this.states=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&Array.isArray(e.states)){this.states=[];var t,n=Object(s.a)(e.states);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.states.push(jg.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.states)){e.states=[];var t,n=Object(s.a)(this.states);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.states.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Ag=function(){function e(t){if(Object(l.a)(this,e),this.statementScheduleId=void 0,this.isActive=void 0,this.frequency=void 0,this.jobId=void 0,this.lastEmailSent=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.statementScheduleId=e.statementScheduleId,this.isActive=e.isActive,this.frequency=e.frequency,this.jobId=e.jobId,this.lastEmailSent=e.lastEmailSent?new Date(e.lastEmailSent.toString()):void 0)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).statementScheduleId=this.statementScheduleId,e.isActive=this.isActive,e.frequency=this.frequency,e.jobId=this.jobId,e.lastEmailSent=this.lastEmailSent?this.lastEmailSent.toISOString():void 0,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Tg=function(){function e(t){if(Object(l.a)(this,e),this.statementScheduleId=void 0,this.isActive=void 0,this.licenseIds=void 0,this.emailTemplateId=void 0,this.template=void 0,this.frequency=void 0,this.time=void 0,this.timezoneId=void 0,this.timezone=void 0,this.recurDayOfWeek=void 0,this.monthlyOption=void 0,this.monthlyDay=void 0,this.monthlyDayOfMonth=void 0,this.monthlyDayOfWeek=void 0,this.numberOfMonths=void 0,this.monthlyDayWithInterval=void 0,this.numberOfMonthsInterval=void 0,this.dayOfMonthWithInterval=void 0,this.dayOfWeekWithInterval=void 0,this.jobId=void 0,this.sendToAdmin=void 0,this.sendToAdminAssistant=void 0,this.sendSeparateCCCopy=void 0,this.recipients=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.statementScheduleId=e.statementScheduleId,this.isActive=e.isActive,this.licenseIds=e.licenseIds,this.emailTemplateId=e.emailTemplateId,this.template=e.template?Ts.fromJS(e.template):void 0,this.frequency=e.frequency,this.time=e.time,this.timezoneId=e.timezoneId,this.timezone=e.timezone?Yg.fromJS(e.timezone):void 0,Array.isArray(e.recurDayOfWeek)){this.recurDayOfWeek=[];var t,n=Object(s.a)(e.recurDayOfWeek);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.recurDayOfWeek.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(this.monthlyOption=e.monthlyOption,Array.isArray(e.monthlyDay)){this.monthlyDay=[];var a,r=Object(s.a)(e.monthlyDay);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.monthlyDay.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(this.monthlyDayOfMonth=e.monthlyDayOfMonth,this.monthlyDayOfWeek=e.monthlyDayOfWeek,this.numberOfMonths=e.numberOfMonths,Array.isArray(e.monthlyDayWithInterval)){this.monthlyDayWithInterval=[];var l,c=Object(s.a)(e.monthlyDayWithInterval);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.monthlyDayWithInterval.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(this.numberOfMonthsInterval=e.numberOfMonthsInterval,this.dayOfMonthWithInterval=e.dayOfMonthWithInterval,this.dayOfWeekWithInterval=e.dayOfWeekWithInterval,this.jobId=e.jobId,this.sendToAdmin=e.sendToAdmin,this.sendToAdminAssistant=e.sendToAdminAssistant,this.sendSeparateCCCopy=e.sendSeparateCCCopy,Array.isArray(e.recipients)){this.recipients=[];var u,m=Object(s.a)(e.recipients);try{for(m.s();!(u=m.n()).done;){var v=u.value;this.recipients.push(Ss.fromJS(v))}}catch(f){m.e(f)}finally{m.f()}}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).statementScheduleId=this.statementScheduleId,e.isActive=this.isActive,e.licenseIds=this.licenseIds,e.emailTemplateId=this.emailTemplateId,e.template=this.template?this.template.toJSON():void 0,e.frequency=this.frequency,e.time=this.time,e.timezoneId=this.timezoneId,e.timezone=this.timezone?this.timezone.toJSON():void 0,Array.isArray(this.recurDayOfWeek)){e.recurDayOfWeek=[];var t,n=Object(s.a)(this.recurDayOfWeek);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.recurDayOfWeek.push(i)}}catch(f){n.e(f)}finally{n.f()}}if(e.monthlyOption=this.monthlyOption,Array.isArray(this.monthlyDay)){e.monthlyDay=[];var a,r=Object(s.a)(this.monthlyDay);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.monthlyDay.push(o)}}catch(f){r.e(f)}finally{r.f()}}if(e.monthlyDayOfMonth=this.monthlyDayOfMonth,e.monthlyDayOfWeek=this.monthlyDayOfWeek,e.numberOfMonths=this.numberOfMonths,Array.isArray(this.monthlyDayWithInterval)){e.monthlyDayWithInterval=[];var l,c=Object(s.a)(this.monthlyDayWithInterval);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.monthlyDayWithInterval.push(d)}}catch(f){c.e(f)}finally{c.f()}}if(e.numberOfMonthsInterval=this.numberOfMonthsInterval,e.dayOfMonthWithInterval=this.dayOfMonthWithInterval,e.dayOfWeekWithInterval=this.dayOfWeekWithInterval,e.jobId=this.jobId,e.sendToAdmin=this.sendToAdmin,e.sendToAdminAssistant=this.sendToAdminAssistant,e.sendSeparateCCCopy=this.sendSeparateCCCopy,Array.isArray(this.recipients)){e.recipients=[];var u,m=Object(s.a)(this.recipients);try{for(m.s();!(u=m.n()).done;){var v=u.value;e.recipients.push(v.toJSON())}}catch(f){m.e(f)}finally{m.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),wg=function(){function e(t){if(Object(l.a)(this,e),this.type=void 0,this.title=void 0,this.status=void 0,this.detail=void 0,this.instance=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t]);this.type=e.type,this.title=e.title,this.status=e.status,this.detail=e.detail,this.instance=e.instance}}},{key:"toJSON",value:function(e){for(var t in e="object"===typeof e?e:{},this)this.hasOwnProperty(t)&&(e[t]=this[t]);return e.type=this.type,e.title=this.title,e.status=this.status,e.detail=this.detail,e.instance=this.instance,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),kg=function(){function e(t){if(Object(l.a)(this,e),this.subjectAreaCreditId=void 0,this.licenseId=void 0,this.creditId=void 0,this.name=void 0,this.shortName=void 0,this.isArchived=void 0,this.isTechnical=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.subjectAreaCreditId=e.subjectAreaCreditId,this.licenseId=e.licenseId,this.creditId=e.creditId,this.name=e.name,this.shortName=e.shortName,this.isArchived=e.isArchived,this.isTechnical=e.isTechnical)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).subjectAreaCreditId=this.subjectAreaCreditId,e.licenseId=this.licenseId,e.creditId=this.creditId,e.name=this.name,e.shortName=this.shortName,e.isArchived=this.isArchived,e.isTechnical=this.isTechnical,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Pg=function(){function e(t){if(Object(l.a)(this,e),this.subjectAreaCredits=void 0,this.licenseCredits=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.subjectAreaCredits)){this.subjectAreaCredits=[];var t,n=Object(s.a)(e.subjectAreaCredits);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.subjectAreaCredits.push(kg.fromJS(i))}}catch(l){n.e(l)}finally{n.f()}}if(Array.isArray(e.licenseCredits)){this.licenseCredits=[];var a,r=Object(s.a)(e.licenseCredits);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.licenseCredits.push(If.fromJS(o))}}catch(l){r.e(l)}finally{r.f()}}}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.subjectAreaCredits)){e.subjectAreaCredits=[];var t,n=Object(s.a)(this.subjectAreaCredits);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.subjectAreaCredits.push(i.toJSON())}}catch(l){n.e(l)}finally{n.f()}}if(Array.isArray(this.licenseCredits)){e.licenseCredits=[];var a,r=Object(s.a)(this.licenseCredits);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.licenseCredits.push(o.toJSON())}}catch(l){r.e(l)}finally{r.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Ng=function(){function e(t){if(Object(l.a)(this,e),this.licenseId=void 0,this.name=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.licenseId=e.licenseId,this.name=e.name)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).licenseId=this.licenseId,e.name=this.name,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Dg=function(){function e(t){if(Object(l.a)(this,e),this.mappedLicenses=void 0,this.recordCount=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.mappedLicenses)){this.mappedLicenses=[];var t,n=Object(s.a)(e.mappedLicenses);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.mappedLicenses.push(Ng.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}this.recordCount=e.recordCount}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.mappedLicenses)){e.mappedLicenses=[];var t,n=Object(s.a)(this.mappedLicenses);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.mappedLicenses.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e.recordCount=this.recordCount,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Lg=function(){function e(t){if(Object(l.a)(this,e),this.licenseId=void 0,this.subjectAreaMappingId=void 0,this.licenseName=void 0,this.licenseCreditId=void 0,this.licenseCreditName=void 0,this.subjectAreaCreditId=void 0,this.subjectAreaCreditName=void 0,this.isApprovalRequired=void 0,this.isTechnical=void 0,this.isArchived=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.licenseId=e.licenseId,this.subjectAreaMappingId=e.subjectAreaMappingId,this.licenseName=e.licenseName,this.licenseCreditId=e.licenseCreditId,this.licenseCreditName=e.licenseCreditName,this.subjectAreaCreditId=e.subjectAreaCreditId,this.subjectAreaCreditName=e.subjectAreaCreditName,this.isApprovalRequired=e.isApprovalRequired,this.isTechnical=e.isTechnical,this.isArchived=e.isArchived)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).licenseId=this.licenseId,e.subjectAreaMappingId=this.subjectAreaMappingId,e.licenseName=this.licenseName,e.licenseCreditId=this.licenseCreditId,e.licenseCreditName=this.licenseCreditName,e.subjectAreaCreditId=this.subjectAreaCreditId,e.subjectAreaCreditName=this.subjectAreaCreditName,e.isApprovalRequired=this.isApprovalRequired,e.isTechnical=this.isTechnical,e.isArchived=this.isArchived,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Fg=function(){function e(t){if(Object(l.a)(this,e),this.groupName=void 0,this.subjectAreaMappings=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&(this.groupName=e.groupName,Array.isArray(e.subjectAreaMappings))){this.subjectAreaMappings=[];var t,n=Object(s.a)(e.subjectAreaMappings);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.subjectAreaMappings.push(Lg.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).groupName=this.groupName,Array.isArray(this.subjectAreaMappings)){e.subjectAreaMappings=[];var t,n=Object(s.a)(this.subjectAreaMappings);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.subjectAreaMappings.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Bg=function(){function e(t){if(Object(l.a)(this,e),this.subjectAreaMappingGroups=void 0,this.isSubjectAreaLinked=void 0,this.isUsingDefaultMappings=void 0,this.recordCount=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.subjectAreaMappingGroups)){this.subjectAreaMappingGroups=[];var t,n=Object(s.a)(e.subjectAreaMappingGroups);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.subjectAreaMappingGroups.push(Fg.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}this.isSubjectAreaLinked=e.isSubjectAreaLinked,this.isUsingDefaultMappings=e.isUsingDefaultMappings,this.recordCount=e.recordCount}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.subjectAreaMappingGroups)){e.subjectAreaMappingGroups=[];var t,n=Object(s.a)(this.subjectAreaMappingGroups);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.subjectAreaMappingGroups.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e.isSubjectAreaLinked=this.isSubjectAreaLinked,e.isUsingDefaultMappings=this.isUsingDefaultMappings,e.recordCount=this.recordCount,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Rg=function(){function e(t){if(Object(l.a)(this,e),this.subjectAreaCreditId=void 0,this.subjectAreaName=void 0,this.creditId=void 0,this.creditName=void 0,this.creditValue=void 0,this.isApprovalRequired=void 0,this.isApproved=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.subjectAreaCreditId=e.subjectAreaCreditId,this.subjectAreaName=e.subjectAreaName,this.creditId=e.creditId,this.creditName=e.creditName,this.creditValue=e.creditValue,this.isApprovalRequired=e.isApprovalRequired,this.isApproved=e.isApproved)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).subjectAreaCreditId=this.subjectAreaCreditId,e.subjectAreaName=this.subjectAreaName,e.creditId=this.creditId,e.creditName=this.creditName,e.creditValue=this.creditValue,e.isApprovalRequired=this.isApprovalRequired,e.isApproved=this.isApproved,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Jg=function(){function e(t){if(Object(l.a)(this,e),this.subjectAreaPropertyId=void 0,this.propertyName=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.subjectAreaPropertyId=e.subjectAreaPropertyId,this.propertyName=e.propertyName)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).subjectAreaPropertyId=this.subjectAreaPropertyId,e.propertyName=this.propertyName,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Gg=function(){function e(t){if(Object(l.a)(this,e),this.userLicenseComplianceId=void 0,this.userId=void 0,this.licenseId=void 0,this.licenseName=void 0,this.periodNumber=void 0,this.periodTypeId=void 0,this.periodFrom=void 0,this.periodTo=void 0,this.complianceStatusId=void 0,this.complianceStatus=void 0,this.complianceStatusValue=void 0,this.periodLabel=void 0,this.isLocked=void 0,this.lockedBy=void 0,this.periodFromCourse=void 0,this.periodToDisplay=void 0,this.parentLicenseId=void 0,this.priorPeriodDeficiency=void 0,this.totalCreditsNeeded=void 0,this.additionalRequirementStatus=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.userLicenseComplianceId=e.userLicenseComplianceId,this.userId=e.userId,this.licenseId=e.licenseId,this.licenseName=e.licenseName,this.periodNumber=e.periodNumber,this.periodTypeId=e.periodTypeId,this.periodFrom=e.periodFrom?new Date(e.periodFrom.toString()):void 0,this.periodTo=e.periodTo?new Date(e.periodTo.toString()):void 0,this.complianceStatusId=e.complianceStatusId,this.complianceStatus=e.complianceStatus,this.complianceStatusValue=e.complianceStatusValue,this.periodLabel=e.periodLabel,this.isLocked=e.isLocked,this.lockedBy=e.lockedBy,this.periodFromCourse=e.periodFromCourse?new Date(e.periodFromCourse.toString()):void 0,this.periodToDisplay=e.periodToDisplay?new Date(e.periodToDisplay.toString()):void 0,this.parentLicenseId=e.parentLicenseId,this.priorPeriodDeficiency=e.priorPeriodDeficiency,this.totalCreditsNeeded=e.totalCreditsNeeded,this.additionalRequirementStatus=e.additionalRequirementStatus)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).userLicenseComplianceId=this.userLicenseComplianceId,e.userId=this.userId,e.licenseId=this.licenseId,e.licenseName=this.licenseName,e.periodNumber=this.periodNumber,e.periodTypeId=this.periodTypeId,e.periodFrom=this.periodFrom?this.periodFrom.toISOString():void 0,e.periodTo=this.periodTo?this.periodTo.toISOString():void 0,e.complianceStatusId=this.complianceStatusId,e.complianceStatus=this.complianceStatus,e.complianceStatusValue=this.complianceStatusValue,e.periodLabel=this.periodLabel,e.isLocked=this.isLocked,e.lockedBy=this.lockedBy,e.periodFromCourse=this.periodFromCourse?this.periodFromCourse.toISOString():void 0,e.periodToDisplay=this.periodToDisplay?this.periodToDisplay.toISOString():void 0,e.parentLicenseId=this.parentLicenseId,e.priorPeriodDeficiency=this.priorPeriodDeficiency,e.totalCreditsNeeded=this.totalCreditsNeeded,e.additionalRequirementStatus=this.additionalRequirementStatus,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Ug=function(){function e(t){if(Object(l.a)(this,e),this.subLicenseId=void 0,this.name=void 0,this.shortName=void 0,this.parentLicenseId=void 0,this.subLicenseCredits=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&(this.subLicenseId=e.subLicenseId,this.name=e.name,this.shortName=e.shortName,this.parentLicenseId=e.parentLicenseId,Array.isArray(e.subLicenseCredits))){this.subLicenseCredits=[];var t,n=Object(s.a)(e.subLicenseCredits);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.subLicenseCredits.push(Ef.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).subLicenseId=this.subLicenseId,e.name=this.name,e.shortName=this.shortName,e.parentLicenseId=this.parentLicenseId,Array.isArray(this.subLicenseCredits)){e.subLicenseCredits=[];var t,n=Object(s.a)(this.subLicenseCredits);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.subLicenseCredits.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),zg=function(){function e(t){if(Object(l.a)(this,e),this.importId=void 0,this.selectedImportRowIds=void 0,this.useDummyEmail=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.importId=e.importId,Array.isArray(e.selectedImportRowIds)){this.selectedImportRowIds=[];var t,n=Object(s.a)(e.selectedImportRowIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.selectedImportRowIds.push(i)}}catch(a){n.e(a)}finally{n.f()}}this.useDummyEmail=e.useDummyEmail}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).importId=this.importId,Array.isArray(this.selectedImportRowIds)){e.selectedImportRowIds=[];var t,n=Object(s.a)(this.selectedImportRowIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.selectedImportRowIds.push(i)}}catch(a){n.e(a)}finally{n.f()}}return e.useDummyEmail=this.useDummyEmail,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}();!function(e){e[e.None=0]="None",e[e.AdministrativeAssistant=1]="AdministrativeAssistant",e[e.Supervisor=2]="Supervisor"}(yg||(yg={}));var qg,Mg=function(){function e(t){if(Object(l.a)(this,e),this.sessionParticipantIds=void 0,this.fromScormCloud=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.sessionParticipantIds)){this.sessionParticipantIds=[];var t,n=Object(s.a)(e.sessionParticipantIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.sessionParticipantIds.push(i)}}catch(a){n.e(a)}finally{n.f()}}this.fromScormCloud=e.fromScormCloud}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.sessionParticipantIds)){e.sessionParticipantIds=[];var t,n=Object(s.a)(this.sessionParticipantIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.sessionParticipantIds.push(i)}}catch(a){n.e(a)}finally{n.f()}}return e.fromScormCloud=this.fromScormCloud,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Wg=function(){function e(t){if(Object(l.a)(this,e),this.tagId=void 0,this.name=void 0,this.code=void 0,this.isActive=void 0,this.courseCount=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.tagId=e.tagId,this.name=e.name,this.code=e.code,this.isActive=e.isActive,this.courseCount=e.courseCount)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).tagId=this.tagId,e.name=this.name,e.code=this.code,e.isActive=this.isActive,e.courseCount=this.courseCount,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Vg=function(){function e(t){if(Object(l.a)(this,e),this.tags=void 0,this.recordCount=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.tags)){this.tags=[];var t,n=Object(s.a)(e.tags);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.tags.push(Wg.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}this.recordCount=e.recordCount}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.tags)){e.tags=[];var t,n=Object(s.a)(this.tags);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.tags.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e.recordCount=this.recordCount,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),_g=function(){function e(t){if(Object(l.a)(this,e),this.appId=void 0,this.name=void 0,this.code=void 0,this.adminClientId=void 0,this.adminUrl=void 0,this.portalClientId=void 0,this.portalUrl=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.appId=e.appId,this.name=e.name,this.code=e.code,this.adminClientId=e.adminClientId,this.adminUrl=e.adminUrl,this.portalClientId=e.portalClientId,this.portalUrl=e.portalUrl)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).appId=this.appId,e.name=this.name,e.code=this.code,e.adminClientId=this.adminClientId,e.adminUrl=this.adminUrl,e.portalClientId=this.portalClientId,e.portalUrl=this.portalUrl,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Yg=function(){function e(t){if(Object(l.a)(this,e),this.timezoneId=void 0,this.abbreviation=void 0,this.dstAbbreviation=void 0,this.description=void 0,this.name=void 0,this.hasDst=void 0,this.utcOffset=void 0,this.dstOffset=void 0,this.isActive=void 0,this.code=void 0,this.dstName=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.timezoneId=e.timezoneId,this.abbreviation=e.abbreviation,this.dstAbbreviation=e.dstAbbreviation,this.description=e.description,this.name=e.name,this.hasDst=e.hasDst,this.utcOffset=e.utcOffset,this.dstOffset=e.dstOffset,this.isActive=e.isActive,this.code=e.code,this.dstName=e.dstName)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).timezoneId=this.timezoneId,e.abbreviation=this.abbreviation,e.dstAbbreviation=this.dstAbbreviation,e.description=this.description,e.name=this.name,e.hasDst=this.hasDst,e.utcOffset=this.utcOffset,e.dstOffset=this.dstOffset,e.isActive=this.isActive,e.code=this.code,e.dstName=this.dstName,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Hg=function(){function e(t){if(Object(l.a)(this,e),this.timezones=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&Array.isArray(e.timezones)){this.timezones=[];var t,n=Object(s.a)(e.timezones);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.timezones.push(Yg.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.timezones)){e.timezones=[];var t,n=Object(s.a)(this.timezones);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.timezones.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),$g=function(){function e(t){if(Object(l.a)(this,e),this.userId=void 0,this.appCode=void 0,this.enabled=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.userId=e.userId,this.appCode=e.appCode,this.enabled=e.enabled)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).userId=this.userId,e.appCode=this.appCode,e.enabled=this.enabled,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Qg=function(){function e(t){if(Object(l.a)(this,e),this.reportName=void 0,this.userId=void 0,this.isFavorite=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.reportName=e.reportName,this.userId=e.userId,this.isFavorite=e.isFavorite)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).reportName=this.reportName,e.userId=this.userId,e.isFavorite=this.isFavorite,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),Zg=function(){function e(t){if(Object(l.a)(this,e),this.tokenId=void 0,this.name=void 0,this.code=void 0,this.type=void 0,this.group=void 0,this.defaultValue=void 0,this.pattern=void 0,this.previewValue=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.tokenId=e.tokenId,this.name=e.name,this.code=e.code,this.type=e.type,this.group=e.group,this.defaultValue=e.defaultValue,this.pattern=e.pattern,this.previewValue=e.previewValue)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).tokenId=this.tokenId,e.name=this.name,e.code=this.code,e.type=this.type,e.group=this.group,e.defaultValue=this.defaultValue,e.pattern=this.pattern,e.previewValue=this.previewValue,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}();!function(e){e[e.EmailDetails=1]="EmailDetails",e[e.RecipientInformation=2]="RecipientInformation",e[e.SenderInformation=3]="SenderInformation",e[e.FirmInformation=4]="FirmInformation",e[e.Default=5]="Default",e[e.Custom=6]="Custom"}(qg||(qg={}));var Xg,Kg=function(){function e(t){if(Object(l.a)(this,e),this.integrationId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.integrationId=e.integrationId)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).integrationId=this.integrationId,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),eE=function(){function e(t){if(Object(l.a)(this,e),this.licenseId=void 0,this.name=void 0,this.reportingPeriodMonthDay=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.licenseId=e.licenseId,this.name=e.name,this.reportingPeriodMonthDay=e.reportingPeriodMonthDay)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).licenseId=this.licenseId,e.name=this.name,e.reportingPeriodMonthDay=this.reportingPeriodMonthDay,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),tE=function(){function e(t){if(Object(l.a)(this,e),this.subjectAreaCreditId=void 0,this.subjectAreaCreditName=void 0,this.unapprovedSubjectAreaLicenses=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&(this.subjectAreaCreditId=e.subjectAreaCreditId,this.subjectAreaCreditName=e.subjectAreaCreditName,Array.isArray(e.unapprovedSubjectAreaLicenses))){this.unapprovedSubjectAreaLicenses=[];var t,n=Object(s.a)(e.unapprovedSubjectAreaLicenses);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.unapprovedSubjectAreaLicenses.push(nE.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).subjectAreaCreditId=this.subjectAreaCreditId,e.subjectAreaCreditName=this.subjectAreaCreditName,Array.isArray(this.unapprovedSubjectAreaLicenses)){e.unapprovedSubjectAreaLicenses=[];var t,n=Object(s.a)(this.unapprovedSubjectAreaLicenses);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.unapprovedSubjectAreaLicenses.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),nE=function(){function e(t){if(Object(l.a)(this,e),this.sessionLicenseSubjectAreaMappingId=void 0,this.licenseId=void 0,this.licenseName=void 0,this.creditId=void 0,this.creditName=void 0,this.isApproved=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.sessionLicenseSubjectAreaMappingId=e.sessionLicenseSubjectAreaMappingId,this.licenseId=e.licenseId,this.licenseName=e.licenseName,this.creditId=e.creditId,this.creditName=e.creditName,this.isApproved=e.isApproved)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).sessionLicenseSubjectAreaMappingId=this.sessionLicenseSubjectAreaMappingId,e.licenseId=this.licenseId,e.licenseName=this.licenseName,e.creditId=this.creditId,e.creditName=this.creditName,e.isApproved=this.isApproved,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),iE=function(){function e(t){if(Object(l.a)(this,e),this.securityGroupId=void 0,this.userIds=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n]);t||(this.userIds=[])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&(this.securityGroupId=e.securityGroupId,Array.isArray(e.userIds))){this.userIds=[];var t,n=Object(s.a)(e.userIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.userIds.push(i)}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).securityGroupId=this.securityGroupId,Array.isArray(this.userIds)){e.userIds=[];var t,n=Object(s.a)(this.userIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.userIds.push(i)}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),aE=function(){function e(t){if(Object(l.a)(this,e),this.accreditationFormId=void 0,this.name=void 0,this.description=void 0,this.isActive=void 0,this.licenseId=void 0,this.libraryFieldId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.accreditationFormId=e.accreditationFormId,this.name=e.name,this.description=e.description,this.isActive=e.isActive,this.licenseId=e.licenseId,this.libraryFieldId=e.libraryFieldId)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).accreditationFormId=this.accreditationFormId,e.name=this.name,e.description=this.description,e.isActive=this.isActive,e.licenseId=this.licenseId,e.libraryFieldId=this.libraryFieldId,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),rE=function(){function e(t){if(Object(l.a)(this,e),this.activityId=void 0,this.title=void 0,this.description=void 0,this.note=void 0,this.isSelfValidateAllowed=void 0,this.archivedDate=void 0,this.activityCompetencies=void 0,this.activityTags=void 0,this.activityMaterials=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.activityId=e.activityId,this.title=e.title,this.description=e.description,this.note=e.note,this.isSelfValidateAllowed=e.isSelfValidateAllowed,this.archivedDate=e.archivedDate?new Date(e.archivedDate.toString()):void 0,Array.isArray(e.activityCompetencies)){this.activityCompetencies=[];var t,n=Object(s.a)(e.activityCompetencies);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.activityCompetencies.push(it.fromJS(i))}}catch(u){n.e(u)}finally{n.f()}}if(Array.isArray(e.activityTags)){this.activityTags=[];var a,r=Object(s.a)(e.activityTags);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.activityTags.push(vt.fromJS(o))}}catch(u){r.e(u)}finally{r.f()}}if(Array.isArray(e.activityMaterials)){this.activityMaterials=[];var l,c=Object(s.a)(e.activityMaterials);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.activityMaterials.push(lt.fromJS(d))}}catch(u){c.e(u)}finally{c.f()}}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).activityId=this.activityId,e.title=this.title,e.description=this.description,e.note=this.note,e.isSelfValidateAllowed=this.isSelfValidateAllowed,e.archivedDate=this.archivedDate?this.archivedDate.toISOString():void 0,Array.isArray(this.activityCompetencies)){e.activityCompetencies=[];var t,n=Object(s.a)(this.activityCompetencies);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.activityCompetencies.push(i.toJSON())}}catch(u){n.e(u)}finally{n.f()}}if(Array.isArray(this.activityTags)){e.activityTags=[];var a,r=Object(s.a)(this.activityTags);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.activityTags.push(o.toJSON())}}catch(u){r.e(u)}finally{r.f()}}if(Array.isArray(this.activityMaterials)){e.activityMaterials=[];var l,c=Object(s.a)(this.activityMaterials);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.activityMaterials.push(d.toJSON())}}catch(u){c.e(u)}finally{c.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),oE=function(){function e(t){if(Object(l.a)(this,e),this.activityId=void 0,this.learningPlanId=void 0,this.activityParticipantIdList=void 0,this.completionDate=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.activityId=e.activityId,this.learningPlanId=e.learningPlanId,Array.isArray(e.activityParticipantIdList)){this.activityParticipantIdList=[];var t,n=Object(s.a)(e.activityParticipantIdList);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.activityParticipantIdList.push(i)}}catch(a){n.e(a)}finally{n.f()}}this.completionDate=e.completionDate?new Date(e.completionDate.toString()):void 0}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).activityId=this.activityId,e.learningPlanId=this.learningPlanId,Array.isArray(this.activityParticipantIdList)){e.activityParticipantIdList=[];var t,n=Object(s.a)(this.activityParticipantIdList);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.activityParticipantIdList.push(i)}}catch(a){n.e(a)}finally{n.f()}}return e.completionDate=this.completionDate?this.completionDate.toISOString():void 0,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),sE=function(){function e(t){if(Object(l.a)(this,e),this.activitySavedFilterId=void 0,this.name=void 0,this.isPublic=void 0,this.isReadOnly=void 0,this.filter=void 0,this.createdBy=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.activitySavedFilterId=e.activitySavedFilterId,this.name=e.name,this.isPublic=e.isPublic,this.isReadOnly=e.isReadOnly,this.filter=e.filter,this.createdBy=e.createdBy)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).activitySavedFilterId=this.activitySavedFilterId,e.name=this.name,e.isPublic=this.isPublic,e.isReadOnly=this.isReadOnly,e.filter=this.filter,e.createdBy=this.createdBy,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),lE=function(){function e(t){if(Object(l.a)(this,e),this.affidavitFormId=void 0,this.name=void 0,this.description=void 0,this.isActive=void 0,this.htmlBody=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.affidavitFormId=e.affidavitFormId,this.name=e.name,this.description=e.description,this.isActive=e.isActive,this.htmlBody=e.htmlBody)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).affidavitFormId=this.affidavitFormId,e.name=this.name,e.description=this.description,e.isActive=this.isActive,e.htmlBody=this.htmlBody,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),cE=function(){function e(t){if(Object(l.a)(this,e),this.affiliationId=void 0,this.name=void 0,this.address=void 0,this.city=void 0,this.countryId=void 0,this.stateId=void 0,this.zip=void 0,this.phone=void 0,this.timezoneId=void 0,this.isActive=void 0,this.code=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.affiliationId=e.affiliationId,this.name=e.name,this.address=e.address,this.city=e.city,this.countryId=e.countryId,this.stateId=e.stateId,this.zip=e.zip,this.phone=e.phone,this.timezoneId=e.timezoneId,this.isActive=e.isActive,this.code=e.code)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).affiliationId=this.affiliationId,e.name=this.name,e.address=this.address,e.city=this.city,e.countryId=this.countryId,e.stateId=this.stateId,e.zip=this.zip,e.phone=this.phone,e.timezoneId=this.timezoneId,e.isActive=this.isActive,e.code=this.code,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),dE=function(){function e(t){if(Object(l.a)(this,e),this.apiSessionLogIds=void 0,this.isVerified=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n]);t||(this.apiSessionLogIds=[])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.apiSessionLogIds)){this.apiSessionLogIds=[];var t,n=Object(s.a)(e.apiSessionLogIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.apiSessionLogIds.push(i)}}catch(a){n.e(a)}finally{n.f()}}this.isVerified=e.isVerified}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.apiSessionLogIds)){e.apiSessionLogIds=[];var t,n=Object(s.a)(this.apiSessionLogIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.apiSessionLogIds.push(i)}}catch(a){n.e(a)}finally{n.f()}}return e.isVerified=this.isVerified,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),uE=function(){function e(t){if(Object(l.a)(this,e),this.attendanceForm=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.attendanceForm=e.attendanceForm?mE.fromJS(e.attendanceForm):void 0)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).attendanceForm=this.attendanceForm?this.attendanceForm.toJSON():void 0,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),mE=function(){function e(t){if(Object(l.a)(this,e),this.attendanceFormId=void 0,this.name=void 0,this.isActive=void 0,this.isSystem=void 0,this.isDefault=void 0,this.headerIncludeFirmLogo=void 0,this.headerTitle=void 0,this.headerFirmName=void 0,this.headerOptions=void 0,this.headerText=void 0,this.footerOptions=void 0,this.footerText=void 0,this.blankSignatureLinesNumber=void 0,this.includeInstructorSignatureOnFirstRow=void 0,this.includeMiddleName=void 0,this.columns=void 0,this.information=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.attendanceFormId=e.attendanceFormId,this.name=e.name,this.isActive=e.isActive,this.isSystem=e.isSystem,this.isDefault=e.isDefault,this.headerIncludeFirmLogo=e.headerIncludeFirmLogo,this.headerTitle=e.headerTitle,this.headerFirmName=e.headerFirmName,this.headerOptions=e.headerOptions,this.headerText=e.headerText,this.footerOptions=e.footerOptions,this.footerText=e.footerText,this.blankSignatureLinesNumber=e.blankSignatureLinesNumber,this.includeInstructorSignatureOnFirstRow=e.includeInstructorSignatureOnFirstRow,this.includeMiddleName=e.includeMiddleName,Array.isArray(e.columns)){this.columns=[];var t,n=Object(s.a)(e.columns);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.columns.push(yn.fromJS(i))}}catch(l){n.e(l)}finally{n.f()}}if(Array.isArray(e.information)){this.information=[];var a,r=Object(s.a)(e.information);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.information.push(In.fromJS(o))}}catch(l){r.e(l)}finally{r.f()}}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).attendanceFormId=this.attendanceFormId,e.name=this.name,e.isActive=this.isActive,e.isSystem=this.isSystem,e.isDefault=this.isDefault,e.headerIncludeFirmLogo=this.headerIncludeFirmLogo,e.headerTitle=this.headerTitle,e.headerFirmName=this.headerFirmName,e.headerOptions=this.headerOptions,e.headerText=this.headerText,e.footerOptions=this.footerOptions,e.footerText=this.footerText,e.blankSignatureLinesNumber=this.blankSignatureLinesNumber,e.includeInstructorSignatureOnFirstRow=this.includeInstructorSignatureOnFirstRow,e.includeMiddleName=this.includeMiddleName,Array.isArray(this.columns)){e.columns=[];var t,n=Object(s.a)(this.columns);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.columns.push(i.toJSON())}}catch(l){n.e(l)}finally{n.f()}}if(Array.isArray(this.information)){e.information=[];var a,r=Object(s.a)(this.information);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.information.push(o.toJSON())}}catch(l){r.e(l)}finally{r.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),vE=function(){function e(t){if(Object(l.a)(this,e),this.calendarSavedFilterId=void 0,this.name=void 0,this.isPublic=void 0,this.isReadOnly=void 0,this.filter=void 0,this.createdBy=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.calendarSavedFilterId=e.calendarSavedFilterId,this.name=e.name,this.isPublic=e.isPublic,this.isReadOnly=e.isReadOnly,this.filter=e.filter,this.createdBy=e.createdBy)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).calendarSavedFilterId=this.calendarSavedFilterId,e.name=this.name,e.isPublic=this.isPublic,e.isReadOnly=this.isReadOnly,e.filter=this.filter,e.createdBy=this.createdBy,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),fE=function(){function e(t){if(Object(l.a)(this,e),this.certificate=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.certificate=e.certificate?pE.fromJS(e.certificate):void 0)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).certificate=this.certificate?this.certificate.toJSON():void 0,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),pE=function(){function e(t){if(Object(l.a)(this,e),this.certificateId=void 0,this.name=void 0,this.description=void 0,this.licenseId=void 0,this.templateId=void 0,this.isActive=void 0,this.includeFirmLogo=void 0,this.firmLogoId=void 0,this.includeFirmName=void 0,this.firmName=void 0,this.locationId=void 0,this.includeBarNumber=void 0,this.includeMiddleName=void 0,this.includeInstructorName=void 0,this.includeLocation=void 0,this.includeCity=void 0,this.includeState=void 0,this.includeTime=void 0,this.includeApprovalCode=void 0,this.includeParticipantSignature=void 0,this.includeValidatorSignatureLine=void 0,this.validatorName=void 0,this.validatorTitle=void 0,this.validatorPhoneNumber=void 0,this.validatorEmail=void 0,this.validatorSignatureId=void 0,this.accreditedProvider=void 0,this.additionalText=void 0,this.isSystem=void 0,this.htmlBody=void 0,this.cleProviderValue=void 0,this.cleProviderDate=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.certificateId=e.certificateId,this.name=e.name,this.description=e.description,this.licenseId=e.licenseId,this.templateId=e.templateId,this.isActive=e.isActive,this.includeFirmLogo=e.includeFirmLogo,this.firmLogoId=e.firmLogoId,this.includeFirmName=e.includeFirmName,this.firmName=e.firmName,this.locationId=e.locationId,this.includeBarNumber=e.includeBarNumber,this.includeMiddleName=e.includeMiddleName,this.includeInstructorName=e.includeInstructorName,this.includeLocation=e.includeLocation,this.includeCity=e.includeCity,this.includeState=e.includeState,this.includeTime=e.includeTime,this.includeApprovalCode=e.includeApprovalCode,this.includeParticipantSignature=e.includeParticipantSignature,this.includeValidatorSignatureLine=e.includeValidatorSignatureLine,this.validatorName=e.validatorName,this.validatorTitle=e.validatorTitle,this.validatorPhoneNumber=e.validatorPhoneNumber,this.validatorEmail=e.validatorEmail,this.validatorSignatureId=e.validatorSignatureId,this.accreditedProvider=e.accreditedProvider,this.additionalText=e.additionalText,this.isSystem=e.isSystem,this.htmlBody=e.htmlBody,this.cleProviderValue=e.cleProviderValue,this.cleProviderDate=e.cleProviderDate?new Date(e.cleProviderDate.toString()):void 0)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).certificateId=this.certificateId,e.name=this.name,e.description=this.description,e.licenseId=this.licenseId,e.templateId=this.templateId,e.isActive=this.isActive,e.includeFirmLogo=this.includeFirmLogo,e.firmLogoId=this.firmLogoId,e.includeFirmName=this.includeFirmName,e.firmName=this.firmName,e.locationId=this.locationId,e.includeBarNumber=this.includeBarNumber,e.includeMiddleName=this.includeMiddleName,e.includeInstructorName=this.includeInstructorName,e.includeLocation=this.includeLocation,e.includeCity=this.includeCity,e.includeState=this.includeState,e.includeTime=this.includeTime,e.includeApprovalCode=this.includeApprovalCode,e.includeParticipantSignature=this.includeParticipantSignature,e.includeValidatorSignatureLine=this.includeValidatorSignatureLine,e.validatorName=this.validatorName,e.validatorTitle=this.validatorTitle,e.validatorPhoneNumber=this.validatorPhoneNumber,e.validatorEmail=this.validatorEmail,e.validatorSignatureId=this.validatorSignatureId,e.accreditedProvider=this.accreditedProvider,e.additionalText=this.additionalText,e.isSystem=this.isSystem,e.htmlBody=this.htmlBody,e.cleProviderValue=this.cleProviderValue,e.cleProviderDate=this.cleProviderDate?this.cleProviderDate.toISOString():void 0,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),hE=function(){function e(t){if(Object(l.a)(this,e),this.classYearId=void 0,this.name=void 0,this.isActive=void 0,this.code=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.classYearId=e.classYearId,this.name=e.name,this.isActive=e.isActive,this.code=e.code)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).classYearId=this.classYearId,e.name=this.name,e.isActive=this.isActive,e.code=this.code,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),yE=function(){function e(t){if(Object(l.a)(this,e),this.competencyId=void 0,this.name=void 0,this.isActive=void 0,this.code=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.competencyId=e.competencyId,this.name=e.name,this.isActive=e.isActive,this.code=e.code)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).competencyId=this.competencyId,e.name=this.name,e.isActive=this.isActive,e.code=this.code,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),bE=function(){function e(t){if(Object(l.a)(this,e),this.competencyFrameworkId=void 0,this.title=void 0,this.userInstruction=void 0,this.hasDevPlan=void 0,this.competencyFrameworkLicenses=void 0,this.categories=void 0,this.subCategories=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.competencyFrameworkId=e.competencyFrameworkId,this.title=e.title,this.userInstruction=e.userInstruction,this.hasDevPlan=e.hasDevPlan,Array.isArray(e.competencyFrameworkLicenses)){this.competencyFrameworkLicenses=[];var t,n=Object(s.a)(e.competencyFrameworkLicenses);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.competencyFrameworkLicenses.push(oi.fromJS(i))}}catch(u){n.e(u)}finally{n.f()}}if(Array.isArray(e.categories)){this.categories=[];var a,r=Object(s.a)(e.categories);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.categories.push(ni.fromJS(o))}}catch(u){r.e(u)}finally{r.f()}}if(Array.isArray(e.subCategories)){this.subCategories=[];var l,c=Object(s.a)(e.subCategories);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.subCategories.push(ci.fromJS(d))}}catch(u){c.e(u)}finally{c.f()}}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).competencyFrameworkId=this.competencyFrameworkId,e.title=this.title,e.userInstruction=this.userInstruction,e.hasDevPlan=this.hasDevPlan,Array.isArray(this.competencyFrameworkLicenses)){e.competencyFrameworkLicenses=[];var t,n=Object(s.a)(this.competencyFrameworkLicenses);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.competencyFrameworkLicenses.push(i.toJSON())}}catch(u){n.e(u)}finally{n.f()}}if(Array.isArray(this.categories)){e.categories=[];var a,r=Object(s.a)(this.categories);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.categories.push(o.toJSON())}}catch(u){r.e(u)}finally{r.f()}}if(Array.isArray(this.subCategories)){e.subCategories=[];var l,c=Object(s.a)(this.subCategories);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.subCategories.push(d.toJSON())}}catch(u){c.e(u)}finally{c.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),gE=function(){function e(t){if(Object(l.a)(this,e),this.sessionParticipantIds=void 0,this.sessionId=void 0,this.completionDate=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n]);t||(this.sessionParticipantIds=[])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.sessionParticipantIds)){this.sessionParticipantIds=[];var t,n=Object(s.a)(e.sessionParticipantIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.sessionParticipantIds.push(i)}}catch(a){n.e(a)}finally{n.f()}}this.sessionId=e.sessionId,this.completionDate=e.completionDate?new Date(e.completionDate.toString()):void 0}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.sessionParticipantIds)){e.sessionParticipantIds=[];var t,n=Object(s.a)(this.sessionParticipantIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.sessionParticipantIds.push(i)}}catch(a){n.e(a)}finally{n.f()}}return e.sessionId=this.sessionId,e.completionDate=this.completionDate?this.completionDate.toISOString():void 0,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),EE=function(){function e(t){if(Object(l.a)(this,e),this.complianceLicenseeSavedFilterId=void 0,this.name=void 0,this.isPublic=void 0,this.isReadOnly=void 0,this.filter=void 0,this.createdBy=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.complianceLicenseeSavedFilterId=e.complianceLicenseeSavedFilterId,this.name=e.name,this.isPublic=e.isPublic,this.isReadOnly=e.isReadOnly,this.filter=e.filter,this.createdBy=e.createdBy)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).complianceLicenseeSavedFilterId=this.complianceLicenseeSavedFilterId,e.name=this.name,e.isPublic=this.isPublic,e.isReadOnly=this.isReadOnly,e.filter=this.filter,e.createdBy=this.createdBy,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),IE=function(){function e(t){if(Object(l.a)(this,e),this.courseId=void 0,this.title=void 0,this.courseCode=void 0,this.providerId=void 0,this.providerName=void 0,this.note=void 0,this.description=void 0,this.archivedDate=void 0,this.courseClassYear=void 0,this.courseCompetency=void 0,this.courseDepartment=void 0,this.courseLevel=void 0,this.coursePracticeArea=void 0,this.courseTag=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.courseId=e.courseId,this.title=e.title,this.courseCode=e.courseCode,this.providerId=e.providerId,this.providerName=e.providerName,this.note=e.note,this.description=e.description,this.archivedDate=e.archivedDate?new Date(e.archivedDate.toString()):void 0,Array.isArray(e.courseClassYear)){this.courseClassYear=[];var t,n=Object(s.a)(e.courseClassYear);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.courseClassYear.push(i)}}catch(E){n.e(E)}finally{n.f()}}if(Array.isArray(e.courseCompetency)){this.courseCompetency=[];var a,r=Object(s.a)(e.courseCompetency);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.courseCompetency.push(o)}}catch(E){r.e(E)}finally{r.f()}}if(Array.isArray(e.courseDepartment)){this.courseDepartment=[];var l,c=Object(s.a)(e.courseDepartment);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.courseDepartment.push(d)}}catch(E){c.e(E)}finally{c.f()}}if(Array.isArray(e.courseLevel)){this.courseLevel=[];var u,m=Object(s.a)(e.courseLevel);try{for(m.s();!(u=m.n()).done;){var v=u.value;this.courseLevel.push(v)}}catch(E){m.e(E)}finally{m.f()}}if(Array.isArray(e.coursePracticeArea)){this.coursePracticeArea=[];var f,p=Object(s.a)(e.coursePracticeArea);try{for(p.s();!(f=p.n()).done;){var h=f.value;this.coursePracticeArea.push(h)}}catch(E){p.e(E)}finally{p.f()}}if(Array.isArray(e.courseTag)){this.courseTag=[];var y,b=Object(s.a)(e.courseTag);try{for(b.s();!(y=b.n()).done;){var g=y.value;this.courseTag.push(g)}}catch(E){b.e(E)}finally{b.f()}}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).courseId=this.courseId,e.title=this.title,e.courseCode=this.courseCode,e.providerId=this.providerId,e.providerName=this.providerName,e.note=this.note,e.description=this.description,e.archivedDate=this.archivedDate?this.archivedDate.toISOString():void 0,Array.isArray(this.courseClassYear)){e.courseClassYear=[];var t,n=Object(s.a)(this.courseClassYear);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.courseClassYear.push(i)}}catch(E){n.e(E)}finally{n.f()}}if(Array.isArray(this.courseCompetency)){e.courseCompetency=[];var a,r=Object(s.a)(this.courseCompetency);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.courseCompetency.push(o)}}catch(E){r.e(E)}finally{r.f()}}if(Array.isArray(this.courseDepartment)){e.courseDepartment=[];var l,c=Object(s.a)(this.courseDepartment);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.courseDepartment.push(d)}}catch(E){c.e(E)}finally{c.f()}}if(Array.isArray(this.courseLevel)){e.courseLevel=[];var u,m=Object(s.a)(this.courseLevel);try{for(m.s();!(u=m.n()).done;){var v=u.value;e.courseLevel.push(v)}}catch(E){m.e(E)}finally{m.f()}}if(Array.isArray(this.coursePracticeArea)){e.coursePracticeArea=[];var f,p=Object(s.a)(this.coursePracticeArea);try{for(p.s();!(f=p.n()).done;){var h=f.value;e.coursePracticeArea.push(h)}}catch(E){p.e(E)}finally{p.f()}}if(Array.isArray(this.courseTag)){e.courseTag=[];var y,b=Object(s.a)(this.courseTag);try{for(b.s();!(y=b.n()).done;){var g=y.value;e.courseTag.push(g)}}catch(E){b.e(E)}finally{b.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),SE=function(){function e(t){if(Object(l.a)(this,e),this.courseSavedFilterId=void 0,this.name=void 0,this.isPublic=void 0,this.isReadOnly=void 0,this.filter=void 0,this.createdBy=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.courseSavedFilterId=e.courseSavedFilterId,this.name=e.name,this.isPublic=e.isPublic,this.isReadOnly=e.isReadOnly,this.filter=e.filter,this.createdBy=e.createdBy)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).courseSavedFilterId=this.courseSavedFilterId,e.name=this.name,e.isPublic=this.isPublic,e.isReadOnly=this.isReadOnly,e.filter=this.filter,e.createdBy=this.createdBy,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),OE=function(){function e(t){if(Object(l.a)(this,e),this.declineCodeId=void 0,this.name=void 0,this.isActive=void 0,this.code=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.declineCodeId=e.declineCodeId,this.name=e.name,this.isActive=e.isActive,this.code=e.code)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).declineCodeId=this.declineCodeId,e.name=this.name,e.isActive=this.isActive,e.code=this.code,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),CE=function(){function e(t){if(Object(l.a)(this,e),this.departmentId=void 0,this.name=void 0,this.isActive=void 0,this.code=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.departmentId=e.departmentId,this.name=e.name,this.isActive=e.isActive,this.code=e.code)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).departmentId=this.departmentId,e.name=this.name,e.isActive=this.isActive,e.code=this.code,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),jE=function(){function e(t){if(Object(l.a)(this,e),this.activityId=void 0,this.userId=void 0,this.creditValueList=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&(this.activityId=e.activityId,this.userId=e.userId,Array.isArray(e.creditValueList))){this.creditValueList=[];var t,n=Object(s.a)(e.creditValueList);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.creditValueList.push(HI.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).activityId=this.activityId,e.userId=this.userId,Array.isArray(this.creditValueList)){e.creditValueList=[];var t,n=Object(s.a)(this.creditValueList);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.creditValueList.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),xE=function(){function e(t){if(Object(l.a)(this,e),this.emailTemplateId=void 0,this.name=void 0,this.description=void 0,this.subject=void 0,this.body=void 0,this.emailTypeId=void 0,this.replyToUserId=void 0,this.emailAlias=void 0,this.isActive=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.emailTemplateId=e.emailTemplateId,this.name=e.name,this.description=e.description,this.subject=e.subject,this.body=e.body,this.emailTypeId=e.emailTypeId,this.replyToUserId=e.replyToUserId,this.emailAlias=e.emailAlias,this.isActive=e.isActive)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).emailTemplateId=this.emailTemplateId,e.name=this.name,e.description=this.description,e.subject=this.subject,e.body=this.body,e.emailTypeId=this.emailTypeId,e.replyToUserId=this.replyToUserId,e.emailAlias=this.emailAlias,e.isActive=this.isActive,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),AE=function(){function e(t){if(Object(l.a)(this,e),this.ethnicityId=void 0,this.name=void 0,this.isActive=void 0,this.code=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.ethnicityId=e.ethnicityId,this.name=e.name,this.isActive=e.isActive,this.code=e.code)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).ethnicityId=this.ethnicityId,e.name=this.name,e.isActive=this.isActive,e.code=this.code,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),TE=function(){function e(t){if(Object(l.a)(this,e),this.evaluationId=void 0,this.name=void 0,this.instructions=void 0,this.isActive=void 0,this.sectionFormNumberStyleCode=void 0,this.questionFormNumberStyleCode=void 0,this.gridQuestionFormNumberStyleCode=void 0,this.evaluationFormNumberExcludes=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&(this.evaluationId=e.evaluationId,this.name=e.name,this.instructions=e.instructions,this.isActive=e.isActive,this.sectionFormNumberStyleCode=e.sectionFormNumberStyleCode,this.questionFormNumberStyleCode=e.questionFormNumberStyleCode,this.gridQuestionFormNumberStyleCode=e.gridQuestionFormNumberStyleCode,Array.isArray(e.evaluationFormNumberExcludes))){this.evaluationFormNumberExcludes=[];var t,n=Object(s.a)(e.evaluationFormNumberExcludes);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.evaluationFormNumberExcludes.push(Ws.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).evaluationId=this.evaluationId,e.name=this.name,e.instructions=this.instructions,e.isActive=this.isActive,e.sectionFormNumberStyleCode=this.sectionFormNumberStyleCode,e.questionFormNumberStyleCode=this.questionFormNumberStyleCode,e.gridQuestionFormNumberStyleCode=this.gridQuestionFormNumberStyleCode,Array.isArray(this.evaluationFormNumberExcludes)){e.evaluationFormNumberExcludes=[];var t,n=Object(s.a)(this.evaluationFormNumberExcludes);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.evaluationFormNumberExcludes.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),wE=function(){function e(t){if(Object(l.a)(this,e),this.questionId=void 0,this.sectionId=void 0,this.questionTypeCode=void 0,this.name=void 0,this.text=void 0,this.sequence=void 0,this.required=void 0,this.instructor=void 0,this.enableComments=void 0,this.requiredComments=void 0,this.commentTitle=void 0,this.content=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.questionId=e.questionId,this.sectionId=e.sectionId,this.questionTypeCode=e.questionTypeCode,this.name=e.name,this.text=e.text,this.sequence=e.sequence,this.required=e.required,this.instructor=e.instructor,this.enableComments=e.enableComments,this.requiredComments=e.requiredComments,this.commentTitle=e.commentTitle,this.content=e.content)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).questionId=this.questionId,e.sectionId=this.sectionId,e.questionTypeCode=this.questionTypeCode,e.name=this.name,e.text=this.text,e.sequence=this.sequence,e.required=this.required,e.instructor=this.instructor,e.enableComments=this.enableComments,e.requiredComments=this.requiredComments,e.commentTitle=this.commentTitle,e.content=this.content,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),kE=function(){function e(t){if(Object(l.a)(this,e),this.sectionId=void 0,this.evaluationId=void 0,this.name=void 0,this.text=void 0,this.sequence=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.sectionId=e.sectionId,this.evaluationId=e.evaluationId,this.name=e.name,this.text=e.text,this.sequence=e.sequence)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).sectionId=this.sectionId,e.evaluationId=this.evaluationId,e.name=this.name,e.text=this.text,e.sequence=this.sequence,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),PE=function(){function e(t){if(Object(l.a)(this,e),this.excuseId=void 0,this.name=void 0,this.isActive=void 0,this.code=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.excuseId=e.excuseId,this.name=e.name,this.isActive=e.isActive,this.code=e.code)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).excuseId=this.excuseId,e.name=this.name,e.isActive=this.isActive,e.code=this.code,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),NE=function(){function e(t){if(Object(l.a)(this,e),this.fileId=void 0,this.title=void 0,this.description=void 0,this.isActive=void 0,this.duration=void 0,this.affiliations=void 0,this.departments=void 0,this.levels=void 0,this.locations=void 0,this.positions=void 0,this.practiceAreas=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.fileId=e.fileId,this.title=e.title,this.description=e.description,this.isActive=e.isActive,this.duration=e.duration,Array.isArray(e.affiliations)){this.affiliations=[];var t,n=Object(s.a)(e.affiliations);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.affiliations.push(of.fromJS(i))}}catch(E){n.e(E)}finally{n.f()}}if(Array.isArray(e.departments)){this.departments=[];var a,r=Object(s.a)(e.departments);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.departments.push(sf.fromJS(o))}}catch(E){r.e(E)}finally{r.f()}}if(Array.isArray(e.levels)){this.levels=[];var l,c=Object(s.a)(e.levels);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.levels.push(cf.fromJS(d))}}catch(E){c.e(E)}finally{c.f()}}if(Array.isArray(e.locations)){this.locations=[];var u,m=Object(s.a)(e.locations);try{for(m.s();!(u=m.n()).done;){var v=u.value;this.locations.push(uf.fromJS(v))}}catch(E){m.e(E)}finally{m.f()}}if(Array.isArray(e.positions)){this.positions=[];var f,p=Object(s.a)(e.positions);try{for(p.s();!(f=p.n()).done;){var h=f.value;this.positions.push(vf.fromJS(h))}}catch(E){p.e(E)}finally{p.f()}}if(Array.isArray(e.practiceAreas)){this.practiceAreas=[];var y,b=Object(s.a)(e.practiceAreas);try{for(b.s();!(y=b.n()).done;){var g=y.value;this.practiceAreas.push(ff.fromJS(g))}}catch(E){b.e(E)}finally{b.f()}}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).fileId=this.fileId,e.title=this.title,e.description=this.description,e.isActive=this.isActive,e.duration=this.duration,Array.isArray(this.affiliations)){e.affiliations=[];var t,n=Object(s.a)(this.affiliations);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.affiliations.push(i.toJSON())}}catch(E){n.e(E)}finally{n.f()}}if(Array.isArray(this.departments)){e.departments=[];var a,r=Object(s.a)(this.departments);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.departments.push(o.toJSON())}}catch(E){r.e(E)}finally{r.f()}}if(Array.isArray(this.levels)){e.levels=[];var l,c=Object(s.a)(this.levels);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.levels.push(d.toJSON())}}catch(E){c.e(E)}finally{c.f()}}if(Array.isArray(this.locations)){e.locations=[];var u,m=Object(s.a)(this.locations);try{for(m.s();!(u=m.n()).done;){var v=u.value;e.locations.push(v.toJSON())}}catch(E){m.e(E)}finally{m.f()}}if(Array.isArray(this.positions)){e.positions=[];var f,p=Object(s.a)(this.positions);try{for(p.s();!(f=p.n()).done;){var h=f.value;e.positions.push(h.toJSON())}}catch(E){p.e(E)}finally{p.f()}}if(Array.isArray(this.practiceAreas)){e.practiceAreas=[];var y,b=Object(s.a)(this.practiceAreas);try{for(b.s();!(y=b.n()).done;){var g=y.value;e.practiceAreas.push(g.toJSON())}}catch(E){b.e(E)}finally{b.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),DE=function(){function e(t){if(Object(l.a)(this,e),this.files=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&Array.isArray(e.files)){this.files=[];var t,n=Object(s.a)(e.files);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.files.push(lf.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.files)){e.files=[];var t,n=Object(s.a)(this.files);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.files.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),LE=function(){function e(t){if(Object(l.a)(this,e),this.name=void 0,this.firmGroupId=void 0,this.locationId=void 0,this.renewalDate=void 0,this.industryId=void 0,this.isFromMM=void 0,this.language=void 0,this.dateFormat=void 0,this.timezone=void 0,this.isLoginScreenEnabled=void 0,this.signInLabels=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.name=e.name,this.firmGroupId=e.firmGroupId,this.locationId=e.locationId,this.renewalDate=e.renewalDate?new Date(e.renewalDate.toString()):void 0,this.industryId=e.industryId,this.isFromMM=e.isFromMM,this.language=e.language,this.dateFormat=e.dateFormat,this.timezone=e.timezone,this.isLoginScreenEnabled=e.isLoginScreenEnabled,this.signInLabels=e.signInLabels)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).name=this.name,e.firmGroupId=this.firmGroupId,e.locationId=this.locationId,e.renewalDate=this.renewalDate?this.renewalDate.toISOString():void 0,e.industryId=this.industryId,e.isFromMM=this.isFromMM,e.language=this.language,e.dateFormat=this.dateFormat,e.timezone=this.timezone,e.isLoginScreenEnabled=this.isLoginScreenEnabled,e.signInLabels=this.signInLabels,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),FE=function(){function e(t){if(Object(l.a)(this,e),this.firmLicenseId=void 0,this.licenseId=void 0,this.reportingCycle=void 0,this.shouldShowAllPeriods=void 0,this.isAccreditedProvider=void 0,this.shouldAllowSearch=void 0,this.isEnabled=void 0,this.providerNumber=void 0,this.isFavorite=void 0,this.certificateId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.firmLicenseId=e.firmLicenseId,this.licenseId=e.licenseId,this.reportingCycle=e.reportingCycle,this.shouldShowAllPeriods=e.shouldShowAllPeriods,this.isAccreditedProvider=e.isAccreditedProvider,this.shouldAllowSearch=e.shouldAllowSearch,this.isEnabled=e.isEnabled,this.providerNumber=e.providerNumber,this.isFavorite=e.isFavorite,this.certificateId=e.certificateId)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).firmLicenseId=this.firmLicenseId,e.licenseId=this.licenseId,e.reportingCycle=this.reportingCycle,e.shouldShowAllPeriods=this.shouldShowAllPeriods,e.isAccreditedProvider=this.isAccreditedProvider,e.shouldAllowSearch=this.shouldAllowSearch,e.isEnabled=this.isEnabled,e.providerNumber=this.providerNumber,e.isFavorite=this.isFavorite,e.certificateId=this.certificateId,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),BE=function(){function e(t){if(Object(l.a)(this,e),this.statement=void 0,this.dueToReport=void 0,this.reminder=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.statement=e.statement?Tg.fromJS(e.statement):void 0,this.dueToReport=e.dueToReport?us.fromJS(e.dueToReport):void 0,this.reminder=e.reminder?ah.fromJS(e.reminder):void 0)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).statement=this.statement?this.statement.toJSON():void 0,e.dueToReport=this.dueToReport?this.dueToReport.toJSON():void 0,e.reminder=this.reminder?this.reminder.toJSON():void 0,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),RE=function(){function e(t){if(Object(l.a)(this,e),this.firmNotificationScheduleId=void 0,this.firmNotificationJobId=void 0,this.isActive=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.firmNotificationScheduleId=e.firmNotificationScheduleId,this.firmNotificationJobId=e.firmNotificationJobId,this.isActive=e.isActive)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).firmNotificationScheduleId=this.firmNotificationScheduleId,e.firmNotificationJobId=this.firmNotificationJobId,e.isActive=this.isActive,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),JE=function(){function e(t){if(Object(l.a)(this,e),this.genderId=void 0,this.name=void 0,this.isActive=void 0,this.code=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.genderId=e.genderId,this.name=e.name,this.isActive=e.isActive,this.code=e.code)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).genderId=this.genderId,e.name=this.name,e.isActive=this.isActive,e.code=this.code,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),GE=function(){function e(t){if(Object(l.a)(this,e),this.integrationId=void 0,this.name=void 0,this.description=void 0,this.url=void 0,this.logo=void 0,this.isEnabled=void 0,this.isVisible=void 0,this.allowManualRun=void 0,this.allowSchedule=void 0,this.schedule=void 0,this.timezoneId=void 0,this.timezone=void 0,this.tags=void 0,this.settings=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.integrationId=e.integrationId,this.name=e.name,this.description=e.description,this.url=e.url,this.logo=e.logo,this.isEnabled=e.isEnabled,this.isVisible=e.isVisible,this.allowManualRun=e.allowManualRun,this.allowSchedule=e.allowSchedule,this.schedule=e.schedule,this.timezoneId=e.timezoneId,this.timezone=e.timezone?Yg.fromJS(e.timezone):void 0,Array.isArray(e.tags)){this.tags=[];var t,n=Object(s.a)(e.tags);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.tags.push(tv.fromJS(i))}}catch(l){n.e(l)}finally{n.f()}}if(Array.isArray(e.settings)){this.settings=[];var a,r=Object(s.a)(e.settings);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.settings.push(ev.fromJS(o))}}catch(l){r.e(l)}finally{r.f()}}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).integrationId=this.integrationId,e.name=this.name,e.description=this.description,e.url=this.url,e.logo=this.logo,e.isEnabled=this.isEnabled,e.isVisible=this.isVisible,e.allowManualRun=this.allowManualRun,e.allowSchedule=this.allowSchedule,e.schedule=this.schedule,e.timezoneId=this.timezoneId,e.timezone=this.timezone?this.timezone.toJSON():void 0,Array.isArray(this.tags)){e.tags=[];var t,n=Object(s.a)(this.tags);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.tags.push(i.toJSON())}}catch(l){n.e(l)}finally{n.f()}}if(Array.isArray(this.settings)){e.settings=[];var a,r=Object(s.a)(this.settings);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.settings.push(o.toJSON())}}catch(l){r.e(l)}finally{r.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),UE=function(){function e(t){if(Object(l.a)(this,e),this.learningPlanId=void 0,this.title=void 0,this.description=void 0,this.notes=void 0,this.type=void 0,this.timeframeOfCompletion=void 0,this.startDate=void 0,this.endDate=void 0,this.duration=void 0,this.durationType=void 0,this.archivedDate=void 0,this.requiredCourses=void 0,this.isSelfEnrolled=void 0,this.addParticipantEmail=void 0,this.deleteParticipantEmail=void 0,this.updateParticipantStatusEmail=void 0,this.retainAdjustedParticipants=void 0,this.learningPlanCompetencies=void 0,this.learningPlanTags=void 0,this.learningPlanMaterials=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.learningPlanId=e.learningPlanId,this.title=e.title,this.description=e.description,this.notes=e.notes,this.type=e.type,this.timeframeOfCompletion=e.timeframeOfCompletion,this.startDate=e.startDate?new Date(e.startDate.toString()):void 0,this.endDate=e.endDate?new Date(e.endDate.toString()):void 0,this.duration=e.duration,this.durationType=e.durationType,this.archivedDate=e.archivedDate?new Date(e.archivedDate.toString()):void 0,this.requiredCourses=e.requiredCourses,this.isSelfEnrolled=e.isSelfEnrolled,this.addParticipantEmail=e.addParticipantEmail,this.deleteParticipantEmail=e.deleteParticipantEmail,this.updateParticipantStatusEmail=e.updateParticipantStatusEmail,this.retainAdjustedParticipants=e.retainAdjustedParticipants,Array.isArray(e.learningPlanCompetencies)){this.learningPlanCompetencies=[];var t,n=Object(s.a)(e.learningPlanCompetencies);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.learningPlanCompetencies.push(Iv.fromJS(i))}}catch(u){n.e(u)}finally{n.f()}}if(Array.isArray(e.learningPlanTags)){this.learningPlanTags=[];var a,r=Object(s.a)(e.learningPlanTags);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.learningPlanTags.push(Kv.fromJS(o))}}catch(u){r.e(u)}finally{r.f()}}if(Array.isArray(e.learningPlanMaterials)){this.learningPlanMaterials=[];var l,c=Object(s.a)(e.learningPlanMaterials);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.learningPlanMaterials.push(Rv.fromJS(d))}}catch(u){c.e(u)}finally{c.f()}}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).learningPlanId=this.learningPlanId,e.title=this.title,e.description=this.description,e.notes=this.notes,e.type=this.type,e.timeframeOfCompletion=this.timeframeOfCompletion,e.startDate=this.startDate?this.startDate.toISOString():void 0,e.endDate=this.endDate?this.endDate.toISOString():void 0,e.duration=this.duration,e.durationType=this.durationType,e.archivedDate=this.archivedDate?this.archivedDate.toISOString():void 0,e.requiredCourses=this.requiredCourses,e.isSelfEnrolled=this.isSelfEnrolled,e.addParticipantEmail=this.addParticipantEmail,e.deleteParticipantEmail=this.deleteParticipantEmail,e.updateParticipantStatusEmail=this.updateParticipantStatusEmail,e.retainAdjustedParticipants=this.retainAdjustedParticipants,Array.isArray(this.learningPlanCompetencies)){e.learningPlanCompetencies=[];var t,n=Object(s.a)(this.learningPlanCompetencies);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.learningPlanCompetencies.push(i.toJSON())}}catch(u){n.e(u)}finally{n.f()}}if(Array.isArray(this.learningPlanTags)){e.learningPlanTags=[];var a,r=Object(s.a)(this.learningPlanTags);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.learningPlanTags.push(o.toJSON())}}catch(u){r.e(u)}finally{r.f()}}if(Array.isArray(this.learningPlanMaterials)){e.learningPlanMaterials=[];var l,c=Object(s.a)(this.learningPlanMaterials);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.learningPlanMaterials.push(d.toJSON())}}catch(u){c.e(u)}finally{c.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),zE=function(){function e(t){if(Object(l.a)(this,e),this.learningPlanId=void 0,this.title=void 0,this.description=void 0,this.notes=void 0,this.type=void 0,this.timeframeOfCompletion=void 0,this.startDate=void 0,this.endDate=void 0,this.createdDate=void 0,this.lastModifiedDate=void 0,this.duration=void 0,this.durationType=void 0,this.requiredCourses=void 0,this.isSelfEnrolled=void 0,this.addParticipantEmail=void 0,this.deleteParticipantEmail=void 0,this.updateParticipantStatusEmail=void 0,this.archivedDate=void 0,this.learningPlanCompetencies=void 0,this.learningPlanParticipants=void 0,this.learningPlanTags=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.learningPlanId=e.learningPlanId,this.title=e.title,this.description=e.description,this.notes=e.notes,this.type=e.type,this.timeframeOfCompletion=e.timeframeOfCompletion,this.startDate=e.startDate?new Date(e.startDate.toString()):void 0,this.endDate=e.endDate?new Date(e.endDate.toString()):void 0,this.createdDate=e.createdDate?new Date(e.createdDate.toString()):void 0,this.lastModifiedDate=e.lastModifiedDate?new Date(e.lastModifiedDate.toString()):void 0,this.duration=e.duration,this.durationType=e.durationType,this.requiredCourses=e.requiredCourses,this.isSelfEnrolled=e.isSelfEnrolled,this.addParticipantEmail=e.addParticipantEmail,this.deleteParticipantEmail=e.deleteParticipantEmail,this.updateParticipantStatusEmail=e.updateParticipantStatusEmail,this.archivedDate=e.archivedDate?new Date(e.archivedDate.toString()):void 0,Array.isArray(e.learningPlanCompetencies)){this.learningPlanCompetencies=[];var t,n=Object(s.a)(e.learningPlanCompetencies);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.learningPlanCompetencies.push(Iv.fromJS(i))}}catch(u){n.e(u)}finally{n.f()}}if(Array.isArray(e.learningPlanParticipants)){this.learningPlanParticipants=[];var a,r=Object(s.a)(e.learningPlanParticipants);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.learningPlanParticipants.push(VE.fromJS(o))}}catch(u){r.e(u)}finally{r.f()}}if(Array.isArray(e.learningPlanTags)){this.learningPlanTags=[];var l,c=Object(s.a)(e.learningPlanTags);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.learningPlanTags.push(Kv.fromJS(d))}}catch(u){c.e(u)}finally{c.f()}}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).learningPlanId=this.learningPlanId,e.title=this.title,e.description=this.description,e.notes=this.notes,e.type=this.type,e.timeframeOfCompletion=this.timeframeOfCompletion,e.startDate=this.startDate?this.startDate.toISOString():void 0,e.endDate=this.endDate?this.endDate.toISOString():void 0,e.createdDate=this.createdDate?this.createdDate.toISOString():void 0,e.lastModifiedDate=this.lastModifiedDate?this.lastModifiedDate.toISOString():void 0,e.duration=this.duration,e.durationType=this.durationType,e.requiredCourses=this.requiredCourses,e.isSelfEnrolled=this.isSelfEnrolled,e.addParticipantEmail=this.addParticipantEmail,e.deleteParticipantEmail=this.deleteParticipantEmail,e.updateParticipantStatusEmail=this.updateParticipantStatusEmail,e.archivedDate=this.archivedDate?this.archivedDate.toISOString():void 0,Array.isArray(this.learningPlanCompetencies)){e.learningPlanCompetencies=[];var t,n=Object(s.a)(this.learningPlanCompetencies);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.learningPlanCompetencies.push(i.toJSON())}}catch(u){n.e(u)}finally{n.f()}}if(Array.isArray(this.learningPlanParticipants)){e.learningPlanParticipants=[];var a,r=Object(s.a)(this.learningPlanParticipants);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.learningPlanParticipants.push(o.toJSON())}}catch(u){r.e(u)}finally{r.f()}}if(Array.isArray(this.learningPlanTags)){e.learningPlanTags=[];var l,c=Object(s.a)(this.learningPlanTags);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.learningPlanTags.push(d.toJSON())}}catch(u){c.e(u)}finally{c.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),qE=function(){function e(t){if(Object(l.a)(this,e),this.learningPlanId=void 0,this.addParticipantEmail=void 0,this.deleteParticipantEmail=void 0,this.updateParticipantStatusEmail=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.learningPlanId=e.learningPlanId,this.addParticipantEmail=e.addParticipantEmail,this.deleteParticipantEmail=e.deleteParticipantEmail,this.updateParticipantStatusEmail=e.updateParticipantStatusEmail)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).learningPlanId=this.learningPlanId,e.addParticipantEmail=this.addParticipantEmail,e.deleteParticipantEmail=this.deleteParticipantEmail,e.updateParticipantStatusEmail=this.updateParticipantStatusEmail,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),ME=function(){function e(t){if(Object(l.a)(this,e),this.learningPlanEmailSettingId=void 0,this.learningPlanId=void 0,this.emailTypeId=void 0,this.scheduleOption=void 0,this.emailTemplateId=void 0,this.subject=void 0,this.replyToUserId=void 0,this.senderId=void 0,this.emailAlias=void 0,this.body=void 0,this.sendToAdminAssistant=void 0,this.sendSeparateCCCopy=void 0,this.includeMaterials=void 0,this.learningPlanEmailSettingRecurrenceId=void 0,this.schedules=void 0,this.recurrence=void 0,this.recipients=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.learningPlanEmailSettingId=e.learningPlanEmailSettingId,this.learningPlanId=e.learningPlanId,this.emailTypeId=e.emailTypeId,this.scheduleOption=e.scheduleOption,this.emailTemplateId=e.emailTemplateId,this.subject=e.subject,this.replyToUserId=e.replyToUserId,this.senderId=e.senderId,this.emailAlias=e.emailAlias,this.body=e.body,this.sendToAdminAssistant=e.sendToAdminAssistant,this.sendSeparateCCCopy=e.sendSeparateCCCopy,this.includeMaterials=e.includeMaterials,this.learningPlanEmailSettingRecurrenceId=e.learningPlanEmailSettingRecurrenceId,Array.isArray(e.schedules)){this.schedules=[];var t,n=Object(s.a)(e.schedules);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.schedules.push(Pv.fromJS(i))}}catch(l){n.e(l)}finally{n.f()}}if(this.recurrence=e.recurrence?kv.fromJS(e.recurrence):void 0,Array.isArray(e.recipients)){this.recipients=[];var a,r=Object(s.a)(e.recipients);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.recipients.push(Ss.fromJS(o))}}catch(l){r.e(l)}finally{r.f()}}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).learningPlanEmailSettingId=this.learningPlanEmailSettingId,e.learningPlanId=this.learningPlanId,e.emailTypeId=this.emailTypeId,e.scheduleOption=this.scheduleOption,e.emailTemplateId=this.emailTemplateId,e.subject=this.subject,e.replyToUserId=this.replyToUserId,e.senderId=this.senderId,e.emailAlias=this.emailAlias,e.body=this.body,e.sendToAdminAssistant=this.sendToAdminAssistant,e.sendSeparateCCCopy=this.sendSeparateCCCopy,e.includeMaterials=this.includeMaterials,e.learningPlanEmailSettingRecurrenceId=this.learningPlanEmailSettingRecurrenceId,Array.isArray(this.schedules)){e.schedules=[];var t,n=Object(s.a)(this.schedules);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.schedules.push(i.toJSON())}}catch(l){n.e(l)}finally{n.f()}}if(e.recurrence=this.recurrence?this.recurrence.toJSON():void 0,Array.isArray(this.recipients)){e.recipients=[];var a,r=Object(s.a)(this.recipients);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.recipients.push(o.toJSON())}}catch(l){r.e(l)}finally{r.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),WE=function(){function e(t){if(Object(l.a)(this,e),this.users=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&Array.isArray(e.users)){this.users=[];var t,n=Object(s.a)(e.users);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.users.push(VE.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.users)){e.users=[];var t,n=Object(s.a)(this.users);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.users.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),VE=function(){function e(t){if(Object(l.a)(this,e),this.learningPlanId=void 0,this.participantId=void 0,this.timeframeOfCompletion=void 0,this.startDate=void 0,this.endDate=void 0,this.duration=void 0,this.durationType=void 0,this.hasAdjustedDates=void 0,this.validatedBy=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.learningPlanId=e.learningPlanId,this.participantId=e.participantId,this.timeframeOfCompletion=e.timeframeOfCompletion,this.startDate=e.startDate?new Date(e.startDate.toString()):void 0,this.endDate=e.endDate?new Date(e.endDate.toString()):void 0,this.duration=e.duration,this.durationType=e.durationType,this.hasAdjustedDates=e.hasAdjustedDates,this.validatedBy=e.validatedBy)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).learningPlanId=this.learningPlanId,e.participantId=this.participantId,e.timeframeOfCompletion=this.timeframeOfCompletion,e.startDate=this.startDate?this.startDate.toISOString():void 0,e.endDate=this.endDate?this.endDate.toISOString():void 0,e.duration=this.duration,e.durationType=this.durationType,e.hasAdjustedDates=this.hasAdjustedDates,e.validatedBy=this.validatedBy,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),_E=function(){function e(t){if(Object(l.a)(this,e),this.learningPlanId=void 0,this.requiredCourses=void 0,this.learningPlanActivities=void 0,this.learningPlanCourses=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.learningPlanId=e.learningPlanId,this.requiredCourses=e.requiredCourses,Array.isArray(e.learningPlanActivities)){this.learningPlanActivities=[];var t,n=Object(s.a)(e.learningPlanActivities);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.learningPlanActivities.push(bv.fromJS(i))}}catch(l){n.e(l)}finally{n.f()}}if(Array.isArray(e.learningPlanCourses)){this.learningPlanCourses=[];var a,r=Object(s.a)(e.learningPlanCourses);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.learningPlanCourses.push(Sv.fromJS(o))}}catch(l){r.e(l)}finally{r.f()}}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).learningPlanId=this.learningPlanId,e.requiredCourses=this.requiredCourses,Array.isArray(this.learningPlanActivities)){e.learningPlanActivities=[];var t,n=Object(s.a)(this.learningPlanActivities);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.learningPlanActivities.push(i.toJSON())}}catch(l){n.e(l)}finally{n.f()}}if(Array.isArray(this.learningPlanCourses)){e.learningPlanCourses=[];var a,r=Object(s.a)(this.learningPlanCourses);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.learningPlanCourses.push(o.toJSON())}}catch(l){r.e(l)}finally{r.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),YE=function(){function e(t){if(Object(l.a)(this,e),this.learningPlanSavedFilterId=void 0,this.name=void 0,this.isPublic=void 0,this.isReadOnly=void 0,this.filter=void 0,this.createdBy=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.learningPlanSavedFilterId=e.learningPlanSavedFilterId,this.name=e.name,this.isPublic=e.isPublic,this.isReadOnly=e.isReadOnly,this.filter=e.filter,this.createdBy=e.createdBy)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).learningPlanSavedFilterId=this.learningPlanSavedFilterId,e.name=this.name,e.isPublic=this.isPublic,e.isReadOnly=this.isReadOnly,e.filter=this.filter,e.createdBy=this.createdBy,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),HE=function(){function e(t){if(Object(l.a)(this,e),this.learningSettings=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&Array.isArray(e.learningSettings)){this.learningSettings=[];var t,n=Object(s.a)(e.learningSettings);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.learningSettings.push(tf.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.learningSettings)){e.learningSettings=[];var t,n=Object(s.a)(this.learningSettings);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.learningSettings.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),$E=function(){function e(t){if(Object(l.a)(this,e),this.levelId=void 0,this.name=void 0,this.isActive=void 0,this.code=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.levelId=e.levelId,this.name=e.name,this.isActive=e.isActive,this.code=e.code)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).levelId=this.levelId,e.name=this.name,e.isActive=this.isActive,e.code=this.code,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),QE=function(){function e(t){if(Object(l.a)(this,e),this.libraryFileSettings=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&Array.isArray(e.libraryFileSettings)){this.libraryFileSettings=[];var t,n=Object(s.a)(e.libraryFileSettings);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.libraryFileSettings.push(pf.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.libraryFileSettings)){e.libraryFileSettings=[];var t,n=Object(s.a)(this.libraryFileSettings);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.libraryFileSettings.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),ZE=function(){function e(t){if(Object(l.a)(this,e),this.licenseCertificateToUpdate=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.licenseCertificateToUpdate=e.licenseCertificateToUpdate?yf.fromJS(e.licenseCertificateToUpdate):void 0)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).licenseCertificateToUpdate=this.licenseCertificateToUpdate?this.licenseCertificateToUpdate.toJSON():void 0,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),XE=function(){function e(t){if(Object(l.a)(this,e),this.locationId=void 0,this.name=void 0,this.address=void 0,this.code=void 0,this.city=void 0,this.countryId=void 0,this.stateId=void 0,this.zip=void 0,this.telephone=void 0,this.timezoneId=void 0,this.isActive=void 0,this.isFirmOffice=void 0,this.countyId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.locationId=e.locationId,this.name=e.name,this.address=e.address,this.code=e.code,this.city=e.city,this.countryId=e.countryId,this.stateId=e.stateId,this.zip=e.zip,this.telephone=e.telephone,this.timezoneId=e.timezoneId,this.isActive=e.isActive,this.isFirmOffice=e.isFirmOffice,this.countyId=e.countyId)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).locationId=this.locationId,e.name=this.name,e.address=this.address,e.code=this.code,e.city=this.city,e.countryId=this.countryId,e.stateId=this.stateId,e.zip=this.zip,e.telephone=this.telephone,e.timezoneId=this.timezoneId,e.isActive=this.isActive,e.isFirmOffice=this.isFirmOffice,e.countyId=this.countyId,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),KE=function(){function e(t){if(Object(l.a)(this,e),this.sessions=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&Array.isArray(e.sessions)){this.sessions=[];var t,n=Object(s.a)(e.sessions);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.sessions.push(pb.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.sessions)){e.sessions=[];var t,n=Object(s.a)(this.sessions);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.sessions.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),eI=function(){function e(t){if(Object(l.a)(this,e),this.scheduleId=void 0,this.sessionIds=void 0,this.removeLicenseIds=void 0,this.sessionLicenses=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.scheduleId=e.scheduleId,Array.isArray(e.sessionIds)){this.sessionIds=[];var t,n=Object(s.a)(e.sessionIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.sessionIds.push(i)}}catch(u){n.e(u)}finally{n.f()}}if(Array.isArray(e.removeLicenseIds)){this.removeLicenseIds=[];var a,r=Object(s.a)(e.removeLicenseIds);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.removeLicenseIds.push(o)}}catch(u){r.e(u)}finally{r.f()}}if(Array.isArray(e.sessionLicenses)){this.sessionLicenses=[];var l,c=Object(s.a)(e.sessionLicenses);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.sessionLicenses.push(Fb.fromJS(d))}}catch(u){c.e(u)}finally{c.f()}}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).scheduleId=this.scheduleId,Array.isArray(this.sessionIds)){e.sessionIds=[];var t,n=Object(s.a)(this.sessionIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.sessionIds.push(i)}}catch(u){n.e(u)}finally{n.f()}}if(Array.isArray(this.removeLicenseIds)){e.removeLicenseIds=[];var a,r=Object(s.a)(this.removeLicenseIds);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.removeLicenseIds.push(o)}}catch(u){r.e(u)}finally{r.f()}}if(Array.isArray(this.sessionLicenses)){e.sessionLicenses=[];var l,c=Object(s.a)(this.sessionLicenses);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.sessionLicenses.push(d.toJSON())}}catch(u){c.e(u)}finally{c.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),tI=function(){function e(t){if(Object(l.a)(this,e),this.contactPerson=void 0,this.address=void 0,this.telephone=void 0,this.email=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.contactPerson=e.contactPerson,this.address=e.address,this.telephone=e.telephone,this.email=e.email)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).contactPerson=this.contactPerson,e.address=this.address,e.telephone=this.telephone,e.email=this.email,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),nI=function(){function e(t){if(Object(l.a)(this,e),this.sessionParticipantIds=void 0,this.userId=void 0,this.startDate=void 0,this.endDate=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.sessionParticipantIds)){this.sessionParticipantIds=[];var t,n=Object(s.a)(e.sessionParticipantIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.sessionParticipantIds.push(i)}}catch(a){n.e(a)}finally{n.f()}}this.userId=e.userId,this.startDate=e.startDate?new Date(e.startDate.toString()):void 0,this.endDate=e.endDate?new Date(e.endDate.toString()):void 0}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.sessionParticipantIds)){e.sessionParticipantIds=[];var t,n=Object(s.a)(this.sessionParticipantIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.sessionParticipantIds.push(i)}}catch(a){n.e(a)}finally{n.f()}}return e.userId=this.userId,e.startDate=this.startDate?this.startDate.toISOString():void 0,e.endDate=this.endDate?this.endDate.toISOString():void 0,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),iI=function(){function e(t){if(Object(l.a)(this,e),this.userId=void 0,this.periodFrom=void 0,this.periodTo=void 0,this.periodFromCourse=void 0,this.isCovidWaiverEnabled=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.userId=e.userId,this.periodFrom=e.periodFrom?new Date(e.periodFrom.toString()):void 0,this.periodTo=e.periodTo?new Date(e.periodTo.toString()):void 0,this.periodFromCourse=e.periodFromCourse?new Date(e.periodFromCourse.toString()):void 0,this.isCovidWaiverEnabled=e.isCovidWaiverEnabled)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).userId=this.userId,e.periodFrom=this.periodFrom?this.periodFrom.toISOString():void 0,e.periodTo=this.periodTo?this.periodTo.toISOString():void 0,e.periodFromCourse=this.periodFromCourse?this.periodFromCourse.toISOString():void 0,e.isCovidWaiverEnabled=this.isCovidWaiverEnabled,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),aI=function(){function e(t){if(Object(l.a)(this,e),this.minimumLength=void 0,this.requireLowercase=void 0,this.requireNumbers=void 0,this.requireSymbols=void 0,this.requireUppercase=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.minimumLength=e.minimumLength,this.requireLowercase=e.requireLowercase,this.requireNumbers=e.requireNumbers,this.requireSymbols=e.requireSymbols,this.requireUppercase=e.requireUppercase)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).minimumLength=this.minimumLength,e.requireLowercase=this.requireLowercase,e.requireNumbers=this.requireNumbers,e.requireSymbols=this.requireSymbols,e.requireUppercase=this.requireUppercase,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),rI=function(){function e(t){if(Object(l.a)(this,e),this.roleId=void 0,this.headerType=void 0,this.headerLogoUrl=void 0,this.headerText=void 0,this.color=void 0,this.isEnabled=void 0,this.portalScreenInformations=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&(this.roleId=e.roleId,this.headerType=e.headerType,this.headerLogoUrl=e.headerLogoUrl,this.headerText=e.headerText,this.color=e.color,this.isEnabled=e.isEnabled,Array.isArray(e.portalScreenInformations))){this.portalScreenInformations=[];var t,n=Object(s.a)(e.portalScreenInformations);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.portalScreenInformations.push(Lp.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).roleId=this.roleId,e.headerType=this.headerType,e.headerLogoUrl=this.headerLogoUrl,e.headerText=this.headerText,e.color=this.color,e.isEnabled=this.isEnabled,Array.isArray(this.portalScreenInformations)){e.portalScreenInformations=[];var t,n=Object(s.a)(this.portalScreenInformations);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.portalScreenInformations.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),oI=function(){function e(t){if(Object(l.a)(this,e),this.roleId=void 0,this.isEnabled=void 0,this.enableSeekBar=void 0,this.enableMakeupDisqualifiedVideo=void 0,this.enableMakeupDisqualifiedScorm=void 0,this.enableRewind=void 0,this.enableFastForward=void 0,this.defaultLandingScreen=void 0,this.forLicensesHeldOnly=void 0,this.portalDepartmentFilterIds=void 0,this.portalLevelFilterIds=void 0,this.portalLocationFilterIds=void 0,this.portalPracticeAreaFilterIds=void 0,this.portalProviderFilterIds=void 0,this.portalCompetencyFilterIds=void 0,this.portalClassYearFilterIds=void 0,this.portalTagFilterIds=void 0,this.portalCourseFormatFilterIds=void 0,this.portalCalendarDepartmentFilterIds=void 0,this.portalCalendarLevelFilterIds=void 0,this.portalCalendarLocationFilterIds=void 0,this.portalCalendarPracticeAreaFilterIds=void 0,this.portalCalendarProviderFilterIds=void 0,this.portalCalendarCompetencyFilterIds=void 0,this.portalCalendarClassYearFilterIds=void 0,this.portalCalendarTagFilterIds=void 0,this.portalCalendarCourseFormatFilterIds=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.roleId=e.roleId,this.isEnabled=e.isEnabled,this.enableSeekBar=e.enableSeekBar,this.enableMakeupDisqualifiedVideo=e.enableMakeupDisqualifiedVideo,this.enableMakeupDisqualifiedScorm=e.enableMakeupDisqualifiedScorm,this.enableRewind=e.enableRewind,this.enableFastForward=e.enableFastForward,this.defaultLandingScreen=e.defaultLandingScreen,this.forLicensesHeldOnly=e.forLicensesHeldOnly,Array.isArray(e.portalDepartmentFilterIds)){this.portalDepartmentFilterIds=[];var t,n=Object(s.a)(e.portalDepartmentFilterIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.portalDepartmentFilterIds.push(i)}}catch(ne){n.e(ne)}finally{n.f()}}if(Array.isArray(e.portalLevelFilterIds)){this.portalLevelFilterIds=[];var a,r=Object(s.a)(e.portalLevelFilterIds);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.portalLevelFilterIds.push(o)}}catch(ne){r.e(ne)}finally{r.f()}}if(Array.isArray(e.portalLocationFilterIds)){this.portalLocationFilterIds=[];var l,c=Object(s.a)(e.portalLocationFilterIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.portalLocationFilterIds.push(d)}}catch(ne){c.e(ne)}finally{c.f()}}if(Array.isArray(e.portalPracticeAreaFilterIds)){this.portalPracticeAreaFilterIds=[];var u,m=Object(s.a)(e.portalPracticeAreaFilterIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;this.portalPracticeAreaFilterIds.push(v)}}catch(ne){m.e(ne)}finally{m.f()}}if(Array.isArray(e.portalProviderFilterIds)){this.portalProviderFilterIds=[];var f,p=Object(s.a)(e.portalProviderFilterIds);try{for(p.s();!(f=p.n()).done;){var h=f.value;this.portalProviderFilterIds.push(h)}}catch(ne){p.e(ne)}finally{p.f()}}if(Array.isArray(e.portalCompetencyFilterIds)){this.portalCompetencyFilterIds=[];var y,b=Object(s.a)(e.portalCompetencyFilterIds);try{for(b.s();!(y=b.n()).done;){var g=y.value;this.portalCompetencyFilterIds.push(g)}}catch(ne){b.e(ne)}finally{b.f()}}if(Array.isArray(e.portalClassYearFilterIds)){this.portalClassYearFilterIds=[];var E,I=Object(s.a)(e.portalClassYearFilterIds);try{for(I.s();!(E=I.n()).done;){var S=E.value;this.portalClassYearFilterIds.push(S)}}catch(ne){I.e(ne)}finally{I.f()}}if(Array.isArray(e.portalTagFilterIds)){this.portalTagFilterIds=[];var O,C=Object(s.a)(e.portalTagFilterIds);try{for(C.s();!(O=C.n()).done;){var j=O.value;this.portalTagFilterIds.push(j)}}catch(ne){C.e(ne)}finally{C.f()}}if(Array.isArray(e.portalCourseFormatFilterIds)){this.portalCourseFormatFilterIds=[];var x,A=Object(s.a)(e.portalCourseFormatFilterIds);try{for(A.s();!(x=A.n()).done;){var T=x.value;this.portalCourseFormatFilterIds.push(T)}}catch(ne){A.e(ne)}finally{A.f()}}if(Array.isArray(e.portalCalendarDepartmentFilterIds)){this.portalCalendarDepartmentFilterIds=[];var w,k=Object(s.a)(e.portalCalendarDepartmentFilterIds);try{for(k.s();!(w=k.n()).done;){var P=w.value;this.portalCalendarDepartmentFilterIds.push(P)}}catch(ne){k.e(ne)}finally{k.f()}}if(Array.isArray(e.portalCalendarLevelFilterIds)){this.portalCalendarLevelFilterIds=[];var N,D=Object(s.a)(e.portalCalendarLevelFilterIds);try{for(D.s();!(N=D.n()).done;){var L=N.value;this.portalCalendarLevelFilterIds.push(L)}}catch(ne){D.e(ne)}finally{D.f()}}if(Array.isArray(e.portalCalendarLocationFilterIds)){this.portalCalendarLocationFilterIds=[];var F,B=Object(s.a)(e.portalCalendarLocationFilterIds);try{for(B.s();!(F=B.n()).done;){var R=F.value;this.portalCalendarLocationFilterIds.push(R)}}catch(ne){B.e(ne)}finally{B.f()}}if(Array.isArray(e.portalCalendarPracticeAreaFilterIds)){this.portalCalendarPracticeAreaFilterIds=[];var J,G=Object(s.a)(e.portalCalendarPracticeAreaFilterIds);try{for(G.s();!(J=G.n()).done;){var U=J.value;this.portalCalendarPracticeAreaFilterIds.push(U)}}catch(ne){G.e(ne)}finally{G.f()}}if(Array.isArray(e.portalCalendarProviderFilterIds)){this.portalCalendarProviderFilterIds=[];var z,q=Object(s.a)(e.portalCalendarProviderFilterIds);try{for(q.s();!(z=q.n()).done;){var M=z.value;this.portalCalendarProviderFilterIds.push(M)}}catch(ne){q.e(ne)}finally{q.f()}}if(Array.isArray(e.portalCalendarCompetencyFilterIds)){this.portalCalendarCompetencyFilterIds=[];var W,V=Object(s.a)(e.portalCalendarCompetencyFilterIds);try{for(V.s();!(W=V.n()).done;){var _=W.value;this.portalCalendarCompetencyFilterIds.push(_)}}catch(ne){V.e(ne)}finally{V.f()}}if(Array.isArray(e.portalCalendarClassYearFilterIds)){this.portalCalendarClassYearFilterIds=[];var Y,H=Object(s.a)(e.portalCalendarClassYearFilterIds);try{for(H.s();!(Y=H.n()).done;){var $=Y.value;this.portalCalendarClassYearFilterIds.push($)}}catch(ne){H.e(ne)}finally{H.f()}}if(Array.isArray(e.portalCalendarTagFilterIds)){this.portalCalendarTagFilterIds=[];var Q,Z=Object(s.a)(e.portalCalendarTagFilterIds);try{for(Z.s();!(Q=Z.n()).done;){var X=Q.value;this.portalCalendarTagFilterIds.push(X)}}catch(ne){Z.e(ne)}finally{Z.f()}}if(Array.isArray(e.portalCalendarCourseFormatFilterIds)){this.portalCalendarCourseFormatFilterIds=[];var K,ee=Object(s.a)(e.portalCalendarCourseFormatFilterIds);try{for(ee.s();!(K=ee.n()).done;){var te=K.value;this.portalCalendarCourseFormatFilterIds.push(te)}}catch(ne){ee.e(ne)}finally{ee.f()}}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).roleId=this.roleId,e.isEnabled=this.isEnabled,e.enableSeekBar=this.enableSeekBar,e.enableMakeupDisqualifiedVideo=this.enableMakeupDisqualifiedVideo,e.enableMakeupDisqualifiedScorm=this.enableMakeupDisqualifiedScorm,e.enableRewind=this.enableRewind,e.enableFastForward=this.enableFastForward,e.defaultLandingScreen=this.defaultLandingScreen,e.forLicensesHeldOnly=this.forLicensesHeldOnly,Array.isArray(this.portalDepartmentFilterIds)){e.portalDepartmentFilterIds=[];var t,n=Object(s.a)(this.portalDepartmentFilterIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.portalDepartmentFilterIds.push(i)}}catch(ne){n.e(ne)}finally{n.f()}}if(Array.isArray(this.portalLevelFilterIds)){e.portalLevelFilterIds=[];var a,r=Object(s.a)(this.portalLevelFilterIds);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.portalLevelFilterIds.push(o)}}catch(ne){r.e(ne)}finally{r.f()}}if(Array.isArray(this.portalLocationFilterIds)){e.portalLocationFilterIds=[];var l,c=Object(s.a)(this.portalLocationFilterIds);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.portalLocationFilterIds.push(d)}}catch(ne){c.e(ne)}finally{c.f()}}if(Array.isArray(this.portalPracticeAreaFilterIds)){e.portalPracticeAreaFilterIds=[];var u,m=Object(s.a)(this.portalPracticeAreaFilterIds);try{for(m.s();!(u=m.n()).done;){var v=u.value;e.portalPracticeAreaFilterIds.push(v)}}catch(ne){m.e(ne)}finally{m.f()}}if(Array.isArray(this.portalProviderFilterIds)){e.portalProviderFilterIds=[];var f,p=Object(s.a)(this.portalProviderFilterIds);try{for(p.s();!(f=p.n()).done;){var h=f.value;e.portalProviderFilterIds.push(h)}}catch(ne){p.e(ne)}finally{p.f()}}if(Array.isArray(this.portalCompetencyFilterIds)){e.portalCompetencyFilterIds=[];var y,b=Object(s.a)(this.portalCompetencyFilterIds);try{for(b.s();!(y=b.n()).done;){var g=y.value;e.portalCompetencyFilterIds.push(g)}}catch(ne){b.e(ne)}finally{b.f()}}if(Array.isArray(this.portalClassYearFilterIds)){e.portalClassYearFilterIds=[];var E,I=Object(s.a)(this.portalClassYearFilterIds);try{for(I.s();!(E=I.n()).done;){var S=E.value;e.portalClassYearFilterIds.push(S)}}catch(ne){I.e(ne)}finally{I.f()}}if(Array.isArray(this.portalTagFilterIds)){e.portalTagFilterIds=[];var O,C=Object(s.a)(this.portalTagFilterIds);try{for(C.s();!(O=C.n()).done;){var j=O.value;e.portalTagFilterIds.push(j)}}catch(ne){C.e(ne)}finally{C.f()}}if(Array.isArray(this.portalCourseFormatFilterIds)){e.portalCourseFormatFilterIds=[];var x,A=Object(s.a)(this.portalCourseFormatFilterIds);try{for(A.s();!(x=A.n()).done;){var T=x.value;e.portalCourseFormatFilterIds.push(T)}}catch(ne){A.e(ne)}finally{A.f()}}if(Array.isArray(this.portalCalendarDepartmentFilterIds)){e.portalCalendarDepartmentFilterIds=[];var w,k=Object(s.a)(this.portalCalendarDepartmentFilterIds);try{for(k.s();!(w=k.n()).done;){var P=w.value;e.portalCalendarDepartmentFilterIds.push(P)}}catch(ne){k.e(ne)}finally{k.f()}}if(Array.isArray(this.portalCalendarLevelFilterIds)){e.portalCalendarLevelFilterIds=[];var N,D=Object(s.a)(this.portalCalendarLevelFilterIds);try{for(D.s();!(N=D.n()).done;){var L=N.value;e.portalCalendarLevelFilterIds.push(L)}}catch(ne){D.e(ne)}finally{D.f()}}if(Array.isArray(this.portalCalendarLocationFilterIds)){e.portalCalendarLocationFilterIds=[];var F,B=Object(s.a)(this.portalCalendarLocationFilterIds);try{for(B.s();!(F=B.n()).done;){var R=F.value;e.portalCalendarLocationFilterIds.push(R)}}catch(ne){B.e(ne)}finally{B.f()}}if(Array.isArray(this.portalCalendarPracticeAreaFilterIds)){e.portalCalendarPracticeAreaFilterIds=[];var J,G=Object(s.a)(this.portalCalendarPracticeAreaFilterIds);try{for(G.s();!(J=G.n()).done;){var U=J.value;e.portalCalendarPracticeAreaFilterIds.push(U)}}catch(ne){G.e(ne)}finally{G.f()}}if(Array.isArray(this.portalCalendarProviderFilterIds)){e.portalCalendarProviderFilterIds=[];var z,q=Object(s.a)(this.portalCalendarProviderFilterIds);try{for(q.s();!(z=q.n()).done;){var M=z.value;e.portalCalendarProviderFilterIds.push(M)}}catch(ne){q.e(ne)}finally{q.f()}}if(Array.isArray(this.portalCalendarCompetencyFilterIds)){e.portalCalendarCompetencyFilterIds=[];var W,V=Object(s.a)(this.portalCalendarCompetencyFilterIds);try{for(V.s();!(W=V.n()).done;){var _=W.value;e.portalCalendarCompetencyFilterIds.push(_)}}catch(ne){V.e(ne)}finally{V.f()}}if(Array.isArray(this.portalCalendarClassYearFilterIds)){e.portalCalendarClassYearFilterIds=[];var Y,H=Object(s.a)(this.portalCalendarClassYearFilterIds);try{for(H.s();!(Y=H.n()).done;){var $=Y.value;e.portalCalendarClassYearFilterIds.push($)}}catch(ne){H.e(ne)}finally{H.f()}}if(Array.isArray(this.portalCalendarTagFilterIds)){e.portalCalendarTagFilterIds=[];var Q,Z=Object(s.a)(this.portalCalendarTagFilterIds);try{for(Z.s();!(Q=Z.n()).done;){var X=Q.value;e.portalCalendarTagFilterIds.push(X)}}catch(ne){Z.e(ne)}finally{Z.f()}}if(Array.isArray(this.portalCalendarCourseFormatFilterIds)){e.portalCalendarCourseFormatFilterIds=[];var K,ee=Object(s.a)(this.portalCalendarCourseFormatFilterIds);try{for(ee.s();!(K=ee.n()).done;){var te=K.value;e.portalCalendarCourseFormatFilterIds.push(te)}}catch(ne){ee.e(ne)}finally{ee.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),sI=function(){function e(t){if(Object(l.a)(this,e),this.positionId=void 0,this.name=void 0,this.isActive=void 0,this.code=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.positionId=e.positionId,this.name=e.name,this.isActive=e.isActive,this.code=e.code)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).positionId=this.positionId,e.name=this.name,e.isActive=this.isActive,e.code=this.code,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),lI=function(){function e(t){if(Object(l.a)(this,e),this.practiceAreaId=void 0,this.name=void 0,this.isActive=void 0,this.code=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.practiceAreaId=e.practiceAreaId,this.name=e.name,this.isActive=e.isActive,this.code=e.code)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).practiceAreaId=this.practiceAreaId,e.name=this.name,e.isActive=this.isActive,e.code=this.code,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),cI=function(){function e(t){if(Object(l.a)(this,e),this.providerId=void 0,this.name=void 0,this.isInHouse=void 0,this.isActive=void 0,this.code=void 0,this.url=void 0,this.isScheduleAllowed=void 0,this.isRegistrationAllowed=void 0,this.isCertificateAllowed=void 0,this.isReportingAllowed=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.providerId=e.providerId,this.name=e.name,this.isInHouse=e.isInHouse,this.isActive=e.isActive,this.code=e.code,this.url=e.url,this.isScheduleAllowed=e.isScheduleAllowed,this.isRegistrationAllowed=e.isRegistrationAllowed,this.isCertificateAllowed=e.isCertificateAllowed,this.isReportingAllowed=e.isReportingAllowed)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).providerId=this.providerId,e.name=this.name,e.isInHouse=this.isInHouse,e.isActive=this.isActive,e.code=this.code,e.url=this.url,e.isScheduleAllowed=this.isScheduleAllowed,e.isRegistrationAllowed=this.isRegistrationAllowed,e.isCertificateAllowed=this.isCertificateAllowed,e.isReportingAllowed=this.isReportingAllowed,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),dI=function(){function e(t){if(Object(l.a)(this,e),this.sessionIds=void 0,this.isPublished=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n]);t||(this.sessionIds=[])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.sessionIds)){this.sessionIds=[];var t,n=Object(s.a)(e.sessionIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.sessionIds.push(i)}}catch(a){n.e(a)}finally{n.f()}}this.isPublished=e.isPublished}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.sessionIds)){e.sessionIds=[];var t,n=Object(s.a)(this.sessionIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.sessionIds.push(i)}}catch(a){n.e(a)}finally{n.f()}}return e.isPublished=this.isPublished,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),uI=function(){function e(t){if(Object(l.a)(this,e),this.userReportSavedFilterId=void 0,this.userId=void 0,this.reportName=void 0,this.name=void 0,this.filter=void 0,this.isDefault=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.userReportSavedFilterId=e.userReportSavedFilterId,this.userId=e.userId,this.reportName=e.reportName,this.name=e.name,this.filter=e.filter,this.isDefault=e.isDefault)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).userReportSavedFilterId=this.userReportSavedFilterId,e.userId=this.userId,e.reportName=this.reportName,e.name=this.name,e.filter=this.filter,e.isDefault=this.isDefault,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),mI=function(){function e(t){if(Object(l.a)(this,e),this.roleId=void 0,this.name=void 0,this.description=void 0,this.isActive=void 0,this.isDefault=void 0,this.roleTypeId=void 0,this.rolePermissionSets=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&(this.roleId=e.roleId,this.name=e.name,this.description=e.description,this.isActive=e.isActive,this.isDefault=e.isDefault,this.roleTypeId=e.roleTypeId,Array.isArray(e.rolePermissionSets))){this.rolePermissionSets=[];var t,n=Object(s.a)(e.rolePermissionSets);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.rolePermissionSets.push(i)}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).roleId=this.roleId,e.name=this.name,e.description=this.description,e.isActive=this.isActive,e.isDefault=this.isDefault,e.roleTypeId=this.roleTypeId,Array.isArray(this.rolePermissionSets)){e.rolePermissionSets=[];var t,n=Object(s.a)(this.rolePermissionSets);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.rolePermissionSets.push(i)}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),vI=function(){function e(t){if(Object(l.a)(this,e),this.roomId=void 0,this.locationId=void 0,this.name=void 0,this.capacity=void 0,this.isActive=void 0,this.code=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.roomId=e.roomId,this.locationId=e.locationId,this.name=e.name,this.capacity=e.capacity,this.isActive=e.isActive,this.code=e.code)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).roomId=this.roomId,e.locationId=this.locationId,e.name=this.name,e.capacity=this.capacity,e.isActive=this.isActive,e.code=this.code,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),fI=function(){function e(t){if(Object(l.a)(this,e),this.courseId=void 0,this.emailTemplateId=void 0,this.sendAsUserId=void 0,this.replyToUserId=void 0,this.emailAlias=void 0,this.subject=void 0,this.sendToAdmin=void 0,this.sendToAdminAssistant=void 0,this.includeMaterials=void 0,this.sendSeparateCCCopy=void 0,this.includeMatchedSessionsOnly=void 0,this.body=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.courseId=e.courseId,this.emailTemplateId=e.emailTemplateId,this.sendAsUserId=e.sendAsUserId,this.replyToUserId=e.replyToUserId,this.emailAlias=e.emailAlias,this.subject=e.subject,this.sendToAdmin=e.sendToAdmin,this.sendToAdminAssistant=e.sendToAdminAssistant,this.includeMaterials=e.includeMaterials,this.sendSeparateCCCopy=e.sendSeparateCCCopy,this.includeMatchedSessionsOnly=e.includeMatchedSessionsOnly,this.body=e.body)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).courseId=this.courseId,e.emailTemplateId=this.emailTemplateId,e.sendAsUserId=this.sendAsUserId,e.replyToUserId=this.replyToUserId,e.emailAlias=this.emailAlias,e.subject=this.subject,e.sendToAdmin=this.sendToAdmin,e.sendToAdminAssistant=this.sendToAdminAssistant,e.includeMaterials=this.includeMaterials,e.sendSeparateCCCopy=this.sendSeparateCCCopy,e.includeMatchedSessionsOnly=this.includeMatchedSessionsOnly,e.body=this.body,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),pI=function(){function e(t){if(Object(l.a)(this,e),this.scheduleId=void 0,this.emailTemplateId=void 0,this.sendAsUserId=void 0,this.replyToUserId=void 0,this.emailAlias=void 0,this.subject=void 0,this.sendToAdmin=void 0,this.sendToAdminAssistant=void 0,this.includeMaterials=void 0,this.sendSeparateCCCopy=void 0,this.includeMatchedSessionsOnly=void 0,this.body=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.scheduleId=e.scheduleId,this.emailTemplateId=e.emailTemplateId,this.sendAsUserId=e.sendAsUserId,this.replyToUserId=e.replyToUserId,this.emailAlias=e.emailAlias,this.subject=e.subject,this.sendToAdmin=e.sendToAdmin,this.sendToAdminAssistant=e.sendToAdminAssistant,this.includeMaterials=e.includeMaterials,this.sendSeparateCCCopy=e.sendSeparateCCCopy,this.includeMatchedSessionsOnly=e.includeMatchedSessionsOnly,this.body=e.body)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).scheduleId=this.scheduleId,e.emailTemplateId=this.emailTemplateId,e.sendAsUserId=this.sendAsUserId,e.replyToUserId=this.replyToUserId,e.emailAlias=this.emailAlias,e.subject=this.subject,e.sendToAdmin=this.sendToAdmin,e.sendToAdminAssistant=this.sendToAdminAssistant,e.includeMaterials=this.includeMaterials,e.sendSeparateCCCopy=this.sendSeparateCCCopy,e.includeMatchedSessionsOnly=this.includeMatchedSessionsOnly,e.body=this.body,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),hI=function(){function e(t){if(Object(l.a)(this,e),this.sessionId=void 0,this.emailTemplateId=void 0,this.sendAsUserId=void 0,this.replyToUserId=void 0,this.emailAlias=void 0,this.subject=void 0,this.sendToAdmin=void 0,this.sendToAdminAssistant=void 0,this.includeMaterials=void 0,this.sendSeparateCCCopy=void 0,this.body=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.sessionId=e.sessionId,this.emailTemplateId=e.emailTemplateId,this.sendAsUserId=e.sendAsUserId,this.replyToUserId=e.replyToUserId,this.emailAlias=e.emailAlias,this.subject=e.subject,this.sendToAdmin=e.sendToAdmin,this.sendToAdminAssistant=e.sendToAdminAssistant,this.includeMaterials=e.includeMaterials,this.sendSeparateCCCopy=e.sendSeparateCCCopy,this.body=e.body)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).sessionId=this.sessionId,e.emailTemplateId=this.emailTemplateId,e.sendAsUserId=this.sendAsUserId,e.replyToUserId=this.replyToUserId,e.emailAlias=this.emailAlias,e.subject=this.subject,e.sendToAdmin=this.sendToAdmin,e.sendToAdminAssistant=this.sendToAdminAssistant,e.includeMaterials=this.includeMaterials,e.sendSeparateCCCopy=this.sendSeparateCCCopy,e.body=this.body,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),yI=function(){function e(t){if(Object(l.a)(this,e),this.scheduleEmailSettingId=void 0,this.scheduleId=void 0,this.sessionIds=void 0,this.emailTypeId=void 0,this.scheduleOption=void 0,this.emailTemplateId=void 0,this.subject=void 0,this.replyToUserId=void 0,this.senderId=void 0,this.emailAlias=void 0,this.body=void 0,this.sendToAdminAssistant=void 0,this.sendSeparateCCCopy=void 0,this.includeMaterials=void 0,this.includeMatchedSessionsOnly=void 0,this.additionalLocations=void 0,this.scheduleEmailSettingRecurrenceId=void 0,this.schedules=void 0,this.recurrence=void 0,this.recipients=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.scheduleEmailSettingId=e.scheduleEmailSettingId,this.scheduleId=e.scheduleId,Array.isArray(e.sessionIds)){this.sessionIds=[];var t,n=Object(s.a)(e.sessionIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.sessionIds.push(i)}}catch(u){n.e(u)}finally{n.f()}}if(this.emailTypeId=e.emailTypeId,this.scheduleOption=e.scheduleOption,this.emailTemplateId=e.emailTemplateId,this.subject=e.subject,this.replyToUserId=e.replyToUserId,this.senderId=e.senderId,this.emailAlias=e.emailAlias,this.body=e.body,this.sendToAdminAssistant=e.sendToAdminAssistant,this.sendSeparateCCCopy=e.sendSeparateCCCopy,this.includeMaterials=e.includeMaterials,this.includeMatchedSessionsOnly=e.includeMatchedSessionsOnly,this.additionalLocations=e.additionalLocations,this.scheduleEmailSettingRecurrenceId=e.scheduleEmailSettingRecurrenceId,Array.isArray(e.schedules)){this.schedules=[];var a,r=Object(s.a)(e.schedules);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.schedules.push(Ey.fromJS(o))}}catch(u){r.e(u)}finally{r.f()}}if(this.recurrence=e.recurrence?gy.fromJS(e.recurrence):void 0,Array.isArray(e.recipients)){this.recipients=[];var l,c=Object(s.a)(e.recipients);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.recipients.push(Ss.fromJS(d))}}catch(u){c.e(u)}finally{c.f()}}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).scheduleEmailSettingId=this.scheduleEmailSettingId,e.scheduleId=this.scheduleId,Array.isArray(this.sessionIds)){e.sessionIds=[];var t,n=Object(s.a)(this.sessionIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.sessionIds.push(i)}}catch(u){n.e(u)}finally{n.f()}}if(e.emailTypeId=this.emailTypeId,e.scheduleOption=this.scheduleOption,e.emailTemplateId=this.emailTemplateId,e.subject=this.subject,e.replyToUserId=this.replyToUserId,e.senderId=this.senderId,e.emailAlias=this.emailAlias,e.body=this.body,e.sendToAdminAssistant=this.sendToAdminAssistant,e.sendSeparateCCCopy=this.sendSeparateCCCopy,e.includeMaterials=this.includeMaterials,e.includeMatchedSessionsOnly=this.includeMatchedSessionsOnly,e.additionalLocations=this.additionalLocations,e.scheduleEmailSettingRecurrenceId=this.scheduleEmailSettingRecurrenceId,Array.isArray(this.schedules)){e.schedules=[];var a,r=Object(s.a)(this.schedules);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.schedules.push(o.toJSON())}}catch(u){r.e(u)}finally{r.f()}}if(e.recurrence=this.recurrence?this.recurrence.toJSON():void 0,Array.isArray(this.recipients)){e.recipients=[];var l,c=Object(s.a)(this.recipients);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.recipients.push(d.toJSON())}}catch(u){c.e(u)}finally{c.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),bI=function(){function e(t){if(Object(l.a)(this,e),this.securityGroupId=void 0,this.name=void 0,this.description=void 0,this.isActive=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.securityGroupId=e.securityGroupId,this.name=e.name,this.description=e.description,this.isActive=e.isActive)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).securityGroupId=this.securityGroupId,e.name=this.name,e.description=this.description,e.isActive=this.isActive,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),gI=function(){function e(t){if(Object(l.a)(this,e),this.userId=void 0,this.userName=void 0,this.userType=void 0,this.email=void 0,this.inactiveDate=void 0,this.portalAccessEnabled=void 0,this.phone=void 0,this.smsMfaEnabled=void 0,this.resetPassword=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.userId=e.userId,this.userName=e.userName,this.userType=e.userType,this.email=e.email,this.inactiveDate=e.inactiveDate?new Date(e.inactiveDate.toString()):void 0,this.portalAccessEnabled=e.portalAccessEnabled,this.phone=e.phone,this.smsMfaEnabled=e.smsMfaEnabled,this.resetPassword=e.resetPassword)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).userId=this.userId,e.userName=this.userName,e.userType=this.userType,e.email=this.email,e.inactiveDate=this.inactiveDate?this.inactiveDate.toISOString():void 0,e.portalAccessEnabled=this.portalAccessEnabled,e.phone=this.phone,e.smsMfaEnabled=this.smsMfaEnabled,e.resetPassword=this.resetPassword,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),EI=function(){function e(t){if(Object(l.a)(this,e),this.userId=void 0,this.newPassword=void 0,this.confirmPassword=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.userId=e.userId,this.newPassword=e.newPassword,this.confirmPassword=e.confirmPassword)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).userId=this.userId,e.newPassword=this.newPassword,e.confirmPassword=this.confirmPassword,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),II=function(){function e(t){if(Object(l.a)(this,e),this.securityUserSavedFilterId=void 0,this.name=void 0,this.isPublic=void 0,this.isReadOnly=void 0,this.filter=void 0,this.createdBy=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.securityUserSavedFilterId=e.securityUserSavedFilterId,this.name=e.name,this.isPublic=e.isPublic,this.isReadOnly=e.isReadOnly,this.filter=e.filter,this.createdBy=e.createdBy)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).securityUserSavedFilterId=this.securityUserSavedFilterId,e.name=this.name,e.isPublic=this.isPublic,e.isReadOnly=this.isReadOnly,e.filter=this.filter,e.createdBy=this.createdBy,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),SI=function(){function e(t){if(Object(l.a)(this,e),this.sessionId=void 0,this.mediaTypeId=void 0,this.title=void 0,this.code=void 0,this.courseFormatId=void 0,this.startDate=void 0,this.endDate=void 0,this.startTime=void 0,this.endTime=void 0,this.locationId=void 0,this.timezoneId=void 0,this.isRegistrationApprovalNeeded=void 0,this.roomId=void 0,this.cost=void 0,this.duration=void 0,this.registrationLimit=void 0,this.isWaitlistingAllowed=void 0,this.evaluationId=void 0,this.areQuestionsAllowed=void 0,this.launchUrl=void 0,this.url=void 0,this.note=void 0,this.detail=void 0,this.isOpenToClient=void 0,this.isIndividualSessionDateAllowed=void 0,this.isPublished=void 0,this.cancelledDate=void 0,this.toAddCount=void 0,this.sessionApprovers=void 0,this.sessionMaterials=void 0,this.sessionMediaFiles=void 0,this.isRequestFromPublicAPI=void 0,this.sessionLicenses=void 0,this.userIdFromUserPage=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.sessionId=e.sessionId,this.mediaTypeId=e.mediaTypeId,this.title=e.title,this.code=e.code,this.courseFormatId=e.courseFormatId,this.startDate=e.startDate?new Date(e.startDate.toString()):void 0,this.endDate=e.endDate?new Date(e.endDate.toString()):void 0,this.startTime=e.startTime,this.endTime=e.endTime,this.locationId=e.locationId,this.timezoneId=e.timezoneId,this.isRegistrationApprovalNeeded=e.isRegistrationApprovalNeeded,this.roomId=e.roomId,this.cost=e.cost,this.duration=e.duration,this.registrationLimit=e.registrationLimit,this.isWaitlistingAllowed=e.isWaitlistingAllowed,this.evaluationId=e.evaluationId,this.areQuestionsAllowed=e.areQuestionsAllowed,this.launchUrl=e.launchUrl,this.url=e.url,this.note=e.note,this.detail=e.detail,this.isOpenToClient=e.isOpenToClient,this.isIndividualSessionDateAllowed=e.isIndividualSessionDateAllowed,this.isPublished=e.isPublished,this.cancelledDate=e.cancelledDate?new Date(e.cancelledDate.toString()):void 0,this.toAddCount=e.toAddCount,Array.isArray(e.sessionApprovers)){this.sessionApprovers=[];var t,n=Object(s.a)(e.sessionApprovers);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.sessionApprovers.push(vb.fromJS(i))}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(e.sessionMaterials)){this.sessionMaterials=[];var a,r=Object(s.a)(e.sessionMaterials);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.sessionMaterials.push(qb.fromJS(o))}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(e.sessionMediaFiles)){this.sessionMediaFiles=[];var l,c=Object(s.a)(e.sessionMediaFiles);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.sessionMediaFiles.push(Mb.fromJS(d))}}catch(f){c.e(f)}finally{c.f()}}if(this.isRequestFromPublicAPI=e.isRequestFromPublicAPI,Array.isArray(e.sessionLicenses)){this.sessionLicenses=[];var u,m=Object(s.a)(e.sessionLicenses);try{for(m.s();!(u=m.n()).done;){var v=u.value;this.sessionLicenses.push(Fb.fromJS(v))}}catch(f){m.e(f)}finally{m.f()}}this.userIdFromUserPage=e.userIdFromUserPage}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).sessionId=this.sessionId,e.mediaTypeId=this.mediaTypeId,e.title=this.title,e.code=this.code,e.courseFormatId=this.courseFormatId,e.startDate=this.startDate?this.startDate.toISOString():void 0,e.endDate=this.endDate?this.endDate.toISOString():void 0,e.startTime=this.startTime,e.endTime=this.endTime,e.locationId=this.locationId,e.timezoneId=this.timezoneId,e.isRegistrationApprovalNeeded=this.isRegistrationApprovalNeeded,e.roomId=this.roomId,e.cost=this.cost,e.duration=this.duration,e.registrationLimit=this.registrationLimit,e.isWaitlistingAllowed=this.isWaitlistingAllowed,e.evaluationId=this.evaluationId,e.areQuestionsAllowed=this.areQuestionsAllowed,e.launchUrl=this.launchUrl,e.url=this.url,e.note=this.note,e.detail=this.detail,e.isOpenToClient=this.isOpenToClient,e.isIndividualSessionDateAllowed=this.isIndividualSessionDateAllowed,e.isPublished=this.isPublished,e.cancelledDate=this.cancelledDate?this.cancelledDate.toISOString():void 0,e.toAddCount=this.toAddCount,Array.isArray(this.sessionApprovers)){e.sessionApprovers=[];var t,n=Object(s.a)(this.sessionApprovers);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.sessionApprovers.push(i.toJSON())}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(this.sessionMaterials)){e.sessionMaterials=[];var a,r=Object(s.a)(this.sessionMaterials);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.sessionMaterials.push(o.toJSON())}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(this.sessionMediaFiles)){e.sessionMediaFiles=[];var l,c=Object(s.a)(this.sessionMediaFiles);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.sessionMediaFiles.push(d.toJSON())}}catch(f){c.e(f)}finally{c.f()}}if(e.isRequestFromPublicAPI=this.isRequestFromPublicAPI,Array.isArray(this.sessionLicenses)){e.sessionLicenses=[];var u,m=Object(s.a)(this.sessionLicenses);try{for(m.s();!(u=m.n()).done;){var v=u.value;e.sessionLicenses.push(v.toJSON())}}catch(f){m.e(f)}finally{m.f()}}return e.userIdFromUserPage=this.userIdFromUserPage,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),OI=function(){function e(t){if(Object(l.a)(this,e),this.sessionId=void 0,this.isAttendanceValidated=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.sessionId=e.sessionId,this.isAttendanceValidated=e.isAttendanceValidated)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).sessionId=this.sessionId,e.isAttendanceValidated=this.isAttendanceValidated,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),CI=function(){function e(t){if(Object(l.a)(this,e),this.sessionId=void 0,this.mediaTypeId=void 0,this.title=void 0,this.courseFormatId=void 0,this.startDate=void 0,this.endDate=void 0,this.startTime=void 0,this.endTime=void 0,this.locationId=void 0,this.timezoneId=void 0,this.isRegistrationApprovalNeeded=void 0,this.roomId=void 0,this.cost=void 0,this.duration=void 0,this.registrationLimit=void 0,this.isWaitlistingAllowed=void 0,this.evaluationId=void 0,this.areQuestionsAllowed=void 0,this.launchUrl=void 0,this.url=void 0,this.note=void 0,this.detail=void 0,this.isOpenToClient=void 0,this.isIndividualSessionDateAllowed=void 0,this.isPublished=void 0,this.cancelledDate=void 0,this.toAddCount=void 0,this.sessionApprovers=void 0,this.sessionMaterials=void 0,this.sessionMediaFiles=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.sessionId=e.sessionId,this.mediaTypeId=e.mediaTypeId,this.title=e.title,this.courseFormatId=e.courseFormatId,this.startDate=e.startDate?new Date(e.startDate.toString()):void 0,this.endDate=e.endDate?new Date(e.endDate.toString()):void 0,this.startTime=e.startTime,this.endTime=e.endTime,this.locationId=e.locationId,this.timezoneId=e.timezoneId,this.isRegistrationApprovalNeeded=e.isRegistrationApprovalNeeded,this.roomId=e.roomId,this.cost=e.cost,this.duration=e.duration,this.registrationLimit=e.registrationLimit,this.isWaitlistingAllowed=e.isWaitlistingAllowed,this.evaluationId=e.evaluationId,this.areQuestionsAllowed=e.areQuestionsAllowed,this.launchUrl=e.launchUrl,this.url=e.url,this.note=e.note,this.detail=e.detail,this.isOpenToClient=e.isOpenToClient,this.isIndividualSessionDateAllowed=e.isIndividualSessionDateAllowed,this.isPublished=e.isPublished,this.cancelledDate=e.cancelledDate?new Date(e.cancelledDate.toString()):void 0,this.toAddCount=e.toAddCount,Array.isArray(e.sessionApprovers)){this.sessionApprovers=[];var t,n=Object(s.a)(e.sessionApprovers);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.sessionApprovers.push(vb.fromJS(i))}}catch(u){n.e(u)}finally{n.f()}}if(Array.isArray(e.sessionMaterials)){this.sessionMaterials=[];var a,r=Object(s.a)(e.sessionMaterials);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.sessionMaterials.push(qb.fromJS(o))}}catch(u){r.e(u)}finally{r.f()}}if(Array.isArray(e.sessionMediaFiles)){this.sessionMediaFiles=[];var l,c=Object(s.a)(e.sessionMediaFiles);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.sessionMediaFiles.push(Mb.fromJS(d))}}catch(u){c.e(u)}finally{c.f()}}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).sessionId=this.sessionId,e.mediaTypeId=this.mediaTypeId,e.title=this.title,e.courseFormatId=this.courseFormatId,e.startDate=this.startDate?this.startDate.toISOString():void 0,e.endDate=this.endDate?this.endDate.toISOString():void 0,e.startTime=this.startTime,e.endTime=this.endTime,e.locationId=this.locationId,e.timezoneId=this.timezoneId,e.isRegistrationApprovalNeeded=this.isRegistrationApprovalNeeded,e.roomId=this.roomId,e.cost=this.cost,e.duration=this.duration,e.registrationLimit=this.registrationLimit,e.isWaitlistingAllowed=this.isWaitlistingAllowed,e.evaluationId=this.evaluationId,e.areQuestionsAllowed=this.areQuestionsAllowed,e.launchUrl=this.launchUrl,e.url=this.url,e.note=this.note,e.detail=this.detail,e.isOpenToClient=this.isOpenToClient,e.isIndividualSessionDateAllowed=this.isIndividualSessionDateAllowed,e.isPublished=this.isPublished,e.cancelledDate=this.cancelledDate?this.cancelledDate.toISOString():void 0,e.toAddCount=this.toAddCount,Array.isArray(this.sessionApprovers)){e.sessionApprovers=[];var t,n=Object(s.a)(this.sessionApprovers);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.sessionApprovers.push(i.toJSON())}}catch(u){n.e(u)}finally{n.f()}}if(Array.isArray(this.sessionMaterials)){e.sessionMaterials=[];var a,r=Object(s.a)(this.sessionMaterials);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.sessionMaterials.push(o.toJSON())}}catch(u){r.e(u)}finally{r.f()}}if(Array.isArray(this.sessionMediaFiles)){e.sessionMediaFiles=[];var l,c=Object(s.a)(this.sessionMediaFiles);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.sessionMediaFiles.push(d.toJSON())}}catch(u){c.e(u)}finally{c.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),jI=function(){function e(t){if(Object(l.a)(this,e),this.sessionEmailSettingId=void 0,this.sessionId=void 0,this.emailTypeId=void 0,this.scheduleOption=void 0,this.emailTemplateId=void 0,this.subject=void 0,this.replyToUserId=void 0,this.senderId=void 0,this.emailAlias=void 0,this.body=void 0,this.sendToAdminAssistant=void 0,this.sendSeparateCCCopy=void 0,this.includeMaterials=void 0,this.includeMatchedSessionsOnly=void 0,this.sessionEmailSettingRecurrenceId=void 0,this.schedules=void 0,this.recurrence=void 0,this.recipients=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.sessionEmailSettingId=e.sessionEmailSettingId,this.sessionId=e.sessionId,this.emailTypeId=e.emailTypeId,this.scheduleOption=e.scheduleOption,this.emailTemplateId=e.emailTemplateId,this.subject=e.subject,this.replyToUserId=e.replyToUserId,this.senderId=e.senderId,this.emailAlias=e.emailAlias,this.body=e.body,this.sendToAdminAssistant=e.sendToAdminAssistant,this.sendSeparateCCCopy=e.sendSeparateCCCopy,this.includeMaterials=e.includeMaterials,this.includeMatchedSessionsOnly=e.includeMatchedSessionsOnly,this.sessionEmailSettingRecurrenceId=e.sessionEmailSettingRecurrenceId,Array.isArray(e.schedules)){this.schedules=[];var t,n=Object(s.a)(e.schedules);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.schedules.push(gb.fromJS(i))}}catch(l){n.e(l)}finally{n.f()}}if(this.recurrence=e.recurrence?bb.fromJS(e.recurrence):void 0,Array.isArray(e.recipients)){this.recipients=[];var a,r=Object(s.a)(e.recipients);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.recipients.push(Ss.fromJS(o))}}catch(l){r.e(l)}finally{r.f()}}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).sessionEmailSettingId=this.sessionEmailSettingId,e.sessionId=this.sessionId,e.emailTypeId=this.emailTypeId,e.scheduleOption=this.scheduleOption,e.emailTemplateId=this.emailTemplateId,e.subject=this.subject,e.replyToUserId=this.replyToUserId,e.senderId=this.senderId,e.emailAlias=this.emailAlias,e.body=this.body,e.sendToAdminAssistant=this.sendToAdminAssistant,e.sendSeparateCCCopy=this.sendSeparateCCCopy,e.includeMaterials=this.includeMaterials,e.includeMatchedSessionsOnly=this.includeMatchedSessionsOnly,e.sessionEmailSettingRecurrenceId=this.sessionEmailSettingRecurrenceId,Array.isArray(this.schedules)){e.schedules=[];var t,n=Object(s.a)(this.schedules);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.schedules.push(i.toJSON())}}catch(l){n.e(l)}finally{n.f()}}if(e.recurrence=this.recurrence?this.recurrence.toJSON():void 0,Array.isArray(this.recipients)){e.recipients=[];var a,r=Object(s.a)(this.recipients);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.recipients.push(o.toJSON())}}catch(l){r.e(l)}finally{r.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),xI=function(){function e(t){if(Object(l.a)(this,e),this.sessionId=void 0,this.evaluationId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.sessionId=e.sessionId,this.evaluationId=e.evaluationId)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).sessionId=this.sessionId,e.evaluationId=this.evaluationId,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),AI=function(){function e(t){if(Object(l.a)(this,e),this.sessionId=void 0,this.sessionLicenses=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&(this.sessionId=e.sessionId,Array.isArray(e.sessionLicenses))){this.sessionLicenses=[];var t,n=Object(s.a)(e.sessionLicenses);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.sessionLicenses.push(Fb.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).sessionId=this.sessionId,Array.isArray(this.sessionLicenses)){e.sessionLicenses=[];var t,n=Object(s.a)(this.sessionLicenses);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.sessionLicenses.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),TI=function(){function e(t){if(Object(l.a)(this,e),this.sessionId=void 0,this.licenseId=void 0,this.sessionLicenseProperties=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&(this.sessionId=e.sessionId,this.licenseId=e.licenseId,Array.isArray(e.sessionLicenseProperties))){this.sessionLicenseProperties=[];var t,n=Object(s.a)(e.sessionLicenseProperties);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.sessionLicenseProperties.push(Rb.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).sessionId=this.sessionId,e.licenseId=this.licenseId,Array.isArray(this.sessionLicenseProperties)){e.sessionLicenseProperties=[];var t,n=Object(s.a)(this.sessionLicenseProperties);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.sessionLicenseProperties.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),wI=function(){function e(t){if(Object(l.a)(this,e),this.sessionMediaFileId=void 0,this.isRequired=void 0,this.displayOrder=void 0,this.verificationDisplayDuration=void 0,this.sessionMediaFileVerificationCodes=void 0,this.verificationCodeEnabled=void 0,this.viewingVerificationEnabled=void 0,this.viewingVerificationDisplayLimit=void 0,this.viewingVerificationDisplayDuration=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.sessionMediaFileId=e.sessionMediaFileId,this.isRequired=e.isRequired,this.displayOrder=e.displayOrder,this.verificationDisplayDuration=e.verificationDisplayDuration,Array.isArray(e.sessionMediaFileVerificationCodes)){this.sessionMediaFileVerificationCodes=[];var t,n=Object(s.a)(e.sessionMediaFileVerificationCodes);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.sessionMediaFileVerificationCodes.push(Vb.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}this.verificationCodeEnabled=e.verificationCodeEnabled,this.viewingVerificationEnabled=e.viewingVerificationEnabled,this.viewingVerificationDisplayLimit=e.viewingVerificationDisplayLimit,this.viewingVerificationDisplayDuration=e.viewingVerificationDisplayDuration}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).sessionMediaFileId=this.sessionMediaFileId,e.isRequired=this.isRequired,e.displayOrder=this.displayOrder,e.verificationDisplayDuration=this.verificationDisplayDuration,Array.isArray(this.sessionMediaFileVerificationCodes)){e.sessionMediaFileVerificationCodes=[];var t,n=Object(s.a)(this.sessionMediaFileVerificationCodes);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.sessionMediaFileVerificationCodes.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e.verificationCodeEnabled=this.verificationCodeEnabled,e.viewingVerificationEnabled=this.viewingVerificationEnabled,e.viewingVerificationDisplayLimit=this.viewingVerificationDisplayLimit,e.viewingVerificationDisplayDuration=this.viewingVerificationDisplayDuration,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),kI=function(){function e(t){if(Object(l.a)(this,e),this.sessionId=void 0,this.sessionMediaFiles=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&(this.sessionId=e.sessionId,Array.isArray(e.sessionMediaFiles))){this.sessionMediaFiles=[];var t,n=Object(s.a)(e.sessionMediaFiles);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.sessionMediaFiles.push(Mb.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).sessionId=this.sessionId,Array.isArray(this.sessionMediaFiles)){e.sessionMediaFiles=[];var t,n=Object(s.a)(this.sessionMediaFiles);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.sessionMediaFiles.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),PI=function(){function e(t){if(Object(l.a)(this,e),this.sessionId=void 0,this.isAdjusted=void 0,this.sessionParticipantIds=void 0,this.userLicenseCreditValues=void 0,this.userLicenseProperties=void 0,this.userIdFromUserPage=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n]);t||(this.sessionParticipantIds=[])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.sessionId=e.sessionId,this.isAdjusted=e.isAdjusted,Array.isArray(e.sessionParticipantIds)){this.sessionParticipantIds=[];var t,n=Object(s.a)(e.sessionParticipantIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.sessionParticipantIds.push(i)}}catch(u){n.e(u)}finally{n.f()}}if(Array.isArray(e.userLicenseCreditValues)){this.userLicenseCreditValues=[];var a,r=Object(s.a)(e.userLicenseCreditValues);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.userLicenseCreditValues.push(lg.fromJS(o))}}catch(u){r.e(u)}finally{r.f()}}if(Array.isArray(e.userLicenseProperties)){this.userLicenseProperties=[];var l,c=Object(s.a)(e.userLicenseProperties);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.userLicenseProperties.push(cg.fromJS(d))}}catch(u){c.e(u)}finally{c.f()}}this.userIdFromUserPage=e.userIdFromUserPage}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).sessionId=this.sessionId,e.isAdjusted=this.isAdjusted,Array.isArray(this.sessionParticipantIds)){e.sessionParticipantIds=[];var t,n=Object(s.a)(this.sessionParticipantIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.sessionParticipantIds.push(i)}}catch(u){n.e(u)}finally{n.f()}}if(Array.isArray(this.userLicenseCreditValues)){e.userLicenseCreditValues=[];var a,r=Object(s.a)(this.userLicenseCreditValues);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.userLicenseCreditValues.push(o.toJSON())}}catch(u){r.e(u)}finally{r.f()}}if(Array.isArray(this.userLicenseProperties)){e.userLicenseProperties=[];var l,c=Object(s.a)(this.userLicenseProperties);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.userLicenseProperties.push(d.toJSON())}}catch(u){c.e(u)}finally{c.f()}}return e.userIdFromUserPage=this.userIdFromUserPage,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),NI=function(){function e(t){if(Object(l.a)(this,e),this.isParticipantUnvalidated=void 0,this.isApproval=void 0,this.sessionId=void 0,this.sessionParticipantIds=void 0,this.sessionParticipantStatusId=void 0,this.sendEmailConfirmation=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n]);t||(this.sessionParticipantIds=[])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.isParticipantUnvalidated=e.isParticipantUnvalidated,this.isApproval=e.isApproval,this.sessionId=e.sessionId,Array.isArray(e.sessionParticipantIds)){this.sessionParticipantIds=[];var t,n=Object(s.a)(e.sessionParticipantIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.sessionParticipantIds.push(i)}}catch(a){n.e(a)}finally{n.f()}}this.sessionParticipantStatusId=e.sessionParticipantStatusId,this.sendEmailConfirmation=e.sendEmailConfirmation}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).isParticipantUnvalidated=this.isParticipantUnvalidated,e.isApproval=this.isApproval,e.sessionId=this.sessionId,Array.isArray(this.sessionParticipantIds)){e.sessionParticipantIds=[];var t,n=Object(s.a)(this.sessionParticipantIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.sessionParticipantIds.push(i)}}catch(a){n.e(a)}finally{n.f()}}return e.sessionParticipantStatusId=this.sessionParticipantStatusId,e.sendEmailConfirmation=this.sendEmailConfirmation,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),DI=function(){function e(t){if(Object(l.a)(this,e),this.sessionId=void 0,this.isSessionSettingsEnabled=void 0,this.attendanceFormId=void 0,this.sessionLicenseCertificates=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&(this.sessionId=e.sessionId,this.isSessionSettingsEnabled=e.isSessionSettingsEnabled,this.attendanceFormId=e.attendanceFormId,Array.isArray(e.sessionLicenseCertificates))){this.sessionLicenseCertificates=[];var t,n=Object(s.a)(e.sessionLicenseCertificates);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.sessionLicenseCertificates.push(Db.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).sessionId=this.sessionId,e.isSessionSettingsEnabled=this.isSessionSettingsEnabled,e.attendanceFormId=this.attendanceFormId,Array.isArray(this.sessionLicenseCertificates)){e.sessionLicenseCertificates=[];var t,n=Object(s.a)(this.sessionLicenseCertificates);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.sessionLicenseCertificates.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),LI=function(){function e(t){if(Object(l.a)(this,e),this.sessionId=void 0,this.userToAdjust=void 0,this.isOrderAdjustedDown=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.sessionId=e.sessionId,this.userToAdjust=e.userToAdjust,this.isOrderAdjustedDown=e.isOrderAdjustedDown)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).sessionId=this.sessionId,e.userToAdjust=this.userToAdjust,e.isOrderAdjustedDown=this.isOrderAdjustedDown,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),FI=function(){function e(t){if(Object(l.a)(this,e),this.tagId=void 0,this.name=void 0,this.isActive=void 0,this.code=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.tagId=e.tagId,this.name=e.name,this.isActive=e.isActive,this.code=e.code)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).tagId=this.tagId,e.name=this.name,e.isActive=this.isActive,e.code=this.code,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),BI=function(){function e(t){if(Object(l.a)(this,e),this.inactiveSet=void 0,this.terminationSet=void 0,this.graduationSet=void 0,this.hireDateSet=void 0,this.birthDateSet=void 0,this.userId=void 0,this.userType=void 0,this.firstName=void 0,this.middleName=void 0,this.lastName=void 0,this.nickname=void 0,this.email=void 0,this.userName=void 0,this.personnelId=void 0,this.genderId=void 0,this.birthDate=void 0,this.graduationDate=void 0,this.hireDate=void 0,this.fireDate=void 0,this.inactiveDate=void 0,this.locationId=void 0,this.street=void 0,this.city=void 0,this.stateId=void 0,this.countryId=void 0,this.zip=void 0,this.phone=void 0,this.emailSecretary=void 0,this.emailPracticeLeader=void 0,this.note=void 0,this.affiliationId=void 0,this.portalAccessEnabled=void 0,this.position=void 0,this.idpId=void 0,this.userAvatarId=void 0,this.userAvatar=void 0,this.supressEmail=void 0,this.fromPublicApi=void 0,this.userRole=void 0,this.userGroup=void 0,this.userPosition=void 0,this.userClassYear=void 0,this.userDepartment=void 0,this.userEthnicity=void 0,this.userLevel=void 0,this.userPracticeArea=void 0,this.userLicense=void 0,this.userRelationship=void 0,this.licensesWithRetro=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.inactiveSet=e.inactiveSet,this.terminationSet=e.terminationSet,this.graduationSet=e.graduationSet,this.hireDateSet=e.hireDateSet,this.birthDateSet=e.birthDateSet,this.userId=e.userId,this.userType=e.userType,this.firstName=e.firstName,this.middleName=e.middleName,this.lastName=e.lastName,this.nickname=e.nickname,this.email=e.email,this.userName=e.userName,this.personnelId=e.personnelId,this.genderId=e.genderId,this.birthDate=e.birthDate?new Date(e.birthDate.toString()):void 0,this.graduationDate=e.graduationDate?new Date(e.graduationDate.toString()):void 0,this.hireDate=e.hireDate?new Date(e.hireDate.toString()):void 0,this.fireDate=e.fireDate?new Date(e.fireDate.toString()):void 0,this.inactiveDate=e.inactiveDate?new Date(e.inactiveDate.toString()):void 0,this.locationId=e.locationId,this.street=e.street,this.city=e.city,this.stateId=e.stateId,this.countryId=e.countryId,this.zip=e.zip,this.phone=e.phone,this.emailSecretary=e.emailSecretary,this.emailPracticeLeader=e.emailPracticeLeader,this.note=e.note,this.affiliationId=e.affiliationId,this.portalAccessEnabled=e.portalAccessEnabled,this.position=e.position,this.idpId=e.idpId,this.userAvatarId=e.userAvatarId,this.userAvatar=e.userAvatar?QI.fromJS(e.userAvatar):void 0,this.supressEmail=e.supressEmail,this.fromPublicApi=e.fromPublicApi,Array.isArray(e.userRole)){this.userRole=[];var t,n=Object(s.a)(e.userRole);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.userRole.push(MS.fromJS(i))}}catch(F){n.e(F)}finally{n.f()}}if(Array.isArray(e.userGroup)){this.userGroup=[];var a,r=Object(s.a)(e.userGroup);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.userGroup.push(eb.fromJS(o))}}catch(F){r.e(F)}finally{r.f()}}if(Array.isArray(e.userPosition)){this.userPosition=[];var l,c=Object(s.a)(e.userPosition);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.userPosition.push(JS.fromJS(d))}}catch(F){c.e(F)}finally{c.f()}}if(Array.isArray(e.userClassYear)){this.userClassYear=[];var u,m=Object(s.a)(e.userClassYear);try{for(m.s();!(u=m.n()).done;){var v=u.value;this.userClassYear.push(KI.fromJS(v))}}catch(F){m.e(F)}finally{m.f()}}if(Array.isArray(e.userDepartment)){this.userDepartment=[];var f,p=Object(s.a)(e.userDepartment);try{for(p.s();!(f=p.n()).done;){var h=f.value;this.userDepartment.push(sS.fromJS(h))}}catch(F){p.e(F)}finally{p.f()}}if(Array.isArray(e.userEthnicity)){this.userEthnicity=[];var y,b=Object(s.a)(e.userEthnicity);try{for(b.s();!(y=b.n()).done;){var g=y.value;this.userEthnicity.push(dS.fromJS(g))}}catch(F){b.e(F)}finally{b.f()}}if(Array.isArray(e.userLevel)){this.userLevel=[];var E,I=Object(s.a)(e.userLevel);try{for(I.s();!(E=I.n()).done;){var S=E.value;this.userLevel.push(IS.fromJS(S))}}catch(F){I.e(F)}finally{I.f()}}if(Array.isArray(e.userPracticeArea)){this.userPracticeArea=[];var O,C=Object(s.a)(e.userPracticeArea);try{for(C.s();!(O=C.n()).done;){var j=O.value;this.userPracticeArea.push(GS.fromJS(j))}}catch(F){C.e(F)}finally{C.f()}}if(Array.isArray(e.userLicense)){this.userLicense=[];var x,A=Object(s.a)(e.userLicense);try{for(A.s();!(x=A.n()).done;){var T=x.value;this.userLicense.push(AS.fromJS(T))}}catch(F){A.e(F)}finally{A.f()}}if(Array.isArray(e.userRelationship)){this.userRelationship=[];var w,k=Object(s.a)(e.userRelationship);try{for(k.s();!(w=k.n()).done;){var P=w.value;this.userRelationship.push(zS.fromJS(P))}}catch(F){k.e(F)}finally{k.f()}}if(Array.isArray(e.licensesWithRetro)){this.licensesWithRetro=[];var N,D=Object(s.a)(e.licensesWithRetro);try{for(D.s();!(N=D.n()).done;){var L=N.value;this.licensesWithRetro.push(L)}}catch(F){D.e(F)}finally{D.f()}}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).inactiveSet=this.inactiveSet,e.terminationSet=this.terminationSet,e.graduationSet=this.graduationSet,e.hireDateSet=this.hireDateSet,e.birthDateSet=this.birthDateSet,e.userId=this.userId,e.userType=this.userType,e.firstName=this.firstName,e.middleName=this.middleName,e.lastName=this.lastName,e.nickname=this.nickname,e.email=this.email,e.userName=this.userName,e.personnelId=this.personnelId,e.genderId=this.genderId,e.birthDate=this.birthDate?this.birthDate.toISOString():void 0,e.graduationDate=this.graduationDate?this.graduationDate.toISOString():void 0,e.hireDate=this.hireDate?this.hireDate.toISOString():void 0,e.fireDate=this.fireDate?this.fireDate.toISOString():void 0,e.inactiveDate=this.inactiveDate?this.inactiveDate.toISOString():void 0,e.locationId=this.locationId,e.street=this.street,e.city=this.city,e.stateId=this.stateId,e.countryId=this.countryId,e.zip=this.zip,e.phone=this.phone,e.emailSecretary=this.emailSecretary,e.emailPracticeLeader=this.emailPracticeLeader,e.note=this.note,e.affiliationId=this.affiliationId,e.portalAccessEnabled=this.portalAccessEnabled,e.position=this.position,e.idpId=this.idpId,e.userAvatarId=this.userAvatarId,e.userAvatar=this.userAvatar?this.userAvatar.toJSON():void 0,e.supressEmail=this.supressEmail,e.fromPublicApi=this.fromPublicApi,Array.isArray(this.userRole)){e.userRole=[];var t,n=Object(s.a)(this.userRole);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.userRole.push(i.toJSON())}}catch(F){n.e(F)}finally{n.f()}}if(Array.isArray(this.userGroup)){e.userGroup=[];var a,r=Object(s.a)(this.userGroup);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.userGroup.push(o.toJSON())}}catch(F){r.e(F)}finally{r.f()}}if(Array.isArray(this.userPosition)){e.userPosition=[];var l,c=Object(s.a)(this.userPosition);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.userPosition.push(d.toJSON())}}catch(F){c.e(F)}finally{c.f()}}if(Array.isArray(this.userClassYear)){e.userClassYear=[];var u,m=Object(s.a)(this.userClassYear);try{for(m.s();!(u=m.n()).done;){var v=u.value;e.userClassYear.push(v.toJSON())}}catch(F){m.e(F)}finally{m.f()}}if(Array.isArray(this.userDepartment)){e.userDepartment=[];var f,p=Object(s.a)(this.userDepartment);try{for(p.s();!(f=p.n()).done;){var h=f.value;e.userDepartment.push(h.toJSON())}}catch(F){p.e(F)}finally{p.f()}}if(Array.isArray(this.userEthnicity)){e.userEthnicity=[];var y,b=Object(s.a)(this.userEthnicity);try{for(b.s();!(y=b.n()).done;){var g=y.value;e.userEthnicity.push(g.toJSON())}}catch(F){b.e(F)}finally{b.f()}}if(Array.isArray(this.userLevel)){e.userLevel=[];var E,I=Object(s.a)(this.userLevel);try{for(I.s();!(E=I.n()).done;){var S=E.value;e.userLevel.push(S.toJSON())}}catch(F){I.e(F)}finally{I.f()}}if(Array.isArray(this.userPracticeArea)){e.userPracticeArea=[];var O,C=Object(s.a)(this.userPracticeArea);try{for(C.s();!(O=C.n()).done;){var j=O.value;e.userPracticeArea.push(j.toJSON())}}catch(F){C.e(F)}finally{C.f()}}if(Array.isArray(this.userLicense)){e.userLicense=[];var x,A=Object(s.a)(this.userLicense);try{for(A.s();!(x=A.n()).done;){var T=x.value;e.userLicense.push(T.toJSON())}}catch(F){A.e(F)}finally{A.f()}}if(Array.isArray(this.userRelationship)){e.userRelationship=[];var w,k=Object(s.a)(this.userRelationship);try{for(k.s();!(w=k.n()).done;){var P=w.value;e.userRelationship.push(P.toJSON())}}catch(F){k.e(F)}finally{k.f()}}if(Array.isArray(this.licensesWithRetro)){e.licensesWithRetro=[];var N,D=Object(s.a)(this.licensesWithRetro);try{for(D.s();!(N=D.n()).done;){var L=N.value;e.licensesWithRetro.push(L)}}catch(F){D.e(F)}finally{D.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),RI=function(){function e(t){if(Object(l.a)(this,e),this.importData=void 0,this.importRowIds=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&(this.importData=e.importData?Bm.fromJS(e.importData):void 0,Array.isArray(e.importRowIds))){this.importRowIds=[];var t,n=Object(s.a)(e.importRowIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.importRowIds.push(i)}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).importData=this.importData?this.importData.toJSON():void 0,Array.isArray(this.importRowIds)){e.importRowIds=[];var t,n=Object(s.a)(this.importRowIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.importRowIds.push(i)}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),JI=function(){function e(t){if(Object(l.a)(this,e),this.userLicenseCreditValues=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&Array.isArray(e.userLicenseCreditValues)){this.userLicenseCreditValues=[];var t,n=Object(s.a)(e.userLicenseCreditValues);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.userLicenseCreditValues.push(xS.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.userLicenseCreditValues)){e.userLicenseCreditValues=[];var t,n=Object(s.a)(this.userLicenseCreditValues);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.userLicenseCreditValues.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),GI=function(){function e(t){if(Object(l.a)(this,e),this.userLicenseProperties=void 0,this.participantIds=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.userLicenseProperties)){this.userLicenseProperties=[];var t,n=Object(s.a)(e.userLicenseProperties);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.userLicenseProperties.push(PS.fromJS(i))}}catch(l){n.e(l)}finally{n.f()}}if(Array.isArray(e.participantIds)){this.participantIds=[];var a,r=Object(s.a)(e.participantIds);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.participantIds.push(o)}}catch(l){r.e(l)}finally{r.f()}}}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.userLicenseProperties)){e.userLicenseProperties=[];var t,n=Object(s.a)(this.userLicenseProperties);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.userLicenseProperties.push(i.toJSON())}}catch(l){n.e(l)}finally{n.f()}}if(Array.isArray(this.participantIds)){e.participantIds=[];var a,r=Object(s.a)(this.participantIds);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.participantIds.push(o)}}catch(l){r.e(l)}finally{r.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),UI=function(){function e(t){if(Object(l.a)(this,e),this.userId=void 0,this.licenseId=void 0,this.complianceStatusId=void 0,this.deleteRetroRecords=void 0,this.userLicenseProfileValues=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&(this.userId=e.userId,this.licenseId=e.licenseId,this.complianceStatusId=e.complianceStatusId,this.deleteRetroRecords=e.deleteRetroRecords,Array.isArray(e.userLicenseProfileValues))){this.userLicenseProfileValues=[];var t,n=Object(s.a)(e.userLicenseProfileValues);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.userLicenseProfileValues.push(kS.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).userId=this.userId,e.licenseId=this.licenseId,e.complianceStatusId=this.complianceStatusId,e.deleteRetroRecords=this.deleteRetroRecords,Array.isArray(this.userLicenseProfileValues)){e.userLicenseProfileValues=[];var t,n=Object(s.a)(this.userLicenseProfileValues);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.userLicenseProfileValues.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),zI=function(){function e(t){if(Object(l.a)(this,e),this.userId=void 0,this.userName=void 0,this.supressEmail=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.userId=e.userId,this.userName=e.userName,this.supressEmail=e.supressEmail)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).userId=this.userId,e.userName=this.userName,e.supressEmail=this.supressEmail,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),qI=function(){function e(t){if(Object(l.a)(this,e),this.dateFormat=void 0,this.timezone=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.dateFormat=e.dateFormat,this.timezone=e.timezone)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).dateFormat=this.dateFormat,e.timezone=this.timezone,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),MI=function(){function e(t){if(Object(l.a)(this,e),this.userSavedFilterId=void 0,this.name=void 0,this.isPublic=void 0,this.isReadOnly=void 0,this.filter=void 0,this.createdBy=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.userSavedFilterId=e.userSavedFilterId,this.name=e.name,this.isPublic=e.isPublic,this.isReadOnly=e.isReadOnly,this.filter=e.filter,this.createdBy=e.createdBy)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).userSavedFilterId=this.userSavedFilterId,e.name=this.name,e.isPublic=this.isPublic,e.isReadOnly=this.isReadOnly,e.filter=this.filter,e.createdBy=this.createdBy,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),WI=function(){function e(t){if(Object(l.a)(this,e),this.linkList=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&Array.isArray(e.linkList)){this.linkList=[];var t,n=Object(s.a)(e.linkList);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.linkList.push(lf.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.linkList)){e.linkList=[];var t,n=Object(s.a)(this.linkList);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.linkList.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),VI=function(){function e(t){if(Object(l.a)(this,e),this.storeId=void 0,this.userLoginSessionId=void 0,this.cognitoClientId=void 0,this.key=void 0,this.value=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.storeId=e.storeId,this.userLoginSessionId=e.userLoginSessionId,this.cognitoClientId=e.cognitoClientId,this.key=e.key,this.value=e.value)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).storeId=this.storeId,e.userLoginSessionId=this.userLoginSessionId,e.cognitoClientId=this.cognitoClientId,e.key=this.key,e.value=this.value,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),_I=function(){function e(t){if(Object(l.a)(this,e),this.userAccessTokens=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&Array.isArray(e.userAccessTokens)){this.userAccessTokens=[];var t,n=Object(s.a)(e.userAccessTokens);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.userAccessTokens.push(VI.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.userAccessTokens)){e.userAccessTokens=[];var t,n=Object(s.a)(this.userAccessTokens);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.userAccessTokens.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),YI=function(){function e(t){if(Object(l.a)(this,e),this.activityId=void 0,this.title=void 0,this.description=void 0,this.note=void 0,this.archivedDate=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.activityId=e.activityId,this.title=e.title,this.description=e.description,this.note=e.note,this.archivedDate=e.archivedDate?new Date(e.archivedDate.toString()):void 0)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).activityId=this.activityId,e.title=this.title,e.description=this.description,e.note=this.note,e.archivedDate=this.archivedDate?this.archivedDate.toISOString():void 0,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),HI=function(){function e(t){if(Object(l.a)(this,e),this.licenseId=void 0,this.creditId=void 0,this.value=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.licenseId=e.licenseId,this.creditId=e.creditId,this.value=e.value)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).licenseId=this.licenseId,e.creditId=this.creditId,e.value=this.value,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),$I=function(){function e(t){if(Object(l.a)(this,e),this.idpId=void 0,this.isActive=void 0,this.portalAccessEnabled=void 0,this.userType=void 0,this.userApplicationAccess=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&(this.idpId=e.idpId,this.isActive=e.isActive,this.portalAccessEnabled=e.portalAccessEnabled,this.userType=e.userType,Array.isArray(e.userApplicationAccess))){this.userApplicationAccess=[];var t,n=Object(s.a)(e.userApplicationAccess);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.userApplicationAccess.push(Rt.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).idpId=this.idpId,e.isActive=this.isActive,e.portalAccessEnabled=this.portalAccessEnabled,e.userType=this.userType,Array.isArray(this.userApplicationAccess)){e.userApplicationAccess=[];var t,n=Object(s.a)(this.userApplicationAccess);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.userApplicationAccess.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),QI=function(){function e(t){if(Object(l.a)(this,e),this.userAvatarId=void 0,this.fileId=void 0,this.userAvatarUrl=void 0,this.userAvatarThumbnailURl=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.userAvatarId=e.userAvatarId,this.fileId=e.fileId,this.userAvatarUrl=e.userAvatarUrl,this.userAvatarThumbnailURl=e.userAvatarThumbnailURl)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).userAvatarId=this.userAvatarId,e.fileId=this.fileId,e.userAvatarUrl=this.userAvatarUrl,e.userAvatarThumbnailURl=this.userAvatarThumbnailURl,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),ZI=function(){function e(t){if(Object(l.a)(this,e),this.userId=void 0,this.firstName=void 0,this.middleName=void 0,this.lastName=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.userId=e.userId,this.firstName=e.firstName,this.middleName=e.middleName,this.lastName=e.lastName)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).userId=this.userId,e.firstName=this.firstName,e.middleName=this.middleName,e.lastName=this.lastName,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),XI=function(){function e(t){if(Object(l.a)(this,e),this.sessionParticipantCertificateId=void 0,this.sessionParticipantId=void 0,this.fileId=void 0,this.fileName=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.sessionParticipantCertificateId=e.sessionParticipantCertificateId,this.sessionParticipantId=e.sessionParticipantId,this.fileId=e.fileId,this.fileName=e.fileName)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).sessionParticipantCertificateId=this.sessionParticipantCertificateId,e.sessionParticipantId=this.sessionParticipantId,e.fileId=this.fileId,e.fileName=this.fileName,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),KI=function(){function e(t){if(Object(l.a)(this,e),this.classYearId=void 0,this.name=void 0,this.code=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.classYearId=e.classYearId,this.name=e.name,this.code=e.code)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).classYearId=this.classYearId,e.name=this.name,e.code=this.code,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),eS=function(){function e(t){if(Object(l.a)(this,e),this.collectionId=void 0,this.collectionTitle=void 0,this.collectionDescription=void 0,this.userCourseCollections=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&(this.collectionId=e.collectionId,this.collectionTitle=e.collectionTitle,this.collectionDescription=e.collectionDescription,Array.isArray(e.userCourseCollections))){this.userCourseCollections=[];var t,n=Object(s.a)(e.userCourseCollections);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.userCourseCollections.push(iS.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).collectionId=this.collectionId,e.collectionTitle=this.collectionTitle,e.collectionDescription=this.collectionDescription,Array.isArray(this.userCourseCollections)){e.userCourseCollections=[];var t,n=Object(s.a)(this.userCourseCollections);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.userCourseCollections.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),tS=function(){function e(t){if(Object(l.a)(this,e),this.periodFrom=void 0,this.periodTo=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.periodFrom=e.periodFrom?new Date(e.periodFrom.toString()):void 0,this.periodTo=e.periodTo?new Date(e.periodTo.toString()):void 0)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).periodFrom=this.periodFrom?this.periodFrom.toISOString():void 0,e.periodTo=this.periodTo?this.periodTo.toISOString():void 0,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),nS=function(){function e(t){if(Object(l.a)(this,e),this.collectionId=void 0,this.title=void 0,this.description=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.collectionId=e.collectionId,this.title=e.title,this.description=e.description)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).collectionId=this.collectionId,e.title=this.title,e.description=this.description,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),iS=function(){function e(t){if(Object(l.a)(this,e),this.courseId=void 0,this.title=void 0,this.providerId=void 0,this.providerName=void 0,this.courseFormatPortalCategory=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&(this.courseId=e.courseId,this.title=e.title,this.providerId=e.providerId,this.providerName=e.providerName,Array.isArray(e.courseFormatPortalCategory))){this.courseFormatPortalCategory=[];var t,n=Object(s.a)(e.courseFormatPortalCategory);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.courseFormatPortalCategory.push(i)}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).courseId=this.courseId,e.title=this.title,e.providerId=this.providerId,e.providerName=this.providerName,Array.isArray(this.courseFormatPortalCategory)){e.courseFormatPortalCategory=[];var t,n=Object(s.a)(this.courseFormatPortalCategory);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.courseFormatPortalCategory.push(i)}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),aS=function(){function e(t){if(Object(l.a)(this,e),this.courses=void 0,this.recordCount=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.courses)){this.courses=[];var t,n=Object(s.a)(e.courses);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.courses.push(iS.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}this.recordCount=e.recordCount}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.courses)){e.courses=[];var t,n=Object(s.a)(this.courses);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.courses.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e.recordCount=this.recordCount,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),rS=function(){function e(t){if(Object(l.a)(this,e),this.sessionParticipantId=void 0,this.sessionId=void 0,this.scheduleId=void 0,this.sessionTypeId=void 0,this.startDate=void 0,this.endDate=void 0,this.userId=void 0,this.isInstructor=void 0,this.isOnlineLearning=void 0,this.isValidated=void 0,this.registrationDate=void 0,this.tentativeDate=void 0,this.validationDate=void 0,this.sessionParticipantStatusId=void 0,this.courseId=void 0,this.title=void 0,this.courseTitle=void 0,this.providerId=void 0,this.providerName=void 0,this.formatId=void 0,this.format=void 0,this.courseFormatPortalCategory=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.sessionParticipantId=e.sessionParticipantId,this.sessionId=e.sessionId,this.scheduleId=e.scheduleId,this.sessionTypeId=e.sessionTypeId,this.startDate=e.startDate?new Date(e.startDate.toString()):void 0,this.endDate=e.endDate?new Date(e.endDate.toString()):void 0,this.userId=e.userId,this.isInstructor=e.isInstructor,this.isOnlineLearning=e.isOnlineLearning,this.isValidated=e.isValidated,this.registrationDate=e.registrationDate?new Date(e.registrationDate.toString()):void 0,this.tentativeDate=e.tentativeDate?new Date(e.tentativeDate.toString()):void 0,this.validationDate=e.validationDate?new Date(e.validationDate.toString()):void 0,this.sessionParticipantStatusId=e.sessionParticipantStatusId,this.courseId=e.courseId,this.title=e.title,this.courseTitle=e.courseTitle,this.providerId=e.providerId,this.providerName=e.providerName,this.formatId=e.formatId,this.format=e.format,this.courseFormatPortalCategory=e.courseFormatPortalCategory)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).sessionParticipantId=this.sessionParticipantId,e.sessionId=this.sessionId,e.scheduleId=this.scheduleId,e.sessionTypeId=this.sessionTypeId,e.startDate=this.startDate?this.startDate.toISOString():void 0,e.endDate=this.endDate?this.endDate.toISOString():void 0,e.userId=this.userId,e.isInstructor=this.isInstructor,e.isOnlineLearning=this.isOnlineLearning,e.isValidated=this.isValidated,e.registrationDate=this.registrationDate?this.registrationDate.toISOString():void 0,e.tentativeDate=this.tentativeDate?this.tentativeDate.toISOString():void 0,e.validationDate=this.validationDate?this.validationDate.toISOString():void 0,e.sessionParticipantStatusId=this.sessionParticipantStatusId,e.courseId=this.courseId,e.title=this.title,e.courseTitle=this.courseTitle,e.providerId=this.providerId,e.providerName=this.providerName,e.formatId=this.formatId,e.format=this.format,e.courseFormatPortalCategory=this.courseFormatPortalCategory,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),oS=function(){function e(t){if(Object(l.a)(this,e),this.userCourseSessions=void 0,this.recordCount=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.userCourseSessions)){this.userCourseSessions=[];var t,n=Object(s.a)(e.userCourseSessions);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.userCourseSessions.push(rS.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}this.recordCount=e.recordCount}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.userCourseSessions)){e.userCourseSessions=[];var t,n=Object(s.a)(this.userCourseSessions);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.userCourseSessions.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e.recordCount=this.recordCount,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),sS=function(){function e(t){if(Object(l.a)(this,e),this.departmentId=void 0,this.name=void 0,this.code=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.departmentId=e.departmentId,this.name=e.name,this.code=e.code)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).departmentId=this.departmentId,e.name=this.name,e.code=this.code,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),lS=function(){function e(t){if(Object(l.a)(this,e),this.userId=void 0,this.userType=void 0,this.value=void 0,this.firstName=void 0,this.middleName=void 0,this.lastName=void 0,this.nickname=void 0,this.genderId=void 0,this.gender=void 0,this.birthDate=void 0,this.graduationDate=void 0,this.createdDate=void 0,this.hireDate=void 0,this.fireDate=void 0,this.inactiveDate=void 0,this.locationId=void 0,this.location=void 0,this.street=void 0,this.city=void 0,this.stateId=void 0,this.countryId=void 0,this.zip=void 0,this.phone=void 0,this.emailSecretary=void 0,this.emailPracticeLeader=void 0,this.email=void 0,this.emailVerified=void 0,this.userName=void 0,this.personnelId=void 0,this.note=void 0,this.affiliationId=void 0,this.portalAccessEnabled=void 0,this.position=void 0,this.idpId=void 0,this.userAvatarId=void 0,this.hasUKLicense=void 0,this.hasPortalDevelopmentPlanAccess=void 0,this.userAvatar=void 0,this.userClassYear=void 0,this.userDepartment=void 0,this.userEthnicity=void 0,this.userLevel=void 0,this.userPracticeArea=void 0,this.userPosition=void 0,this.userLicense=void 0,this.userRole=void 0,this.securityUserSecurityGroup=void 0,this.userRelationship=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.userId=e.userId,this.userType=e.userType,this.value=e.value,this.firstName=e.firstName,this.middleName=e.middleName,this.lastName=e.lastName,this.nickname=e.nickname,this.genderId=e.genderId,this.gender=e.gender?Cl.fromJS(e.gender):void 0,this.birthDate=e.birthDate?new Date(e.birthDate.toString()):void 0,this.graduationDate=e.graduationDate?new Date(e.graduationDate.toString()):void 0,this.createdDate=e.createdDate?new Date(e.createdDate.toString()):void 0,this.hireDate=e.hireDate?new Date(e.hireDate.toString()):void 0,this.fireDate=e.fireDate?new Date(e.fireDate.toString()):void 0,this.inactiveDate=e.inactiveDate?new Date(e.inactiveDate.toString()):void 0,this.locationId=e.locationId,this.location=e.location?Rf.fromJS(e.location):void 0,this.street=e.street,this.city=e.city,this.stateId=e.stateId,this.countryId=e.countryId,this.zip=e.zip,this.phone=e.phone,this.emailSecretary=e.emailSecretary,this.emailPracticeLeader=e.emailPracticeLeader,this.email=e.email,this.emailVerified=e.emailVerified,this.userName=e.userName,this.personnelId=e.personnelId,this.note=e.note,this.affiliationId=e.affiliationId,this.portalAccessEnabled=e.portalAccessEnabled,this.position=e.position,this.idpId=e.idpId,this.userAvatarId=e.userAvatarId,this.hasUKLicense=e.hasUKLicense,this.hasPortalDevelopmentPlanAccess=e.hasPortalDevelopmentPlanAccess,this.userAvatar=e.userAvatar?QI.fromJS(e.userAvatar):void 0,Array.isArray(e.userClassYear)){this.userClassYear=[];var t,n=Object(s.a)(e.userClassYear);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.userClassYear.push(KI.fromJS(i))}}catch(N){n.e(N)}finally{n.f()}}if(Array.isArray(e.userDepartment)){this.userDepartment=[];var a,r=Object(s.a)(e.userDepartment);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.userDepartment.push(sS.fromJS(o))}}catch(N){r.e(N)}finally{r.f()}}if(Array.isArray(e.userEthnicity)){this.userEthnicity=[];var l,c=Object(s.a)(e.userEthnicity);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.userEthnicity.push(dS.fromJS(d))}}catch(N){c.e(N)}finally{c.f()}}if(Array.isArray(e.userLevel)){this.userLevel=[];var u,m=Object(s.a)(e.userLevel);try{for(m.s();!(u=m.n()).done;){var v=u.value;this.userLevel.push(IS.fromJS(v))}}catch(N){m.e(N)}finally{m.f()}}if(Array.isArray(e.userPracticeArea)){this.userPracticeArea=[];var f,p=Object(s.a)(e.userPracticeArea);try{for(p.s();!(f=p.n()).done;){var h=f.value;this.userPracticeArea.push(GS.fromJS(h))}}catch(N){p.e(N)}finally{p.f()}}if(Array.isArray(e.userPosition)){this.userPosition=[];var y,b=Object(s.a)(e.userPosition);try{for(b.s();!(y=b.n()).done;){var g=y.value;this.userPosition.push(JS.fromJS(g))}}catch(N){b.e(N)}finally{b.f()}}if(Array.isArray(e.userLicense)){this.userLicense=[];var E,I=Object(s.a)(e.userLicense);try{for(I.s();!(E=I.n()).done;){var S=E.value;this.userLicense.push(AS.fromJS(S))}}catch(N){I.e(N)}finally{I.f()}}if(Array.isArray(e.userRole)){this.userRole=[];var O,C=Object(s.a)(e.userRole);try{for(C.s();!(O=C.n()).done;){var j=O.value;this.userRole.push(MS.fromJS(j))}}catch(N){C.e(N)}finally{C.f()}}if(Array.isArray(e.securityUserSecurityGroup)){this.securityUserSecurityGroup=[];var x,A=Object(s.a)(e.securityUserSecurityGroup);try{for(A.s();!(x=A.n()).done;){var T=x.value;this.securityUserSecurityGroup.push(eb.fromJS(T))}}catch(N){A.e(N)}finally{A.f()}}if(Array.isArray(e.userRelationship)){this.userRelationship=[];var w,k=Object(s.a)(e.userRelationship);try{for(k.s();!(w=k.n()).done;){var P=w.value;this.userRelationship.push(zS.fromJS(P))}}catch(N){k.e(N)}finally{k.f()}}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).userId=this.userId,e.userType=this.userType,e.value=this.value,e.firstName=this.firstName,e.middleName=this.middleName,e.lastName=this.lastName,e.nickname=this.nickname,e.genderId=this.genderId,e.gender=this.gender?this.gender.toJSON():void 0,e.birthDate=this.birthDate?this.birthDate.toISOString():void 0,e.graduationDate=this.graduationDate?this.graduationDate.toISOString():void 0,e.createdDate=this.createdDate?this.createdDate.toISOString():void 0,e.hireDate=this.hireDate?this.hireDate.toISOString():void 0,e.fireDate=this.fireDate?this.fireDate.toISOString():void 0,e.inactiveDate=this.inactiveDate?this.inactiveDate.toISOString():void 0,e.locationId=this.locationId,e.location=this.location?this.location.toJSON():void 0,e.street=this.street,e.city=this.city,e.stateId=this.stateId,e.countryId=this.countryId,e.zip=this.zip,e.phone=this.phone,e.emailSecretary=this.emailSecretary,e.emailPracticeLeader=this.emailPracticeLeader,e.email=this.email,e.emailVerified=this.emailVerified,e.userName=this.userName,e.personnelId=this.personnelId,e.note=this.note,e.affiliationId=this.affiliationId,e.portalAccessEnabled=this.portalAccessEnabled,e.position=this.position,e.idpId=this.idpId,e.userAvatarId=this.userAvatarId,e.hasUKLicense=this.hasUKLicense,e.hasPortalDevelopmentPlanAccess=this.hasPortalDevelopmentPlanAccess,e.userAvatar=this.userAvatar?this.userAvatar.toJSON():void 0,Array.isArray(this.userClassYear)){e.userClassYear=[];var t,n=Object(s.a)(this.userClassYear);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.userClassYear.push(i.toJSON())}}catch(N){n.e(N)}finally{n.f()}}if(Array.isArray(this.userDepartment)){e.userDepartment=[];var a,r=Object(s.a)(this.userDepartment);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.userDepartment.push(o.toJSON())}}catch(N){r.e(N)}finally{r.f()}}if(Array.isArray(this.userEthnicity)){e.userEthnicity=[];var l,c=Object(s.a)(this.userEthnicity);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.userEthnicity.push(d.toJSON())}}catch(N){c.e(N)}finally{c.f()}}if(Array.isArray(this.userLevel)){e.userLevel=[];var u,m=Object(s.a)(this.userLevel);try{for(m.s();!(u=m.n()).done;){var v=u.value;e.userLevel.push(v.toJSON())}}catch(N){m.e(N)}finally{m.f()}}if(Array.isArray(this.userPracticeArea)){e.userPracticeArea=[];var f,p=Object(s.a)(this.userPracticeArea);try{for(p.s();!(f=p.n()).done;){var h=f.value;e.userPracticeArea.push(h.toJSON())}}catch(N){p.e(N)}finally{p.f()}}if(Array.isArray(this.userPosition)){e.userPosition=[];var y,b=Object(s.a)(this.userPosition);try{for(b.s();!(y=b.n()).done;){var g=y.value;e.userPosition.push(g.toJSON())}}catch(N){b.e(N)}finally{b.f()}}if(Array.isArray(this.userLicense)){e.userLicense=[];var E,I=Object(s.a)(this.userLicense);try{for(I.s();!(E=I.n()).done;){var S=E.value;e.userLicense.push(S.toJSON())}}catch(N){I.e(N)}finally{I.f()}}if(Array.isArray(this.userRole)){e.userRole=[];var O,C=Object(s.a)(this.userRole);try{for(C.s();!(O=C.n()).done;){var j=O.value;e.userRole.push(j.toJSON())}}catch(N){C.e(N)}finally{C.f()}}if(Array.isArray(this.securityUserSecurityGroup)){e.securityUserSecurityGroup=[];var x,A=Object(s.a)(this.securityUserSecurityGroup);try{for(A.s();!(x=A.n()).done;){var T=x.value;e.securityUserSecurityGroup.push(T.toJSON())}}catch(N){A.e(N)}finally{A.f()}}if(Array.isArray(this.userRelationship)){e.userRelationship=[];var w,k=Object(s.a)(this.userRelationship);try{for(k.s();!(w=k.n()).done;){var P=w.value;e.userRelationship.push(P.toJSON())}}catch(N){k.e(N)}finally{k.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),cS=function(){function e(t){if(Object(l.a)(this,e),this.userId=void 0,this.firstName=void 0,this.middleName=void 0,this.lastName=void 0,this.locationId=void 0,this.location=void 0,this.genderId=void 0,this.email=void 0,this.username=void 0,this.personnelId=void 0,this.userAvatar=void 0,this.position=void 0,this.userClassYear=void 0,this.userDepartment=void 0,this.userEthnicity=void 0,this.userLevel=void 0,this.userPracticeArea=void 0,this.userPosition=void 0,this.isExistingInCEM=void 0,this.isExistingInUserPool=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.userId=e.userId,this.firstName=e.firstName,this.middleName=e.middleName,this.lastName=e.lastName,this.locationId=e.locationId,this.location=e.location?Rf.fromJS(e.location):void 0,this.genderId=e.genderId,this.email=e.email,this.username=e.username,this.personnelId=e.personnelId,this.userAvatar=e.userAvatar?QI.fromJS(e.userAvatar):void 0,this.position=e.position,Array.isArray(e.userClassYear)){this.userClassYear=[];var t,n=Object(s.a)(e.userClassYear);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.userClassYear.push(KI.fromJS(i))}}catch(E){n.e(E)}finally{n.f()}}if(Array.isArray(e.userDepartment)){this.userDepartment=[];var a,r=Object(s.a)(e.userDepartment);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.userDepartment.push(sS.fromJS(o))}}catch(E){r.e(E)}finally{r.f()}}if(Array.isArray(e.userEthnicity)){this.userEthnicity=[];var l,c=Object(s.a)(e.userEthnicity);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.userEthnicity.push(dS.fromJS(d))}}catch(E){c.e(E)}finally{c.f()}}if(Array.isArray(e.userLevel)){this.userLevel=[];var u,m=Object(s.a)(e.userLevel);try{for(m.s();!(u=m.n()).done;){var v=u.value;this.userLevel.push(IS.fromJS(v))}}catch(E){m.e(E)}finally{m.f()}}if(Array.isArray(e.userPracticeArea)){this.userPracticeArea=[];var f,p=Object(s.a)(e.userPracticeArea);try{for(p.s();!(f=p.n()).done;){var h=f.value;this.userPracticeArea.push(GS.fromJS(h))}}catch(E){p.e(E)}finally{p.f()}}if(Array.isArray(e.userPosition)){this.userPosition=[];var y,b=Object(s.a)(e.userPosition);try{for(b.s();!(y=b.n()).done;){var g=y.value;this.userPosition.push(JS.fromJS(g))}}catch(E){b.e(E)}finally{b.f()}}this.isExistingInCEM=e.isExistingInCEM,this.isExistingInUserPool=e.isExistingInUserPool}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).userId=this.userId,e.firstName=this.firstName,e.middleName=this.middleName,e.lastName=this.lastName,e.locationId=this.locationId,e.location=this.location?this.location.toJSON():void 0,e.genderId=this.genderId,e.email=this.email,e.username=this.username,e.personnelId=this.personnelId,e.userAvatar=this.userAvatar?this.userAvatar.toJSON():void 0,e.position=this.position,Array.isArray(this.userClassYear)){e.userClassYear=[];var t,n=Object(s.a)(this.userClassYear);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.userClassYear.push(i.toJSON())}}catch(E){n.e(E)}finally{n.f()}}if(Array.isArray(this.userDepartment)){e.userDepartment=[];var a,r=Object(s.a)(this.userDepartment);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.userDepartment.push(o.toJSON())}}catch(E){r.e(E)}finally{r.f()}}if(Array.isArray(this.userEthnicity)){e.userEthnicity=[];var l,c=Object(s.a)(this.userEthnicity);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.userEthnicity.push(d.toJSON())}}catch(E){c.e(E)}finally{c.f()}}if(Array.isArray(this.userLevel)){e.userLevel=[];var u,m=Object(s.a)(this.userLevel);try{for(m.s();!(u=m.n()).done;){var v=u.value;e.userLevel.push(v.toJSON())}}catch(E){m.e(E)}finally{m.f()}}if(Array.isArray(this.userPracticeArea)){e.userPracticeArea=[];var f,p=Object(s.a)(this.userPracticeArea);try{for(p.s();!(f=p.n()).done;){var h=f.value;e.userPracticeArea.push(h.toJSON())}}catch(E){p.e(E)}finally{p.f()}}if(Array.isArray(this.userPosition)){e.userPosition=[];var y,b=Object(s.a)(this.userPosition);try{for(b.s();!(y=b.n()).done;){var g=y.value;e.userPosition.push(g.toJSON())}}catch(E){b.e(E)}finally{b.f()}}return e.isExistingInCEM=this.isExistingInCEM,e.isExistingInUserPool=this.isExistingInUserPool,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),dS=function(){function e(t){if(Object(l.a)(this,e),this.ethnicityId=void 0,this.name=void 0,this.code=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.ethnicityId=e.ethnicityId,this.name=e.name,this.code=e.code)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).ethnicityId=this.ethnicityId,e.name=this.name,e.code=this.code,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),uS=function(){function e(t){if(Object(l.a)(this,e),this.sessionEvaluationId=void 0,this.evaluationDate=void 0,this.declinedDate=void 0,this.evaluationId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.sessionEvaluationId=e.sessionEvaluationId,this.evaluationDate=e.evaluationDate?new Date(e.evaluationDate.toString()):void 0,this.declinedDate=e.declinedDate?new Date(e.declinedDate.toString()):void 0,this.evaluationId=e.evaluationId)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).sessionEvaluationId=this.sessionEvaluationId,e.evaluationDate=this.evaluationDate?this.evaluationDate.toISOString():void 0,e.declinedDate=this.declinedDate?this.declinedDate.toISOString():void 0,e.evaluationId=this.evaluationId,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),mS=function(){function e(t){if(Object(l.a)(this,e),this.userId=void 0,this.reportName=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.userId=e.userId,this.reportName=e.reportName)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).userId=this.userId,e.reportName=this.reportName,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}();!function(e){e[e.Registered=1]="Registered",e[e.InProgress=2]="InProgress",e[e.Completed=3]="Completed",e[e.Failed=4]="Failed"}(Xg||(Xg={}));var vS,fS=function(){function e(t){if(Object(l.a)(this,e),this.activityId=void 0,this.name=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.activityId=e.activityId,this.name=e.name)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).activityId=this.activityId,e.name=this.name,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),pS=function(){function e(t){if(Object(l.a)(this,e),this.courseId=void 0,this.displayOrder=void 0,this.name=void 0,this.type=void 0,this.isRequired=void 0,this.providerName=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.courseId=e.courseId,this.displayOrder=e.displayOrder,this.name=e.name,this.type=e.type,this.isRequired=e.isRequired,this.providerName=e.providerName)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).courseId=this.courseId,e.displayOrder=this.displayOrder,e.name=this.name,e.type=this.type,e.isRequired=this.isRequired,e.providerName=this.providerName,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),hS=function(){function e(t){if(Object(l.a)(this,e),this.learningPlanId=void 0,this.participantId=void 0,this.title=void 0,this.description=void 0,this.notes=void 0,this.type=void 0,this.timeframeOfCompletion=void 0,this.startDate=void 0,this.endDate=void 0,this.duration=void 0,this.durationType=void 0,this.requiredCourses=void 0,this.criteriaStatus=void 0,this.status=void 0,this.isIncluded=void 0,this.activityStatus=void 0,this.learnersChoiceStatus=void 0,this.mandatoryStatus=void 0,this.mandatoryCount=void 0,this.learnersChoiceCount=void 0,this.activityCount=void 0,this.materialsCount=void 0,this.isSelfEnrolled=void 0,this.archivedDate=void 0,this.completedDate=void 0,this.learningPlanCompetencies=void 0,this.learningPlanTags=void 0,this.learningPlanCourses=void 0,this.learningPlanActivities=void 0,this.learningPlanMaterials=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.learningPlanId=e.learningPlanId,this.participantId=e.participantId,this.title=e.title,this.description=e.description,this.notes=e.notes,this.type=e.type,this.timeframeOfCompletion=e.timeframeOfCompletion,this.startDate=e.startDate?new Date(e.startDate.toString()):void 0,this.endDate=e.endDate?new Date(e.endDate.toString()):void 0,this.duration=e.duration,this.durationType=e.durationType,this.requiredCourses=e.requiredCourses,this.criteriaStatus=e.criteriaStatus,this.status=e.status,this.isIncluded=e.isIncluded,this.activityStatus=e.activityStatus,this.learnersChoiceStatus=e.learnersChoiceStatus,this.mandatoryStatus=e.mandatoryStatus,this.mandatoryCount=e.mandatoryCount,this.learnersChoiceCount=e.learnersChoiceCount,this.activityCount=e.activityCount,this.materialsCount=e.materialsCount,this.isSelfEnrolled=e.isSelfEnrolled,this.archivedDate=e.archivedDate?new Date(e.archivedDate.toString()):void 0,this.completedDate=e.completedDate?new Date(e.completedDate.toString()):void 0,Array.isArray(e.learningPlanCompetencies)){this.learningPlanCompetencies=[];var t,n=Object(s.a)(e.learningPlanCompetencies);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.learningPlanCompetencies.push(Iv.fromJS(i))}}catch(y){n.e(y)}finally{n.f()}}if(Array.isArray(e.learningPlanTags)){this.learningPlanTags=[];var a,r=Object(s.a)(e.learningPlanTags);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.learningPlanTags.push(Kv.fromJS(o))}}catch(y){r.e(y)}finally{r.f()}}if(Array.isArray(e.learningPlanCourses)){this.learningPlanCourses=[];var l,c=Object(s.a)(e.learningPlanCourses);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.learningPlanCourses.push(pS.fromJS(d))}}catch(y){c.e(y)}finally{c.f()}}if(Array.isArray(e.learningPlanActivities)){this.learningPlanActivities=[];var u,m=Object(s.a)(e.learningPlanActivities);try{for(m.s();!(u=m.n()).done;){var v=u.value;this.learningPlanActivities.push(fS.fromJS(v))}}catch(y){m.e(y)}finally{m.f()}}if(Array.isArray(e.learningPlanMaterials)){this.learningPlanMaterials=[];var f,p=Object(s.a)(e.learningPlanMaterials);try{for(p.s();!(f=p.n()).done;){var h=f.value;this.learningPlanMaterials.push(Rv.fromJS(h))}}catch(y){p.e(y)}finally{p.f()}}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).learningPlanId=this.learningPlanId,e.participantId=this.participantId,e.title=this.title,e.description=this.description,e.notes=this.notes,e.type=this.type,e.timeframeOfCompletion=this.timeframeOfCompletion,e.startDate=this.startDate?this.startDate.toISOString():void 0,e.endDate=this.endDate?this.endDate.toISOString():void 0,e.duration=this.duration,e.durationType=this.durationType,e.requiredCourses=this.requiredCourses,e.criteriaStatus=this.criteriaStatus,e.status=this.status,e.isIncluded=this.isIncluded,e.activityStatus=this.activityStatus,e.learnersChoiceStatus=this.learnersChoiceStatus,e.mandatoryStatus=this.mandatoryStatus,e.mandatoryCount=this.mandatoryCount,e.learnersChoiceCount=this.learnersChoiceCount,e.activityCount=this.activityCount,e.materialsCount=this.materialsCount,e.isSelfEnrolled=this.isSelfEnrolled,e.archivedDate=this.archivedDate?this.archivedDate.toISOString():void 0,e.completedDate=this.completedDate?this.completedDate.toISOString():void 0,Array.isArray(this.learningPlanCompetencies)){e.learningPlanCompetencies=[];var t,n=Object(s.a)(this.learningPlanCompetencies);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.learningPlanCompetencies.push(i.toJSON())}}catch(y){n.e(y)}finally{n.f()}}if(Array.isArray(this.learningPlanTags)){e.learningPlanTags=[];var a,r=Object(s.a)(this.learningPlanTags);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.learningPlanTags.push(o.toJSON())}}catch(y){r.e(y)}finally{r.f()}}if(Array.isArray(this.learningPlanCourses)){e.learningPlanCourses=[];var l,c=Object(s.a)(this.learningPlanCourses);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.learningPlanCourses.push(d.toJSON())}}catch(y){c.e(y)}finally{c.f()}}if(Array.isArray(this.learningPlanActivities)){e.learningPlanActivities=[];var u,m=Object(s.a)(this.learningPlanActivities);try{for(m.s();!(u=m.n()).done;){var v=u.value;e.learningPlanActivities.push(v.toJSON())}}catch(y){m.e(y)}finally{m.f()}}if(Array.isArray(this.learningPlanMaterials)){e.learningPlanMaterials=[];var f,p=Object(s.a)(this.learningPlanMaterials);try{for(p.s();!(f=p.n()).done;){var h=f.value;e.learningPlanMaterials.push(h.toJSON())}}catch(y){p.e(y)}finally{p.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),yS=function(){function e(t){if(Object(l.a)(this,e),this.userLearningPlans=void 0,this.recordCount=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.userLearningPlans)){this.userLearningPlans=[];var t,n=Object(s.a)(e.userLearningPlans);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.userLearningPlans.push(hS.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}this.recordCount=e.recordCount}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.userLearningPlans)){e.userLearningPlans=[];var t,n=Object(s.a)(this.userLearningPlans);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.userLearningPlans.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e.recordCount=this.recordCount,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),bS=function(){function e(t){if(Object(l.a)(this,e),this.learningPlanId=void 0,this.participantId=void 0,this.timeframeOfCompletion=void 0,this.startDate=void 0,this.endDate=void 0,this.duration=void 0,this.durationType=void 0,this.validatedBy=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.learningPlanId=e.learningPlanId,this.participantId=e.participantId,this.timeframeOfCompletion=e.timeframeOfCompletion,this.startDate=e.startDate?new Date(e.startDate.toString()):void 0,this.endDate=e.endDate?new Date(e.endDate.toString()):void 0,this.duration=e.duration,this.durationType=e.durationType,this.validatedBy=e.validatedBy)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).learningPlanId=this.learningPlanId,e.participantId=this.participantId,e.timeframeOfCompletion=this.timeframeOfCompletion,e.startDate=this.startDate?this.startDate.toISOString():void 0,e.endDate=this.endDate?this.endDate.toISOString():void 0,e.duration=this.duration,e.durationType=this.durationType,e.validatedBy=this.validatedBy,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),gS=function(){function e(t){if(Object(l.a)(this,e),this.learningPlanId=void 0,this.participantId=void 0,this.title=void 0,this.description=void 0,this.notes=void 0,this.type=void 0,this.timeframeOfCompletion=void 0,this.startDate=void 0,this.endDate=void 0,this.duration=void 0,this.durationType=void 0,this.requiredCourses=void 0,this.status=void 0,this.activityStatus=void 0,this.learnersChoiceStatus=void 0,this.mandatoryStatus=void 0,this.mandatoryCount=void 0,this.learnersChoiceCount=void 0,this.activityCount=void 0,this.isSelfEnrolled=void 0,this.archivedDate=void 0,this.completedDate=void 0,this.learningPlanCourses=void 0,this.learningPlanActivities=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.learningPlanId=e.learningPlanId,this.participantId=e.participantId,this.title=e.title,this.description=e.description,this.notes=e.notes,this.type=e.type,this.timeframeOfCompletion=e.timeframeOfCompletion,this.startDate=e.startDate?new Date(e.startDate.toString()):void 0,this.endDate=e.endDate?new Date(e.endDate.toString()):void 0,this.duration=e.duration,this.durationType=e.durationType,this.requiredCourses=e.requiredCourses,this.status=e.status,this.activityStatus=e.activityStatus,this.learnersChoiceStatus=e.learnersChoiceStatus,this.mandatoryStatus=e.mandatoryStatus,this.mandatoryCount=e.mandatoryCount,this.learnersChoiceCount=e.learnersChoiceCount,this.activityCount=e.activityCount,this.isSelfEnrolled=e.isSelfEnrolled,this.archivedDate=e.archivedDate?new Date(e.archivedDate.toString()):void 0,this.completedDate=e.completedDate?new Date(e.completedDate.toString()):void 0,Array.isArray(e.learningPlanCourses)){this.learningPlanCourses=[];var t,n=Object(s.a)(e.learningPlanCourses);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.learningPlanCourses.push(qv.fromJS(i))}}catch(l){n.e(l)}finally{n.f()}}if(Array.isArray(e.learningPlanActivities)){this.learningPlanActivities=[];var a,r=Object(s.a)(e.learningPlanActivities);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.learningPlanActivities.push(qv.fromJS(o))}}catch(l){r.e(l)}finally{r.f()}}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).learningPlanId=this.learningPlanId,e.participantId=this.participantId,e.title=this.title,e.description=this.description,e.notes=this.notes,e.type=this.type,e.timeframeOfCompletion=this.timeframeOfCompletion,e.startDate=this.startDate?this.startDate.toISOString():void 0,e.endDate=this.endDate?this.endDate.toISOString():void 0,e.duration=this.duration,e.durationType=this.durationType,e.requiredCourses=this.requiredCourses,e.status=this.status,e.activityStatus=this.activityStatus,e.learnersChoiceStatus=this.learnersChoiceStatus,e.mandatoryStatus=this.mandatoryStatus,e.mandatoryCount=this.mandatoryCount,e.learnersChoiceCount=this.learnersChoiceCount,e.activityCount=this.activityCount,e.isSelfEnrolled=this.isSelfEnrolled,e.archivedDate=this.archivedDate?this.archivedDate.toISOString():void 0,e.completedDate=this.completedDate?this.completedDate.toISOString():void 0,Array.isArray(this.learningPlanCourses)){e.learningPlanCourses=[];var t,n=Object(s.a)(this.learningPlanCourses);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.learningPlanCourses.push(i.toJSON())}}catch(l){n.e(l)}finally{n.f()}}if(Array.isArray(this.learningPlanActivities)){e.learningPlanActivities=[];var a,r=Object(s.a)(this.learningPlanActivities);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.learningPlanActivities.push(o.toJSON())}}catch(l){r.e(l)}finally{r.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),ES=function(){function e(t){if(Object(l.a)(this,e),this.userLearningPlans=void 0,this.recordCount=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.userLearningPlans)){this.userLearningPlans=[];var t,n=Object(s.a)(e.userLearningPlans);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.userLearningPlans.push(gS.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}this.recordCount=e.recordCount}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.userLearningPlans)){e.userLearningPlans=[];var t,n=Object(s.a)(this.userLearningPlans);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.userLearningPlans.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e.recordCount=this.recordCount,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),IS=function(){function e(t){if(Object(l.a)(this,e),this.levelId=void 0,this.name=void 0,this.code=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.levelId=e.levelId,this.name=e.name,this.code=e.code)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).levelId=this.levelId,e.name=this.name,e.code=this.code,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),SS=function(){function e(t){if(Object(l.a)(this,e),this.barNumber=void 0,this.complianceStatusId=void 0,this.licenseAbbreviation=void 0,this.licenseName=void 0,this.licenseId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.barNumber=e.barNumber,this.complianceStatusId=e.complianceStatusId,this.licenseAbbreviation=e.licenseAbbreviation,this.licenseName=e.licenseName,this.licenseId=e.licenseId)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).barNumber=this.barNumber,e.complianceStatusId=this.complianceStatusId,e.licenseAbbreviation=this.licenseAbbreviation,e.licenseName=this.licenseName,e.licenseId=this.licenseId,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),OS=function(){function e(t){if(Object(l.a)(this,e),this.userId=void 0,this.firstName=void 0,this.middleName=void 0,this.lastName=void 0,this.userType=void 0,this.userAvatarThumbnailURl=void 0,this.licenseId=void 0,this.licenseName=void 0,this.subLicenseId=void 0,this.isSubLicenseRolling=void 0,this.complianceStatusId=void 0,this.isCarryOverAllowed=void 0,this.isSubLicenseCarryOverAllowed=void 0,this.isRetroAllowed=void 0,this.totalPeriodCount=void 0,this.hasShortSummary=void 0,this.reportURL=void 0,this.userLicenseProfile=void 0,this.compliancePeriods=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.userId=e.userId,this.firstName=e.firstName,this.middleName=e.middleName,this.lastName=e.lastName,this.userType=e.userType,this.userAvatarThumbnailURl=e.userAvatarThumbnailURl,this.licenseId=e.licenseId,this.licenseName=e.licenseName,this.subLicenseId=e.subLicenseId,this.isSubLicenseRolling=e.isSubLicenseRolling,this.complianceStatusId=e.complianceStatusId,this.isCarryOverAllowed=e.isCarryOverAllowed,this.isSubLicenseCarryOverAllowed=e.isSubLicenseCarryOverAllowed,this.isRetroAllowed=e.isRetroAllowed,this.totalPeriodCount=e.totalPeriodCount,this.hasShortSummary=e.hasShortSummary,this.reportURL=e.reportURL,Array.isArray(e.userLicenseProfile)){this.userLicenseProfile=[];var t,n=Object(s.a)(e.userLicenseProfile);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.userLicenseProfile.push(wS.fromJS(i))}}catch(l){n.e(l)}finally{n.f()}}if(Array.isArray(e.compliancePeriods)){this.compliancePeriods=[];var a,r=Object(s.a)(e.compliancePeriods);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.compliancePeriods.push(xi.fromJS(o))}}catch(l){r.e(l)}finally{r.f()}}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).userId=this.userId,e.firstName=this.firstName,e.middleName=this.middleName,e.lastName=this.lastName,e.userType=this.userType,e.userAvatarThumbnailURl=this.userAvatarThumbnailURl,e.licenseId=this.licenseId,e.licenseName=this.licenseName,e.subLicenseId=this.subLicenseId,e.isSubLicenseRolling=this.isSubLicenseRolling,e.complianceStatusId=this.complianceStatusId,e.isCarryOverAllowed=this.isCarryOverAllowed,e.isSubLicenseCarryOverAllowed=this.isSubLicenseCarryOverAllowed,e.isRetroAllowed=this.isRetroAllowed,e.totalPeriodCount=this.totalPeriodCount,e.hasShortSummary=this.hasShortSummary,e.reportURL=this.reportURL,Array.isArray(this.userLicenseProfile)){e.userLicenseProfile=[];var t,n=Object(s.a)(this.userLicenseProfile);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.userLicenseProfile.push(i.toJSON())}}catch(l){n.e(l)}finally{n.f()}}if(Array.isArray(this.compliancePeriods)){e.compliancePeriods=[];var a,r=Object(s.a)(this.compliancePeriods);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.compliancePeriods.push(o.toJSON())}}catch(l){r.e(l)}finally{r.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),CS=function(){function e(t){if(Object(l.a)(this,e),this.userLicenseCompliancePeriods=void 0,this.recordCount=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.userLicenseCompliancePeriods)){this.userLicenseCompliancePeriods=[];var t,n=Object(s.a)(e.userLicenseCompliancePeriods);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.userLicenseCompliancePeriods.push(jS.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}this.recordCount=e.recordCount}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.userLicenseCompliancePeriods)){e.userLicenseCompliancePeriods=[];var t,n=Object(s.a)(this.userLicenseCompliancePeriods);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.userLicenseCompliancePeriods.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e.recordCount=this.recordCount,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),jS=function(){function e(t){if(Object(l.a)(this,e),this.userLicenseComplianceId=void 0,this.userId=void 0,this.licenseId=void 0,this.licenseName=void 0,this.periodNumber=void 0,this.periodTypeId=void 0,this.periodFrom=void 0,this.periodTo=void 0,this.complianceStatusId=void 0,this.complianceStatus=void 0,this.periodLabel=void 0,this.isLocked=void 0,this.lockedBy=void 0,this.periodFromCourse=void 0,this.periodToDisplay=void 0,this.priorPeriodDeficiency=void 0,this.totalCreditsNeeded=void 0,this.additionalRequirementStatus=void 0,this.rulesLink=void 0,this.stateBarOrganization=void 0,this.shortSummary=void 0,this.renewalDate=void 0,this.userSubLicenseCompliancePeriod=void 0,this.complianceStatusEnum=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.userLicenseComplianceId=e.userLicenseComplianceId,this.userId=e.userId,this.licenseId=e.licenseId,this.licenseName=e.licenseName,this.periodNumber=e.periodNumber,this.periodTypeId=e.periodTypeId,this.periodFrom=e.periodFrom?new Date(e.periodFrom.toString()):void 0,this.periodTo=e.periodTo?new Date(e.periodTo.toString()):void 0,this.complianceStatusId=e.complianceStatusId,this.complianceStatus=e.complianceStatus,this.periodLabel=e.periodLabel,this.isLocked=e.isLocked,this.lockedBy=e.lockedBy,this.periodFromCourse=e.periodFromCourse?new Date(e.periodFromCourse.toString()):void 0,this.periodToDisplay=e.periodToDisplay?new Date(e.periodToDisplay.toString()):void 0,this.priorPeriodDeficiency=e.priorPeriodDeficiency,this.totalCreditsNeeded=e.totalCreditsNeeded,this.additionalRequirementStatus=e.additionalRequirementStatus,this.rulesLink=e.rulesLink,this.stateBarOrganization=e.stateBarOrganization,this.shortSummary=e.shortSummary,this.renewalDate=e.renewalDate?new Date(e.renewalDate.toString()):void 0,this.userSubLicenseCompliancePeriod=e.userSubLicenseCompliancePeriod?ZS.fromJS(e.userSubLicenseCompliancePeriod):void 0,this.complianceStatusEnum=e.complianceStatusEnum)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).userLicenseComplianceId=this.userLicenseComplianceId,e.userId=this.userId,e.licenseId=this.licenseId,e.licenseName=this.licenseName,e.periodNumber=this.periodNumber,e.periodTypeId=this.periodTypeId,e.periodFrom=this.periodFrom?this.periodFrom.toISOString():void 0,e.periodTo=this.periodTo?this.periodTo.toISOString():void 0,e.complianceStatusId=this.complianceStatusId,e.complianceStatus=this.complianceStatus,e.periodLabel=this.periodLabel,e.isLocked=this.isLocked,e.lockedBy=this.lockedBy,e.periodFromCourse=this.periodFromCourse?this.periodFromCourse.toISOString():void 0,e.periodToDisplay=this.periodToDisplay?this.periodToDisplay.toISOString():void 0,e.priorPeriodDeficiency=this.priorPeriodDeficiency,e.totalCreditsNeeded=this.totalCreditsNeeded,e.additionalRequirementStatus=this.additionalRequirementStatus,e.rulesLink=this.rulesLink,e.stateBarOrganization=this.stateBarOrganization,e.shortSummary=this.shortSummary,e.renewalDate=this.renewalDate?this.renewalDate.toISOString():void 0,e.userSubLicenseCompliancePeriod=this.userSubLicenseCompliancePeriod?this.userSubLicenseCompliancePeriod.toJSON():void 0,e.complianceStatusEnum=this.complianceStatusEnum,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),xS=function(){function e(t){if(Object(l.a)(this,e),this.sessionParticipantId=void 0,this.licenseId=void 0,this.licenseName=void 0,this.creditId=void 0,this.creditName=void 0,this.value=void 0,this.isFieldsOfStudyApproved=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.sessionParticipantId=e.sessionParticipantId,this.licenseId=e.licenseId,this.licenseName=e.licenseName,this.creditId=e.creditId,this.creditName=e.creditName,this.value=e.value,this.isFieldsOfStudyApproved=e.isFieldsOfStudyApproved)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).sessionParticipantId=this.sessionParticipantId,e.licenseId=this.licenseId,e.licenseName=this.licenseName,e.creditId=this.creditId,e.creditName=this.creditName,e.value=this.value,e.isFieldsOfStudyApproved=this.isFieldsOfStudyApproved,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),AS=function(){function e(t){if(Object(l.a)(this,e),this.userId=void 0,this.licenseId=void 0,this.name=void 0,this.complianceStatusId=void 0,this.industryId=void 0,this.isSubLicense=void 0,this.userLicenseProfileValue=void 0,this.isNewLicense=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.userId=e.userId,this.licenseId=e.licenseId,this.name=e.name,this.complianceStatusId=e.complianceStatusId,this.industryId=e.industryId,this.isSubLicense=e.isSubLicense,Array.isArray(e.userLicenseProfileValue)){this.userLicenseProfileValue=[];var t,n=Object(s.a)(e.userLicenseProfileValue);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.userLicenseProfileValue.push(kS.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}this.isNewLicense=e.isNewLicense}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).userId=this.userId,e.licenseId=this.licenseId,e.name=this.name,e.complianceStatusId=this.complianceStatusId,e.industryId=this.industryId,e.isSubLicense=this.isSubLicense,Array.isArray(this.userLicenseProfileValue)){e.userLicenseProfileValue=[];var t,n=Object(s.a)(this.userLicenseProfileValue);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.userLicenseProfileValue.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e.isNewLicense=this.isNewLicense,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),TS=function(){function e(t){if(Object(l.a)(this,e),this.fieldId=void 0,this.valueChar=void 0,this.valueBit=void 0,this.valueInt=void 0,this.valueDecimal=void 0,this.valueDate=void 0,this.valueDateRangeStart=void 0,this.valueDateRangeEnd=void 0,this.periodFromModified=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.fieldId=e.fieldId,this.valueChar=e.valueChar,this.valueBit=e.valueBit,this.valueInt=e.valueInt,this.valueDecimal=e.valueDecimal,this.valueDate=e.valueDate?new Date(e.valueDate.toString()):void 0,this.valueDateRangeStart=e.valueDateRangeStart?new Date(e.valueDateRangeStart.toString()):void 0,this.valueDateRangeEnd=e.valueDateRangeEnd?new Date(e.valueDateRangeEnd.toString()):void 0,this.periodFromModified=e.periodFromModified?new Date(e.periodFromModified.toString()):void 0)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).fieldId=this.fieldId,e.valueChar=this.valueChar,e.valueBit=this.valueBit,e.valueInt=this.valueInt,e.valueDecimal=this.valueDecimal,e.valueDate=this.valueDate?this.valueDate.toISOString():void 0,e.valueDateRangeStart=this.valueDateRangeStart?this.valueDateRangeStart.toISOString():void 0,e.valueDateRangeEnd=this.valueDateRangeEnd?this.valueDateRangeEnd.toISOString():void 0,e.periodFromModified=this.periodFromModified?this.periodFromModified.toISOString():void 0,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),wS=function(){function e(t){if(Object(l.a)(this,e),this.fieldName=void 0,this.profileId=void 0,this.fieldType=void 0,this.valueBit=void 0,this.valueInt=void 0,this.valueDecimal=void 0,this.valueDate=void 0,this.valueChar=void 0,this.valueOption=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.fieldName=e.fieldName,this.profileId=e.profileId,this.fieldType=e.fieldType,this.valueBit=e.valueBit,this.valueInt=e.valueInt,this.valueDecimal=e.valueDecimal,this.valueDate=e.valueDate?new Date(e.valueDate.toString()):void 0,this.valueChar=e.valueChar,this.valueOption=e.valueOption)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).fieldName=this.fieldName,e.profileId=this.profileId,e.fieldType=this.fieldType,e.valueBit=this.valueBit,e.valueInt=this.valueInt,e.valueDecimal=this.valueDecimal,e.valueDate=this.valueDate?this.valueDate.toISOString():void 0,e.valueChar=this.valueChar,e.valueOption=this.valueOption,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),kS=function(){function e(t){if(Object(l.a)(this,e),this.licenseId=void 0,this.profileId=void 0,this.name=void 0,this.typeId=void 0,this.valueBit=void 0,this.valueInt=void 0,this.valueDecimal=void 0,this.valueDate=void 0,this.valueChar=void 0,this.valueOption=void 0,this.value=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.licenseId=e.licenseId,this.profileId=e.profileId,this.name=e.name,this.typeId=e.typeId,this.valueBit=e.valueBit,this.valueInt=e.valueInt,this.valueDecimal=e.valueDecimal,this.valueDate=e.valueDate?new Date(e.valueDate.toString()):void 0,this.valueChar=e.valueChar,this.valueOption=e.valueOption,this.value=e.value)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).licenseId=this.licenseId,e.profileId=this.profileId,e.name=this.name,e.typeId=this.typeId,e.valueBit=this.valueBit,e.valueInt=this.valueInt,e.valueDecimal=this.valueDecimal,e.valueDate=this.valueDate?this.valueDate.toISOString():void 0,e.valueChar=this.valueChar,e.valueOption=this.valueOption,e.value=this.value,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),PS=function(){function e(t){if(Object(l.a)(this,e),this.sessionParticipantId=void 0,this.licenseId=void 0,this.licenseName=void 0,this.propertyId=void 0,this.fieldType=void 0,this.propertyLabel=void 0,this.valueBit=void 0,this.valueInt=void 0,this.valueDecimal=void 0,this.valueDate=void 0,this.valueChar=void 0,this.valueOption=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.sessionParticipantId=e.sessionParticipantId,this.licenseId=e.licenseId,this.licenseName=e.licenseName,this.propertyId=e.propertyId,this.fieldType=e.fieldType,this.propertyLabel=e.propertyLabel,this.valueBit=e.valueBit,this.valueInt=e.valueInt,this.valueDecimal=e.valueDecimal,this.valueDate=e.valueDate?new Date(e.valueDate.toString()):void 0,this.valueChar=e.valueChar,this.valueOption=e.valueOption)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).sessionParticipantId=this.sessionParticipantId,e.licenseId=this.licenseId,e.licenseName=this.licenseName,e.propertyId=this.propertyId,e.fieldType=this.fieldType,e.propertyLabel=this.propertyLabel,e.valueBit=this.valueBit,e.valueInt=this.valueInt,e.valueDecimal=this.valueDecimal,e.valueDate=this.valueDate?this.valueDate.toISOString():void 0,e.valueChar=this.valueChar,e.valueOption=this.valueOption,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),NS=function(){function e(t){if(Object(l.a)(this,e),this.licenseId=void 0,this.licenseName=void 0,this.parentLicenseId=void 0,this.industry=void 0,this.isNotTracked=void 0,this.periodEndDate=void 0,this.periodNumber=void 0,this.creditsNeeded=void 0,this.complianceStatusId=void 0,this.priorPeriodDeficiency=void 0,this.isAdditionalRequirementNeeded=void 0,this.renewalDate=void 0,this.jurisdictionReportGuid=void 0,this.isLicenseNotDisplayedToTheProfessional=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.licenseId=e.licenseId,this.licenseName=e.licenseName,this.parentLicenseId=e.parentLicenseId,this.industry=e.industry,this.isNotTracked=e.isNotTracked,this.periodEndDate=e.periodEndDate?new Date(e.periodEndDate.toString()):void 0,this.periodNumber=e.periodNumber,this.creditsNeeded=e.creditsNeeded,this.complianceStatusId=e.complianceStatusId,this.priorPeriodDeficiency=e.priorPeriodDeficiency,this.isAdditionalRequirementNeeded=e.isAdditionalRequirementNeeded,this.renewalDate=e.renewalDate?new Date(e.renewalDate.toString()):void 0,this.jurisdictionReportGuid=e.jurisdictionReportGuid,this.isLicenseNotDisplayedToTheProfessional=e.isLicenseNotDisplayedToTheProfessional)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).licenseId=this.licenseId,e.licenseName=this.licenseName,e.parentLicenseId=this.parentLicenseId,e.industry=this.industry,e.isNotTracked=this.isNotTracked,e.periodEndDate=this.periodEndDate?this.periodEndDate.toISOString():void 0,e.periodNumber=this.periodNumber,e.creditsNeeded=this.creditsNeeded,e.complianceStatusId=this.complianceStatusId,e.priorPeriodDeficiency=this.priorPeriodDeficiency,e.isAdditionalRequirementNeeded=this.isAdditionalRequirementNeeded,e.renewalDate=this.renewalDate?this.renewalDate.toISOString():void 0,e.jurisdictionReportGuid=this.jurisdictionReportGuid,e.isLicenseNotDisplayedToTheProfessional=this.isLicenseNotDisplayedToTheProfessional,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),DS=function(){function e(t){if(Object(l.a)(this,e),this.licenseId=void 0,this.licenseName=void 0,this.parentLicenseId=void 0,this.industry=void 0,this.isNotTracked=void 0,this.periodEndDate=void 0,this.periodNumber=void 0,this.creditsNeeded=void 0,this.complianceStatusId=void 0,this.priorPeriodDeficiency=void 0,this.isAdditionalRequirementNeeded=void 0,this.renewalDate=void 0,this.jurisdictionReportGuid=void 0,this.isLicenseNotDisplayedToTheProfessional=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.licenseId=e.licenseId,this.licenseName=e.licenseName,this.parentLicenseId=e.parentLicenseId,this.industry=e.industry,this.isNotTracked=e.isNotTracked,this.periodEndDate=e.periodEndDate?new Date(e.periodEndDate.toString()):void 0,this.periodNumber=e.periodNumber,this.creditsNeeded=e.creditsNeeded,this.complianceStatusId=e.complianceStatusId,this.priorPeriodDeficiency=e.priorPeriodDeficiency,this.isAdditionalRequirementNeeded=e.isAdditionalRequirementNeeded,this.renewalDate=e.renewalDate?new Date(e.renewalDate.toString()):void 0,this.jurisdictionReportGuid=e.jurisdictionReportGuid,this.isLicenseNotDisplayedToTheProfessional=e.isLicenseNotDisplayedToTheProfessional)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).licenseId=this.licenseId,e.licenseName=this.licenseName,e.parentLicenseId=this.parentLicenseId,e.industry=this.industry,e.isNotTracked=this.isNotTracked,e.periodEndDate=this.periodEndDate?this.periodEndDate.toISOString():void 0,e.periodNumber=this.periodNumber,e.creditsNeeded=this.creditsNeeded,e.complianceStatusId=this.complianceStatusId,e.priorPeriodDeficiency=this.priorPeriodDeficiency,e.isAdditionalRequirementNeeded=this.isAdditionalRequirementNeeded,e.renewalDate=this.renewalDate?this.renewalDate.toISOString():void 0,e.jurisdictionReportGuid=this.jurisdictionReportGuid,e.isLicenseNotDisplayedToTheProfessional=this.isLicenseNotDisplayedToTheProfessional,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),LS=function(){function e(t){if(Object(l.a)(this,e),this.licenseId=void 0,this.fieldName=void 0,this.validationMessage=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.licenseId=e.licenseId,this.fieldName=e.fieldName,this.validationMessage=e.validationMessage)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).licenseId=this.licenseId,e.fieldName=this.fieldName,e.validationMessage=this.validationMessage,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),FS=function(){function e(t){if(Object(l.a)(this,e),this.users=void 0,this.recordCount=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.users)){this.users=[];var t,n=Object(s.a)(e.users);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.users.push(lS.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}this.recordCount=e.recordCount}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.users)){e.users=[];var t,n=Object(s.a)(this.users);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.users.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e.recordCount=this.recordCount,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),BS=function(){function e(t){if(Object(l.a)(this,e),this.userId=void 0,this.userName=void 0,this.email=void 0,this.phone=void 0,this.portalAccessEnabled=void 0,this.statusId=void 0,this.fireDate=void 0,this.inactiveDate=void 0,this.genderId=void 0,this.hireDate=void 0,this.locationId=void 0,this.idpId=void 0,this.userClassYear=void 0,this.userDepartment=void 0,this.userEthnicity=void 0,this.userLevel=void 0,this.userPracticeArea=void 0,this.userPosition=void 0,this.userRelationship=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.userId=e.userId,this.userName=e.userName,this.email=e.email,this.phone=e.phone,this.portalAccessEnabled=e.portalAccessEnabled,this.statusId=e.statusId,this.fireDate=e.fireDate?new Date(e.fireDate.toString()):void 0,this.inactiveDate=e.inactiveDate?new Date(e.inactiveDate.toString()):void 0,this.genderId=e.genderId,this.hireDate=e.hireDate?new Date(e.hireDate.toString()):void 0,this.locationId=e.locationId,this.idpId=e.idpId,Array.isArray(e.userClassYear)){this.userClassYear=[];var t,n=Object(s.a)(e.userClassYear);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.userClassYear.push(KI.fromJS(i))}}catch(O){n.e(O)}finally{n.f()}}if(Array.isArray(e.userDepartment)){this.userDepartment=[];var a,r=Object(s.a)(e.userDepartment);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.userDepartment.push(sS.fromJS(o))}}catch(O){r.e(O)}finally{r.f()}}if(Array.isArray(e.userEthnicity)){this.userEthnicity=[];var l,c=Object(s.a)(e.userEthnicity);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.userEthnicity.push(dS.fromJS(d))}}catch(O){c.e(O)}finally{c.f()}}if(Array.isArray(e.userLevel)){this.userLevel=[];var u,m=Object(s.a)(e.userLevel);try{for(m.s();!(u=m.n()).done;){var v=u.value;this.userLevel.push(IS.fromJS(v))}}catch(O){m.e(O)}finally{m.f()}}if(Array.isArray(e.userPracticeArea)){this.userPracticeArea=[];var f,p=Object(s.a)(e.userPracticeArea);try{for(p.s();!(f=p.n()).done;){var h=f.value;this.userPracticeArea.push(GS.fromJS(h))}}catch(O){p.e(O)}finally{p.f()}}if(Array.isArray(e.userPosition)){this.userPosition=[];var y,b=Object(s.a)(e.userPosition);try{for(b.s();!(y=b.n()).done;){var g=y.value;this.userPosition.push(JS.fromJS(g))}}catch(O){b.e(O)}finally{b.f()}}if(Array.isArray(e.userRelationship)){this.userRelationship=[];var E,I=Object(s.a)(e.userRelationship);try{for(I.s();!(E=I.n()).done;){var S=E.value;this.userRelationship.push(zS.fromJS(S))}}catch(O){I.e(O)}finally{I.f()}}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).userId=this.userId,e.userName=this.userName,e.email=this.email,e.phone=this.phone,e.portalAccessEnabled=this.portalAccessEnabled,e.statusId=this.statusId,e.fireDate=this.fireDate?this.fireDate.toISOString():void 0,e.inactiveDate=this.inactiveDate?this.inactiveDate.toISOString():void 0,e.genderId=this.genderId,e.hireDate=this.hireDate?this.hireDate.toISOString():void 0,e.locationId=this.locationId,e.idpId=this.idpId,Array.isArray(this.userClassYear)){e.userClassYear=[];var t,n=Object(s.a)(this.userClassYear);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.userClassYear.push(i.toJSON())}}catch(O){n.e(O)}finally{n.f()}}if(Array.isArray(this.userDepartment)){e.userDepartment=[];var a,r=Object(s.a)(this.userDepartment);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.userDepartment.push(o.toJSON())}}catch(O){r.e(O)}finally{r.f()}}if(Array.isArray(this.userEthnicity)){e.userEthnicity=[];var l,c=Object(s.a)(this.userEthnicity);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.userEthnicity.push(d.toJSON())}}catch(O){c.e(O)}finally{c.f()}}if(Array.isArray(this.userLevel)){e.userLevel=[];var u,m=Object(s.a)(this.userLevel);try{for(m.s();!(u=m.n()).done;){var v=u.value;e.userLevel.push(v.toJSON())}}catch(O){m.e(O)}finally{m.f()}}if(Array.isArray(this.userPracticeArea)){e.userPracticeArea=[];var f,p=Object(s.a)(this.userPracticeArea);try{for(p.s();!(f=p.n()).done;){var h=f.value;e.userPracticeArea.push(h.toJSON())}}catch(O){p.e(O)}finally{p.f()}}if(Array.isArray(this.userPosition)){e.userPosition=[];var y,b=Object(s.a)(this.userPosition);try{for(b.s();!(y=b.n()).done;){var g=y.value;e.userPosition.push(g.toJSON())}}catch(O){b.e(O)}finally{b.f()}}if(Array.isArray(this.userRelationship)){e.userRelationship=[];var E,I=Object(s.a)(this.userRelationship);try{for(I.s();!(E=I.n()).done;){var S=E.value;e.userRelationship.push(S.toJSON())}}catch(O){I.e(O)}finally{I.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),RS=function(){function e(t){if(Object(l.a)(this,e),this.userId=void 0,this.userRole=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&(this.userId=e.userId,Array.isArray(e.userRole))){this.userRole=[];var t,n=Object(s.a)(e.userRole);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.userRole.push(MS.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).userId=this.userId,Array.isArray(this.userRole)){e.userRole=[];var t,n=Object(s.a)(this.userRole);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.userRole.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),JS=function(){function e(t){if(Object(l.a)(this,e),this.positionId=void 0,this.name=void 0,this.code=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.positionId=e.positionId,this.name=e.name,this.code=e.code)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).positionId=this.positionId,e.name=this.name,e.code=this.code,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),GS=function(){function e(t){if(Object(l.a)(this,e),this.practiceAreaId=void 0,this.name=void 0,this.code=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.practiceAreaId=e.practiceAreaId,this.name=e.name,this.code=e.code)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).practiceAreaId=this.practiceAreaId,e.name=this.name,e.code=this.code,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),US=function(){function e(t){if(Object(l.a)(this,e),this.userId=void 0,this.dateFormat=void 0,this.timezone=void 0,this.signatureFileId=void 0,this.signatureUrl=void 0,this.thumbnailUrl=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.userId=e.userId,this.dateFormat=e.dateFormat,this.timezone=e.timezone,this.signatureFileId=e.signatureFileId,this.signatureUrl=e.signatureUrl,this.thumbnailUrl=e.thumbnailUrl)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).userId=this.userId,e.dateFormat=this.dateFormat,e.timezone=this.timezone,e.signatureFileId=this.signatureFileId,e.signatureUrl=this.signatureUrl,e.thumbnailUrl=this.thumbnailUrl,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),zS=function(){function e(t){if(Object(l.a)(this,e),this.sourceUserId=void 0,this.sourceFullName=void 0,this.sourceFirstName=void 0,this.sourceLastName=void 0,this.sourceEmail=void 0,this.targetUserId=void 0,this.name=void 0,this.relationshipTypeId=void 0,this.personnelId=void 0,this.relationship=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.sourceUserId=e.sourceUserId,this.sourceFullName=e.sourceFullName,this.sourceFirstName=e.sourceFirstName,this.sourceLastName=e.sourceLastName,this.sourceEmail=e.sourceEmail,this.targetUserId=e.targetUserId,this.name=e.name,this.relationshipTypeId=e.relationshipTypeId,this.personnelId=e.personnelId,this.relationship=e.relationship)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).sourceUserId=this.sourceUserId,e.sourceFullName=this.sourceFullName,e.sourceFirstName=this.sourceFirstName,e.sourceLastName=this.sourceLastName,e.sourceEmail=this.sourceEmail,e.targetUserId=this.targetUserId,e.name=this.name,e.relationshipTypeId=this.relationshipTypeId,e.personnelId=this.personnelId,e.relationship=this.relationship,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),qS=function(){function e(t){if(Object(l.a)(this,e),this.sessionParticipantId=void 0,this.licenseId=void 0,this.creditId=void 0,this.subjectAreaJurisdictionLicenseId=void 0,this.applyTo=void 0,this.value=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.sessionParticipantId=e.sessionParticipantId,this.licenseId=e.licenseId,this.creditId=e.creditId,this.subjectAreaJurisdictionLicenseId=e.subjectAreaJurisdictionLicenseId,this.applyTo=e.applyTo?new Date(e.applyTo.toString()):void 0,this.value=e.value)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).sessionParticipantId=this.sessionParticipantId,e.licenseId=this.licenseId,e.creditId=this.creditId,e.subjectAreaJurisdictionLicenseId=this.subjectAreaJurisdictionLicenseId,e.applyTo=this.applyTo?this.applyTo.toISOString():void 0,e.value=this.value,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),MS=function(){function e(t){if(Object(l.a)(this,e),this.roleId=void 0,this.name=void 0,this.roleTypeId=void 0,this.subRoleId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.roleId=e.roleId,this.name=e.name,this.roleTypeId=e.roleTypeId,this.subRoleId=e.subRoleId)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).roleId=this.roleId,e.name=this.name,e.roleTypeId=this.roleTypeId,e.subRoleId=this.subRoleId,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),WS=function(){function e(t){if(Object(l.a)(this,e),this.userSavedFilterId=void 0,this.name=void 0,this.isPublic=void 0,this.isReadOnly=void 0,this.isSystem=void 0,this.isDefault=void 0,this.filter=void 0,this.createdBy=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.userSavedFilterId=e.userSavedFilterId,this.name=e.name,this.isPublic=e.isPublic,this.isReadOnly=e.isReadOnly,this.isSystem=e.isSystem,this.isDefault=e.isDefault,this.filter=e.filter,this.createdBy=e.createdBy)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).userSavedFilterId=this.userSavedFilterId,e.name=this.name,e.isPublic=this.isPublic,e.isReadOnly=this.isReadOnly,e.isSystem=this.isSystem,e.isDefault=this.isDefault,e.filter=this.filter,e.createdBy=this.createdBy,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),VS=function(){function e(t){if(Object(l.a)(this,e),this.userSavedFilters=void 0,this.recordCount=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.userSavedFilters)){this.userSavedFilters=[];var t,n=Object(s.a)(e.userSavedFilters);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.userSavedFilters.push(WS.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}this.recordCount=e.recordCount}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.userSavedFilters)){e.userSavedFilters=[];var t,n=Object(s.a)(this.userSavedFilters);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.userSavedFilters.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e.recordCount=this.recordCount,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),_S=function(){function e(t){if(Object(l.a)(this,e),this.userLearningPackageProgressId=void 0,this.userLearningPackageDetailId=void 0,this.duration=void 0,this.score=void 0,this.status=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.userLearningPackageProgressId=e.userLearningPackageProgressId,this.userLearningPackageDetailId=e.userLearningPackageDetailId,this.duration=e.duration,this.score=e.score,this.status=e.status)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).userLearningPackageProgressId=this.userLearningPackageProgressId,e.userLearningPackageDetailId=this.userLearningPackageDetailId,e.duration=this.duration,e.score=this.score,e.status=this.status,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),YS=function(){function e(t){if(Object(l.a)(this,e),this.sessionId=void 0,this.scheduleId=void 0,this.title=void 0,this.formatId=void 0,this.format=void 0,this.formatPortalCategory=void 0,this.startDate=void 0,this.endDate=void 0,this.startTime=void 0,this.endTime=void 0,this.timezone=void 0,this.locationId=void 0,this.location=void 0,this.roomId=void 0,this.room=void 0,this.isIndividualSessionDateAllowed=void 0,this.sessionLicenses=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&(this.sessionId=e.sessionId,this.scheduleId=e.scheduleId,this.title=e.title,this.formatId=e.formatId,this.format=e.format,this.formatPortalCategory=e.formatPortalCategory,this.startDate=e.startDate?new Date(e.startDate.toString()):void 0,this.endDate=e.endDate?new Date(e.endDate.toString()):void 0,this.startTime=e.startTime,this.endTime=e.endTime,this.timezone=e.timezone,this.locationId=e.locationId,this.location=e.location,this.roomId=e.roomId,this.room=e.room,this.isIndividualSessionDateAllowed=e.isIndividualSessionDateAllowed,Array.isArray(e.sessionLicenses))){this.sessionLicenses=[];var t,n=Object(s.a)(e.sessionLicenses);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.sessionLicenses.push(Fb.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).sessionId=this.sessionId,e.scheduleId=this.scheduleId,e.title=this.title,e.formatId=this.formatId,e.format=this.format,e.formatPortalCategory=this.formatPortalCategory,e.startDate=this.startDate?this.startDate.toISOString():void 0,e.endDate=this.endDate?this.endDate.toISOString():void 0,e.startTime=this.startTime,e.endTime=this.endTime,e.timezone=this.timezone,e.locationId=this.locationId,e.location=this.location,e.roomId=this.roomId,e.room=this.room,e.isIndividualSessionDateAllowed=this.isIndividualSessionDateAllowed,Array.isArray(this.sessionLicenses)){e.sessionLicenses=[];var t,n=Object(s.a)(this.sessionLicenses);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.sessionLicenses.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),HS=function(){function e(t){if(Object(l.a)(this,e),this.sessionParticipantId=void 0,this.sessionId=void 0,this.userId=void 0,this.isInstructor=void 0,this.registrationDate=void 0,this.registeredBy=void 0,this.validationDate=void 0,this.validatedBy=void 0,this.completionDate=void 0,this.tentativeDate=void 0,this.isCreditAdjusted=void 0,this.sessionParticipantStatusId=void 0,this.previousStatusId=void 0,this.courseId=void 0,this.courseTitle=void 0,this.providerId=void 0,this.providerName=void 0,this.userLicenseCreditValues=void 0,this.session=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.sessionParticipantId=e.sessionParticipantId,this.sessionId=e.sessionId,this.userId=e.userId,this.isInstructor=e.isInstructor,this.registrationDate=e.registrationDate?new Date(e.registrationDate.toString()):void 0,this.registeredBy=e.registeredBy,this.validationDate=e.validationDate?new Date(e.validationDate.toString()):void 0,this.validatedBy=e.validatedBy,this.completionDate=e.completionDate?new Date(e.completionDate.toString()):void 0,this.tentativeDate=e.tentativeDate?new Date(e.tentativeDate.toString()):void 0,this.isCreditAdjusted=e.isCreditAdjusted,this.sessionParticipantStatusId=e.sessionParticipantStatusId,this.previousStatusId=e.previousStatusId,this.courseId=e.courseId,this.courseTitle=e.courseTitle,this.providerId=e.providerId,this.providerName=e.providerName,Array.isArray(e.userLicenseCreditValues)){this.userLicenseCreditValues=[];var t,n=Object(s.a)(e.userLicenseCreditValues);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.userLicenseCreditValues.push(tO.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}this.session=e.session?YS.fromJS(e.session):void 0}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).sessionParticipantId=this.sessionParticipantId,e.sessionId=this.sessionId,e.userId=this.userId,e.isInstructor=this.isInstructor,e.registrationDate=this.registrationDate?this.registrationDate.toISOString():void 0,e.registeredBy=this.registeredBy,e.validationDate=this.validationDate?this.validationDate.toISOString():void 0,e.validatedBy=this.validatedBy,e.completionDate=this.completionDate?this.completionDate.toISOString():void 0,e.tentativeDate=this.tentativeDate?this.tentativeDate.toISOString():void 0,e.isCreditAdjusted=this.isCreditAdjusted,e.sessionParticipantStatusId=this.sessionParticipantStatusId,e.previousStatusId=this.previousStatusId,e.courseId=this.courseId,e.courseTitle=this.courseTitle,e.providerId=this.providerId,e.providerName=this.providerName,Array.isArray(this.userLicenseCreditValues)){e.userLicenseCreditValues=[];var t,n=Object(s.a)(this.userLicenseCreditValues);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.userLicenseCreditValues.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e.session=this.session?this.session.toJSON():void 0,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),$S=function(){function e(t){if(Object(l.a)(this,e),this.userTranscripts=void 0,this.recordCount=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.userTranscripts)){this.userTranscripts=[];var t,n=Object(s.a)(e.userTranscripts);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.userTranscripts.push(HS.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}this.recordCount=e.recordCount}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.userTranscripts)){e.userTranscripts=[];var t,n=Object(s.a)(this.userTranscripts);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.userTranscripts.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e.recordCount=this.recordCount,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),QS=function(){function e(t){if(Object(l.a)(this,e),this.userId=void 0,this.fileId=void 0,this.signatureUrl=void 0,this.thumbnailUrl=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.userId=e.userId,this.fileId=e.fileId,this.signatureUrl=e.signatureUrl,this.thumbnailUrl=e.thumbnailUrl)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).userId=this.userId,e.fileId=this.fileId,e.signatureUrl=this.signatureUrl,e.thumbnailUrl=this.thumbnailUrl,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),ZS=function(){function e(t){if(Object(l.a)(this,e),this.userLicenseComplianceId=void 0,this.userId=void 0,this.licenseId=void 0,this.licenseName=void 0,this.periodNumber=void 0,this.periodTypeId=void 0,this.periodFrom=void 0,this.periodTo=void 0,this.complianceStatusId=void 0,this.complianceStatus=void 0,this.periodLabel=void 0,this.isLocked=void 0,this.lockedBy=void 0,this.periodFromCourse=void 0,this.periodToDisplay=void 0,this.parentLicenseId=void 0,this.priorPeriodDeficiency=void 0,this.totalCreditsNeeded=void 0,this.additionalRequirementStatus=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.userLicenseComplianceId=e.userLicenseComplianceId,this.userId=e.userId,this.licenseId=e.licenseId,this.licenseName=e.licenseName,this.periodNumber=e.periodNumber,this.periodTypeId=e.periodTypeId,this.periodFrom=e.periodFrom?new Date(e.periodFrom.toString()):void 0,this.periodTo=e.periodTo?new Date(e.periodTo.toString()):void 0,this.complianceStatusId=e.complianceStatusId,this.complianceStatus=e.complianceStatus,this.periodLabel=e.periodLabel,this.isLocked=e.isLocked,this.lockedBy=e.lockedBy,this.periodFromCourse=e.periodFromCourse?new Date(e.periodFromCourse.toString()):void 0,this.periodToDisplay=e.periodToDisplay?new Date(e.periodToDisplay.toString()):void 0,this.parentLicenseId=e.parentLicenseId,this.priorPeriodDeficiency=e.priorPeriodDeficiency,this.totalCreditsNeeded=e.totalCreditsNeeded,this.additionalRequirementStatus=e.additionalRequirementStatus)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).userLicenseComplianceId=this.userLicenseComplianceId,e.userId=this.userId,e.licenseId=this.licenseId,e.licenseName=this.licenseName,e.periodNumber=this.periodNumber,e.periodTypeId=this.periodTypeId,e.periodFrom=this.periodFrom?this.periodFrom.toISOString():void 0,e.periodTo=this.periodTo?this.periodTo.toISOString():void 0,e.complianceStatusId=this.complianceStatusId,e.complianceStatus=this.complianceStatus,e.periodLabel=this.periodLabel,e.isLocked=this.isLocked,e.lockedBy=this.lockedBy,e.periodFromCourse=this.periodFromCourse?this.periodFromCourse.toISOString():void 0,e.periodToDisplay=this.periodToDisplay?this.periodToDisplay.toISOString():void 0,e.parentLicenseId=this.parentLicenseId,e.priorPeriodDeficiency=this.priorPeriodDeficiency,e.totalCreditsNeeded=this.totalCreditsNeeded,e.additionalRequirementStatus=this.additionalRequirementStatus,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),XS=function(){function e(t){if(Object(l.a)(this,e),this.transcriptId=void 0,this.sessionParticipantId=void 0,this.sessionId=void 0,this.userId=void 0,this.isInstructor=void 0,this.isValidated=void 0,this.registrationDate=void 0,this.registeredBy=void 0,this.validationDate=void 0,this.validatedBy=void 0,this.completionDate=void 0,this.startDate=void 0,this.endDate=void 0,this.shouldDisplayDateRange=void 0,this.tentativeDate=void 0,this.isCreditAdjusted=void 0,this.sessionParticipantStatusId=void 0,this.previousStatusId=void 0,this.courseId=void 0,this.title=void 0,this.providerId=void 0,this.providerName=void 0,this.formatId=void 0,this.format=void 0,this.userLicense=void 0,this.userLicenseCreditValues=void 0,this.userLicensePropertyValues=void 0,this.session=void 0,this.certificates=void 0,this.certificateDisplayStatusId=void 0,this.certificateDisplayStatus=void 0,this.activityParticipantId=void 0,this.activityId=void 0,this.hoursSpent=void 0,this.personnelId=void 0,this.activity=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.transcriptId=e.transcriptId,this.sessionParticipantId=e.sessionParticipantId,this.sessionId=e.sessionId,this.userId=e.userId,this.isInstructor=e.isInstructor,this.isValidated=e.isValidated,this.registrationDate=e.registrationDate?new Date(e.registrationDate.toString()):void 0,this.registeredBy=e.registeredBy,this.validationDate=e.validationDate?new Date(e.validationDate.toString()):void 0,this.validatedBy=e.validatedBy,this.completionDate=e.completionDate?new Date(e.completionDate.toString()):void 0,this.startDate=e.startDate?new Date(e.startDate.toString()):void 0,this.endDate=e.endDate?new Date(e.endDate.toString()):void 0,this.shouldDisplayDateRange=e.shouldDisplayDateRange,this.tentativeDate=e.tentativeDate?new Date(e.tentativeDate.toString()):void 0,this.isCreditAdjusted=e.isCreditAdjusted,this.sessionParticipantStatusId=e.sessionParticipantStatusId,this.previousStatusId=e.previousStatusId,this.courseId=e.courseId,this.title=e.title,this.providerId=e.providerId,this.providerName=e.providerName,this.formatId=e.formatId,this.format=e.format,Array.isArray(e.userLicense)){this.userLicense=[];var t,n=Object(s.a)(e.userLicense);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.userLicense.push(AS.fromJS(i))}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(e.userLicenseCreditValues)){this.userLicenseCreditValues=[];var a,r=Object(s.a)(e.userLicenseCreditValues);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.userLicenseCreditValues.push(xS.fromJS(o))}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(e.userLicensePropertyValues)){this.userLicensePropertyValues=[];var l,c=Object(s.a)(e.userLicensePropertyValues);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.userLicensePropertyValues.push(PS.fromJS(d))}}catch(f){c.e(f)}finally{c.f()}}if(this.session=e.session?YS.fromJS(e.session):void 0,Array.isArray(e.certificates)){this.certificates=[];var u,m=Object(s.a)(e.certificates);try{for(m.s();!(u=m.n()).done;){var v=u.value;this.certificates.push(XI.fromJS(v))}}catch(f){m.e(f)}finally{m.f()}}this.certificateDisplayStatusId=e.certificateDisplayStatusId,this.certificateDisplayStatus=e.certificateDisplayStatus,this.activityParticipantId=e.activityParticipantId,this.activityId=e.activityId,this.hoursSpent=e.hoursSpent,this.personnelId=e.personnelId,this.activity=e.activity?YI.fromJS(e.activity):void 0}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).transcriptId=this.transcriptId,e.sessionParticipantId=this.sessionParticipantId,e.sessionId=this.sessionId,e.userId=this.userId,e.isInstructor=this.isInstructor,e.isValidated=this.isValidated,e.registrationDate=this.registrationDate?this.registrationDate.toISOString():void 0,e.registeredBy=this.registeredBy,e.validationDate=this.validationDate?this.validationDate.toISOString():void 0,e.validatedBy=this.validatedBy,e.completionDate=this.completionDate?this.completionDate.toISOString():void 0,e.startDate=this.startDate?this.startDate.toISOString():void 0,e.endDate=this.endDate?this.endDate.toISOString():void 0,e.shouldDisplayDateRange=this.shouldDisplayDateRange,e.tentativeDate=this.tentativeDate?this.tentativeDate.toISOString():void 0,e.isCreditAdjusted=this.isCreditAdjusted,e.sessionParticipantStatusId=this.sessionParticipantStatusId,e.previousStatusId=this.previousStatusId,e.courseId=this.courseId,e.title=this.title,e.providerId=this.providerId,e.providerName=this.providerName,e.formatId=this.formatId,e.format=this.format,Array.isArray(this.userLicense)){e.userLicense=[];var t,n=Object(s.a)(this.userLicense);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.userLicense.push(i.toJSON())}}catch(f){n.e(f)}finally{n.f()}}if(Array.isArray(this.userLicenseCreditValues)){e.userLicenseCreditValues=[];var a,r=Object(s.a)(this.userLicenseCreditValues);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.userLicenseCreditValues.push(o.toJSON())}}catch(f){r.e(f)}finally{r.f()}}if(Array.isArray(this.userLicensePropertyValues)){e.userLicensePropertyValues=[];var l,c=Object(s.a)(this.userLicensePropertyValues);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.userLicensePropertyValues.push(d.toJSON())}}catch(f){c.e(f)}finally{c.f()}}if(e.session=this.session?this.session.toJSON():void 0,Array.isArray(this.certificates)){e.certificates=[];var u,m=Object(s.a)(this.certificates);try{for(m.s();!(u=m.n()).done;){var v=u.value;e.certificates.push(v.toJSON())}}catch(f){m.e(f)}finally{m.f()}}return e.certificateDisplayStatusId=this.certificateDisplayStatusId,e.certificateDisplayStatus=this.certificateDisplayStatus,e.activityParticipantId=this.activityParticipantId,e.activityId=this.activityId,e.hoursSpent=this.hoursSpent,e.personnelId=this.personnelId,e.activity=this.activity?this.activity.toJSON():void 0,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),KS=function(){function e(t){if(Object(l.a)(this,e),this.userTranscripts=void 0,this.recordCount=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.userTranscripts)){this.userTranscripts=[];var t,n=Object(s.a)(e.userTranscripts);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.userTranscripts.push(XS.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}this.recordCount=e.recordCount}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.userTranscripts)){e.userTranscripts=[];var t,n=Object(s.a)(this.userTranscripts);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.userTranscripts.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e.recordCount=this.recordCount,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),eO=function(){function e(t){if(Object(l.a)(this,e),this.transcript=void 0,this.user=void 0,this.licenseId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.transcript=e.transcript?qp.fromJS(e.transcript):void 0,this.user=e.user?lS.fromJS(e.user):void 0,this.licenseId=e.licenseId)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).transcript=this.transcript?this.transcript.toJSON():void 0,e.user=this.user?this.user.toJSON():void 0,e.licenseId=this.licenseId,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),tO=function(){function e(t){if(Object(l.a)(this,e),this.sessionParticipantId=void 0,this.licenseId=void 0,this.creditId=void 0,this.creditName=void 0,this.value=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.sessionParticipantId=e.sessionParticipantId,this.licenseId=e.licenseId,this.creditId=e.creditId,this.creditName=e.creditName,this.value=e.value)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).sessionParticipantId=this.sessionParticipantId,e.licenseId=this.licenseId,e.creditId=this.creditId,e.creditName=this.creditName,e.value=this.value,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),nO=function(){function e(t){if(Object(l.a)(this,e),this.typeId=void 0,this.name=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.typeId=e.typeId,this.name=e.name)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).typeId=this.typeId,e.name=this.name,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}();!function(e){e[e.Administrator=1]="Administrator",e[e.Client=2]="Client",e[e.Employee=3]="Employee"}(vS||(vS={}));var iO=function(){function e(t){if(Object(l.a)(this,e),this.userTypes=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&Array.isArray(e.userTypes)){this.userTypes=[];var t,n=Object(s.a)(e.userTypes);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.userTypes.push(nO.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.userTypes)){e.userTypes=[];var t,n=Object(s.a)(this.userTypes);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.userTypes.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),aO=function(){function e(t){if(Object(l.a)(this,e),this.licenseId=void 0,this.licenseName=void 0,this.creditId=void 0,this.creditName=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.licenseId=e.licenseId,this.licenseName=e.licenseName,this.creditId=e.creditId,this.creditName=e.creditName)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).licenseId=this.licenseId,e.licenseName=this.licenseName,e.creditId=this.creditId,e.creditName=this.creditName,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),rO=function(){function e(t){if(Object(l.a)(this,e),this.learningPlanId=void 0,this.title=void 0,this.type=void 0,this.timeframeOfCompletion=void 0,this.startDate=void 0,this.endDate=void 0,this.duration=void 0,this.durationType=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.learningPlanId=e.learningPlanId,this.title=e.title,this.type=e.type,this.timeframeOfCompletion=e.timeframeOfCompletion,this.startDate=e.startDate?new Date(e.startDate.toString()):void 0,this.endDate=e.endDate?new Date(e.endDate.toString()):void 0,this.duration=e.duration,this.durationType=e.durationType)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).learningPlanId=this.learningPlanId,e.title=this.title,e.type=this.type,e.timeframeOfCompletion=this.timeframeOfCompletion,e.startDate=this.startDate?this.startDate.toISOString():void 0,e.endDate=this.endDate?this.endDate.toISOString():void 0,e.duration=this.duration,e.durationType=this.durationType,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),oO=function(){function e(t){if(Object(l.a)(this,e),this.userUnregisteredLearningPlans=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&Array.isArray(e.userUnregisteredLearningPlans)){this.userUnregisteredLearningPlans=[];var t,n=Object(s.a)(e.userUnregisteredLearningPlans);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.userUnregisteredLearningPlans.push(rO.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.userUnregisteredLearningPlans)){e.userUnregisteredLearningPlans=[];var t,n=Object(s.a)(this.userUnregisteredLearningPlans);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.userUnregisteredLearningPlans.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),sO=function(){function e(t){if(Object(l.a)(this,e),this.userValidationError=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&Array.isArray(e.userValidationError)){this.userValidationError=[];var t,n=Object(s.a)(e.userValidationError);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.userValidationError.push(LS.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.userValidationError)){e.userValidationError=[];var t,n=Object(s.a)(this.userValidationError);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.userValidationError.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),lO=function(){function e(t){if(Object(l.a)(this,e),this.accreditationFormId=void 0,this.name=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.accreditationFormId=e.accreditationFormId,this.name=e.name)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).accreditationFormId=this.accreditationFormId,e.name=this.name,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),cO=function(){function e(t){if(Object(l.a)(this,e),this.activitySavedFilterId=void 0,this.name=void 0,this.createdBy=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.activitySavedFilterId=e.activitySavedFilterId,this.name=e.name,this.createdBy=e.createdBy)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).activitySavedFilterId=this.activitySavedFilterId,e.name=this.name,e.createdBy=this.createdBy,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),dO=function(){function e(t){if(Object(l.a)(this,e),this.affiliationIds=void 0,this.code=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.affiliationIds)){this.affiliationIds=[];var t,n=Object(s.a)(e.affiliationIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.affiliationIds.push(i)}}catch(a){n.e(a)}finally{n.f()}}this.code=e.code}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.affiliationIds)){e.affiliationIds=[];var t,n=Object(s.a)(this.affiliationIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.affiliationIds.push(i)}}catch(a){n.e(a)}finally{n.f()}}return e.code=this.code,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),uO=function(){function e(t){if(Object(l.a)(this,e),this.affiliationIds=void 0,this.name=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.affiliationIds)){this.affiliationIds=[];var t,n=Object(s.a)(e.affiliationIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.affiliationIds.push(i)}}catch(a){n.e(a)}finally{n.f()}}this.name=e.name}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.affiliationIds)){e.affiliationIds=[];var t,n=Object(s.a)(this.affiliationIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.affiliationIds.push(i)}}catch(a){n.e(a)}finally{n.f()}}return e.name=this.name,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),mO=function(){function e(t){if(Object(l.a)(this,e),this.attendanceFormId=void 0,this.name=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.attendanceFormId=e.attendanceFormId,this.name=e.name)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).attendanceFormId=this.attendanceFormId,e.name=this.name,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),vO=function(){function e(t){if(Object(l.a)(this,e),this.calendarSavedFilterId=void 0,this.name=void 0,this.createdBy=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.calendarSavedFilterId=e.calendarSavedFilterId,this.name=e.name,this.createdBy=e.createdBy)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).calendarSavedFilterId=this.calendarSavedFilterId,e.name=this.name,e.createdBy=this.createdBy,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),fO=function(){function e(t){if(Object(l.a)(this,e),this.certificateId=void 0,this.name=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.certificateId=e.certificateId,this.name=e.name)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).certificateId=this.certificateId,e.name=this.name,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),pO=function(){function e(t){if(Object(l.a)(this,e),this.classYearIds=void 0,this.code=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.classYearIds)){this.classYearIds=[];var t,n=Object(s.a)(e.classYearIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.classYearIds.push(i)}}catch(a){n.e(a)}finally{n.f()}}this.code=e.code}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.classYearIds)){e.classYearIds=[];var t,n=Object(s.a)(this.classYearIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.classYearIds.push(i)}}catch(a){n.e(a)}finally{n.f()}}return e.code=this.code,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),hO=function(){function e(t){if(Object(l.a)(this,e),this.classYearIds=void 0,this.name=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.classYearIds)){this.classYearIds=[];var t,n=Object(s.a)(e.classYearIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.classYearIds.push(i)}}catch(a){n.e(a)}finally{n.f()}}this.name=e.name}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.classYearIds)){e.classYearIds=[];var t,n=Object(s.a)(this.classYearIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.classYearIds.push(i)}}catch(a){n.e(a)}finally{n.f()}}return e.name=this.name,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),yO=function(){function e(t){if(Object(l.a)(this,e),this.competencyIds=void 0,this.code=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.competencyIds)){this.competencyIds=[];var t,n=Object(s.a)(e.competencyIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.competencyIds.push(i)}}catch(a){n.e(a)}finally{n.f()}}this.code=e.code}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.competencyIds)){e.competencyIds=[];var t,n=Object(s.a)(this.competencyIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.competencyIds.push(i)}}catch(a){n.e(a)}finally{n.f()}}return e.code=this.code,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),bO=function(){function e(t){if(Object(l.a)(this,e),this.licenseId=void 0,this.year=void 0,this.competencyFrameworkId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.licenseId=e.licenseId,this.year=e.year,this.competencyFrameworkId=e.competencyFrameworkId)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).licenseId=this.licenseId,e.year=this.year,e.competencyFrameworkId=this.competencyFrameworkId,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),gO=function(){function e(t){if(Object(l.a)(this,e),this.title=void 0,this.competencyFrameworkId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.title=e.title,this.competencyFrameworkId=e.competencyFrameworkId)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).title=this.title,e.competencyFrameworkId=this.competencyFrameworkId,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),EO=function(){function e(t){if(Object(l.a)(this,e),this.competencyIds=void 0,this.name=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.competencyIds)){this.competencyIds=[];var t,n=Object(s.a)(e.competencyIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.competencyIds.push(i)}}catch(a){n.e(a)}finally{n.f()}}this.name=e.name}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.competencyIds)){e.competencyIds=[];var t,n=Object(s.a)(this.competencyIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.competencyIds.push(i)}}catch(a){n.e(a)}finally{n.f()}}return e.name=this.name,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),IO=function(){function e(t){if(Object(l.a)(this,e),this.complianceLicenseeSavedFilterId=void 0,this.name=void 0,this.createdBy=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.complianceLicenseeSavedFilterId=e.complianceLicenseeSavedFilterId,this.name=e.name,this.createdBy=e.createdBy)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).complianceLicenseeSavedFilterId=this.complianceLicenseeSavedFilterId,e.name=this.name,e.createdBy=this.createdBy,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),SO=function(){function e(t){if(Object(l.a)(this,e),this.courseDto=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.courseDto=e.courseDto?OO.fromJS(e.courseDto):void 0)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).courseDto=this.courseDto?this.courseDto.toJSON():void 0,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),OO=function(){function e(t){if(Object(l.a)(this,e),this.courseId=void 0,this.courseTitle=void 0,this.providerId=void 0,this.courseCode=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.courseId=e.courseId,this.courseTitle=e.courseTitle,this.providerId=e.providerId,this.courseCode=e.courseCode)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).courseId=this.courseId,e.courseTitle=this.courseTitle,e.providerId=this.providerId,e.courseCode=this.courseCode,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),CO=function(){function e(t){if(Object(l.a)(this,e),this.error=void 0,this.validationMessage=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.error=e.error,this.validationMessage=e.validationMessage)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).error=this.error,e.validationMessage=this.validationMessage,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),jO=function(){function e(t){if(Object(l.a)(this,e),this.courseList=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e&&Array.isArray(e.courseList)){this.courseList=[];var t,n=Object(s.a)(e.courseList);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.courseList.push(OO.fromJS(i))}}catch(a){n.e(a)}finally{n.f()}}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.courseList)){e.courseList=[];var t,n=Object(s.a)(this.courseList);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.courseList.push(i.toJSON())}}catch(a){n.e(a)}finally{n.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),xO=function(){function e(t){if(Object(l.a)(this,e),this.courseSavedFilterId=void 0,this.name=void 0,this.createdBy=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.courseSavedFilterId=e.courseSavedFilterId,this.name=e.name,this.createdBy=e.createdBy)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).courseSavedFilterId=this.courseSavedFilterId,e.name=this.name,e.createdBy=this.createdBy,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),AO=function(){function e(t){if(Object(l.a)(this,e),this.declineCodeIds=void 0,this.code=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.declineCodeIds)){this.declineCodeIds=[];var t,n=Object(s.a)(e.declineCodeIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.declineCodeIds.push(i)}}catch(a){n.e(a)}finally{n.f()}}this.code=e.code}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.declineCodeIds)){e.declineCodeIds=[];var t,n=Object(s.a)(this.declineCodeIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.declineCodeIds.push(i)}}catch(a){n.e(a)}finally{n.f()}}return e.code=this.code,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),TO=function(){function e(t){if(Object(l.a)(this,e),this.declineCodeIds=void 0,this.name=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.declineCodeIds)){this.declineCodeIds=[];var t,n=Object(s.a)(e.declineCodeIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.declineCodeIds.push(i)}}catch(a){n.e(a)}finally{n.f()}}this.name=e.name}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.declineCodeIds)){e.declineCodeIds=[];var t,n=Object(s.a)(this.declineCodeIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.declineCodeIds.push(i)}}catch(a){n.e(a)}finally{n.f()}}return e.name=this.name,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),wO=function(){function e(t){if(Object(l.a)(this,e),this.departmentIds=void 0,this.code=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.departmentIds)){this.departmentIds=[];var t,n=Object(s.a)(e.departmentIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.departmentIds.push(i)}}catch(a){n.e(a)}finally{n.f()}}this.code=e.code}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.departmentIds)){e.departmentIds=[];var t,n=Object(s.a)(this.departmentIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.departmentIds.push(i)}}catch(a){n.e(a)}finally{n.f()}}return e.code=this.code,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),kO=function(){function e(t){if(Object(l.a)(this,e),this.departmentIds=void 0,this.name=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.departmentIds)){this.departmentIds=[];var t,n=Object(s.a)(e.departmentIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.departmentIds.push(i)}}catch(a){n.e(a)}finally{n.f()}}this.name=e.name}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.departmentIds)){e.departmentIds=[];var t,n=Object(s.a)(this.departmentIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.departmentIds.push(i)}}catch(a){n.e(a)}finally{n.f()}}return e.name=this.name,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),PO=function(){function e(t){if(Object(l.a)(this,e),this.ethnicityIds=void 0,this.code=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.ethnicityIds)){this.ethnicityIds=[];var t,n=Object(s.a)(e.ethnicityIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.ethnicityIds.push(i)}}catch(a){n.e(a)}finally{n.f()}}this.code=e.code}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.ethnicityIds)){e.ethnicityIds=[];var t,n=Object(s.a)(this.ethnicityIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.ethnicityIds.push(i)}}catch(a){n.e(a)}finally{n.f()}}return e.code=this.code,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),NO=function(){function e(t){if(Object(l.a)(this,e),this.ethnicityIds=void 0,this.name=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.ethnicityIds)){this.ethnicityIds=[];var t,n=Object(s.a)(e.ethnicityIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.ethnicityIds.push(i)}}catch(a){n.e(a)}finally{n.f()}}this.name=e.name}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.ethnicityIds)){e.ethnicityIds=[];var t,n=Object(s.a)(this.ethnicityIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.ethnicityIds.push(i)}}catch(a){n.e(a)}finally{n.f()}}return e.name=this.name,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),DO=function(){function e(t){if(Object(l.a)(this,e),this.excuseIds=void 0,this.code=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.excuseIds)){this.excuseIds=[];var t,n=Object(s.a)(e.excuseIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.excuseIds.push(i)}}catch(a){n.e(a)}finally{n.f()}}this.code=e.code}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.excuseIds)){e.excuseIds=[];var t,n=Object(s.a)(this.excuseIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.excuseIds.push(i)}}catch(a){n.e(a)}finally{n.f()}}return e.code=this.code,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),LO=function(){function e(t){if(Object(l.a)(this,e),this.excuseIds=void 0,this.name=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.excuseIds)){this.excuseIds=[];var t,n=Object(s.a)(e.excuseIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.excuseIds.push(i)}}catch(a){n.e(a)}finally{n.f()}}this.name=e.name}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.excuseIds)){e.excuseIds=[];var t,n=Object(s.a)(this.excuseIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.excuseIds.push(i)}}catch(a){n.e(a)}finally{n.f()}}return e.name=this.name,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),FO=function(){function e(t){if(Object(l.a)(this,e),this.genderIds=void 0,this.code=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.genderIds)){this.genderIds=[];var t,n=Object(s.a)(e.genderIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.genderIds.push(i)}}catch(a){n.e(a)}finally{n.f()}}this.code=e.code}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.genderIds)){e.genderIds=[];var t,n=Object(s.a)(this.genderIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.genderIds.push(i)}}catch(a){n.e(a)}finally{n.f()}}return e.code=this.code,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),BO=function(){function e(t){if(Object(l.a)(this,e),this.genderIds=void 0,this.name=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.genderIds)){this.genderIds=[];var t,n=Object(s.a)(e.genderIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.genderIds.push(i)}}catch(a){n.e(a)}finally{n.f()}}this.name=e.name}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.genderIds)){e.genderIds=[];var t,n=Object(s.a)(this.genderIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.genderIds.push(i)}}catch(a){n.e(a)}finally{n.f()}}return e.name=this.name,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),RO=function(){function e(t){if(Object(l.a)(this,e),this.learningPlanTitle=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.learningPlanTitle=e.learningPlanTitle)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).learningPlanTitle=this.learningPlanTitle,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),JO=function(){function e(t){if(Object(l.a)(this,e),this.learningPlanSavedFilterId=void 0,this.name=void 0,this.createdBy=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.learningPlanSavedFilterId=e.learningPlanSavedFilterId,this.name=e.name,this.createdBy=e.createdBy)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).learningPlanSavedFilterId=this.learningPlanSavedFilterId,e.name=this.name,e.createdBy=this.createdBy,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),GO=function(){function e(t){if(Object(l.a)(this,e),this.levelIds=void 0,this.code=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.levelIds)){this.levelIds=[];var t,n=Object(s.a)(e.levelIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.levelIds.push(i)}}catch(a){n.e(a)}finally{n.f()}}this.code=e.code}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.levelIds)){e.levelIds=[];var t,n=Object(s.a)(this.levelIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.levelIds.push(i)}}catch(a){n.e(a)}finally{n.f()}}return e.code=this.code,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),UO=function(){function e(t){if(Object(l.a)(this,e),this.levelIds=void 0,this.name=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.levelIds)){this.levelIds=[];var t,n=Object(s.a)(e.levelIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.levelIds.push(i)}}catch(a){n.e(a)}finally{n.f()}}this.name=e.name}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.levelIds)){e.levelIds=[];var t,n=Object(s.a)(this.levelIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.levelIds.push(i)}}catch(a){n.e(a)}finally{n.f()}}return e.name=this.name,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),zO=function(){function e(t){if(Object(l.a)(this,e),this.locationIds=void 0,this.code=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.locationIds)){this.locationIds=[];var t,n=Object(s.a)(e.locationIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.locationIds.push(i)}}catch(a){n.e(a)}finally{n.f()}}this.code=e.code}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.locationIds)){e.locationIds=[];var t,n=Object(s.a)(this.locationIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.locationIds.push(i)}}catch(a){n.e(a)}finally{n.f()}}return e.code=this.code,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),qO=function(){function e(t){if(Object(l.a)(this,e),this.locationIds=void 0,this.name=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.locationIds)){this.locationIds=[];var t,n=Object(s.a)(e.locationIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.locationIds.push(i)}}catch(a){n.e(a)}finally{n.f()}}this.name=e.name}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.locationIds)){e.locationIds=[];var t,n=Object(s.a)(this.locationIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.locationIds.push(i)}}catch(a){n.e(a)}finally{n.f()}}return e.name=this.name,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),MO=function(){function e(t){if(Object(l.a)(this,e),this.positionIds=void 0,this.code=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.positionIds)){this.positionIds=[];var t,n=Object(s.a)(e.positionIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.positionIds.push(i)}}catch(a){n.e(a)}finally{n.f()}}this.code=e.code}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.positionIds)){e.positionIds=[];var t,n=Object(s.a)(this.positionIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.positionIds.push(i)}}catch(a){n.e(a)}finally{n.f()}}return e.code=this.code,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),WO=function(){function e(t){if(Object(l.a)(this,e),this.practiceAreaIds=void 0,this.code=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.practiceAreaIds)){this.practiceAreaIds=[];var t,n=Object(s.a)(e.practiceAreaIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.practiceAreaIds.push(i)}}catch(a){n.e(a)}finally{n.f()}}this.code=e.code}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.practiceAreaIds)){e.practiceAreaIds=[];var t,n=Object(s.a)(this.practiceAreaIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.practiceAreaIds.push(i)}}catch(a){n.e(a)}finally{n.f()}}return e.code=this.code,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),VO=function(){function e(t){if(Object(l.a)(this,e),this.practiceAreaIds=void 0,this.name=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.practiceAreaIds)){this.practiceAreaIds=[];var t,n=Object(s.a)(e.practiceAreaIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.practiceAreaIds.push(i)}}catch(a){n.e(a)}finally{n.f()}}this.name=e.name}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.practiceAreaIds)){e.practiceAreaIds=[];var t,n=Object(s.a)(this.practiceAreaIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.practiceAreaIds.push(i)}}catch(a){n.e(a)}finally{n.f()}}return e.name=this.name,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),_O=function(){function e(t){if(Object(l.a)(this,e),this.providerIds=void 0,this.code=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.providerIds)){this.providerIds=[];var t,n=Object(s.a)(e.providerIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.providerIds.push(i)}}catch(a){n.e(a)}finally{n.f()}}this.code=e.code}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.providerIds)){e.providerIds=[];var t,n=Object(s.a)(this.providerIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.providerIds.push(i)}}catch(a){n.e(a)}finally{n.f()}}return e.code=this.code,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),YO=function(){function e(t){if(Object(l.a)(this,e),this.providerIds=void 0,this.name=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.providerIds)){this.providerIds=[];var t,n=Object(s.a)(e.providerIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.providerIds.push(i)}}catch(a){n.e(a)}finally{n.f()}}this.name=e.name}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.providerIds)){e.providerIds=[];var t,n=Object(s.a)(this.providerIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.providerIds.push(i)}}catch(a){n.e(a)}finally{n.f()}}return e.name=this.name,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),HO=function(){function e(t){if(Object(l.a)(this,e),this.userId=void 0,this.reportSavedFilterId=void 0,this.reportName=void 0,this.name=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.userId=e.userId,this.reportSavedFilterId=e.reportSavedFilterId,this.reportName=e.reportName,this.name=e.name)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).userId=this.userId,e.reportSavedFilterId=this.reportSavedFilterId,e.reportName=this.reportName,e.name=this.name,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),$O=function(){function e(t){if(Object(l.a)(this,e),this.roomIds=void 0,this.code=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.roomIds)){this.roomIds=[];var t,n=Object(s.a)(e.roomIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.roomIds.push(i)}}catch(a){n.e(a)}finally{n.f()}}this.code=e.code}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.roomIds)){e.roomIds=[];var t,n=Object(s.a)(this.roomIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.roomIds.push(i)}}catch(a){n.e(a)}finally{n.f()}}return e.code=this.code,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),QO=function(){function e(t){if(Object(l.a)(this,e),this.roomIds=void 0,this.locationId=void 0,this.name=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.roomIds)){this.roomIds=[];var t,n=Object(s.a)(e.roomIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.roomIds.push(i)}}catch(a){n.e(a)}finally{n.f()}}this.locationId=e.locationId,this.name=e.name}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.roomIds)){e.roomIds=[];var t,n=Object(s.a)(this.roomIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.roomIds.push(i)}}catch(a){n.e(a)}finally{n.f()}}return e.locationId=this.locationId,e.name=this.name,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),ZO=function(){function e(t){if(Object(l.a)(this,e),this.securityUserSavedFilterId=void 0,this.name=void 0,this.createdBy=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.securityUserSavedFilterId=e.securityUserSavedFilterId,this.name=e.name,this.createdBy=e.createdBy)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).securityUserSavedFilterId=this.securityUserSavedFilterId,e.name=this.name,e.createdBy=this.createdBy,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),XO=function(){function e(t){if(Object(l.a)(this,e),this.sessionParticipantIds=void 0,this.completionDate=void 0,this.sessionId=void 0,this.onlineCourseFailed=void 0,this.override=void 0,this.senderId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n]);t||(this.sessionParticipantIds=[])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.sessionParticipantIds)){this.sessionParticipantIds=[];var t,n=Object(s.a)(e.sessionParticipantIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.sessionParticipantIds.push(i)}}catch(a){n.e(a)}finally{n.f()}}this.completionDate=e.completionDate?new Date(e.completionDate.toString()):void 0,this.sessionId=e.sessionId,this.onlineCourseFailed=e.onlineCourseFailed,this.override=e.override,this.senderId=e.senderId}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.sessionParticipantIds)){e.sessionParticipantIds=[];var t,n=Object(s.a)(this.sessionParticipantIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.sessionParticipantIds.push(i)}}catch(a){n.e(a)}finally{n.f()}}return e.completionDate=this.completionDate?this.completionDate.toISOString():void 0,e.sessionId=this.sessionId,e.onlineCourseFailed=this.onlineCourseFailed,e.override=this.override,e.senderId=this.senderId,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),KO=function(){function e(t){if(Object(l.a)(this,e),this.tagIds=void 0,this.code=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.tagIds)){this.tagIds=[];var t,n=Object(s.a)(e.tagIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.tagIds.push(i)}}catch(a){n.e(a)}finally{n.f()}}this.code=e.code}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.tagIds)){e.tagIds=[];var t,n=Object(s.a)(this.tagIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.tagIds.push(i)}}catch(a){n.e(a)}finally{n.f()}}return e.code=this.code,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),eC=function(){function e(t){if(Object(l.a)(this,e),this.tagIds=void 0,this.name=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(Array.isArray(e.tagIds)){this.tagIds=[];var t,n=Object(s.a)(e.tagIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.tagIds.push(i)}}catch(a){n.e(a)}finally{n.f()}}this.name=e.name}}},{key:"toJSON",value:function(e){if(e="object"===typeof e?e:{},Array.isArray(this.tagIds)){e.tagIds=[];var t,n=Object(s.a)(this.tagIds);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.tagIds.push(i)}}catch(a){n.e(a)}finally{n.f()}}return e.name=this.name,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),tC=function(){function e(t){if(Object(l.a)(this,e),this.firmId=void 0,this.userType=void 0,this.userId=void 0,this.firstName=void 0,this.lastName=void 0,this.email=void 0,this.personnelId=void 0,this.locationId=void 0,this.userName=void 0,this.phone=void 0,this.portalAccessEnabled=void 0,this.userRole=void 0,this.userLicense=void 0,this.licensesToValidate=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){if(this.firmId=e.firmId,this.userType=e.userType,this.userId=e.userId,this.firstName=e.firstName,this.lastName=e.lastName,this.email=e.email,this.personnelId=e.personnelId,this.locationId=e.locationId,this.userName=e.userName,this.phone=e.phone,this.portalAccessEnabled=e.portalAccessEnabled,Array.isArray(e.userRole)){this.userRole=[];var t,n=Object(s.a)(e.userRole);try{for(n.s();!(t=n.n()).done;){var i=t.value;this.userRole.push(MS.fromJS(i))}}catch(u){n.e(u)}finally{n.f()}}if(Array.isArray(e.userLicense)){this.userLicense=[];var a,r=Object(s.a)(e.userLicense);try{for(r.s();!(a=r.n()).done;){var o=a.value;this.userLicense.push(AS.fromJS(o))}}catch(u){r.e(u)}finally{r.f()}}if(Array.isArray(e.licensesToValidate)){this.licensesToValidate=[];var l,c=Object(s.a)(e.licensesToValidate);try{for(c.s();!(l=c.n()).done;){var d=l.value;this.licensesToValidate.push(d)}}catch(u){c.e(u)}finally{c.f()}}}}},{key:"toJSON",value:function(e){if((e="object"===typeof e?e:{}).firmId=this.firmId,e.userType=this.userType,e.userId=this.userId,e.firstName=this.firstName,e.lastName=this.lastName,e.email=this.email,e.personnelId=this.personnelId,e.locationId=this.locationId,e.userName=this.userName,e.phone=this.phone,e.portalAccessEnabled=this.portalAccessEnabled,Array.isArray(this.userRole)){e.userRole=[];var t,n=Object(s.a)(this.userRole);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.userRole.push(i.toJSON())}}catch(u){n.e(u)}finally{n.f()}}if(Array.isArray(this.userLicense)){e.userLicense=[];var a,r=Object(s.a)(this.userLicense);try{for(r.s();!(a=r.n()).done;){var o=a.value;e.userLicense.push(o.toJSON())}}catch(u){r.e(u)}finally{r.f()}}if(Array.isArray(this.licensesToValidate)){e.licensesToValidate=[];var l,c=Object(s.a)(this.licensesToValidate);try{for(c.s();!(l=c.n()).done;){var d=l.value;e.licensesToValidate.push(d)}}catch(u){c.e(u)}finally{c.f()}}return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),nC=function(){function e(t){if(Object(l.a)(this,e),this.userId=void 0,this.email=void 0,this.loginId=void 0,this.personnelId=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.userId=e.userId,this.email=e.email,this.loginId=e.loginId,this.personnelId=e.personnelId)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).userId=this.userId,e.email=this.email,e.loginId=this.loginId,e.personnelId=this.personnelId,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),iC=function(){function e(t){if(Object(l.a)(this,e),this.userSavedFilterId=void 0,this.name=void 0,this.createdBy=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.userSavedFilterId=e.userSavedFilterId,this.name=e.name,this.createdBy=e.createdBy)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).userSavedFilterId=this.userSavedFilterId,e.name=this.name,e.createdBy=this.createdBy,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),aC=function(){function e(t){if(Object(l.a)(this,e),this.type=void 0,this.title=void 0,this.status=void 0,this.detail=void 0,this.instance=void 0,this.errors=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){if(e){for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t]);if(this.type=e.type,this.title=e.title,this.status=e.status,this.detail=e.detail,this.instance=e.instance,e.errors)for(var n in this.errors={},e.errors)e.errors.hasOwnProperty(n)&&(this.errors[n]=void 0!==e.errors[n]?e.errors[n]:[])}}},{key:"toJSON",value:function(e){for(var t in e="object"===typeof e?e:{},this)this.hasOwnProperty(t)&&(e[t]=this[t]);if(e.type=this.type,e.title=this.title,e.status=this.status,e.detail=this.detail,e.instance=this.instance,this.errors)for(var n in e.errors={},this.errors)this.errors.hasOwnProperty(n)&&(e.errors[n]=this.errors[n]);return e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),rC=function(){function e(t){if(Object(l.a)(this,e),this.username=void 0,this.verificationCode=void 0,t)for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}return Object(c.a)(e,[{key:"init",value:function(e){e&&(this.username=e.username,this.verificationCode=e.verificationCode)}},{key:"toJSON",value:function(e){return(e="object"===typeof e?e:{}).username=this.username,e.verificationCode=this.verificationCode,e}}],[{key:"fromJS",value:function(t){t="object"===typeof t?t:{};var n=new e;return n.init(t),n}}]),e}(),oC=function(e){Object(a.a)(n,e);var t=Object(r.a)(n);function n(e,i,a,r,o){var s;return Object(l.a)(this,n),(s=t.call(this)).message=void 0,s.status=void 0,s.response=void 0,s.headers=void 0,s.result=void 0,s.isApiException=!0,s.message=e,s.status=i,s.response=a,s.headers=r,s.result=o,s}return Object(c.a)(n,null,[{key:"isApiException",value:function(e){return!0===e.isApiException}}]),n}(Object(o.a)(Error));function sC(e,t,n,i,a){throw null!==a&&void 0!==a?a:new oC(e,t,n,i,null)}function lC(e){return e&&!0===e.isAxiosError}},201:function(e,t,n){"use strict";n(650);var i=n(174);n.d(t,"a",(function(){return i.a})),n.d(t,"b",(function(){return i.b})),n.d(t,"c",(function(){return i.c})),n.d(t,"e",(function(){return i.e})),n.d(t,"f",(function(){return i.h}));var a=n(221);n.d(t,"d",(function(){return a.a}));n(131)},206:function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"f",(function(){return a})),n.d(t,"g",(function(){return r})),n.d(t,"a",(function(){return o})),n.d(t,"d",(function(){return s})),n.d(t,"c",(function(){return l})),n.d(t,"e",(function(){return c}));var i="SET_COUNTRIES",a="SET_STATES",r="SET_TIMEZONES",o="SET_COUNTIES",s="SET_LANGUAGES",l="SET_DATE_FORMATS",c="SET_NY_COUNTIES"},207:function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return a})),n.d(t,"d",(function(){return r})),n.d(t,"e",(function(){return o})),n.d(t,"f",(function(){return s})),n.d(t,"g",(function(){return l})),n.d(t,"c",(function(){return c}));var i="GET_LICENSES",a="GET_FIRM_LICENSES",r="SET_SELECTED_FIRM_LICENSES",o="SET_SELECTED_LICENSE_VALUES",s="SET_TRACK_LICENSE",l="SET_USER_LICENSE_LIMITATIONS",c="SET_LOADING"},208:function(e,t,n){"use strict";n.d(t,"d",(function(){return i})),n.d(t,"f",(function(){return a})),n.d(t,"g",(function(){return r})),n.d(t,"a",(function(){return o})),n.d(t,"c",(function(){return s})),n.d(t,"b",(function(){return l})),n.d(t,"e",(function(){return c}));var i="SET_ROLES",a="SET_SELECTED_ROLE",r="SET_SELECTED_ROLES",o="SET_CREATE_ROLE",s="SET_ROLE",l="SET_REQUEST_BODY_ROLE",c="SET_ROLES_RECORD_COUNT"},2084:function(e,t){},2086:function(e,t){},209:function(e,t,n){"use strict";n.d(t,"e",(function(){return i})),n.d(t,"f",(function(){return a})),n.d(t,"d",(function(){return r})),n.d(t,"a",(function(){return o})),n.d(t,"h",(function(){return s})),n.d(t,"c",(function(){return l})),n.d(t,"g",(function(){return c})),n.d(t,"b",(function(){return d}));var i="SET_LIBRARY_FILES",a="SET_SELECTED_LIBRARY_FILE",r="SET_FILES_TO_UPLOAD",o="DELETE_LIBRARY_FILE",s="UPDATE_LIBRARY_FILE",l="SET_ASSOCIATED_SESSIONS",c="SET_UPLOADER",d="SET_ACTIVE_UPLOADS"},211:function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"c",(function(){return a})),n.d(t,"g",(function(){return r})),n.d(t,"h",(function(){return o})),n.d(t,"f",(function(){return s})),n.d(t,"d",(function(){return l})),n.d(t,"e",(function(){return c})),n.d(t,"a",(function(){return d}));var i="SET_CREATE_SECURITYGROUP",a="SET_REQUEST_BODY_SECURITYGROUPS",r="SET_SELECTED_SECURITYGROUP",o="SET_SELECTED_SECURITYGROUPS",s="SET_SECURITYGROUP_USERS",l="SET_SECURITYGROUPS",c="SET_SECURITYGROUPS_FOR_FILTER",d="ADD_CRITERIA_USERS"},2120:function(e,t){},2173:function(e,t,n){"use strict";n.r(t);var i=n(0),a=n.n(i),r=n(73),o=n.n(r),s=(n(1299),n(10)),l=n(15),c=n.n(l),d=n(28),u=n(5),m=n(31),v=n(140),f=n(404),p=n(1),h=n(860),y=[{label:"User",items:[{label:"My Portal",path:"/users/portal",icon:a.a.createElement(p.SystemIcon,{icon:"Preview"})},{label:"Preferences",path:"/users/preferences",icon:a.a.createElement(p.SystemIcon,{icon:"Preferences"})}]}],b=n(1246),g=n(1247),E=n(1248),I=n(1249),S=n(1250);var O=n(6),C=n(25),j=n(16),x=n.n(j),A=n(23),T=n.n(A),w=n(2),k=Object(i.createContext)({setSelectedLicenses:function(){},selectedLicenses:[],setSelectedSessionLicenses:function(){},selectedSessionLicenses:[]}),P=function(){return Object(i.useContext)(k)},N=n(11),D=n(170),L=(n(649),n(315),n(357),n(189)),F=function(e){var t=Object(i.useState)(!1),n=Object(u.a)(t,2),a=n[0],r=n[1],o=Object(s.c)((function(e){return e.permissionSets})).userPermissionSets;return Object(i.useEffect)((function(){!L.c.includes(e)&&(null===o||o&&o.includes(e)||e===w.Jk.NotSet)?r(!0):r(!1)}),[e,r,o]),a},B=function(e){var t=e.size;return a.a.createElement(p.Column,{crossAxisAlignment:"lg"===t?"center":"left"},"lg"===t&&a.a.createElement(p.Expanded,null,a.a.createElement(p.SystemIcon,{icon:"Lock",size:"lg",color:"primary"})),a.a.createElement(p.Expanded,null,a.a.createElement(p.Typography,{variant:"lg"===t?"h6":"subtitle1"},"Sorry, you don't have access to this information.")),a.a.createElement(p.Expanded,null,a.a.createElement(p.Typography,{color:"textSecondary",variant:"lg"===t?"subtitle2":"body1"},"Please contact the system administrator.")))};B.defaultProps={size:"lg"};var R,J,G=B,U=function(e){var t=e.children,n=e.displayUnauthorized,i=e.permissionSet,r=e.componentSize;return F(i)?a.a.createElement(a.a.Fragment,null,t):n?a.a.createElement(G,{size:r}):null},z=(n(667),n(358)),q=function(e){return{type:z.a,payload:e}},M=function(e){return{type:z.b,payload:e}},W=n(13),V=function(){return function(e,t){var n=t().formats.formats;return(null!==n||void 0!==n)&&n&&n.length>0?Promise.resolve(n):(e(q(null)),e(M(!0)),W.L.getAllActive(void 0).then((function(t){return e(q(t.courseFormats)),e(M(!1)),t.courseFormats})).catch((function(t){throw e(q()),t})))}},_=n(18),Y=n.n(_),H=(n(682),n(361)),$=function(e){return{type:H.b,payload:e}},Q=n(7),Z=n(12),X=n(862),K=n.n(X),ee=n(120),te=function(e){return{type:ee.k,payload:e}},ne=function(e){return{type:ee.b,payload:e}},ie=function(e){return{type:ee.c,payload:e}},ae=function(e){return{type:ee.j,payload:e}},re=function(e){return{type:ee.d,payload:e}},oe=function(e){return{type:ee.g,payload:e}},se=function(e){return{type:ee.n,payload:e}},le=function(e){return{type:ee.m,payload:e}},ce=function(e){return{type:ee.h,payload:e}},de=function(e){return{type:ee.f,payload:e}},ue=function(e){return{type:ee.e,payload:e}},me=function(e){return{type:ee.i,payload:e}},ve=function(e){return{type:ee.l,payload:e}},fe=function(e){return{type:ee.a,payload:e}},pe=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=new w.Jg({filterBy:[],searchCriteria:["Active"],sortBy:"isInHouse",page:1,pageSize:-1});return function(n,i){var a,r=i().maintenance.providers;return(null!==(a=null===r||void 0===r?void 0:r.length)&&void 0!==a?a:0)>0&&!e?Promise.resolve(r):W.lb.getAll(void 0,w.Jg.fromJS(t)).then((function(e){return n(te(e.providers&&e.providers.map((function(e){return new w.Uk({providerId:e.providerId,name:e.name,isInHouse:e.isInHouse,isActive:e.isActive})})))),e.providers})).catch((function(e){throw e}))}},he=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=new w.Uf({filterBy:[],searchCriteria:["Active"],sortBy:"name",page:1,pageSize:-1});return function(n,i){var a,r=i().maintenance.classYears;return(null!==(a=null===r||void 0===r?void 0:r.length)&&void 0!==a?a:0)>0&&!e?Promise.resolve(r):W.m.getAll(void 0,t).then((function(e){var t;return n(ne(null!==(t=e.classYears)&&void 0!==t?t:[])),e.classYears})).catch((function(e){throw e}))}},ye=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=new w.Vf({filterBy:[],searchCriteria:["Active"],sortBy:"name",page:1,pageSize:-1});return function(n,i){var a,r=i().maintenance.competencies;return(null!==(a=null===r||void 0===r?void 0:r.length)&&void 0!==a?a:0)>0&&!e?Promise.resolve(r):W.o.getAll(void 0,t).then((function(e){var t;return n(ie(null!==(t=e.competencies)&&void 0!==t?t:[])),e})).catch((function(e){throw e}))}},be=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=new w.fg({filterBy:[],searchCriteria:["Active"],sortBy:"name",page:1,pageSize:-1});return function(n,i){var a,r=i().maintenance.departments;return(null!==(a=null===r||void 0===r?void 0:r.length)&&void 0!==a?a:0)>0&&!e?Promise.resolve(r):W.y.getAll(void 0,t).then((function(e){var t;return n(re(null!==(t=e.departments)&&void 0!==t?t:[])),e})).catch((function(e){throw e}))}},ge=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=new w.Ag({filterBy:[],searchCriteria:["Active"],sortBy:"name",page:1,pageSize:-1});return function(n,i){var a,r=i().maintenance.levels;return(null!==(a=null===r||void 0===r?void 0:r.length)&&void 0!==a?a:0)>0&&!e?Promise.resolve(r):W.Y.getAll(void 0,t).then((function(e){var t;return n(oe(null!==(t=e.levels)&&void 0!==t?t:[])),e})).catch((function(e){throw e}))}},Ee=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=new w.Ig({filterBy:[],searchCriteria:["Active"],sortBy:"name",page:1,pageSize:-1});return function(n,i){var a,r=i().maintenance.practiceAreas;return(null!==(a=null===r||void 0===r?void 0:r.length)&&void 0!==a?a:0)>0&&!e?Promise.resolve(r):W.kb.getAll(void 0,t).then((function(e){var t;return n(ae(null!==(t=e.practiceAreas)&&void 0!==t?t:[])),e})).catch((function(e){throw e}))}},Ie=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=new w.kh({filterBy:[],searchCriteria:["Active"],sortBy:"name",page:1,pageSize:-1});return function(n,i){var a,r=i().maintenance.tags;return(null!==(a=null===r||void 0===r?void 0:r.length)&&void 0!==a?a:0)>0&&!e?Promise.resolve(r):W.Eb.getAll(void 0,t).then((function(e){var t;return n(se(null!==(t=e.tags)&&void 0!==t?t:[])),e})).catch((function(e){throw e}))}},Se=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return function(t,n){var i,a=n().maintenance.rooms,r=new w.kh({filterBy:[],searchCriteria:["Active"],sortBy:"name",page:1,pageSize:-1});return(null!==(i=null===a||void 0===a?void 0:a.length)&&void 0!==i?i:0)>0&&!e?Promise.resolve(a):W.qb.getAll(void 0,w.Pg.fromJS(r)).then((function(e){var n;return t(le(null!==(n=e.rooms)&&void 0!==n?n:[])),e.rooms})).catch((function(e){throw e}))}},Oe=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return function(t,n){var i,a=n().maintenance.locations,r=new w.Fg({filterBy:[],searchCriteria:["Active"],sortBy:"name",page:1,pageSize:-1});return(null!==(i=null===a||void 0===a?void 0:a.length)&&void 0!==i?i:0)>0&&!e?Promise.resolve(a):W.eb.getAll(void 0,w.Fg.fromJS(r)).then((function(e){var n;return t(null!==(n=ce(e.locations&&e.locations.map((function(e){return new w.hk({locationId:e.locationId,name:e.name,isFirmOffice:e.isFirmOffice,isActive:e.isActive,timezoneId:e.timezoneId})}))))&&void 0!==n?n:[]),e.locations})).catch((function(e){throw e}))}},Ce=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return function(t,n){var i,a=n().maintenance.genders,r=new w.qg({filterBy:[],searchCriteria:["Active"],sortBy:"name",page:1,pageSize:-1});return(null!==(i=null===a||void 0===a?void 0:a.length)&&void 0!==i?i:0)>0&&!e?Promise.resolve(a):W.M.getAll(void 0,w.qg.fromJS(r)).then((function(e){var n;return t(de(null!==(n=e.genders)&&void 0!==n?n:[])),e.genders})).catch((function(e){throw e}))}},je=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return function(t,n){var i,a=n().maintenance.ethnicities,r=new w.kg({filterBy:[],searchCriteria:["Active"],sortBy:"name",page:1,pageSize:-1});return(null!==(i=null===a||void 0===a?void 0:a.length)&&void 0!==i?i:0)>0&&!e?Promise.resolve(a):W.C.getAll(void 0,w.kg.fromJS(r)).then((function(e){var n;return t(ue(null!==(n=e.ethnicities)&&void 0!==n?n:[])),e.ethnicities})).catch((function(e){throw e}))}},xe=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return function(t,n){var i,a=n().maintenance.positions,r=new w.Hg({filterBy:[],searchCriteria:["Active"],sortBy:"name",page:1,pageSize:-1});return(null!==(i=null===a||void 0===a?void 0:a.length)&&void 0!==i?i:0)>0&&!e?Promise.resolve(a):W.jb.getAll(void 0,w.Hg.fromJS(r)).then((function(e){var n;return t(null!==(n=me(e.positions&&e.positions.map((function(e){return new w.Pk({positionId:e.positionId,name:e.name,isActive:e.isActive})}))))&&void 0!==n?n:[]),e.positions})).catch((function(e){throw e}))}},Ae=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return function(t,n){var i,a=n().maintenance.roles,r=new w.Mg({filterBy:[],searchCriteria:["Active"],sortBy:"name",page:1,pageSize:-1});return(null!==(i=null===a||void 0===a?void 0:a.length)&&void 0!==i?i:0)>0&&!e?Promise.resolve(a):W.pb.getRoles(void 0,w.Mg.fromJS(r)).then((function(e){var n;return t(ve(null!==(n=e.roles)&&void 0!==n?n:[])),e.roles})).catch((function(e){throw e}))}},Te=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return function(t,n){var i,a=n().maintenance.affiliations,r=new w.Hf({filterBy:[],searchCriteria:["Active"],sortBy:"name",page:1,pageSize:-1});return(null!==(i=null===a||void 0===a?void 0:a.length)&&void 0!==i?i:0)>0&&!e?Promise.resolve(a):W.f.getAll(void 0,w.Hf.fromJS(r)).then((function(e){var n;return t(null!==(n=fe(e.affiliations&&e.affiliations.map((function(e){var t;return new w.s({affiliationId:null!==(t=e.affiliationId)&&void 0!==t?t:0,name:e.name,isActive:e.isActive})}))))&&void 0!==n?n:[]),e.affiliations})).catch((function(e){throw e}))}},we=n(157),ke=function(e){return{type:we.e,payload:e}},Pe=function(e){return{type:we.g,payload:e}},Ne=function(e){return{type:we.h,payload:e}},De=function(e){return{type:we.f,payload:e}},Le=function(e){return{type:we.i,payload:e}},Fe=function(e,t,n){var i=new w.Jg({filterBy:[],searchCriteria:["Active"],sortBy:"name",page:1,pageSize:10});return function(a,r){var o=r().providers,s=o.requestBody,l=o.selectedProviders,c=o.statusFilter;return t||n||(a(ke(null)),a(Le(""))),W.lb.getAll(void 0,w.Jg.fromJS(void 0!==e?e?i:s:{sortBy:"name"})).then((function(r){var o;return t||(a(ke(r.providers)),n||(a((o=r.recordCount,{type:we.d,payload:o})),a(Ne(e?[]:l)),a(De(e?i:s)),a(Le(e?"Active":void 0!==c&&null!==c?c:"Active")))),r})).catch((function(e){a(ke()),a(Object(Z.a)({message:e.detail,variant:"error"}))}))}},Be=function(e){return function(t){return W.lb.getAll(void 0,w.Jg.fromJS(e)).then((function(e){return e.providers})).catch((function(){t(ke())}))}},Re=function(e){var t=new w.fe({providerIdList:e});return function(n){return W.lb.delete(void 0,t).then((function(t){return n(Fe(!0)),t.length===e.length?(n(Object(Z.a)({message:"None of the selected providers are valid for deletion.",variant:"warning"})),null):(n(Object(Z.a)({message:"".concat(e.length>1?"Providers successfully deleted.":"Provider successfully deleted."),variant:"success"})),t)})).catch((function(e){n(Object(Z.a)({message:e.detail,variant:"error"}))}))}},Je=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return function(n,i){var a=i().providers.selectedProvider;return(e?W.lb.create("v1",w.Oc.fromJS(a)):W.lb.update("v1",w.Nn.fromJS(a))).then((function(e){return n(Object(Z.a)({message:"Save successful",variant:"success"})),n(Pe(Object(O.a)(Object(O.a)({},a),{},{providerId:e.providerId}))),n(Fe(!t,!1,t)),e})).catch((function(e){n(Object(Z.b)(e))}))}},Ge=function(e,t){return function(n){return W.lb.validateProviderName(void 0,w.Fp.fromJS(new w.Fp({providerIds:e,name:t}))).then((function(e){return e})).catch((function(e){n(Object(Z.b)(e))}))}},Ue=function(e,t){return function(n){return W.lb.validateProviderCode(void 0,w.Ep.fromJS(new w.Ep({providerIds:e,code:t}))).then((function(e){return e})).catch((function(e){n(Object(Z.b)(e))}))}},ze=n(162),qe=n.n(ze),Me=function(e){var t=e.isAddMode,n=e.formik,i=e.hideProviderTypeOptions,r=void 0!==i&&i,o=e.isLoading;return a.a.createElement(p.Grid,{container:!0,spacing:"form"},!r&&a.a.createElement(p.Grid,{item:!0,xs:12},a.a.createElement(qe.a,{formikContext:!0,groupLabel:"",options:[{label:"Firm as Provider",value:"0"},{label:"Third Party Provider",value:"1"}],id:"isInHouse",orientation:"horizontal",loading:o})),a.a.createElement(p.Grid,{item:!0,xs:12},a.a.createElement(p.TextField,{formikContext:!0,required:!0,fullWidth:!0,id:"name",label:"Provider Name",loading:o})),a.a.createElement(p.Grid,{item:!0,xs:12},a.a.createElement(p.TextField,{formikContext:!0,required:!0,fullWidth:!0,id:"code",label:"Code",loading:o})),a.a.createElement(p.Grid,{item:!0,xs:12},a.a.createElement(p.TextField,{fullWidth:!0,formikContext:!0,id:"url",label:"URL",loading:o})),!t&&(o?a.a.createElement(p.Grid,{item:!0,xs:12},a.a.createElement(p.Skeleton,{width:215,height:16,variant:"rect"})):a.a.createElement(p.Grid,{item:!0,xs:12,spacing:"card",key:"isActive"},a.a.createElement(p.Card,{background:"default",variant:"outlined",style:{height:60,width:120}},a.a.createElement(p.Column,{crossAxisAlignment:"left",flex:1},a.a.createElement(p.Expanded,{ml:1,mt:.5},a.a.createElement(p.Typography,{color:"textSecondary",variant:"body1"},"Status")),a.a.createElement(p.Expanded,{ml:1},a.a.createElement(p.FormControlLabel,{control:a.a.createElement(p.Switch,{formikContext:!0,id:"isActive",color:"primary",onChange:function(){n.setFieldValue("isActive",!n.getFieldProps("isActive").value)}}),label:a.a.createElement(p.Typography,{variant:"body1"},n.getFieldProps("isActive").value?"Active":"Inactive"),labelPlacement:"end"})))))))},We=Object(s.b)(null,(function(e){return{saveProvider:function(t){return e(function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return function(n){return(t?W.lb.create("v1",w.Oc.fromJS(e)):W.lb.update("v1",w.Nn.fromJS(e))).then((function(e){return n(Object(Z.a)({message:"Save successful",variant:"success"})),e})).catch((function(e){throw n(Object(Z.b)(e)),e}))}}(t))},validateProviderName:function(t,n){return e(Ge(t,n))},validateProviderCode:function(t,n){return e(Ue(t,n))},refetchProviders:function(){return e(pe(!0))}}})),Ve=We((function(e){var t=e.isAddMode,n=e.isInHouseProvider,r=void 0!==n&&n,o=e.hideProviderTypeOption,s=void 0===o||o,l=e.open,m=e.onClose,v=e.saveProvider,f=e.validateProviderName,h=e.validateProviderCode,y=e.onAddNewProvider,b=e.providerName,g=e.refetchProviders,E=Object(i.useState)(!1),I=Object(u.a)(E,2),S=I[0],O=I[1],j=Object(i.useState)({show:!1}),x=Object(u.a)(j,2),T=x[0],w=x[1],k={initialValues:{name:null!==b&&void 0!==b?b:"",code:"",url:"",isActive:!0,isInHouse:r?"0":"1"},validationSchema:Object(Q.object)().shape({name:Object(Q.string)().required("Required").max(500,"Provider Name is too long!").trim(),code:Object(Q.string)().required("Required").max(15,"15 characters only!").trim(),url:Object(Q.string)().url("Please specify a valid url.").max(100,"100 characters only!").nullable()}),onSubmit:function(){var e=Object(d.a)(c.a.mark((function e(t,n){var i,a,r,o,s,l,d;return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i=t.name,a=t.code,r=t.isActive,o=t.url,s=t.isInHouse,O(!0),e.next=4,f([],i).then((function(e){return!e}));case 4:return l=e.sent,e.next=7,h([],a).then((function(e){return!e}));case 7:d=e.sent,l&&d?v({name:i.trim(),code:a.trim(),url:o.trim(),isActive:r,isInHouse:"1"!==s}).then((function(e){y&&y(e),g(),m()})).finally((function(){O(!1),n.setSubmitting(!1)})):(l||d?l?d||w({show:!0,error:"The provider code already exist"}):w({show:!0,error:"The provider name already exist"}):w({show:!0,error:"The provider name and code already exist"}),O(!1));case 9:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}()};return a.a.createElement(K.a,{open:l,onClose:m,maxWidth:"md",color:"default"},a.a.createElement(C.Formik,{initialValues:k.initialValues,validationSchema:k.validationSchema,onSubmit:k.onSubmit,enableReinitialize:!0},(function(e){var n;return a.a.createElement(p.Form,{id:"edit-provider",formikContext:!0},a.a.createElement(A.DialogHeader,{titleBar:{title:t?"Add ".concat(r?"Firm as":"Third Party"," Provider"):"Edit ".concat(r?"Firm as":"Third Party"," Provider")}}),a.a.createElement(A.DialogBody,{maxWidth:!1},T.show&&a.a.createElement(p.Box,{mb:1},a.a.createElement(p.Alert,{type:"error",icon:"Error",onClose:function(){return w({show:!1})}},null!==(n=null===T||void 0===T?void 0:T.error)&&void 0!==n?n:"")),a.a.createElement(Me,{isAddMode:t,formik:e,hideProviderTypeOptions:s})),a.a.createElement(A.DialogFooter,null,a.a.createElement(p.Grid,{container:!0,spacing:"form"},a.a.createElement(p.Grid,{item:!0,xs:6,alignment:"center-right"},a.a.createElement(p.Button,{color:"default",variant:"outlined",type:"reset",onClick:m},"Cancel")),a.a.createElement(p.Grid,{item:!0,xs:6,alignment:"center-left"},a.a.createElement(p.Button,{loading:S,color:"primary",variant:"contained",type:"submit",disabled:!e.dirty||S},"Save")))))})))})),_e=n(159),Ye=function(e){return{type:_e.i,payload:e}},He=function(e){return{type:_e.f,payload:e}},$e=function(e){return{type:_e.g,payload:e}},Qe=function(e){return{type:_e.e,payload:e}},Ze=function(e){return{type:_e.h,payload:e}},Xe=function(e,t,n){var i=new w.kh({filterBy:[],searchCriteria:["Active"],sortBy:"name",page:1,pageSize:10});return function(a,r){var o=r().tags,s=o.requestBody,l=o.selectedTags,c=o.statusFilter;return t||n||(a(Ye(null)),a(Ze(""))),W.Eb.getAll(void 0,w.kh.fromJS(void 0!==e?e?i:s:{sortBy:"name"})).then((function(r){var o;return t||(a(Ye(r.tags)),n||(a((o=r.recordCount,{type:_e.d,payload:o})),a($e(e?[]:l)),a(Qe(void 0!==e?e?i:s:{sortBy:"name"})),a(Ze(e?"Active":void 0!==c&&null!==c?c:"Active")))),r})).catch((function(){a(Ye())}))}},Ke=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return function(n,i){var a=i().tags.selectedTag;return(e?W.Eb.create("v1",w.ed.fromJS(a)):W.Eb.update("v1",w.no.fromJS(a))).then((function(e){return n($e([])),n(Object(Z.a)({message:"Save successful",variant:"success"})),n(Xe(!t,!1,t)),e})).catch((function(e){n(Object(Z.b)(e))}))}},et=function(e,t){return function(n){return W.Eb.validateTagName(void 0,w.Mp.fromJS(new w.Mp({tagIds:e,name:t}))).then((function(e){return e})).catch((function(e){n(Object(Z.b)(e))}))}},tt=function(e,t){return function(n){return W.Eb.validateTagCode(void 0,w.Lp.fromJS(new w.Lp({tagIds:e,code:t}))).then((function(e){return e})).catch((function(e){n(Object(Z.b)(e))}))}},nt=function(e){var t=e.isAddMode,n=e.formik,i=e.isLoading;return a.a.createElement(p.Grid,{container:!0,spacing:"form"},a.a.createElement(p.Grid,{item:!0,xs:12},a.a.createElement(p.TextField,{formikContext:!0,required:!0,fullWidth:!0,label:"Tag Name",id:"name",loading:i})),a.a.createElement(p.Grid,{item:!0,xs:12},a.a.createElement(p.TextField,{formikContext:!0,required:!0,fullWidth:!0,label:"Code",id:"code",loading:i,error:"Required"===n.getFieldMeta("code").error&&""===n.getFieldProps("code").value})),!t&&(i?a.a.createElement(p.Grid,{item:!0,xs:12},a.a.createElement(p.Skeleton,{width:215,height:16,variant:"rect"})):a.a.createElement(p.Grid,{item:!0,xs:12,spacing:"card",key:"isActive"},a.a.createElement(p.Card,{background:"default",variant:"outlined",style:{height:60,width:120}},a.a.createElement(p.Column,{crossAxisAlignment:"left",flex:1},a.a.createElement(p.Expanded,{ml:1,mt:.5},a.a.createElement(p.Typography,{color:"textSecondary",variant:"body1"},"Status")),a.a.createElement(p.Expanded,{ml:1},a.a.createElement(p.FormControlLabel,{control:a.a.createElement(p.Switch,{formikContext:!0,id:"isActive",color:"primary",onChange:function(){n.setFieldValue("isActive",!n.getFieldProps("isActive").value)}}),label:a.a.createElement(p.Typography,{variant:"body1"},n.getFieldProps("isActive").value?"Active":"Inactive"),labelPlacement:"end"})))))))},it=Object(s.b)(null,(function(e){return{saveTag:function(t){return e(function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return function(n){return(t?W.Eb.create("v1",w.ed.fromJS(e)):W.Eb.update("v1",w.no.fromJS(e))).then((function(e){return e})).catch((function(e){throw n(Object(Z.b)(e)),e}))}}(t))},validateTagName:function(t,n){return e(et(t,n))},validateTagCode:function(t,n){return e(tt(t,n))},refetchTags:function(){return e(Ie(!0))}}})),at=it((function(e){var t=e.open,n=e.onClose,r=e.saveTag,o=e.validateTagName,s=e.validateTagCode,l=e.onAddNewTag,m=e.tagName,v=e.refetchTags,f=e.isAddMode,h=Object(i.useState)(!1),y=Object(u.a)(h,2),b=y[0],g=y[1],E=Object(i.useState)({show:!1}),I=Object(u.a)(E,2),S=I[0],O=I[1],j={initialValues:{name:null!==m&&void 0!==m?m:"",code:"",isActive:!0},validationSchema:Object(Q.object)().shape({name:Object(Q.string)().trim().required("Required").max(500,"500 characters limit"),code:Object(Q.string)().trim().required("Required").max(15,"15 characters limit")}),onSubmit:function(){var e=Object(d.a)(c.a.mark((function e(t,i){var a,d,u,m,f;return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=t.name,d=t.code,u=t.isActive,g(!0),e.next=4,o([],a).then((function(e){return!e}));case 4:return m=e.sent,e.next=7,s([],d).then((function(e){return!e}));case 7:f=e.sent,m&&f?r({code:d,name:a,isActive:u}).then((function(e){v(),l&&l(e),n()})).finally((function(){g(!1),i.setSubmitting(!1)})):(m||f?m?f||O({show:!0,error:"The tag code already exist"}):O({show:!0,error:"The tag name already exist"}):O({show:!0,error:"The tag name and code already exist"}),g(!1));case 9:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}()};return a.a.createElement(T.a,{maxWidth:"sm",fullWidth:!0,color:"default",open:t,onClose:n},a.a.createElement(C.Formik,{initialValues:j.initialValues,validationSchema:j.validationSchema,onSubmit:j.onSubmit,enableReinitialize:!0,validateOnChange:!1},(function(e){var t;return a.a.createElement(p.Form,{id:"add-tag",formikContext:!0},a.a.createElement(A.DialogHeader,{titleBar:{title:"Add Tag",onClose:n}}),a.a.createElement(A.DialogBody,{maxWidth:!1},S.show&&a.a.createElement(p.Box,{mb:1},a.a.createElement(p.Alert,{type:"error",icon:"Error",onClose:function(){return O({show:!1})}},null!==(t=null===S||void 0===S?void 0:S.error)&&void 0!==t?t:"")),a.a.createElement(nt,{isAddMode:f,formik:e})),a.a.createElement(A.DialogFooter,null,a.a.createElement(p.Grid,{container:!0,spacing:"form"},a.a.createElement(p.Grid,{item:!0,xs:6,alignment:"center-right"},a.a.createElement(p.Button,{width:"md",color:"default",variant:"outlined",type:"reset",onClick:n},"Cancel")),a.a.createElement(p.Grid,{item:!0,xs:6,alignment:"center-left"},a.a.createElement(p.Button,{loading:b,color:"primary",variant:"contained",disabled:!e.dirty,width:"md",type:"submit"},"Save")))))})))})),rt=(n(678),n(108)),ot=function(e){return{type:rt.d,payload:e}},st=function(e){return{type:rt.k,payload:e}},lt=function(e){return{type:rt.l,payload:e}},ct=function(e){return{type:rt.g,payload:e}},dt=function(e){return{type:rt.e,payload:e}},ut=function(e){return{type:rt.f,payload:e}},mt=function(e){return{type:rt.j,payload:e}},vt=function(e){return{type:rt.h,payload:e}},ft=function(e){return{type:rt.m,payload:e}},pt=function(e){return{type:rt.n,payload:e}},ht=n(30),yt=n(238),bt=(n(665),n(156)),gt=function(e){return{type:bt.d,payload:e}},Et=function(e){return{type:bt.h,payload:e}},It=function(e){return{type:bt.g,payload:e}},St=function(e){return{type:bt.f,payload:e}},Ot=function(e){return{type:bt.i,payload:e}},Ct=function(e,t){var n=new w.Vf({filterBy:[],searchCriteria:["Active"],sortBy:"name",page:1,pageSize:10});return function(i,a){var r=a().competencies,o=r.requestBody,s=r.selectedCompetencies,l=r.statusFilter;return t||(i(gt(null)),i(Ot(""))),W.o.getAll(void 0,w.Vf.fromJS(void 0!==e?e?n:o:{sortBy:"name"})).then((function(a){var r;return t||(i(gt(a.competencies)),i((r=a.recordCount,{type:bt.e,payload:r})),i(It(e?[]:s)),i(St(void 0!==e?e?n:o:{sortBy:"name"})),i(Ot(e?"Active":void 0!==l&&null!==l?l:"Active"))),a})).catch((function(){i(gt())}))}},jt=function(e,t){return function(n){return W.o.validateCompetencyName(void 0,w.fp.fromJS(new w.fp({competencyIds:e,name:t}))).then((function(e){return e})).catch((function(e){n(Object(Z.b)(e))}))}},xt=function(e,t){return function(n){return W.o.validateCompetencyCode(void 0,w.cp.fromJS(new w.cp({competencyIds:e,code:t}))).then((function(e){return e})).catch((function(e){n(Object(Z.b)(e))}))}},At=n(137),Tt=n(138),wt=n(146),kt=n(139),Pt=(n(668),n(670),n(113)),Nt=n(77),Dt={setLearningPlans:function(e){return{type:Nt.c,payload:e}},setSelectedLearningPlan:function(e){return{type:Nt.r,payload:e}},setSelectedLearningPlans:function(e){return{type:Nt.s,payload:e}},deleteLearningPlans:function(e){return{type:Nt.a,payload:e}},setLearningPlanParticipants:function(e){return{type:Nt.l,payload:e}},setLearningPlanParticipantRequestBody:function(e){return{type:Nt.n,payload:e}},SetLearningPlanParticipantCount:function(e){return{type:Nt.m,payload:e}},deleteLearningPlanParticipants:function(e){return{type:Nt.b,payload:e}},setAvailableUsers:function(e){return{type:Nt.e,payload:e}},setLearningPlanAvailableUserRequestBody:function(e){return{type:Nt.g,payload:e}},SetLearningPlanAvailableUserCount:function(e){return{type:Nt.f,payload:e}},setSelectedLearningPlanParticipant:function(e){return{type:Nt.t,payload:e}},setSelectedLearningPlanParticipants:function(e){return{type:Nt.u,payload:e}},setOptionLoading:function(e){return{type:Nt.k,payload:e}},setLoading:function(e){return{type:Nt.j,payload:e}},setLearningPlanCount:function(e){return{type:Nt.h,payload:e}},setRequestBody:function(e){return{type:Nt.o,payload:e}},setSelectedLearningPlanSavedFilterId:function(e){return{type:Nt.q,payload:e}},setLearningPlanSavedFilters:function(e){return{type:Nt.p,payload:e}},setLearningPlanAppliedSavedFilter:function(e){return{type:Nt.d,payload:e}},setLearningPlanFilters:function(e){return{type:Nt.i,payload:e}}},Lt=n(44),Ft=(n(677),n(93)),Bt=function(e){return{type:Ft.e,payload:e}},Rt=function(e){return{type:Ft.n,payload:e}},Jt=function(e){return{type:Ft.o,payload:e}},Gt=function(e){return{type:Ft.i,payload:e}},Ut=function(e){return{type:Ft.g,payload:e}},zt=function(e){return{type:Ft.h,payload:e}},qt=function(e){return{type:Ft.k,payload:e}},Mt=function(e){return{type:Ft.f,payload:e}},Wt=function(e){return{type:Ft.l,payload:e}},Vt=n(40),_t=function(e,t){return function(n,i){var a,r,o=i().activities,s=o.requestBody,l=o.selectedActivityFilterId,c=o.savedActivitySearchFilters,d=new w.Df({filterBy:[],searchCriteria:[],sortBy:"title",page:1,pageSize:10});if(!t){if(e){if(void 0!==(a=null===c||void 0===c?void 0:c.find((function(e){return!0===e.isDefault})))){var u,m,v=null===(u=a)||void 0===u||null===(m=u.filter)||void 0===m?void 0:m.split("|");d.searchCriteria=v}else(null===d||void 0===d?void 0:d.searchCriteria)&&d.searchCriteria.push("Active");n(Gt(d)),n((r=null,{type:Ft.m,payload:r})),n(Mt({filter:(null===d||void 0===d?void 0:d.searchCriteria)?null===d||void 0===d?void 0:d.searchCriteria.join("|"):""}))}n(Bt(null))}return W.d.getAll(void 0,w.Df.fromJS(e?d:s)).then((function(i){var r;t||(n(Bt(i.activities)),n(Ut(i.recordCount)),n(Gt(e?d:s)),n(Jt(e?void 0!==a?null!==(r=a.activitySavedFilterId)&&void 0!==r?r:1:void 0===l?void 0:null!==l&&void 0!==l?l:1:null!==l&&void 0!==l?l:1)));return i})).catch((function(){n(Bt())}))}},Yt=function(e){return function(t){var n=W.d.get(e,void 0,void 0);return t(Wt(!0)),t(Rt(null)),n.then((function(e){return t(Rt(e)),t(Wt(!1)),e})).catch((function(e){t(Object(Z.b)(e)),t(Wt(!1)),t(Rt(null))}))}},Ht=function(e,t){return function(n){var i=new w.A({activityIdList:e,isArchive:t});return W.d.archive(void 0,i).then((function(){return n(Object(Z.a)({message:"Activit".concat(e.length>1?"ies":"y"," successfully ").concat(t?"archived.":"unarchived."),variant:"success"})),Promise.resolve()})).catch((function(e){n(Object(Z.a)({message:e.detail,variant:"error"}))}))}},$t=function(e,t){return function(n){var i=new w.yd({activityIdList:e});return W.d.delete(void 0,i).then((function(i){return n(t?Rt(null):_t(!0)),i.length===e.length?(n(Object(Z.a)({message:"None of the selected activities are valid for deletion.",variant:"warning"})),null):(n(Object(Z.a)({message:"".concat(e.length>1?"Activities successfully deleted.":"Activity successfully deleted."),variant:"success"})),i)})).catch((function(e){n(Object(Z.a)({message:e.detail,variant:"error"}))}))}},Qt=function(e){return function(t,n){var i,a=n().activities.selectedActivity;return i=a&&null==a.activityId||a&&0===a.activityId?W.d.create("v1",w.Yb.fromJS(a)):W.d.update("v1",w.Jm.fromJS(a)),t(Wt(!0)),i.then((function(n){return t(Object(Z.a)({message:"Save successful",variant:"success"})),t(e&&0!==e?Object(Vt.V)(!0,e):_t(!0)),t(Wt(!1)),n})).catch((function(e){t(Object(Z.a)({message:e.detail,variant:"error"})),t(Wt(!1))}))}},Zt=function(e){return function(t,n){var i=n().users.loggedUser,a=new w.Ff({createdBy:null===i||void 0===i?void 0:i.userName,filterBy:[],searchCriteria:[],sortBy:"name",page:1,pageSize:-1});return e&&t(Bt(null)),t(qt(void 0)),W.c.getAll(void 0,a).then((function(e){t(qt(e.activitySavedFilters))})).catch((function(e){t(qt()),t(Object(Z.b)(e))}))}},Xt=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return function(n,i){var a,r,o=i().users.loggedUser;return t?(r=W.c.update(void 0,w.Lm.fromJS(e)),a="Filter successfully updated."):(r=W.c.create(void 0,w.Zb.fromJS(e)),a="Filter successfully saved."),r.then((function(t){return e.isDefault?(t.isDefault=!0,W.sb.setSavedFilterDefault(void 0,w.sm.fromJS({userId:null===o||void 0===o?void 0:o.userId,activitySavedFilterId:t.activitySavedFilterId})).then((function(){n(qt(void 0)),n(Object(Z.a)({message:a,variant:"success"})),n(Zt(!1))})).catch((function(e){n(Object(Z.b)(e))}))):(n(qt(void 0)),n(Object(Z.a)({message:a,variant:"success"})),n(Zt(!1))),t})).catch((function(e){e.errors&&e.errors.SavedFilterDefault&&e.errors.SavedFilterDefault.length>0?n(Object(Z.a)({message:e.errors.SavedFilterDefault[0],variant:"error"})):n(Object(Z.a)({message:e.title,variant:"error"}))}))}},Kt=function(e,t,n){return function(i){return W.c.validateActivitySavedFilterName(void 0,w.Uo.fromJS({activitySavedFilterId:e,name:t,createdBy:n})).then((function(e){return e})).catch((function(e){i(Object(Z.b)(e))}))}},en=function(e){return function(t,n){var i,a=n().activities.selectedActivity,r=new w.Ef({activityId:null!==(i=a&&a.activityId)&&void 0!==i?i:0,filterBy:[],searchCriteria:[],sortBy:"lastName",page:1,pageSize:10}),o=W.b.getAll(void 0,w.Ef.fromJS(e||r));return t(zt(null)),o.then((function(e){var n;return t(zt(null!==(n=e.activityParticipants)&&void 0!==n?n:[])),e})).catch((function(e){t(Object(Z.a)({message:e.detail,variant:"error"})),t(zt([]))}))}},tn=function(e,t,n){return function(i){var a=new w.g({activityId:t,userIdList:e,completionDate:n});return W.b.add(void 0,a).then((function(t){return t.length!==e.length?i(Object(Z.a)({message:"".concat(e.length>1?"Added Participants successfully.":"Added Participant successfully."),variant:"success"})):i(Object(Z.a)({message:"Please use different date.",variant:"warning"})),t})).catch((function(e){i(Object(Z.a)({message:e.detail,variant:"error"}))}))}},nn=function(e,t){return function(n){var i=new w.Ad({activityId:t,activityParticipantIdList:e});return W.b.delete(void 0,i).then((function(){n(Object(Z.a)({message:"Participant deleted successfully.",variant:"success"})),e.map((function(e){return n(function(e){return{type:Ft.d,payload:e}}(e))})),n(Yt(t))})).catch((function(e){n(Object(Z.a)({message:e.detail,variant:"error"}))}))}},an=function(e,t,n,i,a){return function(r){var o=new w.Km({activityId:n,activityParticipantIdList:e,completionDate:t});return W.b.update(void 0,o).then((function(t){return t.length!==(null===a||void 0===a?void 0:a.length)?(r(Object(Z.a)({message:"Saved successfully.",variant:"success"})),i&&0!==i&&r(Object(Vt.V)(!0,i))):1===t.length&&t[0].activityParticipantId===e[0]||t.length===(null===a||void 0===a?void 0:a.length)&&t.some((function(e){return a.includes(e.userId)}))?r(Object(Z.a)({message:"Please use different date.",variant:"warning"})):r(Object(Z.a)({message:"No valid participant(s) to update.",variant:"warning"})),t})).catch((function(e){r(Object(Z.a)({message:e.detail,variant:"error"})),r(zt([]))}))}},rn=function(){return function(e){var t={filterBy:["isActive:true"],searchCriteria:[],sortBy:"name",page:1,pageSize:-1};e(St(t)),e(Qe(t)),e(Ct(!1)),e(Xe(!1))}},on=function(e,t){return function(n){return W.d.validateActivityTitle(e,t,void 0).then((function(e){return e})).catch((function(e){n(Object(Z.b)(e))}))}},sn=function(e,t){var n=new w.zg({filterBy:[],searchCriteria:[],sortBy:"title",page:1,pageSize:t?-1:10});return function(t,i){var a=i().learningPlans,r=a.requestBody,o=a.selectedLearningPlans,s=a.selectedLearningPlanSavedFilterId,l=a.learningPlanSavedFilters,c=null===l||void 0===l?void 0:l.find((function(e){return!0===e.isDefault}));if(t(Dt.setLoading(!0)),t(Dt.setLearningPlans(null)),e){var d="";if(void 0!==c){var u,m=null===c||void 0===c||null===(u=c.filter)||void 0===u?void 0:u.split("|");n.searchCriteria=m,d=c.filter}else d="Active",(null===n||void 0===n?void 0:n.searchCriteria)&&n.searchCriteria.push("Active");t(Dt.setSelectedLearningPlans(null)),t(Dt.setRequestBody(n)),t(Dt.setLearningPlanAppliedSavedFilter({filter:d})),t(Lt.K(null))}return W.W.getAll(void 0,w.zg.fromJS(e?n:r)).then((function(n){var i;return t(Dt.setLearningPlans(n.learningPlans)),t(Dt.setSelectedLearningPlans(e?null:o)),t(Dt.setLearningPlanCount(n.recordCount||0)),t(Dt.setSelectedLearningPlanSavedFilterId(e?void 0!==c?null!==(i=null===c||void 0===c?void 0:c.learningPlanSavedFilterId)&&void 0!==i?i:1:s&&null!==s&&void 0!==s?s:1:null!==s&&void 0!==s?s:1)),t(Dt.setLoading(!1)),n.learningPlans})).catch((function(e){return t(Object(Z.a)({message:e.detail,variant:"error"})),t(Dt.setLearningPlans()),t(Dt.setLoading(!1)),e}))}},ln=function(e){var t=new w.ag({filterBy:[],searchCriteria:[],sortBy:"title",page:1,pageSize:10});return function(n){return n(Dt.setLoading(!0)),W.W.getAllDashboard(void 0,e?w.ag.fromJS(e):t).then((function(e){return n(Dt.setLoading(!1)),e})).catch((function(e){return n(Dt.setLoading(!1)),n(Object(Z.b)(e)),e}))}},cn=function(e,t,n){return function(i,a){i(Dt.setLoading(!0)),i(Dt.setLearningPlanParticipants(void 0));var r=a().learningPlans.selectedLearningPlan;if(!n){var o=new w.xg({learningPlanId:null!==e&&void 0!==e?e:null===r||void 0===r?void 0:r.learningPlanId,page:1,pageSize:10,sortBy:"-lastName",searchCriteria:["Status: 0,1,2,3"]});return t&&(t.learningPlanId=null!==e&&void 0!==e?e:null===r||void 0===r?void 0:r.learningPlanId,i(Dt.setLearningPlanParticipantRequestBody(t))),W.T.getAll(void 0,w.xg.fromJS(null!==t&&void 0!==t?t:o)).then((function(e){return i(Dt.setLearningPlanParticipants(e.learningPlanParticipants)),i(Dt.SetLearningPlanParticipantCount(e.recordCount||0)),i(Dt.setLearningPlanParticipantRequestBody(null!==t&&void 0!==t?t:o)),i(Dt.setLoading(!1)),e.learningPlanParticipants})).catch((function(e){i(Object(Z.a)({message:e.detail,variant:"error"})),i(Dt.setSelectedLearningPlanParticipants([])),i(Dt.setLoading(!1))}))}return W.T.getAll(void 0,w.xg.fromJS(t)).then((function(e){return i(Dt.setLoading(!1)),e.learningPlanParticipants})).catch((function(e){i(Object(Z.a)({message:e.detail,variant:"error"})),i(Dt.setSelectedLearningPlanParticipants([])),i(Dt.setLoading(!1))}))}},dn=function(e,t){return function(n){return("csv"===t?W.S.exportParticipantsCsv(void 0,w.xg.fromJS(e)):W.S.exportParticipantsExcel(void 0,w.xg.fromJS(e))).then((function(e){var n=window.URL.createObjectURL(new Blob([e.data])),i=document.createElement("a");i.href=n,i.setAttribute("download",e.fileName||"learningPlanParticipants.".concat(t)),document.body.appendChild(i),i.click(),i.remove()})).catch((function(e){n(Object(Z.b)(e))}))}},un=function(){return function(e,t){var n=t().activities.requestBody;return e(Wt(!0)),W.U.getAvailableLearningPlanActivities(void 0,w.zh.fromJS(n)).then((function(t){e(Bt(t.activities||null)),e(Ut(t.recordCount)),e(Wt(!1))})).catch((function(t){e(Object(Z.b)(t)),e(Bt([]))}))}},mn=function(){return function(e,t){var n=t().courses.requestBody;e(ct(!0));var i=W.U.getAvailableLearningPlanCourses(void 0,w.Bh.fromJS(n));return e(ot(null)),i.then((function(t){e(ot(t.courses||null)),e(dt(t.recordCount)),e(ct(!1))})).catch((function(t){e(Object(Z.b)(t)),e(ot([]))}))}},vn=function(e){return function(t,n){var i=n().learningPlans,a=i.selectedLearningPlan,r=i.availableUserRequestBody,o=new w.Pf({learningPlanId:null===a||void 0===a?void 0:a.learningPlanId,filterBy:[],searchCriteria:[],sortBy:"lastName",page:1,pageSize:10});return t(Dt.setOptionLoading(!0)),e&&(t(Dt.setLearningPlanAvailableUserRequestBody(o)),t(Lt.K(null))),W.T.getAllAvailableUsers(void 0,w.Pf.fromJS(e?o:r)).then((function(e){return t(Dt.setOptionLoading(!1)),e})).catch((function(e){return t(Object(Z.a)({message:e.detail,variant:"error"})),{users:[],recordCount:0}}))}},fn=function(e){return function(t){return W.T.getAllAvailableUsers(void 0,w.Pf.fromJS(e)).then((function(e){return e.users})).catch((function(e){return t(Object(Z.a)({message:e.detail,variant:"error"})),{users:[],recordCount:0}}))}},pn=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return function(n){var i=W.W.get(e,void 0);return t&&n(Dt.setLoading(!0)),i.then((function(e){return n(Dt.setSelectedLearningPlan(e)),t&&n(Dt.setLoading(!1)),e})).catch((function(e){n(Object(Z.b)(e)),n(Dt.setLoading(!1)),n(Dt.setSelectedLearningPlan(null))}))}},hn=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return function(i){i(Dt.setLoading(!0)),i(Lt.K(null));var a=new w.i({learningPlanId:e,participantList:t,sendEmailConfirmation:n});return W.T.add(void 0,a).then((function(e){return i(Object(Z.a)({message:"".concat(t.length>1?"Added participants successfully.":"Added participant successfully."),variant:"success"})),i(Dt.setLoading(!1)),e})).catch((function(e){i(Object(Z.a)({message:e.detail,variant:"error"})),i(Dt.setLearningPlanParticipants([])),i(Dt.setLoading(!1))}))}},yn=function(e){return function(t,n){var i=n().learningPlans.selectedLearningPlan,a=new w.Zd({learningPlanId:(null===i||void 0===i?void 0:i.learningPlanId)||0,participantIdList:e});return t(Dt.setLoading(!0)),W.T.delete(void 0,a).then((function(n){return t(Object(Z.a)({message:"Participant".concat(e.length>1?"s":""," deleted successfully."),variant:"success"})),e.forEach((function(e){return t(Dt.deleteLearningPlanParticipants(e))})),n})).catch((function(e){t(Object(Z.a)({message:e.detail,variant:"error"})),t(Dt.setSelectedLearningPlanParticipants([])),t(Dt.setLoading(!1))}))}},bn=function(e){return function(t,n){var i=n().users.loggedUser,a=new w.yg({createdBy:null===i||void 0===i?void 0:i.userName,filterBy:[],searchCriteria:[],sortBy:"name",page:1,pageSize:-1});return e&&t(Dt.setLearningPlans(null)),t(Dt.setLearningPlanSavedFilters(void 0)),W.V.getAll(void 0,a).then((function(e){t(Dt.setLearningPlanSavedFilters(e.learningPlanSavedFilters))})).catch((function(e){t(Dt.setLearningPlanSavedFilters()),t(Object(Z.b)(e))}))}},gn=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return function(n,i){var a,r,o=i().users.loggedUser;return t?(r=W.V.update(void 0,w.xn.fromJS(e)),a="Filter successfully updated."):(r=W.V.create(void 0,w.Hc.fromJS(e)),a="Filter successfully saved."),r.then((function(t){return e.isDefault?(t.isDefault=!0,W.sb.setSavedFilterDefault(void 0,w.sm.fromJS({userId:null===o||void 0===o?void 0:o.userId,learningPlanSavedFilterId:t.learningPlanSavedFilterId})).then((function(){n(Dt.setLearningPlanSavedFilters(void 0)),n(Object(Z.a)({message:a,variant:"success"})),n(bn(!1))})).catch((function(e){n(Object(Z.b)(e))}))):(n(Dt.setLearningPlanSavedFilters(void 0)),n(Object(Z.a)({message:a,variant:"success"})),n(bn(!1))),t})).catch((function(e){e.errors&&e.errors.SavedFilterDefault&&e.errors.SavedFilterDefault.length>0?n(Object(Z.a)({message:e.errors.SavedFilterDefault[0],variant:"error"})):n(Object(Z.a)({message:e.title,variant:"error"}))}))}},En=function(e,t,n){return function(i){return W.V.validateLearningPlanSavedFilterName(void 0,w.wp.fromJS({learningPlanSavedFilterId:e,name:t,createdBy:n})).then((function(e){return e})).catch((function(e){i(Object(Z.b)(e))}))}},In=function(){return function(e){return e(Dt.setLearningPlanFilters(null)),W.W.getLearningPlanFilterList(void 0).then((function(t){e(Dt.setLearningPlanFilters(t.learningPlans))})).catch((function(t){e(Object(Z.b)(t)),e(Dt.setLearningPlanFilters([]))}))}},Sn=function(e,t){return function(n,i){var a=i().learningPlans.selectedLearningPlan,r=new w.Fc({learningPlanId:null===a||void 0===a?void 0:a.learningPlanId,content:e,exemptIfNotMetCriteria:t});return W.R.create(void 0,r).then((function(){})).catch((function(e){n(Object(Z.a)({message:e.detail,variant:"error"}))}))}},On=function(e){return function(t){var n=new w.th({filterBy:[],searchCriteria:[],sortBy:"lastName",learningPlanId:e,page:1,pageSize:-1});return W.R.getUsers(void 0,w.th.fromJS(n)).then((function(e){return e})).catch((function(e){t(Object(Z.b)(e))}))}},Cn=function(e){return function(t){var n=new w.li({learningPlanId:e});return W.R.get(void 0,n).then((function(e){return e})).catch((function(e){t(Object(Z.b)(e))}))}},jn=function(e,t,n){return function(i){var a=new w.ef({learningPlanId:e,participantIdList:t,isIncluded:n});return W.T.exclude(void 0,a).then((function(e){return i(Object(Z.a)({message:"Participant(s) ".concat(n?"included":"excluded","."),variant:"success"})),e})).catch((function(e){i(Object(Z.a)({message:e.detail,variant:"error"}))}))}},xn=function(e){return function(t){return W.W.generateLearningPlanLinkGuid(void 0,new w.vf({learningPlanId:e})).then((function(e){return e})).catch((function(e){throw t(Object(Z.b)(e)),e}))}},An=function(e){return function(t){var n=new w.tn(e);return W.W.updateLearningPlanEmailSetting(void 0,n).then((function(){t(Object(Z.a)({message:"Email setting successfully updated.",variant:"success"}))})).catch((function(e){t(Object(Z.a)({message:e.detail,variant:"error"}))}))}},Tn={addLearningPlanParticipantsAsync:hn,changeLearningPlanStatus:function(e,t){return function(n){var i=new w.R({learningPlanIdList:e,isArchived:t});return W.W.archive(void 0,i).then((function(){n(Dt.setSelectedLearningPlans(null)),n(Object(Z.a)({message:"Record(s) set to ".concat(t?"inactive":"active"),variant:"success"})),n(sn(!1))})).catch((function(e){n(Object(Z.a)({message:e.detail,variant:"error"}))}))}},createCriteriaAsync:Sn,deleteLearningPlanAsync:function(e){return function(t){var n=new w.Yd({learningPlanIdList:e});t(Dt.setLoading(!0)),W.W.delete(void 0,n).then((function(){t(Dt.setSelectedLearningPlans(null)),t(Object(Z.a)({message:"".concat(e.length>1?"Learning plans successfully deleted.":"Learning plan successfully deleted."),variant:"success"})),e.forEach((function(e){return t(Dt.deleteLearningPlans(e))})),t(sn(!1))})).catch((function(e){t(Object(Z.a)({message:e.detail,variant:"error"})),t(Dt.setLearningPlans(null)),t(Dt.setLoading(!1))}))}},deleteLearningPlanParticipantAsync:yn,excludeParticipantAsync:jn,exportLearningPlanAsync:function(e,t){return function(n){return("csv"===t?W.S.exportCsv(void 0,w.zg.fromJS(e)):W.S.exportExcel(void 0,w.zg.fromJS(e))).then((function(e){var n=window.URL.createObjectURL(new Blob([e.data])),i=document.createElement("a");i.href=n,i.setAttribute("download",e.fileName||"learningPlan.".concat(t)),document.body.appendChild(i),i.click(),i.remove()})).catch((function(e){n(Object(Z.b)(e))}))}},exportParticipantsAsync:dn,generateLearningPlanLinkGuidAsync:xn,getActiveLearningPlanFilters:In,getAllLearningPlanId:function(){return function(){var e=Object(d.a)(c.a.mark((function e(t,n){var i,a;return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i=n().learningPlans.requestBody,e.prev=1,e.next=4,W.W.getAllId(void 0,w.vg.fromJS(i));case 4:return a=e.sent,e.abrupt("return",a.learningPlanIdList);case 8:throw e.prev=8,e.t0=e.catch(1),t(Object(Z.b)(e.t0)),e.t0;case 12:return e.prev=12,t(Dt.setLoading(!1)),e.finish(12);case 15:case"end":return e.stop()}}),e,null,[[1,8,12,15]])})));return function(t,n){return e.apply(this,arguments)}}()},getAvailableActivities:un,getAvailableCourses:mn,getAvailableUsersAsync:vn,getAllAvailableUsersAsync:fn,getDashboardLearningPlansAsync:ln,getLearningPlanAsync:pn,getLearningPlanCriteriaAsync:Cn,getLearningPlanListAsync:function(e){return function(t){return W.W.getLearningPlanListById(void 0,new w.mi({learningPlanId:e})).then((function(e){return e.learningPlans})).catch((function(e){return t(Object(Z.b)(e)),null}))}},getLearningPlanRequirements:function(e){return function(t,n){var i=n().learningPlans.selectedLearningPlan,a=new w.oi({learningPlanId:null!==e&&void 0!==e?e:null===i||void 0===i?void 0:i.learningPlanId,filterBy:[],searchCriteria:[],sortBy:"title",page:1,pageSize:-1});return W.U.get(void 0,w.oi.fromJS(a)).then((function(e){return e})).catch((function(e){t(Object(Z.a)({message:e.detail,variant:"error"}))}))}},getLearningPlanParticipantRequirements:function(e,t){return function(n,i){var a=i().learningPlans.selectedLearningPlan,r=new w.wg({learningPlanId:null!==t&&void 0!==t?t:null===a||void 0===a?void 0:a.learningPlanId,participantId:e,filterBy:[],searchCriteria:[],sortBy:"name",page:1,pageSize:-1});return W.T.getAllLearningPlanParticipantRequirements(void 0,w.wg.fromJS(r)).then((function(e){return e})).catch((function(e){n(Object(Z.a)({message:e.detail,variant:"error"}))}))}},getLearningPlanParticipantsAsync:cn,getLearningPlans:sn,getLearningPlansV2:function(e){var t=new w.zg({filterBy:[],searchCriteria:[],sortBy:"title",page:1,pageSize:10});return function(n){return W.W.getAll(void 0,e?w.zg.fromJS(e):t).then((function(e){return e})).catch((function(e){return n(Object(Z.a)({message:e.detail,variant:"error"})),n(Dt.setLearningPlans()),n(Dt.setLoading(!1)),e}))}},getMaintenanceTablesAsync:function(){return function(e){var t={sortBy:"name",pageSize:-1,filterBy:["isActive:true"]};e(St(t)),e(Ct(!1)),e(Qe(t)),e(Xe(!1))}},getUsersAsync:On,saveLearningPlans:function(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return function(i,a){var r,o=a().learningPlans,s=o.selectedLearningPlan,l=o.participantRequestBody,c=!1;return null===(null===s||void 0===s?void 0:s.learningPlanId)||0===(null===s||void 0===s?void 0:s.learningPlanId)?(r=W.W.create("v1",w.Ec.fromJS(s)),c=!0):r=W.W.update("v1",new w.sn(Object(O.a)(Object(O.a)({},s),{},{retainAdjustedParticipants:e}))),n?(i(Dt.setLoading(!0)),c=!1):c=!0,r.then((function(e){return i(Object(Z.a)({message:"Learning plan successfully saved.",variant:"success"})),c?(i(Dt.setLoading(!1)),i(Dt.setLearningPlanParticipantRequestBody(null)),i(Dt.setSelectedLearningPlanParticipant(null)),i(Dt.setLearningPlanParticipants([])),i(Dt.SetLearningPlanParticipantCount(0))):i(t?cn(null===s||void 0===s?void 0:s.learningPlanId,l):sn(!0)),e})).catch((function(e){i(Object(Z.a)({message:e.detail,variant:"error"})),i(Dt.setLearningPlans(null)),i(Dt.setLoading(!1))}))}},getLearningPlanSavedFilters:bn,saveLearningPlanSavedFilterAsync:gn,setLearningPlanSavedFilterDefaultAsync:function(e){return function(t,n){var i=n().users.loggedUser;return t(Dt.setLearningPlanSavedFilters(void 0)),W.sb.setSavedFilterDefault(void 0,w.sm.fromJS({userId:null===i||void 0===i?void 0:i.userId,learningPlanSavedFilterId:e.learningPlanSavedFilterId})).then((function(){t(Object(Z.a)({message:"".concat(e.name," have been set to default."),variant:"success"})),t(bn(!1))})).catch((function(e){t(Object(Z.b)(e))}))}},deleteLearningPlanSavedFilterAsync:function(e){return function(t,n){var i=n().learningPlans.selectedLearningPlanSavedFilterId;W.V.delete(void 0,e).then((function(){t(Object(Z.a)({message:"Saved filter successfully deleted.",variant:"success"})),void 0!==e.find((function(e){return e===i}))&&t(Dt.setSelectedLearningPlanSavedFilterId(-1)),t(bn(!1))})).catch((function(e){e.errors&&e.errors.SavedFilterDefault&&e.errors.SavedFilterDefault.length>0?t(Object(Z.a)({message:e.errors.SavedFilterDefault[0],variant:"error"})):t(Object(Z.a)({message:e.title,variant:"error"}))}))}},updateLearningPlanEmailSettingAsync:An,updateLearningPlanParticipantsAsync:function(e){return function(t){return t(Lt.K(null)),W.T.update(void 0,w.vn.fromJS({users:e})).then((function(){t(Object(Z.a)({message:"".concat(e.length>1?"Updated participants successfully.":"Updated participant successfully."),variant:"success"}))})).catch((function(e){t(Object(Z.a)({message:e.detail,variant:"error"})),t(Dt.setLearningPlanParticipants([])),t(Dt.setLoading(!1))}))}},updateRequirement:function(){return function(e,t){var n,i,a=t().learningPlans.selectedLearningPlan,r=new w.wn({learningPlanId:null!==(n=null===a||void 0===a?void 0:a.learningPlanId)&&void 0!==n?n:0,requiredCourses:null!==(i=null===a||void 0===a?void 0:a.requiredCourses)&&void 0!==i?i:0,learningPlanActivities:null===a||void 0===a?void 0:a.learningPlanActivities,learningPlanCourses:null===a||void 0===a?void 0:a.learningPlanCourses});return e(Dt.setLoading(!0)),W.U.update(void 0,r).then((function(){e(Object(Z.a)({message:"Learning plan successfully saved.",variant:"success"}))})).catch((function(t){e(Object(Z.a)({message:t.detail,variant:"error"})),e(Dt.setSelectedLearningPlanParticipants([])),e(Dt.setLoading(!1))}))}},validateLearningPlanAsync:function(e){return function(t){return W.W.validate(void 0,new w.vp({learningPlanTitle:e})).then((function(e){return e})).catch((function(e){t(Object(Z.b)(e))}))}},validateLearningPlanSavedFilterNameAsync:En},wn=(n(679),n(70)),kn=function(e){return{type:wn.w,payload:e}},Pn=function(e){return{type:wn.r,payload:e}},Nn=function(e){return{type:wn.s,payload:e}},Dn=function(e){return{type:wn.x,payload:e}},Ln=function(e){return{type:wn.k,payload:e}},Fn=function(e){return{type:wn.g,payload:e}},Bn=function(e){return{type:wn.e,payload:e}},Rn=function(e){return{type:wn.u,payload:e}},Jn=function(e){return{type:wn.m,payload:e}},Gn=function(e){return{type:wn.l,payload:e}},Un=function(e){return{type:wn.f,payload:e}},zn=function(e){return{type:wn.h,payload:e}},qn=function(e){return{type:wn.i,payload:e}},Mn=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=new w.Zf({filterBy:[],searchCriteria:[],sortBy:"title",page:1,pageSize:10});return function(n,i){var a=i().courses,r=a.requestBody,o=a.selectedCourses,s=a.savedCourseSearchFilters,l=a.savedCourseSearchFilterId,c=null===s||void 0===s?void 0:s.find((function(e){return!0===e.isDefault}));if(n(ot(null)),n(ct(!0)),e){var d,u;if(void 0!==c){var m,v=null===c||void 0===c||null===(m=c.filter)||void 0===m?void 0:m.split("|");t.searchCriteria=v}else(null===t||void 0===t?void 0:t.searchCriteria)&&t.searchCriteria.push("ExcludeArchived");r&&r.filterBy&&r.filterBy.length>0&&(null===t||void 0===t?void 0:t.filterBy)&&(d=t.filterBy).push.apply(d,Object(ht.a)(r.filterBy)),n(ut(t)),n(Object(Pt.b)(null)),n(ft(null!==(u=null===t||void 0===t?void 0:t.searchCriteria)&&void 0!==u?u:null))}return W.u.getAll(void 0,w.Zf.fromJS(e?t:r)).then((function(t){var i;return n(ot(t.courses)),n(lt(e?null:o)),n(dt(t.recordCount)),n(ct(!1)),n(mt(e?void 0!==c&&null!==(i=c.courseSavedFilterId)&&void 0!==i?i:0:void 0===l?void 0:null!==l&&void 0!==l?l:0)),t})).catch((function(e){n(Object(Z.b)(e)),n(ot([]))}))}},Wn=function(e){return function(t){return W.u.getCourseWithCategories(e,void 0).then((function(e){return e})).catch((function(e){throw t(Object(Z.b)(e)),e}))}},Vn=function(e){return function(t){return t(ct(!0)),t(st(null)),W.u.getCourseWithCategories(e,void 0).then((function(e){return t(st(e)),e})).catch((function(e){throw t(Object(Z.b)(e)),e}))}},_n=function(e,t){return function(n){return W.u.getCourseDetails(e,t,void 0).then((function(e){return e})).catch((function(e){throw n(Object(Z.b)(e)),e}))}},Yn=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return function(n,i){var a=i().sessions.sessionRequestBody,r=new w.Sh({courseId:e,scheduleId:+t,sortBy:"-startDate"});return a&&(r.searchCriteria=a.searchCriteria,a.page&&(r.page=a.page),a.pageSize&&(r.pageSize=a.pageSize),a.sortBy&&(r.sortBy=a.sortBy)),n(kn(null)),n(Fn(!0)),W.u.getCourseSessions(void 0,w.Sh.fromJS(r)).then((function(e){return n(kn(e.sessions)),n(Fn(!1)),e})).catch((function(e){throw n(Object(Z.b)(e)),e}))}},Hn=function(e,t,n){return function(i){return W.u.getCourseSessionGroup(void 0,w.Rh.fromJS({courseId:e,pageOffset:t,sessionTypeId:n})).then((function(e){return e})).catch((function(e){throw i(Object(Z.b)(e)),e}))}},$n=function(e){return function(t,n){var i=n().users.loggedUser;return e&&t(ot(null)),t(vt(void 0)),W.t.getAll(void 0,w.Yf.fromJS({createdBy:null===i||void 0===i?void 0:i.userName,pageSize:-1})).then((function(e){t(vt(e.courseSavedFilters))})).catch((function(e){t(vt()),t(Object(Z.b)(e))}))}},Qn=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return function(n,i){var a,r,o=i().users.loggedUser;return t?(r=W.t.update(void 0,w.an.fromJS(e)),a="Filter successfully updated."):(r=W.t.create(void 0,w.oc.fromJS(e)),a="Filter successfully saved."),r.then((function(t){return!0===e.isDefault?(t.isDefault=!0,W.sb.setSavedFilterDefault(void 0,w.sm.fromJS({userId:null===o||void 0===o?void 0:o.userId,courseSavedFilterId:t.courseSavedFilterId})).then((function(){n(vt(void 0)),n(Object(Z.a)({message:a,variant:"success"})),n($n(!1))})).catch((function(e){n(Object(Z.b)(e))}))):(n(vt(void 0)),n(Object(Z.a)({message:a,variant:"success"})),n($n(!1))),t})).catch((function(e){e.errors&&e.errors.SavedFilterDefault&&e.errors.SavedFilterDefault.length>0?n(Object(Z.a)({message:e.errors.SavedFilterDefault[0],variant:"error"})):n(Object(Z.a)({message:e.title,variant:"error"}))}))}},Zn=function(e){return function(t,n){var i=n().courses.savedCourseSearchFilterId;W.t.delete(void 0,e).then((function(){t(Object(Z.a)({message:"Saved filter successfully deleted.",variant:"success"})),t($n(!1)),void 0!==e.find((function(e){return e===i}))&&t(mt(-1))})).catch((function(e){e.errors&&e.errors.SavedFilterDefault&&e.errors.SavedFilterDefault.length>0?t(Object(Z.a)({message:e.errors.SavedFilterDefault[0],variant:"error"})):t(Object(Z.a)({message:e.title,variant:"error"}))}))}},Xn=function(e,t,n){return function(i){return W.t.validateCourseSavedFilterName(void 0,w.kp.fromJS({courseSavedFilterId:e,name:t,createdBy:n})).then((function(e){return e})).catch((function(e){i(Object(Z.b)(e))}))}},Kn=function(e,t,n,i){return function(a){if(void 0===t||0===t||void 0===e||""===e)return Promise.resolve(!1);var r={courseTitle:e,providerId:t,courseCode:n,courseId:i},o=new w.hp({courseDto:w.ip.fromJS(r)});return W.u.validateCourse(void 0,o).then((function(e){return e})).catch((function(e){throw a(Object(Z.b)(e.response)),e}))}},ei=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return function(n){var i={sortBy:"name",pageSize:-1,filterBy:e?["isActive:true"]:[]};n(De(t?{sortBy:"isInHouse",pageSize:-1}:i)),n(Fe(!1)),n(Object(yt.d)(i)),n(Object(yt.b)(!1)),n(St(i)),n(Ct(!1)),n(Object(At.d)(i)),n(Object(At.b)(!1)),n(Object(Tt.d)(i)),n(Object(Tt.b)(!1)),n(Object(kt.d)(i)),n(Object(kt.b)(!1)),n(Qe(i)),n(Xe(!1)),n(V())}},ti=function(){return function(e){e(Tn.getActiveLearningPlanFilters())}},ni=function(){return function(e){e(Object(wt.d)({sortBy:"name",pageSize:-1,filterBy:["isActive:true"]})),e(Object(wt.b)(!1))}};!function(e){e[e.InHouse=1]="InHouse",e[e.ThirdParty=2]="ThirdParty"}(R||(R={})),function(e){e[e.None=0]="None",e[e.InHouse=1]="InHouse",e[e.ThirdParty=2]="ThirdParty"}(J||(J={}));var ii=Object(s.b)((function(e){return{providers:e.maintenance.providers,classYears:e.maintenance.classYears,competencies:e.maintenance.competencies,departments:e.maintenance.departments,levels:e.maintenance.levels,practiceAreas:e.maintenance.practiceAreas,tags:e.maintenance.tags}}),(function(e){return{addCourse:function(t){return e(function(e){return function(t){return t(ct(!0)),W.u.create(void 0,w.lc.fromJS(e)).then((function(e){return t(Object(Z.a)({message:"Course successfully saved.",variant:"success"})),e})).catch((function(e){throw t(Object(Z.b)(e)),e}))}}(t))},addNotification:function(t){return e(Z.a({message:t,variant:"error"}))},validateCourse:function(t,n,i){return e(Kn(t,n,i))},getProviders:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return e(pe(t))},getClassYears:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return e(he(t))},getCompetencies:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return e(ye(t))},getDepartments:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return e(be(t))},getLevels:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return e(ge(t))},getPracticeAreas:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return e(Ee(t))},getTags:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return e(Ie(t))}}})),ai=Object(m.o)(ii((function(e){var t,n,r,o,s,l,c,d,m,v,f,h,y=e.addCourse,b=e.addNotification,g=e.classYears,E=e.closeCalendar,I=e.competencies,S=e.departments,O=e.history,j=e.levels,x=e.onClose,A=e.practiceAreas,T=e.providers,k=e.tags,P=e.validateCourse,N=e.getProviders,D=e.getClassYears,L=e.getCompetencies,B=e.getDepartments,R=e.getLevels,G=e.getPracticeAreas,U=e.getTags,z=e.courseDetails,q=e.title,M=void 0===q?"Add In-House Course":q,W=e.providerFilter,V=void 0===W?J.InHouse:W,Y={toolbarSticky:!1,useClasses:!1,placeholderText:"",charCounterMax:8e3,toolbarButtons:{moreText:{buttons:["bold","italic","underline","strikeThrough","subscript","superscript","fontFamily","fontSize","textColor","backgroundColor","inlineClass","inlineStyle","clearFormatting"]},moreParagraph:{buttons:["alignLeft","alignCenter","formatOLSimple","alignRight","alignJustify","formatOL","formatUL","paragraphFormat","paragraphStyle","lineHeight","outdent","indent","quote"]},moreMisc:{buttons:["undo","redo"],align:"right",buttonsVisible:2}}},H=Object(i.useState)(!1),$=Object(u.a)(H,2),Z=$[0],X=$[1],K=Object(i.useState)(!1),ee=Object(u.a)(K,2),te=ee[0],ne=ee[1],ie=Object(i.useState)(),ae=Object(u.a)(ie,2),re=ae[0],oe=ae[1],se=Object(i.useState)(),le=Object(u.a)(se,2),ce=le[0],de=le[1],ue=Object(i.useState)(z),me=Object(u.a)(ue,1)[0],ve="",fe="",pe=F(w.Jk.ManageDataManagement),he={initialValues:{title:null!==(t=null===me||void 0===me?void 0:me.title)&&void 0!==t?t:"",idLabel:null!==(n=null===me||void 0===me?void 0:me.courseIdLabel)&&void 0!==n?n:"",providerId:w.Uk.fromJS({providerId:null!==(r=null===me||void 0===me?void 0:me.providerId)&&void 0!==r?r:0,name:null!==(o=null===me||void 0===me?void 0:me.providerName)&&void 0!==o?o:""}),description:null!==(s=null===me||void 0===me?void 0:me.description)&&void 0!==s?s:"",note:null!==(l=null===me||void 0===me?void 0:me.note)&&void 0!==l?l:"",courseDepartments:null!==(c=null===me||void 0===me?void 0:me.courseDepartment)&&void 0!==c?c:[],courseLevels:null!==(d=null===me||void 0===me?void 0:me.courseLevel)&&void 0!==d?d:[],coursePracticeAreas:null!==(m=null===me||void 0===me?void 0:me.coursePracticeArea)&&void 0!==m?m:[],courseClassYears:null!==(v=null===me||void 0===me?void 0:me.courseClassYear)&&void 0!==v?v:[],courseCompetencies:null!==(f=null===me||void 0===me?void 0:me.courseCompetency)&&void 0!==f?f:[],courseTags:null!==(h=null===me||void 0===me?void 0:me.courseTag)&&void 0!==h?h:[]},validationSchema:Object(Q.object)().shape({title:Object(Q.string)().required("This field is required.").max(1e3,"Course title must not exceed 1000 characters.").trim(),providerId:Object(Q.string)().nullable().required("This field is required"),idLabel:Object(Q.string)().max(100,"Course Code must not exceed 100 characters."),note:Object(Q.string)().max(1e3,"Notes must not exceed 1000 characters.")}),onSubmit:function(e,t){var n=e.title,i=e.idLabel,a=e.providerId,r=e.description,o=e.note,s=e.courseClassYears,l=e.courseCompetencies,c=e.courseDepartments,d=e.courseLevels,u=e.coursePracticeAreas,m=e.courseTags,v={title:n.trim(),courseCode:i.trim(),providerId:a.providerId,description:r,note:o,courseClassYear:null===s||void 0===s?void 0:s.map((function(e){var t;return null!==(t=e.classYearId)&&void 0!==t?t:0})),courseCompetency:null===l||void 0===l?void 0:l.map((function(e){var t;return null!==(t=e.competencyId)&&void 0!==t?t:0})),courseDepartment:null===c||void 0===c?void 0:c.map((function(e){var t;return null!==(t=e.departmentId)&&void 0!==t?t:0})),courseLevel:d.map((function(e){var t;return null!==(t=e.levelId)&&void 0!==t?t:0})),coursePracticeArea:u.map((function(e){var t;return null!==(t=e.practiceAreaId)&&void 0!==t?t:0})),courseTag:m.map((function(e){var t;return null!==(t=e.tagId)&&void 0!==t?t:0}))};P(n.trim(),a.providerId,i.trim()).then((function(e){e.error?(e.validationMessage&&b(e.validationMessage),t.setSubmitting(!1)):y(v).then((function(e){t.setSubmitting(!1),x(),E&&E(),O.push("/learning/courses/".concat(e,"/course-sessions"))})).catch((function(){t.setSubmitting(!1)}))}))}};return a.a.createElement(C.Formik,{initialValues:he.initialValues,validationSchema:he.validationSchema,onSubmit:he.onSubmit,key:"add-course"},(function(e){var t,n,i;return a.a.createElement(p.Form,{id:"add-course",formikContext:!0},a.a.createElement(_.WizardDialogBody,{titleBar:{title:M}},a.a.createElement(p.Grid,{container:!0,spacing:"form"},a.a.createElement(p.Grid,{item:!0,xs:3,alignment:"top-left"},a.a.createElement(p.Typography,{variant:"h5"},"Course Details")),a.a.createElement(p.Grid,{item:!0,xs:9,alignment:"center-left"},a.a.createElement(p.Grid,{container:!0,spacing:"form"},a.a.createElement(p.Grid,{item:!0,xs:12,alignment:"top-left"},a.a.createElement(p.TextField,{required:!0,id:"title",label:"Course Title",formikContext:!0,fullWidth:!0})),a.a.createElement(p.Grid,{item:!0,xs:6,alignment:"top-left"},a.a.createElement(p.ComboBox,{disableCloseOnSelect:!1,addOption:pe?{icon:"Add",label:"Add options",onClick:function(){de(ve),X(!0)}}:void 0,onInputChange:function(e,t){ve=null!==t&&void 0!==t?t:""},required:!0,formikContext:!0,id:"providerId",fullWidth:!0,label:"Provider",options:V===J.None?null!==T&&void 0!==T?T:[]:V===J.InHouse?null!==(t=null===T||void 0===T?void 0:T.filter((function(e){return e.isInHouse})))&&void 0!==t?t:[]:null===(n=V===J.ThirdParty)||void 0===n||n?null===T||void 0===T?void 0:T.filter((function(e){return!e.isInHouse})):null!==(i=[])&&void 0!==i?i:[],onOpen:function(){return T?null:N()},groupBy:function(e){return e.isInHouse?"In Firm":"Third-Party"}})),a.a.createElement(p.Grid,{item:!0,xs:6,alignment:"top-left"},a.a.createElement(p.TextField,{id:"idLabel",label:"Course Code",formikContext:!0,fullWidth:!0})),a.a.createElement(p.Grid,{item:!0,xs:12,alignment:"top-left"},a.a.createElement(p.TextField,{id:"note",label:"Private Administrator Notes",type:"text",formikContext:!0,fullWidth:!0,multiline:!0})))),a.a.createElement(p.Grid,{item:!0,xs:12},a.a.createElement(p.Divider,null)),a.a.createElement(p.Grid,{item:!0,xs:3,alignment:"top-left"},a.a.createElement(p.Typography,{variant:"h5"},"Categories")),a.a.createElement(p.Grid,{item:!0,xs:9,alignment:"center-left"},a.a.createElement(p.Grid,{container:!0,spacing:"form"},a.a.createElement(p.Grid,{item:!0,xs:6,alignment:"top-left",stretchContent:!0},a.a.createElement(p.ComboBox,{optionId:"competencyId",formikContext:!0,id:"courseCompetencies",fullWidth:!0,label:"Competencies",multiple:!0,options:I||[],onOpen:function(){return L()}})),a.a.createElement(p.Grid,{item:!0,xs:6,alignment:"top-left",stretchContent:!0},a.a.createElement(p.ComboBox,{optionId:"departmentId",formikContext:!0,id:"courseDepartments",fullWidth:!0,label:"Departments",multiple:!0,options:S||[],onOpen:function(){return S?null:B()}})),a.a.createElement(p.Grid,{item:!0,xs:6,alignment:"top-left",stretchContent:!0},a.a.createElement(p.ComboBox,{optionId:"practiceAreaId",formikContext:!0,id:"coursePracticeAreas",fullWidth:!0,label:"Practice Areas",multiple:!0,options:A||[],onOpen:function(){return G()}})),a.a.createElement(p.Grid,{item:!0,xs:6,alignment:"top-left",stretchContent:!0},a.a.createElement(p.ComboBox,{optionId:"levelId",formikContext:!0,id:"courseLevels",fullWidth:!0,label:"Levels",multiple:!0,options:j||[],onOpen:function(){return!j&&R()}})),a.a.createElement(p.Grid,{item:!0,xs:6,alignment:"top-left",stretchContent:!0},a.a.createElement(p.ComboBox,{optionId:"classYearId",formikContext:!0,id:"courseClassYears",fullWidth:!0,label:"Class Year",multiple:!0,options:g||[],onOpen:function(){return D()}})),a.a.createElement(p.Grid,{item:!0,xs:6,alignment:"top-left",stretchContent:!0},a.a.createElement(p.ComboBox,{addOption:pe?{icon:"Add",label:"Add options",onClick:function(){oe(fe),ne(!0)}}:void 0,onInputChange:function(e,t){fe=null!==t&&void 0!==t?t:""},formikContext:!0,id:"courseTags",fullWidth:!0,label:"Tags",multiple:!0,options:k||[],onOpen:function(){return U()}})))),a.a.createElement(p.Grid,{item:!0,xs:12},a.a.createElement(p.Divider,null)),a.a.createElement(p.Grid,{item:!0,xs:3,alignment:"top-left"},a.a.createElement(p.Typography,{variant:"h5"},"Course Description")),a.a.createElement(p.Grid,{item:!0,xs:9,alignment:"center-left",stretchContent:!0},a.a.createElement(p.TextEditor,{fullWidth:!0,id:"description",config:Y,formikContext:!0})),a.a.createElement(p.Grid,{item:!0,xs:12},a.a.createElement(p.Divider,null))),Z&&a.a.createElement(Ve,{isAddMode:!0,open:Z,onClose:function(){return X(!1)},onAddNewProvider:function(t){return function(t){e.setFieldTouched("providerId",!0),e.setFieldValue("providerId",t)}(t)},providerName:ce,isInHouseProvider:!0,hideProviderTypeOption:V!==J.None}),te&&a.a.createElement(at,{isAddMode:!0,open:te,onClose:function(){return ne(!1)},onAddNewTag:function(t){!function(t){var n;e.setFieldTouched("courseTags",!0);var i=null!==(n=e.getFieldProps("courseTags").value)&&void 0!==n?n:[];i.push(t),e.setFieldValue("courseTags",i)}(t)},tagName:re})),a.a.createElement(_.WizardDialogFooter,{buttons:"custom"},a.a.createElement(p.Grid,{container:!0,justify:"center",spacing:"form"},a.a.createElement(p.Grid,{item:!0,lg:2,md:4,xs:6,stretchContent:!0,alignment:"center"},a.a.createElement(p.Button,{onClick:function(){x()},variant:"contained",color:"default"},"Cancel")),a.a.createElement(p.Grid,{item:!0,lg:2,md:4,xs:6,stretchContent:!0,alignment:"center"},a.a.createElement(p.Button,{type:"submit",variant:"contained",color:"primary",fullWidth:!0,disabled:e.isSubmitting,loading:e.isSubmitting},"Save")))))}))}))),ri=n(36),oi=n(19),si=n.n(oi),li=n(45),ci=n.n(li),di=n(57),ui=function(e){var t=0;if(""!==e&&(t=e.toUpperCase().charCodeAt(0)),t>=65&&t<=71)return 1;if(t>=62&&t<=77)return 2;if(t>=78&&t<=90)return 3;switch(t){case 196:case 203:return 1;case 207:return 2;case 209:case 214:case 220:return 3;default:return 0}},mi=function(e){var t=e.getFullYear();if(t<=1975)return 1;if(t>=1976&&t<=1983)return 2;if(t>=1984&&t<=1990)return 3;if(t>=1991&&t<=2015){if(t%3===2)return 1;if(t%3===0)return 2;if(t%3===1)return 3}if(t>2015){if(t%3===2)return 3;if(t%3===0)return 1;if(t%3===1)return 2}return 0},vi=9999,fi=4,pi=29,hi=45,yi=53,bi=93,gi=100,Ei=101,Ii=103,Si=130,Oi=137,Ci=149,ji=160,xi=161,Ai=707,Ti=164,wi=198,ki=218,Pi=227,Ni=228,Di=239,Li=240,Fi=243,Bi=10,Ri=11,Ji=256,Gi=262,Ui=266,zi=268,qi=333,Mi=368,Wi=321,Vi=322,_i=381,Yi=397,Hi=401,$i=405,Qi=411,Zi=446,Xi=448,Ki=469,ea=479,ta=481,na=489,ia=490,aa=500,ra=511,oa=517,sa=526,la=527,ca=573,da=606,ua=609,ma=610,va=660,fa=661,pa=666,ha=669,ya=676,ba=679,ga=691,Ea=692,Ia=693,Sa=681,Oa=1,Ca=2,ja=3,xa=4,Aa=5,Ta=6,wa=7,ka=8,Pa=9,Na=1,Da=1,La=2,Fa=3,Ba=4,Ra=10,Ja=11,Ga=12,Ua="Live Faculty In Room",za="Live Video/Audio Format",qa="Recorded Video/Audio Format",Ma=1,Wa=2,Va=4,_a=5,Ya=4,Ha=5,$a=6,Qa=7,Za=8,Xa={PCAMID:5,PCAMReApprovalDate:6,FinancialHardship:9},Ka={RequestInNYYearEndReport:6,SelectNYLocation:7,AverageFee:8,FinancialHardship:9,ParticipationMethod:14},er=17,tr=1,nr=2,ir=3,ar=4,rr=1,or=2,sr=3,lr=4,cr=5,dr=6,ur=7,mr=8,vr=1,fr=1,pr=2,hr=3,yr=18,br=19,gr=20,Er=21,Ir=3,Sr=4,Or=5,Cr=6,jr=7,xr=8,Ar=9,Tr=10,wr=11,kr=12,Pr=13,Nr=14,Dr=22,Lr=23,Fr=24,Br=25,Rr=26,Jr=27,Gr=28,Ur=29,zr=30,qr=31,Mr=32,Wr=33,Vr=n(223),_r=n(21),Yr=n.n(_r),Hr=n(58),$r=n.n(Hr),Qr=n(61),Zr=n.n(Qr),Xr=function(e){var t=e.industry,n=e.size,i=e.type;switch(t){case"Law":return a.a.createElement(p.SystemIcon,{icon:"Cem-Legal",size:n,type:i});case"Accounting":return a.a.createElement(p.SystemIcon,{icon:"Cem-Accounting",size:n,type:i});case"Custom License":return a.a.createElement(p.SystemIcon,{icon:"Cem-InFirm",size:n,type:i});default:return a.a.createElement(p.SystemIcon,{icon:"Cem-Certificate",size:n,type:i})}},Kr=Object(s.b)((function(e){return{firmLicenses:e.licenses.firmLicenses,userLicenseLimitation:e.licenses.userLicenseLimitations}}),(function(){return{}})),eo=Kr((function(e){var t,n=e.showLimitedLicenses,r=e.open,o=e.onClose,s=e.title,l=e.firmLicenses,c=e.userLicenseLimitation,d=e.addedLicenses,m=e.showProfileLicenses,v=e.showFOSLicense,f=e.selectedLicenses,h={},y=m?l:null!==(t=null===l||void 0===l?void 0:l.filter((function(e){return!e.isPlaceholder})))&&void 0!==t?t:[],b=Object(i.useState)(!1),g=Object(u.a)(b,2),E=g[0],I=g[1],S={initialValues:{licenseListForm:(y&&(null===y||void 0===y?void 0:y.length)>0&&y.forEach((function(e){var t=!1;void 0!==(null===f||void 0===f?void 0:f.find((function(t){return t.licenseId===e.licenseId})))&&(t=!0);var n=Object(ri.a)({},"".concat(e.licenseId),t);h=Object(O.a)(Object(O.a)({},h),n)})),h),favoriteLicenseListForm:(y&&(null===y||void 0===y?void 0:y.length)>0&&y.filter((function(e){var t;return!0===(null===(t=e.firmLicense)||void 0===t?void 0:t.isFavorite)})).forEach((function(e){var t=!1;void 0!==(null===f||void 0===f?void 0:f.find((function(t){return t.licenseId===e.licenseId})))&&(t=!0);var n=Object(ri.a)({},"".concat(e.licenseId,"-fav"),t);h=Object(O.a)(Object(O.a)({},h),n)})),h)},validationSchema:Object(Q.object)().shape({}),onSubmit:function(e){var t=e.licenseListForm,n=Array(),i=[];t&&Object.keys(t).forEach((function(e){y&&y.forEach((function(a){t[e]&&e==="".concat(a.licenseId)&&(n.push(a),a.licenseId&&i.push(a.licenseId))}))})),d&&d(i),o(n)}},j=y&&y.filter((function(e){var t;return!0===(null===(t=e.firmLicense)||void 0===t?void 0:t.isFavorite)})).filter((function(e){return!(!n&&c&&c.length>0)||(null===c||void 0===c?void 0:c.includes(e.licenseId))})),x=y&&y.filter((function(e){return"Law"===e.industryId})).filter((function(e){return!(!n&&c&&c.length>0)||(null===c||void 0===c?void 0:c.includes(e.licenseId))})),A=y&&y.filter((function(e){return"Accounting"===e.industryId})).filter((function(e){return!(!n&&c&&c.length>0)||(null===c||void 0===c?void 0:c.includes(e.licenseId))})),T=y&&y.filter((function(e){return"Certification"===e.industryId})).filter((function(e){return!(!n&&c&&c.length>0)||(null===c||void 0===c?void 0:c.includes(e.licenseId))})),w=y&&y.filter((function(e){return"Custom License"===e.industryId})).filter((function(e){return!(!n&&c&&c.length>0)||(null===c||void 0===c?void 0:c.includes(e.licenseId))}));return Object(i.useEffect)((function(){I(!1),j&&j.forEach((function(e){9999===e.licenseId&&I(!0)}))}),[j,E]),a.a.createElement(Yr.a,{size:"sm",open:r,onClose:function(){return o(f)}},a.a.createElement(C.Formik,{initialValues:S.initialValues,validationSchema:S.validationSchema,onSubmit:S.onSubmit,enableReinitialize:!0,validateOnBlur:!1,validateOnChange:!1},(function(e){var t,n,i=e.setFieldValue,r=function(e){e&&e.forEach((function(e){i("licenseListForm.".concat(e.licenseId),!0),i("favoriteLicenseListForm.".concat(e.licenseId,"-fav"),!0)}))},l=function(e,t){i("licenseListForm.".concat(e),t)},c=function(e,t){i("favoriteLicenseListForm.".concat(e,"-fav"),t)},d=f&&f.find((function(e){return e.licenseId===vi}));return a.a.createElement(p.Form,{id:"license-list",formikContext:!0},a.a.createElement(_r.SideDrawerHeader,{titleBar:{icon:{source:"custom",value:a.a.createElement(p.Button,{variant:"text",color:"primary",type:"reset",onClick:function(){return o(f)}},a.a.createElement(p.SystemIcon,{size:"sm",icon:"Back"}))},title:s}}),a.a.createElement(_r.SideDrawerBody,{maxWidth:!1},a.a.createElement(p.Grid,{container:!0,spacing:"form"},j&&j.length>0&&(v&&E||(!v||!E)&&j.length>1)&&a.a.createElement(p.Grid,{item:!0,xs:12},a.a.createElement(p.Widget,{color:"important"},a.a.createElement(p.Box,{ml:2},a.a.createElement(Zr.a,{icon:a.a.createElement(p.SystemIcon,{icon:"Star",type:"duotone",size:"sm",color:"secondary"}),action:a.a.createElement(p.Box,{display:"flex",justifyContent:"flex-end"},a.a.createElement(p.Button,{size:"small",color:"primary",variant:"text",onClick:function(){return r(j)}},"Select All")),title:a.a.createElement(p.Typography,{variant:"subtitle1",weight:"regular",color:"secondary"},"Firm Favorites")}),a.a.createElement($r.a,{dense:!0},a.a.createElement(p.List,{hover:!0},v&&E&&a.a.createElement(p.ListItem,{key:vi,dense:!0,alignItems:"flex-start"},a.a.createElement(p.Box,{mt:1,flex:1},a.a.createElement(p.Typography,{variant:"body1"},"Fields of Study")),a.a.createElement(p.Box,{alignContent:"center"},a.a.createElement(p.Checkbox,{formikContext:!0,id:"favoriteLicenseListForm.".concat(vi,"-fav"),disabled:null!==(t=d&&void 0!==d)&&void 0!==t&&t,onChange:function(e,t){l(vi,t)}}))),j&&j.filter((function(e){return e.licenseId!==vi})).map((function(e){var t,n=e.licenseId,i=e.name,r=f&&f.find((function(e){return e.licenseId===n}));return n&&a.a.createElement(p.ListItem,{key:n,dense:!0,alignItems:"flex-start"},a.a.createElement(p.Box,{mt:1,flex:1},a.a.createElement(p.Typography,{variant:"body1"},i)),a.a.createElement(p.Box,{alignContent:"center"},a.a.createElement(p.Checkbox,{formikContext:!0,id:"favoriteLicenseListForm.".concat(n,"-fav"),disabled:null!==(t=r&&void 0!==r)&&void 0!==t&&t,onChange:function(e,t){l(n,t)}})))}))))))),x&&x.length>0&&a.a.createElement(p.Grid,{item:!0,xs:12},a.a.createElement(p.Widget,null,a.a.createElement(p.Box,{ml:2},a.a.createElement(Zr.a,{icon:a.a.createElement(Xr,{industry:"Law",type:"duotone"}),action:a.a.createElement(p.Box,{display:"flex",justifyContent:"flex-end"},a.a.createElement(p.Button,{size:"small",color:"primary",variant:"text",onClick:function(){return r(x)}},"Select All")),title:"Law"}),a.a.createElement($r.a,{dense:!0},a.a.createElement(p.List,{hover:!0},x&&x.map((function(e){var t,n=e.licenseId,i=e.name,r=f&&f.find((function(e){return e.licenseId===n}));return n&&a.a.createElement(p.ListItem,{key:n,dense:!0,alignItems:"flex-start"},a.a.createElement(p.Box,{mt:1,flex:1},a.a.createElement(p.Typography,{variant:"body1"},function(e){var t=document.createElement("textarea");return t.innerHTML=e,t.value}(i))),a.a.createElement(p.Box,{alignContent:"center"},a.a.createElement(p.Checkbox,{formikContext:!0,id:"licenseListForm.".concat(n),disabled:null!==(t=r&&void 0!==r)&&void 0!==t&&t,onChange:function(e,t){c(n,t)}})))}))))))),A&&A.length>0&&a.a.createElement(p.Grid,{item:!0,xs:12},a.a.createElement(p.Widget,null,a.a.createElement(p.Box,{ml:2},a.a.createElement(Zr.a,{icon:a.a.createElement(Xr,{industry:"Accounting",type:"duotone"}),action:a.a.createElement(p.Box,{display:"flex",justifyContent:"flex-end"},a.a.createElement(p.Button,{size:"small",color:"primary",variant:"text",onClick:function(){return r(A)}},"Select All")),title:"Accounting"}),a.a.createElement($r.a,{dense:!0},a.a.createElement(p.List,{hover:!0},v&&a.a.createElement(p.ListItem,{key:vi,dense:!0,alignItems:"flex-start"},a.a.createElement(p.Box,{mt:1,flex:1},a.a.createElement(p.Typography,{variant:"body1"},"Fields of Study")),a.a.createElement(p.Box,{alignContent:"center"},a.a.createElement(p.Checkbox,{formikContext:!0,id:"licenseListForm.".concat(vi),disabled:null!==(n=d&&void 0!==d)&&void 0!==n&&n,onChange:function(e,t){c(vi,t)}}))),A&&A.filter((function(e){return e.licenseId!==vi})).map((function(e){var t,n=e.licenseId,i=e.name,r=f&&f.find((function(e){return e.licenseId===n}));return n&&a.a.createElement(p.ListItem,{key:n,dense:!0,alignItems:"flex-start"},a.a.createElement(p.Box,{mt:1,flex:1},a.a.createElement(p.Typography,{variant:"body1"},i)),a.a.createElement(p.Box,{alignContent:"center"},a.a.createElement(p.Checkbox,{formikContext:!0,id:"licenseListForm.".concat(n),disabled:null!==(t=r&&void 0!==r)&&void 0!==t&&t,onChange:function(e,t){c(n,t)}})))}))))))),T&&T.length>0&&a.a.createElement(p.Grid,{item:!0,xs:12},a.a.createElement(p.Widget,null,a.a.createElement(p.Box,{ml:2},a.a.createElement(Zr.a,{icon:a.a.createElement(Xr,{industry:"Certification",type:"duotone"}),action:a.a.createElement(p.Box,{display:"flex",justifyContent:"flex-end"},a.a.createElement(p.Button,{size:"small",color:"primary",variant:"text",onClick:function(){return r(T)}},"Select All")),title:"Certification"}),a.a.createElement($r.a,{dense:!0},a.a.createElement(p.List,{hover:!0},T&&T.map((function(e){var t,n=e.licenseId,i=e.name,r=f&&f.find((function(e){return e.licenseId===n}));return n&&a.a.createElement(p.ListItem,{key:n,dense:!0,alignItems:"flex-start"},a.a.createElement(p.Box,{mt:1,flex:1},a.a.createElement(p.Typography,{variant:"body1"},i)),a.a.createElement(p.Box,{alignContent:"center"},a.a.createElement(p.Checkbox,{formikContext:!0,id:"licenseListForm.".concat(n),disabled:null!==(t=r&&void 0!==r)&&void 0!==t&&t,onChange:function(e,t){c(n,t)}})))}))))))),w&&w.length>0&&a.a.createElement(p.Grid,{item:!0,xs:12},a.a.createElement(p.Widget,null,a.a.createElement(p.Box,{ml:2},a.a.createElement(Zr.a,{icon:a.a.createElement(Xr,{industry:"Custom License",type:"duotone"}),action:a.a.createElement(p.Box,{display:"flex",justifyContent:"flex-end"},a.a.createElement(p.Button,{size:"small",color:"primary",variant:"text",onClick:function(){return r(w)}},"Select All")),title:"Custom License"}),a.a.createElement($r.a,{dense:!0},a.a.createElement(p.List,{hover:!0},w&&w.map((function(e){var t,n=e.licenseId,i=e.name,r=f&&f.find((function(e){return e.licenseId===n}));return n&&a.a.createElement(p.ListItem,{key:n,dense:!0,alignItems:"flex-start"},a.a.createElement(p.Box,{mt:1,flex:1},a.a.createElement(p.Typography,{variant:"body1"},i)),a.a.createElement(p.Box,{alignContent:"center"},a.a.createElement(p.Checkbox,{formikContext:!0,id:"licenseListForm.".concat(n),disabled:null!==(t=r&&void 0!==r)&&void 0!==t&&t,onChange:function(e,t){c(n,t)}})))}))))))))),a.a.createElement(_r.SideDrawerFooter,null,a.a.createElement(p.Grid,{container:!0,spacing:"form"},a.a.createElement(p.Grid,{item:!0,xs:6,alignment:"center-right"},a.a.createElement(p.Button,{color:"default",type:"reset",onClick:function(){return o(f)},variant:"outlined",fullWidth:!0},"Cancel")),a.a.createElement(p.Grid,{item:!0,xs:6,alignment:"center-left"},a.a.createElement(p.Button,{color:"primary",variant:"contained",type:"submit",fullWidth:!0},"Add")))))})))})),to=n(67),no=n(363),io=n(970),ao=function(e){var t=e.name,n=e.value,a=e.setFieldValue,r=Object(i.useRef)(!0),o=Object(i.useRef)(n);Object(i.useEffect)((function(){r.current?r.current=!1:a(o.current)}),[t,a])},ro=["type","fullWidth","inputProps","label","loading","maxLabelLength","name","error","helperText","onBlur","onChange","onFocus","onKeyDown","readOnly"],oo=function(e){var t=e.children,n=e.fullWidth,i=e.title;return e.labelLength?a.a.createElement(p.Tooltip,{title:i||"",disableFocusListener:!0,placement:"top"},a.a.createElement(p.Box,{component:"span",width:n?"100%":"auto"},t)):a.a.createElement(a.a.Fragment,null,t)},so=function(e){var t=e.type,n=e.fullWidth,r=e.inputProps,o=e.label,s=e.loading,l=e.maxLabelLength,c=e.name,d=e.error,m=e.helperText,v=e.onBlur,f=e.onChange,h=e.onFocus,y=e.onKeyDown,b=e.readOnly,g=Object(no.a)(e,ro),E=Object(C.useField)(null!==c&&void 0!==c?c:""),I=Object(u.a)(E,3),S=I[0],j=I[1],x=I[2],A=!!j.error&&j.touched,T=Object(i.useState)(S.value),w=Object(u.a)(T,2),k=w[0],P=w[1];ao({setFieldValue:P,name:null!==c&&void 0!==c?c:"",value:S.value});var N=Object(i.useRef)(k),D=Object(i.useRef)(j.touched);N.current=k,D.current=j.touched,Object(i.useEffect)((function(){D.current||S.value!==N.current&&P(S.value)}),[S.value]);var L=Object(O.a)(Object(O.a)({},S),{},{value:k,onChange:function(e){var n=e.target.value;void 0===n||""===n?n=void 0:"number"===t&&(n=Number(n)),P(n),"number"===t&&0===(null===r||void 0===r?void 0:r.min)&&Number(n)<0&&x.setTouched(!0,!0),f&&f(e)},onBlur:function(e){var n=e.target.value;void 0===n||""===n?n=void 0:"number"===t&&(n=Number(n)),P(n),"number"===t&&0===(null===r||void 0===r?void 0:r.min)&&Number(n)<0&&(x.setTouched(!0,!0),x.setError(j.error)),window.setTimeout((function(){S.onChange({target:{name:null!==c&&void 0!==c?c:"",value:void 0===k?void 0:"number"===t?Number(k):k}})}),0),v&&v(e)},onFocus:function(e){var n=e.target.value;void 0===n||""===n?n=void 0:"number"===t&&(n=Number(n)),P(n),"number"===t&&0===(null===r||void 0===r?void 0:r.min)&&Number(n)<0&&x.setTouched(!0,!0),h&&h(e)},onKeyDown:function(e){var n=e.key;if("number"===t&&0===(null===r||void 0===r?void 0:r.min)){["-","+","e"].includes(n)&&e.preventDefault()}y&&y(e)}}),F=o?function(e,t){var n,i=e.length;return t&&i>t?(n=e.substring(0,t-5),n="".concat(n,"...")):n=e,n}(o,l):void 0;return s?a.a.createElement(p.Skeleton,{variant:"rect",width:n?"100%":void 0},a.a.createElement(io.a,Object.assign({variant:"outlined",autoComplete:"off"},g))):a.a.createElement(oo,{fullWidth:n,title:null!==o&&void 0!==o?o:"",labelLength:l},a.a.createElement(io.a,Object.assign({type:t,error:A||d,label:F,helperText:null!==m&&void 0!==m?m:j.touched&&j.error,variant:"outlined",autoComplete:"off",fullWidth:n,InputProps:{readOnly:b,inputProps:Object(O.a)({step:"any"},r)}},g,L)))},lo=Object(s.b)(null,(function(e){return{getAllNYCounties:function(){return e(Object(to.a)())}}})),co=lo((function(e){var t=e.sessionId,n=e.datesAndCreditsDisabled,r=e.licensesWithRetro,o=e.willAddThirdPartyCourse,l=e.adjustedLicenseIdList,c=e.reinitializeFormState,d=e.editsession,m=e.parentFormState,v=e.getAllNYCounties,f=e.displayedLicenses,h=e.deselectLicenses,y=e.isMultiSession,b=void 0!==y&&y,g=e.isLoadingEnabled,E=void 0!==g&&g,I=e.setRemovedLicenses,S=e.usersWithRetro,O=e.handleEditRetro,C=e.handleOpenUsersRetroDrawer,j=e.handleDeleteRetroCredits,x=P().selectedLicenses,A=Object(i.useState)(),T=Object(u.a)(A,2),k=T[0],D=T[1],L=F(w.Jk.ManageSessions),B=Object(i.useState)(void 0),R=Object(u.a)(B,2),J=R[0],G=R[1],U=Object(s.c)((function(e){return e.sessions.loading})),z=Object(s.c)((function(e){return e.licenses.userLicenseLimitations})),q=Object(s.c)((function(e){return e.sessions.NYLocation})),M=f&&f.map((function(e){return e.licenseId})),W=(null===M||void 0===M?void 0:M.length)===(null===l||void 0===l?void 0:l.length)||void 0!==l&&(0!==l.length&&!Object(oi.isEmpty)(Object(oi.xor)(M,l))),V=Object(i.useRef)(!0),_=Object(i.useRef)(m);Object(i.useEffect)((function(){V.current&&(c&&c(),x&&x.forEach((function(e){(void 0===_.current.getFieldProps("licenseExpiration.".concat(t,"-").concat(e.licenseId)).value&&_.current.setFieldValue("licenseExpiration.".concat(t,"-").concat(e.licenseId),null),b)&&(void 0===_.current.getFieldProps("licenseStatus.".concat(t,"-").concat(e.licenseId,"-isenabled")).value&&_.current.setFieldValue("licenseStatus.".concat(t,"-").concat(e.licenseId,"-isenabled"),!1))})),V.current=!1)}),[f,x,b,c,t]),Object(i.useEffect)((function(){if(null===f||void 0===f?void 0:f.find((function(e){return e.licenseId===_i}))){var e=_.current.getFieldProps("licensePropsList.".concat(t,"-381_6")).value;""!==e&&void 0!==e||_.current.setFieldValue("licensePropsList.".concat(t,"-381_6"),null)}if(null===f||void 0===f?void 0:f.find((function(e){return e.licenseId===ta}))){var n=_.current.getFieldProps("licensePropsList.".concat(t,"-481_grouped_properties")).value;G(n)}else G(void 0)}),[f,t]);var Y=null===M||void 0===M?void 0:M.includes(ia);Object(i.useEffect)((function(){Y&&v().then((function(e){D(e)}))}),[f,v,Y]);var H=Object(i.useCallback)((function(e){var t,n=null!==(t=null===x||void 0===x?void 0:x.filter((function(t){return t.licenseId!==e.licenseId})))&&void 0!==t?t:[];h&&h(n),o&&c&&c(),b&&I&&I((function(t){var n;return[].concat(Object(ht.a)(t),[null!==(n=e.licenseId)&&void 0!==n?n:0])}))}),[h,b,c,x,I,o]),$=function(e,t){return a.a.createElement(p.Row,{size:"max",crossAxisAlignment:"middle",mainAxisAlignment:"start"},a.a.createElement(p.Column,{mainAxisAlignment:"middle",size:"max",crossAxisAlignment:"left"},a.a.createElement(p.Expanded,{flex:0},a.a.createElement(p.Typography,{variant:"subtitle1",weight:"regular",color:"inherit"},e)),t))},Q=function(e){var t=document.createElement("textarea");return t.innerHTML=e,t.value},Z=Object(i.useCallback)((function(){h&&h([]),o&&c&&c(),b&&x&&x.map((function(e){return I&&I((function(t){var n;return[].concat(Object(ht.a)(t),[null!==(n=e.licenseId)&&void 0!==n?n:0])}))}))}),[h,b,c,x,I,o]),X=Object(i.useCallback)((function(e,n,i){var a=[];if(Object.keys(n).forEach((function(e){var t;a.push(null!==(t=n[e].id)&&void 0!==t?t:0)})),e===ia)if(a.find((function(e){return 3===e})))_.current.setFieldValue("licensePropsList.".concat(t,"-").concat(e,"_grouped_properties"),i);else if(a.find((function(e){return 5===e}))){var r=i.filter((function(e){return 3===e.id}));_.current.setFieldValue("licensePropsList.".concat(t,"-").concat(e,"_checkbox_properties"),r)}e===ta?(Object.keys(n).forEach((function(e){var t,i;2!==(null!==(t=n[e].id)&&void 0!==t?t:0)&&34!==(null!==(i=n[e].id)&&void 0!==i?i:0)&&G(n)})),0===n.length&&i.find((function(e){return 2===e.id||34===e.id}))&&G(void 0)):G(void 0)}),[t]),K=function(e,t){return e===ia&&6===t?[{label:"Yes",value:0},{label:"No",value:1}]:(e===ia||e===_i)&&9===t||e===ta&&17===t?[{label:"No Financial Hardship",value:0},{label:"Financial Hardship Requested",value:1},{label:"Financial Hardship Granted",value:2}]:e===ia&&14===t?[{label:"Group Participation",value:1},{label:"Self-Study",value:2}]:[]},ee=Object(i.useCallback)((function(){var e,t=[];(t.push({label:"NYC",value:"NYC"}),t.push({label:"Outside New York State",value:"Outside New York State"}),void 0!==k)&&k.forEach((function(n){var i,a;e={label:null!==(i=n.name)&&void 0!==i?i:"",value:null!==(a=n.name)&&void 0!==a?a:""},t.push(e)}));return t}),[k]);return Object(i.useMemo)((function(){return a.a.createElement(a.a.Fragment,null,a.a.createElement(p.Grid,{item:!0,xs:12,alignment:"bottom-right"},((null===f||void 0===f?void 0:f.length)||0)>0&&!n&&!W?a.a.createElement(p.Link,{variant:"body1",onClick:function(){return Z()}},"Remove All"):a.a.createElement(p.Typography,{variant:"body1",color:"textSecondary"},"Remove All")),a.a.createElement(p.Grid,{item:!0,xs:12},null===f||void 0===f?void 0:f.sort((function(e,t){if(void 0!==e.name&&void 0!==t.name){if(e.namet.name)return 1}return 0})).map((function(e){var i,s,c,u,v,f,h,y,g,I,x,A,T,w,k,P,D,F,B,R,G,M,W,V,_,Y,Z=null!==(i=e.licenseId)&&void 0!==i?i:0,te=n&&(null===r||void 0===r?void 0:r.includes(Z)),ne=new Array,ie=new Array,ae=new Array,re=new Array,oe=null!==(s=!L||z&&z.length>0&&!z.includes(null===e||void 0===e?void 0:e.licenseId))&&void 0!==s&&s,se=0,le="",ce=null!==(c=e.licenseProperties)&&void 0!==c?c:[];(o&&(ce=ce.filter((function(e){return e.isDisplayedInThirdPartyCourse}))),null===e||void 0===e||null===(u=e.licenseProperties)||void 0===u?void 0:u.filter((function(e){return!e.isForInstructorValidation})))&&(se=null!==(W=null===(V=e.licenseProperties.find((function(e){return null!==e.licensePropertyGroupId&&12!==e.licensePropertyGroupId})))||void 0===V?void 0:V.licensePropertyGroupId)&&void 0!==W?W:0,le=null!==(_=null===(Y=e.licenseProperties.find((function(e){return e.licensePropertyGroupId===se})))||void 0===Y?void 0:Y.licensePropertyGroupLabel)&&void 0!==_?_:"",se&&e.licenseProperties.map((function(t){if(5===t.typeId&&t.licensePropertyGroupId===se&&e.licenseId!==vi){var n,i={id:null!==(n=t.propertyId)&&void 0!==n?n:0,name:t.label};return ae.push(i),ae}return null})),e.licenseProperties.map((function(t){if(5===t.typeId&&null===t.licensePropertyGroupId&&e.licenseId!==vi){var n,i={id:null!==(n=t.propertyId)&&void 0!==n?n:0,name:t.label};return ne.push(i),ne}return null})),e.licenseId===vi&&e.licenseProperties.map((function(e){var t,n,i={id:null!==(t=e.propertyId)&&void 0!==t?t:0,name:null===(n=e.label)||void 0===n?void 0:n.replace("Accounting","")};return 5===e.typeId&&null===e.licensePropertyGroupId?2===e.propertyId?ne.push(i):ie.push(i):5===e.typeId&&e.licensePropertyGroupId===se&&re.push(i),null})));var de=S&&S.filter((function(t){return t.licenseId===e.licenseId})),ue=S&&S.filter((function(t){return t.licenseId===e.licenseId}));return a.a.createElement(a.a.Fragment,null,a.a.createElement(p.Box,{mt:1},a.a.createElement(p.Card,{background:"grey",variant:"outlined"},a.a.createElement(p.CardHeader,{title:a.a.createElement(p.Row,null,a.a.createElement(p.Typography,{variant:"h6"},e.name),b&&a.a.createElement(p.Box,null,a.a.createElement(p.Switch,{id:"licenseStatus.".concat(t,"-").concat(e.licenseId,"-isenabled"),formikContext:!0,color:"primary",loading:E,disabled:te}),b&&m.getFieldProps("licenseStatus.".concat(t,"-").concat(e.licenseId,"-isenabled")).value&&a.a.createElement(p.Typography,{variant:"subtitle1"},"Update")),e.licenseId===qi&&a.a.createElement(p.Box,{ml:2},a.a.createElement(p.Column,null,a.a.createElement(p.Typography,{variant:"caption"},a.a.createElement("i",null,"*Enter the total number of credits as either Regular or In-House/Self-Study.")),a.a.createElement(p.Typography,{variant:"caption"},a.a.createElement("i",null," ","The portion of total credits that count towards the sub-requirement should be entered in the remaining credit categories.")),a.a.createElement(p.Typography,{variant:"caption"},a.a.createElement("i",null,"(Note: the same credits may count towards more than one sub-requirement.)")))),e.licenseId===Vi&&a.a.createElement(p.Box,{ml:2},a.a.createElement(p.Column,null,a.a.createElement(p.Typography,{variant:"caption"},a.a.createElement("i",null,"*Enter the total number of credits as General.")),a.a.createElement(p.Typography,{variant:"caption"},a.a.createElement("i",null,"The portion of General credits that count towards the sub-requirement should be entered in the remaining credit categories.")),a.a.createElement(p.Typography,{variant:"caption"},a.a.createElement("i",null,"(Note: the same credit may count towards more than one sub-requirement.)"))))),subheader:a.a.createElement(p.Row,{mt:1},b&&de&&de.length<6&&ue&&a.a.createElement(p.Grid,{container:!0,spacing:"form",justify:"center"},a.a.createElement(p.Grid,{item:!0,xs:12,alignment:"center"},ue.filter((function(t){return t.licenseId===e.licenseId})).map((function(e){var t;return a.a.createElement(p.Grid,{container:!0,spacing:"form",key:"".concat(e.licenseName,"_").concat(e.licenseId,"_").concat(e.userId)},a.a.createElement(p.Grid,{item:!0,lg:2}),a.a.createElement(p.Grid,{item:!0,lg:3},a.a.createElement(p.Link,{onClick:function(){var t,n,i;return O&&O(null!==(t=e.userId)&&void 0!==t?t:0,null!==(n=e.licenseId)&&void 0!==n?n:0,null!==(i=e.licenseName)&&void 0!==i?i:"")},color:"error"},a.a.createElement(p.Typography,null,"".concat(e.firstName," ").concat(null!==(t=e.middleName)&&void 0!==t?t:""," ").concat(e.lastName)))),a.a.createElement(p.Grid,{item:!0,lg:2},a.a.createElement(p.Typography,null,Object(N.a)(e.sessionStartDate))),a.a.createElement(p.Grid,{item:!0,lg:3},a.a.createElement(p.Link,{onClick:function(){var t,n,i;return j&&j(null!==(t=e.userId)&&void 0!==t?t:0,null!==(n=e.sessionParticipantId)&&void 0!==n?n:0,Object(N.e)(e.applyTo),null!==(i=e.licenseId)&&void 0!==i?i:0)}},a.a.createElement(p.Typography,null,"[Remove Retroactive Credits]"))),a.a.createElement(p.Grid,{item:!0,lg:2}))})))),b&&de&&(null===de||void 0===de?void 0:de.length)>5&&a.a.createElement(p.Grid,{container:!0,spacing:"form",justify:"center"},a.a.createElement(p.Grid,{item:!0,xs:12,alignment:"center"},a.a.createElement(p.Link,{variant:"body1",color:"primary",onClick:function(){var t,n;return C&&C(null!==(t=e.licenseId)&&void 0!==t?t:0,null!==(n=e.name)&&void 0!==n?n:"",ue)}},a.a.createElement(p.Typography,null,"[Show User Retroactive Credits]"))))),action:a.a.createElement(p.Row,null,a.a.createElement(p.Box,null,oe||te||(null===l||void 0===l?void 0:l.includes(e.licenseId))?a.a.createElement(p.Typography,{variant:"body1",color:"textSecondary"},"Remove"):a.a.createElement(p.Link,{variant:"body1",color:"primary",onClick:function(){return H(e)}},"Remove")))}),a.a.createElement(p.CardContent,null,a.a.createElement(p.Grid,{container:!0,spacing:"form"},a.a.createElement(p.Grid,{item:!0,lg:2,md:2,xs:12,stretchContent:!0},$("Credits")),a.a.createElement(p.Grid,{item:!0,lg:10,md:10,xs:12,stretchContent:!0,alignment:"center-left"},!d&&e.licenseId!==Ai&&e.licenseId!==Hi&&a.a.createElement(p.Grid,{container:!0,spacing:1},-1===(null===e||void 0===e?void 0:e.licenseId)?null===e||void 0===e||null===(v=e.licenseCredits)||void 0===v||null===(f=v.filter((function(e){return!e.isArchived})))||void 0===f?void 0:f.map((function(n){var i,r="licenseCreditsList.".concat(t,"-").concat(e.licenseId,"_").concat(n.creditId);return a.a.createElement(p.Grid,{item:!0,lg:6,md:6,xs:6,key:r},a.a.createElement(so,{inputProps:{min:0},name:r,label:Q(null!==(i=n.name)&&void 0!==i?i:""),fullWidth:!0,type:"number",loading:U,disabled:oe||te,error:m.getFieldProps(r).value<0,helperText:m.getFieldProps(r).value<0?a.a.createElement(p.Typography,{color:"error",variant:"caption"},"Invalid input."):void 0}))})):null===e||void 0===e||null===(h=e.licenseCredits)||void 0===h?void 0:h.filter((function(e){return!e.isArchived})).map((function(n){var i,r="licenseCreditsList.".concat(t,"-").concat(e.licenseId,"_").concat(n.creditId);return a.a.createElement(p.Grid,{item:!0,lg:4,md:6,xs:6,key:r},a.a.createElement(so,{inputProps:{min:0},name:r,label:Q(null!==(i=n.name)&&void 0!==i?i:""),fullWidth:!0,type:"number",loading:U,disabled:oe||te,error:m.getFieldProps(r).value<0,helperText:m.getFieldProps(r).value<0?a.a.createElement(p.Typography,{color:"error",variant:"caption"},"Invalid input."):void 0}))}))),!d&&e.licenseId===Ai&&a.a.createElement(a.a.Fragment,null,a.a.createElement(p.Grid,{container:!0,spacing:1},e.licenseId===Ai&&(null===e||void 0===e||null===(y=e.licenseCredits)||void 0===y?void 0:y.filter((function(e){return!e.isArchived})).map((function(n){var i,r="licenseCreditsList.".concat(t,"-").concat(e.licenseId,"_").concat(n.creditId);return 1===n.creditId?a.a.createElement(p.Grid,{item:!0,lg:4,md:6,xs:6,key:r},a.a.createElement(so,{inputProps:{min:0},name:r,label:Q(null!==(i=n.name)&&void 0!==i?i:""),fullWidth:!0,type:"number",loading:U,disabled:oe||te,error:m.getFieldProps(r).value<0,helperText:m.getFieldProps(r).value<0?a.a.createElement(p.Typography,{color:"error",variant:"caption"},"Invalid input."):void 0})):a.a.createElement(a.a.Fragment,null)})))),a.a.createElement("hr",null),a.a.createElement(p.Grid,{container:!0,spacing:1,alignment:"center"},a.a.createElement(p.Grid,{item:!0,alignment:"center"},a.a.createElement(p.Box,{mb:1},a.a.createElement(p.Typography,{variant:"body2",align:"center"},a.a.createElement("i",null,a.a.createElement("b",null,"Prior to 01/01/2018")))))),a.a.createElement(p.Grid,{container:!0,spacing:1},e.licenseId===Ai&&(null===e||void 0===e||null===(g=e.licenseCredits)||void 0===g?void 0:g.filter((function(e){return!e.isArchived})).map((function(n){var i,r="licenseCreditsList.".concat(t,"-").concat(e.licenseId,"_").concat(n.creditId);return 1!==n.creditId?a.a.createElement(p.Grid,{item:!0,lg:4,md:6,xs:6,key:r},a.a.createElement(so,{inputProps:{min:0},name:r,label:Q(null!==(i=n.name)&&void 0!==i?i:""),fullWidth:!0,type:"number",loading:U,disabled:oe||te,error:m.getFieldProps(r).value<0,helperText:m.getFieldProps(r).value<0?a.a.createElement(p.Typography,{color:"error",variant:"caption"},"Invalid input."):void 0})):a.a.createElement(a.a.Fragment,null)}))))),!d&&e.licenseId===Hi&&a.a.createElement(a.a.Fragment,null,a.a.createElement(p.Grid,{container:!0,spacing:1},e.licenseId===Hi&&(null===e||void 0===e||null===(I=e.licenseCredits)||void 0===I?void 0:I.filter((function(e){return!e.isArchived})).map((function(n){var i,r="licenseCreditsList.".concat(t,"-").concat(e.licenseId,"_").concat(n.creditId);return 1!==n.creditId&&2!==n.creditId?a.a.createElement(p.Grid,{item:!0,lg:4,md:6,xs:6,key:r},a.a.createElement(so,{inputProps:{min:0},name:r,label:Q(null!==(i=n.name)&&void 0!==i?i:""),fullWidth:!0,type:"number",loading:U,disabled:oe||te,error:m.getFieldProps(r).value<0,helperText:m.getFieldProps(r).value<0?a.a.createElement(p.Typography,{color:"error",variant:"caption"},"Invalid input."):void 0})):a.a.createElement(a.a.Fragment,null)})))),a.a.createElement(p.Grid,{container:!0,spacing:1,alignment:"center"},a.a.createElement(p.Grid,{item:!0,alignment:"center"},a.a.createElement(p.Box,{mb:1},a.a.createElement(p.Typography,{variant:"body1",align:"center"},a.a.createElement("b",null,"Before January 1, 2024"))))),a.a.createElement(p.Grid,{container:!0,spacing:1},e.licenseId===Hi&&(null===e||void 0===e||null===(x=e.licenseCredits)||void 0===x?void 0:x.filter((function(e){return!e.isArchived})).map((function(n){var i,r="licenseCreditsList.".concat(t,"-").concat(e.licenseId,"_").concat(n.creditId);return 1===n.creditId||2===n.creditId?a.a.createElement(p.Grid,{item:!0,lg:4,md:6,xs:6,key:r},a.a.createElement(so,{inputProps:{min:0},name:r,label:Q(null!==(i=n.name)&&void 0!==i?i:""),fullWidth:!0,type:"number",loading:U,disabled:oe||te,error:m.getFieldProps(r).value<0,helperText:m.getFieldProps(r).value<0?a.a.createElement(p.Typography,{color:"error",variant:"caption"},"Invalid input."):void 0})):a.a.createElement(a.a.Fragment,null)}))))),d&&e.licenseId!==Ai&&e.licenseId!==Hi&&a.a.createElement(p.Grid,{container:!0,spacing:1},-1===(null===e||void 0===e?void 0:e.licenseId)?null===e||void 0===e||null===(A=e.licenseCredits)||void 0===A?void 0:A.map((function(n){var i,r="licenseCreditsList.".concat(t,"-").concat(e.licenseId,"_").concat(n.creditId);return a.a.createElement(p.Grid,{item:!0,lg:6,md:6,xs:6,key:r},a.a.createElement(so,{inputProps:{min:0},name:r,label:Q(null!==(i=n.name)&&void 0!==i?i:""),fullWidth:!0,type:"number",loading:U,disabled:oe||te||b&&!m.getFieldProps("licenseStatus.".concat(t,"-").concat(e.licenseId,"-isenabled")).value,error:m.getFieldProps(r).value<0,helperText:m.getFieldProps(r).value<0?a.a.createElement(p.Typography,{color:"error",variant:"caption"},"Invalid input."):void 0}))})):null===e||void 0===e||null===(T=e.licenseCredits)||void 0===T?void 0:T.map((function(n){var i,r,o="licenseCreditsList.".concat(t,"-").concat(e.licenseId,"_").concat(n.creditId),s=m.getFieldProps(o).value;return n.isArchived?n.isArchived&&s>0?a.a.createElement(p.Grid,{item:!0,lg:4,md:6,xs:6},a.a.createElement(p.Row,null,a.a.createElement(so,{inputProps:{min:0},name:o,label:Q(null!==(r=n.name)&&void 0!==r?r:""),fullWidth:!0,type:"number",loading:U,disabled:oe||te||b&&!m.getFieldProps("licenseStatus.".concat(t,"-").concat(e.licenseId,"-isenabled")).value,error:m.getFieldProps(o).value<0,helperText:m.getFieldProps(o).value<0?a.a.createElement(p.Typography,{color:"error",variant:"caption"},"Invalid input."):void 0}),a.a.createElement(p.Box,{mb:2,ml:.5},a.a.createElement(p.Tooltip,{title:"This credit type has been archived.",placement:"top",style:{maxWidth:10}},a.a.createElement("span",null,"\xa0",a.a.createElement(p.SystemIcon,{icon:"Help"})))))):a.a.createElement(a.a.Fragment,null):a.a.createElement(p.Grid,{item:!0,lg:4,md:6,xs:6,key:o},a.a.createElement(so,{inputProps:{min:0},name:o,label:Q(null!==(i=n.name)&&void 0!==i?i:""),fullWidth:!0,type:"number",loading:U,disabled:oe||te||b&&!m.getFieldProps("licenseStatus.".concat(t,"-").concat(e.licenseId,"-isenabled")).value,error:m.getFieldProps(o).value<0,helperText:m.getFieldProps(o).value<0?a.a.createElement(p.Typography,{color:"error",variant:"caption"},"Invalid input."):void 0}))}))),d&&e.licenseId===Ai&&a.a.createElement(a.a.Fragment,null,a.a.createElement(p.Grid,{container:!0,spacing:1},e.licenseId===Ai&&(null===e||void 0===e||null===(w=e.licenseCredits)||void 0===w?void 0:w.filter((function(e){return!e.isArchived})).map((function(n){var i,r="licenseCreditsList.".concat(t,"-").concat(e.licenseId,"_").concat(n.creditId);return 1===n.creditId?a.a.createElement(p.Grid,{item:!0,lg:4,md:6,xs:6},a.a.createElement(so,{inputProps:{min:0},name:r,label:Q(null!==(i=n.name)&&void 0!==i?i:""),fullWidth:!0,type:"number",loading:U,disabled:oe||te||b&&!m.getFieldProps("licenseStatus.".concat(t,"-").concat(e.licenseId,"-isenabled")).value,error:m.getFieldProps(r).value<0,helperText:m.getFieldProps(r).value<0?a.a.createElement(p.Typography,{color:"error",variant:"caption"},"Invalid input."):void 0})):a.a.createElement(a.a.Fragment,null)})))),a.a.createElement("hr",null),a.a.createElement(p.Grid,{container:!0,spacing:1,alignment:"center"},a.a.createElement(p.Grid,{item:!0,alignment:"center"},a.a.createElement(p.Box,{mb:1},a.a.createElement(p.Typography,{variant:"body2",align:"center"},a.a.createElement("i",null,a.a.createElement("b",null,"Prior to 01/01/2018")))))),a.a.createElement(p.Grid,{container:!0,spacing:1},e.licenseId===Ai&&(null===e||void 0===e||null===(k=e.licenseCredits)||void 0===k?void 0:k.filter((function(e){return!e.isArchived})).map((function(n){var i,r="licenseCreditsList.".concat(t,"-").concat(e.licenseId,"_").concat(n.creditId);return 1!==n.creditId?a.a.createElement(p.Grid,{item:!0,lg:4,md:6,xs:6},a.a.createElement(so,{inputProps:{min:0},name:r,label:Q(null!==(i=n.name)&&void 0!==i?i:""),fullWidth:!0,type:"number",loading:U,disabled:oe||te||b&&!m.getFieldProps("licenseStatus.".concat(t,"-").concat(e.licenseId,"-isenabled")).value,error:m.getFieldProps(r).value<0,helperText:m.getFieldProps(r).value<0?a.a.createElement(p.Typography,{color:"error",variant:"caption"},"Invalid input."):void 0})):a.a.createElement(a.a.Fragment,null)}))))),d&&e.licenseId===Hi&&a.a.createElement(a.a.Fragment,null,a.a.createElement(p.Grid,{container:!0,spacing:1},e.licenseId===Hi&&(null===e||void 0===e||null===(P=e.licenseCredits)||void 0===P?void 0:P.filter((function(e){return!e.isArchived})).map((function(n){var i,r="licenseCreditsList.".concat(t,"-").concat(e.licenseId,"_").concat(n.creditId);return 1!==n.creditId&&2!==n.creditId?a.a.createElement(p.Grid,{item:!0,lg:4,md:6,xs:6},a.a.createElement(so,{inputProps:{min:0},name:r,label:Q(null!==(i=n.name)&&void 0!==i?i:""),fullWidth:!0,type:"number",loading:U,disabled:oe||te||b&&!m.getFieldProps("licenseStatus.".concat(t,"-").concat(e.licenseId,"-isenabled")).value,error:m.getFieldProps(r).value<0,helperText:m.getFieldProps(r).value<0?a.a.createElement(p.Typography,{color:"error",variant:"caption"},"Invalid input."):void 0})):a.a.createElement(a.a.Fragment,null)})))),a.a.createElement(p.Grid,{container:!0,spacing:1,alignment:"center"},a.a.createElement(p.Grid,{item:!0,alignment:"center"},a.a.createElement(p.Box,{mb:1},a.a.createElement(p.Typography,{variant:"body1",align:"center"},a.a.createElement("b",null,"Before January 1, 2024"))))),a.a.createElement(p.Grid,{container:!0,spacing:1},e.licenseId===Hi&&(null===e||void 0===e||null===(D=e.licenseCredits)||void 0===D?void 0:D.filter((function(e){return!e.isArchived})).map((function(n){var i,r="licenseCreditsList.".concat(t,"-").concat(e.licenseId,"_").concat(n.creditId);return 1===n.creditId||2===n.creditId?a.a.createElement(p.Grid,{item:!0,lg:4,md:6,xs:6},a.a.createElement(so,{inputProps:{min:0},name:r,label:Q(null!==(i=n.name)&&void 0!==i?i:""),fullWidth:!0,type:"number",loading:U,disabled:oe||te||b&&!m.getFieldProps("licenseStatus.".concat(t,"-").concat(e.licenseId,"-isenabled")).value,error:m.getFieldProps(r).value<0,helperText:m.getFieldProps(r).value<0?a.a.createElement(p.Typography,{color:"error",variant:"caption"},"Invalid input."):void 0})):a.a.createElement(a.a.Fragment,null)})))))),(ne&&ne.length>0||ae&&ae.length>0)&&a.a.createElement(a.a.Fragment,null,a.a.createElement(p.Grid,{item:!0,lg:2,md:2,xs:12,stretchContent:!0},$("Properties")),a.a.createElement(p.Grid,{item:!0,lg:10,md:10,xs:12,stretchContent:!0,alignment:"center-left"},a.a.createElement(p.Grid,{container:!0,spacing:1},ne&&ne.length>0&&a.a.createElement(p.Grid,{item:!0,lg:4,md:6,xs:12,alignment:"top-left",key:"".concat(e.licenseId,"_select_properties"),stretchContent:!0},a.a.createElement(p.ComboBox,{id:"licensePropsList.".concat(t,"-").concat(e.licenseId,"_checkbox_properties"),label:"Qualifiers",fullWidth:!0,multiple:!0,options:ne||[],formikContext:!0,loading:U,disabled:oe||te||b&&!m.getFieldProps("licenseStatus.".concat(t,"-").concat(e.licenseId,"-isenabled")).value,onChange:function(t,n){var i;X(null!==(i=e.licenseId)&&void 0!==i?i:0,n,ae)}})),ie&&ie.length>0&&a.a.createElement(p.Grid,{item:!0,lg:4,md:6,xs:12,alignment:"top-left",key:"".concat(e.licenseId,"_select_properties_nasba"),stretchContent:!0},a.a.createElement(p.ComboBox,{id:"licensePropsList.".concat(t,"-").concat(e.licenseId,"_nasbacheckbox_properties"),label:"Jurisdictions Qualifiers",fullWidth:!0,multiple:!0,options:ie||[],formikContext:!0,loading:U,disabled:oe||te||b&&!m.getFieldProps("licenseStatus.".concat(t,"-").concat(e.licenseId,"-isenabled")).value})),ae&&ae.length>0&&a.a.createElement(p.Grid,{item:!0,lg:4,md:6,xs:12,alignment:"top-left",key:"".concat(e.licenseId,"_grouped_properties"),stretchContent:!0},a.a.createElement(p.ComboBox,{id:"licensePropsList.".concat(t,"-").concat(e.licenseId,"_grouped_properties"),label:le,fullWidth:!0,multiple:!0,options:ae||[],formikContext:!0,loading:U,disabled:oe||te||b&&!m.getFieldProps("licenseStatus.".concat(t,"-").concat(e.licenseId,"-isenabled")).value,onChange:function(t,n){var i;X(null!==(i=e.licenseId)&&void 0!==i?i:0,n,ne)}})),re&&re.length>0&&a.a.createElement(p.Grid,{item:!0,lg:4,md:6,xs:12,alignment:"top-left",key:"".concat(e.licenseId,"_grouped_properties_nasba"),stretchContent:!0},a.a.createElement(p.ComboBox,{id:"licensePropsList.".concat(t,"-").concat(e.licenseId,"_nasbagrouped_properties"),label:"Jurisdictions Course Groups",fullWidth:!0,multiple:!0,options:re||[],formikContext:!0,loading:U,disabled:oe||te||b&&!m.getFieldProps("licenseStatus.".concat(t,"-").concat(e.licenseId,"-isenabled")).value})),e.licenseId===$i&&(null===(F=e.licenseProperties)||void 0===F?void 0:F.filter((function(e){return 1===e.typeId&&"Approval Code"!==e.label})).map((function(n){var i="licensePropsList.".concat(t,"-").concat(e.licenseId,"_").concat(n.propertyId);return a.a.createElement(p.Grid,{item:!0,lg:4,md:6,xs:6,alignment:"top-left",key:"".concat(e.licenseId,"_").concat(n.propertyId,"_").concat(n.typeId),stretchContent:!0},a.a.createElement(so,{name:i,label:n.label,fullWidth:!0,type:"text",loading:U,disabled:oe||te||b&&!m.getFieldProps("licenseStatus.".concat(t,"-").concat(e.licenseId,"-isenabled")).value}))})))))),e.licenseId===ta&&J&&J.length>0&&a.a.createElement(p.Grid,{item:!0,lg:2,md:2,xs:12,stretchContent:!0},$("Property Values")),e.licenseId===ta&&J&&J.length>0&&a.a.createElement(p.Grid,{item:!0,lg:10,md:10,xs:12,stretchContent:!0,alignment:"center-left"},a.a.createElement(p.Grid,{container:!0,spacing:1},J.map((function(n){var i,r,o,s=null!==(i=null===(r=e.licenseProperties)||void 0===r||null===(o=r.find((function(e){var t,i;return 12===e.licensePropertyGroupId&&parseInt(null!==(t=null===(i=e.label)||void 0===i?void 0:i.split("_")[0])&&void 0!==t?t:"0",10)===n.id})))||void 0===o?void 0:o.propertyId)&&void 0!==i?i:0,l="licensePropsList.".concat(t,"-").concat(e.licenseId,"_").concat(s,"_").concat(n.id,"_value");return a.a.createElement(p.Grid,{item:!0,lg:4,md:6,xs:6,alignment:"top-left",key:"".concat(e.licenseId,"_").concat(s,"_property_value"),stretchContent:!0},a.a.createElement(so,{inputProps:{min:0},name:l,label:n.name,fullWidth:!0,type:"number",loading:U,disabled:oe||te||b&&!m.getFieldProps("licenseStatus.".concat(t,"-").concat(e.licenseId,"-isenabled")).value,maxLabelLength:45,error:m.getFieldProps(l).value<0,helperText:m.getFieldProps(l).value<0?a.a.createElement(p.Typography,{color:"error",variant:"caption"},"Invalid input."):void 0}))})))),(e.licenseId===_i&&0!==ce.filter((function(e){var t;return[Xa.PCAMID,Xa.PCAMReApprovalDate,Xa.FinancialHardship].includes(null!==(t=e.propertyId)&&void 0!==t?t:0)})).length||e.licenseId===ia&&0!==ce.filter((function(e){var t;return[Ka.RequestInNYYearEndReport,Ka.AverageFee,Ka.SelectNYLocation,Ka.FinancialHardship,Ka.ParticipationMethod].includes(null!==(t=e.propertyId)&&void 0!==t?t:0)})).length||e.licenseId===ta&&ce.find((function(e){return e.propertyId===er})))&&a.a.createElement(a.a.Fragment,null,a.a.createElement(p.Grid,{item:!0,lg:2,md:2,xs:12,stretchContent:!0},$("Special Conditions")),a.a.createElement(p.Grid,{item:!0,lg:10,md:10,xs:12,stretchContent:!0,alignment:"center-left"},a.a.createElement(p.Grid,{container:!0,spacing:1},ce&&ce.filter((function(e){return!e.isForInstructorValidation&&12!==e.licensePropertyGroupId})).map((function(n){var i,r,o="licensePropsList.".concat(t,"-").concat(e.licenseId,"_").concat(n.propertyId);if(1!==n.propertyId&&(e.licenseId!==ia||7!==n.propertyId&&6!==n.propertyId))switch(n.typeId){case 1:return a.a.createElement(p.Grid,{item:!0,lg:4,md:6,xs:12,alignment:"top-left",key:"".concat(e.licenseId,"_").concat(n.propertyId,"_").concat(n.typeId),stretchContent:!0},a.a.createElement(so,{name:o,label:n.label,fullWidth:!0,type:"text",loading:U,disabled:oe||te||b&&!m.getFieldProps("licenseStatus.".concat(t,"-").concat(e.licenseId,"-isenabled")).value}));case 2:return a.a.createElement(p.Grid,{item:!0,lg:4,md:6,xs:12,alignment:"top-left",key:"".concat(e.licenseId,"_").concat(n.propertyId,"_").concat(n.typeId),stretchContent:!0},a.a.createElement(p.SelectField,{id:"licensePropsList.".concat(t,"-").concat(e.licenseId,"_").concat(n.propertyId),label:n.label,fullWidth:!0,formikContext:!0,loading:U,maxLabelLength:20,disabled:oe||te||b&&!m.getFieldProps("licenseStatus.".concat(t,"-").concat(e.licenseId,"-isenabled")).value},K(Z,null!==(i=n.propertyId)&&void 0!==i?i:0).map((function(e){return a.a.createElement(p.MenuItem,{key:e.value,value:e.value},e.label)}))));case 3:return a.a.createElement(p.Grid,{item:!0,lg:4,md:6,xs:12,alignment:"top-left",key:o,stretchContent:!0},a.a.createElement(p.DateTimeField,{type:"date",id:o,label:null!==(r=n.label)&&void 0!==r?r:"",fullWidth:!0,formikContext:!0,loading:U,disabled:oe||te||b&&!m.getFieldProps("licenseStatus.".concat(t,"-").concat(e.licenseId,"-isenabled")).value,format:Object(N.i)()}));case 4:return a.a.createElement(p.Grid,{item:!0,lg:4,md:6,xs:12,alignment:"top-left",key:"".concat(e.licenseId,"_").concat(n.propertyId,"_").concat(n.typeId),stretchContent:!0},a.a.createElement(so,{inputProps:{min:0},name:o,label:n.label,fullWidth:!0,type:"number",loading:U,disabled:oe||te||b&&!m.getFieldProps("licenseStatus.".concat(t,"-").concat(e.licenseId,"-isenabled")).value,helperText:m.getFieldProps(o).value<0?a.a.createElement(p.Typography,{color:"error",variant:"caption"},"Invalid input."):void 0}));default:return a.a.createElement(a.a.Fragment,null)}if(e.licenseId===ia){var s,l,c;if(7===n.propertyId)return a.a.createElement(p.Grid,{item:!0,lg:4,md:6,xs:12,alignment:"top-left",key:"".concat(e.licenseId,"_").concat(n.propertyId,"_1"),stretchContent:!0},a.a.createElement(p.SelectField,{id:"licensePropsList.".concat(t,"-").concat(e.licenseId,"_").concat(n.propertyId),label:n.label,fullWidth:!0,formikContext:!0,loading:U,maxLabelLength:20,disabled:oe||te||b&&!m.getFieldProps("licenseStatus.".concat(t,"-").concat(e.licenseId,"-isenabled")).value,value:null!==(s=m.getFieldProps("licensePropsList.".concat(t,"-").concat(e.licenseId,"_").concat(n.propertyId)).value)&&void 0!==s?s:q,onChange:function(i){void 0!==m&&m.setFieldValue("licensePropsList.".concat(t,"-").concat(e.licenseId,"_").concat(n.propertyId),i.target.value)}},ee().map((function(e){return a.a.createElement(p.MenuItem,{key:e.value,value:e.value},e.label)}))));if(6===n.propertyId)return a.a.createElement(p.Grid,{item:!0,lg:4,md:6,xs:12,alignment:"top-left",key:"".concat(e.licenseId,"_").concat(n.propertyId,"_").concat(n.typeId),stretchContent:!0},a.a.createElement(p.SelectField,{id:"licensePropsList.".concat(t,"-").concat(e.licenseId,"_").concat(n.propertyId),label:n.label,fullWidth:!0,formikContext:!0,loading:U,maxLabelLength:20,disabled:oe||te||b&&!m.getFieldProps("licenseStatus.".concat(t,"-").concat(e.licenseId,"-isenabled")).value,value:null!==(l=m.getFieldProps("licensePropsList.".concat(t,"-").concat(e.licenseId,"_").concat(n.propertyId)).value)&&void 0!==l?l:"0",onChange:function(i){void 0!==m&&m.setFieldValue("licensePropsList.".concat(t,"-").concat(e.licenseId,"_").concat(n.propertyId),i.target.value)}},K(Z,null!==(c=n.propertyId)&&void 0!==c?c:0).map((function(e){return a.a.createElement(p.MenuItem,{key:e.value,value:e.value},e.label)}))))}return null}))))),0!==(null===e||void 0===e||null===(B=e.licenseProperties)||void 0===B?void 0:B.length)&&(null===e||void 0===e||null===(R=e.licenseProperties)||void 0===R?void 0:R.find((function(e){return 1===e.propertyId})))&&a.a.createElement(a.a.Fragment,null,a.a.createElement(p.Grid,{item:!0,lg:2,md:2,xs:12,stretchContent:!0},$("Approval")),a.a.createElement(p.Grid,{item:!0,lg:10,md:10,xs:12,stretchContent:!0,alignment:"center-left"},a.a.createElement(p.Grid,{container:!0,spacing:1},a.a.createElement(p.Grid,{item:!0,lg:4,md:4,xs:12},a.a.createElement(p.SelectField,{id:"licenseStatus.".concat(t,"-").concat(e.licenseId),label:"Credit Approval",fullWidth:!0,formikContext:!0,loading:U,disabled:oe||te||b&&!m.getFieldProps("licenseStatus.".concat(t,"-").concat(e.licenseId,"-isenabled")).value,value:null!==(G=m.getFieldProps("licenseStatus.".concat(t,"-").concat(e.licenseId)).value)&&void 0!==G?G:1,onChange:function(n){void 0!==m&&m.setFieldValue("licenseStatus.".concat(t,"-").concat(e.licenseId),n.target.value)}},a.a.createElement(p.MenuItem,{key:1,value:1},"Approved"),a.a.createElement(p.MenuItem,{key:2,value:2},"Pending"),d&&a.a.createElement(p.MenuItem,{key:3,value:3},"Denied"))),(null===e||void 0===e?void 0:e.licenseProperties)&&(null===e||void 0===e||null===(M=e.licenseProperties)||void 0===M?void 0:M.filter((function(e){return!e.isForInstructorValidation})).map((function(n){var i,r="licensePropsList.".concat(t,"-").concat(e.licenseId,"_").concat(n.propertyId);if(e.licenseId!==_i&&e.licenseId!==ia&&e.licenseId!==ta&&e.licenseId!==$i||1===n.propertyId)switch(n.typeId){case 1:return a.a.createElement(p.Grid,{item:!0,lg:4,md:4,xs:12,alignment:"top-left",key:"".concat(e.licenseId,"_").concat(n.propertyId,"_").concat(n.typeId),stretchContent:!0},a.a.createElement(so,{name:r,label:n.label,type:"text",fullWidth:!0,loading:U,disabled:!(!oe&&!te&&"Approval Code"!==n.label)&&(2===m.getFieldProps("licenseStatus.".concat(t,"-").concat(e.licenseId)).value||3===m.getFieldProps("licenseStatus.".concat(t,"-").concat(e.licenseId)).value||b&&!m.getFieldProps("licenseStatus.".concat(t,"-").concat(e.licenseId,"-isenabled")).value||te)}));case 2:return a.a.createElement(p.Grid,{item:!0,lg:4,md:6,xs:12,alignment:"top-left",key:"".concat(e.licenseId,"_").concat(n.propertyId,"_").concat(n.typeId),stretchContent:!0},a.a.createElement(so,{name:r,label:n.label,fullWidth:!0,type:"number",loading:U,disabled:oe||te||b&&!m.getFieldProps("licenseStatus.".concat(t,"-").concat(e.licenseId,"-isenabled")).value}));case 3:return a.a.createElement(p.Grid,{item:!0,lg:4,md:6,xs:12,alignment:"top-left",key:"".concat(e.licenseId,"_").concat(n.propertyId,"_").concat(n.typeId),stretchContent:!0},a.a.createElement(p.DateTimeField,{type:"date",id:"licensePropsList.".concat(t,"-").concat(e.licenseId,"_").concat(n.propertyId),label:null!==(i=n.label)&&void 0!==i?i:"",fullWidth:!0,formikContext:!0,loading:U,disabled:oe||te||b&&!m.getFieldProps("licenseStatus.".concat(t,"-").concat(e.licenseId,"-isenabled")).value,format:Object(N.i)()}));case 4:return a.a.createElement(p.Grid,{item:!0,lg:4,md:6,xs:12,alignment:"top-left",key:"".concat(e.licenseId,"_").concat(n.propertyId,"_").concat(n.typeId),stretchContent:!0},a.a.createElement(p.Box,{mt:1,mb:1},a.a.createElement(so,{name:r,label:n.label,type:"number",fullWidth:!0,loading:U,disabled:oe||te||b&&!m.getFieldProps("licenseStatus.".concat(t,"-").concat(e.licenseId,"-isenabled")).value})));default:return a.a.createElement(a.a.Fragment,null)}return null})))))),a.a.createElement(p.Grid,{item:!0,lg:2,md:2,xs:12,stretchContent:!0},$("Credits Expiration")),a.a.createElement(p.Grid,{item:!0,lg:10,md:10,xs:12,stretchContent:!0,alignment:"center-left"},a.a.createElement(p.Grid,{container:!0,spacing:1},a.a.createElement(p.Grid,{item:!0,lg:4,md:6,xs:12,alignment:"top-left",key:"licenseExpiration.".concat(t,"-").concat(e.licenseId),stretchContent:!0},a.a.createElement(p.DateTimeField,{type:"date",id:"licenseExpiration.".concat(t,"-").concat(e.licenseId),label:"Expiration Date",fullWidth:!0,formikContext:!0,loading:U,disabled:oe||te||b&&!m.getFieldProps("licenseStatus.".concat(t,"-").concat(e.licenseId,"-isenabled")).value,format:Object(N.i)()})))))))))}))))}),[L,U,t,n,r,o,l,d,m,f,b,E,J,z,S,O,C,q,ee,W,j,H,X,Z])})),uo=n(90),mo=Object(s.b)((function(e){return{firmLicenses:e.licenses.firmLicenses,selectedSession:e.sessions.selectedSession}}),(function(e){return{getLicenses:function(){return e(uo.c())}}})),vo=mo((function(e){var t=e.adjustedLicenseIdList,n=e.editsession,r=e.firmLicenses,o=e.getLicenses,s=e.parentFormState,l=e.sessionId,c=e.datesAndCreditsDisabled,d=e.licensesWithRetro,u=e.willAddThirdPartyCourse,m=void 0!==u&&u,v=e.handleOpenLicenseDrawer,f=e.reinitializeFormState,h=e.displayedLicenses,y=e.deselectLicenses,b=e.isMultiSession,g=e.isLoadingEnabled,E=e.setRemovedLicenses,I=e.usersWithRetro,S=e.handleEditRetro,O=e.handleOpenUsersRetroDrawer,C=e.handleDeleteRetroCredits,j=e.isFromCourseSearchScreen,x=void 0!==j&&j;return Object(i.useEffect)((function(){n||o()}),[n,o]),Object(i.useMemo)((function(){return a.a.createElement(a.a.Fragment,null,a.a.createElement(p.Grid,{container:!0},null===r&&n?a.a.createElement(p.Skeleton,{height:30,width:"100%"}):a.a.createElement(a.a.Fragment,null,0===(null===h||void 0===h?void 0:h.length)||void 0===h?a.a.createElement(p.Grid,{item:!0,xs:12,stretchContent:!0},a.a.createElement(p.Grid,{container:!0,spacing:"form",justify:"center"},a.a.createElement(p.Grid,{item:!0,lg:6,xs:12,stretchContent:!0,alignment:"center"},m&&x&&!n?a.a.createElement(p.Box,{mt:.75,textAlign:"center"},a.a.createElement(p.Button,{size:"medium",variant:"contained",color:"primary",startIcon:a.a.createElement(p.SystemIcon,{size:"md",icon:"Add",color:"inherit"}),onClick:function(){return v&&v()}},"Add Credits")):a.a.createElement(p.Box,{m:5},a.a.createElement(p.Alert,{variant:"standard",type:"info",icon:"Info"},"No credits selected"))))):a.a.createElement(a.a.Fragment,null,a.a.createElement(co,{sessionId:l,datesAndCreditsDisabled:c,licensesWithRetro:d,willAddThirdPartyCourse:m,adjustedLicenseIdList:t,reinitializeFormState:f,editsession:n,parentFormState:s,displayedLicenses:h,deselectLicenses:y,isMultiSession:b,isLoadingEnabled:g,setRemovedLicenses:E,usersWithRetro:I,handleEditRetro:S,handleOpenUsersRetroDrawer:O,handleDeleteRetroCredits:C})))))}),[t,n,r,s,l,c,d,m,v,f,h,y,b,g,E,I,S,O,x,C])})),fo=(n(666),n(399)),po=function(e){return{type:fo.a,payload:e}},ho=function(){return function(e){return e(po(null)),W.G.getAll(void 0,w.lg.fromJS({pageSize:-1})).then((function(t){return e(po(t.evaluations)),t.evaluations})).catch((function(){return e(po()),[]}))}},yo=function(){return function(e){return e(po(null)),W.G.getAll(void 0,w.lg.fromJS({pageSize:-1,searchCriteria:["Active"]})).then((function(t){return e(po(t.evaluations)),t.evaluations})).catch((function(){return e(po()),[]}))}},bo=(n(669),n(158)),go=function(e){return{type:bo.f,payload:e}},Eo=function(e){return{type:bo.g,payload:e}},Io=function(e){return{type:bo.h,payload:e}},So=function(e){return{type:bo.e,payload:e}},Oo=function(e){return{type:bo.i,payload:e}},Co=function(e,t){var n=new w.Pg({filterBy:[],searchCriteria:["Active"],sortBy:"name",page:1,pageSize:10});return function(i,a){var r=a().rooms,o=r.requestBody,s=r.selectedRooms,l=r.statusFilter;return t||(i(go(null)),i(Oo(""))),W.qb.getAll(void 0,w.Pg.fromJS(void 0!==e?e?n:o:{sortBy:"name"})).then((function(a){var r;return t||(i(go(a.rooms)),i((r=a.recordCount,{type:bo.d,payload:r})),i(Io(e?[]:s)),i(So(void 0!==e?e?n:o:{sortBy:"name"})),i(Oo(e?"Active":void 0!==l&&null!==l?l:"Active"))),a.rooms})).catch((function(){i(go())}))}},jo=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return function(t,n){var i=n().rooms.selectedRoom;return(e?W.qb.create("v1",w.Rc.fromJS(i)):W.qb.update("v1",w.Rn.fromJS(i))).then((function(){t(Io([])),t(Object(Z.a)({message:"Save successful",variant:"success"})),t(Co(!0))})).catch((function(e){t(Object(Z.b)(e))}))}},xo=function(e,t,n){return function(i){return W.qb.validateRoomName(void 0,w.Ip.fromJS(new w.Ip({roomIds:e,name:t,locationId:n}))).then((function(e){return e})).catch((function(e){i(Object(Z.b)(e))}))}},Ao=function(e,t){return function(n){return W.qb.validateRoomCode(void 0,w.Hp.fromJS(new w.Hp({roomIds:e,code:t}))).then((function(e){return e})).catch((function(e){n(Object(Z.b)(e))}))}},To=function(){return function(e){e(Object(wt.d)({filterBy:["isActive:true"],searchCriteria:[],sortBy:"name",page:1,pageSize:-1})),e(Object(wt.b)(!1))}},wo=(n(675),n(167),n(206),n(51)),ko=function(e){return function(t,n){var i=n().sessions.sessionRequestBody,a=new w.Wg({courseId:e,sortBy:"startDate"});return i&&(a.searchCriteria=i.searchCriteria),t(kn(null)),t(Fn(!0)),W.Ab.getAll(void 0,w.Wg.fromJS(a)).then((function(e){return t(kn(e.sessions)),t(Fn(!1)),e})).catch((function(){t(kn()),t(Fn(!1))}))}},Po=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return function(i,a){var r,o,s=a().sessions.savedCalendarFilters,l=null===s||void 0===s?void 0:s.find((function(e){return e.isDefault}));n&&(void 0===l?(i(Jn(0)),i(Bn({searchCriteria:void 0,filterBy:void 0})),i(Rn([]))):(i(Jn(l.calendarSavedFilterId)),i(Bn({searchCriteria:null===(r=l.filter)||void 0===r?void 0:r.split("|"),filterBy:void 0})),i(Rn(null===(o=l.filter)||void 0===o?void 0:o.split("|")))));var c=a().sessions.sessionFilterRequestBody;i(Fn(!0));var d=new w.Xg({pageSize:-1,filterBy:null===c||void 0===c?void 0:c.filterBy,searchCriteria:null===c||void 0===c?void 0:c.searchCriteria,startDate:e,endDate:t});return W.Ab.getAllSessionByMonth(void 0,w.Xg.fromJS(d)).then((function(e){return i(Fn(!1)),e})).catch((function(){i(Fn(!1))}))}},No=function(e,t,n){return function(i,a){var r=a().sessions.recurringSessionSetup,o=new w.nm({frequency:null===r||void 0===r?void 0:r.frequency,interval:null===r||void 0===r?void 0:r.interval,day:null===r||void 0===r?void 0:r.day,dayOfWeek:null===r||void 0===r?void 0:r.dayOfWeek,daysOfWeek:null===r||void 0===r?void 0:r.daysOfWeek,week:null===r||void 0===r?void 0:r.week}),s=new w.Zc({sessions:t,sessionRecurrencePattern:o,scheduleId:n});return W.Ab.create(void 0,w.Zc.fromJS(s)).then((function(){i(Object(Z.a)({message:"Session successfully saved.",variant:"success"})),i(Pn(null)),i(Nn(null)),i(Object(wo.g)(null)),i(ko(e))})).catch((function(e){i(Object(Z.b)(e))}))}},Do=function(e,t){return function(n){return W.Ab.addSessionAttendanceSheets(void 0,new w.m({sessionId:e,sessionMaterials:t})).then((function(e){return e})).catch((function(e){n(Object(Z.b)(e))}))}},Lo=function(e,t){return function(n){return W.Ab.updatePublishSetting(void 0,new w.On({sessionIds:e,isPublished:t})).then((function(e){return n(Object(Z.a)({message:"Publish setting successfully updated.",variant:"success"})),n(Pn(null)),n(Nn(null)),e})).catch((function(e){n(Object(Z.b)(e))}))}},Fo=function(e,t){return function(n){return W.Ab.cancelSession(void 0,new w.ob({sessionIds:e,sendEmailConfirmation:t})).then((function(t){return n(Object(Z.a)({message:"".concat(e.length>1?"Sessions":"Session"," successfully canceled."),variant:"success"})),n(Pn(null)),n(Nn(null)),t})).catch((function(e){throw n(Object(Z.b)(e)),e}))}},Bo=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return function(){var a=Object(d.a)(c.a.mark((function a(r){var o;return c.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.prev=0,a.next=3,W.Ab.sendUpdateEmail(void 0,new w.Xl({sessionIds:e,sendToParticipant:t,sendToInvited:n,sendToWaitlisted:i}));case 3:return o=a.sent,a.abrupt("return",o);case 7:return a.prev=7,a.t0=a.catch(0),r(Object(Z.b)(a.t0)),a.abrupt("return",void 0);case 11:case"end":return a.stop()}}),a,null,[[0,7]])})));return function(e){return a.apply(this,arguments)}}()},Ro=function(e){return function(t,n){var i,a,r=new w.fh({sessionId:null!==(i=null===(a=n().sessions.selectedSession)||void 0===a?void 0:a.sessionId)&&void 0!==i?i:0,filterBy:[],searchCriteria:["AllUsers"],sortBy:"lastName",page:1,pageSize:10});return W.zb.getAll(void 0,e?w.fh.fromJS(e):r).then((function(e){return e})).catch((function(e){throw t(Object(Z.b)(e)),e}))}},Jo=function(e){return function(t,n){var i,a,r,o,s=new w.ch({sessionId:null===(i=n().sessions.sessionParticipantRequest)||void 0===i?void 0:i.sessionId,scheduleId:e,filterBy:null===(a=n().sessions.sessionParticipantRequest)||void 0===a?void 0:a.filterBy,searchCriteria:null===(r=n().sessions.sessionParticipantRequest)||void 0===r?void 0:r.searchCriteria,sortBy:null===(o=n().sessions.sessionParticipantRequest)||void 0===o?void 0:o.sortBy,page:1,pageSize:-1});return W.zb.getAllSessionParticipantIds(void 0,s).then((function(e){return e})).catch((function(e){throw t(Object(Z.b)(e)),e}))}},Go=function(e,t,n){return function(i){return("csv"===t?W.zb.exportCsv(n,void 0,w.fh.fromJS(e)):W.zb.exportExcel(n,void 0,w.fh.fromJS(e))).then((function(e){var n=window.URL.createObjectURL(new Blob([e.data])),i=document.createElement("a");i.href=n,i.setAttribute("download",e.fileName||"sessionParticipants.".concat(t)),document.body.appendChild(i),i.click(),i.remove()})).catch((function(e){i(Object(Z.b)(e))}))}},Uo=function(e,t){var n=new w.eh({sessionId:e,scheduleId:t});return function(e){return W.zb.getSessionParticipantLocation(void 0,w.eh.fromJS(n)).then((function(e){return e})).catch((function(t){var n;throw e(Object(Z.a)({message:null!==(n=t.detail)&&void 0!==n?n:"Retrieval error",variant:"error"})),t}))}},zo=function(e,t){return function(n){return t||(n(Pn(null)),n(Fn(!0))),W.Ab.get(e,void 0).then((function(e){return n(Pn(e)),t||n(Fn(!1)),e})).catch((function(){n(Pn()),n(Fn(!1))}))}},qo=function(e){return function(t){return W.Ab.get(e,void 0).then((function(e){return e})).catch((function(e){throw t(Object(Z.b)(e)),e}))}},Mo=function(e){return function(){return W.Ab.getSessionLicenseWithAdjustedParticipant(e,void 0).then((function(e){return e})).catch((function(){}))}},Wo=function(e,t,n,i){return function(a){var r=W.Ab.updateSessionAndLicenses(void 0,w.ao.fromJS(Object(O.a)(Object(O.a)({},e),{},{toAddCount:i,sessionLicenses:t,userIdFromUserPage:n})));return a(Fn(!0)),r.then((function(e){return a(Object(Z.a)({message:"Session details successfully updated",variant:"success"})),a(Pn(e)),a(Fn(!1)),n&&0!==n&&a(Object(Vt.V)(!0,n)),e})).catch((function(e){throw a(Object(Z.b)(e)),e})).finally((function(){a(Fn(!1))}))}},Vo=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return function(n,i){var a,r,o=new w.fh({sessionId:null!==(a=null!==e&&void 0!==e?e:null===(r=i().sessions.selectedSession)||void 0===r?void 0:r.sessionId)&&void 0!==a?a:0,filterBy:[],searchCriteria:[t?"":"RegisteredOnly"],sortBy:"lastName",page:1,pageSize:10});return W.zb.getAll(void 0,w.fh.fromJS(o)).then((function(e){return e.recordCount})).catch((function(e){throw n(Object(Z.b)(e)),e}))}},_o=function(e){return function(t){var n=new w.Of({sessionId:0,scheduleId:0,filterBy:[],searchCriteria:[],sortBy:"lastName",page:1,pageSize:10});return W.zb.getAllAvailableSessionParticipants(void 0,e?w.Of.fromJS(e):n).then((function(e){return e})).catch((function(e){throw t(Object(Z.b)(e)),e}))}},Yo=function(e,t,n,i,a,r,o){return function(s){var l=new w.dd({userIdList:e,sessionId:t,isInstructor:n,extraSessionIds:o,isTentative:r,sendEmailConfirmation:a}),c=W.zb.create(void 0,l),d=i?e.length>1?"Waitlisted users have been successfully added as ".concat(n?"instructors":"participants","."):"Waitlisted user has been successfully added as ".concat(n?"instructor":"participant","."):e.length>1?"Users have been successfully added as ".concat(n?"instructors":"participants","."):"User has been successfully added as ".concat(n?"instructor":"participant",".");return c.then((function(){s(Object(Z.a)({message:d,variant:"success"})),s(zo(t))})).catch((function(e){s(Object(Z.a)({message:e.detail,variant:"error"}))}))}},Ho=function(e,t,n,i,a,r){return function(o){var s=w.Kp.fromJS({sessionParticipantIds:e,sessionId:t,completionDate:null!==n&&void 0!==n?n:void 0,override:i});return void 0!==a&&a>0&&(s.senderId=a),W.zb.validate(void 0,s).then((function(e){return o(Object(Z.a)({message:"Participant has been validated.",variant:"success"})),!r&&t>0&&o(zo(t)),e})).catch((function(e){o(Object(Z.b)(e))}))}},$o=function(e,t,n,i,a,r){return function(o){var s={sessionParticipantIds:e,sessionId:t,userLicenseCreditValues:n,userLicenseProperties:i,isAdjusted:a,userIdFromUserPage:r};return W.zb.updateParticipantAndLicense(void 0,w.jo.fromJS(s)).then((function(e){return o(Object(Z.a)({message:"Credits have been updated successfully.",variant:"success"})),r&&0!==r&&o(Object(Vt.V)(!0,r)),e})).catch((function(e){o(Object(Z.b)(e))}))}},Qo=function(e,t,n,i){var a=arguments.length>4&&void 0!==arguments[4]&&arguments[4],r=arguments.length>5?arguments[5]:void 0;return function(o){var s={sessionParticipantIds:e,sessionParticipantStatusId:t,isParticipantUnvalidated:n,sessionId:i,isApproval:a,sendEmailConfirmation:r};return W.zb.update(void 0,w.ko.fromJS(s)).then((function(e){return o(Object(Z.a)({message:"Participant status has been updated.",variant:"success"})),o(zo(i)),e})).catch((function(e){o(Object(Z.b)(e))}))}},Zo=function(e,t,n,i,a){return function(r){var o=new w.re({sessionId:i,sessionParticipantIdList:e,sendEmailConfirmation:a});return W.zb.delete(void 0,o).then((function(a){if(n||(1===e.length?r(Object(Z.a)({message:"Session participant successfully deleted.",variant:"success"})):r(Object(Z.a)({message:"Session participants successfully deleted.",variant:"success"}))),i>0&&r(zo(i)),t>0){var o={sessionId:i,sessionParticipantIdList:e};W.zb.deleteParticipantLicenseProperties(void 0,w.we.fromJS(o)).catch((function(e){r(Object(Z.b)(e))})),W.zb.deleteParticipantLicenseCredits(void 0,w.ve.fromJS(o)).catch((function(e){r(Object(Z.b)(e))}))}return a})).catch((function(e){r(Object(Z.b)(e))}))}},Xo=function(e,t,n,i,a){var r="Session successfully deleted.";e.length>1&&(r="Sessions successfully deleted.");var o=new w.pe({sessionIdList:e}),s=W.Ab.delete(void 0,o);return function(o){return s.then((function(s){return o(Nn(null)),e.map((function(e){return o(function(e){return{type:wn.a,payload:e}}(e))})),n?i&&a&&o(Po(i,a)):o(ko(t)),0===s.length?o(Object(Z.a)({message:r,variant:"success"})):s.length4&&void 0!==arguments[4]&&arguments[4],r="User successfully added to session waitlist.";return e.length>1&&(r="Users successfully added to session waitlist."),function(o){var s=new w.o({userIds:e,sessionId:t,exemptedIdList:n,isSelectedAll:i,sendEmailConfirmation:a});return W.Ab.addToSessionWaitlist(void 0,w.o.fromJS(s)).then((function(){o(Object(Z.a)({message:r,variant:"success"})),o(zo(t))})).catch((function(e){o(Object(Z.b)(e))}))}},is=function(e){return function(t,n){var i,a=n().users.loggedUser;return e&&t((i=null,{type:wn.d,payload:i})),t(Gn(void 0)),W.k.getAll(void 0,w.Qf.fromJS({createdBy:null===a||void 0===a?void 0:a.userName,pageSize:-1})).then((function(e){t(Gn(e.calendarSavedFilters))})).catch((function(e){t(Gn(void 0)),t(Object(Z.b)(e))}))}},as=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return function(n,i){var a,r,o=i().users.loggedUser;return t?(r=W.k.update(void 0,w.Rm.fromJS(e)),a="Filter successfully updated."):(r=W.k.create(void 0,w.ec.fromJS(e)),a="Filter successfully saved."),r.then((function(t){return!0===e.isDefault?(t.isDefault=!0,W.sb.setSavedFilterDefault(void 0,w.sm.fromJS({userId:null===o||void 0===o?void 0:o.userId,calendarSavedFilterId:t.calendarSavedFilterId})).then((function(){n(Gn(void 0)),n(Object(Z.a)({message:a,variant:"success"})),n(is(!1))})).catch((function(e){n(Object(Z.b)(e))}))):(n(Gn(void 0)),n(Object(Z.a)({message:a,variant:"success"})),n(is(!1))),t})).catch((function(e){n(Object(Z.b)(e))}))}},rs=function(e){return function(t,n){var i=n().users.loggedUser;return t(Gn(void 0)),W.sb.setSavedFilterDefault(void 0,w.sm.fromJS({userId:null===i||void 0===i?void 0:i.userId,calendarSavedFilterId:e.calendarSavedFilterId})).then((function(){t(Object(Z.a)({message:"".concat(e.name," have been set to default."),variant:"success"})),t(is(!1))})).catch((function(e){t(Object(Z.b)(e))}))}},os=function(e){return function(t,n){var i=n().sessions.savedCalendarFilterId;W.k.delete(void 0,e).then((function(){t(Object(Z.a)({message:"Saved filter successfully deleted.",variant:"success"})),void 0!==e.find((function(e){return e===i}))&&t(Jn(-1)),t(is(!1))})).catch((function(e){e.errors&&e.errors.SavedFilterDefault&&e.errors.SavedFilterDefault.length>0?t(Object(Z.a)({message:e.errors.SavedFilterDefault[0],variant:"error"})):t(Object(Z.a)({message:e.title,variant:"error"}))}))}},ss=function(e,t,n){return function(i){return W.k.validateCalendarSavedFilterName(void 0,w.Yo.fromJS({calendarSavedFilterId:e,name:t,createdBy:n})).then((function(e){return e})).catch((function(e){i(Object(Z.b)(e))}))}},ls=function(e,t){return function(n){return("csv"===t?W.Ab.exportCsv(void 0,w.kf.fromJS(e)):W.Ab.exportExcel(void 0,w.kf.fromJS(e))).then((function(e){var n=window.URL.createObjectURL(new Blob([e.data])),i=document.createElement("a");i.href=n,i.setAttribute("download",e.fileName||"sessions.".concat(t)),document.body.appendChild(i),i.click(),i.remove()})).catch((function(e){n(Object(Z.b)(e))}))}},cs=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return function(n){return W.Hb.getSessionUsersWithRetro(void 0,new w.aj({sessionId:+e,scheduleId:+t})).then((function(e){return e})).catch((function(e){throw n(Object(Z.b)(e)),e}))}},ds=function(e){return function(t){return W.Ab.getEvaluationStatisticsBySessionId(e,void 0).then((function(e){return e})).catch((function(e){throw t(Object(Z.b)(e)),e}))}},us=function(){return function(e){return W.Ab.getSessionLicensePCAMIDList(void 0).then((function(e){return e})).catch((function(t){throw e(Object(Z.b)(t)),t}))}},ms=function(e){return function(t){return W.Ab.getSessionLicenses(void 0,new w.Xi({sessionId:[e]})).then((function(e){return e})).catch((function(e){throw t(Object(Z.b)(e)),e}))}},vs=function(e){return function(t){return t(qn([])),W.Ab.getNYLocation(void 0,new w.ui({locationIds:e})).then((function(e){return t(qn(e)),e})).catch((function(e){throw t(Object(Z.b)(e)),e}))}},fs=function(e){return function(t){return W.zb.getSessionParticipantAdjustedCredit(void 0,new w.Yi({sessionParticipantId:e})).then((function(e){return e})).catch((function(e){throw t(Object(Z.b)(e)),e}))}},ps=function(e,t){return function(n){return W.Ab.generateSessionLinkGuid(void 0,new w.xf({courseId:e,sessionId:t})).then((function(e){return e})).catch((function(e){throw n(Object(Z.b)(e)),e}))}},hs=function(e){return function(){return W.Ab.getAllSessionInstructors(void 0,new w.Wi({sessionId:e})).then((function(e){return e})).catch((function(){return[]}))}},ys=function(e){return function(t){return W.Ab.clone(void 0,new w.vb({sessionId:e})).then((function(e){return e})).catch((function(e){throw t(Object(Z.b)(e)),e}))}},bs=function(e,t,n,i){return function(a){return W.B.sendSessionParticipantRegistrationEmail(void 0,new w.Sl({userIds:e,sessionId:t,isInstructor:n,isTentative:i})).then((function(){return a(Object(Z.a)({message:"Calendar appointment has been sent successfully.",variant:"success"})),!0})).catch((function(e){throw a(Object(Z.b)(e)),e}))}},gs=function(e){return function(t){return W.B.sendSessionCancellationEmail(void 0,new w.Ql({sessionIds:e})).then((function(){return t(Object(Z.a)({message:"Session cancellation email has been sent successfully.",variant:"success"})),!0})).catch((function(e){throw t(Object(Z.b)(e)),e}))}},Es=function(e){return function(t){return W.Ab.getCourseSessionDetailsById(e,void 0).then((function(e){return e})).catch((function(e){throw t(Object(Z.b)(e)),e}))}},Is=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2?arguments[2]:void 0,i=arguments.length>3?arguments[3]:void 0;return function(a){var r=new w.jh({sessionIds:e,scheduleId:+t,sortBy:"-startDate",page:n,pageSize:i});return W.Ab.getAllSessionsByScheduleIdOrSessionId(void 0,w.jh.fromJS(r)).then((function(e){return e})).catch((function(e){throw a(Object(Z.b)(e)),e}))}},Ss=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return function(n){var i=new w.ym({sessionParticipantIds:e,fromScormCloud:t});return W.ub.syncParticipantProgress(void 0,w.ym.fromJS(i)).then((function(){return!0})).catch((function(e){return n(Object(Z.b)(e)),!1}))}},Os=function(e){return function(t){return W.zb.getAllSessionParticipantLicense(void 0,w.dh.fromJS({sessionIds:e})).then((function(e){return e})).catch((function(e){throw t(Object(Z.b)(e)),e}))}},Cs=function(e,t){return function(n){var i=new w.cd({userIdList:t,sessionIdList:e});return W.Ab.addSessionInviteUsers(void 0,i).then((function(){Promise.resolve(!0)})).catch((function(e){n(Object(Z.b)(e))}))}},js=function(e,t){return function(n){var i=new w.al({sessionIdList:e,courseId:t});return W.Ab.removeFromMultiSession(void 0,i).then((function(){Promise.resolve(!0)})).catch((function(e){n(Object(Z.b)(e))}))}},xs=function(e){return function(t){var n=new w.pj({sessionParticipantId:e});return W.zb.getUserLicensePropertyValueByParticipant(void 0,w.pj.fromJS(n)).then((function(e){return e})).catch((function(e){throw t(Object(Z.b)(e)),e}))}},As=function(e,t){var n=new w.bo({sessionId:e,isAttendanceValidated:t});return function(e){return W.Ab.updateSessionAttendanceValidated(void 0,n).then((function(t){return e(Object(Z.a)({message:"Session attendance successfully updated.",variant:"success"})),t})).catch((function(t){return e(Object(Z.b)(t)),null}))}},Ts=n(32),ws=Object(s.b)(null,(function(e){return{uploadCertificate:function(t,n){return e(function(e,t){return function(){var n=Object(d.a)(c.a.mark((function n(i){var a,r;return c.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return a=Array.from(t).map((function(e){return{fileName:e.name,data:e}})),n.prev=1,n.next=4,W.zb.uploadCertificateV2(e,void 0,a);case 4:return r=n.sent,n.abrupt("return",r);case 8:throw n.prev=8,n.t0=n.catch(1),i(Object(Z.b)(n.t0)),n.t0;case 12:case"end":return n.stop()}}),n,null,[[1,8]])})));return function(e){return n.apply(this,arguments)}}()}(t,n))},downloadCertificate:function(t){return e(function(e){return function(t){return W.zb.downloadCertificateV2(e,void 0).then((function(e){var t=window.URL.createObjectURL(new Blob([e.data])),n=document.createElement("a");return n.href=t,n.setAttribute("download",e.fileName||"file"),document.body.appendChild(n),n.click(),n.remove(),Promise.resolve()})).catch((function(e){throw t(Object(Z.b)(e)),e}))}}(t))}}})),ks=ws((function(e){var t=e.downloadCertificate,n=e.uploadCertificate,r=e.id,o=e.formState,s=Object(i.useRef)(null),l=Object(i.useState)(!1),c=Object(u.a)(l,2),d=c[0],m=c[1],v=Object(i.useState)(0),f=Object(u.a)(v,2),h=f[0],y=f[1],b=o.getFieldProps("startDate").value,g=ci()(o.getFieldProps("startDate").value)>ci()(new Date),E=Object(Ts.useTheme)(),I=Object(Ts.useMediaQuery)(E.breakpoints.down("xs"));return a.a.createElement(p.Box,{maxWidth:"190px"},g||0===o.getFieldProps("participantList.".concat(r,".certificateFileId")).value?a.a.createElement(a.a.Fragment,null,a.a.createElement(p.Button,{type:"button",variant:"text",onClick:function(){y(r),null!==(null===s||void 0===s?void 0:s.current)&&void 0!==(null===s||void 0===s?void 0:s.current)&&(null===s||void 0===s?void 0:s.current).click()},disabled:d||null===b||g||void 0===o.getFieldProps("participantList.".concat(r,".user")).value},a.a.createElement(p.Typography,{color:d||null===b||g||void 0===o.getFieldProps("participantList.".concat(r,".user")).value?"default":"secondary",variant:"body1",align:"center"},a.a.createElement(p.SystemIcon,{icon:!0===o.getFieldProps("participantList.".concat(r,".isUploading")).value?"Loading":"Upload",size:"sm",spin:!0===o.getFieldProps("participantList.".concat(r,".isUploading")).value,type:"duotone",color:d||null===b||g||void 0===o.getFieldProps("participantList.".concat(r,".user")).value?"inherit":"secondary"})," ",I?"Upload":"Upload Certificate")),a.a.createElement("input",{type:"file",ref:s,hidden:!0,onChange:function(e){return t=e.target.files,i=o.setFieldValue,void(t&&null!==t&&(i("participantList.".concat(h,".isUploading"),!0),m(!0),n(h,t).then((function(e){i("participantList.".concat(h,".certificateFileId"),e[0].fileId)})).finally((function(){i("participantList.".concat(h,".isUploading"),!1),m(!1)}))));var t,i},name:"files",multiple:!1,accept:"image/*, application/x-pdf, application/pdf"})):a.a.createElement(p.Button,{type:"button",variant:"text",onClick:function(){var e,n,i,a;n=r,i=null!==(e=o.getFieldProps("participantList.".concat(r,".certificateFileId")).value)&&void 0!==e?e:0,a=o.setFieldValue,i&&(a("participantList.".concat(n,".isDownloading"),!0),m(!0),t(i).then().finally((function(){a("participantList.".concat(n,".isDownloading"),!1),m(!1)})))},disabled:d},a.a.createElement(p.Typography,{color:d?"default":"primary",variant:"body1",align:"center"},a.a.createElement(p.SystemIcon,{icon:!0===o.getFieldProps("participantList.".concat(r,".isDownloading")).value?"Loading":"Cem-Certificate",color:d?"inherit":"primary",spin:!0===o.getFieldProps("participantList.".concat(r,".isDownloading")).value,type:"duotone",size:"sm"})," ",I?"Download":"Download Certificate")))})),Ps=Object(s.b)((function(e){var t;return{providers:e.maintenance.providers,courseFormats:null===(t=e.formats.formats)||void 0===t?void 0:t.filter((function(e){return e.isEnabled})),NYLocation:e.sessions.NYLocation,learningSettings:e.generalSettings.learningSettings}}),(function(e){return{addThirdPartyCourse:function(t){return e(function(e){return function(t){t(ct(!0));var n={courseDto:w.gd.fromJS(e)};return W.u.createThirdParty(void 0,w.fd.fromJS(n)).then((function(e){return t(Object(Z.a)({message:"Course successfully saved.",variant:"success"})),t(Object(Pt.b)(null)),e})).catch((function(e){throw t(Object(Z.b)(e)),e}))}}(t))},validateCourse:function(t,n,i){return e(Kn(t,n,i))},getSessionLicensePCAMIDList:function(){return e(us())},searchUsers:function(t){return e(Object(Vt.sb)(t))},saveSession:function(t){return e(function(e){return function(t){t(ct(!0));var n={courseDto:w.id.fromJS(e)};return W.u.createThirdPartySession(void 0,w.hd.fromJS(n)).then((function(e){return t(Object(Z.a)({message:"Session successfully saved.",variant:"success"})),t(Object(Pt.b)(null)),e})).catch((function(e){throw t(Object(Z.b)(e)),e}))}}(t))},getSessionSettings:function(){return e(Object(Vr.b)())},getProviders:function(){return e(pe())},getFormats:function(){return e((function(e){e(V())}))}}})),Ns=Object(m.o)(Ps((function(e){var t,n,r,o,s,l,c,d,m,v,f=e.addThirdPartyCourse,h=e.closeCalendar,y=e.courseFormats,b=e.getSessionLicensePCAMIDList,g=e.history,E=e.NYLocation,I=e.onClose,S=e.providers,j=e.saveSession,x=e.searchUsers,A=e.validateCourse,T=e.getSessionSettings,P=e.learningSettings,D=e.getProviders,L=e.getFormats,B=Object(i.useState)(!1),R=Object(u.a)(B,2),J=R[0],G=R[1],U=Object(i.useState)(),z=Object(u.a)(U,2),q=z[0],M=z[1],W=Object(i.useState)(),V=Object(u.a)(W,2),Y=V[0],H=V[1],$=Object(i.useState)(),Z=Object(u.a)($,2),X=Z[0],K=Z[1],ee=Object(i.useState)([]),te=Object(u.a)(ee,2),ne=te[0],ie=te[1],ae=Object(i.useState)(void 0),re=Object(u.a)(ae,2),oe=re[0],se=re[1],le=Object(i.useState)(10),ce=Object(u.a)(le,2),de=ce[0],ue=ce[1],me=null!==localStorage.getItem("aws-amplify-cachepreferences")&&""!==(localStorage.getItem("aws-amplify-cachepreferences")||"")?JSON.parse(localStorage.getItem("aws-amplify-cachepreferences")||"").data.timezone:"US/Eastern",ve="",fe=F(w.Jk.ManageDataManagement),pe=(null!==(t=null===oe||void 0===oe?void 0:oe.filter((function(e){return e.licenseId===_i})).length)&&void 0!==t?t:0)>0,he=Object(i.useState)(),ye=Object(u.a)(he,2),be=ye[0],ge=ye[1];Object(i.useEffect)((function(){var e=null===oe||void 0===oe?void 0:oe.slice(0,10);e&&ie(e)}),[oe]);var Ee=function(e){se(e)};Object(i.useEffect)((function(){T()}),[T]),Object(i.useEffect)((function(){pe&&!be&&b().then((function(e){ge(e)}))}),[be,oe,b,pe]);var Ie=Object(i.useState)(!1),Se=Object(u.a)(Ie,2),Oe=Se[0],Ce=Se[1],je=function(e,t){var n,i,a,r,o,s,l,c,d,u,m,v,f,p={title:null!==(n=e.getFieldProps("title").value)&&void 0!==n?n:"",idLabel:null!==(i=e.getFieldProps("idLabel").value)&&void 0!==i?i:"",providerId:null!==(a=e.getFieldProps("providerId").value)&&void 0!==a?a:[],description:null!==(r=e.getFieldProps("description").value)&&void 0!==r?r:"",note:null!==(o=e.getFieldProps("note").value)&&void 0!==o?o:"",courseDepartments:[],courseLevels:[],coursePracticeAreas:[],courseClassYears:[],courseCompetencies:[],courseTags:[],startDate:void 0!==t?t:null!==(s=e.getFieldProps("startDate").value)&&void 0!==s?s:null,courseFormat:null!==(l=e.getFieldProps("courseFormat").value)&&void 0!==l?l:[],mediaTypeId:null!==(c=e.getFieldProps("mediaTypeId").value)&&void 0!==c?c:0,participantList:null!==(d=e.getFieldProps("participantList").value)&&void 0!==d?d:[{isInstructor:!1,certificateFileId:0,isUploading:!1,isDownloading:!1}],licenseStatus:null!==(u=e.getFieldProps("licenseStatus").value)&&void 0!==u?u:{},licenseCreditsList:null!==(m=e.getFieldProps("licenseCreditsList").value)&&void 0!==m?m:{},licensePropsList:null!==(v=e.getFieldProps("licensePropsList").value)&&void 0!==v?v:{},licenseExpiration:null!==(f=e.getFieldProps("licenseExpiration").value)&&void 0!==f?f:{}};K(p)},xe=function(e){je(e),se(oe),Ce(!0)},Ae=Array(),Te=Object(i.useState)(!1),we=Object(u.a)(Te,2),ke=we[0],Pe=we[1],Ne=Object(i.useState)(),De=Object(u.a)(Ne,2),Le=De[0],Fe=De[1],Be=Object(i.useState)([]),Re=Object(u.a)(Be,2),Je=Re[0],Ge=Re[1],Ue=Object(di.useDebounce)((function(e){x(e).then((function(e){var t;Fe(null===(t=e.users)||void 0===t?void 0:t.filter((function(e){return void 0===e.inactiveDate}))),Pe(!1)}))}),500),ze=null===Le||void 0===Le?void 0:Le.map((function(e){return t="".concat(e.lastName,", ").concat(e.firstName," (").concat(e.email,")"),{userId:e.userId,name:t};var t})),qe={initialValues:{title:null!==(n=null===X||void 0===X?void 0:X.title)&&void 0!==n?n:"",idLabel:null!==(r=null===X||void 0===X?void 0:X.idLabel)&&void 0!==r?r:"",providerId:null!==(o=null===X||void 0===X?void 0:X.providerId)&&void 0!==o?o:[],description:null!==(s=null===X||void 0===X?void 0:X.description)&&void 0!==s?s:"",note:null!==(l=null===X||void 0===X?void 0:X.note)&&void 0!==l?l:"",startDate:null!==(c=null===X||void 0===X?void 0:X.startDate)&&void 0!==c?c:null,courseFormat:null!==(d=null===X||void 0===X?void 0:X.courseFormat)&&void 0!==d?d:[],mediaTypeId:null!==(m=null===X||void 0===X?void 0:X.mediaTypeId)&&void 0!==m?m:0,licenseStatus:function(){var e={};return oe&&(null===oe||void 0===oe?void 0:oe.length)>0&&oe.forEach((function(t){var n,i=null===Ae||void 0===Ae||null===(n=Ae.find((function(e){return e.licenseId===t.licenseId})))||void 0===n?void 0:n.licenseStatus;void 0===i&&(i=1),e=Object(O.a)(Object(O.a)({},e),{},Object(ri.a)({},"1-".concat(t.licenseId),i))})),Object(oi.isEmpty)(null===X||void 0===X?void 0:X.licenseStatus)?e:Object(O.a)(Object(O.a)({},e),null===X||void 0===X?void 0:X.licenseStatus)}(),licenseCreditsList:function(){var e={};return oe&&(null===oe||void 0===oe?void 0:oe.length)>0&&oe.forEach((function(t){var n={};t.licenseCredits&&t.licenseCredits.forEach((function(e){var i,a,r,o=null===Ae||void 0===Ae||null===(i=Ae.find((function(e){return e.licenseId===t.licenseId})))||void 0===i||null===(a=i.sessionLicenseCredits)||void 0===a||null===(r=a.find((function(t){return t.creditId===e.creditId})))||void 0===r?void 0:r.creditValue;o&&o>0&&(o=parseFloat(o.toString()),n=Object(O.a)(Object(O.a)({},n),{},Object(ri.a)({},"1-".concat(t.licenseId,"_").concat(e.creditId),o)))})),e=Object(O.a)(Object(O.a)({},e),n)})),Object(oi.isEmpty)(null===X||void 0===X?void 0:X.licenseCreditsList)?e:Object(O.a)(Object(O.a)({},e),null===X||void 0===X?void 0:X.licenseCreditsList)}(),licensePropsList:function(){var e={};return oe&&(null===oe||void 0===oe?void 0:oe.length)>0&&oe.forEach((function(t){var n={},i=Array(),a=Array(),r=Array(),o=Array();t.licenseProperties&&t.licenseProperties.forEach((function(e){var s,l,c,d,u,m=null===Ae||void 0===Ae||null===(s=Ae.find((function(e){return e.licenseId===t.licenseId})))||void 0===s||null===(l=s.sessionLicenseProperties)||void 0===l||null===(c=l.find((function(t){return t.propertyId===e.propertyId})))||void 0===c?void 0:c.propertyValue;if(5!==e.typeId)if(void 0===m&&(m="",t.licenseId===ia&&(7===e.propertyId?m=E[0]:6===e.propertyId&&(m="0"))),t.licenseId===_i&&6===e.propertyId&&(void 0!==m&&""!==m||(m=Object(N.f)(Y))),t.licenseId===ta&&(null!==(d=e.propertyId)&&void 0!==d?d:0)>21&&(null!==(u=e.propertyId)&&void 0!==u?u:0)<31){var v,f,p=null===(v=e.label)||void 0===v?void 0:v.split("_")[0];n=Object(O.a)(Object(O.a)({},n),{},Object(ri.a)({},"1-".concat(t.licenseId,"_").concat(e.propertyId,"_").concat(p,"_value"),"null"===m||""===m||"0"===m?null:parseFloat(null!==(f=m)&&void 0!==f?f:"0")))}else n=Object(O.a)(Object(O.a)({},n),{},Object(ri.a)({},"1-".concat(t.licenseId,"_").concat(e.propertyId),"null"===m?null:m));else if("true"===m){var h,y,b={id:null!==(h=e.propertyId)&&void 0!==h?h:0,name:e.label};if(null!==e.licensePropertyGroupId)if(t.licenseId===vi)b.name=null===(y=b.name)||void 0===y?void 0:y.replace("Accounting",""),o.push(b);else a.push(b);else if(t.licenseId===vi&&e.propertyId&&e.propertyId>2){var g;b.name=null===(g=b.name)||void 0===g?void 0:g.replace("Accounting",""),r.push(b)}else i.push(b)}})),n=Object(O.a)(Object(O.a)({},n),{},Object(ri.a)({},"1-".concat(t.licenseId,"_checkbox_properties"),i)),n=Object(O.a)(Object(O.a)({},n),{},Object(ri.a)({},"1-".concat(t.licenseId,"_grouped_properties"),a)),t.licenseId===vi&&(n=Object(O.a)(Object(O.a)({},n),{},Object(ri.a)({},"1-".concat(t.licenseId,"_nasbacheckbox_properties"),r)),n=Object(O.a)(Object(O.a)({},n),{},Object(ri.a)({},"1-".concat(t.licenseId,"_nasbagrouped_properties"),o))),e=Object(O.a)(Object(O.a)({},e),n)})),Object(oi.isEmpty)(null===X||void 0===X?void 0:X.licensePropsList)?e:Object(O.a)(Object(O.a)({},e),null===X||void 0===X?void 0:X.licensePropsList)}(),licenseExpiration:function(){var e={};return oe&&(null===oe||void 0===oe?void 0:oe.length)>0&&oe.forEach((function(t){var n,i=null;void 0===(i=null===Ae||void 0===Ae||null===(n=Ae.find((function(e){return e.licenseId===t.licenseId})))||void 0===n?void 0:n.expirationDate)&&(i=null),e=Object(O.a)(Object(O.a)({},e),{},Object(ri.a)({},"1-".concat(t.licenseId),i))})),Object(oi.isEmpty)(null===X||void 0===X?void 0:X.licenseExpiration)?e:Object(O.a)(Object(O.a)({},e),null===X||void 0===X?void 0:X.licenseExpiration)}(),participantList:null!==(v=null===X||void 0===X?void 0:X.participantList)&&void 0!==v?v:[{isInstructor:!1,certificateFileId:0,isUploading:!1,isDownloading:!1}]},validationSchema:Object(Q.object)().shape({title:Object(Q.string)().required("Course title is required.").max(1e3,"Course title must not exceed 1000 characters.").trim(),providerId:Object(Q.string)().nullable().required("Provider is required"),idLabel:Object(Q.string)().max(100,"Course Code must not exceed 100 characters."),note:Object(Q.string)().max(1e3,"Notes must not exceed 1000 characters."),startDate:Object(Q.date)().nullable().required("Completion date is required").typeError("Please enter date in ".concat(Object(N.i)()," format or select from the calendar")),courseFormat:Object(Q.object)().required("Format is required").nullable(),licenseCreditsList:Object(Q.object)().shape(function(){var e={};return oe&&(null===oe||void 0===oe?void 0:oe.length)>0&&oe.forEach((function(t){t.licenseCredits&&t.licenseCredits.forEach((function(n){var i=Object(Q.number)().min(0,"Invalid input.").typeError("Invalid input.");e["1-".concat(t.licenseId,"_").concat(n.creditId)]=i}))})),e}()),licensePropsList:Object(Q.object)().shape(function(){var e,t={},n=null!==(e=oe&&oe.filter((function(e){return e.licenseId===_i||e.licenseId===ia})))&&void 0!==e?e:[];if(n.length>0){if(pe){var i=Object(Q.string)().nullable().test("1-381_5","PCAM ID already exists.",(function(e){var t;return null!==(t=-1===(null===be||void 0===be?void 0:be.findIndex((function(t){return t===e}))))&&void 0!==t&&t}));t["1-381_5"]=i}n.forEach((function(e){e.licenseProperties&&e.licenseProperties.forEach((function(n){if(3===n.typeId){var i=Object(Q.date)().nullable().typeError("Please enter date in ".concat(Object(N.i)()," format or select from the calendar"));t["1-".concat(e.licenseId,"_").concat(n.propertyId)]=i}}))}))}return t}()),licenseExpiration:Object(Q.object)().shape(function(){var e={},t=null!==Y&&void 0!==Y?Y:new Date,n=new Date(t);return n.setDate(n.getDate()+1),oe&&(null===oe||void 0===oe?void 0:oe.length)>0&&oe.forEach((function(i){var a=Object(Q.date)().nullable().notRequired().min(n,"Date must be after ".concat(Object(N.a)(t))).typeError("Please enter date in ".concat(Object(N.i)()," format or select from the calendar"));e["1-".concat(i.licenseId)]=a})),e}()),participantList:Object(Q.array)().of(Object(Q.object)().shape({user:Object(Q.object)().nullable(),isInstructor:Object(Q.boolean)(),isUploading:Object(Q.boolean)(),isDownloading:Object(Q.boolean)(),certificateFileId:Object(Q.number)()})).test("check-duplicate","",(function(e){var t=function(e){var t=Array(),n=Array();return e.filter((function(e){return!Object(oi.isEmpty)(e.user)})).forEach((function(i){void 0!==i.user&&(e.filter((function(e){return!Object(oi.isEmpty)(e.user)})).filter((function(e){return e.isInstructor===i.isInstructor&&e.user.userId===i.user.userId})).length>1?n:t).push(i)})),{uniqueItems:t,duplicateItems:n}}(e);return Ge(t.duplicateItems),!(t.duplicateItems.length>0)}))}),onSubmit:function(e,t){var n,i,a=e.title,r=e.idLabel,o=e.providerId,s=e.description,l=e.note,c=e.startDate,d=e.courseFormat,u=e.mediaTypeId,m=e.licenseStatus,v=e.licenseCreditsList,p=e.licensePropsList,y=e.licenseExpiration,b=e.participantList,E={title:a.trim(),courseIdLabel:r.trim(),providerId:o.providerId,description:s,note:l},S=Array(),O=Array();oe&&oe.forEach((function(e){var t=new Array,n=new w.cm;if(n.licenseId=e.licenseId,m){var i=new Array;Object.keys(m).forEach((function(t){var a=t.split("-")[1],r=m[t];i.push(parseInt(a,10)),a==="".concat(e.licenseId)&&void 0!==r&&(n.licenseStatus=0===r?1:r)})),i.includes(n.licenseId)||(n.licenseStatus=1)}if(y){var a=new Array;Object.keys(y).forEach((function(t){var i=t.split("-")[1],r=y[t];a.push(parseInt(i,10)),i==="".concat(e.licenseId)&&void 0!==r&&null!=r&&(n.expirationDate=Object(N.e)(r))}))}var r=Array();v&&Object.keys(v).forEach((function(n){var i=n.split("_")[0];i=i.split("-")[1];var a=parseInt(n.split("_")[1],10),o=v[n];if(i==="".concat(e.licenseId)&&void 0!==a&&null!==a&&parseFloat(o)>0){t.push(a);var s=new w.bm;s.creditId=a,s.creditValue=parseFloat(o),r.push(s)}}));var o=Array();if(p&&Object.keys(p).forEach((function(t){var n=t.split("-")[1].split("_")[0];if(void 0!==t.split("_")[1])if("checkbox"!==t.split("_")[1]&&"grouped"!==t.split("_")[1]&&"nasbacheckbox"!==t.split("_")[1]&&"nasbagrouped"!==t.split("_")[1]||n!=="".concat(e.licenseId)){var i=parseInt(t.split("_")[1],10),a=p[t];if(n==="".concat(e.licenseId)&&e.licenseId===ta&&i>21&&i<31&&null!==a&&""!==a&&"0"!==a&&0!==a){var r,s=new w.dm,l=parseInt(t.split("_")[2],10),c=null!==(r=Object.keys(p).find((function(e){return e.split("-")[1].includes("481_grouped")})))&&void 0!==r?r:"",d="0";p[c].filter((function(e){return e.id===l})).length>0&&(d=String(a)),s.propertyId=i,s.propertyValue=d,o.push(s)}else if(n==="".concat(e.licenseId)&&null!==i&&null!==a&&""!==a&&!(e.licenseId===ta&&i>21&&i<31)){var u=new w.dm;u.propertyId=i,ci.a.isMoment(a)&&a.isValid()?(u.propertyValue=Object(N.f)(a.toDate()),o.push(u)):ci.a.isMoment(a)||(u.propertyValue=String(a),o.push(u))}}else{p[t].forEach((function(e){var t=new w.dm;t.propertyId=e.id,t.propertyValue="true",o.push(t)}))}})),e.licenseId===ia)if(p)Object.keys(p).forEach((function(t){var n=t.split("-")[1].split("_")[0],i=p[t];if(void 0!==t.split("_")[1]&&("checkbox"===t.split("_")[1]||"grouped"===t.split("_")[1]||"nasbacheckbox"===t.split("_")[1]||"nasbagrouped"===t.split("_")[1])&&n==="".concat(e.licenseId)&&!i.find((function(e){return 3===e.id||4===e.id||5===e.id}))&&!o.find((function(e){return 3===e.propertyId||4===e.propertyId||5===e.propertyId}))){var a=new w.dm;a.propertyId=4,a.propertyValue="true",o.push(a)}}));else if(!o.find((function(e){return 3===e.propertyId||4===e.propertyId||5===e.propertyId}))){var s=new w.dm;s.propertyId=4,s.propertyValue="true",o.push(s)}if(e.licenseId===Ni)if(p)Object.keys(p).forEach((function(t){var n=t.split("-")[1].split("_")[0];if(void 0!==t.split("_")[1]&&(("checkbox"===t.split("_")[1]||"grouped"===t.split("_")[1]||"nasbacheckbox"===t.split("_")[1]||"nasbagrouped"===t.split("_")[1])&&n==="".concat(e.licenseId)&&!p[t].find((function(e){return 2===e.id}))&&!o.find((function(e){return 2===e.propertyId})))){var i=new w.dm;i.propertyId=2,i.propertyValue="true",o.push(i)}}));else if(!o.find((function(e){return 2===e.propertyId}))){var l=new w.dm;l.propertyId=2,l.propertyValue="true",o.push(l)}n.sessionLicenseCredits=r,n.sessionLicenseProperties=o,S.push(n)}));var C=null!==(n=null===P||void 0===P||null===(i=P.find((function(e){return e.learningSettingEnumType===w.Tj.OpenToClients})))||void 0===i?void 0:i.valueBit)&&void 0!==n&&n,x={courseId:0,areQuestionsAllowed:!0,courseFormatId:d.courseFormatId,detail:"",duration:"",endTime:"",isIndividualSessionDateAllowed:!0,isOpenToClient:C,isPublished:!1,isRegistrationApprovalNeeded:!1,isWaitlistingAllowed:!1,launchUrl:"",mediaTypeId:(null===d||void 0===d?void 0:d.isOnlineLearning)?u:void 0,note:"",registrationLimit:0,sessionLicenses:S,sessionMaterials:[],sessionMediaFiles:[],sessionTypeId:1,startDate:Object(N.e)(c),startTime:"",timezoneId:me,title:a.trim(),url:""},T={sessions:[w.ad.fromJS(x)],sessionRecurrencePattern:void 0};b&&b.forEach((function(e){if(e.user){var t={userId:e.user.userId,isInstructor:e.isInstructor,certificateFileId:ci()(c)>ci()(new Date)?0:e.certificateFileId};O.push(w.qc.fromJS(t))}}));var k={course:w.mc.fromJS(E),session:w.pc.fromJS(T),sessionParticipants:O};Object(oi.isEmpty)(Je)?A(a.trim(),o.providerId,r.trim()).then((function(e){if(e.error){var n={courseTitle:a.trim(),courseProviderId:o.providerId,courseCode:r.trim(),session:w.pc.fromJS(T),sessionParticipants:O};j(n).then((function(e){t.setSubmitting(!1),I(),h&&h(),e>0?g.push("/learning/courses/sessions/".concat(e,"/participant")):g.push("/error404")})).catch((function(){t.setSubmitting(!1)}))}else f(k).then((function(e){t.setSubmitting(!1),I(),h&&h(),e>0?g.push("/learning/courses/sessions/".concat(e,"/participant")):g.push("/error404")})).catch((function(){t.setSubmitting(!1)}))})):t.setSubmitting(!1)}},Me={setSelectedLicenses:se,selectedLicenses:oe};return a.a.createElement(k.Provider,{value:Me},a.a.createElement(C.Formik,{initialValues:qe.initialValues,validationSchema:qe.validationSchema,onSubmit:qe.onSubmit,enableReinitialize:!0,key:"add-course"},(function(e){var t=e.getFieldProps("participantList").value;return a.a.createElement(p.Form,{id:"add-course",formikContext:!0},a.a.createElement(_.WizardDialogBody,{titleBar:{title:"Add 3rd-Party Course"}},a.a.createElement(p.Grid,{container:!0,spacing:"form"},a.a.createElement(p.Grid,{item:!0,xs:3,alignment:"top-left"},a.a.createElement(p.Typography,{variant:"h5"},"Course Details")),a.a.createElement(p.Grid,{item:!0,xs:9,alignment:"center-left"},a.a.createElement(p.Grid,{container:!0,spacing:"form"},a.a.createElement(p.Grid,{item:!0,xs:12,alignment:"top-left"},a.a.createElement(p.TextField,{required:!0,id:"title",label:"Course Title",formikContext:!0,fullWidth:!0})),a.a.createElement(p.Grid,{item:!0,xs:6,alignment:"top-left"},a.a.createElement(p.ComboBox,{disableCloseOnSelect:!1,addOption:fe?{icon:"Add",label:"Add options",onClick:function(){M(ve),G(!0)}}:void 0,onInputChange:function(e,t){ve=null!==t&&void 0!==t?t:""},required:!0,formikContext:!0,id:"providerId",fullWidth:!0,label:"Provider",options:(null===S||void 0===S?void 0:S.filter((function(e){return!1===e.isInHouse})))||[],loading:null===S,onOpen:function(){return D()},groupBy:function(e){return e.isInHouse?"In Firm":"Third-Party"}})),a.a.createElement(p.Grid,{item:!0,xs:6,alignment:"top-left"},a.a.createElement(p.TextField,{id:"idLabel",label:"Course Code",formikContext:!0,fullWidth:!0})),a.a.createElement(p.Grid,{item:!0,xs:12,sm:6,alignment:"top-left"},a.a.createElement(p.ComboBox,{label:"Format",fullWidth:!0,id:"courseFormat",variant:"outlined",formikContext:!0,loading:null===y,required:!0,options:y||[],groupBy:function(e){return"On-demand"===e.portalCategory?"On-demand":"Classroom"===e.portalCategory?"Classroom":"Webcast"===e.portalCategory?"Webcast":"Other"},onChange:function(t,n){var i=n;e.setFieldValue("courseFormat",n),19===(null===i||void 0===i?void 0:i.courseFormatId)?e.setFieldValue("mediaTypeId",2):30===(null===i||void 0===i?void 0:i.courseFormatId)?e.setFieldValue("mediaTypeId",1):(null===i||void 0===i||i.courseFormatId,e.setFieldValue("mediaTypeId",3))},onOpen:function(){return L()}})),a.a.createElement(p.Grid,{item:!0,xs:12,sm:6},a.a.createElement(p.DateTimeField,{id:"startDate",label:"Completion Date",type:"date",formikContext:!0,fullWidth:!0,required:!0,format:Object(N.i)(),loading:null===y,onChange:function(t){e.setFieldValue("startDate",t),je(e,t),ci()(t).isValid()&&H(t)}})))),a.a.createElement(p.Grid,{item:!0,xs:12},a.a.createElement(p.Divider,null)),a.a.createElement(a.a.Fragment,null,a.a.createElement(p.Grid,{item:!0,xs:12,sm:3,alignment:"top-left"},a.a.createElement(p.Column,null,a.a.createElement(p.Typography,{variant:"h5"},"Credits"),oe&&(null===oe||void 0===oe?void 0:oe.length)>=1&&a.a.createElement(p.Button,{startIcon:a.a.createElement(p.SystemIcon,{icon:"Add",size:"md"}),variant:"contained",color:"primary",onClick:function(){return xe(e)}},"Add Credits"))),a.a.createElement(p.Grid,{item:!0,xs:12,sm:9},a.a.createElement(vo,{sessionId:1,editsession:!1,parentFormState:e,isTPCourseElearning:void 0!==e.getFieldProps("courseFormat").value&&null!==e.getFieldProps("courseFormat").value&&(!!e.getFieldProps("courseFormat").value.isOnlineLearning&&(0!==e.getFieldProps("mediaTypeId").value&&void 0!==e.getFieldProps("mediaTypeId").value)),willAddThirdPartyCourse:!0,handleOpenLicenseDrawer:function(){return xe(e)},reinitializeFormState:function(){return je(e)},displayedLicenses:ne,deselectLicenses:Ee,isFromCourseSearchScreen:!0}),a.a.createElement(p.Box,{textAlign:"center",mt:1},ne&&oe&&(null===oe||void 0===oe?void 0:oe.length)>(null===ne||void 0===ne?void 0:ne.length)&&a.a.createElement(p.Button,{onClick:function(){ue(de+10),function(){if((null===oe||void 0===oe?void 0:oe.length)>(null===ne||void 0===ne?void 0:ne.length)){var e,t=[];null===ne||void 0===ne||ne.forEach((function(e){return t.push(e.licenseId)}));var n=null!==(e=null===oe||void 0===oe?void 0:oe.filter((function(e){return!t.includes(e.licenseId)})))&&void 0!==e?e:[];ne&&ie([].concat(Object(ht.a)(ne),Object(ht.a)(null===n||void 0===n?void 0:n.slice(0,de+10))))}}()},color:"primary",variant:"text"},"Show More"))),a.a.createElement(p.Grid,{item:!0,xs:12},a.a.createElement(p.Divider,null)),a.a.createElement(p.Grid,{item:!0,xs:12,sm:3,alignment:"top-left"},a.a.createElement(p.Typography,{variant:"h5"},"Participant & Certificate")),a.a.createElement(p.Grid,{item:!0,xs:12,sm:9,alignment:"center-left"},a.a.createElement(C.FieldArray,{name:"participantList",render:function(n){var i=n.remove,r=n.push;return a.a.createElement(a.a.Fragment,null,t&&t.length>0&&t.map((function(n,o){return function(e,t,n,i,r,o){return a.a.createElement(p.Grid,{container:!0,spacing:"form"},a.a.createElement(p.Grid,{item:!0,xs:12,alignment:"center-left"},a.a.createElement(p.Grid,{container:!0,spacing:"form",key:e},a.a.createElement(p.Grid,{item:!0,lg:6,md:6,xs:12,alignment:"center-left"},a.a.createElement(p.Row,{flex:1},void 0!==Je&&Je.length>0&&!Object(oi.isEmpty)(null===t||void 0===t?void 0:t.user)&&Je.find((function(e){return e.isInstructor===t.isInstructor&&e.user.userId===t.user.userId}))&&a.a.createElement(p.Expanded,{flex:0,mr:1},a.a.createElement(p.Tooltip,{title:"Duplicate participation"},a.a.createElement("span",null,a.a.createElement(p.SystemIcon,{icon:"Error",color:"error",size:"sm"})))),a.a.createElement(p.Expanded,{flex:1},a.a.createElement(p.ComboBox,{id:"participantList.".concat(e,".user"),formikContext:!0,label:"Participant",fullWidth:!0,options:ze||[],noOptionsText:"Please type to search for users",loadingText:"Searching users...",loadResult:ke,onInputChange:function(e,t){Pe(!0),Ue(t)}})))),a.a.createElement(p.Grid,{item:!0,lg:6,md:6,xs:12,alignment:"center-left"},a.a.createElement(p.Row,{crossAxisAlignment:"middle",size:"max"},a.a.createElement(p.Box,{maxWidth:"163px"},a.a.createElement(p.ToggleButtonGroup,{stretch:!0,exclusive:!0,value:null===t||void 0===t?void 0:t.isInstructor,color:"primary",size:"small",options:[{label:"Attendee",value:!1},{label:"Instructor",value:!0}],formikContext:!0,id:"participantList.".concat(e,".isInstructor"),onChange:function(t,n){null!==n&&i.setFieldValue("participantList.".concat(e,".isInstructor"),n)}})),a.a.createElement(p.Spacer,{size:3}),a.a.createElement(ks,{id:e,formState:i}),a.a.createElement(a.a.Fragment,null,e===n.length-1&&20!==n.length?a.a.createElement(p.Row,{mainAxisAlignment:"center"},n.length>1&&a.a.createElement(p.IconButton,{disabled:n.length<=1,onClick:function(){r(e)}},a.a.createElement(p.Typography,{color:n.length<=1?"textSecondary":"primary"},a.a.createElement(p.SystemIcon,{icon:"Delete",size:"sm",type:"duotone"}))),a.a.createElement(p.IconButton,{onClick:function(){o({isInstructor:!1,certificateFileId:0,isUploading:!1,isDownloading:!1})}},a.a.createElement(p.Typography,{color:"primary"},a.a.createElement(p.SystemIcon,{icon:"Add",size:"md",type:"duotone"})))):a.a.createElement(p.IconButton,{disabled:n.length<=1,onClick:function(){r(e)}},a.a.createElement(p.Typography,{color:n.length<=1?"textSecondary":"primary"},a.a.createElement(p.SystemIcon,{icon:"Delete",size:"sm",type:"duotone"})))))))),a.a.createElement(p.Grid,{item:!0,xs:12},a.a.createElement(p.Box,{mb:2},a.a.createElement(p.Divider,null))))}(o,n,t,e,i,r)})))}})),a.a.createElement(p.Grid,{item:!0,xs:12},a.a.createElement(p.Divider,null)))),J&&a.a.createElement(Ve,{isAddMode:!0,open:J,onClose:function(){return G(!1)},onAddNewProvider:function(t){return function(t){e.setFieldTouched("providerId",!0),e.setFieldValue("providerId",t)}(t)},providerName:q,isInHouseProvider:!1,hideProviderTypeOption:!0}),Oe&&a.a.createElement(eo,{title:"Add Credits",open:Oe,onClose:function(e){se(e),Ce(!1)},showFOSLicense:!0,showProfileLicenses:!1,selectedLicenses:oe})),a.a.createElement(_.WizardDialogFooter,{buttons:"custom"},a.a.createElement(p.Grid,{container:!0,justify:"center",spacing:"form"},a.a.createElement(p.Grid,{item:!0,lg:2,md:4,xs:6,stretchContent:!0,alignment:"center"},a.a.createElement(p.Button,{onClick:function(){se(void 0),I()},variant:"contained",color:"default"},"Cancel")),a.a.createElement(p.Grid,{item:!0,lg:2,md:4,xs:6,stretchContent:!0,alignment:"center"},a.a.createElement(p.Button,{type:"submit",variant:"contained",color:"primary",fullWidth:!0,disabled:e.isSubmitting,loading:e.isSubmitting},"Save")))))})))}))),Ds=Object(s.b)(null,(function(e){return{showConfirmation:function(t){return e($(t))}}})),Ls=function(e){var t=e.open,n=Object(_.useWizardDialogContext)().setActiveProcessSteps;return Object(i.useEffect)((function(){t||n(void 0)}),[t,n]),a.a.createElement(_.WizardDialogStepContent,null)},Fs=Ds((function(e){var t=e.closeCalendar,n=e.open,r=e.onClose,o=e.setOpen,s=e.showConfirmation,l=Object(i.useState)(Object(_.createWizardProcesses)([{icon:"Home",title:"In-House Course",description:"Setup and management of firm provided program.",steps:[{component:a.a.createElement(ai,{onClose:r,closeCalendar:t})}]},{icon:"Cem-InFirm",title:"3rd-Party Course",description:"Outside program entry and certificate upload.",steps:[{component:a.a.createElement(Ns,{onClose:r,closeCalendar:t})}]}])),c=Object(u.a)(l,1)[0];return a.a.createElement(Y.a,{open:n,onClose:function(){s({message:"All changes will be lost. Are you sure you want to close the wizard? ",title:"Confirm Exit",OnConfirm:function(){o(!1)}})},fullScreen:!0,processesTitleBar:{title:"What type of course do you want to add?"},processes:c,retainStepOnClose:!0},a.a.createElement(_.WizardDialogHeader,{titleBar:{title:"Add Course"}}),a.a.createElement(Ls,e))})),Bs=Object(di.makeStyles)((function(e){return Object(di.createStyles)({root:{position:"relative",backgroundColor:e.palette.grey[100],overflow:"hidden","& > div":{height:"100%"}},dayHeader:{background:e.palette.primary.dark,color:e.palette.primary.light,lineHeight:e.spacing(.25)},dayCell:{fontSize:e.spacing(1.25),lineHeight:e.spacing(.05)},calendarView:{height:"100%",position:"relative"},eventView:{background:e.palette.grey[50],marginBottom:1}})})),Rs=Bs,Js=Object(i.memo)((function(e){var t=e.calendarEvents,n=e.calendarRef,r=e.calendarHeader,o=e.handleDateClick,s=e.renderEventContent,l=Object(i.useRef)(Rs()),c=Object(i.useCallback)((function(){return r}),[r]),d=Object(i.useCallback)((function(){return s}),[s]),u=Object(i.useCallback)((function(){return t}),[t]);return Object(i.useMemo)((function(){return a.a.createElement(p.Calendar,{calendarRef:n,dayHeaderClassNames:l.current.dayHeader,viewClassNames:l.current.calendarView,eventClassNames:l.current.eventView,handleWindowResize:!0,lazyFetching:!1,headerToolbar:!1,customHeaderToolbar:c(),events:u(),eventContent:d(),dateClick:o,height:"92%"})}),[u,c,n,o,d])})),Gs=function(e){var t=e.format,n=e.size,i=e.type,r=e.color;switch(t){case"Classroom":return a.a.createElement(p.SystemIcon,{icon:"Cem-Classroom",size:n,type:i,color:r});case"On-demand":return a.a.createElement(p.SystemIcon,{icon:"Cem-OnDemand",size:n,type:i,color:r});case"Webcast":return a.a.createElement(p.SystemIcon,{icon:"Cem-Webinar",size:n,type:i,color:r});default:return a.a.createElement(p.SystemIcon,{icon:"Cem-OtherFormat",size:n,type:i,color:r})}},Us=function(e){return a.a.createElement(p.Row,{crossAxisAlignment:"top"},a.a.createElement(p.Box,{m:.3},a.a.createElement(p.Box,{width:25},e.icon)),a.a.createElement(p.Box,{width:"100%"},e.label))},zs=function(e,t){var n=e,i=n.courseFormat,r=n.courseFormatPortalCategory,o=n.endTime,s=n.location,l=n.provider,c=n.room,d=n.instructors,u=n.startTime,m=n.timeZone,v=n.title,f=n.cancelledSession,h=n.endDate,y=n.startDate,b=n.sessionTypeId,g=n.courseTitle,E=!!h&&(null===y||void 0===y?void 0:y.getDate())!==h.getDate(),I=(b===w.qm.Multipart||b===w.qm.Recurring)&&v!==g,S="".concat(g).concat(t?"":I?": ".concat(v):"");return a.a.createElement(a.a.Fragment,null,a.a.createElement(p.Row,null,a.a.createElement(p.Column,{crossAxisAlignment:"right"},a.a.createElement(p.Typography,{variant:"subtitle2",weight:"regular"},S||"Session: ".concat(Object(N.a)(y,"MMM DD, YYYY"))))),a.a.createElement(p.Row,null,a.a.createElement(p.Typography,{variant:"caption"},l)),a.a.createElement(p.Row,null,a.a.createElement(p.Column,{crossAxisAlignment:"left",flex:1},!t&&Us({icon:a.a.createElement(p.SystemIcon,{icon:"Clock",size:"xs"}),label:a.a.createElement(p.Typography,{variant:"caption",color:"secondary"},u?"".concat(u):"",o?" - ".concat(o):"",u||o?" ".concat(m,"; "):"","".concat(Object(N.a)(y,"MMM DD, YYYY")).concat(E?" - ".concat(Object(N.a)(h,"MMM DD, YYYY")):"")||"",f&&"(Cancelled)")}),!t&&!Object(oi.isEmpty)(s)&&Us({icon:a.a.createElement(p.SystemIcon,{icon:"Location",size:"xs"}),label:a.a.createElement(p.Typography,{variant:"caption",color:"secondary"},"".concat(null!==s&&void 0!==s?s:""," ").concat(null!==c&&void 0!==c?c:""))}),!t&&!Object(oi.isEmpty)(i)&&Us({icon:a.a.createElement(Gs,{format:null!==r&&void 0!==r?r:"",size:"xs"}),label:a.a.createElement(p.Typography,{variant:"caption"},i)}),!t&&!Object(oi.isEmpty)(null===e||void 0===e?void 0:e.note)&&Us({icon:a.a.createElement(p.SystemIcon,{icon:"System",size:"xs"}),label:a.a.createElement(p.Typography,{variant:"caption"},null===e||void 0===e?void 0:e.note)}),d&&d.length>0&&Us({icon:a.a.createElement(p.Typography,{variant:"caption"},a.a.createElement(p.SystemIcon,{icon:"Instructor"})),label:a.a.createElement(p.Typography,{variant:"caption"}," Instructor: ".concat(d.join(", ")))}))))},qs=function(e){var t=e.event,n=e.calendarState,r=t.extendedProps.sessionParts,o=Object(i.useState)(!1),s=Object(u.a)(o,2),l=s[0],c=s[1],d=Object(di.useDebounce)((function(){n&&n.getApi().setOption("_resize",void 0)}),500);return a.a.createElement(p.Box,{bgcolor:"#e6f8fc",paddingX:1,paddingY:1},l&&r.map((function(e){var t;return a.a.createElement(p.Link,{key:e.sessionId,href:"/learning/courses/sessions/".concat(e.sessionId),noWrap:!0},a.a.createElement(p.Tooltip,{title:zs(e),placement:"right-end"},a.a.createElement("span",null,a.a.createElement(p.Card,{variant:"outlined",style:{margin:4,padding:4,backgroundColor:e.isPublished?"initial":"#FF8D11"}},a.a.createElement(p.Row,null,a.a.createElement(p.Typography,{color:e.cancelledSession?"error":e.isPublished?"primary":"grey50",variant:"caption"},(null===(t=e.startTime)||void 0===t?void 0:t.toLowerCase())||"--:--"),a.a.createElement(p.Spacer,{size:1}),a.a.createElement(p.Typography,{color:e.cancelledSession?"error":e.isPublished?"primary":"grey50",variant:"caption",noWrap:!0},e.title))))))})),a.a.createElement(p.Box,{textAlign:"right"},a.a.createElement(p.Link,{onClick:function(){c(!l),d()}},a.a.createElement(p.Typography,{variant:"caption",color:"primary"},l?"Hide":"".concat(r.length," more")))))},Ms=Object(i.memo)((function(e){var t=e.currentView,n=e.eventContent,r=e.calendarState,o=n.event,s=o.backgroundColor,l=o.borderColor,c=o.extendedProps,d=c.sessionPart,u=c.multiSession,m=d&&"".concat(d.courseTitle," ").concat(u||d.courseTitle===d.title?"":"".concat(d.title)),v=d&&(d.sessionTypeId===w.qm.Single?"SingleSession":d.sessionTypeId===w.qm.Multipart?"MultiPartSessions":d.sessionTypeId===w.qm.Recurring?"Recur":d.sessionTypeId===w.qm.Simultaneous?"SimultaneousSessions":"");return Object(i.useMemo)((function(){return d?a.a.createElement(a.a.Fragment,null,("month"===t||"week"===t)&&a.a.createElement(p.Box,{display:"flex",bgcolor:s,borderColor:l,borderRadius:"2px",overflow:"hidden",p:1},a.a.createElement(p.Link,{href:d.sessionTypeId===w.qm.Single?"/learning/courses/sessions/".concat(d.sessionId):"/learning/courses/schedules/".concat(d.scheduleId),color:d.cancelledSession||!d.isPublished?"grey50":"primary",weight:"semi-bold",noWrap:!0},a.a.createElement(p.Tooltip,{title:zs(d,u),key:d.sessionId,placement:"right-end"},a.a.createElement("span",null,a.a.createElement(p.Row,{crossAxisAlignment:"middle"},v&&a.a.createElement(p.Box,{mr:.5},a.a.createElement(p.SystemIcon,{width:25,size:"xs",icon:v,type:"duotone"})),a.a.createElement(p.Typography,{variant:"caption",weight:"semi-bold",noWrap:!0},null!==m&&void 0!==m?m:"")))))),u&&a.a.createElement(qs,{event:n.event,calendarState:r})):a.a.createElement(a.a.Fragment,null)}),[s,l,r,t,v,m,n.event,u,d])})),Ws=function(e){var t=e.menu,n=e.icon,i=e.title,r=e.size,o=void 0===r?"small":r,s=a.a.useState(null),l=Object(u.a)(s,2),c=l[0],d=l[1],m=function(e){e.stopPropagation(),d(e.currentTarget)},v=function(e){e.stopPropagation(),d(null)},f=function(e,t){e.stopPropagation(),t(),v(e)};return void 0===t||Object(oi.isEqual)(null===t||void 0===t?void 0:t.filter((function(e){return!0===e.hidden})).length,null===t||void 0===t?void 0:t.length)?a.a.createElement(p.Tooltip,{title:"No action available"},a.a.createElement(p.Button,{"aria-controls":"action-menu","aria-haspopup":"true",color:"primary",variant:"text",size:o,onClick:m,startIcon:n||a.a.createElement(p.SystemIcon,{icon:"Actions",size:"sm"})},i&&a.a.createElement(a.a.Fragment,null,i))):a.a.createElement(a.a.Fragment,null,a.a.createElement(p.Button,{"aria-controls":"simple-menu","aria-haspopup":"true",color:"primary",variant:"text",size:o,onClick:m,startIcon:n||a.a.createElement(p.SystemIcon,{icon:"Actions",size:"sm"})},i&&a.a.createElement(a.a.Fragment,null,i)),a.a.createElement(p.Menu,{id:"simple-menu",anchorEl:c,keepMounted:!0,open:Boolean(c),onClose:v},null===t||void 0===t?void 0:t.map((function(e,t){return e.hidden||a.a.createElement(p.Box,{key:"menu-".concat(t)},e.disabledTooltip&&e.disable?a.a.createElement(p.Tooltip,{title:e.disabledTooltip},a.a.createElement("span",null,a.a.createElement(p.MenuItem,{disabled:e.disable,onClick:function(t){return f(t,e.onClick)},key:"menu-item-".concat(t)},a.a.createElement(p.ListItemIcon,null,e.icon),a.a.createElement(p.ListItemText,{primary:e.label})))):a.a.createElement(p.MenuItem,{disabled:e.disable,onClick:function(t){return f(t,e.onClick)},key:"menu-item-".concat(t)},a.a.createElement(p.ListItemIcon,null,e.icon),a.a.createElement(p.ListItemText,{primary:e.label})))}))))},Vs=function(e){switch(e.type){case"filter-drawer":return a.a.createElement(p.Box,null,a.a.createElement(p.Box,{pb:2},a.a.createElement(p.Skeleton,{height:52,variant:"rect",style:{borderRadius:"4px"}})),a.a.createElement(p.Box,{pb:2},a.a.createElement(p.Skeleton,{height:52,variant:"rect",style:{borderRadius:"4px"}})),a.a.createElement(p.Box,{pb:2},a.a.createElement(p.Skeleton,{height:52,variant:"rect",style:{borderRadius:"4px"}})));default:return a.a.createElement(p.Skeleton,null)}},_s=Object(s.b)((function(e){var t;return{classYears:e.classYears.classYears,competencies:e.competencies.competencies,departments:e.departments.departments,formats:null===(t=e.formats.formats)||void 0===t?void 0:t.filter((function(e){return e.isEnabled&&!e.isOnlineLearning&&"On-demand"!==e.portalCategory})),learningPlans:e.learningPlans.learningPlanFilters,levels:e.levels.levels,locations:e.locations.locations,practiceAreas:e.practiceAreas.practiceAreas,providers:e.providers.providers,requestBody:e.sessions.sessionFilterRequestBody,savedCalendarFilters:e.sessions.savedCalendarFilters,selectedCalendarFilterId:e.sessions.savedCalendarFilterId,sessionCalRequestBody:e.sessions.sessionFilterRequestBody,selectedFirmLicenses:e.licenses.selectedFirmLicenses,selectedSessionFilters:e.sessions.selectedSessionFilters,tags:e.tags.tags}}),(function(e){return{confirmDialog:function(t){return e($(t))},deleteSavedFilter:function(t){return e(os(t))},getCourseMaintenanceTables:function(){return e(ei(!0))},getCourseFormats:function(){return e(V())},getLearningPlans:function(){return e(ti())},getLocations:function(){return e(ni())},setRequestBody:function(t){return e(Bn(t))},getSessionsByMonth:function(t,n){return e(Po(t,n))},setSelectedCalendarFilterId:function(t){e(Jn(t))},setSelectedFirmLicenses:function(t){return e(Pt.b(t))},setSelectedSessionFilters:function(t){return e(Rn(t))},setCalendarSavedFilterDefault:function(t){return e(rs(t))}}})),Ys=_s((function(e){var t=e.classYears,n=e.competencies,r=e.departments,o=e.formats,s=e.learningPlans,l=e.levels,c=e.locations,d=e.practiceAreas,m=e.providers,v=e.selectedFirmLicenses,f=e.tags,h=e.licenses,y=e.key,b=e.formState,g=e.setReinitialization,E=e.setSelectedFirmLicenses,I=Object(i.useState)(!1),S=Object(u.a)(I,2),O=S[0],C=S[1],j=Object(i.useState)(!1),x=Object(u.a)(j,2),A=x[0],T=x[1],w=Object(i.useState)(v),k=Object(u.a)(w,2),P=k[0],N=k[1],D=Object(i.useRef)(h),L=Object(i.useRef)(g);Object(i.useEffect)((function(){var e=b.getFieldProps("jurisdictions").value;if(null===e||void 0===e)b.setFieldValue("jurisdictions",[]),C(!0);else{var t,n,i=null!==(t=null===(n=D.current)||void 0===n?void 0:n.filter((function(t){return e.licenseId&&e.licenseId===t.licenseId})))&&void 0!==t?t:[];N(i),C(!1)}""===e?(b.setFieldValue("jurisdictions",[]),C(!0),L.current(!1)):C(!1)}),[N,b]);return a.a.createElement(a.a.Fragment,{key:y},a.a.createElement(p.Grid,{container:!0,spacing:"form"},a.a.createElement(p.Grid,{item:!0,xs:12,stretchContent:!0},a.a.createElement(p.ComboBox,{id:"sessionFormats",label:"Session Format",fullWidth:!0,multiple:!0,options:o||[],formikContext:!0,optionId:"courseFormatId",groupBy:function(e){return"On-demand"===e.portalCategory?"On-demand":"Classroom"===e.portalCategory?"Classroom":"Webcast"===e.portalCategory?"Webcast":"Other"}})),a.a.createElement(p.Grid,{item:!0,xs:12,stretchContent:!0},a.a.createElement(p.ComboBox,{label:"Provider",id:"courseProviders",fullWidth:!0,multiple:!0,options:m||[],formikContext:!0,optionId:"providerId",groupBy:function(e){return e.isInHouse?"In Firm":"Third-Party"}})),a.a.createElement(p.Grid,{item:!0,xs:12,stretchContent:!0},a.a.createElement(p.ComboBox,{label:"Jurisdiction",id:"jurisdictions",onBlur:function(e){e&&P&&E(P)},fullWidth:!0,optionId:"licenseId",options:h})),!O&&(null===P||void 0===P?void 0:P.map((function(e){var t;return a.a.createElement(p.Grid,{key:e.licenseId,item:!0,sm:12,md:12,lg:12},a.a.createElement(p.Grid,{container:!0,spacing:"form",key:"license_".concat(e.licenseId,"_info")},a.a.createElement(p.Grid,{container:!0,spacing:"form"},null===(t=e.licenseCredits)||void 0===t?void 0:t.map((function(t){return a.a.createElement(p.Grid,{item:!0,xs:4,key:"".concat(e.licenseId,"_").concat(t.creditId)},a.a.createElement(p.Box,{mt:1,ml:1,mr:1},a.a.createElement(p.TextField,{id:"licenseCreditsList.".concat(e.licenseId,"_").concat(t.creditId),label:t.name,type:"text",fullWidth:!0,formikContext:!0,maxLabelLength:10})))})))))})))),a.a.createElement(p.Box,{mt:2},a.a.createElement(p.Row,{crossAxisAlignment:"middle"},a.a.createElement(p.Expanded,null,a.a.createElement(p.Typography,{variant:"button"},a.a.createElement("b",null,"Advanced Search Options"))),a.a.createElement(p.Expanded,{flex:0,ml:1},a.a.createElement(p.IconButton,{onClick:function(){T(!A)}},A?a.a.createElement(p.SystemIcon,{icon:"CollapseVertical",size:"md"}):a.a.createElement(p.SystemIcon,{icon:"ExpandVertical",size:"md"}))))),a.a.createElement(p.Collapse,{in:A},a.a.createElement(p.Grid,{container:!0,spacing:"form"},a.a.createElement(p.Grid,{item:!0,xs:12,stretchContent:!0},a.a.createElement(p.ComboBox,{label:"Competencies",id:"courseCompetencies",fullWidth:!0,multiple:!0,options:n||[],formikContext:!0,optionId:"competencyId"})),a.a.createElement(p.Grid,{item:!0,xs:12,stretchContent:!0},a.a.createElement(p.ComboBox,{id:"courseTags",label:"Tags",fullWidth:!0,multiple:!0,options:f||[],formikContext:!0,optionId:"tagId"})),a.a.createElement(p.Grid,{item:!0,xs:12,stretchContent:!0},a.a.createElement(p.ComboBox,{label:"Learning Plan",id:"courseLearningPlans",fullWidth:!0,multiple:!0,options:null===s||void 0===s?void 0:s.map((function(e){return{id:e.learningPlanId,name:e.title,learningPlanId:e.learningPlanId}})),formikContext:!0,optionId:"learningPlanId"})),a.a.createElement(p.Grid,{item:!0,xs:12,stretchContent:!0},a.a.createElement(p.ComboBox,{id:"sessionLocations",label:"Location",fullWidth:!0,multiple:!0,options:c||[],formikContext:!0,optionId:"locationId"})),a.a.createElement(p.Grid,{item:!0,xs:12,stretchContent:!0},a.a.createElement(p.ComboBox,{id:"courseDepartments",label:"Department",fullWidth:!0,multiple:!0,options:r||[],formikContext:!0,optionId:"departmentId"})),a.a.createElement(p.Grid,{item:!0,xs:12,stretchContent:!0},a.a.createElement(p.ComboBox,{id:"coursePracticeAreas",label:"Practice Area",fullWidth:!0,multiple:!0,options:d||[],formikContext:!0,optionId:"practiceAreaId"})),a.a.createElement(p.Grid,{item:!0,xs:12,stretchContent:!0},a.a.createElement(p.ComboBox,{id:"courseLevels",label:"Level",fullWidth:!0,multiple:!0,options:l||[],formikContext:!0,optionId:"levelId"})),a.a.createElement(p.Grid,{item:!0,xs:12,stretchContent:!0},a.a.createElement(p.ComboBox,{id:"courseClassYears",label:"Class Year",fullWidth:!0,multiple:!0,options:t||[],formikContext:!0,optionId:"classYearId"})),a.a.createElement(p.Grid,{item:!0,xs:12,stretchContent:!0},a.a.createElement(p.RadioGroup,{formikContext:!0,id:"isOpenToClient",groupLabel:"Open to Client",orientation:"horizontal",options:[{label:"Yes",value:"1"},{label:"No",value:"2"}]})),a.a.createElement(p.Grid,{item:!0,xs:12,stretchContent:!0},a.a.createElement(p.TextField,{id:"sessionInstructor",label:"Instructor",fullWidth:!0,formikContext:!0})))))})),Hs=Object(s.b)((function(e){var t,n;return{classYears:e.classYears.classYears,competencies:e.competencies.competencies,departments:e.departments.departments,formats:null===(t=e.formats.formats)||void 0===t?void 0:t.filter((function(e){return e.isEnabled&&!e.isOnlineLearning&&"On-demand"!==e.portalCategory})),learningPlans:e.learningPlans.learningPlanFilters,levels:e.levels.levels,locations:e.locations.locations,practiceAreas:e.practiceAreas.practiceAreas,providers:e.providers.providers,selectedSessionFilters:e.sessions.selectedSessionFilters,tags:e.tags.tags,userName:null===(n=e.users.loggedUser)||void 0===n?void 0:n.userName}}),(function(e){return{getAllLicenses:function(){return e(Object(wo.c)())},saveCalendarFilter:function(t,n){return e(as(t,n))},setSelectedSessionFilters:function(t){return e(Rn(t))},validateCalendarSavedFilterName:function(t,n,i){return e(ss(t,n,i))}}})),$s=Hs((function(e){var t,n=e.classYears,r=e.competencies,o=e.departments,s=e.duplicateMode,l=e.formats,c=e.learningPlans,d=e.levels,m=e.locations,v=e.practiceAreas,f=e.providers,h=e.onClose,y=e.onSaved,b=e.open,g=e.saveCalendarFilter,E=e.selectedFilter,I=e.selectedSessionFilters,S=e.tags,j=e.userName,x=e.validateCalendarSavedFilterName,A=e.licenses,T=Object(i.useState)(!0),w=Object(u.a)(T,2),k=w[0],P=w[1],N=Object(i.useState)(),D=Object(u.a)(N,2),L=D[0],F=D[1],B=Object(i.useState)([]),R=Object(u.a)(B,2),J=R[0],G=R[1],U=Object(i.useState)(!1),z=Object(u.a)(U,2),q=z[0],M=z[1];Object(i.useEffect)((function(){if(E){var e,t=null===E||void 0===E||null===(e=E.filter)||void 0===e?void 0:e.split("|").filter((function(e){return"SessionLicense[or]"===e.split(": ")[0]}));(null===t||void 0===t?void 0:t.toString())!==(null===J||void 0===J?void 0:J.toString())&&G(t)}}),[E,I,J]),Object(i.useEffect)((function(){if(J){var e,t=Array();J.forEach((function(e){var n=e.split(": ")[1];t.push(parseInt(n,10))}));var n=null!==(e=null===A||void 0===A?void 0:A.filter((function(e){return t.includes(e.licenseId)})))&&void 0!==e?e:[];F(n)}else F(void 0)}),[A,J]);var W=[{label:"Yes",value:"1"},{label:"No",value:"2"}],V=function(e,t,n){var i,a=Array(),r=null===E||void 0===E||null===(i=E.filter)||void 0===i?void 0:i.split("|");if(r){var o=r.find((function(t){return t.includes("".concat(e))}));if(o)o.split(": ")[1].split(",").forEach((function(e){n&&n.forEach((function(n){parseInt(e,10)===n["".concat(t)]&&a.push(n)}))}))}return a},_={initialValues:{courseProviders:V("ProviderIds","providerId",f),courseClassYears:V("CourseClassYear","classYearId",n),courseCompetencies:V("CourseCompetency","competencyId",r),courseDepartments:V("CourseDepartment","departmentId",o),courseLevels:V("CourseLevel","levelId",d),coursePracticeAreas:V("CoursePracticeArea","practiceAreaId",v),courseTags:V("CourseTag","tagId",S),courseLearningPlans:function(e,t,n){var i,a=Array(),r=null===E||void 0===E||null===(i=E.filter)||void 0===i?void 0:i.split("|");if(r){var o=r.find((function(t){return t.includes("".concat(e))}));if(o)o.split(": ")[1].split(",").forEach((function(e){n&&n.forEach((function(n){parseInt(e,10)===n["".concat(t)]&&a.push({id:n.learningPlanId,name:n.title,learningPlanId:n.learningPlanId})}))}))}return a}("LearningPlan","learningPlanId",c),jurisdictions:function(e){var t,n=null===E||void 0===E||null===(t=E.filter)||void 0===t?void 0:t.split("|"),i=null===n||void 0===n?void 0:n.find((function(e){return e.includes("SessionLicense")}));if(i){var a=i.split(": ")[1];return e&&(null===e||void 0===e?void 0:e.find((function(e){return e.licenseId===parseInt(a,10)})))}return[]}(A),licenseCreditsList:function(){var e,t={},n=null===E||void 0===E||null===(e=E.filter)||void 0===e?void 0:e.split("|");return L&&(null===L||void 0===L?void 0:L.length)>0&&L.forEach((function(e){var i=null===n||void 0===n?void 0:n.find((function(t){return t.includes("Credit: ".concat(e.licenseId))}));if(i){var a={};i.split(":")[1].split(" ".concat(e.licenseId,"_"))[1].split("_").forEach((function(e){var t=e.split("-");a=Object(O.a)(Object(O.a)({},a),{},Object(ri.a)({},"".concat(t[0]),t[1]))}));var r={};e.licenseCredits&&e.licenseCredits.forEach((function(t){var n,i=a[null!==(n=t.creditId)&&void 0!==n?n:0];i=void 0===i?null:parseFloat(i.toString()),r=Object(O.a)(Object(O.a)({},r),{},Object(ri.a)({},"".concat(e.licenseId,"_").concat(t.creditId),i))})),t=Object(O.a)(Object(O.a)({},t),r)}})),t}(),sessionFormats:V("SessionFormat","courseFormatId",l),sessionLocations:V("SessionLocation","locationId",m),isOpenToClient:function(){var e,t=null===E||void 0===E||null===(e=E.filter)||void 0===e?void 0:e.split("|");return t&&(null===t||void 0===t?void 0:t.find((function(e){return e.includes("IsOpenToClient")})))?"1":"2"}(),sessionInstructor:null!==(t=function(e){var t,n=null===E||void 0===E||null===(t=E.filter)||void 0===t?void 0:t.split("|");if(n){var i=n.find((function(t){return t.includes("".concat(e))}));if(i)return"SessionInstructor"===e?i.split(":")[1]:i.split(": ")[1]}return null}("SessionInstructor"))&&void 0!==t?t:"",isDefault:s?"2":(null===E||void 0===E?void 0:E.isDefault)?"1":"2",name:null===E||void 0===E?void 0:E.name},validationSchema:Object(Q.object)().shape({courseProviders:Object(Q.array)().notRequired(),courseClassYears:Object(Q.array)().notRequired(),courseCompetencies:Object(Q.array)().notRequired(),courseDepartments:Object(Q.array)().notRequired(),courseLevels:Object(Q.array)().notRequired(),coursePracticeAreas:Object(Q.array)().notRequired(),courseLearningPlans:Object(Q.array)().notRequired(),jurisdictions:Object(Q.array)().notRequired().nullable(),sessionFormats:Object(Q.array)().notRequired(),sessionLocations:Object(Q.array)().notRequired(),isOpenToClient:Object(Q.string)().notRequired(),sessionInstructor:Object(Q.string)().nullable(),name:Object(Q.string)().required("Required").max(1e3,"Too long!").trim(),isDefault:Object(Q.string)()}),onSubmit:function(e,t){var n,i,a,r=e.courseProviders,o=e.courseClassYears,l=e.courseCompetencies,c=e.courseDepartments,d=e.courseLevels,m=e.coursePracticeAreas,v=e.courseTags,f=e.courseLearningPlans,p=e.jurisdictions,b=e.licenseCreditsList,I=e.sessionFormats,S=e.sessionLocations,C=e.isOpenToClient,A=e.sessionInstructor,T=e.isDefault,w=e.name;t.setSubmitting(!0);var k=Array();if(r.length>0){var N="ProviderIds: ";r.forEach((function(e){var t,n=null!==(t=e.providerId)&&void 0!==t?t:0;N=N.concat(n.toString(),",")})),k.push(N.slice(0,-1))}if(o.length>0){var D="CourseClassYear[or]: ";o.forEach((function(e){var t,n=null!==(t=e.classYearId)&&void 0!==t?t:0;D=D.concat(n.toString(),",")})),k.push(D.slice(0,-1))}if(l.length>0){var F="CourseCompetency[or]: ";l.forEach((function(e){var t,n=null!==(t=e.competencyId)&&void 0!==t?t:0;F=F.concat(n.toString(),",")})),k.push(F.slice(0,-1))}if(c.length>0){var B="CourseDepartment[or]: ";c.forEach((function(e){var t,n=null!==(t=e.departmentId)&&void 0!==t?t:0;B=B.concat(n.toString(),",")})),k.push(B.slice(0,-1))}if(d.length>0){var R="CourseLevel[or]: ";d.forEach((function(e){var t,n=null!==(t=e.levelId)&&void 0!==t?t:0;R=R.concat(n.toString(),",")})),k.push(R.slice(0,-1))}if(m.length>0){var J="CoursePracticeArea[or]: ";m.forEach((function(e){var t,n=null!==(t=e.practiceAreaId)&&void 0!==t?t:0;J=J.concat(n.toString(),",")})),k.push(J.slice(0,-1))}if(v.length>0){var G="CourseTag[or]: ";v.forEach((function(e){var t,n=null!==(t=e.tagId)&&void 0!==t?t:0;G=G.concat(n.toString(),",")})),k.push(G.slice(0,-1))}if(f.length>0){var U="LearningPlan[or]: ";f.forEach((function(e){var t,n=null!==(t=e.learningPlanId)&&void 0!==t?t:0;U=U.concat(n.toString(),",")})),k.push(U.slice(0,-1))}if(I.length>0){var z="SessionFormat: ";I.forEach((function(e){var t,n=null!==(t=e.courseFormatId)&&void 0!==t?t:0;z=z.concat(n.toString(),",")})),k.push(z.slice(0,-1))}if(S.length>0){var q="SessionLocation: ";S.forEach((function(e){var t,n=null!==(t=e.locationId)&&void 0!==t?t:0;q=q.concat(n.toString(),",")})),k.push(q.slice(0,-1))}if(Object.keys(p).length>0){var W="SessionLicense[or]: ".concat(p.licenseId),V=Array(),_=L&&(null===L||void 0===L?void 0:L.map((function(e){return e.licenseId}))),Y={};k.push(W),b&&(Object.keys(b).forEach((function(e){var t=parseInt(e.split("_")[0],10);if((null===p||void 0===p?void 0:p.licenseId)===t){var n=parseInt(e.split("_")[1],10),i=b[e];if(""!==i&&null!==i){var a=parseFloat(i);Y=Object(O.a)(Object(O.a)({},Y),{},Object(ri.a)({},"".concat(t,"-").concat(n),"".concat(t,"|").concat(n,"-").concat(a)))}}})),_&&_.forEach((function(e){var t="Credit: ".concat(e),n=t;Object.entries(Y).filter((function(t){var n=Object(u.a)(t,2)[1];return parseInt(n.split("|")[0],10)===e})).forEach((function(e){var n=Object(u.a)(e,2)[1];t+="_".concat(n.split("|")[1])})),n===t?V.push(e):k.push(t)})))}""!==A&&k.push("SessionInstructor:".concat(A)),"1"===C&&k.push("IsOpenToClient"),P(!0);var H=Object(O.a)(Object(O.a)({},E),{},{calendarSavedFilterId:null!==(n=null===E||void 0===E?void 0:E.calendarSavedFilterId)&&void 0!==n?n:void 0,name:String(w).trim(),isPublic:!1,isReadOnly:!0,isDefault:"1"===T,createdBy:s?j:null===E||void 0===E?void 0:E.createdBy,filter:k.length>0?k.join("|"):"[]"});x(s?0:null!==(i=null===E||void 0===E?void 0:E.calendarSavedFilterId)&&void 0!==i?i:0,String(w).trim(),s?null!==j&&void 0!==j?j:"":null!==(a=null===E||void 0===E?void 0:E.createdBy)&&void 0!==a?a:"").then((function(e){e?(M(!0),t.setSubmitting(!1)):(t.setSubmitting(!0),g(H,!s).then((function(e){e&&(h(),y(e),t.setSubmitting(!1))})))}))}};return a.a.createElement(p.SideDrawer,{size:"sm",open:b,onClose:function(e){function t(){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}((function(){P(!0),h()}))},a.a.createElement(C.Formik,{initialValues:_.initialValues,validationSchema:_.validationSchema,onSubmit:_.onSubmit,enableReinitialize:k},(function(e){return a.a.createElement(p.Form,{id:"edit-saved-calendar-filter",formikContext:!0},a.a.createElement(_r.SideDrawerHeader,{titleBar:{title:s?"Add Filter":"Edit Filters"},widgets:a.a.createElement(p.Typography,{variant:"body1"},"for ",null===E||void 0===E?void 0:E.name)}),a.a.createElement(_r.SideDrawerBody,{maxWidth:!1},function(e,t){return[a.a.createElement(a.a.Fragment,{key:e},a.a.createElement(p.Grid,{container:!0,spacing:"form"},a.a.createElement(p.Grid,{item:!0,xs:12,alignment:"top-left",stretchContent:!0},a.a.createElement(p.Collapse,{in:q},a.a.createElement(p.Alert,{type:"error",icon:"Error",onClose:function(){return M(!1)}},"This filter name already exists"))),a.a.createElement(p.Grid,{item:!0,xs:12,key:"name",stretchContent:!0,alignment:"top-left"},a.a.createElement(p.TextField,{required:!0,fullWidth:!0,id:"name",label:"Filter Name",formikContext:!0})),a.a.createElement(p.Grid,{item:!0,xs:12,key:"isDefault",stretchContent:!0,alignment:"top-left"},a.a.createElement(p.RadioGroup,{groupLabel:"Set as the default filter?",options:W,id:"isDefault",orientation:"horizontal",formikContext:!0,disabled:!s&&(null===E||void 0===E?void 0:E.isDefault)})),a.a.createElement(p.Grid,{item:!0,xs:12,stretchContent:!0},a.a.createElement(p.Divider,null)),a.a.createElement(Ys,{key:e,formState:t,licenses:A,setReinitialization:function(e){return P(e)}})))]}(0,e)),a.a.createElement(_r.SideDrawerFooter,null,a.a.createElement(p.Grid,{container:!0,spacing:"form"},a.a.createElement(p.Grid,{item:!0,xs:6,alignment:"center-right"},a.a.createElement(p.Button,{variant:"outlined",color:"default",onClick:function(){return h()},fullWidth:!0},"Cancel")),a.a.createElement(p.Grid,{item:!0,xs:6,alignment:"center-left"},a.a.createElement(p.Button,{loading:e.isSubmitting,variant:"contained",type:"submit",color:"primary",fullWidth:!0},"Save")))))})))})),Qs=Object(s.b)((function(e){var t;return{userName:null===(t=e.users.loggedUser)||void 0===t?void 0:t.userName}}),(function(e){return{saveCalendarFilter:function(t,n){return e(as(t,n))},validateCalendarSavedFilterName:function(t,n,i){return e(ss(t,n,i))}}})),Zs=Qs((function(e){var t=e.onClose,n=e.onSaved,r=e.open,o=e.title,s=e.editMode,l=e.saveCalendarFilter,c=e.selectedFilter,d=e.userName,m=e.validateCalendarSavedFilterName,v=Object(i.useState)(!1),f=Object(u.a)(v,2),h=f[0],y=f[1],b=[{label:"Yes",value:"1"},{label:"No",value:"2"}],g={initialValues:{name:s?null===c||void 0===c?void 0:c.name:"",isDefault:s&&(null===c||void 0===c?void 0:c.isDefault)?"1":"2"},validationSchema:Object(Q.object)().shape({name:Object(Q.string)().required("Required").max(1e3,"Too long!").trim(),isDefault:Object(Q.string)()}),onSubmit:function(e,i){var a=e.name,r=e.isDefault;i.setSubmitting(!0);var o=Object(O.a)(Object(O.a)({},c),{},{calendarSavedFilterId:s?null===c||void 0===c?void 0:c.calendarSavedFilterId:void 0,name:String(a).trim(),isPublic:!1,isReadOnly:!0,isDefault:"1"===r,createdBy:s?null===c||void 0===c?void 0:c.createdBy:d,filter:null===c||void 0===c?void 0:c.filter});m(s&&(null===c||void 0===c?void 0:c.calendarSavedFilterId)||0,a,s?(null===c||void 0===c?void 0:c.createdBy)||"":d||"").then((function(e){e?(y(!0),i.setSubmitting(!1)):(i.setSubmitting(!0),l(o,s).then((function(e){e&&(t(),n(e),i.setSubmitting(!1))})))}))}};return a.a.createElement(p.Dialog,{maxWidth:"sm",fullWidth:!0,color:"default",open:r,onClose:t},a.a.createElement(C.Formik,{initialValues:g.initialValues,validationSchema:g.validationSchema,onSubmit:g.onSubmit},(function(e){return a.a.createElement(p.Form,{id:"calendar-save-filter",formikContext:!0},a.a.createElement(A.DialogHeader,{titleBar:{title:o,onClose:t}}),a.a.createElement(A.DialogBody,{maxWidth:!1},a.a.createElement(p.Grid,{container:!0,spacing:2},a.a.createElement(p.Grid,{item:!0,xs:12,alignment:"top-left",stretchContent:!0},a.a.createElement(p.Collapse,{in:h},a.a.createElement(p.Alert,{type:"error",icon:"Error",onClose:function(){return y(!1)}},"This filter name already exists"))),a.a.createElement(p.Grid,{item:!0,xs:12,key:"caption",stretchContent:!0,alignment:"top-left"},a.a.createElement(p.Typography,{variant:"subtitle1",weight:"regular"},"The saved filters will be available from the calendar screen and from the 'Saved Filters' tab within Filters.")),a.a.createElement(p.Grid,{item:!0,xs:12,key:"name",stretchContent:!0,alignment:"top-left"},a.a.createElement(p.TextField,{formikContext:!0,required:!0,fullWidth:!0,id:"name",label:"Filter Name"})),a.a.createElement(p.Grid,{item:!0,xs:12,key:"isDefault",stretchContent:!0,alignment:"top-left"},a.a.createElement(p.RadioGroup,{formikContext:!0,groupLabel:"Set as the default filter?",options:b,id:"isDefault",orientation:"horizontal"})))),a.a.createElement(A.DialogFooter,null,a.a.createElement(p.Grid,{container:!0,spacing:"form"},a.a.createElement(p.Grid,{item:!0,xs:6,alignment:"center-right"},a.a.createElement(p.Button,{color:"default",variant:"outlined",type:"reset",onClick:function(){t()},fullWidth:!0},"Cancel")),a.a.createElement(p.Grid,{item:!0,xs:6,alignment:"center-left"},a.a.createElement(p.Button,{loading:e.isSubmitting,color:"primary",variant:"contained",type:"submit",fullWidth:!0},"Save")))),a.a.createElement(p.Box,{mb:3}))})))})),Xs=Object(s.b)((function(e){var t;return{classYears:e.classYears.classYears,competencies:e.competencies.competencies,departments:e.departments.departments,formats:null===(t=e.formats.formats)||void 0===t?void 0:t.filter((function(e){return e.isEnabled&&!e.isOnlineLearning&&"On-demand"!==e.portalCategory})),learningPlans:e.learningPlans.learningPlanFilters,levels:e.levels.levels,locations:e.locations.locations,practiceAreas:e.practiceAreas.practiceAreas,providers:e.providers.providers,requestBody:e.sessions.sessionFilterRequestBody,savedCalendarFilters:e.sessions.savedCalendarFilters,selectedCalendarFilterId:e.sessions.savedCalendarFilterId,sessionCalRequestBody:e.sessions.sessionFilterRequestBody,selectedFirmLicenses:e.licenses.selectedFirmLicenses,selectedSessionFilters:e.sessions.selectedSessionFilters,tags:e.tags.tags}}),(function(e){return{confirmDialog:function(t){return e($(t))},deleteSavedFilter:function(t){return e(os(t))},getCourseMaintenanceTables:function(){return e(ei(!0))},getCourseFormats:function(){return e(V())},getLearningPlans:function(){return e(ti())},getLocations:function(){return e(ni())},setRequestBody:function(t){return e(Bn(t))},getSessionsByMonth:function(t,n){return e(Po(t,n))},setSelectedCalendarFilterId:function(t){e(Jn(t))},setSelectedFirmLicenses:function(t){return e(Pt.b(t))},setSelectedSessionFilters:function(t){return e(Rn(t))},setCalendarSavedFilterDefault:function(t){return e(rs(t))}}})),Ks=Xs((function(e){var t,n,r=e.classYears,o=e.competencies,s=e.confirmDialog,l=e.deleteSavedFilter,c=e.departments,d=e.endDate,m=e.formats,v=e.getSessionsByMonth,f=e.learningPlans,h=e.levels,y=e.locations,b=e.practiceAreas,g=e.providers,E=e.onClose,I=e.onSaveFilterSelection,S=e.open,j=e.savedCalendarFilters,x=e.sessionCalRequestBody,A=e.selectedCalendarFilterId,T=e.selectedFirmLicenses,w=e.selectedSessionFilters,k=e.setRequestBody,P=e.setSelectedCalendarFilterId,N=e.setSelectedFirmLicenses,D=e.setSelectedSessionFilters,L=e.startDate,F=e.tags,B=e.setCalendarSavedFilterDefault,R=e.onSubmitFilter,J=e.licenses,G=Object(i.useState)(!1),U=Object(u.a)(G,2),z=U[0],q=U[1],M=Object(i.useState)(!1),W=Object(u.a)(M,2),V=W[0],_=W[1],Y=Object(i.useState)(!1),H=Object(u.a)(Y,2),$=H[0],Z=H[1],X=Object(i.useState)(!1),K=Object(u.a)(X,2),ee=K[0],te=K[1],ne=Object(i.useState)(!1),ie=Object(u.a)(ne,2),ae=ie[0],re=ie[1],oe=Object(i.useState)(void 0),se=Object(u.a)(oe,2),le=se[0],ce=se[1],de=Object(i.useState)(void 0),ue=Object(u.a)(de,2),me=ue[0],ve=ue[1],fe=Object(i.useState)(!0),pe=Object(u.a)(fe,2),he=pe[0],ye=pe[1],be=null===j||void 0===j||null===(t=j.find((function(e){return e.isDefault})))||void 0===t?void 0:t.calendarSavedFilterId;Object(i.useEffect)((function(){if(S){var e=null===w||void 0===w?void 0:w.filter((function(e){return"SessionLicense[or]"===e.split(": ")[0]}));(null===e||void 0===e?void 0:e.toString())!==(null===me||void 0===me?void 0:me.toString())&&ve(e)}}),[S,w,me]),Object(i.useEffect)((function(){if(S)if(me){var e,t=Array();me.forEach((function(e){var n=e.split(": ")[1];t.push(parseInt(n,10))}));var n=null!==(e=null===J||void 0===J?void 0:J.filter((function(e){return t.includes(e.licenseId)})))&&void 0!==e?e:[];N(n)}else N(null)}),[J,S,me,N]);var ge=function(){q(!1),Z(!1),_(!0),te(!0)},Ee=function(e,t,n){var i=Array(),a=null===w||void 0===w?void 0:w.find((function(t){return t.includes("".concat(e))}));a&&a.split(": ")[1].split(",").forEach((function(e){n&&n.forEach((function(n){parseInt(e,10)===n["".concat(t)]&&i.push(n)}))}));return i},Ie=function(){return(null===w||void 0===w?void 0:w.find((function(e){return e.includes("IsOpenToClient")})))?"1":"2"},Se={initialValues:{courseProviders:Ee("ProviderIds","providerId",g),courseClassYears:Ee("CourseClassYear","classYearId",r),courseCompetencies:Ee("CourseCompetency","competencyId",o),courseDepartments:Ee("CourseDepartment","departmentId",c),courseLevels:Ee("CourseLevel","levelId",h),coursePracticeAreas:Ee("CoursePracticeArea","practiceAreaId",b),courseTags:Ee("CourseTag","tagId",F),courseLearningPlans:function(e,t,n){var i=Array(),a=null===w||void 0===w?void 0:w.find((function(t){return t.includes("".concat(e))}));a&&a.split(": ")[1].split(",").forEach((function(e){n&&n.forEach((function(n){parseInt(e,10)===n["".concat(t)]&&i.push({id:n.learningPlanId,name:n.title,learningPlanId:n.learningPlanId})}))}));return i}("LearningPlan","learningPlanId",f),jurisdictions:function(e){var t=null===w||void 0===w?void 0:w.find((function(e){return e.includes("SessionLicense")}));if(t){var n=t.split(": ")[1];return e&&(null===e||void 0===e?void 0:e.find((function(e){return e.licenseId===parseInt(n,10)})))}return[]}(J),licenseCreditsList:function(){var e={};return T&&(null===T||void 0===T?void 0:T.length)>0&&T.forEach((function(t){var n=null===w||void 0===w?void 0:w.find((function(e){return e.includes("Credit: ".concat(t.licenseId))}));if(n){var i={};n.split(":")[1].split(" ".concat(t.licenseId,"_"))[1].split("_").forEach((function(e){var t=e.split("-");i=Object(O.a)(Object(O.a)({},i),{},Object(ri.a)({},"".concat(t[0]),t[1]))}));var a={};t.licenseCredits&&t.licenseCredits.forEach((function(e){var n,r=i[null!==(n=e.creditId)&&void 0!==n?n:0];r=void 0===r?null:parseFloat(r.toString()),a=Object(O.a)(Object(O.a)({},a),{},Object(ri.a)({},"".concat(t.licenseId,"_").concat(e.creditId),r))})),e=Object(O.a)(Object(O.a)({},e),a)}})),e}(),sessionFormats:Ee("SessionFormat","courseFormatId",m),sessionLocations:Ee("SessionLocation","locationId",y),isOpenToClient:Ie(),sessionInstructor:null!==(n=function(e){var t=null===w||void 0===w?void 0:w.find((function(t){return t.includes("".concat(e))}));return t?"SessionInstructor"===e?t.split(":")[1]:t.split(": ")[1]:null}("SessionInstructor"))&&void 0!==n?n:""},validationSchema:Object(Q.object)().shape({courseProviders:Object(Q.array)().notRequired(),courseClassYears:Object(Q.array)().notRequired(),courseCompetencies:Object(Q.array)().notRequired(),courseDepartments:Object(Q.array)().notRequired(),courseLevels:Object(Q.array)().notRequired(),coursePracticeAreas:Object(Q.array)().notRequired(),courseLearningPlans:Object(Q.array)().notRequired(),jurisdictions:Object(Q.array)().notRequired().nullable(),sessionFormats:Object(Q.array)().notRequired(),sessionLocations:Object(Q.array)().notRequired(),isOpenToClient:Object(Q.string)().notRequired(),sessionInstructor:Object(Q.string)().nullable()}),onSubmit:function(e,t){var n=e.courseProviders,i=e.courseClassYears,a=e.courseCompetencies,r=e.courseDepartments,o=e.courseLevels,s=e.coursePracticeAreas,l=e.courseTags,c=e.courseLearningPlans,m=e.jurisdictions,f=e.licenseCreditsList,p=e.sessionFormats,h=e.sessionLocations,y=e.isOpenToClient,b=e.sessionInstructor,g=Array();if(n.length>0){var E="ProviderIds: ";n.forEach((function(e){var t,n=null!==(t=e.providerId)&&void 0!==t?t:0;E=E.concat(n.toString(),",")})),g.push(E.slice(0,-1))}if(i.length>0){var I="CourseClassYear[or]: ";i.forEach((function(e){var t,n=null!==(t=e.classYearId)&&void 0!==t?t:0;I=I.concat(n.toString(),",")})),g.push(I.slice(0,-1))}if(a.length>0){var S="CourseCompetency[or]: ";a.forEach((function(e){var t,n=null!==(t=e.competencyId)&&void 0!==t?t:0;S=S.concat(n.toString(),",")})),g.push(S.slice(0,-1))}if(r.length>0){var C="CourseDepartment[or]: ";r.forEach((function(e){var t,n=null!==(t=e.departmentId)&&void 0!==t?t:0;C=C.concat(n.toString(),",")})),g.push(C.slice(0,-1))}if(o.length>0){var A="CourseLevel[or]: ";o.forEach((function(e){var t,n=null!==(t=e.levelId)&&void 0!==t?t:0;A=A.concat(n.toString(),",")})),g.push(A.slice(0,-1))}if(s.length>0){var w="CoursePracticeArea[or]: ";s.forEach((function(e){var t,n=null!==(t=e.practiceAreaId)&&void 0!==t?t:0;w=w.concat(n.toString(),",")})),g.push(w.slice(0,-1))}if(l.length>0){var N="CourseTag[or]: ";l.forEach((function(e){var t,n=null!==(t=e.tagId)&&void 0!==t?t:0;N=N.concat(n.toString(),",")})),g.push(N.slice(0,-1))}if(c.length>0){var F="LearningPlan[or]: ";c.forEach((function(e){var t,n=null!==(t=e.learningPlanId)&&void 0!==t?t:0;F=F.concat(n.toString(),",")})),g.push(F.slice(0,-1))}if(p.length>0){var B="SessionFormat: ";p.forEach((function(e){var t,n=null!==(t=e.courseFormatId)&&void 0!==t?t:0;B=B.concat(n.toString(),",")})),g.push(B.slice(0,-1))}if(h.length>0){var J="SessionLocation: ";h.forEach((function(e){var t,n=null!==(t=e.locationId)&&void 0!==t?t:0;J=J.concat(n.toString(),",")})),g.push(J.slice(0,-1))}if(Object.keys(m).length>0){var G="SessionLicense[or]: ".concat(m.licenseId),U=Array(),z=T&&(null===T||void 0===T?void 0:T.map((function(e){return e.licenseId}))),q={};g.push(G),f&&(Object.keys(f).forEach((function(e){var t=parseInt(e.split("_")[0],10);if((null===m||void 0===m?void 0:m.licenseId)===t){var n=parseInt(e.split("_")[1],10),i=f[e];if(""!==i&&null!==i){var a=parseFloat(i);q=Object(O.a)(Object(O.a)({},q),{},Object(ri.a)({},"".concat(t,"-").concat(n),"".concat(t,"|").concat(n,"-").concat(a)))}}})),z&&z.forEach((function(e){var t="Credit: ".concat(e),n=t;Object.entries(q).filter((function(t){var n=Object(u.a)(t,2)[1];return parseInt(n.split("|")[0],10)===e})).forEach((function(e){var n=Object(u.a)(e,2)[1];t+="_".concat(n.split("|")[1])})),n===t?U.push(e):g.push(t)})))}if(""!==b&&g.push("SessionInstructor:".concat(b)),"1"===y&&g.push("IsOpenToClient"),ee?ce({filter:g?g.join("|"):""}):(0===g.length&&k(Object(O.a)(Object(O.a)({},x),{},{searchCriteria:[],page:1})),null!=g&&k(Object(O.a)(Object(O.a)({},x),{},{searchCriteria:g,page:1}))),V)_(!1);else{ye(!0);var M,W=g.join("|"),Y=null===j||void 0===j?void 0:j.find((function(e){return e.filter===W}));if(Y)P(null!==(M=null===Y||void 0===Y?void 0:Y.calendarSavedFilterId)&&void 0!==M?M:0);else g.length>0?P(-1):P(0);D(g),v(L,d).then((function(e){R&&R(e.sessions)})),t.setSubmitting(!1)}}},Oe=null===m||null===y||null===g||null===o||null===f||null===F||null===c||null===b||null===h||null===r,Ce=function(e,t){return[Oe?a.a.createElement(Vs,{type:"filter-drawer",key:"skeleton"}):a.a.createElement(Ys,{key:e,formState:t,licenses:J,setReinitialization:function(e){return ye(e)}})]},je=function(e){var t;(be!==e.calendarSavedFilterId&&e.isDefault||e.calendarSavedFilterId===A)&&I(null!==(t=e.calendarSavedFilterId)&&void 0!==t?t:0,e)},xe=function(e){var t=new Array;return e.isSystem||t.push({label:"Edit Filters",icon:a.a.createElement(p.SystemIcon,{icon:"Edit"}),onClick:function(){return ce(e),_(!1),Z(!1),te(!1),void re(!0)}}),t.push({label:"Set as default",icon:a.a.createElement(p.SystemIcon,{icon:""}),disable:e.isDefault,onClick:function(){var t;B(t=e).then((function(){var e;I(null!==(e=t.calendarSavedFilterId)&&void 0!==e?e:0,t)}))}}),e.isSystem||t.push({label:"Duplicate",icon:a.a.createElement(p.SystemIcon,{icon:"Clone"}),onClick:function(){return t=e,ce(Object(O.a)(Object(O.a)({},t),{},{calendarSavedFilterId:0,name:"".concat(t.name," clone")})),Z(!0),void re(!0);var t}},{label:"Delete",icon:a.a.createElement(p.SystemIcon,{icon:"Delete"}),onClick:function(){var t;return function(e){var t=[e];s({message:"Are you sure you want to delete this selected filter?",title:"Confirm Delete",OnConfirm:function(){return l(t)}})}(null!==(t=e.calendarSavedFilterId)&&void 0!==t?t:0)},disable:e.isDefault}),t},Ae=function(e){return[a.a.createElement(p.Grid,{container:!0,spacing:"form",key:e},a.a.createElement(p.Grid,{item:!0,xs:12}),a.a.createElement(p.Grid,{item:!0,xs:12},j&&j.length>0?a.a.createElement(p.Card,{variant:"outlined"},a.a.createElement(p.List,{disablePadding:!0},j.map((function(e,t){var n,i,r,o=null!==(n=e.calendarSavedFilterId)&&void 0!==n?n:0,s=null!==(i=e.name)&&void 0!==i?i:"",l=null!==(r=e.isDefault)&&void 0!==r&&r;return o>0&&a.a.createElement(a.a.Fragment,{key:o},a.a.createElement(p.ListItem,{style:{paddingRight:0}},a.a.createElement(p.Box,null,a.a.createElement(p.Typography,{variant:"body1"},a.a.createElement(p.Link,{onClick:function(){return function(e){var t;ye(!0),I(null!==(t=e.calendarSavedFilterId)&&void 0!==t?t:1,e),E()}(e)},underline:"none"},s))),a.a.createElement(p.Box,{ml:1},!0===l&&a.a.createElement(p.Tooltip,{title:"Default",placement:"right"},a.a.createElement("span",null,a.a.createElement(p.CircleBadge,{size:"xs",type:"info",variant:"filled"})))),a.a.createElement(p.Box,{textAlign:"right",flex:1},a.a.createElement(Ws,{menu:xe(e)}))),t1&&void 0!==arguments[1]&&arguments[1],i=arguments.length>2&&void 0!==arguments[2]&&arguments[2],a=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return e(Bo(t,n,i,a))}}})),il=Object(m.o)(nl((function(e){var t=e.onClose,n=e.open,r=e.sessionIds,o=e.sendUpdateEmail,s=e.waitlistAllowed,l=void 0!==s&&s,c=e.history,d=Object(p.useSnackbar)(),m=F(w.Jk.ViewEmailLogs),v=Object(i.useState)({SendToInvited:!1,SendToParticipant:!1,SendToWaitlisted:!1}),f=Object(u.a)(v,2),h=f[0],y=f[1];return a.a.createElement(T.a,{maxWidth:"sm",fullWidth:!0,color:"default",open:n,onClose:t},a.a.createElement(A.DialogHeader,{titleBar:{title:"Email Notification",onClose:t}}),a.a.createElement(A.DialogBody,{maxWidth:!1},a.a.createElement(p.Typography,{variant:"subtitle2"},"Would you like to send a notification of this update?"),a.a.createElement(p.Box,{m:2},a.a.createElement(p.Grid,{container:!0,spacing:"form"},a.a.createElement(p.Grid,{xs:9,item:!0},a.a.createElement(p.Typography,{variant:"body1"},"Users listed on the participants tab excluding those pending approval.")),a.a.createElement(p.Grid,{xs:3,item:!0},a.a.createElement(p.Row,{crossAxisAlignment:"middle"},a.a.createElement(p.Switch,{color:"primary",value:h.SendToParticipant,onClick:function(){return y((function(e){return Object(O.a)(Object(O.a)({},e),{},{SendToParticipant:!h.SendToParticipant})}))}}),a.a.createElement(p.Typography,{variant:"caption"},h.SendToParticipant?"Yes":"No"))),a.a.createElement(p.Grid,{xs:9,item:!0},a.a.createElement(p.Typography,{variant:"body1"},"Users listed on the invites tab who have not responded.")),a.a.createElement(p.Grid,{xs:3,item:!0},a.a.createElement(p.Row,{crossAxisAlignment:"middle"},a.a.createElement(p.Switch,{color:"primary",value:h.SendToInvited,onClick:function(){return y((function(e){return Object(O.a)(Object(O.a)({},e),{},{SendToInvited:!h.SendToInvited})}))}}),a.a.createElement(p.Typography,{variant:"caption"},h.SendToInvited?"Yes":"No"))),l&&a.a.createElement(a.a.Fragment,null,a.a.createElement(p.Grid,{xs:9,item:!0},a.a.createElement(p.Typography,{variant:"body1"},"Users listed on the waitlist tab.")),a.a.createElement(p.Grid,{xs:3,item:!0},a.a.createElement(p.Row,{crossAxisAlignment:"middle"},a.a.createElement(p.Switch,{color:"primary",value:h.SendToWaitlisted,onClick:function(){return y((function(e){return Object(O.a)(Object(O.a)({},e),{},{SendToWaitlisted:!h.SendToWaitlisted})}))}}),a.a.createElement(p.Typography,{variant:"caption"},h.SendToWaitlisted?"Yes":"No")))))),a.a.createElement(p.Typography,{variant:"caption",color:"textSecondary"},"Participants will receive a calendar appointment update. Invitees will receive a revised invitation.")),a.a.createElement(A.DialogFooter,null,a.a.createElement(p.Grid,{container:!0,spacing:"form",justify:"center"},a.a.createElement(p.Grid,{item:!0,lg:3,md:4,xs:6,alignment:"center"},a.a.createElement(p.Button,{color:"default",variant:"outlined",type:"reset",onClick:function(){t()},fullWidth:!0},"Don't Send")),a.a.createElement(p.Grid,{item:!0,lg:3,md:4,xs:6,alignment:"center"},a.a.createElement(p.Button,{color:"primary",variant:"contained",type:"submit",fullWidth:!0,disabled:!(h.SendToInvited||h.SendToWaitlisted||h.SendToParticipant),onClick:function(){o(r,h.SendToParticipant,h.SendToInvited,h.SendToWaitlisted).then((function(e){d("Email is being processed.","success",m?{label:"View Log",onClick:function(){c.push("/configuration/logs/email")}}:void 0),t()}))}},"Send")))))}))),al=n(24),rl=function(e){var t={};return null===e||void 0===e||e.forEach((function(e){t[(null===e||void 0===e?void 0:e.name)||""]=e.value})),t},ol=function(e){switch(e.status){case 0:return a.a.createElement(p.Box,{bgcolor:"#E50019",width:"100%",borderRadius:"4px",height:"6px"});case 1:return a.a.createElement(p.Box,{bgcolor:"#4CAF50",width:"100%",borderRadius:"4px",height:"6px"});case 2:return a.a.createElement(p.Box,{bgcolor:"#1976D2",width:"100%",borderRadius:"4px",height:"6px"});case 3:return a.a.createElement(p.Box,{bgcolor:"#FF7A0C",width:"100%",borderRadius:"4px",height:"6px"});default:return a.a.createElement(p.Box,null)}},sl=Object(s.b)((function(){return{}}),(function(e){return{setIsNYLawCovidWaiverTriggered:function(t){return e(Lt.E(t))}}})),ll=sl((function(e){var t=e.exemptions,n=e.setFieldValue,r=e.groupHeader,o=e.periodNumber,s=e.licenseId,l=e.compliancePeriods,c=e.getFieldProps,d=e.setIsNYLawCovidWaiverTriggered,m=[{label:"Yes",value:"1"},{label:"No",value:"2"}],v=[Gi,Di,Li,Ni,Ji],f=Object(i.useState)([0]),h=Object(u.a)(f,2),y=h[0],b=h[1],g=Object(i.useState)([0]),E=Object(u.a)(g,2),I=E[0],S=E[1],O=Object(i.useState)([{periodNumber:0,hours:0}]),C=Object(u.a)(O,2),j=C[0],A=C[1],T=Object(i.useState)(!1),k=Object(u.a)(T,2),P=k[0],D=k[1],L=Object(i.useState)(!1),F=Object(u.a)(L,2),B=F[0],R=F[1],J=function(e,i,a,r,o,l){if(o){var d=t&&(null===t||void 0===t?void 0:t.filter((function(e){return e.periodNumber&&e.periodNumber>l}))),u=[7,33,34,36,4];if(e.includes("RangeEnd")&&35===i&&(""!==r&&null!==r?(I.push(l),S(I)):S(I.filter((function(e){return e!==l})))),e.includes("RangeEnd")&&9===i&&(""!==r&&null!==r?(y.push(l),b(y)):b(y.filter((function(e){return e!==l})))),v.find((function(e){return e===s}))&&36===i)if(r>0){var m={periodNumber:l,hours:r};if(j.filter((function(e){return e.periodNumber===l})).length>0){var f=j.filter((function(e){return e.periodNumber!==l}));f.push(m),A(f)}else j.push(m),A(j)}else A(j.filter((function(e){return e.periodNumber!==l})));if(d&&d.length>0){var p,h,g=null!==(p=d[0].periodNumber)&&void 0!==p?p:0,E=null!==(h=d[0].periodNumber)&&void 0!==h?h:0;if(y.length>1){var O,C=y.filter((function(e){return e>l}));if(null!=C)g=null!==(O=C.sort((function(e,t){return e-t}))[0])&&void 0!==O?O:0}if(I.length>1){var x,T=I.filter((function(e){return e>l}));if(null!=T)E=null!==(x=T.sort((function(e,t){return e-t}))[0])&&void 0!==x?x:0}var w=0;if(j.length>1){var k=j.filter((function(e){return e.periodNumber<=l&&e.periodNumber>0}));null!=k&&(w=k.sort((function(e,t){return t.periodNumber-e.periodNumber}))[0].hours)}33===i?D(!0===r):34===i&&R(!0===r),d.forEach((function(t){var o,l=Object(N.f)(t.periodFrom),d=Object(N.f)(t.periodTo),m=null!==(o=t.periodNumber)&&void 0!==o?o:1;if(!v.find((function(e){return e===s}))||v.find((function(e){return e===s}))&&u.find((function(e){return e===i})))if(n("".concat(e),r),u.find((function(e){return e===i}))){var f,p=null===e||void 0===e?void 0:e.split(".")[1],h=null===p||void 0===p?void 0:p.split("_")[0],y=null===h||void 0===h?void 0:h.split("|")[0],b=null===h||void 0===h?void 0:h.split("|")[1],I="exemptionFields.".concat(y,"|").concat(b,"_35-3&RangeEnd"),S=null===(f=c(I))||void 0===f?void 0:f.value;if(33===i||36===i){var O=r;null!==S&&void 0!==S&&(O=33!==i&&0),m<=E&&n(33===i?"exemptionFields.".concat(l,"|").concat(d).concat(a):"exemptionFields.".concat(l,"|").concat(d,"_").concat(36,"-4"),O)}else if(34===i){var C=r;null!==S&&void 0!==S&&(C=!1),m<=g&&n("exemptionFields.".concat(l,"|").concat(d).concat(a),C)}else n("exemptionFields.".concat(l,"|").concat(d).concat(a),r)}else n("exemptionFields.".concat(l,"|").concat(d).concat(a),r);else""!==r&&null!==r?(!e.includes("RangeEnd")||35!==i&&9!==i||n("".concat(e),r),n("exemptionFields.".concat(l,"|").concat(d).concat(a),!1),n("exemptionFields.".concat(l,"|").concat(d,"_").concat(36,"-4"),0)):(!e.includes("RangeEnd")||35!==i&&9!==i?n("exemptionFields.".concat(l,"|").concat(d).concat(a),!0):(n("".concat(e),r),n("exemptionFields.".concat(l,"|").concat(d).concat(a),35===i?P:B)),n("exemptionFields.".concat(l,"|").concat(d,"_").concat(36,"-4"),w))}))}else{var L=r;9!==i&&35!==i||""!==L&&void 0!==L||(L=null),n("".concat(e),L)}}else n("".concat(e),r)},G=Object(N.m)((function(e,t,n,i,a,r){e.includes("RangeEnd")&&(35===t||9===t)&&!1===x()(new Date(i)).isValid()||e.includes("RangeStart")&&!1===x()(new Date(i)).isValid()||J(e,t,n,i,a,r),d(s===ia&&7===t)}),500),U=function(e){var i,c,d,u,v,f,h,y,b,g,E,I,S,O,C,j=Object(N.f)(null===e||void 0===e?void 0:e.periodFrom),x=Object(N.f)(null===e||void 0===e?void 0:e.periodTo),A=null!==(i=null===e||void 0===e?void 0:e.periodNumber)&&void 0!==i?i:0,T=null!==(c=null===l||void 0===l||null===(d=l.find((function(t){return t.periodNumber===e.periodNumber})))||void 0===d?void 0:d.periodTypeId)&&void 0!==c?c:0,k=e.licenseExemptions;s===ia&&(j