{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/modules/ees/store/UserStore.ts","webpack:///./src/models/auth-service.ts","webpack:///./src/modules/ees/store/AuthServiceStore.ts","webpack:///./src/modules/ees/dataProviders/leaMetadata.ts","webpack:///./src/models/toast-modal.ts","webpack:///./src/lib/utils.ts","webpack:///./src/store/StoreInjectionKeys.ts","webpack:///./src/assets/ade-ees-logo.svg","webpack:///./src/modules/ees/store/ScheduleActivityStore.ts","webpack:///./src/assets/ADE-logo.png","webpack:///./src/pages/Index.vue?228f","webpack:///./src/modules/ees/store/admin/ReportStore.ts","webpack:///./src/modules/ees/store/LearnerActivityStore.ts","webpack:///./src/pages/Index.vue?f269","webpack:///./src/pages/Index.vue","webpack:///./src/pages/Index.vue?c121","webpack:///./src/pages/Index.vue?0947","webpack:///./src/modules/ees/store/ToastStore.ts","webpack:///./src/modules/ees/router/admin.ts","webpack:///./src/modules/ees/router/leaAdmin.ts","webpack:///./src/modules/ees/router/index.ts","webpack:///./src/router/index.ts","webpack:///./src/generated/api.clients.ts","webpack:///./src/plugin/VueCompositionApi.ts","webpack:///./src/App.vue?77f1","webpack:///./src/modules/ees/store/LearnerGoalsStore.ts","webpack:///./src/modules/ees/components/the-nav-bar/TheNavBar.vue?b9ee","webpack:///./src/modules/ees/components/the-nav-bar/TheNavBarObserverSubNavBar.vue?969e","webpack:///./src/modules/ees/components/the-nav-bar/TheNavBarObserverSubNavBar.vue","webpack:///./src/modules/ees/components/the-nav-bar/TheNavBarObserverSubNavBar.vue?4f00","webpack:///./src/modules/ees/components/the-nav-bar/TheNavBarObserverSubNavBar.vue?2889","webpack:///./src/modules/ees/components/the-nav-bar/TheNavBarRoleDropDown.vue?018a","webpack:///./src/modules/ees/components/the-nav-bar/TheNavBarRoleDropDown.vue","webpack:///./src/modules/ees/components/the-nav-bar/TheNavBarRoleDropDown.vue?c43f","webpack:///./src/modules/ees/components/the-nav-bar/TheNavBarRoleDropDown.vue?484a","webpack:///./src/modules/ees/components/the-nav-bar/TheNavBar.vue","webpack:///./src/modules/ees/components/the-nav-bar/TheNavBar.vue?a3d4","webpack:///./src/modules/ees/components/the-nav-bar/TheNavBar.vue?75fb","webpack:///./src/modules/ees/components/the-toast-center/TheToastCenter.vue?91c7","webpack:///./src/modules/ees/components/the-toast-center/ToastCenterToast.vue?5566","webpack:///./src/modules/ees/components/the-toast-center/ToastCenterToast.vue","webpack:///./src/modules/ees/components/the-toast-center/ToastCenterToast.vue?fb6c","webpack:///./src/modules/ees/components/the-toast-center/ToastCenterToast.vue?5673","webpack:///./src/modules/ees/components/the-toast-center/TheToastCenter.vue","webpack:///./src/modules/ees/components/the-toast-center/TheToastCenter.vue?d47e","webpack:///./src/modules/ees/components/the-toast-center/TheToastCenter.vue?ec46","webpack:///./src/modules/ees/store/LearnerEndOfYearStore.ts","webpack:///./src/modules/ees/store/SideBarStore.ts","webpack:///./src/modules/ees/store/admin/RubricStore.ts","webpack:///./src/modules/ees/store/StaffListStore.ts","webpack:///./src/modules/ees/store/districtAdmin/LearnerStore.ts","webpack:///./src/modules/ees/store/ActivityTypeStore.ts","webpack:///./src/modules/ees/store/MetadataStore.ts","webpack:///./src/plugin/MessageHub.ts","webpack:///./src/modules/ees/store/MessageThreadStore.ts","webpack:///./src/modules/ees/store/SchoolYearStore.ts","webpack:///./src/modules/ees/store/admin/NotificationStore.ts","webpack:///./src/App.vue","webpack:///./src/App.vue?0ab4","webpack:///./src/App.vue?bff9","webpack:///./src/highchartsOptions.js","webpack:///./src/main.ts","webpack:///./src/modules/ees/store/ObserverLearnerStore.ts","webpack:///./src/plugin/Api.ts","webpack:///./src/modules/ees/store/GoalPromptStore.ts","webpack:///./src/modules/ees/store/LearnerArtifactStore.ts"],"names":["webpackJsonpCallback","data","moduleId","chunkId","chunkIds","moreModules","executeModules","i","resolves","length","Object","prototype","hasOwnProperty","call","installedChunks","push","modules","parentJsonpFunction","shift","deferredModules","apply","checkDeferredModules","result","deferredModule","fulfilled","j","depId","splice","__webpack_require__","s","installedModules","installedCssChunks","jsonpScriptSrc","p","exports","module","l","e","promises","cssChunks","Promise","resolve","reject","href","fullhref","existingLinkTags","document","getElementsByTagName","tag","dataHref","getAttribute","rel","existingStyleTags","linkTag","createElement","type","onload","onerror","event","request","target","src","err","Error","code","parentNode","removeChild","head","appendChild","then","installedChunkData","promise","onScriptComplete","script","charset","timeout","nc","setAttribute","error","clearTimeout","chunk","errorType","realSrc","message","name","undefined","setTimeout","all","m","c","d","getter","o","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","oe","console","jsonpArray","window","oldJsonpFunction","slice","_unreadMessageCountInterval","observerLearnerApi","learnerApi","meetingApi","calendarApi","messageThreadApi","isDemo","includes","log","state","UserId","CurrentUserName","AuthorizationLevel","ContextUserId","ContextRubricId","ContextRubricName","CurrentRole","SuperintendentDistrictId","UserRoles","Array","Learners","TodaysMeetings","PeriodMeetings","LearnerUnreadMessagesThreadCount","CalendarLink","SelectableLearnerIds","AdministeredSchoolLEAs","LearnerFilter","OriginalContextUser","HasRubric","Profile","oldData","getters","isLearner","isCollaborator","actions","getMessageCounts","setUser","user","profile","sub","Number","isArray","role","preferred_username","leaAdminClaims","Principal","forEach","Superintendent","switchRole","setContextUserId","contextUserId","this","getRubricInfo","getUserRubric","response","rubricId","rubricName","path","refreshLearnerSummary","getHasRubric","hasRubric","setSelectedLearners","selected","staffRoleTypeTypeId","map","learnerRoleType","setSelectableLearnerIds","learnerIds","getObserverLearnersSummary","learners","learner","getTodaysMeetings","getMeetingsForTimePeriod","periodStart","periodEnd","setNewUserCalendarLink","setNewCalendarToken","getUserCalendarLink","getCalendarToken","clearInterval","isObserver","getUnreadMessageCountList","list","setInterval","setLearnerFilter","filter","isImpersonating","isObserving","isSiteAdmin","isDistrictAdmin","isSchoolAdmin","isCoopAdmin","isLEAAdmin","isStateUser","isEduEval","hasLearner","hasObserverCollaborator","hasLEAAdmin","contextUserName","filtered","obj","learnerId","fullName","calendarPeriodMeetings","id","meetingId","startDate","meetingDate","endDate","title","meetingType","leanerFullName","observerId","url","meetingActivityId","meetingDto","classes","status","Complete","calendarLink","learnerMessageThreadUnreadCount","find","x","unreadCount","observerTotalMessageThreadUnreadCount","reduce","a","b","learnerFilter","filteredLearners","selectedLearners","selectedLearnerRoles","Set","learnerRole","isDemoEnvironment","identityProviderDomain","myDomain","settings","userStore","store","localStorage","authority","client_id","redirect_uri","automaticSilentRenew","silent_redirect_uri","post_logout_redirect_uri","response_type","scope","filterProtocolClaims","loadUserInfo","userManager","getUser","token","access_token","userId","userRoles","districtId","createSigninRequest","signInRequest","encoded","encodeURIComponent","replace","location","assign","signoutRedirect","userName","impersonateForm","method","action","impersonateInput","body","submit","expired","auth","login","logout","impersonate","username","getAccessToken","getUserId","GetUserId","getUserRoles","GetUserRoles","getUserSuperintendentDistrictId","GetUserSuperintendentDistrictId","isLoggedIn","COOP_LEA_REGEX","DISTRICT_LEA_REGEX","SCHOOL_LEA_REGEX","useLeaMetadata","administeredSchoolLEAs","api","leaMetadata","contextSelectedCoop","contextSelectedDistrict","loadLeas","getLEAMetadata","coops","toLocaleLowerCase","districts","schools","isDistrict","lea","test","isCoop","leaName","contextDistricts","coopDistricts","contextSchools","leas","startsWith","substring","sort","districtCoopRelationship","coopLEA","districtLEA","administeredSchools","ToastModal","variant","toastCount","duration","injectStrict","fallback","resolved","description","deepEqual","object1","object2","keys1","keys","keys2","val1","val2","areObjects","isObject","LearnerGoalsStoreKey","SideBarStoreKey","RubricStoreKey","ObserverLearnerStoreKey","StaffListStoreKey","UserStoreKey","LearnerStoreKey","GoalPromptStoreKey","ActivityTypeStoreKey","ScheduleActivityStoreKey","LearnerActivityStoreKey","LearnerEndOfYearStoreKey","LearnerArtifactsStoreKey","SchoolYearStoreKey","MetadataStoreKey","ToastStoreKey","MessageThreadStoreKey","AuthServiceStoreKey","NotificationStoreKey","ReportStoreKey","activityApi","activityTypeApi","additionalCollaborators","observers","modalActive","isBulkScheduleMode","isUpdateModal","activityTypes","activity","schoolYearId","schoolYear","rubricVersionId","observerName","learnerName","isPrivate","steps","collaborators","resources","supportsStudentGrowth","rubricComponentSelectorOptions","oldName","element","index","step","activityDataStructureVersion","active","activityId","order","inputRequired","inputAllowed","stepType","metadata","scheduledStep","schedule","getLearnerRubricComponentQuickSelect","hydrateActivityTypes","getActivityTypes","intitializeActivity","setModalState","intitializeNewActivity","collaboratorId","collaboratorType","Observer","intitializeNewBulkScheduleActivities","updateStepSchedule","stepId","beginDate","saveBulkActivities","createActivityCommand","learnerKeys","createActivityStep","createBulkSchedule","getObserverLearnerScheduledActivities","saveActivity","updateActivityCommand","updateActivityStep","update","updateObservers","updateAdditionalCollaborators","rubricComponents","label","observerIds","reportApi","ratingsBreakdown","summativeLearnerOutcome","educatorRatings","educatorRatingsByDomainComponent","leaRatingsByDomainComponentDto","domains","report","learnerStatus","coOp","district","school","getSummativeLearnerOutcomes","roleType","getSummativeOutcome","getSummativeLearnerEndOfYearOutcomes","districtLea","schoolLea","getEducatorRating","getEducatorRatingsReportByDomainComponent","domain","getEducatorRatingsByDomainComponent","educatorRatingDomainComponents","leaRatingDomainComponents","getDomainOptions","loadRatingsBreakdown","getRatingBreakdown","setReport","selectedReport","setSchoolYear","selectedSchoolYear","setRole","selectedRole","setLearnerStatus","selectedLearnerStatus","setCoOp","selectedCoOp","setDistrict","selectedDistrict","setSchool","selectedSchool","components","component","_timeout","activityStepApi","activityEvidenceApi","RubricServiceApi","GoalServiceApi","artifactApi","showParticipantsModal","showResourcesModal","activityEvidences","currentActivityEvidence","currentStepId","stepDataMap","Map","currentStepData","activityRatingComponentEvidence","activityRatingComponentArtifact","activityRatingComponentPrompts","activityRubricVersion","clone","stepData","oldStepData","saveStep","deep","show","setResourcesModalState","saveCollaborators","additionalCollaboratorIds","updateCollaborators","getActivity","clear","firstActive","setCurrentStep","getRubricVersion","rv","hydrateActivityEvidence","getAvtivityActivityEvidence","activityEvidenceList","some","activityStepData","set","updateActivityStepDataCommand","activityData","clearCurrentActivityEvidence","newEvidence","getLearnerGoalSelector","goalSelector","getLearnerRubricSelector","rubricSelector","goals","rubric","setCurrentActivityEvidence","evidence","saveCurrentActivityEvidence","comments","notes","every","y","isSelected","goalLinks","createActivityEvidenceCommand","updateActivityEvidenceCommand","activityEvidence","deleteActivityEvidence","delete","hydrateAvtivityRatingComponentEvidence","getAvtivityRatingComponentEvidence","evidenceData","hydrateAvtivityRatingComponentArtifact","getAvtivityRatingComponentArtifact","artifactData","hydrateAvtivityRatingComponentPrompt","getActivityRatingComponentPrompt","promptData","setComponentRatingSelectedBy","domainKey","componentKey","rating","componentRating","rubricRating","selectedByUserId","selectedLevel","resetComponentRating","makePublicActivity","completeActivity","makeActivityActive","makeActive","InProgress","deleteActivity","activeSteps","activityCompleted","currentStep","focusedComponents","focusedRubricComponents","componentEvidence","componentArtifact","componentPrompt","currentStepDisabled","disabled","Learner","Collaborator","Any","ObserverOrCollaborator","rubricMismatch","getRubricRatingComponent","render","_vm","_h","$createElement","_c","_self","_e","staticClass","attrs","_v","on","$event","preventDefault","staticRenderFns","setup","authStore","loggedIn","toastList","addToast","newToast","deleteToast","toastId","routes","meta","isSecure","children","props","use","base","Index","beforeEach","to","from","next","UserStore","params","scrollTo","matched","record","AuthServiceStore","query","redirect","fullPath","ActivityStatus","StaffRoleTypeEnum","ActivityService","baseUrl","instance","jsonParseReviver","cancelToken","url_","options_","headers","catch","_error","isAxiosError","_response","processGet","_headers","k","_mappings","_responseText","result200","resultData200","ActivityDTO","fromJS","throwException","command","content_","JSON","stringify","responseType","processUpdate","contentDisposition","fileNameMatch","exec","fileName","processDelete","processUpdateCollaborators","item","ActivityCollaboratorDTO","processCreate","processCreateBulkSchedule","processCompleteActivity","processMakeActive","processMakePublicActivity","processGetScheduledAcitivities","LearnerScheduledActivityDto","ActivityEvidenceService","ActivityEvidenceDTO","processGetAvtivityActivityEvidence","processGetAvtivityRatingComponentEvidence","ActivityRatingComponentEvidenceDTO","ActivityStepService","ActivityStepDataDTO","processGetActivityRatingComponentPrompt","ActivityRatingComponentPromptDTO","ActivityTypeService","processGetActivityTypes","ActivityTypeDTO","ArtifactService","ArtifactDTO","processGetLearnerArtifacts","processGetActivityArtifacts","processGetAvtivityRatingComponentArtifact","ActivityRatingComponentArtifactDTO","files","FormData","item_","append","processUploadArtifacts","externalResourceInfo","processSaveExternalResource","processDownloadArtifact","CalendarService","calendarToken","processGetCalendar","processGetCalendarToken","processSetNewCalendarToken","DashboardService","districtOnly","processGetDashboard","DashboardQueryResponseDto","processGetDashboardLearnerDetails","LearnerStatisticsDetailDto","DistrictStatisticService","activityTypeName","processGetLearnerScheduleCounts","LearnerScheduleStatisticDto","staffType","processGetStaffCount","StaffTypeCountDTO","EndOfYearRatingService","EndOfYearRatingDTO","processReset","processGetEndOfYearRatingsListQuery","EndOfYearRatingSummaryDTO","processGetEndOfYearRatingComponentEvidenceQuery","EndOfYearRatingComponentEvidenceDTO","processGetEndOfYearRatingComponentArtifactQuery","EndOfYearRatingComponentArtifactDTO","processGetEndOfYearRatingComponentPromptQuery","EndOfYearRatingComponentPromptDTO","processGetActivityRatingComponentRatingsQuery","EndOfYearRatingComponentRatingDTO","GoalService","GoalDto","processGetLearnerCurrentYearGoals","GoalSummaryDto","processGetLearnerGoalsHistory","processGetLearnerGoalSelector","GoalSelectorVm","GoalPromptService","processGetGoalPrompts","GoalPromptDto","processSaveGoalPrompt","LeaMetadataService","processGetLEAs","DistrictLeaInformationDto","processGetLEAMetadata","LEAListsDto","LearnerService","processGetLearnerObservers","LearnerObserverDTO","processGetLearnerRubricComponentQuickSelect","RubricComponentKeyQuickSelector","processGetHasRubric","processGetUserRubric","LearnerRubricDto","processGetLearnerArchives","LearnerArchiveDTO","processGetLearnerYearStatus","MeetingService","processGetTodaysMeetings","MeetingDto","toJSON","processGetMeetingsForTimePeriod","MessageThreadService","lastMessageId","processGetLearnerMessageThread","MessageThreadPagingVM","processGetUnreadMessageCountList","MessageThreadUnreadCountVm","processCreateMessage","MessageDTO","processDeleteMessage","processCreateMessageReadState","MetadataService","processGetApplicationMetadata","ApplicationMetadataDTO","NotificationService","subject","recipient","dateFrom","dateTo","processListNotifications","EmailNotificationListItem","ObserverLearnerService","processGetLearnerReviewData","LearnerSummativeDataDto","processGetObserverLearnerAssignments","DefaultObserverLearnerAssignmentDto","processSetObserverLearnerAssignments","ObserverLearnerAssignementResult","learnerSummativeDataId","processClearObserverLearnerAssignments","processSetLearnerStatus","processSetLearnerScienceOfReading","processToggleLearnerIsHidden","parameters","processSetLearnerVirtualEducator","processConfigureLearnerSummativeData","processGetObserverLearnersSummary","LearnerSummaryVm","processGetObserverLearnersScheduledActivies","ObserverLearnerScheduledActivityDTO","processGetObserverLoad","ObserverLoadDto","processGetSummativeOutcome","SummativeLearnerOutcomeDTO","ReportService","processGetRatingBreakdown","RatingsBreakdownDto","processGetEducatorRating","EducatorRatingDto","processGetEducatorRatingsByDomainComponent","DomainComponentRatingsDto","processGetDomainOptions","DomainDto","RubricService","processGetAllRubrics","RubricDto","processGetRubricVersions","RubricVersionDto","processCreateRubric","processCreateRubricVersion","processUpdateRubricVersion","processGetRubricVersion","processUpdateRubricResources","processSetRubricVersionStatus","processCloneRubricVersion","processGetLearnerRubricSelector","RubricSelector","SchoolYearService","processGetCurrentSchoolYear","SchoolYearDTO","processAdvanceSchoolYear","processGetSchoolYears","updatedSchoolYear","processUpdateSchoolYear","StaffInfoService","processGetAdministrativeStaff","StaffAdministrationDto","searchString","processGetPotentialCollaborators","PersonDto","StaffListService","processGetDistrictEmployees","EFinanceEmployeeDto","processGetDistrictJobAssignments","JobAssignmentDto","processGetDistrictEESRoles","EESRoleDto","processGetDistrictStaff","ESchoolStaffDto","processGetDistrictPersons","DistrictPersonDto","processGetDistrictAPSCNADEntries","APSCNADRecordDto","processGetDistrictCoordinatorCodes","LEAProfileCoordinatorCodeDto","personId","processClearCredentials","_data","ActivityStepDTO","RubricResource","json","init","createInstance","year","fiscalYear","isCurrentSchoolYear","leaBuildingAndRoleAssignmentLockDate","Date","toString","toISOString","ActivityStepInputSourceEnum","ActivityStepTypeEnum","ScheduleDTO","ParticipantTypeEnum","LearnerStatusEnum","ScienceOfReadingStatusEnum","address","UpdateActivityCollaboratorsCommand","CreateActivityCommand","CreateActivityStep","CreateStepSchedule","CreateBulkActivitiesCommand","LearnerKey","UpdateActivityCommand","UpdateActivityStep","UpdateStepSchedule","activityName","scheduledDate","created","createdByName","lastUpdated","GoalLinksVm","goalId","selectedRubrics","SelectedRubricSummaryVm","RubricDomainSelector","RubricDomainComponentSelector","activityEvidenceId","createdBy","createdDate","CreateActivityEvidenceCommand","UpdateActivityEvidenceCommand","UpdateActivityStepDataCommand","promptText","ActivityTypeStepDTO","contentType","activities","ArtifactActivitiesDTO","externalUrl","artifactId","ExternalResourceInfo","resourcePath","resourceName","UpdateArtifactCommand","overallStatisticsForAllRoles","LearnerRoleStatisticsDto","statisticsByRole","statisticsByLEA","LEAStatisticsDto","averageObserverLoad","AvgLearnersAssignedByObserverRoleDto","yearlyRatingSummary","YearlyRatingSummaryDto","yearlyRatingSummaryByRole","YearlyRatingSummaryByRoleDto","StatisticsDto","numberOfLearners","numberOfSummativeYearLearners","numberOfLearnersAssignedToObservers","pgpReviewsPending","pgpReviewsInProgress","pgpReviewsCompleted","distinctLearnersWithPGPReviewPendingOrInProgress","distinctLearnersWithPGPReviewCompleted","summativeObservationsPending","summativeObservationsInProgress","summativeObservationsCompleted","numberOfSummativeLearnersWithObservationsPendingOrInProgress","numberOfSummativeLearnersWithObservationsCompleted","avgCurrentYearRatingAll","avgCurrentYearRatingSummative","avgPriorRating","numberOfSummativeYearLearnersWithRatings","jobFunction","averageNumberOfLearnersAssigned","averageRatingAll","averageRatingSummative","schoolLEA","firstName","lastName","summativeYear","scienceOfReadingStatus","numberOfObserversAssigned","observationsPending","observationsInProgress","observationsCompleted","ratingYear","currentYearRating","currentYearEffectivenessRating","priorYearRating","priorYearEffectivenessRating","StaffType","scheduledCount","startedCount","completedCount","count","GoalStatus","RubricRating","ratingSummary","rubricVersionName","RubricDomainRating","DomainComponentRating","performanceLevels","ComponentPerformanceLevelRating","level","ratedById","ratedByName","ratedByInitialName","UpdateEndOfYearRatingCommand","endOfYearRating","ResetEndOfYearRatingCommand","endOfYearRatingId","statusText","statusChangeDate","targetDate","reflections","GoalReflections","GoalProgram","responses","GoalPromptResponse","prompt","CreateGoalCommand","UpdateGoalCommand","goal","program","GoalPromptMetadata","SelfAssessmentBasedType","items","GoalPromptItem","SaveGoalPromptCommand","DistrictLEA","SchoolLEA","LEABase","leaTypeCode","mailAddress","mailCity","mailState","mailZip","mailZip4","inactiveDate","isActive","isALE","CoopLEA","DistrictCoopRelationship","endOfYearId","pgpId","learnerFirstName","learnerLastName","learnerRoleTypeId","observerFullName","observerFirstName","observerLastName","activityDatas","ActivityData","_discriminator","FormInputData","GoalReviewData","ConferenceData","ObservationData","RatingData","RatingDataV2","FeedbackData","SelfAssessmentActivityData","ArtifactData","LearnerReflectionData","formInputPromptResponses","FormInputPromptResponse","meetingNotesFormattedText","RubricRating2","RubricDomainRating2","DomainComponentRating2","ComponentPerformanceLevelRating2","feedbackFormatedText","nextStepsFormatedText","based","alternativeSelfAssessmentRating","AlternativeSelfAssessmentRating","NotificationStatus","elementRatings","SelfAssessmentPeformanceLevelRating","learnerReflectionText","hasMoreContent","messages","senderId","senderName","CreateMessageCommand","messageThreadId","RemoveMessageCommand","messageId","CreateMessageReadStateCommand","staffRoleTypes","StaffRoleTypeDto","ActivityTypeDto","authorizationLevel","notificationId","recipients","createdAt","sentAt","debugIntercept","RubricVersionStatus","priorSummativeYear","virtualEducator","multiRoleSelectionMetadata","RoleSelectionMetadata","roleTypeId","defaultObserverStateId","defaultObserverName","defaultObserverUserId","learnerStateId","learnerUserId","learnerBuildingLEA","isAssigned","isHidden","activeDirectoryUserId","lastEncounteredDate","assignedObserverItems","AssignedObserver","roleSelectionMetadataItems","observerUserId","CreateObserverLearnerAssignmentsCommand","observerUserIds","learnerRolesToAssign","AssignableLearnerRole","SetLearnerStatusCommand","SetLearnerScienceOfReadingCommand","ToggleLearnerHiddenCommand","ConfigureLearnerSummativeDataCommand","nextMeetingActivityId","nextMeetingId","nextMeetingType","nextMeetingDate","lastMeetingActivityId","lastMeetingId","lastMeetingType","lastMeetingDate","isSummativeYear","relationship","uniqueEmployeeId","learnerCount","coopLea","districtName","coopName","schoolName","highlyEffective","effective","progressive","ineffective","notRated","total","f","roleRatings","aelsCaseId","effectivenessRating","numberOfComponents","concatenatedKeys","artifactsCompleted","growthArtifactsCompleted","lastModified","EducatorRatingDomainComponentDto","LeaRatingDomainComponentDto","averageDomainLevel","activeVersionId","activeVersionNumber","targetStaff","version","RubricMetadata","Domain","Component","PerformanceLevel","selfAssessmentElements","SelfAssessmentElement","inAddtionToPreviousLevel","criticalAttributes","CriticalAttribute","statement","CreateRubricCommand","staffRoleType","CreateRubricVersionCommand","UpdateRubricVersionCommand","UpdateRubricResourcesCommand","SetRubricVersionStatusCommand","CloneRubricVersionCommand","stateId","emailAddress","email","hireDate","yearsOfExperience","jobOrCourseCode","percentTime","groupX","staffStateId","loginId","coordinatorCode","mappings","mappingIndexName","source","ApiException","isApiException","_m","_s","USER_GUIDE_LOCATION","resetContext","directives","rawName","expression","domProps","composing","_l","switchContextUser","root","contextSelectedSchool","newFilter","contextLea","$route","router","displayedRoles","roleName","myRoles","observationalRoles","toLowerCase","replaceAll","TheNavBarObserverSubNavBar","TheNavBarRoleDropDown","accessTokenExpired","toastStore","toast","ref","class","closeToast","required","toastNode","ToastCenterToast","goalApi","Api","learnerGoals","learnerGoalsHistory","currentGoalId","currentGoal","oldGoal","saveCurrentGoal","addGoal","createGoalCommand","newGoal","Active","getGoals","getLearnerCurrentYearGoals","setCurrentGoal","getGoalsHistory","getLearnerGoalsHistory","setCurrentGoalStatus","setTargetDate","updateGoalCommand","deleteCurrentGoal","activeGoals","Continued","completedGoals","Completed","inactiveGoals","Inactive","canAddGoal","isCurrentGoalEditable","isCurrentGoalDeletable","isCurrentGoalCompletable","isCurrentGoalContinued","isCurrentGoalReactivatable","isCurrentGoalActivatable","isCurrentGoalInactivatable","isRubricMismatched","isToggled","toggleSideBar","reset","rubricService","rubrics","rubricVersions","rubricVersion","demoteDomain","promoteDomain","removeDomain","demoteComponent","domainIndex","promoteComponent","removeComponent","addDomain","addResource","removeResource","resourceIndex","addComponent","createRubricVersion","cmd","newRubric","cloneRubricVersion","updateRubricVersion","updateRubricResources","loadRubrics","getAllRubrics","loadRubricVersions","getRubricVersions","loadRubricVersion","activateRubricVersion","setRubricVersionStatus","deactivateRubricVersion","Archived","saveRubric","targetRoleType","createRubric","loadRubric","isReadOnly","Draft","employees","jobAssignments","roles","staff","persons","adRecords","coordinatorCodes","loadStaffData","getEmployees","getJobAssignments","getEESRoles","getESchoolStaff","getPersons","getADRecords","getCoordinatorCodes","getDistrictEmployees","getDistrictJobAssignments","getDistrictEESRoles","getDistrictStaff","getDistrictPersons","getDistrictAPSCNADEntries","getDistrictCoordinatorCodes","districtStatisticApi","learnerSummativeData","learnerPgpCounts","learnerFormalObservationCounts","observerCount","learnerYearStatus","getCurrentYearStatus","getLearnerYearStatus","getLearnerSummativeReviewData","getLearnerReviewData","setLearnerVirtualEducator","getLearnerScheduleStatistics","getLearnerScheduleCounts","counts","getStaffCounts","getStaffCount","staffCount","filterCallback","endOfYearRatingApi","endOfYearRatings","currentEndOfYearRatingId","currentEndOfYearRating","currentEndOfYearRatingRubricVersionId","currentEndOfYearRatingRubricVersionName","endOfYearRatingComponentEvidence","endOfYearRatingComponentRating","endOfYearRatingComponentPrompt","endOfYearRatingComponentArtifact","saveEndOfYearRating","currentRoute","updateEndOfYearRatingCommand","hydrateEndOfYearRatings","getEndOfYearRatingsListQuery","endOfYearRatingList","setCurrentEndOfYearRating","getEndOfYearRatingComponentEvidenceQuery","getActivityRatingComponentRatingsQuery","getEndOfYearRatingComponentPromptQuery","getEndOfYearRatingComponentArtifactQuery","artifact","resetEndOfYearRating","ratingId","newRatingId","componentRatings","domainLevelScore","levelTotal","levelCount","scoreAverage","toFixed","endOfYearRatingEffectiveness","componentRatingEffectiveness","metadataApi","applicationMetadata","hydrateApplicationMetadata","getApplicationMetadata","callBackOnAddMessage","apiPrefix","connection","withUrl","accessTokenFactory","withAutomaticReconnect","configureLogging","Trace","build","messageDTO","onclose","start","invoke","ToastStore","messageHub","messageThreadLearnerId","messageThread","isLoadingMessages","unshift","createMessageReadStateCommand","createMessageReadState","leaveMessageThread","getLearnerMessageThread","joinMessageThread","setLearnerId","clearMessageThread","addMessage","createMessageCommand","createMessage","removeMessage","confirm","deleteMessage","loadMoreMessages","newMessageThreadPage","finally","schoolYearApi","SchoolYear","schoolYears","yearLocked","getCurrentSchoolYear","getSchoolYears","advanceSchoolYear","updateSchoolYear","sy","notificationService","emailNotifications","listNotifications","TheNavBar","TheToastCenter","LearnerGoalsStore","SideBarStore","RubricStore","ObserverLearnerStore","StaffListStore","LearnerStore","GoalPromptStore","ActivityTypeStore","ScheduleActivityStore","LearnerActivityStore","LearnerEndOfYearStore","MetadataStore","MessageThreadStore","SchoolYearStore","NotificationStore","ReportStore","HighchartsOptions","chart","style","plotBackgroundColor","plotShadow","spacing","backgroundColor","lang","thousandsSep","numericSymbols","time","useUTC","colors","navigation","buttonOptions","theme","fill","exporting","chartOptions","config","productionTip","setOptions","h","App","$mount","observerLearnerAssignments","observerLearnerScheduledActivities","observerLoad","learnerArchives","configureLearnerSummativeData","buildingLEA","saveObserverLearnerAssignments","assignments","setObserverLearnerAssignments","getObserverLearnerAssignments","clearObserverLearnerAssignments","getObserverLearnersScheduledActivies","getObserverLoad","setLearnerScienceOfReadingStatus","setLearnerScienceOfReading","toggleLearnerHidden","toggleLearnerIsHidden","getLearnerArchives","assignedLearners","unassignedLearners","scheduledActivityNames","groupedByActivitySchedule","grouped","parse","myAxios","baseURL","interceptors","messageObject","goalPromptApi","goalPrompts","hydrateGoalPrompts","getGoalPrompts","saveGoalPrompt","saveGoalPromptCommand","goalPrompt","addPrompt","changeGoalPromptItemState","moveUpGoalPromptItem","itemA","itemB","moveDownGoalPromptItem","tessGoalPrompt","TESS","leadsGoalPrompt","LEADS","LearnerArtifacts","CurrentArtifact","DeleteConfirmModalActive","hydrateLearnerArtifacts","getLearnerArtifacts","artifacts","hydrateActivityArtifacts","getActivityArtifacts","deleteArtifact","findIndex","editArtifact","saveCurrentArtifact","updateArtifactCommand","saveExternalResource","externalResourceUrl","externalResourceName","setConfirmDeleteArtifactModalActive","downloadArtifact","fileURL","URL","createObjectURL","anchor","download","click","revokeObjectURL","rubricMismatchPresent"],"mappings":"aACE,SAASA,EAAqBC,GAQ7B,IAPA,IAMIC,EAAUC,EANVC,EAAWH,EAAK,GAChBI,EAAcJ,EAAK,GACnBK,EAAiBL,EAAK,GAIHM,EAAI,EAAGC,EAAW,GACpCD,EAAIH,EAASK,OAAQF,IACzBJ,EAAUC,EAASG,GAChBG,OAAOC,UAAUC,eAAeC,KAAKC,EAAiBX,IAAYW,EAAgBX,IACpFK,EAASO,KAAKD,EAAgBX,GAAS,IAExCW,EAAgBX,GAAW,EAE5B,IAAID,KAAYG,EACZK,OAAOC,UAAUC,eAAeC,KAAKR,EAAaH,KACpDc,EAAQd,GAAYG,EAAYH,IAG/Be,GAAqBA,EAAoBhB,GAE5C,MAAMO,EAASC,OACdD,EAASU,OAATV,GAOD,OAHAW,EAAgBJ,KAAKK,MAAMD,EAAiBb,GAAkB,IAGvDe,IAER,SAASA,IAER,IADA,IAAIC,EACIf,EAAI,EAAGA,EAAIY,EAAgBV,OAAQF,IAAK,CAG/C,IAFA,IAAIgB,EAAiBJ,EAAgBZ,GACjCiB,GAAY,EACRC,EAAI,EAAGA,EAAIF,EAAed,OAAQgB,IAAK,CAC9C,IAAIC,EAAQH,EAAeE,GACG,IAA3BX,EAAgBY,KAAcF,GAAY,GAE3CA,IACFL,EAAgBQ,OAAOpB,IAAK,GAC5Be,EAASM,EAAoBA,EAAoBC,EAAIN,EAAe,KAItE,OA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K,MAEvCo+C,EAASv7C,SAASQ,cAAc,KACtCR,SAASkP,KAAK5N,YAAYi6C,GAC1BA,EAAO17C,KAAOu7C,EACdG,EAAOC,SAAWl5C,EAClBi5C,EAAOE,QACPt3C,OAAOk3C,IAAIK,gBAAgBN,GAXkB,gDAe3C90C,EAAU,CACdq1C,sBADc,WAEZ,OAAO52C,EAAMm1C,iBAAiB78B,MAAK,SAAAhR,GAAC,OAAIA,EAAEiV,oBAI/B,QACbvc,MAAO,eAASA,GAChB0B,UACAH","file":"js/app.8189b7ed.js","sourcesContent":[" \t// install a JSONP callback for chunk loading\n \tfunction webpackJsonpCallback(data) {\n \t\tvar chunkIds = data[0];\n \t\tvar moreModules = data[1];\n \t\tvar executeModules = data[2];\n\n \t\t// add \"moreModules\" to the modules object,\n \t\t// then flag all \"chunkIds\" as loaded and fire callback\n \t\tvar moduleId, chunkId, i = 0, resolves = [];\n \t\tfor(;i < chunkIds.length; i++) {\n \t\t\tchunkId = chunkIds[i];\n \t\t\tif(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) {\n \t\t\t\tresolves.push(installedChunks[chunkId][0]);\n \t\t\t}\n \t\t\tinstalledChunks[chunkId] = 0;\n \t\t}\n \t\tfor(moduleId in moreModules) {\n \t\t\tif(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {\n \t\t\t\tmodules[moduleId] = moreModules[moduleId];\n \t\t\t}\n \t\t}\n \t\tif(parentJsonpFunction) parentJsonpFunction(data);\n\n \t\twhile(resolves.length) {\n \t\t\tresolves.shift()();\n \t\t}\n\n \t\t// add entry modules from loaded chunk to deferred list\n \t\tdeferredModules.push.apply(deferredModules, executeModules || []);\n\n \t\t// run deferred modules when all chunks ready\n \t\treturn checkDeferredModules();\n \t};\n \tfunction checkDeferredModules() {\n \t\tvar result;\n \t\tfor(var i = 0; i < deferredModules.length; i++) {\n \t\t\tvar deferredModule = deferredModules[i];\n \t\t\tvar fulfilled = true;\n \t\t\tfor(var j = 1; j < deferredModule.length; j++) {\n \t\t\t\tvar depId = deferredModule[j];\n \t\t\t\tif(installedChunks[depId] !== 0) fulfilled = false;\n \t\t\t}\n \t\t\tif(fulfilled) {\n \t\t\t\tdeferredModules.splice(i--, 1);\n \t\t\t\tresult = __webpack_require__(__webpack_require__.s = deferredModule[0]);\n \t\t\t}\n \t\t}\n\n \t\treturn result;\n \t}\n\n \t// The module cache\n \tvar installedModules = {};\n\n \t// object to store loaded CSS chunks\n \tvar installedCssChunks = {\n \t\t\"app\": 0\n \t}\n\n \t// object to store loaded and loading chunks\n \t// undefined = chunk not loaded, null = chunk preloaded/prefetched\n \t// Promise = chunk loading, 0 = chunk loaded\n \tvar installedChunks = {\n \t\t\"app\": 0\n \t};\n\n \tvar deferredModules = [];\n\n \t// script path function\n \tfunction jsonpScriptSrc(chunkId) {\n \t\treturn __webpack_require__.p + \"js/\" + ({}[chunkId]||chunkId) + \".\" + {\"chunk-0af52548\":\"be8fd06c\",\"chunk-2580c09c\":\"ceaaee2c\",\"chunk-2d0c46c4\":\"17b7840a\",\"chunk-2d0cbcd4\":\"dee58afa\",\"chunk-2d0e24f2\":\"eac1a5eb\",\"chunk-2d0f0f0a\":\"03c876f3\",\"chunk-2d224d1d\":\"4fbf4fb1\",\"chunk-2d237151\":\"d86f72af\",\"chunk-ddb66dd0\":\"b8a8c7f0\",\"chunk-49e0b5b4\":\"3b61c2ca\",\"chunk-4a45cea0\":\"aef28250\",\"chunk-763b92ce\":\"533a666d\",\"chunk-08eab38e\":\"86a80851\",\"chunk-1454f3fc\":\"effb792e\",\"chunk-2d0de7be\":\"14b8fabd\",\"chunk-2d213346\":\"a3ae9627\",\"chunk-186473f1\":\"df84b328\",\"chunk-5d97d5f2\":\"720c450f\",\"chunk-2d0d6b74\":\"8095b823\",\"chunk-3e6377f1\":\"a6df3d2c\",\"chunk-62ac6dd9\":\"27a83480\",\"chunk-83f2dc40\":\"261630b9\",\"chunk-75bf6d83\":\"715efc15\",\"chunk-2d238064\":\"35f827a7\",\"chunk-2e93ed46\":\"37c9978c\",\"chunk-5786600a\":\"85639284\",\"chunk-64990533\":\"546f1d9c\",\"chunk-69fd4a32\":\"c37f820d\",\"chunk-6d30225d\":\"790b9109\",\"chunk-8d0b3e9c\":\"ea5d75fc\",\"chunk-aac17048\":\"ae98ca98\",\"chunk-eed716ca\":\"338e77ac\",\"chunk-ab61a50c\":\"423c1a92\",\"chunk-ce4dea64\":\"9c894974\",\"chunk-0b9f9aef\":\"39cb818e\",\"chunk-2d0aed45\":\"133ef94a\"}[chunkId] + \".js\"\n \t}\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n \t// This file contains only the entry chunk.\n \t// The chunk loading function for additional chunks\n \t__webpack_require__.e = function requireEnsure(chunkId) {\n \t\tvar promises = [];\n\n\n \t\t// mini-css-extract-plugin CSS loading\n \t\tvar cssChunks = {\"chunk-49e0b5b4\":1,\"chunk-5d97d5f2\":1,\"chunk-3e6377f1\":1,\"chunk-62ac6dd9\":1,\"chunk-83f2dc40\":1,\"chunk-5786600a\":1,\"chunk-ab61a50c\":1,\"chunk-ce4dea64\":1};\n \t\tif(installedCssChunks[chunkId]) promises.push(installedCssChunks[chunkId]);\n \t\telse if(installedCssChunks[chunkId] !== 0 && cssChunks[chunkId]) {\n \t\t\tpromises.push(installedCssChunks[chunkId] = new Promise(function(resolve, reject) {\n \t\t\t\tvar href = \"css/\" + ({}[chunkId]||chunkId) + \".\" + {\"chunk-0af52548\":\"31d6cfe0\",\"chunk-2580c09c\":\"31d6cfe0\",\"chunk-2d0c46c4\":\"31d6cfe0\",\"chunk-2d0cbcd4\":\"31d6cfe0\",\"chunk-2d0e24f2\":\"31d6cfe0\",\"chunk-2d0f0f0a\":\"31d6cfe0\",\"chunk-2d224d1d\":\"31d6cfe0\",\"chunk-2d237151\":\"31d6cfe0\",\"chunk-ddb66dd0\":\"31d6cfe0\",\"chunk-49e0b5b4\":\"69941f34\",\"chunk-4a45cea0\":\"31d6cfe0\",\"chunk-763b92ce\":\"31d6cfe0\",\"chunk-08eab38e\":\"31d6cfe0\",\"chunk-1454f3fc\":\"31d6cfe0\",\"chunk-2d0de7be\":\"31d6cfe0\",\"chunk-2d213346\":\"31d6cfe0\",\"chunk-186473f1\":\"31d6cfe0\",\"chunk-5d97d5f2\":\"dc444456\",\"chunk-2d0d6b74\":\"31d6cfe0\",\"chunk-3e6377f1\":\"c6c94561\",\"chunk-62ac6dd9\":\"dc444456\",\"chunk-83f2dc40\":\"c9b4ae68\",\"chunk-75bf6d83\":\"31d6cfe0\",\"chunk-2d238064\":\"31d6cfe0\",\"chunk-2e93ed46\":\"31d6cfe0\",\"chunk-5786600a\":\"9011395a\",\"chunk-64990533\":\"31d6cfe0\",\"chunk-69fd4a32\":\"31d6cfe0\",\"chunk-6d30225d\":\"31d6cfe0\",\"chunk-8d0b3e9c\":\"31d6cfe0\",\"chunk-aac17048\":\"31d6cfe0\",\"chunk-eed716ca\":\"31d6cfe0\",\"chunk-ab61a50c\":\"36365dcc\",\"chunk-ce4dea64\":\"dc444456\",\"chunk-0b9f9aef\":\"31d6cfe0\",\"chunk-2d0aed45\":\"31d6cfe0\"}[chunkId] + \".css\";\n \t\t\t\tvar fullhref = __webpack_require__.p + href;\n \t\t\t\tvar existingLinkTags = document.getElementsByTagName(\"link\");\n \t\t\t\tfor(var i = 0; i < existingLinkTags.length; i++) {\n \t\t\t\t\tvar tag = existingLinkTags[i];\n \t\t\t\t\tvar dataHref = tag.getAttribute(\"data-href\") || tag.getAttribute(\"href\");\n \t\t\t\t\tif(tag.rel === \"stylesheet\" && (dataHref === href || dataHref === fullhref)) return resolve();\n \t\t\t\t}\n \t\t\t\tvar existingStyleTags = document.getElementsByTagName(\"style\");\n \t\t\t\tfor(var i = 0; i < existingStyleTags.length; i++) {\n \t\t\t\t\tvar tag = existingStyleTags[i];\n \t\t\t\t\tvar dataHref = tag.getAttribute(\"data-href\");\n \t\t\t\t\tif(dataHref === href || dataHref === fullhref) return resolve();\n \t\t\t\t}\n \t\t\t\tvar linkTag = document.createElement(\"link\");\n \t\t\t\tlinkTag.rel = \"stylesheet\";\n \t\t\t\tlinkTag.type = \"text/css\";\n \t\t\t\tlinkTag.onload = resolve;\n \t\t\t\tlinkTag.onerror = function(event) {\n \t\t\t\t\tvar request = event && event.target && event.target.src || fullhref;\n \t\t\t\t\tvar err = new Error(\"Loading CSS chunk \" + chunkId + \" failed.\\n(\" + request + \")\");\n \t\t\t\t\terr.code = \"CSS_CHUNK_LOAD_FAILED\";\n \t\t\t\t\terr.request = request;\n \t\t\t\t\tdelete installedCssChunks[chunkId]\n \t\t\t\t\tlinkTag.parentNode.removeChild(linkTag)\n \t\t\t\t\treject(err);\n \t\t\t\t};\n \t\t\t\tlinkTag.href = fullhref;\n\n \t\t\t\tvar head = document.getElementsByTagName(\"head\")[0];\n \t\t\t\thead.appendChild(linkTag);\n \t\t\t}).then(function() {\n \t\t\t\tinstalledCssChunks[chunkId] = 0;\n \t\t\t}));\n \t\t}\n\n \t\t// JSONP chunk loading for javascript\n\n \t\tvar installedChunkData = installedChunks[chunkId];\n \t\tif(installedChunkData !== 0) { // 0 means \"already installed\".\n\n \t\t\t// a Promise means \"currently loading\".\n \t\t\tif(installedChunkData) {\n \t\t\t\tpromises.push(installedChunkData[2]);\n \t\t\t} else {\n \t\t\t\t// setup Promise in chunk cache\n \t\t\t\tvar promise = new Promise(function(resolve, reject) {\n \t\t\t\t\tinstalledChunkData = installedChunks[chunkId] = [resolve, reject];\n \t\t\t\t});\n \t\t\t\tpromises.push(installedChunkData[2] = promise);\n\n \t\t\t\t// start chunk loading\n \t\t\t\tvar script = document.createElement('script');\n \t\t\t\tvar onScriptComplete;\n\n \t\t\t\tscript.charset = 'utf-8';\n \t\t\t\tscript.timeout = 120;\n \t\t\t\tif (__webpack_require__.nc) {\n \t\t\t\t\tscript.setAttribute(\"nonce\", __webpack_require__.nc);\n \t\t\t\t}\n \t\t\t\tscript.src = jsonpScriptSrc(chunkId);\n\n \t\t\t\t// create error before stack unwound to get useful stacktrace later\n \t\t\t\tvar error = new Error();\n \t\t\t\tonScriptComplete = function (event) {\n \t\t\t\t\t// avoid mem leaks in IE.\n \t\t\t\t\tscript.onerror = script.onload = null;\n \t\t\t\t\tclearTimeout(timeout);\n \t\t\t\t\tvar chunk = installedChunks[chunkId];\n \t\t\t\t\tif(chunk !== 0) {\n \t\t\t\t\t\tif(chunk) {\n \t\t\t\t\t\t\tvar errorType = event && (event.type === 'load' ? 'missing' : event.type);\n \t\t\t\t\t\t\tvar realSrc = event && event.target && event.target.src;\n \t\t\t\t\t\t\terror.message = 'Loading chunk ' + chunkId + ' failed.\\n(' + errorType + ': ' + realSrc + ')';\n \t\t\t\t\t\t\terror.name = 'ChunkLoadError';\n \t\t\t\t\t\t\terror.type = errorType;\n \t\t\t\t\t\t\terror.request = realSrc;\n \t\t\t\t\t\t\tchunk[1](error);\n \t\t\t\t\t\t}\n \t\t\t\t\t\tinstalledChunks[chunkId] = undefined;\n \t\t\t\t\t}\n \t\t\t\t};\n \t\t\t\tvar timeout = setTimeout(function(){\n \t\t\t\t\tonScriptComplete({ type: 'timeout', target: script });\n \t\t\t\t}, 120000);\n \t\t\t\tscript.onerror = script.onload = onScriptComplete;\n \t\t\t\tdocument.head.appendChild(script);\n \t\t\t}\n \t\t}\n \t\treturn Promise.all(promises);\n \t};\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"/\";\n\n \t// on error function for async loading\n \t__webpack_require__.oe = function(err) { console.error(err); throw err; };\n\n \tvar jsonpArray = window[\"webpackJsonp\"] = window[\"webpackJsonp\"] || [];\n \tvar oldJsonpFunction = jsonpArray.push.bind(jsonpArray);\n \tjsonpArray.push = webpackJsonpCallback;\n \tjsonpArray = jsonpArray.slice();\n \tfor(var i = 0; i < jsonpArray.length; i++) webpackJsonpCallback(jsonpArray[i]);\n \tvar parentJsonpFunction = oldJsonpFunction;\n\n\n \t// add entry module to deferred list\n \tdeferredModules.push([0,\"chunk-vendors\"]);\n \t// run deferred modules when ready\n \treturn checkDeferredModules();\n","import router from \"@/router\";\r\nimport { reactive, readonly, watch } from \"@vue/composition-api\";\r\nimport { User, Profile} from \"oidc-client\";\r\nimport { ObserverLearnerService, LearnerSummaryVm, MessageThreadUnreadCountVm, MeetingDto, MeetingService, MessageThreadService, CalendarService, ActivityStatus, LearnerService } from '@/generated/api.clients';\r\nimport Api from '@/plugin/Api';\r\n\r\nconst observerLearnerApi = new ObserverLearnerService(undefined, Api);\r\nconst learnerApi = new LearnerService(undefined, Api);\r\nconst meetingApi = new MeetingService(undefined, Api);\r\nconst calendarApi = new CalendarService(undefined, Api);\r\nconst messageThreadApi = new MessageThreadService(undefined, Api);\r\nlet _unreadMessageCountInterval: any;\r\nconst isDemo = process.env.VUE_APP_EES_WEB_API.includes('demo-ees');\r\nconsole.log(process.env.VUE_APP_EES_WEB_API)\r\n\r\nexport interface LearnerSummaryVmSelection extends LearnerSummaryVm {\r\n selected: boolean; \r\n}\r\n\r\nconst state = reactive({\r\n UserId: \"\",\r\n CurrentUserName: '',\r\n AuthorizationLevel: 0,\r\n ContextUserId: \"\",\r\n ContextRubricId: 0,\r\n ContextRubricName: undefined as string | undefined,\r\n CurrentRole: \"\",\r\n SuperintendentDistrictId: \"\",\r\n UserRoles: new Array(),\r\n Learners: new Array(),\r\n TodaysMeetings: new Array(),\r\n PeriodMeetings: new Array(),\r\n LearnerUnreadMessagesThreadCount: new Array(),\r\n CalendarLink: \"\",\r\n SelectableLearnerIds: new Array(),\r\n AdministeredSchoolLEAs: new Array(),\r\n LearnerFilter: '',\r\n OriginalContextUser: null as unknown as string,\r\n HasRubric: false,\r\n Profile: null as Profile | null\r\n})\r\n\r\n//after user logs in start looking for unread messages\r\nwatch(() => state.UserId, (data, oldData) => {\r\n if(state.UserId !== \"\" && (getters.isLearner() || getters.isCollaborator() || getters.isCollaborator())) {\r\n actions.getMessageCounts();\r\n }\r\n});\r\n\r\nconst actions = {\r\n setUser(user: User): void{\r\n state.UserId = user.profile.sub;\r\n state.OriginalContextUser = user.profile.OriginalContextUser\r\n state.Profile = user.profile\r\n state.AuthorizationLevel = Number(user.profile.AuthorizationLevel)\r\n\r\n if (Array.isArray(user.profile.role)) {\r\n state.UserRoles = user.profile.role;\r\n }\r\n else{\r\n state.UserRoles = [user.profile.role];\r\n }\r\n\r\n if (user.profile.preferred_username) {\r\n if (Array.isArray(user.profile.preferred_username)) {\r\n state.CurrentUserName = user.profile.preferred_username[0];\r\n } else {\r\n state.CurrentUserName = user.profile.preferred_username;\r\n }\r\n } else if (user.profile.name !== undefined) {\r\n state.CurrentUserName = user.profile.name;\r\n } else {\r\n state.CurrentUserName = \"\";\r\n }\r\n\r\n const leaAdminClaims = user.profile.Principal || user.profile['Assistant Principal']\r\n if (leaAdminClaims) {\r\n if (Array.isArray(leaAdminClaims)) {\r\n leaAdminClaims.forEach(l=>state.AdministeredSchoolLEAs.push(l))\r\n } else {\r\n state.AdministeredSchoolLEAs.push(leaAdminClaims)\r\n }\r\n }\r\n\r\n //here we treat anyone with a claim that is considered a CoOp Administrator the same as a Superintendent of the CoOp\r\n state.SuperintendentDistrictId = user.profile.Superintendent || user.profile['Assistant Superintendent'] || user.profile['CoOp Administrator'] || user.profile['Administrator / Other'] || user.profile['Effectiveness System Coordinator'];\r\n\r\n if(state.UserRoles.includes('SiteAdmin')){\r\n actions.switchRole('SiteAdmin')\r\n } \r\n else if (state.UserRoles.includes('DistrictAdmin')){\r\n actions.switchRole('DistrictAdmin')\r\n } \r\n else if (state.UserRoles.includes('CoopAdmin')){\r\n actions.switchRole('CoopAdmin')\r\n } \r\n else if (state.UserRoles.includes('SchoolAdmin')){\r\n actions.switchRole('SchoolAdmin')\r\n }\r\n else if (state.UserRoles.includes('Observer')){\r\n actions.switchRole('Observer')\r\n }\r\n else if (state.UserRoles.includes(\"EES_ADE_Leadership\")){\r\n actions.switchRole(\"EES_ADE_Leadership\")\r\n }\r\n else if (state.UserRoles.includes(\"EES_ADE_Viewers\")){\r\n actions.switchRole(\"EES_ADE_Viewers\")\r\n }\r\n else if (state.UserRoles.includes(\"EES_Edu_Evals\")){\r\n actions.switchRole(\"EES_Edu_Evals\")\r\n }\r\n \r\n else {\r\n actions.switchRole('Learner')\r\n }\r\n },\r\n\r\n setContextUserId(contextUserId: string): void{\r\n state.ContextUserId = contextUserId\r\n this.getRubricInfo()\r\n },\r\n getRubricInfo(): void {\r\n learnerApi.getUserRubric(state.ContextUserId)\r\n .then(response => {\r\n if(response) {\r\n state.ContextRubricId = response.rubricId\r\n state.ContextRubricName = response.rubricName\r\n }\r\n })\r\n }, \r\n switchRole(role: string): void{\r\n if(state.UserRoles.includes(role) && state.CurrentRole !== role) {\r\n state.CurrentRole = role;\r\n \r\n //on role change reset the context user back to the logged in user \r\n actions.setContextUserId(state.UserId)\r\n actions.getMessageCounts();\r\n\r\n //on role switch change window\r\n switch (role) {\r\n case 'SiteAdmin':\r\n case 'DistrictAdmin':\r\n case 'SchoolAdmin':\r\n case 'CoopAdmin':\r\n case 'EES_Edu_Evals':\r\n case 'EES_ADE_Leadership':\r\n case 'EES_ADE_Viewers':\r\n router.push({ path: '/admin/dashboard' });\r\n break;\r\n case 'Observer':\r\n case 'Collaborator':\r\n actions.refreshLearnerSummary()\r\n router.push({ path: '/observer/Home' });\r\n break;\r\n\r\n default:\r\n learnerApi.getHasRubric(state.UserId).then( hasRubric => {\r\n state.HasRubric = hasRubric;\r\n if(state.HasRubric){\r\n router.push({ path: `/learner/Home/${state.UserId}` });\r\n } else {\r\n router.push({ path: `/missing-rubric` });\r\n }\r\n })\r\n break;\r\n }\r\n }\r\n },\r\n\r\n setSelectedLearners(selected: boolean, staffRoleTypeTypeId: number | null): void {\r\n if(selected == false && staffRoleTypeTypeId == 0){\r\n state.Learners = [...state.Learners.map(l => {\r\n return {...l, selected}\r\n })\r\n ]}\r\n state.Learners = [...state.Learners.map(l => {\r\n if((staffRoleTypeTypeId || 0) > 0 && l.learnerRoleType == staffRoleTypeTypeId) {\r\n return { ...l, selected }\r\n }\r\n return l\r\n })];\r\n },\r\n\r\n setSelectableLearnerIds(learnerIds: Array): void {\r\n state.SelectableLearnerIds = learnerIds;\r\n },\r\n\r\n async refreshLearnerSummary(): Promise {\r\n return observerLearnerApi.getObserverLearnersSummary().then(learners => {\r\n state.Learners = learners.map(l => {\r\n const learner = l as LearnerSummaryVmSelection;\r\n learner.selected = false;\r\n return learner;\r\n });\r\n });\r\n },\r\n\r\n getTodaysMeetings(): void {\r\n meetingApi.getTodaysMeetings(state.ContextUserId).then(data => {\r\n state.TodaysMeetings = [...data]\r\n });\r\n },\r\n getMeetingsForTimePeriod(periodStart: Date | null, periodEnd: Date | null) : void {\r\n meetingApi.getMeetingsForTimePeriod(periodStart, periodEnd, state.ContextUserId).then(data => {\r\n state.PeriodMeetings = [...data]\r\n })\r\n },\r\n async setNewUserCalendarLink(): Promise {\r\n calendarApi.setNewCalendarToken()\r\n .then(data => {\r\n state.CalendarLink = process.env.VUE_APP_EES_WEB_API + '/api/calendar/' + data\r\n })\r\n },\r\n getUserCalendarLink(): void {\r\n calendarApi.getCalendarToken()\r\n .then(data => {\r\n if(data) {\r\n state.CalendarLink = process.env.VUE_APP_EES_WEB_API + '/api/calendar/' + data\r\n }\r\n })\r\n },\r\n getMessageCounts(): void {\r\n clearInterval(_unreadMessageCountInterval);\r\n\r\n if (getters.isCollaborator() || getters.isObserver() || getters.isLearner()) {\r\n messageThreadApi.getUnreadMessageCountList().then((list) => {\r\n state.LearnerUnreadMessagesThreadCount = list;\r\n });\r\n }\r\n //5 min\r\n if(getters.isCollaborator() || getters.isObserver() || getters.isLearner()){\r\n _unreadMessageCountInterval = setInterval(() => this.getMessageCounts(), 5 * 60 * 1000);\r\n }\r\n },\r\n setLearnerFilter(filter: string): void {\r\n state.LearnerFilter = filter;\r\n }\r\n}\r\n\r\nconst getters = {\r\n isImpersonating(): boolean {\r\n return state.OriginalContextUser ? true : false;\r\n },\r\n isObserving(): boolean {\r\n // Don't consider district-admin role because this is used for superintendents view-only\r\n // They will be in Observer role for observing\r\n return state.UserId !== state.ContextUserId && state.CurrentRole != 'DistrictAdmin';\r\n },\r\n isSiteAdmin(): boolean {\r\n return state.CurrentRole === \"SiteAdmin\";\r\n },\r\n isDistrictAdmin(): boolean {\r\n return state.CurrentRole === \"DistrictAdmin\";\r\n },\r\n isSchoolAdmin(): boolean {\r\n return state.CurrentRole === \"SchoolAdmin\";\r\n },\r\n isCoopAdmin(): boolean {\r\n return state.CurrentRole === \"CoopAdmin\";\r\n },\r\n isObserver(): boolean {\r\n return state.CurrentRole === \"Observer\";\r\n },\r\n isCollaborator(): boolean {\r\n return state.CurrentRole === \"Collaborator\";\r\n },\r\n isLearner(): boolean {\r\n return state.CurrentRole === \"Learner\";\r\n },\r\n isLEAAdmin(): boolean {\r\n return getters.isCoopAdmin() || getters.isDistrictAdmin() || getters.isSchoolAdmin()\r\n },\r\n isStateUser(): boolean {\r\n return state.UserRoles.includes(\"EES_ADE_Leadership\") || state.UserRoles.includes(\"EES_ADE_Viewers\") || state.UserRoles.includes(\"EES_Edu_Evals\")\r\n },\r\n isEduEval(): boolean {\r\n return state.UserRoles.includes(\"EES_Edu_Evals\")\r\n },\r\n hasLearner(): boolean {\r\n return state.UserRoles.includes(\"Learner\")\r\n },\r\n hasObserverCollaborator(): boolean {\r\n return state.UserRoles.includes(\"Observer\") || state.UserRoles.includes(\"Collaborator\")\r\n },\r\n hasLEAAdmin(): boolean {\r\n return state.UserRoles.includes(\"DistrictAdmin\") || state.UserRoles.includes(\"SchoolAdmin\")|| state.UserRoles.includes(\"CoopAdmin\")\r\n },\r\n\r\n contextUserName(): string | undefined {\r\n const filtered = state.Learners.filter(obj => obj.learnerId === state.ContextUserId)\r\n\r\n if (filtered.length) return filtered[0].fullName;\r\n },\r\n calendarPeriodMeetings(): any[] {\r\n return state.PeriodMeetings.map(m => { \r\n return {\r\n id: m.meetingId,\r\n startDate: m.meetingDate,\r\n endDate: m.endDate || m.meetingDate,\r\n title: `${m.meetingType} - ${m.leanerFullName}`,\r\n learnerId: m.learnerId,\r\n leanerFullName: m.leanerFullName,\r\n observerId: m.observerId,\r\n url: m.meetingType == \"Goal\" ? `/learner/Goals/${m.learnerId}` : `/learner/${m.learnerId}/Activity/${m.meetingActivityId}`,\r\n meetingDto: m,\r\n classes: m.status === ActivityStatus.Complete ? [\"cv-item-complete\"] : []\r\n }\r\n })\r\n },\r\n calendarLink(): string {\r\n return state.CalendarLink;\r\n },\r\n learnerMessageThreadUnreadCount(learnerId: string): number | undefined {\r\n return state.LearnerUnreadMessagesThreadCount.find(x => x.learnerId === learnerId)?.unreadCount\r\n },\r\n observerTotalMessageThreadUnreadCount(): number {\r\n return state.LearnerUnreadMessagesThreadCount.filter(x => x.learnerId !== state.UserId).reduce((a,b) => a + b.unreadCount, 0);\r\n },\r\n learnerFilter(): string {\r\n return state.LearnerFilter;\r\n },\r\n filteredLearners(): Array {\r\n if(state.LearnerFilter){\r\n return state.Learners.filter(l => l.fullName?.includes(state.LearnerFilter))\r\n }\r\n return state.Learners\r\n },\r\n selectedLearners(): Array {\r\n return state.Learners.filter(l => l.selected)\r\n },\r\n selectedLearnerRoles(): Array {\r\n return [...new Set(getters.selectedLearners().map(l => l.learnerRole))] \r\n },\r\n isDemoEnvironment(): boolean {\r\n return isDemo;\r\n }\r\n}\r\n\r\nexport default {\r\n state: readonly(state),\r\n actions,\r\n getters\r\n}","import { UserManager, WebStorageStateStore, User, UserManagerSettings } from \"oidc-client\";\r\n\r\nexport default class AuthService {\r\n private userManager: UserManager;\r\n\r\n //TODO: get from config\r\n constructor() {\r\n const identityProviderDomain = process.env.VUE_APP_IDENTITY_PROVIDER_DOMAIN;\r\n const myDomain = process.env.VUE_APP_APPLICATION_URL;\r\n \r\n const settings: UserManagerSettings = {\r\n userStore: new WebStorageStateStore({ store: window.localStorage }),\r\n authority: identityProviderDomain,\r\n client_id: 'ees-webui',\r\n redirect_uri: `${myDomain}callback.html`,\r\n automaticSilentRenew: true,\r\n silent_redirect_uri: `${myDomain}silent-renew.html`,\r\n post_logout_redirect_uri: myDomain,\r\n response_type: \"code\",\r\n scope: \"openid profile ees-api role claims\",\r\n filterProtocolClaims: true,\r\n loadUserInfo: true\r\n };\r\n\r\n this.userManager = new UserManager(settings);\r\n }\r\n\r\n public getAccessToken(): Promise {\r\n return this.userManager.getUser().then((user: any) => {\r\n let token = '';\r\n if(user) {\r\n token = user.access_token;\r\n }\r\n return token;\r\n });\r\n }\r\n\r\n public GetUserId(): Promise {\r\n return this.userManager.getUser().then((user: any) => {\r\n let userId = '';\r\n if(user) {\r\n userId = user.profile.sub;\r\n }\r\n return userId;\r\n });\r\n }\r\n\r\n public GetUserRoles(): Promise {\r\n return this.userManager.getUser().then((user: any) => {\r\n let userRoles: string[] = [];\r\n if (user) {\r\n userRoles = user.profile.role;\r\n }\r\n return userRoles;\r\n })\r\n }\r\n\r\n public GetUserSuperintendentDistrictId(): Promise {\r\n return this.userManager.getUser().then((user: User| null) => {\r\n let districtId = \"\"\r\n if(user) {\r\n districtId = user.profile.Superintendent\r\n }\r\n return districtId\r\n })\r\n }\r\n\r\n public getUser(): Promise {\r\n return this.userManager.getUser();\r\n }\r\n\r\n public async login(): Promise {\r\n const signInRequest = await this.userManager.createSigninRequest()\r\n const encoded = encodeURIComponent(signInRequest.url.replace(process.env.VUE_APP_IDENTITY_PROVIDER_DOMAIN, ''))\r\n window.location.assign(`${process.env.VUE_APP_IDENTITY_PROVIDER_DOMAIN}/Identity/Account/Login?returnUrl=${encoded}`)\r\n }\r\n\r\n public logout(): Promise {\r\n return this.userManager.signoutRedirect();\r\n }\r\n\r\n public async impersonate(userName: string): Promise {\r\n const signInRequest = await this.userManager.createSigninRequest()\r\n const encoded = encodeURIComponent(signInRequest.url.replace(process.env.VUE_APP_IDENTITY_PROVIDER_DOMAIN, ''))\r\n\r\n const impersonateForm: any = window.document.createElement('FORM')\r\n impersonateForm.method = 'POST'\r\n impersonateForm.action = `${process.env.VUE_APP_IDENTITY_PROVIDER_DOMAIN}/Identity/Account/Impersonate?returnUrl=${encoded}`\r\n const impersonateInput: any = document.createElement('INPUT')\r\n impersonateInput.type = 'hidden'\r\n impersonateInput.name = 'UserToImpersonate'\r\n impersonateInput.value = userName\r\n impersonateForm.appendChild(impersonateInput)\r\n window.document.body.appendChild(impersonateForm)\r\n impersonateForm.submit()\r\n\r\n }\r\n\r\n public async isLoggedIn(): Promise {\r\n const user = await this.userManager.getUser();\r\n\r\n return (user !== null && !user.expired);\r\n }\r\n}","import { User } from \"oidc-client\";\r\nimport AuthService from \"@/models/auth-service\";\r\nimport { reactive, readonly } from \"@vue/composition-api\";\r\n\r\n\r\nconst state = reactive({\r\n auth: new AuthService(),\r\n})\r\n\r\nconst actions = {\r\n login(): Promise {\r\n return state.auth.login();\r\n },\r\n logout(): Promise {\r\n return state.auth.logout();\r\n },\r\n impersonate(username: string): Promise {\r\n return state.auth.impersonate(username);\r\n }\r\n}\r\n\r\nconst getters = {\r\n getAccessToken(): Promise {\r\n return state.auth.getAccessToken();\r\n },\r\n getUserId(): Promise {\r\n return state.auth.GetUserId();\r\n },\r\n getUserRoles(): Promise {\r\n return state.auth.GetUserRoles();\r\n },\r\n getUserSuperintendentDistrictId(): Promise {\r\n return state.auth.GetUserSuperintendentDistrictId();\r\n },\r\n getUser(): Promise {\r\n return state.auth.getUser();\r\n },\r\n isLoggedIn(): Promise {\r\n return state.auth.isLoggedIn();\r\n }\r\n}\r\n\r\nexport default {\r\n state: readonly(state),\r\n actions,\r\n getters\r\n}","import { computed, ref, Ref } from \"@vue/composition-api\";\r\nimport { LEAListsDto, LeaMetadataService } from '@/generated/api.clients';\r\nimport Api from '@/plugin/Api';\r\nimport { titleCase } from 'title-case'\r\n\r\nconst COOP_LEA_REGEX = /^\\d{2}2[0-9]000$/\r\nconst DISTRICT_LEA_REGEX = /^\\d{2}[^2]\\d[07]00$/\r\nconst SCHOOL_LEA_REGEX = /^\\d{2}[^2]\\d(?![0|7]00)\\d{3}$/\r\nexport default function useLeaMetadata(administeredSchoolLEAs: readonly string[]): any {\r\n const api = new LeaMetadataService(undefined, Api);\r\n const leaMetadata: Ref = ref(new LEAListsDto())\r\n\r\n const contextSelectedCoop: Ref = ref(null)\r\n const contextSelectedDistrict: Ref = ref(null)\r\n\r\n const loadLeas = async () => {\r\n return api.getLEAMetadata().then(data => {\r\n data.coops?.forEach(l=> {\r\n l.name = titleCase((l.name || '').toLocaleLowerCase())\r\n })\r\n\r\n data.districts?.forEach(l=> {\r\n l.name = titleCase((l.name || '').toLocaleLowerCase())\r\n })\r\n\r\n data.schools?.forEach(l=> {\r\n l.name = titleCase((l.name || '').toLocaleLowerCase())\r\n })\r\n\r\n leaMetadata.value = data\r\n })\r\n }\r\n\r\n const isDistrict = (lea: string): boolean => DISTRICT_LEA_REGEX.test(lea)\r\n const isCoop = (lea: string): boolean => COOP_LEA_REGEX.test(lea)\r\n\r\n const leaName = (lea: string): string | undefined => {\r\n if (DISTRICT_LEA_REGEX.test(lea)) return leaMetadata.value.districts?.find(l=>l.lea === lea)?.name\r\n if (SCHOOL_LEA_REGEX.test(lea)) return leaMetadata.value.schools?.find(l=>l.lea === lea)?.name\r\n if (COOP_LEA_REGEX.test(lea)) return leaMetadata.value.coops?.find(l=>l.lea === lea)?.name\r\n }\r\n\r\n const contextDistricts = computed(() => leaMetadata.value.districts?.filter(s => contextSelectedCoop.value && coopDistricts.value?.includes(s.lea)))\r\n const contextSchools = computed(() => {\r\n const leas = leaMetadata.value.schools?.filter(s => contextSelectedDistrict.value && s.lea?.startsWith(contextSelectedDistrict.value?.substring(0,4)))\r\n leas?.sort((a,b) => (a.lea || '') < (b.lea || '') ? -1 : (a.lea || '') > (b.lea || '') ? 1 : 0)\r\n return leas\r\n })\r\n\r\n const coopDistricts = computed(() => leaMetadata.value.districtCoopRelationship?.filter(c=>c.coopLEA == contextSelectedCoop.value).map(r => r.districtLEA))\r\n const administeredSchools = computed(() => leaMetadata.value.schools?.filter(s => administeredSchoolLEAs.includes(s.lea || '')))\r\n return {\r\n loadLeas,\r\n leaMetadata,\r\n leaName,\r\n contextSchools,\r\n contextSelectedCoop,\r\n contextSelectedDistrict,\r\n contextDistricts,\r\n administeredSchools,\r\n isDistrict,\r\n isCoop\r\n }\r\n}","export class ToastModal {\r\n id: number;\r\n title: string;\r\n message: string;\r\n variant: string;\r\n duration: number;\r\n\r\n static toastCount = 0;\r\n\r\n constructor(title = '', message = '', variant = 'primary') {\r\n this.id = ToastModal.toastCount++;\r\n this.title = title;\r\n this.message = message;\r\n this.variant = variant;\r\n this.duration = 5000;\r\n }\r\n}","/* eslint-disable @typescript-eslint/explicit-module-boundary-types */\r\nimport { inject, InjectionKey } from '@vue/composition-api';\r\n\r\nexport function injectStrict(key: InjectionKey, fallback?: T): T {\r\n const resolved = inject(key, fallback);\r\n if (!resolved) {\r\n throw new Error(`Could not resolve ${key.description}`);\r\n }\r\n \r\n return resolved;\r\n}\r\n\r\n// eslint-disable @typescript-eslint/no-explicit-any\r\nexport function deepEqual(object1: any, object2: any): boolean {\r\n const keys1 = Object.keys(object1);\r\n const keys2 = Object.keys(object2);\r\n\r\n if (keys1.length !== keys2.length) {\r\n return false;\r\n }\r\n\r\n for (const key of keys1) {\r\n const val1 = object1[key];\r\n const val2 = object2[key];\r\n const areObjects = isObject(val1) && isObject(val2);\r\n if (\r\n areObjects && !deepEqual(val1, val2) ||\r\n !areObjects && val1 !== val2\r\n ) {\r\n return false;\r\n }\r\n }\r\n\r\n return true;\r\n}\r\n\r\n// eslint-disable @typescript-eslint/no-explicit-any\r\nexport function isObject(object: any): boolean {\r\n return object != null && typeof object === 'object';\r\n}\r\n","import { InjectionKey } from \"@vue/composition-api\";\r\nimport learnerGoalsStore from '@/modules/ees/store/LearnerGoalsStore';\r\nimport observerLearnerStore from '@/modules/ees/store/ObserverLearnerStore';\r\nimport sideBarStore from '@/modules/ees/store/SideBarStore';\r\nimport rubricStore from '@/modules/ees/store/admin/RubricStore';\r\nimport userStore from '@/modules/ees/store/UserStore';\r\nimport staffStore from '@/modules/ees/store/StaffStore';\r\nimport staffListStore from '@/modules/ees/store/StaffListStore';\r\nimport learnerStore from '@/modules/ees/store/districtAdmin/LearnerStore';\r\nimport goalPromptStore from '@/modules/ees/store/GoalPromptStore';\r\nimport activityTypeStore from '@/modules/ees/store/ActivityTypeStore';\r\nimport scheduleActivityStore from '@/modules/ees/store/ScheduleActivityStore';\r\nimport learnerActivityStore from '@/modules/ees/store/LearnerActivityStore';\r\nimport learnerEndOfYearStore from '@/modules/ees/store/LearnerEndOfYearStore';\r\nimport learnerArtifactsStore from '@/modules/ees/store/LearnerArtifactStore';\r\nimport metadataStore from '@/modules/ees/store/MetadataStore';\r\nimport toastStore from \"@/modules/ees/store/ToastStore\";\r\nimport messageThreadStore from \"@/modules/ees/store/MessageThreadStore\";\r\nimport schoolYearStore from \"@/modules/ees/store/SchoolYearStore\";\r\nimport authServiceStore from '@/modules/ees/store/AuthServiceStore';\r\nimport notificationStore from '@/modules/ees/store/admin/NotificationStore';\r\nimport reportStore from '@/modules/ees/store/admin/ReportStore';\r\n\r\nexport const LearnerGoalsStoreKey: InjectionKey = Symbol('LearnerGoalStore');\r\nexport const SideBarStoreKey: InjectionKey = Symbol('SideBarStore');\r\nexport const RubricStoreKey: InjectionKey = Symbol('RubricStore');\r\nexport const ObserverLearnerStoreKey: InjectionKey = Symbol('ObserverLearnerStore');\r\nexport const StaffStoreKey: InjectionKey = Symbol('StaffStore');\r\nexport const StaffListStoreKey: InjectionKey = Symbol('StaffListStore');\r\nexport const UserStoreKey: InjectionKey = Symbol('UserStore');\r\nexport const LearnerStoreKey: InjectionKey = Symbol('LearnerStore');\r\nexport const GoalPromptStoreKey: InjectionKey = Symbol('GoalPromptStore');\r\nexport const ActivityTypeStoreKey: InjectionKey = Symbol('ActivityTypeStore');\r\nexport const ScheduleActivityStoreKey: InjectionKey = Symbol('ScheduleActivityStore');\r\nexport const LearnerActivityStoreKey: InjectionKey = Symbol('LearnerActivityStore');\r\nexport const LearnerEndOfYearStoreKey: InjectionKey = Symbol('LearnerEndOfYearStore');\r\nexport const LearnerArtifactsStoreKey: InjectionKey = Symbol('LearnerArtifactsStore');\r\nexport const SchoolYearStoreKey: InjectionKey = Symbol('SchoolYearStore');\r\nexport const MetadataStoreKey: InjectionKey = Symbol('MetadataStore');\r\nexport const ToastStoreKey: InjectionKey = Symbol('ToastStore');\r\nexport const MessageThreadStoreKey: InjectionKey = Symbol('MessageThreadStore');\r\nexport const AuthServiceStoreKey: InjectionKey = Symbol('AuthServiceStore');\r\nexport const NotificationStoreKey: InjectionKey = Symbol('NotificationStore');\r\nexport const ReportStoreKey: InjectionKey = Symbol('ReportStore');","module.exports = __webpack_public_path__ + \"img/ade-ees-logo.45e0b2f2.svg\";","import { reactive, readonly, watch, computed } from \"@vue/composition-api\";\r\nimport { ActivityService, ActivityDTO, ActivityStepDTO, ScheduleDTO, StaffRoleTypeEnum, ActivityTypeService, ActivityTypeDTO, CreateActivityCommand, CreateActivityStep, CreateStepSchedule, UpdateActivityCommand, UpdateActivityStep, UpdateStepSchedule, LearnerSummaryVm, CreateBulkActivitiesCommand, LearnerKey, SchoolYearDTO, ActivityCollaboratorDTO, ParticipantTypeEnum, LearnerService, RubricComponentKeyQuickSelector } from '@/generated/api.clients';\r\nimport Api from '@/plugin/Api';\r\nimport UserStore, { LearnerSummaryVmSelection } from '@/modules/ees/store/UserStore';\r\nimport ObserverLearnerStore from '@/modules/ees/store/ObserverLearnerStore';\r\n\r\nconst activityApi = new ActivityService(undefined, Api);\r\nconst activityTypeApi = new ActivityTypeService(undefined, Api);\r\nconst learnerApi = new LearnerService(undefined, Api)\r\n\r\nconst state = reactive({\r\n additionalCollaborators: [] as string[],\r\n observers: [] as string[],\r\n modalActive: false,\r\n isBulkScheduleMode: false,\r\n isUpdateModal: false,\r\n activityTypes: new Array(),\r\n activity: new ActivityDTO({\r\n id: '',\r\n name: '',\r\n schoolYearId: 0,\r\n schoolYear: new SchoolYearDTO(),\r\n rubricVersionId: 0,\r\n rubricName: undefined,\r\n status: 0,\r\n observerId: '',\r\n observerName: '',\r\n learnerId: '',\r\n learnerRoleType: 0,\r\n learnerName: '',\r\n isPrivate: false,\r\n steps: [] as ActivityStepDTO[],\r\n collaborators: [] as ActivityCollaboratorDTO[],\r\n resources: [],\r\n supportsStudentGrowth: false\r\n }),\r\n rubricComponentSelectorOptions: [] as RubricComponentKeyQuickSelector[]\r\n})\r\n\r\nwatch(() => state.activity.name, (name, oldName) => {\r\n if(name !== oldName && state.activity.id === ''){\r\n state.activity.steps = [];\r\n state.activityTypes.find(a => a.name === state.activity.name)?.steps?.forEach((element, index) => {\r\n debugger\r\n const step = new ActivityStepDTO({\r\n id: index,\r\n activityDataStructureVersion: 1, // TODO: This needs to be set dynamically based on the step?\r\n active: true,\r\n activityId: state.activity.id,\r\n name: element.name,\r\n order: element.order,\r\n inputRequired: element.inputRequired,\r\n inputAllowed: element.inputAllowed,\r\n stepType: element.stepType,\r\n metadata: element.metadata,\r\n scheduledStep: element.scheduledStep,\r\n schedule: undefined\r\n });\r\n \r\n if (state.activity.steps) {\r\n state.activity.steps.push(step);\r\n } \r\n });\r\n }\r\n});\r\n\r\nwatch(() => state.activity.learnerId, async (learnerId) => {\r\n state.rubricComponentSelectorOptions = await learnerApi.getLearnerRubricComponentQuickSelect(learnerId)\r\n});\r\n\r\nconst actions = {\r\n hydrateActivityTypes(): void { \r\n activityTypeApi.getActivityTypes().then((activityTypes) => {\r\n state.activityTypes = activityTypes;\r\n });\r\n },\r\n intitializeActivity(activityId: string): void {\r\n activityApi.get(activityId).then((activity) => {\r\n state.activity = activity;\r\n });\r\n\r\n state.isUpdateModal = true;\r\n actions.setModalState(true);\r\n },\r\n async intitializeNewActivity(observerId: string, learnerId: string, learnerRoleType: StaffRoleTypeEnum, learnerName: string): Promise {\r\n state.observers = []\r\n state.additionalCollaborators = []\r\n state.activity = new ActivityDTO({\r\n id: '',\r\n name: '',\r\n schoolYearId: 0,\r\n schoolYear: new SchoolYearDTO(),\r\n rubricVersionId: 0,\r\n rubricName: undefined,\r\n status: 0,\r\n observerId: observerId,\r\n observerName: '',\r\n learnerId: learnerId,\r\n learnerRoleType: learnerRoleType,\r\n learnerName: learnerName,\r\n isPrivate: false,\r\n steps: [] as ActivityStepDTO[],\r\n collaborators: [new ActivityCollaboratorDTO({\r\n name: '',\r\n activityId: '',\r\n collaboratorId: observerId,\r\n collaboratorType: ParticipantTypeEnum.Observer,\r\n id: 1\r\n })],\r\n resources: [],\r\n supportsStudentGrowth: false\r\n });\r\n state.isUpdateModal = false;\r\n state.isBulkScheduleMode = false;\r\n actions.setModalState(true);\r\n },\r\n intitializeNewBulkScheduleActivities(observerId: string): void {\r\n state.activity = new ActivityDTO({\r\n id: '',\r\n name: '',\r\n schoolYearId: 0,\r\n schoolYear: new SchoolYearDTO(),\r\n rubricVersionId: 0,\r\n rubricName: undefined,\r\n status: 0,\r\n observerId: observerId,\r\n observerName: '',\r\n learnerId: '',\r\n learnerRoleType: 0,\r\n learnerName: '',\r\n isPrivate: false,\r\n steps: [] as ActivityStepDTO[],\r\n collaborators: [new ActivityCollaboratorDTO({\r\n name: '',\r\n activityId: '',\r\n collaboratorId: observerId,\r\n collaboratorType: ParticipantTypeEnum.Observer,\r\n id: 1\r\n })],\r\n resources: [],\r\n supportsStudentGrowth: false\r\n });\r\n state.isUpdateModal = false;\r\n state.isBulkScheduleMode = true;\r\n actions.setModalState(true);\r\n },\r\n setModalState(active: boolean): void {\r\n state.modalActive = active;\r\n },\r\n updateStepSchedule(stepId: number, beginDate: Date, endDate: Date): void {\r\n const step = state.activity.steps?.find(x => x.id === stepId)\r\n if(step?.schedule){\r\n step.schedule.beginDate = beginDate;\r\n step.schedule.endDate = endDate;\r\n } else if(step) {\r\n step.schedule = new ScheduleDTO({\r\n id: 0, \r\n beginDate: beginDate, \r\n endDate: endDate\r\n });\r\n }\r\n },\r\n async saveBulkActivities(): Promise {\r\n const selectableLearnerIds = UserStore.state.SelectableLearnerIds;\r\n if(state.activity.id === '') {\r\n const createActivityCommand = new CreateBulkActivitiesCommand({\r\n name: state.activity.name,\r\n observerId: state.activity.observerId,\r\n additionalCollaborators: state.additionalCollaborators,\r\n isPrivate: state.activity.isPrivate,\r\n learnerKeys: UserStore.state.Learners.filter(l => l.selected)\r\n .map(l => {\r\n return new LearnerKey({ \r\n learnerId: l.learnerId, \r\n learnerRoleType: l.learnerRoleType \r\n });\r\n }),\r\n steps: state.activity.steps?.map(step => {\r\n const createActivityStep = new CreateActivityStep({\r\n active: step.active,\r\n name: step.name,\r\n order: step.order,\r\n inputRequired: step.inputRequired,\r\n inputAllowed: step.inputAllowed,\r\n stepType: step.stepType,\r\n metadata: step.metadata,\r\n scheduledStep: step.scheduledStep,\r\n schedule: (step.schedule !== undefined) ? new CreateStepSchedule({\r\n beginDate: step.schedule.beginDate,\r\n endDate: step.schedule.endDate\r\n }) : undefined\r\n });\r\n\r\n return createActivityStep;\r\n })\r\n });\r\n\r\n await activityApi.createBulkSchedule(createActivityCommand).then((id) => {\r\n // state.activity.id = id;\r\n Promise.all([\r\n UserStore.actions.refreshLearnerSummary(), \r\n ObserverLearnerStore.actions.getObserverLearnerScheduledActivities(),\r\n UserStore.actions.getTodaysMeetings()\r\n ]).then(() => {\r\n actions.setModalState(false);\r\n });\r\n });\r\n }\r\n },\r\n async saveActivity(): Promise {\r\n if(state.activity.id === '') {\r\n const createActivityCommand = new CreateActivityCommand({\r\n name: state.activity.name,\r\n observerId: state.activity.observerId,\r\n learnerId: state.activity.learnerId,\r\n learnerRoleType: state.activity.learnerRoleType,\r\n additionalCollaborators: state.additionalCollaborators,\r\n observers: state.observers,\r\n isPrivate: state.activity.isPrivate,\r\n steps: state.activity.steps?.map(step => {\r\n debugger\r\n const createActivityStep = new CreateActivityStep({\r\n active: step.active,\r\n name: step.name,\r\n order: step.order,\r\n inputRequired: step.inputRequired,\r\n inputAllowed: step.inputAllowed,\r\n stepType: step.stepType,\r\n metadata: step.metadata,\r\n scheduledStep: step.scheduledStep,\r\n schedule: (step.schedule !== undefined) ? new CreateStepSchedule({\r\n beginDate: step.schedule.beginDate,\r\n endDate: step.schedule.endDate\r\n }) : undefined\r\n });\r\n\r\n return createActivityStep;\r\n })\r\n });\r\n\r\n await activityApi.create(createActivityCommand).then((id) => {\r\n state.activity.id = id;\r\n Promise.all([\r\n UserStore.actions.refreshLearnerSummary(), \r\n ObserverLearnerStore.actions.getObserverLearnerScheduledActivities(),\r\n UserStore.actions.getTodaysMeetings()\r\n ]).then(() => {\r\n actions.setModalState(false);\r\n });\r\n });\r\n } else {\r\n const updateActivityCommand = new UpdateActivityCommand({\r\n activityId: state.activity.id,\r\n steps: state.activity.steps?.map(step => {\r\n const updateActivityStep = new UpdateActivityStep({\r\n id: step.id,\r\n active: step.active, \r\n metadata: step.metadata,\r\n schedule: (step.schedule !== undefined) ? new UpdateStepSchedule({\r\n id: step.schedule?.id,\r\n beginDate: step.schedule.beginDate,\r\n endDate: step.schedule.endDate,\r\n name: step.name\r\n }) : undefined\r\n });\r\n\r\n return updateActivityStep;\r\n })\r\n });\r\n\r\n await activityApi.update(updateActivityCommand.activityId, updateActivityCommand).then(() => {\r\n Promise.all([\r\n UserStore.actions.refreshLearnerSummary(), \r\n ObserverLearnerStore.actions.getObserverLearnerScheduledActivities(),\r\n UserStore.actions.getTodaysMeetings()\r\n ]).then(() => {\r\n actions.setModalState(false);\r\n });\r\n });\r\n }\r\n },\r\n updateObservers: (observers: Array) : void => {\r\n state.observers = observers\r\n },\r\n updateAdditionalCollaborators: (collaborators: Array) : void => {\r\n state.additionalCollaborators = collaborators\r\n }\r\n}\r\n\r\nconst getters = {\r\n rubricComponents: computed(() => state.rubricComponentSelectorOptions.map((c) => { return { code: `${c.key} - ${c.name}`, label: `${c.key} - ${c.name}` }})),\r\n observerIds: computed(() => state.activity.collaborators?.filter(c => c.collaboratorType == 1).map(c => c.collaboratorId) || []),\r\n additionalCollaborators: computed(() => state.activity.collaborators?.filter(c => c.collaboratorType == 2) || [])\r\n}\r\n\r\nexport default {\r\n state: readonly(state),\r\n actions,\r\n getters\r\n}","module.exports = __webpack_public_path__ + \"img/ADE-logo.d9365f02.png\";","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/@vue/cli-service/node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Index.vue?vue&type=style&index=0&lang=css&\"","import { reactive, readonly } from \"@vue/composition-api\";\r\nimport Api from '@/plugin/Api';\r\nimport { EducatorRatingDto, EducatorRatingDomainComponentDto, LeaRatingDomainComponentDto, DomainComponentRatingsDto, ObserverLearnerService, RatingsBreakdownDto, ReportService, SummativeLearnerOutcomeDTO } from \"@/generated/api.clients\";\r\n\r\nconst reportApi = new ReportService(undefined, Api);\r\nconst observerLearnerApi = new ObserverLearnerService(undefined, Api);\r\n\r\nconst state = reactive({\r\n ratingsBreakdown: new RatingsBreakdownDto(),\r\n summativeLearnerOutcome: null,\r\n educatorRatings: new Array(),\r\n educatorRatingsByDomainComponent: new Array(),\r\n leaRatingsByDomainComponentDto: new Array(),\r\n domains: new Array(),\r\n report: '',\r\n schoolYear: '',\r\n role: 0,\r\n learnerStatus:'',\r\n coOp: '',\r\n district: '',\r\n school: ''\r\n})\r\n\r\nconst actions = {\r\n getSummativeLearnerOutcomes(lea: string | null, roleType: number, schoolYear: number): void {\r\n observerLearnerApi.getSummativeOutcome(lea,roleType,schoolYear)\r\n .then(data => {\r\n state.summativeLearnerOutcome = data\r\n })\r\n },\r\n getSummativeLearnerEndOfYearOutcomes(districtLea: string | null, schoolLea: string | null, schoolYear: number | null): void {\r\n reportApi.getEducatorRating(districtLea, schoolLea, schoolYear)\r\n .then(data => {\r\n state.educatorRatings = data\r\n })\r\n },\r\n getEducatorRatingsReportByDomainComponent(districtLea: string | null, schoolLea: string | null, schoolYear: number | null, domain: string | null): void {\r\n reportApi.getEducatorRatingsByDomainComponent(districtLea, schoolLea, schoolYear, domain)\r\n .then(data => {\r\n state.educatorRatingsByDomainComponent = data.educatorRatingDomainComponents!\r\n state.leaRatingsByDomainComponentDto = data.leaRatingDomainComponents!\r\n })\r\n },\r\n getDomainOptions(districtLea: string | null, schoolLea: string | null, schoolYear: number | null): void {\r\n reportApi.getDomainOptions(districtLea, schoolLea, schoolYear)\r\n .then(data => {\r\n state.domains = data.map(d => d.domain!)\r\n })\r\n },\r\n async loadRatingsBreakdown(lea: string): Promise {\r\n state.ratingsBreakdown = await reportApi.getRatingBreakdown(lea)\r\n },\r\n setReport(selectedReport: string){\r\n state.report = selectedReport\r\n },\r\n setSchoolYear(selectedSchoolYear: string){\r\n state.schoolYear = selectedSchoolYear\r\n },\r\n setRole(selectedRole: number){\r\n state.role = selectedRole\r\n },\r\n setLearnerStatus(selectedLearnerStatus: string){\r\n state.learnerStatus = selectedLearnerStatus\r\n },\r\n setCoOp(selectedCoOp: string){\r\n state.coOp = selectedCoOp\r\n },\r\n setDistrict(selectedDistrict: string){\r\n state.district = selectedDistrict\r\n },\r\n setSchool(selectedSchool: string){\r\n state.school = selectedSchool\r\n }\r\n}\r\nconst getters = {\r\n components() : string[] {\r\n const components = new Set(state.educatorRatingsByDomainComponent.map(d => `${d.key} - ${d.component}`))\r\n return [...components]\r\n }\r\n}\r\n\r\nexport default {\r\n state: readonly(state),\r\n actions,\r\n getters\r\n}","import { computed, reactive, readonly, watch } from \"@vue/composition-api\";\r\nimport { ActivityService, ActivityStepService, ActivityEvidenceService, ActivityDTO, ActivityEvidenceDTO, ActivityStepDTO, ActivityStepDataDTO, UpdateActivityStepDataCommand, RubricService, GoalService, CreateActivityEvidenceCommand, UpdateActivityEvidenceCommand, ActivityRatingComponentEvidenceDTO, ArtifactService, ActivityRatingComponentArtifactDTO, UpdateActivityCollaboratorsCommand, ActivityStepInputSourceEnum, ActivityRatingComponentPromptDTO, ActivityStatus, IActivityStepDTO, RubricVersionDto } from '@/generated/api.clients';\r\nimport Api from '@/plugin/Api';\r\nimport UserStore from '@/modules/ees/store/UserStore';\r\nimport ObserverLearnerStore from '@/modules/ees/store/ObserverLearnerStore';\r\nimport Vue from \"vue\";\r\nimport router from \"@/router\";\r\n\r\nconst activityApi = new ActivityService(undefined, Api);\r\nconst activityStepApi = new ActivityStepService(undefined, Api);\r\nconst activityEvidenceApi = new ActivityEvidenceService(undefined, Api);\r\nconst RubricServiceApi = new RubricService(undefined, Api);\r\nconst GoalServiceApi = new GoalService(undefined, Api);\r\nconst artifactApi = new ArtifactService(undefined, Api);\r\nlet _timeout: any;\r\n\r\nconst state = reactive({\r\n showParticipantsModal: false,\r\n showResourcesModal: false,\r\n activity: new ActivityDTO(),\r\n activityEvidences: new Array(),\r\n currentActivityEvidence: new ActivityEvidenceDTO,\r\n currentStepId: -1,\r\n stepDataMap: new Map(),\r\n currentStepData: new ActivityStepDataDTO(),\r\n activityRatingComponentEvidence: new Array(),\r\n activityRatingComponentArtifact: new Array(),\r\n activityRatingComponentPrompts: new Array(),\r\n activityRubricVersion: undefined as undefined | RubricVersionDto\r\n})\r\n\r\nwatch(() => state.currentStepData.clone(), (stepData, oldStepData) => {\r\n if(stepData.id === oldStepData.id){\r\n if(_timeout) {\r\n clearTimeout(_timeout);\r\n }\r\n _timeout = setTimeout(() => actions.saveStep(stepData.id), 1000);\r\n }\r\n},\r\n{ deep: true});\r\n\r\nconst actions = {\r\n setModalState: (show: boolean): void => {\r\n state.showParticipantsModal = show\r\n },\r\n setResourcesModalState: (show: boolean): void => {\r\n state.showResourcesModal = show\r\n },\r\n async saveCollaborators(observerIds: string[], additionalCollaboratorIds: string[]): Promise {\r\n state.activity.collaborators = await activityApi.updateCollaborators(new UpdateActivityCollaboratorsCommand({ activityId: state.activity.id, observers: observerIds, additionalCollaborators: additionalCollaboratorIds}))\r\n actions.setModalState(false)\r\n },\r\n\r\n getActivity(id: string): void {\r\n activityApi.get(id).then((activity) => {\r\n state.activity = activity;\r\n state.stepDataMap.clear();\r\n \r\n if(state.activity.steps !== undefined){\r\n if(state.activity.steps.filter(s=>s.active).length > 0){\r\n const firstActive = state.activity.steps.find(s=>s.active)\r\n actions.setCurrentStep(firstActive?.id || -1);\r\n } else {\r\n actions.setCurrentStep(-1);\r\n }\r\n } else {\r\n actions.setCurrentStep(-1);\r\n }\r\n\r\n RubricServiceApi.getRubricVersion(activity.rubricVersionId).then((rv) => {\r\n state.activityRubricVersion = rv\r\n })\r\n })\r\n },\r\n hydrateActivityEvidence(): void {\r\n activityEvidenceApi.getAvtivityActivityEvidence(state.activity.id).then((activityEvidenceList) => {\r\n state.activityEvidences = activityEvidenceList;\r\n })\r\n },\r\n async setCurrentStep(id: number): Promise {\r\n if(state.activity.steps !== undefined){\r\n if(state.activity.steps.some(x => x.id === id)){\r\n const data = state.stepDataMap.get(id);\r\n if (!data) { \r\n await activityStepApi.get(id).then((activityStepData) => {\r\n state.stepDataMap.set(id, activityStepData);\r\n Vue.set(state, 'currentStepData', activityStepData);\r\n }); \r\n }\r\n else{\r\n Vue.set(state, 'currentStepData', data);\r\n }\r\n\r\n state.currentStepId = id;\r\n } else {\r\n state.currentStepId = -1;\r\n }\r\n } else {\r\n state.currentStepId = -1\r\n }\r\n },\r\n saveStep(id: number): void {\r\n const updateActivityStepDataCommand = new UpdateActivityStepDataCommand({\r\n id: id,\r\n activityData: state.stepDataMap.get(id).activityData\r\n });\r\n\r\n activityStepApi.update(id, updateActivityStepDataCommand);\r\n },\r\n clearCurrentActivityEvidence(): void {\r\n const newEvidence = new ActivityEvidenceDTO();\r\n\r\n GoalServiceApi.getLearnerGoalSelector(UserStore.state.ContextUserId).then((goalSelector) => {\r\n RubricServiceApi.getLearnerRubricSelector(UserStore.state.ContextUserId).then((rubricSelector) => {\r\n newEvidence.activityId = state.activity.id;\r\n newEvidence.goals = goalSelector;\r\n newEvidence.rubric = rubricSelector;\r\n state.currentActivityEvidence = newEvidence;\r\n });\r\n });\r\n },\r\n setCurrentActivityEvidence(id: number): void {\r\n if(state.activityEvidences.some(x => x.id === id)){\r\n activityEvidenceApi.get(id).then((evidence) => {\r\n state.currentActivityEvidence = evidence;\r\n });\r\n }\r\n },\r\n saveCurrentActivityEvidence(): void {\r\n //don't save empty evidence\r\n if(!((state.currentActivityEvidence.comments === '' || state.currentActivityEvidence.comments === undefined) && (state.currentActivityEvidence.notes === '' || state.currentActivityEvidence.notes === undefined)\r\n && state.currentActivityEvidence.rubric?.domains?.every(x => x.components?.every(y => y.isSelected === false) && state.currentActivityEvidence.goals?.goalLinks?.every(x => x.isSelected === false)))){\r\n if(state.currentActivityEvidence.id === undefined)\r\n {\r\n const createActivityEvidenceCommand = new CreateActivityEvidenceCommand({\r\n activityId: state.currentActivityEvidence.activityId,\r\n comments: state.currentActivityEvidence.comments,\r\n notes: state.currentActivityEvidence.notes,\r\n goals: state.currentActivityEvidence.goals?.clone(),\r\n rubric: state.currentActivityEvidence.rubric?.clone(), \r\n });\r\n\r\n activityEvidenceApi.create(createActivityEvidenceCommand).then((id) => {\r\n activityEvidenceApi.get(id).then((newEvidence) => {\r\n state.activityEvidences.push(newEvidence);\r\n })\r\n }); \r\n } else {\r\n const updateActivityEvidenceCommand = new UpdateActivityEvidenceCommand({\r\n activityEvidence: state.currentActivityEvidence.clone()\r\n });\r\n\r\n if(updateActivityEvidenceCommand.activityEvidence)\r\n {\r\n activityEvidenceApi.update(updateActivityEvidenceCommand.activityEvidence.id, updateActivityEvidenceCommand).then(() => {\r\n for(let i = 0; i < state.activityEvidences.length; i++){\r\n if(state.activityEvidences[i].id === updateActivityEvidenceCommand.activityEvidence?.id){\r\n state.activityEvidences.splice(i, 1)\r\n state.activityEvidences.splice(i, 0, updateActivityEvidenceCommand.activityEvidence);\r\n }\r\n }\r\n })\r\n }\r\n }\r\n actions.clearCurrentActivityEvidence();\r\n }\r\n },\r\n deleteActivityEvidence(): void {\r\n activityEvidenceApi.delete(state.currentActivityEvidence.id).then(() => {\r\n for(let i = 0; i < state.activityEvidences.length; i++){\r\n if(state.activityEvidences[i].id === state.currentActivityEvidence.id){\r\n state.activityEvidences.splice(i, 1)\r\n }\r\n }\r\n if(state.currentActivityEvidence.id === state.currentActivityEvidence.id) {\r\n actions.clearCurrentActivityEvidence();\r\n }\r\n });\r\n },\r\n hydrateAvtivityRatingComponentEvidence(): void {\r\n activityEvidenceApi.getAvtivityRatingComponentEvidence(state.activity.id).then((evidenceData) => {\r\n state.activityRatingComponentEvidence = evidenceData;\r\n });\r\n },\r\n hydrateAvtivityRatingComponentArtifact(): void {\r\n artifactApi.getAvtivityRatingComponentArtifact(state.activity.id).then((artifactData) => {\r\n state.activityRatingComponentArtifact = artifactData;\r\n });\r\n },\r\n hydrateAvtivityRatingComponentPrompt(): void {\r\n activityStepApi.getActivityRatingComponentPrompt(state.activity.id).then((promptData) => {\r\n state.activityRatingComponentPrompts = promptData;\r\n });\r\n },\r\n setComponentRatingSelectedBy(domainKey: string, componentKey: string, rating: number | null): void {\r\n const componentRating = state.currentStepData.activityData.rubricRating.domains.find(d => d.key === domainKey).components.find(c => c.key === componentKey)\r\n componentRating.selectedByUserId = UserStore.state.UserId;\r\n componentRating.selectedLevel = rating\r\n },\r\n resetComponentRating(domainKey: string, componentKey: string): void {\r\n const component = state.currentStepData.activityData.rubricRating.domains.find(d => d.key === domainKey).components.find(c => c.key === componentKey)\r\n component.selectedByUserId = undefined;\r\n component.selectedLevel = undefined;\r\n },\r\n makePublicActivity(): void {\r\n activityApi.makePublicActivity(state.activity.id).then(() => {\r\n state.activity.isPrivate = false;\r\n });\r\n },\r\n completeActivity(): void {\r\n activityApi.completeActivity(state.activity.id).then(() => {\r\n state.activity.status = ActivityStatus.Complete;\r\n });\r\n },\r\n makeActivityActive(): void {\r\n activityApi.makeActive(state.activity.id).then(() => {\r\n state.activity.status = ActivityStatus.InProgress;\r\n });\r\n },\r\n deleteActivity(): void {\r\n activityApi.delete(state.activity.id).then(() => {\r\n UserStore.actions.refreshLearnerSummary(), \r\n ObserverLearnerStore.actions.getObserverLearnerScheduledActivities()\r\n router.push({ path: `/learner/Activities/${state.activity.learnerId}` });\r\n })\r\n }\r\n}\r\n\r\nconst getters = {\r\n activeSteps(): IActivityStepDTO[] | undefined {\r\n return state.activity.steps?.filter(s => s.active);\r\n },\r\n activityCompleted(): boolean {\r\n return state.activity.status === ActivityStatus.Complete; \r\n },\r\n currentStep(): ActivityStepDTO | undefined {\r\n return state.activity.steps?.find(s => s.id === state.currentStepId);\r\n },\r\n focusedComponents(): string[] {\r\n if(state?.currentStepData?.activityData?.focusedRubricComponents){\r\n return state?.currentStepData?.activityData?.focusedRubricComponents;\r\n }\r\n return []\r\n },\r\n componentEvidence(key: string): ActivityRatingComponentEvidenceDTO[] {\r\n return state.activityRatingComponentEvidence.filter(obj => obj.componentKey === key);\r\n },\r\n componentArtifact(key: string): ActivityRatingComponentArtifactDTO[] {\r\n return state.activityRatingComponentArtifact.filter(obj => obj.componentKey === key);\r\n },\r\n componentPrompt(key: string): ActivityRatingComponentPromptDTO[] {\r\n return state.activityRatingComponentPrompts.filter(obj => obj.componentKey === key);\r\n },\r\n currentStepDisabled(): boolean {\r\n let disabled = true;\r\n \r\n if (state.currentStepData.inputAllowed === ActivityStepInputSourceEnum.Learner && UserStore.state.UserId === UserStore.state.ContextUserId && UserStore.getters.isLearner()){\r\n disabled = false;\r\n } else if (state.currentStepData.inputAllowed === ActivityStepInputSourceEnum.Observer && UserStore.getters.isObserving() && UserStore.getters.isObserving()){\r\n disabled = false;\r\n } else if (state.currentStepData.inputAllowed === ActivityStepInputSourceEnum.Collaborator && UserStore.getters.isObserving() && UserStore.getters.isCollaborator()){\r\n disabled = false;\r\n } else if (state.currentStepData.inputAllowed === ActivityStepInputSourceEnum.Any && (UserStore.getters.isObserver() || UserStore.getters.isCollaborator() || UserStore.getters.isLearner())){\r\n disabled = false;\r\n } else if (state.currentStepData.inputAllowed === ActivityStepInputSourceEnum.ObserverOrCollaborator && UserStore.getters.isObserving() && (UserStore.getters.isCollaborator() || UserStore.getters.isObserver())){\r\n disabled = false;\r\n } else { //state.currentStepData.inputAllowed === ActivityStepInputSourceEnum.Neither\r\n disabled = true\r\n }\r\n\r\n return disabled;\r\n },\r\n rubricMismatch(): boolean {\r\n return UserStore.state.ContextRubricId !== state.activity.rubricVersionId\r\n },\r\n observerIds: computed(() => state.activity.collaborators?.filter(c => c.collaboratorType == 1).map(c => c.collaboratorId) || []),\r\n additionalCollaborators: computed(() => state.activity.collaborators?.filter(c => c.collaboratorType == 2) || []),\r\n getRubricRatingComponent: (domainKey: string, componentKey: string): number | null => {\r\n if (state.currentStepData.activityData?.rubricRating?.domains) {\r\n const componentRating = state.currentStepData.activityData.rubricRating.domains.find(d => d.key == domainKey).components.find(c => c.key == componentKey)\r\n return componentRating\r\n }\r\n\r\n return null\r\n }\r\n\r\n}\r\n\r\nexport default {\r\n state: readonly(state),\r\n actions,\r\n getters\r\n}","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (!_vm.isLoggedIn)?_c('div',[_c('div',{staticClass:\"index splash vh-100\"},[_c('div',{staticClass:\"d-flex vh-100 justify-content-center\"},[_c('div',{staticClass:\"card card-transparent align-self-center text-center p-4\"},[_c('div',{staticClass:\"card-body\"},[_c('img',{attrs:{\"src\":require(\"@/assets/ADE-logo.png\"),\"alt\":\"ADE Logo\",\"title\":\"ADE Logo\",\"width\":\"200\"}}),_c('h1',{staticClass:\"mt-4\"},[_vm._v(\"Welcome to the ADE Educator Effectiveness System\")]),_c('button',{staticClass:\"btn btn-primary btn-lg w-100 mt-3\",attrs:{\"type\":\"button\"},on:{\"click\":function($event){$event.preventDefault();return _vm.login($event)}}},[_vm._v(\"Login\")])])])])])]):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { defineComponent, ref } from '@vue/composition-api';\r\nimport { AuthServiceStoreKey } from \"@/store/StoreInjectionKeys\"\r\nimport { injectStrict } from '@/lib/utils';\r\n\r\nexport default defineComponent({\r\n name: \"Index\",\r\n setup() {\r\n const authStore = injectStrict(AuthServiceStoreKey);\r\n const isLoggedIn = ref(false); \r\n\r\n function login(): void {\r\n authStore.actions.login();\r\n }\r\n\r\n authStore.getters.isLoggedIn().then((loggedIn: boolean) => {\r\n isLoggedIn.value = loggedIn;\r\n\r\n if (!isLoggedIn.value) {\r\n authStore.actions.login();\r\n }\r\n });\r\n\r\n return {\r\n login,\r\n isLoggedIn\r\n };\r\n },\r\n})\r\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--14-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Index.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--14-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Index.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Index.vue?vue&type=template&id=32e139be&\"\nimport script from \"./Index.vue?vue&type=script&lang=ts&\"\nexport * from \"./Index.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./Index.vue?vue&type=style&index=0&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import { reactive, readonly, } from \"@vue/composition-api\";\r\nimport { ToastModal } from '@/models/toast-modal';\r\n\r\n\r\nconst state = reactive({\r\n toastList: new Array()\r\n})\r\n\r\nconst actions = {\r\n addToast(title: string, message: string, variant: string): void {\r\n const newToast = new ToastModal(\r\n title,\r\n message,\r\n variant\r\n );\r\n\r\n state.toastList.push(newToast);\r\n },\r\n deleteToast(toastId: number): void{\r\n for(let i = 0; i < state.toastList.length; i++){\r\n if(state.toastList[i].id === toastId){\r\n state.toastList.splice(i, 1);\r\n }\r\n }\r\n }\r\n}\r\n\r\nconst getters = {\r\n}\r\n\r\nexport default {\r\n state: readonly(state),\r\n actions,\r\n getters\r\n}","export const routes = [\r\n {\r\n path: '/admin',\r\n name: 'Admin',\r\n component: (): Promise => import('@/modules/ees/pages/admin/Admin.vue'),\r\n meta: {\r\n isSecure: true,\r\n },\r\n children: [\r\n {\r\n path: 'dashboard',\r\n name: 'Dashboard',\r\n component: (): Promise => import('@/modules/ees/pages/dashboard/Home.vue'),\r\n meta: {\r\n isSecure: true,\r\n }\r\n },\r\n {\r\n path: 'report',\r\n name: 'Report',\r\n component: (): Promise => import('@/modules/ees/pages/report/Home.vue'),\r\n meta: {\r\n isSecure: true,\r\n }\r\n },\r\n {\r\n path: 'staff-list',\r\n name: 'StaffList',\r\n component: (): Promise => import('@/modules/ees/pages/staff-list/Home.vue'),\r\n meta: {\r\n isSecure: true\r\n }\r\n },\r\n {\r\n path: 'scheduled-activities',\r\n name: 'ScheduledActivities',\r\n component: (): Promise => import('@/modules/ees/pages/scheduled-activities/ScheduledActivitiesDashboard.vue'),\r\n meta: {\r\n isSecure: true\r\n }\r\n },\r\n {\r\n path: 'goal-prompts',\r\n name: 'GoalPrompts',\r\n component: (): Promise => import('@/modules/ees/pages/admin/goal-prompts/GoalPrompts.vue'),\r\n meta: {\r\n isSecure: true,\r\n }\r\n },\r\n {\r\n path: 'school-year',\r\n name: 'SchoolYear',\r\n component: (): Promise => import('@/modules/ees/pages/admin/school-year/SchoolYear.vue'),\r\n meta: {\r\n isSecure: true\r\n }\r\n },\r\n {\r\n path: 'rubrics',\r\n name: 'Rubrics',\r\n component: (): Promise => import('@/modules/ees/pages/admin/rubrics/List.vue'),\r\n meta: {\r\n isSecure: true,\r\n }\r\n },\r\n {\r\n path: 'rubric',\r\n name: 'Rubric',\r\n component: (): Promise => import('@/modules/ees/pages/admin/rubrics/Home.vue'),\r\n meta: {\r\n isSecure: true,\r\n },\r\n children: [\r\n {\r\n path: 'new',\r\n name: 'NewRubric',\r\n component: (): Promise => import('@/modules/ees/pages/admin/rubrics/New.vue'),\r\n meta: {\r\n isSecure: true,\r\n }\r\n },\r\n {\r\n name: 'RubricVersions',\r\n path: ':rid(\\\\d+)/versions',\r\n component: (): Promise => import('@/modules/ees/pages/admin/rubrics/versions/List.vue'),\r\n meta: {\r\n isSecure: true,\r\n }\r\n },\r\n {\r\n name: 'AddVersion',\r\n path: ':rid(\\\\d+)/version/add',\r\n component: (): Promise => import('@/modules/ees/pages/admin/rubrics/RubricVersion.vue'),\r\n meta: {\r\n isSecure: true,\r\n },\r\n props: {\r\n mode: 'add'\r\n }\r\n },\r\n {\r\n name: 'EditRubricVersion',\r\n path: ':rid(\\\\d+)/version/:vid/edit',\r\n component: (): Promise => import('@/modules/ees/pages/admin/rubrics/RubricVersion.vue'),\r\n meta: {\r\n isSecure: true,\r\n },\r\n props: {\r\n mode: 'edit'\r\n }\r\n }\r\n ]\r\n },\r\n {\r\n path: 'notifications',\r\n name: 'Notifications',\r\n component: (): Promise => import('@/modules/ees/pages/admin/notifications/Home.vue'),\r\n meta: {\r\n isSecure: true,\r\n },\r\n },\r\n ]\r\n }\r\n]\r\n","export const routes = [\r\n {\r\n path: '/observer-learner-assignment',\r\n name: 'ObserverLearnerAssignment',\r\n component: (): Promise => import('@/modules/ees/pages/lea-admin-home/observer-learner-assignment/ObserverLearnerAssignment.vue'),\r\n meta: {\r\n isSecure: true,\r\n }\r\n }\r\n]\r\n","import { component } from 'vue/types/umd';\r\nimport { routes as AdminRoutes } from './admin'\r\nimport { routes as LeaAdminRoutes } from './leaAdmin'\r\n\r\nconst routes = [\r\n {\r\n path: '/observer/home',\r\n name: 'ObserverHome',\r\n component: (): Promise => import('@/modules/ees/pages/observer-home/ObserverHome.vue'),\r\n meta: {\r\n isSecure: true,\r\n }\r\n },\r\n {\r\n path: '/observer/observationbreakdown',\r\n name: 'ObserverObservationBreakdown',\r\n component: (): Promise => import('@/modules/ees/pages/observer-observation-breakdown/ObserverObservationBreakdown.vue'),\r\n meta: {\r\n isSecure: true,\r\n }\r\n },\r\n {\r\n path: '/observer/calendar',\r\n name: 'ObserverCalendar',\r\n component: (): Promise => import('@/modules/ees/pages/observer-calendar/ObserverCalendar.vue'),\r\n meta: {\r\n isSecure: true,\r\n }\r\n },\r\n {\r\n path: '/observer/comments',\r\n name: 'ObserverComments',\r\n component: (): Promise => import('@/modules/ees/pages/observer-comments/ObserverComments.vue'),\r\n meta: {\r\n isSecure: true,\r\n }\r\n },\r\n {\r\n path: '/learner/home/:learnerId',\r\n name: 'LearnerHome',\r\n component: (): Promise => import('@/modules/ees/pages/learner-home/LearnerHome.vue'),\r\n meta: {\r\n isSecure: true,\r\n }\r\n },\r\n {\r\n path: '/learner/comments/:learnerId',\r\n name: 'LearnerComments',\r\n component: (): Promise => import('@/modules/ees/pages/learner-comments/LearnerComments.vue'),\r\n meta: {\r\n isSecure: true,\r\n }\r\n },\r\n {\r\n path: '/learner/goals/:learnerId',\r\n name: 'LearnerGoals',\r\n component: (): Promise => import('@/modules/ees/pages/learner-goals/LearnerGoals.vue'),\r\n meta: {\r\n isSecure: true,\r\n }\r\n },\r\n {\r\n path: '/learner/activities/:learnerId',\r\n name: 'LearnerActivities',\r\n component: (): Promise => import('@/modules/ees/pages/learner-activities/LearnerActivities.vue'),\r\n meta: {\r\n isSecure: true,\r\n }\r\n },\r\n {\r\n path: '/learner/EndOfYear/:learnerId/:endOfYearId?',\r\n name: 'LearnerEndOfYear',\r\n component: (): Promise => import('@/modules/ees/pages/learner-end-of-year/LearnerEndOfYear.vue'),\r\n meta: {\r\n isSecure: true,\r\n }\r\n },\r\n {\r\n path: '/learner/LearnerArchives/:learnerId',\r\n name: 'LearnerArchives',\r\n component: (): Promise => import('@/modules/ees/pages/learner-archives/LearnerArchives.vue'),\r\n meta: {\r\n isSecure: true,\r\n }\r\n },\r\n {\r\n path: '/learner/:learnerId/activity/:activityId',\r\n name: 'LearnerActivity',\r\n component: (): Promise => import('@/modules/ees/pages/activity/ActivityPage.vue'),\r\n meta: {\r\n isSecure: true,\r\n }\r\n },\r\n {\r\n path: '/learner/artifacts/:learnerId',\r\n name: 'LearnerArtifacts',\r\n component: (): Promise => import('@/modules/ees/pages/learner-artifacts/LearnerArtifacts.vue'),\r\n meta: {\r\n isSecure: true,\r\n }\r\n },{\r\n path: '/missing-rubric',\r\n name: 'MissingRubric',\r\n component: (): Promise => import('@/modules/ees/pages/missing-rubric/MissingRubric.vue'),\r\n meta: {\r\n isSecure: true,\r\n }\r\n },\r\n {\r\n path: '/view/rubrics',\r\n name: 'ViewRubrics',\r\n component: (): Promise => import('@/modules/ees/pages/view/rubrics/List.vue'),\r\n meta: {\r\n isSecure: true,\r\n }\r\n },\r\n {\r\n path: '/walkthroughs',\r\n name: 'Walkthroughs',\r\n component: (): Promise => import('@/modules/ees/pages/walkthroughs/List.vue'),\r\n meta: {\r\n isSecure: true,\r\n }\r\n },\r\n {\r\n path: '/view/rubric',\r\n name: 'ViewRubric',\r\n component: (): Promise => import('@/modules/ees/pages/view/rubrics/Home.vue'),\r\n meta: {\r\n isSecure: true,\r\n },\r\n children: [\r\n {\r\n name: 'ViewRubricVersions',\r\n path: ':rid(\\\\d+)/versions',\r\n component: (): Promise => import('@/modules/ees/pages/view/rubrics/versions/List.vue'),\r\n meta: {\r\n isSecure: true,\r\n }\r\n },\r\n {\r\n name: 'ViewRubricVersion',\r\n path: ':rid(\\\\d+)/version/:vid/edit',\r\n component: (): Promise => import('@/modules/ees/pages/view/rubrics/RubricVersion.vue'),\r\n meta: {\r\n isSecure: true,\r\n },\r\n props: {\r\n mode: 'edit'\r\n }\r\n }\r\n ]\r\n },\r\n ...AdminRoutes,\r\n ...LeaAdminRoutes\r\n];\r\n\r\nexport default routes\r\n","import Vue from 'vue';\r\nimport Router from 'vue-router';\r\nimport Index from '@/pages/Index.vue';\r\nimport AuthServiceStore from '@/modules/ees/store/AuthServiceStore';\r\nimport EesRoutes from '@/modules/ees/router';\r\nimport UserStore from '@/modules/ees/store/UserStore';\r\n\r\nVue.use(Router);\r\n\r\nconst router = new Router({\r\n mode: 'hash',\r\n base: process.env.BASE_URL,\r\n routes: [\r\n {\r\n path: '/',\r\n name: 'Index',\r\n component: Index\r\n },\r\n ...EesRoutes\r\n ]\r\n});\r\n\r\nrouter.beforeEach((to, from, next) => {\r\n //console.log(to, from)\r\n\r\n if(from.path.includes(\"/learner/\") && !to.path.includes(\"/learner/\")) {\r\n UserStore.actions.setContextUserId(UserStore.state.UserId);\r\n }\r\n\r\n if(to.path.includes(\"/learner/\")) {\r\n UserStore.actions.setContextUserId(to.params.learnerId);\r\n }\r\n\r\n window.scrollTo(0, 0)\r\n \r\n if (to.matched.some(record => record.meta.isSecure)) {\r\n // this route requires auth, check if logged in\r\n // if not, redirect to login page.\r\n AuthServiceStore.getters.isLoggedIn().then((isLoggedIn: boolean) => {\r\n if (isLoggedIn) {\r\n next();\r\n } else {\r\n next({\r\n path: '/',\r\n query: { redirect: to.fullPath }\r\n });\r\n }\r\n });\r\n } else {\r\n next();\r\n }\r\n});\r\n\r\nexport default router\r\n","/* tslint:disable */\r\n/* eslint-disable */\r\n//----------------------\r\n// \r\n// Generated using the NSwag toolchain v13.11.3.0 (NJsonSchema v10.4.4.0 (Newtonsoft.Json v12.0.0.0)) (http://NSwag.org)\r\n// \r\n//----------------------\r\n// ReSharper disable InconsistentNaming\r\n\r\nimport axios, { AxiosError, AxiosInstance, AxiosRequestConfig, AxiosResponse, CancelToken } from 'axios';\r\n\r\nexport class ActivityService {\r\n private instance: AxiosInstance;\r\n private baseUrl: string;\r\n protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined;\r\n\r\n constructor(baseUrl?: string, instance?: AxiosInstance) {\r\n this.instance = instance ? instance : axios.create();\r\n this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : \"\";\r\n }\r\n\r\n get(id: string , cancelToken?: CancelToken | undefined): Promise {\r\n let url_ = this.baseUrl + \"/Activity/{id}\";\r\n if (id === undefined || id === null)\r\n throw new Error(\"The parameter 'id' must be defined.\");\r\n url_ = url_.replace(\"{id}\", encodeURIComponent(\"\" + id));\r\n url_ = url_.replace(/[?&]$/, \"\");\r\n\r\n let options_ = {\r\n method: \"GET\",\r\n url: url_,\r\n headers: {\r\n \"Accept\": \"application/json\"\r\n },\r\n cancelToken\r\n };\r\n\r\n return this.instance.request(options_).catch((_error: any) => {\r\n if (isAxiosError(_error) && _error.response) {\r\n return _error.response;\r\n } else {\r\n throw _error;\r\n }\r\n }).then((_response: AxiosResponse) => {\r\n return this.processGet(_response);\r\n });\r\n }\r\n\r\n protected processGet(response: AxiosResponse): Promise {\r\n const status = response.status;\r\n let _headers: any = {};\r\n if (response.headers && typeof response.headers === \"object\") {\r\n for (let k in response.headers) {\r\n if (response.headers.hasOwnProperty(k)) {\r\n _headers[k] = response.headers[k];\r\n }\r\n }\r\n }\r\n let _mappings: { source: any, target: any }[] = [];\r\n if (status === 200) {\r\n const _responseText = response.data;\r\n let result200: any = null;\r\n let resultData200 = _responseText;\r\n result200 = ActivityDTO.fromJS(resultData200, _mappings);\r\n return result200;\r\n } else if (status !== 200 && status !== 204) {\r\n const _responseText = response.data;\r\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\r\n }\r\n return Promise.resolve(null);\r\n }\r\n\r\n update(id: string, command: UpdateActivityCommand , cancelToken?: CancelToken | undefined): Promise {\r\n let url_ = this.baseUrl + \"/Activity/{id}\";\r\n if (id === undefined || id === null)\r\n throw new Error(\"The parameter 'id' must be defined.\");\r\n url_ = url_.replace(\"{id}\", encodeURIComponent(\"\" + id));\r\n url_ = url_.replace(/[?&]$/, \"\");\r\n\r\n const content_ = JSON.stringify(command);\r\n\r\n let options_ = {\r\n data: content_,\r\n responseType: \"blob\",\r\n method: \"PUT\",\r\n url: url_,\r\n headers: {\r\n \"Content-Type\": \"application/json\",\r\n \"Accept\": \"application/octet-stream\"\r\n },\r\n cancelToken\r\n };\r\n\r\n return this.instance.request(options_).catch((_error: any) => {\r\n if (isAxiosError(_error) && _error.response) {\r\n return _error.response;\r\n } else {\r\n throw _error;\r\n }\r\n }).then((_response: AxiosResponse) => {\r\n return this.processUpdate(_response);\r\n });\r\n }\r\n\r\n protected processUpdate(response: AxiosResponse): Promise {\r\n const status = response.status;\r\n let _headers: any = {};\r\n if (response.headers && typeof response.headers === \"object\") {\r\n for (let k in response.headers) {\r\n if (response.headers.hasOwnProperty(k)) {\r\n _headers[k] = response.headers[k];\r\n }\r\n }\r\n }\r\n if (status === 200 || status === 206) {\r\n const contentDisposition = response.headers ? response.headers[\"content-disposition\"] : undefined;\r\n const fileNameMatch = contentDisposition ? /filename=\"?([^\"]*?)\"?(;|$)/g.exec(contentDisposition) : undefined;\r\n const fileName = fileNameMatch && fileNameMatch.length > 1 ? fileNameMatch[1] : undefined;\r\n return Promise.resolve({ fileName: fileName, status: status, data: response.data as Blob, headers: _headers });\r\n } else if (status !== 200 && status !== 204) {\r\n const _responseText = response.data;\r\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\r\n }\r\n return Promise.resolve(null);\r\n }\r\n\r\n delete(id: string , cancelToken?: CancelToken | undefined): Promise {\r\n let url_ = this.baseUrl + \"/Activity/{id}\";\r\n if (id === undefined || id === null)\r\n throw new Error(\"The parameter 'id' must be defined.\");\r\n url_ = url_.replace(\"{id}\", encodeURIComponent(\"\" + id));\r\n url_ = url_.replace(/[?&]$/, \"\");\r\n\r\n let options_ = {\r\n responseType: \"blob\",\r\n method: \"DELETE\",\r\n url: url_,\r\n headers: {\r\n \"Accept\": \"application/octet-stream\"\r\n },\r\n cancelToken\r\n };\r\n\r\n return this.instance.request(options_).catch((_error: any) => {\r\n if (isAxiosError(_error) && _error.response) {\r\n return _error.response;\r\n } else {\r\n throw _error;\r\n }\r\n }).then((_response: AxiosResponse) => {\r\n return this.processDelete(_response);\r\n });\r\n }\r\n\r\n protected processDelete(response: AxiosResponse): Promise {\r\n const status = response.status;\r\n let _headers: any = {};\r\n if (response.headers && typeof response.headers === \"object\") {\r\n for (let k in response.headers) {\r\n if (response.headers.hasOwnProperty(k)) {\r\n _headers[k] = response.headers[k];\r\n }\r\n }\r\n }\r\n if (status === 200 || status === 206) {\r\n const contentDisposition = response.headers ? response.headers[\"content-disposition\"] : undefined;\r\n const fileNameMatch = contentDisposition ? /filename=\"?([^\"]*?)\"?(;|$)/g.exec(contentDisposition) : undefined;\r\n const fileName = fileNameMatch && fileNameMatch.length > 1 ? fileNameMatch[1] : undefined;\r\n return Promise.resolve({ fileName: fileName, status: status, data: response.data as Blob, headers: _headers });\r\n } else if (status !== 200 && status !== 204) {\r\n const _responseText = response.data;\r\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\r\n }\r\n return Promise.resolve(null);\r\n }\r\n\r\n updateCollaborators(request: UpdateActivityCollaboratorsCommand , cancelToken?: CancelToken | undefined): Promise {\r\n let url_ = this.baseUrl + \"/Activity/collaborators\";\r\n url_ = url_.replace(/[?&]$/, \"\");\r\n\r\n const content_ = JSON.stringify(request);\r\n\r\n let options_ = {\r\n data: content_,\r\n method: \"POST\",\r\n url: url_,\r\n headers: {\r\n \"Content-Type\": \"application/json\",\r\n \"Accept\": \"application/json\"\r\n },\r\n cancelToken\r\n };\r\n\r\n return this.instance.request(options_).catch((_error: any) => {\r\n if (isAxiosError(_error) && _error.response) {\r\n return _error.response;\r\n } else {\r\n throw _error;\r\n }\r\n }).then((_response: AxiosResponse) => {\r\n return this.processUpdateCollaborators(_response);\r\n });\r\n }\r\n\r\n protected processUpdateCollaborators(response: AxiosResponse): Promise {\r\n const status = response.status;\r\n let _headers: any = {};\r\n if (response.headers && typeof response.headers === \"object\") {\r\n for (let k in response.headers) {\r\n if (response.headers.hasOwnProperty(k)) {\r\n _headers[k] = response.headers[k];\r\n }\r\n }\r\n }\r\n let _mappings: { source: any, target: any }[] = [];\r\n if (status === 200) {\r\n const _responseText = response.data;\r\n let result200: any = null;\r\n let resultData200 = _responseText;\r\n if (Array.isArray(resultData200)) {\r\n result200 = [] as any;\r\n for (let item of resultData200)\r\n result200!.push(ActivityCollaboratorDTO.fromJS(item, _mappings) as ActivityCollaboratorDTO);\r\n }\r\n else {\r\n result200 = null;\r\n }\r\n return result200;\r\n } else if (status !== 200 && status !== 204) {\r\n const _responseText = response.data;\r\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\r\n }\r\n return Promise.resolve(null);\r\n }\r\n\r\n create(command: CreateActivityCommand , cancelToken?: CancelToken | undefined): Promise {\r\n let url_ = this.baseUrl + \"/Activity\";\r\n url_ = url_.replace(/[?&]$/, \"\");\r\n\r\n const content_ = JSON.stringify(command);\r\n\r\n let options_ = {\r\n data: content_,\r\n method: \"POST\",\r\n url: url_,\r\n headers: {\r\n \"Content-Type\": \"application/json\",\r\n \"Accept\": \"application/json\"\r\n },\r\n cancelToken\r\n };\r\n\r\n return this.instance.request(options_).catch((_error: any) => {\r\n if (isAxiosError(_error) && _error.response) {\r\n return _error.response;\r\n } else {\r\n throw _error;\r\n }\r\n }).then((_response: AxiosResponse) => {\r\n return this.processCreate(_response);\r\n });\r\n }\r\n\r\n protected processCreate(response: AxiosResponse): Promise {\r\n const status = response.status;\r\n let _headers: any = {};\r\n if (response.headers && typeof response.headers === \"object\") {\r\n for (let k in response.headers) {\r\n if (response.headers.hasOwnProperty(k)) {\r\n _headers[k] = response.headers[k];\r\n }\r\n }\r\n }\r\n if (status === 200) {\r\n const _responseText = response.data;\r\n let result200: any = null;\r\n let resultData200 = _responseText;\r\n result200 = resultData200 !== undefined ? resultData200 : null;\r\n return result200;\r\n } else if (status !== 200 && status !== 204) {\r\n const _responseText = response.data;\r\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\r\n }\r\n return Promise.resolve(null);\r\n }\r\n\r\n createBulkSchedule(command: CreateBulkActivitiesCommand , cancelToken?: CancelToken | undefined): Promise {\r\n let url_ = this.baseUrl + \"/Activity/bulk\";\r\n url_ = url_.replace(/[?&]$/, \"\");\r\n\r\n const content_ = JSON.stringify(command);\r\n\r\n let options_ = {\r\n data: content_,\r\n method: \"POST\",\r\n url: url_,\r\n headers: {\r\n \"Content-Type\": \"application/json\",\r\n \"Accept\": \"application/json\"\r\n },\r\n cancelToken\r\n };\r\n\r\n return this.instance.request(options_).catch((_error: any) => {\r\n if (isAxiosError(_error) && _error.response) {\r\n return _error.response;\r\n } else {\r\n throw _error;\r\n }\r\n }).then((_response: AxiosResponse) => {\r\n return this.processCreateBulkSchedule(_response);\r\n });\r\n }\r\n\r\n protected processCreateBulkSchedule(response: AxiosResponse): Promise {\r\n const status = response.status;\r\n let _headers: any = {};\r\n if (response.headers && typeof response.headers === \"object\") {\r\n for (let k in response.headers) {\r\n if (response.headers.hasOwnProperty(k)) {\r\n _headers[k] = response.headers[k];\r\n }\r\n }\r\n }\r\n if (status === 200) {\r\n const _responseText = response.data;\r\n let result200: any = null;\r\n let resultData200 = _responseText;\r\n if (Array.isArray(resultData200)) {\r\n result200 = [] as any;\r\n for (let item of resultData200)\r\n result200!.push(item);\r\n }\r\n else {\r\n result200 = null;\r\n }\r\n return result200;\r\n } else if (status !== 200 && status !== 204) {\r\n const _responseText = response.data;\r\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\r\n }\r\n return Promise.resolve(null);\r\n }\r\n\r\n completeActivity(id: string , cancelToken?: CancelToken | undefined): Promise {\r\n let url_ = this.baseUrl + \"/Activity/CompleteActivity/{id}\";\r\n if (id === undefined || id === null)\r\n throw new Error(\"The parameter 'id' must be defined.\");\r\n url_ = url_.replace(\"{id}\", encodeURIComponent(\"\" + id));\r\n url_ = url_.replace(/[?&]$/, \"\");\r\n\r\n let options_ = {\r\n method: \"POST\",\r\n url: url_,\r\n headers: {\r\n \"Accept\": \"application/json\"\r\n },\r\n cancelToken\r\n };\r\n\r\n return this.instance.request(options_).catch((_error: any) => {\r\n if (isAxiosError(_error) && _error.response) {\r\n return _error.response;\r\n } else {\r\n throw _error;\r\n }\r\n }).then((_response: AxiosResponse) => {\r\n return this.processCompleteActivity(_response);\r\n });\r\n }\r\n\r\n protected processCompleteActivity(response: AxiosResponse): Promise {\r\n const status = response.status;\r\n let _headers: any = {};\r\n if (response.headers && typeof response.headers === \"object\") {\r\n for (let k in response.headers) {\r\n if (response.headers.hasOwnProperty(k)) {\r\n _headers[k] = response.headers[k];\r\n }\r\n }\r\n }\r\n if (status === 200) {\r\n const _responseText = response.data;\r\n let result200: any = null;\r\n let resultData200 = _responseText;\r\n result200 = resultData200 !== undefined ? resultData200 : null;\r\n return result200;\r\n } else if (status !== 200 && status !== 204) {\r\n const _responseText = response.data;\r\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\r\n }\r\n return Promise.resolve(null);\r\n }\r\n\r\n makeActive(id: string , cancelToken?: CancelToken | undefined): Promise {\r\n let url_ = this.baseUrl + \"/Activity/MakeActive/{id}\";\r\n if (id === undefined || id === null)\r\n throw new Error(\"The parameter 'id' must be defined.\");\r\n url_ = url_.replace(\"{id}\", encodeURIComponent(\"\" + id));\r\n url_ = url_.replace(/[?&]$/, \"\");\r\n\r\n let options_ = {\r\n method: \"POST\",\r\n url: url_,\r\n headers: {\r\n \"Accept\": \"application/json\"\r\n },\r\n cancelToken\r\n };\r\n\r\n return this.instance.request(options_).catch((_error: any) => {\r\n if (isAxiosError(_error) && _error.response) {\r\n return _error.response;\r\n } else {\r\n throw _error;\r\n }\r\n }).then((_response: AxiosResponse) => {\r\n return this.processMakeActive(_response);\r\n });\r\n }\r\n\r\n protected processMakeActive(response: AxiosResponse): Promise {\r\n const status = response.status;\r\n let _headers: any = {};\r\n if (response.headers && typeof response.headers === \"object\") {\r\n for (let k in response.headers) {\r\n if (response.headers.hasOwnProperty(k)) {\r\n _headers[k] = response.headers[k];\r\n }\r\n }\r\n }\r\n if (status === 200) {\r\n const _responseText = response.data;\r\n let result200: any = null;\r\n let resultData200 = _responseText;\r\n result200 = resultData200 !== undefined ? resultData200 : null;\r\n return result200;\r\n } else if (status !== 200 && status !== 204) {\r\n const _responseText = response.data;\r\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\r\n }\r\n return Promise.resolve(null);\r\n }\r\n\r\n makePublicActivity(id: string , cancelToken?: CancelToken | undefined): Promise {\r\n let url_ = this.baseUrl + \"/Activity/MakePublicActivity/{id}\";\r\n if (id === undefined || id === null)\r\n throw new Error(\"The parameter 'id' must be defined.\");\r\n url_ = url_.replace(\"{id}\", encodeURIComponent(\"\" + id));\r\n url_ = url_.replace(/[?&]$/, \"\");\r\n\r\n let options_ = {\r\n method: \"POST\",\r\n url: url_,\r\n headers: {\r\n \"Accept\": \"application/json\"\r\n },\r\n cancelToken\r\n };\r\n\r\n return this.instance.request(options_).catch((_error: any) => {\r\n if (isAxiosError(_error) && _error.response) {\r\n return _error.response;\r\n } else {\r\n throw _error;\r\n }\r\n }).then((_response: AxiosResponse) => {\r\n return this.processMakePublicActivity(_response);\r\n });\r\n }\r\n\r\n protected processMakePublicActivity(response: AxiosResponse): Promise {\r\n const status = response.status;\r\n let _headers: any = {};\r\n if (response.headers && typeof response.headers === \"object\") {\r\n for (let k in response.headers) {\r\n if (response.headers.hasOwnProperty(k)) {\r\n _headers[k] = response.headers[k];\r\n }\r\n }\r\n }\r\n if (status === 200) {\r\n const _responseText = response.data;\r\n let result200: any = null;\r\n let resultData200 = _responseText;\r\n result200 = resultData200 !== undefined ? resultData200 : null;\r\n return result200;\r\n } else if (status !== 200 && status !== 204) {\r\n const _responseText = response.data;\r\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\r\n }\r\n return Promise.resolve(null);\r\n }\r\n\r\n getScheduledAcitivities(schoolLea: string | null , cancelToken?: CancelToken | undefined): Promise {\r\n let url_ = this.baseUrl + \"/Activity/scheduled/{schoolLea}\";\r\n if (schoolLea === undefined || schoolLea === null)\r\n throw new Error(\"The parameter 'schoolLea' must be defined.\");\r\n url_ = url_.replace(\"{schoolLea}\", encodeURIComponent(\"\" + schoolLea));\r\n url_ = url_.replace(/[?&]$/, \"\");\r\n\r\n let options_ = {\r\n method: \"GET\",\r\n url: url_,\r\n headers: {\r\n \"Accept\": \"application/json\"\r\n },\r\n cancelToken\r\n };\r\n\r\n return this.instance.request(options_).catch((_error: any) => {\r\n if (isAxiosError(_error) && _error.response) {\r\n return _error.response;\r\n } else {\r\n throw _error;\r\n }\r\n }).then((_response: AxiosResponse) => {\r\n return this.processGetScheduledAcitivities(_response);\r\n });\r\n }\r\n\r\n protected processGetScheduledAcitivities(response: AxiosResponse): Promise {\r\n const status = response.status;\r\n let _headers: any = {};\r\n if (response.headers && typeof response.headers === \"object\") {\r\n for (let k in response.headers) {\r\n if (response.headers.hasOwnProperty(k)) {\r\n _headers[k] = response.headers[k];\r\n }\r\n }\r\n }\r\n let _mappings: { source: any, target: any }[] = [];\r\n if (status === 200) {\r\n const _responseText = response.data;\r\n let result200: any = null;\r\n let resultData200 = _responseText;\r\n if (Array.isArray(resultData200)) {\r\n result200 = [] as any;\r\n for (let item of resultData200)\r\n result200!.push(LearnerScheduledActivityDto.fromJS(item, _mappings) as LearnerScheduledActivityDto);\r\n }\r\n else {\r\n result200 = null;\r\n }\r\n return result200;\r\n } else if (status !== 200 && status !== 204) {\r\n const _responseText = response.data;\r\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\r\n }\r\n return Promise.resolve(null);\r\n }\r\n}\r\n\r\nexport class ActivityEvidenceService {\r\n private instance: AxiosInstance;\r\n private baseUrl: string;\r\n protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined;\r\n\r\n constructor(baseUrl?: string, instance?: AxiosInstance) {\r\n this.instance = instance ? instance : axios.create();\r\n this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : \"\";\r\n }\r\n\r\n get(id: number , cancelToken?: CancelToken | undefined): Promise {\r\n let url_ = this.baseUrl + \"/ActivityEvidence/{id}\";\r\n if (id === undefined || id === null)\r\n throw new Error(\"The parameter 'id' must be defined.\");\r\n url_ = url_.replace(\"{id}\", encodeURIComponent(\"\" + id));\r\n url_ = url_.replace(/[?&]$/, \"\");\r\n\r\n let options_ = {\r\n method: \"GET\",\r\n url: url_,\r\n headers: {\r\n \"Accept\": \"application/json\"\r\n },\r\n cancelToken\r\n };\r\n\r\n return this.instance.request(options_).catch((_error: any) => {\r\n if (isAxiosError(_error) && _error.response) {\r\n return _error.response;\r\n } else {\r\n throw _error;\r\n }\r\n }).then((_response: AxiosResponse) => {\r\n return this.processGet(_response);\r\n });\r\n }\r\n\r\n protected processGet(response: AxiosResponse): Promise {\r\n const status = response.status;\r\n let _headers: any = {};\r\n if (response.headers && typeof response.headers === \"object\") {\r\n for (let k in response.headers) {\r\n if (response.headers.hasOwnProperty(k)) {\r\n _headers[k] = response.headers[k];\r\n }\r\n }\r\n }\r\n let _mappings: { source: any, target: any }[] = [];\r\n if (status === 200) {\r\n const _responseText = response.data;\r\n let result200: any = null;\r\n let resultData200 = _responseText;\r\n result200 = ActivityEvidenceDTO.fromJS(resultData200, _mappings);\r\n return result200;\r\n } else if (status !== 200 && status !== 204) {\r\n const _responseText = response.data;\r\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\r\n }\r\n return Promise.resolve(null);\r\n }\r\n\r\n update(id: number, command: UpdateActivityEvidenceCommand , cancelToken?: CancelToken | undefined): Promise {\r\n let url_ = this.baseUrl + \"/ActivityEvidence/{id}\";\r\n if (id === undefined || id === null)\r\n throw new Error(\"The parameter 'id' must be defined.\");\r\n url_ = url_.replace(\"{id}\", encodeURIComponent(\"\" + id));\r\n url_ = url_.replace(/[?&]$/, \"\");\r\n\r\n const content_ = JSON.stringify(command);\r\n\r\n let options_ = {\r\n data: content_,\r\n responseType: \"blob\",\r\n method: \"PUT\",\r\n url: url_,\r\n headers: {\r\n \"Content-Type\": \"application/json\",\r\n \"Accept\": \"application/octet-stream\"\r\n },\r\n cancelToken\r\n };\r\n\r\n return this.instance.request(options_).catch((_error: any) => {\r\n if (isAxiosError(_error) && _error.response) {\r\n return _error.response;\r\n } else {\r\n throw _error;\r\n }\r\n }).then((_response: AxiosResponse) => {\r\n return this.processUpdate(_response);\r\n });\r\n }\r\n\r\n protected processUpdate(response: AxiosResponse): Promise {\r\n const status = response.status;\r\n let _headers: any = {};\r\n if (response.headers && typeof response.headers === \"object\") {\r\n for (let k in response.headers) {\r\n if (response.headers.hasOwnProperty(k)) {\r\n _headers[k] = response.headers[k];\r\n }\r\n }\r\n }\r\n if (status === 200 || status === 206) {\r\n const contentDisposition = response.headers ? response.headers[\"content-disposition\"] : undefined;\r\n const fileNameMatch = contentDisposition ? /filename=\"?([^\"]*?)\"?(;|$)/g.exec(contentDisposition) : undefined;\r\n const fileName = fileNameMatch && fileNameMatch.length > 1 ? fileNameMatch[1] : undefined;\r\n return Promise.resolve({ fileName: fileName, status: status, data: response.data as Blob, headers: _headers });\r\n } else if (status !== 200 && status !== 204) {\r\n const _responseText = response.data;\r\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\r\n }\r\n return Promise.resolve(null);\r\n }\r\n\r\n delete(id: number , cancelToken?: CancelToken | undefined): Promise {\r\n let url_ = this.baseUrl + \"/ActivityEvidence/{id}\";\r\n if (id === undefined || id === null)\r\n throw new Error(\"The parameter 'id' must be defined.\");\r\n url_ = url_.replace(\"{id}\", encodeURIComponent(\"\" + id));\r\n url_ = url_.replace(/[?&]$/, \"\");\r\n\r\n let options_ = {\r\n responseType: \"blob\",\r\n method: \"DELETE\",\r\n url: url_,\r\n headers: {\r\n \"Accept\": \"application/octet-stream\"\r\n },\r\n cancelToken\r\n };\r\n\r\n return this.instance.request(options_).catch((_error: any) => {\r\n if (isAxiosError(_error) && _error.response) {\r\n return _error.response;\r\n } else {\r\n throw _error;\r\n }\r\n }).then((_response: AxiosResponse) => {\r\n return this.processDelete(_response);\r\n });\r\n }\r\n\r\n protected processDelete(response: AxiosResponse): Promise {\r\n const status = response.status;\r\n let _headers: any = {};\r\n if (response.headers && typeof response.headers === \"object\") {\r\n for (let k in response.headers) {\r\n if (response.headers.hasOwnProperty(k)) {\r\n _headers[k] = response.headers[k];\r\n }\r\n }\r\n }\r\n if (status === 200 || status === 206) {\r\n const contentDisposition = response.headers ? response.headers[\"content-disposition\"] : undefined;\r\n const fileNameMatch = contentDisposition ? /filename=\"?([^\"]*?)\"?(;|$)/g.exec(contentDisposition) : undefined;\r\n const fileName = fileNameMatch && fileNameMatch.length > 1 ? fileNameMatch[1] : undefined;\r\n return Promise.resolve({ fileName: fileName, status: status, data: response.data as Blob, headers: _headers });\r\n } else if (status !== 200 && status !== 204) {\r\n const _responseText = response.data;\r\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\r\n }\r\n return Promise.resolve(null);\r\n }\r\n\r\n getAvtivityActivityEvidence(id: string , cancelToken?: CancelToken | undefined): Promise {\r\n let url_ = this.baseUrl + \"/ActivityEvidence/GetAvtivityActivityEvidence/{id}\";\r\n if (id === undefined || id === null)\r\n throw new Error(\"The parameter 'id' must be defined.\");\r\n url_ = url_.replace(\"{id}\", encodeURIComponent(\"\" + id));\r\n url_ = url_.replace(/[?&]$/, \"\");\r\n\r\n let options_ = {\r\n method: \"GET\",\r\n url: url_,\r\n headers: {\r\n \"Accept\": \"application/json\"\r\n },\r\n cancelToken\r\n };\r\n\r\n return this.instance.request(options_).catch((_error: any) => {\r\n if (isAxiosError(_error) && _error.response) {\r\n return _error.response;\r\n } else {\r\n throw _error;\r\n }\r\n }).then((_response: AxiosResponse) => {\r\n return this.processGetAvtivityActivityEvidence(_response);\r\n });\r\n }\r\n\r\n protected processGetAvtivityActivityEvidence(response: AxiosResponse): Promise {\r\n const status = response.status;\r\n let _headers: any = {};\r\n if (response.headers && typeof response.headers === \"object\") {\r\n for (let k in response.headers) {\r\n if (response.headers.hasOwnProperty(k)) {\r\n _headers[k] = response.headers[k];\r\n }\r\n }\r\n }\r\n let _mappings: { source: any, target: any }[] = [];\r\n if (status === 200) {\r\n const _responseText = response.data;\r\n let result200: any = null;\r\n let resultData200 = _responseText;\r\n if (Array.isArray(resultData200)) {\r\n result200 = [] as any;\r\n for (let item of resultData200)\r\n result200!.push(ActivityEvidenceDTO.fromJS(item, _mappings) as ActivityEvidenceDTO);\r\n }\r\n else {\r\n result200 = null;\r\n }\r\n return result200;\r\n } else if (status !== 200 && status !== 204) {\r\n const _responseText = response.data;\r\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\r\n }\r\n return Promise.resolve(null);\r\n }\r\n\r\n getAvtivityRatingComponentEvidence(id: string , cancelToken?: CancelToken | undefined): Promise {\r\n let url_ = this.baseUrl + \"/ActivityEvidence/GetAvtivityRatingComponentEvidence/{id}\";\r\n if (id === undefined || id === null)\r\n throw new Error(\"The parameter 'id' must be defined.\");\r\n url_ = url_.replace(\"{id}\", encodeURIComponent(\"\" + id));\r\n url_ = url_.replace(/[?&]$/, \"\");\r\n\r\n let options_ = {\r\n method: \"GET\",\r\n url: url_,\r\n headers: {\r\n \"Accept\": \"application/json\"\r\n },\r\n cancelToken\r\n };\r\n\r\n return this.instance.request(options_).catch((_error: any) => {\r\n if (isAxiosError(_error) && _error.response) {\r\n return _error.response;\r\n } else {\r\n throw _error;\r\n }\r\n }).then((_response: AxiosResponse) => {\r\n return this.processGetAvtivityRatingComponentEvidence(_response);\r\n });\r\n }\r\n\r\n protected processGetAvtivityRatingComponentEvidence(response: AxiosResponse): Promise {\r\n const status = response.status;\r\n let _headers: any = {};\r\n if (response.headers && typeof response.headers === \"object\") {\r\n for (let k in response.headers) {\r\n if (response.headers.hasOwnProperty(k)) {\r\n _headers[k] = response.headers[k];\r\n }\r\n }\r\n }\r\n let _mappings: { source: any, target: any }[] = [];\r\n if (status === 200) {\r\n const _responseText = response.data;\r\n let result200: any = null;\r\n let resultData200 = _responseText;\r\n if (Array.isArray(resultData200)) {\r\n result200 = [] as any;\r\n for (let item of resultData200)\r\n result200!.push(ActivityRatingComponentEvidenceDTO.fromJS(item, _mappings) as ActivityRatingComponentEvidenceDTO);\r\n }\r\n else {\r\n result200 = null;\r\n }\r\n return result200;\r\n } else if (status !== 200 && status !== 204) {\r\n const _responseText = response.data;\r\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\r\n }\r\n return Promise.resolve(null);\r\n }\r\n\r\n create(command: CreateActivityEvidenceCommand , cancelToken?: CancelToken | undefined): Promise {\r\n let url_ = this.baseUrl + \"/ActivityEvidence\";\r\n url_ = url_.replace(/[?&]$/, \"\");\r\n\r\n const content_ = JSON.stringify(command);\r\n\r\n let options_ = {\r\n data: content_,\r\n method: \"POST\",\r\n url: url_,\r\n headers: {\r\n \"Content-Type\": \"application/json\",\r\n \"Accept\": \"application/json\"\r\n },\r\n cancelToken\r\n };\r\n\r\n return this.instance.request(options_).catch((_error: any) => {\r\n if (isAxiosError(_error) && _error.response) {\r\n return _error.response;\r\n } else {\r\n throw _error;\r\n }\r\n }).then((_response: AxiosResponse) => {\r\n return this.processCreate(_response);\r\n });\r\n }\r\n\r\n protected processCreate(response: AxiosResponse): Promise {\r\n const status = response.status;\r\n let _headers: any = {};\r\n if (response.headers && typeof response.headers === \"object\") {\r\n for (let k in response.headers) {\r\n if (response.headers.hasOwnProperty(k)) {\r\n _headers[k] = response.headers[k];\r\n }\r\n }\r\n }\r\n if (status === 200) {\r\n const _responseText = response.data;\r\n let result200: any = null;\r\n let resultData200 = _responseText;\r\n result200 = resultData200 !== undefined ? resultData200 : null;\r\n return result200;\r\n } else if (status !== 200 && status !== 204) {\r\n const _responseText = response.data;\r\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\r\n }\r\n return Promise.resolve(null);\r\n }\r\n}\r\n\r\nexport class ActivityStepService {\r\n private instance: AxiosInstance;\r\n private baseUrl: string;\r\n protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined;\r\n\r\n constructor(baseUrl?: string, instance?: AxiosInstance) {\r\n this.instance = instance ? instance : axios.create();\r\n this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : \"\";\r\n }\r\n\r\n get(id: number , cancelToken?: CancelToken | undefined): Promise {\r\n let url_ = this.baseUrl + \"/ActivityStep/{id}\";\r\n if (id === undefined || id === null)\r\n throw new Error(\"The parameter 'id' must be defined.\");\r\n url_ = url_.replace(\"{id}\", encodeURIComponent(\"\" + id));\r\n url_ = url_.replace(/[?&]$/, \"\");\r\n\r\n let options_ = {\r\n method: \"GET\",\r\n url: url_,\r\n headers: {\r\n \"Accept\": \"application/json\"\r\n },\r\n cancelToken\r\n };\r\n\r\n return this.instance.request(options_).catch((_error: any) => {\r\n if (isAxiosError(_error) && _error.response) {\r\n return _error.response;\r\n } else {\r\n throw _error;\r\n }\r\n }).then((_response: AxiosResponse) => {\r\n return this.processGet(_response);\r\n });\r\n }\r\n\r\n protected processGet(response: AxiosResponse): Promise {\r\n const status = response.status;\r\n let _headers: any = {};\r\n if (response.headers && typeof response.headers === \"object\") {\r\n for (let k in response.headers) {\r\n if (response.headers.hasOwnProperty(k)) {\r\n _headers[k] = response.headers[k];\r\n }\r\n }\r\n }\r\n let _mappings: { source: any, target: any }[] = [];\r\n if (status === 200) {\r\n const _responseText = response.data;\r\n let result200: any = null;\r\n let resultData200 = _responseText;\r\n result200 = ActivityStepDataDTO.fromJS(resultData200, _mappings);\r\n return result200;\r\n } else if (status !== 200 && status !== 204) {\r\n const _responseText = response.data;\r\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\r\n }\r\n return Promise.resolve(null);\r\n }\r\n\r\n update(id: number, command: UpdateActivityStepDataCommand , cancelToken?: CancelToken | undefined): Promise {\r\n let url_ = this.baseUrl + \"/ActivityStep/{id}\";\r\n if (id === undefined || id === null)\r\n throw new Error(\"The parameter 'id' must be defined.\");\r\n url_ = url_.replace(\"{id}\", encodeURIComponent(\"\" + id));\r\n url_ = url_.replace(/[?&]$/, \"\");\r\n\r\n const content_ = JSON.stringify(command);\r\n\r\n let options_ = {\r\n data: content_,\r\n responseType: \"blob\",\r\n method: \"PUT\",\r\n url: url_,\r\n headers: {\r\n \"Content-Type\": \"application/json\",\r\n \"Accept\": \"application/octet-stream\"\r\n },\r\n cancelToken\r\n };\r\n\r\n return this.instance.request(options_).catch((_error: any) => {\r\n if (isAxiosError(_error) && _error.response) {\r\n return _error.response;\r\n } else {\r\n throw _error;\r\n }\r\n }).then((_response: AxiosResponse) => {\r\n return this.processUpdate(_response);\r\n });\r\n }\r\n\r\n protected processUpdate(response: AxiosResponse): Promise {\r\n const status = response.status;\r\n let _headers: any = {};\r\n if (response.headers && typeof response.headers === \"object\") {\r\n for (let k in response.headers) {\r\n if (response.headers.hasOwnProperty(k)) {\r\n _headers[k] = response.headers[k];\r\n }\r\n }\r\n }\r\n if (status === 200 || status === 206) {\r\n const contentDisposition = response.headers ? response.headers[\"content-disposition\"] : undefined;\r\n const fileNameMatch = contentDisposition ? /filename=\"?([^\"]*?)\"?(;|$)/g.exec(contentDisposition) : undefined;\r\n const fileName = fileNameMatch && fileNameMatch.length > 1 ? fileNameMatch[1] : undefined;\r\n return Promise.resolve({ fileName: fileName, status: status, data: response.data as Blob, headers: _headers });\r\n } else if (status !== 200 && status !== 204) {\r\n const _responseText = response.data;\r\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\r\n }\r\n return Promise.resolve(null);\r\n }\r\n\r\n getActivityRatingComponentPrompt(id: string , cancelToken?: CancelToken | undefined): Promise {\r\n let url_ = this.baseUrl + \"/ActivityStep/GetActivityRatingComponentPrompt/{id}\";\r\n if (id === undefined || id === null)\r\n throw new Error(\"The parameter 'id' must be defined.\");\r\n url_ = url_.replace(\"{id}\", encodeURIComponent(\"\" + id));\r\n url_ = url_.replace(/[?&]$/, \"\");\r\n\r\n let options_ = {\r\n method: \"GET\",\r\n url: url_,\r\n headers: {\r\n \"Accept\": \"application/json\"\r\n },\r\n cancelToken\r\n };\r\n\r\n return this.instance.request(options_).catch((_error: any) => {\r\n if (isAxiosError(_error) && _error.response) {\r\n return _error.response;\r\n } else {\r\n throw _error;\r\n }\r\n }).then((_response: AxiosResponse) => {\r\n return this.processGetActivityRatingComponentPrompt(_response);\r\n });\r\n }\r\n\r\n protected processGetActivityRatingComponentPrompt(response: AxiosResponse): Promise {\r\n const status = response.status;\r\n let _headers: any = {};\r\n if (response.headers && typeof response.headers === \"object\") {\r\n for (let k in response.headers) {\r\n if (response.headers.hasOwnProperty(k)) {\r\n _headers[k] = response.headers[k];\r\n }\r\n }\r\n }\r\n let _mappings: { source: any, target: any }[] = [];\r\n if (status === 200) {\r\n const _responseText = response.data;\r\n let result200: any = null;\r\n let resultData200 = _responseText;\r\n if (Array.isArray(resultData200)) {\r\n result200 = [] as any;\r\n for (let item of resultData200)\r\n result200!.push(ActivityRatingComponentPromptDTO.fromJS(item, _mappings) as ActivityRatingComponentPromptDTO);\r\n }\r\n else {\r\n result200 = null;\r\n }\r\n return result200;\r\n } else if (status !== 200 && status !== 204) {\r\n const _responseText = response.data;\r\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\r\n }\r\n return Promise.resolve(null);\r\n }\r\n}\r\n\r\nexport class ActivityTypeService {\r\n private instance: AxiosInstance;\r\n private baseUrl: string;\r\n protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined;\r\n\r\n constructor(baseUrl?: string, instance?: AxiosInstance) {\r\n this.instance = instance ? instance : axios.create();\r\n this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : \"\";\r\n }\r\n\r\n getActivityTypes( cancelToken?: CancelToken | undefined): Promise {\r\n let url_ = this.baseUrl + \"/ActivityType/activity-types\";\r\n url_ = url_.replace(/[?&]$/, \"\");\r\n\r\n let options_ = {\r\n method: \"GET\",\r\n url: url_,\r\n headers: {\r\n \"Accept\": \"application/json\"\r\n },\r\n cancelToken\r\n };\r\n\r\n return this.instance.request(options_).catch((_error: any) => {\r\n if (isAxiosError(_error) && _error.response) {\r\n return _error.response;\r\n } else {\r\n throw _error;\r\n }\r\n }).then((_response: AxiosResponse) => {\r\n return this.processGetActivityTypes(_response);\r\n });\r\n }\r\n\r\n protected processGetActivityTypes(response: AxiosResponse): Promise {\r\n const status = response.status;\r\n let _headers: any = {};\r\n if (response.headers && typeof response.headers === \"object\") {\r\n for (let k in response.headers) {\r\n if (response.headers.hasOwnProperty(k)) {\r\n _headers[k] = response.headers[k];\r\n }\r\n }\r\n }\r\n let _mappings: { source: any, target: any }[] = [];\r\n if (status === 200) {\r\n const _responseText = response.data;\r\n let result200: any = null;\r\n let resultData200 = _responseText;\r\n if (Array.isArray(resultData200)) {\r\n result200 = [] as any;\r\n for (let item of resultData200)\r\n result200!.push(ActivityTypeDTO.fromJS(item, _mappings) as ActivityTypeDTO);\r\n }\r\n else {\r\n result200 = null;\r\n }\r\n return result200;\r\n } else if (status !== 200 && status !== 204) {\r\n const _responseText = response.data;\r\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\r\n }\r\n return Promise.resolve(null);\r\n }\r\n}\r\n\r\nexport class ArtifactService {\r\n private instance: AxiosInstance;\r\n private baseUrl: string;\r\n protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined;\r\n\r\n constructor(baseUrl?: string, instance?: AxiosInstance) {\r\n this.instance = instance ? instance : axios.create();\r\n this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : \"\";\r\n }\r\n\r\n get(id: number , cancelToken?: CancelToken | undefined): Promise {\r\n let url_ = this.baseUrl + \"/Artifact/{id}\";\r\n if (id === undefined || id === null)\r\n throw new Error(\"The parameter 'id' must be defined.\");\r\n url_ = url_.replace(\"{id}\", encodeURIComponent(\"\" + id));\r\n url_ = url_.replace(/[?&]$/, \"\");\r\n\r\n let options_ = {\r\n method: \"GET\",\r\n url: url_,\r\n headers: {\r\n \"Accept\": \"application/json\"\r\n },\r\n cancelToken\r\n };\r\n\r\n return this.instance.request(options_).catch((_error: any) => {\r\n if (isAxiosError(_error) && _error.response) {\r\n return _error.response;\r\n } else {\r\n throw _error;\r\n }\r\n }).then((_response: AxiosResponse) => {\r\n return this.processGet(_response);\r\n });\r\n }\r\n\r\n protected processGet(response: AxiosResponse): Promise {\r\n const status = response.status;\r\n let _headers: any = {};\r\n if (response.headers && typeof response.headers === \"object\") {\r\n for (let k in response.headers) {\r\n if (response.headers.hasOwnProperty(k)) {\r\n _headers[k] = response.headers[k];\r\n }\r\n }\r\n }\r\n let _mappings: { source: any, target: any }[] = [];\r\n if (status === 200) {\r\n const _responseText = response.data;\r\n let result200: any = null;\r\n let resultData200 = _responseText;\r\n result200 = ArtifactDTO.fromJS(resultData200, _mappings);\r\n return result200;\r\n } else if (status !== 200 && status !== 204) {\r\n const _responseText = response.data;\r\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\r\n }\r\n return Promise.resolve(null);\r\n }\r\n\r\n update(id: number, command: UpdateArtifactCommand , cancelToken?: CancelToken | undefined): Promise {\r\n let url_ = this.baseUrl + \"/Artifact/{id}\";\r\n if (id === undefined || id === null)\r\n throw new Error(\"The parameter 'id' must be defined.\");\r\n url_ = url_.replace(\"{id}\", encodeURIComponent(\"\" + id));\r\n url_ = url_.replace(/[?&]$/, \"\");\r\n\r\n const content_ = JSON.stringify(command);\r\n\r\n let options_ = {\r\n data: content_,\r\n method: \"PUT\",\r\n url: url_,\r\n headers: {\r\n \"Content-Type\": \"application/json\",\r\n \"Accept\": \"application/json\"\r\n },\r\n cancelToken\r\n };\r\n\r\n return this.instance.request(options_).catch((_error: any) => {\r\n if (isAxiosError(_error) && _error.response) {\r\n return _error.response;\r\n } else {\r\n throw _error;\r\n }\r\n }).then((_response: AxiosResponse) => {\r\n return this.processUpdate(_response);\r\n });\r\n }\r\n\r\n protected processUpdate(response: AxiosResponse): Promise {\r\n const status = response.status;\r\n let _headers: any = {};\r\n if (response.headers && typeof response.headers === \"object\") {\r\n for (let k in response.headers) {\r\n if (response.headers.hasOwnProperty(k)) {\r\n _headers[k] = response.headers[k];\r\n }\r\n }\r\n }\r\n let _mappings: { source: any, target: any }[] = [];\r\n if (status === 200) {\r\n const _responseText = response.data;\r\n let result200: any = null;\r\n let resultData200 = _responseText;\r\n result200 = ArtifactDTO.fromJS(resultData200, _mappings);\r\n return result200;\r\n } else if (status !== 200 && status !== 204) {\r\n const _responseText = response.data;\r\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\r\n }\r\n return Promise.resolve(null);\r\n }\r\n\r\n delete(id: number , cancelToken?: CancelToken | undefined): Promise {\r\n let url_ = this.baseUrl + \"/Artifact/{id}\";\r\n if (id === undefined || id === null)\r\n throw new Error(\"The parameter 'id' must be defined.\");\r\n url_ = url_.replace(\"{id}\", encodeURIComponent(\"\" + id));\r\n url_ = url_.replace(/[?&]$/, \"\");\r\n\r\n let options_ = {\r\n responseType: \"blob\",\r\n method: \"DELETE\",\r\n url: url_,\r\n headers: {\r\n \"Accept\": \"application/octet-stream\"\r\n },\r\n cancelToken\r\n };\r\n\r\n return this.instance.request(options_).catch((_error: any) => {\r\n if (isAxiosError(_error) && _error.response) {\r\n return _error.response;\r\n } else {\r\n throw _error;\r\n }\r\n }).then((_response: AxiosResponse) => {\r\n return this.processDelete(_response);\r\n });\r\n }\r\n\r\n protected processDelete(response: AxiosResponse): Promise {\r\n const status = response.status;\r\n let _headers: any = {};\r\n if (response.headers && typeof response.headers === \"object\") {\r\n for (let k in response.headers) {\r\n if (response.headers.hasOwnProperty(k)) {\r\n _headers[k] = response.headers[k];\r\n }\r\n }\r\n }\r\n if (status === 200 || status === 206) {\r\n const contentDisposition = response.headers ? response.headers[\"content-disposition\"] : undefined;\r\n const fileNameMatch = contentDisposition ? /filename=\"?([^\"]*?)\"?(;|$)/g.exec(contentDisposition) : undefined;\r\n const fileName = fileNameMatch && fileNameMatch.length > 1 ? fileNameMatch[1] : undefined;\r\n return Promise.resolve({ fileName: fileName, status: status, data: response.data as Blob, headers: _headers });\r\n } else if (status !== 200 && status !== 204) {\r\n const _responseText = response.data;\r\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\r\n }\r\n return Promise.resolve(null);\r\n }\r\n\r\n getLearnerArtifacts(learnerId: string , cancelToken?: CancelToken | undefined): Promise {\r\n let url_ = this.baseUrl + \"/Artifact/GetLearnerArtifacts/{learnerId}\";\r\n if (learnerId === undefined || learnerId === null)\r\n throw new Error(\"The parameter 'learnerId' must be defined.\");\r\n url_ = url_.replace(\"{learnerId}\", encodeURIComponent(\"\" + learnerId));\r\n url_ = url_.replace(/[?&]$/, \"\");\r\n\r\n let options_ = {\r\n method: \"GET\",\r\n url: url_,\r\n headers: {\r\n \"Accept\": \"application/json\"\r\n },\r\n cancelToken\r\n };\r\n\r\n return this.instance.request(options_).catch((_error: any) => {\r\n if (isAxiosError(_error) && _error.response) {\r\n return _error.response;\r\n } else {\r\n throw _error;\r\n }\r\n }).then((_response: AxiosResponse) => {\r\n return this.processGetLearnerArtifacts(_response);\r\n });\r\n }\r\n\r\n protected processGetLearnerArtifacts(response: AxiosResponse): Promise {\r\n const status = response.status;\r\n let _headers: any = {};\r\n if (response.headers && typeof response.headers === \"object\") {\r\n for (let k in response.headers) {\r\n if (response.headers.hasOwnProperty(k)) {\r\n _headers[k] = response.headers[k];\r\n }\r\n }\r\n }\r\n let _mappings: { source: any, target: any }[] = [];\r\n if (status === 200) {\r\n const _responseText = response.data;\r\n let result200: any = null;\r\n let resultData200 = _responseText;\r\n if (Array.isArray(resultData200)) {\r\n result200 = [] as any;\r\n for (let item of resultData200)\r\n result200!.push(ArtifactDTO.fromJS(item, _mappings) as ArtifactDTO);\r\n }\r\n else {\r\n result200 = null;\r\n }\r\n return result200;\r\n } else if (status !== 200 && status !== 204) {\r\n const _responseText = response.data;\r\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\r\n }\r\n return Promise.resolve(null);\r\n }\r\n\r\n getActivityArtifacts(activityId: string , cancelToken?: CancelToken | undefined): Promise {\r\n let url_ = this.baseUrl + \"/Artifact/GetActivityArtifacts/{activityId}\";\r\n if (activityId === undefined || activityId === null)\r\n throw new Error(\"The parameter 'activityId' must be defined.\");\r\n url_ = url_.replace(\"{activityId}\", encodeURIComponent(\"\" + activityId));\r\n url_ = url_.replace(/[?&]$/, \"\");\r\n\r\n let options_ = {\r\n method: \"GET\",\r\n url: url_,\r\n headers: {\r\n \"Accept\": \"application/json\"\r\n },\r\n cancelToken\r\n };\r\n\r\n return this.instance.request(options_).catch((_error: any) => {\r\n if (isAxiosError(_error) && _error.response) {\r\n return _error.response;\r\n } else {\r\n throw _error;\r\n }\r\n }).then((_response: AxiosResponse) => {\r\n return this.processGetActivityArtifacts(_response);\r\n });\r\n }\r\n\r\n protected processGetActivityArtifacts(response: AxiosResponse): Promise {\r\n const status = response.status;\r\n let _headers: any = {};\r\n if (response.headers && typeof response.headers === \"object\") {\r\n for (let k in response.headers) {\r\n if (response.headers.hasOwnProperty(k)) {\r\n _headers[k] = response.headers[k];\r\n }\r\n }\r\n }\r\n let _mappings: { source: any, target: any }[] = [];\r\n if (status === 200) {\r\n const _responseText = response.data;\r\n let result200: any = null;\r\n let resultData200 = _responseText;\r\n if (Array.isArray(resultData200)) {\r\n result200 = [] as any;\r\n for (let item of resultData200)\r\n result200!.push(ArtifactDTO.fromJS(item, _mappings) as ArtifactDTO);\r\n }\r\n else {\r\n result200 = null;\r\n }\r\n return result200;\r\n } else if (status !== 200 && status !== 204) {\r\n const _responseText = response.data;\r\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\r\n }\r\n return Promise.resolve(null);\r\n }\r\n\r\n getAvtivityRatingComponentArtifact(id: string , cancelToken?: CancelToken | undefined): Promise {\r\n let url_ = this.baseUrl + \"/Artifact/GetAvtivityRatingComponentArtifact/{id}\";\r\n if (id === undefined || id === null)\r\n throw new Error(\"The parameter 'id' must be defined.\");\r\n url_ = url_.replace(\"{id}\", encodeURIComponent(\"\" + id));\r\n url_ = url_.replace(/[?&]$/, \"\");\r\n\r\n let options_ = {\r\n method: \"GET\",\r\n url: url_,\r\n headers: {\r\n \"Accept\": \"application/json\"\r\n },\r\n cancelToken\r\n };\r\n\r\n return this.instance.request(options_).catch((_error: any) => {\r\n if (isAxiosError(_error) && _error.response) {\r\n return _error.response;\r\n } else {\r\n throw _error;\r\n }\r\n }).then((_response: AxiosResponse) => {\r\n return this.processGetAvtivityRatingComponentArtifact(_response);\r\n });\r\n }\r\n\r\n protected processGetAvtivityRatingComponentArtifact(response: AxiosResponse): Promise {\r\n const status = response.status;\r\n let _headers: any = {};\r\n if (response.headers && typeof response.headers === \"object\") {\r\n for (let k in response.headers) {\r\n if (response.headers.hasOwnProperty(k)) {\r\n _headers[k] = response.headers[k];\r\n }\r\n }\r\n }\r\n let _mappings: { source: any, target: any }[] = [];\r\n if (status === 200) {\r\n const _responseText = response.data;\r\n let result200: any = null;\r\n let resultData200 = _responseText;\r\n if (Array.isArray(resultData200)) {\r\n result200 = [] as any;\r\n for (let item of resultData200)\r\n result200!.push(ActivityRatingComponentArtifactDTO.fromJS(item, _mappings) as ActivityRatingComponentArtifactDTO);\r\n }\r\n else {\r\n result200 = null;\r\n }\r\n return result200;\r\n } else if (status !== 200 && status !== 204) {\r\n const _responseText = response.data;\r\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\r\n }\r\n return Promise.resolve(null);\r\n }\r\n\r\n uploadArtifacts(learnerId: string, activityId?: string | null | undefined, files?: FileParameter[] | null | undefined , cancelToken?: CancelToken | undefined): Promise {\r\n let url_ = this.baseUrl + \"/Artifact/UploadArtifacts/{learnerId}?\";\r\n if (learnerId === undefined || learnerId === null)\r\n throw new Error(\"The parameter 'learnerId' must be defined.\");\r\n url_ = url_.replace(\"{learnerId}\", encodeURIComponent(\"\" + learnerId));\r\n if (activityId !== undefined && activityId !== null)\r\n url_ += \"activityId=\" + encodeURIComponent(\"\" + activityId) + \"&\";\r\n url_ = url_.replace(/[?&]$/, \"\");\r\n\r\n const content_ = new FormData();\r\n if (files !== null && files !== undefined)\r\n files.forEach(item_ => content_.append(\"Files\", item_.data, item_.fileName ? item_.fileName : \"Files\") );\r\n\r\n let options_ = {\r\n data: content_,\r\n responseType: \"blob\",\r\n method: \"POST\",\r\n url: url_,\r\n headers: {\r\n \"Accept\": \"application/octet-stream\"\r\n },\r\n cancelToken\r\n };\r\n\r\n return this.instance.request(options_).catch((_error: any) => {\r\n if (isAxiosError(_error) && _error.response) {\r\n return _error.response;\r\n } else {\r\n throw _error;\r\n }\r\n }).then((_response: AxiosResponse) => {\r\n return this.processUploadArtifacts(_response);\r\n });\r\n }\r\n\r\n protected processUploadArtifacts(response: AxiosResponse): Promise {\r\n const status = response.status;\r\n let _headers: any = {};\r\n if (response.headers && typeof response.headers === \"object\") {\r\n for (let k in response.headers) {\r\n if (response.headers.hasOwnProperty(k)) {\r\n _headers[k] = response.headers[k];\r\n }\r\n }\r\n }\r\n if (status === 200 || status === 206) {\r\n const contentDisposition = response.headers ? response.headers[\"content-disposition\"] : undefined;\r\n const fileNameMatch = contentDisposition ? /filename=\"?([^\"]*?)\"?(;|$)/g.exec(contentDisposition) : undefined;\r\n const fileName = fileNameMatch && fileNameMatch.length > 1 ? fileNameMatch[1] : undefined;\r\n return Promise.resolve({ fileName: fileName, status: status, data: response.data as Blob, headers: _headers });\r\n } else if (status !== 200 && status !== 204) {\r\n const _responseText = response.data;\r\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\r\n }\r\n return Promise.resolve(null);\r\n }\r\n\r\n saveExternalResource(externalResourceInfo: ExternalResourceInfo, learnerId: string, activityId?: string | null | undefined , cancelToken?: CancelToken | undefined): Promise {\r\n let url_ = this.baseUrl + \"/Artifact/SaveExternalResource/{learnerId}?\";\r\n if (learnerId === undefined || learnerId === null)\r\n throw new Error(\"The parameter 'learnerId' must be defined.\");\r\n url_ = url_.replace(\"{learnerId}\", encodeURIComponent(\"\" + learnerId));\r\n if (activityId !== undefined && activityId !== null)\r\n url_ += \"activityId=\" + encodeURIComponent(\"\" + activityId) + \"&\";\r\n url_ = url_.replace(/[?&]$/, \"\");\r\n\r\n const content_ = JSON.stringify(externalResourceInfo);\r\n\r\n let options_ = {\r\n data: content_,\r\n responseType: \"blob\",\r\n method: \"POST\",\r\n url: url_,\r\n headers: {\r\n \"Content-Type\": \"application/json\",\r\n \"Accept\": \"application/octet-stream\"\r\n },\r\n cancelToken\r\n };\r\n\r\n return this.instance.request(options_).catch((_error: any) => {\r\n if (isAxiosError(_error) && _error.response) {\r\n return _error.response;\r\n } else {\r\n throw _error;\r\n }\r\n }).then((_response: AxiosResponse) => {\r\n return this.processSaveExternalResource(_response);\r\n });\r\n }\r\n\r\n protected processSaveExternalResource(response: AxiosResponse): Promise {\r\n const status = response.status;\r\n let _headers: any = {};\r\n if (response.headers && typeof response.headers === \"object\") {\r\n for (let k in response.headers) {\r\n if (response.headers.hasOwnProperty(k)) {\r\n _headers[k] = response.headers[k];\r\n }\r\n }\r\n }\r\n if (status === 200 || status === 206) {\r\n const contentDisposition = response.headers ? response.headers[\"content-disposition\"] : undefined;\r\n const fileNameMatch = contentDisposition ? /filename=\"?([^\"]*?)\"?(;|$)/g.exec(contentDisposition) : undefined;\r\n const fileName = fileNameMatch && fileNameMatch.length > 1 ? fileNameMatch[1] : undefined;\r\n return Promise.resolve({ fileName: fileName, status: status, data: response.data as Blob, headers: _headers });\r\n } else if (status !== 200 && status !== 204) {\r\n const _responseText = response.data;\r\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\r\n }\r\n return Promise.resolve(null);\r\n }\r\n\r\n downloadArtifact(id: number , cancelToken?: CancelToken | undefined): Promise {\r\n let url_ = this.baseUrl + \"/Artifact/DownloadArtifact/{id}\";\r\n if (id === undefined || id === null)\r\n throw new Error(\"The parameter 'id' must be defined.\");\r\n url_ = url_.replace(\"{id}\", encodeURIComponent(\"\" + id));\r\n url_ = url_.replace(/[?&]$/, \"\");\r\n\r\n let options_ = {\r\n responseType: \"blob\",\r\n method: \"GET\",\r\n url: url_,\r\n headers: {\r\n \"Accept\": \"application/octet-stream\"\r\n },\r\n cancelToken\r\n };\r\n\r\n return this.instance.request(options_).catch((_error: any) => {\r\n if (isAxiosError(_error) && _error.response) {\r\n return _error.response;\r\n } else {\r\n throw _error;\r\n }\r\n }).then((_response: AxiosResponse) => {\r\n return this.processDownloadArtifact(_response);\r\n });\r\n }\r\n\r\n protected processDownloadArtifact(response: AxiosResponse): Promise {\r\n const status = response.status;\r\n let _headers: any = {};\r\n if (response.headers && typeof response.headers === \"object\") {\r\n for (let k in response.headers) {\r\n if (response.headers.hasOwnProperty(k)) {\r\n _headers[k] = response.headers[k];\r\n }\r\n }\r\n }\r\n if (status === 200 || status === 206) {\r\n const contentDisposition = response.headers ? response.headers[\"content-disposition\"] : undefined;\r\n const fileNameMatch = contentDisposition ? /filename=\"?([^\"]*?)\"?(;|$)/g.exec(contentDisposition) : undefined;\r\n const fileName = fileNameMatch && fileNameMatch.length > 1 ? fileNameMatch[1] : undefined;\r\n return Promise.resolve({ fileName: fileName, status: status, data: response.data as Blob, headers: _headers });\r\n } else if (status !== 200 && status !== 204) {\r\n const _responseText = response.data;\r\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\r\n }\r\n return Promise.resolve(null);\r\n }\r\n}\r\n\r\nexport class CalendarService {\r\n private instance: AxiosInstance;\r\n private baseUrl: string;\r\n protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined;\r\n\r\n constructor(baseUrl?: string, instance?: AxiosInstance) {\r\n this.instance = instance ? instance : axios.create();\r\n this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : \"\";\r\n }\r\n\r\n getCalendar(calendarToken: string | null , cancelToken?: CancelToken | undefined): Promise {\r\n let url_ = this.baseUrl + \"/Calendar/{calendarToken}\";\r\n if (calendarToken === undefined || calendarToken === null)\r\n throw new Error(\"The parameter 'calendarToken' must be defined.\");\r\n url_ = url_.replace(\"{calendarToken}\", encodeURIComponent(\"\" + calendarToken));\r\n url_ = url_.replace(/[?&]$/, \"\");\r\n\r\n let options_ = {\r\n responseType: \"blob\",\r\n method: \"GET\",\r\n url: url_,\r\n headers: {\r\n \"Accept\": \"application/octet-stream\"\r\n },\r\n cancelToken\r\n };\r\n\r\n return this.instance.request(options_).catch((_error: any) => {\r\n if (isAxiosError(_error) && _error.response) {\r\n return _error.response;\r\n } else {\r\n throw _error;\r\n }\r\n }).then((_response: AxiosResponse) => {\r\n return this.processGetCalendar(_response);\r\n });\r\n }\r\n\r\n protected processGetCalendar(response: AxiosResponse): Promise {\r\n const status = response.status;\r\n let _headers: any = {};\r\n if (response.headers && typeof response.headers === \"object\") {\r\n for (let k in response.headers) {\r\n if (response.headers.hasOwnProperty(k)) {\r\n _headers[k] = response.headers[k];\r\n }\r\n }\r\n }\r\n if (status === 200 || status === 206) {\r\n const contentDisposition = response.headers ? response.headers[\"content-disposition\"] : undefined;\r\n const fileNameMatch = contentDisposition ? /filename=\"?([^\"]*?)\"?(;|$)/g.exec(contentDisposition) : undefined;\r\n const fileName = fileNameMatch && fileNameMatch.length > 1 ? fileNameMatch[1] : undefined;\r\n return Promise.resolve({ fileName: fileName, status: status, data: response.data as Blob, headers: _headers });\r\n } else if (status !== 200 && status !== 204) {\r\n const _responseText = response.data;\r\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\r\n }\r\n return Promise.resolve(null);\r\n }\r\n\r\n getCalendarToken( cancelToken?: CancelToken | undefined): Promise {\r\n let url_ = this.baseUrl + \"/Calendar/token\";\r\n url_ = url_.replace(/[?&]$/, \"\");\r\n\r\n let options_ = {\r\n method: \"GET\",\r\n url: url_,\r\n headers: {\r\n \"Accept\": \"application/json\"\r\n },\r\n cancelToken\r\n };\r\n\r\n return this.instance.request(options_).catch((_error: any) => {\r\n if (isAxiosError(_error) && _error.response) {\r\n return _error.response;\r\n } else {\r\n throw _error;\r\n }\r\n }).then((_response: AxiosResponse) => {\r\n return this.processGetCalendarToken(_response);\r\n });\r\n }\r\n\r\n protected processGetCalendarToken(response: AxiosResponse): Promise {\r\n const status = response.status;\r\n let _headers: any = {};\r\n if (response.headers && typeof response.headers === \"object\") {\r\n for (let k in response.headers) {\r\n if (response.headers.hasOwnProperty(k)) {\r\n _headers[k] = response.headers[k];\r\n }\r\n }\r\n }\r\n if (status === 200) {\r\n const _responseText = response.data;\r\n let result200: any = null;\r\n let resultData200 = _responseText;\r\n result200 = resultData200 !== undefined ? resultData200 : null;\r\n return result200;\r\n } else if (status !== 200 && status !== 204) {\r\n const _responseText = response.data;\r\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\r\n }\r\n return Promise.resolve(null);\r\n }\r\n\r\n setNewCalendarToken( cancelToken?: CancelToken | undefined): Promise {\r\n let url_ = this.baseUrl + \"/Calendar/token\";\r\n url_ = url_.replace(/[?&]$/, \"\");\r\n\r\n let options_ = {\r\n method: \"PATCH\",\r\n url: url_,\r\n headers: {\r\n \"Accept\": \"application/json\"\r\n },\r\n cancelToken\r\n };\r\n\r\n return this.instance.request(options_).catch((_error: any) => {\r\n if (isAxiosError(_error) && _error.response) {\r\n return _error.response;\r\n } else {\r\n throw _error;\r\n }\r\n }).then((_response: AxiosResponse) => {\r\n return this.processSetNewCalendarToken(_response);\r\n });\r\n }\r\n\r\n protected processSetNewCalendarToken(response: AxiosResponse): Promise {\r\n const status = response.status;\r\n let _headers: any = {};\r\n if (response.headers && typeof response.headers === \"object\") {\r\n for (let k in response.headers) {\r\n if (response.headers.hasOwnProperty(k)) {\r\n _headers[k] = response.headers[k];\r\n }\r\n }\r\n }\r\n if (status === 200) {\r\n const _responseText = response.data;\r\n let result200: any = null;\r\n let resultData200 = _responseText;\r\n result200 = resultData200 !== undefined ? resultData200 : null;\r\n return result200;\r\n } else if (status !== 200 && status !== 204) {\r\n const _responseText = response.data;\r\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\r\n }\r\n return Promise.resolve(null);\r\n }\r\n}\r\n\r\nexport class DashboardService {\r\n private instance: AxiosInstance;\r\n private baseUrl: string;\r\n protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined;\r\n\r\n constructor(baseUrl?: string, instance?: AxiosInstance) {\r\n this.instance = instance ? instance : axios.create();\r\n this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : \"\";\r\n }\r\n\r\n getDashboard(lea: string | null, districtOnly?: boolean | undefined , cancelToken?: CancelToken | undefined): Promise {\r\n let url_ = this.baseUrl + \"/Dashboard/dashboard?\";\r\n if (lea === undefined)\r\n throw new Error(\"The parameter 'lea' must be defined.\");\r\n else if(lea !== null)\r\n url_ += \"lea=\" + encodeURIComponent(\"\" + lea) + \"&\";\r\n if (districtOnly === null)\r\n throw new Error(\"The parameter 'districtOnly' cannot be null.\");\r\n else if (districtOnly !== undefined)\r\n url_ += \"districtOnly=\" + encodeURIComponent(\"\" + districtOnly) + \"&\";\r\n url_ = url_.replace(/[?&]$/, \"\");\r\n\r\n let options_ = {\r\n method: \"GET\",\r\n url: url_,\r\n headers: {\r\n \"Accept\": \"application/json\"\r\n },\r\n cancelToken\r\n };\r\n\r\n return this.instance.request(options_).catch((_error: any) => {\r\n if (isAxiosError(_error) && _error.response) {\r\n return _error.response;\r\n } else {\r\n throw _error;\r\n }\r\n }).then((_response: AxiosResponse) => {\r\n return this.processGetDashboard(_response);\r\n });\r\n }\r\n\r\n protected processGetDashboard(response: AxiosResponse): Promise {\r\n const status = response.status;\r\n let _headers: any = {};\r\n if (response.headers && typeof response.headers === \"object\") {\r\n for (let k in response.headers) {\r\n if (response.headers.hasOwnProperty(k)) {\r\n _headers[k] = response.headers[k];\r\n }\r\n }\r\n }\r\n let _mappings: { source: any, target: any }[] = [];\r\n if (status === 200) {\r\n const _responseText = response.data;\r\n let result200: any = null;\r\n let resultData200 = _responseText;\r\n result200 = DashboardQueryResponseDto.fromJS(resultData200, _mappings);\r\n return result200;\r\n } else if (status !== 200 && status !== 204) {\r\n const _responseText = response.data;\r\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\r\n }\r\n return Promise.resolve(null);\r\n }\r\n\r\n getDashboardLearnerDetails(lea: string | null, districtOnly?: boolean | undefined , cancelToken?: CancelToken | undefined): Promise {\r\n let url_ = this.baseUrl + \"/Dashboard/dashboard/learnerDetails?\";\r\n if (lea === undefined)\r\n throw new Error(\"The parameter 'lea' must be defined.\");\r\n else if(lea !== null)\r\n url_ += \"lea=\" + encodeURIComponent(\"\" + lea) + \"&\";\r\n if (districtOnly === null)\r\n throw new Error(\"The parameter 'districtOnly' cannot be null.\");\r\n else if (districtOnly !== undefined)\r\n url_ += \"districtOnly=\" + encodeURIComponent(\"\" + districtOnly) + \"&\";\r\n url_ = url_.replace(/[?&]$/, \"\");\r\n\r\n let options_ = {\r\n method: \"GET\",\r\n url: url_,\r\n headers: {\r\n \"Accept\": \"application/json\"\r\n },\r\n cancelToken\r\n };\r\n\r\n return this.instance.request(options_).catch((_error: any) => {\r\n if (isAxiosError(_error) && _error.response) {\r\n return _error.response;\r\n } else {\r\n throw _error;\r\n }\r\n }).then((_response: AxiosResponse) => {\r\n return this.processGetDashboardLearnerDetails(_response);\r\n });\r\n }\r\n\r\n protected processGetDashboardLearnerDetails(response: AxiosResponse): Promise {\r\n const status = response.status;\r\n let _headers: any = {};\r\n if (response.headers && typeof response.headers === \"object\") {\r\n for (let k in response.headers) {\r\n if (response.headers.hasOwnProperty(k)) {\r\n _headers[k] = response.headers[k];\r\n }\r\n }\r\n }\r\n let _mappings: { source: any, target: any }[] = [];\r\n if (status === 200) {\r\n const _responseText = response.data;\r\n let result200: any = null;\r\n let resultData200 = _responseText;\r\n if (Array.isArray(resultData200)) {\r\n result200 = [] as any;\r\n for (let item of resultData200)\r\n result200!.push(LearnerStatisticsDetailDto.fromJS(item, _mappings) as LearnerStatisticsDetailDto);\r\n }\r\n else {\r\n result200 = null;\r\n }\r\n return result200;\r\n } else if (status !== 200 && status !== 204) {\r\n const _responseText = response.data;\r\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\r\n }\r\n return Promise.resolve(null);\r\n }\r\n}\r\n\r\nexport class DistrictStatisticService {\r\n private instance: AxiosInstance;\r\n private baseUrl: string;\r\n protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined;\r\n\r\n constructor(baseUrl?: string, instance?: AxiosInstance) {\r\n this.instance = instance ? instance : axios.create();\r\n this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : \"\";\r\n }\r\n\r\n getLearnerScheduleCounts(districtLea: string | null, activityTypeName: string | null , cancelToken?: CancelToken | undefined): Promise {\r\n let url_ = this.baseUrl + \"/DistrictStatistic/{districtLea}/count/learner-schedule?\";\r\n if (districtLea === undefined || districtLea === null)\r\n throw new Error(\"The parameter 'districtLea' must be defined.\");\r\n url_ = url_.replace(\"{districtLea}\", encodeURIComponent(\"\" + districtLea));\r\n if (activityTypeName === undefined)\r\n throw new Error(\"The parameter 'activityTypeName' must be defined.\");\r\n else if(activityTypeName !== null)\r\n url_ += \"activityTypeName=\" + encodeURIComponent(\"\" + activityTypeName) + \"&\";\r\n url_ = url_.replace(/[?&]$/, \"\");\r\n\r\n let options_ = {\r\n method: \"GET\",\r\n url: url_,\r\n headers: {\r\n \"Accept\": \"application/json\"\r\n },\r\n cancelToken\r\n };\r\n\r\n return this.instance.request(options_).catch((_error: any) => {\r\n if (isAxiosError(_error) && _error.response) {\r\n return _error.response;\r\n } else {\r\n throw _error;\r\n }\r\n }).then((_response: AxiosResponse) => {\r\n return this.processGetLearnerScheduleCounts(_response);\r\n });\r\n }\r\n\r\n protected processGetLearnerScheduleCounts(response: AxiosResponse): Promise {\r\n const status = response.status;\r\n let _headers: any = {};\r\n if (response.headers && typeof response.headers === \"object\") {\r\n for (let k in response.headers) {\r\n if (response.headers.hasOwnProperty(k)) {\r\n _headers[k] = response.headers[k];\r\n }\r\n }\r\n }\r\n let _mappings: { source: any, target: any }[] = [];\r\n if (status === 200) {\r\n const _responseText = response.data;\r\n let result200: any = null;\r\n let resultData200 = _responseText;\r\n result200 = LearnerScheduleStatisticDto.fromJS(resultData200, _mappings);\r\n return result200;\r\n } else if (status !== 200 && status !== 204) {\r\n const _responseText = response.data;\r\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\r\n }\r\n return Promise.resolve(null);\r\n }\r\n\r\n getStaffCount(districtLea: string | null, staffType: StaffType , cancelToken?: CancelToken | undefined): Promise {\r\n let url_ = this.baseUrl + \"/DistrictStatistic/{districtLea}/count/staff?\";\r\n if (districtLea === undefined || districtLea === null)\r\n throw new Error(\"The parameter 'districtLea' must be defined.\");\r\n url_ = url_.replace(\"{districtLea}\", encodeURIComponent(\"\" + districtLea));\r\n if (staffType === undefined || staffType === null)\r\n throw new Error(\"The parameter 'staffType' must be defined and cannot be null.\");\r\n else\r\n url_ += \"staffType=\" + encodeURIComponent(\"\" + staffType) + \"&\";\r\n url_ = url_.replace(/[?&]$/, \"\");\r\n\r\n let options_ = {\r\n method: \"GET\",\r\n url: url_,\r\n headers: {\r\n \"Accept\": \"application/json\"\r\n },\r\n cancelToken\r\n };\r\n\r\n return this.instance.request(options_).catch((_error: any) => {\r\n if (isAxiosError(_error) && _error.response) {\r\n return _error.response;\r\n } else {\r\n throw _error;\r\n }\r\n }).then((_response: AxiosResponse) => {\r\n return this.processGetStaffCount(_response);\r\n });\r\n }\r\n\r\n protected processGetStaffCount(response: AxiosResponse): Promise {\r\n const status = response.status;\r\n let _headers: any = {};\r\n if (response.headers && typeof response.headers === \"object\") {\r\n for (let k in response.headers) {\r\n if (response.headers.hasOwnProperty(k)) {\r\n _headers[k] = response.headers[k];\r\n }\r\n }\r\n }\r\n let _mappings: { source: any, target: any }[] = [];\r\n if (status === 200) {\r\n const _responseText = response.data;\r\n let result200: any = null;\r\n let resultData200 = _responseText;\r\n result200 = StaffTypeCountDTO.fromJS(resultData200, _mappings);\r\n return result200;\r\n } else if (status !== 200 && status !== 204) {\r\n const _responseText = response.data;\r\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\r\n }\r\n return Promise.resolve(null);\r\n }\r\n}\r\n\r\nexport class EndOfYearRatingService {\r\n private instance: AxiosInstance;\r\n private baseUrl: string;\r\n protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined;\r\n\r\n constructor(baseUrl?: string, instance?: AxiosInstance) {\r\n this.instance = instance ? instance : axios.create();\r\n this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : \"\";\r\n }\r\n\r\n get(id: number , cancelToken?: CancelToken | undefined): Promise {\r\n let url_ = this.baseUrl + \"/EndOfYearRating/{id}\";\r\n if (id === undefined || id === null)\r\n throw new Error(\"The parameter 'id' must be defined.\");\r\n url_ = url_.replace(\"{id}\", encodeURIComponent(\"\" + id));\r\n url_ = url_.replace(/[?&]$/, \"\");\r\n\r\n let options_ = {\r\n method: \"GET\",\r\n url: url_,\r\n headers: {\r\n \"Accept\": \"application/json\"\r\n },\r\n cancelToken\r\n };\r\n\r\n return this.instance.request(options_).catch((_error: any) => {\r\n if (isAxiosError(_error) && _error.response) {\r\n return _error.response;\r\n } else {\r\n throw _error;\r\n }\r\n }).then((_response: AxiosResponse) => {\r\n return this.processGet(_response);\r\n });\r\n }\r\n\r\n protected processGet(response: AxiosResponse): Promise {\r\n const status = response.status;\r\n let _headers: any = {};\r\n if (response.headers && typeof response.headers === \"object\") {\r\n for (let k in response.headers) {\r\n if (response.headers.hasOwnProperty(k)) {\r\n _headers[k] = response.headers[k];\r\n }\r\n }\r\n }\r\n let _mappings: { source: any, target: any }[] = [];\r\n if (status === 200) {\r\n const _responseText = response.data;\r\n let result200: any = null;\r\n let resultData200 = _responseText;\r\n result200 = EndOfYearRatingDTO.fromJS(resultData200, _mappings);\r\n return result200;\r\n } else if (status !== 200 && status !== 204) {\r\n const _responseText = response.data;\r\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\r\n }\r\n return Promise.resolve(null);\r\n }\r\n\r\n update(id: number, command: UpdateEndOfYearRatingCommand , cancelToken?: CancelToken | undefined): Promise {\r\n let url_ = this.baseUrl + \"/EndOfYearRating/{id}\";\r\n if (id === undefined || id === null)\r\n throw new Error(\"The parameter 'id' must be defined.\");\r\n url_ = url_.replace(\"{id}\", encodeURIComponent(\"\" + id));\r\n url_ = url_.replace(/[?&]$/, \"\");\r\n\r\n const content_ = JSON.stringify(command);\r\n\r\n let options_ = {\r\n data: content_,\r\n method: \"PUT\",\r\n url: url_,\r\n headers: {\r\n \"Content-Type\": \"application/json\",\r\n \"Accept\": \"application/json\"\r\n },\r\n cancelToken\r\n };\r\n\r\n return this.instance.request(options_).catch((_error: any) => {\r\n if (isAxiosError(_error) && _error.response) {\r\n return _error.response;\r\n } else {\r\n throw _error;\r\n }\r\n }).then((_response: AxiosResponse) => {\r\n return this.processUpdate(_response);\r\n });\r\n }\r\n\r\n protected processUpdate(response: AxiosResponse): Promise {\r\n const status = response.status;\r\n let _headers: any = {};\r\n if (response.headers && typeof response.headers === \"object\") {\r\n for (let k in response.headers) {\r\n if (response.headers.hasOwnProperty(k)) {\r\n _headers[k] = response.headers[k];\r\n }\r\n }\r\n }\r\n if (status === 200) {\r\n const _responseText = response.data;\r\n let result200: any = null;\r\n let resultData200 = _responseText;\r\n result200 = resultData200 !== undefined ? resultData200 : null;\r\n return result200;\r\n } else if (status !== 200 && status !== 204) {\r\n const _responseText = response.data;\r\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\r\n }\r\n return Promise.resolve(null);\r\n }\r\n\r\n reset(id: number, command: ResetEndOfYearRatingCommand , cancelToken?: CancelToken | undefined): Promise {\r\n let url_ = this.baseUrl + \"/EndOfYearRating/{id}\";\r\n if (id === undefined || id === null)\r\n throw new Error(\"The parameter 'id' must be defined.\");\r\n url_ = url_.replace(\"{id}\", encodeURIComponent(\"\" + id));\r\n url_ = url_.replace(/[?&]$/, \"\");\r\n\r\n const content_ = JSON.stringify(command);\r\n\r\n let options_ = {\r\n data: content_,\r\n method: \"PATCH\",\r\n url: url_,\r\n headers: {\r\n \"Content-Type\": \"application/json\",\r\n \"Accept\": \"application/json\"\r\n },\r\n cancelToken\r\n };\r\n\r\n return this.instance.request(options_).catch((_error: any) => {\r\n if (isAxiosError(_error) && _error.response) {\r\n return _error.response;\r\n } else {\r\n throw _error;\r\n }\r\n }).then((_response: AxiosResponse) => {\r\n return this.processReset(_response);\r\n });\r\n }\r\n\r\n protected processReset(response: AxiosResponse): Promise {\r\n const status = response.status;\r\n let _headers: any = {};\r\n if (response.headers && typeof response.headers === \"object\") {\r\n for (let k in response.headers) {\r\n if (response.headers.hasOwnProperty(k)) {\r\n _headers[k] = response.headers[k];\r\n }\r\n }\r\n }\r\n if (status === 200) {\r\n const _responseText = response.data;\r\n let result200: any = null;\r\n let resultData200 = _responseText;\r\n result200 = resultData200 !== undefined ? resultData200 : null;\r\n return result200;\r\n } else if (status !== 200 && status !== 204) {\r\n const _responseText = response.data;\r\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\r\n }\r\n return Promise.resolve(null);\r\n }\r\n\r\n getEndOfYearRatingsListQuery(learnerId: string , cancelToken?: CancelToken | undefined): Promise {\r\n let url_ = this.baseUrl + \"/EndOfYearRating/GetEndOfYearRatingsListQuery/{learnerId}\";\r\n if (learnerId === undefined || learnerId === null)\r\n throw new Error(\"The parameter 'learnerId' must be defined.\");\r\n url_ = url_.replace(\"{learnerId}\", encodeURIComponent(\"\" + learnerId));\r\n url_ = url_.replace(/[?&]$/, \"\");\r\n\r\n let options_ = {\r\n method: \"GET\",\r\n url: url_,\r\n headers: {\r\n \"Accept\": \"application/json\"\r\n },\r\n cancelToken\r\n };\r\n\r\n return this.instance.request(options_).catch((_error: any) => {\r\n if (isAxiosError(_error) && _error.response) {\r\n return _error.response;\r\n } else {\r\n throw _error;\r\n }\r\n }).then((_response: AxiosResponse) => {\r\n return this.processGetEndOfYearRatingsListQuery(_response);\r\n });\r\n }\r\n\r\n protected processGetEndOfYearRatingsListQuery(response: AxiosResponse): Promise {\r\n const status = response.status;\r\n let _headers: any = {};\r\n if (response.headers && typeof response.headers === \"object\") {\r\n for (let k in response.headers) {\r\n if (response.headers.hasOwnProperty(k)) {\r\n _headers[k] = response.headers[k];\r\n }\r\n }\r\n }\r\n let _mappings: { source: any, target: any }[] = [];\r\n if (status === 200) {\r\n const _responseText = response.data;\r\n let result200: any = null;\r\n let resultData200 = _responseText;\r\n if (Array.isArray(resultData200)) {\r\n result200 = [] as any;\r\n for (let item of resultData200)\r\n result200!.push(EndOfYearRatingSummaryDTO.fromJS(item, _mappings) as EndOfYearRatingSummaryDTO);\r\n }\r\n else {\r\n result200 = null;\r\n }\r\n return result200;\r\n } else if (status !== 200 && status !== 204) {\r\n const _responseText = response.data;\r\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\r\n }\r\n return Promise.resolve(null);\r\n }\r\n\r\n getEndOfYearRatingComponentEvidenceQuery(schoolYearId: number, learnerId: string , cancelToken?: CancelToken | undefined): Promise {\r\n let url_ = this.baseUrl + \"/EndOfYearRating/GetEndOfYearRatingComponentEvidenceQuery/{schoolYearId}/{learnerId}\";\r\n if (schoolYearId === undefined || schoolYearId === null)\r\n throw new Error(\"The parameter 'schoolYearId' must be defined.\");\r\n url_ = url_.replace(\"{schoolYearId}\", encodeURIComponent(\"\" + schoolYearId));\r\n if (learnerId === undefined || learnerId === null)\r\n throw new Error(\"The parameter 'learnerId' must be defined.\");\r\n url_ = url_.replace(\"{learnerId}\", encodeURIComponent(\"\" + learnerId));\r\n url_ = url_.replace(/[?&]$/, \"\");\r\n\r\n let options_ = {\r\n method: \"GET\",\r\n url: url_,\r\n headers: {\r\n \"Accept\": \"application/json\"\r\n },\r\n cancelToken\r\n };\r\n\r\n return this.instance.request(options_).catch((_error: any) => {\r\n if (isAxiosError(_error) && _error.response) {\r\n return _error.response;\r\n } else {\r\n throw _error;\r\n }\r\n }).then((_response: AxiosResponse) => {\r\n return this.processGetEndOfYearRatingComponentEvidenceQuery(_response);\r\n });\r\n }\r\n\r\n protected processGetEndOfYearRatingComponentEvidenceQuery(response: AxiosResponse): Promise {\r\n const status = response.status;\r\n let _headers: any = {};\r\n if (response.headers && typeof response.headers === \"object\") {\r\n for (let k in response.headers) {\r\n if (response.headers.hasOwnProperty(k)) {\r\n _headers[k] = response.headers[k];\r\n }\r\n }\r\n }\r\n let _mappings: { source: any, target: any }[] = [];\r\n if (status === 200) {\r\n const _responseText = response.data;\r\n let result200: any = null;\r\n let resultData200 = _responseText;\r\n if (Array.isArray(resultData200)) {\r\n result200 = [] as any;\r\n for (let item of resultData200)\r\n result200!.push(EndOfYearRatingComponentEvidenceDTO.fromJS(item, _mappings) as EndOfYearRatingComponentEvidenceDTO);\r\n }\r\n else {\r\n result200 = null;\r\n }\r\n return result200;\r\n } else if (status !== 200 && status !== 204) {\r\n const _responseText = response.data;\r\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\r\n }\r\n return Promise.resolve(null);\r\n }\r\n\r\n getEndOfYearRatingComponentArtifactQuery(schoolYearId: number, learnerId: string , cancelToken?: CancelToken | undefined): Promise {\r\n let url_ = this.baseUrl + \"/EndOfYearRating/GetEndOfYearRatingComponentArtifactQuery/{schoolYearId}/{learnerId}\";\r\n if (schoolYearId === undefined || schoolYearId === null)\r\n throw new Error(\"The parameter 'schoolYearId' must be defined.\");\r\n url_ = url_.replace(\"{schoolYearId}\", encodeURIComponent(\"\" + schoolYearId));\r\n if (learnerId === undefined || learnerId === null)\r\n throw new Error(\"The parameter 'learnerId' must be defined.\");\r\n url_ = url_.replace(\"{learnerId}\", encodeURIComponent(\"\" + learnerId));\r\n url_ = url_.replace(/[?&]$/, \"\");\r\n\r\n let options_ = {\r\n method: \"GET\",\r\n url: url_,\r\n headers: {\r\n \"Accept\": \"application/json\"\r\n },\r\n cancelToken\r\n };\r\n\r\n return this.instance.request(options_).catch((_error: any) => {\r\n if (isAxiosError(_error) && _error.response) {\r\n return _error.response;\r\n } else {\r\n throw _error;\r\n }\r\n }).then((_response: AxiosResponse) => {\r\n return this.processGetEndOfYearRatingComponentArtifactQuery(_response);\r\n });\r\n }\r\n\r\n protected processGetEndOfYearRatingComponentArtifactQuery(response: AxiosResponse): Promise {\r\n const status = response.status;\r\n let _headers: any = {};\r\n if (response.headers && typeof response.headers === \"object\") {\r\n for (let k in response.headers) {\r\n if (response.headers.hasOwnProperty(k)) {\r\n _headers[k] = response.headers[k];\r\n }\r\n }\r\n }\r\n let _mappings: { source: any, target: any }[] = [];\r\n if (status === 200) {\r\n const _responseText = response.data;\r\n let result200: any = null;\r\n let resultData200 = _responseText;\r\n if (Array.isArray(resultData200)) {\r\n result200 = [] as any;\r\n for (let item of resultData200)\r\n result200!.push(EndOfYearRatingComponentArtifactDTO.fromJS(item, _mappings) as EndOfYearRatingComponentArtifactDTO);\r\n }\r\n else {\r\n result200 = null;\r\n }\r\n return result200;\r\n } else if (status !== 200 && status !== 204) {\r\n const _responseText = response.data;\r\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\r\n }\r\n return Promise.resolve(null);\r\n }\r\n\r\n getEndOfYearRatingComponentPromptQuery(schoolYearId: number, learnerId: string , cancelToken?: CancelToken | undefined): Promise {\r\n let url_ = this.baseUrl + \"/EndOfYearRating/GetEndOfYearRatingComponentPromptQuery/{schoolYearId}/{learnerId}\";\r\n if (schoolYearId === undefined || schoolYearId === null)\r\n throw new Error(\"The parameter 'schoolYearId' must be defined.\");\r\n url_ = url_.replace(\"{schoolYearId}\", encodeURIComponent(\"\" + schoolYearId));\r\n if (learnerId === undefined || learnerId === null)\r\n throw new Error(\"The parameter 'learnerId' must be defined.\");\r\n url_ = url_.replace(\"{learnerId}\", encodeURIComponent(\"\" + learnerId));\r\n url_ = url_.replace(/[?&]$/, \"\");\r\n\r\n let options_ = {\r\n method: \"GET\",\r\n url: url_,\r\n headers: {\r\n \"Accept\": \"application/json\"\r\n },\r\n cancelToken\r\n };\r\n\r\n return this.instance.request(options_).catch((_error: any) => {\r\n if (isAxiosError(_error) && _error.response) {\r\n return _error.response;\r\n } else {\r\n throw _error;\r\n }\r\n }).then((_response: AxiosResponse) => {\r\n return this.processGetEndOfYearRatingComponentPromptQuery(_response);\r\n });\r\n }\r\n\r\n protected processGetEndOfYearRatingComponentPromptQuery(response: AxiosResponse): Promise {\r\n const status = response.status;\r\n let _headers: any = {};\r\n if (response.headers && typeof response.headers === \"object\") {\r\n for (let k in response.headers) {\r\n if (response.headers.hasOwnProperty(k)) {\r\n _headers[k] = response.headers[k];\r\n }\r\n }\r\n }\r\n let _mappings: { source: any, target: any }[] = [];\r\n if (status === 200) {\r\n const _responseText = response.data;\r\n let result200: any = null;\r\n let resultData200 = _responseText;\r\n if (Array.isArray(resultData200)) {\r\n result200 = [] as any;\r\n for (let item of resultData200)\r\n result200!.push(EndOfYearRatingComponentPromptDTO.fromJS(item, _mappings) as EndOfYearRatingComponentPromptDTO);\r\n }\r\n else {\r\n result200 = null;\r\n }\r\n return result200;\r\n } else if (status !== 200 && status !== 204) {\r\n const _responseText = response.data;\r\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\r\n }\r\n return Promise.resolve(null);\r\n }\r\n\r\n getActivityRatingComponentRatingsQuery(schoolYearId: number, learnerId: string , cancelToken?: CancelToken | undefined): Promise {\r\n let url_ = this.baseUrl + \"/EndOfYearRating/GetActivityRatingComponentRatingsQuery/{schoolYearId}/{learnerId}\";\r\n if (schoolYearId === undefined || schoolYearId === null)\r\n throw new Error(\"The parameter 'schoolYearId' must be defined.\");\r\n url_ = url_.replace(\"{schoolYearId}\", encodeURIComponent(\"\" + schoolYearId));\r\n if (learnerId === undefined || learnerId === null)\r\n throw new Error(\"The parameter 'learnerId' must be defined.\");\r\n url_ = url_.replace(\"{learnerId}\", encodeURIComponent(\"\" + learnerId));\r\n url_ = url_.replace(/[?&]$/, \"\");\r\n\r\n let options_ = {\r\n method: \"GET\",\r\n url: url_,\r\n headers: {\r\n \"Accept\": \"application/json\"\r\n },\r\n cancelToken\r\n };\r\n\r\n return this.instance.request(options_).catch((_error: any) => {\r\n if (isAxiosError(_error) && _error.response) {\r\n return _error.response;\r\n } else {\r\n throw _error;\r\n }\r\n }).then((_response: AxiosResponse) => {\r\n return this.processGetActivityRatingComponentRatingsQuery(_response);\r\n });\r\n }\r\n\r\n protected processGetActivityRatingComponentRatingsQuery(response: AxiosResponse): Promise {\r\n const status = response.status;\r\n let _headers: any = {};\r\n if (response.headers && typeof response.headers === \"object\") {\r\n for (let k in response.headers) {\r\n if (response.headers.hasOwnProperty(k)) {\r\n _headers[k] = response.headers[k];\r\n }\r\n }\r\n }\r\n let _mappings: { source: any, target: any }[] = [];\r\n if (status === 200) {\r\n const _responseText = response.data;\r\n let result200: any = null;\r\n let resultData200 = _responseText;\r\n if (Array.isArray(resultData200)) {\r\n result200 = [] as any;\r\n for (let item of resultData200)\r\n result200!.push(EndOfYearRatingComponentRatingDTO.fromJS(item, _mappings) as EndOfYearRatingComponentRatingDTO);\r\n }\r\n else {\r\n result200 = null;\r\n }\r\n return result200;\r\n } else if (status !== 200 && status !== 204) {\r\n const _responseText = response.data;\r\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\r\n }\r\n return Promise.resolve(null);\r\n }\r\n}\r\n\r\nexport class GoalService {\r\n private instance: AxiosInstance;\r\n private baseUrl: string;\r\n protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined;\r\n\r\n constructor(baseUrl?: string, instance?: AxiosInstance) {\r\n this.instance = instance ? instance : axios.create();\r\n this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : \"\";\r\n }\r\n\r\n get(id: number , cancelToken?: CancelToken | undefined): Promise {\r\n let url_ = this.baseUrl + \"/Goal/{id}\";\r\n if (id === undefined || id === null)\r\n throw new Error(\"The parameter 'id' must be defined.\");\r\n url_ = url_.replace(\"{id}\", encodeURIComponent(\"\" + id));\r\n url_ = url_.replace(/[?&]$/, \"\");\r\n\r\n let options_ = {\r\n method: \"GET\",\r\n url: url_,\r\n headers: {\r\n \"Accept\": \"application/json\"\r\n },\r\n cancelToken\r\n };\r\n\r\n return this.instance.request(options_).catch((_error: any) => {\r\n if (isAxiosError(_error) && _error.response) {\r\n return _error.response;\r\n } else {\r\n throw _error;\r\n }\r\n }).then((_response: AxiosResponse) => {\r\n return this.processGet(_response);\r\n });\r\n }\r\n\r\n protected processGet(response: AxiosResponse): Promise {\r\n const status = response.status;\r\n let _headers: any = {};\r\n if (response.headers && typeof response.headers === \"object\") {\r\n for (let k in response.headers) {\r\n if (response.headers.hasOwnProperty(k)) {\r\n _headers[k] = response.headers[k];\r\n }\r\n }\r\n }\r\n let _mappings: { source: any, target: any }[] = [];\r\n if (status === 200) {\r\n const _responseText = response.data;\r\n let result200: any = null;\r\n let resultData200 = _responseText;\r\n result200 = GoalDto.fromJS(resultData200, _mappings);\r\n return result200;\r\n } else if (status !== 200 && status !== 204) {\r\n const _responseText = response.data;\r\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\r\n }\r\n return Promise.resolve(null);\r\n }\r\n\r\n update(id: number, command: UpdateGoalCommand , cancelToken?: CancelToken | undefined): Promise {\r\n let url_ = this.baseUrl + \"/Goal/{id}\";\r\n if (id === undefined || id === null)\r\n throw new Error(\"The parameter 'id' must be defined.\");\r\n url_ = url_.replace(\"{id}\", encodeURIComponent(\"\" + id));\r\n url_ = url_.replace(/[?&]$/, \"\");\r\n\r\n const content_ = JSON.stringify(command);\r\n\r\n let options_ = {\r\n data: content_,\r\n responseType: \"blob\",\r\n method: \"PUT\",\r\n url: url_,\r\n headers: {\r\n \"Content-Type\": \"application/json\",\r\n \"Accept\": \"application/octet-stream\"\r\n },\r\n cancelToken\r\n };\r\n\r\n return this.instance.request(options_).catch((_error: any) => {\r\n if (isAxiosError(_error) && _error.response) {\r\n return _error.response;\r\n } else {\r\n throw _error;\r\n }\r\n }).then((_response: AxiosResponse) => {\r\n return this.processUpdate(_response);\r\n });\r\n }\r\n\r\n protected processUpdate(response: AxiosResponse): Promise {\r\n const status = response.status;\r\n let _headers: any = {};\r\n if (response.headers && typeof response.headers === \"object\") {\r\n for (let k in response.headers) {\r\n if (response.headers.hasOwnProperty(k)) {\r\n _headers[k] = response.headers[k];\r\n }\r\n }\r\n }\r\n if (status === 200 || status === 206) {\r\n const contentDisposition = response.headers ? response.headers[\"content-disposition\"] : undefined;\r\n const fileNameMatch = contentDisposition ? /filename=\"?([^\"]*?)\"?(;|$)/g.exec(contentDisposition) : undefined;\r\n const fileName = fileNameMatch && fileNameMatch.length > 1 ? fileNameMatch[1] : undefined;\r\n return Promise.resolve({ fileName: fileName, status: status, data: response.data as Blob, headers: _headers });\r\n } else if (status !== 200 && status !== 204) {\r\n const _responseText = response.data;\r\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\r\n }\r\n return Promise.resolve(null);\r\n }\r\n\r\n delete(id: number , cancelToken?: CancelToken | undefined): Promise {\r\n let url_ = this.baseUrl + \"/Goal/{id}\";\r\n if (id === undefined || id === null)\r\n throw new Error(\"The parameter 'id' must be defined.\");\r\n url_ = url_.replace(\"{id}\", encodeURIComponent(\"\" + id));\r\n url_ = url_.replace(/[?&]$/, \"\");\r\n\r\n let options_ = {\r\n responseType: \"blob\",\r\n method: \"DELETE\",\r\n url: url_,\r\n headers: {\r\n \"Accept\": \"application/octet-stream\"\r\n },\r\n cancelToken\r\n };\r\n\r\n return this.instance.request(options_).catch((_error: any) => {\r\n if (isAxiosError(_error) && _error.response) {\r\n return _error.response;\r\n } else {\r\n throw _error;\r\n }\r\n }).then((_response: AxiosResponse) => {\r\n return this.processDelete(_response);\r\n });\r\n }\r\n\r\n protected processDelete(response: AxiosResponse): Promise {\r\n const status = response.status;\r\n let _headers: any = {};\r\n if (response.headers && typeof response.headers === \"object\") {\r\n for (let k in response.headers) {\r\n if (response.headers.hasOwnProperty(k)) {\r\n _headers[k] = response.headers[k];\r\n }\r\n }\r\n }\r\n if (status === 200 || status === 206) {\r\n const contentDisposition = response.headers ? response.headers[\"content-disposition\"] : undefined;\r\n const fileNameMatch = contentDisposition ? /filename=\"?([^\"]*?)\"?(;|$)/g.exec(contentDisposition) : undefined;\r\n const fileName = fileNameMatch && fileNameMatch.length > 1 ? fileNameMatch[1] : undefined;\r\n return Promise.resolve({ fileName: fileName, status: status, data: response.data as Blob, headers: _headers });\r\n } else if (status !== 200 && status !== 204) {\r\n const _responseText = response.data;\r\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\r\n }\r\n return Promise.resolve(null);\r\n }\r\n\r\n getLearnerCurrentYearGoals(userId: string , cancelToken?: CancelToken | undefined): Promise {\r\n let url_ = this.baseUrl + \"/Goal/GetLearnerCurrentYearGoals/{userId}\";\r\n if (userId === undefined || userId === null)\r\n throw new Error(\"The parameter 'userId' must be defined.\");\r\n url_ = url_.replace(\"{userId}\", encodeURIComponent(\"\" + userId));\r\n url_ = url_.replace(/[?&]$/, \"\");\r\n\r\n let options_ = {\r\n method: \"GET\",\r\n url: url_,\r\n headers: {\r\n \"Accept\": \"application/json\"\r\n },\r\n cancelToken\r\n };\r\n\r\n return this.instance.request(options_).catch((_error: any) => {\r\n if (isAxiosError(_error) && _error.response) {\r\n return _error.response;\r\n } else {\r\n throw _error;\r\n }\r\n }).then((_response: AxiosResponse) => {\r\n return this.processGetLearnerCurrentYearGoals(_response);\r\n });\r\n }\r\n\r\n protected processGetLearnerCurrentYearGoals(response: AxiosResponse): Promise {\r\n const status = response.status;\r\n let _headers: any = {};\r\n if (response.headers && typeof response.headers === \"object\") {\r\n for (let k in response.headers) {\r\n if (response.headers.hasOwnProperty(k)) {\r\n _headers[k] = response.headers[k];\r\n }\r\n }\r\n }\r\n let _mappings: { source: any, target: any }[] = [];\r\n if (status === 200) {\r\n const _responseText = response.data;\r\n let result200: any = null;\r\n let resultData200 = _responseText;\r\n if (Array.isArray(resultData200)) {\r\n result200 = [] as any;\r\n for (let item of resultData200)\r\n result200!.push(GoalSummaryDto.fromJS(item, _mappings) as GoalSummaryDto);\r\n }\r\n else {\r\n result200 = null;\r\n }\r\n return result200;\r\n } else if (status !== 200 && status !== 204) {\r\n const _responseText = response.data;\r\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\r\n }\r\n return Promise.resolve(null);\r\n }\r\n\r\n getLearnerGoalsHistory(userId: string , cancelToken?: CancelToken | undefined): Promise {\r\n let url_ = this.baseUrl + \"/Goal/GetLearnerGoalsHistory/{userId}\";\r\n if (userId === undefined || userId === null)\r\n throw new Error(\"The parameter 'userId' must be defined.\");\r\n url_ = url_.replace(\"{userId}\", encodeURIComponent(\"\" + userId));\r\n url_ = url_.replace(/[?&]$/, \"\");\r\n\r\n let options_ = {\r\n method: \"GET\",\r\n url: url_,\r\n headers: {\r\n \"Accept\": \"application/json\"\r\n },\r\n cancelToken\r\n };\r\n\r\n return this.instance.request(options_).catch((_error: any) => {\r\n if (isAxiosError(_error) && _error.response) {\r\n return _error.response;\r\n } else {\r\n throw _error;\r\n }\r\n }).then((_response: AxiosResponse) => {\r\n return this.processGetLearnerGoalsHistory(_response);\r\n });\r\n }\r\n\r\n protected processGetLearnerGoalsHistory(response: AxiosResponse): Promise {\r\n const status = response.status;\r\n let _headers: any = {};\r\n if (response.headers && typeof response.headers === \"object\") {\r\n for (let k in response.headers) {\r\n if (response.headers.hasOwnProperty(k)) {\r\n _headers[k] = response.headers[k];\r\n }\r\n }\r\n }\r\n let _mappings: { source: any, target: any }[] = [];\r\n if (status === 200) {\r\n const _responseText = response.data;\r\n let result200: any = null;\r\n let resultData200 = _responseText;\r\n if (Array.isArray(resultData200)) {\r\n result200 = [] as any;\r\n for (let item of resultData200)\r\n result200!.push(GoalSummaryDto.fromJS(item, _mappings) as GoalSummaryDto);\r\n }\r\n else {\r\n result200 = null;\r\n }\r\n return result200;\r\n } else if (status !== 200 && status !== 204) {\r\n const _responseText = response.data;\r\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\r\n }\r\n return Promise.resolve(null);\r\n }\r\n\r\n create(command: CreateGoalCommand , cancelToken?: CancelToken | undefined): Promise {\r\n let url_ = this.baseUrl + \"/Goal\";\r\n url_ = url_.replace(/[?&]$/, \"\");\r\n\r\n const content_ = JSON.stringify(command);\r\n\r\n let options_ = {\r\n data: content_,\r\n method: \"POST\",\r\n url: url_,\r\n headers: {\r\n \"Content-Type\": \"application/json\",\r\n \"Accept\": \"application/json\"\r\n },\r\n cancelToken\r\n };\r\n\r\n return this.instance.request(options_).catch((_error: any) => {\r\n if (isAxiosError(_error) && _error.response) {\r\n return _error.response;\r\n } else {\r\n throw _error;\r\n }\r\n }).then((_response: AxiosResponse) => {\r\n return this.processCreate(_response);\r\n });\r\n }\r\n\r\n protected processCreate(response: AxiosResponse): Promise {\r\n const status = response.status;\r\n let _headers: any = {};\r\n if (response.headers && typeof response.headers === \"object\") {\r\n for (let k in response.headers) {\r\n if (response.headers.hasOwnProperty(k)) {\r\n _headers[k] = response.headers[k];\r\n }\r\n }\r\n }\r\n if (status === 200) {\r\n const _responseText = response.data;\r\n let result200: any = null;\r\n let resultData200 = _responseText;\r\n result200 = resultData200 !== undefined ? resultData200 : null;\r\n return result200;\r\n } else if (status !== 200 && status !== 204) {\r\n const _responseText = response.data;\r\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\r\n }\r\n return Promise.resolve(null);\r\n }\r\n\r\n getLearnerGoalSelector(userId: string , cancelToken?: CancelToken | undefined): Promise {\r\n let url_ = this.baseUrl + \"/Goal/GetLearnerGoalSelector/{userId}\";\r\n if (userId === undefined || userId === null)\r\n throw new Error(\"The parameter 'userId' must be defined.\");\r\n url_ = url_.replace(\"{userId}\", encodeURIComponent(\"\" + userId));\r\n url_ = url_.replace(/[?&]$/, \"\");\r\n\r\n let options_ = {\r\n method: \"GET\",\r\n url: url_,\r\n headers: {\r\n \"Accept\": \"application/json\"\r\n },\r\n cancelToken\r\n };\r\n\r\n return this.instance.request(options_).catch((_error: any) => {\r\n if (isAxiosError(_error) && _error.response) {\r\n return _error.response;\r\n } else {\r\n throw _error;\r\n }\r\n }).then((_response: AxiosResponse) => {\r\n return this.processGetLearnerGoalSelector(_response);\r\n });\r\n }\r\n\r\n protected processGetLearnerGoalSelector(response: AxiosResponse): Promise {\r\n const status = response.status;\r\n let _headers: any = {};\r\n if (response.headers && typeof response.headers === \"object\") {\r\n for (let k in response.headers) {\r\n if (response.headers.hasOwnProperty(k)) {\r\n _headers[k] = response.headers[k];\r\n }\r\n }\r\n }\r\n let _mappings: { source: any, target: any }[] = [];\r\n if (status === 200) {\r\n const _responseText = response.data;\r\n let result200: any = null;\r\n let resultData200 = _responseText;\r\n result200 = GoalSelectorVm.fromJS(resultData200, _mappings);\r\n return result200;\r\n } else if (status !== 200 && status !== 204) {\r\n const _responseText = response.data;\r\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\r\n }\r\n return Promise.resolve(null);\r\n }\r\n}\r\n\r\nexport class GoalPromptService {\r\n private instance: AxiosInstance;\r\n private baseUrl: string;\r\n protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined;\r\n\r\n constructor(baseUrl?: string, instance?: AxiosInstance) {\r\n this.instance = instance ? instance : axios.create();\r\n this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : \"\";\r\n }\r\n\r\n getGoalPrompts( cancelToken?: CancelToken | undefined): Promise {\r\n let url_ = this.baseUrl + \"/GoalPrompt\";\r\n url_ = url_.replace(/[?&]$/, \"\");\r\n\r\n let options_ = {\r\n method: \"GET\",\r\n url: url_,\r\n headers: {\r\n \"Accept\": \"application/json\"\r\n },\r\n cancelToken\r\n };\r\n\r\n return this.instance.request(options_).catch((_error: any) => {\r\n if (isAxiosError(_error) && _error.response) {\r\n return _error.response;\r\n } else {\r\n throw _error;\r\n }\r\n }).then((_response: AxiosResponse) => {\r\n return this.processGetGoalPrompts(_response);\r\n });\r\n }\r\n\r\n protected processGetGoalPrompts(response: AxiosResponse): Promise {\r\n const status = response.status;\r\n let _headers: any = {};\r\n if (response.headers && typeof response.headers === \"object\") {\r\n for (let k in response.headers) {\r\n if (response.headers.hasOwnProperty(k)) {\r\n _headers[k] = response.headers[k];\r\n }\r\n }\r\n }\r\n let _mappings: { source: any, target: any }[] = [];\r\n if (status === 200) {\r\n const _responseText = response.data;\r\n let result200: any = null;\r\n let resultData200 = _responseText;\r\n if (Array.isArray(resultData200)) {\r\n result200 = [] as any;\r\n for (let item of resultData200)\r\n result200!.push(GoalPromptDto.fromJS(item, _mappings) as GoalPromptDto);\r\n }\r\n else {\r\n result200 = null;\r\n }\r\n return result200;\r\n } else if (status !== 200 && status !== 204) {\r\n const _responseText = response.data;\r\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\r\n }\r\n return Promise.resolve(null);\r\n }\r\n\r\n saveGoalPrompt(command: SaveGoalPromptCommand , cancelToken?: CancelToken | undefined): Promise {\r\n let url_ = this.baseUrl + \"/GoalPrompt\";\r\n url_ = url_.replace(/[?&]$/, \"\");\r\n\r\n const content_ = JSON.stringify(command);\r\n\r\n let options_ = {\r\n data: content_,\r\n method: \"PUT\",\r\n url: url_,\r\n headers: {\r\n \"Content-Type\": \"application/json\",\r\n \"Accept\": \"application/json\"\r\n },\r\n cancelToken\r\n };\r\n\r\n return this.instance.request(options_).catch((_error: any) => {\r\n if (isAxiosError(_error) && _error.response) {\r\n return _error.response;\r\n } else {\r\n throw _error;\r\n }\r\n }).then((_response: AxiosResponse) => {\r\n return this.processSaveGoalPrompt(_response);\r\n });\r\n }\r\n\r\n protected processSaveGoalPrompt(response: AxiosResponse): Promise {\r\n const status = response.status;\r\n let _headers: any = {};\r\n if (response.headers && typeof response.headers === \"object\") {\r\n for (let k in response.headers) {\r\n if (response.headers.hasOwnProperty(k)) {\r\n _headers[k] = response.headers[k];\r\n }\r\n }\r\n }\r\n if (status === 200) {\r\n const _responseText = response.data;\r\n let result200: any = null;\r\n let resultData200 = _responseText;\r\n result200 = resultData200 !== undefined ? resultData200 : null;\r\n return result200;\r\n } else if (status !== 200 && status !== 204) {\r\n const _responseText = response.data;\r\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\r\n }\r\n return Promise.resolve(null);\r\n }\r\n}\r\n\r\nexport class LeaMetadataService {\r\n private instance: AxiosInstance;\r\n private baseUrl: string;\r\n protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined;\r\n\r\n constructor(baseUrl?: string, instance?: AxiosInstance) {\r\n this.instance = instance ? instance : axios.create();\r\n this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : \"\";\r\n }\r\n\r\n getLEAs(districtLea: string | null , cancelToken?: CancelToken | undefined): Promise {\r\n let url_ = this.baseUrl + \"/LeaMetadata/{districtLea}/leams-info\";\r\n if (districtLea === undefined || districtLea === null)\r\n throw new Error(\"The parameter 'districtLea' must be defined.\");\r\n url_ = url_.replace(\"{districtLea}\", encodeURIComponent(\"\" + districtLea));\r\n url_ = url_.replace(/[?&]$/, \"\");\r\n\r\n let options_ = {\r\n method: \"GET\",\r\n url: url_,\r\n headers: {\r\n \"Accept\": \"application/json\"\r\n },\r\n cancelToken\r\n };\r\n\r\n return this.instance.request(options_).catch((_error: any) => {\r\n if (isAxiosError(_error) && _error.response) {\r\n return _error.response;\r\n } else {\r\n throw _error;\r\n }\r\n }).then((_response: AxiosResponse) => {\r\n return this.processGetLEAs(_response);\r\n });\r\n }\r\n\r\n protected processGetLEAs(response: AxiosResponse): Promise {\r\n const status = response.status;\r\n let _headers: any = {};\r\n if (response.headers && typeof response.headers === \"object\") {\r\n for (let k in response.headers) {\r\n if (response.headers.hasOwnProperty(k)) {\r\n _headers[k] = response.headers[k];\r\n }\r\n }\r\n }\r\n let _mappings: { source: any, target: any }[] = [];\r\n if (status === 200) {\r\n const _responseText = response.data;\r\n let result200: any = null;\r\n let resultData200 = _responseText;\r\n result200 = DistrictLeaInformationDto.fromJS(resultData200, _mappings);\r\n return result200;\r\n } else if (status !== 200 && status !== 204) {\r\n const _responseText = response.data;\r\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\r\n }\r\n return Promise.resolve(null);\r\n }\r\n\r\n getLEAMetadata( cancelToken?: CancelToken | undefined): Promise {\r\n let url_ = this.baseUrl + \"/LeaMetadata/leas\";\r\n url_ = url_.replace(/[?&]$/, \"\");\r\n\r\n let options_ = {\r\n method: \"GET\",\r\n url: url_,\r\n headers: {\r\n \"Accept\": \"application/json\"\r\n },\r\n cancelToken\r\n };\r\n\r\n return this.instance.request(options_).catch((_error: any) => {\r\n if (isAxiosError(_error) && _error.response) {\r\n return _error.response;\r\n } else {\r\n throw _error;\r\n }\r\n }).then((_response: AxiosResponse) => {\r\n return this.processGetLEAMetadata(_response);\r\n });\r\n }\r\n\r\n protected processGetLEAMetadata(response: AxiosResponse): Promise {\r\n const status = response.status;\r\n let _headers: any = {};\r\n if (response.headers && typeof response.headers === \"object\") {\r\n for (let k in response.headers) {\r\n if (response.headers.hasOwnProperty(k)) {\r\n _headers[k] = response.headers[k];\r\n }\r\n }\r\n }\r\n let _mappings: { source: any, target: any }[] = [];\r\n if (status === 200) {\r\n const _responseText = response.data;\r\n let result200: any = null;\r\n let resultData200 = _responseText;\r\n result200 = LEAListsDto.fromJS(resultData200, _mappings);\r\n return result200;\r\n } else if (status !== 200 && status !== 204) {\r\n const _responseText = response.data;\r\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\r\n }\r\n return Promise.resolve(null);\r\n }\r\n}\r\n\r\nexport class LearnerService {\r\n private instance: AxiosInstance;\r\n private baseUrl: string;\r\n protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined;\r\n\r\n constructor(baseUrl?: string, instance?: AxiosInstance) {\r\n this.instance = instance ? instance : axios.create();\r\n this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : \"\";\r\n }\r\n\r\n getLearnerObservers(learnerId: string , cancelToken?: CancelToken | undefined): Promise {\r\n let url_ = this.baseUrl + \"/Learner/{LearnerId}/learner-observers\";\r\n if (learnerId === undefined || learnerId === null)\r\n throw new Error(\"The parameter 'learnerId' must be defined.\");\r\n url_ = url_.replace(\"{LearnerId}\", encodeURIComponent(\"\" + learnerId));\r\n url_ = url_.replace(/[?&]$/, \"\");\r\n\r\n let options_ = {\r\n method: \"GET\",\r\n url: url_,\r\n headers: {\r\n \"Accept\": \"application/json\"\r\n },\r\n cancelToken\r\n };\r\n\r\n return this.instance.request(options_).catch((_error: any) => {\r\n if (isAxiosError(_error) && _error.response) {\r\n return _error.response;\r\n } else {\r\n throw _error;\r\n }\r\n }).then((_response: AxiosResponse) => {\r\n return this.processGetLearnerObservers(_response);\r\n });\r\n }\r\n\r\n protected processGetLearnerObservers(response: AxiosResponse): Promise {\r\n const status = response.status;\r\n let _headers: any = {};\r\n if (response.headers && typeof response.headers === \"object\") {\r\n for (let k in response.headers) {\r\n if (response.headers.hasOwnProperty(k)) {\r\n _headers[k] = response.headers[k];\r\n }\r\n }\r\n }\r\n let _mappings: { source: any, target: any }[] = [];\r\n if (status === 200) {\r\n const _responseText = response.data;\r\n let result200: any = null;\r\n let resultData200 = _responseText;\r\n if (Array.isArray(resultData200)) {\r\n result200 = [] as any;\r\n for (let item of resultData200)\r\n result200!.push(LearnerObserverDTO.fromJS(item, _mappings) as LearnerObserverDTO);\r\n }\r\n else {\r\n result200 = null;\r\n }\r\n return result200;\r\n } else if (status !== 200 && status !== 204) {\r\n const _responseText = response.data;\r\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\r\n }\r\n return Promise.resolve(null);\r\n }\r\n\r\n getLearnerRubricComponentQuickSelect(learnerId: string , cancelToken?: CancelToken | undefined): Promise {\r\n let url_ = this.baseUrl + \"/Learner/{LearnerId}/rubric-component-select\";\r\n if (learnerId === undefined || learnerId === null)\r\n throw new Error(\"The parameter 'learnerId' must be defined.\");\r\n url_ = url_.replace(\"{LearnerId}\", encodeURIComponent(\"\" + learnerId));\r\n url_ = url_.replace(/[?&]$/, \"\");\r\n\r\n let options_ = {\r\n method: \"GET\",\r\n url: url_,\r\n headers: {\r\n \"Accept\": \"application/json\"\r\n },\r\n cancelToken\r\n };\r\n\r\n return this.instance.request(options_).catch((_error: any) => {\r\n if (isAxiosError(_error) && _error.response) {\r\n return _error.response;\r\n } else {\r\n throw _error;\r\n }\r\n }).then((_response: AxiosResponse) => {\r\n return this.processGetLearnerRubricComponentQuickSelect(_response);\r\n });\r\n }\r\n\r\n protected processGetLearnerRubricComponentQuickSelect(response: AxiosResponse): Promise {\r\n const status = response.status;\r\n let _headers: any = {};\r\n if (response.headers && typeof response.headers === \"object\") {\r\n for (let k in response.headers) {\r\n if (response.headers.hasOwnProperty(k)) {\r\n _headers[k] = response.headers[k];\r\n }\r\n }\r\n }\r\n let _mappings: { source: any, target: any }[] = [];\r\n if (status === 200) {\r\n const _responseText = response.data;\r\n let result200: any = null;\r\n let resultData200 = _responseText;\r\n if (Array.isArray(resultData200)) {\r\n result200 = [] as any;\r\n for (let item of resultData200)\r\n result200!.push(RubricComponentKeyQuickSelector.fromJS(item, _mappings) as RubricComponentKeyQuickSelector);\r\n }\r\n else {\r\n result200 = null;\r\n }\r\n return result200;\r\n } else if (status !== 200 && status !== 204) {\r\n const _responseText = response.data;\r\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\r\n }\r\n return Promise.resolve(null);\r\n }\r\n\r\n getHasRubric(userId: string , cancelToken?: CancelToken | undefined): Promise {\r\n let url_ = this.baseUrl + \"/Learner/GetHasRubric/{userId}\";\r\n if (userId === undefined || userId === null)\r\n throw new Error(\"The parameter 'userId' must be defined.\");\r\n url_ = url_.replace(\"{userId}\", encodeURIComponent(\"\" + userId));\r\n url_ = url_.replace(/[?&]$/, \"\");\r\n\r\n let options_ = {\r\n method: \"GET\",\r\n url: url_,\r\n headers: {\r\n \"Accept\": \"application/json\"\r\n },\r\n cancelToken\r\n };\r\n\r\n return this.instance.request(options_).catch((_error: any) => {\r\n if (isAxiosError(_error) && _error.response) {\r\n return _error.response;\r\n } else {\r\n throw _error;\r\n }\r\n }).then((_response: AxiosResponse) => {\r\n return this.processGetHasRubric(_response);\r\n });\r\n }\r\n\r\n protected processGetHasRubric(response: AxiosResponse): Promise {\r\n const status = response.status;\r\n let _headers: any = {};\r\n if (response.headers && typeof response.headers === \"object\") {\r\n for (let k in response.headers) {\r\n if (response.headers.hasOwnProperty(k)) {\r\n _headers[k] = response.headers[k];\r\n }\r\n }\r\n }\r\n if (status === 200) {\r\n const _responseText = response.data;\r\n let result200: any = null;\r\n let resultData200 = _responseText;\r\n result200 = resultData200 !== undefined ? resultData200 : null;\r\n return result200;\r\n } else if (status !== 200 && status !== 204) {\r\n const _responseText = response.data;\r\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\r\n }\r\n return Promise.resolve(null);\r\n }\r\n\r\n getUserRubric(userId: string , cancelToken?: CancelToken | undefined): Promise {\r\n let url_ = this.baseUrl + \"/Learner/GetUserRubric/{userId}\";\r\n if (userId === undefined || userId === null)\r\n throw new Error(\"The parameter 'userId' must be defined.\");\r\n url_ = url_.replace(\"{userId}\", encodeURIComponent(\"\" + userId));\r\n url_ = url_.replace(/[?&]$/, \"\");\r\n\r\n let options_ = {\r\n method: \"GET\",\r\n url: url_,\r\n headers: {\r\n \"Accept\": \"application/json\"\r\n },\r\n cancelToken\r\n };\r\n\r\n return this.instance.request(options_).catch((_error: any) => {\r\n if (isAxiosError(_error) && _error.response) {\r\n return _error.response;\r\n } else {\r\n throw _error;\r\n }\r\n }).then((_response: AxiosResponse) => {\r\n return this.processGetUserRubric(_response);\r\n });\r\n }\r\n\r\n protected processGetUserRubric(response: AxiosResponse): Promise {\r\n const status = response.status;\r\n let _headers: any = {};\r\n if (response.headers && typeof response.headers === \"object\") {\r\n for (let k in response.headers) {\r\n if (response.headers.hasOwnProperty(k)) {\r\n _headers[k] = response.headers[k];\r\n }\r\n }\r\n }\r\n let _mappings: { source: any, target: any }[] = [];\r\n if (status === 200) {\r\n const _responseText = response.data;\r\n let result200: any = null;\r\n let resultData200 = _responseText;\r\n result200 = LearnerRubricDto.fromJS(resultData200, _mappings);\r\n return result200;\r\n } else if (status !== 200 && status !== 204) {\r\n const _responseText = response.data;\r\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\r\n }\r\n return Promise.resolve(null);\r\n }\r\n\r\n getLearnerArchives(learnerId: string , cancelToken?: CancelToken | undefined): Promise {\r\n let url_ = this.baseUrl + \"/Learner/{LearnerId}/archives\";\r\n if (learnerId === undefined || learnerId === null)\r\n throw new Error(\"The parameter 'learnerId' must be defined.\");\r\n url_ = url_.replace(\"{LearnerId}\", encodeURIComponent(\"\" + learnerId));\r\n url_ = url_.replace(/[?&]$/, \"\");\r\n\r\n let options_ = {\r\n method: \"GET\",\r\n url: url_,\r\n headers: {\r\n \"Accept\": \"application/json\"\r\n },\r\n cancelToken\r\n };\r\n\r\n return this.instance.request(options_).catch((_error: any) => {\r\n if (isAxiosError(_error) && _error.response) {\r\n return _error.response;\r\n } else {\r\n throw _error;\r\n }\r\n }).then((_response: AxiosResponse) => {\r\n return this.processGetLearnerArchives(_response);\r\n });\r\n }\r\n\r\n protected processGetLearnerArchives(response: AxiosResponse): Promise {\r\n const status = response.status;\r\n let _headers: any = {};\r\n if (response.headers && typeof response.headers === \"object\") {\r\n for (let k in response.headers) {\r\n if (response.headers.hasOwnProperty(k)) {\r\n _headers[k] = response.headers[k];\r\n }\r\n }\r\n }\r\n let _mappings: { source: any, target: any }[] = [];\r\n if (status === 200) {\r\n const _responseText = response.data;\r\n let result200: any = null;\r\n let resultData200 = _responseText;\r\n if (Array.isArray(resultData200)) {\r\n result200 = [] as any;\r\n for (let item of resultData200)\r\n result200!.push(LearnerArchiveDTO.fromJS(item, _mappings) as LearnerArchiveDTO);\r\n }\r\n else {\r\n result200 = null;\r\n }\r\n return result200;\r\n } else if (status !== 200 && status !== 204) {\r\n const _responseText = response.data;\r\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\r\n }\r\n return Promise.resolve(null);\r\n }\r\n\r\n getLearnerYearStatus(learnerId: string , cancelToken?: CancelToken | undefined): Promise {\r\n let url_ = this.baseUrl + \"/Learner/{LearnerId}/year/status\";\r\n if (learnerId === undefined || learnerId === null)\r\n throw new Error(\"The parameter 'learnerId' must be defined.\");\r\n url_ = url_.replace(\"{LearnerId}\", encodeURIComponent(\"\" + learnerId));\r\n url_ = url_.replace(/[?&]$/, \"\");\r\n\r\n let options_ = {\r\n method: \"GET\",\r\n url: url_,\r\n headers: {\r\n \"Accept\": \"application/json\"\r\n },\r\n cancelToken\r\n };\r\n\r\n return this.instance.request(options_).catch((_error: any) => {\r\n if (isAxiosError(_error) && _error.response) {\r\n return _error.response;\r\n } else {\r\n throw _error;\r\n }\r\n }).then((_response: AxiosResponse) => {\r\n return this.processGetLearnerYearStatus(_response);\r\n });\r\n }\r\n\r\n protected processGetLearnerYearStatus(response: AxiosResponse): Promise {\r\n const status = response.status;\r\n let _headers: any = {};\r\n if (response.headers && typeof response.headers === \"object\") {\r\n for (let k in response.headers) {\r\n if (response.headers.hasOwnProperty(k)) {\r\n _headers[k] = response.headers[k];\r\n }\r\n }\r\n }\r\n if (status === 200) {\r\n const _responseText = response.data;\r\n let result200: any = null;\r\n let resultData200 = _responseText;\r\n result200 = resultData200 !== undefined ? resultData200 : null;\r\n return result200;\r\n } else if (status !== 200 && status !== 204) {\r\n const _responseText = response.data;\r\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\r\n }\r\n return Promise.resolve(null);\r\n }\r\n}\r\n\r\nexport class MeetingService {\r\n private instance: AxiosInstance;\r\n private baseUrl: string;\r\n protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined;\r\n\r\n constructor(baseUrl?: string, instance?: AxiosInstance) {\r\n this.instance = instance ? instance : axios.create();\r\n this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : \"\";\r\n }\r\n\r\n getTodaysMeetings(userId: string , cancelToken?: CancelToken | undefined): Promise {\r\n let url_ = this.baseUrl + \"/Meeting/GetTodaysMeetings/{userId}\";\r\n if (userId === undefined || userId === null)\r\n throw new Error(\"The parameter 'userId' must be defined.\");\r\n url_ = url_.replace(\"{userId}\", encodeURIComponent(\"\" + userId));\r\n url_ = url_.replace(/[?&]$/, \"\");\r\n\r\n let options_ = {\r\n method: \"GET\",\r\n url: url_,\r\n headers: {\r\n \"Accept\": \"application/json\"\r\n },\r\n cancelToken\r\n };\r\n\r\n return this.instance.request(options_).catch((_error: any) => {\r\n if (isAxiosError(_error) && _error.response) {\r\n return _error.response;\r\n } else {\r\n throw _error;\r\n }\r\n }).then((_response: AxiosResponse) => {\r\n return this.processGetTodaysMeetings(_response);\r\n });\r\n }\r\n\r\n protected processGetTodaysMeetings(response: AxiosResponse): Promise {\r\n const status = response.status;\r\n let _headers: any = {};\r\n if (response.headers && typeof response.headers === \"object\") {\r\n for (let k in response.headers) {\r\n if (response.headers.hasOwnProperty(k)) {\r\n _headers[k] = response.headers[k];\r\n }\r\n }\r\n }\r\n let _mappings: { source: any, target: any }[] = [];\r\n if (status === 200) {\r\n const _responseText = response.data;\r\n let result200: any = null;\r\n let resultData200 = _responseText;\r\n if (Array.isArray(resultData200)) {\r\n result200 = [] as any;\r\n for (let item of resultData200)\r\n result200!.push(MeetingDto.fromJS(item, _mappings) as MeetingDto);\r\n }\r\n else {\r\n result200 = null;\r\n }\r\n return result200;\r\n } else if (status !== 200 && status !== 204) {\r\n const _responseText = response.data;\r\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\r\n }\r\n return Promise.resolve(null);\r\n }\r\n\r\n getMeetingsForTimePeriod(periodStart: Date | null, periodEnd: Date | null, userId: string , cancelToken?: CancelToken | undefined): Promise {\r\n let url_ = this.baseUrl + \"/Meeting/range?\";\r\n if (periodStart === undefined)\r\n throw new Error(\"The parameter 'periodStart' must be defined.\");\r\n else if(periodStart !== null)\r\n url_ += \"periodStart=\" + encodeURIComponent(periodStart ? \"\" + periodStart.toJSON() : \"\") + \"&\";\r\n if (periodEnd === undefined)\r\n throw new Error(\"The parameter 'periodEnd' must be defined.\");\r\n else if(periodEnd !== null)\r\n url_ += \"periodEnd=\" + encodeURIComponent(periodEnd ? \"\" + periodEnd.toJSON() : \"\") + \"&\";\r\n if (userId === undefined || userId === null)\r\n throw new Error(\"The parameter 'userId' must be defined and cannot be null.\");\r\n else\r\n url_ += \"userId=\" + encodeURIComponent(\"\" + userId) + \"&\";\r\n url_ = url_.replace(/[?&]$/, \"\");\r\n\r\n let options_ = {\r\n method: \"GET\",\r\n url: url_,\r\n headers: {\r\n \"Accept\": \"application/json\"\r\n },\r\n cancelToken\r\n };\r\n\r\n return this.instance.request(options_).catch((_error: any) => {\r\n if (isAxiosError(_error) && _error.response) {\r\n return _error.response;\r\n } else {\r\n throw _error;\r\n }\r\n }).then((_response: AxiosResponse) => {\r\n return this.processGetMeetingsForTimePeriod(_response);\r\n });\r\n }\r\n\r\n protected processGetMeetingsForTimePeriod(response: AxiosResponse): Promise {\r\n const status = response.status;\r\n let _headers: any = {};\r\n if (response.headers && typeof response.headers === \"object\") {\r\n for (let k in response.headers) {\r\n if (response.headers.hasOwnProperty(k)) {\r\n _headers[k] = response.headers[k];\r\n }\r\n }\r\n }\r\n let _mappings: { source: any, target: any }[] = [];\r\n if (status === 200) {\r\n const _responseText = response.data;\r\n let result200: any = null;\r\n let resultData200 = _responseText;\r\n if (Array.isArray(resultData200)) {\r\n result200 = [] as any;\r\n for (let item of resultData200)\r\n result200!.push(MeetingDto.fromJS(item, _mappings) as MeetingDto);\r\n }\r\n else {\r\n result200 = null;\r\n }\r\n return result200;\r\n } else if (status !== 200 && status !== 204) {\r\n const _responseText = response.data;\r\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\r\n }\r\n return Promise.resolve(null);\r\n }\r\n}\r\n\r\nexport class MessageThreadService {\r\n private instance: AxiosInstance;\r\n private baseUrl: string;\r\n protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined;\r\n\r\n constructor(baseUrl?: string, instance?: AxiosInstance) {\r\n this.instance = instance ? instance : axios.create();\r\n this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : \"\";\r\n }\r\n\r\n getLearnerMessageThread(learnerId: string, lastMessageId: number , cancelToken?: CancelToken | undefined): Promise {\r\n let url_ = this.baseUrl + \"/MessageThread/GetLearnerMessageThread/{learnerId}/{lastMessageId}\";\r\n if (learnerId === undefined || learnerId === null)\r\n throw new Error(\"The parameter 'learnerId' must be defined.\");\r\n url_ = url_.replace(\"{learnerId}\", encodeURIComponent(\"\" + learnerId));\r\n if (lastMessageId === undefined || lastMessageId === null)\r\n throw new Error(\"The parameter 'lastMessageId' must be defined.\");\r\n url_ = url_.replace(\"{lastMessageId}\", encodeURIComponent(\"\" + lastMessageId));\r\n url_ = url_.replace(/[?&]$/, \"\");\r\n\r\n let options_ = {\r\n method: \"GET\",\r\n url: url_,\r\n headers: {\r\n \"Accept\": \"application/json\"\r\n },\r\n cancelToken\r\n };\r\n\r\n return this.instance.request(options_).catch((_error: any) => {\r\n if (isAxiosError(_error) && _error.response) {\r\n return _error.response;\r\n } else {\r\n throw _error;\r\n }\r\n }).then((_response: AxiosResponse) => {\r\n return this.processGetLearnerMessageThread(_response);\r\n });\r\n }\r\n\r\n protected processGetLearnerMessageThread(response: AxiosResponse): Promise {\r\n const status = response.status;\r\n let _headers: any = {};\r\n if (response.headers && typeof response.headers === \"object\") {\r\n for (let k in response.headers) {\r\n if (response.headers.hasOwnProperty(k)) {\r\n _headers[k] = response.headers[k];\r\n }\r\n }\r\n }\r\n let _mappings: { source: any, target: any }[] = [];\r\n if (status === 200) {\r\n const _responseText = response.data;\r\n let result200: any = null;\r\n let resultData200 = _responseText;\r\n result200 = MessageThreadPagingVM.fromJS(resultData200, _mappings);\r\n return result200;\r\n } else if (status !== 200 && status !== 204) {\r\n const _responseText = response.data;\r\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\r\n }\r\n return Promise.resolve(null);\r\n }\r\n\r\n getUnreadMessageCountList( cancelToken?: CancelToken | undefined): Promise {\r\n let url_ = this.baseUrl + \"/MessageThread/GetUnreadMessageCountList\";\r\n url_ = url_.replace(/[?&]$/, \"\");\r\n\r\n let options_ = {\r\n method: \"GET\",\r\n url: url_,\r\n headers: {\r\n \"Accept\": \"application/json\"\r\n },\r\n cancelToken\r\n };\r\n\r\n return this.instance.request(options_).catch((_error: any) => {\r\n if (isAxiosError(_error) && _error.response) {\r\n return _error.response;\r\n } else {\r\n throw _error;\r\n }\r\n }).then((_response: AxiosResponse) => {\r\n return this.processGetUnreadMessageCountList(_response);\r\n });\r\n }\r\n\r\n protected processGetUnreadMessageCountList(response: AxiosResponse): Promise {\r\n const status = response.status;\r\n let _headers: any = {};\r\n if (response.headers && typeof response.headers === \"object\") {\r\n for (let k in response.headers) {\r\n if (response.headers.hasOwnProperty(k)) {\r\n _headers[k] = response.headers[k];\r\n }\r\n }\r\n }\r\n let _mappings: { source: any, target: any }[] = [];\r\n if (status === 200) {\r\n const _responseText = response.data;\r\n let result200: any = null;\r\n let resultData200 = _responseText;\r\n if (Array.isArray(resultData200)) {\r\n result200 = [] as any;\r\n for (let item of resultData200)\r\n result200!.push(MessageThreadUnreadCountVm.fromJS(item, _mappings) as MessageThreadUnreadCountVm);\r\n }\r\n else {\r\n result200 = null;\r\n }\r\n return result200;\r\n } else if (status !== 200 && status !== 204) {\r\n const _responseText = response.data;\r\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\r\n }\r\n return Promise.resolve(null);\r\n }\r\n\r\n createMessage(command: CreateMessageCommand , cancelToken?: CancelToken | undefined): Promise {\r\n let url_ = this.baseUrl + \"/MessageThread/CreateMessage\";\r\n url_ = url_.replace(/[?&]$/, \"\");\r\n\r\n const content_ = JSON.stringify(command);\r\n\r\n let options_ = {\r\n data: content_,\r\n method: \"POST\",\r\n url: url_,\r\n headers: {\r\n \"Content-Type\": \"application/json\",\r\n \"Accept\": \"application/json\"\r\n },\r\n cancelToken\r\n };\r\n\r\n return this.instance.request(options_).catch((_error: any) => {\r\n if (isAxiosError(_error) && _error.response) {\r\n return _error.response;\r\n } else {\r\n throw _error;\r\n }\r\n }).then((_response: AxiosResponse) => {\r\n return this.processCreateMessage(_response);\r\n });\r\n }\r\n\r\n protected processCreateMessage(response: AxiosResponse): Promise {\r\n const status = response.status;\r\n let _headers: any = {};\r\n if (response.headers && typeof response.headers === \"object\") {\r\n for (let k in response.headers) {\r\n if (response.headers.hasOwnProperty(k)) {\r\n _headers[k] = response.headers[k];\r\n }\r\n }\r\n }\r\n let _mappings: { source: any, target: any }[] = [];\r\n if (status === 200) {\r\n const _responseText = response.data;\r\n let result200: any = null;\r\n let resultData200 = _responseText;\r\n result200 = MessageDTO.fromJS(resultData200, _mappings);\r\n return result200;\r\n } else if (status !== 200 && status !== 204) {\r\n const _responseText = response.data;\r\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\r\n }\r\n return Promise.resolve(null);\r\n }\r\n\r\n deleteMessage(command: RemoveMessageCommand , cancelToken?: CancelToken | undefined): Promise {\r\n let url_ = this.baseUrl + \"/MessageThread/DeleteMessage\";\r\n url_ = url_.replace(/[?&]$/, \"\");\r\n\r\n const content_ = JSON.stringify(command);\r\n\r\n let options_ = {\r\n data: content_,\r\n method: \"DELETE\",\r\n url: url_,\r\n headers: {\r\n \"Content-Type\": \"application/json\",\r\n \"Accept\": \"application/json\"\r\n },\r\n cancelToken\r\n };\r\n\r\n return this.instance.request(options_).catch((_error: any) => {\r\n if (isAxiosError(_error) && _error.response) {\r\n return _error.response;\r\n } else {\r\n throw _error;\r\n }\r\n }).then((_response: AxiosResponse) => {\r\n return this.processDeleteMessage(_response);\r\n });\r\n }\r\n\r\n protected processDeleteMessage(response: AxiosResponse): Promise {\r\n const status = response.status;\r\n let _headers: any = {};\r\n if (response.headers && typeof response.headers === \"object\") {\r\n for (let k in response.headers) {\r\n if (response.headers.hasOwnProperty(k)) {\r\n _headers[k] = response.headers[k];\r\n }\r\n }\r\n }\r\n if (status === 200) {\r\n const _responseText = response.data;\r\n let result200: any = null;\r\n let resultData200 = _responseText;\r\n result200 = resultData200 !== undefined ? resultData200 : null;\r\n return result200;\r\n } else if (status !== 200 && status !== 204) {\r\n const _responseText = response.data;\r\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\r\n }\r\n return Promise.resolve(null);\r\n }\r\n\r\n createMessageReadState(command: CreateMessageReadStateCommand , cancelToken?: CancelToken | undefined): Promise {\r\n let url_ = this.baseUrl + \"/MessageThread/CreateMessageReadState\";\r\n url_ = url_.replace(/[?&]$/, \"\");\r\n\r\n const content_ = JSON.stringify(command);\r\n\r\n let options_ = {\r\n data: content_,\r\n method: \"POST\",\r\n url: url_,\r\n headers: {\r\n \"Content-Type\": \"application/json\",\r\n \"Accept\": \"application/json\"\r\n },\r\n cancelToken\r\n };\r\n\r\n return this.instance.request(options_).catch((_error: any) => {\r\n if (isAxiosError(_error) && _error.response) {\r\n return _error.response;\r\n } else {\r\n throw _error;\r\n }\r\n }).then((_response: AxiosResponse) => {\r\n return this.processCreateMessageReadState(_response);\r\n });\r\n }\r\n\r\n protected processCreateMessageReadState(response: AxiosResponse): Promise {\r\n const status = response.status;\r\n let _headers: any = {};\r\n if (response.headers && typeof response.headers === \"object\") {\r\n for (let k in response.headers) {\r\n if (response.headers.hasOwnProperty(k)) {\r\n _headers[k] = response.headers[k];\r\n }\r\n }\r\n }\r\n if (status === 200) {\r\n const _responseText = response.data;\r\n let result200: any = null;\r\n let resultData200 = _responseText;\r\n result200 = resultData200 !== undefined ? resultData200 : null;\r\n return result200;\r\n } else if (status !== 200 && status !== 204) {\r\n const _responseText = response.data;\r\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\r\n }\r\n return Promise.resolve(null);\r\n }\r\n}\r\n\r\nexport class MetadataService {\r\n private instance: AxiosInstance;\r\n private baseUrl: string;\r\n protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined;\r\n\r\n constructor(baseUrl?: string, instance?: AxiosInstance) {\r\n this.instance = instance ? instance : axios.create();\r\n this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : \"\";\r\n }\r\n\r\n getApplicationMetadata( cancelToken?: CancelToken | undefined): Promise {\r\n let url_ = this.baseUrl + \"/Metadata\";\r\n url_ = url_.replace(/[?&]$/, \"\");\r\n\r\n let options_ = {\r\n method: \"GET\",\r\n url: url_,\r\n headers: {\r\n \"Accept\": \"application/json\"\r\n },\r\n cancelToken\r\n };\r\n\r\n return this.instance.request(options_).catch((_error: any) => {\r\n if (isAxiosError(_error) && _error.response) {\r\n return _error.response;\r\n } else {\r\n throw _error;\r\n }\r\n }).then((_response: AxiosResponse) => {\r\n return this.processGetApplicationMetadata(_response);\r\n });\r\n }\r\n\r\n protected processGetApplicationMetadata(response: AxiosResponse): Promise {\r\n const status = response.status;\r\n let _headers: any = {};\r\n if (response.headers && typeof response.headers === \"object\") {\r\n for (let k in response.headers) {\r\n if (response.headers.hasOwnProperty(k)) {\r\n _headers[k] = response.headers[k];\r\n }\r\n }\r\n }\r\n let _mappings: { source: any, target: any }[] = [];\r\n if (status === 200) {\r\n const _responseText = response.data;\r\n let result200: any = null;\r\n let resultData200 = _responseText;\r\n result200 = ApplicationMetadataDTO.fromJS(resultData200, _mappings);\r\n return result200;\r\n } else if (status !== 200 && status !== 204) {\r\n const _responseText = response.data;\r\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\r\n }\r\n return Promise.resolve(null);\r\n }\r\n}\r\n\r\nexport class NotificationService {\r\n private instance: AxiosInstance;\r\n private baseUrl: string;\r\n protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined;\r\n\r\n constructor(baseUrl?: string, instance?: AxiosInstance) {\r\n this.instance = instance ? instance : axios.create();\r\n this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : \"\";\r\n }\r\n\r\n listNotifications(subject?: string | null | undefined, recipient?: string | null | undefined, dateFrom?: Date | null | undefined, dateTo?: Date | null | undefined , cancelToken?: CancelToken | undefined): Promise {\r\n let url_ = this.baseUrl + \"/Notification?\";\r\n if (subject !== undefined && subject !== null)\r\n url_ += \"subject=\" + encodeURIComponent(\"\" + subject) + \"&\";\r\n if (recipient !== undefined && recipient !== null)\r\n url_ += \"recipient=\" + encodeURIComponent(\"\" + recipient) + \"&\";\r\n if (dateFrom !== undefined && dateFrom !== null)\r\n url_ += \"dateFrom=\" + encodeURIComponent(dateFrom ? \"\" + dateFrom.toJSON() : \"\") + \"&\";\r\n if (dateTo !== undefined && dateTo !== null)\r\n url_ += \"dateTo=\" + encodeURIComponent(dateTo ? \"\" + dateTo.toJSON() : \"\") + \"&\";\r\n url_ = url_.replace(/[?&]$/, \"\");\r\n\r\n let options_ = {\r\n method: \"GET\",\r\n url: url_,\r\n headers: {\r\n \"Accept\": \"application/json\"\r\n },\r\n cancelToken\r\n };\r\n\r\n return this.instance.request(options_).catch((_error: any) => {\r\n if (isAxiosError(_error) && _error.response) {\r\n return _error.response;\r\n } else {\r\n throw _error;\r\n }\r\n }).then((_response: AxiosResponse) => {\r\n return this.processListNotifications(_response);\r\n });\r\n }\r\n\r\n protected processListNotifications(response: AxiosResponse): Promise {\r\n const status = response.status;\r\n let _headers: any = {};\r\n if (response.headers && typeof response.headers === \"object\") {\r\n for (let k in response.headers) {\r\n if (response.headers.hasOwnProperty(k)) {\r\n _headers[k] = response.headers[k];\r\n }\r\n }\r\n }\r\n let _mappings: { source: any, target: any }[] = [];\r\n if (status === 200) {\r\n const _responseText = response.data;\r\n let result200: any = null;\r\n let resultData200 = _responseText;\r\n if (Array.isArray(resultData200)) {\r\n result200 = [] as any;\r\n for (let item of resultData200)\r\n result200!.push(EmailNotificationListItem.fromJS(item, _mappings) as EmailNotificationListItem);\r\n }\r\n else {\r\n result200 = null;\r\n }\r\n return result200;\r\n } else if (status !== 200 && status !== 204) {\r\n const _responseText = response.data;\r\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\r\n }\r\n return Promise.resolve(null);\r\n }\r\n}\r\n\r\nexport class ObserverLearnerService {\r\n private instance: AxiosInstance;\r\n private baseUrl: string;\r\n protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined;\r\n\r\n constructor(baseUrl?: string, instance?: AxiosInstance) {\r\n this.instance = instance ? instance : axios.create();\r\n this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : \"\";\r\n }\r\n\r\n getLearnerReviewData(lea: string | null , cancelToken?: CancelToken | undefined): Promise {\r\n let url_ = this.baseUrl + \"/ObserverLearner/{lea}/learner-review\";\r\n if (lea === undefined || lea === null)\r\n throw new Error(\"The parameter 'lea' must be defined.\");\r\n url_ = url_.replace(\"{lea}\", encodeURIComponent(\"\" + lea));\r\n url_ = url_.replace(/[?&]$/, \"\");\r\n\r\n let options_ = {\r\n method: \"GET\",\r\n url: url_,\r\n headers: {\r\n \"Accept\": \"application/json\"\r\n },\r\n cancelToken\r\n };\r\n\r\n return this.instance.request(options_).catch((_error: any) => {\r\n if (isAxiosError(_error) && _error.response) {\r\n return _error.response;\r\n } else {\r\n throw _error;\r\n }\r\n }).then((_response: AxiosResponse) => {\r\n return this.processGetLearnerReviewData(_response);\r\n });\r\n }\r\n\r\n protected processGetLearnerReviewData(response: AxiosResponse): Promise {\r\n const status = response.status;\r\n let _headers: any = {};\r\n if (response.headers && typeof response.headers === \"object\") {\r\n for (let k in response.headers) {\r\n if (response.headers.hasOwnProperty(k)) {\r\n _headers[k] = response.headers[k];\r\n }\r\n }\r\n }\r\n let _mappings: { source: any, target: any }[] = [];\r\n if (status === 200) {\r\n const _responseText = response.data;\r\n let result200: any = null;\r\n let resultData200 = _responseText;\r\n if (Array.isArray(resultData200)) {\r\n result200 = [] as any;\r\n for (let item of resultData200)\r\n result200!.push(LearnerSummativeDataDto.fromJS(item, _mappings) as LearnerSummativeDataDto);\r\n }\r\n else {\r\n result200 = null;\r\n }\r\n return result200;\r\n } else if (status !== 200 && status !== 204) {\r\n const _responseText = response.data;\r\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\r\n }\r\n return Promise.resolve(null);\r\n }\r\n\r\n getObserverLearnerAssignments(lea: string | null , cancelToken?: CancelToken | undefined): Promise {\r\n let url_ = this.baseUrl + \"/ObserverLearner/{lea}/assignments\";\r\n if (lea === undefined || lea === null)\r\n throw new Error(\"The parameter 'lea' must be defined.\");\r\n url_ = url_.replace(\"{lea}\", encodeURIComponent(\"\" + lea));\r\n url_ = url_.replace(/[?&]$/, \"\");\r\n\r\n let options_ = {\r\n method: \"GET\",\r\n url: url_,\r\n headers: {\r\n \"Accept\": \"application/json\"\r\n },\r\n cancelToken\r\n };\r\n\r\n return this.instance.request(options_).catch((_error: any) => {\r\n if (isAxiosError(_error) && _error.response) {\r\n return _error.response;\r\n } else {\r\n throw _error;\r\n }\r\n }).then((_response: AxiosResponse) => {\r\n return this.processGetObserverLearnerAssignments(_response);\r\n });\r\n }\r\n\r\n protected processGetObserverLearnerAssignments(response: AxiosResponse): Promise {\r\n const status = response.status;\r\n let _headers: any = {};\r\n if (response.headers && typeof response.headers === \"object\") {\r\n for (let k in response.headers) {\r\n if (response.headers.hasOwnProperty(k)) {\r\n _headers[k] = response.headers[k];\r\n }\r\n }\r\n }\r\n let _mappings: { source: any, target: any }[] = [];\r\n if (status === 200) {\r\n const _responseText = response.data;\r\n let result200: any = null;\r\n let resultData200 = _responseText;\r\n if (Array.isArray(resultData200)) {\r\n result200 = [] as any;\r\n for (let item of resultData200)\r\n result200!.push(DefaultObserverLearnerAssignmentDto.fromJS(item, _mappings) as DefaultObserverLearnerAssignmentDto);\r\n }\r\n else {\r\n result200 = null;\r\n }\r\n return result200;\r\n } else if (status !== 200 && status !== 204) {\r\n const _responseText = response.data;\r\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\r\n }\r\n return Promise.resolve(null);\r\n }\r\n\r\n setObserverLearnerAssignments(command: CreateObserverLearnerAssignmentsCommand , cancelToken?: CancelToken | undefined): Promise {\r\n let url_ = this.baseUrl + \"/ObserverLearner/assignments\";\r\n url_ = url_.replace(/[?&]$/, \"\");\r\n\r\n const content_ = JSON.stringify(command);\r\n\r\n let options_ = {\r\n data: content_,\r\n method: \"POST\",\r\n url: url_,\r\n headers: {\r\n \"Content-Type\": \"application/json\",\r\n \"Accept\": \"application/json\"\r\n },\r\n cancelToken\r\n };\r\n\r\n return this.instance.request(options_).catch((_error: any) => {\r\n if (isAxiosError(_error) && _error.response) {\r\n return _error.response;\r\n } else {\r\n throw _error;\r\n }\r\n }).then((_response: AxiosResponse) => {\r\n return this.processSetObserverLearnerAssignments(_response);\r\n });\r\n }\r\n\r\n protected processSetObserverLearnerAssignments(response: AxiosResponse): Promise {\r\n const status = response.status;\r\n let _headers: any = {};\r\n if (response.headers && typeof response.headers === \"object\") {\r\n for (let k in response.headers) {\r\n if (response.headers.hasOwnProperty(k)) {\r\n _headers[k] = response.headers[k];\r\n }\r\n }\r\n }\r\n let _mappings: { source: any, target: any }[] = [];\r\n if (status === 200) {\r\n const _responseText = response.data;\r\n let result200: any = null;\r\n let resultData200 = _responseText;\r\n if (Array.isArray(resultData200)) {\r\n result200 = [] as any;\r\n for (let item of resultData200)\r\n result200!.push(ObserverLearnerAssignementResult.fromJS(item, _mappings) as ObserverLearnerAssignementResult);\r\n }\r\n else {\r\n result200 = null;\r\n }\r\n return result200;\r\n } else if (status !== 200 && status !== 204) {\r\n const _responseText = response.data;\r\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\r\n }\r\n return Promise.resolve(null);\r\n }\r\n\r\n clearObserverLearnerAssignments(learnerSummativeDataId: number , cancelToken?: CancelToken | undefined): Promise {\r\n let url_ = this.baseUrl + \"/ObserverLearner/assignments/{learnerSummativeDataId}\";\r\n if (learnerSummativeDataId === undefined || learnerSummativeDataId === null)\r\n throw new Error(\"The parameter 'learnerSummativeDataId' must be defined.\");\r\n url_ = url_.replace(\"{learnerSummativeDataId}\", encodeURIComponent(\"\" + learnerSummativeDataId));\r\n url_ = url_.replace(/[?&]$/, \"\");\r\n\r\n let options_ = {\r\n method: \"DELETE\",\r\n url: url_,\r\n headers: {\r\n \"Accept\": \"application/json\"\r\n },\r\n cancelToken\r\n };\r\n\r\n return this.instance.request(options_).catch((_error: any) => {\r\n if (isAxiosError(_error) && _error.response) {\r\n return _error.response;\r\n } else {\r\n throw _error;\r\n }\r\n }).then((_response: AxiosResponse) => {\r\n return this.processClearObserverLearnerAssignments(_response);\r\n });\r\n }\r\n\r\n protected processClearObserverLearnerAssignments(response: AxiosResponse): Promise {\r\n const status = response.status;\r\n let _headers: any = {};\r\n if (response.headers && typeof response.headers === \"object\") {\r\n for (let k in response.headers) {\r\n if (response.headers.hasOwnProperty(k)) {\r\n _headers[k] = response.headers[k];\r\n }\r\n }\r\n }\r\n if (status === 200) {\r\n const _responseText = response.data;\r\n let result200: any = null;\r\n let resultData200 = _responseText;\r\n result200 = resultData200 !== undefined ? resultData200 : null;\r\n return result200;\r\n } else if (status !== 200 && status !== 204) {\r\n const _responseText = response.data;\r\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\r\n }\r\n return Promise.resolve(null);\r\n }\r\n\r\n setLearnerStatus(command: SetLearnerStatusCommand , cancelToken?: CancelToken | undefined): Promise {\r\n let url_ = this.baseUrl + \"/ObserverLearner/learner-status\";\r\n url_ = url_.replace(/[?&]$/, \"\");\r\n\r\n const content_ = JSON.stringify(command);\r\n\r\n let options_ = {\r\n data: content_,\r\n method: \"POST\",\r\n url: url_,\r\n headers: {\r\n \"Content-Type\": \"application/json\",\r\n },\r\n cancelToken\r\n };\r\n\r\n return this.instance.request(options_).catch((_error: any) => {\r\n if (isAxiosError(_error) && _error.response) {\r\n return _error.response;\r\n } else {\r\n throw _error;\r\n }\r\n }).then((_response: AxiosResponse) => {\r\n return this.processSetLearnerStatus(_response);\r\n });\r\n }\r\n\r\n protected processSetLearnerStatus(response: AxiosResponse): Promise {\r\n const status = response.status;\r\n let _headers: any = {};\r\n if (response.headers && typeof response.headers === \"object\") {\r\n for (let k in response.headers) {\r\n if (response.headers.hasOwnProperty(k)) {\r\n _headers[k] = response.headers[k];\r\n }\r\n }\r\n }\r\n if (status === 200) {\r\n const _responseText = response.data;\r\n return Promise.resolve(null);\r\n } else if (status !== 200 && status !== 204) {\r\n const _responseText = response.data;\r\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\r\n }\r\n return Promise.resolve(null);\r\n }\r\n\r\n setLearnerScienceOfReading(command: SetLearnerScienceOfReadingCommand , cancelToken?: CancelToken | undefined): Promise {\r\n let url_ = this.baseUrl + \"/ObserverLearner/learner-science-of-reading\";\r\n url_ = url_.replace(/[?&]$/, \"\");\r\n\r\n const content_ = JSON.stringify(command);\r\n\r\n let options_ = {\r\n data: content_,\r\n method: \"POST\",\r\n url: url_,\r\n headers: {\r\n \"Content-Type\": \"application/json\",\r\n },\r\n cancelToken\r\n };\r\n\r\n return this.instance.request(options_).catch((_error: any) => {\r\n if (isAxiosError(_error) && _error.response) {\r\n return _error.response;\r\n } else {\r\n throw _error;\r\n }\r\n }).then((_response: AxiosResponse) => {\r\n return this.processSetLearnerScienceOfReading(_response);\r\n });\r\n }\r\n\r\n protected processSetLearnerScienceOfReading(response: AxiosResponse): Promise {\r\n const status = response.status;\r\n let _headers: any = {};\r\n if (response.headers && typeof response.headers === \"object\") {\r\n for (let k in response.headers) {\r\n if (response.headers.hasOwnProperty(k)) {\r\n _headers[k] = response.headers[k];\r\n }\r\n }\r\n }\r\n if (status === 200) {\r\n const _responseText = response.data;\r\n return Promise.resolve(null);\r\n } else if (status !== 200 && status !== 204) {\r\n const _responseText = response.data;\r\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\r\n }\r\n return Promise.resolve(null);\r\n }\r\n\r\n toggleLearnerIsHidden(command: ToggleLearnerHiddenCommand , cancelToken?: CancelToken | undefined): Promise {\r\n let url_ = this.baseUrl + \"/ObserverLearner/toggle-hidden\";\r\n url_ = url_.replace(/[?&]$/, \"\");\r\n\r\n const content_ = JSON.stringify(command);\r\n\r\n let options_ = {\r\n data: content_,\r\n method: \"POST\",\r\n url: url_,\r\n headers: {\r\n \"Content-Type\": \"application/json\",\r\n },\r\n cancelToken\r\n };\r\n\r\n return this.instance.request(options_).catch((_error: any) => {\r\n if (isAxiosError(_error) && _error.response) {\r\n return _error.response;\r\n } else {\r\n throw _error;\r\n }\r\n }).then((_response: AxiosResponse) => {\r\n return this.processToggleLearnerIsHidden(_response);\r\n });\r\n }\r\n\r\n protected processToggleLearnerIsHidden(response: AxiosResponse): Promise {\r\n const status = response.status;\r\n let _headers: any = {};\r\n if (response.headers && typeof response.headers === \"object\") {\r\n for (let k in response.headers) {\r\n if (response.headers.hasOwnProperty(k)) {\r\n _headers[k] = response.headers[k];\r\n }\r\n }\r\n }\r\n if (status === 200) {\r\n const _responseText = response.data;\r\n return Promise.resolve(null);\r\n } else if (status !== 200 && status !== 204) {\r\n const _responseText = response.data;\r\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\r\n }\r\n return Promise.resolve(null);\r\n }\r\n\r\n setLearnerVirtualEducator(parameters: SetLearnerSummativeDataVirtualEducatorValueCommand , cancelToken?: CancelToken | undefined): Promise {\r\n let url_ = this.baseUrl + \"/ObserverLearner/learner-virtual-educator\";\r\n url_ = url_.replace(/[?&]$/, \"\");\r\n\r\n const content_ = JSON.stringify(parameters);\r\n\r\n let options_ = {\r\n data: content_,\r\n method: \"POST\",\r\n url: url_,\r\n headers: {\r\n \"Content-Type\": \"application/json\",\r\n \"Accept\": \"application/json\"\r\n },\r\n cancelToken\r\n };\r\n\r\n return this.instance.request(options_).catch((_error: any) => {\r\n if (isAxiosError(_error) && _error.response) {\r\n return _error.response;\r\n } else {\r\n throw _error;\r\n }\r\n }).then((_response: AxiosResponse) => {\r\n return this.processSetLearnerVirtualEducator(_response);\r\n });\r\n }\r\n\r\n protected processSetLearnerVirtualEducator(response: AxiosResponse): Promise {\r\n const status = response.status;\r\n let _headers: any = {};\r\n if (response.headers && typeof response.headers === \"object\") {\r\n for (let k in response.headers) {\r\n if (response.headers.hasOwnProperty(k)) {\r\n _headers[k] = response.headers[k];\r\n }\r\n }\r\n }\r\n if (status === 200) {\r\n const _responseText = response.data;\r\n let result200: any = null;\r\n let resultData200 = _responseText;\r\n if (Array.isArray(resultData200)) {\r\n result200 = [] as any;\r\n for (let item of resultData200)\r\n result200!.push(item);\r\n }\r\n else {\r\n result200 = null;\r\n }\r\n return result200;\r\n } else if (status !== 200 && status !== 204) {\r\n const _responseText = response.data;\r\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\r\n }\r\n return Promise.resolve(null);\r\n }\r\n\r\n configureLearnerSummativeData(parameters: ConfigureLearnerSummativeDataCommand , cancelToken?: CancelToken | undefined): Promise {\r\n let url_ = this.baseUrl + \"/ObserverLearner/learner-summative-data/configure\";\r\n url_ = url_.replace(/[?&]$/, \"\");\r\n\r\n const content_ = JSON.stringify(parameters);\r\n\r\n let options_ = {\r\n data: content_,\r\n method: \"POST\",\r\n url: url_,\r\n headers: {\r\n \"Content-Type\": \"application/json\",\r\n \"Accept\": \"application/json\"\r\n },\r\n cancelToken\r\n };\r\n\r\n return this.instance.request(options_).catch((_error: any) => {\r\n if (isAxiosError(_error) && _error.response) {\r\n return _error.response;\r\n } else {\r\n throw _error;\r\n }\r\n }).then((_response: AxiosResponse) => {\r\n return this.processConfigureLearnerSummativeData(_response);\r\n });\r\n }\r\n\r\n protected processConfigureLearnerSummativeData(response: AxiosResponse): Promise {\r\n const status = response.status;\r\n let _headers: any = {};\r\n if (response.headers && typeof response.headers === \"object\") {\r\n for (let k in response.headers) {\r\n if (response.headers.hasOwnProperty(k)) {\r\n _headers[k] = response.headers[k];\r\n }\r\n }\r\n }\r\n if (status === 200) {\r\n const _responseText = response.data;\r\n let result200: any = null;\r\n let resultData200 = _responseText;\r\n result200 = resultData200 !== undefined ? resultData200 : null;\r\n return result200;\r\n } else if (status !== 200 && status !== 204) {\r\n const _responseText = response.data;\r\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\r\n }\r\n return Promise.resolve(null);\r\n }\r\n\r\n getObserverLearnersSummary( cancelToken?: CancelToken | undefined): Promise {\r\n let url_ = this.baseUrl + \"/ObserverLearner\";\r\n url_ = url_.replace(/[?&]$/, \"\");\r\n\r\n let options_ = {\r\n method: \"GET\",\r\n url: url_,\r\n headers: {\r\n \"Accept\": \"application/json\"\r\n },\r\n cancelToken\r\n };\r\n\r\n return this.instance.request(options_).catch((_error: any) => {\r\n if (isAxiosError(_error) && _error.response) {\r\n return _error.response;\r\n } else {\r\n throw _error;\r\n }\r\n }).then((_response: AxiosResponse) => {\r\n return this.processGetObserverLearnersSummary(_response);\r\n });\r\n }\r\n\r\n protected processGetObserverLearnersSummary(response: AxiosResponse): Promise {\r\n const status = response.status;\r\n let _headers: any = {};\r\n if (response.headers && typeof response.headers === \"object\") {\r\n for (let k in response.headers) {\r\n if (response.headers.hasOwnProperty(k)) {\r\n _headers[k] = response.headers[k];\r\n }\r\n }\r\n }\r\n let _mappings: { source: any, target: any }[] = [];\r\n if (status === 200) {\r\n const _responseText = response.data;\r\n let result200: any = null;\r\n let resultData200 = _responseText;\r\n if (Array.isArray(resultData200)) {\r\n result200 = [] as any;\r\n for (let item of resultData200)\r\n result200!.push(LearnerSummaryVm.fromJS(item, _mappings) as LearnerSummaryVm);\r\n }\r\n else {\r\n result200 = null;\r\n }\r\n return result200;\r\n } else if (status !== 200 && status !== 204) {\r\n const _responseText = response.data;\r\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\r\n }\r\n return Promise.resolve(null);\r\n }\r\n\r\n getObserverLearnersScheduledActivies( cancelToken?: CancelToken | undefined): Promise {\r\n let url_ = this.baseUrl + \"/ObserverLearner/scheduled-activities\";\r\n url_ = url_.replace(/[?&]$/, \"\");\r\n\r\n let options_ = {\r\n method: \"GET\",\r\n url: url_,\r\n headers: {\r\n \"Accept\": \"application/json\"\r\n },\r\n cancelToken\r\n };\r\n\r\n return this.instance.request(options_).catch((_error: any) => {\r\n if (isAxiosError(_error) && _error.response) {\r\n return _error.response;\r\n } else {\r\n throw _error;\r\n }\r\n }).then((_response: AxiosResponse) => {\r\n return this.processGetObserverLearnersScheduledActivies(_response);\r\n });\r\n }\r\n\r\n protected processGetObserverLearnersScheduledActivies(response: AxiosResponse): Promise {\r\n const status = response.status;\r\n let _headers: any = {};\r\n if (response.headers && typeof response.headers === \"object\") {\r\n for (let k in response.headers) {\r\n if (response.headers.hasOwnProperty(k)) {\r\n _headers[k] = response.headers[k];\r\n }\r\n }\r\n }\r\n let _mappings: { source: any, target: any }[] = [];\r\n if (status === 200) {\r\n const _responseText = response.data;\r\n let result200: any = null;\r\n let resultData200 = _responseText;\r\n if (Array.isArray(resultData200)) {\r\n result200 = [] as any;\r\n for (let item of resultData200)\r\n result200!.push(ObserverLearnerScheduledActivityDTO.fromJS(item, _mappings) as ObserverLearnerScheduledActivityDTO);\r\n }\r\n else {\r\n result200 = null;\r\n }\r\n return result200;\r\n } else if (status !== 200 && status !== 204) {\r\n const _responseText = response.data;\r\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\r\n }\r\n return Promise.resolve(null);\r\n }\r\n\r\n getObserverLoad(lea: string | null , cancelToken?: CancelToken | undefined): Promise {\r\n let url_ = this.baseUrl + \"/ObserverLearner/observer-load?\";\r\n if (lea === undefined)\r\n throw new Error(\"The parameter 'lea' must be defined.\");\r\n else if(lea !== null)\r\n url_ += \"lea=\" + encodeURIComponent(\"\" + lea) + \"&\";\r\n url_ = url_.replace(/[?&]$/, \"\");\r\n\r\n let options_ = {\r\n method: \"GET\",\r\n url: url_,\r\n headers: {\r\n \"Accept\": \"application/json\"\r\n },\r\n cancelToken\r\n };\r\n\r\n return this.instance.request(options_).catch((_error: any) => {\r\n if (isAxiosError(_error) && _error.response) {\r\n return _error.response;\r\n } else {\r\n throw _error;\r\n }\r\n }).then((_response: AxiosResponse) => {\r\n return this.processGetObserverLoad(_response);\r\n });\r\n }\r\n\r\n protected processGetObserverLoad(response: AxiosResponse): Promise {\r\n const status = response.status;\r\n let _headers: any = {};\r\n if (response.headers && typeof response.headers === \"object\") {\r\n for (let k in response.headers) {\r\n if (response.headers.hasOwnProperty(k)) {\r\n _headers[k] = response.headers[k];\r\n }\r\n }\r\n }\r\n let _mappings: { source: any, target: any }[] = [];\r\n if (status === 200) {\r\n const _responseText = response.data;\r\n let result200: any = null;\r\n let resultData200 = _responseText;\r\n if (Array.isArray(resultData200)) {\r\n result200 = [] as any;\r\n for (let item of resultData200)\r\n result200!.push(ObserverLoadDto.fromJS(item, _mappings) as ObserverLoadDto);\r\n }\r\n else {\r\n result200 = null;\r\n }\r\n return result200;\r\n } else if (status !== 200 && status !== 204) {\r\n const _responseText = response.data;\r\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\r\n }\r\n return Promise.resolve(null);\r\n }\r\n\r\n getSummativeOutcome(lea: string | null, roleType: number, schoolYear: number , cancelToken?: CancelToken | undefined): Promise {\r\n let url_ = this.baseUrl + \"/ObserverLearner/summative-outcomes?\";\r\n if (lea === undefined)\r\n throw new Error(\"The parameter 'lea' must be defined.\");\r\n else if(lea !== null)\r\n url_ += \"lea=\" + encodeURIComponent(\"\" + lea) + \"&\";\r\n if (roleType === undefined || roleType === null)\r\n throw new Error(\"The parameter 'roleType' must be defined and cannot be null.\");\r\n else\r\n url_ += \"roleType=\" + encodeURIComponent(\"\" + roleType) + \"&\";\r\n if (schoolYear === undefined || schoolYear === null)\r\n throw new Error(\"The parameter 'schoolYear' must be defined and cannot be null.\");\r\n else\r\n url_ += \"schoolYear=\" + encodeURIComponent(\"\" + schoolYear) + \"&\";\r\n url_ = url_.replace(/[?&]$/, \"\");\r\n\r\n let options_ = {\r\n method: \"GET\",\r\n url: url_,\r\n headers: {\r\n \"Accept\": \"application/json\"\r\n },\r\n cancelToken\r\n };\r\n\r\n return this.instance.request(options_).catch((_error: any) => {\r\n if (isAxiosError(_error) && _error.response) {\r\n return _error.response;\r\n } else {\r\n throw _error;\r\n }\r\n }).then((_response: AxiosResponse) => {\r\n return this.processGetSummativeOutcome(_response);\r\n });\r\n }\r\n\r\n protected processGetSummativeOutcome(response: AxiosResponse): Promise {\r\n const status = response.status;\r\n let _headers: any = {};\r\n if (response.headers && typeof response.headers === \"object\") {\r\n for (let k in response.headers) {\r\n if (response.headers.hasOwnProperty(k)) {\r\n _headers[k] = response.headers[k];\r\n }\r\n }\r\n }\r\n let _mappings: { source: any, target: any }[] = [];\r\n if (status === 200) {\r\n const _responseText = response.data;\r\n let result200: any = null;\r\n let resultData200 = _responseText;\r\n if (Array.isArray(resultData200)) {\r\n result200 = [] as any;\r\n for (let item of resultData200)\r\n result200!.push(SummativeLearnerOutcomeDTO.fromJS(item, _mappings) as SummativeLearnerOutcomeDTO);\r\n }\r\n else {\r\n result200 = null;\r\n }\r\n return result200;\r\n } else if (status !== 200 && status !== 204) {\r\n const _responseText = response.data;\r\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\r\n }\r\n return Promise.resolve(null);\r\n }\r\n}\r\n\r\nexport class ReportService {\r\n private instance: AxiosInstance;\r\n private baseUrl: string;\r\n protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined;\r\n\r\n constructor(baseUrl?: string, instance?: AxiosInstance) {\r\n this.instance = instance ? instance : axios.create();\r\n this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : \"\";\r\n }\r\n\r\n getRatingBreakdown(lea: string | null , cancelToken?: CancelToken | undefined): Promise {\r\n let url_ = this.baseUrl + \"/Report/rating-breakdown?\";\r\n if (lea === undefined)\r\n throw new Error(\"The parameter 'lea' must be defined.\");\r\n else if(lea !== null)\r\n url_ += \"lea=\" + encodeURIComponent(\"\" + lea) + \"&\";\r\n url_ = url_.replace(/[?&]$/, \"\");\r\n\r\n let options_ = {\r\n method: \"GET\",\r\n url: url_,\r\n headers: {\r\n \"Accept\": \"application/json\"\r\n },\r\n cancelToken\r\n };\r\n\r\n return this.instance.request(options_).catch((_error: any) => {\r\n if (isAxiosError(_error) && _error.response) {\r\n return _error.response;\r\n } else {\r\n throw _error;\r\n }\r\n }).then((_response: AxiosResponse) => {\r\n return this.processGetRatingBreakdown(_response);\r\n });\r\n }\r\n\r\n protected processGetRatingBreakdown(response: AxiosResponse): Promise {\r\n const status = response.status;\r\n let _headers: any = {};\r\n if (response.headers && typeof response.headers === \"object\") {\r\n for (let k in response.headers) {\r\n if (response.headers.hasOwnProperty(k)) {\r\n _headers[k] = response.headers[k];\r\n }\r\n }\r\n }\r\n let _mappings: { source: any, target: any }[] = [];\r\n if (status === 200) {\r\n const _responseText = response.data;\r\n let result200: any = null;\r\n let resultData200 = _responseText;\r\n result200 = RatingsBreakdownDto.fromJS(resultData200, _mappings);\r\n return result200;\r\n } else if (status !== 200 && status !== 204) {\r\n const _responseText = response.data;\r\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\r\n }\r\n return Promise.resolve(null);\r\n }\r\n\r\n getEducatorRating(districtLea: string | null, schoolLea: string | null, schoolYear: number | null , cancelToken?: CancelToken | undefined): Promise {\r\n let url_ = this.baseUrl + \"/Report/educator-rating?\";\r\n if (districtLea === undefined)\r\n throw new Error(\"The parameter 'districtLea' must be defined.\");\r\n else if(districtLea !== null)\r\n url_ += \"districtLea=\" + encodeURIComponent(\"\" + districtLea) + \"&\";\r\n if (schoolLea === undefined)\r\n throw new Error(\"The parameter 'schoolLea' must be defined.\");\r\n else if(schoolLea !== null)\r\n url_ += \"schoolLea=\" + encodeURIComponent(\"\" + schoolLea) + \"&\";\r\n if (schoolYear === undefined)\r\n throw new Error(\"The parameter 'schoolYear' must be defined.\");\r\n else if(schoolYear !== null)\r\n url_ += \"schoolYear=\" + encodeURIComponent(\"\" + schoolYear) + \"&\";\r\n url_ = url_.replace(/[?&]$/, \"\");\r\n\r\n let options_ = {\r\n method: \"GET\",\r\n url: url_,\r\n headers: {\r\n \"Accept\": \"application/json\"\r\n },\r\n cancelToken\r\n };\r\n\r\n return this.instance.request(options_).catch((_error: any) => {\r\n if (isAxiosError(_error) && _error.response) {\r\n return _error.response;\r\n } else {\r\n throw _error;\r\n }\r\n }).then((_response: AxiosResponse) => {\r\n return this.processGetEducatorRating(_response);\r\n });\r\n }\r\n\r\n protected processGetEducatorRating(response: AxiosResponse): Promise {\r\n const status = response.status;\r\n let _headers: any = {};\r\n if (response.headers && typeof response.headers === \"object\") {\r\n for (let k in response.headers) {\r\n if (response.headers.hasOwnProperty(k)) {\r\n _headers[k] = response.headers[k];\r\n }\r\n }\r\n }\r\n let _mappings: { source: any, target: any }[] = [];\r\n if (status === 200) {\r\n const _responseText = response.data;\r\n let result200: any = null;\r\n let resultData200 = _responseText;\r\n if (Array.isArray(resultData200)) {\r\n result200 = [] as any;\r\n for (let item of resultData200)\r\n result200!.push(EducatorRatingDto.fromJS(item, _mappings) as EducatorRatingDto);\r\n }\r\n else {\r\n result200 = null;\r\n }\r\n return result200;\r\n } else if (status !== 200 && status !== 204) {\r\n const _responseText = response.data;\r\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\r\n }\r\n return Promise.resolve(null);\r\n }\r\n\r\n getEducatorRatingsByDomainComponent(districtLea: string | null, schoolLea: string | null, schoolYear: number | null, domain: string | null , cancelToken?: CancelToken | undefined): Promise {\r\n let url_ = this.baseUrl + \"/Report/educator-domain-component?\";\r\n if (districtLea === undefined)\r\n throw new Error(\"The parameter 'districtLea' must be defined.\");\r\n else if(districtLea !== null)\r\n url_ += \"districtLea=\" + encodeURIComponent(\"\" + districtLea) + \"&\";\r\n if (schoolLea === undefined)\r\n throw new Error(\"The parameter 'schoolLea' must be defined.\");\r\n else if(schoolLea !== null)\r\n url_ += \"schoolLea=\" + encodeURIComponent(\"\" + schoolLea) + \"&\";\r\n if (schoolYear === undefined)\r\n throw new Error(\"The parameter 'schoolYear' must be defined.\");\r\n else if(schoolYear !== null)\r\n url_ += \"schoolYear=\" + encodeURIComponent(\"\" + schoolYear) + \"&\";\r\n if (domain === undefined)\r\n throw new Error(\"The parameter 'domain' must be defined.\");\r\n else if(domain !== null)\r\n url_ += \"domain=\" + encodeURIComponent(\"\" + domain) + \"&\";\r\n url_ = url_.replace(/[?&]$/, \"\");\r\n\r\n let options_ = {\r\n method: \"GET\",\r\n url: url_,\r\n headers: {\r\n \"Accept\": \"application/json\"\r\n },\r\n cancelToken\r\n };\r\n\r\n return this.instance.request(options_).catch((_error: any) => {\r\n if (isAxiosError(_error) && _error.response) {\r\n return _error.response;\r\n } else {\r\n throw _error;\r\n }\r\n }).then((_response: AxiosResponse) => {\r\n return this.processGetEducatorRatingsByDomainComponent(_response);\r\n });\r\n }\r\n\r\n protected processGetEducatorRatingsByDomainComponent(response: AxiosResponse): Promise {\r\n const status = response.status;\r\n let _headers: any = {};\r\n if (response.headers && typeof response.headers === \"object\") {\r\n for (let k in response.headers) {\r\n if (response.headers.hasOwnProperty(k)) {\r\n _headers[k] = response.headers[k];\r\n }\r\n }\r\n }\r\n let _mappings: { source: any, target: any }[] = [];\r\n if (status === 200) {\r\n const _responseText = response.data;\r\n let result200: any = null;\r\n let resultData200 = _responseText;\r\n result200 = DomainComponentRatingsDto.fromJS(resultData200, _mappings);\r\n return result200;\r\n } else if (status !== 200 && status !== 204) {\r\n const _responseText = response.data;\r\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\r\n }\r\n return Promise.resolve(null);\r\n }\r\n\r\n getDomainOptions(districtLea: string | null, schoolLea: string | null, schoolYear: number | null , cancelToken?: CancelToken | undefined): Promise {\r\n let url_ = this.baseUrl + \"/Report/domain?\";\r\n if (districtLea === undefined)\r\n throw new Error(\"The parameter 'districtLea' must be defined.\");\r\n else if(districtLea !== null)\r\n url_ += \"districtLea=\" + encodeURIComponent(\"\" + districtLea) + \"&\";\r\n if (schoolLea === undefined)\r\n throw new Error(\"The parameter 'schoolLea' must be defined.\");\r\n else if(schoolLea !== null)\r\n url_ += \"schoolLea=\" + encodeURIComponent(\"\" + schoolLea) + \"&\";\r\n if (schoolYear === undefined)\r\n throw new Error(\"The parameter 'schoolYear' must be defined.\");\r\n else if(schoolYear !== null)\r\n url_ += \"schoolYear=\" + encodeURIComponent(\"\" + schoolYear) + \"&\";\r\n url_ = url_.replace(/[?&]$/, \"\");\r\n\r\n let options_ = {\r\n method: \"GET\",\r\n url: url_,\r\n headers: {\r\n \"Accept\": \"application/json\"\r\n },\r\n cancelToken\r\n };\r\n\r\n return this.instance.request(options_).catch((_error: any) => {\r\n if (isAxiosError(_error) && _error.response) {\r\n return _error.response;\r\n } else {\r\n throw _error;\r\n }\r\n }).then((_response: AxiosResponse) => {\r\n return this.processGetDomainOptions(_response);\r\n });\r\n }\r\n\r\n protected processGetDomainOptions(response: AxiosResponse): Promise {\r\n const status = response.status;\r\n let _headers: any = {};\r\n if (response.headers && typeof response.headers === \"object\") {\r\n for (let k in response.headers) {\r\n if (response.headers.hasOwnProperty(k)) {\r\n _headers[k] = response.headers[k];\r\n }\r\n }\r\n }\r\n let _mappings: { source: any, target: any }[] = [];\r\n if (status === 200) {\r\n const _responseText = response.data;\r\n let result200: any = null;\r\n let resultData200 = _responseText;\r\n if (Array.isArray(resultData200)) {\r\n result200 = [] as any;\r\n for (let item of resultData200)\r\n result200!.push(DomainDto.fromJS(item, _mappings) as DomainDto);\r\n }\r\n else {\r\n result200 = null;\r\n }\r\n return result200;\r\n } else if (status !== 200 && status !== 204) {\r\n const _responseText = response.data;\r\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\r\n }\r\n return Promise.resolve(null);\r\n }\r\n}\r\n\r\nexport class RubricService {\r\n private instance: AxiosInstance;\r\n private baseUrl: string;\r\n protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined;\r\n\r\n constructor(baseUrl?: string, instance?: AxiosInstance) {\r\n this.instance = instance ? instance : axios.create();\r\n this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : \"\";\r\n }\r\n\r\n getAllRubrics( cancelToken?: CancelToken | undefined): Promise {\r\n let url_ = this.baseUrl + \"/Rubric/rubrics\";\r\n url_ = url_.replace(/[?&]$/, \"\");\r\n\r\n let options_ = {\r\n method: \"GET\",\r\n url: url_,\r\n headers: {\r\n \"Accept\": \"application/json\"\r\n },\r\n cancelToken\r\n };\r\n\r\n return this.instance.request(options_).catch((_error: any) => {\r\n if (isAxiosError(_error) && _error.response) {\r\n return _error.response;\r\n } else {\r\n throw _error;\r\n }\r\n }).then((_response: AxiosResponse) => {\r\n return this.processGetAllRubrics(_response);\r\n });\r\n }\r\n\r\n protected processGetAllRubrics(response: AxiosResponse): Promise {\r\n const status = response.status;\r\n let _headers: any = {};\r\n if (response.headers && typeof response.headers === \"object\") {\r\n for (let k in response.headers) {\r\n if (response.headers.hasOwnProperty(k)) {\r\n _headers[k] = response.headers[k];\r\n }\r\n }\r\n }\r\n let _mappings: { source: any, target: any }[] = [];\r\n if (status === 200) {\r\n const _responseText = response.data;\r\n let result200: any = null;\r\n let resultData200 = _responseText;\r\n if (Array.isArray(resultData200)) {\r\n result200 = [] as any;\r\n for (let item of resultData200)\r\n result200!.push(RubricDto.fromJS(item, _mappings) as RubricDto);\r\n }\r\n else {\r\n result200 = null;\r\n }\r\n return result200;\r\n } else if (status !== 200 && status !== 204) {\r\n const _responseText = response.data;\r\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\r\n }\r\n return Promise.resolve(null);\r\n }\r\n\r\n get(id: number , cancelToken?: CancelToken | undefined): Promise {\r\n let url_ = this.baseUrl + \"/Rubric/rubric/{id}\";\r\n if (id === undefined || id === null)\r\n throw new Error(\"The parameter 'id' must be defined.\");\r\n url_ = url_.replace(\"{id}\", encodeURIComponent(\"\" + id));\r\n url_ = url_.replace(/[?&]$/, \"\");\r\n\r\n let options_ = {\r\n method: \"GET\",\r\n url: url_,\r\n headers: {\r\n \"Accept\": \"application/json\"\r\n },\r\n cancelToken\r\n };\r\n\r\n return this.instance.request(options_).catch((_error: any) => {\r\n if (isAxiosError(_error) && _error.response) {\r\n return _error.response;\r\n } else {\r\n throw _error;\r\n }\r\n }).then((_response: AxiosResponse) => {\r\n return this.processGet(_response);\r\n });\r\n }\r\n\r\n protected processGet(response: AxiosResponse): Promise {\r\n const status = response.status;\r\n let _headers: any = {};\r\n if (response.headers && typeof response.headers === \"object\") {\r\n for (let k in response.headers) {\r\n if (response.headers.hasOwnProperty(k)) {\r\n _headers[k] = response.headers[k];\r\n }\r\n }\r\n }\r\n let _mappings: { source: any, target: any }[] = [];\r\n if (status === 200) {\r\n const _responseText = response.data;\r\n let result200: any = null;\r\n let resultData200 = _responseText;\r\n result200 = RubricDto.fromJS(resultData200, _mappings);\r\n return result200;\r\n } else if (status !== 200 && status !== 204) {\r\n const _responseText = response.data;\r\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\r\n }\r\n return Promise.resolve(null);\r\n }\r\n\r\n getRubricVersions(id: number , cancelToken?: CancelToken | undefined): Promise {\r\n let url_ = this.baseUrl + \"/Rubric/rubric/{id}/versions\";\r\n if (id === undefined || id === null)\r\n throw new Error(\"The parameter 'id' must be defined.\");\r\n url_ = url_.replace(\"{id}\", encodeURIComponent(\"\" + id));\r\n url_ = url_.replace(/[?&]$/, \"\");\r\n\r\n let options_ = {\r\n method: \"GET\",\r\n url: url_,\r\n headers: {\r\n \"Accept\": \"application/json\"\r\n },\r\n cancelToken\r\n };\r\n\r\n return this.instance.request(options_).catch((_error: any) => {\r\n if (isAxiosError(_error) && _error.response) {\r\n return _error.response;\r\n } else {\r\n throw _error;\r\n }\r\n }).then((_response: AxiosResponse) => {\r\n return this.processGetRubricVersions(_response);\r\n });\r\n }\r\n\r\n protected processGetRubricVersions(response: AxiosResponse): Promise {\r\n const status = response.status;\r\n let _headers: any = {};\r\n if (response.headers && typeof response.headers === \"object\") {\r\n for (let k in response.headers) {\r\n if (response.headers.hasOwnProperty(k)) {\r\n _headers[k] = response.headers[k];\r\n }\r\n }\r\n }\r\n let _mappings: { source: any, target: any }[] = [];\r\n if (status === 200) {\r\n const _responseText = response.data;\r\n let result200: any = null;\r\n let resultData200 = _responseText;\r\n if (Array.isArray(resultData200)) {\r\n result200 = [] as any;\r\n for (let item of resultData200)\r\n result200!.push(RubricVersionDto.fromJS(item, _mappings) as RubricVersionDto);\r\n }\r\n else {\r\n result200 = null;\r\n }\r\n return result200;\r\n } else if (status !== 200 && status !== 204) {\r\n const _responseText = response.data;\r\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\r\n }\r\n return Promise.resolve(null);\r\n }\r\n\r\n createRubric(command: CreateRubricCommand , cancelToken?: CancelToken | undefined): Promise {\r\n let url_ = this.baseUrl + \"/Rubric/rubric\";\r\n url_ = url_.replace(/[?&]$/, \"\");\r\n\r\n const content_ = JSON.stringify(command);\r\n\r\n let options_ = {\r\n data: content_,\r\n method: \"PUT\",\r\n url: url_,\r\n headers: {\r\n \"Content-Type\": \"application/json\",\r\n \"Accept\": \"application/json\"\r\n },\r\n cancelToken\r\n };\r\n\r\n return this.instance.request(options_).catch((_error: any) => {\r\n if (isAxiosError(_error) && _error.response) {\r\n return _error.response;\r\n } else {\r\n throw _error;\r\n }\r\n }).then((_response: AxiosResponse) => {\r\n return this.processCreateRubric(_response);\r\n });\r\n }\r\n\r\n protected processCreateRubric(response: AxiosResponse): Promise {\r\n const status = response.status;\r\n let _headers: any = {};\r\n if (response.headers && typeof response.headers === \"object\") {\r\n for (let k in response.headers) {\r\n if (response.headers.hasOwnProperty(k)) {\r\n _headers[k] = response.headers[k];\r\n }\r\n }\r\n }\r\n if (status === 200) {\r\n const _responseText = response.data;\r\n let result200: any = null;\r\n let resultData200 = _responseText;\r\n result200 = resultData200 !== undefined ? resultData200 : null;\r\n return result200;\r\n } else if (status !== 200 && status !== 204) {\r\n const _responseText = response.data;\r\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\r\n }\r\n return Promise.resolve(null);\r\n }\r\n\r\n createRubricVersion(command: CreateRubricVersionCommand , cancelToken?: CancelToken | undefined): Promise {\r\n let url_ = this.baseUrl + \"/Rubric/rubric-version\";\r\n url_ = url_.replace(/[?&]$/, \"\");\r\n\r\n const content_ = JSON.stringify(command);\r\n\r\n let options_ = {\r\n data: content_,\r\n method: \"PUT\",\r\n url: url_,\r\n headers: {\r\n \"Content-Type\": \"application/json\",\r\n \"Accept\": \"application/json\"\r\n },\r\n cancelToken\r\n };\r\n\r\n return this.instance.request(options_).catch((_error: any) => {\r\n if (isAxiosError(_error) && _error.response) {\r\n return _error.response;\r\n } else {\r\n throw _error;\r\n }\r\n }).then((_response: AxiosResponse) => {\r\n return this.processCreateRubricVersion(_response);\r\n });\r\n }\r\n\r\n protected processCreateRubricVersion(response: AxiosResponse): Promise {\r\n const status = response.status;\r\n let _headers: any = {};\r\n if (response.headers && typeof response.headers === \"object\") {\r\n for (let k in response.headers) {\r\n if (response.headers.hasOwnProperty(k)) {\r\n _headers[k] = response.headers[k];\r\n }\r\n }\r\n }\r\n if (status === 200) {\r\n const _responseText = response.data;\r\n let result200: any = null;\r\n let resultData200 = _responseText;\r\n result200 = resultData200 !== undefined ? resultData200 : null;\r\n return result200;\r\n } else if (status !== 200 && status !== 204) {\r\n const _responseText = response.data;\r\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\r\n }\r\n return Promise.resolve(null);\r\n }\r\n\r\n updateRubricVersion(command: UpdateRubricVersionCommand , cancelToken?: CancelToken | undefined): Promise {\r\n let url_ = this.baseUrl + \"/Rubric/rubric-version\";\r\n url_ = url_.replace(/[?&]$/, \"\");\r\n\r\n const content_ = JSON.stringify(command);\r\n\r\n let options_ = {\r\n data: content_,\r\n method: \"POST\",\r\n url: url_,\r\n headers: {\r\n \"Content-Type\": \"application/json\",\r\n \"Accept\": \"application/json\"\r\n },\r\n cancelToken\r\n };\r\n\r\n return this.instance.request(options_).catch((_error: any) => {\r\n if (isAxiosError(_error) && _error.response) {\r\n return _error.response;\r\n } else {\r\n throw _error;\r\n }\r\n }).then((_response: AxiosResponse) => {\r\n return this.processUpdateRubricVersion(_response);\r\n });\r\n }\r\n\r\n protected processUpdateRubricVersion(response: AxiosResponse): Promise {\r\n const status = response.status;\r\n let _headers: any = {};\r\n if (response.headers && typeof response.headers === \"object\") {\r\n for (let k in response.headers) {\r\n if (response.headers.hasOwnProperty(k)) {\r\n _headers[k] = response.headers[k];\r\n }\r\n }\r\n }\r\n if (status === 200) {\r\n const _responseText = response.data;\r\n let result200: any = null;\r\n let resultData200 = _responseText;\r\n result200 = resultData200 !== undefined ? resultData200 : null;\r\n return result200;\r\n } else if (status !== 200 && status !== 204) {\r\n const _responseText = response.data;\r\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\r\n }\r\n return Promise.resolve(null);\r\n }\r\n\r\n getRubricVersion(id: number , cancelToken?: CancelToken | undefined): Promise {\r\n let url_ = this.baseUrl + \"/Rubric/rubric-version/{id}\";\r\n if (id === undefined || id === null)\r\n throw new Error(\"The parameter 'id' must be defined.\");\r\n url_ = url_.replace(\"{id}\", encodeURIComponent(\"\" + id));\r\n url_ = url_.replace(/[?&]$/, \"\");\r\n\r\n let options_ = {\r\n method: \"GET\",\r\n url: url_,\r\n headers: {\r\n \"Accept\": \"application/json\"\r\n },\r\n cancelToken\r\n };\r\n\r\n return this.instance.request(options_).catch((_error: any) => {\r\n if (isAxiosError(_error) && _error.response) {\r\n return _error.response;\r\n } else {\r\n throw _error;\r\n }\r\n }).then((_response: AxiosResponse) => {\r\n return this.processGetRubricVersion(_response);\r\n });\r\n }\r\n\r\n protected processGetRubricVersion(response: AxiosResponse): Promise {\r\n const status = response.status;\r\n let _headers: any = {};\r\n if (response.headers && typeof response.headers === \"object\") {\r\n for (let k in response.headers) {\r\n if (response.headers.hasOwnProperty(k)) {\r\n _headers[k] = response.headers[k];\r\n }\r\n }\r\n }\r\n let _mappings: { source: any, target: any }[] = [];\r\n if (status === 200) {\r\n const _responseText = response.data;\r\n let result200: any = null;\r\n let resultData200 = _responseText;\r\n result200 = RubricVersionDto.fromJS(resultData200, _mappings);\r\n return result200;\r\n } else if (status !== 200 && status !== 204) {\r\n const _responseText = response.data;\r\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\r\n }\r\n return Promise.resolve(null);\r\n }\r\n\r\n updateRubricResources(command: UpdateRubricResourcesCommand , cancelToken?: CancelToken | undefined): Promise {\r\n let url_ = this.baseUrl + \"/Rubric/rubric-version/resources\";\r\n url_ = url_.replace(/[?&]$/, \"\");\r\n\r\n const content_ = JSON.stringify(command);\r\n\r\n let options_ = {\r\n data: content_,\r\n method: \"PUT\",\r\n url: url_,\r\n headers: {\r\n \"Content-Type\": \"application/json\",\r\n \"Accept\": \"application/json\"\r\n },\r\n cancelToken\r\n };\r\n\r\n return this.instance.request(options_).catch((_error: any) => {\r\n if (isAxiosError(_error) && _error.response) {\r\n return _error.response;\r\n } else {\r\n throw _error;\r\n }\r\n }).then((_response: AxiosResponse) => {\r\n return this.processUpdateRubricResources(_response);\r\n });\r\n }\r\n\r\n protected processUpdateRubricResources(response: AxiosResponse): Promise {\r\n const status = response.status;\r\n let _headers: any = {};\r\n if (response.headers && typeof response.headers === \"object\") {\r\n for (let k in response.headers) {\r\n if (response.headers.hasOwnProperty(k)) {\r\n _headers[k] = response.headers[k];\r\n }\r\n }\r\n }\r\n if (status === 200) {\r\n const _responseText = response.data;\r\n let result200: any = null;\r\n let resultData200 = _responseText;\r\n result200 = resultData200 !== undefined ? resultData200 : null;\r\n return result200;\r\n } else if (status !== 200 && status !== 204) {\r\n const _responseText = response.data;\r\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\r\n }\r\n return Promise.resolve(null);\r\n }\r\n\r\n setRubricVersionStatus(command: SetRubricVersionStatusCommand , cancelToken?: CancelToken | undefined): Promise {\r\n let url_ = this.baseUrl + \"/Rubric/rubric-version/status\";\r\n url_ = url_.replace(/[?&]$/, \"\");\r\n\r\n const content_ = JSON.stringify(command);\r\n\r\n let options_ = {\r\n data: content_,\r\n method: \"POST\",\r\n url: url_,\r\n headers: {\r\n \"Content-Type\": \"application/json\",\r\n \"Accept\": \"application/json\"\r\n },\r\n cancelToken\r\n };\r\n\r\n return this.instance.request(options_).catch((_error: any) => {\r\n if (isAxiosError(_error) && _error.response) {\r\n return _error.response;\r\n } else {\r\n throw _error;\r\n }\r\n }).then((_response: AxiosResponse) => {\r\n return this.processSetRubricVersionStatus(_response);\r\n });\r\n }\r\n\r\n protected processSetRubricVersionStatus(response: AxiosResponse): Promise {\r\n const status = response.status;\r\n let _headers: any = {};\r\n if (response.headers && typeof response.headers === \"object\") {\r\n for (let k in response.headers) {\r\n if (response.headers.hasOwnProperty(k)) {\r\n _headers[k] = response.headers[k];\r\n }\r\n }\r\n }\r\n if (status === 200) {\r\n const _responseText = response.data;\r\n let result200: any = null;\r\n let resultData200 = _responseText;\r\n result200 = resultData200 !== undefined ? resultData200 : null;\r\n return result200;\r\n } else if (status !== 200 && status !== 204) {\r\n const _responseText = response.data;\r\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\r\n }\r\n return Promise.resolve(null);\r\n }\r\n\r\n cloneRubricVersion(command: CloneRubricVersionCommand , cancelToken?: CancelToken | undefined): Promise {\r\n let url_ = this.baseUrl + \"/Rubric/rubric-version/clone\";\r\n url_ = url_.replace(/[?&]$/, \"\");\r\n\r\n const content_ = JSON.stringify(command);\r\n\r\n let options_ = {\r\n data: content_,\r\n method: \"POST\",\r\n url: url_,\r\n headers: {\r\n \"Content-Type\": \"application/json\",\r\n \"Accept\": \"application/json\"\r\n },\r\n cancelToken\r\n };\r\n\r\n return this.instance.request(options_).catch((_error: any) => {\r\n if (isAxiosError(_error) && _error.response) {\r\n return _error.response;\r\n } else {\r\n throw _error;\r\n }\r\n }).then((_response: AxiosResponse) => {\r\n return this.processCloneRubricVersion(_response);\r\n });\r\n }\r\n\r\n protected processCloneRubricVersion(response: AxiosResponse): Promise {\r\n const status = response.status;\r\n let _headers: any = {};\r\n if (response.headers && typeof response.headers === \"object\") {\r\n for (let k in response.headers) {\r\n if (response.headers.hasOwnProperty(k)) {\r\n _headers[k] = response.headers[k];\r\n }\r\n }\r\n }\r\n if (status === 200) {\r\n const _responseText = response.data;\r\n let result200: any = null;\r\n let resultData200 = _responseText;\r\n result200 = resultData200 !== undefined ? resultData200 : null;\r\n return result200;\r\n } else if (status !== 200 && status !== 204) {\r\n const _responseText = response.data;\r\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\r\n }\r\n return Promise.resolve(null);\r\n }\r\n\r\n getLearnerRubricSelector(userId: string , cancelToken?: CancelToken | undefined): Promise {\r\n let url_ = this.baseUrl + \"/Rubric/GetLearnerRubricSelector/{userId}\";\r\n if (userId === undefined || userId === null)\r\n throw new Error(\"The parameter 'userId' must be defined.\");\r\n url_ = url_.replace(\"{userId}\", encodeURIComponent(\"\" + userId));\r\n url_ = url_.replace(/[?&]$/, \"\");\r\n\r\n let options_ = {\r\n method: \"GET\",\r\n url: url_,\r\n headers: {\r\n \"Accept\": \"application/json\"\r\n },\r\n cancelToken\r\n };\r\n\r\n return this.instance.request(options_).catch((_error: any) => {\r\n if (isAxiosError(_error) && _error.response) {\r\n return _error.response;\r\n } else {\r\n throw _error;\r\n }\r\n }).then((_response: AxiosResponse) => {\r\n return this.processGetLearnerRubricSelector(_response);\r\n });\r\n }\r\n\r\n protected processGetLearnerRubricSelector(response: AxiosResponse): Promise {\r\n const status = response.status;\r\n let _headers: any = {};\r\n if (response.headers && typeof response.headers === \"object\") {\r\n for (let k in response.headers) {\r\n if (response.headers.hasOwnProperty(k)) {\r\n _headers[k] = response.headers[k];\r\n }\r\n }\r\n }\r\n let _mappings: { source: any, target: any }[] = [];\r\n if (status === 200) {\r\n const _responseText = response.data;\r\n let result200: any = null;\r\n let resultData200 = _responseText;\r\n result200 = RubricSelector.fromJS(resultData200, _mappings);\r\n return result200;\r\n } else if (status !== 200 && status !== 204) {\r\n const _responseText = response.data;\r\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\r\n }\r\n return Promise.resolve(null);\r\n }\r\n}\r\n\r\nexport class SchoolYearService {\r\n private instance: AxiosInstance;\r\n private baseUrl: string;\r\n protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined;\r\n\r\n constructor(baseUrl?: string, instance?: AxiosInstance) {\r\n this.instance = instance ? instance : axios.create();\r\n this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : \"\";\r\n }\r\n\r\n getCurrentSchoolYear( cancelToken?: CancelToken | undefined): Promise {\r\n let url_ = this.baseUrl + \"/SchoolYear\";\r\n url_ = url_.replace(/[?&]$/, \"\");\r\n\r\n let options_ = {\r\n method: \"GET\",\r\n url: url_,\r\n headers: {\r\n \"Accept\": \"application/json\"\r\n },\r\n cancelToken\r\n };\r\n\r\n return this.instance.request(options_).catch((_error: any) => {\r\n if (isAxiosError(_error) && _error.response) {\r\n return _error.response;\r\n } else {\r\n throw _error;\r\n }\r\n }).then((_response: AxiosResponse) => {\r\n return this.processGetCurrentSchoolYear(_response);\r\n });\r\n }\r\n\r\n protected processGetCurrentSchoolYear(response: AxiosResponse): Promise {\r\n const status = response.status;\r\n let _headers: any = {};\r\n if (response.headers && typeof response.headers === \"object\") {\r\n for (let k in response.headers) {\r\n if (response.headers.hasOwnProperty(k)) {\r\n _headers[k] = response.headers[k];\r\n }\r\n }\r\n }\r\n let _mappings: { source: any, target: any }[] = [];\r\n if (status === 200) {\r\n const _responseText = response.data;\r\n let result200: any = null;\r\n let resultData200 = _responseText;\r\n result200 = SchoolYearDTO.fromJS(resultData200, _mappings);\r\n return result200;\r\n } else if (status !== 200 && status !== 204) {\r\n const _responseText = response.data;\r\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\r\n }\r\n return Promise.resolve(null);\r\n }\r\n\r\n advanceSchoolYear( cancelToken?: CancelToken | undefined): Promise {\r\n let url_ = this.baseUrl + \"/SchoolYear\";\r\n url_ = url_.replace(/[?&]$/, \"\");\r\n\r\n let options_ = {\r\n method: \"POST\",\r\n url: url_,\r\n headers: {\r\n \"Accept\": \"application/json\"\r\n },\r\n cancelToken\r\n };\r\n\r\n return this.instance.request(options_).catch((_error: any) => {\r\n if (isAxiosError(_error) && _error.response) {\r\n return _error.response;\r\n } else {\r\n throw _error;\r\n }\r\n }).then((_response: AxiosResponse) => {\r\n return this.processAdvanceSchoolYear(_response);\r\n });\r\n }\r\n\r\n protected processAdvanceSchoolYear(response: AxiosResponse): Promise {\r\n const status = response.status;\r\n let _headers: any = {};\r\n if (response.headers && typeof response.headers === \"object\") {\r\n for (let k in response.headers) {\r\n if (response.headers.hasOwnProperty(k)) {\r\n _headers[k] = response.headers[k];\r\n }\r\n }\r\n }\r\n let _mappings: { source: any, target: any }[] = [];\r\n if (status === 200) {\r\n const _responseText = response.data;\r\n let result200: any = null;\r\n let resultData200 = _responseText;\r\n result200 = SchoolYearDTO.fromJS(resultData200, _mappings);\r\n return result200;\r\n } else if (status !== 200 && status !== 204) {\r\n const _responseText = response.data;\r\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\r\n }\r\n return Promise.resolve(null);\r\n }\r\n\r\n getSchoolYears( cancelToken?: CancelToken | undefined): Promise {\r\n let url_ = this.baseUrl + \"/SchoolYear/years\";\r\n url_ = url_.replace(/[?&]$/, \"\");\r\n\r\n let options_ = {\r\n method: \"GET\",\r\n url: url_,\r\n headers: {\r\n \"Accept\": \"application/json\"\r\n },\r\n cancelToken\r\n };\r\n\r\n return this.instance.request(options_).catch((_error: any) => {\r\n if (isAxiosError(_error) && _error.response) {\r\n return _error.response;\r\n } else {\r\n throw _error;\r\n }\r\n }).then((_response: AxiosResponse) => {\r\n return this.processGetSchoolYears(_response);\r\n });\r\n }\r\n\r\n protected processGetSchoolYears(response: AxiosResponse): Promise {\r\n const status = response.status;\r\n let _headers: any = {};\r\n if (response.headers && typeof response.headers === \"object\") {\r\n for (let k in response.headers) {\r\n if (response.headers.hasOwnProperty(k)) {\r\n _headers[k] = response.headers[k];\r\n }\r\n }\r\n }\r\n let _mappings: { source: any, target: any }[] = [];\r\n if (status === 200) {\r\n const _responseText = response.data;\r\n let result200: any = null;\r\n let resultData200 = _responseText;\r\n if (Array.isArray(resultData200)) {\r\n result200 = [] as any;\r\n for (let item of resultData200)\r\n result200!.push(SchoolYearDTO.fromJS(item, _mappings) as SchoolYearDTO);\r\n }\r\n else {\r\n result200 = null;\r\n }\r\n return result200;\r\n } else if (status !== 200 && status !== 204) {\r\n const _responseText = response.data;\r\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\r\n }\r\n return Promise.resolve(null);\r\n }\r\n\r\n updateSchoolYear(schoolYearId: number, updatedSchoolYear: SchoolYearDTO , cancelToken?: CancelToken | undefined): Promise {\r\n let url_ = this.baseUrl + \"/SchoolYear/years/{schoolYearId}\";\r\n if (schoolYearId === undefined || schoolYearId === null)\r\n throw new Error(\"The parameter 'schoolYearId' must be defined.\");\r\n url_ = url_.replace(\"{schoolYearId}\", encodeURIComponent(\"\" + schoolYearId));\r\n url_ = url_.replace(/[?&]$/, \"\");\r\n\r\n const content_ = JSON.stringify(updatedSchoolYear);\r\n\r\n let options_ = {\r\n data: content_,\r\n method: \"PATCH\",\r\n url: url_,\r\n headers: {\r\n \"Content-Type\": \"application/json\",\r\n \"Accept\": \"application/json\"\r\n },\r\n cancelToken\r\n };\r\n\r\n return this.instance.request(options_).catch((_error: any) => {\r\n if (isAxiosError(_error) && _error.response) {\r\n return _error.response;\r\n } else {\r\n throw _error;\r\n }\r\n }).then((_response: AxiosResponse) => {\r\n return this.processUpdateSchoolYear(_response);\r\n });\r\n }\r\n\r\n protected processUpdateSchoolYear(response: AxiosResponse): Promise {\r\n const status = response.status;\r\n let _headers: any = {};\r\n if (response.headers && typeof response.headers === \"object\") {\r\n for (let k in response.headers) {\r\n if (response.headers.hasOwnProperty(k)) {\r\n _headers[k] = response.headers[k];\r\n }\r\n }\r\n }\r\n let _mappings: { source: any, target: any }[] = [];\r\n if (status === 200) {\r\n const _responseText = response.data;\r\n let result200: any = null;\r\n let resultData200 = _responseText;\r\n result200 = SchoolYearDTO.fromJS(resultData200, _mappings);\r\n return result200;\r\n } else if (status !== 200 && status !== 204) {\r\n const _responseText = response.data;\r\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\r\n }\r\n return Promise.resolve(null);\r\n }\r\n}\r\n\r\nexport class StaffInfoService {\r\n private instance: AxiosInstance;\r\n private baseUrl: string;\r\n protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined;\r\n\r\n constructor(baseUrl?: string, instance?: AxiosInstance) {\r\n this.instance = instance ? instance : axios.create();\r\n this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : \"\";\r\n }\r\n\r\n getAdministrativeStaff(lea: string | null , cancelToken?: CancelToken | undefined): Promise {\r\n let url_ = this.baseUrl + \"/StaffInfo/{lea}/administrators\";\r\n if (lea === undefined || lea === null)\r\n throw new Error(\"The parameter 'lea' must be defined.\");\r\n url_ = url_.replace(\"{lea}\", encodeURIComponent(\"\" + lea));\r\n url_ = url_.replace(/[?&]$/, \"\");\r\n\r\n let options_ = {\r\n method: \"GET\",\r\n url: url_,\r\n headers: {\r\n \"Accept\": \"application/json\"\r\n },\r\n cancelToken\r\n };\r\n\r\n return this.instance.request(options_).catch((_error: any) => {\r\n if (isAxiosError(_error) && _error.response) {\r\n return _error.response;\r\n } else {\r\n throw _error;\r\n }\r\n }).then((_response: AxiosResponse) => {\r\n return this.processGetAdministrativeStaff(_response);\r\n });\r\n }\r\n\r\n protected processGetAdministrativeStaff(response: AxiosResponse): Promise {\r\n const status = response.status;\r\n let _headers: any = {};\r\n if (response.headers && typeof response.headers === \"object\") {\r\n for (let k in response.headers) {\r\n if (response.headers.hasOwnProperty(k)) {\r\n _headers[k] = response.headers[k];\r\n }\r\n }\r\n }\r\n let _mappings: { source: any, target: any }[] = [];\r\n if (status === 200) {\r\n const _responseText = response.data;\r\n let result200: any = null;\r\n let resultData200 = _responseText;\r\n if (Array.isArray(resultData200)) {\r\n result200 = [] as any;\r\n for (let item of resultData200)\r\n result200!.push(StaffAdministrationDto.fromJS(item, _mappings) as StaffAdministrationDto);\r\n }\r\n else {\r\n result200 = null;\r\n }\r\n return result200;\r\n } else if (status !== 200 && status !== 204) {\r\n const _responseText = response.data;\r\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\r\n }\r\n return Promise.resolve(null);\r\n }\r\n\r\n getPotentialCollaborators(searchString?: string | null | undefined , cancelToken?: CancelToken | undefined): Promise {\r\n let url_ = this.baseUrl + \"/StaffInfo/potential-collaborators?\";\r\n if (searchString !== undefined && searchString !== null)\r\n url_ += \"searchString=\" + encodeURIComponent(\"\" + searchString) + \"&\";\r\n url_ = url_.replace(/[?&]$/, \"\");\r\n\r\n let options_ = {\r\n method: \"GET\",\r\n url: url_,\r\n headers: {\r\n \"Accept\": \"application/json\"\r\n },\r\n cancelToken\r\n };\r\n\r\n return this.instance.request(options_).catch((_error: any) => {\r\n if (isAxiosError(_error) && _error.response) {\r\n return _error.response;\r\n } else {\r\n throw _error;\r\n }\r\n }).then((_response: AxiosResponse) => {\r\n return this.processGetPotentialCollaborators(_response);\r\n });\r\n }\r\n\r\n protected processGetPotentialCollaborators(response: AxiosResponse): Promise {\r\n const status = response.status;\r\n let _headers: any = {};\r\n if (response.headers && typeof response.headers === \"object\") {\r\n for (let k in response.headers) {\r\n if (response.headers.hasOwnProperty(k)) {\r\n _headers[k] = response.headers[k];\r\n }\r\n }\r\n }\r\n let _mappings: { source: any, target: any }[] = [];\r\n if (status === 200) {\r\n const _responseText = response.data;\r\n let result200: any = null;\r\n let resultData200 = _responseText;\r\n if (Array.isArray(resultData200)) {\r\n result200 = [] as any;\r\n for (let item of resultData200)\r\n result200!.push(PersonDto.fromJS(item, _mappings) as PersonDto);\r\n }\r\n else {\r\n result200 = null;\r\n }\r\n return result200;\r\n } else if (status !== 200 && status !== 204) {\r\n const _responseText = response.data;\r\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\r\n }\r\n return Promise.resolve(null);\r\n }\r\n}\r\n\r\nexport class StaffListService {\r\n private instance: AxiosInstance;\r\n private baseUrl: string;\r\n protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined;\r\n\r\n constructor(baseUrl?: string, instance?: AxiosInstance) {\r\n this.instance = instance ? instance : axios.create();\r\n this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : \"\";\r\n }\r\n\r\n getDistrictEmployees(districtLEA: string | null , cancelToken?: CancelToken | undefined): Promise {\r\n let url_ = this.baseUrl + \"/StaffList/{DistrictLEA}/employees\";\r\n if (districtLEA === undefined || districtLEA === null)\r\n throw new Error(\"The parameter 'districtLEA' must be defined.\");\r\n url_ = url_.replace(\"{DistrictLEA}\", encodeURIComponent(\"\" + districtLEA));\r\n url_ = url_.replace(/[?&]$/, \"\");\r\n\r\n let options_ = {\r\n method: \"GET\",\r\n url: url_,\r\n headers: {\r\n \"Accept\": \"application/json\"\r\n },\r\n cancelToken\r\n };\r\n\r\n return this.instance.request(options_).catch((_error: any) => {\r\n if (isAxiosError(_error) && _error.response) {\r\n return _error.response;\r\n } else {\r\n throw _error;\r\n }\r\n }).then((_response: AxiosResponse) => {\r\n return this.processGetDistrictEmployees(_response);\r\n });\r\n }\r\n\r\n protected processGetDistrictEmployees(response: AxiosResponse): Promise {\r\n const status = response.status;\r\n let _headers: any = {};\r\n if (response.headers && typeof response.headers === \"object\") {\r\n for (let k in response.headers) {\r\n if (response.headers.hasOwnProperty(k)) {\r\n _headers[k] = response.headers[k];\r\n }\r\n }\r\n }\r\n let _mappings: { source: any, target: any }[] = [];\r\n if (status === 200) {\r\n const _responseText = response.data;\r\n let result200: any = null;\r\n let resultData200 = _responseText;\r\n if (Array.isArray(resultData200)) {\r\n result200 = [] as any;\r\n for (let item of resultData200)\r\n result200!.push(EFinanceEmployeeDto.fromJS(item, _mappings) as EFinanceEmployeeDto);\r\n }\r\n else {\r\n result200 = null;\r\n }\r\n return result200;\r\n } else if (status !== 200 && status !== 204) {\r\n const _responseText = response.data;\r\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\r\n }\r\n return Promise.resolve(null);\r\n }\r\n\r\n getDistrictJobAssignments(districtLEA: string | null , cancelToken?: CancelToken | undefined): Promise {\r\n let url_ = this.baseUrl + \"/StaffList/{DistrictLEA}/job-assignments\";\r\n if (districtLEA === undefined || districtLEA === null)\r\n throw new Error(\"The parameter 'districtLEA' must be defined.\");\r\n url_ = url_.replace(\"{DistrictLEA}\", encodeURIComponent(\"\" + districtLEA));\r\n url_ = url_.replace(/[?&]$/, \"\");\r\n\r\n let options_ = {\r\n method: \"GET\",\r\n url: url_,\r\n headers: {\r\n \"Accept\": \"application/json\"\r\n },\r\n cancelToken\r\n };\r\n\r\n return this.instance.request(options_).catch((_error: any) => {\r\n if (isAxiosError(_error) && _error.response) {\r\n return _error.response;\r\n } else {\r\n throw _error;\r\n }\r\n }).then((_response: AxiosResponse) => {\r\n return this.processGetDistrictJobAssignments(_response);\r\n });\r\n }\r\n\r\n protected processGetDistrictJobAssignments(response: AxiosResponse): Promise {\r\n const status = response.status;\r\n let _headers: any = {};\r\n if (response.headers && typeof response.headers === \"object\") {\r\n for (let k in response.headers) {\r\n if (response.headers.hasOwnProperty(k)) {\r\n _headers[k] = response.headers[k];\r\n }\r\n }\r\n }\r\n let _mappings: { source: any, target: any }[] = [];\r\n if (status === 200) {\r\n const _responseText = response.data;\r\n let result200: any = null;\r\n let resultData200 = _responseText;\r\n if (Array.isArray(resultData200)) {\r\n result200 = [] as any;\r\n for (let item of resultData200)\r\n result200!.push(JobAssignmentDto.fromJS(item, _mappings) as JobAssignmentDto);\r\n }\r\n else {\r\n result200 = null;\r\n }\r\n return result200;\r\n } else if (status !== 200 && status !== 204) {\r\n const _responseText = response.data;\r\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\r\n }\r\n return Promise.resolve(null);\r\n }\r\n\r\n getDistrictEESRoles(districtLEA: string | null , cancelToken?: CancelToken | undefined): Promise {\r\n let url_ = this.baseUrl + \"/StaffList/{DistrictLEA}/ees-roles\";\r\n if (districtLEA === undefined || districtLEA === null)\r\n throw new Error(\"The parameter 'districtLEA' must be defined.\");\r\n url_ = url_.replace(\"{DistrictLEA}\", encodeURIComponent(\"\" + districtLEA));\r\n url_ = url_.replace(/[?&]$/, \"\");\r\n\r\n let options_ = {\r\n method: \"GET\",\r\n url: url_,\r\n headers: {\r\n \"Accept\": \"application/json\"\r\n },\r\n cancelToken\r\n };\r\n\r\n return this.instance.request(options_).catch((_error: any) => {\r\n if (isAxiosError(_error) && _error.response) {\r\n return _error.response;\r\n } else {\r\n throw _error;\r\n }\r\n }).then((_response: AxiosResponse) => {\r\n return this.processGetDistrictEESRoles(_response);\r\n });\r\n }\r\n\r\n protected processGetDistrictEESRoles(response: AxiosResponse): Promise {\r\n const status = response.status;\r\n let _headers: any = {};\r\n if (response.headers && typeof response.headers === \"object\") {\r\n for (let k in response.headers) {\r\n if (response.headers.hasOwnProperty(k)) {\r\n _headers[k] = response.headers[k];\r\n }\r\n }\r\n }\r\n let _mappings: { source: any, target: any }[] = [];\r\n if (status === 200) {\r\n const _responseText = response.data;\r\n let result200: any = null;\r\n let resultData200 = _responseText;\r\n if (Array.isArray(resultData200)) {\r\n result200 = [] as any;\r\n for (let item of resultData200)\r\n result200!.push(EESRoleDto.fromJS(item, _mappings) as EESRoleDto);\r\n }\r\n else {\r\n result200 = null;\r\n }\r\n return result200;\r\n } else if (status !== 200 && status !== 204) {\r\n const _responseText = response.data;\r\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\r\n }\r\n return Promise.resolve(null);\r\n }\r\n\r\n getDistrictStaff(districtLEA: string | null , cancelToken?: CancelToken | undefined): Promise {\r\n let url_ = this.baseUrl + \"/StaffList/{DistrictLEA}/staff\";\r\n if (districtLEA === undefined || districtLEA === null)\r\n throw new Error(\"The parameter 'districtLEA' must be defined.\");\r\n url_ = url_.replace(\"{DistrictLEA}\", encodeURIComponent(\"\" + districtLEA));\r\n url_ = url_.replace(/[?&]$/, \"\");\r\n\r\n let options_ = {\r\n method: \"GET\",\r\n url: url_,\r\n headers: {\r\n \"Accept\": \"application/json\"\r\n },\r\n cancelToken\r\n };\r\n\r\n return this.instance.request(options_).catch((_error: any) => {\r\n if (isAxiosError(_error) && _error.response) {\r\n return _error.response;\r\n } else {\r\n throw _error;\r\n }\r\n }).then((_response: AxiosResponse) => {\r\n return this.processGetDistrictStaff(_response);\r\n });\r\n }\r\n\r\n protected processGetDistrictStaff(response: AxiosResponse): Promise {\r\n const status = response.status;\r\n let _headers: any = {};\r\n if (response.headers && typeof response.headers === \"object\") {\r\n for (let k in response.headers) {\r\n if (response.headers.hasOwnProperty(k)) {\r\n _headers[k] = response.headers[k];\r\n }\r\n }\r\n }\r\n let _mappings: { source: any, target: any }[] = [];\r\n if (status === 200) {\r\n const _responseText = response.data;\r\n let result200: any = null;\r\n let resultData200 = _responseText;\r\n if (Array.isArray(resultData200)) {\r\n result200 = [] as any;\r\n for (let item of resultData200)\r\n result200!.push(ESchoolStaffDto.fromJS(item, _mappings) as ESchoolStaffDto);\r\n }\r\n else {\r\n result200 = null;\r\n }\r\n return result200;\r\n } else if (status !== 200 && status !== 204) {\r\n const _responseText = response.data;\r\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\r\n }\r\n return Promise.resolve(null);\r\n }\r\n\r\n getDistrictPersons(districtLEA: string | null , cancelToken?: CancelToken | undefined): Promise {\r\n let url_ = this.baseUrl + \"/StaffList/{DistrictLEA}/persons\";\r\n if (districtLEA === undefined || districtLEA === null)\r\n throw new Error(\"The parameter 'districtLEA' must be defined.\");\r\n url_ = url_.replace(\"{DistrictLEA}\", encodeURIComponent(\"\" + districtLEA));\r\n url_ = url_.replace(/[?&]$/, \"\");\r\n\r\n let options_ = {\r\n method: \"GET\",\r\n url: url_,\r\n headers: {\r\n \"Accept\": \"application/json\"\r\n },\r\n cancelToken\r\n };\r\n\r\n return this.instance.request(options_).catch((_error: any) => {\r\n if (isAxiosError(_error) && _error.response) {\r\n return _error.response;\r\n } else {\r\n throw _error;\r\n }\r\n }).then((_response: AxiosResponse) => {\r\n return this.processGetDistrictPersons(_response);\r\n });\r\n }\r\n\r\n protected processGetDistrictPersons(response: AxiosResponse): Promise {\r\n const status = response.status;\r\n let _headers: any = {};\r\n if (response.headers && typeof response.headers === \"object\") {\r\n for (let k in response.headers) {\r\n if (response.headers.hasOwnProperty(k)) {\r\n _headers[k] = response.headers[k];\r\n }\r\n }\r\n }\r\n let _mappings: { source: any, target: any }[] = [];\r\n if (status === 200) {\r\n const _responseText = response.data;\r\n let result200: any = null;\r\n let resultData200 = _responseText;\r\n if (Array.isArray(resultData200)) {\r\n result200 = [] as any;\r\n for (let item of resultData200)\r\n result200!.push(DistrictPersonDto.fromJS(item, _mappings) as DistrictPersonDto);\r\n }\r\n else {\r\n result200 = null;\r\n }\r\n return result200;\r\n } else if (status !== 200 && status !== 204) {\r\n const _responseText = response.data;\r\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\r\n }\r\n return Promise.resolve(null);\r\n }\r\n\r\n getDistrictAPSCNADEntries(districtLEA: string | null , cancelToken?: CancelToken | undefined): Promise {\r\n let url_ = this.baseUrl + \"/StaffList/{DistrictLEA}/apscn-ad\";\r\n if (districtLEA === undefined || districtLEA === null)\r\n throw new Error(\"The parameter 'districtLEA' must be defined.\");\r\n url_ = url_.replace(\"{DistrictLEA}\", encodeURIComponent(\"\" + districtLEA));\r\n url_ = url_.replace(/[?&]$/, \"\");\r\n\r\n let options_ = {\r\n method: \"GET\",\r\n url: url_,\r\n headers: {\r\n \"Accept\": \"application/json\"\r\n },\r\n cancelToken\r\n };\r\n\r\n return this.instance.request(options_).catch((_error: any) => {\r\n if (isAxiosError(_error) && _error.response) {\r\n return _error.response;\r\n } else {\r\n throw _error;\r\n }\r\n }).then((_response: AxiosResponse) => {\r\n return this.processGetDistrictAPSCNADEntries(_response);\r\n });\r\n }\r\n\r\n protected processGetDistrictAPSCNADEntries(response: AxiosResponse): Promise {\r\n const status = response.status;\r\n let _headers: any = {};\r\n if (response.headers && typeof response.headers === \"object\") {\r\n for (let k in response.headers) {\r\n if (response.headers.hasOwnProperty(k)) {\r\n _headers[k] = response.headers[k];\r\n }\r\n }\r\n }\r\n let _mappings: { source: any, target: any }[] = [];\r\n if (status === 200) {\r\n const _responseText = response.data;\r\n let result200: any = null;\r\n let resultData200 = _responseText;\r\n if (Array.isArray(resultData200)) {\r\n result200 = [] as any;\r\n for (let item of resultData200)\r\n result200!.push(APSCNADRecordDto.fromJS(item, _mappings) as APSCNADRecordDto);\r\n }\r\n else {\r\n result200 = null;\r\n }\r\n return result200;\r\n } else if (status !== 200 && status !== 204) {\r\n const _responseText = response.data;\r\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\r\n }\r\n return Promise.resolve(null);\r\n }\r\n\r\n getDistrictCoordinatorCodes(districtLEA: string | null , cancelToken?: CancelToken | undefined): Promise {\r\n let url_ = this.baseUrl + \"/StaffList/{DistrictLEA}/coordinator-codes\";\r\n if (districtLEA === undefined || districtLEA === null)\r\n throw new Error(\"The parameter 'districtLEA' must be defined.\");\r\n url_ = url_.replace(\"{DistrictLEA}\", encodeURIComponent(\"\" + districtLEA));\r\n url_ = url_.replace(/[?&]$/, \"\");\r\n\r\n let options_ = {\r\n method: \"GET\",\r\n url: url_,\r\n headers: {\r\n \"Accept\": \"application/json\"\r\n },\r\n cancelToken\r\n };\r\n\r\n return this.instance.request(options_).catch((_error: any) => {\r\n if (isAxiosError(_error) && _error.response) {\r\n return _error.response;\r\n } else {\r\n throw _error;\r\n }\r\n }).then((_response: AxiosResponse) => {\r\n return this.processGetDistrictCoordinatorCodes(_response);\r\n });\r\n }\r\n\r\n protected processGetDistrictCoordinatorCodes(response: AxiosResponse): Promise {\r\n const status = response.status;\r\n let _headers: any = {};\r\n if (response.headers && typeof response.headers === \"object\") {\r\n for (let k in response.headers) {\r\n if (response.headers.hasOwnProperty(k)) {\r\n _headers[k] = response.headers[k];\r\n }\r\n }\r\n }\r\n let _mappings: { source: any, target: any }[] = [];\r\n if (status === 200) {\r\n const _responseText = response.data;\r\n let result200: any = null;\r\n let resultData200 = _responseText;\r\n if (Array.isArray(resultData200)) {\r\n result200 = [] as any;\r\n for (let item of resultData200)\r\n result200!.push(LEAProfileCoordinatorCodeDto.fromJS(item, _mappings) as LEAProfileCoordinatorCodeDto);\r\n }\r\n else {\r\n result200 = null;\r\n }\r\n return result200;\r\n } else if (status !== 200 && status !== 204) {\r\n const _responseText = response.data;\r\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\r\n }\r\n return Promise.resolve(null);\r\n }\r\n\r\n clearCredentials(personId: number , cancelToken?: CancelToken | undefined): Promise {\r\n let url_ = this.baseUrl + \"/StaffList/{PersonId}/credentials\";\r\n if (personId === undefined || personId === null)\r\n throw new Error(\"The parameter 'personId' must be defined.\");\r\n url_ = url_.replace(\"{PersonId}\", encodeURIComponent(\"\" + personId));\r\n url_ = url_.replace(/[?&]$/, \"\");\r\n\r\n let options_ = {\r\n method: \"DELETE\",\r\n url: url_,\r\n headers: {\r\n \"Accept\": \"application/json\"\r\n },\r\n cancelToken\r\n };\r\n\r\n return this.instance.request(options_).catch((_error: any) => {\r\n if (isAxiosError(_error) && _error.response) {\r\n return _error.response;\r\n } else {\r\n throw _error;\r\n }\r\n }).then((_response: AxiosResponse) => {\r\n return this.processClearCredentials(_response);\r\n });\r\n }\r\n\r\n protected processClearCredentials(response: AxiosResponse): Promise {\r\n const status = response.status;\r\n let _headers: any = {};\r\n if (response.headers && typeof response.headers === \"object\") {\r\n for (let k in response.headers) {\r\n if (response.headers.hasOwnProperty(k)) {\r\n _headers[k] = response.headers[k];\r\n }\r\n }\r\n }\r\n let _mappings: { source: any, target: any }[] = [];\r\n if (status === 200) {\r\n const _responseText = response.data;\r\n let result200: any = null;\r\n let resultData200 = _responseText;\r\n result200 = PersonDto.fromJS(resultData200, _mappings);\r\n return result200;\r\n } else if (status !== 200 && status !== 204) {\r\n const _responseText = response.data;\r\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\r\n }\r\n return Promise.resolve(null);\r\n }\r\n}\r\n\r\nexport class ActivityDTO implements IActivityDTO {\r\n id!: string;\r\n name!: string | undefined;\r\n schoolYearId!: number;\r\n schoolYear!: SchoolYearDTO | undefined;\r\n rubricVersionId!: number;\r\n rubricName!: string | undefined;\r\n status!: ActivityStatus;\r\n observerId!: string;\r\n observerName!: string | undefined;\r\n learnerId!: string;\r\n learnerRoleType!: StaffRoleTypeEnum;\r\n learnerName!: string | undefined;\r\n isPrivate!: boolean;\r\n steps!: ActivityStepDTO[] | undefined;\r\n collaborators!: ActivityCollaboratorDTO[] | undefined;\r\n resources!: RubricResource[] | undefined;\r\n supportsStudentGrowth!: boolean;\r\n\r\n constructor(data?: IActivityDTO) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n\r\n init(_data?: any, _mappings?: any) {\r\n if (_data) {\r\n this.id = _data[\"id\"];\r\n this.name = _data[\"name\"];\r\n this.schoolYearId = _data[\"schoolYearId\"];\r\n this.schoolYear = _data[\"schoolYear\"] ? SchoolYearDTO.fromJS(_data[\"schoolYear\"], _mappings) : undefined;\r\n this.rubricVersionId = _data[\"rubricVersionId\"];\r\n this.rubricName = _data[\"rubricName\"];\r\n this.status = _data[\"status\"];\r\n this.observerId = _data[\"observerId\"];\r\n this.observerName = _data[\"observerName\"];\r\n this.learnerId = _data[\"learnerId\"];\r\n this.learnerRoleType = _data[\"learnerRoleType\"];\r\n this.learnerName = _data[\"learnerName\"];\r\n this.isPrivate = _data[\"isPrivate\"];\r\n if (Array.isArray(_data[\"steps\"])) {\r\n this.steps = [] as any;\r\n for (let item of _data[\"steps\"])\r\n this.steps!.push(ActivityStepDTO.fromJS(item, _mappings) as ActivityStepDTO);\r\n }\r\n if (Array.isArray(_data[\"collaborators\"])) {\r\n this.collaborators = [] as any;\r\n for (let item of _data[\"collaborators\"])\r\n this.collaborators!.push(ActivityCollaboratorDTO.fromJS(item, _mappings) as ActivityCollaboratorDTO);\r\n }\r\n if (Array.isArray(_data[\"resources\"])) {\r\n this.resources = [] as any;\r\n for (let item of _data[\"resources\"])\r\n this.resources!.push(RubricResource.fromJS(item, _mappings) as RubricResource);\r\n }\r\n this.supportsStudentGrowth = _data[\"supportsStudentGrowth\"];\r\n }\r\n }\r\n\r\n static fromJS(data: any, _mappings?: any): ActivityDTO | null {\r\n data = typeof data === 'object' ? data : {};\r\n return createInstance(data, _mappings, ActivityDTO);\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"id\"] = this.id;\r\n data[\"name\"] = this.name;\r\n data[\"schoolYearId\"] = this.schoolYearId;\r\n data[\"schoolYear\"] = this.schoolYear ? this.schoolYear.toJSON() : undefined;\r\n data[\"rubricVersionId\"] = this.rubricVersionId;\r\n data[\"rubricName\"] = this.rubricName;\r\n data[\"status\"] = this.status;\r\n data[\"observerId\"] = this.observerId;\r\n data[\"observerName\"] = this.observerName;\r\n data[\"learnerId\"] = this.learnerId;\r\n data[\"learnerRoleType\"] = this.learnerRoleType;\r\n data[\"learnerName\"] = this.learnerName;\r\n data[\"isPrivate\"] = this.isPrivate;\r\n if (Array.isArray(this.steps)) {\r\n data[\"steps\"] = [];\r\n for (let item of this.steps)\r\n data[\"steps\"].push(item.toJSON());\r\n }\r\n if (Array.isArray(this.collaborators)) {\r\n data[\"collaborators\"] = [];\r\n for (let item of this.collaborators)\r\n data[\"collaborators\"].push(item.toJSON());\r\n }\r\n if (Array.isArray(this.resources)) {\r\n data[\"resources\"] = [];\r\n for (let item of this.resources)\r\n data[\"resources\"].push(item.toJSON());\r\n }\r\n data[\"supportsStudentGrowth\"] = this.supportsStudentGrowth;\r\n return data; \r\n }\r\n\r\n clone(): ActivityDTO {\r\n const json = this.toJSON();\r\n let result = new ActivityDTO();\r\n result.init(json);\r\n return result;\r\n }\r\n}\r\n\r\nexport interface IActivityDTO {\r\n id: string;\r\n name: string | undefined;\r\n schoolYearId: number;\r\n schoolYear: SchoolYearDTO | undefined;\r\n rubricVersionId: number;\r\n rubricName: string | undefined;\r\n status: ActivityStatus;\r\n observerId: string;\r\n observerName: string | undefined;\r\n learnerId: string;\r\n learnerRoleType: StaffRoleTypeEnum;\r\n learnerName: string | undefined;\r\n isPrivate: boolean;\r\n steps: ActivityStepDTO[] | undefined;\r\n collaborators: ActivityCollaboratorDTO[] | undefined;\r\n resources: RubricResource[] | undefined;\r\n supportsStudentGrowth: boolean;\r\n}\r\n\r\nexport class SchoolYearDTO implements ISchoolYearDTO {\r\n id!: number;\r\n year!: number;\r\n fiscalYear!: number;\r\n isCurrentSchoolYear!: boolean;\r\n leaBuildingAndRoleAssignmentLockDate!: Date | undefined;\r\n\r\n constructor(data?: ISchoolYearDTO) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n\r\n init(_data?: any, _mappings?: any) {\r\n if (_data) {\r\n this.id = _data[\"id\"];\r\n this.year = _data[\"year\"];\r\n this.fiscalYear = _data[\"fiscalYear\"];\r\n this.isCurrentSchoolYear = _data[\"isCurrentSchoolYear\"];\r\n this.leaBuildingAndRoleAssignmentLockDate = _data[\"leaBuildingAndRoleAssignmentLockDate\"] ? new Date(_data[\"leaBuildingAndRoleAssignmentLockDate\"].toString()) : undefined;\r\n }\r\n }\r\n\r\n static fromJS(data: any, _mappings?: any): SchoolYearDTO | null {\r\n data = typeof data === 'object' ? data : {};\r\n return createInstance(data, _mappings, SchoolYearDTO);\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"id\"] = this.id;\r\n data[\"year\"] = this.year;\r\n data[\"fiscalYear\"] = this.fiscalYear;\r\n data[\"isCurrentSchoolYear\"] = this.isCurrentSchoolYear;\r\n data[\"leaBuildingAndRoleAssignmentLockDate\"] = this.leaBuildingAndRoleAssignmentLockDate ? this.leaBuildingAndRoleAssignmentLockDate.toISOString() : undefined;\r\n return data; \r\n }\r\n\r\n clone(): SchoolYearDTO {\r\n const json = this.toJSON();\r\n let result = new SchoolYearDTO();\r\n result.init(json);\r\n return result;\r\n }\r\n}\r\n\r\nexport interface ISchoolYearDTO {\r\n id: number;\r\n year: number;\r\n fiscalYear: number;\r\n isCurrentSchoolYear: boolean;\r\n leaBuildingAndRoleAssignmentLockDate: Date | undefined;\r\n}\r\n\r\nexport enum ActivityStatus {\r\n Pending = 10,\r\n InProgress = 20,\r\n Complete = 100,\r\n Canceled = 255,\r\n}\r\n\r\nexport enum StaffRoleTypeEnum {\r\n Superintendent = 1,\r\n AssistantSuperintendent = 2,\r\n Principal = 3,\r\n AssistantPrincipal = 4,\r\n GiftedCoordinator = 5,\r\n LibraryMediaSpecialist = 6,\r\n SpeechLanguagePathologist = 7,\r\n InstructionalSpecialist = 8,\r\n GuidanceCounselor = 9,\r\n SchoolPsychologist = 10,\r\n Teacher = 11,\r\n VirtualEvaluator = 12,\r\n GeneralObserver = 13,\r\n EffectivenessSystemCoordinator = 14,\r\n JourneyWorker = 15,\r\n AdminOther = 100,\r\n CurriculumSupervisor_K12 = 101,\r\n CurriculumSupervisor_Secondary = 102,\r\n CurriculumSupervisor_Elementary = 103,\r\n SpecEdSupervisor = 104,\r\n CareerAndTechAdmin = 106,\r\n ContentAreaSpecialistProgramAdmin = 107,\r\n Supervisor = 108,\r\n TechnologyCoordinator = 112,\r\n DeanOfStudents = 113,\r\n AspiringTeachers = 114,\r\n AspiringGuidanceCounselor = 115,\r\n AspiringLibraryMediaSpecialist = 116,\r\n LicensedPreKTeacher = 117,\r\n RegisteredApprentice = 118,\r\n}\r\n\r\nexport class ActivityStepDTO implements IActivityStepDTO {\r\n id!: number;\r\n active!: boolean;\r\n activityId!: string;\r\n name!: string | undefined;\r\n order!: number;\r\n inputRequired!: ActivityStepInputSourceEnum;\r\n inputAllowed!: ActivityStepInputSourceEnum;\r\n stepType!: ActivityStepTypeEnum;\r\n metadata!: any | undefined;\r\n scheduledStep!: boolean;\r\n schedule!: ScheduleDTO | undefined;\r\n activityDataStructureVersion!: number;\r\n\r\n constructor(data?: IActivityStepDTO) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n\r\n init(_data?: any, _mappings?: any) {\r\n if (_data) {\r\n this.id = _data[\"id\"];\r\n this.active = _data[\"active\"];\r\n this.activityId = _data[\"activityId\"];\r\n this.name = _data[\"name\"];\r\n this.order = _data[\"order\"];\r\n this.inputRequired = _data[\"inputRequired\"];\r\n this.inputAllowed = _data[\"inputAllowed\"];\r\n this.stepType = _data[\"stepType\"];\r\n this.metadata = _data[\"metadata\"];\r\n this.scheduledStep = _data[\"scheduledStep\"];\r\n this.schedule = _data[\"schedule\"] ? ScheduleDTO.fromJS(_data[\"schedule\"], _mappings) : undefined;\r\n this.activityDataStructureVersion = _data[\"activityDataStructureVersion\"];\r\n }\r\n }\r\n\r\n static fromJS(data: any, _mappings?: any): ActivityStepDTO | null {\r\n data = typeof data === 'object' ? data : {};\r\n return createInstance(data, _mappings, ActivityStepDTO);\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"id\"] = this.id;\r\n data[\"active\"] = this.active;\r\n data[\"activityId\"] = this.activityId;\r\n data[\"name\"] = this.name;\r\n data[\"order\"] = this.order;\r\n data[\"inputRequired\"] = this.inputRequired;\r\n data[\"inputAllowed\"] = this.inputAllowed;\r\n data[\"stepType\"] = this.stepType;\r\n data[\"metadata\"] = this.metadata;\r\n data[\"scheduledStep\"] = this.scheduledStep;\r\n data[\"schedule\"] = this.schedule ? this.schedule.toJSON() : undefined;\r\n data[\"activityDataStructureVersion\"] = this.activityDataStructureVersion;\r\n return data; \r\n }\r\n\r\n clone(): ActivityStepDTO {\r\n const json = this.toJSON();\r\n let result = new ActivityStepDTO();\r\n result.init(json);\r\n return result;\r\n }\r\n}\r\n\r\nexport interface IActivityStepDTO {\r\n id: number;\r\n active: boolean;\r\n activityId: string;\r\n name: string | undefined;\r\n order: number;\r\n inputRequired: ActivityStepInputSourceEnum;\r\n inputAllowed: ActivityStepInputSourceEnum;\r\n stepType: ActivityStepTypeEnum;\r\n metadata: any | undefined;\r\n scheduledStep: boolean;\r\n schedule: ScheduleDTO | undefined;\r\n activityDataStructureVersion: number;\r\n}\r\n\r\nexport enum ActivityStepInputSourceEnum {\r\n Neither = 0,\r\n Learner = 1,\r\n Observer = 2,\r\n Collaborator = 4,\r\n ObserverOrCollaborator = 6,\r\n Any = 7,\r\n}\r\n\r\nexport enum ActivityStepTypeEnum {\r\n FormInput = 10,\r\n GoalReview = 20,\r\n Conference = 30,\r\n Observation = 40,\r\n Rating = 50,\r\n Feedback = 60,\r\n SelfAssessment = 70,\r\n Artifact = 80,\r\n LearnerReflection = 90,\r\n}\r\n\r\nexport class ScheduleDTO implements IScheduleDTO {\r\n id!: number;\r\n beginDate!: Date;\r\n endDate!: Date;\r\n\r\n constructor(data?: IScheduleDTO) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n\r\n init(_data?: any, _mappings?: any) {\r\n if (_data) {\r\n this.id = _data[\"id\"];\r\n this.beginDate = _data[\"beginDate\"] ? new Date(_data[\"beginDate\"].toString()) : undefined;\r\n this.endDate = _data[\"endDate\"] ? new Date(_data[\"endDate\"].toString()) : undefined;\r\n }\r\n }\r\n\r\n static fromJS(data: any, _mappings?: any): ScheduleDTO | null {\r\n data = typeof data === 'object' ? data : {};\r\n return createInstance(data, _mappings, ScheduleDTO);\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"id\"] = this.id;\r\n data[\"beginDate\"] = this.beginDate ? this.beginDate.toISOString() : undefined;\r\n data[\"endDate\"] = this.endDate ? this.endDate.toISOString() : undefined;\r\n return data; \r\n }\r\n\r\n clone(): ScheduleDTO {\r\n const json = this.toJSON();\r\n let result = new ScheduleDTO();\r\n result.init(json);\r\n return result;\r\n }\r\n}\r\n\r\nexport interface IScheduleDTO {\r\n id: number;\r\n beginDate: Date;\r\n endDate: Date;\r\n}\r\n\r\nexport class ActivityCollaboratorDTO implements IActivityCollaboratorDTO {\r\n id!: number;\r\n activityId!: string;\r\n collaboratorId!: string;\r\n collaboratorType!: ParticipantTypeEnum;\r\n name!: string | undefined;\r\n\r\n constructor(data?: IActivityCollaboratorDTO) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n\r\n init(_data?: any, _mappings?: any) {\r\n if (_data) {\r\n this.id = _data[\"id\"];\r\n this.activityId = _data[\"activityId\"];\r\n this.collaboratorId = _data[\"collaboratorId\"];\r\n this.collaboratorType = _data[\"collaboratorType\"];\r\n this.name = _data[\"name\"];\r\n }\r\n }\r\n\r\n static fromJS(data: any, _mappings?: any): ActivityCollaboratorDTO | null {\r\n data = typeof data === 'object' ? data : {};\r\n return createInstance(data, _mappings, ActivityCollaboratorDTO);\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"id\"] = this.id;\r\n data[\"activityId\"] = this.activityId;\r\n data[\"collaboratorId\"] = this.collaboratorId;\r\n data[\"collaboratorType\"] = this.collaboratorType;\r\n data[\"name\"] = this.name;\r\n return data; \r\n }\r\n\r\n clone(): ActivityCollaboratorDTO {\r\n const json = this.toJSON();\r\n let result = new ActivityCollaboratorDTO();\r\n result.init(json);\r\n return result;\r\n }\r\n}\r\n\r\nexport interface IActivityCollaboratorDTO {\r\n id: number;\r\n activityId: string;\r\n collaboratorId: string;\r\n collaboratorType: ParticipantTypeEnum;\r\n name: string | undefined;\r\n}\r\n\r\nexport enum ParticipantTypeEnum {\r\n Observer = 1,\r\n Collaborator = 2,\r\n Learner = 3,\r\n}\r\n\r\nexport class RubricResource implements IRubricResource {\r\n name!: string | undefined;\r\n address!: string | undefined;\r\n\r\n constructor(data?: IRubricResource) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n\r\n init(_data?: any, _mappings?: any) {\r\n if (_data) {\r\n this.name = _data[\"name\"];\r\n this.address = _data[\"address\"];\r\n }\r\n }\r\n\r\n static fromJS(data: any, _mappings?: any): RubricResource | null {\r\n data = typeof data === 'object' ? data : {};\r\n return createInstance(data, _mappings, RubricResource);\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"name\"] = this.name;\r\n data[\"address\"] = this.address;\r\n return data; \r\n }\r\n\r\n clone(): RubricResource {\r\n const json = this.toJSON();\r\n let result = new RubricResource();\r\n result.init(json);\r\n return result;\r\n }\r\n}\r\n\r\nexport interface IRubricResource {\r\n name: string | undefined;\r\n address: string | undefined;\r\n}\r\n\r\nexport class UpdateActivityCollaboratorsCommand implements IUpdateActivityCollaboratorsCommand {\r\n activityId!: string;\r\n observers!: string[] | undefined;\r\n additionalCollaborators!: string[] | undefined;\r\n\r\n constructor(data?: IUpdateActivityCollaboratorsCommand) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n\r\n init(_data?: any, _mappings?: any) {\r\n if (_data) {\r\n this.activityId = _data[\"activityId\"];\r\n if (Array.isArray(_data[\"observers\"])) {\r\n this.observers = [] as any;\r\n for (let item of _data[\"observers\"])\r\n this.observers!.push(item);\r\n }\r\n if (Array.isArray(_data[\"additionalCollaborators\"])) {\r\n this.additionalCollaborators = [] as any;\r\n for (let item of _data[\"additionalCollaborators\"])\r\n this.additionalCollaborators!.push(item);\r\n }\r\n }\r\n }\r\n\r\n static fromJS(data: any, _mappings?: any): UpdateActivityCollaboratorsCommand | null {\r\n data = typeof data === 'object' ? data : {};\r\n return createInstance(data, _mappings, UpdateActivityCollaboratorsCommand);\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"activityId\"] = this.activityId;\r\n if (Array.isArray(this.observers)) {\r\n data[\"observers\"] = [];\r\n for (let item of this.observers)\r\n data[\"observers\"].push(item);\r\n }\r\n if (Array.isArray(this.additionalCollaborators)) {\r\n data[\"additionalCollaborators\"] = [];\r\n for (let item of this.additionalCollaborators)\r\n data[\"additionalCollaborators\"].push(item);\r\n }\r\n return data; \r\n }\r\n\r\n clone(): UpdateActivityCollaboratorsCommand {\r\n const json = this.toJSON();\r\n let result = new UpdateActivityCollaboratorsCommand();\r\n result.init(json);\r\n return result;\r\n }\r\n}\r\n\r\nexport interface IUpdateActivityCollaboratorsCommand {\r\n activityId: string;\r\n observers: string[] | undefined;\r\n additionalCollaborators: string[] | undefined;\r\n}\r\n\r\nexport class CreateActivityCommand implements ICreateActivityCommand {\r\n name!: string | undefined;\r\n observerId!: string;\r\n learnerId!: string;\r\n learnerRoleType!: StaffRoleTypeEnum;\r\n isPrivate!: boolean;\r\n steps!: CreateActivityStep[] | undefined;\r\n observers!: string[] | undefined;\r\n additionalCollaborators!: string[] | undefined;\r\n\r\n constructor(data?: ICreateActivityCommand) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n\r\n init(_data?: any, _mappings?: any) {\r\n if (_data) {\r\n this.name = _data[\"name\"];\r\n this.observerId = _data[\"observerId\"];\r\n this.learnerId = _data[\"learnerId\"];\r\n this.learnerRoleType = _data[\"learnerRoleType\"];\r\n this.isPrivate = _data[\"isPrivate\"];\r\n if (Array.isArray(_data[\"steps\"])) {\r\n this.steps = [] as any;\r\n for (let item of _data[\"steps\"])\r\n this.steps!.push(CreateActivityStep.fromJS(item, _mappings) as CreateActivityStep);\r\n }\r\n if (Array.isArray(_data[\"observers\"])) {\r\n this.observers = [] as any;\r\n for (let item of _data[\"observers\"])\r\n this.observers!.push(item);\r\n }\r\n if (Array.isArray(_data[\"additionalCollaborators\"])) {\r\n this.additionalCollaborators = [] as any;\r\n for (let item of _data[\"additionalCollaborators\"])\r\n this.additionalCollaborators!.push(item);\r\n }\r\n }\r\n }\r\n\r\n static fromJS(data: any, _mappings?: any): CreateActivityCommand | null {\r\n data = typeof data === 'object' ? data : {};\r\n return createInstance(data, _mappings, CreateActivityCommand);\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"name\"] = this.name;\r\n data[\"observerId\"] = this.observerId;\r\n data[\"learnerId\"] = this.learnerId;\r\n data[\"learnerRoleType\"] = this.learnerRoleType;\r\n data[\"isPrivate\"] = this.isPrivate;\r\n if (Array.isArray(this.steps)) {\r\n data[\"steps\"] = [];\r\n for (let item of this.steps)\r\n data[\"steps\"].push(item.toJSON());\r\n }\r\n if (Array.isArray(this.observers)) {\r\n data[\"observers\"] = [];\r\n for (let item of this.observers)\r\n data[\"observers\"].push(item);\r\n }\r\n if (Array.isArray(this.additionalCollaborators)) {\r\n data[\"additionalCollaborators\"] = [];\r\n for (let item of this.additionalCollaborators)\r\n data[\"additionalCollaborators\"].push(item);\r\n }\r\n return data; \r\n }\r\n\r\n clone(): CreateActivityCommand {\r\n const json = this.toJSON();\r\n let result = new CreateActivityCommand();\r\n result.init(json);\r\n return result;\r\n }\r\n}\r\n\r\nexport interface ICreateActivityCommand {\r\n name: string | undefined;\r\n observerId: string;\r\n learnerId: string;\r\n learnerRoleType: StaffRoleTypeEnum;\r\n isPrivate: boolean;\r\n steps: CreateActivityStep[] | undefined;\r\n observers: string[] | undefined;\r\n additionalCollaborators: string[] | undefined;\r\n}\r\n\r\nexport class CreateActivityStep implements ICreateActivityStep {\r\n active!: boolean;\r\n name!: string | undefined;\r\n order!: number;\r\n inputRequired!: ActivityStepInputSourceEnum;\r\n inputAllowed!: ActivityStepInputSourceEnum;\r\n stepType!: ActivityStepTypeEnum;\r\n metadata!: any | undefined;\r\n scheduledStep!: boolean;\r\n schedule!: CreateStepSchedule | undefined;\r\n\r\n constructor(data?: ICreateActivityStep) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n\r\n init(_data?: any, _mappings?: any) {\r\n if (_data) {\r\n this.active = _data[\"active\"];\r\n this.name = _data[\"name\"];\r\n this.order = _data[\"order\"];\r\n this.inputRequired = _data[\"inputRequired\"];\r\n this.inputAllowed = _data[\"inputAllowed\"];\r\n this.stepType = _data[\"stepType\"];\r\n this.metadata = _data[\"metadata\"];\r\n this.scheduledStep = _data[\"scheduledStep\"];\r\n this.schedule = _data[\"schedule\"] ? CreateStepSchedule.fromJS(_data[\"schedule\"], _mappings) : undefined;\r\n }\r\n }\r\n\r\n static fromJS(data: any, _mappings?: any): CreateActivityStep | null {\r\n data = typeof data === 'object' ? data : {};\r\n return createInstance(data, _mappings, CreateActivityStep);\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"active\"] = this.active;\r\n data[\"name\"] = this.name;\r\n data[\"order\"] = this.order;\r\n data[\"inputRequired\"] = this.inputRequired;\r\n data[\"inputAllowed\"] = this.inputAllowed;\r\n data[\"stepType\"] = this.stepType;\r\n data[\"metadata\"] = this.metadata;\r\n data[\"scheduledStep\"] = this.scheduledStep;\r\n data[\"schedule\"] = this.schedule ? this.schedule.toJSON() : undefined;\r\n return data; \r\n }\r\n\r\n clone(): CreateActivityStep {\r\n const json = this.toJSON();\r\n let result = new CreateActivityStep();\r\n result.init(json);\r\n return result;\r\n }\r\n}\r\n\r\nexport interface ICreateActivityStep {\r\n active: boolean;\r\n name: string | undefined;\r\n order: number;\r\n inputRequired: ActivityStepInputSourceEnum;\r\n inputAllowed: ActivityStepInputSourceEnum;\r\n stepType: ActivityStepTypeEnum;\r\n metadata: any | undefined;\r\n scheduledStep: boolean;\r\n schedule: CreateStepSchedule | undefined;\r\n}\r\n\r\nexport class CreateStepSchedule implements ICreateStepSchedule {\r\n beginDate!: Date;\r\n endDate!: Date;\r\n\r\n constructor(data?: ICreateStepSchedule) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n\r\n init(_data?: any, _mappings?: any) {\r\n if (_data) {\r\n this.beginDate = _data[\"beginDate\"] ? new Date(_data[\"beginDate\"].toString()) : undefined;\r\n this.endDate = _data[\"endDate\"] ? new Date(_data[\"endDate\"].toString()) : undefined;\r\n }\r\n }\r\n\r\n static fromJS(data: any, _mappings?: any): CreateStepSchedule | null {\r\n data = typeof data === 'object' ? data : {};\r\n return createInstance(data, _mappings, CreateStepSchedule);\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"beginDate\"] = this.beginDate ? this.beginDate.toISOString() : undefined;\r\n data[\"endDate\"] = this.endDate ? this.endDate.toISOString() : undefined;\r\n return data; \r\n }\r\n\r\n clone(): CreateStepSchedule {\r\n const json = this.toJSON();\r\n let result = new CreateStepSchedule();\r\n result.init(json);\r\n return result;\r\n }\r\n}\r\n\r\nexport interface ICreateStepSchedule {\r\n beginDate: Date;\r\n endDate: Date;\r\n}\r\n\r\nexport class CreateBulkActivitiesCommand implements ICreateBulkActivitiesCommand {\r\n name!: string | undefined;\r\n observerId!: string;\r\n isPrivate!: boolean;\r\n learnerKeys!: LearnerKey[] | undefined;\r\n steps!: CreateActivityStep[] | undefined;\r\n additionalCollaborators!: string[] | undefined;\r\n\r\n constructor(data?: ICreateBulkActivitiesCommand) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n\r\n init(_data?: any, _mappings?: any) {\r\n if (_data) {\r\n this.name = _data[\"name\"];\r\n this.observerId = _data[\"observerId\"];\r\n this.isPrivate = _data[\"isPrivate\"];\r\n if (Array.isArray(_data[\"learnerKeys\"])) {\r\n this.learnerKeys = [] as any;\r\n for (let item of _data[\"learnerKeys\"])\r\n this.learnerKeys!.push(LearnerKey.fromJS(item, _mappings) as LearnerKey);\r\n }\r\n if (Array.isArray(_data[\"steps\"])) {\r\n this.steps = [] as any;\r\n for (let item of _data[\"steps\"])\r\n this.steps!.push(CreateActivityStep.fromJS(item, _mappings) as CreateActivityStep);\r\n }\r\n if (Array.isArray(_data[\"additionalCollaborators\"])) {\r\n this.additionalCollaborators = [] as any;\r\n for (let item of _data[\"additionalCollaborators\"])\r\n this.additionalCollaborators!.push(item);\r\n }\r\n }\r\n }\r\n\r\n static fromJS(data: any, _mappings?: any): CreateBulkActivitiesCommand | null {\r\n data = typeof data === 'object' ? data : {};\r\n return createInstance(data, _mappings, CreateBulkActivitiesCommand);\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"name\"] = this.name;\r\n data[\"observerId\"] = this.observerId;\r\n data[\"isPrivate\"] = this.isPrivate;\r\n if (Array.isArray(this.learnerKeys)) {\r\n data[\"learnerKeys\"] = [];\r\n for (let item of this.learnerKeys)\r\n data[\"learnerKeys\"].push(item.toJSON());\r\n }\r\n if (Array.isArray(this.steps)) {\r\n data[\"steps\"] = [];\r\n for (let item of this.steps)\r\n data[\"steps\"].push(item.toJSON());\r\n }\r\n if (Array.isArray(this.additionalCollaborators)) {\r\n data[\"additionalCollaborators\"] = [];\r\n for (let item of this.additionalCollaborators)\r\n data[\"additionalCollaborators\"].push(item);\r\n }\r\n return data; \r\n }\r\n\r\n clone(): CreateBulkActivitiesCommand {\r\n const json = this.toJSON();\r\n let result = new CreateBulkActivitiesCommand();\r\n result.init(json);\r\n return result;\r\n }\r\n}\r\n\r\nexport interface ICreateBulkActivitiesCommand {\r\n name: string | undefined;\r\n observerId: string;\r\n isPrivate: boolean;\r\n learnerKeys: LearnerKey[] | undefined;\r\n steps: CreateActivityStep[] | undefined;\r\n additionalCollaborators: string[] | undefined;\r\n}\r\n\r\nexport class LearnerKey implements ILearnerKey {\r\n learnerId!: string;\r\n learnerRoleType!: StaffRoleTypeEnum;\r\n\r\n constructor(data?: ILearnerKey) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n\r\n init(_data?: any, _mappings?: any) {\r\n if (_data) {\r\n this.learnerId = _data[\"learnerId\"];\r\n this.learnerRoleType = _data[\"learnerRoleType\"];\r\n }\r\n }\r\n\r\n static fromJS(data: any, _mappings?: any): LearnerKey | null {\r\n data = typeof data === 'object' ? data : {};\r\n return createInstance(data, _mappings, LearnerKey);\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"learnerId\"] = this.learnerId;\r\n data[\"learnerRoleType\"] = this.learnerRoleType;\r\n return data; \r\n }\r\n\r\n clone(): LearnerKey {\r\n const json = this.toJSON();\r\n let result = new LearnerKey();\r\n result.init(json);\r\n return result;\r\n }\r\n}\r\n\r\nexport interface ILearnerKey {\r\n learnerId: string;\r\n learnerRoleType: StaffRoleTypeEnum;\r\n}\r\n\r\nexport class UpdateActivityCommand implements IUpdateActivityCommand {\r\n activityId!: string;\r\n steps!: UpdateActivityStep[] | undefined;\r\n\r\n constructor(data?: IUpdateActivityCommand) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n\r\n init(_data?: any, _mappings?: any) {\r\n if (_data) {\r\n this.activityId = _data[\"activityId\"];\r\n if (Array.isArray(_data[\"steps\"])) {\r\n this.steps = [] as any;\r\n for (let item of _data[\"steps\"])\r\n this.steps!.push(UpdateActivityStep.fromJS(item, _mappings) as UpdateActivityStep);\r\n }\r\n }\r\n }\r\n\r\n static fromJS(data: any, _mappings?: any): UpdateActivityCommand | null {\r\n data = typeof data === 'object' ? data : {};\r\n return createInstance(data, _mappings, UpdateActivityCommand);\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"activityId\"] = this.activityId;\r\n if (Array.isArray(this.steps)) {\r\n data[\"steps\"] = [];\r\n for (let item of this.steps)\r\n data[\"steps\"].push(item.toJSON());\r\n }\r\n return data; \r\n }\r\n\r\n clone(): UpdateActivityCommand {\r\n const json = this.toJSON();\r\n let result = new UpdateActivityCommand();\r\n result.init(json);\r\n return result;\r\n }\r\n}\r\n\r\nexport interface IUpdateActivityCommand {\r\n activityId: string;\r\n steps: UpdateActivityStep[] | undefined;\r\n}\r\n\r\nexport class UpdateActivityStep implements IUpdateActivityStep {\r\n id!: number;\r\n active!: boolean;\r\n schedule!: UpdateStepSchedule | undefined;\r\n metadata!: any | undefined;\r\n\r\n constructor(data?: IUpdateActivityStep) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n\r\n init(_data?: any, _mappings?: any) {\r\n if (_data) {\r\n this.id = _data[\"id\"];\r\n this.active = _data[\"active\"];\r\n this.schedule = _data[\"schedule\"] ? UpdateStepSchedule.fromJS(_data[\"schedule\"], _mappings) : undefined;\r\n this.metadata = _data[\"metadata\"];\r\n }\r\n }\r\n\r\n static fromJS(data: any, _mappings?: any): UpdateActivityStep | null {\r\n data = typeof data === 'object' ? data : {};\r\n return createInstance(data, _mappings, UpdateActivityStep);\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"id\"] = this.id;\r\n data[\"active\"] = this.active;\r\n data[\"schedule\"] = this.schedule ? this.schedule.toJSON() : undefined;\r\n data[\"metadata\"] = this.metadata;\r\n return data; \r\n }\r\n\r\n clone(): UpdateActivityStep {\r\n const json = this.toJSON();\r\n let result = new UpdateActivityStep();\r\n result.init(json);\r\n return result;\r\n }\r\n}\r\n\r\nexport interface IUpdateActivityStep {\r\n id: number;\r\n active: boolean;\r\n schedule: UpdateStepSchedule | undefined;\r\n metadata: any | undefined;\r\n}\r\n\r\nexport class UpdateStepSchedule implements IUpdateStepSchedule {\r\n id!: number;\r\n name!: string | undefined;\r\n beginDate!: Date;\r\n endDate!: Date;\r\n\r\n constructor(data?: IUpdateStepSchedule) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n\r\n init(_data?: any, _mappings?: any) {\r\n if (_data) {\r\n this.id = _data[\"id\"];\r\n this.name = _data[\"name\"];\r\n this.beginDate = _data[\"beginDate\"] ? new Date(_data[\"beginDate\"].toString()) : undefined;\r\n this.endDate = _data[\"endDate\"] ? new Date(_data[\"endDate\"].toString()) : undefined;\r\n }\r\n }\r\n\r\n static fromJS(data: any, _mappings?: any): UpdateStepSchedule | null {\r\n data = typeof data === 'object' ? data : {};\r\n return createInstance(data, _mappings, UpdateStepSchedule);\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"id\"] = this.id;\r\n data[\"name\"] = this.name;\r\n data[\"beginDate\"] = this.beginDate ? this.beginDate.toISOString() : undefined;\r\n data[\"endDate\"] = this.endDate ? this.endDate.toISOString() : undefined;\r\n return data; \r\n }\r\n\r\n clone(): UpdateStepSchedule {\r\n const json = this.toJSON();\r\n let result = new UpdateStepSchedule();\r\n result.init(json);\r\n return result;\r\n }\r\n}\r\n\r\nexport interface IUpdateStepSchedule {\r\n id: number;\r\n name: string | undefined;\r\n beginDate: Date;\r\n endDate: Date;\r\n}\r\n\r\nexport class LearnerScheduledActivityDto implements ILearnerScheduledActivityDto {\r\n districtLea!: string | undefined;\r\n schoolLea!: string | undefined;\r\n learnerName!: string | undefined;\r\n observerName!: string | undefined;\r\n role!: string | undefined;\r\n activityId!: string;\r\n learnerId!: string;\r\n activityName!: string | undefined;\r\n scheduledDate!: Date;\r\n\r\n constructor(data?: ILearnerScheduledActivityDto) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n\r\n init(_data?: any, _mappings?: any) {\r\n if (_data) {\r\n this.districtLea = _data[\"districtLea\"];\r\n this.schoolLea = _data[\"schoolLea\"];\r\n this.learnerName = _data[\"learnerName\"];\r\n this.observerName = _data[\"observerName\"];\r\n this.role = _data[\"role\"];\r\n this.activityId = _data[\"activityId\"];\r\n this.learnerId = _data[\"learnerId\"];\r\n this.activityName = _data[\"activityName\"];\r\n this.scheduledDate = _data[\"scheduledDate\"] ? new Date(_data[\"scheduledDate\"].toString()) : undefined;\r\n }\r\n }\r\n\r\n static fromJS(data: any, _mappings?: any): LearnerScheduledActivityDto | null {\r\n data = typeof data === 'object' ? data : {};\r\n return createInstance(data, _mappings, LearnerScheduledActivityDto);\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"districtLea\"] = this.districtLea;\r\n data[\"schoolLea\"] = this.schoolLea;\r\n data[\"learnerName\"] = this.learnerName;\r\n data[\"observerName\"] = this.observerName;\r\n data[\"role\"] = this.role;\r\n data[\"activityId\"] = this.activityId;\r\n data[\"learnerId\"] = this.learnerId;\r\n data[\"activityName\"] = this.activityName;\r\n data[\"scheduledDate\"] = this.scheduledDate ? this.scheduledDate.toISOString() : undefined;\r\n return data; \r\n }\r\n\r\n clone(): LearnerScheduledActivityDto {\r\n const json = this.toJSON();\r\n let result = new LearnerScheduledActivityDto();\r\n result.init(json);\r\n return result;\r\n }\r\n}\r\n\r\nexport interface ILearnerScheduledActivityDto {\r\n districtLea: string | undefined;\r\n schoolLea: string | undefined;\r\n learnerName: string | undefined;\r\n observerName: string | undefined;\r\n role: string | undefined;\r\n activityId: string;\r\n learnerId: string;\r\n activityName: string | undefined;\r\n scheduledDate: Date;\r\n}\r\n\r\nexport class ActivityEvidenceDTO implements IActivityEvidenceDTO {\r\n id!: number;\r\n activityId!: string;\r\n notes!: string | undefined;\r\n comments!: string | undefined;\r\n goals!: GoalSelectorVm | undefined;\r\n rubric!: RubricSelector | undefined;\r\n created!: Date;\r\n createdByName!: string | undefined;\r\n\r\n constructor(data?: IActivityEvidenceDTO) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n\r\n init(_data?: any, _mappings?: any) {\r\n if (_data) {\r\n this.id = _data[\"id\"];\r\n this.activityId = _data[\"activityId\"];\r\n this.notes = _data[\"notes\"];\r\n this.comments = _data[\"comments\"];\r\n this.goals = _data[\"goals\"] ? GoalSelectorVm.fromJS(_data[\"goals\"], _mappings) : undefined;\r\n this.rubric = _data[\"rubric\"] ? RubricSelector.fromJS(_data[\"rubric\"], _mappings) : undefined;\r\n this.created = _data[\"created\"] ? new Date(_data[\"created\"].toString()) : undefined;\r\n this.createdByName = _data[\"createdByName\"];\r\n }\r\n }\r\n\r\n static fromJS(data: any, _mappings?: any): ActivityEvidenceDTO | null {\r\n data = typeof data === 'object' ? data : {};\r\n return createInstance(data, _mappings, ActivityEvidenceDTO);\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"id\"] = this.id;\r\n data[\"activityId\"] = this.activityId;\r\n data[\"notes\"] = this.notes;\r\n data[\"comments\"] = this.comments;\r\n data[\"goals\"] = this.goals ? this.goals.toJSON() : undefined;\r\n data[\"rubric\"] = this.rubric ? this.rubric.toJSON() : undefined;\r\n data[\"created\"] = this.created ? this.created.toISOString() : undefined;\r\n data[\"createdByName\"] = this.createdByName;\r\n return data; \r\n }\r\n\r\n clone(): ActivityEvidenceDTO {\r\n const json = this.toJSON();\r\n let result = new ActivityEvidenceDTO();\r\n result.init(json);\r\n return result;\r\n }\r\n}\r\n\r\nexport interface IActivityEvidenceDTO {\r\n id: number;\r\n activityId: string;\r\n notes: string | undefined;\r\n comments: string | undefined;\r\n goals: GoalSelectorVm | undefined;\r\n rubric: RubricSelector | undefined;\r\n created: Date;\r\n createdByName: string | undefined;\r\n}\r\n\r\nexport class GoalSelectorVm implements IGoalSelectorVm {\r\n lastUpdated!: Date | undefined;\r\n goalLinks!: GoalLinksVm[] | undefined;\r\n\r\n constructor(data?: IGoalSelectorVm) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n\r\n init(_data?: any, _mappings?: any) {\r\n if (_data) {\r\n this.lastUpdated = _data[\"lastUpdated\"] ? new Date(_data[\"lastUpdated\"].toString()) : undefined;\r\n if (Array.isArray(_data[\"goalLinks\"])) {\r\n this.goalLinks = [] as any;\r\n for (let item of _data[\"goalLinks\"])\r\n this.goalLinks!.push(GoalLinksVm.fromJS(item, _mappings) as GoalLinksVm);\r\n }\r\n }\r\n }\r\n\r\n static fromJS(data: any, _mappings?: any): GoalSelectorVm | null {\r\n data = typeof data === 'object' ? data : {};\r\n return createInstance(data, _mappings, GoalSelectorVm);\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"lastUpdated\"] = this.lastUpdated ? this.lastUpdated.toISOString() : undefined;\r\n if (Array.isArray(this.goalLinks)) {\r\n data[\"goalLinks\"] = [];\r\n for (let item of this.goalLinks)\r\n data[\"goalLinks\"].push(item.toJSON());\r\n }\r\n return data; \r\n }\r\n\r\n clone(): GoalSelectorVm {\r\n const json = this.toJSON();\r\n let result = new GoalSelectorVm();\r\n result.init(json);\r\n return result;\r\n }\r\n}\r\n\r\nexport interface IGoalSelectorVm {\r\n lastUpdated: Date | undefined;\r\n goalLinks: GoalLinksVm[] | undefined;\r\n}\r\n\r\nexport class GoalLinksVm implements IGoalLinksVm {\r\n goalId!: number;\r\n title!: string | undefined;\r\n isSelected!: boolean;\r\n selectedRubrics!: SelectedRubricSummaryVm[] | undefined;\r\n\r\n constructor(data?: IGoalLinksVm) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n\r\n init(_data?: any, _mappings?: any) {\r\n if (_data) {\r\n this.goalId = _data[\"goalId\"];\r\n this.title = _data[\"title\"];\r\n this.isSelected = _data[\"isSelected\"];\r\n if (Array.isArray(_data[\"selectedRubrics\"])) {\r\n this.selectedRubrics = [] as any;\r\n for (let item of _data[\"selectedRubrics\"])\r\n this.selectedRubrics!.push(SelectedRubricSummaryVm.fromJS(item, _mappings) as SelectedRubricSummaryVm);\r\n }\r\n }\r\n }\r\n\r\n static fromJS(data: any, _mappings?: any): GoalLinksVm | null {\r\n data = typeof data === 'object' ? data : {};\r\n return createInstance(data, _mappings, GoalLinksVm);\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"goalId\"] = this.goalId;\r\n data[\"title\"] = this.title;\r\n data[\"isSelected\"] = this.isSelected;\r\n if (Array.isArray(this.selectedRubrics)) {\r\n data[\"selectedRubrics\"] = [];\r\n for (let item of this.selectedRubrics)\r\n data[\"selectedRubrics\"].push(item.toJSON());\r\n }\r\n return data; \r\n }\r\n\r\n clone(): GoalLinksVm {\r\n const json = this.toJSON();\r\n let result = new GoalLinksVm();\r\n result.init(json);\r\n return result;\r\n }\r\n}\r\n\r\nexport interface IGoalLinksVm {\r\n goalId: number;\r\n title: string | undefined;\r\n isSelected: boolean;\r\n selectedRubrics: SelectedRubricSummaryVm[] | undefined;\r\n}\r\n\r\nexport class SelectedRubricSummaryVm implements ISelectedRubricSummaryVm {\r\n key!: string | undefined;\r\n name!: string | undefined;\r\n\r\n constructor(data?: ISelectedRubricSummaryVm) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n\r\n init(_data?: any, _mappings?: any) {\r\n if (_data) {\r\n this.key = _data[\"key\"];\r\n this.name = _data[\"name\"];\r\n }\r\n }\r\n\r\n static fromJS(data: any, _mappings?: any): SelectedRubricSummaryVm | null {\r\n data = typeof data === 'object' ? data : {};\r\n return createInstance(data, _mappings, SelectedRubricSummaryVm);\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"key\"] = this.key;\r\n data[\"name\"] = this.name;\r\n return data; \r\n }\r\n\r\n clone(): SelectedRubricSummaryVm {\r\n const json = this.toJSON();\r\n let result = new SelectedRubricSummaryVm();\r\n result.init(json);\r\n return result;\r\n }\r\n}\r\n\r\nexport interface ISelectedRubricSummaryVm {\r\n key: string | undefined;\r\n name: string | undefined;\r\n}\r\n\r\nexport class RubricSelector implements IRubricSelector {\r\n domains!: RubricDomainSelector[] | undefined;\r\n\r\n constructor(data?: IRubricSelector) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n\r\n init(_data?: any, _mappings?: any) {\r\n if (_data) {\r\n if (Array.isArray(_data[\"domains\"])) {\r\n this.domains = [] as any;\r\n for (let item of _data[\"domains\"])\r\n this.domains!.push(RubricDomainSelector.fromJS(item, _mappings) as RubricDomainSelector);\r\n }\r\n }\r\n }\r\n\r\n static fromJS(data: any, _mappings?: any): RubricSelector | null {\r\n data = typeof data === 'object' ? data : {};\r\n return createInstance(data, _mappings, RubricSelector);\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n if (Array.isArray(this.domains)) {\r\n data[\"domains\"] = [];\r\n for (let item of this.domains)\r\n data[\"domains\"].push(item.toJSON());\r\n }\r\n return data; \r\n }\r\n\r\n clone(): RubricSelector {\r\n const json = this.toJSON();\r\n let result = new RubricSelector();\r\n result.init(json);\r\n return result;\r\n }\r\n}\r\n\r\nexport interface IRubricSelector {\r\n domains: RubricDomainSelector[] | undefined;\r\n}\r\n\r\nexport class RubricDomainSelector implements IRubricDomainSelector {\r\n key!: string | undefined;\r\n name!: string | undefined;\r\n components!: RubricDomainComponentSelector[] | undefined;\r\n\r\n constructor(data?: IRubricDomainSelector) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n\r\n init(_data?: any, _mappings?: any) {\r\n if (_data) {\r\n this.key = _data[\"key\"];\r\n this.name = _data[\"name\"];\r\n if (Array.isArray(_data[\"components\"])) {\r\n this.components = [] as any;\r\n for (let item of _data[\"components\"])\r\n this.components!.push(RubricDomainComponentSelector.fromJS(item, _mappings) as RubricDomainComponentSelector);\r\n }\r\n }\r\n }\r\n\r\n static fromJS(data: any, _mappings?: any): RubricDomainSelector | null {\r\n data = typeof data === 'object' ? data : {};\r\n return createInstance(data, _mappings, RubricDomainSelector);\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"key\"] = this.key;\r\n data[\"name\"] = this.name;\r\n if (Array.isArray(this.components)) {\r\n data[\"components\"] = [];\r\n for (let item of this.components)\r\n data[\"components\"].push(item.toJSON());\r\n }\r\n return data; \r\n }\r\n\r\n clone(): RubricDomainSelector {\r\n const json = this.toJSON();\r\n let result = new RubricDomainSelector();\r\n result.init(json);\r\n return result;\r\n }\r\n}\r\n\r\nexport interface IRubricDomainSelector {\r\n key: string | undefined;\r\n name: string | undefined;\r\n components: RubricDomainComponentSelector[] | undefined;\r\n}\r\n\r\nexport class RubricDomainComponentSelector implements IRubricDomainComponentSelector {\r\n key!: string | undefined;\r\n name!: string | undefined;\r\n isSelected!: boolean;\r\n\r\n constructor(data?: IRubricDomainComponentSelector) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n\r\n init(_data?: any, _mappings?: any) {\r\n if (_data) {\r\n this.key = _data[\"key\"];\r\n this.name = _data[\"name\"];\r\n this.isSelected = _data[\"isSelected\"];\r\n }\r\n }\r\n\r\n static fromJS(data: any, _mappings?: any): RubricDomainComponentSelector | null {\r\n data = typeof data === 'object' ? data : {};\r\n return createInstance(data, _mappings, RubricDomainComponentSelector);\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"key\"] = this.key;\r\n data[\"name\"] = this.name;\r\n data[\"isSelected\"] = this.isSelected;\r\n return data; \r\n }\r\n\r\n clone(): RubricDomainComponentSelector {\r\n const json = this.toJSON();\r\n let result = new RubricDomainComponentSelector();\r\n result.init(json);\r\n return result;\r\n }\r\n}\r\n\r\nexport interface IRubricDomainComponentSelector {\r\n key: string | undefined;\r\n name: string | undefined;\r\n isSelected: boolean;\r\n}\r\n\r\nexport class ActivityRatingComponentEvidenceDTO implements IActivityRatingComponentEvidenceDTO {\r\n activityId!: string;\r\n activityEvidenceId!: number;\r\n notes!: string | undefined;\r\n createdBy!: string | undefined;\r\n createdDate!: Date;\r\n componentKey!: string | undefined;\r\n\r\n constructor(data?: IActivityRatingComponentEvidenceDTO) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n\r\n init(_data?: any, _mappings?: any) {\r\n if (_data) {\r\n this.activityId = _data[\"activityId\"];\r\n this.activityEvidenceId = _data[\"activityEvidenceId\"];\r\n this.notes = _data[\"notes\"];\r\n this.createdBy = _data[\"createdBy\"];\r\n this.createdDate = _data[\"createdDate\"] ? new Date(_data[\"createdDate\"].toString()) : undefined;\r\n this.componentKey = _data[\"componentKey\"];\r\n }\r\n }\r\n\r\n static fromJS(data: any, _mappings?: any): ActivityRatingComponentEvidenceDTO | null {\r\n data = typeof data === 'object' ? data : {};\r\n return createInstance(data, _mappings, ActivityRatingComponentEvidenceDTO);\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"activityId\"] = this.activityId;\r\n data[\"activityEvidenceId\"] = this.activityEvidenceId;\r\n data[\"notes\"] = this.notes;\r\n data[\"createdBy\"] = this.createdBy;\r\n data[\"createdDate\"] = this.createdDate ? this.createdDate.toISOString() : undefined;\r\n data[\"componentKey\"] = this.componentKey;\r\n return data; \r\n }\r\n\r\n clone(): ActivityRatingComponentEvidenceDTO {\r\n const json = this.toJSON();\r\n let result = new ActivityRatingComponentEvidenceDTO();\r\n result.init(json);\r\n return result;\r\n }\r\n}\r\n\r\nexport interface IActivityRatingComponentEvidenceDTO {\r\n activityId: string;\r\n activityEvidenceId: number;\r\n notes: string | undefined;\r\n createdBy: string | undefined;\r\n createdDate: Date;\r\n componentKey: string | undefined;\r\n}\r\n\r\nexport class CreateActivityEvidenceCommand implements ICreateActivityEvidenceCommand {\r\n activityId!: string;\r\n notes!: string | undefined;\r\n comments!: string | undefined;\r\n goals!: GoalSelectorVm | undefined;\r\n rubric!: RubricSelector | undefined;\r\n\r\n constructor(data?: ICreateActivityEvidenceCommand) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n\r\n init(_data?: any, _mappings?: any) {\r\n if (_data) {\r\n this.activityId = _data[\"activityId\"];\r\n this.notes = _data[\"notes\"];\r\n this.comments = _data[\"comments\"];\r\n this.goals = _data[\"goals\"] ? GoalSelectorVm.fromJS(_data[\"goals\"], _mappings) : undefined;\r\n this.rubric = _data[\"rubric\"] ? RubricSelector.fromJS(_data[\"rubric\"], _mappings) : undefined;\r\n }\r\n }\r\n\r\n static fromJS(data: any, _mappings?: any): CreateActivityEvidenceCommand | null {\r\n data = typeof data === 'object' ? data : {};\r\n return createInstance(data, _mappings, CreateActivityEvidenceCommand);\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"activityId\"] = this.activityId;\r\n data[\"notes\"] = this.notes;\r\n data[\"comments\"] = this.comments;\r\n data[\"goals\"] = this.goals ? this.goals.toJSON() : undefined;\r\n data[\"rubric\"] = this.rubric ? this.rubric.toJSON() : undefined;\r\n return data; \r\n }\r\n\r\n clone(): CreateActivityEvidenceCommand {\r\n const json = this.toJSON();\r\n let result = new CreateActivityEvidenceCommand();\r\n result.init(json);\r\n return result;\r\n }\r\n}\r\n\r\nexport interface ICreateActivityEvidenceCommand {\r\n activityId: string;\r\n notes: string | undefined;\r\n comments: string | undefined;\r\n goals: GoalSelectorVm | undefined;\r\n rubric: RubricSelector | undefined;\r\n}\r\n\r\nexport class UpdateActivityEvidenceCommand implements IUpdateActivityEvidenceCommand {\r\n activityEvidence!: ActivityEvidenceDTO | undefined;\r\n\r\n constructor(data?: IUpdateActivityEvidenceCommand) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n\r\n init(_data?: any, _mappings?: any) {\r\n if (_data) {\r\n this.activityEvidence = _data[\"activityEvidence\"] ? ActivityEvidenceDTO.fromJS(_data[\"activityEvidence\"], _mappings) : undefined;\r\n }\r\n }\r\n\r\n static fromJS(data: any, _mappings?: any): UpdateActivityEvidenceCommand | null {\r\n data = typeof data === 'object' ? data : {};\r\n return createInstance(data, _mappings, UpdateActivityEvidenceCommand);\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"activityEvidence\"] = this.activityEvidence ? this.activityEvidence.toJSON() : undefined;\r\n return data; \r\n }\r\n\r\n clone(): UpdateActivityEvidenceCommand {\r\n const json = this.toJSON();\r\n let result = new UpdateActivityEvidenceCommand();\r\n result.init(json);\r\n return result;\r\n }\r\n}\r\n\r\nexport interface IUpdateActivityEvidenceCommand {\r\n activityEvidence: ActivityEvidenceDTO | undefined;\r\n}\r\n\r\nexport class ActivityStepDataDTO implements IActivityStepDataDTO {\r\n id!: number;\r\n activityData!: any | undefined;\r\n inputAllowed!: ActivityStepInputSourceEnum;\r\n\r\n constructor(data?: IActivityStepDataDTO) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n\r\n init(_data?: any, _mappings?: any) {\r\n if (_data) {\r\n this.id = _data[\"id\"];\r\n this.activityData = _data[\"activityData\"];\r\n this.inputAllowed = _data[\"inputAllowed\"];\r\n }\r\n }\r\n\r\n static fromJS(data: any, _mappings?: any): ActivityStepDataDTO | null {\r\n data = typeof data === 'object' ? data : {};\r\n return createInstance(data, _mappings, ActivityStepDataDTO);\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"id\"] = this.id;\r\n data[\"activityData\"] = this.activityData;\r\n data[\"inputAllowed\"] = this.inputAllowed;\r\n return data; \r\n }\r\n\r\n clone(): ActivityStepDataDTO {\r\n const json = this.toJSON();\r\n let result = new ActivityStepDataDTO();\r\n result.init(json);\r\n return result;\r\n }\r\n}\r\n\r\nexport interface IActivityStepDataDTO {\r\n id: number;\r\n activityData: any | undefined;\r\n inputAllowed: ActivityStepInputSourceEnum;\r\n}\r\n\r\nexport class UpdateActivityStepDataCommand implements IUpdateActivityStepDataCommand {\r\n id!: number;\r\n activityData!: any | undefined;\r\n\r\n constructor(data?: IUpdateActivityStepDataCommand) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n\r\n init(_data?: any, _mappings?: any) {\r\n if (_data) {\r\n this.id = _data[\"id\"];\r\n this.activityData = _data[\"activityData\"];\r\n }\r\n }\r\n\r\n static fromJS(data: any, _mappings?: any): UpdateActivityStepDataCommand | null {\r\n data = typeof data === 'object' ? data : {};\r\n return createInstance(data, _mappings, UpdateActivityStepDataCommand);\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"id\"] = this.id;\r\n data[\"activityData\"] = this.activityData;\r\n return data; \r\n }\r\n\r\n clone(): UpdateActivityStepDataCommand {\r\n const json = this.toJSON();\r\n let result = new UpdateActivityStepDataCommand();\r\n result.init(json);\r\n return result;\r\n }\r\n}\r\n\r\nexport interface IUpdateActivityStepDataCommand {\r\n id: number;\r\n activityData: any | undefined;\r\n}\r\n\r\nexport class ActivityRatingComponentPromptDTO implements IActivityRatingComponentPromptDTO {\r\n activityId!: string;\r\n componentKey!: string | undefined;\r\n promptText!: string | undefined;\r\n response!: string | undefined;\r\n\r\n constructor(data?: IActivityRatingComponentPromptDTO) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n\r\n init(_data?: any, _mappings?: any) {\r\n if (_data) {\r\n this.activityId = _data[\"activityId\"];\r\n this.componentKey = _data[\"componentKey\"];\r\n this.promptText = _data[\"promptText\"];\r\n this.response = _data[\"response\"];\r\n }\r\n }\r\n\r\n static fromJS(data: any, _mappings?: any): ActivityRatingComponentPromptDTO | null {\r\n data = typeof data === 'object' ? data : {};\r\n return createInstance(data, _mappings, ActivityRatingComponentPromptDTO);\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"activityId\"] = this.activityId;\r\n data[\"componentKey\"] = this.componentKey;\r\n data[\"promptText\"] = this.promptText;\r\n data[\"response\"] = this.response;\r\n return data; \r\n }\r\n\r\n clone(): ActivityRatingComponentPromptDTO {\r\n const json = this.toJSON();\r\n let result = new ActivityRatingComponentPromptDTO();\r\n result.init(json);\r\n return result;\r\n }\r\n}\r\n\r\nexport interface IActivityRatingComponentPromptDTO {\r\n activityId: string;\r\n componentKey: string | undefined;\r\n promptText: string | undefined;\r\n response: string | undefined;\r\n}\r\n\r\nexport class ActivityTypeDTO implements IActivityTypeDTO {\r\n id!: number;\r\n name!: string | undefined;\r\n steps!: ActivityTypeStepDTO[] | undefined;\r\n\r\n constructor(data?: IActivityTypeDTO) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n\r\n init(_data?: any, _mappings?: any) {\r\n if (_data) {\r\n this.id = _data[\"id\"];\r\n this.name = _data[\"name\"];\r\n if (Array.isArray(_data[\"steps\"])) {\r\n this.steps = [] as any;\r\n for (let item of _data[\"steps\"])\r\n this.steps!.push(ActivityTypeStepDTO.fromJS(item, _mappings) as ActivityTypeStepDTO);\r\n }\r\n }\r\n }\r\n\r\n static fromJS(data: any, _mappings?: any): ActivityTypeDTO | null {\r\n data = typeof data === 'object' ? data : {};\r\n return createInstance(data, _mappings, ActivityTypeDTO);\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"id\"] = this.id;\r\n data[\"name\"] = this.name;\r\n if (Array.isArray(this.steps)) {\r\n data[\"steps\"] = [];\r\n for (let item of this.steps)\r\n data[\"steps\"].push(item.toJSON());\r\n }\r\n return data; \r\n }\r\n\r\n clone(): ActivityTypeDTO {\r\n const json = this.toJSON();\r\n let result = new ActivityTypeDTO();\r\n result.init(json);\r\n return result;\r\n }\r\n}\r\n\r\nexport interface IActivityTypeDTO {\r\n id: number;\r\n name: string | undefined;\r\n steps: ActivityTypeStepDTO[] | undefined;\r\n}\r\n\r\nexport class ActivityTypeStepDTO implements IActivityTypeStepDTO {\r\n id!: number;\r\n name!: string | undefined;\r\n scheduledStep!: boolean;\r\n stepType!: ActivityStepTypeEnum;\r\n metadata!: any | undefined;\r\n inputRequired!: ActivityStepInputSourceEnum;\r\n inputAllowed!: ActivityStepInputSourceEnum;\r\n order!: number;\r\n\r\n constructor(data?: IActivityTypeStepDTO) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n\r\n init(_data?: any, _mappings?: any) {\r\n if (_data) {\r\n this.id = _data[\"id\"];\r\n this.name = _data[\"name\"];\r\n this.scheduledStep = _data[\"scheduledStep\"];\r\n this.stepType = _data[\"stepType\"];\r\n this.metadata = _data[\"metadata\"];\r\n this.inputRequired = _data[\"inputRequired\"];\r\n this.inputAllowed = _data[\"inputAllowed\"];\r\n this.order = _data[\"order\"];\r\n }\r\n }\r\n\r\n static fromJS(data: any, _mappings?: any): ActivityTypeStepDTO | null {\r\n data = typeof data === 'object' ? data : {};\r\n return createInstance(data, _mappings, ActivityTypeStepDTO);\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"id\"] = this.id;\r\n data[\"name\"] = this.name;\r\n data[\"scheduledStep\"] = this.scheduledStep;\r\n data[\"stepType\"] = this.stepType;\r\n data[\"metadata\"] = this.metadata;\r\n data[\"inputRequired\"] = this.inputRequired;\r\n data[\"inputAllowed\"] = this.inputAllowed;\r\n data[\"order\"] = this.order;\r\n return data; \r\n }\r\n\r\n clone(): ActivityTypeStepDTO {\r\n const json = this.toJSON();\r\n let result = new ActivityTypeStepDTO();\r\n result.init(json);\r\n return result;\r\n }\r\n}\r\n\r\nexport interface IActivityTypeStepDTO {\r\n id: number;\r\n name: string | undefined;\r\n scheduledStep: boolean;\r\n stepType: ActivityStepTypeEnum;\r\n metadata: any | undefined;\r\n inputRequired: ActivityStepInputSourceEnum;\r\n inputAllowed: ActivityStepInputSourceEnum;\r\n order: number;\r\n}\r\n\r\nexport class ArtifactDTO implements IArtifactDTO {\r\n id!: number;\r\n learnerId!: string;\r\n name!: string | undefined;\r\n contentType!: string | undefined;\r\n created!: Date;\r\n createdByName!: string | undefined;\r\n goals!: GoalSelectorVm | undefined;\r\n rubric!: RubricSelector | undefined;\r\n activities!: ArtifactActivitiesDTO[] | undefined;\r\n externalUrl!: string | undefined;\r\n rubricVersionId!: number;\r\n rubricMismatch!: boolean;\r\n\r\n constructor(data?: IArtifactDTO) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n\r\n init(_data?: any, _mappings?: any) {\r\n if (_data) {\r\n this.id = _data[\"id\"];\r\n this.learnerId = _data[\"learnerId\"];\r\n this.name = _data[\"name\"];\r\n this.contentType = _data[\"contentType\"];\r\n this.created = _data[\"created\"] ? new Date(_data[\"created\"].toString()) : undefined;\r\n this.createdByName = _data[\"createdByName\"];\r\n this.goals = _data[\"goals\"] ? GoalSelectorVm.fromJS(_data[\"goals\"], _mappings) : undefined;\r\n this.rubric = _data[\"rubric\"] ? RubricSelector.fromJS(_data[\"rubric\"], _mappings) : undefined;\r\n if (Array.isArray(_data[\"activities\"])) {\r\n this.activities = [] as any;\r\n for (let item of _data[\"activities\"])\r\n this.activities!.push(ArtifactActivitiesDTO.fromJS(item, _mappings) as ArtifactActivitiesDTO);\r\n }\r\n this.externalUrl = _data[\"externalUrl\"];\r\n this.rubricVersionId = _data[\"rubricVersionId\"];\r\n this.rubricMismatch = _data[\"rubricMismatch\"];\r\n }\r\n }\r\n\r\n static fromJS(data: any, _mappings?: any): ArtifactDTO | null {\r\n data = typeof data === 'object' ? data : {};\r\n return createInstance(data, _mappings, ArtifactDTO);\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"id\"] = this.id;\r\n data[\"learnerId\"] = this.learnerId;\r\n data[\"name\"] = this.name;\r\n data[\"contentType\"] = this.contentType;\r\n data[\"created\"] = this.created ? this.created.toISOString() : undefined;\r\n data[\"createdByName\"] = this.createdByName;\r\n data[\"goals\"] = this.goals ? this.goals.toJSON() : undefined;\r\n data[\"rubric\"] = this.rubric ? this.rubric.toJSON() : undefined;\r\n if (Array.isArray(this.activities)) {\r\n data[\"activities\"] = [];\r\n for (let item of this.activities)\r\n data[\"activities\"].push(item.toJSON());\r\n }\r\n data[\"externalUrl\"] = this.externalUrl;\r\n data[\"rubricVersionId\"] = this.rubricVersionId;\r\n data[\"rubricMismatch\"] = this.rubricMismatch;\r\n return data; \r\n }\r\n\r\n clone(): ArtifactDTO {\r\n const json = this.toJSON();\r\n let result = new ArtifactDTO();\r\n result.init(json);\r\n return result;\r\n }\r\n}\r\n\r\nexport interface IArtifactDTO {\r\n id: number;\r\n learnerId: string;\r\n name: string | undefined;\r\n contentType: string | undefined;\r\n created: Date;\r\n createdByName: string | undefined;\r\n goals: GoalSelectorVm | undefined;\r\n rubric: RubricSelector | undefined;\r\n activities: ArtifactActivitiesDTO[] | undefined;\r\n externalUrl: string | undefined;\r\n rubricVersionId: number;\r\n rubricMismatch: boolean;\r\n}\r\n\r\nexport class ArtifactActivitiesDTO implements IArtifactActivitiesDTO {\r\n id!: string;\r\n name!: string | undefined;\r\n isSelected!: boolean;\r\n\r\n constructor(data?: IArtifactActivitiesDTO) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n\r\n init(_data?: any, _mappings?: any) {\r\n if (_data) {\r\n this.id = _data[\"id\"];\r\n this.name = _data[\"name\"];\r\n this.isSelected = _data[\"isSelected\"];\r\n }\r\n }\r\n\r\n static fromJS(data: any, _mappings?: any): ArtifactActivitiesDTO | null {\r\n data = typeof data === 'object' ? data : {};\r\n return createInstance(data, _mappings, ArtifactActivitiesDTO);\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"id\"] = this.id;\r\n data[\"name\"] = this.name;\r\n data[\"isSelected\"] = this.isSelected;\r\n return data; \r\n }\r\n\r\n clone(): ArtifactActivitiesDTO {\r\n const json = this.toJSON();\r\n let result = new ArtifactActivitiesDTO();\r\n result.init(json);\r\n return result;\r\n }\r\n}\r\n\r\nexport interface IArtifactActivitiesDTO {\r\n id: string;\r\n name: string | undefined;\r\n isSelected: boolean;\r\n}\r\n\r\nexport class ActivityRatingComponentArtifactDTO implements IActivityRatingComponentArtifactDTO {\r\n activityId!: string;\r\n artifactId!: number;\r\n name!: string | undefined;\r\n createdBy!: string | undefined;\r\n createdDate!: Date;\r\n componentKey!: string | undefined;\r\n\r\n constructor(data?: IActivityRatingComponentArtifactDTO) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n\r\n init(_data?: any, _mappings?: any) {\r\n if (_data) {\r\n this.activityId = _data[\"activityId\"];\r\n this.artifactId = _data[\"artifactId\"];\r\n this.name = _data[\"name\"];\r\n this.createdBy = _data[\"createdBy\"];\r\n this.createdDate = _data[\"createdDate\"] ? new Date(_data[\"createdDate\"].toString()) : undefined;\r\n this.componentKey = _data[\"componentKey\"];\r\n }\r\n }\r\n\r\n static fromJS(data: any, _mappings?: any): ActivityRatingComponentArtifactDTO | null {\r\n data = typeof data === 'object' ? data : {};\r\n return createInstance(data, _mappings, ActivityRatingComponentArtifactDTO);\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"activityId\"] = this.activityId;\r\n data[\"artifactId\"] = this.artifactId;\r\n data[\"name\"] = this.name;\r\n data[\"createdBy\"] = this.createdBy;\r\n data[\"createdDate\"] = this.createdDate ? this.createdDate.toISOString() : undefined;\r\n data[\"componentKey\"] = this.componentKey;\r\n return data; \r\n }\r\n\r\n clone(): ActivityRatingComponentArtifactDTO {\r\n const json = this.toJSON();\r\n let result = new ActivityRatingComponentArtifactDTO();\r\n result.init(json);\r\n return result;\r\n }\r\n}\r\n\r\nexport interface IActivityRatingComponentArtifactDTO {\r\n activityId: string;\r\n artifactId: number;\r\n name: string | undefined;\r\n createdBy: string | undefined;\r\n createdDate: Date;\r\n componentKey: string | undefined;\r\n}\r\n\r\nexport class ExternalResourceInfo implements IExternalResourceInfo {\r\n resourcePath!: string | undefined;\r\n resourceName!: string | undefined;\r\n\r\n constructor(data?: IExternalResourceInfo) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n\r\n init(_data?: any, _mappings?: any) {\r\n if (_data) {\r\n this.resourcePath = _data[\"resourcePath\"];\r\n this.resourceName = _data[\"resourceName\"];\r\n }\r\n }\r\n\r\n static fromJS(data: any, _mappings?: any): ExternalResourceInfo | null {\r\n data = typeof data === 'object' ? data : {};\r\n return createInstance(data, _mappings, ExternalResourceInfo);\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"resourcePath\"] = this.resourcePath;\r\n data[\"resourceName\"] = this.resourceName;\r\n return data; \r\n }\r\n\r\n clone(): ExternalResourceInfo {\r\n const json = this.toJSON();\r\n let result = new ExternalResourceInfo();\r\n result.init(json);\r\n return result;\r\n }\r\n}\r\n\r\nexport interface IExternalResourceInfo {\r\n resourcePath: string | undefined;\r\n resourceName: string | undefined;\r\n}\r\n\r\nexport class UpdateArtifactCommand implements IUpdateArtifactCommand {\r\n id!: number;\r\n name!: string | undefined;\r\n goals!: GoalSelectorVm | undefined;\r\n rubric!: RubricSelector | undefined;\r\n activities!: ArtifactActivitiesDTO[] | undefined;\r\n\r\n constructor(data?: IUpdateArtifactCommand) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n\r\n init(_data?: any, _mappings?: any) {\r\n if (_data) {\r\n this.id = _data[\"id\"];\r\n this.name = _data[\"name\"];\r\n this.goals = _data[\"goals\"] ? GoalSelectorVm.fromJS(_data[\"goals\"], _mappings) : undefined;\r\n this.rubric = _data[\"rubric\"] ? RubricSelector.fromJS(_data[\"rubric\"], _mappings) : undefined;\r\n if (Array.isArray(_data[\"activities\"])) {\r\n this.activities = [] as any;\r\n for (let item of _data[\"activities\"])\r\n this.activities!.push(ArtifactActivitiesDTO.fromJS(item, _mappings) as ArtifactActivitiesDTO);\r\n }\r\n }\r\n }\r\n\r\n static fromJS(data: any, _mappings?: any): UpdateArtifactCommand | null {\r\n data = typeof data === 'object' ? data : {};\r\n return createInstance(data, _mappings, UpdateArtifactCommand);\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"id\"] = this.id;\r\n data[\"name\"] = this.name;\r\n data[\"goals\"] = this.goals ? this.goals.toJSON() : undefined;\r\n data[\"rubric\"] = this.rubric ? this.rubric.toJSON() : undefined;\r\n if (Array.isArray(this.activities)) {\r\n data[\"activities\"] = [];\r\n for (let item of this.activities)\r\n data[\"activities\"].push(item.toJSON());\r\n }\r\n return data; \r\n }\r\n\r\n clone(): UpdateArtifactCommand {\r\n const json = this.toJSON();\r\n let result = new UpdateArtifactCommand();\r\n result.init(json);\r\n return result;\r\n }\r\n}\r\n\r\nexport interface IUpdateArtifactCommand {\r\n id: number;\r\n name: string | undefined;\r\n goals: GoalSelectorVm | undefined;\r\n rubric: RubricSelector | undefined;\r\n activities: ArtifactActivitiesDTO[] | undefined;\r\n}\r\n\r\nexport class DashboardQueryResponseDto implements IDashboardQueryResponseDto {\r\n overallStatisticsForAllRoles!: LearnerRoleStatisticsDto | undefined;\r\n statisticsByRole!: LearnerRoleStatisticsDto[] | undefined;\r\n statisticsByLEA!: LEAStatisticsDto[] | undefined;\r\n averageObserverLoad!: AvgLearnersAssignedByObserverRoleDto[] | undefined;\r\n yearlyRatingSummary!: YearlyRatingSummaryDto[] | undefined;\r\n yearlyRatingSummaryByRole!: YearlyRatingSummaryByRoleDto[] | undefined;\r\n\r\n constructor(data?: IDashboardQueryResponseDto) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n\r\n init(_data?: any, _mappings?: any) {\r\n if (_data) {\r\n this.overallStatisticsForAllRoles = _data[\"overallStatisticsForAllRoles\"] ? LearnerRoleStatisticsDto.fromJS(_data[\"overallStatisticsForAllRoles\"], _mappings) : undefined;\r\n if (Array.isArray(_data[\"statisticsByRole\"])) {\r\n this.statisticsByRole = [] as any;\r\n for (let item of _data[\"statisticsByRole\"])\r\n this.statisticsByRole!.push(LearnerRoleStatisticsDto.fromJS(item, _mappings) as LearnerRoleStatisticsDto);\r\n }\r\n if (Array.isArray(_data[\"statisticsByLEA\"])) {\r\n this.statisticsByLEA = [] as any;\r\n for (let item of _data[\"statisticsByLEA\"])\r\n this.statisticsByLEA!.push(LEAStatisticsDto.fromJS(item, _mappings) as LEAStatisticsDto);\r\n }\r\n if (Array.isArray(_data[\"averageObserverLoad\"])) {\r\n this.averageObserverLoad = [] as any;\r\n for (let item of _data[\"averageObserverLoad\"])\r\n this.averageObserverLoad!.push(AvgLearnersAssignedByObserverRoleDto.fromJS(item, _mappings) as AvgLearnersAssignedByObserverRoleDto);\r\n }\r\n if (Array.isArray(_data[\"yearlyRatingSummary\"])) {\r\n this.yearlyRatingSummary = [] as any;\r\n for (let item of _data[\"yearlyRatingSummary\"])\r\n this.yearlyRatingSummary!.push(YearlyRatingSummaryDto.fromJS(item, _mappings) as YearlyRatingSummaryDto);\r\n }\r\n if (Array.isArray(_data[\"yearlyRatingSummaryByRole\"])) {\r\n this.yearlyRatingSummaryByRole = [] as any;\r\n for (let item of _data[\"yearlyRatingSummaryByRole\"])\r\n this.yearlyRatingSummaryByRole!.push(YearlyRatingSummaryByRoleDto.fromJS(item, _mappings) as YearlyRatingSummaryByRoleDto);\r\n }\r\n }\r\n }\r\n\r\n static fromJS(data: any, _mappings?: any): DashboardQueryResponseDto | null {\r\n data = typeof data === 'object' ? data : {};\r\n return createInstance(data, _mappings, DashboardQueryResponseDto);\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"overallStatisticsForAllRoles\"] = this.overallStatisticsForAllRoles ? this.overallStatisticsForAllRoles.toJSON() : undefined;\r\n if (Array.isArray(this.statisticsByRole)) {\r\n data[\"statisticsByRole\"] = [];\r\n for (let item of this.statisticsByRole)\r\n data[\"statisticsByRole\"].push(item.toJSON());\r\n }\r\n if (Array.isArray(this.statisticsByLEA)) {\r\n data[\"statisticsByLEA\"] = [];\r\n for (let item of this.statisticsByLEA)\r\n data[\"statisticsByLEA\"].push(item.toJSON());\r\n }\r\n if (Array.isArray(this.averageObserverLoad)) {\r\n data[\"averageObserverLoad\"] = [];\r\n for (let item of this.averageObserverLoad)\r\n data[\"averageObserverLoad\"].push(item.toJSON());\r\n }\r\n if (Array.isArray(this.yearlyRatingSummary)) {\r\n data[\"yearlyRatingSummary\"] = [];\r\n for (let item of this.yearlyRatingSummary)\r\n data[\"yearlyRatingSummary\"].push(item.toJSON());\r\n }\r\n if (Array.isArray(this.yearlyRatingSummaryByRole)) {\r\n data[\"yearlyRatingSummaryByRole\"] = [];\r\n for (let item of this.yearlyRatingSummaryByRole)\r\n data[\"yearlyRatingSummaryByRole\"].push(item.toJSON());\r\n }\r\n return data; \r\n }\r\n\r\n clone(): DashboardQueryResponseDto {\r\n const json = this.toJSON();\r\n let result = new DashboardQueryResponseDto();\r\n result.init(json);\r\n return result;\r\n }\r\n}\r\n\r\nexport interface IDashboardQueryResponseDto {\r\n overallStatisticsForAllRoles: LearnerRoleStatisticsDto | undefined;\r\n statisticsByRole: LearnerRoleStatisticsDto[] | undefined;\r\n statisticsByLEA: LEAStatisticsDto[] | undefined;\r\n averageObserverLoad: AvgLearnersAssignedByObserverRoleDto[] | undefined;\r\n yearlyRatingSummary: YearlyRatingSummaryDto[] | undefined;\r\n yearlyRatingSummaryByRole: YearlyRatingSummaryByRoleDto[] | undefined;\r\n}\r\n\r\nexport abstract class StatisticsDto implements IStatisticsDto {\r\n numberOfLearners!: number | undefined;\r\n numberOfSummativeYearLearners!: number | undefined;\r\n numberOfLearnersAssignedToObservers!: number | undefined;\r\n pgpReviewsPending!: number | undefined;\r\n pgpReviewsInProgress!: number | undefined;\r\n pgpReviewsCompleted!: number | undefined;\r\n distinctLearnersWithPGPReviewPendingOrInProgress!: number | undefined;\r\n distinctLearnersWithPGPReviewCompleted!: number | undefined;\r\n summativeObservationsPending!: number | undefined;\r\n summativeObservationsInProgress!: number | undefined;\r\n summativeObservationsCompleted!: number | undefined;\r\n numberOfSummativeLearnersWithObservationsPendingOrInProgress!: number | undefined;\r\n numberOfSummativeLearnersWithObservationsCompleted!: number | undefined;\r\n avgCurrentYearRatingAll!: number | undefined;\r\n avgCurrentYearRatingSummative!: number | undefined;\r\n avgPriorRating!: number | undefined;\r\n numberOfSummativeYearLearnersWithRatings!: number | undefined;\r\n\r\n constructor(data?: IStatisticsDto) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n\r\n init(_data?: any, _mappings?: any) {\r\n if (_data) {\r\n this.numberOfLearners = _data[\"numberOfLearners\"];\r\n this.numberOfSummativeYearLearners = _data[\"numberOfSummativeYearLearners\"];\r\n this.numberOfLearnersAssignedToObservers = _data[\"numberOfLearnersAssignedToObservers\"];\r\n this.pgpReviewsPending = _data[\"pgpReviewsPending\"];\r\n this.pgpReviewsInProgress = _data[\"pgpReviewsInProgress\"];\r\n this.pgpReviewsCompleted = _data[\"pgpReviewsCompleted\"];\r\n this.distinctLearnersWithPGPReviewPendingOrInProgress = _data[\"distinctLearnersWithPGPReviewPendingOrInProgress\"];\r\n this.distinctLearnersWithPGPReviewCompleted = _data[\"distinctLearnersWithPGPReviewCompleted\"];\r\n this.summativeObservationsPending = _data[\"summativeObservationsPending\"];\r\n this.summativeObservationsInProgress = _data[\"summativeObservationsInProgress\"];\r\n this.summativeObservationsCompleted = _data[\"summativeObservationsCompleted\"];\r\n this.numberOfSummativeLearnersWithObservationsPendingOrInProgress = _data[\"numberOfSummativeLearnersWithObservationsPendingOrInProgress\"];\r\n this.numberOfSummativeLearnersWithObservationsCompleted = _data[\"numberOfSummativeLearnersWithObservationsCompleted\"];\r\n this.avgCurrentYearRatingAll = _data[\"avgCurrentYearRatingAll\"];\r\n this.avgCurrentYearRatingSummative = _data[\"avgCurrentYearRatingSummative\"];\r\n this.avgPriorRating = _data[\"avgPriorRating\"];\r\n this.numberOfSummativeYearLearnersWithRatings = _data[\"numberOfSummativeYearLearnersWithRatings\"];\r\n }\r\n }\r\n\r\n static fromJS(data: any, _mappings?: any): StatisticsDto | null {\r\n data = typeof data === 'object' ? data : {};\r\n throw new Error(\"The abstract class 'StatisticsDto' cannot be instantiated.\");\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"numberOfLearners\"] = this.numberOfLearners;\r\n data[\"numberOfSummativeYearLearners\"] = this.numberOfSummativeYearLearners;\r\n data[\"numberOfLearnersAssignedToObservers\"] = this.numberOfLearnersAssignedToObservers;\r\n data[\"pgpReviewsPending\"] = this.pgpReviewsPending;\r\n data[\"pgpReviewsInProgress\"] = this.pgpReviewsInProgress;\r\n data[\"pgpReviewsCompleted\"] = this.pgpReviewsCompleted;\r\n data[\"distinctLearnersWithPGPReviewPendingOrInProgress\"] = this.distinctLearnersWithPGPReviewPendingOrInProgress;\r\n data[\"distinctLearnersWithPGPReviewCompleted\"] = this.distinctLearnersWithPGPReviewCompleted;\r\n data[\"summativeObservationsPending\"] = this.summativeObservationsPending;\r\n data[\"summativeObservationsInProgress\"] = this.summativeObservationsInProgress;\r\n data[\"summativeObservationsCompleted\"] = this.summativeObservationsCompleted;\r\n data[\"numberOfSummativeLearnersWithObservationsPendingOrInProgress\"] = this.numberOfSummativeLearnersWithObservationsPendingOrInProgress;\r\n data[\"numberOfSummativeLearnersWithObservationsCompleted\"] = this.numberOfSummativeLearnersWithObservationsCompleted;\r\n data[\"avgCurrentYearRatingAll\"] = this.avgCurrentYearRatingAll;\r\n data[\"avgCurrentYearRatingSummative\"] = this.avgCurrentYearRatingSummative;\r\n data[\"avgPriorRating\"] = this.avgPriorRating;\r\n data[\"numberOfSummativeYearLearnersWithRatings\"] = this.numberOfSummativeYearLearnersWithRatings;\r\n return data; \r\n }\r\n\r\n clone(): StatisticsDto {\r\n throw new Error(\"The abstract class 'StatisticsDto' cannot be instantiated.\");\r\n }\r\n}\r\n\r\nexport interface IStatisticsDto {\r\n numberOfLearners: number | undefined;\r\n numberOfSummativeYearLearners: number | undefined;\r\n numberOfLearnersAssignedToObservers: number | undefined;\r\n pgpReviewsPending: number | undefined;\r\n pgpReviewsInProgress: number | undefined;\r\n pgpReviewsCompleted: number | undefined;\r\n distinctLearnersWithPGPReviewPendingOrInProgress: number | undefined;\r\n distinctLearnersWithPGPReviewCompleted: number | undefined;\r\n summativeObservationsPending: number | undefined;\r\n summativeObservationsInProgress: number | undefined;\r\n summativeObservationsCompleted: number | undefined;\r\n numberOfSummativeLearnersWithObservationsPendingOrInProgress: number | undefined;\r\n numberOfSummativeLearnersWithObservationsCompleted: number | undefined;\r\n avgCurrentYearRatingAll: number | undefined;\r\n avgCurrentYearRatingSummative: number | undefined;\r\n avgPriorRating: number | undefined;\r\n numberOfSummativeYearLearnersWithRatings: number | undefined;\r\n}\r\n\r\nexport class LearnerRoleStatisticsDto extends StatisticsDto implements ILearnerRoleStatisticsDto {\r\n learnerRoleType!: StaffRoleTypeEnum | undefined;\r\n\r\n constructor(data?: ILearnerRoleStatisticsDto) {\r\n super(data);\r\n }\r\n\r\n init(_data?: any, _mappings?: any) {\r\n super.init(_data);\r\n if (_data) {\r\n this.learnerRoleType = _data[\"learnerRoleType\"];\r\n }\r\n }\r\n\r\n static fromJS(data: any, _mappings?: any): LearnerRoleStatisticsDto | null {\r\n data = typeof data === 'object' ? data : {};\r\n return createInstance(data, _mappings, LearnerRoleStatisticsDto);\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"learnerRoleType\"] = this.learnerRoleType;\r\n super.toJSON(data);\r\n return data; \r\n }\r\n\r\n clone(): LearnerRoleStatisticsDto {\r\n const json = this.toJSON();\r\n let result = new LearnerRoleStatisticsDto();\r\n result.init(json);\r\n return result;\r\n }\r\n}\r\n\r\nexport interface ILearnerRoleStatisticsDto extends IStatisticsDto {\r\n learnerRoleType: StaffRoleTypeEnum | undefined;\r\n}\r\n\r\nexport class LEAStatisticsDto extends StatisticsDto implements ILEAStatisticsDto {\r\n lea!: string | undefined;\r\n year!: number;\r\n\r\n constructor(data?: ILEAStatisticsDto) {\r\n super(data);\r\n }\r\n\r\n init(_data?: any, _mappings?: any) {\r\n super.init(_data);\r\n if (_data) {\r\n this.lea = _data[\"lea\"];\r\n this.year = _data[\"year\"];\r\n }\r\n }\r\n\r\n static fromJS(data: any, _mappings?: any): LEAStatisticsDto | null {\r\n data = typeof data === 'object' ? data : {};\r\n return createInstance(data, _mappings, LEAStatisticsDto);\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"lea\"] = this.lea;\r\n data[\"year\"] = this.year;\r\n super.toJSON(data);\r\n return data; \r\n }\r\n\r\n clone(): LEAStatisticsDto {\r\n const json = this.toJSON();\r\n let result = new LEAStatisticsDto();\r\n result.init(json);\r\n return result;\r\n }\r\n}\r\n\r\nexport interface ILEAStatisticsDto extends IStatisticsDto {\r\n lea: string | undefined;\r\n year: number;\r\n}\r\n\r\nexport class AvgLearnersAssignedByObserverRoleDto implements IAvgLearnersAssignedByObserverRoleDto {\r\n jobFunction!: string | undefined;\r\n averageNumberOfLearnersAssigned!: number;\r\n\r\n constructor(data?: IAvgLearnersAssignedByObserverRoleDto) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n\r\n init(_data?: any, _mappings?: any) {\r\n if (_data) {\r\n this.jobFunction = _data[\"jobFunction\"];\r\n this.averageNumberOfLearnersAssigned = _data[\"averageNumberOfLearnersAssigned\"];\r\n }\r\n }\r\n\r\n static fromJS(data: any, _mappings?: any): AvgLearnersAssignedByObserverRoleDto | null {\r\n data = typeof data === 'object' ? data : {};\r\n return createInstance(data, _mappings, AvgLearnersAssignedByObserverRoleDto);\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"jobFunction\"] = this.jobFunction;\r\n data[\"averageNumberOfLearnersAssigned\"] = this.averageNumberOfLearnersAssigned;\r\n return data; \r\n }\r\n\r\n clone(): AvgLearnersAssignedByObserverRoleDto {\r\n const json = this.toJSON();\r\n let result = new AvgLearnersAssignedByObserverRoleDto();\r\n result.init(json);\r\n return result;\r\n }\r\n}\r\n\r\nexport interface IAvgLearnersAssignedByObserverRoleDto {\r\n jobFunction: string | undefined;\r\n averageNumberOfLearnersAssigned: number;\r\n}\r\n\r\nexport class YearlyRatingSummaryDto implements IYearlyRatingSummaryDto {\r\n year!: number;\r\n averageRatingAll!: number;\r\n averageRatingSummative!: number;\r\n\r\n constructor(data?: IYearlyRatingSummaryDto) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n\r\n init(_data?: any, _mappings?: any) {\r\n if (_data) {\r\n this.year = _data[\"year\"];\r\n this.averageRatingAll = _data[\"averageRatingAll\"];\r\n this.averageRatingSummative = _data[\"averageRatingSummative\"];\r\n }\r\n }\r\n\r\n static fromJS(data: any, _mappings?: any): YearlyRatingSummaryDto | null {\r\n data = typeof data === 'object' ? data : {};\r\n return createInstance(data, _mappings, YearlyRatingSummaryDto);\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"year\"] = this.year;\r\n data[\"averageRatingAll\"] = this.averageRatingAll;\r\n data[\"averageRatingSummative\"] = this.averageRatingSummative;\r\n return data; \r\n }\r\n\r\n clone(): YearlyRatingSummaryDto {\r\n const json = this.toJSON();\r\n let result = new YearlyRatingSummaryDto();\r\n result.init(json);\r\n return result;\r\n }\r\n}\r\n\r\nexport interface IYearlyRatingSummaryDto {\r\n year: number;\r\n averageRatingAll: number;\r\n averageRatingSummative: number;\r\n}\r\n\r\nexport class YearlyRatingSummaryByRoleDto extends YearlyRatingSummaryDto implements IYearlyRatingSummaryByRoleDto {\r\n learnerRoleType!: StaffRoleTypeEnum;\r\n\r\n constructor(data?: IYearlyRatingSummaryByRoleDto) {\r\n super(data);\r\n }\r\n\r\n init(_data?: any, _mappings?: any) {\r\n super.init(_data);\r\n if (_data) {\r\n this.learnerRoleType = _data[\"learnerRoleType\"];\r\n }\r\n }\r\n\r\n static fromJS(data: any, _mappings?: any): YearlyRatingSummaryByRoleDto | null {\r\n data = typeof data === 'object' ? data : {};\r\n return createInstance(data, _mappings, YearlyRatingSummaryByRoleDto);\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"learnerRoleType\"] = this.learnerRoleType;\r\n super.toJSON(data);\r\n return data; \r\n }\r\n\r\n clone(): YearlyRatingSummaryByRoleDto {\r\n const json = this.toJSON();\r\n let result = new YearlyRatingSummaryByRoleDto();\r\n result.init(json);\r\n return result;\r\n }\r\n}\r\n\r\nexport interface IYearlyRatingSummaryByRoleDto extends IYearlyRatingSummaryDto {\r\n learnerRoleType: StaffRoleTypeEnum;\r\n}\r\n\r\nexport class LearnerStatisticsDetailDto implements ILearnerStatisticsDetailDto {\r\n id!: number;\r\n schoolLEA!: string | undefined;\r\n districtLEA!: string | undefined;\r\n learnerId!: string;\r\n firstName!: string | undefined;\r\n lastName!: string | undefined;\r\n learnerRoleType!: StaffRoleTypeEnum | undefined;\r\n summativeYear!: boolean;\r\n learnerStatus!: LearnerStatusEnum;\r\n scienceOfReadingStatus!: ScienceOfReadingStatusEnum;\r\n numberOfObserversAssigned!: number;\r\n pgpReviewsPending!: number;\r\n pgpReviewsInProgress!: number;\r\n pgpReviewsCompleted!: number;\r\n observationsPending!: number;\r\n observationsInProgress!: number;\r\n observationsCompleted!: number;\r\n ratingYear!: number | undefined;\r\n currentYearRating!: number | undefined;\r\n currentYearEffectivenessRating!: string | undefined;\r\n priorYearRating!: number | undefined;\r\n priorYearEffectivenessRating!: string | undefined;\r\n\r\n constructor(data?: ILearnerStatisticsDetailDto) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n\r\n init(_data?: any, _mappings?: any) {\r\n if (_data) {\r\n this.id = _data[\"id\"];\r\n this.schoolLEA = _data[\"schoolLEA\"];\r\n this.districtLEA = _data[\"districtLEA\"];\r\n this.learnerId = _data[\"learnerId\"];\r\n this.firstName = _data[\"firstName\"];\r\n this.lastName = _data[\"lastName\"];\r\n this.learnerRoleType = _data[\"learnerRoleType\"];\r\n this.summativeYear = _data[\"summativeYear\"];\r\n this.learnerStatus = _data[\"learnerStatus\"];\r\n this.scienceOfReadingStatus = _data[\"scienceOfReadingStatus\"];\r\n this.numberOfObserversAssigned = _data[\"numberOfObserversAssigned\"];\r\n this.pgpReviewsPending = _data[\"pgpReviewsPending\"];\r\n this.pgpReviewsInProgress = _data[\"pgpReviewsInProgress\"];\r\n this.pgpReviewsCompleted = _data[\"pgpReviewsCompleted\"];\r\n this.observationsPending = _data[\"observationsPending\"];\r\n this.observationsInProgress = _data[\"observationsInProgress\"];\r\n this.observationsCompleted = _data[\"observationsCompleted\"];\r\n this.ratingYear = _data[\"ratingYear\"];\r\n this.currentYearRating = _data[\"currentYearRating\"];\r\n this.currentYearEffectivenessRating = _data[\"currentYearEffectivenessRating\"];\r\n this.priorYearRating = _data[\"priorYearRating\"];\r\n this.priorYearEffectivenessRating = _data[\"priorYearEffectivenessRating\"];\r\n }\r\n }\r\n\r\n static fromJS(data: any, _mappings?: any): LearnerStatisticsDetailDto | null {\r\n data = typeof data === 'object' ? data : {};\r\n return createInstance(data, _mappings, LearnerStatisticsDetailDto);\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"id\"] = this.id;\r\n data[\"schoolLEA\"] = this.schoolLEA;\r\n data[\"districtLEA\"] = this.districtLEA;\r\n data[\"learnerId\"] = this.learnerId;\r\n data[\"firstName\"] = this.firstName;\r\n data[\"lastName\"] = this.lastName;\r\n data[\"learnerRoleType\"] = this.learnerRoleType;\r\n data[\"summativeYear\"] = this.summativeYear;\r\n data[\"learnerStatus\"] = this.learnerStatus;\r\n data[\"scienceOfReadingStatus\"] = this.scienceOfReadingStatus;\r\n data[\"numberOfObserversAssigned\"] = this.numberOfObserversAssigned;\r\n data[\"pgpReviewsPending\"] = this.pgpReviewsPending;\r\n data[\"pgpReviewsInProgress\"] = this.pgpReviewsInProgress;\r\n data[\"pgpReviewsCompleted\"] = this.pgpReviewsCompleted;\r\n data[\"observationsPending\"] = this.observationsPending;\r\n data[\"observationsInProgress\"] = this.observationsInProgress;\r\n data[\"observationsCompleted\"] = this.observationsCompleted;\r\n data[\"ratingYear\"] = this.ratingYear;\r\n data[\"currentYearRating\"] = this.currentYearRating;\r\n data[\"currentYearEffectivenessRating\"] = this.currentYearEffectivenessRating;\r\n data[\"priorYearRating\"] = this.priorYearRating;\r\n data[\"priorYearEffectivenessRating\"] = this.priorYearEffectivenessRating;\r\n return data; \r\n }\r\n\r\n clone(): LearnerStatisticsDetailDto {\r\n const json = this.toJSON();\r\n let result = new LearnerStatisticsDetailDto();\r\n result.init(json);\r\n return result;\r\n }\r\n}\r\n\r\nexport interface ILearnerStatisticsDetailDto {\r\n id: number;\r\n schoolLEA: string | undefined;\r\n districtLEA: string | undefined;\r\n learnerId: string;\r\n firstName: string | undefined;\r\n lastName: string | undefined;\r\n learnerRoleType: StaffRoleTypeEnum | undefined;\r\n summativeYear: boolean;\r\n learnerStatus: LearnerStatusEnum;\r\n scienceOfReadingStatus: ScienceOfReadingStatusEnum;\r\n numberOfObserversAssigned: number;\r\n pgpReviewsPending: number;\r\n pgpReviewsInProgress: number;\r\n pgpReviewsCompleted: number;\r\n observationsPending: number;\r\n observationsInProgress: number;\r\n observationsCompleted: number;\r\n ratingYear: number | undefined;\r\n currentYearRating: number | undefined;\r\n currentYearEffectivenessRating: string | undefined;\r\n priorYearRating: number | undefined;\r\n priorYearEffectivenessRating: string | undefined;\r\n}\r\n\r\nexport enum LearnerStatusEnum {\r\n NotSet = 0,\r\n NoviceYear1 = 1,\r\n NoviceYear2 = 2,\r\n NoviceYear3 = 3,\r\n SummativeYear = 4,\r\n FormativeYear1 = 5,\r\n FormativeYear2 = 6,\r\n FormativeYear3 = 7,\r\n}\r\n\r\nexport enum ScienceOfReadingStatusEnum {\r\n NotSet = 0,\r\n Proficient = 1,\r\n Awareness = 2,\r\n}\r\n\r\nexport class LearnerScheduleStatisticDto implements ILearnerScheduleStatisticDto {\r\n scheduledCount!: number;\r\n startedCount!: number | undefined;\r\n completedCount!: number;\r\n\r\n constructor(data?: ILearnerScheduleStatisticDto) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n\r\n init(_data?: any, _mappings?: any) {\r\n if (_data) {\r\n this.scheduledCount = _data[\"scheduledCount\"];\r\n this.startedCount = _data[\"startedCount\"];\r\n this.completedCount = _data[\"completedCount\"];\r\n }\r\n }\r\n\r\n static fromJS(data: any, _mappings?: any): LearnerScheduleStatisticDto | null {\r\n data = typeof data === 'object' ? data : {};\r\n return createInstance(data, _mappings, LearnerScheduleStatisticDto);\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"scheduledCount\"] = this.scheduledCount;\r\n data[\"startedCount\"] = this.startedCount;\r\n data[\"completedCount\"] = this.completedCount;\r\n return data; \r\n }\r\n\r\n clone(): LearnerScheduleStatisticDto {\r\n const json = this.toJSON();\r\n let result = new LearnerScheduleStatisticDto();\r\n result.init(json);\r\n return result;\r\n }\r\n}\r\n\r\nexport interface ILearnerScheduleStatisticDto {\r\n scheduledCount: number;\r\n startedCount: number | undefined;\r\n completedCount: number;\r\n}\r\n\r\nexport class StaffTypeCountDTO implements IStaffTypeCountDTO {\r\n count!: number;\r\n\r\n constructor(data?: IStaffTypeCountDTO) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n\r\n init(_data?: any, _mappings?: any) {\r\n if (_data) {\r\n this.count = _data[\"count\"];\r\n }\r\n }\r\n\r\n static fromJS(data: any, _mappings?: any): StaffTypeCountDTO | null {\r\n data = typeof data === 'object' ? data : {};\r\n return createInstance(data, _mappings, StaffTypeCountDTO);\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"count\"] = this.count;\r\n return data; \r\n }\r\n\r\n clone(): StaffTypeCountDTO {\r\n const json = this.toJSON();\r\n let result = new StaffTypeCountDTO();\r\n result.init(json);\r\n return result;\r\n }\r\n}\r\n\r\nexport interface IStaffTypeCountDTO {\r\n count: number;\r\n}\r\n\r\nexport enum StaffType {\r\n Learner = 1,\r\n Observer = 2,\r\n}\r\n\r\nexport class EndOfYearRatingDTO implements IEndOfYearRatingDTO {\r\n id!: number;\r\n schoolYearId!: number;\r\n year!: number;\r\n learnerId!: string;\r\n rating!: RubricRating | undefined;\r\n ratingSummary!: number | undefined;\r\n rubricVersionId!: number;\r\n rubricVersionName!: string | undefined;\r\n\r\n constructor(data?: IEndOfYearRatingDTO) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n\r\n init(_data?: any, _mappings?: any) {\r\n if (_data) {\r\n this.id = _data[\"id\"];\r\n this.schoolYearId = _data[\"schoolYearId\"];\r\n this.year = _data[\"year\"];\r\n this.learnerId = _data[\"learnerId\"];\r\n this.rating = _data[\"rating\"] ? RubricRating.fromJS(_data[\"rating\"], _mappings) : undefined;\r\n this.ratingSummary = _data[\"ratingSummary\"];\r\n this.rubricVersionId = _data[\"rubricVersionId\"];\r\n this.rubricVersionName = _data[\"rubricVersionName\"];\r\n }\r\n }\r\n\r\n static fromJS(data: any, _mappings?: any): EndOfYearRatingDTO | null {\r\n data = typeof data === 'object' ? data : {};\r\n return createInstance(data, _mappings, EndOfYearRatingDTO);\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"id\"] = this.id;\r\n data[\"schoolYearId\"] = this.schoolYearId;\r\n data[\"year\"] = this.year;\r\n data[\"learnerId\"] = this.learnerId;\r\n data[\"rating\"] = this.rating ? this.rating.toJSON() : undefined;\r\n data[\"ratingSummary\"] = this.ratingSummary;\r\n data[\"rubricVersionId\"] = this.rubricVersionId;\r\n data[\"rubricVersionName\"] = this.rubricVersionName;\r\n return data; \r\n }\r\n\r\n clone(): EndOfYearRatingDTO {\r\n const json = this.toJSON();\r\n let result = new EndOfYearRatingDTO();\r\n result.init(json);\r\n return result;\r\n }\r\n}\r\n\r\nexport interface IEndOfYearRatingDTO {\r\n id: number;\r\n schoolYearId: number;\r\n year: number;\r\n learnerId: string;\r\n rating: RubricRating | undefined;\r\n ratingSummary: number | undefined;\r\n rubricVersionId: number;\r\n rubricVersionName: string | undefined;\r\n}\r\n\r\nexport class RubricRating implements IRubricRating {\r\n domains!: RubricDomainRating[] | undefined;\r\n\r\n constructor(data?: IRubricRating) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n\r\n init(_data?: any, _mappings?: any) {\r\n if (_data) {\r\n if (Array.isArray(_data[\"domains\"])) {\r\n this.domains = [] as any;\r\n for (let item of _data[\"domains\"])\r\n this.domains!.push(RubricDomainRating.fromJS(item, _mappings) as RubricDomainRating);\r\n }\r\n }\r\n }\r\n\r\n static fromJS(data: any, _mappings?: any): RubricRating | null {\r\n data = typeof data === 'object' ? data : {};\r\n return createInstance(data, _mappings, RubricRating);\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n if (Array.isArray(this.domains)) {\r\n data[\"domains\"] = [];\r\n for (let item of this.domains)\r\n data[\"domains\"].push(item.toJSON());\r\n }\r\n return data; \r\n }\r\n\r\n clone(): RubricRating {\r\n const json = this.toJSON();\r\n let result = new RubricRating();\r\n result.init(json);\r\n return result;\r\n }\r\n}\r\n\r\nexport interface IRubricRating {\r\n domains: RubricDomainRating[] | undefined;\r\n}\r\n\r\nexport class RubricDomainRating implements IRubricDomainRating {\r\n key!: string | undefined;\r\n components!: DomainComponentRating[] | undefined;\r\n\r\n constructor(data?: IRubricDomainRating) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n\r\n init(_data?: any, _mappings?: any) {\r\n if (_data) {\r\n this.key = _data[\"key\"];\r\n if (Array.isArray(_data[\"components\"])) {\r\n this.components = [] as any;\r\n for (let item of _data[\"components\"])\r\n this.components!.push(DomainComponentRating.fromJS(item, _mappings) as DomainComponentRating);\r\n }\r\n }\r\n }\r\n\r\n static fromJS(data: any, _mappings?: any): RubricDomainRating | null {\r\n data = typeof data === 'object' ? data : {};\r\n return createInstance(data, _mappings, RubricDomainRating);\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"key\"] = this.key;\r\n if (Array.isArray(this.components)) {\r\n data[\"components\"] = [];\r\n for (let item of this.components)\r\n data[\"components\"].push(item.toJSON());\r\n }\r\n return data; \r\n }\r\n\r\n clone(): RubricDomainRating {\r\n const json = this.toJSON();\r\n let result = new RubricDomainRating();\r\n result.init(json);\r\n return result;\r\n }\r\n}\r\n\r\nexport interface IRubricDomainRating {\r\n key: string | undefined;\r\n components: DomainComponentRating[] | undefined;\r\n}\r\n\r\nexport class DomainComponentRating implements IDomainComponentRating {\r\n key!: string | undefined;\r\n selectedLevel!: number | undefined;\r\n selectedByUserId!: string | undefined;\r\n performanceLevels!: ComponentPerformanceLevelRating[] | undefined;\r\n\r\n constructor(data?: IDomainComponentRating) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n\r\n init(_data?: any, _mappings?: any) {\r\n if (_data) {\r\n this.key = _data[\"key\"];\r\n this.selectedLevel = _data[\"selectedLevel\"];\r\n this.selectedByUserId = _data[\"selectedByUserId\"];\r\n if (Array.isArray(_data[\"performanceLevels\"])) {\r\n this.performanceLevels = [] as any;\r\n for (let item of _data[\"performanceLevels\"])\r\n this.performanceLevels!.push(ComponentPerformanceLevelRating.fromJS(item, _mappings) as ComponentPerformanceLevelRating);\r\n }\r\n }\r\n }\r\n\r\n static fromJS(data: any, _mappings?: any): DomainComponentRating | null {\r\n data = typeof data === 'object' ? data : {};\r\n return createInstance(data, _mappings, DomainComponentRating);\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"key\"] = this.key;\r\n data[\"selectedLevel\"] = this.selectedLevel;\r\n data[\"selectedByUserId\"] = this.selectedByUserId;\r\n if (Array.isArray(this.performanceLevels)) {\r\n data[\"performanceLevels\"] = [];\r\n for (let item of this.performanceLevels)\r\n data[\"performanceLevels\"].push(item.toJSON());\r\n }\r\n return data; \r\n }\r\n\r\n clone(): DomainComponentRating {\r\n const json = this.toJSON();\r\n let result = new DomainComponentRating();\r\n result.init(json);\r\n return result;\r\n }\r\n}\r\n\r\nexport interface IDomainComponentRating {\r\n key: string | undefined;\r\n selectedLevel: number | undefined;\r\n selectedByUserId: string | undefined;\r\n performanceLevels: ComponentPerformanceLevelRating[] | undefined;\r\n}\r\n\r\nexport class ComponentPerformanceLevelRating implements IComponentPerformanceLevelRating {\r\n level!: number;\r\n\r\n constructor(data?: IComponentPerformanceLevelRating) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n\r\n init(_data?: any, _mappings?: any) {\r\n if (_data) {\r\n this.level = _data[\"level\"];\r\n }\r\n }\r\n\r\n static fromJS(data: any, _mappings?: any): ComponentPerformanceLevelRating | null {\r\n data = typeof data === 'object' ? data : {};\r\n return createInstance(data, _mappings, ComponentPerformanceLevelRating);\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"level\"] = this.level;\r\n return data; \r\n }\r\n\r\n clone(): ComponentPerformanceLevelRating {\r\n const json = this.toJSON();\r\n let result = new ComponentPerformanceLevelRating();\r\n result.init(json);\r\n return result;\r\n }\r\n}\r\n\r\nexport interface IComponentPerformanceLevelRating {\r\n level: number;\r\n}\r\n\r\nexport class EndOfYearRatingSummaryDTO implements IEndOfYearRatingSummaryDTO {\r\n id!: number;\r\n schoolYearId!: number;\r\n year!: number;\r\n ratingSummary!: number | undefined;\r\n\r\n constructor(data?: IEndOfYearRatingSummaryDTO) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n\r\n init(_data?: any, _mappings?: any) {\r\n if (_data) {\r\n this.id = _data[\"id\"];\r\n this.schoolYearId = _data[\"schoolYearId\"];\r\n this.year = _data[\"year\"];\r\n this.ratingSummary = _data[\"ratingSummary\"];\r\n }\r\n }\r\n\r\n static fromJS(data: any, _mappings?: any): EndOfYearRatingSummaryDTO | null {\r\n data = typeof data === 'object' ? data : {};\r\n return createInstance(data, _mappings, EndOfYearRatingSummaryDTO);\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"id\"] = this.id;\r\n data[\"schoolYearId\"] = this.schoolYearId;\r\n data[\"year\"] = this.year;\r\n data[\"ratingSummary\"] = this.ratingSummary;\r\n return data; \r\n }\r\n\r\n clone(): EndOfYearRatingSummaryDTO {\r\n const json = this.toJSON();\r\n let result = new EndOfYearRatingSummaryDTO();\r\n result.init(json);\r\n return result;\r\n }\r\n}\r\n\r\nexport interface IEndOfYearRatingSummaryDTO {\r\n id: number;\r\n schoolYearId: number;\r\n year: number;\r\n ratingSummary: number | undefined;\r\n}\r\n\r\nexport class EndOfYearRatingComponentEvidenceDTO implements IEndOfYearRatingComponentEvidenceDTO {\r\n activityId!: string;\r\n activityEvidenceId!: number;\r\n notes!: string | undefined;\r\n createdBy!: string | undefined;\r\n createdDate!: Date;\r\n componentKey!: string | undefined;\r\n\r\n constructor(data?: IEndOfYearRatingComponentEvidenceDTO) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n\r\n init(_data?: any, _mappings?: any) {\r\n if (_data) {\r\n this.activityId = _data[\"activityId\"];\r\n this.activityEvidenceId = _data[\"activityEvidenceId\"];\r\n this.notes = _data[\"notes\"];\r\n this.createdBy = _data[\"createdBy\"];\r\n this.createdDate = _data[\"createdDate\"] ? new Date(_data[\"createdDate\"].toString()) : undefined;\r\n this.componentKey = _data[\"componentKey\"];\r\n }\r\n }\r\n\r\n static fromJS(data: any, _mappings?: any): EndOfYearRatingComponentEvidenceDTO | null {\r\n data = typeof data === 'object' ? data : {};\r\n return createInstance(data, _mappings, EndOfYearRatingComponentEvidenceDTO);\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"activityId\"] = this.activityId;\r\n data[\"activityEvidenceId\"] = this.activityEvidenceId;\r\n data[\"notes\"] = this.notes;\r\n data[\"createdBy\"] = this.createdBy;\r\n data[\"createdDate\"] = this.createdDate ? this.createdDate.toISOString() : undefined;\r\n data[\"componentKey\"] = this.componentKey;\r\n return data; \r\n }\r\n\r\n clone(): EndOfYearRatingComponentEvidenceDTO {\r\n const json = this.toJSON();\r\n let result = new EndOfYearRatingComponentEvidenceDTO();\r\n result.init(json);\r\n return result;\r\n }\r\n}\r\n\r\nexport interface IEndOfYearRatingComponentEvidenceDTO {\r\n activityId: string;\r\n activityEvidenceId: number;\r\n notes: string | undefined;\r\n createdBy: string | undefined;\r\n createdDate: Date;\r\n componentKey: string | undefined;\r\n}\r\n\r\nexport class EndOfYearRatingComponentArtifactDTO implements IEndOfYearRatingComponentArtifactDTO {\r\n activityId!: string;\r\n artifactId!: number;\r\n name!: string | undefined;\r\n createdBy!: string | undefined;\r\n createdDate!: Date;\r\n componentKey!: string | undefined;\r\n\r\n constructor(data?: IEndOfYearRatingComponentArtifactDTO) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n\r\n init(_data?: any, _mappings?: any) {\r\n if (_data) {\r\n this.activityId = _data[\"activityId\"];\r\n this.artifactId = _data[\"artifactId\"];\r\n this.name = _data[\"name\"];\r\n this.createdBy = _data[\"createdBy\"];\r\n this.createdDate = _data[\"createdDate\"] ? new Date(_data[\"createdDate\"].toString()) : undefined;\r\n this.componentKey = _data[\"componentKey\"];\r\n }\r\n }\r\n\r\n static fromJS(data: any, _mappings?: any): EndOfYearRatingComponentArtifactDTO | null {\r\n data = typeof data === 'object' ? data : {};\r\n return createInstance(data, _mappings, EndOfYearRatingComponentArtifactDTO);\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"activityId\"] = this.activityId;\r\n data[\"artifactId\"] = this.artifactId;\r\n data[\"name\"] = this.name;\r\n data[\"createdBy\"] = this.createdBy;\r\n data[\"createdDate\"] = this.createdDate ? this.createdDate.toISOString() : undefined;\r\n data[\"componentKey\"] = this.componentKey;\r\n return data; \r\n }\r\n\r\n clone(): EndOfYearRatingComponentArtifactDTO {\r\n const json = this.toJSON();\r\n let result = new EndOfYearRatingComponentArtifactDTO();\r\n result.init(json);\r\n return result;\r\n }\r\n}\r\n\r\nexport interface IEndOfYearRatingComponentArtifactDTO {\r\n activityId: string;\r\n artifactId: number;\r\n name: string | undefined;\r\n createdBy: string | undefined;\r\n createdDate: Date;\r\n componentKey: string | undefined;\r\n}\r\n\r\nexport class EndOfYearRatingComponentPromptDTO implements IEndOfYearRatingComponentPromptDTO {\r\n activityId!: string;\r\n componentKey!: string | undefined;\r\n promptText!: string | undefined;\r\n response!: string | undefined;\r\n\r\n constructor(data?: IEndOfYearRatingComponentPromptDTO) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n\r\n init(_data?: any, _mappings?: any) {\r\n if (_data) {\r\n this.activityId = _data[\"activityId\"];\r\n this.componentKey = _data[\"componentKey\"];\r\n this.promptText = _data[\"promptText\"];\r\n this.response = _data[\"response\"];\r\n }\r\n }\r\n\r\n static fromJS(data: any, _mappings?: any): EndOfYearRatingComponentPromptDTO | null {\r\n data = typeof data === 'object' ? data : {};\r\n return createInstance(data, _mappings, EndOfYearRatingComponentPromptDTO);\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"activityId\"] = this.activityId;\r\n data[\"componentKey\"] = this.componentKey;\r\n data[\"promptText\"] = this.promptText;\r\n data[\"response\"] = this.response;\r\n return data; \r\n }\r\n\r\n clone(): EndOfYearRatingComponentPromptDTO {\r\n const json = this.toJSON();\r\n let result = new EndOfYearRatingComponentPromptDTO();\r\n result.init(json);\r\n return result;\r\n }\r\n}\r\n\r\nexport interface IEndOfYearRatingComponentPromptDTO {\r\n activityId: string;\r\n componentKey: string | undefined;\r\n promptText: string | undefined;\r\n response: string | undefined;\r\n}\r\n\r\nexport class EndOfYearRatingComponentRatingDTO implements IEndOfYearRatingComponentRatingDTO {\r\n activityName!: string | undefined;\r\n componentKey!: string | undefined;\r\n selectedLevel!: number;\r\n ratedById!: string;\r\n ratedByName!: string | undefined;\r\n ratedByInitialName!: string | undefined;\r\n\r\n constructor(data?: IEndOfYearRatingComponentRatingDTO) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n\r\n init(_data?: any, _mappings?: any) {\r\n if (_data) {\r\n this.activityName = _data[\"activityName\"];\r\n this.componentKey = _data[\"componentKey\"];\r\n this.selectedLevel = _data[\"selectedLevel\"];\r\n this.ratedById = _data[\"ratedById\"];\r\n this.ratedByName = _data[\"ratedByName\"];\r\n this.ratedByInitialName = _data[\"ratedByInitialName\"];\r\n }\r\n }\r\n\r\n static fromJS(data: any, _mappings?: any): EndOfYearRatingComponentRatingDTO | null {\r\n data = typeof data === 'object' ? data : {};\r\n return createInstance(data, _mappings, EndOfYearRatingComponentRatingDTO);\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"activityName\"] = this.activityName;\r\n data[\"componentKey\"] = this.componentKey;\r\n data[\"selectedLevel\"] = this.selectedLevel;\r\n data[\"ratedById\"] = this.ratedById;\r\n data[\"ratedByName\"] = this.ratedByName;\r\n data[\"ratedByInitialName\"] = this.ratedByInitialName;\r\n return data; \r\n }\r\n\r\n clone(): EndOfYearRatingComponentRatingDTO {\r\n const json = this.toJSON();\r\n let result = new EndOfYearRatingComponentRatingDTO();\r\n result.init(json);\r\n return result;\r\n }\r\n}\r\n\r\nexport interface IEndOfYearRatingComponentRatingDTO {\r\n activityName: string | undefined;\r\n componentKey: string | undefined;\r\n selectedLevel: number;\r\n ratedById: string;\r\n ratedByName: string | undefined;\r\n ratedByInitialName: string | undefined;\r\n}\r\n\r\nexport class UpdateEndOfYearRatingCommand implements IUpdateEndOfYearRatingCommand {\r\n endOfYearRating!: EndOfYearRatingDTO | undefined;\r\n\r\n constructor(data?: IUpdateEndOfYearRatingCommand) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n\r\n init(_data?: any, _mappings?: any) {\r\n if (_data) {\r\n this.endOfYearRating = _data[\"endOfYearRating\"] ? EndOfYearRatingDTO.fromJS(_data[\"endOfYearRating\"], _mappings) : undefined;\r\n }\r\n }\r\n\r\n static fromJS(data: any, _mappings?: any): UpdateEndOfYearRatingCommand | null {\r\n data = typeof data === 'object' ? data : {};\r\n return createInstance(data, _mappings, UpdateEndOfYearRatingCommand);\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"endOfYearRating\"] = this.endOfYearRating ? this.endOfYearRating.toJSON() : undefined;\r\n return data; \r\n }\r\n\r\n clone(): UpdateEndOfYearRatingCommand {\r\n const json = this.toJSON();\r\n let result = new UpdateEndOfYearRatingCommand();\r\n result.init(json);\r\n return result;\r\n }\r\n}\r\n\r\nexport interface IUpdateEndOfYearRatingCommand {\r\n endOfYearRating: EndOfYearRatingDTO | undefined;\r\n}\r\n\r\nexport class ResetEndOfYearRatingCommand implements IResetEndOfYearRatingCommand {\r\n endOfYearRatingId!: number;\r\n\r\n constructor(data?: IResetEndOfYearRatingCommand) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n\r\n init(_data?: any, _mappings?: any) {\r\n if (_data) {\r\n this.endOfYearRatingId = _data[\"endOfYearRatingId\"];\r\n }\r\n }\r\n\r\n static fromJS(data: any, _mappings?: any): ResetEndOfYearRatingCommand | null {\r\n data = typeof data === 'object' ? data : {};\r\n return createInstance(data, _mappings, ResetEndOfYearRatingCommand);\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"endOfYearRatingId\"] = this.endOfYearRatingId;\r\n return data; \r\n }\r\n\r\n clone(): ResetEndOfYearRatingCommand {\r\n const json = this.toJSON();\r\n let result = new ResetEndOfYearRatingCommand();\r\n result.init(json);\r\n return result;\r\n }\r\n}\r\n\r\nexport interface IResetEndOfYearRatingCommand {\r\n endOfYearRatingId: number;\r\n}\r\n\r\nexport class GoalDto implements IGoalDto {\r\n id!: number;\r\n title!: string | undefined;\r\n status!: GoalStatus;\r\n statusText!: string | undefined;\r\n statusChangeDate!: Date | undefined;\r\n targetDate!: Date | undefined;\r\n created!: Date;\r\n reflections!: GoalReflections | undefined;\r\n rubric!: RubricSelector | undefined;\r\n rubricVersionId!: number;\r\n rubricName!: string | undefined;\r\n notes!: string | undefined;\r\n\r\n constructor(data?: IGoalDto) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n\r\n init(_data?: any, _mappings?: any) {\r\n if (_data) {\r\n this.id = _data[\"id\"];\r\n this.title = _data[\"title\"];\r\n this.status = _data[\"status\"];\r\n this.statusText = _data[\"statusText\"];\r\n this.statusChangeDate = _data[\"statusChangeDate\"] ? new Date(_data[\"statusChangeDate\"].toString()) : undefined;\r\n this.targetDate = _data[\"targetDate\"] ? new Date(_data[\"targetDate\"].toString()) : undefined;\r\n this.created = _data[\"created\"] ? new Date(_data[\"created\"].toString()) : undefined;\r\n this.reflections = _data[\"reflections\"] ? GoalReflections.fromJS(_data[\"reflections\"], _mappings) : undefined;\r\n this.rubric = _data[\"rubric\"] ? RubricSelector.fromJS(_data[\"rubric\"], _mappings) : undefined;\r\n this.rubricVersionId = _data[\"rubricVersionId\"];\r\n this.rubricName = _data[\"rubricName\"];\r\n this.notes = _data[\"notes\"];\r\n }\r\n }\r\n\r\n static fromJS(data: any, _mappings?: any): GoalDto | null {\r\n data = typeof data === 'object' ? data : {};\r\n return createInstance(data, _mappings, GoalDto);\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"id\"] = this.id;\r\n data[\"title\"] = this.title;\r\n data[\"status\"] = this.status;\r\n data[\"statusText\"] = this.statusText;\r\n data[\"statusChangeDate\"] = this.statusChangeDate ? this.statusChangeDate.toISOString() : undefined;\r\n data[\"targetDate\"] = this.targetDate ? this.targetDate.toISOString() : undefined;\r\n data[\"created\"] = this.created ? this.created.toISOString() : undefined;\r\n data[\"reflections\"] = this.reflections ? this.reflections.toJSON() : undefined;\r\n data[\"rubric\"] = this.rubric ? this.rubric.toJSON() : undefined;\r\n data[\"rubricVersionId\"] = this.rubricVersionId;\r\n data[\"rubricName\"] = this.rubricName;\r\n data[\"notes\"] = this.notes;\r\n return data; \r\n }\r\n\r\n clone(): GoalDto {\r\n const json = this.toJSON();\r\n let result = new GoalDto();\r\n result.init(json);\r\n return result;\r\n }\r\n}\r\n\r\nexport interface IGoalDto {\r\n id: number;\r\n title: string | undefined;\r\n status: GoalStatus;\r\n statusText: string | undefined;\r\n statusChangeDate: Date | undefined;\r\n targetDate: Date | undefined;\r\n created: Date;\r\n reflections: GoalReflections | undefined;\r\n rubric: RubricSelector | undefined;\r\n rubricVersionId: number;\r\n rubricName: string | undefined;\r\n notes: string | undefined;\r\n}\r\n\r\nexport enum GoalStatus {\r\n Active = 0,\r\n Inactive = 1,\r\n Completed = 2,\r\n Continued = 3,\r\n}\r\n\r\nexport class GoalReflections implements IGoalReflections {\r\n lastUpdated!: Date | undefined;\r\n responses!: GoalPromptResponse[] | undefined;\r\n\r\n constructor(data?: IGoalReflections) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n\r\n init(_data?: any, _mappings?: any) {\r\n if (_data) {\r\n this.lastUpdated = _data[\"lastUpdated\"] ? new Date(_data[\"lastUpdated\"].toString()) : undefined;\r\n if (Array.isArray(_data[\"responses\"])) {\r\n this.responses = [] as any;\r\n for (let item of _data[\"responses\"])\r\n this.responses!.push(GoalPromptResponse.fromJS(item, _mappings) as GoalPromptResponse);\r\n }\r\n }\r\n }\r\n\r\n static fromJS(data: any, _mappings?: any): GoalReflections | null {\r\n data = typeof data === 'object' ? data : {};\r\n return createInstance(data, _mappings, GoalReflections);\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"lastUpdated\"] = this.lastUpdated ? this.lastUpdated.toISOString() : undefined;\r\n if (Array.isArray(this.responses)) {\r\n data[\"responses\"] = [];\r\n for (let item of this.responses)\r\n data[\"responses\"].push(item.toJSON());\r\n }\r\n return data; \r\n }\r\n\r\n clone(): GoalReflections {\r\n const json = this.toJSON();\r\n let result = new GoalReflections();\r\n result.init(json);\r\n return result;\r\n }\r\n}\r\n\r\nexport interface IGoalReflections {\r\n lastUpdated: Date | undefined;\r\n responses: GoalPromptResponse[] | undefined;\r\n}\r\n\r\nexport class GoalPromptResponse implements IGoalPromptResponse {\r\n id!: string;\r\n prompt!: string | undefined;\r\n response!: string | undefined;\r\n\r\n constructor(data?: IGoalPromptResponse) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n\r\n init(_data?: any, _mappings?: any) {\r\n if (_data) {\r\n this.id = _data[\"id\"];\r\n this.prompt = _data[\"prompt\"];\r\n this.response = _data[\"response\"];\r\n }\r\n }\r\n\r\n static fromJS(data: any, _mappings?: any): GoalPromptResponse | null {\r\n data = typeof data === 'object' ? data : {};\r\n return createInstance(data, _mappings, GoalPromptResponse);\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"id\"] = this.id;\r\n data[\"prompt\"] = this.prompt;\r\n data[\"response\"] = this.response;\r\n return data; \r\n }\r\n\r\n clone(): GoalPromptResponse {\r\n const json = this.toJSON();\r\n let result = new GoalPromptResponse();\r\n result.init(json);\r\n return result;\r\n }\r\n}\r\n\r\nexport interface IGoalPromptResponse {\r\n id: string;\r\n prompt: string | undefined;\r\n response: string | undefined;\r\n}\r\n\r\nexport class GoalSummaryDto implements IGoalSummaryDto {\r\n id!: number;\r\n title!: string | undefined;\r\n status!: GoalStatus;\r\n statusText!: string | undefined;\r\n statusChangeDate!: Date | undefined;\r\n selectedRubrics!: SelectedRubricSummaryVm[] | undefined;\r\n\r\n constructor(data?: IGoalSummaryDto) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n\r\n init(_data?: any, _mappings?: any) {\r\n if (_data) {\r\n this.id = _data[\"id\"];\r\n this.title = _data[\"title\"];\r\n this.status = _data[\"status\"];\r\n this.statusText = _data[\"statusText\"];\r\n this.statusChangeDate = _data[\"statusChangeDate\"] ? new Date(_data[\"statusChangeDate\"].toString()) : undefined;\r\n if (Array.isArray(_data[\"selectedRubrics\"])) {\r\n this.selectedRubrics = [] as any;\r\n for (let item of _data[\"selectedRubrics\"])\r\n this.selectedRubrics!.push(SelectedRubricSummaryVm.fromJS(item, _mappings) as SelectedRubricSummaryVm);\r\n }\r\n }\r\n }\r\n\r\n static fromJS(data: any, _mappings?: any): GoalSummaryDto | null {\r\n data = typeof data === 'object' ? data : {};\r\n return createInstance(data, _mappings, GoalSummaryDto);\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"id\"] = this.id;\r\n data[\"title\"] = this.title;\r\n data[\"status\"] = this.status;\r\n data[\"statusText\"] = this.statusText;\r\n data[\"statusChangeDate\"] = this.statusChangeDate ? this.statusChangeDate.toISOString() : undefined;\r\n if (Array.isArray(this.selectedRubrics)) {\r\n data[\"selectedRubrics\"] = [];\r\n for (let item of this.selectedRubrics)\r\n data[\"selectedRubrics\"].push(item.toJSON());\r\n }\r\n return data; \r\n }\r\n\r\n clone(): GoalSummaryDto {\r\n const json = this.toJSON();\r\n let result = new GoalSummaryDto();\r\n result.init(json);\r\n return result;\r\n }\r\n}\r\n\r\nexport interface IGoalSummaryDto {\r\n id: number;\r\n title: string | undefined;\r\n status: GoalStatus;\r\n statusText: string | undefined;\r\n statusChangeDate: Date | undefined;\r\n selectedRubrics: SelectedRubricSummaryVm[] | undefined;\r\n}\r\n\r\nexport class CreateGoalCommand implements ICreateGoalCommand {\r\n title!: string | undefined;\r\n targetDate!: Date | undefined;\r\n\r\n constructor(data?: ICreateGoalCommand) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n\r\n init(_data?: any, _mappings?: any) {\r\n if (_data) {\r\n this.title = _data[\"title\"];\r\n this.targetDate = _data[\"targetDate\"] ? new Date(_data[\"targetDate\"].toString()) : undefined;\r\n }\r\n }\r\n\r\n static fromJS(data: any, _mappings?: any): CreateGoalCommand | null {\r\n data = typeof data === 'object' ? data : {};\r\n return createInstance(data, _mappings, CreateGoalCommand);\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"title\"] = this.title;\r\n data[\"targetDate\"] = this.targetDate ? this.targetDate.toISOString() : undefined;\r\n return data; \r\n }\r\n\r\n clone(): CreateGoalCommand {\r\n const json = this.toJSON();\r\n let result = new CreateGoalCommand();\r\n result.init(json);\r\n return result;\r\n }\r\n}\r\n\r\nexport interface ICreateGoalCommand {\r\n title: string | undefined;\r\n targetDate: Date | undefined;\r\n}\r\n\r\nexport class UpdateGoalCommand implements IUpdateGoalCommand {\r\n goal!: GoalDto | undefined;\r\n\r\n constructor(data?: IUpdateGoalCommand) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n\r\n init(_data?: any, _mappings?: any) {\r\n if (_data) {\r\n this.goal = _data[\"goal\"] ? GoalDto.fromJS(_data[\"goal\"], _mappings) : undefined;\r\n }\r\n }\r\n\r\n static fromJS(data: any, _mappings?: any): UpdateGoalCommand | null {\r\n data = typeof data === 'object' ? data : {};\r\n return createInstance(data, _mappings, UpdateGoalCommand);\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"goal\"] = this.goal ? this.goal.toJSON() : undefined;\r\n return data; \r\n }\r\n\r\n clone(): UpdateGoalCommand {\r\n const json = this.toJSON();\r\n let result = new UpdateGoalCommand();\r\n result.init(json);\r\n return result;\r\n }\r\n}\r\n\r\nexport interface IUpdateGoalCommand {\r\n goal: GoalDto | undefined;\r\n}\r\n\r\nexport class GoalPromptDto implements IGoalPromptDto {\r\n id!: number;\r\n program!: GoalProgram;\r\n metadata!: GoalPromptMetadata | undefined;\r\n\r\n constructor(data?: IGoalPromptDto) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n\r\n init(_data?: any, _mappings?: any) {\r\n if (_data) {\r\n this.id = _data[\"id\"];\r\n this.program = _data[\"program\"];\r\n this.metadata = _data[\"metadata\"] ? GoalPromptMetadata.fromJS(_data[\"metadata\"], _mappings) : undefined;\r\n }\r\n }\r\n\r\n static fromJS(data: any, _mappings?: any): GoalPromptDto | null {\r\n data = typeof data === 'object' ? data : {};\r\n return createInstance(data, _mappings, GoalPromptDto);\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"id\"] = this.id;\r\n data[\"program\"] = this.program;\r\n data[\"metadata\"] = this.metadata ? this.metadata.toJSON() : undefined;\r\n return data; \r\n }\r\n\r\n clone(): GoalPromptDto {\r\n const json = this.toJSON();\r\n let result = new GoalPromptDto();\r\n result.init(json);\r\n return result;\r\n }\r\n}\r\n\r\nexport interface IGoalPromptDto {\r\n id: number;\r\n program: GoalProgram;\r\n metadata: GoalPromptMetadata | undefined;\r\n}\r\n\r\nexport enum GoalProgram {\r\n TESS = 1,\r\n LEADS = 2,\r\n}\r\n\r\nexport class GoalPromptMetadata implements IGoalPromptMetadata {\r\n items!: GoalPromptItem[] | undefined;\r\n\r\n constructor(data?: IGoalPromptMetadata) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n\r\n init(_data?: any, _mappings?: any) {\r\n if (_data) {\r\n if (Array.isArray(_data[\"items\"])) {\r\n this.items = [] as any;\r\n for (let item of _data[\"items\"])\r\n this.items!.push(GoalPromptItem.fromJS(item, _mappings) as GoalPromptItem);\r\n }\r\n }\r\n }\r\n\r\n static fromJS(data: any, _mappings?: any): GoalPromptMetadata | null {\r\n data = typeof data === 'object' ? data : {};\r\n return createInstance(data, _mappings, GoalPromptMetadata);\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n if (Array.isArray(this.items)) {\r\n data[\"items\"] = [];\r\n for (let item of this.items)\r\n data[\"items\"].push(item.toJSON());\r\n }\r\n return data; \r\n }\r\n\r\n clone(): GoalPromptMetadata {\r\n const json = this.toJSON();\r\n let result = new GoalPromptMetadata();\r\n result.init(json);\r\n return result;\r\n }\r\n}\r\n\r\nexport interface IGoalPromptMetadata {\r\n items: GoalPromptItem[] | undefined;\r\n}\r\n\r\nexport class GoalPromptItem implements IGoalPromptItem {\r\n order!: number;\r\n active!: boolean;\r\n promptText!: string | undefined;\r\n\r\n constructor(data?: IGoalPromptItem) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n\r\n init(_data?: any, _mappings?: any) {\r\n if (_data) {\r\n this.order = _data[\"order\"];\r\n this.active = _data[\"active\"];\r\n this.promptText = _data[\"promptText\"];\r\n }\r\n }\r\n\r\n static fromJS(data: any, _mappings?: any): GoalPromptItem | null {\r\n data = typeof data === 'object' ? data : {};\r\n return createInstance(data, _mappings, GoalPromptItem);\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"order\"] = this.order;\r\n data[\"active\"] = this.active;\r\n data[\"promptText\"] = this.promptText;\r\n return data; \r\n }\r\n\r\n clone(): GoalPromptItem {\r\n const json = this.toJSON();\r\n let result = new GoalPromptItem();\r\n result.init(json);\r\n return result;\r\n }\r\n}\r\n\r\nexport interface IGoalPromptItem {\r\n order: number;\r\n active: boolean;\r\n promptText: string | undefined;\r\n}\r\n\r\nexport class SaveGoalPromptCommand implements ISaveGoalPromptCommand {\r\n program!: GoalProgram;\r\n metadata!: GoalPromptMetadata | undefined;\r\n\r\n constructor(data?: ISaveGoalPromptCommand) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n\r\n init(_data?: any, _mappings?: any) {\r\n if (_data) {\r\n this.program = _data[\"program\"];\r\n this.metadata = _data[\"metadata\"] ? GoalPromptMetadata.fromJS(_data[\"metadata\"], _mappings) : undefined;\r\n }\r\n }\r\n\r\n static fromJS(data: any, _mappings?: any): SaveGoalPromptCommand | null {\r\n data = typeof data === 'object' ? data : {};\r\n return createInstance(data, _mappings, SaveGoalPromptCommand);\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"program\"] = this.program;\r\n data[\"metadata\"] = this.metadata ? this.metadata.toJSON() : undefined;\r\n return data; \r\n }\r\n\r\n clone(): SaveGoalPromptCommand {\r\n const json = this.toJSON();\r\n let result = new SaveGoalPromptCommand();\r\n result.init(json);\r\n return result;\r\n }\r\n}\r\n\r\nexport interface ISaveGoalPromptCommand {\r\n program: GoalProgram;\r\n metadata: GoalPromptMetadata | undefined;\r\n}\r\n\r\nexport class DistrictLeaInformationDto implements IDistrictLeaInformationDto {\r\n district!: DistrictLEA | undefined;\r\n schools!: SchoolLEA[] | undefined;\r\n\r\n constructor(data?: IDistrictLeaInformationDto) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n\r\n init(_data?: any, _mappings?: any) {\r\n if (_data) {\r\n this.district = _data[\"district\"] ? DistrictLEA.fromJS(_data[\"district\"], _mappings) : undefined;\r\n if (Array.isArray(_data[\"schools\"])) {\r\n this.schools = [] as any;\r\n for (let item of _data[\"schools\"])\r\n this.schools!.push(SchoolLEA.fromJS(item, _mappings) as SchoolLEA);\r\n }\r\n }\r\n }\r\n\r\n static fromJS(data: any, _mappings?: any): DistrictLeaInformationDto | null {\r\n data = typeof data === 'object' ? data : {};\r\n return createInstance(data, _mappings, DistrictLeaInformationDto);\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"district\"] = this.district ? this.district.toJSON() : undefined;\r\n if (Array.isArray(this.schools)) {\r\n data[\"schools\"] = [];\r\n for (let item of this.schools)\r\n data[\"schools\"].push(item.toJSON());\r\n }\r\n return data; \r\n }\r\n\r\n clone(): DistrictLeaInformationDto {\r\n const json = this.toJSON();\r\n let result = new DistrictLeaInformationDto();\r\n result.init(json);\r\n return result;\r\n }\r\n}\r\n\r\nexport interface IDistrictLeaInformationDto {\r\n district: DistrictLEA | undefined;\r\n schools: SchoolLEA[] | undefined;\r\n}\r\n\r\nexport abstract class LEABase implements ILEABase {\r\n lea!: string | undefined;\r\n leaTypeCode!: string | undefined;\r\n name!: string | undefined;\r\n mailAddress!: string | undefined;\r\n mailCity!: string | undefined;\r\n mailState!: string | undefined;\r\n mailZip!: string | undefined;\r\n mailZip4!: string | undefined;\r\n inactiveDate!: Date | undefined;\r\n isActive!: boolean;\r\n\r\n constructor(data?: ILEABase) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n\r\n init(_data?: any, _mappings?: any) {\r\n if (_data) {\r\n this.lea = _data[\"lea\"];\r\n this.leaTypeCode = _data[\"leaTypeCode\"];\r\n this.name = _data[\"name\"];\r\n this.mailAddress = _data[\"mailAddress\"];\r\n this.mailCity = _data[\"mailCity\"];\r\n this.mailState = _data[\"mailState\"];\r\n this.mailZip = _data[\"mailZip\"];\r\n this.mailZip4 = _data[\"mailZip4\"];\r\n this.inactiveDate = _data[\"inactiveDate\"] ? new Date(_data[\"inactiveDate\"].toString()) : undefined;\r\n this.isActive = _data[\"isActive\"];\r\n }\r\n }\r\n\r\n static fromJS(data: any, _mappings?: any): LEABase | null {\r\n data = typeof data === 'object' ? data : {};\r\n throw new Error(\"The abstract class 'LEABase' cannot be instantiated.\");\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"lea\"] = this.lea;\r\n data[\"leaTypeCode\"] = this.leaTypeCode;\r\n data[\"name\"] = this.name;\r\n data[\"mailAddress\"] = this.mailAddress;\r\n data[\"mailCity\"] = this.mailCity;\r\n data[\"mailState\"] = this.mailState;\r\n data[\"mailZip\"] = this.mailZip;\r\n data[\"mailZip4\"] = this.mailZip4;\r\n data[\"inactiveDate\"] = this.inactiveDate ? this.inactiveDate.toISOString() : undefined;\r\n data[\"isActive\"] = this.isActive;\r\n return data; \r\n }\r\n\r\n clone(): LEABase {\r\n throw new Error(\"The abstract class 'LEABase' cannot be instantiated.\");\r\n }\r\n}\r\n\r\nexport interface ILEABase {\r\n lea: string | undefined;\r\n leaTypeCode: string | undefined;\r\n name: string | undefined;\r\n mailAddress: string | undefined;\r\n mailCity: string | undefined;\r\n mailState: string | undefined;\r\n mailZip: string | undefined;\r\n mailZip4: string | undefined;\r\n inactiveDate: Date | undefined;\r\n isActive: boolean;\r\n}\r\n\r\nexport class DistrictLEA extends LEABase implements IDistrictLEA {\r\n\r\n constructor(data?: IDistrictLEA) {\r\n super(data);\r\n }\r\n\r\n init(_data?: any, _mappings?: any) {\r\n super.init(_data);\r\n }\r\n\r\n static fromJS(data: any, _mappings?: any): DistrictLEA | null {\r\n data = typeof data === 'object' ? data : {};\r\n return createInstance(data, _mappings, DistrictLEA);\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n super.toJSON(data);\r\n return data; \r\n }\r\n\r\n clone(): DistrictLEA {\r\n const json = this.toJSON();\r\n let result = new DistrictLEA();\r\n result.init(json);\r\n return result;\r\n }\r\n}\r\n\r\nexport interface IDistrictLEA extends ILEABase {\r\n}\r\n\r\nexport class SchoolLEA extends LEABase implements ISchoolLEA {\r\n isALE!: boolean;\r\n\r\n constructor(data?: ISchoolLEA) {\r\n super(data);\r\n }\r\n\r\n init(_data?: any, _mappings?: any) {\r\n super.init(_data);\r\n if (_data) {\r\n this.isALE = _data[\"isALE\"];\r\n }\r\n }\r\n\r\n static fromJS(data: any, _mappings?: any): SchoolLEA | null {\r\n data = typeof data === 'object' ? data : {};\r\n return createInstance(data, _mappings, SchoolLEA);\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"isALE\"] = this.isALE;\r\n super.toJSON(data);\r\n return data; \r\n }\r\n\r\n clone(): SchoolLEA {\r\n const json = this.toJSON();\r\n let result = new SchoolLEA();\r\n result.init(json);\r\n return result;\r\n }\r\n}\r\n\r\nexport interface ISchoolLEA extends ILEABase {\r\n isALE: boolean;\r\n}\r\n\r\nexport class LEAListsDto implements ILEAListsDto {\r\n coops!: CoopLEA[] | undefined;\r\n districts!: DistrictLEA[] | undefined;\r\n schools!: SchoolLEA[] | undefined;\r\n districtCoopRelationship!: DistrictCoopRelationship[] | undefined;\r\n\r\n constructor(data?: ILEAListsDto) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n\r\n init(_data?: any, _mappings?: any) {\r\n if (_data) {\r\n if (Array.isArray(_data[\"coops\"])) {\r\n this.coops = [] as any;\r\n for (let item of _data[\"coops\"])\r\n this.coops!.push(CoopLEA.fromJS(item, _mappings) as CoopLEA);\r\n }\r\n if (Array.isArray(_data[\"districts\"])) {\r\n this.districts = [] as any;\r\n for (let item of _data[\"districts\"])\r\n this.districts!.push(DistrictLEA.fromJS(item, _mappings) as DistrictLEA);\r\n }\r\n if (Array.isArray(_data[\"schools\"])) {\r\n this.schools = [] as any;\r\n for (let item of _data[\"schools\"])\r\n this.schools!.push(SchoolLEA.fromJS(item, _mappings) as SchoolLEA);\r\n }\r\n if (Array.isArray(_data[\"districtCoopRelationship\"])) {\r\n this.districtCoopRelationship = [] as any;\r\n for (let item of _data[\"districtCoopRelationship\"])\r\n this.districtCoopRelationship!.push(DistrictCoopRelationship.fromJS(item, _mappings) as DistrictCoopRelationship);\r\n }\r\n }\r\n }\r\n\r\n static fromJS(data: any, _mappings?: any): LEAListsDto | null {\r\n data = typeof data === 'object' ? data : {};\r\n return createInstance(data, _mappings, LEAListsDto);\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n if (Array.isArray(this.coops)) {\r\n data[\"coops\"] = [];\r\n for (let item of this.coops)\r\n data[\"coops\"].push(item.toJSON());\r\n }\r\n if (Array.isArray(this.districts)) {\r\n data[\"districts\"] = [];\r\n for (let item of this.districts)\r\n data[\"districts\"].push(item.toJSON());\r\n }\r\n if (Array.isArray(this.schools)) {\r\n data[\"schools\"] = [];\r\n for (let item of this.schools)\r\n data[\"schools\"].push(item.toJSON());\r\n }\r\n if (Array.isArray(this.districtCoopRelationship)) {\r\n data[\"districtCoopRelationship\"] = [];\r\n for (let item of this.districtCoopRelationship)\r\n data[\"districtCoopRelationship\"].push(item.toJSON());\r\n }\r\n return data; \r\n }\r\n\r\n clone(): LEAListsDto {\r\n const json = this.toJSON();\r\n let result = new LEAListsDto();\r\n result.init(json);\r\n return result;\r\n }\r\n}\r\n\r\nexport interface ILEAListsDto {\r\n coops: CoopLEA[] | undefined;\r\n districts: DistrictLEA[] | undefined;\r\n schools: SchoolLEA[] | undefined;\r\n districtCoopRelationship: DistrictCoopRelationship[] | undefined;\r\n}\r\n\r\nexport class CoopLEA extends LEABase implements ICoopLEA {\r\n\r\n constructor(data?: ICoopLEA) {\r\n super(data);\r\n }\r\n\r\n init(_data?: any, _mappings?: any) {\r\n super.init(_data);\r\n }\r\n\r\n static fromJS(data: any, _mappings?: any): CoopLEA | null {\r\n data = typeof data === 'object' ? data : {};\r\n return createInstance(data, _mappings, CoopLEA);\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n super.toJSON(data);\r\n return data; \r\n }\r\n\r\n clone(): CoopLEA {\r\n const json = this.toJSON();\r\n let result = new CoopLEA();\r\n result.init(json);\r\n return result;\r\n }\r\n}\r\n\r\nexport interface ICoopLEA extends ILEABase {\r\n}\r\n\r\nexport class DistrictCoopRelationship implements IDistrictCoopRelationship {\r\n coopLEA!: string | undefined;\r\n districtLEA!: string | undefined;\r\n\r\n constructor(data?: IDistrictCoopRelationship) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n\r\n init(_data?: any, _mappings?: any) {\r\n if (_data) {\r\n this.coopLEA = _data[\"coopLEA\"];\r\n this.districtLEA = _data[\"districtLEA\"];\r\n }\r\n }\r\n\r\n static fromJS(data: any, _mappings?: any): DistrictCoopRelationship | null {\r\n data = typeof data === 'object' ? data : {};\r\n return createInstance(data, _mappings, DistrictCoopRelationship);\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"coopLEA\"] = this.coopLEA;\r\n data[\"districtLEA\"] = this.districtLEA;\r\n return data; \r\n }\r\n\r\n clone(): DistrictCoopRelationship {\r\n const json = this.toJSON();\r\n let result = new DistrictCoopRelationship();\r\n result.init(json);\r\n return result;\r\n }\r\n}\r\n\r\nexport interface IDistrictCoopRelationship {\r\n coopLEA: string | undefined;\r\n districtLEA: string | undefined;\r\n}\r\n\r\nexport class LearnerObserverDTO implements ILearnerObserverDTO {\r\n observerId!: string;\r\n fullName!: string | undefined;\r\n\r\n constructor(data?: ILearnerObserverDTO) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n\r\n init(_data?: any, _mappings?: any) {\r\n if (_data) {\r\n this.observerId = _data[\"observerId\"];\r\n this.fullName = _data[\"fullName\"];\r\n }\r\n }\r\n\r\n static fromJS(data: any, _mappings?: any): LearnerObserverDTO | null {\r\n data = typeof data === 'object' ? data : {};\r\n return createInstance(data, _mappings, LearnerObserverDTO);\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"observerId\"] = this.observerId;\r\n data[\"fullName\"] = this.fullName;\r\n return data; \r\n }\r\n\r\n clone(): LearnerObserverDTO {\r\n const json = this.toJSON();\r\n let result = new LearnerObserverDTO();\r\n result.init(json);\r\n return result;\r\n }\r\n}\r\n\r\nexport interface ILearnerObserverDTO {\r\n observerId: string;\r\n fullName: string | undefined;\r\n}\r\n\r\nexport class RubricComponentKeyQuickSelector implements IRubricComponentKeyQuickSelector {\r\n key!: string | undefined;\r\n name!: string | undefined;\r\n\r\n constructor(data?: IRubricComponentKeyQuickSelector) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n\r\n init(_data?: any, _mappings?: any) {\r\n if (_data) {\r\n this.key = _data[\"key\"];\r\n this.name = _data[\"name\"];\r\n }\r\n }\r\n\r\n static fromJS(data: any, _mappings?: any): RubricComponentKeyQuickSelector | null {\r\n data = typeof data === 'object' ? data : {};\r\n return createInstance(data, _mappings, RubricComponentKeyQuickSelector);\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"key\"] = this.key;\r\n data[\"name\"] = this.name;\r\n return data; \r\n }\r\n\r\n clone(): RubricComponentKeyQuickSelector {\r\n const json = this.toJSON();\r\n let result = new RubricComponentKeyQuickSelector();\r\n result.init(json);\r\n return result;\r\n }\r\n}\r\n\r\nexport interface IRubricComponentKeyQuickSelector {\r\n key: string | undefined;\r\n name: string | undefined;\r\n}\r\n\r\nexport class LearnerRubricDto implements ILearnerRubricDto {\r\n rubricId!: number;\r\n rubricName!: string | undefined;\r\n\r\n constructor(data?: ILearnerRubricDto) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n\r\n init(_data?: any, _mappings?: any) {\r\n if (_data) {\r\n this.rubricId = _data[\"rubricId\"];\r\n this.rubricName = _data[\"rubricName\"];\r\n }\r\n }\r\n\r\n static fromJS(data: any, _mappings?: any): LearnerRubricDto | null {\r\n data = typeof data === 'object' ? data : {};\r\n return createInstance(data, _mappings, LearnerRubricDto);\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"rubricId\"] = this.rubricId;\r\n data[\"rubricName\"] = this.rubricName;\r\n return data; \r\n }\r\n\r\n clone(): LearnerRubricDto {\r\n const json = this.toJSON();\r\n let result = new LearnerRubricDto();\r\n result.init(json);\r\n return result;\r\n }\r\n}\r\n\r\nexport interface ILearnerRubricDto {\r\n rubricId: number;\r\n rubricName: string | undefined;\r\n}\r\n\r\nexport class LearnerArchiveDTO implements ILearnerArchiveDTO {\r\n endOfYearId!: number | undefined;\r\n pgpId!: string | undefined;\r\n artifactId!: string | undefined;\r\n schoolYear!: number;\r\n meetingDate!: string | undefined;\r\n name!: string | undefined;\r\n\r\n constructor(data?: ILearnerArchiveDTO) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n\r\n init(_data?: any, _mappings?: any) {\r\n if (_data) {\r\n this.endOfYearId = _data[\"endOfYearId\"];\r\n this.pgpId = _data[\"pgpId\"];\r\n this.artifactId = _data[\"artifactId\"];\r\n this.schoolYear = _data[\"schoolYear\"];\r\n this.meetingDate = _data[\"meetingDate\"];\r\n this.name = _data[\"name\"];\r\n }\r\n }\r\n\r\n static fromJS(data: any, _mappings?: any): LearnerArchiveDTO | null {\r\n data = typeof data === 'object' ? data : {};\r\n return createInstance(data, _mappings, LearnerArchiveDTO);\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"endOfYearId\"] = this.endOfYearId;\r\n data[\"pgpId\"] = this.pgpId;\r\n data[\"artifactId\"] = this.artifactId;\r\n data[\"schoolYear\"] = this.schoolYear;\r\n data[\"meetingDate\"] = this.meetingDate;\r\n data[\"name\"] = this.name;\r\n return data; \r\n }\r\n\r\n clone(): LearnerArchiveDTO {\r\n const json = this.toJSON();\r\n let result = new LearnerArchiveDTO();\r\n result.init(json);\r\n return result;\r\n }\r\n}\r\n\r\nexport interface ILearnerArchiveDTO {\r\n endOfYearId: number | undefined;\r\n pgpId: string | undefined;\r\n artifactId: string | undefined;\r\n schoolYear: number;\r\n meetingDate: string | undefined;\r\n name: string | undefined;\r\n}\r\n\r\nexport class MeetingDto implements IMeetingDto {\r\n learnerId!: string;\r\n leanerFullName!: string | undefined;\r\n learnerFirstName!: string | undefined;\r\n learnerLastName!: string | undefined;\r\n learnerRoleTypeId!: string | undefined;\r\n observerId!: string;\r\n observerFullName!: string | undefined;\r\n observerFirstName!: string | undefined;\r\n observerLastName!: string | undefined;\r\n meetingActivityId!: string | undefined;\r\n activityName!: string | undefined;\r\n meetingId!: number | undefined;\r\n meetingType!: string | undefined;\r\n meetingDate!: Date | undefined;\r\n endDate!: Date | undefined;\r\n status!: ActivityStatus;\r\n activityDatas!: ActivityData[] | undefined;\r\n supportsStudentGrowth!: boolean;\r\n\r\n constructor(data?: IMeetingDto) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n\r\n init(_data?: any, _mappings?: any) {\r\n if (_data) {\r\n this.learnerId = _data[\"learnerId\"];\r\n this.leanerFullName = _data[\"leanerFullName\"];\r\n this.learnerFirstName = _data[\"learnerFirstName\"];\r\n this.learnerLastName = _data[\"learnerLastName\"];\r\n this.learnerRoleTypeId = _data[\"learnerRoleTypeId\"];\r\n this.observerId = _data[\"observerId\"];\r\n this.observerFullName = _data[\"observerFullName\"];\r\n this.observerFirstName = _data[\"observerFirstName\"];\r\n this.observerLastName = _data[\"observerLastName\"];\r\n this.meetingActivityId = _data[\"meetingActivityId\"];\r\n this.activityName = _data[\"activityName\"];\r\n this.meetingId = _data[\"meetingId\"];\r\n this.meetingType = _data[\"meetingType\"];\r\n this.meetingDate = _data[\"meetingDate\"] ? new Date(_data[\"meetingDate\"].toString()) : undefined;\r\n this.endDate = _data[\"endDate\"] ? new Date(_data[\"endDate\"].toString()) : undefined;\r\n this.status = _data[\"status\"];\r\n if (Array.isArray(_data[\"activityDatas\"])) {\r\n this.activityDatas = [] as any;\r\n for (let item of _data[\"activityDatas\"])\r\n this.activityDatas!.push(ActivityData.fromJS(item, _mappings) as ActivityData);\r\n }\r\n this.supportsStudentGrowth = _data[\"supportsStudentGrowth\"];\r\n }\r\n }\r\n\r\n static fromJS(data: any, _mappings?: any): MeetingDto | null {\r\n data = typeof data === 'object' ? data : {};\r\n return createInstance(data, _mappings, MeetingDto);\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"learnerId\"] = this.learnerId;\r\n data[\"leanerFullName\"] = this.leanerFullName;\r\n data[\"learnerFirstName\"] = this.learnerFirstName;\r\n data[\"learnerLastName\"] = this.learnerLastName;\r\n data[\"learnerRoleTypeId\"] = this.learnerRoleTypeId;\r\n data[\"observerId\"] = this.observerId;\r\n data[\"observerFullName\"] = this.observerFullName;\r\n data[\"observerFirstName\"] = this.observerFirstName;\r\n data[\"observerLastName\"] = this.observerLastName;\r\n data[\"meetingActivityId\"] = this.meetingActivityId;\r\n data[\"activityName\"] = this.activityName;\r\n data[\"meetingId\"] = this.meetingId;\r\n data[\"meetingType\"] = this.meetingType;\r\n data[\"meetingDate\"] = this.meetingDate ? this.meetingDate.toISOString() : undefined;\r\n data[\"endDate\"] = this.endDate ? this.endDate.toISOString() : undefined;\r\n data[\"status\"] = this.status;\r\n if (Array.isArray(this.activityDatas)) {\r\n data[\"activityDatas\"] = [];\r\n for (let item of this.activityDatas)\r\n data[\"activityDatas\"].push(item.toJSON());\r\n }\r\n data[\"supportsStudentGrowth\"] = this.supportsStudentGrowth;\r\n return data; \r\n }\r\n\r\n clone(): MeetingDto {\r\n const json = this.toJSON();\r\n let result = new MeetingDto();\r\n result.init(json);\r\n return result;\r\n }\r\n}\r\n\r\nexport interface IMeetingDto {\r\n learnerId: string;\r\n leanerFullName: string | undefined;\r\n learnerFirstName: string | undefined;\r\n learnerLastName: string | undefined;\r\n learnerRoleTypeId: string | undefined;\r\n observerId: string;\r\n observerFullName: string | undefined;\r\n observerFirstName: string | undefined;\r\n observerLastName: string | undefined;\r\n meetingActivityId: string | undefined;\r\n activityName: string | undefined;\r\n meetingId: number | undefined;\r\n meetingType: string | undefined;\r\n meetingDate: Date | undefined;\r\n endDate: Date | undefined;\r\n status: ActivityStatus;\r\n activityDatas: ActivityData[] | undefined;\r\n supportsStudentGrowth: boolean;\r\n}\r\n\r\nexport abstract class ActivityData implements IActivityData {\r\n\r\n protected _discriminator: string;\r\n\r\n constructor(data?: IActivityData) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n this._discriminator = \"ActivityData\";\r\n }\r\n\r\n init(_data?: any, _mappings?: any) {\r\n }\r\n\r\n static fromJS(data: any, _mappings?: any): ActivityData | null {\r\n data = typeof data === 'object' ? data : {};\r\n if (data[\"discriminator\"] === \"FormInputData\")\r\n return createInstance(data, _mappings, FormInputData);\r\n if (data[\"discriminator\"] === \"GoalReviewData\")\r\n return createInstance(data, _mappings, GoalReviewData);\r\n if (data[\"discriminator\"] === \"ConferenceData\")\r\n return createInstance(data, _mappings, ConferenceData);\r\n if (data[\"discriminator\"] === \"ObservationData\")\r\n return createInstance(data, _mappings, ObservationData);\r\n if (data[\"discriminator\"] === \"RatingData\")\r\n return createInstance(data, _mappings, RatingData);\r\n if (data[\"discriminator\"] === \"RatingDataV2\")\r\n return createInstance(data, _mappings, RatingDataV2);\r\n if (data[\"discriminator\"] === \"FeedbackData\")\r\n return createInstance(data, _mappings, FeedbackData);\r\n if (data[\"discriminator\"] === \"SelfAssessmentActivityData\")\r\n return createInstance(data, _mappings, SelfAssessmentActivityData);\r\n if (data[\"discriminator\"] === \"ArtifactData\")\r\n return createInstance(data, _mappings, ArtifactData);\r\n if (data[\"discriminator\"] === \"LearnerReflectionData\")\r\n return createInstance(data, _mappings, LearnerReflectionData);\r\n throw new Error(\"The abstract class 'ActivityData' cannot be instantiated.\");\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"discriminator\"] = this._discriminator; \r\n return data; \r\n }\r\n\r\n clone(): ActivityData {\r\n throw new Error(\"The abstract class 'ActivityData' cannot be instantiated.\");\r\n }\r\n}\r\n\r\nexport interface IActivityData {\r\n}\r\n\r\nexport class FormInputData extends ActivityData implements IFormInputData {\r\n formInputPromptResponses!: FormInputPromptResponse[] | undefined;\r\n\r\n constructor(data?: IFormInputData) {\r\n super(data);\r\n this._discriminator = \"FormInputData\";\r\n }\r\n\r\n init(_data?: any, _mappings?: any) {\r\n super.init(_data);\r\n if (_data) {\r\n if (Array.isArray(_data[\"formInputPromptResponses\"])) {\r\n this.formInputPromptResponses = [] as any;\r\n for (let item of _data[\"formInputPromptResponses\"])\r\n this.formInputPromptResponses!.push(FormInputPromptResponse.fromJS(item, _mappings) as FormInputPromptResponse);\r\n }\r\n }\r\n }\r\n\r\n static fromJS(data: any, _mappings?: any): FormInputData | null {\r\n data = typeof data === 'object' ? data : {};\r\n return createInstance(data, _mappings, FormInputData);\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n if (Array.isArray(this.formInputPromptResponses)) {\r\n data[\"formInputPromptResponses\"] = [];\r\n for (let item of this.formInputPromptResponses)\r\n data[\"formInputPromptResponses\"].push(item.toJSON());\r\n }\r\n super.toJSON(data);\r\n return data; \r\n }\r\n\r\n clone(): FormInputData {\r\n const json = this.toJSON();\r\n let result = new FormInputData();\r\n result.init(json);\r\n return result;\r\n }\r\n}\r\n\r\nexport interface IFormInputData extends IActivityData {\r\n formInputPromptResponses: FormInputPromptResponse[] | undefined;\r\n}\r\n\r\nexport class FormInputPromptResponse implements IFormInputPromptResponse {\r\n id!: string;\r\n componentKey!: string | undefined;\r\n prompt!: string | undefined;\r\n response!: string | undefined;\r\n\r\n constructor(data?: IFormInputPromptResponse) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n\r\n init(_data?: any, _mappings?: any) {\r\n if (_data) {\r\n this.id = _data[\"id\"];\r\n this.componentKey = _data[\"componentKey\"];\r\n this.prompt = _data[\"prompt\"];\r\n this.response = _data[\"response\"];\r\n }\r\n }\r\n\r\n static fromJS(data: any, _mappings?: any): FormInputPromptResponse | null {\r\n data = typeof data === 'object' ? data : {};\r\n return createInstance(data, _mappings, FormInputPromptResponse);\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"id\"] = this.id;\r\n data[\"componentKey\"] = this.componentKey;\r\n data[\"prompt\"] = this.prompt;\r\n data[\"response\"] = this.response;\r\n return data; \r\n }\r\n\r\n clone(): FormInputPromptResponse {\r\n const json = this.toJSON();\r\n let result = new FormInputPromptResponse();\r\n result.init(json);\r\n return result;\r\n }\r\n}\r\n\r\nexport interface IFormInputPromptResponse {\r\n id: string;\r\n componentKey: string | undefined;\r\n prompt: string | undefined;\r\n response: string | undefined;\r\n}\r\n\r\nexport class GoalReviewData extends ActivityData implements IGoalReviewData {\r\n\r\n constructor(data?: IGoalReviewData) {\r\n super(data);\r\n this._discriminator = \"GoalReviewData\";\r\n }\r\n\r\n init(_data?: any, _mappings?: any) {\r\n super.init(_data);\r\n }\r\n\r\n static fromJS(data: any, _mappings?: any): GoalReviewData | null {\r\n data = typeof data === 'object' ? data : {};\r\n return createInstance(data, _mappings, GoalReviewData);\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n super.toJSON(data);\r\n return data; \r\n }\r\n\r\n clone(): GoalReviewData {\r\n const json = this.toJSON();\r\n let result = new GoalReviewData();\r\n result.init(json);\r\n return result;\r\n }\r\n}\r\n\r\nexport interface IGoalReviewData extends IActivityData {\r\n}\r\n\r\nexport class ConferenceData extends ActivityData implements IConferenceData {\r\n meetingNotesFormattedText!: { [key: string]: string; } | undefined;\r\n\r\n constructor(data?: IConferenceData) {\r\n super(data);\r\n this._discriminator = \"ConferenceData\";\r\n }\r\n\r\n init(_data?: any, _mappings?: any) {\r\n super.init(_data);\r\n if (_data) {\r\n if (_data[\"meetingNotesFormattedText\"]) {\r\n this.meetingNotesFormattedText = {} as any;\r\n for (let key in _data[\"meetingNotesFormattedText\"]) {\r\n if (_data[\"meetingNotesFormattedText\"].hasOwnProperty(key))\r\n (this.meetingNotesFormattedText)![key] = _data[\"meetingNotesFormattedText\"][key];\r\n }\r\n }\r\n }\r\n }\r\n\r\n static fromJS(data: any, _mappings?: any): ConferenceData | null {\r\n data = typeof data === 'object' ? data : {};\r\n return createInstance(data, _mappings, ConferenceData);\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n if (this.meetingNotesFormattedText) {\r\n data[\"meetingNotesFormattedText\"] = {};\r\n for (let key in this.meetingNotesFormattedText) {\r\n if (this.meetingNotesFormattedText.hasOwnProperty(key))\r\n (data[\"meetingNotesFormattedText\"])[key] = this.meetingNotesFormattedText[key];\r\n }\r\n }\r\n super.toJSON(data);\r\n return data; \r\n }\r\n\r\n clone(): ConferenceData {\r\n const json = this.toJSON();\r\n let result = new ConferenceData();\r\n result.init(json);\r\n return result;\r\n }\r\n}\r\n\r\nexport interface IConferenceData extends IActivityData {\r\n meetingNotesFormattedText: { [key: string]: string; } | undefined;\r\n}\r\n\r\nexport class ObservationData extends ActivityData implements IObservationData {\r\n\r\n constructor(data?: IObservationData) {\r\n super(data);\r\n this._discriminator = \"ObservationData\";\r\n }\r\n\r\n init(_data?: any, _mappings?: any) {\r\n super.init(_data);\r\n }\r\n\r\n static fromJS(data: any, _mappings?: any): ObservationData | null {\r\n data = typeof data === 'object' ? data : {};\r\n return createInstance(data, _mappings, ObservationData);\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n super.toJSON(data);\r\n return data; \r\n }\r\n\r\n clone(): ObservationData {\r\n const json = this.toJSON();\r\n let result = new ObservationData();\r\n result.init(json);\r\n return result;\r\n }\r\n}\r\n\r\nexport interface IObservationData extends IActivityData {\r\n}\r\n\r\nexport class RatingData extends ActivityData implements IRatingData {\r\n rubricRating!: RubricRating2 | undefined;\r\n\r\n constructor(data?: IRatingData) {\r\n super(data);\r\n this._discriminator = \"RatingData\";\r\n }\r\n\r\n init(_data?: any, _mappings?: any) {\r\n super.init(_data);\r\n if (_data) {\r\n this.rubricRating = _data[\"rubricRating\"] ? RubricRating2.fromJS(_data[\"rubricRating\"], _mappings) : undefined;\r\n }\r\n }\r\n\r\n static fromJS(data: any, _mappings?: any): RatingData | null {\r\n data = typeof data === 'object' ? data : {};\r\n return createInstance(data, _mappings, RatingData);\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"rubricRating\"] = this.rubricRating ? this.rubricRating.toJSON() : undefined;\r\n super.toJSON(data);\r\n return data; \r\n }\r\n\r\n clone(): RatingData {\r\n const json = this.toJSON();\r\n let result = new RatingData();\r\n result.init(json);\r\n return result;\r\n }\r\n}\r\n\r\nexport interface IRatingData extends IActivityData {\r\n rubricRating: RubricRating2 | undefined;\r\n}\r\n\r\nexport class RubricRating2 implements IRubricRating2 {\r\n domains!: RubricDomainRating2[] | undefined;\r\n\r\n constructor(data?: IRubricRating2) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n\r\n init(_data?: any, _mappings?: any) {\r\n if (_data) {\r\n if (Array.isArray(_data[\"domains\"])) {\r\n this.domains = [] as any;\r\n for (let item of _data[\"domains\"])\r\n this.domains!.push(RubricDomainRating2.fromJS(item, _mappings) as RubricDomainRating2);\r\n }\r\n }\r\n }\r\n\r\n static fromJS(data: any, _mappings?: any): RubricRating2 | null {\r\n data = typeof data === 'object' ? data : {};\r\n return createInstance(data, _mappings, RubricRating2);\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n if (Array.isArray(this.domains)) {\r\n data[\"domains\"] = [];\r\n for (let item of this.domains)\r\n data[\"domains\"].push(item.toJSON());\r\n }\r\n return data; \r\n }\r\n\r\n clone(): RubricRating2 {\r\n const json = this.toJSON();\r\n let result = new RubricRating2();\r\n result.init(json);\r\n return result;\r\n }\r\n}\r\n\r\nexport interface IRubricRating2 {\r\n domains: RubricDomainRating2[] | undefined;\r\n}\r\n\r\nexport class RubricDomainRating2 implements IRubricDomainRating2 {\r\n key!: string | undefined;\r\n name!: string | undefined;\r\n components!: DomainComponentRating2[] | undefined;\r\n\r\n constructor(data?: IRubricDomainRating2) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n\r\n init(_data?: any, _mappings?: any) {\r\n if (_data) {\r\n this.key = _data[\"key\"];\r\n this.name = _data[\"name\"];\r\n if (Array.isArray(_data[\"components\"])) {\r\n this.components = [] as any;\r\n for (let item of _data[\"components\"])\r\n this.components!.push(DomainComponentRating2.fromJS(item, _mappings) as DomainComponentRating2);\r\n }\r\n }\r\n }\r\n\r\n static fromJS(data: any, _mappings?: any): RubricDomainRating2 | null {\r\n data = typeof data === 'object' ? data : {};\r\n return createInstance(data, _mappings, RubricDomainRating2);\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"key\"] = this.key;\r\n data[\"name\"] = this.name;\r\n if (Array.isArray(this.components)) {\r\n data[\"components\"] = [];\r\n for (let item of this.components)\r\n data[\"components\"].push(item.toJSON());\r\n }\r\n return data; \r\n }\r\n\r\n clone(): RubricDomainRating2 {\r\n const json = this.toJSON();\r\n let result = new RubricDomainRating2();\r\n result.init(json);\r\n return result;\r\n }\r\n}\r\n\r\nexport interface IRubricDomainRating2 {\r\n key: string | undefined;\r\n name: string | undefined;\r\n components: DomainComponentRating2[] | undefined;\r\n}\r\n\r\nexport class DomainComponentRating2 implements IDomainComponentRating2 {\r\n key!: string | undefined;\r\n name!: string | undefined;\r\n selectedLevel!: number | undefined;\r\n selectedByUserId!: string | undefined;\r\n performanceLevels!: ComponentPerformanceLevelRating2[] | undefined;\r\n\r\n constructor(data?: IDomainComponentRating2) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n\r\n init(_data?: any, _mappings?: any) {\r\n if (_data) {\r\n this.key = _data[\"key\"];\r\n this.name = _data[\"name\"];\r\n this.selectedLevel = _data[\"selectedLevel\"];\r\n this.selectedByUserId = _data[\"selectedByUserId\"];\r\n if (Array.isArray(_data[\"performanceLevels\"])) {\r\n this.performanceLevels = [] as any;\r\n for (let item of _data[\"performanceLevels\"])\r\n this.performanceLevels!.push(ComponentPerformanceLevelRating2.fromJS(item, _mappings) as ComponentPerformanceLevelRating2);\r\n }\r\n }\r\n }\r\n\r\n static fromJS(data: any, _mappings?: any): DomainComponentRating2 | null {\r\n data = typeof data === 'object' ? data : {};\r\n return createInstance(data, _mappings, DomainComponentRating2);\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"key\"] = this.key;\r\n data[\"name\"] = this.name;\r\n data[\"selectedLevel\"] = this.selectedLevel;\r\n data[\"selectedByUserId\"] = this.selectedByUserId;\r\n if (Array.isArray(this.performanceLevels)) {\r\n data[\"performanceLevels\"] = [];\r\n for (let item of this.performanceLevels)\r\n data[\"performanceLevels\"].push(item.toJSON());\r\n }\r\n return data; \r\n }\r\n\r\n clone(): DomainComponentRating2 {\r\n const json = this.toJSON();\r\n let result = new DomainComponentRating2();\r\n result.init(json);\r\n return result;\r\n }\r\n}\r\n\r\nexport interface IDomainComponentRating2 {\r\n key: string | undefined;\r\n name: string | undefined;\r\n selectedLevel: number | undefined;\r\n selectedByUserId: string | undefined;\r\n performanceLevels: ComponentPerformanceLevelRating2[] | undefined;\r\n}\r\n\r\nexport class ComponentPerformanceLevelRating2 implements IComponentPerformanceLevelRating2 {\r\n level!: number;\r\n description!: string | undefined;\r\n\r\n constructor(data?: IComponentPerformanceLevelRating2) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n\r\n init(_data?: any, _mappings?: any) {\r\n if (_data) {\r\n this.level = _data[\"level\"];\r\n this.description = _data[\"description\"];\r\n }\r\n }\r\n\r\n static fromJS(data: any, _mappings?: any): ComponentPerformanceLevelRating2 | null {\r\n data = typeof data === 'object' ? data : {};\r\n return createInstance(data, _mappings, ComponentPerformanceLevelRating2);\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"level\"] = this.level;\r\n data[\"description\"] = this.description;\r\n return data; \r\n }\r\n\r\n clone(): ComponentPerformanceLevelRating2 {\r\n const json = this.toJSON();\r\n let result = new ComponentPerformanceLevelRating2();\r\n result.init(json);\r\n return result;\r\n }\r\n}\r\n\r\nexport interface IComponentPerformanceLevelRating2 {\r\n level: number;\r\n description: string | undefined;\r\n}\r\n\r\nexport class RatingDataV2 extends ActivityData implements IRatingDataV2 {\r\n rubricRating!: RubricRating | undefined;\r\n\r\n constructor(data?: IRatingDataV2) {\r\n super(data);\r\n this._discriminator = \"RatingDataV2\";\r\n }\r\n\r\n init(_data?: any, _mappings?: any) {\r\n super.init(_data);\r\n if (_data) {\r\n this.rubricRating = _data[\"rubricRating\"] ? RubricRating.fromJS(_data[\"rubricRating\"], _mappings) : undefined;\r\n }\r\n }\r\n\r\n static fromJS(data: any, _mappings?: any): RatingDataV2 | null {\r\n data = typeof data === 'object' ? data : {};\r\n return createInstance(data, _mappings, RatingDataV2);\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"rubricRating\"] = this.rubricRating ? this.rubricRating.toJSON() : undefined;\r\n super.toJSON(data);\r\n return data; \r\n }\r\n\r\n clone(): RatingDataV2 {\r\n const json = this.toJSON();\r\n let result = new RatingDataV2();\r\n result.init(json);\r\n return result;\r\n }\r\n}\r\n\r\nexport interface IRatingDataV2 extends IActivityData {\r\n rubricRating: RubricRating | undefined;\r\n}\r\n\r\nexport class FeedbackData extends ActivityData implements IFeedbackData {\r\n feedbackFormatedText!: string | undefined;\r\n nextStepsFormatedText!: string | undefined;\r\n\r\n constructor(data?: IFeedbackData) {\r\n super(data);\r\n this._discriminator = \"FeedbackData\";\r\n }\r\n\r\n init(_data?: any, _mappings?: any) {\r\n super.init(_data);\r\n if (_data) {\r\n this.feedbackFormatedText = _data[\"feedbackFormatedText\"];\r\n this.nextStepsFormatedText = _data[\"nextStepsFormatedText\"];\r\n }\r\n }\r\n\r\n static fromJS(data: any, _mappings?: any): FeedbackData | null {\r\n data = typeof data === 'object' ? data : {};\r\n return createInstance(data, _mappings, FeedbackData);\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"feedbackFormatedText\"] = this.feedbackFormatedText;\r\n data[\"nextStepsFormatedText\"] = this.nextStepsFormatedText;\r\n super.toJSON(data);\r\n return data; \r\n }\r\n\r\n clone(): FeedbackData {\r\n const json = this.toJSON();\r\n let result = new FeedbackData();\r\n result.init(json);\r\n return result;\r\n }\r\n}\r\n\r\nexport interface IFeedbackData extends IActivityData {\r\n feedbackFormatedText: string | undefined;\r\n nextStepsFormatedText: string | undefined;\r\n}\r\n\r\nexport class SelfAssessmentActivityData extends ActivityData implements ISelfAssessmentActivityData {\r\n based!: SelfAssessmentBasedType;\r\n alternativeSelfAssessmentRating!: AlternativeSelfAssessmentRating | undefined;\r\n rubricRating!: RubricRating | undefined;\r\n\r\n constructor(data?: ISelfAssessmentActivityData) {\r\n super(data);\r\n this._discriminator = \"SelfAssessmentActivityData\";\r\n }\r\n\r\n init(_data?: any, _mappings?: any) {\r\n super.init(_data);\r\n if (_data) {\r\n this.based = _data[\"based\"];\r\n this.alternativeSelfAssessmentRating = _data[\"alternativeSelfAssessmentRating\"] ? AlternativeSelfAssessmentRating.fromJS(_data[\"alternativeSelfAssessmentRating\"], _mappings) : undefined;\r\n this.rubricRating = _data[\"rubricRating\"] ? RubricRating.fromJS(_data[\"rubricRating\"], _mappings) : undefined;\r\n }\r\n }\r\n\r\n static fromJS(data: any, _mappings?: any): SelfAssessmentActivityData | null {\r\n data = typeof data === 'object' ? data : {};\r\n return createInstance(data, _mappings, SelfAssessmentActivityData);\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"based\"] = this.based;\r\n data[\"alternativeSelfAssessmentRating\"] = this.alternativeSelfAssessmentRating ? this.alternativeSelfAssessmentRating.toJSON() : undefined;\r\n data[\"rubricRating\"] = this.rubricRating ? this.rubricRating.toJSON() : undefined;\r\n super.toJSON(data);\r\n return data; \r\n }\r\n\r\n clone(): SelfAssessmentActivityData {\r\n const json = this.toJSON();\r\n let result = new SelfAssessmentActivityData();\r\n result.init(json);\r\n return result;\r\n }\r\n}\r\n\r\nexport interface ISelfAssessmentActivityData extends IActivityData {\r\n based: SelfAssessmentBasedType;\r\n alternativeSelfAssessmentRating: AlternativeSelfAssessmentRating | undefined;\r\n rubricRating: RubricRating | undefined;\r\n}\r\n\r\nexport enum SelfAssessmentBasedType {\r\n ComponentBased = 1,\r\n ElementBased = 2,\r\n}\r\n\r\nexport class AlternativeSelfAssessmentRating implements IAlternativeSelfAssessmentRating {\r\n elementRatings!: SelfAssessmentPeformanceLevelRating[] | undefined;\r\n\r\n constructor(data?: IAlternativeSelfAssessmentRating) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n\r\n init(_data?: any, _mappings?: any) {\r\n if (_data) {\r\n if (Array.isArray(_data[\"elementRatings\"])) {\r\n this.elementRatings = [] as any;\r\n for (let item of _data[\"elementRatings\"])\r\n this.elementRatings!.push(SelfAssessmentPeformanceLevelRating.fromJS(item, _mappings) as SelfAssessmentPeformanceLevelRating);\r\n }\r\n }\r\n }\r\n\r\n static fromJS(data: any, _mappings?: any): AlternativeSelfAssessmentRating | null {\r\n data = typeof data === 'object' ? data : {};\r\n return createInstance(data, _mappings, AlternativeSelfAssessmentRating);\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n if (Array.isArray(this.elementRatings)) {\r\n data[\"elementRatings\"] = [];\r\n for (let item of this.elementRatings)\r\n data[\"elementRatings\"].push(item.toJSON());\r\n }\r\n return data; \r\n }\r\n\r\n clone(): AlternativeSelfAssessmentRating {\r\n const json = this.toJSON();\r\n let result = new AlternativeSelfAssessmentRating();\r\n result.init(json);\r\n return result;\r\n }\r\n}\r\n\r\nexport interface IAlternativeSelfAssessmentRating {\r\n elementRatings: SelfAssessmentPeformanceLevelRating[] | undefined;\r\n}\r\n\r\nexport class SelfAssessmentPeformanceLevelRating implements ISelfAssessmentPeformanceLevelRating {\r\n key!: string | undefined;\r\n level!: number | undefined;\r\n\r\n constructor(data?: ISelfAssessmentPeformanceLevelRating) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n\r\n init(_data?: any, _mappings?: any) {\r\n if (_data) {\r\n this.key = _data[\"key\"];\r\n this.level = _data[\"level\"];\r\n }\r\n }\r\n\r\n static fromJS(data: any, _mappings?: any): SelfAssessmentPeformanceLevelRating | null {\r\n data = typeof data === 'object' ? data : {};\r\n return createInstance(data, _mappings, SelfAssessmentPeformanceLevelRating);\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"key\"] = this.key;\r\n data[\"level\"] = this.level;\r\n return data; \r\n }\r\n\r\n clone(): SelfAssessmentPeformanceLevelRating {\r\n const json = this.toJSON();\r\n let result = new SelfAssessmentPeformanceLevelRating();\r\n result.init(json);\r\n return result;\r\n }\r\n}\r\n\r\nexport interface ISelfAssessmentPeformanceLevelRating {\r\n key: string | undefined;\r\n level: number | undefined;\r\n}\r\n\r\nexport class ArtifactData extends ActivityData implements IArtifactData {\r\n focusedRubricComponents!: string[] | undefined;\r\n supportsStudentGrowth!: boolean;\r\n\r\n constructor(data?: IArtifactData) {\r\n super(data);\r\n this._discriminator = \"ArtifactData\";\r\n }\r\n\r\n init(_data?: any, _mappings?: any) {\r\n super.init(_data);\r\n if (_data) {\r\n if (Array.isArray(_data[\"focusedRubricComponents\"])) {\r\n this.focusedRubricComponents = [] as any;\r\n for (let item of _data[\"focusedRubricComponents\"])\r\n this.focusedRubricComponents!.push(item);\r\n }\r\n this.supportsStudentGrowth = _data[\"supportsStudentGrowth\"];\r\n }\r\n }\r\n\r\n static fromJS(data: any, _mappings?: any): ArtifactData | null {\r\n data = typeof data === 'object' ? data : {};\r\n return createInstance(data, _mappings, ArtifactData);\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n if (Array.isArray(this.focusedRubricComponents)) {\r\n data[\"focusedRubricComponents\"] = [];\r\n for (let item of this.focusedRubricComponents)\r\n data[\"focusedRubricComponents\"].push(item);\r\n }\r\n data[\"supportsStudentGrowth\"] = this.supportsStudentGrowth;\r\n super.toJSON(data);\r\n return data; \r\n }\r\n\r\n clone(): ArtifactData {\r\n const json = this.toJSON();\r\n let result = new ArtifactData();\r\n result.init(json);\r\n return result;\r\n }\r\n}\r\n\r\nexport interface IArtifactData extends IActivityData {\r\n focusedRubricComponents: string[] | undefined;\r\n supportsStudentGrowth: boolean;\r\n}\r\n\r\nexport class LearnerReflectionData extends ActivityData implements ILearnerReflectionData {\r\n learnerReflectionText!: string | undefined;\r\n\r\n constructor(data?: ILearnerReflectionData) {\r\n super(data);\r\n this._discriminator = \"LearnerReflectionData\";\r\n }\r\n\r\n init(_data?: any, _mappings?: any) {\r\n super.init(_data);\r\n if (_data) {\r\n this.learnerReflectionText = _data[\"learnerReflectionText\"];\r\n }\r\n }\r\n\r\n static fromJS(data: any, _mappings?: any): LearnerReflectionData | null {\r\n data = typeof data === 'object' ? data : {};\r\n return createInstance(data, _mappings, LearnerReflectionData);\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"learnerReflectionText\"] = this.learnerReflectionText;\r\n super.toJSON(data);\r\n return data; \r\n }\r\n\r\n clone(): LearnerReflectionData {\r\n const json = this.toJSON();\r\n let result = new LearnerReflectionData();\r\n result.init(json);\r\n return result;\r\n }\r\n}\r\n\r\nexport interface ILearnerReflectionData extends IActivityData {\r\n learnerReflectionText: string | undefined;\r\n}\r\n\r\nexport class MessageThreadPagingVM implements IMessageThreadPagingVM {\r\n id!: number;\r\n learnerName!: string | undefined;\r\n hasMoreContent!: boolean;\r\n messages!: MessageDTO[] | undefined;\r\n\r\n constructor(data?: IMessageThreadPagingVM) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n\r\n init(_data?: any, _mappings?: any) {\r\n if (_data) {\r\n this.id = _data[\"id\"];\r\n this.learnerName = _data[\"learnerName\"];\r\n this.hasMoreContent = _data[\"hasMoreContent\"];\r\n if (Array.isArray(_data[\"messages\"])) {\r\n this.messages = [] as any;\r\n for (let item of _data[\"messages\"])\r\n this.messages!.push(MessageDTO.fromJS(item, _mappings) as MessageDTO);\r\n }\r\n }\r\n }\r\n\r\n static fromJS(data: any, _mappings?: any): MessageThreadPagingVM | null {\r\n data = typeof data === 'object' ? data : {};\r\n return createInstance(data, _mappings, MessageThreadPagingVM);\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"id\"] = this.id;\r\n data[\"learnerName\"] = this.learnerName;\r\n data[\"hasMoreContent\"] = this.hasMoreContent;\r\n if (Array.isArray(this.messages)) {\r\n data[\"messages\"] = [];\r\n for (let item of this.messages)\r\n data[\"messages\"].push(item.toJSON());\r\n }\r\n return data; \r\n }\r\n\r\n clone(): MessageThreadPagingVM {\r\n const json = this.toJSON();\r\n let result = new MessageThreadPagingVM();\r\n result.init(json);\r\n return result;\r\n }\r\n}\r\n\r\nexport interface IMessageThreadPagingVM {\r\n id: number;\r\n learnerName: string | undefined;\r\n hasMoreContent: boolean;\r\n messages: MessageDTO[] | undefined;\r\n}\r\n\r\nexport class MessageDTO implements IMessageDTO {\r\n id!: number;\r\n body!: string | undefined;\r\n createdDate!: Date;\r\n senderId!: string;\r\n senderName!: string | undefined;\r\n learnerId!: string;\r\n\r\n constructor(data?: IMessageDTO) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n\r\n init(_data?: any, _mappings?: any) {\r\n if (_data) {\r\n this.id = _data[\"id\"];\r\n this.body = _data[\"body\"];\r\n this.createdDate = _data[\"createdDate\"] ? new Date(_data[\"createdDate\"].toString()) : undefined;\r\n this.senderId = _data[\"senderId\"];\r\n this.senderName = _data[\"senderName\"];\r\n this.learnerId = _data[\"learnerId\"];\r\n }\r\n }\r\n\r\n static fromJS(data: any, _mappings?: any): MessageDTO | null {\r\n data = typeof data === 'object' ? data : {};\r\n return createInstance(data, _mappings, MessageDTO);\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"id\"] = this.id;\r\n data[\"body\"] = this.body;\r\n data[\"createdDate\"] = this.createdDate ? this.createdDate.toISOString() : undefined;\r\n data[\"senderId\"] = this.senderId;\r\n data[\"senderName\"] = this.senderName;\r\n data[\"learnerId\"] = this.learnerId;\r\n return data; \r\n }\r\n\r\n clone(): MessageDTO {\r\n const json = this.toJSON();\r\n let result = new MessageDTO();\r\n result.init(json);\r\n return result;\r\n }\r\n}\r\n\r\nexport interface IMessageDTO {\r\n id: number;\r\n body: string | undefined;\r\n createdDate: Date;\r\n senderId: string;\r\n senderName: string | undefined;\r\n learnerId: string;\r\n}\r\n\r\nexport class MessageThreadUnreadCountVm implements IMessageThreadUnreadCountVm {\r\n learnerId!: string;\r\n unreadCount!: number;\r\n\r\n constructor(data?: IMessageThreadUnreadCountVm) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n\r\n init(_data?: any, _mappings?: any) {\r\n if (_data) {\r\n this.learnerId = _data[\"learnerId\"];\r\n this.unreadCount = _data[\"unreadCount\"];\r\n }\r\n }\r\n\r\n static fromJS(data: any, _mappings?: any): MessageThreadUnreadCountVm | null {\r\n data = typeof data === 'object' ? data : {};\r\n return createInstance(data, _mappings, MessageThreadUnreadCountVm);\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"learnerId\"] = this.learnerId;\r\n data[\"unreadCount\"] = this.unreadCount;\r\n return data; \r\n }\r\n\r\n clone(): MessageThreadUnreadCountVm {\r\n const json = this.toJSON();\r\n let result = new MessageThreadUnreadCountVm();\r\n result.init(json);\r\n return result;\r\n }\r\n}\r\n\r\nexport interface IMessageThreadUnreadCountVm {\r\n learnerId: string;\r\n unreadCount: number;\r\n}\r\n\r\nexport class CreateMessageCommand implements ICreateMessageCommand {\r\n messageThreadId!: number;\r\n body!: string | undefined;\r\n\r\n constructor(data?: ICreateMessageCommand) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n\r\n init(_data?: any, _mappings?: any) {\r\n if (_data) {\r\n this.messageThreadId = _data[\"messageThreadId\"];\r\n this.body = _data[\"body\"];\r\n }\r\n }\r\n\r\n static fromJS(data: any, _mappings?: any): CreateMessageCommand | null {\r\n data = typeof data === 'object' ? data : {};\r\n return createInstance(data, _mappings, CreateMessageCommand);\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"messageThreadId\"] = this.messageThreadId;\r\n data[\"body\"] = this.body;\r\n return data; \r\n }\r\n\r\n clone(): CreateMessageCommand {\r\n const json = this.toJSON();\r\n let result = new CreateMessageCommand();\r\n result.init(json);\r\n return result;\r\n }\r\n}\r\n\r\nexport interface ICreateMessageCommand {\r\n messageThreadId: number;\r\n body: string | undefined;\r\n}\r\n\r\nexport class RemoveMessageCommand implements IRemoveMessageCommand {\r\n messageId!: number;\r\n\r\n constructor(data?: IRemoveMessageCommand) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n\r\n init(_data?: any, _mappings?: any) {\r\n if (_data) {\r\n this.messageId = _data[\"messageId\"];\r\n }\r\n }\r\n\r\n static fromJS(data: any, _mappings?: any): RemoveMessageCommand | null {\r\n data = typeof data === 'object' ? data : {};\r\n return createInstance(data, _mappings, RemoveMessageCommand);\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"messageId\"] = this.messageId;\r\n return data; \r\n }\r\n\r\n clone(): RemoveMessageCommand {\r\n const json = this.toJSON();\r\n let result = new RemoveMessageCommand();\r\n result.init(json);\r\n return result;\r\n }\r\n}\r\n\r\nexport interface IRemoveMessageCommand {\r\n messageId: number;\r\n}\r\n\r\nexport class CreateMessageReadStateCommand implements ICreateMessageReadStateCommand {\r\n messageId!: number;\r\n\r\n constructor(data?: ICreateMessageReadStateCommand) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n\r\n init(_data?: any, _mappings?: any) {\r\n if (_data) {\r\n this.messageId = _data[\"messageId\"];\r\n }\r\n }\r\n\r\n static fromJS(data: any, _mappings?: any): CreateMessageReadStateCommand | null {\r\n data = typeof data === 'object' ? data : {};\r\n return createInstance(data, _mappings, CreateMessageReadStateCommand);\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"messageId\"] = this.messageId;\r\n return data; \r\n }\r\n\r\n clone(): CreateMessageReadStateCommand {\r\n const json = this.toJSON();\r\n let result = new CreateMessageReadStateCommand();\r\n result.init(json);\r\n return result;\r\n }\r\n}\r\n\r\nexport interface ICreateMessageReadStateCommand {\r\n messageId: number;\r\n}\r\n\r\nexport class ApplicationMetadataDTO implements IApplicationMetadataDTO {\r\n staffRoleTypes!: StaffRoleTypeDto[] | undefined;\r\n activityTypes!: ActivityTypeDto[] | undefined;\r\n\r\n constructor(data?: IApplicationMetadataDTO) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n\r\n init(_data?: any, _mappings?: any) {\r\n if (_data) {\r\n if (Array.isArray(_data[\"staffRoleTypes\"])) {\r\n this.staffRoleTypes = [] as any;\r\n for (let item of _data[\"staffRoleTypes\"])\r\n this.staffRoleTypes!.push(StaffRoleTypeDto.fromJS(item, _mappings) as StaffRoleTypeDto);\r\n }\r\n if (Array.isArray(_data[\"activityTypes\"])) {\r\n this.activityTypes = [] as any;\r\n for (let item of _data[\"activityTypes\"])\r\n this.activityTypes!.push(ActivityTypeDto.fromJS(item, _mappings) as ActivityTypeDto);\r\n }\r\n }\r\n }\r\n\r\n static fromJS(data: any, _mappings?: any): ApplicationMetadataDTO | null {\r\n data = typeof data === 'object' ? data : {};\r\n return createInstance(data, _mappings, ApplicationMetadataDTO);\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n if (Array.isArray(this.staffRoleTypes)) {\r\n data[\"staffRoleTypes\"] = [];\r\n for (let item of this.staffRoleTypes)\r\n data[\"staffRoleTypes\"].push(item.toJSON());\r\n }\r\n if (Array.isArray(this.activityTypes)) {\r\n data[\"activityTypes\"] = [];\r\n for (let item of this.activityTypes)\r\n data[\"activityTypes\"].push(item.toJSON());\r\n }\r\n return data; \r\n }\r\n\r\n clone(): ApplicationMetadataDTO {\r\n const json = this.toJSON();\r\n let result = new ApplicationMetadataDTO();\r\n result.init(json);\r\n return result;\r\n }\r\n}\r\n\r\nexport interface IApplicationMetadataDTO {\r\n staffRoleTypes: StaffRoleTypeDto[] | undefined;\r\n activityTypes: ActivityTypeDto[] | undefined;\r\n}\r\n\r\nexport class StaffRoleTypeDto implements IStaffRoleTypeDto {\r\n value!: number;\r\n description!: string | undefined;\r\n authorizationLevel!: number;\r\n\r\n constructor(data?: IStaffRoleTypeDto) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n\r\n init(_data?: any, _mappings?: any) {\r\n if (_data) {\r\n this.value = _data[\"value\"];\r\n this.description = _data[\"description\"];\r\n this.authorizationLevel = _data[\"authorizationLevel\"];\r\n }\r\n }\r\n\r\n static fromJS(data: any, _mappings?: any): StaffRoleTypeDto | null {\r\n data = typeof data === 'object' ? data : {};\r\n return createInstance(data, _mappings, StaffRoleTypeDto);\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"value\"] = this.value;\r\n data[\"description\"] = this.description;\r\n data[\"authorizationLevel\"] = this.authorizationLevel;\r\n return data; \r\n }\r\n\r\n clone(): StaffRoleTypeDto {\r\n const json = this.toJSON();\r\n let result = new StaffRoleTypeDto();\r\n result.init(json);\r\n return result;\r\n }\r\n}\r\n\r\nexport interface IStaffRoleTypeDto {\r\n value: number;\r\n description: string | undefined;\r\n authorizationLevel: number;\r\n}\r\n\r\nexport class ActivityTypeDto implements IActivityTypeDto {\r\n id!: number;\r\n name!: string | undefined;\r\n\r\n constructor(data?: IActivityTypeDto) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n\r\n init(_data?: any, _mappings?: any) {\r\n if (_data) {\r\n this.id = _data[\"id\"];\r\n this.name = _data[\"name\"];\r\n }\r\n }\r\n\r\n static fromJS(data: any, _mappings?: any): ActivityTypeDto | null {\r\n data = typeof data === 'object' ? data : {};\r\n return createInstance(data, _mappings, ActivityTypeDto);\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"id\"] = this.id;\r\n data[\"name\"] = this.name;\r\n return data; \r\n }\r\n\r\n clone(): ActivityTypeDto {\r\n const json = this.toJSON();\r\n let result = new ActivityTypeDto();\r\n result.init(json);\r\n return result;\r\n }\r\n}\r\n\r\nexport interface IActivityTypeDto {\r\n id: number;\r\n name: string | undefined;\r\n}\r\n\r\nexport class EmailNotificationListItem implements IEmailNotificationListItem {\r\n notificationId!: number;\r\n subject!: string | undefined;\r\n recipients!: string | undefined;\r\n body!: string | undefined;\r\n createdAt!: Date;\r\n sentAt!: Date | undefined;\r\n debugIntercept!: boolean;\r\n status!: NotificationStatus;\r\n\r\n constructor(data?: IEmailNotificationListItem) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n\r\n init(_data?: any, _mappings?: any) {\r\n if (_data) {\r\n this.notificationId = _data[\"notificationId\"];\r\n this.subject = _data[\"subject\"];\r\n this.recipients = _data[\"recipients\"];\r\n this.body = _data[\"body\"];\r\n this.createdAt = _data[\"createdAt\"] ? new Date(_data[\"createdAt\"].toString()) : undefined;\r\n this.sentAt = _data[\"sentAt\"] ? new Date(_data[\"sentAt\"].toString()) : undefined;\r\n this.debugIntercept = _data[\"debugIntercept\"];\r\n this.status = _data[\"status\"];\r\n }\r\n }\r\n\r\n static fromJS(data: any, _mappings?: any): EmailNotificationListItem | null {\r\n data = typeof data === 'object' ? data : {};\r\n return createInstance(data, _mappings, EmailNotificationListItem);\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"notificationId\"] = this.notificationId;\r\n data[\"subject\"] = this.subject;\r\n data[\"recipients\"] = this.recipients;\r\n data[\"body\"] = this.body;\r\n data[\"createdAt\"] = this.createdAt ? this.createdAt.toISOString() : undefined;\r\n data[\"sentAt\"] = this.sentAt ? this.sentAt.toISOString() : undefined;\r\n data[\"debugIntercept\"] = this.debugIntercept;\r\n data[\"status\"] = this.status;\r\n return data; \r\n }\r\n\r\n clone(): EmailNotificationListItem {\r\n const json = this.toJSON();\r\n let result = new EmailNotificationListItem();\r\n result.init(json);\r\n return result;\r\n }\r\n}\r\n\r\nexport interface IEmailNotificationListItem {\r\n notificationId: number;\r\n subject: string | undefined;\r\n recipients: string | undefined;\r\n body: string | undefined;\r\n createdAt: Date;\r\n sentAt: Date | undefined;\r\n debugIntercept: boolean;\r\n status: NotificationStatus;\r\n}\r\n\r\nexport enum NotificationStatus {\r\n Created = 0,\r\n Retrying = 1,\r\n Failed = 2,\r\n Sent = 255,\r\n}\r\n\r\nexport class LearnerSummativeDataDto implements ILearnerSummativeDataDto {\r\n id!: number;\r\n districtLEA!: string | undefined;\r\n schoolLEA!: string | undefined;\r\n firstName!: string | undefined;\r\n lastName!: string | undefined;\r\n learnerRoleType!: StaffRoleTypeEnum | undefined;\r\n learnerRole!: string | undefined;\r\n rubricVersionId!: number | undefined;\r\n rubricId!: number | undefined;\r\n rubricName!: string | undefined;\r\n learnerId!: string;\r\n priorSummativeYear!: number | undefined;\r\n summativeYear!: boolean | undefined;\r\n virtualEducator!: boolean;\r\n multiRoleSelectionMetadata!: RoleSelectionMetadata[] | undefined;\r\n\r\n constructor(data?: ILearnerSummativeDataDto) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n\r\n init(_data?: any, _mappings?: any) {\r\n if (_data) {\r\n this.id = _data[\"id\"];\r\n this.districtLEA = _data[\"districtLEA\"];\r\n this.schoolLEA = _data[\"schoolLEA\"];\r\n this.firstName = _data[\"firstName\"];\r\n this.lastName = _data[\"lastName\"];\r\n this.learnerRoleType = _data[\"learnerRoleType\"];\r\n this.learnerRole = _data[\"learnerRole\"];\r\n this.rubricVersionId = _data[\"rubricVersionId\"];\r\n this.rubricId = _data[\"rubricId\"];\r\n this.rubricName = _data[\"rubricName\"];\r\n this.learnerId = _data[\"learnerId\"];\r\n this.priorSummativeYear = _data[\"priorSummativeYear\"];\r\n this.summativeYear = _data[\"summativeYear\"];\r\n this.virtualEducator = _data[\"virtualEducator\"];\r\n if (Array.isArray(_data[\"multiRoleSelectionMetadata\"])) {\r\n this.multiRoleSelectionMetadata = [] as any;\r\n for (let item of _data[\"multiRoleSelectionMetadata\"])\r\n this.multiRoleSelectionMetadata!.push(RoleSelectionMetadata.fromJS(item, _mappings) as RoleSelectionMetadata);\r\n }\r\n }\r\n }\r\n\r\n static fromJS(data: any, _mappings?: any): LearnerSummativeDataDto | null {\r\n data = typeof data === 'object' ? data : {};\r\n return createInstance(data, _mappings, LearnerSummativeDataDto);\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"id\"] = this.id;\r\n data[\"districtLEA\"] = this.districtLEA;\r\n data[\"schoolLEA\"] = this.schoolLEA;\r\n data[\"firstName\"] = this.firstName;\r\n data[\"lastName\"] = this.lastName;\r\n data[\"learnerRoleType\"] = this.learnerRoleType;\r\n data[\"learnerRole\"] = this.learnerRole;\r\n data[\"rubricVersionId\"] = this.rubricVersionId;\r\n data[\"rubricId\"] = this.rubricId;\r\n data[\"rubricName\"] = this.rubricName;\r\n data[\"learnerId\"] = this.learnerId;\r\n data[\"priorSummativeYear\"] = this.priorSummativeYear;\r\n data[\"summativeYear\"] = this.summativeYear;\r\n data[\"virtualEducator\"] = this.virtualEducator;\r\n if (Array.isArray(this.multiRoleSelectionMetadata)) {\r\n data[\"multiRoleSelectionMetadata\"] = [];\r\n for (let item of this.multiRoleSelectionMetadata)\r\n data[\"multiRoleSelectionMetadata\"].push(item.toJSON());\r\n }\r\n return data; \r\n }\r\n\r\n clone(): LearnerSummativeDataDto {\r\n const json = this.toJSON();\r\n let result = new LearnerSummativeDataDto();\r\n result.init(json);\r\n return result;\r\n }\r\n}\r\n\r\nexport interface ILearnerSummativeDataDto {\r\n id: number;\r\n districtLEA: string | undefined;\r\n schoolLEA: string | undefined;\r\n firstName: string | undefined;\r\n lastName: string | undefined;\r\n learnerRoleType: StaffRoleTypeEnum | undefined;\r\n learnerRole: string | undefined;\r\n rubricVersionId: number | undefined;\r\n rubricId: number | undefined;\r\n rubricName: string | undefined;\r\n learnerId: string;\r\n priorSummativeYear: number | undefined;\r\n summativeYear: boolean | undefined;\r\n virtualEducator: boolean;\r\n multiRoleSelectionMetadata: RoleSelectionMetadata[] | undefined;\r\n}\r\n\r\nexport class RoleSelectionMetadata implements IRoleSelectionMetadata {\r\n schoolLEA!: string | undefined;\r\n jobFunction!: string | undefined;\r\n roleTypeId!: StaffRoleTypeEnum;\r\n rubricVersionId!: number | undefined;\r\n\r\n constructor(data?: IRoleSelectionMetadata) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n\r\n init(_data?: any, _mappings?: any) {\r\n if (_data) {\r\n this.schoolLEA = _data[\"schoolLEA\"];\r\n this.jobFunction = _data[\"jobFunction\"];\r\n this.roleTypeId = _data[\"roleTypeId\"];\r\n this.rubricVersionId = _data[\"rubricVersionId\"];\r\n }\r\n }\r\n\r\n static fromJS(data: any, _mappings?: any): RoleSelectionMetadata | null {\r\n data = typeof data === 'object' ? data : {};\r\n return createInstance(data, _mappings, RoleSelectionMetadata);\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"schoolLEA\"] = this.schoolLEA;\r\n data[\"jobFunction\"] = this.jobFunction;\r\n data[\"roleTypeId\"] = this.roleTypeId;\r\n data[\"rubricVersionId\"] = this.rubricVersionId;\r\n return data; \r\n }\r\n\r\n clone(): RoleSelectionMetadata {\r\n const json = this.toJSON();\r\n let result = new RoleSelectionMetadata();\r\n result.init(json);\r\n return result;\r\n }\r\n}\r\n\r\nexport interface IRoleSelectionMetadata {\r\n schoolLEA: string | undefined;\r\n jobFunction: string | undefined;\r\n roleTypeId: StaffRoleTypeEnum;\r\n rubricVersionId: number | undefined;\r\n}\r\n\r\nexport class DefaultObserverLearnerAssignmentDto implements IDefaultObserverLearnerAssignmentDto {\r\n learnerSummativeDataId!: number;\r\n districtLEA!: string | undefined;\r\n defaultObserverStateId!: string | undefined;\r\n defaultObserverName!: string | undefined;\r\n defaultObserverUserId!: string | undefined;\r\n learnerStateId!: string | undefined;\r\n learnerName!: string | undefined;\r\n learnerUserId!: string | undefined;\r\n learnerRole!: string | undefined;\r\n learnerRoleType!: StaffRoleTypeEnum | undefined;\r\n learnerBuildingLEA!: string | undefined;\r\n isAssigned!: boolean;\r\n rubricVersionId!: number | undefined;\r\n virtualEducator!: boolean;\r\n summativeYear!: boolean;\r\n priorSummativeYear!: number | undefined;\r\n learnerStatus!: LearnerStatusEnum;\r\n scienceOfReadingStatus!: ScienceOfReadingStatusEnum;\r\n isHidden!: boolean;\r\n activeDirectoryUserId!: string | undefined;\r\n lastEncounteredDate!: Date | undefined;\r\n assignedObserverItems!: AssignedObserver[] | undefined;\r\n roleSelectionMetadataItems!: RoleSelectionMetadata[] | undefined;\r\n\r\n constructor(data?: IDefaultObserverLearnerAssignmentDto) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n\r\n init(_data?: any, _mappings?: any) {\r\n if (_data) {\r\n this.learnerSummativeDataId = _data[\"learnerSummativeDataId\"];\r\n this.districtLEA = _data[\"districtLEA\"];\r\n this.defaultObserverStateId = _data[\"defaultObserverStateId\"];\r\n this.defaultObserverName = _data[\"defaultObserverName\"];\r\n this.defaultObserverUserId = _data[\"defaultObserverUserId\"];\r\n this.learnerStateId = _data[\"learnerStateId\"];\r\n this.learnerName = _data[\"learnerName\"];\r\n this.learnerUserId = _data[\"learnerUserId\"];\r\n this.learnerRole = _data[\"learnerRole\"];\r\n this.learnerRoleType = _data[\"learnerRoleType\"];\r\n this.learnerBuildingLEA = _data[\"learnerBuildingLEA\"];\r\n this.isAssigned = _data[\"isAssigned\"];\r\n this.rubricVersionId = _data[\"rubricVersionId\"];\r\n this.virtualEducator = _data[\"virtualEducator\"];\r\n this.summativeYear = _data[\"summativeYear\"];\r\n this.priorSummativeYear = _data[\"priorSummativeYear\"];\r\n this.learnerStatus = _data[\"learnerStatus\"];\r\n this.scienceOfReadingStatus = _data[\"scienceOfReadingStatus\"];\r\n this.isHidden = _data[\"isHidden\"];\r\n this.activeDirectoryUserId = _data[\"activeDirectoryUserId\"];\r\n this.lastEncounteredDate = _data[\"lastEncounteredDate\"] ? new Date(_data[\"lastEncounteredDate\"].toString()) : undefined;\r\n if (Array.isArray(_data[\"assignedObserverItems\"])) {\r\n this.assignedObserverItems = [] as any;\r\n for (let item of _data[\"assignedObserverItems\"])\r\n this.assignedObserverItems!.push(AssignedObserver.fromJS(item, _mappings) as AssignedObserver);\r\n }\r\n if (Array.isArray(_data[\"roleSelectionMetadataItems\"])) {\r\n this.roleSelectionMetadataItems = [] as any;\r\n for (let item of _data[\"roleSelectionMetadataItems\"])\r\n this.roleSelectionMetadataItems!.push(RoleSelectionMetadata.fromJS(item, _mappings) as RoleSelectionMetadata);\r\n }\r\n }\r\n }\r\n\r\n static fromJS(data: any, _mappings?: any): DefaultObserverLearnerAssignmentDto | null {\r\n data = typeof data === 'object' ? data : {};\r\n return createInstance(data, _mappings, DefaultObserverLearnerAssignmentDto);\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"learnerSummativeDataId\"] = this.learnerSummativeDataId;\r\n data[\"districtLEA\"] = this.districtLEA;\r\n data[\"defaultObserverStateId\"] = this.defaultObserverStateId;\r\n data[\"defaultObserverName\"] = this.defaultObserverName;\r\n data[\"defaultObserverUserId\"] = this.defaultObserverUserId;\r\n data[\"learnerStateId\"] = this.learnerStateId;\r\n data[\"learnerName\"] = this.learnerName;\r\n data[\"learnerUserId\"] = this.learnerUserId;\r\n data[\"learnerRole\"] = this.learnerRole;\r\n data[\"learnerRoleType\"] = this.learnerRoleType;\r\n data[\"learnerBuildingLEA\"] = this.learnerBuildingLEA;\r\n data[\"isAssigned\"] = this.isAssigned;\r\n data[\"rubricVersionId\"] = this.rubricVersionId;\r\n data[\"virtualEducator\"] = this.virtualEducator;\r\n data[\"summativeYear\"] = this.summativeYear;\r\n data[\"priorSummativeYear\"] = this.priorSummativeYear;\r\n data[\"learnerStatus\"] = this.learnerStatus;\r\n data[\"scienceOfReadingStatus\"] = this.scienceOfReadingStatus;\r\n data[\"isHidden\"] = this.isHidden;\r\n data[\"activeDirectoryUserId\"] = this.activeDirectoryUserId;\r\n data[\"lastEncounteredDate\"] = this.lastEncounteredDate ? this.lastEncounteredDate.toISOString() : undefined;\r\n if (Array.isArray(this.assignedObserverItems)) {\r\n data[\"assignedObserverItems\"] = [];\r\n for (let item of this.assignedObserverItems)\r\n data[\"assignedObserverItems\"].push(item.toJSON());\r\n }\r\n if (Array.isArray(this.roleSelectionMetadataItems)) {\r\n data[\"roleSelectionMetadataItems\"] = [];\r\n for (let item of this.roleSelectionMetadataItems)\r\n data[\"roleSelectionMetadataItems\"].push(item.toJSON());\r\n }\r\n return data; \r\n }\r\n\r\n clone(): DefaultObserverLearnerAssignmentDto {\r\n const json = this.toJSON();\r\n let result = new DefaultObserverLearnerAssignmentDto();\r\n result.init(json);\r\n return result;\r\n }\r\n}\r\n\r\nexport interface IDefaultObserverLearnerAssignmentDto {\r\n learnerSummativeDataId: number;\r\n districtLEA: string | undefined;\r\n defaultObserverStateId: string | undefined;\r\n defaultObserverName: string | undefined;\r\n defaultObserverUserId: string | undefined;\r\n learnerStateId: string | undefined;\r\n learnerName: string | undefined;\r\n learnerUserId: string | undefined;\r\n learnerRole: string | undefined;\r\n learnerRoleType: StaffRoleTypeEnum | undefined;\r\n learnerBuildingLEA: string | undefined;\r\n isAssigned: boolean;\r\n rubricVersionId: number | undefined;\r\n virtualEducator: boolean;\r\n summativeYear: boolean;\r\n priorSummativeYear: number | undefined;\r\n learnerStatus: LearnerStatusEnum;\r\n scienceOfReadingStatus: ScienceOfReadingStatusEnum;\r\n isHidden: boolean;\r\n activeDirectoryUserId: string | undefined;\r\n lastEncounteredDate: Date | undefined;\r\n assignedObserverItems: AssignedObserver[] | undefined;\r\n roleSelectionMetadataItems: RoleSelectionMetadata[] | undefined;\r\n}\r\n\r\nexport class AssignedObserver implements IAssignedObserver {\r\n id!: number;\r\n observerId!: string;\r\n name!: string | undefined;\r\n\r\n constructor(data?: IAssignedObserver) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n\r\n init(_data?: any, _mappings?: any) {\r\n if (_data) {\r\n this.id = _data[\"id\"];\r\n this.observerId = _data[\"observerId\"];\r\n this.name = _data[\"name\"];\r\n }\r\n }\r\n\r\n static fromJS(data: any, _mappings?: any): AssignedObserver | null {\r\n data = typeof data === 'object' ? data : {};\r\n return createInstance(data, _mappings, AssignedObserver);\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"id\"] = this.id;\r\n data[\"observerId\"] = this.observerId;\r\n data[\"name\"] = this.name;\r\n return data; \r\n }\r\n\r\n clone(): AssignedObserver {\r\n const json = this.toJSON();\r\n let result = new AssignedObserver();\r\n result.init(json);\r\n return result;\r\n }\r\n}\r\n\r\nexport interface IAssignedObserver {\r\n id: number;\r\n observerId: string;\r\n name: string | undefined;\r\n}\r\n\r\nexport class ObserverLearnerAssignementResult implements IObserverLearnerAssignementResult {\r\n id!: number;\r\n learnerSummativeDataId!: number;\r\n observerUserId!: string;\r\n observerName!: string | undefined;\r\n\r\n constructor(data?: IObserverLearnerAssignementResult) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n\r\n init(_data?: any, _mappings?: any) {\r\n if (_data) {\r\n this.id = _data[\"id\"];\r\n this.learnerSummativeDataId = _data[\"learnerSummativeDataId\"];\r\n this.observerUserId = _data[\"observerUserId\"];\r\n this.observerName = _data[\"observerName\"];\r\n }\r\n }\r\n\r\n static fromJS(data: any, _mappings?: any): ObserverLearnerAssignementResult | null {\r\n data = typeof data === 'object' ? data : {};\r\n return createInstance(data, _mappings, ObserverLearnerAssignementResult);\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"id\"] = this.id;\r\n data[\"learnerSummativeDataId\"] = this.learnerSummativeDataId;\r\n data[\"observerUserId\"] = this.observerUserId;\r\n data[\"observerName\"] = this.observerName;\r\n return data; \r\n }\r\n\r\n clone(): ObserverLearnerAssignementResult {\r\n const json = this.toJSON();\r\n let result = new ObserverLearnerAssignementResult();\r\n result.init(json);\r\n return result;\r\n }\r\n}\r\n\r\nexport interface IObserverLearnerAssignementResult {\r\n id: number;\r\n learnerSummativeDataId: number;\r\n observerUserId: string;\r\n observerName: string | undefined;\r\n}\r\n\r\nexport class CreateObserverLearnerAssignmentsCommand implements ICreateObserverLearnerAssignmentsCommand {\r\n observerUserIds!: string[] | undefined;\r\n learnerRolesToAssign!: AssignableLearnerRole[] | undefined;\r\n\r\n constructor(data?: ICreateObserverLearnerAssignmentsCommand) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n\r\n init(_data?: any, _mappings?: any) {\r\n if (_data) {\r\n if (Array.isArray(_data[\"observerUserIds\"])) {\r\n this.observerUserIds = [] as any;\r\n for (let item of _data[\"observerUserIds\"])\r\n this.observerUserIds!.push(item);\r\n }\r\n if (Array.isArray(_data[\"learnerRolesToAssign\"])) {\r\n this.learnerRolesToAssign = [] as any;\r\n for (let item of _data[\"learnerRolesToAssign\"])\r\n this.learnerRolesToAssign!.push(AssignableLearnerRole.fromJS(item, _mappings) as AssignableLearnerRole);\r\n }\r\n }\r\n }\r\n\r\n static fromJS(data: any, _mappings?: any): CreateObserverLearnerAssignmentsCommand | null {\r\n data = typeof data === 'object' ? data : {};\r\n return createInstance(data, _mappings, CreateObserverLearnerAssignmentsCommand);\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n if (Array.isArray(this.observerUserIds)) {\r\n data[\"observerUserIds\"] = [];\r\n for (let item of this.observerUserIds)\r\n data[\"observerUserIds\"].push(item);\r\n }\r\n if (Array.isArray(this.learnerRolesToAssign)) {\r\n data[\"learnerRolesToAssign\"] = [];\r\n for (let item of this.learnerRolesToAssign)\r\n data[\"learnerRolesToAssign\"].push(item.toJSON());\r\n }\r\n return data; \r\n }\r\n\r\n clone(): CreateObserverLearnerAssignmentsCommand {\r\n const json = this.toJSON();\r\n let result = new CreateObserverLearnerAssignmentsCommand();\r\n result.init(json);\r\n return result;\r\n }\r\n}\r\n\r\nexport interface ICreateObserverLearnerAssignmentsCommand {\r\n observerUserIds: string[] | undefined;\r\n learnerRolesToAssign: AssignableLearnerRole[] | undefined;\r\n}\r\n\r\nexport class AssignableLearnerRole implements IAssignableLearnerRole {\r\n learnerSummativeDataId!: number;\r\n learnerUserId!: string;\r\n learnerRoleType!: StaffRoleTypeEnum;\r\n\r\n constructor(data?: IAssignableLearnerRole) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n\r\n init(_data?: any, _mappings?: any) {\r\n if (_data) {\r\n this.learnerSummativeDataId = _data[\"learnerSummativeDataId\"];\r\n this.learnerUserId = _data[\"learnerUserId\"];\r\n this.learnerRoleType = _data[\"learnerRoleType\"];\r\n }\r\n }\r\n\r\n static fromJS(data: any, _mappings?: any): AssignableLearnerRole | null {\r\n data = typeof data === 'object' ? data : {};\r\n return createInstance(data, _mappings, AssignableLearnerRole);\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"learnerSummativeDataId\"] = this.learnerSummativeDataId;\r\n data[\"learnerUserId\"] = this.learnerUserId;\r\n data[\"learnerRoleType\"] = this.learnerRoleType;\r\n return data; \r\n }\r\n\r\n clone(): AssignableLearnerRole {\r\n const json = this.toJSON();\r\n let result = new AssignableLearnerRole();\r\n result.init(json);\r\n return result;\r\n }\r\n}\r\n\r\nexport interface IAssignableLearnerRole {\r\n learnerSummativeDataId: number;\r\n learnerUserId: string;\r\n learnerRoleType: StaffRoleTypeEnum;\r\n}\r\n\r\nexport class SetLearnerStatusCommand implements ISetLearnerStatusCommand {\r\n id!: number;\r\n status!: LearnerStatusEnum;\r\n\r\n constructor(data?: ISetLearnerStatusCommand) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n\r\n init(_data?: any, _mappings?: any) {\r\n if (_data) {\r\n this.id = _data[\"id\"];\r\n this.status = _data[\"status\"];\r\n }\r\n }\r\n\r\n static fromJS(data: any, _mappings?: any): SetLearnerStatusCommand | null {\r\n data = typeof data === 'object' ? data : {};\r\n return createInstance(data, _mappings, SetLearnerStatusCommand);\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"id\"] = this.id;\r\n data[\"status\"] = this.status;\r\n return data; \r\n }\r\n\r\n clone(): SetLearnerStatusCommand {\r\n const json = this.toJSON();\r\n let result = new SetLearnerStatusCommand();\r\n result.init(json);\r\n return result;\r\n }\r\n}\r\n\r\nexport interface ISetLearnerStatusCommand {\r\n id: number;\r\n status: LearnerStatusEnum;\r\n}\r\n\r\nexport class SetLearnerScienceOfReadingCommand implements ISetLearnerScienceOfReadingCommand {\r\n id!: number;\r\n status!: ScienceOfReadingStatusEnum;\r\n\r\n constructor(data?: ISetLearnerScienceOfReadingCommand) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n\r\n init(_data?: any, _mappings?: any) {\r\n if (_data) {\r\n this.id = _data[\"id\"];\r\n this.status = _data[\"status\"];\r\n }\r\n }\r\n\r\n static fromJS(data: any, _mappings?: any): SetLearnerScienceOfReadingCommand | null {\r\n data = typeof data === 'object' ? data : {};\r\n return createInstance(data, _mappings, SetLearnerScienceOfReadingCommand);\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"id\"] = this.id;\r\n data[\"status\"] = this.status;\r\n return data; \r\n }\r\n\r\n clone(): SetLearnerScienceOfReadingCommand {\r\n const json = this.toJSON();\r\n let result = new SetLearnerScienceOfReadingCommand();\r\n result.init(json);\r\n return result;\r\n }\r\n}\r\n\r\nexport interface ISetLearnerScienceOfReadingCommand {\r\n id: number;\r\n status: ScienceOfReadingStatusEnum;\r\n}\r\n\r\nexport class ToggleLearnerHiddenCommand implements IToggleLearnerHiddenCommand {\r\n id!: number;\r\n isHidden!: boolean;\r\n\r\n constructor(data?: IToggleLearnerHiddenCommand) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n\r\n init(_data?: any, _mappings?: any) {\r\n if (_data) {\r\n this.id = _data[\"id\"];\r\n this.isHidden = _data[\"isHidden\"];\r\n }\r\n }\r\n\r\n static fromJS(data: any, _mappings?: any): ToggleLearnerHiddenCommand | null {\r\n data = typeof data === 'object' ? data : {};\r\n return createInstance(data, _mappings, ToggleLearnerHiddenCommand);\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"id\"] = this.id;\r\n data[\"isHidden\"] = this.isHidden;\r\n return data; \r\n }\r\n\r\n clone(): ToggleLearnerHiddenCommand {\r\n const json = this.toJSON();\r\n let result = new ToggleLearnerHiddenCommand();\r\n result.init(json);\r\n return result;\r\n }\r\n}\r\n\r\nexport interface IToggleLearnerHiddenCommand {\r\n id: number;\r\n isHidden: boolean;\r\n}\r\n\r\nexport class SetLearnerSummativeDataVirtualEducatorValueCommand implements ISetLearnerSummativeDataVirtualEducatorValueCommand {\r\n ids!: number[] | undefined;\r\n isVirtualEducator!: boolean;\r\n\r\n constructor(data?: ISetLearnerSummativeDataVirtualEducatorValueCommand) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n\r\n init(_data?: any, _mappings?: any) {\r\n if (_data) {\r\n if (Array.isArray(_data[\"ids\"])) {\r\n this.ids = [] as any;\r\n for (let item of _data[\"ids\"])\r\n this.ids!.push(item);\r\n }\r\n this.isVirtualEducator = _data[\"isVirtualEducator\"];\r\n }\r\n }\r\n\r\n static fromJS(data: any, _mappings?: any): SetLearnerSummativeDataVirtualEducatorValueCommand | null {\r\n data = typeof data === 'object' ? data : {};\r\n return createInstance(data, _mappings, SetLearnerSummativeDataVirtualEducatorValueCommand);\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n if (Array.isArray(this.ids)) {\r\n data[\"ids\"] = [];\r\n for (let item of this.ids)\r\n data[\"ids\"].push(item);\r\n }\r\n data[\"isVirtualEducator\"] = this.isVirtualEducator;\r\n return data; \r\n }\r\n\r\n clone(): SetLearnerSummativeDataVirtualEducatorValueCommand {\r\n const json = this.toJSON();\r\n let result = new SetLearnerSummativeDataVirtualEducatorValueCommand();\r\n result.init(json);\r\n return result;\r\n }\r\n}\r\n\r\nexport interface ISetLearnerSummativeDataVirtualEducatorValueCommand {\r\n ids: number[] | undefined;\r\n isVirtualEducator: boolean;\r\n}\r\n\r\nexport class ConfigureLearnerSummativeDataCommand implements IConfigureLearnerSummativeDataCommand {\r\n id!: number;\r\n learnerBuildingLEA!: string | undefined;\r\n learnerRoleType!: StaffRoleTypeEnum | undefined;\r\n rubricVersionId!: number | undefined;\r\n\r\n constructor(data?: IConfigureLearnerSummativeDataCommand) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n\r\n init(_data?: any, _mappings?: any) {\r\n if (_data) {\r\n this.id = _data[\"id\"];\r\n this.learnerBuildingLEA = _data[\"learnerBuildingLEA\"];\r\n this.learnerRoleType = _data[\"learnerRoleType\"];\r\n this.rubricVersionId = _data[\"rubricVersionId\"];\r\n }\r\n }\r\n\r\n static fromJS(data: any, _mappings?: any): ConfigureLearnerSummativeDataCommand | null {\r\n data = typeof data === 'object' ? data : {};\r\n return createInstance(data, _mappings, ConfigureLearnerSummativeDataCommand);\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"id\"] = this.id;\r\n data[\"learnerBuildingLEA\"] = this.learnerBuildingLEA;\r\n data[\"learnerRoleType\"] = this.learnerRoleType;\r\n data[\"rubricVersionId\"] = this.rubricVersionId;\r\n return data; \r\n }\r\n\r\n clone(): ConfigureLearnerSummativeDataCommand {\r\n const json = this.toJSON();\r\n let result = new ConfigureLearnerSummativeDataCommand();\r\n result.init(json);\r\n return result;\r\n }\r\n}\r\n\r\nexport interface IConfigureLearnerSummativeDataCommand {\r\n id: number;\r\n learnerBuildingLEA: string | undefined;\r\n learnerRoleType: StaffRoleTypeEnum | undefined;\r\n rubricVersionId: number | undefined;\r\n}\r\n\r\nexport class LearnerSummaryVm implements ILearnerSummaryVm {\r\n learnerSummativeDataId!: number;\r\n districtLEA!: string | undefined;\r\n learnerId!: string;\r\n fullName!: string | undefined;\r\n learnerRoleType!: StaffRoleTypeEnum;\r\n learnerRole!: string | undefined;\r\n firstName!: string | undefined;\r\n lastName!: string | undefined;\r\n nextMeetingActivityId!: string | undefined;\r\n nextMeetingId!: number | undefined;\r\n nextMeetingType!: string | undefined;\r\n nextMeetingDate!: Date | undefined;\r\n lastMeetingActivityId!: string | undefined;\r\n lastMeetingId!: number | undefined;\r\n lastMeetingType!: string | undefined;\r\n lastMeetingDate!: Date | undefined;\r\n isSummativeYear!: boolean;\r\n hasRubric!: boolean;\r\n relationship!: string | undefined;\r\n\r\n constructor(data?: ILearnerSummaryVm) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n\r\n init(_data?: any, _mappings?: any) {\r\n if (_data) {\r\n this.learnerSummativeDataId = _data[\"learnerSummativeDataId\"];\r\n this.districtLEA = _data[\"districtLEA\"];\r\n this.learnerId = _data[\"learnerId\"];\r\n this.fullName = _data[\"fullName\"];\r\n this.learnerRoleType = _data[\"learnerRoleType\"];\r\n this.learnerRole = _data[\"learnerRole\"];\r\n this.firstName = _data[\"firstName\"];\r\n this.lastName = _data[\"lastName\"];\r\n this.nextMeetingActivityId = _data[\"nextMeetingActivityId\"];\r\n this.nextMeetingId = _data[\"nextMeetingId\"];\r\n this.nextMeetingType = _data[\"nextMeetingType\"];\r\n this.nextMeetingDate = _data[\"nextMeetingDate\"] ? new Date(_data[\"nextMeetingDate\"].toString()) : undefined;\r\n this.lastMeetingActivityId = _data[\"lastMeetingActivityId\"];\r\n this.lastMeetingId = _data[\"lastMeetingId\"];\r\n this.lastMeetingType = _data[\"lastMeetingType\"];\r\n this.lastMeetingDate = _data[\"lastMeetingDate\"] ? new Date(_data[\"lastMeetingDate\"].toString()) : undefined;\r\n this.isSummativeYear = _data[\"isSummativeYear\"];\r\n this.hasRubric = _data[\"hasRubric\"];\r\n this.relationship = _data[\"relationship\"];\r\n }\r\n }\r\n\r\n static fromJS(data: any, _mappings?: any): LearnerSummaryVm | null {\r\n data = typeof data === 'object' ? data : {};\r\n return createInstance(data, _mappings, LearnerSummaryVm);\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"learnerSummativeDataId\"] = this.learnerSummativeDataId;\r\n data[\"districtLEA\"] = this.districtLEA;\r\n data[\"learnerId\"] = this.learnerId;\r\n data[\"fullName\"] = this.fullName;\r\n data[\"learnerRoleType\"] = this.learnerRoleType;\r\n data[\"learnerRole\"] = this.learnerRole;\r\n data[\"firstName\"] = this.firstName;\r\n data[\"lastName\"] = this.lastName;\r\n data[\"nextMeetingActivityId\"] = this.nextMeetingActivityId;\r\n data[\"nextMeetingId\"] = this.nextMeetingId;\r\n data[\"nextMeetingType\"] = this.nextMeetingType;\r\n data[\"nextMeetingDate\"] = this.nextMeetingDate ? this.nextMeetingDate.toISOString() : undefined;\r\n data[\"lastMeetingActivityId\"] = this.lastMeetingActivityId;\r\n data[\"lastMeetingId\"] = this.lastMeetingId;\r\n data[\"lastMeetingType\"] = this.lastMeetingType;\r\n data[\"lastMeetingDate\"] = this.lastMeetingDate ? this.lastMeetingDate.toISOString() : undefined;\r\n data[\"isSummativeYear\"] = this.isSummativeYear;\r\n data[\"hasRubric\"] = this.hasRubric;\r\n data[\"relationship\"] = this.relationship;\r\n return data; \r\n }\r\n\r\n clone(): LearnerSummaryVm {\r\n const json = this.toJSON();\r\n let result = new LearnerSummaryVm();\r\n result.init(json);\r\n return result;\r\n }\r\n}\r\n\r\nexport interface ILearnerSummaryVm {\r\n learnerSummativeDataId: number;\r\n districtLEA: string | undefined;\r\n learnerId: string;\r\n fullName: string | undefined;\r\n learnerRoleType: StaffRoleTypeEnum;\r\n learnerRole: string | undefined;\r\n firstName: string | undefined;\r\n lastName: string | undefined;\r\n nextMeetingActivityId: string | undefined;\r\n nextMeetingId: number | undefined;\r\n nextMeetingType: string | undefined;\r\n nextMeetingDate: Date | undefined;\r\n lastMeetingActivityId: string | undefined;\r\n lastMeetingId: number | undefined;\r\n lastMeetingType: string | undefined;\r\n lastMeetingDate: Date | undefined;\r\n isSummativeYear: boolean;\r\n hasRubric: boolean;\r\n relationship: string | undefined;\r\n}\r\n\r\nexport class ObserverLearnerScheduledActivityDTO implements IObserverLearnerScheduledActivityDTO {\r\n firstName!: string | undefined;\r\n lastName!: string | undefined;\r\n learnerId!: string;\r\n learnerRoleType!: StaffRoleTypeEnum;\r\n learnerRole!: string | undefined;\r\n activityId!: string;\r\n meetingType!: string | undefined;\r\n activityName!: string | undefined;\r\n meetingDate!: Date | undefined;\r\n\r\n constructor(data?: IObserverLearnerScheduledActivityDTO) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n\r\n init(_data?: any, _mappings?: any) {\r\n if (_data) {\r\n this.firstName = _data[\"firstName\"];\r\n this.lastName = _data[\"lastName\"];\r\n this.learnerId = _data[\"learnerId\"];\r\n this.learnerRoleType = _data[\"learnerRoleType\"];\r\n this.learnerRole = _data[\"learnerRole\"];\r\n this.activityId = _data[\"activityId\"];\r\n this.meetingType = _data[\"meetingType\"];\r\n this.activityName = _data[\"activityName\"];\r\n this.meetingDate = _data[\"meetingDate\"] ? new Date(_data[\"meetingDate\"].toString()) : undefined;\r\n }\r\n }\r\n\r\n static fromJS(data: any, _mappings?: any): ObserverLearnerScheduledActivityDTO | null {\r\n data = typeof data === 'object' ? data : {};\r\n return createInstance(data, _mappings, ObserverLearnerScheduledActivityDTO);\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"firstName\"] = this.firstName;\r\n data[\"lastName\"] = this.lastName;\r\n data[\"learnerId\"] = this.learnerId;\r\n data[\"learnerRoleType\"] = this.learnerRoleType;\r\n data[\"learnerRole\"] = this.learnerRole;\r\n data[\"activityId\"] = this.activityId;\r\n data[\"meetingType\"] = this.meetingType;\r\n data[\"activityName\"] = this.activityName;\r\n data[\"meetingDate\"] = this.meetingDate ? this.meetingDate.toISOString() : undefined;\r\n return data; \r\n }\r\n\r\n clone(): ObserverLearnerScheduledActivityDTO {\r\n const json = this.toJSON();\r\n let result = new ObserverLearnerScheduledActivityDTO();\r\n result.init(json);\r\n return result;\r\n }\r\n}\r\n\r\nexport interface IObserverLearnerScheduledActivityDTO {\r\n firstName: string | undefined;\r\n lastName: string | undefined;\r\n learnerId: string;\r\n learnerRoleType: StaffRoleTypeEnum;\r\n learnerRole: string | undefined;\r\n activityId: string;\r\n meetingType: string | undefined;\r\n activityName: string | undefined;\r\n meetingDate: Date | undefined;\r\n}\r\n\r\nexport class ObserverLoadDto implements IObserverLoadDto {\r\n districtLEA!: string | undefined;\r\n schoolLEA!: string | undefined;\r\n uniqueEmployeeId!: string | undefined;\r\n firstName!: string | undefined;\r\n lastName!: string | undefined;\r\n fullName!: string | undefined;\r\n learnerCount!: number;\r\n\r\n constructor(data?: IObserverLoadDto) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n\r\n init(_data?: any, _mappings?: any) {\r\n if (_data) {\r\n this.districtLEA = _data[\"districtLEA\"];\r\n this.schoolLEA = _data[\"schoolLEA\"];\r\n this.uniqueEmployeeId = _data[\"uniqueEmployeeId\"];\r\n this.firstName = _data[\"firstName\"];\r\n this.lastName = _data[\"lastName\"];\r\n this.fullName = _data[\"fullName\"];\r\n this.learnerCount = _data[\"learnerCount\"];\r\n }\r\n }\r\n\r\n static fromJS(data: any, _mappings?: any): ObserverLoadDto | null {\r\n data = typeof data === 'object' ? data : {};\r\n return createInstance(data, _mappings, ObserverLoadDto);\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"districtLEA\"] = this.districtLEA;\r\n data[\"schoolLEA\"] = this.schoolLEA;\r\n data[\"uniqueEmployeeId\"] = this.uniqueEmployeeId;\r\n data[\"firstName\"] = this.firstName;\r\n data[\"lastName\"] = this.lastName;\r\n data[\"fullName\"] = this.fullName;\r\n data[\"learnerCount\"] = this.learnerCount;\r\n return data; \r\n }\r\n\r\n clone(): ObserverLoadDto {\r\n const json = this.toJSON();\r\n let result = new ObserverLoadDto();\r\n result.init(json);\r\n return result;\r\n }\r\n}\r\n\r\nexport interface IObserverLoadDto {\r\n districtLEA: string | undefined;\r\n schoolLEA: string | undefined;\r\n uniqueEmployeeId: string | undefined;\r\n firstName: string | undefined;\r\n lastName: string | undefined;\r\n fullName: string | undefined;\r\n learnerCount: number;\r\n}\r\n\r\nexport class SummativeLearnerOutcomeDTO implements ISummativeLearnerOutcomeDTO {\r\n districtLea!: string | undefined;\r\n coopLea!: string | undefined;\r\n schoolLea!: string | undefined;\r\n districtName!: string | undefined;\r\n coopName!: string | undefined;\r\n schoolName!: string | undefined;\r\n highlyEffective!: number;\r\n effective!: number;\r\n progressive!: number;\r\n ineffective!: number;\r\n notRated!: number;\r\n total!: number;\r\n a!: number;\r\n b!: number;\r\n c!: number;\r\n d!: number;\r\n f!: number;\r\n\r\n constructor(data?: ISummativeLearnerOutcomeDTO) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n\r\n init(_data?: any, _mappings?: any) {\r\n if (_data) {\r\n this.districtLea = _data[\"districtLea\"];\r\n this.coopLea = _data[\"coopLea\"];\r\n this.schoolLea = _data[\"schoolLea\"];\r\n this.districtName = _data[\"districtName\"];\r\n this.coopName = _data[\"coopName\"];\r\n this.schoolName = _data[\"schoolName\"];\r\n this.highlyEffective = _data[\"highlyEffective\"];\r\n this.effective = _data[\"effective\"];\r\n this.progressive = _data[\"progressive\"];\r\n this.ineffective = _data[\"ineffective\"];\r\n this.notRated = _data[\"notRated\"];\r\n this.total = _data[\"total\"];\r\n this.a = _data[\"a\"];\r\n this.b = _data[\"b\"];\r\n this.c = _data[\"c\"];\r\n this.d = _data[\"d\"];\r\n this.f = _data[\"f\"];\r\n }\r\n }\r\n\r\n static fromJS(data: any, _mappings?: any): SummativeLearnerOutcomeDTO | null {\r\n data = typeof data === 'object' ? data : {};\r\n return createInstance(data, _mappings, SummativeLearnerOutcomeDTO);\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"districtLea\"] = this.districtLea;\r\n data[\"coopLea\"] = this.coopLea;\r\n data[\"schoolLea\"] = this.schoolLea;\r\n data[\"districtName\"] = this.districtName;\r\n data[\"coopName\"] = this.coopName;\r\n data[\"schoolName\"] = this.schoolName;\r\n data[\"highlyEffective\"] = this.highlyEffective;\r\n data[\"effective\"] = this.effective;\r\n data[\"progressive\"] = this.progressive;\r\n data[\"ineffective\"] = this.ineffective;\r\n data[\"notRated\"] = this.notRated;\r\n data[\"total\"] = this.total;\r\n data[\"a\"] = this.a;\r\n data[\"b\"] = this.b;\r\n data[\"c\"] = this.c;\r\n data[\"d\"] = this.d;\r\n data[\"f\"] = this.f;\r\n return data; \r\n }\r\n\r\n clone(): SummativeLearnerOutcomeDTO {\r\n const json = this.toJSON();\r\n let result = new SummativeLearnerOutcomeDTO();\r\n result.init(json);\r\n return result;\r\n }\r\n}\r\n\r\nexport interface ISummativeLearnerOutcomeDTO {\r\n districtLea: string | undefined;\r\n coopLea: string | undefined;\r\n schoolLea: string | undefined;\r\n districtName: string | undefined;\r\n coopName: string | undefined;\r\n schoolName: string | undefined;\r\n highlyEffective: number;\r\n effective: number;\r\n progressive: number;\r\n ineffective: number;\r\n notRated: number;\r\n total: number;\r\n a: number;\r\n b: number;\r\n c: number;\r\n d: number;\r\n f: number;\r\n}\r\n\r\nexport class RatingsBreakdownDto implements IRatingsBreakdownDto {\r\n roleRatings!: { [key in keyof typeof StaffRoleTypeEnum]?: number; } | undefined;\r\n\r\n constructor(data?: IRatingsBreakdownDto) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n\r\n init(_data?: any, _mappings?: any) {\r\n if (_data) {\r\n if (_data[\"roleRatings\"]) {\r\n this.roleRatings = {} as any;\r\n for (let key in _data[\"roleRatings\"]) {\r\n if (_data[\"roleRatings\"].hasOwnProperty(key))\r\n (this.roleRatings)![key] = _data[\"roleRatings\"][key];\r\n }\r\n }\r\n }\r\n }\r\n\r\n static fromJS(data: any, _mappings?: any): RatingsBreakdownDto | null {\r\n data = typeof data === 'object' ? data : {};\r\n return createInstance(data, _mappings, RatingsBreakdownDto);\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n if (this.roleRatings) {\r\n data[\"roleRatings\"] = {};\r\n for (let key in this.roleRatings) {\r\n if (this.roleRatings.hasOwnProperty(key))\r\n (data[\"roleRatings\"])[key] = this.roleRatings[key];\r\n }\r\n }\r\n return data; \r\n }\r\n\r\n clone(): RatingsBreakdownDto {\r\n const json = this.toJSON();\r\n let result = new RatingsBreakdownDto();\r\n result.init(json);\r\n return result;\r\n }\r\n}\r\n\r\nexport interface IRatingsBreakdownDto {\r\n roleRatings: { [key in keyof typeof StaffRoleTypeEnum]?: number; } | undefined;\r\n}\r\n\r\nexport class EducatorRatingDto implements IEducatorRatingDto {\r\n learnerId!: string;\r\n aelsCaseId!: string | undefined;\r\n title!: string | undefined;\r\n firstName!: string | undefined;\r\n lastName!: string | undefined;\r\n districtLEA!: string | undefined;\r\n schoolLEA!: string | undefined;\r\n learnerStatus!: string | undefined;\r\n role!: string | undefined;\r\n rubricName!: string | undefined;\r\n ratingSummary!: number | undefined;\r\n effectivenessRating!: string | undefined;\r\n ratingYear!: number | undefined;\r\n year!: number | undefined;\r\n numberOfComponents!: number | undefined;\r\n concatenatedKeys!: string | undefined;\r\n observationsCompleted!: number | undefined;\r\n artifactsCompleted!: number | undefined;\r\n growthArtifactsCompleted!: number | undefined;\r\n created!: Date | undefined;\r\n lastModified!: Date | undefined;\r\n\r\n constructor(data?: IEducatorRatingDto) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n\r\n init(_data?: any, _mappings?: any) {\r\n if (_data) {\r\n this.learnerId = _data[\"learnerId\"];\r\n this.aelsCaseId = _data[\"aelsCaseId\"];\r\n this.title = _data[\"title\"];\r\n this.firstName = _data[\"firstName\"];\r\n this.lastName = _data[\"lastName\"];\r\n this.districtLEA = _data[\"districtLEA\"];\r\n this.schoolLEA = _data[\"schoolLEA\"];\r\n this.learnerStatus = _data[\"learnerStatus\"];\r\n this.role = _data[\"role\"];\r\n this.rubricName = _data[\"rubricName\"];\r\n this.ratingSummary = _data[\"ratingSummary\"];\r\n this.effectivenessRating = _data[\"effectivenessRating\"];\r\n this.ratingYear = _data[\"ratingYear\"];\r\n this.year = _data[\"year\"];\r\n this.numberOfComponents = _data[\"numberOfComponents\"];\r\n this.concatenatedKeys = _data[\"concatenatedKeys\"];\r\n this.observationsCompleted = _data[\"observationsCompleted\"];\r\n this.artifactsCompleted = _data[\"artifactsCompleted\"];\r\n this.growthArtifactsCompleted = _data[\"growthArtifactsCompleted\"];\r\n this.created = _data[\"created\"] ? new Date(_data[\"created\"].toString()) : undefined;\r\n this.lastModified = _data[\"lastModified\"] ? new Date(_data[\"lastModified\"].toString()) : undefined;\r\n }\r\n }\r\n\r\n static fromJS(data: any, _mappings?: any): EducatorRatingDto | null {\r\n data = typeof data === 'object' ? data : {};\r\n return createInstance(data, _mappings, EducatorRatingDto);\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"learnerId\"] = this.learnerId;\r\n data[\"aelsCaseId\"] = this.aelsCaseId;\r\n data[\"title\"] = this.title;\r\n data[\"firstName\"] = this.firstName;\r\n data[\"lastName\"] = this.lastName;\r\n data[\"districtLEA\"] = this.districtLEA;\r\n data[\"schoolLEA\"] = this.schoolLEA;\r\n data[\"learnerStatus\"] = this.learnerStatus;\r\n data[\"role\"] = this.role;\r\n data[\"rubricName\"] = this.rubricName;\r\n data[\"ratingSummary\"] = this.ratingSummary;\r\n data[\"effectivenessRating\"] = this.effectivenessRating;\r\n data[\"ratingYear\"] = this.ratingYear;\r\n data[\"year\"] = this.year;\r\n data[\"numberOfComponents\"] = this.numberOfComponents;\r\n data[\"concatenatedKeys\"] = this.concatenatedKeys;\r\n data[\"observationsCompleted\"] = this.observationsCompleted;\r\n data[\"artifactsCompleted\"] = this.artifactsCompleted;\r\n data[\"growthArtifactsCompleted\"] = this.growthArtifactsCompleted;\r\n data[\"created\"] = this.created ? this.created.toISOString() : undefined;\r\n data[\"lastModified\"] = this.lastModified ? this.lastModified.toISOString() : undefined;\r\n return data; \r\n }\r\n\r\n clone(): EducatorRatingDto {\r\n const json = this.toJSON();\r\n let result = new EducatorRatingDto();\r\n result.init(json);\r\n return result;\r\n }\r\n}\r\n\r\nexport interface IEducatorRatingDto {\r\n learnerId: string;\r\n aelsCaseId: string | undefined;\r\n title: string | undefined;\r\n firstName: string | undefined;\r\n lastName: string | undefined;\r\n districtLEA: string | undefined;\r\n schoolLEA: string | undefined;\r\n learnerStatus: string | undefined;\r\n role: string | undefined;\r\n rubricName: string | undefined;\r\n ratingSummary: number | undefined;\r\n effectivenessRating: string | undefined;\r\n ratingYear: number | undefined;\r\n year: number | undefined;\r\n numberOfComponents: number | undefined;\r\n concatenatedKeys: string | undefined;\r\n observationsCompleted: number | undefined;\r\n artifactsCompleted: number | undefined;\r\n growthArtifactsCompleted: number | undefined;\r\n created: Date | undefined;\r\n lastModified: Date | undefined;\r\n}\r\n\r\nexport class DomainComponentRatingsDto implements IDomainComponentRatingsDto {\r\n educatorRatingDomainComponents!: EducatorRatingDomainComponentDto[] | undefined;\r\n leaRatingDomainComponents!: LeaRatingDomainComponentDto[] | undefined;\r\n\r\n constructor(data?: IDomainComponentRatingsDto) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n\r\n init(_data?: any, _mappings?: any) {\r\n if (_data) {\r\n if (Array.isArray(_data[\"educatorRatingDomainComponents\"])) {\r\n this.educatorRatingDomainComponents = [] as any;\r\n for (let item of _data[\"educatorRatingDomainComponents\"])\r\n this.educatorRatingDomainComponents!.push(EducatorRatingDomainComponentDto.fromJS(item, _mappings) as EducatorRatingDomainComponentDto);\r\n }\r\n if (Array.isArray(_data[\"leaRatingDomainComponents\"])) {\r\n this.leaRatingDomainComponents = [] as any;\r\n for (let item of _data[\"leaRatingDomainComponents\"])\r\n this.leaRatingDomainComponents!.push(LeaRatingDomainComponentDto.fromJS(item, _mappings) as LeaRatingDomainComponentDto);\r\n }\r\n }\r\n }\r\n\r\n static fromJS(data: any, _mappings?: any): DomainComponentRatingsDto | null {\r\n data = typeof data === 'object' ? data : {};\r\n return createInstance(data, _mappings, DomainComponentRatingsDto);\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n if (Array.isArray(this.educatorRatingDomainComponents)) {\r\n data[\"educatorRatingDomainComponents\"] = [];\r\n for (let item of this.educatorRatingDomainComponents)\r\n data[\"educatorRatingDomainComponents\"].push(item.toJSON());\r\n }\r\n if (Array.isArray(this.leaRatingDomainComponents)) {\r\n data[\"leaRatingDomainComponents\"] = [];\r\n for (let item of this.leaRatingDomainComponents)\r\n data[\"leaRatingDomainComponents\"].push(item.toJSON());\r\n }\r\n return data; \r\n }\r\n\r\n clone(): DomainComponentRatingsDto {\r\n const json = this.toJSON();\r\n let result = new DomainComponentRatingsDto();\r\n result.init(json);\r\n return result;\r\n }\r\n}\r\n\r\nexport interface IDomainComponentRatingsDto {\r\n educatorRatingDomainComponents: EducatorRatingDomainComponentDto[] | undefined;\r\n leaRatingDomainComponents: LeaRatingDomainComponentDto[] | undefined;\r\n}\r\n\r\nexport class EducatorRatingDomainComponentDto implements IEducatorRatingDomainComponentDto {\r\n aelsCaseId!: string | undefined;\r\n firstName!: string | undefined;\r\n lastName!: string | undefined;\r\n districtLEA!: string | undefined;\r\n schoolLEA!: string | undefined;\r\n role!: string | undefined;\r\n rubricName!: string | undefined;\r\n domain!: string | undefined;\r\n key!: string | undefined;\r\n component!: string | undefined;\r\n level!: number;\r\n averageDomainLevel!: number;\r\n\r\n constructor(data?: IEducatorRatingDomainComponentDto) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n\r\n init(_data?: any, _mappings?: any) {\r\n if (_data) {\r\n this.aelsCaseId = _data[\"aelsCaseId\"];\r\n this.firstName = _data[\"firstName\"];\r\n this.lastName = _data[\"lastName\"];\r\n this.districtLEA = _data[\"districtLEA\"];\r\n this.schoolLEA = _data[\"schoolLEA\"];\r\n this.role = _data[\"role\"];\r\n this.rubricName = _data[\"rubricName\"];\r\n this.domain = _data[\"domain\"];\r\n this.key = _data[\"key\"];\r\n this.component = _data[\"component\"];\r\n this.level = _data[\"level\"];\r\n this.averageDomainLevel = _data[\"averageDomainLevel\"];\r\n }\r\n }\r\n\r\n static fromJS(data: any, _mappings?: any): EducatorRatingDomainComponentDto | null {\r\n data = typeof data === 'object' ? data : {};\r\n return createInstance(data, _mappings, EducatorRatingDomainComponentDto);\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"aelsCaseId\"] = this.aelsCaseId;\r\n data[\"firstName\"] = this.firstName;\r\n data[\"lastName\"] = this.lastName;\r\n data[\"districtLEA\"] = this.districtLEA;\r\n data[\"schoolLEA\"] = this.schoolLEA;\r\n data[\"role\"] = this.role;\r\n data[\"rubricName\"] = this.rubricName;\r\n data[\"domain\"] = this.domain;\r\n data[\"key\"] = this.key;\r\n data[\"component\"] = this.component;\r\n data[\"level\"] = this.level;\r\n data[\"averageDomainLevel\"] = this.averageDomainLevel;\r\n return data; \r\n }\r\n\r\n clone(): EducatorRatingDomainComponentDto {\r\n const json = this.toJSON();\r\n let result = new EducatorRatingDomainComponentDto();\r\n result.init(json);\r\n return result;\r\n }\r\n}\r\n\r\nexport interface IEducatorRatingDomainComponentDto {\r\n aelsCaseId: string | undefined;\r\n firstName: string | undefined;\r\n lastName: string | undefined;\r\n districtLEA: string | undefined;\r\n schoolLEA: string | undefined;\r\n role: string | undefined;\r\n rubricName: string | undefined;\r\n domain: string | undefined;\r\n key: string | undefined;\r\n component: string | undefined;\r\n level: number;\r\n averageDomainLevel: number;\r\n}\r\n\r\nexport class LeaRatingDomainComponentDto implements ILeaRatingDomainComponentDto {\r\n districtLEA!: string | undefined;\r\n schoolLEA!: string | undefined;\r\n rubricName!: string | undefined;\r\n role!: string | undefined;\r\n domain!: string | undefined;\r\n level!: number;\r\n\r\n constructor(data?: ILeaRatingDomainComponentDto) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n\r\n init(_data?: any, _mappings?: any) {\r\n if (_data) {\r\n this.districtLEA = _data[\"districtLEA\"];\r\n this.schoolLEA = _data[\"schoolLEA\"];\r\n this.rubricName = _data[\"rubricName\"];\r\n this.role = _data[\"role\"];\r\n this.domain = _data[\"domain\"];\r\n this.level = _data[\"level\"];\r\n }\r\n }\r\n\r\n static fromJS(data: any, _mappings?: any): LeaRatingDomainComponentDto | null {\r\n data = typeof data === 'object' ? data : {};\r\n return createInstance(data, _mappings, LeaRatingDomainComponentDto);\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"districtLEA\"] = this.districtLEA;\r\n data[\"schoolLEA\"] = this.schoolLEA;\r\n data[\"rubricName\"] = this.rubricName;\r\n data[\"role\"] = this.role;\r\n data[\"domain\"] = this.domain;\r\n data[\"level\"] = this.level;\r\n return data; \r\n }\r\n\r\n clone(): LeaRatingDomainComponentDto {\r\n const json = this.toJSON();\r\n let result = new LeaRatingDomainComponentDto();\r\n result.init(json);\r\n return result;\r\n }\r\n}\r\n\r\nexport interface ILeaRatingDomainComponentDto {\r\n districtLEA: string | undefined;\r\n schoolLEA: string | undefined;\r\n rubricName: string | undefined;\r\n role: string | undefined;\r\n domain: string | undefined;\r\n level: number;\r\n}\r\n\r\nexport class DomainDto implements IDomainDto {\r\n domain!: string | undefined;\r\n\r\n constructor(data?: IDomainDto) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n\r\n init(_data?: any, _mappings?: any) {\r\n if (_data) {\r\n this.domain = _data[\"domain\"];\r\n }\r\n }\r\n\r\n static fromJS(data: any, _mappings?: any): DomainDto | null {\r\n data = typeof data === 'object' ? data : {};\r\n return createInstance(data, _mappings, DomainDto);\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"domain\"] = this.domain;\r\n return data; \r\n }\r\n\r\n clone(): DomainDto {\r\n const json = this.toJSON();\r\n let result = new DomainDto();\r\n result.init(json);\r\n return result;\r\n }\r\n}\r\n\r\nexport interface IDomainDto {\r\n domain: string | undefined;\r\n}\r\n\r\nexport class RubricDto implements IRubricDto {\r\n id!: number;\r\n name!: string | undefined;\r\n activeVersionId!: number | undefined;\r\n activeVersionNumber!: number | undefined;\r\n targetStaff!: StaffRoleTypeEnum[] | undefined;\r\n\r\n constructor(data?: IRubricDto) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n\r\n init(_data?: any, _mappings?: any) {\r\n if (_data) {\r\n this.id = _data[\"id\"];\r\n this.name = _data[\"name\"];\r\n this.activeVersionId = _data[\"activeVersionId\"];\r\n this.activeVersionNumber = _data[\"activeVersionNumber\"];\r\n if (Array.isArray(_data[\"targetStaff\"])) {\r\n this.targetStaff = [] as any;\r\n for (let item of _data[\"targetStaff\"])\r\n this.targetStaff!.push(item);\r\n }\r\n }\r\n }\r\n\r\n static fromJS(data: any, _mappings?: any): RubricDto | null {\r\n data = typeof data === 'object' ? data : {};\r\n return createInstance(data, _mappings, RubricDto);\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"id\"] = this.id;\r\n data[\"name\"] = this.name;\r\n data[\"activeVersionId\"] = this.activeVersionId;\r\n data[\"activeVersionNumber\"] = this.activeVersionNumber;\r\n if (Array.isArray(this.targetStaff)) {\r\n data[\"targetStaff\"] = [];\r\n for (let item of this.targetStaff)\r\n data[\"targetStaff\"].push(item);\r\n }\r\n return data; \r\n }\r\n\r\n clone(): RubricDto {\r\n const json = this.toJSON();\r\n let result = new RubricDto();\r\n result.init(json);\r\n return result;\r\n }\r\n}\r\n\r\nexport interface IRubricDto {\r\n id: number;\r\n name: string | undefined;\r\n activeVersionId: number | undefined;\r\n activeVersionNumber: number | undefined;\r\n targetStaff: StaffRoleTypeEnum[] | undefined;\r\n}\r\n\r\nexport class RubricVersionDto implements IRubricVersionDto {\r\n id!: number;\r\n rubricId!: number;\r\n version!: number;\r\n metadata!: RubricMetadata | undefined;\r\n created!: Date;\r\n lastModified!: Date | undefined;\r\n status!: RubricVersionStatus;\r\n\r\n constructor(data?: IRubricVersionDto) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n\r\n init(_data?: any, _mappings?: any) {\r\n if (_data) {\r\n this.id = _data[\"id\"];\r\n this.rubricId = _data[\"rubricId\"];\r\n this.version = _data[\"version\"];\r\n this.metadata = _data[\"metadata\"] ? RubricMetadata.fromJS(_data[\"metadata\"], _mappings) : undefined;\r\n this.created = _data[\"created\"] ? new Date(_data[\"created\"].toString()) : undefined;\r\n this.lastModified = _data[\"lastModified\"] ? new Date(_data[\"lastModified\"].toString()) : undefined;\r\n this.status = _data[\"status\"];\r\n }\r\n }\r\n\r\n static fromJS(data: any, _mappings?: any): RubricVersionDto | null {\r\n data = typeof data === 'object' ? data : {};\r\n return createInstance(data, _mappings, RubricVersionDto);\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"id\"] = this.id;\r\n data[\"rubricId\"] = this.rubricId;\r\n data[\"version\"] = this.version;\r\n data[\"metadata\"] = this.metadata ? this.metadata.toJSON() : undefined;\r\n data[\"created\"] = this.created ? this.created.toISOString() : undefined;\r\n data[\"lastModified\"] = this.lastModified ? this.lastModified.toISOString() : undefined;\r\n data[\"status\"] = this.status;\r\n return data; \r\n }\r\n\r\n clone(): RubricVersionDto {\r\n const json = this.toJSON();\r\n let result = new RubricVersionDto();\r\n result.init(json);\r\n return result;\r\n }\r\n}\r\n\r\nexport interface IRubricVersionDto {\r\n id: number;\r\n rubricId: number;\r\n version: number;\r\n metadata: RubricMetadata | undefined;\r\n created: Date;\r\n lastModified: Date | undefined;\r\n status: RubricVersionStatus;\r\n}\r\n\r\nexport class RubricMetadata implements IRubricMetadata {\r\n domains!: Domain[] | undefined;\r\n resources!: RubricResource[] | undefined;\r\n\r\n constructor(data?: IRubricMetadata) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n\r\n init(_data?: any, _mappings?: any) {\r\n if (_data) {\r\n if (Array.isArray(_data[\"domains\"])) {\r\n this.domains = [] as any;\r\n for (let item of _data[\"domains\"])\r\n this.domains!.push(Domain.fromJS(item, _mappings) as Domain);\r\n }\r\n if (Array.isArray(_data[\"resources\"])) {\r\n this.resources = [] as any;\r\n for (let item of _data[\"resources\"])\r\n this.resources!.push(RubricResource.fromJS(item, _mappings) as RubricResource);\r\n }\r\n }\r\n }\r\n\r\n static fromJS(data: any, _mappings?: any): RubricMetadata | null {\r\n data = typeof data === 'object' ? data : {};\r\n return createInstance(data, _mappings, RubricMetadata);\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n if (Array.isArray(this.domains)) {\r\n data[\"domains\"] = [];\r\n for (let item of this.domains)\r\n data[\"domains\"].push(item.toJSON());\r\n }\r\n if (Array.isArray(this.resources)) {\r\n data[\"resources\"] = [];\r\n for (let item of this.resources)\r\n data[\"resources\"].push(item.toJSON());\r\n }\r\n return data; \r\n }\r\n\r\n clone(): RubricMetadata {\r\n const json = this.toJSON();\r\n let result = new RubricMetadata();\r\n result.init(json);\r\n return result;\r\n }\r\n}\r\n\r\nexport interface IRubricMetadata {\r\n domains: Domain[] | undefined;\r\n resources: RubricResource[] | undefined;\r\n}\r\n\r\nexport class Domain implements IDomain {\r\n key!: string | undefined;\r\n name!: string | undefined;\r\n components!: Component[] | undefined;\r\n\r\n constructor(data?: IDomain) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n\r\n init(_data?: any, _mappings?: any) {\r\n if (_data) {\r\n this.key = _data[\"key\"];\r\n this.name = _data[\"name\"];\r\n if (Array.isArray(_data[\"components\"])) {\r\n this.components = [] as any;\r\n for (let item of _data[\"components\"])\r\n this.components!.push(Component.fromJS(item, _mappings) as Component);\r\n }\r\n }\r\n }\r\n\r\n static fromJS(data: any, _mappings?: any): Domain | null {\r\n data = typeof data === 'object' ? data : {};\r\n return createInstance(data, _mappings, Domain);\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"key\"] = this.key;\r\n data[\"name\"] = this.name;\r\n if (Array.isArray(this.components)) {\r\n data[\"components\"] = [];\r\n for (let item of this.components)\r\n data[\"components\"].push(item.toJSON());\r\n }\r\n return data; \r\n }\r\n\r\n clone(): Domain {\r\n const json = this.toJSON();\r\n let result = new Domain();\r\n result.init(json);\r\n return result;\r\n }\r\n}\r\n\r\nexport interface IDomain {\r\n key: string | undefined;\r\n name: string | undefined;\r\n components: Component[] | undefined;\r\n}\r\n\r\nexport class Component implements IComponent {\r\n key!: string | undefined;\r\n name!: string | undefined;\r\n performanceLevels!: PerformanceLevel[] | undefined;\r\n selfAssessmentElements!: SelfAssessmentElement[] | undefined;\r\n\r\n constructor(data?: IComponent) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n\r\n init(_data?: any, _mappings?: any) {\r\n if (_data) {\r\n this.key = _data[\"key\"];\r\n this.name = _data[\"name\"];\r\n if (Array.isArray(_data[\"performanceLevels\"])) {\r\n this.performanceLevels = [] as any;\r\n for (let item of _data[\"performanceLevels\"])\r\n this.performanceLevels!.push(PerformanceLevel.fromJS(item, _mappings) as PerformanceLevel);\r\n }\r\n if (Array.isArray(_data[\"selfAssessmentElements\"])) {\r\n this.selfAssessmentElements = [] as any;\r\n for (let item of _data[\"selfAssessmentElements\"])\r\n this.selfAssessmentElements!.push(SelfAssessmentElement.fromJS(item, _mappings) as SelfAssessmentElement);\r\n }\r\n }\r\n }\r\n\r\n static fromJS(data: any, _mappings?: any): Component | null {\r\n data = typeof data === 'object' ? data : {};\r\n return createInstance(data, _mappings, Component);\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"key\"] = this.key;\r\n data[\"name\"] = this.name;\r\n if (Array.isArray(this.performanceLevels)) {\r\n data[\"performanceLevels\"] = [];\r\n for (let item of this.performanceLevels)\r\n data[\"performanceLevels\"].push(item.toJSON());\r\n }\r\n if (Array.isArray(this.selfAssessmentElements)) {\r\n data[\"selfAssessmentElements\"] = [];\r\n for (let item of this.selfAssessmentElements)\r\n data[\"selfAssessmentElements\"].push(item.toJSON());\r\n }\r\n return data; \r\n }\r\n\r\n clone(): Component {\r\n const json = this.toJSON();\r\n let result = new Component();\r\n result.init(json);\r\n return result;\r\n }\r\n}\r\n\r\nexport interface IComponent {\r\n key: string | undefined;\r\n name: string | undefined;\r\n performanceLevels: PerformanceLevel[] | undefined;\r\n selfAssessmentElements: SelfAssessmentElement[] | undefined;\r\n}\r\n\r\nexport class PerformanceLevel implements IPerformanceLevel {\r\n level!: number;\r\n description!: string | undefined;\r\n inAddtionToPreviousLevel!: boolean;\r\n criticalAttributes!: CriticalAttribute[] | undefined;\r\n\r\n constructor(data?: IPerformanceLevel) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n\r\n init(_data?: any, _mappings?: any) {\r\n if (_data) {\r\n this.level = _data[\"level\"];\r\n this.description = _data[\"description\"];\r\n this.inAddtionToPreviousLevel = _data[\"inAddtionToPreviousLevel\"];\r\n if (Array.isArray(_data[\"criticalAttributes\"])) {\r\n this.criticalAttributes = [] as any;\r\n for (let item of _data[\"criticalAttributes\"])\r\n this.criticalAttributes!.push(CriticalAttribute.fromJS(item, _mappings) as CriticalAttribute);\r\n }\r\n }\r\n }\r\n\r\n static fromJS(data: any, _mappings?: any): PerformanceLevel | null {\r\n data = typeof data === 'object' ? data : {};\r\n return createInstance(data, _mappings, PerformanceLevel);\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"level\"] = this.level;\r\n data[\"description\"] = this.description;\r\n data[\"inAddtionToPreviousLevel\"] = this.inAddtionToPreviousLevel;\r\n if (Array.isArray(this.criticalAttributes)) {\r\n data[\"criticalAttributes\"] = [];\r\n for (let item of this.criticalAttributes)\r\n data[\"criticalAttributes\"].push(item.toJSON());\r\n }\r\n return data; \r\n }\r\n\r\n clone(): PerformanceLevel {\r\n const json = this.toJSON();\r\n let result = new PerformanceLevel();\r\n result.init(json);\r\n return result;\r\n }\r\n}\r\n\r\nexport interface IPerformanceLevel {\r\n level: number;\r\n description: string | undefined;\r\n inAddtionToPreviousLevel: boolean;\r\n criticalAttributes: CriticalAttribute[] | undefined;\r\n}\r\n\r\nexport class CriticalAttribute implements ICriticalAttribute {\r\n description!: string | undefined;\r\n criticalAttributes!: CriticalAttribute[] | undefined;\r\n\r\n constructor(data?: ICriticalAttribute) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n\r\n init(_data?: any, _mappings?: any) {\r\n if (_data) {\r\n this.description = _data[\"description\"];\r\n if (Array.isArray(_data[\"criticalAttributes\"])) {\r\n this.criticalAttributes = [] as any;\r\n for (let item of _data[\"criticalAttributes\"])\r\n this.criticalAttributes!.push(CriticalAttribute.fromJS(item, _mappings) as CriticalAttribute);\r\n }\r\n }\r\n }\r\n\r\n static fromJS(data: any, _mappings?: any): CriticalAttribute | null {\r\n data = typeof data === 'object' ? data : {};\r\n return createInstance(data, _mappings, CriticalAttribute);\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"description\"] = this.description;\r\n if (Array.isArray(this.criticalAttributes)) {\r\n data[\"criticalAttributes\"] = [];\r\n for (let item of this.criticalAttributes)\r\n data[\"criticalAttributes\"].push(item.toJSON());\r\n }\r\n return data; \r\n }\r\n\r\n clone(): CriticalAttribute {\r\n const json = this.toJSON();\r\n let result = new CriticalAttribute();\r\n result.init(json);\r\n return result;\r\n }\r\n}\r\n\r\nexport interface ICriticalAttribute {\r\n description: string | undefined;\r\n criticalAttributes: CriticalAttribute[] | undefined;\r\n}\r\n\r\nexport class SelfAssessmentElement implements ISelfAssessmentElement {\r\n key!: string | undefined;\r\n statement!: string | undefined;\r\n\r\n constructor(data?: ISelfAssessmentElement) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n\r\n init(_data?: any, _mappings?: any) {\r\n if (_data) {\r\n this.key = _data[\"key\"];\r\n this.statement = _data[\"statement\"];\r\n }\r\n }\r\n\r\n static fromJS(data: any, _mappings?: any): SelfAssessmentElement | null {\r\n data = typeof data === 'object' ? data : {};\r\n return createInstance(data, _mappings, SelfAssessmentElement);\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"key\"] = this.key;\r\n data[\"statement\"] = this.statement;\r\n return data; \r\n }\r\n\r\n clone(): SelfAssessmentElement {\r\n const json = this.toJSON();\r\n let result = new SelfAssessmentElement();\r\n result.init(json);\r\n return result;\r\n }\r\n}\r\n\r\nexport interface ISelfAssessmentElement {\r\n key: string | undefined;\r\n statement: string | undefined;\r\n}\r\n\r\nexport enum RubricVersionStatus {\r\n Draft = 0,\r\n Active = 1,\r\n Unlocked = 2,\r\n Archived = 255,\r\n}\r\n\r\nexport class CreateRubricCommand implements ICreateRubricCommand {\r\n staffRoleType!: StaffRoleTypeEnum;\r\n name!: string | undefined;\r\n\r\n constructor(data?: ICreateRubricCommand) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n\r\n init(_data?: any, _mappings?: any) {\r\n if (_data) {\r\n this.staffRoleType = _data[\"staffRoleType\"];\r\n this.name = _data[\"name\"];\r\n }\r\n }\r\n\r\n static fromJS(data: any, _mappings?: any): CreateRubricCommand | null {\r\n data = typeof data === 'object' ? data : {};\r\n return createInstance(data, _mappings, CreateRubricCommand);\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"staffRoleType\"] = this.staffRoleType;\r\n data[\"name\"] = this.name;\r\n return data; \r\n }\r\n\r\n clone(): CreateRubricCommand {\r\n const json = this.toJSON();\r\n let result = new CreateRubricCommand();\r\n result.init(json);\r\n return result;\r\n }\r\n}\r\n\r\nexport interface ICreateRubricCommand {\r\n staffRoleType: StaffRoleTypeEnum;\r\n name: string | undefined;\r\n}\r\n\r\nexport class CreateRubricVersionCommand implements ICreateRubricVersionCommand {\r\n rubricId!: number;\r\n metadata!: RubricMetadata | undefined;\r\n\r\n constructor(data?: ICreateRubricVersionCommand) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n\r\n init(_data?: any, _mappings?: any) {\r\n if (_data) {\r\n this.rubricId = _data[\"rubricId\"];\r\n this.metadata = _data[\"metadata\"] ? RubricMetadata.fromJS(_data[\"metadata\"], _mappings) : undefined;\r\n }\r\n }\r\n\r\n static fromJS(data: any, _mappings?: any): CreateRubricVersionCommand | null {\r\n data = typeof data === 'object' ? data : {};\r\n return createInstance(data, _mappings, CreateRubricVersionCommand);\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"rubricId\"] = this.rubricId;\r\n data[\"metadata\"] = this.metadata ? this.metadata.toJSON() : undefined;\r\n return data; \r\n }\r\n\r\n clone(): CreateRubricVersionCommand {\r\n const json = this.toJSON();\r\n let result = new CreateRubricVersionCommand();\r\n result.init(json);\r\n return result;\r\n }\r\n}\r\n\r\nexport interface ICreateRubricVersionCommand {\r\n rubricId: number;\r\n metadata: RubricMetadata | undefined;\r\n}\r\n\r\nexport class UpdateRubricVersionCommand implements IUpdateRubricVersionCommand {\r\n rubricVersionId!: number;\r\n metadata!: RubricMetadata | undefined;\r\n\r\n constructor(data?: IUpdateRubricVersionCommand) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n\r\n init(_data?: any, _mappings?: any) {\r\n if (_data) {\r\n this.rubricVersionId = _data[\"rubricVersionId\"];\r\n this.metadata = _data[\"metadata\"] ? RubricMetadata.fromJS(_data[\"metadata\"], _mappings) : undefined;\r\n }\r\n }\r\n\r\n static fromJS(data: any, _mappings?: any): UpdateRubricVersionCommand | null {\r\n data = typeof data === 'object' ? data : {};\r\n return createInstance(data, _mappings, UpdateRubricVersionCommand);\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"rubricVersionId\"] = this.rubricVersionId;\r\n data[\"metadata\"] = this.metadata ? this.metadata.toJSON() : undefined;\r\n return data; \r\n }\r\n\r\n clone(): UpdateRubricVersionCommand {\r\n const json = this.toJSON();\r\n let result = new UpdateRubricVersionCommand();\r\n result.init(json);\r\n return result;\r\n }\r\n}\r\n\r\nexport interface IUpdateRubricVersionCommand {\r\n rubricVersionId: number;\r\n metadata: RubricMetadata | undefined;\r\n}\r\n\r\nexport class UpdateRubricResourcesCommand implements IUpdateRubricResourcesCommand {\r\n rubricVersionId!: number;\r\n resources!: RubricResource[] | undefined;\r\n\r\n constructor(data?: IUpdateRubricResourcesCommand) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n\r\n init(_data?: any, _mappings?: any) {\r\n if (_data) {\r\n this.rubricVersionId = _data[\"rubricVersionId\"];\r\n if (Array.isArray(_data[\"resources\"])) {\r\n this.resources = [] as any;\r\n for (let item of _data[\"resources\"])\r\n this.resources!.push(RubricResource.fromJS(item, _mappings) as RubricResource);\r\n }\r\n }\r\n }\r\n\r\n static fromJS(data: any, _mappings?: any): UpdateRubricResourcesCommand | null {\r\n data = typeof data === 'object' ? data : {};\r\n return createInstance(data, _mappings, UpdateRubricResourcesCommand);\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"rubricVersionId\"] = this.rubricVersionId;\r\n if (Array.isArray(this.resources)) {\r\n data[\"resources\"] = [];\r\n for (let item of this.resources)\r\n data[\"resources\"].push(item.toJSON());\r\n }\r\n return data; \r\n }\r\n\r\n clone(): UpdateRubricResourcesCommand {\r\n const json = this.toJSON();\r\n let result = new UpdateRubricResourcesCommand();\r\n result.init(json);\r\n return result;\r\n }\r\n}\r\n\r\nexport interface IUpdateRubricResourcesCommand {\r\n rubricVersionId: number;\r\n resources: RubricResource[] | undefined;\r\n}\r\n\r\nexport class SetRubricVersionStatusCommand implements ISetRubricVersionStatusCommand {\r\n id!: number;\r\n status!: RubricVersionStatus;\r\n\r\n constructor(data?: ISetRubricVersionStatusCommand) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n\r\n init(_data?: any, _mappings?: any) {\r\n if (_data) {\r\n this.id = _data[\"id\"];\r\n this.status = _data[\"status\"];\r\n }\r\n }\r\n\r\n static fromJS(data: any, _mappings?: any): SetRubricVersionStatusCommand | null {\r\n data = typeof data === 'object' ? data : {};\r\n return createInstance(data, _mappings, SetRubricVersionStatusCommand);\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"id\"] = this.id;\r\n data[\"status\"] = this.status;\r\n return data; \r\n }\r\n\r\n clone(): SetRubricVersionStatusCommand {\r\n const json = this.toJSON();\r\n let result = new SetRubricVersionStatusCommand();\r\n result.init(json);\r\n return result;\r\n }\r\n}\r\n\r\nexport interface ISetRubricVersionStatusCommand {\r\n id: number;\r\n status: RubricVersionStatus;\r\n}\r\n\r\nexport class CloneRubricVersionCommand implements ICloneRubricVersionCommand {\r\n id!: number;\r\n\r\n constructor(data?: ICloneRubricVersionCommand) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n\r\n init(_data?: any, _mappings?: any) {\r\n if (_data) {\r\n this.id = _data[\"id\"];\r\n }\r\n }\r\n\r\n static fromJS(data: any, _mappings?: any): CloneRubricVersionCommand | null {\r\n data = typeof data === 'object' ? data : {};\r\n return createInstance(data, _mappings, CloneRubricVersionCommand);\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"id\"] = this.id;\r\n return data; \r\n }\r\n\r\n clone(): CloneRubricVersionCommand {\r\n const json = this.toJSON();\r\n let result = new CloneRubricVersionCommand();\r\n result.init(json);\r\n return result;\r\n }\r\n}\r\n\r\nexport interface ICloneRubricVersionCommand {\r\n id: number;\r\n}\r\n\r\nexport class StaffAdministrationDto implements IStaffAdministrationDto {\r\n districtLEA!: string;\r\n schoolLEA!: string | undefined;\r\n firstName!: string | undefined;\r\n lastName!: string | undefined;\r\n userId!: string | undefined;\r\n jobFunction!: string;\r\n uniqueEmployeeId!: string | undefined;\r\n\r\n constructor(data?: IStaffAdministrationDto) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n\r\n init(_data?: any, _mappings?: any) {\r\n if (_data) {\r\n this.districtLEA = _data[\"districtLEA\"];\r\n this.schoolLEA = _data[\"schoolLEA\"];\r\n this.firstName = _data[\"firstName\"];\r\n this.lastName = _data[\"lastName\"];\r\n this.userId = _data[\"userId\"];\r\n this.jobFunction = _data[\"jobFunction\"];\r\n this.uniqueEmployeeId = _data[\"uniqueEmployeeId\"];\r\n }\r\n }\r\n\r\n static fromJS(data: any, _mappings?: any): StaffAdministrationDto | null {\r\n data = typeof data === 'object' ? data : {};\r\n return createInstance(data, _mappings, StaffAdministrationDto);\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"districtLEA\"] = this.districtLEA;\r\n data[\"schoolLEA\"] = this.schoolLEA;\r\n data[\"firstName\"] = this.firstName;\r\n data[\"lastName\"] = this.lastName;\r\n data[\"userId\"] = this.userId;\r\n data[\"jobFunction\"] = this.jobFunction;\r\n data[\"uniqueEmployeeId\"] = this.uniqueEmployeeId;\r\n return data; \r\n }\r\n\r\n clone(): StaffAdministrationDto {\r\n const json = this.toJSON();\r\n let result = new StaffAdministrationDto();\r\n result.init(json);\r\n return result;\r\n }\r\n}\r\n\r\nexport interface IStaffAdministrationDto {\r\n districtLEA: string;\r\n schoolLEA: string | undefined;\r\n firstName: string | undefined;\r\n lastName: string | undefined;\r\n userId: string | undefined;\r\n jobFunction: string;\r\n uniqueEmployeeId: string | undefined;\r\n}\r\n\r\nexport class PersonDto implements IPersonDto {\r\n id!: number;\r\n userId!: string;\r\n stateId!: string | undefined;\r\n firstName!: string | undefined;\r\n lastName!: string | undefined;\r\n emailAddress!: string | undefined;\r\n activeDirectoryUserId!: string | undefined;\r\n createdDate!: Date;\r\n lastEncounteredDate!: Date | undefined;\r\n\r\n constructor(data?: IPersonDto) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n\r\n init(_data?: any, _mappings?: any) {\r\n if (_data) {\r\n this.id = _data[\"id\"];\r\n this.userId = _data[\"userId\"];\r\n this.stateId = _data[\"stateId\"];\r\n this.firstName = _data[\"firstName\"];\r\n this.lastName = _data[\"lastName\"];\r\n this.emailAddress = _data[\"emailAddress\"];\r\n this.activeDirectoryUserId = _data[\"activeDirectoryUserId\"];\r\n this.createdDate = _data[\"createdDate\"] ? new Date(_data[\"createdDate\"].toString()) : undefined;\r\n this.lastEncounteredDate = _data[\"lastEncounteredDate\"] ? new Date(_data[\"lastEncounteredDate\"].toString()) : undefined;\r\n }\r\n }\r\n\r\n static fromJS(data: any, _mappings?: any): PersonDto | null {\r\n data = typeof data === 'object' ? data : {};\r\n return createInstance(data, _mappings, PersonDto);\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"id\"] = this.id;\r\n data[\"userId\"] = this.userId;\r\n data[\"stateId\"] = this.stateId;\r\n data[\"firstName\"] = this.firstName;\r\n data[\"lastName\"] = this.lastName;\r\n data[\"emailAddress\"] = this.emailAddress;\r\n data[\"activeDirectoryUserId\"] = this.activeDirectoryUserId;\r\n data[\"createdDate\"] = this.createdDate ? this.createdDate.toISOString() : undefined;\r\n data[\"lastEncounteredDate\"] = this.lastEncounteredDate ? this.lastEncounteredDate.toISOString() : undefined;\r\n return data; \r\n }\r\n\r\n clone(): PersonDto {\r\n const json = this.toJSON();\r\n let result = new PersonDto();\r\n result.init(json);\r\n return result;\r\n }\r\n}\r\n\r\nexport interface IPersonDto {\r\n id: number;\r\n userId: string;\r\n stateId: string | undefined;\r\n firstName: string | undefined;\r\n lastName: string | undefined;\r\n emailAddress: string | undefined;\r\n activeDirectoryUserId: string | undefined;\r\n createdDate: Date;\r\n lastEncounteredDate: Date | undefined;\r\n}\r\n\r\nexport class EFinanceEmployeeDto implements IEFinanceEmployeeDto {\r\n uniqueEmployeeId!: string | undefined;\r\n firstName!: string | undefined;\r\n lastName!: string | undefined;\r\n email!: string | undefined;\r\n hireDate!: Date | undefined;\r\n yearsOfExperience!: number | undefined;\r\n\r\n constructor(data?: IEFinanceEmployeeDto) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n\r\n init(_data?: any, _mappings?: any) {\r\n if (_data) {\r\n this.uniqueEmployeeId = _data[\"uniqueEmployeeId\"];\r\n this.firstName = _data[\"firstName\"];\r\n this.lastName = _data[\"lastName\"];\r\n this.email = _data[\"email\"];\r\n this.hireDate = _data[\"hireDate\"] ? new Date(_data[\"hireDate\"].toString()) : undefined;\r\n this.yearsOfExperience = _data[\"yearsOfExperience\"];\r\n }\r\n }\r\n\r\n static fromJS(data: any, _mappings?: any): EFinanceEmployeeDto | null {\r\n data = typeof data === 'object' ? data : {};\r\n return createInstance(data, _mappings, EFinanceEmployeeDto);\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"uniqueEmployeeId\"] = this.uniqueEmployeeId;\r\n data[\"firstName\"] = this.firstName;\r\n data[\"lastName\"] = this.lastName;\r\n data[\"email\"] = this.email;\r\n data[\"hireDate\"] = this.hireDate ? this.hireDate.toISOString() : undefined;\r\n data[\"yearsOfExperience\"] = this.yearsOfExperience;\r\n return data; \r\n }\r\n\r\n clone(): EFinanceEmployeeDto {\r\n const json = this.toJSON();\r\n let result = new EFinanceEmployeeDto();\r\n result.init(json);\r\n return result;\r\n }\r\n}\r\n\r\nexport interface IEFinanceEmployeeDto {\r\n uniqueEmployeeId: string | undefined;\r\n firstName: string | undefined;\r\n lastName: string | undefined;\r\n email: string | undefined;\r\n hireDate: Date | undefined;\r\n yearsOfExperience: number | undefined;\r\n}\r\n\r\nexport class JobAssignmentDto implements IJobAssignmentDto {\r\n schoolLEA!: string | undefined;\r\n uniqueEmployeeId!: string | undefined;\r\n firstName!: string | undefined;\r\n lastName!: string | undefined;\r\n jobOrCourseCode!: string | undefined;\r\n percentTime!: number;\r\n groupX!: string;\r\n jobFunction!: string | undefined;\r\n\r\n constructor(data?: IJobAssignmentDto) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n\r\n init(_data?: any, _mappings?: any) {\r\n if (_data) {\r\n this.schoolLEA = _data[\"schoolLEA\"];\r\n this.uniqueEmployeeId = _data[\"uniqueEmployeeId\"];\r\n this.firstName = _data[\"firstName\"];\r\n this.lastName = _data[\"lastName\"];\r\n this.jobOrCourseCode = _data[\"jobOrCourseCode\"];\r\n this.percentTime = _data[\"percentTime\"];\r\n this.groupX = _data[\"groupX\"];\r\n this.jobFunction = _data[\"jobFunction\"];\r\n }\r\n }\r\n\r\n static fromJS(data: any, _mappings?: any): JobAssignmentDto | null {\r\n data = typeof data === 'object' ? data : {};\r\n return createInstance(data, _mappings, JobAssignmentDto);\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"schoolLEA\"] = this.schoolLEA;\r\n data[\"uniqueEmployeeId\"] = this.uniqueEmployeeId;\r\n data[\"firstName\"] = this.firstName;\r\n data[\"lastName\"] = this.lastName;\r\n data[\"jobOrCourseCode\"] = this.jobOrCourseCode;\r\n data[\"percentTime\"] = this.percentTime;\r\n data[\"groupX\"] = this.groupX;\r\n data[\"jobFunction\"] = this.jobFunction;\r\n return data; \r\n }\r\n\r\n clone(): JobAssignmentDto {\r\n const json = this.toJSON();\r\n let result = new JobAssignmentDto();\r\n result.init(json);\r\n return result;\r\n }\r\n}\r\n\r\nexport interface IJobAssignmentDto {\r\n schoolLEA: string | undefined;\r\n uniqueEmployeeId: string | undefined;\r\n firstName: string | undefined;\r\n lastName: string | undefined;\r\n jobOrCourseCode: string | undefined;\r\n percentTime: number;\r\n groupX: string;\r\n jobFunction: string | undefined;\r\n}\r\n\r\nexport class EESRoleDto implements IEESRoleDto {\r\n schoolLEA!: string | undefined;\r\n uniqueEmployeeId!: string | undefined;\r\n firstName!: string | undefined;\r\n lastName!: string | undefined;\r\n yearsOfExperience!: number | undefined;\r\n jobFunction!: string | undefined;\r\n\r\n constructor(data?: IEESRoleDto) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n\r\n init(_data?: any, _mappings?: any) {\r\n if (_data) {\r\n this.schoolLEA = _data[\"schoolLEA\"];\r\n this.uniqueEmployeeId = _data[\"uniqueEmployeeId\"];\r\n this.firstName = _data[\"firstName\"];\r\n this.lastName = _data[\"lastName\"];\r\n this.yearsOfExperience = _data[\"yearsOfExperience\"];\r\n this.jobFunction = _data[\"jobFunction\"];\r\n }\r\n }\r\n\r\n static fromJS(data: any, _mappings?: any): EESRoleDto | null {\r\n data = typeof data === 'object' ? data : {};\r\n return createInstance(data, _mappings, EESRoleDto);\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"schoolLEA\"] = this.schoolLEA;\r\n data[\"uniqueEmployeeId\"] = this.uniqueEmployeeId;\r\n data[\"firstName\"] = this.firstName;\r\n data[\"lastName\"] = this.lastName;\r\n data[\"yearsOfExperience\"] = this.yearsOfExperience;\r\n data[\"jobFunction\"] = this.jobFunction;\r\n return data; \r\n }\r\n\r\n clone(): EESRoleDto {\r\n const json = this.toJSON();\r\n let result = new EESRoleDto();\r\n result.init(json);\r\n return result;\r\n }\r\n}\r\n\r\nexport interface IEESRoleDto {\r\n schoolLEA: string | undefined;\r\n uniqueEmployeeId: string | undefined;\r\n firstName: string | undefined;\r\n lastName: string | undefined;\r\n yearsOfExperience: number | undefined;\r\n jobFunction: string | undefined;\r\n}\r\n\r\nexport class ESchoolStaffDto implements IESchoolStaffDto {\r\n staffStateId!: string | undefined;\r\n loginId!: string | undefined;\r\n firstName!: string | undefined;\r\n lastName!: string | undefined;\r\n email!: string | undefined;\r\n\r\n constructor(data?: IESchoolStaffDto) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n\r\n init(_data?: any, _mappings?: any) {\r\n if (_data) {\r\n this.staffStateId = _data[\"staffStateId\"];\r\n this.loginId = _data[\"loginId\"];\r\n this.firstName = _data[\"firstName\"];\r\n this.lastName = _data[\"lastName\"];\r\n this.email = _data[\"email\"];\r\n }\r\n }\r\n\r\n static fromJS(data: any, _mappings?: any): ESchoolStaffDto | null {\r\n data = typeof data === 'object' ? data : {};\r\n return createInstance(data, _mappings, ESchoolStaffDto);\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"staffStateId\"] = this.staffStateId;\r\n data[\"loginId\"] = this.loginId;\r\n data[\"firstName\"] = this.firstName;\r\n data[\"lastName\"] = this.lastName;\r\n data[\"email\"] = this.email;\r\n return data; \r\n }\r\n\r\n clone(): ESchoolStaffDto {\r\n const json = this.toJSON();\r\n let result = new ESchoolStaffDto();\r\n result.init(json);\r\n return result;\r\n }\r\n}\r\n\r\nexport interface IESchoolStaffDto {\r\n staffStateId: string | undefined;\r\n loginId: string | undefined;\r\n firstName: string | undefined;\r\n lastName: string | undefined;\r\n email: string | undefined;\r\n}\r\n\r\nexport class DistrictPersonDto implements IDistrictPersonDto {\r\n id!: number;\r\n stateId!: string | undefined;\r\n firstName!: string | undefined;\r\n lastName!: string | undefined;\r\n emailAddress!: string | undefined;\r\n activeDirectoryUserId!: string | undefined;\r\n lastEncounteredDate!: Date | undefined;\r\n\r\n constructor(data?: IDistrictPersonDto) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n\r\n init(_data?: any, _mappings?: any) {\r\n if (_data) {\r\n this.id = _data[\"id\"];\r\n this.stateId = _data[\"stateId\"];\r\n this.firstName = _data[\"firstName\"];\r\n this.lastName = _data[\"lastName\"];\r\n this.emailAddress = _data[\"emailAddress\"];\r\n this.activeDirectoryUserId = _data[\"activeDirectoryUserId\"];\r\n this.lastEncounteredDate = _data[\"lastEncounteredDate\"] ? new Date(_data[\"lastEncounteredDate\"].toString()) : undefined;\r\n }\r\n }\r\n\r\n static fromJS(data: any, _mappings?: any): DistrictPersonDto | null {\r\n data = typeof data === 'object' ? data : {};\r\n return createInstance(data, _mappings, DistrictPersonDto);\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"id\"] = this.id;\r\n data[\"stateId\"] = this.stateId;\r\n data[\"firstName\"] = this.firstName;\r\n data[\"lastName\"] = this.lastName;\r\n data[\"emailAddress\"] = this.emailAddress;\r\n data[\"activeDirectoryUserId\"] = this.activeDirectoryUserId;\r\n data[\"lastEncounteredDate\"] = this.lastEncounteredDate ? this.lastEncounteredDate.toISOString() : undefined;\r\n return data; \r\n }\r\n\r\n clone(): DistrictPersonDto {\r\n const json = this.toJSON();\r\n let result = new DistrictPersonDto();\r\n result.init(json);\r\n return result;\r\n }\r\n}\r\n\r\nexport interface IDistrictPersonDto {\r\n id: number;\r\n stateId: string | undefined;\r\n firstName: string | undefined;\r\n lastName: string | undefined;\r\n emailAddress: string | undefined;\r\n activeDirectoryUserId: string | undefined;\r\n lastEncounteredDate: Date | undefined;\r\n}\r\n\r\nexport class APSCNADRecordDto implements IAPSCNADRecordDto {\r\n fullName!: string | undefined;\r\n userId!: string | undefined;\r\n emailAddress!: string | undefined;\r\n\r\n constructor(data?: IAPSCNADRecordDto) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n\r\n init(_data?: any, _mappings?: any) {\r\n if (_data) {\r\n this.fullName = _data[\"fullName\"];\r\n this.userId = _data[\"userId\"];\r\n this.emailAddress = _data[\"emailAddress\"];\r\n }\r\n }\r\n\r\n static fromJS(data: any, _mappings?: any): APSCNADRecordDto | null {\r\n data = typeof data === 'object' ? data : {};\r\n return createInstance(data, _mappings, APSCNADRecordDto);\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"fullName\"] = this.fullName;\r\n data[\"userId\"] = this.userId;\r\n data[\"emailAddress\"] = this.emailAddress;\r\n return data; \r\n }\r\n\r\n clone(): APSCNADRecordDto {\r\n const json = this.toJSON();\r\n let result = new APSCNADRecordDto();\r\n result.init(json);\r\n return result;\r\n }\r\n}\r\n\r\nexport interface IAPSCNADRecordDto {\r\n fullName: string | undefined;\r\n userId: string | undefined;\r\n emailAddress: string | undefined;\r\n}\r\n\r\nexport class LEAProfileCoordinatorCodeDto implements ILEAProfileCoordinatorCodeDto {\r\n coordinatorCode!: string | undefined;\r\n stateId!: string | undefined;\r\n title!: string | undefined;\r\n firstName!: string | undefined;\r\n lastName!: string | undefined;\r\n email!: string | undefined;\r\n lea!: string | undefined;\r\n\r\n constructor(data?: ILEAProfileCoordinatorCodeDto) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n\r\n init(_data?: any, _mappings?: any) {\r\n if (_data) {\r\n this.coordinatorCode = _data[\"coordinatorCode\"];\r\n this.stateId = _data[\"stateId\"];\r\n this.title = _data[\"title\"];\r\n this.firstName = _data[\"firstName\"];\r\n this.lastName = _data[\"lastName\"];\r\n this.email = _data[\"email\"];\r\n this.lea = _data[\"lea\"];\r\n }\r\n }\r\n\r\n static fromJS(data: any, _mappings?: any): LEAProfileCoordinatorCodeDto | null {\r\n data = typeof data === 'object' ? data : {};\r\n return createInstance(data, _mappings, LEAProfileCoordinatorCodeDto);\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"coordinatorCode\"] = this.coordinatorCode;\r\n data[\"stateId\"] = this.stateId;\r\n data[\"title\"] = this.title;\r\n data[\"firstName\"] = this.firstName;\r\n data[\"lastName\"] = this.lastName;\r\n data[\"email\"] = this.email;\r\n data[\"lea\"] = this.lea;\r\n return data; \r\n }\r\n\r\n clone(): LEAProfileCoordinatorCodeDto {\r\n const json = this.toJSON();\r\n let result = new LEAProfileCoordinatorCodeDto();\r\n result.init(json);\r\n return result;\r\n }\r\n}\r\n\r\nexport interface ILEAProfileCoordinatorCodeDto {\r\n coordinatorCode: string | undefined;\r\n stateId: string | undefined;\r\n title: string | undefined;\r\n firstName: string | undefined;\r\n lastName: string | undefined;\r\n email: string | undefined;\r\n lea: string | undefined;\r\n}\r\n\r\nfunction jsonParse(json: any, reviver?: any) {\r\n json = JSON.parse(json, reviver);\r\n\r\n var byid: any = {};\r\n var refs: any = [];\r\n json = (function recurse(obj: any, prop?: any, parent?: any) {\r\n if (typeof obj !== 'object' || !obj)\r\n return obj;\r\n \r\n if (\"$ref\" in obj) {\r\n let ref = obj.$ref;\r\n if (ref in byid)\r\n return byid[ref];\r\n refs.push([parent, prop, ref]);\r\n return undefined;\r\n } else if (\"$id\" in obj) {\r\n let id = obj.$id;\r\n delete obj.$id;\r\n if (\"$values\" in obj)\r\n obj = obj.$values;\r\n byid[id] = obj;\r\n }\r\n \r\n if (Array.isArray(obj)) {\r\n obj = obj.map((v, i) => recurse(v, i, obj));\r\n } else {\r\n for (var p in obj) {\r\n if (obj.hasOwnProperty(p) && obj[p] && typeof obj[p] === 'object')\r\n obj[p] = recurse(obj[p], p, obj);\r\n }\r\n }\r\n\r\n return obj;\r\n })(json);\r\n\r\n for (let i = 0; i < refs.length; i++) {\r\n const ref = refs[i];\r\n ref[0][ref[1]] = byid[ref[2]];\r\n }\r\n\r\n return json;\r\n}\r\n\r\nfunction createInstance(data: any, mappings: any, type: any): T | null {\r\n if (!mappings)\r\n mappings = [];\r\n if (!data)\r\n return null;\r\n\r\n const mappingIndexName = \"__mappingIndex\";\r\n if (data[mappingIndexName])\r\n return mappings[data[mappingIndexName]].target;\r\n\r\n data[mappingIndexName] = mappings.length;\r\n\r\n let result: any = new type();\r\n mappings.push({ source: data, target: result });\r\n result.init(data, mappings);\r\n return result;\r\n}\r\n\r\nexport interface FileParameter {\r\n data: any;\r\n fileName: string;\r\n}\r\n\r\nexport interface FileResponse {\r\n data: Blob;\r\n status: number;\r\n fileName?: string;\r\n headers?: { [name: string]: any };\r\n}\r\n\r\nexport class ApiException extends Error {\r\n message: string;\r\n status: number;\r\n response: string;\r\n headers: { [key: string]: any; };\r\n result: any;\r\n\r\n constructor(message: string, status: number, response: string, headers: { [key: string]: any; }, result: any) {\r\n super();\r\n\r\n this.message = message;\r\n this.status = status;\r\n this.response = response;\r\n this.headers = headers;\r\n this.result = result;\r\n }\r\n\r\n protected isApiException = true;\r\n\r\n static isApiException(obj: any): obj is ApiException {\r\n return obj.isApiException === true;\r\n }\r\n}\r\n\r\nfunction throwException(message: string, status: number, response: string, headers: { [key: string]: any; }, result?: any): any {\r\n if (result !== null && result !== undefined)\r\n throw result;\r\n else\r\n throw new ApiException(message, status, response, headers, null);\r\n}\r\n\r\nfunction isAxiosError(obj: any | undefined): obj is AxiosError {\r\n return obj && obj.isAxiosError === true;\r\n}","import Vue from 'vue'\r\nimport VueCompositionApi from '@vue/composition-api'\r\n\r\nVue.use(VueCompositionApi)","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{attrs:{\"id\":\"app\"}},[_c('the-nav-bar'),_c('router-view'),_c('the-toast-center')],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { reactive, readonly, watch } from \"@vue/composition-api\";\r\nimport { GoalService, CreateGoalCommand, GoalDto, GoalSummaryDto, GoalStatus, GoalProgram, UpdateGoalCommand } from '@/generated/api.clients';\r\nimport Api from '@/plugin/Api';\r\nimport UserStore from '@/modules/ees/store/UserStore';\r\nimport { deepEqual } from '@/lib/utils';\r\n\r\nconst goalApi = new GoalService(undefined, Api);\r\nlet _timeout: any;\r\n\r\nconst state = reactive({\r\n learnerGoals: new Array(),\r\n learnerGoalsHistory: new Array(),\r\n currentGoalId: -1,\r\n currentGoal: new GoalDto(),\r\n})\r\n\r\nwatch(() => state.currentGoal.clone(), (goal, oldGoal) => {\r\n //check to see if a new goal was selected or a change to the old goal \r\n if(goal.id === oldGoal.id && (!deepEqual(goal, oldGoal) || goal.targetDate != oldGoal.targetDate)){\r\n if(_timeout) {\r\n clearTimeout(_timeout);\r\n }\r\n _timeout = setTimeout(() => actions.saveCurrentGoal(), 1000);\r\n }\r\n},\r\n{ deep: true});\r\n\r\nconst actions = {\r\n addGoal(title: string, targetDate: Date | undefined): void {\r\n const createGoalCommand = new CreateGoalCommand({\r\n title: title,\r\n targetDate: targetDate,\r\n })\r\n\r\n goalApi.create(createGoalCommand).then((id) => {\r\n const newGoal = new GoalSummaryDto();\r\n newGoal.id = id;\r\n newGoal.status = GoalStatus.Active;\r\n newGoal.title = title;\r\n state.learnerGoals.push(newGoal);\r\n });\r\n },\r\n getGoals(): void {\r\n goalApi.getLearnerCurrentYearGoals(UserStore.state.ContextUserId).then((goals) => {\r\n state.learnerGoals = goals;\r\n if(state.currentGoalId === -1 || !state.learnerGoals.some(x => x.id === state.currentGoalId)){\r\n if(state.learnerGoals.length > 0){\r\n actions.setCurrentGoal(state.learnerGoals[0].id);\r\n } else {\r\n state.currentGoalId = -1;\r\n state.currentGoal = new GoalDto();\r\n }\r\n }\r\n });\r\n },\r\n getGoalsHistory(): void {\r\n goalApi.getLearnerGoalsHistory(UserStore.state.ContextUserId).then((goals) => {\r\n state.learnerGoalsHistory = goals;\r\n });\r\n },\r\n setCurrentGoal(id: number): void {\r\n if(state.learnerGoals.some(x => x.id === id)){\r\n goalApi.get(id).then((goal) => {\r\n state.currentGoal = goal;\r\n state.currentGoalId = id;\r\n });\r\n }\r\n },\r\n setCurrentGoalStatus(status: GoalStatus): void {\r\n state.currentGoal.status = status;\r\n },\r\n setTargetDate(targetDate: Date | undefined): void {\r\n state.currentGoal.targetDate = targetDate;\r\n },\r\n saveCurrentGoal(): void {\r\n const updateGoalCommand = new UpdateGoalCommand({\r\n goal: state.currentGoal.clone()\r\n });\r\n\r\n if(updateGoalCommand.goal)\r\n {\r\n goalApi.update(updateGoalCommand.goal.id, updateGoalCommand).then(() => {\r\n for(let i = 0; i < state.learnerGoals.length; i++){\r\n if(state.learnerGoals[i].id === updateGoalCommand.goal?.id){\r\n state.learnerGoals[i].title = updateGoalCommand.goal.title;\r\n state.learnerGoals[i].status = updateGoalCommand.goal.status;\r\n }\r\n }\r\n });\r\n }\r\n },\r\n deleteCurrentGoal(): void {\r\n if(state.currentGoalId !== -1){\r\n goalApi.delete(state.currentGoalId).then(() => {\r\n for(let i = 0; i < state.learnerGoals.length; i++){\r\n if(state.learnerGoals[i].id === state.currentGoalId){\r\n state.learnerGoals.splice(i, 1);\r\n }\r\n }\r\n if(state.learnerGoals.length > 0){\r\n state.currentGoalId = state.learnerGoals[0].id;\r\n goalApi.get(state.currentGoalId).then((goal) => {\r\n state.currentGoal = goal;\r\n });\r\n } else { \r\n state.currentGoalId = -1;\r\n state.currentGoal = new GoalDto();\r\n }\r\n });\r\n }\r\n }\r\n}\r\n\r\nconst getters = {\r\n activeGoals(): GoalSummaryDto[] {\r\n return state.learnerGoals.filter(obj => obj.status === GoalStatus.Active || obj.status == GoalStatus.Continued);\r\n },\r\n completedGoals(): GoalSummaryDto[] {\r\n return state.learnerGoals.filter(obj => obj.status === GoalStatus.Completed);\r\n },\r\n inactiveGoals(): GoalSummaryDto[] {\r\n return state.learnerGoals.filter(obj => obj.status === GoalStatus.Inactive);\r\n },\r\n canAddGoal(): boolean {\r\n return UserStore.getters.isLearner() && !UserStore.getters.isObserving()\r\n },\r\n isCurrentGoalEditable(): boolean {\r\n return UserStore.getters.isLearner() && !UserStore.getters.isObserving() && state.currentGoal.status !== GoalStatus.Completed\r\n },\r\n isCurrentGoalDeletable(): boolean { \r\n return UserStore.getters.isLearner() && !UserStore.getters.isObserving() && state.currentGoal.status !== GoalStatus.Completed\r\n },\r\n isCurrentGoalCompletable(): boolean {\r\n return UserStore.getters.isObserver() && (state.currentGoal.status !== GoalStatus.Completed && state.currentGoal.status !== GoalStatus.Continued)\r\n },\r\n isCurrentGoalContinued(): boolean {\r\n return UserStore.getters.isObserver() && state.currentGoal.status == GoalStatus.Continued\r\n },\r\n isCurrentGoalReactivatable(): boolean {\r\n return UserStore.getters.isObserver() && (state.currentGoal.status == GoalStatus.Completed || state.currentGoal.status == GoalStatus.Continued)\r\n },\r\n isCurrentGoalActivatable(): boolean {\r\n return UserStore.getters.isLearner() && !UserStore.getters.isObserving() && state.currentGoal.status === GoalStatus.Inactive\r\n },\r\n isCurrentGoalInactivatable(): boolean {\r\n return UserStore.getters.isLearner() && !UserStore.getters.isObserving() && state.currentGoal.status === GoalStatus.Active\r\n },\r\n isRubricMismatched(): boolean {\r\n return UserStore.state.ContextRubricId !== state.currentGoal.rubricVersionId\r\n },\r\n}\r\n\r\nexport default {\r\n state: readonly(state),\r\n actions,\r\n getters\r\n}","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('nav',{staticClass:\"navbar navbar-expand-lg navbar-dark bg-danger\"},[_c('div',{staticClass:\"container-fluid \"},[_vm._m(0),_vm._m(1),_c('div',{staticClass:\"collapse navbar-collapse\",attrs:{\"id\":\"theNavBar\"}},[_c('ul',{staticClass:\"navbar-nav ms-auto mt-lg-0 \"},[(_vm.UserStore.getters.isLEAAdmin() || _vm.UserStore.getters.isStateUser())?_c('li',{staticClass:\"nav-item\"},[_c('router-link',{staticClass:\"nav-link\",attrs:{\"to\":{name: 'Dashboard'}}},[_c('i',{staticClass:\"fas fa-chart-bar\",attrs:{\"aria-hidden\":\"true\"}}),_vm._v(\" Dashboard\")])],1):_vm._e(),(_vm.UserStore.getters.isLearner() && _vm.UserStore.state.HasRubric)?_c('li',{staticClass:\"nav-item\"},[_c('router-link',{staticClass:\"nav-link\",attrs:{\"to\":(\"/learner/Home/\" + (_vm.UserStore.state.ContextUserId))}},[_c('i',{staticClass:\"fas fa-home\",attrs:{\"aria-hidden\":\"true\"}}),_vm._v(\" Home\")])],1):_vm._e(),(_vm.UserStore.getters.isLearner() && _vm.UserStore.state.HasRubric)?_c('li',{staticClass:\"nav-item\"},[_c('router-link',{staticClass:\"nav-link\",attrs:{\"to\":(\"/learner/Comments/\" + (_vm.UserStore.state.ContextUserId))}},[_c('i',{staticClass:\"fas fa-comments\",attrs:{\"aria-hidden\":\"true\"}}),_vm._v(\" Comments \"),(_vm.UserStore.getters.learnerMessageThreadUnreadCount(_vm.UserStore.state.UserId) > 0)?_c('span',{staticClass:\"me-1 badge badge-navbar\"},[_vm._v(_vm._s(_vm.UserStore.getters.learnerMessageThreadUnreadCount(_vm.UserStore.state.UserId)))]):_vm._e()])],1):_vm._e(),(_vm.UserStore.getters.isLearner() && _vm.UserStore.state.HasRubric)?_c('li',{staticClass:\"nav-item\"},[_c('router-link',{staticClass:\"nav-link\",attrs:{\"to\":(\"/learner/Goals/\" + (_vm.UserStore.state.ContextUserId))}},[_c('i',{staticClass:\"fas fa-medal\",attrs:{\"aria-hidden\":\"true\"}}),_vm._v(\" Goals\")])],1):_vm._e(),(_vm.UserStore.getters.isLearner() && _vm.UserStore.state.HasRubric)?_c('li',{staticClass:\"nav-item\"},[_c('router-link',{staticClass:\"nav-link\",attrs:{\"to\":(\"/learner/Activities/\" + (_vm.UserStore.state.ContextUserId))}},[_c('i',{staticClass:\"far fa-calendar-alt\",attrs:{\"aria-hidden\":\"true\"}}),_vm._v(\" Activities\")])],1):_vm._e(),(_vm.UserStore.getters.isLearner() && _vm.UserStore.state.HasRubric)?_c('li',{staticClass:\"nav-item\"},[_c('router-link',{staticClass:\"nav-link\",attrs:{\"to\":(\"/learner/EndOfYear/\" + (_vm.UserStore.state.ContextUserId))}},[_c('i',{staticClass:\"fas fa-flag-checkered\",attrs:{\"aria-hidden\":\"true\"}}),_vm._v(\" End of Year\")])],1):_vm._e(),(_vm.UserStore.getters.isLearner() && _vm.UserStore.state.HasRubric)?_c('li',{staticClass:\"nav-item\"},[_c('router-link',{staticClass:\"nav-link\",attrs:{\"to\":(\"/learner/LearnerArchives/\" + (_vm.UserStore.state.ContextUserId))}},[_c('i',{staticClass:\"fas fa-file-invoice\",attrs:{\"aria-hidden\":\"true\"}}),_vm._v(\" Archives\")])],1):_vm._e(),(_vm.UserStore.getters.isObserver())?_c('li',{staticClass:\"nav-item\"},[_c('router-link',{staticClass:\"nav-link\",attrs:{\"to\":\"/observer/Home\"}},[_c('i',{staticClass:\"fas fa-home\",attrs:{\"aria-hidden\":\"true\"}}),_vm._v(\" Home\")])],1):_vm._e(),(_vm.UserStore.getters.isObserver())?_c('li',{staticClass:\"nav-item\"},[_c('router-link',{staticClass:\"nav-link\",attrs:{\"to\":\"/observer/observationBreakdown\"}},[_c('i',{staticClass:\"fas fa-user-chart\",attrs:{\"aria-hidden\":\"true\"}}),_vm._v(\" Observation Breakdown\")])],1):_vm._e(),(_vm.UserStore.getters.isObserver())?_c('li',{staticClass:\"nav-item\"},[_c('router-link',{staticClass:\"nav-link\",attrs:{\"to\":\"/observer/calendar\"}},[_c('i',{staticClass:\"far fa-calendar-alt\",attrs:{\"aria-hidden\":\"true\"}}),_vm._v(\" Calendar\")])],1):_vm._e(),(_vm.UserStore.getters.isObserver())?_c('li',{staticClass:\"nav-item\"},[_c('router-link',{staticClass:\"nav-link\",attrs:{\"to\":\"/observer/Comments\"}},[_c('i',{staticClass:\"fas fa-comments\",attrs:{\"aria-hidden\":\"true\"}}),_vm._v(\" Comments \"),(_vm.UserStore.getters.observerTotalMessageThreadUnreadCount() > 0)?_c('span',{staticClass:\"me-1 badge badge-navbar\"},[_vm._v(_vm._s(_vm.UserStore.getters.observerTotalMessageThreadUnreadCount()))]):_vm._e()])],1):_vm._e(),(_vm.UserStore.getters.isCollaborator())?_c('li',{staticClass:\"nav-item\"},[_c('router-link',{staticClass:\"nav-link\",attrs:{\"to\":\"/observer/Home\"}},[_c('i',{staticClass:\"fas fa-home\",attrs:{\"aria-hidden\":\"true\"}}),_vm._v(\" Home\")])],1):_vm._e(),(_vm.UserStore.getters.isCollaborator())?_c('li',{staticClass:\"nav-item\"},[_c('router-link',{staticClass:\"nav-link\",attrs:{\"to\":\"/observer/calendar\"}},[_c('i',{staticClass:\"far fa-calendar-alt\",attrs:{\"aria-hidden\":\"true\"}}),_vm._v(\" Calendar\")])],1):_vm._e(),(_vm.UserStore.getters.isCollaborator())?_c('li',{staticClass:\"nav-item\"},[_c('router-link',{staticClass:\"nav-link\",attrs:{\"to\":\"/observer/Comments\"}},[_c('i',{staticClass:\"fas fa-comments\",attrs:{\"aria-hidden\":\"true\"}}),_vm._v(\" Comments \"),(_vm.UserStore.getters.observerTotalMessageThreadUnreadCount() > 0)?_c('span',{staticClass:\"me-1 badge badge-navbar\"},[_vm._v(_vm._s(_vm.UserStore.getters.observerTotalMessageThreadUnreadCount()))]):_vm._e()])],1):_vm._e(),(_vm.UserStore.getters.isLEAAdmin())?_c('li',{staticClass:\"nav-item\"},[_c('router-link',{staticClass:\"nav-link\",attrs:{\"to\":\"/observer-learner-assignment\"}},[_c('i',{staticClass:\"fas fa-user-cog\",attrs:{\"aria-hidden\":\"true\"}}),_vm._v(\" Observer/Learner Assignment\")])],1):_vm._e(),(_vm.UserStore.getters.isSiteAdmin())?_c('li',{staticClass:\"nav-item\"},[_c('router-link',{staticClass:\"nav-link\",attrs:{\"to\":{name: 'Dashboard'}}},[_c('i',{staticClass:\"fas fa-chart-bar\",attrs:{\"aria-hidden\":\"true\"}}),_vm._v(\" Dashboard\")])],1):_vm._e(),(!_vm.UserStore.getters.isLearner())?_c('li',{staticClass:\"nav-item\"},[_c('router-link',{staticClass:\"nav-link\",attrs:{\"to\":{name: 'Report'}}},[_c('i',{staticClass:\"fas fa-chart-bar\",attrs:{\"aria-hidden\":\"true\"}}),_vm._v(\" Reports\")])],1):_vm._e(),((_vm.UserStore.getters.isLEAAdmin() || _vm.UserStore.getters.isDistrictAdmin() || _vm.UserStore.getters.isStateUser() || _vm.UserStore.getters.isSiteAdmin()) && !_vm.UserStore.getters.isDemoEnvironment())?_c('li',{staticClass:\"nav-item\"},[_c('router-link',{staticClass:\"nav-link\",attrs:{\"to\":{name: 'StaffList'}}},[_c('i',{staticClass:\"fa fa-users\",attrs:{\"aria-hidden\":\"true\"}}),_vm._v(\" Staff List\")])],1):_vm._e(),((_vm.UserStore.getters.isDistrictAdmin() || _vm.UserStore.getters.isStateUser()) && !_vm.UserStore.getters.isDemoEnvironment())?_c('li',{staticClass:\"nav-item\"},[_c('router-link',{staticClass:\"nav-link\",attrs:{\"to\":{name: 'ScheduledActivities'}}},[_c('i',{staticClass:\"far fa-calendar-alt\",attrs:{\"aria-hidden\":\"true\"}}),_vm._v(\" Scheduled Activities\")])],1):_vm._e(),(_vm.UserStore.getters.isSiteAdmin())?_c('li',{staticClass:\"nav-item\"},[_c('router-link',{staticClass:\"nav-link\",attrs:{\"to\":\"/admin/rubrics\"}},[_c('i',{staticClass:\"fas fa-pencil-ruler\",attrs:{\"aria-hidden\":\"true\"}}),_vm._v(\" Rubrics\")])],1):_vm._e(),(_vm.UserStore.getters.isSiteAdmin())?_c('li',{staticClass:\"nav-item\"},[_c('router-link',{staticClass:\"nav-link\",attrs:{\"to\":\"/admin/goal-prompts\"}},[_c('i',{staticClass:\"fas fa-map-marker-question\",attrs:{\"aria-hidden\":\"true\"}}),_vm._v(\" Goal Prompts\")])],1):_vm._e(),(_vm.UserStore.getters.isSiteAdmin())?_c('li',{staticClass:\"nav-item\"},[_c('router-link',{staticClass:\"nav-link\",attrs:{\"to\":\"/admin/school-year\"}},[_c('i',{staticClass:\"fas fa-calendar-edit\",attrs:{\"aria-hidden\":\"true\"}}),_vm._v(\" School Year\")])],1):_vm._e(),(_vm.UserStore.getters.isSiteAdmin() || _vm.UserStore.getters.isEduEval())?_c('li',{staticClass:\"nav-item\"},[_c('router-link',{staticClass:\"nav-link\",attrs:{\"to\":\"/admin/notifications\"}},[_c('i',{staticClass:\"fas fa-envelope\",attrs:{\"aria-hidden\":\"true\"}}),_vm._v(\" Notifications\")])],1):_vm._e(),(_vm.isLoggedIn)?_c('the-nav-bar-role-drop-down'):_vm._e(),_c('li',{staticClass:\"nav-item dropdown\"},[_vm._m(2),_c('ul',{staticClass:\"dropdown-menu\",attrs:{\"aria-labelledby\":\"supportDropdown\"}},[(_vm.UserStore.getters.isSiteAdmin())?_c('li',[_c('a',{staticClass:\"dropdown-item\",attrs:{\"target\":\"_blank\",\"href\":(_vm.USER_GUIDE_LOCATION + \"/ADE - EES - System Admin User Guide.pdf\")}},[_vm._v(\"System Admin User Guide\")])]):_vm._e(),(_vm.UserStore.getters.hasLEAAdmin())?_c('li',[_c('a',{staticClass:\"dropdown-item\",attrs:{\"target\":\"_blank\",\"href\":(_vm.USER_GUIDE_LOCATION + \"/ADE - EES - LEA Administrator User Guide.pdf\")}},[_vm._v(\"LEA Admininstrator User Guide\")])]):_vm._e(),(_vm.UserStore.getters.hasObserverCollaborator())?_c('li',[_c('a',{staticClass:\"dropdown-item\",attrs:{\"target\":\"_blank\",\"href\":(_vm.USER_GUIDE_LOCATION + \"/ADE - EES - Observer User Guide.pdf\")}},[_vm._v(\"Observer/Collaborator User Guide\")])]):_vm._e(),(_vm.UserStore.getters.hasLearner())?_c('li',[_c('a',{staticClass:\"dropdown-item\",attrs:{\"target\":\"_blank\",\"href\":(_vm.USER_GUIDE_LOCATION + \"/ADE - EES - Learner User Guide.pdf\")}},[_vm._v(\"Learner User Guide\")])]):_vm._e(),(_vm.UserStore.getters.isStateUser())?_c('li',[_c('a',{staticClass:\"dropdown-item\",attrs:{\"target\":\"_blank\",\"href\":(_vm.USER_GUIDE_LOCATION + \"/ADE - EES - State User Guide.pdf\")}},[_vm._v(\"State User Guide\")])]):_vm._e(),_c('li',[_c('router-link',{staticClass:\"dropdown-item\",attrs:{\"to\":\"/view/rubrics\"}},[_vm._v(\"View Rubrics\")])],1),_c('li',[_c('router-link',{staticClass:\"dropdown-item\",attrs:{\"to\":\"/walkthroughs\"}},[_vm._v(\"Walkthroughs\")])],1)])]),(_vm.isLoggedIn)?_c('li',{staticClass:\"nav-item dropdown\"},[_c('a',{staticClass:\"nav-link dropdown-toggle\",attrs:{\"type\":\"button\",\"id\":\"loginDropdown\",\"role\":\"button\",\"data-bs-toggle\":\"dropdown\",\"aria-expanded\":\"false\"}},[_c('i',{staticClass:\"fas fa-user-circle\",attrs:{\"aria-hidden\":\"true\"}}),_vm._v(\" \"+_vm._s(_vm.UserStore.state.CurrentUserName))]),_c('ul',{staticClass:\"dropdown-menu\",attrs:{\"aria-labelledby\":\"loginDropdown\"}},[_c('li',[_c('a',{staticClass:\"dropdown-item\",on:{\"click\":_vm.logout}},[_vm._v(\"Logout\")])]),(_vm.UserStore.getters.isSiteAdmin() || _vm.UserStore.getters.isEduEval() || _vm.UserStore.getters.isImpersonating())?_c('li',[_c('a',{staticClass:\"dropdown-item\",on:{\"click\":_vm.impersonate}},[_vm._v(\"Change Context\")]),(_vm.UserStore.getters.isImpersonating())?_c('a',{staticClass:\"dropdown-item\",on:{\"click\":_vm.resetContext}},[_vm._v(\"Reset Context\")]):_vm._e()]):_vm._e()])]):_vm._e()],1)])])]),(_vm.UserStore.getters.isObserving())?_c('the-nav-bar-observer-sub-nav-bar'):_vm._e()],1)}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('a',{staticClass:\"navbar-brand col-3\",attrs:{\"href\":\"#\"}},[_c('img',{attrs:{\"src\":require(\"@/assets/ade-ees-logo.svg\"),\"alt\":\"ADE EES Logo\",\"height\":\"34px\"}}),_vm._v(\" ADE Educator Effectiveness System\")])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('button',{staticClass:\"navbar-toggler\",attrs:{\"type\":\"button\",\"data-bs-toggle\":\"collapse\",\"data-bs-target\":\"#theNavBar\",\"aria-controls\":\"theNavBar\",\"aria-expanded\":\"false\",\"aria-label\":\"Toggle navigation\"}},[_c('span',{staticClass:\"navbar-toggler-icon\"})])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('a',{staticClass:\"nav-link dropdown-toggle\",attrs:{\"id\":\"supportDropdown\",\"type\":\"button\",\"role\":\"button\",\"data-bs-toggle\":\"dropdown\",\"aria-expanded\":\"false\"}},[_c('i',{staticClass:\"fas fa-question-circle\",attrs:{\"aria-hidden\":\"true\"}}),_vm._v(\" Support\")])}]\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('nav',{staticClass:\"navbar navbar-expand-lg navbar-dark bg-danger-900\"},[_c('div',{staticClass:\"container-fluid\"},[_c('div',{staticClass:\"dropdown d-flex\"},[_c('button',{staticClass:\"btn btn-link-white dropdown-toggle\",attrs:{\"id\":\"RoleDropdown\",\"data-bs-toggle\":\"dropdown\",\"aria-expanded\":\"false\"}},[_vm._v(\" Viewing \"),_c('span',{staticClass:\"fw-bold\"},[_vm._v(_vm._s(_vm.userStore.getters.contextUserName()))])]),_c('ul',{staticClass:\"dropdown-menu\",attrs:{\"aria-labelledby\":\"RoleDropdown\"}},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.learnerFilter),expression:\"learnerFilter\"}],staticClass:\"mx-2 ps-2\",attrs:{\"type\":\"text\",\"placeholder\":\"Search...\"},domProps:{\"value\":(_vm.learnerFilter)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.learnerFilter=$event.target.value}}}),_vm._l((_vm.filteredLearners),function(learner){return _c('li',{key:learner.learnerId},[_c('a',{staticClass:\"dropdown-item\",on:{\"click\":function($event){return _vm.switchContextUser(learner.learnerId)}}},[_vm._v(_vm._s(learner.fullName))])])})],2)]),_c('div',{staticClass:\"collapse navbar-collapse ms-auto\",attrs:{\"id\":\"theNavBar\"}},[_c('ul',{staticClass:\"navbar-nav navbar-nav-second ms-auto mt-2 mt-lg-0 \"},[_c('li',{staticClass:\"nav-item\"},[_c('router-link',{staticClass:\"nav-link\",attrs:{\"to\":(\"/learner/Goals/\" + (_vm.userStore.state.ContextUserId))}},[_c('i',{staticClass:\"fas fa-medal\",attrs:{\"aria-hidden\":\"true\"}}),_vm._v(\" Goals\")])],1),_c('li',{staticClass:\"nav-item\"},[_c('router-link',{staticClass:\"nav-link\",attrs:{\"to\":(\"/learner/Comments/\" + (_vm.userStore.state.ContextUserId))}},[_c('i',{staticClass:\"fas fa-comment\",attrs:{\"aria-hidden\":\"true\"}}),_vm._v(\" Learner Comments \"),(_vm.userStore.getters.learnerMessageThreadUnreadCount(_vm.userStore.state.ContextUserId) > 0)?_c('span',{staticClass:\"badge me-1 badge-navbar\"},[_vm._v(_vm._s(_vm.userStore.getters.learnerMessageThreadUnreadCount(_vm.userStore.state.ContextUserId)))]):_vm._e()])],1),(_vm.userStore.getters.isObserver())?_c('li',{staticClass:\"nav-item\"},[_c('router-link',{staticClass:\"nav-link\",attrs:{\"to\":(\"/learner/Activities/\" + (_vm.userStore.state.ContextUserId))}},[_c('i',{staticClass:\"fas fa-calendar-day\",attrs:{\"aria-hidden\":\"true\"}}),_vm._v(\" Activities\")])],1):_vm._e(),(_vm.userStore.getters.isObserver())?_c('li',{staticClass:\"nav-item\"},[_c('router-link',{staticClass:\"nav-link\",attrs:{\"to\":(\"/learner/EndOfYear/\" + (_vm.userStore.state.ContextUserId))}},[_c('i',{staticClass:\"fas fa-flag-checkered\",attrs:{\"aria-hidden\":\"true\"}}),_vm._v(\" End of Year\")])],1):_vm._e(),(_vm.userStore.getters.isObserver())?_c('li',{staticClass:\"nav-item\"},[_c('router-link',{staticClass:\"nav-link\",attrs:{\"to\":(\"/learner/LearnerArchives/\" + (_vm.userStore.state.ContextUserId))}},[_c('i',{staticClass:\"fas fa-file-invoice\",attrs:{\"aria-hidden\":\"true\"}}),_vm._v(\" Archives\")])],1):_vm._e()])])])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { computed, defineComponent, Ref, ref } from '@vue/composition-api';\r\nimport { UserStoreKey } from '@/store/StoreInjectionKeys';\r\nimport { injectStrict } from '@/lib/utils';\r\nimport useLeaMetadata from '../../dataProviders/leaMetadata';\r\nimport router from \"@/router\";\r\n\r\nexport default defineComponent({\r\n name: 'TheNavBarObserverSubNavBar',\r\n setup(props, {root}) {\r\n const userStore = injectStrict(UserStoreKey);\r\n const { leaMetadata, loadLeas, contextDistricts, contextSchools, administeredSchools, contextSelectedDistrict, contextSelectedCoop } = useLeaMetadata(userStore.state.AdministeredSchoolLEAs)\r\n const contextSelectedSchool: Ref = ref(null);\r\n\r\n const learnerFilter = computed({\r\n get(): string {\r\n return userStore.getters.learnerFilter();\r\n },\r\n set(newFilter: string): void {\r\n userStore.actions.setLearnerFilter(newFilter);\r\n }\r\n })\r\n\r\n \r\n const schoolLEAs = computed(() => {\r\n const schools: any[] = []\r\n\r\n if (contextSchools.value) {\r\n contextSchools.value.forEach(element => {\r\n schools.push(element)\r\n })\r\n }\r\n\r\n if (administeredSchools.value) {\r\n administeredSchools.value.forEach(element => {\r\n schools.push(element)\r\n })\r\n }\r\n\r\n return schools\r\n })\r\n\r\n const contextLea = computed(() => {\r\n return contextSelectedSchool.value || contextSelectedDistrict.value\r\n })\r\n\r\n const filteredLearners = computed(() => \r\n userStore.getters.filteredLearners()\r\n )\r\n\r\n function switchContextUser(learnerId: string) {\r\n if(root.$route.path.includes('/Goals/')){\r\n router.push(`/learner/Goals/${learnerId}`)\r\n } else if(root.$route.path.includes('/Comments/')){\r\n router.push(`/learner/Comments/${learnerId}`)\r\n } else if(root.$route.path.includes('/learner/Activities/') || (root.$route.path.includes('/learner/') && root.$route.path.includes('/Activity/'))){\r\n router.push(`/learner/Activities/${learnerId}`)\r\n } else if(root.$route.path.includes('/EndOfYear/')){\r\n router.push(`/learner/EndOfYear/${learnerId}`)\r\n }\r\n }\r\n\r\n return {\r\n userStore,\r\n switchContextUser,\r\n learnerFilter,\r\n filteredLearners,\r\n contextDistricts,\r\n contextSchools,\r\n contextLea,\r\n contextSelectedSchool,\r\n contextSelectedDistrict,\r\n }\r\n }\r\n})\r\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TheNavBarObserverSubNavBar.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TheNavBarObserverSubNavBar.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./TheNavBarObserverSubNavBar.vue?vue&type=template&id=8fc83084&\"\nimport script from \"./TheNavBarObserverSubNavBar.vue?vue&type=script&lang=ts&\"\nexport * from \"./TheNavBarObserverSubNavBar.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.displayedRoles.length > 1)?_c('li',{staticClass:\"nav-item dropdown\"},[_c('a',{staticClass:\"nav-link dropdown-toggle\",attrs:{\"type\":\"button\",\"id\":\"RoleDropdown\",\"role\":\"button\",\"data-bs-toggle\":\"dropdown\",\"aria-expanded\":\"false\"}},[_c('i',{staticClass:\"fas fa-layer-group\",attrs:{\"aria-hidden\":\"true\"}}),_vm._v(\" \"+_vm._s(_vm.roleName(_vm.UserStore.state.CurrentRole)))]),_c('ul',{staticClass:\"dropdown-menu\",attrs:{\"aria-labelledby\":\"loginDropdown\"}},_vm._l((_vm.displayedRoles),function(role){return _c('li',{key:role},[_c('a',{staticClass:\"dropdown-item\",on:{\"click\":function($event){return _vm.switchRole(role)}}},[_vm._v(_vm._s(_vm.roleName(role)))])])}),0)]):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\r\nimport { defineComponent, computed } from \"@vue/composition-api\";\r\nimport { UserStoreKey } from '@/store/StoreInjectionKeys';\r\nimport { injectStrict } from '@/lib/utils';\r\n\r\nexport default defineComponent({\r\n name: 'TheNavBarRoleDropDown',\r\n setup() {\r\n const UserStore = injectStrict(UserStoreKey);\r\n\r\n const displayedRoles = computed(() => {\r\n const myRoles = [...UserStore.state.UserRoles]\r\n const observationalRoles = myRoles.filter (r => ['Observer', 'Collaborator'].includes(r))\r\n\r\n // if they are both Observer and Collaborator, just display the Observer role\r\n if (observationalRoles.length == 2) {\r\n return myRoles.filter(r => r !== 'Collaborator')\r\n } else {\r\n return myRoles\r\n }\r\n })\r\n const roleName = (role: string): string => {\r\n switch (role.toLowerCase()) {\r\n case \"districtadmin\": return \"District Administrator\"\r\n case \"siteadmin\": return \"Site Administrator\"\r\n case \"coopadmin\" : return \"Coop Administrator\"\r\n case \"schooladmin\" : return \"School Administrator\"\r\n default: return role.replaceAll(\"_\", \" \")\r\n }\r\n }\r\n function switchRole(role: string) {\r\n UserStore.actions.switchRole(role);\r\n }\r\n\r\n return {\r\n displayedRoles,\r\n roleName,\r\n UserStore,\r\n switchRole\r\n };\r\n }\r\n});\r\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TheNavBarRoleDropDown.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TheNavBarRoleDropDown.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./TheNavBarRoleDropDown.vue?vue&type=template&id=1155ea34&\"\nimport script from \"./TheNavBarRoleDropDown.vue?vue&type=script&lang=ts&\"\nexport * from \"./TheNavBarRoleDropDown.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { defineComponent, onMounted, ref } from \"@vue/composition-api\";\r\nimport TheNavBarObserverSubNavBar from \"@/modules/ees/components/the-nav-bar/TheNavBarObserverSubNavBar.vue\";\r\nimport TheNavBarRoleDropDown from \"@/modules/ees/components/the-nav-bar/TheNavBarRoleDropDown.vue\";\r\nimport { UserStoreKey, AuthServiceStoreKey } from \"@/store/StoreInjectionKeys\";\r\nimport { injectStrict } from \"@/lib/utils\";\r\n\r\nexport default defineComponent({\r\n name: \"TheNavBar\",\r\n components: {\r\n TheNavBarObserverSubNavBar,\r\n TheNavBarRoleDropDown\r\n },\r\n setup() {\r\n const authStore = injectStrict(AuthServiceStoreKey);\r\n const UserStore = injectStrict(UserStoreKey);\r\n const accessTokenExpired = ref(false);\r\n const isLoggedIn = ref(false);\r\n const USER_GUIDE_LOCATION = `${process.env.VUE_APP_IDENTITY_PROVIDER_DOMAIN}/content/user-guides`\r\n\r\n function login(): void {\r\n authStore.actions.login();\r\n }\r\n\r\n function logout(): void {\r\n authStore.actions.logout();\r\n }\r\n \r\n function impersonate(): void {\r\n const user = window.prompt(\"Enter User Id\")\r\n\r\n if (user) {\r\n authStore.actions.impersonate(user);\r\n }\r\n }\r\n\r\n function resetContext(): void {\r\n if (UserStore.state.OriginalContextUser != null) {\r\n authStore.actions.impersonate(UserStore.state.OriginalContextUser);\r\n }\r\n }\r\n\r\n\r\n onMounted(() => {\r\n authStore.getters.getUser().then(user => {\r\n if (user !== null) {\r\n accessTokenExpired.value = user.expired;\r\n }\r\n isLoggedIn.value = user !== null && !user.expired;\r\n\r\n if (isLoggedIn.value && user !== null) {\r\n UserStore.actions.setUser(user);\r\n }\r\n });\r\n });\r\n\r\n return {\r\n isLoggedIn,\r\n login,\r\n logout,\r\n impersonate,\r\n resetContext,\r\n UserStore,\r\n USER_GUIDE_LOCATION\r\n };\r\n }\r\n});\r\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TheNavBar.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TheNavBar.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./TheNavBar.vue?vue&type=template&id=7e1e74e4&\"\nimport script from \"./TheNavBar.vue?vue&type=script&lang=ts&\"\nexport * from \"./TheNavBar.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{staticClass:\"toast-container position-absolute bottom-0 end-0 p-3\"},_vm._l((_vm.toastStore.state.toastList),function(toast){return _c('toast-center-toast',{key:toast.id,attrs:{\"toast\":toast}})}),1)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{ref:\"toastNode\",class:(\"toast hide toast-\" + (_vm.toast.variant) + \" border-0\"),attrs:{\"data-bs-autohide\":\"false\",\"role\":\"alert\",\"aria-live\":\"assertive\",\"aria-atomic\":\"true\"}},[_c('div',{staticClass:\"toast-header\"},[_c('strong',{staticClass:\"me-auto\"},[_vm._v(_vm._s(_vm.toast.title))]),_c('button',{staticClass:\"btn-close me-2 m-auto\",attrs:{\"type\":\"button\",\"aria-label\":\"Close\"},on:{\"click\":function($event){return _vm.closeToast()}}})]),_c('div',{staticClass:\"toast-body\"},[_vm._v(\" \"+_vm._s(_vm.toast.message)+\" \")])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { defineComponent, onMounted, ref} from \"@vue/composition-api\";\r\nimport { ToastStoreKey } from \"@/store/StoreInjectionKeys\";\r\nimport { injectStrict } from \"@/lib/utils\";\r\nimport { Toast } from \"bootstrap\";\r\nimport { ToastModal } from '@/models/toast-modal';\r\n\r\nexport default defineComponent({\r\n name: \"ToastCenterToast\",\r\n props: {\r\n toast: {\r\n type: ToastModal,\r\n required: true\r\n }\r\n },\r\n setup(props) {\r\n const toastNode = ref(null)\r\n const toastStore = injectStrict(ToastStoreKey);\r\n\r\n function closeToast(){\r\n toastStore.actions.deleteToast(props.toast.id);\r\n }\r\n\r\n onMounted(() => {\r\n var newToast = new Toast(toastNode.value as any);\r\n newToast.show();\r\n\r\n setTimeout(() => {\r\n toastStore.actions.deleteToast(props.toast.id)\r\n }, props.toast.duration)\r\n })\r\n return {\r\n toastNode,\r\n closeToast\r\n };\r\n }\r\n});\r\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ToastCenterToast.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ToastCenterToast.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./ToastCenterToast.vue?vue&type=template&id=5c180a99&\"\nimport script from \"./ToastCenterToast.vue?vue&type=script&lang=ts&\"\nexport * from \"./ToastCenterToast.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\r\nimport { defineComponent, onMounted, ref } from \"@vue/composition-api\";\r\nimport { ToastStoreKey } from \"@/store/StoreInjectionKeys\";\r\nimport { injectStrict } from \"@/lib/utils\";\r\nimport { Toast } from \"bootstrap\";\r\nimport ToastCenterToast from './ToastCenterToast.vue';\r\n\r\nexport default defineComponent({\r\n name: \"TheToastCenter\",\r\n components: {\r\n ToastCenterToast\r\n },\r\n setup() {\r\n const toastStore = injectStrict(ToastStoreKey);\r\n\r\n return {\r\n toastStore,\r\n };\r\n }\r\n});\r\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TheToastCenter.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TheToastCenter.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./TheToastCenter.vue?vue&type=template&id=21eab21e&\"\nimport script from \"./TheToastCenter.vue?vue&type=script&lang=ts&\"\nexport * from \"./TheToastCenter.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import { reactive, readonly, watch } from \"@vue/composition-api\";\r\nimport { EndOfYearRatingComponentEvidenceDTO, EndOfYearRatingComponentRatingDTO, EndOfYearRatingComponentArtifactDTO, EndOfYearRatingComponentPromptDTO, EndOfYearRatingDTO, EndOfYearRatingService, UpdateEndOfYearRatingCommand, EndOfYearRatingSummaryDTO, DomainComponentRating, RubricDomainRating, ResetEndOfYearRatingCommand } from '@/generated/api.clients';\r\nimport Api from '@/plugin/Api';\r\nimport UserStore from '@/modules/ees/store/UserStore';\r\nimport router from '@/router';\r\n\r\nconst endOfYearRatingApi = new EndOfYearRatingService(undefined, Api);\r\nlet _timeout: any;\r\n\r\nconst state = reactive({\r\n endOfYearRatings: new Array(),\r\n currentEndOfYearRatingId: -1,\r\n currentEndOfYearRating: new EndOfYearRatingDTO(),\r\n currentEndOfYearRatingRubricVersionId: -1,\r\n currentEndOfYearRatingRubricVersionName: '' as string | undefined,\r\n endOfYearRatingComponentEvidence: new Array(),\r\n endOfYearRatingComponentRating: new Array(),\r\n endOfYearRatingComponentPrompt: new Array(),\r\n endOfYearRatingComponentArtifact: new Array()\r\n})\r\n\r\nwatch(() => state.currentEndOfYearRating.clone(), (data, oldData) => {\r\n if(data.id === oldData.id){\r\n if(_timeout) {\r\n clearTimeout(_timeout);\r\n }\r\n _timeout = setTimeout(() => actions.saveEndOfYearRating(), 500);\r\n }\r\n},\r\n{ deep: true});\r\n\r\nconst actions = {\r\n saveEndOfYearRating(): void {\r\n if (router.currentRoute.query['archive'] === 'true') { \r\n return; \r\n }\r\n const updateEndOfYearRatingCommand = new UpdateEndOfYearRatingCommand({\r\n endOfYearRating: state.currentEndOfYearRating.clone()\r\n });\r\n \r\n endOfYearRatingApi.update(state.currentEndOfYearRating.id, updateEndOfYearRatingCommand).then((ratingSummary) => {\r\n state.currentEndOfYearRating.ratingSummary = ratingSummary as any;\r\n });\r\n },\r\n async hydrateEndOfYearRatings(): Promise{\r\n endOfYearRatingApi.getEndOfYearRatingsListQuery(UserStore.state.ContextUserId).then((endOfYearRatingList) => {\r\n state.endOfYearRatings = endOfYearRatingList;\r\n if(state.currentEndOfYearRatingId === -1 || !state.endOfYearRatings.some(x => x.id === state.currentEndOfYearRatingId)) {\r\n if(state.endOfYearRatings.length > 0) {\r\n actions.setCurrentEndOfYearRating(state.endOfYearRatings[0].id);\r\n } else {\r\n actions.setCurrentEndOfYearRating(-1);\r\n }\r\n }\r\n });\r\n },\r\n async setCurrentEndOfYearRating(id: number): Promise {\r\n console.log(`Setting current end of year rating to id: ${id}`)\r\n if(state.endOfYearRatings.some(x => x.id === id)){\r\n console.log(`Found in list of endOfYearRatings`)\r\n endOfYearRatingApi.get(id).then((endOfYearRating) => {\r\n state.currentEndOfYearRatingId = id;\r\n state.currentEndOfYearRatingRubricVersionId = endOfYearRating.rubricVersionId;\r\n state.currentEndOfYearRatingRubricVersionName = endOfYearRating.rubricVersionName;\r\n state.currentEndOfYearRating = endOfYearRating;\r\n endOfYearRatingApi.getEndOfYearRatingComponentEvidenceQuery(state.currentEndOfYearRating.schoolYearId, UserStore.state.ContextUserId).then((evidence) => {\r\n state.endOfYearRatingComponentEvidence = evidence;\r\n });\r\n endOfYearRatingApi.getActivityRatingComponentRatingsQuery(state.currentEndOfYearRating.schoolYearId, UserStore.state.ContextUserId).then((rating) => {\r\n state.endOfYearRatingComponentRating = rating;\r\n });\r\n endOfYearRatingApi.getEndOfYearRatingComponentPromptQuery(state.currentEndOfYearRating.schoolYearId, UserStore.state.ContextUserId).then((rating) => {\r\n state.endOfYearRatingComponentPrompt = rating;\r\n });\r\n endOfYearRatingApi.getEndOfYearRatingComponentArtifactQuery(state.currentEndOfYearRating.schoolYearId, UserStore.state.ContextUserId).then((artifact) => {\r\n state.endOfYearRatingComponentArtifact = artifact;\r\n });\r\n });\r\n } else {\r\n state.currentEndOfYearRatingId = -1;\r\n state.currentEndOfYearRating = new EndOfYearRatingDTO();\r\n state.endOfYearRatingComponentEvidence = new Array(),\r\n state.endOfYearRatingComponentRating = new Array(),\r\n state.endOfYearRatingComponentPrompt = new Array()\r\n }\r\n },\r\n setComponentRatingSelectedBy(domainKey: string, componentKey: string): void {\r\n const component = state.currentEndOfYearRating.rating?.domains?.find(d => d.key === domainKey)?.components?.find(c => c.key === componentKey)\r\n if(component)\r\n {\r\n component.selectedByUserId = UserStore.state.UserId;\r\n }\r\n },\r\n resetComponentRating(domainKey: string | undefined, componentKey: string): void {\r\n if(domainKey !== undefined){\r\n const component = state.currentEndOfYearRating.rating?.domains?.find(d => d.key === domainKey)?.components?.find(c => c.key === componentKey)\r\n if(component)\r\n {\r\n component.selectedByUserId = undefined;\r\n component.selectedLevel = undefined;\r\n }\r\n }\r\n },\r\n resetEndOfYearRating(ratingId: number): void {\r\n endOfYearRatingApi.reset(ratingId, new ResetEndOfYearRatingCommand({ endOfYearRatingId: ratingId }))\r\n .then((newRatingId) => {\r\n this.hydrateEndOfYearRatings()\r\n })\r\n }\r\n}\r\n\r\nconst getters = {\r\n componentEvidence(key: string | undefined): EndOfYearRatingComponentEvidenceDTO[] {\r\n return key !== undefined ? state.endOfYearRatingComponentEvidence.filter(obj => obj.componentKey === key) : [];\r\n },\r\n componentArtifact(key: string | undefined): EndOfYearRatingComponentArtifactDTO[] {\r\n return key !== undefined ? state.endOfYearRatingComponentArtifact.filter(obj => obj.componentKey === key) : [];\r\n },\r\n componentRatings(key: string | undefined): EndOfYearRatingComponentRatingDTO[] {\r\n return key !== undefined ? state.endOfYearRatingComponentRating.filter(obj => obj.componentKey === key) : [];\r\n },\r\n componentPrompt(key: string): EndOfYearRatingComponentPromptDTO[] {\r\n return state.endOfYearRatingComponentPrompt.filter(obj => obj.componentKey === key);\r\n },\r\n domainLevelScore(domain: RubricDomainRating): number {\r\n let levelTotal = 0;\r\n let levelCount = 0;\r\n let scoreAverage = 0;\r\n if (domain.components) {\r\n for (const level of domain.components ) {\r\n if (level.selectedLevel != null && level.selectedLevel !== undefined) {\r\n levelTotal += (level.selectedLevel + 1) \r\n levelCount ++;\r\n }\r\n } \r\n }\r\n if (levelCount > 0) {\r\n scoreAverage = levelTotal / levelCount; \r\n return Number(scoreAverage.toFixed(2))\r\n } \r\n else\r\n return 0\r\n },\r\n\r\n endOfYearRatingEffectiveness (ratingSummary: number): string {\r\n if(ratingSummary > 3.50){\r\n return \"Highly Effective\";\r\n }\r\n else if(ratingSummary > 2.50 ){\r\n return \"Effective\";\r\n }\r\n else if(ratingSummary > 1.50){\r\n return \"Progressive\";\r\n }\r\n else if(ratingSummary > .9){\r\n return \"Unsatisfactory\";\r\n }\r\n return '';\r\n },\r\n\r\n componentRatingEffectiveness (ratingSummary: number): string{\r\n if (ratingSummary == 3) {\r\n return \"Highly Effective\";\r\n }\r\n else if (ratingSummary == 2) {\r\n return \"Effective\";\r\n }\r\n else if (ratingSummary == 1) {\r\n return \"Progressive\";\r\n }\r\n else if (ratingSummary == 0) {\r\n return \"Unsatisfactory\";\r\n }\r\n return '';\r\n }\r\n\r\n}\r\nexport default {\r\n state: readonly(state),\r\n actions,\r\n getters\r\n}","import { reactive, readonly } from \"@vue/composition-api\";\r\n\r\nconst state = reactive({\r\n isToggled: true\r\n})\r\n\r\nconst actions = {\r\n toggleSideBar():void {\r\n state.isToggled = !state.isToggled;\r\n },\r\n reset():void {\r\n state.isToggled = true;\r\n }\r\n}\r\n\r\nexport default {\r\n state: readonly(state),\r\n actions\r\n}","import { reactive, readonly } from \"@vue/composition-api\";\r\nimport { nanoid } from 'nanoid'\r\nimport { RubricService, CreateRubricCommand, CreateRubricVersionCommand, UpdateRubricVersionCommand, SetRubricVersionStatusCommand, CloneRubricVersionCommand, RubricDto, RubricVersionDto, RubricVersionStatus, RubricMetadata, Domain, Component, PerformanceLevel, RubricResource, UpdateRubricResourcesCommand } from '@/generated/api.clients';\r\nimport Api from '@/plugin/Api';\r\nimport Vue from \"vue\";\r\n\r\nconst rubricService = new RubricService(undefined, Api)\r\n\r\nconst state = reactive({\r\n rubrics: [],\r\n rubric: null, \r\n rubricVersions: [],\r\n rubricVersion: null, \r\n})\r\n\r\nconst actions = {\r\n demoteDomain(index: number): void {\r\n const item = state?.rubricVersion?.metadata?.domains?.splice(index, 1)\r\n\r\n if (item) {\r\n state?.rubricVersion?.metadata?.domains?.splice(index+1, 0, item[0])\r\n }\r\n },\r\n promoteDomain(index: number): void {\r\n const item = state?.rubricVersion?.metadata?.domains?.splice(index, 1)\r\n\r\n if (item) {\r\n state?.rubricVersion?.metadata?.domains?.splice(index-1, 0, item[0])\r\n }\r\n },\r\n removeDomain(index: number): void {\r\n state?.rubricVersion?.metadata?.domains?.splice(index, 1)\r\n },\r\n demoteComponent(domainIndex: number, index: number): void {\r\n const domains = state?.rubricVersion?.metadata?.domains;\r\n if (domains && domains.length > domainIndex) {\r\n const item = domains[domainIndex].components?.splice(index, 1);\r\n\r\n if (item && item.length > 0) {\r\n domains[domainIndex].components?.splice(index+1, 0, item[0])\r\n }\r\n }\r\n },\r\n promoteComponent(domainIndex: number, index: number): void {\r\n const domains = state?.rubricVersion?.metadata?.domains;\r\n if (domains && domains.length > domainIndex) {\r\n const item = domains[domainIndex].components?.splice(index, 1);\r\n\r\n if (item && item.length > 0) {\r\n domains[domainIndex].components?.splice(index-1, 0, item[0])\r\n }\r\n }\r\n },\r\n removeComponent(domainIndex: number, index: number): void {\r\n const domains = state?.rubricVersion?.metadata?.domains;\r\n if (domains && domains.length > domainIndex) {\r\n domains[domainIndex].components?.splice(index, 1);\r\n }\r\n },\r\n\r\n addDomain(name: string): void {\r\n state?.rubricVersion?.metadata?.domains?.push(new Domain({name: name, key: nanoid(), components: []}))\r\n },\r\n addResource(name: string): void {\r\n state?.rubricVersion?.metadata?.resources?.push(new RubricResource({name: name, address: ''}))\r\n },\r\n removeResource(resourceIndex: number) : void {\r\n const resources = state?.rubricVersion?.metadata?.resources;\r\n if(resources && resources.length > resourceIndex){\r\n state?.rubricVersion?.metadata?.resources?.splice(resourceIndex, 1)\r\n }\r\n },\r\n addComponent(domainIndex: number, name: string): void {\r\n const domains = state?.rubricVersion?.metadata?.domains;\r\n if (domains && domains.length > domainIndex) {\r\n\r\n if (!domains[domainIndex].components) {\r\n Vue.set(domains[domainIndex], 'components', [])\r\n }\r\n\r\n if (domains[domainIndex].components) {\r\n domains[domainIndex].components?.push(new Component(\r\n {\r\n selfAssessmentElements: [],\r\n name: name, \r\n key: nanoid(), \r\n performanceLevels: [\r\n new PerformanceLevel({level: 0, description: 'Enter description for Unsatisfactory', inAddtionToPreviousLevel: false, criticalAttributes: undefined }),\r\n new PerformanceLevel({level: 1, description: '', inAddtionToPreviousLevel: false, criticalAttributes: undefined}),\r\n new PerformanceLevel({level: 2, description: '', inAddtionToPreviousLevel: false, criticalAttributes: undefined}),\r\n new PerformanceLevel({level: 3, description: '', inAddtionToPreviousLevel: false, criticalAttributes: undefined}),\r\n ]\r\n }))\r\n }\r\n }\r\n },\r\n\r\n async createRubricVersion(): Promise {\r\n const cmd = new CreateRubricVersionCommand();\r\n cmd.rubricId = state?.rubric?.id ?? 0\r\n cmd.metadata = state?.rubricVersion?.metadata\r\n\r\n const newRubric = await rubricService.createRubricVersion(cmd)\r\n\r\n state.rubricVersion = new RubricVersionDto({\r\n id: newRubric,\r\n rubricId: state.rubric?.id as number,\r\n version: 0,\r\n metadata: undefined,\r\n created: new Date(),\r\n lastModified: undefined,\r\n status: 0\r\n })\r\n\r\n return newRubric\r\n },\r\n\r\n async cloneRubricVersion(): Promise {\r\n const cmd = new CloneRubricVersionCommand({\r\n id: state?.rubricVersion?.id ?? 0\r\n });\r\n\r\n return rubricService.cloneRubricVersion(cmd)\r\n },\r\n\r\n\r\n async updateRubricVersion(): Promise {\r\n const cmd = new UpdateRubricVersionCommand();\r\n cmd.rubricVersionId = Number(state?.rubricVersion?.id);\r\n cmd.metadata = state?.rubricVersion?.metadata;\r\n return rubricService.updateRubricVersion(cmd);\r\n },\r\n\r\n async updateRubricResources(): Promise{\r\n const cmd = new UpdateRubricResourcesCommand();\r\n cmd.rubricVersionId = Number(state?.rubricVersion?.id);\r\n cmd.resources = state.rubricVersion?.metadata?.resources;\r\n return rubricService.updateRubricResources(cmd);\r\n },\r\n\r\n async loadRubrics(): Promise {\r\n state.rubrics = await rubricService.getAllRubrics();\r\n },\r\n\r\n async loadRubricVersions(rubricId: number): Promise {\r\n if (state){\r\n state.rubricVersions = await rubricService.getRubricVersions(rubricId);\r\n }\r\n },\r\n\r\n async loadRubricVersion(id: number): Promise {\r\n const version = await rubricService.getRubricVersion(id);\r\n version.metadata = version.metadata || new RubricMetadata();\r\n version.metadata.domains = version.metadata.domains || [];\r\n if (state){\r\n state.rubricVersion = version\r\n }\r\n },\r\n \r\n activateRubricVersion(): Promise {\r\n return rubricService.setRubricVersionStatus(new SetRubricVersionStatusCommand({\r\n id: state?.rubricVersion?.id ?? 0,\r\n status: RubricVersionStatus.Active\r\n }))\r\n .then((id) => {\r\n if (state && state.rubricVersion){\r\n state.rubricVersion.status = RubricVersionStatus.Active;\r\n } \r\n return id;\r\n })\r\n },\r\n\r\n deactivateRubricVersion(): Promise {\r\n return rubricService.setRubricVersionStatus(new SetRubricVersionStatusCommand({\r\n id: state?.rubricVersion?.id ?? 0,\r\n status: RubricVersionStatus.Archived\r\n }))\r\n .then((id) => {\r\n if (state && state.rubricVersion){\r\n state.rubricVersion.status = RubricVersionStatus.Archived;\r\n } \r\n return id;\r\n })\r\n },\r\n \r\n async saveRubric(name: string, targetRoleType: number): Promise {\r\n return rubricService.createRubric(new CreateRubricCommand({name: name, staffRoleType: targetRoleType}))\r\n },\r\n\r\n async loadRubric(id: number): Promise {\r\n state.rubricVersion = null\r\n rubricService.get(id).then(rubric => {\r\n state.rubric = rubric\r\n })\r\n }\r\n}\r\n\r\nconst getters = {\r\n isReadOnly(): boolean {\r\n return state?.rubricVersion?.status != RubricVersionStatus.Draft\r\n }\r\n}\r\n\r\nexport default {\r\n state: readonly(state),\r\n actions,\r\n getters\r\n}","import { reactive, readonly } from '@vue/composition-api'\r\nimport { APSCNADRecordDto, DistrictCoopRelationship, DistrictPersonDto, EESRoleDto, EFinanceEmployeeDto, ESchoolStaffDto, JobAssignmentDto, LEAProfileCoordinatorCodeDto, StaffListService } from '@/generated/api.clients'\r\nimport Api from '@/plugin/Api'\r\n\r\nconst api = new StaffListService(undefined, Api)\r\n\r\nconst state = reactive({\r\n employees: new Array(),\r\n jobAssignments: new Array(),\r\n roles: new Array(),\r\n staff: new Array(),\r\n persons: new Array(),\r\n adRecords: new Array(),\r\n coordinatorCodes: new Array()\r\n})\r\n\r\nconst actions = {\r\n loadStaffData(districtLEA: string): void{\r\n this.getEmployees(districtLEA)\r\n this.getJobAssignments(districtLEA)\r\n this.getEESRoles(districtLEA)\r\n this.getESchoolStaff(districtLEA)\r\n this.getPersons(districtLEA)\r\n this.getADRecords(districtLEA)\r\n this.getCoordinatorCodes(districtLEA)\r\n },\r\n getEmployees(districtLea: string): void {\r\n api.getDistrictEmployees(districtLea)\r\n .then(data => {\r\n state.employees.splice(0, state.employees.length, ...data)\r\n })\r\n },\r\n getJobAssignments(districtLea: string): void {\r\n api.getDistrictJobAssignments(districtLea)\r\n .then(data => {\r\n state.jobAssignments.splice(0, state.jobAssignments.length, ...data)\r\n })\r\n },\r\n getEESRoles(districtLea: string): void {\r\n api.getDistrictEESRoles(districtLea)\r\n .then(data => {\r\n state.roles.splice(0, state.jobAssignments.length, ...data)\r\n })\r\n },\r\n getESchoolStaff(districtLea: string): void {\r\n api.getDistrictStaff(districtLea)\r\n .then(data => {\r\n state.staff.splice(0, state.jobAssignments.length, ...data)\r\n })\r\n },\r\n getPersons(districtLea: string): void {\r\n api.getDistrictPersons(districtLea)\r\n .then(data => {\r\n state.persons.splice(0, state.persons.length, ...data)\r\n })\r\n },\r\n getADRecords(districtLea: string): void {\r\n api.getDistrictAPSCNADEntries(districtLea)\r\n .then(data => {\r\n state.adRecords.splice(0, state.adRecords.length, ...data)\r\n })\r\n },\r\n getCoordinatorCodes(districtLea: string): void {\r\n api.getDistrictCoordinatorCodes(districtLea)\r\n .then(data => {\r\n state.coordinatorCodes.splice(0, state.coordinatorCodes.length, ...data)\r\n })\r\n }\r\n}\r\n\r\nconst getters = {\r\n\r\n}\r\n\r\nexport default {\r\n state: readonly(state),\r\n actions,\r\n getters\r\n}","import { reactive, readonly, computed, ComputedRef } from \"@vue/composition-api\";\r\nimport { DistrictStatisticService, LearnerScheduleStatisticDto, LearnerService, LearnerSummativeDataDto, ObserverLearnerService, SetLearnerSummativeDataVirtualEducatorValueCommand, StaffType } from '@/generated/api.clients';\r\nimport Api from '@/plugin/Api';\r\nimport UserStore from \"../UserStore\";\r\n\r\nconst observerLearnerApi = new ObserverLearnerService(undefined, Api);\r\nconst districtStatisticApi = new DistrictStatisticService(undefined, Api);\r\nconst learnerApi = new LearnerService(undefined, Api);\r\n\r\n\r\nconst state = reactive({\r\n learnerSummativeData: new Array(),\r\n learnerPgpCounts: new LearnerScheduleStatisticDto,\r\n learnerFormalObservationCounts: new LearnerScheduleStatisticDto,\r\n learnerCount: 0,\r\n observerCount: 0,\r\n learnerYearStatus: ''\r\n})\r\n\r\nconst actions = {\r\n getCurrentYearStatus(): void {\r\n learnerApi.getLearnerYearStatus(UserStore.state.ContextUserId).then(status => {\r\n state.learnerYearStatus = status\r\n })\r\n },\r\n getLearnerSummativeReviewData(lea: string): void {\r\n observerLearnerApi.getLearnerReviewData(lea).then(data =>{\r\n state.learnerSummativeData = [...data]\r\n });\r\n },\r\n setLearnerVirtualEducator(params: SetLearnerSummativeDataVirtualEducatorValueCommand): Promise>{\r\n return observerLearnerApi.setLearnerVirtualEducator(params)\r\n },\r\n getLearnerScheduleStatistics(districtLea: string): Promise{\r\n districtStatisticApi.getLearnerScheduleCounts(districtLea, 'Observation').then(counts => {\r\n state.learnerFormalObservationCounts = counts\r\n })\r\n return districtStatisticApi.getLearnerScheduleCounts(districtLea, 'PGP').then(counts => {\r\n state.learnerPgpCounts = counts\r\n })\r\n },\r\n getStaffCounts(districtLea: string): Promise{\r\n districtStatisticApi.getStaffCount(districtLea, StaffType.Learner).then(staffCount => {\r\n state.learnerCount = staffCount.count\r\n })\r\n return districtStatisticApi.getStaffCount(districtLea, StaffType.Observer).then(staffCount => {\r\n state.observerCount = staffCount.count\r\n })\r\n },\r\n}\r\n\r\nconst getters = {\r\n filteredLearners: (filterCallback): ComputedRef => computed(() => state.learnerSummativeData.filter(filterCallback))\r\n}\r\n\r\nexport default {\r\n state: readonly(state),\r\n actions,\r\n getters\r\n}\r\n ","import { reactive, readonly } from \"@vue/composition-api\";\r\nimport { ActivityTypeService, ActivityTypeDTO } from '@/generated/api.clients';\r\nimport Api from '@/plugin/Api';\r\n\r\nconst api = new ActivityTypeService(undefined, Api);\r\n\r\nconst state = reactive({\r\n activityTypes: new Array()\r\n})\r\n\r\nconst actions = {\r\n getActivityTypes(): Promise {\r\n return api.getActivityTypes().then((data) => {\r\n state.activityTypes = data;\r\n return state.activityTypes;\r\n })\r\n }\r\n}\r\n\r\nconst getters = {\r\n}\r\n\r\nexport default {\r\n state: readonly(state),\r\n actions,\r\n getters\r\n}","import { reactive, readonly } from \"@vue/composition-api\";\r\nimport Api from '@/plugin/Api';\r\nimport { ActivityDTO, ApplicationMetadataDTO, MetadataService, StaffRoleTypeDto } from \"@/generated/api.clients\";\r\n\r\nconst metadataApi = new MetadataService(undefined, Api);\r\n\r\nconst state = reactive({\r\n applicationMetadata: new ApplicationMetadataDTO(),\r\n})\r\n\r\nconst actions = {\r\n async hydrateApplicationMetadata(): Promise {\r\n const metadata = await metadataApi.getApplicationMetadata();\r\n state.applicationMetadata = metadata;\r\n return;\r\n },\r\n}\r\nconst getters = {\r\n}\r\n\r\nexport default {\r\n state: readonly(state),\r\n actions,\r\n getters\r\n}","import * as signalR from '@microsoft/signalr';\r\nimport { CreateMessageCommand, MessageDTO } from '@/generated/api.clients';\r\nimport AuthServiceStore from '@/modules/ees/store/AuthServiceStore';\r\nimport ToastStore from '@/modules/ees/store/ToastStore';\r\n\r\nexport default class MessageHub {\r\n\r\n private connection: any;\r\n\r\n constructor(callBackOnAddMessage: (messageDTO: MessageDTO) => void) {\r\n const apiPrefix = process.env.VUE_APP_EES_WEB_API.includes('localhost') ? '' : '/api'\r\n AuthServiceStore.getters.getAccessToken().then((token) => {\r\n this.connection = new signalR.HubConnectionBuilder()\r\n .withUrl(`${process.env.VUE_APP_EES_WEB_API}${apiPrefix}/messagehub`, { accessTokenFactory: () => token})\r\n .withAutomaticReconnect()\r\n .configureLogging(signalR.LogLevel.Trace)\r\n .build();\r\n\r\n this.connection.on(\"AddMessage\", (message) => {\r\n const messageDTO: MessageDTO = new MessageDTO({\r\n body: message.body,\r\n createdDate: new Date(message.createdDate),\r\n senderName: message.senderName,\r\n senderId: message.senderId,\r\n id: message.id,\r\n learnerId: ''\r\n });\r\n \r\n callBackOnAddMessage(messageDTO);\r\n });\r\n\r\n this.connection.onclose(async () => {\r\n await this.start();\r\n });\r\n\r\n this.start();\r\n });\r\n }\r\n\r\n public joinMessageThread(messageThreadId: number): void {\r\n try {\r\n //console.log(\"join chat\");\r\n this.connection.invoke(\"JoinMessageThread\", messageThreadId);\r\n } catch (err) {\r\n ToastStore.actions.addToast('Chat Error', 'Failed to join comment thread', 'danger');\r\n //console.error(err);\r\n }\r\n }\r\n\r\n public leaveMessageThread(messageThreadId: number): void {\r\n try {\r\n //console.log(\"leave chat\");\r\n this.connection.invoke(\"LeaveMessageThread\", messageThreadId);\r\n } catch (err) {\r\n ToastStore.actions.addToast('Chat Error', 'Failed to leave comment thread', 'danger');\r\n //console.error(err);\r\n }\r\n }\r\n\r\n public createMessage(command: CreateMessageCommand): void {\r\n try {\r\n this.connection.invoke(\"CreateMessage\", command);\r\n } catch (err) {\r\n ToastStore.actions.addToast('Chat Error', 'Failed to create message', 'danger');\r\n //console.error(err);\r\n }\r\n }\r\n private async start() {\r\n try {\r\n AuthServiceStore.getters.isLoggedIn().then((isLoggedIn) => {\r\n if(isLoggedIn){\r\n this.connection.start();\r\n }\r\n });\r\n \r\n //console.log(\"SignalR Connected.\");\r\n } catch (err) {\r\n ToastStore.actions.addToast('Chat Error', 'SignalR error', 'danger')\r\n //console.log(err);\r\n setTimeout(this.start, 5000);\r\n }\r\n }\r\n\r\n}","import { reactive, readonly, watch } from \"@vue/composition-api\";\r\nimport { CreateMessageCommand, CreateMessageReadStateCommand, MessageDTO, MessageThreadPagingVM, MessageThreadService, RemoveMessageCommand } from '@/generated/api.clients';\r\nimport Api from '@/plugin/Api';\r\nimport UserStore from '@/modules/ees/store/UserStore';\r\nimport MessageHub from '@/plugin/MessageHub';\r\n\r\nconst messageThreadApi = new MessageThreadService(undefined, Api);\r\nconst messageHub = new MessageHub(addMessage);\r\n\r\n\r\nconst state = reactive({\r\n messageThreadLearnerId: \"\",\r\n messageThread: new MessageThreadPagingVM,\r\n isLoadingMessages: false\r\n})\r\n\r\nwatch(() => state.messageThreadLearnerId, (data, oldData) => {\r\n if(data !== oldData){\r\n if(oldData !== \"\") {\r\n messageHub.leaveMessageThread(state.messageThread.id);\r\n }\r\n if(state.messageThreadLearnerId === \"\") {\r\n state.messageThread = new MessageThreadPagingVM;\r\n //make sure we leave message thread but dont try to get new data\r\n } else {\r\n messageThreadApi.getLearnerMessageThread(state.messageThreadLearnerId, -1).then((messageThread) => {\r\n state.messageThread = messageThread;\r\n UserStore.actions.getMessageCounts();\r\n messageHub.joinMessageThread(state.messageThread.id)\r\n });\r\n }\r\n }\r\n});\r\n\r\nfunction addMessage(message: MessageDTO):void{\r\n state.messageThread.messages?.unshift(message);\r\n\r\n const createMessageReadStateCommand = new CreateMessageReadStateCommand({\r\n messageId: message.id\r\n });\r\n messageThreadApi.createMessageReadState(createMessageReadStateCommand)\r\n\r\n}\r\n\r\n\r\nconst actions = {\r\n setLearnerId(learnerId: string): void {\r\n state.messageThreadLearnerId = learnerId;\r\n },\r\n clearMessageThread(): void {\r\n state.messageThreadLearnerId = \"\";\r\n },\r\n addMessage(message: string): void {\r\n const createMessageCommand = new CreateMessageCommand({\r\n body: message,\r\n messageThreadId: state.messageThread.id\r\n });\r\n\r\n messageHub.createMessage(createMessageCommand);\r\n\r\n },\r\n removeMessage(messageId: number): void {\r\n if (window.confirm('Are you sure you want to delete this message?')) {\r\n const message = new RemoveMessageCommand({\r\n messageId: messageId\r\n });\r\n messageThreadApi.deleteMessage(message).then(() => {\r\n if (state.messageThread.messages) {\r\n state.messageThread.messages = state.messageThread.messages.filter(m => m.id != message.messageId)\r\n }\r\n })\r\n }\r\n },\r\n leaveMessageThread(): void {\r\n state.messageThreadLearnerId = \"\";\r\n },\r\n loadMoreMessages(): void {\r\n if(state.messageThread.messages !== undefined && state.messageThread.hasMoreContent)\r\n {\r\n state.isLoadingMessages = true;\r\n messageThreadApi.getLearnerMessageThread(state.messageThreadLearnerId, state.messageThread.messages[state.messageThread.messages.length - 1].id).then((newMessageThreadPage) => {\r\n if(state.messageThread.id === newMessageThreadPage.id){\r\n if(newMessageThreadPage.messages != undefined)\r\n {\r\n if(state.messageThread.messages === undefined)\r\n {\r\n state.messageThread.messages = [];\r\n }\r\n state.messageThread.messages = [...state.messageThread.messages, ...newMessageThreadPage.messages];\r\n }\r\n state.messageThread.hasMoreContent = newMessageThreadPage.hasMoreContent;\r\n }\r\n UserStore.actions.getMessageCounts();\r\n }).finally(() =>{\r\n state.isLoadingMessages = false;\r\n });\r\n }\r\n }\r\n}\r\n\r\nconst getters = {\r\n}\r\n\r\nexport default {\r\n state: readonly(state),\r\n actions,\r\n getters\r\n}","import { computed, reactive, readonly, ComputedRef } from '@vue/composition-api';\r\nimport { SchoolYearService, SchoolYearDTO } from '@/generated/api.clients';\r\nimport Api from '@/plugin/Api';\r\n\r\nconst schoolYearApi = new SchoolYearService(undefined, Api);\r\n\r\nconst state = reactive({\r\n SchoolYear: new SchoolYearDTO(),\r\n schoolYears: [] as SchoolYearDTO[]\r\n})\r\n\r\nconst getters = {\r\n yearLocked(): boolean {\r\n if(state.SchoolYear.leaBuildingAndRoleAssignmentLockDate && state.SchoolYear.leaBuildingAndRoleAssignmentLockDate < new Date()){\r\n return true;\r\n }\r\n return false;\r\n }\r\n}\r\n\r\nconst actions = {\r\n getCurrentSchoolYear(): void {\r\n schoolYearApi.getCurrentSchoolYear().then((schoolYear) => {\r\n state.SchoolYear = schoolYear;\r\n });\r\n },\r\n async getSchoolYears(): Promise {\r\n state.schoolYears = await schoolYearApi.getSchoolYears();\r\n },\r\n advanceSchoolYear(): void {\r\n schoolYearApi.advanceSchoolYear().then((schoolYear) => {\r\n state.SchoolYear = schoolYear;\r\n });\r\n },\r\n async updateSchoolYear(): Promise {\r\n schoolYearApi.updateSchoolYear(state.SchoolYear.id, state.SchoolYear).then(sy => {\r\n state.SchoolYear = sy;\r\n actions.getSchoolYears();\r\n })\r\n }\r\n}\r\n\r\nexport default {\r\n state: readonly(state),\r\n actions,\r\n getters\r\n}","import { reactive, readonly } from \"@vue/composition-api\";\r\nimport { EmailNotificationListItem, NotificationService } from '@/generated/api.clients';\r\nimport Api from '@/plugin/Api';\r\n\r\nconst notificationService = new NotificationService(undefined, Api)\r\n\r\nconst state = reactive({\r\n emailNotifications: [],\r\n})\r\n\r\nconst actions = {\r\n async listNotifications(dateFrom?: Date | null, dateTo?: Date | null): Promise {\r\n state.emailNotifications = await notificationService.listNotifications(null, null, dateFrom, dateTo);\r\n },\r\n}\r\n\r\nexport default {\r\n state: readonly(state),\r\n actions,\r\n}","\n\n\n\n\n\n\n\n\r\nimport { defineComponent, provide } from '@vue/composition-api';\r\nimport TheNavBar from '@/modules/ees/components/the-nav-bar/TheNavBar.vue';\r\nimport TheToastCenter from '@/modules/ees/components/the-toast-center/TheToastCenter.vue';\r\nimport LearnerGoalsStore from '@/modules/ees/store/LearnerGoalsStore';\r\nimport SideBarStore from '@/modules/ees/store/SideBarStore';\r\nimport ObserverLearnerStore from '@/modules/ees/store/ObserverLearnerStore';\r\nimport RubricStore from '@/modules/ees/store/admin/RubricStore';\r\nimport UserStore from '@/modules/ees/store/UserStore';\r\nimport StaffListStore from './modules/ees/store/StaffListStore';\r\nimport LearnerStore from '@/modules/ees/store/districtAdmin/LearnerStore';\r\nimport GoalPromptStore from '@/modules/ees/store/GoalPromptStore';\r\nimport ActivityTypeStore from '@/modules/ees/store/ActivityTypeStore';\r\nimport ScheduleActivityStore from '@/modules/ees/store/ScheduleActivityStore';\r\nimport LearnerActivityStore from '@/modules/ees/store/LearnerActivityStore';\r\nimport LearnerEndOfYearStore from '@/modules/ees/store/LearnerEndOfYearStore';\r\nimport MetadataStore from '@/modules/ees/store/MetadataStore';\r\nimport ToastStore from '@/modules/ees/store/ToastStore';\r\nimport LearnerArtifactsStore from './modules/ees/store/LearnerArtifactStore';\r\nimport MessageThreadStore from '@/modules/ees/store/MessageThreadStore';\r\nimport SchoolYearStore from '@/modules/ees/store/SchoolYearStore';\r\nimport AuthServiceStore from '@/modules/ees/store/AuthServiceStore';\r\nimport ReportStore from '@/modules/ees/store/admin/ReportStore';\r\nimport { LearnerGoalsStoreKey, \r\n SideBarStoreKey, \r\n RubricStoreKey, \r\n ObserverLearnerStoreKey, \r\n UserStoreKey, \r\n StaffListStoreKey,\r\n LearnerStoreKey, \r\n GoalPromptStoreKey, \r\n ActivityTypeStoreKey, \r\n ScheduleActivityStoreKey, \r\n LearnerActivityStoreKey, \r\n LearnerEndOfYearStoreKey,\r\n MetadataStoreKey,\r\n LearnerArtifactsStoreKey,\r\n ToastStoreKey,\r\n MessageThreadStoreKey, \r\n SchoolYearStoreKey,\r\n AuthServiceStoreKey,\r\n NotificationStoreKey,\r\n ReportStoreKey } from '@/store/StoreInjectionKeys';\r\nimport { Toast } from 'bootstrap';\r\nimport NotificationStore from './modules/ees/store/admin/NotificationStore';\r\n\r\nexport default defineComponent({\r\n name: 'App',\r\n components:{\r\n TheNavBar,\r\n TheToastCenter,\r\n },\r\n setup() {\r\n provide(LearnerGoalsStoreKey, LearnerGoalsStore);\r\n provide(SideBarStoreKey, SideBarStore);\r\n provide(RubricStoreKey, RubricStore);\r\n provide(ObserverLearnerStoreKey, ObserverLearnerStore);\r\n provide(UserStoreKey, UserStore);\r\n provide(StaffListStoreKey, StaffListStore)\r\n provide(LearnerStoreKey, LearnerStore);\r\n provide(GoalPromptStoreKey, GoalPromptStore);\r\n provide(ActivityTypeStoreKey, ActivityTypeStore);\r\n provide(ScheduleActivityStoreKey, ScheduleActivityStore);\r\n provide(LearnerActivityStoreKey, LearnerActivityStore);\r\n provide(LearnerEndOfYearStoreKey, LearnerEndOfYearStore);\r\n provide(MetadataStoreKey, MetadataStore);\r\n provide(ToastStoreKey, ToastStore);\r\n provide(MessageThreadStoreKey, MessageThreadStore);\r\n provide(LearnerArtifactsStoreKey, LearnerArtifactsStore);\r\n provide(SchoolYearStoreKey, SchoolYearStore);\r\n provide(AuthServiceStoreKey, AuthServiceStore);\r\n provide(NotificationStoreKey, NotificationStore);\r\n provide(ReportStoreKey, ReportStore);\r\n MetadataStore.actions.hydrateApplicationMetadata();\r\n }\r\n})\r\n","import mod from \"-!../node_modules/cache-loader/dist/cjs.js??ref--14-0!../node_modules/thread-loader/dist/cjs.js!../node_modules/babel-loader/lib/index.js!../node_modules/ts-loader/index.js??ref--14-3!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../node_modules/cache-loader/dist/cjs.js??ref--14-0!../node_modules/thread-loader/dist/cjs.js!../node_modules/babel-loader/lib/index.js!../node_modules/ts-loader/index.js??ref--14-3!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./App.vue?vue&type=template&id=72210cf7&\"\nimport script from \"./App.vue?vue&type=script&lang=ts&\"\nexport * from \"./App.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","const HighchartsOptions = {\r\n chart: {\r\n style: {\r\n // fontFamily: 'Source Sans Pro'\r\n },\r\n plotBackgroundColor: '#FFFFFF',\r\n plotShadow: true,\r\n spacing: [40, 30, 45, 30],\r\n backgroundColor: '#f8f9fa'\r\n },\r\n lang: {\r\n thousandsSep: ',',\r\n numericSymbols: ['k', 'M', 'B', 'T', 'P', 'E']\r\n },\r\n time: {\r\n useUTC: false\r\n },\r\n /* highcharts 5.x */\r\n colors: ['#7cb5ec', '#434348', '#90ed7d', '#f7a35c', '#8085e9', '#f15c80', '#e4d354', '#2b908f', '#f45b5b', '#91e8e1'],\r\n navigation: {\r\n buttonOptions: {\r\n theme: {\r\n fill: '#f8f9fa'\r\n }\r\n }\r\n },\r\n exporting: {\r\n chartOptions: {\r\n chart: {\r\n backgroundColor: '#ffffff'\r\n }\r\n }\r\n }\r\n}\r\n\r\nexport { HighchartsOptions }","import '@/plugin/VueCompositionApi.ts';\r\nimport Vue from 'vue';\r\nimport App from '@/App.vue';\r\nimport router from '@/router';\r\nimport '@/../node_modules/bootstrap-icons/font/bootstrap-icons.css';\r\nimport 'ag-grid-community/dist/styles/ag-grid.css';\r\nimport 'ag-grid-community/dist/styles/ag-theme-alpine.css';\r\nimport 'vue2-timepicker/dist/VueTimepicker.css';\r\nimport 'vue-select/dist/vue-select.css';\r\nimport VueHead from 'vue-head';\r\n\r\nimport 'bootstrap';\r\nimport '@/assets/scss/app.scss';\r\nimport './tinymce';\r\nimport vSelect from 'vue-select';\r\nimport HighchartsVue from 'highcharts-vue';\r\nimport Highcharts from 'highcharts';\r\nimport HighchartsMoreInit from 'highcharts/highcharts-more'\r\nimport SolidGaugeInit from 'highcharts/modules/solid-gauge'\r\n\r\n\r\nimport { HighchartsOptions } from './highchartsOptions.js'\r\n\r\nHighchartsMoreInit(Highcharts)\r\nSolidGaugeInit(Highcharts)\r\n\r\nVue.config.productionTip = false;\r\nVue.use(VueHead);\r\nVue.use(HighchartsVue);\r\nHighcharts.setOptions(HighchartsOptions);\r\nVue.component('v-select', vSelect)\r\nnew Vue({\r\n router,\r\n render: h => h(App),\r\n head: {\r\n script: [\r\n {\r\n src: 'https://kit.fontawesome.com/23e1ad599e.js'\r\n }\r\n ]\r\n }\r\n}).$mount('#app');\r\n","import { reactive, readonly, computed, ComputedRef } from \"@vue/composition-api\";\r\nimport { AssignableLearnerRole, LearnerSummativeDataDto, ObserverLearnerAssignementResult, DefaultObserverLearnerAssignmentDto, ObserverLearnerService, ObserverLearnerScheduledActivityDTO, StaffRoleTypeEnum, ConfigureLearnerSummativeDataCommand, CreateObserverLearnerAssignmentsCommand, ObserverLoadDto, SetLearnerStatusCommand, SetLearnerScienceOfReadingCommand, ToggleLearnerHiddenCommand, LearnerArchiveDTO, LearnerService } from '@/generated/api.clients';\r\nimport Api from '@/plugin/Api';\r\nimport groupBy from 'lodash.groupby'\r\n\r\nexport interface ILearnerActivityKey { \r\n firstName: string | undefined;\r\n lastName: string | undefined;\r\n learnerId: string;\r\n learnerRoleType: StaffRoleTypeEnum;\r\n learnerRole: string | undefined;\r\n activityName: string | undefined;\r\n activityId: string | undefined;\r\n}\r\nconst observerLearnerApi = new ObserverLearnerService(undefined, Api);\r\nconst learnerApi = new LearnerService(undefined, Api);\r\n\r\nconst state = reactive({\r\n observerLearnerAssignments: new Array(),\r\n learnerSummativeData: new Array(),\r\n observerLearnerScheduledActivities: new Array(),\r\n observerLoad: new Array(),\r\n learnerArchives: new Array()\r\n})\r\n\r\nconst actions = {\r\n async configureLearnerSummativeData(id: number, buildingLEA: string, roleTypeId: number, rubricVersionId: number): Promise {\r\n observerLearnerApi.configureLearnerSummativeData(new ConfigureLearnerSummativeDataCommand({\r\n id: id, \r\n learnerBuildingLEA: buildingLEA,\r\n learnerRoleType: roleTypeId,\r\n rubricVersionId: rubricVersionId\r\n }))\r\n },\r\n async saveObserverLearnerAssignments(observerUserIds: string[], assignments: Array): Promise {\r\n return observerLearnerApi.setObserverLearnerAssignments(new CreateObserverLearnerAssignmentsCommand({\r\n observerUserIds: observerUserIds,\r\n learnerRolesToAssign: assignments\r\n }))\r\n },\r\n async getObserverLearnerAssignments(lea: string): Promise {\r\n state.observerLearnerAssignments = []\r\n return observerLearnerApi.getObserverLearnerAssignments(lea).then(data => {\r\n state.observerLearnerAssignments.splice(0, state.observerLearnerAssignments.length, ...data)\r\n return data\r\n }\r\n );\r\n },\r\n async clearObserverLearnerAssignments(id: number): Promise {\r\n await observerLearnerApi.clearObserverLearnerAssignments(id)\r\n },\r\n async getObserverLearnerScheduledActivities(): Promise {\r\n return observerLearnerApi.getObserverLearnersScheduledActivies().then(data => {\r\n state.observerLearnerScheduledActivities = [...data]\r\n return data\r\n }\r\n );\r\n },\r\n getLearnerSummativeReviewData(districtLea: string): void {\r\n observerLearnerApi.getLearnerReviewData(districtLea).then(data =>{\r\n state.learnerSummativeData = [...data]\r\n }\r\n );\r\n },\r\n async getObserverLoad(districtLea: string): Promise {\r\n return observerLearnerApi.getObserverLoad(districtLea)\r\n .then(data => {\r\n state.observerLoad = [...data]\r\n return data\r\n })\r\n },\r\n async setLearnerStatus(id: number, status: number): Promise {\r\n await observerLearnerApi.setLearnerStatus(new SetLearnerStatusCommand({ id: id, status: status }))\r\n },\r\n async setLearnerScienceOfReadingStatus(id: number, status: number): Promise {\r\n await observerLearnerApi.setLearnerScienceOfReading(new SetLearnerScienceOfReadingCommand({ id: id, status: status }))\r\n },\r\n async toggleLearnerHidden(id: number, isHidden: boolean): Promise {\r\n await observerLearnerApi.toggleLearnerIsHidden(new ToggleLearnerHiddenCommand({ id: id, isHidden: isHidden }))\r\n },\r\n async getLearnerArchives(learnerId: string): Promise {\r\n learnerApi.getLearnerArchives(learnerId)\r\n .then(data => {\r\n state.learnerArchives = [...data]\r\n return data\r\n })\r\n },\r\n}\r\n\r\nconst getters = {\r\n assignedLearners(): ComputedRef {\r\n return computed(() => state.observerLearnerAssignments.filter(obj => false));\r\n },\r\n unassignedLearners(): ComputedRef {\r\n return computed(() => state.observerLearnerAssignments.filter(obj => true));\r\n },\r\n scheduledActivityNames(): ComputedRef {\r\n return computed(() => {\r\n return Object.keys(groupBy([...state.observerLearnerScheduledActivities], 'activityName'));\r\n });\r\n },\r\n groupedByActivitySchedule(): ComputedRef {\r\n return computed(() => {\r\n const grouped = groupBy([...state.observerLearnerScheduledActivities], (item: ObserverLearnerScheduledActivityDTO) => {\r\n const key : ILearnerActivityKey = {\r\n // fullName: `${ item.lastName }, ${ item.firstName}`,\r\n lastName: item.lastName,\r\n firstName: item.firstName,\r\n learnerId: item.learnerId,\r\n learnerRoleType: item.learnerRoleType,\r\n learnerRole: item.learnerRole,\r\n activityName: item.activityName,\r\n activityId: item.activityId\r\n };\r\n return JSON.stringify(key);\r\n });\r\n return Object.keys(grouped).map(key => { \r\n return { ...JSON.parse(key), items: grouped[key] };\r\n });\r\n });\r\n },\r\n}\r\n\r\nexport default {\r\n state: readonly(state),\r\n actions,\r\n getters\r\n}\r\n","import axios from 'axios';\r\nimport ToastStore from '@/modules/ees/store/ToastStore';\r\nimport AuthServiceStore from '@/modules/ees/store/AuthServiceStore';\r\n\r\nconst myAxios = axios.create({\r\n baseURL: process.env.VUE_APP_EES_WEB_API.includes('localhost') ? process.env.VUE_APP_EES_WEB_API : `${process.env.VUE_APP_EES_WEB_API}/api`\r\n });\r\n\r\nmyAxios.interceptors.request.use(\r\n config => {\r\n return AuthServiceStore.getters.getAccessToken().then((token) => {\r\n config.headers['Authorization'] = `Bearer ${token}`;\r\n return config;\r\n });\r\n },\r\n error => {\r\n Promise.reject(error);\r\n }\r\n)\r\n\r\nmyAxios.interceptors.response.use(\r\n response => response,\r\n error => {\r\n //defualt error message\r\n let message = 'Unknown';\r\n let title = 'Error'\r\n \r\n //determine error message\r\n if(error == 'Error: Network Error'){\r\n message = 'Network Error'\r\n } else {\r\n const messageObject = error.response.data || error.response.status\r\n \r\n if(Object.prototype.toString.call(messageObject) === '[object Object]') {\r\n message = `Server error: ${messageObject.title}`;\r\n title = `Error ${messageObject.status}`;\r\n } else if(messageObject == '401') {\r\n message = `Server error: Unauthorized`;\r\n title = `Error ${messageObject}`;\r\n } else {\r\n message = `Server error`;\r\n title = `Error ${messageObject}`;\r\n }\r\n }\r\n\r\n ToastStore.actions.addToast(title, message, 'danger');\r\n\r\n return Promise.reject(error)\r\n },\r\n);\r\n\r\nexport default myAxios","import { computed, reactive, readonly } from \"@vue/composition-api\";\r\nimport { GoalPromptDto, SaveGoalPromptCommand, GoalPromptService, GoalProgram, GoalPromptMetadata, GoalPromptItem } from '@/generated/api.clients';\r\nimport Api from '@/plugin/Api';\r\n\r\nconst goalPromptApi = new GoalPromptService(undefined, Api);\r\n\r\nconst state = reactive({\r\n goalPrompts: new Array()\r\n})\r\n\r\nconst actions = {\r\n hydrateGoalPrompts(): void{\r\n goalPromptApi.getGoalPrompts().then((data) => {\r\n state.goalPrompts = data;\r\n })\r\n },\r\n saveGoalPrompt(program: GoalProgram): void{\r\n const saveGoalPromptCommand = new SaveGoalPromptCommand({\r\n program: program,\r\n metadata: state.goalPrompts.find(goalPrompt => goalPrompt.program === program)?.metadata\r\n });\r\n\r\n goalPromptApi.saveGoalPrompt(saveGoalPromptCommand);\r\n },\r\n addPrompt(program: GoalProgram, prompt: string): void{\r\n const metadata = state.goalPrompts.find(p=>p.program === program)?.metadata \r\n\r\n metadata?.items?.push(new GoalPromptItem({promptText: prompt, order: metadata.items?.length + 1, active: true }))\r\n\r\n actions.saveGoalPrompt(program);\r\n },\r\n changeGoalPromptItemState(program: GoalProgram, order: number): void{\r\n const item = state.goalPrompts.find(goalPrompt => goalPrompt.program === program)?.metadata?.items?.find(item => item.order === order);\r\n \r\n if(item){\r\n item.active = !item.active;\r\n actions.saveGoalPrompt(program);\r\n }\r\n },\r\n moveUpGoalPromptItem(program: GoalProgram, order: number): void {\r\n const itemA = state.goalPrompts.find(goalPrompt => goalPrompt.program === program)?.metadata?.items?.find(item => item.order === order)\r\n const itemB = state.goalPrompts.find(goalPrompt => goalPrompt.program === program)?.metadata?.items?.find(item => item.order === order-1)\r\n \r\n if(itemA && itemB){\r\n itemA.order = itemB.order;\r\n itemB.order = order;\r\n actions.saveGoalPrompt(program);\r\n }\r\n },\r\n moveDownGoalPromptItem(program: GoalProgram, order: number): void {\r\n const itemA = state.goalPrompts.find(goalPrompt => goalPrompt.program === program)?.metadata?.items?.find(item => item.order === order)\r\n const itemB = state.goalPrompts.find(goalPrompt => goalPrompt.program === program)?.metadata?.items?.find(item => item.order === order+1)\r\n \r\n if(itemA && itemB){\r\n itemA.order = itemB.order;\r\n itemB.order = order;\r\n actions.saveGoalPrompt(program);\r\n }\r\n }\r\n}\r\n\r\nconst getters = {\r\n tessGoalPrompt(): GoalPromptDto | undefined {\r\n return state.goalPrompts.find(goalPrompts => goalPrompts.program == GoalProgram.TESS);\r\n },\r\n leadsGoalPrompt(): GoalPromptDto | undefined {\r\n return state.goalPrompts.find(goalPrompts => goalPrompts.program == GoalProgram.LEADS);\r\n }\r\n}\r\n\r\nexport default {\r\n state: readonly(state),\r\n actions,\r\n getters\r\n}","import { reactive, readonly } from \"@vue/composition-api\";\r\nimport UserStore from '@/modules/ees/store/UserStore'\r\nimport { ArtifactService, UpdateArtifactCommand, ArtifactDTO, ExternalResourceInfo } from '@/generated/api.clients';\r\nimport Api from '@/plugin/Api';\r\n\r\nconst artifactApi = new ArtifactService(undefined, Api);\r\n\r\nconst state = reactive({\r\n LearnerArtifacts: new Array(),\r\n CurrentArtifact: new ArtifactDTO(),\r\n DeleteConfirmModalActive: false,\r\n})\r\n\r\nconst actions = {\r\n hydrateLearnerArtifacts(): void{\r\n artifactApi.getLearnerArtifacts(UserStore.state.ContextUserId).then((artifacts) => {\r\n artifacts.forEach(a => a.rubricMismatch = a.rubricVersionId !== UserStore.state.ContextRubricId)\r\n state.LearnerArtifacts = artifacts\r\n });\r\n },\r\n hydrateActivityArtifacts(activityId: string): void{\r\n artifactApi.getActivityArtifacts(activityId).then((artifacts) => {\r\n state.LearnerArtifacts = artifacts;\r\n });\r\n },\r\n deleteArtifact(id: number): void{\r\n artifactApi.delete(id).then(() => {\r\n state.LearnerArtifacts.splice(state.LearnerArtifacts.findIndex(x => x.id === id), 1);\r\n });\r\n },\r\n editArtifact(id: number): void{\r\n artifactApi.get(id).then((artifact) => {\r\n state.CurrentArtifact = artifact;\r\n });\r\n },\r\n saveCurrentArtifact(): void{\r\n const updateArtifactCommand = new UpdateArtifactCommand({\r\n id: state.CurrentArtifact.id,\r\n name: state.CurrentArtifact.name,\r\n rubric: state.CurrentArtifact.rubric,\r\n goals: state.CurrentArtifact.goals,\r\n activities: state.CurrentArtifact.activities \r\n });\r\n artifactApi.update(state.CurrentArtifact.id, updateArtifactCommand).then((artifact) => {\r\n state.LearnerArtifacts.splice(state.LearnerArtifacts.findIndex(a => a.id === artifact.id), 1, artifact);\r\n });\r\n },\r\n async saveExternalResource(learnerId: string, externalResourceUrl: string, externalResourceName: string, activityId?: string): Promise {\r\n await artifactApi.saveExternalResource(new ExternalResourceInfo({resourcePath: externalResourceUrl, resourceName:externalResourceName}), learnerId, activityId)\r\n .then(() => {\r\n actions.hydrateLearnerArtifacts();\r\n })\r\n },\r\n setConfirmDeleteArtifactModalActive(active: boolean): void {\r\n state.DeleteConfirmModalActive = active;\r\n },\r\n async downloadArtifact(id: number, name: string): Promise {\r\n const response = await artifactApi.downloadArtifact(id)\r\n\r\n //const file = new Blob([response.data.arrayBuffer], {type: response.data.type});\r\n const fileURL = URL.createObjectURL(response.data);\r\n\r\n const anchor = document.createElement('a')\r\n document.body.appendChild(anchor)\r\n anchor.href = fileURL\r\n anchor.download = name\r\n anchor.click();\r\n window.URL.revokeObjectURL(fileURL)\r\n }\r\n}\r\n\r\nconst getters = {\r\n rubricMismatchPresent(): boolean {\r\n return state.LearnerArtifacts.some(a => a.rubricMismatch)\r\n }\r\n}\r\n\r\nexport default {\r\n state: readonly(state),\r\n actions,\r\n getters\r\n}"],"sourceRoot":""}